/**
 * To3e Website Cost Calculator — مینیمال
 * همه قوانین داخل .to3e-calc محدود شده‌اند و روی بقیه سایت اثری ندارند.
 */

.to3e-calc {
  --c-primary: var(--to3e-primary, #0d9488);
  --c-btn: var(--to3e-button, var(--c-primary));
  --c-on: #ffffff;
  --c-bg: var(--to3e-bg, #ffffff);
  --c-surface: transparent;
  --c-surface-2: #ffffff;
  --c-text: #0f172a;
  --c-muted: #64748b;
  --c-line: #e5e7eb;
  --c-soft: rgba(13, 148, 136, .07);
  --c-shadow: rgba(15, 23, 42, .08);
  --c-danger: #dc2626;
  --c-radius: 16px;
  --c-ease: cubic-bezier(.22, 1, .36, 1);
  --c-font: var(--to3e-font, inherit);
  --c-sticky: 24px;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(16px, 3vw, 32px);
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--c-font);
  line-height: 1.8;
  text-align: right;
  direction: rtl;
  overflow-x: clip;
}
@supports (background: color-mix(in srgb, red 10%, transparent)) {
  .to3e-calc { --c-soft: color-mix(in srgb, var(--c-primary) 8%, transparent); }
}

/* هماهنگی خودکار با قالب to3edev (رنگ‌ها و حالت شب/روز) */
.to3e-calc.is-themed {
  --c-primary: var(--t3-a, #2dd4bf);
  --c-btn: var(--t3-a, #2dd4bf);
  --c-on: var(--t3-on-a, #031513);
  --c-bg: transparent;
  --c-surface: transparent;
  --c-surface-2: var(--t3-bg-2, #0c0f15);
  --c-text: var(--t3-ink, #eef4f6);
  --c-muted: var(--t3-mute, #8b97a6);
  --c-line: var(--t3-line-2, rgba(255, 255, 255, .14));
  --c-shadow: var(--t3-shadow, rgba(0, 0, 0, .5));
  --c-sticky: 110px;
}

/* reset (stronger than theme content styles) */
.to3e-calc.to3e-calc :where(h2, h3, h4, p, ul, ol, dl, dd, dt, figure) { margin: 0; padding: 0; }
.to3e-calc.to3e-calc *, .to3e-calc.to3e-calc *::before, .to3e-calc.to3e-calc *::after { box-sizing: border-box; }
.to3e-calc.to3e-calc button { font: inherit; color: inherit; letter-spacing: normal; text-transform: none; }
.to3e-calc.to3e-calc a { text-decoration: none; }
.to3e-calc.to3e-calc img { border-radius: 0; max-width: 100%; height: auto; }
.to3e-calc.to3e-calc ul, .to3e-calc.to3e-calc ol { list-style: none; }
.to3e-calc.to3e-calc :focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; }
.to3e-calc [hidden] { display: none !important; }

/* ── Head + progress ── */
.to3e-calc .to3e-head { margin-bottom: 28px; max-width: 720px; }
.to3e-calc .to3e-head__title { font-size: clamp(24px, 3vw, 34px); font-weight: 800; line-height: 1.5; color: var(--c-text); }
.to3e-calc .to3e-head__sub { margin-top: 4px; color: var(--c-muted); font-size: 15px; }
.to3e-calc .to3e-progress { margin-top: 24px; display: flex; align-items: center; gap: 14px; }
.to3e-calc .to3e-progress__track { order: 2; flex: 1; height: 2px; border-radius: 2px; background: var(--c-line); overflow: hidden; }
.to3e-calc .to3e-progress__fill { display: block; height: 100%; width: 0; background: var(--c-primary); transition: width .7s var(--c-ease); margin-inline-start: auto; }
.to3e-calc .to3e-progress__steps { order: 1; display: flex; gap: 6px; flex: none; }
.to3e-calc .to3e-progress__step button { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border-radius: 50%; border: 1px solid var(--c-line); background: transparent; cursor: pointer; font-size: 12px; font-weight: 700; color: var(--c-muted); transition: all .3s; }
.to3e-calc .to3e-progress__step button:disabled { cursor: default; opacity: .45; }
.to3e-calc .to3e-progress__label { display: none; }
.to3e-calc .to3e-progress__step.is-done button { border-color: var(--c-primary); color: var(--c-primary); }
.to3e-calc .to3e-progress__step.is-current button { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-on); }
@media (max-width: 600px) { .to3e-calc .to3e-progress__step button { width: 26px; height: 26px; font-size: 11px; } }

/* ── Layout ── */
.to3e-calc .to3e-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
@media (min-width: 1024px) { .to3e-calc .to3e-body { grid-template-columns: minmax(0, 1fr) 320px; } }
.to3e-calc .to3e-main { min-width: 0; min-height: 300px; }

/* ── Screen ── */
.to3e-calc .to3e-screen__kicker { color: var(--c-muted); font-size: 13px; margin-bottom: 4px; }
.to3e-calc .to3e-screen__title { font-size: clamp(20px, 2.2vw, 26px); font-weight: 800; line-height: 1.6; color: var(--c-text); }
.to3e-calc .to3e-screen__desc { color: var(--c-muted); margin-top: 2px; font-size: 14.5px; }

/* ── Cards ── */
.to3e-calc .to3e-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 12px; margin-top: 22px; }
.to3e-calc .to3e-card { position: relative; display: flex; flex-direction: column; border-radius: var(--c-radius); border: 1px solid var(--c-line); background: var(--c-surface); transition: border-color .25s, background .25s; }
.to3e-calc .to3e-card:hover { border-color: color-mix(in srgb, var(--c-primary) 45%, var(--c-line)); }
.to3e-calc .to3e-card.is-selected { border-color: var(--c-primary); background: var(--c-soft); }
.to3e-calc .to3e-card__main { all: unset; box-sizing: border-box; display: flex; flex-direction: column; gap: 4px; padding: 16px; cursor: pointer; flex: 1; border-radius: inherit; min-height: 132px; }
.to3e-calc .to3e-card__main:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; }
.to3e-calc .to3e-card__icon { width: 36px; height: 36px; display: grid; place-items: center; color: var(--c-muted); margin-bottom: 6px; transition: color .25s; }
.to3e-calc .to3e-card__icon svg { width: 26px; height: 26px; }
.to3e-calc .to3e-card__icon img { width: 28px; height: 28px; object-fit: contain; }
.to3e-calc .to3e-card:hover .to3e-card__icon, .to3e-calc .to3e-card.is-selected .to3e-card__icon { color: var(--c-primary); }
.to3e-calc .to3e-card__title { font-weight: 700; font-size: 15.5px; line-height: 1.6; color: var(--c-text); padding-inline-end: 24px; }
.to3e-calc .to3e-card__desc { color: var(--c-muted); font-size: 13px; line-height: 1.8; }
.to3e-calc .to3e-card__price { margin-top: auto; padding-top: 10px; font-weight: 700; font-size: 13.5px; color: var(--c-text); }
.to3e-calc .to3e-card__price small { font-weight: 400; color: var(--c-muted); font-size: 12px; }
.to3e-calc .to3e-card__price.is-free { color: var(--c-muted); font-weight: 400; font-size: 12.5px; }
.to3e-calc .to3e-card__mult { font-size: 11.5px; color: var(--c-muted); }
.to3e-calc .to3e-card__check { position: absolute; top: 14px; left: 14px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--c-line); color: transparent; transition: all .25s; }
.to3e-calc .to3e-card__check svg { width: 12px; height: 12px; }
.to3e-calc .to3e-card.is-selected .to3e-card__check { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-on); }
.to3e-calc .to3e-card__help { all: unset; box-sizing: border-box; cursor: pointer; margin: 0 16px 12px; font-size: 12px; color: var(--c-muted); align-self: flex-start; min-height: 24px; transition: color .2s; }
.to3e-calc .to3e-card__help:hover { color: var(--c-primary); }
.to3e-calc .to3e-card__helptext { margin: 0 16px 14px; padding-top: 10px; border-top: 1px dashed var(--c-line); font-size: 13px; color: var(--c-text); line-height: 1.95; }

.to3e-calc .to3e-card--unsure { border-style: dashed; }
.to3e-calc .to3e-card--unsure.is-open { border-color: var(--c-primary); }
.to3e-calc .to3e-hint { display: flex; gap: 14px; align-items: flex-start; margin-top: 12px; padding: 16px; border-radius: var(--c-radius); border: 1px solid var(--c-primary); background: var(--c-soft); animation: to3e-in .4s var(--c-ease); }
.to3e-calc .to3e-hint__icon { color: var(--c-primary); flex: none; }
.to3e-calc .to3e-hint__body p { color: var(--c-text); font-size: 14px; margin: 4px 0 12px; }

/* start screen */
.to3e-calc .to3e-grid--start { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.to3e-calc .to3e-pick { all: unset; box-sizing: border-box; position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 18px; cursor: pointer; border: 1px solid var(--c-line); transition: border-color .25s, background .25s; min-height: 180px; }
.to3e-calc .to3e-pick:hover { border-color: var(--c-primary); }
.to3e-calc .to3e-pick:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 3px; }
.to3e-calc .to3e-pick__badge { position: absolute; top: 16px; left: 16px; padding: 1px 10px; border-radius: 999px; border: 1px solid var(--c-primary); color: var(--c-primary); font-size: 11.5px; font-weight: 700; }
.to3e-calc .to3e-pick__icon { color: var(--c-primary); margin-bottom: 8px; }
.to3e-calc .to3e-pick__icon svg { width: 28px; height: 28px; }
.to3e-calc .to3e-pick__title { font-size: 17px; font-weight: 800; color: var(--c-text); }
.to3e-calc .to3e-pick__desc { color: var(--c-muted); font-size: 13.5px; line-height: 1.85; }
.to3e-calc .to3e-pick__inc { margin-top: auto; padding-top: 8px; font-size: 12px; color: var(--c-muted); }
.to3e-calc .to3e-pick__off { font-size: 12.5px; font-weight: 700; color: var(--c-primary); }
.to3e-calc .to3e-pick--ghost, .to3e-calc .to3e-pick--smart { border-style: dashed; }

/* ── Buttons & nav ── */
.to3e-calc .to3e-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent; background: var(--c-btn); color: var(--c-on); font-weight: 700; font-size: 15px; cursor: pointer; transition: opacity .2s, background .2s, border-color .2s; }
.to3e-calc .to3e-btn:hover { opacity: .9; }
.to3e-calc .to3e-btn:disabled, .to3e-calc .to3e-btn.is-disabled { opacity: .45; }
.to3e-calc .to3e-btn--ghost { background: transparent; color: var(--c-text); border-color: var(--c-line); }
.to3e-calc .to3e-btn--ghost:hover { border-color: var(--c-text); opacity: 1; }
.to3e-calc .to3e-btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.to3e-calc .to3e-btn--cta { width: 100%; }
.to3e-calc .to3e-btn.is-loading { pointer-events: none; }
.to3e-calc .to3e-btn.is-loading span::after { content: ""; display: inline-block; width: 14px; height: 14px; margin-inline-start: 10px; border: 2px solid currentColor; border-left-color: transparent; border-radius: 50%; animation: to3e-spin .7s linear infinite; vertical-align: -2px; }
.to3e-calc .to3e-nav { display: flex; align-items: center; gap: 12px; margin-top: 26px; }
.to3e-calc .to3e-nav > :last-child { margin-inline-start: auto; }
.to3e-calc .to3e-nav__msg { color: var(--c-muted); font-size: 13px; }
.to3e-calc .to3e-nav .to3e-btn--cta { width: auto; }
.to3e-calc .to3e-link { all: unset; cursor: pointer; color: var(--c-muted); font-size: 13px; padding: 6px 4px; }
.to3e-calc .to3e-link:hover { color: var(--c-primary); }

