@charset "UTF-8";
:root{--paper:#f6f4ed;--white:#fffefa;--ink:#30372e;--muted:#7a7c70;--line:#e2e3d8;--green:#535f48;--green-dark:#374230;--green-pale:#e9eddf;--red:#a35346;--serif:"Yu Mincho","Hiragino Mincho ProN","Noto Serif JP",serif;--sans:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:14px;line-height:1.65;-webkit-font-smoothing:antialiased}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.38}button{color:inherit}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #a49359;outline-offset:4px}svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.svg-library{position:absolute;width:0;height:0;overflow:hidden}.page-shell{width:min(1120px,calc(100% - 80px));margin:auto}.site-header{height:104px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{text-decoration:none;display:flex;gap:12px;align-items:center;font-family:var(--serif);font-size:21px;letter-spacing:.12em;font-weight:700}.brand small{display:block;font:8px/1.7 var(--sans);letter-spacing:.21em;margin-top:2px;color:var(--muted)}.brand-mark{width:41px;height:41px;border:1px solid #7e8873;border-radius:50%;display:grid;place-items:center}.brand-mark svg{width:24px;height:24px}.text-button{border:0;background:none;padding:8px 0;font-size:12px;color:var(--muted);display:inline-flex;align-items:center;gap:8px}.text-button:hover{color:var(--ink)}.help-mark{width:17px;height:17px;border:1px solid #999d8f;display:inline-grid;place-items:center;border-radius:50%;font:11px Georgia,serif}.hero{min-height:303px;display:flex;align-items:center;justify-content:space-between;position:relative;padding:33px 36px 30px 3px;gap:30px}.eyebrow{font-size:10px;letter-spacing:.14em;color:var(--green);display:flex;align-items:center;gap:9px;margin:0 0 15px}.eyebrow:before{content:"";width:6px;height:6px;background:#9ba178;border-radius:50%}.hero h1{font-family:var(--serif);font-size:36px;line-height:1.65;letter-spacing:.12em;font-weight:600;margin:0 0 12px}.hero p.intro{color:var(--muted);font-size:12px;line-height:1.9;margin:0}.hero-art{width:355px;max-width:42%;height:250px;flex-shrink:0;position:relative}.hero-art svg{width:100%;height:100%;stroke:none;fill:none}.art-caption{position:absolute;right:-14px;top:55px;writing-mode:vertical-rl;color:#878b78;font:9px/1.8 var(--sans);letter-spacing:.24em}.setup-section{margin-top:8px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.section-title{display:flex;align-items:center;gap:12px}.section-number{font:11px Georgia,serif;color:#8c927d;letter-spacing:.08em}.section-heading h2{font-size:18px;letter-spacing:.06em;margin:0;font-weight:600}.steps{display:flex;align-items:center;gap:12px;font-size:10px;color:#a0a394}.steps .active{color:var(--green)}.steps b{font:10px Georgia,serif;margin-right:6px}.steps i{width:24px;border-top:1px solid var(--line)}.setup-grid{display:grid;grid-template-columns:320px 1fr;gap:24px;align-items:start}.panel{border:1px solid var(--line);border-radius:16px;background:var(--white)}.settings-panel{padding:25px 25px 20px}.label-line{display:flex;align-items:center;justify-content:space-between;gap:12px}.field-title{font-size:13px;font-weight:600;margin:0;display:flex;align-items:center;gap:8px}.field-title svg{width:17px;height:17px}.field-hint{font-size:10px;color:#909381}.player-stepper{display:flex;align-items:center;justify-content:space-between;margin:20px 0 7px}.step-button{width:34px;height:34px;border:1px solid var(--line);border-radius:50%;background:transparent;display:grid;place-items:center;font-size:20px;line-height:1}.step-button:hover:enabled{background:var(--green-pale);border-color:#a8b49a}.player-count{font:46px/1.1 Georgia,serif;letter-spacing:-.06em;color:var(--green-dark)}.player-count small{font:12px var(--sans);letter-spacing:0;margin-left:8px;color:var(--muted)}.field-note{text-align:center;font-size:10px;color:var(--muted);margin:12px 0 0}.divider{border:0;border-top:1px solid var(--line);margin:23px 0}.presets{display:flex;background:#f2f3ec;border-radius:8px;padding:4px;margin-top:13px;gap:3px}.preset{border:1px solid transparent;background:none;border-radius:6px;padding:9px 3px;flex:1;font-size:11px;color:var(--muted);white-space:nowrap}.preset.active{background:var(--white);border-color:var(--line);color:var(--green);box-shadow:0 1px 3px #30372e08}.preset-description{font-size:10px;color:var(--muted);line-height:1.8;min-height:36px;margin:12px 0 0}.names-toggle{display:flex;justify-content:space-between;align-items:center;cursor:pointer;font-size:11px;list-style:none;gap:8px}.names-toggle::-webkit-details-marker{display:none}.names-toggle span:first-child{display:flex;gap:7px;align-items:center}.optional{font-size:9px;color:var(--muted);background:#f0f1e9;border-radius:4px;padding:2px 5px}.chevron{display:inline-block;color:var(--muted);transition:transform .2s}details[open] .chevron{transform:rotate(180deg)}.name-list{display:grid;gap:7px;max-height:270px;overflow:auto;margin-top:16px;padding:2px 4px 2px 1px}.name-row{display:flex;align-items:center;gap:8px}.name-row label{font:10px Georgia,serif;color:#9a9e8c;width:16px}.name-row input{width:100%;min-width:0;padding:8px 10px;border:1px solid var(--line);background:var(--white);border-radius:6px;font-size:12px;color:var(--ink)}.name-row input::placeholder{color:#a1a494}.roles-heading{padding:2px 0 13px;display:flex;align-items:center;justify-content:space-between}.roles-heading h3{font-size:13px;font-weight:600;margin:0}.roles-heading span{font-size:10px;color:var(--muted)}.roles-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.role-row{display:flex;align-items:center;gap:12px;min-height:86px;background:var(--white);border:1px solid var(--line);border-radius:12px;padding:15px 14px;transition:border-color .15s,background .15s}.role-row.inactive{background:#f7f6f0}.role-icon{width:41px;height:41px;border-radius:11px;display:grid;place-items:center;flex-shrink:0;background:var(--role-bg,#eceddf);color:var(--role-color,#6d7653)}.role-icon svg{width:24px;height:24px}.role-copy{min-width:0;flex:1}.role-name{display:block;font-size:13px;font-weight:600;line-height:1.5}.role-team{display:block;font-size:9px;color:var(--muted);white-space:nowrap;margin-top:3px}.role-info{background:transparent;border:0;padding:0;color:inherit;text-align:left}.role-info:hover .role-name{text-decoration:underline;text-underline-offset:3px}.role-counter{display:flex;align-items:center;gap:7px}.role-counter button{border:0;background:transparent;color:#8a917e;width:22px;height:28px;font-size:18px;padding:0;line-height:1}.role-counter button:hover:enabled{color:var(--ink);background:#edf0e5;border-radius:5px}.role-counter output{min-width:15px;text-align:center;font:18px Georgia,serif;color:var(--ink)}.roles-footnote{margin:12px 0 0;font-size:10px;color:var(--muted);display:flex;align-items:center;gap:5px}.roles-footnote svg{width:12px;height:12px}.start-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid var(--line);padding:24px 0 26px;margin-top:26px}.ready-status{display:flex;align-items:center;gap:11px}.ready-icon{border:1px solid #c8d0ba;background:var(--green-pale);color:var(--green);border-radius:50%;display:grid;place-items:center;width:30px;height:30px}.ready-icon svg{width:16px;height:16px}.ready-status strong{font-size:12px;font-weight:500}.ready-status p{margin:2px 0 0;font-size:10px;color:var(--muted)}.ready-status.invalid .ready-icon{background:#f4e5db;border-color:#e3bfac;color:var(--red)}.ready-status.invalid strong{color:var(--red)}.primary-button,.secondary-button,.danger-button{border:1px solid transparent;border-radius:8px;padding:14px 23px;display:inline-flex;align-items:center;justify-content:center;gap:20px;font-size:12px;font-weight:500;min-height:48px;transition:background .15s,transform .15s}.primary-button{background:var(--green);color:#fffefa}.primary-button:hover:enabled{background:var(--green-dark);transform:translateY(-1px)}.primary-button svg{width:17px;height:17px}.secondary-button{background:transparent;border-color:var(--line);color:var(--green)}.secondary-button:hover{background:var(--green-pale)}.danger-button{background:#a35346;color:white}.start-button{min-width:240px}.start-button .button-moon{width:16px}.site-footer{display:flex;align-items:center;justify-content:space-between;padding:25px 0 30px;border-top:1px solid var(--line);color:#939888;font-size:10px}.site-footer>span:last-child{font-size:8px;letter-spacing:.15em}.tiny-star{font-size:15px;margin-left:12px;color:#a1a784}dialog{border:1px solid var(--line);padding:0;border-radius:17px;background:var(--white);color:var(--ink);width:min(480px,calc(100% - 36px));max-height:85dvh;box-shadow:0 20px 100px #25332130}dialog::backdrop{background:#252e27a6;backdrop-filter:blur(4px)}.modal-content{padding:30px}.modal-heading{display:flex;align-items:start;justify-content:space-between;gap:20px}.modal-heading h2{font:600 22px/1.5 var(--serif);letter-spacing:.05em;margin:0}.close-button{border:0;background:#f0f1e9;width:30px;height:30px;border-radius:50%;font-size:20px;line-height:1;flex-shrink:0}.modal-content p{font-size:12px;color:var(--muted);line-height:1.9}.help-steps{list-style:none;counter-reset:guide;padding:0;margin:27px 0;display:grid;gap:22px}.help-steps li{counter-increment:guide;position:relative;padding-left:41px;font-size:13px}.help-steps li:before{content:"0" counter(guide);position:absolute;left:0;top:0;font:15px Georgia,serif;color:#9ca58c}.help-steps p{margin:5px 0 0;font-size:11px}.modal-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:25px}.modal-actions button{flex:1;padding:12px 10px}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);padding:11px 22px;background:var(--green-dark);color:white;border-radius:8px;box-shadow:0 4px 15px #30372e20;font-size:12px;opacity:0;transition:.2s;pointer-events:none;z-index:10}.toast.visible{opacity:1;transform:translate(-50%,0)}.deal-wrap{max-width:660px;min-height:680px;margin:0 auto;padding:43px 0 50px;text-align:center}.back-button{display:flex;align-items:center;gap:6px;background:none;border:0;font-size:11px;color:var(--muted);padding:0;margin-bottom:26px}.back-button:hover{color:var(--ink)}.game-label{font-size:10px;letter-spacing:.16em;color:var(--muted);margin:0 0 8px}.deal-wrap h1{font:600 25px/1.7 var(--serif);margin:0;letter-spacing:.08em}.deal-subtitle{font-size:11px;color:var(--muted);margin:10px 0 23px}.progress{display:flex;align-items:center;justify-content:center;gap:6px;margin-bottom:24px;flex-wrap:wrap}.progress-dot{width:7px;height:7px;border-radius:50%;background:#dedfd4}.progress-dot.done{background:#7b8969}.progress-dot.current{outline:1px solid #8f9a7f;outline-offset:3px;background:#9ea88e;margin:0 4px}.secret-card{width:310px;min-height:369px;margin:0 auto;border-radius:16px;border:1px solid #c5cbb7;padding:26px 25px;position:relative;display:flex;align-items:center;flex-direction:column;justify-content:center;overflow:hidden;background:var(--green-dark);color:#e9eddf;box-shadow:0 12px 30px #333e2910}.secret-card:before{content:"";position:absolute;inset:10px;border:1px solid #9da98855;border-radius:9px;pointer-events:none}.secret-card .card-top{position:absolute;top:25px;font:8px Georgia,serif;letter-spacing:.24em;opacity:.65}.secret-card .card-bottom{position:absolute;bottom:24px;font-size:9px;letter-spacing:.16em;opacity:.6}.secret-card .seal{width:104px;height:104px;border:1px solid #b8c19c77;border-radius:50%;display:grid;place-items:center;margin:18px 0 20px}.secret-card .seal svg{width:49px;height:49px;stroke-width:1}.secret-card h2{font:500 22px var(--serif);letter-spacing:.1em;margin:0 0 11px;overflow-wrap:anywhere;max-width:100%;position:relative}.secret-card p{font-size:10px;letter-spacing:.04em;opacity:.6;line-height:1.9;margin:0}.secret-card.revealed{background:var(--white);border-color:var(--role-color);color:var(--ink)}.secret-card.revealed:before{border-color:var(--line)}.secret-card.revealed .seal{background:var(--role-bg);color:var(--role-color);border:0;width:82px;height:82px;margin:6px 0 15px}.secret-card.revealed .seal svg{width:46px;height:46px;stroke-width:1.4}.secret-card.revealed h2{font-size:32px}.secret-card.revealed .role-description{font-size:11px;line-height:1.9;opacity:1;color:var(--muted);max-width:230px;letter-spacing:0}.team-badge{display:inline-block;font-size:9px;letter-spacing:.08em;padding:3px 10px;border:1px solid var(--line);border-radius:20px;margin:0 0 13px}.deal-actions{margin:23px auto 0;width:310px}.deal-actions>button{width:100%;gap:14px}.privacy-note{display:flex;gap:5px;align-items:center;justify-content:center;font-size:10px;color:var(--muted);margin:13px 0 0}.privacy-note svg{width:12px;height:12px}.complete-icon{width:75px;height:75px;border:1px solid #c1cbb1;border-radius:50%;background:var(--green-pale);display:grid;place-items:center;margin:17px auto 22px;color:var(--green)}.complete-icon svg{width:32px;height:32px;stroke-width:1.5}.complete-wrap{max-width:640px;min-height:620px;padding-top:65px;text-align:center;margin:0 auto}.complete-wrap h1{font:600 30px/1.7 var(--serif);letter-spacing:.06em;margin:0}.complete-wrap>p{font-size:12px;color:var(--muted);line-height:2;margin:14px 0 30px}.table-summary{padding:20px 24px;text-align:left;margin:0 auto 25px;max-width:480px}.table-summary h2{font-size:11px;color:var(--muted);font-weight:400;margin:0 0 14px}.summary-chips{display:flex;flex-wrap:wrap;gap:8px}.summary-chip{border:1px solid var(--line);padding:5px 9px;border-radius:5px;font-size:11px}.summary-chip b{font-family:Georgia,serif;margin-left:8px}.complete-actions{display:flex;justify-content:center;gap:10px;margin:0 auto 15px;max-width:480px}.complete-actions button{flex:1;padding:13px 10px;gap:10px}.complete-actions svg{width:16px;height:16px}.reveal-list{list-style:none;padding:0;margin:22px 0 0;display:grid;gap:8px}.reveal-list li{display:flex;gap:12px;align-items:center;padding:9px 12px;border:1px solid var(--line);border-radius:7px}.reveal-list .role-icon{width:32px;height:32px;border-radius:7px}.reveal-list .role-icon svg{width:19px;height:19px}.reveal-list .result-name{font-size:12px;flex:1;overflow-wrap:anywhere;min-width:0}.reveal-list .result-role{font-size:11px;font-weight:600}.reveal-list .result-num{font:10px Georgia,serif;color:var(--muted)}.modal-scroll{max-height:50dvh;overflow:auto}.result-warning{background:#f3ece0;padding:10px 12px;border-radius:6px}.error-message{font-size:11px;color:var(--red);margin:10px 0 0}.visually-hidden{position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden;white-space:nowrap}#app:focus{outline:none}button.recover-button{position:fixed;bottom:12px;right:12px}
@media(max-width:1000px){.page-shell{width:calc(100% - 48px)}.setup-grid{grid-template-columns:285px 1fr;gap:18px}.role-row{padding:13px 10px;gap:8px}.role-icon{width:33px;height:33px;border-radius:9px}.role-icon svg{width:21px;height:21px}.role-counter{gap:2px}.role-team{font-size:8px}.roles-grid{gap:9px}.settings-panel{padding:23px 22px}.hero{padding-right:20px}.hero-art{width:310px}.hero h1{font-size:32px}}
@media(max-width:780px){.page-shell{width:calc(100% - 40px)}.site-header{height:84px}.hero{min-height:270px;gap:12px;padding:28px 0}.hero h1{font-size:28px;letter-spacing:.08em}.hero-art{width:235px;max-width:38%;height:220px}.hero p.intro{font-size:11px}.art-caption{display:none}.setup-grid{grid-template-columns:1fr;gap:22px}.settings-panel{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:22px}.settings-panel>.divider{display:none}.settings-panel .preset-field{border-left:1px solid var(--line);padding-left:22px}.settings-panel details{grid-column:1/-1;border-top:1px solid var(--line);padding-top:17px}.player-stepper{margin:10px 0}.player-count{font-size:37px}.field-note{margin:7px 0 0}.name-list{grid-template-columns:1fr 1fr}.roles-grid{grid-template-columns:1fr 1fr;gap:10px}.role-row{min-height:83px;padding:14px;gap:12px}.role-icon{width:39px;height:39px}.role-counter{gap:8px}.start-bar{margin-top:21px}.start-button{min-width:210px}.site-footer>span:last-child{font-size:7px}.steps{gap:8px}.steps i{width:14px}}
@media(max-width:480px){.page-shell{width:calc(100% - 36px)}.brand{font-size:18px;gap:9px}.brand-mark{width:35px;height:35px}.brand-mark svg{width:21px;height:21px}.brand small{font-size:7px}.text-button{font-size:11px}.hero{min-height:254px;align-items:flex-start;padding-top:31px;padding-bottom:25px}.hero h1{font-size:26px;letter-spacing:.07em;line-height:1.7;position:relative;z-index:1;white-space:nowrap}.eyebrow{font-size:8px;letter-spacing:.06em;margin-bottom:11px}.hero p.intro{font-size:10px;line-height:1.85;max-width:240px}.hero-art{position:absolute;right:-12px;top:33px;width:165px;max-width:48%;height:192px;opacity:.68;z-index:-0}.hero-copy{z-index:1}.hero-art svg{transform:translateX(16px)}.hero .intro{position:relative}.section-heading{margin-bottom:16px}.section-heading h2{font-size:16px}.steps{font-size:8px;gap:5px}.steps b{font-size:9px;margin-right:4px}.steps i{width:10px}.section-title{gap:7px}.section-number{font-size:10px}.settings-panel{padding:19px 17px;gap:16px}.settings-panel .preset-field{padding-left:16px}.field-title{font-size:11px;gap:5px}.field-title svg{width:15px;height:15px}.field-hint{font-size:8px}.presets{padding:3px;gap:1px;margin-top:16px}.preset{font-size:9px;padding:7px 2px}.preset-description{font-size:9px;margin-top:10px;min-height:0}.player-count{font-size:35px}.player-count small{font-size:10px;margin-left:4px}.step-button{width:28px;height:28px;font-size:17px}.player-stepper{margin-top:17px}.field-note{font-size:8px}.names-toggle{font-size:10px}.role-row{min-height:78px;gap:8px;padding:11px 10px}.role-icon{width:31px;height:34px;border-radius:8px}.role-icon svg{width:22px;height:22px}.role-name{font-size:12px}.role-team{font-size:8px}.role-counter{gap:1px}.role-counter button{width:22px;height:36px}.role-counter output{font-size:17px;min-width:13px}.roles-heading{padding-bottom:12px}.roles-heading h3{font-size:12px}.roles-heading span{font-size:9px}.roles-footnote{font-size:9px}.start-bar{flex-direction:column;align-items:stretch;gap:17px;padding:20px 0 25px;margin-top:20px}.ready-status{gap:9px}.ready-status strong{font-size:11px}.ready-status p{font-size:9px}.ready-icon{width:27px;height:27px}.start-button{width:100%;font-size:13px;min-height:53px}.site-footer{padding:23px 0;gap:10px}.site-footer>span:first-child{font-size:8px}.site-footer>span:last-child{font-size:6px;letter-spacing:.05em}.tiny-star{margin-left:5px}.deal-wrap{padding-top:27px;min-height:650px}.deal-wrap h1{font-size:22px}.deal-subtitle{font-size:10px}.secret-card,.deal-actions{width:min(310px,100%)}.secret-card{min-height:345px}.back-button{margin-bottom:24px}.complete-wrap{padding-top:50px;min-height:650px}.complete-wrap h1{font-size:26px}.complete-wrap>p{font-size:11px}.complete-actions{flex-direction:column}.complete-actions button{width:100%}.table-summary{padding:18px}.modal-content{padding:24px}.modal-heading h2{font-size:20px}.modal-actions{gap:8px}.modal-actions button{font-size:11px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

.deal-wrap h1{overflow-wrap:anywhere}.count-field,.preset-field{min-width:0}.settings-panel{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
@media(min-width:781px){.settings-panel{display:block}}
@media(max-width:380px){.settings-panel{grid-template-columns:1fr}.settings-panel .preset-field{border-left:0;border-top:1px solid var(--line);padding:17px 0 0}.presets{margin-top:10px}.preset{font-size:11px}.player-stepper{justify-content:center;gap:36px}.field-hint{font-size:10px}.field-title{font-size:12px}.hero h1{font-size:24px}.hero-art{opacity:.35}.role-row{gap:5px;padding:10px 7px}.role-counter button{width:20px}.role-name{font-size:11px}.role-team{font-size:7px}.role-icon{width:26px}.name-list{grid-template-columns:1fr}}

/* Garden identity */
:root{--green:#3d694b;--green-dark:#244932;--green-pale:#e7edde;--ink:#2d3e31;--paper:#f7f6f0;--white:#fffefa;--line:#dfe4d7;--muted:#7d8878}
.site-header{height:105px;border-bottom:1px solid #cbd5c0}.brand{gap:18px}.garden-logo{width:172px;height:85px;object-fit:contain;filter:brightness(0) saturate(100%) invert(24%) sepia(23%) saturate(850%) hue-rotate(83deg) brightness(92%) contrast(90%)}.app-tag{font:10px var(--sans);font-weight:500;letter-spacing:.1em;padding:5px 10px;border:1px solid #bdcbb2;border-radius:5px;color:var(--green)}.hero h1{color:var(--green-dark);letter-spacing:.14em}.hero-art{width:355px}.hero-art:before{content:"";position:absolute;width:200px;height:200px;border-radius:50%;background:#dfe8d6;filter:blur(45px);opacity:.5;inset:38px auto auto 70px;z-index:-1}.eyebrow{color:#6e865a}.secret-card{background:var(--green-dark)}.panel{box-shadow:0 2px 8px #31502e03}.site-footer{border-color:#cbd5c0}
@media(max-width:780px){.site-header{height:94px}.garden-logo{width:152px;height:76px}.brand{gap:10px}.hero-art{width:250px}}
@media(max-width:480px){.site-header{height:84px}.garden-logo{width:133px;height:66px}.brand{gap:9px}.app-tag{font-size:8px;padding:4px 6px}.hero-art{width:176px;top:30px;right:0;opacity:.9}.hero h1{font-size:27px;letter-spacing:.08em}.hero p.intro{font-size:10px}.eyebrow{font-size:8px}.hero-art svg{transform:translateX(18px)}.hero-art:before{width:120px;height:120px;inset:38px auto auto 15px}.text-button{font-size:10px}}
@media(max-width:380px){.brand{gap:5px}.garden-logo{width:115px}.app-tag{font-size:7px;padding:4px 5px}.hero h1{font-size:26px}.hero-art{right:-14px;opacity:.6}.hero p.intro{font-size:9px}.hero .eyebrow{font-size:7px}}

/* Rules shared by the village and private role reminders. */
.rules-panel{margin-top:20px;padding:20px 22px}.rules-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.rules-heading h3{font-size:13px;font-weight:600;margin:0}.rules-heading>span{font-size:9px;color:var(--muted)}.rule-row+.rule-row{border-top:1px solid var(--line);padding-top:17px;margin-top:17px}.rule-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.rule-heading h4{font-size:12px;font-weight:500;margin:1px 0 0}.rule-role{font-size:9px;color:var(--muted)}.rule-choices{display:flex;background:#f0f2e9;padding:3px;border-radius:7px;flex-shrink:0;gap:2px}.rule-choice{padding:6px 15px;border:1px solid transparent;border-radius:5px;background:transparent;font-size:10px;color:var(--muted)}.rule-choice.active{background:var(--white);border-color:#d9dfce;color:var(--green);box-shadow:0 1px 2px #2449320a}.rule-description{font-size:10px;color:var(--muted);margin:10px 0 0;line-height:1.9}.rule-note{font-size:9px;color:#929986;margin:5px 0 0}.rule-gm-note{font-size:9px;color:var(--muted);border-top:1px solid var(--line);padding-top:12px;margin:15px 0 0;line-height:1.8}.private-notice{width:310px;max-width:100%;margin:17px auto 0;border:1px solid #c8d1ba;border-radius:11px;background:#eef2e7;text-align:left;padding:17px 19px;overflow-wrap:anywhere}.notice-label{font-size:10px;color:var(--green);font-weight:600;letter-spacing:.02em}.private-notice p.notice-target{font-size:16px;font-weight:600;line-height:1.6;color:var(--ink);margin:9px 0 7px}.private-notice strong{display:block;font-size:11px;font-weight:500}.private-notice small{display:block;font-size:9px;line-height:1.8;color:var(--muted);margin-top:7px}.private-notice.rule-reminder p{font-size:11px;line-height:1.8;margin:7px 0 0;color:var(--muted)}.rules-summary{border-top:1px solid var(--line);margin:18px 0 0;padding:11px 0 0;display:grid;gap:7px}.rules-summary>div{display:flex;justify-content:space-between;gap:20px;align-items:center}.rules-summary dt{font-size:10px;color:var(--muted)}.rules-summary dd{font-size:10px;font-weight:500;color:var(--green);margin:0;white-space:nowrap}.result-white{display:block;font-size:9px;color:var(--muted);font-weight:400;margin-top:4px}.modal-content>.rules-summary{margin-bottom:20px}
@media(max-width:480px){.rules-panel{padding:18px 16px}.rules-heading{gap:8px}.rules-heading h3{font-size:12px}.rules-heading>span{font-size:8px}.rule-heading h4{font-size:11px}.rule-heading{gap:9px}.rule-choice{padding:6px 12px}.rule-description{font-size:10px}.rule-note{font-size:8px}.private-notice{width:min(310px,100%)}}
@media(max-width:480px){.hero-art svg{transform:none}}
@media(max-width:380px){.hero-art{right:0}}

.wolf-partners{background:#f5ebe6;border-color:#dbc4b9}.wolf-partners .notice-label{color:#92534a}.partner-list{list-style:none;padding:0;margin:10px 0;display:grid;gap:8px}.partner-list li{display:flex;align-items:baseline;gap:10px}.partner-number{font:11px Georgia,serif;color:#a97a6a}.partner-list strong{font-size:13px;overflow-wrap:anywhere;line-height:1.7}.wolf-partners>p{font-size:11px;line-height:1.9;margin:9px 0 0;color:#83685f}

.bulk-entry{margin-top:16px;grid-column:1/-1}.bulk-entry .secondary-button{width:100%;font-size:10px;padding:10px 9px;min-height:40px;gap:7px}.bulk-entry svg{width:15px;height:15px}.bulk-entry small{display:block;font-size:9px;color:var(--muted);text-align:center;margin-top:7px}.bulk-label{display:block;font-size:11px;font-weight:500;margin:18px 0 8px}.bulk-textarea{width:100%;border:1px solid var(--line);border-radius:8px;background:var(--paper);padding:13px;resize:vertical;min-height:150px;max-height:35dvh;font:12px/1.8 var(--sans);color:var(--ink)}.bulk-textarea:focus-visible{outline:2px solid #a4b58f;outline-offset:2px}.bulk-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:15px 0 10px}.bulk-preview-heading strong{font-size:12px;font-weight:500;color:var(--green)}.bulk-preview-heading span{font-size:9px;color:var(--muted)}.bulk-preview-list{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:5px 24px;font-size:11px;padding:4px 5px 4px 25px;margin:0;max-height:180px;overflow:auto}.bulk-preview-list li{padding-left:2px;overflow-wrap:anywhere}.bulk-replace-note{font-size:10px!important;background:#eff2e8;border-radius:6px;padding:9px 11px;margin-top:17px}.modal-content:has(.bulk-textarea) .modal-actions{margin-top:16px}
@media(max-width:480px){.bulk-textarea{font-size:11px}.bulk-preview-heading span{font-size:8px}.bulk-preview-list{font-size:10px;gap:5px 18px}}

/* Keep the source PNGs intact; the viewport hides the white print margins. */
.secret-card.artwork-card{display:block;position:relative;aspect-ratio:720/1145;min-height:0;padding:0;border:0;border-radius:12px;background:#060908;box-shadow:0 12px 24px #1623191b;overflow:hidden}.secret-card.artwork-card:before{display:none}.artwork-card img{position:absolute;width:131.944444%;height:auto;max-width:none;left:-15.972222%;top:-10.043668%;display:block}.card-ability-note{width:310px;max-width:100%;margin:15px auto 0;text-align:left}.card-ability-note h2{font:500 14px/1.7 var(--serif);margin:0 0 7px;letter-spacing:.04em;display:flex;align-items:center;justify-content:space-between;gap:10px}.card-ability-note h2 small{font:9px var(--sans);color:var(--muted);letter-spacing:0}.card-ability-note p{font-size:10px;line-height:1.9;color:var(--muted);margin:0}

/* Shared staff tool: compact identity, controls first. */
.site-header{height:86px}.brand.shared-brand{display:flex;align-items:center;gap:20px;letter-spacing:0}.brand-lockup{display:flex;align-items:center;gap:18px;white-space:nowrap}.brand-garden{font:600 22px/1.4 var(--serif);letter-spacing:.08em}.brand-divider{width:1px;height:22px;background:#b6c2ad}.brand-project{font:600 19px/1.4 var(--sans);letter-spacing:.015em}.brand-project>span{font-size:16px;font-weight:500;letter-spacing:.025em;margin-left:3px}.shared-brand-subtitle{font:10px/1.4 var(--sans);color:var(--green);letter-spacing:.08em;border:1px solid #c7d1bd;border-radius:4px;padding:5px 8px;white-space:nowrap}.setup-section{padding-top:25px;margin-top:0}.section-heading{margin-bottom:18px}.section-heading h1{font-size:16px;letter-spacing:.04em;font-weight:600;margin:0}.start-bar{padding-bottom:27px;margin-bottom:15px}.complete-wrap>.table-summary{margin-top:26px}.complete-wrap{min-height:560px}
@media(max-width:480px){.site-header{height:77px;gap:12px}.brand.shared-brand{display:flex;flex-direction:column;align-items:flex-start;gap:6px}.brand-lockup{gap:12px}.brand-garden{font-size:18px}.brand-divider{height:17px}.brand-project{font-size:16px}.brand-project>span{font-size:13px;margin-left:2px}.shared-brand-subtitle{font-size:8px;border:0;padding:0;letter-spacing:.16em}.site-header .text-button{font-size:9px;white-space:nowrap}.setup-section{padding-top:20px}.section-heading h1{font-size:14px}.section-heading{margin-bottom:14px}.start-bar{padding-bottom:20px}}

.settings-panel{display:block}.settings-panel>.divider{display:block;margin:18px 0}.settings-panel details{border:0;padding-top:0}

.shared-partners{background:#edf3e6;border-color:#c4d4b4}.shared-partners>p{font-size:11px;line-height:1.9;margin:9px 0 0;color:var(--muted)}.shared-partners .partner-number{color:var(--green)}.missing-role-summary{display:flex;align-items:center;justify-content:space-between;gap:15px;border:1px solid #d9c6b5;background:#f5ede2;border-radius:7px;padding:10px 13px;margin-top:18px}.missing-role-summary span{font-size:10px;color:#8c6f51}.missing-role-summary strong{font-size:12px;font-weight:500}.rule-heading>h4{font-size:12px;font-weight:500;margin:0}

/* Direct roster entry keeps the native keyboard and paste menu available. */
.bulk-editor{margin-top:0}.bulk-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.bulk-editor-heading label{font-size:12px;font-weight:500}.bulk-editor-heading .text-button{font-size:10px;min-height:40px;padding:8px}.bulk-editor .bulk-textarea{display:block;font-size:16px;line-height:1.65;min-height:190px;max-height:45dvh;background:var(--white);border:1.5px solid #b7c7aa;cursor:text;-webkit-user-select:text;user-select:text;touch-action:auto;border-radius:8px;padding:12px;appearance:none;-webkit-appearance:none}.bulk-editor .bulk-textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px #506c3e12;outline:0}.bulk-empty-note{font-size:10px;color:var(--muted);margin:10px 0 14px;line-height:1.8}.bulk-register{width:100%;font-size:12px;min-height:46px;margin-top:10px}.bulk-editor .bulk-preview-list{font-size:12px;gap:6px 18px;grid-template-columns:1fr;padding-left:24px}.bulk-editor .bulk-preview-heading{margin:13px 0 7px}.bulk-editor .bulk-preview-heading>span{font-size:8px}.settings-panel details{margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}
.brand-logo{display:block;width:60px;height:60px;object-fit:contain;border-radius:50%;flex-shrink:0}.brand-logo-pair{gap:15px}.shared-brand .brand-divider{height:35px;background:#d6ddce}.copyright{font-size:9px;color:#8b9483;letter-spacing:.03em;text-align:center;padding:18px 0 calc(18px + env(safe-area-inset-bottom));border-top:1px solid var(--line);line-height:1.8}.page-shell{padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}
@media(max-width:780px){.bulk-editor .bulk-preview-list{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
@media(max-width:480px){.brand.shared-brand{flex-direction:row;align-items:center;gap:12px}.brand-logo{width:52px;height:52px}.brand-logo-pair{gap:11px}.site-header{height:88px}.shared-brand-subtitle{font-size:10px;letter-spacing:.05em}.shared-brand .brand-divider{height:28px}.site-header .text-button{min-height:44px;min-width:44px}.step-button{width:44px;height:44px;font-size:23px}.player-count{font-size:38px}.player-stepper{justify-content:center;gap:34px}.delivery-option{min-height:70px}.role-row{padding:10px;display:grid;grid-template-columns:35px minmax(0,1fr);gap:7px 9px;min-height:120px}.role-row .role-icon{width:35px;height:35px;grid-column:1;grid-row:1}.role-row .role-copy{grid-column:2;grid-row:1}.role-counter{grid-column:1/-1;grid-row:2;justify-content:space-between;gap:5px;border-top:1px solid var(--line);padding-top:5px}.role-counter button{width:44px;height:44px;font-size:23px}.role-counter output{font-size:21px;min-width:24px}.role-name{font-size:13px}.role-team{font-size:9px}.rule-choice{min-height:44px;min-width:49px;font-size:12px;padding:7px 12px}.rule-heading{gap:9px}.rule-heading h4,.rule-heading>h4{font-size:12px}.rule-description{font-size:11px}.bulk-editor .bulk-textarea{font-size:16px;min-height:210px}.name-row input{font-size:16px;min-height:44px;padding:9px 10px}.bulk-editor-heading .text-button{font-size:11px;min-width:44px;min-height:44px}.bulk-editor .bulk-preview-list{font-size:11px;gap:6px 17px}.bulk-register{min-height:48px;font-size:13px}.close-button{width:44px;height:44px}.modal-content{padding:20px}.primary-button,.secondary-button{min-height:48px}.gm-hide-button{min-height:44px}.copyright{font-size:8px;padding-top:15px}.names-toggle{min-height:44px;font-size:11px}}
@media(max-width:360px){.brand-logo{width:46px;height:46px}.brand-logo-pair{gap:8px}.brand.shared-brand{gap:9px}.shared-brand-subtitle{font-size:9px}.bulk-editor .bulk-preview-list{grid-template-columns:1fr}}

.role-art-icon{display:block;width:100%;height:100%;object-fit:contain;flex-shrink:0}.role-icon:has(.role-art-icon){background:transparent}.secret-card.artwork-card img{position:static;display:block;width:100%;height:auto;left:auto;top:auto;max-width:100%}
@media(max-width:480px){.setup-section{padding-bottom:115px}.start-bar{position:fixed;z-index:5;left:18px;right:18px;bottom:0;margin:0;padding:10px 0 calc(10px + env(safe-area-inset-bottom));gap:7px;border-top:1px solid #d5decb;background:#f7f6f0f5;backdrop-filter:blur(10px);box-shadow:0 -10px 18px #f7f6f0d9}.start-bar .start-button{min-height:49px}.start-bar .ready-status{min-height:27px}.start-bar .ready-status strong{font-size:11px}.start-bar .ready-status p{font-size:9px;max-height:32px;overflow:auto}body:has(#bulk-name-text:focus) .start-bar,body:has(.name-row input:focus) .start-bar{display:none}body:has(.setup-section) .copyright{padding-bottom:calc(120px + env(safe-area-inset-bottom))}.step-button{min-width:44px;min-height:44px}.bulk-empty-note{font-size:10px}.brand-logo-pair .brand-divider{display:none}.brand-logo-pair{gap:12px}}

button{touch-action:manipulation}
.names-actions{display:flex;justify-content:flex-end;margin:6px 0 -8px}.names-actions .text-button{min-width:44px;min-height:44px;padding:8px;font-size:11px}
.settings-panel details{margin-top:0;padding-top:0;border-top:0}.settings-panel details+.bulk-editor{margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}

.staff-edition-note{display:block;font:8px/1.3 var(--sans);letter-spacing:.03em;margin-top:2px;color:var(--muted)}

/* The role's icon and label form one tap target, independent of its counter. */
.role-summary{display:flex;align-items:center;gap:12px;flex:1;min-width:0;min-height:44px;border-radius:6px}.role-info-dialog>p{font-size:14px;line-height:1.9}.delivery-note{font-size:11px;line-height:1.8;color:var(--muted);margin:12px 0 0}@media(max-width:480px){.role-row .role-summary{grid-column:1/-1;grid-row:1;gap:9px}.role-summary .role-copy{min-width:0}.role-info-dialog>p{font-size:14px}.delivery-note{font-size:10px}}
.setup-return {
  display: flex;
  justify-content: center;
  margin: 24px 0 20px;
}
.setup-return .setup-return-button {
  min-height: 44px;
  width: min(100%, 290px);
}
