.jev-dialog-overlay{position:fixed;inset:0;z-index:2000;background:#000812bf}.jev-dialog{box-sizing:border-box;position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:2001;width:min(400px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow-y:auto;padding:20px;border:1px solid #29465b;border-radius:6px;background:#0b2030;color:#e0edf4;box-shadow:0 12px 40px #0006;font:16px/1.5 system-ui,sans-serif}.jev-dialog-title{margin:0 0 10px;font-size:18px}.jev-dialog-description{margin:0 0 18px;white-space:pre-wrap;overflow-wrap:anywhere;color:#b7cbd8}.jev-dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}.jev-dialog-actions button{min-height:40px;padding:6px 16px;border:1px solid #36546a;border-radius:4px;cursor:pointer;font:inherit}.jev-dialog-cancel{background:#0b2030;color:#b7cbd8}.jev-dialog-confirm{background:#7ad4c4;color:#062029;font-weight:600}.jev-dialog-input{box-sizing:border-box;width:100%;min-height:44px;padding:8px 10px;border:1px solid #36546a;border-radius:4px;background:#071724;color:#e0edf4;font:inherit}.jev-dialog :focus-visible{outline:2px solid #7ad4c4;outline-offset:2px}:root{--ink: #e9eff5;--muted: #8ea6ba;--bg: #0a1522;--panel: #0e1e33;--field: #0a1a2e;--line: rgba(150, 186, 216, .16);--accent: #7dd8c6;--accent-ink: #06231d;--coral: #ff9b78;--gold: #e6c07d;--danger: #ff8f8f;--ok: #7dd8c6;--radius: 8px;--radius-sm: 5px;--tap: 44px;--font-body: 16px}*{box-sizing:border-box}html,body{margin:0;color:var(--ink);font-family:PingFang SC,Microsoft YaHei,sans-serif;font-size:var(--font-body);line-height:1.6;background:radial-gradient(circle at 70% 0,#17476e 0,transparent 32rem),#010b18}button,input,textarea{font:inherit}button{cursor:pointer}button:not(:disabled):focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:1px}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.btn{min-height:var(--tap);padding:8px 16px;border:1px solid var(--line);border-radius:var(--radius-sm);background:transparent;color:var(--accent);font-weight:600;transition:border-color .15s}.btn:hover:not(:disabled){border-color:#7dd8c673}.btn:disabled{opacity:.45;cursor:not-allowed}.btn-primary{color:var(--accent-ink);background:var(--accent);border-color:var(--accent)}.btn-danger{color:var(--danger);border-color:#ff8f8f66}.btn-ghost{color:var(--muted)}.field{width:100%;min-height:var(--tap);padding:8px 12px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--field);color:var(--ink)}textarea.field{min-height:88px;resize:vertical}.panel{border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);padding:16px}.muted{color:var(--muted)}.accent{color:var(--accent)}.verdict-badge{display:inline-flex;align-items:center;padding:2px 10px;border-radius:999px;border:1px solid currentColor;font-size:13px;font-weight:700}.verdict-yes{color:var(--ok)}.verdict-no{color:var(--coral)}.verdict-irrelevant{color:var(--muted)}.verdict-uncertain{color:var(--gold)}.verdict-solved{color:var(--ok)}.verdict-close{color:var(--gold)}.verdict-not_yet{color:var(--coral)}html,body{background:var(--bg)}.brand-identity{display:inline-flex;align-items:center;min-width:0;gap:8px}.brand-mark{display:block;flex:0 0 28px;border-radius:7px}a{text-decoration:none}.creation-shell{max-width:880px}.creation-editor fieldset{margin:0;padding:0;border:0;min-width:0}.creation-section,.creation-card,.creation-row,.creation-empty{margin:16px 0;padding:20px;border:1px solid rgba(115,191,220,.22);border-radius:16px;background:#09273eb3}.creation-section h2,.creation-card h2{margin:0 0 16px;font-size:20px}.creation-title{flex:1 1 auto;min-width:0;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.creation-section-title{margin:24px 4px 12px;font-size:16px;font-weight:600;color:var(--muted);letter-spacing:.04em;text-transform:uppercase}.creation-works{list-style:none;margin:0;padding:0}.creation-work{position:relative;display:flex;align-items:center;gap:12px;margin:12px 0;padding:14px 16px;border:1px solid rgba(115,191,220,.2);border-radius:12px;background:#09273e8c;transition:border-color .15s,background .15s}.creation-work:hover{border-color:#7dd8c673;background:#09273ecc}.creation-work-main{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:4px;color:inherit}.creation-work-main:after{content:"";position:absolute;inset:0;border-radius:12px}.creation-work-title{margin:0;font-size:16px;font-weight:600;line-height:1.4;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.creation-work:hover .creation-work-title{color:#9ae6bd}.creation-item-meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:12px;line-height:1.6}.creation-item-meta .dot{color:#73bfdc59;-webkit-user-select:none;user-select:none}.creation-item-pending{font-size:12px;color:#f3bf8d;line-height:1.5}.shell.creation-shell .creation-work .creation-item-btn{position:relative;z-index:1;flex:none;min-height:30px;padding:2px 12px;font-size:13px;border-radius:6px}.creation-item-btn-play{color:#9ae6bd;border-color:#9ae6bd66}.creation-item-btn-play:hover:not(:disabled){border-color:#9ae6bdb3}.mode-tab-count{margin-left:5px;font-size:12px;opacity:.65;font-variant-numeric:tabular-nums}.creation-filter-empty{margin:0;padding:16px 4px}.creation-load-error{display:flex;flex-direction:column;align-items:flex-start;gap:8px}.creation-empty-icon{width:48px;height:48px;opacity:.5}.me-card{display:flex;flex-direction:column;gap:16px;margin-top:8px;padding:20px 16px;border:1px solid rgba(115,191,220,.22);border-radius:16px;background:#09273eb3}.me-head{display:flex;align-items:center;gap:14px}.me-id{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px}.me-name{margin:0;font-size:18px;font-weight:700;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.me-email{margin:0;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.me-edit{display:flex;flex-direction:column;gap:10px}.me-edit-actions{display:flex;gap:10px}.field-help{font-size:12px;line-height:1.5}.me-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px}.me-stat{display:flex;flex-direction:column;gap:3px;padding:12px 14px;border:1px solid rgba(115,191,220,.14);border-radius:10px;background:#73bfdc0d}.me-stat-label{font-size:12px;color:var(--muted);letter-spacing:.04em}.me-stat-value{font-size:20px;font-weight:700;line-height:1.3;color:var(--ink);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.me-stat-value .me-stat-sub{font-size:13px;font-weight:600;color:var(--muted)}.me-stat-value.is-ok{color:#9ae6bd}.me-stat-value.is-expired{color:var(--muted)}.me-card-actions{display:flex;gap:10px}.me-card-actions .btn{flex:1 1 auto}.me-load-error{display:flex;flex-direction:column;align-items:flex-start;gap:8px}.me-logout{width:100%;margin-top:12px;color:var(--danger);border-color:#ff8f8f47}.me-logout:hover:not(:disabled){border-color:#ff8f8f8c}.me-section{display:flex;flex-direction:column}.me-section-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:20px 4px 10px}.me-section-title{margin:0;font-size:14px;font-weight:600;color:var(--muted);letter-spacing:.04em;text-transform:uppercase}.me-pager{display:flex;align-items:center;gap:8px}.me-pager .btn{min-height:30px;padding:2px 12px;font-size:13px}.me-pager-page{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}.me-history{list-style:none;margin:0;padding:0}.me-history-item{border-bottom:1px solid rgba(115,191,220,.12)}.me-history-item:last-child{border-bottom:0}.shell.narrow .me-history-room{display:flex;align-items:center;gap:10px;padding:12px 4px;color:inherit;text-decoration:none}.me-history-room-main{flex:1 1 auto;min-width:0;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.me-history-date{font-size:15px;font-weight:600;color:var(--ink)}.me-history-room:hover .me-history-date{color:#9ae6bd}.creation-status.me-badge-closed{color:var(--muted);background:#8ea6ba14;border-color:#8ea6ba38}.me-history-title{flex:1 1 100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;color:var(--ink)}.me-history-room:hover .me-history-title{color:#9ae6bd}.me-history-chevron{flex:none;color:#73bfdc66;font-size:18px;line-height:1}.me-history-room:hover .me-history-chevron{color:#9ae6bd}.me-round-status{flex:none;font-size:12px}.me-round-status.st-active{color:#8fc6ff}.me-round-status.st-solved{color:#9ae6bd}.me-round-status.st-revealed{color:var(--gold)}.me-round-status.st-stopped{color:var(--muted)}.me-history-empty{margin:8px 4px 0}.me-skeleton{display:flex;flex-direction:column;padding:4px 0}.me-skeleton-row{display:flex;flex-direction:column;gap:8px;padding:12px 4px;border-bottom:1px solid rgba(115,191,220,.08)}.me-skeleton-bar{height:12px;border-radius:6px;background:#73bfdc1f;animation:me-pulse 1.4s ease-in-out infinite}.me-skeleton-bar:nth-child(1){width:45%}.me-skeleton-bar:nth-child(2){width:72%}.me-skeleton-bar.me-name-skeleton{width:120px;height:16px}.me-skeleton-bar.me-email-skeleton{width:160px;height:10px}@keyframes me-pulse{0%,to{opacity:1}50%{opacity:.35}}.creation-status-dot{width:8px;height:8px;border-radius:50%;background:var(--muted);flex:none}.creation-status-dot.status-published{background:#9ae6bd}.creation-status-dot.status-changes_requested{background:#f3bf8d}.creation-status-dot.status-draft,.creation-status-dot.status-submitted,.creation-status-dot.status-checking,.creation-status-dot.status-pending_review{background:#73bfdc73}@media(max-width:480px){.creation-work{padding:12px;gap:10px}}.creation-empty{text-align:center;padding:32px 20px}.creation-empty .btn{margin-top:12px}.creation-field{display:grid;gap:8px;margin-bottom:18px}.creation-field textarea{width:100%;resize:vertical}.creation-field textarea.field-hint{min-height:32px;padding:6px 10px;line-height:1.4;resize:none}.creation-segmented{display:inline-flex;flex-wrap:wrap;gap:6px;padding:4px;border:1px solid var(--line);border-radius:10px;background:#73bfdc0a}.creation-segmented-item{appearance:none;min-height:32px;padding:4px 12px;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--muted);font-size:13px;font-weight:600;cursor:pointer;transition:background .12s,color .12s,border-color .12s}.creation-segmented-item:hover:not(.active){color:var(--ink);background:#73bfdc14}.creation-segmented-item.active{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}.creation-segmented-item:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.creation-field select.field,.creation-field input.field,.creation-field textarea.field{width:100%;max-width:100%;min-width:0;box-sizing:border-box}.creation-field select.field{text-overflow:ellipsis}.creation-required{color:#ff8a8a;margin-left:2px}.creation-field-invalid input.field,.creation-field-invalid textarea.field,.creation-field-invalid select.field{border-color:#ff8a8a;box-shadow:0 0 0 1px #ff8a8a59}.creation-field-error{color:#ff8a8a;font-size:12px;line-height:1.4}.creation-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.creation-fields>*{min-width:0}.creation-case{margin:16px 0;padding:16px;border:1px solid rgba(115,191,220,.2);border-radius:12px}.creation-check{display:flex;align-items:flex-start;gap:10px;line-height:1.7;margin:12px 0}.creation-check input{width:20px;height:20px;flex-shrink:0;margin-top:4px}.creation-license{padding:16px;border-radius:12px;background:#0a3c4eb3}.creation-actions{display:flex;flex-wrap:wrap;gap:10px;padding:16px 0}.creation-actions .btn{flex:1 1 150px;white-space:nowrap}.creation-shell .btn{min-height:44px}.creation-shell>.topbar .btn{min-height:28px;padding:2px 10px;font-size:12px;line-height:1.3;display:inline-flex;align-items:center;justify-content:center}.creation-status{display:inline-flex;align-items:center;padding:3px 10px;border-radius:999px;background:#73bfdc1f;border:1px solid rgba(115,191,220,.25);font-size:12px;font-weight:600;line-height:1.3;color:var(--ink)}.creation-status.status-published{color:#9ae6bd;background:#9ae6bd1f;border-color:#9ae6bd66}.creation-status.status-changes_requested{color:#f3bf8d;background:#f3bf8d1f;border-color:#f3bf8d66}.creation-status.status-draft,.creation-status.status-submitted,.creation-status.status-checking,.creation-status.status-pending_review{color:var(--muted)}.creation-review{border-top:1px solid rgba(115,191,220,.2);padding:14px 0}.creation-review p,.creation-error{white-space:pre-wrap;overflow-wrap:anywhere}.creation-topbar-meta{display:flex;align-items:center;gap:8px;min-width:0}.creation-version-badge{flex:none;padding:2px 8px;border:1px solid var(--line);border-radius:999px;color:var(--muted);font-size:12px;font-weight:600;font-variant-numeric:tabular-nums}.creation-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 16px}.creation-section-head h2{margin:0;font-size:20px}.creation-section-head .btn{flex:none;min-height:28px;padding:2px 10px;font-size:12px}.creation-review-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.creation-review-conclusion{font-size:14px;font-weight:700}.creation-review-conclusion.is-pass{color:#9ae6bd}.creation-review-conclusion.is-reject{color:var(--danger)}.creation-review-conclusion.is-uncertain{color:var(--gold)}.creation-review p{margin:6px 0 0;line-height:1.6}.creation-review-empty{margin:0}.creation-versions-title{margin:20px 0 10px;font-size:13px;font-weight:600;color:var(--muted);letter-spacing:.04em;text-transform:uppercase}.creation-versions{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.creation-versions li{display:flex;align-items:center;gap:10px}.creation-versions-no{flex:none;min-width:32px;color:var(--ink);font-weight:600;font-variant-numeric:tabular-nums}.creation-versions .creation-status{padding:1px 8px;font-size:11px}.creation-versions-lang{font-size:12px}.creation-attribution-note{display:flex;flex-direction:column;gap:3px;font-size:12px}.creation-attribution-note p{margin:0}.creation-editor fieldset:disabled .field{opacity:.8}@media(max-width:540px){.creation-fields{grid-template-columns:1fr;gap:0}.creation-section,.creation-card{padding:16px}}.shell{width:min(100%,480px);min-height:100dvh;margin:0 auto;padding:0 14px calc(24px + env(safe-area-inset-bottom));background:var(--bg)}.shell.narrow{width:min(100%,430px)}.shell.narrow a{color:#8fc6ff}.shell.narrow a:hover{color:#b4d8ff}.lang-switch{min-height:28px;padding:2px 10px;font-size:12px;font-weight:600;letter-spacing:.04em}@media(min-width:760px){.shell{width:min(100%,880px)}.shell.narrow{width:min(100%,460px)}}.topbar{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:56px}.brand{margin:0;font-family:Georgia,serif;font-size:20px;font-weight:700}.brand-sm{font-size:16px}.topbar-actions{display:flex;gap:6px;align-items:center}.btn-sm{min-height:36px;padding:4px 10px;font-size:14px}.btn-lg{min-height:52px;font-size:17px}.stack{display:flex;flex-direction:column;gap:12px}.stack-sm{display:flex;flex-direction:column;gap:4px}.page-loading{display:grid;place-items:center;min-height:50dvh;color:var(--muted)}.hero-card{position:relative;margin-top:8px;padding:20px 16px;border:1px solid var(--line);border-radius:var(--radius);background:radial-gradient(circle at 85% 14%,#ffe7a3 0 6%,transparent 6.3%),radial-gradient(ellipse at 85% 18%,#497fa8 0,transparent 30%),linear-gradient(150deg,#0d426d,#052747);overflow:hidden}.hero-card:after{content:"";position:absolute;right:8px;bottom:8px;width:64px;height:64px;background:url(/icon.svg) center / contain no-repeat;opacity:.22;pointer-events:none}.tagline{margin:0 0 14px;font-weight:600;letter-spacing:.4px}.entitlement-row{display:flex;align-items:center;justify-content:space-between;margin-top:12px;padding:12px 16px}.library-pagination{display:flex;flex-direction:column;align-items:center;gap:14px;margin-top:24px;padding:20px 8px;border:1px solid rgba(115,191,220,.18);border-radius:16px;background:#09273e8c}.library-pagination-summary{margin:0;color:var(--muted);font-size:13px;font-variant-numeric:tabular-nums}.library-pagination-controls,.library-page-numbers{display:flex;align-items:center;justify-content:center;gap:4px}.library-pagination-controls{gap:12px}.library-page-number,.library-page-step{flex:0 0 44px;width:44px;height:44px;padding:0;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--ink);font:inherit;font-variant-numeric:tabular-nums;cursor:pointer;transition:background .15s,border-color .15s}.library-page-step{border-color:#73bfdc38;font-size:24px}.library-page-number:hover:not(:disabled),.library-page-step:hover:not(:disabled){background:#73bfdc1f;border-color:#73bfdc59}.library-page-number[aria-current=page]{background:var(--accent);color:var(--bg);font-weight:700;opacity:1}.library-page-number:disabled:not([aria-current=page]),.library-page-step:disabled{cursor:default;opacity:.4}.library-page-number:focus-visible,.library-page-step:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.library-page-ellipsis{width:24px;text-align:center;color:var(--muted)}.puzzle-grid.is-page-loading{opacity:.5}@media(max-width:559px){.library-pagination-controls{flex-wrap:wrap;width:100%}.library-page-numbers{order:-1;flex-wrap:wrap;width:100%;gap:2px}}.puzzle-grid{display:grid;gap:12px}@media(min-width:760px){.puzzle-grid{grid-template-columns:1fr 1fr}}.puzzle-card{display:flex;flex-direction:column;gap:10px}.puzzle-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.puzzle-card h2{margin:0;font-size:17px;min-width:0}.puzzle-played,.puzzle-card-category,.puzzle-card-difficulty{display:inline-block;flex:none;border-radius:5px;padding:2px 7px;font-size:12px;font-weight:700;line-height:1.3;background:var(--panel);border:1px solid var(--line)}.puzzle-played{border-color:#eb9f52;color:#ffc078}.puzzle-card-category{border-color:#5f93d6;color:#8fc6ff}.puzzle-surface{margin:0;color:#dce8f2;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.puzzle-card-footer{display:grid;gap:10px;margin-top:auto}.puzzle-card-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}.puzzle-card-author{display:block;flex:1 1 auto;min-width:0;max-width:22ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}.puzzle-card-votes{display:flex;flex:none;gap:12px;color:#b9cad8;font-variant-numeric:tabular-nums}.puzzle-card-votes>span{width:58px;text-align:left;white-space:nowrap}.puzzle-card-actions{display:flex;justify-content:flex-end;gap:6px}.puzzle-card-actions .btn{min-width:0;min-height:28px;padding:2px 8px;font-size:12px}.game-topbar{display:grid;grid-template-columns:minmax(84px,1fr) minmax(0,4fr) minmax(84px,1fr);gap:4px}.game-topbar .brand{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center}.game-topbar-back,.game-topbar-action{display:flex;min-width:0}.game-topbar-action{justify-content:flex-end}.game-topbar .btn{padding-inline:6px;font-size:13px;white-space:nowrap}.story-card{flex:0 1 auto;min-height:0;max-height:min(30dvh,220px);margin-top:8px;padding:12px;border:1px solid var(--line);background:url(/assets/story-sea-nz2JVmVu.jpg) center 45% / cover;overflow-y:auto;overscroll-behavior:contain}.story-card .story{margin:0;line-height:1.5}.story-card>.accent{margin:0 0 3px;font-size:12px}.game-scroll{scrollbar-width:thin;scrollbar-color:rgba(150,186,216,.35) transparent}.game-scroll::-webkit-scrollbar{width:4px;height:4px}.game-scroll::-webkit-scrollbar-track{background:transparent}.game-scroll::-webkit-scrollbar-thumb{background:#96bad859;border-radius:2px}.chat{display:flex;flex-direction:column;gap:10px;padding:10px 0;min-height:24vh}.turn{display:flex;flex-direction:column;gap:4px;max-width:88%}.large-model-toggle{display:flex;align-items:center;gap:8px;min-height:44px;font-size:14px;color:var(--muted)}.large-model-toggle input{width:18px;height:18px;margin:0;accent-color:var(--accent)}.turn-ask{align-self:flex-end;align-items:flex-end}.turn .turn-text{margin:0;padding:5px 8px;border-radius:4px;background:var(--panel);border:1px solid var(--line);line-height:1.4;overflow-wrap:anywhere}.turn-ask .turn-text{color:var(--accent-ink);background:var(--accent);border-color:var(--accent);font-weight:500}.turn-status{font-size:13px;margin:0}.turn-result{margin:0;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.hint-capsule{width:100%;margin:4px 0;padding:7px 10px;border:1px solid rgba(230,192,125,.4);border-radius:0;background:#162b39;color:var(--gold)}.hint-capsule-head{display:flex;align-items:center;justify-content:space-between;gap:8px;height:18px;font-size:13px;line-height:18px}.hint-capsule-head strong{display:inline-flex;align-items:center;gap:4px}.hint-icon{font-size:12px;line-height:1}.hint-capsule-nav{display:flex;gap:4px}.hint-capsule-head .btn{min-width:30px;min-height:18px;height:18px;padding:0 6px;border-radius:0;font-size:13px;line-height:16px}.hint-capsule-head .btn:focus-visible{outline-offset:-2px}.hint-capsule p{margin:3px 0 0;line-height:1.45;font-size:13px;overflow-wrap:anywhere}.confidence{color:var(--muted);font-size:12px}.turn-solve{align-self:flex-end;align-items:flex-end}.hint-float{align-self:flex-start;max-width:88%;padding:8px 12px;border:1px solid rgba(230,192,125,.4);border-radius:2px 10px 10px;background:#e6c07d14;color:var(--gold);font-size:14px}.hint-float p{margin:0 0 4px}.solo-shell{display:flex;flex-direction:column;height:100dvh;min-height:0;overflow:hidden;padding-bottom:max(8px,env(safe-area-inset-bottom))}.solo-shell .topbar{flex:none;min-height:52px}.solo-shell .btn,.solo-shell .field,.solo-shell .panel,.solo-shell .hero-card{border-radius:0}.solo-chat{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;gap:10px;padding:10px 0}.solo-chat .panel{border-radius:4px;padding:10px}.solo-chat .panel p{margin:4px 0}.solo-bottom{flex:none;max-height:48dvh;overflow-y:auto;overscroll-behavior:contain}.solo-bottom>.error-text{margin:3px 0;font-size:13px}.solo-action-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:4px 0}.solo-action-row .btn{min-width:0;min-height:38px;padding:4px 2px;border-radius:3px;font-size:13px;line-height:1.2}.solo-action-row .btn:first-child{color:var(--gold);border-color:#e6c07d80}.solo-action-row .btn:nth-child(2){color:var(--coral);border-color:#ff9b7880}.solo-action-row .btn:last-child{color:#a9c8ec;border-color:#a9c8ec80}.solo-action-row .btn[aria-pressed=true]{background:#ff9b7826}.solo-composer{position:static;padding:4px 0 0;background:none}.composer{position:sticky;bottom:0;z-index:3;padding:12px 0 max(8px,env(safe-area-inset-bottom));background:linear-gradient(180deg,transparent,#03152b 30%)}.composer-row{display:flex;gap:5px;align-items:stretch}textarea.composer-input,.composer .composer-input{flex:1;min-width:0;min-height:44px;height:44px;padding:8px 10px;resize:none;border-radius:3px;line-height:1.35}.composer-row .btn{min-height:44px;padding:4px 12px;border-radius:3px}.turn-result .verdict-badge{padding:1px 6px;border-radius:4px;line-height:1.3}.composer-input:focus-visible{outline-offset:-2px;border-color:var(--accent)}.hint-row{display:flex;flex-wrap:wrap;gap:8px;padding:8px 0}.mode-tabs{display:flex;gap:4px;padding:2px;border:1px solid var(--line);border-radius:4px;background:var(--field);margin-bottom:5px}.mode-tab{flex:1;min-height:30px;padding:3px 6px;line-height:1.3;border:0;border-radius:3px;background:transparent;color:var(--muted);font-weight:600}.mode-tab.active{color:var(--accent-ink);background:var(--accent)}.room-shell{display:flex;flex-direction:column;position:relative}.room-management{position:absolute;top:56px;right:14px;width:min(260px,calc(50% - 14px));max-height:50dvh;overflow-y:auto;padding:10px 12px!important;gap:8px!important;z-index:4;box-shadow:0 6px 24px #00000073;background:#09273ef5;border-radius:12px}.room-management>h2{margin:0;font-size:13px;color:var(--muted)}.room-playing{height:100dvh;min-height:0;overflow:hidden;padding-bottom:max(8px,env(safe-area-inset-bottom))}.room-playing>*{flex-shrink:0}.room-playing>.chat{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain}.room-playing>.chat>*{flex-shrink:0}.room-playing>.composer{position:static;padding:4px 0 0;background:var(--bg)}.room-playing>.hint-row{padding:4px 0 0}.room-playing>.story-card{max-height:20dvh}.room-closed-bar{position:sticky;bottom:0;z-index:3;display:flex;flex-wrap:wrap;gap:10px;padding:12px 0 max(8px,env(safe-area-inset-bottom));background:linear-gradient(180deg,transparent,#03152b 30%)}.room-closed-bar .btn{flex:1 1 120px;white-space:nowrap}.offline-banner{position:sticky;top:0;z-index:5;margin:0;padding:6px 12px;border:1px solid rgba(230,192,125,.5);border-radius:var(--radius-sm);background:#e6c07d1f;color:var(--gold);font-size:14px;text-align:center}.member-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}.member-row{display:flex;align-items:center;gap:8px;min-height:28px;padding:2px 0}.member-name{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.member-actions{margin-left:auto;display:flex;gap:4px;flex:none}.member-actions .btn{min-height:22px;padding:0 6px;font-size:11px}.presence-dot{width:8px;height:8px;border-radius:50%;background:var(--muted);opacity:.4;flex:none}.presence-dot.online{background:var(--ok);opacity:1}.room-management .hint-row{gap:6px;padding:4px 0 0}.room-management .hint-row .btn{min-height:28px;padding:2px 8px;font-size:12px}.verdict-panel,.answer-panel{margin:12px 0}.member-name-self{color:#ffc078}.puzzle-selection{display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:left;text-decoration:none}.puzzle-selection strong{color:var(--ink);overflow-wrap:anywhere}.puzzle-selection small{color:var(--muted);font-size:13px}.error-text{color:var(--danger);font-size:14px}.divider{display:flex;align-items:center;gap:10px}.divider:before,.divider:after{content:"";flex:1;height:1px;background:var(--line)}.field-label{display:flex;flex-direction:column;gap:6px;font-size:14px;color:var(--muted)}.puzzle-card-difficulty{color:var(--muted)}.puzzle-card-difficulty-easy{border-color:#5cc78a;color:#5cc78a}.puzzle-card-difficulty-medium{border-color:#d0a648;color:#d0a648}.puzzle-card-difficulty-hard{border-color:#d96363;color:#d96363}.puzzle-card-badges{display:flex;align-items:center;gap:6px;flex:none}
