:root{--b:#0b4aa2;--s:#149ddd;--i:#17324d;--m:#667085;--l:#d9ecf8;--y:#f8c544;--g:#22a06b;--sh:0 16px 44px rgba(11,74,162,.13)}*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,ui-rounded,"Segoe UI",system-ui,sans-serif;color:var(--i);background:linear-gradient(180deg,#f4fbff,#fffaf1)}button{font:inherit}.hide{display:none!important}.top{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:11px;padding:max(10px,env(safe-area-inset-top)) 14px 10px;background:#f4fbfff2;backdrop-filter:blur(18px);border-bottom:1px solid var(--l)}.back{width:44px;height:44px;border:0;border-radius:50%;background:#fff;color:var(--b);font-size:23px;font-weight:900;box-shadow:0 6px 18px #0b4aa21a;text-decoration:none;display:grid;place-items:center}.brand{display:flex;align-items:center;gap:9px}.brand img{width:48px;height:48px}.brand b{display:block}.brand small{color:var(--m)}main{max-width:980px;margin:auto;padding:18px 14px 48px}.hero,.panel,.game-card{background:#fff;border:1px solid var(--l);border-radius:28px;box-shadow:var(--sh)}.hero{padding:clamp(24px,6vw,48px);background:linear-gradient(135deg,#fff,#e8f7ff 58%,#fff4cb);text-align:center}.brain{width:106px;height:106px;margin:auto;border-radius:32px;display:grid;place-items:center;font-size:62px;background:linear-gradient(145deg,#dbeafe,#ede9fe)}.ey{color:var(--b);font-size:12px;font-weight:950;letter-spacing:.09em;text-transform:uppercase}.hero h1{font-size:clamp(36px,7vw,60px);line-height:1;margin:14px 0}.hero p{max-width:730px;margin:0 auto;color:var(--m);font-size:18px;line-height:1.6}.primary,.secondary{border:0;border-radius:17px;min-height:50px;padding:13px 18px;font-weight:900;cursor:pointer}.primary{background:linear-gradient(135deg,var(--b),var(--s));color:#fff;box-shadow:0 9px 22px #0b4aa230}.secondary{background:#fff;color:var(--b);border:2px solid #b9ddf5}.hero .primary{margin-top:23px}.progress-wrap{margin:25px 0 16px;display:flex;align-items:center;gap:12px}.progress{height:12px;flex:1;background:#e3edf4;border-radius:99px;overflow:hidden}.progress span{display:block;height:100%;width:0;background:linear-gradient(90deg,#22a06b,#149ddd);transition:.3s}.progress-wrap b{color:var(--b)}.games{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.game-card{padding:20px;text-align:left;cursor:pointer;display:flex;gap:15px;align-items:center}.game-card.done{border-color:#8fd7b4;background:#f2fcf6}.game-icon{width:76px;height:76px;flex:0 0 auto;border-radius:22px;display:grid;place-items:center;font-size:42px}.plan .game-icon{background:#fff0c7}.memory .game-icon{background:#ede9fe}.puzzle .game-icon{background:#dcfce7}.attention .game-icon{background:#e0f2fe}.game-card h2{margin:4px 0 5px;font-size:22px}.game-card p{margin:0;color:var(--m);line-height:1.4}.arrow{margin-left:auto;color:var(--b);font-size:27px}.station-tag{display:inline-block;background:#e5f4ff;color:var(--b);font-size:11px;font-weight:950;letter-spacing:.07em;border-radius:99px;padding:6px 9px}.adult{margin-top:18px;padding:18px;border:1px solid #f2d87b;border-radius:20px;background:#fff9df;line-height:1.55}.panel{padding:clamp(20px,5vw,34px)}.game-head{display:flex;align-items:center;gap:14px;margin-bottom:14px}.round-icon{width:70px;height:70px;border-radius:22px;background:#eaf8ff;display:grid;place-items:center;font-size:39px}.game-head h1{font-size:clamp(30px,6vw,45px);margin:2px 0}.instruction{font-size:19px;line-height:1.5;color:#35566f;background:#eef8ff;border:1px solid #b9ddf5;border-radius:18px;padding:15px}.message{min-height:50px;margin:15px 0;padding:13px;border-radius:15px;background:#f6f8fb;color:#35566f;font-weight:800;text-align:center}.actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}.sequence{display:grid;gap:11px;margin:20px 0}.sequence button{border:2px solid #d7e7f2;border-radius:18px;background:#fff;padding:16px;text-align:left;font-weight:900;font-size:18px;cursor:pointer}.sequence button span{font-size:31px;margin-right:10px}.sequence button.chosen{background:#ecfdf3;border-color:#6fc89b}.sequence-result{display:flex;gap:8px;justify-content:center;min-height:68px;align-items:center;flex-wrap:wrap}.sequence-result span{width:58px;height:58px;border-radius:16px;background:#ecfdf3;display:grid;place-items:center;font-size:31px}.memory-grid{display:grid;gap:11px;justify-content:center;margin:22px auto}.memory-card{width:min(18vw,105px);min-width:62px;aspect-ratio:1;border:0;border-radius:20px;background:linear-gradient(145deg,#0b4aa2,#149ddd);color:#fff;font-size:0;cursor:pointer;box-shadow:0 8px 18px #0b4aa22c}.memory-card:after{content:'?';font-size:34px;font-weight:950}.memory-card.open,.memory-card.matched{background:#fff;border:2px solid #b9ddf5;font-size:39px}.memory-card.open:after,.memory-card.matched:after{content:''}.memory-card.matched{background:#ecfdf3;border-color:#6fc89b}.target,.puzzle-grid{display:grid;gap:8px;justify-content:center;margin:17px}.target span,.puzzle-grid button{width:min(20vw,92px);min-width:62px;height:min(20vw,92px);min-height:62px;border-radius:17px;display:grid;place-items:center;font-size:40px}.target span{background:#f0f7fc;border:1px dashed #9fcce9}.puzzle-grid button{border:3px solid #d7e7f2;background:#fff;cursor:pointer}.puzzle-grid button.selected{border-color:var(--y);background:#fff9df;transform:scale(1.04)}.attention-round{text-align:center}.attention-target{display:inline-flex;align-items:center;gap:10px;padding:12px 18px;border-radius:18px;background:#fff9df;border:1px solid #f2d87b;font-size:22px;font-weight:900}.attention-target b{font-size:39px}.attention-grid{display:grid;grid-template-columns:repeat(4,minmax(58px,86px));gap:9px;justify-content:center;margin:22px}.attention-grid button{aspect-ratio:1;border:2px solid #d7e7f2;border-radius:18px;background:#fff;font-size:35px;cursor:pointer}.celebrate{text-align:center;font-size:50px;margin:18px}.finish{margin-top:18px;background:linear-gradient(135deg,#ecfdf3,#eaf7ff);border:1px solid #9bdab9;border-radius:22px;padding:22px;text-align:center}.finish h2{font-size:29px;margin:5px}@media(max-width:680px){.games{grid-template-columns:1fr}.brand small{display:none}.game-card{padding:16px}.attention-grid{grid-template-columns:repeat(4,1fr)}.attention-grid button{font-size:30px}.memory-card{width:100%;min-width:0}.target span,.puzzle-grid button{width:21vw;height:21vw;min-width:0;min-height:0}}
