/* ═══════════════════════════════════════════════════════════════
   CHEATSPIRE USER PLUGIN — DARK THEME v2.0
   Paleta: #05070a fundo | #2563eb azul | #fff texto
═══════════════════════════════════════════════════════════════ */

:root {
    --cs-bg:        #05070a;
    --cs-surface:   rgba(255,255,255,.035);
    --cs-border:    rgba(255,255,255,.07);
    --cs-blue:      #2563eb;
    --cs-blue-glow: rgba(37,99,235,.25);
    --cs-blue-dim:  rgba(37,99,235,.12);
    --cs-text:      rgba(220,230,245,.82);
    --cs-text-dim:  rgba(255,255,255,.35);
    --cs-white:     #fff;
    --cs-green:     #16a34a;
    --cs-gold:      #f59e0b;
    --cs-purple:    #9333ea;
    --cs-red:       #dc2626;
    --cs-radius:    14px;
    --cs-radius-sm: 9px;
}

.cs-user-wrap *,
.cs-user-wrap *::before,
.cs-user-wrap *::after { box-sizing: border-box; }

.cs-user-wrap {
    background: var(--cs-bg);
    color: var(--cs-text);
    font-family: inherit;
}

/* ── AUTH (LOGIN / CADASTRO) ────────────────────────────────── */

.cs-auth-outer {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding: 3rem 1.5rem;
}

.cs-auth-box {
    width: 100%;
    max-width: 440px;
    background: rgba(255,255,255,.035);
    border: 1px solid var(--cs-border);
    border-top: 3px solid var(--cs-blue);
    border-radius: var(--cs-radius);
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
}
.cs-auth-box::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 160px; height: 160px;
    background: var(--cs-blue-glow);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}

.cs-auth-eyebrow {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .58rem;
    font-weight: 900;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--cs-blue);
    margin-bottom: .75rem;
}
.cs-auth-eyebrow::before {
    content: '';
    width: 18px; height: 1px;
    background: var(--cs-blue);
    box-shadow: 0 0 6px var(--cs-blue);
}

.cs-auth-title {
    font-size: 1.9rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -.04em;
    color: var(--cs-white);
    line-height: 1;
    margin-bottom: 1.75rem;
}

.cs-field { margin-bottom: 1.1rem; }
.cs-field label {
    display: block;
    font-size: .6rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--cs-text-dim);
    margin-bottom: .45rem;
}
.cs-field input[type="text"],
.cs-field input[type="email"],
.cs-field input[type="password"] {
    width: 100%;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--cs-radius-sm);
    padding: .75rem 1rem;
    color: var(--cs-white);
    font-size: .88rem;
    font-weight: 600;
    transition: border-color .2s, background .2s, box-shadow .2s;
    outline: none;
}
.cs-field input:focus {
    border-color: var(--cs-blue);
    background: rgba(37,99,235,.07);
    box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}
.cs-field input::placeholder { color: rgba(255,255,255,.2); }

.cs-check-row {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    margin-bottom: 1rem;
    cursor: pointer;
}
.cs-check-row input[type="checkbox"] {
    width: 16px; height: 16px;
    margin-top: 2px;
    accent-color: var(--cs-blue);
    cursor: pointer;
    flex-shrink: 0;
}
.cs-check-row span {
    font-size: .78rem;
    font-weight: 600;
    color: var(--cs-text);
    line-height: 1.5;
}
.cs-check-row a { color: #60a5fa; text-decoration: none; }
.cs-check-row a:hover { text-decoration: underline; }

.cs-btn-primary {
    display: block;
    width: 100%;
    padding: .8rem 1.5rem;
    background: var(--cs-blue);
    color: #fff;
    font-size: .65rem;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
    border: none;
    border-radius: var(--cs-radius-sm);
    cursor: pointer;
    transition: background .2s, transform .15s, box-shadow .2s;
    text-align: center;
    text-decoration: none;
}
.cs-btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37,99,235,.4);
    color: #fff;
}
.cs-btn-primary:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
}

.cs-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .55rem 1.1rem;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--cs-radius-sm);
    color: var(--cs-text);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s, border-color .2s;
    text-decoration: none;
}
.cs-btn-secondary:hover {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.2);
    color: var(--cs-white);
}

