/*! ISHOD — конструктор сайтів ishod.studio. Код і шаблони — лише для сайтів на платформі ISHOD; копіювання й використання поза нею заборонено: https://ishod.studio/umovy/#p6 */
/* Блоки групи «Дизайн і анімація» (templates/store/sections/fx_*.html, скрипт static/js/store-effects.js).
   Кольори — лише з теми сайту (--accent, --bg, --text, --surface…) і схеми секції (.sx--scheme-*).
   Без JS, у редакторі й при «зменшити рух» блок статичний: усе видно одразу. Клас .is-armed ставить скрипт —
   тоді сюрприз ховається до дотику. */
.efx { --fx-ink: var(--accent); --fx-on: #fff; --fx-card: var(--surface); --fx-tile: var(--text); --fx-tile-ink: var(--bg);
  --fx-stub: var(--accent); text-align: center; }
.sx--scheme-soft .efx { --fx-card: var(--bg); }
.sx--scheme-accent .efx { --fx-ink: #fff; --fx-on: var(--accent); --fx-card: rgba(255, 255, 255, .14); --fx-tile: #fff; --fx-tile-ink: var(--accent);
  --fx-stub: color-mix(in srgb, var(--accent) 62%, #000); }
.sx--scheme-dark .efx { --fx-ink: color-mix(in srgb, var(--accent) 45%, #fff); --fx-on: #121216; --fx-card: #1e1e24; --fx-tile: #2a2a33; --fx-tile-ink: #f4f4f5; }
.efx h2, .efx h3 { text-wrap: balance; }
/* кнопка-контур на темній / акцентній секції — колір тексту секції, а не теми */
.sx--scheme-dark .efx .btn--ghost, .sx--scheme-accent .efx .btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.efx [role="button"] { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.efx [role="button"]:focus-visible { outline: 2px solid var(--fx-ink); outline-offset: 4px; }
@keyframes efx-rise { from { opacity: 0; transform: translateY(32px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes efx-pop-in { from { opacity: 0; transform: translateY(24px) scale(.6); } to { opacity: 1; transform: none; } }

/* конфеті — шар прямо в body (fixed усередині блоку з transform рахувався б від блоку) */
.efx-confetti { position: fixed; inset: 0; z-index: 60; overflow: hidden; pointer-events: none; }
.efx-confetti i { position: absolute; left: 0; top: 0; will-change: transform; }

/* --- лічильник часу ------------------------------------------------------------ */
.efx-timer__title { margin: 0 0 20px; }
.efx-timer__board { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 20px; }
.efx-timer__u { display: grid; justify-items: center; gap: 8px; }
.efx-timer__u small { font-size: .9rem; opacity: .72; }
.efx-timer__tiles { display: flex; gap: 4px; }
.efx-tile { position: relative; display: grid; place-items: center; width: calc(46px * var(--k, 1)); height: calc(64px * var(--k, 1)); overflow: hidden;
  border-radius: 8px; background: var(--fx-tile); color: var(--fx-tile-ink); perspective: 200px;
  font: 700 calc(38px * var(--k, 1))/1 var(--font-head); font-variant-numeric: tabular-nums; box-shadow: 0 6px 14px rgba(0, 0, 0, .16); }
.efx-tile::before { content: ""; position: absolute; inset: 0 0 50%; background: rgba(255, 255, 255, .08); }
.efx-tile::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, .3); }
.efx-tile b { display: block; font-weight: inherit; }
.efx-tile.is-flip b { animation: efx-tile .42s cubic-bezier(.3, 1.3, .5, 1); }
@keyframes efx-tile { from { transform: rotateX(-88deg); opacity: .2; } to { transform: none; opacity: 1; } }
.efx-timer--big .efx-timer__tiles { gap: 0; }
.efx-timer--big .efx-tile { width: auto; height: auto; overflow: visible; background: none; box-shadow: none; color: var(--fx-ink);
  font-size: calc(clamp(2.6rem, 7vw, 4.4rem) * var(--k, 1)); }
.efx-timer--big .efx-tile::before, .efx-timer--big .efx-tile::after { display: none; }
.efx-timer__text { max-width: 46ch; margin: 22px auto 0; opacity: .85; }
.efx-timer__done { margin: 14px 0 0; font-weight: 700; color: var(--fx-ink); }

/* --- картки, що перевертаються ------------------------------------------------ */
.efx-flip { text-align: left; }
.efx-flip__hint { margin: -8px 0 16px; }
.efx-flip__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 232px), 1fr)); gap: 16px; }
.efx-flip__card { position: relative; border-radius: var(--radius); background: var(--fx-card); }
.efx-flip__face { padding: calc(20px * var(--k, 1)); }
.efx-flip__front { display: grid; gap: 6px; }
.efx-flip__icon { font-size: calc(2rem * var(--k, 1)); line-height: 1.1; }
.efx-flip__icon:empty { display: none; }
.efx-flip__q { font: 700 calc(1.12rem * var(--k, 1))/1.3 var(--font-head); }
.efx-flip__turn { display: none; }
.efx-flip__back { border-top: 1px dashed color-mix(in srgb, currentColor 25%, transparent); }
.efx-flip__back p { margin: 0; }
.efx-flip.is-armed .efx-flip__card { background: none; perspective: 1100px; }
.efx-flip.is-armed .efx-flip__inner { display: grid; min-height: calc(190px * var(--k, 1)); transform-style: preserve-3d; transition: transform .65s cubic-bezier(.3, 1.25, .4, 1); }
.efx-flip.is-armed .efx-flip__face { position: relative; grid-area: 1 / 1; display: grid; align-content: center; justify-items: center; text-align: center;
  padding: calc(24px * var(--k, 1)) 20px; border-radius: var(--radius); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.efx-flip.is-armed .efx-flip__front { background: var(--fx-card); }
.efx-flip.is-armed .efx-flip__back { border: 0; background: var(--fx-ink); color: var(--fx-on); transform: rotateY(180deg); }
.efx-flip.is-armed .efx-flip__turn { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  color: var(--fx-ink); background: color-mix(in srgb, currentColor 12%, transparent); font-size: 17px; }
.efx-flip.is-armed .is-flipped .efx-flip__inner { transform: rotateY(180deg); }
@media (hover: hover) { .efx-flip.is-armed .efx-flip__card:not(.is-flipped):hover .efx-flip__inner { transform: rotateY(14deg); } }

/* --- конверт-сюрприз ---------------------------------------------------------- */
.efx-env { --env: color-mix(in srgb, var(--accent) 14%, var(--bg)); --env-side: color-mix(in srgb, var(--accent) 24%, var(--bg));
  --env-flap: color-mix(in srgb, var(--accent) 32%, var(--bg)); --env-back: color-mix(in srgb, var(--accent) 72%, #000);
  --seal: var(--accent); }
.sx--scheme-accent .efx-env { --seal: color-mix(in srgb, var(--accent) 62%, #000); }
.efx-env__title { margin: 0 0 22px; }
.efx-env__stage, .efx-env__hint { display: none; }
.efx-env.is-armed .efx-env__stage, .is-editing .efx-env__stage { display: block; }
.efx-env.is-armed .efx-env__hint, .is-editing .efx-env__hint { display: block; }
.efx-env__stage { position: relative; width: min(100%, 440px); aspect-ratio: 400 / 272; margin: 0 auto; perspective: 1200px; }
.is-editing .efx-env__stage { width: min(100%, 320px); margin-bottom: 18px; }
.efx-env__back { position: absolute; inset: 0; border-radius: 8px; background: var(--env-back); box-shadow: 0 28px 50px -26px rgba(0, 0, 0, .55); }
.efx-env__peek { position: absolute; left: 6%; right: 6%; top: 6%; height: 86%; z-index: 2; padding: 9% 8% 0; border-radius: 4px; overflow: hidden;
  background: var(--bg); color: var(--text); font: 700 clamp(1rem, 4.2vw, 1.4rem)/1.2 var(--font-head); transition: transform 1.05s cubic-bezier(.2, .75, .2, 1); }
.efx-env__pocket { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; }
.efx-env__pocket path { stroke: rgba(0, 0, 0, .08); stroke-width: 1; }
.efx-env__pocket .l, .efx-env__pocket .r { fill: var(--env-side); }
.efx-env__pocket .b { fill: var(--env); }
.efx-env__to { position: absolute; left: 0; right: 0; bottom: 9%; z-index: 3; margin: 0; padding: 0 14%; color: var(--text);
  font: 600 clamp(1rem, 4.4vw, 1.35rem)/1.15 var(--font-head); pointer-events: none; }
.is-editing .efx-env__to { pointer-events: auto; }
.efx-env__flap { position: absolute; left: 0; top: 0; z-index: 4; width: 100%; height: 57%; transform-origin: 50% 0;
  transition: transform .8s cubic-bezier(.55, 0, .3, 1); }
.efx-env__flap svg { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 3px 2px rgba(0, 0, 0, .1)); }
.efx-env__flap polygon { fill: var(--env-flap); }
.efx-env__seal { position: absolute; left: 50%; top: 57%; z-index: 6; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; }
.efx-env__half { position: absolute; inset: 0; border-radius: 50%; transition: transform .75s cubic-bezier(.3, .6, .3, 1), opacity .75s;
  background: radial-gradient(circle at 34% 30%, color-mix(in srgb, var(--seal) 62%, #fff), var(--seal) 52%, color-mix(in srgb, var(--seal) 70%, #000));
  box-shadow: 0 4px 9px rgba(0, 0, 0, .3), inset 0 0 0 5px rgba(0, 0, 0, .12); }
.efx-env__half--l { clip-path: polygon(0 0, 53% 0, 47% 22%, 56% 42%, 45% 62%, 54% 82%, 48% 100%, 0 100%); }
.efx-env__half--r { clip-path: polygon(53% 0, 100% 0, 100% 100%, 48% 100%, 54% 82%, 45% 62%, 56% 42%, 47% 22%); }
.efx-env__seal b { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font: 700 1.45rem/1 var(--font-head);
  text-shadow: 0 1px 1px rgba(0, 0, 0, .35); transition: opacity .3s; }
.efx-env.is-armed:not(.is-opening) .efx-env__seal { animation: efx-nudge 2.6s ease-in-out infinite; }
@keyframes efx-nudge { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.07) rotate(-4deg); } }
.efx-env.is-opening .efx-env__half--l { transform: translate(-42px, 64px) rotate(-38deg); opacity: 0; }
.efx-env.is-opening .efx-env__half--r { transform: translate(42px, 70px) rotate(34deg); opacity: 0; }
.efx-env.is-opening .efx-env__seal b, .efx-env.is-opening + .efx-env__hint, .efx-env.is-opening .efx-env__hint { opacity: 0; }
.efx-env.is-flap .efx-env__flap { transform: rotateX(180deg); }
.efx-env.is-under .efx-env__flap { z-index: 1; }
.efx-env.is-out .efx-env__peek { transform: translateY(-56%); }
.efx-env__hint { margin: 16px 0 0; transition: opacity .3s; }
.efx-env.is-armed:not(.is-open) .efx-env__letter { display: none; }
.efx-env.is-open .efx-env__stage, .efx-env.is-open .efx-env__hint { display: none; }
.efx-env.is-open .efx-env__letter { animation: efx-rise .7s cubic-bezier(.2, .8, .2, 1) both; }
.efx-env__letter { position: relative; max-width: 560px; margin: 0 auto; padding: calc(36px * var(--k, 1)) 26px 30px; border-radius: var(--radius);
  background: var(--bg); color: var(--text); box-shadow: 0 20px 44px -24px rgba(0, 0, 0, .4), 0 0 0 1px var(--line); outline: none; }
.efx-env__letter:has(.efx-env__badge) { margin-top: 44px; }
.efx-env__badge { position: absolute; left: 50%; top: -24px; display: grid; place-items: center; width: 48px; height: 48px; margin-left: -24px; border-radius: 50%;
  background: var(--seal); color: #fff; font: 700 1.1rem/1 var(--font-head); box-shadow: 0 4px 10px rgba(0, 0, 0, .25); }
.efx-env__h { margin: 0 0 10px; font-size: calc(clamp(1.35rem, 3.2vw, 1.75rem) * var(--k, 1)); }
.efx-env__text { max-width: 46ch; margin: 0 auto; }
.efx-env__sign { margin: 14px 0 0; font-style: italic; color: var(--muted); }
.efx-env__letter .btn { margin-top: 20px; }
.sx--scheme-accent .efx-env__letter .btn { background: var(--accent); color: #fff; }

/* --- кнопка «Ні», що тікає ------------------------------------------------------ */
.efx-run { max-width: 680px; margin: 0 auto; padding: calc(36px * var(--k, 1)) 24px calc(22px * var(--k, 1)); border-radius: calc(var(--radius) * 1.4); background: var(--fx-card); }
.efx-run__q { margin: 0 0 10px; font-size: calc(clamp(1.4rem, 3.4vw, 2rem) * var(--k, 1)); }
.efx-run__text { max-width: 44ch; margin: 0 auto 22px; opacity: .85; }
.efx-run__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; min-height: 52px; }
.efx-run__yes { transition: transform .25s cubic-bezier(.3, 1.4, .5, 1), filter .15s; }
.efx-run__nope { min-height: 1.55em; margin: 14px 0 0; font-weight: 600; color: var(--fx-ink); }
.efx-run__done { margin-top: 20px; padding-top: 20px; border-top: 1px dashed color-mix(in srgb, currentColor 25%, transparent); outline: none; }
.efx-run__dt { margin: 0 0 8px; font-size: calc(clamp(1.35rem, 3vw, 1.8rem) * var(--k, 1)); }
.efx-run__done p { max-width: 44ch; margin: 0 auto; }
.efx-run__done .btn { margin-top: 18px; }
.efx-run.is-armed .efx-run__done { display: none; }
.efx-run.is-done .efx-run__ask { display: none; }
.efx-run.is-done .efx-run__done { display: block; margin: 0; padding: 0; border: 0; animation: efx-pop-in .6s cubic-bezier(.3, 1.4, .5, 1) both; }
/* «Ні», що втекло: лежить прямо в body (позиція — від сторінки), тож свої кольори, не секції */
.efx-run__no--loose { position: absolute; z-index: 20; margin: 0; background: var(--bg) !important; color: var(--text) !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .18), inset 0 0 0 1.5px var(--line) !important;
  transition: left .3s cubic-bezier(.3, 1.3, .5, 1), top .3s cubic-bezier(.3, 1.3, .5, 1); touch-action: none; }

/* --- подарунок ----------------------------------------------------------------- */
.efx-gift { --gift: var(--accent); --gift-lid: color-mix(in srgb, var(--accent) 84%, #fff); --ribbon: color-mix(in srgb, var(--accent) 22%, #fff); }
.sx--scheme-accent .efx-gift { --gift: #fff; --gift-lid: color-mix(in srgb, var(--accent) 10%, #fff); --ribbon: color-mix(in srgb, var(--accent) 70%, #000); }
.efx-gift__title { margin: 0 0 12px; }
.efx-gift__box { position: relative; width: calc(150px * var(--k, 1)); height: calc(140px * var(--k, 1)); margin: 44px auto 0; border-radius: 12px; }
.efx-gift__body { position: absolute; left: 8%; right: 8%; bottom: 0; height: 66%; border-radius: 5px 5px 10px 10px;
  background: linear-gradient(90deg, transparent 43%, var(--ribbon) 43% 57%, transparent 57%), var(--gift);
  box-shadow: inset 0 12px 0 rgba(0, 0, 0, .1), 0 20px 30px -18px rgba(0, 0, 0, .55); }
.efx-gift__lid { position: absolute; left: 0; right: 0; top: 18%; z-index: 2; height: 22%; border-radius: 6px;
  background: linear-gradient(90deg, transparent 43%, var(--ribbon) 43% 57%, transparent 57%), var(--gift-lid);
  box-shadow: 0 4px 8px rgba(0, 0, 0, .14); transition: transform .7s cubic-bezier(.3, 1.35, .5, 1); }
.efx-gift__bow { position: absolute; bottom: 100%; left: 50%; width: 34%; height: 110%; border: 7px solid var(--ribbon); border-bottom-width: 9px; }
.efx-gift__bow--l { margin-left: -34%; border-radius: 70% 30% 8% 70%; transform: rotate(-12deg); transform-origin: 100% 100%; }
.efx-gift__bow--r { border-radius: 30% 70% 70% 8%; transform: rotate(12deg); transform-origin: 0 100%; }
.efx-gift:not(.is-armed) .efx-gift__lid, .efx-gift.is-open .efx-gift__lid { transform: translate(-48px, -20px) rotate(-24deg); }
.efx-gift:not(.is-armed) .efx-gift__box { width: calc(110px * var(--k, 1)); height: calc(104px * var(--k, 1)); }
.efx-gift__hint { display: none; margin: 14px 0 0; }
.efx-gift.is-armed:not(.is-open) .efx-gift__hint, .is-editing .efx-gift__hint { display: block; }
.efx-gift.is-armed:not(.is-open) .efx-gift__box { animation: efx-wiggle 2.8s ease-in-out infinite; }
.efx-gift.is-shake .efx-gift__box { animation: efx-shake .5s ease-in-out; }
@keyframes efx-wiggle { 0%, 70%, 100% { transform: none; } 76% { transform: rotate(-6deg); } 82% { transform: rotate(5deg); } 88% { transform: rotate(-3deg); } 94% { transform: rotate(2deg); } }
@keyframes efx-shake { 0%, 100% { transform: none; } 20% { transform: translateX(-6px) rotate(-5deg); } 40% { transform: translateX(6px) rotate(5deg); } 60% { transform: translateX(-4px) rotate(-3deg); } 80% { transform: translateX(4px) rotate(2deg); } }
.efx-gift__prize { max-width: 520px; margin: 18px auto 0; padding: calc(26px * var(--k, 1)) 22px; border-radius: var(--radius); background: var(--fx-card); outline: none; }
.efx-gift.is-armed:not(.is-open) .efx-gift__prize { display: none; }
.efx-gift.is-open .efx-gift__prize { animation: efx-pop-in .65s cubic-bezier(.3, 1.4, .5, 1) both; }
.efx-gift__big { display: block; margin-bottom: 8px; color: var(--fx-ink); font: 800 calc(clamp(2.4rem, 7vw, 3.6rem) * var(--k, 1))/1.05 var(--font-head); }
.efx-gift__prize p { max-width: 44ch; margin: 0 auto; }
.efx-gift__code { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin: 18px 0 4px; }
.efx-gift__code code { display: inline-flex; align-items: center; min-height: 48px; padding: 8px 18px; border: 2px dashed currentColor; border-radius: 10px;
  font: 700 1.2rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .12em; }
.efx-gift__prize > .btn { margin-top: 14px; }

/* --- кнопка з конфеті ------------------------------------------------------------ */
.efx-pop { position: relative; }
.efx-pop--box { max-width: 780px; margin: 0 auto; padding: calc(46px * var(--k, 1)) 24px; overflow: hidden; border-radius: calc(var(--radius) * 1.6); background: var(--fx-card); }
/* розсипане конфеті по кутах — з кольору акценту */
.efx-pop--box::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, color-mix(in srgb, var(--fx-ink) 55%, transparent) 3px, transparent 3.5px),
                    radial-gradient(circle, color-mix(in srgb, var(--fx-ink) 30%, transparent) 2px, transparent 2.5px),
                    radial-gradient(circle, color-mix(in srgb, var(--fx-ink) 75%, transparent) 2.5px, transparent 3px);
  background-size: 41px 37px, 29px 53px, 67px 59px; background-position: 0 0, 13px 21px, 31px 7px;
  -webkit-mask: radial-gradient(circle at 0 0, #000, transparent 24%), radial-gradient(circle at 100% 100%, #000, transparent 24%);
          mask: radial-gradient(circle at 0 0, #000, transparent 24%), radial-gradient(circle at 100% 100%, #000, transparent 24%); }
.efx-pop__title { position: relative; margin: 0 0 10px; }
.efx-pop__text { position: relative; max-width: 52ch; margin: 0 auto 24px; opacity: .85; }
.efx-pop__btn { position: relative; transition: transform .2s cubic-bezier(.3, 1.4, .5, 1), filter .15s; }
.efx-pop__btn:hover { transform: scale(1.05); }
.efx-pop__btn:active { transform: scale(.96); }

/* --- квиток / купон ---------------------------------------------------------------- */
.efx-ticket { max-width: 460px; margin: 0 auto; text-align: left; }
.efx-ticket__paper { filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .2)); }
.efx-ticket__main { position: relative; padding: calc(26px * var(--k, 1)) 26px 22px; border-radius: 12px 12px 0 0; background: var(--bg); color: var(--text);
  -webkit-mask: radial-gradient(circle 12px at 0 100%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% 100%, #0000 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 12px at 0 100%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% 100%, #0000 98%, #000) right / 51% 100% no-repeat; }
.efx-ticket__main::before { content: ""; position: absolute; inset: 9px 9px 0; border: 1.5px solid var(--fx-stub); border-bottom: 0; border-radius: 7px 7px 0 0; pointer-events: none; opacity: .6; }
.efx-ticket__label { margin: 0; color: var(--accent-ink); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.efx-ticket__title { margin: 6px 0 14px; font-size: calc(clamp(1.6rem, 5vw, 2.2rem) * var(--k, 1)); }
.efx-ticket__details { margin: 0; padding: 0; list-style: none; }
.efx-ticket__details li { padding: 7px 0; border-top: 1px solid var(--line); }
.efx-ticket__details li:first-child { font-weight: 700; }
.efx-ticket__stub { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 26px 20px;
  border-top: 2px dashed rgba(255, 255, 255, .55); border-radius: 0 0 12px 12px; background: var(--fx-stub); color: #fff;
  transition: transform .9s cubic-bezier(.3, 1.3, .5, 1);
  -webkit-mask: radial-gradient(circle 12px at 0 0, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% 0, #0000 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 12px at 0 0, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% 0, #0000 98%, #000) right / 51% 100% no-repeat; }
.efx-ticket__stub span { font-weight: 600; line-height: 1.3; }
.efx-ticket__stub b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.efx-ticket--coupon .efx-ticket__main { border-radius: 4px 4px 0 0; background: var(--fx-stub); color: #fff; }
.efx-ticket--coupon .efx-ticket__main::before { border: 2px dashed rgba(255, 255, 255, .6); border-bottom: 0; opacity: 1; }
.efx-ticket--coupon .efx-ticket__label { color: #fff; opacity: .85; }
.efx-ticket--coupon .efx-ticket__details li { border-color: rgba(255, 255, 255, .25); }
.efx-ticket--coupon .efx-ticket__stub { border-radius: 0 0 4px 4px; border-top-color: var(--line); background: var(--bg); color: var(--text); padding-left: 52px; }
.efx-ticket__scissors { position: absolute; left: 14px; top: 50%; width: 26px; height: 26px; margin-top: -13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; opacity: .7; }
.efx-ticket.is-armed:not(.is-torn) .efx-ticket__stub:hover { transform: rotate(-1.2deg); }
.efx-ticket.is-torn .efx-ticket__stub { transform: translate(14px, 34px) rotate(6deg); cursor: default; }
.efx-ticket__after { margin-top: 22px; text-align: center; outline: none; }
.efx-ticket__after p { margin: 0; }
.efx-ticket__after .btn { margin-top: 16px; }
.efx-ticket.is-armed:not(.is-torn) .efx-ticket__after { display: none; }
.efx-ticket.is-torn .efx-ticket__after { margin-top: 58px; animation: efx-rise .6s .25s both; }
.efx-ticket__after:empty { display: none; }

@media (max-width: 640px) {
  .efx-timer__board { gap: 14px 12px; }
  .efx-timer__u[data-u="d"] { flex-basis: 100%; }
  .efx-tile { width: calc(40px * var(--k, 1)); height: calc(56px * var(--k, 1)); font-size: calc(32px * var(--k, 1)); }
  .efx-run { padding: 28px 18px 18px; }
  .efx-flip.is-armed .efx-flip__inner { min-height: calc(150px * var(--k, 1)); }
  .efx-ticket__main { padding: 22px 20px 18px; }
  .efx-ticket__stub { padding: 16px 20px 18px; }
  .efx-ticket--coupon .efx-ticket__stub { padding-left: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .efx *, .efx, .efx-run__no--loose { animation: none !important; transition: none !important; }
}
