:root{color-scheme:dark;--bg:#171614;--panel:#211e1b;--line:#3c342d;--ink:#f5ede0;--muted:#b9a99b;--amber:#efae68;--green:#9fcbad;--red:#e7897f}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 35% 0%,#30251d 0,transparent 45%),var(--bg);color:var(--ink);font:15px/1.5 system-ui,"Noto Sans CJK KR","Malgun Gothic",sans-serif}button,select,input{font:inherit}button,select{cursor:pointer}button{color:inherit;border:1px solid var(--line);background:#2a2520;border-radius:8px;padding:10px 14px;font-weight:650;transition:background .15s,border .15s,transform .15s}button:hover:not(:disabled){border-color:#bb895d;background:#403128}button:active:not(:disabled){transform:translateY(1px)}button:focus-visible,select:focus-visible,input:focus-visible,a:focus-visible{outline:2px solid var(--amber);outline-offset:3px}button:disabled{opacity:.5;cursor:default}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.top{height:74px;padding:0 max(24px,calc((100vw - 1320px)/2));border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px;background:#1a1715}.brand{display:flex;gap:11px;align-items:center;font-size:19px;font-weight:850;line-height:1.1;white-space:nowrap}.brand small{font-size:9px;letter-spacing:2px;display:block;color:var(--amber);margin-top:6px}.mark{display:grid;place-items:center;width:41px;height:41px;border:1px solid #9c6c43;border-radius:12px;color:var(--amber);font-family:Georgia,serif;font-size:23px;letter-spacing:-2px}.topright,.headbuttons,.actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.offline,.live{font-size:12px;color:var(--green);white-space:nowrap}.offline i,.live i{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--green);margin-right:5px}.ghost{background:transparent;font-size:13px}.shell{max-width:1320px;margin:auto;padding:30px 24px 0}.hero{display:grid;grid-template-columns:.88fr 1.12fr;align-items:center;min-height:325px;overflow:hidden;border:1px solid var(--line);background:linear-gradient(105deg,#2b231c,#241e19);border-radius:15px;padding:28px 34px;position:relative}.hero h1{font-size:clamp(34px,4.5vw,59px);line-height:1.17;letter-spacing:-.065em;margin:12px 0 16px}.hero p{max-width:390px;color:var(--muted);line-height:1.8}.eyebrow{font-size:11px;letter-spacing:2.4px;font-weight:800;color:var(--amber)}.tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:20px}.tags span{border:1px solid #624a36;border-radius:5px;padding:5px 9px;color:#e6c8a7;font-size:11px}.lobbyart svg{width:100%;height:auto;display:block;filter:drop-shadow(0 12px 30px #0003)}.lobbygrid{display:grid;grid-template-columns:1fr 350px;gap:30px;margin-top:30px}.sectionhead,.sidehead{display:flex;align-items:center;gap:10px;margin-bottom:15px}.sectionhead span{font:italic 19px Georgia;color:var(--amber)}h2{font-size:19px;margin:0;letter-spacing:-.035em}.games{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.gamecard{display:flex;flex-direction:column;text-align:left;gap:12px;padding:16px;min-height:176px;border-color:var(--line);background:#24201d}.gamecard.selected{border-color:var(--amber);background:#38291f}.gamecard .symbol{font:bold 25px Georgia;color:var(--amber);background:#513a27;border:1px solid #785537;border-radius:9px;min-width:48px;height:48px;display:grid;place-items:center;align-self:start;padding:0 8px}.gamecard strong{font-size:19px}.gamecard small{font-weight:400;color:var(--muted);line-height:1.5}.settings{border-left:1px solid var(--line);padding-left:26px}.settings label{display:block;font-weight:650;margin:13px 0 6px}.settings label small{font-size:11px;color:var(--muted);font-weight:400;margin-left:6px}.settings select{width:100%;padding:10px;border:1px solid var(--line);border-radius:7px;background:#29241f;color:var(--ink)}.settings .check{display:flex;align-items:center;gap:5px;flex-wrap:wrap;font-size:14px;margin:18px 0}.check input{accent-color:var(--amber);width:17px;height:17px}.primary{background:var(--amber);border-color:var(--amber);color:#2b1b10;font-weight:850}.primary:hover:not(:disabled){background:#f5bf84;color:#2b1b10}.big{width:100%;display:flex;justify-content:space-between;padding:13px 17px}.subtle{font-size:11px;color:var(--muted)}footer{display:flex;gap:10px;flex-wrap:wrap;font-size:11px;color:#96887c;border-top:1px solid var(--line);padding:19px 0;margin-top:30px}.gamehead{display:flex;justify-content:space-between;align-items:end;margin-bottom:16px;gap:10px}.gamehead h1{font-size:30px;margin:4px 0 0;line-height:1.25;letter-spacing:-1px}.playgrid{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:16px}.stagepanel,.side{border:1px solid var(--line);background:#211d1a;border-radius:12px;overflow:hidden}.stagetop{display:flex;justify-content:space-between;align-items:center;padding:10px 15px;color:var(--muted);font-size:11px;letter-spacing:.4px;border-bottom:1px solid var(--line)}.scene{background:#35251d;position:relative}.scene svg{width:100%;height:auto;display:block}.stagefoot{display:flex;align-items:center;justify-content:space-between;padding:12px 17px;gap:8px;border-top:1px solid #4d3b2e}.stagefoot>div:last-child{text-align:right}.tiny{display:block;font-size:10px;color:var(--muted)}.stagefoot strong{font-size:15px}.statusmid{font-size:15px;font-weight:800;color:var(--amber);text-align:center}.timer{height:3px;background:#3a3027}.timer div{height:100%;width:100%;background:var(--amber);transition:width .09s linear}.control{padding:17px;display:flex;justify-content:space-between;align-items:center;gap:15px;min-height:107px}.controlcopy{flex:1}.cue{font-weight:800;font-size:18px;letter-spacing:-.035em}.control p{color:var(--muted);font-size:12px;margin:5px 0 0}.actions{justify-content:flex-end}.actions button{min-height:43px}.side{padding:15px;display:flex;flex-direction:column;min-height:0}.sidehead{justify-content:space-between;margin-bottom:12px}.sidehead h2{font-size:16px}.sidehead span{font-size:10px;color:var(--muted);letter-spacing:1px}.person{display:flex;align-items:center;gap:10px;padding:8px 6px;border-bottom:1px solid #38302a;font-size:13px}.person.active{background:#382c22;border-radius:6px;color:var(--amber)}.person .avatarDot{height:28px;width:28px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:12px;font-weight:800}.person b{flex:1}.person small{font-size:11px;color:var(--muted)}.person .fingertext{color:var(--amber);font-weight:750}.loghead{margin-top:22px}.log{max-height:250px;min-height:100px;overflow:auto;scrollbar-color:#73573d transparent;font-size:12px}.entry{margin:0 0 9px;line-height:1.5;color:#ddcdbb;overflow-wrap:anywhere}.entry b{color:var(--amber);margin-right:5px}.entry.system{color:#a99a8b;font-size:11px}.entry.bad{color:var(--red)}dialog{background:#2a241f;color:var(--ink);border:1px solid #74583d;border-radius:12px;width:min(480px,calc(100% - 28px));padding:24px;box-shadow:0 18px 90px #0008}dialog::backdrop{background:#090706b9;backdrop-filter:blur(3px)}.dialoghead{display:flex;justify-content:space-between;align-items:center}dialog p,dialog li{color:var(--muted);line-height:1.8}dialog h2{font-size:25px;margin:9px 0}.resultstats{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.resultstats span{border:1px solid var(--line);padding:9px 12px;border-radius:6px;color:var(--amber);font-size:12px}.seat .body{transform-box:fill-box;transform-origin:50% 100%}.seat.active .body{animation:breathe 1.5s ease-in-out infinite}.seat .arm{transform-box:fill-box;transform-origin:50% 20%}.seat.clap .leftarm{animation:clapL .22s ease-in-out 3 alternate}.seat.clap .rightarm{animation:clapR .22s ease-in-out 3 alternate}.seat.speak .mouth{animation:talk .18s infinite alternate;transform-box:fill-box;transform-origin:center}.speech{animation:pop .16s ease-out;transform-box:fill-box;transform-origin:center}.paused *{animation-play-state:paused!important}@keyframes breathe{50%{transform:translateY(-3px)}}@keyframes clapL{to{transform:rotate(-16deg) translateX(13px)}}@keyframes clapR{to{transform:rotate(16deg) translateX(-13px)}}@keyframes talk{to{transform:scaleY(2)}}@keyframes pop{from{opacity:0}to{opacity:1}}@media(max-width:900px){.lobbygrid{grid-template-columns:1fr 280px;gap:17px}.playgrid{grid-template-columns:1fr 220px;gap:10px}.control{flex-direction:column;align-items:stretch}.actions{justify-content:flex-start}.hero{padding:23px}.games{gap:7px}.gamecard{padding:12px}.settings{padding-left:16px}}@media(max-width:680px){.top{height:auto;min-height:60px;padding:9px 12px}.topright{gap:4px}.offline{display:none}.ghost{padding:7px 9px;font-size:11px}.brand{font-size:16px}.mark{width:34px;height:34px}.shell{padding:15px 10px 0}.hero{grid-template-columns:1fr;padding:19px}.hero h1{font-size:36px}.hero p{margin:5px 0}.lobbyart{margin-top:10px}.lobbygrid,.playgrid{grid-template-columns:1fr}.settings{border-left:0;border-top:1px solid var(--line);padding:17px 0}.games{grid-template-columns:repeat(3,minmax(0,1fr))}.gamecard{min-height:136px;padding:9px;gap:6px}.gamecard strong{font-size:15px}.gamecard small{font-size:11px}.gamecard .symbol{height:36px;min-width:36px;font-size:20px}.gamehead h1{font-size:22px}.headbuttons{gap:4px;justify-content:flex-end}.stagetop{padding:8px;font-size:10px}.control{padding:12px;min-height:100px}.cue{font-size:16px}.actions button{padding:10px;flex:1;font-size:13px}.side{display:grid;grid-template-columns:1fr 1fr;gap:8px}.sidehead{grid-column:1;margin:0}.sidehead.loghead{grid-column:2;grid-row:1;margin:0}.log{grid-column:2;grid-row:2;max-height:220px}.person{padding:5px 0;gap:5px}.person .avatarDot{width:22px;height:22px}.stagefoot{padding:8px 10px}.stagefoot strong,.statusmid{font-size:13px}.stagefoot .tiny{font-size:9px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
#nickname,.wordform input{width:100%;padding:12px 14px;border:1px solid #66513e;background:#211c19;color:#f5e9d8;border-radius:7px;font:inherit;outline:none}#nickname:focus,.wordform input:focus{border-color:#f0b36c}.wordform{display:flex;gap:8px;width:100%}.wordform input{flex:1;min-width:0}.wordform button{flex-shrink:0}.penaltylabel{color:#ffbd86;font-weight:700}.taxi{color:#e6917c!important;font-weight:bold}.sip{transform-box:fill-box;transform-origin:bottom center;animation:sip 1.45s ease-in-out both}.pov-sip{transform-origin:650px 580px;animation:povSip 1.45s ease-in-out both}.drinking .body{transform-box:fill-box;transform-origin:50% 80%;animation:headSip 1.45s ease-in-out both}.gesturehands{transform-box:fill-box;transform-origin:50% 90%;animation:handWave .55s ease-in-out both}.paused .sip,.paused .pov-sip,.paused .drinking .body,.paused .gesturehands{animation-play-state:paused}@keyframes sip{0%{transform:translateY(38px) rotate(14deg)}30%,65%{transform:translateY(0) rotate(-7deg)}100%{transform:translateY(38px) rotate(14deg)}}@keyframes povSip{0%,100%{transform:translate(35px,150px) rotate(12deg)}30%,65%{transform:translate(-10px,-85px) rotate(-14deg)}}@keyframes headSip{0%,100%{transform:rotate(0)}30%,65%{transform:rotate(-5deg)}}@keyframes handWave{0%,100%{transform:translateY(5px)}50%{transform:translateY(-10px) scale(1.06)}}@media(prefers-reduced-motion:reduce){.sip,.pov-sip,.drinking .body,.gesturehands{animation:none}}@media(max-width:600px){.stagetop{flex-wrap:wrap;gap:6px}.person small{font-size:11px}}
