html, body { color-scheme: dark; background-color: #0b0f18; color: #e5e7eb; }
/* RockCity v6.7 — Identidade Visual Unificada (Paleta Dark / GOD MODE) */
.rc-body {
    color: #e5e7eb;
    background-color: #0b0f18;
    background-image:
        radial-gradient(circle at 20% 0%, rgba(245, 158, 11, 0.06), transparent 45%),
        radial-gradient(circle at 85% 10%, rgba(56, 189, 248, 0.05), transparent 40%);
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

a { color: #7dd3fc; }
a:hover { color: #bae6fd; }

/* Cabeçalho Superior & Banner */
.rc-topbar {
    background: #131926 !important;
    border: 1px solid #263147 !important;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}
.rc-banner-art {
    background: linear-gradient(120deg, #0f1624 0%, #172136 60%, #1c1b29 100%);
    border-bottom: 1px solid #263147;
}
.rc-brand-link {
    color: #f59e0b;
    text-shadow: 0 2px 10px rgba(245, 158, 11, 0.28);
}
.rc-brand-link small {
    color: #fbbf24;
    text-shadow: none;
    background: rgba(245, 158, 11, 0.14);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(245, 158, 11, 0.35);
    font-size: 10px !important;
}

/* Faixas Superiores (Utilidades + Abas Principais) */
.rc-util-bar {
    background: #111724;
    border-top: 1px solid #222d42;
    color: #cbd5e1;
}
.rc-util-icons a { color: #cbd5e1; }
.rc-util-icons a:hover { color: #fbbf24; }
.rc-nav-logout { color: #f87171 !important; }
.rc-nav-clock { color: #94a3b8; }

.rc-tabs-bar {
    background: #161e2e;
    border-top: 1px solid #263147;
}
.rc-tabs-bar a {
    color: #cbd5e1;
    border-right: 1px solid #232e44;
    transition: background 0.15s ease, color 0.15s ease;
}
.rc-tabs-bar a:last-child { border-right: none; }
.rc-tabs-bar a:hover {
    background: #1e2940;
    color: #ffffff;
}
.rc-tabs-bar a.active {
    background: rgba(245, 158, 11, 0.16);
    color: #fbbf24;
    box-shadow: inset 0 -2px 0 #f59e0b;
}

/* Barra Compacta de Linha Única do Personagem (fora da seção Personagem) */
.rc-char-strip {
    background: #131926 !important;
    border: 1px solid #263147 !important;
    border-top: 0 !important;
    border-radius: 0 0 8px 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}
.rc-char-strip-inner { color: #e2e8f0 !important; }
.rc-strip-lbl { color: #94a3b8 !important; }
.rc-strip-sup { color: #86efac !important; }
.rc-strip-alert { color: #fca5a5 !important; }

/* Statusbar Completo do Personagem (seção Personagem) */
.rc-statusbar {
    background: #141a27;
    border: 1px solid #263147 !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
    color: #e5e7eb;
}
.rc-stat-pill {
    background: #1b2436;
    border: 1px solid #303d57;
    color: #e2e8f0;
}
.rc-stat-alert {
    background: rgba(245, 158, 11, 0.16);
    border-color: #f59e0b;
    color: #fde68a;
}
.rc-stage-meta-strip { border-top: 1px solid #263147; }

/* Retrato 114x156 */
.rc-avatar-portrait {
    border: 2px solid #334155;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    background: #1b2436;
}
.rc-avatar-placeholder {
    background: linear-gradient(180deg, #1d2638 0%, #111827 100%);
    color: #fbbf24;
}

/* Sidebar Direita Contextual */
.rc-sidebar-col {
    background: #131926 !important;
    border: 1px solid #263147 !important;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}
.rc-side-title {
    background: #1a2234;
    border: 1px solid #28344c;
    color: #f59e0b;
    border-radius: 6px;
}
.rc-side-menu a {
    color: #cbd5e1;
    border-left: 3px solid transparent;
    border-radius: 5px;
}
.rc-side-menu a:hover {
    background: #1d2638;
    color: #ffffff;
    text-decoration: none;
}
.rc-side-menu a.active {
    background: rgba(245, 158, 11, 0.14);
    color: #fbbf24;
    border-left-color: #f59e0b;
    text-decoration: none;
}

/* Cards Principais */
.rc-card {
    background: #141a27 !important;
    border: 1px solid #263147 !important;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
    color: #e5e7eb;
}
.rc-card > h2, .rc-card > h3 {
    background: #1a2234;
    border-bottom: 1px solid #28344c;
    color: #f8fafc;
    border-radius: 9px 9px 0 0;
}
.rc-skill-card {
    background: #1a2234;
    border: 1px solid #2d3a54;
    border-radius: 8px;
}
.rc-muted { color: #94a3b8; }
.rc-link { color: #7dd3fc; }
.rc-link:hover { color: #bae6fd; }
.rc-stars { color: #fbbf24; letter-spacing: 1px; }

/* Tabelas */
.rc-table th {
    background: #1b2436;
    color: #cbd5e1;
    border-bottom: 1px solid #2d3a54;
    font-size: 11.5px;
}
.rc-table td {
    border-bottom: 1px solid #222c40;
    color: #e5e7eb;
}
.rc-table tbody tr:nth-child(even) { background: rgba(255, 255, 255, 0.02); }
.rc-table tbody tr:hover { background: rgba(255, 255, 255, 0.05); }

/* Inputs & Botões */
.rc-form input, .rc-form select, .rc-form textarea, .rc-chat-form input,
select, input[type="text"], input[type="number"], input[type="email"], input[type="password"], input[type="url"], input[type="date"], input[type="datetime-local"], textarea {
    background: #0e131e;
    border: 1px solid #303d57;
    color: #f1f5f9;
    border-radius: 6px;
}
.rc-form input:focus, .rc-form select:focus, .rc-form textarea:focus {
    outline: none;
    border-color: #f59e0b;
}

.rc-btn {
    background: #232d42;
    border: 1px solid #384664;
    color: #e2e8f0;
    border-radius: 6px;
}
.rc-btn:hover { background: #2d3a54; color: #ffffff; }
.rc-btn-primary {
    background: #d97706;
    border: 1px solid #f59e0b;
    color: #ffffff;
}
.rc-btn-primary:hover { background: #b45309; color: #ffffff; }
.rc-btn-accent {
    background: #0284c7;
    border: 1px solid #38bdf8;
    color: #ffffff;
}
.rc-btn-accent:hover { background: #0369a1; color: #ffffff; }
.rc-btn-danger {
    background: #dc2626;
    border: 1px solid #ef4444;
    color: #ffffff;
}
.rc-btn-danger:hover { background: #b91c1c; color: #ffffff; }
.rc-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Badges e Alertas */
.rc-badge {
    background: #1f293d;
    border: 1px solid #334155;
    color: #cbd5e1;
}
.rc-badge-ok {
    background: rgba(22, 163, 74, 0.2);
    border-color: #22c55e;
    color: #86efac;
}
.rc-badge-danger {
    background: rgba(220, 38, 38, 0.2);
    border-color: #ef4444;
    color: #fca5a5;
}

.rc-alert {
    background: #1b2436;
    border: 1px solid #334155;
    color: #e2e8f0;
    border-radius: 6px;
}
.rc-alert-success {
    background: rgba(22, 163, 74, 0.16);
    border-color: #22c55e;
    color: #bbf7d0;
}
.rc-alert-danger {
    background: rgba(220, 38, 38, 0.18);
    border-color: #ef4444;
    color: #fecaca;
}

/* Barras de Progresso */
.rc-progress {
    background: #0e131e;
    border: 1px solid #2d3a54;
}
.rc-progress-bar {
    background: linear-gradient(90deg, #d97706 0%, #f59e0b 100%);
}
.rc-bar-mood { background: linear-gradient(90deg, #eab308 0%, #facc15 100%) !important; }
.rc-bar-health { background: linear-gradient(90deg, #16a34a 0%, #4ade80 100%) !important; }
.rc-bar-pop { background: linear-gradient(90deg, #0284c7 0%, #38bdf8 100%) !important; }

.rc-chat-box, .rc-checkbox-list {
    background: #0e131e;
    border: 1px solid #28344c;
    border-radius: 6px;
}
.rc-world-event-banner {
    background: rgba(245, 158, 11, 0.14);
    border: 1px solid #f59e0b;
    color: #fde68a;
    border-radius: 8px;
}
.rc-divider { background: #263147; }

.rc-footer {
    background: #131926;
    border: 1px solid #263147;
    border-radius: 10px;
    color: #94a3b8;
}

/* v7.0 — Ilustração de 5 Estrelas Vazias com Preenchimento em Quartos (0%, 25%, 50%, 75%, 100%) */
.rc-qstars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    vertical-align: middle;
    line-height: 1;
}
.rc-qstar {
    position: relative;
    display: inline-block;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.rc-qstar-svg {
    display: block;
    width: 16px;
    height: 16px;
}
.rc-qstar-bg {
    fill: #0f172a;
    stroke: #64748b;
    stroke-width: 1.75;
    stroke-linejoin: round;
}
.rc-qstar-fill-wrap {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.rc-qstar-fill-path {
    fill: #fbbf24;
    stroke: #f59e0b;
    stroke-width: 1.25;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 2px rgba(245, 158, 11, 0.35));
}
.rc-qstars-num {
    margin-left: 5px;
    font-weight: 700;
    color: #fde68a;
}

/* v6.9.1 — Fonte estilizada para marca/títulos RockCity */
.rc-logo-font {
    font-family: 'Impact', 'Haettenschweiler', 'Arial Narrow Bold', 'Trebuchet MS', sans-serif;
    font-style: italic;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* v6.9.2 — Logo grande centralizado com corte/vazamento na borda superior (estilo referência) */
.rc-topbar {
    margin-top: 24px !important;
    overflow: visible !important;
    position: relative;
}
.rc-banner-art {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    min-height: 62px !important;
    padding: 0 16px 6px !important;
    overflow: visible !important;
    border-radius: 10px 10px 0 0;
}
.rc-brand-overhang {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin-top: -30px !important;
    position: relative;
    z-index: 5;
}
.rc-logo-hero {
    height: 94px !important;
    width: auto !important;
    max-width: 92vw;
    display: block;
    transition: transform 0.18s ease;
}
.rc-brand-overhang:hover .rc-logo-hero {
    transform: scale(1.03);
}
@media (max-width: 640px) {
    .rc-topbar { margin-top: 16px !important; }
    .rc-brand-overhang { margin-top: -20px !important; }
    .rc-logo-hero { height: 60px !important; }
}

/* RockCity v7.4.0 — Banners Ilustrados Panorâmicos (Estilo Quadrinhos Unificado) */
.rc-page-comic-banner {
    position: relative;
    height: 152px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
    border: 1px solid #2a3752;
    background: #0f1624;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.rc-page-comic-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
    transition: transform 0.6s ease;
}
.rc-page-comic-banner:hover .rc-page-comic-img {
    transform: scale(1.025);
}
.rc-page-comic-scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(11, 15, 24, 0.90) 0%, rgba(11, 15, 24, 0.56) 48%, rgba(11, 15, 24, 0.22) 100%),
        linear-gradient(180deg, rgba(11, 15, 24, 0.08) 0%, rgba(11, 15, 24, 0.78) 100%);
}
.rc-page-comic-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 14px 18px;
    box-sizing: border-box;
}
.rc-page-comic-kicker {
    display: inline-block;
    width: fit-content;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fbbf24;
    background: rgba(11, 15, 24, 0.72);
    border: 1px solid rgba(245, 158, 11, 0.45);
    border-radius: 5px;
    padding: 2px 8px;
    margin-bottom: 5px;
}
.rc-page-comic-title {
    margin: 0;
    font-size: 1.32rem;
    line-height: 1.18;
    font-weight: 800;
    color: #f8fafc;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
}
@media (max-width: 640px) {
    .rc-page-comic-banner {
        height: 118px;
    }
    .rc-page-comic-title {
        font-size: 1.08rem;
    }
}

/* RockCity v7.4.1 — Banner Único do Artista + Mini Power Boost no Canto Superior Esquerdo */
.rc-artist-hero-card {
    padding: 0 !important;
    overflow: hidden;
    margin-bottom: 14px;
}
.rc-artist-hero-media {
    position: relative;
    height: 152px;
    max-height: 152px;
    width: 100%;
    overflow: hidden;
    background: #0f1624;
    border-bottom: 1px solid #263147;
}
.rc-artist-hero-img {
    width: 100%;
    height: 152px;
    max-height: 152px;
    object-fit: cover;
    object-position: center;
    display: block;
}
.rc-artist-hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 15, 24, 0.35) 0%, rgba(11, 15, 24, 0.08) 55%, rgba(11, 15, 24, 0.55) 100%);
    pointer-events: none;
}
.rc-artist-hero-body {
    padding: 14px 16px;
}
.rc-artist-hero-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}
.rc-artist-hero-title-row h2 {
    margin: 0;
    font-size: 1.24rem;
    font-weight: 800;
    color: #f8fafc;
}
.rc-artist-hero-bio {
    margin: 0 0 12px;
    font-size: 0.85rem;
    line-height: 1.48;
    color: #cbd5e1;
}
.rc-artist-meta-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 16px;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(11, 15, 24, 0.52);
    border: 1px solid #243047;
}
.rc-artist-meta-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.82rem;
    color: #e2e8f0;
}
@media (max-width: 640px) {
    .rc-artist-hero-media,
    .rc-artist-hero-img {
        height: 120px;
        max-height: 120px;
    }
    .rc-artist-meta-strip {
        grid-template-columns: 1fr;
    }
}
