/* The Den's component layer, v2 ("HoltOS Glass"), built on the tokens in holt-tokens.css
   (generated from design/tokens.json). Class names follow design/docs/glass-components.md
   so the KDE and Android clients can mirror them 1:1. v1 class names (.holt-panel,
   .holt-row, .holt-pill, .holt-btn, .holt-field, .holt-tile, ...) keep working.
   No JS framework by design; den.js holds the few behaviours (sidebar, dialog, toast). */

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Surface levels ---------- */

.holt-glass {
  background: var(--holt-glass-surface);
  -webkit-backdrop-filter: blur(var(--holt-glass-blur)) saturate(var(--holt-glass-saturate));
  backdrop-filter: blur(var(--holt-glass-blur)) saturate(var(--holt-glass-saturate));
  border: 1px solid var(--holt-glass-border);
  box-shadow: inset 0 1px 0 var(--holt-glass-highlight), var(--holt-shadow-1);
}

.holt-glass-float {
  background: var(--holt-glass-surface-strong);
  -webkit-backdrop-filter: blur(var(--holt-glass-blur-strong)) saturate(var(--holt-glass-saturate));
  backdrop-filter: blur(var(--holt-glass-blur-strong)) saturate(var(--holt-glass-saturate));
  border: 1px solid var(--holt-glass-border-strong);
  box-shadow: inset 0 1px 0 var(--holt-glass-highlight-strong), var(--holt-shadow-3);
  border-radius: var(--holt-radius-lg);
}

/* Ground: ambient glow + the wallpaper's pool rings, fixed behind everything. */
.holt-ground {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(700px 420px at 72% -8%, var(--holt-ambient-glow-current), transparent 62%),
    radial-gradient(520px 320px at 8% 104%, var(--holt-ambient-glow-healthy), transparent 60%);
}
.holt-ground::before, .holt-ground::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--holt-ambient-ring);
}
.holt-ground::before { width: 760px; height: 760px; right: -180px; top: -220px; }
.holt-ground::after { width: 520px; height: 520px; right: -60px; top: -100px; }

/* ---------- App shell ---------- */

.holt-app { display: flex; min-height: 100vh; position: relative; z-index: 1; }

.holt-sidebar {
  width: var(--holt-size-sidebar);
  flex: none;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: var(--holt-space-4);
  padding: var(--holt-space-4) var(--holt-space-3);
  border-top: 0; border-bottom: 0; border-left: 0;
  z-index: 4;
  transition: width var(--holt-dur-base) var(--holt-ease-out);
  /* Short windows: the sidebar scrolls instead of clipping the Admin group and the account row. */
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.15) transparent;
}

.holt-lockup {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 8px;
  text-decoration: none;
  color: var(--holt-ink);
  white-space: nowrap;
}
.holt-lockup:hover { color: var(--holt-ink); }

.holt-ringmark {
  width: 30px; height: 30px; flex: none;
  border-radius: 50%;
  border: 7px solid var(--holt-current);
}

.holt-wordmark {
  font-family: var(--holt-font-core);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.6px;
  line-height: 1;
}

.holt-nav { display: flex; flex-direction: column; gap: 4px; }

/* Folding sidebar groups: the heading is the <summary>, with a chevron that turns when open. */
.holt-nav-group > summary { list-style: none; cursor: pointer; display: flex; align-items: center; }
.holt-nav-group > summary::-webkit-details-marker { display: none; }
.holt-nav-group > summary::after { content: "\203A"; margin-left: auto; font-size: 14px; transition: transform .15s; }
.holt-nav-group[open] > summary::after { transform: rotate(90deg); }
.holt-nav-group > summary:hover { color: var(--holt-ink); }

.holt-nav-eyebrow {
  font-family: var(--holt-font-mono);
  font-size: 10.5px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--holt-ink-28);
  padding: 0 12px 6px;
  white-space: nowrap;
}

.holt-nav a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--holt-radius-sm);
  font-family: var(--holt-font-core);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--holt-ink-55);
  white-space: nowrap;
  transition: color var(--holt-dur-fast), background var(--holt-dur-fast);
}
.holt-nav a:hover { color: var(--holt-ink); background: rgba(255,255,255,.04); }
.holt-nav a.active { color: var(--holt-current); background: var(--holt-current-tint); }
.holt-nav a.active::before {
  content: "";
  position: absolute;
  left: -16px; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--holt-current);
  border-radius: 2px;
}
.holt-nav a .holt-badge { margin-left: auto; }

.holt-ico {
  width: 18px; height: 18px; flex: none;
  stroke: currentColor; fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

.holt-sidebar-spacer { flex: 1; }

.holt-sidebar-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--holt-radius-md);
  background: rgba(13,11,18,.45);
  border: 1px solid var(--holt-hairline);
  white-space: nowrap;
}

.holt-sidebar-toggle {
  margin-left: auto;
  width: 28px; height: 28px; flex: none;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--holt-radius-sm);
  border: 1px solid transparent;
  background: transparent;
  color: var(--holt-ink-42);
  cursor: pointer;
}
.holt-sidebar-toggle:hover { color: var(--holt-ink); border-color: var(--holt-hairline-strong); }

