/* Avenir Next — self-hosted */
@font-face {
    font-family: "Avenir Next";
    font-style: normal;
    font-weight: 100;
    font-display: swap;
    src: url('../fonts/Avenir Next Thin.woff2') format('woff2');
}

@font-face {
    font-family: "Avenir Next";
    font-style: italic;
    font-weight: 100;
    font-display: swap;
    src: url('../fonts/Avenir Next Thin Italic.woff2') format('woff2');
}

@font-face {
    font-family: "Avenir Next";
    font-style: normal;
    font-weight: 200;
    font-display: swap;
    src: url('../fonts/Avenir Next Ultra Light.woff2') format('woff2');
}

@font-face {
    font-family: "Avenir Next";
    font-style: italic;
    font-weight: 200;
    font-display: swap;
    src: url('../fonts/Avenir Next Ultra Light Italic.woff2') format('woff2');
}

@font-face {
    font-family: "Avenir Next";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/Avenir Next Light.woff2') format('woff2');
}

@font-face {
    font-family: "Avenir Next";
    font-style: italic;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/Avenir Next Light Italic.woff2') format('woff2');
}

@font-face {
    font-family: "Avenir Next";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/Avenir Next Regular.woff2') format('woff2');
}

@font-face {
    font-family: "Avenir Next";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/Avenir Next Italic.woff2') format('woff2');
}

@font-face {
    font-family: "Avenir Next";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/Avenir Next Medium.woff2') format('woff2');
}

@font-face {
    font-family: "Avenir Next";
    font-style: italic;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/Avenir Next Medium Italic.woff2') format('woff2');
}

@font-face {
    font-family: "Avenir Next";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/Avenir Next Demi.woff2') format('woff2');
}

@font-face {
    font-family: "Avenir Next";
    font-style: italic;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/Avenir Next Demi Italic.woff2') format('woff2');
}

@font-face {
    font-family: "Avenir Next";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/Avenir Next Bold.woff2') format('woff2');
}

@font-face {
    font-family: "Avenir Next";
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/Avenir Next Bold Italic.woff2') format('woff2');
}

@font-face {
    font-family: "Avenir Next";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('../fonts/Avenir Next Heavy.woff2') format('woff2');
}

@font-face {
    font-family: "Avenir Next";
    font-style: italic;
    font-weight: 800;
    font-display: swap;
    src: url('../fonts/Avenir Next Heavy Italic.woff2') format('woff2');
}

html,
body {
    height: 100%;
}

body {
    background-color: #0b110e;
    color: #ece8dd;
    line-height: 1.65;
    background-image: radial-gradient(ellipse 80% 40% at 50% -10%, color-mix(in oklab, oklch(80% .15 75) 7%, transparent), transparent 70%);
    font-family: "Avenir Next", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

::selection {
    background-color: rgba(245, 174, 57, .35);
}

.main-container {
    padding-left: 280px;
    min-height: 100%;
}

/* ---------- Sidebar shell ---------- */
.aside {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    width: 280px;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background-color: #0f1713;
    border-right: 1px solid rgba(236, 232, 221, 0.08);
}

/* ---------- Logo — pinned to the top, never scrolls ---------- */
.aside-brand {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(236, 232, 221, 0.08);
}

.aside-brand-link {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: #ece8dd;
    text-decoration: none;
}

.aside-brand-mark {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background-color: rgba(245, 174, 57, 1);
    color: #0b110e;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.aside-brand-text {
    display: flex;
    flex-direction: column;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.15;
}

.aside-brand-text small {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(236, 232, 221, 0.4);
}

/* ---------- Navigation — the only scrollable region ---------- */
.aside-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 1rem 1rem 2rem;
}

.aside-body::-webkit-scrollbar {
    width: 8px;
}

.aside-body::-webkit-scrollbar-track {
    background: transparent;
}

.aside-body::-webkit-scrollbar-thumb {
    background-color: rgba(236, 232, 221, 0.14);
    border-radius: 999px;
}

