/* ============================================================
   Guides Public — Hub, Categories, Cards, Single Guide View
   Modern layout inspired by Linear/Vercel guide hubs
   ============================================================ */

/* ── Breadcrumbs ── */
.guides-hub + .db-breadcrumbs,
.db-breadcrumbs + .guides-hub,
.db-breadcrumbs + .guide-view { /* specificity helper */ }
.db-breadcrumbs { max-width: 960px; margin: -1.5rem auto 0.5rem; padding: 0.25rem 1rem 0; font-size: 0.85rem; }
.db-breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem; padding: 0; margin: 0; }
.db-breadcrumbs li { display: flex; align-items: center; gap: 0.25rem; color: var(--text-muted, #7a7870); }
.db-breadcrumbs li:not(:last-child)::after { content: '\203A'; margin-left: 0.25rem; color: var(--text-muted, #7a7870); }
.db-breadcrumbs a { color: var(--text-dimmed, #7a7870); text-decoration: none; }
.db-breadcrumbs a:hover { color: var(--gold, #c4a24e); text-decoration: underline; }
.db-breadcrumbs li:last-child a { color: var(--text-primary, #e0ddd5); pointer-events: none; }

/* ── Hub Container ── */
.guides-hub { max-width: 960px; margin: 0 auto; padding: 0 1rem; }

/* ── Hero (Landing only) ── */
.guides-hub__hero {
    text-align: center;
    padding: 0.5rem 0 1.25rem;
}
.guides-hub__hero-title {
    font-size: 2.25rem;
    color: var(--gold, #c4a24e);
    letter-spacing: 0.04em;
    margin: 0 0 0.5rem;
    font-weight: 700;
}
.guides-hub__hero-sub {
    font-size: 1.05rem;
    color: var(--text-dimmed, #7a7870);
    margin: 0;
    line-height: 1.5;
}

/* ── Section Headings ── */
.guides-hub__section { margin-bottom: 2.5rem; }
.guides-hub__section-title {
    font-size: 0.8rem;
    color: var(--text-dimmed, #7a7870);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin: 0 0 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color, #2a2a35);
}

/* ── Category Cards Grid ── */
.guides-hub__cat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}
@media (max-width: 640px) {
    .guides-hub__cat-grid { grid-template-columns: 1fr; }
}

.guides-hub__cat-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.9rem 1rem;
    background: var(--bg-panel, #13151a);
    border: 1px solid var(--border-panel, #252830);
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, background 0.15s;
}
.guides-hub__cat-card:hover {
    border-color: var(--gold-dark, #a37e2c);
    background: rgba(196,162,78,0.04);
}

.guides-hub__cat-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    color: var(--gold, #c4a24e);
    opacity: 0.8;
}
.guides-hub__cat-icon svg { width: 100%; height: 100%; }

.guides-hub__cat-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}
.guides-hub__cat-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary, #e0ddd5);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.guides-hub__cat-desc {
    font-size: 0.8rem;
    color: var(--text-dimmed, #7a7870);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.guides-hub__cat-count {
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-dimmed, #7a7870);
    background: rgba(255,255,255,0.05);
    padding: 0.15rem 0.45rem;
    border-radius: 10px;
}

.guides-hub__cat-arrow {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--text-dimmed, #7a7870);
    opacity: 0.4;
    transition: opacity 0.15s, transform 0.15s;
}
.guides-hub__cat-card:hover .guides-hub__cat-arrow {
    opacity: 0.8;
    transform: translateX(2px);
}

/* NEW badge */
.guides-hub__badge-new {
    font-size: 0.6rem;
    font-weight: 700;
    color: #f87171;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ── Category Header (Category pages) ── */
.guides-hub__cat-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0 1rem;
    border-bottom: 1px solid var(--border-color, #2a2a35);
    margin-bottom: 1.25rem;
}
.guides-hub__cat-header-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    color: var(--gold, #c4a24e);
}
.guides-hub__cat-header-icon svg { width: 100%; height: 100%; }
.guides-hub__cat-header-title {
    font-size: 1.75rem;
    color: var(--gold, #c4a24e);
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.03em;
}
.guides-hub__cat-header-desc {
    font-size: 0.9rem;
    color: var(--text-dimmed, #7a7870);
    margin: 0.15rem 0 0;
}

/* ── Sub-Navigation (child categories as chips) ── */
.guides-hub__sub-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
}
.guides-hub__sub-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.9rem;
    border-radius: 8px;
    border: 1px solid var(--border-color, #2a2a35);
    background: var(--bg-panel, #13151a);
    color: var(--text-primary, #e0ddd5);
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    transition: border-color 0.15s, background 0.15s;
}
.guides-hub__sub-chip:hover {
    border-color: var(--gold-dark, #a37e2c);
    background: rgba(196,162,78,0.06);
    color: var(--gold, #c4a24e);
}
.guides-hub__sub-count {
    font-size: 0.72rem;
    color: var(--text-dimmed);
    opacity: 0.6;
}

/* ── Guide List (row-based, clean) ── */
.guides-hub__guide-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--border-color, #2a2a35);
    border: 1px solid var(--border-panel, #252830);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.guides-hub__guide-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1.15rem;
    background: var(--bg-panel, #13151a);
    text-decoration: none;
    color: inherit;
    transition: background 0.12s;
    position: relative;
    overflow: hidden;
}
.guides-hub__guide-row::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 50%;
    background-image: var(--guide-bg, none);
    background-size: cover;
    background-position: center;
    opacity: 0.12;
    pointer-events: none;
    mask-image: linear-gradient(to right, transparent, black 40%);
    -webkit-mask-image: linear-gradient(to right, transparent, black 40%);
}
.guides-hub__guide-row:not([style*="--guide-bg"])::after {
    display: none;
}
.guides-hub__guide-row:hover {
    background: rgba(196,162,78,0.04);
}

.guides-hub__guide-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    position: relative; z-index: 1;
}
.guides-hub__guide-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary, #e0ddd5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.guides-hub__guide-sub {
    font-size: 0.82rem;
    color: var(--text-dimmed, #7a7870);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.guides-hub__guide-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    font-size: 0.8rem;
    position: relative; z-index: 1;
}
.guides-hub__guide-author {
    color: var(--text-dimmed, #7a7870);
}

/* Difficulty badges */
.guides-hub__diff {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.guides-hub__diff--beginner { background: rgba(34,197,94,0.12); color: #4ade80; }
.guides-hub__diff--intermediate { background: rgba(245,158,11,0.12); color: #fbbf24; }
.guides-hub__diff--advanced { background: rgba(239,68,68,0.12); color: #f87171; }

/* ── Empty State ── */
.guides-hub__empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-dimmed, #7a7870);
    font-size: 0.95rem;
}

/* ── Mobile ── */
@media (max-width: 640px) {
    .guides-hub__hero-title { font-size: 1.75rem; }
    .guides-hub__hero-sub { font-size: 0.95rem; }
    .guides-hub__guide-row { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
    .guides-hub__guide-meta { width: 100%; }
    .guides-hub__cat-header-title { font-size: 1.35rem; }
}


/* ============================================================
   Single Guide View (unchanged)
   ============================================================ */
.guide-view { max-width: 960px; margin: 0 auto; }

/* Hero Banner (same pattern as season hero) */
.guide-view__hero {
    position: relative;
    min-height: 25vh;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center;
    padding: 40px var(--spacing-lg, 1.5rem) 30px;
    overflow: hidden;
    max-width: 960px; margin: 0 auto;
    border-radius: var(--border-radius-lg, 8px) var(--border-radius-lg, 8px) 0 0;
}
.guide-view__hero-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center top;
    background-repeat: no-repeat; background-color: var(--bg-secondary);
    z-index: 0;
}
.guide-view__hero-bg::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(21, 22, 26, 0.3) 0%,
        rgba(21, 22, 26, 0.6) 50%,
        var(--bg-primary, #0a0a0f) 100%
    );
}
.guide-view__hero-content {
    position: relative; z-index: 1;
    width: 100%; max-width: 960px;
    display: flex; flex-direction: column;
    align-items: center; flex: 1;
    justify-content: space-between;
}
.guide-view__hero-crumbs {
    align-self: flex-start; margin-bottom: auto;
    font-size: 0.82rem;
}
.guide-view__hero-crumbs ol {
    list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem;
    padding: 0; margin: 0;
}
.guide-view__hero-crumbs li {
    display: flex; align-items: center; gap: 0.25rem;
    color: rgba(255,255,255,0.4);
}
.guide-view__hero-crumbs li:not(:last-child)::after {
    content: '\203A'; margin-left: 0.25rem; color: rgba(255,255,255,0.3);
}
.guide-view__hero-crumbs a {
    color: rgba(255,255,255,0.5); text-decoration: none;
}
.guide-view__hero-crumbs a:hover { color: rgba(255,255,255,0.8); text-decoration: underline; }
.guide-view__hero-crumbs li:last-child a {
    color: rgba(255,255,255,0.7); pointer-events: none;
}
.guide-view__hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 5vw, 3rem); font-weight: 700;
    color: var(--text-primary, #e0ddd5); margin: 0 0 var(--spacing-sm, 0.5rem);
    line-height: 1.1; text-shadow: 0 2px 20px rgba(0,0,0,0.8);
}
.guide-view__hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text-secondary, #aaa); margin: 0;
    font-style: italic; line-height: 1.5;
}
@media (max-width: 768px) {
    .guide-view__hero { min-height: 35vh; padding: 80px 1rem 40px; }
}

/* Sidebar Info Card */
.guide-view__info-card {
    padding: 1rem; border: 1px solid var(--border-color, #2a2a35);
    border-radius: var(--border-radius-lg, 8px); background: var(--bg-panel, #13151a);
    margin-bottom: 1rem;
}
.guide-view__info-like {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 0.75rem; padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color, #2a2a35);
}
.guide-view__info-views {
    font-size: 0.82rem; color: var(--text-dimmed, #7a7870);
}
.guide-view__info-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0.3rem 0; font-size: 0.85rem;
}
.guide-view__info-label {
    color: var(--text-dimmed, #7a7870);
}
.guide-view__info-value {
    color: var(--text-primary, #e0ddd5); text-align: right;
}
.guide-view__info-author {
    color: var(--gold, #c4a24e); text-decoration: none; font-weight: 600;
}
.guide-view__info-author:hover { text-decoration: underline; }
.guide-view__info-badges {
    display: flex; flex-wrap: wrap; gap: 0.35rem;
    margin-top: 0.75rem; padding-top: 0.75rem;
    border-top: 1px solid var(--border-color, #2a2a35);
}
.guide-view__edit-btn {
    display: flex; align-items: center; gap: 0.4rem; justify-content: center;
    width: 100%; margin-top: 0.75rem; padding-top: 0.75rem;
    border-top: 1px solid var(--border-color, #2a2a35);
}

/* Header (fallback without hero) */
.guide-view__header { margin-bottom: 1.5rem; }
.guide-view__title { font-size: 2rem; color: var(--gold, #c4a24e); text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 0.5rem; text-shadow: 0 0 30px rgba(165,9,5,0.2); }
.guide-view__subtitle { font-size: 1.1rem; color: var(--text-dimmed, #7a7870); margin: 0 0 0.75rem; }
.guide-view__meta { display: flex; flex-wrap: wrap; gap: 0.75rem; font-size: 0.85rem; color: var(--text-dimmed); margin-bottom: 0.5rem; align-items: center; }
.guide-view__author { color: var(--gold, #c4a24e); text-decoration: none; font-weight: 600; }
.guide-view__author:hover { text-decoration: underline; }
.guide-view__updated { font-style: italic; }
.guide-view__badges { display: flex; gap: 0.35rem; margin-bottom: 0.75rem; }
.guide-view__badge { padding: 0.2rem 0.6rem; border-radius: 4px; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; text-decoration: none; }
.guide-view__badge--beginner { background: rgba(34,197,94,0.12); color: #4ade80; }
.guide-view__badge--intermediate { background: rgba(245,158,11,0.12); color: #fbbf24; }
.guide-view__badge--advanced { background: rgba(239,68,68,0.12); color: #f87171; }
.guide-view__badge--expansion { background: rgba(139,92,246,0.12); color: #a78bfa; }
.guide-view__badge--voh { background: rgba(34,197,94,0.12); color: #4ade80; }
.guide-view__badge--loh { background: rgba(239,68,68,0.12); color: #f87171; }
.guide-view__badge--lang { background: rgba(59,130,246,0.12); color: #60a5fa; }
.guide-view__badge--lang:hover { background: rgba(59,130,246,0.2); }

/* Like Button */
.guide-view__like { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.4rem 0.85rem; border-radius: var(--border-radius, 6px); border: 1px solid var(--border-color, #2a2a35); background: transparent; color: var(--text-dimmed); cursor: pointer; font-size: 0.9rem; transition: all 0.15s; }
.guide-view__like:hover { border-color: rgba(239,68,68,0.4); color: #ef4444; }
.guide-view__like[data-liked="true"] { color: #ef4444; border-color: rgba(239,68,68,0.4); }

/* Two-column layout */
.guide-view__layout { display: grid; grid-template-columns: 1fr 280px; gap: 1.5rem; align-items: start; margin-top: 1.5rem; }
@media (max-width: 900px) { .guide-view__layout { grid-template-columns: 1fr; } }

/* Content */
.guide-view__content { min-width: 0; }
.guide-view__markdown { font-size: 0.95rem; line-height: 1.75; color: var(--text-primary, #e0ddd5); }
.guide-view__markdown > :first-child { margin-top: 0; }
.guide-view__markdown h2 { font-size: 1.5rem; color: var(--gold); margin: 2rem 0 0.75rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border-color); }
.guide-view__markdown h3 { font-size: 1.2rem; color: var(--text-primary); margin: 1.5rem 0 0.5rem; }
.guide-view__markdown h4 { font-size: 1rem; color: var(--text-secondary, #b0ada5); margin: 1.25rem 0 0.5rem; }
.guide-view__markdown p { margin-bottom: 0.75rem; }
.guide-view__markdown ul, .guide-view__markdown ol { margin: 0.5rem 0 1rem 1.5rem; }
.guide-view__markdown li { margin-bottom: 0.35rem; }
.guide-view__markdown blockquote { border-left: 3px solid var(--gold-dark); padding: 0.5rem 1rem; margin: 1rem 0; color: var(--text-dimmed); background: rgba(196,162,78,0.04); border-radius: 0 6px 6px 0; }
.guide-view__markdown code { background: rgba(255,255,255,0.06); padding: 0.15rem 0.4rem; border-radius: 3px; font-size: 0.88em; }
.guide-view__markdown pre { background: rgba(0,0,0,0.35); padding: 1rem; border-radius: 6px; overflow-x: auto; margin: 1rem 0; }
.guide-view__markdown pre code { background: none; padding: 0; }
.guide-view__markdown img { max-width: 100%; height: auto; border-radius: 6px; margin: 0.75rem 0; cursor: pointer; }
.guide-view__markdown hr { border: none; border-top: 1px solid var(--border-color); margin: 2rem 0; }
.guide-highlight { background: rgba(196, 162, 78, 0.2); color: var(--gold, #c4a24e); padding: 0.1rem 0.3rem; border-radius: 3px; }

/* Callouts */
.guide-callout { padding: 0.85rem 1rem; border-radius: 6px; margin: 1rem 0; font-size: 0.92rem; line-height: 1.6; }
.guide-callout--info { background: rgba(59,130,246,0.08); border: 1px solid rgba(59,130,246,0.2); color: #93c5fd; }
.guide-callout--warning { background: rgba(249,115,22,0.08); border: 1px solid rgba(249,115,22,0.2); color: #fdba74; }
.guide-spoiler { border: 1px solid var(--border-color); border-radius: 6px; margin: 1rem 0; }
.guide-spoiler summary { padding: 0.6rem 0.85rem; cursor: pointer; font-weight: 600; color: var(--text-dimmed); user-select: none; }
.guide-spoiler > div { padding: 0.6rem 0.85rem; }

/* Tags */
.guide-view__tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 1.5rem 0; }
.guide-view__tag { padding: 0.25rem 0.65rem; border-radius: 20px; border: 1px solid var(--border-color, #2a2a35); font-size: 0.8rem; color: var(--text-dimmed); text-decoration: none; transition: all 0.15s; }
.guide-view__tag:hover { border-color: var(--gold-dark); color: var(--gold); }

/* Share */
.guide-view__share { display: flex; gap: 0.4rem; margin-bottom: 2rem; }
.guide-view__share-btn { padding: 0.35rem 0.75rem; border-radius: var(--border-radius, 6px); border: 1px solid var(--border-color, #2a2a35); background: transparent; color: var(--text-dimmed); font-size: 0.82rem; cursor: pointer; text-decoration: none; transition: all 0.15s; }
.guide-view__share-btn:hover { border-color: var(--gold-dark); color: var(--gold); }

/* Comments */
.guide-view__comments { border-top: 1px solid var(--border-color, #2a2a35); padding-top: 1.5rem; }
.guide-view__comments-title { font-size: 1.25rem; color: var(--text-primary); margin-bottom: 1rem; }
.guide-view__comment-form { margin-bottom: 1.5rem; }
.guide-view__comment-form textarea { width: 100%; padding: 0.6rem 0.75rem; border: 1px solid var(--border-color, #2a2a35); border-radius: var(--border-radius, 6px); background: var(--bg-input, #0f1015); color: var(--text-primary); font-family: var(--font-body); font-size: 0.9rem; resize: vertical; margin-bottom: 0.5rem; }
.guide-view__comment-login { color: var(--text-dimmed); font-size: 0.9rem; }
.guide-view__comment-login a { color: var(--gold); }
.guide-comment { padding: 0.85rem 0; border-bottom: 1px solid rgba(42,42,53,0.5); }
.guide-comment__header { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.35rem; }
.guide-comment__avatar { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-dark), var(--gold)); display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700; color: var(--bg-primary); flex-shrink: 0; }
.guide-comment__user { font-weight: 600; color: var(--text-primary); font-size: 0.88rem; }
.guide-comment__date { font-size: 0.78rem; color: var(--text-dimmed); }
.guide-comment__text { font-size: 0.9rem; color: var(--text-primary); line-height: 1.5; }
.guide-comment__reply-btn { background: none; border: none; color: var(--text-dimmed); font-size: 0.78rem; cursor: pointer; padding: 0.2rem 0; margin-top: 0.2rem; }
.guide-comment__reply-btn:hover { color: var(--gold); }
.guide-comment__replies { margin-left: 2rem; border-left: 2px solid var(--border-color, #2a2a35); padding-left: 1rem; }

/* Sidebar */
.guide-view__sidebar { position: sticky; top: 1rem; align-self: start; }
@media (max-width: 900px) { .guide-view__sidebar { position: static; } }
.guide-view__toc { background: var(--bg-panel, #13151a); border: 1px solid var(--border-panel, #252830); border-radius: var(--border-radius-lg, 8px); padding: 1rem; margin-bottom: 1rem; }
.guide-view__toc-title { font-size: 0.9rem; color: var(--gold, #c4a24e); margin: 0 0 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; }
.guide-view__toc-nav { display: flex; flex-direction: column; gap: 0.2rem; }
.guide-view__toc-link { color: var(--text-dimmed, #7a7870); text-decoration: none; font-size: 0.82rem; padding: 0.2rem 0; transition: color 0.15s; }
.guide-view__toc-link:hover { color: var(--text-primary); }
.guide-view__toc-link--3 { padding-left: 1rem; font-size: 0.78rem; }
.guide-view__toc-link--active { color: var(--gold, #c4a24e); font-weight: 600; }
.guide-view__similar { background: var(--bg-panel, #13151a); border: 1px solid var(--border-panel, #252830); border-radius: var(--border-radius-lg, 8px); padding: 1rem; margin-bottom: 1rem; }
.guide-view__similar-title { font-size: 0.9rem; color: var(--gold); margin: 0 0 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; }
.guide-view__similar-card { display: flex; justify-content: space-between; align-items: center; padding: 0.4rem 0; text-decoration: none; font-size: 0.85rem; color: var(--text-dimmed); transition: color 0.15s; }
.guide-view__similar-card:hover { color: var(--text-primary); }
.guide-view__similar-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.guide-view__similar-diff { font-size: 0.72rem; font-weight: 600; flex-shrink: 0; }
.guide-view__similar-diff--beginner { color: #4ade80; }
.guide-view__similar-diff--intermediate { color: #fbbf24; }
.guide-view__similar-diff--advanced { color: #f87171; }
.guide-view__author-card { background: var(--bg-panel, #13151a); border: 1px solid var(--border-panel, #252830); border-radius: var(--border-radius-lg, 8px); padding: 1rem; display: flex; flex-direction: column; gap: 0.75rem; }
.guide-view__author-header { display: flex; gap: 0.75rem; align-items: center; }
.guide-view__author-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-dark), var(--gold)); display: flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 700; color: var(--bg-primary); flex-shrink: 0; overflow: hidden; }
.guide-view__author-avatar:has(img) { background: none; }
.guide-view__author-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.guide-view__author-name { color: var(--text-primary); text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.guide-view__author-name:hover { color: var(--gold); }
.guide-view__author-count { font-size: 0.78rem; color: var(--text-dimmed); display: block; }
.guide-view__author-bio { font-size: 0.82rem; color: var(--text-dimmed); margin-top: 0.35rem; line-height: 1.4; }

/* Author's other guides */
.guide-view__author-guides-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-dimmed, #7a7870);
}
.guide-view__author-guides {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.guide-view__author-guide-card {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 0.5rem;
    background: var(--bg-panel, #13151a);
    border: 1px solid var(--border-panel, #252830);
    border-radius: 6px;
    text-decoration: none;
    transition: border-color 0.15s, background 0.15s;
}
.guide-view__author-guide-card:hover {
    border-color: var(--gold-dark, #a37e2c);
    background: rgba(196, 162, 78, 0.04);
}
.guide-view__author-guide-thumb {
    width: 48px;
    height: 28px;
    object-fit: cover;
    border-radius: 3px;
    flex-shrink: 0;
    background: var(--bg-secondary, #1a1b22);
}
.guide-view__author-guide-thumb--empty {
    opacity: 0.3;
}
.guide-view__author-guide-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.guide-view__author-guide-title {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-primary, #e0ddd5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.guide-view__author-guide-diff {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.guide-view__author-guide-diff--beginner { color: #4ade80; }
.guide-view__author-guide-diff--intermediate { color: #fbbf24; }
.guide-view__author-guide-diff--advanced { color: #f87171; }
