/* AI Tools Vault 1.6 — "Share & Unlock" (store module). Uses the store's theme tokens (light / navy / slate / dark).
   --rf-acc = the program accent colour chosen in the Command Center (default the store orange). */
#aitv-root .av-rf, #aitv-root .av-rf-pop { --rf-acc: #ff5a1f; --rf-acc-soft: color-mix(in srgb, var(--rf-acc) 12%, transparent); --rf-acc-line: color-mix(in srgb, var(--rf-acc) 35%, transparent); }
#aitv-root .av-rf .av-orange, #aitv-root .av-rf-pop .av-orange { background: var(--rf-acc); border-color: var(--rf-acc); box-shadow: 0 1px 2px rgba(0,0,0,.12), 0 8px 20px color-mix(in srgb, var(--rf-acc) 30%, transparent); }
#aitv-root .av-rf .av-orange:hover, #aitv-root .av-rf-pop .av-orange:hover { background: color-mix(in srgb, var(--rf-acc) 86%, #000); border-color: color-mix(in srgb, var(--rf-acc) 86%, #000); }
#aitv-root .av-rf-wrap { padding: 28px var(--gut) 56px; display: grid; gap: 34px; }
#aitv-root .av-rf h1, #aitv-root .av-rf h2 { color: var(--ink); letter-spacing: -.02em; }
#aitv-root .av-rf-h { font-size: clamp(20px, 2.2vw, 26px); font-weight: 800; margin: 0 0 16px; }

/* ---------- hero ---------- */
#aitv-root .av-rf-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 34px; align-items: center;
  padding: clamp(24px, 4vw, 48px); border-radius: calc(var(--r) + 6px); overflow: hidden; background:
  radial-gradient(120% 140% at 100% 0%, var(--rf-acc-soft), transparent 55%), radial-gradient(90% 120% at 0% 100%, var(--glow-a), transparent 60%), var(--surface);
  border: 1px solid var(--line); box-shadow: var(--sh-2); animation: av-rf-rise .55s var(--ease) both; }
#aitv-root .av-rf-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--rf-acc);
  background: var(--rf-acc-soft); border: 1px solid var(--rf-acc-line); }
#aitv-root .av-rf-hero h1 { font-size: clamp(28px, 4.2vw, 46px); line-height: 1.08; font-weight: 800; margin: 14px 0 12px; text-wrap: balance; }
#aitv-root .av-rf-lead { font-size: clamp(15px, 1.4vw, 17.5px); line-height: 1.6; color: var(--ink-2); margin: 0 0 22px; max-width: 60ch; }
#aitv-root .av-rf-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
#aitv-root .av-rf-free { display: inline-flex; gap: 6px; align-items: center; color: var(--muted); font-size: 13.5px; font-weight: 600; }
#aitv-root .av-rf-free i { color: var(--ok); }
#aitv-root .av-rf-top { margin: 18px 0 0; font-size: 14px; color: var(--muted); }
#aitv-root .av-rf-top i { color: var(--gold); margin-right: 4px; }
#aitv-root .av-rf-top b { color: var(--ink); }
#aitv-root .av-rf-note { margin: 0; color: var(--muted); font-size: 14px; }
#aitv-root .av-rf-art { position: relative; min-height: 290px; }
#aitv-root .av-rf-art.is-img { min-height: 0; }
#aitv-root .av-rf-art.is-img img { display: block; width: 100%; max-height: 360px; object-fit: cover; border-radius: var(--r); box-shadow: var(--sh-3); }
#aitv-root .av-rf-orb { position: absolute; right: 10%; top: 50%; width: 150px; height: 150px; margin-top: -75px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 30%, #fff 0, color-mix(in srgb, var(--rf-acc) 40%, #fff) 45%, var(--rf-acc) 100%); box-shadow: 0 24px 60px color-mix(in srgb, var(--rf-acc) 45%, transparent);
  animation: av-rf-bob 5s ease-in-out infinite; z-index: 0; }
