:root{--bg:#f7f6ef;--ink:#263d34;--muted:#758078;--green:#346b52;--line:#dddeda;--orange:#ec7954;--light:#eaf1e7}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:'Noto Sans JP',sans-serif;-webkit-font-smoothing:antialiased}button,input{font:inherit}button{cursor:pointer;color:inherit;transition:background .18s,transform .18s,box-shadow .18s}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #ed7957;outline-offset:4px}button:hover:not(:disabled){filter:brightness(.97)}button:active:not(:disabled){transform:translateY(1px)}button:disabled{cursor:default;opacity:.4}button[hidden]{display:none}a{color:inherit;text-decoration:none}.topbar{height:98px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;max-width:1440px;margin:auto;padding:0 48px}.brand{display:flex;gap:11px;align-items:center;font-size:25px;font-weight:900;letter-spacing:-1px}.brand small{display:block;font-size:9px;letter-spacing:1.1px;font-weight:600;margin-top:0}.brand-mark{background:var(--orange);color:white;display:grid;place-items:center;width:42px;height:45px;border-radius:13px;font-size:39px;font-weight:500;line-height:1}.top-right{display:flex;align-items:center;gap:28px}.prototype{font-size:10px;letter-spacing:1px;background:#e9eee6;border:1px solid #d7e2d4;border-radius:20px;padding:7px 11px;font-weight:700}.prototype i,.live-dot{display:inline-block;width:6px;height:6px;background:#6b9b67;border-radius:50%;margin-right:6px}.plain{border:0;background:transparent;font-size:11px}.plain span{margin-left:10px}main{max-width:1440px;margin:auto;padding:0 48px}.intro{display:flex;align-items:center;justify-content:space-between;padding:40px 0 30px}.eyebrow{font-size:10px;letter-spacing:1.6px;font-weight:700;color:var(--green);display:flex;align-items:center;gap:8px}.eyebrow>span{height:7px;width:7px;background:var(--orange);border-radius:50%}h1{margin:11px 0 13px;font-size:clamp(28px,3vw,43px);font-weight:800;letter-spacing:-1.8px}h1 span{color:var(--green)}.intro p{font-size:12px;line-height:1.9;color:#69796e;margin:0}.intro-note{display:flex;gap:13px;align-items:center;font-size:10px;line-height:1.9;transform:rotate(-5deg);padding-right:25px}.tiny-doodle{font-size:48px;color:var(--orange);font-weight:400}.intro-note b{font-weight:500}.workspace{display:grid;grid-template-columns:290px minmax(0,1fr);gap:20px;align-items:start}.question-panel{background:#fff;border:1px solid #e0e3d9;border-radius:20px;padding:23px 22px;min-height:590px;display:flex;flex-direction:column;box-shadow:0 4px 12px #2a443005}.panel-top{display:flex;justify-content:space-between;align-items:center}.small-caps{font-size:10px;letter-spacing:1.5px;font-weight:700}.step-count{font-size:12px;color:var(--green);font-weight:700}.progress{display:flex;gap:4px;margin:14px 0 29px}.progress button{flex:1;border:0;border-radius:9px;height:4px;background:#ebede6;padding:0}.progress button.done{background:#b0c7ac}.progress button.active{background:var(--green)}.question{flex:1}.question .q-kicker{font-size:10px;color:var(--orange);font-weight:700;letter-spacing:.6px}.question h2{font-size:23px;line-height:1.55;letter-spacing:-.8px;margin:9px 0}.question .q-description{font-size:11px;line-height:1.8;color:var(--muted);margin:0 0 20px}.choices{display:grid;gap:9px}.choice{width:100%;display:flex;gap:12px;align-items:center;border:1px solid #e1e4dc;border-radius:12px;background:#fff;padding:9px 11px;text-align:left;position:relative;min-height:69px}.choice.selected{border:1.5px solid var(--green);background:#f0f5ed;box-shadow:0 0 0 1px #346b5210}.choice-art{width:59px;height:45px;border-radius:8px;overflow:hidden;flex:none;display:grid;place-items:center;background:#eef1e5}.choice-art svg{width:100%;height:100%}.choice-text strong{font-size:12px;font-weight:700;display:block}.choice-text small{font-size:9px;color:var(--muted);display:block;margin-top:3px}.check{margin-left:auto;width:17px;height:17px;border-radius:50%;border:1px solid #d7ddd2;display:grid;place-items:center;color:white;font-size:10px;flex:none}.selected .check{background:var(--green);border-color:var(--green)}.choice.compact{min-height:54px}.choice.compact .choice-art{width:35px;height:35px;font-size:20px}.question-nav{display:flex;align-items:center;gap:10px;margin-top:25px}.back-btn{border:0;background:none;font-size:10px;padding:9px 2px;white-space:nowrap}.primary{border:0;background:var(--green);color:#fff;border-radius:9px;padding:13px 16px;font-size:12px;font-weight:600;display:flex;align-items:center;justify-content:space-between;gap:18px;flex:1}.question-foot{text-align:center;font-size:9px;color:#8a958a;margin-top:14px}.question-foot span{color:var(--orange);font-size:14px;margin-right:3px}.map-column{min-width:0}.map-header{height:48px;display:flex;align-items:flex-start;justify-content:space-between;padding:0 3px}.map-header>div{padding-top:5px;display:flex;align-items:center;flex-wrap:wrap}.map-header b{font-size:15px;letter-spacing:.5px}.map-subtitle{margin-left:14px;font-size:9px;color:var(--muted)}.icon-button{border:1px solid #d9dfd3;background:transparent;border-radius:8px;padding:7px 10px;font-size:15px}.icon-button span{font-size:10px;margin-left:6px}.map-shell{position:relative;overflow:hidden;background:#e6eddd;border-radius:17px;border:1px solid #d4dfcb;box-shadow:inset 0 0 0 6px #ffffff60;isolation:isolate;aspect-ratio:1000/710}.map-shell svg{display:block;width:100%;height:100%;touch-action:pan-y;user-select:none}.map-shell.adding{cursor:crosshair}.map-shell.adding svg{touch-action:none}.map-stamp{position:absolute;left:22px;top:20px;pointer-events:none}.map-stamp span{font-size:14px;font-weight:900;letter-spacing:3px;color:#3a694e}.map-stamp small{display:block;font-size:6px;letter-spacing:1.5px;color:#6f8c72;margin-top:2px}.map-compass{position:absolute;right:23px;top:20px;text-align:center;line-height:1.3;color:#5d8068;font-size:12px;font-weight:600;pointer-events:none}.map-instruction{position:absolute;bottom:17px;left:50%;transform:translateX(-50%);background:#fffffff0;border:1px solid #dae1d2;border-radius:30px;font-size:9px;white-space:nowrap;padding:8px 15px;box-shadow:0 2px 4px #27453208;pointer-events:none}.map-footer{display:flex;justify-content:space-between;font-size:9px;color:#8c9487;margin:11px 3px}.legend{display:flex;gap:17px}.legend span{display:flex;align-items:center;gap:5px}.legend i{width:7px;height:7px;border-radius:2px;background:#a6c7b4}.legend i.building{background:#dba786}.legend i.public{background:#edbc65}.story-strip{background:#eef0e6;border:1px solid #e0e4d7;padding:13px 17px;display:flex;gap:13px;align-items:center;border-radius:12px;margin-top:17px}.story-icon{color:#ba985b;font-size:27px}.story-strip small{font-size:9px;color:#7c8978;letter-spacing:.5px}.story-strip p{font-size:11px;line-height:1.7;margin:4px 0 0;font-weight:500}.edit-section{padding:39px 0 30px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:19px}.section-heading h2{font-size:22px;letter-spacing:-.7px;margin:7px 0}.section-heading p{color:var(--muted);font-size:11px;margin:0}.outline{background:transparent;border:1px solid #ccd5c6;padding:9px 12px;border-radius:8px;font-size:10px;white-space:nowrap}.editor-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px}.edit-card{padding:19px 20px;background:#fafbf5;border:1px solid #dee2d6;border-radius:13px}.card-heading{display:flex;align-items:center;gap:8px}.number{color:#6a8c6a;font-size:10px;border:1px solid #cad5c4;width:24px;height:24px;border-radius:50%;display:grid;place-items:center}h3{font-size:12px;margin:0}.edit-card>p{font-size:10px;color:var(--muted);line-height:1.8;margin:10px 0 13px}.add-palette{display:flex;gap:7px;flex-wrap:wrap}.add-palette button{border:1px solid #dbe0d2;background:white;border-radius:9px;flex:1;min-width:49px;padding:8px 5px;font-size:9px}.add-palette button span{display:block;font-size:20px;margin-bottom:4px}.add-palette button.active{background:#e7efdF;border-color:var(--green)}.text-button{border:0;background:none;font-size:10px;padding:8px 0;color:#5c7462}.move-control{display:flex;align-items:center;gap:15px}.dpad{display:flex;gap:5px}.dpad button{border:1px solid #d8ded0;background:white;width:29px;height:31px;border-radius:6px}.delete{color:#b27160;font-size:9px}.edit-hint{display:block;font-size:9px;color:#929a8e;line-height:1.6;margin-top:8px}.slider-label{font-size:10px;display:flex;justify-content:space-between;margin:13px 0 8px}.slider-label b{font-weight:500;color:#698567}input[type=range]{width:100%;accent-color:var(--green);height:5px;cursor:pointer;margin:8px 0 10px}.range-labels{display:flex;justify-content:space-between;font-size:8px;color:#8a9685}.save-actions{margin-top:17px;display:flex;gap:10px;align-items:center}.save-actions .outline{padding:7px 10px;font-size:9px}.save-actions .text-button{font-size:9px}.future-note{display:flex;gap:22px;align-items:flex-start;padding:25px 0 29px;border-top:1px dashed #ccd3c6;border-bottom:1px solid var(--line)}.future-badge{color:#939b8b;letter-spacing:1.2px;border:1px solid #d2d7cb;border-radius:4px;font-size:8px;white-space:nowrap;padding:6px;margin-top:1px}.future-note h3{font-size:12px;font-weight:500}.future-note p{font-size:10px;line-height:1.9;color:#90978a;max-width:840px;margin:8px 0 0}.future-icon{margin-left:auto;font-size:43px;color:#cbd4c1;padding:0 6px;align-self:center}footer{display:flex;justify-content:space-between;align-items:center;padding:22px 0 30px}.footer-logo{font-size:14px;font-weight:800;color:#6d826d}.footer-logo span{font-size:9px;font-weight:400;margin-left:14px}.toast{position:fixed;left:50%;bottom:26px;transform:translate(-50%,16px);background:#263d34;color:white;border-radius:10px;padding:12px 20px;font-size:12px;z-index:100;opacity:0;pointer-events:none;transition:.2s;max-width:90vw;text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}dialog{border:1px solid #d8e0d2;border-radius:20px;padding:36px;width:min(520px,90vw);color:var(--ink);box-shadow:0 25px 70px #253f3830}dialog::backdrop{background:#152e2570;backdrop-filter:blur(4px)}dialog h2{font-size:24px;line-height:1.7}dialog p,dialog li{font-size:12px;line-height:2;color:#71806f}dialog ul{padding-left:18px;margin-bottom:25px}.dialog-close{position:absolute;right:16px;top:13px;border:0;background:none;font-size:25px;color:#8b9686}.name-input{width:100%;border:1.5px solid #c5d4bf;border-radius:10px;padding:13px 12px;margin:8px 0 15px;color:var(--ink);font-size:16px;background:#f8faf5}.name-preview{background:#edf2e5;border-radius:12px;padding:22px 15px;text-align:center;margin-top:15px}.name-preview .big-icon{font-size:42px}.name-preview p{font-size:11px;line-height:1.8;color:#708166}.question .green-visual{width:100%;height:110px;margin:15px 0}.completion-icon{font-size:44px}.answer-list{list-style:none;padding:0;margin:12px 0}.answer-list li{font-size:11px;border-bottom:1px solid #e4e9df;padding:10px 0;display:flex;justify-content:space-between}.answer-list small{color:#909a8b}.mobile-only{display:none}.facility{cursor:grab;outline:none}.facility:active{cursor:grabbing}.facility .selection-ring{opacity:0}.facility.selected .selection-ring,.facility:focus .selection-ring{opacity:1}.facility.selected{filter:drop-shadow(0 3px 5px #48704c30)}.facility text{pointer-events:none}.facility:hover .facility-body{filter:brightness(1.05)}@media(min-width:1450px){.question-panel{min-height:690px}.question h2{font-size:26px}.choice{min-height:83px}.choice-art{height:52px;width:67px}.question-nav{margin-top:40px}}@media(max-width:1100px){.topbar{padding:0 28px}main{padding:0 28px}.workspace{grid-template-columns:260px minmax(0,1fr);gap:17px}.question-panel{padding:19px 17px;min-height:566px}.map-subtitle{display:none}.intro-note{padding-right:0}.edit-card{padding:17px 13px}.save-actions{flex-wrap:wrap;gap:2px}.move-control{gap:8px}.dpad{gap:3px}.dpad button{width:25px}.map-header b{font-size:13px}.map-instruction{font-size:8px;padding:7px 10px}}@media(max-width:800px){.topbar{height:76px;padding:0 21px}.top-right{gap:12px}.plain{display:none}main{padding:0 21px}.intro{padding:27px 0 22px}.intro-note{display:none}.intro p{font-size:11px}.workspace{grid-template-columns:235px minmax(0,1fr);gap:13px}.question-panel{padding:17px 14px;min-height:520px}.question h2{font-size:21px}.choice{padding:7px;gap:8px}.choice-art{width:43px;height:38px}.choice-text strong{font-size:11px}.choice-text small{font-size:8px}.progress{margin-bottom:21px}.map-shell{aspect-ratio:1000/900}.map-shell svg{height:100%;object-fit:contain}.map-stamp{top:14px;left:14px}.map-stamp span{font-size:11px}.map-stamp small{font-size:5px}.map-compass{right:14px;top:14px}.map-instruction{font-size:7px}.story-strip{padding:11px;gap:8px}.story-strip p{font-size:10px}.map-footer{font-size:8px}.legend{gap:7px}.map-footer>span{display:none}.editor-grid{grid-template-columns:1fr 1fr}.edit-card:last-child{grid-column:1/-1}.save-actions{flex-wrap:nowrap;gap:12px}.future-note{gap:13px}.future-icon{display:none}}@media(max-width:580px){.brand{font-size:22px}.brand-mark{width:36px;height:39px;font-size:33px}.brand small{font-size:8px}.prototype{font-size:8px;padding:6px 8px}.topbar{height:74px;padding:0 18px}main{padding:0 16px}.intro{padding:25px 2px 23px}.eyebrow{font-size:8px}h1{font-size:27px;letter-spacing:-1.5px;margin:11px 0}.intro p{font-size:10px;line-height:1.9}.mobile-only{display:block}.workspace{display:flex;flex-direction:column;gap:22px}.question-panel{width:100%;min-height:0;padding:18px 18px 14px;position:relative}.progress{margin:10px 0 17px}.question .q-kicker{font-size:9px}.question h2{font-size:22px;margin:5px 0 7px}.question h2 br{display:none}.question .q-description{font-size:10px;margin:0 0 13px}.choices{grid-template-columns:repeat(3,1fr);gap:8px}.choice{display:flex;flex-direction:column;align-items:center;gap:7px;padding:9px 4px;min-height:117px;text-align:center}.choice-art{height:42px;width:62px}.choice-text strong{font-size:10px}.choice-text small{font-size:8px;line-height:1.6}.check{position:absolute;right:5px;top:5px;width:13px;height:13px;font-size:8px}.choice.compact{min-height:91px}.choice.compact .choice-art{font-size:25px;width:37px;height:34px}.choices.many{grid-template-columns:repeat(3,1fr)}.choices.many .choice{min-height:94px}.choices.many .choice-text small{display:none}.question-nav{margin-top:17px}.primary{font-size:11px;padding:11px 14px}.back-btn{padding:8px 0;min-width:52px}.question-foot{font-size:8px;margin-top:10px}.map-column{width:100%}.map-header{height:39px}.map-header b{font-size:13px}.map-subtitle{display:none}.icon-button{padding:5px 8px;font-size:13px}.icon-button span{font-size:9px}.map-shell{aspect-ratio:1000/850}.map-shell svg{height:100%;width:100%}.map-stamp{top:13px;left:13px}.map-compass{font-size:10px}.map-instruction{bottom:12px;font-size:8px}.map-footer{font-size:8px;margin:9px 1px}.map-footer>span{display:inline}.legend{gap:10px}.story-strip{margin-top:12px;padding:12px 13px}.story-strip p{font-size:10px}.story-strip small{font-size:8px}.edit-section{padding-top:29px}.section-heading{gap:10px;margin-bottom:16px}.section-heading h2{font-size:18px;letter-spacing:-.7px}.section-heading p{font-size:9px}.section-heading>.outline{font-size:9px;padding:8px}.editor-grid{grid-template-columns:1fr;gap:11px}.edit-card:last-child{grid-column:auto}.edit-card{padding:16px}.edit-card>p{margin:8px 0 11px}.card-heading h3{font-size:12px}.add-palette button{font-size:10px}.move-control{justify-content:space-between}.dpad button{width:38px;height:34px}.dpad{gap:7px}.delete{font-size:10px}.save-actions{margin-top:15px;gap:17px}.save-actions .outline,.save-actions .text-button{font-size:10px}.future-note{display:block;padding:22px 0}.future-badge{display:inline-block;margin-bottom:12px}.future-note p{font-size:9px}.future-note h3{font-size:11px}footer{padding:19px 0 24px;align-items:start;gap:10px}.footer-logo span{display:block;margin:5px 0;font-size:8px}.footer-logo{font-size:12px}footer button{font-size:9px!important}.question .green-visual{height:90px;margin:4px 0}.name-preview{display:none}.completion-icon{font-size:32px}.answer-list{display:grid;grid-template-columns:1fr 1fr;gap:0 15px}.answer-list li{font-size:10px;padding:7px 0}.question-panel.complete .question-nav{margin-top:12px}dialog{padding:30px 24px}dialog h2{font-size:21px}dialog p,dialog li{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
.design-card{display:flex;gap:24px;align-items:center;background:#fff;border:1px solid #dfe3d7;border-radius:14px;padding:20px 22px;margin:0 0 16px}.design-intro{width:215px}.design-intro .small-caps{font-size:8px;color:#8d9b86}.design-intro h3{font-size:13px;margin:8px 0}.design-intro p{font-size:10px;color:var(--muted);line-height:1.8;margin:0}.design-options{display:flex;gap:10px;flex:1}.design-choice{border:1px solid #dde2d5;border-radius:9px;background:#fff;padding:7px;flex:1;min-width:95px;text-align:left}.design-choice.active{background:#f0f5eb;border-color:var(--green)}.design-choice b{display:block;font-size:10px;margin:7px 0 3px}.design-choice small{display:block;font-size:8px;color:#7e8c75}.design-thumb{height:45px;border-radius:5px;display:flex;gap:6px;padding:12px 9px 0;overflow:hidden;background:#e0ead3}.design-thumb i{display:block;width:25%;height:38px;background:#ceb28a;border-radius:7px 7px 0 0}.design-thumb i:nth-child(2){height:33px;margin-top:9px;background:#9cb39d}.design-thumb i:nth-child(3){background:#bcae85}.design-thumb.tropical{background:#b7d7d2}.tropical i{background:#edbc85}.tropical i:nth-child(2){background:#d695a5}.tropical i:nth-child(3){background:#99b889}.design-thumb.street{background:#8abcc6;padding:8px 5px;position:relative}.street:after{content:'';position:absolute;width:200%;height:13px;background:#ebc362;transform:rotate(-24deg);left:-20px;top:15px}.street i{width:38%;border-radius:50%;background:#d88c9a}.street i:nth-child(2){background:#a18abc;border-radius:40% 10%}.street i:nth-child(3){background:#e0ae7c;border-radius:35%}.accent-picker{border-left:1px solid #e2e7dc;padding-left:22px}.accent-picker>span{font-size:10px}.accent-picker>div{display:flex;gap:8px;margin:10px 0}.accent-picker button{width:22px;height:22px;background:var(--swatch);border:3px solid white;border-radius:50%;box-shadow:0 0 0 1px #d9dece}.accent-picker button.active{box-shadow:0 0 0 2px #617d5c}.accent-picker small{font-size:8px;color:#8f9988;line-height:1.7}.add-palette{display:grid;grid-template-columns:repeat(5,1fr)}.add-palette button{min-width:0;font-size:8px}.add-palette button span{font-size:18px}.question:has(.choices.many) .choice.compact{min-height:50px}.question:has(.choices.many) .choices{gap:6px}.question:has([data-choice=futsal]) .choices{grid-template-columns:1fr 1fr}.question:has([data-choice=futsal]) .choice{padding:6px;gap:6px}.question:has([data-choice=futsal]) .choice-text strong{font-size:9px}.question:has([data-choice=futsal]) .choice-text small{display:none}.question:has([data-choice=futsal]) .choice-art{width:29px;height:28px}.question:has([data-choice=futsal]) .check{width:12px;height:12px;font-size:8px}.question:has([data-choice=futsal]) .choice-text{flex:1}
@media(max-width:1100px){.design-card{gap:16px;padding:17px}.design-intro{width:170px}.accent-picker{padding-left:16px}.design-choice{min-width:85px}.design-choice b{font-size:9px}}@media(max-width:800px){.design-card{flex-wrap:wrap}.design-intro{width:100%}.design-intro h3{display:inline;margin-left:10px}.design-intro p{margin-top:6px}.accent-picker{border-left:0}.design-options{min-width:60%}}
@media(max-width:580px){.design-card{display:block;padding:16px}.design-intro h3{display:block;margin:7px 0}.design-options{margin:14px 0}.design-choice{min-width:0}.design-choice b{font-size:8px}.design-choice small{font-size:7px}.design-thumb{height:39px}.accent-picker{padding:0;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.accent-picker small{font-size:7px;line-height:1.5}.accent-picker>div{gap:6px}.accent-picker button{width:20px;height:20px}.add-palette button{font-size:9px}.question:has([data-choice=futsal]) .choices{grid-template-columns:repeat(4,1fr)}.question:has([data-choice=futsal]) .choice-art{width:43px;height:31px}.question:has([data-choice=futsal]) .choice.compact{min-height:71px}.question:has([data-choice=futsal]) .choice-text strong{font-size:8px}.question:has([data-choice=futsal]) .choice-text{flex:0}.question:has([data-choice=futsal]) .choice{padding:7px 3px;gap:5px}.question:has([data-choice=futsal]) .check{width:10px;height:10px;font-size:6px;right:3px;top:3px}}
.question-foot button{border:0;background:transparent;color:#78916f;font-size:9px;padding:4px 0}.mobile-map-back{display:none}@media(max-width:580px){h1{font-size:28px;line-height:1.45}h1 span{display:block}.question h2 br{display:initial}.question h2{font-size:21px}.mobile-map-back{display:inline;border:0;background:transparent;color:#6e8664;padding:0;font-size:8px}.question-foot button{font-size:9px}.map-footer>span{display:none}}

/* AI CITY integration: scoped standalone styles and comfortable touch targets. */
.site-links{max-width:1440px;margin:auto;padding:14px 48px 0;display:flex;justify-content:space-between;font-size:11px;color:#637b68}.site-links div{display:flex;gap:20px}.site-links a{padding:6px 0}.site-links a:hover,.reference-note a:hover{text-decoration:underline}.brand{font-size:22px}.play-note{border:1px solid var(--line);border-radius:14px;padding:26px 30px;margin:24px 0;background:#f1f3e9}.play-note h2{font-size:20px;margin:10px 0}.play-note p{font-size:12px;line-height:1.95;max-width:970px}.play-note .reference-note{font-size:10px;color:#66776a}.reference-note a{text-decoration:underline;text-underline-offset:3px}.question:has([data-choice=adventure]) .choices{grid-template-columns:1fr 1fr}.question:has([data-choice=adventure]) [data-choice=adventure],.question:has([data-choice=adventure]) [data-choice=playhall]{grid-column:1/-1;min-height:62px;background:#f2f6ec;flex-direction:row;text-align:left}.question:has([data-choice=adventure]) [data-choice=playhall]{background:#f7f0f7}.question:has([data-choice=adventure]) [data-choice=adventure] .choice-art,.question:has([data-choice=adventure]) [data-choice=playhall] .choice-art{width:63px;height:45px}.question:has([data-choice=adventure]) [data-choice=adventure] strong,.question:has([data-choice=adventure]) [data-choice=playhall] strong{font-size:12px}.question:has([data-choice=adventure]) [data-choice=adventure] small,.question:has([data-choice=adventure]) [data-choice=playhall] small{display:block;font-size:9px;margin-top:4px}.add-palette button{min-height:57px}.map-stamp span{font-size:11px}dialog{max-height:90dvh;overflow:auto}#cityMap{touch-action:pan-y}#cityMap .facility{touch-action:none}.topbar .brand small{letter-spacing:.5px}.footer-logo{font-size:17px}
@media(max-width:580px){.topbar{height:auto;min-height:83px;gap:10px;padding-top:12px;padding-bottom:12px}.brand{font-size:17px;letter-spacing:-.5px}.brand-mark{width:33px;height:37px;font-size:31px}.brand small{font-size:8px}.top-right{gap:4px}.top-right .plain{font-size:10px;padding:8px 0}.top-right .plain span{display:none}.site-links{padding:10px 20px 0;gap:4px;font-size:9px;align-items:center}.site-links div{gap:9px}.site-links a{min-height:38px;display:flex;align-items:center}.question:has([data-choice=adventure]) .choices{grid-template-columns:repeat(3,1fr)}.question:has([data-choice=adventure]) .choice-text{flex:1}.question:has([data-choice=adventure]) .choice-text strong{font-size:10px}.question:has([data-choice=adventure]) .choice.compact{min-height:78px}.question:has([data-choice=adventure]) [data-choice=adventure],.question:has([data-choice=adventure]) [data-choice=playhall]{min-height:65px;padding:8px 13px}.question:has([data-choice=adventure]) .check{width:15px;height:15px;font-size:10px}.play-note{padding:20px}.play-note h2{font-size:18px}.play-note .reference-note{font-size:11px}.add-palette{grid-template-columns:repeat(3,1fr)}.add-palette button{font-size:11px;min-height:65px}.accent-picker button{width:30px;height:30px}.dpad button{min-width:44px;min-height:44px}.map-stamp span{font-size:8px}.footer-logo{font-size:14px}.map-instruction{font-size:9px}#cancelAddBtn{position:sticky;bottom:12px;background:#fff;padding:12px;border:1px solid var(--line);border-radius:8px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

.career-link{display:block;color:var(--green);font-size:12px;text-decoration:underline;margin-top:15px;padding:10px 0}.question:has([data-choice=doctor]) .choice-text strong{font-size:11px}

/* Twenty-two careers grouped by their role in the town. */
.job-count{font-size:12px;color:var(--green);font-weight:700;margin:0 0 12px}.job-count span{display:block;font-size:10px;font-weight:400;margin-top:4px;color:var(--muted)}.job-groups{max-height:550px;overflow-y:auto;scrollbar-width:thin;padding:3px 5px 8px 2px;overscroll-behavior:contain}.job-group{border:0;border-top:1px solid #dfe5d8;padding:12px 0 16px;margin:0;min-width:0}.job-group legend{padding:0 8px 0 0;font-size:11px;font-weight:700;color:#5d7a61}.job-choices{display:grid;gap:7px}.job-choices .job-choice{min-height:63px;padding:7px;display:flex;flex-direction:row;text-align:left;gap:8px}.job-choice .choice-art{width:44px;height:38px;flex-shrink:0}.job-choice .choice-text{flex:1}.job-choice .choice-text strong{font-size:12px}.job-choice .choice-text small{display:block;font-size:9px;line-height:1.6;margin-top:3px}.job-choice .check{flex-shrink:0}.meeting-note{font-size:10px;line-height:1.8;background:#f0f4e9;padding:12px;border-radius:8px;margin:12px 0 0}
@media(max-width:580px){.job-groups{max-height:490px;padding-right:6px}.job-choices .job-choice{min-height:67px;padding:9px;gap:10px}.job-choice .choice-text strong{font-size:12px}.job-choice .choice-text small{font-size:10px}.job-choice .check{position:static}.job-count span{display:inline;margin-left:8px}.meeting-note{font-size:11px}}

.question:has([data-choice=experience]) [data-choice=experience]{grid-column:1/-1;min-height:62px;background:#f0eff8;flex-direction:row;text-align:left}.question:has([data-choice=experience]) [data-choice=experience] .choice-art{width:63px;height:45px}.question:has([data-choice=experience]) [data-choice=experience] strong{font-size:12px}.question:has([data-choice=experience]) [data-choice=experience] small{display:block;font-size:9px;margin-top:4px}
@media(max-width:580px){.question:has([data-choice=experience]) [data-choice=experience]{min-height:65px;padding:8px 13px}}

/* Flower and scenery cards remain readable inside the narrow question panel. */
.question:is(:has([data-choice=tulip]),:has([data-choice=city])) .choices{grid-template-columns:minmax(0,1fr);gap:8px}
.question:is(:has([data-choice=tulip]),:has([data-choice=city])) .choices .choice.compact{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:10px;min-height:72px;padding:10px;text-align:left;grid-column:auto}
.question:is(:has([data-choice=tulip]),:has([data-choice=city])) .choices .choice-art{width:48px;height:42px;flex:0 0 48px}
.question:is(:has([data-choice=tulip]),:has([data-choice=city])) .choices .choice-text{flex:1 1 0;min-width:0}
.question:is(:has([data-choice=tulip]),:has([data-choice=city])) .choices .choice-text strong{font-size:12px;line-height:1.6;word-break:normal;overflow-wrap:normal}
.question:is(:has([data-choice=tulip]),:has([data-choice=city])) .choices .choice-text small{display:block;font-size:10px;line-height:1.6;margin-top:3px}
.question:is(:has([data-choice=tulip]),:has([data-choice=city])) .choices .check{position:static;flex:0 0 17px;width:17px;height:17px;margin-left:0;font-size:10px}
@media(max-width:580px){
.question:is(:has([data-choice=tulip]),:has([data-choice=city])) .choices .choice.compact{min-height:76px;padding:11px 12px;gap:12px}
.question:is(:has([data-choice=tulip]),:has([data-choice=city])) .choices .choice-text strong{font-size:13px}
}

/* Grouped activity choices: full-width cards avoid narrow Japanese labels. */
.activity-groups{max-height:560px;overflow-y:auto;scrollbar-width:thin;overscroll-behavior:contain;padding:3px 6px 8px 2px}.activity-choices{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
.question .activity-groups .activity-choice.choice{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:9px;padding:9px;min-height:72px;grid-column:auto;text-align:left}
.question .activity-groups .activity-choice .choice-art{width:46px;height:42px;flex:0 0 46px}
.question .activity-groups .activity-choice .choice-text{flex:1 1 0;min-width:0}
.question .activity-groups .activity-choice .choice-text strong{font-size:12px;line-height:1.6;word-break:normal}
.question .activity-groups .activity-choice .choice-text small{display:block;font-size:10px;line-height:1.6;margin-top:3px}
.question .activity-groups .activity-choice .check{position:static;flex:0 0 15px;width:15px;height:15px;font-size:9px;margin:0}
.activity-help{font-size:10px;line-height:1.8;color:var(--muted);margin:10px 0 0}.legend{flex-wrap:wrap}
@media(max-width:580px){.activity-groups{max-height:500px}.question .activity-groups .activity-choice.choice{min-height:76px;padding:10px;gap:10px}.question .activity-groups .activity-choice .choice-text strong{font-size:13px}.activity-help{font-size:11px}}

.foundations{margin:27px 0 12px;padding:25px 28px;border:1px solid #dce3d5;border-radius:16px;background:#f0f3e9}.foundations h2{font-size:22px;margin:10px 0}.foundations>p{font-size:12px;line-height:1.85;color:#687b6d}.foundation-list{list-style:none;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}.foundation-list li{display:flex;gap:10px;background:#fbfcf6;border-radius:10px;padding:14px;min-width:0}.foundation-icon{font-size:23px;flex:none}.foundation-list b{font-size:12px;display:block}.foundation-list small{display:block;font-size:10px;color:#769079;margin:5px 0}.foundation-list p{font-size:10px;line-height:1.85;margin:0;color:#6e7e71}.foundations .foundation-note{font-size:10px;margin-bottom:0}
@media(max-width:800px){.foundation-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){.foundations{padding:20px 16px}.foundations h2{font-size:19px}.foundation-list{grid-template-columns:1fr}.foundation-list p,.foundations .foundation-note{font-size:11px}.foundation-list li{padding:13px 14px}}
