@font-face{font-family:System;src:local("Inter"),local("Arial");font-display:swap}
.header-nav{margin-left:auto;display:flex;align-items:center;gap:28px}.header-nav a{text-decoration:none}.portal-brand{letter-spacing:-.055em}.catalog{max-width:1160px;margin:48px auto;padding:0 40px}.catalog-intro h1{font-size:3.4rem;margin:25px 0 20px}.catalog-intro>p{color:var(--muted);font-size:1.0625rem;line-height:1.65}.catalog-section-title{display:flex;align-items:center;justify-content:space-between;margin:44px 0 19px}.catalog-section-title h2{font-size:1.25rem}.game-choice{display:grid;grid-template-columns:350px 1fr;border:1px solid var(--line);border-radius:23px;overflow:hidden;background:#fff;min-height:320px}.game-choice-art{position:relative;background:#eeebfb;display:grid;place-items:center}.game-choice-art>img{transform:rotate(-9deg);filter:drop-shadow(0 15px 15px #57427716)}.catalog-slip-one{top:30px;left:22px;transform:rotate(-8deg)}.catalog-slip-two{bottom:27px;right:18px;transform:rotate(7deg)}.game-choice-info{padding:34px 38px}.game-choice-info h2{font-size:2.2rem;margin:15px 0}.game-choice-info>p{font-size:.9375rem;color:var(--muted)}.game-choice-meta{display:flex;gap:10px;margin:23px 0}.game-choice-meta span{background:#f4f4f8;padding:7px 10px;border-radius:7px;font-size:.8125rem;color:#73758a}.game-choice-info .button{min-width:225px}.catalog-footnote{color:var(--muted);font-size:.875rem;margin:23px 0;text-align:center}
:root{font-family:System,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#282b3d;background:#f6f7fb;font-synthesis:none;font-size:16px;--ink:#282b3d;--muted:#73758a;--line:#e6e7ee;--lime:#d4f357;--purple:#9f8ce5}
*{box-sizing:border-box}body{margin:0;min-width:1100px}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.42}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #8a72d5;outline-offset:4px}input:focus{outline:3px solid #c4b7ed;border-color:transparent}a{color:inherit}h1,h2,h3,p{margin:0}h1{font-size:3.8rem;line-height:1.08;letter-spacing:-.055em;font-weight:800}h2{font-size:1.75rem;letter-spacing:-.04em;line-height:1.2}h3{font-size:1.13rem;letter-spacing:-.02em}p{line-height:1.65}label{display:block;font-size:.875rem;font-weight:650;margin-bottom:10px}input,select{border:1px solid #dedfe8;background:#fafbfe;border-radius:12px;padding:14px 16px;color:var(--ink);width:100%}input::placeholder{color:#999aab}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%2373758a' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:36px}.muted{color:var(--muted)}.small{font-size:.875rem}.eyebrow{font-size:.75rem;letter-spacing:.14em;font-weight:750;color:var(--muted)}.topbar{height:96px;max-width:1328px;margin:0 auto;display:flex;align-items:center;gap:36px;padding:0 40px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-size:1.9rem;font-weight:850;letter-spacing:-.065em}.brand-dot{margin-left:-12px;color:#8870d2}.tagline{font-size:.875rem;color:var(--muted)}.topbar>.text-button{margin-left:auto}.text-button{border:0;padding:10px 0;background:none;color:var(--ink);font-size:.875rem;font-weight:650}.text-button:hover{color:#7154c1}.button{border:1px solid transparent;padding:15px 22px;border-radius:13px;font-weight:700;display:inline-flex;justify-content:center;align-items:center;gap:10px;text-decoration:none;min-height:51px;transition:background .15s,transform .15s}.button:hover:not(:disabled){transform:translateY(-1px)}.primary{background:var(--ink);color:white}.primary:hover:not(:disabled){background:#41455f}.lime{background:var(--lime);color:var(--ink)}.lime:hover:not(:disabled){background:#c8eb42}.secondary{background:white;border-color:var(--line)}.secondary:hover:not(:disabled){background:#f3f2f8}.soft{background:#eeebf8;color:#6a54a8}.wide{width:100%}.icon-button{background:transparent;border:0;font-size:1.4rem;line-height:1;width:32px;height:32px;border-radius:8px;color:var(--muted)}.icon-button:hover{background:#ffffff80}.inline{display:flex;align-items:center;gap:12px}.space-between{justify-content:space-between}.pill{display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border-radius:9px;background:#eeebf7;font-size:.75rem;font-weight:700;color:#7962b1}.loading{padding:120px;text-align:center;color:var(--muted)}
.home{max-width:1160px;margin:56px auto 0;display:grid;grid-template-columns:1.08fr 1fr;gap:90px;align-items:center;padding:0 40px}.intro h1{margin:24px 0}.intro>p{font-size:1.06rem;max-width:390px;color:var(--muted)}.intro .highlight{display:inline-block;position:relative;z-index:0}.intro .highlight::after{content:"";position:absolute;background:var(--lime);height:16px;bottom:1px;left:-4px;right:-9px;z-index:-1;transform:rotate(-2deg);border-radius:4px}.home-art{height:200px;position:relative;margin:30px 0 12px;display:flex;align-items:center;justify-content:center}.hat-large{width:152px;height:152px;transform:rotate(-9deg);filter:drop-shadow(0 18px 12px #c5c5d240)}.word-slip{position:absolute;background:white;border:1px solid var(--line);padding:11px 19px;border-radius:9px;box-shadow:0 5px 0 #e9e7f1;font-weight:650;font-size:.875rem}.slip-a{left:8px;top:25px;transform:rotate(-10deg)}.slip-b{right:4px;top:5px;transform:rotate(9deg);background:#eee9fc}.slip-c{right:14px;bottom:13px;transform:rotate(-6deg);background:#fff0e5}.home-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:36px;box-shadow:0 14px 50px #35325006}.home-card .card-icon{font-size:1.7rem;background:#efeafb;width:56px;height:56px;border-radius:16px;display:grid;place-items:center;margin-bottom:23px}.home-card h2{margin-bottom:12px}.home-card>p{margin-bottom:30px;color:var(--muted);font-size:.9375rem}.home-card form .button{margin-top:18px}.form-note{text-align:center;margin-top:15px;font-size:.8125rem;color:var(--muted)}.home-divider{height:1px;background:var(--line);margin:28px 0}.join-note{display:flex;align-items:flex-start;gap:13px;font-size:.875rem;color:var(--muted)}.join-note b{display:block;color:var(--ink);margin-bottom:5px}.home-footer{max-width:1080px;margin:45px auto;display:flex;gap:32px;color:var(--muted);font-size:.8125rem;justify-content:center}.home-footer span{display:flex;gap:8px;align-items:center}.mini-circle{width:6px;height:6px;background:#a491d7;border-radius:50%}.join-layout{max-width:460px;margin:60px auto}.join-layout .home-card{text-align:center}.join-layout form{text-align:left}.join-layout .card-icon{margin-left:auto;margin-right:auto}
.room{max-width:1280px;margin:28px auto 40px;padding:0 36px}.room-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px}.room-heading h1{font-size:2.2rem;margin-top:7px}.room-heading .heading-copy{display:flex;align-items:center;gap:16px}.room-code{font-family:monospace;font-size:.8125rem;color:var(--muted)}.connection{font-size:.75rem;color:var(--muted);margin-top:7px;min-height:16px;text-align:right}.connection.offline{color:#ae5e40}.lobby-grid{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:26px;align-items:start}.panel{background:#fff;border:1px solid var(--line);border-radius:19px;padding:25px}.panel-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.panel-title h2{font-size:1.15rem;letter-spacing:-.025em}.count{color:var(--muted);font-weight:450;margin-left:6px}.teams{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.team{border:1px solid var(--line);border-radius:15px;overflow:hidden;background:#fff}.team-top{padding:15px 16px;background:var(--team-bg);display:flex;align-items:center;justify-content:space-between;gap:8px}.team-0{--team-bg:#eeebfb;--team-color:#8b70cf}.team-1{--team-bg:#fdece3;--team-color:#d78865}.team-2{--team-bg:#e7f2eb;--team-color:#6b9d7a}.team-3{--team-bg:#e5f0fb;--team-color:#6895c2}.team-4{--team-bg:#f9e8f0;--team-color:#bd7299}.team-5{--team-bg:#f6f1d9;--team-color:#b6a348}.team-symbol{width:28px;height:28px;background:white;border-radius:8px;display:grid;place-items:center;color:var(--team-color);font-size:.875rem}.team-title{min-width:0;display:flex;align-items:center;gap:9px}.team-title h3{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.9375rem}.team-content{padding:10px 15px 14px;min-height:120px}.player{display:flex;align-items:center;gap:10px;min-height:44px;padding:5px 0}.avatar{height:29px;width:29px;flex-shrink:0;border-radius:50%;background:#f0f0f6;display:grid;place-items:center;font-size:.75rem;font-weight:700;color:#7e7f94}.player-name{font-size:.875rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.player-name small{font-size:.75rem;color:var(--muted);margin-left:5px}.player select{font-size:.75rem;max-width:112px;padding:7px 26px 7px 8px;border-radius:8px;background-position:right 5px center}.empty-team{font-size:.8125rem;color:#9697a5;padding:14px 0;line-height:1.5}.join-team{width:100%;padding:9px;background:#f7f7fb;border:1px dashed #dadae6;border-radius:8px;font-size:.8125rem;color:#7a7098}.team-actions{display:flex;align-items:center;gap:1px}.team-actions .icon-button{font-size:1rem;width:25px;height:27px}.unassigned{margin-top:23px;border-top:1px solid var(--line);padding-top:20px}.unassigned h3{font-size:.875rem;margin-bottom:10px}.unassigned-players{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 22px}.add-team{margin-top:17px}.add-team .text-button{color:#7b65b3}.sidebar .panel+.panel{margin-top:16px}.setting-row{display:flex;align-items:center;justify-content:space-between;font-size:.875rem;margin:22px 0}.setting-row select{width:115px;font-size:.875rem;padding:10px 30px 10px 12px}.settings-badge{padding:7px 10px;background:#f3f3f8;border-radius:8px;font-size:.8125rem;font-weight:600}.settings-rule{font-size:.8125rem;color:var(--muted);line-height:1.65;padding-top:17px;border-top:1px solid var(--line)}.start-hint{font-size:.8125rem;color:var(--muted);line-height:1.55;text-align:center;margin:13px 0 0}.tip-panel{background:#eeebf8;border-color:#e8e2f4}.tip-panel h3{font-size:.9375rem;margin-bottom:10px}.tip-panel p{font-size:.8125rem;color:#817493}.lobby-bottom{margin:22px 0 0;color:var(--muted);font-size:.8125rem}.lobby-bottom b{color:#5b5d73}
.game-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:24px}.scoreboard{padding:22px}.scoreboard h2{font-size:1.125rem;margin-bottom:20px}.score-row{border:1px solid transparent;border-radius:13px;padding:13px 12px;margin:9px -6px;background:#f7f7fa}.score-row.active{background:var(--team-bg);border-color:var(--team-color)}.score-row-top{display:flex;justify-content:space-between;align-items:center;gap:10px;font-weight:650;font-size:.875rem}.score-row-top strong{font-size:1.4rem}.score-players{font-size:.75rem;color:var(--muted);line-height:1.65;margin-top:8px;overflow-wrap:anywhere}.round-tag{display:block;font-size:.8125rem;color:var(--muted);margin-top:22px}.game-stage{background:#fff;border:1px solid var(--line);border-radius:23px;min-height:500px;overflow:hidden}.stage-top{display:flex;align-items:center;justify-content:space-between;padding:22px 28px;border-bottom:1px solid var(--line);font-size:.875rem;color:var(--muted)}.stage-top strong{color:var(--ink);font-weight:700}.stage-body{padding:38px 45px;text-align:center}.stage-icon{width:76px;height:76px;border-radius:23px;background:#f0ebfc;display:grid;place-items:center;margin:0 auto 23px;font-size:2rem}.stage-body h2{font-size:2rem;letter-spacing:-.04em}.stage-body>p{color:var(--muted);margin:15px auto 24px;max-width:440px;font-size:.9375rem}.stage-body .button{min-width:230px}.stage-body .eyebrow{margin-bottom:16px;display:block}.speaker-name{color:#8870c6}.ready-detail{display:flex;justify-content:center;gap:28px;font-size:.8125rem;color:var(--muted);margin:22px 0}.ready-detail strong{color:var(--ink)}.word-card{border-radius:20px;background:#f3f0fc;border:1px solid #e5dff7;min-height:176px;display:flex;flex-direction:column;justify-content:center;margin:24px 0 22px;padding:24px}.word-card .word{font-size:3rem;font-weight:750;letter-spacing:-.04em;overflow-wrap:anywhere}.word-card small{font-size:.75rem;color:#9985bf;margin-bottom:14px}.word-buttons{display:grid;grid-template-columns:1fr 1.65fr;gap:15px}.word-buttons .button{min-width:0}.timer{font-size:2.75rem;font-variant-numeric:tabular-nums;letter-spacing:-.055em;font-weight:750;color:var(--ink)}.timer.urgent{color:#c36653}.turn-meta{display:flex;justify-content:space-between;align-items:center}.turn-meta .pill{background:#f3f4f8;color:var(--muted)}progress{width:100%;height:5px;border:0;appearance:none;display:block;background:#ebe8f3}progress::-webkit-progress-bar{background:#ebe8f3}progress::-webkit-progress-value{background:#a48be0}progress::-moz-progress-bar{background:#a48be0}.watching{padding:45px 35px}.watching .timer{font-size:4rem;margin:15px 0}.sound-bars{display:flex;justify-content:center;align-items:center;height:58px;gap:7px;margin:24px 0}.sound-bars i{width:7px;border-radius:5px;background:#b8a4eb;height:20px;animation:voice 1.4s ease-in-out infinite}.sound-bars i:nth-child(2){height:40px;animation-delay:-.3s}.sound-bars i:nth-child(3){height:56px;animation-delay:-.6s}.sound-bars i:nth-child(4){height:35px;animation-delay:-.9s}.sound-bars i:nth-child(5){height:17px;animation-delay:-.4s}@keyframes voice{50%{transform:scaleY(.5)}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}.last-turn{font-size:.8125rem;color:var(--muted);text-align:center;padding:17px 0 0}.winner-icon{font-size:3rem;margin-bottom:22px}.winner{background:#f4fadf}.final-score{margin:24px 0;color:#7b8c3c;font-size:.9375rem}.game-help{display:flex;justify-content:space-between;margin-top:15px;font-size:.8125rem;color:var(--muted)}.game-help button{font-size:.8125rem;padding:0;color:var(--muted)}
dialog{border:1px solid var(--line);border-radius:23px;padding:30px;width:510px;color:var(--ink);box-shadow:0 30px 100px #25243a25}dialog::backdrop{background:#282b3d70;backdrop-filter:blur(3px)}.dialog-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}dialog h2{margin-bottom:18px}dialog p{font-size:.9375rem;margin-bottom:20px}dialog .wide{margin-top:20px}.rules-list{padding-left:22px;line-height:1.7;font-size:.9375rem}.rules-list li{margin-bottom:13px;padding-left:5px}.dialog-actions{display:flex;gap:12px;justify-content:flex-end}.toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);background:#282b3d;color:white;padding:15px 23px;border-radius:13px;box-shadow:0 10px 35px #27294025;max-width:600px;font-size:.875rem;z-index:10}.error-card{text-align:center;max-width:480px;margin:100px auto}.error-card h2{margin:20px 0}.error-card p{margin-bottom:25px}
