/* Bar Run — scoped under .game-tab (from игра.html reference) */

/* Секция вкладки: .hidden должен скрывать весь блок игры */
#game-tab.hidden {
  display: none !important;
}

.game-tab{
      --game-cyan: #6ec8d8;
      --game-gold: #e4c06a;
      --game-rose: #c88eb8;
      --neon: rgba(110, 200, 216, 0.45);
      --pink: rgba(200, 142, 184, 0.38);
      --gold: var(--game-gold);
      --danger: #ff5252;
      --glass: rgba(255, 255, 255, .08);
      --stroke: rgba(255, 255, 255, .12);
    }

.game-tab *{
      box-sizing: border-box;
      user-select: none;
      -webkit-user-select: none;
      -webkit-touch-callout: none;
      -webkit-tap-highlight-color: transparent;
    }

.game-tab{
      margin: 0;
      min-height: 0;
      overflow: visible;
      background: transparent;
      color: var(--text, #fff);
      font-family: var(--font, system-ui, sans-serif);
      touch-action: manipulation;
    }

.game-tab:not(.hidden) {
      display: flex;
      flex-direction: column;
      align-items: stretch;
      width: 100%;
      min-height: 0;
      padding: 0;
      background: transparent;
    }

.game-tab .wrap{
      width: min(98vw, 660px);
      max-width: 100%;
      position: relative;
    }

.game-tab .title{
      margin: 0 0 12px;
      text-align: center;
      font-size: clamp(22px, 4.5vw, 32px);
      line-height: 1.05;
      font-weight: 800;
      letter-spacing: 0.02em;
      text-shadow: none;
    }

.game-tab .title span{
      color: var(--game-gold);
      font-weight: 800;
    }

.game-tab #game{
      position: relative;
      width: 100%;
      height: min(84vh, 780px);
      height: min(84dvh, 780px);
      min-height: 520px;
      container-type: size;
      container-name: game-board;
      overflow: hidden;
      border-radius: var(--radius-xl, 20px);
      border: 1px solid rgba(110, 200, 216, 0.14);
      touch-action: none;
      background:
        radial-gradient(ellipse 85% 55% at 12% 0%, rgba(110, 200, 216, 0.14), transparent 52%),
        radial-gradient(ellipse 75% 50% at 90% 6%, rgba(200, 142, 184, 0.11), transparent 50%),
        radial-gradient(ellipse 90% 45% at 50% 100%, rgba(228, 192, 106, 0.09), transparent 48%),
        linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px),
        linear-gradient(168deg, #1a2238 0%, #151c30 46%, #101018 100%);
      background-size: cover, cover, cover, 36px 36px, 36px 36px, cover;
      box-shadow:
        var(--shadow-card, 0 4px 28px rgba(0, 0, 0, .55)),
        0 0 40px rgba(110, 200, 216, 0.06);
    }

.game-tab #game::before{
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 1px;
      z-index: 2;
      pointer-events: none;
      background: linear-gradient(90deg, transparent 5%, rgba(255, 255, 255, .28), transparent 95%);
    }

.game-tab #game::after{
      content: "";
      position: absolute;
      inset: 0;
      z-index: 1;
      pointer-events: none;
      background:
        radial-gradient(circle at 6% 88%, rgba(200, 142, 184, 0.12), transparent 26%),
        radial-gradient(circle at 94% 86%, rgba(110, 200, 216, 0.11), transparent 26%);
    }

.game-tab .city{
      position: absolute;
      left: 0;
      right: 0;
      bottom: 75px;
      height: 180px;
      z-index: 1;
      opacity: .45;
      pointer-events: none;
      background:
        linear-gradient(to top, rgba(0, 0, 0, .55), transparent),
        repeating-linear-gradient(90deg, transparent 0 22px, rgba(255, 255, 255, .05) 22px 24px, transparent 24px 60px);
      clip-path: polygon(0 100%, 0 60%, 5% 60%, 5% 28%, 12% 28%, 12% 68%, 17% 68%, 17% 40%, 27% 40%, 27% 72%, 34% 72%, 34% 20%, 42% 20%, 42% 64%, 50% 64%, 50% 36%, 58% 36%, 58% 74%, 65% 74%, 65% 30%, 75% 30%, 75% 60%, 82% 60%, 82% 18%, 92% 18%, 92% 70%, 100% 70%, 100% 100%);
    }

.game-tab .floor{
      position: absolute;
      left: -5%;
      right: -5%;
      bottom: 0;
      height: 95px;
      z-index: 2;
      transform: perspective(220px) rotateX(28deg);
      transform-origin: bottom;
      border-top: 1px solid rgba(255, 255, 255, .18);
      background:
        linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(0, 0, 0, .22)),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .07) 0 2px, transparent 2px 68px),
        linear-gradient(90deg, rgba(200, 142, 184, .16), rgba(110, 200, 216, .15), rgba(228, 192, 106, .14));
    }

.game-tab .game-hud{
      position: absolute;
      top: 18px;
      left: 18px;
      right: 18px;
      z-index: 18;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 8px;
      pointer-events: none;
    }

.game-tab .game-hud div{
      position: relative;
      overflow: hidden;
      min-height: 48px;
      padding: 8px 10px;
      border-radius: var(--radius-lg, 14px);
      text-align: center;
      background: linear-gradient(180deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .04));
      border: 1px solid rgba(110, 200, 216, 0.16);
      box-shadow: 0 8px 20px rgba(0, 0, 0, .22), inset 0 0 20px rgba(110, 200, 216, 0.04);
      backdrop-filter: blur(10px);
    }

.game-tab .game-hud small{
      display: block;
      margin-bottom: 2px;
      color: var(--text-dim, rgba(255, 255, 255, .48));
      font-size: 9px;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      font-weight: 600;
    }

.game-tab .game-hud strong{
      display: block;
      font-size: 18px;
      line-height: 1;
      font-weight: 950;
    }

.game-tab #player{
      position: absolute;
      left: 0;
      bottom: 26px;
      z-index: 8;
      width: 94px;
      height: 118px;
      cursor: grab;
      touch-action: none;
      transform-origin: 50% 90%;
      will-change: transform;
    }

.game-tab #player .player-visual{
      width: 100%;
      height: 100%;
      transform-origin: 50% 90%;
      filter: drop-shadow(0 14px 12px rgba(0, 0, 0, .42));
      will-change: filter;
    }

.game-tab #player:active{
      cursor: grabbing;
    }

.game-tab #player *{
      pointer-events: none;
    }

.game-tab .person-svg, .game-tab .item svg{
      width: 100%;
      height: 100%;
      overflow: visible;
    }

.game-tab .left-arm{ transform-origin: 36px 62px; animation: armWalkL .55s ease-in-out infinite alternate; }

.game-tab .right-arm{ transform-origin: 80px 62px; animation: armWalkR .55s ease-in-out infinite alternate; }

.game-tab .left-leg{ transform-origin: 49px 90px; animation: legWalkL .55s ease-in-out infinite alternate; }

.game-tab .right-leg{ transform-origin: 67px 90px; animation: legWalkR .55s ease-in-out infinite alternate; }

.game-tab .neck-head{ transform-origin: 58px 55px; animation: headBob .9s ease-in-out infinite alternate; }

.game-tab .torso{ transform-origin: 58px 95px; animation: torsoBob .7s ease-in-out infinite alternate; }

.game-tab .held-beer{ transform-origin: 19px 13px; animation: beerSwing .78s ease-in-out infinite alternate; }

.game-tab #player.idle .left-arm, .game-tab #player.idle .right-arm, .game-tab #player.idle .left-leg, .game-tab #player.idle .right-leg{
      animation-duration: 1.2s;
    }

.game-tab #player.very-drunk .party-glasses{
      transform-origin: 59px 38px;
      animation: glassesSlip .65s ease-in-out infinite alternate;
    }

.game-tab #player.very-drunk .neck-head{
      animation-duration: .48s;
    }

@keyframes armWalkL { from { transform: rotate(-8deg); } to { transform: rotate(13deg); } }

@keyframes armWalkR { from { transform: rotate(10deg); } to { transform: rotate(-13deg); } }

@keyframes legWalkL { from { transform: rotate(5deg); } to { transform: rotate(-8deg); } }

@keyframes legWalkR { from { transform: rotate(-5deg); } to { transform: rotate(8deg); } }

@keyframes headBob { from { transform: translateY(0) rotate(-1deg); } to { transform: translateY(2px) rotate(1.5deg); } }

@keyframes torsoBob { from { transform: translateY(0) rotate(-.5deg); } to { transform: translateY(1.5px) rotate(.6deg); } }

@keyframes beerSwing { from { transform: translate(13px, 83px) rotate(-14deg); } to { transform: translate(13px, 83px) rotate(-5deg); } }

@keyframes glassesSlip { from { transform: rotate(-6deg) translateY(0); } to { transform: rotate(-12deg) translateY(2px); } }

