#ink-loading{position:fixed;inset:0;z-index:10100;background:#1b1528;display:grid;place-content:center;justify-items:center;gap:16px;pointer-events:none;transition:opacity .3s}
#ink-loading.finished{opacity:0}
.ink-loader-poster{width:min(86vw,790px);aspect-ratio:2/1;background:center/cover url(ink-poster.webp);transform:rotate(-2deg);border:3px solid #191226;box-shadow:8px 8px #adf622}
.ink-loader-status{color:#f9f0d2;font:900 20px/1.1 system-ui,sans-serif;padding:.55em .9em;background:#7638d9;transform:rotate(-2deg)}
.ink-loader-status span{font-size:.62em;margin-left:12px;letter-spacing:.12em}
.ink-mark{position:fixed;z-index:16;top:max(10px,env(safe-area-inset-top));right:13px;background:#21172f;color:#d2ff20;padding:6px 14px 6px 12px;transform:rotate(2deg) skew(-8deg);border:2px solid #f7f1ce;box-shadow:3px 3px 0 #9655f8;display:flex;align-items:center;gap:7px;pointer-events:none}
.ink-mark b{font:italic 1000 21px/.95 system-ui,sans-serif;letter-spacing:-1.8px}
.ink-mark span{font:850 11px/1 system-ui,sans-serif;color:#f5ebd9}
body .score-root{--score-face:#e3ff31;--score-ink:#241432}
body .score-chip{--cut-face:#a954f6;--cut-back:#21172e;color:#fff5d0}
body .score-num{filter:drop-shadow(2px 2px 0 #a14add)}
@media(max-height:500px),(max-width:560px){.ink-mark{right:9px;top:6px;padding:4px 8px}.ink-mark b{font-size:15px}.ink-mark span{display:none}.ink-loader-poster{width:min(70vw,600px)}}
#ink-loading{background:#193239}
.ink-loader-poster{aspect-ratio:1280/432;background-image:url(yard-head.webp);border-color:#efe8ca;box-shadow:8px 8px #269e9b}
.ink-loader-status{background:#192d37;border:1px solid #81aaa0}
#yard-map-open{position:fixed;z-index:18;right:max(14px,env(safe-area-inset-right));top:max(55px,calc(env(safe-area-inset-top) + 44px));background:#f8efd4;color:#20323b;border:2px solid #20323b;box-shadow:3px 3px #20323b;border-radius:4px;padding:6px 11px;font:800 13px system-ui;cursor:pointer;touch-action:manipulation}
#yard-map-open[hidden]{display:none}
#yard-guide{background:transparent;color:#1f3239;border:0;padding:8px;width:min(630px,94vw);max-width:100%;max-height:92dvh;overflow:auto;font:15px system-ui,sans-serif}
#yard-guide::backdrop{background:#0c1822ad}
.yard-sheet{background:#f4ebce;border:3px solid #1c3039;box-shadow:5px 5px #924ee0}
.yard-sheet header{display:flex;align-items:center;justify-content:space-between;padding:12px 17px;border-bottom:3px solid #21333a;background:#dbf533}
.yard-sheet header h2{font:900 22px/1.1 system-ui;margin:0}.yard-sheet header small{font:bold 11px monospace;letter-spacing:.12em;display:block;margin-top:5px}
.yard-sheet button{background:transparent;color:#25333a;border:2px solid #25333a;border-radius:50%;width:33px;height:33px;font:bold 20px/1 system-ui;cursor:pointer}
.yard-columns{display:grid;grid-template-columns:minmax(0,1.05fr) 1fr;align-items:center}
.yard-columns canvas{width:100%;max-height:59dvh;object-fit:contain;display:block;background:#182d37}
.yard-legend{padding:6px 16px}.yard-legend p{line-height:1.45;margin:0 0 18px;font-size:13px}.yard-legend b{display:block;font-size:16px;margin-bottom:4px}
.yard-you{font:700 12px system-ui;display:flex;align-items:center;gap:5px}.yard-you i{display:inline-block;width:9px;height:9px;background:#ddf33a;border:2px solid #20323b;border-radius:50%}
@media(max-height:500px){#yard-map-open{top:36px;right:9px;padding:3px 8px;font-size:11px}.yard-sheet header{padding:6px 14px}.yard-columns canvas{max-height:63dvh}.yard-legend p{margin:0 0 7px}}
@media(max-width:470px){.yard-legend{padding:5px 9px}.yard-legend b{font-size:14px}.yard-legend p{font-size:12px;margin-bottom:12px}}
