/* ========================================================================
   HOME PAGE — Full CSS v7.5 — Uniform 4:5 cards (better portrait fit)
   ======================================================================== */

/* ── Feed Grid ─────────────────────────────────────────────────────────── */
.logs-feed {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 680px;
    margin: 0 auto;
    align-items: start;
    padding: 0 0.5rem;
}

@media (min-width: 769px) {
    .logs-feed {
        padding: 0 1rem;
        gap: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .logs-feed {
        grid-template-columns: repeat(2, 1fr);
        max-width: 1280px;
        gap: 1.5rem;
        padding: 0 1.5rem;
    }
}

@media (min-width: 1400px) {
    .logs-feed {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1800px;
        gap: 1.75rem;
    }
}

.home-intel-section {
    margin: 1.5rem auto 0;
    max-width: 1200px; /* wider container so thin-card text never clips */
    background: var(--bg-elevated, rgba(255,255,255,0.04));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 1rem 1rem 0.9rem;
}

.home-intel-header {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.home-intel-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary, #f8fafc);
}

.home-intel-subtitle {
    font-size: 0.88rem;
    color: var(--text-muted, #94a3b8);
    line-height: 1.55;
    margin: 0;
}

.home-intel-grid {
    display: grid;
    gap: 0.85rem;
}

.home-intel-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px; /* was 24px */
    height: 48px;
    background: rgba(30,41,59,0.5);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    margin-bottom: 8px;

    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    overflow: hidden;
}

.home-intel-card:hover {
    border-color: rgba(255,255,255,0.14);
    transform: translateY(-1px);
}

.home-intel-card-label {
    font-size: 10px;
    text-transform: uppercase;
    color: rgba(255,122,69,0.7);
    font-weight: 800;
    white-space: nowrap;
}

.home-intel-card-title {
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    margin-left: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-intel-card-action {
    font-size: 12px;
    color: rgba(255,122,69,0.75);
    font-weight: 700;
    white-space: nowrap;
}

.home-intel-card:hover .home-intel-card-action {
    color: rgba(255,122,69,1);
}

/* hide the descriptive copy line for thin-card layout */
.home-intel-card-copy {
    display: none;
}

@media (min-width: 769px) {
    .home-intel-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* ── Feed Card — Base (now 4:5 portrait cards) ────────────────────────── */
.feed-card {
    background: var(--bg-card, #0f172a);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4), 0 0 0 0.5px rgba(255,255,255,0.03);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    display: flex;
    flex-direction: column;
    aspect-ratio: 4 / 5;          /* ← Taller cards – shows full body in most portraits */
}

.feed-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255,255,255,0.08);
    transform: translateY(-2px);
}

/* ── Card Header ───────────────────────────────────────────────────────── */
.feed-card-header {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 0.875rem 0.5rem;
    flex-shrink: 0;               /* Header always visible, never squashed */
}

/* ── Avatar system ─────────────────────────────────────────────────────── */
.fc-avatar-wrap {
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    display: block;
}

.fc-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.fc-avatar-fallback {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    position: absolute;
    inset: 0;
}

.fc-author-info {
    flex: 1;
    min-width: 0;
}

.fc-author-name-row {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    min-width: 0;
}

.fc-author-name {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-primary, #f1f5f9);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fc-verified-dot {
    color: #3b82f6;
    font-size: 0.7rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.fc-author-meta {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted, #64748b);
    margin-top: 0.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fc-author-meta i {
    font-size: 0.65rem;
    color: var(--sunset-orange, #ff6b35);
}

.fc-header-right {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}

.fc-more-btn {
    background: none;
    border: none;
    padding: 0.4rem 0.45rem;
    cursor: pointer;
    color: var(--text-muted, #64748b);
    border-radius: 8px;
    transition: background 0.15s, color 0.15s;
    font-size: 0.85rem;
    line-height: 1;
}

.fc-more-btn:hover {
    background: rgba(255,255,255,0.06);
    color: var(--text-primary, #f1f5f9);
}

/* ── Media block (fills remaining space) ───────────────────────────────── */
.feed-card-media {
    flex: 1 1 0%;               /* absorbs all space between header and footer */
    min-height: 0;
    position: relative;
    overflow: hidden;
    background: #000;
    cursor: pointer;
    /* No aspect-ratio here – the card’s 4:5 dictates the shape */
}

.feed-card-media.has-backdrop::before,
.feed-card-media.is-contain::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--fc-backdrop-url);
    background-size: cover;
    background-position: center;
    filter: blur(18px) saturate(1.08);
    transform: scale(1.08);
    opacity: 0.42;
}

.feed-card-image,
.feed-card-video {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;          /* fills the container, minimal cropping with 4:5 ratio */
    display: block;
    transition: transform 0.35s ease;
}

.feed-card-media.is-contain .feed-card-image,
.feed-card-media.is-contain .feed-card-video,
.feed-card-image.is-contain,
.feed-card-video.is-contain {
    object-fit: contain;
}

.feed-card-media.is-cover .feed-card-image,
.feed-card-media.is-cover .feed-card-video,
.feed-card-image.is-cover,
.feed-card-video.is-cover {
    object-fit: cover;
}

.feed-card-media:hover .feed-card-image {
    transform: scale(1.02);
}

/* Video overlay */
.feed-card-video-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.28);
    transition: opacity 0.2s;
}

.feed-card-media.playing .feed-card-video-overlay { opacity: 0; pointer-events: none; }

.feed-card-play-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(6px);
    border: 2px solid rgba(255,255,255,0.35);
    color: #fff;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.15s, background 0.15s;
    padding-left: 3px;
}

.feed-card-play-btn:hover {
    transform: scale(1.1);
    background: rgba(255,255,255,0.28);
}

/* Live badge */
.fc-live-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;
    background: #ef4444;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 8px 4px 6px;
    border-radius: 999px;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 0 0 2px rgba(239,68,68,0.3);
    animation: pulse-live 2s infinite;
}

.fc-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    animation: blink-live 1.2s infinite;
}

