:root{font-family:Onest,Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#22372f;background:#f8f7f4;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--ink:#22372f;--muted:#7a857d;--line:#e5e8e1;--white:#fff;--lime:#d9f47f;--dark:#263e34;--r:23px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:300px}button,input,a{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.7}a{text-decoration:none;color:inherit}svg{display:inline-block;vertical-align:middle;flex-shrink:0}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #aecf52;outline-offset:3px}h1,h2,h3,h4,p{margin:0}button{border:0}em{font-style:normal;color:#6c8f60}.wrap{width:min(1250px,calc(100% - 80px));margin:auto}.main-content{min-height:calc(100vh - 170px)}.site-header{height:86px;background:#fafaf7eF;border-bottom:1px solid #e9ebe5;position:sticky;top:0;z-index:50;backdrop-filter:blur(20px)}.header-inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:inline-flex;align-items:center;gap:11px;font-size:25px;font-weight:800;letter-spacing:-1.4px;line-height:1}.brand-dot{color:#98c854;margin-left:-11px}.brand-mark{width:35px;height:35px;background:#253c32;padding:8px;display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,1fr);gap:3px;border-radius:10px;transform:rotate(-6deg)}.brand-mark i{border-radius:2px;background:#d8f17c}.brand-mark i:nth-child(2),.brand-mark i:nth-child(3){background:#f7fbeb}.header-links{display:flex;align-items:center;gap:10px}.header-link{display:flex;align-items:center;gap:9px;color:#68766d;font-size:14px;font-weight:700;padding:11px 15px;border-radius:13px;transition:.2s}.header-link:hover,.header-link.is-active{background:#e9eee5;color:#2a4935}.header-link.muted{opacity:.74}.count-chip{font-size:11px;min-width:20px;height:20px;border-radius:8px;background:#e2e8dc;padding:2px 5px;text-align:center;color:#405c43}.started-link.is-active .count-chip{background:#d2e4be}.header-divider{height:28px;width:1px;background:#e1e5de;margin:0 9px}.avatar{background:#d9efb9;color:#2b4a30;border:1px solid #b8d69d;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;font-weight:800;font-size:15px}.avatar:hover{background:#cce8a7}.site-footer{border-top:1px solid var(--line);color:#929c92;font-size:12px;margin-top:80px}.footer-inner{min-height:83px;display:flex;align-items:center;justify-content:space-between;gap:20px}.footer-heart{color:#e8aa88}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;border-radius:14px;padding:14px 21px;font-weight:700;font-size:14px;line-height:1.2;transition:transform .18s,background .18s,border-color .18s;white-space:nowrap}.btn:hover{transform:translateY(-2px)}.btn-dark{background:#263f34;color:#fff}.btn-dark:hover{background:#355f46}.btn-soft{background:#ebf0e8;color:#315440}.btn-soft:hover{background:#e0ead8}.btn-outline{border:1px solid #dfe5dc;background:#fff;color:#47604f}.btn-outline:hover{background:#f0f5ed}.btn-danger{background:#ad4945;color:#fff}.eyebrow{display:flex;align-items:center;gap:9px;font-size:11px;font-weight:800;letter-spacing:1.9px;color:#74887a}.eyebrow-dot{width:7px;height:7px;background:#739b60;border-radius:50%;display:inline-block}.small-overline{font-size:10px;font-weight:800;letter-spacing:1.4px}.hero{margin-top:31px;min-height:465px;border-radius:30px;display:grid;grid-template-columns:55% 45%;overflow:hidden;background:#e6ede5;position:relative}.hero-copy{padding:61px 40px 45px 65px;position:relative;z-index:2}.hero h1{font-size:clamp(50px,5.7vw,78px);font-weight:800;letter-spacing:-4.5px;line-height:1.08;margin:24px 0 17px}.hero h1 span{color:#659366}.hero h1 .hero-asterisk{color:#c0df8d;font-style:normal;font-size:43px;vertical-align:top;margin-left:11px}.hero-copy>p{font-size:15px;line-height:1.9;color:#647b6b;max-width:425px}.hero-actions{display:flex;align-items:center;gap:24px;margin-top:30px}.hero-avatars{display:flex;align-items:center;gap:9px;color:#6c7e70}.hero-avatars small{font-size:11px;font-weight:700;white-space:nowrap}.avatar-stack{display:flex;padding-left:7px}.avatar-stack span{margin-left:-7px;border:3px solid #e7eee5;display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:#e9b89d;font-size:10px;font-weight:800;color:#744a3c}.avatar-stack span:nth-child(2){background:#b1c7e9;color:#3e5b7f}.avatar-stack span:nth-child(3){background:#d9d18f;color:#625733}.hero-design{background:linear-gradient(145deg,#d8e9d4,#b7d6b8);position:relative;min-height:450px;overflow:hidden}.hero-pattern{position:absolute;inset:0;background-image:radial-gradient(#8bb395 1.2px,transparent 1.2px);background-size:24px 24px;opacity:.26}.hero-visual-grid{position:absolute;left:51%;top:48%;transform:translate(-50%,-50%) rotate(-10deg);display:grid;grid-template-columns:repeat(3,94px);gap:12px;filter:drop-shadow(0 20px 23px #4d805126)}.hero-tile{width:94px;height:94px;border-radius:20px;background:#fbfff0;box-shadow:inset 0 -5px #e1e8d9,0 6px 12px #4a755020;display:grid;place-items:center;font-size:51px;font-weight:800;color:#365746}.hero-tile.tile-0,.hero-tile.tile-4,.hero-tile.tile-8{background:#d9f47f;color:#2b4d35;box-shadow:inset 0 -5px #c5df6a,0 6px 12px #4a755020}.hero-tile.tile-8{font-size:66px}.hero-float{position:absolute;display:flex;align-items:center;gap:6px;padding:10px 16px;border-radius:20px;background:#fffef1;color:#557359;font-size:12px;font-weight:800;box-shadow:0 10px 30px #78967c35;white-space:nowrap}.hero-float.f1{top:54px;left:4%;transform:rotate(-8deg)}.hero-float.f2{right:5%;bottom:51px;transform:rotate(8deg)}
.summary-strip{background:#fff;border:1px solid #e9e9e2;box-shadow:0 9px 25px #2d4d3010;border-radius:22px;margin:25px 0 0;min-height:116px;display:grid;grid-template-columns:1.2fr 1.3fr 1fr;gap:20px;align-items:center;padding:23px 33px}.summary-greeting{display:flex;align-items:center;gap:15px}.summary-greeting .summary-icon{background:#e5f3dc;color:#53784d;display:grid;place-items:center;width:50px;height:50px;border-radius:15px;font-size:31px}.summary-greeting strong{font-size:15px;display:block;letter-spacing:-.3px}.summary-greeting span{display:block;margin-top:5px;font-size:12px;color:#9aa69c}.summary-stats{display:flex;justify-content:space-around;gap:15px;border-left:1px solid #ecede7;border-right:1px solid #ecede7;padding:0 17px}.summary-stats div{display:flex;flex-direction:column;gap:1px}.summary-stats strong{font-size:27px;letter-spacing:-1px}.summary-stats span{font-size:11px;color:#89958c}.summary-progress{padding:0 4px}.progress-label{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;font-size:11px;color:#7f8d83}.progress-label strong{color:#3d6651;font-size:13px}.progress-track{height:8px;background:#eaf0e6;border-radius:50px;overflow:hidden}.progress-track>div{height:100%;background:linear-gradient(90deg,#7db57c,#c0e57f);border-radius:50px;transition:width .3s ease}.catalog,.continue-section{margin-top:80px;scroll-margin-top:105px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:28px}.section-heading h2{font-size:clamp(28px,3.3vw,39px);line-height:1.2;letter-spacing:-1.5px;margin-top:9px}.section-heading p{font-size:14px;color:#7e8b82;margin-top:9px}.section-count{align-self:center;color:#94a094;font-size:13px;font-weight:700;letter-spacing:1.1px}.section-count span{color:#6d956f;font-size:23px;margin-left:8px}.games-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:19px}.game-card{grid-column:span 2;border:1px solid #e5e8e1;border-radius:26px;min-height:419px;background:#f2f4eb;display:flex;flex-direction:column;overflow:hidden;position:relative;transition:transform .22s,box-shadow .22s}.game-card:nth-child(n+4){grid-column:span 3;min-height:395px}.game-card:hover{transform:translateY(-5px);box-shadow:0 18px 38px #2f493019}.game-card.mint{background:#e8f1e7}.game-card.peach{background:#faeae0}.game-card.lavender{background:#efedf8}.game-card.yellow{background:#f4efdf}.game-card.sky{background:#e6f0f3}.game-card-top{display:flex;align-items:center;justify-content:space-between;padding:22px 24px 0;position:relative;z-index:1}.game-icon,.level-icon{width:44px;height:44px;display:grid;place-items:center;background:#ffffffb9;border:1px solid #fff;border-radius:13px;color:#345a47}.card-arrow{height:36px;width:36px;border-radius:50%;display:grid;place-items:center;background:#ffffffa0;transition:transform .2s}.game-card:hover .card-arrow{transform:rotate(-45deg);background:#fff}.game-card-illustration{height:161px;display:grid;place-items:center;position:relative}.game-card:nth-child(n+4) .game-card-illustration{height:157px}.game-card-body{background:#ffffffa5;backdrop-filter:blur(5px);padding:20px 24px 21px;flex:1;display:flex;flex-direction:column}.game-card-body .small-overline{color:#829487}.game-card h3{font-size:28px;letter-spacing:-1.2px;margin-top:6px}.game-card p{font-size:13px;line-height:1.65;color:#6a7e70;margin-top:7px;max-width:390px}.game-card-bottom{margin-top:auto;padding-top:18px;display:flex;align-items:center;gap:13px;justify-content:space-between;font-size:11px;color:#77877a;font-weight:700}.game-card-bottom span{display:flex;align-items:center;gap:7px}.preview{position:relative;display:grid;place-items:center;height:100%;width:100%}.preview-grid{display:grid;grid-template-columns:repeat(5,31px);grid-template-rows:repeat(5,31px);gap:3px;transform:rotate(-8deg);filter:drop-shadow(0 9px 7px #597d541c)}.preview-grid span{display:grid;place-items:center;background:transparent;border-radius:4px;color:#365847;font-size:15px;font-weight:800}.preview-grid span.filled{background:#fffef8;border:1px solid #b9d8b6}.preview-grid span.emphasis{background:#cce69c}.preview-sticker{position:absolute;right:15%;top:4px;font-size:11px;font-weight:800;color:#557e5e;transform:rotate(10deg)}.preview-lettercloud{width:198px;display:grid;grid-template-columns:repeat(6,1fr);gap:3px;transform:rotate(7deg)}.preview-lettercloud span{width:30px;height:30px;display:grid;place-items:center;font-size:15px;color:#af7d68;font-weight:800}.preview-lettercloud span.ringed{background:#f4b894;border-radius:10px;color:#fff}.preview-lettercloud span:nth-child(4){border-radius:10px 17px 17px 10px}.preview-outline{position:absolute;width:100px;height:43px;border:3px dashed #de987b;left:50%;top:28%;transform:translateX(-49%) rotate(7deg);border-radius:28px;pointer-events:none}.preview-code-tiles{display:flex;gap:6px;transform:rotate(-5deg)}.preview-code-tiles>span{position:relative;width:38px;height:45px;border-radius:8px;background:#fff;display:grid;place-items:end center;font-size:23px;font-weight:800;color:#6b6195;padding-bottom:4px;box-shadow:0 5px 0 #d9d3e9}.preview-code-tiles small{position:absolute;top:3px;left:5px;font-size:9px;color:#a8a2bd}.preview-code-text{font-size:9px;font-weight:800;letter-spacing:2px;color:#a39abe;margin-top:12px}.preview-scan-grid{display:grid;grid-template-columns:repeat(5,40px);gap:3px;transform:rotate(-7deg)}.preview-scan-grid>span{height:39px;border-radius:5px;display:grid;place-items:center;background:#fff;color:#987c4c;font-size:20px;font-weight:800}.preview-scan-grid>.clue{background:#d4c89a;color:#5c543c;font-size:9px;text-align:center;line-height:1.2}.preview-sudoku-grid{display:grid;grid-template-columns:repeat(5,37px);grid-auto-rows:37px;gap:3px;transform:rotate(8deg)}.preview-sudoku-grid span{display:grid;place-items:center;border-radius:6px;background:#fff;box-shadow:0 3px 0 #d7e4ea;color:#648996;font-weight:800;font-size:17px}.preview-sudoku-grid span.empty{background:#d6eaf1}.preview-sudoku-grid span.bright{background:#a5d3dc;color:#fff}.subtle-link{display:flex;align-items:center;gap:8px;color:#547d60;font-size:13px;font-weight:700}.subtle-link:hover{color:#2f583b}.continue-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.resume-card{border:1px solid var(--line);background:#fff;border-radius:17px;padding:18px;display:flex;gap:15px;align-items:center;transition:.2s}.resume-card:hover{border-color:#b8d4a5;transform:translateY(-2px)}.resume-ico{display:grid;place-items:center;width:49px;height:49px;border-radius:14px;flex-shrink:0}.resume-ico.mint,.level-icon.mint{background:#e5f0df}.resume-ico.peach,.level-icon.peach{background:#f8e4d8}.resume-ico.lavender,.level-icon.lavender{background:#eae6f7}.resume-ico.yellow,.level-icon.yellow{background:#f4eccb}.resume-ico.sky,.level-icon.sky{background:#dfeff2}.resume-card div{min-width:0}.resume-card small{display:block;color:#89968e;font-size:11px}.resume-card strong{display:block;margin-top:4px;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.resume-arrow{margin-left:auto;color:#738978}.bottom-banner{background:#e9efe5;border-radius:25px;margin-top:80px;padding:39px 54px;display:flex;align-items:center;justify-content:space-between;overflow:hidden}.bottom-banner h2{font-size:37px;line-height:1.2;letter-spacing:-1.3px;margin:12px 0}.bottom-banner p{color:#7b8d7b;font-size:14px}.bottom-banner-art{font-size:115px;color:#a7ce82;line-height:1;display:flex;gap:45px;transform:rotate(12deg)}.bottom-banner-art span{color:#d7bca3;font-size:75px}
/* Авторизация */
.auth-screen{min-height:100svh;display:grid;grid-template-columns:50% 50%;position:relative;background:#f8f8f3}.auth-panel{width:min(450px,calc(100% - 65px));margin:0 auto;padding:42px 0;position:relative;display:flex;flex-direction:column}.auth-brand{margin-bottom:22px}.auth-art{display:flex;align-items:center;justify-content:space-between;margin:12px 0 20px}.auth-art-tiles{display:flex;flex-wrap:wrap;gap:5px;max-width:250px;transform:rotate(-4deg)}.auth-art-tiles span{display:grid;place-items:center;width:39px;height:41px;background:#e4f0d9;color:#416a47;border:1px solid #d1e4ca;border-radius:9px;font-size:22px;font-weight:800}.auth-art-tiles span:nth-child(3n){background:#d5e8b9}.auth-art-bubble{background:#fff;border:1px solid #e7ede3;border-radius:30px;padding:11px 15px;font-size:12px;font-weight:700;color:#678268;display:flex;align-items:center;gap:7px;transform:rotate(6deg);box-shadow:0 8px 25px #395a3110}.auth-copy{margin-top:16px}.auth-copy h1{margin:15px 0;font-size:clamp(44px,5vw,63px);letter-spacing:-3.6px;line-height:1.1}.auth-copy>p{font-size:14px;line-height:1.8;color:#7e8c81;max-width:345px}.auth-form{margin-top:29px;display:flex;flex-direction:column}.auth-form label{font-weight:700;font-size:12px;margin-bottom:8px;color:#52655a}.auth-form input{height:53px;background:#fff;border:1px solid #e1e6de;border-radius:12px;padding:0 16px;outline:0;color:#263e34;width:100%;font-size:14px;transition:border-color .15s,box-shadow .15s}.auth-form input:focus{border-color:#a5cb8e;box-shadow:0 0 0 3px #a5cb8e29}.auth-form input::placeholder{color:#a8b1a9}.auth-form label:not(:first-child){margin-top:17px}.password-wrap{position:relative}.password-wrap input{padding-right:52px}.show-password{position:absolute;right:10px;top:7px;height:39px;width:39px;display:grid;place-items:center;background:transparent;color:#92a092}.auth-submit{width:100%;height:52px;margin-top:22px}.auth-error{color:#c45c4f;font-size:12px;min-height:0;margin-top:5px}.auth-error:not(:empty){margin-top:14px}.auth-privacy{display:flex;align-items:center;gap:7px;color:#9ba89d;font-size:11px;margin-top:21px}.auth-side{background:#263f35;color:#fff;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;position:relative;padding:43px clamp(40px,5vw,95px)}.auth-side:before{content:'';position:absolute;inset:0;background-image:radial-gradient(#bbdaa122 1px,transparent 1px);background-size:26px 26px}.auth-side:after{content:'✳';position:absolute;font-size:600px;line-height:1;color:#33584a;bottom:-260px;right:-205px;transform:rotate(14deg)}.auth-side-top,.auth-side-bottom{font-size:10px;font-weight:800;letter-spacing:2px;color:#b3c6b9;position:relative;z-index:1}.auth-side-display{position:relative;z-index:1}.auth-side-big{font-size:clamp(62px,8vw,120px);font-weight:800;line-height:1.1;letter-spacing:-6px}.auth-side-big em{color:#d9f47f}.auth-side-sub{margin-top:32px;color:#b5cbb9;font-size:17px;line-height:1.65}
/* Категории и уровни */
.sub-page{padding-top:30px}.breadcrumbs{display:flex;align-items:center;gap:9px;color:#98a499;font-size:12px;font-weight:700}.breadcrumbs a:hover{color:#466d4e}.breadcrumbs span{color:#475e4b}.page-intro{border-radius:26px;min-height:244px;padding:38px 48px;background:#e7eee5;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:24px;overflow:hidden}.page-intro h1{font-size:clamp(34px,5vw,58px);letter-spacing:-2.3px;line-height:1.1;margin-top:11px}.page-intro p{color:#6e8174;line-height:1.7;max-width:455px;margin-top:13px;font-size:14px}.page-intro .intro-illustration{width:130px;height:130px;border-radius:32px;background:#cfe1c7;color:#60896b;display:grid;place-items:center;transform:rotate(-10deg);margin-right:35px}.page-intro.category-intro{min-height:254px}.category-intro.mint{background:#e7f0e5}.category-intro.peach{background:#fbebe2}.category-intro.lavender{background:#efecf7}.category-intro.yellow{background:#f4efde}.category-intro.sky{background:#e6f0f3}.intro-meta{display:flex;gap:21px;margin-top:21px;flex-wrap:wrap}.intro-meta>span{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:700;color:#698271}.category-illustration{width:330px;height:190px;flex-shrink:0}.category-illustration .preview-grid{transform:rotate(-6deg) scale(1.1)}.category-illustration .preview-lettercloud{transform:rotate(7deg) scale(1.2)}.category-illustration .preview-sudoku-grid{transform:rotate(8deg) scale(1.05)}.level-heading{margin-top:56px}.levels-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.level-card{min-height:295px;background:#fff;border:1px solid #e4e8e1;border-radius:23px;position:relative;padding:24px;overflow:hidden;display:flex;flex-direction:column;transition:.22s}.level-card:hover,.started-card:hover{transform:translateY(-4px);border-color:#b3d0ab;box-shadow:0 12px 26px #56745414}.level-card-top{display:flex;align-items:center;justify-content:space-between;position:relative;z-index:2}.level-number{color:#a7b0a7;font-size:12px;font-weight:800;letter-spacing:1.5px}.status-pill{background:#f0f3ef;color:#718171;padding:7px 11px;border-radius:30px;font-size:11px;font-weight:800;display:flex;gap:5px;align-items:center}.status-pill.playing{color:#547e4a;background:#e7f1de}.status-pill.completed{color:#286e53;background:#dff5e4}.level-card-design{position:absolute;right:23px;top:51px;color:#e9f0e6;font-size:117px;font-weight:700;line-height:1;transform:rotate(-14deg)}.level-card:nth-child(2) .level-card-design{color:#f4ebd6}.level-card:nth-child(3) .level-card-design{color:#eae5f4}.difficulty{display:inline-flex;align-self:start;padding:7px 11px;background:#e8f2e5;border-radius:9px;color:#60905d;font-size:10px;font-weight:800;margin-top:43px;position:relative}.difficulty-1{background:#f9efdf;color:#a3864e}.difficulty-2{background:#f4e7ed;color:#ab718d}.level-card h3{font-size:25px;letter-spacing:-1px;margin-top:13px;position:relative}.level-card>p{font-size:12px;color:#91a094;line-height:1.65;margin-top:8px;max-width:270px;position:relative}.level-card-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #edf0eb;margin-top:auto;padding-top:16px;color:#8e9c91;font-size:11px;font-weight:700}.level-card-footer svg{color:#4f7c55}.level-tip{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:29px;color:#98a498;font-size:12px}.started-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:34px}.started-card{border:1px solid #e5e8e2;background:#fff;padding:26px;border-radius:23px;transition:.2s;display:flex;flex-direction:column;min-height:305px}.started-card .level-icon{margin-bottom:21px}.mini-text{color:#99a399;font-size:11px;font-weight:700}.started-card h3{font-size:22px;letter-spacing:-.7px;margin:8px 0}.started-card>p{font-size:13px;color:#8c9a90;line-height:1.6}.started-date{color:#9ca69c;font-size:11px;display:flex;align-items:center;gap:6px;margin-top:12px}.started-card>.btn{margin-top:auto;justify-content:space-between}.empty-state{margin:30px auto 0;text-align:center;max-width:450px;padding:75px 20px;border:1px dashed #d5e1d3;border-radius:24px}.empty-illustration{height:85px;width:85px;display:grid;place-items:center;margin:0 auto 17px;border-radius:25px;background:#e4f1df;color:#74946a}.empty-state h2{font-size:27px}.empty-state p{font-size:14px;color:#879488;line-height:1.75;margin:12px 0 24px}
/* Головоломки */
.play-page{padding-top:28px}.play-navigation{display:flex;align-items:center;justify-content:space-between;gap:14px}.back-link{color:#66816b;font-size:13px;font-weight:700;display:flex;gap:6px;align-items:center}.back-link:hover{color:#304d38}.play-breadcrumb{font-size:12px;font-weight:700;color:#98a397}.play-breadcrumb span{margin:0 8px;color:#b5bdb3}.play-header{display:flex;justify-content:space-between;gap:30px;align-items:center;margin-top:30px;margin-bottom:24px}.play-header h1{font-size:clamp(30px,4.2vw,47px);letter-spacing:-1.9px;line-height:1.16;margin-top:12px}.play-header p{font-size:13px;color:#8b998d;margin-top:8px}.play-tag{font-size:11px;letter-spacing:1px;color:#6d876f;font-weight:800;display:flex;align-items:center;gap:9px;text-transform:uppercase}.play-tag span:not(.tag-dot){color:#bac4b7}.tag-dot{height:7px;width:7px;background:#89b86b;border-radius:50%}.play-actions{display:flex;align-items:center;gap:15px}.autosave{display:flex;align-items:center;gap:7px;color:#9aa79c;font-size:11px;white-space:nowrap}.autosave svg{color:#75aa78}.play-actions .btn{padding:11px 15px}.puzzle-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:20px;align-items:start}.board-panel,.game-sidebar{background:#fff;border:1px solid #e7eae3;border-radius:23px;box-shadow:0 8px 23px #283f3210}.board-panel{padding:23px 23px 25px;min-width:0}.game-sidebar{padding:25px;position:sticky;top:111px;min-width:0}.board-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:23px;color:#91a094;font-size:11px;font-weight:700}.board-top>span:first-child{display:flex;align-items:center;gap:7px}.board-completion{color:#718771;white-space:nowrap}.board-centering{display:flex;align-items:center;justify-content:center;max-width:100%;min-width:0}.puzzle-board{display:grid;grid-template-columns:repeat(var(--cols),minmax(0,1fr));width:min(100%,calc(var(--cols) * var(--cell-max)));max-width:100%;border:2px solid #456957;border-radius:8px;overflow:hidden;background:#d4dfd3;gap:1px;user-select:none;touch-action:manipulation}.puzzle-cell{position:relative;aspect-ratio:1 / 1;width:100%;min-width:0;display:flex;align-items:center;justify-content:center;padding:0;background:#fff;color:#2a4637;font-size:clamp(12px,2.05vw,22px);font-weight:800;border-radius:0;outline-offset:-3px}.puzzle-cell.blocked{background:#e7ece4;pointer-events:none}.puzzle-cell.letter-cell{transition:background .12s}.puzzle-cell.letter-cell:hover{background:#e8f2dd}.puzzle-cell.letter-cell.selected{background:#eef6e5}.puzzle-cell.letter-cell.active{background:#d2edb0;box-shadow:inset 0 0 0 2px #749b62;z-index:2}.puzzle-cell.letter-cell.wrong{color:#b9564f;background:#ffdfd7}.cell-number{position:absolute;left:3px;top:1px;color:#91a095;font-size:9px;font-weight:700}.puzzle-cell.active .cell-number{color:#54784e}.code-board{border-color:#8579a0;background:#e6dff3}.coded-cell{font-size:20px;padding-top:7px}.coded-cell.given-cell{color:#745e9d}.coded-cell .code-number{font-size:10px;left:4px;top:2px;color:#998caf}.code-board .letter-cell.selected{background:#ebe6fb}.code-board .letter-cell.active{background:#ccc3ec;box-shadow:inset 0 0 0 2px #8574b6}.code-board .letter-cell.given-cell{background:#f2eefb}.scan-board{border-color:#a09b7c;background:#e6dfc5}.scan-clue{display:flex;flex-direction:column;background:#efe9d5;border:1px solid #dbd3b6;color:#6e644a;align-items:stretch;justify-content:space-evenly;padding:2px;overflow:hidden;text-align:left}.scan-clue>span{font-size:clamp(5px,.65vw,8px);line-height:1.06;font-weight:800;overflow:hidden;display:flex;flex-direction:column;gap:1px;align-items:start;word-break:break-word}.scan-clue b{font-size:13px;line-height:1}.scan-clue.selected-clue{background:#d7e5b6}.scan-clue:hover{background:#dfe8c5}.entry-hint{background:#f3f7f0;padding:14px 17px;border-radius:13px;margin-top:23px;color:#3c5945;min-height:78px}.entry-hint-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:7px}.entry-hint-header>span:last-child{font-size:11px;color:#90a18d}.hint-label{font-size:10px;letter-spacing:1.5px;color:#7d9681;font-weight:800}.entry-hint>strong{font-size:14px;font-weight:700;line-height:1.5}.code-layout .entry-hint{background:#f1eef8}.code-layout .entry-hint>div{display:flex;align-items:center;gap:7px;margin-top:8px}.code-layout .entry-hint>div>strong{font-size:22px}.code-layout .entry-hint small{font-size:11px;margin-left:auto;color:#9b8bb5}.letter-keyboard{margin-top:20px;display:flex;flex-direction:column;gap:5px;user-select:none}.keyboard-row{display:flex;justify-content:center;gap:4px}.letter-key{display:flex;align-items:center;justify-content:center;flex:0 1 39px;min-width:0;height:38px;border:1px solid #dfe7db;border-radius:8px;background:#f3f6f1;color:#415a44;font-size:13px;font-weight:800;transition:.15s}.letter-key:hover{background:#d9e9cd;transform:translateY(-1px)}.letter-key:active{transform:translateY(2px);background:#c8e0b5}.keyboard-actions{align-items:center;justify-content:space-between;margin-top:2px}.letter-key.keyboard-wide{max-width:120px;flex:0 1 120px;font-size:11px;gap:7px}.keyboard-actions>span{font-size:10px;color:#a4b0a3}.sidebar-header .eyebrow{font-size:10px}.sidebar-header h3{font-size:23px;line-height:1.2;letter-spacing:-.6px;margin-top:9px}.sidebar-header p{font-size:12px;color:#8c9c8d;line-height:1.7;margin-top:9px}.puzzle-progress{margin-top:23px}.puzzle-progress>div:first-child{display:flex;justify-content:space-between;gap:15px;font-size:11px;color:#8d9b8e;font-weight:700;margin-bottom:9px}.puzzle-progress strong{color:#547e59}.puzzle-progress .progress-track{height:7px}.clue-scroll{margin-top:24px;max-height:515px;overflow:auto;scrollbar-color:#dae5d5 transparent;scrollbar-width:thin}.clue-scroll h4{font-size:12px;margin:19px 0 9px;color:#607b66}.clue-scroll h4:first-child{margin-top:0}.clue-group{display:flex;flex-direction:column;gap:6px}.clue-item{display:flex;align-items:flex-start;gap:9px;text-align:left;padding:10px;border:1px solid transparent;border-radius:10px;background:transparent;font-size:11px;line-height:1.5;color:#738a78;width:100%}.clue-item:hover{background:#f4f8f1}.clue-item.active{background:#e8f2e2;border-color:#d2e4cb;color:#365c3d}.clue-item>span:first-child{font-weight:800;font-size:11px;color:#668e62;min-width:18px}.clue-item>span:nth-child(2){flex:1}.clue-item.solved>span:nth-child(2){text-decoration:line-through;opacity:.65}.clue-item.solved svg{color:#73a779}.clue-empty{color:#9fa99f;font-size:11px}.sidebar-tools{display:flex;gap:9px;margin-top:22px;flex-wrap:wrap}.tool-btn{background:#f0f5ed;border:1px solid #e1ebdd;color:#577858;border-radius:11px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:11px 13px;font-size:12px;font-weight:800;flex:1;white-space:nowrap}.tool-btn:hover{background:#deebd7}.sidebar-note{font-size:11px;color:#9b9bad;line-height:1.7;margin-top:17px;display:flex;align-items:start;gap:7px}.code-legend{margin-top:23px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.code-legend-cell{display:flex;flex-direction:column;align-items:center;justify-content:space-around;gap:4px;height:53px;background:#f6f4fb;border:1px solid #e9e5f0;border-radius:8px;color:#766a94}.code-legend-cell.current,.code-legend-cell:hover{background:#e6dff6;border-color:#b6a5dd}.code-legend-cell.revealed{color:#8c7eb2;background:#f0ebfa}.code-legend-cell small{font-size:9px;color:#9c92ae}.code-legend-cell strong{font-size:17px}.complete-banner{background:#e5f5e2;color:#3b7d45;padding:12px 14px;font-size:12px;font-weight:800;display:flex;gap:10px;align-items:center;border-radius:12px;margin-bottom:20px}
/* Филворды */
.wordsearch-board{display:grid;grid-template-columns:repeat(var(--cols),minmax(0,1fr));width:min(100%,550px);aspect-ratio:1;gap:3px;padding:6px;border-radius:15px;background:#f4eee9;touch-action:none;user-select:none;border:1px solid #eadfd7}.word-cell{min-width:0;padding:0;border-radius:8px;background:#fffdf9;color:#5c6b60;font-size:clamp(11px,1.65vw,20px);font-weight:800;display:grid;place-items:center;touch-action:none;transition:background .1s,color .1s}.word-cell:hover{background:#f6d7c4}.word-cell.found{color:#365747}.word-cell.found-0{background:#c7e7c9}.word-cell.found-1{background:#f6d0b4}.word-cell.found-2{background:#d8d1ef}.word-cell.found-3{background:#f0e2ae}.word-cell.found-4{background:#bce0e4}.word-cell.dragging{background:#eebc9c;box-shadow:inset 0 0 0 2px #d7946e}.word-cell.word-tap{background:#e8b791;box-shadow:inset 0 0 0 2px #c17a54}.word-cell.word-hint{animation:pulse-hint .65s 3;background:#f3bc86;box-shadow:inset 0 0 0 2px #c98f48}@keyframes pulse-hint{50%{transform:scale(.8);background:#ffe17e}}.wordsearch-instruction{font-size:11px;color:#9c9b93;display:flex;align-items:center;gap:8px;line-height:1.5;margin:18px 6px 0}.word-list{margin-top:22px;display:flex;flex-direction:column;gap:4px}.word-list-item{display:flex;align-items:center;gap:12px;padding:12px 5px;border-bottom:1px solid #f0f1ed}.word-list-index{font-size:11px;color:#abb4aa;letter-spacing:1px}.word-list-item strong{font-size:13px;letter-spacing:.25px;flex:1}.word-list-item.done strong{text-decoration:line-through;color:#9ba99c}.word-list-item.done svg{color:#6fa678}.word-list-dot{width:8px;height:8px;border-radius:50%;border:1px solid #dae0d9}
/* Судоку */
.sudoku-board{width:min(100%,520px);display:grid;grid-template-columns:repeat(9,minmax(0,1fr));border:2px solid #4b6557;background:#a0b6a6;gap:1px;user-select:none;aspect-ratio:1}.sudoku-cell{position:relative;display:grid;place-items:center;min-width:0;aspect-ratio:1;background:#fff;font-size:clamp(15px,2.4vw,24px);color:#618c71;font-weight:700;padding:0}.sudoku-cell.sudoku-fixed{font-weight:800;color:#344c40}.sudoku-cell.related{background:#f2f7ef}.sudoku-cell.sudoku-same{background:#e1eddc}.sudoku-cell.active{background:#cce9ac;box-shadow:inset 0 0 0 2px #7fa66e;z-index:2}.sudoku-cell.wrong{color:#c45753;background:#ffdfd9}.sudoku-cell.box-top{border-top:2px solid #4b6557}.sudoku-cell.box-left{border-left:2px solid #4b6557}.sudoku-cell.box-bottom{border-bottom:1px solid #4b6557}.sudoku-cell.box-right{border-right:1px solid #4b6557}.sudoku-notes{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);width:100%;height:100%;align-items:center;justify-items:center}.sudoku-notes small{font-size:clamp(6px,.86vw,11px);color:#92aa91;line-height:1}.sudoku-toolbar{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:22px}.sudoku-tool{border-radius:11px;background:#f1f5ee;padding:11px 12px;display:flex;align-items:center;justify-content:center;gap:7px;color:#66806c;font-size:11px;font-weight:800;flex:1}.sudoku-tool.is-on{background:#dceccf;color:#406b46;box-shadow:inset 0 0 0 1px #aed39d}.sudoku-tool span{font-size:9px;opacity:.7}.sudoku-tool:hover{background:#e2ebdc}.sudoku-numpad{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:6px;margin-top:15px}.sudoku-numpad button{border:1px solid #e2e8dc;background:#f5f8f2;color:#557b5b;border-radius:10px;display:grid;place-items:center;height:59px;padding:4px}.sudoku-numpad button:hover{background:#deeed5}.sudoku-numpad strong{font-size:25px}.sudoku-numpad small{font-size:9px;line-height:1;color:#9ba99a}.rules-list{margin:23px 0;display:flex;flex-direction:column;gap:10px}.rules-list div{display:flex;align-items:center;gap:13px;font-size:12px;color:#6f8372;font-weight:600}.rules-list span{background:#edf3e9;color:#729b70;font-size:11px;padding:7px 8px;border-radius:8px;font-weight:800}.sudoku-callout{display:flex;gap:11px;background:#f2f5ee;padding:15px;border-radius:13px;color:#708b72;margin-top:20px}.sudoku-callout p{font-size:11px;line-height:1.7}.sudoku-callout strong{color:#3b5f43}.sudoku-callout svg{margin-top:2px}.check-result{font-size:11px;color:#b66b58;margin-top:12px}
/* Диалог / подсказки */
#toast-root{position:fixed;z-index:120;top:100px;right:23px}.toast{background:#263e34;color:#fff;border-radius:14px;padding:15px 19px;box-shadow:0 14px 40px #273a2c2d;display:flex;align-items:center;gap:10px;max-width:350px;font-size:12px;line-height:1.4;font-weight:700;animation:toast-in .25s ease}.toast.error{background:#96554e}@keyframes toast-in{from{opacity:0;transform:translateY(-12px)}to{opacity:1;transform:translateY(0)}}.modal-scrim{position:fixed;inset:0;background:#17251edb;backdrop-filter:blur(7px);z-index:100;display:grid;place-items:center;padding:15px}.modal-panel{background:#fff;width:min(100%,450px);padding:35px;border-radius:27px;text-align:center;position:relative;box-shadow:0 30px 90px #101d163a;animation:modal-in .2s ease}.modal-close{position:absolute;right:18px;top:18px;background:#f2f4ef;color:#839183;width:34px;height:34px;display:grid;place-items:center;border-radius:10px}.modal-art{width:80px;height:80px;display:grid;place-items:center;margin:6px auto 24px;border-radius:23px;background:#e9f3df;color:#679363}.modal-panel h2{font-size:29px;letter-spacing:-1px}.modal-panel p{font-size:13px;line-height:1.8;margin:12px 0 25px;color:#839083}.modal-buttons{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}@keyframes modal-in{from{opacity:0;transform:scale(.96) translateY(8px)}to{opacity:1;transform:scale(1)}}.boot{height:100vh;display:grid;place-items:center;font-size:27px;font-weight:800;letter-spacing:-1.5px}.boot span{color:#8ebf62}
@media(min-width:1550px){.wrap{width:min(1250px,calc(100% - 120px))}}
@media(max-width:1100px){.wrap{width:calc(100% - 52px)}.hero-copy{padding:52px 22px 40px 43px}.hero-visual-grid{grid-template-columns:repeat(3,80px)}.hero-tile{width:80px;height:80px;font-size:42px}.hero-float.f1{left:1%}.summary-strip{padding:20px 23px;grid-template-columns:1.1fr 1.25fr}.summary-progress{grid-column:1/-1}.summary-stats{border-right:0}.game-card h3{font-size:25px}.game-card p{font-size:12px}.game-card-body,.game-card-top{padding-left:18px;padding-right:18px}.puzzle-layout{grid-template-columns:minmax(0,1fr) 290px;gap:14px}.board-panel{padding:17px}.game-sidebar{padding:19px}.code-legend{gap:5px}.category-illustration{width:230px}}
@media(max-width:800px){.wrap{width:calc(100% - 38px)}.hero{grid-template-columns:1fr;min-height:0}.hero-copy{padding:47px 38px 36px}.hero-design{min-height:270px}.hero-visual-grid{grid-template-columns:repeat(3,68px);top:49%}.hero-tile{width:68px;height:68px;border-radius:14px;font-size:36px}.hero-float.f1{top:26px;left:14%}.hero-float.f2{bottom:25px;right:17%}.hero h1{font-size:58px}.summary-strip{grid-template-columns:1fr}.summary-greeting{justify-content:center}.summary-stats{border:0;border-top:1px solid #edf0e9;border-bottom:1px solid #edf0e9;padding:18px}.summary-progress{grid-column:1}.games-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.game-card,.game-card:nth-child(n+4){grid-column:span 1}.game-card:last-child{grid-column:span 2;min-height:350px}.game-card:last-child .game-card-illustration{height:170px}.game-card{min-height:405px}.continue-grid{grid-template-columns:1fr}.levels-grid,.started-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.play-header{flex-wrap:wrap;gap:14px}.puzzle-layout{grid-template-columns:1fr}.game-sidebar{position:static}.board-panel{padding:25px}.puzzle-board{width:min(100%,calc(var(--cols)*var(--cell-max)))}.puzzle-cell{font-size:clamp(12px,3vw,22px)}.game-sidebar{padding:25px}.clue-scroll{max-height:320px}.category-illustration{width:190px}.auth-side{display:none}.auth-screen{grid-template-columns:1fr}.auth-panel{width:min(450px,calc(100% - 50px))}.auth-art{margin:20px 0}}
@media(max-width:560px){.wrap{width:calc(100% - 30px)}.site-header{height:67px}.brand{font-size:21px;gap:8px}.brand-dot{margin-left:-8px}.brand-mark{width:30px;height:30px;padding:7px;border-radius:9px}.header-links{gap:3px}.header-link{font-size:11px;padding:9px 8px;gap:5px}.header-link svg{width:14px;height:14px}.count-chip{font-size:10px;padding:2px 4px;min-width:17px;height:18px;border-radius:6px}.header-divider{height:22px;margin:0 5px}.avatar{width:30px;height:30px;font-size:12px}.site-footer{margin-top:42px}.footer-inner{padding:21px 0;min-height:0;flex-direction:column;align-items:flex-start;gap:8px;font-size:10px}.hero{margin-top:15px;border-radius:22px}.hero-copy{padding:35px 24px 29px}.hero .eyebrow{font-size:9px;letter-spacing:1.3px}.hero h1{font-size:clamp(46px,11vw,61px);letter-spacing:-2.5px;margin:20px 0 13px}.hero h1 .hero-asterisk{font-size:27px;margin-left:5px}.hero-copy>p{font-size:13px;line-height:1.7}.hero-actions{gap:15px;margin-top:23px;flex-wrap:wrap}.btn{font-size:12px;padding:12px 15px;border-radius:12px}.hero-avatars small{font-size:10px}.hero-design{min-height:235px}.hero-visual-grid{grid-template-columns:repeat(3,59px);gap:8px}.hero-tile{width:59px;height:59px;font-size:30px;border-radius:13px}.hero-float{font-size:9px;padding:8px 10px}.hero-float.f1{top:19px;left:7%}.hero-float.f2{right:9%;bottom:18px}.summary-strip{margin-top:14px;padding:17px;border-radius:18px;gap:13px}.summary-greeting{justify-content:start}.summary-greeting .summary-icon{width:43px;height:43px;font-size:26px}.summary-greeting strong{font-size:13px}.summary-greeting span{font-size:11px}.summary-stats{padding:14px 4px}.summary-stats strong{font-size:23px}.summary-stats span{font-size:10px}.summary-progress{padding:0}.catalog,.continue-section{margin-top:53px;scroll-margin-top:78px}.section-heading{margin-bottom:18px}.section-heading .eyebrow{font-size:9px}.section-heading h2{font-size:29px}.section-heading p{font-size:12px}.section-count{font-size:10px}.games-grid{grid-template-columns:1fr;gap:13px}.game-card,.game-card:nth-child(n+4),.game-card:last-child{grid-column:span 1;min-height:0;border-radius:20px}.game-card-top{padding:16px 19px 0}.game-icon{width:40px;height:40px;border-radius:11px}.game-card-illustration,.game-card:nth-child(n+4) .game-card-illustration,.game-card:last-child .game-card-illustration{height:152px}.game-card-body{padding:15px 19px 17px}.game-card h3{font-size:26px}.game-card p{font-size:12px;line-height:1.55;margin-top:5px}.game-card-bottom{margin-top:12px;padding-top:12px}.bottom-banner{margin-top:45px;padding:25px;border-radius:20px}.bottom-banner h2{font-size:26px}.bottom-banner p{font-size:12px;max-width:240px}.bottom-banner-art{font-size:60px;gap:3px}.bottom-banner-art span{font-size:30px}.sub-page{padding-top:19px}.page-intro{margin-top:17px;padding:26px 23px;border-radius:21px;min-height:0}.page-intro h1{font-size:35px;letter-spacing:-1.3px}.page-intro p{font-size:12px}.page-intro .intro-illustration{display:none}.page-intro.category-intro{display:block;min-height:0}.intro-meta{gap:10px;margin-top:15px}.intro-meta>span{font-size:10px}.category-illustration{display:none}.level-heading{margin-top:37px}.levels-grid,.started-grid{grid-template-columns:1fr;gap:12px}.level-card{min-height:250px;padding:20px;border-radius:19px}.level-card .difficulty{margin-top:30px}.level-card h3{font-size:23px}.level-card-design{top:38px}.level-tip{font-size:10px;line-height:1.6;align-items:start;text-align:center}.started-card{min-height:265px}.empty-state{padding:46px 23px}.play-page{padding-top:20px}.play-navigation{align-items:start}.back-link{font-size:11px}.back-link svg{width:17px}.play-breadcrumb{font-size:10px;text-align:right}.play-header{margin:21px 0 18px;gap:16px}.play-header h1{font-size:32px;letter-spacing:-1.3px;margin-top:8px}.play-header p{font-size:12px}.play-tag{font-size:9px}.play-actions{width:100%;justify-content:space-between}.autosave{font-size:10px}.play-actions .btn{padding:9px 11px;font-size:11px}.puzzle-layout{gap:13px}.board-panel,.game-sidebar{border-radius:18px}.board-panel{padding:12px 10px 18px}.game-sidebar{padding:20px}.board-top{font-size:10px;gap:7px;margin:5px 3px 15px}.board-top svg{width:15px}.board-top>span:first-child{max-width:76%;line-height:1.4}.board-completion{font-size:10px}.puzzle-board{gap:1px;border-width:1px;border-radius:4px;width:100%}.puzzle-cell{font-size:clamp(11px,3.8vw,18px)}.cell-number{font-size:7px;left:2px;top:1px}.coded-cell{font-size:clamp(12px,4.3vw,18px);padding-top:5px}.coded-cell .code-number{font-size:8px;top:1px;left:2px}.scan-clue{padding:1px}.scan-clue>span{font-size:0;align-items:center;justify-content:center}.scan-clue b{font-size:11px}.scan-clue>span+span{border-top:1px solid #c9c4b1}.entry-hint{padding:11px 13px;margin-top:16px;min-height:75px}.entry-hint>strong{font-size:12px}.entry-hint-header>span:last-child{font-size:10px}.hint-label{font-size:9px}.letter-keyboard{margin-top:13px;gap:4px}.keyboard-row{gap:2px}.letter-key{height:34px;border-radius:6px;font-size:clamp(9px,2.7vw,13px);flex:1}.keyboard-actions{margin-top:2px}.letter-key.keyboard-wide{max-width:105px;flex:0 1 105px}.keyboard-actions>span{font-size:9px}.sidebar-header h3{font-size:22px}.sidebar-header p{font-size:12px}.clue-scroll{max-height:300px}.wordsearch-board{padding:3px;gap:2px;border-radius:10px}.word-cell{border-radius:5px;font-size:clamp(10px,3.1vw,16px)}.wordsearch-instruction{font-size:10px;gap:6px;line-height:1.6}.wordsearch-instruction svg{width:15px}.sudoku-cell{font-size:clamp(17px,5vw,23px)}.sudoku-board{width:100%}.sudoku-notes small{font-size:clamp(6px,2vw,9px)}.sudoku-toolbar{gap:4px;margin-top:14px}.sudoku-tool{font-size:10px;padding:8px 4px;gap:5px;min-height:43px}.sudoku-tool svg{width:17px}.sudoku-tool span{font-size:8px}.sudoku-numpad{gap:3px;margin-top:9px}.sudoku-numpad button{height:49px;border-radius:7px}.sudoku-numpad strong{font-size:21px}.sudoku-numpad small{font-size:8px}.code-legend{grid-template-columns:repeat(7,minmax(0,1fr))}.modal-panel{padding:29px 18px;border-radius:21px}.modal-panel h2{font-size:26px}#toast-root{top:75px;right:12px;left:12px}.toast{max-width:none}.auth-panel{width:calc(100% - 54px);padding-top:30px}.auth-brand{margin-bottom:29px}.auth-art{margin:0 0 26px}.auth-art-tiles span{width:33px;height:35px;font-size:18px}.auth-art-tiles{max-width:185px}.auth-art-bubble{font-size:10px;padding:8px 10px}.auth-copy h1{font-size:48px;letter-spacing:-2.5px}.auth-copy>p{font-size:13px}.auth-form{margin-top:23px}}
@media(max-width:350px){.wrap{width:calc(100% - 20px)}.header-link{padding:8px 5px}.header-link.started-link{font-size:0}.started-link svg{width:15px;height:15px}.started-link .count-chip{font-size:10px}.brand{font-size:19px}.brand-mark{width:27px;height:27px}.puzzle-cell{font-size:10px}.sudoku-tool{font-size:9px}.sudoku-numpad strong{font-size:18px}.letter-key{font-size:9px}}
@media(prefers-reduced-motion:reduce){
  :where(:not(.home-page, .home-page *)), :where(:not(.home-page, .home-page *))::before, :where(:not(.home-page, .home-page *))::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

@keyframes home-arrive {
  from { opacity: .72; translate: 0 12px; }
  to { opacity: 1; translate: 0 0; }
}
.home-page .hero-copy, .home-page .hero-design, .home-page .summary-strip,
.home-page .game-card, .home-page .resume-card, .home-page .bottom-banner {
  animation: home-arrive .46s cubic-bezier(.22,.75,.28,1) both;
}
.home-page .hero-design, .home-page .game-card:nth-child(2n) { animation-delay: .07s; }
.home-page .summary-strip, .home-page .game-card:last-child { animation-delay: .12s; }
.home-page .game-card { transition: transform .28s, box-shadow .28s, border-color .28s; }
.home-page .game-card-illustration, .home-page .game-icon, .home-page .card-arrow, .home-page .resume-arrow,
.home-page .hero-actions .btn svg, .home-page .subtle-link svg, .home-page .hero-tile {
  transition: transform .3s cubic-bezier(.22,.75,.28,1), background-color .26s;
}
.home-page .game-card-body { transition: background-color .26s; }
.home-page .game-card:is(:hover,:focus-visible) { transform: translateY(-6px); box-shadow: 0 18px 38px #2f493022; }
.home-page .game-card:is(:hover,:focus-visible) .game-card-illustration { transform: translateY(-4px) scale(1.045); }
.home-page .game-card:is(:hover,:focus-visible) .game-icon { transform: rotate(-8deg); background-color: #fff; }
.home-page .game-card:is(:hover,:focus-visible) .card-arrow { transform: rotate(-45deg); background-color: #fff; }
.home-page .game-card:is(:hover,:focus-visible) .game-card-body { background-color: #ffffffe0; }
.home-page .hero-visual-grid:hover .hero-tile { transform: translateY(-4px) rotate(-4deg); }
.home-page .hero-visual-grid:hover .hero-tile:nth-child(even) { transform: translateY(3px) rotate(4deg); }
.home-page .hero-actions .btn:is(:hover,:focus-visible) svg,
.home-page .resume-card:is(:hover,:focus-visible) .resume-arrow,
.home-page .subtle-link:is(:hover,:focus-visible) svg { transform: translateX(3px) rotate(-18deg); }

html {
  touch-action: manipulation;
}
body {
  -webkit-user-select: none;
  user-select: none;
}
input, textarea, [contenteditable="true"] {
  -webkit-user-select: text;
  user-select: text;
}

.header-account {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
:root {
  --scroll-thumb: #a4b99f;
  --scroll-track: #ebeee6;
}
html, .header-links, .clue-scroll, .reward-form textarea {
  scrollbar-color: var(--scroll-thumb) var(--scroll-track);
  scrollbar-width: thin;
}
.header-nav-shell {
  position: relative;
  min-width: 0;
  max-width: 100%;
}
.header-nav-shell::before, .header-nav-shell::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset-block: 0;
  width: 23px;
  pointer-events: none;
  opacity: 0;
  backdrop-filter: blur(4px);
  transition: opacity .15s;
}
.header-nav-shell::before {
  inset-inline-start: 0;
  background: linear-gradient(to right, #fafaf7, transparent);
  mask-image: linear-gradient(to right, #000, transparent);
}
.header-nav-shell::after {
  inset-inline-end: 0;
  background: linear-gradient(to left, #fafaf7, transparent);
  mask-image: linear-gradient(to left, #000, transparent);
}
.header-nav-shell[data-more-start]::before, .header-nav-shell[data-more-end]::after { opacity: 1; }
.header-links {
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-padding-inline: 23px;
}
.header-links a { flex-shrink: 0; white-space: nowrap; }
.header-links a:focus-visible { outline-offset: -3px; }
.header-balance, .game-clock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 12px;
  color: #385e40;
  background: #e4eedc;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.level-group { margin-top: 40px; }
.level-group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}
.level-group-header h2 { font-size: clamp(20px, 3vw, 28px); letter-spacing: -.6px; }
.group-progress { width: min(100%, 285px); }
.group-progress .progress-label { color: #556d5c; gap: 10px; margin-bottom: 3px; }
.group-progress progress {
  width: 100%;
  height: 8px;
  accent-color: #638a57;
}
.grouped-levels { grid-template-columns: repeat(auto-fill, minmax(min(100%, 215px), 1fr)); gap: 12px; }
.grouped-levels .level-card { min-height: 183px; padding: 15px; border-radius: 17px; }
.grouped-levels .level-card h3 { font-size: 19px; letter-spacing: -.35px; overflow-wrap: anywhere; }
.grouped-levels .level-card p { color: #617467; margin-bottom: 9px; overflow-wrap: anywhere; }
.grouped-levels .difficulty { margin-top: 13px; }
.grouped-levels .level-card-footer { padding-top: 9px; color: #536c58; }
.grouped-levels .level-locked { background: #efefe9; }
.level-locked:hover { transform: none; border-color: #e4e8e1; box-shadow: none; }
.status-pill.paused { background: #f5ecd9; color: #775d29; }
.play-actions { flex-wrap: wrap; }
#game-tasks { display: flex; flex-wrap: wrap; gap: 8px; }
#game-tasks:not(:empty) { margin-bottom: 13px; }
.game-task { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 7px 11px; border-radius: 11px; background: #f3ebd8; color: #654c23; font-size: 12px; }
.game-task a { overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 2px; }
.game-task strong { font-variant-numeric: tabular-nums; }

.reward-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 255px), 1fr));
  gap: 14px;
  margin-top: 24px;
}
.reward-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow-wrap: anywhere;
}
.reward-panel h2 { font-size: 20px; letter-spacing: -.4px; }
.reward-panel p { color: #556d5c; font-size: 14px; line-height: 1.6; white-space: pre-line; }
.reward-meta, .reward-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.reward-meta { color: #4f6856; font-size: 12px; font-variant-numeric: tabular-nums; }
.reward-meta strong { padding: 5px 8px; border-radius: 8px; background: #edf4e5; }
.reward-meta [data-deadline] { font-weight: 800; }
.reward-actions { margin-top: auto; }
.reward-actions .btn { padding: 9px 12px; font-size: 12px; }
.reward-link { margin-top: 20px; }
.reward-form label { display: grid; gap: 5px; font-size: 13px; font-weight: 700; }
.reward-form label[hidden] { display: none; }
.reward-form .reward-checkbox { display: flex; align-items: center; }
.reward-form .reward-checkbox input { width: auto; }
.reward-form :is(input, textarea, select) {
  width: 100%;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid #cedace;
  border-radius: 8px;
  font: inherit;
  color: var(--ink);
  background: #fbfcfa;
}
.reward-form :is(textarea, select):focus-visible { outline: 3px solid #aecf52; outline-offset: 2px; }
.reward-form textarea { resize: vertical; }
.reward-form .btn { align-self: flex-start; margin-top: auto; }

.header-rubles { background: #f4ebd7; color: #705528; font-weight: 800; white-space: nowrap; }
.avatar-admin { background: #dce8fa; border-color: #bdcde4; color: #3b5377; }
.avatar-admin:hover { background: #cdddf4; }
.header-account [data-balance] { white-space: nowrap; }
.shop-tools, .admin-tabs { display: flex; align-items: center; gap: 10px 18px; flex-wrap: wrap; margin-top: 22px; }
.shop-section { margin-top: 34px; scroll-margin-top: 140px; }
.shop-section > h2 { font-size: clamp(22px, 3vw, 30px); letter-spacing: -.55px; }
.shop-section .reward-grid { margin-top: 14px; }
.shop-exchange { max-width: 515px; }
.shop-exchange .reward-form input { max-width: 200px; }
.shop-exchange [data-exchange-cost] { color: #385e40; font-weight: 750; }

.admin-tabs { gap: 7px; }
.admin-tabs .btn { padding: 8px 13px; font-size: 13px; }
.admin-columns { display: grid; grid-template-columns: minmax(0, 2fr) minmax(250px, 1fr); gap: 16px; align-items: start; margin-top: 18px; }
.admin-columns aside { position: sticky; top: 105px; min-width: 0; }
.admin-list { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; min-width: 0; }
.admin-list-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.admin-list h2 { font-size: 20px; letter-spacing: -.4px; }
.admin-list h2 span { color: #58705c; font-size: 13px; margin-left: 4px; font-variant-numeric: tabular-nums; }
.admin-list p { color: #556d5c; font-size: 14px; margin-top: 14px; }
.admin-search-label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
.admin-search-label input { background: #fbfcfa; border: 1px solid #cedace; color: var(--ink); border-radius: 8px; padding: 7px 9px; width: min(160px, 50vw); }
.admin-entry { border-bottom: 1px solid #edf0eb; }
.admin-entry > summary { cursor: pointer; list-style: none; display: grid; grid-template-columns: 1fr auto auto; gap: 9px; align-items: center; padding: 12px 4px; font-size: 14px; }
.admin-entry > summary::-webkit-details-marker { display: none; }
.admin-entry > summary::after { content: '+'; color: #527555; font-size: 20px; font-weight: 700; line-height: 1; }
.admin-entry[open] > summary::after { content: '−'; }
.admin-entry > summary:focus-visible { outline: 2px solid #aecf52; outline-offset: -2px; }
.admin-entry > summary > span:first-child, .admin-record > span { min-width: 0; overflow-wrap: anywhere; }
.admin-entry-meta { display: flex; gap: 4px 9px; flex-wrap: wrap; justify-content: end; color: #49634d; font-size: 12px; }
.admin-entry-meta strong { white-space: nowrap; }
.admin-entry[open] { background: #f7f9f4; padding: 0 8px 8px; }
.admin-entry .reward-panel { border-radius: 12px; }
.admin-entry-actions { margin-top: 6px; }
.admin-entry-actions .btn, .admin-record .btn { padding: 7px 10px; font-size: 12px; }
.admin-record { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #edf0eb; font-size: 14px; }
.admin-record small { display: block; margin-top: 3px; color: #556d5c; }
.admin-record strong { white-space: nowrap; }
.admin-list .admin-subhead { margin-top: 24px; }
.admin-add { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 13px; }
.admin-add summary { cursor: pointer; color: #385e40; font-size: 15px; font-weight: 800; padding: 4px 5px; }
.admin-add .reward-form { border: 0; padding: 10px 5px 3px; }

@media(max-width: 1000px) {
  .site-header { height: auto; }
  .header-inner { flex-wrap: wrap; gap: 6px 10px; padding-block: 10px 5px; }
  .header-nav-shell { order: 3; flex: 0 0 100%; }
  .header-links { gap: 3px; }
  .header-links a { flex-shrink: 0; padding: 8px 9px; }
}
@media(max-width: 600px), (pointer: coarse) {
  .header-links { scrollbar-width: none; }
  .header-links::-webkit-scrollbar { display: none; }
}
@media(max-width: 560px) {
  .grouped-levels { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .grouped-levels .level-card { min-height: 165px; padding: 10px; }
  .grouped-levels .level-card h3 { font-size: 16px; }
  .grouped-levels .status-pill { font-size: 9px; padding: 5px; gap: 2px; }
  .grouped-levels .status-pill svg { width: 10px; }
  .grouped-levels .level-card-footer { font-size: 10px; }
  .reward-grid { margin-top: 16px; }
  #toast-root { top: 100px; }
}
@media(max-width: 700px) {
  .admin-columns { grid-template-columns: 1fr; }
  .admin-columns aside { position: static; grid-row: 1; }
  .admin-list { padding: 12px; }
  .admin-entry-meta { max-width: 105px; }
}
@media(max-width: 375px) {
  .header-account { gap: 4px; }
  .header-account .header-balance { padding: 6px; font-size: 11px; gap: 3px; }
  .header-account .header-balance svg { width: 13px; }
}
