@font-face{font-family:Hip;src:url('assets/hip-pocket.woff2') format('woff2');font-display:swap}@font-face{font-family:Poppins;src:url('assets/poppins-400.ttf')}@font-face{font-family:Poppins;src:url('assets/poppins-600.ttf');font-weight:600}@font-face{font-family:Poppins;src:url('assets/poppins-800.ttf');font-weight:800}
:root{--pink:#f7b2d8;--cream:#fefbf0;--brown:#4e270a;--red:#c81124;--line:#4e270a24;--tile-size:14.285714%;font-family:Poppins,sans-serif;color:var(--brown);font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--pink);min-height:100svh}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid var(--red);outline-offset:4px}button:disabled{cursor:default}button{touch-action:manipulation}a{color:inherit}.icon-button svg{width:21px;height:21px;display:block}.icon-button svg path,.icon-button svg circle{stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}.site-header{height:88px;margin:0 5%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.wordmark{text-decoration:none;font-weight:800;font-size:27px;letter-spacing:-1.5px}.header-note{font-size:9px;font-weight:600;letter-spacing:2px;margin-left:70px}.top-actions{display:flex;gap:10px}.icon-button{background:transparent;border:1px solid var(--brown);border-radius:50%;width:39px;height:39px;display:grid;place-items:center;transition:background .15s,transform .15s}.icon-button:hover{background:#ffffff60;transform:rotate(-6deg)}.help{font-size:20px;font-weight:600}.layout{max-width:1040px;margin:35px auto 28px;display:grid;grid-template-columns:360px 540px;gap:100px;align-items:center}.intro{padding:0 0 8px 12px}.eyebrow{font-size:9px;letter-spacing:1.7px;font-weight:600;margin:0 0 22px;display:block}.eyebrow>span{width:6px;height:6px;border-radius:50%;background:var(--red);display:inline-block;margin-right:7px;vertical-align:1px}h1{position:relative;font:normal 132px/.81 Hip,Georgia,serif;margin:32px 0 27px;color:var(--red);letter-spacing:-3px;width:max-content}h1 span{padding-left:7px}h1>svg{fill:var(--red);width:36px;height:36px;position:absolute;right:-48px;top:7px;transform:rotate(12deg)}.intro-copy{font-size:14px;line-height:1.85;margin:0}.intro-copy strong{font-weight:600}.mini-match{display:flex;align-items:center;gap:0;margin:21px 0 6px;width:170px;position:relative}.mini-match:after{content:'';position:absolute;left:10px;right:10px;top:28px;height:1px;background:var(--red);z-index:-1}.mini-match svg{width:58px;height:58px}.micro-rule{font-size:10px;line-height:1.8;margin:2px 0 28px}.best{border-top:1px solid var(--line);display:flex;gap:12px;align-items:center;width:235px;padding-top:19px}.best-icon{font-size:31px;color:var(--red)}.best div{display:flex;flex-direction:column}.best div>span{font-size:8px;letter-spacing:1.8px}.best strong{font-size:23px;font-weight:600;line-height:1.4;font-variant-numeric:tabular-nums}.play-area{width:100%;min-width:0}.game-shell{padding:19px 19px 0;background:var(--cream);border-radius:26px;box-shadow:0 7px 0 #e18bb9,0 9px 0 #4e270a18;border:1px solid #fff9;position:relative}.game-heading{display:flex;align-items:center;justify-content:space-between;height:26px;margin:0 3px 10px}.level{font-size:10px;letter-spacing:1.7px;font-weight:600}.level b{display:inline-block;margin-left:4px;color:var(--red);font-size:12px}.game-flavour{font:italic 15px Georgia,serif;opacity:.65;margin-left:auto;margin-right:16px}.restart{width:27px;height:27px;border-color:#4e270a40}.restart svg{width:15px;height:15px}.scoreboard{display:flex;gap:28px;align-items:center;margin:0 7px 20px}.score-zone{flex:1}.stat-label{font-size:8px;letter-spacing:1.6px;font-weight:600}.score-line{display:flex;align-items:baseline;gap:11px;margin:-1px 0 8px;font-variant-numeric:tabular-nums}.score-line>strong{font-size:31px;font-weight:600;letter-spacing:-1.4px;line-height:1.3}.score-line>span{font-size:11px;opacity:.55}.progress{height:7px;background:#eadfce;border-radius:5px;position:relative;margin-right:4px}.progress i{display:block;width:0;background:var(--red);height:100%;border-radius:5px;transition:width .35s cubic-bezier(.2,.8,.25,1)}.progress>span{position:absolute;right:-3px;top:-8px;color:var(--red);font-size:18px;background:var(--cream);line-height:22px;width:19px;text-align:center}.moves{width:75px;height:75px;border-radius:50%;background:var(--red);color:var(--cream);display:flex;flex-direction:column;align-items:center;justify-content:center;flex:none}.moves strong{font-size:33px;font-weight:600;line-height:1.05;letter-spacing:-1px}.moves span{font-size:7px;letter-spacing:1.5px;margin-top:4px}.moves.low{animation:low 1.2s infinite}.board-wrap{position:relative;width:100%;aspect-ratio:1;border-radius:14px;background:#eddfc7;isolation:isolate}.board-bg{position:absolute;inset:0;border:5px solid #ead9bf;border-radius:14px;overflow:hidden;background:#f4e9d4;display:grid;grid-template-columns:repeat(7,1fr);grid-template-rows:repeat(7,1fr)}.board-bg i:nth-child(2n){background:#ede1ca}.board{position:absolute;inset:5px;touch-action:none;user-select:none;-webkit-user-select:none;overflow:hidden;border-radius:10px}.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:10px;z-index:1;outline-offset:-4px!important}.piece .piece-art{width:100%;height:100%;display:block;position:relative;transition:transform .14s ease,opacity .12s}.piece svg{width:100%;height:100%;overflow:visible;display:block}.piece:before{content:'';position:absolute;inset:3px;border-radius:12px;background:#fff5;opacity:0;transition:opacity .1s}.piece:hover:before{opacity:1}.piece.selected{z-index:3}.piece.selected:before{opacity:1;background:#fff9;border:2px solid var(--red)}.piece.selected .piece-art{transform:scale(1.08) rotate(-4deg)}.piece.hinted .piece-art{animation:hint .6s ease-in-out infinite alternate}.piece.hinted:before{opacity:1;background:#fff8;border:2px dashed #c8112480}.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}.piece .special-mark{position:absolute;inset:6%;border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1.5px var(--red);pointer-events:none}.piece .special-mark:after{content:'↔';position:absolute;bottom:-1px;left:50%;transform:translateX(-50%);color:var(--cream);background:var(--red);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:#fff9;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(--cream)}#effects{position:absolute;inset:5px;pointer-events:none;z-index:12;overflow:visible}.particle{position:absolute;width:7px;height:7px;border-radius:2px;background:var(--color);left:var(--px);top:var(--py);animation:particle .42s cubic-bezier(.1,.5,.2,1) forwards}.burst{position:absolute;border:3px solid #fff;border-radius:50%;width:14%;aspect-ratio:1;left:var(--px);top:var(--py);transform:translate(-50%,-50%);animation:burst .3s ease-out forwards}.combo{position:absolute;z-index:16;pointer-events:none;top:42%;left:50%;white-space:nowrap;transform:translate(-50%,-50%);text-align:center;color:var(--red);text-shadow:2px 2px 0 var(--cream),-2px -2px 0 var(--cream),2px -2px 0 var(--cream),-2px 2px 0 var(--cream);opacity:0}.combo strong{font:normal 55px/.9 Hip,serif;display:block}.combo span{font-weight:800;font-size:17px;display:block;margin-top:7px;letter-spacing:-.5px}.combo.show{animation:combo .7s ease-out both}.board-wrap.shake{animation:shake .25s}.board-footer{display:flex;justify-content:space-between;align-items:center;gap:8px;height:57px}.board-footer p{font-size:10px;margin:0}.hint-button{border:0;background:transparent;font-size:10px;font-weight:600;display:flex;align-items:center;gap:7px;padding:8px 0 8px 9px;white-space:nowrap}.hint-button>span{color:var(--red);font-size:17px}.hint-button small{font-size:8px;width:17px;height:17px;display:grid;place-items:center;background:#eddfc7;border-radius:50%}.hint-button:disabled{opacity:.4}.below-game{display:flex;align-items:center;justify-content:center;gap:24px;font-size:8px;letter-spacing:1.5px;margin-top:21px}.tiny-star{color:var(--red);font-size:18px}.site-footer{border-top:1px solid var(--line);margin:0 5%;padding:17px 0 22px;display:flex;justify-content:space-between;font-size:8px;letter-spacing:.9px}.site-footer a{text-decoration:none;border-bottom:1px solid #4e270a70}.site-footer>span:last-child{letter-spacing:0}dialog{border:0;background:var(--cream);color:var(--brown);border-radius:25px;padding:38px;max-width:440px;width:calc(100% - 32px);box-shadow:0 15px 0 #4e270a18;text-align:center;max-height:calc(100svh - 32px);overflow:auto}dialog::backdrop{background:#4e270a69;backdrop-filter:blur(7px)}dialog[open]{animation:dialog-in .25s cubic-bezier(.2,.8,.2,1)}dialog .eyebrow{font-size:8px;margin:4px 0 18px}dialog h2{font:normal 60px/.95 Hip,serif;color:var(--red);margin:0 0 18px;letter-spacing:-1px}dialog p{font-size:12px;line-height:1.8}dialog .close-dialog{position:absolute;right:12px;top:12px;border:0;font-size:28px;width:28px;height:28px}.primary,.secondary{width:100%;height:51px;border-radius:30px;font-size:12px;font-weight:600;display:flex;align-items:center;justify-content:space-between;padding:0 22px;transition:transform .15s,background .15s}.primary{background:var(--red);border:1px solid var(--red);color:var(--cream);margin-top:24px}.primary:hover,.secondary:hover{transform:translateY(-2px)}.primary>span,.secondary>span{font-size:23px}.secondary{border:1px solid #4e270a50;background:transparent;margin-top:10px}.text-button{border:0;background:transparent;font-size:11px;text-decoration:underline;margin:20px 0 0}.rules-list{text-align:left;margin:20px 0}.rules-list>div{display:flex;gap:16px;align-items:center;border-top:1px solid var(--line);padding:12px 0}.rules-list b{font:normal 38px Hip,serif;color:var(--red);min-width:26px;text-align:center}.rules-list p{margin:0;font-size:11px;line-height:1.6}.rules-list strong,.rules-list span{display:block}.rules-note{font-size:10px!important}.rules-note small{display:block;font-size:8px;margin-top:10px;opacity:.7}.result-stars{font-size:36px;color:var(--red);letter-spacing:7px;margin:2px 0 22px}.result-score{display:flex;flex-direction:column;margin:20px 0 4px}.result-score strong{font-size:60px;line-height:1.2;letter-spacing:-3px;font-weight:600}.result-score span{font-size:9px;letter-spacing:2px}.result-detail{font-size:10px!important}.share-status{font-size:10px!important;margin:12px 0 0;min-height:18px}.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.3)}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 particle{to{transform:translate(var(--dx),var(--dy)) rotate(150deg) scale(.1);opacity:0}}@keyframes burst{to{transform:translate(-50%,-50%) scale(1.8);opacity:0}}@keyframes combo{0%{opacity:0;transform:translate(-50%,-30%) scale(.65) rotate(-8deg)}20%{opacity:1;transform:translate(-50%,-50%) scale(1.08) rotate(-4deg)}65%{opacity:1;transform:translate(-50%,-50%) scale(1) rotate(-4deg)}100%{opacity:0;transform:translate(-50%,-80%) scale(.9) rotate(-4deg)}}@keyframes shake{20%{transform:translate(-3px,2px)}40%{transform:translate(3px,-2px)}70%{transform:translate(-2px,0)}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes low{50%{box-shadow:0 0 0 4px #c8112420}}@keyframes dialog-in{from{opacity:0;transform:translateY(20px) scale(.95)}to{opacity:1;transform:none}}
@media(min-width:1100px) and (max-height:830px){.site-header{height:70px}.layout{margin:24px auto;grid-template-columns:325px 490px;gap:90px;max-width:920px}.intro{padding-left:0}h1{font-size:119px}.game-shell{padding:15px 15px 0}.scoreboard{margin-bottom:15px}.moves{width:65px;height:65px}.below-game{margin-top:14px}.site-footer{padding:13px 0}.micro-rule{margin-bottom:20px}.mini-match{margin-top:13px}}
@media(max-width:1099px){.layout{grid-template-columns:280px minmax(0,500px);max-width:850px;gap:50px;padding:0 20px;margin-top:32px}h1{font-size:110px}.intro{padding:0}.header-note{margin-left:0;font-size:8px;letter-spacing:1px}.site-header{margin:0 25px}}
@media(max-width:760px){.site-header{height:61px;margin:0 20px}.wordmark{font-size:23px}.header-note{display:none}.icon-button{width:33px;height:33px}.layout{display:block;max-width:520px;padding:0 17px;margin:17px auto 23px}.intro{display:flex;align-items:center;justify-content:space-between;margin:0 4px 18px}.intro .eyebrow,.intro-copy,.mini-match,.micro-rule,.best{display:none}h1{font-size:46px;line-height:1;margin:0;letter-spacing:-1.3px;display:inline-flex;gap:10px}h1 br{display:none}h1 span{padding:0}h1>svg{width:16px;height:16px;right:-21px;top:0}.intro:after{content:'ALIGNE.\A EXPLOSE. RECOMMENCE.';white-space:pre;font-size:7px;font-weight:600;line-height:1.8;letter-spacing:1px;text-align:right}.game-shell{padding:12px 12px 0;border-radius:21px;box-shadow:0 5px 0 #e18bb9,0 6px 0 #4e270a18}.game-heading{margin:0 2px 9px;height:22px}.level{font-size:8px;letter-spacing:1.3px}.level b{font-size:10px}.game-flavour{font-size:12px;margin-right:13px}.restart{width:24px;height:24px}.scoreboard{gap:22px;margin:0 5px 15px}.score-line>strong{font-size:29px}.score-line{margin:0 0 7px}.score-line>span{font-size:10px}.stat-label{font-size:7px}.moves{width:62px;height:62px}.moves strong{font-size:29px}.moves span{font-size:6px}.board-bg{border-width:4px}.board{inset:4px}.board-footer{height:52px}.board-footer p,.hint-button{font-size:9px}.hint-button{gap:5px}.below-game{font-size:7px;gap:16px;margin-top:18px}.site-footer{margin:0 20px;padding:14px 0;justify-content:center}.site-footer>span:first-child{display:none}.site-footer>span:last-child{font-size:8px}.combo strong{font-size:43px}.combo span{font-size:15px}.piece .special-mark{border-width:1.5px}.piece .special-mark:after{width:18px;height:13px;font-size:12px;line-height:12px}.piece[data-special=bomb] .special-mark:after{width:18px;height:18px;font-size:16px;line-height:17px}.piece:before{inset:2px;border-radius:8px}}
@media(max-width:359px){.layout{padding:0 10px;margin-top:12px}.site-header{margin:0 15px;height:54px}.wordmark{font-size:21px}.intro{margin-bottom:13px}h1{font-size:40px}.intro:after{font-size:6px}.game-shell{padding:9px 9px 0}.game-flavour{font-size:11px}.scoreboard{margin-bottom:11px}.moves{width:54px;height:54px}.board-footer{height:47px}.board-footer p{font-size:8px}.hint-button{font-size:8px;gap:3px}.below-game{margin-top:14px;font-size:6px}.layout{margin-bottom:17px}dialog{padding:30px 23px}dialog h2{font-size:51px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.piece{will-change:auto}}

#story-preview{width:145px;height:auto;display:block;margin:18px auto;border-radius:9px}#story-dialog h2{font-size:43px}#story-download{text-decoration:none}.secondary[hidden]{display:none}

@media(max-width:760px){.intro{justify-content:center}.intro:after{display:none}h1{font-size:49px}}
@media(max-width:359px){h1{font-size:43px}}
@media(min-width:761px) and (max-width:1099px){h1{font-size:95px}h1>svg{width:28px;height:28px;right:-36px}}
/* Arcade: a bounded round and a visible four-move power charge. */
.game-heading .level{font-size:9px;letter-spacing:1px}.score-line>span{opacity:.65}.charge-label{display:flex;justify-content:space-between;align-items:center;font-size:7px;font-weight:600;letter-spacing:1.1px;margin-bottom:5px;color:var(--red)}.progress{display:flex;gap:5px;background:transparent;margin-right:0;height:6px}.progress i{flex:1;width:auto;background:#eadfce;transform-origin:left;transition:background .16s,transform .16s;box-shadow:none}.progress i.filled{background:var(--red);animation:charge-in .22s ease-out}.score-zone.charged .charge-label{color:var(--red)}.score-zone.charged .progress i{background:#e98b36}.scoreboard{margin-bottom:17px}.score-zone{min-width:0}.moves span{letter-spacing:.9px}.combo.power strong{font-size:49px}.combo.power span{font-size:11px;letter-spacing:.7px;text-shadow:1px 1px 0 var(--cream),-1px -1px 0 var(--cream)}.combo.power.show{animation-duration:.85s}.result-stars span{color:#e4d7c3}.result-stars span.earned{color:var(--red)}.result-detail{line-height:1.9!important}.below-game{letter-spacing:1px}@keyframes charge-in{0%{transform:scaleX(.3)}65%{transform:scaleX(1.06)}100%{transform:scaleX(1)}}
@media(max-width:760px){.game-heading .level{font-size:7px;letter-spacing:.8px}.charge-label{font-size:6px;letter-spacing:1px}.scoreboard{margin-bottom:14px}.combo.power strong{font-size:37px}.combo.power span{font-size:8px;letter-spacing:.3px}.below-game{gap:12px;font-size:6px;letter-spacing:.8px}.moves span{font-size:6px}}
@media(max-width:359px){.game-heading .level{font-size:6px;letter-spacing:.6px}.combo.power strong{font-size:32px}.below-game{gap:8px;font-size:5px;letter-spacing:.6px}}

html,body{overflow-x:clip}
