/* Sample 2 — download picker modal (real glass) + /download page
   Popup glass is branding-free optics: tint / blur / specular rim / sheen.
   Brand colors are not required on the glass material itself. */

:root {
  --tz-dl-teal: #008080;
  --tz-dl-teal-deep: #0a3d3d;
  --tz-dl-orange: #ff6b35;
  --tz-dl-ink: #0a1614;
  --tz-dl-muted: #3d524e;
  --tz-dl-card: #f7f5f1;
  --tz-dl-line: color-mix(in srgb, #0a3d3d 14%, transparent);
  --tz-dl-font: "Segoe UI", "Helvetica Neue", ui-sans-serif, system-ui, sans-serif;

  /* Watery pane + circular condensation — stronger blur for text legibility */
  --tz-dl-glass-blur: 26px;
  --tz-dl-glass-sat: 1.45;
  --tz-dl-glass-tint: rgba(200, 225, 240, 0.05);
  --tz-dl-glass-text: #ffffff;
  --tz-dl-glass-text-soft: rgba(255, 255, 255, 0.92);
  --tz-dl-glass-text-faint: rgba(255, 255, 255, 0.78);
  --tz-dl-glass-text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55), 0 2px 14px rgba(0, 0, 0, 0.4);
}

/* ── Modal shell ── */
.tz-dl-root[hidden] {
  display: none !important;
}

.tz-dl-root {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  font-family: var(--tz-dl-font);
}

.tz-dl-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  /* Light scrim so watery glass can still see the hero */
  background: rgba(4, 8, 10, 0.18);
  backdrop-filter: blur(1.5px) saturate(1.2);
  -webkit-backdrop-filter: blur(1.5px) saturate(1.2);
}

/* ── Real glass card ── */
.tz-dl-dialog {
  position: relative;
  z-index: 1;
  isolation: isolate;
  width: min(100%, 560px);
  border-radius: 28px;
  overflow: hidden;
  color: var(--tz-dl-glass-text);
  background: transparent;
  border: 0;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.38);
  animation: tz-dl-in 240ms ease-out;
}

.tz-dl-dialog.tz-dl-glass {
  /* Host stays paint-free so backdrop optics can refract the page */
  background: transparent;
}

/* Layer stack: frost → SDF refract → sheen → specular → rim → content */
.tz-dl-glass-layers {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.tz-dl-glass-frost,
.tz-dl-glass-mist,
.tz-dl-glass-drops,
.tz-dl-glass-sheen,
.tz-dl-glass-specular,
.tz-dl-glass-rim {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

/*
  Clear watery pane (single surface):
  - Fallback: soft mist blur
  - Chromium (+.is-liquid): JS sets mild SDF bend + blur on THIS layer only
*/
.tz-dl-glass-frost {
  background:
    radial-gradient(
      120% 85% at 50% -12%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 55%
    ),
    linear-gradient(
      165deg,
      rgba(210, 230, 242, 0.1) 0%,
      rgba(255, 255, 255, 0.04) 48%,
      rgba(4, 10, 14, 0.28) 100%
    );
  -webkit-backdrop-filter: blur(var(--tz-dl-glass-blur))
    saturate(var(--tz-dl-glass-sat)) brightness(1.02);
  backdrop-filter: blur(var(--tz-dl-glass-blur))
    saturate(var(--tz-dl-glass-sat)) brightness(1.02);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -20px 44px rgba(0, 0, 0, 0.2);
}

.tz-dl-glass-frost.is-liquid {
  background:
    radial-gradient(
      115% 75% at 50% -10%,
      rgba(255, 255, 255, 0.08) 0%,
      transparent 50%
    ),
    linear-gradient(
      165deg,
      rgba(200, 225, 238, 0.07) 0%,
      rgba(255, 255, 255, 0.03) 52%,
      rgba(4, 10, 14, 0.22) 100%
    );
}

/* Micro condensation film between larger beads */
.tz-dl-glass-mist {
  background-image:
    radial-gradient(circle at 8% 12%, rgba(255, 255, 255, 0.35) 0 0.55px, transparent 1.1px),
    radial-gradient(circle at 16% 9%, rgba(255, 255, 255, 0.28) 0 0.45px, transparent 0.95px),
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.3) 0 0.5px, transparent 1px),
    radial-gradient(circle at 33% 7%, rgba(255, 255, 255, 0.25) 0 0.4px, transparent 0.85px),
    radial-gradient(circle at 47% 14%, rgba(255, 255, 255, 0.32) 0 0.55px, transparent 1.1px),
    radial-gradient(circle at 56% 6%, rgba(255, 255, 255, 0.22) 0 0.4px, transparent 0.85px),
    radial-gradient(circle at 68% 16%, rgba(255, 255, 255, 0.3) 0 0.5px, transparent 1px),
    radial-gradient(circle at 79% 8%, rgba(255, 255, 255, 0.26) 0 0.45px, transparent 0.9px),
    radial-gradient(circle at 91% 15%, rgba(255, 255, 255, 0.28) 0 0.5px, transparent 1px),
    radial-gradient(circle at 11% 32%, rgba(255, 255, 255, 0.2) 0 0.4px, transparent 0.85px),
    radial-gradient(circle at 42% 30%, rgba(255, 255, 255, 0.22) 0 0.45px, transparent 0.9px),
    radial-gradient(circle at 73% 34%, rgba(255, 255, 255, 0.2) 0 0.4px, transparent 0.85px),
    radial-gradient(circle at 88% 42%, rgba(255, 255, 255, 0.18) 0 0.35px, transparent 0.75px),
    radial-gradient(ellipse 100% 40% at 50% 0%, rgba(255, 255, 255, 0.06), transparent 72%);
  opacity: 0.55;
  mix-blend-mode: soft-light;
}

