html{scroll-padding-top:8px}
.hyokkori-page{--hg-ink:#374b37;--hg-green:#496e4d;--hg-soft:#eaf0d9;--hg-cream:#fffcf1;--hg-apricot:#e6ae8a;background:#f7f6ec;color:var(--hg-ink)}
.hyokkori-page [hidden]{display:none!important}
.hyokkori-page .site-header{position:static;background:#fffdf5;border-color:#e5e5d7;backdrop-filter:none}
.hyokkori-page .site-header .inner{padding:6px 16px;min-height:48px}
.hyokkori-page .logo{font-size:.85rem;min-height:44px}
.hyokkori-page .logo .mark{background:#dee7c9;box-shadow:none;width:28px;height:28px}
.hyokkori-page .site-header nav{display:flex;gap:14px}.hyokkori-page .site-header nav a{display:inline-flex;align-items:center;min-height:44px;color:#4b6347;font-size:.75rem;margin:0}
.hyokkori-page a{color:#45683f}
.hg-container{max-width:760px;padding:10px 14px 48px}
.hg-hero{padding:7px 0 3px}
.hg-eyebrow{font-size:11px;font-weight:700;letter-spacing:.08em;color:#6a7b59;margin:0 0 5px}
.hg-hero .tool-title{font-size:27px;letter-spacing:.01em;margin:0 0 3px;color:#3e5737}
.hg-hero .tool-title span{font-size:20px;color:#b9754d}
.hg-hero .tool-sub{font-size:12px;color:#6f795f}
.hyokkori-page .content-byline{display:flex;justify-content:center;flex-wrap:wrap;gap:2px 10px;font-size:10px;margin:6px 0 10px;color:#748068}
.hg-shell{max-width:440px;margin:0 auto;border:1px solid #d7ddc7;border-radius:23px;background:var(--hg-cream);box-shadow:0 8px 24px #4e633a0b;overflow:hidden}
.hg-welcome-art{position:relative;height:194px;overflow:hidden;background:#f5edd9}
.hg-welcome-art img{width:100%;height:100%;object-fit:cover;object-position:center 48%;display:block}
.hg-art-note{position:absolute;left:14px;top:12px;background:#fffdf4e8;border:1px solid #ece0bc;padding:3px 11px;border-radius:16px;color:#64774a;font-size:11px;font-weight:700}
.hg-welcome-body{padding:13px 17px 4px;text-align:center}
.hg-welcome-lead{font-size:16px;font-weight:800;letter-spacing:.02em;margin:0 0 3px}
.hg-intro{font-size:11px;margin:0 0 12px;color:#735b30;white-space:nowrap}
.hg-sleep-note{color:#6c6981}
.hg-modes{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px}
.hg-mode{border:1px solid #dce1cb;background:#fffefa;min-height:61px;border-radius:12px;cursor:pointer;color:#526148;font:inherit;padding:7px 2px;line-height:1.5}
.hg-mode b{display:block;font-size:10px;white-space:nowrap}.hg-mode small{display:block;font-size:9px;white-space:nowrap;opacity:.85}
.hg-mode[aria-pressed=true]{border-color:#658859;background:#e7edda;box-shadow:inset 0 0 0 1px #658859}
.hg-mode-note{min-height:32px;font-size:11px;line-height:1.5;margin:9px 0;color:#677056}
.hg-button{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:44px;min-width:44px;padding:10px 16px;border-radius:12px;border:1px solid #d5dcc5;background:#f0f1e2;color:#496044;font:inherit;font-size:13px;font-weight:700;line-height:1.35;cursor:pointer;touch-action:manipulation}
.hg-button:hover{filter:brightness(.97)}.hg-button:active{transform:translateY(1px)}
.hg-primary{background:#4e714a;color:#fffdf1;border-color:#4e714a;box-shadow:0 4px 0 #345538}
.hg-wide{width:100%;justify-content:space-between;padding-left:23px;padding-right:23px}
.hg-fine{font-size:10px;margin:8px 0;color:#69765b}
.hg-audio-row{display:flex;gap:10px;align-items:center;padding:7px 13px;border-top:1px dashed #dce1ca;background:#faf9ed}
.hg-audio-row .hg-small{font-size:11px;padding:6px 9px;min-width:80px;background:#fffef8}
.hg-audio-row label{display:flex;align-items:center;gap:7px;font-size:10px;min-width:0}
.hg-audio-row input[type=range]{height:44px;max-width:90px;width:80px;accent-color:#557c4e;margin:0}
.hg-local-note{font-size:9px;margin-left:auto;color:#7a816b;white-space:nowrap}
.hg-play{padding:12px 14px 5px}
.hg-play-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px}
.hg-play-heading strong{font-size:12px;color:#59753f}.hg-play-heading span{font-size:10px;color:#7b866a}
.hg-hud{display:grid;grid-template-columns:1fr 1fr 1fr;gap:9px;text-align:center}
.hg-hud>div{background:#edf0dc;border:1px solid #e4e6ce;border-radius:13px;padding:5px 3px;line-height:1.2}
.hg-hud small{display:block;font-size:10px;letter-spacing:.07em;color:#6b7858;margin-bottom:1px}
.hg-hud strong{font-size:25px;font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:.01em}
.hg-hud .hg-timer{background:#f7e9d4;border-color:#f0dcc0;color:#91603d}.hg-hud em{font-size:11px;font-style:normal;padding-left:2px}
.hg-time-track{height:4px;background:#ececda;margin:10px 2px 4px;overflow:hidden;border-radius:4px}
.hg-time-track span{height:100%;display:block;background:#8ca369;width:100%;transform-origin:left}
.hg-status{height:25px;line-height:25px;margin:0;text-align:center;color:#607149;font-size:11px;font-weight:600;white-space:nowrap}
.hg-field{position:relative;margin:3px 0 6px;background:radial-gradient(ellipse at 20% 25%,#f9f6df 0 2px,transparent 3px),#e9efd9;border-radius:20px;border:1px solid #dce4c8;padding:10px}
.hg-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px 7px;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent}
.hg-pot{position:relative;aspect-ratio:1/1.02;border:0;background:#fef8e8;border-radius:16px;padding:0;cursor:pointer;color:#694c35;min-width:44px;min-height:44px;touch-action:none;font:inherit;overflow:visible}
.hg-pot:before{content:"";position:absolute;width:74%;height:36%;left:13%;bottom:7%;background:linear-gradient(90deg,#d89772,#e8b28a 40%,#dfa47e);border-radius:7px 7px 20px 20px;border:1px solid #c88a64;box-shadow:0 4px 0 #c7d6ad99;z-index:3}
.hg-pot:after{content:"";position:absolute;width:86%;height:13%;left:7%;bottom:36%;border:2px solid #d79c74;border-top:4px solid #c2855d;background:#ecc2a0;border-radius:50% 50% 7px 7px;z-index:3}
.hg-pot-soil{position:absolute;left:10%;bottom:40%;width:80%;height:14%;border-radius:50%;background:#887854;box-shadow:inset 0 2px 3px #665f4340;z-index:0}
.hg-creature{position:absolute;z-index:2;left:4%;width:92%;height:82%;bottom:26%;object-fit:contain;object-position:center bottom;pointer-events:none;transform-origin:center bottom;animation:hg-peek .14s ease-out}
.hg-pot[data-kind=empty] .hg-creature{visibility:hidden;animation:none}
.hg-pot[data-kind=gold] .hg-creature{filter:sepia(.75) saturate(1.7) drop-shadow(0 0 4px #f3d24d)}
.hg-pot[data-kind=sleep] .hg-creature{filter:saturate(.4);opacity:.85}
.hg-pot-key{position:absolute;z-index:4;bottom:13%;left:calc(50% - 9px);width:18px;height:18px;line-height:18px;font-size:10px;color:#855638;font-weight:800}
.hg-pot-symbol{position:absolute;z-index:5;right:-3px;top:0;border-radius:9px;font-size:10px;font-weight:800;line-height:17px;padding:1px 5px;background:#fff1a9;color:#7a541c;border:1px solid #e6c76a;pointer-events:none}
.hg-pot[data-kind=sleep] .hg-pot-symbol{background:#f1eef9;color:#685577;border-color:#c9bfd8;font-size:9px;right:-4px;top:0}
.hg-pot-symbol:empty{display:none}
.hg-feedback{position:absolute;z-index:6;left:0;right:0;top:12%;font-size:20px;font-weight:900;color:#366541;text-shadow:0 1px 0 #fff,1px 0 0 #fff,-1px 0 0 #fff;pointer-events:none;animation:hg-points .45s ease-out forwards}
.hg-feedback.hg-negative{color:#8e5e69}
.hg-pause-layer{position:absolute;inset:0;z-index:10;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border-radius:19px;background:#f8faecee;backdrop-filter:blur(3px);padding:12px}
.hg-pause-layer>span{font-size:35px;color:#8a9a66;line-height:1.2}.hg-pause-layer h2{font-size:19px;margin:8px 0 0}.hg-pause-layer p{font-size:11px;margin:8px 0 15px;max-width:220px}
.hg-play-bottom{display:flex;align-items:center;justify-content:space-between;gap:4px}
.hg-play-bottom p{font-size:10px;color:#7b653f;margin:0;line-height:1.6}.hg-play-bottom p span{color:#6d617a;display:block}
.hg-play-bottom .hg-small{font-size:11px;padding:7px 11px;min-height:44px}
.hg-key-help{font-size:9px;text-align:center;margin:4px 0 2px;color:#788368;line-height:1.5}
.hg-sticker-book{max-width:440px;margin:13px auto 26px;border:1px solid #dfe2cb;border-radius:15px;background:#fffcf0;padding:0 13px}
.hg-sticker-book summary{display:flex;justify-content:space-between;align-items:center;cursor:pointer;min-height:50px;gap:7px;font-size:12px;font-weight:700;list-style:none}.hg-sticker-book summary::-webkit-details-marker{display:none}.hg-sticker-book summary b{font-size:10px;padding:4px 9px;border-radius:20px;background:#e7ecd5}.hg-sticker-book summary:after{content:"＋"}.hg-sticker-book[open] summary:after{content:"−"}
.hg-sticker-book>p{font-size:11px;line-height:1.7;margin:0 0 12px;color:#717c60}
.hg-stickers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:0 0 15px}
.hg-sticker{background:#f5f3e5;border:1px dashed #dbdbc3;border-radius:13px;padding:5px 2px 7px;text-align:center;line-height:1.5;font-size:9px}
.hg-sticker img{display:block;width:100%;height:66px;object-fit:contain;filter:grayscale(1);opacity:.2}
.hg-sticker b{font-size:10px;display:block;font-weight:700}.hg-sticker.hg-owned{background:#fff7e5;border-style:solid;border-color:#e2d8b5}.hg-sticker.hg-owned img{filter:none;opacity:1}
.hg-result{text-align:center;padding:24px 18px 21px}.hg-result-art{height:90px;display:flex;align-items:center;justify-content:center;gap:10px}.hg-result-art img{width:92px;height:92px;object-fit:contain}.hg-result-art span{font-size:32px;color:#d99d70}
.hg-result h2{font-size:18px;line-height:1.5;margin:12px 0 4px}.hg-result-number{line-height:1.1;margin:9px 0 0}.hg-result-number strong{font-size:53px;color:#567747;font-variant-numeric:tabular-nums}.hg-result-number span{font-size:15px;padding-left:5px}.hg-result-best{font-size:12px;margin:9px 0;color:#94713b;font-weight:700}
.hg-result-stats{display:flex;justify-content:center;gap:15px;font-size:11px;background:#edf0df;border-radius:12px;padding:11px 5px}.hg-result-stats b{font-size:17px}.hg-result-note{font-size:12px;line-height:1.7;margin:14px 0;min-height:42px;color:#6d795e}.hg-result-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}.hg-result-actions .hg-button{font-size:12px;padding:11px 5px}
.hg-guide{max-width:630px;margin:32px auto 0;padding:22px;background:#fffdf5;border:1px solid #e1e4d1;border-radius:19px;color:#56634b}.hg-guide h2{font-size:23px;margin:0 0 13px;color:#425d3c}.hg-guide h3{font-size:15px;margin:26px 0 9px;color:#4e6d43}.hg-guide p,.hg-guide dd{font-size:13px;line-height:2}.hg-guide .faq{border-top:1px dashed #dadfc8;margin-top:28px;padding-top:6px}.hg-guide dt{font-size:13px;font-weight:800;margin-top:21px}.hg-guide dd{margin:7px 0 0}.hg-notice{max-width:440px;margin:5px auto 10px;font-size:11px;padding:8px 12px;background:#f8efd5;border-radius:10px}
.hyokkori-page button:focus-visible,.hyokkori-page summary:focus-visible{outline:3px solid #2e6b65;outline-offset:3px}.hyokkori-page button:disabled{cursor:default}.hg-playing .hg-hero,.hg-playing .content-byline{display:none}
@keyframes hg-peek{from{transform:translateY(10px) scale(.91);opacity:.4}to{transform:none;opacity:1}}
@keyframes hg-points{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-12px)}}
@media(min-width:600px){.hg-hero{padding:20px 0 5px}.hg-hero .tool-title{font-size:34px}.hg-welcome-art{height:234px}.hg-welcome-body{padding:17px 22px 9px}.hg-mode b{font-size:12px}.hg-mode small{font-size:10px}.hg-welcome-lead{font-size:18px}.hg-mode-note{font-size:12px}.hg-intro{font-size:12px}.hg-play{padding:15px 20px 7px}.hg-field{padding:13px}.hg-board{gap:12px}.hg-status{font-size:12px}.hg-playing .hg-container{padding-top:16px}}
@media(max-width:374px){.hg-container{padding-inline:9px}.hg-hero .tool-title{font-size:24px}.hg-play{padding-inline:10px}.hg-welcome-body{padding-inline:11px}.hg-audio-row{gap:6px;padding-inline:9px}.hg-local-note{font-size:8px}.hg-mode b{font-size:9px}.hg-pot-symbol{padding-inline:3px}}
@media(prefers-reduced-motion:reduce){.hyokkori-page *{scroll-behavior:auto!important}.hg-creature,.hg-feedback{animation:none}.hg-button:active{transform:none}.hg-pause-layer{backdrop-filter:none}}