.game-tab .item{
      position: absolute;
      top: 0;
      left: 0;
      z-index: 7;
      width: 54px;
      height: 66px;
      will-change: transform;
      overflow: visible;
    }

.game-tab .item-rot{
      width: 100%;
      height: 100%;
      transform-origin: 50% 55%;
      will-change: transform;
    }

.game-tab .item svg{
      display: block;
      width: 100%;
      height: 100%;
      overflow: visible;
    }

.game-tab .floating-score{
      position: absolute;
      z-index: 12;
      font-size: 22px;
      font-weight: 950;
      white-space: nowrap;
      pointer-events: none;
      text-shadow: 0 3px 10px rgba(0, 0, 0, .62);
      animation: floatUp .85s cubic-bezier(.2, .8, .2, 1) forwards;
      will-change: transform, opacity;
    }

.game-tab .game-particle{
      position: absolute;
      top: 0;
      left: 0;
      z-index: 11;
      border-radius: 50%;
      pointer-events: none;
      will-change: transform, opacity;
    }

.game-tab #game.game-board--gpu{
      contain: strict;
      transform: translateZ(0);
      isolation: isolate;
    }

.game-tab.perf-mode #game::after{
      opacity: .72;
}


.game-tab .plus{ color: #95ffae; }

.game-tab .minus{ color: #8eeaff; }

@keyframes floatUp {
      from { opacity: 1; transform: translateY(0) scale(.96); }
      45% { opacity: 1; transform: translateY(-18px) scale(1.12); }
      to { opacity: 0; transform: translateY(-52px) scale(1.2); }
    }

.game-tab .combo-pop{
      position: absolute;
      top: 76px;
      left: 50%;
      z-index: 13;
      transform: translateX(-50%);
      padding: 9px 15px;
      border-radius: 999px;
      opacity: 0;
      color: #ffe28a;
      font-weight: 950;
      pointer-events: none;
      background: rgba(255, 212, 93, .14);
      border: 1px solid rgba(255, 212, 93, .42);
      text-shadow: 0 0 14px rgba(255, 212, 93, .45);
    }

.game-tab .combo-pop.show{
      animation: combo .7s ease-out forwards;
    }

@keyframes combo {
      0% { opacity: 0; transform: translateX(-50%) translateY(10px) scale(.8); }
      25% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1.05); }
      100% { opacity: 0; transform: translateX(-50%) translateY(-22px) scale(1.16); }
    }

.game-tab .meter-wrap{
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 10px;
      align-items: center;
      min-height: 24px;
      margin-top: 8px;
    }

.game-tab .drunk-meter{
      min-width: 0;
      height: 22px;
      overflow: hidden;
      border-radius: var(--radius-pill, 100px);
      background: rgba(18, 22, 38, 0.95);
      border: 1px solid rgba(110, 200, 216, 0.12);
      box-shadow: inset 0 2px 8px rgba(0, 0, 0, .35);
    }

.game-tab #drunkFill{
      height: 100%;
      width: 0%;
      border-radius: inherit;
      background: linear-gradient(90deg, #5eb8c8, #7ecf8a, #e4c06a, #e8955a, #e85a5a);
      box-shadow: 0 0 14px rgba(228, 192, 106, 0.28);
      transition: width .16s ease;
    }

.game-tab #drunkText{
      min-width: 42px;
      text-align: right;
    }

.game-tab .danger-glow{
      animation: dangerPulse .5s ease-in-out infinite alternate;
    }

@keyframes dangerPulse {
      from {
        box-shadow:
          var(--shadow-card, 0 4px 28px rgba(0, 0, 0, .55)),
          inset 0 0 36px rgba(110, 200, 216, 0.05);
      }
      to {
        box-shadow:
          var(--shadow-card, 0 4px 28px rgba(0, 0, 0, .55)),
          0 0 24px rgba(255, 82, 82, .32),
          inset 0 0 48px rgba(255, 82, 82, 0.1);
      }
    }

.game-tab .legend{
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 8px;
      margin-top: 8px;
      font-size: 12px;
      color: rgba(255, 255, 255, .76);
    }

.game-tab .legend div{
      padding: 8px 7px;
      border-radius: var(--radius-lg, 14px);
      text-align: center;
      background: linear-gradient(160deg, rgba(26, 34, 56, 0.9), rgba(18, 20, 32, 0.95));
      border: 1px solid rgba(110, 200, 216, 0.1);
      color: rgba(255, 255, 255, .62);
      font-size: 11px;
    }

.game-tab .help{
      margin-top: 7px;
      text-align: center;
      color: var(--text-dim, rgba(255, 255, 255, .48));
      font-size: 13px;
      line-height: 1.45;
    }

.game-tab .overlay{
      position: absolute;
      inset: 0;
      z-index: 30;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: auto;
      padding: 22px;
      background: rgba(8, 10, 22, .76);
      backdrop-filter: blur(10px);
      overscroll-behavior: contain;
    }

.game-tab .hidden{
      display: none;
    }

.game-tab .card{
      width: min(94%, 440px);
      max-height: 100%;
      overflow: auto;
      padding: 20px 16px 24px;
      border-radius: var(--radius-xl, 20px);
      text-align: center;
      background:
        radial-gradient(ellipse 100% 70% at 0% 0%, rgba(110, 200, 216, 0.1), transparent 58%),
        radial-gradient(ellipse 90% 65% at 100% 0%, rgba(228, 192, 106, 0.08), transparent 55%),
        linear-gradient(150deg, #1e2438 0%, var(--card, #141820) 52%, var(--card-alt, #0e1018) 100%);
      border: 1px solid rgba(110, 200, 216, 0.12);
      box-shadow: var(--shadow-card, 0 4px 28px rgba(0, 0, 0, .55));
      position: relative;
    }

.game-tab .card::before{
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent 5%, rgba(255, 255, 255, .28), transparent 95%);
      pointer-events: none;
    }

/* — Start overlay (2026: bento · glass · progressive disclosure) — */
.game-tab .overlay-start{
      padding: max(10px, env(safe-area-inset-top, 0px)) 10px max(12px, env(safe-area-inset-bottom, 0px));
      align-items: center;
      justify-content: center;
      background:
        radial-gradient(ellipse 90% 60% at 50% 100%, rgba(110, 200, 216, 0.12), transparent 58%),
        rgba(4, 6, 14, .88);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
    }

.game-tab .card.start-sheet{
      padding: 0;
      text-align: left;
    }

.game-tab .start-sheet{
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: stretch;
      width: min(100%, 420px);
      max-height: calc(100% - 8px);
      overflow-x: hidden;
      overflow-y: auto;
      overscroll-behavior: contain;
      -webkit-overflow-scrolling: touch;
      padding: 0;
      isolation: isolate;
      border: 1px solid rgba(255, 255, 255, .1);
      border-radius: calc(var(--radius-xl, 20px) + 4px);
      background:
        linear-gradient(165deg, rgba(255, 255, 255, .07) 0%, rgba(255, 255, 255, .02) 38%, transparent 62%),
        linear-gradient(180deg, rgba(30, 36, 56, .96) 0%, rgba(14, 16, 24, .98) 100%);
      box-shadow:
        var(--shadow-deep, 0 16px 64px rgba(0, 0, 0, .75)),
        inset 0 1px 0 rgba(255, 255, 255, .12);
    }

.game-tab .start-sheet__ambient{
      position: absolute;
      inset: 0;
      z-index: 0;
      overflow: hidden;
      border-radius: inherit;
      pointer-events: none;
    }

.game-tab .start-sheet__glow{
      position: absolute;
      border-radius: 50%;
      filter: blur(48px);
      opacity: .5;
    }

.game-tab .start-sheet__glow--gold{
      width: 140px;
      height: 140px;
      top: -40px;
      left: -30px;
      background: rgba(228, 192, 106, .32);
    }

.game-tab .start-sheet__glow--cyan{
      width: 120px;
      height: 120px;
      top: 8px;
      right: -24px;
      background: rgba(110, 200, 216, .26);
    }

.game-tab .start-sheet > :not(.start-sheet__ambient){
      position: relative;
      z-index: 1;
    }

.game-tab .start-sheet__head{
      padding: 18px 18px 12px;
      text-align: center;
    }

.game-tab .start-sheet__eyebrow{
      margin: 0 0 8px;
      font-size: 10px;
      font-weight: 600;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: rgba(255, 255, 255, .42);
    }

.game-tab .start-sheet__title{
      margin: 0 0 8px;
      font-size: clamp(30px, 7vw, 38px);
      font-weight: 800;
      line-height: 1.02;
      letter-spacing: -.02em;
    }

