:root {
    --reddit-orange: #ff4500;
    --reddit-orange-hover: #ff5722;
    --reddit-blue: #0079d3;
    --reddit-bg: #dae0e6;
    --reddit-card: #ffffff;
    --reddit-border: #ccc;
    --reddit-text: #1c1c1c;
    --reddit-text-secondary: #787c7e;
    --reddit-upvote: #ff4500;
    --reddit-downvote: #7193ff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--reddit-bg);
    color: var(--reddit-text);
    line-height: 1.5;
}

.reddit-header {
    background: var(--reddit-card);
    border-bottom: 1px solid var(--reddit-border);
    padding: 0 20px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    height: 48px;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--reddit-text);
    font-weight: 700;
    font-size: 18px;
}

.logo img {
    height: 32px;
    width: 32px;
}

.logo-text {
    color: var(--reddit-orange);
}

.nav-links {
    display: flex;
    gap: 4px;
}

.nav-link {
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    color: var(--reddit-text);
    font-weight: 500;
    font-size: 14px;
    transition: background 0.2s;
}

.nav-link:hover {
    background: rgba(0, 0, 0, 0.05);
}

.nav-link.active {
    background: var(--reddit-orange);
    color: white;
}

/* Hero Section - Infographic Style */
.hero-section {
    background: linear-gradient(135deg, var(--reddit-orange) 0%, #ff6b35 100%);
    color: white;
    padding: 40px 20px 60px;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
}

.hero-infographic {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-snoo-large {
    width: 180px;
    height: 180px;
    background: white;
    border-radius: 50%;
    padding: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-snoo-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Live Feed */
.live-feed-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 16px;
    min-width: 320px;
    max-width: 400px;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.live-feed-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--reddit-text);
    margin-bottom: 12px;
    font-size: 14px;
}

.live-indicator {
    width: 8px;
    height: 8px;
    background: #00c853;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.live-feed-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feed-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 12px;
    border-left: 3px solid var(--reddit-border);
}

.feed-item.pending {
    border-left-color: #ffc107;
}

.feed-item.processing {
    border-left-color: var(--reddit-blue);
}

.feed-item.completed {
    border-left-color: #00c853;
}

.feed-item.failed {
    border-left-color: #f44336;
}

.feed-type {
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 10px;
    text-transform: uppercase;
}

.feed-type.pfp {
    background: #e3f2fd;
    color: var(--reddit-blue);
}

.feed-type.meme {
    background: #fff3e0;
    color: var(--reddit-orange);
}

.feed-prompt {
    flex: 1;
    color: var(--reddit-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.feed-status {
    font-weight: 600;
    font-size: 11px;
    color: var(--reddit-text-secondary);
}

.feed-item.completed .feed-status {
    color: #00c853;
}

.feed-item.failed .feed-status {
    color: #f44336;
}

.feed-item.processing .feed-status {
    color: var(--reddit-blue);
}

.feed-empty {
    text-align: center;
    color: var(--reddit-text-secondary);
    padding: 20px;
    font-size: 13px;
}

/* Lore section */
.lore-section {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.lore-text {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 12px;
    opacity: 0.95;
}

.lore-text:last-child {
    margin-bottom: 0;
}

.lore-text strong {
    color: #fff;
}

/* Reddit stats box */
.reddit-stats-box {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 30px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    animation: card-glow 3s ease-in-out infinite;
}

.reddit-stats-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: sheen 4s ease-in-out infinite;
}

/* X link styling */
.nav-x-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px !important;
}

.nav-x-link:hover {
    color: var(--reddit-orange);
}

.nav-ca-btn {
    background: var(--reddit-orange);
    border: none;
    color: white;
    font-weight: 700;
    font-size: 12px;
    padding: 6px 10px !important;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.nav-ca-btn:hover {
    background: #e03d00;
    transform: scale(1.05);
}

.nav-ca-btn.copied {
    background: #4caf50;
}

.reddit-stats-label {
    font-size: 28px;
    font-weight: 800;
    white-space: nowrap;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.reddit-stats-grid {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.reddit-stats-header {
    width: 100%;
    text-align: center;
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 8px;
    font-weight: 500;
}

/* Restored stats container */
.stats-container {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.stat-block {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 24px 32px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    animation: card-glow 3s ease-in-out infinite;
}

.stat-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: sheen 3s ease-in-out infinite;
}

.stat-block.contrast {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.stat-block.contrast::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

@keyframes sheen {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

@keyframes card-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 255, 255, 0.1); }
    50% { box-shadow: 0 0 30px rgba(255, 255, 255, 0.3), 0 0 60px rgba(255, 69, 0, 0.2); }
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-comparison {
    display: flex;
    align-items: center;
}

.vs-text {
    font-size: 18px;
    font-weight: 700;
    opacity: 0.8;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
    max-width: 150px;
}

.stat-comparison {
    display: flex;
    align-items: center;
}

.vs-text {
    font-size: 24px;
    font-weight: 700;
    opacity: 0.7;
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
}

.hero-statement {
    text-align: center;
    margin-bottom: 40px;
}

.hero-statement h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-desc {
    font-size: 18px;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 24px;
    line-height: 1.7;
}

.reddit-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.reddit-stat-item {
    text-align: center;
}

.reddit-stat-value {
    display: block;
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
}

.reddit-stat-desc {
    font-size: 13px;
    opacity: 0.8;
}

/* Community Highlights - Reddit Thread Style */
.community-highlights {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.highlights-header {
    padding: 12px 16px;
    font-size: 12px;
    font-weight: 600;
    color: var(--reddit-text);
    text-transform: uppercase;
    border-bottom: 1px solid #edeff1;
}

.thread-cards-reddit {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1px;
    background: #edeff1;
}

.reddit-thread-card {
    background: white;
    padding: 16px 20px;
    text-decoration: none;
    color: var(--reddit-text);
    transition: background 0.15s;
    border-left: 3px solid transparent;
}

.reddit-thread-card:hover {
    background: #f8f9fa;
    border-left-color: var(--reddit-orange);
}

.thread-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.thread-meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--reddit-text-secondary);
    margin-bottom: 10px;
}

.upvotes {
    color: var(--reddit-upvote);
    font-weight: 600;
}

.gen-count {
    color: var(--reddit-text);
    font-weight: 500;
}

.thread-flair {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.pfp-flair {
    background: rgba(255, 69, 0, 0.1);
    color: var(--reddit-orange);
}

.meme-flair {
    background: rgba(0, 121, 211, 0.1);
    color: var(--reddit-blue);
}

/* Main Container */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
}

@media (max-width: 900px) {
    .main-container {
        grid-template-columns: 1fr;
    }
    .hero-infographic {
        flex-direction: column;
    }
    .hero-statement h1 {
        font-size: 28px;
    }
    .stat-number {
        font-size: 36px;
    }
}

.content-area {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Reddit Post Card Style */
.reddit-post-card {
    background: var(--reddit-card);
    border-radius: 4px;
    border: 1px solid var(--reddit-border);
    display: flex;
    overflow: hidden;
}

.post-sidebar {
    background: #f8f9fa;
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 40px;
}

.vote-btn {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    color: var(--reddit-text-secondary);
    transition: background 0.15s, color 0.15s;
}

.vote-btn.upvote:hover {
    background: rgba(255, 69, 0, 0.1);
    color: var(--reddit-upvote);
}

.vote-btn.downvote:hover {
    background: rgba(113, 147, 255, 0.1);
    color: var(--reddit-downvote);
}

.vote-count {
    font-size: 12px;
    font-weight: 700;
    color: var(--reddit-text);
}

.post-content {
    flex: 1;
    padding: 12px 16px;
}

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

.post-flair {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.post-meta {
    font-size: 12px;
    color: var(--reddit-text-secondary);
}

.post-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--reddit-text);
}

.post-body {
    margin-bottom: 16px;
}

.post-actions {
    display: flex;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px solid #edeff1;
    margin-bottom: 16px;
}

.action-btn {
    background: none;
    border: none;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--reddit-text-secondary);
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.15s;
}

.action-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* Forms */
.generation-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.input-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--reddit-text-secondary);
    text-transform: uppercase;
}

.prompt-input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--reddit-border);
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    min-height: 80px;
}