/* Rail (collapsed) state: icons only. */
body.is-rail .holt-sidebar { width: var(--holt-size-sidebar-rail); padding-left: 12px; padding-right: 12px; }
body.is-rail .holt-wordmark, body.is-rail .holt-nav-eyebrow, body.is-rail .holt-nav a span,
body.is-rail .holt-sidebar-foot > :not(.holt-sidebar-toggle) { display: none; }
body.is-rail .holt-nav a { justify-content: center; padding: 11px 0; }
body.is-rail .holt-nav a.active::before { left: -12px; }
body.is-rail .holt-nav a .holt-badge { position: absolute; top: 4px; right: 6px; margin: 0; padding: 3px 5px; }
body.is-rail .holt-sidebar-foot { padding: 6px; justify-content: center; }
body.is-rail .holt-sidebar-toggle { margin: 0; transform: rotate(180deg); }
body.is-rail .holt-lockup { justify-content: center; padding: 0; }

.holt-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.holt-topbar {
  position: sticky;
  top: 0;
  z-index: 3;
  height: var(--holt-size-top-bar);
  display: flex;
  align-items: center;
  gap: var(--holt-space-3);
  padding: 0 var(--holt-space-4);
  border-top: 0; border-left: 0; border-right: 0;
}

.holt-search {
  flex: 1;
  max-width: 520px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--holt-glass-input-surface);
  border: 1px solid var(--holt-hairline-strong);
  border-radius: var(--holt-radius-md);
  padding: 0 12px;
  height: 38px;
  color: var(--holt-ink-42);
}
.holt-search:focus-within { border-color: var(--holt-current); color: var(--holt-ink); }
.holt-search input {
  flex: 1; min-width: 0;
  background: transparent; border: 0; outline: none;
  font-family: var(--holt-font-core);
  font-size: 13px;
  color: var(--holt-ink);
}
.holt-search input::placeholder { color: var(--holt-ink-42); }

.holt-topbar-spacer { flex: 1; }

.holt-content {
  flex: 1;
  width: 100%;
  max-width: var(--holt-size-content-max);
  margin: 0 auto;
  padding: var(--holt-space-4) var(--holt-space-5) var(--holt-space-6);
  display: flex;
  flex-direction: column;
  gap: var(--holt-space-4);
}

/* Mobile: sidebar hides, bottom tab bar appears. */
.holt-tabbar { display: none; }

@media (max-width: 899px) {
  .holt-sidebar { display: none; }
  .holt-content { padding: var(--holt-space-3) var(--holt-space-3) calc(var(--holt-size-tab-bar) + var(--holt-space-4)); }
  .holt-topbar { padding: 0 var(--holt-space-3); }
  .holt-tabbar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 5;
    height: var(--holt-size-tab-bar);
    display: flex;
    align-items: stretch;
    padding: 0 8px 8px;
    border-bottom: 0; border-left: 0; border-right: 0;
  }
  .holt-tab {
    flex: 1;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 4px;
    min-height: var(--holt-size-hit-target);
    color: var(--holt-ink-42);
    font-size: 10.5px; font-weight: 700;
    text-decoration: none;
    background: transparent; border: 0; font-family: var(--holt-font-core);
  }
  .holt-tab .holt-ico { width: 22px; height: 22px; }
  .holt-tab.active { color: var(--holt-current); }
  .holt-tab.active .holt-ico { background: var(--holt-current-tint); border-radius: 12px; padding: 3px 10px; width: 42px; }
  .holt-glass { -webkit-backdrop-filter: blur(calc(var(--holt-glass-blur) / 2)); backdrop-filter: blur(calc(var(--holt-glass-blur) / 2)); }
}

/* "More" sheet on mobile: the links that don't fit the tab bar. */
.holt-sheet {
  display: none;
  position: fixed;
  left: 8px; right: 8px; bottom: calc(var(--holt-size-tab-bar) + 8px);
  z-index: 6;
  padding: var(--holt-space-2);
  flex-direction: column;
  gap: 2px;
}
.holt-sheet.is-open { display: flex; }
.holt-sheet a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; min-height: var(--holt-size-hit-target);
  border-radius: var(--holt-radius-sm);
  color: var(--holt-ink-70); font-size: 14px; font-weight: 700;
}
.holt-sheet a.active { color: var(--holt-current); background: var(--holt-current-tint); }

/* ---------- Page header ---------- */

.holt-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--holt-space-3);
  flex-wrap: wrap;
}
.holt-page-head > div:first-child { display: flex; flex-direction: column; gap: 6px; }

.holt-page-title {
  font-family: var(--holt-font-core);
  /* HoltOS: window and section titles are regular weight, not bold; buttons are 700. */
  font-weight: 400;
  letter-spacing: -0.6px;
  line-height: 1.05;
  font-size: 26px;
  color: var(--holt-ink);
  margin: 0;
}

h2.holt-section-title {
  font-family: var(--holt-font-core);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.4px;
  color: var(--holt-ink);
  margin: 0;
}

.holt-toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.holt-toolbar-sep { width: 1px; height: 22px; background: var(--holt-hairline-strong); margin: 0 6px; }

/* ---------- Button ---------- */