.game-tab .start-sheet__title span{
      background: linear-gradient(120deg, #fff6d4 0%, #e4c06a 42%, #c9923e 100%);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

.game-tab .start-sheet__hook{
      margin: 0;
      max-width: 28em;
      margin-inline: auto;
      font-size: 13px;
      line-height: 1.45;
      color: rgba(255, 255, 255, .58);
    }

.game-tab .start-bento{
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
      margin: 0 14px 10px;
      padding: 0;
      list-style: none;
    }

.game-tab .start-bento__tile{
      display: flex;
      align-items: flex-start;
      gap: 10px;
      min-height: 72px;
      padding: 12px;
      border-radius: 16px;
      border: 1px solid rgba(255, 255, 255, .08);
      background: rgba(255, 255, 255, .04);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
    }

.game-tab .start-bento__tile--combo{
      grid-column: 1 / -1;
      flex-direction: column;
      gap: 10px;
      padding: 12px 12px 10px;
      border-color: rgba(228, 192, 106, .22);
      background: linear-gradient(145deg, rgba(228, 192, 106, .1), rgba(255, 255, 255, .03));
    }

.game-tab .start-bento__combo-top{
      display: flex;
      align-items: flex-start;
      gap: 10px;
      width: 100%;
    }

.game-tab .start-bento__mark{
      flex: 0 0 34px;
      width: 34px;
      height: 34px;
      border-radius: 11px;
      background: linear-gradient(145deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .04));
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
    }

.game-tab .start-bento__tile--booze .start-bento__mark{
      background: linear-gradient(145deg, #f0dfa0, #b8862e);
    }

.game-tab .start-bento__tile--sober .start-bento__mark{
      background: linear-gradient(145deg, #b8ecff, #4a9cb8);
    }

.game-tab .start-bento__mark--combo{
      background: linear-gradient(145deg, #ffd45d, #ff4fd8);
    }

.game-tab .start-bento__copy h2{
      margin: 0 0 3px;
      font-size: 13px;
      font-weight: 700;
      line-height: 1.2;
      color: #fff;
    }

.game-tab .start-bento__copy p{
      margin: 0;
      font-size: 11px;
      line-height: 1.35;
      color: rgba(255, 255, 255, .5);
    }

.game-tab .start-combo-rail{
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 6px;
      width: 100%;
      margin: 0;
      padding: 0;
      list-style: none;
    }

.game-tab .start-combo-rail li{
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 2px;
      padding: 8px 4px;
      border-radius: 12px;
      background: rgba(0, 0, 0, .24);
      border: 1px solid rgba(255, 255, 255, .07);
    }

.game-tab .start-combo-rail li.is-peak{
      border-color: rgba(228, 192, 106, .35);
      background: rgba(228, 192, 106, .12);
    }

.game-tab .start-combo-rail__n{
      font-size: 10px;
      font-weight: 600;
      color: rgba(255, 255, 255, .42);
      line-height: 1;
    }

.game-tab .start-combo-rail__n::after{
      content: " шт";
      font-weight: 500;
    }

.game-tab .start-combo-rail__x{
      font-size: 16px;
      font-weight: 800;
      letter-spacing: -.02em;
      color: #fff;
      line-height: 1;
    }

.game-tab .start-combo-rail li.is-peak .start-combo-rail__x{
      color: #f0dfa0;
    }

.game-tab .start-tip{
      display: flex;
      align-items: flex-start;
      gap: 10px;
      margin: 0 14px 10px;
      padding: 10px 12px;
      border-radius: 14px;
      border: 1px solid rgba(110, 200, 216, .16);
      background: rgba(110, 200, 216, .07);
    }

.game-tab .start-tip__icon{
      flex: 0 0 8px;
      width: 8px;
      height: 8px;
      margin-top: 5px;
      border-radius: 50%;
      background: #6ec8d8;
      box-shadow: 0 0 12px rgba(110, 200, 216, .65);
    }

.game-tab .start-tip p{
      margin: 0;
      font-size: 11px;
      line-height: 1.45;
      color: rgba(255, 255, 255, .62);
    }

.game-tab .start-tip strong{
      color: #c9e8ee;
      font-weight: 600;
    }

.game-tab .start-quick{
      list-style: none;
      margin: 0 14px 12px;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

.game-tab .start-quick li{
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 11px;
      line-height: 1.35;
      color: rgba(255, 255, 255, .55);
    }

.game-tab .start-quick__badge{
      flex: 0 0 22px;
      width: 22px;
      height: 22px;
      display: grid;
      place-items: center;
      border-radius: 8px;
      font-size: 11px;
      font-weight: 700;
      color: rgba(255, 255, 255, .75);
      background: rgba(255, 255, 255, .08);
      border: 1px solid rgba(255, 255, 255, .1);
    }

.game-tab .start-quick kbd{
      display: inline-block;
      min-width: 1.4em;
      padding: 1px 5px;
      border-radius: 6px;
      font-size: 10px;
      font-family: inherit;
      font-weight: 600;
      text-align: center;
      color: rgba(255, 255, 255, .8);
      background: rgba(255, 255, 255, .1);
      border: 1px solid rgba(255, 255, 255, .14);
    }

.game-tab .start-accordion{
      margin: 0 14px 10px;
    }

.game-tab .start-accordion__trigger{
      appearance: none;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      width: 100%;
      min-height: 48px;
      padding: 10px 14px;
      border: 1px solid rgba(255, 255, 255, .1);
      border-radius: 14px;
      background: rgba(255, 255, 255, .04);
      cursor: pointer;
      text-align: left;
      font-family: var(--font, system-ui, sans-serif);
      transition: background .2s, border-color .2s;
      -webkit-tap-highlight-color: transparent;
    }

.game-tab .start-accordion__trigger:hover,
.game-tab .start-accordion__trigger[aria-expanded="true"]{
      background: rgba(255, 255, 255, .07);
      border-color: rgba(255, 255, 255, .16);
    }

.game-tab .start-accordion__text{
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

.game-tab .start-accordion__title{
      font-size: 13px;
      font-weight: 600;
      color: rgba(255, 255, 255, .9);
    }

.game-tab .start-accordion__sub{
      font-size: 10px;
      color: rgba(255, 255, 255, .42);
    }

.game-tab .start-accordion__chev{
      flex: 0 0 18px;
      width: 18px;
      height: 18px;
      border-right: 2px solid rgba(255, 255, 255, .45);
      border-bottom: 2px solid rgba(255, 255, 255, .45);
      transform: rotate(45deg) translate(-2px, -2px);
      transition: transform .24s var(--ease-smooth, ease);
    }

.game-tab .start-accordion__trigger[aria-expanded="true"] .start-accordion__chev{
      transform: rotate(-135deg) translate(-1px, -1px);
    }

.game-tab .start-accordion__panel{
      overflow: hidden;
      max-height: 0;
      opacity: 0;
      margin: 0;
      transition: max-height .32s var(--ease-smooth, ease), opacity .22s ease, margin .22s ease;
    }

.game-tab .start-accordion__panel.is-open{
      max-height: min(40vh, 340px);
      opacity: 1;
      margin-top: 8px;
      padding: 12px;
      border-radius: 14px;
      border: 1px solid rgba(255, 255, 255, .08);
      background: rgba(0, 0, 0, .22);
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: thin;
    }

.game-tab .start-accordion__panel[hidden]{
      display: none;
    }

.game-tab .start-rule{
      margin: 0 0 14px;
    }

.game-tab .start-rule:last-child{
      margin-bottom: 0;
    }

.game-tab .start-rule__label{
      margin: 0 0 6px;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: .12em;
      text-transform: uppercase;
      color: rgba(255, 255, 255, .38);
    }

.game-tab .start-rule__text{
      margin: 0;
      font-size: 12px;
      line-height: 1.5;
      color: rgba(255, 255, 255, .72);
    }

.game-tab .start-rule--muted .start-rule__text{
      color: rgba(255, 255, 255, .55);
    }

.game-tab .start-loot{
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
    }

.game-tab .start-loot__col{
      padding: 10px;
      border-radius: 12px;
      border: 1px solid rgba(255, 255, 255, .07);
      background: rgba(255, 255, 255, .03);
    }

.game-tab .start-loot__col h4{
      margin: 0 0 8px;
      padding-bottom: 6px;
      border-bottom: 1px solid rgba(255, 255, 255, .06);
      font-size: 11px;
      font-weight: 600;
    }

.game-tab .start-loot__col--booze h4{ color: #e8d49a; }

.game-tab .start-loot__col--sober h4{ color: #9fd4e8; }

.game-tab .start-loot__col ul{
      list-style: none;
      margin: 0;
      padding: 0;
    }

.game-tab .start-loot__col li{
      display: flex;
      justify-content: space-between;
      gap: 8px;
      padding: 6px 0;
      border-bottom: 1px solid rgba(255, 255, 255, .05);
      font-size: 10px;
      line-height: 1.35;
    }

.game-tab .start-loot__col li:last-child{
      border-bottom: 0;
      padding-bottom: 0;
    }

.game-tab .start-loot__col li span:first-child{
      color: rgba(255, 255, 255, .88);
      font-weight: 500;
    }

.game-tab .start-loot__col li span:last-child{
      color: rgba(255, 255, 255, .45);
      text-align: right;
      white-space: nowrap;
    }

.game-tab .start-sheet__foot{
      position: sticky;
      bottom: 0;
      z-index: 2;
      margin-top: auto;
      padding: 10px 14px max(14px, env(safe-area-inset-bottom, 0px));
      border-top: 1px solid rgba(255, 255, 255, .08);
      background: linear-gradient(180deg, rgba(14, 16, 24, .72), rgba(14, 16, 24, .98) 28%);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
    }

.game-tab .start-sheet__cta{
      appearance: none;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 2px;
      width: 100%;
      min-height: 52px;
      padding: 12px 20px;
      border: 0;
      border-radius: var(--radius-pill, 100px);
      cursor: pointer;
      background: linear-gradient(135deg, #fff8e8 0%, #e4c06a 48%, #c9923e 100%);
      box-shadow:
        0 10px 28px rgba(201, 146, 62, .35),
        inset 0 1px 0 rgba(255, 255, 255, .65);
      transition: transform .12s var(--ease-out, ease), box-shadow .2s;
      -webkit-tap-highlight-color: transparent;
    }

.game-tab .start-sheet__cta:active{
      transform: scale(.98);
    }

.game-tab .start-sheet__cta-label{
      font-family: var(--font, system-ui, sans-serif);
      font-size: 14px;
      font-weight: 800;
      letter-spacing: .08em;
      text-transform: uppercase;
      color: #1a1208;
    }

.game-tab .start-sheet__cta-hint{
      font-size: 10px;
      font-weight: 500;
      color: rgba(26, 18, 8, .55);
    }

.game-tab .end-card button{
      appearance: none;
      border: 0;
      border-radius: var(--radius-pill, 100px);
      padding: 14px 28px;
      margin-top: 17px;
      min-width: 160px;
      cursor: pointer;
      color: #000;
      font-family: var(--font, system-ui, sans-serif);
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      background: #fff;
      transition: transform 0.1s, opacity 0.15s;
      -webkit-tap-highlight-color: transparent;
    }

.game-tab .end-card button:active{
      transform: scale(0.97);
      opacity: 0.92;
    }

.game-tab .end-card h1{
      margin: 0 0 10px;
      font-size: clamp(30px, 7vw, 48px);
      line-height: .95;
    }

.game-tab .end-card p{
      margin: 10px 0;
      color: rgba(255, 255, 255, .78);
      line-height: 1.5;
    }

.game-tab .end-card{
      position: relative;
      overflow: hidden;
      padding: 28px 20px 24px;
      background:
        radial-gradient(ellipse 80% 60% at 20% 0%, rgba(228, 192, 106, 0.12), transparent 55%),
        radial-gradient(ellipse 70% 55% at 85% 10%, rgba(200, 142, 184, 0.1), transparent 52%),
        linear-gradient(150deg, #1e2438 0%, var(--card, #141820) 52%, var(--card-alt, #0e1018) 100%);
    }

.game-tab .end-card::before, .game-tab .end-card::after{
      content: "";
      position: absolute;
      width: 140px;
      height: 140px;
      border-radius: 50%;
      pointer-events: none;
      animation: endFloat 4s ease-in-out infinite alternate;
    }

.game-tab .end-card::before{
      left: -55px;
      bottom: -45px;
      background: radial-gradient(circle, rgba(110, 200, 216, .18), transparent 65%);
    }

.game-tab .end-card::after{
      right: -45px;
      top: -55px;
      background: radial-gradient(circle, rgba(228, 192, 106, .16), transparent 65%);
      animation-delay: .7s;
    }

@keyframes endFloat {
      from { transform: translateY(0) scale(1); opacity: .7; }
      to { transform: translateY(-12px) scale(1.08); opacity: 1; }
    }

.game-tab .end-badge, .game-tab .end-card h1, .game-tab .end-card p, .game-tab .end-score, .game-tab .end-stats, .game-tab .end-card button{
      position: relative;
      z-index: 1;
    }

.game-tab .end-badge{
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      padding: 8px 13px;
      border-radius: 999px;
      color: #ffe28a;
      font-weight: 950;
      background: rgba(228, 192, 106, .14);
      border: 1px solid rgba(228, 192, 106, .32);
      text-shadow: 0 0 10px rgba(228, 192, 106, 0.25);
    }

.game-tab .end-subtitle{
      margin-top: 6px !important;
      color: rgba(255, 255, 255, .72) !important;
    }

.game-tab .end-score{
      width: min(100%, 280px);
      margin: 18px auto 12px;
      padding: 18px 14px;
      border-radius: 24px;
      background: linear-gradient(135deg, rgba(228, 192, 106, .16), rgba(200, 142, 184, .1));
      border: 1px solid rgba(228, 192, 106, .28);
      box-shadow: inset 0 0 20px rgba(228, 192, 106, .06), 0 14px 34px rgba(0, 0, 0, .25);
    }

.game-tab .end-score small{
      display: block;
      margin-bottom: 5px;
      opacity: .7;
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

.game-tab .end-score strong{
      display: block;
      color: var(--gold);
      font-size: clamp(42px, 9vw, 64px);
      line-height: .95;
      text-shadow: 0 0 20px rgba(255, 212, 93, .36);
    }

.game-tab .end-stats{
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
      width: min(100%, 280px);
      margin: 0 auto 6px;
    }

.game-tab .end-stats span{
      padding: 10px;
      border-radius: 16px;
      background: rgba(255, 255, 255, .08);
      border: 1px solid rgba(255, 255, 255, .15);
    }

.game-tab .end-stats b, .game-tab .end-stats em{
      display: block;
    }

.game-tab .end-stats b{
      font-size: 18px;
    }

.game-tab .end-stats em{
      margin-top: 2px;
      opacity: .65;
      font-size: 11px;
      font-style: normal;
    }

.game-tab .shake{
      animation: screenShake .12s linear 4;
    }

@keyframes screenShake {
      0% { transform: translate(0, 0); }
      25% { transform: translate(-4px, 2px); }
      50% { transform: translate(4px, -2px); }
      75% { transform: translate(-2px, -2px); }
      100% { transform: translate(0, 0); }
    }

@media (max-width: 620px) {
.game-tab:not(.hidden) {
        width: 100%;
        height: 100%;
        overflow: hidden;
      }

.game-tab:not(.hidden) {
        align-items: stretch;
        padding: 0;
      }

.game-tab .wrap{
        width: 100%;
        height: calc(
          var(--app-vh, 100dvh) - var(--app-chrome-top, 88px) - max(8px, env(safe-area-inset-bottom, 0px))
        );
        display: flex;
        flex-direction: column;
        min-height: 0;
        overflow: hidden;
      }

.game-tab .title{
        display: none;
      }

.game-tab #game{
        flex: 1 1 auto;
        height: auto;
        min-height: min(42vh, 280px);
        max-height: none;
        container-type: size;
        container-name: game-board;
        border-radius: var(--radius-xl, 20px);
      }

.game-tab .game-hud{
        top: 9px;
        left: 9px;
        right: 9px;
        gap: 5px;
      }

.game-tab .game-hud div{
        min-height: 38px;
        padding: 6px 4px;
        border-radius: 12px;
      }

.game-tab .game-hud small{
        font-size: 8.5px;
        letter-spacing: .55px;
      }

.game-tab .game-hud strong{
        font-size: 14px;
      }

.game-tab #player{
        width: 78px !important;
        height: 99px !important;
        bottom: 18px;
      }

.game-tab .item{
        width: 49px;
        height: 60px;
      }

.game-tab #startOverlay.overlay-start{
        padding: 0;
        overflow: hidden;
      }

.game-tab .start-sheet{
        width: 100%;
        max-height: calc(100% - 4px);
      }

.game-tab .start-sheet__head{
        padding: 14px 14px 10px;
      }

.game-tab .start-sheet__title{
        font-size: 26px;
      }

.game-tab .start-bento{
        margin-inline: 12px;
      }

.game-tab .start-accordion__panel.is-open{
        max-height: min(28vh, 220px);
      }

.game-tab .start-sheet__cta{
        min-height: 48px;
      }

.game-tab .start-sheet__cta-label{
        font-size: 13px;
      }

.game-tab .end-card{
        width: min(100%, 400px);
        max-height: calc(100% - 4px);
        overflow: auto;
        padding: 14px 12px 18px;
        scrollbar-width: none;
      }

.game-tab .end-card::-webkit-scrollbar{
        display: none;
      }

.game-tab .end-card h1{
        font-size: 27px;
        margin-bottom: 7px;
      }

.game-tab .end-card p{
        margin: 7px 0;
        font-size: 12px;
        line-height: 1.3;
      }

.game-tab .end-card button{
        margin-top: 9px;
        padding: 11px 18px;
        font-size: 12px;
      }

.game-tab .end-card h1{
        margin-top: 12px;
        font-size: 31px;
      }

.game-tab .end-score{
        margin-top: 14px;
        padding: 16px 12px;
      }

.game-tab .end-score strong{
        font-size: 48px;
      }

.game-tab .meter-wrap{
        flex: 0 0 auto;
        gap: 7px;
        min-height: 22px;
        margin-top: 7px;
        margin-bottom: 3px;
        padding: 0 3px;
      }

.game-tab .drunk-meter{
        height: 18px;
      }

.game-tab #drunkText{
        min-width: 34px;
      }

.game-tab .legend, .game-tab .help{
        display: none;
      }
}

@media (max-width: 380px), (max-height: 720px) {
.game-tab .wrap{
        height: calc(
          var(--app-vh, 100dvh) - var(--app-chrome-top, 82px) - max(6px, env(safe-area-inset-bottom, 0px))
        );
      }

.game-tab #game{
        min-height: min(38vh, 240px);
      }

.game-tab .game-hud div{
        min-height: 34px;
        padding: 5px 3px;
      }

.game-tab .game-hud small{
        font-size: 7.8px;
      }

.game-tab .game-hud strong{
        font-size: 13px;
      }

.game-tab #player{
        width: 71px !important;
        height: 92px !important;
        bottom: 16px;
      }

.game-tab .item{
        width: 44px;
        height: 55px;
      }

.game-tab .start-sheet{
        max-height: min(calc(100% - 2px), calc(var(--app-vh, 100dvh) - var(--app-chrome-top, 88px) - 48px));
      }

.game-tab .start-sheet__title{
        font-size: 24px;
      }

.game-tab .start-sheet__hook{
        font-size: 12px;
      }

.game-tab .start-bento__tile{
        min-height: 64px;
        padding: 10px;
      }

.game-tab .start-loot{
        grid-template-columns: 1fr;
      }

.game-tab .start-accordion__panel.is-open{
        max-height: min(24vh, 180px);
      }

.game-tab .end-card{
        max-height: min(calc(100% - 2px), calc(var(--app-vh, 100dvh) - var(--app-chrome-top, 88px) - 48px));
        padding: 10px;
      }

.game-tab .end-card h1{
        font-size: 27px;
        margin-bottom: 4px;
      }

.game-tab .end-score strong{
        font-size: 42px;
      }

.game-tab .end-card p{
        margin: 5px 0;
        font-size: 10.5px;
      }

.game-tab .end-card button{
        padding: 10px 16px;
        font-size: 12px;
      }
}

@media (min-width: 621px) {
.game-tab .overlay-start{
        align-items: center;
        padding: 20px;
      }

.game-tab .start-sheet__head{
        padding: 22px 22px 14px;
      }

.game-tab .start-accordion__panel.is-open{
        max-height: 360px;
      }
}

@media (prefers-reduced-motion: reduce) {
.game-tab .start-accordion__panel,
.game-tab .start-accordion__chev,
.game-tab .start-sheet__cta{
        transition: none;
      }
}

/* Embed inside main Chesterfield WebApp */
.scene #game-tab:not(.hidden) {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow: visible;
  min-height: auto;
}

.scene .game-tab .wrap {
  width: 100%;
  max-width: 100%;
}

/* Start overlay redesign 2026: premium glass ticket, mobile-first, short rules */
.game-tab .overlay-start {
  align-items: center;
  justify-content: center;
  padding: max(10px, env(safe-area-inset-top, 0px)) 10px max(12px, env(safe-area-inset-bottom, 0px));
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(228, 192, 106, .10), transparent 58%),
    radial-gradient(ellipse 90% 60% at 50% 100%, rgba(110, 200, 216, .13), transparent 62%),
    rgba(4, 6, 14, .88);
  backdrop-filter: blur(16px) saturate(1.08);
  -webkit-backdrop-filter: blur(16px) saturate(1.08);
}

.game-tab .card.start-luxe {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  width: min(100%, 430px);
  max-height: min(100%, calc(var(--app-vh, 100dvh) - var(--app-chrome-top, 82px) - 16px));
  overflow: hidden;
  padding: 0;
  text-align: left;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, .12);
  background:
    linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.025) 40%, rgba(255,255,255,.055)),
    linear-gradient(180deg, rgba(28, 34, 54, .97), rgba(12, 14, 22, .985));
  box-shadow:
    0 28px 90px rgba(0,0,0,.62),
    inset 0 1px 0 rgba(255,255,255,.13);
}

