/* Non-game screens. Board rendering stays in game.css. */
/* Statistics, completed games and account presentation. */
.stats-panel{padding:26px;margin-bottom:22px;min-width:0}.stats-player-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;padding-bottom:22px;border-bottom:1px solid #3d4536}.stats-player-heading h2{font-size:25px;overflow-wrap:anywhere;margin:0;font-weight:500;line-height:1.3}.win-rate{flex-shrink:0;text-align:right}.win-rate strong{font-size:32px;font-weight:500;color:#dfd4ad}.win-rate strong small{font-size:15px;padding-left:3px}.win-rate>span{display:block;font-size:10px;color:#97a38b}.stats-group{padding-top:20px}.stats-group h3{font-size:12px;font-weight:600;margin:0 0 10px;color:#c3cdb5}.stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px;margin:0}.stat-metric{min-width:0;padding:9px 0 13px;border-bottom:1px solid #343d2e}.stat-metric dt{font-size:11px;line-height:1.6;color:#97a38d;margin:0}.stat-metric dd{font-size:25px;color:#e2e3d1;margin:6px 0 0;font-weight:500;font-variant-numeric:tabular-nums;line-height:1.2;overflow-wrap:anywhere}.stat-metric.emphasis dd{color:#d8d1a2}.result-counts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0 0}.result-counts .stat-metric{padding:12px;border:1px solid #3b4631;border-radius:8px;background:#232c1f}.result-counts .stat-metric dt{font-size:10px}.result-counts .stat-metric dd{font-size:20px}.stats-comparison .result-counts{grid-template-columns:repeat(2,minmax(0,1fr))}.stats-comparison .stats-panel{margin:0}.comparison-summary{display:flex;align-items:center;flex-wrap:wrap;gap:12px 24px;margin:0 0 22px;padding:16px 20px;border:1px solid #424c39;border-radius:11px;background:#21291e;font-size:12px;color:#a6b499}.comparison-summary strong{color:#dce2ce;font-weight:500;font-size:16px}.comparison-summary a{display:flex;gap:8px;align-items:center;margin-left:auto;color:#cfcea7;font-size:11px}.comparison-summary .icon{width:15px}.lobby-shell .comparison-grid{gap:20px;margin-bottom:22px}
.history-summary{padding:28px;margin-bottom:22px}.summary-heading{padding-bottom:25px;border-bottom:1px solid #3e4835;margin-bottom:20px}.summary-heading h2{font-size:42px;font-weight:500;margin:0;color:#e4dbb5;line-height:1.1}.summary-heading h2 small{font-size:14px;color:#a6b399;font-weight:400;margin-left:14px;display:inline-block}.summary-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:0 0 24px}.history-summary h3{font-size:14px;margin:0}.history-summary .result-counts{margin:14px 0 0}.history-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:22px}.history-game{display:block;min-width:0;padding:22px;transition:border-color .15s,background .15s}.history-game:hover{border-color:#8d8d66;background:#232a21}.history-card-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:24px}.history-card-top time{font-size:10px;color:#9ea98f}.result-label{font-size:9px;padding:4px 8px;border:1px solid #625f43;border-radius:5px;background:#d3bd8510;color:#d4c494;text-align:center}.history-matchup{display:flex;align-items:center;gap:9px;margin-bottom:22px;min-width:0;flex-wrap:wrap}.history-matchup>span{font-size:12px;display:flex;align-items:center;gap:7px;overflow-wrap:anywhere;min-width:0;flex:1}.history-matchup>small{color:#808e73}.piece-dot{display:inline-block;width:12px;height:12px;border-radius:50%;flex-shrink:0}.white-dot{background:radial-gradient(at 30% 20%,#ece8cf,#c7c5a2);border:1px solid #f1e3bf}.black-dot{background:radial-gradient(at 30% 20%,#53624b,#1a281a);border:1px solid #7b8969}.history-outcome{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding-bottom:20px}.history-outcome>div{min-width:0}.history-outcome>div>small{color:#8b987d;font-size:8px;letter-spacing:1.4px;display:block;margin-bottom:8px}.history-outcome>div>strong{font-size:21px;line-height:1.25;font-weight:500;overflow-wrap:anywhere}.history-points{font-size:26px;color:#d2cca4;font-weight:500;white-space:nowrap}.history-points>small{font-size:11px;color:#98a387;font-weight:400}.history-card-bottom{border-top:1px solid #38432f;padding-top:14px;display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:10px;color:#9ea98e}.history-card-bottom>span{display:flex;gap:5px;align-items:center}.history-card-bottom .icon{width:13px;height:13px}.history-details-link{margin-left:auto;color:#c6ca9f}
.finished-result{padding:26px;display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:20px;background:linear-gradient(120deg,#343a27,#1c241e);border-color:#6b714c!important}.finished-result h2{font-size:30px;margin:0;overflow-wrap:anywhere}.finished-result>strong{font-size:44px;font-weight:500;color:#e0d3a4;line-height:1;text-align:center;flex-shrink:0}.finished-result>strong>small{display:block;font-size:10px;color:#a7b08f;font-weight:400;margin-top:8px}.finished-players{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:20px}.finished-player{padding:24px;min-width:0}.finished-player>header{display:flex;align-items:center;gap:8px;font-size:8px;letter-spacing:1.4px;color:#b2bc9f;margin-bottom:17px}.finished-player h2{font-size:25px;overflow-wrap:anywhere;margin:0 0 10px}.finished-player p{font-size:11px;margin-bottom:14px;color:#97a889;display:flex;align-items:center;gap:14px;flex-wrap:wrap}.winner-label{border:1px solid #707950;border-radius:5px;padding:3px 7px;color:#cad5a1;font-size:9px}.match-facts{padding:24px}.match-facts h2{font-size:17px;margin-bottom:18px}.fact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:0}.fact-grid dt,.profile-fields dt{font-size:10px;color:#92a083;margin-bottom:7px}.fact-grid dd{margin:0;font-size:13px;overflow-wrap:anywhere}
.profile-panel,.profile-editor{max-width:780px;padding:28px;margin-bottom:22px}.profile-heading{display:flex;gap:18px;align-items:center;padding-bottom:24px;border-bottom:1px solid #404936}.profile-symbol{width:48px;height:48px;display:grid;place-items:center;border:1px solid #626748;border-radius:12px;color:#d3c797;background:#b5ba8120;flex-shrink:0}.profile-heading h2{font-size:25px;overflow-wrap:anywhere;margin:0 0 5px}.profile-heading>div{min-width:0}.profile-heading>div>span{font-size:12px;color:#9eae8b;overflow-wrap:anywhere}.profile-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 30px;padding:25px 0;margin:0}.profile-fields dd{margin:0;font-size:14px;overflow-wrap:anywhere}.profile-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;border-top:1px solid #404936;padding-top:24px}.profile-actions .logout-button{margin-left:auto;color:#dda78c}.profile-editor .section-heading h2{font-size:19px}.profile-editor form{display:grid;gap:9px;max-width:500px}.profile-editor form label{font-size:12px;color:#abb69b;margin-top:10px}.profile-editor form>.button{margin-top:15px;justify-self:start}.lobby-shell input{background:#121b13;border-color:#45553c;border-radius:8px}.lobby-shell input:focus{border-color:#c1bd8d}
.lobby-shell{--accent:#d4bd85;--accent-dark:#302a1d;--muted:#a8afa6;grid-template-columns:208px minmax(0,1fr)}
.lobby-shell .sidebar{width:208px;padding:30px 18px;background:linear-gradient(#191e1b,#141916);border-color:#30372f}.lobby-shell .brand{margin:0 8px 44px;font-size:22px;gap:12px}.lobby-shell .brand-mark i{border-color:#191e1b}.lobby-shell .brand-mark i:nth-child(3){background:#918260}.lobby-shell .nav-caption{font-size:8px;letter-spacing:1.6px;padding-inline:12px}.lobby-shell .nav-item{padding:0 12px;height:48px;gap:12px;margin-bottom:6px;font-size:13px;border-radius:9px}.lobby-shell .nav-item span{display:inline;margin:0;color:inherit;font-size:13px;letter-spacing:0}.lobby-shell .nav-item.active{background:#343326;color:#e3d2a7}.lobby-shell .nav-item:hover{background:#252d26}.lobby-shell .sidebar-bottom{padding:32px 12px 0}.lobby-shell .sidebar-bottom p{font-size:13px;margin:20px 0}.lobby-shell .version{font-size:7px;letter-spacing:1px}
.lobby-shell .topbar{height:70px;max-width:1168px;width:calc(100% - 72px);margin:0 auto}.lobby-shell .profile .icon{width:18px;height:18px;color:#b9c0ae}.lobby-shell main{max-width:1240px;padding:28px 36px 48px}.lobby-shell .site-footer{max-width:1168px;width:calc(100% - 72px);margin:auto;padding:18px 0}.mobile-navigation{display:none}.skip-link{position:fixed;left:16px;top:-80px;z-index:100;padding:12px 20px;background:#d4bd85;color:#191d17;border-radius:8px}.skip-link:focus{top:12px}.game-mode .mobile-navigation,.game-mode .skip-link{display:none}
.lobby-shell h1{font-size:clamp(30px,3vw,42px);letter-spacing:-1.3px;margin-bottom:10px}.lobby-shell .eyebrow{font-size:8px;letter-spacing:1.8px;margin-bottom:12px;color:#cbb985}.lobby-shell .button{min-height:46px;border-radius:9px;padding:11px 20px;font-size:13px;gap:16px}.lobby-shell .primary{background:#d4bd85;border-color:#d4bd85;color:#22251a}.lobby-shell .primary:hover:not(:disabled){background:#e1cea1}.lobby-shell .secondary{background:#30362c;border-color:#555f49;color:#e0e7d7}.lobby-shell .quiet{background:transparent;border:1px solid #465041;color:#c3cdbb}.lobby-shell .quiet:hover:not(:disabled){background:#262e24;border-color:#849271}.lobby-shell .danger-button{background:#653c32;border-color:#a46c5b;color:#ffdfcf}.lobby-shell .text-button{min-height:40px;padding:6px 2px;margin:0;text-underline-offset:4px;color:#c7c9b7}.lobby-shell .button .icon{width:19px;height:19px}.lobby-shell .panel{border-color:#343b34;border-radius:14px;box-shadow:0 8px 26px #00000012}.lobby-shell .back-link{display:inline-flex;align-items:center;gap:8px;margin:0 0 16px;font-size:12px;color:#abb49e;min-height:32px}.back-link .icon{width:17px;height:17px}
.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:26px}.page-heading>div{min-width:0}.page-heading h1{overflow-wrap:anywhere}.page-heading p{margin:0;max-width:640px;font-size:13px;line-height:1.7}.page-heading>.button{flex-shrink:0}.home-heading{margin:6px 0 24px}.heading-checkers{display:flex;align-items:center;width:96px;flex-shrink:0;padding-left:14px}.heading-checkers i{width:48px;height:48px;border-radius:50%;background:radial-gradient(at 35% 25%,#eee1ba,#b4a174);box-shadow:inset 0 0 0 5px #0001,0 5px 10px #0005;border:1px solid #d3c18b}.heading-checkers i+i{background:radial-gradient(at 35% 25%,#465343,#1d291e);border-color:#63735b;margin-left:-15px;margin-top:24px}
.continue-card{display:flex;align-items:center;gap:24px;padding:23px 26px;margin-bottom:22px;background:radial-gradient(ellipse at 0 10%,#42412c77,transparent 70%),#22281f;border-color:#716a46!important}.continue-symbol{width:68px;height:66px;position:relative;flex-shrink:0}.continue-symbol i{position:absolute;width:48px;height:48px;left:0;top:0;border-radius:50%;background:radial-gradient(at 35% 25%,#d6c99d,#998961);border:1px solid #d6c18c;box-shadow:inset 0 0 0 5px #3a2b2022,0 5px 10px #0005}.continue-symbol i+i{left:19px;top:18px;background:radial-gradient(at 35% 25%,#3e4b38,#1d2b1e);border-color:#82926b}.continue-copy{min-width:0;flex:1}.continue-copy .eyebrow{font-size:8px;margin-bottom:7px}.continue-copy h2{font-size:23px;margin:0 0 7px}.continue-copy p{font-size:12px;margin:0}.continue-copy strong{font-weight:500;color:#d5d9c9;overflow-wrap:anywhere}.continue-action{display:flex;align-items:flex-end;flex-direction:column;gap:12px}.game-status-chip{display:inline-flex;align-items:center;gap:7px;font-size:11px;color:#dfd0a4;background:#d4bd8510;border:1px solid #71674666;padding:5px 10px;border-radius:7px}.game-status-chip:before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor;flex-shrink:0}
.home-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.home-action{background:#1c221e;border:1px solid #3d4539;border-radius:14px;position:relative;display:flex;flex-direction:column;align-items:flex-start;min-height:214px;padding:24px;text-align:left;overflow:hidden}.home-action.new-room{background:linear-gradient(125deg,#333b28,#232c22);border-color:#5c6747}.home-action:hover:not(:disabled){border-color:#b9bb8d}.home-action-icon{display:grid;place-items:center;width:38px;height:38px;position:absolute;right:24px;top:24px;border:1px solid #566048;border-radius:11px;color:#d0d8b8}.home-action .eyebrow{font-size:8px;margin:0 48px 17px 0}.home-action>strong{font-size:24px;font-weight:550;line-height:1.2;padding-right:28px;margin:4px 0 12px;letter-spacing:-.6px}.home-action>span:not([class]){color:#acb5a2;font-size:12px;max-width:85%;line-height:1.7}.home-action-link{display:flex;width:100%;justify-content:space-between;align-items:center;padding-top:17px;margin-top:auto;color:#d5ccaa;font-size:12px}.home-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:20px}.home-shortcuts>a{display:flex;align-items:center;gap:16px;border:1px solid #313a31;border-radius:11px;padding:17px 20px;min-width:0;background:#191f1b}.home-shortcuts>a:hover{border-color:#687557}.home-shortcuts>a>.icon{color:#b7c0a4;width:20px}.home-shortcuts>a>.icon:last-child{margin-left:auto;width:16px;opacity:.5}.home-shortcuts strong{display:block;font-size:13px;font-weight:550}.home-shortcuts span{font-size:11px;color:#909c89;display:block;margin-top:4px}
.online-status{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;font-size:11px;color:#989f96}.online-status i{width:6px;height:6px;border-radius:50%;background:#798076;flex-shrink:0}.online-status.is-online{color:#b4c6a0}.online-status.is-online i{background:#9cbe80;box-shadow:0 0 0 3px #9cbe8010}.room-directory{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.room-tile{padding:25px;display:flex;flex-direction:column;min-width:0}.room-tile.has-game{border-color:#77704d;background:linear-gradient(145deg,#2d3224,#1c231d)}.room-tile-top{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:24px}.room-tile-top .eyebrow{margin:0}.room-tile h2{font-size:27px;margin:0 0 12px;overflow-wrap:anywhere}.subscription-label{display:flex;gap:7px;align-items:center;font-size:11px;color:#9ba88e;margin-bottom:22px}.subscription-label .icon{width:14px;height:14px}.room-tile-activity{border-top:1px solid #46523e66;padding:20px 0 10px}.room-tile-activity p{font-size:12px;line-height:1.8;margin:12px 0}.room-tile .button{width:100%;justify-content:space-between;margin-top:auto}.room-lobby-link{font-size:11px;text-align:center;margin-top:12px;min-height:30px;display:grid;place-items:center;color:#b5bba5;text-decoration:underline;text-underline-offset:4px}
.page-state{padding:40px 24px;text-align:center;display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:230px;gap:16px;margin-bottom:20px}.page-state h2{font-size:21px;line-height:1.45;max-width:420px;margin:0;font-weight:500}.page-state p{font-size:13px;max-width:410px;line-height:1.8;margin:0}.page-state .button{margin-top:6px}.state-icon{display:grid;place-items:center;width:48px;height:48px;color:#c9bd94;background:#cabd9410;border:1px solid #6b675044;border-radius:14px}.state-error .state-icon{color:#dbad98}.lobby-shell .error-banner{border:1px solid #855a474d;border-radius:10px;padding:13px 17px;background:#4d2f212e;font-size:13px;line-height:1.8;margin:18px 0}.lobby-shell .error-banner .text-button{margin-left:14px}.lobby-shell .inline-error{font-size:12px;overflow-wrap:anywhere}.success-notice,.copy-notice{font-size:12px;color:#bbcf9d;margin:14px 0}.copy-notice{text-align:right;margin-top:-15px}
.lobby-heading-tools{display:flex;align-items:center;gap:18px;flex-shrink:0}.lobby-code>span{display:block;color:#98a28b;font-size:8px;letter-spacing:1.7px}.lobby-code button{padding:4px 0;background:none;border:0;display:flex;align-items:center;gap:14px;font-size:26px;letter-spacing:4px;color:#dcd3b8;min-height:40px}.lobby-code .icon{width:16px;height:16px;color:#9caa8e}.room-menu{position:relative;z-index:5}.room-menu summary{display:grid;place-items:center;width:44px;height:44px;list-style:none;cursor:pointer;font-size:26px;color:#c5ccb9;border:1px solid #414b3b;border-radius:10px;line-height:1}.room-menu summary::-webkit-details-marker{display:none}.room-menu summary:focus-visible{outline:2px solid #d4bd85;outline-offset:3px}.room-menu nav{position:absolute;right:0;top:52px;background:#252c24;border:1px solid #56614a;border-radius:12px;padding:8px;min-width:226px;box-shadow:0 16px 50px #0009}.room-menu nav>a,.room-menu nav>button{display:flex;align-items:center;text-align:left;gap:10px;width:100%;padding:12px;border:0;background:none;font-size:12px;white-space:nowrap;border-radius:7px;min-height:44px;color:#dce0d0}.room-menu nav .icon{width:17px;height:17px}.room-menu nav>a:hover,.room-menu nav>button:hover{background:#353f2e}.room-menu nav>.menu-danger{border-top:1px solid #46513c;margin-top:5px;color:#e0a996}
.lobby-shell .final-lobby{grid-template-columns:minmax(0,1fr) 320px;gap:24px;align-items:start}.final-lobby .section-heading{margin-bottom:14px}.final-lobby .section-heading h2{font-size:16px}.final-lobby .section-heading>span{font-size:8px;letter-spacing:1px;color:#8f9b86}.final-lobby .players-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.lobby-player{padding:19px;min-width:0}.lobby-player.is-ready{border-color:#76845a;background:linear-gradient(145deg,#293322,#1b231c)}.lobby-player.is-empty{border-style:dashed;background:#19201b}.lobby-player .seat-label{font-size:8px;letter-spacing:1.5px;display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:17px;color:#959f8e}.lobby-player .host-badge{background:none;border:1px solid #5e664e;font-size:8px;padding:2px 5px;border-radius:4px;letter-spacing:0;color:#c5c9ae}.lobby-player h3{font-size:20px;font-weight:550;margin:0 0 10px;line-height:1.3;overflow-wrap:anywhere}.player-presence{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.self-label{color:#cdc39e;font-size:10px}.lobby-ready{display:flex;align-items:center;gap:7px;border-top:1px solid #37402f;margin-top:16px;padding-top:13px;color:#969f8d;font-size:11px}.lobby-ready i{width:8px;height:8px;border:1px solid #7a826d;border-radius:50%}.lobby-ready .icon{width:15px;height:15px}.is-ready .lobby-ready{color:#c7d6a7}.lobby-player>p{font-size:11px;margin:0;min-height:17px}
.lobby-settings{margin-top:18px;padding:23px}.lobby-setting{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 0;border-bottom:1px solid #343e2d}.lobby-setting>div:first-child{min-width:0}.lobby-setting h3{font-size:12px;margin:0 0 5px}.lobby-setting p{font-size:10px;line-height:1.65;margin:0;color:#939f86}.lobby-settings .segmented{padding:3px;border-radius:8px;background:#131b13;display:inline-flex;flex-shrink:0;border:1px solid #3e4836;gap:2px}.lobby-settings .segmented button{border:0;background:none;padding:8px 12px;border-radius:5px;color:#aab59d;min-height:39px;font-size:11px;white-space:nowrap}.lobby-settings .segmented button.selected{color:#e6d9ae;background:#40442e;box-shadow:inset 0 0 0 1px #77734b}.lobby-settings .timer-options button{padding-inline:9px;min-width:43px}.readonly-setting{font-size:12px;padding:9px 14px;background:#293222;border:1px solid #46533a;border-radius:7px;white-space:nowrap;color:#d2dbbd}.lobby-settings-note{font-size:10px;line-height:1.7;margin:12px 0;color:#89967e}.lobby-setting.auto-setting{border:0;padding:15px 0 0;border-top:1px solid #343e2d}.lobby-setting .switch{flex-shrink:0;margin-left:10px}.lobby-settings .switch.on{background:#c1c99b;border-color:#c1c99b}.lobby-subscription{margin-top:18px;padding:19px 23px;display:flex;justify-content:space-between;align-items:center;gap:14px}.lobby-subscription .eyebrow{font-size:7px;margin-bottom:7px}.lobby-subscription h3{font-size:13px;margin:0 0 6px}.lobby-subscription p{font-size:10px;line-height:1.7;margin:0}.lobby-subscription .button{font-size:11px;padding:9px 13px;flex-shrink:0;min-height:42px}.lobby-primary-action{margin-top:20px;display:flex;flex-direction:column;align-items:flex-start;gap:10px}.lobby-primary-action>.button{width:100%;min-height:49px;justify-content:space-between}.lobby-primary-action p{font-size:11px;margin:0}.lobby-primary-action>.text-button{margin-top:-8px;font-size:11px}.lobby-shell .ready-button{background:#35422a;border-color:#859364;color:#d3dfb8}.lobby-shell .rematch-banner{margin-top:18px;padding:18px}.lobby-shell .rematch-banner p{font-size:12px}
.lobby-shell .chat-panel{height:530px;min-height:0;position:sticky;top:24px;display:flex;flex-direction:column;overflow:hidden}.lobby-shell .chat-header{display:flex;justify-content:space-between;gap:8px;padding:20px;border-bottom:1px solid #343d2f}.lobby-shell .chat-header h2{font-size:14px;display:flex;gap:9px;align-items:center;margin:0}.lobby-shell .chat-header .icon{width:18px;height:18px}.chat-connection{font-size:9px;color:#9da68e;display:flex;align-items:center;gap:5px;white-space:nowrap}.chat-connection i{width:4px;height:4px;background:#7c8473;border-radius:50%}.chat-connection i.connected{background:#a4c083}.lobby-shell .chat-messages{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#586348 #192118;padding:18px 14px;display:flex;flex-direction:column;gap:14px}.lobby-shell .chat-empty{margin:auto;text-align:center;padding:24px 12px}.lobby-shell .chat-empty h3{font-size:16px;margin-bottom:8px}.lobby-shell .chat-empty p{font-size:11px;line-height:1.8;margin:0}.lobby-shell .chat-message{max-width:92%;align-self:flex-start;padding:11px 13px;border:1px solid #38412f;border-radius:11px 11px 11px 3px;background:#242c20;margin:0;min-width:60px;flex-shrink:0}.lobby-shell .chat-message.own{align-self:flex-end;background:#343b29;border-color:#5c6645;border-radius:11px 11px 3px 11px}.lobby-shell .message-meta{display:flex;justify-content:space-between;align-items:baseline;gap:14px;font-size:10px;margin-bottom:5px}.lobby-shell .message-meta strong{font-weight:550;color:#d1d4b9;overflow-wrap:anywhere;min-width:0}.lobby-shell .message-meta time{font-size:9px;color:#9ba78e;white-space:nowrap;flex-shrink:0}.lobby-shell .chat-message p{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;font-size:12px;color:#e1e5d5;line-height:1.7;margin:0}.lobby-shell .chat-form{padding:14px 14px 0;display:flex;align-items:center;gap:8px;border-top:1px solid #343d2f;margin:0}.lobby-shell .chat-form input{min-height:44px;font-size:12px;padding:10px 12px;min-width:0}.lobby-shell .send-button{width:44px;height:44px;display:grid;place-items:center;background:#c5ce9d;border:1px solid #c5ce9d;border-radius:8px;color:#293021;flex-shrink:0;padding:0}.lobby-shell .send-button .icon{width:18px;height:18px}.lobby-shell .chat-hint{display:flex;justify-content:space-between;padding:9px 16px 13px;font-size:9px;color:#85917c}
@media(min-width:1600px){.lobby-shell main{padding-top:36px}.lobby-shell .chat-panel{height:550px}}
@media(max-width:1250px) and (min-width:961px){.lobby-shell{grid-template-columns:182px minmax(0,1fr)}.lobby-shell .sidebar{width:182px;padding-inline:12px}.lobby-shell .brand{font-size:20px;gap:7px}.lobby-shell main{padding-inline:26px}.lobby-shell .topbar,.lobby-shell .site-footer{width:calc(100% - 52px)}.lobby-shell .final-lobby{grid-template-columns:minmax(0,1fr) 282px;gap:18px}.lobby-setting{flex-wrap:wrap;gap:10px}.lobby-setting.auto-setting{flex-wrap:nowrap}.lobby-settings{padding:20px}.lobby-player{padding:16px}.lobby-player h3{font-size:18px}.home-action>strong{font-size:22px}.lobby-subscription{flex-wrap:wrap}}
@media(max-width:960px){.lobby-shell{display:block}.lobby-shell .sidebar{display:none}.lobby-shell .main-column{min-height:100dvh}.lobby-shell .topbar{height:64px;width:calc(100% - 40px)}.lobby-shell .topbar-caption,.lobby-shell .topbar-note,.lobby-shell .profile-label{display:none}.lobby-shell .mobile-brand{display:block;font-size:17px;font-weight:700;letter-spacing:3px}.lobby-shell .mobile-brand>span{color:#d4bd85;font-size:7px;margin-left:6px;vertical-align:top}.lobby-shell .profile{font-size:12px;max-width:55%}.lobby-shell .profile>span:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lobby-shell main{padding:26px 24px 100px}.lobby-shell .site-footer{display:none}.lobby-shell .mobile-navigation{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;z-index:10;bottom:0;left:0;right:0;border-top:1px solid #414b36;background:#171e18f5;backdrop-filter:blur(12px);padding:5px 8px calc(5px + env(safe-area-inset-bottom));gap:4px}.mobile-navigation>a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:53px;color:#8d9d81;font-size:9px;border-radius:8px}.mobile-navigation>a.active{background:#3e40281f;color:#e2cf9f}.mobile-navigation .icon{width:19px;height:19px}.lobby-shell .final-lobby{grid-template-columns:minmax(0,1fr) 280px;gap:18px}.lobby-settings{padding:20px}.lobby-setting{flex-wrap:wrap;gap:10px}.lobby-setting.auto-setting{flex-wrap:nowrap}.lobby-player{padding:15px}.lobby-player h3{font-size:18px}.lobby-player .seat-label{font-size:7px;letter-spacing:1px}.lobby-subscription{flex-wrap:wrap;padding:18px}.lobby-heading-tools{gap:12px}.home-action>strong{font-size:21px}.page-heading{gap:18px}.room-tile{padding:22px}.history-cards{gap:14px}.history-game{padding:19px}}
@media(max-width:740px){.lobby-shell .final-lobby{grid-template-columns:1fr;gap:25px}.lobby-shell .chat-panel{position:static;height:410px}.lobby-settings .segmented{max-width:100%}.lobby-setting{flex-wrap:nowrap}.lobby-shell .comparison-grid{grid-template-columns:1fr;gap:18px}.stats-comparison .result-counts{grid-template-columns:repeat(4,minmax(0,1fr))}.continue-symbol{display:none}.continue-card{gap:16px;padding:22px}.continue-copy h2{font-size:21px}.continue-action .button{min-height:44px;padding:10px 16px}.continue-copy .eyebrow{font-size:7px}.room-directory,.history-cards{grid-template-columns:1fr}.fact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lobby-shell .page-heading h1{font-size:32px}.finished-players{gap:14px}.finished-player{padding:20px}.finished-player h2{font-size:22px}.finished-player .stat-grid{grid-template-columns:1fr}.finished-result h2{font-size:25px}.finished-result>strong{font-size:38px}.finished-result{padding:23px}}
@media(max-width:480px){.lobby-shell .topbar{width:calc(100% - 36px);height:62px}.lobby-shell main{padding:23px 18px 90px}.lobby-shell h1{font-size:30px}.page-heading{margin-bottom:22px;align-items:flex-start;gap:14px}.page-heading p{font-size:12px;line-height:1.8}.page-heading .eyebrow{font-size:7px;letter-spacing:1.5px;line-height:1.8}.page-heading>.button{font-size:11px;padding:9px 12px;min-height:40px}.page-heading>.button .icon{display:none}.heading-checkers{display:none}.home-heading h1{font-size:30px}.home-actions{gap:12px}.home-action{padding:17px 15px;min-height:202px}.home-action-icon{right:15px;top:15px;width:30px;height:30px;border-radius:9px}.home-action-icon .icon{width:16px;height:16px}.home-action .eyebrow{font-size:6px;letter-spacing:1px;line-height:1.8;margin:0 29px 25px 0}.home-action>strong{font-size:20px;letter-spacing:-.5px;padding:0;margin-bottom:10px}.home-action>span:not([class]){font-size:10px;max-width:100%;line-height:1.7}.home-action-link{font-size:10px;padding-top:18px}.home-shortcuts{gap:10px;margin-top:13px}.home-shortcuts>a{gap:9px;padding:14px 12px}.home-shortcuts>a>.icon{width:18px;height:18px}.home-shortcuts>a>.icon:last-child{display:none}.home-shortcuts strong{font-size:11px}.home-shortcuts span{font-size:9px;line-height:1.5;margin-top:3px}.continue-card{align-items:stretch;flex-direction:column;padding:20px;margin-bottom:16px;gap:16px}.continue-copy h2{font-size:23px}.continue-copy p{font-size:12px}.continue-action{flex-direction:row;align-items:center;justify-content:space-between;gap:12px}.continue-action .button{font-size:12px;gap:12px}.game-status-chip{font-size:10px;padding:5px 8px}.room-tile h2{font-size:26px}.room-tile{padding:22px}.lobby-heading{flex-direction:column;gap:20px}.lobby-heading-tools{width:100%;justify-content:space-between;border:1px solid #3c4732;border-radius:11px;padding:12px 15px;background:#1c241b}.lobby-code{display:flex;align-items:center;justify-content:space-between;flex:1;gap:12px}.lobby-code>span{font-size:7px;letter-spacing:1px;max-width:55px;line-height:1.8}.lobby-code button{font-size:24px;gap:8px;letter-spacing:3px}.room-menu summary{width:39px;height:39px;border-color:#46503b}.copy-notice{margin-top:-10px;font-size:10px}.final-lobby .players-grid{gap:10px}.lobby-player{padding:16px 13px}.lobby-player .seat-label{margin-bottom:15px;flex-wrap:wrap;gap:7px}.lobby-player .host-badge{font-size:7px;padding:1px 4px}.lobby-player h3{font-size:18px}.player-presence{gap:8px}.online-status{font-size:10px;gap:6px}.self-label{font-size:9px}.lobby-ready{font-size:10px;margin-top:15px;padding-top:12px}.lobby-settings{padding:20px 17px;margin-top:15px}.lobby-setting{align-items:flex-start;flex-wrap:wrap;padding:14px 0;gap:13px}.lobby-settings .segmented{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.lobby-settings .timer-options{grid-template-columns:repeat(4,minmax(0,1fr))}.lobby-settings .segmented button{padding:9px 6px;font-size:11px;min-height:42px}.lobby-settings .timer-options button{min-width:0;font-size:10px;padding-inline:4px}.lobby-settings .section-heading h2{font-size:15px}.lobby-settings .section-heading>span{font-size:6px;letter-spacing:.5px}.lobby-setting.auto-setting{flex-wrap:nowrap;align-items:center}.auto-setting p{max-width:220px;font-size:10px}.auto-setting h3{font-size:11px}.lobby-subscription{margin-top:15px;padding:18px}.lobby-primary-action{margin-top:18px}.stats-panel{padding:22px 19px}.stats-player-heading h2{font-size:24px}.win-rate strong{font-size:29px}.stat-grid{gap:10px 16px}.stat-metric dt{font-size:10px}.stat-metric dd{font-size:24px}.result-counts,.stats-comparison .result-counts{grid-template-columns:repeat(2,minmax(0,1fr))}.summary-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px}.history-summary{padding:23px 20px}.summary-heading h2{font-size:38px}.summary-heading h2 small{font-size:12px;line-height:1.5;max-width:130px;margin-left:12px}.history-game{padding:21px}.history-matchup>span{font-size:11px;line-height:1.8}.history-card-bottom{font-size:9px}.finished-players{grid-template-columns:1fr}.finished-player .stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.finished-result h2{font-size:24px}.finished-result>strong{font-size:37px}.finished-result{gap:15px;padding:22px 19px}.match-facts{padding:22px 19px}.fact-grid{gap:19px 16px}.fact-grid dd{font-size:12px}.profile-panel,.profile-editor{padding:23px 20px}.profile-fields{grid-template-columns:1fr;gap:20px}.profile-actions{gap:10px}.profile-actions .button{flex:1;font-size:11px;padding:12px 9px;white-space:nowrap}.profile-actions .logout-button{margin-left:0;width:100%;text-align:left;padding-top:13px}.profile-editor .section-heading h2{font-size:17px}.page-state{padding:32px 20px;min-height:240px}.page-state h2{font-size:20px}.page-state p{font-size:12px}.comparison-summary{gap:10px 20px;padding:16px}.comparison-summary a{width:100%;margin:3px 0 0}.lobby-shell .chat-panel{height:395px}.lobby-shell .chat-message{max-width:90%}.lobby-shell .join-modal{padding:30px 23px}.lobby-shell .error-banner .text-button{margin:6px 0 0;display:block}}
