/* The calendar is the present; each daily page is a little letter inside it. */
.language-bar{max-width:1180px;margin:0 auto 12px;display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:0 4px}.language-bar label{margin:0;font-size:12px}.language-bar select{width:auto;min-width:125px;font-size:14px;padding:7px 12px;min-height:40px}
html[lang="ru"]{--hand:Caveat,'Comic Sans MS',cursive;--serif:Caveat,'Comic Sans MS',cursive}
html[lang="ru"] .reward-star-art:after{content:'получилось!'}
html[lang="ru"] .calendar-intro h1{letter-spacing:-1px}html[lang="ru"] .brand small{letter-spacing:1px}
html[lang="ru"] .story-text{font-family:var(--sans);font-size:19px;line-height:1.8;background:none}
html[lang="ru"] .dialogue-card>p{font-family:var(--sans);font-size:18px;line-height:1.65}
html[lang="ru"] .calendar-door .door-number{font-family:var(--hand)}
@media(max-width:1250px){.language-bar{margin-left:30px;margin-right:30px}}
@media(max-width:600px){.language-bar{margin:0 20px 6px}.language-bar label{font-size:11px}.language-bar select{min-width:110px;font-size:13px}html[lang="ru"] .calendar-intro h1{font-size:46px}html[lang="ru"] .calendar-intro>.intro-copy{margin-top:42px}html[lang="ru"] .calendar-margin-note{font-size:17px}html[lang="ru"] .brand{font-size:23px}html[lang="ru"] .brand b{font-size:24px}html[lang="ru"] .story-text{font-size:17px}html[lang="ru"] .scene-heading h2{font-size:28px}html[lang="ru"] .day-letter-header h1{font-size:32px}.day-bottom .text-button svg{width:20px;height:20px}}
.edition-note{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-bottom:1px dashed #b1b39b;font-size:12px;color:#52684d}
.edition-note button{color:var(--red);background:transparent;text-decoration:underline;text-underline-offset:4px;min-height:44px}
.ritual-strip{display:flex;gap:18px;flex-wrap:wrap;margin:0 0 26px;color:#52684d;font-family:var(--note);font-size:23px}
.ritual-strip span{display:flex;align-items:center;gap:7px}.ritual-strip b{font-size:16px;border:1px solid #859176;border-radius:50%;width:26px;height:26px;text-align:center}
.calendar-intro .small-surprise{font-size:17px;margin-top:12px;color:#617357;text-align:center;width:100%;min-height:40px}
.advent-day{max-width:1030px;margin:auto}.day-letter{margin:24px 0 30px;padding:30px 38px;background:#fffaf0;border:1px solid #cec3a6;box-shadow:4px 5px 0 #d9d0b9;position:relative}
.day-letter:before{content:'';position:absolute;top:-11px;left:44%;height:25px;width:95px;background:#d3bd8170;transform:rotate(-4deg)}
.day-letter-header{display:flex;align-items:center;justify-content:space-between;gap:20px}.day-letter-header h1{font-size:43px;line-height:1.2;margin:14px 0}.day-letter-header>.doodle{width:100px;height:100px;flex-shrink:0;transform:rotate(8deg)}
.letter-intro{font-family:var(--note);font-size:26px;color:#6a765c;margin:0 0 25px}.daily-sections{display:grid;grid-template-columns:1.2fr 1fr;gap:24px}.daily-sections h2{font-size:25px;line-height:1.25;margin:12px 0}.daily-sections p{font-size:14px;line-height:1.75}.video-ticket{background:#e6ebd9;border:1px solid #a1af8e;padding:24px;position:relative}.video-ticket>.doodle{display:block;margin:0 auto;width:70px;height:70px}.video-ticket .primary-button{width:100%;font-size:19px}.video-state{display:block;font-size:11px;color:#54694d;margin:18px 0 8px}.daily-mission{padding:8px 3px}.daily-mission .mission-check{margin-top:12px}.day-bottom{display:flex;justify-content:space-between;gap:14px;align-items:center;flex-wrap:wrap;margin-top:25px;padding-top:22px;border-top:1px dashed #b9b89e}.day-bottom .text-button{font-size:20px}.day-bottom .primary-button{font-size:20px}.parent-offer{margin:24px 0;padding:20px;background:#e9e6d1;border:1px solid #c7bea1}.parent-offer h3{font-size:23px;margin:0 0 10px}.parent-offer p,.offer-steps li{font-size:14px;line-height:1.7}.offer-steps{padding-left:23px}.offer-steps li{padding:7px 0}.external-link{display:flex;align-items:center;justify-content:center;text-align:center;text-decoration:none;margin:12px 0;min-height:48px;gap:8px}.external-link svg{width:21px;height:21px}.offer-status{font-size:12px!important;padding:10px 12px;background:#f4e4b9;border-left:3px solid #b08c39}.offer-links{display:grid;gap:8px}.offer-links a{color:var(--green);text-underline-offset:4px;min-height:40px;padding:8px 0}.video-help{font-size:12px!important;color:#6b765f}.family-product{margin-bottom:22px}.family-product button{width:100%}
@media(max-width:600px){.edition-note{font-size:10px;gap:6px}.edition-note button{font-size:11px;white-space:nowrap}.home-hero{padding-top:20px}.ritual-strip{gap:8px;justify-content:space-between;font-size:19px}.ritual-strip b{width:23px;height:23px;font-size:15px}.day-letter{padding:25px 20px;margin-top:24px}.day-letter-header h1{font-size:30px}.day-letter-header>.doodle{width:58px;height:58px}.letter-intro{font-size:23px}.daily-sections{grid-template-columns:1fr;gap:22px}.video-ticket{padding:22px 18px}.day-bottom{display:grid}.day-bottom .primary-button{width:100%}.day-letter-header{gap:10px}.advent-day{padding-left:17px;padding-right:17px}}

.video-story-card{max-width:1000px;margin:24px auto;padding:32px;background:#f8f3e4;border:1px solid #c7bea1;box-shadow:0 10px 35px #40371912}.video-story-card h1{font-size:clamp(28px,4vw,46px);line-height:1.15;margin:12px 0}.story-video{display:block;width:100%;aspect-ratio:16/9;background:#19241d;border-radius:12px;margin:20px 0}.video-story-actions{display:flex;flex-wrap:wrap;gap:14px}.video-error{color:#9b332a}.video-story-card .subtle-note{margin-top:18px}@media(max-width:600px){.video-story-card{padding:20px 14px}.video-story-actions{display:grid}.video-story-actions button{width:100%}}

.illustrated-story .story-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:36px;align-items:start}.story-video-illustration{margin:0;min-width:0}.story-video-illustration img{display:block;width:100%;height:auto;border-radius:8px;box-shadow:0 8px 25px #493d2920}.story-video-illustration figcaption{font-family:var(--sans);font-size:12px;line-height:1.5;color:#6b765f;margin-top:10px}.illustrated-story .story-copy h1{font-size:clamp(27px,3vw,39px)}.illustrated-story .story-text{font-family:var(--sans);font-size:18px;line-height:1.8;min-height:0;background:none}.illustrated-story .story-pagination span{flex:1;max-width:34px}.illustrated-story .story-copy{min-width:0}@media(max-width:760px){.illustrated-story .story-layout{display:flex;gap:22px;padding:20px 16px}.story-video-illustration{width:100%;max-width:440px;align-self:center}.illustrated-story .story-text{font-size:17px}.illustrated-story .story-copy h1{font-size:28px}}

.story-audio-panel{margin:18px 0 10px}.story-audio{display:block;width:100%;max-width:100%;height:46px}.story-audio-panel .video-help{margin:8px 0;line-height:1.5}
.messenger-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}.messenger-actions .secondary-button{min-width:0;text-align:center;justify-content:center;text-decoration:none;line-height:1.35}.messenger-telegram{color:#256a8a!important;border-color:#91b4bd!important;background:#edf5f4!important}.messenger-whatsapp{color:#386c4e!important;border-color:#9ebba0!important;background:#edf3e7!important}.messenger-actions button:disabled{opacity:.55;cursor:not-allowed}.channel-pending{padding:13px 8px;border:1px dashed #b9b096;border-radius:9px;text-align:center;font-size:13px}.family-channels{margin:22px 0;padding:20px 0;border-top:1px dashed #b9b096;border-bottom:1px dashed #b9b096}.family-channels h3{margin:0 0 10px}.share-actions>label{display:block;margin:14px 0 7px}.share-actions>select{width:100%}body[data-channel="telegram"]{padding-top:var(--channel-safe-top,0px);padding-right:var(--channel-safe-right,0px);padding-bottom:var(--channel-safe-bottom,0px);padding-left:var(--channel-safe-left,0px)}@media(max-width:380px){.messenger-actions{grid-template-columns:1fr}}