@keyframes blink-live {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes pulse-live {
    0%, 100% { box-shadow: 0 0 0 2px rgba(239,68,68,0.3); }
    50% { box-shadow: 0 0 0 6px rgba(239,68,68,0); }
}

/* ── Body — Media posts ────────────────────────────────────────────────── */
.fc-body {
    padding: 0.5rem 0.875rem 0.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex-shrink: 0;
}

.fc-body--empty {
    display: none;
}

/* ── Body — Text-only posts (fills entire card) ────────────────────────── */
.feed-card--text-only {
    border-color: rgba(255,255,255,0.08);
}

.fc-body--centered {
    flex: 1 1 0%;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    text-align: center;
}

/* ── Captions ──────────────────────────────────────────────────────────── */
.fc-caption {
    color: var(--text-primary, #e2e8f0);
    font-size: 0.875rem;
    line-height: 1.6;
    word-break: break-word;
    margin: 0;
}

.fc-caption.text-hero {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #fff;
    text-shadow: 0 2px 16px rgba(0,0,0,0.4);
}

.fc-caption.text-large {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.fc-caption.text-medium {
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    font-weight: 600;
    line-height: 1.45;
    color: rgba(255,255,255,0.95);
}

.fc-caption.text-small {
    font-size: 0.925rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.88);
}

.fc-caption--centered {
    text-align: center;
}

/* Truncation */
.fc-caption.is-truncated {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fc-see-more {
    background: none;
    border: none;
    color: var(--sunset-orange, #ff6b35);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    text-align: left;
    transition: opacity 0.15s;
}

.fc-see-more:hover { opacity: 0.75; text-decoration: underline; }

/* ── Footer (always at bottom) ─────────────────────────────────────────── */
.feed-card-footer {
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(255,255,255,0.05);
    flex-shrink: 0;
}

/* Stats line */
.feed-card-stats {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.875rem 0;
    flex-wrap: wrap;
}

.fc-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted, #64748b);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: color 0.15s;
}

.fc-stat-pill:hover { color: var(--text-secondary, #94a3b8); }
.fc-stat-pill i { font-size: 0.68rem; }
.fc-stat-plain { cursor: default; }

/* Action bar */
.fc-actions {
    display: flex;
    align-items: center;
    padding: 0.2rem 0.375rem 0.375rem;
    gap: 0;
}

.fc-act {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background: none;
    border: none;
    padding: 0.5rem 0.25rem;
    border-radius: 10px;
    font-size: 0.78rem;
    color: var(--text-muted, #64748b);
    cursor: pointer;
    transition: color 0.15s, background 0.15s, transform 0.1s;
    font-weight: 500;
}

.fc-act i { font-size: 1rem; transition: transform 0.15s; }

.fc-act:hover {
    background: rgba(255,255,255,0.05);
    color: var(--text-primary, #f1f5f9);
}

.fc-act:active { transform: scale(0.93); }

/* Like — red */
.fc-act.active.liked {
    color: #ef4444;
}
.fc-act.active.liked i {
    animation: heart-pop 0.3s ease;
}

@keyframes heart-pop {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.35); }
    100% { transform: scale(1); }
}

/* Repost — green */
.fc-act.active.reposted { color: #22c55e; }

/* Save — push to far right */
.fc-act--save { margin-left: auto; flex: 0; padding: 0.5rem 0.625rem; }
.fc-act.active.saved { color: var(--sunset-orange, #ff6b35); }

/* ── Comments Panel ────────────────────────────────────────────────────── */
.feed-card-comments {
    display: none;
    flex-direction: column;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.feed-card-comments.is-open {
    display: flex;
}

.feed-card-comments-container {
    max-height: 280px;
    overflow-y: auto;
    padding: 0.375rem 0;
}

.feed-card-comment {
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem 0.875rem;
    transition: background 0.1s;
}

.feed-card-comment:hover {
    background: rgba(255,255,255,0.025);
}

.feed-card-comment-content {
    flex: 1;
    min-width: 0;
}

.feed-card-comment-header {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.15rem;
}

.feed-card-comment-author {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-primary, #e2e8f0);
}

.feed-card-comment-time {
    font-size: 0.7rem;
    color: var(--text-muted, #64748b);
    margin-left: auto;
}

.feed-card-comment-text {
    font-size: 0.83rem;
    line-height: 1.5;
    color: var(--text-secondary, #94a3b8);
    word-break: break-word;
}

/* Comment form */
.feed-card-comment-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem 0.625rem;
    border-top: 1px solid rgba(255,255,255,0.04);
}

.feed-card-comment-input {
    flex: 1;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 100px;
    padding: 0.45rem 0.875rem;
    font-size: 0.84rem;
    background: rgba(255,255,255,0.04);
    color: var(--text-primary, #e2e8f0);
    outline: none;
    transition: border-color 0.15s, background 0.15s;
}

.feed-card-comment-input::placeholder { color: var(--text-muted, #475569); }

.feed-card-comment-input:focus {
    border-color: var(--sunset-orange, #ff6b35);
    background: rgba(255,255,255,0.06);
}

.feed-card-comment-submit {
    background: var(--sunset-orange, #ff6b35);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    font-size: 0.8rem;
    transition: transform 0.15s, opacity 0.15s;
}

.feed-card-comment-submit:hover { transform: scale(1.08); }
.feed-card-comment-submit:disabled { opacity: 0.5; transform: none; cursor: default; }

.fc-loading {
    padding: 1rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.fc-comments-none {
    padding: 0.75rem 0.875rem;
    color: var(--text-muted, #64748b);
    font-size: 0.82rem;
    margin: 0;
}

/* ── Stories Rail ──────────────────────────────────────────────────────── */
.stories-section {
    max-width: 680px;
    margin: 0 auto 1rem;
    padding: 0 0.5rem;
}

.stories-rail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.625rem;
}

.stories-rail-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.375rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.stories-rail-label i { color: var(--sunset-orange, #ff6b35); }

.stories-rail-see-all {
    font-size: 0.78rem;
    color: var(--sunset-orange, #ff6b35);
    text-decoration: none;
    font-weight: 600;
    opacity: 0.85;
    transition: opacity 0.15s;
}

.stories-rail-see-all:hover { opacity: 1; }

.stories-rail {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding: 0.25rem 0 0.5rem;
    scrollbar-width: none;
}

.stories-rail::-webkit-scrollbar { display: none; }

.story-bubble {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
    cursor: pointer;
}

.story-avatar-ring {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    padding: 2.5px;
    background: linear-gradient(135deg, #ff6b35, #c9a646, #11998e);
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.story-avatar-ring:hover { transform: scale(1.1); }
.story-avatar-ring.expired { background: rgba(255,255,255,0.12); }

.story-avatar-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--bg-card, #0f172a);
    padding: 2px;
    overflow: hidden;
}

.story-name {
    font-size: 0.68rem;
    color: var(--text-muted);
    max-width: 60px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ── Feed Filters ──────────────────────────────────────────────────────── */
.feed-filters {
    display: flex;
    gap: 0.4rem;
    overflow-x: auto;
    max-width: 680px;
    margin: 0 auto 1rem;
    padding: 0 0.5rem 0.25rem;
    scrollbar-width: none;
}

.feed-filters::-webkit-scrollbar { display: none; }

.feed-filter {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.45rem 0.875rem;
    border-radius: 100px;
    background: rgba(255,255,255,0.04);
    color: var(--text-muted, #64748b);
    border: 1px solid rgba(255,255,255,0.07);
    cursor: pointer;
    white-space: nowrap;
    font-size: 0.82rem;
    font-weight: 600;
    transition: all 0.15s ease;
}

.feed-filter i { font-size: 0.75rem; }

.feed-filter:hover {
    background: rgba(255,255,255,0.07);
    color: var(--text-secondary);
}

.feed-filter.active {
    background: linear-gradient(135deg, rgba(255,107,53,0.18), rgba(201,166,70,0.15));
    border-color: rgba(255,107,53,0.35);
    color: var(--sunset-orange, #ff6b35);
    box-shadow: 0 0 0 1px rgba(255,107,53,0.15) inset;
}

.feed-personalization-hint {
    font-size: 0.82rem;
    color: var(--text-muted, #94a3b8);
    text-align: center;
    margin: 0 auto 0.75rem;
    max-width: 720px;
    padding: 0 0.5rem;
}

/* ── Post type badges ──────────────────────────────────────────────────── */
.post-type-badge {
    font-size: 0.9rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s;
}

.post-type-badge:hover { transform: scale(1.2); }

/* ── Skeleton ──────────────────────────────────────────────────────────── */
.skeleton-card {
    pointer-events: none;
}

.skeleton {
    background: linear-gradient(90deg,
        rgba(255,255,255,0.04) 25%,
        rgba(255,255,255,0.09) 50%,
        rgba(255,255,255,0.04) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.6s infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-footer {
    padding: 0.5rem 0.75rem 0.625rem;
    display: flex;
    gap: 0.5rem;
}

/* ── Empty state ───────────────────────────────────────────────────────── */
.empty-feed {
    text-align: center;
    padding: 4rem 2rem;
    grid-column: 1 / -1;
    color: var(--text-muted);
}

.empty-feed-icon {
    font-size: 3rem;
    opacity: 0.25;
    display: block;
    margin-bottom: 1rem;
}

.empty-feed h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.empty-feed p {
    font-size: 0.875rem;
}

/* ── Legacy log-card ───────────────────────────────────────────────────── */
.log-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
    border-top: 3px solid var(--sunset-orange);
    max-width: 680px;
    margin: 0 auto;
}

.log-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    transition: all 0.2s ease;
}

.log-header {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.log-user-info h4 {
    margin-bottom: 0.2rem;
    font-size: 0.9rem;
}

.log-user-meta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.log-content {
    padding: 1rem 1.25rem;
}

.log-text { line-height: 1.6; margin-bottom: 0.875rem; }

.log-image {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 0.875rem;
    cursor: pointer;
}

.log-actions {
    display: flex;
    gap: 0.375rem;
    padding: 0.75rem 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.log-action {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.15s;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.log-action:hover {
    background: rgba(255,255,255,0.05);
    color: var(--sunset-orange);
}

.log-action.active { color: var(--sunset-orange); font-weight: 600; }

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 680px) {
    .feed-card { border-radius: 12px; }
    .stories-section, .feed-filters { padding: 0 0.375rem; }
}

@media (max-width: 480px) {
    .feed-card-header { padding: 0.625rem 0.75rem 0.375rem; }
    .fc-body { padding: 0.4rem 0.75rem 0.2rem; }
    .fc-actions { padding: 0.15rem 0.25rem 0.3rem; }
    .fc-act { font-size: 0.72rem; }
    .fc-act i { font-size: 0.9rem; }
}

/* ── Home page header elements (unchanged) ─────────────────────────────── */
.home-brand-row {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.home-brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: radial-gradient(circle at 20% 0%, #fef3c7, #c9a646);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 11px;
    color: #111827;
    box-shadow: 0 0 0 1px rgba(0,0,0,.25), 0 4px 12px rgba(201,166,70,.3);
    flex-shrink: 0;
    letter-spacing: -.02em;
}

.home-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.home-brand-name {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-primary);
}

.home-brand-sub {
    font-size: 11px;
    color: var(--text-muted);
}

.home-points-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.7rem;
    border-radius: 100px;
    background: rgba(201,166,70,0.1);
    border: 1px solid rgba(201,166,70,0.3);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gold-light, #f0cc70);
    cursor: pointer;
}

.home-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 1rem 0 0.5rem;
    padding: 0 0.5rem;
}

.home-section-title h2 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.home-section-title span {
    font-size: 0.75rem;
    color: var(--text-muted);
}
