/* Yeti Escape : page-specific styles (shared: arcade-kit.css, sim3d.css for the banner / result card) */
.yt-wrap { position: relative; width: 100%; }
.yt-wrap .ak-stage { background: #f7fbff; }
.yt-hud { position: absolute; inset: 0; pointer-events: none; font-family: system-ui, sans-serif; container-type: inline-size; }
.yt-hud button, .yt-hud .sim-result { pointer-events: auto; }
.yt-card { position: absolute; left: 10px; top: 10px; background: rgba(15, 23, 42, .8); color: #fff; border-radius: 12px; padding: 5px 11px; max-width: 46%; }
.yt-card b { display: block; font: 900 13.5px system-ui, sans-serif; } .yt-card span { font: 700 11.5px system-ui, sans-serif; color: #bae6fd; }
.yt-big { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); text-align: center; background: rgba(15, 23, 42, .8); border-radius: 14px; padding: 3px 16px; color: #fff; }
.yt-big b { display: block; font: 900 26px/1.1 system-ui, sans-serif; font-variant-numeric: tabular-nums; } .yt-big small { font: 800 10.5px system-ui, sans-serif; color: #fde68a; letter-spacing: .04em; }
.yt-yeti { position: absolute; top: 74px; transform: translateX(-50%); background: #dc2626; color: #fff; font: 900 13px system-ui, sans-serif; border-radius: 999px; padding: 3px 10px; animation: yt-pulse .4s infinite alternate; white-space: nowrap; }
.yt-yeti[hidden] { display: none; }
@keyframes yt-pulse { to { transform: translateX(-50%) scale(1.12); } }
.yt-pop { position: absolute; left: 50%; top: 58%; transform: translate(-50%, -50%); font: 900 clamp(17px, 3.2cqw, 28px) system-ui, sans-serif; color: #1e3a8a; text-shadow: 0 1px 0 #fff, 0 0 8px #fff; opacity: 0; white-space: nowrap; text-align: center; }
.yt-pop small { display: block; font-size: .58em; color: #334155; }
.yt-pop.is-on { animation: yt-pop 1.8s ease-out forwards; }
@keyframes yt-pop { 0% { opacity: 0; transform: translate(-50%, -30%) scale(.8); } 12% { opacity: 1; transform: translate(-50%, -50%) scale(1.06); } 80% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -70%); } }
.yt-tb { position: absolute; right: 10px; top: 10px; display: flex; gap: 6px; }
.yt-tb button { width: 40px; height: 40px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(15, 23, 42, .78); color: #fff; font-size: 17px; cursor: pointer; }
.yt-tb .ak-mute { width: 40px; height: 40px; border-radius: 12px; background: rgba(15, 23, 42, .78); color: #fff; }
.yt-tb button:focus-visible { outline: 3px solid #ffd54a; }
.yt-touch { position: absolute; right: 10px; bottom: 12px; display: none; gap: 8px; }
.yt-hud.is-touch .yt-touch { display: flex; }
.yt-touch button { width: 60px; height: 60px; border-radius: 18px; border: 2px solid rgba(255, 255, 255, .6); background: rgba(30, 58, 138, .78); font-size: 24px; touch-action: none; }
.yt-touch button.is-on { background: rgba(219, 39, 119, .9); transform: scale(.94); }
.yt-hud .sim-banner { pointer-events: none; }
.yt-hud .sim-result[hidden] { display: none; }
.yt-list { margin-top: 14px; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px; }
.yt-list h3 { grid-column: 1 / -1; margin: 0 0 4px; }
.yt-list button { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; padding: 8px 10px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); color: inherit; cursor: pointer; font: inherit; }
.yt-list button.is-on { border-color: #93c5fd; background: rgba(37, 99, 235, .16); } .yt-list button:disabled { opacity: .45; cursor: not-allowed; }
.yt-list small { font-size: 11.5px; opacity: .8; } .yt-list button:focus-visible { outline: 3px solid #ffd54a; outline-offset: 1px; }
.yt-st { font-size: 26px; margin: 4px 0; }
@container (max-width: 560px) {
  .yt-card { left: 8px; top: 60px; padding: 4px 8px; } .yt-card b { font-size: 12px; } .yt-card span { font-size: 10.5px; }
  .yt-big { left: 8px; transform: none; top: 8px; padding: 2px 10px; } .yt-big b { font-size: 20px; } .yt-big small { font-size: 9.5px; }
  .yt-tb { right: 8px; top: 8px; gap: 4px; } .yt-tb button, .yt-tb .ak-mute { width: 36px; height: 36px; font-size: 15px; }
  .yt-yeti { top: 112px; }
  .yt-touch button { width: 56px; height: 56px; font-size: 22px; }
}
