/*
Theme Name: DFS Tube
Theme URI: https://demofreeslots.com
Author: DemoFreeSlots
Description: YouTube-style presentation layer for DemoFreeSlots. Shelf-based home, watch-page slot pages with an up-next rail, email-gated comments (via DFS Tube Comments plugin), real game-art thumbnails (via DFS Slot Artwork plugin). Same URLs, same data pipeline, same tools — different chrome. Deactivate by switching back to the previous theme.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Template:
*/

/* ═══════════════════════════════════════════════════════════════════════════
   TUBE DESIGN SYSTEM
   Loaded after legacy.css. Redefining the legacy custom properties reskins
   every existing component (tools, quiz, rescue, tables) into the tube
   palette without touching their markup.
   ═══════════════════════════════════════════════════════════════════════════ */
:root {
  --bg: #0f0f0f;
  --bg-card: #212121;
  --bg-elevated: #282828;
  --bg-hover: #3f3f3f;
  --border: rgba(255, 255, 255, 0.1);
  --border-hover: rgba(255, 255, 255, 0.2);
  --text: #f1f1f1;
  --text-muted: #aaaaaa;
  --text-dim: #717171;
  --accent: #3ea6ff;
  --accent-light: #65b8ff;
  --accent-glow: rgba(62, 166, 255, 0.25);
  --brand: #ff0000;
  --chip: #272727;
  --chip-active: #f1f1f1;
  --radius: 12px;
  --radius-sm: 8px;
  --font: "Roboto", "Arial", "Helvetica Neue", Helvetica, sans-serif;
  --header-h: 56px;
  --rail-w: 240px;
}
html { scroll-padding-top: calc(var(--header-h) + 12px); }
body { background: var(--bg); color: var(--text); font-family: var(--font); }
a { color: inherit; }

