body.wmw-ui-ready { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
.wmw-chat-dock { position: fixed; inset: auto 0 0; height: calc(60px + env(safe-area-inset-bottom, 0px)); z-index: 123120; background: #fcf9fb; border-top: 1px solid #ead4df; pointer-events: none; }
body.wmw-ui-ready .botClientOverflow:not(.open) { bottom: calc(8px + env(safe-area-inset-bottom, 0px)) !important; right: 20px; height: 44px; padding: 0; border: 0; background: transparent; transition: none; }
body.wmw-ui-ready .botClient__titleCont { height: 44px; color: #fff; background: #881944; font-size: 15px; border-radius: 10px; }
body.wmw-ui-ready .botClientOverflow.open { bottom: calc(8px + env(safe-area-inset-bottom, 0px)) !important; right: 16px; left: auto; width: min(380px, calc(100vw - 32px)); height: min(520px, calc(100dvh - 100px)); max-height: calc(100vh - 100px); padding: 12px 0 0; border: 1px solid #d6aebf; border-radius: 16px; background: #fff; box-shadow: 0 12px 50px #45052330; transition: none; }
body.wmw-ui-ready .botClientOverflow:not(.open) .botClien__textOverflowCont { visibility: hidden; }
body.wmw-ui-ready .botClient__closeButton { width: 32px; height: 32px; background: #fff; }
body.wmw-ui-ready :is(.scrollTopStyle, .scrollTopMainPage, .scrollTopDefault) { bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important; }
.wmw-chat-dock__label { position: absolute; left: 20px; top: 19px; color: #775461; font-size: 13px; }
body .heroModes.wmw-hero-stable { display: grid; grid-template-columns: minmax(0, 1fr); }
body .heroModes.wmw-hero-stable .heroModes__tabs { grid-area: 1 / 1; }
body .heroModes.wmw-hero-stable .heroModes__panel {
    grid-area: 2 / 1; min-width: 0; opacity: 1; visibility: visible;
    translate: 0 0;
    transition: opacity 420ms ease-in-out, translate 420ms cubic-bezier(.22,1,.36,1), visibility 0s;
}
body .heroModes.wmw-hero-stable .heroModes__panel[hidden] {
    display: block !important; visibility: hidden; pointer-events: none;
    opacity: 0; translate: 0 5px;
    transition: opacity 320ms ease-in-out, translate 420ms cubic-bezier(.22,1,.36,1), visibility 0s linear 320ms;
}
body .button :is(.fa-arrow-right, .fa-long-arrow-alt-right) { transition: translate 220ms ease; }
@media (hover: hover) and (pointer: fine) {
    body .button:hover :is(.fa-arrow-right, .fa-long-arrow-alt-right) { translate: 3px 0; }
}
body .wmw-faq-trigger [class*="chevron"] { transition: rotate 220ms ease; }
body .wmw-faq-trigger[aria-expanded="true"] [class*="chevron"] { rotate: 180deg; }
body .wmw-faq-panel { overflow: hidden; box-sizing: border-box; }
/* Warm paper surfaces for existing disclosure controls, not ordinary lists. */
body .about__accordion,
body .collapsible > li {
    border: 1px solid #e6d5ce;
    border-radius: 16px;
    background: linear-gradient(125deg, #fffdfa, #fcf5f0);
    box-shadow: 0 3px 12px #603b2910;
    transition: border-color 240ms ease, box-shadow 300ms ease, background-color 240ms ease;
}
body .about__accordion { padding: 0 18px; margin: 12px 0; }
body .about__accordion.is-expanded { padding-bottom: 0; }
body .about__accordion.is-expanded,
body .collapsible > li.active {
    border-color: #cfa3ac;
    box-shadow: 0 7px 22px #603b2914;
}
body .about__accordion-trigger,
body .collapsible-header {
    min-height: 54px;
    color: #60283b;
    -webkit-tap-highlight-color: transparent;
}
body .about__accordion-title { text-decoration: none; font-weight: 600; line-height: 1.45; }
body .about__accordion-icon {
    width: 30px; height: 30px;
    color: #881944; background: #f3e4df;
    transition: background-color 240ms ease, color 240ms ease, transform 320ms ease;
}
/* Only one rotation: the inner chevron already follows aria-expanded. */
body .about__accordion.is-expanded .wmw-faq-trigger .about__accordion-icon { transform: none; }
body .about__accordion-trigger[aria-expanded="true"] .about__accordion-icon {
    background: #881944; color: #fff;
}
body .about__accordion-content {
    margin-top: 0; padding: 12px 0 18px;
    border-top: 1px solid #eadbd5;
    color: #563e43; line-height: 1.7;
}
body .about__accordion-content li::marker { color: #a05270; }
body .about__accordion-trigger:focus-visible,
body .collapsible-header:focus-visible {
    outline: 2px solid #881944; outline-offset: 3px; border-radius: 10px;
}
body .collapsible { border: 0; box-shadow: none; background: transparent; }
body .collapsible > li { margin-bottom: 10px; }
body .collapsible-header {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 18px; border: 0; border-radius: 16px;
    background: transparent; line-height: 1.45;
}
body .collapsible-header::after {
    content: ''; width: 8px; height: 8px; flex: 0 0 8px;
    margin: 0 4px 4px auto; border-right: 2px solid #881944; border-bottom: 2px solid #881944;
    transform: rotate(45deg); transition: transform 320ms ease;
}
body .collapsible > li.active > .collapsible-header::after { transform: rotate(225deg); }
body .collapsible-body { border-bottom: 0; border-top: 1px solid #eadbd5; padding: 18px; }
@media (hover: hover) and (pointer: fine) {
    body .about__accordion:hover, body .collapsible > li:hover { border-color: #cfa3ac; box-shadow: 0 6px 18px #603b2914; }
}
@media (max-width: 600px) {
    body .about__accordion { padding-inline: 14px; border-radius: 13px; }
    body .collapsible-header, body .collapsible-body { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    body .heroModes.wmw-hero-stable .heroModes__panel,
    body .heroModes.wmw-hero-stable .heroModes__panel[hidden] { transition: none; translate: none; }
    body .about__accordion, body .about__accordion-icon,
    body .collapsible > li, body .collapsible-header::after { transition: none; }
}
.mainHero__portrait.wmw-art-host { position: relative; isolation: isolate; }
.wmw-orbit { position: absolute; inset: -36px; width: calc(100% + 72px); height: calc(100% + 72px); z-index: -1; pointer-events: none; opacity: .55; }
body .how_it_works__steps-grid { position: relative; }
body .how_it_works__step { position: relative; }
@media (min-width: 801px) {
    body .how_it_works__step:not(:last-child)::after { content: ''; position: absolute; top: 24px; left: 100%; width: 20px; height: 1px; background: #bc7a94; pointer-events: none; }
    body.wmw-ui-ready .how_it_works__step::after { transform-origin: left; transform: scaleX(0); transition: transform 400ms ease 160ms; }
    body.wmw-ui-ready .how_it_works__step.wmw-motion-seen::after { transform: scaleX(1); }
}
body.search .question__header { color: #680931; font-weight: 600; }
body.search .question__variables label { display: block; }
body.search .question__variables label > span { display: block; min-height: 44px; height: auto; padding: 10px 12px 10px 38px; line-height: 1.5; color: #4e2838; border: 1px solid #ddc1cd; border-radius: 9px; background: #fff; transition: background-color 180ms ease, border-color 180ms ease; }
body.search .question__variables input:checked + span { background: #f8eaf0; border-color: #881944; color: #680931; }
body.search .question__variables input:focus-visible + span { outline: 2px solid #881944; outline-offset: 3px; }
body.search .question__variables label > span::before, body.search .question__variables label > span::after { top: 9px; left: 8px; }
body.search .tallAbout__button.wmw-next-label { position: static; width: max-content; max-width: 100%; min-width: 110px; height: auto; min-height: 44px; display: flex; gap: 10px; justify-content: center; align-items: center; padding: 10px 16px; margin: 20px 0 12px auto; border: 1px solid #881944; border-radius: 9px; background: #fff; color: #680931; box-sizing: border-box; }
body.search .tallAbout__prevButton.wmw-next-label { margin: 16px auto 20px 0; flex-direction: row-reverse; }
body.search .wmw-next-label .bottom_arrow { position: static; }
body.search .tallAbout__animated .wmw-next-label .bottom_arrow { padding: 0; border: 0; background: transparent; color: inherit; }
body.search .tallAbout__step { position: relative; transform: none; transition: none; }
body.search .tallAbout__step-hidden { display: none; }
body.search .step__header { scroll-margin-top: 90px; }
body.search .search__cont.wmw-game-form { display: grid; grid-template-columns: 220px minmax(0, 1fr); align-items: start; gap: 32px; width: calc(100% - 40px); max-width: 1180px; margin: 0 auto 40px; }
body.search .wmw-game-form > .logoAside { position: static; width: 100%; max-width: none; min-width: 0; padding: 0; margin: 0; }
body.search .wmw-game-form > .blockRow { display: block; width: 100%; min-width: 0; padding: 0; margin: 0; }
body.search .wmw-game-form .promo__baner300_600:empty { display: none; }
body.search .wmw-game-form .search__content { width: 100%; min-width: 0; padding: 0; margin: 0; }
body.search .wmw-game-form .search__content form { width: 100%; max-width: 680px; min-width: 0; margin: 0 auto; }
body.search .wmw-game-form .tallAbout__step { width: 100%; box-sizing: border-box; }
body.search .wmw-game-form .question__variables p { margin: 8px 0; }
@media (max-width: 900px) {
    body.search .search__cont.wmw-game-form { grid-template-columns: minmax(0, 1fr); width: calc(100% - 32px); gap: 28px; }
    body.search .wmw-game-form > .logoAside { grid-row: 2; max-width: 380px; justify-self: center; }
    body.search .wmw-game-form > .blockRow { grid-row: 1; }
}
body.search .sector[aria-disabled="true"] { cursor: default; }
body.search .sector:focus-visible { outline: 3px solid #881944; outline-offset: 5px; }
body .loadMore button:disabled { opacity: .65; cursor: progress; }
body.search .basic_search_city__cont input { font-size: 16px; }
.wmw-city-label { display: block; color: #680931; font-size: 14px; margin-bottom: 6px; }
body #emailModal input:focus { border-bottom-color: #881944; box-shadow: 0 1px 0 #881944; }
body #emailModal[data-subscription-state="pending"] .modal__wantSubscribe { opacity: .75; cursor: wait; }
body #emailModal[data-subscription-state="pending"] .modal__wantSubscribe::after { content: ''; display: inline-block; width: 14px; height: 14px; margin-left: 10px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: wmw-pending 800ms linear infinite; }
body #emailModal[data-subscription-state="error"] .message { color: #8c1738; padding: 10px; background: #fbeef2; border-radius: 8px; }
body #emailModal[data-subscription-state="success"] { border-color: #881944; }
@keyframes wmw-pending { to { transform: rotate(360deg); } }
@media (max-width: 600px) {
    body .wmw-orbit { display: none; }
    body.main_page .main-hello-formatted > .heroModes { margin: 0 0 20px; }
    body.main_page .main-hello-formatted { text-align: left !important; }
    body.main_page .main-hello-formatted > :is(p, div, blockquote) { text-align: left !important; }
    body .wmw-chat-dock__label { left: 16px; font-size: 12px; }
    body.wmw-ui-ready .botClientOverflow:not(.open) { right: 12px; }
    body.wmw-ui-ready .botClientOverflow.open { width: calc(100vw - 20px); right: 10px; }
    body.search .question__variables label > span { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    body #emailModal[data-subscription-state="pending"] .modal__wantSubscribe::after { animation: none; }
    body .question__variables label > span { transition: none; }
    body .wmw-faq-trigger [class*="chevron"], body .button :is(.fa-arrow-right, .fa-long-arrow-alt-right) { transition: none; }
    body.wmw-ui-ready .how_it_works__step::after { transform: none; transition: none; }
    body .rotating_wheel, body .roulette__overflow { animation: none !important; }
    html { scroll-behavior: auto !important; }
}

/* Account navigation stays in document flow, above the chat dock. */
body .cabinetCont__auth { top: auto; margin: 80px auto 32px; width: calc(100% - 32px); max-width: 1280px; }
body .cabinetCont__auth > .blockRow {
    display: grid; grid-template-columns: 250px minmax(0, 1fr); align-items: start;
    gap: 24px; width: 100%; height: auto; min-height: 0; padding: 0;
}
body .cabinetCont__auth .cabinet__aside {
    position: static; inset: auto; width: 100%; height: auto; min-height: 0;
    max-height: none; overflow: visible; box-sizing: border-box; padding: 20px;
}
body .cabinetCont__auth .aside__footer {
    position: static; inset: auto; width: 100%; margin: 24px 0 0; padding: 16px 0 0;
    border-top: 1px solid #e4d5db;
}
body .cabinetCont__auth .cabinet__aside > br,
body .cabinetCont__auth .aside__footer > br { display: none; }
body .cabinetCont__auth .cabinet__links { margin: 14px 0; }
body .cabinetCont__auth .cabinet__links a { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; overflow-wrap: anywhere; }
body .cabinetCont__auth .cabinet__section { position: static; width: 100%; min-width: 0; height: auto; max-height: none; box-sizing: border-box; }
body .cabinetCont__auth .cabinet__oveflow { height: auto; max-height: none; overflow: visible; }
body .wmw-account-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; margin-bottom: 20px; }
body .wmw-account-actions a.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; max-width: 100%; padding: 10px 16px; box-sizing: border-box; font-size: 14px; line-height: 1.4; }
body .wmw-account-actions a:focus-visible { outline: 2px solid #881944; outline-offset: 4px; }
body .wmw-account-actions--profile { position: relative; width: calc(100% - 32px); max-width: 1100px; margin: 80px auto 16px; }
@media (max-width: 900px) {
    body .cabinetCont__auth > .blockRow { grid-template-columns: minmax(0, 1fr); }
    body .cabinetCont__auth .cabinet__aside { text-align: left; }
    body .cabinetCont__auth .cabinet__aside .bar { margin-inline: 0; }
    body.cabinet_profile .cabinetCont .contentSection { padding: 0 16px; box-sizing: border-box; }
    body.cabinet_profile .question .question__variables { flex-wrap: wrap; gap: 12px; }
    body.cabinet_profile .question .question__variables p { margin: 0; width: 100%; }
}
