/**
 * Public community pages — shared polish (header-adjacent content, heroes, panels).
 */

body.juicer-v2-page .juicer-v2-main.jb-page {
    min-height: calc(100vh - 64px);
}

/* Unified page hero card */
body.juicer-v2-page .jb-page-hero-card {
    margin-bottom: 28px;
    padding: 24px 28px;
    border-radius: 18px;
    border: 1px solid rgba(251, 191, 36, 0.22);
    background: linear-gradient(145deg, rgba(18, 20, 30, 0.92) 0%, rgba(10, 12, 20, 0.94) 100%);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body.juicer-v2-page .jb-page-hero-card .juicer-v2-page-hero {
    margin-bottom: 0;
}

body.juicer-v2-page .jb-page-hero-card .juicer-v2-page-sub {
    margin-left: 0;
}

body.juicer-v2-page .jb-page-hero-card .juicer-v2-page-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px 20px;
}

body.juicer-v2-page .jb-page-hero-card .juicer-v2-page-hero .juicer-v2-hero-line {
    flex-basis: 100%;
    order: 10;
}

body.juicer-v2-page .jb-page-hero-card--compact {
    margin-bottom: 20px;
    padding: 16px 22px;
}

body.juicer-v2-page .jb-page-hero-card--compact .juicer-v2-kicker {
    display: none;
}

body.juicer-v2-page .jb-page-hero-card--compact .juicer-v2-page-title {
    font-size: 1.35rem;
    margin-bottom: 0;
}

body.juicer-v2-page .jb-page-hero-card--compact .juicer-v2-page-sub:empty {
    display: none;
}

body.juicer-v2-page .jb-page-shell {
    padding-top: 8px;
}

/* Achievements progress chip in hero */
.achv-hero-meta {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    padding: 8px 16px;
    border-radius: 12px;
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.28);
}

.achv-hero-meta strong {
    font-size: 1.35rem;
    color: #fbbf24;
}

.achv-hero-meta span {
    color: rgba(255, 255, 255, 0.45);
}

/* Stats: sidebar + panels breathe on public layout */
body.juicer-v2-page .stats-page .stats-metric {
    border-color: rgba(255, 255, 255, 0.1);
}

body.juicer-v2-page .stats-page .stats-panel {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(10, 10, 14, 0.88);
}

/* Roadmap back link spacing */
body.juicer-v2-page .jb-back-link {
    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
}

body.juicer-v2-page .jb-back-link:hover {
    color: #fbbf24;
}

/* FAQ / quests panels */
body.juicer-v2-page .jb-panel.glass-card {
    border-color: rgba(251, 191, 36, 0.15);
}

/* Profile wrapper less heavy overlay on cards */
body.juicer-v2-page .juicer-profile-wrapper {
    background: transparent;
}