.game-tab .start-luxe::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.7), transparent 62%);
}

.game-tab .start-luxe__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: inherit;
}

.game-tab .start-luxe__backdrop span {
  position: absolute;
  border-radius: 999px;
  filter: blur(34px);
  opacity: .62;
}

.game-tab .start-luxe__backdrop span:nth-child(1) {
  width: 160px;
  height: 160px;
  left: -52px;
  top: -52px;
  background: rgba(228, 192, 106, .34);
}

.game-tab .start-luxe__backdrop span:nth-child(2) {
  width: 140px;
  height: 140px;
  right: -44px;
  top: 52px;
  background: rgba(110, 200, 216, .28);
}

.game-tab .start-luxe__backdrop span:nth-child(3) {
  width: 180px;
  height: 180px;
  left: 34%;
  bottom: -100px;
  background: rgba(200, 142, 184, .18);
}

.game-tab .start-luxe > :not(.start-luxe__backdrop) {
  position: relative;
  z-index: 1;
}

.game-tab .start-luxe__hero {
  padding: 22px 20px 12px;
  text-align: center;
}

.game-tab .start-luxe__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 7px 10px;
  border-radius: 999px;
  color: rgba(255,255,255,.58);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.045);
}

.game-tab .start-luxe__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #e4c06a;
  box-shadow: 0 0 14px rgba(228, 192, 106, .72);
}

