.gx-mark{isolation:isolate;width:100%;max-width:960px;margin:20px auto;color:#f7f1de;font:14px/1.4 system-ui,sans-serif}.gx-mark *{box-sizing:border-box}.gx-mark [hidden]{display:none!important}.gx-mark button,.gx-mark select{font:inherit;color:inherit;min-width:44px;min-height:44px;touch-action:manipulation;cursor:pointer;border:1px solid #8da6b3;border-radius:5px;background:linear-gradient(#355877,#203a56);padding:8px 12px}.gx-mark button:hover{border-color:#ffdc91}.gx-mark button:focus-visible,.gx-mark select:focus-visible{outline:3px solid #ffdf80;outline-offset:2px;z-index:2}.gx-mark button:disabled{cursor:default;opacity:.6}.gx-mark p{margin:0}.gx-mark .mk-shell{position:relative;padding:14px;border:1px solid #83969c;border-radius:10px;background:linear-gradient(135deg,#335470,#142e48 65%,#3b4144);box-shadow:0 8px 28px #102a3e44;overflow:hidden}.gx-mark .mk-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:9px}.gx-mark .mk-brand small{display:block;font-size:8px;letter-spacing:.12em;color:#c7d7df}.gx-mark .mk-brand strong{display:block;font-size:29px;letter-spacing:.02em;line-height:1.1;color:#ffdda1;font-weight:950}.gx-mark .mk-tools{display:flex;gap:5px}.gx-mark .mk-tools button{font-size:11px;padding:6px 8px}.gx-mark .mk-hud{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-bottom:9px}.gx-mark .mk-hud>div{min-width:0;padding:6px 9px;background:#102c44;border:1px solid #6a879a;border-radius:4px}.gx-mark .mk-hud span{display:block;font-size:10px;color:#c6d7e0}.gx-mark .mk-hud strong{display:block;font-size:23px;line-height:1.2;font-variant-numeric:tabular-nums;white-space:nowrap;color:#fff0cb}.gx-mark .mk-stage{position:relative;height:540px;min-height:0}.gx-mark .mk-play{height:100%;display:flex;flex-direction:column;gap:6px}.gx-mark .mk-contract{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:70px;padding:6px 12px;background:linear-gradient(110deg,#f7e8c7,#c9d5d2);border:1px solid #fcf4de;border-radius:5px;color:#1b3546;box-shadow:0 3px #092639}.gx-mark .mk-order small{display:block;font-size:10px;letter-spacing:.12em}.gx-mark .mk-order strong{font-size:17px;font-weight:900}.gx-mark .mk-target{width:58px;height:58px;flex-shrink:0;background:#183951;border:2px solid #eff5e4;border-radius:5px;padding:3px}.gx-mark .mk-token{display:block;width:100%;height:100%;position:relative;pointer-events:none}.gx-mark .mk-token svg{width:100%;height:100%;display:block;filter:drop-shadow(0 2px 1px #091b2d88)}.gx-mark .mk-token b{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font:950 35px/1 system-ui,sans-serif;color:#102b42;text-shadow:0 1px #fff7;transform:none}.gx-mark .mk-target .mk-token b{font-size:28px}.gx-mark .mk-bay{position:relative;flex:1;min-height:260px;container-type:size;overflow:hidden;border:1px solid #88a3b4;border-radius:6px;background:#183751}.gx-mark .mk-canvas{position:absolute;inset:0;width:100%;height:100%;display:block;pointer-events:none}.gx-mark .mk-grid{display:grid;grid-template-columns:repeat(var(--cols,4),minmax(0,1fr));gap:5px;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(calc(100cqw - 20px),calc(100cqh - 20px),460px);aspect-ratio:1}.gx-mark .mk-cell{display:block;min-width:44px;min-height:44px;width:100%;height:100%;padding:7px;border:2px solid #8d9e9c;border-radius:4px;background:linear-gradient(135deg,#5c7180,#293e52);box-shadow:inset 0 2px #a7b8bc,0 3px #082438;transition:opacity .12s,border-color .1s}.gx-mark .mk-cell:disabled{opacity:1}.gx-mark .mk-cell.is-dim{opacity:.24}.gx-mark .mk-cell.is-correct{border-color:#8effc5;background:#1a6d57;box-shadow:inset 0 0 0 3px #c7ffe7,0 0 16px #5fffaa77}.gx-mark .mk-cell.is-wrong{border-color:#ff9b9b;background:#743744;box-shadow:inset 0 0 0 3px #ffc2c2}.gx-mark .mk-message{font-size:11px;min-height:17px;color:#ffe5ba;text-align:center}.gx-mark .mk-controls{margin:8px 0;display:flex;align-items:center;gap:10px}.gx-mark .mk-controls button{min-width:150px;background:linear-gradient(#efc177,#c0873c);color:#152e43;border-color:#ffe6b2;font-weight:900}.gx-mark .mk-combo{font-size:15px;color:#ffda89}.gx-mark .mk-footer{display:flex;justify-content:space-between;gap:5px;font-size:10px;color:#c4d6df}.gx-mark .mk-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.gx-mark .mk-panel{position:absolute;inset:4px;z-index:5;display:flex;flex-direction:column;justify-content:center;gap:9px;padding:20px;overflow:auto;overscroll-behavior:contain;background:linear-gradient(145deg,#3e6078fa,#19344dfc 70%,#3d4448fb);border:1px solid #a4b5b9;border-radius:7px;box-shadow:0 7px 20px #0006}.gx-mark .mk-panel>*{flex-shrink:0}.gx-mark .mk-eyebrow{text-align:center;font-size:10px;letter-spacing:.14em;color:#d4e2e3}.gx-mark h2.mk-title{font:900 25px/1.3 system-ui,sans-serif;color:#ffe5ad!important;text-align:center;background:none!important;border:0!important;padding:0!important;margin:0!important;box-shadow:none!important}.gx-mark .mk-title:before,.gx-mark .mk-title:after{content:none!important;display:none!important}.gx-mark .mk-note,.gx-mark .mk-item-guide{text-align:center;color:#e1e9e8;font-size:12px}.gx-mark .mk-modes,.gx-mark .mk-upgrades{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.gx-mark .mk-modes button,.gx-mark .mk-upgrades button{display:block;text-align:center;min-width:0;padding:10px 5px}.gx-mark .mk-modes strong,.gx-mark .mk-upgrades strong{font-size:14px;display:block;white-space:nowrap}.gx-mark .mk-modes span,.gx-mark .mk-upgrades span{font-size:11px;display:block;color:#d4e0e4;margin-top:5px}.gx-mark .mk-modes button[aria-pressed=true]{border-color:#ffdf9d;background:#6a5c43;box-shadow:inset 0 -3px #ffdf9d}.gx-mark .mk-difficulty{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:13px}.gx-mark select{width:65%;background:#17344d}.gx-mark .mk-primary{background:linear-gradient(#ffe0a4,#d5a155);color:#203445;min-height:47px;font-size:17px;font-weight:900;border-color:#ffecbd;box-shadow:0 3px #765b3c}.gx-mark .mk-primary:hover{background:#ffe4b1}.gx-mark .mk-secondary{font-size:12px}.gx-mark .mk-points{display:flex;flex-direction:column;align-items:center;color:#ffe2a3;gap:1px}.gx-mark .mk-points strong{font-size:48px;font-variant-numeric:tabular-nums;font-weight:950;line-height:1}.gx-mark .mk-points span{font-size:10px;letter-spacing:.13em}.gx-mark .mk-result-stats{display:grid;grid-template-columns:1fr 1fr;gap:5px}.gx-mark .mk-result-stats>div{min-width:0;background:#112d43ba;border:1px solid #7993a0;border-radius:4px;padding:7px;display:flex;flex-direction:column;gap:1px}.gx-mark .mk-result-stats span{font-size:10px;color:#cfdde1}.gx-mark .mk-result-stats strong{font-size:18px;color:#fff1cd;white-space:nowrap}.gx-mark .mk-record-note{text-align:center;font-size:11px;color:#ffe2a0;min-height:15px}.gx-mark .mk-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px}.gx-mark .mk-actions button{font-size:13px}.gx-mark .mk-panel-back{display:none}
.gx-mark .mk-shell:fullscreen,.gx-mark .mk-expanded{width:100vw;height:100dvh;max-width:none;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto auto;gap:5px;padding:max(8px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));border:0;border-radius:0;background:#19354d}.gx-mark .mk-expanded{position:fixed;inset:0;z-index:2147483000}.gx-mark .mk-shell:fullscreen .mk-head,.gx-mark .mk-expanded .mk-head,.gx-mark .mk-shell:fullscreen .mk-hud,.gx-mark .mk-expanded .mk-hud,.gx-mark .mk-shell:fullscreen .mk-controls,.gx-mark .mk-expanded .mk-controls{margin:0}.gx-mark .mk-shell:fullscreen .mk-stage,.gx-mark .mk-expanded .mk-stage{height:auto;min-height:0}.gx-mark .mk-shell:fullscreen .mk-bay,.gx-mark .mk-expanded .mk-bay{min-height:0}.gx-mark .mk-shell:fullscreen .mk-stage:has(.mk-panel:not([hidden])),.gx-mark .mk-expanded .mk-stage:has(.mk-panel:not([hidden])){position:static}.gx-mark .mk-shell:fullscreen .mk-panel,.gx-mark .mk-expanded .mk-panel{inset:8px;max-width:620px;height:max-content;max-height:calc(100% - 16px);margin:auto;padding:15px;gap:9px}.gx-mark .mk-shell:fullscreen .mk-panel-back,.gx-mark .mk-expanded .mk-panel-back{display:block;position:absolute;top:6px;right:6px;min-width:44px;min-height:44px;font-size:11px;padding:4px;z-index:2}.gx-mark .mk-shell:fullscreen h2.mk-title,.gx-mark .mk-expanded h2.mk-title{padding-inline:45px!important;min-height:44px;display:flex;align-items:center;justify-content:center}.gx-mark.mk-portal{position:fixed;inset:0;z-index:2147483000;width:100vw;height:100dvh;max-width:none;margin:0;isolation:isolate}
@media(max-width:480px){.gx-mark .mk-shell{padding:8px}.gx-mark .mk-head{gap:4px}.gx-mark .mk-brand strong{font-size:21px}.gx-mark .mk-brand small{font-size:6px;letter-spacing:0}.gx-mark .mk-tools{gap:3px}.gx-mark .mk-tools button{font-size:9px;padding:4px}.gx-mark .mk-hud{gap:4px}.gx-mark .mk-hud>div{padding:5px}.gx-mark .mk-hud strong{font-size:17px}.gx-mark .mk-hud span{font-size:9px}.gx-mark .mk-stage{height:480px}.gx-mark .mk-panel{padding:13px;gap:9px}.gx-mark h2.mk-title{font-size:21px}.gx-mark .mk-modes,.gx-mark .mk-upgrades{grid-template-columns:1fr;gap:5px}.gx-mark .mk-modes button,.gx-mark .mk-upgrades button{min-height:44px;display:flex;align-items:center;justify-content:space-between;padding:6px 10px}.gx-mark .mk-modes strong,.gx-mark .mk-upgrades strong{font-size:14px}.gx-mark .mk-modes span,.gx-mark .mk-upgrades span{margin:0;font-size:10px}.gx-mark .mk-note,.gx-mark .mk-item-guide{font-size:11px}.gx-mark .mk-order strong{font-size:14px}.gx-mark .mk-cell{padding:5px}.gx-mark .mk-cell .mk-token b{font-size:24px}.gx-mark .mk-controls button{min-width:134px}.gx-mark .mk-combo{font-size:12px}.gx-mark .mk-footer{font-size:9px}.gx-mark .mk-result-stats strong{font-size:16px}}
@media(max-width:359px){.gx-mark .mk-brand strong{font-size:17px}.gx-mark .mk-brand small{font-size:5px}.gx-mark .mk-hud strong{font-size:15px}.gx-mark .mk-hud>div{padding:4px}.gx-mark .mk-contract{padding:5px 8px;gap:5px}.gx-mark .mk-order strong{font-size:12px}.gx-mark .mk-grid{gap:4px}.gx-mark .mk-cell{padding:4px}.gx-mark .mk-cell .mk-token b{font-size:21px}.gx-mark h2.mk-title{font-size:19px}}
@media(max-height:500px) and (orientation:landscape){.gx-mark .mk-shell:fullscreen,.gx-mark .mk-expanded{grid-template-columns:minmax(215px,.75fr) minmax(0,1.25fr);grid-template-rows:auto auto auto minmax(44px,1fr) auto;gap:5px}.gx-mark .mk-shell:fullscreen .mk-head,.gx-mark .mk-expanded .mk-head{grid-column:1;grid-row:1;display:block}.gx-mark .mk-shell:fullscreen .mk-brand small,.gx-mark .mk-expanded .mk-brand small{display:none}.gx-mark .mk-shell:fullscreen .mk-brand strong,.gx-mark .mk-expanded .mk-brand strong{font-size:20px}.gx-mark .mk-shell:fullscreen .mk-tools,.gx-mark .mk-expanded .mk-tools{margin-top:3px}.gx-mark .mk-shell:fullscreen .mk-hud,.gx-mark .mk-expanded .mk-hud{grid-column:1;grid-row:2;gap:3px}.gx-mark .mk-shell:fullscreen .mk-hud>div,.gx-mark .mk-expanded .mk-hud>div{padding:3px}.gx-mark .mk-shell:fullscreen .mk-hud strong,.gx-mark .mk-expanded .mk-hud strong{font-size:13px}.gx-mark .mk-shell:fullscreen .mk-hud span,.gx-mark .mk-expanded .mk-hud span{font-size:8px}.gx-mark .mk-shell:fullscreen .mk-stage,.gx-mark .mk-expanded .mk-stage,.gx-mark .mk-shell:fullscreen .mk-play,.gx-mark .mk-expanded .mk-play{display:contents}.gx-mark .mk-shell:fullscreen .mk-contract,.gx-mark .mk-expanded .mk-contract{grid-column:1;grid-row:3;min-height:66px;padding:4px 6px}.gx-mark .mk-shell:fullscreen .mk-order strong,.gx-mark .mk-expanded .mk-order strong{font-size:12px}.gx-mark .mk-shell:fullscreen .mk-bay,.gx-mark .mk-expanded .mk-bay{grid-column:2;grid-row:1/-1;min-width:0}.gx-mark .mk-shell:fullscreen .mk-controls,.gx-mark .mk-expanded .mk-controls{grid-column:1;grid-row:4;display:flex;gap:5px}.gx-mark .mk-shell:fullscreen .mk-controls button,.gx-mark .mk-expanded .mk-controls button{min-width:120px;font-size:12px;padding:5px}.gx-mark .mk-shell:fullscreen .mk-combo,.gx-mark .mk-expanded .mk-combo{font-size:9px}.gx-mark .mk-shell:fullscreen .mk-footer,.gx-mark .mk-expanded .mk-footer{grid-column:1;grid-row:5;font-size:8px}.gx-mark .mk-shell:fullscreen .mk-message,.gx-mark .mk-expanded .mk-message{display:none}.gx-mark .mk-shell:fullscreen .mk-panel,.gx-mark .mk-expanded .mk-panel{max-width:620px;gap:6px;padding:12px}.gx-mark .mk-shell:fullscreen .mk-eyebrow,.gx-mark .mk-expanded .mk-eyebrow,.gx-mark .mk-shell:fullscreen .mk-item-guide,.gx-mark .mk-expanded .mk-item-guide{display:none}.gx-mark .mk-shell:fullscreen .mk-modes,.gx-mark .mk-expanded .mk-modes,.gx-mark .mk-shell:fullscreen .mk-upgrades,.gx-mark .mk-expanded .mk-upgrades{grid-template-columns:repeat(3,minmax(0,1fr))}.gx-mark .mk-shell:fullscreen .mk-modes button,.gx-mark .mk-expanded .mk-modes button,.gx-mark .mk-shell:fullscreen .mk-upgrades button,.gx-mark .mk-expanded .mk-upgrades button{display:block;min-height:44px;padding:4px}.gx-mark .mk-shell:fullscreen .mk-modes span,.gx-mark .mk-expanded .mk-modes span{display:none}.gx-mark .mk-shell:fullscreen .mk-upgrades span,.gx-mark .mk-expanded .mk-upgrades span{font-size:10px}.gx-mark .mk-shell:fullscreen h2.mk-title,.gx-mark .mk-expanded h2.mk-title{font-size:19px}.gx-mark .mk-shell:fullscreen .mk-panel[data-kind=result],.gx-mark .mk-expanded .mk-panel[data-kind=result]{display:grid;grid-template-columns:1fr 1fr;gap:6px}.gx-mark .mk-panel[data-kind=result] .mk-title{grid-column:1;grid-row:1;padding-inline:0!important}.gx-mark .mk-panel[data-kind=result] .mk-points{grid-column:2;grid-row:1;padding-right:40px}.gx-mark .mk-panel[data-kind=result] .mk-points strong{font-size:32px}.gx-mark .mk-panel[data-kind=result] .mk-result-stats{grid-column:1/-1;grid-template-columns:repeat(4,minmax(0,1fr))}.gx-mark .mk-panel[data-kind=result] .mk-result-stats strong{font-size:14px}.gx-mark .mk-panel[data-kind=result] .mk-record-note,.gx-mark .mk-panel[data-kind=result] .mk-actions{grid-column:1/-1}.gx-mark .mk-cell .mk-token b{font-size:25px}}
@media(prefers-reduced-motion:reduce){.gx-mark *{animation:none!important;transition:none!important}}