.aside-body::-webkit-scrollbar-thumb:hover {
    background-color: rgba(236, 232, 221, 0.26);
}

.aside-nav {
    display: flex;
    flex-direction: column;
}

.aside-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.aside-nav-link {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 0.75rem;
    border-radius: 0.5rem;
    color: #c0beb3;
    font-size: 0.9rem;
    line-height: 1.4;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
    position: relative;
}

.aside-nav-icon {
    flex: 0 0 auto;
    width: 1rem;
    height: 1rem;
    opacity: 0.7;
    transition: opacity 0.15s ease;
}

.aside-nav-link:hover .aside-nav-icon,
.aside-nav-link.active .aside-nav-icon {
    opacity: 1;
}

.aside-nav-link:hover,
.aside-nav-link.active {
    background-color: rgba(236, 232, 221, 0.06);
    color: #f2eee3;
}

.aside-nav-link.active::after {
    content: "";
    width: 2px;
    height: 20px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: #f5ae39;
}

.aside-nav-heading {
    margin: 1.25rem 0 0.375rem;
    padding: 0 0.75rem;
    color: rgba(236, 232, 221, 0.4);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15rem;
    text-transform: uppercase;
}

.aside-nav>.aside-nav-heading:first-child {
    margin-top: 0;
}

.home-hero {
    background-image: radial-gradient(ellipse at 85% 0%, color-mix(in oklab, oklch(80% .15 75) 22%, transparent), transparent 60%), linear-gradient(160deg, oklch(23% .02 150), oklch(19% .014 160));
    box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, oklab(0.8 0.0388229 0.144889 / 0.45) 0px 20px 50px -25px;
    --bs-border-color: #28302b;
}

.eyebrow {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgb(245, 174, 57, .1);
    --bs-border-color: rgb(245, 174, 57, .3);
    color: rgb(245, 174, 57, 1);
    font-size: 0.75rem;
    letter-spacing: 0.1rem;
    transform: scale(0.9);
    transform-origin: left center;
}

.home-hero h1 {
    font-size: 3.5rem;
}

.home-hero h1 span {
    color: rgb(245, 174, 57, 1);
}

.hero-tagline {
    font-style: italic;
    font-size: 1.25rem;
    font-weight: 600;
    color: rgba(236, 232, 221, 0.8);
}

.hero-description {
    color: #969a8d;
}

.hero-actions {
    display: flex;
    gap: 0.5rem;
}

.hero-actions .btn {
    --bs-btn-font-size: 0.875rem;
    --bs-btn-border-radius: 0.75rem;
    --bs-btn-padding-x: 1rem;
    --bs-btn-padding-y: 0.5rem;
    transition-property: background-color, border-color, color, box-shadow, transform;
    transition-duration: 180ms;
    transition-timing-function: ease;
}

.hero-actions .btn:hover {
    transform: translateY(-2px);
}

.hero-actions .btn:focus-visible {
    outline: 2px solid #f5ae39;
    outline-offset: 3px;
}

.hero-actions .btn-accent {
    background: #f5ae39;
    --bs-btn-color: #1f1406;
    --bs-btn-hover-color: #1f1406;
    --bs-btn-focus-color: #1f1406;
}

.hero-actions .btn-accent:hover {
    background: #ffc45d;
    box-shadow: 0 8px 18px rgba(245, 174, 57, 0.2);
}

.hero-actions .btn-accent .homepage-arrow {
    width: 1rem;
    height: 1rem;
    transition-property: transform;
    transition-duration: 180ms;
    transition-timing-function: ease;
}

.hero-actions .btn-accent:hover .homepage-arrow {
    transform: translateX(3px);
}

.hero-actions .btn-more {
    background: #0b110e;
    --bs-btn-color: #ece8dd;
    --bs-btn-border-color: #28302b;
    --bs-btn-hover-border-color: #28302b;
}

.hero-actions .btn-more:hover {
    background: #18221c;
    border-color: rgba(245, 174, 57, 0.5);
    color: #f5ae39;
}