.cs-auth-footer {
    text-align: center;
    margin-top: 1.25rem;
    font-size: .72rem;
    color: var(--cs-text-dim);
}
.cs-auth-footer a { color: #60a5fa; font-weight: 700; text-decoration: none; }
.cs-auth-footer a:hover { text-decoration: underline; }

.cs-feedback {
    border-radius: var(--cs-radius-sm);
    padding: .75rem 1rem;
    margin-bottom: 1.1rem;
    font-size: .78rem;
    font-weight: 700;
    display: none;
}
.cs-feedback.cs-success {
    background: rgba(22,163,74,.12);
    border: 1px solid rgba(22,163,74,.3);
    color: #86efac;
    display: block;
}
.cs-feedback.cs-error {
    background: rgba(220,38,38,.1);
    border: 1px solid rgba(220,38,38,.3);
    color: #fca5a5;
    display: block;
}

.cs-terms-box {
    background: rgba(255,255,255,.03);
    border: 1px solid var(--cs-border);
    border-radius: var(--cs-radius-sm);
    padding: .85rem 1rem;
    font-size: .73rem;
    color: var(--cs-text-dim);
    line-height: 1.7;
    max-height: 140px;
    overflow-y: auto;
    margin-top: .5rem;
    display: none;
}
.cs-terms-box.open { display: block; }
.cs-terms-link {
    background: none;
    border: none;
    color: #60a5fa;
    font-size: .72rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}

/* ── DASHBOARD ──────────────────────────────────────────────── */

.cs-dash-wrap {
    background: var(--cs-bg);
    padding: 2rem 0 4rem;
}

.cs-breadcrumb {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.25rem 2rem .25rem;
    display: flex;
    align-items: center;
    gap: .4rem;
    flex-wrap: wrap;
}
.cs-breadcrumb a, .cs-breadcrumb span {
    font-size: .58rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.3);
    text-decoration: none;
}
.cs-breadcrumb a:hover { color: #60a5fa; }
.cs-breadcrumb .sep { opacity: .3; }

.cs-dash-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 1.75rem;
    align-items: start;
}
@media (max-width: 900px) {
    .cs-dash-inner { grid-template-columns: 1fr; padding: 0 1.25rem; }
}

.cs-dash-sidebar { position: sticky; top: 100px; }

.cs-profile-card {
    background: var(--cs-surface);
    border: 1px solid var(--cs-border);
    border-radius: var(--cs-radius);
    overflow: hidden;
    margin-bottom: 1rem;
}
.cs-profile-cover {
    width: 100%; height: 72px;
    background: linear-gradient(135deg, #0c0f16, #111827);
    position: relative; overflow: hidden;
}
.cs-profile-cover img {
    width: 100%; height: 100%;
    object-fit: cover; filter: brightness(.7);
}
.cs-profile-cover-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(5,7,10,.9), transparent);
}
.cs-profile-info {
    padding: 0 1.1rem 1.1rem;
    text-align: center;
    position: relative;
}
.cs-sidebar-avatar {
    width: 68px; height: 68px;
    border-radius: 50%;
    border: 3px solid var(--cs-bg);
    box-shadow: 0 0 0 2px var(--cs-blue);
    margin: -34px auto .55rem;
    display: block;
    object-fit: cover;
    background: #0c0f16;
}
.cs-sidebar-name {
    font-size: .88rem;
    font-weight: 900;
    color: var(--cs-white);
    text-transform: uppercase;
    letter-spacing: -.02em;
    margin-bottom: .25rem;
}
.cs-sidebar-since {
    font-size: .53rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--cs-text-dim);
}

