/* Клиентские дни: крем, вишня и небольшая праздничная магия. */
.hw-promotion { --hw-ink: #343e29; --hw-cherry: #843d47; --hw-cream: #fbf5eb; background: var(--hw-cream); color: var(--hw-ink); padding: 36px 0 68px; font-family: 'Jost', sans-serif; }
.hw-promotion *, .hw-promotion *::before, .hw-promotion *::after { box-sizing: border-box; }
.hw-promotion section { padding: 0; margin: 0; }
.hw-promotion .hw-inner { width: min(1280px, calc(100% - 64px)); margin-inline: auto; }
.hw-promotion h1, .hw-promotion h2, .hw-promotion h3 { color: inherit; text-transform: none; font-weight: 400; letter-spacing: -.035em; text-wrap: balance; }
.hw-promotion p { text-wrap: pretty; }
.hw-promotion a { color: inherit; }
.hw-promotion a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.hw-promotion .hw-hero { position: relative; min-height: 600px; display: grid; grid-template-columns: 47% 53%; overflow: hidden; border-radius: 32px; background: #f2e4d3; isolation: isolate; }
.hw-promotion .hw-hero__photo { position: relative; grid-column: 2; grid-row: 1; min-height: 600px; overflow: hidden; }
.hw-promotion .hw-hero__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 66% 50%; position: absolute; inset: 0; }
.hw-promotion .hw-hero__copy { grid-column: 1; grid-row: 1; align-self: center; padding: 48px clamp(24px, 3.5vw, 52px); }
.hw-promotion .hw-eyebrow { margin: 0 0 18px; font: 500 11px/1.5 'Jost', sans-serif; letter-spacing: .15em; text-transform: uppercase; color: var(--hw-cherry); }
.hw-promotion h1 { margin: 0 0 25px; font-size: clamp(42px, 5.3vw, 74px); line-height: .99; color: var(--hw-cherry); }
.hw-promotion h1 em { display: block; font-weight: 400; }
.hw-promotion h1 > span { display: block; font-size: .4em; line-height: 1.35; letter-spacing: -.01em; margin-top: 14px; color: var(--hw-ink); }
.hw-promotion .hw-dates { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 22px; }
.hw-promotion .hw-dates > span { padding: 8px 13px; border: 1px solid #843d4738; border-radius: 999px; font-size: 16px; font-weight: 500; line-height: 1.35; white-space: nowrap; }
.hw-promotion .hw-dates > span:first-child { background: var(--hw-cherry); border-color: var(--hw-cherry); color: #fffaf2; font-size: clamp(16px, 1.5vw, 20px); }
.hw-promotion .hw-intro { margin: 0 0 28px; font-size: 17px; line-height: 1.6; }
.hw-promotion .hw-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.hw-promotion .hw-btn { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 48px; padding: 14px 23px; border-radius: 999px; background: var(--hw-cherry); color: #fffaf2; font: 500 14px/1.35 'Jost', sans-serif; text-decoration: none; text-align: center; }
.hw-promotion .hw-btn:hover { background: #6e303a; }
.hw-promotion .hw-btn > span { font-size: 20px; line-height: 1; }
.hw-promotion .hw-text-link { display: inline-block; padding-block: 8px; text-decoration: underline; text-underline-offset: 5px; font-size: 14px; }
.hw-promotion .hw-offers { padding-top: 82px; scroll-margin-top: 130px; }
.hw-promotion .hw-section-head { max-width: 660px; margin-bottom: 32px; }
.hw-promotion h2 { margin: 0 0 20px; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.13; }
.hw-promotion .hw-section-head > p:last-child { font-size: 17px; line-height: 1.65; margin: 0; max-width: 540px; }
.hw-promotion .hw-offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.hw-promotion .hw-card { display: flex; flex-direction: column; min-width: 0; padding: clamp(22px, 2.6vw, 36px); border-radius: 26px; background: #eee2cc; }
.hw-promotion .hw-card--rose { background: #efd8d2; }
.hw-promotion .hw-card--green { background: #e3e7d5; }
.hw-promotion .hw-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 36px; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; color: #625a48; }
.hw-promotion .hw-card__symbol { display: block; flex: 0 0 44px; width: 44px; height: 44px; font-size: 42px; line-height: 1; color: var(--hw-cherry); }
.hw-promotion h3 { margin: 0 0 22px; font-size: clamp(27px, 2.7vw, 38px); line-height: 1.09; }
.hw-promotion .hw-card__description { margin: 0 0 12px; font-size: 16px; line-height: 1.5; }
.hw-promotion .hw-duration { margin: 0 0 30px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.hw-promotion .hw-card__aside { margin: 0 0 28px; font-size: 14px; line-height: 1.5; color: #5f6655; }
.hw-promotion .hw-prices { margin: auto 0 0; padding: 16px 0 0; border-top: 1px solid #343e292b; }
.hw-promotion .hw-prices > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-block: 6px; }
.hw-promotion .hw-prices dt { font-size: 13px; }
.hw-promotion .hw-prices dd { margin: 0; font-size: clamp(26px, 2.6vw, 35px); letter-spacing: -.03em; line-height: 1.2; white-space: nowrap; }
.hw-promotion .hw-price-single { margin-top: auto; border-top: 1px solid #343e292b; padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.hw-promotion .hw-price-single > span { font-size: 13px; }
.hw-promotion .hw-price-single strong { font-size: clamp(38px, 4vw, 54px); font-weight: 400; line-height: 1.15; letter-spacing: -.035em; white-space: nowrap; }
.hw-promotion .hw-card__link { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; margin-top: 24px; border-top: 1px solid #343e292b; padding-top: 14px; font-size: 13px; text-decoration: none; }
.hw-promotion .hw-card__link:hover { text-decoration: underline; text-underline-offset: 4px; }
.hw-promotion .hw-lottery { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); margin-top: 52px; padding: clamp(28px, 5vw, 64px); border-radius: 30px; background: #343e29; color: #fbf2e4; overflow: hidden; }
.hw-promotion .hw-lottery .hw-eyebrow { color: #eebdab; }
.hw-promotion .hw-lottery h2 em { color: #eebdab; font-weight: 400; }
.hw-promotion .hw-lottery__intro > p:not(.hw-eyebrow) { max-width: 390px; margin: 0; font-size: 16px; line-height: 1.65; }
.hw-promotion .hw-lottery__seal { display: inline-flex; flex-direction: column; justify-content: center; align-items: center; width: 108px; height: 108px; border: 1px solid #eebdab80; border-radius: 50%; margin-top: 32px; font: italic 400 40px/1 'Jost', sans-serif; color: #eebdab; transform: rotate(-12deg); }
.hw-promotion .hw-lottery__seal > span { margin-top: 7px; font: 400 10px/1.4 'Jost', sans-serif; letter-spacing: .08em; }
.hw-promotion .hw-prizes { align-self: center; }
.hw-promotion .hw-prizes__main { display: flex; flex-direction: column; padding-bottom: 27px; border-bottom: 1px solid #fbf2e430; gap: 11px; }
.hw-promotion .hw-prizes__label { text-transform: uppercase; letter-spacing: .12em; font-size: 11px; }
.hw-promotion .hw-prizes__main strong { font-size: clamp(38px, 4.8vw, 66px); letter-spacing: -.05em; line-height: 1.15; font-weight: 400; white-space: nowrap; }
.hw-promotion .hw-prizes__main > span:last-child { font-size: 15px; }
.hw-promotion .hw-prizes ul { margin: 0; padding: 0; list-style: none; }
.hw-promotion .hw-prizes li { display: flex; align-items: baseline; gap: 16px; margin: 0; padding: 17px 0; border-bottom: 1px solid #fbf2e430; font-size: 17px; line-height: 1.4; text-wrap: pretty; }
.hw-promotion .hw-prizes li::before { content: '✧' / ''; position: static; inset: auto; display: block; flex: 0 0 18px; width: 18px; height: auto; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; transform: none; color: #eebdab; }
.hw-promotion .hw-deposit { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; gap: 42px; margin-top: 24px; padding: 42px clamp(24px, 5vw, 64px); background: #f1e4da; border-radius: 30px; }
.hw-promotion .hw-deposit__icon { color: var(--hw-cherry); transform: rotate(-8deg); }
.hw-promotion .hw-deposit__icon svg { display: block; width: 130px; max-width: 100%; }
.hw-promotion .hw-deposit p:not(.hw-eyebrow) { margin: 0 0 14px; max-width: 700px; font-size: 17px; line-height: 1.65; }
.hw-promotion .hw-deposit .hw-deposit__note { font-weight: 500; }
.hw-promotion .hw-conditions { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; padding: 70px 0 48px; }
.hw-promotion .hw-conditions ul { margin: 0 0 26px; padding-left: 18px; }
.hw-promotion .hw-conditions li { padding-left: 6px; margin-bottom: 16px; font-size: 15px; line-height: 1.65; text-wrap: pretty; }
.hw-promotion .hw-back { display: inline-block; padding-block: 10px; font-size: 14px; text-decoration: none; }
.hw-promotion + .promotion-lead { scroll-margin-top: 130px; }

/* Декор создаёт JS только внутри фотографий, ссылки остаются доступными. */
[data-hw-scene], .offer-slider__item--halloween .offer-slider__photo { isolation: isolate; }
.hw-fx { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 2; contain: layout paint; }
.hw-fx__particle { position: absolute; display: block; width: 16px; height: 16px; color: #fff3d0; opacity: 0; pointer-events: none; }
.hw-fx__particle svg { display: block; width: 100%; height: 100%; }
.hw-fx__ghost { width: 44px; height: 52px; }
.hw-fx__glint { left: -28%; top: -30%; height: 160%; width: 15%; background: linear-gradient(100deg, transparent, #fff9e036, transparent); opacity: 0; }
.hw-button-fx { position: absolute; inset: 0; z-index: 4; overflow: hidden; pointer-events: none; }
.hw-button-ghost { position: absolute; display: block; width: 38px; height: 46px; opacity: 0; pointer-events: none; }
.hw-button-ghost svg, .hw-cta-peek svg { display: block; width: 100%; height: 100%; }
.hw-cta-wrap { position: relative; display: inline-flex; max-width: 100%; isolation: isolate; }
.hw-cta-wrap > .offer-slider__btn { position: relative; z-index: 2; }
.hw-cta-peek { position: absolute; right: 16px; top: 0; z-index: 1; width: 44px; height: 52px; opacity: 0; transform: translateY(7px) rotate(8deg); pointer-events: none; transition: transform .4s cubic-bezier(.2,.75,.2,1), opacity .25s ease; }
.hw-cta-wrap:focus-within .hw-cta-peek { opacity: 1; transform: translateY(-78%) rotate(-8deg); }
/* Детали разделов акции, без дополнительного места в разметке и перекрытия текста. */
.hw-promotion .hw-halloween-section { position: relative; isolation: isolate; }
.hw-promotion .hw-halloween-section > :not(.hw-section-fx) { position: relative; z-index: 1; }
.hw-section-fx { position: absolute; inset: 0; z-index: 0; overflow: hidden; border-radius: inherit; pointer-events: none; contain: layout paint; }
.hw-section-spark { position: absolute; display: block; width: 18px; height: 18px; opacity: 0; color: #b76f58; pointer-events: none; }
.hw-lottery .hw-section-spark { color: #f2cc9a; }
.hw-section-spark svg, .hw-section-ghost svg, .hw-section-bat svg { display: block; width: 100%; height: 100%; }
.hw-promotion .hw-card__symbol.hw-section-charm { display: block; flex: 0 0 44px; width: 44px; height: 44px; line-height: 0; }
.hw-section-charm svg { display: block; width: 100%; height: 100%; }
.hw-promotion .hw-prizes__label { position: relative; padding-right: 50px; }
.hw-section-ghost { position: absolute; right: 4px; top: -28px; display: block; width: 42px; height: 50px; pointer-events: none; }
.hw-section-bat { position: absolute; left: 6%; top: 30%; display: block; width: 48px; height: 36px; opacity: 0; pointer-events: none; }
@media (hover: hover) and (pointer: fine) {
    .hw-cta-wrap:hover .hw-cta-peek { opacity: 1; transform: translateY(-78%) rotate(-8deg); }
}

/* Первый слайд основной главной, оформление остальных слайдов не затрагивается. */
.home-release-20260924-page .home-release-20260924-slider .offer-slider__item--halloween { background: #f2e4d3; color: #843d47; flex-direction: row; }
.home-release-20260924-page .home-release-20260924-slider .offer-slider__item--halloween::after { display: none; }
.home-release-20260924-page .home-release-20260924-slider .offer-slider__item--halloween .offer-slider__photo { inset: 0 0 0 auto; width: 53%; max-width: none; height: 100%; }
.home-release-20260924-page .home-release-20260924-slider .offer-slider__item--halloween .offer-slider__photo img { transform: none; will-change: auto; object-position: 66% 50%; }
.home-release-20260924-page .home-release-20260924-stage .home-release-20260924-slider .offer-slider__item--halloween .offer-slider__body { flex: 0 0 47%; margin: 0 auto 0 0; padding: 36px clamp(26px, 4.3vw, 62px) 70px; justify-content: center; gap: 21px; color: #843d47; }
.home-release-20260924-page .home-release-20260924-slider .offer-slider__item--halloween .offer-slider__title, .home-release-20260924-page .home-release-20260924-slider .offer-slider__item--halloween .offer-slider__title * { color: #843d47; text-shadow: none; }
.home-release-20260924-page .home-release-20260924-slider .offer-slider__item--halloween .offer-slider__title { max-width: 100%; font: 400 clamp(34px, 4.3vw, 62px)/1.03 'Jost', sans-serif; letter-spacing: -.04em; text-transform: none; text-wrap: balance; }
.home-release-20260924-page .home-release-20260924-slider .offer-slider__item--halloween .offer-slider__title-alt,
.home-release-20260924-page .home-release-20260924-slider .offer-slider__item--halloween .offer-slider__title em,
.home-release-20260924-page .home-release-20260924-slider .offer-slider__item--halloween .offer-slider__title i { font-size: .64em; margin-top: 10px; display: block; font-style: italic; }
.home-release-20260924-page .home-release-20260924-slider .offer-slider__item--halloween .offer-slider__desc, .home-release-20260924-page .home-release-20260924-slider .offer-slider__item--halloween .offer-slider__desc p { color: #343e29; font-size: 18px; line-height: 1.5; text-shadow: none; text-wrap: pretty; }
.home-release-20260924-page .home-release-20260924-slider .offer-slider__item--halloween .offer-slider__desc p + p { margin-top: 10px; }
.home-release-20260924-page .home-release-20260924-slider .offer-slider__item--halloween .offer-slider__badge { background: #843d47; color: #fffaf2; border: 1px solid #843d47; backdrop-filter: none; font-size: clamp(13px, 1.25vw, 18px); font-weight: 500; line-height: 1.3; padding: 8px 14px; letter-spacing: .04em; }
.home-release-20260924-page .home-release-20260924-slider .offer-slider__item--halloween .offer-slider__btn { background: #843d47; border-color: #843d47; color: #fffaf2; }
.home-release-20260924-page .home-release-20260924-slider .offer-slider__item--halloween .offer-slider__btn:hover { background: #6e303a; border-color: #6e303a; }
.home-release-20260924-page .home-release-20260924-slider .offer-slider__item--halloween::before { content: ''; position: absolute; z-index: 2; bottom: 5px; left: 50%; width: 420px; max-width: calc(100% - 16px); height: 42px; border-radius: 999px; transform: translateX(-50%); background: #343e29; pointer-events: none; }
@media (max-width: 1000px) {
    .hw-promotion .hw-hero { grid-template-columns: 49% 51%; min-height: 540px; }
    .hw-promotion .hw-hero__photo { min-height: 540px; }
    .hw-promotion .hw-hero__copy { padding: 30px 26px; }
    .hw-promotion .hw-offer-grid { grid-template-columns: 1fr; gap: 16px; }
    .hw-promotion .hw-card { display: grid; grid-template-columns: 1.1fr 1fr; column-gap: 32px; padding: 28px; }
    .hw-promotion .hw-card__top { grid-column: 1 / -1; margin-bottom: 24px; }
    .hw-promotion .hw-card h3 { grid-column: 1; grid-row: 2 / 4; font-size: 34px; }
    .hw-promotion .hw-prices, .hw-promotion .hw-price-single { grid-column: 2; grid-row: 4 / 6; align-self: end; }
    .hw-promotion .hw-card__link { grid-column: 1 / -1; }
    .hw-promotion .hw-lottery { gap: 32px; padding: 36px; }
    .hw-promotion .hw-conditions { gap: 28px; }
}
@media (max-width: 640px) {
    .hw-promotion { padding: 18px 0 36px; }
    .hw-promotion .hw-inner { width: calc(100% - 28px); }
    .hw-promotion .hw-hero { display: flex; flex-direction: column; border-radius: 24px; }
    .hw-promotion .hw-hero__photo { min-height: 0; aspect-ratio: 16 / 10; }
    .hw-promotion .hw-hero__photo img { object-position: 61% 50%; }
    .hw-promotion .hw-hero__copy { padding: 30px 24px 34px; width: 100%; }
    .hw-promotion h1 { font-size: clamp(44px, 13vw, 68px); }
    .hw-promotion h1 > span { font-size: .43em; }
    .hw-promotion .hw-eyebrow { font-size: 10px; margin-bottom: 15px; }
    .hw-promotion .hw-dates { gap: 6px; }
    .hw-promotion .hw-dates > span { font-size: 14px; padding: 8px 12px; }
    .hw-promotion .hw-dates > span:first-child { font-size: 16px; }
    .hw-promotion .hw-intro { font-size: 16px; }
    .hw-promotion .hw-offers { padding-top: 48px; scroll-margin-top: 100px; }
    .hw-promotion h2 { font-size: 32px; }
    .hw-promotion .hw-card { display: flex; padding: 26px; }
    .hw-promotion .hw-card h3 { font-size: 34px; }
    .hw-promotion .hw-card__top { margin-bottom: 28px; }
    .hw-promotion .hw-prices dd { font-size: 32px; }
    .hw-promotion .hw-prices, .hw-promotion .hw-price-single { align-self: stretch; width: 100%; }
    .hw-promotion .hw-card__link { margin-top: 20px; }
    .hw-promotion .hw-lottery { grid-template-columns: 1fr; margin-top: 28px; padding: 30px 25px; gap: 28px; border-radius: 24px; }
    .hw-promotion .hw-lottery__seal { display: none; }
    .hw-promotion .hw-prizes__main strong { font-size: clamp(36px, 10vw, 54px); }
    .hw-promotion .hw-deposit { grid-template-columns: 1fr; gap: 16px; padding: 28px 25px; border-radius: 24px; }
    .hw-promotion .hw-deposit__icon svg { width: 70px; }
    .hw-promotion .hw-deposit p:not(.hw-eyebrow) { font-size: 16px; }
    .hw-promotion .hw-conditions { grid-template-columns: 1fr; gap: 8px; padding-top: 46px; padding-bottom: 24px; }
    .hw-promotion .hw-conditions .hw-btn { width: 100%; }
    .home-release-20260924-page .home-release-20260924-slider .offer-slider__item--halloween { justify-content: flex-end; flex-direction: column; }
    .home-release-20260924-page .home-release-20260924-slider .offer-slider__item--halloween .offer-slider__photo { inset: 0 0 auto; width: 100%; height: 40%; }
    .home-release-20260924-page .home-release-20260924-slider .offer-slider__item--halloween .offer-slider__photo img { object-position: 61% 50%; }
    .home-release-20260924-page .home-release-20260924-stage .home-release-20260924-slider .offer-slider__item--halloween .offer-slider__body { flex: 0 0 60%; width: 100%; margin: 0; padding: 12px 22px 55px; gap: 10px; align-items: center; text-align: center; }
    .home-release-20260924-page .home-release-20260924-slider .offer-slider__item--halloween .offer-slider__title { font-size: clamp(27px, 4.6svh, 39px); line-height: 1.03; }
    .home-release-20260924-page .home-release-20260924-slider .offer-slider__item--halloween .offer-slider__title-alt,
    .home-release-20260924-page .home-release-20260924-slider .offer-slider__item--halloween .offer-slider__title em,
    .home-release-20260924-page .home-release-20260924-slider .offer-slider__item--halloween .offer-slider__title i { font-size: .65em; margin-top: 6px; }
    .home-release-20260924-page .home-release-20260924-slider .offer-slider__item--halloween .offer-slider__desc, .home-release-20260924-page .home-release-20260924-slider .offer-slider__item--halloween .offer-slider__desc p { font-size: 14px; line-height: 1.35; }
    .home-release-20260924-page .home-release-20260924-slider .offer-slider__item--halloween .offer-slider__desc p + p { margin-top: 5px; }
    .home-release-20260924-page .home-release-20260924-slider .offer-slider__item--halloween .offer-slider__btn { padding-inline: 18px; font-size: 12px; min-height: 40px; }
    .home-release-20260924-page .home-release-20260924-slider .offer-slider__item--halloween .offer-slider__badge { font-size: clamp(11px, 1.7svh, 14px); padding: 7px 11px; }
    .offer-slider__item--halloween .hw-cta-wrap { width: 100%; }
    .offer-slider__item--halloween .hw-cta-wrap > .offer-slider__btn { width: 100%; }
    .home-release-20260924-page .home-release-20260924-stage:has(.offer-slider__item--halloween) .home-release-20260924-dot { width: 17px; }
    .home-release-20260924-page .home-release-20260924-stage:has(.offer-slider__item--halloween) .home-release-20260924-dot[aria-current="true"] { width: 27px; }
}
@media (max-width: 360px) {
    .home-release-20260924-page .home-release-20260924-stage:has(.offer-slider__item--halloween) .home-release-20260924-dot { width: 12px; }
    .home-release-20260924-page .home-release-20260924-stage:has(.offer-slider__item--halloween) .home-release-20260924-dot[aria-current="true"] { width: 22px; }
    .hw-promotion + .promotion-lead .promotion-lead__messengers { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) and (max-height: 650px) {
    .home-release-20260924-page .home-release-20260924-slider .offer-slider__item--halloween .offer-slider__photo { height: 32%; }
    .home-release-20260924-page .home-release-20260924-stage .home-release-20260924-slider .offer-slider__item--halloween .offer-slider__body { flex-basis: 68%; padding: 9px 18px 49px; gap: 7px; }
    .home-release-20260924-page .home-release-20260924-slider .offer-slider__item--halloween .offer-slider__title { font-size: 27px; }
    .home-release-20260924-page .home-release-20260924-slider .offer-slider__item--halloween .hw-slide-teaser { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
    @supports ((animation-timeline: view()) and (animation-range: entry)) {
        @keyframes hw-enter { from { opacity: .3; transform: translateY(24px); } to { opacity: 1; transform: none; } }
        .hw-promotion .hw-reveal { animation: hw-enter auto linear both; animation-timeline: view(); animation-range: entry 0% entry 85%; }
    }
}
@media (prefers-reduced-motion: reduce) {
    .hw-fx, .hw-button-fx, .hw-cta-peek, .hw-section-fx { display: none; }
    .hw-promotion *, .offer-slider__item--halloween * { scroll-behavior: auto; }
}
/* Заставка акции: кремовая вуаль с луной, из которой разлетаются летучие мыши.
   Вуаль исчезает сама и без JS-сигнала - через 2,6 с, клики не перехватывает. */
@keyframes hw-intro-out { to { opacity: 0; visibility: hidden; } }
@keyframes hw-intro-moon-out { to { opacity: 0; visibility: hidden; transform: translate(-50%, -50%) scale(1.7); } }
@keyframes hw-intro-moon-in { from { opacity: 0; transform: translate(-50%, -50%) scale(.6); } }
@keyframes hw-bat-flap { 50% { transform: scaleY(-.55); } }
html.hw-intro body::before, html.hw-intro body::after { content: ''; position: fixed; pointer-events: none; }
html.hw-intro body::before { inset: 0; z-index: 2147483000; background: #fbf5eb; animation: hw-intro-out .6s ease 2.6s forwards; }
html.hw-intro body::after { left: 50%; top: 50%; z-index: 2147483001; width: clamp(96px, 17vmin, 150px); aspect-ratio: 1; border-radius: 50%; background: #eccdc5; box-shadow: 0 0 0 clamp(12px, 2.4vmin, 22px) #eccdc566; transform: translate(-50%, -50%); animation: hw-intro-moon-in .45s ease-out both, hw-intro-moon-out .6s ease 2.6s forwards; }
html.hw-intro-go body::before { animation: hw-intro-out .8s ease .85s forwards; }
html.hw-intro-go body::after { animation: hw-intro-moon-in .45s ease-out both, hw-intro-moon-out .7s cubic-bezier(.4, 0, .2, 1) .3s forwards; }
.hw-intro-bats { position: fixed; inset: 0; z-index: 2147483002; overflow: hidden; pointer-events: none; }
.hw-intro-bat { position: absolute; left: 50%; top: 50%; width: var(--s); height: calc(var(--s) * .6); margin: calc(var(--s) * -.3) 0 0 calc(var(--s) / -2); opacity: 0; will-change: transform, opacity; }
.hw-intro-bat svg { display: block; width: 100%; height: 100%; overflow: visible; }
.hw-intro-bat .hw-intro-wings { transform-box: view-box; transform-origin: 50px 26px; animation: hw-bat-flap var(--flap, .24s) ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
    html.hw-intro body::before, html.hw-intro body::after, .hw-intro-bats { display: none; }
}