.hero-stat-label {
    display: block;
    color: #969a8d;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    transform: scale(0.9);
    transform-origin: left center;
}

.hero-stat-value {
    display: block;
    font-size: 1.25rem;
}

.section-title small {
    color: #969a8d;
}

.section-title-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.875rem;
    color: rgb(245 174 57);
}

.section-title-link:hover {
    color: #ffd98e;
}

.section-title-link .homepage-arrow {
    transition-property: transform;
    transition-duration: 160ms;
    transition-timing-function: ease;
}

.section-title-link:hover .homepage-arrow {
    transform: translateX(4px);
}

.quick-card {
    display: block;
    height: 100%;
    background: #131a16;
    box-shadow: inset 0 1px 0 0 color-mix(in oklab, oklch(93% .015 90) 6%, transparent), 0 1px 2px 0 oklch(0% 0 0/.3);
    --bs-border-color: #28302b;
    transition-property: transform, box-shadow, border-color;
    transition-duration: 180ms;
    transition-timing-function: ease;
}

.quick-card:hover {
    --bs-border-color: rgba(245, 174, 57, .5);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
    transform: translateY(-4px);
}

.quick-card:focus-visible {
    outline: 2px solid #f5ae39;
    outline-offset: 3px;
}

.quick-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(245, 174, 57, 1);
    background: rgba(245, 174, 57, .1);
    border: 1px solid rgba(245, 174, 57, .2);
    border-radius: 0.5rem;
    padding: 0.75rem;
    transition-property: background-color, border-color, color, transform;
    transition-duration: 180ms;
    transition-timing-function: ease;
}

.quick-card-icon svg {
    width: 1rem;
    height: 1rem;
}

.quick-card h3 {
    color: #ece8dd;
}

.quick-card p {
    font-size: 0.875rem;
    color: #969a8d;
}

.quick-card-more {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.875rem;
    color: rgb(245 174 57);
}

.quick-card-more .homepage-arrow {
    width: 0.75rem;
    height: 0.75rem;
    transition-property: transform;
    transition-duration: 180ms;
    transition-timing-function: ease;
}

.quick-card:hover .quick-card-icon {
    background: rgba(245, 174, 57, 1);
    border-color: rgba(245, 174, 57, 1);
    color: #1f1406;
    transform: scale(1.05);
}

.quick-card:hover .quick-card-more .homepage-arrow {
    transform: translateX(4px);
}

.codes-box {
    background: #131a16;
    box-shadow: inset 0 1px 0 0 color-mix(in oklab, oklch(93% .015 90) 6%, transparent), 0 1px 2px 0 oklch(0% 0 0/.3);
    border: 1px solid rgba(245, 174, 57, .3);
    --bs-border-color: #28302b;
    transition-property: box-shadow, border-color;
    transition-duration: 180ms;
    transition-timing-function: ease;
}

.codes-box:hover {
    border-color: rgba(245, 174, 57, .55);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.codes-box .table tbody tr {
    transition-property: background-color;
    transition-duration: 160ms;
    transition-timing-function: ease;
}

.codes-box .table tbody tr>* {
    transition-property: background-color, color;
    transition-duration: 160ms;
    transition-timing-function: ease;
}

.codes-box .table tbody tr:hover>* {
    background-color: rgba(245, 174, 57, 0.06);
    color: #f2eee3;
}

.badge-current {
    --bs-badge-font-weight: 500;
    background: #1a211d;
    color: #969a8d;
}

.codes-box .table {
    --bs-table-bg: transparent;
    --bs-table-border-color: #28302b;
    --bs-table-color: rgba(236, 232, 221, 0.85);
    --bs-table-striped-color: rgba(236, 232, 221, 0.85);
    margin: 0;
}

.codes-box .table>:not(caption)>*>* {
    padding: .75rem 1.5rem;
}

.copy-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    font: inherit;
    font-size: 0.875rem;
    color: rgb(245 174 57);
    cursor: pointer;
    background: rgba(245, 174, 57, .1);
    border: 2px dotted rgba(245, 174, 57, .5);
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-family: inherit;
    line-height: inherit;
}

