:root{color:#34463e;font-synthesis:none;--green:#305b4e;--line:#d6dccb;--muted:#74806e;background:#f5f1e5;font-family:Yu Gothic UI,Hiragino Kaku Gothic ProN,Meiryo,sans-serif;font-weight:500}*{box-sizing:border-box}body{margin:0}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation;border:1px solid var(--line);background:#fffdf5;border-radius:12px;min-height:44px}button:hover:not(:disabled){filter:brightness(.98)}button:disabled{cursor:default}button:focus-visible,summary:focus-visible{outline-offset:3px;outline:3px solid #98712e}[hidden]{display:none!important}.app{max-width:1050px;margin:auto;padding:22px 30px 16px}.masthead{justify-content:space-between;align-items:center;margin-bottom:18px;display:flex}.eyebrow{letter-spacing:.2em;color:var(--muted);margin:0 0 6px;font-size:10px;font-weight:700}h1{letter-spacing:.04em;margin:0;font-size:clamp(25px,2.8vw,32px);font-weight:750}h1>span{color:#b68e3d;margin-left:10px;font-size:27px}.subtitle{color:var(--muted);letter-spacing:.06em;margin:6px 0 0;font-size:12px}#help-open{border-radius:50%;flex-shrink:0;width:44px;font:23px Georgia,serif}.levels{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:22px;display:grid}.level-button{text-align:left;background:0 0;align-items:center;gap:12px;min-width:0;padding:11px 15px;display:flex}.level-index{color:#a7ae98;font:24px Georgia,serif}.level-button strong{font-size:13px;display:block}.level-button small{color:var(--muted);margin-top:3px;font-size:10px;font-weight:400;display:block}.level-button.selected{background:#e7eddf;border-color:#78977c}.level-button.selected .level-index{color:var(--green)}.level-check{visibility:hidden;color:var(--green);margin-left:auto;font-size:17px}.level-button.complete .level-check{visibility:visible}.game-layout{grid-template-columns:minmax(0,1fr) 290px;align-items:start;gap:34px;display:grid}.garden-panel{min-width:0}.level-heading{justify-content:space-between;align-items:center;max-width:560px;margin:0 auto 11px;display:flex}.level-heading h2{letter-spacing:.06em;outline:none;margin:0;font-size:23px}.remaining{color:var(--green);align-items:baseline;gap:6px;display:flex}.remaining span{font-size:12px}.remaining strong{font-variant-numeric:tabular-nums;font:36px Georgia,serif}.remaining[data-low=true]{color:#a06443}.garden-topline{max-width:560px;color:var(--muted);justify-content:space-between;gap:8px;margin:0 auto 9px;font-size:11px;display:flex}.garden-topline>span:last-child{white-space:nowrap;font-variant-numeric:tabular-nums}.garden-topline strong{color:var(--green);font-size:14px}.board-wrap{border:1px solid #b9c7b1;border-radius:19px;width:min(100%,100dvh - 310px,560px);min-width:270px;max-width:100%;margin:auto;overflow:hidden;box-shadow:0 10px 25px #354f2d0b}canvas{aspect-ratio:1;width:100%;display:block}.board-legend{color:var(--muted);flex-wrap:wrap;justify-content:space-between;gap:6px;max-width:560px;margin:10px auto 0;font-size:10px;line-height:1.6;display:flex}.owned-key{border:2px solid var(--green);vertical-align:-1px;border-radius:3px;width:11px;height:11px;display:inline-block}.board-text{color:var(--muted);margin:8px 0 0;font-size:10px}.board-text summary{cursor:pointer;width:-moz-fit-content;width:fit-content;padding:5px 0}.board-text ol{columns:2;padding-left:20px;font-size:11px;line-height:1.8}.controls{padding-top:4px}.scent-heading,.history-heading{justify-content:space-between;align-items:center;margin:0 0 10px;font-size:13px;font-weight:700;display:flex}.scent-heading small,.history-heading>span:last-child{color:var(--muted);font-size:10px;font-weight:400}.scents{gap:8px;display:grid}.scent-button{text-align:left;border:1.5px solid var(--line);background:var(--scent-paper);min-height:72px;color:var(--scent-ink);align-items:center;gap:13px;padding:10px 14px;display:flex}.scent-button:disabled{opacity:.47;background:#f4f1e8}.scent-button.current{border-style:dashed}.scent-icon{flex-shrink:0;width:39px;height:39px}.scent-icon svg{width:100%;height:100%;display:block}.scent-copy strong{letter-spacing:.03em;font-size:15px;display:block}.scent-copy small{color:#697b67;margin-top:4px;font-size:10px;display:block}kbd{opacity:.5;border:1px solid;border-radius:4px;margin-left:auto;padding:2px 4px;font:10px inherit}.message{color:#63755f;min-height:42px;margin:12px 0 13px;font-size:12px;line-height:1.7}.history-heading{margin-bottom:7px;font-size:11px}.history{flex-wrap:wrap;gap:5px;min-height:32px;margin:0 0 13px;padding:0;list-style:none;display:flex}.history li:not(.empty){border:1px solid #dce0d1;border-radius:8px;place-items:center;width:32px;height:32px;display:grid}.history svg{width:23px;height:23px}.history .empty{color:#8a927d;align-self:center;font-size:10px}.edit-tools{gap:8px;display:flex}.edit-tools button{flex:1;min-width:0;font-size:12px}.edit-tools button:disabled{opacity:.4}.strategy-note{color:#828972;margin:17px 0;font-size:11px;line-height:1.8}.result-card{background:#e7eedf;border:1px solid #bacdb4;border-radius:14px;margin:15px 0 0;padding:16px}.result-card[data-won=false]{background:#f3eadb;border-color:#ddc9a8}.result-card .eyebrow{font-size:8px}.result-card h3{color:var(--green);margin:7px 0;font-size:18px}.result-card p:not(.eyebrow){color:#627360;margin:7px 0;font-size:11px;line-height:1.8}.primary{background:var(--green);color:#fffdf0;border-color:var(--green);width:100%;margin-top:6px;font-size:13px;font-weight:700}footer{letter-spacing:.1em;color:#929a85;border-top:1px solid var(--line);justify-content:space-between;margin-top:16px;padding-top:12px;font-size:9px;display:flex}dialog{color:#344438;background:#fffdf4;border:1px solid #c3cfb7;border-radius:20px;width:calc(100% - 28px);max-width:555px;max-height:88dvh;padding:24px 28px;box-shadow:0 20px 100px #23341f33}dialog::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#22352c70}.help-top{justify-content:space-between;align-items:center;display:flex}.help-top button{padding:0 12px;font-size:12px}dialog h2{margin:12px 0 18px;font-size:23px}dialog p,dialog li{font-size:13px;line-height:1.9}dialog ol{padding-left:20px}dialog li{margin:10px 0;padding-left:4px}.keyboard-help{color:#71806c;font-size:11px!important}@media (min-width:760px) and (max-height:780px){.app{padding-top:14px}.masthead{margin-bottom:12px}.levels{margin-bottom:15px}.level-button{padding-top:8px;padding-bottom:8px}.scents{gap:6px}.scent-button{min-height:59px;padding-top:7px;padding-bottom:7px}.message{min-height:37px;margin:9px 0}.strategy-note{margin-top:12px}.board-wrap{width:min(100%,100dvh - 284px,560px)}}@media (max-width:759px){.app{padding:15px 14px 12px}.masthead{margin-bottom:12px}.eyebrow{margin-bottom:5px;font-size:9px}h1{font-size:25px}h1>span{margin-left:6px;font-size:23px}.subtitle{font-size:10px}.levels{gap:6px;margin-bottom:16px}.level-button{border-radius:10px;gap:5px;min-height:52px;padding:8px 6px}.level-index{font-size:18px}.level-button strong{white-space:nowrap;font-size:10px}.level-button small{font-size:9px}.level-check{margin-left:0;font-size:11px}.game-layout{grid-template-columns:1fr;gap:13px}.level-heading{margin-bottom:6px}.level-heading h2{font-size:20px}.remaining strong{font-size:30px}.remaining span{font-size:11px}.garden-topline{margin-bottom:7px;font-size:9px}.garden-topline strong{font-size:12px}.board-wrap{border-radius:15px;width:100%;min-width:0}.board-legend{margin-top:6px;font-size:9px}.board-text{margin-top:3px;font-size:9px}.board-text summary{padding:3px 0}.controls{padding:0}.scent-heading{margin-bottom:7px;font-size:12px}.scent-heading small{font-size:9px}.scents{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.scent-button{gap:8px;min-height:64px;padding:8px}.scent-icon{width:31px;height:31px}.scent-copy strong{letter-spacing:0;font-size:13px}.scent-copy small{margin-top:3px;font-size:9px}.scent-button kbd{padding:1px 2px;font-size:8px}.message{min-height:19px;margin:9px 0 11px;font-size:11px}.history{margin-bottom:10px}.strategy-note{display:none}.result-card{margin-top:12px}footer{margin-top:13px;padding-top:10px;font-size:8px}dialog{padding:18px 20px}.board-text ol{columns:1}}@media (max-width:359px){.app{padding-left:12px;padding-right:12px}h1{font-size:23px}.level-button{gap:4px;padding-left:4px;padding-right:4px}.level-index{font-size:16px}.level-button strong,.level-check{font-size:9px}.scent-button{gap:5px;padding:7px}.scent-icon{width:27px;height:27px}.scent-copy strong{font-size:12px}.scent-button kbd{display:none}.scent-heading small,.garden-topline{font-size:8px}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
