.mongol-script-trace-page.mst-page-green,body .mongol-script-trace-page.mst-page-green{color:#f7fff9!important;background-color:#176347!important;background-image:radial-gradient(circle at 50% 30%,#1e7a57 0%,#176347 55%,#104c35 100%)!important}.mongol-script-trace-page.mst-page-white,body .mongol-script-trace-page.mst-page-white{color:#1e293b!important;background-color:#f8fafc!important}.mst-page-green [data-game-header] h1{color:#f7fff9;text-shadow:none}.mst-page-green [data-game-header] .back>button,.mst-page-green [data-game-header] .controls>button:not([class*=trace-word-link]),.mst-page-green [data-game-header] .controls>.game-toolbar>button:not([class*=trace-word-link]){color:#f7fff9!important;-webkit-backdrop-filter:blur(8px)!important;backdrop-filter:blur(8px)!important;background:#ffffff24!important;border:1px solid #ffffff38!important;box-shadow:0 1px 3px #0003!important}.mst-page-green [data-game-header] .back>button:hover,.mst-page-green [data-game-header] .controls>button:not([class*=trace-word-link]):hover,.mst-page-green [data-game-header] .controls>.game-toolbar>button:not([class*=trace-word-link]):hover{color:#fff!important;background:#ffffff3d!important;border-color:#ffffff59!important}.mst-page-green .trace-word-link{color:#e5f6e9!important}.mst-page-green .trace-word-link:hover{color:#fff!important;background-color:#ffffff24!important}.mongol-script-trace-page .trace-letter-picker{box-sizing:border-box;cursor:pointer;text-align:left;background:#fff;border:1px solid #dce5dc;border-radius:11px;justify-content:space-between;align-items:center;gap:8px;width:310px;max-width:100%;height:38px;min-height:38px;padding:3px 12px 3px 4px;transition:background .15s,border-color .15s;display:inline-flex}.mongol-script-trace-page .trace-letter-picker>span:nth-of-type(2){flex:1;min-width:0}.mongol-script-trace-page .trace-letter-picker>svg{flex-shrink:0;margin-left:auto}.mst-page-green .trace-letter-picker{color:#fff!important;-webkit-backdrop-filter:blur(6px)!important;backdrop-filter:blur(6px)!important;box-sizing:border-box!important;background:#ffffff21!important;border:1px solid #ffffff38!important;border-radius:11px!important;width:310px!important;max-width:100%!important;height:38px!important;min-height:38px!important;padding:3px 12px 3px 4px!important;box-shadow:0 1px 3px #00000026!important}.mst-page-green .trace-letter-picker:hover{background:#ffffff38!important;border-color:#ffffff59!important}.mst-page-green .trace-letter-picker strong{color:#fff!important}.mst-page-green .trace-letter-picker small,.mst-page-green .trace-letter-picker svg,.mst-page-green .trace-practice-heading p{color:#a7f3d0!important}.mst-page-green .trace-letter-picker .trace-letter-symbol{color:#fff!important;background:#ffffff24!important;border-radius:8px!important;height:30px!important;min-height:30px!important;padding:0 8px!important}.mst-page-green .trace-segment,.mst-page-green .trace-speed-selector,.mst-page-green .mst-positions-segment,.mst-page-green .mst-board-colors{background:#00000038!important;border:1px solid #ffffff26!important}.mst-page-green .trace-segment button,.mst-page-green .trace-speed-selector button,.mst-page-green .mst-positions-segment button,.mst-page-green .mst-board-colors button{color:#ffffffbf!important;background:0 0!important;border:1px solid #0000!important}.mst-page-green .trace-segment button:hover,.mst-page-green .trace-speed-selector button:hover,.mst-page-green .mst-positions-segment button:hover,.mst-page-green .mst-board-colors button:hover{color:#fff!important;background:#ffffff1a!important}.mst-page-green .trace-segment button[aria-pressed=true],.mst-page-green .trace-speed-selector button[aria-pressed=true],.mst-page-green .mst-positions-segment button[aria-pressed=true],.mst-page-green .mst-board-colors button[aria-pressed=true]{color:#fff!important;background:#ffffff38!important;border:1px solid #ffffff52!important;box-shadow:0 1px 3px #00000040!important}.mst-page-green .mst-speed-label{color:#a7f3d0!important}.mst-page-green .trace-guide{box-sizing:border-box!important;background:#09432d80!important;border:1px solid #ffffff2e!important;height:380px!important;min-height:380px!important;max-height:380px!important}.mst-page-green .trace-guide h3{color:#d2eadc!important}.mst-page-green .mst-guide-preview{box-sizing:border-box!important;background:#ffffff17!important;border:1px solid #ffffff2e!important;height:120px!important;min-height:120px!important;max-height:120px!important;box-shadow:0 2px 6px #0000001f!important}.mst-page-green .mst-guide-glyph,.mst-page-green .mst-guide-letter-name{color:#fff!important}.mst-page-green .mst-guide-preview small{color:#a7f3d0!important}.mst-page-green .mst-guide-divider{background:#ffffff29!important}.mst-page-green .mst-guide-stroke-card{color:#e6fff2!important;background:#ffffff17!important;border:1px solid #ffffff29!important}.mst-page-green .mst-guide-stroke-card:hover{color:#fff!important;background:#ffffff29!important;border-color:#ffffff47!important}.mst-page-green .mst-guide-stroke-card.active{color:#fff!important;background:#ffffff38!important;border-color:#fff6!important;box-shadow:0 0 0 1px #ffffff59,0 2px 6px #00000040!important}.mst-page-green .mst-guide-stroke-card strong{color:#34d399!important}.mst-page-green .trace-actions{border-color:#ffffff2e!important}.mst-page-green .trace-nav,.mst-page-green .trace-nav.trace-next,.mst-page-green .trace-icon{color:#f7fff9!important;background:#ffffff21!important;border:1px solid #ffffff38!important;box-shadow:0 1px 3px #00000026!important}.mst-page-green .trace-nav:hover,.mst-page-green .trace-nav.trace-next:hover,.mst-page-green .trace-icon:hover{color:#fff!important;background:#ffffff38!important;border-color:#ffffff59!important}.mst-page-green .trace-nav .mst-nav-glyph{color:#a7f3d0!important}.mst-page-green .trace-canvas.mst-board-green{border:0;border-radius:0}.mongol-script-trace-page .trace-letter-symbol{border-radius:8px;align-items:center;height:30px;min-height:30px;padding:0 8px}.mst-letter-filters{flex-wrap:wrap;gap:6px;margin-bottom:16px;display:flex}.mst-letter-filters button{white-space:nowrap;flex:auto;min-width:88px;padding:8px 12px}.mst-letter-picker-grid.trace-alphabet{grid-template-columns:repeat(9,minmax(0,1fr));gap:9px}.mst-letter-picker-grid.trace-alphabet button{cursor:pointer;background:#fff;border:1.5px solid #e2e8f0;border-radius:12px;flex-direction:column;justify-content:flex-start;align-items:center;gap:3px;min-width:0;min-height:108px;padding:6px 4px 10px;transition:all .16s;display:flex;position:relative}.mst-letter-picker-grid.trace-alphabet button:hover{border-color:#38bdf8;transform:translateY(-2px);box-shadow:0 4px 14px #38bdf826}.mst-letter-picker-grid.trace-alphabet button[aria-pressed=true]{background:#f0f9ff!important;border-color:#0284c7!important;box-shadow:0 0 0 2px #0284c7!important}.mst-picker-foreign-label{color:#64748b;text-align:center;font-size:10.5px;font-weight:700;line-height:1.2;display:block}.mst-picker-foreign-placeholder{height:13px;display:block}.mst-picker-letter-box{background:#e0f2fe;border:1px solid #bae6fd;border-radius:6px;justify-content:center;align-items:center;width:100%;padding:4px 2px;transition:all .16s;display:flex}.mst-letter-picker-grid button[aria-pressed=true] .mst-picker-letter-box{background:#0284c7;border-color:#0284c7}.mst-picker-name{color:#0369a1;text-align:center;font-size:17px;font-weight:800;line-height:1.1;display:block}.mst-letter-picker-grid button[aria-pressed=true] .mst-picker-name{color:#fff}.mst-picker-glyph-box{flex:1;justify-content:center;align-items:center;width:100%;padding-top:4px;display:flex}.mst-letter-picker-grid .mst-picker-glyph{writing-mode:vertical-lr;color:#1e293b;min-height:42px;font-family:Mongolian Baiti,Noto Sans Mongolian,serif;font-size:34px;font-weight:500;line-height:1;display:block}.mst-letter-picker-grid button[aria-pressed=true] .mst-picker-glyph{color:#0284c7}@media (max-width:900px){.mst-letter-picker-grid.trace-alphabet{grid-template-columns:repeat(6,minmax(0,1fr))}}@media (max-width:600px){.mst-letter-filters button{min-width:calc(50% - 3px)}.mst-letter-picker-grid.trace-alphabet{grid-template-columns:repeat(4,minmax(0,1fr))}.mst-letter-picker-grid.trace-alphabet button{min-height:72px}.mst-letter-picker-grid .mst-picker-glyph{min-height:30px;font-size:30px}.mst-letter-picker-grid .mst-picker-name{font-size:14px}}.mongol-script-trace-page .trace-letter-symbol .mst-symbol-char{writing-mode:vertical-lr;min-height:30px;font-family:Mongolian Baiti,serif;font-size:26px;line-height:1;display:inline-block}.mongol-script-trace-page .mst-positions-segment{background:#e9eee9;flex-wrap:wrap;gap:4px;margin-bottom:10px;display:flex}.mongol-script-trace-page .mst-guide-column{flex-shrink:0;width:310px}.mongol-script-trace-page .mst-guide-column .trace-guide,.mongol-script-trace-page .trace-guide{box-sizing:border-box;flex-direction:column;width:100%;height:380px;min-height:380px;max-height:380px;display:flex}@media (max-width:1023px){.mongol-script-trace-page .mst-guide-column{width:100%;max-width:560px}.mongol-script-trace-page .trace-guide,.mongol-script-trace-page .mst-guide-preview,.mongol-script-trace-page .mst-guide-letter-pair{height:auto!important;min-height:0!important;max-height:none!important}}.mongol-script-trace-page .mst-positions-segment button{color:#74827b;white-space:nowrap;text-align:center;background:0 0;border-color:#0000;flex:70px;min-width:0;padding:6px 4px;font-weight:700}.mongol-script-trace-page .mst-positions-segment button[aria-pressed=true]{color:#27664f;background:#fff;border-color:#dce5dc}.mongol-script-trace-page.mst-page-green .mst-positions-segment button:not([aria-pressed=true]){color:#74827b}.mongol-script-trace-page .mst-board-colors{flex-shrink:0;margin-left:auto}.mongol-script-trace-page .mst-speed-label{color:#536b60;align-self:center;padding:0 7px;font-size:11px;font-weight:700}.mongol-script-trace-page .mst-mode-subrow{justify-content:flex-end;min-height:30px;display:flex}.mongol-script-trace-page .mst-mode-subrow.is-trace{justify-content:flex-start}.mongol-script-trace-page .mst-multi-open{color:#176347;background:#fff;border:1px solid #a8d7c5;border-radius:9px;padding:4px 12px;font-size:11px;font-weight:700}.mst-multi-count-intro{background:#f1faf5;border:1px solid #d5e9df;border-radius:16px;align-items:center;gap:16px;margin-bottom:22px;padding:14px 18px;display:flex}.mst-multi-count-glyph{color:#14785e;writing-mode:vertical-lr;background:#fff;border-radius:14px;flex-shrink:0;place-items:center;width:68px;height:68px;font-family:Mongolian Baiti,Noto Sans Mongolian,serif;font-size:42px;display:grid}.mst-multi-count-intro strong{color:#1e293b;font-size:17px;display:block}.mst-multi-count-intro p{color:#64748b;margin:3px 0 0;font-size:12px}.mst-multi-count-picker{text-align:center}.mst-multi-count-picker label{color:#334155;margin-bottom:12px;font-weight:700;display:block;font-size:15px!important}.mst-multi-count-stepper{justify-content:center;align-items:center;gap:12px;display:flex}.mst-multi-count-stepper button{place-items:center;width:48px;height:48px;display:grid;border-radius:14px!important;padding:0!important}.mst-multi-count-stepper #mst-multi-count{text-align:center;appearance:textfield;width:116px;height:60px;padding:6px!important;font-size:30px!important;font-weight:750!important}.mst-multi-count-stepper input::-webkit-inner-spin-button{appearance:none;margin:0}.mst-multi-count-stepper input::-webkit-outer-spin-button{appearance:none;margin:0}.mst-multi-count-picker small{color:#94a3b8;margin-top:8px;font-size:12px;display:block}.mst-multi-count-presets{justify-content:center;gap:8px;margin-top:20px;display:flex}.mst-multi-count-presets button{min-width:48px;padding:8px 12px!important}.mst-multi-count-presets button[aria-pressed=true]{color:#0369a1!important;background:#eaf7ff!important;border-color:#38bdf8!important}.mst-multi-letter-selection{margin:20px 0}.mst-multi-letter-heading{justify-content:space-between;gap:12px;margin-bottom:10px;font-size:13px;display:flex}.mst-multi-letter-heading span{color:#64748b}.mst-multi-letter-grid{grid-template-columns:repeat(9,minmax(0,1fr));gap:7px;display:grid}.mst-multi-letter-grid button{cursor:pointer;border:1px solid #cbd5e1;border-radius:10px;justify-content:center;align-items:center;gap:6px;min-width:0;min-height:50px;padding:6px 18px 6px 6px;font-weight:700;display:flex;position:relative}.mst-multi-letter-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mst-multi-letter-glyph{writing-mode:vertical-lr;flex:none;font-family:Mongolian Baiti,Noto Sans Mongolian,serif;font-size:24px;line-height:1}.mst-multi-letter-grid button svg{position:absolute;top:4px;right:4px}.mst-multi-letter-grid button[aria-pressed=true]{color:#104c3a;background:#a7f3d0;border-color:#10b981}.mst-green-dialog[data-variant=mst-green] .mst-multi-letter-heading span{color:#bce9d2}.mst-green-dialog.mst-green-dialog[data-variant=mst-green] .mst-multi-letter-grid button{color:#f7fff9!important;background:#ffffff1a!important;border-color:#ffffff3b!important}.mst-green-dialog.mst-green-dialog[data-variant=mst-green] .mst-multi-letter-grid button[aria-pressed=true]{color:#104c3a!important;background:#a7f3d0!important;border-color:#a7f3d0!important}@media (max-width:600px){.mst-multi-letter-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}[data-game-settings-overlay]:has(.mst-green-dialog[data-variant=mst-green]){background:#0220188c}.mst-green-dialog[data-variant=mst-green]{color:#f7fff9;background:#104c3a;border-color:#ffffff3d;box-shadow:0 24px 70px #02201866}.mst-green-dialog[data-variant=mst-green]>header,.mst-green-dialog[data-variant=mst-green]>footer{border-color:#ffffff2e}.mst-green-dialog[data-variant=mst-green]>header h2{color:#f7fff9!important}.mst-green-dialog[data-variant=mst-green]>header h2 svg{color:#a7f3d0}.mst-green-dialog[data-variant=mst-green]>header button{color:#fff!important;background:#ffffff1f!important;border-color:#ffffff40!important}.mst-green-dialog[data-variant=mst-green] .mst-multi-count-intro{background:#ffffff17;border-color:#fff3}.mst-green-dialog[data-variant=mst-green] .mst-multi-count-glyph{color:#f7fff9;background:#ffffff24}.mst-green-dialog[data-variant=mst-green] .mst-multi-count-intro strong{color:#f7fff9}.mst-green-dialog[data-variant=mst-green] .mst-multi-count-intro p{color:#bce9d2!important}.mst-green-dialog[data-variant=mst-green] .mst-multi-count-picker label{color:#f7fff9!important}.mst-green-dialog[data-variant=mst-green] .mst-multi-count-picker small{color:#bce9d2}.mst-green-dialog.mst-green-dialog[data-variant=mst-green] .mst-multi-count-stepper button,.mst-green-dialog.mst-green-dialog[data-variant=mst-green] .mst-multi-count-presets button,.mst-green-dialog.mst-green-dialog[data-variant=mst-green] .mst-letter-filters button,.mst-green-dialog.mst-green-dialog[data-variant=mst-green] .mst-letter-picker-grid button{color:#f7fff9!important;background:#ffffff1a!important;border-color:#ffffff3b!important}.mst-green-dialog.mst-green-dialog[data-variant=mst-green] .mst-multi-count-stepper button:hover,.mst-green-dialog.mst-green-dialog[data-variant=mst-green] .mst-multi-count-presets button:hover,.mst-green-dialog.mst-green-dialog[data-variant=mst-green] .mst-letter-filters button:hover,.mst-green-dialog.mst-green-dialog[data-variant=mst-green] .mst-letter-picker-grid button:hover{background:#fff3!important}.mst-green-dialog.mst-green-dialog.mst-green-dialog[data-variant=mst-green] .mst-multi-count-presets button[aria-pressed=true],.mst-green-dialog.mst-green-dialog.mst-green-dialog[data-variant=mst-green] .mst-letter-filters button[aria-pressed=true],.mst-green-dialog.mst-green-dialog.mst-green-dialog[data-variant=mst-green] .mst-letter-picker-grid button[aria-pressed=true]{color:#104c3a!important;box-shadow:none!important;background:#a7f3d0!important;border-color:#a7f3d0!important}.mst-green-dialog[data-variant=mst-green] .mst-letter-picker-grid .mst-picker-glyph,.mst-green-dialog[data-variant=mst-green] .mst-letter-picker-grid .mst-picker-name{color:#f7fff9}.mst-green-dialog[data-variant=mst-green] .mst-letter-picker-grid .mst-picker-foreign{color:#bce9d2}.mst-green-dialog[data-variant=mst-green] .mst-letter-picker-grid button[aria-pressed=true] .mst-picker-glyph,.mst-green-dialog[data-variant=mst-green] .mst-letter-picker-grid button[aria-pressed=true] .mst-picker-name,.mst-green-dialog[data-variant=mst-green] .mst-letter-picker-grid button[aria-pressed=true] .mst-picker-foreign{color:#104c3a}.mst-green-dialog[data-variant=mst-green] #mst-multi-count{color:#fff!important;background:#ffffff24!important;border-color:#ffffff59!important}.mst-green-dialog.mst-green-dialog[data-variant=mst-green]>footer button{color:#104c3a!important;background:#a7f3d0!important}.mst-green-dialog.mst-green-dialog[data-variant=mst-green]>footer button:hover{background:#c9f9de!important}@media (max-width:600px){.mst-multi-count-intro{gap:12px;padding:12px}.mst-multi-count-glyph{width:56px;height:56px;font-size:34px}.mst-multi-count-presets{gap:5px}.mst-multi-count-presets button{flex:1;min-width:0;padding:8px 5px!important}}.mst-multi-modal{z-index:200;color:#273c39;background:#f5f7f4;flex-direction:column;display:flex;position:fixed;inset:0}.mst-multi-header{background:#fff;border-bottom:1px solid #dce5dc;flex-shrink:0;justify-content:space-between;align-items:center;gap:16px;padding:16px 24px;display:flex}.mst-multi-header h2{margin:0;font-size:20px;font-weight:750}.mst-multi-header p{color:#64748b;margin:4px 0 0;font-size:13px}.mst-multi-header-actions{align-items:center;gap:10px;display:flex}.mst-multi-header .mst-multi-close,.mst-multi-cell-head button{color:#475569;cursor:pointer;background:#fff;border:1px solid #dce5dc;border-radius:10px;place-items:center;width:36px;height:36px;display:grid}.mst-multi-header .mst-multi-reset-all{color:#fff;cursor:pointer;background:#0d9488;border:1px solid #0f766e;border-radius:11px;justify-content:center;align-items:center;gap:8px;height:38px;padding:0 16px;font-size:13.5px;font-weight:700;transition:transform .12s,background .15s,box-shadow .15s;display:inline-flex;box-shadow:0 2px 8px #0d948840}.mst-multi-header .mst-multi-reset-all:hover{background:#0f766e}.mst-multi-header .mst-multi-reset-all:active{transform:scale(.96)}.mst-multi-notice{color:#0d9488;font-weight:700}.mst-multi-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));align-content:start;gap:16px;min-height:0;padding:20px 24px 32px;display:grid;overflow-y:auto}.mst-multi-cell{background:0 0;border:0;border-radius:0;min-width:0;padding:10px}.mst-multi-cell-head{justify-content:space-between;align-items:center;margin-bottom:6px;font-size:13px;font-weight:700;display:flex}.mst-multi-cell-head button{width:28px;height:28px}.mst-multi-cell svg{aspect-ratio:15/16;touch-action:none;cursor:crosshair;background:0 0;border:0;border-radius:0;width:100%;display:block}.mst-multi-guide{stroke:#cbd5e1;stroke-width:1px}.mst-multi-template{stroke:#cbd5e1}.mst-multi-cell-status{color:#64748b;text-align:center;margin-top:7px;font-size:12px}.mst-multi-cell.is-done .mst-multi-cell-status{color:#0d9488;font-weight:700}.mst-multi-modal.is-green{color:#f7fff9;background:radial-gradient(at 50% 35%,#1e7658 0%,#176347 48%,#104b39 100%)}.mst-multi-modal.is-green .mst-multi-header{color:#f7fff9;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0539287a;border-bottom-color:#fff3}.mst-multi-modal.is-green .mst-multi-header p{color:#bce9d2}.mst-multi-modal.is-green .mst-multi-header .mst-multi-close,.mst-multi-modal.is-green .mst-multi-cell-head button{color:#fff!important;box-shadow:none!important;background:#ffffff1f!important;border-color:#ffffff42!important}.mst-multi-modal.is-green .mst-multi-header .mst-multi-close:hover,.mst-multi-modal.is-green .mst-multi-cell-head button:hover{background:#ffffff38!important}.mst-multi-modal.is-green .mst-multi-header .mst-multi-reset-all{color:#064e3b!important;background:#a7f3d0!important;border-color:#86efac!important;box-shadow:0 4px 14px #00000040!important}.mst-multi-modal.is-green .mst-multi-header .mst-multi-reset-all:hover{background:#c9f9de!important}.mst-multi-modal.is-green .mst-multi-notice{color:#a7f3d0!important}.mst-multi-modal.is-green .mst-multi-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),300px));place-content:safe center center;gap:18px;padding:28px}.mst-multi-modal.is-green .mst-multi-cell{color:#f7fff9;box-shadow:none;background:0 0;border:0;border-radius:0;padding:13px}.mst-multi-modal.is-green .mst-multi-cell svg{background:0 0;border:0}.mst-multi-modal.is-green .mst-multi-guide{stroke:#d6f1e17a}.mst-multi-modal.is-green .mst-multi-template{stroke:#ddeae6b8}.mst-multi-modal.is-green svg path[stroke=\#0d9488]{stroke:#a7f3d0}.mst-multi-modal.is-green svg circle[fill=\#0d9488]{fill:#a7f3d0}.mst-multi-modal.is-green .mst-multi-cell-status{color:#c7e8d6}.mst-multi-modal.is-green .mst-multi-cell.is-done .mst-multi-cell-status{color:#a7f3d0}@media (max-width:600px){.mst-multi-header{padding:12px 16px}.mst-multi-header h2{font-size:17px}.mst-multi-grid{gap:12px;padding:12px}.mst-multi-modal.is-green .mst-multi-grid{gap:12px;padding:14px}}.mongol-script-trace-page .trace-speed-selector.is-hidden{visibility:hidden;pointer-events:none}.mongol-script-trace-page.mst-page-white .trace-nav.trace-next,.mongol-script-trace-page.mst-page-white .trace-nav.trace-next:hover{color:#273c39;background:#fff;border-color:#dce5dc}.mongol-script-trace-page .trace-nav .mst-nav-glyph{writing-mode:vertical-lr;color:#185f70;min-width:28px;font-family:Mongolian Baiti,Noto Sans Mongolian,serif;font-size:26px;font-weight:400;line-height:1;display:inline-block}@media (max-width:600px){.mongol-script-trace-page .trace-actions{flex-wrap:wrap}.mongol-script-trace-page .mst-board-colors{margin-left:auto}}.mongol-script-trace-page .mst-positions-segment button{min-width:0}.mongol-script-trace-page .trace-board-layout.has-studio-sidebar{grid-template-columns:220px 1fr 240px}@media (max-width:1180px){.mongol-script-trace-page .trace-board-layout.has-studio-sidebar{grid-template-columns:1fr}}.mst-calligraphy-grid{pointer-events:none;-webkit-user-select:none;user-select:none}.mongol-script-trace-page .trace-practice{box-shadow:none;background:0 0;border:0}.mongol-script-trace-page .trace-practice-heading{padding-top:32px}@media (max-width:600px){.mongol-script-trace-page .trace-practice-heading{padding-top:12px}}.mongol-script-trace-page .trace-canvas.mst-board{aspect-ratio:5/4;border:0;border-radius:0;flex:1;width:100%;max-width:600px;max-height:min(60vh,480px);margin:0 auto;overflow:hidden}.mongol-script-trace-page .mst-board-white{background:#fff}.mongol-script-trace-page .mst-board-green{background:#176347;border:0}.mongol-script-trace-page .mst-board-green .mst-calligraphy-grid line{stroke:#ffffff73}.mongol-script-trace-page .mst-board-green .mst-calligraphy-grid line.mst-grid-faint{stroke:#ffffff59}.mongol-script-trace-page .mst-board-green .mst-calligraphy-grid line.mst-grid-main{stroke:#fffffff2}.mongol-script-trace-page .mst-board-green .mst-calligraphy-grid line.mst-grid-divider{stroke:#fff6;stroke-dasharray:6 4}.mongol-script-trace-page .mst-board-green .mst-calligraphy-grid line.mst-grid-diagonal{stroke:#ffffff47;stroke-dasharray:4 4}.mongol-script-trace-page .mst-board-green svg path[stroke=\#cbd5e1]{stroke:#ffffff8c}.mongol-script-trace-page .mst-board-green svg path[stroke=\#0d9488]{stroke:#fff}.mongol-script-trace-page .mst-board svg{touch-action:none;cursor:crosshair;width:100%;height:100%}.mongol-script-trace-page .mst-paper svg.mst-panning{cursor:grab}.mongol-script-trace-page .mst-paper svg.mst-panning:active{cursor:grabbing}.mst-guide-content{flex-direction:column;flex:1;gap:8px;min-height:0;display:flex}.mst-guide-preview{box-sizing:border-box;text-align:center;background:#fff;border:1px solid #dce5dc;border-radius:12px;flex-direction:column;flex-shrink:0;justify-content:center;align-items:center;height:120px;min-height:120px;max-height:120px;padding:8px;display:flex;overflow:hidden}.mst-guide-glyph{writing-mode:vertical-lr;color:#0d9488;justify-content:center;align-items:center;min-height:0;max-height:72px;font-family:Mongolian Baiti,serif;font-size:110px;line-height:1;display:flex}.mst-guide-letter-pair{flex-shrink:0;justify-content:center;align-items:center;gap:12px;height:74px;min-height:74px;max-height:74px;display:flex}.mst-guide-letter-pair .mst-guide-stroke-svg{width:56px;max-width:56px;height:56px;max-height:56px}.mst-guide-letter-name{color:#273c39;font-size:18px;font-weight:600;line-height:1.2}.mst-guide-preview small{color:#94a3b8;flex-shrink:0;margin-top:4px;font-size:11px;font-weight:500;display:block}.mst-guide-strokes{scrollbar-width:none;-ms-overflow-style:none;flex-direction:column;flex:1;gap:5px;min-height:0;max-height:none;padding-right:0;display:flex;overflow:hidden}.mst-guide-strokes::-webkit-scrollbar{display:none}.has-studio-sidebar .mst-guide-strokes{scrollbar-width:thin;overflow-y:auto}.mst-guide-stroke-card{color:#47656a;cursor:pointer;box-sizing:border-box;background:#fff;border:1px solid #e1e8e0;border-radius:9px;align-items:center;gap:8px;min-height:32px;padding:5px 10px;font-size:12px;font-weight:700;transition:background .15s,border-color .15s;display:flex}.mst-guide-stroke-card:hover{background:#edf6f2;border-color:#0d9488}.mst-guide-stroke-card.active{color:#0f766e;background:#e7f5ef;border-color:#0d9488;box-shadow:0 0 0 1px #0d9488}.mst-guide-stroke-card b{color:#fff;border-radius:50%;flex-shrink:0;place-items:center;width:20px;height:20px;font-size:11px;font-weight:800;display:grid}.mst-guide-stroke-card strong{color:#0d9488;margin-left:auto;font-size:13px}@keyframes mstPulseRing{0%{opacity:.95;transform:scale(1)}50%{opacity:.45;transform:scale(1.35)}to{opacity:.95;transform:scale(1)}}.mst-selected-point-ring{transform-origin:50%;pointer-events:none;animation:1.6s ease-in-out infinite mstPulseRing}.mst-node-handle{cursor:grab;touch-action:none}.mst-node-handle:active{cursor:grabbing}.mst-record-tools{background:#f8fbf9;border:1px solid #dce8e1;border-radius:12px;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:6px;padding:8px 12px;display:flex}.mst-record-tabs{background:#e7f0ec;border:1px solid #cfe1d8;border-radius:9px;gap:4px;padding:3px;display:flex}.mst-record-tabs button{color:#406267;cursor:pointer;background:0 0;border:0;border-radius:6px;min-height:28px;padding:4px 10px;font-size:11px;font-weight:800}.mst-record-tabs button.active{color:#fff;background:#0f766e;box-shadow:0 1px 3px #0f766e40}.mst-tool-buttons{gap:4px;display:flex}.mst-tool-buttons button,.mst-point-actions button{color:#0f766e;cursor:pointer;background:#fff;border:1px solid #cfe1d8;border-radius:7px;align-items:center;gap:4px;min-height:30px;padding:4px 8px;font-size:11px;font-weight:800;display:inline-flex}.mst-tool-buttons button.active{color:#fff;background:#0f766e;border-color:#0f766e}.mst-point-actions{flex-wrap:wrap;align-items:center;gap:5px;display:flex}.mst-point-actions button.mst-smooth-btn{color:#92400e;background:#fef3c7;border-color:#f59e0b}.mst-selected-point-pill{color:#92400e;background:#fef3c7;border:1px solid #f59e0b;border-radius:7px;align-items:center;gap:5px;min-height:30px;padding:3px 7px;font-size:11px;font-weight:800;display:inline-flex}.mst-selected-point-pill button{cursor:pointer;justify-content:center;align-items:center;width:16px;height:16px;display:inline-flex;color:#92400e!important;background:#92400e26!important;border:none!important;border-radius:50%!important;padding:0!important;font-size:11px!important}.mst-zoom-controls{align-items:center;gap:4px;margin-left:auto;display:flex}.mst-zoom-controls span{text-align:center;color:#315259;min-width:44px;font-size:11px;font-weight:900}.mst-zoom-controls button{color:#0f766e;cursor:pointer;background:#fff;border:1px solid #cfe1d8;border-radius:7px;min-height:28px;padding:4px 8px;font-size:11px;font-weight:800}.mst-zoom-controls button.active{color:#fff;background:#0f766e}.mst-record-sidebar{background:#f8faf7;border:1px solid #e1e8e0;border-radius:16px;flex-direction:column;flex-shrink:0;gap:8px;width:240px;max-height:480px;padding:10px;display:flex;overflow-y:auto}.mst-palette-head{justify-content:space-between;align-items:center;gap:6px;display:flex}.mst-palette-head>span{color:#315259;font-size:11px;font-weight:900}.mst-assemble-btn{color:#0d7a6e;cursor:pointer;background:#eaf8f2;border:1px solid #bce1d4;border-radius:6px;align-items:center;gap:4px;padding:3px 6px;font-size:10px;font-weight:800;display:inline-flex}.mst-stroke-palette-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;display:grid}.mst-stroke-palette-grid button{color:#315259;cursor:pointer;text-align:left;background:#fff;border:1px solid #d8e8df;border-radius:8px;align-items:center;gap:4px;min-height:34px;padding:4px 6px;font-size:10px;font-weight:750;display:flex}.mst-stroke-palette-grid button.active{color:#075b52;background:#ddf3e9;border-color:#0d9488}.mst-stroke-palette-grid button b{color:#0d766d;background:#e5f4ed;border-radius:50%;flex-shrink:0;place-items:center;width:16px;height:16px;font-size:9px;display:grid}.mst-stroke-palette-grid button.active b{color:#fff;background:#0d9488}.mst-stroke-palette-grid button svg{color:#0d9488;flex-shrink:0;width:22px;height:22px}.mst-record-row{align-items:center;gap:4px;width:100%;display:flex}.mst-record-row>button:first-child{color:#47656a;text-align:left;cursor:pointer;background:#fff;border:1px solid #e1e8e0;border-radius:8px;flex:1;align-items:center;gap:6px;min-width:0;padding:6px 8px;font-size:11px;font-weight:700;display:flex}.mst-record-row>button:first-child.active{color:#0f766e;background:#e7f5ef;border-color:#0d9488}.mst-delete-stroke{color:#b45353;cursor:pointer;background:#fff;border:1px solid #fed7d7;border-radius:7px;place-items:center;width:28px;height:28px;display:grid}.mst-delete-stroke:hover{background:#fee2e2}@media (max-width:1023px){.mst-guide-content{flex-direction:row;align-items:center;gap:12px}.mst-guide-preview{flex-shrink:0;min-width:80px;min-height:0;padding:8px}.mst-guide-glyph{min-height:0;font-size:128px}.mst-guide-divider{background:#dce5dc;flex-shrink:0;width:1px;height:60px}.mst-guide-strokes{flex-flow:wrap;flex:1;max-height:none;overflow-y:visible}.mst-guide-stroke-card{padding:4px 8px;font-size:11px}}@media (max-width:600px){.mongol-script-trace-page .trace-letter-picker{width:100%!important}.mongol-script-trace-page .trace-guide,.mongol-script-trace-page .mst-guide-preview,.mongol-script-trace-page .mst-guide-letter-pair{height:auto!important;min-height:0!important;max-height:none!important}.mongol-script-trace-page .mst-paper{border-radius:14px;max-height:min(52vh,380px)}.mst-guide-preview{min-width:68px;min-height:0;padding:6px}.mst-guide-glyph{min-height:0;font-size:104px}.mst-guide-divider{height:50px}.mst-guide-stroke-card{border-radius:7px;padding:3px 6px;font-size:10px}.mst-guide-stroke-card b{width:18px;height:18px;font-size:9px}}.mst-picker-stroke-svg{color:#0d9488;margin:0 auto;display:block}.mst-page-green .mst-picker-stroke-svg{color:#fff}.mst-guide-stroke-svg{color:#0d9488;margin:auto;display:block}.mst-page-green .mst-guide-stroke-svg{color:#fff}