/* Circular water beads — dark meniscus + glint + soft contact shadow */
.tz-dl-glass-drops {
  z-index: 1;
}

.tz-dl-drop {
  position: absolute;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  /* Clear lens + soft aqua body tint */
  background:
    radial-gradient(
      circle at 30% 24%,
      rgba(255, 255, 255, 0.92) 0%,
      rgba(220, 245, 250, 0.4) 12%,
      rgba(255, 255, 255, 0.06) 26%,
      transparent 42%
    ),
    radial-gradient(
      circle at 55% 58%,
      rgba(120, 210, 220, 0.2) 0%,
      rgba(64, 180, 195, 0.1) 42%,
      rgba(20, 70, 90, 0.12) 100%
    );
  box-shadow:
    inset 0 0 0 1px rgba(20, 70, 85, 0.38),
    inset 0 -2px 4px rgba(10, 55, 70, 0.3),
    inset 0 1px 2px rgba(200, 245, 250, 0.35),
    1px 2px 3px rgba(0, 0, 0, 0.16);
  opacity: 0.9;
}

.tz-dl-drop.is-xl {
  box-shadow:
    inset 0 0 0 1.25px rgba(18, 65, 80, 0.42),
    inset 0 -4px 8px rgba(8, 50, 65, 0.32),
    inset 0 2px 4px rgba(210, 248, 252, 0.38),
    1.5px 3px 6px rgba(0, 0, 0, 0.2);
}

.tz-dl-drop.is-lg {
  box-shadow:
    inset 0 0 0 1.15px rgba(18, 65, 80, 0.4),
    inset 0 -3px 6px rgba(8, 50, 65, 0.3),
    inset 0 2px 3px rgba(200, 245, 250, 0.34),
    1px 2px 4px rgba(0, 0, 0, 0.18);
}

.tz-dl-drop.is-sm,
.tz-dl-drop.is-xs {
  opacity: 0.74;
  box-shadow:
    inset 0 0 0 0.85px rgba(20, 70, 85, 0.36),
    inset 0 -1px 2px rgba(10, 55, 70, 0.26),
    inset 0 1px 1px rgba(200, 245, 250, 0.28),
    0.5px 1px 2px rgba(0, 0, 0, 0.14);
}

.tz-dl-drop.is-xs {
  opacity: 0.6;
}