.holt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--holt-font-core);
  letter-spacing: -0.2px;
  line-height: 1;
  border-radius: var(--holt-radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: filter var(--holt-dur-fast) var(--holt-ease-out), background var(--holt-dur-fast) var(--holt-ease-out), transform var(--holt-dur-fast) var(--holt-ease-out);
  padding: 10px 20px;
  font-size: 12.5px;
  text-decoration: none;
  white-space: nowrap;
}
.holt-btn:hover { filter: brightness(1.08); }
.holt-btn:active { transform: translateY(1px); }
.holt-btn:disabled { opacity: .4; cursor: default; }
.holt-btn:focus-visible { outline: 1px solid var(--holt-current); outline-offset: 2px; }
.holt-btn .holt-ico { width: 16px; height: 16px; }

.holt-btn-sm { padding: 8px 14px; font-size: 12px; }
.holt-btn-lg { padding: 13px 26px; font-size: 15px; }

.holt-btn-primary { background: var(--holt-current); color: var(--holt-deep); font-weight: 800; }
.holt-btn-primary .holt-ico { stroke: var(--holt-deep); }
/* HoltOS control spec: white 6 % fill + 15 % hairline; hover 10 % / 28 %; pressed accent 30 %. */
.holt-btn-secondary { background: rgba(255,255,255,.06); color: var(--holt-ink); font-weight: 700; border-color: var(--holt-hairline-strong); }
.holt-btn-secondary:hover { filter: none; background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.28); }
.holt-btn-secondary:active { background: rgba(177,77,255,.30); }
.holt-btn-quiet { background: transparent; color: var(--holt-ink-55); font-weight: 700; border-color: transparent; }
.holt-btn-quiet:hover { color: var(--holt-ink); }

.holt-ibtn {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--holt-radius-sm);
  color: var(--holt-ink-55);
  border: 1px solid var(--holt-hairline-strong);
  background: rgba(255,255,255,.03);
  cursor: pointer;
}
.holt-ibtn:hover { color: var(--holt-ink); }
.holt-ibtn .holt-ico { width: 14px; height: 14px; }

/* ---------- Chip (filters / tabs) ---------- */

.holt-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: var(--holt-radius-pill);
  font-family: var(--holt-font-core);
  font-size: 12px;
  font-weight: 700;
  color: var(--holt-ink-55);
  border: 1px solid var(--holt-hairline-strong);
  background: rgba(255,255,255,.03);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--holt-dur-fast), background var(--holt-dur-fast);
}
.holt-chip:hover { color: var(--holt-ink); }
.holt-chip.is-on { color: var(--holt-deep); background: var(--holt-current); border-color: var(--holt-current); }

/* ---------- Badge (evolves StatusPill; .holt-pill kept as an alias) ---------- */

.holt-badge, .holt-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--holt-font-mono);
  font-size: 10.5px;
  line-height: 1;
  border-radius: var(--holt-radius-pill);
  white-space: nowrap;
}
.holt-badge .dot, .holt-pill .dot { width: 6px; height: 6px; border-radius: 50%; flex: none; background: currentColor; }

.holt-badge-solid, .holt-pill-solid {
  padding: 6px 11px;
  background: var(--holt-glass-badge-surface);
  border: 1px solid var(--holt-hairline);
  -webkit-backdrop-filter: blur(var(--holt-glass-blur-badge));
  backdrop-filter: blur(var(--holt-glass-blur-badge));
}

.holt-badge-available, .holt-pill-healthy { color: var(--holt-badge-available); }
.holt-badge-pending, .holt-badge-processing, .holt-pill-working { color: var(--holt-badge-pending); }
.holt-badge-partial, .holt-badge-error, .holt-pill-warning { color: var(--holt-badge-partial); }
.holt-badge-missing, .holt-pill-idle { color: var(--holt-badge-missing); }
.holt-badge-missing .dot, .holt-pill-idle .dot { background: var(--holt-badge-missing-dot); }

/* ---------- Panel (opaque; for content with nothing behind it) ---------- */

.holt-panel {
  background: var(--holt-surface);
  border: 1px solid var(--holt-hairline);
  border-radius: var(--holt-radius-lg);
  padding: 17px;
}
.holt-panel-raised { background: var(--holt-raised); }
.holt-panel.holt-glass { background: var(--holt-glass-surface); }

.holt-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

/* ---------- Row (lists: requests, downloads, indexers, episodes) ---------- */

.holt-row-list { display: flex; flex-direction: column; gap: var(--holt-space-2); }

.holt-row {
  background: var(--holt-raised);
  border: 1.5px solid var(--holt-hairline);
  border-radius: calc(var(--holt-radius-md) + 2px);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: border-color var(--holt-dur-fast);
}
.holt-row:hover { border-color: var(--holt-hairline-strong); }
.holt-row.is-pending, .holt-row-best { border-color: var(--holt-current); }

.holt-row-main { flex: 1; min-width: 0; }

