/* Deals hub: the member Deals page (.dl), the homepage "Hot deals" strip (.hxd) and the admin screen (.dla).
 * Built on shared.css tokens. No pulsing or blinking dots, rings or ripples: movement is slides and a calm marquee only,
 * and all of it stops for prefers-reduced-motion. */

/* ---------- brand tile: the official logo on a dark tile (fitted, never cropped or stretched), or the name on a tile
 * tinted with the source's accent colour (--ac). Tiles are wide (2:1) so wordmarks fit; nothing is drawn as a logo. ---------- */
.dl-logo { --ac: #12c784; flex: none; width: 88px; height: 44px; border-radius: 12px; background: #000; border: 1px solid rgba(10,26,19,.08); display: grid; place-items: center; overflow: hidden; }
.dl-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.dl-logo-t { background: color-mix(in srgb, var(--ac) 16%, #fff); border-color: color-mix(in srgb, var(--ac) 30%, #fff); padding: 4px 8px; }
.dl-logo-t b { font-weight: 800; letter-spacing: -.035em; color: color-mix(in srgb, var(--ac) 30%, #0A1A13); text-align: center; line-height: 1.05; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: normal; hyphens: none; }
.dl-logo-t .s-l { font-size: 15px; } .dl-logo-t .s-m { font-size: 13px; } .dl-logo-t .s-s { font-size: 11.5px; } .dl-logo-t .s-xs { font-size: 10px; }
.dl-logo.md { width: 80px; height: 40px; border-radius: 11px; }
.dl-logo.lg { width: 112px; height: 56px; border-radius: 14px; }
.dl-logo.lg .s-l { font-size: 18px; } .dl-logo.lg .s-m { font-size: 15px; } .dl-logo.lg .s-s { font-size: 13px; } .dl-logo.lg .s-xs { font-size: 11px; }
.dl-logo.xs { width: 48px; height: 24px; border-radius: 7px; padding: 2px 4px; }
.dl-logo.xs .s-l, .dl-logo.xs .s-m { font-size: 9.5px; } .dl-logo.xs .s-s, .dl-logo.xs .s-xs { font-size: 8px; }
/* on dark surfaces */
:is(.dl-hero, .dl-tick, .hxd) .dl-logo { border-color: rgba(255,255,255,.12); }
:is(.dl-hero, .dl-tick, .hxd) .dl-logo-t { background: color-mix(in srgb, var(--ac) 26%, #0E1F17); border-color: color-mix(in srgb, var(--ac) 40%, transparent); }
:is(.dl-hero, .dl-tick, .hxd) .dl-logo-t b { color: #fff; }

/* ================= member page ================= */
.dl { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding-bottom: 8px; }
.dl > * { min-width: 0; }

/* hero */
.dl-hero { position: relative; border-radius: 28px; padding: 22px; background: var(--night); color: #fff; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; isolation: isolate; }
.dl-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 34px 34px; mask-image: linear-gradient(180deg, #000, transparent 70%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); pointer-events: none; }
.dl-hero-h { position: relative; display: grid; gap: 6px; }
.dl-kick { display: inline-flex; align-items: center; gap: 7px; justify-self: start; font-size: 13.5px; letter-spacing: -.01em; color: var(--lime); font-weight: 700; }
.dl-kick .ico { width: 15px; height: 15px; }
.dl-hero h2 { font-size: clamp(26px, 3.6vw, 38px); color: #fff; letter-spacing: -.05em; }
.dl-hero p { color: var(--ntext); font-size: 15px; max-width: 52ch; }

.dl-car { position: relative; min-width: 0; }
.dl-stage { display: grid; border-radius: 22px; outline-offset: 4px; overflow: hidden; touch-action: pan-y; }
.dl-slide { --ac: #12c784; grid-area: 1 / 1; position: relative; min-height: 250px; border-radius: 22px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); background: #0B1A13; opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility 0s .7s; }
.dl-slide.on { opacity: 1; visibility: visible; transition: opacity .7s var(--ease), visibility 0s; z-index: 1; }
.dl-slide-bg { position: absolute; inset: -6%; background:
    radial-gradient(70% 90% at 92% 8%, color-mix(in srgb, var(--ac) 55%, transparent), transparent 62%),
    radial-gradient(60% 80% at 6% 110%, color-mix(in srgb, var(--ac) 28%, transparent), transparent 60%),
    linear-gradient(135deg, color-mix(in srgb, var(--ac) 18%, #0B1A13), #08130E 70%);
  background-size: cover; background-position: center; transform: translateX(calc(var(--dir, 1) * 3%)) scale(1.04); transition: transform 1.2s var(--ease); }
.dl-slide.on .dl-slide-bg { transform: none; }
.dl-slide.was .dl-slide-bg { transform: translateX(calc(var(--dir, 1) * -3%)) scale(1.04); }
.dl-slide.has-img .dl-slide-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,16,11,.9), rgba(6,16,11,.45) 65%, rgba(6,16,11,.15)); }
.dl-slide-in { position: relative; z-index: 1; padding: 22px; display: grid; gap: 14px; align-content: space-between; min-height: 250px; }
.dl-slide-in > * { transition: transform .8s var(--ease), opacity .6s var(--ease); }
.dl-slide:not(.on) .dl-slide-in > * { opacity: 0; transform: translateX(calc(var(--dir, 1) * 18px)); }
.dl-slide.on .dl-slide-rate { transition-delay: .06s; } .dl-slide.on .dl-brands { transition-delay: .12s; } .dl-slide.on .dl-slide-cta { transition-delay: .16s; }
.dl-slide-top { display: flex; align-items: center; gap: 14px; }
.dl-slide-top small { display: block; color: #CFDCD5; font-size: 13px; font-weight: 600; }
.dl-slide-top b { font-size: 20px; letter-spacing: -.03em; color: #fff; }
.dl-slide-rate small { display: block; font-size: 13.5px; color: var(--lime); font-weight: 700; letter-spacing: -.01em; }
.dl-slide-rate b { display: block; font-size: clamp(40px, 6vw, 64px); letter-spacing: -.055em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.dl-slide-rate b.long { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.1; letter-spacing: -.045em; max-width: 22ch; }
.dl-brands { display: flex; flex-wrap: wrap; gap: 6px; }
.dl-brand { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px 4px 4px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); }
.dl-brand i { font-style: normal; font-size: 12.5px; font-weight: 700; color: #E4EDE8; white-space: nowrap; }
.dl-brand .dl-logo.xs { border-radius: 999px; width: 44px; height: 22px; }
.dl-brand.t { padding-left: 11px; }
.dl-logo.tk { width: 72px; height: 36px; border-radius: 10px; }
.dl-logo.tk .s-l, .dl-logo.tk .s-m { font-size: 12px; } .dl-logo.tk .s-s, .dl-logo.tk .s-xs { font-size: 10px; }
.dl-slide-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.dl-slide-cta small { color: #CFDCD5; font-size: 12.5px; }
.dl-car-c { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.dl-bars { display: flex; gap: 6px; flex: 1; max-width: 300px; }
.dl-bars button { flex: 1; height: 44px; display: grid; align-items: center; margin-block: -10px; }
.dl-bars button i { display: block; height: 4px; border-radius: 4px; background: rgba(255,255,255,.18); overflow: hidden; position: relative; }
.dl-bars button.on i::after { content: ""; position: absolute; inset: 0; background: var(--lime); transform-origin: left; border-radius: inherit; }
.dl-car.run .dl-bars button.on i::after { animation: dlfill var(--dl-int, 6500ms) linear both; }
@keyframes dlfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.dl-arrows { display: flex; gap: 6px; }
.dl-arr { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid var(--nline); color: #fff; transition: background .2s; }
.dl-arr:hover { background: rgba(255,255,255,.16); }
.dl-arr .ico { width: 18px; height: 18px; }
@media (min-width: 900px) {
  .dl-slide-in { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "top top" "rate cta" "brands cta"; column-gap: 28px; align-items: end; padding: 26px 28px; }
  .dl-slide-top { grid-area: top; } .dl-slide-rate { grid-area: rate; } .dl-brands { grid-area: brands; } .dl-slide-cta { grid-area: cta; flex-direction: column; align-items: flex-end; }
}

/* payout ticker */
.dl-tick { position: relative; border-radius: 18px; background: var(--night); color: #fff; overflow: hidden; }
.dl-tk-row { mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.dl-tk-track { display: flex; width: max-content; }
.dl-tick.moving .dl-tk-track { animation: dltick var(--tk-dur, 40s) linear infinite; }
.dl-tick.paused .dl-tk-track { animation-play-state: paused; }
@keyframes dltick { to { transform: translateX(-50%); } }
.dl-tick.static .dl-tk-row { overflow-x: auto; scrollbar-width: none; mask-image: none; -webkit-mask-image: none; }
.dl-tk { flex: none; display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 10px; min-height: 52px; color: #fff; border-right: 1px solid rgba(255,255,255,.08); transition: background .2s; }
.dl-tk:hover { background: rgba(255,255,255,.06); }
.dl-tk b { font-size: 14px; letter-spacing: -.02em; white-space: nowrap; }
.dl-tk span { font-size: 13.5px; font-weight: 700; color: var(--lime); white-space: nowrap; }

/* filters */
.dl-bar0 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.dl-row1 { display: flex; gap: 8px; }
.dl-search { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 0 14px; }
.dl-search .ico { color: var(--muted); width: 18px; height: 18px; flex: none; }
.dl-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; height: 46px; font-size: 15px; }
.dl-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(18,199,132,.18); }
.dl-ftog, .dl-savedf { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 49px; padding: 0 14px; border-radius: 14px; background: #fff; border: 1.5px solid var(--line); font-weight: 700; font-size: 14px; color: var(--ink2); transition: background .2s, border-color .2s, color .2s; }
.dl-ftog:hover, .dl-savedf:hover { border-color: var(--line2); }
.dl-ftog .ico, .dl-savedf .ico { width: 17px; height: 17px; }
.dl-ftog .n:empty, .dl-savedf .n:empty { display: none; }
.dl-ftog .n, .dl-savedf .n { font-size: 11.5px; background: var(--bg3); border-radius: 999px; padding: 0 7px; line-height: 18px; }
.dl-ftog.on, .dl-savedf.on { border-color: var(--ink); background: var(--ink); color: #fff; }
.dl-savedf.on .ico { fill: var(--lime); stroke: var(--lime); }
.dl-ftog.on .n, .dl-savedf.on .n { background: rgba(255,255,255,.18); }
.dl-ftog { display: none; }
.dl-cat { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; }
.dl-cat::-webkit-scrollbar { display: none; }
.dl-cat button { flex: none; min-height: 40px; padding: 0 15px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); font-weight: 700; font-size: 13.5px; color: var(--ink2); transition: background .2s, border-color .2s, color .2s; }
.dl-cat button:hover { border-color: var(--line2); }
.dl-cat button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.dl-sels { display: flex; flex-wrap: wrap; gap: 8px; }
.dl-sel { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 4px 0 12px; font-size: 13px; min-height: 44px; }
.dl-sel:focus-within { border-color: var(--brand); }
.dl-sel span { color: var(--muted); font-weight: 700; }
.dl-sel select { border: 0; background: none; height: 40px; padding: 0 6px; font-weight: 700; font-size: 14px; outline: 0; max-width: 200px; color: var(--ink); }

/* source blocks */
.dl-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.dl-blk { --ac: #12c784; position: relative; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 18px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; scroll-margin-top: 84px; box-shadow: 0 1px 2px rgba(10,26,19,.03); overflow: hidden; }
.dl-blk::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 120px; background: linear-gradient(180deg, color-mix(in srgb, var(--ac) 9%, transparent), transparent); pointer-events: none; }
.dl-blk > * { position: relative; }
.dl-blk-h { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; grid-template-areas: "logo t rate a"; align-items: center; gap: 18px; }
.dl-blk-h > .dl-logo { grid-area: logo; }
.dl-blk-t { grid-area: t; min-width: 0; }
.dl-blk-t h3 { font-size: 20px; letter-spacing: -.035em; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.dl-blk-t p { color: var(--muted); font-size: 14px; line-height: 1.45; margin-top: 3px; max-width: 62ch; }
.dl-blk-rate { grid-area: rate; text-align: right; }
.dl-blk-rate small { display: block; font-size: 12.5px; font-weight: 700; color: var(--deep); }
.dl-blk-rate b { display: block; font-size: 28px; letter-spacing: -.045em; line-height: 1.05; white-space: nowrap; }
.dl-blk-rate b.long { font-size: 18px; white-space: normal; max-width: 20ch; line-height: 1.2; }
.dl-blk-a { grid-area: a; display: flex; align-items: center; gap: 6px; }
.dl-join { white-space: nowrap; }
.dl-join .ico { width: 17px; height: 17px; }
.dl-offers { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.dl-blk-f { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.dl-blk-f:empty { display: none; }
.dl-all { display: none; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 12px; background: var(--bg2); border: 1px solid var(--line); font-weight: 800; font-size: 14px; color: var(--ink); }
.dl-all .ico { width: 16px; height: 16px; transform: rotate(90deg); transition: transform .25s var(--ease); }
.dl-blk.open .dl-all .ico { transform: rotate(-90deg); }
.dl-src-more { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 14px; font-weight: 800; color: var(--deep); margin-left: auto; }
.dl-src-more .ico { width: 15px; height: 15px; }

/* offer mini-cards */
.dl-of { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
@media (hover: hover) { .dl-of:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line2); } }
.dl-of.is-top { border-color: color-mix(in srgb, var(--ac) 40%, var(--line)); }
.dl-of-h { display: flex; align-items: center; gap: 12px; }
.dl-of-t { flex: 1; min-width: 0; }
.dl-of-t b { display: block; font-size: 16px; letter-spacing: -.03em; line-height: 1.2; }
.dl-of-t small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dl-of-r b { display: block; font-size: 28px; letter-spacing: -.05em; line-height: 1.05; color: var(--ink); font-variant-numeric: tabular-nums; }
.dl-of-r b.long { font-size: 19px; letter-spacing: -.035em; line-height: 1.2; }
.dl-of-r b.none { font-size: 16px; letter-spacing: -.02em; color: var(--muted); font-weight: 700; }
.dl-of-c { display: flex; flex-wrap: wrap; gap: 6px; }
.dl-m, .dl-cc, .dl-badge { display: inline-flex; align-items: center; min-height: 24px; font-size: 12.5px; font-weight: 700; padding: 0 9px; border-radius: 999px; white-space: nowrap; letter-spacing: -.005em; }
.dl-m { background: var(--tint); color: var(--deep); }
.dl-cc { background: var(--bg2); color: var(--ink2); border: 1px solid var(--line); }
.dl-badge { background: var(--ink); color: #fff; font-size: 12px; min-height: 22px; }
.dl-badge.hot { background: #FFF1E6; color: #9A3D00; }
.dl-of-d { font-size: 13.5px; color: var(--muted); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dl-of-go { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 12px; background: var(--bg2); font-weight: 800; font-size: 14px; color: var(--ink); transition: background .2s; }
.dl-of-go:hover { background: var(--tint); color: var(--deep); }
.dl-of-go .ico { width: 16px; height: 16px; }
.dl-star { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--muted); transition: color .2s, background .2s, transform .2s; }
.dl-star:hover { background: var(--bg2); color: var(--ink); }
.dl-star.on { color: #9A6B00; }
.dl-star.on .ico { fill: #F5C542; stroke: #9A6B00; }
.dl-star:active { transform: scale(.92); }

/* saved view, empty, Affleego */
.dl-sec-h { display: flex; align-items: baseline; gap: 10px; margin: 2px 2px 10px; }
.dl-sec-h h3 { font-size: 19px; }
.dl-sec-h > span { font-size: 13px; color: var(--muted); font-weight: 700; }
.dl-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.dl-empty { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 34px 18px; background: #fff; border: 1px dashed var(--line2); border-radius: 22px; }
.dl-empty .ico { width: 28px; height: 28px; color: var(--muted); }
.dl-empty span { color: var(--muted); font-size: 14px; }
.dl-aff { display: flex; align-items: center; gap: 14px; padding: 16px 16px 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 22px; }
.dl-aff-t { flex: 1; min-width: 0; }
.dl-aff-t b { display: block; font-size: 16px; letter-spacing: -.02em; }
.dl-aff-t small { color: var(--muted); font-size: 13px; }
.dl-aff .btn { flex: none; }
.dl-note { font-size: 12.5px; color: var(--muted); text-align: center; }

@media (max-width: 900px) {
  .dl-blk-h { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "logo rate" "t t" "a a"; gap: 12px 14px; }
  .dl-blk-a .dl-join { flex: 1; }
}
@media (max-width: 720px) {
  .dl-hero { padding: 16px; border-radius: 24px; gap: 12px; }
  .dl-hero-h { gap: 2px; }
  .dl-hero h2 { font-size: 22px; }
  .dl-hero p { display: none; }
  .dl-brands { flex-wrap: nowrap; overflow: hidden; mask-image: linear-gradient(90deg, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .dl-brand { flex: none; }
  .dl-arrows { display: none; }
  .dl-bars { max-width: none; }
  .dl-slide, .dl-slide-in { min-height: 0; }
  .dl-slide-in { padding: 16px; gap: 12px; }
  .dl-slide-top .dl-logo.lg { width: 96px; height: 48px; }
  .dl-slide-top b { font-size: 18px; }
  .dl-slide-rate b { font-size: 44px; }
  .dl-slide-rate b.long { font-size: 24px; }
  .dl-slide-cta small { display: none; }
  .dl-slide-cta .btn { padding: 12px 18px; font-size: 15px; }
  .dl-car-c { margin-top: 10px; }
  .dl-ftog { display: inline-flex; }
  .dl-ftog .t, .dl-savedf .t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .dl-ftog, .dl-savedf { width: 49px; padding: 0; justify-content: center; position: relative; }
  .dl-ftog .n, .dl-savedf .n { position: absolute; top: -7px; right: -2px; background: var(--ink); color: #fff; border: 2px solid var(--app); }
  .dl-sels { display: none; }
  .dl-sels.show { display: grid; grid-template-columns: 1fr 1fr; }
  .dl-sel { min-width: 0; }
  .dl-sel select { min-width: 0; width: 100%; max-width: none; }
  .dl-blk { padding: 14px; border-radius: 22px; gap: 14px; }
  .dl-blk-t h3 { font-size: 18px; }
  .dl-blk-t p { font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .dl-blk-rate b { font-size: 26px; }
  .dl-blk-h > .dl-logo.lg { width: 96px; height: 48px; }
  .dl-offers { gap: 10px; }
  .dl-blk:not(.open) .dl-of:nth-child(n+4) { display: none; }
  .dl-all { display: inline-flex; }
  .dl-of { padding: 12px; gap: 8px; border-radius: 16px; }
  .dl-of-r b { font-size: 24px; }
  .dl-of-d { display: none; }
  .dl-aff { flex-wrap: wrap; padding: 14px; }
  .dl-aff .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .dl-slide, .dl-slide.on, .dl-slide-bg, .dl-slide-in > * { transition: none !important; }
  .dl-slide:not(.on) .dl-slide-in > * { transform: none; }
  .dl-slide-bg, .dl-slide.was .dl-slide-bg { transform: none; }
  .dl-tick.moving .dl-tk-track { animation: none; }
  .dl-of, .dl-all .ico { transition: none; }
}

/* ================= homepage strip ================= */
.hxd { padding: clamp(40px, 6vw, 72px) 0; background: #0B1210; color: #fff; overflow: hidden; position: relative; }
.hxd::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 90% 0%, rgba(18,199,132,.25), transparent 60%), radial-gradient(500px 280px at 0% 100%, rgba(201,246,91,.1), transparent 60%); pointer-events: none; }
.hxd .wrap { position: relative; }
.hxd-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 26px; }
.hxd-head h2 { color: #fff !important; font-size: clamp(32px, 4.6vw, 54px); letter-spacing: -.05em; }
.hxd-head p { margin-top: 10px; color: #B9C9C1; font-size: 16.5px; max-width: 54ch; }
.hxd-kick { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; letter-spacing: -.01em; color: var(--lime); font-weight: 700; margin-bottom: 10px; }
.hxd-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.hxd-row { position: relative; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.hxd-track { display: flex; gap: 14px; width: max-content; }
.hxd.moving .hxd-track { animation: hxdmarq var(--hxd-dur, 48s) linear infinite; }
.hxd.paused .hxd-track { animation-play-state: paused; }
@keyframes hxdmarq { to { transform: translateX(calc(-50% - 7px)); } }
.hxd.static .hxd-row { overflow-x: auto; scrollbar-width: none; mask-image: none; -webkit-mask-image: none; }
.hxd-card { flex: none; width: 280px; display: grid; gap: 12px; padding: 18px; border-radius: 22px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: #fff; text-align: left; transition: background .25s, border-color .25s, transform .25s var(--ease); }
.hxd-card:hover { background: rgba(255,255,255,.09); border-color: color-mix(in srgb, var(--ac, #C9F65B) 55%, transparent); transform: translateY(-3px); }
.hxd-card { background: radial-gradient(120% 80% at 100% 0%, color-mix(in srgb, var(--ac, #12c784) 22%, transparent), transparent 60%), rgba(255,255,255,.05); }
.hxd-card-h { display: flex; align-items: center; gap: 10px; }
.hxd-card-h span:last-child { min-width: 0; }
.hxd-card-h b.n { display: block; font-size: 16px; letter-spacing: -.03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hxd-card-h small { color: #93A59C; font-size: 12px; }
.hxd-rate small { display: block; font-size: 13px; letter-spacing: -.01em; color: var(--lime); font-weight: 700; }
.hxd-rate b { display: block; font-size: 30px; letter-spacing: -.05em; line-height: 1.05; }
.hxd-rate b.long { font-size: 18px; line-height: 1.25; letter-spacing: -.03em; }
.hxd-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.hxd-tags span { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.08); color: #D5E1DB; }
.hxd-go { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: var(--lime); }
.hxd-go .ico { width: 15px; height: 15px; }
.hxd-note { margin-top: 18px; font-size: 12.5px; color: #93A59C; }
@media (max-width: 560px) { .hxd-card { width: 250px; } .hxd-ctas { width: 100%; } .hxd-ctas .btn { flex: 1; } }
@media (prefers-reduced-motion: reduce) { .hxd.moving .hxd-track { animation: none; } }

/* ================= admin ================= */
.dla-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; }
.dla-row .dl-logo { width: 46px; height: 46px; }
.dla-t b { display: block; font-size: 15.5px; letter-spacing: -.02em; }
.dla-t small { color: var(--muted); font-size: 12.5px; }
.dla-n { text-align: right; display: grid; gap: 2px; justify-items: end; }
.dla-n b { font-size: 18px; letter-spacing: -.03em; }
.dla-n small { color: var(--muted); font-size: 12px; }
.dla-p { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.dla-offers { margin: -4px 0 0 26px; padding-left: 14px; border-left: 2px solid var(--line); display: grid; gap: 8px; }
.dla-src { display: grid; gap: 8px; }
.dla-checks { display: flex; flex-wrap: wrap; gap: 6px; }
.dla-checks label { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 10px; border: 1.5px solid var(--line); font-size: 13px; font-weight: 700; cursor: pointer; }
.dla-checks label:has(input:checked) { border-color: var(--brand); background: var(--tint); color: var(--deep); }
.dla-checks input { accent-color: var(--brand); }
.dla-img { display: flex; align-items: center; gap: 12px; }
.dla-img .dla-prev { width: 64px; height: 64px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg2) center / contain no-repeat; display: grid; place-items: center; color: var(--muted2); flex: none; }
.dla-img .dla-prev.wide { width: 150px; background-size: cover; }
.dla-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.dla-stats div { padding: 10px 12px; border-radius: 12px; background: var(--bg2); }
.dla-stats small { display: block; color: var(--muted); font-size: 12px; font-weight: 700; }
.dla-stats b { font-size: 18px; }
.dla-feat { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.dla-grid2 { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
@media (max-width: 600px) { .dla-row { grid-template-columns: auto minmax(0, 1fr); } .dla-n { grid-column: 1 / -1; justify-items: start; text-align: left; grid-auto-flow: column; justify-content: start; gap: 10px; } .dla-offers { margin-left: 8px; } }
.dla-accent { display: flex; align-items: center; gap: 12px; }
.dla-accent input[type=color] { width: 56px; height: 44px; padding: 4px; flex: none; cursor: pointer; }
.dl-blk-c { margin-top: 8px; }
