:root{color-scheme:light;font-family:"Trebuchet MS","Segoe UI",Arial,sans-serif;color:#293d39;background:#f7f0df;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px;background:radial-gradient(circle at 88% 0,#fff9e9 0 17%,transparent 44%),#f7f0df}button{font:inherit}button:focus-visible{outline:4px solid #efb64c;outline-offset:3px}.app{width:min(100% - 32px,1120px);margin:0 auto;padding:22px 0 46px}.topbar{min-height:66px;margin-bottom:22px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{border:0;padding:0;display:inline-flex;align-items:center;gap:12px;color:inherit;background:transparent;text-align:left;cursor:pointer}.brand-mark{width:54px;height:52px;display:flex;align-items:center;justify-content:center;gap:3px;border-radius:17px;color:white;background:#439172;box-shadow:0 6px 0 #306e56;transform:rotate(-2deg)}.brand-mark:before{content:"";width:35px;height:12px;position:absolute;margin-top:-61px;border-radius:50% 50% 4px 4px;background:#df735d}.brand-mark b,.brand-mark i,.brand-mark em{font-size:12px;font-style:normal}.brand strong,.brand small{display:block}.brand strong{font-size:18px}.brand small{margin-top:2px;color:#6e7b75;font-size:12px}.top-actions{display:flex;gap:10px}.sound-button,.quiet-button,.hint-button,.check-button{min-height:44px;padding:0 16px;border:1px solid #ded3bb;border-radius:14px;color:#53655f;background:rgba(255,255,255,.72);font-weight:800;cursor:pointer}.sound-button{display:flex;align-items:center;gap:8px}.sound-button:hover,.quiet-button:hover,.hint-button:hover{background:white;transform:translateY(-1px)}
.hero{min-height:407px;display:grid;grid-template-columns:1.05fr .95fr;overflow:hidden;border:1px solid #ded2b8;border-radius:34px;background:#fffaf0;box-shadow:0 18px 60px rgba(73,65,44,.11)}.hero-copy{z-index:2;padding:58px 30px 54px 58px}.eyebrow{margin:0 0 12px;color:#c35f4c;font-size:12px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}h1,h2,p{margin-top:0}.hero h1{max-width:530px;margin-bottom:18px;color:#2d4942;font-family:Georgia,"Times New Roman",serif;font-size:clamp(43px,5.1vw,67px);line-height:.98;letter-spacing:-.035em}.hero-copy>p:not(.eyebrow){max-width:505px;color:#65766f;font-size:18px;line-height:1.58}.primary-button{min-height:54px;padding:0 24px;display:inline-flex;align-items:center;justify-content:center;gap:12px;border:0;border-radius:16px;color:white;background:#df735d;box-shadow:0 6px 0 #b65444;font-weight:900;cursor:pointer;transition:.15s ease}.primary-button:hover{transform:translateY(-2px);box-shadow:0 8px 0 #b65444}.primary-button:active{transform:translateY(4px);box-shadow:0 2px 0 #b65444}.hero-scene{min-height:407px;position:relative;overflow:hidden;background:linear-gradient(#bfe5dd 0 60%,#82be82 60%)}.hero-sun,.sun{width:58px;height:58px;position:absolute;right:35px;top:30px;display:grid;place-items:center;border-radius:50%;color:#e99738;background:#ffd578;font-size:23px}.hero-cloud,.cloud{width:86px;height:23px;position:absolute;top:49px;left:34px;border-radius:20px;background:rgba(255,255,255,.78)}.hero-cloud:before,.hero-cloud:after,.cloud:before,.cloud:after{content:"";position:absolute;bottom:0;border-radius:50%;background:inherit}.hero-cloud:before,.cloud:before{width:37px;height:37px;left:13px}.hero-cloud:after,.cloud:after{width:28px;height:28px;right:9px}.hero-tree{width:150px;height:180px;position:absolute;right:-20px;bottom:73px;border-radius:50%;background:#478c63;box-shadow:-46px 25px 0 #5ca36c}.hero-tree i{width:29px;height:150px;position:absolute;left:60px;top:111px;background:#806045}.hero-blanket{position:absolute;z-index:3;left:50%;bottom:35px;width:83%;min-height:124px;padding:18px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;border:7px solid #fff0d0;border-radius:20px;background:repeating-linear-gradient(45deg,#df735d 0 24px,#f4c879 24px 48px);transform:translateX(-50%) rotate(-2deg);box-shadow:0 8px 0 rgba(61,72,48,.17)}.hero-blanket span{min-height:67px;padding:10px;display:flex;align-items:center;justify-content:center;border-radius:16px;background:#fff9e9;font-size:27px}.hero-blanket b{padding:6px 9px;border-radius:12px;color:#496158;background:#fff;font-size:11px}.hero-friends{position:absolute;z-index:4;left:7px;right:7px;bottom:117px;display:flex;justify-content:space-between;font-size:64px;filter:drop-shadow(0 5px 0 rgba(58,73,51,.14))}
.how{padding:58px 18px 32px;text-align:center}.how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.how-grid article{padding:24px 20px;border-radius:22px;background:rgba(255,255,255,.55)}.how-grid span{min-width:48px;height:44px;padding:0 8px;margin:0 auto 12px;display:inline-grid;place-items:center;border-radius:22px;color:#694e2c;background:#f0c173;font-size:19px;font-weight:900}.how-grid strong{display:block;font-size:17px}.how-grid p{margin:7px 0 0;color:#708078;font-size:14px;line-height:1.45}.levels{padding:44px;border-radius:30px;background:#e9eee4}.section-heading{margin-bottom:24px;display:flex;align-items:end;justify-content:space-between;gap:30px}.section-heading h2{margin-bottom:0;color:#304b44;font-family:Georgia,serif;font-size:36px}.section-heading>p{max-width:370px;margin-bottom:3px;color:#697a73;line-height:1.5}.level-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.level-card{min-width:0;min-height:340px;padding:20px;position:relative;display:flex;flex-direction:column;align-items:stretch;overflow:hidden;border:1px solid #d7d7c5;border-radius:24px;color:#314741;background:#fffdf8;text-align:left;cursor:pointer;transition:.18s ease}.level-card:hover{transform:translateY(-5px);box-shadow:0 14px 28px rgba(49,71,65,.13)}.level-number{width:34px;height:34px;position:absolute;top:16px;left:16px;display:grid;place-items:center;border-radius:50%;color:white;background:var(--accent);font-weight:900}.level-preview{min-height:126px;padding:34px 0 10px;display:flex;flex-direction:column;align-items:center;justify-content:center}.preview-treats,.preview-friends{display:flex;justify-content:center;gap:3px}.preview-treats i{min-width:38px;padding:6px 3px;border-radius:8px;background:color-mix(in srgb,var(--accent) 19%,#fff2d2);font-size:13px;font-style:normal;text-align:center}.preview-friends i{font-size:26px;font-style:normal}.level-copy small,.level-copy strong,.level-copy em{display:block}.level-copy small{color:var(--accent);font-weight:900}.level-copy strong{margin-top:7px;font-family:Georgia,serif;font-size:25px;line-height:1.05}.level-copy em{margin-top:10px;color:#74817c;font-size:14px;font-style:normal;line-height:1.45}.level-status{margin-top:auto;padding-top:18px;display:flex;align-items:center;justify-content:space-between;color:#718078;font-size:13px;font-weight:800}.level-status b{width:35px;height:35px;display:grid;place-items:center;border-radius:50%;color:white;background:var(--accent);font-size:19px}.mini-stars{color:#e5a73a;letter-spacing:2px}.adult-note{margin-top:24px;padding:22px 28px;display:flex;align-items:center;gap:16px;border:1px dashed #bdc9af;border-radius:20px;color:#607269;background:rgba(246,250,237,.7)}.adult-note>span{font-size:30px}.adult-note p{margin:0;line-height:1.5}.adult-note strong{display:block;color:#395249}
.game-shell{padding:34px 40px 40px;border:1px solid #ded3bc;border-radius:30px;background:#fffaf0;box-shadow:0 18px 55px rgba(75,67,45,.1)}.game-head{display:flex;align-items:center;justify-content:space-between;gap:20px}.game-head h1{margin:0;color:#2e4a43;font-family:Georgia,serif;font-size:clamp(28px,3.4vw,43px);line-height:1.06}.round-count{min-width:80px;display:flex;align-items:baseline;justify-content:flex-end;color:#728079}.round-count strong{color:var(--level-accent);font-size:34px}.round-count span{font-weight:800}.progress-track{margin:24px 0 28px;display:grid;grid-template-columns:repeat(10,1fr);gap:7px}.progress-track i{height:7px;border-radius:10px;background:#e6dfcd}.progress-track i.done{background:#69a386}.progress-track i.current{background:var(--level-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--level-accent) 20%,transparent)}.picnic-stage{min-height:530px;padding:56px 28px 27px;position:relative;overflow:hidden;border:6px solid white;border-radius:26px;background:linear-gradient(#c5e8df 0 39%,#8bc487 39% 100%);box-shadow:inset 0 0 0 1px #b6d7cf,0 8px 20px rgba(66,87,76,.1)}.stage-sky{position:absolute;inset:0;pointer-events:none}.sun{width:50px;height:50px;right:28px;top:23px;font-size:20px}.cloud{top:31px;left:39px}.stage-trees i{width:190px;height:190px;position:absolute;top:142px;border-radius:50%;background:#4d9865;box-shadow:0 105px 0 #755943}.stage-trees i:first-child{left:-100px}.stage-trees i:last-child{right:-100px}.shared-pool{position:relative;z-index:3;max-width:780px;margin:0 auto 22px;padding:17px 20px 14px;border:6px solid #fff2d5;border-radius:22px;background:#edc67a;box-shadow:0 7px 0 rgba(76,73,50,.17)}.pool-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}.pool-heading .eyebrow{margin-bottom:3px}.pool-heading h2{margin:0;color:#39534b;font-family:Georgia,serif;font-size:24px}.share-badge{padding:8px 13px;border-radius:14px;color:#567067;background:#fff8e5;font-size:12px;font-weight:800;white-space:nowrap}.share-badge strong{color:var(--level-accent);font-size:20px}.pool-basket{min-height:76px;margin-top:10px;padding:8px;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:5px;border:4px solid #ae744c;border-radius:13px;background:#c78a55}.pool-basket.empty{flex-direction:column;color:#fffbe8}.pool-basket.empty>span{font-size:28px;font-weight:900}.pool-basket.empty small{font-weight:800}.treat,.plate-treat{width:46px;height:46px;padding:0;display:grid;place-items:center;border:2px solid rgba(255,255,255,.8);border-radius:13px;background:#fff9e9;font-size:27px;line-height:1;cursor:pointer;transition:.12s ease}.treat:hover,.plate-treat:hover{transform:translateY(-2px)}.treat.selected{border-color:#df735d;box-shadow:0 0 0 5px rgba(223,115,93,.24);transform:translateY(-3px)}.pool-tip{margin:9px 0 0;color:#725537;text-align:center;font-size:12px;font-weight:800}.friends-grid{position:relative;z-index:3;display:grid;grid-template-columns:repeat(var(--friend-count),minmax(0,1fr));gap:10px}.friend-card{min-width:0;padding:12px;position:relative;border:5px solid #fff3d7;border-radius:22px;background:#fff8e7;text-align:center;box-shadow:0 7px 0 rgba(72,78,55,.16)}.friend-card.needs-more{box-shadow:0 0 0 7px rgba(242,190,68,.28),0 7px 0 rgba(72,78,55,.16)}.friend-card.too-many{border-color:#edb1a4}.friend-face{display:block;margin-top:-12px;font-size:53px;line-height:1;filter:drop-shadow(0 4px 0 rgba(56,72,49,.12))}.friend-count{position:absolute;top:8px;right:8px;width:42px;height:42px;display:grid;place-items:center;border-radius:50%;color:#fff;background:var(--level-accent)}.friend-count strong{font-size:16px;line-height:1}.friend-count small{margin-top:-8px;font-size:8px}.friend-plate{min-height:75px;padding:7px;margin:6px 0 8px;display:flex;align-content:center;align-items:center;justify-content:center;flex-wrap:wrap;gap:3px;border:4px solid #d7b276;border-radius:50%;background:#f3dfa5}.plate-treat{width:36px;height:36px;border:0;background:transparent;font-size:24px}.empty-plate{color:#a48b61;font-size:11px;font-weight:800}.give-button{width:100%;min-height:43px;border:0;border-radius:13px;color:#fff;background:#4d9474;font-weight:900;cursor:pointer}.give-button small{float:right;width:20px;height:20px;display:grid;place-items:center;border-radius:7px;color:#507067;background:rgba(255,255,255,.8)}.give-button:disabled{opacity:.48;cursor:default}.game-tools{margin-top:18px;display:flex;justify-content:center;gap:10px}.hint-button:disabled,.check-button:disabled{opacity:.5;cursor:default}.check-button{min-width:130px;color:white;border-color:#4c8e71;background:#4c9474}.feedback-card{min-height:88px;margin-top:22px;padding:15px 16px 15px 19px;display:flex;align-items:center;gap:14px;border:1px solid #d6e4d2;border-radius:20px;background:#eef5ec}.feedback-icon{width:49px;height:49px;flex:0 0 auto;display:grid;place-items:center;border-radius:16px;background:white;font-size:24px}.feedback-card p{margin:0}.feedback-card strong,.feedback-card small{display:block}.feedback-card small{margin-top:4px;color:#6b7b74}.feedback-card.correct{border-color:#b7dbc5;background:#e3f3e9}.feedback-card.wrong{border-color:#edc9bb;background:#fff0e9}.feedback-card.hint{border-color:#ead491;background:#fff7d9}.feedback-card .compact{min-height:48px;margin-left:auto}
.result-wrap{min-height:620px;padding:30px;display:grid;place-items:center;border-radius:30px;background:linear-gradient(160deg,#c7e8df,#f9e7b8);box-shadow:0 18px 55px rgba(75,67,45,.1)}.result-card{width:min(100%,650px);padding:42px;border-radius:28px;background:rgba(255,253,246,.94);text-align:center;box-shadow:0 18px 45px rgba(66,81,72,.14)}.result-scene{display:flex;align-items:center;justify-content:center;gap:10px}.result-scene span{font-size:66px}.result-scene i{width:58px;height:58px;display:grid;place-items:center;border-radius:50%;background:#f4d994;font-size:31px;font-style:normal}.result-card h1{margin-bottom:12px;color:#2e4a43;font-family:Georgia,serif;font-size:47px}.result-card>p:not(.eyebrow){color:#687a72}.result-stars{margin:16px 0;color:#e9a936;font-size:48px;letter-spacing:8px;text-shadow:0 3px 0 #c58624}.result-stats{margin:24px 0;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.result-stats span{padding:15px 8px;border-radius:17px;background:#f1eee3}.result-stats strong,.result-stats small{display:block}.result-stats strong{color:#3f826a;font-size:28px}.result-stats small{color:#78847e}.result-actions{display:flex;justify-content:center;gap:12px}.quiet-button.large{min-height:54px}
@media(max-width:900px){.app{width:min(100% - 24px,1120px)}.hero{grid-template-columns:1fr}.hero-copy{padding:45px 42px}.hero-scene{min-height:345px}.level-grid{grid-template-columns:1fr}.level-card{min-height:225px;display:grid;grid-template-columns:190px 1fr;grid-template-rows:1fr auto;column-gap:18px}.level-preview{grid-row:1/3}.level-copy{align-self:center}.level-status{align-self:end}.section-heading{align-items:start}.picnic-stage{padding-left:16px;padding-right:16px}.friend-card{padding:9px}.friend-face{font-size:45px}.plate-treat{width:31px;height:31px;font-size:21px}}
@media(max-width:650px){.app{width:min(100% - 16px,1120px);padding-top:10px}.topbar{margin-bottom:12px}.brand small,.sound-button span:last-child,.quiet-button{display:none}.sound-button{width:45px;padding:0;justify-content:center}.hero{border-radius:24px}.hero-copy{padding:34px 24px 30px}.hero h1{font-size:42px}.hero-copy>p:not(.eyebrow){font-size:16px}.hero-scene{min-height:305px}.hero-friends{font-size:52px}.hero-blanket{width:86%;padding:12px}.how{padding:42px 0 24px}.how-grid{grid-template-columns:1fr}.how-grid article{display:grid;grid-template-columns:65px 1fr;text-align:left}.how-grid span{grid-row:1/3;margin:0}.levels{padding:28px 16px;border-radius:24px}.section-heading{display:block}.section-heading h2{font-size:31px}.section-heading>p{margin-top:12px}.level-card{min-height:320px;display:flex}.level-preview{min-height:127px}.game-shell{padding:24px 12px 28px;border-radius:24px}.game-head{align-items:flex-start}.game-head h1{font-size:29px}.round-count{min-width:57px}.round-count strong{font-size:27px}.progress-track{margin:18px 0 22px;gap:4px}.picnic-stage{min-height:610px;padding:52px 8px 22px;border-width:4px}.shared-pool{padding:13px 10px 10px;border-width:4px}.pool-heading h2{font-size:19px}.share-badge{padding:6px 8px}.pool-basket{min-height:68px;gap:3px}.treat{width:43px;height:43px;font-size:24px}.friends-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.friend-card{padding:8px;border-width:4px}.friend-face{font-size:42px}.friend-count{width:36px;height:36px}.friend-plate{min-height:64px;padding:5px}.plate-treat{width:30px;height:30px;font-size:20px}.give-button{min-height:44px;font-size:12px}.feedback-card{align-items:flex-start}.feedback-card.correct{flex-wrap:wrap}.feedback-card.correct p{flex:1}.feedback-card .compact{width:100%;margin:12px 0 0}.result-wrap{min-height:560px;padding:14px;border-radius:24px}.result-card{padding:30px 16px}.result-card h1{font-size:39px}.result-stars{font-size:40px}.result-stats small{font-size:11px}.result-actions{flex-direction:column}.result-actions button{width:100%}.quiet-button.large{display:inline-flex}}
@media(max-width:370px){.hero h1{font-size:37px}.game-head h1{font-size:26px}.treat{width:40px;height:40px;font-size:22px}.result-stars{font-size:34px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* Выданные предметы тоже остаются полноценными сенсорными кнопками. */
.plate-treat{width:44px;height:44px;font-size:25px}.give-button{min-height:44px}
@media(max-width:650px){.friend-plate{min-height:104px}.plate-treat{width:44px;height:44px;font-size:24px}}
