@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@600;700;800;900&family=Zen+Maru+Gothic:wght@400;500;700;900&display=swap');

:root{font-family:'Zen Maru Gothic','Hiragino Maru Gothic ProN','Yu Gothic',sans-serif;color:#20322d;background:#f7f6f2;font-synthesis:none}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:320px}button{font:inherit;cursor:pointer}button:disabled{cursor:not-allowed}button:focus-visible{outline:3px solid #449f88;outline-offset:3px}#app{min-height:100vh}.site-header{height:88px;max-width:1200px;padding:0 30px;margin:auto;display:flex;align-items:center;justify-content:space-between}.brand{font-size:25px;font-weight:900;letter-spacing:-.08em;display:flex;align-items:center;gap:10px;white-space:nowrap}.brand-dot{color:#ed946d}.brand-symbol{width:35px;height:35px;border-radius:12px;background:#254e44;display:flex;align-items:center;justify-content:center;gap:3px;transform:rotate(-9deg)}.brand-symbol i{display:block;width:6px;height:6px;border-radius:50%;background:#c9f3dc}.brand-symbol i:nth-child(2){transform:translateY(-5px)}.header-badge{font-size:12px;font-weight:700;color:#708078;border:1px solid #dedfd7;background:white;border-radius:100px;padding:10px 16px}.header-back{background:white;border:1px solid #dfe4dc;border-radius:100px;padding:9px 17px;color:#385d51;font-weight:700;box-shadow:0 2px 4px #254e4408}.header-back span{font-size:20px;vertical-align:-1px;margin-right:5px}.home-page,.list-page,.game-page{max-width:1200px;padding:0 30px 32px;margin:auto}.hero{min-height:470px;background:#e7f1e9;border-radius:28px;display:grid;grid-template-columns:1.05fr .95fr;overflow:hidden;position:relative}.hero:before{content:'';position:absolute;width:400px;height:400px;border-radius:50%;background:#dbebdd;right:-110px;top:-100px}.hero-copy{padding:78px 0 66px 74px;position:relative;z-index:1}.eyebrow,.section-kicker,.card-kicker{font-family:Nunito,'Zen Maru Gothic',sans-serif;font-size:12px;font-weight:900;letter-spacing:.11em;color:#51806e}.eyebrow-star{font-size:18px;color:#ed966a;margin-right:5px}.hero h1{font-size:clamp(33px,4vw,53px);line-height:1.38;letter-spacing:-.08em;margin:18px 0 15px;font-weight:900}.hero h1 span{color:#34836d}.hero-copy>p{line-height:1.9;color:#66766d;font-size:15px;margin:0}.hero-note{margin-top:30px;display:inline-flex;align-items:center;gap:10px;background:#fff;border-radius:12px;padding:12px 17px;font-size:13px;font-weight:700;color:#3f695a;box-shadow:0 5px 16px #4b85671a}.note-icon{color:#f3a067;font-size:18px}.hero-art{position:relative;display:flex;align-items:center;justify-content:center}.art-orbit{position:absolute;border:1px solid #b9d8c2;border-radius:50%;width:405px;height:405px;transform:rotate(-20deg)}.orbit-two{width:310px;height:310px;border-style:dashed;opacity:.65}.art-card{width:318px;height:318px;border-radius:32px;background:#fff;box-shadow:0 22px 45px #4f896733;display:flex;align-items:center;justify-content:center;transform:rotate(7deg);position:relative}.art-card .preview{transform:rotate(-7deg);width:230px;height:230px;gap:5px}.art-card .preview-cell{border-width:2px}.art-spark{position:absolute;color:#ef9c6d}.spark-one{font-size:42px;top:-26px;right:24px}.spark-two{font-size:28px;bottom:-18px;left:17px}.art-pill{position:absolute;bottom:33px;right:18px;background:#264d43;color:white;font-size:12px;border-radius:100px;padding:11px 18px;transform:rotate(-8deg);box-shadow:0 6px 15px #23463b33}.section-heading{display:flex;align-items:end;justify-content:space-between;margin:64px 0 23px}.section-heading h2{font-size:30px;letter-spacing:-.06em;margin:7px 0 0}.section-heading>p{color:#89958b;font-size:13px;margin:0 0 4px}.level-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.level-card{border:1px solid transparent;text-align:left;border-radius:22px;min-height:242px;padding:23px 26px 25px;display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s;position:relative;overflow:hidden}.level-card:hover,.puzzle-card:hover{transform:translateY(-5px);box-shadow:0 15px 26px #2c45331d}.level-card.mint{background:#ddefe4}.level-card.peach{background:#f9e8db}.level-card.lavender{background:#ece6f5}.level-top{display:flex;align-items:center;justify-content:space-between}.level-number{font:900 13px Nunito,sans-serif;color:#64957d}.peach .level-number{color:#ba8368}.lavender .level-number{color:#8a76a8}.level-arrow{width:31px;height:31px;background:#ffffffb8;border-radius:50%;text-align:center;line-height:29px;color:#416b58;font-size:19px}.level-illustration{font:900 41px Nunito,sans-serif;color:#5cae89;letter-spacing:6px;text-align:center;margin:auto 0 8px;white-space:nowrap}.level-illustration span{font-size:61px;vertical-align:-8px}.peach .level-illustration{color:#eb9f79}.lavender .level-illustration{color:#9b82c2}.level-name{font-size:26px;font-weight:900;display:flex;align-items:center;gap:12px}.level-count{font-size:11px;background:#ffffffbd;padding:6px 9px;border-radius:100px;color:#59816c}.level-reading{font-size:12px;color:#799185;margin-top:1px;font-weight:700}
.page-intro,.game-heading{display:flex;justify-content:space-between;align-items:center;padding:53px 2px 34px}.page-intro h1,.game-heading h1{font-size:38px;letter-spacing:-.08em;margin:7px 0 6px}.page-intro p,.game-heading p{font-size:14px;color:#829087;margin:0}.heading-accent{color:#368667}.peach .heading-accent{color:#d6845c}.lavender .heading-accent{color:#9074bd}.total-chip{display:flex;align-items:center;gap:11px;background:#e6f3e8;padding:15px 21px;border-radius:17px;color:#3c795a}.peach .total-chip{background:#faeadf;color:#b87655}.lavender .total-chip{background:#ede8f7;color:#856ca7}.total-chip strong{font:900 34px Nunito,sans-serif}.total-chip span{font-size:11px;line-height:1.5;font-weight:700}.puzzle-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px}.puzzle-card{display:flex;flex-direction:column;text-align:left;border:1px solid #e9eae4;background:#fff;border-radius:18px;padding:16px 17px 17px;min-height:260px;box-shadow:0 5px 14px #273f2909;transition:transform .2s,box-shadow .2s;min-width:0}.puzzle-card-top,.puzzle-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:5px}.puzzle-number{font:900 13px Nunito,sans-serif;color:#9ca89b}.clear-chip{font-size:10px;color:#89978b;background:#f3f5ef;border-radius:100px;padding:6px 9px;white-space:nowrap;font-weight:700}.clear-chip.has-clear{color:#43836a;background:#e9f5ed}.puzzle-preview-wrap{flex:1;display:flex;align-items:center;justify-content:center;padding:14px 0}.preview{display:grid;grid-template-columns:repeat(7,1fr);grid-template-rows:repeat(7,1fr);gap:4px;width:190px;height:190px}.preview-small{width:min(156px,100%);height:auto;aspect-ratio:1;gap:3px}.preview-cell{border-radius:50%;border:2px solid #cbdad0;background:#f5f8f4;min-width:0;min-height:0}.preview-cell.filled{background:#67ad87;border-color:#67ad87;box-shadow:inset -2px -2px 0 #408c69}.peach .preview-cell.filled{background:#eaa17e;border-color:#eaa17e;box-shadow:inset -2px -2px 0 #d08563}.lavender .preview-cell.filled{background:#aa93cb;border-color:#aa93cb;box-shadow:inset -2px -2px 0 #8973ac}.preview-cell.void{visibility:hidden}.puzzle-card-bottom{border-top:1px solid #f0f0ed;padding-top:13px}.puzzle-card-bottom strong{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.puzzle-card-arrow{color:#8ba298;font-size:19px}.list-footnote{text-align:center;color:#9aa69c;font-size:12px;padding:30px 0}
.game-heading{padding-top:42px;padding-bottom:24px}.game-heading h1{font-size:36px}.game-clear-count{background:#fff;border:1px solid #e8ebe5;border-radius:17px;padding:13px 25px;min-width:138px;box-shadow:0 4px 12px #324b310a}.game-clear-count>span{font-size:11px;color:#849189;font-weight:700}.game-clear-count strong{display:block;font:900 30px Nunito,sans-serif;color:#398568;line-height:1.2}.game-clear-count small{font:700 13px 'Zen Maru Gothic',sans-serif;margin-left:4px}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:22px}.board-panel,.how-card,.controls-card{background:#fff;border:1px solid #e8eae3;border-radius:22px;box-shadow:0 7px 21px #364c350b}.board-panel{padding:23px 27px 19px}.board-status,.board-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:#829187;font-weight:700}.board-status strong{color:#2f795d;font-size:14px}.status-dot{display:inline-block;width:8px;height:8px;background:#65b58c;border-radius:50%;margin-right:5px}.game-board{width:min(100%,470px);aspect-ratio:1;margin:16px auto 12px;display:grid;grid-template-columns:repeat(7,1fr);grid-template-rows:repeat(7,1fr);gap:clamp(4px,1vw,9px);touch-action:none;user-select:none}.hole,.hole-space{min-width:0;min-height:0}.hole{position:relative;border:2px solid #dbe7dd;background:#edf4ee;border-radius:50%;padding:0;display:flex;align-items:center;justify-content:center;transition:background .15s,transform .15s,border-color .15s}.hole:hover:not(:disabled){background:#e1eee4}.hole.has-peg{border-color:#d3e7da}.peg,.drag-ghost{display:block;width:80%;height:80%;border-radius:50%;background:radial-gradient(circle at 33% 27%,#a4d9b7 0%,#65ad86 45%,#398b69 100%);box-shadow:inset -3px -4px 0 #327b5d,0 4px 6px #2e664733;position:relative;z-index:1}.peg:after,.drag-ghost:after{content:'';position:absolute;top:17%;left:20%;width:24%;height:14%;background:#ffffff79;border-radius:50%;transform:rotate(-26deg)}.peach .peg{background:radial-gradient(circle at 33% 27%,#ffd4bc 0%,#eba37f 45%,#d9845e 100%);box-shadow:inset -3px -4px 0 #c57555,0 4px 6px #8f534533}.lavender .peg{background:radial-gradient(circle at 33% 27%,#ddcdef 0%,#ab94ca 45%,#866cad 100%);box-shadow:inset -3px -4px 0 #785fa2,0 4px 6px #55437833}.hole.possible-target{border-color:#8dc7a6;background:#e7f6eb}.hole.hover-target{transform:scale(1.08);border-color:#32936b;background:#d4efdc}.drag-ghost{position:fixed;z-index:1000;pointer-events:none;transform:translate(-50%,-50%) scale(1.16)}.board-bottom{border-top:1px solid #f0f1eb;padding-top:15px;min-height:34px}.center-legend{white-space:nowrap;color:#b2825d}.center-symbol{color:#eaab72;font-size:15px;margin-right:3px}.game-sidebar{display:flex;flex-direction:column;gap:16px}.how-card{padding:25px}.how-card h2,.controls-card h2{font-size:19px;margin:4px 0 20px}.how-step{display:flex;align-items:start;gap:11px;margin:0 0 15px}.how-step span{font:900 12px Nunito,sans-serif;color:#4e946f;background:#e6f3e9;border-radius:50%;width:23px;height:23px;display:grid;place-items:center;flex:none}.how-step p{font-size:12px;line-height:1.7;margin:0;color:#65776b;font-weight:700}.how-example{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:16px;border-radius:12px;padding:15px;background:#f5f8f4}.example-peg,.example-empty{width:20px;height:20px;border-radius:50%;background:#6cb48b;box-shadow:inset -2px -2px 0 #3e8766}.example-empty{background:#fff;border:2px solid #cfded2;box-shadow:none}.example-arrow{color:#9baa9d;font-size:20px;margin:0 5px}.controls-card{padding:21px}.controls-card h2{margin:0 0 13px}.control-button{width:100%;display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #e5eae4;border-radius:11px;padding:11px 12px;text-align:left;color:#415b4c;font-size:13px;font-weight:700;margin-top:8px}.control-button:not(:disabled):hover{background:#f3f8f2;border-color:#bed9c8}.control-button:disabled{opacity:.45}.control-icon{font-family:Nunito,sans-serif;font-size:20px;width:24px;text-align:center}.control-button small{font-size:10px;font-weight:700;color:#96a79a;margin-left:7px}.modal-backdrop{position:fixed;inset:0;background:#1b3127a9;display:grid;place-items:center;z-index:900;padding:20px;backdrop-filter:blur(4px)}.dialog{background:#fff;border-radius:23px;padding:29px 30px 27px;width:min(100%,390px);text-align:center;box-shadow:0 18px 55px #081c1240}.dialog-decoration{width:51px;height:51px;margin:auto;display:grid;place-items:center;border-radius:16px;background:#e4f3e8;color:#4a9a72;font:900 29px Nunito,sans-serif}.dialog h2{font-size:23px;margin:16px 0 7px}.dialog p{font-size:13px;color:#738176;line-height:1.7;margin:0}.success-count{background:#f4f8f4;border-radius:10px;margin:18px 0 0;padding:10px;font-size:12px;color:#61806b}.success-count strong{font-size:15px;color:#3e8b66;margin-left:5px}.dialog-actions{display:flex;gap:10px;margin-top:24px}.dialog-actions button{flex:1;border-radius:11px;padding:12px 8px;font-size:13px;font-weight:900}.button-secondary{border:1px solid #dfe7de;background:#fff;color:#577061}.button-primary{border:1px solid #378663;background:#378663;color:white}.button-primary:hover{background:#2d7356}
@media(max-width:920px){.puzzle-grid{grid-template-columns:repeat(3,1fr)}.game-layout{grid-template-columns:1fr}.game-sidebar{display:grid;grid-template-columns:1fr 1fr}.hero-copy{padding-left:45px}.hero-art{transform:scale(.85)}}@media(max-width:680px){.site-header{height:69px;padding:0 18px}.brand{font-size:21px}.brand-symbol{width:30px;height:30px}.header-badge{display:none}.home-page,.list-page,.game-page{padding:0 16px 24px}.hero{grid-template-columns:1fr;min-height:0;border-radius:22px}.hero-copy{padding:38px 27px 20px}.hero h1{font-size:34px;margin:13px 0 9px}.hero-copy>p{font-size:12px;line-height:1.75}.hero-note{margin-top:18px;font-size:11px;padding:9px 11px}.hero-art{height:270px;transform:none}.art-card{height:210px;width:210px;border-radius:24px;margin-top:-5px}.art-card .preview{height:157px;width:157px;gap:3px}.art-orbit{width:270px;height:270px}.orbit-two{width:215px;height:215px}.art-pill{right:24px;bottom:15px;font-size:10px}.section-heading{margin:37px 2px 15px}.section-heading h2{font-size:24px}.section-heading>p{display:none}.level-grid{grid-template-columns:1fr;gap:11px}.level-card{min-height:136px;padding:15px 20px}.level-illustration{position:absolute;right:50px;top:37px;font-size:29px;opacity:.68}.level-illustration span{font-size:43px}.level-name{font-size:23px;margin-top:24px}.level-reading{font-size:11px}.site-footer{padding:30px 0}.page-intro,.game-heading{padding:28px 1px 23px}.page-intro h1,.game-heading h1{font-size:28px}.page-intro p,.game-heading p{font-size:12px}.total-chip{padding:9px 12px;gap:5px}.total-chip strong{font-size:25px}.total-chip span{font-size:9px}.puzzle-grid{grid-template-columns:repeat(2,1fr);gap:10px}.puzzle-card{min-height:212px;padding:11px;border-radius:14px}.puzzle-preview-wrap{padding:8px 0}.preview-small{width:min(125px,100%)}.preview-cell{border-width:1.5px}.puzzle-card-bottom strong{font-size:12px}.clear-chip{font-size:9px;padding:5px 6px}.game-clear-count{min-width:98px;padding:9px 12px}.game-clear-count>span{font-size:9px}.game-clear-count strong{font-size:23px}.board-panel{padding:14px 12px}.board-status,.board-bottom{font-size:10px}.board-status strong{font-size:11px}.game-board{gap:4px;margin:17px auto}.hole{border-width:1.5px}.board-bottom{flex-wrap:wrap;justify-content:center;gap:4px}.game-sidebar{display:flex;gap:12px}.how-card,.controls-card{padding:19px}.how-card h2,.controls-card h2{font-size:17px}.how-step{margin-bottom:9px}.how-example{display:none}}
@media(max-width:390px){.total-chip{display:none}.puzzle-card{min-height:195px}.preview-small{width:110px}.board-status{font-size:9px}.board-status strong{font-size:10px}}
.header-actions{display:flex;align-items:center;gap:12px}
.bgm-toggle{border:1px solid #dfe4dc;background:#fff;color:#667a6d;border-radius:100px;padding:9px 15px;font-family:Nunito,'Zen Maru Gothic',sans-serif;font-size:12px;font-weight:900;white-space:nowrap;box-shadow:0 2px 4px #254e4408}
.bgm-toggle span{font-size:17px;line-height:0;margin-right:4px;vertical-align:-1px}
.bgm-toggle.is-on{color:#2f7e5f;background:#e8f5eb;border-color:#b8dbbf}
.bgm-toggle:hover{transform:translateY(-1px)}
@media(max-width:680px){.header-actions{gap:7px}.bgm-toggle{padding:8px 10px;font-size:10px}.bgm-toggle span{font-size:14px}.header-back{padding:7px 10px;font-size:11px}.header-back span{font-size:15px;margin-right:2px}}
.drag-ghost.peach{background:radial-gradient(circle at 33% 27%,#ffd4bc 0%,#eba37f 45%,#d9845e 100%);box-shadow:inset -3px -4px 0 #c57555,0 4px 6px #8f534433}
.drag-ghost.lavender{background:radial-gradient(circle at 33% 27%,#ddcdef 0%,#ab94ca 45%,#866cad 100%);box-shadow:inset -3px -4px 0 #785fa2,0 4px 6px #55437833}
.hole.selected-peg{border-color:#46a577;box-shadow:0 0 0 3px #a7ddba}
