/* ═══════════════════════════════════════════════════════
   FEED V3 — Twitter-style beep cards
   User-centric: source first, natural text, media, metrics
   ═══════════════════════════════════════════════════════ */

/* ── Welcome header ── */
.welcome-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 16px 12px;
}

.welcome-greeting {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

.welcome-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.2;
}

.welcome-geo {
    font-size: 0.8125rem;
    color: var(--brand-primary-hover);
    font-weight: 500;
    white-space: nowrap;
    margin-top: 4px;
}

/* ── Category chips ── */
.cat-chips-row {
    display: flex;
    gap: 8px;
    padding: 0 16px 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.cat-chips-row::-webkit-scrollbar {
    display: none;
}

.cat-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 20px;
    border: 1.5px solid var(--color-border);
    background: var(--color-surface);
    text-decoration: none;
    color: var(--color-text);
    font-size: 0.8125rem;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.15s ease;
}

.cat-chip:hover {
    border-color: var(--brand-primary);
    background: var(--color-bg-hover);
}

.cat-chip.active {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #111;
    font-weight: 600;
}

.cat-chip-emoji {
    font-size: 1rem;
}

.cat-chip-label {
    font-size: 0.8125rem;
}

/* ── Geo picker (in welcome header) ── */
.geo-picker {
    position: relative;
    flex-shrink: 0;
}

.geo-chip-btn {
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
    font-size: 0.8125rem;
    color: var(--brand-primary-hover);
    font-weight: 500;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.geo-chip-btn:hover {
    opacity: 0.7;
}

.geo-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 100;
    background: var(--color-surface);
    border: 1.5px solid var(--color-border);
    border-radius: 14px;
    padding: 6px;
    min-width: 160px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

[data-theme="dark"] .geo-dropdown {
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.geo-dropdown.open {
    display: block;
}

.geo-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--color-text);
    font-size: 0.875rem;
    font-weight: 500;
    transition: background 0.1s ease;
}

.geo-option:hover {
    background: var(--color-bg-hover);
}

.geo-option.active {
    background: var(--brand-primary);
    color: #111;
    font-weight: 600;
}

/* ── Card ── */
.v3-card {
    padding: 12px 16px;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    gap: 12px;
    transition: background 0.15s ease;
}

.v3-card:hover {
    background: var(--color-bg-hover);
}

/* ── Avatar column ── */
.v3-avatar {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    background: var(--color-bg-secondary);
    color: var(--color-text);
    font-weight: 600;
    overflow: hidden;
}

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

/* ── Content column ── */
.v3-content {
    flex: 1;
    min-width: 0;
}

/* ── Header: name + handle + time ── */
.v3-header {
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-wrap: wrap;
    margin-bottom: 2px;
}

.v3-name {
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--color-text);
}

.v3-handle {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

.v3-dot {
    color: var(--color-text-muted);
    font-size: 0.75rem;
}

.v3-time {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

/* ── Body text ── */
.v3-text {
    font-size: 0.9375rem;
    line-height: 1.45;
    color: var(--color-text);
    margin-bottom: 10px;
    word-break: break-word;
}

.v3-text a {
    color: var(--brand-primary-hover);
    text-decoration: none;
}

.v3-text a:hover {
    text-decoration: underline;
}

/* ── Media / Event card ── */
.v3-media {
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 10px;
    cursor: pointer;
    transition: border-color 0.15s ease;
}

.v3-media:hover {
    border-color: var(--color-text-muted);
}

.v3-media-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    background: var(--color-bg-secondary);
}

.v3-media-body {
    padding: 10px 14px;
}

.v3-media-label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 2px;
}

.v3-media-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.3;
    margin-bottom: 2px;
}

.v3-media-meta {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    line-height: 1.3;
}

/* ── Engagement bar ── */
.v3-actions {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 4px;
    max-width: 400px;
}

.v3-action {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 0;
    border: none;
    background: none;
    color: var(--color-text-muted);
    font-size: 0.8125rem;
    cursor: pointer;
    transition: color 0.15s ease;
    font-family: inherit;
    text-decoration: none;
}

.v3-action:hover {
    color: var(--brand-primary-hover);
}

.v3-action svg {
    flex-shrink: 0;
}