.prompt-input:focus {
    outline: none;
    border-color: var(--reddit-orange);
}

.submit-btn {
    background: var(--reddit-orange);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    align-self: flex-start;
}

.submit-btn:hover {
    background: var(--reddit-orange-hover);
}

.submit-btn.meme-btn {
    background: var(--reddit-blue);
}

.submit-btn.meme-btn:hover {
    background: #0066b3;
}

/* Upload Zone */
.upload-group {
    margin-bottom: 12px;
}

.upload-zone {
    border: 2px dashed var(--reddit-border);
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    position: relative;
}

.upload-zone:hover {
    border-color: var(--reddit-orange);
    background: rgba(255, 69, 0, 0.02);
}

.upload-zone.drag-over {
    border-color: var(--reddit-orange);
    background: rgba(255, 69, 0, 0.05);
}

.upload-zone.has-preview .upload-content {
    display: none;
}

.file-input {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.upload-icon {
    font-size: 32px;
    color: var(--reddit-text-secondary);
    margin-bottom: 8px;
}

.upload-text {
    font-size: 14px;
    color: var(--reddit-text);
    margin-bottom: 4px;
}

.upload-hint {
    font-size: 12px;
    color: var(--reddit-text-secondary);
}

/* Inline input row with mini upload */
.input-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.flex-grow {
    flex: 1;
}

.upload-mini {
    width: 80px;
    height: 80px;
    border: 2px dashed var(--reddit-border);
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 24px;
}

.upload-mini:hover {
    border-color: var(--reddit-orange);
    background: rgba(255, 69, 0, 0.02);
}

.upload-mini.drag-over {
    border-color: var(--reddit-orange);
    background: rgba(255, 69, 0, 0.05);
}

.upload-mini.has-preview .upload-content-mini {
    display: none;
}

.upload-content-mini {
    text-align: center;
}

.upload-icon-mini {
    font-size: 20px;
    color: var(--reddit-text-secondary);
}

.upload-text-mini {
    font-size: 10px;
    color: var(--reddit-text-secondary);
    margin-top: 2px;
}

.upload-preview-mini {
    position: absolute;
    inset: 4px;
    display: none;
}

.upload-preview-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.upload-mini.has-preview .upload-preview-mini {
    display: block;
}

/* Post description */
.post-description {
    color: var(--reddit-text-secondary);
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.5;
}

/* Live feed in sidebar */
.live-feed-card .sidebar-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.live-feed-body {
    max-height: 400px;
    overflow-y: auto;
}

.live-feed-body .feed-item {
    margin-bottom: 8px;
}

.live-feed-body .feed-item:last-child {
    margin-bottom: 0;
}

.upload-preview {
    position: relative;
}

.upload-preview img {
    max-width: 150px;
    max-height: 150px;
    border-radius: 8px;
    object-fit: cover;
}

.remove-preview {
    position: absolute;
    top: -8px;
    right: calc(50% - 83px);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--reddit-orange);
    color: white;
    border: none;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Embedded Gallery */
.embedded-gallery {
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 8px;
}

.gallery-header {
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--reddit-text);
    background: var(--reddit-orange);
    color: white;
}

