/* The other daily titles use the same play surface and receipt as the v3 games. */
.game-topbar .nav-inner{display:grid;grid-template-columns:minmax(175px,1fr) minmax(100px,1fr) minmax(290px,1fr);align-items:center}
.game-topbar .game-title-wrap,.daily-puzzle-game .game-topbar .game-title-wrap,.opener-game .game-topbar .game-title-wrap{position:static;display:block;transform:none}
.game-topbar .nav-inner nav{justify-content:flex-end;gap:7px}
.game-topbar .back-link{width:max-content}
.game-topbar .help-button{font-size:19px;font-weight:800}
.game-topbar .more-games{width:auto;white-space:nowrap}
.register-key.code-X{background:#100d16;border-color:#31283a;color:#96889f;box-shadow:0 2px #09070e}
.register-key.code-A{background:#f5b86b;color:#302017;border-color:#dda15e;box-shadow:0 3px #80532c}
.game-how-to h2{margin-bottom:14px}
.game-how-to ol{list-style:none;counter-reset:steps;display:grid;gap:11px;margin:0;padding:0}
.game-how-to li{counter-increment:steps;display:grid;grid-template-columns:26px 1fr;gap:10px;align-items:start;color:#e6d3e1;font-size:15px;line-height:1.44}
.game-how-to li::before{content:counter(steps);display:grid;place-items:center;background:#cadc8b;color:#251e28;font-weight:800;border-radius:4px;min-height:25px}
.help-example-caption{margin-top:14px;color:#cfb8cd;font-size:12px}
.help-example-caption+.help-example{margin-top:7px}
.help-example{display:flex;justify-content:center;gap:7px;margin-top:19px;padding:13px;border:1px solid #7c647d;border-radius:6px;background:#211829}
.help-example span{min-width:38px;padding:8px 6px;border:1px solid #8c748e;border-radius:4px;background:#4a3a56;color:#fff0d9;font-weight:800;text-align:center;animation:example-pop .55s ease both;animation-delay:calc(var(--step)*.14s)}
.help-example .right{background:#b9e66e;color:#1a2712}.help-example .move{background:#efb674;color:#302017}.help-example .absent{background:#17131d;color:#a89dab}
@keyframes example-pop{from{opacity:0;transform:translateY(-7px) scale(1.09)}to{opacity:1;transform:none}}
.reduce .help-example span{animation:none}
.shift-meta{display:flex;gap:7px;align-items:center}
.shift-meta .puzzle-chip{min-width:56px;text-align:center;font-variant-numeric:tabular-nums}
.shift-panel{min-width:0;display:flex;flex-direction:column}
.shift-side{gap:12px;min-width:0}
.shift-side .puzzle-bird-note{margin-top:auto}
.shift-icon{image-rendering:pixelated;object-fit:contain;pointer-events:none;display:block}
.shift-actions{display:flex;flex-wrap:wrap;gap:9px;align-items:stretch}
.shift-panel .primary:disabled,.shift-side .primary:disabled{background:#5f584d;border-color:#786d62;color:#e4d7bf;box-shadow:none}
.deep-prompt .sr-only{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
.shift-actions button{min-height:43px;padding:7px 14px;font-size:15px}
.shift-actions .primary:only-child{margin-left:auto;min-width:min(180px,100%)}
.shift-side #shift-status:empty{margin:0;min-height:0}
.shift-side #shift-status{margin:0}
.shift-board-note{margin:10px auto 0;text-align:center;color:#cfb8cd;font-size:13px}
.shift-receipt-details{display:grid;grid-template-columns:1fr 1fr;border:1px solid #9a765770;border-radius:5px;margin-top:10px;color:#35263b;text-align:center;padding:8px 3px}
.shift-receipt-details span+span{border-left:1px dashed #9a765777}
.shift-receipt-details strong,.shift-receipt-details small{display:block;padding:2px 3px}
.shift-receipt-details small{font-size:10px}
.deep-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-bottom:14px}
.deep-steps span{border:1px solid #655065;border-radius:5px;background:#34273d;color:#cfb8cd;padding:9px;font-weight:800;min-width:0}
.deep-steps .current{border-color:#b4a0c7;color:#fff0d9;background:#473653}
.deep-steps .done{background:#435239;color:#ddf3a0;border-color:#8ba36a}
.deep-steps small{margin-left:5px;font-size:11px}
.deep-prompt{min-height:262px;display:flex;flex-direction:column;justify-content:center;text-align:center;align-items:stretch;gap:12px;padding:22px min(5%,30px);border:1px solid #846c88;border-radius:7px;background:radial-gradient(ellipse at 50% 10%,#564161,#211829 75%)}
.deep-prompt h3{font-size:clamp(26px,3vw,45px);line-height:1.13}
.deep-prompt .eyebrow{text-transform:uppercase;color:#ddf3a0;font-size:11px}
.deep-prompt input,.deep-locked{width:100%;margin-top:10px;font-size:22px;padding:12px 14px;background:#1d1626;color:#fff0d9;border:1px solid #9a81a2;border-radius:5px;box-shadow:0 3px #110c16}
.deep-prompt input::placeholder{color:#b79ebc}
.deep-locked{display:flex;align-items:center;justify-content:space-between;text-align:left;gap:8px;overflow-wrap:anywhere}
.deep-locked small{font-size:12px;color:#ddf3a0;min-width:80px;text-align:right}
.deep-tiers{display:grid;gap:7px;list-style:none;margin:7px 0 15px;padding:0}
.deep-tiers li{border:1px solid #655065;border-radius:4px;background:#23192b;padding:9px 10px;display:flex;gap:8px;align-items:center}
.deep-tiers li small{margin-left:auto;color:#cfb8cd}
.rarity,.rarity-dot{--rarity:#ba9bad}
.rarity-1{--rarity:#baacb4}.rarity-2{--rarity:#beda85}.rarity-3{--rarity:#b9d8f2}.rarity-4{--rarity:#cdb0ef}.rarity-5{--rarity:#fbd790}.rarity-0{--rarity:#f5aaa9}
.rarity-dot{width:9px;height:9px;background:var(--rarity)}
.deep-verdict{margin-top:12px;border:1px solid #655065;border-radius:5px;background:#2a2033;padding:9px;display:flex;align-items:center;gap:11px}
.deep-verdict .rarity{color:var(--rarity);border:2px solid var(--rarity);border-radius:4px;transform:rotate(-2deg);padding:6px 9px;white-space:nowrap;animation:rarity-slam .36s cubic-bezier(.18,.72,.32,1.13) both}
.deep-verdict small{display:block;color:#cfb8cd;margin-top:3px}
@keyframes rarity-slam{from{transform:translateY(-13px) scale(1.28) rotate(-9deg);opacity:.08}to{transform:rotate(-2deg);opacity:1}}
.crate-board{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;width:min(100%,416px);aspect-ratio:1;margin:auto;padding:7px;border:1px solid #8f7498;border-radius:7px;background:#16101e;box-shadow:0 4px #110b19}
.crate-cell,.crate-key,.route-cell{position:relative;display:grid;place-items:center;border:1px solid #6c5771;border-radius:5px;background:linear-gradient(143deg,#43334d,#302439);padding:0;color:#fff0d9;min-width:0;min-height:0}
.crate-cell{background:#32273d;box-sizing:border-box}
.crate-cell.alt{background:#44364e}
.crate-cell.bay-east{border-right:3px solid #bd9dc0}
.crate-cell.bay-south{border-bottom:3px solid #bd9dc0}
.crate-cell b,.crate-key b{position:absolute;top:4px;left:6px;font-size:14px;z-index:1}
.crate-cell.given b{color:#ddf3a0}
.crate-cell.picked{outline:2px solid #ddf3a0;outline-offset:-2px;background:#465239;z-index:1}
.crate-cell.mistake{outline:2px solid #f5a38d;outline-offset:-2px;background:#6d3e50}
.crate-cell .shift-icon,.crate-key .shift-icon{width:82%;max-height:84%;margin-top:5%}
.crate-key .shift-icon{height:min(72%,52px)}
.crate-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.crate-key{height:69px}
.crate-key:hover{border-color:#bfea75}
.crate-key:active{transform:translateY(2px)}
.crate-notes{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(2,1fr);width:80%;height:68%;color:#ead4e7;font-size:12px}
.crate-notes small{display:grid;place-items:center}
.empty-slot{width:29%;height:29%;border:1px dashed #a58ba462;border-radius:4px}
.stock-actions button{flex:1;min-width:0;padding-inline:6px}
#stock-notes[aria-pressed=true]{color:#ddf3a0;border-color:#bfea75;background:#435137}
.slot-snap .shift-icon{animation:crate-snap .19s ease-out both}
@keyframes crate-snap{from{transform:translateY(-5px) scale(1.12)}to{transform:none}}
.route-board{position:relative;margin:auto;width:min(100%,424px);aspect-ratio:1;touch-action:none;user-select:none}
.route-floor{position:absolute;inset:0;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:repeat(6,minmax(0,1fr));padding:2px;gap:4px;border:1px solid #8f7498;border-radius:6px;background:#16101e;box-shadow:0 4px #0d0912}
.route-cell.covered{background:#435139;border-color:#829965}
.route-cell.at-cart{border-color:#ddf3a0}
.route-lines{position:absolute;z-index:2;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.route-lines polyline{stroke:#c9ed82;stroke-width:8px;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 5px #c4f5819e)}
.route-wall{position:absolute;z-index:3;pointer-events:none;background:repeating-linear-gradient(135deg,#cda582 0 4px,#9d735d 4px 8px);border:2px solid #513940;border-radius:4px;box-shadow:inset 0 2px #ffe3ab80,0 2px #1e1425;transform:translate(-50%,-50%)}
.route-wall.wall-h{width:13.5%;height:4%}.route-wall.wall-v{width:4%;height:13.5%}
.route-stop{position:absolute;z-index:4;left:50%;top:50%;transform:translate(-50%,-50%);min-width:55%;min-height:55%;display:grid;place-items:center;border:1px solid #b39162;border-radius:4px;background:#69533a;color:#fff0d9;font-size:clamp(12px,1.5vw,18px);font-weight:800;pointer-events:none}
.route-cell.covered .route-stop{background:#c6e487;color:#293220;border-color:#ecffb9}
.route-stop.register{min-height:75%;min-width:76%;padding:2px}
.route-stop .shift-icon{width:90%;height:90%}
.route-stop b{position:absolute;top:0;right:2px;font-size:12px}
.route-cart{position:absolute;z-index:5;transform:translate(-50%,-50%);width:15%;pointer-events:none}
.route-cart .shift-icon{width:100%;filter:drop-shadow(0 2px #110c16)}
.route-metrics{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.route-metrics>div,.route-key{border:1px solid #655065;border-radius:5px;background:#2a2033;padding:10px}
.route-metrics strong,.route-metrics small{display:block}
.route-metrics strong{color:#ddf3a0;font-size:24px}
.route-metrics small,.route-key{color:#cfb8cd;font-size:14px}
.route-key p{display:flex;align-items:center;gap:9px}
.route-key i{width:21px;height:6px;border-radius:5px;background:#c5e684}
.route-key .shift-icon{width:22px}
@media(max-width:820px) and (min-width:701px){
  .game-topbar .opener-wordmark{width:98px}
}
@media(max-width:700px){
  .game-topbar{height:91px}
  .game-topbar .nav-inner{padding:5px 12px;grid-template-columns:minmax(106px,1fr) 31px 31px max-content 31px 31px;grid-template-rows:39px 33px;gap:3px 5px}
  .game-topbar .nav-inner nav{display:contents}
  .game-topbar .back-link{grid-row:1;grid-column:1;gap:3px}
  .game-topbar .brand-bird{width:31px;height:31px}
  .game-topbar .opener-wordmark{width:79px}
  .game-topbar .mini-streak{grid-row:1;grid-column:4;margin:0 3px;white-space:nowrap}
  .game-topbar .help-button{grid-row:1;grid-column:3}
  .game-topbar .mute-button{grid-row:1;grid-column:5}
  .game-topbar .settings-button{grid-row:1;grid-column:6}
  .game-topbar .play-controls .icon-button{width:31px;height:31px}
  .game-topbar .game-title-wrap{grid-row:2;grid-column:1/-1;justify-self:start}
  .game-topbar .more-games{grid-row:1;grid-column:2;width:31px;min-height:31px;justify-content:center;padding:3px;font-size:13px}
  .game-topbar .more-games-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .game-surround{min-height:calc(100dvh - 126px)}
  #game-frame{height:calc(100dvh - 126px)}
  .shift-meta{flex-wrap:wrap;justify-content:flex-end}
  .shift-side .puzzle-bird-note{display:flex;padding-top:4px}
  .shift-side .puzzle-bird-note img{width:53px;height:53px}
  .deep-prompt{min-height:210px}
  .deep-steps{gap:3px}
  .deep-steps span{padding:6px 4px;font-size:12px;text-align:center}
  .deep-steps small{display:block;margin:2px 0 0;font-size:9px}
  .deep-locked,.deep-prompt input{font-size:18px}
  .shift-stock-six .crate-board{width:min(100%,298px)}
  .shift-stock-six .crate-controls{grid-template-columns:repeat(6,minmax(0,1fr));gap:4px}
  .shift-stock-six .crate-key{height:48px}
  .shift-stock-six .crate-key b{top:1px;left:4px;font-size:12px}
  .shift-closing-route .shift-side>div:first-child{order:-2}
  .shift-closing-route .shift-actions{order:-1}
  .route-lines polyline{stroke-width:6px}
}
@media(prefers-reduced-motion:reduce){.game-how-to *,.shift-panel *,.shift-side *{animation:none!important;transition:none!important}}