.holt-row-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--holt-ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.holt-row-meta {
  font-family: var(--holt-font-mono);
  font-size: 10px;
  color: var(--holt-ink-42);
  margin-top: 2px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.holt-row-actions { display: flex; align-items: center; gap: var(--holt-space-2); flex: none; flex-wrap: wrap; justify-content: flex-end; }

/* Torrent rows (Downloads page): progress block on top, badge + actions on their own line. */
.den-torrent { align-items: flex-start; }
.den-torrent .holt-row-main { flex-basis: 100%; }
.den-torrent .holt-row-actions { max-width: 320px; }
@media (max-width: 899px) {
  .holt-row { flex-wrap: wrap; }
  .holt-row-main { flex-basis: 100%; }
  .holt-row-actions { width: 100%; justify-content: flex-start; }
}

.holt-row-empty {
  font-family: var(--holt-font-mono);
  font-size: 11px;
  color: var(--holt-ink-42);
  padding: var(--holt-space-3) 0;
  text-align: center;
}

.holt-thumb {
  width: 44px; height: 66px; flex: none;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--holt-hairline);
  background: var(--holt-raised) repeating-linear-gradient(135deg, var(--holt-ambient-stripe) 0 4px, transparent 4px 9px);
}
.holt-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Progress (drawn, never spun) ---------- */

.holt-progress-row { display: flex; flex-direction: column; gap: 7px; }
.holt-progress-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.holt-progress-label { flex: 1; min-width: 0; font-size: 12.5px; font-weight: 700; color: var(--holt-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.holt-progress-meta { font-family: var(--holt-font-mono); font-size: 10px; color: var(--holt-ink-42); flex: none; }

.holt-progress, .holt-progress-track { height: 5px; border-radius: 3px; background: rgba(255,255,255,.09); overflow: hidden; }
.holt-progress > i, .holt-progress-fill {
  display: block; height: 100%; border-radius: 3px;
  background: var(--holt-current);
  transition: width var(--holt-dur-base) var(--holt-ease-out);
}
.holt-progress-fill-healthy { background: var(--holt-healthy); }
.holt-progress-fill-warning { background: var(--holt-warning); }

/* ---------- Stat tile ---------- */

.holt-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.holt-stat {
  display: flex; flex-direction: column; gap: 8px;
  padding: 16px 18px;
  border-radius: var(--holt-radius-md);
  background: rgba(13,11,18,.4);
  border: 1px solid var(--holt-hairline);
}
.holt-stat-eyebrow { font-family: var(--holt-font-mono); font-size: 10.5px; letter-spacing: 2.2px; text-transform: uppercase; color: var(--holt-ink-28); }
.holt-stat-value { font-size: 22px; font-weight: 800; letter-spacing: -0.8px; line-height: 1; color: var(--holt-ink); }
.holt-stat-value small { font-family: var(--holt-font-mono); font-size: 11px; font-weight: 400; color: var(--holt-ink-42); letter-spacing: 0; }

/* ---------- PosterCard (evolves MediaTile; .holt-tile kept as alias) ---------- */

.holt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--holt-size-poster-lg), 1fr));
  gap: 18px;
}
.holt-tile-grid { display: flex; flex-wrap: wrap; gap: var(--holt-space-3); }

.holt-card, .holt-tile { display: flex; flex-direction: column; gap: 8px; min-width: 0; position: relative; }
.holt-tile { width: var(--holt-size-poster-md); flex: none; }

.holt-poster, .holt-tile-poster {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: var(--holt-radius-md);
  overflow: hidden;
  border: 1px solid var(--holt-hairline);
  box-shadow: var(--holt-shadow-2);
  background: var(--holt-raised);
  background-image: repeating-linear-gradient(135deg, var(--holt-ambient-stripe) 0 6px, transparent 6px 13px);
  transition: transform var(--holt-dur-fast) var(--holt-ease-out), border-color var(--holt-dur-fast), box-shadow var(--holt-dur-fast);
}
.holt-tile-poster { height: 178px; aspect-ratio: auto; display: flex; align-items: flex-end; padding: 8px; }
.holt-tile-poster.healthy { background-image: repeating-linear-gradient(135deg, rgba(40,224,200,.24) 0 6px, transparent 6px 13px); }
.holt-tile-poster-label { font-family: var(--holt-font-mono); font-size: 9px; color: var(--holt-ink-42); }

.holt-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.holt-poster .holt-badge { position: absolute; top: 8px; left: 8px; z-index: 2; }
.holt-poster-letter {
  position: absolute; right: 8px; bottom: -8px;
  font-size: 84px; font-weight: 900; letter-spacing: -4px;
  color: rgba(255,255,255,.13);
  line-height: 1;
}

.holt-card:hover .holt-poster { transform: translateY(-2px); border-color: var(--holt-current); box-shadow: 0 12px 32px rgba(177,77,255,.25); }

/* The poster carries ONE action -- Play -- as a compact pill in the corner. Everything else lives
   in .holt-card-actions below the artwork. The previous rule stacked full-width buttons under a
   scrim covering the whole poster and forced it visible on any input without hover, so on a touch
   device every card was buried behind Play / Find releases / Remove. */
.holt-poster-play {
  position: absolute; left: 10px; bottom: 10px; z-index: 4;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.55));
}
.holt-poster-play .holt-btn { width: auto; }

/* Secondary actions sit under the card's meta line: always reachable, never over the artwork, and
   no hover needed to find them. */
.holt-card-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  margin-top: 6px;
}
.holt-card-actions form { display: inline-flex; }
.holt-card-actions .holt-btn { width: auto; }
.holt-card-note { font-family: var(--holt-font-mono); font-size: 9.5px; color: var(--holt-ink-42); }

