:root[data-club-theme]{--club-ink:#25483e;--club-accent:#28624c;--club-deep:#173f35;--club-paper:#f6f7ed;--club-soft:#e4eddf;--club-line:#c8d6bc;--club-gold:#dfb85f;--club-pattern:repeating-linear-gradient(135deg,transparent 0 28px,#25483e05 28px 29px)}
:root[data-club-theme=reborn]{--club-ink:#293d55;--club-accent:#8c4425;--club-deep:#23364e;--club-paper:#fbf4e9;--club-soft:#f5e4d2;--club-line:#e1c8aa;--club-gold:#efb56b;--club-pattern:repeating-linear-gradient(145deg,transparent 0 35px,#ba692308 35px 36px)}
:root[data-club-theme=hikaru]{--club-ink:#423957;--club-accent:#68527e;--club-deep:#39344e;--club-paper:#faf6e9;--club-soft:#eee5f1;--club-line:#d9cbb6;--club-gold:#d6b56b;--club-pattern:linear-gradient(#57426705 1px,transparent 1px),linear-gradient(90deg,#57426705 1px,transparent 1px)}
:root[data-club-theme=classic]{--club-ink:#393050;--club-accent:#6750c9;--club-deep:#5040a8;--club-paper:#faf8f2;--club-soft:#f1ecff;--club-line:#dfd5f3;--club-gold:#f4d97c;--club-pattern:none}
html[data-club-theme] body{background-color:var(--club-paper)}
.club-command-bar.account-bar{background:#fffdf9;color:var(--club-ink);padding:12px clamp(12px,3vw,40px);gap:10px;border-bottom:1px solid var(--club-line);justify-content:flex-start;position:relative;z-index:30;box-shadow:0 2px 12px #283b2e08}
.club-command-bar .club-account-entry{margin-right:auto;display:flex;align-items:center;gap:8px;max-width:45%;color:var(--club-ink);overflow-wrap:anywhere}.club-command-bar [data-account-status]{font-size:11px;color:#657269}
.club-social-nav{display:flex;align-items:center;gap:8px}.club-command-bar :is(button,summary){min-height:42px;display:inline-flex;align-items:center;justify-content:center;padding:8px 14px;border:1px solid var(--club-line);border-radius:12px;background:var(--club-paper);color:var(--club-ink);font-size:13px;cursor:pointer;box-sizing:border-box;touch-action:manipulation}.club-command-bar .has-unread{background:#ffecb7;color:#674719;border-color:#d7b45d;font-weight:700}.club-command-bar :is(button,summary):hover{border-color:var(--club-accent)}.club-command-bar :focus-visible{outline:3px solid var(--club-gold);outline-offset:2px}.club-tools{position:relative}.club-tools>summary{list-style:none}.club-tools>summary::-webkit-details-marker{display:none}.club-tools>summary:after{content:'⌄';margin-left:8px}.club-tools-body{position:absolute;right:0;top:calc(100% + 8px);width:210px;padding:10px;border:1px solid var(--club-line);border-radius:16px;background:#fffdf9;box-shadow:0 12px 32px #1f302a25;display:grid;gap:6px;z-index:100}.club-tools:not([open])>.club-tools-body{display:none}.club-tools-body button{width:100%;justify-content:flex-start}.club-command-bar .club-inbox-entry:before{content:'✉';margin-right:6px}.club-command-bar .club-friends-entry:before{content:'＋';margin-right:6px}.club-theme-entry:before{content:'◇';margin-right:6px}
html[data-club-theme] .unified-header{background:var(--club-deep);border-bottom:3px solid var(--club-gold)}html[data-club-theme] .unified-header-inner{padding-top:24px;padding-bottom:24px;gap:20px}html[data-club-theme] .unified-brand>span{font-size:30px;min-width:70px;height:70px;display:grid;place-items:center;border:1px solid var(--club-gold);border-radius:18px;color:var(--club-gold);background:#ffffff08;letter-spacing:-2px}html[data-club-theme] .unified-purpose{color:#e5e9e0}html[data-club-theme] .unified-side{background:var(--club-paper);border-color:var(--club-line)}html[data-club-theme] .unified-mode-nav a[aria-current=page]{background:var(--club-soft);color:var(--club-ink);border-color:var(--club-line)}
html[data-club-theme] .lobby-home-hero{background:var(--club-pattern),var(--club-paper);border:1px solid var(--club-line);box-shadow:inset 0 0 0 6px #ffffff80;border-radius:28px;overflow:hidden}html[data-club-theme] .lobby-home-hero h2{color:var(--club-ink)}html[data-club-theme] .lobby-home-hero p{color:#59635e}html[data-club-theme] .lobby-home-hero button{background:var(--club-accent);color:white;box-shadow:0 4px 0 var(--club-deep)}html[data-club-theme] .lobby-zone-grid>a,html[data-club-theme] .lobby-zone-grid>button{border-color:var(--club-line)}
.lobby-home-art[data-shell-theme]:not([data-shell-theme=classic]){display:flex;align-items:center;justify-content:center;gap:20px;position:relative;min-height:320px;padding:15px;box-sizing:border-box;aspect-ratio:auto!important;background:radial-gradient(ellipse,var(--club-soft),transparent 72%)}.club-hero-art-frame{height:340px;aspect-ratio:378/506;flex-shrink:0;overflow:hidden;border:5px solid #fffdf2;outline:1px solid var(--club-gold);border-radius:90px 90px 12px 12px;box-shadow:12px 12px 0 var(--club-soft)}.club-hero-art-frame>.cos-art{width:100%;height:100%;object-fit:contain}.club-hero-art-label{display:grid;gap:14px;writing-mode:vertical-rl;color:var(--club-ink);font-size:24px;letter-spacing:5px}.club-hero-art-label small{font-size:10px;letter-spacing:2px;writing-mode:horizontal-tb;max-width:90px;line-height:1.6}
.club-theme-picker{width:min(640px,calc(100vw - 24px));max-height:85dvh;overflow:auto;box-sizing:border-box;border:1px solid var(--club-line);border-radius:24px;padding:24px;background:#fffdf9;color:var(--club-ink)}.club-theme-picker::backdrop{background:#142d2c88}.club-theme-picker header{display:flex;align-items:center;justify-content:space-between;gap:12px}.club-theme-picker h2{font-size:22px;margin:0}.club-theme-picker p{line-height:1.7;font-size:14px}.club-theme-picker button{font:inherit;cursor:pointer;min-height:44px;border:1px solid var(--club-line);border-radius:12px;padding:8px 14px;color:var(--club-ink);background:#faf8ef}.club-theme-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.club-theme-option{display:grid;gap:9px;text-align:left;min-height:145px!important;position:relative}.club-theme-option>span{font-size:27px}.club-theme-option>small{font-size:10px;letter-spacing:1px}.club-theme-option[data-preview-theme=hunter]{background:#e6eddd;color:#285440}.club-theme-option[data-preview-theme=reborn]{background:#25364b;color:#ffd398}.club-theme-option[data-preview-theme=hikaru]{background:#f2ebdc;color:#604c75}.club-theme-option[data-preview-theme=classic]{background:#eee7ff;color:#5a4593}.club-theme-option[aria-pressed=true]{outline:3px solid var(--club-gold);outline-offset:1px}
@media(max-width:700px){.club-command-bar.account-bar{padding:10px 12px;gap:8px}.club-command-bar .club-account-entry{max-width:70%;flex:1}.club-command-bar [data-account-status]{margin-left:auto}.club-social-nav{order:2;flex:1}.club-command-bar>.club-theme-entry{order:3}.club-command-bar>.club-tools{order:4}.club-command-bar :is(button,summary){padding:7px 10px;font-size:12px}.club-command-bar>.club-social-nav{flex-basis:45%}.club-tools-body{right:0}html[data-club-theme] .unified-header-inner{padding:18px 14px}html[data-club-theme] .unified-brand>span{min-width:50px;height:50px;font-size:24px}.lobby-home-art[data-shell-theme]:not([data-shell-theme=classic]){min-height:275px}.club-hero-art-frame{height:260px}.club-hero-art-label{font-size:20px}.club-theme-options{grid-template-columns:1fr}.club-theme-picker{padding:18px}}

html[data-club-theme] body[data-shared-shell=true] .unified-header{background:var(--club-deep)!important;border-bottom:3px solid var(--club-gold)!important}
html[data-club-theme] body[data-shared-shell=true] .unified-side{background:var(--club-paper)!important;border-color:var(--club-line)!important}
html[data-club-theme] body .unified-mode-nav a[aria-current=page]{background:var(--club-accent)!important;color:white!important;border-color:var(--club-accent)!important}
html[data-club-theme] body .lobby-home-hero{background:var(--club-pattern),var(--club-paper)!important;border-color:var(--club-line)!important}
html[data-club-theme] body .lobby-home-hero button{background:var(--club-accent)!important;color:#fff!important;border-color:var(--club-accent)!important}
html[data-club-theme] body .club-mail-banner{background:var(--club-accent);border-color:var(--club-accent);color:white}
html[data-club-theme] body .club-command-bar .club-social-nav button{background:var(--club-paper);color:var(--club-ink);border-color:var(--club-line)}
html[data-club-theme] body .club-command-bar .club-social-nav button.has-unread{background:#ffecb7;color:#674719;border-color:#d7b45d}

.club-theme-sample{width:100%;height:100%;min-height:180px;padding:14px;box-sizing:border-box;background:#f8f4e8;color:#25443a;display:grid;gap:10px;grid-template-rows:auto 1fr auto;overflow:hidden}.club-theme-sample>strong{background:#245443;color:white;padding:10px;border-radius:8px}.club-theme-sample>div{display:flex;align-items:center;justify-content:space-between;min-height:0;gap:12px}.club-theme-sample .cos-art{width:80px!important;height:120px!important;object-fit:contain}.club-sample-button{background:#245443;color:white;padding:7px 12px;border-radius:8px;width:max-content}.club-theme-sample[data-preview-theme=reborn]>strong,.club-theme-sample[data-preview-theme=reborn]>.club-sample-button{background:#25364f}.club-theme-sample[data-preview-theme=hikaru]>strong,.club-theme-sample[data-preview-theme=hikaru]>.club-sample-button{background:#655080}.club-theme-option button{min-height:44px;margin:5px;padding:8px 14px;border:1px solid #ccc;border-radius:10px;cursor:pointer}.club-theme-option button:disabled{opacity:.6;cursor:default}

@media(max-width:650px){html[data-club-theme] .account-bar.club-command-bar{display:flex!important;flex-wrap:wrap!important;gap:8px!important;justify-content:flex-start!important}html[data-club-theme] .club-command-bar>.club-account-entry{flex:1 1 calc(100% - 120px)!important;min-width:180px!important;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}html[data-club-theme] .club-command-bar>.club-social-nav{flex:1 1 auto!important;order:2}html[data-club-theme] .club-command-bar>.club-theme-entry,html[data-club-theme] .club-command-bar>.club-tools{order:3;flex:0 0 auto}html[data-club-theme] .club-command-bar>span{flex:0 0 auto;white-space:nowrap}}

.sample:has(.club-theme-sample){overflow:hidden}.sample>.club-theme-sample{min-height:0;height:100%;font:11px/1.3 system-ui;padding:8px;gap:4px;grid-template-rows:30px minmax(0,1fr) 22px}.sample .club-theme-sample>strong{font-size:11px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:7px 5px;display:block;min-width:0}.sample .club-theme-sample .cos-art{width:36px!important;height:46px!important;flex:none}.sample .club-theme-sample>div{font-size:10px;overflow:hidden;gap:4px}.sample .club-sample-button{font-size:10px;padding:4px 7px}

/* r18-team-illustration:start */
html[data-club-theme] .lobby-home-hero{position:relative;isolation:isolate}
.lobby-home-art[data-shell-theme]:not([data-shell-theme=classic]){flex-direction:column;gap:14px;min-width:0;min-height:0;padding:22px 12px;isolation:isolate}
.lobby-home-art[data-shell-theme]:not([data-shell-theme=classic]) .club-hero-art-frame{width:100%;height:auto;aspect-ratio:3/2;border-radius:24px 64px 24px 64px;border:4px solid #fffdf2;outline:1px solid var(--club-gold);box-shadow:8px 10px 0 var(--club-soft);position:relative;z-index:1;box-sizing:border-box}
.lobby-home-art .club-ensemble-art{display:block;object-fit:contain;width:100%;height:100%}
.lobby-home-art .club-hero-art-label{writing-mode:horizontal-tb;display:flex;align-items:center;justify-content:center;gap:14px;letter-spacing:3px;font-size:19px;text-align:center;z-index:1}
.lobby-home-art .club-hero-art-label small{max-width:140px;font-size:9px;letter-spacing:2px}
.lobby-home-art[data-shell-theme]:not([data-shell-theme=classic])::before{content:'';position:absolute;width:70%;aspect-ratio:1;border:1px solid var(--club-gold);border-radius:50%;box-shadow:0 0 0 14px #ffffff66,0 0 0 15px var(--club-line);transform:rotate(-18deg);z-index:-1;pointer-events:none}
.lobby-home-art[data-shell-theme=hunter]::before{background:conic-gradient(from 45deg,transparent 0 24%,#dbb85a44 25%,transparent 26% 49%,#dbb85a44 50%,transparent 51% 74%,#dbb85a44 75%,transparent 76%)}
.lobby-home-art[data-shell-theme=reborn]::before{border-radius:45% 55% 32% 68%;background:radial-gradient(ellipse,#f6b56c88,transparent 65%);box-shadow:0 0 40px #f1b45b33,0 0 0 14px #e8ae6333}
.lobby-home-art[data-shell-theme=hikaru]::before{border-radius:12px;background:linear-gradient(#bca67d33 1px,transparent 1px),linear-gradient(90deg,#bca67d33 1px,transparent 1px);background-size:22px 22px}
html[data-club-theme=hunter] .lobby-zone-grid>:is(a,button){border-top:3px solid #628c59}
html[data-club-theme=reborn] .lobby-zone-grid>:is(a,button){border-top:3px solid #bd743c}
html[data-club-theme=hikaru] .lobby-zone-grid>:is(a,button){border-top:3px solid #8f7ca4}
@media(max-width:700px){.lobby-home-art[data-shell-theme]:not([data-shell-theme=classic]){padding:12px 8px}.lobby-home-art .club-hero-art-label{font-size:16px;gap:8px}.lobby-home-art[data-shell-theme]:not([data-shell-theme=classic]) .club-hero-art-frame{border-radius:18px 42px 18px 42px}}
/* r18-team-illustration:end */
