/* Billiard369 3.5 — one readable interface, live lettering, original artwork. */
:root{--bg:#090e1d;--panel:#131e34;--muted:#abb9d1;--line:#34435e;--mint:#65e5c2;--cyan:#65e5c2;--gold:#f3d58b;--ink:#f4f7ff;--safe:env(safe-area-inset-bottom,0px);color-scheme:dark}
*{box-sizing:border-box}
html{scroll-padding-bottom:100px}
body,body:has(.club-lobby){margin:0;background:#090e1d;color:var(--ink);font-family:'B369 Khmer','Noto Sans Khmer',system-ui,sans-serif;font-size:15px;line-height:1.65;-webkit-text-size-adjust:100%;text-rendering:optimizeLegibility}
button,input,select,textarea{font-family:inherit}
button{min-height:44px;border:1px solid #3a4964;border-radius:13px;background:#19263e;color:#edf3ff;font-size:13px;font-weight:650;box-shadow:none;touch-action:manipulation;transition:background-color .16s,border-color .16s}
button:hover:not(:disabled){background:#22334e;border-color:#6a87a8;filter:none}
button:active:not(:disabled){background:#2b4060}
button:disabled{cursor:not-allowed;opacity:.55}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #82f2d1;outline-offset:3px}
.primary,.gold,.mint,.purple{background:#6ce8c3;color:#09251f;border:1px solid #98f4d8;box-shadow:none}
.primary:hover:not(:disabled),.gold:hover:not(:disabled),.mint:hover:not(:disabled),.purple:hover:not(:disabled){background:#97f4d9;color:#09251f;border-color:#b4ffe9}
input,select,textarea{background:#0b1425;border:1px solid #465574;border-radius:12px;color:#f4f7ff;font-size:16px;min-height:50px;padding:12px 14px}
input::placeholder,textarea::placeholder{color:#8f9db5;opacity:1}
.muted,small,.shop-note,.auth-note{color:#b3c0d6}
.brand,.topbar .brand{font-style:normal;font-family:system-ui,sans-serif;font-weight:850;letter-spacing:-1.1px;text-shadow:none;color:#fff}
.brand span{color:#78ebca;text-shadow:none}
.release-label{font-size:10px!important;font-weight:600;letter-spacing:0;color:#afc0db}
.shell,.shell.club-lobby{max-width:720px;min-height:100dvh;margin:auto;padding:22px 22px calc(112px + var(--safe));border:0;box-shadow:none;background:radial-gradient(ellipse at 100% 0,#26335366,transparent 44%),#0e1629;color:#f4f7ff;overflow-x:clip}
.shell .topbar{min-height:48px;margin:0 0 22px;gap:8px}
.shell:not([data-page=home]) .cosmic-topbar{grid-template-columns:44px minmax(0,1fr) 44px 44px}
.shell:not([data-page=home]) .cosmic-topbar>.coin-pill{grid-row:2;grid-column:2/-1;margin-top:4px;border-radius:12px}
.shell .section-title{margin:20px 0 14px;align-items:center;gap:10px}
.section-title h1,.shell>h1{font:800 29px/1.45 system-ui,sans-serif;letter-spacing:-.8px;margin:0;color:#f5f8ff}
.section-title h2,.section-title h3{font:750 18px/1.5 system-ui,sans-serif;color:#edf5ff}
.section-title .badge{margin-left:auto}
.badge{font:650 11px/1.5 system-ui,sans-serif;color:#a8f3dc;background:#153b36;border:1px solid #326252;border-radius:7px;padding:4px 7px;white-space:normal}
.coin,.coin-pill{font-variant-numeric:tabular-nums}
.coin{color:#f4d787;font-size:14px}
.coin-pill{border:1px solid #344964;background:#14263c;color:#f4d787;font-size:14px;min-height:44px;border-radius:12px}
.panel,.empty,.friend,.mission-card,.history-row,.product{background:#152138;border:1px solid #34435e;border-radius:16px;box-shadow:none}
.empty{font-size:14px;line-height:1.9;padding:24px 18px;color:#c0cce1}
.stack{gap:12px}
.tabs{display:flex;padding:4px;gap:4px;border-radius:14px;background:#0b1425;border:1px solid #34435e;margin:20px 0}
.tabs button{background:transparent;color:#b7c5dc;font-size:13px;min-height:44px;border:0;flex:1;padding:8px 10px;white-space:normal}
.tabs button.active{background:#24423e;color:#9bf3d6;box-shadow:none}
.nav,.club-lobby .reference-nav{position:fixed;z-index:20;left:50%;right:auto;transform:translateX(-50%);bottom:calc(10px + var(--safe));width:calc(100% - 24px);max-width:680px;min-height:72px;margin:0;padding:7px 6px;border:1px solid #485573;border-radius:20px;background:#101c30;box-shadow:0 8px 30px #0005}
.nav button,.club-lobby .reference-nav button{min-height:54px;border:0;background:none;border-radius:13px;color:#b1c1d9;font:650 11px/1.5 system-ui;gap:5px;text-shadow:none;box-shadow:none;padding:5px 3px}
.nav button.active,.club-lobby .reference-nav button.active{background:#213c3b;color:#9bf3d6}
.nav button.active::before,.nav button.active::after,.club-lobby .reference-nav button.active::after{display:none}
.nav .lobby-vector-icon,.club-lobby .reference-nav .lobby-nav-icon{width:23px;height:23px;fill:currentColor;stroke:none;filter:none}
.nav-notification{right:12%;top:2px}
/* Native lobby controls: no image contains an interactive label. */
.club-lobby .cosmic-identity{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;margin:0;padding:0;background:none;border:0}
.club-lobby .club-player{min-height:62px;display:flex;gap:10px;padding:9px 11px;border:1px solid #3b4a65;border-radius:16px;background:#17243b;box-shadow:none;color:#fff;overflow:hidden}
.club-lobby .club-player .lobby-avatar,.club-lobby .club-player>.avatar{width:43px;height:43px;flex-shrink:0;border:1px solid #7dddc9;border-radius:50%;object-fit:cover}
.club-lobby .club-player strong{font:750 16px/1.5 system-ui;color:#f7faff}
.club-lobby .player-xp{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.club-lobby .player-xp small{font:700 11px/1.5 system-ui;color:#99e7d3}
.club-lobby .player-xp .progress{min-width:40px;height:5px;border:0;background:#091728;max-width:140px}
.club-lobby .player-xp .progress i{background:#65dcb9;box-shadow:none}
.club-lobby .player-xp>span{font:500 10px/1.5 system-ui;color:#a8bdd7;width:auto}
.club-lobby .lobby-wallet{display:flex;align-items:center;justify-content:center;gap:7px;min-width:116px;padding:9px 12px;border:1px solid #5b4b31;border-radius:16px;background:#2c2930;box-shadow:none}
.club-lobby .lobby-wallet-amount{font:750 16px/1.5 system-ui;color:#f7d994}
.club-lobby .lobby-coin-icon{width:22px;height:22px;color:#f7d994;border-radius:0}
.club-lobby .coin-plus{width:22px;height:22px;min-width:22px;background:#ecd08b;color:#33280d;border:0;box-shadow:none;font:500 20px/1 system-ui}
.club-lobby .lobby-brand{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:24px 0 20px;height:auto;line-height:1.5;background:none}
.lobby-wordmark{display:inline-flex;align-items:center;font:850 30px/1.1 system-ui;letter-spacing:-1.4px;color:#f7fbff}
.lobby-wordmark b{color:#7be6c7;font-weight:850}
.lobby-brand .brand-caption{display:block;font:600 10px/1.6 system-ui;letter-spacing:2.2px;color:#a6b6cf;margin-top:7px}
.lobby-utilities{display:flex;gap:7px}
.lobby-utilities .icon-button{position:relative!important;right:auto!important;top:auto!important;min-width:44px;min-height:44px;border:1px solid #3d4c67!important;background:#1b2940!important;border-radius:13px}
.lobby-utilities .icon{width:21px;height:21px}
.club-lobby .feature{position:relative;min-height:256px;aspect-ratio:auto;width:100%;margin:0 0 23px;padding:0;overflow:hidden;border:1px solid #53688d;border-radius:24px;background:#152648;box-shadow:none;isolation:isolate}
.club-lobby .feature>.lobby-art{position:absolute;inset:0;aspect-ratio:auto;height:100%;width:100%;z-index:-2}
.club-lobby .feature>.lobby-art img{position:static;width:100%;height:100%;object-fit:cover;object-position:35% center;max-width:100%;filter:none;opacity:1}
.club-lobby .feature::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#0a123108 25%,#0b153a80 48%,#0c163beb);z-index:-1;pointer-events:none}
.lobby-hero-copy{position:relative;width:53%;margin-left:auto;padding:28px 20px 25px 8px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-height:256px}
.lobby-kicker{font:700 10px/1.5 system-ui;letter-spacing:1.8px;color:#9df6dc;text-transform:uppercase}
.club-lobby .feature h1{font-family:inherit;font-size:26px;font-weight:800;line-height:1.65;letter-spacing:0;color:#fff;margin:9px 0 0;white-space:normal}
.lobby-hero-copy p{font:500 13px/1.8 system-ui;margin:2px 0 18px;color:#dce5f7}
.shell.club-lobby .feature .hero-play{position:static;left:auto;top:auto;display:flex;align-items:center;justify-content:center;gap:14px;min-height:48px;width:100%;max-width:230px;height:auto;padding:11px 18px;font:800 16px/1.5 system-ui;background:#77edc9;color:#092b24;border:1px solid #9bf6da;border-radius:13px;box-shadow:none;overflow:visible}
.hero-play .icon{width:17px;height:17px;fill:currentColor}
.lobby-section-label{display:flex;justify-content:space-between;align-items:center;margin:22px 0 12px;gap:8px}
.lobby-section-label h2{font:750 18px/1.5 system-ui;margin:0;letter-spacing:-.3px}
.lobby-section-label>small{font:500 11px/1.5 system-ui;color:#a3b4ce}
.club-lobby .modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin:0}
.club-lobby .mode-card{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;min-width:0;min-height:44px;padding:0;aspect-ratio:auto;border:1px solid #43536f;border-radius:17px;background:#17243b;overflow:hidden;box-shadow:none}
.club-lobby .mode-card .lobby-art{position:relative;width:100%;aspect-ratio:1.08;line-height:0;overflow:hidden}
.club-lobby .mode-card .lobby-art img{position:static;width:100%;height:100%;max-width:100%;object-fit:cover;object-position:center 36%}
.mode-caption{display:flex;align-items:center;justify-content:space-between;gap:5px;padding:11px 10px;color:#f5f8ff;font:750 14px/1.5 system-ui}
.mode-caption>span{font-size:18px;color:#7fe5ca}
.club-lobby .reference-card{filter:none;opacity:1;line-height:1.5}
.club-lobby .reference-card:hover{filter:none}
.club-lobby .journey-entry{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0 0}
.club-lobby .journey-entry button{display:flex;align-items:center;gap:11px;text-align:left;line-height:1.5;min-height:92px;padding:15px 13px;border:1px solid #4b526e;border-radius:17px;background:#23283f;box-shadow:none;overflow:hidden}
.club-lobby .journey-entry button:last-child{background:#19353a;border-color:#3b6264}
.club-lobby .journey-entry .lobby-art{width:39px;height:39px;flex:0 0 39px;aspect-ratio:1;border:0;border-radius:0;color:#c4afff}
.journey-entry button:last-child .lobby-art{color:#8de8ce}
.native-tile-copy{min-width:0;display:block}
.native-tile-copy strong{font:750 14px/1.5 system-ui;display:block;color:#f4f7ff}
.native-tile-copy small{font:500 11px/1.7 system-ui;display:block;color:#bbcae0;margin-top:3px}
.club-lobby .leader-cards,.club-lobby .social-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0 0}
.club-lobby .leader-card,.club-lobby .social-play{display:flex;align-items:center;gap:10px;padding:14px 12px;min-height:76px;background:#17243a;border:1px solid #344761;border-radius:16px;text-align:left;box-shadow:none;overflow:hidden}
.club-lobby .leader-card .lobby-art,.club-lobby .social-play .lobby-art{width:30px;height:30px;flex:0 0 30px;aspect-ratio:1;line-height:0;color:#e9cc87}
.club-lobby .social-play .lobby-art{color:#86dcd5}
.club-lobby .achievement-link{min-height:44px;margin:20px auto 0;color:#c4d4e9;background:none;border:0;display:flex;align-items:center;gap:7px;font-size:13px}
.club-lobby .lm369-footer{margin:16px 0 0;color:#92a6c3}
.club-lobby .copyright-line small,.club-lobby .trademark-line,.club-lobby .trademark-line>span{font-size:10px;line-height:1.8;color:#94a7c3}
.club-lobby .copyright-line>span{background:#354660}
.club-lobby .lobby-art{display:block;position:relative;line-height:0}
.club-lobby .lobby-art.lobby-avatar{overflow:hidden;aspect-ratio:1}
.club-lobby .lobby-avatar img{position:static;width:100%;height:100%;object-fit:cover;max-width:100%}
/* Login, registration and recovery share readable labels and a compact hero. */
.auth-shell{max-width:560px;padding:28px 24px calc(26px + var(--safe));min-height:100dvh;background:radial-gradient(ellipse at 80% 0,#25344d88,transparent 55%),#0e1629}
.auth-shell>.brand{font-size:34px;margin:0 auto 22px;letter-spacing:-1.3px}
.auth-art{height:220px;min-height:0;border:1px solid #405774;border-radius:22px;background:linear-gradient(90deg,transparent,#0b133a44),url('/assets/cosmic-hero.webp') center/cover;padding:20px 15px 20px 48%;margin-bottom:18px}
.auth-art>span{font:700 10px/1.6 system-ui;letter-spacing:1.5px;color:#a6f7e0}
.auth-art h1{font:800 23px/1.25 system-ui;color:#fff;margin:10px 0;letter-spacing:-.6px}
.auth-art small{font-size:11px;line-height:1.8;color:#e0e9fa}
.auth-panel{border:1px solid #3c4c69!important;border-radius:22px!important;padding:23px!important;background:#162238!important;box-shadow:none}
.auth-tabs{display:flex;gap:5px;padding:4px;background:#0c1528;border-radius:13px}
.auth-tabs button{flex:1;min-height:46px;border:0;background:none;font-size:13px;color:#c1d0e6}
.auth-tabs button.active{background:#29463f;color:#a8f7da;border:0}
.auth-panel h2{font-size:20px;line-height:1.7;margin:22px 0 16px;color:#fff}
.form-field>span,.auth-panel .form-field>span{font-size:13px;line-height:1.8;color:#d0dcef;margin-bottom:6px}
.auth-panel .form-field{margin-bottom:16px}
.auth-panel input{min-height:52px}
.auth-panel .bonus{padding:13px;border:1px solid #56513c;border-radius:13px;background:#302d31;gap:12px}
.auth-panel .bonus strong{font:750 17px/1.5 system-ui;color:#f4d990}
.auth-panel .bonus small{font-size:12px;line-height:1.9}
.auth-panel button.primary{min-height:50px;font-size:15px}
.auth-note,.auth-footer{font-size:12px;line-height:1.9;color:#b5c4dc}
.auth-panel .text-button{font-size:13px;color:#90ead0;padding:10px 3px}
.form-error:not(:empty){padding:10px 12px;border-radius:10px;background:#4b2532;color:#ffd7de;font-size:13px;line-height:1.8}
/* Shop displays each complete original poster without stretching. */
.shop-grid,.shop-grid.luxury-table-grid,.shop-grid.premium-grid,.shop-grid.limited-grid,.signature-grid,.legacy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.product,.product.signature,.product.signature.cue,.product.cue,:is(.premium-grid,.limited-grid,.luxury-table-grid) .product{padding:15px 12px;border:1px solid #3e506c;border-radius:18px;background:#16243a;min-width:0}
.product h3,.signature-grid .product h3,:is(.premium-grid,.limited-grid,.luxury-table-grid) .product h3{font:750 15px/1.5 system-ui;min-height:0;margin:0 0 6px;text-align:left;overflow-wrap:anywhere;color:#fff}
.product .premium-rarity{display:block;font:600 10px/1.6 system-ui;letter-spacing:1px;color:#c4cde7;min-height:0}
.premium-poster,:is(.premium-grid,.limited-grid,.luxury-table-grid) .premium-poster{display:block;width:100%;height:auto!important;max-height:none;aspect-ratio:auto;object-fit:contain;image-rendering:auto;border:1px solid #3d4d67;border-radius:11px;margin:12px 0!important}
.product .equipment-showcase{margin:9px 0}
.product .product-price{display:flex;align-items:center;justify-content:flex-start;min-height:30px;margin:10px 0 8px}
.product .coin,:is(.premium-grid,.limited-grid,.luxury-table-grid) .product .coin{font-size:14px}
.product .product-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:9px!important}
.product .product-actions button,:is(.premium-grid,.limited-grid,.luxury-table-grid) .product .product-actions button{flex:1;min-width:64px;min-height:44px;font-size:12px;padding:9px 8px}
.product .product-actions button:disabled{display:block}
.product .badge{font-size:11px}
.shop-note{font-size:13px;line-height:1.9}
.upgrade-link{font-size:12px;min-height:44px;color:#9df3d6}
.cue-stats{font-size:11px;line-height:1.7}
.equipment-art{flex-shrink:0}
.equipment-preview .premium-poster{max-width:100%;max-height:55dvh;object-fit:contain}
/* Social, missions and player records. */
.friend{padding:13px 12px;gap:10px;min-height:86px}
.friend .avatar{width:46px;height:46px;flex-shrink:0}
.friend .identity strong,.friend .identity strong>button{font-size:14px;color:#f4f7ff}
.friend .identity>small,.friend .identity>small.friend-status{font-size:11px;line-height:1.8}
.friend-actions button{font-size:12px;min-height:44px;padding:9px}
.chat-preview{padding:14px 12px;border-radius:15px;background:#17243a;border-color:#3b4d68}
.chat-preview strong{font-size:14px}.chat-preview small{font-size:12px;max-width:100%;color:#b9c9e1}
.mission-buddy{position:static;width:52px;height:52px;object-fit:contain;opacity:1;margin-left:auto}
.shell[data-page=missions]>.tabs{max-width:none;margin:16px 0 20px}
.mission-card{padding:16px 12px;min-height:108px;gap:11px}
.mission-card h3{font:700 14px/1.5 system-ui;color:#f4f8ff}
.mission-art{width:46px;flex-basis:46px;height:52px}
.mission-art img{object-fit:cover}
.mission-progress small{font-size:11px}.mission-card .coin{font-size:13px}.mission-card .reward{font-size:11px;gap:8px}
.mission-card button{font-size:12px;min-height:44px;padding:10px;min-width:60px}
.mission-card.done{border-color:#5c9b80;background:#163431}
.profile-head{padding:22px 18px;border:1px solid #4b5c7c;border-radius:22px;background:radial-gradient(ellipse at 100% 0,#44608666,transparent),#18273f}
.profile-head h1{font:800 25px/1.4 system-ui;overflow-wrap:anywhere}
.profile-head .avatar.big{width:68px;height:68px;flex-shrink:0;box-shadow:none}
.profile-head .player-xp small,.profile-head>small{font-size:12px;line-height:1.8}
.profile-head .coin-pill{font-size:13px}.profile-head .coin{font-size:13px}
.stats-grid{gap:0;border-radius:17px;background:#15233a;border:1px solid #3b4b66;margin:20px 0}
.stat{padding:17px 4px;border-color:#34435c}
.stat strong{font:750 24px/1.4 system-ui}.stat small{font-size:11px;color:#c0cee3;line-height:1.6}
.history-row{padding:15px 12px;min-height:82px}
.history-row .identity strong{font-size:14px}.history-row .identity small{font-size:12px}.history-row .coin{font-size:13px}
.profile-extra{padding:14px;border-radius:16px;background:#142139}.profile-extra summary{font-size:14px;color:#d1e4f6}
.profile-extra .owned-cues .product h3{font-size:16px}
.text-button{font-size:13px;color:#94ecd0}
/* Dialog hierarchy, safe-area spacing and long content. Region postcards retain their theme. */
dialog{max-width:540px;width:calc(100% - 24px);max-height:calc(100dvh - 28px - var(--safe));padding:26px 22px 22px;border:1px solid #52627f;border-radius:23px;background:#142039;color:#f4f7ff;box-shadow:0 20px 80px #0009;line-height:1.8;scrollbar-width:thin}
dialog::backdrop{background:#030917d9;backdrop-filter:none}
dialog:not(.arena-selector):not(.journey-modal)>h2{padding-right:34px;font-size:22px;line-height:1.5;margin:0 0 16px;color:#f6f9ff}
.dialog-close{position:absolute;top:10px;right:10px;z-index:5;min-width:44px;min-height:44px;border:1px solid #5c708b;background:#17283f;border-radius:50%;font-size:20px}
dialog .stack{gap:10px}dialog .stack>button{min-height:48px;font-size:14px;text-align:left;padding:11px 14px}
dialog .note,dialog .shop-note{font-size:13px;line-height:1.9}
.result-modal .result-rewards{border-radius:17px;background:#142a3b;border-color:#477567}
.result-modal .victory{font-family:system-ui;font-size:34px;text-shadow:none;color:#f7db91}
.result-modal .eyebrow{font-size:12px;letter-spacing:1px}
.result-modal .levelup-title{font-size:16px;color:#9cf0d2}
.result-modal .result-actions button{min-height:48px;font-size:14px}
.chat-box .bubble{font-size:14px;line-height:1.85;background:#1d304d;border-color:#4b6080;padding:11px 14px}
.chat-box .bubble.mine{background:#205047;border-color:#4a8972;color:#f2fff9}
.chat-input{gap:8px}.messages{font-size:14px}
.leader-row{padding:13px 10px;min-height:76px;gap:10px;border-radius:14px}
.leader-row .identity strong{font-size:14px}.leader-row .identity small,.leader-score small{font-size:11px}
.leader-score .coin{font-size:13px}
#toast{max-width:min(520px,calc(100% - 28px));font-size:14px;line-height:1.8;padding:12px 17px;border:1px solid #658b85;background:#173b36;color:#e8fff5;border-radius:14px;bottom:calc(94px + var(--safe));box-shadow:0 5px 20px #0004}
/* Match chrome stays outside the table, with region artwork fully visible. */
.game-shell{background-color:#0c1627}
.game-shell .topbar{min-height:40px;height:40px;padding:0 5px}
.game-shell .topbar button{min-height:40px;height:40px;min-width:44px}
.game-shell .topbar .brand{font-size:22px;text-shadow:none}
.game-shell .players-bar{min-height:66px;max-height:none;border-radius:15px;padding:5px;gap:5px}
.game-shell .player-block strong{font:750 12px/1.5 system-ui}
.game-shell .match-level small{font-size:10px;line-height:1.5}
.game-shell .match-cue{font-size:9px;line-height:1.5}
.game-shell .match-count{font-size:10px;line-height:1.4}
.game-shell .players-bar .avatar{width:34px;height:34px;box-shadow:none!important}
.game-shell .turn-timer{box-shadow:none;font-variant-numeric:tabular-nums}
.game-shell .game-objective{font-size:11px;line-height:1.65;padding:3px 5px;color:#f3f7ff}
.game-shell .arena-venue-banner{box-shadow:none;min-height:36px;padding:4px 9px}
.game-shell .arena-venue-banner strong{font-size:12px}.game-shell .arena-venue-banner small{font-size:9px;line-height:1.6;color:#e0ebf8}
.game-shell .arena-match-fee .coin{font-size:12px}
.game-shell .arena-meter .control-label{font-size:10px;line-height:1.5}
.game-shell .cue-boost{font-size:9px;line-height:1.5}
.game-shell .cue-hint{font-size:10px;line-height:1.75;color:#e3eefb}
.game-shell .aim-tool .control-label{font-size:10px}
.game-shell .potted-label{font-size:10px}.game-shell .potted-count{font-size:12px}
.game-shell .arena-scenery{filter:none;opacity:1}
.game-shell[data-venue]::before{background:linear-gradient(180deg,#02081a18,transparent 25%,transparent 78%,#02081a35)}
.game-shell canvas{display:block;image-rendering:auto;outline-offset:-3px}
.game-shell .reaction-controls button{min-width:44px;min-height:44px}
.game-shell .turn-badge{font-size:9px;line-height:1.5;box-shadow:none}
@media(min-width:900px){
 .auth-shell{max-width:960px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:32px;align-content:center;padding:44px}
 .auth-shell>.brand{grid-column:1/-1;margin:0 0 28px;text-align:left}
 .auth-art{height:100%;min-height:390px;margin:0;padding:30px 28px 30px 44%;background-position:35% center}
 .auth-art h1{font-size:28px}.auth-art small{font-size:12px}
 .auth-footer{grid-column:1/-1;text-align:center;margin-top:24px}
 .shell,.shell.club-lobby{padding-top:30px;padding-left:30px;padding-right:30px}
 .lobby-wordmark{font-size:34px}.club-lobby .feature h1{font-size:30px}.lobby-hero-copy{padding-top:34px;padding-bottom:34px}
 .club-lobby .mode-card .lobby-art{aspect-ratio:1.3}.mode-caption{font-size:16px}
}
@media(max-width:400px){
 .shell,.shell.club-lobby{padding-left:14px;padding-right:14px;padding-top:16px}
 .club-lobby .cosmic-identity{gap:7px}.club-lobby .club-player{padding:8px;gap:7px}.club-lobby .club-player strong{font-size:14px}.club-lobby .player-xp>span{display:none}
 .club-lobby .lobby-wallet{min-width:105px;padding:8px;gap:5px}.club-lobby .lobby-wallet-amount{font-size:14px}
 .club-lobby .lobby-brand{margin:20px 0 16px}.lobby-wordmark{font-size:27px}.lobby-brand .brand-caption{font-size:9px;letter-spacing:1.6px}
 .club-lobby .feature,.lobby-hero-copy{min-height:224px}.lobby-hero-copy{width:55%;padding:22px 13px 22px 6px}.club-lobby .feature h1{font-size:22px}.lobby-hero-copy p{font-size:12px}.lobby-kicker{font-size:9px;letter-spacing:1.3px}
 .club-lobby .modes{gap:8px}.mode-caption{font-size:12px;padding:10px 8px}
 .club-lobby .journey-entry,.club-lobby .leader-cards,.club-lobby .social-grid{gap:8px}
 .club-lobby .journey-entry button{padding:13px 9px;gap:7px}.club-lobby .journey-entry .lobby-art{width:28px;height:28px;flex-basis:28px}
 .native-tile-copy strong{font-size:12px}.native-tile-copy small{font-size:10px}.club-lobby .leader-card,.club-lobby .social-play{padding:12px 9px;gap:7px}.club-lobby .leader-card .lobby-art,.club-lobby .social-play .lobby-art{width:24px;height:24px;flex-basis:24px}
 .auth-shell{padding:22px 16px}.auth-panel{padding:18px!important}.auth-art{height:190px}.auth-art h1{font-size:21px}
 .shop-grid,.shop-grid.luxury-table-grid,.shop-grid.premium-grid,.shop-grid.limited-grid{gap:10px}.product,:is(.premium-grid,.limited-grid,.luxury-table-grid) .product{padding:12px 9px}.product h3,:is(.premium-grid,.limited-grid,.luxury-table-grid) .product h3{font-size:13px}.product .product-actions{gap:5px}.product .product-actions button,:is(.premium-grid,.limited-grid,.luxury-table-grid) .product .product-actions button{font-size:11px;min-width:0;padding:9px 5px}
 .friend{padding:11px 9px;gap:7px}.friend .avatar{width:38px;height:38px}.friend-actions{gap:4px}.friend-actions button{font-size:11px;padding:8px 7px}
 .profile-head{padding:18px 13px}.profile-head .avatar.big{width:54px;height:54px}.profile-head h1{font-size:21px}.profile-head .coin-pill{padding:7px}.profile-head .coin{font-size:12px}.stat strong{font-size:21px}.stat small{font-size:10px}
 .game-shell .player-block strong{font-size:11px}.game-shell .match-cue{font-size:8px}
}
@media(max-width:340px){.shop-grid,.shop-grid.luxury-table-grid,.shop-grid.premium-grid,.shop-grid.limited-grid{grid-template-columns:1fr}.native-tile-copy small{display:none}.profile-head .row{flex-wrap:wrap}}
@media(max-height:680px) and (max-width:559px){
 .game-shell .topbar{height:32px;min-height:32px}.game-shell .topbar button{height:32px;min-height:32px}.game-shell .players-bar{min-height:56px}.game-shell .match-cue{display:none}.game-shell .game-objective{font-size:10px}.game-shell .cue-hint{font-size:9px}.game-shell .arena-venue-banner{min-height:30px}.game-shell .reaction-controls{display:none}
}
@media(min-width:560px) and (max-height:499px){
 .game-shell .topbar{min-height:40px;height:40px}.game-shell .players-bar{min-height:0}.game-shell .player-block,.game-shell .player-block.right,.game-shell .player-block.current{min-height:56px;padding:13px 4px 3px}.game-shell .game-objective{font-size:10px}.game-shell .arena-venue-banner small{font-size:9px}.game-shell .arena-venue-banner{padding:4px}.game-shell .cue-hint{font-size:9px}.game-shell .arena-meter .control-label{font-size:9px}.game-shell .reaction-controls{display:none}
}
@media(prefers-reduced-motion:reduce){button{transition:none}html{scroll-behavior:auto}.club-lobby *{animation:none!important}}
/* Keep subtitles readable rather than inheriting postcard lettering. */
.club-lobby .native-tile-copy small{letter-spacing:0;text-transform:none}