/* ── Wizard ── */
.to3e-calc .to3e-wizard__bar { height: 2px; background: var(--c-line); margin: 8px 0 18px; overflow: hidden; }
.to3e-calc .to3e-wizard__bar span { display: block; height: 100%; background: var(--c-primary); margin-inline-start: auto; transition: width .5s var(--c-ease); }
.to3e-calc .to3e-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 10px; margin-top: 20px; }
.to3e-calc .to3e-option { all: unset; box-sizing: border-box; cursor: pointer; min-height: 54px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--c-line); font-weight: 600; color: var(--c-text); transition: border-color .2s, background .2s; }
.to3e-calc .to3e-option:hover { border-color: var(--c-primary); }
.to3e-calc .to3e-option.is-selected { border-color: var(--c-primary); background: var(--c-soft); }
.to3e-calc .to3e-option:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; }
.to3e-calc .to3e-rec__title { color: var(--c-primary); }
.to3e-calc .to3e-rec__picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 8px; margin-top: 16px; }
.to3e-calc .to3e-rec__picks li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--c-line); font-weight: 600; font-size: 14px; color: var(--c-text); }
.to3e-calc .to3e-rec__picks small { display: block; font-weight: 400; font-size: 11.5px; color: var(--c-muted); }
.to3e-calc .to3e-rec__icon { color: var(--c-primary); flex: none; }
.to3e-calc .to3e-rec__icon svg { width: 22px; height: 22px; }
.to3e-calc .to3e-rec__why { margin-top: 20px; font-size: 15px; font-weight: 700; color: var(--c-text); }
.to3e-calc .to3e-rec__reasons { margin-top: 6px; display: flex; flex-direction: column; gap: 6px; }
.to3e-calc .to3e-rec__reasons li { position: relative; padding-inline-start: 16px; color: var(--c-muted); font-size: 14px; }
.to3e-calc .to3e-rec__reasons li::before { content: ""; position: absolute; right: 0; top: .8em; width: 6px; height: 6px; border-radius: 50%; background: var(--c-primary); }