.cs-badge {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .22rem .7rem;
    border-radius: 999px;
    font-size: .53rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin: .3rem auto .05rem;
}
.cs-badge-member   { background: rgba(100,116,139,.15); border: 1px solid rgba(100,116,139,.3); color: #94a3b8; }
.cs-badge-premium  { background: rgba(245,158,11,.12);  border: 1px solid rgba(245,158,11,.3);  color: #fcd34d; }
.cs-badge-veteran  { background: rgba(37,99,235,.12);   border: 1px solid rgba(37,99,235,.3);   color: #93c5fd; }
.cs-badge-editor   { background: rgba(22,163,74,.12);   border: 1px solid rgba(22,163,74,.3);   color: #86efac; }
.cs-badge-kingspire{
    background: linear-gradient(135deg,rgba(220,38,38,.15),rgba(147,51,234,.15));
    border: 1px solid rgba(220,38,38,.4);
    color: #fca5a5;
}

.cs-dash-nav {
    border-top: 1px solid var(--cs-border);
    padding: .5rem .65rem;
}
.cs-dash-nav a {
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .55rem .7rem;
    border-radius: var(--cs-radius-sm);
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--cs-text-dim);
    text-decoration: none;
    transition: background .2s, color .2s;
    margin-bottom: .05rem;
}
.cs-dash-nav a .cs-nav-icon {
    font-size: .8rem;
    width: 16px;
    text-align: center;
    color: var(--cs-blue);
    opacity: .55;
    flex-shrink: 0;
}
.cs-dash-nav a:hover, .cs-dash-nav a.cs-nav-active {
    background: var(--cs-blue-dim);
    color: var(--cs-white);
}
.cs-dash-nav a:hover .cs-nav-icon,
.cs-dash-nav a.cs-nav-active .cs-nav-icon { opacity: 1; }

.cs-nav-logout {
    color: rgba(252,165,165,.4) !important;
    margin-top: .2rem;
    border-top: 1px solid var(--cs-border);
    padding-top: .65rem !important;
}
.cs-nav-logout:hover {
    background: rgba(220,38,38,.08) !important;
    color: #fca5a5 !important;
}

.cs-perm-card {
    background: var(--cs-surface);
    border: 1px solid var(--cs-border);
    border-radius: var(--cs-radius);
    padding: .9rem;
}
.cs-perm-title {
    font-size: .55rem;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--cs-text-dim);
    margin-bottom: .65rem;
}
.cs-perm-item {
    display: flex;
    align-items: center;
    gap: .45rem;
    font-size: .65rem;
    font-weight: 700;
    color: var(--cs-text-dim);
    padding: .28rem 0;
    border-bottom: 1px solid rgba(255,255,255,.03);
}
.cs-perm-item:last-child { border-bottom: none; }
.cs-perm-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}
.cs-perm-dot.on  { background: #4ade80; box-shadow: 0 0 5px rgba(74,222,128,.6); }
.cs-perm-dot.off { background: rgba(255,255,255,.1); }

/* Main sections */
.cs-dash-main {}

.cs-section { display: none; }
.cs-section.cs-section-active {
    display: block;
    animation: csFadeIn .2s ease;
}
@keyframes csFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.cs-card {
    background: var(--cs-surface);
    border: 1px solid var(--cs-border);
    border-radius: var(--cs-radius);
    padding: 1.6rem;
    margin-bottom: 1.1rem;
}
.cs-card-title {
    font-size: .62rem;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--cs-blue);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}
.cs-card-title::before {
    content: '';
    width: 12px; height: 1px;
    background: var(--cs-blue);
    box-shadow: 0 0 6px var(--cs-blue);
}

.cs-form-field { margin-bottom: 1rem; }
.cs-form-field label {
    display: block;
    font-size: .58rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--cs-text-dim);
    margin-bottom: .38rem;
}
.cs-form-field input[type="text"],
.cs-form-field input[type="email"],
.cs-form-field input[type="password"],
.cs-form-field textarea {
    width: 100%;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--cs-radius-sm);
    padding: .68rem .9rem;
    color: var(--cs-white);
    font-size: .84rem;
    font-weight: 600;
    transition: border-color .2s, box-shadow .2s;
    outline: none;
}
.cs-form-field input:focus,
.cs-form-field textarea:focus {
    border-color: var(--cs-blue);
    box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.cs-form-field input::placeholder,
.cs-form-field textarea::placeholder { color: rgba(255,255,255,.18); }
.cs-form-field textarea { resize: vertical; min-height: 80px; }

.cs-form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
@media (max-width: 600px) { .cs-form-grid-2 { grid-template-columns: 1fr; } }

.cs-check-field {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .65rem;
    cursor: pointer;
}
.cs-check-field input[type="checkbox"] {
    width: 15px; height: 15px;
    accent-color: var(--cs-blue);
    flex-shrink: 0;
}
.cs-check-field span { font-size: .75rem; font-weight: 600; color: var(--cs-text); }

.cs-media-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .8rem;
    background: rgba(255,255,255,.02);
    border: 1px dashed rgba(255,255,255,.1);
    border-radius: var(--cs-radius-sm);
    transition: border-color .2s;
}
.cs-media-row:hover { border-color: rgba(37,99,235,.4); }
.cs-media-preview-avatar {
    width: 56px; height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--cs-border);
    flex-shrink: 0; background: #0c0f16;
}
.cs-media-preview-cover {
    width: 90px; height: 45px;
    border-radius: var(--cs-radius-sm);
    object-fit: cover;
    border: 1px solid var(--cs-border);
    flex-shrink: 0; background: #0c0f16;
}
.cs-media-info p {
    font-size: .65rem;
    color: var(--cs-text-dim);
    margin-bottom: .35rem;
    margin-top: 0;
}

