/* Dominado scene composition. Ratios measured from reference metadata are in Design/STRUCTURE.md.
   All materials, icons and artwork belong to this project. No continuous visual animation. */
:root { --shell-rail:#746453; --shell-shade:#4b3e32; --shell-stage:#eee4d4; --shell-line:#cdbfa8; --shell-secondary:#65594b; }
body:not(.in-game) { background:repeating-linear-gradient(0deg,#9f876009 0 .4px,transparent .4px 5px),radial-gradient(ellipse at 50% 0,#ffffffbb,transparent 65%),linear-gradient(#e6dfd6,#f7efdf 45%,#ddd2b9); }
.lobby-shell { container-type:inline-size;width:100%;max-width:960px;height:100dvh;min-height:0;overflow:hidden;margin:auto;padding:0;display:flex;flex-direction:column;position:relative; }
.lobby-shell .topbar { position:relative;z-index:20;flex:none;margin:0;min-height:67px;padding:calc(12px + env(safe-area-inset-top)) 18px 12px;background:linear-gradient(125deg,var(--shell-rail),var(--shell-shade));border-bottom:1px solid #dcaf3266; }
.lobby-shell>footer { display:none; }
#lobby-content { flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden;padding:0; }
.lobby-shell.club-open>.topbar { display:none; }
.shell-section { flex:none;margin:0 18px;padding:12px 0; }
.shell-section h2 { font-size:14px;letter-spacing:.5px; }
.shell-lobby-actions { display:flex;flex:none;justify-content:space-evenly;padding:9px 25px;margin:0;gap:0; }
.shell-lobby-actions>button { display:flex;flex-direction:column;align-items:center;gap:5px;flex:1;background:none;border:0;box-shadow:none;color:var(--shell-secondary);padding:0;font-size:10px;font-weight:500; }
.shell-lobby-actions>button>b,.club-cover-tools>button,.club-cover-tools>.shell-menu>summary { width:44px;height:44px;display:grid;place-items:center;background:linear-gradient(var(--shell-rail),var(--shell-shade));border:1px solid #ffffff4c;border-radius:50%;box-shadow:inset 0 -2px 0 #00000015,0 3px 3px #2c1c1238;color:#fff; }
.shell-lobby-actions .shell-icon { width:22px;height:22px; }
.shell-club-list { display:flex;flex-direction:row;flex:1;min-height:0;align-items:center;gap:18px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;padding:12px 7.333%;scroll-padding:0 7.333%;scrollbar-width:none; }
.shell-club-list::-webkit-scrollbar { display:none; }
.shell-club-entry { position:relative;isolation:isolate;scroll-snap-align:center;flex:0 0 min(100%,460px);aspect-ratio:640/790;max-height:100%;min-height:0;padding:0;margin:0;display:flex;align-items:stretch;flex-direction:column;justify-content:space-between;overflow:hidden;clip-path:polygon(20px 0,calc(100% - 20px) 0,100% 20px,100% calc(100% - 20px),calc(100% - 20px) 100%,0 100%,0 20px);border:1px solid #dcaf32b3;border-radius:20px;background:var(--shell-shade);color:white;box-shadow:0 6px 14px #2c1c1226; }
.shell-club-entry:before { content:"";position:absolute;inset:0;background:linear-gradient(transparent 40%,#2c1c1266 70%,#2c1c12fa);z-index:-1; }
.shell-club-entry:after { display:none; }
.club-poster-art { position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2; }
.club-poster-top { display:flex;align-items:center;justify-content:space-between;padding:17px; }
.club-poster-top>small { font-size:8px;letter-spacing:1px;font-weight:600;background:#2c1c12d1;padding:6px 10px;border-radius:30px; }
.club-poster-top>b { display:flex;align-items:center;gap:5px;font-size:10px;background:var(--coral);padding:8px;border-radius:30px; }
.club-poster-top .shell-icon { width:13px;height:13px; }
.club-poster-bottom { position:relative;display:flex;flex-direction:row;align-items:center;gap:12px;padding:18px;min-height:80px; }
.shell-club-entry>span.club-poster-bottom { font-size:14px;color:white; }
.shell-club-entry:hover { background:var(--shell-shade); }
.lobby-shell .section-heading.shell-section { margin:0 18px;padding:12px 0; }
.club-poster-identity { display:flex;align-items:center;gap:12px;min-width:0;flex:1; }
.club-poster-identity>.club-crest { width:44px;height:44px;flex-shrink:0; }
.shell-club-text { display:flex;flex-direction:column;min-width:0;gap:6px; }
.shell-club-text>strong { font-size:17px;color:white;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
.shell-club-text>strong>.shell-icon { width:11px;height:11px;color:var(--gold); }
.shell-club-text>small { font:500 9px monospace;letter-spacing:.1px;color:#ffffffc2; }
.club-poster-action { display:flex;align-items:center;justify-content:space-between;gap:10px; }
.club-poster-action>span { display:flex;align-items:center;gap:6px;font-size:11px;color:#ffffffcc; }
.club-poster-action .shell-icon { width:15px;height:15px; }
.club-poster-action>b { display:grid;place-items:center;height:38px;padding:0 16px;border-radius:30px;background:linear-gradient(#ffe7a6,var(--gold));border:1px solid #ffffff99;font-size:11px;letter-spacing:.8px;color:var(--ink); }
/* 100 / 74 / 24 units on a 750-unit reference width; artwork is original. */
.shell-dock,.club-nav.shell-dock { --dock-height:clamp(50px,13.333333cqw,64px);--dock-icon:clamp(31.573333px,9.866667cqw,47.36px);--dock-label:clamp(10.24px,3.2cqw,15.36px);position:relative;order:99;isolation:isolate;flex:none;width:100%;max-width:none;min-height:var(--dock-height);inset:auto;transform:none;margin:0;padding:0 0 env(safe-area-inset-bottom);border:0;border-radius:0;display:flex;align-items:flex-start;background:repeating-linear-gradient(0deg,transparent 0 2px,#dcaf3204 2px 3px),linear-gradient(#36312a,#171511 30%,#12120f);box-shadow:none; }
.shell-dock:before { content:"";position:absolute;inset:0 0 auto;height:2px;background:linear-gradient(#17130f,#dcaf3299,#ffffff25);pointer-events:none; }
.shell-dock:after { display:none; }
.shell-dock>button { flex:1;min-width:0;height:var(--dock-height);min-height:var(--dock-height);display:block;position:relative;color:#eee5d9;background:none;padding:0;border:0;border-radius:0;box-shadow:none;transition:transform .1s ease-out,filter .1s ease-out; }
.shell-dock>button:before { display:none; }
.shell-dock>button.active:after { display:block;content:"";position:absolute;top:0;left:50%;width:var(--dock-icon);height:1.5px;background:var(--gold);transform:translateX(-50%);border-radius:0; }
.shell-dock>button.active { color:var(--gold);background:linear-gradient(#ffffff24,#ffffff05); }
.shell-dock>button:active { transform:scale(.95); }
.shell-dock>button>.dock-icon { display:grid;place-items:center;position:absolute;top:1px;left:50%;transform:translateX(-50%);width:var(--dock-icon);height:var(--dock-icon); }
.dock-glyph,.dock-brand { width:var(--dock-icon);height:var(--dock-icon);filter:drop-shadow(0 1px .5px #00000040); }
.dock-brand { object-fit:contain; }
.shell-dock>button>.dock-label { position:absolute;bottom:2px;left:0;width:100%;font-size:var(--dock-label);font-weight:500;letter-spacing:.1px;line-height:1.2;white-space:nowrap; }
.dock-badge { position:absolute;top:1px;right:-4px;min-width:clamp(14px,3.2cqw,15.36px);height:clamp(14px,3.2cqw,15.36px);padding:0 3px;border:.6px solid #ffffffb3;border-radius:30px;background:var(--coral);color:white;font-size:8px;display:grid;place-items:center; }
.lobby-shell .requests,.lobby-shell .archived-clubs { margin:0 16px;max-height:120px;overflow:auto;flex:none; }
/* Menus stay above sibling filters and the scrolling table list. Raising the
   menu alone cannot escape the isolated cover's stacking context. */
.club-lounge-heading { position:relative;z-index:20;flex:none;margin:0; }
.shell-menu>div,.club-table-options { max-height:min(360px,60dvh);overflow-y:auto;overscroll-behavior:contain; }
.club-lounge-hero { height:154px; }
.club-cover-tools { padding-top:12px; }
.club-reserve-strip { background:linear-gradient(125deg,var(--shell-rail),var(--shell-shade));color:#ffffffd9;border-bottom:1px solid #dcaf3280; }
.club-reserve-strip>strong { color:var(--gold); }
.club-compact-header { display:flex;align-items:center;gap:8px;min-height:65px;padding:calc(0px + env(safe-area-inset-top)) 8px 0 4px;flex:none;background:linear-gradient(125deg,var(--shell-rail),var(--shell-shade));color:#fff;border-bottom:1px solid #dcaf3280; }
.club-compact-header>button { width:44px;height:44px;background:none;color:white;display:grid;place-items:center;padding:0;flex-shrink:0; }
.club-compact-header .shell-icon { width:22px;height:22px; }
.club-compact-header>.club-crest { width:34px;height:34px;border-radius:7px;gap:0;box-shadow:inset 0 0 0 2px #695133; }
.club-compact-header>.club-crest>b { font-size:12px; }.club-compact-header>.club-crest>span { font-size:9px; }
.club-compact-header>span { display:flex;flex:1;min-width:0;flex-direction:column;gap:3px; }
.club-compact-header strong { font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
.club-compact-header small { font-size:10px;color:#ffffffb3; }
/* The table itself is the control; no rectangular row container. */
.club-floor-controls { flex:none;display:flex;align-items:center;gap:10px;padding:12px 16px 4px;position:relative;z-index:5; }
.club-table-filters { flex:1;display:flex;gap:3px;margin:0;padding:0 4px;border-radius:30px;background:linear-gradient(var(--shell-shade),var(--shell-rail));border:1px solid #c4baad;box-shadow:0 2px 4px #2c1c121f; }
.club-table-filters>button { flex:1;min-height:44px;padding:5px 0;border:0;border-radius:30px;background:none;color:#ffffffd4;font-size:11px;position:relative;isolation:isolate;box-shadow:none; }
.club-table-filters>button.active { color:var(--shell-shade);background:none;border:0; }
.club-table-filters>button.active:before { content:"";position:absolute;inset:5px 0;border-radius:30px;background:linear-gradient(#fff0c4,var(--gold));border:.6px solid #ffffffbf;box-shadow:0 2px 2px #00000033;z-index:-1; }
.club-filter-menu { position:relative;flex:none; }
.club-filter-menu>summary { width:44px;height:44px;display:grid;place-items:center;list-style:none;cursor:pointer;border-radius:50%;border:1px solid #ffffff4d;background:linear-gradient(var(--shell-rail),var(--shell-shade));box-shadow:0 3px 3px #2c1c1238;color:white; }
.club-filter-menu>summary::-webkit-details-marker { display:none; }
.club-filter-menu>summary>.shell-icon { width:22px;height:22px; }
.club-filter-menu>summary>i { position:absolute;top:0;right:0;width:7px;height:7px;border-radius:50%;background:var(--coral); }
.club-table-options { position:absolute;right:0;top:50px;min-width:180px;margin:0;padding:7px;display:flex;flex-direction:column;gap:0;background:#f7efdf;border:1px solid #bead87;border-radius:14px;box-shadow:0 6px 18px #2c1c1233; }
.club-table-options>button { width:100%;min-height:44px;padding:0 12px;gap:8px;text-align:left; }
.club-floor { flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column;position:relative;isolation:isolate;padding:8px 12px 18px; }
.club-floor-title { display:flex;align-items:center;gap:10px;font-size:9px;font-weight:600;letter-spacing:1px;color:var(--shell-shade);padding:4px 0 12px; }
.club-floor-title:before,.club-floor-title:after { content:"";flex:1;height:.7px;background:#2c1c1226; }
.club-table-list { display:flex;flex-direction:column;gap:0;padding:0 0 70px;overflow:visible;flex:none; }
.club-table-row,.club-table-row:hover { display:flex;flex-direction:row;align-items:center;gap:14px;min-height:92px;aspect-ratio:auto;width:100%;padding:10px 0;text-align:left;border:0;border-bottom:.5px solid #bba17152;border-radius:0;background:none;box-shadow:none;clip-path:none;color:var(--shell-shade); }
.club-table-row:before { display:none; }
.club-table-phase { min-height:10px;justify-content:flex-start;font-size:8px;font-weight:600;letter-spacing:.8px;color:var(--shell-secondary); }
.club-table-phase>i { background:var(--gold); }
.club-table-art { display:block;position:relative;flex:0 0 35.9773%;max-width:180px;height:68px; }
.club-table-thumbnail { position:absolute;inset:13px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;flex:none;height:auto;aspect-ratio:auto;min-width:0;padding:0 10px;background:repeating-linear-gradient(0deg,#ffffff0a 0 .5px,transparent .5px 4px),radial-gradient(ellipse at 25% 15%,#ac7746,#694326 70%,#392316);border:6px solid #b9a071;border-radius:50%;box-shadow:inset 0 0 0 3px #2c1c12,0 4px 0 #2c1c12,0 9px 9px #2c1c1245;color:white; }
.club-table-thumbnail:before { inset:-5px;border:1px solid #ffffffa6;border-radius:50%; }
.club-table-thumbnail:after { inset:6px;border:.8px solid #dcaf3259;border-radius:50%; }
.club-table-thumbnail>strong,.club-table-thumbnail>strong:only-child { font-size:23px;font-weight:600;line-height:1.1;text-shadow:0 1px 2px #00000038; }
.club-table-thumbnail>strong:only-child { font-size:16px; }
.club-table-thumbnail>small { font-size:6px;letter-spacing:.8px;font-weight:600; }
.club-seat { position:absolute;width:19px;height:19px;display:grid;place-items:center;background:linear-gradient(var(--shell-rail),var(--shell-shade));border:.7px solid #ffffffb3;border-radius:50%;box-shadow:0 2px 3px #2c1c1229;color:#ffffffcc;font-size:12px; }
.club-seat.occupied { background:linear-gradient(#fff0c4,var(--gold));color:var(--shell-shade); }
.club-seat>.shell-icon { width:11px;height:11px; }
.seat-0 { left:calc(50% - 9.5px);top:0; }.seat-1 { right:0;top:calc(50% - 9.5px); }.seat-2 { left:calc(50% - 9.5px);bottom:0; }.seat-3 { left:0;top:calc(50% - 9.5px); }
.club-table-description { flex:1;min-width:0;gap:7px;align-items:flex-start; }
.club-table-description>strong { display:block;max-width:100%;width:100%;padding:0;color:var(--shell-shade);font-size:15px;font-weight:500;line-height:1.3;background:none;border:0;border-radius:0;box-shadow:none;overflow-wrap:anywhere; }
.club-table-players { justify-content:flex-start;color:var(--shell-secondary);font-size:10px; }.club-table-players>.shell-icon { width:11px;height:11px; }
.club-table-places { color:var(--shell-secondary);font-size:9px; }
.club-floor-signature { display:flex;flex-direction:column;align-items:center;gap:6px;margin-top:auto;opacity:.25;pointer-events:none; }
.club-floor-signature>span { font-size:10px;font-weight:600;letter-spacing:2px;color:var(--shell-shade); }
.club-create-floating { position:absolute;right:18px;bottom:calc(74px + env(safe-area-inset-bottom)); }
.club-request-strip { display:flex;flex:none;gap:8px;align-items:center;min-height:44px;padding:0 16px;background:#ffffff5c;font-size:12px;color:var(--blue);border-radius:0; }
.club-request-strip .shell-icon { width:18px;height:18px; }.club-request-strip>b { margin-left:auto; }
.roster-stage { display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden; }
.counter-wallet-strip { display:flex;gap:14px;flex:none;padding:11px 18px;border-bottom:1px solid #bba17199;background:#ffffff45; }
.counter-wallet-strip>div { flex:1;display:flex;flex-direction:column;gap:5px; }
.counter-wallet-strip>div+div { padding-left:14px;border-left:1px solid #bba17188; }
.counter-wallet-strip small { font-size:8px;font-weight:600;color:var(--shell-secondary); }
.counter-wallet-strip strong { font-size:19px;font-weight:600;font-variant-numeric:tabular-nums;color:var(--blue); }.counter-wallet-strip>div+div>strong { color:var(--coral); }
.roster-title { display:flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;font-size:12px;flex:none; }.roster-title>span { margin-left:auto;color:var(--shell-secondary);font-size:10px; }
.roster-stage>.member-search { flex:none;margin:8px 14px; }
.roster-stage>.member-search>input { margin:0;min-height:44px;padding:12px 16px;background:linear-gradient(var(--shell-shade),var(--shell-rail));color:white;border:1px solid #c4baad;border-radius:30px;font-size:13px; }
.roster-stage>.member-search>input::placeholder { color:#ffffff9e; }
.roster-stage>.role-switch { flex:none;margin:0 14px 7px;padding:4px;display:flex;gap:3px;border-radius:30px;border:1px solid #c4baad;background:linear-gradient(var(--shell-shade),var(--shell-rail));box-shadow:0 2px 4px #2c1c121f; }
.roster-stage>.role-switch>button { flex:1;min-height:36px;border:0;border-radius:30px;box-shadow:none;background:none;color:#ffffffd4;font-size:11px; }
.roster-stage>.role-switch>button.active { background:linear-gradient(#fff0c4,var(--gold));color:var(--shell-shade);box-shadow:0 2px 2px #00000033; }
#club-player-list { flex:1;min-height:0;overflow:auto;padding:10px 12px 20px; }
.lobby-shell #club-player-list .admin-row { min-height:64px;padding:10px 12px;background:none; }
.counter-fixed-action { flex:none;display:flex;gap:12px;align-items:center;padding:10px 16px;border-top:1px solid #dcaf3280;background:linear-gradient(125deg,var(--shell-rail),var(--shell-shade));color:white; }
.counter-fixed-action>span { display:flex;flex:1;min-width:0;flex-direction:column;gap:3px; }.counter-fixed-action small { font-size:8px;color:#ffffffa6; }.counter-fixed-action strong { font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
.counter-fixed-action>button { min-height:44px;border-radius:30px;padding:0 22px; }
.lobby-shell .counter-fixed-action>.primary { min-height:44px;border-radius:30px;padding:0 22px;background:linear-gradient(#fff0c4,var(--gold));color:var(--shell-shade);border:.7px solid #ffffff80;box-shadow:0 2px 3px #00000033; }
.lobby-shell #club-player-list .counter-member.selected { background:#dcaf3238; }
.club-menu-stage,.lobby-shell .players-panel { flex:1;min-height:0;overflow:auto;padding:10px 12px 24px; }
.club-menu-stage>h3 { font-size:13px;letter-spacing:.5px;margin:12px 3px 16px; }
.game-menu-group { margin-bottom:14px;border-radius:12px;overflow:hidden; }
.game-menu-row { display:flex;align-items:center;gap:13px;min-height:60px;width:100%;padding:0 15px;text-align:left;background:linear-gradient(#ffffff99,#ffffff30);border:0;border-bottom:.5px solid #bba17173;border-radius:0;box-shadow:none;color:var(--ink); }
.game-menu-row>.shell-icon { width:21px;height:21px;padding:8px;box-sizing:content-box;background:linear-gradient(135deg,#fff,#e4ddd4);border:.7px solid #bead87b3;border-radius:50%;box-shadow:0 2px 2px #2c1c1219;color:var(--blue); }
.game-menu-row>span { flex:1;font-size:14px;font-weight:500; }.game-menu-row>b { font-size:18px;font-weight:400;color:var(--shell-secondary); }.game-menu-row small { font-size:9px;color:var(--shell-secondary); }.game-menu-row>i { width:37px;text-align:center;font-size:22px;font-style:normal;color:var(--shell-secondary); }.game-menu-row.upcoming { opacity:.6; }
dialog:not(.results-drawer) { padding:0;border:1px solid #e4d7c7;border-radius:24px;background:linear-gradient(135deg,#f2ece4,#f8f6f4);box-shadow:0 18px 70px #2c1c1240; }
dialog:not(.results-drawer) .modal-heading { position:sticky;top:0;z-index:3;margin:0;padding:0 6px 0 44px;min-height:48px;background:linear-gradient(125deg,var(--shell-rail),var(--shell-shade));color:white;border-bottom:1px solid #dcaf3280; }
dialog:not(.results-drawer) .modal-heading h2 { flex:1;text-align:center;font-size:16px;font-weight:600;margin:0;letter-spacing:0; }
dialog:not(.results-drawer) .modal-heading>button { width:44px;height:44px;background:none;box-shadow:none;color:white;font-size:18px; }
dialog:not(.results-drawer)>:not(.modal-heading) { margin-left:18px;margin-right:18px; }dialog:not(.results-drawer)>:last-child { margin-bottom:22px; }dialog:not(.results-drawer)>:nth-child(2) { margin-top:18px; }
dialog .history-row,dialog .notification,dialog .admin-row { border:0;border-bottom:.5px solid #bba17199;border-radius:0;background:none;box-shadow:none;padding:14px 3px; }
dialog .member-stats>div { border:0;border-bottom:.5px solid #bba17199;border-radius:0;box-shadow:none;background:none; }
dialog .primary,dialog .secondary { min-height:44px;border-radius:30px; }
dialog .table-exit-actions { background:#f2ece4; }
dialog .profile-heading { display:flex;flex-direction:column;text-align:center;background:linear-gradient(125deg,var(--shell-rail),var(--shell-shade));color:white;padding:20px;margin:0!important;gap:12px; }
dialog .profile-heading .muted,dialog .profile-heading .text-button { color:#ffffffbf; }dialog .profile-heading h3 { margin:0;font-size:23px; }
@media(min-width:800px) { .club-lounge-hero { height:190px; }.club-table-list { gap:0; }.shell-club-list { justify-content:flex-start; } }
@media(max-width:380px) { .lobby-shell .topbar { padding-left:14px;padding-right:8px; }.club-table-list { gap:20px 12px; }.club-floor { padding-left:12px;padding-right:12px; }.club-table-thumbnail>strong { font-size:21px; }.club-table-places { font-size:8px; } }
@media(prefers-reduced-motion:reduce) { .shell-club-entry,.game-menu-row,.shell-dock>button { transition:none!important; }.shell-dock>button:active { transform:none; } }

/* Club identity is independent of the application's walnut/gold chrome. */
.cover-manaus { --cover-shade:#0b1d2d; }.cover-imperial { --cover-shade:#2c1c12; }.cover-monogram { --cover-shade:#242129; }
.shell-club-entry.cover-manaus:before { background:linear-gradient(transparent 45%,#0b1d2d66 70%,#0b1d2dfa); }
.cover-manaus .club-crest { background:linear-gradient(#24435a,#0b1d2d);box-shadow:inset 0 0 0 2px #b89559; }
.cover-manaus .club-cover-hud { background:linear-gradient(transparent,#0b1d2df0); }
.cover-focus-manaus { object-position:center 36%; }.cover-focus-imperial { object-position:center 40%; }
.club-cover-monogram { display:grid;place-items:center;background:repeating-linear-gradient(45deg,transparent 0 29px,#dcaf3212 29px 30px),linear-gradient(120deg,#56505a,#242129,#14151a); }
.club-cover-monogram>b { display:grid;place-items:center;width:38%;aspect-ratio:1;border:1px solid #dcaf3299;border-radius:20%;font:500 48px Georgia,serif;color:#fff0ce; }
.club-cover-preview { position:relative;height:290px;overflow:hidden;border-radius:18px;background:var(--cover-shade,#2c1c12);isolation:isolate;margin-bottom:20px; }
.club-cover-preview-art { position:absolute;width:100%;height:100%;object-fit:cover;z-index:-1; }
.club-cover-preview>strong { position:absolute;bottom:0;left:0;right:0;padding:20px;color:white;font-size:23px;background:linear-gradient(transparent,var(--cover-shade,#2c1c12)); }
.club-cover-options { display:flex;gap:10px;margin-bottom:20px; }
.club-cover-options>button { flex:1;min-width:0;padding:0 0 8px;overflow:hidden;border:2px solid transparent;background:none;border-radius:12px; }
.club-cover-options>button.selected { border-color:#dcaf32; }
.club-cover-option-art { display:block;width:100%;height:80px;object-fit:cover;margin-bottom:8px;border-radius:10px; }.club-cover-options span { font-size:11px; }
.cover-photo-label { border:1px solid #b89559;border-radius:12px;padding:12px; }.cover-photo-label input { width:100%;margin-top:10px; }

.club-poster-count{flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;width:54px;height:38px;color:var(--gold);background:#2c1c12bd;border:.7px solid #dcaf3280;border-radius:9px}.club-poster-count>b{font-size:17px;font-weight:500;font-variant-numeric:tabular-nums}.club-poster-count>small{font-size:7px;letter-spacing:.6px;font-weight:650}.club-table-thumbnail{inset:0 3px;background:linear-gradient(#39231615,#39231670),url("/table-wood-v1.jpg") center/cover;border-width:5px}.club-table-art>.club-seat{display:none}.club-table-arrow{flex:none;font-size:20px;color:#75502eb3}.club-table-thumbnail>strong{font-size:22px}.club-table-thumbnail>small{font-size:6px}

/* Quiet ivory stage. Club cover artwork keeps its own identity. */
.lobby-shell.game-stage{background:linear-gradient(#f7f1e7f0,#eee4d4f0),url('/table-wood-v1.jpg') center/cover;color:#302318}
.game-stage .shell-lobby-actions>button,.game-stage .shell-section>span,.game-stage .shell-empty{color:var(--shell-secondary)}
.game-stage .shell-section h2,.game-stage .requests,.game-stage .request-row,.game-stage .club-table-description>strong,.game-stage .club-floor .empty h3{color:#302318}
.game-stage .club-floor-title,.game-stage .club-table-phase,.game-stage .club-table-players,.game-stage .club-table-places,.game-stage .club-table-arrow{color:var(--shell-secondary)}
.game-stage .club-floor-title:before,.game-stage .club-floor-title:after{background:#65594b26}
.game-stage .club-table-row{border-bottom-color:#65594b26}
.game-stage .club-floor-signature>span{color:#65594b}
.game-stage .lobby-club-caption{color:#302318}.game-stage .lobby-club-caption>small{color:var(--shell-secondary)}
.game-stage .request-row{background:#faf6ef;border:1px solid #d8ccbb;box-shadow:none}
.game-stage .request-row small,.game-stage .request-row span{color:var(--shell-secondary)}

.lobby-shell .topbar{min-height:54px;padding:calc(5px + env(safe-area-inset-top)) 12px 5px 18px}.lobby-shell .topbar .profile{gap:10px}.lobby-shell .topbar .avatar{width:38px;height:38px}.lobby-shell .topbar .profile-name{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;min-height:44px;padding:0;font-size:15px}.lobby-shell .topbar .shell-user-id{font-size:9px}.shell-lobby-actions{align-items:center;justify-content:flex-end;padding:5px 18px;gap:2px}.lobby-club-caption{display:flex;flex-direction:column;gap:4px;flex:1;color:#f4e7cd}.lobby-club-caption>strong{font-size:11px;letter-spacing:1px;font-weight:650}.lobby-club-caption>small{font-size:9px;color:#ffffff99}.shell-lobby-actions>button{flex:none;width:52px;min-height:44px;gap:2px;font-size:8px}.shell-lobby-actions>button>b{width:30px;height:30px}.shell-lobby-actions .shell-icon{width:14px;height:14px}
.lobby-shell .profile-name>span{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis}.lobby-shell .profile-name>span>small{background:none;color:#ffffff99;padding:0 0 0 4px;border-radius:0;font-size:10px}.lobby-shell .profile-name>.shell-user-id{display:block;background:none;border-radius:0;padding:0;color:#ffffff99;font:500 9px/1.2 monospace;max-width:100%;opacity:1}

/* A full-width root action also reserves the dialog's side margins. */
dialog:not(.results-drawer)>.wide{width:calc(100% - 36px)}

dialog:not(.results-drawer) .modal-heading>button{border:0}dialog:not(.results-drawer) .modal-heading>button:focus-visible{outline:1.5px solid #dcaf32;outline-offset:-6px}
.shell-dock{--dock-cut:#171511}

/* Gold stays metallic; the large reading surfaces stay quiet. */
:root{--gold-metal:linear-gradient(145deg,#fff4a3 0%,#ffd54b 20%,#ce8b0c 48%,#ffe981 65%,#e5ac24 85%,#9b6108 100%)}
.club-table-filters>button.active:before,.club-poster-action>b,.switcher>button.active{background:var(--gold-metal);color:#302318}

/* Native lobby hierarchy: account currencies, utilities, club stage, modes. */
#lobby-wallet{flex:none}#lobby-wallet[hidden]{display:none}
.lobby-shell .topbar{min-height:44px;background:none;border:0;padding:0 18px;color:#302318}
.lobby-shell .topbar .avatar{width:27px;height:27px;border-color:#b8944b;color:#fff0ce}
.lobby-shell .topbar .profile-name{font-size:11px;gap:3px;min-height:44px;color:#302318}
.lobby-shell .topbar .profile-name>.shell-user-id{font-size:8px;color:#65594b}
.lobby-shell .topbar .profile-name>span>small{color:#65594b}
.lobby-shell .shell-brand{display:none}.lobby-shell .shell-menu>summary{color:#65501f;background:none;min-width:44px;min-height:44px}
.lobby-clubs-stage{display:flex;flex-direction:column;flex:1;min-height:160px;position:relative;margin:8px 7.3% 0;border:.8px solid #dcaf328c;border-radius:7px;background:#f7f1e7;box-shadow:0 4px 8px #30231826}
.lobby-clubs-stage .shell-lobby-actions{padding:7px 7px 0 16px;gap:2px;color:#302318}
.lobby-clubs-stage .shell-lobby-actions>strong{flex:1;text-align:left;font-size:25px;font-weight:850;letter-spacing:.5px;border-left:3px solid #dcaf32;padding-left:8px;line-height:25px}
.lobby-clubs-stage .shell-lobby-actions>button{width:44px;height:44px;min-height:44px;display:grid;place-items:center;padding:0;color:#65501f}
.lobby-clubs-stage .shell-lobby-actions .shell-icon{width:22px;height:22px}
.lobby-clubs-stage .shell-club-list{padding:0;gap:0;scroll-padding:0;align-items:stretch}
.lobby-clubs-stage .shell-club-entry{flex:0 0 100%;max-width:none;width:100%;aspect-ratio:auto;height:100%;max-height:none;border:0;border-radius:0;clip-path:none;background:#f7f1e7;color:#302318;box-shadow:none}
.lobby-clubs-stage .shell-club-entry:before{display:block;background:linear-gradient(#f7f1e799,transparent 45%,#eee4d4f5);z-index:-1}
.lobby-clubs-stage .club-poster-art{opacity:.24}.lobby-clubs-stage .photo-cover .club-poster-art{opacity:.88}
.lobby-club-miniature{position:absolute;left:3%;top:4%;width:94%;height:70%;object-fit:contain;filter:drop-shadow(0 8px 8px #0004);pointer-events:none;z-index:-1}
.lobby-clubs-stage .club-poster-top>small{background:none;color:#65594b;font-size:8px;padding:0}
.lobby-clubs-stage .club-poster-bottom{padding:12px 15px 17px;min-height:78px;background:linear-gradient(transparent,#eee4d4c9)}
.lobby-clubs-stage .shell-club-text>strong{font-size:16px;font-weight:600;color:#302318}.lobby-clubs-stage .shell-club-text>small{color:#65594b}
.lobby-clubs-stage .club-poster-count{width:58px;height:33px;background:linear-gradient(#eadcc5,#e3d1b0);border-color:#dcaf32b3;border-radius:24px;color:#302318}
.lobby-clubs-stage .club-poster-count>b{font-size:19px}.lobby-clubs-stage .club-poster-count>small{font-size:7px}
.lobby-mode-tiles{flex:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 7.3% 20px}
.lobby-mode-tiles>button{position:relative;isolation:isolate;height:clamp(85px,28cqw,120px);min-width:0;padding:10px;overflow:hidden;text-align:left;border:1.1px solid #e5ac24;border-radius:6px;background:radial-gradient(ellipse at 68% 38%,#ffd25930,transparent 80%),linear-gradient(145deg,#6c5034,#29241f);box-shadow:0 4px 5px #30231826;color:#fff0be}
.lobby-mode-tiles>button:before{content:'';position:absolute;inset:4px;border:.6px solid #f1c66a66;border-radius:3px;pointer-events:none}
.lobby-mode-tiles>button:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent 63%,#20190fc7);z-index:-1}
.lobby-mode-tiles img,.lobby-mode-tiles .dock-glyph{position:absolute;object-fit:contain;width:86%;height:80%;top:0;right:-3%;z-index:-2;filter:drop-shadow(0 4px 3px #0007)}
.lobby-mode-tiles .dock-glyph{width:68%;height:68%;top:4%;right:4%;transform:rotate(-15deg)}
.lobby-mode-tiles strong{position:absolute;bottom:10px;left:10px;font-size:12px;font-weight:850;font-style:italic;letter-spacing:.7px;text-shadow:0 1px 1px #0009}
.lobby-mode-tiles .mode-bonus{background:radial-gradient(ellipse at 68% 38%,#ffd25944,transparent 80%),linear-gradient(145deg,#93611d,#38271b)}
.lobby-mode-tiles .mode-vip{border-width:1.5px;background:radial-gradient(ellipse at 68% 38%,#ffd25947,transparent 80%),linear-gradient(145deg,#665037,#201b17)}
@media(max-height:700px){.lobby-mode-tiles{margin-top:12px;margin-bottom:12px}.lobby-mode-tiles>button{height:85px}.lobby-club-miniature{height:65%;top:0}.lobby-clubs-stage .club-poster-bottom{padding:10px;min-height:67px;gap:8px}}

.club-league-heading{display:flex;align-items:center;gap:8px;width:100%;min-height:44px;padding:10px 2px;background:none;border:0;color:var(--shell-secondary);font-size:10px;font-weight:650;text-align:left}.club-league-heading .shell-icon{width:18px;height:18px}.club-league-heading span{flex:1;min-width:0;overflow-wrap:anywhere}.club-league-heading b{font-size:16px}