.v3-action.subscribed {
    color: var(--color-success);
}

/* ── Signal badge ── */
.v3-signal {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.v3-signal.trending {
    background: #FEF3C7;
    color: #92400E;
}

.v3-signal.countdown {
    background: #DBEAFE;
    color: #1E40AF;
}

.v3-signal.popular {
    background: #F3E8FF;
    color: #6B21A8;
}

[data-theme="dark"] .v3-signal.trending {
    background: #78350F;
    color: #FDE68A;
}

[data-theme="dark"] .v3-signal.countdown {
    background: #1E3A5F;
    color: #93C5FD;
}

[data-theme="dark"] .v3-signal.popular {
    background: #4C1D95;
    color: #DDD6FE;
}

/* ── Trigger gauge (compact) ── */
.v3-gauge {
    margin-bottom: 8px;
}

.v3-gauge-bar {
    height: 4px;
    background: var(--color-bg-secondary);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 4px;
}

.v3-gauge-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.v3-gauge-fill.low { background: #F59E0B; }
.v3-gauge-fill.medium { background: #F97316; }
.v3-gauge-fill.high { background: #EF4444; }
.v3-gauge-fill.triggered { background: #22C55E; }

.v3-gauge-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* ── Deadline bar (compact) ── */
.v3-deadline {
    margin-bottom: 8px;
}

.v3-deadline-bar {
    height: 4px;
    background: var(--color-bg-secondary);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 4px;
}

.v3-deadline-fill {
    height: 100%;
    border-radius: 2px;
}

.v3-deadline-fill.relaxed { background: #22C55E; }
.v3-deadline-fill.approaching { background: #F59E0B; }
.v3-deadline-fill.urgent { background: #EF4444; }
.v3-deadline-fill.overdue { background: #991B1B; }

.v3-deadline-label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* ── CTA inline ── */
.v3-cta {
    margin-top: 8px;
}

.v3-cta .cta-subscribe {
    border-radius: 20px;
    font-size: 0.8125rem;
    padding: 6px 16px;
}

/* ── Twitter2 card ── */
.t2-card {
    padding: 12px 16px;
    border-bottom: 1px solid var(--color-border);
}

.t2-topbar {
    display: flex;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.t2-topbar span + span::before {
    content: '·';
    margin-right: 6px;
}

.t2-author {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.t2-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.t2-name {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--color-text);
}

.t2-text {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--color-text);
    margin-bottom: 10px;
}

.t2-image-wrap {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 8px;
}

.t2-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    background: var(--color-bg-secondary);
}

.t2-desc {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.45;
    margin-bottom: 8px;
}

.t2-date {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.t2-actions {
    display: flex;
    gap: 0;
    max-width: 300px;
}

.t2-action {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 0;
    border: none;
    background: none;
    color: var(--color-text-muted);
    font-size: 0.875rem;
    cursor: pointer;
    transition: color 0.15s ease;
    font-family: inherit;
    text-decoration: none;
}

.t2-action:hover {
    color: var(--brand-primary-hover);
}

.t2-action.subscribed {
    color: var(--color-success);
}

/* ── Mini card ── */
.v3-mini-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--color-border);
    transition: background 0.15s ease;
}

.v3-mini-item:hover {
    background: var(--color-bg-hover);
}

.v3-mini-content {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.v3-mini-emoji {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.v3-mini-text {
    flex: 1;
    min-width: 0;
}

.v3-mini-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.v3-mini-meta {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.v3-mini-bell {
    flex-shrink: 0;
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: transform 0.15s ease, background 0.15s ease;
    line-height: 1;
}

.v3-mini-bell:hover {
    transform: scale(1.15);
    background: var(--color-bg-hover);
}

.v3-mini-bell.subscribed {
    opacity: 0.5;
}

/* ── Mini3 card (compact row with toggle) ── */
.m3-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--color-border);
    transition: background 0.15s ease;
}

.m3-item:hover {
    background: var(--color-bg-hover);
}

.m3-emoji {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.m3-body {
    flex: 1;
    min-width: 0;
    text-decoration: none;
    color: inherit;
}

.m3-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.m3-meta {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.m3-toggle {
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.m3-toggle-track {
    display: block;
    width: 44px;
    height: 24px;
    background: var(--color-border);
    border-radius: 12px;
    position: relative;
    transition: background 0.2s ease;
    pointer-events: none;
}

.m3-toggle.on .m3-toggle-track {
    background: #22C55E;
}

.m3-toggle-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s ease;
    pointer-events: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.m3-toggle.on .m3-toggle-thumb {
    transform: translateX(20px);
}

/* ── Trigger2 card (IFTTT-style) ── */
.t2r-card {
    padding: 24px 20px;
    margin: 8px 16px;
    border-radius: 16px;
    color: #fff;
    text-align: center;
}

.t2r-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.t2r-title {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 8px;
    color: #fff;
}

.t2r-desc {
    font-size: 0.8125rem;
    opacity: 0.85;
    line-height: 1.4;
    margin: 0 0 12px;
}

.t2r-source {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-bottom: 16px;
}

.t2r-toggle-row {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.t2r-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 24px;
    padding: 8px 20px;
    cursor: pointer;
    transition: background 0.2s ease;
    font-family: inherit;
}

.t2r-toggle:hover {
    background: rgba(255,255,255,0.3);
}

.t2r-toggle-label {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.t2r-toggle-track {
    width: 44px;
    height: 24px;
    background: rgba(0,0,0,0.25);
    border-radius: 12px;
    position: relative;
    transition: background 0.2s ease;
    pointer-events: none;
}

.t2r-toggle.on .t2r-toggle-track {
    background: #22C55E;
}

.t2r-toggle-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s ease;
    pointer-events: none;
}

.t2r-toggle.on .t2r-toggle-thumb {
    transform: translateX(20px);
}

.t2r-subs {
    font-size: 0.75rem;
    opacity: 0.7;
}

/* ── Trigger3 card (compact colored, app-icon style) ── */
.t3-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    margin: 8px 16px 0;
    border-radius: 14px;
    text-decoration: none;
    color: #fff;
    transition: opacity 0.15s ease;
}

.t3-card:hover {
    opacity: 0.9;
}

.t3-icon {
    font-size: 2rem;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

.t3-body {
    flex: 1;
    min-width: 0;
}

.t3-title {
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.t3-desc {
    font-size: 0.75rem;
    opacity: 0.8;
    line-height: 1.3;
    margin-top: 2px;
}

.t3-meta {
    display: flex;
    gap: 12px;
    padding: 4px 16px 8px 66px;
    font-size: 0.7rem;
    color: var(--color-text-muted);
}

.t3-meta span + span::before {
    content: '·';
    margin-right: 6px;
}

/* ── Mini2 card (notification/chat style) ── */
.m2-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--color-border);
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease;
}

.m2-item:hover {
    background: var(--color-bg-hover);
}

.m2-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.m2-body {
    flex: 1;
    min-width: 0;
}

.m2-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.m2-sub {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 1px;
}

.m2-arrow {
    flex-shrink: 0;
    font-size: 1.25rem;
    color: var(--color-text-muted);
    opacity: 0.4;
}

/* ── Create card — post-style create prompt ── */
.create-card {
    padding: 12px 16px;
    border-bottom: 1px solid var(--color-border);
}

.create-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.create-card-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--brand-primary);
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    flex-shrink: 0;
}

.create-card-user {
    display: flex;
    flex-direction: column;
}

.create-card-name {
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--color-text);
}

.create-card-handle {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

.create-card-form textarea {
    width: 100%;
    border: 1.5px solid var(--color-border);
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 0.9375rem;
    font-family: inherit;
    color: var(--color-text);
    background: var(--color-surface);
    resize: none;
    outline: none;
    min-height: 44px;
    line-height: 1.4;
    box-sizing: border-box;
}

.create-card-form textarea:focus {
    border-color: var(--brand-primary);
}

.create-card-form textarea::placeholder {
    color: var(--color-text-muted);
}

.create-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

.create-card-camera {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 0.8125rem;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 8px;
    transition: all 0.15s ease;
    font-family: inherit;
}

.create-card-camera:hover {
    background: var(--color-bg-hover);
    color: var(--brand-primary-hover);
}

.create-card-go {
    padding: 8px 20px;
    background: var(--brand-primary);
    color: #111;
    border: none;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: opacity 0.15s ease;
}

.create-card-go:hover {
    opacity: 0.85;
}

/* ── Countdown card — big ticking numbers ── */
.countdown-card {
    padding: 20px 16px;
    border-bottom: 1px solid var(--color-border);
    text-align: center;
}

.countdown-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}

.countdown-emoji {
    font-size: 1.25rem;
}

.countdown-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-text);
}

.countdown-title a {
    color: inherit;
    text-decoration: none;
}

.countdown-title a:hover {
    text-decoration: underline;
}

.countdown-digits {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 56px;
}

.countdown-number {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    color: var(--color-text);
    font-variant-numeric: tabular-nums;
}

.countdown-label {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    margin-top: 4px;
}

.countdown-sep {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-muted);
    opacity: 0.4;
    align-self: flex-start;
    margin-top: 4px;
}

.countdown-meta {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin-bottom: 10px;
}

.countdown-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border-radius: 20px;
    border: 1.5px solid var(--color-border);
    background: var(--color-surface);
    color: var(--color-text);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
}

.countdown-cta:hover {
    border-color: var(--brand-primary);
    background: var(--color-bg-hover);
}

.countdown-cta.subscribed {
    border-color: var(--color-success);
    color: var(--color-success);
}

/* ── Pack card — inline collection preview ── */
.pack-card {
    padding: 16px;
    border-bottom: 1px solid var(--color-border);
}

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

.pack-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pack-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #fff;
}

.pack-info {
    display: flex;
    flex-direction: column;
}

.pack-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-text);
}

