:root{color-scheme:light;--purple:#6f4cc3;--ink:#24202f;--line:#e3ddec;--soft:#f5f1fa}*{box-sizing:border-box}body{margin:0;background:#fcfafe;color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,'Hiragino Sans','Yu Gothic',sans-serif;line-height:1.7}header,main,footer{width:min(1180px,calc(100% - 32px));margin:auto}header,footer{display:flex;justify-content:space-between;gap:20px;padding:22px 0;font-size:.85rem}a{color:var(--purple)}header a{text-decoration:none;font-weight:700}header span,.hint,.source,.about p,footer{color:#6b6275}.intro{padding:24px 0 30px}.eyebrow{color:var(--purple);font-size:.75rem;font-weight:750;letter-spacing:.08em}h1{font-size:clamp(2rem,4vw,3.5rem);line-height:1.25;margin:12px 0}h2{font-size:1.2rem;line-height:1.4;margin:0 0 12px}.intro p:last-child{margin-bottom:0}.workspace{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,1fr);gap:24px;align-items:start}.stage-wrap,aside{border:1px solid var(--line);background:white;border-radius:14px;padding:24px;min-width:0}.stage-tools{display:flex;gap:16px;align-items:end;justify-content:space-between}.stage-tools label{flex:1}.stage-tools span{font-size:.8rem;white-space:nowrap;padding-bottom:10px}label{display:block;font-size:.8rem;font-weight:650}input{display:block;width:100%;min-width:0;padding:10px 12px;margin:5px 0 12px;border:1px solid #bfb4cc;border-radius:7px;font:inherit;font-size:1rem;color:var(--ink);background:white}.board{display:grid;gap:24px;margin:26px 0 20px;min-height:290px;align-content:center}.row{display:flex;justify-content:center;gap:6px}.seat{padding:5px 2px;min-width:0;width:min(76px,15%);aspect-ratio:.8;background:var(--soft);border:1px solid #d2c2e7;border-radius:8px;color:var(--ink);cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px}.seat b{font-size:clamp(.58rem,1.2vw,.85rem);overflow-wrap:anywhere;line-height:1.3;font-weight:650}.seat small{font-size:.6rem;color:#7b688f}.seat[aria-pressed=true]{outline:3px solid var(--purple);outline-offset:2px;background:#e8ddf8}.seat.filled{background:#eee6fa}.stage-edge{border-top:3px solid #b89bdc;text-align:center;padding:10px;color:#7c6394;font-size:.65rem;letter-spacing:.12em}.hint{font-size:.8rem;line-height:1.7}.actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}button,.store-links a{font:inherit;font-size:.85rem;font-weight:650;min-height:44px;padding:10px 14px;border:1px solid #bda9d4;border-radius:8px;background:white;color:var(--purple);cursor:pointer}.primary,.store-links a:first-child{background:var(--purple);color:white;border-color:var(--purple)}button:disabled{opacity:.4;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #30213f;outline-offset:3px}.members{display:flex;flex-wrap:wrap;gap:7px;max-height:310px;overflow:auto;padding:5px 3px 12px}.members button{min-height:40px;padding:7px 10px;font-size:.8rem}.members button.placed{background:var(--soft);border-style:dashed}.source{font-size:.68rem;margin-bottom:0}.search-label{margin-top:18px}#custom-form{margin:18px 0 12px;padding-top:18px;border-top:1px solid var(--line)}#custom-form button{width:100%}details{margin-top:20px;padding-top:18px;border-top:1px solid var(--line)}summary{cursor:pointer;font-size:.9rem;font-weight:650}.counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:14px}.feedback{font-size:.82rem;min-height:1.7em;margin-top:14px;color:#583b75;overflow-wrap:anywhere}.app-next{display:flex;gap:20px;border:1px solid var(--line);border-radius:12px;padding:26px;margin:28px 0;background:#f0e9f9}.app-next img{border-radius:16px;flex:none}.app-next p{font-size:.85rem;max-width:65ch}.store-links{display:flex;gap:10px;flex-wrap:wrap}.store-links a{display:block;text-decoration:none;text-align:center}.about{max-width:800px;margin:36px 0}.about p,.about li{font-size:.85rem}footer{border-top:1px solid var(--line)}[hidden]{display:none!important}@media(max-width:850px){.workspace{grid-template-columns:1fr}.intro{padding-top:12px}aside{padding:20px}.members{max-height:230px}.seat b{font-size:clamp(.62rem,2vw,.9rem)}.board{min-height:260px}.stage-wrap{padding:18px}.app-next{padding:20px;gap:14px}.app-next img{width:46px;height:46px}}@media(max-width:400px){header,main,footer{width:calc(100% - 24px)}.stage-wrap{padding:12px}.row{gap:4px}.board{gap:20px}.seat{border-radius:6px}.stage-tools{gap:8px}.stage-tools span{font-size:.7rem}.actions button{flex:1;padding:10px 8px}.app-next{display:block}.app-next img{margin-bottom:12px}.store-links{display:grid}.seat b{font-size:.63rem}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}

.board-return{font-size:.8rem;font-weight:650}#active-seat{color:var(--purple);font-weight:700}.board{scroll-margin-top:18px}

.completion-app{margin-top:18px;padding:16px;border:1px solid var(--line);border-radius:12px;background:#f0e9f9}.completion-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.completion-heading h2{font-size:1rem;margin:0}.completion-heading button{font-size:.75rem;padding:6px 10px}.completion-app p{font-size:.82rem}.completion-app .hint{margin-bottom:0;font-size:.72rem}

.social-share{margin-top:18px;padding:18px;border:1px solid #d2c2e7;border-radius:12px;background:#faf7ff}.social-share h2{font-size:1rem}.social-share p{font-size:.82rem}.social-share label{margin-top:16px}.social-share textarea{display:block;width:100%;min-width:0;margin-top:6px;padding:12px;border:1px solid #bfb4cc;border-radius:7px;background:white;color:var(--ink);font:inherit;font-size:.82rem;line-height:1.65;resize:vertical}.social-share .hint{margin-bottom:0;font-size:.72rem}.social-share textarea:focus-visible{outline:3px solid #30213f;outline-offset:3px}