.game-tab .start-luxe__title {
  margin: 0;
  font-size: clamp(38px, 10vw, 54px);
  line-height: .88;
  letter-spacing: -.055em;
  font-weight: 850;
  color: #fff;
}

.game-tab .start-luxe__title span {
  display: inline-block;
  color: transparent;
  background: linear-gradient(115deg, #fff8d6 0%, #e4c06a 44%, #b7792b 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.game-tab .start-luxe__lead {
  max-width: 29em;
  margin: 12px auto 0;
  color: rgba(255,255,255,.62);
  font-size: 13px;
  line-height: 1.42;
  text-align: center;
}

.game-tab .start-luxe__mission {
  display: grid;
  grid-template-columns: 1.45fr .9fr;
  gap: 8px;
  margin: 0 14px 10px;
}

.game-tab .start-luxe__mission-main,
.game-tab .start-luxe__mission-side {
  min-height: 72px;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.055);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09);
}

.game-tab .start-luxe__mission-main {
  background:
    radial-gradient(circle at 18% 12%, rgba(228,192,106,.22), transparent 45%),
    rgba(255,255,255,.055);
  border-color: rgba(228,192,106,.22);
}

.game-tab .start-luxe__mission small,
.game-tab .start-luxe__combo-copy small,
.game-tab .start-luxe__control span {
  display: block;
  margin-bottom: 5px;
  color: rgba(255,255,255,.42);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.game-tab .start-luxe__mission strong {
  display: block;
  color: #fff;
  font-size: 17px;
  line-height: 1.05;
  font-weight: 820;
  letter-spacing: -.02em;
}

.game-tab .start-luxe__mission-main strong {
  font-size: 24px;
  color: #f2d790;
}

.game-tab .start-luxe__rules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin: 0 14px 10px;
}

.game-tab .start-rule-card {
  min-width: 0;
  padding: 10px 8px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.09);
  background: rgba(255,255,255,.045);
}

.game-tab .start-rule-card__icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 8px;
  border-radius: 10px;
  color: #0b0b0b;
  font-size: 15px;
  font-weight: 900;
}