.pack-title a {
    color: inherit;
    text-decoration: none;
}

.pack-title a:hover {
    text-decoration: underline;
}

.pack-count {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.pack-see-all {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--brand-primary-hover);
    text-decoration: none;
}

.pack-see-all:hover {
    text-decoration: underline;
}

.pack-toggle-row {
    margin-top: 10px;
}

.pack-subscribe-btn {
    width: 100%;
    padding: 10px 16px;
    border-radius: 12px;
    border: 1.5px solid var(--color-border);
    background: var(--color-surface);
    color: var(--color-text);
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
}

.pack-subscribe-btn:hover {
    border-color: var(--brand-primary);
    background: var(--color-bg-hover);
}

.pack-subscribe-btn.subscribed {
    border-color: var(--color-success);
    color: var(--color-success);
    background: rgba(34, 197, 94, 0.06);
}

.pack-previews {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.pack-preview-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-top: 1px solid var(--color-border);
    text-decoration: none;
    color: inherit;
}

.pack-preview-item:first-child {
    border-top: none;
}

.pack-preview-emoji {
    font-size: 1rem;
    flex-shrink: 0;
}

.pack-preview-text {
    flex: 1;
    min-width: 0;
}

.pack-preview-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pack-preview-meta {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.pack-preview-bell {
    flex-shrink: 0;
    font-size: 0.875rem;
    opacity: 0.5;
}

/* ── Update card — "what changed" stripe ── */
.update-card {
    padding: 12px 16px;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    gap: 12px;
}

.update-card:hover {
    background: var(--color-bg-hover);
}

.update-badge {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #DBEAFE;
    color: #1E40AF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

[data-theme="dark"] .update-badge {
    background: #1E3A5F;
    color: #93C5FD;
}

.update-content {
    flex: 1;
    min-width: 0;
}

.update-tag {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #1E40AF;
    background: #DBEAFE;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 4px;
}

[data-theme="dark"] .update-tag {
    background: #1E3A5F;
    color: #93C5FD;
}

.update-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 2px;
}

.update-title a {
    color: inherit;
    text-decoration: none;
}

.update-title a:hover {
    text-decoration: underline;
}

.update-change {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    line-height: 1.4;
}

.update-time {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: 4px;
}

.update-cta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
}

