:root{font-family:Inter,'Hiragino Kaku Gothic ProN','Noto Sans JP',Meiryo,sans-serif;color:#182b35;background:#f5f3ec;font-synthesis:none;--ink:#182b35;--orange:#ed5924;--line:#d9ded9}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a,input{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #007b83;outline-offset:4px}header,footer{max-width:1180px;margin:auto;padding:24px 32px;display:flex;align-items:center;justify-content:space-between;gap:16px}header{border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);font-size:21px;font-weight:900;letter-spacing:.02em}.brand-icon{display:grid;place-items:center;width:35px;height:38px;background:var(--orange);color:#fff;border-radius:7px;transform:rotate(-8deg)}.text-button{border:0;background:transparent;color:var(--ink);font-size:14px;font-weight:700;padding:10px}.text-button:hover{text-decoration:underline}main{max-width:1180px;margin:auto;padding:36px 32px 50px;min-height:76vh}h1{font-size:clamp(30px,4vw,46px);line-height:1.35;letter-spacing:-.04em;margin:8px 0 14px}h2{font-size:24px;line-height:1.5;margin:0 0 18px}p{line-height:1.8}.eyebrow{color:var(--orange);font-size:12px;font-weight:800;letter-spacing:.16em;margin:0 0 12px}.intro{display:flex;justify-content:space-between;gap:24px;align-items:center;margin-bottom:28px}.intro p{margin:0}.pill{border:1px solid var(--line);border-radius:30px;padding:9px 14px;white-space:nowrap;font-size:14px}.layout{display:grid;grid-template-columns:330px 1fr;gap:24px;align-items:start}.panel{background:white;border:1px solid var(--line);border-radius:18px;padding:24px}.setup-panel{background:var(--ink);color:white;position:sticky;top:20px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.section-heading h2{font-size:18px;margin:0}.number{display:inline-grid;place-items:center;width:25px;height:25px;border:1px solid currentColor;border-radius:50%;font-size:13px;margin-right:8px}.muted{color:#66747a;font-size:14px}.setup-panel .muted{color:#bac6cc}.names{display:grid;gap:10px;margin:20px 0 10px;max-height:310px;overflow:auto}.name-row{display:flex;align-items:center;gap:10px}.seat{font-size:12px;color:#9babaf;width:20px}.name-row input{width:100%;min-width:0;background:#2b3f49;color:white;border:1px solid #4c5d64;border-radius:8px;padding:12px;font-size:16px}.remove{background:transparent;border:0;color:inherit;min-width:34px;min-height:40px}.add-player{width:100%;padding:12px;border:1px dashed #82949d;border-radius:8px;color:#fff;background:transparent}.mode{border:0;padding:0;margin:25px 0}.mode legend{font-size:14px;margin-bottom:10px;font-weight:700}.mode label{display:block;font-size:14px;padding:9px 0}.mode input{accent-color:var(--orange);margin-right:8px}.primary{background:var(--orange);color:white;border:0;border-radius:10px;padding:16px 24px;font-weight:800;min-height:54px}.primary:hover{background:#d64717}.wide{width:100%}.secondary{background:white;border:1px solid var(--line);color:var(--ink);border-radius:10px;padding:13px 20px;font-weight:700}.status{font-size:14px;line-height:1.7;margin:14px 0 0;min-height:25px}.count{font-weight:900;color:var(--orange);font-size:22px}.count small{font-size:14px;font-weight:400;color:#66747a}.toolbar{display:flex;gap:8px;justify-content:flex-end;margin:14px 0}.toolbar button{font-size:14px;border:1px solid var(--line);background:#f5f6f3;border-radius:6px;padding:8px 12px}.group{margin:0 0 22px}.group h3{font-size:14px;color:#66747a;margin:0 0 10px}.check-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.dish-check{display:flex;align-items:center;gap:8px;min-height:47px;border:1px solid var(--line);border-radius:8px;padding:10px 9px;font-size:14px;line-height:1.5;cursor:pointer;overflow-wrap:anywhere}.dish-check:has(input:checked){background:#fff6ed;border-color:#edc2a7}.dish-check input{accent-color:var(--orange);width:17px;height:17px;flex-shrink:0}.add-dish{border-top:1px solid var(--line);padding-top:20px}.add-dish label{display:block;font-size:14px;font-weight:700;margin-bottom:10px}.input-line{display:flex;gap:8px}.input-line input{min-width:0;flex:1;border:1px solid var(--line);padding:13px;border-radius:8px}.error{color:#ac3616;font-size:14px;min-height:20px}.play-top{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px}.steps{font-size:14px;color:#66747a}.progress{height:5px;background:#dce2de;border-radius:10px;margin-bottom:30px;overflow:hidden}.progress span{display:block;height:100%;background:var(--orange);transition:width .3s}.handoff{max-width:650px;text-align:center;margin:20px auto;background:var(--ink);color:#fff;border-radius:24px;padding:48px 28px}.handoff h1{overflow-wrap:anywhere}.handoff .eyebrow{color:#ffae71}.handoff .muted{color:#bdcbd0}.card-back{height:156px;width:112px;margin:8px auto 28px;background:var(--orange);border:5px solid #ffac73;border-radius:13px;transform:rotate(-7deg);display:grid;place-items:center;box-shadow:12px 10px 0 #39515c;font-size:28px;font-weight:900;line-height:1.4}.card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:14px;margin:24px 0}.food-card{min-height:155px;background:#fff;border:2px solid var(--line);border-radius:13px;padding:18px 12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;position:relative;font-weight:800;font-size:18px;line-height:1.5;color:var(--ink);overflow-wrap:anywhere}.food-card .card-num{font-size:12px;font-weight:400;color:#77848b}.food-card[aria-pressed=true]{background:#fff0e3;border-color:var(--orange);box-shadow:0 0 0 2px var(--orange)}.food-card[aria-pressed=true]:after{content:'✓';position:absolute;top:8px;right:10px;color:var(--orange)}.action-bar{position:sticky;bottom:12px;background:var(--ink);color:white;padding:16px 20px;border-radius:14px;display:flex;align-items:center;justify-content:space-between;gap:14px;box-shadow:0 8px 30px #182b3522}.action-bar p{margin:0;font-size:14px}.result{max-width:720px;margin:30px auto;text-align:center}.result-card{background:#fff;border:2px solid var(--ink);border-radius:22px;padding:48px 25px;margin:26px 0;box-shadow:8px 8px 0 #f3ae7d}.result-card h1{font-size:clamp(32px,7vw,66px);overflow-wrap:anywhere}.result .eyebrow{color:var(--orange)}.result-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}.fine{font-size:12px;line-height:1.8;color:#748086}footer{font-size:12px;color:#78848a;border-top:1px solid var(--line)}dialog{border:0;border-radius:18px;padding:30px;max-width:560px;width:calc(100% - 32px);color:var(--ink)}dialog::backdrop{background:#10232bbc}dialog ol{padding-left:22px;line-height:1.9}dialog li{margin:12px 0}.close{float:right}.badge{font-size:14px;font-weight:700;color:var(--orange)}@media(max-width:800px){.layout{grid-template-columns:1fr}.setup-panel{position:static}.names{grid-template-columns:repeat(2,minmax(0,1fr))}.intro .pill{display:none}.check-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:520px){header{padding:18px 18px}.brand{font-size:19px}main{padding:26px 16px 32px}.panel{padding:20px 16px}.check-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.names{grid-template-columns:1fr}.card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.food-card{font-size:17px;min-height:140px}.handoff{padding:35px 20px}.action-bar{padding:12px;gap:8px}.action-bar .primary{padding:14px 17px}footer{padding:20px 16px}footer span:last-child{display:none}.play-top{align-items:flex-start}.input-line .secondary{padding:12px}.section-heading{flex-wrap:wrap}}.final-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(90px,112px));justify-content:center;gap:20px;margin:30px auto;max-width:560px}.final-card{margin:8px 0 28px;color:#fff;cursor:pointer;transition:transform .15s,box-shadow .15s}.final-card:hover,.final-card:focus-visible{transform:translateY(-6px) rotate(0deg);box-shadow:12px 16px 0 #39515c}

