/* Compact player lounge, separate wallet/profile, and desktop operational overview. */
svg.lucide{width:20px;height:20px;flex-shrink:0;stroke-width:1.8}
.player-mode{background:#0b2019;padding-bottom:90px}
.player-mode .topbar{height:64px;min-height:64px;padding:10px 5%;box-shadow:none;border-bottom:1px solid #766439}
.player-mode main{padding-top:18px}
.player-mode .brand-mark{width:36px;height:36px;font-size:22px}
.player-mode .brand b{font-size:22px}
.player-mode #logout{display:none}
.player-mode .identity{font-size:12px;color:#bbc5bc}
.player-page{min-width:0}
.lounge-account{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.account-greeting{display:flex;align-items:center;gap:10px}
.account-greeting small{display:block;font-size:10px;color:#a6b9ac;margin-bottom:4px}
.account-greeting b{font-size:15px;max-width:160px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.player-avatar{width:38px;height:38px;display:grid;place-items:center;flex-shrink:0;border-radius:50%;background:#66303b;border:2px solid #dbb979;color:#ffe2a4;font-weight:bold}
.chip-shortcut{display:flex;align-items:center;gap:8px;border:1px solid #6a6941;border-radius:4px;background:#223525;color:#ffdda0;padding:9px 10px;min-height:42px;font-size:15px}
.chip-shortcut svg:last-child{width:14px}
#player-panel .scene-band.spotlight{height:205px;position:relative;margin:0;border:0;border-top:2px solid #9b834c;border-bottom:2px solid #9b834c;box-shadow:none}
#player-panel .spotlight .scene-caption{left:24px;top:28px;max-width:330px;background:transparent;padding:0;border:0;pointer-events:auto}
.spotlight-kicker{font-size:9px;color:#d2b16e;font-weight:bold}
#player-panel .spotlight h1{font-size:30px;color:#ffdea1;text-shadow:0 3px 2px #0009;margin:10px 0 8px}
#player-panel .spotlight p{font-size:12px;color:#b4cbbc;margin:0 0 20px}
#player-panel .spotlight .button{min-height:38px;font-size:12px;padding:9px 15px;width:auto}
.daily-strip{display:flex;justify-content:space-between;align-items:center;background:#20382b;border-bottom:1px solid #46573b;padding:11px 16px;gap:10px;margin-bottom:24px}
.daily-strip>span{display:flex;align-items:center;gap:7px;font-size:12px;color:#becbbc}
.daily-strip svg{color:#ebcb84;width:18px;height:18px}
.daily-strip b{color:#f7d897;font-weight:normal}
.daily-strip .button{background:#65303a;border-color:#9e6d5a;color:#ffe0b1;min-height:32px;padding:5px 12px;font-size:11px;white-space:nowrap}
#player-panel .game-heading{margin:0 0 15px}
#player-panel .game-heading h2{font-size:22px}
#player-panel .game-heading .live-pill{font-size:10px;background:#193d2c;color:#b7d6b7;border-color:#456b4b}
.game-filters{display:flex;gap:8px;margin-bottom:16px}
.game-filters button,.segmented button,.record-tabs button,.room-game-tabs button{min-height:38px;padding:8px 16px;border:1px solid #45604c;border-radius:4px;background:transparent;color:#acc2b0;white-space:nowrap;font-size:12px}
.game-filters button[aria-pressed=true],.room-game-tabs button[aria-pressed=true]{background:#e1bf76;color:#223224;border-color:#ebcb84;font-weight:bold}
#player-panel .game-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
#player-panel .game-card{display:block;min-height:0;border-width:1px;box-shadow:0 6px 14px #0004;border-radius:6px}
#player-panel .game-card::after{inset:3px}
#player-panel .game-art{height:180px;min-height:0}
#player-panel .game-copy{padding:16px 18px}
#player-panel .game-copy .tag{padding:3px 6px;font-size:9px}
#player-panel .game-copy h3{font-size:24px;margin:10px 0 6px}
#player-panel .game-copy p{font-size:12px;min-height:0;margin:0 0 13px;color:#aebfaf}
#player-panel .game-copy .button{padding:9px 12px;justify-content:center;font-size:12px;min-height:40px;width:100%}
.lounge-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:24px}
.lounge-shortcuts button{display:flex;align-items:center;gap:12px;padding:18px 0;border:0;border-top:1px solid #486047;border-bottom:1px solid #324c3b;background:transparent;color:#e3dcbb;text-align:left;min-width:0}
.lounge-shortcuts button>svg:first-child{color:#d5b36d;width:25px;height:25px}
.lounge-shortcuts button>svg:last-child{margin-left:auto;width:15px}
.lounge-shortcuts b{display:block;font-size:14px;font-weight:normal;margin-bottom:5px}
.lounge-shortcuts small{color:#94af9c;font-size:10px}
.lounge-footnote{color:#839c8b;font-size:10px;text-align:center;margin:24px 0 0}
.player-navigation{position:fixed;bottom:0;left:0;right:0;height:calc(66px + env(safe-area-inset-bottom));padding:0 5% env(safe-area-inset-bottom);display:flex;justify-content:center;gap:55px;background:#10261ef7;border-top:1px solid #7a7247;z-index:120}
.player-navigation button{position:relative;display:grid;align-content:center;justify-items:center;gap:4px;width:85px;color:#8ea997;border:0;background:transparent;font-size:11px;min-height:60px}
.player-navigation button svg{width:22px;height:22px}
.player-navigation button[aria-current=page]{color:#f3d18b}
.player-navigation button[aria-current=page]::before{content:'';position:absolute;top:0;width:22px;height:2px;background:#e6c584}
.player-page-heading{display:flex;justify-content:space-between;align-items:center;margin:7px 0 23px}
.player-page-heading h1{font-size:25px;color:#f7dcaa;margin:0}
#wallet-page,#profile-page{max-width:760px;margin:auto}
.wallet-balance{padding:24px 0;border-bottom:1px solid #586144;display:grid;gap:9px}
.wallet-balance small{color:#a0b7a7;font-size:12px}
.wallet-balance strong{font-size:38px;color:#ffdc93;font-variant-numeric:tabular-nums}
.wallet-balance span{font-size:11px;color:#879f8e}
.wallet-form{padding:24px 0;display:grid;gap:18px}
.segmented{display:grid;grid-template-columns:1fr 1fr;gap:0;border:1px solid #6a6542;border-radius:4px;overflow:hidden}
.segmented button{border:0;border-radius:0;min-height:44px}
.segmented button[aria-pressed=true]{background:#7a2e3c;color:#ffe1a7;font-weight:bold}
.wallet-form label{font-size:12px;color:#a7bdaa}
.wallet-form .button{justify-content:center;gap:12px;min-height:46px}
.record-tabs{display:flex;gap:16px;border-bottom:1px solid #35513e;padding-top:12px;margin-top:10px}
.record-tabs button{border:0;border-radius:0;padding:12px 2px;background:transparent;color:#8ca791}
.record-tabs button[aria-pressed=true]{border-bottom:2px solid #e3bf70;color:#f3d69c}
.wallet-records{min-height:110px}
.wallet-record{display:flex;justify-content:space-between;gap:16px;padding:18px 0;border-bottom:1px solid #314d39}
.wallet-record>div{display:grid;gap:7px;align-content:start;min-width:0}
.wallet-record>div:last-child{text-align:right;flex-shrink:0}
.wallet-record b{font-size:13px;font-weight:normal;color:#dce5cf}
.wallet-record small{font-size:10px;line-height:1.6;color:#819f8c;overflow-wrap:anywhere;max-width:350px}
.wallet-record .request-status{font-size:10px;padding:3px 6px;background:#334533;border-radius:3px;color:#d1c790;justify-self:end}
.wallet-record .status-approved{color:#9fe0b0}.wallet-record .status-rejected{color:#e99fa5}
.wallet-record .amount-positive b{color:#99dcb0}.wallet-record .amount-negative b{color:#e9a4ab}
.records-empty{padding:30px 0;text-align:center;color:#83a28d;font-size:12px}
.profile-identity{display:grid;justify-items:center;padding:20px 0 28px}
.player-avatar.large{width:62px;height:62px;font-size:25px;border-width:3px}
.profile-identity h2{font-size:22px;margin:14px 0 5px;overflow-wrap:anywhere;max-width:100%}
.profile-identity p{color:#89a690;font-size:11px;margin:0}
.profile-detail{display:flex;align-items:center;gap:12px;min-height:64px;border-bottom:1px solid #35513e;font-size:12px;min-width:0}
.profile-detail>span{color:#9db4a2;flex-shrink:0}.profile-detail code{font-size:11px;overflow-wrap:anywhere;flex:1;color:#ccd9c8}.profile-detail b{margin-left:auto;color:#edcf8f}
.icon-button{width:40px;height:40px;display:grid;place-items:center;border:0;border-radius:4px;background:transparent;color:#b8c9b5;flex-shrink:0}
.profile-link{display:flex;width:100%;align-items:center;justify-content:space-between;min-height:60px;background:transparent;color:#d3ddca;border:0;border-bottom:1px solid #35513e;font-size:13px;padding:12px 0}
#profile-logout{margin-top:30px;width:100%;justify-content:center;color:#f0a3aa;border-color:#6a4a48}
.notice-heading{display:flex;align-items:center;justify-content:space-between}.notice-heading h2{margin:0;font-size:22px}
#notices-dialog article{padding-top:24px;border-bottom:1px solid #3f5345}#notices-dialog h3{font-size:16px;margin:15px 0 10px}#notices-dialog p{color:#a9b8ab;font-size:13px;line-height:1.8}
.room-game-tabs{display:flex;gap:8px;overflow:auto;padding-bottom:10px}
.overview-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 28px;margin:24px 0 32px;border-top:1px solid var(--line)}
.overview-metrics>div{padding:25px 0;border-bottom:1px solid var(--line)}
.overview-metrics small{color:#99aaa1;font-size:12px;display:block;margin-bottom:13px}.overview-metrics strong{font-size:28px;font-weight:normal;color:#ece6cf;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.overview-actions{display:flex;gap:12px;margin-bottom:20px}
.player-mode .status{position:fixed;top:72px;left:50%;transform:translateX(-50%);z-index:130;max-width:calc(100% - 32px);width:max-content;box-shadow:0 5px 18px #0008}
@media(max-width:680px){
  .player-mode .topbar{height:57px;min-height:57px;padding:8px 16px}
  .player-mode .brand-mark{height:31px;width:31px;font-size:19px}.player-mode .brand b{font-size:19px}.player-mode .brand small{font-size:7px}
  .player-mode main{padding:14px 16px 22px}
  .lounge-account{margin-bottom:12px}.account-greeting small{font-size:9px}.account-greeting b{max-width:100px;font-size:13px}.player-avatar{width:33px;height:33px;font-size:12px}
  .chip-shortcut{gap:5px;font-size:13px;min-height:38px;padding:7px 9px}.chip-shortcut svg{width:15px;height:15px}
  #player-panel .scene-band.spotlight{height:156px;margin:0}
  #player-panel .spotlight .scene-caption{left:14px;top:20px;max-width:155px;background:transparent;padding:0;border:0}
  #player-panel .spotlight h1{font-size:21px;max-width:140px;line-height:1.3;margin:8px 0 6px}
  .spotlight-kicker{font-size:7px}#player-panel .spotlight p{font-size:10px;margin-bottom:13px}#player-panel .spotlight .button{min-height:33px;font-size:11px;padding:6px 11px;gap:10px}
  .daily-strip{padding:8px 12px;margin-bottom:20px}.daily-strip>span{font-size:10px;gap:5px}.daily-strip .button{min-height:30px}
  #player-panel .game-heading{margin-bottom:10px}#player-panel .game-heading h2{font-size:19px}.game-filters{gap:6px;margin-bottom:12px}.game-filters button{font-size:11px;padding:6px 13px;min-height:32px}
  #player-panel .game-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
  #player-panel .game-card{display:block;min-height:0}
  #player-panel .game-art{height:114px;min-height:0}
  #player-panel .game-copy{padding:10px 7px 12px}
  #player-panel .game-copy .tag{font-size:8px;padding:2px 4px;background:transparent;border:0;color:#d5b877}
  #player-panel .game-copy h3{font-size:16px;margin:7px 0 5px;white-space:nowrap}
  #player-panel .game-copy p{font-size:9px;min-height:0;margin:0 0 10px}
  #player-panel .game-copy .button{min-height:32px;font-size:10px;padding:6px 5px;gap:0;white-space:normal}
  .lounge-shortcuts{gap:16px;margin-top:20px}.lounge-shortcuts button{padding:14px 0;gap:8px}.lounge-shortcuts b{font-size:12px}.lounge-shortcuts small{font-size:9px}.lounge-shortcuts button>svg:first-child{width:20px;height:20px}.lounge-shortcuts button>svg:last-child{width:12px}
  .lounge-footnote{margin-top:17px;font-size:9px}
  .player-navigation{justify-content:space-around;gap:0;padding-left:10px;padding-right:10px;height:calc(63px + env(safe-area-inset-bottom))}.player-navigation button{width:25%;font-size:10px;min-height:60px}
  .player-navigation button svg{width:21px;height:21px}
  .player-page-heading{margin-top:6px}.player-page-heading h1{font-size:23px}.wallet-balance{padding:15px 0 23px}.wallet-balance strong{font-size:35px}.wallet-form{gap:16px;padding:22px 0}.wallet-record small{max-width:200px}
  .overview-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.overview-metrics strong{font-size:24px}.overview-actions{flex-wrap:wrap}
}
@media(max-width:359px){#player-panel .game-grid{gap:6px}#player-panel .game-copy{padding:9px 5px}#player-panel .game-copy h3{font-size:14px}.lounge-shortcuts{gap:10px}.account-greeting b{max-width:78px}}
.account-email { min-width: 0; max-width: 65%; overflow-wrap: anywhere; text-align: right; }
.admin-portal .auth-layout { display: grid; grid-template-columns: minmax(0, 420px); justify-content: center; min-height: 65vh; align-items: center; }