.gallery-header.meme-gallery-header {
    background: var(--reddit-blue);
}

.mini-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 12px;
    max-height: 360px;
    overflow-y: auto;
}

.load-more-trigger {
    grid-column: 1 / -1;
    height: 1px;
}

.mini-gallery-item {
    background: white;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #edeff1;
    transition: transform 0.15s, box-shadow 0.15s;
}

.mini-gallery-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mini-gallery-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.mini-prompt {
    padding: 8px;
    font-size: 11px;
    color: var(--reddit-text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.empty-mini {
    grid-column: 1 / -1;
    text-align: center;
    padding: 24px;
    color: var(--reddit-text-secondary);
    font-size: 13px;
}

/* Reference Preview */
.reference-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 4px;
    margin-bottom: 12px;
}

.reference-preview img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 4px;
    background: white;
}

.reference-text {
    font-size: 13px;
    color: var(--reddit-text-secondary);
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-card {
    background: var(--reddit-card);
    border-radius: 4px;
    border: 1px solid var(--reddit-border);
    overflow: hidden;
}

.sidebar-header {
    background: var(--reddit-orange);
    color: white;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
}

.sidebar-body {
    padding: 12px 16px;
}

.sidebar-stat {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid #edeff1;
}

.sidebar-stat:last-child {
    border-bottom: none;
}

.sidebar-stat-num {
    font-size: 20px;
    font-weight: 700;
    color: var(--reddit-orange);
}

.sidebar-stat-label {
    font-size: 12px;
    color: var(--reddit-text-secondary);
}

.sidebar-text {
    font-size: 13px;
    color: var(--reddit-text-secondary);
    margin-bottom: 12px;
}

.sidebar-text:last-child {
    margin-bottom: 0;
}

.queue-item {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 13px;
}

.queue-item:last-child {
    border-bottom: none;
}

.queue-status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 500;
    margin-left: 8px;
}

.queue-status.pending {
    background: #fff3cd;
    color: #856404;
}

.queue-status.processing {
    background: #cce5ff;
    color: #004085;
}

.queue-status.completed {
    background: #d4edda;
    color: #155724;
}

.empty-state-small {
    text-align: center;
    padding: 16px;
    color: var(--reddit-text-secondary);
    font-size: 13px;
}

/* Flash Messages */
.flash-message {
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 16px;
    font-size: 14px;
}

.flash-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.flash-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    max-width: 90vw;
    max-height: 90vh;
}

.modal-image {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 8px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Gallery Page Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    padding: 16px;
}

.gallery-item {
    background: var(--reddit-card);
    border-radius: 4px;
    border: 1px solid var(--reddit-border);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.gallery-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.gallery-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.gallery-info {
    padding: 12px;
}

.gallery-prompt {
    font-size: 13px;
    color: var(--reddit-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.type-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.type-badge.pfp {
    background: rgba(255, 69, 0, 0.1);
    color: var(--reddit-orange);
}

.type-badge.meme {
    background: rgba(0, 121, 211, 0.1);
    color: var(--reddit-blue);
}

.empty-state {
    text-align: center;
    padding: 40px;
    color: var(--reddit-text-secondary);
}

.empty-state-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

/* Section Card (for gallery page) */
.section-card {
    background: var(--reddit-card);
    border-radius: 4px;
    border: 1px solid var(--reddit-border);
    overflow: hidden;
}

.section-header {
    background: var(--reddit-orange);
    color: white;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-body {
    padding: 16px;
}
