/* ════════════════════════════════════════════════════════════
   NeuralWeb · JELENET-MAG (közös: AI automatizáció, Weboldal, Webshop) · 2026-11-05
   ────────────────────────────────────────────
   A kis animált „színpadok" (.aa-scene) közös alapja: színpad, építőelemek,
   belépő-rendszer, alap keyframe-ek, mobil- és mozgáscsökkentés-szabályok.
   A jelenetek saját rajza: css/ai-scenes.css, css/wb-scenes.css, css/ws-scenes.css.
   Vezérlés: js/ai-scenes.js (csak a nézetben lévők futnak; mobilon egyszer).

   · Az ALAPÁLLAPOT A KÉSZ KÉP. A .play indítja a belépést (--at késleltetés,
     both kitöltés, a 0%-os keyframe = rejtett állapot).
   · Végtelen rész-ciklus (.pulse, .blink) CSAK asztalon (min-width: 901px).
   · ⛔ NINCS filter/blur, nincs width/height/margin animáció.
   · A kártya-színpad a kártya paddingjét (--card-pad) negatív margóval kitölti.
   ════════════════════════════════════════════════════════════ */

.aa-scene {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  margin: calc(var(--card-pad, 22px) * -1) calc(var(--card-pad, 22px) * -1) 18px;
  border-radius: 16px 16px 0 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  background:
    radial-gradient(ellipse 90% 70% at 50% 0%, color-mix(in srgb, var(--c, #EC4899) 11%, transparent), transparent 70%),
    #0a0d15;
  font-family: 'DM Sans', sans-serif;
  color: rgba(242,244,247,0.85);
  user-select: none;
  -webkit-user-select: none;
}
.aa-scene--wide { aspect-ratio: 16 / 9; margin: 0; border-radius: 16px; border: 1px solid rgba(255,255,255,0.08); }
.sc {
  --eo: cubic-bezier(.23,1,.32,1);
  --eio: cubic-bezier(.77,0,.175,1);
  --ok: #34D399;
  --warn: #F59E0B;
  --bad: #F87171;
  --ink: rgba(242,244,247,0.85);
  --mute: rgba(242,244,247,0.42);
  --line: rgba(255,255,255,0.1);
  position: absolute; inset: 0;
  padding: 12px 14px;
  font-size: 10px; line-height: 1.3;
  transition: opacity 0.3s ease;
}
.aa-scene.sc-out .sc { opacity: 0; }
.sc * { box-sizing: border-box; }
.sc p, .sc h4 { margin: 0; }

/* ── Építőelemek ── */
.sc-card { background: rgba(12,15,24,0.92); border: 1px solid var(--line); border-radius: 9px; padding: 8px 9px; }
.sc-bar { display: block; height: 5px; border-radius: 3px; background: rgba(255,255,255,0.14); width: var(--w, 60%); }
.sc-bar--thin { height: 3px; }
.sc-pill {
  display: inline-flex; align-items: center; gap: 4px;
  height: 17px; padding: 0 7px; border-radius: 100px;
  font-size: 9.5px; font-weight: 600; letter-spacing: 0.01em; white-space: nowrap;
  color: var(--ink); background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
}
.sc-pill--c { color: #fff; background: color-mix(in srgb, var(--c, #EC4899) 22%, transparent); border-color: color-mix(in srgb, var(--c, #EC4899) 50%, transparent); }
.sc-pill--ok { color: #d1fae5; background: rgba(52,211,153,0.14); border-color: rgba(52,211,153,0.45); }
.sc-pill--warn { color: #fde68a; background: rgba(245,158,11,0.14); border-color: rgba(245,158,11,0.45); }
.sc-pill--bad { color: #fecaca; background: rgba(248,113,113,0.14); border-color: rgba(248,113,113,0.5); }
.sc-pill--ghost { background: transparent; border-style: dashed; color: var(--mute); }
.sc-lbl { font-size: 9px; font-weight: 500; letter-spacing: 0.01em; color: var(--mute); }
.sc-t { font-family: 'Outfit', sans-serif; font-size: 10.5px; font-weight: 600; color: #fff; letter-spacing: -0.005em; }
.sc-mono { font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.sc-raw { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: 8.5px; letter-spacing: 0.02em; color: rgba(242,244,247,0.7); text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 13px; height: 13px; border-radius: 50%; flex: none;
  background: rgba(52,211,153,0.18); border: 1px solid rgba(52,211,153,0.6); color: var(--ok);
}
.sc-check svg { width: 8px; height: 8px; }
.sc-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--c, #EC4899); flex: none; }
.sc-av { display: inline-block; width: 12px; height: 12px; border-radius: 50%; flex: none; background: linear-gradient(135deg, color-mix(in srgb, var(--c,#EC4899) 70%, #fff), var(--c,#EC4899)); }
.sc-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sc-svg path, .sc-svg line, .sc-svg polyline { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.sc-svg :not(.in-draw) { vector-effect: non-scaling-stroke; }

/* ── Belépő rendszer: alap = kész kép; .play alatt animáció --at késleltetéssel ── */
.play .in     { animation: scIn    var(--du, .55s) var(--eo)  var(--at, 0s) both; }
.play .in-l   { animation: scInL   var(--du, .55s) var(--eo)  var(--at, 0s) both; }
.play .in-r   { animation: scInR   var(--du, .55s) var(--eo)  var(--at, 0s) both; }
.play .in-s   { animation: scInS   var(--du, .5s)  var(--eo)  var(--at, 0s) both; }
.play .in-x   { animation: scInX   var(--du, .7s)  var(--eio) var(--at, 0s) both; transform-origin: left center; }
.play .in-y   { animation: scInY   var(--du, .7s)  var(--eio) var(--at, 0s) both; transform-origin: bottom center; }
.play .in-wipe{ animation: scWipe  var(--du, .7s)  linear     var(--at, 0s) both; }
.play .in-draw{ stroke-dasharray: 1; animation: scDraw var(--du, 1s) var(--eio) var(--at, 0s) both; }
.play .out    { animation: scOut   var(--du, .4s)  ease       var(--at, 0s) both; }
.play .dim    { animation: scDim   var(--du, .5s)  ease       var(--at, 0s) both; }
.swap { position: relative; display: inline-grid; }
.swap > * { grid-area: 1 / 1; }
.swap > :first-child { opacity: 0; }                          /* kész kép: a második látszik */
.play .swap > :first-child { animation: scSwapOut .3s ease var(--at, 0s) both; }
.play .swap > :last-child  { animation: scInS .45s var(--eo) calc(var(--at, 0s) + .15s) both; }
.play .hl     { animation: scHl   1s ease var(--hat, var(--at, 0s)) both; }
.play .hl-bad { animation: scHlBad 1.1s ease var(--hat, var(--at, 0s)) both; }
/* belépés + későbbi kiemelés egy elemen: --at a belépés, --hat a kiemelés ideje */
.play .in.hl   { animation: scIn  var(--du, .55s) var(--eo) var(--at, 0s) both, scHl 1s ease var(--hat, var(--at, 0s)) both; }
.play .in-l.hl { animation: scInL var(--du, .55s) var(--eo) var(--at, 0s) both, scHl 1s ease var(--hat, var(--at, 0s)) both; }
.play .in-r.hl { animation: scInR var(--du, .55s) var(--eo) var(--at, 0s) both, scHl 1s ease var(--hat, var(--at, 0s)) both; }
.play .in-s.hl { animation: scInS var(--du, .5s)  var(--eo) var(--at, 0s) both, scHl 1s ease var(--hat, var(--at, 0s)) both; }
.play .in-s.hl-bad { animation: scInS var(--du, .5s) var(--eo) var(--at, 0s) both, scHlBad 1.1s ease var(--hat, var(--at, 0s)) both; }
.sc-ring { position: absolute; inset: -4px; border-radius: inherit; pointer-events: none; }
@media (min-width: 901px) {
  .play .pulse > .sc-ring { animation: scPulse 1.7s ease-out var(--at, 0s) infinite; }
  .play .blink { animation: scBlink 1.5s ease-in-out var(--at, 0s) infinite; }
}

@keyframes scIn   { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes scInL  { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
@keyframes scInR  { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
@keyframes scInS  { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }
@keyframes scInX  { from { opacity: 0; transform: scaleX(0); } 30% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes scInY  { from { opacity: 0; transform: scaleY(0); } 30% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes scWipe { from { clip-path: inset(0 100% 0 0); opacity: 1; } to { clip-path: inset(0 0 0 0); opacity: 1; } }
@keyframes scDraw { from { stroke-dashoffset: 1; opacity: 1; } to { stroke-dashoffset: 0; opacity: 1; } }
@keyframes scOut  { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-4px); } }
@keyframes scDim  { from { opacity: 1; } to { opacity: .38; } }
@keyframes scSwapOut { from { opacity: 1; } to { opacity: 0; } }
/* ⚠ A 0% kép = nyugalmi állapot, mert a `both` kitöltés a késleltetés alatt is ezt mutatja. */
@keyframes scHl   { 0% { box-shadow: 0 0 0 0 transparent; border-color: var(--line); } 8% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--c, #EC4899) 55%, transparent); border-color: color-mix(in srgb, var(--c, #EC4899) 80%, transparent); } 60% { box-shadow: 0 0 0 7px transparent; border-color: color-mix(in srgb, var(--c, #EC4899) 80%, transparent); } 100% { box-shadow: 0 0 0 0 transparent; border-color: var(--line); } }
@keyframes scHlBad { 0% { box-shadow: 0 0 0 0 transparent; } 8% { box-shadow: 0 0 0 0 rgba(248,113,113,0.55); } 60% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@keyframes scPulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--c, #EC4899) 55%, transparent); } 100% { box-shadow: 0 0 0 10px transparent; } }
@keyframes scBlink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* Kész-kép alapállapotok a kilépő elemeknek. */
.sc .out { opacity: 0; }
.sc .dim { opacity: .38; }

@media (max-width: 640px) {
  .aa-scene { margin: calc(var(--card-pad-m, 20px) * -1) calc(var(--card-pad-m-x, 18px) * -1) 16px; }
}
@media (max-width: 900px) {
  /* ⛔ Mobilon a .play egyszer játszik le (js), a végtelen rész-ciklusok ki. */
  .play .pulse > .sc-ring, .play .blink { animation: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .play .in, .play .in-l, .play .in-r, .play .in-s, .play .in-x, .play .in-y, .play .in-wipe, .play .in-draw,
  .play .out, .play .dim, .play .swap > *, .play .hl, .play .hl-bad, .play .pulse > .sc-ring, .play .blink { animation: none !important; }
}

/* ══ NAGY SZÍNPAD (.aa-scene--lg): a Weboldal- és Webshop-lap kétoszlopos kártyáin
   és széles jelenetein. A betűméret a színpad szélességéből jön (container query),
   minden belső méret em-ben, így a jelenet arányosan nő és zsugorodik. ══ */
.aa-scene--lg { container-type: inline-size; }
.aa-scene--lg .sc { font-size: clamp(9px, 2.3cqi, 14px); padding: 4.2% 4.6%; }
.aa-scene--lg .sc-card { border-radius: .9em; padding: .75em .85em; }
.aa-scene--lg .sc-bar { height: .48em; border-radius: .3em; }
.aa-scene--lg .sc-bar--thin { height: .3em; }
.aa-scene--lg .sc-pill { height: 1.85em; padding: 0 .8em; font-size: .9em; gap: .45em; }
.aa-scene--lg .sc-lbl { font-size: .88em; }
.aa-scene--lg .sc-t { font-size: 1.08em; }
.aa-scene--lg .sc-raw { font-size: .82em; }
.aa-scene--lg .sc-check { width: 1.4em; height: 1.4em; }
.aa-scene--lg .sc-check svg { width: .8em; height: .8em; }
.aa-scene--lg .sc-dot { width: .6em; height: .6em; }
/* Széles, folyó elrendezésű jelenet: a magasságot a tartalom adja (telefonon egymás alá tördel). */
/* KIS SZÍNPAD (.aa-scene--lg.aa-scene--sm, 2026-11-06): ugyanaz a rajz arányosan kicsinyítve,
   3 oszlopos kártyarácsba. A betű a szélességből jön, alsó korlát nélkül. */
.aa-scene--lg.aa-scene--sm .sc { font-size: clamp(6px, 2.3cqi, 12px); }
.aa-scene--flow { aspect-ratio: auto; }
.aa-scene--flow .sc { position: relative; inset: auto; padding: 2.4em 2.6em; }
.aa-scene--wide.aa-scene--lg .sc { font-size: clamp(10px, 1.25cqi, 14px); }
@media (max-width: 640px) {
  .aa-scene--flow .sc { padding: 1.6em 1.3em; }
  .aa-scene--wide.aa-scene--lg .sc { font-size: clamp(9px, 2.9cqi, 12px); }
}
/* Közös apró elemek a nagy jelenetekhez */
.sc-ico { display: inline-flex; align-items: center; justify-content: center; width: 2em; height: 2em; border-radius: .6em; flex: none; color: var(--c, #EC4899); background: color-mix(in srgb, var(--c, #EC4899) 14%, #0a0d15); border: 1px solid color-mix(in srgb, var(--c, #EC4899) 40%, transparent); }
.sc-ico svg { width: 1.1em; height: 1.1em; }
.sc-win { display: flex; gap: .35em; align-items: center; height: 1.6em; padding: 0 .7em; border-bottom: 1px solid var(--line); }
.sc-win i { width: .55em; height: .55em; border-radius: 50%; background: rgba(255,255,255,0.18); }
.sc-win i:nth-child(1) { background: #F87171; } .sc-win i:nth-child(2) { background: #FBBF24; } .sc-win i:nth-child(3) { background: #34D399; }
.sc-win .sc-mono { margin-left: .6em; flex: 1; height: 1.15em; display: flex; align-items: center; padding: 0 .6em; border-radius: .4em; background: rgba(255,255,255,0.05); color: var(--mute); font-size: .8em; }
.sc-img { display: block; border-radius: .45em; background: linear-gradient(135deg, color-mix(in srgb, var(--c, #EC4899) 55%, #1b2233), color-mix(in srgb, var(--c, #EC4899) 18%, #0e131e)); position: relative; overflow: hidden; }
.sc-img::after { content: ''; position: absolute; left: 18%; bottom: 0; width: 64%; height: 46%; background: rgba(255,255,255,0.14); clip-path: polygon(0 100%, 34% 30%, 52% 62%, 72% 18%, 100% 100%); }
.sc-img--empty { background: transparent; border: 1px dashed rgba(255,255,255,0.22); }
.sc-img--empty::after { display: none; }
@keyframes scDrop { 0% { opacity: 0; transform: translateY(-140%); } 60% { opacity: 1; transform: translateY(6%); } 80% { transform: translateY(-4%); } 100% { opacity: 1; transform: none; } }
@keyframes scBump { 0%, 100% { transform: none; } 40% { transform: scale(1.25); } }
@keyframes scPress { 0%, 100% { transform: none; } 45% { transform: scale(.94); } }
.play .drop { animation: scDrop var(--du, .8s) var(--eo) var(--at, 0s) both; }
.play .bump { animation: scBump .45s var(--eo) var(--at, 0s) both; }
.play .press { animation: scPress .35s ease var(--at, 0s) both; }
@media (prefers-reduced-motion: reduce) {
  .play .drop, .play .bump, .play .press { animation: none !important; }
}

/* ══ TÉTELES AJÁNLATLAP (.s-offer, széles): a Weboldal- és a Webshop-lap ár-szekciója ══
   Bal: az ajánlat összeáll (mindig benne · kérésre · fizetés); jobb: a menet három
   lépése. Összeg nincs rajta (a tulajdonos döntése: nem írunk ki árat). */
.s-offer .grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 1.6em; align-items: start; }
.s-offer .doc { position: relative; padding: 1.3em 1.5em 1.4em; display: flex; flex-direction: column; gap: .55em; }
.s-offer .dh { display: flex; align-items: center; gap: .65em; padding-bottom: .7em; margin-bottom: .2em; border-bottom: 1px solid var(--line); }
.s-offer .dh .mark { width: 1.6em; height: 1.6em; border-radius: .5em; background: linear-gradient(135deg, var(--c), #8B5CF6); flex: none; }
.s-offer .dh .sc-t { font-size: 1.25em; }
.s-offer .dh .sc-lbl { display: block; margin-top: .1em; }
.s-offer .dh .sc-pill { margin-left: auto; }
.s-offer .sec { margin-top: .5em; font-size: .8em; font-weight: 700; letter-spacing: .02em; color: var(--mute); display: flex; align-items: center; gap: .5em; }
.s-offer .sec::before { content: ''; width: .55em; height: .55em; border-radius: 50%; background: var(--k, var(--ok)); }
.s-offer .ln { display: flex; align-items: center; gap: .65em; font-size: .98em; color: var(--ink); min-height: 1.75em; }
.s-offer .ln .sc-bar { margin-left: auto; flex: none; opacity: .7; }
.s-offer .ln .plus { width: 1.4em; height: 1.4em; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85em; color: #fde68a; background: rgba(245,158,11,0.14); border: 1px solid rgba(245,158,11,0.5); }
.s-offer .ln .sc-pill { margin-left: auto; height: 1.6em; font-size: .78em; }
.s-offer .pay { display: flex; height: 2.3em; border-radius: .6em; overflow: hidden; border: 1px solid var(--line); margin-top: .2em; }
.s-offer .pay span { display: flex; align-items: center; padding: 0 .8em; font-size: .82em; font-weight: 600; white-space: nowrap; overflow: hidden; }
.s-offer .pay .p1 { width: 30%; color: #fff; background: linear-gradient(90deg, color-mix(in srgb, var(--c) 70%, #0a0d15), color-mix(in srgb, var(--c) 45%, #0a0d15)); }
.s-offer .pay .p2 { flex: 1; color: var(--ink); background: rgba(255,255,255,0.05); border-left: 1px solid var(--line); }
.s-offer .run { display: flex; flex-direction: column; gap: .45em; margin-top: .3em; padding: .75em .9em; border-radius: .7em; border: 1px dashed rgba(255,255,255,0.16); }
.s-offer .run .ln { font-size: .9em; }
.s-offer .run .ln svg { width: 1.05em; height: 1.05em; color: var(--mute); flex: none; }
.s-offer .stamp { align-self: flex-start; margin: .5em 0 0 .4em; padding: .35em .8em; border: 1.5px solid var(--ok); border-radius: .5em; font-family: 'Outfit', sans-serif; font-size: .95em; font-weight: 700; color: var(--ok); background: rgba(10,13,21,0.85); transform: rotate(-6deg); }
.play .s-offer .stamp.in-s { animation-name: offStamp; }
@keyframes offStamp { from { opacity: 0; transform: rotate(-6deg) scale(1.3); } to { opacity: 1; transform: rotate(-6deg) scale(1); } }
.s-offer .steps { position: relative; display: flex; flex-direction: column; gap: .8em; }
.s-offer .steps::before { content: ''; position: absolute; left: 1.55em; top: 1.6em; bottom: 1.6em; width: 2px; background: linear-gradient(var(--c), color-mix(in srgb, var(--c) 20%, transparent)); opacity: .5; }
.s-offer .st { position: relative; display: flex; align-items: center; gap: .9em; padding: .85em 1em; }
.s-offer .st .num { width: 2.1em; height: 2.1em; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; font-family: 'Outfit', sans-serif; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--c), #8B5CF6); }
.s-offer .st .sc-t { display: block; font-size: 1.05em; }
.s-offer .st .sc-lbl { display: block; margin-top: .15em; }
.s-offer .st .sc-check { margin-left: auto; }
@media (max-width: 760px) {
  .s-offer .grid { grid-template-columns: 1fr; }
  .s-offer .stamp { position: static; align-self: flex-start; margin-top: .4em; }
  .s-offer .ln .sc-bar { display: none; }
}
.aa-scene--lg .sc-pill svg { width: 1em; height: 1em; flex: none; }
@media (max-width: 760px) {
  .s-offer .pay { flex-direction: column; height: auto; }
  .s-offer .pay span { padding: .55em .8em; white-space: normal; }
  .s-offer .pay .p1 { width: auto; }
  .s-offer .pay .p2 { border-left: 0; border-top: 1px solid var(--line); }
}
/* Kerek vonalvégű rajzolásnál a vonal vége ne látszódjon pöttyként a késleltetés alatt */
@keyframes drawCap { 0% { stroke-dashoffset: 1; opacity: 0; } 3% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 1; } }
.play .in-draw.cap { animation-name: drawCap; }

/* ══ FIZETETT HIRDETÉS (.s-ads, kis színpad): a Weboldal- és a Webshop-lap 6. blokkja (2026-11-06) ══
   Bal: Google Ads és Meta Ads kampánykártya mini-sávokkal; közép: a hirdetés;
   jobb: mérés megjelenéstől a vásárlásig/ajánlatkérésig. ⛔ Szám nincs, csak sávok. */
.s-ads.sc { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, .8fr) minmax(0, 1.25fr); grid-template-rows: minmax(0, 1fr) auto; gap: .65em; }
.s-ads .camps { display: flex; flex-direction: column; gap: .55em; min-height: 0; }
.s-ads .cp { flex: 1; display: flex; flex-direction: column; gap: .3em; padding: .5em .6em; min-height: 0; }
.s-ads .ch { display: flex; align-items: center; gap: .4em; }
.s-ads .ch .sc-t { font-size: .92em; white-space: nowrap; }
.s-ads .gl { display: grid; grid-template-columns: repeat(2, .4em); gap: .12em; flex: none; }
.s-ads .gl i { width: .4em; height: .4em; border-radius: 50%; }
.s-ads .gl i:nth-child(1) { background: #4285F4; } .s-ads .gl i:nth-child(2) { background: #EA4335; } .s-ads .gl i:nth-child(3) { background: #FBBC05; } .s-ads .gl i:nth-child(4) { background: #34A853; }
.s-ads .mt { width: 1.1em; height: 1.1em; color: #60A5FA; flex: none; }
.s-ads .cp .sc-lbl { font-size: .74em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-ads .mini { flex: 1; min-height: 1.4em; display: flex; align-items: flex-end; gap: .2em; }
.s-ads .mini i { flex: 1; height: var(--h, 50%); border-radius: .15em .15em 0 0; background: color-mix(in srgb, var(--c) 55%, transparent); }
.s-ads .cp--meta .mini i { background: rgba(96,165,250,0.55); }
.s-ads .ad { display: flex; flex-direction: column; gap: .35em; padding: .5em; min-height: 0; }
.s-ads .ad .sp { font-size: .68em; font-weight: 700; color: var(--mute); }
.s-ads .ad .sc-img { flex: 1; min-height: 2em; max-height: 5.5em; }
.s-ads .ad .sc-t { font-size: .86em; line-height: 1.2; }
.s-ads .ad .cta { display: flex; align-items: center; justify-content: center; height: 1.7em; border-radius: .45em; font-size: .78em; font-weight: 700; color: #0a0d15; background: var(--c); white-space: nowrap; }
.s-ads .fun { display: flex; flex-direction: column; justify-content: center; gap: .7em; padding: .6em .7em; min-height: 0; }
.s-ads .fr { display: grid; grid-template-columns: 6.4em minmax(0, 1fr); align-items: center; gap: .5em; font-size: .82em; color: var(--ink); }
.s-ads .fr span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-ads .fr i { display: block; height: .9em; border-radius: .3em; width: var(--w, 50%); background: rgba(255,255,255,0.16); }
.s-ads .fr--win i { background: linear-gradient(90deg, var(--c), var(--ok)); }
.s-ads .fr--win span { color: #fff; font-weight: 600; }
.s-ads .ok { grid-column: 1 / -1; justify-self: center; }