/* ── Review + form ── */
.to3e-calc .to3e-review__list { margin-top: 18px; border-radius: var(--c-radius); border: 1px solid var(--c-line); overflow: hidden; }
.to3e-calc .to3e-review__row { display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--c-line); }
.to3e-calc .to3e-review__row:last-child { border-bottom: 0; }
.to3e-calc .to3e-review__row dt { color: var(--c-muted); font-size: 13.5px; }
.to3e-calc .to3e-review__row dd { font-weight: 600; color: var(--c-text); font-size: 14px; min-width: 0; overflow-wrap: anywhere; }
.to3e-calc .to3e-review__row em { color: var(--c-muted); font-weight: 400; font-style: normal; }
@media (max-width: 600px) { .to3e-calc .to3e-review__row { grid-template-columns: minmax(0, 1fr) auto; } .to3e-calc .to3e-review__row dd { grid-column: 1 / -1; grid-row: 2; } }
.to3e-calc .to3e-form { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; margin-top: 22px; }
.to3e-calc .to3e-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.to3e-calc .to3e-field--full, .to3e-calc .to3e-form .to3e-nav, .to3e-calc .to3e-form__err { grid-column: 1 / -1; }
.to3e-calc .to3e-field label { font-size: 13.5px; font-weight: 600; color: var(--c-text); }
.to3e-calc .to3e-field label b { color: var(--c-danger); font-weight: 400; }
.to3e-calc .to3e-field label span { color: var(--c-muted); font-weight: 400; }
.to3e-calc .to3e-field input, .to3e-calc .to3e-field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--c-line); background: var(--c-surface-2); color: var(--c-text); font: inherit; font-size: 15px; transition: border-color .2s; }
.to3e-calc .to3e-field input[dir="ltr"] { text-align: left; }
.to3e-calc .to3e-field input:focus, .to3e-calc .to3e-field textarea:focus { outline: none; border-color: var(--c-primary); }
.to3e-calc .to3e-field .is-invalid { border-color: var(--c-danger); }
.to3e-calc .to3e-field small, .to3e-calc .to3e-form__err { color: var(--c-danger); font-size: 12.5px; }
/* تله ربات: بدون جابه‌جا کردن صفحه، کاملاً پنهان */
.to3e-calc .to3e-hp { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* ── Done ── */
.to3e-calc .to3e-done { text-align: center; padding: 30px 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.to3e-calc .to3e-done__check svg { width: 72px; height: 72px; fill: none; stroke: var(--c-primary); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.to3e-calc .to3e-done__check circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: to3e-draw .9s var(--c-ease) forwards; }
.to3e-calc .to3e-done__check path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: to3e-draw .5s .7s var(--c-ease) forwards; }
.to3e-calc .to3e-done__invoice { display: flex; flex-direction: column; padding: 10px 24px; border-radius: 14px; border: 1px dashed var(--c-line); margin: 6px 0; }
.to3e-calc .to3e-done__invoice small { color: var(--c-muted); }
.to3e-calc .to3e-done__invoice strong { font-size: 20px; letter-spacing: 1px; color: var(--c-text); }
.to3e-calc .to3e-done__range { font-weight: 700; color: var(--c-text); }

/* ── Summary (sticky, never taller than the screen) ── */
.to3e-calc .to3e-sum { position: sticky; top: var(--c-sticky); display: none; }
@media (min-width: 1024px) { .to3e-calc .to3e-sum { display: block; } }
.to3e-calc .to3e-sum__card { display: flex; flex-direction: column; max-height: calc(100vh - var(--c-sticky) - 24px); padding: 20px; border-radius: 20px; border: 1px solid var(--c-line); background: var(--c-surface-2); }
.to3e-calc .to3e-sum__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; flex: none; }
.to3e-calc .to3e-sum__head h3 { font-size: 15px; font-weight: 800; color: var(--c-text); }
.to3e-calc .to3e-basket { position: relative; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--c-soft); color: var(--c-primary); flex: none; }
.to3e-calc .to3e-basket svg { width: 20px; height: 20px; }
.to3e-calc .to3e-basket b { position: absolute; top: -5px; left: -5px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; display: grid; place-items: center; background: var(--c-primary); color: var(--c-on); font-size: 11px; font-weight: 700; }
.to3e-calc .to3e-basket.is-bump { animation: to3e-bump .7s var(--c-ease); }
.to3e-calc .to3e-sum__preset { display: flex; justify-content: space-between; gap: 8px; padding: 6px 10px; margin-bottom: 8px; border-radius: 10px; background: var(--c-soft); font-size: 12.5px; color: var(--c-text); flex: none; }
.to3e-calc .to3e-sum__preset b { color: var(--c-primary); font-weight: 700; }
.to3e-calc .to3e-sum__list { display: flex; flex-direction: column; overflow-y: auto; min-height: 60px; flex: 1 1 auto; scrollbar-width: thin; }
.to3e-calc .to3e-sum__row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--c-line); font-size: 13px; }
.to3e-calc .to3e-sum__row:last-child { border-bottom: 0; }
.to3e-calc .to3e-sum__row dt { color: var(--c-muted); flex: none; }
.to3e-calc .to3e-sum__row dd { text-align: left; color: var(--c-text); font-weight: 600; min-width: 0; line-height: 1.7; }
.to3e-calc .to3e-sum__empty { color: var(--c-muted); font-weight: 400; }
.to3e-calc .to3e-sum__total { margin: 14px 0 8px; padding-top: 14px; border-top: 1px solid var(--c-line); display: flex; flex-direction: column; flex: none; }
.to3e-calc .to3e-sum__total small { color: var(--c-muted); font-size: 12.5px; }
.to3e-calc .to3e-sum__total strong { font-size: 21px; font-weight: 800; line-height: 1.6; color: var(--c-text); font-variant-numeric: tabular-nums; }
.to3e-calc .to3e-sum__cur { color: var(--c-muted); font-size: 12.5px; }
.to3e-calc [data-total].is-flash { animation: to3e-flash .9s var(--c-ease); }
.to3e-calc .to3e-sum__rec { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; color: var(--c-muted); margin-bottom: 12px; flex: none; }
.to3e-calc .to3e-sum__rec b { color: var(--c-text); font-weight: 600; }
.to3e-calc .to3e-sum__cta { flex: none; }
.to3e-calc .to3e-sum__note { margin-top: 10px; font-size: 11.5px; color: var(--c-muted); line-height: 1.8; flex: none; }

