/* ══════════════════════════════════════════════════════════════════════
   Forum — refonte /forum-dev (prototype)
   Réutilise les design tokens du site (--primary-color, --bg-*, --radius-*,
   --shadow-*, --gradient-* définis dans combined.min.css) pour rester
   cohérent avec l'identité visuelle existante.
   ══════════════════════════════════════════════════════════════════════ */

.fdev-proto-banner {
    background: linear-gradient(90deg, rgba(212,175,55,0.16) 0%, rgba(199,31,55,0.16) 100%);
    border-bottom: 1px solid rgba(212,175,55,0.3);
    color: var(--text-secondary);
    font-size: 0.8rem;
    text-align: center;
    padding: 0.5rem 1rem;
}
.fdev-proto-banner code { color: var(--accent-color); font-weight: 700; }
.fdev-proto-banner a { color: var(--primary-color); font-weight: 600; text-decoration: underline; }

.fdev-shell {
    max-width: 1160px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 4rem;
}
@media (max-width: 768px) {
    .fdev-shell { padding: 1.25rem 1rem 3rem; }
}

/* ── Boutons ─────────────────────────────────────────────────────── */
.fdev-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.6rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
    white-space: nowrap;
}
.fdev-btn-primary { background: var(--gradient-primary); color: #fff !important; box-shadow: var(--shadow-md); }
.fdev-btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); color: #fff !important; }
.fdev-btn-ghost { background: rgba(255,255,255,0.06); color: var(--text-primary) !important; border: 1px solid var(--border-accent); }
.fdev-btn-ghost:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.fdev-btn-sm { padding: 0.55rem 1rem; font-size: 0.82rem; border-radius: var(--radius-sm); }

/* ── Hero ────────────────────────────────────────────────────────── */
.fdev-hero {
    position: relative;
    border-radius: var(--radius-lg);
    padding: 1.1rem 1.5rem;
    margin-bottom: 1.25rem;
    overflow: hidden;
    background: var(--gradient-dark);
    border: 1px solid var(--border-color);
    text-align: center;
}
.fdev-hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(199,31,55,0.28) 0%, transparent 55%),
        radial-gradient(circle at 85% 80%, rgba(212,175,55,0.16) 0%, transparent 55%);
    pointer-events: none;
}
.fdev-hero-inner { position: relative; z-index: 1; max-width: 620px; margin: 0 auto; }
.fdev-hero-eyebrow {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent-color);
    background: rgba(212,175,55,0.12);
    border: 1px solid rgba(212,175,55,0.3);
    padding: 0.22rem 0.7rem;
    border-radius: var(--radius-full);
    margin-bottom: 0.5rem;
}
.fdev-hero-title {
    font-size: clamp(1.3rem, 3vw, 1.6rem);
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 0.3rem;
    letter-spacing: -0.02em;
}
.fdev-hero-sub { color: var(--text-secondary); font-size: 0.82rem; line-height: 1.45; margin: 0 0 0.65rem; }
.fdev-hero-stats { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 0.75rem; flex-wrap: wrap; }
.fdev-hero-stat { display: flex; flex-direction: column; align-items: center; }
.fdev-hero-stat strong { font-size: 1.15rem; font-weight: 800; color: var(--text-primary); }
.fdev-hero-stat span { font-size: 0.7rem; color: var(--text-muted); }
.fdev-hero-actions { display: flex; justify-content: center; gap: 0.6rem; flex-wrap: wrap; }
@media (max-width: 560px) {
    .fdev-hero { padding: 0.9rem 1rem; border-radius: var(--radius-md); }
    .fdev-hero-actions { flex-direction: column; }
    .fdev-hero-actions .fdev-btn { width: 100%; }
}

/* ── Section head ────────────────────────────────────────────────── */
.fdev-section-head { margin-bottom: 1.5rem; }
.fdev-section-head h2 { font-size: 1.5rem; font-weight: 800; color: var(--text-primary); margin: 0 0 0.3rem; }
.fdev-section-head p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }

/* ── Grille de thèmes ────────────────────────────────────────────── */
.fdev-themes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}
.fdev-theme-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
}
.fdev-theme-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--border-accent); }
.fdev-theme-media {
    position: relative;
    height: 140px;
    background: var(--gradient-dark);
    background-size: cover;
    background-position: center;
    display: flex; align-items: center; justify-content: center;
}
.fdev-theme-media-fallback { font-size: 2.4rem; opacity: 0.5; }
.fdev-badge {
    position: absolute; top: 0.6rem; right: 0.6rem;
    font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em;
    padding: 0.28rem 0.6rem; border-radius: var(--radius-full);
}
.fdev-badge-fresh { background: var(--accent-color); color: #241a00; box-shadow: 0 2px 10px rgba(212,175,55,0.5); }
.fdev-lock-overlay {
    position: absolute; inset: 0;
    background: rgba(10,10,15,0.72);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem;
    color: #fff; font-weight: 700; font-size: 0.8rem; text-align: center; padding: 0 1rem;
}
.fdev-theme-body { padding: 1.1rem 1.25rem 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.fdev-theme-body h3 { margin: 0; font-size: 1.08rem; font-weight: 800; color: var(--text-primary); }
.fdev-theme-body p {
    margin: 0; color: var(--text-muted); font-size: 0.86rem; line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    flex: 1;
}
.fdev-theme-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 0.35rem; }
.fdev-theme-count { font-size: 0.78rem; font-weight: 700; color: var(--text-secondary); }
.fdev-theme-arrow {
    width: 28px; height: 28px; border-radius: 50%;
    background: rgba(255,255,255,0.06); color: var(--text-secondary);
    display: flex; align-items: center; justify-content: center;
    transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}
.fdev-theme-card:hover .fdev-theme-arrow { background: var(--gradient-primary); color: #fff; transform: translateX(2px); }

/* ── Modal générique ─────────────────────────────────────────────── */
.fdev-modal-overlay {
    display: none; position: fixed; inset: 0; z-index: 10000;
    background: rgba(5,5,10,0.75); backdrop-filter: blur(6px);
    align-items: center; justify-content: center; padding: 1rem;
}
.fdev-modal-overlay.active { display: flex; }
.fdev-modal {
    position: relative;
    background: var(--bg-secondary); border: 1px solid var(--border-accent);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
    max-width: 380px; width: 100%; padding: 2rem 1.75rem; text-align: center;
}
.fdev-modal svg { margin-bottom: 0.75rem; }
.fdev-modal h3 { margin: 0 0 0.5rem; font-size: 1.15rem; font-weight: 800; color: var(--text-primary); }
.fdev-modal p { margin: 0 0 1.5rem; color: var(--text-muted); font-size: 0.9rem; line-height: 1.5; }
.fdev-modal-actions { display: flex; flex-direction: column; gap: 0.6rem; }
.fdev-modal-close {
    position: absolute; top: 0.6rem; right: 0.6rem;
    width: 32px; height: 32px; border-radius: 50%; border: none;
    background: rgba(255,255,255,0.06); color: var(--text-secondary);
    font-size: 1.3rem; line-height: 1; cursor: pointer;
}
.fdev-modal-close:hover { background: rgba(255,255,255,0.12); color: var(--text-primary); }

/* ══════════════════════════════════════════════════════════════════
   Page thème — liste des articles
   ══════════════════════════════════════════════════════════════════ */

.fdev-breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.fdev-breadcrumb a { color: var(--primary-color); text-decoration: none; font-weight: 600; }
.fdev-breadcrumb a:hover { text-decoration: underline; }
.fdev-breadcrumb span:last-child { color: var(--text-secondary); font-weight: 600; }

.fdev-theme-banner {
    position: relative; border-radius: var(--radius-lg); overflow: hidden;
    margin-bottom: 1.75rem; border: 1px solid var(--border-color);
    background: var(--gradient-dark);
}
.fdev-theme-banner-bg {
    position: absolute; inset: 0; background-size: cover; background-position: center;
    opacity: 0.35; filter: saturate(1.1);
}
.fdev-theme-banner-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,15,0.2) 0%, var(--bg-primary) 100%); }
.fdev-theme-banner-inner { position: relative; z-index: 1; padding: 2.25rem 1.75rem; }
.fdev-theme-banner-inner h1 { margin: 0 0 0.5rem; font-size: 1.9rem; font-weight: 800; color: var(--text-primary); }
.fdev-theme-banner-inner p { margin: 0; color: var(--text-secondary); font-size: 0.95rem; max-width: 640px; line-height: 1.55; }

.fdev-toolbar { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.fdev-search {
    display: flex; align-items: center; gap: 0.5rem;
    background: var(--bg-input); border: 1px solid var(--border-color); border-radius: var(--radius-md);
    padding: 0.6rem 0.9rem; flex: 1; min-width: 220px; max-width: 380px; color: var(--text-muted);
}
.fdev-search input { flex: 1; background: none; border: none; outline: none; color: var(--text-primary); font-size: 0.88rem; }
.fdev-search input::placeholder { color: var(--text-muted); }
.fdev-search-clear { color: var(--text-muted); text-decoration: none; font-size: 1.1rem; }
.fdev-toolbar-right { display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; }
.fdev-select {
    background: var(--bg-input); border: 1px solid var(--border-color); border-radius: var(--radius-md);
    color: var(--text-primary); font-size: 0.85rem; padding: 0.6rem 0.9rem; cursor: pointer;
}
.fdev-btn-ghost.is-active { background: var(--primary-light); border-color: var(--primary-color); color: var(--primary-color); }

@media (max-width: 640px) {
    .fdev-toolbar { flex-direction: column; align-items: stretch; }
    .fdev-search { max-width: none; }
    .fdev-toolbar-right { justify-content: space-between; }
}

.fdev-empty { text-align: center; padding: 4rem 1.5rem; color: var(--text-muted); }
.fdev-empty span { font-size: 2.5rem; display: block; margin-bottom: 0.75rem; opacity: 0.6; }
.fdev-empty h3 { color: var(--text-primary); font-size: 1.1rem; margin: 0 0 0.4rem; }
.fdev-empty p { margin: 0; font-size: 0.88rem; }

.fdev-article-list { display: flex; flex-direction: column; gap: 0.85rem; }
.fdev-article-card {
    position: relative;
    display: flex; gap: 1rem; align-items: stretch;
    background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg);
    padding: 1.1rem 1.25rem; text-decoration: none; color: inherit;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}