.homepage-copy-code {
    transition-property: background-color, border-color, color, transform;
    transition-duration: 160ms;
    transition-timing-function: ease;
}

.homepage-copy-icon {
    width: 1rem;
    height: 1rem;
    opacity: 0.6;
    transition-property: opacity, transform;
    transition-duration: 160ms;
    transition-timing-function: ease;
}

.homepage-copy-code:hover {
    background-color: rgba(245, 174, 57, .2);
    border-color: rgba(245, 174, 57, .8);
    color: #ffd98e;
    transform: translateY(-1px);
}

.homepage-copy-code:hover .homepage-copy-icon {
    opacity: 1;
    transform: scale(1.08);
}

.homepage-copy-code:focus-visible {
    outline: 2px solid #f5ae39;
    outline-offset: 3px;
}

.badge-confirmed {
    --bs-badge-font-weight: 500;
    background: rgb(67, 192, 122, .15);
    color: #43c07a;
}

.badge-unconfirmed {
    --bs-badge-font-weight: 500;
    background: rgb(240, 187, 59, .15);
    color: #f5ae39;
}

.update-list {
    border-left: 1px solid #28302b;
    padding-left: 1.5rem;
}

.update-list li {
    position: relative;
    background: #131a16;
    box-shadow: inset 0 1px 0 0 color-mix(in oklab, oklch(93% .015 90) 6%, transparent), 0 1px 2px 0 oklch(0% 0 0/.3);
    --bs-border-color: #28302b;
}

.update-list-item {
    transition-property: background-color, border-color, box-shadow, transform;
    transition-duration: 180ms;
    transition-timing-function: ease;
}

.update-list-item:hover {
    background: #18221c;
    border-color: rgba(245, 174, 57, 0.45);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
    transform: translateX(4px);
}

.update-list-item:hover .update-icon {
    background: #f5ae39;
    box-shadow: 0 0 0 4px rgba(245, 174, 57, 0.12);
}

.update-list .update-icon {
    width: 0.75rem;
    height: 0.75rem;
    border: 2px solid #f5ae39;
    border-radius: 100%;
    position: absolute;
    left: -1.9rem;
    top: 0.5rem;
}

.update-list .update-date {
    display: block;
    color: #969a8d;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    transform: scale(0.9);
    transform-origin: left center;
}

.update-list .update-title {
    font-size: 1rem;
    font-weight: 600;
}

.update-list small {
    font-size: 0.75rem;
    color: #969a8d;
}

.essentials-card {
    background: #131a16;
    box-shadow: inset 0 1px 0 0 color-mix(in oklab, oklch(93% .015 90) 6%, transparent), 0 1px 2px 0 oklch(0% 0 0/.3);
    --bs-border-color: #28302b;
}

.homepage-panel {
    transition-property: background-color, border-color, box-shadow, transform;
    transition-duration: 180ms;
    transition-timing-function: ease;
}

.homepage-panel:hover {
    background: #18221c;
    border-color: rgba(245, 174, 57, 0.45);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    transform: translateY(-3px);
}

.homepage-panel:focus-within {
    border-color: rgba(245, 174, 57, 0.55);
    box-shadow: 0 0 0 3px rgba(245, 174, 57, 0.1);
}

.essentials-title svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #f5ae39;
}

.essentials-desc {
    color: #969a8d;
    font-size: 0.875rem;
}

.essentials-inner {
    background: rgba(26, 33, 29, 0.5);
    border: 1px solid rgba(40, 48, 43, 0.6);
}

.essentials-inner strong {
    display: block;
    color: #f5ae39;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    transform: scale(0.9);
    transform-origin: left center;

}

.icon-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.essentials-inner ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    padding: 0.25rem 0;
    line-height: 1.75;
}

.essentials-check {
    flex: 0 0 auto;
    width: 1rem;
    height: 1rem;
    margin-top: 0.25rem;
    color: #43c07a;
}