/* mobile bottom bar + sheet */
.to3e-calc .to3e-bar { position: fixed; z-index: 9990; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 18px; background: var(--c-surface-2); border: 1px solid var(--c-line); box-shadow: 0 14px 40px -18px var(--c-shadow); }
@media (min-width: 1024px) { .to3e-calc .to3e-bar { display: none; } }
.to3e-calc .to3e-bar__toggle { all: unset; flex: 1; display: flex; align-items: center; gap: 10px; cursor: pointer; min-width: 0; }
.to3e-calc .to3e-bar__price { display: flex; flex-direction: column; min-width: 0; }
.to3e-calc .to3e-bar__price small { font-size: 11px; color: var(--c-muted); }
.to3e-calc .to3e-bar__price strong { font-size: 14.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--c-text); }
.to3e-calc .to3e-bar__up { color: var(--c-muted); transition: transform .3s; }
.to3e-calc.is-sheet .to3e-bar__up { transform: rotate(180deg); }
.to3e-calc .to3e-bar__cta { width: auto; min-height: 44px; flex: none; }
@media (max-width: 1023px) {
  .to3e-calc { padding-bottom: 100px; }
  .to3e-calc.is-sheet .to3e-sum { display: flex; align-items: flex-end; position: fixed; inset: 0; z-index: 9989; padding: 12px 12px 86px; background: rgba(2, 6, 23, .4); animation: to3e-fade .3s; }
  .to3e-calc.is-sheet .to3e-sum__card { width: 100%; max-height: 70vh; animation: to3e-up .45s var(--c-ease); }
  .to3e-calc.is-sheet .to3e-sum__cta { display: none; }
}