/* ── Top bar ─────────────────────────────────────────────────────────────── */
.tube-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; gap: 12px; height: var(--header-h); padding: 0 16px; background: var(--bg); }
.tube-burger { width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--text); font-size: 1.2rem; cursor: pointer; flex: 0 0 auto; }
.tube-burger:hover { background: var(--bg-hover); }
.tube-logo { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 1.15rem; letter-spacing: -0.5px; text-decoration: none; flex: 0 0 auto; }
.tube-logo-mark { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, #6c5ce7, #3ea6ff); font-size: 1rem; }
.tube-logo-mark::before { content: "🎰"; }
.tube-logo span:last-child em { font-style: normal; color: var(--accent); }
.tube-search-wrap { flex: 1 1 auto; display: flex; justify-content: center; }
.tube-search { display: flex; width: min(560px, 100%); }
.tube-search input { flex: 1; height: 40px; padding: 0 16px; border: 1px solid var(--border); border-right: 0; border-radius: 20px 0 0 20px; background: #121212; color: var(--text); font-size: 0.95rem; }
.tube-search input:focus { outline: none; border-color: var(--accent); }
.tube-search button { width: 64px; border: 1px solid var(--border); border-radius: 0 20px 20px 0; background: var(--bg-elevated); color: var(--text); cursor: pointer; font-size: 1rem; }
.tube-header-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.tube-header-actions a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; text-decoration: none; font-size: 1.1rem; }
.tube-header-actions a:hover { background: var(--bg-hover); }

/* ── Left rail ───────────────────────────────────────────────────────────── */
.tube-rail { position: fixed; top: var(--header-h); bottom: 0; left: 0; width: var(--rail-w); padding: 12px 12px 24px; overflow-y: auto; background: var(--bg); z-index: 90; }
.tube-rail::-webkit-scrollbar { width: 8px; }
.tube-rail::-webkit-scrollbar-thumb { background: var(--bg-hover); border-radius: 4px; }
.tube-rail-group { padding: 8px 0 12px; border-bottom: 1px solid var(--border); margin-bottom: 8px; }
.tube-rail-group:last-child { border-bottom: 0; }
.tube-rail-title { padding: 6px 12px; font-size: 0.9rem; font-weight: 600; color: var(--text); }
.tube-rail a { display: flex; align-items: center; gap: 20px; padding: 9px 12px; border-radius: 10px; color: var(--text); text-decoration: none; font-size: 0.9rem; }
.tube-rail a:hover { background: var(--bg-hover); }
.tube-rail a.active { background: var(--bg-elevated); font-weight: 600; }
.tube-rail-icon { width: 22px; text-align: center; font-size: 1.05rem; flex: 0 0 auto; }
.tube-avatar { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; font-size: 0.7rem; font-weight: 700; color: #fff; flex: 0 0 auto; }

/* ── Page shell ──────────────────────────────────────────────────────────── */
.tube-main { margin-top: var(--header-h); padding: 20px 24px 60px; }
@media (min-width: 1100px) { body.tube-has-rail .tube-main { margin-left: var(--rail-w); } }
@media (max-width: 1099px) {
  .tube-rail { transform: translateX(-100%); transition: transform 0.2s ease; box-shadow: none; }
  body.tube-rail-open .tube-rail { transform: none; box-shadow: 24px 0 60px rgba(0,0,0,0.5); }
}

/* ── Chip bar ────────────────────────────────────────────────────────────── */
.tube-chips { position: sticky; top: var(--header-h); z-index: 80; display: flex; gap: 10px; padding: 10px 0 14px; overflow-x: auto; background: var(--bg); scrollbar-width: none; }
.tube-chips::-webkit-scrollbar { display: none; }
.tube-chip { flex: 0 0 auto; padding: 7px 13px; border: 0; border-radius: 8px; background: var(--chip); color: var(--text); font-size: 0.86rem; font-weight: 500; cursor: pointer; text-decoration: none; white-space: nowrap; }
.tube-chip:hover { background: var(--bg-hover); }
.tube-chip.active { background: var(--chip-active); color: #0f0f0f; }

/* ── Cards (YouTube grammar: 16:9 thumb, avatar row, two-line title) ─────── */
.tube-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 32px 16px; }
.tube-card { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.tube-thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background-size: cover; background-position: center; }
.tube-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tube-thumb-emoji { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 3.2rem; }
.tube-thumb:hover img { transform: scale(1.03); transition: transform 0.2s ease; }
.tube-badge { position: absolute; right: 6px; bottom: 6px; padding: 2px 5px; border-radius: 4px; background: rgba(0, 0, 0, 0.8); color: #fff; font-size: 0.74rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.tube-live { position: absolute; left: 6px; bottom: 6px; padding: 2px 6px; border-radius: 4px; background: rgba(0,0,0,0.8); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.4px; }
.tube-live.is-playable { background: var(--brand); }
.tube-verified { position: absolute; right: 6px; top: 6px; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(0,0,0,0.75); color: #2fd48f; font-size: 0.72rem; font-weight: 800; }
.tube-card-row { display: flex; gap: 12px; align-items: flex-start; }
.tube-card-row .tube-avatar { width: 36px; height: 36px; font-size: 0.9rem; margin-top: 2px; }
.tube-card-text { min-width: 0; flex: 1; }
.tube-card-title { margin: 0 0 4px; font-size: 0.98rem; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tube-card-title a { text-decoration: none; }
.tube-card-meta { font-size: 0.82rem; color: var(--text-muted); line-height: 1.45; }
.tube-card-meta a { color: var(--text-muted); text-decoration: none; }
.tube-card-meta a:hover { color: var(--text); }
.tube-card-kebab { flex: 0 0 auto; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: var(--text-muted); font-size: 1rem; cursor: pointer; opacity: 0; }
.tube-card:hover .tube-card-kebab { opacity: 1; }
.tube-card-kebab:hover { background: var(--bg-hover); color: var(--text); }
.tube-card-kebab.active { opacity: 1; color: var(--accent); }

/* ── Shelves ─────────────────────────────────────────────────────────────── */
.tube-shelf { margin: 8px 0 34px; }
.tube-shelf-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.tube-shelf-head h2 { margin: 0; font-size: 1.25rem; font-weight: 700; }
.tube-shelf-head a { font-size: 0.85rem; color: var(--text-muted); text-decoration: none; padding: 6px 12px; border-radius: 18px; border: 1px solid var(--border); }
.tube-shelf-head a:hover { color: var(--text); border-color: var(--border-hover); }
.tube-shelf-row { display: grid; grid-auto-flow: column; grid-auto-columns: min(300px, 78vw); gap: 14px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.tube-shelf-row > .tube-card { scroll-snap-align: start; }

/* ── Watch page ──────────────────────────────────────────────────────────── */
.tube-watch { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; max-width: 1750px; }
@media (max-width: 1000px) { .tube-watch { grid-template-columns: 1fr; } }
.tube-player { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.tube-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tube-player-poster { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background-size: cover; background-position: center; cursor: pointer; border: 0; width: 100%; }
.tube-player-poster::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.25); }
.tube-play-btn { position: relative; z-index: 2; width: 68px; height: 48px; border-radius: 12px; background: var(--brand); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.3rem; box-shadow: 0 8px 30px rgba(0,0,0,0.5); }
.tube-player-poster:hover .tube-play-btn { background: #ff2b2b; }
.tube-poster-emoji { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 7rem; z-index: 1; }
.tube-player-note { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 10px 16px; background: linear-gradient(transparent, rgba(0,0,0,0.85)); color: #eee; font-size: 0.85rem; }
.tube-watch-title { margin: 14px 0 6px; font-size: 1.3rem; font-weight: 700; line-height: 1.35; }
.tube-channel-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 6px 0 4px; }
.tube-channel { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.tube-channel .tube-avatar { width: 40px; height: 40px; font-size: 1rem; }
.tube-channel-name { font-weight: 600; font-size: 0.98rem; }
.tube-channel-sub { font-size: 0.78rem; color: var(--text-muted); }
.tube-subscribe { padding: 9px 16px; border: 0; border-radius: 18px; background: var(--chip-active); color: #0f0f0f; font-weight: 600; font-size: 0.88rem; cursor: pointer; text-decoration: none; }
.tube-subscribe:hover { background: #ddd; }
.tube-subscribe.is-on { background: var(--bg-elevated); color: var(--text); }
.tube-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.tube-pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border: 0; border-radius: 18px; background: var(--chip); color: var(--text); font-size: 0.88rem; font-weight: 500; cursor: pointer; text-decoration: none; white-space: nowrap; }
.tube-pill:hover { background: var(--bg-hover); }
.tube-pill.is-primary { background: var(--brand); color: #fff; }
.tube-pill.is-primary:hover { background: #ff2b2b; }
.tube-pill.is-on { background: var(--accent); color: #05131f; }
.tube-desc { margin-top: 14px; padding: 12px 14px; border-radius: var(--radius); background: var(--bg-card); font-size: 0.9rem; line-height: 1.55; }
.tube-desc-meta { font-weight: 600; margin-bottom: 6px; }
.tube-desc .dfs-mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-variant-numeric: tabular-nums; }
.tube-desc-stats { display: flex; flex-wrap: nowrap; gap: 8px; margin: 12px 0 4px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; scroll-snap-type: x proximity; }
.tube-desc-stats > div { flex: 1 0 auto; min-width: 108px; padding: 9px 12px; border-radius: var(--radius-sm); background: var(--bg-elevated); white-space: nowrap; scroll-snap-align: start; }
.tube-desc-stats .k { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.6px; color: var(--text-muted); margin-bottom: 3px; }
.tube-desc-stats .v { font-weight: 600; font-variant-numeric: tabular-nums; }
.tube-desc-toggle { margin-top: 8px; background: none; border: 0; color: var(--text); font-weight: 600; cursor: pointer; font-size: 0.88rem; padding: 0; }
.tube-desc-body { display: none; margin-top: 10px; color: var(--text-muted); }
.tube-desc.is-open .tube-desc-body { display: block; }

/* ── Up next rail ────────────────────────────────────────────────────────── */
.tube-upnext h2 { font-size: 1rem; margin: 0 0 12px; }
.tube-next { display: flex; gap: 10px; margin-bottom: 10px; text-decoration: none; border-radius: var(--radius-sm); padding: 4px; }
.tube-next:hover { background: var(--bg-card); }
.tube-next .tube-thumb { flex: 0 0 168px; aspect-ratio: 16 / 9; border-radius: var(--radius-sm); }
.tube-next-text { min-width: 0; padding-top: 2px; }
.tube-next-title { margin: 0 0 4px; font-size: 0.88rem; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tube-next-meta { font-size: 0.78rem; color: var(--text-muted); line-height: 1.4; }

/* ── Watch-page content blocks (review sections re-dressed) ──────────────── */
.tube-section { margin-top: 22px; padding: 16px; border-radius: var(--radius); background: var(--bg-card); }
.tube-section h2 { margin: 0 0 12px; font-size: 1.05rem; }
.tube-watch .dfs-answer-block { background: var(--bg-card); border: 0; border-radius: var(--radius); }

/* ── Comments (rendered by DFS Tube Comments plugin) ─────────────────────── */
.tube-comments { margin-top: 24px; }
.tube-comments-head { font-size: 1.05rem; font-weight: 700; margin-bottom: 16px; }
.tube-comment-form { display: flex; gap: 12px; margin-bottom: 24px; }
.tube-comment-form .tube-avatar { width: 40px; height: 40px; }
.tube-cf-fields { flex: 1; }
.tube-cf-row { display: flex; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.tube-cf-row input { flex: 1 1 180px; }
.tube-comment-form input, .tube-comment-form textarea { padding: 9px 2px; border: 0; border-bottom: 1px solid var(--border); background: transparent; color: var(--text); font-size: 0.9rem; font-family: inherit; width: 100%; }
.tube-comment-form input:focus, .tube-comment-form textarea:focus { outline: none; border-bottom-color: var(--text); }
.tube-comment-form textarea { resize: vertical; min-height: 42px; }
.tube-cf-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; align-items: center; }
.tube-cf-consent { margin-right: auto; font-size: 0.76rem; color: var(--text-dim); max-width: 420px; }
.tube-cf-note { font-size: 0.8rem; color: var(--text-dim); margin: 4px 0 0; }
.tube-cf-error { color: #ff6b6b; font-size: 0.84rem; margin: 6px 0 0; }
.tube-cf-success { color: #2fd48f; font-size: 0.88rem; margin: 6px 0 0; }
.tube-comment { display: flex; gap: 12px; margin-bottom: 18px; }
.tube-comment .tube-avatar { width: 40px; height: 40px; flex: 0 0 auto; }
.tube-comment-body { min-width: 0; }
.tube-comment-author { font-size: 0.82rem; font-weight: 600; margin-bottom: 2px; }
.tube-comment-time { font-weight: 400; color: var(--text-muted); margin-left: 6px; font-size: 0.78rem; }
.tube-comment-text { font-size: 0.9rem; line-height: 1.5; word-wrap: break-word; }
.tube-hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.tube-footer { margin-top: 40px; padding: 24px; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 0.82rem; }
.tube-footer a { color: var(--text-muted); }

/* ── Legacy overrides: hide old chrome, keep old inner components working ── */
.dfs-header, .dfs-footer-cta, .dfs-mobile-nav-overlay { display: none !important; }
body { padding-top: 0 !important; }

/* ── A11y & motion ───────────────────────────────────────────────────────── */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tube-skip { position: absolute; left: -9999px; top: 0; z-index: 300; padding: 10px 18px; background: var(--accent); color: #05131f; font-weight: 700; border-radius: 0 0 8px 0; }
.tube-skip:focus { left: 0; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; } }

/* ═══ Refinement pass ═══════════════════════════════════════════════════ */

/* ── Search overlay (v5 command palette, tube-skinned) ──────────────────── */
.dfs-cmd-overlay { position: fixed; inset: 0; z-index: 200; display: flex; align-items: flex-start; justify-content: center; padding: 9vh 16px 16px; background: rgba(0, 0, 0, 0.72); backdrop-filter: blur(3px); }
.dfs-cmd-modal { width: min(640px, 100%); max-height: 76vh; display: flex; flex-direction: column; border-radius: 14px; background: var(--bg-card); border: 1px solid var(--border); box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6); overflow: hidden; }
.dfs-cmd-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.dfs-cmd-head input { flex: 1; border: 0; background: transparent; color: var(--text); font-size: 1.05rem; outline: none; }
.dfs-cmd-esc { border: 1px solid var(--border); background: transparent; color: var(--text-muted); border-radius: 6px; padding: 3px 8px; font-size: 0.72rem; cursor: pointer; }
.dfs-cmd-body { overflow-y: auto; padding: 8px; }
.dfs-search-empty { padding: 28px 16px; text-align: center; color: var(--text-dim); font-size: 0.9rem; }

/* ── Elevated review sections ───────────────────────────────────────────── */
.tube-section { border: 1px solid var(--border); }
.tube-section > h2 { display: flex; align-items: center; gap: 10px; font-size: 1.02rem; }
.tube-section > h2::before { content: ""; width: 4px; height: 18px; border-radius: 2px; background: linear-gradient(180deg, #6c5ce7, var(--accent)); }
.tube-verdict { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.tube-verdict-chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 10px; background: var(--bg-card); border: 1px solid var(--border); font-size: 0.84rem; }
.tube-verdict-chip strong { font-variant-numeric: tabular-nums; }
.tube-verdict-chip .up { color: #2fd48f; } .tube-verdict-chip .down { color: #f5b942; }
.tube-procon { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.tube-procon > div { padding: 14px 16px; border-radius: var(--radius-sm); background: var(--bg-elevated); border-top: 3px solid #2fd48f; }
.tube-procon > div.is-cons { border-top-color: #f5b942; }
.tube-procon ul { margin: 8px 0 0; padding-left: 18px; }
.tube-procon li { margin-bottom: 6px; line-height: 1.5; }
.tube-faq details { border-bottom: 1px solid var(--border); padding: 4px 0; }
.tube-faq details:last-child { border-bottom: 0; }
.tube-faq summary { cursor: pointer; padding: 10px 4px; font-weight: 600; font-size: 0.92rem; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.tube-faq summary::after { content: "+"; color: var(--text-muted); font-weight: 400; }
.tube-faq details[open] summary::after { content: "–"; }
.tube-faq details p { margin: 0 4px 12px; color: var(--text-muted); line-height: 1.55; }
.tube-explore { display: flex; flex-wrap: wrap; gap: 8px; }
.tube-explore a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 18px; background: var(--chip); color: var(--text); text-decoration: none; font-size: 0.85rem; border: 1px solid transparent; }
.tube-explore a:hover { border-color: var(--border-hover); background: var(--bg-hover); }

/* ── Provider pages (own aesthetic, not YouTube) ────────────────────────── */
.prov-hero { position: relative; margin: 4px 0 26px; padding: 34px 30px; border-radius: 18px; overflow: hidden; background: linear-gradient(120deg, rgba(108, 92, 231, 0.35), rgba(62, 166, 255, 0.12) 55%, transparent), var(--bg-card); border: 1px solid var(--border); }
.prov-hero-inner { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.prov-mark { width: 84px; height: 84px; border-radius: 22px; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; font-weight: 800; color: #fff; flex: 0 0 auto; box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4); }
.prov-hero h1 { margin: 0 0 4px; font-size: clamp(1.5rem, 3.4vw, 2.2rem); letter-spacing: -0.5px; }
.prov-hero-sub { color: var(--text-muted); font-size: 0.95rem; }
.prov-statband { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.prov-stat { padding: 12px 18px; border-radius: 12px; background: rgba(0, 0, 0, 0.35); border: 1px solid var(--border); min-width: 130px; }
.prov-stat .k { display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.7px; color: var(--text-muted); margin-bottom: 4px; }
.prov-stat .v { font-size: 1.15rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.prov-volbar { display: flex; height: 10px; border-radius: 6px; overflow: hidden; margin: 8px 0 6px; }
.prov-volbar span { display: block; }
.prov-legend { display: flex; flex-wrap: wrap; gap: 12px; font-size: 0.78rem; color: var(--text-muted); }
.prov-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; }
.prov-two { display: grid; grid-template-columns: 2fr 1fr; gap: 22px; align-items: start; }
@media (max-width: 900px) { .prov-two { grid-template-columns: 1fr; } }
.prov-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.prov-table th { text-align: left; padding: 8px 10px; color: var(--text-muted); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 1px solid var(--border); }
.prov-table td { padding: 10px; border-bottom: 1px solid var(--border); font-variant-numeric: tabular-nums; }
.prov-table tr:last-child td { border-bottom: 0; }
.prov-table a { text-decoration: none; font-weight: 600; }
.prov-table a:hover { color: var(--accent); }

/* ── Top lists (/best/…) ────────────────────────────────────────────────── */
.list-hero { margin: 4px 0 8px; max-width: 860px; }
.list-hero h1 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); margin: 0 0 10px; letter-spacing: -0.5px; }
.list-hero p { color: var(--text-muted); line-height: 1.65; font-size: 0.96rem; }
.list-rankings { counter-reset: rank; }
.list-rankings .tube-card { position: relative; }
.list-rankings .tube-card::before { counter-increment: rank; content: counter(rank); position: absolute; top: -8px; left: -8px; z-index: 3; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--bg-elevated); border: 1px solid var(--border); font-weight: 800; font-size: 0.82rem; }
.list-hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.list-hub-card { padding: 20px; border-radius: 14px; background: var(--bg-card); border: 1px solid var(--border); text-decoration: none; display: block; }
.list-hub-card:hover { border-color: var(--border-hover); background: var(--bg-elevated); }
.list-hub-card h2 { margin: 0 0 6px; font-size: 1.02rem; }
.list-hub-card p { margin: 0; color: var(--text-muted); font-size: 0.85rem; line-height: 1.5; }
