:root{font-family:system-ui,-apple-system,'Segoe UI',sans-serif;color:#514768;background:#f7f2fc;font-size:16px}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 0 8%,#def3ef,transparent 45%),radial-gradient(ellipse at 100% 25%,#ffe8dc,transparent 45%),linear-gradient(#f5f7fc,#f7f0fb 70%,#fff9e9)}button,input,select{font:inherit}button,a,select,input{-webkit-tap-highlight-color:transparent}a{color:#665494;text-decoration:none}header{padding:19px max(20px,calc((100vw - 1160px)/2));display:flex;align-items:center;justify-content:space-between;gap:16px;background:#ffffffdb;border-bottom:1px solid #e5e1ed}.brand{font-weight:900;font-size:29px}.brand span{display:block;font-size:9px;letter-spacing:.14em;color:#8e7c9e;margin-top:3px}nav{display:flex;gap:18px;font-size:14px;font-weight:700}main{max-width:1160px;margin:auto;padding:34px 22px}.hero{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px}.eyebrow{font-size:10px;letter-spacing:.12em;font-weight:850;color:#8a6cac}h1{font-size:clamp(36px,5.3vw,58px);letter-spacing:-.045em;line-height:1.1;margin:12px 0}.dot{color:#e8a75e}h2{font-size:21px;letter-spacing:-.02em;margin:7px 0 14px}.hero p{color:#81728d;margin:12px 0;line-height:1.5}.hero-fruit{position:relative;display:flex;padding:20px}.hero-fruit span{display:grid;place-items:center;font-size:54px;width:88px;height:100px;border-radius:26px;box-shadow:0 8px 0 #cabedc55;background:#fff9e9;transform:rotate(-12deg)}.hero-fruit span:nth-child(2){background:#ffe7ee;transform:translateY(-12px) rotate(6deg);z-index:1;margin:0 -7px}.hero-fruit span:nth-child(3){background:#e3f3e6;transform:rotate(14deg)}.card{background:#fffefd;border:1px solid #e8deee;border-radius:24px;box-shadow:0 5px 0 #e4dcec70}.identity{padding:13px 20px;display:flex;gap:13px;align-items:center;margin-bottom:25px;background:linear-gradient(115deg,#fff,#fffaf0)}.avatar{display:block;width:44px;height:44px;background-size:200% 200%;border-radius:15px;background-color:#e2eced}.identity strong{display:block}.identity small{display:block;color:#8a8093;font-size:11px;margin-top:4px}.identity-note{margin-left:auto;font-size:12px}.layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:24px;align-items:start}.game-card{padding:24px}.board-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.board-heading h2{font-size:24px;margin-bottom:15px}.badge{font-size:11px;padding:7px 11px;border-radius:30px;background:#e9f3e7;color:#55734e}.stats{display:flex;justify-content:space-around;background:#f7f4fb;border-radius:16px;padding:14px 7px;margin:6px 0 14px;text-align:center}.stats strong{font-size:22px;display:block;font-variant-numeric:tabular-nums}.stats span{display:block;font-size:10px;color:#8a8093;margin-top:5px}progress{display:block;width:100%;height:7px;border:0;border-radius:8px;background:#eee7f4;accent-color:#b0c9a0}progress::-webkit-progress-bar{background:#eee7f4;border-radius:8px}progress::-webkit-progress-value{background:#b0c9a0;border-radius:8px}#status{min-height:36px;font-size:13px;color:#82718c;line-height:1.5;margin:14px 0 4px}.board-wrap{position:relative;background:linear-gradient(140deg,#f4f7ed,#eeeaf6);border-radius:19px;overflow:hidden;isolation:isolate;padding:var(--pad,27px)}.board{display:grid;grid-template-columns:repeat(var(--cols,6),minmax(0,1fr));gap:5px}.tile{aspect-ratio:1;display:grid;place-items:center;border:1px solid #eadfdd;border-bottom:4px solid #e8d7c4;border-radius:14px;background:linear-gradient(#fffefa,#fff3df);font-size:clamp(24px,3.4vw,40px);padding:0;cursor:pointer;transition:transform .12s,box-shadow .12s,background .12s;min-width:0;touch-action:manipulation;user-select:none}.tile:active{transform:scale(.92)}.tile.selected{background:#e9def8;border-color:#ac87c7;box-shadow:0 0 0 2px #c3a4d8;transform:translateY(-2px)}.tile.hinted{background:#e5f1d8;box-shadow:0 0 0 2px #94b875}.tile.empty{visibility:hidden}.tile:disabled{cursor:default}.tile:focus-visible,button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #8e72b0;outline-offset:3px}#path{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:2}#path polyline{fill:none;stroke:#aa7fc4;stroke-width:5;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 4px #ffffff)}.actions{display:flex;gap:9px;margin-top:20px;justify-content:center;flex-wrap:wrap}button,.link-button{border:0;border-radius:12px;padding:12px 15px;font-weight:750;cursor:pointer;touch-action:manipulation}.primary{background:#82709f;color:white;box-shadow:0 4px 0 #65527f}.primary:hover{background:#76638f}.soft{background:#f0eaf7;color:#77608f}.quiet{background:transparent;color:#83718f}button:disabled{opacity:.45;cursor:default}.tiny{font-size:11px;line-height:1.6;color:#93869d;text-align:center}.settings,.sound,.how{padding:23px;margin-bottom:20px}label{display:block;font-size:12px;font-weight:750;color:#8a7897;margin:16px 0 8px}select{display:block;width:100%;padding:12px 9px;border:1px solid #e5dced;border-radius:10px;color:#645571;background:#faf7fc}.help{font-size:12px;color:#93839c;line-height:1.65}.settings .primary{width:100%;margin-top:8px}.sound-buttons{display:flex;gap:7px}.sound-buttons button{font-size:11px;padding:10px}input[type=range]{width:100%;accent-color:#a38ab5}.how-icon{font-size:33px}.how ol{padding-left:20px;font-size:12px;color:#8b7a96;line-height:1.9}.pause-layer{position:absolute;inset:0;z-index:3;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:#faf6f3ed;padding:20px}.pause-layer>span{font-size:50px}.pause-layer p{font-size:13px;line-height:1.6}.pause-layer h2{margin:10px 0 0}footer{padding:26px 0;text-align:center;font-size:12px;color:#9b8ba4}footer p{font-size:10px;line-height:1.7}#error{background:#fff0e7;border:1px solid #e5bea9;border-radius:13px;padding:15px;margin:15px 0;font-size:13px}#accountNeeded{padding:25px;margin-bottom:22px}dialog{border:1px solid #e8deee;border-radius:28px;padding:32px;text-align:center;color:#665176;background:#fffdf8;max-width:90vw;width:400px;box-shadow:0 20px 100px #51476840}dialog::backdrop{background:#4d3b6166;backdrop-filter:blur(4px)}dialog h2{font-size:30px;margin-top:13px}dialog p{font-size:14px;line-height:1.8}dialog button{display:block;width:100%;margin-top:13px}.finish-art{font-size:48px;margin-bottom:22px}@media(min-width:900px){.tile:hover:not(:disabled){transform:translateY(-2px)}}@media(max-width:800px){.layout{grid-template-columns:1fr}aside{display:grid;grid-template-columns:1fr 1fr;gap:18px}aside .card{margin:0}.how{grid-column:1/-1}.hero-fruit span{font-size:36px;width:58px;height:72px;border-radius:20px}.hero-fruit{padding:10px}.game-card{padding:18px}.tile{font-size:clamp(22px,7vw,40px)}}@media(max-width:480px){main{padding:25px 12px}header{padding:14px 16px}.brand{font-size:24px}nav{font-size:12px;gap:12px}.hero{margin-bottom:22px}.hero-fruit{display:none}.hero .eyebrow{font-size:8px}h1{font-size:43px}.hero p{font-size:13px}aside{grid-template-columns:1fr}.how{grid-column:auto}.game-card{padding:15px 10px}.board{gap:3px}.tile{border-radius:9px;border-bottom-width:3px}.board-wrap{border-radius:15px}.board-heading{padding:0 7px}.board-heading h2{font-size:20px}.identity{padding:12px}.identity-note{font-size:10px}.identity small{font-size:10px}.actions button{font-size:12px;padding:12px}.stats strong{font-size:21px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
