/*
 Theme Name: isennik-custom
 Version: 3.3.0
 Description: Zoptymalizowany pod SEO, Dark Mode i UX. Poprawiona wyszukiwarka mobile.
*/
/* html {
    scroll-behavior: smooth;
} */

/* Opcjonalnie: dodaj margines u góry dla kotwicy, 
   aby tekst nie "przyklejał się" do krawędzi ekranu lub menu */
#wyniki {
    scroll-margin-top: 100px; /* Dostosuj do wysokości swojego menu */
}

/* 1. Zmienne i Resety */
:root {
    --bg-dark: #05070A;
    --surface: #0F141E;
    --text-moonlight: #E2E8F0;
    --text-dim: #94A3B8;
    --accent-violet: #8B5CF6;
    --accent-violet-glow: rgba(139, 92, 246, 0.3);
    --accent-gold: #F59E0B;
    --font-serif: 'Lora', serif;
    --font-main: 'Inter', sans-serif;
    --container-width: 1000px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

* { box-sizing: border-box; }

body {
    background-color: var(--bg-dark);
    color: var(--text-moonlight);
    font-family: var(--font-main);
    line-height: 1.7;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
.container.site-main { max-width: var(--container-width); margin: 0 auto; padding: 0; }

img { max-width: 100%; height: auto; border-radius: var(--radius-md); display: block; margin: 20px 0; }

a { color: var(--accent-violet); text-decoration: none; transition: 0.2s; }
a:hover { opacity: 0.8; }

/* 2. Typografia */
h1, h2, h3 { font-family: var(--font-serif); color: #fff; line-height: 1.3; margin: 1.5em 0 0.5em; }
h1 { font-size: 2.5rem; }
h2 { color: var(--accent-violet); border-bottom: 1px solid #1e293b; padding-bottom: 10px; }
h3 { color: var(--accent-gold); }
.section-title { text-align: center; margin-bottom: 30px !important; font-size: 1.8rem; border: none !important; }

/* 3. Header i Nawigacja */
.header-grid { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; }
.logo { max-width: 200px; height: auto; }

.main-navigation .menu-list { list-style: none; padding: 0; margin: 0; display: flex; gap: 25px; }
.main-navigation a { font-weight: 500; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; color: var(--text-moonlight); }
.main-navigation a:hover { color: var(--accent-gold); }

.hamburger-toggle { display: none; background: none; border: 1px solid var(--accent-violet); color: var(--accent-violet); padding: 8px 15px; border-radius: 5px; cursor: pointer; position: relative; 
    z-index: 1100; }

.main-navigation.menu-open .menu-list { 
        display: flex; 
        flex-direction: column;
        position: absolute;
        top: 100%; /* pod headerem */
        left: 0;
        width: 100%;
        background: #fff;
        padding: 20px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        z-index: 1000;
    }

/* 4. Sekcja Hero i Wyszukiwarka */
.hero {
    padding: 100px 0 60px;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: 0;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Wyszukiwarka Desktopowa (Kapsułka) */
.search-wrapper {
    display: flex;
    align-items: center;
    max-width: 700px;
    margin: 0 auto;
    background: #161B26;
    padding: 5px 5px 5px 20px;
    border-radius: 50px;
    border: 2px solid #5B4792;
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
    transition: all 0.3s ease;
}

/* Efekt świecenia po kliknięciu */
.search-wrapper:focus-within {
    border-color: var(--accent-violet);
    box-shadow: 0 0 15px var(--accent-violet-glow);
}

.search-field {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    padding: 12px 0;
    font-size: 1.1rem;
    outline: none;
}

.search-submit {
    background: var(--accent-gold);
    color: #000;
    border: none;
    padding: 12px 30px;
    border-radius: 40px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 10px;
    white-space: nowrap;
}

.search-submit:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.quick-tags { margin-top: 30px; font-size: 0.9rem; color: var(--text-dim); }
.quick-tags a { color: #fff; text-decoration: none; margin: 0 8px; border-bottom: 1px dashed var(--accent-violet); }
.quick-tags a:hover { color: var(--accent-gold); border-bottom-style: solid; }

/* 5. Alfabetyczny Spis */
.az-container { 
    padding: 40px 0; background: #080C12; border-top: 1px solid #1e293b; border-bottom: 1px solid #1e293b; margin: 20px 0 40px 0;
}
.az-label { 
    display: block; text-align: center; color: var(--accent-gold); font-size: 0.8rem; margin-bottom: 25px; text-transform: uppercase; letter-spacing: 3px; font-weight: 700;
}
.letters-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 900px; margin: 0 auto; }
.letter-link { 
    display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; background: var(--surface); color: #ffffff; 
    border: 1px solid rgba(139, 92, 246, 0.3); border-radius: 10px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease;
}
.letter-link:hover, .letter-link.active { background: var(--accent-gold) !important; color: #000 !important; border-color: var(--accent-gold); transform: translateY(-3px); }

/* 6. Kategorie i Gridy */
.category-grid, .content-grid { display: grid; gap: 25px; margin-top: 30px; }
.category-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.content-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

.cat-card, .post-card { background: var(--surface); border-radius: 15px; transition: transform .2s ease, box-shadow .2s ease; border: 1px solid transparent; padding: 25px; }
.cat-card { text-align: center; padding: 30px 15px; }
.cat-card span { display: block; font-size: 2.5rem; margin-bottom: 10px; }
.cat-card:hover, .post-card:hover { border-color: var(--accent-violet); transform: translateY(-5px); background: #161b26; }

/* 7. Sekcja Ekspercka i FAQ */
.expert-section { padding: 80px 0; background: linear-gradient(to bottom, #05070A, #0F141E); }
.expert-content-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 50px; }
.trust-box { background: #161B26; padding: 30px; border-radius: 20px; border: 1px solid rgba(139, 92, 246, 0.2); position: sticky; top: 20px; }
.stat-item { text-align: center; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.stat-num { display: block; font-size: 2rem; font-weight: 800; color: var(--accent-violet); }

.faq-section { margin-top: 80px; padding-top: 60px; border-top: 1px solid rgba(255,255,255,0.05); }
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }

/* 8. Podstrona Snu (Single) */
.dream-card { background: var(--surface); border-radius: 20px; padding: 20px; margin-bottom: 40px; }
.dream-title { font-size: 3rem; text-align: center; }
.dream-content { font-size: 1.15rem; color: var(--text-moonlight); line-height: 1.8; }

/* 9. Responsywność */
@media (max-width: 768px) {

    /* Typografia i treść */
    .dream-content { font-size: 1rem; line-height: 1.75; }
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.4rem; }
    h3 { font-size: 1.2rem; }
    .dream-card { padding: 15px; border-radius: 12px; }
    html body #respond { padding: 20px !important; }
    html body .sennik-faq { padding: 20px 15px !important; }

    /* Header i nawigacja */
    .header-grid { flex-direction: row; justify-content: space-between; align-items: center; padding: 15px 20px; }
    .main-navigation .menu-list { display: none; }
    .hamburger-toggle { display: block; }
    .main-navigation.menu-open .hamburger-toggle { border-color: var(--accent-gold); color: var(--accent-gold); }
    .main-navigation.menu-open .menu-list { 
        display: flex !important; 
        flex-direction: column;
        position: absolute;
        top: 80px; 
        left: 0;
        width: 100%;
        background: var(--surface); 
        padding: 20px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.5);
        z-index: 1000;
        border-bottom: 2px solid var(--accent-violet);
    }
    .main-navigation.menu-open .menu-list li { margin: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }

    /* Wyszukiwarka */
    .search-wrapper { flex-direction: column; background: transparent; border: none; box-shadow: none; padding: 0; gap: 12px; overflow: visible; }
    .search-field { background: #161B26; border: 2px solid #5B4792; border-radius: var(--radius-md); width: 100%; padding: 16px 20px; font-size: 16px; -webkit-appearance: none; }
    .search-submit { width: 100%; margin-left: 0; padding: 16px; border-radius: var(--radius-md); font-size: 1rem; -webkit-appearance: none; }

    /* Gridy i layouty */
    .letters-grid { gap: 6px; }
    .letter-link { width: 36px; height: 36px; font-size: 0.9rem; }
    .category-grid { grid-template-columns: 1fr 1fr; gap: 15px; }
    .content-grid { grid-template-columns: 1fr; }
    .expert-content-grid { grid-template-columns: 1fr; }
    .expert-main-text p:nth-of-type(n+3) { display: none; }

    /* Hero */
    .hero h1 { font-size: clamp(1.8rem, 10vw, 2.5rem) !important; line-height: 1.2; padding: 0 10px; word-wrap: break-word; overflow-wrap: break-word; }
    .hero p { font-size: 1rem; padding: 0 15px; }

    /* Reklamy */
    .site-main .adsense-box { margin-left: -20px !important; margin-right: -20px !important; width: calc(100% + 40px) !important; }
}

/* 10. Dodatki Home */
.home-intro { padding: 60px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.intro-grid { display: grid; grid-template-columns: 1fr; align-items: center; }
.intro-text h2 { margin-top: 0; color: var(--accent-gold); }
.btn-secondary {
    display: inline-block;
    padding: 15px 25px;
    border: 2px solid var(--accent-violet);
    border-radius: 50px;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
}
.post-meta { font-size: 0.8rem; color: var(--text-dim); margin-bottom: 10px; }

/* Kontener całej paginacji */
.pagination-wrapper {
    display: flex;          /* Uruchamia flexbox */
    justify-content: center; /* Centruje zawartość w poziomie */
    width: 100%;            /* Rozciąga kontener na całą stronę */
    margin: 40px 0;         /* Dodaje odstęp od góry (od haseł) i dołu */
    clear: both;            /* Zapobiega "pływaniu" obok innych elementów */
}

/* Stylizacja samych linków (numerów stron) */
.pagination-wrapper .nav-links {
    display: flex;
    gap: 8px;               /* Odstępy między numerkami */
    flex-wrap: wrap;        /* Żeby na mobilu nie wychodziły poza ekran */
    justify-content: center;
}

/* Wygląd poszczególnych przycisków */
.pagination-wrapper a, 
.pagination-wrapper span {
    display: inline-block;
    padding: 10px 16px;
    border: 1px solid #5B4792;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
}

/* Efekt najechania i aktualna strona */
.pagination-wrapper a:hover, 
.pagination-wrapper .current {
    background: #5B4792;
    color: #fff;
    border-color: #F59E0B; /* Jeśli masz zdefiniowany kolor złoty */
}

/* ==========================================================================
   WIZUALNE POPRAWKI: FAQ + KOMENTARZE (DARK MODE)
   ========================================================================== */

/* SEKCJA KOMENTARZY */
html body #respond {
    background: #161B26 !important;
    padding: 30px !important;
    border-radius: 15px !important;
    border: 1px solid #5B4792 !important;
    margin-top: 50px !important;
}

html body #reply-title {
    color: #F59E0B !important;
    text-transform: uppercase !important;
    font-weight: 800 !important;
}

html body #commentform textarea#comment {
    background: #0d1117 !important;
    color: #fff !important;
    border: 2px solid #30363d !important;
    border-radius: 10px !important;
    padding: 20px !important;
    width: 100% !important;
}

html body #commentform #submit {
    background: #F59E0B !important;
    color: #000 !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    border-radius: 50px !important;
    padding: 15px 40px !important;
    border: none !important;
    cursor: pointer !important;
}

/* SEKCJA FAQ */
/* POPRAWIONA SEKCJA FAQ Z ZAOKRĄGLENIAMI */
html body .sennik-faq, 
html body .faq-section { 
    background-color: #0d1117 !important;
    color: #ffffff !important;
    padding: 40px 20px !important;
    border: 1px solid rgba(91, 71, 146, 0.4) !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    margin: 30px 0 !important;
}

/* Styl dla pojedynczego elementu pytania - konkretna klasa .faq-item */
html body .faq-item { 
    background: #161B26 !important;
    border-left: 4px solid #5B4792 !important;
    margin-bottom: 15px !important;
    padding: 20px !important;
    border-radius: 12px !important;
}

/* Styl dla tekstu wewnątrz Twojego FAQ */
html body .faq-item h5, 
html body .faq-item h4,
html body .faq-item .faq-question {
    color: var(--accent-gold) !important;
    margin-bottom: 10px !important;
}

html body .faq-item p,
html body .faq-item .faq-answer {
    color: #a0aec0 !important;
}

.helpful-container {
    text-align: center;
    margin: 40px 0;
    padding: 25px;
    background: #161B26;
    border-radius: var(--radius-md);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.helpful-container p {
    font-size: 0.9rem;
    color: var(--text-dim);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.helpful-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.helpful-btn {
    background: transparent;
    border: 2px solid var(--accent-violet);
    color: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.helpful-btn .count {
    background: var(--accent-violet);
    font-size: 0.8rem;
    padding: 2px 8px;
    border-radius: 10px;
    color: #fff;
}

.helpful-btn:hover {
    background: var(--accent-violet-glow);
    transform: translateY(-2px);
}

.helpful-btn.no {
    border-color: #30363d;
    color: var(--text-dim);
}

.helpful-btn.no:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

/* Stan po kliknięciu */
.helpful-btn.voted {
    background: var(--accent-gold) !important;
    border-color: var(--accent-gold) !important;
    color: #000 !important;
    pointer-events: none;
}

/* RESET I UKŁAD NARZĘDZIA AI */
#interpretator-ai.ai-premium-tool {
    display: block !important;
    background: #111827 !important; /* Bardzo ciemny granat */
    border: 2px solid #6d28d9 !important; /* Fioletowa ramka */
    border-radius: 20px !important;
    padding: 30px !important;
    margin: 40px 0 !important;
    color: #ffffff !important;
    text-align: left !important;
    grid-column: 1 / -1;
}

#interpretator-ai .ai-status {
    color: #10b981 !important;
    font-family: sans-serif !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin-bottom: 15px !important;
}

#interpretator-ai h2 {
    color: #ffffff !important;
    font-size: 24px !important;
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
}

#interpretator-ai .ai-lead {
    color: #9ca3af !important;
    font-size: 15px !important;
    margin-bottom: 25px !important;
}

/* FORMATOWANIE POLA TEKSTOWEGO */
#interpretator-ai .ai-form-group {
    display: flex !important;
    flex-direction: column !important; /* Przycisk pod polem */
    gap: 15px !important;
}

#interpretator-ai textarea#ai-dream-text {
    width: 100% !important;
    min-height: 120px !important;
    background: #1f2937 !important;
    border: 1px solid #374151 !important;
    border-radius: 12px !important;
    padding: 15px !important;
    color: #ffffff !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    box-sizing: border-box !important; /* Naprawia wychodzenie poza krawędź */
}

/* PRZYCISK PREMIUM */
#interpretator-ai .btn-premium {
    width: 100% !important; /* Na całą szerokość dla lepszego UX */
    background: linear-gradient(90deg, #7c3aed, #4f46e5) !important;
    color: white !important;
    padding: 16px !important;
    border-radius: 12px !important;
    border: none !important;
    font-size: 16px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    transition: transform 0.2s !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
}

#interpretator-ai .btn-premium:hover {
    transform: scale(1.01) !important;
    filter: brightness(1.1) !important;
}

/* WYNIK ANALIZY */
#interpretator-ai .ai-result-box {
    margin-top: 25px !important;
    padding: 20px !important;
    background: rgba(124, 58, 237, 0.1) !important;
    border-left: 4px solid #7c3aed !important;
    border-radius: 8px !important;
}

