@charset "UTF-8";
:root{font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI","Malgun Gothic",sans-serif;color:#293f38;background:#f5f2e9;font-synthesis:none;--paper:#fffdf7;--ink:#293f38;--muted:#61736a;--teal:#356e64;--line:#dedfd2;--coral:#d77d6d;--shadow:0 18px 55px #3c493c0b;--serif:Georgia,"Times New Roman",serif}
*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;color:inherit;touch-action:manipulation}button:disabled{cursor:default;opacity:.42}button:focus-visible,a:focus-visible,select:focus-visible,canvas:focus-visible{outline:3px solid #bf674f;outline-offset:5px}button{transition:background .16s,transform .16s,box-shadow .16s}button:not(:disabled):active{transform:translateY(2px)}button svg{width:22px;height:22px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}h1,h2,h3,p{margin:0}h1,h2{font-weight:600;letter-spacing:-.055em}p{line-height:1.75}a{color:var(--teal)}.shell{max-width:1184px;margin:auto;padding:0 42px calc(32px + env(safe-area-inset-bottom))}.topbar{height:106px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:16px}.wordmark{display:flex;align-items:center;gap:12px;background:transparent;padding:0;text-align:left}.brand-mark{width:39px;height:43px;background:var(--teal);border-radius:16px 16px 16px 4px;display:inline-flex;align-items:center;justify-content:center;color:#fff;font:italic 30px var(--serif);box-shadow:inset 0 0 0 1px #ffffff22}.brand-name{font:600 24px var(--serif);letter-spacing:-.6px}.brand-note{display:block;margin-top:3px;font-size:10px;letter-spacing:2px;color:var(--muted)}.nav-actions{display:flex;align-items:center;gap:12px}.icon-button{height:44px;width:44px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:50%;background:transparent}.icon-button:hover{background:#e9ecdf}.coins{display:inline-flex;align-items:center;gap:9px;padding:8px 13px;background:#eeebda;border-radius:25px;font-size:14px;font-weight:600}.coin{width:19px;height:19px;border-radius:50%;border:1.5px solid #ae8c45;color:#9c772f;display:inline-flex;align-items:center;justify-content:center;font-size:10px}.eyebrow{text-transform:uppercase;letter-spacing:2.8px;font-size:10px;font-weight:600;color:var(--muted)}.hero{display:grid;grid-template-columns:1fr 1.15fr;align-items:center;gap:45px;padding:52px 0 43px}.hero-copy{padding:10px 0}.hero h1{font-size:clamp(34px,4vw,54px);line-height:1.33;margin:18px 0 20px;word-break:keep-all}.hero h1 em{font-style:normal;color:var(--teal)}.hero-copy>p{color:var(--muted);font-size:15px;max-width:345px;word-break:keep-all}.hero-art{position:relative;border-radius:130px 130px 28px 28px;overflow:hidden;aspect-ratio:1.09;background:#ebe9d9;border:1px solid #e0decf;box-shadow:var(--shadow)}.hero-art img{width:100%;height:100%;display:block;object-fit:cover;object-position:54% center}.art-caption{position:absolute;bottom:19px;left:20px;right:20px;background:#fffdf7e6;backdrop-filter:blur(10px);border:1px solid #ffffff99;border-radius:12px;padding:12px 16px;display:flex;justify-content:space-between;align-items:center;font-size:12px}.caption-dot{width:7px;height:7px;border-radius:50%;background:#6d9780;display:inline-block;margin-right:7px}.primary{display:inline-flex;align-items:center;justify-content:center;gap:12px;background:var(--teal);color:#fffdf7;min-height:53px;padding:14px 23px;border-radius:13px;font-weight:600;font-size:15px;box-shadow:0 6px 16px #356e6418}.primary:hover{background:#285c54;box-shadow:0 8px 20px #356e642b}.secondary{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:47px;padding:12px 18px;border-radius:12px;background:#eeeee3;border:1px solid var(--line);font-size:14px}.text-button{background:transparent;padding:12px;color:var(--teal);font-size:13px;display:inline-flex;align-items:center;gap:5px}.start-block{margin-top:27px}.start-block .primary{min-width:216px;justify-content:space-between}.start-note{font-size:11px;color:var(--muted);margin:12px 0 0 2px}.home-bottom{display:grid;grid-template-columns:1fr 1fr;gap:22px}.small-card{background:#fffdf780;border:1px solid var(--line);border-radius:18px;padding:23px 25px;display:flex;align-items:center;gap:20px;text-align:left;min-height:120px}.small-card:hover{background:var(--paper)}.small-card h2{font-size:19px;letter-spacing:-.04em;margin:5px 0 7px}.small-card p{font-size:12px;color:var(--muted)}.small-card .card-icon{width:58px;height:58px;border-radius:18px;display:flex;align-items:center;justify-content:center;background:#e5eadb;flex-shrink:0}.card-icon svg{width:28px;height:28px;stroke:var(--teal)}.small-card .arrow{margin-left:auto;color:var(--muted)}.progress{height:4px;background:#e2e6d9;border-radius:5px;overflow:hidden;margin-top:12px}.progress span{display:block;height:100%;background:#789780;border-radius:5px}.footer{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:35px;padding-top:20px;border-top:1px solid var(--line);font-size:10px;color:var(--muted);letter-spacing:.5px}.footer .swatches{display:flex;gap:5px}.swatches i{width:9px;height:9px;border-radius:50%}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;margin:36px 0 24px;gap:18px}.section-heading h1{font-size:32px;margin-top:9px}.section-heading p{font-size:13px;color:var(--muted);margin-top:7px}.album-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:18px}.art-card{background:var(--paper);border:1px solid var(--line);border-radius:17px;padding:13px;text-align:left;position:relative}.art-card .thumb{width:100%;aspect-ratio:1;display:block;background:#eeeee5;border-radius:9px;image-rendering:pixelated;margin-bottom:13px}.art-card .thumb.locked{display:flex;align-items:center;justify-content:center;color:#9ca68f;background:repeating-linear-gradient(45deg,#e9ecdf,#e9ecdf 7px,#edefe5 7px,#edefe5 14px)}.art-card h2{font-size:13px;letter-spacing:-.03em;margin:5px 0}.art-card p{font-size:10px;color:var(--muted)}.art-card.active{border-color:#789780;box-shadow:0 0 0 2px #78978022}.check{position:absolute;right:18px;top:18px;background:var(--teal);color:white;width:22px;height:22px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px}.game-layout{display:grid;grid-template-columns:240px minmax(0,560px);justify-content:center;gap:45px;padding-top:38px;align-items:start}.game-aside{padding-top:12px}.game-aside h1{font-size:31px;line-height:1.35;margin:12px 0 16px;word-break:keep-all}.game-aside>p{font-size:13px;color:var(--muted)}.guide{background:#e9eddc;border:1px solid #dce3cf;border-radius:16px;padding:20px;margin:25px 0 15px;font-size:13px;line-height:1.85}.guide strong{display:block;font-size:14px;margin-bottom:6px}.guide .eyebrow{font-size:9px;margin-bottom:8px}.guide-steps{display:flex;gap:5px;margin-top:15px}.guide-steps i{height:3px;flex:1;background:#d0d9c1;border-radius:2px}.guide-steps i.on{background:var(--teal)}.aside-note{font-size:11px!important;line-height:1.9;color:var(--muted)}.board-top{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 4px 16px;font-size:12px;color:var(--muted)}.hearts{letter-spacing:4px;color:#b96959;font-size:18px}.board-frame{padding:16px;background:#e5e5d6;border:1px solid #d5d8c8;border-radius:24px;box-shadow:0 16px 45px #4b5b4110,inset 0 2px 2px #ffffff66;position:relative}.board-viewport{overflow:hidden;border-radius:12px;touch-action:none;position:relative;aspect-ratio:1;background:#faf9f1}.board{display:block;width:100%;height:100%;touch-action:none;outline-offset:-4px!important}.board-controls{display:flex;align-items:center;justify-content:space-between;padding:14px 4px 0;gap:8px}.zoom-controls{display:flex;align-items:center;gap:3px}.zoom-controls button{width:34px;height:34px;background:transparent;border-radius:9px;font-size:18px}.zoom-controls button:hover{background:#e7eadc}.zoom-controls span{font-size:10px;color:var(--muted);min-width:34px;text-align:center}.board-status{font-size:12px;color:var(--teal);min-height:20px}.game-tools{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:16px}.tool{display:flex;flex-direction:column;align-items:center;gap:7px;padding:15px 8px;background:#fffdf7;border:1px solid var(--line);border-radius:14px;font-size:12px;min-height:82px}.tool svg{height:23px;width:23px;color:var(--teal)}.tool .sub{font-size:10px;color:var(--muted)}.tool.active{background:#e5ecd9;border-color:#8fa789}.game-caption{text-align:center;font-size:11px;color:var(--muted);margin-top:16px}.settings{max-width:620px;margin:0 auto}.settings-section{margin:25px 0;border:1px solid var(--line);border-radius:17px;overflow:hidden;background:var(--paper)}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px;border-bottom:1px solid var(--line)}.setting-row:last-child{border:0}.setting-row strong{font-size:14px;display:block;margin-bottom:4px}.setting-row p{font-size:12px;color:var(--muted)}.switch{width:47px;height:28px;padding:3px;border-radius:20px;background:#d5dbcf;flex-shrink:0}.switch span{display:block;width:22px;height:22px;background:white;border-radius:50%;box-shadow:0 1px 5px #0002;transition:transform .15s}.switch[aria-checked=true]{background:var(--teal)}.switch[aria-checked=true] span{transform:translateX(19px)}.setting-row select{background:#f1f2e7;border:1px solid var(--line);border-radius:8px;padding:10px;color:var(--ink)}.setting-actions{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.loading{min-height:80vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;text-align:center;padding:30px}.loading h1{font-size:23px}.loading p{color:var(--muted);font-size:14px}#toast{position:fixed;bottom:calc(24px + env(safe-area-inset-bottom));left:50%;transform:translate(-50%,15px);background:#293f38;color:#fffdf7;border-radius:13px;padding:14px 20px;font-size:13px;box-shadow:0 8px 35px #0002;max-width:calc(100% - 30px);width:max-content;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;z-index:20}#toast.visible{opacity:1;transform:translate(-50%,0)}dialog{border:1px solid #e3e5d7;border-radius:25px;padding:30px;max-width:410px;width:calc(100% - 32px);color:var(--ink);background:var(--paper);box-shadow:0 35px 90px #20382a33}dialog::backdrop{background:#233c344f;backdrop-filter:blur(5px)}dialog h2{font-size:28px;margin:9px 0 12px}dialog p{font-size:14px;color:var(--muted);word-break:keep-all}dialog .modal-actions{display:flex;flex-direction:column;gap:9px;margin-top:23px}dialog .modal-actions button{width:100%}.result-art{display:block;width:165px;height:165px;margin:6px auto 22px;border:9px solid #e3e4d3;box-shadow:0 8px 20px #354b2b15;border-radius:8px;image-rendering:pixelated}.result{text-align:center}.result-stats{display:flex;justify-content:center;gap:26px;margin:20px 0;padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.result-stats strong{display:block;font-size:17px;font-weight:500}.result-stats span{font-size:10px;color:var(--muted)}.reward{display:inline-flex;gap:9px;align-items:center;color:#97702e;background:#f4edcf;border-radius:30px;padding:9px 17px;font-size:13px}.preview-note{font-size:11px;color:var(--muted);line-height:1.8;margin:22px 0}.fade-in{animation:enter .35s ease-out}.board-frame.won{animation:glow 1s ease-out}.board-frame.mistake{animation:shake .25s ease-out}.pattern-preview{display:flex;gap:6px;margin-top:9px}.pattern-preview i{width:21px;height:21px;border-radius:5px;background:#89a18a}.pattern-preview.enabled i:first-child{background:repeating-linear-gradient(45deg,#638573,#638573 2px,#b8c9b1 2px,#b8c9b1 6px)}.pattern-preview.enabled i:last-child{background:radial-gradient(#537264 1.5px,transparent 2px) 0 0/6px 6px #b8c9b1}@keyframes enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes glow{50%{box-shadow:0 0 0 9px #afc59566,0 15px 55px #60885933}}@keyframes shake{25%{transform:translateX(-3px)}75%{transform:translateX(3px)}}
.collection-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 26px;padding-bottom:18px;border-bottom:1px solid var(--line)}.collection-tabs button{display:flex;align-items:center;gap:10px;min-height:46px;padding:10px 17px;border:1px solid var(--line);border-radius:24px;background:transparent;font-size:13px}.collection-tabs button[aria-pressed=true]{background:var(--teal);border-color:var(--teal);color:var(--paper)}.collection-tabs button span{font-size:11px;background:#ffffff30;padding:3px 7px;border-radius:12px}.album-shelf{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.album-book{padding:0;text-align:left;background:var(--paper);border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:var(--shadow)}.book-cover{display:flex;position:relative;align-items:center;justify-content:center;height:200px;background:#e3e9d7;border-left:12px solid #6e8e7d;box-shadow:inset 3px 0 0 #fff6,inset 0 -1px 0 #0001}.album-book:nth-child(3n+2) .book-cover{background:#f0dfc8;border-left-color:#b5986f}.album-book:nth-child(3n) .book-cover{background:#e5e7ed;border-left-color:#8b96ab}.book-cover canvas{width:124px;height:124px;border:7px solid #fffdf7;box-shadow:0 4px 12px #354b2b18;image-rendering:pixelated}.book-symbol{width:84px;height:84px;border:1px solid #9eae8f;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#6b8775}.book-symbol svg{width:34px;height:34px}.book-number{position:absolute;bottom:13px;right:18px;font:italic 25px var(--serif);color:#6a8069}.book-info{display:block;padding:20px}.book-info h2{font-size:22px;margin:7px 0 8px}.book-info p{font-size:12px;color:var(--muted)}.book-info .progress{display:block;margin:16px 0}.book-status{font-size:11px;color:var(--teal)}.album-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:22px}.album-paging{display:flex;align-items:center;gap:12px}.album-paging>span{font-size:12px;color:var(--muted);white-space:nowrap}.album-title{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:20px}.album-title h2{font-size:24px}.album-title p{font-size:12px;color:var(--muted)}.collection-empty{text-align:center;border:1px dashed #bdc7b4;border-radius:20px;padding:45px 20px;background:#fffdf740}.collection-empty .card-icon{display:inline-flex;color:var(--teal);margin-bottom:16px}.collection-empty h2{font-size:22px}.collection-empty p{font-size:13px;color:var(--muted);margin:12px 0 24px}.home-bottom.with-daily{grid-template-columns:repeat(3,minmax(0,1fr))}.with-daily .small-card{padding:20px 16px;gap:12px}.with-daily .small-card .card-icon{width:42px;height:48px}.with-daily .small-card .arrow{display:none}.with-daily .small-card h2{font-size:17px}.with-daily .small-card .eyebrow{letter-spacing:1.5px}
@media(max-width:850px){.album-shelf{grid-template-columns:repeat(2,minmax(0,1fr))}.home-bottom.with-daily{grid-template-columns:1fr}.with-daily .small-card .arrow{display:block}}
@media(max-width:600px){.album-shelf{gap:14px}.book-cover{height:150px;border-left-width:8px}.book-cover canvas{width:92px;height:92px;border-width:5px}.book-info{padding:15px}.book-info h2{font-size:18px}.book-info p{font-size:11px}.book-status{font-size:10px}.collection-tabs button{padding:10px 13px;font-size:12px}.album-toolbar>.text-button{padding-left:0;font-size:12px}.album-paging{gap:7px}.album-title p{font-size:11px}}
.reward-shelf{margin-top:36px;padding-top:28px;border-top:1px solid var(--line)}.reward-shelf .album-title{align-items:center;margin-bottom:12px}.reward-shelf h2{margin-top:7px}.reward-shelf .album-title>p{text-align:right}.reward-note{font-size:13px;color:var(--muted);max-width:600px;margin-bottom:20px}.reward-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-width:680px}.reward-card{padding:0;border:1px solid var(--line);background:var(--paper);border-radius:18px;text-align:left;overflow:hidden}.reward-card:disabled{opacity:1;color:var(--muted)}.reward-card>img,.reward-locked{display:flex;width:100%;aspect-ratio:1;object-fit:cover;background:#e8ebde}.reward-locked{align-items:center;justify-content:center;flex-direction:column;gap:15px;color:#76866e}.reward-locked svg{width:34px;height:34px}.reward-locked strong{font:italic 36px var(--serif)}.reward-card-copy{display:flex;flex-direction:column;gap:8px;padding:18px}.reward-card-copy>strong{font-size:17px;word-break:keep-all}.reward-card-copy>span:last-child{font-size:12px;color:var(--muted)}.reward-art{display:block;width:100%;max-width:300px;aspect-ratio:1;object-fit:cover;border-radius:16px;margin:20px auto}.gift-earned{margin-top:12px!important;color:var(--teal)!important;font-weight:600}.reward-grid button:focus-visible{outline-offset:-4px}@media(max-width:600px){.reward-grid{gap:12px}.reward-card-copy{padding:13px}.reward-card-copy>strong{font-size:14px}.reward-note{font-size:12px}}
@media(min-width:1500px){.shell{padding-top:20px}.hero{padding-top:70px;padding-bottom:60px}.hero-art{max-height:520px}.home-bottom{margin-top:10px}}
@media(max-width:850px){.shell{padding:0 24px 28px}.topbar{height:83px}.hero{gap:25px;padding-top:35px}.hero h1{font-size:36px}.hero-art{border-radius:90px 90px 24px 24px}.game-layout{grid-template-columns:190px minmax(0,500px);gap:23px}.game-aside h1{font-size:26px}.album-grid{grid-template-columns:repeat(3,1fr)}.small-card{padding:19px;gap:14px}}
@media(max-width:600px){.shell{padding:0 20px calc(23px + env(safe-area-inset-bottom))}.topbar{height:77px}.brand-mark{width:32px;height:36px;font-size:25px;border-radius:13px 13px 13px 4px}.brand-name{font-size:21px}.brand-note{font-size:8px;letter-spacing:1.4px}.nav-actions{gap:8px}.icon-button{width:38px;height:38px}.coins{font-size:12px;padding:7px 10px;gap:6px}.hero{display:flex;flex-direction:column;gap:24px;padding:28px 0 27px}.hero-copy{padding:0;width:100%}.eyebrow{font-size:9px;letter-spacing:2px}.hero h1{font-size:34px;margin:12px 0 12px;line-height:1.3}.hero-copy>p{font-size:13px;max-width:300px}.hero-art{width:100%;aspect-ratio:1.42;border-radius:75px 75px 20px 20px;order:-1;max-height:320px}.hero-art img{object-position:54% 52%}.art-caption{bottom:12px;left:13px;right:13px;font-size:10px;padding:9px 12px;border-radius:9px}.start-block{margin-top:20px}.start-block .primary{width:100%;min-height:52px}.start-note{text-align:center;font-size:10px;margin-top:9px}.home-bottom{gap:11px;grid-template-columns:1fr}.small-card{min-height:91px;padding:17px 18px;gap:16px}.small-card .card-icon{width:48px;height:48px;border-radius:14px}.small-card h2{font-size:16px;margin:2px 0 5px}.small-card p{font-size:11px}.small-card .eyebrow{font-size:8px}.footer{margin-top:25px;padding-top:16px;font-size:9px}.section-heading{margin:27px 0 21px}.section-heading h1{font-size:29px}.album-grid{grid-template-columns:repeat(2,1fr);gap:12px}.art-card{padding:11px}.art-card h2{font-size:14px}.art-card p{font-size:11px}.game-layout{display:flex;flex-direction:column;gap:16px;padding-top:19px}.game-aside{padding:0;width:100%}.game-aside h1{font-size:24px;margin:7px 0 0;display:inline-block}.game-aside>p{display:none}.game-aside .eyebrow{font-size:9px}.guide{margin:14px 0 0;padding:12px 15px;font-size:12px;line-height:1.65;border-radius:12px}.guide strong{font-size:13px;margin-bottom:2px}.guide .eyebrow,.guide-steps,.aside-note{display:none}.game-main{width:100%}.board-top{padding:0 3px 11px;font-size:11px}.hearts{font-size:16px}.board-frame{padding:11px;border-radius:20px}.board-controls{padding-top:10px}.board-status{font-size:11px}.game-tools{gap:8px;margin-top:12px}.tool{padding:12px 6px;min-height:78px;font-size:12px}.game-caption{font-size:10px;margin-top:12px}.game-screen .footer{margin-top:20px}.setting-row{padding:17px}.setting-row p{font-size:11px}.setting-row strong{font-size:13px}.settings-section{margin:19px 0}dialog{padding:25px}dialog h2{font-size:25px}.result-art{width:145px;height:145px}.result-stats{margin:16px 0;padding:13px 0}}
@media(max-width:370px){.shell{padding-left:14px;padding-right:14px}.brand-note{display:none}.hero h1{font-size:30px}.hero-art{max-height:225px}.nav-actions{gap:5px}.game-aside h1{font-size:21px}.guide{font-size:11px}.board-frame{padding:8px}.game-tools{gap:6px}.coins{padding:6px 8px}}
.art-card:disabled{opacity:1;color:var(--muted);background:#f0f0e5}.art-card:disabled .thumb{opacity:.65}.zoom-controls button{min-width:44px;min-height:44px}.volume-control{width:120px;accent-color:var(--teal)}.result .picture-title{display:block;font-size:16px;margin:8px 0;color:var(--ink)}.game-screen .nav-actions .icon-button{width:44px;height:44px}
@media(max-width:600px){.game-aside h1{display:block}.game-aside>.text-button{display:none}.game-tools{margin-top:8px}.board-controls{padding-top:4px}.game-caption{margin-top:10px}}
@media(max-width:600px) and (max-height:730px){.game-screen .topbar{height:58px}.game-layout{padding-top:12px;gap:11px}.game-aside h1{font-size:21px;margin-top:3px}.guide{padding:8px 12px;margin-top:9px}.guide strong{font-size:12px;margin:0}.guide-detail{display:none}.board-frame{max-width:calc(100dvh - 306px);margin:0 auto;padding:8px}.board-top{padding-bottom:8px}.board-status{max-width:calc(100% - 135px);font-size:10px}.game-tools .tool{min-height:54px;padding:9px 5px;gap:5px;flex-direction:row;justify-content:center;font-size:11px}.game-tools .tool .sub{display:none}.game-tools .tool svg{width:18px;height:18px}.game-caption,.game-screen .footer{display:none}.game-screen{padding-bottom:10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}body.reduce-motion *,body.reduce-motion *::before,body.reduce-motion *::after{animation:none!important;transition:none!important}
