/* ================================================================
   ForReal.dating — Stylesheet
   Warm, trustworthy, clean design. Rose gold + navy palette.
   ================================================================ */

:root {
    --rose: #cc7f88;
    --rose-dark: #b06e76;
    --rose-light: #f0dadd;
    --navy: #7f88cc;
    --navy-light: #a3aadb;
    --green: #88cc7f;
    --green-dark: #6eb066;
    --nav-bar: #253260;
    --bg: #fefdfb;
    --bg-card: #ffffff;
    --text: #2d2d2d;
    --text-muted: #777;
    --border: #e8e3e0;
    --shadow: 0 2px 12px rgba(0,0,0,0.06);
    --radius: 12px;
    --transition: 0.2s ease;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a { color: var(--rose-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Navbar */
.navbar {
    background: var(--nav-bar);
    color: white;
    padding: 0.75rem 1.5rem;
    position: sticky; top: 0; z-index: 100;
}
.nav-container {
    max-width: 1100px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-brand {
    font-size: 1.3rem; font-weight: 700; color: white; text-decoration: none;
    display: flex; align-items: center; gap: 0.5rem;
}
.nav-logo { height: 36px; width: auto; }
.nav-brand:hover { text-decoration: none; opacity: 0.9; }
.nav-links { display: flex; gap: 1.25rem; align-items: center; }
.nav-links a { color: rgba(255,255,255,0.85); font-size: 0.9rem; font-weight: 500; }
.nav-links a:hover { color: white; text-decoration: none; }
.nav-cta {
    background: var(--rose); color: white !important;
    padding: 0.4rem 1rem; border-radius: 20px;
}
.nav-cta:hover { background: var(--rose-dark); }
.nav-logout { opacity: 0.6; }

/* Container */
.container {
    max-width: 1100px; margin: 2rem auto; padding: 0 1.5rem;
    flex: 1;
}

/* Flash messages */
.flash {
    padding: 0.75rem 1.5rem; text-align: center; font-size: 0.9rem;
}
.flash-error { background: #fef0f0; color: #c0392b; border-bottom: 1px solid #f5c6cb; }
.flash-success { background: #f0fef4; color: #27ae60; border-bottom: 1px solid #c3e6cb; }

/* Buttons */
.btn {
    display: inline-block; padding: 0.6rem 1.4rem; border-radius: 8px;
    font-size: 0.95rem; font-weight: 600; cursor: pointer; border: none;
    transition: var(--transition); text-decoration: none; text-align: center;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--rose); color: white; }
.btn-primary:hover { background: var(--rose-dark); }
.btn-outline { background: transparent; color: var(--rose-dark); border: 2px solid var(--rose); }
.btn-outline:hover { background: var(--rose-light); }
.btn-success { background: var(--green); color: white; }
.btn-success:hover { background: var(--green-dark); }
.btn-danger { background: transparent; color: #c0392b; border: 1px solid #c0392b; }
.btn-danger:hover { background: #fef0f0; }
.btn-block { display: block; width: 100%; }
.btn-lg { padding: 0.8rem 2rem; font-size: 1.1rem; }
.btn-sm { padding: 0.3rem 0.8rem; font-size: 0.8rem; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Hero visual with mascot */
.hero-visual {
    display: flex; align-items: center; gap: 2rem;
    padding: 2rem 0; max-width: 900px; margin: 0 auto;
}
.hero-img {
    width: 280px; height: auto; flex-shrink: 0;
}
.hero-text { flex: 1; }
.hero-text h1 {
    font-size: 2.5rem; font-weight: 800; color: var(--navy);
    line-height: 1.3;
}
.hero-text .accent { color: var(--rose); }
.hero-tagline {
    font-size: 1.1rem; color: var(--text-muted); margin: 1rem 0 1.5rem;
}
.hero-cta { display: flex; gap: 1rem; }
.inline-glasses { opacity: 0.85; }
.eric-photo {
    float: left; width: 140px; height: auto; border-radius: 50%;
    margin: 0 1.5rem 0.5rem 0;
}

/* Manifesto */
.manifesto {
    max-width: 650px; margin: 3rem auto; padding: 2.5rem 2rem;
    background: #556B2F; color: white;
    border-radius: var(--radius); text-align: left;
}
.manifesto-line {
    margin: 0; padding: 0.2rem 0;
    font-size: 1.1rem; line-height: 1.7;
    font-style: italic;
}
.manifesto-line strong { color: #D7FFE4; font-size: 1.15rem; }
.manifesto-indent { padding-left: 1.5rem; }
.manifesto-bullet {
    padding-left: 2rem; font-size: 0.95rem;
    font-style: normal; opacity: 0.85;
}
.manifesto-bullet::before { content: "-- "; color: #D7FFE4; }
.manifesto-small { font-size: 1rem; opacity: 0.85; font-style: normal; }
.manifesto-punch {
    font-size: 1.2rem; font-weight: 700; font-style: normal;
    color: #D7FFE4; margin-top: 0.6rem;
}
.manifesto-boom {
    font-size: 1.4rem; font-weight: 800; font-style: normal;
    padding: 0.3rem 0;
}
.manifesto-final {
    text-align: center; margin-top: 1rem;
    padding: 1rem 1.5rem;
    background: var(--bg);
    border-radius: var(--radius);
}
.manifesto-boom .accent {
    font-size: 1.8rem; letter-spacing: 0.08em; color: #D7FFE4;
}

@media (max-width: 768px) {
    .hero-visual { flex-direction: column; text-align: center; }
    .hero-text h1 { font-size: 1.8rem; }
    .hero-cta { justify-content: center; }
    .hero-img { width: 180px; }
}

/* Features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; padding: 2rem 0 4rem; }
.feature-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 2rem; text-align: center; box-shadow: var(--shadow);
}
.feature-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.feature-card h3 { color: var(--navy); margin-bottom: 0.5rem; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; }

/* Mission statement */
.mission {
    text-align: left; max-width: 700px; margin: 2rem auto 3rem;
    padding: 2rem; background: var(--bg-card);
    border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.mission h2 { color: var(--navy); margin-bottom: 1rem; }
.mission p { color: var(--text); line-height: 1.7; margin-bottom: 0.75rem; }
.mission-list { padding-left: 1.5rem; margin-bottom: 0.5rem; }
.mission-list li { margin-bottom: 0.35rem; line-height: 1.6; }
.mission-spacer { margin-top: 1.25rem; }

/* CTA banner */
.cta-banner {
    text-align: center; max-width: 700px; margin: 3rem auto;
    padding: 2.5rem; background: var(--navy); color: white;
    border-radius: var(--radius);
}
.cta-banner h2 { color: white; margin-bottom: 1rem; }
.cta-banner p { opacity: 0.95; line-height: 1.7; margin-bottom: 0.75rem; }
.help-grid {
    display: flex; flex-direction: column; gap: 0.75rem;
    margin: 1.25rem 0; text-align: left; max-width: 500px;
    margin-left: auto; margin-right: auto;
}
.help-item {
    display: flex; align-items: center; gap: 0.75rem;
    font-size: 0.95rem;
}
.help-num {
    width: 28px; height: 28px; border-radius: 50%;
    background: white; color: #cc7f88;
    display: flex; align-items: center;
    justify-content: center; font-weight: 700; font-size: 0.85rem;
    flex-shrink: 0;
}

/* Stats teaser */
.stats-teaser {
    text-align: center; padding: 1.5rem; color: var(--text-muted);
    font-size: 0.95rem;
}
.stats-teaser a { font-weight: 600; }

/* Auth */
.auth-container { max-width: 500px; margin: 2rem auto; }
.auth-container h1 { text-align: center; color: var(--navy); }
.auth-subtitle { text-align: center; color: var(--text-muted); margin-bottom: 2rem; }
.auth-form { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.auth-alt { text-align: center; margin-top: 1.5rem; color: var(--text-muted); }

.form-section-title { color: var(--navy); font-size: 1rem; margin: 1.5rem 0 0.5rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.form-hint { color: var(--text-muted); font-size: 0.8rem; margin-bottom: 1rem; }

.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.35rem; font-size: 0.9rem; color: var(--navy); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 0.65rem; border: 1px solid var(--border); border-radius: 8px;
    font-size: 0.95rem; font-family: inherit; transition: var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--rose); box-shadow: 0 0 0 3px var(--rose-light);
}
.form-row { display: flex; gap: 1rem; }
.form-row .form-group { flex: 1; }
.form-group-sm { max-width: 100px; flex: 0 1 auto !important; }
.verification-notice {
    background: var(--rose-light); border: 1px solid var(--rose);
    border-radius: 8px; padding: 1rem; margin-bottom: 1.25rem; font-size: 0.9rem;
}

/* Profile */
.profile-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.profile-header h1 { color: var(--navy); }
.verified-badge {
    font-size: 0.85rem; padding: 0.3rem 0.8rem; border-radius: 20px;
    background: #e8f5e9; color: #2e7d32; font-weight: 600;
}
.paused-badge {
    font-size: 0.85rem; padding: 0.3rem 0.8rem; border-radius: 20px;
    background: #fff3cd; color: #856404; font-weight: 600;
}
.profile-content { display: grid; grid-template-columns: 300px 1fr; gap: 2rem; }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.photo-card {
    aspect-ratio: 3/4; border-radius: 8px; overflow: hidden;
    background: var(--border); position: relative;
}
.photo-card img { width: 100%; height: 100%; object-fit: cover; }
.photo-card.primary { border: 3px solid var(--rose); }
.photo-actions {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: rgba(0,0,0,0.6); padding: 0.3rem; display: flex; gap: 0.3rem;
    opacity: 0; transition: var(--transition);
}
.photo-card:hover .photo-actions { opacity: 1; }
.primary-label { color: white; font-size: 0.7rem; }
.photo-upload-card {
    display: flex; align-items: center; justify-content: center;
    border: 2px dashed var(--border); cursor: pointer;
}
.upload-label { text-align: center; cursor: pointer; color: var(--text-muted); }
.upload-icon { font-size: 2rem; display: block; }
.no-photo {
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted);
}
.no-photo-placeholder {
    width: 100%; height: 100%; display: flex; align-items: center;
    justify-content: center; font-size: 3rem; color: var(--text-muted);
    background: var(--border);
}

.profile-info { display: flex; flex-direction: column; gap: 1.5rem; }
.info-block {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow);
}
.info-block h2 { font-size: 1.1rem; color: var(--navy); margin-bottom: 0.75rem; }
.info-block p { margin-bottom: 0.35rem; }
.bio-text { white-space: pre-wrap; color: var(--text); line-height: 1.6; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
.stats-grid-wide { grid-template-columns: repeat(4, 1fr); }
.stat-item { text-align: center; padding: 0.75rem; }
.stat-value { display: block; font-size: 1.4rem; font-weight: 700; color: var(--rose-dark); }
.stat-label { display: block; font-size: 0.75rem; color: var(--text-muted); margin-top: 0.2rem; }
.stat-highlight .stat-value { color: var(--green-dark); font-size: 1.6rem; }

/* Browse */
.filter-bar { margin-bottom: 2rem; }
.filter-form {
    display: flex; gap: 0.75rem; align-items: center;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow);
}
.filter-form select, .filter-form input { padding: 0.5rem; border: 1px solid var(--border); border-radius: 6px; }
.input-sm { width: 80px; }

.browse-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; }
.browse-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
    text-decoration: none; color: inherit;
}
.browse-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.1); text-decoration: none; }
.browse-photo { aspect-ratio: 1; overflow: hidden; background: var(--border); }
.browse-photo img { width: 100%; height: 100%; object-fit: cover; }
.browse-info { padding: 1rem; }
.browse-info h3 { font-size: 1rem; color: var(--navy); }
.browse-info p { font-size: 0.85rem; color: var(--text-muted); }
.browse-location { font-size: 0.8rem; }
.browse-bio { margin-top: 0.5rem; font-size: 0.85rem; color: var(--text); line-height: 1.4; }
.browse-stats { display: flex; gap: 1rem; margin-top: 0.5rem; font-size: 0.75rem; color: var(--rose-dark); }
.pagination { text-align: center; margin-top: 2rem; }

/* Conversations */
.conversations-header { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 2rem; }
.conversations-header h1 { color: var(--navy); }
.conv-count { color: var(--text-muted); font-size: 0.9rem; }
.conv-list { display: flex; flex-direction: column; gap: 0.75rem; }
.conv-card {
    display: flex; gap: 1rem; padding: 1.25rem;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); box-shadow: var(--shadow);
    text-decoration: none; color: inherit; transition: var(--transition);
}
.conv-card:hover { border-color: var(--rose); text-decoration: none; }
.conv-ended { opacity: 0.6; }
.conv-avatar {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--rose-light); color: var(--rose-dark);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.2rem; flex-shrink: 0;
}
.conv-info { flex: 1; min-width: 0; }
.conv-top { display: flex; justify-content: space-between; align-items: center; }
.conv-preview { color: var(--text-muted); font-size: 0.9rem; margin-top: 0.25rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conv-meta { display: flex; gap: 1rem; font-size: 0.8rem; color: var(--text-muted); margin-top: 0.35rem; }

.badge-active { background: #e8f5e9; color: #2e7d32; padding: 0.15rem 0.6rem; border-radius: 10px; font-size: 0.75rem; font-weight: 600; }
.badge-met { background: var(--rose-light); color: var(--rose-dark); padding: 0.15rem 0.6rem; border-radius: 10px; font-size: 0.75rem; font-weight: 600; }
.badge-ended { background: #f5f5f5; color: #999; padding: 0.15rem 0.6rem; border-radius: 10px; font-size: 0.75rem; }

/* Chat */
.chat-header { margin-bottom: 1.5rem; }
.back-link { font-size: 0.9rem; color: var(--text-muted); }
.chat-header-info { display: flex; align-items: center; gap: 1rem; }
.chat-header-info h1 { color: var(--navy); }
.chat-header-stats { display: flex; gap: 0.5rem; align-items: center; font-size: 0.85rem; }

.chat-messages {
    display: flex; flex-direction: column; gap: 0.75rem;
    max-height: 55vh; overflow-y: auto; padding: 1rem;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); margin-bottom: 1.5rem;
}
.chat-msg { max-width: 75%; padding: 0.75rem 1rem; border-radius: 12px; }
.chat-msg-mine { align-self: flex-end; background: var(--rose); color: white; }
.chat-msg-theirs { align-self: flex-start; background: #f0f0f5; }
.chat-msg-content { white-space: pre-wrap; word-break: break-word; }
.chat-msg-meta { display: flex; gap: 0.5rem; font-size: 0.7rem; margin-top: 0.3rem; opacity: 0.7; align-items: center; }
.queue-notice { background: #fff3cd; color: #856404; padding: 0.1rem 0.4rem; border-radius: 4px; }

.chat-input-area {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow);
}
.chat-form textarea { width: 100%; padding: 0.75rem; border: 1px solid var(--border); border-radius: 8px; font-family: inherit; font-size: 0.95rem; resize: vertical; }
.chat-form textarea:focus { outline: none; border-color: var(--rose); }
.chat-form-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 0.5rem; }
.hint { font-size: 0.8rem; color: var(--text-muted); }
.chat-actions { display: flex; gap: 0.75rem; margin-top: 1rem; }
.chat-ended-notice {
    text-align: center; padding: 2rem;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
}
.met-celebration { font-size: 1.2rem; color: var(--rose-dark); margin-top: 0.5rem; }

/* Contact section */
.contact-section { margin-top: auto; }
.message-form { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.message-form h3 { color: var(--navy); margin-bottom: 0.25rem; }
.message-form textarea { width: 100%; padding: 0.75rem; border: 1px solid var(--border); border-radius: 8px; font-family: inherit; font-size: 0.95rem; margin-top: 0.75rem; resize: vertical; }
.message-form textarea:focus { outline: none; border-color: var(--rose); }
.message-form .btn { margin-top: 0.75rem; }

/* Stats page */
.stats-intro { color: var(--text-muted); margin-bottom: 2rem; font-size: 1.05rem; }
.my-stats-banner {
    background: var(--rose-light); border: 1px solid var(--rose);
    border-radius: var(--radius); padding: 1.5rem; margin-bottom: 2rem;
}
.my-stats-banner h2 { color: var(--navy); margin-bottom: 0.5rem; }
.stats-block {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
}
.stats-block h2 { color: var(--navy); }
.stats-members { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1rem; }
.stats-note {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1.5rem; margin-top: 2rem;
    box-shadow: var(--shadow);
}
.stats-note h3 { color: var(--navy); margin-bottom: 0.75rem; }
.stats-note ul { padding-left: 1.5rem; color: var(--text-muted); font-size: 0.9rem; }
.stats-note li { margin-bottom: 0.35rem; }

/* Empty state */
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--text-muted); }
.empty-state h2 { color: var(--navy); margin-bottom: 0.5rem; }
.empty-state .btn { margin-top: 1rem; }

/* Footer */
.footer {
    text-align: center; padding: 2rem; color: var(--text-muted);
    font-size: 0.85rem; border-top: 1px solid var(--border); margin-top: 3rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .profile-content { grid-template-columns: 1fr; }
    .photo-grid { grid-template-columns: repeat(3, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid-wide { grid-template-columns: repeat(2, 1fr); }
    .browse-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
    .form-row { flex-direction: column; }
    .filter-form { flex-wrap: wrap; }
    .chat-msg { max-width: 90%; }
}

/* Intent radio/checkbox groups */
.intent-radio-group, .intent-checkbox-group {
    display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.5rem;
}
.intent-radio, .intent-checkbox {
    display: flex; align-items: center; gap: 0.35rem;
    padding: 0.4rem 0.75rem; border: 1px solid var(--border);
    border-radius: 20px; cursor: pointer; font-size: 0.85rem;
    transition: var(--transition); background: var(--bg-card);
}
.intent-radio:hover, .intent-checkbox:hover {
    border-color: var(--rose); background: var(--rose-light);
}
.intent-radio input, .intent-checkbox input { width: auto; margin: 0; }
.intent-radio:has(input:checked), .intent-checkbox:has(input:checked) {
    border-color: var(--rose); background: var(--rose-light);
    font-weight: 600;
}

/* Intent filter in browse */
.intent-filter { margin-bottom: 1rem; }
.intent-filter details {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 0.75rem 1rem;
}
.intent-filter summary {
    cursor: pointer; font-weight: 600; color: var(--navy);
    display: flex; align-items: center; gap: 0.5rem;
}
.intent-notice {
    font-size: 0.8rem; color: var(--text-muted);
    margin: 0.75rem 0; line-height: 1.5;
}
.browse-intent {
    font-size: 0.82rem; color: var(--rose-dark); font-weight: 600;
    margin-top: 0.25rem;
}

/* Intent bar chart on user profile */
.intent-bars { display: flex; flex-direction: column; gap: 0.4rem; }
.intent-bar-row {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.8rem;
}
.intent-bar-label { width: 160px; text-align: right; color: var(--text); flex-shrink: 0; }
.intent-bar-track {
    flex: 1; height: 10px; background: #f0f0f5;
    border-radius: 5px; overflow: hidden;
}
.intent-bar-fill {
    height: 100%; background: var(--rose);
    border-radius: 5px; transition: width 0.3s ease;
    min-width: 0;
}
.intent-bar-pct { width: 40px; color: var(--text-muted); font-weight: 600; }

/* Accountability section on user profile */
.accountability-section {
    border: 2px solid #F5FFDD;
    border-radius: var(--radius);
    margin: 1rem 0;
    overflow: hidden;
}
.accountability-header {
    background: #F5FFDD;
    color: var(--text);
    padding: 1rem 1.5rem;
}
.accountability-header h2 {
    color: var(--text);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}
.accountability-header p {
    font-size: 0.85rem;
    opacity: 0.85;
    margin: 0;
    line-height: 1.5;
}
.accountability-quick-stats {
    display: flex; gap: 1.5rem; margin-top: 0.5rem;
    font-size: 0.85rem; opacity: 0.9;
}
.accountability-block {
    border: none;
    border-radius: 0;
    border-bottom: 1px solid var(--border);
    margin: 0;
    box-shadow: none;
}
.accountability-block:last-child {
    border-bottom: none;
}

/* Pending requests */
.pending-banner {
    background: #fff3cd; border: 1px solid #ffc107;
    border-radius: var(--radius); padding: 0.75rem 1rem;
    margin-bottom: 1.5rem; font-size: 0.9rem;
}
.pending-section { margin-bottom: 2rem; }
.pending-section h2 { color: var(--navy); margin-bottom: 0.5rem; }
.pending-card {
    display: flex; gap: 1rem; padding: 1.25rem;
    background: var(--bg-card); border: 1px solid var(--rose);
    border-radius: var(--radius); box-shadow: var(--shadow);
    margin-bottom: 0.75rem;
}
.pending-info { flex: 1; min-width: 0; }
.pending-top { display: flex; gap: 0.5rem; align-items: baseline; }
.pending-preview { color: var(--text-muted); font-size: 0.9rem; margin: 0.35rem 0; }
.pending-stats {
    display: flex; gap: 1rem; font-size: 0.78rem;
    color: var(--text-muted); margin-bottom: 0.75rem;
}
.pending-actions { display: flex; gap: 0.5rem; align-items: center; }
.decline-form { display: flex; gap: 0.35rem; align-items: center; }
.decline-reason, .end-reason-select {
    padding: 0.3rem 0.5rem; border: 1px solid var(--border);
    border-radius: 6px; font-size: 0.8rem; font-family: inherit;
}

/* Unit system toggle */
.unit-toggle {
    display: flex; border: 1px solid var(--border);
    border-radius: 8px; overflow: hidden;
}
.unit-option {
    flex: 1; text-align: center; padding: 0.5rem 0.75rem;
    cursor: pointer; font-size: 0.85rem; font-weight: 600;
    background: var(--bg-card); color: var(--text-muted);
    transition: var(--transition);
}
.unit-option input { display: none; }
.unit-option.active {
    background: var(--rose); color: white;
}

/* Radio filter pills */
.radio-filter-row {
    display: flex; flex-wrap: wrap; gap: 0.35rem;
    margin: 0.25rem 0 0.5rem;
}
.radio-filter {
    padding: 0.3rem 0.65rem; border: 1px solid var(--border);
    border-radius: 16px; cursor: pointer; font-size: 0.8rem;
    background: var(--bg-card); transition: var(--transition);
}
.radio-filter:hover { border-color: var(--rose); }
.radio-filter input { display: none; }
.radio-filter.active {
    background: var(--rose); color: white; border-color: var(--rose);
}
.any-toggle { cursor: pointer; font-size: 0.8rem; }
.any-toggle input { width: auto; margin-right: 0.2rem; }

/* Character counter */
.char-count {
    display: block; text-align: right; font-size: 0.75rem;
    color: var(--text-muted); margin-top: 0.2rem;
}
.char-count.full { color: #c0392b; font-weight: 600; }

/* Nerds page */
.nerds-page { max-width: 750px; margin: 0 auto; }
.nerds-page h1 { color: var(--navy); text-align: center; }
.nerds-subtitle { text-align: center; color: var(--text-muted); margin-bottom: 2rem; font-style: italic; }
.nerds-page h3 { color: var(--rose-dark); margin: 1.25rem 0 0.5rem; font-size: 1rem; }
.formula {
    background: #f8f8fa; border: 1px solid var(--border);
    border-radius: 8px; padding: 1rem; text-align: center;
    font-size: 1.1rem; font-family: 'Courier New', monospace;
    margin: 0.75rem 0;
}
.decay-table {
    width: 100%; border-collapse: collapse; margin: 0.75rem 0;
    font-size: 0.9rem;
}
.decay-table th, .decay-table td {
    border: 1px solid var(--border); padding: 0.4rem 0.75rem;
    text-align: center;
}
.decay-table th { background: #f8f8fa; font-weight: 600; }

/* Terms checkbox */
.terms-checkbox {
    display: flex; align-items: flex-start; gap: 0.5rem;
    font-size: 0.85rem; color: var(--text); line-height: 1.5;
    cursor: pointer;
}
.terms-checkbox input { width: auto; margin-top: 0.2rem; }

/* Coin allocation */
.coin-grid { display: flex; flex-direction: column; gap: 0.5rem; margin: 1.5rem 0; }
.coin-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.5rem 0.75rem; background: var(--bg-card);
    border: 1px solid var(--border); border-radius: 8px;
    gap: 1rem;
}
.coin-row label { font-size: 0.9rem; flex: 1; }
.coin-input-group { display: flex; align-items: center; gap: 0.5rem; }
.coin-input {
    width: 80px; padding: 0.35rem; border: 1px solid var(--border);
    border-radius: 6px; text-align: right; font-size: 0.9rem;
}
.coin-total-bar {
    display: flex; align-items: center; gap: 1rem;
    padding: 0.75rem 1rem; background: var(--bg-card);
    border: 1px solid var(--border); border-radius: var(--radius);
    position: sticky; bottom: 0;
}
.coin-total { font-size: 1.1rem; }
.coin-total.match { color: #27ae60; }
.share-toggle {
    display: flex; align-items: center; gap: 0.2rem;
    font-size: 0.7rem; color: var(--text-muted); cursor: pointer;
}
.share-toggle input { width: auto; }
.privacy-notice {
    background: #f0f4ff; border: 1px solid #b8c8e8;
    border-radius: 8px; padding: 0.75rem 1rem;
    margin-bottom: 1rem; font-size: 0.9rem;
}

/* Would You Rather */
.wyr-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1.25rem; margin-bottom: 0.75rem;
}
.wyr-q-num { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.wyr-options { display: flex; align-items: center; gap: 0.75rem; }
.wyr-option {
    flex: 1; padding: 0.75rem 1rem; border: 2px solid var(--border);
    border-radius: 10px; cursor: pointer; text-align: center;
    transition: var(--transition); font-size: 0.9rem;
}
.wyr-option:hover { border-color: var(--rose); }
.wyr-option input { display: none; }
.wyr-option.selected { border-color: var(--rose); background: var(--rose-light); font-weight: 600; }
.wyr-or { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; flex-shrink: 0; }
.wyr-or-inline { color: var(--rose-dark); font-weight: 600; margin: 0 0.3rem; }
.wyr-result-row { margin-bottom: 0.75rem; }
.wyr-result-q { font-size: 0.85rem; margin-bottom: 0.25rem; }
.wyr-bar-row { display: flex; align-items: center; gap: 0.35rem; font-size: 0.75rem; }
.wyr-bar-label { width: 16px; text-align: center; color: var(--text-muted); font-weight: 600; }
.wyr-bar-pct { width: 32px; text-align: right; color: var(--text-muted); font-size: 0.7rem; }
.badge-pending {
    background: #fff3cd; color: #856404;
    padding: 0.15rem 0.6rem; border-radius: 10px;
    font-size: 0.75rem; font-weight: 600;
}