/* Dodaj to do sekcji AI w CSS, aby naprawić detale */

/* Pulsująca kropka statusu */
.pulse-icon {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 8px #10b981;
    animation: ai-pulse 2s infinite;
}

@keyframes ai-pulse {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}

/* Przycisk powrotu pod wynikiem */
.btn-reset {
    background: transparent !important;
    border: none !important;
    color: #94A3B8 !important;
    text-decoration: underline !important;
    cursor: pointer !important;
    margin-top: 15px !important;
    font-size: 0.85rem !important;
}

/* Poprawka dla tekstu wyniku */
#ai-response-text {
    color: #E2E8F0 !important;
    line-height: 1.8 !important;
    font-style: italic !important;
}

/* Styl dla Breadcrumbs */
.dream-breadcrumbs {
    font-size: 0.85rem;
    margin-bottom: 25px;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    padding: 10px 15px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.dream-breadcrumbs a {
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.dream-breadcrumbs a:hover {
    color: var(--accent-gold);
}

.dream-breadcrumbs .sep {
    color: rgba(139, 92, 246, 0.3);
}

.dream-breadcrumbs .current {
    color: var(--accent-violet);
    font-weight: 600;
}

/* Styl dla odznak kategorii */
.category-badge-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
}

.badge-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dim);
    font-weight: 700;
}

