/* Дерево желаний. One visual system: moonlit garden, amber light, quiet reading. */
@font-face{font-family:Onest;src:url('/fonts/onest.ttf') format('truetype');font-display:swap}
:root{font-family:Onest,Arial,sans-serif;font-size:16px;color-scheme:dark;--forest:#14182d;--pine:#83cec6;--gold:#edc58b;--paper:#191d34;--ink:#f3f0fa;--muted:#a9adc5;--line:#ffffff16;--accent:#edc58b;--white:#f5f2fb;background:#0d1024;color:var(--ink)}
*{box-sizing:border-box}body{margin:0;background:#0d1024}button,input,textarea,select{font:inherit}button{cursor:pointer;border:0}button:disabled{cursor:default;opacity:.5}button,input,textarea,select{outline-offset:5px}button:focus-visible,a:focus-visible{outline:3px solid #f3cb8f}a{color:inherit}svg{display:block}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:Onest,Arial,sans-serif;letter-spacing:-.045em;line-height:1.13}h1{font-size:clamp(2.5rem,4.2vw,4.4rem);font-weight:750}h2{font-size:2rem;font-weight:650}h3{font-size:1.15rem;letter-spacing:-.02em;font-weight:600;line-height:1.4}p{line-height:1.7}small{font-size:.875rem;line-height:1.5}.loading{padding:3rem;color:var(--gold)}.muted{color:var(--muted)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:52px;padding:14px 24px;border-radius:16px;background:linear-gradient(115deg,#f8deb4,#e8b778);color:#322239;font-weight:650;text-decoration:none;box-shadow:0 7px 25px #e6ac671a,inset 0 1px 0 #fff8;transition:box-shadow .2s,transform .2s}.btn:hover{box-shadow:0 8px 32px #e6ac673b;transform:translateY(-2px)}.btn.gold{background:linear-gradient(115deg,#f8deb4,#e8b778);color:#322239}.btn.light,.btn.outline{border:1px solid #ffffff30;background:#ffffff06;color:var(--ink);box-shadow:none}.btn.small{min-height:42px;padding:10px 16px;font-size:.9rem}.link{background:none;color:var(--gold);text-decoration:underline;text-underline-offset:5px;padding:8px 0}.iconbtn{background:#ffffff06;color:inherit;border:1px solid #ffffff20;display:flex;align-items:center;justify-content:center;border-radius:50%;width:40px;height:40px;flex:none}.row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.spread{justify-content:space-between}.stack{display:grid;gap:16px}.wide{width:100%}.label{display:block;font-weight:500;margin-bottom:8px}
input:not([type=checkbox]),textarea,select{width:100%;border:1px solid #ffffff26;background:#0f1327;padding:15px;border-radius:13px;color:var(--ink)}input::placeholder,textarea::placeholder{color:#858ba7}input[type=checkbox]{width:19px;height:19px;accent-color:#eac18b}textarea{min-height:130px;resize:vertical;line-height:1.7}.error{color:#ffb5ab;line-height:1.5}.empty{padding:40px 0;max-width:60ch}.pill{display:inline-flex;border:1px solid #d5bd8c55;border-radius:20px;padding:6px 12px;font-size:.875rem;color:var(--gold)}.badge{color:#f3d9b3;background:#e4b97914;padding:6px 12px;border-radius:30px;font-size:.875rem}
.demo{min-height:32px;background:#1a2038;color:#b9bdd1;display:flex;align-items:center;justify-content:center;gap:20px;padding:7px 20px;font-size:.8rem;text-align:center;border-bottom:1px solid #ffffff0a}.demo button{background:transparent;text-decoration:underline;text-underline-offset:3px;color:#ded6f1;font-size:inherit}.topbar{max-width:1600px;margin:auto;min-height:86px;padding:20px 4%;display:flex;justify-content:space-between;align-items:center;gap:20px;color:var(--white)}.brand{font-family:Onest,Arial,sans-serif;font-weight:650;font-size:1.15rem;letter-spacing:-.03em;display:flex;gap:12px;align-items:center;background:none;color:inherit;padding:0;white-space:nowrap}.brand .spark{display:grid;place-items:center;width:34px;height:38px;border-radius:12px;color:var(--gold);background:linear-gradient(135deg,#d9ba8028,#ac8bea12);font-size:1.6rem;border:1px solid #edc58b30}.topnav{display:flex;gap:4px;align-items:center;background:#ffffff04;padding:5px;border-radius:30px;border:1px solid #ffffff09}.topnav button{color:#adafc4;border:0;background:transparent;padding:10px 20px;border-radius:22px;font-size:.9rem}.topnav button:hover{color:#fff}.topnav button.active{background:#ffffff0d;color:#f5e1c0}.topnav .iconbtn{border:0;width:36px;height:36px;padding:8px}.save-state{font-size:.8rem;color:#a6c9bf;min-height:20px}.save-state.error{color:#ffbea4}.screen{min-height:calc(100vh - 118px);background:radial-gradient(ellipse at 68% 12%,#35305530,transparent 58%),radial-gradient(ellipse at 8% 70%,#1d646525,transparent 48%),#0d1024}
.garden{max-width:1500px;margin:auto;padding:28px 4% 12px}.garden-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;padding-bottom:22px}.greeting{font-size:.875rem;color:#b9afcc;margin:0 0 10px}.garden-heading h1{margin:0 0 12px;letter-spacing:-.065em;font-size:clamp(2.6rem,4.4vw,4.25rem);font-weight:750}.garden-subtitle{color:#a7acc6;margin:0;font-size:1rem}.garden-progress{display:flex;gap:14px;align-items:center}.progress-ring{background:conic-gradient(#e9c38b var(--progress),#ffffff0d 0);padding:3px;border-radius:50%;width:68px;height:68px;flex:none}.progress-ring>span{display:flex;align-items:baseline;justify-content:center;gap:3px;padding-top:17px;width:62px;height:62px;border-radius:50%;background:#12162c;font-size:1.3rem;font-weight:650}.progress-ring small{font-size:.75rem;color:#a5a9c1}.garden-progress p{font-size:.875rem;margin:0;color:#d9d4e5;line-height:1.6}.garden-progress p small{display:block;color:#929ab8;font-size:.8rem;margin-top:3px}
.garden-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(310px,1fr);gap:30px;align-items:center}.stage{position:relative;min-width:0;text-align:center}.scene{position:relative;margin:0;isolation:isolate;overflow:hidden;border-radius:32px;background:#0b1528;aspect-ratio:3/2}.wish-tree{position:relative;width:100%;height:100%;isolation:isolate;overflow:hidden}.tree-art{display:block;width:100%;height:100%;object-fit:cover;transition:filter 1.2s,transform 1.8s;filter:brightness(.88) saturate(.9)}.finished .tree-art{filter:brightness(1.05) saturate(1.05)}.scene::after{content:'';position:absolute;inset:0;pointer-events:none;border-radius:inherit;box-shadow:inset 0 0 45px 5px #0d102455;border:1px solid #9aacc51a;z-index:3}.scene-toolbar{position:absolute;top:17px;left:18px;z-index:4}.theme-toggle{display:flex;gap:3px;background:#0a1028b8;border:1px solid #ffffff1a;border-radius:30px;padding:4px;backdrop-filter:blur(15px)}.theme-toggle button{font-size:.75rem;padding:9px 13px;background:transparent;color:#b7bfd2;border-radius:25px;white-space:nowrap}.theme-toggle button.active{background:#f1d3a6;color:#30273d}.scene-hint{position:absolute;bottom:15px;left:12px;right:12px;margin:0;color:#d4ddeb;font-size:.75rem;text-shadow:0 1px 8px #000;pointer-events:none}.scene-ground{position:absolute;inset:70% 0 0;pointer-events:none;background:linear-gradient(transparent,#0b10254d)}
.tree-ornaments{position:absolute;inset:0;z-index:2}.wish-orb{position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%);width:42px;height:45px;border-radius:48% 48% 46% 46%;background:radial-gradient(circle at 30% 23%,#fdf1d5,#c6a674 31%,#6c4a28 80%);box-shadow:inset -3px -4px 8px #29182d77,inset 1px 1px 3px #fff9,0 4px 8px #05061377;color:#34213b;border:1px solid #e7cc9d9c;font-size:.875rem;font-weight:650;transition:filter .25s,scale .25s,box-shadow .3s;animation:orb-enter .55s both;animation-delay:var(--delay)}.wish-orb::before{content:'';position:absolute;width:8px;height:5px;background:#b7a481;border-radius:2px;top:-5px;left:calc(50% - 4px)}.wish-orb::after{content:'';position:absolute;width:1px;height:17px;background:#e8c99470;top:-21px;left:50%}.wish-orb small{position:absolute;bottom:-4px;right:-5px;display:grid;place-items:center;width:15px;height:15px;border-radius:50%;background:#5b9e8d;color:#fff;font-size:10px;border:1px solid #a2dac5}.wish-orb.is-locked{background:radial-gradient(circle at 28% 22%,#819c9c,#294c57 50%,#162939);border-color:#9bd2cd44;color:#bacdcf;box-shadow:inset 1px 1px 5px #bde8df33,0 3px 8px #0007}.wish-orb.is-done{background:radial-gradient(circle at 28% 22%,#fff7dd,var(--orb-color,#ebc57e) 40%,#ae7439);box-shadow:0 0 19px #e9c07655,inset 1px 1px 4px #fff9}.wish-orb.is-current{outline:2px solid #ffe4a8;outline-offset:5px;box-shadow:0 0 30px #f4cd8180}.wish-orb:hover{scale:1.13;filter:brightness(1.2)}.wish-orb:focus-visible{outline:3px solid #fff;outline-offset:5px}.tree-lights{position:absolute;inset:0;pointer-events:none;z-index:1}.tree-lights i{position:absolute;left:var(--x);top:var(--y);width:3px;height:3px;border-radius:50%;background:#fff0c8;box-shadow:0 0 9px 3px #edc07877;animation:light-breathe 4s ease-in-out infinite;animation-delay:var(--delay)}
.day-trail{display:flex;align-items:center;justify-content:center;gap:6px;margin:20px 0 10px}.trail-day{display:grid;place-items:center;flex:0 1 32px;min-width:0;height:32px;border-radius:50%;color:#979eb8;background:transparent;font-size:.75rem;border:1px solid transparent}.trail-day.completed{color:#f5d399;background:#e5bc7b0e}.trail-day.current{background:#f0d1a1;color:#32243b}.trail-day[aria-disabled=true]{color:#666d8c}.trail-day:hover{border-color:#e8c18a66}
.practice-preview{position:relative;align-self:stretch;display:flex;flex-direction:column;justify-content:center;margin:0;padding:24px 0 10px;min-width:0}.practice-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:22px}.day-label{font-size:.8rem;color:#f3d5a5;background:#e9bb7610;border:1px solid #edc58b20;padding:7px 12px;border-radius:22px;margin:0}.time{display:flex;align-items:center;gap:6px;font-size:.8rem;color:#9da5c2;margin:0}.practice-preview h2{font-size:clamp(1.75rem,2.4vw,2.6rem);font-weight:650;line-height:1.16;letter-spacing:-.045em;margin-bottom:18px;max-width:17ch}.practice-preview .preview-main>p{font-size:.95rem;color:#b1b8cf;line-height:1.8;margin-bottom:25px;max-width:44ch}.practice-preview .btn{width:100%;justify-content:space-between}.practice-preview .result{border-top:1px solid var(--line);margin-top:25px;padding-top:20px}.result h3{font-size:.8rem;font-weight:500;letter-spacing:0;color:#dcd3e8;margin-bottom:8px}.result p{font-size:.85rem;color:#979fb9;line-height:1.65;margin-bottom:0}.helper{display:flex;align-items:center;gap:12px;max-width:460px;margin:15px auto 0;text-align:left;position:relative}.helper .ogonek-art{width:94px;height:105px;object-fit:contain;flex:none;filter:drop-shadow(0 5px 15px #f7bd4b2b)}.helper p{font-size:.82rem;line-height:1.65;color:#b6bcd2;margin:0}.helper b{display:block;font-size:.8rem;color:#f1ce96;font-weight:600;margin-bottom:4px}.practice-preview .helper{margin-top:24px;padding:14px 15px 12px 0;border-radius:20px;background:linear-gradient(115deg,#deb78606,#7869980a);border:1px solid #ffffff08}.practice-preview .helper .ogonek-art{width:84px;height:90px}
.garden-bottom{display:flex;gap:24px;align-items:center;border-top:1px solid var(--line);margin-top:22px;padding-top:22px}.chapters{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;flex:1}.chapter{display:flex;gap:9px;align-items:center;text-align:left;padding:7px 0;color:#929bb6;background:transparent;min-width:0}.chapter-mark{display:grid;place-items:center;width:28px;height:28px;flex:none;border-radius:50%;border:1px solid #ffffff1c;font-size:.75rem}.chapter b{font-size:.75rem;font-weight:500;display:block;line-height:1.45}.chapter small{display:block;font-size:.7rem;color:#7a84a1;margin-top:3px}.chapter.active{color:#efdbb9}.chapter.active .chapter-mark{border-color:#d6b17c80;background:#eac38a15;color:#eac38a}.chapter.done .chapter-mark{color:#9bcbbf;border-color:#96c9b544}.maria-link{display:flex;gap:11px;align-items:center;text-align:left;color:#ded7ea;background:transparent;padding:8px 0 8px 24px;border-left:1px solid var(--line);font-size:.8rem}.maria-link small{display:block;color:#8f98b3;font-size:.7rem;margin-top:5px}.maria-symbol{border:1px solid #d7ba8444;background:#e5c08b0a;color:#ddc193;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;flex:none}.game-footer{padding:28px 4%;max-width:1500px;margin:auto;display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;color:#828ba8;font-size:.75rem}.game-footer button{font-size:inherit;color:inherit;background:transparent;padding:0;text-decoration:underline;text-underline-offset:4px}
.welcome{max-width:1400px;margin:auto;padding:45px 4% 70px}.welcome-hero{display:grid;grid-template-columns:.9fr 1.25fr;align-items:center;gap:30px;min-height:520px}.welcome-copy h1{font-size:clamp(4rem,7vw,6.6rem);font-weight:750;line-height:.98;letter-spacing:-.075em;margin:20px 0 28px}.welcome-copy>p:not(.greeting){max-width:42ch;color:#aeb6d1;font-size:1.05rem;line-height:1.8}.welcome .scene{width:100%;border-radius:34px;aspect-ratio:1.2;mask-image:linear-gradient(to bottom,#000 86%,transparent)}.welcome .scene .tree-art{object-fit:cover}.welcome .note{font-size:.8rem!important;margin-top:22px;color:#8994af!important}.welcome>.helper{margin:20px auto 45px}.tariffs{padding-top:45px;scroll-margin-top:25px}.tariffs h2{text-align:center;font-size:2.6rem;margin-bottom:16px}.tariffs>p{text-align:center;color:#a8afc9}.tariff-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;max-width:950px;margin:35px auto}.tariff{padding:35px;background:linear-gradient(140deg,#1d223d,#15192e);border:1px solid #ffffff14;border-radius:26px;display:flex;flex-direction:column;align-items:flex-start}.tariff.guided{border-color:#e5bd7c60;box-shadow:0 0 55px #b48b4b09}.tariff h3{font-size:1.8rem;margin:20px 0 16px;font-weight:650}.tariff .price{font-size:2.3rem;letter-spacing:-.06em;margin:0 0 12px}.tariff ul{padding-left:20px;line-height:2;color:#b4bcd3;font-size:.9rem;flex:1}.tariff .btn{width:100%;margin-top:15px}.tariff .subtle{font-size:.8rem;color:#929cb8;margin-top:15px;line-height:1.6}.login-box{background:var(--paper);border:1px solid var(--line);border-radius:25px;max-width:460px;margin:45px auto;padding:35px}.login-box h1{font-size:2.25rem}.login-box p{font-size:.95rem;color:#b6bdd2}.login-box .label{margin-top:20px}.login-box .btn{margin-top:20px}.login-box .link{font-size:.9rem}
dialog{border:1px solid #ffffff24;border-radius:25px;padding:0;width:min(760px,94vw);max-height:91vh;background:#191e35;color:var(--ink);box-shadow:0 30px 100px #020415bb}dialog::backdrop{background:#050819c9;backdrop-filter:blur(12px)}dialog[open]{animation:dialog-in .25s ease-out}.modal-head{padding:28px 32px 22px;border-bottom:1px solid var(--line);display:flex;gap:16px;justify-content:space-between;align-items:flex-start;position:sticky;top:0;background:#191e35;z-index:2}.modal-head h2{font-size:1.9rem;margin:4px 0 0;line-height:1.2}.modal-body{padding:26px 32px 32px}.modal-body p{max-width:68ch}.instructions{padding-left:22px;color:#c5cbe0}.instructions li{padding-left:5px;margin-bottom:15px;line-height:1.8}.field{margin:24px 0}.field label{font-weight:500;font-size:.95rem;display:block;margin-bottom:10px}.field-note{font-size:.85rem;color:#9ca6c0;margin-top:6px;line-height:1.7}.checkline{display:flex;align-items:flex-start;gap:10px;line-height:1.6;font-size:.9rem;margin:18px 0;color:#b7bfd3}.checkline input{flex:none;margin-top:3px}.details{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:17px 0;margin:20px 0}.details summary{cursor:pointer;font-size:.95rem;color:#e4c693}.details p{font-size:.93rem;margin:13px 0 2px;color:#b4bed3}.modal-actions{display:flex;justify-content:space-between;gap:12px;align-items:center;border-top:1px solid var(--line);margin-top:25px;padding-top:24px}.modal-actions .save-state{color:#a5cdbf}.modal-actions .save-state.error{color:#ffb6a1}.milestone{text-align:center;padding:15px}.milestone h2{font-size:2.5rem}.milestone .wish-tree{aspect-ratio:3/2;height:auto;border-radius:20px}.milestone .helper{text-align:left}.colors{display:flex;gap:14px;margin:12px 0}.color-choice{border-radius:50%;width:42px;height:42px;border:3px solid transparent;outline:1px solid #b7c3d6;background:var(--swatch)}.color-choice.selected{border-color:#191e35;outline:3px solid var(--gold)}
.map-wrap{background:var(--paper);border:1px solid var(--line);max-width:960px;margin:35px auto;padding:45px 55px;border-radius:25px}.map-wrap h1{font-size:3rem}.map-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px 30px}.map-item{border-top:1px solid var(--line);padding:20px 0;overflow-wrap:anywhere;white-space:pre-wrap}.map-item h3{font-size:.88rem;color:#b9aacb;margin-bottom:10px;letter-spacing:0}.map-item p{margin:0;font-size:1rem}.map-item.full{grid-column:1/-1}.map-empty{font-size:1rem;color:#a1acc3}.view-page{max-width:1100px;margin:0 auto;padding:45px 4% 65px}.view-page h1{font-size:2.9rem;margin-bottom:18px}.view-page>p{color:#a9b5d0;max-width:65ch}.review-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:35px 0}.review-card{background:linear-gradient(140deg,#202740,#171b31);border:1px solid var(--line);padding:30px 25px;border-radius:24px;display:flex;flex-direction:column;align-items:flex-start;min-height:300px}.review-card h2{font-size:1.7rem;margin:20px 0}.review-card p{font-size:.95rem;flex:1;color:#aeb9d1}.review-card .btn{width:100%}.review-summary{padding:15px 0;border-bottom:1px solid var(--line)}.review-summary b{display:block;margin-bottom:8px}.review-summary p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.snapshot-check{margin:12px 0}.snapshot-preview{font-size:.9rem;white-space:pre-wrap;margin:8px 0 16px;padding-left:28px;color:#a7b3cd;max-height:170px;overflow:auto}.message{padding:20px 0;border-top:1px solid var(--line)}.message .by{font-size:.85rem;color:#a6b0ca;margin-bottom:10px}.message p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.message audio{width:100%;margin-top:12px}.file-input{font-size:.9rem!important;padding:10px!important}.queue{display:grid;gap:12px;margin:26px 0}.queue-item{display:flex;align-items:center;gap:20px;padding:25px;background:#1c233b;border:1px solid var(--line);color:var(--ink);border-radius:18px;text-align:left;justify-content:space-between}.queue-item h3{margin:0 0 5px}.queue-item p{margin:0;color:#9eabc7;font-size:.9rem}.queue-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:25px 0}.queue-tabs button{border:1px solid #ffffff20;color:#b8c2db;background:transparent;padding:10px 16px;border-radius:25px}.queue-tabs button.active{background:#ecd1a8;color:#342c40;border-color:#ecd1a8}.status,.upcoming,.statusbar{font-size:.85rem;color:#a3afca}.status.waiting{color:#dfba83}.status.answered{color:#9dd1ba}.admin-note{color:#a4b3ce;font-size:.95rem;max-width:65ch}.consent-note{font-size:.875rem;color:#a3b0cb;border-top:1px solid var(--line);padding-top:15px}.statusbar{min-height:20px}.queue-tools{margin:24px 0;padding:20px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.queue-tools .row{margin-bottom:20px}.queue-tools .row input{flex:1;width:auto;min-width:170px;max-width:620px}.queue-tools select{max-width:360px}.queue-tools .label{font-size:.9rem;color:#c1c9de}.mail-preview{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.75;max-height:55vh;overflow:auto;background:#11162a;padding:20px;border-radius:14px}.print-choice{display:flex;align-items:center;gap:7px;font-size:.8rem;color:#a7b1c9;margin:12px 0 0}.print-choice input{width:16px;height:16px}
#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,25px);background:#262a43ee;color:#f1dfbf;border:1px solid #edc58b40;padding:16px 24px;border-radius:18px;max-width:min(90vw,600px);box-shadow:0 15px 50px #0005;backdrop-filter:blur(15px);opacity:0;pointer-events:none;transition:.2s;z-index:20;font-size:.9rem;line-height:1.5}#toast.show{transform:translate(-50%,0);opacity:1}.wish-burst{position:absolute;left:50%;top:40%;z-index:6;pointer-events:none}.wish-burst i{position:absolute;width:5px;height:5px;background:#ffe5a7;border-radius:50%;box-shadow:0 0 12px 3px #ffd78f77;transform:rotate(var(--angle));animation:burst-out 1.8s both;animation-delay:var(--delay)}.celebrating .tree-art{animation:tree-celebrate 1.8s ease-out}
@keyframes orb-enter{from{opacity:0;translate:0 -6px}to{opacity:1;translate:0 0}}@keyframes light-breathe{0%,100%{opacity:.35}50%{opacity:.95}}@keyframes dialog-in{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}@keyframes burst-out{0%{opacity:0}15%{opacity:1}100%{transform:rotate(var(--angle)) translateX(var(--distance));opacity:0}}@keyframes tree-celebrate{0%,100%{filter:brightness(1)}35%{filter:brightness(1.35) saturate(1.15)}}
@media(min-width:1500px){.garden-grid{gap:45px}.practice-preview{padding:32px 16px}.scene{max-height:590px}}
@media(max-width:1050px){.garden-grid{grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:24px}.garden-heading h1{font-size:3.1rem}.practice-preview h2{font-size:1.8rem}.garden-progress p{display:none}.garden-bottom{display:block}.maria-link{border-left:0;border-top:1px solid var(--line);padding:18px 0 0;margin-top:18px}.helper .ogonek-art{width:70px;height:85px}.practice-preview .helper{padding:10px 10px 10px 0}.practice-preview .helper .ogonek-art{width:65px;height:80px}.practice-preview .preview-main>p{font-size:.9rem}.review-grid{gap:12px}.review-card{padding:25px 20px}.wish-orb{width:38px;height:41px;font-size:.8rem}.scene-toolbar{top:12px;left:12px}.theme-toggle button{padding:7px 10px;font-size:.65rem}.scene-hint{font-size:.65rem}.day-trail{gap:2px}.trail-day{height:28px}}
@media(max-width:760px){.demo{font-size:.7rem;gap:10px;justify-content:space-between;padding:8px 5%}.demo .long{display:none}.topbar{padding:17px 5%;min-height:72px;flex-wrap:wrap;gap:15px}.brand{font-size:1rem}.brand .spark{width:28px;height:30px;font-size:1.3rem}.topbar>.save-state{display:none}.topnav{margin-left:auto}.topnav button{font-size:.75rem;padding:8px 10px}.topnav .iconbtn{width:30px;height:30px}.garden{padding:20px 5% 10px}.garden-heading{gap:12px;padding-bottom:20px}.garden-heading h1{font-size:clamp(2rem,7vw,3rem);margin-bottom:9px}.greeting{font-size:.75rem;margin-bottom:8px}.garden-subtitle{font-size:.8rem;max-width:29ch;line-height:1.65}.garden-progress{gap:0;align-self:center}.progress-ring{width:54px;height:54px;padding:2px}.progress-ring>span{width:50px;height:50px;padding-top:13px;font-size:1rem}.progress-ring small{font-size:.65rem}.garden-grid{display:flex;flex-direction:column;gap:12px}.stage{width:100%}.scene{aspect-ratio:1.13;border-radius:23px}.tree-art{object-fit:cover}.wish-tree{width:132%;margin-left:-16%}.scene-toolbar{left:12px;top:12px}.theme-toggle button{padding:8px 12px;font-size:.7rem}.wish-orb{width:38px;height:41px;font-size:.8rem}.scene-hint{font-size:.65rem;bottom:12px}.day-trail{gap:1px;margin:15px 0 5px}.trail-day{height:28px;flex-basis:28px;font-size:.65rem}.practice-preview{padding:22px 23px 10px;border:1px solid #ffffff14;border-radius:24px;background:linear-gradient(145deg,#20253b,#151b30);width:100%}.practice-meta{margin-bottom:18px}.practice-preview h2{font-size:1.8rem;max-width:25ch}.practice-preview .preview-main>p{font-size:.95rem;margin-bottom:22px}.practice-preview .result{margin-top:22px;padding-top:18px}.practice-preview .helper{border:0;background:none;margin-top:10px;padding:8px 0}.practice-preview .helper .ogonek-art{width:78px;height:88px}.helper p{font-size:.8rem}.garden-bottom{margin-top:25px;padding-top:20px}.chapters{grid-template-columns:1fr 1fr;gap:16px}.chapter{gap:10px}.chapter b{font-size:.75rem}.chapter small{font-size:.7rem}.maria-link{width:100%;margin-top:20px;padding-top:20px;font-size:.85rem}.maria-link small{font-size:.75rem}.game-footer{padding:24px 5%;font-size:.7rem}.welcome{padding:25px 5% 45px}.welcome-hero{display:flex;flex-direction:column;gap:15px;min-height:0}.welcome-copy{width:100%}.welcome-copy h1{font-size:4.7rem;margin:18px 0 25px}.welcome-copy>p:not(.greeting){font-size:.95rem}.welcome .scene{aspect-ratio:1.12;border-radius:24px}.welcome .scene .wish-tree{width:130%;margin-left:-15%}.welcome>.helper{margin:10px 0 35px}.tariffs{padding-top:25px}.tariffs h2{font-size:2.1rem}.tariff-grid{grid-template-columns:1fr;gap:18px;margin:25px auto}.tariff{padding:27px}.login-box{margin:25px auto;width:90%;padding:27px}.modal-head{padding:23px 22px 18px}.modal-head h2{font-size:1.6rem}.modal-body{padding:22px 22px 26px}.modal-actions{align-items:flex-start;flex-direction:column}.modal-actions .btn{width:100%}.instructions{padding-left:20px}.instructions li{font-size:.95rem}.map-wrap{margin:20px 5%;padding:30px 24px}.map-wrap h1{font-size:2.2rem}.map-fields{grid-template-columns:1fr}.map-item.full{grid-column:auto}.view-page{padding:30px 5%}.view-page h1{font-size:2.2rem}.review-grid{grid-template-columns:1fr}.review-card{min-height:0}.queue-item{align-items:flex-start;gap:12px;flex-wrap:wrap}.queue-item .pill{font-size:.75rem}.queue-tabs button{font-size:.8rem}.queue-tools .row input{width:100%;flex-basis:100%}}
@media(max-width:390px){.topbar{gap:12px}.topnav{width:100%;justify-content:space-between}.topnav button{padding:8px 12px}.scene{aspect-ratio:1}.wish-orb{width:36px;height:39px;font-size:.75rem}.wish-orb.is-current{outline-offset:3px}.garden-heading h1{font-size:1.95rem}.garden-heading{gap:7px}.progress-ring{width:48px;height:48px}.progress-ring>span{width:44px;height:44px;padding-top:10px}.practice-preview{padding:22px 20px 8px}.trail-day{font-size:.6rem;height:24px}.chapter b{font-size:.7rem}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{.print-hidden{display:none!important}body{background:white;color:#162037}.demo,.topbar,.game-footer,.no-print,#toast,dialog{display:none!important}.screen{background:white;min-height:0}.map-wrap{padding:0;margin:0;max-width:none;box-shadow:none;border:0;background:white;color:#162037}.map-item{break-inside:avoid;border-color:#ccc}.map-item h3{color:#45516a}.map-wrap h1{font-size:30px}.map-fields{gap:10px 25px}}

/* Practice paragraphs preserve Maria’s edited wording. */
.practice-text{margin-top:24px;line-height:1.75;overflow-wrap:anywhere}.practice-text p{white-space:pre-line;margin:0 0 18px}.practice-text h3{margin:28px 0 14px}
.helper .ogonek-art{animation:ogonek-greeting 1.4s ease-in-out 1,ogonek-hover 4s ease-in-out 1.4s infinite;transform-origin:50% 80%}
@keyframes ogonek-greeting{0%,100%{transform:rotate(0)}30%{transform:rotate(-7deg) translateY(-4px)}65%{transform:rotate(5deg) translateY(-7px)}}
@keyframes ogonek-hover{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
@media(prefers-reduced-motion:reduce){.helper .ogonek-art{animation:none}}

/* Tariffs: midnight paper, warm gold, generous readable comparison. */
.tariff-heading{max-width:760px;margin:0 auto 46px;text-align:center}.tariff-heading h2{font-size:clamp(2.6rem,5vw,4.4rem);line-height:1.04;margin:16px 0 24px}.tariff-heading>p:last-child{max-width:620px;margin:auto;color:#bac2d2;line-height:1.7}.tariff-grid{max-width:1080px;gap:26px;align-items:stretch}.tariff{display:flex;flex-direction:column;text-align:left;padding:38px;border-radius:26px;background:#171d30;border:1px solid #ffffff20;box-shadow:0 20px 60px #06091135}.tariff.guided{background:linear-gradient(155deg,#303449,#1b2034 72%);border-color:#d6b77c88;box-shadow:0 16px 70px #dfb36a12}.tariff .badge{align-self:flex-start;font-size:.73rem;line-height:1.5;white-space:normal}.tariff h3{font-size:clamp(1.9rem,3vw,2.7rem);line-height:1.1;margin:24px 0 17px}.tariff-lead{font-size:1rem;line-height:1.7;color:#d4d8e2;min-height:84px;margin:0}.tariff .price{font-size:3.4rem;line-height:1.1;letter-spacing:-.04em;margin:28px 0 5px;color:#f0d7ac}.tariff .price span{font-size:2rem}.tariff-price-note{color:#a7afc1;font-size:.8rem;margin:0 0 30px}.tariff-includes{padding-top:25px;border-top:1px solid #ffffff1a;flex:1}.tariff-includes h4{font-size:.9rem;margin:0 0 18px;font-weight:500;color:#e4c69b}.tariff ul{padding-left:19px;margin:0}.tariff li{padding-left:6px;margin:0 0 17px;line-height:1.65;color:#bdc5d6;font-size:.91rem}.tariff li::marker{color:#d7b57b}.tariff li b{font-weight:500;color:#f1ece3}.tariff-fit{margin:22px 0 26px;color:#d9d4ca;line-height:1.6;font-size:.88rem}.tariff>.btn{width:100%;justify-content:space-between;min-height:56px}.tariff .subtle{font-size:.75rem;line-height:1.6;text-align:center;display:block;margin:15px 0 0;color:#aab3c5}.tariff-demo{font-size:.78rem;margin:15px auto 0}.order-summary .price{font-size:2.5rem;color:#e7c796}.order-summary .btn:disabled{opacity:.5;cursor:not-allowed}.login-box h1{line-height:1.12}.login-box>.link{font-size:.87rem;line-height:1.5;margin-top:16px}
@media(max-width:680px){.tariff{padding:27px 24px}.tariff-lead{min-height:0}.tariff-heading{margin-bottom:28px}.tariff-heading h2{font-size:2.6rem}.tariff .price{font-size:3rem}.tariff-grid{gap:20px}}

.gift-button{position:absolute;left:6%;bottom:65px;display:flex;align-items:center;gap:12px;padding:12px 17px;border-radius:18px;border:1px solid #e8c28777;background:#11182ce8;color:#f2d5a5;text-align:left;box-shadow:0 6px 24px #0005}.gift-button small{display:block;color:#aab8cd;margin-top:3px;font-size:.7rem}.gift-box{display:block;position:relative;width:38px;height:34px;background:linear-gradient(120deg,#a66c2b,#edc77a 45%,#ad783d);border-radius:4px;box-shadow:0 4px 12px #dfb36a44}.gift-box:before{content:'';position:absolute;top:-5px;left:-3px;width:44px;height:9px;border-radius:3px;background:linear-gradient(#f5dea8,#c29654)}.gift-box:after{content:'';position:absolute;top:-5px;left:15px;width:8px;height:39px;background:#a94e53}.gift-box i{position:absolute;left:7px;top:-17px;width:24px;height:13px;border:4px solid #bd6b6c;border-radius:50% 50% 3px 3px;transform:rotate(-8deg)}