.homepage-arrow {
    display: inline-block;
    width: 0.75rem;
    height: 0.75rem;
    transition-property: transform;
    transition-duration: 160ms;
    transition-timing-function: ease;
}

.essentials-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.875rem;
    color: rgb(245 174 57);
}

.essentials-link:hover {
    color: #ffd98e;
}

.essentials-link .homepage-arrow {
    transition-property: transform;
    transition-duration: 160ms;
    transition-timing-function: ease;
}

.essentials-link:hover .homepage-arrow {
    transform: translateX(4px);
}

.tool-card {
    background: #131a16;
    box-shadow: inset 0 1px 0 0 color-mix(in oklab, oklch(93% .015 90) 6%, transparent), 0 1px 2px 0 oklch(0% 0 0/.3);
    --bs-border-color: #28302b;
}

.tool-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(245, 174, 57, 1);
    background: rgba(245, 174, 57, .1);
    border: 1px solid rgba(245, 174, 57, .2);
    border-radius: 0.5rem;
    padding: 0.5rem;
}

.tool-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.tool-card h3 {
    color: #ece8dd;
}

.tool-desc {
    color: #969a8d;
    font-size: 0.875rem;
}

.tool-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.875rem;
    color: rgb(245 174 57);
}

.tool-link:hover {
    color: #ffd98e;
}

.tool-link .homepage-arrow {
    transition-property: transform;
    transition-duration: 160ms;
    transition-timing-function: ease;
}

.tool-link:hover .homepage-arrow {
    transform: translateX(4px);
}

.footer {
    --bs-border-color: #28302b;
}

.footer-desc {
    color: #969a8d;
    font-size: 0.75rem;
}

.footer-updated p {
    font-size: 0.875rem;
    color: #969a8d;
}

.footer-list a {
    text-decoration: none;
    color: #969a8d;
}

.faq-accordion {
    --bs-accordion-bg: #131a16;
    --bs-accordion-color: #b4b7aa;
    --bs-accordion-border-color: #28302b;
    --bs-accordion-btn-bg: #131a16;
    --bs-accordion-btn-color: #ece8dd;
    --bs-accordion-active-bg: #1b241d;
    --bs-accordion-active-color: #f5ae39;
    --bs-accordion-btn-focus-box-shadow: 0 0 0 0.2rem rgba(245, 174, 57, 0.2);
}

.faq-accordion .accordion-button::after {
    filter: brightness(0) invert(1);
}

.faq-accordion a {
    color: #f5ae39;
}

.header {
    position: sticky;
    top: 0;
    z-index: 900;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-height: 4.5rem;
    padding: 0.75rem 2rem;
    background: rgba(11, 17, 14, 0.92);
    border-bottom: 1px solid rgba(236, 232, 221, 0.08);
    backdrop-filter: blur(16px);
}

.header-menu {
    display: none;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0.6rem;
    border: 1px solid #28302b;
    border-radius: 0.625rem;
    background: #131a16;
    color: #ece8dd;
}

.header-menu span {
    display: block;
    width: 1.1rem;
    height: 2px;
    margin: 2px 0;
    border-radius: 999px;
    background: currentColor;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: 0.5rem;
}

.header-nav a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.65rem;
    border-radius: 0.5rem;
    color: #969a8d;
    font-size: 0.82rem;
    text-decoration: none;
    white-space: nowrap;
}

.header-nav-icon {
    flex: 0 0 auto;
    width: 0.9rem;
    height: 0.9rem;
    opacity: 0.75;
}

.header-nav a:hover .header-nav-icon {
    opacity: 1;
}

.header-nav a:hover {
    background: rgba(236, 232, 221, 0.06);
    color: #ece8dd;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    min-width: 0;
    margin-left: auto;
}

.site-search {
    display: flex;
    align-items: center;
    width: min(18rem, 25vw);
    min-width: 9rem;
    height: 2.4rem;
    padding: 0 0.625rem;
    border: 1px solid #28302b;
    border-radius: 0.625rem;
    background: #131a16;
    color: #969a8d;
}

