/* AIpediya — own-project ads in the approved ad places (card #088).
   The places keep the sizes and positions of card #087; this file only styles what
   is inside them. One creative markup per project; its composition is chosen from
   the real size of the place with container queries:
     strip  — height <= 90px: catalog row on desktop (≈50px) and bottom banner (60px)
     short  — height < 190px: catalog card on phones (134px), 300×250 on 1280px screens
     card   — 300×250 (and scaled 264×220)
     tall   — 300×600 (aspect < 0.7)
   Animations use transform, opacity and stroke-dashoffset only, pause outside the
   viewport (.ha-off) and stop for prefers-reduced-motion. Base styles are the final
   frames, so a still creative is always complete. */

/* ------------------------------------------------------------------ place */
.ad-slot.ha-slot {
  position: relative; display: block; overflow: hidden; padding: 0; margin: 0; gap: 0;
  container: ha / size; text-align: start; font-size: 13px; color: inherit;
  background: var(--surface, #0f1a21); border: 1px solid var(--line);
}
.ad-slot.ha-slot--bottom { height: 60px; min-height: 60px; }
.ad-slot.ha-slot--infeed { border-top: 1px solid var(--line); }
@media (max-width: 820px) {
  /* A definite height (not auto + min-height) so the size container reports 134px. */
  .cat-table tbody tr.ad-row .ad-slot.infeed.ha-slot--infeed { height: 134px; min-height: 0; }
}

/* --------------------------------------------------------------- creative */
.ha {
  --ha-fg: #eef3f8; --ha-muted: #9aa8b2; --ha-line: rgba(255,255,255,.12); --ha-line-2: rgba(255,255,255,.2);
  --ha-bg: #0c1218; --ha-solid: #0c1218; --ha-a1: #5ee1d4; --ha-a2: #7fb0ff;
  --ha-cta-bg: var(--ha-a1); --ha-cta-fg: #05080b;
  position: absolute; inset: 0; z-index: 1; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto auto;
  grid-template-areas: "brand" "art" "copy" "cta"; gap: 8px; padding: 14px 16px 14px;
  color: var(--ha-fg); background: var(--ha-bg); text-decoration: none; line-height: 1.25;
  font-family: inherit; opacity: 1; transition: opacity .7s ease;
}
.ha:hover, .ha:focus-visible { text-decoration: none; color: var(--ha-fg); }
.ha:focus-visible { outline: 2px solid var(--ha-a1); outline-offset: -2px; }
.ha--in, .ha--out { opacity: 0; }
.ha--out { z-index: 0; }
/* During a change the click goes to the creative that is the more visible one (house-ads.js). */
.ha--wait, .ha--gone { pointer-events: none; }
.ha--fresh .ha-copy { animation: ha-rise .9s cubic-bezier(.2,.7,.2,1) both; }
.ha--fresh .ha-cta { animation: ha-rise .9s .12s cubic-bezier(.2,.7,.2,1) both; }
@keyframes ha-rise { from { transform: translateY(6px); opacity: 0; } }

.ha-tag {
  position: absolute; top: 8px; inset-inline-end: 9px; z-index: 3;
  padding: 3px 5px; border-radius: 4px; border: 1px solid var(--ha-line-2);
  font: 600 9px/1 var(--font-mono, ui-monospace, monospace); letter-spacing: .08em; text-transform: uppercase;
  color: var(--ha-muted); background: color-mix(in oklab, var(--ha-solid) 75%, transparent);
}
.ha-brand { grid-area: brand; display: flex; align-items: center; gap: 9px; min-width: 0; padding-inline-end: 64px; }
.ha-logo { flex: none; width: 28px; height: 28px; }
.ha-logo img, .ha-logo svg { display: block; width: 100%; height: 100%; border-radius: 7px; object-fit: contain; }
.ha-name { font-size: 13px; font-weight: 700; letter-spacing: -.005em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ha-art { grid-area: art; position: relative; min-height: 0; min-width: 0; }
.ha-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ha-copy { grid-area: copy; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ha-head {
  font-size: clamp(13px, 6.3cqi, 19px); font-weight: 750; letter-spacing: -.012em; line-height: 1.18;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
  overflow-wrap: break-word; hyphens: auto;
}
/* Scripts with tall marks (Devanagari, Bengali, Thai) need a little more leading. */
.ha:is(:lang(hi), :lang(bn), :lang(th)) .ha-head { line-height: 1.32; }
.ha-sub {
  display: none; color: var(--ha-muted); font-size: 12px; line-height: 1.35;
  -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden;
}
.ha-cta {
  grid-area: cta; justify-self: start; display: inline-flex; align-items: center; gap: 7px;
  height: 30px; padding: 0 14px; border-radius: 999px; max-width: 100%;
  font-size: 12.5px; font-weight: 650; white-space: nowrap; overflow: hidden;
  color: var(--ha-cta-fg); background: var(--ha-cta-bg);
  transition: transform .25s ease, box-shadow .25s ease;
}
.ha:hover .ha-cta { transform: translateX(2px); box-shadow: 0 6px 18px -10px var(--ha-a1); }
[dir="rtl"] .ha:hover .ha-cta { transform: translateX(-2px); }
.ha-arrow, .ha-play { flex: none; width: 14px; height: 14px; }
.ha-arrow path { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ha-play path { fill: currentColor; }
[dir="rtl"] .ha-arrow { transform: scaleX(-1); }

/* -------------------------------------------------- short card (h < 190px) */
@container ha (max-height: 189px) {
  .ha { grid-template-columns: minmax(0, 1fr) minmax(0, 40%); grid-template-rows: auto minmax(0, 1fr) auto;
        grid-template-areas: "brand brand" "copy art" "cta cta"; gap: 6px 12px; padding: 12px 14px; }
  .ha--rpc .ha-h2 { display: none; }
  .ha-head { font-size: clamp(12.5px, 4.4cqi, 15px); line-height: 1.15; -webkit-line-clamp: 3; line-clamp: 3; }
  .ha-art { align-self: center; height: 100%; }
  .ha-logo { width: 22px; height: 22px; }
  .ha-logo img, .ha-logo svg { border-radius: 5px; }
  .ha-name { font-size: 12px; }
  .ha-cta { height: 26px; padding: 0 12px; font-size: 11.5px; }
}
@container ha (max-height: 189px) and (max-width: 250px) {
  .ha { grid-template-columns: minmax(0, 1fr); grid-template-areas: "brand" "copy" "cta"; grid-template-rows: auto minmax(0, 1fr) auto; }
  .ha-art { position: absolute; inset: auto 0 0 auto; width: 62%; height: 58%; opacity: .32; z-index: -1; }
  [dir="rtl"] .ha-art { inset: auto auto 0 0; }
  .ha-head { font-size: clamp(12px, 7cqi, 15px); }
  .ha-cta { height: 26px; padding: 0 11px; font-size: 11.5px; }
}

/* ------------------------------------------------------- card (300×250) */
@container ha (min-height: 190px) and (min-aspect-ratio: 7/10) {
  .ha { padding: 16px 18px 16px; gap: 10px; }
  .ha-logo { width: 30px; height: 30px; }
}

/* ------------------------------------------------------ tall (300×600) */
@container ha (max-aspect-ratio: 7/10) {
  .ha { grid-template-rows: auto auto minmax(0, 1fr) auto; grid-template-areas: "brand" "copy" "art" "cta";
        padding: 9cqi 8cqi 8cqi; gap: 6cqi; }
  .ha-brand { flex-direction: column; align-items: flex-start; gap: 4cqi; padding-inline-end: 0; margin-top: 6cqi; }
  .ha-logo { width: 15cqi; height: 15cqi; }
  .ha-logo img, .ha-logo svg { border-radius: 3.6cqi; }
  .ha-name { font-size: clamp(12px, 5cqi, 15px); color: var(--ha-muted); font-weight: 650; letter-spacing: .02em; }
  .ha-head { font-size: clamp(17px, 9.4cqi, 29px); line-height: 1.12; -webkit-line-clamp: 5; line-clamp: 5; }
  .ha-sub { display: -webkit-box; font-size: clamp(11.5px, 4.6cqi, 14px); }
  .ha-copy { gap: 3.5cqi; }
  .ha-cta { justify-self: stretch; justify-content: center; height: auto; min-height: clamp(34px, 14cqi, 44px); padding-block: 7px;
            white-space: normal; text-align: center; line-height: 1.15; font-size: clamp(12px, 4.8cqi, 14.5px); }
}

/* -------------------------------------------- strip (row 50px, bottom 60px) */
@container ha (max-height: 90px) {
  .ha { grid-template-columns: auto auto minmax(0, 1fr) minmax(0, 210px) auto; grid-template-rows: minmax(0, 1fr);
        grid-template-areas: "tag brand copy art cta"; align-items: center; gap: 16px; padding: 0 12px 0 14px; }
  .ha-tag { position: static; grid-area: tag; }
  .ha-brand { padding-inline-end: 0; gap: 8px; }
  .ha-logo { width: 26px; height: 26px; }
  .ha-logo img, .ha-logo svg { border-radius: 6px; }
  .ha-copy { flex-direction: row; align-items: baseline; gap: 12px; overflow: hidden; }
  .ha-head { display: block; flex: 0 1 auto; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ha-sub { display: block; flex: 1 1 0; min-width: 0; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ha-art { height: 100%; padding-block: 5px; }
  .ha-cta { height: 28px; padding: 0 13px; font-size: 12px; }
}
@container ha (max-height: 90px) and (min-height: 56px) {
  .ha-head { font-size: 15px; }
  .ha { grid-template-columns: auto auto minmax(0, 1fr) minmax(0, 280px) auto; }
}
@container ha (max-height: 90px) and (max-width: 980px) {
  .ha { grid-template-columns: auto auto minmax(0, 1fr) auto; grid-template-areas: "tag brand copy cta"; }
  .ha-art, .ha-sub { display: none; }
}
@container ha (max-height: 90px) and (max-width: 600px) {
  .ha { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "brand copy cta"; gap: 10px; padding: 0 10px; }
  .ha-tag { position: absolute; top: 3px; inset-inline-start: 46px; padding: 1px 4px; font-size: 7.5px; border: 0; background: none; }
  .ha-name { display: none; }
  .ha-copy { padding-top: 9px; }
  .ha-head { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; font-size: 12.5px; }
  .ha-cta { width: 32px; height: 32px; padding: 0; justify-content: center; font-size: 0; gap: 0; }
  .ha-arrow, .ha-play { width: 15px; height: 15px; }
}

/* ============================================================ projects */
/* Vibe Coding Control — night-blue control room, blue→green brand gradient */
.ha--vcc { --ha-bg: radial-gradient(120% 140% at 100% 0%, rgba(25,201,148,.16), transparent 55%), linear-gradient(160deg, #0f2038, #061424 70%);
  --ha-solid: #071628; --ha-fg: #eaf2ff; --ha-muted: #9db1c8; --ha-a1: #4a8df8; --ha-a2: #19c994;
  --ha-cta-bg: linear-gradient(90deg, #4a8df8, #19c994); --ha-cta-fg: #04121f; }
.ha--vcc .ha-head { background: linear-gradient(95deg, #f2f7ff 0%, #8fb8ff 55%, #4fe0b0 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vcc-rail { fill: none; stroke: var(--ha-line-2); stroke-width: 2; stroke-linecap: round; }
.vcc-node circle { fill: var(--ha-solid); stroke: var(--ha-a1); stroke-width: 2.4; }
.vcc-n3 circle { stroke: var(--ha-a2); }
.vcc-node text { fill: var(--ha-muted); font: 600 9.5px var(--font-mono, ui-monospace, monospace); letter-spacing: .12em; text-anchor: middle; }
.vcc-pulse { fill: #fff; transform-box: view-box; animation: vcc-pulse 6.4s cubic-bezier(.65,0,.35,1) infinite; }
.vcc-n2, .vcc-n3 { animation: vcc-n2 6.4s ease infinite; }
.vcc-n3 { animation-name: vcc-n3; }
.vcc-check { fill: none; stroke: var(--ha-a2); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 20; animation: vcc-check 6.4s ease infinite; }
@keyframes vcc-pulse { 0% { transform: translateX(0); opacity: 0; } 6% { opacity: 1; } 38%, 48% { transform: translateX(80px); } 82% { transform: translateX(160px); opacity: 1; } 90%, 100% { transform: translateX(160px); opacity: 0; } }
@keyframes vcc-n2 { 0%, 36% { opacity: .38; } 42%, 100% { opacity: 1; } }
@keyframes vcc-n3 { 0%, 80% { opacity: .38; } 86%, 100% { opacity: 1; } }
@keyframes vcc-check { 0%, 82% { stroke-dashoffset: 20; } 92%, 100% { stroke-dashoffset: 0; } }
:root[data-theme="light"] .ha--vcc { --ha-bg: radial-gradient(120% 140% at 100% 0%, rgba(25,201,148,.14), transparent 55%), linear-gradient(160deg, #f4f8ff, #e9f1fd 70%);
  --ha-solid: #f4f8ff; --ha-fg: #0b1a2e; --ha-muted: #4c6079; --ha-line: rgba(11,26,46,.1); --ha-line-2: rgba(11,26,46,.18); --ha-cta-fg: #fff;
  --ha-cta-bg: linear-gradient(90deg, #2f6fe0, #0e9f74); }
:root[data-theme="light"] .ha--vcc .ha-head { background-image: linear-gradient(95deg, #0b1a2e 0%, #2559c4 60%, #0b8e68 100%); }
:root[data-theme="light"] .vcc-pulse { fill: #2f6fe0; }

/* Remote PC Help & Web — near-black studio, cyan→mint, a site assembling itself */
.ha--rpc { --ha-bg: radial-gradient(110% 120% at 0% 100%, rgba(92,225,255,.13), transparent 60%), linear-gradient(170deg, #0b1119, #05070c 75%);
  --ha-solid: #070a10; --ha-fg: #f1f7fb; --ha-muted: #9fb0bd; --ha-a1: #5ce1ff; --ha-a2: #5dffb8;
  --ha-cta-bg: linear-gradient(90deg, #5ce1ff, #5dffb8); --ha-cta-fg: #04121a; }
.ha--rpc .ha-h2 { background: linear-gradient(90deg, #5ce1ff, #5dffb8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rpc-win { fill: rgba(255,255,255,.035); stroke: var(--ha-line-2); stroke-width: 1.5; }
.rpc-bar { stroke: var(--ha-line); stroke-width: 1.2; }
.rpc-dot { fill: var(--ha-line-2); }
.rpc-b { transform-box: fill-box; transform-origin: 0 50%; animation: rpc-build 8s cubic-bezier(.3,.7,.2,1) infinite; }
.rpc-b1 { fill: var(--ha-a1); opacity: .9; }
.rpc-b2 { fill: var(--ha-muted); opacity: .55; animation-delay: .25s; }
.rpc-b4 { fill: rgba(92,225,255,.16); stroke: rgba(92,225,255,.4); animation-delay: .5s; }
.rpc-b3 { fill: var(--ha-a2); animation-delay: .75s; }
[dir="rtl"] .rpc-b { transform-origin: 100% 50%; }
.rpc-ok { transform-box: fill-box; transform-origin: 50% 50%; animation: rpc-ok 8s ease infinite; }
.rpc-ok circle { fill: var(--ha-a2); }
.rpc-ok path { fill: none; stroke: #04121a; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@keyframes rpc-build { 0% { transform: scaleX(0); opacity: 0; } 9% { transform: scaleX(1); opacity: 1; } 86% { transform: scaleX(1); opacity: 1; } 96%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes rpc-ok { 0%, 16% { transform: scale(.4); opacity: 0; } 22% { transform: scale(1.08); opacity: 1; } 26%, 86% { transform: scale(1); opacity: 1; } 96%, 100% { transform: scale(1); opacity: 0; } }
:root[data-theme="light"] .ha--rpc { --ha-bg: radial-gradient(110% 120% at 0% 100%, rgba(92,225,255,.22), transparent 60%), linear-gradient(170deg, #f3fbff, #eaf6fb 75%);
  --ha-solid: #f3fbff; --ha-fg: #06131c; --ha-muted: #47606f; --ha-line: rgba(6,19,28,.1); --ha-line-2: rgba(6,19,28,.2);
  --ha-cta-bg: linear-gradient(90deg, #0b9cc4, #0aa874); --ha-cta-fg: #fff; }
:root[data-theme="light"] .ha--rpc .ha-h2 { background-image: linear-gradient(90deg, #0a8fb5, #08945f); }
:root[data-theme="light"] .rpc-win { fill: #fff; }

/* StratForge — trading desk navy, electric blue with an orange signal */
.ha--sf { --ha-bg: radial-gradient(130% 120% at 100% 100%, rgba(56,168,255,.2), transparent 58%), linear-gradient(165deg, #0d1626, #070b12 72%);
  --ha-solid: #080d16; --ha-fg: #eef4fb; --ha-muted: #9aabbf; --ha-a1: #38a8ff; --ha-a2: #ff8a3d;
  --ha-cta-bg: linear-gradient(90deg, #2f8ff0, #38a8ff); --ha-cta-fg: #fff; }
.sf-grid { stroke: var(--ha-line); stroke-width: .8; fill: none; }
.sf-candles path { stroke-width: 5; stroke-linecap: round; opacity: .42; }
.sf-up { stroke: var(--ha-a1); }
.sf-down { stroke: var(--ha-a2); }
.sf-area { fill: rgba(56,168,255,.13); animation: sf-area 7.5s ease-in-out infinite; }
.sf-line { fill: none; stroke: var(--ha-a1); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 100; animation: sf-draw 7.5s ease-in-out infinite; }
.sf-dot { fill: var(--ha-a2); transform-box: fill-box; transform-origin: 50% 50%; animation: sf-dot 7.5s ease infinite; }
@keyframes sf-draw { 0% { stroke-dashoffset: 100; opacity: 1; } 46%, 86% { stroke-dashoffset: 0; opacity: 1; } 96% { stroke-dashoffset: 0; opacity: 0; } 100% { stroke-dashoffset: 100; opacity: 0; } }
@keyframes sf-area { 0%, 20% { opacity: 0; } 50%, 86% { opacity: 1; } 96%, 100% { opacity: 0; } }
@keyframes sf-dot { 0%, 42% { transform: scale(0); } 50% { transform: scale(1.35); } 56%, 86% { transform: scale(1); } 96%, 100% { transform: scale(0); } }
:root[data-theme="light"] .ha--sf { --ha-bg: radial-gradient(130% 120% at 100% 100%, rgba(56,168,255,.2), transparent 58%), linear-gradient(165deg, #f5f9fe, #eaf2fb 72%);
  --ha-solid: #f5f9fe; --ha-fg: #0a1322; --ha-muted: #4c5d72; --ha-line: rgba(10,19,34,.1); --ha-line-2: rgba(10,19,34,.18); --ha-a1: #1f86e0; --ha-a2: #ea6a16;
  --ha-cta-bg: linear-gradient(90deg, #1a74c9, #1f86e0); }

/* 22nd Century FM — black night radio, a white signal travelling along the wave */
.ha--fm { --ha-bg: radial-gradient(90% 120% at 50% 110%, rgba(255,255,255,.07), transparent 60%), #030303;
  --ha-solid: #050505; --ha-fg: #f4f4f2; --ha-muted: #a3a3a0; --ha-a1: #ffffff; --ha-line: rgba(255,255,255,.1); --ha-line-2: rgba(255,255,255,.22);
  --ha-cta-bg: #f4f4f2; --ha-cta-fg: #050505; }
.ha--fm .ha-head { font-weight: 600; letter-spacing: .005em; }
/* Korean breaks between syllables by default; keep whole words together. */
.ha--fm:lang(ko) .ha-head { word-break: keep-all; }
.ha--fm .ha-name { letter-spacing: .06em; }
.fm-logo circle { fill: #000; stroke: rgba(255,255,255,.22); stroke-width: 1; }
.fm-logo path { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.fm-base { fill: none; stroke: var(--ha-fg); stroke-width: 1.8; stroke-linecap: round; opacity: .55; }
.fm-glow { fill: none; stroke: var(--ha-fg); stroke-width: 9; stroke-linecap: round; opacity: .07; animation: fm-breathe 6s ease-in-out infinite; }
.fm-signal { fill: none; stroke: var(--ha-a1); stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 16 84; stroke-dashoffset: 30; animation: fm-signal 5.2s cubic-bezier(.45,0,.55,1) infinite; }
.fm-stars circle { fill: var(--ha-fg); opacity: .5; animation: fm-twinkle 7s ease-in-out infinite; }
.fm-stars circle:nth-child(2n) { animation-delay: -2.3s; animation-duration: 9s; }
.fm-stars circle:nth-child(3n) { animation-delay: -4.1s; }
@keyframes fm-signal { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes fm-breathe { 0%, 100% { opacity: .05; } 50% { opacity: .15; } }
@keyframes fm-twinkle { 0%, 100% { opacity: .2; } 50% { opacity: .75; } }
:root[data-theme="light"] .ha--fm { --ha-bg: radial-gradient(90% 120% at 50% 110%, rgba(0,0,0,.05), transparent 60%), #f2f1ee;
  --ha-solid: #f2f1ee; --ha-fg: #0b0b0b; --ha-muted: #575652; --ha-a1: #000; --ha-line: rgba(0,0,0,.1); --ha-line-2: rgba(0,0,0,.2);
  --ha-cta-bg: #0b0b0b; --ha-cta-fg: #f4f4f2; }

/* Dmitry Cherevko — graphite paper, bold condensed capitals, drifting lines with one gold */
.ha--dc { --ha-bg: linear-gradient(180deg, #0f1013, #0b0c0e); --ha-solid: #0b0c0e; --ha-fg: #eee9df; --ha-muted: #a19c92;
  --ha-a1: #e0b04f; --ha-line: rgba(238,233,223,.1); --ha-line-2: rgba(238,233,223,.3); --ha-cta-bg: #eee9df; --ha-cta-fg: #0b0c0e; }
.ha--dc .ha-head { text-transform: uppercase; font-weight: 800; letter-spacing: -.01em; font-stretch: 85%; }
.ha--dc .ha-name { text-transform: uppercase; letter-spacing: .06em; }
.ha--dc .ha-logo img { border-radius: 6px; }
.dc-flow { animation: dc-drift 26s linear infinite; }
.dc-flow path { fill: none; stroke: var(--ha-line-2); stroke-width: 1.1; vector-effect: non-scaling-stroke; opacity: .85; }
.dc-flow .dc-gold { stroke: var(--ha-a1); stroke-width: 1.6; }
@keyframes dc-drift { to { transform: translateX(-240px); } }
:root[data-theme="light"] .ha--dc { --ha-bg: linear-gradient(180deg, #f5f2ea, #efebe1); --ha-solid: #f3efe6; --ha-fg: #16140f; --ha-muted: #5d584e;
  --ha-a1: #b07d12; --ha-line: rgba(22,20,15,.1); --ha-line-2: rgba(22,20,15,.2); --ha-cta-bg: #16140f; --ha-cta-fg: #f3efe6; }

/* Per-format accents of the art */
@container ha (max-aspect-ratio: 7/10) {
  .ha--dc .ha-head { font-size: clamp(16px, 8.6cqi, 27px); line-height: 1.04; }
  .ha--fm .ha-art, .ha--dc .ha-art, .ha--sf .ha-art { margin-inline: -8cqi; }
  .ha--rpc .ha-head { -webkit-line-clamp: 6; line-clamp: 6; font-size: clamp(16px, 8.2cqi, 26px); }
  .ha--rpc .ha-h1, .ha--rpc .ha-h2 { display: block; }
  .ha--rpc .ha-h2 { margin-top: .15em; }
}
@container ha (min-height: 190px) and (min-aspect-ratio: 7/10) {
  .ha--rpc .ha-h2 { display: none; }
}
@container ha (max-height: 90px) {
  .ha--dc .ha-head, .ha--fm .ha-head { font-size: 13.5px; }
}

/* ------------------------------------------------------ motion & paused */
.ha-slot.ha-off .ha, .ha-slot.ha-off .ha * { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  .ha, .ha * { animation: none !important; transition: none !important; }
  .fm-signal { stroke-dasharray: none; opacity: .9; }
}
