/* Presentation only. No clocks, camera or game rules changed. */
.kr-page{padding:16px;box-sizing:border-box;min-width:0}
.kr-brand .kl-ring{width:76px;height:76px;margin-bottom:9px}.kr-brand .kl-ring img{width:62px;height:62px}.kr-brand .kl-game{font-size:20px!important;margin-bottom:14px!important}
.kl-home>.kr-brand{margin:4px auto 14px}.kl-home:has(>.kr-brand) .system-hero{display:none}
[data-system-screen="result"].kl-scene{padding:20px;box-sizing:border-box}.kl-scene .system-crown{display:none}
body[data-racing-finish="dragrace"] .race-shift{border-color:#f0c76c!important;background:linear-gradient(155deg,#584522,#191d25 72%)!important;color:#fff0bc!important;text-transform:uppercase;letter-spacing:.06em}
body[data-racing-finish="dragrace"] .race-nitro{border-color:#72c5ea!important;background:linear-gradient(155deg,#183e51,#111923)!important;color:#b9ecff!important}
body[data-racing-finish="dragrace"] .race-shift.perfect{border-color:#a2f3b5!important;background:linear-gradient(145deg,#245e3c,#152a22)!important;color:#e3ffe9!important;box-shadow:inset 0 0 0 1px #a2f3b5,0 0 22px #55ce7f55!important}
body[data-racing-finish="dragrace"] .race-shift.perfect #shift-hint{color:#d2ffe0!important;font-weight:800}
body[data-racing-finish="dragrace"] .race-nitro.pressed{box-shadow:inset 0 0 0 2px #a5e7ff,0 0 22px #54bfea66!important}
body[data-racing-finish="dragrace"] .car-specs,body[data-racing-finish="dragrace"] .upgrade-grid>*,body[data-racing-finish="citychase"] .car-stats{border:1px solid #d5b16b55;background:linear-gradient(145deg,#242529cc,#0f141cdd);border-radius:12px}
body[data-racing-finish="citychase"] .nitro-btn{border-color:#68c5ef!important;background:linear-gradient(145deg,#23495c,#101a25)!important;color:#bdefff!important}
body[data-racing-finish="citychase"] .nitro-btn.held{box-shadow:inset 0 0 0 2px #b0e9ff,0 0 20px #54bfea55!important}
body[data-racing-finish="citychase"] .speedo{color:#fff0c9;text-shadow:0 2px 8px #000}
body[data-racing-finish="supercars"] .stat-picker button[aria-pressed="true"],body[data-racing-finish="supercars"] .stat-picker .selected{box-shadow:inset 0 0 0 2px #ffe4a0,0 0 18px #cda54a44}
body[data-racing-finish="supercars"] .card-large{border-color:#ddba72;filter:drop-shadow(0 5px 9px #0005)}
@media(max-width:370px){.kr-page{padding:12px}.kr-brand .kl-ring{width:66px;height:66px}.kr-brand .kl-ring img{width:54px;height:54px}}
.game-shell .match-hud{background:linear-gradient(110deg,rgba(8,12,19,.94),rgba(28,26,20,.92));border-bottom:1px solid #dab56288;box-shadow:0 4px 15px #0005,inset 0 1px #fff1}
.match-hud .time-box,.match-hud .speedo,.match-hud .score-box{font-variant-numeric:tabular-nums;letter-spacing:.04em;color:#fff1cb;text-shadow:0 1px 3px #000}
.game-shell .race-controls button,.game-shell .pedal{background:linear-gradient(150deg,#343126,#12161d 55%,#22201b);border-color:#d5af5b99;box-shadow:inset 0 1px 0 #fff3,0 3px 10px #0006;transition:background-color .1s,box-shadow .1s}
.game-shell .race-controls button:active,.game-shell .race-controls button.held,.game-shell .pedal.held,.game-shell .pedal:active{background:linear-gradient(140deg,#69552b,#2a291f);box-shadow:inset 0 0 0 2px #ffe49a,0 0 14px #efc35d45}
.game-shell .joystick{box-shadow:inset 0 0 0 1px #d9b86a66,inset 0 5px 20px #0008,0 2px 10px #0005}
[data-system-screen="result"]{background:radial-gradient(ellipse at 50% 0,#70552635,transparent 60%),linear-gradient(150deg,#181b22,#090c12);border:1px solid #c5a45b88;box-shadow:inset 0 1px 0 #fff1,0 12px 32px #0005}
[data-system-screen="result"] .system-score{font-variant-numeric:tabular-nums;color:#ffe0a0;text-shadow:0 2px 10px #bb852b44}
[data-system-screen="result"] .result-table{border-collapse:separate;border-spacing:0 5px;font-variant-numeric:tabular-nums}
[data-system-screen="result"] .result-table tr:first-child td{background:#c5a45b18;border-top:1px solid #d9b86a55;border-bottom:1px solid #d9b86a55}
[data-system-screen="result"] .result-trophy{filter:drop-shadow(0 3px 9px #d7a84244)}
.battle-header{background:linear-gradient(110deg,#111720f5,#282219f2);border-bottom:1px solid #d6b36488;font-variant-numeric:tabular-nums}
.battle-score{color:#ffe1a4;text-shadow:0 2px 9px #0008}
.battle-card,.battle-cinema .car-card{box-shadow:inset 0 1px 0 #fff2,0 6px 22px #0006}
.battle-stat:active,.battle-stat.selected{box-shadow:inset 0 0 0 2px #f4d486,0 0 12px #d5ad5344}
@media(prefers-reduced-motion:reduce){.game-shell .race-controls button,.game-shell .pedal{transition:none}}
/* The shared .kl-money .kl-stake rule outranks .kl-stake-wrap input.
   Use an owned, higher-specificity rule so raw and formatted values never overlap. */
body[data-racing-finish] .kl-money .kl-stake-wrap > input.kl-stake{color:transparent!important;-webkit-text-fill-color:transparent!important;caret-color:#f1d497!important}
body[data-racing-finish] .kl-money .kl-stake-wrap:focus-within > input.kl-stake{color:#f1d497!important;-webkit-text-fill-color:#f1d497!important}
body[data-racing-finish] .kl-money .kl-stake-wrap:focus-within > .kl-stake-display{display:none!important}
body[data-racing-finish] .kl-money .kl-stake-wrap > .kr-stake-fiat{display:block;position:static;margin:7px 0 3px;text-align:center;font-size:12px;line-height:1.5;color:#c5b99d}
body[data-racing-finish] .kl-money .kl-stake-display{bottom:auto;min-height:62px;max-width:100%;font-size:clamp(18px,5.4vw,30px)}
/* A fixed game footer/sound pill covered Coin Rooms actions at 412px.
   Keep both real controls accessible without overlaying the long owner/player page. */
body.kr-coin-page .nav{position:static!important;height:auto;min-height:77px}
body.kr-coin-page .sound-toggle{position:static!important;display:flex;width:max-content;margin:12px 16px;max-width:calc(100% - 32px)}
body.kr-coin-page #app{padding-bottom:16px}