.site-search:focus-within {
    border-color: rgba(245, 174, 57, 0.6);
    box-shadow: 0 0 0 3px rgba(245, 174, 57, 0.1);
}

.site-search svg {
    flex: 0 0 auto;
    width: 1rem;
    height: 1rem;
}

.site-search input {
    width: 100%;
    min-width: 0;
    padding: 0 0.5rem;
    border: 0;
    outline: 0;
    background: transparent;
    color: #ece8dd;
    font: inherit;
    font-size: 0.8rem;
}

.site-search input::placeholder {
    color: #70776d;
}

.site-search kbd {
    padding: 0.1rem 0.35rem;
    border: 1px solid #28302b;
    border-radius: 0.25rem;
    color: #70776d;
    font-size: 0.7rem;
    line-height: 1.2;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 0.8rem;
    border: 1px solid rgba(245, 174, 57, 0.35);
    border-radius: 0.625rem;
    color: #f5ae39;
    font-size: 0.8rem;
    text-decoration: none;
    white-space: nowrap;
}

.header-cta:hover {
    background: rgba(245, 174, 57, 0.1);
    border-color: rgba(245, 174, 57, 0.65);
    color: #f5ae39;
}

.header-backdrop {
    display: none;
}

@media (max-width: 1199px) {
    .header-nav {
        display: none;
    }

    .site-search {
        width: min(18rem, 35vw);
    }
}

@media (max-width: 767px) {
    .main-container {
        padding-left: 0;
    }

    .header {
        gap: 0.75rem;
        min-height: 4rem;
        padding: 0.7rem 1rem;
    }

    .header-menu {
        display: inline-flex;
        flex-direction: column;
    }



    .header-actions {
        gap: 0.5rem;
    }

    .site-search {
        width: 2.5rem;
        min-width: 2.5rem;
        padding: 0 0.7rem;
        border: 0;
        background: transparent;
    }

    .site-search input,
    .site-search kbd {
        display: none;
    }

    .site-search svg {
        width: 1.15rem;
        height: 1.15rem;
    }

    .header-cta {
        padding: 0.5rem;
        border-color: transparent;
        font-size: 0;
    }

    .header-cta span {
        font-size: 1rem;
    }

    .aside {
        transform: translateX(-100%);
        transition: transform 0.2s ease;
        box-shadow: 1rem 0 2.5rem rgba(0, 0, 0, 0.35);
    }

    body.sidebar-open {
        overflow: hidden;
    }

    body.sidebar-open .aside {
        transform: translateX(0);
    }

    .header-backdrop {
        position: fixed;
        inset: 0;
        z-index: 950;
        border: 0;
        background: rgba(0, 0, 0, 0.55);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease;
    }

    body.sidebar-open .header-backdrop {
        display: block;
        opacity: 1;
        pointer-events: auto;
    }
}

.bestiary-field-alert {
    background: #0b110e;
    color: #b4b7aa;
}

.bestiary-field-alert span {
    display: block;
    color: #f5ae39;
    font-size: .75rem;
    letter-spacing: .1em;
}

.bestiary-field-alert strong {
    display: block;
    color: #ece8dd;
    margin: .75rem 0;
}

.bestiary-field-table-grid {
    --bs-table-bg: #131a16;
    --bs-table-color: #b4b7aa;
    --bs-table-border-color: #28302b;
    --bs-table-striped-bg: #19211a;
    --bs-table-striped-color: #b4b7aa;
    min-width: 42rem;
}

.bestiary-field-threat {
    font-size: .75rem;
    white-space: nowrap;
}

.bestiary-field-threat.moderate {
    color: #97ba95;
}

.bestiary-field-threat.high {
    color: #f5ae39;
}

.bestiary-field-threat.extreme {
    color: #f29e89;
}

.bestiary-field-threat.variable {
    color: #a7b2b6;
}

.bestiary-field-rule {
    background: #131a16;
    color: #b4b7aa;
}

.bestiary-field-rule strong {
    color: #f5ae39;
    letter-spacing: .08em;
}

.bestiary-field-discovery {
    background: #17221b;
    color: #b4b7aa;
}