#aitv-root .av-rf-orb span { font-size: 64px; filter: drop-shadow(0 6px 10px rgba(0,0,0,.18)); }
#aitv-root .av-rf-float { position: absolute; display: flex; gap: 10px; align-items: center; max-width: 250px; padding: 10px 14px 10px 10px; border-radius: 14px;
  background: var(--glass); backdrop-filter: blur(8px); border: 1px solid var(--line); box-shadow: var(--sh-2); font-size: 13px; color: var(--ink); z-index: 1;
  animation: av-rf-bob 6s ease-in-out infinite; animation-delay: calc(var(--i) * -1.7s); }
#aitv-root .av-rf-float:nth-child(1) { left: 0; top: 4%; }
#aitv-root .av-rf-float:nth-child(2) { left: 14%; top: 40%; }
#aitv-root .av-rf-float:nth-child(3) { left: 2%; bottom: 4%; }
#aitv-root .av-rf-float b { display: block; font-size: 12px; color: var(--rf-acc); text-transform: uppercase; letter-spacing: .04em; }
#aitv-root .av-rf-float small { display: block; font-size: 13px; font-weight: 600; line-height: 1.3; }
#aitv-root .av-rf-float-ic { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: var(--rf-acc); }

/* ---------- dashboard ---------- */
#aitv-root .av-rf-dash { display: grid; gap: 20px; scroll-margin-top: calc(var(--hdr, 70px) + 16px); }
#aitv-root .av-rf-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px; }
#aitv-root .av-rf-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(18px, 2.4vw, 26px); box-shadow: var(--sh-1); min-width: 0; animation: av-rf-rise .5s var(--ease) both; }
#aitv-root .av-rf-card h2 { font-size: 18px; font-weight: 800; margin: 0 0 6px; display: flex; gap: 10px; align-items: center; }
#aitv-root .av-rf-card h2 i { color: var(--rf-acc); }
#aitv-root .av-rf-sub { margin: 0 0 14px; color: var(--muted); font-size: 14px; line-height: 1.5; }
#aitv-root .av-rf-link { display: flex; gap: 8px; padding: 6px; border-radius: 14px; background: var(--soft); border: 1px dashed var(--rf-acc-line); }
#aitv-root .av-rf-link input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font: 600 15px/1.2 inherit; font-family: inherit; padding: 0 10px; outline: none; text-overflow: ellipsis; }
#aitv-root .av-rf-link .av-btn { flex: none; }
#aitv-root .av-btn.is-done { background: var(--ok); border-color: var(--ok); }
#aitv-root .av-rf-shares { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; margin-top: 16px; }
#aitv-root .av-rf-sh { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 12px 6px 10px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface);
  color: var(--ink); text-decoration: none; font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .15s; }
#aitv-root .av-rf-sh:hover { transform: translateY(-2px); box-shadow: var(--sh-2); border-color: var(--ch); color: var(--ink); }
#aitv-root .av-rf-sh:focus-visible { outline: 3px solid color-mix(in srgb, var(--ch) 45%, transparent); outline-offset: 2px; }
#aitv-root .av-rf-sh-ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--ch); font-size: 18px; box-shadow: 0 6px 14px color-mix(in srgb, var(--ch) 35%, transparent); }
#aitv-root .av-rf-code { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
#aitv-root .av-rf-code b { color: var(--ink); letter-spacing: .12em; }

