/* ТМ Бонусы — ролик «Это ещё не всё». The approved demo stage (handoff style.css),
   scoped to the tm-bonuses-film block: same fonts, sizes, colours, positions,
   breakpoints and heights. Only fixes where the demo breaks on the real page:
   [fix-1] a hidden line break leaves a space (no glued words on the phone);
   [fix-2] scene 1 tag kept inside the stage on desktop;
   [fix-3] phone final: the CTA no longer covers «ТМ Бонусы — баллы для скидки»;
   [fix-4] 761–870 px: the final «выгодно.» no longer runs into the phoenix.
   Light theme only. The final scene is the default (no JavaScript, reduced motion);
   motion exists only while [data-tm-house-film-motion] is set by house-film-runtime.js. */
.tm-bonuses-film{display:block;min-width:0;color:#1D352F;font-family:Arial,Helvetica,sans-serif;text-align:left}
.tm-bonuses-film .tm-bonuses-film__stage,.tm-bonuses-film .tm-bonuses-film__stage *{box-sizing:border-box}
.tm-bonuses-film .tm-bonuses-film__stage{height:560px;position:relative;overflow:hidden;isolation:isolate;background:#FFF9EF;border-radius:26px;box-shadow:0 20px 65px #25372c0a;font-family:Arial,Helvetica,sans-serif;color:#1D352F}
.tm-bonuses-film .tm-bonuses-film__stage p{max-width:none}
.tm-bonuses-film .tm-bonuses-film__brand{position:absolute;z-index:10;top:28px;left:42px;display:flex;align-items:center;gap:12px;margin:0;font-size:19px;font-weight:700;line-height:normal}
.tm-bonuses-film .tm-bonuses-film__logo{display:block;width:36px;height:40px;object-fit:contain}
.tm-bonuses-film .tm-bonuses-film__corner{position:absolute;z-index:10;right:40px;top:42px;margin:0;font-size:12px;line-height:normal;color:#506960}
.tm-bonuses-film .tm-bonuses-film__disclaimer{position:absolute;bottom:24px;left:42px;margin:0;font-size:12px;line-height:normal;color:#52665d;z-index:5}
.tm-bonuses-film .tm-bonuses-film__sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}

/* Scenes: the demo's content box (inset 90/42/62) with the scene colour behind it. */
.tm-bonuses-film .tm-bonuses-film__scene{position:absolute;inset:0;padding:90px 42px 62px;display:grid;grid-template-columns:57% 43%;visibility:hidden;pointer-events:none}
.tm-bonuses-film .tm-bonuses-film__scene[data-active]{visibility:inherit;pointer-events:auto;z-index:2}
.tm-bonuses-film .tm-bonuses-film__scene[data-leaving]{visibility:inherit;z-index:1}
.tm-bonuses-film .tm-bonuses-film__scene[data-leaving]>:not(.tm-bonuses-film__bg){visibility:hidden}
.tm-bonuses-film .tm-bonuses-film__bg{position:absolute;inset:0;z-index:-2;background:#FFF9EF}
.tm-bonuses-film .tm-bonuses-film__scene--s1 .tm-bonuses-film__bg{background:#EEF4FF}
.tm-bonuses-film .tm-bonuses-film__scene--s2 .tm-bonuses-film__bg{background:#F4F8EF}
.tm-bonuses-film .tm-bonuses-film__scene--s3 .tm-bonuses-film__bg{background:#FFF2EC}
.tm-bonuses-film .tm-bonuses-film__scene--s4 .tm-bonuses-film__bg{background:#EEF0FF}
.tm-bonuses-film .tm-bonuses-film__copy{position:relative;z-index:3;align-self:center;min-width:0}
.tm-bonuses-film .tm-bonuses-film__eyebrow{margin:0 0 20px;font-size:11px;font-weight:700;line-height:normal;letter-spacing:2px;text-transform:uppercase;color:#627c72}
.tm-bonuses-film .tm-bonuses-film__title{margin:0;max-width:none;font-family:Arial,Helvetica,sans-serif;font-size:clamp(40px,5.25vw,72px);line-height:1.02;letter-spacing:-3px;font-weight:800;color:#1D352F}
.tm-bonuses-film .tm-bonuses-film__line{display:block}
.tm-bonuses-film .tm-bonuses-film__br{display:block}
.tm-bonuses-film .tm-bonuses-film__accent{color:#195DEE}
.tm-bonuses-film .tm-bonuses-film__scene--s0 .tm-bonuses-film__accent{margin-top:8px}
.tm-bonuses-film .tm-bonuses-film__title em{font-style:normal;color:#195DEE}
.tm-bonuses-film .tm-bonuses-film__lead{margin:18px 0 0;font-size:17px;line-height:1.4}
.tm-bonuses-film .tm-bonuses-film__lead--large{font-size:26px;line-height:1.2}
.tm-bonuses-film .tm-bonuses-film__visual{position:relative;min-width:0;align-self:stretch;display:flex;align-items:center;justify-content:center}
.tm-bonuses-film .tm-bonuses-film__halo{position:absolute;width:420px;height:420px;border-radius:50%;background:#CDEBFF;z-index:-1;left:50%;top:50%;transform:translate(-50%,-50%)}
.tm-bonuses-film .tm-bonuses-film__img{display:block;max-width:none;height:auto}
.tm-bonuses-film .tm-bonuses-film__img[hidden]{display:none}
.tm-bonuses-film .tm-bonuses-film__img[data-tm-film-src]{visibility:hidden}
.tm-bonuses-film .tm-bonuses-film__coffee{width:115%;max-width:520px;position:relative;filter:drop-shadow(0 22px 15px #36343013)}
/* [fix-2] demo: bottom 2% of a picture box taller than the scene cut the tag at the stage edge. */
.tm-bonuses-film .tm-bonuses-film__tag{position:absolute;bottom:max(2%,calc(100% - 400px));right:0;transform:rotate(-6deg);font-size:15px;background:#FF947F;padding:13px 20px;border-radius:100px;font-weight:700;line-height:normal;white-space:nowrap}
.tm-bonuses-film .tm-bonuses-film__card{width:340px;height:260px;border-radius:22px;background:#195DEE;color:white;padding:26px;box-shadow:12px 18px 0 #AACFFF;transform:rotate(-9deg);display:flex;flex-direction:column;justify-content:space-between}
.tm-bonuses-film .tm-bonuses-film__card-top{font-size:9px;letter-spacing:1.5px;line-height:normal;text-transform:uppercase}
.tm-bonuses-film .tm-bonuses-film__card b{font-size:62px;line-height:.92;letter-spacing:-2px}
.tm-bonuses-film .tm-bonuses-film__card-bottom{display:flex;justify-content:space-between;align-items:center;font-size:10px;letter-spacing:1px;line-height:normal;text-transform:uppercase}
.tm-bonuses-film .tm-bonuses-film__card-bottom i{font-size:32px;font-style:normal}
.tm-bonuses-film .tm-bonuses-film__spark{position:absolute;color:#FF8068;font-size:85px;line-height:normal}
.tm-bonuses-film .tm-bonuses-film__spark--one{top:0;right:0}
.tm-bonuses-film .tm-bonuses-film__spark--two{bottom:-15px;left:0;font-size:54px}
.tm-bonuses-film .tm-bonuses-film__scene--s2 .tm-bonuses-film__halo{background:#DCEAD4}
.tm-bonuses-film .tm-bonuses-film__small-coffee{position:absolute;width:65%;left:-12%;top:-8%;transform:rotate(-9deg)}
.tm-bonuses-film .tm-bonuses-film__groceries{position:absolute;width:78%;right:-6%;bottom:-6%}
.tm-bonuses-film .tm-bonuses-film__transfer{z-index:4;position:absolute;left:0;top:42%;background:#195DEE;color:white;padding:14px 20px;border-radius:40px;box-shadow:0 10px 25px #2256cc22;font-size:15px;font-weight:700;line-height:normal;white-space:nowrap}
.tm-bonuses-film .tm-bonuses-film__transfer b{margin-left:24px;font-size:24px}
.tm-bonuses-film .tm-bonuses-film__scene--s3 .tm-bonuses-film__halo{background:#FFE1D8}
.tm-bonuses-film .tm-bonuses-film__invite{background:#FF927C;color:#243D34;width:320px;height:300px;border-radius:20px;transform:rotate(8deg);padding:26px;box-shadow:12px 18px 0 #FFCABC;position:relative}
.tm-bonuses-film .tm-bonuses-film__invite-top{font-size:10px;letter-spacing:2px;line-height:normal;text-transform:uppercase}
.tm-bonuses-film .tm-bonuses-film__invite b{display:block;font-size:61px;line-height:.96;letter-spacing:-3px;margin-top:30px}
.tm-bonuses-film .tm-bonuses-film__invite small{position:absolute;bottom:24px;font-size:13px;line-height:normal}
.tm-bonuses-film .tm-bonuses-film__invite-arrow{position:absolute;right:20px;bottom:20px;border:1px solid #243d3455;width:50px;height:50px;border-radius:50%;display:grid;place-items:center;font-size:35px;line-height:normal}
.tm-bonuses-film .tm-bonuses-film__surprise{font-size:1.5em;color:#195DEE;letter-spacing:-5px;margin-top:3px}
.tm-bonuses-film .tm-bonuses-film__scene--s4 .tm-bonuses-film__halo{background:#D7DEFF}
.tm-bonuses-film .tm-bonuses-film__wink{width:290px;height:290px;filter:drop-shadow(7px 17px 0 #D6AC5433);transform:rotate(-10deg)}
.tm-bonuses-film .tm-bonuses-film__wink svg{display:block;width:100%;height:100%}
.tm-bonuses-film .tm-bonuses-film__eye-wink{opacity:0}
.tm-bonuses-film .tm-bonuses-film__aside{position:absolute;bottom:0;right:16px;font-size:17px;font-style:italic;line-height:normal;transform:rotate(-5deg)}
.tm-bonuses-film .tm-bonuses-film__phoenix{width:290px;height:330px;object-fit:contain}
.tm-bonuses-film .tm-bonuses-film__scene--s5 .tm-bonuses-film__halo{background:#DCEBFF}
/* [fix-4] demo: 83 px «выгодно.» ran into the phoenix on narrow desktops (768 px). */
.tm-bonuses-film .tm-bonuses-film__scene--s5 .tm-bonuses-film__title{font-size:min(83px,9.5vw)}
.tm-bonuses-film .tm-bonuses-film__cta{border:0;background:#1D352F;color:white;border-radius:13px;padding:18px 24px;margin-top:22px;font-size:16px;font-weight:400;line-height:normal;display:inline-flex;gap:35px;align-items:center;text-decoration:none}
.tm-bonuses-film .tm-bonuses-film__cta:hover{color:white}
.tm-bonuses-film .tm-bonuses-film__cta span{font-size:23px}
.tm-bonuses-film .tm-bonuses-film__cta:focus-visible{outline:3px solid #2163EE;outline-offset:5px}

/* The demo's progress line along the bottom edge, drawn per scene. */
.tm-bonuses-film .tm-bonuses-film__progress{position:absolute;bottom:0;left:0;width:100%;height:4px;background:#1d352f0c;--tmbn-from:0;--tmbn-to:1}
.tm-bonuses-film .tm-bonuses-film__progress::before{content:'';position:absolute;inset:0;background:#195DEE;transform:scaleX(var(--tmbn-to));transform-origin:0 50%}
.tm-bonuses-film .tm-bonuses-film__scene--s0 .tm-bonuses-film__progress{--tmbn-from:0;--tmbn-to:.1278}
.tm-bonuses-film .tm-bonuses-film__scene--s1 .tm-bonuses-film__progress{--tmbn-from:.1278;--tmbn-to:.2833}
.tm-bonuses-film .tm-bonuses-film__scene--s2 .tm-bonuses-film__progress{--tmbn-from:.2833;--tmbn-to:.4667}
.tm-bonuses-film .tm-bonuses-film__scene--s3 .tm-bonuses-film__progress{--tmbn-from:.4667;--tmbn-to:.6444}
.tm-bonuses-film .tm-bonuses-film__scene--s4 .tm-bonuses-film__progress{--tmbn-from:.6444;--tmbn-to:.8}
.tm-bonuses-film .tm-bonuses-film__scene--s5 .tm-bonuses-film__progress{--tmbn-from:.8;--tmbn-to:1}

/* Pause / continue / replay for keyboard and screen readers: visually hidden until focused. */
.tm-bonuses-film .tm-bonuses-film__btn{position:absolute;z-index:12;right:16px;bottom:14px;width:1px;height:1px;min-width:0;min-height:0;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.tm-bonuses-film .tm-bonuses-film__btn:focus-visible{width:auto;height:auto;min-height:44px;margin:0;padding:12px 18px;overflow:visible;clip-path:none;border-radius:40px;background:#1D352F;color:white;font:inherit;font-size:14px;outline:3px solid #2163EE;outline-offset:3px}
.tm-bonuses-film .tm-bonuses-film__btn[hidden]{display:none}
/* Room for the home carousel's own controls below the stage. */
.market-promo-carousel--multiple .tm-bonuses-film{padding-bottom:calc(var(--tm-control,44px) + 16px)}

/* Motion: the demo's timing as CSS animations, so one play-state freezes the whole frame. */
@keyframes tm-bonuses-film-in{from{opacity:0;translate:0 36px;scale:.96}}
@keyframes tm-bonuses-film-bg{from{opacity:0}}
@keyframes tm-bonuses-film-float{0%,100%{translate:0 0}25%{translate:0 3px}75%{translate:0 -3px}}
@keyframes tm-bonuses-film-progress{from{transform:scaleX(var(--tmbn-from))}to{transform:scaleX(var(--tmbn-to))}}
@keyframes tm-bonuses-film-wink{from,to{opacity:1}}
@keyframes tm-bonuses-film-blink{from,to{opacity:0}}
.tm-bonuses-film[data-tm-house-film-motion] [data-active] .tm-bonuses-film__bg{animation:tm-bonuses-film-bg .45s ease both}
.tm-bonuses-film[data-tm-house-film-motion] [data-active] .tm-bonuses-film__in{animation:tm-bonuses-film-in .62s cubic-bezier(.33,1,.68,1) both}
.tm-bonuses-film[data-tm-house-film-motion] [data-active] .tm-bonuses-film__in--d100{animation-delay:.1s}
.tm-bonuses-film[data-tm-house-film-motion] [data-active] .tm-bonuses-film__in--d150{animation-delay:.15s}
.tm-bonuses-film[data-tm-house-film-motion] [data-active] .tm-bonuses-film__in--d200{animation-delay:.2s}
.tm-bonuses-film[data-tm-house-film-motion] [data-active] .tm-bonuses-film__in--d250{animation-delay:.25s}
.tm-bonuses-film[data-tm-house-film-motion] [data-active] .tm-bonuses-film__in--d300{animation-delay:.3s}
.tm-bonuses-film[data-tm-house-film-motion] [data-active] .tm-bonuses-film__in--d350{animation-delay:.35s}
.tm-bonuses-film[data-tm-house-film-motion] [data-active] .tm-bonuses-film__in--d400{animation-delay:.4s}
.tm-bonuses-film[data-tm-house-film-motion] [data-active] .tm-bonuses-film__in--d450{animation-delay:.45s}
.tm-bonuses-film[data-tm-house-film-motion] [data-active] .tm-bonuses-film__in--d520{animation-delay:.52s}
.tm-bonuses-film[data-tm-house-film-motion] [data-active] .tm-bonuses-film__in--d550{animation-delay:.55s}
.tm-bonuses-film[data-tm-house-film-motion] [data-active] .tm-bonuses-film__in--d650{animation-delay:.65s}
.tm-bonuses-film[data-tm-house-film-motion] [data-active] .tm-bonuses-film__in--d800{animation-delay:.8s}
.tm-bonuses-film[data-tm-house-film-motion] [data-active] .tm-bonuses-film__in--d1000{animation-delay:1s}
.tm-bonuses-film[data-tm-house-film-motion] [data-active] .tm-bonuses-film__visual{animation:tm-bonuses-film-float 6.283s ease-in-out both}
/* One wink in scene 5: the eye closes from 1050 to 1500 ms, after «тоже» appears at 650 ms. */
.tm-bonuses-film[data-tm-house-film-motion] [data-active] .tm-bonuses-film__eye-wink{animation:tm-bonuses-film-wink .45s linear 1.05s}
.tm-bonuses-film[data-tm-house-film-motion] [data-active] .tm-bonuses-film__eye-open{animation:tm-bonuses-film-blink .45s linear 1.05s}
.tm-bonuses-film[data-tm-house-film-motion] [data-active] .tm-bonuses-film__progress::before{animation:tm-bonuses-film-progress 2.3s linear both}
.tm-bonuses-film[data-tm-house-film-motion] .tm-bonuses-film__scene--s1[data-active] .tm-bonuses-film__progress::before{animation-duration:2.8s}
.tm-bonuses-film[data-tm-house-film-motion] .tm-bonuses-film__scene--s2[data-active] .tm-bonuses-film__progress::before{animation-duration:3.3s}
.tm-bonuses-film[data-tm-house-film-motion] .tm-bonuses-film__scene--s3[data-active] .tm-bonuses-film__progress::before{animation-duration:3.2s}
.tm-bonuses-film[data-tm-house-film-motion] .tm-bonuses-film__scene--s4[data-active] .tm-bonuses-film__progress::before{animation-duration:2.8s}
.tm-bonuses-film[data-tm-house-film-motion] .tm-bonuses-film__scene--s5[data-active] .tm-bonuses-film__progress::before{animation-duration:3.6s}
.tm-bonuses-film[data-tm-house-film-paused] .tm-bonuses-film__stage *,.tm-bonuses-film[data-tm-house-film-paused] .tm-bonuses-film__stage *::before{animation-play-state:paused!important}
.tm-bonuses-film[data-tm-house-film-reduced] .tm-bonuses-film__stage *,.tm-bonuses-film[data-tm-house-film-reduced] .tm-bonuses-film__stage *::before{animation:none!important}
@media (prefers-reduced-motion:reduce){.tm-bonuses-film .tm-bonuses-film__stage *,.tm-bonuses-film .tm-bonuses-film__stage *::before{animation:none!important}}

@media (min-width:1400px){
 .tm-bonuses-film .tm-bonuses-film__stage{height:600px}
 .tm-bonuses-film .tm-bonuses-film__tag{bottom:max(2%,calc(100% - 440px))}
}
@media (max-width:760px){
 .tm-bonuses-film .tm-bonuses-film__stage{height:550px;border-radius:20px}
 .tm-bonuses-film .tm-bonuses-film__brand{top:19px;left:22px;font-size:16px;gap:9px}
 .tm-bonuses-film .tm-bonuses-film__logo{width:28px;height:32px}
 .tm-bonuses-film .tm-bonuses-film__corner{display:none}
 .tm-bonuses-film .tm-bonuses-film__scene{padding:74px 24px 47px;grid-template-columns:1fr;grid-template-rows:210px 1fr}
 .tm-bonuses-film .tm-bonuses-film__copy{grid-row:2;align-self:start}
 .tm-bonuses-film .tm-bonuses-film__visual{grid-row:1;grid-column:1;width:100%;height:200px}
 .tm-bonuses-film .tm-bonuses-film__halo{width:230px;height:230px}
 .tm-bonuses-film .tm-bonuses-film__eyebrow{font-size:9px;letter-spacing:1.3px;margin-bottom:10px}
 .tm-bonuses-film .tm-bonuses-film__title{font-size:39px;letter-spacing:-1.8px;line-height:1.02}
 /* [fix-1] the demo hid these <br> without a space; the break element hides, the space stays. */
 .tm-bonuses-film .tm-bonuses-film__scene--s0 .tm-bonuses-film__accent .tm-bonuses-film__br{display:none}
 .tm-bonuses-film .tm-bonuses-film__scene--s0 .tm-bonuses-film__accent{margin-top:5px}
 .tm-bonuses-film .tm-bonuses-film__coffee{width:250px;max-height:255px;object-fit:contain}
 .tm-bonuses-film .tm-bonuses-film__tag{font-size:10px;padding:9px 12px;bottom:15px;right:0}
 .tm-bonuses-film .tm-bonuses-film__card{width:220px;height:160px;padding:17px;border-radius:15px;box-shadow:8px 10px 0 #AACFFF}
 .tm-bonuses-film .tm-bonuses-film__card b{font-size:39px}
 .tm-bonuses-film .tm-bonuses-film__card-top{font-size:6px}
 .tm-bonuses-film .tm-bonuses-film__card-bottom{font-size:7px}
 .tm-bonuses-film .tm-bonuses-film__card-bottom i{font-size:20px}
 .tm-bonuses-film .tm-bonuses-film__spark--one{font-size:49px;right:18px;top:0}
 .tm-bonuses-film .tm-bonuses-film__spark--two{font-size:32px;left:20px;bottom:0}
 .tm-bonuses-film .tm-bonuses-film__lead{font-size:14px;margin-top:12px}
 .tm-bonuses-film .tm-bonuses-film__small-coffee{width:170px;top:-25px;left:8px}
 .tm-bonuses-film .tm-bonuses-film__groceries{width:210px;right:-8px;bottom:-5px}
 .tm-bonuses-film .tm-bonuses-film__transfer{font-size:11px;padding:8px 12px;left:0;top:44%}
 .tm-bonuses-film .tm-bonuses-film__transfer b{font-size:18px;margin-left:10px}
 .tm-bonuses-film .tm-bonuses-film__scene--s2 .tm-bonuses-film__title{font-size:35px}
 .tm-bonuses-film .tm-bonuses-film__scene--s2 .tm-bonuses-film__title .tm-bonuses-film__br{display:none}
 .tm-bonuses-film .tm-bonuses-film__scene--s2 .tm-bonuses-film__copy{padding-top:7px}
 .tm-bonuses-film .tm-bonuses-film__lead--large{font-size:22px}
 .tm-bonuses-film .tm-bonuses-film__invite{width:195px;height:180px;padding:17px;box-shadow:8px 11px 0 #FFCABC;border-radius:14px}
 .tm-bonuses-film .tm-bonuses-film__invite-top{font-size:6px;letter-spacing:1px}
 .tm-bonuses-film .tm-bonuses-film__invite b{font-size:37px;letter-spacing:-1px;margin-top:17px}
 .tm-bonuses-film .tm-bonuses-film__invite small{font-size:9px;bottom:17px}
 .tm-bonuses-film .tm-bonuses-film__invite-arrow{width:34px;height:34px;font-size:24px;bottom:13px;right:13px}
 .tm-bonuses-film .tm-bonuses-film__wink{width:180px;height:180px}
 .tm-bonuses-film .tm-bonuses-film__aside{font-size:12px;right:0;bottom:4px}
 .tm-bonuses-film .tm-bonuses-film__surprise{font-size:1.55em;letter-spacing:-3px}
 .tm-bonuses-film .tm-bonuses-film__scene--s4 .tm-bonuses-film__title{font-size:37px}
 .tm-bonuses-film .tm-bonuses-film__phoenix{height:195px;width:180px}
 .tm-bonuses-film .tm-bonuses-film__scene--s5 .tm-bonuses-film__title{font-size:48px}
 .tm-bonuses-film .tm-bonuses-film__scene--s5 .tm-bonuses-film__line{display:inline}
 /* [fix-3] demo: the CTA ran over «ТМ Бонусы — баллы для скидки»; the final picture row is 10 px lower and the copy starts 8 px higher. */
 .tm-bonuses-film .tm-bonuses-film__scene--s5{grid-template-rows:200px 1fr}
 .tm-bonuses-film .tm-bonuses-film__scene--s5 .tm-bonuses-film__copy{padding-top:0}
 .tm-bonuses-film .tm-bonuses-film__lead--final{font-size:14px;line-height:1.35;margin-top:10px}
 .tm-bonuses-film .tm-bonuses-film__cta{display:flex;font-size:14px;padding:14px 17px;margin-top:15px;gap:20px;width:100%;justify-content:space-between}
 .tm-bonuses-film .tm-bonuses-film__cta span{font-size:18px}
 .tm-bonuses-film .tm-bonuses-film__disclaimer{left:24px;bottom:20px;font-size:11px}
 .tm-bonuses-film .tm-bonuses-film__scene--s1 .tm-bonuses-film__title{font-size:36px}
 .tm-bonuses-film .tm-bonuses-film__scene--s1 .tm-bonuses-film__title .tm-bonuses-film__br{display:none}
}
