/* Pipoca Rosa • tema noturno preto + rosa • disponível em todas as páginas */
.theme-switch{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #da78a4;border-radius:12px;padding:9px 12px;background:#ffe6f0;color:#6f2650;font:900 12px/1.4 'Nunito',system-ui,sans-serif;min-height:39px;white-space:nowrap;cursor:pointer;transition:transform .15s,background .15s}
.theme-switch:hover{transform:translateY(-2px)}.theme-switch:focus-visible{outline:3px solid #ff73b9;outline-offset:3px}
[data-theme="dark"]{color-scheme:dark;--ink:#f9e4f3;--ink2:#e8b7d2;--rose:#ff69b1;--rose-dark:#ffa2ca;--rose-light:#422139;--blush:#21131f;--butter:#ffb4d7;--vanilla:#140e16;--sky:#261a2e;--panel:#201520;--mauve:#dca3ed;--line:#69415a;--shadow:5px 5px 0 #08060a;--st-plum:#f9d9ed;--st-ink:#f5dced;--st-muted:#d5a5c4;--st-pink:#ff73b3;--st-blush:#2c1727;--st-border:#603550;--st-glass:#241621;--st-shadow:0 12px 30px rgba(0,0,0,.42)}
[data-theme="dark"] body,[data-theme="dark"] .studio-body{background:#0d0b0f!important;color:#f8deef!important}
[data-theme="dark"] .site-header,[data-theme="dark"] .studio-topbar,[data-theme="dark"] .studio-sidebar{background:#171019!important;border-color:#5c344d!important;color:#f6d7e9!important}
[data-theme="dark"] .mini-ribbon{background:#080609;color:#f9cce2}
[data-theme="dark"] .brand-name,[data-theme="dark"] .studio-brand strong,[data-theme="dark"] h1,[data-theme="dark"] h2,[data-theme="dark"] h3{color:#ff9dcb}
[data-theme="dark"] p,[data-theme="dark"] small,[data-theme="dark"] label,[data-theme="dark"] li,[data-theme="dark"] .studio-muted,[data-theme="dark"] .studio-note{color:#e3bdd4}
[data-theme="dark"] a{color:#ffc7e2}
[data-theme="dark"] .nav a:hover,[data-theme="dark"] .nav a.current,[data-theme="dark"] .studio-navbtn.active{background:#3d1833!important;color:#ffc0df!important}
[data-theme="dark"] .theme-switch{background:#37162d;color:#ffd4e9;border-color:#ff74ad}
[data-theme="dark"] :is(.hero,.page-hero,.rose-rank-section,.section,.cream,.blush,.legal-shell,.legal-help-strip,.footer,.site-footer,.section-cream,.section-blush,.section-yellow,.studio-shell,.studio-main){background-color:#100c12!important;background-image:linear-gradient(155deg,#160e19 0%,#241121 52%,#100c12 100%)!important;color:#f5d9ea}
[data-theme="dark"] :is(.hero h1,.hero h1 span,.page-hero h1){color:#ffa2ce!important;text-shadow:2px 3px 0 #4c1a38}
[data-theme="dark"] :is(.hero-lead,.hero-note,.rose-rank-intro p,.rose-rank-intro h2,.legal-hero p,.legal-document p,.legal-document li,.legal-toc a,.support-faq p){color:#e9c0db!important}
[data-theme="dark"] :is(.account-card,.studio-card,.studio-big-card,.studio-stats article,.studio-command,.studio-option,.studio-confirm,.studio-alert,.legal-document,.legal-toc,.legal-pill,.home-rank-placeholder,.rose-toolbar,.rose-empty,.support-faq details,.support-method,.support-card,.medal-card,.rank-table-wrap,.home-rank-card,.dialog,.rose-placement,.studio-allowlist,.studio-history-item,.studio-category-row,.studio-toolbar){background:#201420!important;border-color:#6a3b59!important;box-shadow:0 5px 16px rgba(0,0,0,.26)!important;color:#f9ddea!important}
[data-theme="dark"] :is(.studio-command-details,.studio-checklist,.studio-command-head,.studio-server,.studio-navbtn,.studio-catbtn,.studio-tag,.studio-badges span,.studio-account,.studio-pill,.studio-heading,.studio-savebar,.studio-search,.studio-select-label select){color:#f3d1e6!important;border-color:#693954!important}
[data-theme="dark"] :is(.studio-command-details,.studio-allowlist,.studio-server.active,.studio-pill,.studio-tag,.studio-badges span,.studio-account,.studio-navbtn:hover,.studio-category-row,.legal-note){background:#2c1729!important}
[data-theme="dark"] :is(input,textarea,select,.studio-search input,.redeem-form input){background:#151018!important;color:#ffdeed!important;border-color:#805073!important}
[data-theme="dark"] input::placeholder,[data-theme="dark"] textarea::placeholder{color:#ad829e}
[data-theme="dark"] :is(.btn-soft,.btn-yellow,.studio-outline){background:#3b1b32!important;color:#ffe0ee!important;border-color:#cc6c9c!important}
[data-theme="dark"] :is(.btn-primary,.studio-primary){background:#d94786!important;color:#fff!important;border-color:#f58ab9!important}
[data-theme="dark"] .studio-savebar{background:#391b33!important;border-color:#ff82b7!important}
[data-theme="dark"] .studio-blocker{background:rgba(0,0,0,.76)!important}
[data-theme="dark"] :is(.studio-command-info p,.studio-bot-note,.studio-card p,.studio-section-title p,.studio-intro p,.studio-breadcrumb,.studio-server,.sidebar-section-title,.studio-brand small,.studio-top-right,.studio-history-item p){color:#d7a9c6!important}
[data-theme="dark"] :is(.rose-rank-row.is-gold .rose-placement,.rose-rank-row.is-silver .rose-placement,.rose-rank-row.is-bronze .rose-placement){background:#2d1827!important;color:#ffd4e9!important}
[data-theme="dark"] :is(.footer-bottom,.legal-footer-links){border-color:#5a324b!important}
[data-theme="dark"] .hamburger{background:#2a1726;color:#ffc4df;border-color:#824660}
[data-theme="dark"] .pixel-label{color:#ffa2d0}
[data-theme="dark"] :focus-visible{outline-color:#ff8fc5!important}
@media(max-width:1080px){.nav .theme-switch{padding:8px 9px;font-size:11px}}
@media(max-width:850px){.nav .theme-switch{width:100%;max-width:300px;margin:6px auto}}

body>.theme-switch{position:fixed;right:18px;bottom:18px;z-index:110;box-shadow:0 8px 22px rgba(57,20,43,.28)}
[data-theme="dark"] body>.theme-switch{background:#481c37;color:#ffe0f0;box-shadow:0 7px 25px #000}
@media(max-width:600px){body>.theme-switch{right:11px;bottom:11px;font-size:11px;padding:9px 11px}}
/* ═══════ Dark mode global v2: corrige cartões que usavam cores claras fixas ═══════ */
[data-theme="dark"]{--pr-night:#100b13;--pr-surface:#211422;--pr-surface2:#311a2e;--pr-ink:#ffe6f2;--pr-quiet:#edbdd5;--pr-edge:#75435e}
[data-theme="dark"] :is(.admin-hero,.admin-section,.admin-section.admin-light,.admin-mini-menu,.admin-catalog,.review-main,.review-hero,.review-layout,.review-panel,.review-write,.account-wrap,.rank-toolbar,.rose-world,.section.tint,.info-ribbon){background:#120c16!important;color:var(--pr-ink)!important;border-color:var(--pr-edge)!important}
[data-theme="dark"] :is(.admin-mini-menu,.admin-mini-menu .wrap,.admin-step,.admin-tip,.admin-tutorial,.admin-tutorial>div,.admin-catalog-toolbar,.admin-search-label,.admin-command,.admin-command>summary,.admin-command-detail,.admin-command-example,.admin-actions-list li,.admin-member-item,.admin-member-footer,.admin-help-bottom,.admin-home-teaser,.admin-filter,.admin-command-grid,.admin-empty,.admin-phase-pill,.admin-section code,.admin-copy,.admin-tutorial>img,.step-card,.news-card,.feature-card,.feature-body,.scenery-card,.searchbox,.command-row,.command-category,.stat,.stat-card,.info-ribbon,.rank-filters,.rank-toolbar,.filter-btn,.gallery-info,.empty-result,.review-reward,.review-form,.review-score,.review-scale,.review-done,.review-status,.review-card,.review-panel,.review-write,.review-entry,.review-list,.review-form-footer,.review-votes,.account-header,.account-hint,.support-faq,.support-faq summary,.legal-help-strip){background-color:var(--pr-surface)!important;border-color:var(--pr-edge)!important;color:var(--pr-ink)!important;box-shadow:0 8px 22px #08050955!important}
[data-theme="dark"] :is(.admin-hero,.admin-tip,.admin-home-teaser,.studio-highlight,.studio-hero-card,.studio-feature-tile){background-image:linear-gradient(115deg,#29162c,#1a1120)!important}
[data-theme="dark"] :is(.admin-head p,.admin-step p,.admin-tutorial li,.admin-member-item p,.admin-member-footer p,.admin-help-bottom p,.admin-command-sub,.admin-action-text span,.admin-command-example,.admin-tip,.admin-trust,.admin-hero p,.admin-count,.admin-empty,.admin-member-item,.admin-tutorial p,.admin-command p,.admin-command-detail,.admin-home-teaser p,.admin-section label,.admin-card-overline,.admin-filters,.review-sub,.review-card p,.account-hint,.support-method p,.step-card p,.news-card p){color:var(--pr-quiet)!important}
[data-theme="dark"] :is(.admin-head h2,.admin-hero h1,.admin-step h3,.admin-tutorial h3,.admin-member-item h3,.admin-command-name,.admin-home-teaser h3,.admin-command-grid strong,.studio-card h2,.studio-card h3,.studio-feature-header h2,.studio-hero-card h2,.studio-tile-title,.studio-field strong,.studio-history-entry strong){color:#ffa5d0!important;text-shadow:none!important}
[data-theme="dark"] :is(.admin-mini-menu a,.admin-section code,.admin-copy,.admin-filter,.admin-phase-pill,.admin-command summary:after,.admin-command .admin-copy,.chip-btn,.filter-btn,.review-like,.review-dislike){background:#381e34!important;color:#ffcee7!important;border-color:#875076!important}
[data-theme="dark"] :is(.admin-search-label input,.admin-catalog-toolbar input,.searchbox input,.studio-field input,.studio-field textarea,.studio-field select){background:#140f19!important;color:#ffe6f3!important;border-color:#875079!important}
[data-theme="dark"] :is(.studio-feature-tile,.studio-form-card,.studio-schedule-card,.studio-toggle-line,.studio-legacy,.studio-history-entry,.studio-live-note,.studio-hero-card,.studio-tip,.studio-big-card,.studio-quiet){background-color:var(--pr-surface)!important;color:var(--pr-ink)!important;border-color:var(--pr-edge)!important;box-shadow:0 6px 16px #08050944!important}
[data-theme="dark"] :is(.studio-tile-desc,.studio-feature-header p,.studio-hero-card p,.studio-field,.studio-field small,.studio-toggle-line small,.studio-legacy p,.studio-legacy small,.studio-history-entry p,.studio-big-card p,.studio-tip,.studio-live-note,.studio-server-info){color:var(--pr-quiet)!important}
[data-theme="dark"] :is(.studio-tile-icon,.studio-body .studio-card code,.studio-schedule-top,.studio-server-icon){background:#3b1c36!important;color:#ffcce5!important}
[data-theme="dark"] :is(.studio-savebar,.studio-confirm,.studio-alert){background:#2b182c!important;color:#ffe5f2!important;border-color:#b3608a!important}
[data-theme="dark"] .studio-savebar :is(strong,small){color:#ffe3f2!important}
[data-theme="dark"] :is(.studio-navbtn,.studio-server,.studio-top-right a,.studio-outline,.studio-quiet){color:#ffcee7!important;border-color:#784462!important}
[data-theme="dark"] :is(.studio-body textarea::placeholder,.studio-body input::placeholder){color:#c89ab7}
[data-theme="dark"] .theme-switch{background:#4b1e39!important;color:#ffe2f0!important}
