/* Layout corrections for the server-authoritative Journey adapter. */
/* Disabled controls suppress pointer events differently across browsers. Pass
   their hit to the existing parent so passive observation can record a tap.
   The real buttons remain disabled and cannot submit a hand. */
#playBtn:disabled, #playBtnBottom:disabled { pointer-events: none; }
.card {
  touch-action: manipulation;
}

.card.selected {
  --secure-selected-lift: -9px;
}

@media (max-width: 600px) {
  .card.selected {
    --secure-selected-lift: -4px;
  }

  .rail > .reward-bank {
    align-self: stretch !important;
    height: auto !important;
    max-height: none !important;
    padding: 5px 3px 189px !important;
    display: grid !important;
    grid-template-rows: auto minmax(0, 1fr) !important;
    gap: 4px !important;
  }

  .rail > .reward-bank h3 {
    margin: 0 !important;
    text-shadow: none !important;
  }

  .rail > .reward-bank .reward-bank-list {
    grid-row: 2 !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: repeat(4, minmax(0, 1fr)) !important;
    gap: 4px !important;
    flex: none !important;
  }

  .rail > .reward-bank .reward-count {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    display: block !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: none !important;
  }

  .rail > .reward-bank .reward-count svg {
    top: 31% !important;
    left: 50% !important;
    width: auto !important;
    height: min(28px, calc(100% - 42px)) !important;
    transform: translate(-50%, -50%) !important;
    filter: none !important;
  }

  .rail > .reward-bank .reward-count > .reward-word {
    left: 0 !important;
    right: 0 !important;
    font-size: .5625rem !important;
    font-family: Manrope, Arial, sans-serif !important;
    font-weight: 800 !important;
    letter-spacing: .025em !important;
    line-height: 1.08 !important;
    text-transform: uppercase !important;
    text-shadow: none !important;
    filter: none !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: optimizeLegibility !important;
  }

  .rail > .reward-bank .reward-count > .reward-word-top {
    top: auto !important;
    bottom: 19px !important;
  }

  .rail > .reward-bank .reward-count > .reward-word-bottom {
    top: auto !important;
    bottom: 4px !important;
  }

  .rail > .reward-bank .reward-count > span:not(.reward-word) {
    position: absolute !important;
    inset: auto 2px 5px 2px !important;
    display: block !important;
    padding: 0 !important;
    color: var(--reward-color) !important;
    font: 900 .43rem/.92 'DM Mono', monospace !important;
    letter-spacing: -.02em !important;
    text-align: center !important;
    text-transform: uppercase !important;
    white-space: normal !important;
  }

  .rail > .reward-bank .reward-count > b {
    top: 3px !important;
    right: 3px !important;
  }

  .rail > .reward-bank .reward-count > small {
    display: none !important;
  }

  .rail > .reward-bank .mobile-clock {
    position: absolute !important;
    top: 56px !important;
    right: 116px !important;
    z-index: 54 !important;
    width: 69px !important;
    height: 46px !important;
    min-height: 46px !important;
    padding: 4px !important;
    border: 1px solid #9a7332 !important;
    border-radius: 9px !important;
    background: linear-gradient(160deg, #0b281ad9, #020a06ed) !important;
    box-shadow: inset 0 1px #ffffff12, inset 0 -9px 18px #0006, 0 3px 9px #0007 !important;
  }

  .goal-meter > .bankroll {
    grid-column: 3 !important;
  }

  .game-mode-switch {
    font-size: .5625rem !important;
    font-weight: 900 !important;
    line-height: .9 !important;
    letter-spacing: .06em !important;
  }

  .grid.board-locked::before {
    content: "" !important;
  }
}

@media (max-width: 380px) {
  .rail > .reward-bank {
    grid-template-rows: auto minmax(0, 1fr) !important;
    padding-bottom: 179px !important;
  }

  .rail > .reward-bank .mobile-clock {
    height: 43px !important;
    min-height: 43px !important;
  }

  .rail > .reward-bank .reward-count > span:not(.reward-word) {
    font-size: .39rem !important;
  }

  .rail > .reward-bank .reward-count > .reward-word {
    font-size: .5625rem !important;
  }
}

/* Stage 2 public effects are visual only; the server owns every hazard and result. */
body.stage-two {
  --stage-two-red: #ff3f36;
}

body.stage-two .game {
  border-color: #9a7332;
  box-shadow: 0 15px 38px #0009, 0 0 24px #135f9b2e;
}

body.stage-two .level-kicker,
body.stage-two #levelName {
  color: #ffe090 !important;
  text-shadow: 0 1px 0 #00142a !important;
}

body.stage-two.play-the-board #targetName.play-the-board-instruction-list {
  display: grid;
  gap: 3px;
  line-height: 1.12;
  text-align: left;
}

body.stage-two.play-the-board #targetName.play-the-board-instruction-list span {
  position: relative;
  display: block;
  padding-left: 13px;
  text-align: left;
}

body.stage-two.play-the-board #targetName.play-the-board-instruction-list span::before {
  content: "•";
  position: absolute;
  left: 1px;
  color: #ffe090;
  font-weight: 1000;
}

