.lobby-chat{--chat-brass:#eaca98;--chat-line:#d6b68350;--chat-edge:clamp(18px,3.9vw,64px);position:absolute;z-index:3;left:var(--chat-edge);bottom:calc(max(28px,env(safe-area-inset-bottom)) + 76px);color:#fff1d9;font:inherit}.chat-toggle,.chat-close,.chat-send{display:inline-flex;align-items:center;justify-content:center;color:inherit}.chat-toggle{position:relative;min-height:42px;gap:7px;padding:0 14px;border:1px solid var(--chat-line);border-radius:28px;font-size:14px;font-weight:650;background:#112b2ded;box-shadow:0 2px 12px #0717193b}.chat-toggle:hover,.chat-toggle[aria-expanded=true],.chat-close:hover{background:#29403b}.chat-toggle svg{width:18px;height:18px;color:var(--chat-brass)}.chat-badge{min-width:18px;padding:2px 4px;border-radius:14px;background:#edce96;color:#24302a;text-align:center;font-size:11px;line-height:14px}.chat-panel{position:absolute;left:0;bottom:calc(100% + 8px);width:min(345px,calc(100vw - var(--chat-edge) * 2));height:min(325px,calc(var(--chat-visible-height,100dvh) - 190px));display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;border:1px solid var(--chat-line);border-radius:16px;background:linear-gradient(150deg,#203d3a,#132c2dfa 42%);box-shadow:0 10px 35px #07171875;backdrop-filter:blur(10px)}.chat-heading{display:flex;align-items:center;justify-content:space-between;padding:2px 5px 2px 15px;border-bottom:1px solid #dcc59c32}.chat-heading h2{font-size:15px;line-height:1.3;color:#ffebc7;font-weight:690;letter-spacing:-.03em}.chat-close{height:40px;width:40px;border:0;background:transparent;border-radius:50%;color:#e4d4b9}.chat-close svg{width:18px;height:18px}.chat-scroll{min-height:0;overflow:auto;overscroll-behavior:contain;padding:10px 15px;scrollbar-color:#6e7b68 transparent}.chat-scroll:focus-visible,.chat-input:focus-visible{outline:2px solid #e7c78e;outline-offset:-2px}.chat-history{display:flex;flex-direction:column;gap:7px}.chat-row{display:flex;align-items:baseline;gap:9px;font-size:14px;line-height:1.48}.chat-person{flex-shrink:0;font-size:12px;font-weight:690;line-height:1.6}.chat-text{min-width:0;overflow-wrap:anywhere;color:#fcf0de;white-space:pre-wrap;unicode-bidi:plaintext}.chat-empty{margin:6px 0;color:#cfcdc1;font-size:14px;line-height:1.65}.chat-compose{padding:5px 10px}.chat-input-wrap{display:flex;align-items:center;gap:4px;border:1px solid #d2b68058;border-radius:12px;background:#0e2627}.chat-input{flex:1;min-width:0;width:100%;height:44px;border:0;border-radius:11px;padding:0 10px;color:#fff3df;font:inherit;font-size:16px;background:transparent}.chat-input::placeholder{color:#b9c1b2}.chat-send{flex:none;width:40px;height:40px;margin-right:2px;border:0;border-radius:10px;background:#ecd09f;color:#26342d}.chat-send svg{width:19px;height:19px}.chat-send:disabled{color:#c8c4ae;opacity:1;background:transparent;cursor:default}.chat-meta{display:flex;justify-content:space-between;gap:5px;padding:2px 4px 0;font-size:11px;line-height:1.4;color:#c8c8b5}#chat-length{margin-left:auto;font-variant-numeric:tabular-nums;white-space:nowrap}#chat-status,.chat-over-limit{color:#f8c49f}@media(max-width:650px){.lobby-chat{--chat-edge:14px;bottom:max(19px,env(safe-area-inset-bottom))}.chat-toggle{padding:0 10px;min-height:44px;font-size:13px;gap:5px}.chat-badge{position:absolute;right:-5px;top:-5px;box-shadow:0 0 0 2px #1d3533}.chat-panel{position:fixed;left:50%;bottom:calc(max(96px,env(safe-area-inset-bottom) + 82px) + var(--chat-keyboard-inset,0px));transform:translate(-50%);width:min(355px,calc(100vw - 28px));height:min(204px,31dvh);max-height:calc(var(--chat-visible-height,100dvh) - 94px)}.chat-keyboard-up .chat-toggle{visibility:hidden}.chat-keyboard-up .chat-panel{bottom:calc(var(--chat-keyboard-inset,0px) + 6px);height:min(265px,calc(var(--chat-visible-height) - 72px));max-height:calc(var(--chat-visible-height) - 12px)}}@media(max-height:450px)and (min-width:651px){.lobby-chat{bottom:77px}.chat-panel{height:min(230px,calc(var(--chat-visible-height,100dvh) - 135px))}}.avatar-speech-layer{position:absolute;inset:0;z-index:1;pointer-events:none;overflow:hidden;user-select:none;-webkit-user-select:none}.avatar-speech{--speech-fill: #fff6df;--speech-edge: #a38c69;position:absolute;top:0;left:0;width:max-content;max-width:min(210px,46%);padding:7px 12px;color:#263831;background:var(--speech-fill);border:1px solid var(--speech-edge);border-radius:14px;box-shadow:0 3px 10px #14242735;font:600 14px/1.38 Apple SD Gothic Neo,Noto Sans KR,system-ui,sans-serif;text-align:start;white-space:pre-wrap;overflow-wrap:anywhere;isolation:isolate;pointer-events:none}.avatar-speech--self{--speech-fill: #fff2c9;--speech-edge: #a58546}.avatar-speech:after{content:"";position:absolute;left:var(--tail-x, 50%);bottom:-5px;width:8px;height:8px;border:solid var(--speech-edge);border-width:0 1px 1px 0;background:var(--speech-fill);transform:translate(-50%) rotate(45deg)}@media(max-width:600px){.avatar-speech{padding:6px 10px;font-size:13px;max-width:min(166px,43%)}}.language-control{display:grid;place-items:center;position:relative;flex:none;width:40px;height:40px;border:1px solid #f1d4a84a;border-radius:50%;color:#fff1d9;background:#0b2427dc;pointer-events:auto}.language-control svg{width:20px;height:20px}.language-control:focus-within{outline:2px solid #ffe3a8;outline-offset:3px}.language-control:hover{background:#25413e}.language-control select{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer;font:inherit}.language-control option{color:#fff1d9;background:#142c2e}:is(:lang(en),:lang(pt)) .brand-en{display:none}.header-actions{flex:none;white-space:nowrap}@media(max-width:550px){#lobby header .header-actions{gap:4px}.language-control{width:36px;height:36px}#invite.pill{width:37px;height:36px;justify-content:center;padding:0}#invite span{display:none}}@media(max-width:390px){#lobby header{padding-left:10px;padding-right:10px}#lobby header .brand{gap:4px;min-width:0}#lobby header .crest{display:none}#lobby header h1{font-size:17px;overflow-wrap:anywhere}}dialog.fan-studio{--studio-gold:#ebc997;--studio-muted:#c9cbbb;--studio-border:#dcc49850;width:min(730px,calc(100% - 36px));max-width:none;max-height:min(830px,calc(100dvh - max(40px,env(safe-area-inset-top) + env(safe-area-inset-bottom))));margin:auto;padding:0;color:#fff1d9;border:1px solid #c5a676a8;border-radius:20px;background:#153234;overflow:hidden;color-scheme:dark;box-shadow:0 22px 90px #061517ad}dialog.fan-studio[open]{display:flex;flex-direction:column}dialog.fan-studio::backdrop{background:#071618b3;backdrop-filter:blur(5px)}.fan-studio *{box-sizing:border-box}.fan-studio button,.fan-studio input{font:inherit}.fan-studio button{cursor:pointer}.fan-studio button:disabled{cursor:default;opacity:.47}.fan-studio button:focus-visible,.fan-studio input:focus-visible,.fan-studio a:focus-visible{outline:2px solid #ffdf96;outline-offset:2px}.studio-head{flex:none;display:grid;grid-template-columns:1fr auto;align-items:center;gap:9px 16px;padding:15px 22px 0;background:linear-gradient(135deg,#294643,#173436);border-bottom:1px solid var(--studio-border)}.studio-head h2{margin:0;font-size:24px;line-height:1.25;letter-spacing:-.045em}.studio-close{border:1px solid var(--studio-border);border-radius:50%;background:#10292b;color:#f8ecd6;width:38px;height:38px;font-size:24px!important;line-height:1}.studio-tabs{grid-column:1/-1;display:flex;gap:19px}.studio-tabs button{padding:9px 1px 11px;border:0;border-bottom:2px solid transparent;color:#c4c8b9;background:transparent;font-size:14px;font-weight:600}.studio-tabs button[aria-pressed=true]{color:#ffe1a4;border-color:#e8c17e}.studio-content{padding:18px 22px;overflow:auto;overscroll-behavior:contain;min-height:0;scrollbar-width:thin;scrollbar-color:#65807b transparent}.studio-avatar{display:grid;grid-template-columns:minmax(175px,.8fr) minmax(0,1.35fr);gap:20px;align-items:stretch}.studio-avatar-preview{position:relative;min-height:220px;background:radial-gradient(ellipse at 50% 72%,#657065,#3d5352 44%,#1a3436 84%);overflow:hidden;border:1px solid #d5bd8366;border-radius:90px 90px 14px 14px}.studio-avatar-preview canvas{display:block;width:100%;height:100%;position:absolute;inset:0}.studio-avatar-controls,.studio-banner-controls{min-width:0;display:flex;flex-direction:column;gap:12px}.studio-group{min-width:0;border:0;padding:0;margin:0}.studio-group legend,.studio-message-label,.studio-library h3{margin:0 0 6px;padding:0;font-size:14px;font-weight:700;letter-spacing:-.025em;color:#f9e9cd}.studio-value{margin-inline-start:9px;font-size:12px;color:var(--studio-muted);font-weight:400}.studio-picks{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.studio-choice,.studio-outline,.studio-text-button,.studio-save,.studio-danger{border-radius:8px;font-size:13px!important;line-height:1.25;min-height:34px}.studio-choice,.studio-outline{border:1px solid var(--studio-border);background:#142e30;color:#f2e9d6;padding:5px 9px}.studio-choice{display:flex;align-items:center;gap:5px}.studio-headphone-thumb{display:block;width:32px;height:25px;border-radius:5px;background:#ded8c6}.studio-choice svg{height:17px;width:17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.studio-choice[aria-pressed=true],.studio-equip[aria-pressed=true],.studio-library-item[aria-pressed=true]{color:#ffe3ad;border-color:#e5c68a;background:#3f4e41}.studio-swatches{gap:4px}.studio-swatch{border:1px solid transparent;border-radius:50%;width:29px;height:29px;min-width:0;padding:3px;display:grid;align-content:stretch;align-items:stretch;background:none}.studio-swatch:before{content:"";border:1px solid #fff7df68;background:var(--swatch);border-radius:50%;box-shadow:0 1px 2px #071b2047}.studio-swatch[aria-pressed=true]{border-color:var(--studio-gold)}.studio-footer{flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 22px;background:#102a2c;border-top:1px solid var(--studio-border)}.studio-local{font-size:12px;line-height:1.5;color:var(--studio-muted);max-width:390px;margin:0}.studio-local a{color:var(--studio-gold);text-underline-offset:2px}.studio-footer-buttons,.studio-banner-actions{display:flex;align-items:center;gap:7px}.studio-save,.studio-danger{border:1px solid #f6dfb6;background:linear-gradient(#fae5ba,#e5bf81);color:#312a21;padding:9px 14px;min-height:40px;font-weight:750!important;white-space:nowrap}.studio-text-button{border:0;background:transparent;color:#edddbf;padding:4px 7px;white-space:nowrap}.studio-banners{display:grid;grid-template-columns:minmax(175px,.88fr) minmax(0,1.12fr);gap:16px;align-items:start}.studio-library{grid-column:1/-1;min-width:0}.studio-library-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.studio-library-head h3{margin:0}.studio-library-strip{display:flex;gap:6px;overflow:auto;scrollbar-width:thin;padding:5px 1px 1px;margin-top:4px}.studio-library-item{flex:none;display:flex;align-items:center;gap:6px;border:1px solid var(--studio-border);border-radius:7px;background:#183638;color:#eee6d3;font-size:12px!important;padding:5px 8px;max-width:140px;min-height:30px}.studio-library-item i{flex:none;width:11px;height:11px;border:1px solid #ebd2a778;border-radius:50%}.studio-library-item span{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.studio-empty{font-size:14px;color:#d9d7c8;margin:15px 0}.studio-board{align-self:stretch;border:1px solid #d1b78550;border-radius:12px;background:radial-gradient(ellipse at 50% 15%,#45605b,#1d3b3b 66%);display:flex;align-items:center;justify-content:center;padding:12px;min-height:130px}.studio-banner-preview{display:block;width:100%;height:auto;aspect-ratio:3/1;box-shadow:0 7px 13px #10202070}.studio-input-head{display:flex;justify-content:space-between;align-items:center;gap:5px}.studio-input-head label{margin:0}.studio-message{display:block;width:100%;min-height:42px;border:1px solid #cfb47b85;background:#0c2528;color:#fff4df;border-radius:8px;font-size:16px!important;padding:7px 10px;margin-top:-6px}.studio-count{font-size:12px;color:#bfc3b3;font-variant-numeric:tabular-nums}.studio-count.invalid,.studio-alert{color:#ffc6ac}.studio-banner-actions{gap:3px;flex-wrap:wrap}.studio-alert{font-size:13px;padding:5px 22px;margin:0}.studio-confirm{display:flex;flex-wrap:wrap;align-items:center;gap:7px;padding:10px 22px;background:#3b3a30;border-top:1px solid var(--studio-border);font-size:14px}.studio-confirm span{flex:1;min-width:150px}.studio-danger{min-height:34px;background:#f0c2ab;border-color:#f6d8bd}@media(max-width:600px){dialog.fan-studio{width:calc(100% - 16px);max-height:calc(100dvh - max(18px,env(safe-area-inset-top) + env(safe-area-inset-bottom)));border-radius:15px}.studio-head{padding:10px 13px 0;gap:3px 6px}.studio-head h2{font-size:21px}.studio-tabs button{padding:6px 2px 8px;min-height:36px}.studio-content{padding:12px 13px}.studio-avatar{grid-template-columns:1fr;gap:11px}.studio-avatar-preview{min-height:0;height:clamp(110px,20dvh,167px);border-radius:15px}.studio-avatar-controls,.studio-banner-controls{gap:10px}.studio-choice{min-height:34px}.studio-swatch{width:31px;height:31px}.studio-swatches{gap:2px}.studio-footer{padding:8px 13px;gap:6px;flex-wrap:wrap}.studio-local{max-width:none;flex:1 1 150px;font-size:11px;line-height:1.4}.studio-footer-buttons{gap:3px}.studio-banners{grid-template-columns:1fr;gap:10px}.studio-board{padding:10px 16px;min-height:0}.studio-banner-preview{max-width:380px}.studio-confirm,.studio-alert{padding-inline:13px}}@media(max-height:450px)and (min-width:601px){.studio-head{padding-top:5px}.studio-footer{padding-block:5px}.studio-avatar-preview{min-height:140px}}.studio-held-mark{color:#f6d697;font-size:12px;font-weight:700}:root{color-scheme:dark;font-family:Apple SD Gothic Neo,Noto Sans KR,system-ui,sans-serif;color:#fff5df;background:#152e31}*{box-sizing:border-box}html,body,main{margin:0;width:100%;height:100%;overflow:hidden}main{position:relative;isolation:isolate;height:100dvh;min-height:260px;background:radial-gradient(ellipse at 50% 44%,#816244,#173836 65%,#102629)}button{font:inherit;cursor:pointer;touch-action:manipulation}button:focus-visible,#scene:focus-visible{outline:2px solid #ffe3a8;outline-offset:4px}button:disabled{opacity:.56;cursor:wait}[hidden]{display:none!important}#scene,.vignette{position:absolute;inset:0}#scene{touch-action:none;outline:none;cursor:crosshair}canvas{display:block;width:100%;height:100%}.vignette{pointer-events:none;background:linear-gradient(180deg,rgba(3,16,20,.65),transparent 19%,transparent 71%,rgba(4,17,20,.82)),linear-gradient(90deg,#07171c24,transparent 22% 78%,#07171c24)}header,footer{z-index:2;position:absolute;left:0;right:0;display:flex;justify-content:space-between;align-items:center;pointer-events:none;gap:16px}header{top:0;padding:max(23px,env(safe-area-inset-top)) clamp(18px,3.9vw,64px) 0}footer{bottom:0;align-items:flex-end;padding:0 clamp(18px,3.9vw,64px) max(28px,env(safe-area-inset-bottom));min-height:110px}header button,footer button,.presence{pointer-events:auto}.brand,.header-actions,.presence,.pill,.tools,.primary,.jump,.sheet-head{display:flex;align-items:center}.brand{gap:12px;filter:drop-shadow(0 2px 8px #071315a6)}h1,h2,p{margin:0}h1{font-size:clamp(19px,2vw,25px);letter-spacing:-.06em;font-weight:740;line-height:1.24}.brand-en,.event-kicker{font-family:Georgia,serif;letter-spacing:.19em;color:#f5d9a9}.brand-en{font-size:9px}.crest{display:block;width:39px;height:43px;position:relative;color:#e3c18b}.crest i{position:absolute;border:1.5px solid currentColor;border-radius:50% 50% 0 0;inset:1px 0 0}.crest i:nth-child(2){inset:7px 6px 0}.crest i:nth-child(3){inset:13px 12px 0}.header-actions{gap:10px}.pill,.presence,.tools button{border:1px solid #f1d4a84a;background:#0b2427dc;color:#fff1d9;backdrop-filter:blur(12px)}.pill,.presence{border-radius:24px;min-height:39px;padding:0 15px;gap:8px;font-size:13px;font-weight:600}.presence i{width:7px;height:7px;border-radius:50%;background:#b8a48d}.presence.live i{background:#a4ddaf;box-shadow:0 0 7px #95cba290}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.event-info{text-shadow:0 2px 8px #000;line-height:1.55}.event-kicker{font-size:10px}.event-info p{font-family:Apple SD Gothic Neo,system-ui,sans-serif;font-weight:630;font-size:17px;letter-spacing:-.03em}.event-detail{font-size:12px;color:#dfd4be}.primary{position:absolute;left:50%;bottom:max(20px,env(safe-area-inset-bottom));transform:translate(-50%);flex-direction:column;gap:7px;white-space:nowrap}.jump{gap:12px;background:linear-gradient(180deg,#ffedc9,#e5bb7d);border:1px solid #fff1c8;color:#2e261d;border-radius:50px;padding:11px 18px;min-width:144px;min-height:50px;justify-content:center;box-shadow:inset 0 0 0 3px #e2ba793b,0 5px 18px #07161980}.jump b{font-size:19px;letter-spacing:-.06em}.jump svg{width:25px;height:25px}.jump:active,.jump.bounce{transform:translateY(2px);background:#ffeac4}.jump kbd{font-family:inherit;border:1px solid #6a563e62;border-radius:4px;color:#665039;padding:2px 4px;font-size:10px}#hint{font-size:12px;color:#fff0d8;text-shadow:0 1px 4px #000}.tools{gap:7px}.tools button,#dismiss{width:40px;height:40px;display:grid;place-items:center;border-radius:50%}.tools button:hover,.pill:hover{background:#25413e}.sound-on,#sound[aria-pressed=true] .sound-off{display:none}#sound[aria-pressed=true] .sound-on{display:block}#loading,#notice{position:absolute;left:50%;transform:translate(-50%);border:1px solid #ddc8a866;border-radius:20px;background:#142c2eed;padding:9px 16px;font-size:13px;max-width:90%;text-align:center;pointer-events:none}#loading{top:45%;display:flex;align-items:center;gap:8px}#notice{bottom:clamp(110px,15vh,160px)}.spinner{width:14px;height:14px;border:2px solid #e7be7570;border-top-color:#ffdfaa;border-radius:50%;animation:turn 1s linear infinite}@keyframes turn{to{transform:rotate(360deg)}}dialog{color:#f9efd9;background:#142c2e;border:1px solid #bda77d;border-radius:18px;padding:22px 24px;width:min(360px,calc(100% - 36px));box-shadow:0 20px 70px #0007}dialog::backdrop{background:#0a171baa;backdrop-filter:blur(4px)}.sheet-head{justify-content:space-between;margin-bottom:13px}h2{font-size:20px;letter-spacing:-.03em}#dismiss{width:34px;height:34px;color:inherit;border:1px solid #bbac8650;background:none;font-size:24px}#sheet-body p{font-size:15px;line-height:1.7;margin:8px 0;color:#e4decd}#sheet-body button{background:#ead3a6;border:0;border-radius:14px;padding:10px 15px;color:#272d29;margin-top:12px}#sheet-body input{width:100%;font-size:15px;padding:8px;background:#0a1d1e;color:#f7e9cd;border:1px solid #b8a078}@media(max-width:650px){header{padding:max(15px,env(safe-area-inset-top)) 16px 0;gap:5px}.crest{width:28px;height:33px}.crest i:nth-child(2){inset:6px 5px 0}.crest i:nth-child(3){inset:11px 10px 0}.brand{gap:8px}.header-actions{gap:5px}.presence,.pill{padding:0 9px;gap:5px;min-height:36px;font-size:12px}.pill svg{width:16px}.brand-en{font-size:8px}.event-kicker{display:none}.event-info{position:absolute;top:calc(-100dvh + max(70px,env(safe-area-inset-top)) + max(96px,env(safe-area-inset-bottom)));left:17px;display:flex;align-items:center;gap:7px;line-height:1}.event-info p{font-size:12px;font-weight:600}.event-detail{font-size:11px}.event-detail:before{content:"\b7  ";color:#ddbc86}footer{min-height:96px;padding:0 16px max(22px,env(safe-area-inset-bottom));justify-content:flex-end}.primary{bottom:max(15px,env(safe-area-inset-bottom))}.tools{gap:4px}.tools button{width:35px;height:35px}.jump{padding:9px 17px;min-width:116px}.jump kbd{display:none}}@media(max-height:500px)and (min-width:651px){header{padding-top:12px}footer{padding-bottom:12px}.primary{bottom:7px}.crest{height:32px;width:30px}.event-kicker{display:none}}@media(prefers-reduced-motion:reduce){.spinner{animation:none}}#studio-open{color:#fff0cd;border-color:#dfbb7a99}.enlarged-fan-banner{width:100%;height:auto;aspect-ratio:3/1;border-radius:5px}@media(max-width:365px){#studio-open{padding-inline:7px}#studio-open svg{display:none}}@media(max-width:550px){#lobby header .brand-en,#lobby header .crest{display:none}#lobby header .brand{min-width:0}#lobby header h1{font-size:clamp(15px,4.2vw,20px);white-space:nowrap;letter-spacing:-.055em}#lobby header .presence{position:relative;min-height:34px;padding-inline:8px}#lobby header .presence:after{content:attr(data-short);font-variant-numeric:tabular-nums}#lobby header .presence #count{position:absolute;inset:auto;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}}
