/* Anonymous Challenges */
.anon-page { max-width: 900px; margin: 0 auto; }
.anon-page--narrow { max-width: 560px; }

.anon-header {
    display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; flex-wrap: wrap;
}
.anon-header-icon { font-size: 40px; line-height: 1; }
.anon-header h1 { font-size: 26px; font-weight: 800; margin-bottom: 6px; }
.anon-header p { color: var(--text-muted); font-size: 14px; line-height: 1.5; }
.anon-create-btn { margin-left: auto; align-self: center; }

.anon-privacy-banner {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 14px 16px; border-radius: var(--radius-md);
    background: rgba(123, 47, 247, 0.08); border: 1px solid rgba(123, 47, 247, 0.15);
    margin-bottom: 24px; font-size: 13px; line-height: 1.45;
}
.anon-privacy-banner span { font-size: 20px; }

.anon-confession-banner {
    display: flex; gap: 16px; align-items: center;
    padding: 20px 22px; margin-bottom: 24px; border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(255, 77, 109, 0.14), rgba(123, 47, 247, 0.12));
    border: 1px solid rgba(255, 77, 109, 0.25);
    color: inherit; transition: transform 0.15s, box-shadow 0.15s;
}
.anon-confession-banner:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.anon-confession-banner-icon { font-size: 42px; line-height: 1; }
.anon-confession-banner-body { flex: 1; min-width: 0; }
.anon-confession-banner-tag {
    display: inline-block; font-size: 10px; font-weight: 800; text-transform: uppercase;
    letter-spacing: 0.05em; padding: 4px 8px; border-radius: 999px;
    background: rgba(255, 77, 109, 0.18); color: #BE123C; margin-bottom: 8px;
}
.anon-confession-banner h2 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.anon-confession-banner p { font-size: 13px; color: var(--text-muted); line-height: 1.45; margin-bottom: 8px; }
.anon-confession-banner-cta { font-size: 13px; font-weight: 800; color: var(--primary); }

.anon-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px;
}
.anon-card {
    display: flex; flex-direction: column; gap: 8px;
    padding: 18px; border-radius: var(--radius-md);
    background: var(--surface); border: 1px solid var(--border);
    transition: box-shadow 0.15s, transform 0.15s;
}
.anon-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.anon-card--confession {
    border-color: rgba(255, 77, 109, 0.25);
    background: linear-gradient(180deg, rgba(255, 77, 109, 0.06), var(--surface));
}
.anon-card h2 { font-size: 16px; font-weight: 800; }
.anon-card p { font-size: 13px; color: var(--text-muted); flex: 1; line-height: 1.45; }
.anon-card-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.anon-card-meta { font-size: 11px; color: var(--text-light); }

.anon-badge {
    font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em;
    padding: 4px 8px; border-radius: 999px;
    background: rgba(123, 47, 247, 0.12); color: var(--primary);
}
.anon-badge--closed { background: rgba(100,116,139,0.15); color: var(--text-muted); }
.anon-badge--confession { background: rgba(255, 77, 109, 0.15); color: #BE123C; }
.anon-count { font-size: 11px; font-weight: 700; color: var(--text-muted); }

.anon-empty, .anon-empty-inline { text-align: center; color: var(--text-muted); padding: 32px 16px; }
.anon-empty .btn-primary { margin-top: 12px; display: inline-block; }

.anon-form label { display: block; margin-bottom: 16px; }
.anon-form label span { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.anon-form input, .anon-form textarea, .anon-form select {
    width: 100%; padding: 12px 14px; border: 1px solid var(--border);
    border-radius: var(--radius-sm); font-family: inherit; font-size: 14px;
    background: var(--input-bg);
}
.anon-form textarea { resize: vertical; min-height: 100px; }
.anon-privacy-note {
    background: var(--background); border-radius: var(--radius-sm);
    padding: 14px; margin-bottom: 16px; font-size: 13px; line-height: 1.5;
}
.anon-privacy-note ul { margin: 8px 0 0 18px; color: var(--text-muted); }
.btn-block { width: 100%; padding: 14px; }

.anon-challenge-hero { margin-bottom: 20px; }
.anon-challenge-hero--confession {
    border: 1px solid rgba(255, 77, 109, 0.2);
    background: linear-gradient(180deg, rgba(255, 77, 109, 0.08), var(--surface));
}
.anon-challenge-hero-top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.anon-confession-examples {
    display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px;
}
.anon-confession-examples span {
    font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 999px;
    background: rgba(255, 77, 109, 0.1); color: #BE123C;
}
.anon-challenge-hero h1 { font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.anon-challenge-hero h2 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.anon-prompt { font-size: 15px; line-height: 1.55; color: var(--text-dark); margin-bottom: 10px; }

.anon-submit { margin-bottom: 24px; }
.anon-submit h2 { font-size: 18px; margin-bottom: 8px; }
.anon-submit-hint { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; line-height: 1.45; }
.anon-already-submitted {
    padding: 12px 14px; border-radius: var(--radius-sm);
    background: rgba(16, 185, 129, 0.1); color: #065F46; font-weight: 600;
}
.anon-submit textarea {
    width: 100%; padding: 12px; border: 1px solid var(--border); border-radius: var(--radius-sm);
    font-family: inherit; margin-bottom: 12px; min-height: 100px; background: var(--input-bg);
}
.anon-category-label { display: block; margin-bottom: 12px; }
.anon-category-label span { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.anon-category-label select {
    width: 100%; padding: 12px; border: 1px solid var(--border); border-radius: var(--radius-sm);
    font-family: inherit; background: var(--input-bg);
}

.anon-entries h2 { font-size: 18px; font-weight: 800; margin-bottom: 12px; }
.anon-entry-list { display: flex; flex-direction: column; gap: 12px; }
.anon-entry { padding: 16px; }
.anon-entry-head {
    display: flex; align-items: center; gap: 8px; margin-bottom: 10px;
}
.anon-entry-avatar {
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--gradient-primary); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 14px;
}
.anon-entry-label { font-size: 13px; font-weight: 700; color: var(--primary); flex: 1; }
.anon-entry-category {
    display: inline-block; margin-left: 6px; font-size: 10px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.03em; padding: 2px 6px; border-radius: 999px;
    background: rgba(255, 77, 109, 0.12); color: #BE123C; vertical-align: middle;
}
.anon-entry-head time { font-size: 11px; color: var(--text-light); }
.anon-entry p { font-size: 14px; line-height: 1.55; }

.anon-success { text-align: center; padding: 32px 24px; }
.anon-success-icon { font-size: 48px; margin-bottom: 12px; }
.anon-success h1 { font-size: 22px; margin-bottom: 8px; }
.anon-link-box { text-align: left; margin: 20px 0; }
.anon-link-box label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.anon-link-box--secret { background: rgba(255, 122, 0, 0.08); padding: 14px; border-radius: var(--radius-sm); }
.anon-copy-row { display: flex; gap: 8px; }
.anon-copy-row input {
    flex: 1; padding: 10px; border: 1px solid var(--border); border-radius: var(--radius-sm);
    font-size: 12px; background: var(--input-bg);
}
.anon-success-actions { display: flex; gap: 12px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }
