.review-environment{position:fixed;bottom:0;left:0;right:0;z-index:2147483646;padding:5px 10px;background:#fff3c8;color:#000029;text-align:center;font:12px/1.35 Arial,sans-serif;pointer-events:none}.review-consent{display:flex;align-items:flex-start;gap:8px;font-size:14px;line-height:1.4;margin:14px 0}.review-consent input{width:20px!important;height:20px!important;flex:0 0 20px}.review-result{font-size:16px;line-height:1.4;color:#000029}.review-result:empty{display:none}

/* Shared mobile screen backdrop, matching the approved trainer page. */
html:root{--mirage-screen-background:#e1edf8;background-color:var(--mirage-screen-background)!important}
html body{background-color:var(--mirage-screen-background)!important}
html body.catalog-tz2 #screen,html body.catalog-tz2 dialog:not(.coach-dialog){background-color:var(--mirage-screen-background)!important}
html body #home,html body #home .schedule-section,html body #app,html body .shop-header{background-color:var(--mirage-screen-background)!important}
/* Keep the banner surround and video link continuous with the home backdrop. */
html body #home .promo-wrap,html body #home .club-video-entry{background:var(--mirage-screen-background)!important}

/* Hide the review banner across mobile screens at the owner's request. */
.review-environment{display:none!important}

/* Approved home refinements: stronger captions and consistent surfaces. */
html body #home .directions .tile small,html body #home .trainers small{font-weight:800!important}
html body #home .original-video-icon{mix-blend-mode:multiply}
html body #home .discount-box{background:#fff!important;border-color:#000029!important}
html body #home .discount-pair,html body #home .trainers,html body #home .directions{background-color:var(--mirage-screen-background)!important}
html body .bottom-nav img{filter:brightness(0) saturate(100%) invert(52%) sepia(39%) saturate(740%) hue-rotate(169deg) brightness(92%) contrast(87%)!important}
html body .bottom-nav a[href*="max.ru"] img{content:url('/home-preview/review/tz-22-oct/assets/max-blue.svg');filter:none!important}

/* Benefit card: plain white surface without a decorative border. */
html body #home .discount-box{border:0!important;box-shadow:none!important}
/* The dumbbell replaces the schedule chevron at the right edge. */
html body #home .section-heading>span .tz-dumbbell{display:block;width:30px;height:30px;max-width:none;object-fit:contain;position:static;transform:none;margin:0}

/* Center the schedule title between the preceding block and date row. */
html body #home .promo-wrap{padding-bottom:0!important}
html body #home .section-heading{height:42px;margin:0!important;padding:0}
html body #home .section-heading h1{margin:0;line-height:26px;top:50%;transform:translate(-50%,-50%)}
/* Club video shares the logo row. */
html body #home .home-header{display:flex;align-items:center;justify-content:space-between;gap:10px}
html body #home .home-header .brand{flex:none}
html body #home .home-header .club-video-entry{width:auto;flex:0 1 auto;min-width:0;height:44px;margin:0;padding:0;gap:5px;justify-content:flex-end}
html body #home .home-header .club-video-entry strong{font-size:13px;line-height:1.2;white-space:nowrap;flex:none}
html body #home .home-header .original-video-icon{width:32px;flex:0 0 32px;margin:0}
html body #home .home-header .entry-arrow{display:none}
@media(max-width:360px){html body #home .home-header{gap:5px}html body #home .home-header .club-video-entry strong{font-size:11px}}

/* Add breathing room between the logo row and category tiles. */
html body #home .home-header{margin-bottom:8px}

/* Match the original Mirage logo animation. */
.home-header .brand{position:relative;color:#181a19}

.home-header .brand--animating>img{visibility:hidden}
.brand-motion{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.brand-motion__track{position:absolute;inset:0}
.brand-motion__logo{position:absolute;inset:0;background:#ed1c24;mask:url('/home-preview/assets/mirage-logo-kinetic.webp') center/contain no-repeat;-webkit-mask:url('/home-preview/assets/mirage-logo-kinetic.webp') center/contain no-repeat}
.brand-motion__logo+ .brand-motion__logo{top:100%;bottom:-100%;background:#181a19}
.brand-motion__logo:nth-child(3){top:200%;bottom:-200%;background:#ed1c24}
@media(prefers-reduced-motion:reduce){.brand-motion{display:none}.home-header .brand--animating>img{visibility:visible}}

.brand-motion__logo:nth-child(2){background:#000029;mask-image:url("/home-preview/assets/fitness-logo-kinetic.webp");-webkit-mask-image:url("/home-preview/assets/fitness-logo-kinetic.webp");mask-size:contain;-webkit-mask-size:contain}

/* Approved home trainer style: circles, silhouette shadows and white name pills. */
html body #home #trainers .tile-image{position:relative;display:block;width:72px;height:72px;overflow:hidden;border:0!important;outline:0;border-radius:50%;background:#a9c8e2;box-shadow:none!important;padding:0}
html body #home #trainers .tile-image img{position:absolute;max-width:none;height:auto!important;border:0!important;border-radius:0!important;box-shadow:none!important;object-fit:initial;filter:drop-shadow(4px 3px 2.4px #24496670)}
html body #home #trainers .tile small{position:relative;display:block;z-index:1;background:#fff;color:#000029;border-radius:16px;margin-top:-6px;padding:4px 5px;font-size:12px;line-height:18px;font-weight:800;box-shadow:0 3px 7px #28486616}
html body #home #trainers{padding-bottom:10px}
html body #home #trainers [data-person="0"] img{width:145%!important;left:-48%;top:7%}
html body #home #trainers [data-person="1"] img{width:115%!important;left:14%;top:7%}
html body #home #trainers [data-person="2"] img{width:100%!important;left:0;top:5%}
html body #home #trainers [data-person="3"] img{width:135%!important;left:-17.5%;top:4%}
html body #home #trainers [data-person="4"] img{width:100%!important;left:0;top:2%}
html body #home #trainers [data-person="5"] img{width:230%!important;left:-54%;top:-3%}
html body #home #trainers [data-person="6"] img{width:110%!important;left:-5%;top:4%}
html body #home #trainers [data-person="7"] img{width:110%!important;left:-13%;top:3%}
html body #home #trainers{gap:12px}
html body #home #trainers .tile{flex:0 0 72px;width:72px;padding:0}

/* Compact name pills and explicit circular clipping for filtered portraits. */
html body #home #trainers .tile-image{clip-path:circle(50% at 50% 50%);isolation:isolate;overflow:hidden}
html body #home #trainers .tile small{width:max-content;max-width:100%;min-width:52px;margin:-5px auto 0;padding:2px 6px;line-height:16px;border-radius:12px;box-shadow:none}

/* Benefit eligibility panel: blue contrast against the page backdrop. */
html body .benefit-choice{background:transparent!important}

/* Approved plus accents for offers and the benefit card. */
#home .accent-plus{position:absolute;width:22px;height:22px;border-radius:50%;background:#29afe8;border:2px solid #fff;box-shadow:0 1px 3px #245c7626;display:grid;place-items:center;z-index:5;pointer-events:none}
#home .accent-plus svg{width:14px;height:14px;fill:none;stroke:#fff;stroke-width:2.2;stroke-linecap:round}
#home #directions [data-service="offers"]{position:relative}
#home #directions [data-service="offers"] .accent-plus{top:57px;left:50%;transform:translateX(-50%)}
#home .discount-box{position:relative}
#home .discount-box>.accent-plus{left:9px;top:5px}

/* Shared form surfaces: all editable fields use white, including focus/autofill. */
html body input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="hidden"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="image"]),
html body textarea,
html body select{background-color:#fff!important;background-image:none!important}
html body input:-webkit-autofill,
html body input:-webkit-autofill:hover,
html body input:-webkit-autofill:focus,
html body textarea:-webkit-autofill,
html body select:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px #fff inset!important}
html body .search,html body .search:focus-within{background:#fff!important}

header .brand{position:relative}header .brand--animating>img{visibility:hidden}
@media(prefers-reduced-motion:reduce){header .brand--animating>img{visibility:visible}}
/* Shared share control: blue outline on the same light circular surface as Back. */
body button.mirage-share,#elena-flow button.mirage-share{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;border:0;border-radius:50%;padding:11px;background:#f3f6f7;color:#356b96;cursor:pointer;order:0}
body button.mirage-share svg,#elena-flow button.mirage-share svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#elena-flow .ef-head .mirage-share{margin-left:auto}
#mirage-share-status{position:fixed;left:50%;bottom:100px;transform:translateX(-50%);z-index:2147483647;max-width:90vw;padding:12px 18px;border-radius:18px;background:#233e41;color:white;font-size:14px;text-align:center;pointer-events:none}
.mirage-share-dialog{border:0;border-radius:24px;padding:22px;max-width:90vw;background:white;color:#000029}.mirage-share-dialog input{width:100%;padding:12px}.mirage-share-dialog button{margin-top:16px;border:0;border-radius:22px;padding:12px 20px}

body button.mirage-share svg,#elena-flow button.mirage-share svg{stroke-width:2.6}
/* Search rule: one white rounded field, original megaphone, section typing hints. */
body .mirage-search{display:flex!important;align-items:center!important;gap:8px!important;width:100%;min-height:50px!important;height:50px!important;padding:0 10px 0 14px!important;border:0!important;border-radius:22px!important;background:#fff!important;box-shadow:none!important;box-sizing:border-box;position:relative;color:#000029}
body .mirage-search>span:not(.mirage-search-glass),body .mirage-search>svg{display:none!important}
body .mirage-search>.mirage-search-glass{display:grid;place-items:center;flex:0 0 16px;width:16px;color:#8b949e}
body .mirage-search-glass svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.7}
body .mirage-search input[type=search]{flex:1!important;min-width:0!important;width:0!important;height:44px!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;font:400 16px/1.3 MirageNumbers,MirageButtonOnest,Onest,Arial,sans-serif!important;color:#000029!important;outline-offset:2px}
body .mirage-search input::placeholder{color:#92999f!important;opacity:1}
body .mirage-search input::-webkit-search-cancel-button{-webkit-appearance:none}
body .mirage-search button.mirage-search-clear{display:grid;place-items:center;flex:0 0 32px!important;width:32px!important;height:44px!important;min-width:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;color:#000029!important;font-size:20px!important;position:static!important}
body .mirage-search button.mirage-search-horn{display:grid;place-items:center;flex:0 0 38px!important;width:38px!important;height:44px!important;min-width:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;position:static!important}
body .mirage-search-horn img{width:38px!important;height:38px!important;object-fit:contain;max-width:none!important}

/* Shared action palette; neutral icon controls and unselected options stay light. */
html body :is(button,a):is(.primary,.cta,.ef-cta,.pay,.ef-tsibizova-book,.booking-submit,.service-book,.btn-primary),
html body .schedule-shortcuts button,
html body #elena-flow .ef-approved .pay{background:#000029!important;color:#fff!important}
html body.schedule-view .result-head{position:static!important;height:auto!important;min-height:48px!important;margin:12px 0!important;display:flex;align-items:center;justify-content:flex-end;gap:12px}
html body.catalog-tz2 #reset{position:static!important;transform:none!important;background:#000029!important;color:#fff!important;border-radius:24px!important;width:auto!important;min-width:104px;height:44px!important;padding:10px 16px!important}
html body.catalog-tz2 #reset span{position:static!important;transform:none!important;padding:0!important;display:block!important;width:auto!important;height:auto!important}
html body.schedule-view .schedule-days [aria-current=date],html body .day.active{background:#8bb9dc!important;color:#000029!important}
html body.schedule-view .schedule-days [aria-pressed=true]:not([aria-current=date]){background:#000029!important;color:#fff!important}
.schedule-coaches{display:flex;gap:12px;overflow-x:auto;scrollbar-width:none;padding:10px 0 12px;margin:8px 0;touch-action:pan-x pan-y}
.schedule-coaches a{flex:0 0 72px;width:72px;text-decoration:none;text-align:center;color:#000029;display:flex;flex-direction:column;align-items:center}
.schedule-coaches img{width:72px;height:72px;object-fit:cover;border-radius:50%;display:block}
.schedule-coaches span{background:#fff;border-radius:14px;padding:2px 8px;font:700 12px/1.2 MirageNumbers,MirageButtonOnest,Onest,Arial,sans-serif;white-space:nowrap;margin-top:-4px;position:relative}

html body .day.today{background:#8bb9dc!important;color:#000029!important;border-color:#8bb9dc!important}
html body .day.today small{color:#35465c!important}
.schedule-coach-photo{position:relative;display:block;width:72px;height:72px;overflow:hidden;border-radius:50%;background:#a9c8e2;flex:none}
.schedule-coach-photo img{position:absolute;max-width:none;height:auto;border-radius:0;object-fit:initial;filter:drop-shadow(4px 3px 2.4px #24496670)}
.schedule-coaches a:nth-child(8n+1) img{width:145%;left:-48%;top:7%}
.schedule-coaches a:nth-child(8n+4) img{width:115%;left:14%;top:7%}
.schedule-coaches a:nth-child(8n+3) img{width:100%;left:0%;top:5%}
.schedule-coaches a:nth-child(8n+2) img{width:135%;left:-17.5%;top:4%}
.schedule-coaches a:nth-child(8n+5) img{width:100%;left:0%;top:2%}
.schedule-coaches a:nth-child(8n+6) img{width:230%;left:-54%;top:-3%}
.schedule-coaches a:nth-child(8n+7) img{width:110%;left:-5%;top:4%}
.schedule-coaches a:nth-child(8n+8) img{width:110%;left:-13%;top:3%}
html body .session-book,html body #elena-flow .ef-approved .pay,html body #elena-flow .ef-cta{background:#000029!important;color:#fff!important}

/* Portraits are clean cutouts: never add shadows inside circular avatars. */
html body #home #trainers .tile-image img,.schedule-coach-photo img{filter:none!important;box-shadow:none!important}
.schedule-coach-photo{clip-path:circle(50% at 50% 50%);isolation:isolate;box-shadow:none!important}
.schedule-coaches{scroll-behavior:auto!important;overflow-anchor:none}


/* Tariff cards are a single touch target, including their decorative check. */
#elena-flow button[data-ef-plan]{touch-action:manipulation;cursor:pointer;position:relative;isolation:isolate}#elena-flow button[data-ef-plan]>*{pointer-events:none}#elena-flow button[data-ef-plan] .tick,#elena-flow button[data-ef-plan] .ef-plan-check{pointer-events:none}#elena-flow button[data-ef-plan]::after{content:"";position:absolute;inset:0;z-index:3;border-radius:inherit;pointer-events:auto;background:transparent}

/* Visible native consent check and readable legal links. */
#elena-flow .consent input[type="checkbox"],#elena-flow .review-consent input[type="checkbox"]{appearance:auto!important;-webkit-appearance:checkbox!important;accent-color:#08052e!important;width:22px!important;height:22px!important;min-width:22px!important;flex:0 0 22px!important;margin:2px 10px 0 0!important;position:static!important;opacity:1!important;pointer-events:auto!important;cursor:pointer}#elena-flow .consent a,#elena-flow .review-consent a{color:#08052e!important;text-decoration:underline!important;text-underline-offset:3px;pointer-events:auto!important}#elena-flow .consent,#elena-flow .review-consent{align-items:flex-start;cursor:pointer}

/* Keep iPhone contact editing native: selectable text and no focus zoom. */
#elena-flow #ef-form input:not([type="checkbox"]){font-size:16px!important;touch-action:auto!important;user-select:text!important;-webkit-user-select:text!important;pointer-events:auto!important;caret-color:#08052e}#elena-flow #ef-form label:has(input:not([type="checkbox"])){touch-action:auto!important}

/* One native scroll surface in trainer checkout, stable header and footer. */
#elena-flow:has(.ef-approved){overflow:hidden!important;overscroll-behavior:none}#elena-flow .ef-approved{display:flex!important;flex-direction:column!important;height:100%!important;min-height:0!important;overflow:hidden!important}#elena-flow .ef-approved>header,#elena-flow .ef-approved>footer{flex:0 0 auto!important;position:relative!important;top:auto!important;bottom:auto!important}#elena-flow .ef-approved>.approved-body{flex:1 1 auto!important;min-height:0!important;height:auto!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y!important;scroll-padding-block:16px;overflow-anchor:none;padding-bottom:24px!important}#elena-flow .approved-body .contact{padding-top:0!important}#elena-flow .ef-approved>footer{z-index:2;background:#e0ebf5}

/* Native page scrolling for group checkout: no nested modal or keyboard resize script. */
html.standalone-checkout,html.standalone-checkout body{height:auto!important;min-height:100%;overflow:auto!important;background:#e0ebf5!important}
html.standalone-checkout #elena-flow{position:relative!important;inset:auto!important;display:block!important;width:100%!important;max-width:620px!important;height:auto!important;max-height:none!important;min-height:100svh;margin:0 auto!important;padding:0!important;overflow:visible!important;transform:none!important;border:0!important;border-radius:0!important}
html.standalone-checkout #elena-flow .ef-approved{height:auto!important;min-height:100svh!important;overflow:visible!important;display:block!important}
html.standalone-checkout #elena-flow .ef-approved>.approved-body{height:auto!important;overflow:visible!important;touch-action:auto!important;padding-bottom:16px!important}
html.standalone-checkout #elena-flow .ef-approved>header,html.standalone-checkout #elena-flow .ef-approved>nav{position:relative!important;top:auto!important}
html.standalone-checkout #elena-flow .ef-approved>footer{position:relative!important;padding-bottom:max(24px,env(safe-area-inset-bottom))!important}
html.standalone-checkout #elena-flow .review-result{white-space:normal;overflow:visible;margin:12px 0;color:#aa1833}
html.standalone-checkout body{position:static!important;inset:auto!important;width:100%!important;overflow:visible!important;touch-action:auto!important}

/* Receipt-email error: white surface, Onest and naturally wrapping text. */
html body #elena-flow .review-result.email-error-notice{display:block!important;box-sizing:border-box;width:100%;max-width:100%;min-width:0;padding:18px 20px;margin:16px 0;border:0!important;outline:0!important;box-shadow:none!important;border-radius:20px;background:#fff!important;color:#c5162e;line-height:1.45;text-align:left;white-space:normal!important;overflow-wrap:anywhere}
html body #elena-flow .review-result.email-error-notice strong,html body #elena-flow .review-result.email-error-notice span{display:block!important;width:auto!important;max-width:100%!important;min-width:0!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;letter-spacing:normal!important;color:#c5162e!important}
html body #elena-flow .review-result.email-error-notice strong{font-size:22px!important;font-weight:700!important;line-height:1.25!important;margin:0 0 8px!important}
html body #elena-flow .review-result.email-error-notice span{font-size:16px!important;font-weight:400!important;line-height:1.5!important;margin:0!important}
html body #elena-flow .email-error-notice:not(#font-rule-a):not(#font-rule-b):not(#font-rule-c):not(#font-rule-d),html body #elena-flow .email-error-notice :not(#font-rule-a):not(#font-rule-b):not(#font-rule-c):not(#font-rule-d){font-family:MirageButtonOnest,Onest,Arial,sans-serif!important}