.cat-pill {
    background: linear-gradient(135deg, var(--accent-violet), #4f46e5);
    color: #fff !important;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(139, 92, 246, 0.3);
}

.cat-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(139, 92, 246, 0.5);
    filter: brightness(1.1);
}

#back-to-top {
    position: fixed;
    bottom: 120px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--accent-violet);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none; /* Ukryty na starcie */
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

#back-to-top:hover {
    transform: translateY(-5px);
}

#back-to-top .arrow {
    font-size: 24px;
    font-weight: bold;
}

/* Rozciągnięcie reklamy na całą szerokość kontenera */
.site-main .adsense-box {
    margin-left: -20px !important;
    margin-right: -20px !important;
    width: calc(100% + 40px) !important;
    max-width: none !important;
    border-radius: 0; /* Opcjonalnie: usuwa zaokrąglenie, by przylegało do krawędzi */
}

/* Domyślny kontener (Mobile) - większość reklam to 250px lub 280px wysokości */
.adsense-box {
    min-height: 280px;
    background-color: rgba(0,0,0,0.02); /* Bardzo delikatne tło, żeby Google widziało 'miejsce' */
    display: block;
    width: 100%;
}

/* Desktop - tutaj celujemy w większe formaty (300px) */
@media (min-width: 1024px) {
    .adsense-box {
        min-height: 300px;
    }
}