.fdev-article-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--border-accent); }
.fdev-article-card.is-pending { border-color: rgba(255,184,0,0.4); background: linear-gradient(180deg, rgba(255,184,0,0.05), var(--bg-card) 40%); }
.fdev-article-card.is-pinned { border-color: var(--primary-color); background: linear-gradient(180deg, var(--primary-light), var(--bg-card) 45%); }
.fdev-pin-btn {
    position: absolute; top: 0.6rem; right: 0.6rem; width: 30px; height: 30px; z-index: 2;
    border-radius: 50%; border: 1px solid var(--border-color); background: var(--bg-input);
    font-size: 0.85rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity .2s ease, background .2s ease, transform .2s ease;
}
.fdev-article-card:hover .fdev-pin-btn, .fdev-pin-btn.is-active { opacity: 1; }
.fdev-pin-btn.is-active { background: var(--primary-light); border-color: var(--primary-color); }
.fdev-pin-btn:hover { transform: scale(1.12); }
.fdev-pinned-tag {
    font-size: 0.68rem; font-weight: 700; color: var(--primary-color);
    background: var(--primary-light); border: 1px solid var(--primary-color);
    padding: 0.2rem 0.5rem; border-radius: var(--radius-full); white-space: nowrap;
}
.fdev-article-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.fdev-article-head { display: flex; align-items: center; gap: 0.6rem; }
.fdev-article-avatar { position: relative; width: 34px; height: 34px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--bg-tertiary); }
.fdev-article-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fdev-article-avatar.is-explicit img { filter: blur(6px); }
.fdev-avatar-fallback { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--text-muted); font-size: 0.85rem; }
.fdev-explicit-tag {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.4); font-size: 0.7rem; cursor: pointer;
}
.fdev-article-byline { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.fdev-article-byline strong { font-size: 0.85rem; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fdev-article-byline span { font-size: 0.72rem; color: var(--text-muted); }
.fdev-pending-tag {
    margin-left: auto; font-size: 0.68rem; font-weight: 700; color: var(--warning);
    background: rgba(255,184,0,0.12); border: 1px solid rgba(255,184,0,0.3);
    padding: 0.2rem 0.55rem; border-radius: var(--radius-full); white-space: nowrap;
}
.fdev-article-title { margin: 0; font-size: 1.15rem; font-weight: 800; color: var(--text-primary); line-height: 1.35; }
.fdev-article-card:hover .fdev-article-title { color: var(--primary-color); }
.fdev-article-excerpt {
    margin: 0; color: var(--text-muted); font-size: 0.87rem; line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.fdev-article-meta { display: flex; gap: 1.1rem; margin-top: auto; padding-top: 0.3rem; }
.fdev-article-meta span { display: flex; align-items: center; gap: 0.35rem; font-size: 0.78rem; color: var(--text-muted); font-weight: 600; }
.fdev-article-thumb {
    position: relative; width: 96px; flex-shrink: 0; border-radius: var(--radius-md);
    background-size: cover; background-position: center; background-color: var(--bg-tertiary);
    overflow: hidden;
}
.fdev-article-thumb.is-explicit::before {
    content: ''; position: absolute; inset: -8px;
    background-image: var(--thumb-img); background-size: cover; background-position: center;
    filter: blur(10px); z-index: 0;
}
.fdev-thumb-explicit-tag {
    position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.45); font-size: 1.1rem;
}
@media (max-width: 560px) {
    .fdev-article-card { padding: 0.9rem 1rem; }
    .fdev-article-thumb { width: 68px; }
    .fdev-article-title { font-size: 1.02rem; }
}

.fdev-pagination { display: flex; justify-content: center; gap: 0.4rem; margin-top: 2rem; flex-wrap: wrap; }
.fdev-page-link {
    min-width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius-sm); background: var(--bg-card); border: 1px solid var(--border-color);
    color: var(--text-secondary); text-decoration: none; font-weight: 700; font-size: 0.85rem;
}
.fdev-page-link:hover { border-color: var(--border-accent); color: var(--text-primary); }
.fdev-page-link.is-active { background: var(--gradient-primary); border-color: transparent; color: #fff; }

/* ══════════════════════════════════════════════════════════════════
   Page article — détail + commentaires
   ══════════════════════════════════════════════════════════════════ */

.fdev-shell-article { max-width: 760px; }
.fdev-article-layout { display: flex; flex-direction: column; gap: 2rem; }

.fdev-article-detail {
    background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg);
    padding: 1.75rem;
}
.fdev-article-detail.is-pending { border-color: rgba(255,184,0,0.4); }
@media (max-width: 560px) { .fdev-article-detail { padding: 1.15rem; border-radius: var(--radius-md); } }

.fdev-detail-head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.fdev-detail-avatar { position: relative; width: 46px; height: 46px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--bg-tertiary); }
.fdev-detail-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fdev-detail-avatar.is-explicit img { filter: blur(8px); }
.fdev-avatar-fallback { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--text-muted); }
.fdev-explicit-tag { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.4); font-size: 0.85rem; cursor: pointer; }
.fdev-explicit-tag-sm { font-size: 0.65rem; }
.fdev-detail-byline { display: flex; flex-direction: column; line-height: 1.3; flex: 1; min-width: 0; }
.fdev-detail-byline strong { font-size: 0.98rem; color: var(--text-primary); }
.fdev-detail-byline span { font-size: 0.78rem; color: var(--text-muted); }
.fdev-detail-actions { display: flex; gap: 0.4rem; flex-shrink: 0; }
.fdev-icon-btn {
    width: 34px; height: 34px; border-radius: var(--radius-sm); border: 1px solid var(--border-color);
    background: rgba(255,255,255,0.03); color: var(--text-secondary); display: flex; align-items: center; justify-content: center;
    cursor: pointer; text-decoration: none; transition: all var(--transition-fast);
}
.fdev-icon-btn:hover { background: rgba(255,255,255,0.08); color: var(--text-primary); }
.fdev-icon-btn-danger:hover { background: rgba(255,56,96,0.12); color: var(--danger); border-color: rgba(255,56,96,0.3); }
.fdev-icon-btn.is-active { background: rgba(255,184,0,0.14); color: var(--warning); border-color: rgba(255,184,0,0.35); }

