/* Custom styles — loaded after Bootstrap */

.navbar {
    font-size: 1.125rem; /* 18px at default root font size */
    background-color: #161619 !important;
}

.navbar .btn {
    font-size: inherit;
}

.navbar-logo {
    height: 32px;
    width: auto;
}

.score-value {
    margin-left: 0.25rem;
}

.difficulty {
    font-weight: 600;
    letter-spacing: 0.05em;
    font-size: 0.8em;
    text-transform: uppercase;
}

.difficulty-easy   { color: #9e9e9e; }
.difficulty-normal { color: #f5f5f5; }
.difficulty-hard   { color: #ffa726; }
.difficulty-elite  { color: #ef5350; }

/* ── Guide ────────────────────────────────────────────────────────────────── */

.guide-layout {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.guide-toc {
    flex: 0 0 200px;
    position: sticky;
    top: 1.5rem;
    max-height: calc(100vh - 3rem);
    overflow-y: auto;
}

.guide-toc-heading {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--bs-secondary-color);
    margin-bottom: 0.5rem;
}

.guide-toc a {
    display: block;
    padding: 0.2rem 0;
    color: var(--bs-secondary-color);
    text-decoration: none;
    font-size: 0.9rem;
}

.guide-toc a:hover {
    color: var(--bs-body-color);
}

.guide-content {
    flex: 1 1 0;
    min-width: 0;
}

.guide-section-title {
    margin-bottom: 0.75rem;
}

@media (max-width: 767px) {
    .guide-layout {
        flex-direction: column;
    }

    .guide-toc {
        position: static;
        flex: none;
        width: 100%;
        max-height: none;
        border-bottom: 1px solid var(--bs-border-color);
        padding-bottom: 1rem;
        margin-bottom: 0.5rem;
    }
}

/* Example: override a Bootstrap CSS variable
[data-bs-theme="dark"] {
    --bs-body-bg: #0d0d0d;
    --bs-body-color: #e0e0e0;
}
*/