.game-tab .start-rule-card--gold .start-rule-card__icon { background: #e4c06a; }
.game-tab .start-rule-card--cyan .start-rule-card__icon { background: #6ec8d8; }
.game-tab .start-rule-card--rose .start-rule-card__icon { background: #c88eb8; }

.game-tab .start-rule-card b,
.game-tab .start-rule-card em {
  display: block;
}

.game-tab .start-rule-card b {
  color: #fff;
  font-size: 12px;
  line-height: 1.12;
  font-weight: 760;
}

.game-tab .start-rule-card em {
  margin-top: 3px;
  color: rgba(255,255,255,.48);
  font-size: 10px;
  line-height: 1.25;
  font-style: normal;
}

.game-tab .start-luxe__combo {
  display: grid;
  grid-template-columns: .92fr 1.5fr;
  gap: 8px;
  margin: 0 14px 10px;
  padding: 12px;
  border-radius: 20px;
  border: 1px solid rgba(228,192,106,.18);
  background:
    linear-gradient(135deg, rgba(228,192,106,.10), rgba(255,255,255,.035));
}

.game-tab .start-luxe__combo-copy b,
.game-tab .start-luxe__combo-copy em {
  display: block;
}

.game-tab .start-luxe__combo-copy b {
  color: #fff;
  font-size: 13px;
  line-height: 1.12;
}

.game-tab .start-luxe__combo-copy em {
  margin-top: 4px;
  color: rgba(255,255,255,.48);
  font-size: 10px;
  line-height: 1.25;
  font-style: normal;
}

.game-tab .start-luxe__combo-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}

.game-tab .start-luxe__combo-track span {
  display: grid;
  place-items: center;
  gap: 2px;
  min-width: 0;
  padding: 8px 3px;
  border-radius: 13px;
  background: rgba(0,0,0,.23);
  border: 1px solid rgba(255,255,255,.07);
}

.game-tab .start-luxe__combo-track i,
.game-tab .start-luxe__combo-track b {
  display: block;
  line-height: 1;
}

.game-tab .start-luxe__combo-track i {
  color: rgba(255,255,255,.42);
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
}

.game-tab .start-luxe__combo-track i::after { content: " шт"; }

.game-tab .start-luxe__combo-track b {
  color: #f0d58e;
  font-size: 14px;
  font-weight: 850;
}

.game-tab .start-luxe__loot {
  display: flex;
  gap: 6px;
  margin: 0 14px 12px;
  padding: 2px 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.game-tab .start-luxe__loot::-webkit-scrollbar { display: none; }

.game-tab .start-loot-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.09);
  background: rgba(255,255,255,.045);
}

.game-tab .start-loot-pill b {
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.game-tab .start-loot-pill span {
  font-size: 10px;
  font-weight: 800;
}

.game-tab .start-loot-pill--good span { color: #e4c06a; }
.game-tab .start-loot-pill--sober span { color: #9fd4e8; }

.game-tab .start-luxe__footer {
  position: sticky;
  bottom: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 11px 14px max(13px, env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(13,15,23,.70), rgba(13,15,23,.98) 35%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.game-tab .start-luxe__control b {
  display: block;
  color: rgba(255,255,255,.72);
  font-size: 11px;
  line-height: 1.25;
  font-weight: 600;
}

.game-tab .start-luxe__btn {
  appearance: none;
  display: grid;
  place-items: center;
  min-width: 142px;
  min-height: 50px;
  margin: 0;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  color: #171106;
  font-family: var(--font, system-ui, sans-serif);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #fff9dd 0%, #e4c06a 52%, #b7792b 100%);
  box-shadow: 0 12px 30px rgba(201,146,62,.30), inset 0 1px 0 rgba(255,255,255,.7);
  transition: transform .12s var(--ease-out, ease), filter .18s ease;
  -webkit-tap-highlight-color: transparent;
}

.game-tab .start-luxe__btn:active {
  transform: scale(.975);
  filter: brightness(.96);
}

@media (max-width: 380px), (max-height: 720px) {
  .game-tab .card.start-luxe {
    border-radius: 24px;
  }

  .game-tab .start-luxe__hero {
    padding: 17px 14px 10px;
  }

  .game-tab .start-luxe__kicker {
    margin-bottom: 8px;
    padding: 6px 9px;
    font-size: 9px;
  }

  .game-tab .start-luxe__title {
    font-size: 34px;
  }

  .game-tab .start-luxe__lead {
    margin-top: 9px;
    font-size: 11.5px;
  }

  .game-tab .start-luxe__mission {
    margin-inline: 10px;
    margin-bottom: 7px;
    gap: 6px;
  }

  .game-tab .start-luxe__mission-main,
  .game-tab .start-luxe__mission-side {
    min-height: 58px;
    padding: 10px;
    border-radius: 16px;
  }

  .game-tab .start-luxe__mission-main strong {
    font-size: 19px;
  }

  .game-tab .start-luxe__mission strong {
    font-size: 14px;
  }

  .game-tab .start-luxe__rules {
    margin-inline: 10px;
    margin-bottom: 7px;
    gap: 5px;
  }

  .game-tab .start-rule-card {
    padding: 8px 6px;
    border-radius: 13px;
  }

  .game-tab .start-rule-card__icon {
    width: 23px;
    height: 23px;
    margin-bottom: 6px;
    border-radius: 8px;
    font-size: 12px;
  }

  .game-tab .start-rule-card b {
    font-size: 10.5px;
  }

  .game-tab .start-rule-card em {
    font-size: 8.8px;
  }

  .game-tab .start-luxe__combo {
    grid-template-columns: 1fr;
    margin-inline: 10px;
    margin-bottom: 7px;
    padding: 9px;
    border-radius: 16px;
  }

  .game-tab .start-luxe__combo-copy {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 8px;
    align-items: baseline;
  }

  .game-tab .start-luxe__combo-copy small {
    margin-bottom: 0;
  }

  .game-tab .start-luxe__combo-copy em {
    grid-column: 1 / -1;
    margin-top: 3px;
    font-size: 9px;
  }

  .game-tab .start-luxe__combo-track span {
    padding: 6px 3px;
    border-radius: 10px;
  }

  .game-tab .start-luxe__combo-track b {
    font-size: 13px;
  }

  .game-tab .start-luxe__loot {
    margin-inline: 10px;
    margin-bottom: 8px;
  }

  .game-tab .start-loot-pill {
    min-height: 29px;
    padding: 6px 9px;
  }

  .game-tab .start-luxe__footer {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 9px 10px max(10px, env(safe-area-inset-bottom, 0px));
  }

  .game-tab .start-luxe__control {
    display: flex;
    justify-content: space-between;
    gap: 10px;
  }

  .game-tab .start-luxe__control span {
    margin-bottom: 0;
  }

  .game-tab .start-luxe__control b {
    text-align: right;
    font-size: 10px;
  }

  .game-tab .start-luxe__btn {
    width: 100%;
    min-height: 46px;
  }
}

@media (min-width: 621px) {
  .game-tab .card.start-luxe {
    width: min(100%, 460px);
    max-height: min(720px, calc(100% - 24px));
  }

  .game-tab .start-luxe__hero {
    padding-top: 26px;
  }
}

/* Start overlay mobile layout fix: fit in one screen and prevent loot/footer overlap */
@media (max-width: 620px) {
  .game-tab #startOverlay.overlay-start {
    padding: 0;
    align-items: stretch;
    justify-content: stretch;
    overflow: hidden;
  }

  .game-tab .card.start-luxe {
    width: min(100%, 420px);
    max-height: calc(100% - 10px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-radius: 24px;
  }

  .game-tab .start-luxe__hero {
    flex: 0 0 auto;
    padding: 17px 18px 11px;
  }

  .game-tab .start-luxe__kicker {
    margin-bottom: 8px;
    padding: 6px 10px;
    font-size: 9.5px;
  }

  .game-tab .start-luxe__title {
    font-size: clamp(38px, 11vw, 48px);
    line-height: .88;
  }

  .game-tab .start-luxe__lead {
    margin-top: 9px;
    font-size: 12px;
    line-height: 1.34;
  }

  .game-tab .start-luxe__mission {
    flex: 0 0 auto;
    grid-template-columns: 1.15fr 1fr;
    gap: 8px;
    margin: 0 18px 8px;
  }

  .game-tab .start-luxe__mission-main,
  .game-tab .start-luxe__mission-side {
    min-height: 58px;
    padding: 11px 12px;
    border-radius: 17px;
  }

  .game-tab .start-luxe__mission small,
  .game-tab .start-luxe__combo-copy small,
  .game-tab .start-luxe__control span {
    margin-bottom: 4px;
    font-size: 8.5px;
  }

  .game-tab .start-luxe__mission-main strong {
    font-size: 19px;
  }

  .game-tab .start-luxe__mission strong {
    font-size: 15px;
  }

  .game-tab .start-luxe__rules {
    flex: 0 0 auto;
    gap: 6px;
    margin: 0 18px 8px;
  }

  .game-tab .start-rule-card {
    min-height: 82px;
    padding: 9px 8px 8px;
    border-radius: 15px;
  }

  .game-tab .start-rule-card__icon {
    width: 27px;
    height: 27px;
    margin-bottom: 7px;
    border-radius: 10px;
    font-size: 14px;
  }

  .game-tab .start-rule-card b {
    font-size: 11.2px;
  }

  .game-tab .start-rule-card em {
    margin-top: 2px;
    font-size: 9.2px;
    line-height: 1.18;
  }

  .game-tab .start-luxe__combo {
    flex: 0 0 auto;
    grid-template-columns: 1fr;
    gap: 7px;
    margin: 0 18px 8px;
    padding: 10px;
    border-radius: 17px;
  }

  .game-tab .start-luxe__combo-copy {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 9px;
    align-items: baseline;
  }

  .game-tab .start-luxe__combo-copy small {
    margin-bottom: 0;
  }

  .game-tab .start-luxe__combo-copy b {
    font-size: 12.5px;
  }

  .game-tab .start-luxe__combo-copy em {
    grid-column: 1 / -1;
    margin-top: 2px;
    font-size: 9.5px;
  }

  .game-tab .start-luxe__combo-track span {
    padding: 6px 3px;
    border-radius: 11px;
  }

  .game-tab .start-luxe__combo-track b {
    font-size: 13px;
  }

  .game-tab .start-luxe__loot {
    flex: 0 0 auto;
    margin: 0 18px 8px;
    padding: 0 0 2px;
    min-height: 31px;
    position: relative;
    z-index: 2;
  }

  .game-tab .start-loot-pill {
    min-height: 29px;
    padding: 6px 10px;
  }

  .game-tab .start-luxe__footer {
    position: relative;
    flex: 0 0 auto;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px 18px max(12px, env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, rgba(13,15,23,.72), rgba(13,15,23,.98) 32%);
  }

  .game-tab .start-luxe__control {
    display: flex;
    justify-content: space-between;
    gap: 12px;
  }

  .game-tab .start-luxe__control span {
    margin-bottom: 0;
  }

  .game-tab .start-luxe__control b {
    max-width: 68%;
    text-align: right;
    font-size: 10.5px;
    line-height: 1.25;
  }

  .game-tab .start-luxe__btn {
    width: 100%;
    min-height: 52px;
    min-width: 0;
  }
}

@media (max-width: 380px), (max-height: 720px) {
  .game-tab .card.start-luxe {
    max-height: calc(100% - 6px);
    border-radius: 22px;
  }

  .game-tab .start-luxe__hero {
    padding: 12px 14px 8px;
  }

  .game-tab .start-luxe__kicker {
    margin-bottom: 6px;
    padding: 5px 8px;
    font-size: 8.5px;
  }

  .game-tab .start-luxe__title {
    font-size: 34px;
  }

  .game-tab .start-luxe__lead {
    margin-top: 7px;
    font-size: 10.8px;
    line-height: 1.25;
  }

  .game-tab .start-luxe__mission,
  .game-tab .start-luxe__rules,
  .game-tab .start-luxe__combo,
  .game-tab .start-luxe__loot {
    margin-left: 12px;
    margin-right: 12px;
    margin-bottom: 6px;
  }

  .game-tab .start-luxe__mission-main,
  .game-tab .start-luxe__mission-side {
    min-height: 49px;
    padding: 8px 10px;
    border-radius: 15px;
  }

  .game-tab .start-luxe__mission-main strong {
    font-size: 17px;
  }

  .game-tab .start-luxe__mission strong {
    font-size: 13.5px;
  }

  .game-tab .start-rule-card {
    min-height: 68px;
    padding: 7px 6px;
    border-radius: 13px;
  }

  .game-tab .start-rule-card__icon {
    width: 22px;
    height: 22px;
    margin-bottom: 5px;
    border-radius: 8px;
    font-size: 12px;
  }

  .game-tab .start-rule-card b {
    font-size: 10px;
  }

  .game-tab .start-rule-card em {
    font-size: 8.2px;
  }

  .game-tab .start-luxe__combo {
    gap: 5px;
    padding: 8px;
  }

  .game-tab .start-luxe__combo-copy b {
    font-size: 11.5px;
  }

  .game-tab .start-luxe__combo-copy em {
    font-size: 8.5px;
  }

  .game-tab .start-luxe__combo-track span {
    padding: 5px 2px;
    border-radius: 9px;
  }

  .game-tab .start-luxe__combo-track i {
    font-size: 8px;
  }

  .game-tab .start-luxe__combo-track b {
    font-size: 12px;
  }

  .game-tab .start-loot-pill {
    min-height: 27px;
    padding: 5px 9px;
  }

  .game-tab .start-loot-pill b {
    font-size: 10px;
  }

  .game-tab .start-loot-pill span {
    font-size: 9px;
  }

  .game-tab .start-luxe__footer {
    padding: 8px 12px max(9px, env(safe-area-inset-bottom, 0px));
  }

  .game-tab .start-luxe__control b {
    font-size: 9.5px;
  }

  .game-tab .start-luxe__btn {
    min-height: 46px;
  }
}

/* Start overlay — full bleed inside #game */
.game-tab #startOverlay.overlay-start,
.game-tab .overlay.overlay-start {
  padding: 0;
  align-items: stretch;
  justify-content: stretch;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 45% at 20% 0%, rgba(110, 200, 216, .08), transparent 58%),
    radial-gradient(ellipse 60% 40% at 85% 10%, rgba(200, 142, 184, .07), transparent 50%),
    rgba(10, 12, 20, .88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.game-tab #startOverlay .sheet,
.game-tab .overlay-start .sheet {
  --gold: #E4C06A;
  --gold-dim: #9A7A35;
  --gold-light: #FFF3D0;
  --cyan: #6EC8D8;
  --rose: #C88EB8;
  --surface: #0D0F17;
  --surface2: rgba(255,255,255,.06);
  --surface3: rgba(255,255,255,.04);
  --border: rgba(255,255,255,.09);
  --border2: rgba(255,255,255,.15);
  --t1: #FFFFFF;
  --t2: rgba(255,255,255,.6);
  --t3: rgba(255,255,255,.35);
  --r: 20px;
  --r-sm: 12px;
  --r-pill: 999px;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  min-height: 0;
  display: grid;
  grid-template-rows: auto auto auto auto minmax(0, 1fr) auto;
  align-content: stretch;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  --start-pad-x: clamp(16px, 4.5cqw, 26px);
  --start-pad-y: clamp(6px, 1.45cqh, 14px);
  --start-pad-top: clamp(12px, 3cqh, 22px);
  --start-headline: clamp(24px, 6.8cqh, 38px);
  --start-sub: clamp(11px, 2.2cqh, 14px);
  --start-m-h: clamp(50px, 9.5cqh, 72px);
  --start-rule-h: clamp(62px, 11.5cqh, 88px);
  --start-ct-h: clamp(36px, 6.8cqh, 52px);
  --start-btn-h: clamp(44px, 8cqh, 54px);
  --start-icon: clamp(17px, 3.8cqh, 24px);
  --start-m-strong: clamp(14px, 2.6cqh, 19px);
  --start-pill-h: clamp(36px, 7.2cqh, 46px);
  --start-pill-fs: clamp(11px, 2cqh, 13px);
  --start-pill-val: clamp(10px, 1.85cqh, 12px);
  background: rgba(13, 15, 23, .94);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  animation: startSheetIn .34s cubic-bezier(.32, 1, .22, 1) both;
}

@keyframes startSheetIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.game-tab #startOverlay .hero {
  min-height: 0;
  padding:
    var(--start-pad-top)
    var(--start-pad-x)
    var(--start-pad-y);
  border-bottom: .5px solid var(--border);
}

.game-tab #startOverlay .kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: clamp(4px, 1cqh, 8px);
  color: var(--t3);
  font-size: clamp(9px, 1.6cqh, 11px);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.game-tab #startOverlay .kicker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  opacity: .85;
  box-shadow: 0 0 10px rgba(228, 192, 106, .5);
}

.game-tab #startOverlay .headline {
  margin: 0;
  color: var(--t1);
  font-size: var(--start-headline);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.02em;
}

.game-tab .headline em {
  color: var(--gold);
  font-style: normal;
}

.game-tab #startOverlay .sub {
  margin: clamp(4px, .9cqh, 8px) 0 0;
  color: var(--t2);
  font-size: var(--start-sub);
  line-height: 1.35;
}

.game-tab #startOverlay .mission {
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(5px, 1cqh, 8px);
  padding: var(--start-pad-y) var(--start-pad-x);
  border-bottom: .5px solid var(--border);
}

.game-tab #startOverlay .m-block {
  min-width: 0;
  min-height: var(--start-m-h);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(8px, 1.6cqh, 14px) clamp(10px, 2cqw, 14px);
  border-radius: clamp(10px, 1.6cqh, 14px);
  background: var(--surface2);
  border: .5px solid var(--border);
}

.game-tab .m-block--main {
  border-color: rgba(228,192,106,.22);
}

.game-tab #startOverlay .m-block small {
  display: block;
  margin-bottom: clamp(2px, .6cqh, 5px);
  color: var(--t3);
  font-size: clamp(8px, 1.35cqh, 10px);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.game-tab #startOverlay .m-block strong {
  display: block;
  color: var(--t1);
  font-size: var(--start-m-strong);
  font-weight: 700;
  line-height: 1.08;
}