.fdev-pending-banner {
    background: rgba(255,184,0,0.1); border: 1px solid rgba(255,184,0,0.3); color: #ffcf5c;
    border-radius: var(--radius-md); padding: 0.7rem 1rem; font-size: 0.83rem; margin-bottom: 1rem;
}

.fdev-detail-title { font-size: 1.6rem; font-weight: 800; color: var(--text-primary); line-height: 1.3; margin: 0 0 1.1rem; }
@media (max-width: 560px) { .fdev-detail-title { font-size: 1.3rem; } }

.fdev-detail-photos { display: flex; gap: 0.6rem; margin-bottom: 1.25rem; }
.fdev-detail-photo { position: relative; flex: 1; border-radius: var(--radius-md); overflow: hidden; background: var(--bg-tertiary); max-height: 420px; }
.fdev-detail-photos:not(.has-two) .fdev-detail-photo { max-width: 420px; }
.fdev-detail-photo img { width: 100%; height: 100%; max-height: 420px; object-fit: cover; display: block; cursor: zoom-in; }
.fdev-detail-photo img.is-explicit-img { filter: blur(24px); }
.fdev-photo-explicit-mask {
    position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 0.3rem; background: rgba(0,0,0,0.55); color: #fff; font-weight: 700; font-size: 0.85rem; text-align: center; cursor: pointer;
}
.fdev-photo-explicit-mask small { font-weight: 500; font-size: 0.7rem; opacity: 0.85; }

.fdev-detail-body { color: var(--text-primary); font-size: 1.02rem; line-height: 1.75; }
.fdev-detail-body p { margin: 0 0 1rem; }
.fdev-detail-body img { max-width: 100%; border-radius: var(--radius-md); }

.fdev-detail-body-wrap.is-truncated { position: relative; max-height: 380px; overflow: hidden; }
.fdev-detail-body-wrap.is-truncated::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 110px;
    background: linear-gradient(to bottom, transparent, var(--bg-card) 85%);
    pointer-events: none;
}
.fdev-readmore-bar { text-align: center; margin-top: 0.35rem; }
.fdev-readmore-btn {
    display: inline-flex; align-items: center; gap: 0.4rem;
    background: none; border: none; color: var(--primary-color); font-weight: 700; font-size: 0.92rem;
    cursor: pointer; padding: 0.5rem 1rem; border-radius: var(--radius-md); transition: background var(--transition-fast), color var(--transition-fast);
}
.fdev-readmore-btn:hover { background: var(--primary-light); color: var(--text-primary); }
.fdev-readmore-btn svg { transition: transform var(--transition-fast); }
.fdev-detail-body-wrap:not(.is-truncated) + .fdev-readmore-bar .fdev-readmore-btn svg { transform: rotate(180deg); }

.fdev-detail-footer { display: flex; gap: 0.6rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border-color); flex-wrap: wrap; }
.fdev-action-btn {
    display: flex; align-items: center; gap: 0.45rem;
    background: rgba(255,255,255,0.03); border: 1px solid var(--border-color); border-radius: var(--radius-md);
    padding: 0.55rem 1rem; color: var(--text-secondary); font-weight: 700; font-size: 0.85rem;
    text-decoration: none; cursor: pointer; transition: all var(--transition-fast);
}
.fdev-action-btn:hover { border-color: var(--border-accent); color: var(--text-primary); }
.fdev-action-btn.is-liked { background: rgba(255,56,96,0.12); border-color: rgba(255,56,96,0.35); color: #ff6b85; }
.fdev-action-btn-flag { margin-left: auto; }
@media (max-width: 480px) { .fdev-action-btn-flag { margin-left: 0; } }

/* ── Commentaires ────────────────────────────────────────────────── */
.fdev-comments { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 1.75rem; }
@media (max-width: 560px) { .fdev-comments { padding: 1.15rem; border-radius: var(--radius-md); } }
.fdev-comments-title { font-size: 1.15rem; font-weight: 800; color: var(--text-primary); margin: 0 0 1.25rem; }

.fdev-comment-form { background: var(--bg-input); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 0.9rem; margin-bottom: 1.75rem; }
.fdev-comment-form textarea {
    width: 100%; box-sizing: border-box; background: none; border: none; outline: none; resize: vertical;
    color: var(--text-primary); font-size: 0.92rem; font-family: inherit; line-height: 1.5; min-height: 44px;
}
.fdev-comment-form textarea::placeholder { color: var(--text-secondary); }
.fdev-comment-form-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 0.5rem; gap: 0.75rem; }
.fdev-comment-form-hint { font-size: 0.74rem; color: var(--text-secondary); }
.fdev-reply-badge {
    display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: var(--text-secondary);
    background: var(--primary-light); border-radius: var(--radius-sm); padding: 0.4rem 0.7rem; margin-bottom: 0.6rem;
}
.fdev-reply-badge strong { color: var(--primary-color); }
.fdev-reply-badge button { margin-left: auto; background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 0.78rem; text-decoration: underline; }

