:root{color:#1d2733;--bg-cream:#f6efe3;--bg-sand:#eadfce;--card:#fffbf5f0;--stroke:#bcac948c;--ink:#1d2733;--muted:#617282;--accent:#c75b39;--accent-strong:#a84528;--accent-soft:#f4c7ac;--success:#b8edc2;--highlight:#ffe8b8;background:#f6efe3;font-family:Avenir Next,Segoe UI,Trebuchet MS,sans-serif;font-weight:400;line-height:1.45}*{box-sizing:border-box}body{overscroll-behavior:none;background:radial-gradient(circle at top left, #ffe9b1bf 0%, transparent 30%), radial-gradient(circle at top right, #f4c7acbf 0%, transparent 32%), linear-gradient(180deg, var(--bg-cream) 0%, var(--bg-sand) 100%);min-width:320px;min-height:100vh;margin:0}button,input{font:inherit}input{border:1px solid var(--stroke);width:100%;color:var(--ink);background:#fff;border-radius:14px;padding:12px 14px}.app-shell{min-height:100vh;position:relative}.app-container{z-index:1;max-width:1100px;margin:0 auto;padding:24px;position:relative}.top-bar{justify-content:space-between;align-items:flex-start;gap:16px;min-height:64px;margin-bottom:24px;display:flex}.top-bar-actions{flex-wrap:wrap;justify-content:flex-end;gap:12px;display:flex}.centered-choice-row{justify-content:center}.top-bar h1{letter-spacing:-.04em;margin:0;font-size:clamp(2.4rem,5vw,4.2rem)}.subtitle{color:var(--muted);max-width:34rem;margin:6px 0 0}.card{background:var(--card);border:1px solid var(--stroke);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:28px;margin-bottom:20px;padding:24px;animation:.22s fadeUp;box-shadow:0 18px 44px #512e1417}.card h2{margin:0 0 14px;font-size:clamp(2rem,3.6vw,2.8rem);line-height:1.12}.card h3{margin:0 0 12px;font-size:clamp(1.45rem,2.6vw,2rem);line-height:1.18}.card p,.card label,.card input,.card button{font-size:1.18rem}.game-card{flex-direction:column;display:flex}.game-card-body{flex-direction:column;flex:auto;justify-content:flex-start;display:flex}.game-card-body-center{justify-content:center}.game-card-service,.game-card-main,.game-card-support{text-align:center;flex-direction:column;align-items:center;width:100%;display:flex}.game-card-service{justify-content:flex-start;min-height:32px}.game-card-main{flex:auto;justify-content:center;gap:10px}.game-card-main-compact{flex:none}.game-card-support{justify-content:flex-start;gap:8px;min-height:92px}.game-card-support-wide p{max-width:28ch}.game-card-primary-text{color:#17324f;margin:0;font-size:clamp(2rem,4vw,2.7rem);font-weight:800;line-height:1.18}.focus-card{color:#17324f}.focus-card-body{text-align:center;align-items:center}.focus-card h2{color:#15324f;font-size:clamp(2.4rem,4.4vw,3.2rem)}.focus-card h3{color:#17324f;font-size:clamp(1.9rem,3.2vw,2.5rem)}.focus-card p{color:#1e3e63;max-width:22ch}.game-card-footer{margin-top:auto;padding-top:20px}.game-card-footer-spacer{min-height:84px}.hero-card{text-align:center;background:linear-gradient(135deg, #ffe8b8b3, #fffbf5f0 42%), var(--card);padding:56px 24px}.hero-image{margin-bottom:16px;font-size:88px}.form-block{margin-bottom:20px}.form-block label{margin-bottom:10px;font-weight:700;display:block}.player-count-stepper{grid-template-columns:72px 1fr 72px;align-items:center;gap:12px;display:grid}.player-count-button{color:#17365d;background:linear-gradient(#fff 0%,#f3f7fc 100%);border:1px solid #2f5f962e;border-radius:20px;justify-content:center;align-items:center;min-height:72px;font-size:2rem;font-weight:800;display:flex;box-shadow:0 14px 34px #2f5f961f}.player-count-button:disabled{opacity:.45;box-shadow:none}.player-count-value{border:1px solid var(--stroke);min-height:72px;color:var(--ink);background:#fff;border-radius:20px;justify-content:center;align-items:center;font-size:2rem;font-weight:800;display:flex}.players-grid,.score-grid,.voters-grid,.option-grid{gap:12px;display:grid}.players-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.score-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}.voters-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));margin:20px 0}.option-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-top:14px}.choice-row{flex-wrap:wrap;gap:12px;display:flex}.dual-action-row{grid-template-columns:1fr 1fr;gap:12px;display:grid}.choice-button,.primary-button,.ghost-button,.voter-card,.option-card{cursor:pointer;border:none;border-radius:18px;transition:all .2s}.choice-button{background:#efe7da;padding:12px 16px}.choice-button.active{background:var(--highlight)}.primary-button{background:linear-gradient(135deg, var(--accent), var(--accent-strong));color:#fff;padding:16px 22px;font-weight:700}.primary-button:hover{transform:translateY(-1px);box-shadow:0 12px 24px #a7452838}.large-button{width:100%;min-height:64px;margin-top:12px}.ghost-button{border:1px solid var(--stroke);background:#ffffffb3;padding:12px 16px}.settings-trigger{justify-content:center;align-items:center;min-width:52px;padding:12px;display:inline-flex}.settings-trigger-icon{font-size:1.3rem;line-height:1}.modal-close-button{border-radius:14px;flex:none;justify-content:center;align-self:flex-start;align-items:center;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;font-size:1.6rem;font-weight:500;line-height:1;display:inline-flex}.help-overlay{z-index:20;background:radial-gradient(circle at 0 0,#ffe9b138 0%,#0000 26%),linear-gradient(#f6efe3fa,#eadfcefa);padding:0;display:block;position:fixed;inset:0;overflow:auto}.settings-screen{background:radial-gradient(circle at 0 0,#ffe9b138 0%,#0000 26%),linear-gradient(#f6efe3fa,#eadfcefa);justify-content:stretch;align-items:stretch;padding:0}.settings-screen-content{width:100%;min-height:100dvh;padding:24px;position:relative;overflow:auto}.help-screen-content{width:100%;min-height:100dvh;padding:24px;position:relative;overflow:visible}.help-screen-content>*+*{margin-top:24px}.help-header{justify-content:space-between;align-items:flex-start;gap:16px;padding-right:64px;display:flex}.help-close-button{z-index:2;position:absolute;top:20px;right:20px}.help-nav{align-items:center;margin:18px 0 28px;display:block}.help-intro-section{margin-bottom:36px}.help-rules-list{gap:12px;margin:16px 0 0;padding-left:22px;display:grid}.help-rules-item{padding-left:6px;line-height:1.45}.help-progress{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.help-progress-dot{appearance:none;text-align:center;border:1px solid var(--stroke);color:var(--muted);cursor:pointer;background:#ffffffb3;border-radius:999px;padding:10px 12px;font-weight:700}.help-progress-dot.active{background:var(--highlight);color:var(--ink)}.help-section{margin-bottom:0}.settings-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:18px;display:grid}.settings-item{border:1px solid var(--stroke);background:#faf7f1;border-radius:18px;padding:18px}.settings-label{color:var(--muted);margin-bottom:8px;font-size:.9rem}.settings-value{font-size:1.05rem;font-weight:800}.settings-actions{flex-wrap:wrap;gap:16px;margin:8px 0 4px;display:flex}.score-table-block{margin-top:8px}.score-table-block h3{margin-top:0}.settings-close-button{z-index:2;position:absolute;top:20px;right:20px}.settings-screen .help-header{padding-right:64px}.help-list{gap:10px;margin-top:14px;display:grid}.help-list-item{border:1px solid var(--stroke);background:#faf7f1;border-radius:16px;padding:14px 16px}.help-example{border:1px solid var(--stroke);border-radius:20px;margin-top:14px;padding:16px 18px}.help-example-good{background:#b8edc26b}.help-example-bad{background:#fde8d5b3}.help-example-title{margin-bottom:8px;font-weight:800}.status-strip{flex-wrap:wrap;gap:12px;margin-bottom:20px;display:flex}.status-pill{border:1px solid var(--stroke);background:#fffc;border-radius:999px;padding:10px 14px;font-weight:600}.score-card{text-align:center;border:1px solid var(--stroke);background:#f8f5ef;border-radius:20px;padding:16px}.score-card.active{outline:3px solid var(--accent-soft)}.score-name{margin-bottom:8px;font-weight:700}.score-value{font-size:28px;font-weight:800}.reveal-card{text-align:center}.reveal-summary-card .big-emoji{margin:8px 0;font-size:68px}.reveal-summary-body{gap:4px}.reveal-summary-title,.reveal-summary-label{margin-bottom:4px}.reveal-summary-text,.reveal-summary-muted{margin:0}.reveal-summary-text{font-size:1.18rem;line-height:1.32}.reveal-summary-muted{font-size:1rem;line-height:1.28}.reveal-summary-situation{font-size:1.45rem;line-height:1.3}.reveal-summary-card .separator{margin:10px 0}.reveal-summary-footer{padding-top:12px}.big-emoji{margin:12px 0;font-size:82px}.situation-text,.story-prompt{font-size:30px;font-weight:600;line-height:1.5}.thinking-prompt{max-width:18ch;margin:0 auto;font-size:clamp(2rem,3.8vw,2.6rem);font-weight:700;line-height:1.4}.focus-card .situation-text{font-size:clamp(2.1rem,4vw,2.9rem);line-height:1.4}.timer-card{text-align:center}.timer-circle{background:linear-gradient(135deg, var(--accent), var(--accent-strong));color:#fff;border-radius:50%;justify-content:center;align-items:center;width:180px;height:180px;margin:20px auto;font-size:72px;font-weight:800;display:flex}.voter-card{border:1px solid var(--stroke);background:#fff;min-height:72px;padding:14px;font-weight:700}.voter-card.selected{background:#fde8d5}.voter-card.completed{background:var(--success)}.vote-panel{border:1px solid var(--stroke);background:#faf7f1;border-radius:20px;margin-top:20px;padding:18px}.role-dropdown,.setup-dropdown{gap:12px;display:grid}.role-dropdown-trigger{color:#17365d;text-align:left;background:linear-gradient(#fff 0%,#f3f7fc 100%);border:1px solid #2f5f962e;border-radius:20px;justify-content:space-between;align-items:center;gap:16px;width:100%;min-height:74px;padding:18px 20px;font-size:1.18rem;font-weight:800;display:flex;box-shadow:0 14px 34px #2f5f961f}.role-dropdown-trigger.open{border-color:#2f5f9657;box-shadow:0 16px 36px #2f5f9629}.role-dropdown-chevron{flex:none;font-size:1.2rem}.role-dropdown-menu{background:#fffffff5;border:1px solid #bcac9480;border-radius:24px;padding:12px;display:none;box-shadow:0 22px 44px #122d4e1f}.role-dropdown-menu.open{display:block}.option-card{border:1px solid var(--stroke);text-align:left;background:#fff;align-items:center;gap:10px;min-height:82px;padding:18px;font-size:1.22rem;display:flex}.role-option-grid{grid-template-columns:1fr}.role-option-card{align-items:flex-start}.role-option-copy{gap:4px;display:grid}.role-option-title{color:var(--ink);font-weight:800}.role-option-description{color:var(--muted);font-size:1rem;line-height:1.3}.setup-option-card{justify-content:flex-start;min-height:70px}.setup-option-card.selected{background:#eef5fd;border-color:#2f5f9657}.setup-option-title{color:var(--ink);font-weight:800}.option-emoji{font-size:36px}.separator{background:#bcac9473;height:1px;margin:20px 0}.muted-text{color:var(--muted)}.eyebrow{text-transform:uppercase;letter-spacing:.14em;color:var(--accent-strong);margin:0;font-size:.8rem;font-weight:800}.goal-secret-label{color:#2f5f96;align-self:center;margin-top:0;font-style:italic}.goal-screen-body{justify-content:flex-start}.goal-screen-content{text-align:center;flex-direction:column;flex:auto;justify-content:center;align-items:center;display:flex}.goal-screen-content .game-card-main{flex:auto}.goal-screen-content .game-card-support{min-height:96px}.goal-screen-title{color:#4b5563}.goal-screen-value{color:#17324f}.meta-row,.tags-row{flex-wrap:wrap;gap:8px;margin-top:14px;display:flex}.tag-chip{color:#704126;background:#ffe8b899;border:1px solid #c75b392e;border-radius:999px;align-items:center;padding:8px 12px;font-size:.92rem;font-weight:700;display:inline-flex}.error-text{color:#a23216;margin:0 0 16px;font-weight:700}.summary-banner{background:linear-gradient(135deg,#ffe8b8bf,#f4c7aca6);border:1px solid #c75b3929;border-radius:18px;gap:10px;margin:18px 0;padding:16px 18px;font-weight:700;display:grid}.results-table{gap:8px;margin-top:18px;display:grid}.results-row{background:#faf7f1;border-radius:16px;grid-template-columns:1.1fr 1.2fr 1.7fr .6fr;align-items:center;gap:12px;padding:12px;display:grid}.results-header{background:#eee7db;font-weight:800}.active-player-row{background:#fde8d5;font-weight:700}.final-podium{gap:12px;display:grid}.podium-row{background:#faf7f1;border-radius:18px;grid-template-columns:1fr 1.4fr .8fr;align-items:center;gap:12px;padding:16px;display:grid}.podium-place{font-weight:800}.podium-name{font-weight:700}.podium-score{text-align:right;font-weight:800}@media (width<=768px){html,body,#root{overscroll-behavior:none;width:100%;height:100%;min-height:100svh;overflow:hidden}.app-shell:not(.in-game) .app-container{-webkit-overflow-scrolling:touch;min-height:100svh;max-height:100svh;overflow-y:auto}.app-shell.in-game{overscroll-behavior:none;touch-action:manipulation;height:100svh;min-height:100svh;overflow:hidden}.app-shell.in-game .app-container{flex-direction:column;max-width:none;height:100svh;min-height:100svh;padding:0;display:flex;position:relative;overflow:hidden}.top-bar{flex-direction:column}.app-shell.in-game .top-bar{z-index:5;pointer-events:none;align-items:stretch;min-height:0;margin-bottom:0;padding:0;position:absolute;top:16px;left:16px;right:16px}.app-shell.in-game .top-bar>:first-child{display:none}.top-bar-actions{justify-content:stretch;width:100%}.app-shell.in-game .top-bar-actions{pointer-events:auto;justify-content:flex-end}.app-shell.in-game .settings-trigger{margin:0}.app-shell.in-game .ghost-button{width:auto}.top-bar h1{font-size:32px}.app-shell.in-game .card{-webkit-overflow-scrolling:touch;border:none;border-radius:0;flex-direction:column;flex:auto;justify-content:center;height:100svh;min-height:100svh;max-height:100svh;margin-bottom:0;padding:84px 26px 24px;display:flex;overflow:hidden auto}.app-shell.in-game .game-card{justify-content:stretch}.app-shell.in-game .game-card-body{flex:auto;justify-content:flex-start;min-height:0;padding-top:8px}.app-shell.in-game .game-card-body-center{justify-content:center}.app-shell.in-game .game-card-service{min-height:42px}.app-shell.in-game .game-card-main{gap:14px}.app-shell.in-game .game-card-support{gap:10px;min-height:122px}.app-shell.in-game .game-card-primary-text{font-size:clamp(2.4rem,9vw,3.3rem)}.app-shell.in-game .game-card-footer{margin-top:auto;padding-top:14px}.app-shell.in-game .card h2{font-size:clamp(2.2rem,9vw,3rem)}.app-shell.in-game .card h3{font-size:clamp(1.8rem,7vw,2.4rem)}.app-shell.in-game .card p,.app-shell.in-game .card button,.app-shell.in-game .card label,.app-shell.in-game .card input{font-size:1.32rem}.app-shell.in-game .situation-text,.app-shell.in-game .story-prompt{font-size:clamp(2rem,7vw,2.6rem);line-height:1.42}.app-shell.in-game .thinking-prompt{max-width:15ch;font-size:clamp(2.3rem,8vw,3rem);line-height:1.34}.app-shell.in-game .focus-card-body{text-align:center;justify-content:center;align-items:center}.app-shell.in-game .focus-card h2{font-size:clamp(2.6rem,10vw,3.4rem)}.app-shell.in-game .focus-card h3{font-size:clamp(2rem,7.5vw,2.7rem)}.app-shell.in-game .focus-card p{max-width:18ch}.app-shell.in-game .focus-card .situation-text{font-size:clamp(2.3rem,8vw,3rem);line-height:1.34}.app-shell.in-game .timer-circle{width:220px;height:220px;font-size:88px}.app-shell.in-game .large-button{min-height:74px}.app-shell.in-game .voter-card,.app-shell.in-game .option-card{min-height:86px;font-size:1.28rem}.app-shell.in-game .role-option-description{font-size:1.08rem}.app-shell.in-game .role-dropdown-trigger{min-height:80px;padding:20px 22px;font-size:1.3rem}.app-shell.in-game .role-dropdown-menu{padding:10px}.app-shell.in-game .reveal-card,.app-shell.in-game .timer-card{justify-content:center}.app-shell.in-game .reveal-summary-card{padding-top:78px}.app-shell.in-game .reveal-summary-body{justify-content:center;gap:2px}.app-shell.in-game .reveal-summary-body .game-card-service{min-height:30px}.app-shell.in-game .reveal-summary-body .game-card-main{flex:none;gap:6px}.app-shell.in-game .reveal-summary-card .big-emoji{margin:4px 0;font-size:60px}.app-shell.in-game .reveal-summary-card h2{margin-bottom:8px;font-size:clamp(1.9rem,7vw,2.4rem)}.app-shell.in-game .reveal-summary-title,.app-shell.in-game .reveal-summary-label{margin-bottom:2px;font-size:clamp(1.35rem,5vw,1.7rem)}.app-shell.in-game .reveal-summary-text,.app-shell.in-game .reveal-summary-muted{max-width:none;font-size:1.05rem;line-height:1.2}.app-shell.in-game .reveal-summary-situation{font-size:1.2rem;line-height:1.2}.app-shell.in-game .reveal-summary-card .separator{margin:8px 0}.app-shell.in-game .reveal-summary-footer{padding-top:10px}.app-shell.in-game .reveal-summary-footer .large-button{min-height:64px}.app-shell.in-game .vote-panel{margin-top:16px}.app-shell.in-game .voters-grid,.app-shell.in-game .option-grid{grid-template-columns:1fr}.help-screen-content{min-height:100svh;padding:18px;overflow:visible}.settings-screen{padding:0}.settings-screen-content{min-height:100svh;padding:18px;overflow:auto}.settings-close-button,.help-close-button{top:14px;right:14px}.help-header,.help-nav{grid-template-columns:1fr;display:grid}.help-progress{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.help-progress-dot{min-height:54px;padding:10px 8px;font-size:1rem}.results-row,.podium-row{grid-template-columns:1fr}.situation-text,.story-prompt{font-size:18px}.card{padding:20px}}@keyframes fadeUp{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