#aitv-root .av-rf-progress { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px 22px; align-items: center; }
#aitv-root .av-rf-ring { position: relative; width: 132px; height: 132px; }
#aitv-root .av-rf-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
#aitv-root .av-rf-ring circle { fill: none; stroke-width: 11; }
#aitv-root .av-rf-ring .t { stroke: var(--soft); }
#aitv-root .av-rf-ring .v { stroke: var(--rf-acc); stroke-linecap: round; transition: stroke-dashoffset 1.1s var(--ease); }
#aitv-root .av-rf-ring-n { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
#aitv-root .av-rf-ring-n b { font-size: 34px; font-weight: 800; line-height: 1; color: var(--ink); }
#aitv-root .av-rf-ring-n span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
#aitv-root .av-rf-next { display: grid; gap: 4px; min-width: 0; }
#aitv-root .av-rf-k { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
#aitv-root .av-rf-next b { font-size: 20px; font-weight: 800; color: var(--ink); line-height: 1.2; }
#aitv-root .av-rf-l { color: var(--ink-2); font-size: 14.5px; }
#aitv-root .av-rf-togo { justify-self: start; margin-top: 6px; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--rf-acc); background: var(--rf-acc-soft); }
#aitv-root .av-rf-stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
#aitv-root .av-rf-stat { display: grid; justify-items: center; gap: 2px; padding: 10px 6px; border-radius: 12px; background: var(--soft); text-align: center; }
#aitv-root .av-rf-stat i { color: var(--muted); font-size: 14px; }
#aitv-root .av-rf-stat b { font-size: 20px; font-weight: 800; color: var(--ink); }
#aitv-root .av-rf-stat span { font-size: 11.5px; color: var(--muted); font-weight: 600; }
#aitv-root .av-rf-stat.is-ok i { color: var(--ok); }
#aitv-root .av-rf-stat.is-wait i { color: var(--gold); }

#aitv-root .av-rf-alert { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: var(--r-md); background: var(--rf-acc-soft); border: 1px solid var(--rf-acc-line); animation: av-rf-glow 2.6s ease-in-out infinite; }
#aitv-root .av-rf-alert > i { font-size: 22px; color: var(--rf-acc); }
#aitv-root .av-rf-alert div { flex: 1; display: grid; gap: 2px; min-width: 0; }
#aitv-root .av-rf-alert b { color: var(--ink); }
#aitv-root .av-rf-alert span { color: var(--ink-2); font-size: 14px; }

#aitv-root .av-rf-rlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-top: 12px; }
#aitv-root .av-rf-reward { display: flex; gap: 12px; padding: 14px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--soft); min-width: 0; }
#aitv-root .av-rf-reward.is-pick { border-color: var(--rf-acc-line); background: var(--rf-acc-soft); }
#aitv-root .av-rf-rico { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--rf-acc); font-size: 17px; }
#aitv-root .av-rf-rbody { display: grid; gap: 6px; min-width: 0; align-content: start; }
#aitv-root .av-rf-rhead { display: grid; }
#aitv-root .av-rf-rhead b { color: var(--ink); font-size: 15px; }
#aitv-root .av-rf-rhead span { color: var(--muted); font-size: 12.5px; }
#aitv-root .av-rf-rlabel { color: var(--ink-2); font-size: 14px; font-weight: 600; }
#aitv-root .av-rf-rbody .av-btn { justify-self: start; }
#aitv-root .av-rf-coupon { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
#aitv-root .av-rf-coupon code { padding: 7px 12px; border-radius: 10px; border: 2px dashed var(--rf-acc); color: var(--ink); background: var(--surface); font: 800 15px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .06em; }
#aitv-root .av-rf-meta { color: var(--muted); font-size: 12.5px; }
#aitv-root .av-rf-text { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.5; }
#aitv-root .av-rf-tools { display: flex; flex-wrap: wrap; gap: 6px; }
#aitv-root .av-rf-tool { display: inline-flex; gap: 6px; align-items: center; padding: 6px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-size: 13px; font-weight: 600; text-decoration: none; max-width: 100%; }
#aitv-root .av-rf-tool:hover { border-color: var(--rf-acc); color: var(--ink); }
#aitv-root .av-rf-tool i { color: var(--rf-acc); font-size: 11px; }