.fdev-locked-notice { text-align: center; padding: 1rem; color: var(--text-muted); font-size: 0.88rem; background: var(--bg-input); border-radius: var(--radius-md); margin-bottom: 1.5rem; }
.fdev-locked-notice a { color: var(--primary-color); font-weight: 700; text-decoration: none; }

.fdev-empty-sm { padding: 2.5rem 1rem; }
.fdev-empty-sm span { font-size: 1.8rem; }
.fdev-empty-sm p { margin: 0.5rem 0 0; font-size: 0.85rem; }

.fdev-comment-list { display: flex; flex-direction: column; gap: 1.15rem; }
.fdev-comment { display: flex; gap: 0.7rem; }
.fdev-comment-avatar { position: relative; width: 38px; height: 38px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--bg-tertiary); }
.fdev-comment-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fdev-comment-avatar.is-explicit img { filter: blur(7px); }
.fdev-comment-avatar-sm { width: 30px; height: 30px; }
.fdev-comment-body { flex: 1; min-width: 0; }
.fdev-comment-bubble { background: var(--bg-input); border-radius: var(--radius-md); border-top-left-radius: 4px; padding: 0.65rem 0.9rem; }
.fdev-comment-head { display: flex; align-items: baseline; gap: 0.5rem; margin-bottom: 0.15rem; flex-wrap: wrap; }
.fdev-comment-head strong { font-size: 0.86rem; color: var(--text-primary); }
.fdev-comment-head span { font-size: 0.72rem; color: var(--text-muted); }
.fdev-comment-bubble p { margin: 0; color: var(--text-primary); font-size: 0.9rem; line-height: 1.5; word-break: break-word; }
.fdev-comment-actions { display: flex; align-items: center; gap: 1rem; margin-top: 0.4rem; padding-left: 0.2rem; }
.fdev-comment-actions button { background: none; border: none; padding: 0; color: var(--text-muted); font-size: 0.76rem; font-weight: 700; cursor: pointer; }
.fdev-comment-actions button:hover { color: var(--text-primary); }
.fdev-comment-actions button.is-danger:hover { color: var(--danger); }
.fdev-toggle-replies { display: flex !important; align-items: center; gap: 0.3rem; color: var(--primary-color) !important; }
.fdev-toggle-replies svg { transition: transform var(--transition-fast); }
.fdev-toggle-replies.is-open svg { transform: rotate(180deg); }

.fdev-replies { margin-top: 0.85rem; padding-left: 1rem; border-left: 2px solid var(--border-color); display: flex; flex-direction: column; gap: 0.85rem; }
.fdev-comment-reply .fdev-comment-bubble { background: rgba(255,255,255,0.03); }

/* ── À lire aussi ────────────────────────────────────────────────── */
.fdev-similar { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 1.5rem 1.75rem; }
.fdev-similar-heading { display: flex; align-items: center; gap: 0.55rem; margin: 0 0 1.25rem; font-size: 1.05rem; font-weight: 800; color: var(--text-primary); }
.fdev-similar-heading svg { color: var(--primary-color); flex-shrink: 0; }
.fdev-similar-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1rem; }
.fdev-similar-card { display: flex; flex-direction: column; border-radius: var(--radius-md); overflow: hidden; text-decoration: none; background: var(--bg-input); border: 1px solid var(--border-color); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.fdev-similar-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--border-accent); }
.fdev-similar-card:hover .fdev-similar-media img:not(.is-explicit-img) { transform: scale(1.08); }
.fdev-similar-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--bg-input); display: flex; align-items: flex-end; }
.fdev-similar-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.fdev-similar-media img.is-explicit-img { filter: blur(20px); }
.fdev-similar-media-theme { opacity: .55; }
.fdev-similar-media-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 2rem; opacity: .4; background: var(--gradient-primary); }
.fdev-similar-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.82) 100%); }
.fdev-similar-badge { position: absolute; top: 0.5rem; right: 0.5rem; background: rgba(0,0,0,.55); backdrop-filter: blur(4px); color: #fff; font-size: 0.7rem; font-weight: 700; padding: 0.2rem 0.5rem; border-radius: var(--radius-full); z-index: 1; }
.fdev-similar-card-title { position: relative; z-index: 1; margin: 0; padding: 0.75rem 0.85rem; color: #fff; font-size: 0.9rem; font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fdev-similar-foot { display: flex; align-items: center; justify-content: space-between; padding: 0.6rem 0.85rem; }
.fdev-similar-author { color: var(--text-muted); font-size: 0.76rem; font-weight: 600; }
.fdev-similar-arrow { color: var(--primary-color); font-weight: 700; transition: transform .25s ease; }
.fdev-similar-card:hover .fdev-similar-arrow { transform: translateX(3px); }
@media (max-width: 480px) { .fdev-similar-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } }

/* ── Lightbox ────────────────────────────────────────────────────── */
.fdev-lightbox { display: none; position: fixed; inset: 0; z-index: 10001; background: rgba(0,0,0,0.92); align-items: center; justify-content: center; padding: 2rem; cursor: zoom-out; }
.fdev-lightbox.active { display: flex; }
.fdev-lightbox img { max-width: 100%; max-height: 100%; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }

.fdev-report-modal { max-width: 420px; text-align: left; }
.fdev-report-modal h3 { text-align: center; }


/* ══════════════════════════════════════════════════════════════════
   Page sous-catégories (picker)
   ══════════════════════════════════════════════════════════════════ */
.fdev-subcats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}
.fdev-subcat-card {
    display: flex; flex-direction: column; gap: 0.75rem;
    background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg);
    padding: 1.25rem; text-decoration: none; color: inherit;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
}
.fdev-subcat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-accent); }
.fdev-subcat-card.is-muted { border-style: dashed; opacity: 0.75; }
.fdev-subcat-icon {
    width: 44px; height: 44px; border-radius: var(--radius-md);
    background: var(--primary-light); color: var(--primary-color);
    display: flex; align-items: center; justify-content: center;
}
.fdev-subcat-card.is-muted .fdev-subcat-icon { background: rgba(255,255,255,0.06); color: var(--text-muted); }
.fdev-subcat-body { flex: 1; }
.fdev-subcat-body h3 { margin: 0 0 0.3rem; font-size: 1.05rem; font-weight: 800; color: var(--text-primary); }
.fdev-subcat-body p { margin: 0; font-size: 0.85rem; color: var(--text-muted); line-height: 1.45; }
.fdev-subcat-foot { display: flex; align-items: center; gap: 0.6rem; font-size: 0.78rem; font-weight: 700; color: var(--text-secondary); }