.cs-info-grid { display: grid; gap: .5rem; }
.cs-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .55rem .8rem;
    background: rgba(255,255,255,.02);
    border-radius: var(--cs-radius-sm);
    border: 1px solid var(--cs-border);
}
.cs-info-key {
    font-size: .56rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--cs-text-dim);
}
.cs-info-val { font-size: .8rem; font-weight: 700; color: var(--cs-white); }

/* ── PERFIL PÚBLICO ─────────────────────────────────────────── */
.cs-profile-wrap { background: var(--cs-bg); min-height: 80vh; }

.cs-profile-hero {
    position: relative;
    height: 200px;
    overflow: hidden;
}
.cs-profile-hero-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(.28) saturate(.5);
    transform: scale(1.04);
}
.cs-profile-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(0deg, #05070a 0%, rgba(5,7,10,.6) 60%, rgba(5,7,10,.15) 100%);
}
.cs-profile-hero-line {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cs-blue), rgba(37,99,235,.3), transparent);
}
.cs-profile-identity {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    display: flex;
    align-items: flex-end;
    gap: 1.25rem;
    padding: 0 2rem 1.5rem;
}
.cs-pub-avatar {
    width: 86px; height: 86px;
    border-radius: 50%;
    border: 3px solid var(--cs-bg);
    box-shadow: 0 0 0 2px var(--cs-blue);
    object-fit: cover;
    flex-shrink: 0;
    background: #0c0f16;
}
.cs-pub-name {
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -.04em;
    color: var(--cs-white);
    line-height: 1;
    margin-bottom: .25rem;
}
.cs-pub-since {
    font-size: .53rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--cs-text-dim);
}

.cs-profile-body {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 2rem 4rem;
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 1.75rem;
}
@media (max-width: 900px) {
    .cs-profile-body { grid-template-columns: 1fr; padding: 1.5rem 1.25rem 3rem; }
    .cs-profile-identity { padding: 0 1.25rem 1.25rem; }
}

.cs-bio-text { font-size: .88rem; line-height: 1.75; color: var(--cs-text); }