.card.card-covered {
  filter: none;
  background: linear-gradient(145deg, #fff, #f7f7f7);
  border-color: #111;
  color: #111;
}

.card.card-covered .corner,
.card.card-covered .corner i,
.card.card-covered > .suit {
  color: #111 !important;
}

.card.card-covered::before {
  content: none;
}

.card.card-blind,
.card.card-burned,
.card.card-blasted,
.card.card-frozen {
  filter: grayscale(.72) brightness(.38);
  cursor: not-allowed;
}

.card.card-blind::before,
.card.card-burned::before,
.card.card-blasted::before,
.card.card-frozen::before,
.card.card-bomb::before {
  position: absolute;
  z-index: 7;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: inherit;
  color: #fff;
  font: 900 clamp(.65rem, 3.2vw, 1rem)/1 'DM Mono', monospace;
  text-shadow: 0 2px 5px #000;
  pointer-events: none;
}

.card.card-blind::before { content: "BLIND"; background: #050505bf; }
.card.card-burned::before { content: "🔥"; background: linear-gradient(#71120dbd, #100); font-size: 1.7rem; }
.card.card-blasted::before { content: "BLAST"; background: #1a0505d6; color: #ff6b61; }
.card.card-frozen::before { content: "❄"; background: #0b466bc7; color: #a9efff; font-size: 1.55rem; }
.card.card-bomb:not(.card-blasted)::before { content: "●"; inset: 5px; border: 1px dashed #ff8a55; background: #280c0c42; color: #ff3f36; font-size: 1.2rem; }

/* Stage 3 · Level 6 · SUPER TILT — restored from the approved locked build. */
.stage3-super-tilt #grid{transform-origin:50% 50%;will-change:transform,filter}
.stage3-super-tilt.super-tilt-lean-left #grid:not(.super-tilt-awakening):not(.super-tilt-aftershock){transform:translate(-11px,5px) rotate(-3.4deg)}
.stage3-super-tilt.super-tilt-lean-right #grid:not(.super-tilt-awakening):not(.super-tilt-aftershock){transform:translate(11px,5px) rotate(3.4deg)}
.stage3-super-tilt .card.tilt-void{display:none!important}
.stage3-super-tilt #grid.super-tilt-awakening{--tx:0px;--ty:8px;--tr:0deg;animation:superTiltBoard 1.15s cubic-bezier(.18,.82,.2,1) both;filter:saturate(1.15) contrast(1.08);pointer-events:none}
.stage3-super-tilt #grid.tilt-left{--tx:-34px;--tr:-7deg}.stage3-super-tilt #grid.tilt-right{--tx:34px;--tr:7deg}
.stage3-super-tilt #grid.super-tilt-awakening .card{animation:superTiltCard 1.15s cubic-bezier(.18,.82,.2,1) both;animation-delay:calc(var(--card-index,0)*3ms)}
.stage3-super-tilt #grid.super-tilt-catastrophic .card.super-tilt-sacrifice{z-index:20;will-change:transform,opacity,filter}
.stage3-super-tilt #grid.super-tilt-catastrophic.tilt-left .card.super-tilt-sacrifice{animation:superTiltRowLeft 1.15s cubic-bezier(.44,.02,.82,.45) both!important}
.stage3-super-tilt #grid.super-tilt-catastrophic.tilt-right .card.super-tilt-sacrifice{animation:superTiltRowRight 1.15s cubic-bezier(.44,.02,.82,.45) both!important}
.stage3-super-tilt #grid.super-tilt-aftershock{animation:superTiltAftershock .68s ease-out both}
.stage3-super-tilt #grid.super-tilt-new-board .card{animation:superTiltRedeal .68s cubic-bezier(.18,.84,.25,1) both;animation-delay:calc(var(--card-index,0)*8ms)}
.stage3-super-tilt .super-tilt-table{animation:superTiltTable 1.82s ease both}
.super-tilt-banner{position:fixed;left:50%;top:43%;z-index:145;display:grid;place-items:center;pointer-events:none;opacity:0;transform:translate(-50%,-50%) scale(.28) rotate(-8deg);filter:blur(9px);text-align:center;line-height:.72;text-transform:uppercase}
.super-tilt-banner span,.super-tilt-banner strong{display:block;font-family:'Arial Black',Impact,sans-serif;font-weight:1000;font-style:italic;letter-spacing:-.075em}
.super-tilt-banner span{font-size:clamp(2rem,12vw,5.5rem);color:#fff6c5;text-shadow:0 3px 0 #9c4b00,0 0 12px #fff,0 0 30px #ffb51f}
.super-tilt-banner strong{font-size:clamp(3.8rem,23vw,10rem);color:#ff3456;-webkit-text-stroke:2px #fff0a0;text-shadow:0 5px 0 #720019,0 0 12px #fff6a7,0 0 35px #ff173f,0 0 70px #ff9800}
.super-tilt-banner em{display:block;margin-top:.8rem;padding:.32rem .72rem;border:2px solid currentColor;border-radius:999px;background:#05070de6;color:#fff;font:900 clamp(.72rem,3.7vw,1.2rem)/1 Arial,sans-serif;letter-spacing:.08em;box-shadow:0 0 18px #ff315caa}
.super-tilt-banner.normal-tilt-banner span{font-size:clamp(1.8rem,10vw,4.6rem);color:#effcff;text-shadow:0 3px 0 #164d78,0 0 12px #fff,0 0 28px #20c8ff}
.super-tilt-banner.normal-tilt-banner strong{font-size:clamp(3.2rem,19vw,8.5rem);color:#38d9ff;-webkit-text-stroke:2px #e9fcff;text-shadow:0 5px 0 #07517c,0 0 12px #fff,0 0 34px #16bfff,0 0 65px #365dff}
.super-tilt-banner.show{animation:superTiltBanner 2s cubic-bezier(.16,.86,.22,1) both}
.stage3-super-tilt #grid .card.tilt-trigger-reveal{z-index:35!important;overflow:visible;animation:tiltTriggerReveal .28s ease-in-out infinite alternate!important}
.stage3-super-tilt #grid .card.tilt-trigger-reveal.normal-trigger{outline:4px solid #40ddff;box-shadow:0 0 0 3px #fff,0 0 28px 12px #18bfff!important}
.stage3-super-tilt #grid .card.tilt-trigger-reveal.super-trigger{outline:4px solid #ff315c;box-shadow:0 0 0 3px #fff3a1,0 0 34px 14px #ff204f!important}
.tilt-trigger-label{position:absolute;z-index:40;left:50%;bottom:8%;transform:translateX(-50%) rotate(-5deg);padding:.14rem .28rem;border:2px solid #fff;border-radius:.3rem;background:#06101bf0;color:#fff;font:1000 clamp(.46rem,2.4vw,.72rem)/1 'Arial Black',Impact,sans-serif;letter-spacing:.02em;white-space:nowrap;text-shadow:0 1px 2px #000;pointer-events:none}
.super-trigger .tilt-trigger-label{background:#bc082f;color:#fff7a5}
@keyframes tiltTriggerReveal{from{transform:scale(1)}to{transform:scale(1.09)}}
@keyframes superTiltBoard{0%,8%{transform:none}12%{transform:translate(-2px,1px) rotate(-.25deg)}16%{transform:translate(3px,-2px) rotate(.35deg)}22%{transform:translate(-5px,3px) rotate(-.55deg)}30%{transform:translate(6px,-3px) rotate(.7deg)}43%{transform:translate(calc(var(--tx)*.18),calc(var(--ty)*.18)) rotate(calc(var(--tr)*.18))}72%{transform:translate(var(--tx),var(--ty)) rotate(var(--tr));filter:saturate(.78) contrast(1.28) brightness(.72)}100%{transform:translate(var(--tx),var(--ty)) rotate(var(--tr));filter:saturate(.9) contrast(1.16)}}
@keyframes superTiltCard{0%,31%{transform:none}46%{transform:translate(calc(var(--tx)*.12),calc(var(--ty)*.12)) rotate(.4deg)}72%,100%{transform:translate(calc(var(--tx)*.28),calc(var(--ty)*.28)) rotate(2deg);box-shadow:0 12px 0 #0006,0 20px 25px #000b}}
@keyframes superTiltRowLeft{0%,26%{transform:none;opacity:1;filter:none}43%{transform:translate(-18px,-6px) rotate(-5deg);opacity:1}100%{transform:translate(-135vw,-70px) rotate(-42deg);opacity:0;filter:blur(4px)}}
@keyframes superTiltRowRight{0%,26%{transform:none;opacity:1;filter:none}43%{transform:translate(18px,-6px) rotate(5deg);opacity:1}100%{transform:translate(135vw,-70px) rotate(42deg);opacity:0;filter:blur(4px)}}
@keyframes superTiltAftershock{0%{transform:translate(10px,-5px) rotate(1.4deg);filter:blur(.5px)}15%{transform:translate(-8px,5px) rotate(-1.2deg)}30%{transform:translate(6px,-3px) rotate(.8deg)}48%{transform:translate(-4px,2px) rotate(-.5deg)}70%{transform:translate(2px,-1px) rotate(.22deg)}100%{transform:none;filter:none}}
@keyframes superTiltRedeal{0%{opacity:.12;transform:translate3d(var(--tx),var(--ty),0) rotate(var(--tr)) scale(.72);filter:blur(5px) brightness(1.8)}42%{opacity:1;transform:scale(1.045);filter:blur(0) brightness(1.18)}100%{opacity:1;transform:none;filter:none}}
@keyframes superTiltTable{0%,7%{box-shadow:var(--shadow)}18%{box-shadow:0 0 0 2px #ff314d55,0 20px 80px #000}45%{box-shadow:0 0 34px #ff263d66,0 28px 95px #000}100%{box-shadow:var(--shadow)}}
@keyframes superTiltBanner{0%{opacity:0;transform:translate(-50%,-50%) scale(.28) rotate(-8deg);filter:blur(9px)}9%{opacity:1;transform:translate(-50%,-50%) scale(1.14) rotate(2deg);filter:blur(0)}18%{transform:translate(-50%,-50%) scale(.98) rotate(-1deg)}78%{opacity:1;transform:translate(-50%,-50%) scale(1.02);filter:blur(0)}100%{opacity:0;transform:translate(-50%,-56%) scale(1.22);filter:blur(2px)}}
@media(prefers-reduced-motion:reduce){.stage3-super-tilt #grid.super-tilt-awakening,.stage3-super-tilt #grid.super-tilt-awakening .card,.stage3-super-tilt #grid.super-tilt-aftershock,.stage3-super-tilt .super-tilt-table,.super-tilt-banner.show{animation-duration:.18s!important}}

/* Stage 3 Level 7: approved permanent four-suit, 52-card side tracker. */
.stage3-suited-connectors #targetName.stage3-level7-instruction-list,
.stage3-all-in #targetName.stage3-level9-instruction-list {
  display: grid;
  gap: 3px;
  line-height: 1.12;
  text-align: left;
}

.stage3-suited-connectors #targetName.stage3-level7-instruction-list span,
.stage3-all-in #targetName.stage3-level9-instruction-list span {
  position: relative;
  display: block;
  padding-left: 13px;
  text-align: left;
}

.stage3-suited-connectors #targetName.stage3-level7-instruction-list span::before,
.stage3-all-in #targetName.stage3-level9-instruction-list span::before {
  content: "•";
  position: absolute;
  left: 1px;
}

/* Owner-approved global board readability: every stage and level. */
#grid .card .corner {
  font-size: 26px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

#grid .card > .suit {
  font-size: 45px;
  line-height: 1;
}

@media (max-width: 600px) {
  #grid .card .corner {
    font-size: clamp(1rem, 5vw, 1.25rem) !important;
  }

  #grid .card > .suit {
    font-size: clamp(2rem, 9vw, 2.4rem);
  }
}

@media (max-width: 600px) {
  body.stage3-royal-treatment .game .table-head .headline #levelName {
    font-size: 1.25rem !important;
    line-height: .94 !important;
    letter-spacing: -.035em !important;
  }

  body.stage3-all-in .game .table-head .headline #levelName {
    font-size: 1.55rem !important;
    line-height: .9 !important;
    letter-spacing: -.035em !important;
  }
}

@media (max-width: 600px) {
  body.stage3-suited-connectors .game .table-head .headline #levelName {
    font-size: 1.55rem !important;
    line-height: .9 !important;
    letter-spacing: -.035em !important;
  }

  .stage3-suited-connectors .rail > .reward-bank {
    padding: 3px 0 189px !important;
    gap: 4px !important;
    overflow: visible !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .stage3-suited-connectors .rail > .reward-bank h3 { display: none !important; }

  .stage3-suited-connectors .rail > .reward-bank .reward-bank-list {
    order: 1 !important;
    flex: 0 0 62px !important;
    min-height: 62px !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(2, 29px) !important;
    gap: 4px !important;
  }

  .stage3-suited-connectors .rail > .reward-bank .reward-count {
    width: 100% !important;
    height: 29px !important;
    min-height: 29px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  .stage3-suited-connectors .rail > .reward-bank .reward-count svg {
    top: 50% !important;
    left: 50% !important;
    width: 25px !important;
    height: 25px !important;
    transform: translate(-50%, -50%) !important;
    filter: drop-shadow(0 0 5px var(--reward-color)) !important;
  }

  .stage3-suited-connectors .rail > .reward-bank .reward-count > span,
  .stage3-suited-connectors .rail > .reward-bank .reward-count small { display: none !important; }

  .stage3-suited-connectors .rail > .reward-bank .reward-count b {
    top: -1px !important;
    right: 0 !important;
    min-width: 12px !important;
    height: 12px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 50% !important;
    background: #23070d !important;
    color: var(--reward-color) !important;
    font-size: .48rem !important;
    line-height: 1 !important;
  }

  .stage3-suited-connectors .suited-rail-tracker {
    order: 2;
    flex: 1 1 auto;
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2px;
    padding: 5px 0 3px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .stage3-suited-connectors .suited-rail-suit { min-width: 0; display: block; }

  .stage3-suited-connectors .suited-rail-suit > div {
    height: 100%;
    display: grid;
    grid-template-rows: repeat(13, minmax(0, 1fr));
    gap: 2px;
  }

  .stage3-suited-connectors .suited-rail-suit i {
    min-height: 0;
    display: grid;
    place-items: center;
    border-radius: 2px;
    font: 900 .65rem/1 'DM Mono', monospace;
    font-style: normal;
    text-align: center;
    letter-spacing: -.075em;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
  }

  .stage3-suited-connectors .suited-rail-suit.spade i.missing { background: #f4ce45; color: #241d05; }
  .stage3-suited-connectors .suited-rail-suit.heart i.missing { background: #267fe8; color: #fff; }
  .stage3-suited-connectors .suited-rail-suit.diamond i.missing { background: #8a55e8; color: #fff; }
  .stage3-suited-connectors .suited-rail-suit.club i.missing { background: #39c86b; color: #062b18; }
  .stage3-suited-connectors .suited-rail-suit i.filled { background: #270a11; color: #72545a; opacity: .45; }
}

/* The River uses the approved level7-river artwork in journey.html. */
/* Decorative fish stay clipped below the actual authoritative water line. */
.river-fish-water { display:none; }
body.level7-river .river-fish-water {
  display:block; position:absolute; z-index:6; left:0; right:0; bottom:0;
  height:var(--river-level,0%); overflow:hidden; pointer-events:none;
  transition:height .9s cubic-bezier(.16,.86,.24,1); contain:paint;
}
body.level7-river.river-dry .river-fish-water { visibility:hidden; }
.river-fish {
  position:absolute; top:var(--depth); left:-48px; width:var(--fish-size,32px);
  color:var(--fish-color,#acd9cf); opacity:.78;
  animation:river-fish-pass var(--swim-time,11s) linear infinite;
  animation-delay:var(--swim-delay,0s); pointer-events:none;
}
.river-fish svg { display:block; width:100%; height:auto; overflow:visible; fill:currentColor; animation:river-fish-bob 1.2s ease-in-out infinite alternate; }
.river-fish .fish-tail { transform-origin:19px 16px; animation:river-fish-tail .24s ease-in-out infinite alternate; }
.river-fish .fish-fin { opacity:.7; }
.river-fish .fish-gill { fill:none; stroke:#164658; stroke-width:1; opacity:.55; }
.river-fish .fish-eye { fill:#082f42; }
.fish-0 { --depth:17%; --fish-size:30px; --swim-time:11s; --swim-delay:-3s; --fish-color:#e0c77d; --rest-x:12%; }
.fish-1 { --depth:42%; --fish-size:36px; --swim-time:15s; --swim-delay:-9s; --fish-color:#bcdedc; --rest-x:32%; }
.fish-2 { --depth:68%; --fish-size:25px; --swim-time:9s; --swim-delay:-6s; --fish-color:#7dbcbf; --rest-x:65%; }
.fish-3 { --depth:30%; --fish-size:27px; --swim-time:13s; --swim-delay:-4s; --fish-color:#b5d3a5; --rest-x:76%; }
.fish-4 { --depth:77%; --fish-size:33px; --swim-time:17s; --swim-delay:-12s; --fish-color:#d6b77d; --rest-x:43%; }
.fish-5 { --depth:53%; --fish-size:23px; --swim-time:10s; --swim-delay:-2s; --fish-color:#a5ccdf; --rest-x:87%; }
.fish-1,.fish-3,.fish-5 { animation-direction:reverse; }
.fish-1 svg,.fish-3 svg,.fish-5 svg { scale:-1 1; }
body:not(.level7-river) .river-fish,body.river-dry .river-fish,
body.river-dry .river-fish svg,body.river-dry .fish-tail { animation-play-state:paused; }
@keyframes river-fish-pass { from { left:-48px; } to { left:calc(100% + 48px); } }
@keyframes river-fish-bob { from { transform:translateY(-2px) rotate(-3deg); } to { transform:translateY(2px) rotate(3deg); } }
@keyframes river-fish-tail { from { transform:scaleX(.8) rotate(-9deg); } to { transform:scaleX(1) rotate(9deg); } }
@media(prefers-reduced-motion:reduce) {
  .river-fish,.river-fish svg,.river-fish .fish-tail { animation:none; }
  .river-fish { left:var(--rest-x); }
}
.beware-word { color: #ff3d35; font-weight: 1000; }
body.level8-check-raise #targetName .beware-word {
  display:inline !important; font:inherit !important; color:#ff5268 !important;
  padding:0 !important; margin:0 !important; text-shadow:none !important;
}


.mobile-hand-row.traffic-green,
.mobile-hand-row.traffic-green b,
.mobile-hand-row.traffic-green small { color: #52ef7d !important; }
.mobile-hand-row.traffic-yellow,
.mobile-hand-row.traffic-yellow b,
.mobile-hand-row.traffic-yellow small { color: #ffe34f !important; }
.mobile-hand-row.traffic-red,
.mobile-hand-row.traffic-red b,
.mobile-hand-row.traffic-red small { color: #ff433e !important; }
/* The Rake's approved white hand-name treatment must not hide the shared
   traffic-light state after a hand is played. Keep untouched rows white,
   then visibly advance played rows through green, yellow, and red. */
body.stage3-the-rake #availableHandsList .mobile-hand-row.traffic-green,
body.stage3-the-rake #availableHandsList .mobile-hand-row.traffic-green span,
body.stage3-the-rake #availableHandsList .mobile-hand-row.traffic-green small,
body.stage3-the-rake #availableHandsList .mobile-hand-row.traffic-green b { color: #52ef7d !important; }
body.stage3-the-rake #availableHandsList .mobile-hand-row.traffic-yellow,
body.stage3-the-rake #availableHandsList .mobile-hand-row.traffic-yellow span,
body.stage3-the-rake #availableHandsList .mobile-hand-row.traffic-yellow small,
body.stage3-the-rake #availableHandsList .mobile-hand-row.traffic-yellow b { color: #ffe34f !important; }
body.stage3-the-rake #availableHandsList .mobile-hand-row.traffic-red,
body.stage3-the-rake #availableHandsList .mobile-hand-row.traffic-red span,
body.stage3-the-rake #availableHandsList .mobile-hand-row.traffic-red small,
body.stage3-the-rake #availableHandsList .mobile-hand-row.traffic-red b { color: #ff433e !important; }
.chip-slot.traffic-green { filter: drop-shadow(0 0 7px #2eff68); }
.chip-slot.traffic-yellow { filter: drop-shadow(0 0 8px #ffe13c); }
.chip-slot.traffic-red { filter: grayscale(.25) drop-shadow(0 0 8px #ff302b); opacity: .78; }
.card .dealer-button,.card .rake-chip{position:absolute;z-index:5;left:50%;top:50%;display:grid;place-items:center;width:38%;aspect-ratio:1;transform:translate(-50%,-50%);border:2px solid #fff0a0;border-radius:50%;font:1000 clamp(.55rem,1.6vw,.9rem)/1 "DM Mono",monospace;font-style:normal;pointer-events:none;box-shadow:inset 0 0 0 2px #7b4d08,0 2px 7px #000b}
.card .dealer-button{background:radial-gradient(circle,#fff4a8,#e3a62a 62%,#8b4d08);color:#2b1300}
.card .rake-chip{background:repeating-conic-gradient(#fff0a0 0 10deg,#178447 10deg 36deg);color:#fff}
.stage-three .table{background:radial-gradient(ellipse at 45% 35%,#7d1227 0,#4a0715 52%,#21030a 100%)}

/* Stage 3 Level 9: approved ALL IN finale presentation. */
.stage3-all-in .card.card-button{z-index:3;box-shadow:0 0 0 2px #ffe477,0 0 14px #ffb62f88,0 4px 10px #000a}
.stage3-all-in .card.blinded{background:linear-gradient(145deg,#181818,#020202 72%)!important;border:2px solid #f5f5f5!important;box-shadow:inset 0 0 0 2px #303030,0 4px 10px #000b!important;color:#fff!important;overflow:hidden}
.stage3-all-in .card.blinded::after{content:"";position:absolute;inset:5px;border:1px solid #ffffff2e;border-radius:inherit;background:none!important;z-index:0}
.stage3-all-in .all-in-blind-mark{position:absolute;inset:0;z-index:2;display:grid;place-items:center;pointer-events:none}
.stage3-all-in .all-in-blind-mark small{position:static!important;color:#fff!important;font:1000 clamp(.72rem,3.1vw,1.05rem)/1 "DM Mono",monospace!important;letter-spacing:.08em!important;text-shadow:0 2px 2px #000!important}
.stage3-all-in .card .dealer-button{width:45%;border-color:#fff7bf;background:radial-gradient(circle at 36% 30%,#fffbd0 0 17%,#ffd75c 18% 46%,#bd720c 70%,#6d3300 100%);box-shadow:inset 0 0 0 3px #744107,0 0 0 2px #ffec8d,0 3px 8px #000b;color:#351600}
.stage3-all-in #grid.all-in-ring-turning{pointer-events:none;filter:saturate(1.12)}
.stage3-all-in #grid.all-in-ring-turning .dealer-button{filter:brightness(1.25)}
.stage3-all-in #grid.all-in-bomb-shake{animation:allInBombShake .76s ease-out both;filter:contrast(1.12) saturate(1.2)}
.stage3-all-in .reward-bank h3{font-size:clamp(.54rem,1.65vw,.78rem)!important;letter-spacing:.055em!important;white-space:nowrap}
.stage3-all-in .reward-count.finale-reward-spent{filter:grayscale(.88) brightness(.48);box-shadow:inset 0 0 0 2px #ff405866!important}
.stage3-all-in .reward-count.finale-reward-spent::after{content:"USED";position:absolute;z-index:8;inset:50% auto auto 50%;transform:translate(-50%,-50%) rotate(-10deg);padding:3px 5px;border:2px solid #ff5d70;border-radius:3px;background:#21030be8;color:#ff7b8b;font:1000 .56rem/1 "DM Mono",monospace;letter-spacing:.08em;pointer-events:none}
.stage3-all-in .mobile-hand-row.finale-hand-maxed{border-color:#ff4058!important;background:linear-gradient(90deg,#4d0815ee,#25040bdd)!important;box-shadow:inset 3px 0 #ff4058,inset 0 0 10px #ff294b55!important}
.stage3-all-in .mobile-hand-row.finale-hand-maxed span,.stage3-all-in .mobile-hand-row.finale-hand-maxed small,.stage3-all-in .mobile-hand-row.finale-hand-maxed b{color:#ff6478!important;text-shadow:none!important}
@keyframes allInBombShake{0%{transform:none}8%{transform:translate(-12px,3px) rotate(-1deg)}17%{transform:translate(10px,-5px) rotate(.8deg)}27%{transform:translate(-8px,4px) rotate(-.6deg)}39%{transform:translate(7px,-3px) rotate(.45deg)}54%{transform:translate(-5px,2px) rotate(-.3deg)}72%{transform:translate(3px,-1px) rotate(.15deg)}100%{transform:none}}

@media(max-width:600px){
  .stage3-all-in #targetName.stage3-level9-instruction-list{gap:2px;font-size:.58rem;line-height:1.06}
}
.vs-mode .topbar{display:none!important}
.vs-mode .shell{padding-top:5px!important}
.vs-mode #shopBtn,.vs-mode .lives-card,.vs-mode .journey-lives{display:none!important}
.vs-mode .rail>.reward-bank.vs-enemy-bank{position:relative!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;min-width:0!important;min-height:0!important;height:100%!important;margin:0!important;padding:7px 5px 8px!important;overflow:hidden!important;border:1px solid #ff536e!important;border-radius:10px!important;background:linear-gradient(180deg,#240713 0,#0c0207 54%,#020102 100%)!important;box-shadow:inset 0 0 18px #000c,0 0 12px #ff3c6252!important;color:#fff!important}
.vs-enemy-bank::before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(115deg,transparent 0 43%,#ffffff0b 50%,transparent 57%);transform:translateX(-120%);animation:vsEnemySweep 4.8s ease-in-out infinite}
.vs-mode .rail>.vs-enemy-bank h3{position:relative;z-index:2;display:block!important;flex:none;margin:0 0 6px!important;color:#ff8ba0!important;font:1000 clamp(.54rem,1.9vw,.72rem)/.95 "DM Mono",monospace!important;letter-spacing:.04em!important;text-align:center!important;text-shadow:none!important;white-space:normal!important}
.vs-enemy-identity{position:relative;z-index:2;display:grid;place-items:center;padding:5px 2px;border:1px solid #ff536e66;border-radius:7px;background:#18050bd9}
.vs-enemy-identity span{color:#ffdbe2;font:900 clamp(.42rem,1.55vw,.58rem)/1 "DM Mono",monospace;letter-spacing:.04em;text-align:center;white-space:normal}
.vs-enemy-identity strong{color:#fff;font:1000 clamp(.8rem,3vw,1.15rem)/1 "DM Mono",monospace;text-shadow:0 0 9px #ff536e}
.vs-mode .goal-meter>.mobile-clock.vs-level-clock{display:grid!important;grid-column:2!important;grid-row:1!important;height:100%!important;min-height:0!important;margin:0!important;padding:4px!important;border:1px solid #9a7332!important;border-radius:9px!important;background:linear-gradient(160deg,#0b281ad9,#020a06ed)!important;box-shadow:inset 0 1px #ffffff12,inset 0 -9px 18px #0006,0 3px 9px #0007!important}
.vs-mode .goal-meter>.mobile-clock.vs-level-clock small{color:#ffd76a!important;font:800 .46rem/1 "DM Mono",monospace!important;letter-spacing:.04em!important;white-space:nowrap!important}
.vs-mode .goal-meter>.mobile-clock.vs-level-clock strong{color:#fff5d8!important;font:1000 1rem/1 "DM Mono",monospace!important;text-shadow:0 1px #2b1900!important}
.vs-mode .goal-meter>.mobile-clock.vs-level-clock strong.danger{color:#ff596b!important;text-shadow:0 0 8px #ff294b!important;animation:timerPulse .55s ease-in-out infinite alternate}
.vs-enemy-meter{position:relative;z-index:2;min-height:82px;flex:1;margin:6px auto 5px;width:min(46px,78%);padding:4px;border:2px solid #ff8ba0;border-radius:999px;background:#050103;box-shadow:inset 0 0 12px #000,0 0 10px #ff536e55}
.vs-enemy-track{position:absolute;inset:4px;overflow:hidden;border-radius:inherit;background:repeating-linear-gradient(to top,#13030a 0 12px,#210611 12px 13px);box-shadow:inset 0 0 9px #000}
.vs-enemy-fill{position:absolute;left:0;right:0;bottom:0;height:0;border-radius:999px;background:linear-gradient(to top,#ff2352 0,#ff536e 56%,#ffbd58 88%,#fff27a 100%);box-shadow:0 0 13px #ff3d62,0 -5px 10px #ffdf6b88;transition:height .42s cubic-bezier(.2,.8,.2,1)}
.vs-enemy-fill::after{content:"";position:absolute;left:18%;right:18%;top:2px;height:3px;border-radius:99px;background:#fff8;box-shadow:0 0 7px #fff}
.vs-enemy-tick{position:absolute;z-index:3;left:0;right:0;height:1px;background:#fff5;pointer-events:none}.vs-enemy-tick.tick-25{bottom:25%}.vs-enemy-tick.tick-50{bottom:50%}.vs-enemy-tick.tick-75{bottom:75%}
.vs-enemy-danger{position:absolute;z-index:4;top:8px;left:50%;transform:translateX(-50%);color:#fff19a;font:1000 .34rem/1 "DM Mono",monospace;letter-spacing:.08em;opacity:.72;pointer-events:none}
.vs-enemy-bank.enemy-warning{border-color:#ffbe44!important;box-shadow:inset 0 0 18px #000c,0 0 15px #ff9e3c7a!important}.vs-enemy-bank.enemy-warning h3{color:#ffd06a!important}
.vs-enemy-bank.enemy-critical{animation:vsEnemyCritical .62s ease-in-out infinite alternate}
.vs-forfeit-button{order:3!important;border:2px solid #ff7a86!important;background:linear-gradient(180deg,#ff4057 0,#e50025 48%,#850014 100%)!important;color:#fff!important;box-shadow:inset 0 2px #ffb5bd,inset 0 -5px 10px #65000ccc,0 0 0 1px #ff203f,0 0 13px #ff123dcc!important;font:1000 .56rem/1 "DM Mono",monospace!important;letter-spacing:.045em!important;text-shadow:0 1px 2px #50000b!important}
.vs-forfeit-button:hover:not(:disabled){border-color:#fff!important;background:linear-gradient(180deg,#ff6678,#f00029 52%,#9e0018)!important;color:#fff!important;box-shadow:inset 0 2px #ffd0d5,0 0 0 1px #ff3550,0 0 18px #ff123f!important}.vs-forfeit-button:disabled{opacity:.55}
.vs-forfeit-button.armed{border-color:#fff0a6!important;background:linear-gradient(180deg,#ff6b45,#a6202f)!important;color:#fff!important;box-shadow:0 0 0 2px #ffcf5838,0 0 15px #ff536e99!important;animation:vsForfeitArmed .48s ease-in-out infinite alternate}
.vs-forfeit-top{position:relative;z-index:24;width:100%;min-width:0;padding:5px 3px!important;border-radius:7px!important}
.vs-forfeit-top span{display:block;line-height:.94;white-space:nowrap}
@keyframes vsEnemySweep{0%,52%{transform:translateX(-120%)}78%,100%{transform:translateX(120%)}}
@keyframes vsEnemyCritical{to{filter:brightness(1.22);box-shadow:inset 0 0 18px #000c,0 0 22px #ff294bbb}}
@keyframes vsForfeitArmed{to{filter:brightness(1.25)}}
.vs-difficulty-panel{display:grid;gap:5px;padding:7px;border:1px solid #a77d32;border-radius:11px;background:#06131f;box-shadow:inset 0 1px #fff2}
.vs-difficulty-panel>span{color:#f4ce45;text-align:center;font:900 .62rem/1 "DM Mono",monospace;letter-spacing:.12em;text-shadow:none}
.vs-difficulty-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}
.vs-difficulty-choices button{min-width:0;padding:8px 3px;border:1px solid #345d75;border-radius:7px;background:#020a11;color:#8ea6b8;font:500 .54rem/1 "DM Mono",monospace;letter-spacing:.07em;cursor:pointer}
.vs-difficulty-choices button.active{border-color:#7cecff;background:#0b3b51;color:#d8fbff;box-shadow:0 0 11px #7cecff38}
@media(max-width:600px){.vs-mode .shell{padding-top:2px!important}.vs-mode .rail>.reward-bank.vs-enemy-bank{align-self:start!important;height:calc(100% - 237px)!important;max-height:calc(100% - 237px)!important;margin-top:47px!important;padding:5px 3px 6px!important}.vs-mode .rail>.vs-enemy-bank h3{margin-bottom:4px!important}.vs-enemy-identity{padding:4px 1px}.vs-enemy-meter{width:min(42px,84%);margin-block:4px}.vs-mode .selection>.control-pair:last-child{height:184px!important;grid-template-rows:minmax(0,1.7fr) minmax(0,.8fr)!important;gap:5px!important}.vs-mode .selection>.control-pair:last-child .action{min-height:0!important;height:auto!important}.vs-forfeit-button{font-size:.56rem!important}.vs-forfeit-top{box-sizing:border-box!important;position:absolute!important;top:calc(100% + 3px)!important;right:0!important;width:76px!important;height:42px!important;padding:5px 3px!important;font-size:10px!important;line-height:.92!important;white-space:nowrap!important}.vs-difficulty-panel{padding:5px;gap:4px}.vs-difficulty-panel>span{font-size:.58rem}.vs-difficulty-choices button{padding:6px 1px;font-size:.5rem}}
@media(max-width:600px){
  body.vs-mode.stage3-suited-connectors #availableHandsMenu{grid-template-rows:136px!important}
  body.vs-mode.stage3-suited-connectors #availableHandsMenu>summary{display:none!important}
  body.vs-mode.stage3-suited-connectors #availableHandsList{height:136px!important;min-height:136px!important;max-height:136px!important;display:block!important;padding:4px 5px!important;overflow:hidden!important;border:1px solid #b87a30!important;border-radius:9px!important;background:linear-gradient(160deg,#19050aef,#070203f7)!important}
  body.vs-mode.stage3-suited-connectors .suited-bottom-tracker{width:100%!important;height:100%!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(4,minmax(0,1fr))!important;gap:3px!important;padding:0!important}
  body.vs-mode.stage3-suited-connectors .suited-bottom-tracker .suited-rail-suit{min-width:0!important;display:grid!important;grid-template-columns:18px minmax(0,1fr)!important;align-items:stretch!important;gap:4px!important}
  body.vs-mode.stage3-suited-connectors .suited-bottom-tracker .suited-rail-suit>b{display:grid!important;place-items:center!important;border-radius:3px!important;background:#270a11!important;color:#ffe8c8!important;font:1000 .78rem/1 'DM Mono',monospace!important}
  body.vs-mode.stage3-suited-connectors .suited-bottom-tracker .suited-rail-suit>div{height:auto!important;display:grid!important;grid-template-columns:repeat(13,minmax(0,1fr))!important;grid-template-rows:1fr!important;gap:3px!important}
  body.vs-mode.stage3-suited-connectors .suited-bottom-tracker .suited-rail-suit i{min-width:0!important;min-height:0!important;font-size:15px!important;line-height:1!important;letter-spacing:-.08em!important;border-radius:3px!important}
}
@media(max-width:380px){.vs-mode .rail>.reward-bank.vs-enemy-bank{height:calc(100% - 227px)!important;max-height:calc(100% - 227px)!important}.vs-mode .selection>.control-pair:last-child{height:174px!important}.vs-mode .vs-forfeit-top{width:76px!important}}
@media(max-width:600px) and (max-height:720px){.vs-mode .rail>.reward-bank.vs-enemy-bank{height:calc(100% - 209px)!important;max-height:calc(100% - 209px)!important}.vs-mode .selection>.control-pair:last-child{height:156px!important}.vs-forfeit-button{font-size:.5rem!important}.vs-mode .vs-forfeit-top{font-size:10px!important}}

@media(max-width:600px){
  .vs-mode .game-mode-switch.to-journey{font-size:20px!important;line-height:.78!important;letter-spacing:.02em!important}
  .vs-mode .game-logo-corner.vs-player-avatar{left:6px!important;top:5px!important;width:72px!important;height:96px!important;padding:4px!important;border:2px solid #74edff!important;border-radius:10px!important;background:linear-gradient(160deg,#102d42,#02080d 72%)!important;box-shadow:inset 0 0 14px #000b,0 0 12px #45dcff66!important;cursor:pointer!important;overflow:hidden!important}
  .vs-mode .game-logo-corner.vs-player-avatar .vs-avatar-placeholder{display:grid;width:100%;height:100%;place-items:end center;padding-bottom:7px;border:1px solid #ffffff20;border-radius:6px;background:radial-gradient(circle at 50% 33%,#53cbe044 0 17%,transparent 18%),radial-gradient(ellipse at 50% 82%,#53cbe044 0 31%,transparent 32%);color:#bff7ff;font:900 .46rem/1 "DM Mono",monospace;letter-spacing:.08em;text-shadow:0 1px #00171e}
  .vs-mode .game-logo-corner.vs-player-avatar .vs-player-avatar-art{position:absolute;left:50%;top:-2px;display:block;width:195%;max-width:none;height:auto;transform:translateX(-50%);filter:drop-shadow(0 4px 3px #000b)}
  .vs-mode .game-logo-corner.vs-player-avatar .vs-player-avatar-name{display:none}
  .vs-mode .table-head .headline{padding-left:12px!important}
  .vs-mode .goal-meter{padding-left:76px!important;grid-template-columns:minmax(0,1fr) 69px 92px!important}
  body.vs-mode.level4-max-value #availableHandsList .mobile-hand-row{font-size:.69rem!important;font-weight:700!important;line-height:1!important}
  body.vs-mode.level4-max-value #availableHandsList .mobile-hand-row span{font-size:.69rem!important;font-weight:700!important;line-height:1!important}
  body.vs-mode.level4-max-value #availableHandsList .mobile-hand-row span small{font-size:.65rem!important;font-weight:700!important;line-height:1!important}
  body.vs-mode.level4-max-value #availableHandsList .mobile-hand-row>b{font-size:.67rem!important;font-weight:700!important;line-height:1!important}
  body.stage2-finale #availableHandsList .gold-tier .mobile-hand-row{font-size:.74rem!important;line-height:1!important}
  body.stage2-finale #availableHandsList .gold-tier .mobile-hand-row span{font-size:.74rem!important;line-height:1!important}
  body.stage2-finale #availableHandsList .gold-tier .mobile-hand-row span small{font-size:.69rem!important;line-height:1!important}
  body.stage2-finale #availableHandsList .gold-tier .mobile-hand-row>b{font-size:.72rem!important;line-height:1!important}
  body.stage2-finale #availableHandsList .gold-tier .mobile-hand-row.long-hand span{font-size:.66rem!important}
  body.stage2-finale #availableHandsList .gold-tier .mobile-hand-row.long-hand span small{font-size:.63rem!important}
  body.stage2-finale #availableHandsList .gold-tier .mobile-hand-row.long-hand>b{font-size:.66rem!important}
}
.vs-avatar-picker{position:fixed;inset:0;z-index:500;display:none;place-items:center;padding:12px;background:#000d;backdrop-filter:blur(5px)}
.vs-avatar-picker.show{display:grid}
.vs-avatar-picker-card{width:min(370px,100%);max-height:calc(100dvh - 24px);overflow:auto;padding:15px;border:2px solid #74edff;border-radius:16px;background:radial-gradient(circle at 50% 0,#123d59,#030a11 68%);box-shadow:0 24px 70px #000,0 0 30px #39dfff66;text-align:center}
.vs-avatar-picker-card>small{color:#f4ce45;font:900 .62rem/1 "DM Mono",monospace;letter-spacing:.18em}
.vs-avatar-picker-card h2{margin:5px 0 3px;color:#fff;font:1000 1.18rem/1 "DM Mono",monospace;letter-spacing:.035em}
.vs-avatar-picker-card>p{margin:0 0 10px;color:#9bc5db;font:700 .56rem/1.25 "DM Mono",monospace}
.vs-avatar-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.vs-avatar-options button{position:relative;min-width:0;height:112px;padding:4px;border:1px solid #2e708e;border-radius:11px;background:linear-gradient(160deg,#102d42,#02080d 72%);box-shadow:inset 0 1px #ffffff18;cursor:pointer;overflow:hidden}
.vs-avatar-options button.selected{border-color:#f4ce45;box-shadow:inset 0 0 14px #f4ce4538,0 0 13px #f4ce4566}
.vs-avatar-options button.locked{cursor:not-allowed;filter:saturate(.12) brightness(.55)}
.vs-avatar-options button.locked:after{content:"";position:absolute;inset:0;background:#02070a6e}
.vs-avatar-options img{display:block;width:100%;height:86px;object-fit:cover;object-position:50% 12%;filter:drop-shadow(0 5px 4px #000b)}
.vs-avatar-options span{display:block;color:#d8fbff;font:900 .56rem/1 "DM Mono",monospace;letter-spacing:.045em}
.vs-avatar-options i{position:absolute;z-index:2;left:50%;top:50%;transform:translate(-50%,-50%);width:max-content;padding:6px 8px;border:1px solid #f4ce45;border-radius:7px;background:#05090de8;color:#ffe37a;font:900 .58rem/1 "DM Mono",monospace;font-style:normal;letter-spacing:.06em;box-shadow:0 0 12px #000}
.vs-avatar-picker-cancel{width:100%;margin-top:10px;padding:10px;border:1px solid #718896;border-radius:9px;background:#07121a;color:#c1d5df;font:800 .62rem/1 "DM Mono",monospace;cursor:pointer}
.game-info-links{display:flex;flex-wrap:wrap;gap:8px 14px;margin:18px 0}
.game-info-links a{display:inline-flex;align-items:center;min-height:44px;color:#91eefa;font:800 14px/1.3 "DM Mono",monospace;text-underline-offset:4px}
@media(max-width:380px){
  .vs-mode .game-logo-corner.vs-player-avatar{width:66px!important;height:92px!important}
  .vs-mode .table-head .headline{padding-left:12px!important}
  .vs-mode .goal-meter{padding-left:70px!important;grid-template-columns:minmax(0,1fr) 65px 84px!important}
}

/* Final phone reward treatment: readable icons and labels in separate zones. */
@media(max-width:600px){
  #grid .card.suit-wild:not(.reward-wild) > .suit{
    width:calc(100% - 10px)!important;
    font-size:clamp(.82rem,4.5vw,1.08rem)!important;
    line-height:1!important;
    letter-spacing:.015em!important;
    text-align:center!important;
    white-space:nowrap!important;
  }
  .rail>.reward-bank{
    height:calc(100% - var(--phone-action-stack-height) + 2px)!important;
    padding:5px 3px 2px!important;
  }
  .rail>.reward-bank .reward-bank-list{
    gap:2px!important;
  }
  .rail>.reward-bank .reward-count svg{
    top:5px!important;
    left:calc(50% - 6px)!important;
    width:38px!important;
    height:38px!important;
    max-width:none!important;
    max-height:none!important;
    transform:translateX(-50%)!important;
  }
  .rail>.reward-bank .reward-count>.reward-word-top{
    top:auto!important;
    bottom:15px!important;
  }
  .rail>.reward-bank .reward-count>.reward-word-bottom{
    top:auto!important;
    bottom:3px!important;
  }
  .rail>.reward-bank .reward-count>b{
    top:2px!important;
    right:3px!important;
  }
  body.stage-one-theme.level4-max-value #targetName{
    font-size:.72rem!important;
    line-height:1.3!important;
  }
  body.stage-one-theme.level4-max-value #availableHandsList{
    grid-template-rows:repeat(6,minmax(0,1fr))!important;
    overflow:hidden!important;
  }
  body.stage-one-theme.level4-max-value #availableHandsList .mobile-hand-row,
  body.stage-one-theme.level4-max-value #availableHandsList .mobile-hand-row span{
    font-size:.72rem!important;
    font-weight:700!important;
    line-height:1!important;
  }
  body.stage-one-theme.level4-max-value #availableHandsList .mobile-hand-row span small,
  body.stage-one-theme.level4-max-value #availableHandsList .mobile-hand-row>b{
    font-size:.68rem!important;
    font-weight:700!important;
    line-height:1!important;
  }
}
