@font-face{font-family:Butler;src:url('assets/butler-ultralight.woff') format('woff');font-weight:300;font-display:swap}
@font-face{font-family:Butler;src:url('assets/butler-medium.woff') format('woff');font-weight:500;font-display:swap}
@font-face{font-family:HKG;src:url('assets/hk-grotesk-pro-light.woff') format('woff');font-weight:300;font-display:swap}
@font-face{font-family:HKG;src:url('assets/hk-grotesk-medium.woff') format('woff');font-weight:500;font-display:swap}
@font-face{font-family:HKG;src:url('assets/hk-grotesk-semibold.woff') format('woff');font-weight:600;font-display:swap}
:root{--paper:#fdfcfb;--rose:#e88b90;--rose-deep:#ad5962;--ink:#3a342c;--sage:#87927d;--line:#3a342c20;--blush:#f6e9e7;--tile-size:14.285714%;--red:var(--rose-deep);--cream:var(--paper);--brown:var(--ink);font-family:HKG,Arial,sans-serif;font-weight:300;color:var(--ink);font-synthesis:none}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;overflow-x:clip}body{background:var(--paper);min-height:100svh}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation}a{color:inherit}button:focus-visible,a:focus-visible{outline:2px solid var(--rose-deep);outline-offset:4px}button:disabled{cursor:default}button svg{display:block}button{border-radius:0}strong{font-weight:600}button,a{text-underline-offset:4px}
.ambient{position:absolute;inset:0;z-index:-1;overflow:hidden;pointer-events:none}.wave-pattern{position:absolute;left:-100px;bottom:0;width:540px;height:275px;background:url('assets/waves.svg');opacity:.35;mask-image:linear-gradient(20deg,#000,transparent 72%)}.sakura-branch{position:absolute;right:-70px;top:25%;width:300px;opacity:.36;transform:rotate(-12deg)}
.site-header{height:98px;margin:0 5%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:24px}.brand{display:flex;align-items:center;text-decoration:none;gap:17px}.brand img{display:block;width:79px;height:65px;object-fit:contain}.brand>span{font:500 15px Butler,Georgia,serif;letter-spacing:1.9px}.brand small{display:block;font:500 8px HKG,sans-serif;letter-spacing:1.6px;margin-top:7px}.header-note{font-size:9px;letter-spacing:2.1px;font-weight:500}.top-actions{display:flex;gap:10px}.icon-button{display:grid;place-items:center;width:36px;height:36px;border:1px solid var(--line);border-radius:50%;background:var(--paper);transition:background .18s,transform .18s}.icon-button:hover{background:var(--blush);transform:translateY(-2px)}.icon-button svg{width:18px;height:18px}.icon-button svg path,.icon-button svg circle{fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.help{font:300 23px Butler,Georgia,serif}
.layout{width:calc(100% - 80px);max-width:1060px;margin:35px auto 30px;display:grid;grid-template-columns:minmax(0,390px) minmax(0,500px);gap:100px;align-items:center}.intro{padding:0 0 10px 0}.eyebrow{display:flex;align-items:center;gap:10px;font-size:9px;letter-spacing:2.15px;font-weight:500;margin:0 0 25px}.eyebrow>img{width:18px;height:18px}h1{font:300 115px/.86 Butler,Georgia,serif;letter-spacing:-4.5px;margin:0 0 22px;width:max-content}h1>span{color:var(--rose-deep);display:block;margin-left:38px}.title-dot{color:var(--rose)}.intro-tagline{font:300 24px Butler,Georgia,serif;letter-spacing:-.4px;margin:0 0 19px}.intro-copy{font-size:14px;line-height:1.75;margin:0;color:#6b6258}.intro-copy strong{font-weight:500;color:var(--ink)}.mini-match{display:flex;align-items:center;margin:18px 0 4px;gap:7px}.mini-match svg{width:66px;height:66px;transform:rotate(-7deg)}.mini-match svg:nth-child(2){transform:translateY(-5px) rotate(8deg)}.mini-match svg:nth-child(3){transform:rotate(-4deg)}.how-it-works{display:flex;gap:14px;align-items:center;margin:8px 0 25px}.step-number{font-size:8px;font-weight:500;letter-spacing:2px;color:var(--rose-deep)}.how-it-works p{font-size:11px;margin:0}.best{display:flex;align-items:center;gap:14px;border-top:1px solid var(--line);width:265px;padding-top:19px}.best-icon{width:31px;height:31px}.best>div{display:flex;flex-direction:column;gap:4px}.best span{font-size:8px;letter-spacing:1.7px;font-weight:500}.best strong{font:500 27px/1 HKG,sans-serif;font-variant-numeric:tabular-nums}.micro-rule{font-size:10px;line-height:1.65;color:#82746c;margin:17px 0 0}
.play-area{width:100%;min-width:0;position:relative}.game-shell{position:relative;padding:19px 19px 0;background:#fff;border:1px solid #e4d9d4;border-radius:15px;box-shadow:0 4px 0 #e9e2de,0 17px 42px -23px #50423635}.game-shell:before,.game-shell:after{content:'';position:absolute;right:-15px;top:64px;width:5px;height:260px;background:#8a6650;border-radius:2px;transform:rotate(6deg);transform-origin:bottom;z-index:-1}.game-shell:after{right:-26px;transform:rotate(9deg);background:#a68268}.game-heading{height:23px;display:flex;align-items:center;justify-content:space-between;margin:0 3px 9px}.level{font-size:8px;letter-spacing:1.35px;font-weight:500;color:#6f665f}.restart{width:25px;height:25px}.restart svg{width:14px;height:14px}.scoreboard{display:flex;align-items:center;gap:35px;margin:0 5px 16px}.score-zone{flex:1;min-width:0}.stat-label{font-size:8px;letter-spacing:1.8px;font-weight:500}.score-line{display:flex;align-items:baseline;gap:14px;line-height:1.2;margin:0 0 9px;font-variant-numeric:tabular-nums}.score-line>strong{font-size:35px;letter-spacing:-1.5px;font-weight:500}.score-line>span{font-size:10px;color:#918279}.charge-label{display:flex;align-items:center;justify-content:space-between;font-size:7px;letter-spacing:1px;color:var(--rose-deep);font-weight:500;margin-bottom:6px}.charge-label>span:first-child{display:flex;align-items:center;gap:5px}.charge-label img{width:10px;height:10px}.progress{height:4px;display:flex;gap:5px}.progress i{display:block;flex:1;border-radius:1px;background:#f3e7e4;transform-origin:left;transition:background .16s,transform .16s}.progress i.filled{background:var(--rose);animation:charge-in .22s ease-out}.score-zone.charged .progress i{background:var(--rose-deep)}.moves{width:72px;height:78px;border:1px solid #e9c8c5;background:#fbefed;display:flex;flex-direction:column;justify-content:center;align-items:center;flex:none;border-radius:36px 36px 7px 7px;position:relative}.moves:before{content:'';position:absolute;width:11px;height:11px;top:-7px;left:50%;transform:translateX(-50%);background:url('assets/bloom.svg') center/contain}.moves strong{font:500 35px/1 HKG,sans-serif;letter-spacing:-1.5px;color:var(--rose-deep)}.moves span{font-weight:500;font-size:6px;letter-spacing:1.2px;margin-top:5px}.moves.low{animation:low 1.2s infinite}
.board-wrap{position:relative;width:100%;aspect-ratio:1;border-radius:9px;background:#eaded6;isolation:isolate}.board-bg{position:absolute;inset:0;border:6px solid #f0e8e2;border-radius:9px;overflow:hidden;display:grid;grid-template-columns:repeat(7,1fr);grid-template-rows:repeat(7,1fr);background:#faf5ee;box-shadow:inset 0 0 0 1px #e6d7cb}.board-bg i:nth-child(2n){background:#f0e7db}.board{position:absolute;inset:6px;overflow:hidden;touch-action:none;user-select:none;-webkit-user-select:none;border-radius:5px}.piece{position:absolute;left:0;top:0;width:var(--tile-size);height:var(--tile-size);transform:translate(calc(var(--x)*100%),calc(var(--y)*100%));border:0;padding:1px;background:transparent;will-change:transform;transition:transform 170ms cubic-bezier(.22,.75,.24,1.12);border-radius:8px;z-index:1;outline-offset:-3px!important}.piece-art{display:block;width:100%;height:100%;position:relative;transition:transform .14s ease,opacity .12s}.piece svg{width:100%;height:100%;overflow:visible;display:block}.piece:before{content:'';position:absolute;inset:2px;border-radius:7px;opacity:0;background:#fff9;transition:opacity .1s}.piece:hover:before{opacity:1}.piece.selected{z-index:3}.piece.selected:before{opacity:1;background:#fff9;border:2px solid var(--rose-deep)}.piece.selected .piece-art{transform:scale(1.1) rotate(-5deg)}.piece.hinted .piece-art{animation:hint .6s ease-in-out infinite alternate}.piece.hinted:before{opacity:1;border:2px dashed var(--rose-deep)}.piece.entering{transition:none}.piece.clearing .piece-art{animation:popout 145ms cubic-bezier(.3,0,.5,1) forwards}.piece.new-special .piece-art{animation:special-in .35s both}.special-mark{position:absolute;inset:6%;border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1.5px var(--rose-deep);pointer-events:none}.special-mark:after{content:'↔';position:absolute;bottom:-1px;left:50%;transform:translateX(-50%);color:#fff;background:var(--rose-deep);width:23px;height:16px;line-height:15px;border-radius:10px;font-size:15px;font-weight:600;text-align:center}.piece[data-special=col] .special-mark:after{content:'↕'}.piece[data-special=bomb] .special-mark{border-color:#fffc;border-style:dashed;animation:spin 12s linear infinite}.piece[data-special=bomb] .special-mark:after{content:'✦';font-size:20px;line-height:23px;width:24px;height:24px;bottom:-4px;box-shadow:0 0 0 2px var(--paper)}
#effects{position:absolute;inset:6px;pointer-events:none;z-index:12;overflow:visible}.combo{position:absolute;top:43%;left:50%;z-index:16;pointer-events:none;transform:translate(-50%,-50%);white-space:nowrap;text-align:center;color:var(--rose-deep);opacity:0;filter:drop-shadow(0 2px 0 #fff);text-shadow:2px 2px 0 #fff,-2px -2px 0 #fff,2px -2px 0 #fff,-2px 2px 0 #fff}.combo strong{display:block;font:500 51px/.98 Butler,Georgia,serif;letter-spacing:-1.8px}.combo span{display:block;font-size:12px;font-weight:600;letter-spacing:.4px;margin-top:8px}.combo.power strong{font-size:53px}.combo.power span{font-size:9px;letter-spacing:.6px}.combo.show{animation:combo .7s ease-out both}.combo.power.show{animation-duration:.85s}.board-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:49px}.board-footer p{font-size:10px;line-height:1.35;margin:0;max-width:72%}.hint-button{border:0;background:none;font-size:10px;font-weight:500;display:flex;align-items:center;gap:7px;white-space:nowrap;padding:9px 0}.hint-button>span{color:var(--rose-deep);font-size:20px}.hint-button small{width:16px;height:16px;display:grid;place-items:center;font-size:8px;background:var(--blush);border-radius:50%}.hint-button:disabled{opacity:.35}.below-game{display:flex;align-items:center;justify-content:center;gap:9px;font-size:7px;letter-spacing:1.35px;margin-top:22px;white-space:nowrap}.below-game img{width:15px;height:15px}.below-game .line{height:1px;background:var(--line);flex:1;max-width:44px}.below-game strong{font-weight:600}
.site-footer{margin:0 5%;border-top:1px solid var(--line);padding:18px 0 24px;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:10px;color:#81756c}.site-footer a{text-decoration:none}.site-footer a:hover{color:var(--rose-deep)}.site-footer>a{font-weight:500;color:var(--ink)}.site-footer>a>span{display:inline-block;margin-left:12px;color:var(--rose-deep)}.site-footer>span{font-size:9px}.site-footer>span a{border-bottom:1px solid #b9aaa0}
dialog{border:1px solid #e3d9d4;background:var(--paper);color:var(--ink);border-radius:12px;padding:35px;max-width:450px;width:calc(100% - 30px);max-height:calc(100svh - 30px);overflow:auto;text-align:center;box-shadow:0 22px 70px #30261f20}dialog::backdrop{background:#332c265c;backdrop-filter:blur(5px)}dialog[open]{animation:dialog-in .22s cubic-bezier(.2,.8,.2,1)}dialog .close-dialog{position:absolute;right:12px;top:12px;border:0;font-size:27px;width:29px;height:29px}.dialog-flower{width:30px;height:30px;margin:0 auto 18px}dialog .eyebrow{justify-content:center;font-size:8px;letter-spacing:1.6px;margin:5px 0 20px}dialog h2{font:300 53px/1 Butler,Georgia,serif;letter-spacing:-1.7px;margin:0 0 20px}dialog h2 em{font-style:normal;color:var(--rose-deep)}dialog p{font-size:13px;line-height:1.65;color:#6b6258}.rules-list{text-align:left;margin:20px 0}.rules-list>div{display:flex;align-items:center;gap:18px;border-top:1px solid var(--line);padding:13px 0}.rules-list b{font:300 39px Butler,Georgia,serif;color:var(--rose-deep);width:30px;flex:none;text-align:center}.rules-list p{font-size:12px;line-height:1.5;margin:0}.rules-list strong,.rules-list span{display:block}.rules-list strong{color:var(--ink);margin-bottom:3px}.rules-note{font-size:11px!important;line-height:1.7!important}.rules-note small{display:block;font-size:9px;margin-top:12px}.primary,.secondary{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:49px;padding:0 19px;border-radius:5px;font-size:12px;font-weight:500;text-decoration:none;transition:transform .15s,background .15s}.primary{background:var(--ink);border:1px solid var(--ink);color:var(--paper);margin-top:24px}.secondary{background:transparent;border:1px solid #c9b7ae;margin-top:10px}.primary:hover{background:var(--rose-deep);border-color:var(--rose-deep)}.primary:hover,.secondary:hover{transform:translateY(-2px)}.primary>span,.secondary>span{font-size:22px}.text-button{font-size:11px;border:0;background:none;text-decoration:underline;margin:20px 0 0}.result-stars{font-size:30px;letter-spacing:10px;margin:0 0 24px}.result-stars span{color:#ded5ce}.result-stars span.earned{color:var(--rose-deep)}.result-score{display:flex;flex-direction:column;margin:22px 0 4px}.result-score strong{font-size:61px;letter-spacing:-2px;line-height:1.1;font-weight:500;font-variant-numeric:tabular-nums}.result-score>span{font-size:9px;letter-spacing:2px;margin-top:7px}.result-detail{font-size:10px!important;line-height:1.9!important}.share-status{font-size:10px!important;min-height:16px;margin:12px 0 0}#story-preview{width:145px;height:auto;display:block;margin:18px auto;border:1px solid var(--line)}#story-dialog h2{font-size:43px}.secondary[hidden]{display:none}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@keyframes popout{0%{transform:scale(1)}35%{transform:scale(1.2);filter:brightness(1.15)}100%{transform:scale(0) rotate(14deg);opacity:0}}@keyframes special-in{0%{transform:scale(.4)}60%{transform:scale(1.3)}100%{transform:scale(1)}}@keyframes hint{to{transform:scale(1.12) rotate(-7deg)}}@keyframes combo{0%{opacity:0;transform:translate(-50%,-30%) scale(.65) rotate(-6deg)}20%{opacity:1;transform:translate(-50%,-50%) scale(1.08) rotate(-3deg)}65%{opacity:1;transform:translate(-50%,-50%) scale(1) rotate(-3deg)}100%{opacity:0;transform:translate(-50%,-80%) scale(.9) rotate(-3deg)}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes low{50%{box-shadow:0 0 0 4px #e88b9025}}@keyframes dialog-in{from{opacity:0;transform:translateY(14px) scale(.97)}to{opacity:1;transform:none}}@keyframes charge-in{0%{transform:scaleX(.3)}65%{transform:scaleX(1.06)}100%{transform:scaleX(1)}}
@media(min-width:961px) and (max-height:830px){.site-header{height:74px}.brand img{width:65px;height:54px}.layout{grid-template-columns:350px 420px;max-width:900px;gap:100px;margin:22px auto}.eyebrow{margin-bottom:18px}h1{font-size:103px;margin-bottom:18px}.intro-tagline{font-size:22px;margin-bottom:13px}.intro-copy{font-size:13px}.mini-match{margin:13px 0 2px}.mini-match svg{width:54px;height:54px}.how-it-works{margin:4px 0 17px}.best{padding-top:13px}.micro-rule{margin-top:11px}.game-shell{padding:15px 15px 0}.game-heading{height:20px;margin-bottom:5px}.scoreboard{margin-bottom:12px;gap:25px}.score-line>strong{font-size:31px}.score-line{margin-bottom:7px}.moves{width:63px;height:68px}.moves strong{font-size:31px}.board-footer{min-height:44px}.below-game{margin-top:16px}.site-footer{padding:15px 0}.sakura-branch{width:245px;right:-65px}}
@media(max-width:1050px) and (min-width:761px){.layout{width:calc(100% - 70px);grid-template-columns:minmax(0,290px) minmax(0,450px);gap:65px;max-width:850px}.header-note{font-size:7px;letter-spacing:1.2px}.brand small{font-size:7px}.brand>span{font-size:13px}h1{font-size:90px;letter-spacing:-3px}h1>span{margin-left:24px}.intro-tagline{font-size:20px}.intro-copy{font-size:13px}.micro-rule{font-size:9px}.sakura-branch{right:-160px}.site-header{margin:0 4%}.site-footer{margin:0 4%;font-size:8px}.site-footer>span{font-size:8px}}
@media(max-width:760px){.site-header{height:74px;margin:0 20px;gap:10px}.brand{gap:10px}.brand img{width:56px;height:49px}.brand>span{font-size:12px;letter-spacing:1.4px}.brand small{font-size:6px;letter-spacing:1.1px;margin-top:5px}.header-note{display:none}.top-actions{gap:7px}.icon-button{width:32px;height:32px}.icon-button svg{width:17px;height:17px}.layout{display:block;width:100%;max-width:490px;padding:0 17px;margin:19px auto 23px}.intro{position:relative;padding:0;margin:0 3px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px}.intro .eyebrow,.intro-copy,.mini-match,.how-it-works,.best,.micro-rule{display:none}h1{font-size:43px;letter-spacing:-1.7px;line-height:1;margin:0;white-space:nowrap}h1 br{display:none}h1>span{display:inline;margin-left:5px}.intro-tagline{max-width:90px;font:300 12px/1.3 HKG,Arial,sans-serif;text-align:right;letter-spacing:0;margin:0}.game-shell{padding:12px 12px 0;border-radius:12px;box-shadow:0 4px 0 #e9e2de,0 16px 32px -22px #50423635}.game-shell:before,.game-shell:after{display:none}.game-heading{height:24px;margin:0 1px 9px}.level{font-size:7px;letter-spacing:1px}.restart{width:24px;height:24px}.scoreboard{margin:0 4px 13px;gap:28px}.score-line>strong{font-size:31px}.score-line>span{font-size:10px}.score-line{gap:12px;margin:0 0 8px}.stat-label{font-size:7px}.charge-label{font-size:7px;letter-spacing:.8px}.moves{width:61px;height:67px}.moves strong{font-size:30px}.moves span{font-size:6px;letter-spacing:.8px}.board-bg{border-width:4px}.board,#effects{inset:4px}.board-footer{min-height:52px;gap:7px}.board-footer p{font-size:9px;max-width:67%}.hint-button{font-size:9px;gap:5px}.below-game{font-size:6px;letter-spacing:1px;gap:7px;margin-top:18px}.below-game img{width:12px;height:12px}.below-game .line{max-width:25px}.sakura-branch{width:190px;top:7%;right:-85px;opacity:.2}.wave-pattern{width:100%;height:210px;left:0;bottom:0;opacity:.3}.site-footer{margin:0 20px;padding:16px 0 20px;flex-wrap:wrap;justify-content:center;gap:10px;font-size:10px}.site-footer>span{order:3;width:100%;text-align:center;font-size:8px}.site-footer>.restaurant-link{display:none}.site-footer>a>span{margin-left:5px}.combo strong{font-size:37px;letter-spacing:-1px}.combo span{font-size:11px}.combo.power strong{font-size:40px}.combo.power span{font-size:7px;letter-spacing:.3px}.special-mark{border-width:1.5px}.special-mark:after{width:18px;height:13px;line-height:12px;font-size:12px}.piece[data-special=bomb] .special-mark:after{width:18px;height:18px;font-size:16px;line-height:17px}dialog{padding:31px 25px}dialog h2{font-size:47px}}
@media(max-width:370px){.site-header{margin:0 13px;height:65px}.brand img{width:45px;height:43px}.brand>span{font-size:10px}.brand small{font-size:5px}.top-actions{gap:5px}.icon-button{width:29px;height:29px}.layout{padding:0 10px;margin-top:14px}.intro{margin-bottom:14px}h1{font-size:38px}.intro-tagline{font-size:10px;max-width:70px}.game-shell{padding:9px 9px 0}.level{font-size:6px;letter-spacing:.6px}.scoreboard{gap:20px;margin-bottom:11px}.moves{height:61px;width:54px}.score-line>strong{font-size:28px}.charge-label{font-size:6px}.board-footer p{font-size:8px}.hint-button{font-size:8px}.board-footer{min-height:47px}.below-game{font-size:5.5px;letter-spacing:.6px}.combo.power strong{font-size:34px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}.piece{will-change:auto}}