.cs-platform-list { display: flex; flex-direction: column; gap: .45rem; }
.cs-platform-item {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .55rem .8rem;
    background: rgba(255,255,255,.02);
    border: 1px solid var(--cs-border);
    border-radius: var(--cs-radius-sm);
}
.cs-platform-icon {
    width: 26px; height: 26px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .65rem;
    font-weight: 900;
    flex-shrink: 0;
}
.cs-platform-steam  { background: rgba(23,111,163,.2); color: #60a5fa; }
.cs-platform-xbox   { background: rgba(16,163,74,.15);  color: #4ade80; }
.cs-platform-epic   { background: rgba(255,255,255,.06); color: rgba(255,255,255,.7); }
.cs-platform-name {
    font-size: .62rem; font-weight: 700;
    color: var(--cs-text-dim); letter-spacing: .06em;
    text-transform: uppercase; min-width: 44px;
}
.cs-platform-val { font-size: .8rem; font-weight: 700; color: var(--cs-white); }

.cs-games-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.cs-game-pill {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .28rem .8rem;
    background: var(--cs-blue-dim);
    border: 1px solid rgba(37,99,235,.25);
    border-radius: 999px;
    font-size: .62rem; font-weight: 800;
    letter-spacing: .06em; text-transform: uppercase;
    color: #93c5fd; text-decoration: none;
    transition: background .2s;
}
.cs-game-pill:hover { background: rgba(37,99,235,.22); color: #fff; }

/* ── UTILITÁRIOS ────────────────────────────────────────────── */
.cs-sep { height: 1px; background: var(--cs-border); margin: 1.25rem 0; }
.cs-spinner {
    display: inline-block;
    width: 13px; height: 13px;
    border: 2px solid rgba(255,255,255,.15);
    border-top-color: #fff;
    border-radius: 50%;
    animation: csSpinner .7s linear infinite;
    vertical-align: middle;
    margin-right: .35rem;
}
@keyframes csSpinner { to { transform: rotate(360deg); } }
.cs-text-muted { color: var(--cs-text-dim); font-size: .78rem; }

/* ═══════════════════════════════════════════════════════════════
   OVERRIDE DO TEMA — body.spire-user-page
   Esconde título da página, padding branco, fundo claro.
   Afeta: /login, /register, /minha-conta, /perfil/*
═══════════════════════════════════════════════════════════════ */

/* Fundo geral da página vira dark */
body.spire-user-page,
body.spire-user-page #page,
body.spire-user-page #content,
body.spire-user-page .site,
body.spire-user-page .site-content,
body.spire-user-page #primary,
body.spire-user-page main,
body.spire-user-page .site-main {
    background: #05070a !important;
    background-color: #05070a !important;
}

/* Esconde o título da página (h1.entry-title, .page-title, .entry-header) */
body.spire-user-page .entry-title,
body.spire-user-page .page-title,
body.spire-user-page .entry-header,
body.spire-user-page .page-header,
body.spire-user-page .post-thumbnail,
body.spire-user-page .wp-post-image {
    display: none !important;
}

/* Zera padding/margin/border do wrapper de conteúdo do tema */
body.spire-user-page .entry-content,
body.spire-user-page .page-content,
body.spire-user-page article,
body.spire-user-page .hentry,
body.spire-user-page .type-page {
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    background-color: transparent !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* Remove container/wrapper com largura limitada do tema */
body.spire-user-page .container,
body.spire-user-page .container-fluid,
body.spire-user-page .wp-container,
body.spire-user-page #content .container,
body.spire-user-page .entry-content > .container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Remove sidebar se o tema usar layout com sidebar */
body.spire-user-page #secondary,
body.spire-user-page .widget-area,
body.spire-user-page aside.sidebar {
    display: none !important;
}

/* Remove breadcrumb do tema (não o nosso) */
body.spire-user-page .breadcrumbs:not(.cs-breadcrumb),
body.spire-user-page .breadcrumb:not(.cs-breadcrumb),
body.spire-user-page nav.breadcrumb,
body.spire-user-page .rank-math-breadcrumb {
    display: none !important;
}

/* Faz o primary ocupar largura total quando sidebar some */
body.spire-user-page #primary,
body.spire-user-page .content-area {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
}

/* Linha decorativa azul do tema embaixo do título (spire-title-line) */
body.spire-user-page .spire-title-line,
body.spire-user-page .cs-theme-title-line {
    display: none !important;
}

/* Garante que nosso wrapper cs-user-wrap vai do topo */
body.spire-user-page .cs-user-wrap {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* ── PATCH 2: título fantasma + breadcrumb do tema ─────────── */
/* O tema Cheatspire usa .spire-page-header com h1 dentro */
body.spire-user-page .spire-page-header,
body.spire-user-page .cs-page-header,
body.spire-user-page .page-hero,
body.spire-user-page .hero-section:not(.cs-profile-hero) {
    display: none !important;
}

/* Breadcrumb nativo do tema (Home > Login) */
body.spire-user-page nav[aria-label="breadcrumb"],
body.spire-user-page .site-breadcrumb,
body.spire-user-page .cs-breadcrumb-bar,
body.spire-user-page .post-navigation,
body.spire-user-page .nav-links {
    display: none !important;
}

/* Espaço vazio que sobra acima do box dark (padding do article/main) */
body.spire-user-page #primary > article,
body.spire-user-page #primary > .page,
body.spire-user-page .site-main > article {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Garante fundo escuro mesmo com !important de outros temas */
body.spire-user-page { background: #05070a !important; }

/* ── PATCH 3: contraste de textos ───────────────────────────── */

/* Labels dos campos — de .35 para .6 */
.cs-field label,
.cs-form-field label { color: rgba(255,255,255,.6) !important; }

/* Texto dentro dos inputs */
.cs-field input,
.cs-form-field input,
.cs-form-field textarea { color: #fff !important; }

/* Nav links inativos — de .35 para .55 */
.cs-dash-nav a { color: rgba(255,255,255,.55) !important; }
.cs-dash-nav a.cs-nav-active { color: #fff !important; }

/* Permissões sidebar — de .35 para .55 */
.cs-perm-item { color: rgba(255,255,255,.55) !important; }

/* Texto muted genérico */
.cs-text-muted,
.cs-media-info p { color: rgba(255,255,255,.5) !important; }

/* Info-row chave */
.cs-info-key { color: rgba(255,255,255,.5) !important; }

/* Sidebar name */
.cs-sidebar-name { color: #fff !important; }
.cs-sidebar-since { color: rgba(255,255,255,.45) !important; }

/* Perfil público */
.cs-pub-since { color: rgba(255,255,255,.5) !important; }
.cs-platform-name { color: rgba(255,255,255,.5) !important; }
.cs-bio-text { color: rgba(220,230,245,.85) !important; }

/* Auth footer */
.cs-auth-footer { color: rgba(255,255,255,.5) !important; }

/* Eyebrow */
.cs-auth-eyebrow { color: #60a5fa !important; }

/* Checkbox texto */
.cs-check-row span,
.cs-check-field span { color: rgba(220,230,245,.8) !important; }
