*{box-sizing:border-box}html,body{height:100%;margin:0}html{touch-action:manipulation}body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC",sans-serif;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;user-select:none;overflow:hidden}button,input{font:inherit}button{cursor:pointer}.app{--ink:#111319;--paper:#f1f0eb;--panel:#faf9f5;height:100%;color:var(--ink);background:var(--paper);display:flex;flex-direction:column;padding-top:var(--safe-area-inset-top,env(safe-area-inset-top,0px));padding-bottom:var(--safe-area-inset-bottom,env(safe-area-inset-bottom,0px));transition:.35s}.app.dark{--ink:#f5f4ee;--paper:#121318;--panel:#1b1d23}.topbar{height:64px;padding:0 20px;display:flex;align-items:center;justify-content:space-between}.brand{border:0;background:none;color:inherit;font-weight:800;letter-spacing:-.04em;font-size:18px}.brand span{font-weight:400;opacity:.5}.brand i{display:inline-block;width:9px;height:9px;background:#ef5939;border-radius:50%;margin-right:8px;box-shadow:0 0 0 5px #ef593933}.theme{width:38px;height:38px;border:1px solid #8883;border-radius:50%;background:var(--panel);color:inherit}.game-shell{width:min(94%,520px);height:min(76%,680px);min-height:520px;margin:auto;border-radius:26px;background:var(--panel);overflow:hidden;box-shadow:0 24px 80px #10121a20}.screen{height:100%;animation:in .5s cubic-bezier(.22,.9,.28,1)}.intro,.summary{padding:34px;display:flex;flex-direction:column}.orbs{height:105px;position:relative}.orbs i{position:absolute;border-radius:50%;animation:float 4s ease-in-out infinite}.orbs i:nth-child(1){width:88px;height:88px;background:#f15b3b}.orbs i:nth-child(2){width:64px;height:64px;background:#263fc7;left:64px;animation-delay:-1.4s}.orbs i:nth-child(3){width:48px;height:48px;background:#f3ce44;left:120px;top:45px;animation-delay:-2.7s}.eyebrow{font-size:10px;font-weight:800;letter-spacing:.17em;opacity:.45}.intro h1,.summary h2{font-size:clamp(40px,7vh,58px);line-height:.94;letter-spacing:-.065em;margin:14px 0 20px}.intro p{font-size:14px;line-height:1.65;opacity:.62}.pills{display:flex;gap:6px;margin:auto 0 15px}.pills span{padding:7px 9px;border-radius:99px;background:#8881;font-size:10px;font-weight:700}.primary{width:100%;border:0;border-radius:15px;padding:18px 20px;background:var(--ink);color:var(--paper);font-weight:750;display:flex;justify-content:space-between;touch-action:manipulation}.primary:active{transform:scale(.985);opacity:.86}.memorize,.match{position:relative;color:#fff;padding:26px;display:flex;flex-direction:column;align-items:center;justify-content:center;transition:background .12s}.round{position:absolute;top:24px;left:26px;background:#fff;color:#111;padding:7px 10px;border-radius:99px;font-size:10px;font-weight:800;letter-spacing:.1em}.round.translucent{background:#ffffff26;color:#fff;border:1px solid #ffffff40}.number{font-size:128px;font-weight:800;line-height:1;letter-spacing:-.08em;animation:pulse 1s}.memorize p{font-size:11px;font-weight:800;letter-spacing:.16em}.ring{position:absolute;width:230px;height:230px;border:1px solid #fff5;border-radius:50%;animation:ring 1s ease-out infinite}.match{align-items:stretch;justify-content:flex-end}.match-copy{margin:auto 0;display:flex;flex-direction:column;text-shadow:0 2px 16px #0003}.match-copy strong{font-size:34px;letter-spacing:-.05em}.match-copy span{font-size:12px;margin-top:6px;opacity:.78}.controls{background:#11131bdd;padding:17px 17px 7px;border-radius:19px;margin-bottom:11px}.range{display:block;margin-bottom:13px}.range>span{display:flex;justify-content:space-between;font-size:10px;font-weight:700;letter-spacing:.08em}.range input{width:100%;height:24px;margin-top:3px;appearance:none;background:transparent;touch-action:manipulation}.range input::-webkit-slider-runnable-track{height:7px;background:var(--track);border-radius:99px}.range input::-webkit-slider-thumb{appearance:none;width:23px;height:23px;border:3px solid #fff;border-radius:50%;background:#111;margin-top:-8px;box-shadow:0 2px 8px #0008}.range input.active::-webkit-slider-thumb{transform:scale(1.13)}.white{background:#fff;color:#111}.result{padding:26px;display:flex;flex-direction:column;position:relative}.swatches{display:grid;grid-template-columns:1fr 1fr;height:180px;margin:-26px -26px 18px}.swatches div{display:flex;flex-direction:column;justify-content:flex-end;padding:18px;color:#fff;text-shadow:0 2px 10px #0006}.swatches b{font-size:13px}.swatches small{font-size:9px;margin-top:4px}.score{text-align:center;margin:auto}.score>span{font-size:10px;font-weight:800;letter-spacing:.14em;opacity:.45}.score>strong{display:block;font-size:96px;line-height:1;letter-spacing:-.09em;margin:8px}.score>strong small{font-size:13px;opacity:.3}.score p{font-size:12px;opacity:.55}.final{display:flex;align-items:flex-end;gap:10px}.final strong{font-size:96px;line-height:.85;letter-spacing:-.09em}.final span{font-size:11px;font-weight:800;opacity:.45}.score-cards{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin:auto 0 18px}.score-cards div{aspect-ratio:.72;border-radius:9px;color:#fff;padding:8px;display:flex;flex-direction:column;justify-content:space-between;text-shadow:0 1px 7px #0006}.score-cards b{font-size:16px}.score-cards small{opacity:.7}footer{height:48px;padding:0 20px;display:flex;align-items:center;justify-content:space-between;font-size:8px;letter-spacing:.1em;text-transform:uppercase;opacity:.4}@keyframes in{from{opacity:0;transform:scale(.96) translateY(8px)}}@keyframes pulse{from{opacity:0;transform:scale(.7)}to{opacity:1;transform:scale(1.04)}}@keyframes ring{from{transform:scale(.65);opacity:.8}to{transform:scale(1.45);opacity:0}}@keyframes float{50%{transform:translateY(-8px)}}@media(max-width:560px){.game-shell{width:100%;height:calc(100% - 64px);min-height:0;margin:0;border-radius:24px 24px 0 0}.topbar{flex-shrink:0}footer{display:none}.intro,.summary{padding:30px 26px}.intro h1,.summary h2{font-size:42px}.orbs{height:92px}.score>strong{font-size:84px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important}}