/* Soft face wash — kept quiet so droplets stay the hero cue */
.tz-dl-glass-sheen {
  background:
    radial-gradient(
      80% 50% at 20% 0%,
      rgba(255, 255, 255, 0.2) 0%,
      transparent 50%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.08) 0%,
      transparent 32%
    );
  mix-blend-mode: soft-light;
  opacity: 0.55;
  z-index: 2;
}

.tz-dl-glass-specular {
  width: 100%;
  height: 100%;
  display: block;
  mix-blend-mode: soft-light;
  opacity: 0.28;
  filter: blur(0.45px);
  z-index: 2;
}

.tz-dl-glass-rim {
  padding: 1px;
  background: linear-gradient(
    140deg,
    rgba(255, 255, 255, 0.32) 0%,
    rgba(190, 220, 235, 0.08) 36%,
    rgba(0, 0, 0, 0.16) 70%,
    rgba(170, 200, 220, 0.12) 100%
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0.48;
  z-index: 3;
}

.tz-dl-glass-svg {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.tz-dl-panel {
  position: relative;
  z-index: 1;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .tz-dl-glass-frost {
    background: rgba(28, 34, 38, 0.92);
  }
}

@media (prefers-reduced-transparency: reduce) {
  .tz-dl-glass-mist,
  .tz-dl-glass-drops,
  .tz-dl-glass-sheen,
  .tz-dl-glass-specular {
    display: none;
  }
  .tz-dl-glass-frost {
    background: rgba(22, 28, 32, 0.96);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@keyframes tz-dl-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ── Content on glass (flat — no nested backdrop-filter panes) ── */
.tz-dl-head {
  position: relative;
  padding: 1.7rem 3.75rem 1.35rem 1.85rem;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tz-dl-close {
  position: absolute;
  top: 1.05rem;
  right: 1.05rem;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--tz-dl-glass-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: none;
}

.tz-dl-close:hover {
  background: rgba(255, 255, 255, 0.16);
}

.tz-dl-close svg {
  width: 1rem;
  height: 1rem;
}

.tz-dl-title {
  margin: 0;
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: var(--tz-dl-glass-text-shadow);
}

.tz-dl-title span {
  color: #fff;
  background: none;
  -webkit-text-fill-color: unset;
}

/* Popup only: dark teal for Google Play / App Store names */
.tz-dl-dialog .tz-dl-name {
  color: #063838;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

.tz-dl-dialog .tz-dl-row {
  background: rgba(242, 250, 250, 0.78);
  border-color: rgba(6, 56, 56, 0.22);
}

.tz-dl-dialog .tz-dl-row.is-primary {
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(6, 56, 56, 0.28);
}

.tz-dl-dialog .tz-dl-row.is-disabled .tz-dl-name {
  color: #0a4545;
}

/* Secondary labels on light chips stay readable */
.tz-dl-dialog .tz-dl-kicker {
  color: #0a6a6a;
  text-shadow: none;
}

.tz-dl-dialog .tz-dl-row.is-primary .tz-dl-kicker {
  color: #085858;
}

.tz-dl-dialog .tz-dl-row.is-disabled .tz-dl-kicker {
  color: #3d6a6a;
}

.tz-dl-dialog .tz-dl-meta {
  color: #2f5555;
  text-shadow: none;
}

.tz-dl-dialog .tz-dl-chip {
  background: rgba(6, 56, 56, 0.1);
  color: #063838;
  border-color: rgba(6, 56, 56, 0.22);
}

.tz-dl-dialog .tz-dl-arrow {
  color: #063838;
  filter: none;
}

.tz-dl-dialog a.tz-dl-row:hover {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(6, 56, 56, 0.35);
}

.tz-dl-sub {
  margin: 0.65rem 0 0;
  font-size: 1.02rem;
  line-height: 1.45;
  font-weight: 500;
  color: var(--tz-dl-glass-text-soft);
  max-width: 40ch;
  text-shadow: var(--tz-dl-glass-text-shadow);
}

.tz-dl-body {
  padding: 1.35rem 1.5rem 1.65rem;
  display: grid;
  gap: 0.85rem;
}

/* Store rows — solid-ish chips on the glass, not nested glass panes */
.tz-dl-row {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  width: 100%;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(4, 10, 14, 0.55);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

a.tz-dl-row:hover {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(4, 10, 14, 0.68);
  box-shadow: none;
  transform: translateY(-1px);
}

.tz-dl-row.is-primary {
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(4, 12, 16, 0.62);
}

.tz-dl-row.is-disabled {
  opacity: 0.88;
  cursor: default;
  pointer-events: none;
}

.tz-dl-badge {
  flex: 0 0 auto;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
  color: #111;
}

.tz-dl-row.is-primary .tz-dl-badge {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(255, 255, 255, 0.7);
  color: #111;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.tz-dl-badge svg {
  width: 1.5rem;
  height: 1.5rem;
  display: block;
}

.tz-dl-copy {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.tz-dl-kicker {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #b8f0f4;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.tz-dl-row.is-primary .tz-dl-kicker {
  color: #dff9fb;
}

.tz-dl-row.is-disabled .tz-dl-kicker {
  color: rgba(255, 255, 255, 0.72);
}

.tz-dl-name {
  display: block;
  font-size: 1.08rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

.tz-dl-meta {
  display: block;
  margin-top: 0.05rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--tz-dl-glass-text-faint);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.tz-dl-chip {
  flex: 0 0 auto;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  background: rgba(8, 18, 22, 0.55);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: none;
}

.tz-dl-arrow {
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
  color: #fff;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.45));
}

.tz-dl-footnote {
  margin: 0.2rem 0 0;
  text-align: center;
  font-size: 0.82rem;
  line-height: 1.45;
  font-weight: 500;
  color: var(--tz-dl-glass-text-soft);
  text-shadow: var(--tz-dl-glass-text-shadow);
}

.tz-dl-footnote a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── /download page (separate from glass popup) ── */
.tz-dl-page {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, color-mix(in srgb, #008080 16%, transparent), transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 10%, color-mix(in srgb, #ff6b35 10%, transparent), transparent 55%),
    #f4f7f6;
  color: var(--tz-dl-ink);
  font-family: var(--tz-dl-font);
}

.tz-dl-page-main {
  width: min(720px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: calc(var(--tz-s2-nav-h, 5.5rem) + 2.5rem) 0 4rem;
}

.tz-dl-page-hero {
  margin-bottom: 1.75rem;
}

.tz-dl-page-eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tz-dl-teal);
}

.tz-dl-page-hero h1 {
  margin: 0;
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.tz-dl-page-hero h1 span {
  background: linear-gradient(90deg, #008080, #0a3d3d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tz-dl-page-hero p {
  margin: 0.85rem 0 0;
  max-width: 38ch;
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--tz-dl-muted);
}

.tz-dl-page-panel {
  display: grid;
  gap: 0.75rem;
  padding: 1.15rem;
  border-radius: 1.25rem;
  background: color-mix(in srgb, #fff 88%, #f7f5f1);
  border: 1px solid var(--tz-dl-line);
  box-shadow: 0 18px 40px -28px rgba(10, 22, 20, 0.35);
}

.tz-dl-page .tz-dl-row {
  color: var(--tz-dl-ink);
  background: color-mix(in srgb, #fff 70%, transparent);
  border: 1px solid var(--tz-dl-line);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.tz-dl-page .tz-dl-row.is-primary {
  border: 2px solid color-mix(in srgb, #008080 45%, transparent);
  background: linear-gradient(
    135deg,
    color-mix(in srgb, #008080 14%, #fff) 0%,
    color-mix(in srgb, #fff 88%, transparent) 100%
  );
}

.tz-dl-page .tz-dl-kicker {
  color: var(--tz-dl-teal);
}

.tz-dl-page .tz-dl-row.is-disabled .tz-dl-kicker {
  color: var(--tz-dl-muted);
}

.tz-dl-page .tz-dl-name {
  color: var(--tz-dl-ink);
}

.tz-dl-page .tz-dl-meta {
  color: var(--tz-dl-muted);
}

.tz-dl-page .tz-dl-arrow {
  color: var(--tz-dl-teal);
}

.tz-dl-page .tz-dl-chip {
  background: color-mix(in srgb, #ff6b35 15%, #fff);
  color: var(--tz-dl-orange);
  border: 1px solid color-mix(in srgb, #ff6b35 28%, transparent);
  box-shadow: none;
}

.tz-dl-page-note {
  margin: 1.25rem 0 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--tz-dl-muted);
}

.tz-dl-page-note a {
  color: var(--tz-dl-teal-deep);
  font-weight: 600;
  text-underline-offset: 2px;
}

.tz-dl-page-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1.35rem;
  font-size: 0.82rem;
  color: var(--tz-dl-muted);
}

.tz-dl-page-crumbs a {
  color: var(--tz-dl-teal-deep);
  font-weight: 600;
  text-decoration: none;
}

.tz-dl-page-crumbs a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.tz-dl-page-points {
  margin: 2.25rem 0 0;
}

.tz-dl-page-points h2,
.tz-dl-page-faq h2 {
  margin: 0 0 0.95rem;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--tz-dl-ink);
}

.tz-dl-page-points ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.tz-dl-page-points li {
  position: relative;
  padding: 0.85rem 1rem 0.85rem 1.15rem;
  border-radius: 0.95rem;
  border: 1px solid var(--tz-dl-line);
  background: color-mix(in srgb, #fff 90%, #f7f5f1);
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--tz-dl-muted);
}

.tz-dl-page-points li strong {
  color: var(--tz-dl-ink);
  font-weight: 650;
}

.tz-dl-page-faq {
  margin-top: 2.75rem;
}

.tz-dl-page-faq details {
  margin: 0 0 0.55rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  border: 1px solid var(--tz-dl-line);
  background: #fff;
}

.tz-dl-page-faq summary {
  cursor: pointer;
  font-weight: 650;
  color: var(--tz-dl-ink);
  list-style: none;
}

.tz-dl-page-faq summary::-webkit-details-marker {
  display: none;
}

.tz-dl-page-faq summary::after {
  content: "+";
  float: right;
  color: var(--tz-dl-teal);
  font-weight: 700;
}

.tz-dl-page-faq details[open] summary::after {
  content: "–";
}

.tz-dl-page-faq details p {
  margin: 0.65rem 0 0;
  color: var(--tz-dl-muted);
  line-height: 1.5;
  font-size: 0.95rem;
}

@media (min-width: 768px) {
  .tz-dl-root {
    padding: 2rem;
  }

  .tz-dl-dialog {
    width: min(72vw, 680px);
    border-radius: 32px;
  }

  .tz-dl-head {
    padding: 2rem 4.25rem 1.65rem 2.25rem;
  }

  .tz-dl-title {
    font-size: clamp(28px, 2.4vw, 34px);
  }

  .tz-dl-sub {
    font-size: 17px;
  }

  .tz-dl-body {
    padding: 1.65rem 2rem 2.05rem;
    gap: 1.1rem;
  }

  .tz-dl-row {
    padding: 1.25rem 1.35rem;
    gap: 1.2rem;
    border-radius: 20px;
  }

  .tz-dl-badge {
    width: 54px;
    height: 54px;
    border-radius: 16px;
  }

  .tz-dl-badge svg {
    width: 28px;
    height: 28px;
  }

  .tz-dl-name {
    font-size: 19px;
  }

  .tz-dl-meta {
    font-size: 14px;
  }

  .tz-dl-kicker {
    font-size: 12px;
  }

  .tz-dl-chip {
    font-size: 11px;
    padding: 0.38rem 0.85rem;
  }

  .tz-dl-footnote {
    font-size: 14px;
  }
}

@media (min-width: 1200px) {
  .tz-dl-dialog {
    width: min(52vw, 760px);
  }
}

@media (max-width: 640px) {
  .tz-dl-dialog {
    width: min(100%, 420px);
    border-radius: 22px;
  }

  .tz-dl-head {
    padding: 1.25rem 3.2rem 1.1rem 1.2rem;
  }

  .tz-dl-body {
    padding: 1.05rem 1.05rem 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tz-dl-dialog {
    animation: none;
  }

  a.tz-dl-row:hover {
    transform: none;
  }
}