/* ── Barre de sous-catégories (sur la page article-list) ────────────── */
.fdev-subcat-pills { display: flex; gap: 0.5rem; overflow-x: auto; padding-bottom: 0.25rem; margin-bottom: 1.25rem; }
.fdev-subcat-pill {
    flex-shrink: 0; display: inline-flex; align-items: center; gap: 0.35rem;
    padding: 0.5rem 1rem; border-radius: var(--radius-full);
    background: var(--bg-card); border: 1px solid var(--border-color); color: var(--text-secondary) !important;
    font-size: 0.82rem; font-weight: 700; text-decoration: none; white-space: nowrap;
    transition: all var(--transition-fast);
}
.fdev-subcat-pill:hover { border-color: var(--border-accent); color: var(--text-primary) !important; }
.fdev-subcat-pill.is-active { background: var(--gradient-primary); border-color: transparent; color: #fff !important; }


/* ── Édition inline de commentaire ──────────────────────────────────── */
.fdev-comment-edit-form { margin-top: 0.4rem; }
.fdev-comment-edit-form textarea {
    width: 100%; box-sizing: border-box; min-height: 60px; resize: vertical;
    background: var(--bg-input); border: 1px solid var(--border-accent); border-radius: var(--radius-md);
    color: var(--text-primary); font-family: inherit; font-size: 0.88rem; line-height: 1.5; padding: 0.5rem 0.7rem;
}
.fdev-comment-edit-btns { display: flex; gap: 0.5rem; margin-top: 0.4rem; justify-content: flex-end; }


/* ── Réactions sur les commentaires ─────────────────────────────────── */
.fdev-comment-like-btn {
    display: inline-flex; align-items: center; gap: 0.3rem;
    background: none; border: none; padding: 0; color: var(--text-muted);
    font-size: 0.76rem; font-weight: 700; cursor: pointer;
}
.fdev-comment-like-btn:hover { color: var(--text-primary); }
.fdev-comment-like-btn.is-liked { color: #ff6b85; }
.fdev-comment-like-btn svg { flex-shrink: 0; }


/* ══════════════════════════════════════════════════════════════════
   Formulaire de création / édition d'article
   ══════════════════════════════════════════════════════════════════ */
.fdev-form-card {
    background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg);
    padding: 1.75rem;
}
@media (max-width: 560px) { .fdev-form-card { padding: 1.15rem; border-radius: var(--radius-md); } }
.fdev-form-title { margin: 0 0 0.3rem; font-size: 1.4rem; font-weight: 800; color: var(--text-primary); }
.fdev-form-sub { margin: 0 0 1.5rem; color: var(--text-muted); font-size: 0.9rem; }
.fdev-form-error {
    background: rgba(255,56,96,0.1); border: 1px solid rgba(255,56,96,0.35); color: #ff8fa3;
    border-radius: var(--radius-md); padding: 0.75rem 1rem; font-size: 0.85rem; margin-bottom: 1.25rem;
}
.fdev-field { margin-bottom: 1.5rem; }
.fdev-field label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--text-secondary); margin-bottom: 0.5rem; }
.fdev-required { color: var(--danger); }
.fdev-optional { color: var(--text-muted); font-weight: 500; }
.fdev-input, .fdev-textarea {
    width: 100%; box-sizing: border-box; background: var(--bg-input); border: 1px solid var(--border-color);
    border-radius: var(--radius-md); color: var(--text-primary); font-family: inherit; font-size: 0.92rem;
    padding: 0.7rem 0.9rem; transition: border-color var(--transition-fast);
}
.fdev-input:focus, .fdev-textarea:focus, .fdev-select:focus { outline: none; border-color: var(--primary-color); }
.fdev-textarea { resize: vertical; line-height: 1.6; }
.fdev-editor-toolbar { display: flex; gap: 0.4rem; margin-bottom: 0.5rem; }
.fdev-editor-toolbar button {
    background: rgba(255,255,255,0.05); border: 1px solid var(--border-color); border-radius: var(--radius-sm);
    color: var(--text-secondary); font-size: 0.78rem; font-weight: 700; padding: 0.4rem 0.75rem; cursor: pointer;
}
.fdev-editor-toolbar button:hover { background: rgba(255,255,255,0.1); color: var(--text-primary); }
.fdev-char-count { text-align: right; font-size: 0.72rem; color: var(--text-muted); margin-top: 0.35rem; }