#aitv-root .av-rf-friends ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; }
#aitv-root .av-rf-friends li { display: flex; gap: 12px; align-items: center; padding: 10px 2px; border-top: 1px solid var(--line); }
#aitv-root .av-rf-friends li:first-child { border-top: 0; }
#aitv-root .av-rf-fav { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: var(--rf-acc); background: var(--rf-acc-soft); }
#aitv-root .av-rf-fn { flex: 1; display: grid; min-width: 0; }
#aitv-root .av-rf-fn b { color: var(--ink); font-size: 14.5px; }
#aitv-root .av-rf-fn small { color: var(--muted); font-size: 12.5px; }
#aitv-root .av-rf-chip { flex: none; display: inline-flex; gap: 6px; align-items: center; padding: 5px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: var(--ink-2); background: var(--soft); border: 1px solid var(--line); }
#aitv-root .av-rf-chip.is-ok { color: var(--ok-ink); background: var(--ok-soft); border-color: var(--ok-line); }
#aitv-root .av-rf-chip.is-wait { color: var(--ink); background: var(--warn-soft); border-color: var(--warn-line); }
#aitv-root .av-rf-chip.is-bad { color: var(--sale-ink); background: var(--sale-soft); border-color: var(--sale-line); }
#aitv-root .av-rf-empty { color: var(--muted); font-size: 14px; gap: 10px; }
#aitv-root .av-rf-empty i { color: var(--rf-acc); }

/* ---------- how it works ---------- */
#aitv-root .av-rf-steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; counter-reset: s; }
#aitv-root .av-rf-steps li { position: relative; padding: 22px 20px 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1);
  animation: av-rf-rise .5s var(--ease) both; animation-delay: calc(var(--i) * 90ms); }
#aitv-root .av-rf-sn { position: absolute; top: 16px; right: 18px; font-size: 40px; font-weight: 800; line-height: 1; color: var(--rf-acc-soft); -webkit-text-stroke: 1px var(--rf-acc-line); }
#aitv-root .av-rf-sic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 14px; color: var(--rf-acc); background: var(--rf-acc-soft); font-size: 19px; }
#aitv-root .av-rf-steps b { display: block; color: var(--ink); font-size: 16.5px; margin-bottom: 6px; }
#aitv-root .av-rf-steps p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }

/* ---------- reward ladder ---------- */
#aitv-root .av-rf-ladder ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; position: relative; }
#aitv-root .av-rf-ladder li { position: relative; display: grid; gap: 12px; padding: 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1);
  animation: av-rf-rise .5s var(--ease) both; animation-delay: calc(var(--i) * 70ms); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
#aitv-root .av-rf-ladder li:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
#aitv-root .av-rf-ladder li.is-done { border-color: var(--ok-line); background: linear-gradient(180deg, var(--ok-soft), var(--surface) 70%); }
#aitv-root .av-rf-ladder li.is-next { border-color: var(--rf-acc); box-shadow: 0 0 0 3px var(--rf-acc-soft), var(--sh-2); }
#aitv-root .av-rf-node { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 17px; color: var(--rf-acc); background: var(--rf-acc-soft); border: 2px solid var(--rf-acc-line); }
#aitv-root .is-done .av-rf-node { color: #fff; background: var(--ok); border-color: var(--ok); }
#aitv-root .av-rf-lb { display: grid; gap: 4px; }
#aitv-root .av-rf-lk { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
#aitv-root .av-rf-lb b { color: var(--ink); font-size: 16px; }
#aitv-root .av-rf-lr { color: var(--ink-2); font-size: 14px; line-height: 1.4; }
#aitv-root .av-rf-lr i { color: var(--rf-acc); margin-right: 3px; }
#aitv-root .av-rf-lst { justify-self: start; margin-top: 4px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--rf-acc); background: var(--rf-acc-soft); }
#aitv-root .av-rf-lst.is-ok { color: var(--ok-ink); background: var(--ok-soft); }

/* ---------- questions ---------- */
#aitv-root .av-rf-qa { display: grid; gap: 10px; }
#aitv-root .av-rf-qa details { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
#aitv-root .av-rf-qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 15px 18px; font-weight: 700; color: var(--ink); font-size: 15px; }
#aitv-root .av-rf-qa summary::-webkit-details-marker { display: none; }
#aitv-root .av-rf-qa summary i { color: var(--muted); transition: transform .2s var(--ease); }
#aitv-root .av-rf-qa details[open] summary i { transform: rotate(180deg); }
#aitv-root .av-rf-qa p { margin: 0; padding: 0 18px 16px; color: var(--ink-2); line-height: 1.6; font-size: 14.5px; }