.update-cta button {
    padding: 4px 14px;
    border-radius: 16px;
    border: 1.5px solid var(--color-border);
    background: var(--color-surface);
    color: var(--color-text);
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
}

.update-cta button:hover {
    border-color: var(--brand-primary);
}

.update-cta button.subscribed {
    border-color: var(--color-success);
    color: var(--color-success);
}

/* ── Versus card — matchup layout ── */
.versus-card {
    padding: 16px;
    border-bottom: 1px solid var(--color-border);
}

.versus-meta {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-align: center;
    margin-bottom: 8px;
}

.versus-matchup {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
}

.versus-side {
    flex: 1;
    text-align: center;
    min-width: 0;
}

.versus-emoji {
    font-size: 2rem;
    margin-bottom: 4px;
}

.versus-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.versus-vs {
    flex-shrink: 0;
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.versus-detail {
    text-align: center;
    margin-bottom: 10px;
}

.versus-detail a {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
}

.versus-detail a:hover {
    text-decoration: underline;
}

.versus-when {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: 2px;
}

.versus-actions {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.versus-btn {
    padding: 6px 16px;
    border-radius: 18px;
    border: 1.5px solid var(--color-border);
    background: var(--color-surface);
    color: var(--color-text);
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
    text-decoration: none;
}

.versus-btn:hover {
    border-color: var(--brand-primary);
    background: var(--color-bg-hover);
}

.versus-btn.subscribed {
    border-color: var(--color-success);
    color: var(--color-success);
}

.versus-btn.primary {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #111;
}

/* ── Poll card — engagement question ── */
.poll-card {
    padding: 16px;
    border-bottom: 1px solid var(--color-border);
    text-align: center;
}

.poll-question {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 4px;
}

.poll-question a {
    color: inherit;
    text-decoration: none;
}

.poll-question a:hover {
    text-decoration: underline;
}

.poll-subtitle {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin-bottom: 14px;
}

.poll-options {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.poll-option {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    border-radius: 24px;
    border: 2px solid var(--color-border);
    background: var(--color-surface);
    color: var(--color-text);
    font-size: 0.9375rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
}

.poll-option:hover {
    border-color: var(--brand-primary);
    background: var(--color-bg-hover);
}

.poll-option.yes:hover {
    border-color: #22C55E;
    background: rgba(34, 197, 94, 0.08);
}

.poll-option.no:hover {
    border-color: #EF4444;
    background: rgba(239, 68, 68, 0.08);
}

.poll-option.voted {
    border-color: var(--brand-primary);
    background: var(--brand-primary);
    color: #111;
}

.poll-count {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* ── Milestone card — social proof burst ── */
.milestone-card {
    padding: 20px 16px;
    border-bottom: 1px solid var(--color-border);
    text-align: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.06) 0%, rgba(168, 85, 247, 0.06) 100%);
}

[data-theme="dark"] .milestone-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(168, 85, 247, 0.12) 100%);
}

