.td-hud{flex-wrap:wrap;align-items:center;gap:6px 12px;max-width:560px;margin:0 auto 8px;display:flex}.td-hud .spacer{flex:1}.td-stat{font-variant-numeric:tabular-nums;white-space:nowrap;align-items:center;gap:4px;font-weight:700;display:inline-flex}.td-stat canvas,.td-sheet canvas{image-rendering:pixelated;display:block}.td-stat.low{color:var(--error)}.td-wave{color:var(--muted);font-weight:600}.td-next,.td-speed{font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:700}.td-next[hidden]{display:none}.td-next.go{background:var(--accent);border-color:var(--accent);color:#fff}.td-speed[aria-pressed=true]{background:var(--accent-soft);border-color:var(--accent)}.td-field{justify-content:center;width:100%;margin:0 auto;display:flex}.td-field canvas{image-rendering:pixelated;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;background:#5aa82a;border-radius:4px;display:block}.td-sheet{left:50%;bottom:max(10px, env(safe-area-inset-bottom));box-sizing:border-box;background:var(--panel);border:1px solid var(--border);z-index:5;border-radius:12px;width:min(520px,100vw - 20px);padding:10px;position:fixed;transform:translate(-50%);box-shadow:0 6px 24px #00000040}.td-sheet[hidden]{display:none}.td-sheet.top{bottom:auto;top:max(10px, env(safe-area-inset-top))}.td-sheet .td-sheet-head{align-items:center;gap:8px;margin-bottom:8px;font-weight:700;display:flex}.td-sheet .td-sheet-head .spacer{flex:1}.td-sheet .td-sheet-head button{padding:4px 10px}.td-sheet .td-desc{color:var(--muted);font-size:12px;font-weight:400}.td-picks{grid-template-columns:repeat(4,1fr);gap:6px;display:grid}.td-pick{flex-direction:column;align-items:center;gap:2px;min-width:0;padding:6px 2px;font-size:13px;display:flex}.td-pick>canvas{object-fit:contain;width:40px;height:48px}.td-pick .name{white-space:nowrap;font-weight:700}.td-pick .sub{color:var(--muted);white-space:nowrap;font-size:11px}.td-sheet .cost{font-variant-numeric:tabular-nums;align-items:center;gap:2px;font-weight:700;display:inline-flex}.td-pick:disabled{opacity:.45;cursor:not-allowed}.td-pick.on{border-color:var(--accent);background:var(--accent-softer)}.td-acts{flex-wrap:wrap;gap:6px;display:flex}.td-acts button{white-space:nowrap;flex:1;justify-content:center;align-items:center;gap:4px;padding:8px 6px;font-weight:700;display:inline-flex}.td-acts button:disabled{opacity:.45;cursor:not-allowed}.td-acts .up:not(:disabled){background:var(--accent);border-color:var(--accent);color:#fff}.td-info{align-items:center;gap:10px;margin-bottom:8px;font-size:13px;display:flex}.td-info canvas{object-fit:contain;flex:none;width:44px;height:56px}.td-info .stats{color:var(--muted)}.td-info .stats b{color:var(--text)}@media (width<=420px){.td-hud{gap:4px 8px;font-size:14px}.td-next,.td-speed{padding:5px 8px}}
