/* Reference layout pass. Presentation only: no scripts, requests or data writes. */
.app.player {--page:#0e1b2c;--panel:#00101d;background:#0b0e14;color:#f6f7fb}
.app button,.app a {touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.app button { -webkit-user-select:none;user-select:none }
.app button:not(:disabled) {transition:background-color .12s ease,border-color .12s ease,filter .1s ease}
.app button:not(:disabled):active {filter:brightness(1.12)}
.app button:focus-visible,.app a:focus-visible {outline:2px solid #51c5d2;outline-offset:3px}
.player .slot-machine .machine-reels {pointer-events:none}
.player .slot-machine .machine-hit,.player .slot-machine .machine-spin,
.player .slot-machine .hot-bet,.player .slot-machine .stars-bet {touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.player .slot-machine .machine-hit:not(:disabled):active {background-color:#ffffff0d}
.player .slot-machine .machine-hit:focus-visible {outline:3px solid #ffe18d;outline-offset:-4px}
.player .machine-overlay .machine-settings button,.player .machine-overlay.sound-prompt button {min-height:44px}
.player .player-header {position:sticky;top:0;z-index:30;min-height:56px;border-bottom:1px solid #1b2b3b;gap:10px}
.player .player-header .brand {flex:0 0 auto;max-width:150px;white-space:nowrap}
.player .player-header .header-actions {gap:8px;min-width:0}
.player .balance-chip {font-variant-numeric:tabular-nums;white-space:nowrap;min-height:34px;padding:7px 9px}
.player .categories {gap:8px;padding:10px 8px}
.player .categories>button {flex:1 0 calc(25% - 8px);min-width:0;border:1px solid #132336}
.player .categories b {font-size:11px;letter-spacing:.2px}
.player .hero-wordmark {left:4%;top:4%;width:31%;height:10%;font-size:clamp(10px,2.8vw,27px);background:#0e1b2c;white-space:nowrap}
.player .deposit-actions {gap:10px;padding:12px 10px 20px}
.player .deposit-actions button {height:46px;border-radius:8px;font-size:16px}
.player .home-slot-heading {padding:18px 12px 12px;display:flex;align-items:center;justify-content:space-between}
.player .home-slot-heading h2 {font-size:18px}
.player .home-slot-heading button {color:#36c873;font-size:12px;min-height:36px}
.player .game-grid {gap:8px;padding:0 10px 18px;width:100%;min-width:0}
.player .game-card {min-width:0;border-radius:13px;overflow:hidden}
.player .game-card .game-tile {display:block;width:100%;border-radius:13px}
.player .game-tile img {aspect-ratio:1.46;object-fit:cover;width:100%;height:auto}
.player img[alt="Multi Hot 5"] {content:url('/assets/hot5-reference-card-v1.webp?pv=236')}
.player .game-tile>span {max-width:calc(100% - 12px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;left:6px;bottom:6px}
.player .favourite-button {top:7px;right:7px;bottom:auto;width:30px;height:30px;background:#00101dba}
.player .game-tabs {margin:0;min-height:48px;background:#00101d;border-bottom:1px solid #263747}
.player .game-tabs button {min-height:48px;font-size:13px;font-weight:700;border-radius:0}
.player .game-tabs button.active {background:#1d3044;color:#35c76c;border-bottom:3px solid #2ac568}
.player .game-search {min-height:44px;margin:10px;background:#00101d;border:1px solid #263849;border-radius:7px}
.player .game-search input {font-size:14px;min-height:42px}
.player .game-filter-panel {margin:0 10px 12px;padding:16px;border-radius:10px}
.player .player-main:has(>.game-tabs) {display:flex;flex-direction:column}
.player .player-main:has(>.game-tabs)>* {order:2}
.player .player-main:has(>.game-tabs)>.game-tabs {order:0}
.player .player-main:has(>.game-tabs)>.game-search {order:1}
.player .player-main:has(>.game-tabs)>.game-grid {order:3}
.player .player-main:has(>.game-tabs)>.provider-games {order:4;margin-top:12px}
.player .bottom-nav {min-height:64px;height:calc(64px + env(safe-area-inset-bottom,0px));padding-bottom:env(safe-area-inset-bottom,0px);box-shadow:0 -3px 12px #0002}
.player .bottom-nav button {min-height:56px;min-width:0;flex:1;font-size:11px}
.player .account-page {background:#0e1b2c;padding:8px 0 20px}
.player .account-page .player-panel {margin:10px 14px;padding:16px;border-radius:14px;background:#00101d}
.player .account-id {gap:14px;font-weight:600;overflow-wrap:anywhere}
.player .id-row {min-height:48px;padding:12px;gap:12px;border-radius:12px}
.player .profile-circle {width:56px;height:56px;flex-shrink:0}
.player .balance-value {font-variant-numeric:tabular-nums}
.player .player-dialog {overscroll-behavior:contain}
.player .drawer {overscroll-behavior:contain;padding-bottom:calc(20px + env(safe-area-inset-bottom,0px))}
.player .drawer>button {min-height:48px;border-bottom:1px solid #162638}

/* Agent screenshots: navy header, continuous white account rows and pale inputs. */
.app.agent {background:#f7f7fc;color:#202034;--teal:#069bb4;--muted:#9ca0b5}
.agent .agent-header {position:sticky;top:0;z-index:30;background:#191927;min-height:56px;box-shadow:0 1px 0 #29283b}
.agent .agent-header .icon-button {min-height:40px}
.agent .agent-main {max-width:1160px;margin:0 auto;padding-bottom:calc(30px + env(safe-area-inset-bottom,0px))}
.agent .page-heading {padding:14px 16px;min-height:64px;gap:12px}
.agent .page-heading h1 {font-size:20px;line-height:1.3;overflow-wrap:anywhere}
.agent .page-heading .icon-button {width:40px;height:40px;border-radius:9px;background:#f0f0f8;color:#a3a5ba}
.agent .account-list {display:flex;flex-direction:column;gap:0;background:#fff;border-radius:16px;overflow:hidden}
.agent .account-card {border-radius:0;border-bottom:1px solid #ededf3;background:#fff;padding:18px 44px 18px 16px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:14px;row-gap:16px;min-height:194px}
.agent .account-card:last-child {border-bottom:0}
.agent .account-card>div {min-width:0}
.agent .account-card label {font-size:13px;color:#9fa1b5;line-height:1.3;margin-bottom:7px}
.agent .account-card b,.agent .account-card>div>span {font-size:15px;line-height:1.35;overflow-wrap:anywhere}
.agent .account-card .user-link {color:#222236;font-size:16px;font-weight:500;line-height:1.35;display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}
.agent .account-card .card-tools {right:8px;top:14px;gap:4px}
.agent .card-tools .icon-button {width:36px;min-height:40px;color:#a4a5ba;border-radius:6px}
.agent .account-card>div:nth-child(2) {padding-right:0}
.agent .badge {border-radius:4px;padding:3px 7px;font-size:14px;line-height:1.25;display:inline-block;width:max-content}
.agent .badge.active {background:#e0f7ed;color:#169e6d}
.agent .badge.blocked {background:#fde4ef;color:#d93189}
.agent .metric-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0 12px}
.agent .metric {min-width:0;padding:18px 16px;border:1px solid #efeff5;border-radius:12px;background:#fff;box-shadow:0 2px 8px #1a193304}
.agent .metric label {font-size:12px;color:#9397ac;line-height:1.4}
.agent .metric strong {font-size:clamp(19px,2.3vw,28px);font-variant-numeric:tabular-nums;overflow-wrap:anywhere;line-height:1.3;margin-top:12px}
.agent .account-totals {margin:0 12px 14px;border:1px solid #efeff5;box-shadow:none}
.agent .white-card {border:1px solid #efeff5;border-radius:12px;padding:18px;margin:12px}
.agent .transaction-card {grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px 18px;border-color:#efeff5;padding:18px 14px;min-width:0}
.agent .transaction-card label {font-size:11px;color:#989cb0}
.agent .transaction-card b,.agent .transaction-card span {overflow-wrap:anywhere;font-variant-numeric:tabular-nums;min-width:0}
.agent .field {min-width:0}
.agent .field input,.agent .field select,.agent .field textarea {background:#f7f7fb;color:#252639;border:1px solid #ececf3;min-height:43px;border-radius:5px;padding:11px 12px;max-width:100%}
.agent .field input:focus,.agent .field select:focus,.agent .field textarea:focus {outline:2px solid #56b6c655;outline-offset:1px;border-color:#65bdcc}
.agent .account-tabs {scrollbar-width:thin;scrollbar-color:#d6d6e5 transparent;gap:22px;margin-top:14px;overscroll-behavior-x:contain}
.agent .account-tabs button {min-height:46px;flex-shrink:0}
.agent .facility-metrics {gap:16px;min-width:0}
.agent .facility-metrics b {font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.agent .bottom-sheet {max-height:94dvh;overscroll-behavior:contain;padding-bottom:env(safe-area-inset-bottom,0px)}
.agent .dialog-title {min-height:58px;background:#fff}
.agent .dialog-title h2 {font-size:17px;color:#262639}
.agent .dialog-title>.icon-button {min-height:36px;min-width:36px}
.agent .balance-detail {min-height:48px;gap:14px}
.agent .teal {background:#079bb5;color:white;border-radius:5px;min-height:42px}
.agent .agent-login-page {background:#fff;padding-top:22px}
.agent .agent-login-page .agent-login {width:100%;max-width:440px;margin:8vh auto 0;padding:24px 10px}
.agent .agent-login-page .agent-login h1 {font-size:32px;line-height:1.25;letter-spacing:-.6px;margin:12px 0 30px}
.agent .agent-auth-form .field input {min-height:44px;background:#f7f7fb;border:1px solid #efeff5}
.agent .agent-auth-form .field>span {color:#303043;font-size:13px;font-weight:600}
.agent .agent-auth-form .teal {min-height:44px;font-weight:600;margin-top:3px}
@media(min-width:760px){
 .player .player-main:has(>.categories) {display:grid;grid-template-columns:minmax(0,2fr) minmax(240px,1fr);column-gap:18px;align-items:start;padding:0 16px 80px}
 .player .player-main:has(>.categories)>.categories {grid-column:1/-1;padding-left:0;padding-right:0}
 .player .player-main:has(>.categories)>.hero-art {grid-column:1;grid-row:2/4;margin:0}
 .player .player-main:has(>.categories)>.deposit-actions {grid-column:2;grid-row:2;display:flex;flex-direction:column;padding:20px 0 12px}
 .player .player-main:has(>.categories)>.rebrand-race {grid-column:2;grid-row:3;margin:0}
 .player .player-main:has(>.categories)>.home-slot-heading,
 .player .player-main:has(>.categories)>.game-grid,
 .player .player-main:has(>.categories)>.native-lobby,
 .player .player-main:has(>.categories)>.provider-games {grid-column:1/-1}
 .player .player-main:has(>.categories)>.game-grid {grid-template-columns:repeat(3,minmax(0,1fr));padding:0 0 18px}
 .player .player-main:has(>.game-tabs)>.game-grid {grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:0 14px 22px}
 .player .game-tile>span {font-size:12px}
 .agent .agent-main {padding:0 20px 35px}
 .agent .metric-grid {grid-template-columns:repeat(4,minmax(0,1fr))}
 .agent .account-card {padding:22px 55px 22px 22px;column-gap:30px}
 .agent .account-card label {font-size:13px}
 .agent .account-card b {font-size:15px}
 .agent .page-heading h1 {font-size:23px}
}
@media(max-width:400px){
 .player .player-header {padding-left:10px;padding-right:10px;gap:5px}
 .player .player-header .register-button,.player .player-header .login-button {padding:0 8px;gap:4px;font-size:11px}
 .player .player-header .header-actions {gap:5px}
 .agent .account-card {column-gap:10px;padding-left:14px;row-gap:14px}
 .agent .account-card .user-link {font-size:14px}
 .agent .account-card b,.agent .account-card>div>span {font-size:13px}
 .agent .agent-header .header-actions {gap:7px}
 .agent .field input,.player .field input {font-size:16px}
}
@media(prefers-reduced-motion:reduce){.app button:not(:disabled){transition:none}}
