    :root {
        --bg-page: #12091f;
        --bg-sidebar: #10081d;
        --bg-card: #1d1033;
        --bg-raised: #2a1850;
        --bg-input: #160e28;
        --border: #2d1a50;
        --border-mid: #3d2060;
        --gold: #d6a24a;
        --gold-bright: #f0c879;
        --purple-btn: #6b35b5;
        --purple-btn-hover: #7c43ca;
        --purple-accent: #9b6dd8;
        --purple-badge: #4a2a80;
        --text-primary: #e8e0f5;
        --text-secondary: #a090c0;
        --text-dim: #5a4a7a;
        --online: #4db87a;
        --font-display: 'Cinzel', serif;
        --font-serif: 'Crimson Text', serif;
        --font-ui: 'Lato', sans-serif;
        --r-sm: 6px;
        --r-md: 10px;
        --r-lg: 14px;
        --r-xl: 20px;
        --topbar-h: 62px;
        --bottomnav-h: 60px;
    }

    /* =============================================
       RESET & BASE
       ============================================= */
    *,
    *::before,
    *::after {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }

    html {
        font-size: 14px;
    }

    body {
        font-family: var(--font-ui);
        background:
            radial-gradient(circle at 10% 0%, rgba(107, 53, 181, .25), transparent 26%),
            radial-gradient(circle at 90% 5%, rgba(214, 162, 74, .13), transparent 24%),
            linear-gradient(135deg, #07030d, #160a27 48%, #090511);
        color: var(--text-primary);
        min-height: 100vh;
        overflow-x: hidden;
    }

    a {
        color: var(--purple-accent);
        text-decoration: none;
    }

    a:hover {
        color: var(--gold);
    }

    button {
        cursor: pointer;
        font-family: var(--font-ui);
    }

    img {
        display: block;
        max-width: 100%;
    }


    .logo-image {
        height: 68px;
        width: auto;
        display: block;
    }


    ::-webkit-scrollbar {
        width: 4px;
    }

    ::-webkit-scrollbar-track {
        background: transparent;
    }

    ::-webkit-scrollbar-thumb {
        background: var(--border-mid);
        border-radius: 4px;
    }

    /* =============================================
       MOBILE DRAWER OVERLAY
       ============================================= */
    .drawer-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(10, 5, 20, 0.75);
        z-index: 200;
        opacity: 0;
        transition: opacity 0.25s;
    }

    .drawer-overlay.open {
        display: block;
        opacity: 1;
    }

    /* =============================================
       TOPBAR
       ============================================= */
    .topbar {
        background: rgba(13, 7, 24, 0.96);
        border-bottom: 1px solid var(--border);
        backdrop-filter: blur(16px);
        padding: 0 16px;
        height: var(--topbar-h);
        display: flex;
        align-items: center;
        gap: 12px;
        position: sticky;
        top: 0;
        z-index: 100;
    }

    /* Burger — hidden on desktop */
    .btn-burger {
        display: none;
        background: none;
        border: none;
        color: var(--text-secondary);
        font-size: 24px;
        padding: 4px;
        flex-shrink: 0;
        line-height: 1;
    }

    .logo-wrap {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-shrink: 0;
    }

    .logo-icon {
        width: 32px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 30px;
        color: var(--gold-bright);
        flex-shrink: 0;
        filter: drop-shadow(0 0 10px rgba(240, 200, 121, .35));
    }

    .logo-name {
        font-family: var(--font-display);
        font-size: 20px;
        font-weight: 600;
        color: var(--gold-bright);
        line-height: 1;
        letter-spacing: .03em;
        text-transform: uppercase;
    }

    .logo-tagline {
        font-family: var(--font-serif);
        font-style: italic;
        font-size: 12px;
        color: var(--gold-bright);
        opacity: .92;
        line-height: 1.1;
        margin-top: 3px;
        letter-spacing: .01em;
        white-space: nowrap;
    }

    .logo-est {
        display: none;
    }

    .topbar-search {
        flex: 1;
        max-width: 340px;
        background: var(--bg-input);
        border: 1px solid var(--border);
        border-radius: 24px;
        padding: 8px 14px;
        display: flex;
        align-items: center;
        gap: 8px;
        transition: border-color 0.2s;
    }

    .topbar-search:focus-within {
        border-color: var(--border-mid);
    }

    .topbar-search i {
        font-size: 15px;
        color: var(--text-dim);
    }

    .topbar-search input {
        background: none;
        border: none;
        outline: none;
        color: var(--text-primary);
        font-family: var(--font-ui);
        font-size: 13px;
        width: 100%;
    }

    .topbar-search input::placeholder {
        color: var(--text-dim);
    }

    .topbar-right {
        display: flex;
        align-items: center;
        gap: 18px;
        margin-left: auto;
    }

    .topbar-right .ti {
        font-size: 21px;
        color: var(--text-secondary);
        cursor: pointer;
        transition: color 0.2s;
    }

    .topbar-right .ti:hover {
        color: var(--gold);
    }

    .notif-wrap {
        position: relative;
    }

    .notif-badge {
        width: 16px;
        height: 16px;
        background: var(--purple-btn);
        border-radius: 50%;
        font-size: 9px;
        color: #fff;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: -5px;
        right: -7px;
    }

    .gem-pill {
        display: flex;
        align-items: center;
        gap: 6px;
        background: linear-gradient(135deg, rgba(214, 162, 74, .16), rgba(107, 53, 181, .18));
        border: 1px solid rgba(214, 162, 74, .25);
        border-radius: 20px;
        padding: 6px 12px;
        font-size: 13px;
        color: var(--gold-bright);
        font-weight: 700;
        white-space: nowrap;
    }

    .profile-pill {
        display: flex;
        align-items: center;
        gap: 8px;
        background: var(--bg-raised);
        border: 1px solid var(--border);
        border-radius: 24px;
        padding: 4px 12px 4px 5px;
        font-size: 13px;
        color: var(--text-primary);
        cursor: pointer;
        transition: border-color 0.2s;
    }

    .profile-pill:hover {
        border-color: var(--border-mid);
    }

    .profile-pill img {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        object-fit: cover;
        border: 1.5px solid var(--gold);
    }

    /* =============================================
       DESKTOP LAYOUT
       ============================================= */
    .layout {
        display: grid;
        grid-template-columns: 185px 1fr 210px;
        min-height: calc(100vh - var(--topbar-h));
    }

    /* =============================================
       LEFT SIDEBAR
       ============================================= */
    .sidebar-left {
        background: var(--bg-sidebar);
        border-right: 1px solid var(--border);
        padding: 16px 12px;
        display: flex;
        flex-direction: column;
        gap: 3px;
        position: sticky;
        top: var(--topbar-h);
        height: calc(100vh - var(--topbar-h));
        overflow-y: auto;
        transition: transform 0.28s cubic-bezier(.4, 0, .2, 1);
    }

    .btn-new-reading {
        background: var(--purple-btn);
        color: #f0e8ff;
        border: none;
        border-radius: var(--r-md);
        padding: 11px 0;
        width: 100%;
        font-size: 14px;
        font-weight: 700;
        margin-bottom: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        transition: background 0.2s;
    }

    .btn-new-reading:hover {
        background: var(--purple-btn-hover);
    }

    .btn-new-reading i {
        font-size: 18px;
    }

    .nav-item {
        display: flex;
        align-items: center;
        gap: 11px;
        padding: 10px 12px;
        border-radius: var(--r-sm);
        font-size: 14px;
        color: var(--text-secondary);
        cursor: pointer;
        transition: background 0.15s, color 0.15s;
    }

    .nav-item:hover {
        background: var(--bg-raised);
        color: var(--text-primary);
    }

    .nav-item.active {
        background: var(--purple-btn);
        color: #f0e8ff;
    }

    .nav-item i {
        font-size: 18px;
        flex-shrink: 0;
    }

    .nav-badge {
        background: var(--purple-badge);
        color: var(--purple-accent);
        border-radius: 12px;
        font-size: 10px;
        font-weight: 700;
        padding: 2px 8px;
        margin-left: auto;
    }

    .sidebar-divider {
        height: 1px;
        background: var(--border);
        margin: 12px 4px;
    }

    .premium-box {
        background: var(--bg-raised);
        border: 1px solid var(--border-mid);
        border-radius: var(--r-md);
        padding: 14px;
        margin-top: 8px;
    }

    .premium-title {
        font-size: 14px;
        font-weight: 700;
        color: var(--gold);
        margin-bottom: 10px;
    }

    .premium-item {
        font-size: 12px;
        color: var(--text-secondary);
        margin: 6px 0;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .premium-item i {
        font-size: 14px;
        color: var(--purple-accent);
    }

    .btn-premium {
        background: var(--gold);
        color: var(--bg-sidebar);
        border: none;
        border-radius: var(--r-sm);
        padding: 10px 0;
        width: 100%;
        font-size: 13px;
        font-weight: 700;
        margin-top: 12px;
        transition: background 0.2s;
    }

    .btn-premium:hover {
        background: var(--gold-bright);
    }

    .daily-inspiration {
        margin-top: 14px;
        padding: 14px;
        border: 1px solid var(--border);
        border-radius: var(--r-md);
    }

    .inspiration-title {
        font-size: 12px;
        color: var(--text-secondary);
        margin-bottom: 8px;
    }

    .inspiration-quote {
        font-family: var(--font-serif);
        font-style: italic;
        font-size: 13px;
        color: var(--text-secondary);
        line-height: 1.7;
        margin-bottom: 12px;
    }

    .inspiration-image {
        border-radius: var(--r-md);
        overflow: hidden;
        height: 90px;
    }

    .inspiration-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Close button inside drawer — desktop hidden */
    .btn-drawer-close {
        display: none;
        background: none;
        border: none;
        color: var(--text-secondary);
        font-size: 24px;
        align-self: flex-end;
        margin-bottom: 8px;
        padding: 4px;
        line-height: 1;
    }

    /* =============================================
       MAIN FEED
       ============================================= */
    .feed {
        padding: 18px;
        display: flex;
        flex-direction: column;
        gap: 18px;
    }

    .hero-banner {
        border-radius: var(--r-xl);
        overflow: hidden;
        position: relative;
        height: 200px;
    }

    .hero-banner img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 35%;
    }

    .hero-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(19, 11, 34, 0.92) 38%, rgba(19, 11, 34, 0.3) 100%);
        display: flex;
        align-items: center;
        padding: 30px;
    }

    .hero-welcome {
        font-size: 14px;
        color: var(--text-secondary);
        margin-bottom: 4px;
    }

    .hero-title {
        font-family: var(--font-display);
        font-size: 30px;
        font-weight: 700;
        color: var(--gold);
        line-height: 1.15;
        margin-bottom: 8px;
    }

    .hero-sub {
        font-size: 14px;
        color: var(--text-secondary);
        line-height: 1.55;
        margin-bottom: 16px;
    }

    .btn-hero {
        background: var(--purple-btn);
        color: #f0e8ff;
        border: none;
        border-radius: var(--r-md);
        padding: 11px 26px;
        font-size: 14px;
        font-weight: 700;
        transition: background 0.2s;
    }

    .btn-hero:hover {
        background: var(--purple-btn-hover);
    }

    .sec-hd {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 12px;
    }

    .sec-title {
        font-size: 15px;
        font-weight: 700;
        color: var(--text-primary);
    }

    .sec-link {
        font-size: 12px;
        color: var(--purple-accent);
        cursor: pointer;
    }

    .sec-link:hover {
        color: var(--gold);
    }

    .reading-types {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }

    .rt-card {
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: var(--r-lg);
        padding: 16px 10px;
        text-align: center;
        cursor: pointer;
        transition: border-color 0.2s, background 0.2s;
    }

    .rt-card:hover {
        border-color: var(--border-mid);
        background: var(--bg-raised);
    }

    .rt-icon {
        font-size: 30px;
        color: var(--purple-accent);
        margin-bottom: 8px;
        display: block;
    }

    .rt-name {
        font-size: 13px;
        font-weight: 700;
        color: var(--text-primary);
        margin-bottom: 5px;
    }

    .rt-desc {
        font-size: 11px;
        color: var(--text-dim);
        line-height: 1.5;
    }

    .feed-filter {
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: var(--r-sm);
        padding: 6px 12px;
        font-size: 12px;
        color: var(--text-secondary);
        display: flex;
        align-items: center;
        gap: 5px;
        cursor: pointer;
    }

    .post-card {
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: var(--r-lg);
        padding: 16px 18px;
        transition: border-color 0.2s;
    }

    .post-card+.post-card {
        margin-top: 12px;
    }

    .post-card:hover {
        border-color: var(--border-mid);
    }

    .post-header {
        display: flex;
        align-items: center;
        gap: 11px;
        margin-bottom: 12px;
    }

    .post-avatar {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        overflow: hidden;
        flex-shrink: 0;
        border: 2px solid var(--border-mid);
    }

    .post-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .post-avatar-initials {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: var(--bg-raised);
        border: 2px solid var(--border-mid);
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: var(--font-display);
        font-size: 13px;
        color: var(--gold);
        flex-shrink: 0;
    }

    .post-author-name {
        font-size: 14px;
        font-weight: 700;
        color: var(--text-primary);
    }

    .post-author-name i {
        font-size: 14px;
        color: var(--purple-accent);
        vertical-align: -1px;
        margin-left: 4px;
    }

    .post-badge {
        background: var(--purple-btn);
        color: #e8e0ff;
        font-size: 10px;
        padding: 2px 9px;
        border-radius: 12px;
        margin-left: 7px;
        vertical-align: middle;
        font-weight: 700;
    }

    .post-time {
        font-size: 11px;
        color: var(--text-dim);
        margin-top: 2px;
    }

    .post-menu {
        margin-left: auto;
        color: var(--text-dim);
        font-size: 20px;
        cursor: pointer;
    }

    .post-body {
        font-size: 14px;
        color: var(--text-primary);
        line-height: 1.65;
        margin-bottom: 13px;
        font-family: var(--font-serif);
    }

    .post-image {
        border-radius: var(--r-md);
        overflow: hidden;
        height: 160px;
        margin-bottom: 13px;
    }

    .post-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .post-reactions {
        display: flex;
        align-items: center;
        gap: 5px;
        margin-bottom: 12px;
    }

    .reaction-emoji {
        font-size: 17px;
    }

    .reaction-count {
        font-size: 13px;
        color: var(--text-secondary);
        margin-left: 4px;
    }

    .post-comments {
        font-size: 13px;
        color: var(--text-dim);
        margin-left: auto;
        cursor: pointer;
    }

    .post-actions {
        display: flex;
        align-items: center;
        gap: 18px;
        border-top: 1px solid var(--border);
        padding-top: 12px;
    }

    .post-action {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 13px;
        color: var(--text-secondary);
        cursor: pointer;
        background: none;
        border: none;
        font-family: var(--font-ui);
        transition: color 0.15s;
    }

    .post-action:hover {
        color: var(--text-primary);
    }

    .post-action i {
        font-size: 18px;
    }

    .post-action.book {
        color: var(--purple-accent);
        font-weight: 700;
        margin-left: auto;
    }

    .post-action.book:hover {
        color: var(--gold);
    }

    .forecast-strip {
        background: var(--bg-raised);
        border: 1px solid var(--border-mid);
        border-radius: var(--r-md);
        padding: 16px;
        text-align: center;
        margin-bottom: 13px;
    }

    .forecast-title {
        font-family: var(--font-display);
        font-size: 13px;
        color: var(--gold);
        letter-spacing: 1.5px;
        margin-bottom: 4px;
    }

    .forecast-dates {
        font-size: 12px;
        color: var(--purple-accent);
        margin-bottom: 13px;
        font-family: var(--font-serif);
    }

    .zodiac-row {
        display: flex;
        gap: 8px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .zodiac-sign {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        border: 1px solid var(--border-mid);
        background: var(--bg-card);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        color: var(--text-secondary);
        cursor: pointer;
        transition: all 0.2s;
    }

    .zodiac-sign:hover,
    .zodiac-sign.active {
        border-color: var(--gold);
        color: var(--gold);
        background: var(--bg-raised);
    }

    .btn-load-more {
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: var(--r-md);
        padding: 14px;
        width: 100%;
        font-size: 14px;
        color: var(--text-secondary);
        font-family: var(--font-ui);
        margin-top: 12px;
        transition: background 0.2s, color 0.2s;
    }

    .btn-load-more:hover {
        background: var(--bg-raised);
        color: var(--text-primary);
    }

    /* =============================================
       RIGHT SIDEBAR
       ============================================= */
    .sidebar-right {
        background: var(--bg-sidebar);
        border-left: 1px solid var(--border);
        padding: 16px 14px;
        display: flex;
        flex-direction: column;
        gap: 14px;
        position: sticky;
        top: var(--topbar-h);
        height: calc(100vh - var(--topbar-h));
        overflow-y: auto;
    }

    .widget {
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: var(--r-md);
        padding: 14px;
    }

    .widget-title {
        font-size: 12px;
        font-weight: 700;
        color: var(--text-secondary);
        margin-bottom: 12px;
    }

    .widget-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 12px;
    }

    .widget-header .widget-title {
        margin-bottom: 0;
    }

    .widget-link {
        font-size: 11px;
        color: var(--purple-accent);
        cursor: pointer;
    }

    .widget-link:hover {
        color: var(--gold);
    }

    .welcome-row {
        display: flex;
        align-items: center;
        gap: 11px;
        margin-bottom: 11px;
    }

    .welcome-avatar {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        overflow: hidden;
        flex-shrink: 0;
        border: 2px solid var(--gold);
    }

    .welcome-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .welcome-sub {
        font-size: 11px;
        color: var(--text-dim);
    }

    .welcome-name {
        font-size: 16px;
        font-weight: 700;
        color: var(--text-primary);
    }

    .btn-view-readings {
        background: var(--purple-btn);
        color: #f0e8ff;
        border: none;
        border-radius: var(--r-sm);
        padding: 10px 0;
        width: 100%;
        font-size: 13px;
        font-weight: 700;
        transition: background 0.2s;
    }

    .btn-view-readings:hover {
        background: var(--purple-btn-hover);
    }

    .next-reading-row {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 8px;
    }

    .next-reading-icon {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: var(--bg-raised);
        border: 1px solid var(--border-mid);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .next-reading-icon i {
        font-size: 18px;
        color: var(--purple-accent);
    }

    .next-reading-name {
        font-size: 13px;
        font-weight: 700;
        color: var(--text-primary);
    }

    .next-reading-time {
        font-size: 11px;
        color: var(--text-dim);
    }

    .countdown-time {
        font-family: var(--font-display);
        font-size: 26px;
        color: var(--gold);
        margin: 5px 0 2px;
    }

    .countdown-until {
        font-size: 11px;
        color: var(--text-dim);
        margin-bottom: 9px;
    }

    .horo-row {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 10px;
    }

    .horo-sign-icon {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: var(--bg-raised);
        border: 1px solid var(--border-mid);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        color: var(--purple-accent);
        flex-shrink: 0;
    }

    .horo-sign-name {
        font-size: 15px;
        font-weight: 700;
        color: var(--text-primary);
        flex: 1;
    }

    .horo-arrow {
        font-size: 18px;
        color: var(--text-dim);
    }

    .horo-text {
        font-family: var(--font-serif);
        font-size: 13px;
        color: var(--text-secondary);
        line-height: 1.65;
        margin-bottom: 8px;
    }

    .readers-list {
        display: flex;
        flex-direction: column;
        gap: 11px;
    }

    .reader-row {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .reader-avatar {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        overflow: hidden;
        flex-shrink: 0;
        position: relative;
    }

    .reader-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .status-dot {
        width: 9px;
        height: 9px;
        border-radius: 50%;
        position: absolute;
        bottom: 0;
        right: 0;
        border: 2px solid var(--bg-sidebar);
    }

    .status-dot.online {
        background: var(--online);
    }

    .status-dot.offline {
        background: var(--text-dim);
    }

    .reader-info {
        flex: 1;
    }

    .reader-name {
        font-size: 13px;
        font-weight: 700;
        color: var(--text-primary);
    }

    .reader-stars {
        font-size: 11px;
        color: var(--gold);
    }

    .reader-status {
        font-size: 10px;
    }

    .reader-status.online {
        color: var(--online);
    }

    .reader-status.offline {
        color: var(--text-dim);
    }

    .btn-book {
        background: var(--bg-raised);
        border: 1px solid var(--border-mid);
        color: var(--text-primary);
        border-radius: var(--r-sm);
        padding: 5px 12px;
        font-size: 12px;
        font-weight: 700;
        cursor: pointer;
        flex-shrink: 0;
        transition: background 0.2s, border-color 0.2s;
    }

    .btn-book:hover {
        background: var(--purple-btn);
        border-color: var(--purple-btn);
    }

    .video-thumb {
        border-radius: var(--r-sm);
        overflow: hidden;
        position: relative;
        height: 82px;
        margin-bottom: 10px;
    }

    .video-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .video-overlay {
        position: absolute;
        inset: 0;
        background: rgba(19, 11, 34, 0.45);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .btn-play {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: var(--gold);
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: transform 0.15s;
    }

    .btn-play:hover {
        transform: scale(1.1);
    }

    .btn-play i {
        font-size: 15px;
        color: var(--bg-sidebar);
    }

    .video-title {
        font-size: 13px;
        font-weight: 700;
        color: var(--text-primary);
        margin-bottom: 4px;
    }

    .video-link {
        font-size: 12px;
        color: var(--purple-accent);
        cursor: pointer;
    }

    .streak-label {
        font-size: 12px;
        color: var(--text-secondary);
        margin-bottom: 9px;
    }

    .streak-label strong {
        color: var(--gold);
    }

    .streak-row {
        display: flex;
        gap: 5px;
    }

    .streak-day {
        width: 26px;
        height: 26px;
        border-radius: var(--r-sm);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 10px;
        font-weight: 700;
    }

    .streak-day.done {
        background: var(--gold);
        color: var(--bg-sidebar);
    }

    .streak-day.today {
        background: var(--bg-raised);
        border: 2px solid var(--gold);
        color: var(--gold);
    }

    .streak-day.empty {
        background: var(--bg-page);
        border: 1px solid var(--border);
        color: var(--text-dim);
    }

    .community-list {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .community-item {
        font-family: var(--font-serif);
        font-size: 13px;
        color: var(--text-primary);
        line-height: 1.5;
        border-bottom: 1px solid var(--border);
        padding-bottom: 10px;
        cursor: pointer;
        transition: color 0.15s;
    }

    .community-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .community-item:hover {
        color: var(--purple-accent);
    }

    .community-replies {
        font-size: 11px;
        color: var(--text-dim);
        margin-top: 2px;
    }

    /* =============================================
       FOOTER
       ============================================= */
    .footer {
        background: var(--bg-sidebar);
        border-top: 1px solid var(--border);
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        padding: 16px 20px;
        gap: 10px;
    }

    .footer-item {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .footer-item i {
        font-size: 22px;
        color: var(--purple-accent);
    }

    .footer-label {
        font-size: 12px;
        color: var(--text-primary);
        font-weight: 700;
    }

    .footer-sub {
        font-size: 10px;
        color: var(--text-dim);
    }

    /* =============================================
       MOBILE BOTTOM NAV
       ============================================= */
    .bottom-nav {
        display: none;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: var(--bottomnav-h);
        background: var(--bg-sidebar);
        border-top: 1px solid var(--border);
        z-index: 100;
        align-items: center;
        justify-content: space-around;
        padding: 0 8px;
    }

    .bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
        flex: 1;
        cursor: pointer;
        padding: 8px 4px;
        border-radius: var(--r-sm);
        transition: background 0.15s;
        background: none;
        border: none;
        color: var(--text-secondary);
        font-family: var(--font-ui);
    }

    .bottom-nav-item.active {
        color: var(--purple-accent);
    }

    .bottom-nav-item i {
        font-size: 22px;
    }

    .bottom-nav-item span {
        font-size: 9px;
        letter-spacing: 0.2px;
    }

    .bottom-nav-cta {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: var(--purple-btn);
        border: 3px solid var(--bg-page);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        cursor: pointer;
        box-shadow: 0 2px 16px rgba(107, 61, 184, 0.5);
        transition: background 0.2s, transform 0.15s;
    }

    .bottom-nav-cta:hover {
        background: var(--purple-btn-hover);
        transform: scale(1.05);
    }

    .bottom-nav-cta i {
        font-size: 24px;
        color: #f0e8ff;
    }

    /* =============================================
       RESPONSIVE — TABLET (≤900px)
       ============================================= */
    @media (max-width: 900px) {
        .sidebar-right {
            display: none;
        }

        .layout {
            grid-template-columns: 185px 1fr;
        }
    }

    /* =============================================
       RESPONSIVE — MOBILE (≤640px)
       ============================================= */
    @media (max-width: 640px) {

        /* Show burger, hide desktop right items */

        .logo-image {

            height: 48px;

        }

        .btn-burger {
            display: block;
        }

        .topbar-search {
            display: none;
        }

        .gem-pill {
            display: none;
        }

        .profile-pill span {
            display: none;
        }

        .profile-pill i {
            display: none;
        }

        .topbar-right {
            gap: 14px;
        }

        /* Full-width single column */
        .layout {
            grid-template-columns: 1fr;
        }

        /* Left sidebar becomes a slide-in drawer */
        .sidebar-left {
            position: fixed;
            top: 0;
            left: 0;
            width: 286px;
            height: 100vh;
            z-index: 300;
            transform: translateX(-100%);
            padding-top: 12px;
            border-right: 1px solid var(--border-mid);
            box-shadow: 4px 0 28px rgba(0, 0, 0, 0.62);
        }

        .sidebar-left.open {
            transform: translateX(0);
        }

        /* Show close button inside drawer */
        .btn-drawer-close {
            display: flex;
        }

        /* Feed full width, extra bottom padding for bottom nav */
        .feed {
            padding: 14px 12px;
            padding-bottom: calc(var(--bottomnav-h) + 14px);
        }

        /* Hero smaller on mobile */
        .hero-banner {
            height: 170px;
            border-radius: var(--r-lg);
        }

        .hero-overlay {
            padding: 20px;
        }

        .hero-title {
            font-size: 24px;
        }

        .hero-sub {
            font-size: 13px;
            margin-bottom: 12px;
        }

        .btn-hero {
            padding: 9px 20px;
            font-size: 13px;
        }

        /* Reading types — 2 columns on mobile */
        .reading-types {
            grid-template-columns: repeat(2, 1fr);
            gap: 8px;
        }

        .rt-icon {
            font-size: 26px;
        }

        /* Posts full width */
        .post-card {
            border-radius: var(--r-md);
            padding: 14px;
        }

        .post-image {
            height: 130px;
        }

        /* Footer hidden on mobile — bottom nav replaces it */
        .footer {
            display: none;
        }

        /* Show bottom nav */
        .bottom-nav {
            display: flex;
        }

        /* Zodiac row smaller */
        .zodiac-sign {
            width: 30px;
            height: 30px;
            font-size: 14px;
        }
    }