  /* Comments button on card */
  .comments-btn {
    padding: 5px 12px; background: none; border: 1px solid #3d3466;
    border-radius: 4px; color: #ffffff; font-size: 10px; cursor: pointer;
    font-family: 'Sohne', sans-serif; font-weight: 400; transition: all 0.2s;
    display: inline-flex; align-items: center;
  }
  .comments-btn:hover { border-color: #8b5cf6; background: rgba(139,92,246,0.08); }
  .letterboxd-badge-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    vertical-align: middle;
  }
  .letterboxd-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 18px;
    border-radius: 4px;
    background: #1f232c;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
    overflow: hidden;
  }
  .letterboxd-badge svg {
    width: 24px;
    height: 10px;
    display: block;
  }

  body.light-mode .comments-btn { border-color: #c8bfe8; color: #12082e; }
  body.light-mode .comments-btn:hover { border-color: #7c3aed; background: rgba(124,58,237,0.06); }

  /* Comments page */
  .comments-page { display: none; }
  .comments-page.active { display: block; }

  .comments-page-animating {
    opacity: 0;
    will-change: opacity;
  }
  .comments-page-animating.comments-page-animating-in {
    transition: opacity 220ms ease;
    opacity: 1;
  }
  .comments-page-closing {
    opacity: 0;
    transform: scale(0.985);
    transform-origin: var(--comments-origin-x, 50%) var(--comments-origin-y, 50%);
    transition: opacity 600ms ease, transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    will-change: opacity, transform;
  }
  .comments-page-header {
    display: flex; gap: 16px; padding: 20px; background: #060510;
    border: 1px solid #3d3466; border-radius: 6px; margin-bottom: 20px;
  }
  .comments-page-cover {
    width: 80px; aspect-ratio: 2 / 3; border-radius: 4px; overflow: hidden;
    flex-shrink: 0; background-size: cover; background-position: center;
  }
  .comments-page-cover.no-img { background: linear-gradient(135deg, #2a1f5e 0%, #2d1b4e 100%); }
  .comments-page-info { flex: 1; min-width: 0; }
  .comments-page-title { font-size: 20px; font-weight: 700; color: #e8e3f3; font-family: 'Sora', sans-serif; }
  .comments-page-meta { font-size: 12px; color: #b8afd1; margin-top: 4px; text-transform: uppercase; letter-spacing: 1px; }
  .comments-page-back {
    padding: 8px 16px; background: #1a1430; border: 1px solid #3d3466;
    border-radius: 4px; color: #ffffff; font-size: 13px; cursor: pointer;
    font-family: 'Sohne', sans-serif; font-weight: 500; margin-bottom: 20px;
    display: inline-flex; align-items: center; gap: 6px;
  }
  .comments-page-back:hover { border-color: #8b5cf6; }

  /* Comment input */
  .comment-input-area {
    display: flex; gap: 12px; align-items: flex-start; margin-bottom: 24px;
    padding: 16px; background: #060510; border: 1px solid #3d3466; border-radius: 6px;
  }
  .comment-input-avatar { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; }
  .comment-input-right { flex: 1; display: flex; flex-direction: column; gap: 8px; }
  .comment-input-footer {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; flex-wrap: wrap;
  }
  .comment-input-left {
    display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
    min-width: 0;
  }
  .comment-textarea {
    width: 100%; min-height: 60px; max-height: 150px; padding: 10px 12px;
    background: #0a081a; border: 1px solid #3d3466; border-radius: 4px;
    color: #e8e3f3; font-size: 13px; font-family: 'Sohne', sans-serif;
    resize: vertical; outline: none; line-height: 1.5;
  }
  .comment-textarea:focus { border-color: #8b5cf6; }
  .comment-textarea::placeholder { color: #9990b3; }
  .comment-post-btn {
    align-self: flex-end; padding: 7px 20px;
    background: linear-gradient(135deg, #7c3aed, #9333ea);
    border: none; border-radius: 4px; color: #fff; font-size: 13px;
    font-weight: 600; cursor: pointer; font-family: 'Sohne', sans-serif;
  }
  .comment-post-btn:hover { filter: brightness(1.1); }
  .comment-post-btn:disabled { opacity: 0.4; cursor: default; filter: none; }
  .comments-scope-tabs {
    display: inline-flex; gap: 6px; padding: 4px;
    border: 1px solid #3d3466; border-radius: 999px; background: #060510;
  }
  .comments-scope-tab {
    border: none; border-radius: 999px; padding: 7px 14px;
    background: transparent; color: #9990b3; cursor: pointer;
    font-size: 12px; font-weight: 700; font-family: 'Sohne', sans-serif;
    letter-spacing: 0.2px;
  }
  .comments-scope-tab.active {
    background: rgba(139,92,246,0.18);
    color: #f7f3ff;
    box-shadow: inset 0 0 0 1px rgba(196,181,253,0.14);
  }
  .comments-scope-note {
    font-size: 11px; color: #b8afd1; font-family: 'Sohne', sans-serif;
  }

  /* Comment thread */
  .comments-list { display: flex; flex-direction: column; gap: 0; }
  .comment-item {
    display: flex; gap: 12px; padding: 16px 0;
    border-bottom: 1px solid #2a2248;
  }
  .comment-item:last-child { border-bottom: none; }
  .comment-avatar { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; }
  .comment-body { flex: 1; min-width: 0; }
  .comment-header { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
  .comment-author { font-size: 13px; font-weight: 600; color: #e8e3f3; font-family: 'Sohne', sans-serif; }
  .comment-author-btn {
    appearance: none;
    border: none;
    background: none;
    padding: 0;
    margin: 0;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    color: #e8e3f3;
    cursor: pointer;
    text-align: left;
    transition: color 0.2s ease, text-shadow 0.2s ease;
  }
  .comment-author-btn:hover {
    color: #c4b5fd;
    text-shadow: 0 0 10px rgba(196,181,253,0.18);
  }
  .creator-name {
    color: #f4d27a;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(244,210,122,0.28), 0 0 18px rgba(251,191,36,0.16);
  }
  .creator-name-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
  }
  .creator-name.creator-name-soft {
    text-shadow: 0 0 8px rgba(244,210,122,0.22), 0 0 14px rgba(251,191,36,0.12);
  }
  .creator-role {
    display: inline-flex;
    align-items: center;
    padding: 1px 7px;
    border-radius: 999px;
    background: rgba(127, 29, 29, 0.18);
    border: 1px solid rgba(248, 113, 113, 0.26);
    color: #f87171;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.45px;
    text-transform: uppercase;
    line-height: 1.2;
    text-shadow: none;
  }
  .user-badged-name-wrap {
    vertical-align: baseline;
  }
  .creative-team-role,
  .creative-team-profile-label {
    display: inline-flex;
    align-items: center;
    padding: 1px 6px;
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.10);
    border: 1px solid rgba(34, 211, 238, 0.30);
    color: #67e8f9;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.42px;
    text-transform: uppercase;
    line-height: 1.15;
    text-shadow: 0 0 6px rgba(34, 211, 238, 0.18);
    box-shadow: 0 0 9px rgba(34, 211, 238, 0.06);
  }
  .comment-author-btn .creator-name,
  .comment-author .creator-name,
  .user-card-name .creator-name,
  .activity-name.creator-name,
  .viewing-banner-name.creator-name {
    color: #f4d27a;
  }
  .comment-time { font-size: 11px; color: #9990b3; }
  .comment-text { font-size: 13px; color: #ddd7f0; line-height: 1.6; font-family: 'Sohne', sans-serif; white-space: pre-wrap; word-break: break-word; }
  .comments-empty {
    text-align: center; padding: 40px 20px; color: #9990b3;
    font-size: 14px; font-family: 'Sohne', sans-serif;
  }
  .comments-count { font-size: 14px; color: #ffffff; font-weight: 600; margin-bottom: 16px; font-family: 'Sohne', sans-serif; }
  .comment-delete {
    background: none; border: none; color: #ffffff; font-size: 12px;
    cursor: pointer; font-family: 'Sohne', sans-serif; margin-left: auto;
    font-weight: 200;
  }
  .comment-delete:hover { color: #ef4444; }

  /* Light mode */
  body.light-mode .comments-page-header { background: #fff; border-color: #c8bfe8; }
  body.light-mode .comments-page-title { color: #12082e; }
  body.light-mode .comments-page-meta { color: #5a4780; }
  body.light-mode .comments-page-back { background: #ede9fe; border-color: #c8bfe8; color: #12082e; }
  body.light-mode .comment-input-area { background: #fff; border-color: #c8bfe8; }
  body.light-mode .comment-textarea { background: #f4f1fb; border-color: #c8bfe8; color: #12082e; }
  body.light-mode .comment-textarea::placeholder { color: #9d8ec0; }
  body.light-mode .comment-item { border-bottom-color: #c8bfe8; }
  body.light-mode .comment-author { color: #12082e; }
  body.light-mode .comment-author-btn { color: #12082e; }
  body.light-mode .comment-author-btn:hover { color: #5a4780; }
  body.light-mode .creator-name {
    color: #c89200;
    text-shadow: 0 0 8px rgba(200,146,0,0.2), 0 0 14px rgba(244,210,122,0.12);
  }
  body.light-mode .creator-role {
    background: rgba(220, 38, 38, 0.08);
    border-color: rgba(220, 38, 38, 0.18);
    color: #b91c1c;
  }
  body.light-mode .creative-team-role,
  body.light-mode .creative-team-profile-label {
    background: rgba(8, 145, 178, 0.07);
    border-color: rgba(8, 145, 178, 0.20);
    color: #0891b2;
    text-shadow: 0 0 5px rgba(8, 145, 178, 0.12);
    box-shadow: 0 0 8px rgba(8, 145, 178, 0.04);
  }
  body.light-mode .comment-text { color: #2d1b4e; }
  body.light-mode .comment-time { color: #7c6fa0; }
  body.light-mode .comments-scope-tabs { background: #fff; border-color: #c8bfe8; }
  body.light-mode .comments-scope-tab { color: #5a4780; }
  body.light-mode .comments-scope-tab.active { color: #12082e; background: rgba(124,58,237,0.10); }
  body.light-mode .comments-scope-note { color: #7c6fa0; }
  @media (max-width: 600px) {
    .comments-page-header { flex-direction: row; gap: 12px; padding: 16px; }
    .comments-page-title { font-size: 17px; }
    .comments-page-cover { width: 64px; }
    .comment-input-footer { align-items: flex-start; flex-direction: column; }
    .comment-input-left { width: 100%; }
  }

  /* Empty state */
  .empty {
    text-align: center; padding: 60px 20px; color: #b8afd1;
    border: 1px dashed #2a2248; border-radius: 6px;
  }
  .empty-icon { font-size: 40px; margin-bottom: 12px; }
  .empty-sub { font-size: 12px; color: #3d3466; margin-top: 6px; }

  /* Modal */
  .modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.7); display: flex;
    align-items: center; justify-content: center; z-index: 2600;
    backdrop-filter: blur(4px);
  }
  @media (max-width: 600px) {
    .modal-overlay {
      align-items: flex-start;
      padding-top: 64px;
      padding-bottom: 24px;
    }
    input,
    textarea,
    select {
      font-size: 16px !important;
    }
  }
  .modal {
    background: #151025; border-radius: 8px; padding: 28px; width: min(90vw, 440px);
    max-width: 440px; border: 1px solid #3d3466; box-shadow: 0 12px 40px rgba(0,0,0,0.6);
    max-height: min(88vh, 760px); overflow-y: auto; overflow-x: hidden;
  }
  #signout-modal {
    z-index: 2800;
  }
  .modal h3 { margin-bottom: 20px; font-size: 18px; color: #e8e3f3; }
  .modal-fields { display: flex; flex-direction: column; gap: 14px; }
  .modal-fields input { width: 100%; }
  .ep-count-row { display: flex; align-items: center; gap: 10px; }
  .ep-count-row label { color: #9990b3; font-size: 14px; }
  .ep-count-row input { width: 80px; }
  .modal-actions { display: flex; gap: 10px; margin-top: 22px; justify-content: flex-end; }
  .main-content { padding: 20px 20px 60px; }
  .edit-ep-row { display: flex; align-items: center; gap: 8px; justify-content: flex-end; margin-bottom: 10px; }
  .edit-ep-link {
    background: none; border: none; color: #a99dc6; font-size: 11px;
    cursor: pointer; text-decoration: underline; font-family: 'Sohne', sans-serif;
  }
  /* Login screen */
  .login-screen {
    min-height: 100vh; display: flex; flex-direction: column;
    align-items: center; background: #050410;
    padding: 0; overflow-x: hidden;
    font-family: 'Sohne', 'Sohne', sans-serif;
  }
  .login-hero {
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; padding: 60px 20px 20px; width: 100%;
    text-align: center;
  }
  .login-logo {
    font-size: 42px; font-family: 'Sohne', sans-serif; font-weight: 700;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    margin-bottom: 0;
  }
  .login-tagline {
    font-size: 18px; color: #ddd7f0; margin-top: 12px; font-weight: 400;
    font-family: 'Sohne', sans-serif; max-width: 400px; line-height: 1.5;
  }

  .login-tagline-secondary {
    display: block;
    margin-top: 10px;
  }
    .login-sub { color: #9990b3; font-size: 14px; margin-bottom: 32px; }
  .login-features {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
    max-width: 720px; width: 100%; padding: 0 20px; margin-bottom: 48px;
  }
  .login-feature {
    background: #0e0b1e; border: 1px solid #3d3466; border-radius: 6px;
    padding: 24px 20px; text-align: center;
  }
  .login-feature-icon { font-size: 28px; margin-bottom: 12px; }
  .login-feature-title {
    font-size: 16px; font-weight: 600; color: #e8e3f3; margin-bottom: 6px;
    font-family: 'Sohne', sans-serif;
  }
  .login-feature-desc {
    font-size: 13px; color: #ffffff; line-height: 1.5;
    font-family: 'Sohne', sans-serif;
  }
  .login-cta {
    display: flex; flex-direction: column; align-items: center; gap: 12px;
    padding: 0 20px 80px;
  }
  .login-cta-label {
    font-size: 13px; color: #9990b3; font-family: 'Sohne', sans-serif;
    letter-spacing: 0.5px;
  }
  .login-free {
    font-size: 12px; color: #9990b3; margin-top: 4px;
    font-family: 'Sohne', sans-serif;
  }
  .google-btn {
    display: flex; align-items: center; gap: 12px; padding: 14px 36px;
    background: #151025; border: 1px solid #3d3466; border-radius: 6px;
    color: #e8e3f3; font-size: 15px; font-weight: 600; cursor: pointer;
    font-family: 'Sohne', sans-serif; transition: background 0.2s, border-color 0.2s;
  }
  .google-btn:hover { background: #251b40; border-color: #8b5cf6; }
  .google-btn img { width: 20px; height: 20px; }

  /* ─────────────────────────────────────────────────────────────────────
     v752: Email auth — landing CTA button + fullscreen overlay page.
     The previous inline panel was removed. Landing now has a single
     button that opens a dedicated overlay page (#login-email-page)
     using the same pattern as Terms / Privacy.
     ───────────────────────────────────────────────────────────────────── */

  /* v765: reverted to v763 — wrapper at min(360px, 92vw), no iframe
     scale, no min-height override. */
  .gis-signin-target {
    max-width: min(360px, 92vw);
    margin-left: auto;
    margin-right: auto;
  }
  .login-email-cta-wrap {
    width: 100%;
    max-width: 280px;
    margin: 4px auto 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
  }
  .login-email-page-open-btn {
    width: 100%;
    padding: 12px 20px;
    background: #151025;
    border: 1px solid #3d3466;
    border-radius: 999px;
    color: #e8e3f3;
    font: 600 14px/1 'Sohne', sans-serif;
    cursor: pointer;
    transition: background 0.18s, border-color 0.18s, transform 0.12s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.28);
  }
  .login-email-page-open-btn:hover {
    background: #1f1735;
    border-color: #8b5cf6;
  }
  .login-email-page-open-btn:active { transform: scale(0.985); }
  /* "Create account" is visually secondary — same shape, muted style */
  .login-email-page-open-btn--secondary {
    background: transparent;
    border-color: #2a2248;
    color: #b8afd1;
    box-shadow: none;
  }
  .login-email-page-open-btn--secondary:hover {
    background: rgba(255,255,255,0.04);
    border-color: #6d28d9;
    color: #e8e3f3;
  }
  body.light-mode .login-email-page-open-btn {
    background: #ffffff;
    border-color: #e0d9f0;
    color: #1a1033;
    box-shadow: 0 2px 6px rgba(0,0,0,0.10);
  }
  body.light-mode .login-email-page-open-btn:hover {
    background: #f4f1fb;
    border-color: #7c3aed;
  }
  body.light-mode .login-email-page-open-btn--secondary {
    background: transparent;
    border-color: #e0d9f0;
    color: #6b6585;
    box-shadow: none;
  }
  body.light-mode .login-email-page-open-btn--secondary:hover {
    background: #f4f1fb;
    border-color: #7c3aed;
    color: #1a1033;
  }

  /* ─────── Fullscreen overlay page (uses .login-privacy-page base) ─────── */
  .login-email-page-shell {
    width: min(520px, 100%) !important;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
  }
  .login-email-back-btn {
    align-self: flex-start;
    margin-bottom: 6px !important;
  }
  /* v757: flat, clean card — no gradients, no shadows, minimal borders */
  .login-email-page-card {
    background: #0d0b1a;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    padding: 28px 24px 26px;
    animation: loginEmailSlideIn 180ms ease;
  }
  .login-email-page-title {
    font: 600 20px/1.2 'Sohne', sans-serif;
    color: #ffffff;
    margin: 0 0 22px;
    text-align: center;
  }
  body.light-mode .login-email-page-card {
    background: #ffffff;
    border-color: rgba(0,0,0,0.08);
  }
  body.light-mode .login-email-page-title { color: #0f0d1e; }

  @keyframes loginEmailSlideIn {
    from { transform: translateY(-4px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
  }

  /* Flat tab row — no container box, just two text buttons with an
     underline indicator on the active one */
  .login-email-tabs {
    display: flex;
    gap: 0;
    background: none;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    border-radius: 0;
    padding: 0;
    margin-bottom: 22px;
  }
  .login-email-tab {
    flex: 1;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    padding: 10px 0;
    color: #6b6585;
    font: 500 13px/1 'Sohne', sans-serif;
    cursor: pointer;
    border-radius: 0;
    transition: color 0.15s, border-color 0.15s;
  }
  .login-email-tab:hover { color: #e8e3f3; }
  .login-email-tab.active {
    color: #ffffff;
    border-bottom-color: #8b5cf6;
    font-weight: 600;
  }

  .login-email-form { display: flex; flex-direction: column; gap: 14px; }

  .login-email-field { display: flex; flex-direction: column; gap: 6px; }
  .login-email-field label {
    font: 600 12px/1 'Sohne', sans-serif;
    color: #b8afd1;
    letter-spacing: 0.3px;
  }
  .login-email-field input[type="email"],
  .login-email-field input[type="text"],
  .login-email-field input[type="password"] {
    background: #080613;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 8px;
    padding: 12px 14px;
    color: #e8e3f3;
    font: 400 14px/1.2 'Sohne', sans-serif;
    width: 100%;
    transition: border-color 0.15s;
    -webkit-appearance: none;
    appearance: none;
  }
  .login-email-field input::placeholder { color: #3d3760; }
  .login-email-field input:focus {
    outline: none;
    border-color: #7c3aed;
  }
  .login-email-field input:autofill,
  .login-email-field input:-webkit-autofill {
    -webkit-text-fill-color: #e8e3f3 !important;
    -webkit-box-shadow: 0 0 0 1000px #080613 inset !important;
    box-shadow: 0 0 0 1000px #080613 inset !important;
    caret-color: #e8e3f3;
  }

  .login-email-password-wrap {
    position: relative;
    display: flex;
    align-items: stretch;
  }
  .login-email-password-wrap input { padding-right: 64px; }
  .login-email-show-toggle {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: 1px solid transparent;
    color: #c4b5fd;
    font: 600 11px/1 'Sohne', sans-serif;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
  }
  .login-email-show-toggle:hover {
    background: rgba(139,92,246,0.12);
    border-color: rgba(139,92,246,0.32);
    color: #ffffff;
  }
  .login-email-show-toggle:focus-visible {
    outline: 2px solid rgba(139,92,246,0.6);
    outline-offset: 1px;
  }

  .login-email-strength { display: flex; flex-direction: column; gap: 4px; margin-top: 4px; }
  .login-email-strength-bar {
    width: 100%;
    height: 4px;
    background: #1a1335;
    border-radius: 999px;
    overflow: hidden;
  }
  .login-email-strength-fill {
    width: 0%;
    height: 100%;
    background: #6b21a8;
    border-radius: 999px;
    transition: width 0.18s cubic-bezier(0.22, 1, 0.36, 1), background 0.18s;
  }
  .login-email-strength-fill[data-score="1"] { background: #ef4444; }
  .login-email-strength-fill[data-score="2"] { background: #f59e0b; }
  .login-email-strength-fill[data-score="3"] { background: #22d3ee; }
  .login-email-strength-fill[data-score="4"] { background: #34d399; }
  .login-email-strength-label {
    font: 500 11px/1 'Sohne', sans-serif;
    color: #9990b3;
    letter-spacing: 0.3px;
  }
  /* v751: username live-hint colors */
  .login-email-strength-label[data-kind="error"] { color: #fecaca; }
  .login-email-strength-label[data-kind="ok"] { color: #99f6e4; }
  body.light-mode .login-email-strength-label[data-kind="error"] { color: #991b1b; }
  body.light-mode .login-email-strength-label[data-kind="ok"] { color: #155e75; }

  .login-email-checkbox {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font: 500 12px/1.5 'Sohne', sans-serif;
    color: #b8afd1;
    cursor: pointer;
  }
  .login-email-checkbox input[type="checkbox"] {
    margin-top: 2px;
    width: 16px;
    height: 16px;
    accent-color: #8b5cf6;
    flex-shrink: 0;
    cursor: pointer;
  }
  .login-email-inline-link {
    background: none;
    border: none;
    padding: 0;
    color: #c4b5fd;
    text-decoration: underline;
    cursor: pointer;
    font: inherit;
  }
  .login-email-inline-link:hover { color: #ffffff; }

  .login-email-message,
  .login-email-error {
    font: 400 12.5px/1.45 'Sohne', sans-serif;
    padding: 10px 12px;
    border-radius: 6px;
  }
  .login-email-message {
    background: #0a1f1e;
    border: 1px solid rgba(34,211,238,0.20);
    color: #5eead4;
  }
  .login-email-error {
    background: #1c0a0a;
    border: 1px solid rgba(239,68,68,0.22);
    color: #f87171;
  }
  .login-email-error[hidden],
  .login-email-message[hidden] { display: none; }

  .login-email-submit {
    background: #7c3aed;
    border: none;
    border-radius: 8px;
    padding: 13px 18px;
    color: #ffffff;
    font: 600 14px/1 'Sohne', sans-serif;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s, opacity 0.15s;
  }
  .login-email-submit:hover { background: #6d28d9; }
  .login-email-submit:active { transform: scale(0.987); }
  .login-email-submit:disabled {
    opacity: 0.5;
    cursor: progress;
  }

  .login-email-foot {
    display: flex;
    justify-content: center;
    margin-top: 4px;
  }
  .login-email-link {
    background: none;
    border: none;
    color: #c4b5fd;
    font: 500 12.5px/1 'Sohne', sans-serif;
    cursor: pointer;
    padding: 8px 4px;
    text-decoration: underline;
  }
  .login-email-link:hover { color: #ffffff; }

  .login-email-reset-copy {
    font: 500 13px/1.5 'Sohne', sans-serif;
    color: #b8afd1;
    margin-bottom: 4px;
  }

  /* Light-mode overrides — flat to match dark-mode treatment */
  body.light-mode .login-email-tabs {
    border-bottom-color: rgba(0,0,0,0.08);
  }
  body.light-mode .login-email-tab { color: #9990b3; }
  body.light-mode .login-email-tab.active { color: #1a1033; border-bottom-color: #7c3aed; }
  body.light-mode .login-email-field input[type="email"],
  body.light-mode .login-email-field input[type="text"],
  body.light-mode .login-email-field input[type="password"] {
    background: #f7f5fe;
    border-color: rgba(0,0,0,0.12);
    color: #1a1033;
  }
  body.light-mode .login-email-field input::placeholder { color: #b8afd1; }
  body.light-mode .login-email-field input:focus { border-color: #7c3aed; }
  body.light-mode .login-email-field input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #f7f5fe inset !important;
    -webkit-text-fill-color: #1a1033 !important;
  }
  body.light-mode .login-email-strength-bar { background: #ede9fe; }
  body.light-mode .login-email-field label,
  body.light-mode .login-email-strength-label,
  body.light-mode .login-email-reset-copy { color: #6b6585; }
  body.light-mode .login-email-error {
    background: #1c0a0a;
    border-color: rgba(239,68,68,0.22);
    color: #f87171;
  }
  body.light-mode .login-email-message {
    background: #0a1f1e;
    border-color: rgba(34,211,238,0.22);
    color: #5eead4;
  }

  @media (max-width: 600px) {
    .login-hero { padding: 40px 20px 16px; }
    .login-logo { font-size: 32px; }
    .login-tagline { font-size: 15px; }
    .login-features { grid-template-columns: 1fr; max-width: 340px; gap: 12px; }
    .login-email-panel { padding: 18px 16px 16px; border-radius: 10px; }
    .login-email-section { max-width: 100%; }
  }
  /* User/logout */
  .user-area { display: flex; align-items: center; gap: 10px; transform: translateY(4px); }
  .user-avatar { width: 34px; height: 34px; border-radius: 50%; }
  .user-name { font-size: 12px; color: #9990b3; }
  .logout-btn {
    background: none; border: 1px solid #3d3466; border-radius: 4px;
    color: #a99dc6; font-size: 11px; padding: 4px 10px; cursor: pointer;
    font-family: 'Sohne', sans-serif; transition: border-color 0.2s;
  }
  .logout-btn:hover { border-color: #ef4444; color: #ef4444; }
  .edit-profile-btn {
    background: rgba(255,255,255,0.04); border: 1px solid #3d3466; border-radius: 999px;
    color: #9990b3; font-size: 11px; padding: 5px 10px; cursor: pointer;
    font-family: 'Sohne', sans-serif; font-weight: 600; transition: all 0.2s;
  }
  .edit-profile-btn:hover { border-color: #8b5cf6; color: #e8e3f3; background: rgba(139,92,246,0.08); }
  .mobile-edit-profile-btn {
    display: none;
    background: rgba(255,255,255,0.04);
    border: 1px solid #3d3466;
    border-radius: 999px;
    color: #9990b3;
    font-size: 10px;
    padding: 4px 9px;
    cursor: pointer;
    font-family: 'Sohne', sans-serif;
    font-weight: 600;
    transition: all 0.2s;
  }
  .mobile-edit-profile-btn:hover { border-color: #8b5cf6; color: #e8e3f3; background: rgba(139,92,246,0.08); }
  .preview-signin-btn {
    padding: 8px 14px; border-radius: 999px; border: 1px solid #8b5cf6;
    background: rgba(139,92,246,0.14); color: #f3effb; font-size: 12px; font-weight: 700;
    cursor: pointer; font-family: 'Sohne', sans-serif;
  }
  .preview-exit-btn {
    padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.05); color: #f3effb; font-size: 12px; font-weight: 700;
    cursor: pointer; font-family: 'Sohne', sans-serif;
  }
  .preview-banner {
    display: none;
    margin: 0 auto 14px;
    max-width: 1040px;
    padding: 0 22px;
  }
  .preview-banner-inner {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    padding: 12px 14px; border: 1px solid rgba(139,92,246,0.22); border-radius: 14px;
    background: rgba(139,92,246,0.08); color: #ffffff; font-size: 13px;
    text-align: center;
  }
  .preview-banner-title {
    color: #ffffff;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: 0.08em;
  }
  .preview-banner-copy {
    color: #ffffff;
    font-size: 15px;
    line-height: 1.45;
  }
  .preview-banner-copy strong {
    font-weight: 800;
  }
  .preview-banner-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
  }
  body.preview-mode #preview-banner { display: block; }
  body.preview-mode .user-area,
  body.preview-mode .comment-post-btn,
  body.preview-mode .comment-delete,
  body.preview-mode .friend-action-btn,
  body.preview-mode .edit-profile-btn,
  body.preview-mode .logout-btn {
    pointer-events: none !important;
    opacity: 0.55;
  }
  body.preview-mode .main-nav-btn,
  body.preview-mode .section-btn,
  body.preview-mode .tab-btn,
  body.preview-mode .ep-toggle-bar,
  body.preview-mode .season-header,
  body.preview-mode .comments-page-back,
  body.preview-mode .back-btn {
    pointer-events: auto;
  }
  body.preview-mode #login-screen {
    min-height: auto;
  }

  .user-avatar { cursor: pointer; transition: opacity 0.2s; }
  .user-avatar:hover { opacity: 0.7; }
  .profile-modal { display: flex; flex-direction: column; align-items: center; gap: 16px; }
  .profile-avatar-lg { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 2px solid #2a2248; }
  .profile-name { font-size: 13px; color: #9990b3; text-align: center; }
  #profile-modal .modal {
    width: min(92vw, 620px);
    max-width: 620px;
    padding: 0;
    overflow: hidden;
  }
  #profile-modal .modal h3 {
    margin: 0;
    padding: 24px 28px 20px;
    border-bottom: 1px solid #2a2248;
  }
  #profile-modal .profile-modal {
    padding: 22px 28px 12px;
    align-items: stretch;
    gap: 22px;
  }
  #profile-modal .profile-avatar-lg {
    width: 108px;
    height: 108px;
    align-self: center;
  }
  #profile-modal .profile-name {
    text-align: left;
  }
  #profile-modal .theme-toggle-row {
    margin-top: 0;
    padding: 18px 0 0;
  }
  #profile-modal .modal-actions {
    margin-top: 0;
    padding: 20px 28px 28px;
    border-top: 1px solid #2a2248;
  }
  #profile-modal .modal-actions button {
    min-width: 96px;
  }
  @media (max-width: 600px) {
    #profile-modal .modal {
      width: min(94vw, 620px);
      max-height: 88vh;
    }
    #profile-modal .modal h3 {
      padding: 20px 20px 16px;
    }
    #profile-modal .profile-modal {
      padding: 18px 20px 10px;
      gap: 18px;
    }
    #profile-modal .modal-actions {
      padding: 18px 20px 20px;
    }
    #profile-modal .theme-toggle-row {
      gap: 10px;
      align-items: center;
      justify-content: flex-start;
      flex-wrap: nowrap;
    }
    #profile-modal .theme-switch {
      gap: 6px;
      flex-shrink: 0;
    }
    #profile-modal .theme-switch span {
      font-size: 11px;
    }
  }

  /* Main nav */
  .main-nav { display: flex; gap: 0; margin-bottom: 16px; border-bottom: 1px solid #2a2248; }
  .main-nav-btn {
    padding: 10px 20px; background: none; border: none; border-bottom: 2px solid transparent;
    color: #ffffff; font-size: 14px; font-weight: 500; cursor: pointer;
    font-family: 'Sohne', sans-serif; transition: all 0.2s;
  }
  .main-nav-btn.active { color: #a78bfa; border-bottom-color: #a78bfa; }
  .main-nav-btn:hover { color: #9990b3; }
  /* Community */
  .community-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
  .user-card {
    display: flex; align-items: center; gap: 14px; padding: 16px;
    background: #060510; border: 1px solid #3d3466; border-radius: 6px;
    cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s;
  }
  .user-card:hover { border-color: #3d3466; box-shadow: 0 2px 12px rgba(0,0,0,0.4); }
  .user-card-avatar { width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; }
  .user-card-name { font-size: 15px; font-weight: 600; color: #e8e3f3; }
  .user-card-stats { font-size: 12px; color: #a99dc6; margin-top: 2px; }
  .user-card-you { font-size: 10px; color: #a78bfa; margin-left: 6px; }
  .viewing-banner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 16px; background: rgba(37,99,235,0.1); border: 1px solid #7c3aed;
    border-radius: 6px; margin-bottom: 16px;
  }
  .viewing-banner-text { font-size: 14px; color: #a78bfa; }
  .viewing-banner-text img { width: 24px; height: 24px; border-radius: 50%; margin-right: 8px; vertical-align: middle; }
  
  /* Viewing other user - full screen focused layout */
  .viewing-user-profile-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 0 auto 16px;
  }
  .viewing-user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #7c3aed;
    object-fit: cover;
  }
  .viewing-user-name {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Space Grotesk', sans-serif;
  }
  
  body.viewing-other-user .header-top img[alt="ScreenList"] {
    display: none !important;
  }
  body.viewing-other-user .edit-profile-btn,
  body.viewing-other-user .mobile-edit-profile-btn,
  body.viewing-other-user .user-avatar,
  body.viewing-other-user .logout-btn {
    display: none !important;
  }
  body.viewing-other-user .viewing-banner {
    background: transparent;
    border: none;
    flex-direction: column;
    padding: 20px 16px 0;
    margin-bottom: 24px;
  }
  body.viewing-other-user .section-toggle {
    margin-top: 0;
  }
  
  .back-btn {
    padding: 6px 14px; background: rgba(8, 47, 73, 0.38); border: 1px solid rgba(56, 189, 248, 0.42);
    border-radius: 4px; color: #67e8f9; font-size: 12px; font-weight: 700; cursor: pointer;
    font-family: 'Sohne', sans-serif;
  }
  .back-btn:hover { border-color: #67e8f9; color: #cffafe; background: rgba(8, 145, 178, 0.22); text-decoration: none; }
  /* Cover search */
  .cover-search-row { display: flex; gap: 8px; }
  .cover-search-row input { flex: 1; }
  .tmdb-results {
    /* v927: removed max-height:260px — the modal itself has overflow-y:auto
       + max-height:calc(100vh-48px) so it handles scrolling. The 260px cap
       was only showing ~3 results and hiding everything else under an
       invisible inner scroll. Now all results render and the modal scrolls. */
    display: flex; flex-direction: column; gap: 6px; padding: 8px 0;
  }
  .tmdb-result {
    display: flex; gap: 10px; padding: 8px; border-radius: 4px; cursor: pointer;
    background: rgba(255,255,255,0.03); border: 1.5px solid #2a2248;
    transition: border-color 0.2s, background 0.2s;
  }
  .tmdb-result:hover { border-color: #8b5cf6; background: rgba(37,99,235,0.08); }
  .tmdb-result img { width: 44px; height: 66px; border-radius: 3px; object-fit: cover; flex-shrink: 0; }
  .tmdb-result-info { flex: 1; min-width: 0; }
  .tmdb-result-title { font-size: 13px; font-weight: 600; color: #e8e3f3; }
  .tmdb-result-meta { font-size: 11px; color: #a99dc6; margin-top: 2px; }
  .tmdb-selected {
    display: flex; gap: 12px; padding: 12px; border-radius: 6px;
    background: rgba(16,185,129,0.06); border: 1.5px solid #0891b2;
  }
  .tmdb-selected img { width: 60px; height: 90px; border-radius: 4px; object-fit: cover; }
  .tmdb-selected-info { flex: 1; }
  .tmdb-selected-title { font-size: 14px; font-weight: 600; color: #e8e3f3; }
  .tmdb-selected-detail { font-size: 12px; color: #9990b3; margin-top: 3px; }
  .tmdb-clear { background: none; border: none; color: #a99dc6; font-size: 11px; cursor: pointer; text-decoration: underline; margin-top: 6px; font-family: 'Sohne', sans-serif; }
  .cover-search-msg { font-size: 12px; color: #9990b3; padding: 4px 0; }
  .api-key-row { display: flex; gap: 8px; align-items: center; }
  .api-key-row input { flex: 1; font-size: 12px; padding: 6px 10px; }
  .api-key-row button { white-space: nowrap; }
  .api-key-saved { font-size: 11px; color: #22d3ee; display: flex; align-items: center; justify-content: space-between; }

  /* Theme toggle switch */
  .theme-toggle-row { display:flex; align-items:center; justify-content:flex-start; gap:12px; width:100%; padding:10px 0; border-top:1px solid #2a2248; margin-top:4px; }
  .theme-toggle-label { font-size:13px; color:#9990b3; }
  .theme-switch { position:relative; display:inline-flex; align-items:center; gap:8px; }
  .theme-switch span { font-size:12px; color:#7a6f99; }
  .toggle-track { position:relative; width:44px; height:24px; display:inline-block; }
  .toggle-track input { opacity:0; width:0; height:0; }
  .toggle-thumb {
    position:absolute; cursor:pointer; inset:0; background:#302555;
    border-radius:24px; transition:0.3s;
  }
  .toggle-thumb:before {
    content:""; position:absolute; width:18px; height:18px; left:3px; top:3px;
    background:#fff; border-radius:50%; transition:0.3s;
  }
  .toggle-track input:checked + .toggle-thumb { background:#a78bfa; }
  .toggle-track input:checked + .toggle-thumb:before { transform:translateX(20px); }

  /* Light mode overrides */
  body.light-mode { background:#f4f1fb; color:#1a1033; }
  body.light-mode .header { background:linear-gradient(135deg,#f4f1fb 0%,#ede9fe 50%,#f4f1fb 100%); border-bottom-color:#d8cfee; }
  body.light-mode .logo { background:linear-gradient(90deg,#d97706,#f59e0b); -webkit-background-clip:text; -webkit-text-fill-color:transparent; }
  body.light-mode .login-logo { background:linear-gradient(90deg,#d97706,#f59e0b); -webkit-background-clip:text; -webkit-text-fill-color:transparent; }
  body.light-mode .subtitle, body.light-mode .login-sub { color:#7c6fa0; }
  body.light-mode .stat-val { color:#7c3aed; }
  body.light-mode .stat-val.gold { color:#d97706; }
  body.light-mode .stat-label { color:#7c6fa0; }
  body.light-mode .section-toggle { background:#ede9fe; }
  body.light-mode .section-btn { color:#7c6fa0; }
  body.light-mode .main-nav { border-bottom-color:#d8cfee; }
  body.light-mode .main-nav-btn { color:#7c6fa0; }
  body.light-mode .main-nav-btn.active { color:#7c3aed; border-bottom-color:#7c3aed; }
  body.light-mode .tab-btn { color:#7c6fa0; }
  body.light-mode .tab-btn.active { background:rgba(0,0,0,0.06); }
  body.light-mode .card { background:#fff; border-color:#e0d9f0; }
  body.light-mode .card:hover { border-color:#c4b5fd; }
  body.light-mode .card-title { color:#1a1033; }
  body.light-mode .card-genre { color:#7c6fa0; }
  body.light-mode .delete-btn { color:#9d8ec0; }
  body.light-mode .delete-btn:hover { color:#ef4444; }
  body.light-mode .status-pill { border-color:#d8cfee; color:#7c6fa0; }
  body.light-mode .progress-bar { background:#e0d9f0; }
  body.light-mode .progress-meta { color:#7c6fa0; }
  body.light-mode .rating-label { color:#7c6fa0; }
  body.light-mode .star-btn { color:#c4b5fd; }
  body.light-mode .star-btn.lit { color:#f59e0b; }
  body.light-mode .star-label { color:#7c6fa0; }
  body.light-mode .ep-toggle-bar { border-top-color:#e0d9f0; color:#7c6fa0; }
  body.light-mode .ep-list { background:#faf9ff; }
  body.light-mode .ep-scroll { scrollbar-color: #c8bfe8 transparent; }
  body.light-mode .ep-scroll::-webkit-scrollbar-thumb { background: #c8bfe8; }
  body.light-mode .ep-scroll::-webkit-scrollbar-thumb:hover { background: #a89fd0; }
  body.light-mode .ep-row { background:rgba(0,0,0,0.02); border-left-color:transparent; }
  body.light-mode .ep-row.watched-ep { border-left-color:#22d3ee; }
  body.light-mode .ep-check { border-color:#c4b5fd; }
  body.light-mode .ep-name { color:#1a1033; }
  body.light-mode .ep-rating-btn { color:#c4b5fd; }
  body.light-mode .ep-rating-btn.has-rating { color:#f59e0b; }
  body.light-mode .ep-rating-popup { background:#fff; border-color:#e0d9f0; }
  body.light-mode .season-header { background:rgba(0,0,0,0.04); border-color:#e0d9f0; }
  body.light-mode .season-header:hover { background:rgba(0,0,0,0.07); }
  body.light-mode .season-title { color:#1a1033; }
  body.light-mode .season-progress { color:#7c6fa0; }
  body.light-mode .season-arrow { color:#7c6fa0; }
  body.light-mode input[type="text"], body.light-mode input[type="number"], body.light-mode input[type="url"] { background:#fff; border-color:#d8cfee; color:#1a1033; }
  body.light-mode input:focus { border-color:#7c3aed; }
  body.light-mode .btn-secondary { background:#ede9fe; border-color:#d8cfee; color:#7c6fa0; }
  body.light-mode .modal-overlay { background:rgba(0,0,0,0.4); }
  body.light-mode .modal { background:#fff; border-color:#e0d9f0; }
  body.light-mode .modal h3 { color:#1a1033; }
  body.light-mode .empty { border-color:#e0d9f0; color:#9d8ec0; }
  body.light-mode .empty-sub { color:#c4b5fd; }
  body.light-mode .login-screen { background:#f4f1fb; }
  body.light-mode .google-btn { background:#fff; border-color:#e0d9f0; color:#1a1033; }
  body.light-mode .google-btn:hover { background:#f4f1fb; border-color:#7c3aed; }
  body.light-mode .user-area .logout-btn { border-color:#d8cfee; color:#7c6fa0; }
  body.light-mode .user-card { background:#fff; border-color:#e0d9f0; }
  body.light-mode .user-card:hover { border-color:#c4b5fd; box-shadow:0 4px 20px rgba(0,0,0,0.08); }
  body.light-mode .user-card-name { color:#1a1033; }
  body.light-mode .user-card-stats { color:#7c6fa0; }
  body.light-mode .friends-tabs { border-bottom-color:#d8cfee; }
  body.light-mode .friends-tab-btn { color:#7c6fa0; }
  body.light-mode .friends-tab-btn.active { color:#7c3aed; border-bottom-color:#7c3aed; }
  body.light-mode .friends-empty { border-color:#e0d9f0; }
  body.light-mode .viewing-banner { background:rgba(124,58,237,0.06); border-color:#c4b5fd; }
  body.light-mode .viewing-banner-text { color:#7c3aed; }
  body.light-mode .back-btn { background:#ede9fe; border-color:#d8cfee; color:#7c6fa0; }
  body.light-mode .back-btn:hover { border-color:#7c3aed; color:#7c3aed; }
  body.light-mode .edit-ep-link { color:#9d8ec0; }
  body.light-mode .cover-search-msg { color:#9d8ec0; }
  body.light-mode .tmdb-result { background:rgba(0,0,0,0.02); border-color:#e0d9f0; }
  body.light-mode .tmdb-result:hover { border-color:#7c3aed; background:rgba(124,58,237,0.05); }
  body.light-mode .tmdb-result-title { color:#1a1033; }
  body.light-mode .tmdb-result-meta { color:#7c6fa0; }
  body.light-mode .profile-avatar-lg { border-color:#e0d9f0; }
  body.light-mode .profile-name { color:#7c6fa0; }
  body.light-mode .theme-toggle-row { border-top-color:#e0d9f0; }
  body.light-mode .theme-toggle-label { color:#7c6fa0; }
  body.light-mode .theme-switch span { color:#9d8ec0; }
  body.light-mode .toggle-thumb { background:#d8cfee; }

  /* Light mode — remove star glow */
  body.light-mode .logo-star { filter: none !important; }

  /* Light mode — right half of star needs visible fill on light bg */
  body.light-mode .logo-star .star-right { fill: #ede9fe !important; }

  /* Light mode — contrast improvements */
  /* Stronger text hierarchy */
  body.light-mode { color: #12082e; }
  body.light-mode .card-title { color: #12082e; }
  body.light-mode .season-title { color: #12082e; }
  body.light-mode .ep-name { color: #12082e; }
  body.light-mode .user-card-name { color: #12082e; }
  body.light-mode .modal h3 { color: #12082e; }

  /* Secondary text — darkened for readability */
  body.light-mode .subtitle,
  body.light-mode .login-sub,
  body.light-mode .stat-label,
  body.light-mode .card-genre,
  body.light-mode .rating-label,
  body.light-mode .progress-meta,
  body.light-mode .season-progress,
  body.light-mode .user-card-stats,
  body.light-mode .ep-rating-btn,
  body.light-mode .theme-toggle-label,
  body.light-mode .cover-search-msg,
  body.light-mode .edit-ep-link { color: #5a4780; }

  /* Nav & tab text — more contrast when inactive */
  body.light-mode .main-nav-btn { color: #5a4780; }
  body.light-mode .tab-btn { color: #5a4780; }
  body.light-mode .tab-btn.active[data-tab="watching"],
  body.light-mode .tab-btn.active[data-tab="planned"],
  body.light-mode .tab-btn.active[data-tab="watched"],
  body.light-mode .tab-btn.active[data-tab="paused"],
  body.light-mode .tab-btn.active[data-tab="dropped"] { color: #6d28d9 !important; }

  /* TV Shows / Movies active tab — gold text in light mode */
  body.light-mode .section-btn.active { color: #fde68a !important; }
  body.light-mode .friends-tab-btn { color: #5a4780; }
  body.light-mode .section-btn { color: #5a4780; }

  /* Borders — slightly more defined */
  body.light-mode .card { border-color: #c8bfe8; }
  body.light-mode .modal { border-color: #c8bfe8; }
  body.light-mode .main-nav { border-bottom-color: #c8bfe8; }
  body.light-mode .friends-tabs { border-bottom-color: #c8bfe8; }
  body.light-mode .ep-toggle-bar { border-top-color: #c8bfe8; }
  body.light-mode .season-header { border-color: #c8bfe8; }
  body.light-mode .theme-toggle-row { border-top-color: #c8bfe8; }
  body.light-mode .status-pill { border-color: #c8bfe8; color: #5a4780; }

  /* Inactive stars more visible */
  body.light-mode .star-btn { color: #b8a8d8; }

  /* Empty state */
  body.light-mode .empty { color: #5a4780; border-color: #c8bfe8; }
  body.light-mode .empty-sub { color: #8b7ab0; }

  /* Buttons */
  body.light-mode .btn-secondary { background: #ede9fe; border-color: #c8bfe8; color: #5a4780; }
  body.light-mode .logout-btn { border-color: #c8bfe8; color: #5a4780; }
  body.light-mode .edit-profile-btn { background: #ede9fe; border-color: #c8bfe8; color: #5a4780; }
  body.light-mode .edit-profile-btn:hover { border-color: #7c3aed; color: #7c3aed; background: #f4f1fb; }
  body.light-mode .preview-signin-btn {
    background: #ede9fe; border-color: #c8bfe8; color: #5a4780;
  }
  body.light-mode .preview-exit-btn {
    background: #fff; border-color: #d8cfee; color: #5a4780;
  }
  body.light-mode .preview-banner-inner {
    background: rgba(124,58,237,0.06); border-color: #c8bfe8; color: #ffffff;
  }

  body.light-mode .back-btn { background: #ede9fe; border-color: #c8bfe8; color: #5a4780; }