.holt-card-title, .holt-tile-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--holt-ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.holt-card-meta, .holt-tile-meta { font-family: var(--holt-font-mono); font-size: 9.5px; color: var(--holt-ink-42); }

/* ---------- Rail ---------- */

.holt-rail-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.holt-rail {
  display: flex;
  gap: var(--holt-space-3);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: 6px;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, #000 94%, transparent);
  mask-image: linear-gradient(90deg, #000 94%, transparent);
}
.holt-rail::-webkit-scrollbar { display: none; }
.holt-rail > .holt-card { width: var(--holt-size-poster-md); flex: none; scroll-snap-align: start; }
.holt-section { display: flex; flex-direction: column; gap: 14px; }

/* ---------- Hero ---------- */

.holt-hero {
  position: relative;
  min-height: 240px;
  border-radius: var(--holt-radius-lg);
  overflow: hidden;
  border: 1px solid var(--holt-hairline);
  background: linear-gradient(110deg, #2b1257 0%, #0f2740 55%, #3a1230 100%);
  display: flex;
  align-items: flex-end;
}
.holt-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(420px 260px at 78% 30%, rgba(177,77,255,.35), transparent 70%),
    radial-gradient(360px 240px at 60% 90%, rgba(40,224,200,.18), transparent 70%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 6px, transparent 6px 13px);
}
.holt-hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--holt-ambient-scrim-strong) 0%, var(--holt-ambient-scrim-mid) 52%, var(--holt-ambient-scrim-weak) 100%),
    linear-gradient(0deg, rgba(13,11,18,.85) 0%, transparent 55%);
}
.holt-hero-body {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 12px;
  padding: 34px 36px;
  max-width: 620px;
}
.holt-hero-title { font-size: 34px; font-weight: 900; letter-spacing: -1.4px; line-height: .98; color: var(--holt-ink); margin: 0; }
.holt-hero-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 4px; }

/* ---------- Forms ---------- */

.holt-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--holt-space-3); }

.holt-field label {
  font-family: var(--holt-font-mono);
  font-size: 10.5px;
  letter-spacing: 1.2px;
  color: var(--holt-ink-42);
  text-transform: uppercase;
}

.holt-field input, .holt-field select, .holt-field textarea {
  font-family: var(--holt-font-core);
  font-size: 13px;
  color: var(--holt-ink);
  background: var(--holt-glass-input-surface);
  border: 1px solid var(--holt-hairline-strong);
  border-radius: var(--holt-radius-sm);
  padding: 9px 12px;
}
.holt-field input:focus, .holt-field select:focus, .holt-field textarea:focus { outline: none; border-color: var(--holt-current); }
.holt-field input::placeholder { color: var(--holt-ink-28); }
.holt-field .holt-meta { line-height: 1.5; }

.holt-form-row { display: flex; gap: var(--holt-space-3); flex-wrap: wrap; align-items: flex-end; }
.holt-form-row .holt-field { flex: 1; min-width: 160px; margin-bottom: 0; }

.holt-checkbox {
  width: 16px; height: 16px; flex: none;
  border-radius: 4px;
  border: 1.5px solid rgba(255,255,255,.28);
  display: inline-flex; align-items: center; justify-content: center;
}
.holt-checkbox.is-on { background: var(--holt-current); border-color: var(--holt-current); }
/* Native checkboxes, radios and sliders take the accent too -- never a platform blue. */
input[type="checkbox"], input[type="radio"], input[type="range"] { accent-color: var(--holt-current); }

/* ---------- Avatar ---------- */

.holt-avatar {
  width: var(--holt-size-avatar); height: var(--holt-size-avatar); flex: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--holt-current), var(--holt-healthy));
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 900; color: var(--holt-deep);
}

/* ---------- Message / Toast ---------- */

.holt-message {
  border-radius: var(--holt-radius-sm);
  padding: 10px 14px;
  font-size: 12.5px;
  border: 1px solid var(--holt-hairline);
  background: var(--holt-raised);
  color: var(--holt-ink-70);
}
.holt-message-positive { border-color: rgba(40,224,200,.35); color: var(--holt-healthy); }
.holt-message-warning { border-color: rgba(255,184,77,.35); color: var(--holt-warning); }

.holt-toasts { position: fixed; right: var(--holt-space-4); bottom: var(--holt-space-4); z-index: 20; display: flex; flex-direction: column; gap: 8px; }
.holt-toast {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--holt-ink-70);
  min-width: 240px;
  animation: holt-toast-in var(--holt-dur-base) var(--holt-ease-out);
}
.holt-toast.is-positive { color: var(--holt-healthy); }
.holt-toast.is-warning { color: var(--holt-warning); }
@keyframes holt-toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 899px) { .holt-toasts { left: var(--holt-space-3); right: var(--holt-space-3); bottom: calc(var(--holt-size-tab-bar) + var(--holt-space-3)); } }

/* ---------- Dialog ---------- */