.fdev-photo-upload { position: relative; }
.fdev-photo-upload input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.fdev-upload-label {
    display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
    border: 2px dashed var(--border-color); border-radius: var(--radius-md);
    padding: 2rem 1rem; text-align: center; color: var(--text-secondary); cursor: pointer;
    transition: border-color var(--transition-fast), background var(--transition-fast);
}
.fdev-photo-upload:hover .fdev-upload-label { border-color: var(--border-accent); background: rgba(255,255,255,0.02); }
.fdev-upload-label small { color: var(--text-muted); font-size: 0.75rem; }
.fdev-photo-preview-grid { display: flex; gap: 0.75rem; margin-top: 0.75rem; flex-wrap: wrap; }
.fdev-photo-preview-item { position: relative; width: 90px; height: 90px; border-radius: var(--radius-md); overflow: hidden; }
.fdev-photo-preview-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fdev-photo-preview-item button {
    position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%;
    background: rgba(0,0,0,0.7); border: none; color: #fff; font-size: 0.9rem; line-height: 1; cursor: pointer;
}

.fdev-existing-photos { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.fdev-existing-photo { position: relative; width: 140px; border-radius: var(--radius-md); overflow: hidden; background: var(--bg-tertiary); }
.fdev-existing-photo img { width: 140px; height: 140px; object-fit: cover; display: block; }
.fdev-photo-explicit-badge {
    position: absolute; top: 0.4rem; left: 0.4rem; z-index: 1;
    background: rgba(0,0,0,0.75); color: #fff; font-size: 0.65rem; font-weight: 700;
    padding: 0.2rem 0.5rem; border-radius: var(--radius-full);
}
.fdev-photo-actions-bar { position: absolute; bottom: 0.4rem; left: 0.4rem; right: 0.4rem; display: flex; flex-direction: column; gap: 0.3rem; }
.fdev-btn-photo-explicit, .fdev-btn-photo-delete {
    border: none; border-radius: var(--radius-sm); font-size: 0.68rem; font-weight: 700; padding: 0.35rem 0.5rem; cursor: pointer;
}
.fdev-btn-photo-explicit { background: rgba(255,184,0,0.9); color: #241a00; }
.fdev-btn-photo-delete { background: rgba(255,56,96,0.9); color: #fff; }

.fdev-rules-box { background: var(--bg-input); border-radius: var(--radius-md); padding: 1.1rem 1.25rem; margin-bottom: 1.5rem; }
.fdev-rules-box h3 { margin: 0 0 0.6rem; font-size: 0.92rem; color: var(--text-primary); }
.fdev-rules-box ul { margin: 0 0 1rem; padding-left: 1.2rem; color: var(--text-muted); font-size: 0.82rem; line-height: 1.6; }
.fdev-checkbox-label { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.85rem; color: var(--text-secondary); cursor: pointer; }
.fdev-checkbox-label input { margin-top: 0.2rem; }
.fdev-form-actions { display: flex; justify-content: flex-end; gap: 0.75rem; }
@media (max-width: 480px) { .fdev-form-actions { flex-direction: column-reverse; } .fdev-form-actions .fdev-btn { width: 100%; } }


/* ── Modal "qui a aimé" ──────────────────────────────────────────────── */
.fdev-likers-list { display: flex; flex-direction: column; gap: 0.4rem; max-height: 320px; overflow-y: auto; text-align: left; }
.fdev-liker-item {
    padding: 0.55rem 0.75rem; border-radius: var(--radius-sm); background: rgba(255,255,255,0.03);
    color: var(--text-primary) !important; text-decoration: none; font-weight: 600; font-size: 0.88rem;
}
.fdev-liker-item:hover { background: rgba(255,255,255,0.08); }


/* ══════════════════════════════════════════════════════════════════
   FAQ (accueil, visiteurs non connectés)
   ══════════════════════════════════════════════════════════════════ */
.fdev-faq { margin-top: 3rem; }
.fdev-faq-list { display: flex; flex-direction: column; gap: 0.6rem; }
.fdev-faq-item { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); overflow: hidden; }
.fdev-faq-question {
    width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    background: none; border: none; padding: 1rem 1.25rem; text-align: left; cursor: pointer;
    color: var(--text-primary); font-weight: 700; font-size: 0.95rem;
}
.fdev-faq-icon { flex-shrink: 0; transition: transform var(--transition-fast); color: var(--text-muted); }
.fdev-faq-question[aria-expanded="true"] .fdev-faq-icon { transform: rotate(180deg); }
.fdev-faq-answer { padding: 0 1.25rem 1.1rem; }
.fdev-faq-answer p { margin: 0; color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; }
.fdev-faq-answer a { color: var(--primary-color); }
.fdev-faq-cta { display: flex; justify-content: center; gap: 0.85rem; margin-top: 1.75rem; flex-wrap: wrap; }
@media (max-width: 480px) { .fdev-faq-cta { flex-direction: column; } .fdev-faq-cta .fdev-btn { width: 100%; } }

.fdev-comments-pagination { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-top: 1.75rem; padding: 1.1rem; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); flex-wrap: wrap; }
.fdev-comments-pagination .fdev-btn:disabled { opacity: 0.4; cursor: default; transform: none !important; box-shadow: none !important; }
.fdev-pagination-info { font-size: 0.85rem; color: var(--text-secondary); }
.fdev-pagination-info strong { color: var(--text-primary); }
@media (max-width: 480px) { .fdev-comments-pagination { gap: 0.6rem; padding: 0.9rem; } .fdev-pagination-info { order: 3; width: 100%; text-align: center; } }
#fdev-pin-btn.is-active { background: var(--primary-light); color: var(--primary-color); border-color: var(--primary-color); }
.fdev-rep-badge { position: relative; display: inline-block; margin-left: 0.3rem; font-size: 0.85em; vertical-align: -1px; }
.fdev-rep-tooltip { position: absolute; bottom: 130%; left: 50%; transform: translateX(-50%) translateY(4px); background: var(--bg-card); color: var(--text-primary); border: 1px solid var(--border-color); font-size: 0.7rem; font-weight: 700; white-space: nowrap; padding: 0.3rem 0.6rem; border-radius: var(--radius-sm); box-shadow: var(--shadow-md); opacity: 0; pointer-events: none; transition: opacity .15s ease, transform .15s ease; z-index: 20; }
.fdev-rep-badge:hover .fdev-rep-tooltip, .fdev-rep-badge:focus .fdev-rep-tooltip { opacity: 1; transform: translateX(-50%) translateY(0); }
.fdev-mention { color: var(--primary-color); font-weight: 700; }
.fdev-trending-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; }
.fdev-trending-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; background: var(--bg-card); border: 1px solid var(--border-color); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.fdev-trending-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--border-accent); }
.fdev-trending-rank { position: absolute; top: 0.6rem; left: 0.6rem; z-index: 2; background: var(--gradient-primary); color: #fff; font-weight: 800; font-size: 0.75rem; width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); }
.fdev-trending-media { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--bg-input); }
.fdev-trending-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fdev-trending-media img.is-explicit-img { filter: blur(20px); }
.fdev-trending-body { padding: 0.85rem 1rem 1rem; display: flex; flex-direction: column; gap: 0.3rem; }
.fdev-trending-theme { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; color: var(--primary-color); }
.fdev-trending-body h3 { margin: 0; font-size: 1rem; font-weight: 800; color: var(--text-primary); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fdev-trending-card:hover .fdev-trending-body h3 { color: var(--primary-color); }
.fdev-trending-meta { font-size: 0.74rem; color: var(--text-muted); }
.fdev-guest-topbar { display: flex; align-items: center; justify-content: space-between; padding: 0.9rem 2rem; background: rgba(8,8,16,0.85); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,0.08); }
.fdev-guest-topbar-logo { display: block; line-height: 0; }
.fdev-guest-topbar-logo img { height: 28px; width: auto; display: block; }
.fdev-guest-topbar-actions { display: flex; gap: 0.75rem; align-items: center; }
.fdev-guest-btn-outline { padding: 0.55rem 1.3rem; border: 1px solid rgba(255,255,255,0.25); border-radius: 50px; color: rgba(255,255,255,0.85); font-size: 0.9rem; font-weight: 500; text-decoration: none; transition: all 0.2s; }
.fdev-guest-btn-outline:hover { border-color: #c71f37; color: #fff; background: rgba(199,31,55,0.1); }
.fdev-guest-btn-cta { padding: 0.55rem 1.4rem; background: #c71f37; border: 1px solid transparent; border-radius: 50px; color: #fff !important; font-size: 0.9rem; font-weight: 700; text-decoration: none; transition: all 0.2s; }
.fdev-guest-btn-cta:hover { background: #a01830; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(199,31,55,0.45); }
@media (max-width: 640px) {
    .fdev-guest-topbar { padding: 0.75rem 1rem; }
    .fdev-guest-topbar-logo img { height: 22px; }
    .fdev-guest-topbar-actions { gap: 0.4rem; }
    .fdev-guest-btn-outline { padding: 0.35rem 0.7rem; font-size: 0.75rem; }
    .fdev-guest-btn-cta { padding: 0.35rem 0.75rem; font-size: 0.75rem; }
}
.fdev-guest-topbar-left { display: flex; align-items: center; gap: 0.9rem; }
.fdev-guest-topbar-home { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; color: rgba(255,255,255,0.75); border: 1px solid rgba(255,255,255,0.15); transition: all 0.2s; flex-shrink: 0; }
.fdev-guest-topbar-home:hover { color: #fff; border-color: #c71f37; background: rgba(199,31,55,0.12); }
@media (max-width: 640px) {
    .fdev-guest-topbar-left { gap: 0.6rem; }
    .fdev-guest-topbar-home { width: 30px; height: 30px; }
    .fdev-guest-topbar-home svg { width: 17px; height: 17px; }
}
.fdev-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(16px); background: var(--bg-card); border: 1px solid var(--border-accent); color: var(--text-primary); padding: 0.85rem 1.4rem; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); font-size: 0.85rem; font-weight: 600; max-width: min(90vw, 420px); text-align: center; z-index: 9999; opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.fdev-toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }
@media (max-width: 480px) { .fdev-toast { bottom: 16px; padding: 0.75rem 1.1rem; font-size: 0.8rem; } }
