/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-red-500:oklch(63.7% .237 25.331);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-900:oklch(21% .034 264.665);--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-base:1rem;--text-base--line-height:calc(1.5 / 1);--text-2xl:1.5rem;--text-2xl--line-height:calc(2 / 1.5);--text-7xl:4.5rem;--text-7xl--line-height:1;--font-weight-black:900;--tracking-wider:.05em;--blur-sm:8px;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.fixed{position:fixed}.inset-0{inset:calc(var(--spacing) * 0)}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.z-40{z-index:40}.z-50{z-index:50}.mt-4{margin-top:calc(var(--spacing) * 4)}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.table{display:table}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.gap-4{gap:calc(var(--spacing) * 4)}.bg-gray-900\/80{background-color:#101828cc}@supports (color:color-mix(in lab, red, red)){.bg-gray-900\/80{background-color:color-mix(in oklab, var(--color-gray-900) 80%, transparent)}}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-7xl{font-size:var(--text-7xl);line-height:var(--tw-leading,var(--text-7xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.font-black{--tw-font-weight:var(--font-weight-black);font-weight:var(--font-weight-black)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.text-gray-300{color:var(--color-gray-300)}.text-gray-500{color:var(--color-gray-500)}.text-red-500{color:var(--color-red-500)}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}}:root{--bg:#f5f0e5;--surface:#fffaf0;--text:#20221f;--text-muted:#66665d;--border:#c8c4b7;--accent:#1649e8;--red:#f2604d;--blue:#1649e8;--yellow:#f1d964;--neutral:#e3e4df;--radius:6px;--max-width:1440px;--font-display:"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;--font-body:"PingFang SC","Microsoft YaHei",sans-serif;--ease:cubic-bezier(.2,.75,.25,1);--shadow:3px 4px 0 var(--text)}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);font:15px/1.6 var(--font-body);margin:0}button,input,select{font:inherit;border-radius:var(--radius);color:inherit}button{cursor:pointer;transition:transform .16s var(--ease),box-shadow .16s var(--ease)}button:disabled{cursor:default;opacity:.5}button:active:not(:disabled){transform:translate(2px,3px);box-shadow:none!important}button:focus-visible,select:focus-visible{outline:3px solid var(--blue);outline-offset:4px}input:focus{outline:2px solid var(--text);outline-offset:-2px}[hidden]{display:none!important}header{border-bottom:2px solid var(--text);justify-content:space-between;align-items:center;gap:20px;max-width:1360px;height:94px;margin:0 auto;padding:0;display:flex}.brand{align-items:center;gap:12px;display:flex}.brand svg{width:40px;height:40px;transform:rotate(-6deg)}.brand strong{letter-spacing:-1px;font-size:23px;font-weight:900}.brand small{letter-spacing:2px;font-size:9px;font-weight:700;line-height:1.3;display:block}.navigation{gap:6px;display:flex}.navigation button{color:var(--text-muted);background:0 0;border:0;border-radius:24px;padding:9px 18px;font-weight:800}.navigation button.active{background:var(--yellow);color:var(--text);border:1.5px solid var(--text);box-shadow:2px 2px 0 var(--text);border-radius:7px}.header-actions{align-items:center;gap:18px;font-size:12px;display:flex}.plain{background:0 0;border:0;padding:8px;font-weight:700}.pill{border:1px solid var(--border);border-radius:20px;padding:5px 10px;font-size:11px}.dot{background:var(--red);border-radius:50%;width:7px;height:7px;margin-right:7px;display:inline-block}.page{max-width:var(--max-width);margin:0 auto;padding:30px 40px 24px}.page.enter{animation:enter .36s var(--ease)}@keyframes enter{0%{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}.kicker{letter-spacing:1.6px;color:var(--text-muted);font-size:10px;font-weight:800}.page-title{justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px;display:flex}.page-title h1{letter-spacing:-1px;margin:6px 0 0;font-size:32px;font-weight:900;line-height:1.3}.room-meta{color:var(--text-muted);align-items:center;gap:20px;font-size:12px;display:flex}.stamp{border:1.5px solid var(--text);background:var(--yellow);color:var(--text);letter-spacing:1px;box-shadow:2px 2px 0 var(--text);padding:4px 10px;font-size:11px;font-weight:800;transform:rotate(-3deg)}.game-layout{grid-template-columns:166px minmax(0,1fr) 242px;gap:27px;display:grid}.section-label{color:var(--text-muted);letter-spacing:1px;margin-bottom:12px;font-size:11px;font-weight:700}.teams>.section-label{margin-bottom:16px}.team{margin-bottom:23px;padding:0 0 18px}.team-title{justify-content:space-between;align-items:center;font-size:15px;font-weight:900;display:flex}.team-title>span:first-child{background:var(--red);border:1.5px solid var(--text);min-width:48px;height:32px;box-shadow:2px 2px 0 var(--text);border-radius:5px;place-items:center;padding:0 10px;display:inline-grid}.blue .team-title>span:first-child{background:var(--blue);color:#fff}.team-title>span:last-child{color:var(--text-muted);font-weight:500;font-size:11px!important}.score{align-items:baseline;gap:7px;margin:15px 0 10px;display:flex}.score b{letter-spacing:-2px;font-size:53px;font-weight:900;line-height:1}.score span{color:var(--text-muted);font-size:11px}.segments{gap:4px;margin-bottom:21px;display:flex}.segments i{background:var(--red);border-radius:1px;width:14px;height:5px}.blue .segments i{background:var(--blue)}.segments i.used{opacity:.2}.player{align-items:center;gap:9px;margin:12px 0;font-size:13px;line-height:1.5;display:flex}.avatar{border:1px solid var(--text);border-radius:50%;flex-shrink:0;place-items:center;width:30px;height:30px;font-size:12px;font-weight:800;display:grid;background:var(--yellow)!important}.blue .avatar{background:#dce4ff!important}.player small{color:var(--text-muted);font-size:11px;display:block}.ai-label{background:#e4e3d9;border-radius:3px;margin-left:3px;padding:1px 4px;font-size:9px;font-weight:600}.clue{background:var(--yellow);border:2px solid var(--text);box-shadow:var(--shadow);border-radius:4px;justify-content:space-between;align-items:center;gap:10px;margin:0 4px 24px;padding:15px 22px;display:flex;position:relative;transform:rotate(-1deg)}.clue:before,.clue:after{content:"";border:1.5px solid var(--text);background:var(--bg);border-radius:50%;width:12px;height:12px;position:absolute;top:calc(50% - 6px)}.clue:before{left:-8px}.clue:after{right:-8px}.clue small{letter-spacing:1px;font-size:10px;font-weight:700}.clue-word{letter-spacing:1px;align-items:center;gap:18px;margin-top:3px;font-size:36px;font-weight:900;line-height:1.2;display:flex}.clue-word b{border-left:2px dashed var(--text);letter-spacing:0;padding-left:18px;font-size:37px;line-height:1}.clue-note{text-align:right;font-size:12px;line-height:1.8;transform:rotate(1deg)}.board{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;display:grid}.word{border:1.5px solid var(--text);background:var(--surface);text-align:center;isolation:isolate;border-radius:7px;min-width:0;height:88px;padding:8px 3px;position:relative;box-shadow:0 3px #bdb9ac}.word:before{content:"";pointer-events:none;z-index:-1;border:1px solid #e0dacb;border-radius:3px;position:absolute;inset:6px}.word:disabled{opacity:1}.word:hover:not(:disabled){transform:translateY(-3px);box-shadow:0 6px #bdb9ac}.word .num{color:#888678;font-size:9px;position:absolute;top:9px;left:10px}.word .label{letter-spacing:.5px;font-size:22px;font-weight:900;line-height:1.3;display:block}.word .identity{letter-spacing:.5px;font-size:9px;line-height:1;display:block;position:absolute;bottom:7px;left:0;right:0}.word.red.revealed{background:var(--red);box-shadow:0 3px #b74e40}.word.blue.revealed{background:var(--blue);color:#fff;box-shadow:0 3px #122f93}.word.neutral.revealed{background:var(--neutral);color:var(--text)}.word.assassin.revealed{background:var(--text);color:#fff;box-shadow:0 3px #090a08}.word.revealed .num{color:inherit;opacity:.65}.word.red.revealed:before,.word.blue.revealed:before,.word.assassin.revealed:before{border-color:#ffffff38}.word.master.red:not(.revealed){border-color:var(--red);background:#ffe4da;border-bottom-width:5px}.word.master.blue:not(.revealed){border-color:var(--blue);background:#e3eaff;border-bottom-width:5px}.word.master.assassin:not(.revealed){background:var(--text);color:#fff}.word.master.neutral:not(.revealed){background:#fff}.word.flip{animation:flip .4s var(--ease)}@keyframes flip{0%{transform:rotateY(0)}45%{transform:rotateY(85deg)}to{transform:rotateY(0)}}.board-caption{color:var(--text-muted);justify-content:space-between;gap:10px;margin-top:16px;font-size:10px;display:flex}.board-bottom{justify-content:space-between;align-items:center;gap:14px;padding-top:22px;display:flex}.board-bottom p{color:var(--text-muted);margin:0;font-size:12px}.primary,.secondary{border:2px solid var(--text);box-shadow:var(--shadow);white-space:nowrap;border-radius:6px;padding:11px 22px;font-weight:800}.primary{background:var(--accent);color:#fff}.secondary{background:var(--surface)}.red-button{background:var(--red);color:var(--text)}.briefing{border-left:1px solid var(--border);padding-left:23px}.briefing .tab-label{letter-spacing:1.8px;color:var(--text-muted);font-size:10px;font-weight:700}.briefing h2{letter-spacing:-.5px;margin:4px 0 19px;font-size:23px;font-weight:900}.role-card{background:var(--surface);border:1px solid var(--border);border-radius:5px;margin-bottom:20px;padding:15px}.role-card strong{margin:6px 0;font-size:15px;font-weight:900;display:block}.role-card p{color:var(--text-muted);margin:5px 0 13px;font-size:12px;line-height:1.8}.role-card select{background:var(--bg);border:1px solid var(--border);width:100%;padding:7px;font-size:11px}.log{margin:0;padding:0;list-style:none}.log li{border-top:1px solid var(--border);padding:12px 0;font-size:12px;line-height:1.8}.log small{color:var(--text-muted);font-size:10px;display:block}.log em{font-style:normal;font-weight:800}.message{gap:6px;margin-top:16px;display:flex}.message input{border:1px solid var(--border);background:var(--surface);flex:1;width:0;min-width:0;padding:8px;font-size:11px}.message button{border:1.5px solid var(--text);background:var(--yellow);padding:5px 10px;font-weight:800}.footer{border-top:1px solid var(--border);max-width:1360px;color:var(--text-muted);justify-content:space-between;margin:24px auto 0;padding:16px 0 23px;font-size:11px;display:flex}.home-layout{grid-template-columns:1.15fr 1fr;align-items:center;gap:100px;min-height:calc(100vh - 195px);padding:30px;display:grid}.home-art{padding:30px 0}.home-art h1{letter-spacing:-4px;margin:19px 0 24px;font-size:78px;font-weight:900;line-height:1.15}.home-art h1 em{color:var(--blue);font-style:normal}.home-art p{color:var(--text-muted);font-size:16px;line-height:1.85}.archive-visual{height:165px;margin-top:40px;position:relative}.mini-card{border:2px solid var(--text);background:var(--surface);width:170px;height:110px;box-shadow:4px 5px 0 var(--text);border-radius:7px;place-items:center;font-size:27px;font-weight:900;display:grid;position:absolute;top:0;left:5px;transform:rotate(-11deg)}.mini-card:nth-child(2){background:var(--red);top:18px;left:130px;transform:rotate(7deg)}.mini-card:nth-child(3){background:var(--blue);color:#fff;top:6px;left:255px;transform:rotate(-4deg)}.entry-form{background:var(--yellow);border:2px solid var(--text);box-shadow:7px 8px 0 var(--text);border-radius:5px;padding:32px;transform:rotate(1deg)}.entry-form h2{letter-spacing:-1px;margin:7px 0 25px;font-size:28px;font-weight:900}.entry-form label{margin:16px 0 8px;font-size:13px;font-weight:800;display:block}.input{border:2px solid var(--text);background:var(--surface);width:100%;padding:13px 14px;font-size:15px}.full{width:100%;margin-top:15px}.form-line{gap:9px;display:flex}.form-line input{flex:1;width:0;min-width:0}.form-line .secondary{padding:10px 18px}.separator{border-top:1px solid #20221f55;margin:26px 0 20px;padding-top:17px;font-size:12px}.error{color:#852f22;min-height:20px;margin-top:9px;font-size:12px}#lobby{padding-top:46px}#lobby .page-title{max-width:1100px;margin:0 auto 30px}#lobby .page-title h1{font-size:38px}.lobby-grid{grid-template-columns:1fr 1fr;gap:32px;max-width:1100px;margin:auto;display:grid}.lobby-team{border:2px solid var(--text);background:var(--surface);box-shadow:4px 5px 0 var(--text);border-radius:7px;padding:28px}.lobby-team h2{background:var(--red);border:1.5px solid var(--text);box-shadow:2px 2px 0 var(--text);border-radius:5px;margin:0 0 25px;padding:7px 14px;font-size:23px;font-weight:900;display:inline-block}.lobby-team.blue h2{background:var(--blue);color:#fff}.seat{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:10px;padding:23px 0;display:flex}.seat .player{margin:0;font-size:15px}.seat .avatar{width:39px;height:39px;font-size:15px}.seat .player small{font-size:12px}.seat button{border:1.5px solid var(--text);background:var(--surface);white-space:nowrap;padding:8px 13px;font-size:12px;font-weight:700}.seat button.chosen{background:var(--yellow)}.lobby-controls{justify-content:end;align-items:center;gap:16px;max-width:1100px;margin:32px auto;display:flex}.lobby-controls p{color:var(--text-muted);margin-right:auto;font-size:13px}.result-layout{grid-template-columns:.9fr 1.1fr;align-items:center;gap:75px;min-height:calc(100vh - 195px);padding:30px 25px;display:grid}.result-title{letter-spacing:-3px;color:var(--text);margin:24px 0;font-size:68px;font-weight:900;line-height:1.2}.result-layout p{color:var(--text-muted);font-size:15px;line-height:1.9}.result-actions{gap:14px;margin-top:31px;display:flex}.result-layout>div:last-child{background:var(--surface);border:2px solid var(--text);box-shadow:6px 7px 0 var(--text);border-radius:7px;padding:24px}.result-layout>div:last-child>.section-label{color:var(--text);margin-bottom:20px;font-size:18px;font-weight:900}.result-board{gap:8px}.result-board .word{height:75px}.result-board .word .label{font-size:18px}.result-board .word .identity{font-size:9px}.result-board .word .num{display:none}.result-board .word:before{inset:5px}.overlay{z-index:10;background:#20221f70;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.dialog{background:var(--surface);border:2px solid var(--text);width:470px;max-width:100%;box-shadow:7px 8px 0 var(--text);animation:dialog-enter .25s var(--ease);border-radius:8px;padding:30px}.dialog h2{letter-spacing:-1px;margin:10px 0;font-size:29px;font-weight:900}.dialog p{color:var(--text-muted);font-size:14px;line-height:1.85}.dialog-actions{justify-content:end;gap:12px;margin-top:25px;display:flex}.toast{background:var(--text);color:#fff;z-index:20;text-align:center;border-radius:5px;max-width:90vw;padding:12px 22px;font-size:13px;position:fixed;bottom:28px;left:50%;transform:translate(-50%)}.thinking{font-size:12px;font-weight:700}.thinking:after{content:"•••";letter-spacing:4px;animation:1s infinite alternate blink;display:inline-block}@keyframes blink{to{opacity:.3}}.clue-compose{flex-wrap:wrap;gap:8px;margin:18px 0 10px;display:flex}.clue-compose input{border:1.5px solid var(--text);background:var(--surface);min-width:0;padding:9px}.clue-compose input[type=text]{flex:1;width:0;min-width:130px}.clue-compose input[type=number]{width:60px}.clue-compose .primary{padding:8px 14px;font-size:13px}#ai-suggestions{border-radius:5px;background:var(--yellow)!important;border:1.5px solid var(--text)!important}#ai-suggestions .plain{white-space:normal}@media (width>=1500px){.word{height:96px}}@media (width<=1439px){header,.footer{margin-left:40px;margin-right:40px}.game-layout{grid-template-columns:146px minmax(0,1fr) 222px;gap:23px}.briefing{padding-left:20px}.home-layout{gap:65px;padding-left:15px;padding-right:15px}.mini-card{width:155px}.mini-card:nth-child(2){left:115px}.mini-card:nth-child(3){left:230px}.home-art h1{font-size:70px}}@media (width<=1100px){.game-layout{grid-template-columns:130px minmax(0,1fr) 198px;gap:18px}.page{padding-left:28px;padding-right:28px}header,.footer{margin-left:28px;margin-right:28px}.word{height:81px}.word .label{font-size:19px}.board{gap:8px}.briefing{padding-left:16px}.role-card{padding:12px}.home-layout{gap:35px;padding:30px 0}.home-art h1{font-size:61px}.mini-card{width:130px;font-size:24px}.mini-card:nth-child(2){left:90px}.mini-card:nth-child(3){left:180px}.result-layout{gap:40px;padding:20px 0}.result-title{font-size:58px}.result-layout>div:last-child{padding:18px}.result-board .word{height:66px}.result-board .word .label{font-size:15px}}@media (width<=850px){.game-layout{grid-template-columns:122px minmax(0,1fr);gap:20px}.briefing{border-left:0;border-top:1px solid var(--border);grid-column:2;padding:20px 0 0}.briefing .role-card{margin-bottom:15px}.log li{padding:10px 0}.header-actions .pill{display:none}.home-layout{gap:25px}.home-art h1{font-size:52px}.entry-form{padding:25px}.entry-form h2{font-size:23px}.mini-card{width:115px;height:85px}.mini-card:nth-child(2){left:75px}.mini-card:nth-child(3){left:150px}.lobby-grid{gap:22px}.lobby-team{padding:22px}.seat .player{font-size:13px}.seat .avatar{width:31px;height:31px}.seat button{padding:7px 9px;font-size:11px}.result-layout{gap:30px}.result-title{font-size:48px}.result-actions{flex-wrap:wrap}.result-board{gap:6px}.result-board .word{height:55px}.result-board .word .label{font-size:13px}.result-board .word .identity{font-size:8px}}@media (width<=650px){header{flex-wrap:wrap;gap:12px;height:auto;min-height:100px;margin:0 16px;padding:15px 0 9px}.brand strong{font-size:19px}.brand small{letter-spacing:1.5px;font-size:8px}.brand svg{width:32px;height:32px}.header-actions{gap:6px}.header-actions .plain{padding:6px;font-size:12px}.navigation{order:3;justify-content:space-between;gap:4px;width:100%}.navigation button{flex:1;padding:7px 13px;font-size:12px}.page{padding:23px 16px 15px}.page-title{align-items:start;gap:12px;margin-bottom:22px}.page-title h1{letter-spacing:-.6px;font-size:27px}.kicker{font-size:9px}.room-meta{flex-direction:column;align-items:end;gap:7px;font-size:10px}.stamp{padding:3px 7px;font-size:9px}.game-layout{flex-direction:column;gap:18px;display:flex}.teams{gap:22px;display:flex}.teams>.section-label{display:none}.team{grid-template-columns:1fr auto;align-items:center;gap:0 7px;width:50%;margin:0;padding:0;display:grid}.team-title{font-size:12px;display:block}.team-title>span:first-child{border-radius:4px;min-width:44px;height:28px;padding:0 8px}.team-title>span:last-child{height:16px;margin-top:7px;display:block;font-size:9px!important}.score{align-self:start;gap:5px;margin:0}.score b{letter-spacing:-1px;font-size:34px}.score span{max-width:34px;font-size:9px;line-height:1.4}.segments{grid-column:1/-1;gap:4px;margin:8px 0 0}.segments i{width:14px;height:4px}.team .player{display:none}.clue{margin:0 4px 22px;padding:12px 16px}.clue-word{gap:14px;font-size:29px}.clue-word b{padding-left:14px;font-size:32px}.clue small{letter-spacing:0;font-size:10px}.clue-note{font-size:10px}.board{gap:6px}.word{border-width:1px;border-radius:5px;height:67px;padding:5px 1px}.word:before{border-radius:2px;inset:4px}.word .label{letter-spacing:0;font-size:16px}.word .num{font-size:8px;top:6px;left:7px}.word .identity{letter-spacing:0;font-size:8px;bottom:6px}.board-caption{margin-top:14px;font-size:9px}.board-bottom{gap:12px;padding-top:19px}.board-bottom p{max-width:170px;font-size:11px}.board-bottom .secondary{padding:9px 13px;font-size:12px}.briefing{border-top:1px solid var(--border);border-left:0;padding:21px 0 0}.briefing h2{font-size:22px}.role-card{padding:15px}.role-card select{font-size:13px}.briefing .log li{font-size:12px}.footer{gap:10px;margin:22px 16px 0;padding:14px 0 20px;font-size:9px}.home-layout{min-height:0;padding:0;display:block}.home-art{padding:5px 0 15px}.home-art h1{letter-spacing:-2px;margin:12px 0 17px;font-size:49px;line-height:1.15}.home-art p{margin:0;font-size:14px;line-height:1.8}.archive-visual{height:122px;margin-top:29px}.mini-card{width:130px;height:78px;box-shadow:3px 4px 0 var(--text);font-size:22px;left:7px}.mini-card:nth-child(2){top:13px;left:101px}.mini-card:nth-child(3){top:4px;left:194px}.entry-form{box-shadow:4px 5px 0 var(--text);margin-right:5px;padding:24px;transform:none}.entry-form h2{margin:7px 0 19px;font-size:25px}.entry-form label{margin-top:13px}.input{padding:12px;font-size:14px}.form-line .secondary{padding:9px 15px}.separator{margin-top:25px}.primary,.secondary{padding:11px 18px;font-size:13px}#lobby{padding-top:27px}#lobby .page-title{margin-bottom:25px;display:block}#lobby .page-title h1{font-size:29px}#lobby .page-title .secondary{margin-top:17px;font-size:12px}.lobby-grid{grid-template-columns:1fr;gap:22px;margin-right:5px}.lobby-team{padding:23px 20px}.lobby-team h2{margin-bottom:21px;font-size:21px}.seat{padding:20px 0}.seat .player{font-size:14px}.seat .avatar{width:35px;height:35px}.seat .player small{font-size:11px}.seat button{padding:8px 10px;font-size:11px}.lobby-controls{flex-wrap:wrap;gap:14px;margin:25px 5px 10px 0}.lobby-controls p{width:100%;margin:0}.lobby-controls button{flex:1;padding:11px 10px;font-size:12px}.result-layout{min-height:0;padding:12px 0 10px;display:block}.result-title{letter-spacing:-2px;margin:23px 0;font-size:49px}.result-layout p{font-size:14px}.result-actions{flex-wrap:nowrap;gap:12px;margin:25px 0 32px}.result-actions button{padding:11px 16px;font-size:13px}.result-layout>div:last-child{box-shadow:4px 5px 0 var(--text);margin-right:5px;padding:16px 12px}.result-layout>div:last-child>.section-label{margin-bottom:17px;font-size:17px}.result-board{gap:5px}.result-board .word{height:53px}.result-board .word .label{font-size:12px}.result-board .word .identity{font-size:8px;bottom:5px}.result-board .word:before{inset:3px}.dialog{padding:23px}.dialog h2{font-size:26px}.dialog-actions{gap:10px}.clue-compose input[type=text]{min-width:120px}.clue-compose #submit-clue{flex:1}}@media (width<=350px){.page{padding-left:12px;padding-right:12px}header,.footer{margin-left:12px;margin-right:12px}.brand strong{font-size:17px}.brand small{font-size:7px}.word{height:61px}.word .label{font-size:14px}.word .identity{font-size:7px}.board{gap:5px}.clue{padding:10px 13px}.clue-word{font-size:26px}.clue-note{font-size:9px}.home-art h1{font-size:43px}.mini-card{width:110px}.mini-card:nth-child(2){left:90px}.mini-card:nth-child(3){left:170px}.entry-form{padding:20px}.entry-form h2{font-size:23px}.result-title{font-size:43px}.result-actions button{padding:10px 12px}.result-board .word{height:48px}.result-board .word .label{font-size:11px}.result-board .word .identity{font-size:7px}.lobby-team{padding:20px 15px}.seat .player{font-size:12px}.seat .avatar{width:28px;height:28px}.seat button{padding:7px 8px;font-size:10px}.seat .player small{font-size:10px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}#master-input{margin:0 0 23px}.clue-compose{grid-template-columns:auto minmax(120px,1fr) 76px auto;align-items:end;gap:9px;margin:0;display:grid}.clue-compose label{min-width:0;color:var(--text-muted);font-size:10px;font-weight:700;display:block}.clue-compose label input[type=text],.clue-compose label input[type=number]{width:100%;min-width:0;height:43px;margin-top:5px;font-size:14px;display:block}.clue-compose #ai-assist,.clue-compose #submit-clue{height:43px}.clue-compose #ai-assist{white-space:nowrap}#clue-error:empty{display:none}#ai-suggestions{margin:0 0 15px!important}@media (width<=650px){.clue-compose{grid-template-columns:minmax(0,1fr) 96px;gap:10px}.clue-compose .clue-field{grid-area:1/1}.clue-compose .count-field{grid-area:1/2}.clue-compose #ai-assist{grid-area:2/1;justify-self:start;min-width:84px}.clue-compose #submit-clue{grid-area:2/2;padding:8px 9px}#master-input{margin-bottom:22px}.word .num{display:none}}.role-picker{margin-top:9px;position:relative}.role-picker summary{cursor:pointer;background:var(--surface);border:1.5px solid var(--text);min-height:40px;box-shadow:2px 2px 0 var(--text);border-radius:5px;justify-content:space-between;align-items:center;gap:8px;padding:9px 11px;font-size:12px;font-weight:700;list-style:none;display:flex}.role-picker summary::-webkit-details-marker{display:none}.role-picker summary:after{content:"";border-bottom:2px solid;border-right:2px solid;flex-shrink:0;width:7px;height:7px;margin:0 3px 4px;transform:rotate(45deg)}.role-picker[open] summary{background:var(--yellow)}.role-picker[open] summary:after{margin-bottom:-3px;transform:rotate(225deg)}.role-options{z-index:6;background:var(--surface);border:1.5px solid var(--text);box-shadow:3px 4px 0 var(--text);border-radius:5px;padding:5px;position:absolute;top:calc(100% + 6px);left:0;right:0}.role-options button{text-align:left;background:0 0;border:0;justify-content:space-between;align-items:center;width:100%;min-height:42px;padding:8px;font-size:12px;font-weight:700;display:flex}.role-options button[aria-selected=true]{background:var(--yellow)}.role-options button[aria-selected=true]:after{content:"✓"}.role-options button:hover{background:#e3eaff}summary:focus-visible{outline:3px solid var(--blue);outline-offset:4px}.mobile-scores,.game-tabs,body[data-screen=game] .footer{display:none}@media (width>=901px){body[data-screen=game] header{max-width:none;height:64px;margin-left:32px;margin-right:32px}body[data-screen=game] .brand svg{width:32px;height:32px}body[data-screen=game] .brand strong{font-size:20px}body[data-screen=game] .brand small{font-size:8px}body[data-screen=game] .navigation button{padding:7px 18px}#game{flex-direction:column;max-width:1440px;height:calc(100dvh - 64px);min-height:470px;padding:14px 32px 20px;display:flex}#game .page-title{flex-shrink:0;align-items:center;height:44px;margin:0 0 14px}#game .page-title h1{margin:0;font-size:27px;line-height:1.25}#game .page-title .kicker{font-size:9px}#game .game-layout{flex:1;grid-template-columns:140px minmax(0,1fr) 220px;gap:24px;min-height:0}#game .play-area{flex-direction:column;min-height:0;display:flex}#game .clue{flex-shrink:0;min-height:68px;margin:0 4px 14px;padding:9px 18px;transform:rotate(-.6deg)}#game .clue-word{margin-top:0;font-size:30px}#game .clue-word b{font-size:32px}#game .clue-note{font-size:11px}#game #board{flex:1;grid-template-rows:repeat(5,minmax(0,1fr));gap:8px;min-height:0}#game #board .word{height:auto;min-height:0}#game #board .word .label{font-size:clamp(17px,1.5vw,22px)}#game #board .word .num{font-size:8px;top:5px;left:7px}#game #board .word .identity{font-size:8px;bottom:11px}#game .board-caption{flex-shrink:0;margin-top:10px;line-height:15px}#game .board-bottom{flex-shrink:0;min-height:47px;padding-top:9px}#game .board-bottom .secondary{padding:8px 17px;font-size:12px}#game .team{margin-bottom:18px;padding-bottom:0}#game .teams>.section-label{margin-bottom:12px}#game .score{margin:11px 0 8px}#game .score b{font-size:43px}#game .segments{margin-bottom:14px}#game .segments i{width:12px}#game .player{margin:9px 0}#game .briefing{border-top:0;flex-direction:column;grid-column:auto;min-height:0;padding-top:0;padding-left:19px;display:flex}#game .briefing h2{margin-bottom:11px;font-size:21px}#game .role-card{margin-bottom:12px;padding:12px}#game .role-card p{margin-bottom:8px;font-size:11px;line-height:1.7}#game .role-card strong{margin:4px 0;font-size:14px}#game .role-card>.section-label{font-size:10px}#game .log{overscroll-behavior:contain;scrollbar-width:thin;flex:1;min-height:0;overflow:auto}#game .log li{padding:10px 0;font-size:11px}#game .message{flex-shrink:0;margin-top:10px}#game #ai-demo{flex-shrink:0;align-self:start;margin-top:8px!important}#game #master-input{flex-shrink:0;margin:0 0 12px}#game .clue-compose{grid-template-columns:auto minmax(80px,1fr) 64px auto;gap:7px}#game .clue-compose label input[type=text],#game .clue-compose label input[type=number],#game .clue-compose #ai-assist,#game .clue-compose #submit-clue{height:36px;font-size:12px}#game #ai-suggestions{flex-shrink:0;font-size:11px;padding:10px!important}#game #ai-suggestions .section-label{margin-bottom:7px;font-size:10px}}@media (width>=901px) and (height<=680px){#game{padding-top:10px;padding-bottom:12px}#game .page-title{height:35px;margin-bottom:11px}#game .page-title h1{font-size:24px}#game .clue{min-height:58px;margin-bottom:11px;padding:7px 16px}#game .clue-word{font-size:26px}#game .clue-word b{font-size:29px}#game .team{margin-bottom:13px}#game .score b{font-size:37px}#game .player{margin:8px 0;font-size:12px}#game .avatar{width:27px;height:27px}#game .role-card p{display:none}#game .role-card{padding:10px}#game .briefing h2{margin-bottom:8px;font-size:19px}#game #board .word .num{display:none}#game #board .word .label{font-size:17px}#game #board .word .identity{font-size:8px;bottom:9px}#game .word:before{inset:4px}#game .board-bottom p{font-size:11px}}@media (width<=900px){body{padding-bottom:calc(65px + env(safe-area-inset-bottom))}header{border-bottom:2px solid var(--text);flex-wrap:nowrap;gap:12px;height:60px;min-height:60px;margin:0 16px;padding:10px 0}.brand{gap:8px}.brand svg{width:30px;height:30px}.brand strong{font-size:18px}.brand small{letter-spacing:1.2px;font-size:7px}.header-actions{gap:0}.header-actions .pill{display:none}.header-actions .plain{padding:8px;font-size:12px}.navigation{z-index:7;width:auto;padding:9px 12px calc(9px + env(safe-area-inset-bottom));background:var(--surface);border-top:2px solid var(--text);order:0;grid-template-columns:repeat(4,1fr);gap:6px;min-height:62px;display:grid;position:fixed;bottom:0;left:0;right:0}.navigation button{border-radius:7px;height:42px;padding:8px 4px;font-size:12px;font-weight:800}.navigation button.active{background:var(--yellow);color:var(--text);border:1.5px solid var(--text);box-shadow:2px 2px 0 var(--text)}.footer{display:none}.page{padding:19px 16px 24px}.page-title h1{font-size:26px}.room-meta{font-size:10px}#game{height:calc(100dvh - 125px - env(safe-area-inset-bottom));flex-direction:column;min-height:420px;padding:13px 14px 11px;display:flex}#game .page-title{flex-shrink:0;align-items:center;gap:8px;height:28px;margin:0 0 10px}#game .page-title h1{letter-spacing:-.5px;font-size:21px}#game .page-title .kicker,#game .stamp{display:none}#game .room-meta{font-size:10px;display:block}#game .room-meta>span:first-child{font-size:0}#game .room-meta .room-code{color:var(--text-muted);font-size:11px;font-weight:600}#game .mobile-scores{flex-shrink:0;justify-content:space-between;align-items:center;gap:10px;margin:0 0 12px;display:flex}.mobile-score{align-items:center;gap:8px;font-size:12px;font-weight:800;display:flex}.mobile-score>span{border:1.5px solid var(--text);background:var(--red);width:32px;height:27px;box-shadow:2px 2px 0 var(--text);border-radius:4px;place-items:center;display:inline-grid}.mobile-score.blue-score>span{background:var(--blue);color:#fff}.mobile-score b{font-size:25px;font-weight:900;line-height:1}.mobile-score small{color:var(--text-muted);font-size:10px;font-weight:500}#game .game-tabs{background:#e8e2d5;border-radius:6px;flex-shrink:0;grid-template-columns:repeat(3,1fr);gap:0;margin-bottom:13px;padding:3px;display:grid}#game .game-tabs button{min-height:34px;color:var(--text-muted);background:0 0;border:0;border-radius:4px;font-size:11px;font-weight:700}#game .game-tabs button[aria-selected=true]{background:var(--surface);color:var(--text);box-shadow:0 1px 3px #20221f22}#game .game-layout{flex:1;min-height:0;display:block}#game .game-layout>.teams,#game .game-layout>.briefing{display:none}#game[data-pane=play] .play-area{flex-direction:column;height:100%;min-height:0;display:flex}#game:not([data-pane=play]) .play-area{display:none}#game[data-pane=teams] .teams,#game[data-pane=briefing] .briefing{overscroll-behavior:contain;border:0;height:100%;padding:2px 3px 9px 0;display:block;overflow:auto}#game .teams>.section-label{display:none}#game .team{background:var(--surface);border:1.5px solid var(--text);width:100%;box-shadow:2px 3px 0 var(--text);border-radius:6px;margin-bottom:16px;padding:15px;display:block}#game .team-title{font-size:13px;display:flex}#game .team-title>span:last-child{height:auto;margin:0;font-size:11px!important}#game .team .player{margin:10px 0;font-size:14px;display:flex}#game .team .player small{font-size:11px}#game .team .score{gap:8px;margin:12px 0}#game .team .score b{font-size:32px}#game .team .score span{max-width:none;font-size:12px}#game .team .segments{margin:0 0 12px}#game .team .avatar{width:32px;height:32px}#game .briefing>.tab-label{display:none}#game .briefing h2{margin:0 0 12px;font-size:20px}#game .role-card{margin-bottom:12px;padding:14px}#game .role-card p{font-size:12px}#game .role-picker summary,#game .role-options button{min-height:44px;font-size:13px}#game .log li{padding:11px 0;font-size:12px}#game .message{margin-top:12px}#game .message input{height:42px;font-size:13px}#game .message button{min-width:43px}#game #ai-demo{min-height:42px;font-size:12px!important}#game .clue{flex-shrink:0;min-height:67px;margin:0 5px 13px;padding:9px 13px;transform:rotate(-.6deg)}#game .clue-word{gap:13px;margin-top:0;font-size:29px;line-height:1.15}#game .clue-word b{padding-left:13px;font-size:31px}#game .clue small{font-size:9px}#game .clue-note{font-size:10px}#game #board{flex:1;grid-template-rows:repeat(5,minmax(0,1fr));gap:6px;min-height:0}#game #board .word{border-width:1px;border-radius:5px;height:auto;min-height:0;padding:3px 1px}#game #board .word .label{letter-spacing:0;font-size:16px;line-height:1.15}#game #board .word .num{display:none}#game #board .word .identity{letter-spacing:0;font-size:8px;bottom:5px}#game #board .word:before{border-radius:2px;inset:4px}#game .board-caption{flex-shrink:0;margin-top:9px;font-size:9px;line-height:14px}#game .board-caption>span:last-child{display:none}#game .board-bottom{flex-shrink:0;gap:10px;min-height:45px;padding-top:8px}#game .board-bottom p{max-width:190px;font-size:10px;line-height:1.4}#game .board-bottom .secondary{min-height:38px;padding:8px 12px;font-size:12px}#game #master-input{flex-shrink:0;margin:0 0 12px}#game .clue-compose{grid-template-columns:60px minmax(0,1fr) 48px 78px;align-items:end;gap:6px;margin:0;display:grid}#game .clue-compose #ai-assist{grid-area:1/1;justify-self:stretch;min-width:0;padding:7px 5px!important;font-size:11px!important}#game .clue-compose .clue-field{grid-area:1/2}#game .clue-compose .count-field{grid-area:1/3}#game .clue-compose #submit-clue{grid-area:1/4;padding:7px 5px;font-size:11px}#game .clue-compose label{font-size:9px}#game .clue-compose label input[type=text],#game .clue-compose label input[type=number],#game .clue-compose #ai-assist,#game .clue-compose #submit-clue{min-width:0;height:38px;font-size:12px}#game .clue-compose label input{padding:7px 8px}#game #ai-suggestions{margin:0 0 14px!important;padding:12px!important}#game .error{margin:5px 0 0;font-size:10px}.home-layout{min-height:0;padding:0;display:block}.home-art{padding:0 0 13px}.home-art .kicker{font-size:9px}.home-art h1{letter-spacing:-1.7px;margin:10px 0 12px;font-size:39px;line-height:1.14}.home-art p{margin:0;font-size:12px;line-height:1.75}.archive-visual{height:85px;margin-top:17px}.mini-card{width:111px;height:65px;box-shadow:3px 3px 0 var(--text);font-size:20px;top:0;left:8px}.mini-card:nth-child(2){top:10px;left:94px}.mini-card:nth-child(3){top:3px;left:179px}.entry-form{box-shadow:4px 5px 0 var(--text);border-width:1.5px;margin-right:5px;padding:20px;transform:none}.entry-form .kicker{font-size:8px}.entry-form h2{margin:4px 0 13px;font-size:22px}.entry-form label{margin:11px 0 6px;font-size:11px}.entry-form .input{height:42px;padding:9px 11px;font-size:13px}.entry-form .primary.full{height:43px;margin-top:12px;padding:9px}.entry-form .separator{margin:18px 0 11px;padding-top:12px;font-size:11px}.entry-form .secondary{min-height:42px;padding:8px 14px;font-size:12px}.entry-form .error:empty{display:none}.entry-form #learn-rules{min-height:38px;margin-top:6px;font-size:11px!important}.page-title .secondary{min-height:42px}#lobby{padding-top:22px}#lobby .page-title{margin-bottom:21px}#lobby .page-title h1{font-size:27px}#lobby .page-title .secondary{margin-top:14px}.lobby-grid{margin-right:4px;display:block}.lobby-team{box-shadow:3px 4px 0 var(--text);margin-bottom:20px;padding:19px 18px}.lobby-team h2{margin-bottom:16px;padding:5px 12px;font-size:19px}.seat{padding:15px 0}.seat .avatar{width:32px;height:32px}.seat .player{font-size:13px}.seat .player small{font-size:10px}.seat button{min-height:42px;padding:8px 10px;font-size:11px}.lobby-controls{flex-wrap:wrap;gap:12px;margin:18px 4px 10px 0;display:flex}.lobby-controls p{width:100%;font-size:12px}.lobby-controls button{flex:1;min-height:44px;padding:10px 8px;font-size:12px}.result-layout{min-height:0;padding:3px 0;display:block}.result-title{letter-spacing:-1.5px;margin:17px 0;font-size:43px}.result-layout p{margin:12px 0;font-size:12px;line-height:1.8}.result-actions{gap:12px;margin:20px 0 26px}.result-actions button{min-height:44px;padding:9px 15px;font-size:12px}.result-layout>div:last-child{box-shadow:3px 4px 0 var(--text);margin-right:4px;padding:15px 11px}.result-layout>div:last-child>.section-label{margin-bottom:14px;font-size:16px}.result-board{gap:5px}.result-board .word{height:53px}.result-board .word .label{font-size:12px}.result-board .word .identity{font-size:8px}.dialog{border-radius:8px;max-height:calc(100dvh - 40px);padding:22px;overflow:auto}.dialog h2{font-size:25px}.dialog p{font-size:13px}.dialog-actions button{min-height:44px}.toast{bottom:calc(79px + env(safe-area-inset-bottom));max-width:calc(100% - 24px);padding:9px 16px;font-size:12px}}@media (width<=900px) and (height<=730px){#game{padding-top:10px;padding-bottom:10px}#game .page-title{height:25px;margin-bottom:8px}#game .mobile-scores{margin-bottom:9px}#game .game-tabs{margin-bottom:10px}#game .clue{min-height:58px;margin-bottom:11px;padding:7px 12px}#game .clue-word{font-size:25px}#game .clue-word b{font-size:28px}#game #board .word .label{font-size:14px}#game #board .word .identity{font-size:7px;bottom:3px}#game .word:before{inset:3px!important}#game .board-caption{margin-top:7px;font-size:8px}#game .board-bottom{min-height:40px;padding-top:6px}#game .board-bottom .secondary{min-height:35px;padding:6px 10px}#game #master-input{margin-bottom:9px}#game .clue-compose label input[type=text],#game .clue-compose label input[type=number],#game .clue-compose #ai-assist,#game .clue-compose #submit-clue{height:34px}}@media (width<=350px){.mini-card{width:100px}.mini-card:nth-child(2){left:84px}.mini-card:nth-child(3){left:159px}#game .clue-compose{grid-template-columns:54px minmax(0,1fr) 43px 70px;gap:5px}#game .mobile-score{gap:6px}#game .mobile-score small{font-size:9px}#game .board-bottom p{max-width:155px;font-size:9px}.entry-form h2{font-size:21px}.home-art h1{font-size:36px}.seat .player{font-size:12px}.seat button{padding:7px;font-size:10px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}@media (width<=900px){#game .clue-compose label input[type=text],#game .clue-compose label input[type=number],#game .clue-compose #ai-assist,#game .clue-compose #submit-clue{height:44px}#game .board-bottom .secondary{min-height:44px}.navigation button{height:44px}body:has(#clue-input:focus,#count-input:focus,#chat-input:focus){padding-bottom:0}body:has(#clue-input:focus,#count-input:focus,#chat-input:focus) .navigation{display:none}body:has(#clue-input:focus,#count-input:focus,#chat-input:focus) #game{height:calc(100dvh - 60px)}.lobby-team{margin-bottom:17px;padding:16px}.lobby-team h2{margin-bottom:12px;padding:4px 10px;font-size:17px}.seat{padding:11px 0}.seat .avatar{width:30px;height:30px}.seat button{min-height:40px}.lobby-team>p{margin:9px 0 0;font-size:11px!important}.lobby-controls{margin-top:16px}.lobby-controls p{margin:0 0 3px}}@media (width<=900px) and (height<=730px){#game #board .word.master .label,#game #board .word.revealed .label{transform:translateY(-3px)}}@media (width<=900px){body:has(#clue-input:focus,#count-input:focus) #game .play-area{overscroll-behavior:contain;padding:0 3px 5px 0;overflow:auto}body:has(#clue-input:focus,#count-input:focus) #game #board{flex:none;height:280px;min-height:280px}.lobby-team{margin-bottom:12px}.result-board .word{height:51px}}.suggestion-button{border:1.5px solid var(--text);background:var(--surface);width:100%;min-height:42px;box-shadow:2px 3px 0 var(--text);text-align:left;border-radius:5px;justify-content:space-between;align-items:center;gap:8px;padding:8px 10px;font-size:12px;display:flex}.suggestion-button span{color:var(--blue);white-space:nowrap;font-size:11px;font-weight:800}.suggestion-reason{color:var(--text-muted);margin:10px 0 0;font-size:11px;line-height:1.75}#game #ai-suggestions{flex-shrink:1;min-height:90px;max-height:210px;overflow:auto}.word.flip:after{content:attr(data-word);z-index:3;border-radius:inherit;background:var(--surface);color:var(--text);place-items:center;font-size:clamp(17px,1.5vw,22px);font-weight:900;animation:.4s step-end both reveal-face;display:grid;position:absolute;inset:0}@keyframes reveal-face{0%,49.9%{visibility:visible}50%,to{visibility:hidden}}@media (width<=900px){#game .board-caption{display:none}#game #board .word .identity{font-size:8px;bottom:9px}.word.flip:after{font-size:16px}.suggestion-button{min-height:44px}}@media (width<=900px) and (height<=730px){#game #board .word.master .label,#game #board .word.revealed .label{transform:translateY(-5px)}#game #board .word .identity{font-size:7px;bottom:7px}.word.flip:after{font-size:14px}}@media (width<=900px) and (height<=620px){#game{height:auto;min-height:calc(100dvh - 125px)}#game .game-layout{flex:none;height:auto}#game[data-pane=play] .play-area{height:auto}#game #board{flex:none;height:280px;min-height:280px}body:has(#clue-input:focus,#count-input:focus) #game{height:calc(100dvh - 60px)}body:has(#clue-input:focus,#count-input:focus) #game .game-layout{flex:1;min-height:0}body:has(#clue-input:focus,#count-input:focus) #game .play-area{height:100%}}@media (width>=901px){#game{min-height:0;display:flex}#game .game-layout{grid-template-rows:minmax(0,1fr);grid-template-columns:160px minmax(0,1fr) 242px;gap:24px;display:grid}#game .teams{flex-direction:column;min-height:0;display:flex;overflow:hidden}#game .team-roster{scrollbar-width:thin;flex:1;min-height:0;padding-right:3px;overflow:auto}#game .play-area,#game .briefing,#game .teams{grid-area:1}#game .briefing h2,#game .operation-heading h1{letter-spacing:-.7px;margin:0 0 12px;font-size:24px;font-weight:900;line-height:1.25}#game .briefing>.tab-label{display:none}#game .operation-heading{flex-shrink:0;margin-bottom:22px}#game .operation-meta{color:var(--text-muted);font-size:11px;line-height:1.7}#game .operation-meta span{display:block}#game .game-exit{color:var(--text);min-height:36px;box-shadow:2px 3px 0 var(--text);margin-top:12px;padding:7px 13px;font-size:11px}#game #board .word.master .label,#game #board .word.revealed .label{transform:translateY(-3px)}}@media (width>=901px) and (width<=1100px){#game .game-layout{grid-template-columns:142px minmax(0,1fr) 220px;gap:18px}}html{-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}body{overscroll-behavior-y:none}input,select,button{font-family:inherit}button:disabled{opacity:.45}.navigation button:disabled{opacity:.4}.navigation button.active:disabled{opacity:1}h1,h2,h3,p{overflow-wrap:break-word}input::placeholder{color:#85847a}.state-page{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:65dvh;padding:32px;display:flex}.state-page h1{font-size:26px;font-weight:900}.state-page p{margin:16px 0}.muted{color:var(--text-muted)}.learn-rules{min-height:38px;margin-top:9px;padding-left:0;font-size:12px}.invite-note{margin:8px 0 16px;font-size:12px}.lobby-room{color:var(--text-muted);margin-top:12px;font-size:12px}.lobby-share{align-items:center;gap:15px;display:flex}.player>div{min-width:0}.player-name{overflow-wrap:anywhere}.seat{gap:15px}.seat-status{white-space:nowrap;font-size:12px}.seat-remove{color:var(--text-muted)}.lobby-role+.lobby-role{margin-top:6px}.unassigned{flex-wrap:wrap;align-items:center;gap:12px;max-width:1100px;margin:25px auto;display:flex}.unassigned>.section-label{margin:0}.waiting-player{align-items:center;gap:8px;font-size:13px;display:inline-flex}.lobby-feedback{max-width:1100px;margin:12px auto}.lobby-exit{text-align:right;max-width:1100px;margin:12px auto}.role-card>.section-label{margin:0}.roster-row{min-width:0}.game-exit{color:var(--text-muted);padding-left:0;font-size:11px}.replace-player{color:var(--blue);padding:0 0 5px;font-size:10px}.activity{flex-direction:column;flex:1;min-height:0;display:flex}.briefing-tabs{flex-shrink:0;gap:4px;margin-bottom:5px;display:flex}.briefing-tabs button{color:var(--text-muted);background:0 0;border:0;border-radius:4px;padding:6px 8px;font-size:10px;font-weight:700}.briefing-tabs button[aria-selected=true]{color:var(--text);background:#e8e2d5}.activity-scroll{overscroll-behavior:contain;scrollbar-width:thin;flex:1;min-height:0;overflow:auto}#game .activity-scroll .log{overflow:visible}.log span,.suggestion-reason{overflow-wrap:anywhere}.chat-log li span{white-space:pre-wrap}.reasoning{margin-top:5px;font-size:10px}.reasoning summary{cursor:pointer;color:var(--blue)}.reasoning p{white-space:pre-wrap;margin:6px 0}.sync-state{color:#80501d;margin:0 0 9px;font-size:10px}.ai-suggestions{background:var(--yellow);border:1px solid var(--text);border-radius:5px;margin:0 0 12px;padding:12px}.suggestion-button{margin-top:8px}.suggestion-reason{margin-bottom:12px}.result-line{white-space:nowrap}.result-review{border-top:1px solid var(--border);max-width:1100px;height:350px;max-height:400px;margin:25px auto;padding:16px}.result-board .word .identity{font-size:8px;bottom:10px}.dialog .error{margin-top:12px}#game .error{min-height:0;margin:5px 0 10px;font-size:11px}@media (width>=901px){#game .teams{scrollbar-width:thin;padding-right:3px;overflow:auto}#game .role-card{flex-shrink:0}#game .ai-suggestions{flex-shrink:1;min-height:70px;max-height:210px;overflow:auto}#game .sync-state{flex-shrink:0}}@media (width<=900px){.lobby-share{flex-wrap:wrap;gap:7px}.lobby-share .plain{font-size:11px}#lobby .page-title .lobby-share .secondary{margin-top:0}.lobby-share{margin-top:13px}.lobby-room{margin-top:8px}#lobby .page-title{margin-bottom:17px}.unassigned{margin:16px 0}.lobby-exit{margin-top:8px}.seat-status{font-size:10px}.seat-remove{min-width:44px}.lobby-controls{align-items:center}.game-exit{min-height:44px}#game[data-pane=briefing] .briefing{flex-direction:column;display:flex}#game[data-pane=briefing] .activity{min-height:130px}#game .briefing .ai-suggestions{flex-shrink:0;max-height:none}#game .briefing .role-card{flex-shrink:0}#game .briefing .message{min-height:44px}#game .briefing-tabs button{min-height:40px;font-size:12px}#game #board .word .label.long-word{letter-spacing:-.5px;font-size:clamp(9px,3vw,12px)}#game .word .label{white-space:nowrap}#game .board-bottom p{overflow-wrap:anywhere}#game .sync-state{font-size:11px}.result-board .word .label.long-word{letter-spacing:-.5px;font-size:10px}.result-board .word .identity{font-size:7px;bottom:7px}.learn-rules{font-size:11px}#game #master-input .error{font-size:10px}.clue-compose input[type=text]{min-width:0}.ai-suggestions .suggestion-reason{font-size:11px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}@keyframes dialog-enter{0%{transform:translateY(14px)}to{transform:none}}.avatar{overflow:hidden}.avatar>svg{width:100%;height:100%;display:block}.dialog.rules-dialog{flex-direction:column;width:min(640px,100vw - 40px);min-width:0;max-height:calc(100dvh - 40px);display:flex;overflow:hidden}.rules-dialog>.kicker,.rules-dialog>h2,.rules-dialog>.dialog-actions{flex-shrink:0}.rules-dialog>h2{margin-bottom:18px}.rules-content{overscroll-behavior:contain;scrollbar-width:thin;min-height:0;padding-right:12px;font-size:14px;line-height:1.8;overflow:auto}.rules-content section+section{margin-top:24px}.rules-content h3{margin:0 0 9px;font-size:17px;font-weight:900}.rules-content p{font-size:inherit;color:var(--text-muted);margin:0}.rules-content ol,.rules-content ul{color:var(--text-muted);margin:0;padding-left:22px}.rules-content li+li{margin-top:8px}.rules-role{border:1px solid var(--border);border-radius:5px;padding:13px 16px}.rules-role+.rules-role{margin-top:9px}.rules-role strong{margin-bottom:4px;display:block}.rules-dialog>.dialog-actions{border-top:1px solid var(--border);margin-top:20px;padding-top:16px}.seat-actions{flex-shrink:0;align-items:center;gap:8px;display:flex}.team-add-ai{width:100%;margin-top:12px;padding:10px 12px;font-size:12px}@media (width<=650px){.dialog.rules-dialog{padding:20px 18px}.rules-dialog>h2{margin-bottom:15px;font-size:23px}.rules-content{padding-right:8px;font-size:13px}.rules-content h3{font-size:16px}.rules-content section+section{margin-top:20px}.rules-role{padding:11px 12px}.rules-dialog>.dialog-actions{margin-top:15px;padding-top:13px}.seat-actions{gap:5px}.seat-actions button{padding:7px 8px}.team-add-ai{min-height:44px}}.log li[data-event]{background:var(--surface);border:0;border-radius:4px;margin:0 0 8px;padding:9px 10px;font-size:12px;line-height:1.65}.log-meta{justify-content:space-between;align-items:center;gap:12px;margin-bottom:4px;display:flex}.log .event-label{letter-spacing:.4px;font-size:9px;font-weight:800;line-height:1.5}.log-meta time{color:var(--text-muted);font-size:9px}.log li[data-team=red]{--event-color:#bc392b;--event-bg:#fce5df}.log li[data-team=blue]{--event-color:var(--blue);--event-bg:#e4eaff}.log li[data-team=neutral]{--event-color:var(--text-muted);--event-bg:#e8e2d5}.log .event-label{color:var(--event-color)}.log li[data-event=clue]{background:var(--yellow);border:1px solid var(--text)}.log li[data-event=clue] .event-text{font-weight:800}.log li[data-event=reveal] .event-text{color:var(--event-color)}.log li[data-event=turn],.log li[data-event=system]{background:var(--event-bg);font-weight:700}.log li[data-event=outcome]{background:var(--text);color:var(--surface)}.log li[data-event=outcome] .event-label,.log li[data-event=outcome] time{color:var(--yellow)}body[data-screen=result] .footer{display:none}@media (width>=901px){body[data-screen=result] header{max-width:none;height:64px;margin-left:32px;margin-right:32px}}#result{height:calc(100dvh - 64px);min-height:0;padding:24px 32px 28px}#result .result-layout{grid-template-columns:minmax(220px,.7fr) minmax(0,1.3fr);align-items:center;gap:30px;height:100%;min-height:0;padding:0;display:grid}#result .result-layout[data-review=true]{grid-template-columns:210px minmax(0,1fr) 270px;gap:22px}#result .result-summary{min-width:0;max-height:100%;box-shadow:none;background:0 0;border:0;margin:0;padding:0;overflow:auto}#result .result-title{letter-spacing:-2px;margin:18px 0;font-size:clamp(36px,4.5vw,60px);line-height:1.17}.winner-line{display:block}#result .result-reason{max-width:300px;font-size:13px;line-height:1.8}#result .result-scores{margin:17px 0;font-size:12px}#result .result-actions{flex-wrap:wrap;gap:12px;margin:22px 0 14px;display:flex}#result .result-actions button{min-height:44px;padding:11px 16px;font-size:13px}#result .result-toggle{min-height:40px;padding:5px 0;font-size:12px;font-weight:800}#result .result-board-panel{background:var(--surface);border:2px solid var(--text);min-width:0;height:min(100%,660px);min-height:0;box-shadow:5px 6px 0 var(--text);border-radius:7px;flex-direction:column;margin:0;padding:20px;display:flex}#result .result-board-panel>.section-label{color:var(--text);flex-shrink:0;margin:0 0 16px;font-size:17px;font-weight:900}#result .result-board{flex:1;grid-template-rows:repeat(5,minmax(0,1fr));gap:8px;min-height:0}#result .result-board .word{height:100%;min-height:0}#result .result-board .label{font-size:clamp(14px,1.55vw,22px)}#result .result-board .identity{font-size:8px;bottom:10px}#result .result-review{border:0;border-left:1px solid var(--border);flex-direction:column;min-width:0;height:min(100%,660px);min-height:0;max-height:none;margin:0;padding:0 0 0 18px;display:flex}#result .result-review>.section-label{color:var(--text);flex-shrink:0;margin:0 0 13px;font-size:17px;font-weight:900}#result .activity{overflow:hidden}.dialog.share-dialog{flex-direction:column;width:min(480px,100vw - 40px);min-width:0;height:auto;max-height:calc(100dvh - 40px);padding:22px;display:flex;overflow:hidden}.share-dialog>h2{flex-shrink:0;margin:5px 0 13px;font-size:24px}.share-preview{flex:0 auto;justify-content:center;align-items:center;min-height:0;display:flex;overflow:hidden}.share-preview img{object-fit:contain;width:100%;max-width:100%;height:auto;max-height:calc(100dvh - 210px);display:block}.share-preview p{padding:30px 0}.share-dialog>.dialog-actions{flex-shrink:0;align-items:stretch;margin-top:13px}.share-dialog .primary{justify-content:center;align-items:center;font-size:13px;text-decoration:none;display:inline-flex}.share-dialog .secondary{font-size:13px}.share-hint{color:var(--text-muted);text-align:center;flex-shrink:0;margin:9px 0 0;font-size:11px!important}@media (width>=901px) and (width<=1100px){#result .result-layout[data-review=true]{grid-template-columns:180px minmax(0,1fr) 230px;gap:16px}#result .result-title{font-size:35px}#result .result-board-panel{padding:14px}#result .result-board{gap:6px}#result .result-review{padding-left:12px}}@media (width<=900px){#result{height:calc(100dvh - 125px - env(safe-area-inset-bottom));padding:15px 14px 16px}#result .result-layout,#result .result-layout[data-review=true]{flex-direction:column;align-items:stretch;gap:14px;display:flex}#result .result-summary{flex-shrink:0;max-height:none;overflow:visible}#result .result-summary>.kicker,#result .result-summary>.stamp{display:none}#result .result-title{letter-spacing:-1px;margin:0 0 5px;font-size:29px;line-height:1.2}.winner-line{display:inline}#result .result-line{white-space:normal}#result .result-reason{max-width:none;margin:0;font-size:11px}#result .result-scores{margin:5px 0;font-size:11px}#result .result-actions{gap:10px;margin:9px 0 5px}#result .result-actions button{min-height:40px;padding:8px 15px;font-size:12px}#result .result-toggle{min-height:32px;padding:3px 0;font-size:11px}#result .result-board-panel{height:auto;box-shadow:3px 4px 0 var(--text);flex:1;margin:0 4px 0 0;padding:12px}#result .result-board-panel>.section-label{margin-bottom:10px;font-size:14px}#result .result-board{gap:5px}#result .result-board .label{font-size:13px}#result .result-board .label.long-word{font-size:clamp(9px,2.8vw,11px)}#result .result-board .identity{font-size:7px;bottom:6px}#result[data-view=review] .result-board-panel{display:none}#result .result-review{border:0;flex:1;height:auto;padding:0}#result .result-review>.section-label{display:none}#result .activity-scroll{min-height:0}.share-dialog .share-preview{max-height:calc(100dvh - 215px)}.share-dialog>.dialog-actions{gap:10px}.share-dialog>.dialog-actions>*{flex:1;min-height:44px;padding:10px 8px}.log li[data-event]{padding:9px 10px;font-size:12px}.log .event-label,.log-meta time{font-size:10px}}@media (width<=900px) and (height<=680px){#game{height:calc(100dvh - 125px - env(safe-area-inset-bottom));min-height:0}#game .game-layout{flex:1;height:auto;min-height:0}#game[data-pane=play] .play-area{height:100%}#game #board{flex:1;height:auto;min-height:0}#game .clue{min-height:55px;margin-bottom:9px}#game .board-caption{margin-top:8px}#game .board-bottom{padding-top:9px}#game .game-tabs{margin-bottom:9px}#game .mobile-scores{margin-bottom:8px}#result .result-title{font-size:25px}#result .result-layout{gap:9px}#result .result-board-panel>.section-label{margin-bottom:7px}}@media (width>=901px) and (height<=800px){#game .team{grid-template-columns:1fr auto;gap:0 6px;margin-bottom:12px;display:grid}#game .team-title{display:block}#game .team-title>span:first-child{min-width:44px;height:28px;padding:0 8px}#game .team-title>span:last-child{min-height:12px;margin-top:4px;display:block;font-size:9px!important}#game .score{align-self:start;margin:0;display:block}#game .score b{letter-spacing:-1px;font-size:32px}#game .score span{font-size:9px;line-height:1.4;display:block}#game .segments{grid-column:1/-1;margin:7px 0 5px}#game .roster-row{grid-column:1/-1}#game .roster-row .player{margin:2px 0;font-size:12px;line-height:1.35}#game .roster-row small{font-size:10px}#game .replace-player{min-height:0;padding:0 0 3px 39px;font-size:9px;line-height:12px}#game .operation-heading{margin-bottom:16px}#game .team{margin-bottom:8px}}.mobile-game-heading{display:none}#game .clue{background:var(--red);height:116px;min-height:116px;color:var(--text);grid-template-rows:minmax(0,1fr) 36px;grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;margin:0 4px 14px;padding:10px 16px;display:grid;transform:none}#game .clue[data-team=blue]{background:var(--blue);color:#fff}#game .clue-word b{border-color:currentColor}#game .clue-main{grid-area:1/1/auto/-1;align-items:center;min-width:0;display:flex}#game .clue-content{min-width:0}#game .clue-word{font-size:30px;line-height:1.2}#game .clue-word>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}#game .clue-actions{grid-area:2/2;justify-content:center;align-items:center;gap:8px;min-width:0;display:flex}#game .live-status{overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;grid-area:2/1;align-self:center;min-width:0;font-size:12px;font-weight:700;line-height:1.45;display:-webkit-box;overflow:hidden}#game .live-status[data-thinking=true]{animation:1.3s ease-in-out infinite status-pulse}#game .clue-actions #end-turn{height:36px;min-height:36px;color:var(--text);background:var(--surface);box-shadow:2px 2px 0 var(--text);flex-shrink:0;padding:5px 13px;font-size:12px}#game .clue-actions #end-turn:disabled{opacity:.6}#game .retry-ai{white-space:nowrap;color:inherit;padding:4px;font-size:11px}@keyframes status-pulse{50%{opacity:.6}}#game .clue #master-input{width:100%;min-width:0;margin:0}#game .clue-compose{background:0 0;border:0;grid-template-columns:minmax(70px,1fr) 54px auto auto;align-items:end;gap:8px;margin:0;padding:0;display:grid}#game .clue-compose .clue-field{grid-area:1/1}#game .clue-compose .count-field{grid-area:1/2}#game .clue-compose #ai-assist{grid-area:1/3}#game .clue-compose #submit-clue{grid-area:1/4}#game .clue-compose label{color:inherit;font-size:10px}#game .clue-compose label input[type=text],#game .clue-compose label input[type=number],#game .clue-compose #ai-assist,#game .clue-compose #submit-clue{min-width:0;height:35px;color:var(--text);background:var(--surface);border:1.5px solid var(--text);padding:5px 9px;font-size:12px}#game .clue-compose #submit-clue{background:var(--text);color:#fff}#game .role-card[data-team=red]{background:var(--red);border:2px solid var(--text);color:var(--text);box-shadow:3px 4px 0 var(--text)}#game .role-card[data-team=blue]{background:var(--blue);border:2px solid var(--text);color:#fff;box-shadow:3px 4px 0 var(--text)}#game .role-card[data-team]>.section-label,#game .role-card[data-team] p{color:inherit}#game .role-card[data-team] strong{margin:6px 0;font-size:20px;line-height:1.4}#game .log li[data-event]{padding:12px 14px;font-size:12px;line-height:1.7}#game .log-meta{gap:8px}#game .activity-scroll{padding:2px 3px 0 0}#game .log .event-text{display:block}@media (width>=901px){#result .result-summary{overflow:visible;container-type:inline-size}#result .result-title{font-size:clamp(28px,17cqw,60px)}#result .result-line{white-space:nowrap;display:block}}@media (width<=900px){#game{min-height:0}#game .mobile-game-heading{flex-shrink:0;justify-content:space-between;align-items:center;gap:10px;height:28px;margin-bottom:9px;display:flex}#game .mobile-game-heading h1{letter-spacing:-.5px;margin:0;font-size:21px;font-weight:900;line-height:1.25}#game .mobile-game-heading>span{color:var(--text-muted);font-size:9px}#game .operation-heading h1{display:none}#game .operation-meta{color:var(--text-muted);gap:12px;font-size:11px;display:flex}#game .operation-heading{margin-bottom:20px}#game .game-exit{color:var(--text);margin:12px 0 0;padding:8px 15px;font-size:12px}#game .clue{grid-template-rows:minmax(0,1fr) 35px;column-gap:7px;height:119px;min-height:119px;margin-bottom:12px;padding:9px 10px}#game .clue-word{font-size:27px}#game .clue-word b{font-size:29px}#game .clue-actions{gap:7px}#game .live-status{font-size:10px}#game .clue-actions #end-turn{height:35px;min-height:35px;padding:5px 8px;font-size:10px}#game .clue-compose{grid-template-columns:minmax(42px,1fr) 35px 47px 62px;gap:5px}#game .clue-compose label{font-size:9px}#game .clue-compose label input[type=text],#game .clue-compose label input[type=number],#game .clue-compose #ai-assist,#game .clue-compose #submit-clue{height:36px;box-shadow:1px 2px 0 var(--text);font-size:10px;padding:5px!important}#game .log li[data-event]{padding:12px 14px}#game .role-card[data-team] strong{font-size:22px}}.share-hint a{color:var(--blue);text-underline-offset:3px;font-weight:800;text-decoration:underline}@media (width>=901px){#game .clue[data-compose=false] .clue-main{grid-column:1}#game .clue[data-compose=false] .clue-actions{flex-direction:column;grid-row:1/-1;align-self:stretch}}#game .clue[data-compose=true] .live-status{grid-column:1/-1}.rematch-dialog .dialog-actions{flex-wrap:wrap}.dialog.rematch-dialog{width:min(470px,100vw - 40px);min-width:0}@media (width<=650px){.dialog.rematch-dialog{padding:20px}.rematch-dialog h2{font-size:23px}.rematch-dialog p{font-size:12px}.rematch-dialog .dialog-actions{grid-template-columns:1fr 1fr;gap:10px;display:grid}.rematch-dialog .dialog-actions button{min-width:0;min-height:44px;padding:9px 8px;font-size:12px}.rematch-dialog .dialog-actions .plain{grid-area:2/1/auto/-1;min-height:32px}}.entry-identity{align-items:flex-end;gap:18px;display:flex}.nickname-field{flex:1;min-width:0}.entry-identity label{margin-top:0}.entry-avatar{flex-shrink:0;width:64px;height:64px;margin-bottom:1px;position:relative}.entry-avatar .avatar{border-width:2px;width:64px!important;height:64px!important}.avatar-empty{border:2px solid var(--text);background:var(--surface);border-radius:50%;place-items:center;width:64px;height:64px;font-size:25px;font-weight:900;display:grid}.avatar-refresh{border:1.5px solid var(--text);background:var(--surface);width:26px;height:26px;box-shadow:1px 2px 0 var(--text);border-radius:50%;place-items:center;padding:4px;display:grid;position:absolute;bottom:-5px;right:-5px}.avatar-refresh svg{width:100%;height:100%}.entry-divider{border-top:1px solid #20221f55;margin:26px 0 22px}.entry-options{grid-template-columns:1fr 1fr;gap:14px;display:grid}.entry-options button{min-height:48px;padding:12px 8px;font-size:14px}.entry-join{margin-top:20px}.entry-join label{margin-top:0}.learn-rules{margin-top:16px}.lobby-team{flex-direction:column;min-width:0;display:flex}.lobby-team h2{align-self:flex-start}.team-seats{flex:1}.team-footer{justify-content:flex-end;align-items:center;gap:14px;min-height:46px;margin-top:16px;display:flex}.team-footer .team-add-ai{width:auto;margin:0 auto 0 0}.team-footer .join-team{white-space:nowrap;min-height:44px;padding:10px 14px;font-size:12px}.lobby-control-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:14px;display:flex}.swap-pending{background:var(--yellow);border:1px solid var(--text);border-radius:5px;justify-content:space-between;align-items:center;gap:12px;max-width:1100px;margin:20px auto 0;padding:10px 14px;font-size:13px;display:flex}.swap-seats{align-items:center;gap:14px;margin:20px 0;display:flex}.swap-seats>div{flex:1;min-width:0}.swap-seats small{color:var(--text-muted);margin-bottom:5px;font-size:11px;display:block}.swap-seats strong{font-size:14px}.swap-seats>span{font-size:24px}.unread-count{background:var(--text);color:#fff;vertical-align:middle;border-radius:20px;justify-content:center;align-items:center;min-width:17px;height:17px;margin-left:5px;padding:0 4px;font-size:10px;font-weight:900;line-height:1;display:inline-flex}.dialog{width:min(470px,100vw - 40px);min-width:0;max-height:calc(100dvh - 40px);overflow:auto}.dialog.ai-dialog{flex-direction:column;width:min(540px,100vw - 40px);display:flex;overflow:hidden}.ai-dialog>.kicker,.ai-dialog>h2,.ai-dialog>.muted,.ai-dialog>.dialog-actions{flex-shrink:0}.ai-dialog .ai-suggestions{overscroll-behavior:contain;min-height:0;margin:18px 0 0;padding:14px 16px;overflow:auto}.ai-dialog .ai-suggestions:empty{display:none}.ai-dialog .suggestion-button{margin-top:0}.ai-dialog .ai-suggestions>div+div{border-top:1px solid #20221f44;margin-top:16px;padding-top:16px}.ai-dialog .suggestion-reason{margin:10px 0 0;font-size:13px}.rules-content ol{list-style:decimal}.rules-content ul{list-style:outside}.rules-content li::marker{color:var(--text-muted);font-weight:700}@media (width<=900px){.entry-identity{gap:14px}.entry-identity label{margin-top:0}.entry-avatar,.entry-avatar .avatar,.avatar-empty{width:54px!important;height:54px!important}.entry-options{gap:10px}.entry-options button{min-height:44px;padding:10px 5px;font-size:12px}.entry-divider{margin:22px 0 18px}.entry-join{margin-top:18px}.entry-join .form-line button{white-space:nowrap;padding:8px 10px}.learn-rules{margin-top:12px}.team-footer{gap:10px;margin-top:14px}.team-footer .team-add-ai{padding:8px;font-size:11px}.team-footer .join-team{padding:8px 12px;font-size:11px}.lobby-control-actions{gap:10px;width:100%}.lobby-control-actions button{flex:0 auto;min-width:0}.lobby-control-actions .muted{margin-right:auto;font-size:12px}.swap-pending{align-items:flex-start;font-size:12px}.swap-pending .plain{white-space:nowrap;padding:2px;font-size:11px}#game[data-pane=log] .briefing,#game[data-pane=chat] .briefing{border:0;flex-direction:column;height:100%;min-height:0;padding:0;display:flex;overflow:hidden}#game .briefing>h2,#game .briefing>.role-card,#game .briefing>.sync-state,#game .briefing .briefing-tabs{display:none}#game .briefing .activity{flex:1;min-height:0}#game .briefing .activity-scroll{padding:2px 3px 0 0}#game[data-pane=log] .briefing>.message{display:none}#game[data-pane=chat] .briefing>.message{flex-shrink:0;min-height:44px;margin-top:12px}.dialog{max-height:calc(100dvh - 40px);box-shadow:4px 5px 0 var(--text);padding:22px 20px}.dialog h2{overflow-wrap:anywhere;font-size:24px;line-height:1.4}.dialog-actions{flex-wrap:wrap;gap:10px}.dialog-actions button{min-width:0;min-height:44px;padding:10px 12px;font-size:12px}.guess-dialog .dialog-actions,.swap-dialog .dialog-actions{grid-template-columns:1fr 1fr;display:grid}.dialog.ai-dialog{padding:20px}.ai-dialog .suggestion-reason{font-size:12px}.ai-dialog .ai-suggestions{padding:12px}.swap-seats{gap:10px}.swap-seats strong{font-size:13px}}.log.chat-log li,#game .log.chat-log li{border:0;flex-direction:column;align-items:flex-start;gap:5px;margin:0;padding:8px 0;display:flex}.log.chat-log li[data-self=true],#game .log.chat-log li[data-self=true]{align-items:flex-end}.chat-author{align-items:center;gap:6px;min-width:0;max-width:100%;display:flex}.chat-author .avatar{border:1px solid var(--text);border-radius:50%;flex-shrink:0;overflow:hidden}.log.chat-log .chat-author small{overflow-wrap:anywhere;min-width:0;margin:0;font-size:11px;line-height:1.4}.chat-author time{color:var(--text-muted);flex-shrink:0;font-size:9px}.log.chat-log .chat-bubble{border:1px solid var(--border);background:var(--surface);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:2px 9px 9px;max-width:90%;padding:8px 11px;font-size:12px;line-height:1.65;display:block}.log.chat-log li[data-self=true] .chat-bubble{background:var(--yellow);border-color:var(--text);border-radius:9px 2px 9px 9px}.room-expiry-note{color:var(--text-muted);font-size:11px}.entry-create{width:100%;min-height:48px}.entry-tools{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 10px;margin-top:16px;display:flex}.entry-tools .learn-rules{margin-top:0;padding-left:0}.install-app{white-space:nowrap;padding-right:0;font-size:11px}.entry-join .form-line{align-items:stretch}.entry-join input{font-variant-numeric:tabular-nums;letter-spacing:2px}.entry-join input::placeholder{letter-spacing:0}.entry-join button{white-space:nowrap}@media (width>=901px) and (height<=800px){body[data-screen=home] #home{padding-top:16px;padding-bottom:12px}body[data-screen=home] .home-layout{min-height:calc(100dvh - 204px);padding-top:10px;padding-bottom:10px}body[data-screen=home] .home-art{padding-top:0;padding-bottom:0}body[data-screen=home] .home-art h1{margin-top:14px;margin-bottom:18px;font-size:68px}body[data-screen=home] .archive-visual{height:145px;margin-top:28px}body[data-screen=home] .entry-form{padding:26px}body[data-screen=home] .entry-form h2{margin-bottom:18px;font-size:26px}body[data-screen=home] .entry-divider{margin:20px 0 18px}body[data-screen=home] .entry-join{margin-top:16px}body[data-screen=home] .entry-tools{margin-top:12px}}.entry-tools .plain{min-height:44px}@media (width<=900px){body[data-screen=home]:has(#nickname:focus,#room-input:focus){padding-bottom:0}body[data-screen=home]:has(#nickname:focus,#room-input:focus) .navigation{display:none}}.header-actions .game-refresh{white-space:nowrap;min-width:62px;min-height:36px}@media (width<=900px){.header-actions .game-refresh{min-height:44px}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}