.game-tab #startOverlay .rules {
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(5px, 1cqh, 8px);
  padding: var(--start-pad-y) var(--start-pad-x);
  border-bottom: .5px solid var(--border);
}

.game-tab #startOverlay .rule {
  position: relative;
  min-width: 0;
  min-height: var(--start-rule-h);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(6px, 1.4cqh, 12px) clamp(5px, 1.2cqw, 8px);
  border-radius: clamp(10px, 1.6cqh, 14px);
  border: .5px solid var(--border);
  background: var(--surface3);
  text-align: center;
}

.game-tab .rule--gold { border-color: rgba(228,192,106,.22); }
.game-tab .rule--cyan { border-color: rgba(110,200,216,.22); }
.game-tab .rule--rose { border-color: rgba(200,142,184,.22); }

.game-tab #startOverlay .rule-icon {
  display: block;
  margin-bottom: clamp(2px, .6cqh, 5px);
  font-size: var(--start-icon);
  line-height: 1;
}

.game-tab #startOverlay .rule b {
  display: block;
  margin-bottom: 2px;
  color: var(--t1);
  font-size: clamp(10px, 1.85cqh, 13px);
  font-weight: 700;
  line-height: 1.12;
}

.game-tab #startOverlay .rule em {
  display: block;
  color: var(--t3);
  font-size: clamp(8.5px, 1.55cqh, 11px);
  font-style: normal;
  line-height: 1.28;
}