/* ---------- header + footer entries ---------- */
#aitv-root .av-rf-hdr { position: relative; width: auto; display: inline-flex; flex-direction: row; align-items: center; white-space: nowrap; flex: none; gap: 7px; padding: 0 12px; color: var(--ink); font-weight: 700; font-size: 13.5px; }
#aitv-root .av-rf-hdr > i { color: #ff5a1f; }
#aitv-root .av-rf-hdr[aria-current="page"] { background: var(--accent-soft); border-color: var(--accent-line); }
#aitv-root .av-rf-hdr .av-rf-badge { display: none; }
#aitv-root .av-rf-hdr .av-rf-badge.is-on { display: grid; animation: av-rf-pop .5s var(--ease); }
#aitv-root .av-rf-flink { display: inline-flex; align-items: center; gap: 6px; }
#aitv-root .av-rf-flink i { color: #ff5a1f; }
#aitv-root .av-rf-flink-s { opacity: .7; font-weight: 500; }

/* ---------- arrival card (bottom left, gentle) ---------- */
#aitv-root .av-rf-pop { position: fixed; z-index: 2147482000; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: min(370px, calc(100vw - 32px)); display: flex; gap: 14px;
  padding: 18px 18px 16px; border-radius: var(--r); background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--sh-3);
  transform: translateY(24px) scale(.96); opacity: 0; pointer-events: none; transition: transform .45s var(--ease), opacity .35s var(--ease); }
#aitv-root .av-rf-pop.is-on { transform: none; opacity: 1; pointer-events: auto; }
#aitv-root .av-rf-pop-gift { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--rf-acc-soft); font-size: 28px; animation: av-rf-wiggle 2.8s ease-in-out infinite 1s; }
#aitv-root .av-rf-pop-b { display: grid; gap: 6px; min-width: 0; padding-right: 18px; }
#aitv-root .av-rf-pop-t { font-size: 16px; font-weight: 800; line-height: 1.25; }
#aitv-root .av-rf-pop p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.5; }
#aitv-root .av-rf-pop-a { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-top: 6px; }
#aitv-root .av-rf-pop-x { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
#aitv-root .av-rf-pop-x:hover { background: var(--soft); color: var(--ink); }

/* ---------- pick window ---------- */
#aitv-root .av-rf-pickm { max-width: 860px; }
#aitv-root .av-rf-pick-sub { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
#aitv-root .av-rf-pick-q { display: flex; gap: 10px; align-items: center; padding: 0 14px; margin-bottom: 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--muted); }
#aitv-root .av-rf-pick-q input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 15px; padding: 12px 0; outline: none; }
#aitv-root .av-rf-pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
#aitv-root .av-rf-pt { position: relative; display: grid; gap: 4px; padding: 8px 8px 10px; border-radius: 14px; border: 2px solid var(--line); background: var(--surface); color: var(--ink); text-align: left; font: inherit; cursor: pointer; transition: border-color .15s, transform .18s var(--ease), box-shadow .18s var(--ease); }
#aitv-root .av-rf-pt:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
#aitv-root .av-rf-pt.is-on { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
#aitv-root .av-rf-pt-img { display: block; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--soft); }
#aitv-root .av-rf-pt-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
#aitv-root .av-rf-pt-emo { display: grid; place-items: center; height: 100%; font-size: 34px; }
#aitv-root .av-rf-pt-n { font-size: 13.5px; font-weight: 700; line-height: 1.25; }
#aitv-root .av-rf-pt-c { font-size: 12px; color: var(--muted); }
#aitv-root .av-rf-pt-ck { position: absolute; top: 14px; right: 14px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--accent); transform: scale(0); transition: transform .2s var(--ease); }
#aitv-root .av-rf-pt.is-on .av-rf-pt-ck { transform: scale(1); }
#aitv-root .av-rf-pick-none { color: var(--muted); }
#aitv-root .av-rf-pick-foot { position: sticky; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 22px; border-top: 1px solid var(--line); background: var(--surface); }
#aitv-root .av-rf-pick-foot span { color: var(--muted); font-weight: 600; font-size: 14px; }

