
  :root {
    --black: #060508;
    --surface-deep: #060508;
    --surface: #0c0c10;
    --surface-raised: #12121a;
    --surface-overlay: #18181f;
    --card: #0c0c10;
    --card2: #12121a;
    --border-faint: rgba(255, 255, 255, 0.055);
    --border: rgba(255, 255, 255, 0.1);
    --border-strong: rgba(255, 255, 255, 0.16);
    --fire: #ff2d9b;
    --fire2: #ff5aad;
    --lime: #c8ff00;
    --lime2: #aaee00;
    --ghost: #5a5660;
    --ghost-light: #9a92a3;
    --white: #f7f5f8;
    --cream: #e9e2ec;
    --drama-glow: rgba(255, 45, 155, 0.12);
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --font-display: 'Bebas Neue', Impact, sans-serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
    --font-mono: 'Space Mono', ui-monospace, monospace;
    --track-tight: 0.04em;
    --track-label: 0.08em;
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 14px 40px rgba(0, 0, 0, 0.5);
    --app-height: 100vh;
    --keyboard-offset: 0px;
    /* ~ safe top + header shell + pill row (46px logo + padding); keeps sticky tabs below real header */
    --sticky-feed-tabs-top: calc(96px + env(safe-area-inset-top));
    /* Homepage / hero spacing scale (4px rhythm) */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    /* Hero card padding (top slightly more = optical weight under nav) */
    /* Top: optical balance under sticky nav + accent bar; bottom: grounds chip row inside card */
    --hero-card-pad-top: calc(var(--space-6) + var(--space-1));
    --hero-card-pad-bottom: calc(var(--space-6) + var(--space-1));
    /* Match inline ends so type + modules feel centered with the 4px accent bar */
    --hero-card-pad-inline-end: calc(var(--space-5) + var(--space-1));
    --hero-card-pad-inline-start: calc(var(--space-5) + var(--space-1));
    /* Stepped rhythm inside .hero-copy (flex column, not flat grid gap) */
    --hero-gap-kicker-title: var(--space-3);
    --hero-gap-title-sub: var(--space-6);
    --hero-gap-sub-cta: var(--space-5);
    --hero-gap-cta-featured: var(--space-5);
    /* Same band of space before highlight chips whether proof row is shown or not */
    --hero-gap-featured-chips: var(--hero-gap-cta-featured);
    --section-stack-gap: var(--space-4);
    /* One column width + outer gutters (all max-width: 720px modules) */
    --layout-content-max: 720px;
    /* Slightly roomier than generic sections so hero / bridge / submit read as distinct cards */
    --shell-module-gap: var(--space-5);
    /* Single band between sticky header and hero (see .site-header: no duplicate bottom padding) */
    --header-hero-gap: var(--space-5);
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }

  html {
    min-height: 100%;
    background: var(--black);
    scroll-padding-top: calc(96px + env(safe-area-inset-top));
    scroll-padding-bottom: calc(120px + env(safe-area-inset-bottom) + var(--keyboard-offset));
    -webkit-text-size-adjust: 100%;
  }

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

  body {
    background: var(--black);
    color: var(--white);
    font-family: var(--font-body);
    min-height: var(--app-height);
    overflow-x: hidden;
    padding-bottom: env(safe-area-inset-bottom);
    -webkit-tap-highlight-color: rgba(255, 45, 155, 0.12);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  button,
  [role='tab'],
  .header-nav-link,
  .browse-vibe-chip,
  .cat-chip,
  .cat-filter {
    touch-action: manipulation;
  }

  /* === NOISE OVERLAY === */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
    z-index: 9999;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .logo-img {
    height: 45px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block;
  }

  .logo-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px;
    letter-spacing: 1px;
    color: var(--white);
    line-height: 1;
  }

  .logo-text span {
    color: var(--fire);
  }

  .logo-text .tagline {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    color: var(--ghost-light);
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-top: 2px;
  }

  .header-right {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .merch-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(200,255,0,0.1);
    border: 1px solid rgba(200,255,0,0.3);
    padding: 5px 12px;
    border-radius: 20px;
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    color: var(--lime);
    letter-spacing: 1px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.15s;
  }

  .merch-btn:hover {
    background: rgba(200,255,0,0.15);
    border-color: rgba(200,255,0,0.5);
  }

  .live-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,45,155,0.1);
    border: 1px solid rgba(255,45,155,0.3);
    padding: 5px 12px;
    border-radius: 20px;
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    color: var(--fire);
    letter-spacing: 1px;
  }

  .live-dot {
    width: 7px;
    height: 7px;
    background: var(--fire);
    border-radius: 50%;
    animation: pulse 1.4s infinite;
  }

  @keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
  }

  .submit-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--fire), var(--lime), transparent);
  }

  .submit-label {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--ghost-light);
    text-transform: uppercase;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .submit-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #2a2a2a;
  }

  .category-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
  }

  .cat-chip {
    background: #1e1e1e;
    border: 1px solid #333;
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 12px;
    color: var(--ghost-light);
    cursor: pointer;
    transition: all 0.15s;
    font-family: 'DM Sans', sans-serif;
  }

  .cat-chip:hover, .cat-chip.active {
    background: rgba(255,45,155,0.12);
    border-color: rgba(255,45,155,0.4);
    color: var(--white);
  }

  .cat-chip.active {
    color: var(--fire);
  }

  textarea {
    width: 100%;
    background: #0f0f0f;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    padding: 14px;
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    resize: vertical;
    min-height: 100px;
    max-height: 280px;
    outline: none;
    transition: border-color 0.2s;
    line-height: 1.5;
  }

  textarea:focus { border-color: #444; }

  textarea::placeholder { color: #444; }

  .submit-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
  }

  .char-counter {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    color: var(--ghost);
    transition: color 0.2s;
  }

  .char-counter.warn { color: var(--lime2); }
  .char-counter.danger { color: var(--fire); }

  .submit-btn {
    background: var(--fire);
    color: #0a0a0c;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 10px 24px;
    font-family: var(--font-display);
    font-size: 18px;
    letter-spacing: var(--track-tight);
    cursor: pointer;
    transition:
      transform 0.15s ease,
      box-shadow 0.2s ease,
      filter 0.15s ease,
      background 0.15s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: var(--shadow-sm);
    animation: none;
  }

  .submit-btn:hover {
    background: #ff4aad;
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow: 0 10px 32px rgba(255, 45, 155, 0.35);
  }

  .submit-btn:active {
    transform: translateY(0);
    filter: brightness(0.98);
  }

  /* === TABS === */
  .feed-tabs {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 24px 16px;
    display: flex;
    gap: 4px;
    border-bottom: 1px solid #1e1e1e;
  }

  .tab {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    color: var(--ghost);
    transition: all 0.15s;
    border: none;
    background: none;
  }

  .tab.active {
    background: #1e1e1e;
    color: var(--white);
  }

  /* === FEED === */
  .feed {
    max-width: 640px;
    margin: 0 auto;
    padding: 20px 24px 80px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .drama-card {
    background: var(--card);
    border: 1px solid #1e1e1e;
    border-radius: 14px;
    padding: 20px;
    transition: border-color 0.2s;
    position: relative;
    overflow: hidden;
    animation: slideIn 0.35s ease;
    content-visibility: auto;
    contain-intrinsic-size: auto 280px;
  }

  @keyframes slideIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .drama-card.is-drama {
    border-color: rgba(255,45,155,0.25);
    background: linear-gradient(135deg, var(--card) 0%, rgba(255,45,155,0.04) 100%);
  }

  .card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 12px;
    gap: 12px;
  }

  .card-cat {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ghost-light);
    background: #1a1a1a;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
  }

  .card-time {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    color: var(--ghost);
    white-space: nowrap;
  }

  .card-story {
    font-size: 15px;
    line-height: 1.55;
    color: var(--cream);
    margin-bottom: 16px;
    font-style: italic;
  }

  .card-story::before { content: '"'; color: var(--ghost); }
  .card-story::after { content: '"'; color: var(--ghost); }

  /* === VOTE BAR === */
  .vote-bar-wrap {
    height: 8px;
    background: #1a1a1a;
    border-radius: 99px;
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
  }

  .vote-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--fire), var(--lime));
    border-radius: 99px;
    transition: width 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 0 14px rgba(255, 45, 155, 0.35);
  }

  .vote-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .vote-btn {
    padding: 9px 8px 10px;
    border-radius: 10px;
    border: 1px solid #2a2a2a;
    background: #161616;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--ghost-light);
    transition: all 0.15s;
    display: flex;
    align-items: center;
    align-content: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 64px;
    min-width: 0;
    text-align: left;
    position: relative;
    overflow: visible;
  }

  .vote-btn-title {
    font-family: var(--font-display);
    font-size: 18px;
    line-height: 1;
    letter-spacing: var(--track-tight);
    color: var(--white);
  }

  .vote-btn:hover { border-color: #444; color: var(--white); }

  .vote-btn:active:not(:disabled) {
    transform: scale(0.97);
  }

  .vote-btn.drama-btn:hover {
    background: rgba(255,45,155,0.14);
    border-color: rgba(255,45,155,0.55);
    color: var(--fire);
  }

  .vote-btn--nah:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(200, 200, 200, 0.35);
    color: var(--white);
  }

  .vote-btn.voted-drama {
    background: rgba(255,45,155,0.15);
    border-color: var(--fire);
    color: var(--fire);
    font-weight: 700;
  }

  .vote-btn.voted-not {
    background: rgba(255,255,255,0.05);
    border-color: #555;
    color: var(--ghost-light);
    font-weight: 700;
  }

  .vote-pct {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    letter-spacing: 0.5px;
    line-height: 1;
  }

  .vote-label {
    font-size: 11px;
    line-height: 1.2;
    flex: 1 0 100%;
    min-width: 0;
  }

  .vote-status {
    margin-left: auto;
    border: 1px solid currentColor;
    border-radius: 999px;
    padding: 2px 6px;
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    line-height: 1;
    letter-spacing: 0.3px;
    text-transform: uppercase;
  }

  /* === SHARE BTN === */
  .share-row {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .total-votes {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    color: var(--ghost);
  }

  .share-btn {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 1px;
    color: var(--ghost-light);
    background: none;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    padding: 5px 12px;
    cursor: pointer;
    transition: all 0.15s;
  }

  .share-btn:hover {
    border-color: #444;
    color: var(--white);
  }

  .drama-card.share-focus {
    border-color: rgba(255,45,155,0.75);
    box-shadow: 0 0 0 1px rgba(255,45,155,0.3), 0 28px 80px rgba(255,45,155,0.18);
    animation: sharePulse 1.8s ease-in-out 2;
  }

  @keyframes sharePulse {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
  }

  .platform-share {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 14px 12px;
    border-radius: var(--radius-md);
    background: var(--surface-raised);
    border: 1px solid var(--border);
    color: var(--white);
    cursor: pointer;
    transition:
      border-color 0.15s ease,
      background 0.15s ease,
      transform 0.12s ease;
  }

  .platform-share:hover {
    border-color: rgba(255, 45, 155, 0.45);
    background: rgba(255, 45, 155, 0.08);
  }

  .platform-share:active {
    transform: scale(0.98);
  }

  .platform-share .share-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
  }

  .platform-share .share-icon svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: currentColor;
  }

  .platform-share > span[style*="font-size: 28px"] {
    display: none;
  }

  .platform-share[data-platform="facebook"] .share-icon { color: #1877f2; }
  .platform-share[data-platform="twitter"] .share-icon { color: #f5f0f5; }
  .platform-share[data-platform="whatsapp"] .share-icon { color: #25d366; }
  .platform-share[data-platform="telegram"] .share-icon { color: #229ed9; }
  .platform-share[data-platform="reddit"] .share-icon { color: #ff4500; }
  .platform-share[data-platform="copy"] .share-icon { color: var(--lime); }

  .report-btn {
    background: transparent;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 12px;
    color: var(--ghost);
    cursor: pointer;
    transition: all 0.15s;
    font-family: 'Space Mono', monospace;
  }

  .report-btn:hover {
    border-color: #ff4444;
    background: rgba(255,68,68,0.1);
    color: #ff4444;
  }

  /* === CONFETTI === */
  .confetti-piece {
    position: fixed;
    width: 8px;
    height: 8px;
    pointer-events: none;
    z-index: 9998;
    border-radius: 2px;
    animation: confettiFall 1.2s ease-out forwards;
  }

  @keyframes confettiFall {
    0% { transform: translateY(-20px) rotate(0deg); opacity: 1; }
    100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
  }

  /* === TOAST === */
  .toast {
    position: fixed;
    bottom: calc(24px + env(safe-area-inset-bottom) + var(--keyboard-offset));
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--surface-overlay);
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    padding: 10px 22px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--white);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 9997;
    white-space: nowrap;
    letter-spacing: var(--track-tight);
    box-shadow: var(--shadow-md);
  }

  .toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  .merch-vote-toast {
    position: fixed;
    z-index: 10000;
    right: max(12px, env(safe-area-inset-right));
    bottom: calc(20px + env(safe-area-inset-bottom) + var(--keyboard-offset));
    width: min(400px, calc(100vw - 24px - env(safe-area-inset-left) - env(safe-area-inset-right)));
    pointer-events: none;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .merch-vote-toast--visible {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
  }

  .merch-vote-toast-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
    padding: 12px 40px 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 45, 155, 0.35);
    background: var(--surface-raised);
    box-shadow: var(--shadow-md);
  }

  .merch-vote-toast-msg {
    margin: 0;
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.45;
    font-weight: 600;
    color: var(--white);
  }

  .merch-vote-toast-msg .merch-vote-toast-link {
    font-weight: 700;
    text-decoration: none;
    color: #0a0a0a;
    background: rgba(207, 255, 46, 0.9);
    border: 1px solid rgba(207, 255, 46, 0.95);
    border-radius: 999px;
    padding: 4px 12px 5px;
    margin-left: 2px;
    display: inline-block;
    transition: background 0.15s ease, border-color 0.15s ease;
    white-space: nowrap;
  }

  .merch-vote-toast-msg .merch-vote-toast-link:hover {
    background: var(--lime);
    border-color: var(--lime);
  }

  .merch-vote-toast-dismiss {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--ghost-light);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.15s ease, background 0.15s ease;
  }

  .merch-vote-toast-dismiss:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
  }

  /* === STATS BAR === */
  .stat-pill {
    flex: 1;
    background: var(--card);
    border: 1px solid #1e1e1e;
    border-radius: 12px;
    padding: 14px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .stat-pill::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255,45,155,0.12), transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(200,255,0,0.12), transparent 38%);
    pointer-events: none;
  }

  .stat-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(40px, 8vw, 72px);
    color: var(--fire);
    line-height: 1;
    display: inline-block;
    position: relative;
    text-shadow: 0 0 18px rgba(255,45,155,0.45);
  }

  .stat-number::before,
  .stat-number::after {
    content: '*';
    position: absolute;
    font-size: 14px;
    color: var(--lime);
    animation: statSparkle 1.8s ease-in-out infinite;
  }

  .stat-number::before {
    top: 4px;
    left: -16px;
  }

  .stat-number::after {
    bottom: 2px;
    right: -16px;
    animation-delay: 0.8s;
  }

  @keyframes statSparkle {
    0%, 100% { opacity: 0.25; transform: scale(0.8) rotate(-6deg); }
    50% { opacity: 1; transform: scale(1.15) rotate(6deg); }
  }

  .stat-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: var(--track-label);
    color: var(--ghost-light);
    text-transform: uppercase;
    display: block;
    margin-top: 4px;
  }

  /* === EMPTY STATE === */
  .empty-state {
    text-align: center;
    padding: 60px 24px;
    color: var(--ghost);
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    line-height: 1.8;
  }

  /* === SUPPORT SECTION === */
  .support-section {
    max-width: 640px;
    margin: 0 auto;
    padding: 40px 24px;
    text-align: center;
    border-top: 1px solid #1e1e1e;
  }

  .support-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20px;
    color: var(--fire);
    margin-bottom: 12px;
  }

  .support-text {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    color: var(--ghost-light);
    margin-bottom: 16px;
    line-height: 1.6;
  }

  .support-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .support-btn {
    background: var(--card);
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    padding: 10px 20px;
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    color: var(--white);
    text-decoration: none;
    transition: all 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .support-btn:hover {
    border-color: var(--fire);
    background: rgba(255,45,155,0.1);
  }

  /* === RECENT ROASTS CAROUSEL === */
  .carousel-section {
    max-width: 100%;
    margin: 0 auto;
    padding: 8px 0 40px;
    border-top: 1px solid #1e1e1e;
  }

  .carousel-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    color: var(--lime);
    letter-spacing: 1px;
    margin: 0 auto 14px;
    max-width: 640px;
    padding: 0 24px;
  }

  .carousel-shell {
    overflow: hidden;
    width: 100%;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  }

  .carousel-track {
    display: flex;
    gap: 12px;
    width: max-content;
    padding: 0 24px;
    animation: roastScroll 34s linear infinite;
    will-change: transform;
  }

  @media (hover: hover) and (pointer: fine) {
    .carousel-shell:hover .carousel-track {
      animation-play-state: paused;
    }
  }

  .roast-card {
    width: 260px;
    min-height: 140px;
    background: linear-gradient(160deg, #151515 0%, #0f0f0f 100%);
    border: 1px solid #252525;
    border-radius: 14px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .roast-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    color: var(--ghost-light);
  }

  .roast-story {
    font-size: 13px;
    color: var(--cream);
    line-height: 1.45;
    margin-bottom: 10px;
  }

  .roast-score {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    color: var(--fire);
    line-height: 1;
  }

  .roast-score span {
    color: var(--lime);
    font-size: 18px;
    margin-left: 4px;
  }

  @keyframes roastScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }

  /* === FLOATING EMOJIS === */
  .floating-emoji-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
  }

  .floating-emoji {
    position: absolute;
    font-size: clamp(14px, 2.2vw, 24px);
    opacity: 0.22;
    animation: floatEmoji linear infinite;
    filter: drop-shadow(0 0 8px rgba(255,45,155,0.2));
  }

  .floating-emoji.e1 { left: 7%; animation-duration: 20s; animation-delay: -2s; }
  .floating-emoji.e2 { left: 17%; animation-duration: 24s; animation-delay: -10s; }
  .floating-emoji.e3 { left: 29%; animation-duration: 19s; animation-delay: -5s; }
  .floating-emoji.e4 { left: 43%; animation-duration: 23s; animation-delay: -13s; }
  .floating-emoji.e5 { left: 56%; animation-duration: 18s; animation-delay: -8s; }
  .floating-emoji.e6 { left: 69%; animation-duration: 26s; animation-delay: -15s; }
  .floating-emoji.e7 { left: 78%; animation-duration: 21s; animation-delay: -4s; }
  .floating-emoji.e8 { left: 88%; animation-duration: 25s; animation-delay: -12s; }

  @keyframes floatEmoji {
    0% { transform: translateY(110vh) translateX(0) rotate(0deg); }
    50% { transform: translateY(45vh) translateX(10px) rotate(10deg); }
    100% { transform: translateY(-15vh) translateX(-8px) rotate(-8deg); }
  }

  main,
  footer {
    position: relative;
    z-index: 2;
  }

  /* === HOW IT WORKS / ABOUT === */
  .content-section {
    max-width: 640px;
    margin: 0 auto;
    padding: 32px 24px;
    border-top: 1px solid #1e1e1e;
  }
  .content-section h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    color: var(--fire);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
  }
  .content-section p {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: var(--ghost-light);
    line-height: 1.7;
    margin-bottom: 12px;
  }
  .content-section ul {
    margin: 12px 0 12px 20px;
    color: var(--ghost-light);
    font-size: 14px;
    line-height: 1.7;
  }

  /* === FOOTER === */
  .footer {
    max-width: 640px;
    margin: 0 auto;
    padding: 40px 24px 60px;
    border-top: 1px solid #1e1e1e;
    text-align: center;
  }

  .footer-explore {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 16px;
    margin: 0 auto 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    max-width: 520px;
  }

  .footer-explore-label {
    flex: 1 0 100%;
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ghost-light);
    opacity: 0.88;
  }

  .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    font-family: 'Space Mono', monospace;
    font-size: 10px;
  }

  .footer-link {
    color: var(--ghost-light);
    text-decoration: none;
    transition: color 0.15s;
  }

  .footer-link:hover {
    color: var(--fire);
  }

  .footer-email {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    color: var(--ghost);
    margin-bottom: 16px;
  }

  .footer-email a {
    color: var(--lime);
    text-decoration: none;
  }

  .footer-email a:hover {
    color: var(--lime2);
  }

  .footer-disclaimer {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    color: var(--ghost);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
  }

  .footer-copyright {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    color: var(--ghost);
    margin-top: 16px;
  }

  /* === SCROLLBAR === */
  ::-webkit-scrollbar { width: 4px; }
  ::-webkit-scrollbar-track { background: transparent; }
  ::-webkit-scrollbar-thumb { background: #333; border-radius: 2px; }

  .skip-link {
    position: absolute;
    left: -999px;
    top: 8px;
    z-index: 10001;
    background: var(--lime);
    color: #000;
    border-radius: 6px;
    padding: 8px 12px;
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    text-decoration: none;
  }

  .skip-link:focus {
    left: 12px;
  }

  /* === UX REFRESH === */
  .noscript-shell,
  .hero-shell,
  .stats-bar,
  .post-detail-section,
  .featured-section,
  .lane-section,
  .ad-slot-region--above-feed,
  .feed-controls,
  .feed,
  .trust-section,
  .footer {
    padding-left: max(var(--space-4), env(safe-area-inset-left));
    padding-right: max(var(--space-4), env(safe-area-inset-right));
  }

  #main-content {
    width: 100%;
  }

  .noscript-shell {
    max-width: var(--layout-content-max);
    margin: 0 auto;
    padding-top: var(--space-3);
  }

  .noscript-card {
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.035);
    color: var(--ghost-light);
    border-radius: 14px;
    padding: 12px 14px;
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    line-height: 1.6;
  }

  .noscript-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.2);
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    justify-content: center;
  }

  .noscript-nav a {
    color: var(--lime);
    text-decoration: none;
  }

  .noscript-nav a:hover {
    text-decoration: underline;
  }

  .site-header {
    display: block;
    position: sticky;
    top: 0;
    z-index: 140;
    /* Bottom gap lives on .hero-shell only so header→hero isn’t doubled (was padding here + shell top). */
    padding:
      calc(var(--space-4) + env(safe-area-inset-top))
      max(var(--space-4), env(safe-area-inset-right))
      0
      max(var(--space-4), env(safe-area-inset-left));
    background: linear-gradient(180deg, rgba(6, 5, 8, 0.94) 0%, rgba(6, 5, 8, 0.78) 65%, transparent);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .header-inner {
    max-width: var(--layout-content-max);
    margin: 0 auto;
    min-height: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface-raised);
    box-shadow: var(--shadow-sm);
    /* Match .hero-copy inline padding so brand/nav align with hero type */
    padding: var(--space-4) var(--hero-card-pad-inline-start);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    /* Enforced separation between brand column and nav/meta cluster (not just space-between luck) */
    column-gap: var(--space-6);
    row-gap: var(--space-4);
  }

  .header-brand {
    display: flex;
    align-items: center;
    flex: 1 1 220px;
    /* Do not shrink below logo + title: nowrap text would overflow and paint over .header-trailing / first pill */
    flex-shrink: 0;
    min-width: min-content;
  }

  .header-brand .brand-link {
    min-width: 0;
    max-width: 100%;
  }

  .header-trailing {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: var(--space-3) var(--space-4);
    flex: 1 1 260px;
    min-width: 0;
  }

  .brand-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
    min-width: 0;
    color: inherit;
  }

  .brand-link:visited {
    color: inherit;
  }

  .header-inner .logo {
    min-width: 0;
    gap: var(--space-3);
  }

  .header-inner .logo-img {
    height: 46px;
    width: auto;
    max-width: 190px;
  }

  .header-inner .logo-text {
    font-size: clamp(26px, 4vw, 32px);
    white-space: nowrap;
    line-height: 1.05;
  }

  .header-inner .logo-text .tagline {
    display: block;
    margin-top: var(--space-1);
    font-size: 8px;
    letter-spacing: 1.2px;
    line-height: 1.35;
  }

  .header-nav {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: var(--space-3);
    flex: 0 1 auto;
    min-width: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .header-nav::-webkit-scrollbar {
    display: none;
  }

  .header-nav-link {
    flex: 0 0 auto;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: var(--track-label);
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ghost-light);
    padding: 0 var(--space-3);
    min-height: 44px;
    line-height: 1.2;
    box-sizing: border-box;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--surface);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition:
      color 0.15s ease,
      border-color 0.15s ease,
      background 0.15s ease,
      transform 0.12s ease;
  }

  .header-nav-link:hover {
    color: var(--white);
    border-color: rgba(255, 45, 155, 0.35);
    background: var(--surface-overlay);
  }

  .header-nav-link:active {
    transform: scale(0.98);
  }

  .header-nav-link.header-nav-shop {
    color: #0a0a0a;
    background: rgba(207, 255, 46, 0.92);
    border-color: rgba(255, 45, 155, 0.45);
    font-weight: 700;
    letter-spacing: 0.1em;
    box-shadow:
      0 0 0 1px rgba(255, 45, 155, 0.2),
      0 6px 18px rgba(207, 255, 46, 0.22);
  }

  .header-nav-link.header-nav-shop:hover {
    color: #050505;
    background: var(--lime);
    border-color: rgba(255, 45, 155, 0.55);
  }

  .header-meta {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: var(--space-3);
    flex: 0 0 auto;
  }

  @media (min-width: 720px) {
    .header-inner {
      flex-wrap: nowrap;
      padding: var(--space-4) var(--hero-card-pad-inline-start);
      align-items: center;
    }

    .header-brand {
      flex: 0 0 auto;
      flex-shrink: 0;
      /* Match min-width: min-content in base — never let flex shrink the brand under nowrap title (avoids overlap) */
      min-width: min-content;
    }

    .header-trailing {
      flex: 1 1 0;
      min-width: 0;
      justify-content: flex-end;
    }

    .header-nav {
      flex: 0 1 auto;
      justify-content: flex-end;
      gap: var(--space-3);
    }

    .header-meta {
      flex: 0 0 auto;
    }
  }

  .header-cta {
    min-height: 36px;
    padding: 8px 12px;
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.55px;
    text-transform: uppercase;
    box-shadow: none;
  }

  .header-cta.primary {
    background: rgba(200, 255, 0, 0.92);
    border-color: rgba(200, 255, 0, 0.95);
    color: #111;
    box-shadow: 0 8px 16px rgba(200, 255, 0, 0.14);
    font-weight: 700;
  }

  .header-cta.secondary {
    border-color: rgba(255, 45, 155, 0.42);
    background: rgba(255, 45, 155, 0.14);
    color: #ffd9f0;
  }

  .header-live {
    min-height: 44px;
    padding: 0 var(--space-3);
    font-size: 10px;
    letter-spacing: 0.75px;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0.85;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.15;
    box-sizing: border-box;
  }

  .hero-shell {
    max-width: var(--layout-content-max);
    margin-inline: auto;
    padding-top: var(--header-hero-gap);
    padding-bottom: var(--shell-module-gap);
    display: flex;
    flex-direction: column;
    gap: var(--shell-module-gap);
  }

  .hero {
    padding: 0;
    text-align: left;
  }

  .hero-copy {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-strong);
    background: var(--surface-raised);
    border-radius: var(--radius-xl);
    padding: var(--hero-card-pad-top) var(--hero-card-pad-inline-end) var(--hero-card-pad-bottom)
      var(--hero-card-pad-inline-start);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .hero-copy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--fire), var(--lime));
    border-radius: 4px 0 0 4px;
    opacity: 0.9;
  }

  .hero-kicker {
    margin: 0 0 var(--hero-gap-kicker-title);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: var(--track-label);
    text-transform: uppercase;
    color: var(--lime);
    line-height: 1.35;
  }

  .hero h1 {
    margin: 0 0 var(--hero-gap-title-sub);
    font-family: var(--font-display);
    font-size: clamp(44px, 12vw, 92px);
    line-height: 0.92;
    letter-spacing: var(--track-tight);
  }

  .hero h1 .line1 {
    color: var(--fire);
    display: block;
    text-shadow: 0 0 48px rgba(255, 45, 155, 0.35);
  }

  .hero h1 .line2 {
    color: var(--lime);
    display: block;
    margin-top: var(--space-2);
    text-shadow: 0 0 40px rgba(207, 255, 46, 0.22);
  }

  .hero-sub {
    max-width: none;
    margin: 0 0 var(--hero-gap-sub-cta);
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.65;
    color: var(--cream);
    font-weight: 450;
    letter-spacing: 0.01em;
  }

  .hero-actions {
    margin: 0 0 var(--hero-gap-cta-featured);
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
  }

  .hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 999px;
    min-height: 46px;
    padding: var(--space-3) var(--space-5);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: var(--track-label);
    border: 1px solid transparent;
    transition:
      transform 0.15s ease,
      border-color 0.15s ease,
      background 0.15s ease,
      color 0.15s ease,
      box-shadow 0.2s ease;
  }

  .hero-cta:hover {
    transform: translateY(-1px);
  }

  .hero-cta:active {
    transform: translateY(0) scale(0.99);
  }

  .hero-cta.primary {
    background: var(--lime);
    color: #0a0a0c;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 28px rgba(207, 255, 46, 0.22);
    font-weight: 700;
  }

  .hero-cta.primary:hover {
    box-shadow: 0 12px 36px rgba(207, 255, 46, 0.28);
  }

  .hero-cta.secondary {
    background: transparent;
    border-color: var(--border-strong);
    color: var(--cream);
  }

  .hero-cta.secondary:hover {
    border-color: rgba(255, 45, 155, 0.45);
    color: var(--white);
    background: rgba(255, 45, 155, 0.08);
  }

  .hero-proof {
    margin: 0 0 var(--hero-gap-featured-chips);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    padding: var(--space-3);
    display: grid;
    gap: var(--space-3);
  }

  .hero-proof-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
  }

  .hero-proof-kicker {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--lime);
  }

  .hero-proof-open {
    color: var(--ghost-light);
    text-decoration: none;
    border: 1px solid #353535;
    border-radius: 999px;
    min-height: 40px;
    padding: var(--space-2) var(--space-3);
    display: inline-flex;
    align-items: center;
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
  }

  .hero-proof-open:hover {
    border-color: rgba(255, 255, 255, 0.24);
    color: var(--white);
  }

  .hero-proof-card {
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface-raised);
    padding: var(--space-3);
    display: grid;
    gap: var(--space-2);
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  }

  .hero-proof-card:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 45, 155, 0.35);
    box-shadow: var(--shadow-sm);
  }

  .hero-proof-meta {
    display: flex;
    justify-content: space-between;
    gap: var(--space-2);
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    color: var(--ghost-light);
    letter-spacing: 0.3px;
  }

  .hero-proof-story {
    margin: 0;
    color: var(--cream);
    font-size: 13px;
    line-height: 1.55;
  }

  .hero-proof-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-2);
  }

  .hero-proof-signal {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    color: var(--ghost-light);
    text-transform: uppercase;
    letter-spacing: 0.7px;
  }

  .hero-proof-action {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 18px;
    letter-spacing: 0.6px;
    color: var(--fire2);
  }

  .hero-highlights {
    margin: 0;
    padding-top: var(--space-4);
    border-top: 1px solid var(--border-faint);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
  }

  .hero-highlights span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: var(--space-2) var(--space-4);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--ghost-light);
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.25px;
    line-height: 1.2;
  }

  .hero-bridge {
    margin: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    padding: var(--space-5) var(--hero-card-pad-inline-end) var(--space-5)
      var(--hero-card-pad-inline-start);
    display: grid;
    gap: var(--space-4);
  }

  .hero-bridge-copy {
    margin: 0;
    color: var(--ghost-light);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: var(--track-tight);
    line-height: 1.55;
  }

  .hero-bridge-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-3);
  }

  .hero-bridge-link {
    text-decoration: none;
    min-height: 46px;
    border-radius: 999px;
    border: 1px solid rgba(200, 255, 0, 0.46);
    background: rgba(200, 255, 0, 0.1);
    color: var(--lime);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
  }

  .hero-bridge-link.secondary {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.03);
    color: var(--ghost-light);
  }

  .hero-bridge-link:hover {
    border-color: rgba(200, 255, 0, 0.68);
    color: #f3ffd5;
  }

  .home-empty-state {
    margin: 0;
    padding: var(--space-5) var(--hero-card-pad-inline-end) var(--space-5)
      var(--hero-card-pad-inline-start);
    text-align: left;
    border: 1px solid var(--border-strong);
    background: var(--surface-raised);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
  }

  .home-empty-state h2 {
    font-family: var(--font-display);
    letter-spacing: var(--track-tight);
    color: var(--white);
    font-size: clamp(28px, 7vw, 42px);
    margin-bottom: var(--space-2);
  }

  .home-empty-state p {
    color: var(--ghost-light);
    margin-bottom: var(--space-3);
    font-size: 14px;
    line-height: 1.6;
  }

  .submit-section {
    padding: 0;
    max-width: none;
    margin: 0;
    scroll-margin-top: calc(90px + env(safe-area-inset-top));
  }

  .submit-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-strong);
    background: var(--surface-raised);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-xl);
    padding: var(--space-5) var(--hero-card-pad-inline-end) var(--space-5)
      var(--hero-card-pad-inline-start);
  }

  .submit-trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
  }

  .submit-trust-pill {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: var(--track-label);
    text-transform: uppercase;
    padding: var(--space-2) var(--space-3);
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--ghost-light);
  }

  .submit-eyebrow {
    margin: 0 0 4px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: var(--track-label);
    text-transform: uppercase;
    color: var(--lime);
  }

  .submit-header {
    display: grid;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
  }

  .submit-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    flex-wrap: wrap;
  }

  .submission-badge {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: var(--track-label);
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 45, 155, 0.45);
    background: rgba(255, 45, 155, 0.1);
    color: #ffc8e6;
    max-width: 100%;
    text-align: right;
  }

  .story-starters {
    margin: 10px 0 12px;
  }

  .story-starters-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: var(--track-label);
    text-transform: uppercase;
    color: var(--ghost);
    margin-bottom: 8px;
  }

  .story-starters-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .story-starter {
    cursor: pointer;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--cream);
    font-family: var(--font-body);
    font-size: 12px;
    line-height: 1.3;
    padding: 8px 12px;
    transition:
      border-color 0.15s ease,
      background 0.15s ease,
      color 0.15s ease;
  }

  .story-starter:hover {
    border-color: rgba(213, 255, 47, 0.45);
    background: rgba(213, 255, 47, 0.08);
    color: var(--white);
  }

  .story-starter:focus-visible {
    outline: 2px solid var(--lime2);
    outline-offset: 2px;
  }

  .field-label {
    display: block;
    margin: 18px 0 8px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: var(--track-tight);
  }

  .submit-header + .field-label {
    margin-top: 8px;
  }

  .field-hint {
    margin: -4px 0 8px;
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.5;
    color: var(--ghost-light);
  }

  .submit-form-error {
    margin: 12px 0 0;
    padding: 11px 13px;
    border-radius: 12px;
    border: 1px solid rgba(255, 90, 120, 0.45);
    background: rgba(255, 45, 155, 0.1);
    color: #ffc8e6;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    line-height: 1.45;
  }

  .inline-validation.hint {
    color: var(--ghost-light);
    letter-spacing: 0.35px;
  }

  .submit-btn.is-loading {
    pointer-events: none;
    opacity: 0.88;
    animation: none;
  }

  .submit-title {
    margin: 2px 0 0;
    font-family: var(--font-display);
    font-size: clamp(30px, 8vw, 36px);
    letter-spacing: var(--track-tight);
    color: var(--white);
    line-height: 0.95;
  }

  .submit-copy {
    margin: 0;
    color: var(--ghost-light);
    font-size: 14px;
    line-height: 1.6;
  }

  .category-row {
    margin-bottom: 8px;
    gap: 8px;
  }

  .category-helper {
    margin-top: 0;
    margin-bottom: 8px;
    min-height: 18px;
    color: var(--ghost-light);
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    line-height: 1.4;
  }

  .category-guide {
    border: 1px solid rgba(255, 45, 155, 0.2);
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    margin-bottom: 10px;
    min-height: 64px;
    display: flex;
    align-items: center;
    transition: opacity 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
  }

  .category-guide-item {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0;
    display: grid;
    gap: 4px;
    align-items: start;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .category-guide-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
  }

  .category-guide-copy {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: var(--track-tight);
    color: var(--ghost-light);
    line-height: 1.45;
  }

  .cat-chip {
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    min-height: 44px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-body);
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--ghost-light);
    cursor: pointer;
    transition:
      border-color 0.15s ease,
      background 0.15s ease,
      color 0.15s ease,
      box-shadow 0.15s ease,
      transform 0.12s ease;
  }

  .cat-chip:hover {
    border-color: var(--border-strong);
    color: var(--white);
    background: var(--surface-overlay);
  }

  .cat-chip:active {
    transform: scale(0.99);
  }

  .cat-chip.active {
    box-shadow: 0 0 0 1px rgba(255, 45, 155, 0.25);
    border-color: rgba(255, 45, 155, 0.55);
    background: rgba(255, 45, 155, 0.12);
    color: var(--white);
  }

  .cat-chip:focus-visible,
  .cat-filter:focus-visible,
  .hero-cta:focus-visible,
  .submit-btn:focus-visible,
  .share-btn:focus-visible,
  .report-btn:focus-visible,
  .tab:focus-visible,
  .support-btn:focus-visible,
  .detail-link:focus-visible,
  .trust-links a:focus-visible,
  .footer-link:focus-visible {
    outline: 2px solid rgba(200, 255, 0, 0.9);
    outline-offset: 2px;
  }

  .browse-vibes {
    margin: 0 0 var(--section-stack-gap);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    scroll-margin-top: calc(90px + env(safe-area-inset-top));
  }

  .browse-vibes-head {
    margin-bottom: var(--space-3);
  }

  .browse-vibes-title {
    margin: 0 0 var(--space-2);
    font-family: var(--font-display);
    font-size: 28px;
    letter-spacing: var(--track-tight);
    color: var(--white);
    line-height: 1.05;
  }

  .browse-vibes-lead {
    margin: 0;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: var(--track-label);
    color: var(--ghost-light);
    line-height: 1.5;
    text-transform: uppercase;
  }

  .browse-vibes-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
  }

  .browse-vibe-chip {
    flex: 0 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface-raised);
    color: var(--cream);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: var(--track-label);
    text-transform: uppercase;
    text-decoration: none;
    transition:
      border-color 0.15s ease,
      background 0.15s ease,
      color 0.15s ease,
      transform 0.12s ease;
  }

  .browse-vibe-chip:hover {
    border-color: rgba(207, 255, 46, 0.4);
    color: var(--white);
    background: var(--surface-overlay);
  }

  .browse-vibe-chip:active {
    transform: scale(0.98);
  }

  .browse-vibe-chip.active {
    border-color: rgba(255, 45, 155, 0.55);
    background: rgba(255, 45, 155, 0.1);
    color: var(--white);
  }

  .browse-vibe-chip:focus-visible {
    outline: 2px solid rgba(200, 255, 0, 0.9);
    outline-offset: 2px;
  }

  @media (max-width: 480px) {
    .browse-vibes-title {
      font-size: 22px;
    }

    .browse-vibe-chip {
      font-size: 10px;
      min-height: 40px;
      padding: 8px 12px;
    }
  }

  .category-filters {
    margin-top: var(--space-3);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
  }

  .cat-filter {
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--ghost-light);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: var(--track-label);
    border-radius: 999px;
    min-height: 36px;
    padding: 7px 12px;
    cursor: pointer;
    transition:
      border-color 0.15s ease,
      background 0.15s ease,
      color 0.15s ease,
      transform 0.12s ease;
    white-space: nowrap;
  }

  .cat-filter:hover {
    border-color: var(--border-strong);
    color: var(--white);
    background: var(--surface-overlay);
  }

  .cat-filter:active {
    transform: scale(0.98);
  }

  .cat-filter.active {
    border-color: rgba(255, 45, 155, 0.5);
    background: rgba(255, 45, 155, 0.12);
    color: #fff;
  }

  textarea {
    min-height: 132px;
    max-height: 320px;
    resize: vertical;
    border-radius: var(--radius-md);
    padding: 16px;
    border: 1px solid var(--border-strong);
    background: var(--surface);
    color: var(--white);
    font-family: var(--font-body);
    scroll-margin-bottom: calc(180px + env(safe-area-inset-bottom) + var(--keyboard-offset));
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }

  textarea:focus {
    outline: none;
    border-color: rgba(207, 255, 46, 0.35);
    box-shadow: 0 0 0 3px rgba(207, 255, 46, 0.08);
  }

  textarea.valid {
    border-color: rgba(200, 255, 0, 0.45);
    box-shadow: 0 0 0 1px rgba(200, 255, 0, 0.2);
  }

  textarea.invalid {
    border-color: rgba(255, 45, 155, 0.55);
    box-shadow: 0 0 0 1px rgba(255, 45, 155, 0.25);
  }

  .inline-validation {
    margin-top: 6px;
    margin-bottom: 10px;
    min-height: 18px;
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.6px;
    color: var(--ghost);
  }

  .inline-validation.valid {
    color: var(--lime2);
  }

  .inline-validation.error {
    color: #ff7ac4;
  }

  .submit-footer {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px 12px;
    align-items: center;
    margin-top: 14px;
  }

  .submit-char-stack {
    min-width: 0;
  }

  .submit-char-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  .char-counter {
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--ghost-light);
    transition:
      color 0.2s ease,
      border-color 0.2s ease,
      background 0.2s ease;
  }

  .char-counter.char-counter--green {
    color: var(--lime2);
    border-color: rgba(142, 235, 42, 0.35);
    background: rgba(142, 235, 42, 0.08);
  }

  .char-counter.char-counter--chef {
    color: var(--white);
    border-color: rgba(255, 45, 155, 0.55);
    background: rgba(255, 45, 155, 0.12);
    box-shadow: 0 0 0 1px rgba(213, 255, 47, 0.15);
  }

  .char-counter.danger {
    color: var(--fire);
    border-color: rgba(255, 45, 155, 0.45);
    background: rgba(255, 45, 155, 0.08);
  }

  .char-counter-nudge {
    font-family: var(--font-body);
    font-size: 12px;
    font-style: italic;
    color: var(--lime2);
    min-height: 1.3em;
    opacity: 0.95;
  }

  .char-counter-nudge:empty {
    min-height: 0;
    opacity: 0;
  }

  .submit-btn {
    min-width: 170px;
    min-height: 46px;
    justify-content: center;
  }

  .submit-btn[disabled] {
    cursor: not-allowed;
    opacity: 0.5;
    box-shadow: none;
    animation: none;
    transform: none;
    background: var(--ghost);
    border-color: var(--border);
    color: rgba(255, 255, 255, 0.65);
  }

  .submit-success {
    margin-top: 12px;
    display: grid;
    gap: 6px;
    border: 1px solid rgba(200, 255, 0, 0.35);
    border-radius: 14px;
    padding: 14px 16px;
    background: rgba(200, 255, 0, 0.08);
  }

  .submit-success[hidden] {
    display: none !important;
  }

  .submit-success-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    letter-spacing: 0.6px;
    color: var(--lime);
    line-height: 1.1;
  }

  .submit-success-body {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: var(--cream);
  }

  .tea-share-block {
    position: relative;
    margin-top: 14px;
    display: grid;
    gap: 10px;
    justify-items: center;
    text-align: center;
  }

  .tea-share-label {
    margin: 0;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: var(--track-label);
    text-transform: uppercase;
    color: var(--ghost-light);
    width: 100%;
  }

  .tea-share-canvas {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    border: 0;
  }

  .tea-share-preview {
    display: block;
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 16px;
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-md);
  }

  .tea-share-download {
    cursor: pointer;
    border-radius: 999px;
    border: 1px solid rgba(213, 255, 47, 0.45);
    background: rgba(213, 255, 47, 0.12);
    color: var(--white);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: var(--track-label);
    text-transform: uppercase;
    padding: 10px 20px;
    transition:
      border-color 0.15s ease,
      background 0.15s ease;
  }

  .tea-share-download:hover {
    border-color: rgba(213, 255, 47, 0.65);
    background: rgba(213, 255, 47, 0.18);
  }

  .stats-bar {
    max-width: var(--layout-content-max);
    margin: 0 auto;
    padding-top: var(--section-stack-gap);
    padding-bottom: var(--section-stack-gap);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-3);
  }

  .stat-pill {
    min-height: 124px;
    display: grid;
    place-items: center;
    gap: var(--space-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    padding: var(--space-4);
    box-shadow: var(--shadow-sm);
  }

  .section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
    flex-wrap: wrap;
    padding-left: var(--space-4);
    border-left: 3px solid var(--lime);
  }

  .section-header h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(28px, 7vw, 36px);
    letter-spacing: var(--track-tight);
    color: var(--white);
    line-height: 0.98;
  }

  .section-kicker {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: var(--track-label);
    text-transform: uppercase;
    color: var(--fire2);
    opacity: 1;
    white-space: nowrap;
  }

  .preview-badge {
    max-width: var(--layout-content-max);
    margin: 0 auto var(--space-3);
    padding: 6px 12px;
    color: var(--lime);
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: var(--track-label);
    text-transform: uppercase;
    border: 1px dashed rgba(200, 255, 0, 0.35);
    border-radius: 999px;
    width: fit-content;
  }

  .feed-zone {
    padding-top: var(--space-6);
    margin-top: var(--space-2);
    border-top: 1px solid var(--border-faint);
    background: transparent;
  }

  .feed-eyebrow {
    margin: 0 0 var(--space-2);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--fire2);
    opacity: 1;
  }

  .feed-hint {
    margin: 0 0 16px;
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.55;
    color: var(--ghost-light);
    max-width: 36rem;
  }

  .discovery-wrap {
    margin: 0 0 14px;
  }

  .discovery-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 12px;
    margin-bottom: 8px;
  }

  .discovery-eyebrow {
    margin: 0;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ghost-light);
    opacity: 0.85;
  }

  .discovery-active-note {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    font-family: var(--font-body);
    font-size: 12px;
    line-height: 1.4;
    color: var(--lime);
  }

  .discovery-active-note[hidden] {
    display: none !important;
  }

  .discovery-clear {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 10px;
    min-height: 36px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--surface-overlay);
    color: var(--cream);
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
  }

  .discovery-clear:hover {
    border-color: rgba(255, 45, 155, 0.4);
    color: var(--white);
  }

  .discovery-rail {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 2px 10px;
    margin: 0 -4px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .discovery-rail::-webkit-scrollbar {
    height: 4px;
  }

  .discovery-chip {
    flex: 0 0 auto;
    scroll-snap-align: start;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 10px 14px;
    min-height: 40px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--ghost-light);
    cursor: pointer;
    white-space: nowrap;
    transition:
      transform 0.12s ease,
      background 0.15s ease,
      color 0.15s ease,
      border-color 0.15s ease;
  }

  .discovery-chip:hover {
    color: var(--white);
    background: var(--surface-overlay);
    border-color: rgba(255, 255, 255, 0.12);
  }

  .discovery-chip:active {
    transform: scale(0.98);
  }

  .discovery-chip.is-active {
    color: var(--white);
    border-color: rgba(255, 45, 155, 0.5);
    background: var(--surface-overlay);
    box-shadow: inset 0 0 0 1px rgba(207, 255, 46, 0.1);
  }

  .binge-bar {
    margin: 2px 0 18px;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
  }

  .binge-bar-inner {
    display: grid;
    gap: 8px;
  }

  .binge-streak-line {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.04em;
    color: var(--lime);
  }

  .binge-progress-track {
    height: 6px;
    border-radius: 99px;
    background: #1a1a1a;
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.45);
  }

  .binge-progress-fill {
    display: block;
    height: 100%;
    width: 0%;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--fire), var(--lime));
    transition: width 0.35s ease;
  }

  .binge-meta {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    color: var(--ghost-light);
    line-height: 1.45;
  }

  .feed-loading {
    display: grid;
    gap: 14px;
  }

  .feed-loading-text {
    margin: 0;
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.04em;
    color: var(--ghost-light);
    animation: feedLoadingPulse 1.2s ease-in-out infinite alternate;
  }

  @keyframes feedLoadingPulse {
    from { opacity: 0.55; }
    to { opacity: 1; }
  }

  .post-detail-section,
  .featured-section,
  .lane-section,
  .ad-slot-region--above-feed,
  .feed-controls {
    max-width: var(--layout-content-max);
    margin: 0 auto;
    padding-bottom: var(--section-stack-gap);
    scroll-margin-top: calc(90px + env(safe-area-inset-top));
  }

  .post-detail-section {
    padding-top: var(--space-2);
  }

  .featured-card {
    border: 1px solid var(--border-strong);
    background: var(--surface-raised);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    box-shadow: var(--shadow-sm);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }

  .featured-card:hover {
    border-color: rgba(255, 45, 155, 0.25);
  }

  .featured-meta {
    display: flex;
    justify-content: space-between;
    gap: var(--space-3);
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    color: var(--ghost-light);
  }

  .featured-story {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: var(--cream);
  }

  .featured-link {
    align-self: flex-start;
    text-decoration: none;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    min-height: 44px;
    padding: 10px 16px;
    display: inline-flex;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: var(--track-label);
    text-transform: uppercase;
    color: var(--cream);
    transition:
      border-color 0.15s ease,
      color 0.15s ease,
      background 0.15s ease;
  }

  .featured-link:hover {
    border-color: rgba(255, 45, 155, 0.45);
    color: var(--white);
    background: rgba(255, 45, 155, 0.08);
  }

  .detail-card {
    border: 1px solid rgba(255, 45, 155, 0.35);
    border-radius: var(--radius-xl);
    background: var(--surface-raised);
    padding: 20px;
    box-shadow: var(--shadow-md);
    display: grid;
    gap: 14px;
  }

  .detail-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    color: var(--ghost-light);
  }

  .detail-meta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
  }

  .detail-pill,
  .detail-status {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    border-radius: 999px;
    padding: 5px 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
  }

  .detail-story {
    margin: 0;
    color: var(--cream);
    font-size: clamp(17px, 3.8vw, 22px);
    line-height: 1.7;
  }

  .detail-summary {
    display: grid;
    gap: 8px;
  }

  .detail-score {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(34px, 7vw, 56px);
    line-height: 0.95;
    color: var(--fire);
  }

  .detail-subcopy {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    line-height: 1.6;
    color: var(--ghost-light);
  }

  .detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .detail-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: var(--surface);
    color: var(--white);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: var(--track-label);
    text-transform: uppercase;
    transition:
      border-color 0.15s ease,
      background 0.15s ease,
      transform 0.12s ease;
  }

  .detail-link:hover {
    border-color: rgba(255, 45, 155, 0.4);
    background: var(--surface-overlay);
  }

  .detail-link:active {
    transform: scale(0.99);
  }

  .detail-link.primary {
    border-color: rgba(255, 45, 155, 0.55);
    background: rgba(255, 45, 155, 0.14);
  }

  .detail-link.primary:hover {
    background: rgba(255, 45, 155, 0.22);
  }

  .detail-link.secondary {
    color: var(--ghost-light);
  }

  .detail-missing {
    border-color: rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, rgba(21, 21, 21, 0.98) 0%, rgba(13, 13, 13, 0.98) 100%);
  }

  .lane-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .lane {
    border: 1px solid #232323;
    border-radius: 14px;
    background: #121212;
    padding: 14px;
  }

  .lane h3 {
    margin: 0 0 10px;
    font-family: 'Bebas Neue', sans-serif;
    color: var(--lime);
    font-size: 20px;
    letter-spacing: 0.8px;
  }

  .lane-list {
    display: grid;
    gap: 8px;
  }

  .lane-item {
    border: 1px solid #252525;
    border-radius: 10px;
    padding: 10px;
    background: #171717;
    text-decoration: none;
    display: grid;
    color: inherit;
    transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease;
  }

  .lane-item:hover {
    border-color: rgba(255, 45, 155, 0.35);
    transform: translateY(-1px);
    background: #191919;
  }

  .lane-item-top {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    color: var(--ghost-light);
  }

  .lane-item-story {
    margin: 0;
    color: var(--cream);
    font-size: 12px;
    line-height: 1.5;
  }

  .feed-controls .feed-tabs {
    max-width: none;
    margin: 0;
    padding: 6px;
    border-bottom: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 6px;
    align-items: stretch;
  }

  .feed-controls .feed-tabs .tab {
    flex: 1 1 0;
    min-width: 0;
  }

  .tab {
    flex: 1;
    font-family: var(--font-mono);
    font-weight: 600;
    letter-spacing: var(--track-label);
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid transparent;
    color: var(--ghost-light);
    font-size: 11px;
    background: transparent;
    cursor: pointer;
    transition:
      transform 0.12s ease,
      background 0.15s ease,
      color 0.15s ease,
      border-color 0.15s ease;
  }

  .tab:hover:not([disabled]):not(.active) {
    color: var(--white);
    background: var(--surface-overlay);
  }

  .tab:active:not([disabled]) {
    transform: scale(0.98);
  }

  .tab.active {
    background: var(--surface-overlay);
    color: var(--white);
    border: 1px solid rgba(255, 45, 155, 0.45);
    box-shadow: inset 0 0 0 1px rgba(207, 255, 46, 0.12);
  }

  .tab[disabled] {
    cursor: not-allowed;
    opacity: 0.45;
  }

  .feed {
    max-width: var(--layout-content-max);
    min-height: 240px;
    padding-top: var(--space-3);
    padding-bottom: max(52px, calc(var(--space-6) + env(safe-area-inset-bottom)));
    gap: var(--space-3);
  }

  .feed-skeleton {
    display: grid;
    gap: 14px;
  }

  .skeleton-card {
    height: 196px;
    border-radius: 18px;
    border: 1px solid rgba(255, 45, 155, 0.12);
    background: linear-gradient(110deg, #151515 8%, #1e1e1e 18%, #151515 33%);
    background-size: 200% 100%;
    animation: shimmer 1.05s linear infinite;
  }

  .skeleton-card:nth-child(2) {
    height: 220px;
    animation-duration: 1.15s;
  }

  .skeleton-card:nth-child(3) {
    height: 188px;
    animation-duration: 1.08s;
  }

  @keyframes shimmer {
    to { background-position-x: -200%; }
  }

  .card-story {
    font-style: normal;
    margin-bottom: 14px;
    font-size: 15px;
    line-height: 1.62;
  }

  .card-story::before,
  .card-story::after {
    content: '';
  }

  .drama-card {
    border-radius: var(--radius-lg);
    padding: 18px;
    display: grid;
    gap: 12px;
    position: relative;
    overflow: visible;
    border: 1px solid var(--border-strong);
    background: var(--surface);
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.25s ease;
    animation: slideIn 0.45s ease backwards;
    animation-delay: var(--card-stagger, 0s);
    content-visibility: auto;
    contain-intrinsic-size: auto 300px;
  }

  .card-accent {
    position: absolute;
    top: 0;
    left: 18px;
    right: 18px;
    height: 3px;
    border-radius: 0 0 6px 6px;
    background: linear-gradient(90deg, var(--fire), var(--lime));
    opacity: 0.9;
  }

  .drama-card:hover {
    border-color: rgba(255, 45, 155, 0.4);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
  }

  .drama-card.is-drama {
    border-color: rgba(255, 45, 155, 0.42);
    box-shadow: 0 0 0 1px rgba(255, 45, 155, 0.12), var(--shadow-sm);
  }

  .drama-card.is-drama .card-accent {
    opacity: 1;
    box-shadow: 0 2px 14px rgba(255, 45, 155, 0.35);
  }

  .card-queue {
    margin: 0;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: var(--track-label);
    text-transform: uppercase;
    color: var(--ghost);
  }

  .verdict-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    background: var(--surface-raised);
    border: 1px solid var(--border);
  }

  .verdict-strip-label {
    font-family: var(--font-display);
    font-size: 18px;
    letter-spacing: var(--track-tight);
    color: var(--white);
  }

  .verdict-strip-pct {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--lime);
    letter-spacing: var(--track-tight);
    text-align: right;
    line-height: 1.45;
    max-width: 62%;
  }

  .verdict-strip {
    align-items: flex-start;
  }

  .card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 2px 0 2px;
  }

  .card-badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 11px;
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: var(--track-label);
    text-transform: uppercase;
    border: 1px solid var(--border);
    background: var(--surface-overlay);
    color: var(--cream);
  }

  .card-badge--featured {
    border-color: rgba(200, 255, 0, 0.45);
    color: var(--lime);
    background: rgba(200, 255, 0, 0.08);
  }

  .card-badge--hot {
    border-color: rgba(255, 45, 155, 0.55);
    color: var(--fire2);
    background: rgba(255, 45, 155, 0.1);
  }

  .card-badge--trending {
    border-color: rgba(255, 180, 100, 0.4);
    color: #ffcc88;
    background: rgba(255, 140, 80, 0.08);
  }

  .card-badge--messy {
    border-color: rgba(180, 160, 255, 0.35);
    color: #cfc4ff;
    background: rgba(140, 120, 255, 0.08);
  }

  .card-badge--sample {
    border-color: #3a3a3a;
    color: var(--ghost);
  }

  .card-story-wrap {
    margin: 0;
    padding: 14px 0 2px;
    border-top: 1px solid var(--border-faint);
  }

  .vote-zone-label {
    margin: 0 0 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: var(--track-label);
    text-transform: uppercase;
    color: var(--ghost-light);
  }

  .vote-btn {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    align-content: start;
    min-height: 104px;
    padding: 12px 12px 14px;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: 1px solid var(--border-strong);
    background: var(--surface-raised);
    transition:
      border-color 0.15s ease,
      background 0.15s ease,
      transform 0.12s ease,
      box-shadow 0.15s ease;
  }

  .vote-btn:hover:not(:disabled) {
    transform: translateY(-1px);
  }

  .vote-btn:active:not(:disabled) {
    transform: translateY(0) scale(0.99);
  }

  .vote-btn.drama-btn:hover:not(:disabled) {
    border-color: rgba(255, 45, 155, 0.45);
    background: rgba(255, 45, 155, 0.08);
    box-shadow: 0 8px 24px rgba(255, 45, 155, 0.12);
  }

  .vote-btn--nah:hover:not(:disabled) {
    border-color: rgba(255, 255, 255, 0.22);
    background: var(--surface-overlay);
  }

  .vote-btn-eyebrow {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: var(--track-label);
    text-transform: uppercase;
    color: var(--ghost);
    margin: 0;
  }

  .vote-btn-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
  }

  .vote-btn .vote-label {
    flex: none;
    margin: 0;
    font-size: 12px;
    line-height: 1.35;
    color: var(--ghost-light);
    font-family: var(--font-body);
  }

  .vote-btn.drama-btn .vote-btn-eyebrow {
    color: rgba(255, 45, 155, 0.85);
  }

  .vote-btn--nah .vote-btn-eyebrow {
    color: #9a9a9a;
  }

  .vote-btn.voted-drama .vote-btn-title {
    color: var(--fire2);
  }

  .card-voted {
    border-color: rgba(255, 255, 255, 0.14) !important;
  }

  .card-voted .vote-zone-label {
    color: var(--lime);
    letter-spacing: 0.12em;
  }

  .card-vote-result {
    margin: 12px 0 0;
    padding: 10px 12px;
    border-radius: 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    line-height: 1.45;
    color: var(--cream);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    animation: voteResultIn 0.45s ease;
  }

  .card-vote-result strong {
    font-weight: 700;
    color: var(--white);
  }

  .card-vote-result--drama {
    border-color: rgba(255, 45, 155, 0.35);
    background: rgba(255, 45, 155, 0.08);
  }

  .card-vote-result--nah {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
  }

  @keyframes voteResultIn {
    from {
      opacity: 0;
      transform: translateY(6px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .card-vote-flash.card-vote-flash--drama {
    animation: voteFlashDrama 1s ease;
  }

  .card-vote-flash.card-vote-flash--nah {
    animation: voteFlashNah 1s ease;
  }

  @keyframes voteFlashDrama {
    0%,
    100% {
      filter: brightness(1);
      box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    }
    35% {
      filter: brightness(1.06);
      box-shadow:
        0 0 0 2px rgba(255, 45, 155, 0.45),
        0 20px 48px rgba(255, 45, 155, 0.22);
    }
  }

  @keyframes voteFlashNah {
    0%,
    100% {
      filter: brightness(1);
      box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    }
    35% {
      filter: brightness(1.05);
      box-shadow:
        0 0 0 2px rgba(210, 210, 220, 0.35),
        0 18px 44px rgba(160, 160, 180, 0.12);
    }
  }

  .drama-card--spotlight {
    animation: cardSpotlight 1.05s ease;
  }

  @keyframes cardSpotlight {
    0%,
    100% {
      transform: translateY(0);
      box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    }
    45% {
      transform: translateY(-3px);
      box-shadow:
        0 0 0 2px rgba(200, 255, 0, 0.28),
        0 22px 52px rgba(255, 45, 155, 0.14);
    }
  }

  .interaction-placeholder {
    min-width: 8px;
    min-height: 1px;
  }

  .interaction-label {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    color: var(--ghost-light);
    text-transform: uppercase;
    letter-spacing: var(--track-label);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 5px 10px;
    background: var(--surface-raised);
  }

  .vote-section .share-row {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
  }

  .drama-card .card-story-wrap .card-story {
    margin: 0;
    font-size: clamp(15px, 3.9vw, 17px);
    line-height: 1.68;
    letter-spacing: 0.01em;
    color: #f2e8f0;
  }

  .card-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
  }

  .share-btn,
  .report-btn {
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: var(--track-label);
    text-transform: uppercase;
    border: 1px solid var(--border);
    background: var(--surface-raised);
    color: var(--cream);
    cursor: pointer;
    transition:
      border-color 0.15s ease,
      background 0.15s ease,
      color 0.15s ease,
      transform 0.12s ease;
  }

  .share-btn:hover,
  .report-btn:hover {
    border-color: var(--border-strong);
    color: var(--white);
    background: var(--surface-overlay);
  }

  .share-btn:active,
  .report-btn:active {
    transform: scale(0.98);
  }

  .open-btn {
    border-color: rgba(255, 45, 155, 0.45);
    color: var(--white);
    background: rgba(255, 45, 155, 0.1);
  }

  .open-btn:hover {
    border-color: rgba(255, 45, 155, 0.65);
    background: rgba(255, 45, 155, 0.18);
  }

  .empty-state {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    padding: 30px 22px;
    color: var(--ghost-light);
    line-height: 1.6;
    box-shadow: var(--shadow-sm);
  }

  .empty-headline {
    margin: 0 0 8px;
    color: var(--white);
    font-size: 23px;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.8px;
  }

  .empty-subtext {
    margin: 0;
    font-size: 13px;
    font-family: 'DM Sans', sans-serif;
  }

  .empty-state .empty-cta {
    margin-top: 16px;
  }

  .empty-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
    align-items: center;
  }

  .empty-cta-row .empty-cta {
    margin-top: 0;
  }

  .empty-state--error .empty-headline {
    color: var(--fire2);
  }

  .carousel-title {
    text-transform: none;
    color: var(--white);
  }

  .roast-card {
    text-decoration: none;
    color: inherit;
  }

  .roast-card:hover {
    border-color: rgba(255, 45, 155, 0.3);
  }

  .how-grid {
    display: grid;
    gap: 10px;
  }

  .how-step {
    border: 1px solid #252525;
    background: #121212;
    border-radius: 12px;
    padding: 12px;
  }

  .how-step h3 {
    margin: 0 0 6px;
    font-size: 16px;
    font-family: 'Bebas Neue', sans-serif;
    color: var(--lime);
    letter-spacing: 0.5px;
  }

  .how-step p {
    margin: 0;
    font-size: 13px;
  }

  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
  }

  .trust-section {
    max-width: var(--layout-content-max);
    margin: 0 auto;
    padding-top: var(--space-2);
    padding-bottom: var(--space-3);
    scroll-margin-top: calc(90px + env(safe-area-inset-top));
  }

  .trust-grid {
    display: grid;
    gap: 12px;
  }

  .trust-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    padding: 20px;
    display: grid;
    gap: 12px;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.2s ease;
  }

  .trust-card:hover {
    border-color: var(--border-strong);
  }

  .trust-card h3 {
    margin: 0;
    font-family: var(--font-display);
    color: var(--lime);
    font-size: 24px;
    letter-spacing: var(--track-tight);
    line-height: 1;
  }

  .trust-card p {
    margin: 0;
    color: var(--ghost-light);
    font-size: 14px;
    line-height: 1.65;
  }

  .trust-list {
    margin: 0;
    padding-left: 18px;
    color: var(--ghost-light);
    font-size: 13px;
    line-height: 1.65;
  }

  .trust-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  .trust-links a {
    color: var(--lime);
    font-family: var(--font-mono);
    font-size: 10px;
    text-decoration: none;
    letter-spacing: var(--track-label);
    text-transform: uppercase;
    transition: color 0.15s ease;
  }

  .trust-links a:hover {
    color: var(--lime2);
  }

  .support-buttons {
    justify-content: flex-start;
  }

  .support-btn {
    min-height: 40px;
    border-radius: 999px;
    padding: 10px 16px;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: var(--track-label);
    text-transform: uppercase;
    border: 1px solid var(--border-strong);
    background: var(--surface-raised);
    color: var(--cream);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition:
      border-color 0.15s ease,
      background 0.15s ease,
      color 0.15s ease,
      transform 0.12s ease;
  }

  .support-btn:hover {
    border-color: rgba(207, 255, 46, 0.35);
    color: var(--white);
    background: var(--surface-overlay);
  }

  .support-btn:active {
    transform: scale(0.99);
  }

  .footer {
    max-width: var(--layout-content-max);
    padding-top: var(--space-6);
    padding-bottom: max(48px, calc(var(--space-6) + env(safe-area-inset-bottom)));
    text-align: left;
  }

  .footer-links {
    justify-content: flex-start;
    gap: 14px;
    margin-bottom: 14px;
  }

  .footer-email {
    margin-bottom: 12px;
  }

  .footer-disclaimer {
    max-width: none;
    line-height: 1.8;
  }

  .footer-copyright {
    margin-top: 14px;
  }

  .modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    padding:
      calc(20px + env(safe-area-inset-top))
      max(20px, env(safe-area-inset-right))
      calc(20px + env(safe-area-inset-bottom) + var(--keyboard-offset))
      max(20px, env(safe-area-inset-left));
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(10px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
  }

  .modal-shell {
    position: relative;
    width: min(100%, 430px);
    max-height: min(calc(var(--app-height) - 32px), 760px);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-strong);
    background: var(--surface-raised);
    padding: 24px 18px 18px;
    box-shadow: var(--shadow-md);
    overflow-y: auto;
  }

  .modal-shell.wide {
    width: min(100%, 640px);
    max-height: min(calc(var(--app-height) - 32px), 760px);
  }

  .modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--ghost-light);
    font-size: 16px;
    cursor: pointer;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition:
      border-color 0.15s ease,
      background 0.15s ease,
      color 0.15s ease;
  }

  .modal-close:hover {
    border-color: var(--border-strong);
    color: var(--white);
    background: var(--surface-overlay);
  }

  .modal-title {
    margin: 0 28px 8px 0;
    font-family: var(--font-display);
    font-size: 28px;
    letter-spacing: var(--track-tight);
    color: var(--fire);
    line-height: 0.95;
  }

  .modal-subcopy {
    margin: 0 28px 16px 0;
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.55;
    color: var(--ghost-light);
  }

  .share-modal-url-row {
    margin: 0 28px 14px 0;
  }

  .share-modal-url-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: var(--track-label);
    text-transform: uppercase;
    color: var(--ghost);
    margin-bottom: 6px;
  }

  .share-modal-url-line {
    display: flex;
    gap: 8px;
    align-items: stretch;
  }

  .share-modal-url {
    flex: 1;
    min-width: 0;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--surface-raised);
    color: var(--cream);
    font-family: var(--font-mono);
    font-size: 11px;
    padding: 10px 12px;
  }

  .share-modal-url-copy {
    flex-shrink: 0;
    border-radius: 10px;
    border: 1px solid rgba(255, 45, 155, 0.45);
    background: rgba(255, 45, 155, 0.12);
    color: var(--white);
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: var(--track-label);
    text-transform: uppercase;
    padding: 0 14px;
    cursor: pointer;
    transition:
      border-color 0.15s ease,
      background 0.15s ease;
  }

  .share-modal-url-copy:hover {
    border-color: rgba(255, 45, 155, 0.65);
    background: rgba(255, 45, 155, 0.2);
  }

  .vote-share-nudge {
    margin-top: 12px;
    margin-bottom: 2px;
  }

  .vote-share-nudge-btn {
    width: 100%;
    border-radius: 999px;
    border: 1px dashed rgba(213, 255, 47, 0.35);
    background: rgba(213, 255, 47, 0.06);
    color: var(--cream);
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: var(--track-label);
    text-transform: uppercase;
    padding: 10px 14px;
    cursor: pointer;
    transition:
      border-color 0.15s ease,
      background 0.15s ease,
      color 0.15s ease;
  }

  .vote-share-nudge-btn:hover {
    border-color: rgba(213, 255, 47, 0.55);
    background: rgba(213, 255, 47, 0.1);
    color: var(--white);
  }

  .modal-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 12px;
  }

  .modal-copy {
    text-align: center;
    font-size: 11px;
    color: var(--ghost);
    margin-top: 14px;
    font-family: 'Space Mono', monospace;
  }

  .legal-copy {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    color: var(--ghost-light);
    line-height: 1.8;
  }

  .legal-copy p {
    margin-bottom: 12px;
  }

  body.keyboard-open .submit-section {
    padding-bottom: calc(18px + var(--keyboard-offset));
  }

  body.keyboard-open .modal-overlay {
    align-items: flex-start;
  }

  body.keyboard-open .modal-shell {
    margin-top: 0;
  }

  body.form-focus-active .hero-shell {
    padding-bottom: calc(var(--space-4) + var(--keyboard-offset));
  }

  body.native-shell .site-header {
    backdrop-filter: blur(10px);
  }

  @media (max-width: 720px) {
    .hero-cta {
      min-height: 48px;
      padding: 14px 20px;
    }

    .feed-controls .feed-tabs {
      position: sticky;
      top: var(--sticky-feed-tabs-top);
      z-index: 95;
      padding: 8px;
      margin-top: 4px;
      background: rgba(6, 5, 8, 0.92);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      box-shadow: var(--shadow-md);
      border-color: var(--border-strong);
    }

    .category-filters {
      flex-wrap: nowrap;
      overflow-x: auto;
      overflow-y: hidden;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      padding-bottom: 8px;
      margin-top: 6px;
      gap: 8px;
    }

    .category-filters::-webkit-scrollbar {
      display: none;
    }

    .cat-filter {
      flex: 0 0 auto;
    }

    textarea {
      font-size: 16px;
      line-height: 1.5;
    }

    .vote-section .share-row {
      flex-direction: column;
      align-items: stretch;
      gap: 12px;
    }

    .vote-section .share-row .card-actions {
      width: 100%;
      justify-content: space-between;
      gap: 8px;
    }

    .vote-section .share-row .share-btn,
    .vote-section .share-row .report-btn {
      min-height: 44px;
      padding: 10px 12px;
      font-size: 11px;
    }

    .drama-card .vote-buttons {
      gap: 10px;
    }

    .footer-explore .footer-link {
      min-height: 40px;
      padding: 6px 10px;
      display: inline-flex;
      align-items: center;
    }
  }

  @media (max-width: 760px) {
    .header-inner {
      min-height: 0;
      align-items: center;
      column-gap: var(--space-5);
      row-gap: var(--space-3);
    }
    .header-meta {
      justify-content: flex-end;
      gap: var(--space-3);
    }
    .hero-bridge-actions {
      grid-template-columns: 1fr;
    }
  }

  /* === RESPONSIVE === */
  @media (max-width: 480px) {
    :root {
      --hero-card-pad-top: var(--space-5);
      --hero-card-pad-bottom: calc(var(--space-5) + var(--space-1));
      --hero-card-pad-inline-start: calc(var(--space-4) + var(--space-1));
      --hero-card-pad-inline-end: calc(var(--space-4) + var(--space-1));
      --header-hero-gap: var(--space-3);
    }
    .site-header {
      padding-top: calc(var(--space-3) + env(safe-area-inset-top));
      padding-bottom: 0;
    }
    .header-inner {
      border-radius: 14px;
      padding: var(--space-3) var(--hero-card-pad-inline-start);
      align-items: center;
      column-gap: var(--space-4);
      row-gap: var(--space-3);
    }
    .header-inner .logo-img {
      height: 42px;
      max-width: 168px;
    }
    .header-inner .logo-text {
      font-size: 24px;
    }
    .header-inner .logo-text .tagline {
      font-size: 8px;
      letter-spacing: 0.8px;
    }
    .header-nav-link {
      padding: 0 10px;
      font-size: 10px;
      letter-spacing: 0.35px;
      min-height: 44px;
      line-height: 1.15;
    }
    .header-live {
      min-height: 44px;
      font-size: 9px;
      letter-spacing: 0.7px;
      padding: 0 var(--space-3);
      line-height: 1.15;
    }
    .hero-copy {
      border-radius: 20px;
    }
    .hero h1 { font-size: 46px; }
    .stats-bar { gap: 8px; }
    .stat-pill {
      min-height: 100px;
      padding: 12px 10px;
    }
    .stat-number { font-size: 38px; }
    .carousel-title { font-size: 20px; }
    .roast-card { width: 220px; min-height: 128px; }
    .hero-actions {
      flex-direction: column;
      align-items: stretch;
    }
    .hero-cta {
      width: 100%;
    }
    .hero-proof-card {
      padding: var(--space-3);
    }
    .hero-highlights span {
      width: auto;
      justify-content: flex-start;
    }
    .section-header {
      align-items: flex-start;
      flex-direction: column;
    }
    .lane-grid {
      grid-template-columns: 1fr;
    }
    .feed-controls .feed-tabs {
      display: flex;
      flex-direction: row;
      flex-wrap: nowrap;
      gap: 6px;
    }
    .feed-controls .feed-tabs .tab {
      flex: 1 1 0;
      min-width: 0;
    }
    .submit-btn {
      width: 100%;
    }
    .submit-footer {
      grid-template-columns: 1fr;
    }
    .submit-card {
      padding: var(--space-4) var(--hero-card-pad-inline-end) var(--space-4)
        var(--hero-card-pad-inline-start);
    }
    .detail-card,
    .trust-card {
      padding: 16px;
    }
    .detail-actions {
      flex-direction: column;
    }
    .detail-link {
      width: 100%;
    }
    .modal-overlay {
      padding: 12px;
    }
    .modal-shell {
      padding: 22px 14px 14px;
    }
    .modal-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .vote-buttons {
      gap: 6px;
    }
    .vote-btn {
      min-height: 108px;
      padding: 12px 10px 14px;
      gap: 5px;
    }
    .vote-pct {
      font-size: 22px;
    }
    .vote-label {
      font-size: 11px;
    }
    .verdict-strip-pct {
      max-width: 100%;
      text-align: left;
    }
    .verdict-strip {
      flex-direction: column;
      align-items: flex-start;
      gap: 6px;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .submit-btn,
    .stat-number::before,
    .stat-number::after,
    .floating-emoji {
      animation: none !important;
    }

    .carousel-track {
      animation: none !important;
    }

    .drama-card {
      animation: none !important;
    }

    .feed-loading-text {
      animation: none !important;
    }

    .drama-card:hover {
      transform: none;
    }

    .card-vote-result,
    .card-vote-flash.card-vote-flash--drama,
    .card-vote-flash.card-vote-flash--nah,
    .drama-card--spotlight {
      animation: none !important;
    }

    .binge-progress-fill {
      transition: none;
    }

    .drama-card--spotlight {
      transform: none;
    }
  }

  /* === DISPLAY AD SLOTS (homepage) === */
  .ad-slot-region--above-feed {
    padding-top: var(--space-2);
    padding-bottom: 0;
  }

  .ad-slot-region--above-feed .ad-slot {
    margin-bottom: 0;
  }

  .home-feed-layout {
    width: 100%;
  }

  .home-feed-main {
    min-width: 0;
  }

  .home-feed-sidebar {
    display: none;
  }

  .home-feed-sidebar-sticky {
    position: sticky;
    top: var(--sticky-feed-tabs-top);
    padding-bottom: var(--space-4);
  }

  .ad-slot {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-height: 90px;
    border-radius: var(--radius-md);
    border: 1px dashed rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .ad-slot--inline {
    min-height: 100px;
  }

  .home-feed-sidebar .ad-slot {
    min-height: 250px;
  }

  .ad-feed-inline-wrap {
    width: 100%;
    max-width: 100%;
    margin: var(--space-2) 0;
  }

  .ad-sponsored-label {
    margin: 0 0 6px;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ghost-light);
    opacity: 0.9;
  }

  @media (min-width: 1024px) {
    .home-feed-layout {
      display: grid;
      grid-template-columns: minmax(0, var(--layout-content-max)) min(300px, 30vw);
      gap: var(--space-5);
      max-width: calc(var(--layout-content-max) + var(--space-5) + min(300px, 30vw));
      margin-left: max(
        var(--space-4),
        env(safe-area-inset-left, 0px),
        calc(50% - var(--layout-content-max) / 2)
      );
      margin-right: auto;
      align-items: start;
    }

    .home-feed-sidebar {
      display: block;
      padding-right: max(var(--space-4), env(safe-area-inset-right));
    }

    .home-feed-main .feed-controls,
    .home-feed-main .feed,
    .home-feed-main .preview-badge {
      margin-left: 0;
      margin-right: 0;
    }
  }

  .merch-feed-card {
    border-color: rgba(207, 255, 46, 0.35);
    background: linear-gradient(145deg, var(--surface) 0%, rgba(207, 255, 46, 0.06) 55%, rgba(255, 45, 155, 0.05) 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 45, 155, 0.08);
  }

  .merch-feed-accent {
    background: linear-gradient(180deg, var(--lime), rgba(255, 45, 155, 0.75)) !important;
    opacity: 0.95;
  }

  .merch-feed-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
  }

  .merch-feed-eyebrow {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ghost-light);
  }

  .merch-feed-badge {
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #0a0a0a;
    background: rgba(207, 255, 46, 0.88);
    border: 1px solid rgba(207, 255, 46, 0.95);
    border-radius: 999px;
    padding: 4px 10px;
  }

  .merch-feed-body {
    display: grid;
    grid-template-columns: minmax(0, 120px) minmax(0, 1fr);
    gap: var(--space-4);
    align-items: center;
  }

  @media (max-width: 520px) {
    .merch-feed-body {
      grid-template-columns: 1fr;
      justify-items: center;
      text-align: center;
    }

    .merch-feed-top {
      width: 100%;
    }

    .merch-feed-text {
      align-items: center;
    }
  }

  .merch-feed-visual {
    border-radius: var(--radius-md);
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border);
    overflow: hidden;
    aspect-ratio: 1;
    max-width: 140px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .merch-feed-img {
    width: 88%;
    height: 88%;
    object-fit: contain;
    animation: merchFeedNudge 14s ease-in-out infinite;
  }

  @keyframes merchFeedNudge {
    0%,
    100% {
      transform: rotate(-2deg) scale(1);
    }
    33% {
      transform: rotate(3deg) scale(1.02);
    }
    66% {
      transform: rotate(-1deg) scale(1.01);
    }
  }

  .merch-feed-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    min-width: 0;
  }

  .merch-feed-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(18px, 4.5vw, 22px);
    letter-spacing: var(--track-tight);
    color: var(--white);
    line-height: 1.15;
  }

  .merch-feed-sub {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: var(--ghost-light);
  }

  .merch-feed-cta {
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    color: #0a0a0a;
    background: rgba(207, 255, 46, 0.92);
    border: 1px solid rgba(255, 45, 155, 0.4);
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(207, 255, 46, 0.15);
    transition: background 0.15s ease, border-color 0.15s ease;
  }

  .merch-feed-cta:hover {
    background: var(--lime);
    border-color: rgba(255, 45, 155, 0.55);
  }

  @media (prefers-reduced-motion: reduce) {
    .merch-feed-img {
      animation: none;
    }
  }

  .newsletter-feed-card {
    border-color: rgba(255, 45, 155, 0.28);
    background: linear-gradient(160deg, var(--surface) 0%, rgba(255, 45, 155, 0.05) 50%, rgba(207, 255, 46, 0.05) 100%);
  }

  .newsletter-feed-accent {
    background: linear-gradient(180deg, rgba(255, 45, 155, 0.85), var(--lime)) !important;
    opacity: 0.9;
  }

  .newsletter-feed-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
  }

  .newsletter-feed-eyebrow {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ghost-light);
  }

  .newsletter-feed-badge {
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cream);
    background: rgba(255, 45, 155, 0.2);
    border: 1px solid rgba(255, 45, 155, 0.45);
    border-radius: 999px;
    padding: 4px 10px;
  }

  .newsletter-feed-lead {
    margin-bottom: var(--space-3);
  }

  .newsletter-feed-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  @media (min-width: 480px) {
    .newsletter-feed-form {
      flex-direction: row;
      align-items: stretch;
      flex-wrap: wrap;
    }

    .newsletter-feed-form .newsletter-input {
      flex: 1 1 200px;
      min-width: 0;
    }

    .newsletter-feed-form .newsletter-submit {
      flex: 0 0 auto;
    }
  }

  .newsletter-input {
    width: 100%;
    box-sizing: border-box;
    min-height: 44px;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-strong);
    background: var(--surface-overlay);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 15px;
  }

  .newsletter-input::placeholder {
    color: var(--ghost);
  }

  .newsletter-input:focus {
    outline: none;
    border-color: rgba(207, 255, 46, 0.55);
    box-shadow: 0 0 0 2px rgba(207, 255, 46, 0.12);
  }

  .newsletter-submit {
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(207, 255, 46, 0.55);
    background: rgba(207, 255, 46, 0.88);
    color: #0a0a0a;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
  }

  .newsletter-submit:hover {
    background: var(--lime);
    border-color: var(--lime);
  }

  .newsletter-submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
  }

  .newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
  }

  .newsletter-exit-shell .newsletter-form {
    margin-top: 0;
  }

  @media (min-width: 400px) {
    .newsletter-exit-shell .newsletter-form {
      flex-direction: row;
      align-items: stretch;
    }

    .newsletter-exit-shell .newsletter-input {
      flex: 1;
      min-width: 0;
    }

    .newsletter-exit-shell .newsletter-submit {
      flex: 0 0 auto;
    }
  }

  .newsletter-form-status {
    margin: 10px 0 0;
    font-size: 12px;
    color: var(--fire2);
    min-height: 1.2em;
  }

  .newsletter-feed-status {
    margin-top: 10px;
    margin-bottom: 0;
  }

  .newsletter-exit-copy {
    margin-bottom: 14px;
  }

  @media (max-width: 1023px) {
    .newsletter-exit-modal {
      display: none !important;
    }
  }