dialog.holt-dialog {
  padding: var(--holt-space-5);
  width: min(480px, calc(100vw - 32px));
  color: var(--holt-ink);
  animation: holt-dialog-in var(--holt-dur-base) var(--holt-ease-out);
}
dialog.holt-dialog::backdrop { background: var(--holt-ambient-scrim-mid); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@keyframes holt-dialog-in { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }

/* ---------- Approved requests progress ---------- */

.den-request-progress { height: 4px; border-radius: 2px; background: var(--holt-raised); overflow: hidden; margin-top: 6px; max-width: 320px; }
.den-request-progress > i { display: block; height: 100%; background: var(--holt-current); }
.den-server-update { display: flex; align-items: center; gap: var(--holt-space-3); margin-bottom: var(--holt-space-4); border-color: rgba(40,224,200,.35); }
.den-server-update-text { flex: 1; color: var(--holt-ink); }
.den-size-list { display: grid; gap: 6px; }
.den-indexer-options { display: flex; flex-wrap: wrap; gap: var(--holt-space-3); align-items: center; margin-top: 6px; }
.den-indexer-options label { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--holt-ink-70); text-transform: none; letter-spacing: 0; }
.den-tag-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px; }
.den-tag-new { width: 120px; padding: 4px 8px; font-size: 12px; font-family: var(--holt-font-core); color: var(--holt-ink); background: var(--holt-glass-input-surface); border: 1px solid var(--holt-hairline-strong); border-radius: var(--holt-radius-sm); }
.den-indexer-options select { width: auto; padding: 4px 8px; font-size: 12px; font-family: var(--holt-font-core); color: var(--holt-ink); background: var(--holt-glass-input-surface); border: 1px solid var(--holt-hairline-strong); border-radius: var(--holt-radius-sm); }
.den-size-row { display: grid; grid-template-columns: 120px minmax(80px, 1fr) minmax(80px, 1fr) minmax(180px, 1.4fr) auto; gap: var(--holt-space-3); align-items: center; }
.den-size-name { font-size: 13px; color: var(--holt-ink); }
@media (max-width: 720px) {
  .den-size-row { grid-template-columns: 1fr 1fr; }
  .den-size-name, .den-size-meta { grid-column: 1 / -1; }
}

/* ---------- Folder picker (folder-picker.js) ---------- */

.den-folder-field { display: flex; gap: var(--holt-space-2); align-items: center; }
.den-folder-field > input { flex: 1; min-width: 0; }
dialog.den-folder-dialog { width: min(560px, calc(100vw - 32px)); }
.den-folder-path { font-family: var(--holt-font-mono, monospace); font-size: 13px; margin: var(--holt-space-2) 0; overflow-wrap: anywhere; }
.den-folder-shortcuts { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: var(--holt-space-3); }
.den-folder-list { display: flex; flex-direction: column; gap: 2px; max-height: min(50vh, 420px); overflow-y: auto; margin-bottom: var(--holt-space-3); }
.den-folder-item { text-align: left; padding: 8px 12px; border-radius: 8px; border: 1px solid transparent; background: transparent; color: var(--holt-ink); font: inherit; cursor: pointer; }
.den-folder-item:hover, .den-folder-item:focus-visible { background: var(--holt-raised); border-color: var(--holt-current); outline: none; }
.den-folder-item.is-up { color: var(--holt-ink-70, var(--holt-ink)); }
.den-folder-error:empty { display: none; }
.den-folder-actions { display: flex; gap: 8px; justify-content: flex-end; }

/* ---------- Skeleton / Empty state ---------- */

.holt-skeleton {
  background: var(--holt-raised);
  border-radius: var(--holt-radius-md);
  position: relative; overflow: hidden;
}
.holt-skeleton::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, var(--holt-glass-highlight), transparent);
  animation: holt-shimmer var(--holt-dur-draw) linear infinite;
}
@keyframes holt-shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

.holt-empty {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: var(--holt-space-6) var(--holt-space-4);
  text-align: center;
}
.holt-empty-title { font-size: 16px; font-weight: 800; letter-spacing: -0.4px; color: var(--holt-ink); }

/* ---------- Stat bars (drawn history) ---------- */

.holt-stat-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.holt-bars { display: flex; align-items: flex-end; gap: 3px; height: 26px; }
.holt-bars i { display: block; width: 6px; border-radius: 2px; background: var(--holt-current); opacity: .85; transition: height var(--holt-dur-base) var(--holt-ease-out); }
.holt-bars.is-healthy i { background: var(--holt-healthy); }

/* ---------- Settings: side index + sections ---------- */

