@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+TC:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600&display=swap');
:root{--cream:#fff9f1;--plum:#432354;--muted:#8b7a91;--lavender:#d6c5f4;--pink:#e8a3ba;--line:rgba(91,57,106,.13)}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--plum);font-family:'DM Sans','Noto Sans TC',sans-serif;font-size:14px;min-height:100vh}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #925bb8;outline-offset:5px}button{border:0}button:disabled{cursor:default}.landscape{position:fixed;inset:0;background:linear-gradient(180deg,rgba(255,249,241,.66),rgba(255,249,241,.45)),url('assets/crystal-garden.png') center bottom/cover no-repeat;z-index:-2;pointer-events:none}.site-header{height:92px;max-width:1280px;margin:auto;padding:0 48px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{font-family:'DM Sans',sans-serif;font-size:23px;font-weight:700;letter-spacing:-1.1px;text-decoration:none;color:var(--plum);display:flex;align-items:center}.brand>span:nth-child(2){font-weight:400}.brand-symbol{font-size:40px;line-height:30px;margin-right:9px;transform:rotate(-12deg);font-weight:400}.brand-dot{font-size:14px;color:#b98ba3;margin-left:4px;align-self:flex-start;margin-top:3px}.site-header nav{display:flex;gap:39px;align-items:center;font-size:12px;letter-spacing:1px}.nav-current{position:relative;font-weight:600}.nav-current:after{content:'';position:absolute;width:4px;height:4px;background:#88609c;bottom:-14px;left:50%;border-radius:50%}.nav-button{background:none;padding:10px 0;color:var(--muted);font-size:12px;letter-spacing:1px}.nav-button span{font-size:17px;margin-left:10px}.sound-button{border:1px solid var(--line);background:rgba(255,255,255,.5);border-radius:50%;width:39px;height:39px;display:grid;place-items:center}.sound-button svg{width:19px;height:19px}.sound-on{display:none}.sound-button[aria-pressed=true] .sound-on{display:block}.sound-button[aria-pressed=true] .sound-off{display:none}main{max-width:1280px;margin:auto;padding:31px 32px 0}.intro{text-align:center;margin-bottom:29px}.eyebrow{font-size:9px;letter-spacing:2.7px;font-weight:600;color:#8f7399;margin:0}.eyebrow span{font-size:13px;vertical-align:middle;margin-right:6px;color:#b99dc6}.intro h1{font-family:'Playfair Display',Georgia,serif;font-size:63px;line-height:1.17;margin:11px 0 10px;letter-spacing:-2.4px;font-weight:500}.intro h1 em{font-weight:500;color:#9370a9}.intro-copy{margin:0;color:#8a778e;letter-spacing:2px;font-size:12px}.playground{max-width:904px;margin:auto;display:grid;grid-template-columns:minmax(0,580px) 254px;gap:54px;align-items:start}.game-panel{position:relative}.scoreboard{height:85px;display:flex;align-items:center;padding:0 17px 17px;gap:29px}.stat-label{display:block;font-size:10px;letter-spacing:1.3px;color:#93809a;margin-bottom:6px}.score-block strong,.moves-block strong{font-size:29px;font-weight:500;line-height:1;font-variant-numeric:tabular-nums}.score-block{min-width:97px}.moves-block strong{color:#9566af}.score-separator{height:34px;width:1px;background:var(--line)}.tiny{font-size:12px;color:#b3a3ba}.best-block{margin-left:auto;text-align:right}.best-block .stat-label{letter-spacing:.7px}.best-block .stat-label span{font-size:13px;margin-right:2px}.best-block strong{font-size:18px;font-weight:500}.board-shell{padding:15px;border:1px solid rgba(166,132,189,.35);border-radius:25px;background:linear-gradient(145deg,rgba(238,225,246,.97),rgba(221,204,238,.97));box-shadow:0 17px 35px #6d40771a,0 3px 0 #bba3ce,0 0 0 5px #fff9f180;position:relative}.board{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:6px;aspect-ratio:1;border-radius:12px;touch-action:none;position:relative;user-select:none}.gem-cell{aspect-ratio:1;min-width:0;padding:4px;border-radius:12px;background:linear-gradient(155deg,#fffcffb8,#f4e9fc6e);box-shadow:inset 0 1px 0 #fff9,0 1px 2px #59326b0a;display:grid;place-items:center;position:relative;transition:background .15s,transform .17s,box-shadow .17s;overflow:visible;touch-action:none}.gem-cell img{width:100%;height:100%;object-fit:contain;pointer-events:none;filter:drop-shadow(0 3px 2px #5c296429);transition:transform .17s;will-change:transform}.gem-cell:hover{background:#fff9;z-index:1}.gem-cell:hover img{transform:translateY(-2px) scale(1.08)}.gem-cell.selected{background:#fff9e9;box-shadow:0 0 0 2px #aa79bd,0 0 0 5px #fff9e9b3;z-index:2;transform:scale(.98)}.gem-cell.hinted{animation:hintGlow .75s ease-in-out infinite alternate;z-index:2}.gem-cell.clearing{animation:gemPop .3s ease-in forwards}.gem-cell.falling{animation:gemDrop .4s cubic-bezier(.2,.7,.3,1.15)}.gem-cell.invalid{animation:shake .3s}.board-shell.busy .gem-cell{pointer-events:none}.corner-flower{position:absolute;font-size:24px;z-index:2;color:#a380ba;text-shadow:1px 1px white;pointer-events:none}.top-left{top:-15px;left:23px}.bottom-right{bottom:-17px;right:23px}.game-toolbar{height:66px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 6px;color:#8c7594}.board-caption{font-size:10px;letter-spacing:.4px}.board-caption>span{margin-right:5px;font-size:17px}.tool-buttons{display:flex;gap:18px}.text-tool{background:none;display:flex;align-items:center;gap:5px;padding:8px 0;font-size:11px}.text-tool svg{width:16px;height:16px}.text-tool:hover{color:#572d72}.text-tool:disabled{opacity:.4}.garden-journal{padding-bottom:15px}.level-tag{font-size:8px;letter-spacing:1.7px;color:#a286ac}.tiny-spark{font-size:16px;margin-right:5px;vertical-align:middle;color:#b79bc8}.garden-journal h2{font-size:25px;font-weight:500;letter-spacing:3px;margin:10px 0 13px}.side-intro{color:#9c889f;font-size:11px;line-height:1.9;letter-spacing:.5px;margin:0 0 27px}.goal-card{background:rgba(255,253,249,.83);border:1px solid #e6d9e8;border-radius:17px;padding:20px;margin-bottom:18px;box-shadow:0 5px 15px #75508206}.card-overline{font-size:10px;letter-spacing:1.2px;color:#9b859f}.goal-number{font-size:32px;font-weight:500;letter-spacing:-1px;margin:8px 0 19px;position:relative}.goal-number>span{font-size:11px;letter-spacing:0;color:#a48da9;margin-left:3px;font-weight:400}.goal-number .goal-icon{font-size:30px;position:absolute;right:1px;top:0;color:#d2b3e0;font-weight:400}.progress-track{height:7px;background:#eee6f1;border-radius:9px;overflow:hidden}#progress-fill{height:100%;width:0;background:linear-gradient(90deg,#ceaddc,#9972b8);border-radius:9px;transition:width .4s}.progress-caption{display:flex;justify-content:space-between;gap:6px;margin-top:10px;font-size:9px;line-height:1.5;color:#a08aa5;letter-spacing:0}.progress-caption strong{font-size:9px;font-weight:500;color:#9773a8}.how-card{padding:18px 1px 0}.demo-gems{display:flex;align-items:center;margin:10px 0 5px;gap:1px}.demo-gems img{width:32px;height:36px;filter:drop-shadow(0 2px 2px #7a415b18)}.demo-gems>span{margin-left:15px;font-size:18px;color:#bd9dca}.how-card p{font-size:11px;line-height:1.9;color:#947c9b;letter-spacing:.4px;margin:8px 0 18px}.how-card strong{font-weight:500;color:#654676}.rule-divider{height:1px;background:var(--line);margin-bottom:16px}.rule-line{display:flex;gap:10px;align-items:center;font-size:10px;color:#9e87a6;margin:11px 0}.rule-symbol{font-size:16px;color:#ad8fbd;width:19px;text-align:center}.status-note{display:flex;align-items:flex-start;gap:8px;padding-top:18px;margin-top:12px;border-top:1px solid var(--line);font-size:10px;line-height:1.8;color:#9b83a4;min-height:64px}.status-spark{font-size:18px;line-height:1.2;color:#b494c5}.page-footer{max-width:904px;margin:18px auto 0;padding:21px 0 23px;display:flex;align-items:center;justify-content:center;gap:22px;color:#ad99b1;font-size:8px;letter-spacing:1.6px}.page-footer span:last-child{font-size:9px;letter-spacing:1.2px}.footer-flower{font-size:18px}.combo{position:absolute;left:50%;top:45%;transform:translate(-50%,-50%);font-family:'Playfair Display',Georgia,serif;font-size:32px;font-weight:600;color:#fff;white-space:nowrap;text-shadow:0 2px 0 #815397,0 0 18px #663777;pointer-events:none;z-index:6;opacity:0}.combo.show{animation:comboPop .85s ease-out both}.modal{width:min(440px,calc(100vw - 32px));max-height:90dvh;overflow:auto;background:#fffaf5;color:var(--plum);border:1px solid #e4d5e9;border-radius:25px;padding:35px;box-shadow:0 25px 80px #43235442}.modal::backdrop{background:#3a1c4c7d;backdrop-filter:blur(7px)}.modal h2{font-size:23px;font-weight:500;line-height:1.5;margin:13px 0 23px;letter-spacing:1px}.close-modal{position:absolute;right:17px;top:11px;font-size:26px;font-weight:400;background:none;color:#a28aab;padding:4px}.rules-list{padding-left:20px;color:#936da4}.rules-list li{padding-left:4px;margin:0 0 16px}.rules-list strong{font-size:12px;font-weight:600;color:#674976}.rules-list p{font-size:11px;line-height:1.9;margin:5px 0;color:#9a85a1}.keyboard-help{font-size:10px;line-height:1.8;color:#9985a0;border-top:1px solid var(--line);padding-top:15px;margin-bottom:22px}.primary-button{width:100%;background:#75508b;color:#fff;padding:14px 20px;border-radius:12px;font-size:12px;display:flex;justify-content:space-between;transition:background .2s}.primary-button:hover{background:#5c356e}.result-modal{text-align:center;padding:37px 35px}.result-stars{font-size:58px;line-height:1.1;color:#c3a3da;margin-bottom:16px}.result-modal .eyebrow{font-size:8px;letter-spacing:1.7px}.result-modal h2{margin-bottom:9px}.result-modal>p:not(.eyebrow){font-size:12px;line-height:1.8;color:#a08aaa}.final-score{font-size:52px;letter-spacing:-1px;color:#82589b;font-family:'Playfair Display',serif;margin-top:20px}.result-modal .final-label{margin:3px 0 26px;letter-spacing:2px;font-size:9px!important}.secondary-button{background:none;color:#9e86a6;font-size:11px;margin-top:17px;padding:6px}.low-moves{color:#c47493!important}@keyframes hintGlow{to{background:#fff9e8;box-shadow:0 0 0 2px #b986c1,0 0 13px #fff8c5;transform:scale(.96)}}@keyframes gemPop{50%{transform:scale(1.14);filter:brightness(1.35)}100%{transform:scale(.15);opacity:0}}@keyframes gemDrop{from{transform:translateY(-18px);opacity:.2}to{transform:translateY(0);opacity:1}}@keyframes shake{25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}@keyframes comboPop{0%{opacity:0;transform:translate(-50%,-30%) scale(.8)}20%{opacity:1;transform:translate(-50%,-50%) scale(1.05)}70%{opacity:1}100%{opacity:0;transform:translate(-50%,-100%) scale(1)}}
@media(min-width:1500px){.site-header{height:110px}main{padding-top:40px}.intro{margin-bottom:36px}.playground{max-width:974px;grid-template-columns:620px 280px;gap:74px}.page-footer{margin-top:23px}}
@media(max-width:850px){.site-header{padding:0 26px;height:77px}main{padding:26px 24px 0}.playground{gap:28px;grid-template-columns:minmax(0,1fr) 218px}.scoreboard{gap:18px;padding-left:10px;padding-right:10px}.score-block{min-width:75px}.board-shell{padding:12px;border-radius:21px}.board{gap:4px}.gem-cell{border-radius:9px;padding:3px}.goal-card{padding:16px}.garden-journal h2{font-size:22px}.intro h1{font-size:54px}.board-caption{font-size:9px}.tool-buttons{gap:12px}.text-tool{font-size:10px}}
@media(max-width:640px){.site-header{height:68px;padding:0 20px}.brand{font-size:20px}.brand-symbol{font-size:33px;margin-right:7px}.site-header nav{gap:17px}.nav-current{display:none}.nav-button{font-size:10px}.sound-button{width:34px;height:34px}.sound-button svg{width:16px;height:16px}main{padding:23px 16px 0}.intro{margin-bottom:20px}.eyebrow{font-size:7px;letter-spacing:2px}.intro h1{font-size:48px;margin:9px 0 9px}.intro-copy{font-size:10px;letter-spacing:1.8px}.playground{display:flex;flex-direction:column;gap:20px;max-width:480px}.game-panel{width:100%}.scoreboard{height:68px;padding:0 8px 15px;gap:20px}.stat-label{font-size:8px;margin-bottom:6px;letter-spacing:1px}.score-block strong,.moves-block strong{font-size:25px}.score-block{min-width:84px}.best-block strong{font-size:17px}.tiny{font-size:10px}.score-separator{height:29px}.board-shell{padding:9px;border-radius:19px;box-shadow:0 10px 24px #6d40771a,0 3px 0 #bba3ce,0 0 0 4px #fff9f180}.board{gap:4px}.gem-cell{padding:2px;border-radius:8px}.game-toolbar{height:55px;padding:0 2px}.board-caption{font-size:9px;letter-spacing:0}.text-tool{font-size:10px}.text-tool svg{width:14px;height:14px}.tool-buttons{gap:18px}.garden-journal{width:100%;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.level-tag,.garden-journal h2,.side-intro{display:none}.goal-card{grid-column:1 / -1;display:grid;grid-template-columns:1fr auto;gap:0 18px;margin:0 0 15px;padding:15px 18px;border-radius:14px}.card-overline{font-size:9px}.goal-card .card-overline{align-self:center}.goal-number{font-size:23px;margin:0 0 10px;grid-column:2;grid-row:1 / 3;align-self:center}.goal-number>span{font-size:9px}.goal-number .goal-icon{display:none}.progress-track{grid-column:1;grid-row:2;margin-top:10px;height:5px}.progress-caption{grid-column:1 / -1;margin-top:9px;font-size:9px}.how-card{padding:0;grid-column:1;display:none}.status-note{grid-column:1 / -1;margin:0;padding-top:0;min-height:30px;border:0;justify-content:center;font-size:10px}.page-footer{gap:13px;padding:18px 0 24px;margin-top:3px;font-size:6px;letter-spacing:1px}.page-footer span:last-child{font-size:8px;letter-spacing:0}.page-footer .footer-flower{font-size:15px}.landscape{background-position:center bottom;background-size:auto 100vh}.modal{padding:29px 25px}.modal h2{font-size:21px}.combo{font-size:28px}}
@media(max-width:359px){.scoreboard{gap:15px}.score-block{min-width:68px}.board{gap:3px}.gem-cell{border-radius:6px}.site-header{padding:0 16px}.site-header nav{margin-left:15px}.board-caption{font-size:8px}.tool-buttons{gap:12px}.page-footer{gap:8px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition:none!important;scroll-behavior:auto!important}.gem-cell.hinted{background:#fff9e8;outline:2px solid #b986c1}.gem-cell:hover img{transform:none}}
@media(min-width:641px) and (max-height:850px){.site-header{height:65px}main{padding-top:17px}.intro{margin-bottom:13px}.intro h1{font-size:45px;margin:7px 0}.intro .eyebrow{font-size:7px}.intro-copy{font-size:10px}.playground{max-width:720px;grid-template-columns:minmax(0,432px) 238px;gap:50px}.scoreboard{height:60px;padding-bottom:13px;gap:20px}.score-block strong,.moves-block strong{font-size:25px}.stat-label{font-size:8px}.best-block strong{font-size:17px}.board-shell{padding:11px;border-radius:21px}.board{gap:4px}.gem-cell{padding:3px;border-radius:9px}.game-toolbar{height:49px}.garden-journal{padding-bottom:0}.garden-journal h2{font-size:22px;margin:8px 0}.side-intro{font-size:10px;margin-bottom:18px}.goal-card{padding:16px;margin-bottom:12px}.goal-number{font-size:28px;margin:6px 0 13px}.how-card{padding-top:10px}.demo-gems{margin:7px 0}.demo-gems img{width:28px;height:31px}.how-card p{font-size:10px;margin:7px 0 12px}.rule-divider{margin-bottom:11px}.rule-line{font-size:9px;margin:8px 0}.status-note{margin-top:9px;padding-top:13px;font-size:9px;min-height:43px}.page-footer{margin-top:0;padding:11px 0 18px}}
.header-actions{display:flex;gap:12px;align-items:center}.header-actions select{border:0;background:none;color:#79558a;font:inherit;font-size:11px;max-width:70px;padding:6px}.login-button{font-size:11px;border:1px solid var(--line);background:#fffcf9a8;padding:10px 14px;border-radius:9px}.site-header{gap:24px}.site-header nav{gap:22px}.preview-banner{max-width:904px;margin:0 auto 15px;background:#f3e6cd;color:#826345;border-radius:7px;padding:9px 12px;text-align:center;font-size:10px;letter-spacing:.3px}.daily-strip{max-width:904px;display:flex;align-items:center;justify-content:space-between;margin:0 auto 20px;gap:20px;padding:0 3px}.daily-strip>div:first-child{display:flex;flex-direction:column;gap:8px}#pack-date{font-size:11px;color:#8a6b99}.verified-badge{font-size:7px;letter-spacing:1.8px;color:#987da4}.level-tabs{display:flex;gap:8px}.level-tab{width:42px;height:38px;border-radius:11px;background:#fffcf9a8;border:1px solid #ddcbe6;color:#9b7cac;font-size:12px}.level-tab.active{background:#8d69a6;color:#fff;box-shadow:0 3px 7px #906ca625}.level-tab.complete:after{content:'✓';font-size:8px;vertical-align:super;margin-left:2px}.goal-number .target-value{font-size:inherit;font-weight:500;color:inherit;letter-spacing:-1px;margin:0}.puzzle-notes{margin-top:21px}.note-line{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:#8a7295;margin:14px 0}.note-line strong{font-weight:500;text-align:right;color:#674877}.metric-disclaimer,#special-list{font-size:9px;line-height:1.7;color:#9d87a5;margin:12px 0}.metric-disclaimer{padding-bottom:12px;border-bottom:1px solid var(--line)}.member-description,.member-status{font-size:12px;line-height:1.9;color:#90759b}.member-status{padding:13px;background:#f1e8f5;border-radius:10px}#member-buy,#member-archive{margin-top:16px}#member-price{font-size:22px;color:#835699}button[hidden]{display:none!important}.level-tab:disabled{opacity:.4}.garden-journal h2{letter-spacing:-.5px;font-family:'Playfair Display','Noto Sans TC',Georgia,serif;font-size:27px}.intro-copy{letter-spacing:1px}.board-caption{letter-spacing:0}.page-footer a{color:inherit;text-decoration:none}.staff-layout{max-width:1050px;margin:55px auto;padding:0 25px}.staff-layout h1{font-family:'Playfair Display',serif;font-weight:500;font-size:42px}.staff-intro{max-width:520px;color:#92759d;line-height:1.8}.staff-login{max-width:370px}.member-table{width:100%;border-collapse:collapse;background:#fffaf5cf;font-size:12px}.member-table th,.member-table td{text-align:left;border-bottom:1px solid #e5d7eb;padding:15px 12px;word-break:break-word}.member-table th{color:#936da5;font-weight:500}.member-table-wrap{overflow-x:auto}.staff-pager{display:flex;gap:15px;justify-content:flex-end;margin-top:20px}.staff-pager button{padding:11px 18px;border:1px solid #decee6;background:#fff9f1;border-radius:8px}
@media(min-width:641px) and (max-height:850px){.intro{margin-bottom:18px}.daily-strip{max-width:720px;margin-bottom:7px}.preview-banner{max-width:720px;margin-bottom:12px}.level-tab{height:31px;width:36px;border-radius:8px}.playground{grid-template-columns:minmax(0,405px) 238px;gap:50px;max-width:693px}.scoreboard{height:54px}.board-shell{padding:10px}.puzzle-notes{margin-top:15px}.note-line{font-size:9px;margin:11px 0}.garden-journal h2{font-size:24px}.goal-card{padding:14px}.metric-disclaimer,#special-list{font-size:8px}.site-header nav{gap:20px}.site-header{padding:0 32px}}
@media(max-width:850px){.site-header nav{gap:13px}.login-button{font-size:10px;padding:9px}.header-actions{gap:8px}.site-header{gap:15px;padding:0 21px}}
@media(max-width:640px){.site-header{height:auto;min-height:68px;flex-wrap:wrap;padding:14px 18px;gap:13px}.site-header nav{order:3;width:100%;justify-content:center;font-size:10px;gap:27px;border-top:1px solid var(--line);padding-top:5px}.site-header .nav-current{display:block}.nav-current:after{bottom:1px}.header-actions{margin-left:auto;gap:5px}.login-button{font-size:9px;padding:7px;max-width:94px;line-height:1.5}.sound-button{width:29px;height:29px}.header-actions select{padding:4px;font-size:10px;max-width:47px}.brand{font-size:17px}.brand-symbol{font-size:29px}.brand-dot{font-size:10px}.intro h1{font-size:43px}.intro-copy{font-size:9px;letter-spacing:.3px}.daily-strip{gap:10px;margin:0 auto 8px;max-width:480px}.daily-strip>div:first-child{gap:6px}#pack-date{font-size:9px;max-width:160px;line-height:1.6}.verified-badge{font-size:6px;letter-spacing:1px}.level-tabs{gap:5px}.level-tab{width:28px;height:30px;font-size:10px;border-radius:8px}.preview-banner{font-size:8px;line-height:1.6;max-width:480px;margin-bottom:15px}.scoreboard{gap:15px}.stat-label{font-size:7px}.score-block{min-width:78px}.puzzle-notes{grid-column:1 / -1;margin-top:0;border-radius:13px;background:#fffaf5ba;padding:16px}.puzzle-notes>.card-overline{font-size:8px}.note-line{font-size:10px;margin:12px 0}.metric-disclaimer,#special-list{font-size:9px}.status-note{padding-top:13px}.member-table{font-size:10px}.member-table th,.member-table td{padding:10px 7px}.staff-layout{margin-top:35px}.staff-layout h1{font-size:34px}}
.puzzle-notes{background:#fffaf5bf;border:1px solid #e8dceba6;border-radius:14px;padding:16px}.metric-disclaimer,#special-list{color:#856c91}.status-note{color:#80648e}.stat-label{color:#806a8b}.board-caption,.text-tool{color:#7d628b}.side-intro{color:#866c91}
@media(min-width:641px) and (max-height:850px){.puzzle-notes{padding:12px;margin-top:11px}.note-line{margin:9px 0}.metric-disclaimer{padding-bottom:8px;margin:9px 0}#special-list{margin-bottom:0}}
.gem-cell .power-overlay{position:absolute;inset:0;width:100%;height:100%;filter:drop-shadow(0 0 4px #fff);z-index:2;pointer-events:none}.gem-cell .power-overlay[hidden]{display:none}.special-heading{display:block;font-size:9px;color:#795188;margin-bottom:12px;font-weight:600}.special-row{display:flex;gap:9px;align-items:center;margin:10px 0}.special-row>img{width:31px;height:31px;flex:none}.special-row>div{display:flex;flex-direction:column;gap:3px}.special-row strong{font-size:9px;font-weight:600;color:#755083}.special-row span{font-size:9px;line-height:1.6;color:#8e7498}#special-list small{display:block;font-size:8px;line-height:1.7;color:#9a82a4;margin-top:9px}.board-shell.power-wave{box-shadow:0 0 25px #d9a7f0,0 0 0 5px #ffe9ffa8}.puzzle-notes:has(.special-row){max-height:390px;overflow:auto;scrollbar-width:thin;scrollbar-color:#d4bfdf transparent}@media(max-width:640px){.puzzle-notes:has(.special-row){max-height:none;overflow:visible}.special-row strong,.special-row span{font-size:10px}#special-list small{font-size:9px}}
.login-button{max-width:180px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media(max-width:640px){.login-button{max-width:94px;white-space:normal}}

/* Completed-run ranking: local only until authenticated replay service is enabled. */
.ranking-card{background:#fffaf5db;border:1px solid #e8dceb;border-radius:17px;padding:19px 22px;margin:18px 0 0}.ranking-heading{display:flex;gap:9px;align-items:center}.ranking-heading h2{font-family:inherit;font-weight:600;font-size:10px;letter-spacing:1.4px;margin:0}.ranking-rule{font-size:11px;line-height:1.65;color:#80688b;margin:12px 0 16px}.ranking-columns,.local-rankings li{display:grid;grid-template-columns:40px 1fr 1fr;gap:12px;align-items:center}.ranking-columns{font-size:8px;letter-spacing:.7px;color:#8b7398;padding-bottom:8px;border-bottom:1px solid var(--line)}.ranking-columns>:last-child,.local-rankings li>:last-child{text-align:right}.local-rankings{padding:0;margin:0;list-style:none}.local-rankings li{font-variant-numeric:tabular-nums;font-size:12px;padding:10px 0;border-bottom:1px solid var(--line)}.local-rankings li:first-child{color:#7a43a0;font-weight:700}.ranking-disclaimer,#ranking-empty{font-size:10px;line-height:1.65;color:#876f91;margin:12px 0 0}.ranking-disclaimer{font-size:9px;color:#9a83a1}.sound-help{color:#897291;font-size:9px;line-height:1.5;margin:-9px 0 16px}.result-first-goal{font-size:13px;font-weight:600;color:#9566af;margin:12px 0}.best-block{max-width:135px}#first-goal{font-variant-numeric:tabular-nums}.goal-achieved #first-goal{color:#7e45a4}@media(max-width:640px){.ranking-card{padding:15px 16px;margin-top:14px}.ranking-heading h2{font-size:9px}.ranking-rule{font-size:10px}.ranking-columns{font-size:7px}.local-rankings li{font-size:11px}.best-block{max-width:100px}.best-block strong{font-size:16px}.sound-help{margin:0 0 10px;grid-column:1/-1}}

/* The board is centered on every screen; information sits above and below. */
.playground{display:flex;flex-direction:column;align-items:center;gap:28px;max-width:760px}.game-panel{width:100%;max-width:550px}.garden-journal{width:100%;max-width:700px;display:grid;grid-template-columns:1fr 1fr;gap:10px 25px;padding:0 8px}.garden-journal .level-tag,.garden-journal h2,.garden-journal .sound-help{grid-column:1/-1;text-align:center}.garden-journal h2{margin:4px 0;font-size:25px}.garden-journal .sound-help{margin:0 0 10px}.garden-journal .puzzle-notes{grid-column:1/-1;width:100%;max-height:none;overflow:visible;margin:0}.garden-journal .status-note{grid-column:1/-1;margin:0;padding-top:5px}.puzzle-notes .note-line{font-size:11px}.metric-disclaimer,#special-list small{font-size:10px}.special-row strong,.special-row span{font-size:11px}.game-panel>.goal-card{padding:13px 18px;margin:0 0 15px;display:grid;grid-template-columns:1fr 1fr;gap:2px 16px}.game-panel>.goal-card>.card-overline{font-size:8px;align-self:center}.game-panel>.goal-card>.goal-number{font-size:19px;text-align:right;margin:0}.game-panel>.goal-card .target-value{font-size:23px}.game-panel>.goal-card .goal-icon{display:none}.game-panel>.goal-card .progress-track,.game-panel>.goal-card .progress-caption{grid-column:1/-1}.game-panel>.goal-card .progress-track{margin:5px 0 3px}.game-panel>.goal-card .progress-caption{font-size:9px}.bonus-banner{display:flex;align-items:center;gap:12px;padding:14px 16px;margin:0 0 17px;background:#f0e5fa;border:1px solid #c9abd9;border-radius:15px;box-shadow:0 4px 18px #9c6ab610}.bonus-banner[hidden]{display:none}.bonus-banner strong{font-size:12px;color:#70408b}.bonus-banner p{margin:5px 0 0;font-size:11px;line-height:1.5;color:#836295}.bonus-flower{font-size:36px;color:#b77caa;flex:none}.board-shell.bonus-mode{border-color:#af7bc7;box-shadow:0 4px 0 #b99aca,0 12px 32px #bf88cf21,0 0 0 5px #f3e6fa9c}.petals{position:absolute;inset:0;z-index:8;overflow:hidden;pointer-events:none;border-radius:22px}.petals span{position:absolute;left:var(--x);top:-35px;font-size:24px;color:#b775a0;opacity:0;animation:petal-fall 2.6s var(--delay) ease-out both;filter:drop-shadow(0 2px 2px #fff8)}.petals span:nth-child(3n){color:#c3a1de;font-size:30px}.petals span:nth-child(3n+1){color:#ddbb79;font-size:20px}@keyframes petal-fall{0%{transform:translate(0,-15px) rotate(0);opacity:0}10%{opacity:.9}82%{opacity:.7}100%{transform:translate(var(--drift),550px) rotate(var(--spin));opacity:0}}.intro{margin-bottom:20px}.intro h1{font-size:51px;margin-top:8px}.scoreboard{height:65px;padding:0 12px 14px}.daily-strip,.preview-banner{max-width:550px}.board-shell{padding:13px}.board{gap:5px}.page-footer{margin-top:30px}@media(max-width:640px){.playground{gap:24px}.game-panel{max-width:480px}.garden-journal{padding:0;display:block}.garden-journal .level-tag,.garden-journal h2,.garden-journal .sound-help{text-align:center}.garden-journal .sound-help{margin:8px 0 16px}.garden-journal .status-note{margin:14px 0}.intro h1{font-size:41px}.scoreboard{height:59px;gap:14px;padding:0 5px 12px}.score-block{min-width:70px}.game-panel>.goal-card{padding:10px 12px;margin-bottom:12px}.game-panel>.goal-card .target-value{font-size:20px}.bonus-banner{gap:9px;padding:11px 13px;margin-bottom:13px}.bonus-banner strong{font-size:11px}.bonus-banner p{font-size:10px}.bonus-flower{font-size:29px}.board-shell{padding:9px}.board{gap:4px}.garden-journal .puzzle-notes{padding:15px}.special-row strong,.special-row span{font-size:10px}.stat-label{font-size:7px;letter-spacing:.5px}}@media(prefers-reduced-motion:reduce){.petals span{animation:none;display:none}.board-shell.bonus-mode{box-shadow:0 0 0 4px #e9d7f2}.bonus-banner{transition:none}}

/* Keep touch drags on the board; page scrolling remains available outside. */
#board{touch-action:none;user-select:none;-webkit-user-select:none}#board .gem-cell img{-webkit-user-drag:none;pointer-events:none}#board.dragging{cursor:grabbing}

#board{aspect-ratio:8/10;grid-template-rows:repeat(10,minmax(0,1fr))}.gem-cell.stone{cursor:not-allowed;padding:0;background:linear-gradient(155deg,#ece9f0b8,#d5cedf80)}.gem-cell.stone img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 2px 1px #3a304133)}.gem-cell.stone:hover img{transform:none}#stone-help{font-size:12px;line-height:1.6}

/* The double-spade replaces only the arrow overlay; coloured gem stays below. */

.gem-cell.garden-tool .power-overlay{inset:0;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 1px 1px #38293f88)}
.fall-layer .gem-cell:hover img{transform:none}

/* Initial obstacle rating, not a score or solver-derived success rating. */
.stone-difficulty{flex:1;min-width:88px;text-align:center;color:#d85b72;font-size:22px;letter-spacing:1px;white-space:nowrap;line-height:1.2}
@media(max-width:640px){.stone-difficulty{min-width:78px;font-size:18px;letter-spacing:0}.scoreboard{column-gap:8px}}
@media(max-width:360px){.stone-difficulty{min-width:70px;font-size:16px}.scoreboard .score-separator{display:none}.scoreboard{column-gap:6px}.best-block .stat-label{font-size:8px}}

.gem-cell.ice-gem .power-overlay{opacity:.8;object-fit:contain;filter:drop-shadow(0 0 1px #bdf9ff)}

/* Ice rays remain distinct at 40–64px tile size; leave gem's center color exposed. */
.gem-cell.ice-gem .power-overlay{opacity:1;filter:drop-shadow(0 0 1px #087cac);mask-image:radial-gradient(circle,transparent 0 11%,#000 19%);-webkit-mask-image:radial-gradient(circle,transparent 0 11%,#000 19%)}
.ice-burst-layer{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:12;border-radius:inherit}
.ice-burst-ring{position:absolute;box-sizing:border-box;border:3px solid #b4faff;border-radius:24%;background:radial-gradient(circle,#d7ffff88,transparent 70%);box-shadow:0 0 12px #8aeaff88;transform:translate(-50%,-50%)}
.ice-burst-shard{position:absolute;width:9px;height:15px;background:linear-gradient(130deg,#fff,#78e1f6 55%,#288cb9);clip-path:polygon(50% 0,100% 55%,40% 100%,0 40%);filter:drop-shadow(0 0 2px #e0ffff)}

.stone-difficulty{display:flex;flex-direction:column;align-items:center;gap:5px;letter-spacing:0}
.difficulty-label{font-size:9px;font-weight:700;letter-spacing:.12em;line-height:1.2;color:#8e7498}
.difficulty-stars{display:flex;align-items:center;justify-content:center;gap:1px;line-height:1}
.difficulty-stars img{display:block;width:22px;height:22px;flex:none}
@media(max-width:640px){.difficulty-stars img{width:18px;height:18px}.difficulty-label{font-size:8px;letter-spacing:.06em}}
@media(max-width:360px){.difficulty-stars img{width:16px;height:16px}}

/* Chain tiers: all overlays remain non-interactive and fit the board. */
.combo{pointer-events:none;max-width:94%;width:max-content;white-space:normal;text-align:center;line-height:1.08;filter:drop-shadow(0 2px 2px #fff);z-index:15}
.combo-label{display:block;font-weight:900;overflow-wrap:normal}
.combo-score{display:block;font-size:16px;line-height:1.3;letter-spacing:1px;color:#823e8e;text-shadow:0 1px #fff;margin-top:5px}
.combo[data-tier="2"]{font-size:clamp(26px,4vw,38px)}
.combo[data-tier="2"] .combo-label{background:linear-gradient(180deg,#fff0a6 0%,#f9ac56 43%,#d95385 75%,#a52d89 100%);color:transparent;background-clip:text;-webkit-background-clip:text;filter:drop-shadow(0 1px 1px #854a8b)}
.combo[data-tier="3"]{font-size:clamp(34px,5.5vw,54px);filter:drop-shadow(0 0 7px #fff7b4) drop-shadow(0 2px 2px #773384)}
.combo[data-tier="3"] .combo-label{background:linear-gradient(165deg,#ffffdc 0%,#ffe369 24%,#ff9c61 45%,#ed66b7 65%,#9c6beb 84%,#98edff 100%);color:transparent;background-clip:text;-webkit-background-clip:text}
.combo[data-tier="3"] .combo-score{font-size:20px;color:#9a418f}
@media(max-width:400px){.combo[data-tier="2"]{font-size:27px}.combo[data-tier="3"]{font-size:35px}.combo-score{font-size:14px}.combo[data-tier="3"] .combo-score{font-size:17px}}
@media(prefers-reduced-motion:reduce){.combo.show{animation:none;opacity:1}.combo[data-tier="3"]{filter:drop-shadow(0 1px 1px #773384)}}
@keyframes combo-reduced{0%,75%{opacity:1}100%{opacity:0}}
@media(prefers-reduced-motion:reduce){.combo.show{animation:combo-reduced .85s both}}
.staff-password{max-width:460px;margin:24px auto;padding:20px;border:1px solid #d8c4e1;border-radius:14px;background:#fffaf4}.staff-password[hidden]{display:none}.staff-password form{display:grid;gap:10px}.staff-password input{min-width:0;width:100%;padding:12px;font:inherit;border:1px solid #80648d;border-radius:6px}.staff-password [hidden]{display:none}.staff-password button{padding:12px;margin-top:8px}.staff-password [role=status]{line-height:1.6}.staff-password input:focus-visible{outline:3px solid #925bb8;outline-offset:3px}

.brand .brand-logo{display:inline-block;width:36px;height:36px;object-fit:contain;flex:0 0 36px;vertical-align:middle;margin-right:6px}
@media(max-width:600px){.brand .brand-logo{width:30px;height:30px;flex-basis:30px;margin-right:4px}}