#aitv-root .av-rf-skel { display: grid; gap: 16px; }
#aitv-root .av-rf-skel i { display: block; height: 140px; border-radius: var(--r); background: linear-gradient(90deg, var(--soft), var(--bg-2), var(--soft)); background-size: 200% 100%; animation: av-rf-shine 1.2s linear infinite; }

/* ---------- motion ---------- */
@keyframes av-rf-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes av-rf-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes av-rf-glow { 0%, 100% { box-shadow: 0 0 0 0 var(--rf-acc-soft); } 50% { box-shadow: 0 0 0 6px var(--rf-acc-soft); } }
@keyframes av-rf-pop { 0% { transform: scale(.4); } 60% { transform: scale(1.2); } 100% { transform: scale(1); } }
@keyframes av-rf-wiggle { 0%, 80%, 100% { transform: rotate(0); } 85% { transform: rotate(-10deg); } 90% { transform: rotate(9deg); } 95% { transform: rotate(-5deg); } }
@keyframes av-rf-shine { to { background-position: -200% 0; } }
#aitv-root.av-rm .av-rf *, #aitv-root[data-motion="reduce"] .av-rf * { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  #aitv-root .av-rf *, #aitv-root .av-rf-pop, #aitv-root .av-rf-pop * { animation: none !important; transition: none !important; }
}

/* ---------- themes: dark surfaces need lighter tints ---------- */
#aitv-root[data-theme="dark"] .av-rf, #aitv-root[data-theme="navy"] .av-rf,
#aitv-root[data-theme="dark"] .av-rf-pop, #aitv-root[data-theme="navy"] .av-rf-pop { --rf-acc-soft: color-mix(in srgb, var(--rf-acc) 18%, transparent); --rf-acc-line: color-mix(in srgb, var(--rf-acc) 45%, transparent); }
#aitv-root[data-theme="dark"] .av-rf-orb, #aitv-root[data-theme="navy"] .av-rf-orb { background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--rf-acc) 35%, #fff) 0, var(--rf-acc) 60%, color-mix(in srgb, var(--rf-acc) 60%, #000) 100%); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  #aitv-root .av-rf-hero { grid-template-columns: 1fr; }
  #aitv-root .av-rf-art { min-height: 230px; }
  #aitv-root .av-rf-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  #aitv-root .av-rf-hdr .av-rf-hdr-l { display: none; }
  #aitv-root .av-rf-hdr { padding: 0; width: 40px; justify-content: center; }
}
@media (max-width: 560px) {
  #aitv-root .av-rf-wrap { padding: 16px 16px 40px; gap: 26px; }
  #aitv-root .av-rf-hero { padding: 22px 18px; gap: 20px; }
  #aitv-root .av-rf-art:not(.is-img) { display: none; }
  #aitv-root .av-rf-ctas .av-btn { width: 100%; }
  #aitv-root .av-rf-progress { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  #aitv-root .av-rf-next { justify-items: center; }
  #aitv-root .av-rf-togo { justify-self: center; }
  #aitv-root .av-rf-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #aitv-root .av-rf-link { flex-direction: column; }
  #aitv-root .av-rf-link input { padding: 10px; text-align: center; }
  #aitv-root .av-rf-shares { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #aitv-root .av-rf-alert { flex-wrap: wrap; }
  #aitv-root .av-rf-pop { left: 12px; right: 12px; width: auto; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  #aitv-root .av-rf-pick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #aitv-root .av-rf-pick-foot { padding: 12px 16px; }
}
