/* v24d: sticky top bar for the in-game header (phone / narrow screens). Always on screen, 14px+ below the
   browser bar / notch at any scroll position, solid background, 44px targets, one compact button row. */
html,body{overscroll-behavior-y:contain}
@media (max-width:760px){
  #app:has(> .v24d-bar){padding-top:0}
  #app > .row.v24d-bar{position:sticky;top:0;z-index:40;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px 6px;align-items:center;
    margin:0 -16px 6px;padding:calc(max(env(safe-area-inset-top,0px),0px) + 14px) 12px 8px;background:#0b0b0b;border-bottom:1px solid #262626;box-shadow:0 6px 14px rgba(0,0,0,.6)}
  #app > .row.v24d-bar > div:first-child{grid-column:1/3;grid-row:1;min-width:0}
  #app > .row.v24d-bar > div:first-child b{font-size:14px}
  #app > .row.v24d-bar > div:first-child .small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11.5px}
  #app > .row.v24d-bar > div:last-child,#app > .row.v24d-bar .hd2{display:contents}
  #app > .row.v24d-bar .tag{grid-column:3;grid-row:1;justify-self:center;min-height:0!important;min-width:0!important;margin:0!important;padding:3px 5px;font-size:9.5px;letter-spacing:.5px;white-space:normal;text-align:center;line-height:1.15}
  #app > .row.v24d-bar button{grid-row:2;width:100%;min-width:0;min-height:44px;margin:0;padding:6px 2px;font-size:12.5px;white-space:nowrap;text-align:center;justify-content:center}
  .v24d-sign{display:flex;justify-content:flex-end;margin:0 0 8px}
  .v24d-sign button.v22-store{margin:0!important}
}
.v24d-sign{display:flex;justify-content:flex-end}
@media (min-width:761px){#app > .row.v24d-bar{position:sticky;top:0;z-index:40;background:#0b0b0b;margin-left:-16px;margin-right:-16px;padding:10px 16px 8px;border-bottom:1px solid #262626}}
/* v24d (t368u): story choices: after a pick the others visibly grey out, the pick stays lit, and the result scrolls in below the sticky bar */
#app [data-c]:disabled,#app [data-r]:disabled{animation:none!important}
#app [data-c]:disabled:not(.on){opacity:.4}
#app [data-c].on{border-color:#ff7a00!important;background:linear-gradient(180deg,rgba(255,122,0,.22),rgba(255,122,0,.08))!important;opacity:1}
#after{scroll-margin-top:130px}
@media (min-width:761px){#after{scroll-margin-top:80px}}
