.phone-page{max-width:1160px;margin:auto}.phone-page .eyebrow{font-size:10px;letter-spacing:1.8px;color:var(--accent);margin:0 0 12px}.phone-back{display:inline-flex;align-items:center;gap:8px;color:var(--muted);padding:0;min-height:44px;margin-bottom:20px;font-size:13px}.phone-back svg{width:17px}.phone-page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px}.phone-page-heading h1{font-size:34px;line-height:1.15;letter-spacing:-1px;margin:0 0 12px;font-weight:700}.phone-page-heading p.muted{font-size:14px;margin:0}.phone-heading-doodle{display:flex;gap:10px;color:var(--accent);padding:15px 18px;border:1px dashed var(--accent-border);border-radius:18px;transform:rotate(-5deg);flex-shrink:0}.phone-heading-doodle svg:nth-child(2){transform:rotate(20deg)}.phone-panel{background:var(--surface);border:1px solid var(--border);border-radius:18px;padding:28px;min-width:0}.phone-panel h2{font-size:23px;line-height:1.25;letter-spacing:-.5px;margin:0 0 16px}.phone-panel>p{font-size:14px;line-height:1.7;color:var(--muted)}.phone-start-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:22px;margin-bottom:22px}.phone-create{padding:32px}.phone-create form{margin-top:28px}.phone-create label:not(.phone-check),.phone-field-label{display:block;font-size:13px;color:var(--text);margin:0 0 10px}.phone-create input:not([type=checkbox]){width:100%;min-height:48px;padding:12px 14px;font-size:15px}.phone-check{display:flex;gap:10px;align-items:center;font-size:13px;color:var(--muted);margin:18px 0}.phone-check input{width:18px;height:18px;accent-color:var(--accent)}.phone-page .btn{display:inline-flex;gap:10px;align-items:center;justify-content:center;min-height:46px;margin:0;padding:13px 18px;font-size:14px;border-radius:10px}.phone-page .btn svg{width:18px;height:18px}.phone-how ol{list-style:none;padding:0;margin:20px 0 26px;display:grid;gap:23px}.phone-how li{display:flex;gap:14px;align-items:flex-start}.phone-how li>svg{color:var(--accent);background:var(--accent-bg);box-sizing:content-box;padding:10px;border-radius:12px;width:20px;height:20px;flex-shrink:0}.phone-how li div{display:grid;gap:6px}.phone-how li strong{font-size:14px;font-weight:600}.phone-how li span{font-size:13px;color:var(--muted);line-height:1.5}.phone-meta{font-size:12px;color:var(--muted);display:block;padding-top:18px;border-top:1px solid var(--border)}.phone-section-heading,.phone-reveal-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.phone-section-heading h2,.phone-reveal-heading h2{margin:0}.phone-tool{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:10px;border:1px solid transparent;border-radius:10px;color:var(--muted);flex-shrink:0}.phone-tool:hover,.phone-brushes button:hover{background:var(--raised)}.phone-tool[aria-pressed=true]{background:var(--accent-bg);color:var(--accent);border-color:var(--accent-border)}.phone-tool:disabled{opacity:.35}.phone-empty{display:grid;justify-items:center;text-align:center;padding:34px 20px 14px;color:var(--muted)}.phone-empty>svg{width:32px;height:32px;margin-bottom:8px}.phone-empty p{font-size:14px;max-width:340px;line-height:1.6}.phone-room-list{margin-top:20px}.phone-room-list>div{display:flex;justify-content:space-between;gap:16px;padding:18px 0;border-top:1px solid var(--border);align-items:center}.phone-room-list>div>div{display:grid;gap:7px;min-width:0}.phone-room-list strong{font-size:15px}.phone-room-list span{font-size:12px;color:var(--muted)}.phone-notice{padding:16px 20px;background:var(--accent-bg);border:1px solid var(--accent-border);border-radius:12px;margin:0 0 20px;display:flex;align-items:center;gap:16px;justify-content:space-between}.phone-notice p{font-size:14px;line-height:1.6;margin:0}.phone-loading{display:flex;align-items:center;justify-content:center;gap:12px;padding:70px 20px;color:var(--muted)}.phone-spin{animation:phone-spin 1.2s linear infinite}@keyframes phone-spin{to{transform:rotate(360deg)}}.phone-room-bar{display:flex;align-items:center;gap:18px;margin:0 0 20px;border:1px solid var(--border);border-radius:14px;padding:12px 16px;background:var(--surface)}.phone-room-bar>div{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;flex:1;min-width:0}.phone-room-bar strong{font-size:15px}.phone-room-bar>div>span{color:var(--muted);font-size:12px}.phone-room-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:22px;align-items:start}.phone-room-main{min-width:0}.phone-participants h2{font-size:15px;letter-spacing:0;margin:0 0 22px}.phone-participants{padding:24px 20px}.phone-participants ul{padding:0;list-style:none;display:grid;gap:18px;margin:0 0 25px}.phone-participants li{display:flex;gap:12px;align-items:center;min-width:0}.phone-avatar{width:34px;height:34px;display:grid;place-items:center;flex-shrink:0;border-radius:50%;color:var(--accent);background:var(--accent-bg);font-size:14px;font-weight:700}.phone-avatar.is-left{opacity:.4}.phone-participants li>div{display:grid;gap:5px;flex:1;min-width:0}.phone-participants li strong{font-size:13px;font-weight:500}.phone-participants li>svg{color:var(--accent);width:16px;height:16px}.phone-participants li>div>span{font-size:11px;color:var(--muted)}.phone-participants>p{font-size:12px;padding-top:20px;border-top:1px solid var(--border)}.phone-text-button{display:block;padding:12px 0;min-height:44px;font-size:12px;color:var(--muted);text-decoration:underline;text-underline-offset:4px;text-align:left}.phone-danger{color:#e78e96}.phone-lobby{padding:42px 32px}.phone-round-icon{display:grid;place-items:center;width:56px;height:56px;border-radius:18px;background:var(--accent-bg);color:var(--accent);margin-bottom:26px}.phone-round-icon svg{width:26px;height:26px}.phone-lobby h2{font-size:28px}.phone-invite{display:flex;gap:10px;align-items:center;margin:28px 0 10px;padding:6px 8px 6px 14px;border:1px solid var(--border);border-radius:12px;background:var(--bg)}.phone-invite>svg{width:18px;color:var(--accent)}.phone-invite>span{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;color:var(--muted);min-width:0}.phone-lobby .btn{margin-top:14px}.phone-timer{font-size:14px;font-variant-numeric:tabular-nums;color:var(--muted);display:inline-flex;align-items:center;gap:7px;white-space:nowrap}.phone-timer svg{width:17px}.phone-timer.is-short{color:#ef9195}.phone-turn{padding:26px}.phone-turn-heading{display:flex;justify-content:space-between;gap:12px}.phone-turn-heading>svg{width:25px;height:25px;color:var(--accent);margin-top:10px}.phone-turn-heading h2{font-size:24px}.phone-prompt{margin:8px 0 26px}.phone-prompt blockquote{padding:18px 20px;border:1px solid var(--accent-border);border-radius:12px;margin:0;background:var(--accent-bg);font-size:21px;line-height:1.5;font-weight:500}.phone-canvas{display:block;width:100%;height:auto;aspect-ratio:1000/650;background:#fff;border:1px solid var(--border);border-radius:12px}.phone-edit-canvas{touch-action:none;cursor:crosshair}.phone-picture{max-width:680px;margin:auto}.phone-prompt .phone-picture{max-width:500px}.phone-turn textarea{display:block;padding:16px;min-height:140px;line-height:1.6;resize:vertical;font-size:16px}.phone-letter-count{display:block;text-align:right;font-size:11px;color:var(--muted);margin-top:8px}.phone-editor-footer{display:flex;justify-content:space-between;gap:12px;margin-top:24px;flex-wrap:wrap}.phone-draw-tools{display:flex;flex-wrap:wrap;gap:5px;align-items:center;margin:0 0 12px}.phone-colors{display:flex;flex-wrap:wrap}.phone-color{width:38px;height:44px;border:1px solid transparent;border-radius:10px;padding:8px}.phone-color span{display:block;width:22px;height:22px;border-radius:50%;border:1px solid #ffffff30}.phone-color[aria-pressed=true]{background:var(--raised);border-color:var(--accent)}.phone-color.color-0 span{background:#191923}.phone-color.color-1 span{background:#aaa0ff}.phone-color.color-2 span{background:#ef6b73}.phone-color.color-3 span{background:#f5bd53}.phone-color.color-4 span{background:#60c59d}.phone-color.color-5 span{background:#67a9f8}.phone-color.color-6 span{background:#d983d5}.phone-color.color-7 span{background:#fff;border-color:#777}.phone-brushes{display:flex;border-left:1px solid var(--border);padding-left:8px;margin-left:4px}.phone-brushes button{display:grid;place-items:center;min-width:38px;height:44px;border:1px solid transparent;border-radius:9px}.phone-brushes button[aria-pressed=true]{border-color:var(--accent-border);background:var(--accent-bg);color:var(--accent)}.phone-brushes span{display:block;border-radius:50%;background:currentColor}.phone-brushes .brush-3{width:4px;height:4px}.phone-brushes .brush-6{width:7px;height:7px}.phone-brushes .brush-12{width:11px;height:11px}.phone-brushes .brush-24{width:17px;height:17px}.phone-canvas-hint{font-size:12px;color:var(--muted);line-height:1.6;margin:10px 0 0}.phone-warning{font-size:13px;color:var(--accent)}.phone-waiting{text-align:center;padding:45px 28px}.phone-waiting>.phone-round-icon{margin:0 auto 25px}.phone-waiting h2{font-size:28px}.phone-wait-preview{margin:25px auto;max-width:400px}.phone-wait-preview>p{background:var(--accent-bg);border-radius:12px;padding:18px;font-size:20px}.phone-join{max-width:680px;padding:36px}.phone-join>svg{color:var(--accent);width:32px;height:32px;margin-bottom:24px}.phone-join p{margin-bottom:24px}.phone-reveal-heading>span{font-size:12px;color:var(--muted)}.phone-books{display:flex;flex-wrap:wrap;gap:8px;margin:25px 0}.phone-books button{min-height:44px;padding:10px 13px;border:1px solid var(--border);border-radius:9px;color:var(--muted);font-size:12px}.phone-books button.is-selected{background:var(--accent-bg);border-color:var(--accent-border);color:var(--accent)}.phone-story{display:grid;gap:25px}.phone-story-step{position:relative;padding-left:22px;border-left:2px solid var(--accent-border)}.phone-story-step:before{content:"";position:absolute;left:-5px;top:7px;width:8px;height:8px;border-radius:50%;background:var(--accent)}.phone-step-author{display:flex;align-items:center;gap:8px;margin-bottom:14px;font-size:12px;flex-wrap:wrap}.phone-step-author svg{color:var(--accent);width:15px;height:15px}.phone-step-author span{color:var(--muted)}.phone-story-text{padding:18px;border-radius:12px;border:1px solid var(--border);background:var(--bg);line-height:1.5;font-size:20px;margin:0}.phone-skipped{color:var(--muted);font-size:14px;font-style:italic}.phone-reveal-footer{display:flex;justify-content:flex-end;margin-top:28px;padding-top:22px;border-top:1px solid var(--border)}.phone-reveal-footer p{font-size:13px;color:var(--muted)}.phone-game-card .phone-card-art{display:flex;justify-content:center;align-items:center;gap:20px;height:110px;margin:-4px 0 24px;border-radius:12px;background:var(--accent-bg);color:var(--accent)}.phone-card-art>svg{width:30px;height:30px}.phone-card-art>svg:nth-child(2){width:18px;height:18px;opacity:.6}.phone-game-card .phone-card-meta{font-size:12px;color:var(--muted);margin:0 0 20px}.phone-game-card .btn{display:inline-flex;gap:9px;align-items:center}@media(max-width:1100px){.phone-room-layout{grid-template-columns:minmax(0,1fr)}.phone-participants ul{grid-template-columns:repeat(3,minmax(0,1fr))}.phone-participants{padding:22px}.phone-start-layout{gap:18px}.phone-create{padding:26px}.phone-heading-doodle{display:none}}@media(max-width:760px){.phone-page-heading{margin-bottom:24px}.phone-page-heading h1{font-size:29px}.phone-back{margin-bottom:16px}.phone-start-layout{grid-template-columns:minmax(0,1fr);gap:16px;margin-bottom:16px}.phone-panel{padding:22px;border-radius:16px}.phone-panel h2{font-size:22px}.phone-create form{margin-top:22px}.phone-room-layout{gap:16px}.phone-room-bar{padding:10px 12px;gap:10px}.phone-room-bar>div{display:grid;gap:5px}.phone-room-bar strong{font-size:13px}.phone-timer{font-size:12px;gap:5px}.phone-turn{padding:18px}.phone-prompt blockquote{font-size:19px;padding:15px}.phone-editor-footer{gap:8px;margin-top:20px}.phone-editor-footer .btn{padding:12px 13px;flex:1;font-size:12px;gap:6px}.phone-color{width:36px;padding:7px}.phone-brushes{border-left:0;padding-left:0;margin:0}.phone-participants ul{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 12px}.phone-participants li{gap:9px}.phone-avatar{width:30px;height:30px}.phone-participants li strong{font-size:12px}.phone-notice,.phone-room-list>div{align-items:flex-start;flex-direction:column}.phone-room-list .btn{width:100%}.phone-story-step{padding-left:16px}.phone-story-text{font-size:18px;padding:14px}.phone-reveal{padding:20px}.phone-reveal-footer .btn{width:100%}.phone-books{gap:6px}.phone-books button{font-size:11px;padding:9px 10px}.phone-waiting{padding:32px 22px}.phone-lobby{padding:28px 22px}}@media(prefers-reduced-motion:reduce){.phone-spin{animation:none}}.phone-story-text,.phone-prompt blockquote,.phone-room-bar strong,.phone-room-list strong,.phone-participants strong,.phone-books button,.phone-wait-preview>p{overflow-wrap:anywhere}@media(max-width:760px){.phone-editor-footer .btn:first-child{flex:0 0 auto;white-space:nowrap}}:root{color-scheme:dark;font:16px system-ui,sans-serif;--bg:#15131b;--surface:#211e2a;--raised:#292536;--border:#3b354a;--text:#f0edf4;--muted:#c1b9cd;--accent:#c6abff;--accent-bg:#392961;--accent-border:#685182;color:var(--text);background:var(--bg)}:root[data-theme=light]{color-scheme:light;--bg:#f4f5f8;--surface:#fff;--raised:#eceef4;--border:#d7d9e6;--text:#20212d;--muted:#53576b;--accent:#6150bc;--accent-bg:#eeeafb;--accent-border:#c8bfe6}*,*:before,*:after{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.65;cursor:default}h1,h2,p{overflow-wrap:anywhere}a{color:var(--accent)}.game-dev{display:flex;justify-content:flex-end;align-items:center;gap:.75rem;max-width:72rem;margin:auto;padding:1rem 1.5rem}.portal-page{max-width:72rem;margin:auto;padding:1.5rem}[data-embedded] .portal-page{max-width:none;padding:0}.phone-panel{padding:1.25rem}.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.65rem .9rem;border:1px solid var(--accent-border);border-radius:.6rem;color:var(--text);background:var(--accent-bg)}.btn.secondary{background:var(--surface)}.muted{color:var(--muted)}.eyebrow{color:var(--accent);font-size:.75rem;letter-spacing:.1em}.phone-confirmation{max-width:min(28rem,calc(100% - 2rem));border:1px solid var(--border);border-radius:.75rem;color:var(--text);background:var(--surface)}.phone-confirmation .btn+.btn{margin-left:.5rem}.phone-invite-url{flex:1;min-width:0;border:0;color:inherit;background:transparent}