.game-tab #startOverlay .combo {
  min-height: 0;
  padding: var(--start-pad-y) var(--start-pad-x);
  border-bottom: .5px solid var(--border);
}

.game-tab #startOverlay .combo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: clamp(5px, 1cqh, 8px);
}

.game-tab #startOverlay .combo-head small {
  color: var(--t3);
  font-size: clamp(8px, 1.35cqh, 10px);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.game-tab #startOverlay .combo-head span {
  color: var(--t3);
  font-size: clamp(8.5px, 1.5cqh, 11px);
  white-space: nowrap;
}

.game-tab #startOverlay .combo-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(4px, .9cqh, 7px);
}

.game-tab #startOverlay .ct-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: var(--start-ct-h);
  padding: clamp(5px, 1.1cqh, 10px) clamp(3px, .8cqw, 6px);
  border-radius: clamp(8px, 1.4cqh, 12px);
  text-align: center;
  background: rgba(0,0,0,.25);
  border: .5px solid var(--border);
}

.game-tab #startOverlay .ct-step i {
  display: block;
  color: var(--t3);
  font-size: clamp(8px, 1.35cqh, 10px);
  font-style: normal;
  font-weight: 700;
}

.game-tab #startOverlay .ct-step b {
  display: block;
  color: var(--gold);
  font-size: clamp(12px, 2.2cqh, 16px);
  font-weight: 800;
  line-height: 1.05;
}

.game-tab #startOverlay .items {
  min-height: 0;
  display: flex;
  align-items: center;
  align-content: center;
  gap: clamp(5px, 1cqh, 8px);
  padding:
    clamp(6px, 1.25cqh, 10px)
    var(--start-pad-x)
    clamp(6px, 1.25cqh, 10px);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  border-bottom: .5px solid var(--border);
  overscroll-behavior-x: contain;
}

.game-tab #startOverlay .items::-webkit-scrollbar { display: none; }

.game-tab #startOverlay .pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(5px, .95cqh, 7px);
  min-height: var(--start-pill-h);
  padding: clamp(7px, 1.35cqh, 10px) clamp(12px, 2.8cqw, 16px);
  border-radius: var(--r-pill);
  border: .5px solid var(--border);
  background: rgba(255,255,255,.05);
  font-size: var(--start-pill-fs);
  line-height: 1.1;
  white-space: nowrap;
}

.game-tab #startOverlay .pill b {
  color: var(--t1);
  font-size: var(--start-pill-fs);
  font-weight: 700;
}

.game-tab #startOverlay .pill span {
  font-size: var(--start-pill-val);
  font-weight: 800;
}

.game-tab .pill--good span { color: var(--gold); }
.game-tab .pill--bad span { color: var(--cyan); }

.game-tab #startOverlay .footer {
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(6px, 1.2cqh, 10px);
  padding: var(--start-pad-y) var(--start-pad-x) clamp(10px, 2cqh, 16px);
  background: rgba(13, 15, 23, .96);
  border-top: .5px solid var(--border);
}

.game-tab #startOverlay .ctrl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex: 0 0 auto;
}

.game-tab #startOverlay .ctrl small {
  color: var(--t3);
  font-size: clamp(9px, 1.55cqh, 11px);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.game-tab #startOverlay .ctrl span {
  color: var(--t2);
  font-size: clamp(9px, 1.55cqh, 11px);
  text-align: right;
}

.game-tab #startOverlay .btn.start-luxe__btn {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: var(--start-btn-h);
  margin: 0;
  padding: clamp(10px, 1.8cqh, 14px) clamp(14px, 3cqw, 20px);
  border: 0;
  border-radius: var(--r-pill);
  appearance: none;
  cursor: pointer;
  color: #150F00;
  font-family: var(--font, system-ui, sans-serif);
  font-size: clamp(11px, 1.9cqh, 13px);
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #FFF8DD 0%, var(--gold) 52%, #B7792B 100%);
  box-shadow: 0 12px 30px rgba(201,146,62,.30), inset 0 1px 0 rgba(255,255,255,.7);
  transition: transform .12s ease, filter .15s ease;
}

.game-tab .btn.start-luxe__btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.18) 0%, transparent 60%);
  pointer-events: none;
}

.game-tab .btn.start-luxe__btn:active {
  transform: scale(.975);
  filter: brightness(.96);
}

.game-tab .shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
  animation: startBtnShine 2.4s ease-in-out 1.2s infinite;
  pointer-events: none;
}

@keyframes startBtnShine {
  0%, 100% { left: -100%; }
  50% { left: 150%; }
}

@container game-board (max-height: 520px) {
  .game-tab #startOverlay .sheet {
    --start-pad-top: clamp(10px, 2.6cqh, 16px);
    --start-pad-y: clamp(5px, 1.2cqh, 10px);
    --start-headline: clamp(22px, 6.2cqh, 30px);
    --start-m-h: clamp(46px, 8.8cqh, 58px);
    --start-rule-h: clamp(56px, 10.5cqh, 72px);
    --start-ct-h: clamp(32px, 6.2cqh, 42px);
    --start-btn-h: clamp(40px, 7.2cqh, 48px);
    --start-pill-h: clamp(32px, 6.5cqh, 40px);
    --start-pill-fs: clamp(10px, 1.9cqh, 12px);
    --start-pill-val: clamp(9px, 1.75cqh, 11px);
  }
}

@container game-board (max-height: 440px) {
  .game-tab #startOverlay .sheet {
    --start-pad-top: clamp(8px, 2.2cqh, 12px);
    --start-headline: clamp(20px, 5.8cqh, 26px);
    --start-sub: clamp(10px, 2cqh, 12px);
    --start-m-h: clamp(42px, 8cqh, 52px);
    --start-rule-h: clamp(50px, 9.5cqh, 62px);
    --start-ct-h: clamp(28px, 5.6cqh, 36px);
    --start-icon: clamp(15px, 3.4cqh, 19px);
    --start-btn-h: clamp(38px, 6.8cqh, 44px);
    --start-pill-h: clamp(30px, 6cqh, 36px);
    --start-pill-fs: clamp(9.5px, 1.8cqh, 11px);
    --start-pill-val: clamp(9px, 1.65cqh, 10px);
  }
}

@container game-board (min-height: 620px) {
  .game-tab #startOverlay .sheet {
    --start-pad-top: clamp(16px, 3.4cqh, 26px);
    --start-pad-y: clamp(8px, 1.6cqh, 14px);
    --start-headline: clamp(28px, 6.4cqh, 42px);
    --start-m-h: clamp(56px, 10cqh, 80px);
    --start-rule-h: clamp(68px, 12cqh, 96px);
    --start-ct-h: clamp(40px, 7.2cqh, 56px);
    --start-btn-h: clamp(48px, 8.2cqh, 56px);
    --start-icon: clamp(20px, 4cqh, 28px);
    --start-m-strong: clamp(15px, 2.8cqh, 21px);
    --start-pill-h: clamp(40px, 8cqh, 52px);
    --start-pill-fs: clamp(12px, 2.15cqh, 14px);
    --start-pill-val: clamp(11px, 2cqh, 13px);
  }
}

@media (min-width: 621px) {
  .game-tab #startOverlay.overlay-start {
    padding: 0;
    align-items: stretch;
  }

  .game-tab #startOverlay .sheet {
    border-radius: 0;
    max-height: none;
  }
}

@media (max-width: 620px) {
  .game-tab #startOverlay.overlay-start {
    padding: 0;
  }

  .game-tab #startOverlay .sheet {
    max-height: none;
    height: 100%;
  }
}