.bestiary-field-discovery h2 {
    color: #ece8dd;
}

.bestiary-field-summary {
    background: #131a16;
    color: #b4b7aa;
}

.bestiary-field-summary h2 {
    color: #ece8dd;
}

@media (max-width: 575.98px) {}

.loadout-lab-questions>div>div {
    background: #131a16;
    color: #b4b7aa;
}

.loadout-lab-questions strong {
    color: #f5ae39;
    font-size: 1.5rem;
}

.loadout-lab-profile {
    background: #131a16;
    color: #b4b7aa;
}

.loadout-lab-profile span {
    color: #f5ae39;
    font-size: .72rem;
    letter-spacing: .12em;
}

.loadout-lab-deep {
    --bs-border-color: #38545c;
}

.loadout-lab-dig {
    --bs-border-color: #544c32;
}

.loadout-lab-medic {
    --bs-border-color: #405342;
}

.loadout-lab-ranking {
    background: #17221b;
    color: #b4b7aa;
}

.loadout-lab-ranking-list>div {
    display: flex;
    gap: 1rem;
    padding: .75rem 0;
    border-bottom: 1px solid #28302b;
}

.loadout-lab-ranking-list b {
    color: #f5ae39;
}

.loadout-lab-adapt {
    background: #211a15;
    color: #b4b7aa;
}

.loadout-lab-summary {
    background: #131a16;
    color: #b4b7aa;
}

.challenge-lab-mod {
    background: #131a16;
    color: #b4b7aa;
}

.challenge-lab-mod>span {
    color: #f5ae39;
    font-size: .72rem;
    letter-spacing: .12em;
}

.challenge-lab-mod.skinwalkers {
    --bs-border-color: #694537;
}

.challenge-lab-mod.glassbones {
    --bs-border-color: #38545c;
}

.challenge-lab-purpose {
    background: #17221b;
    color: #b4b7aa;
}

.challenge-lab-purpose strong {
    color: #f5ae39;
}

.challenge-lab-footer {
    background: #131a16;
    color: #b4b7aa;
}

.page-surface {
    background-color: #131a16;
    color: #b4b7aa;
    box-shadow: inset 0 1px 0 rgba(236, 232, 221, 0.04);
    --bs-border-color: #28302b;
}

.page-surface-alt {
    background-color: #17221b;
    color: #b4b7aa;
    --bs-border-color: #28302b;
}

.page-surface-warning {
    background-color: #211a15;
    color: #b4b7aa;
    --bs-border-color: #694537;
}

/* —— Core guides emphasis in sidebar —— */
.aside-nav-core {
    margin-bottom: 1.25rem;
    padding: 0.35rem 0 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.aside-nav-core .aside-nav-link {
    font-weight: 600;
}

.aside-nav-core-link.active {
    font-weight: 700;
}

.aside-nav-heading {
    margin-top: 1rem;
}

/* ---------- Shared content primitives ---------- */
.content-page {
    --bs-border-color: #28302b;
}

.content-page section[id] {
    scroll-margin-top: 6rem;
}

.content-hero h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    overflow-wrap: anywhere;
}

.content-table {
    --bs-table-bg: transparent;
    --bs-table-color: #b4b7aa;
    --bs-table-border-color: #28302b;
    --bs-table-striped-bg: rgba(236, 232, 221, 0.025);
    --bs-table-striped-color: #b4b7aa;
}

.content-table th {
    color: #ece8dd;
}

.page-surface h2,
.page-surface h3,
.page-surface strong,
.page-surface-alt h2,
.page-surface-alt h3,
.page-surface-alt strong,
.page-surface-warning h2,
.page-surface-warning h3,
.page-surface-warning strong {
    color: #ece8dd;
}

.page-surface a,
.page-surface-alt a,
.page-surface-warning a {
    color: #f5ae39;
    text-underline-offset: 0.2em;
}

.page-surface a:hover,
.page-surface-alt a:hover,
.page-surface-warning a:hover {
    color: #ffd98e;
}