#game-room[data-game="highlow"] #stage{height:auto;min-height:340px;padding:22px 12px}
.high-scene{width:100%;display:flex;flex-direction:column;align-items:center;gap:16px;text-align:center}
.high-round-label,.high-round-cards small{font-size:11px;letter-spacing:.12em;color:#b4c8dc}
.high-round-cards{display:flex;align-items:center;justify-content:center;gap:18px}
.high-round-cards>div{display:flex;flex-direction:column;align-items:center;gap:10px}
#game-room[data-game="highlow"] .high-round-cards .playing-card{width:92px;height:132px;min-width:0;margin:0;font-size:24px}
.high-arrow{font-size:26px;color:#b4c8dc}
.high-receipt{margin:0;font-size:15px}
.high-next{width:min(100%,360px);box-sizing:border-box;border:1px solid #51829a;border-radius:12px;padding:12px;background:#14354a;font-size:11px;letter-spacing:.06em;color:#c5dae5}
.high-next strong{display:block;color:white;font-size:25px;letter-spacing:0;margin:5px}
.high-next small{display:block;letter-spacing:0;line-height:1.5;font-size:12px}
@media(max-width:400px){.high-round-cards{gap:12px}#game-room[data-game="highlow"] .high-round-cards .playing-card{width:78px;height:116px}.high-round-cards small{font-size:10px}}
/* Continuous card run: reference-style controls, single card and rank rail. */
#game-room[data-game="highlow"] .room-title,#game-room[data-game="highlow"]>.history-bar{display:none}
#game-room[data-game="highlow"] .table-panel{background:radial-gradient(ellipse at 50% 52%,#5b3b7840,transparent 65%),#202a38!important;min-height:650px;padding:12px 28px!important}
#game-room[data-game="highlow"] #stage{padding:0;min-height:600px}
#game-room[data-game="highlow"] #choices{display:flex;flex-direction:column;gap:10px}
#game-room[data-game="highlow"] #choices .hl-pick{display:flex;gap:12px;align-items:center;text-align:left;min-height:66px;padding:12px;border-radius:9px;box-shadow:none}
.hl-pick strong{font-size:12px;text-transform:uppercase;display:block}.hl-pick small{font-size:11px;display:block;margin-top:5px;font-weight:500;line-height:1.4}.hl-pick-icon{display:grid;place-items:center;width:30px;height:30px;flex-shrink:0;font-size:22px;border-radius:50%;background:#ffffff20}
#game-room[data-game="highlow"] #choices .hl-higher{background:#197654;border:1px solid #3dc99b;color:#e0fff4}#game-room[data-game="highlow"] #choices .hl-lower{background:#8a3b51;border:1px solid #df7896;color:#fff0f4}
#game-room[data-game="highlow"] #actions{margin-top:auto}#game-room[data-game="highlow"] #actions .primary{background:#b18ae5;border:1px solid #d6b0ff;color:#1d122e;min-height:54px}.hl-cashout-hint{font-size:11px;color:#b4c1d1;text-align:center;display:block;margin-top:8px}
.hl-board{display:flex;flex-direction:column;align-items:center;width:100%;min-height:600px;padding:28px 0 14px}.hl-total{text-align:center}.hl-total>span{display:block;font-size:10px;letter-spacing:.1em;color:#b7c6d7}.hl-total>strong{display:block;font-size:36px;line-height:1.3;color:#53e8b0;letter-spacing:-1px}.hl-total>small{font-size:11px;color:#8e9eb3}
.hl-center{display:flex;align-items:center;justify-content:center;gap:22px;flex:1;min-height:260px;padding-top:36px}.hl-card{position:relative;width:122px;height:176px;background:#fffdf8;border:3px solid #ecedf1;border-radius:11px;box-shadow:0 8px 24px #0004;color:#263445;display:grid;place-items:center;transform:rotate(3deg)}.hl-card>b{font-size:58px;font-weight:400}.hl-corner{position:absolute;top:8px;left:8px;font-size:18px;line-height:1;text-align:center;font-weight:700}.hl-corner i{font-size:14px;display:block;font-style:normal;margin-top:3px}.hl-bottom{top:auto;left:auto;right:8px;bottom:8px;transform:rotate(180deg)}.hl-red{color:#e65c7a}.hl-placeholder{background:#2e2646;border-color:#8360b1;color:#ccacef}.hl-deck{width:66px;height:98px;border-radius:9px;display:grid;place-items:center;box-shadow:3px 3px 0 #21182e,0 6px 18px #0005;background:repeating-linear-gradient(45deg,#754ba8 0,#754ba8 3px,#6a4299 3px,#6a4299 6px);border:4px double #b88ce7;color:#e6c9ff;font-size:36px;transform:rotate(-4deg)}
.hl-ranks{display:flex;gap:5px;justify-content:center;flex-wrap:wrap;margin-top:10px}.hl-ranks>span{display:grid;place-items:center;width:23px;height:26px;background:#354353;color:#bbcadc;font-size:11px;font-weight:650;border-radius:5px}.hl-ranks>.hl-current{background:#f6f4ff;color:#5d4287;box-shadow:0 0 15px #bf91fb70}.hl-extremes{display:flex;justify-content:space-between;width:100%;max-width:359px;font-size:10px;color:#92a4bc;margin-top:8px}
.hl-history{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;min-height:75px;margin-top:48px}.hl-history>div{position:relative;text-align:center}.hl-history small{font-size:10px;color:#aab9cb}.hl-card.hl-small{width:30px;height:43px;border-width:1px;border-radius:4px;transform:none}.hl-small .hl-corner{font-size:8px;top:3px;left:3px}.hl-small .hl-corner i,.hl-small .hl-bottom{display:none}.hl-card.hl-small>b{font-size:15px}.hl-correct:after,.hl-wrong:after{content:'';position:absolute;right:-3px;top:-4px;width:9px;height:9px;border:2px solid #24303d;background:#59dfae;border-radius:50%}.hl-wrong:after{background:#e97796}.hl-note{font-size:12px;min-height:20px;color:#b8c5d6;text-align:center;margin:12px 0 0}.hl-cashed .hl-center>.hl-card,.hl-winning .hl-center>.hl-card{box-shadow:0 0 24px #42df9860;border-color:#59e2b0}.hl-lost .hl-center>.hl-card{border-color:#e27793}.hl-lost .hl-total>strong{color:#e78ca3}
@media(max-width:700px){#game-room[data-game="highlow"] .table-panel{padding:12px!important;min-height:480px}#game-room[data-game="highlow"] #stage,.hl-board{min-height:440px}.hl-board{padding-top:12px}.hl-center{min-height:210px;padding-top:15px}.hl-card{width:98px;height:144px}.hl-total>strong{font-size:30px}.hl-history{margin-top:30px;gap:7px}.hl-ranks{gap:3px}.hl-ranks>span{width:19px;height:24px}}
@media(prefers-reduced-motion:no-preference){.hl-center>.hl-card{animation:hl-card-in .18s ease-out}@keyframes hl-card-in{from{opacity:.4;transform:translateY(6px) rotate(0)}to{opacity:1;transform:translateY(0) rotate(3deg)}}}