.milestone-icon {
    font-size: 2rem;
    margin-bottom: 6px;
}

.milestone-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--color-text);
    line-height: 1;
    margin-bottom: 4px;
    font-variant-numeric: tabular-nums;
}

.milestone-text {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 2px;
}

.milestone-text a {
    color: inherit;
    text-decoration: none;
}

.milestone-text a:hover {
    text-decoration: underline;
}

.milestone-sub-label {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin-bottom: 4px;
}

.milestone-sub {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.milestone-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border-radius: 20px;
    background: var(--brand-primary);
    border: none;
    color: #111;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.15s ease;
    font-family: inherit;
}

.milestone-cta:hover {
    opacity: 0.85;
}

.milestone-cta.subscribed {
    background: var(--color-success);
    color: #fff;
}

/* ── Celebration card — well-known dates, no subscribe ── */
.celebration-card {
    padding: 24px 16px;
    border-bottom: 1px solid var(--color-border);
    text-align: center;
    background: linear-gradient(135deg, rgba(254, 190, 16, 0.06) 0%, rgba(254, 130, 16, 0.06) 100%);
}

[data-theme="dark"] .celebration-card {
    background: linear-gradient(135deg, rgba(254, 190, 16, 0.1) 0%, rgba(254, 130, 16, 0.1) 100%);
}

.celebration-greeting {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.celebration-title {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 6px;
}

.celebration-title a {
    color: inherit;
    text-decoration: none;
}

.celebration-title a:hover {
    text-decoration: underline;
}

.celebration-countdown {
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-primary-hover);
    margin-bottom: 4px;
}

.celebration-date {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

/* ── Responsive ── */
@media (max-width: 480px) {
    .v3-card {
        padding: 10px 12px;
    }

    .v3-avatar {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}