.content-grid {
    content-visibility: auto;
    contain-intrinsic-size: 1000px; /* Rezerwuje stały blok miejsca */
}

.letter-link, .tag-link, .cat-card, .read-more, .search-submit {
    touch-action: manipulation;
}

/* Styl dla captcha w komentarzach */
.comment-form-captcha {
    margin-bottom: 20px;
}

.comment-form-captcha label {
    display: block;
    color: var(--accent-gold);
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.comment-form-captcha input[type="text"] {
    background: #0d1117 !important;
    color: #fff !important;
    border: 2px solid #30363d !important;
    border-radius: 10px !important;
    padding: 12px 20px !important;
    width: 100% !important;
    font-size: 1rem !important;
    transition: border-color 0.3s;
}

.comment-form-captcha input[type="text"]:focus {
    border-color: var(--accent-violet) !important;
    outline: none !important;
}

html body #commentform input[type="text"],
html body #commentform input[type="email"] {
    background: #0d1117 !important;
    color: #fff !important;
    border: 2px solid #30363d !important;
    border-radius: 10px !important;
    padding: 12px 20px !important;
    width: 100% !important;
    font-size: 1rem !important;
    transition: border-color 0.3s;
}

html body #commentform input[type="text"]:focus,
html body #commentform input[type="email"]:focus {
    border-color: var(--accent-violet) !important;
    outline: none !important;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.comment-list .comment {
    background: #161B26;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.comment-list .comment-author {
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 5px;
}

.comment-list .comment-metadata {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-bottom: 10px;
}

.comment-list .comment-content p {
    color: var(--text-moonlight);
    margin: 0;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent-violet);
    outline-offset: 3px;
}

.dream-tags {
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--text-dim);
}

.dream-tags a {
    display: inline-block;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: var(--text-moonlight);
    padding: 4px 12px;
    border-radius: 20px;
    margin: 4px;
    font-size: 0.8rem;
    transition: all 0.2s;
}

.dream-tags a:hover {
    background: var(--accent-violet);
    color: #fff;
    border-color: var(--accent-violet);
}