.den-settings { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: var(--holt-space-4); align-items: start; }
.den-settings-index { position: sticky; top: calc(var(--holt-size-top-bar) + var(--holt-space-4)); display: flex; flex-direction: column; gap: 2px; padding: 8px; border-radius: var(--holt-radius-md); }
.den-settings-index a { padding: 8px 10px; border-radius: var(--holt-radius-sm); font-size: 12.5px; font-weight: 700; color: var(--holt-ink-55); }
/* The page being shown: tinted, with a bar in the accent colour so it reads without relying on colour alone. */
.den-settings-index a.is-on { color: var(--holt-ink); background: color-mix(in srgb, var(--holt-current) 14%, transparent); box-shadow: inset 2px 0 0 var(--holt-current); }
.den-settings-all { margin-bottom: 4px; }
/* A group: a native disclosure, so it opens without script and from the keyboard. */
.den-settings-group summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; border-radius: var(--holt-radius-sm); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--holt-ink-55); }
.den-settings-group summary::-webkit-details-marker { display: none; }
.den-settings-group summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); transition: transform var(--holt-dur-base) var(--holt-ease-out); }
.den-settings-group[open] summary::after { transform: rotate(45deg); }
.den-settings-group summary:hover, .den-settings-group summary.is-here { color: var(--holt-ink); }
.den-settings-group summary:focus-visible { outline: 2px solid var(--holt-current); outline-offset: 2px; }
.den-settings-group a { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-left: 10px; padding-left: 12px; border-left: 1px solid rgba(255,255,255,.08); border-radius: 0 var(--holt-radius-sm) var(--holt-radius-sm) 0; }
.den-settings-count { min-width: 20px; padding: 1px 7px; border-radius: 999px; background: var(--holt-current); color: var(--holt-deep); font-size: 11px; font-weight: 800; text-align: center; }
@media (prefers-reduced-motion: reduce) { .den-settings-group summary::after { transition: none; } }
.den-settings-body { display: flex; flex-direction: column; gap: var(--holt-space-3); min-width: 0; }
.den-settings-column { display: flex; flex-direction: column; gap: var(--holt-space-3); min-width: 0; }
.holt-row-actions select { width: auto; padding: 4px 8px; font-size: 12px; font-family: var(--holt-font-core); color: var(--holt-ink); background: var(--holt-glass-input-surface); border: 1px solid var(--holt-hairline-strong); border-radius: var(--holt-radius-sm); }
.den-mode-count { width: auto; padding: 4px 8px; font-size: 12px; font-family: var(--holt-font-core); color: var(--holt-ink); background: var(--holt-glass-input-surface); border: 1px solid var(--holt-hairline-strong); border-radius: var(--holt-radius-sm); }
.den-settings-body .holt-panel { scroll-margin-top: calc(var(--holt-size-top-bar) + var(--holt-space-3)); }
.den-settings .holt-field:last-child { margin-bottom: 0; }
@media (max-width: 899px) {
  .den-settings { grid-template-columns: 1fr; }
  .den-settings-index { position: static; }
  .den-settings > .holt-panel { grid-column: 1 !important; }
}

/* ---------- Calendar ---------- */

.den-cal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--holt-space-4); align-items: start; }
.den-cal { padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.den-cal-head, .den-cal-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.den-cal-head > div { padding: 4px 8px; }
.den-cal-day {
  min-height: 96px;
  border-radius: var(--holt-radius-sm);
  background: var(--holt-raised);
  border: 1px solid var(--holt-hairline);
  padding: 6px;
  display: flex; flex-direction: column; gap: 3px;
  min-width: 0;
}
.den-cal-day.is-out { opacity: .38; }
.den-cal-day.is-today { border-color: var(--holt-current); box-shadow: inset 0 0 0 1px var(--holt-current-tint); }
.den-cal-daynum { font-family: var(--holt-font-mono); font-size: 10.5px; color: var(--holt-ink-42); padding: 0 2px 2px; }
.den-cal-day.is-today .den-cal-daynum { color: var(--holt-current); }
.den-cal-item {
  display: flex; align-items: center; gap: 5px;
  padding: 3px 6px;
  border-radius: 5px;
  background: rgba(13,11,18,.5);
  font-size: 11px; font-weight: 700; color: var(--holt-ink-70);
  min-width: 0;
}
.den-cal-item .dot { width: 6px; height: 6px; border-radius: 50%; flex: none; }
.den-cal-item-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.den-cal-item.is-available .dot { background: var(--holt-badge-available); }
.den-cal-item.is-partial .dot { background: var(--holt-badge-partial); }
.den-cal-item.is-pending .dot { background: var(--holt-badge-pending); }
.den-cal-legend { display: flex; gap: 16px; padding: 8px 6px 2px; }
.den-cal-agenda { display: flex; flex-direction: column; gap: var(--holt-space-4); min-width: 0; }
@media (max-width: 1100px) { .den-cal-layout { grid-template-columns: 1fr; } }
@media (max-width: 899px) {
  .den-cal-day { min-height: 56px; padding: 4px; }
  .den-cal-item-text { display: none; }
  .den-cal-item { padding: 3px; width: 12px; justify-content: center; }
}

/* ---------- Hero with real art (Discover) ---------- */

.holt-hero.has-art { background-size: cover; background-position: center 25%; min-height: 320px; }
.holt-hero.has-art::before { background: none; }

/* ---------- Discover detail page ---------- */

.den-detail-hero {
  position: relative;
  border-radius: var(--holt-radius-lg);
  overflow: hidden;
  border: 1px solid var(--holt-hairline);
  background: linear-gradient(110deg, #2b1257 0%, #0f2740 55%, #3a1230 100%) center 20% / cover no-repeat;
}
.den-detail-hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--holt-ambient-scrim-strong) 0%, rgba(13,11,18,.78) 45%, rgba(13,11,18,.35) 100%),
    linear-gradient(0deg, rgba(13,11,18,.92) 0%, rgba(13,11,18,.2) 60%);
}
.den-detail-hero-inner { position: relative; z-index: 1; display: flex; gap: var(--holt-space-4); align-items: flex-end; padding: var(--holt-space-5); }
.den-detail-hero .den-detail-poster { width: 200px; box-shadow: var(--holt-shadow-3); border-color: var(--holt-hairline-strong); }
.den-detail-hero .den-detail-body { padding-top: 0; }
@media (max-width: 899px) {
  .den-detail-hero-inner { flex-direction: column; align-items: flex-start; padding: var(--holt-space-3); }
  .den-detail-hero .den-detail-poster { width: 120px; }
  .den-detail-hero .holt-hero-title { font-size: 30px !important; }
}