/* fly-to-basket */
.to3e-fly { position: fixed; z-index: 100000; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; pointer-events: none; color: #fff; background: var(--fly-c, #0d9488); box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .4); will-change: transform; }
.to3e-fly svg { width: 24px; height: 24px; }
.to3e-fly img { width: 26px; height: 26px; object-fit: contain; }

/* toast */
.to3e-calc .to3e-toast { position: fixed; z-index: 99999; left: 50%; bottom: 92px; transform: translate(-50%, 16px); max-width: min(480px, calc(100% - 32px)); padding: 10px 16px; border-radius: 12px; background: #111827; color: #fff; font-size: 13.5px; text-align: center; opacity: 0; pointer-events: none; transition: opacity .3s, transform .4s var(--c-ease); }
.to3e-calc .to3e-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 1024px) { .to3e-calc .to3e-toast { bottom: 28px; } }

.to3e-calc .to3e-loading { display: flex; gap: 6px; justify-content: center; padding: 60px 0 20px; }
.to3e-calc .to3e-loading span { width: 8px; height: 8px; border-radius: 50%; background: var(--c-primary); animation: to3e-dot 1s infinite ease-in-out; }
.to3e-calc .to3e-loading span:nth-child(2) { animation-delay: .15s; }
.to3e-calc .to3e-loading span:nth-child(3) { animation-delay: .3s; }
.to3e-calc .to3e-noscript { padding: 20px; border-radius: 14px; border: 1px solid var(--c-line); }

@keyframes to3e-bump { 0% { transform: scale(1); } 40% { transform: scale(1.15); } 100% { transform: scale(1); } }
@keyframes to3e-flash { 0% { color: var(--c-primary); } 100% { color: inherit; } }
@keyframes to3e-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes to3e-up { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes to3e-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes to3e-spin { to { transform: rotate(360deg); } }
@keyframes to3e-draw { to { stroke-dashoffset: 0; } }
@keyframes to3e-dot { 0%, 100% { transform: scale(.6); opacity: .4; } 50% { transform: scale(1); opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .to3e-calc *, .to3e-calc *::before, .to3e-calc *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
