#club .clubbar,#club .refHome,#club .toolBanners{border-top:0;border-bottom:0}
#club .clubnav{background:#16161a;border-top:1px solid #343438;padding-bottom:max(5px,env(safe-area-inset-bottom))}
#club .clubnav button{color:#c6c2bd;font-weight:720;font-size:clamp(12px,3.4vw,15px);gap:4px}
#club .clubnav button svg{width:clamp(22px,6vw,30px);height:clamp(22px,6vw,30px);stroke-width:1.8}
#club .clubnav [aria-current=page]{color:#ff975c;background:linear-gradient(0deg,#ff77331b,transparent)}
#club .toolBanners{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:9px 0}
#club .toolBanners button{display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;gap:3px;text-align:left;min-width:0;min-height:82px;aspect-ratio:2/1;border:1px solid #574336;border-radius:12px;color:#fff5e9;padding:10px;background-size:cover;background-position:center;text-shadow:0 1px 5px #000}
#club .toolBanners strong{font:800 clamp(15px,4vw,23px)/1.15 TableKR,system-ui}
#club .toolBanners small{font:600 clamp(11px,2.9vw,14px) TableKR,system-ui;color:#e1d4cc}
#club .privateBanner{background-image:linear-gradient(70deg,#100d0ce8,transparent 88%),url('/assets/banner-private-v20.webp')}
#club .studyBanner{background-image:linear-gradient(70deg,#100d0ce8,transparent 87%),url('/assets/banner-gto-v20.webp')}
#club .runningGames{margin:10px 0 14px}
.runningGames header{display:flex;align-items:center;justify-content:space-between;padding:2px 2px 6px}
#club .runningGames h2{margin:0;font:750 17px TableKR,system-ui;color:#f7eee9}
.runningGames h2 b{color:#ff965e;margin-left:4px}
#club .runningGames header button,#club .runningRoom>button:last-child{background:#262322;border:1px solid #4d4441;border-radius:8px;color:#f3c1a6;min-height:32px;font:650 13px TableKR,system-ui;padding:4px 10px}
#club .runningGames>p{font-size:13px;color:#bdb6b1;margin:0 2px}
.runningList{display:flex;align-items:stretch;overflow-x:auto;gap:7px;padding:2px 0}
.runningRoom{display:flex;align-items:center;gap:4px;border:1px solid #453d37;background:#242221;border-radius:10px;padding:6px;flex:0 0 auto}
#club .runningRoom>button:first-child{display:grid;align-content:center;gap:2px;padding:3px 8px;border:0;background:transparent;text-align:left;color:#f8ece2}
.runningRoom small,.endList small{color:#beb3aa;font-size:12px}
#dialog[data-view=rooms] .modal,#dialog[data-view=manageGames] .modal{background:#171619;border:1px solid #504038;border-radius:16px;overflow:auto;padding:16px;max-height:88dvh}
#dialog .inviteHero{background:linear-gradient(90deg,#131113d9,transparent),url('/assets/banner-private-v20.webp') center/cover;padding:25px 15px 13px;border-radius:10px}
#dialog .inviteHero small{color:#f2aa7b;letter-spacing:.16em;font:bold 10px system-ui}
#dialog .inviteHero h2{font:800 24px TableKR,system-ui;margin:2px 0;color:#fff3e8}
#dialog .inviteBlock{margin:10px 0 0;border-radius:10px;background:#242123;border:1px solid #3c3636;padding:12px}
#dialog .inviteBlock h3{margin:0 0 9px;font-size:17px}
#dialog .inviteBlock input:not([type=checkbox]),#dialog .inviteBlock select{border-radius:7px;background:#17171b;color:#fff;margin-bottom:5px}
#dialog .inviteBlock p{font-size:13px;color:#cbbdb4}
.endList>label,.endAll{display:flex;align-items:center;gap:10px;padding:12px;border-bottom:1px solid #444}
.endList span{display:grid}.endList input,.endAll input{width:18px;height:18px;accent-color:#ff8a48}
#gtoDialog[open]{display:block;position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;border:0;border-radius:0;margin:0;background:#101114;color:#f9f4f0;box-sizing:border-box}
#gtoDialog *{box-sizing:border-box}
#gtoDialog [hidden]{display:none!important}
#gtoDialog .gtoSheet{height:100%;max-height:none;margin:auto;width:min(100%,780px);position:relative;background:#101114}
#gtoDialog .gtoHead{padding:max(6px,env(safe-area-inset-top)) 16px 6px;border:0;min-height:47px;flex:none}
#gtoDialog .gtoHead h2{font-size:21px}
.studyTabs{display:grid;grid-template-columns:repeat(3,1fr);width:100%;background:#18181d;border-block:1px solid #322e30;flex:none}
.studyTabs button{border:0;border-bottom:3px solid transparent;color:#bdb9b8;background:transparent;font:700 15px TableKR,system-ui;min-height:43px}
.studyTabs [aria-pressed=true]{border-bottom-color:#ff8651;color:#ffa077}
.basicStudy,.gtoBody{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}
.studyColumn{max-width:580px;margin:auto;padding:14px 14px max(30px,env(safe-area-inset-bottom))}
.basicBoard{border:1px solid #695141;border-radius:16px;background:radial-gradient(ellipse at 50% 100%,#4f372b,#262122 68%,#1a1b20);box-shadow:inset 0 0 0 4px #ffffff04;padding:14px 15px 19px}
.basicBoard>div,.pickHeading,.basicTools,.basicSeatTop,.articleNav,.sources,.quizRow{display:flex;align-items:center;justify-content:space-between;gap:8px}
.basicBoard small,.basicStatus{color:#d0bbb0;font-size:13px}
.basicBoard section,.replayMiddle>div{display:flex;gap:clamp(4px,1vw,8px);justify-content:center;margin-top:13px}
.studyCard{--cardW:clamp(39px,11.2vw,59px);width:var(--cardW);height:calc(var(--cardW)*1.32);flex:none;display:inline-flex;align-items:center;justify-content:center;flex-direction:column;padding:0;background:linear-gradient(#fffdf8,#e8e4db);border:1px solid #c8c4b9;border-radius:6px;color:#181b23;font:800 calc(var(--cardW)*.52)/1.02 system-ui;box-shadow:0 2px 4px #0005}
.studyCard i{font-size:.84em;font-style:normal}.studyCard.red,.suitRow .red{color:#b62d35}
.studyCard.back{color:#ffad74;border:2px solid #ad7853;background:repeating-linear-gradient(45deg,#412a24 0 3px,#57362a 3px 5px);box-shadow:inset 0 0 0 2px #251d1c,0 2px 4px #0006}
.basicTools{margin:11px 0}.basicTools button,.toAdvanced,.quizRow button,.legendSolve,.pickClear,.pickHeading button,.articleNav button,.streetControls button,.suitRow button,.legendFilter{border:1px solid #494047;background:#252328;color:#f5eee8;border-radius:8px;min-height:36px;font:650 14px TableKR,system-ui;padding:5px 12px;cursor:pointer}
.basicTools button{flex:1;min-height:40px}.basicTools .accent,.quizRow button:last-child{color:#230e07;background:#ff8e56;border-color:#ff915a}.basicTools button:disabled{opacity:.4}
.basicSeats{display:grid;gap:10px}.basicSeats article{padding:12px;border:1px solid #3a3739;border-radius:12px;background:#1b1b20}.basicSeatTop>div:not(.score){display:flex;gap:3px}.basicSeatTop .studyCard{--cardW:clamp(25px,8vw,39px)}.basicSeatTop>button{color:#c7bcb6;border:0;background:transparent;font-size:20px}.basicSeatTop>b{font-size:15px;min-width:38px}
.score{text-align:right;margin-left:auto}.score b,.score small{display:block}.score b{font:800 clamp(18px,5.6vw,27px)/1.1 system-ui;color:#ffa77d}.score small{font-size:12px;color:#d0c4bc}.basicSeats details{margin-top:10px;border-top:1px solid #363338;padding-top:7px}.basicSeats summary{font-size:13px;color:#dbcdc6;cursor:pointer}.catOdds{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 14px;margin-top:6px;font-size:12px}.catOdds span{display:flex;justify-content:space-between}.basicStatus{margin:12px 0}.toAdvanced{width:100%;color:#ffc09e}
.basicPicker{position:absolute;inset:0;background:#0009;display:grid;align-items:end;z-index:2}
.pickSurface{background:#242227;border:1px solid #59463a;border-radius:16px 16px 0 0;padding:14px 16px max(14px,env(safe-area-inset-bottom));width:100%;max-height:85dvh;overflow:auto}
.suitRow,.pickGrid{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:10px 0}
.suitRow button{background:#e8e3db;color:#15161a;font:900 24px system-ui}.suitRow .red{color:#ae3036}.suitRow [aria-pressed=true]{outline:3px solid #ff995e;outline-offset:-2px}
.pickGrid .studyCard{width:100%;height:clamp(35px,6.4dvh,57px);font-size:19px;flex-direction:row;gap:2px}.pickGrid button:disabled{opacity:.24}.pickClear{width:100%}
.legendStudy{display:flex;flex:1;flex-direction:column;overflow:hidden;min-height:0}
.legendText{flex:1 1 54%;min-height:0;overflow:auto;padding:11px 16px 14px;overscroll-behavior:contain}
.legendFilter{width:100%;padding:7px 8px;color:#ffc59f}.articleNav{margin:7px 0;color:#bcb6b4;font-size:12px}.articleNav button{min-width:36px;min-height:30px;font:700 23px/1 system-ui}.eventMeta{color:#ebaa81;font-weight:650}.legendText h3{font-size:22px;line-height:1.25;margin:4px 0}.legendText p{font-size:14px;line-height:1.5;margin:5px 0 8px;color:#e3d9d2}.legendAction{border-left:2px solid #ee8954;padding-left:10px;margin-top:9px}.legendAction b{font-size:15px}
.quizRow{justify-content:start}.quizRow button,.legendSolve{margin-top:4px}.legendSolve{color:#ffc69f;margin:7px 0}.legendCalc>*{display:block;font-size:14px}.legendCalc small{color:#c5b6ad;font-size:12px}.sources{justify-content:start;flex-wrap:wrap;margin-top:9px}.sources a,.legendBio a{color:#f8ae81;text-underline-offset:3px;font-size:13px}
.legendStage{flex:0 1 46%;min-height:150px;display:flex;flex-direction:column;padding:5px 10px max(6px,env(safe-area-inset-bottom));border-top:1px solid #403934;background:#171619}
.streetControls{display:flex;gap:3px;justify-content:center;flex:none}.streetControls button{font-size:12px;min-height:30px;padding:3px 8px}.streetControls [aria-pressed=true]{border-color:#df8c5f;color:#ffc39b}
.replayFelt{position:relative;flex:1;min-height:0;width:100%;max-width:620px;margin:5px auto 0;background:#115445 url('/assets/table.webp') center center/100% 100% no-repeat;border:4px solid #3b302a;border-radius:50% / 30%;box-shadow:inset 0 0 14px #0c1517}
.replayPlayers{position:absolute;top:6%;left:8%;right:8%;display:flex;justify-content:space-between}.replaySeat{display:flex;align-items:center;flex-direction:column;gap:1px;color:white;text-shadow:0 1px 3px #000;font:650 12px TableKR,system-ui}.replaySeat img,.guestSeat{width:clamp(27px,6dvh,52px);height:clamp(27px,6dvh,52px);border-radius:50%;object-fit:contain;background:#1a1a21}.guestSeat{display:grid;place-items:center}.replaySeat>div{display:flex;gap:2px}.replaySeat .studyCard{--cardW:clamp(15px,3.2dvh,26px);border-radius:3px;text-shadow:none}
.replayMiddle{position:absolute;left:4%;right:4%;bottom:10%;text-align:center}.replayMiddle .studyCard{--cardW:clamp(25px,min(9vw,5.8dvh),47px)}.replayMiddle b{font-weight:760}.replayMiddle>b{display:block;margin-top:4px;font-size:clamp(11px,3.2vw,15px);color:#ffdea2}
.legendBio{display:flex;gap:8px;margin:12px 0}.legendBio>img{width:50px;height:50px;border-radius:50%}.legendBio p{font-size:13px;margin:2px 0}
@media(max-height:540px){.legendStage{min-height:130px}.replayPlayers{top:1%}.replayMiddle{bottom:4%}.replayPlayers .replaySeat img{width:25px;height:25px}}

@media(prefers-reduced-motion:no-preference){
 .replayMiddle .studyCard:not(.back){animation:replayDeal .26s ease-out both}
 .replayMiddle .studyCard:nth-child(2){animation-delay:.025s}.replayMiddle .studyCard:nth-child(3){animation-delay:.05s}.replayMiddle .studyCard:nth-child(4){animation-delay:.075s}.replayMiddle .studyCard:nth-child(5){animation-delay:.1s}
 @keyframes replayDeal{from{opacity:.3;transform:translateY(-6px) rotateX(32deg)}to{opacity:1;transform:none}}
}
.venueModes{overflow-x:auto;flex-wrap:nowrap}.venueModes button{white-space:nowrap;min-width:max-content}
.liveHall{padding:.9rem .8rem 1.1rem;color:#fff}.liveHall h2{font-size:1.1rem;margin:0}.liveHall>p{margin:.3rem 0 .65rem;color:#aaa8ac;font-size:.88rem}
.liveRow{display:flex;justify-content:space-between;align-items:center;gap:.5rem;width:100%;border:1px solid #373239;border-radius:.8rem;background:linear-gradient(105deg,#242124,#17171b);color:#fff;padding:.65rem .8rem;text-align:left;margin:.38rem 0}.liveRow strong,.liveRow small{display:block}.liveRow strong{font-size:1rem}.liveRow small{font-size:.84rem;color:#c0b8b8;margin-top:.23rem}.liveRight{display:grid;justify-items:end;gap:.28rem}.liveRight b{border-radius:.4rem;padding:.3rem .7rem;color:#ffae77;background:#38271f}.liveRight i{display:flex;padding-left:.25rem}.liveRight img{width:1.45rem;height:1.45rem;border-radius:50%;margin-left:-.25rem;border:1px solid #6a5043}.liveRow:disabled{opacity:.64}

.legendHallTitle{font-size:1rem;color:#ffc18d;margin:1rem 0 .4rem}
.studyTabs{grid-template-columns:repeat(4,minmax(0,1fr))}
#club .trainBanner{display:flex;justify-content:space-between;align-items:center;width:100%;padding:12px 15px;text-align:left;background:linear-gradient(105deg,#3c271e,#1b191c);border:1px solid #65442d;border-radius:12px;color:#fff1e7}
.trainBanner small,.trainMatch small,.trainRecord span,.trainingStudy .legendText>small{display:block;color:#c8b9b0;font-size:.85rem}
.trainBanner strong{font-size:1.1rem}.trainBanner i{display:flex;padding-left:8px}.trainBanner img{width:37px;height:37px;border:1px solid #91664b;border-radius:50%;margin-left:-7px}
.trainingStudy .legendText{padding-top:15px}.trainingStudy .legendFilter{display:block;margin-top:5px}.trainingStudy .trainList{flex:1}
.trainList h3{margin-top:1.1rem}.trainingStudy .trainMatch,.trainRecord{display:block;width:100%;text-align:left;border:1px solid #504039;border-radius:9px;padding:.8rem;margin:.55rem 0;background:#242125}
.trainCompare,.trainMoves{display:flex;gap:7px;flex-wrap:wrap;margin:.8rem 0}.trainCompare>span{flex:1;background:#2b2422;padding:.65rem;border-radius:7px}.trainCompare b{display:block;color:#ffaf78}
.trainingStudy button{min-height:38px}.trainingStudy .quizRow{flex-wrap:wrap}.trainingStudy a{display:block;margin:.8rem 0;color:#ffb78c}.trainingStudy input{max-width:110px;background:#222;color:#fff;padding:5px}
.trainingStudy .replayPlayers{left:4%;right:4%}.trainList select{font-size:16px}.trainList .trainMatch strong{display:block}

/* Navy championship lobby. The transparent artwork edges share one surface. */
#club[data-screen=home],#club[data-screen=home] .clubshell{background:#0c1426;color:#f5f0e5}
#club[data-screen=home] .clubbar{border:0;background:transparent;max-width:760px;width:100%;margin:auto;padding-inline:clamp(12px,3vw,24px)}
#club[data-screen=home] .refHome{display:flex;flex-direction:column;gap:8px;width:100%;max-width:760px;margin:auto;padding:0 clamp(10px,2.8vw,22px) 12px}
#club[data-screen=home] .heroShelf{position:relative;min-height:0;margin:0 calc(-1 * clamp(10px,2.8vw,22px));width:auto;overflow:hidden}
.campaignTrack{position:relative;width:100%;aspect-ratio:5/3;touch-action:pan-y pinch-zoom;user-select:none}
#club .campaignSlide{position:absolute;inset:0;isolation:isolate;display:flex;align-items:center;width:100%;padding:0;overflow:hidden;border:0;border-radius:0;background:#0c1426;text-align:left}
#club .campaignSlide[hidden]{display:none}
.campaignSlide img{display:block;width:100%;height:100%;object-fit:contain;mask-image:linear-gradient(180deg,transparent,#000 4%,#000 94%,transparent)}
.campaignDots{display:flex;justify-content:center;margin:-12px auto 0;position:relative;width:max-content}
#club .campaignDots button{position:relative;padding:0;width:27px;height:28px;background:none;border:0}
.campaignDots button:after{content:"";display:block;width:7px;height:5px;margin:auto;border-radius:5px;background:#717b90}.campaignDots button[aria-pressed=true]:after{width:19px;background:#f0c981}
#club[data-screen=home] .lobbyModes{background:transparent;border:0;flex:0 0 auto;gap:7px 4px;padding:0}
#club[data-screen=home] .lobbyModes img{height:clamp(54px,8.1svh,94px);filter:none}
#club[data-screen=home] .lobbyModes button{gap:1px;color:#f6eedf;font-weight:700;min-height:0}
#club .navyLegend,#club .navyMatch{display:flex;width:100%;align-items:center;border:1px solid #33405a;background:linear-gradient(100deg,#17223b,#0f182a);color:#faf1df;border-radius:8px;gap:8px;padding:8px 12px}
.navyLegend span{display:grid;gap:2px}.navyLegend small{color:#c5cddd}.navyLegend i{display:flex;flex:1;justify-content:center}.navyLegend img{width:36px;height:36px;object-fit:contain;border-radius:50%}.navyLegend img+img{margin-left:-5px}.navyLegend b{font-size:14px}.navyLegend strong{color:#f7d99f!important}
#club .navyMatch{border-radius:0;border-width:0 0 1px;justify-content:space-between;padding-block:8px;font-size:14px}.navyMatch small{color:#9ce1b9}.navyMatch [data-phase=late]{color:#81dff3}
#club[data-screen=home] .toolBanners{margin:2px 0;gap:9px}
#club[data-screen=home] .toolBanners button{aspect-ratio:auto;min-height:45px;flex-direction:row;align-items:center;justify-content:center;gap:8px;padding:8px 4px;border:1px solid #5c543f;border-radius:8px;background:linear-gradient(145deg,#243048,#172034);color:#fff1d8;text-shadow:none}
#club .toolBanners svg{width:20px;height:20px;color:#ebc88d}
#club[data-screen=home] .toolBanners strong{font:700 clamp(13px,3.65vw,17px)/1.2 TableKR,system-ui}
#club[data-screen=home] .homeQuick{border:0;background:none;color:#b3c0d3;font-size:13px;padding:4px 0;text-align:center}
#club[data-screen=home] .clubnav{background:#0a1120;border-color:#283246}
#club[data-screen=home] .clubnav button[aria-current=page],#club[data-screen=home] .clubnav button[aria-current=page] svg{color:#f2d297!important;background:none}
