/* PraVer 1.3.0 / v18 — modo claro off-white e auditoria de contraste. */
.theme-toggle {
    width: 40px;
    height: 40px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    padding: 0;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    color: var(--text);
    background: var(--panel-2);
    cursor: pointer;
}
.theme-toggle:hover { border-color: rgba(154,91,255,.5); color: var(--purple-2); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle-moon, .theme-label-dark { display: none; }
.desktop-theme-toggle { display: none; }
.auth-theme-toggle { display: none; }
.auth-page .auth-theme-toggle { position: fixed; z-index: 120; top: 18px; right: 18px; display: grid; }
@media (min-width: 761px) {
    body[data-authenticated="true"] .desktop-theme-toggle {
        position: fixed;
        z-index: 90;
        top: 12px;
        right: clamp(24px, 4vw, 50px);
        display: grid;
    }
    body[data-authenticated="true"] .corner-brand { right: calc(clamp(24px, 4vw, 50px) + 54px); }
    body[data-authenticated="true"] .page-header-block { padding-right: 176px; }
}

html[data-theme="light"] {
    color-scheme: light;
    --bg: #f7f5f0;
    --bg-soft: #efede7;
    --panel: #fffdf9;
    --panel-2: #f2efe9;
    --panel-hover: #ebe7df;
    --line: rgba(42,35,53,.10);
    --line-strong: rgba(42,35,53,.18);
    --text: #25212c;
    --muted: #696270;
    --muted-2: #8a8390;
    --purple: #6d28d9;
    --purple-2: #7438d7;
    --purple-3: #5b21b6;
    --green: #168452;
    --yellow: #b67b00;
    --gold-text: #7a5600;
    --danger: #c93d58;
    --shadow: 0 24px 70px rgba(46,35,58,.16);
}
html[data-theme="light"] .theme-toggle-sun,
html[data-theme="light"] .theme-label-light { display: none; }
html[data-theme="light"] .theme-toggle-moon,
html[data-theme="light"] .theme-label-dark { display: grid; }
html[data-theme="light"] body {
    background:
        radial-gradient(circle at 42% -10%, rgba(124,58,237,.08), transparent 32rem),
        radial-gradient(circle at 88% 30%, rgba(59,130,246,.045), transparent 28rem),
        var(--bg);
}
html[data-theme="light"] body::before { background-image: linear-gradient(rgba(45,37,54,.022) 1px, transparent 1px), linear-gradient(90deg, rgba(45,37,54,.022) 1px, transparent 1px); }

/* A lateral acompanha o off-white e é separada do conteúdo por uma linha cinza. */
html[data-theme="light"] .sidebar { color: var(--text); border-right: 1px solid #c9c3bb; background: #fffdf9; box-shadow: 8px 0 24px rgba(58,49,64,.055); }
html[data-theme="light"] .sidebar .brand img { content: url("../images/logo-light.svg"); filter: none; }
html[data-theme="light"] .sidebar .nav-item { color: #514a57; }
html[data-theme="light"] .sidebar .nav-item:hover { color: #3f1b72; background: #eee8f4; }
html[data-theme="light"] .sidebar .nav-item.is-active { color: #4c1d95; background: linear-gradient(90deg, #e8dcf7, #f2ebf8); box-shadow: inset 0 0 0 1px #d7c6ea; }
html[data-theme="light"] .sidebar .nav-item.is-active::before { background: #6d28d9; }
html[data-theme="light"] .sidebar-nav-secondary { border-top-color: #d5cfc7; }
html[data-theme="light"] .sidebar .nav-item-logout { color: #9f2941; }
html[data-theme="light"] .sidebar .nav-pending-badge { border-color: #fffdf9; }
html[data-theme="light"] .topbar { border-bottom-color: var(--line); background: rgba(247,245,240,.9); }
html[data-theme="light"] .mobile-brand img,
html[data-theme="light"] .corner-brand img,
html[data-theme="light"] .auth-logo img { content: url("../images/logo-light.svg"); filter: none; }
html[data-theme="light"] .global-search,
html[data-theme="light"] .user-chip { background: rgba(37,33,44,.045); }
html[data-theme="light"] .global-search:focus-within { background: #fff; }
html[data-theme="light"] .global-search input::placeholder { color: #837c89; }

html[data-theme="light"] .button-secondary { color: #342d3d; border-color: var(--line-strong); background: rgba(255,255,255,.72); }
html[data-theme="light"] .button-secondary:hover { border-color: rgba(109,40,217,.28); background: #fff; }
html[data-theme="light"] .button-ghost { color: #625a68; }
html[data-theme="light"] .button-ghost:hover { color: #342d3d; background: rgba(37,33,44,.06); }
html[data-theme="light"] .flash-success { color: #12643e; }
html[data-theme="light"] .flash-error,
html[data-theme="light"] .form-errors { color: #a52842; }

html[data-theme="light"] .media-card-text,
html[data-theme="light"] .suggestion-card,
html[data-theme="light"] .recommendation-card,
html[data-theme="light"] .review-card,
html[data-theme="light"] .public-list-card,
html[data-theme="light"] .user-list-card,
html[data-theme="light"] .friend-card,
html[data-theme="light"] .calendar-response-card,
html[data-theme="light"] .upcoming-card,
html[data-theme="light"] .account-identity-card,
html[data-theme="light"] .account-review-card,
html[data-theme="light"] .contact-hero,
html[data-theme="light"] .contact-card,
html[data-theme="light"] .contact-info-card,
html[data-theme="light"] .custom-media-form,
html[data-theme="light"] .about-hero,
html[data-theme="light"] .about-pillars article,
html[data-theme="light"] .release-notes,
html[data-theme="light"] .release-history,
html[data-theme="light"] .how-steps article,
html[data-theme="light"] .static-sections article,
html[data-theme="light"] .catalog-filter-panel,
html[data-theme="light"] .catalog-notice,
html[data-theme="light"] .suppressed-results,
html[data-theme="light"] .list-create-card { border-color: var(--line); background: var(--panel); }
html[data-theme="light"] .media-card-symbol { color: #fff; background: linear-gradient(130deg, #7c3aed, #5b21b6); }
html[data-theme="light"] .media-card-symbol > span { border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.13); }
html[data-theme="light"] .media-card-symbol small { color: rgba(255,255,255,.82); }

/* PraVer 1.4.0: novos controles sociais e resumos de perfil. */
html[data-theme="light"] .recommend-friends-picker { border-color: #cfc8d5; background: #f3f0f5; }
html[data-theme="light"] .recommend-friends-picker legend,
html[data-theme="light"] .recommend-friends-picker label { color: #25212c; }
html[data-theme="light"] .recommend-friends-picker label { border-color: #d8d1dd; background: #fff; }
html[data-theme="light"] .recommend-friends-picker small { color: #625a68; }
html[data-theme="light"] .profile-summary-grid article { border-color: #d8d1dd; background: #fff; }
html[data-theme="light"] .profile-summary-grid strong,
html[data-theme="light"] .profile-review-details summary,
html[data-theme="light"] .profile-review-details p { color: #25212c; }
html[data-theme="light"] .profile-summary-grid span { color: #625a68; }
html[data-theme="light"] .admin-synopsis-search { color: #342d3d; background: #fff; }
html[data-theme="light"] .home-saved-count { color:#14111a; }
html[data-theme="light"] .home-saved-count svg{color:#332f38;fill:#332f38;stroke:#332f38}html[data-theme="light"] .home-saved-count b{color:#fff}
html[data-theme="light"] .home-save-badge-v50 svg{color:#332f38;fill:#332f38;stroke:#332f38}html[data-theme="light"] .home-save-badge-v50 b{color:#fff}
html[data-theme="light"] .calendar-past-entry-note { color:#4b3d14; border-color:#d7bd64; background:#fff8dc; }
html[data-theme="light"] .admin-button-secondary { color:#211b29!important; }
html[data-theme="light"] .media-card-title,
html[data-theme="light"] .list-item-main h3 a,
html[data-theme="light"] .suggestion-copy h3 a { color: var(--text); }
html[data-theme="light"] .media-type,
html[data-theme="light"] .media-card-genres span,
html[data-theme="light"] .media-source,
html[data-theme="light"] .detail-meta > span { color: #5f5866; background: rgba(37,33,44,.055); }
html[data-theme="light"] .card-add-button,
html[data-theme="light"] .card-add-button.has-status { color: #171207; border-color: #D4AF37; background: #D4AF37; box-shadow: 0 7px 20px rgba(170,125,0,.25); }
html[data-theme="light"] .card-add-button:hover,
html[data-theme="light"] .card-add-button:focus-visible,
html[data-theme="light"] .card-add-button.has-status:hover,
html[data-theme="light"] .card-add-button.has-status:focus-visible { color: #171207; border-color: #c79d21; background: #e2bf4b; }
html[data-theme="light"] .card-add-button svg { stroke: #171207; }
html[data-theme="light"] .card-add-button use[href="#i-play"],
html[data-theme="light"] .card-add-button use[href="#i-bookmark"] { fill: #171207; }
html[data-theme="light"] .carousel-arrow { color: #fff; background: rgba(45,35,58,.76); }

/* Amigos e detalhes da produção recebem contraste textual reforçado. */
html[data-theme="light"] .friend-status.pending { color: #8f2038; border: 1px solid #d898a6; background: #f7dce2; }
html[data-theme="light"] .sent-recommendations .sent-recommendation-status.is-added {
    color: #17623c;
    border-color: #8bc8a5;
    background: #dff3e6;
}
html[data-theme="light"] .sent-recommendations .sent-recommendation-status.is-pending {
    color: #9c263f;
    border-color: #e3a1ad;
    background: #f9dfe4;
}
html[data-theme="light"] .sent-recommendations .sent-recommendation-status.is-dismissed {
    color: #5d5662;
    border-color: #cfc8c0;
    background: #eeeae4;
}
html[data-theme="light"] .detail-synopsis .detail-overview { color: #000; }

/* Minhas Listas: cartões internos também obedecem ao tema claro. */
html[data-theme="light"] .list-items-grid { background: #d8d3cb; }
html[data-theme="light"] .list-item-row { color: var(--text); background: #fffdf9; }
html[data-theme="light"] .list-item-row:hover { background: #faf7f1; }
html[data-theme="light"] .list-item-overview,
html[data-theme="light"] .saved-progress,
html[data-theme="light"] .also-in-lists { color: var(--muted); }
html[data-theme="light"] .list-compact-toggle,
html[data-theme="light"] .list-order-controls button,
html[data-theme="light"] .item-drag-handle { color: #5d5662; border-color: #d3cdc5; background: #f4f1eb; }
html[data-theme="light"] .list-compact-toggle:hover,
html[data-theme="light"] .list-order-controls button:hover:not(:disabled),
html[data-theme="light"] .item-drag-handle:hover,
html[data-theme="light"] .item-drag-handle:focus-visible { color: #4c1d95; border-color: #ad91d7; background: #eee7f7; }
html[data-theme="light"] .list-actions-details summary { color: var(--text); border-color: #cec8c0; background: #f2efe9; }
html[data-theme="light"] .list-actions-popover,
html[data-theme="light"] .series-info-popover { color: var(--text); border-color: #d3cdc5; background: #fffdf9; }
html[data-theme="light"] .series-info-popover strong { color: var(--text); }
html[data-theme="light"] .personal-rating-form { border-color: rgba(170,125,0,.32); background: rgba(212,175,55,.08); }
html[data-theme="light"] .rating-save-button.is-saved { color: #4d4653; }

html[data-theme="light"] .agenda-panel,
html[data-theme="light"] .full-calendar-card,
html[data-theme="light"] .month-agenda { border-color: #cfc9c1; background: var(--panel); }
html[data-theme="light"] .home-agenda-panel { border-color: #cfc9c1; box-shadow: 0 14px 40px rgba(66,57,48,.12); }
html[data-theme="light"] .home-agenda-panel .agenda-items-viewport { border: 1px solid #ddd7cf; border-radius: 10px; background: #fff; }
html[data-theme="light"] .home-agenda-panel .agenda-item { border-bottom-color: #ddd7cf; }
html[data-theme="light"] .home-agenda-date { border-color: #cabee0; background: #f0e9f8; }
html[data-theme="light"] .home-agenda-date strong,
html[data-theme="light"] .home-agenda-date span { color: #5b21b6; }
html[data-theme="light"] .month-agenda-header { border-bottom-color: #d7d1c9; }
html[data-theme="light"] .month-agenda-viewport { border: 1px solid #ddd7cf; border-radius: 9px; background: #fff; }
html[data-theme="light"] .month-agenda-entry { border-color: #ddd7cf; background: #fffdf9; }
html[data-theme="light"] .month-agenda-entry:hover { border-color: #c7b8d9; background: #f6f0fb; }
html[data-theme="light"] .month-agenda-entry:not(.is-recurring):not(.is-shared) .agenda-date-box { color: #5b21b6; border-color: #a978e0; background: #e8d9f8; }
html[data-theme="light"] .month-agenda-entry:not(.is-recurring):not(.is-shared) .agenda-date-box strong,
html[data-theme="light"] .month-agenda-entry:not(.is-recurring):not(.is-shared) .agenda-date-box span { color: #5b21b6; }
html[data-theme="light"] .month-agenda-entry > div:nth-child(2) > small,
html[data-theme="light"] .month-agenda-entry .calendar-origin-label,
html[data-theme="light"] .month-agenda-entry.is-friend-origin .calendar-origin-label,
html[data-theme="light"] .month-agenda-entry.is-shared small { color: #6523b5; }
html[data-theme="light"] .month-agenda-entry > div:nth-child(2) > strong { color: var(--gold-text); }
html[data-theme="light"] .period-morning { color: var(--gold-text); }
html[data-theme="light"] .period-afternoon { color: #9a3d00; }
html[data-theme="light"] .period-night { color: #6523b5; }
html[data-theme="light"] .calendar-cell,
html[data-theme="light"] .calendar-day-button { color: var(--text); }
html[data-theme="light"] .calendar-cell.is-empty { background: rgba(37,33,44,.025); }
html[data-theme="light"] .calendar-cell:hover,
html[data-theme="light"] .full-calendar-grid .calendar-cell { background: rgba(255,255,255,.55); }
html[data-theme="light"] .calendar-cell:hover { background: #f2eee8; }
html[data-theme="light"] .month-agenda-scroll { background: linear-gradient(180deg, rgba(242,239,233,.98), rgba(242,239,233,.72)); }
html[data-theme="light"] .month-agenda-scroll:focus-visible { color: var(--purple); background: #ece6f3; }
html[data-theme="light"] .calendar-more-popover { border-color: rgba(109,40,217,.24); background: #fffdf9; box-shadow: var(--shadow); }
html[data-theme="light"] .calendar-more-popover-header,
html[data-theme="light"] .calendar-more-entry-copy strong { color: var(--text); }
html[data-theme="light"] .calendar-more-entry { background: #f3f0ea; }
html[data-theme="light"] .calendar-more-entry:hover { background: #ebe6de; }

/* Busca ampliada: ícones, textos auxiliares e spinner com contraste escuro. */
html[data-theme="light"] .catalog-notice strong,
html[data-theme="light"] .browser-search-status strong { color: #29242f; }
html[data-theme="light"] .catalog-notice p,
html[data-theme="light"] .browser-search-status p { color: #625b68; }
html[data-theme="light"] .catalog-notice-icon { color: #6523b5; background: #e7daf8; }
html[data-theme="light"] .catalog-notice-icon svg { stroke-width: 2.1; }
html[data-theme="light"] .browser-search-spinner { border-color: rgba(91,33,182,.24); border-top-color: #5b21b6; }

html[data-theme="light"] .community-rating-switch { border-color: #bdb7af; background: #ebe8e2; }
html[data-theme="light"] .community-rating-switch a { color: #272329; }
html[data-theme="light"] .community-rating-switch a:hover,
html[data-theme="light"] .community-rating-switch a:focus-visible { color: #000; background: rgba(255,255,255,.72); }
html[data-theme="light"] .community-rating-switch a.is-active,
html[data-theme="light"] .community-rating-switch a.is-active.is-negative { color: #000; font-weight: 900; }

html[data-theme="light"] input:not([type="color"]):not([type="checkbox"]):not([type="radio"]),
html[data-theme="light"] textarea,
html[data-theme="light"] select { color: var(--text); border-color: var(--line-strong); background: #fff; }
html[data-theme="light"] select option { color: var(--text); background: #fff; }
html[data-theme="light"] .catalog-search-field,
html[data-theme="light"] .catalog-filter-grid label,
html[data-theme="light"] .search-page-form { background: #fff; }
html[data-theme="light"] .catalog-search-field input,
html[data-theme="light"] .hero-search-form input,
html[data-theme="light"] .search-page-form input { color: var(--text); }

html[data-theme="light"] .status-sheet,
html[data-theme="light"] .calendar-sheet,
html[data-theme="light"] .confirm-sheet,
html[data-theme="light"] .invite-sheet,
html[data-theme="light"] .review-sheet,
html[data-theme="light"] .watch-provider-sheet,
html[data-theme="light"] .legal-dialog,
html[data-theme="light"] .detail-recommend-details > form { color: var(--text); background: linear-gradient(180deg, #fffdf9, #f1eee8); }
html[data-theme="light"] .status-options > button,
html[data-theme="light"] .period-options span,
html[data-theme="light"] .watch-provider-option { color: var(--text); background: rgba(37,33,44,.035); }
html[data-theme="light"] .status-options > button { color: #292231; border-color: #9e7bd1; background: #cbb6eb; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
html[data-theme="light"] .status-options > button:hover,
html[data-theme="light"] .status-options > button:focus-visible,
html[data-theme="light"] .status-options > button.is-selected { color: #211927; border-color: #7c4fc2; background: #b89bdf; box-shadow: 0 0 0 3px rgba(109,40,217,.14); }
html[data-theme="light"] .status-options > button strong { color: #292231; }
html[data-theme="light"] .status-options > button small { color: #493f51; }
html[data-theme="light"] .status-options .status-icon,
html[data-theme="light"] .status-options .status-icon-green { color: #fff; background: #7650ae; }
html[data-theme="light"] .status-options .status-icon svg,
html[data-theme="light"] .status-options .status-icon-green svg { stroke: #fff; }
html[data-theme="light"] .inline-list-toggle { color: #171207; border: 1px solid #c99e22; background: #D4AF37; font-weight: 850; }
html[data-theme="light"] .inline-list-toggle:hover,
html[data-theme="light"] .inline-list-toggle:focus-visible { color: #171207; border-color: #b8880d; background: #E2BF4B; }
html[data-theme="light"] .status-sheet .button-ghost,
html[data-theme="light"] .inline-list-form .button-ghost { color: #423a49; border: 1px solid #989198; background: #fffdf9; }
html[data-theme="light"] .status-sheet .button-ghost:hover,
html[data-theme="light"] .status-sheet .button-ghost:focus-visible,
html[data-theme="light"] .inline-list-form .button-ghost:hover,
html[data-theme="light"] .inline-list-form .button-ghost:focus-visible { color: #251f2a; border-color: #6d656e; background: #eeeae4; }
html[data-theme="light"] .status-sheet .button-primary { color: #171207; border-color: #D4AF37; background: #D4AF37; }
html[data-theme="light"] .sheet-close,
html[data-theme="light"] .legal-dialog-header button { color: var(--text); background: rgba(37,33,44,.055); }
html[data-theme="light"] .calendar-sheet label,
html[data-theme="light"] .auth-form label,
html[data-theme="light"] .calendar-sheet legend,
html[data-theme="light"] .settings-form label,
html[data-theme="light"] .list-create-form label,
html[data-theme="light"] .list-edit-form label,
html[data-theme="light"] .move-item-form label,
html[data-theme="light"] .invite-link-field,
html[data-theme="light"] .inline-list-form label,
html[data-theme="light"] .status-list-picker,
html[data-theme="light"] .consent-fieldset legend { color: #4d4653; }
html[data-theme="light"] .modal-backdrop,
html[data-theme="light"] .legal-dialog::backdrop { background: rgba(36,29,42,.45); }

html[data-theme="light"] .auth-card { background: var(--panel); }
html[data-theme="light"] .auth-visual { background: radial-gradient(circle at 50% 45%, rgba(124,58,237,.26), transparent 24rem), linear-gradient(135deg, #ede7f5, #f8f5ee 55%, #eee4f5); }
html[data-theme="light"] .auth-visual p { color: #5d5563; }
html[data-theme="light"] .consent-fieldset { border-color: var(--line-strong); }
html[data-theme="light"] .legal-document,
html[data-theme="light"] .legal-document p,
html[data-theme="light"] .legal-document li { color: #514b56; }
html[data-theme="light"] .legal-document h1,
html[data-theme="light"] .legal-document h2,
html[data-theme="light"] .legal-document h3,
html[data-theme="light"] .legal-document strong { color: var(--text); }

html[data-theme="light"] .about-hero .about-lead,
html[data-theme="light"] .release-summary,
html[data-theme="light"] .release-change-list p,
html[data-theme="light"] .account-identity-list dd,
html[data-theme="light"] .detail-list-memberships strong,
html[data-theme="light"] .calendar-response-card blockquote { color: var(--text); }
html[data-theme="light"] .release-change-list li { border: 1px solid #e0dad2; background: #f6f2ec; }
html[data-theme="light"] .change-type { border: 1px solid currentColor; }
html[data-theme="light"] .change-criado { color: #5b21b6; background: #e5d8f7; }
html[data-theme="light"] .change-melhorado { color: #795500; background: #f8e9b8; }
html[data-theme="light"] .change-corrigido,
html[data-theme="light"] .change-publicado { color: #08623d; background: #d8f2e5; }
html[data-theme="light"] .change-atualizado { color: #075985; background: #d9effb; }
html[data-theme="light"] .change-preparado { color: #5920a2; background: #e9def8; }
html[data-theme="light"] .change-protegido { color: #9f2941; background: #f7dce2; }
html[data-theme="light"] .compact-item-status,
html[data-theme="light"] .about-hero strong,
html[data-theme="light"] .beta-version-note strong,
html[data-theme="light"] .release-version,
html[data-theme="light"] .detail-synopsis > strong,
html[data-theme="light"] .upcoming-progress strong,
html[data-theme="light"] .upcoming-card > .upcoming-date span,
html[data-theme="light"] .latest-episode-box time,
html[data-theme="light"] .home-review-list header > span:last-child,
html[data-theme="light"] .home-review-list a > b,
html[data-theme="light"] .public-list-card li span,
html[data-theme="light"] .profile-review-card h3 a,
html[data-theme="light"] .account-review-card h3 a,
html[data-theme="light"] .review-login-note a { color: var(--gold-text); }
html[data-theme="light"] .recommendation-confidence,
html[data-theme="light"] .recommendation-card-main small,
html[data-theme="light"] .friend-card .friend-username,
html[data-theme="light"] .auth-forgot-link a,
html[data-theme="light"] .auth-switch a,
html[data-theme="light"] .consent-check button { color: #6730b8; }
html[data-theme="light"] .guest-preview-list article { border-color: var(--line); background: rgba(255,255,255,.65); }
html[data-theme="light"] .guest-account-shortcuts a,
html[data-theme="light"] .guest-features-grid article { color: #5f5866; border-color: var(--line); background: rgba(255,255,255,.58); filter: none; }

html[data-theme="light"] .toast,
html[data-theme="light"] .cookie-confirmation,
html[data-theme="light"] .mobile-more-menu { color: var(--text); background: rgba(255,253,249,.98); }
html[data-theme="light"] .mobile-bottom-nav { border-top-color: var(--line); background: rgba(255,253,249,.96); }
html[data-theme="light"] .mobile-more-menu nav a,
html[data-theme="light"] .mobile-more-menu nav button { color: var(--text); background: var(--panel-2); }
html[data-theme="light"] .mobile-more-menu nav a.is-active { color: #5b21b6; }
html[data-theme="light"] .search-loading-overlay { color: var(--text); background: rgba(247,245,240,.92); }
html[data-theme="light"] .search-loading-overlay p { color: var(--muted); }
html[data-theme="light"] .search-loading-spinner { border-color: rgba(91,33,182,.2); border-top-color: #5b21b6; }
html[data-theme="light"] .home-navigation-loading,
html[data-theme="light"] .for-you-navigation-loading,
html[data-theme="light"] .lists-navigation-loading { color: #17131a; background: rgba(247,245,240,.94); }
html[data-theme="light"] .lists-navigation-loading p { color: #514a57; }
html[data-theme="light"] .lists-navigation-spinner { border-color: rgba(91,33,182,.2); border-top-color: #5b21b6; }
html[data-theme="light"] .home-navigation-spinner { border-color: rgba(91,33,182,.2); border-top-color: #5b21b6; }

/* Seletores de cor deixam de herdar o fundo grafite. */
html[data-theme="light"] .color-field input[type="color"],
html[data-theme="light"] .list-edit-form input[type="color"],
html[data-theme="light"] .inline-list-form input[type="color"],
html[data-theme="light"] .inline-color-field input[type="color"] { color-scheme: light; border-color: #bdb7af; background: #fffdf9; }

@media (max-width: 760px) {
    html[data-theme="light"] body { background: var(--bg); }
    html[data-theme="light"] .topbar { background: transparent; }
    html[data-theme="light"] .mobile-more-backdrop { background: rgba(36,29,42,.35); }
}

/* Área administrativa acompanha a mesma preferência de tema. */
.admin-theme-toggle { width: 34px; height: 34px; color: #e9e4ef !important; background: rgba(255,255,255,.06) !important; }
html[data-theme="light"] .admin-body { color: var(--text); background: var(--bg); }
html[data-theme="light"] .admin-topbar { border-bottom-color: rgba(255,255,255,.12); background: #171222; }
html[data-theme="light"] .admin-topbar nav,
html[data-theme="light"] .admin-topbar nav a,
html[data-theme="light"] .admin-topbar nav button:not(.admin-theme-toggle) { color: #ded9e7; }
html[data-theme="light"] .admin-panel,
html[data-theme="light"] .admin-stat,
html[data-theme="light"] .admin-admin-card { border-color: var(--line); background: var(--panel); }
html[data-theme="light"] .admin-stat strong,
html[data-theme="light"] .admin-panel strong { color: var(--text); }
html[data-theme="light"] .admin-heading p:last-child,
html[data-theme="light"] .admin-stat span,
html[data-theme="light"] .admin-panel-header p,
html[data-theme="light"] .admin-table th,
html[data-theme="light"] .admin-table td small,
html[data-theme="light"] .admin-pagination { color: var(--muted); }
html[data-theme="light"] .admin-table th,
html[data-theme="light"] .admin-table td { border-bottom-color: var(--line); }
html[data-theme="light"] .admin-table tbody tr:hover { background: rgba(109,40,217,.045); }
html[data-theme="light"] .admin-search input,
html[data-theme="light"] .admin-form input,
html[data-theme="light"] .admin-form select,
html[data-theme="light"] .admin-form textarea { color: var(--text); border-color: var(--line-strong); background: #fff; }
html[data-theme="light"] .admin-universe-guide-grid article,
html[data-theme="light"] .admin-universe-edit { border-color: #cfc3dc; background: #f4eef9; }
html[data-theme="light"] .admin-universe-guide-grid p { color: #514a57; }
html[data-theme="light"] .admin-universe-catalog-results article,
html[data-theme="light"] .admin-universe-member { color: #25212c; border-color: #d2ccd5; background: #fff; }
html[data-theme="light"] .admin-universe-catalog-results small,
html[data-theme="light"] .admin-universe-member > header small,
html[data-theme="light"] .admin-universe-block-list small { color: #514a57; }
html[data-theme="light"] .admin-universe-edit > summary { color: #4c1d95; }
html[data-theme="light"] .admin-inline-block-form input { color: #25212c; border-color: #bcb4c3; background: #fff; }
html[data-theme="light"] .admin-universe-block-list article { color: #25212c; border-color: #d9a7af; background: #f9e9ec; }
html[data-theme="light"] .admin-media-picker > [data-media-picker-search] { color: #1f1b24; border-color: #a99ab9; background: #fff; }
html[data-theme="light"] .admin-media-picker-status,
html[data-theme="light"] .admin-universe-manual > summary small,
html[data-theme="light"] .admin-universe-manual-content p,
html[data-theme="light"] .admin-universe-manual-content li,
html[data-theme="light"] .admin-universe-type-grid small { color: #514a57; }
html[data-theme="light"] .admin-universe-manual-content { border-top-color: #d2ccd5; }
html[data-theme="light"] .admin-universe-manual-content > section { color: #25212c; border-color: #d2ccd5; background: #fff; }
html[data-theme="light"] .admin-universe-manual-content li strong { color: #25212c; }
html[data-theme="light"] .admin-universe-type-grid article { background: #f4eef9; }
html[data-theme="light"] .admin-universe-google-link { color: #4c1d95; }
html[data-theme="light"] .admin-universe-google-link:hover,
html[data-theme="light"] .admin-universe-google-link:focus { color: #2e1065; }
html[data-theme="light"] .admin-universe-review-content { border-top-color: #d2ccd5; }
html[data-theme="light"] .admin-universe-review > summary small,
html[data-theme="light"] .admin-universe-review-counter,
html[data-theme="light"] .admin-universe-review-item p,
html[data-theme="light"] .admin-universe-review-group > summary small,
html[data-theme="light"] .admin-universe-review-item > header small { color: #514a57; }
html[data-theme="light"] .admin-universe-review-group { color: #25212c; border-color: #d2ccd5; background: #f8f5fa; }
html[data-theme="light"] .admin-universe-review-item { color: #25212c; border-color: #d2ccd5; background: #fff; }
html[data-theme="light"] .admin-universe-review-item form select { color: #25212c; border-color: #bdb4c4; background: #fff; }
html[data-theme="light"] .admin-universe-card-content { border-top-color: #d2ccd5; }
html[data-theme="light"] .admin-universe-review-group.is-completed { border-color: #a7cbb0; }
html[data-theme="light"] .admin-universe-review-group.is-completed > summary { background: #edf7ef; }
html[data-theme="light"] .admin-universe-review-feedback { color: #166534; }
html[data-theme="light"] .admin-universe-review-feedback.is-error { color: #991b1b; }
html[data-theme="light"] .admin-relationship-types-content { border-top-color: #d2ccd5; }
html[data-theme="light"] .admin-relationship-types > summary small,
html[data-theme="light"] .admin-relationship-types-content section > header p,
html[data-theme="light"] .admin-relationship-type-usage code,
html[data-theme="light"] .admin-relationship-type-usage small { color: #514a57; }
html[data-theme="light"] .admin-relationship-types-content > section { color: #25212c; border-color: #d2ccd5; background: #f8f5fa; }
html[data-theme="light"] .admin-relationship-type-row { color: #25212c; border-color: #d2ccd5; background: #fff; }
html[data-theme="light"] .admin-relationship-type-row input { color: #25212c; border-color: #bdb4c4; background: #fff; }
html[data-theme="light"] .admin-relationship-type-usage strong.is-unused { color: #166534; }
@media(max-width:820px){html[data-theme="light"] .admin-topbar nav{border-top-color:rgba(255,255,255,.16)}html[data-theme="light"] .admin-topbar nav a,html[data-theme="light"] .admin-topbar nav>button,html[data-theme="light"] .admin-topbar nav form button{color:#f5f1fa!important;background:rgba(255,255,255,.08)}html[data-theme="light"] .admin-topbar nav>.admin-theme-toggle{background:#4c1d95!important}}
html[data-theme="light"] .admin-suggestion-card,
html[data-theme="light"] .admin-checkbox-label { color: var(--text); border-color: var(--line); background: #fff; }
html[data-theme="light"] .admin-suggestion-card p { color: #3f3945; }
html[data-theme="light"] .admin-queue-status { border-color: #b8c8e2; background: #edf4ff; }
html[data-theme="light"] .admin-queue-status > strong { color: #193b70; }
html[data-theme="light"] .admin-queue-status p { color: #334155; }
html[data-theme="light"] .admin-queue-status .admin-queue-error,
html[data-theme="light"] .admin-queue-status .admin-queue-error strong { color: #991b1b; }

/* PraVer 1.3.4 / v27 — contraste reforçado em Em breve, Explorar e Minhas Listas. */
html[data-theme="light"] .upcoming-symbol,
html[data-theme="light"] .saved-letter {
    color: #fff;
    border: 1px solid #6d28d9;
    background: #6d28d9;
}
html[data-theme="light"] .confidence-high {
    color: #075f3b;
    border: 1px solid #75c9a0;
    background: #d9f3e5;
}
html[data-theme="light"] .confidence-medium {
    color: #174c82;
    border: 1px solid #91bce7;
    background: #deedfb;
}
html[data-theme="light"] .confidence-unknown {
    color: #45404a;
    border: 1px solid #bdb7c2;
    background: #ece9ee;
}

html[data-theme="light"] .search-page .catalog-type-chips a:not(.is-active) {
    color: #25212c;
    border-color: #c9c4bd;
    background: #e8e5df;
}
html[data-theme="light"] .search-page .catalog-type-chips a:not(.is-active):hover,
html[data-theme="light"] .search-page .catalog-type-chips a:not(.is-active):focus-visible {
    color: #000;
    border-color: #99929e;
    background: #dcd8d1;
}

html[data-theme="light"] .saved-status {
    color: #4c1d95;
    border: 1px solid #c5abe8;
    background: #e9ddf8;
}
html[data-theme="light"] .saved-status-watched {
    color: #075f3b;
    border-color: #8bcaaa;
    background: #dcf2e6;
}
html[data-theme="light"] .saved-progress,
html[data-theme="light"] .saved-progress strong,
html[data-theme="light"] .saved-progress em { color: #17131a; }

html[data-theme="light"] .calendar-item-button {
    color: #4c1d95;
    border-color: #8250c7;
    background: #e5d7f6;
}
html[data-theme="light"] .calendar-item-button:hover,
html[data-theme="light"] .calendar-item-button:focus-visible {
    color: #fff;
    border-color: #5b21b6;
    background: #6d28d9;
}
html[data-theme="light"] .list-item-actions .favorite-toggle,
html[data-theme="light"] .list-item-actions .review-open-button {
    color: #4a4350;
    border-color: #aaa3ad;
    background: #eeeae4;
}
html[data-theme="light"] .list-item-actions .favorite-toggle:hover,
html[data-theme="light"] .list-item-actions .favorite-toggle:focus-visible,
html[data-theme="light"] .list-item-actions .favorite-toggle.is-favorite {
    color: #a51f3e;
    border-color: #c85b72;
    background: #f7dce2;
}
html[data-theme="light"] .list-item-actions .review-open-button:hover,
html[data-theme="light"] .list-item-actions .review-open-button:focus-visible,
html[data-theme="light"] .list-item-actions .review-open-button.has-review {
    color: #684900;
    border-color: #b98d18;
    background: #f6e6ad;
}
html[data-theme="light"] .icon-danger-button {
    color: #a5223d;
    border-color: #d993a1;
    background: #f8dfe4;
}
html[data-theme="light"] .icon-danger-button:hover,
html[data-theme="light"] .icon-danger-button:focus-visible {
    color: #fff;
    border-color: #a5223d;
    background: #b92f4b;
}
html[data-theme="light"] .recommendation-badge {
    color: #5f4300;
    border: 1px solid #c99a20;
    background: #f7e5a4;
}
html[data-theme="light"] .series-info-button {
    color: #fff;
    border-color: #5b21b6;
    background: #6d28d9;
}
html[data-theme="light"] .series-info-button:hover,
html[data-theme="light"] .series-info-button:focus-visible {
    border-color: #4c1d95;
    background: #4c1d95;
}
html[data-theme="light"] .list-visibility-badge {
    color: #3f3945;
    border: 1px solid #aaa3ad;
    background: #e9e5df;
}
html[data-theme="light"] .list-visibility-badge.is-public {
    color: #075f3b;
    border-color: #75bd99;
    background: #d8f1e3;
}

html[data-theme="light"] .universe-new-list-badge,
html[data-theme="light"] .universe-new-item-badge {
    color: #4c1d95;
    border-color: rgba(109,40,217,.42);
    background: rgba(124,58,237,.13);
}
html[data-theme="light"] .universe-new-status-review { background: rgba(124,58,237,.06); }
html[data-theme="light"] .universe-new-status-review > strong { color: #5b21b6; }

/* PraVer 1.3.4 / v29 — revisão ampla do painel administrativo e detalhes. */
html[data-theme="light"] .admin-role {
    color: #4c1d95;
    border-color: #a987d5;
    background: #e7d9f7;
}
html[data-theme="light"] .admin-open,
html[data-theme="light"] .admin-back,
html[data-theme="light"] .admin-pagination a {
    color: #5620a0;
    text-decoration: underline;
    text-underline-offset: 2px;
}
html[data-theme="light"] .admin-open:hover,
html[data-theme="light"] .admin-open:focus-visible,
html[data-theme="light"] .admin-back:hover,
html[data-theme="light"] .admin-back:focus-visible { color: #2f0f61; }
html[data-theme="light"] .admin-pending-badge {
    color: #171207;
    border: 1px solid #9f7200;
    background: #e4b92f;
}
html[data-theme="light"] .admin-welcome-users {
    color: #25212c;
    border-color: #bdb7af;
    background: #f2efe9;
}
html[data-theme="light"] .admin-welcome-users label { border-bottom-color: #d5cfc7; }
html[data-theme="light"] .admin-welcome-users label:hover { background: #e8e2da; }
html[data-theme="light"] .admin-email-preview {
    color: #25212c;
    border-color: #c8c1b8;
    background: #f1ede6;
}
html[data-theme="light"] .admin-email-preview summary {
    color: #25212c;
    background: #e5e0d8;
}
html[data-theme="light"] .admin-email-preview > ul,
html[data-theme="light"] .admin-email-preview > ul li { color: #3f3945; }
html[data-theme="light"] .admin-email-preview-meta {
    color: #3f3945;
    border-color: #cfc8bf;
    background: #f7f4ef;
}
html[data-theme="light"] .admin-email-preview-meta span { color: #655e69; }
html[data-theme="light"] .admin-mail-status {
    color: #704d00;
    border-color: #c89a2c;
    background: #f7e7b7;
}
html[data-theme="light"] .admin-mail-status.is-ready {
    color: #075f3b;
    border-color: #78bd99;
    background: #d9f1e3;
}
html[data-theme="light"] .admin-mail-status.is-error {
    color: #98213a;
    border-color: #d494a2;
    background: #f7dfe4;
}

html[data-theme="light"] .synopsis-suggestion-panel {
    color: #25212c;
    border-color: #a98bd0;
    background: #eee6f7;
}
html[data-theme="light"] .synopsis-suggestion-panel summary { color: #4c1d95; }
html[data-theme="light"] .synopsis-suggestion-panel form > small { color: #514a57; }
html[data-theme="light"] .detail-universe-panel { border-color: rgba(109,40,217,.24); background: linear-gradient(135deg,rgba(109,40,217,.08),#fffdf9); }
html[data-theme="light"] .detail-universe-heading > span { color: #5b21b6; background: rgba(109,40,217,.12); }
html[data-theme="light"] .list-universe-relation summary { color: #4c1d95; border-color: rgba(109,40,217,.25); background: rgba(109,40,217,.08); }
html[data-theme="light"] .list-universe-relation > div,
html[data-theme="light"] .list-universe-relation a { background: #fff; }
html[data-theme="light"] .universe-new-list { border-color: rgba(109,40,217,.24); background: rgba(109,40,217,.06); }

/* v59.3 — contraste dos universos encontrados na página inicial. */
html[data-theme="light"] .home-universe-discoveries {
    color: #211b29;
    border-color: #9b72cf;
    background: linear-gradient(135deg, #eee6f7 0%, #f8f4fb 58%, #fffdf9 100%);
    box-shadow: 0 10px 28px rgba(76,29,149,.08);
}
html[data-theme="light"] .home-universe-discoveries .eyebrow { color: #5b21b6; }
html[data-theme="light"] .home-universe-discoveries .home-section-heading h2 { color: #211b29; }
html[data-theme="light"] .home-universe-discoveries .home-section-heading p:last-child { color: #514a57; }
html[data-theme="light"] .home-universe-discovery-list article {
    color: #211b29;
    border-color: #c8becf;
    background: #fffdf9;
    box-shadow: 0 2px 7px rgba(45,35,52,.06);
}
html[data-theme="light"] .home-universe-discovery-list article > span {
    color: #5b21b6;
    background: #e8dcf8;
}
html[data-theme="light"] .home-universe-discovery-list article strong { color: #211b29; }
html[data-theme="light"] .home-universe-discovery-list article small { color: #514a57; }
html[data-theme="light"] .home-universe-discovery-list summary { color: #302838; }
html[data-theme="light"] .home-universe-discovery-list summary:hover { color: #4c1d95; background: #eee6f7; border-radius: 8px; }
html[data-theme="light"] .home-universe-discovery-list details > div {
    color: #211b29;
    border-color: #bcb1c5;
    background: #fffdf9;
}
html[data-theme="light"] .home-universe-discovery-list details button { color: #302838; }
html[data-theme="light"] .home-universe-discovery-list details button:hover { color: #4c1d95; background: #eee6f7; border-radius: 7px; }
html[data-theme="light"] .home-universe-discovery-list .button-primary { color: #171207; }

html[data-theme="light"] .upcoming-refresh-guidance {
    border-color: #a98bd0;
    background: #e9e0f4;
}
html[data-theme="light"] .upcoming-refresh-guidance svg { color: #5b21b6; }
html[data-theme="light"] .upcoming-refresh-guidance p { color: #49424f; }
html[data-theme="light"] .upcoming-source-note {
    border-color: #85acd1;
    background: #e5f0fa;
}
html[data-theme="light"] .upcoming-source-note svg { color: #155b91; }
html[data-theme="light"] .upcoming-source-note p { color: #3e4d5e; }

html[data-theme="light"] .current-progress {
    color: #25212c;
    border-left-color: #a57800;
    background: #f3e9c8;
}
html[data-theme="light"] .current-progress strong { color: #694900; }
html[data-theme="light"] .current-progress .progress-edit-button { color: #694900; }

/* PraVer 1.5.4_v4 — busca de amigos no modo claro. */
html[data-theme="light"] .recommend-friends-search{background:#f3f0f5}
html[data-theme="light"] .recommend-friend-details .recommend-friends-search{background:#fffdf9}
html[data-theme="light"] .recommend-friends-search input,
html[data-theme="light"] .recommend-friend-details .recommend-friends-search input{color:#25212c!important;border-color:#cfc8d5!important;background:#fff!important}