.den-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--holt-space-4); align-items: start; }
.den-detail-aside { position: sticky; top: calc(var(--holt-size-top-bar) + var(--holt-space-4)); }
@media (max-width: 1100px) { .den-detail-grid { grid-template-columns: 1fr; } .den-detail-aside { position: static; } }

.den-cast { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.den-cast::-webkit-scrollbar { display: none; }
.den-cast-item { width: 96px; flex: none; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.den-cast-photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: var(--holt-raised); border: 1px solid var(--holt-hairline); }
.den-cast-name { font-size: 11.5px; font-weight: 700; color: var(--holt-ink); line-height: 1.2; }

/* ---------- Detail header (series) ---------- */

.den-detail { display: flex; gap: var(--holt-space-4); align-items: flex-start; }
.den-detail-poster { width: 180px; flex: none; }
.den-detail-body { display: flex; flex-direction: column; gap: 12px; min-width: 0; flex: 1; padding-top: 6px; }
@media (max-width: 899px) { .den-detail { flex-direction: column; } .den-detail-poster { width: 140px; } }

.den-season { padding: 0; overflow: hidden; }
.den-season-summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 17px;
}
.den-season-summary::-webkit-details-marker { display: none; }
.den-season-chevron { color: var(--holt-ink-42); transition: transform var(--holt-dur-fast) var(--holt-ease-out); }
/* A half-watched title resumes; this link under it plays from the beginning instead. */
.den-card-startover { font-size: 12px; color: var(--holt-ink-70); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; align-self: flex-start; }
.den-card-startover:hover, .den-card-startover:focus-visible { color: var(--holt-current); }
/* M69: an episode's synopsis under its title, two lines at most. */
.den-episode-overview { font-size: 12.5px; color: var(--holt-ink-70); display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.den-season[open] .den-season-chevron { transform: rotate(180deg); }
.den-season > .holt-row-list { padding: 0 17px 17px; }

/* M49: watch page and playback progress */

.den-watch {
  display: flex;
  flex-direction: column;
  gap: var(--holt-space-3);
}

.den-watch-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.den-player {
  position: relative;
  background: #000;
  border-radius: var(--holt-radius-lg);
  overflow: hidden;
}

.den-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 78vh;
  background: #000;
}

.den-player-message {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  text-align: center;
  background: rgba(0,0,0,.78);
  color: #fff;
}

.den-player-message .holt-body {
  color: rgba(255,255,255,.85);
}

.den-player-float {
  position: absolute;
  right: 16px;
  bottom: 72px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  max-width: calc(100% - 32px);
  flex-wrap: wrap;
}

.den-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,0));
  color: #fff;
}

.den-controls-btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  border-radius: var(--holt-radius-sm);
}

.den-controls-btn:hover,
.den-controls-btn:focus-visible {
  background: rgba(255,255,255,.14);
  outline: none;
}

.den-controls-time {
  flex: none;
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  color: rgba(255,255,255,.85);
  min-width: 40px;
  text-align: center;
}

.den-controls-scrub {
  flex: 1 1 auto;
  min-width: 0;
  height: 20px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.den-controls-scrub-track {
  position: relative;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,.25);
}

.den-controls-scrub-buffered {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  background: rgba(255,255,255,.35);
  border-radius: 2px;
}

.den-controls-scrub-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  background: var(--holt-current);
  border-radius: 2px;
}

.den-controls-scrub-handle {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--holt-current);
  transform: translate(-50%, -50%);
}

.den-controls-volume {
  flex: none;
  width: 70px;
  accent-color: var(--holt-current);
}

@media (max-width: 640px) {
  .den-controls-volume {
    display: none;
  }
}

.den-watch-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.den-quality-select {
  font-family: var(--holt-font-core);
  font-size: 12px;
  color: var(--holt-ink);
  background: var(--holt-deep);
  border: 1px solid var(--holt-hairline-strong);
  border-radius: var(--holt-radius-sm);
  padding: 8px 12px;
}
.den-quality-select:focus {
  outline: none;
  border-color: var(--holt-current);
}

.den-watch-notes ul {
  margin: 6px 0 0;
  padding-left: 18px;
}

.den-watch [hidden] {
  display: none !important;
}

.den-card-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: rgba(0,0,0,.45);
}

.den-card-progress i {
  display: block;
  height: 100%;
  background: var(--holt-current);
}

/* Continue watching: remove a card (Discover). Shown on hover/focus, always on touch screens. */
.den-card-dismiss {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--holt-glass-border);
  background: var(--holt-glass-badge-surface);
  color: var(--holt-ink);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.15s;
}
.holt-card:hover .den-card-dismiss,
.den-card-dismiss:focus-visible {
  opacity: 1;
}
@media (hover: none) {
  .den-card-dismiss { opacity: 1; }
}

@media (max-width: 640px) {
  .den-player-float {
    left: 8px;
    right: 8px;
    bottom: 56px;
  }
}
