:root {
    --gf-content: 1480px;
    --gf-reading: 1120px;
    --gf-radius: 14px;
    --gf-radius-sm: 9px;
    --gf-font: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    --gf-shadow: 0 28px 90px rgba(0, 0, 0, .32);
    --gf-transition: 180ms ease;
}

[data-gf-theme="midnight"] {
    --gf-bg-soft: color-mix(in srgb, var(--gf-bg) 82%, white 18%);
    --gf-panel: color-mix(in srgb, var(--gf-surface) 94%, black 6%);
    --gf-panel-soft: color-mix(in srgb, var(--gf-surface-raised) 84%, transparent);
    --gf-header: color-mix(in srgb, var(--gf-bg) 89%, transparent);
    --gf-line: color-mix(in srgb, var(--gf-accent) 24%, transparent);
    --gf-line-strong: color-mix(in srgb, var(--gf-accent) 54%, transparent);
    --gf-button-ink: #17130d;
    --gf-scroll-bg: #1b252a;
    --gf-scroll-bg-raised: #2a373d;
    --gf-scroll-ink: #f0ece4;
    --gf-scroll-muted: #aeb8b8;
    --gf-scroll-line: color-mix(in srgb, var(--gf-accent) 36%, transparent);
    --gf-scroll-edge: #b99b67;
    --gf-scroll-edge-dark: #735a36;
    --gf-scroll-shadow: 0 32px 96px rgba(0, 0, 0, .42);
    --gf-input-bg: #0d1418;
    --gf-input-text: var(--gf-text);
    --gf-input-border: color-mix(in srgb, var(--gf-accent) 26%, transparent);
    --gf-hero-link-bg: rgba(8, 13, 16, .78);
    --gf-footer-bg: #05090c;
    --gf-footer-text: #d2d7d4;
    --gf-footer-muted: #aeb7b5;
    --gf-footer-heading: #ead39f;
    --gf-footer-line: rgba(234, 211, 159, .18);
    color-scheme: dark;
}

[data-gf-theme="tan"] {
    --gf-bg-soft: color-mix(in srgb, var(--gf-bg) 78%, white 22%);
    --gf-panel: color-mix(in srgb, var(--gf-surface) 93%, white 7%);
    --gf-panel-soft: color-mix(in srgb, var(--gf-surface-raised) 92%, transparent);
    --gf-header: color-mix(in srgb, var(--gf-surface-raised) 90%, transparent);
    --gf-line: color-mix(in srgb, var(--gf-accent) 23%, transparent);
    --gf-line-strong: color-mix(in srgb, var(--gf-accent) 48%, transparent);
    --gf-button-ink: #21180f;
    --gf-scroll-bg: #e7d2a5;
    --gf-scroll-bg-raised: #f0dfba;
    --gf-scroll-ink: #302719;
    --gf-scroll-muted: #6b5d49;
    --gf-scroll-line: rgba(91, 67, 38, .19);
    --gf-scroll-edge: #a97b45;
    --gf-scroll-edge-dark: #704922;
    --gf-scroll-shadow: 0 30px 75px rgba(70, 49, 25, .24);
    --gf-input-bg: rgba(255, 248, 229, .68);
    --gf-input-text: #2d291f;
    --gf-input-border: rgba(80, 57, 31, .24);
    --gf-hero-link-bg: rgba(231, 210, 165, .88);
    --gf-footer-bg: #29251e;
    --gf-footer-text: #f1e7d3;
    --gf-footer-muted: #cbbda5;
    --gf-footer-heading: #f0d79f;
    --gf-footer-line: rgba(240, 215, 159, .22);
    color-scheme: light;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--gf-bg); scroll-behavior: smooth; }
body.guardfall-site {
    min-height: 100vh;
    margin: 0;
    color: var(--gf-text);
    background:
        radial-gradient(circle at 50% -10rem, color-mix(in srgb, var(--gf-accent) 12%, transparent), transparent 54rem),
        linear-gradient(180deg, var(--gf-bg-soft), var(--gf-bg));
    font-family: var(--gf-font);
    font-size: .94rem;
    -webkit-font-smoothing: antialiased;
    transition: color var(--gf-transition), background-color var(--gf-transition);
}
body.guardfall-site::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .22;
    background-image:
        linear-gradient(color-mix(in srgb, var(--gf-accent) 5%, transparent) 1px, transparent 1px),
        linear-gradient(90deg, color-mix(in srgb, var(--gf-accent) 5%, transparent) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, black, transparent 82%);
}

::selection { color: var(--gf-button-ink); background: var(--gf-accent-bright); }
* { scrollbar-width: thin; scrollbar-color: var(--gf-accent) var(--gf-bg-soft); }
*::-webkit-scrollbar { width: 11px; height: 11px; }
*::-webkit-scrollbar-track { background: var(--gf-bg-soft); }
*::-webkit-scrollbar-thumb { border: 3px solid var(--gf-bg-soft); border-radius: 999px; background: linear-gradient(180deg, var(--gf-accent-bright), var(--gf-accent)); }
*::-webkit-scrollbar-thumb:hover { background: var(--gf-accent-bright); }

h1, h2, h3, h4, h5, h6, p { overflow-wrap: anywhere; }
h1, h2, h3, h4, h5, h6 { color: var(--gf-text); font-family: var(--gf-font); font-weight: 700; letter-spacing: -.035em; }
a { color: var(--gf-accent); text-underline-offset: .18em; transition: color var(--gf-transition), opacity var(--gf-transition); }
a:hover { color: var(--gf-accent-bright); }
img { max-width: 100%; }

.gf-skip-link { position: fixed; left: 1rem; top: -6rem; z-index: 9999; padding: .75rem 1rem; color: #000; background: #fff; border-radius: 6px; }
.gf-skip-link:focus { top: 1rem; }
.gf-outer-shell { min-height: 100vh; overflow: clip; }
.gf-main { min-height: 58vh; }
.gf-app-main { padding: clamp(2rem, 5vw, 5.5rem) 24px clamp(4rem, 8vw, 8rem); }
.gf-page-wrap { width: min(var(--gf-content), 100%); margin: 0 auto; }

/* Header */
.gf-announcement {
    min-height: 34px;
    display: grid;
    place-items: center;
    padding: .45rem 1.25rem;
    color: var(--gf-button-ink);
    background: linear-gradient(90deg, color-mix(in srgb, var(--gf-accent) 78%, black), var(--gf-accent-bright) 42%, var(--gf-accent) 68%, color-mix(in srgb, var(--gf-accent) 78%, black));
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-align: center;
    text-transform: uppercase;
}
.gf-header {
    position: relative;
    z-index: 100;
    border-bottom: 1px solid var(--gf-line);
    background: var(--gf-header);
    backdrop-filter: blur(20px);
}
.gf-nav-shell {
    border-top: 1px solid color-mix(in srgb, var(--gf-accent) 5%, transparent);
    background:
        radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--gf-accent) 8%, transparent), transparent 24rem),
        color-mix(in srgb, var(--gf-header) 96%, transparent);
}
.gf-navbar {
    width: min(var(--gf-content), calc(100% - 48px));
    min-height: 88px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 1.5rem;
}
.gf-brand {
    grid-column: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    text-decoration: none;
}
.gf-brand img {
    display: block;
    width: auto;
    height: auto;
    max-width: min(var(--gf-logo-width, 330px), 28vw);
    max-height: var(--gf-logo-height, 58px);
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .35));
}
.gf-navigation {
    grid-column: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: .2rem;
    min-width: 0;
}
.gf-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .48rem;
    min-height: 44px;
    padding: .72rem .9rem;
    color: var(--gf-muted);
    border: 0;
    border-radius: 8px;
    background: transparent;
    font-family: var(--gf-font);
    font-size: .72rem;
    font-weight: 750;
    letter-spacing: .09em;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}
.gf-nav-link::after {
    content: "";
    position: absolute;
    left: .85rem;
    right: .85rem;
    bottom: .28rem;
    height: 2px;
    border-radius: 999px;
    background: var(--gf-accent-bright);
    transform: scaleX(0);
    transition: transform var(--gf-transition);
}
.gf-nav-link:hover, .gf-nav-link.active, .gf-nav-link[aria-expanded="true"] { color: var(--gf-text); background: color-mix(in srgb, var(--gf-accent) 7%, transparent); }
.gf-nav-link:hover::after, .gf-nav-link.active::after, .gf-nav-link[aria-expanded="true"]::after { transform: scaleX(1); }
.gf-nav-dropdown .dropdown-toggle::before { display: none; }
.gf-header-actions { grid-column: 3; display: flex; align-items: center; justify-content: flex-end; gap: .6rem; min-width: 0; }
.gf-header-actions > a { text-decoration: none; }
.gf-login-link { padding: .65rem .55rem; color: var(--gf-muted); font-size: .76rem; font-weight: 700; }
.gf-account-button,
.gf-header-cta,
.gf-theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 42px;
    padding: .68rem .95rem;
    border: 1px solid var(--gf-line);
    border-radius: 8px;
    font-family: var(--gf-font);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-decoration: none;
    text-transform: uppercase;
}
.gf-account-button { color: var(--gf-text) !important; background: color-mix(in srgb, var(--gf-surface-raised) 82%, transparent); }
.gf-account-button:hover { border-color: var(--gf-line-strong); background: var(--gf-surface-raised); }
.gf-header-cta { color: var(--gf-button-ink) !important; border-color: var(--gf-accent-bright); background: linear-gradient(180deg, var(--gf-accent-bright), var(--gf-accent)); box-shadow: inset 0 1px rgba(255,255,255,.35), 0 10px 28px color-mix(in srgb, var(--gf-accent) 18%, transparent); }
.gf-header-cta:hover { filter: brightness(1.08); transform: translateY(-1px); }
.gf-theme-toggle { width: 42px; padding: 0; color: var(--gf-text); background: transparent; }
.gf-theme-toggle:hover { border-color: var(--gf-line-strong); background: color-mix(in srgb, var(--gf-accent) 7%, transparent); }
[data-gf-theme="midnight"] .gf-theme-icon-tan { display: none; }
[data-gf-theme="tan"] .gf-theme-icon-midnight { display: none; }
.gf-menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--gf-line); border-radius: 8px; background: color-mix(in srgb, var(--gf-surface) 85%, transparent); }
.gf-menu-toggle span:not(.visually-hidden) { display: block; height: 2px; margin: 5px 0; background: var(--gf-text); }

/* Bootstrap / shared UI */
.btn, button, input, textarea, select { font-family: var(--gf-font); }
.btn-primary, .gf-btn-primary {
    --bs-btn-color: var(--gf-button-ink);
    --bs-btn-hover-color: var(--gf-button-ink);
    --bs-btn-active-color: var(--gf-button-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 46px;
    padding: .74rem 1.2rem;
    color: var(--gf-button-ink) !important;
    border: 1px solid var(--gf-accent-bright) !important;
    border-radius: 8px;
    background: linear-gradient(180deg, var(--gf-accent-bright), var(--gf-accent)) !important;
    box-shadow: inset 0 1px rgba(255,255,255,.36), 0 10px 26px color-mix(in srgb, var(--gf-accent) 17%, transparent);
    font-size: .76rem;
    font-weight: 850;
    letter-spacing: .065em;
    text-decoration: none;
    text-transform: uppercase;
}
.btn-primary:hover, .gf-btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.gf-btn-secondary, .btn-secondary, .btn-outline-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-height: 46px;
    padding: .74rem 1.2rem;
    color: var(--gf-text) !important;
    border: 1px solid var(--gf-line) !important;
    border-radius: 8px;
    background: color-mix(in srgb, var(--gf-surface-raised) 78%, transparent) !important;
    font-size: .76rem;
    font-weight: 750;
    letter-spacing: .055em;
    text-decoration: none;
    text-transform: uppercase;
}
.gf-btn-secondary:hover, .btn-secondary:hover, .btn-outline-secondary:hover { border-color: var(--gf-line-strong) !important; background: var(--gf-surface-raised) !important; }
.card, .modal-content, .accordion-item, .list-group-item {
    color: var(--gf-text);
    border-color: var(--gf-line);
    background: var(--gf-panel);
}
.card { border-radius: var(--gf-radius); box-shadow: 0 18px 48px rgba(0,0,0,.12); }
.card-header, .card-footer, .modal-header, .modal-footer { border-color: var(--gf-line); background: color-mix(in srgb, var(--gf-surface-raised) 70%, transparent); }
.alert { border-radius: 10px; }
.form-control, .form-select, .input-group-text {
    color: var(--gf-input-text);
    border-color: var(--gf-input-border);
    background-color: var(--gf-input-bg);
}
.form-control::placeholder { color: color-mix(in srgb, var(--gf-muted) 78%, transparent); }
.form-control:focus, .form-select:focus {
    color: var(--gf-input-text);
    border-color: var(--gf-accent);
    background-color: var(--gf-input-bg);
    box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--gf-accent) 18%, transparent);
}
.form-check-input:checked { border-color: var(--gf-accent); background-color: var(--gf-accent); }
.table {
    --bs-table-color: var(--gf-text);
    --bs-table-bg: transparent;
    --bs-table-striped-color: var(--gf-text);
    --bs-table-striped-bg: color-mix(in srgb, var(--gf-accent) 4%, transparent);
    --bs-table-hover-color: var(--gf-text);
    --bs-table-hover-bg: color-mix(in srgb, var(--gf-accent) 7%, transparent);
    --bs-table-border-color: var(--gf-line);
}
.table > :not(caption) > * > * { padding: 1rem .9rem; }
.table thead { background: color-mix(in srgb, var(--gf-surface-raised) 72%, transparent); }
.pagination { gap: .35rem; }
.pagination .page-link { color: var(--gf-accent); border-color: var(--gf-line); border-radius: 7px !important; background: var(--gf-panel); }
.pagination .page-link:hover { color: var(--gf-text); border-color: var(--gf-line-strong); }
.pagination .active .page-link { color: var(--gf-button-ink); border-color: var(--gf-accent); background: var(--gf-accent); }
.dropdown-menu {
    min-width: 220px;
    padding: .5rem;
    color: var(--gf-text);
    border: 1px solid var(--gf-line);
    border-radius: 10px;
    background: var(--gf-surface-raised);
    box-shadow: var(--gf-shadow);
}
.dropdown-menu li { list-style: none; }
.dropdown-item { display: flex; align-items: center; gap: .55rem; color: var(--gf-text); border-radius: 7px; }
.dropdown-item:hover, .dropdown-item:focus, .dropdown-item.active { color: var(--gf-text); background: color-mix(in srgb, var(--gf-accent) 12%, transparent); }
.dropdown-divider { border-color: var(--gf-line); }
.gf-account-avatar {
    flex: 0 0 auto;
    border: 1px solid var(--gf-line-strong);
    border-radius: 7px;
    object-fit: cover;
    background: var(--gf-surface-raised);
}
.gf-account-menu { min-width: 260px; padding: .65rem; }
.gf-account-menu__header {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .55rem .55rem .45rem;
}
.gf-account-menu__header > img {
    flex: 0 0 auto;
    border: 1px solid var(--gf-line-strong);
    border-radius: 9px;
    object-fit: cover;
    background: var(--gf-surface-raised);
}
.gf-account-menu__identity { display: grid; gap: .28rem; min-width: 0; }
.gf-account-menu__identity strong {
    overflow: hidden;
    color: var(--gf-text);
    font-size: .86rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.gf-role-badge {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    width: fit-content;
    max-width: 170px;
    padding: .2rem .48rem;
    overflow: hidden;
    border-radius: 999px;
    font-size: .59rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}
.gf-account-menu .dropdown-item { min-height: 42px; padding: .65rem .7rem; }
.gf-account-menu .dropdown-item i { width: 1.15rem; text-align: center; }
.gf-account-menu form { margin: 0; }
.gf-logout-item { width: 100%; color: #e05b68; }
.gf-logout-item:hover, .gf-logout-item:focus { color: #ff7b86; background: rgba(224, 91, 104, .1); }
.text-muted, .text-secondary, .form-text { color: var(--gf-muted) !important; }

/* Homepage */
.gf-hero {
    position: relative;
    min-height: clamp(620px, 72vh, 840px);
    display: flex;
    align-items: center;
    isolation: isolate;
    background-color: #101719;
    background-position: center;
    background-size: cover;
}
.gf-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(circle at 72% 35%, color-mix(in srgb, var(--gf-accent) 17%, transparent), transparent 30rem),
        linear-gradient(90deg, rgba(4,8,10,.96) 0%, rgba(4,8,10,.84) 38%, rgba(4,8,10,.38) 72%, rgba(4,8,10,.66) 100%),
        linear-gradient(180deg, rgba(4,8,10,.08), rgba(4,8,10,.95));
}
.gf-hero::after { content: ""; position: absolute; inset: auto 0 0; z-index: -1; height: 230px; background: linear-gradient(transparent, var(--gf-bg)); }
.gf-hero__inner { width: min(var(--gf-content), calc(100% - 48px)); margin: 0 auto; padding: 7rem 0 11rem; }
.gf-hero__content { max-width: 810px; }
.gf-kicker { margin: 0 0 .8rem; color: var(--gf-accent-bright); font-size: .68rem; font-weight: 850; letter-spacing: .2em; text-transform: uppercase; }
.gf-hero h1 {
    max-width: 810px;
    margin: 0;
    color: #fffaf0;
    font-size: clamp(3.1rem, 6.4vw, 6.35rem);
    font-weight: 800;
    line-height: .98;
    letter-spacing: -.065em;
    text-wrap: balance;
    text-shadow: 0 14px 42px rgba(0,0,0,.68);
}
.gf-hero p:not(.gf-kicker) { max-width: 690px; margin: 1.45rem 0 0; color: #c7cfcc; font-size: clamp(.96rem, 1.2vw, 1.13rem); line-height: 1.8; }
.gf-hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.gf-hero-links {
    position: absolute;
    left: 50%;
    bottom: 1.6rem;
    width: min(var(--gf-content), calc(100% - 48px));
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    transform: translateX(-50%);
    border: 1px solid var(--gf-line);
    border-radius: var(--gf-radius);
    overflow: hidden;
    background: var(--gf-hero-link-bg);
    box-shadow: var(--gf-shadow);
    backdrop-filter: blur(16px);
}
.gf-hero-link {
    min-height: 112px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    color: var(--gf-text);
    text-decoration: none;
    border-left: 1px solid var(--gf-line);
}
.gf-hero-link:first-child { border-left: 0; }
.gf-hero-link:hover { color: var(--gf-text); background: color-mix(in srgb, var(--gf-accent) 7%, transparent); }
.gf-hero-link > i:first-child { color: var(--gf-accent-bright); font-size: 1.35rem; }
.gf-hero-link strong { display: block; font-size: .95rem; font-weight: 750; }
.gf-hero-link small { display: block; margin-top: .35rem; color: var(--gf-muted); font-size: .72rem; line-height: 1.55; }
.gf-hero-link > .bi-arrow-right { color: var(--gf-muted); font-size: 1rem; }

.gf-home-section { padding: clamp(4rem, 7vw, 7rem) 24px; }
.gf-home-section--dark { background: linear-gradient(180deg, var(--gf-bg), var(--gf-bg-soft)); }
.gf-section-inner { width: min(var(--gf-content), 100%); margin: 0 auto; }
.gf-feature-panel {
    min-height: 390px;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(380px, .85fr);
    border: 1px solid var(--gf-line);
    border-radius: var(--gf-radius);
    overflow: hidden;
    background: var(--gf-panel);
    box-shadow: var(--gf-shadow);
}
.gf-feature-panel__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(2.2rem, 5vw, 5.2rem); }
.gf-feature-panel__copy h2 { margin: .15rem 0 1rem; font-size: clamp(2.15rem, 4vw, 4rem); line-height: 1.08; }
.gf-feature-panel__copy > p:not(.gf-kicker) { max-width: 720px; color: var(--gf-muted); line-height: 1.78; }
.gf-feature-panel__art { min-height: 390px; background: linear-gradient(135deg, var(--gf-surface-raised), var(--gf-bg)); background-position: center; background-size: cover; }

/* Scroll component */
.gf-news-section { padding: clamp(4rem, 7vw, 7rem) 24px clamp(5rem, 9vw, 9rem); background: var(--gf-bg-soft); }
.gf-scroll {
    position: relative;
    width: min(var(--gf-content), 100%);
    margin: 0 auto;
    padding: clamp(2.2rem, 5vw, 5rem);
    overflow: visible;
    color: var(--gf-scroll-ink);
    border: 1px solid var(--gf-scroll-line);
    border-inline-width: 2px;
    border-radius: 10px;
    background:
        radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--gf-scroll-bg-raised) 56%, transparent), transparent 38%),
        linear-gradient(90deg, rgba(255,255,255,.045), transparent 7%, transparent 93%, rgba(0,0,0,.055)),
        repeating-linear-gradient(0deg, transparent, transparent 5px, color-mix(in srgb, var(--gf-scroll-edge-dark) 7%, transparent) 6px),
        var(--gf-scroll-bg);
    box-shadow:
        inset 0 1px color-mix(in srgb, white 8%, transparent),
        inset 0 0 0 1px color-mix(in srgb, var(--gf-scroll-edge) 10%, transparent),
        inset 22px 0 34px -34px var(--gf-scroll-edge-dark),
        inset -22px 0 34px -34px var(--gf-scroll-edge-dark),
        var(--gf-scroll-shadow);
    isolation: isolate;
}
.gf-scroll > * { position: relative; z-index: 1; }
.gf-scroll::before,
.gf-scroll::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    z-index: 2;
    height: 25px;
    pointer-events: none;
    border: 1px solid color-mix(in srgb, var(--gf-scroll-edge-dark) 72%, transparent);
    background:
        radial-gradient(circle at 9px 50%, color-mix(in srgb, var(--gf-scroll-edge) 72%, white 28%) 0 4px, var(--gf-scroll-edge-dark) 5px 7px, transparent 8px),
        radial-gradient(circle at calc(100% - 9px) 50%, color-mix(in srgb, var(--gf-scroll-edge) 72%, white 28%) 0 4px, var(--gf-scroll-edge-dark) 5px 7px, transparent 8px),
        linear-gradient(180deg,
            color-mix(in srgb, var(--gf-scroll-edge) 58%, white 42%) 0%,
            var(--gf-scroll-edge) 43%,
            var(--gf-scroll-edge-dark) 100%);
    box-shadow:
        inset 0 1px rgba(255,255,255,.35),
        inset 0 -3px rgba(0,0,0,.18),
        0 7px 18px rgba(0,0,0,.24);
}
.gf-scroll::before { top: -13px; border-radius: 12px 12px 7px 7px; }
.gf-scroll::after { bottom: -13px; border-radius: 7px 7px 12px 12px; transform: rotate(180deg); }
.gf-scroll h1, .gf-scroll h2, .gf-scroll h3, .gf-scroll h4, .gf-scroll h5, .gf-scroll h6 { color: var(--gf-scroll-ink); }
.gf-scroll a { color: var(--gf-accent); }
.gf-scroll a:hover { color: var(--gf-accent-bright); }
.gf-scroll .gf-kicker { color: var(--gf-accent); }
.gf-scroll__header { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 1.4rem; }
.gf-scroll__header h1, .gf-scroll__header h2 { margin: 0; font-size: clamp(2.15rem, 4vw, 4rem); line-height: 1.05; }
.gf-scroll__lead { max-width: 720px; margin: .8rem 0 0; color: var(--gf-scroll-muted); line-height: 1.7; }
.gf-btn-scroll {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-height: 42px;
    padding: .7rem 1rem;
    color: var(--gf-button-ink) !important;
    border: 1px solid var(--gf-accent) !important;
    border-radius: 7px;
    background: linear-gradient(180deg, var(--gf-accent-bright), var(--gf-accent)) !important;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-decoration: none;
    text-transform: uppercase;
}
.gf-news-list { border-top: 1px solid var(--gf-scroll-line); }
.gf-news-item {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(180px, 310px) 1fr;
    gap: clamp(1.25rem, 3vw, 2.2rem);
    align-items: center;
    padding: 1.65rem 0;
    border-bottom: 1px solid var(--gf-scroll-line);
}
.gf-news-item__image { display: block; overflow: hidden; border: 1px solid var(--gf-scroll-line); border-radius: 7px; background: color-mix(in srgb, var(--gf-scroll-bg) 82%, black 18%); }
.gf-news-item__image img { width: 100%; aspect-ratio: 16 / 9; display: block; object-fit: cover; transition: transform 260ms ease; }
.gf-news-item:hover .gf-news-item__image img { transform: scale(1.025); }
.gf-news-item__image--empty { min-height: 150px; display: grid; place-items: center; color: var(--gf-scroll-muted); font-size: 2rem; }
.gf-news-item__copy { min-width: 0; }
.gf-meta { margin: 0 0 .55rem; color: var(--gf-scroll-muted); font-size: .65rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.gf-news-item h2, .gf-news-item h3 { margin: 0 0 .7rem; font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 1.25; }
.gf-news-item h2 a, .gf-news-item h3 a { color: var(--gf-scroll-ink); text-decoration: none; }
.gf-news-item p:not(.gf-meta) { margin: 0; color: var(--gf-scroll-muted); line-height: 1.7; }
.gf-read-more { display: inline-flex; align-items: center; gap: .35rem; margin-top: .8rem; font-size: .72rem; font-weight: 800; text-decoration: none; }
.gf-read-more i { transition: transform var(--gf-transition); }
.gf-read-more:hover i { transform: translateX(3px); }
.gf-empty-state { padding: 3.5rem 1rem; text-align: center; }
.gf-empty-state p { color: var(--gf-scroll-muted); }
.gf-scroll__pagination { margin-top: 2rem; }
.gf-posts-search { width: min(420px, 100%); }
.gf-posts-search .form-control { color: var(--gf-scroll-ink); border-color: var(--gf-scroll-line); background: color-mix(in srgb, var(--gf-scroll-bg-raised) 78%, transparent); }
.gf-news-list--index .gf-news-item { grid-template-columns: minmax(240px, 390px) 1fr; padding-block: 2rem; }

/* Articles / pages */
.gf-scroll--article { width: min(var(--gf-reading), 100%); padding: clamp(2rem, 5vw, 5.2rem); }
.gf-article__header { margin-bottom: 2rem; padding-bottom: 1.6rem; border-bottom: 1px solid var(--gf-scroll-line); }
.gf-article__header h1 { max-width: 920px; margin: .3rem 0 1rem; font-size: clamp(2.25rem, 4.7vw, 4.6rem); line-height: 1.05; }
.gf-article__meta { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; color: var(--gf-scroll-muted); font-size: .72rem; }
.gf-article__hero { width: 100%; max-height: 680px; display: block; object-fit: cover; margin: 0 0 clamp(2rem, 4vw, 3.2rem); border: 1px solid var(--gf-scroll-line); border-radius: 8px; }
.gf-article__body { color: var(--gf-scroll-ink); font-size: clamp(.9rem, 1.2vw, 1.02rem); line-height: 1.9; }
.gf-article__body > :first-child { margin-top: 0; }
.gf-article__body h2 { margin: 2.8rem 0 1rem; font-size: clamp(1.55rem, 2.8vw, 2.35rem); }
.gf-article__body h3 { margin: 2.2rem 0 .8rem; font-size: clamp(1.25rem, 2vw, 1.75rem); }
.gf-article__body p, .gf-article__body li { color: var(--gf-scroll-ink); }
.gf-article__body img { display: block; max-width: 100%; height: auto; margin: 2.2rem auto; border: 1px solid var(--gf-scroll-line); border-radius: 7px; }
.gf-article__body blockquote { margin: 2rem 0; padding: 1rem 1.25rem; color: var(--gf-scroll-muted); border-left: 4px solid var(--gf-accent); background: color-mix(in srgb, var(--gf-scroll-bg-raised) 62%, transparent); }
.gf-article__body pre { max-width: 100%; padding: 1.2rem; overflow: auto; color: #dce5e4; border-radius: 8px; background: #091014; }
.gf-article__body code { color: var(--gf-accent); }
.gf-article__body table { width: 100%; display: block; overflow-x: auto; }
.gf-article__footer { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--gf-scroll-line); }

/* Shop and plugin pages */
.gf-shop-page .gf-page-wrap,
.gf-support-page .gf-page-wrap,
.gf-faq-page .gf-page-wrap,
.gf-changelog-page .gf-page-wrap { width: min(var(--gf-content), 100%); }
.gf-shop-page .gf-page-wrap > h1,
.gf-support-page .gf-page-wrap > h1,
.gf-faq-page .gf-page-wrap > h1,
.gf-changelog-page .gf-page-wrap > h1,
.gf-page-title { margin: 0 0 1.5rem; font-size: clamp(2rem, 4vw, 3.6rem); }
.gf-shop-page .list-group,
.gf-shop-scroll {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .35rem;
    padding: 1rem;
    color: var(--gf-scroll-ink);
    border: 1px solid var(--gf-scroll-line) !important;
    border-radius: 9px;
    background: var(--gf-scroll-bg) !important;
    box-shadow: var(--gf-scroll-shadow);
}
.gf-shop-page .list-group > * { position: relative; z-index: 1; }
.gf-shop-page .list-group::before,
.gf-shop-page .list-group::after {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    z-index: 2;
    height: 17px;
    pointer-events: none;
    border: 1px solid color-mix(in srgb, var(--gf-scroll-edge-dark) 68%, transparent);
    border-radius: 8px;
    background:
        radial-gradient(circle at 7px 50%, color-mix(in srgb, var(--gf-scroll-edge) 72%, white 28%) 0 3px, var(--gf-scroll-edge-dark) 4px 5px, transparent 6px),
        radial-gradient(circle at calc(100% - 7px) 50%, color-mix(in srgb, var(--gf-scroll-edge) 72%, white 28%) 0 3px, var(--gf-scroll-edge-dark) 4px 5px, transparent 6px),
        linear-gradient(180deg, color-mix(in srgb, var(--gf-scroll-edge) 58%, white 42%), var(--gf-scroll-edge), var(--gf-scroll-edge-dark));
    box-shadow: inset 0 1px rgba(255,255,255,.3), 0 5px 12px rgba(0,0,0,.2);
}
.gf-shop-page .list-group::before { top: -9px; }
.gf-shop-page .list-group::after { bottom: -9px; transform: rotate(180deg); }
.gf-shop-page .list-group-item {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: .75rem .85rem;
    color: var(--gf-scroll-ink);
    border: 0;
    border-radius: 6px !important;
    background: transparent;
    font-size: .8rem;
    text-decoration: none;
}
.gf-shop-page .list-group-item:hover,
.gf-shop-page .list-group-item.active { color: var(--gf-button-ink); background: linear-gradient(135deg, var(--gf-accent-bright), var(--gf-accent)); }
.gf-shop-page .card { overflow: hidden; border-color: var(--gf-line); background: var(--gf-panel); }
.gf-shop-page .card-title { color: var(--gf-text); }
.gf-shop-page .card-img-top { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.gf-shop-page .card-body { padding: 1.35rem; }
.gf-shop-page .card-footer { padding: 1rem 1.35rem; }
.gf-shop-page .row { --bs-gutter-x: 1.35rem; --bs-gutter-y: 1.35rem; }
.gf-shop-page .d-grid.gap-2.mb-4,
.gf-shop-profile-card { padding: 1rem; border: 1px solid var(--gf-line); border-radius: var(--gf-radius); background: var(--gf-panel); }
.gf-shop-page .nav-tabs { gap: .35rem; border-bottom-color: var(--gf-line); }
.gf-shop-page .nav-tabs .nav-link { color: var(--gf-muted); border: 0; border-radius: 7px 7px 0 0; }
.gf-shop-page .nav-tabs .nav-link.active { color: var(--gf-button-ink); background: var(--gf-accent); }
.gf-shop-page .btn-success, .gf-shop-page .btn-warning { color: var(--gf-button-ink); border-color: var(--gf-accent); background: var(--gf-accent); }
.gf-shop-product-card { height: 100%; transition: transform var(--gf-transition), border-color var(--gf-transition); }
.gf-shop-product-card:hover { transform: translateY(-3px); border-color: var(--gf-line-strong); }

.gf-support-page .card,
.gf-faq-page .accordion,
.gf-changelog-page .card { max-width: 100%; }
.gf-support-page .table-responsive,
.gf-changelog-page .table-responsive { border: 1px solid var(--gf-line); border-radius: var(--gf-radius); background: var(--gf-panel); }
.gf-faq-page .accordion-button { color: var(--gf-text); background: var(--gf-panel); }
.gf-faq-page .accordion-button:not(.collapsed) { color: var(--gf-button-ink); background: var(--gf-accent); }

/* Footer */
.gf-footer {
    color: var(--gf-footer-text);
    border-top: 1px solid var(--gf-footer-line);
    background:
        radial-gradient(circle at 50% 0, color-mix(in srgb, var(--gf-footer-heading) 7%, transparent), transparent 34rem),
        var(--gf-footer-bg);
    box-shadow: inset 0 1px color-mix(in srgb, var(--gf-footer-heading) 8%, transparent);
}
.gf-footer__grid { width: min(var(--gf-content), calc(100% - 48px)); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); padding: 4rem 0 3rem; }
.gf-footer h2 { margin: 0 0 1rem; color: var(--gf-footer-heading); font-size: .72rem; font-weight: 850; letter-spacing: .18em; text-transform: uppercase; }
.gf-footer p { max-width: 570px; color: var(--gf-footer-text); line-height: 1.75; }
.gf-footer a { display: block; width: fit-content; margin: .48rem 0; color: var(--gf-footer-muted); text-decoration: none; }
.gf-footer a:hover { color: var(--gf-footer-heading); }
.gf-footer__legal { width: min(var(--gf-content), calc(100% - 48px)); margin: 0 auto; display: flex; justify-content: space-between; gap: 1rem; padding: 1.25rem 0 2rem; color: var(--gf-footer-muted); border-top: 1px solid var(--gf-footer-line); font-size: .72rem; }
.gf-footer__legal a { display: inline; color: var(--gf-footer-heading); }

@media (max-width: 1180px) {
    .gf-navbar { width: min(var(--gf-content), calc(100% - 32px)); gap: .8rem; }
    .gf-brand img { width: auto; height: auto; max-width: min(var(--gf-logo-width, 330px), 170px); }
    .gf-nav-link { padding-inline: .65rem; }
    .gf-nav-link i { display: none; }
    .gf-feature-panel { grid-template-columns: 1fr .8fr; }
}

@media (max-width: 960px) {
    .gf-navbar { min-height: 72px; grid-template-columns: auto 1fr auto; }
    .gf-menu-toggle { display: block; grid-column: 1; }
    .gf-brand { grid-column: 2; min-width: 0; }
    .gf-brand img { width: auto; height: auto; max-width: min(var(--gf-logo-width, 330px), 155px); max-height: min(var(--gf-logo-height, 58px), 48px); }
    .gf-navigation {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        display: none;
        max-height: calc(100vh - 72px);
        overflow-y: auto;
        padding: .8rem 24px 1rem;
        flex-direction: column;
        align-items: stretch;
        background: var(--gf-surface);
        border-top: 1px solid var(--gf-line);
        border-bottom: 1px solid var(--gf-line);
        box-shadow: 0 24px 50px rgba(0,0,0,.35);
    }
    .gf-navigation.is-open { display: flex; }
    .gf-nav-link { justify-content: flex-start; padding: .86rem .8rem; border-radius: 7px; }
    .gf-nav-link i { display: inline-block; }
    .gf-nav-dropdown, .gf-nav-dropdown > button { width: 100%; }
    .gf-nav-dropdown .dropdown-menu { position: static !important; width: 100%; transform: none !important; box-shadow: none; }
    .gf-header-actions { grid-column: 3; justify-self: end; }
    .gf-header-actions .gf-login-link, .gf-header-actions .gf-account-button { display: none; }
    .gf-hero { min-height: 760px; }
    .gf-hero__inner { padding: 5rem 0 15rem; }
    .gf-feature-panel { grid-template-columns: 1fr; }
    .gf-feature-panel__art { min-height: 320px; order: -1; }
    .gf-news-list--index .gf-news-item { grid-template-columns: minmax(190px, 300px) 1fr; }
}

@media (max-width: 720px) {
    body.guardfall-site { font-size: .9rem; }
    .gf-announcement { font-size: .6rem; letter-spacing: .12em; }
    .gf-navbar { width: calc(100% - 24px); }
    .gf-brand img { width: auto; height: auto; max-width: min(var(--gf-logo-width, 330px), 130px); max-height: min(var(--gf-logo-height, 58px), 42px); }
    .gf-header-cta { padding-inline: .75rem; }
    .gf-header-cta span { display: none; }
    .gf-user-dropdown { display: none; }
    .gf-app-main { padding-inline: 14px; }
    .gf-hero { min-height: 840px; }
    .gf-hero__inner { width: calc(100% - 28px); padding-top: 4.4rem; }
    .gf-hero h1 { font-size: clamp(2.65rem, 15vw, 4.2rem); }
    .gf-hero-links { width: calc(100% - 28px); grid-template-columns: 1fr; bottom: 1.15rem; }
    .gf-hero-link { min-height: 88px; border-left: 0; border-top: 1px solid var(--gf-line); }
    .gf-hero-link:first-child { border-top: 0; }
    .gf-home-section, .gf-news-section { padding-inline: 14px; }
    .gf-feature-panel__copy { padding: 2rem 1.35rem 2.4rem; }
    .gf-feature-panel__copy h2 { font-size: 2rem; }
    .gf-scroll { padding: 2.1rem 1.05rem; }
    .gf-scroll::before, .gf-scroll::after { left: 7px; right: 7px; height: 21px; }
    .gf-scroll::before { top: -11px; }
    .gf-scroll::after { bottom: -11px; }
    .gf-scroll__header { align-items: stretch; flex-direction: column; }
    .gf-scroll__header .gf-btn-scroll { width: fit-content; }
    .gf-news-item, .gf-news-list--index .gf-news-item { grid-template-columns: 1fr; gap: 1rem; }
    .gf-news-item__image { width: 100%; }
    .gf-article__header h1 { font-size: 2.2rem; }
    .gf-footer__grid { width: calc(100% - 28px); grid-template-columns: 1fr; padding-block: 3rem 2rem; }
    .gf-footer__legal { width: calc(100% - 28px); flex-direction: column; }
}

@media (max-width: 460px) {
    .gf-header-actions .gf-header-cta { font-size: 0; width: 42px; padding: 0; }
    .gf-header-actions .gf-header-cta i { font-size: .9rem; }
    .gf-theme-toggle { width: 40px; }
    .gf-hero__actions .btn { width: 100%; }
    .gf-scroll__header h1, .gf-scroll__header h2 { font-size: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Guardfall 0.4 homepage hierarchy
 * Compact floating portal header -> hero -> news -> promotional/editorial scrolls.
 * Scroll-backed surfaces remain a primary visual language in both palettes.
 */

/* Floating homepage header */
.gf-home .gf-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 120;
    padding: 1rem 18px 0;
    border: 0;
    background: transparent;
    backdrop-filter: none;
}
.gf-home .gf-announcement + .gf-header { top: 34px; }
.gf-home .gf-nav-shell {
    width: min(1580px, 100%);
    margin: 0 auto;
    overflow: visible;
    border: 1px solid color-mix(in srgb, var(--gf-accent) 28%, transparent);
    border-radius: 12px;
    background: color-mix(in srgb, var(--gf-header) 84%, transparent);
    box-shadow: 0 18px 48px rgba(0,0,0,.28);
    backdrop-filter: blur(20px) saturate(120%);
}
.gf-home .gf-navbar {
    width: calc(100% - 28px);
    min-height: 70px;
}
.gf-home .gf-brand img { max-height: min(var(--gf-logo-height, 58px), 48px); }

/* Compact cinematic hero */
.gf-hero--compact {
    min-height: clamp(520px, 64vh, 680px);
    align-items: flex-end;
}
.gf-hero--compact .gf-hero__inner {
    padding: clamp(10rem, 18vh, 13rem) 0 clamp(4rem, 7vh, 5.25rem);
}
.gf-hero--compact .gf-hero__content { max-width: 760px; }
.gf-hero--compact h1 { font-size: clamp(3.15rem, 5.5vw, 5.45rem); }
.gf-hero--compact::before {
    background:
        radial-gradient(circle at 72% 35%, color-mix(in srgb, var(--gf-accent) 16%, transparent), transparent 30rem),
        linear-gradient(90deg, rgba(4,8,10,.97) 0%, rgba(4,8,10,.83) 37%, rgba(4,8,10,.30) 72%, rgba(4,8,10,.56) 100%),
        linear-gradient(180deg, rgba(4,8,10,.18), rgba(4,8,10,.86));
}
.gf-hero--compact::after { height: 155px; }

/* News is the first and largest content destination after the hero. */
.gf-news-section--priority {
    position: relative;
    z-index: 3;
    padding: clamp(2.6rem, 4vw, 4rem) 24px clamp(4.5rem, 7vw, 7rem);
    background:
        radial-gradient(circle at 50% 0, color-mix(in srgb, var(--gf-accent) 8%, transparent), transparent 42rem),
        var(--gf-bg-soft);
}
.gf-scroll--showcase {
    max-width: var(--gf-content);
    padding: clamp(2.4rem, 4vw, 4.2rem);
}
.gf-news-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.52fr) minmax(330px, .82fr);
    gap: 1.25rem;
    padding-top: 1.35rem;
    border-top: 1px solid var(--gf-scroll-line);
}
.gf-news-featured {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--gf-scroll-line);
    border-radius: 10px;
    background: color-mix(in srgb, var(--gf-scroll-bg-raised) 70%, transparent);
    box-shadow: 0 20px 55px color-mix(in srgb, black 22%, transparent);
}
.gf-news-featured__media {
    position: relative;
    display: block;
    min-height: clamp(300px, 31vw, 520px);
    overflow: hidden;
    background: color-mix(in srgb, var(--gf-scroll-bg) 80%, black 20%);
}
.gf-news-featured__media::after {
    content: "";
    position: absolute;
    inset: 42% 0 0;
    pointer-events: none;
    background: linear-gradient(transparent, rgba(0,0,0,.52));
}
.gf-news-featured__media img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    display: block;
    object-fit: cover;
    transition: transform 320ms ease;
}
.gf-news-featured:hover .gf-news-featured__media img { transform: scale(1.025); }
.gf-news-featured__placeholder {
    min-height: inherit;
    display: grid;
    place-items: center;
    color: var(--gf-scroll-muted);
    font-size: 4rem;
}
.gf-news-featured__copy { padding: clamp(1.45rem, 3vw, 2.4rem); }
.gf-news-featured__copy h3 {
    margin: 0 0 .8rem;
    font-size: clamp(1.65rem, 3vw, 2.65rem);
    line-height: 1.12;
}
.gf-news-featured__copy h3 a { color: var(--gf-scroll-ink); text-decoration: none; }
.gf-news-featured__copy > p:not(.gf-meta) { margin: 0; color: var(--gf-scroll-muted); line-height: 1.72; }
.gf-read-more--button {
    width: fit-content;
    min-height: 42px;
    margin-top: 1.2rem;
    padding: .7rem 1rem;
    color: var(--gf-button-ink) !important;
    border: 1px solid var(--gf-accent) !important;
    border-radius: 7px;
    background: linear-gradient(180deg, var(--gf-accent-bright), var(--gf-accent));
    font-weight: 800;
    text-transform: uppercase;
}
.gf-news-supporting { min-width: 0; display: grid; gap: 1rem; }
.gf-news-card {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(120px, 35%) minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid var(--gf-scroll-line);
    border-radius: 9px;
    background: color-mix(in srgb, var(--gf-scroll-bg-raised) 62%, transparent);
}
.gf-news-card__image {
    min-height: 160px;
    display: block;
    overflow: hidden;
    border-right: 1px solid var(--gf-scroll-line);
    background: color-mix(in srgb, var(--gf-scroll-bg) 80%, black 20%);
}
.gf-news-card__image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 260ms ease; }
.gf-news-card:hover .gf-news-card__image img { transform: scale(1.035); }
.gf-news-card__image span { min-height: 100%; display: grid; place-items: center; color: var(--gf-scroll-muted); font-size: 2rem; }
.gf-news-card__copy { min-width: 0; padding: 1.15rem 1.2rem; }
.gf-news-card__copy h3 { margin: 0 0 .5rem; font-size: clamp(.98rem, 1.3vw, 1.18rem); line-height: 1.28; }
.gf-news-card__copy h3 a { color: var(--gf-scroll-ink); text-decoration: none; }
.gf-news-card__copy > p:not(.gf-meta) {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--gf-scroll-muted);
    font-size: .78rem;
    line-height: 1.58;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}
.gf-news-card .gf-read-more { margin-top: .7rem; font-size: .68rem; }
.gf-news-card--empty { grid-template-columns: 1fr; }

/* Scroll-backed editorial and sales sections keep the scroll language integral. */
.gf-story-section,
.gf-promo-section,
.gf-home-utility,
.gf-home-callout {
    padding: clamp(3.5rem, 6vw, 6.5rem) 24px;
}
.gf-story-section {
    background:
        linear-gradient(180deg, var(--gf-bg-soft), var(--gf-bg)),
        var(--gf-bg);
}
.gf-scroll--story { padding: 0; }
.gf-feature-panel--scroll {
    min-height: 460px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    box-shadow: none;
}
.gf-feature-panel--scroll .gf-feature-panel__copy { padding: clamp(2.4rem, 5vw, 5.4rem); }
.gf-feature-panel--scroll .gf-feature-panel__copy h2 { color: var(--gf-scroll-ink); }
.gf-feature-panel--scroll .gf-feature-panel__copy > p:not(.gf-kicker) { color: var(--gf-scroll-muted); }
.gf-feature-panel--scroll .gf-feature-panel__art {
    min-height: 460px;
    border-left: 1px solid var(--gf-scroll-line);
}
.gf-btn-scroll--secondary {
    color: var(--gf-scroll-ink) !important;
    border-color: var(--gf-scroll-line) !important;
    background: color-mix(in srgb, var(--gf-scroll-bg-raised) 76%, transparent) !important;
}
.gf-btn-scroll--secondary:hover { border-color: var(--gf-accent) !important; }

.gf-promo-section,
.gf-home-callout {
    padding-top: clamp(1rem, 2vw, 2rem);
    background: var(--gf-bg);
}
.gf-home-callout + .gf-home-callout { padding-top: 1.25rem; }
.gf-home-callout:last-of-type { padding-bottom: clamp(5rem, 8vw, 8rem); }
.gf-scroll--compact,
.gf-scroll--utility {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: clamp(2rem, 4vw, 3.2rem) clamp(2rem, 5vw, 4.5rem);
}
.gf-promo-copy,
.gf-scroll--utility > div:first-child { max-width: 850px; }
.gf-promo-copy h2,
.gf-scroll--utility h2 { margin: 0 0 .7rem; font-size: clamp(1.75rem, 3vw, 3rem); }
.gf-promo-copy > p:not(.gf-kicker),
.gf-scroll--utility > div:first-child > p:not(.gf-kicker) { margin: 0; color: var(--gf-scroll-muted); line-height: 1.7; }
.gf-promo-actions,
.gf-home-utility__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .75rem; }
.gf-scroll--callout:has(.gf-promo-copy:only-child) { justify-content: flex-start; }
.gf-scroll--callout .gf-promo-copy { min-width: 0; }
.gf-home-utility {
    padding-top: 1.25rem;
    padding-bottom: clamp(5rem, 8vw, 8rem);
    background: var(--gf-bg);
}
.gf-scroll--utility { min-height: 210px; }

/* Tan mode receives warmer news/image overlays without losing contrast. */
[data-gf-theme="tan"] .gf-news-featured__media::after { background: linear-gradient(transparent, rgba(43,31,18,.36)); }
[data-gf-theme="tan"] .gf-home .gf-nav-shell { background: color-mix(in srgb, var(--gf-header) 88%, transparent); }

@media (max-width: 1199.98px) {
    .gf-news-showcase { grid-template-columns: 1fr; }
    .gf-news-supporting { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .gf-news-card { grid-template-columns: 1fr; }
    .gf-news-card__image { min-height: 150px; border-right: 0; border-bottom: 1px solid var(--gf-scroll-line); }
    .gf-news-card__copy > p:not(.gf-meta) { -webkit-line-clamp: 4; }
}

@media (max-width: 991.98px) {
    .gf-home .gf-header,
    .gf-home .gf-announcement + .gf-header {
        position: relative;
        top: auto;
        padding: 0;
    }
    .gf-home .gf-nav-shell {
        width: 100%;
        border-inline: 0;
        border-radius: 0;
        box-shadow: none;
    }
    .gf-home .gf-navbar { width: min(var(--gf-content), calc(100% - 28px)); min-height: 74px; }
    .gf-hero--compact { min-height: 470px; }
    .gf-hero--compact .gf-hero__inner { padding: 6rem 0 5rem; }
    .gf-feature-panel--scroll { grid-template-columns: 1fr; }
    .gf-feature-panel--scroll .gf-feature-panel__art { min-height: 330px; border-left: 0; border-top: 1px solid var(--gf-scroll-line); }
    .gf-scroll--compact,
    .gf-scroll--utility { align-items: flex-start; flex-direction: column; }
    .gf-promo-actions,
    .gf-home-utility__actions { justify-content: flex-start; }
}

@media (max-width: 767.98px) {
    .gf-news-section--priority,
    .gf-story-section,
    .gf-promo-section,
    .gf-home-utility,
    .gf-home-callout { padding-inline: 14px; }
    .gf-scroll--showcase { padding: 2.2rem 1.05rem; }
    .gf-news-supporting { grid-template-columns: 1fr; }
    .gf-news-card { grid-template-columns: minmax(110px, 34%) minmax(0, 1fr); }
    .gf-news-card__image { min-height: 145px; border-right: 1px solid var(--gf-scroll-line); border-bottom: 0; }
    .gf-feature-panel--scroll .gf-feature-panel__copy { padding: 2.2rem 1.25rem 2.5rem; }
    .gf-scroll--compact,
    .gf-scroll--utility { padding: 2.2rem 1.25rem; }
}

@media (max-width: 575.98px) {
    .gf-hero--compact h1 { font-size: clamp(2.7rem, 15vw, 4.35rem); }
    .gf-news-card { grid-template-columns: 1fr; }
    .gf-news-card__image { min-height: 180px; border-right: 0; border-bottom: 1px solid var(--gf-scroll-line); }
    .gf-news-featured__media { min-height: 230px; }
    .gf-promo-actions .btn,
    .gf-home-utility__actions .btn { width: 100%; }
}

/* v0.4.1 — roomy editorial homepage news scroll.
 * The news remains first after the hero, but no longer compresses updates into a narrow side rail.
 */
.gf-scroll--news-home.gf-scroll--showcase {
    padding: clamp(3rem, 5vw, 5.25rem);
}

.gf-news-list--home {
    border-top: 1px solid var(--gf-scroll-line);
}

.gf-news-home-item {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(280px, 390px) minmax(0, 1fr);
    align-items: center;
    gap: clamp(1.75rem, 3vw, 3.25rem);
    padding: clamp(2rem, 3.5vw, 3.25rem) 0;
    border-bottom: 1px solid var(--gf-scroll-line);
}

.gf-news-home-item--lead {
    grid-template-columns: minmax(0, 1.28fr) minmax(360px, .82fr);
    align-items: stretch;
    gap: 0;
    margin: clamp(1.4rem, 2.5vw, 2.4rem) 0 clamp(1rem, 2vw, 1.75rem);
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--gf-scroll-line);
    border-radius: 10px;
    background: color-mix(in srgb, var(--gf-scroll-bg-raised) 68%, transparent);
    box-shadow: 0 22px 58px color-mix(in srgb, black 20%, transparent);
}

.gf-news-home-item__media {
    min-width: 0;
    display: block;
    overflow: hidden;
    border: 1px solid var(--gf-scroll-line);
    border-radius: 8px;
    background: color-mix(in srgb, var(--gf-scroll-bg) 82%, black 18%);
}

.gf-news-home-item:not(.gf-news-home-item--lead) .gf-news-home-item__media {
    width: 100%;
}

.gf-news-home-item__media img {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    object-fit: cover;
    transition: transform 280ms ease;
}

.gf-news-home-item:hover .gf-news-home-item__media img {
    transform: scale(1.025);
}

.gf-news-home-item--lead .gf-news-home-item__media {
    min-height: clamp(360px, 32vw, 530px);
    border: 0;
    border-right: 1px solid var(--gf-scroll-line);
    border-radius: 0;
}

.gf-news-home-item--lead .gf-news-home-item__media img {
    height: 100%;
    min-height: inherit;
    aspect-ratio: auto;
}

.gf-news-home-item__placeholder {
    min-height: 210px;
    display: grid;
    place-items: center;
    color: var(--gf-scroll-muted);
    font-size: 3rem;
}

.gf-news-home-item--lead .gf-news-home-item__placeholder {
    min-height: inherit;
}

.gf-news-home-item__copy {
    min-width: 0;
}

.gf-news-home-item--lead .gf-news-home-item__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2.2rem, 4vw, 4.25rem);
}

.gf-news-home-item__copy h3 {
    margin: 0 0 .85rem;
    font-size: clamp(1.35rem, 2vw, 2rem);
    line-height: 1.22;
}

.gf-news-home-item--lead .gf-news-home-item__copy h3 {
    font-size: clamp(2rem, 3.4vw, 3.5rem);
    line-height: 1.08;
}

.gf-news-home-item__copy h3 a {
    color: var(--gf-scroll-ink);
    text-decoration: none;
}

.gf-news-home-item__copy > p:not(.gf-meta) {
    max-width: 880px;
    margin: 0;
    color: var(--gf-scroll-muted);
    font-size: clamp(.84rem, 1vw, .98rem);
    line-height: 1.8;
}

.gf-news-home-item .gf-read-more {
    margin-top: 1rem;
}

.gf-news-home-item:not(.gf-news-home-item--lead) .gf-read-more {
    display: inline-flex;
    width: fit-content;
    font-size: .76rem;
}

@media (max-width: 1199.98px) {
    .gf-news-home-item--lead {
        grid-template-columns: 1fr;
    }

    .gf-news-home-item--lead .gf-news-home-item__media {
        min-height: clamp(330px, 52vw, 520px);
        border-right: 0;
        border-bottom: 1px solid var(--gf-scroll-line);
    }
}

@media (max-width: 991.98px) {
    .gf-news-home-item {
        grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .gf-scroll--news-home.gf-scroll--showcase {
        padding: 2.35rem 1.15rem;
    }

    .gf-news-home-item,
    .gf-news-home-item--lead {
        grid-template-columns: 1fr;
    }

    .gf-news-home-item {
        gap: 1.15rem;
        padding: 1.65rem 0;
    }

    .gf-news-home-item--lead {
        gap: 0;
        padding: 0;
    }

    .gf-news-home-item--lead .gf-news-home-item__media {
        min-height: 250px;
    }

    .gf-news-home-item--lead .gf-news-home-item__copy {
        padding: 1.7rem 1.25rem 2rem;
    }
}

/* v0.4.2 — compact editorial news rows.
 * Thumbnails remain deliberately restrained; article copy sits beside them and
 * the Read more action is pinned to the lower-right of each row.
 */
.gf-news-list--home {
    margin-top: clamp(1.25rem, 2.2vw, 2rem);
}

.gf-news-home-item,
.gf-news-home-item--lead {
    position: relative;
    grid-template-columns: clamp(210px, 20vw, 285px) minmax(0, 1fr);
    align-items: stretch;
    gap: clamp(1.4rem, 2.5vw, 2.5rem);
    margin: 0;
    padding: clamp(1.7rem, 2.8vw, 2.6rem) 0;
    overflow: visible;
    border: 0;
    border-bottom: 1px solid var(--gf-scroll-line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.gf-news-home-item--lead {
    grid-template-columns: clamp(240px, 23vw, 325px) minmax(0, 1fr);
    padding-top: clamp(2rem, 3vw, 2.8rem);
}

.gf-news-home-item__media,
.gf-news-home-item--lead .gf-news-home-item__media {
    width: 100%;
    min-height: 0;
    align-self: start;
    border: 1px solid var(--gf-scroll-line);
    border-radius: 7px;
    background: color-mix(in srgb, var(--gf-scroll-bg) 82%, black 18%);
}

.gf-news-home-item__media img,
.gf-news-home-item--lead .gf-news-home-item__media img {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.gf-news-home-item__placeholder,
.gf-news-home-item--lead .gf-news-home-item__placeholder {
    min-height: 0;
    aspect-ratio: 16 / 9;
    font-size: 2.25rem;
}

.gf-news-home-item__copy,
.gf-news-home-item--lead .gf-news-home-item__copy {
    min-width: 0;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: .15rem 0 0;
}

.gf-news-home-item__copy h3,
.gf-news-home-item--lead .gf-news-home-item__copy h3 {
    margin: 0 0 .7rem;
    font-size: clamp(1.25rem, 1.75vw, 1.75rem);
    line-height: 1.2;
}

.gf-news-home-item--lead .gf-news-home-item__copy h3 {
    font-size: clamp(1.5rem, 2vw, 2.05rem);
}

.gf-news-home-item__copy > p:not(.gf-meta) {
    max-width: none;
    margin: 0;
    font-size: clamp(.82rem, .95vw, .96rem);
    line-height: 1.75;
}

.gf-news-home-item .gf-read-more,
.gf-news-home-item:not(.gf-news-home-item--lead) .gf-read-more {
    width: fit-content;
    margin-top: auto;
    padding-top: 1rem;
    align-self: flex-end;
    font-size: .74rem;
    white-space: nowrap;
}

.gf-news-home-item--lead .gf-read-more--button {
    padding: .62rem .9rem;
}

@media (max-width: 991.98px) {
    .gf-news-home-item,
    .gf-news-home-item--lead {
        grid-template-columns: minmax(190px, 250px) minmax(0, 1fr);
        gap: 1.35rem;
    }
}

@media (max-width: 767.98px) {
    .gf-news-home-item,
    .gf-news-home-item--lead {
        grid-template-columns: minmax(135px, 34%) minmax(0, 1fr);
        gap: 1rem;
        padding: 1.4rem 0;
    }

    .gf-news-home-item__copy h3,
    .gf-news-home-item--lead .gf-news-home-item__copy h3 {
        font-size: clamp(1rem, 4vw, 1.3rem);
    }

    .gf-news-home-item__copy > p:not(.gf-meta) {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        font-size: .76rem;
        line-height: 1.55;
    }

    .gf-news-home-item .gf-read-more,
    .gf-news-home-item:not(.gf-news-home-item--lead) .gf-read-more {
        padding-top: .65rem;
        font-size: .66rem;
    }
}

@media (max-width: 575.98px) {
    .gf-news-home-item,
    .gf-news-home-item--lead {
        grid-template-columns: 1fr;
    }

    .gf-news-home-item__media,
    .gf-news-home-item--lead .gf-news-home-item__media {
        max-width: 320px;
    }

    .gf-news-home-item .gf-read-more,
    .gf-news-home-item:not(.gf-news-home-item--lead) .gf-read-more {
        align-self: flex-end;
    }
}

/* Guardfall 0.5.2 — MMORPG portal visual refinement
   The gold-and-charcoal identity remains, but scroll framing is reserved for
   emphasis rather than used as the default shape for every content block. */
:root {
    --gf-font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --gf-font-display: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    --gf-content: 1380px;
    --gf-reading: 1040px;
    --gf-section-gap: clamp(3.75rem, 6vw, 6.25rem);
}

body.guardfall-site {
    font-family: var(--gf-font-body);
    font-size: 1rem;
    line-height: 1.6;
    background:
        radial-gradient(circle at 12% 8%, color-mix(in srgb, var(--gf-accent) 8%, transparent), transparent 30rem),
        radial-gradient(circle at 88% 34%, color-mix(in srgb, var(--gf-accent) 4%, transparent), transparent 34rem),
        linear-gradient(180deg, var(--gf-bg-soft), var(--gf-bg) 28rem);
}

body.guardfall-site::before {
    opacity: .15;
    background-image:
        linear-gradient(color-mix(in srgb, var(--gf-accent) 5%, transparent) 1px, transparent 1px),
        linear-gradient(90deg, color-mix(in srgb, var(--gf-accent) 5%, transparent) 1px, transparent 1px),
        radial-gradient(circle, color-mix(in srgb, var(--gf-accent) 13%, transparent) 1px, transparent 1.5px);
    background-size: 80px 80px, 80px 80px, 20px 20px;
    mask-image: linear-gradient(to bottom, black, transparent 72%);
}

h1, h2, h3, h4, h5, h6,
.gf-kicker,
.gf-meta,
.gf-nav-link,
.gf-account-button,
.gf-header-cta,
.gf-theme-toggle,
.btn,
button,
input,
textarea,
select {
    font-family: var(--gf-font-display);
}

p, li, dd, .gf-article__body, .gf-scroll__lead {
    font-family: var(--gf-font-body);
}

.gf-kicker {
    margin: 0 0 .72rem;
    color: var(--gf-accent-bright);
    font-size: .67rem;
    font-weight: 800;
    letter-spacing: .2em;
    line-height: 1.35;
    text-transform: uppercase;
}

/* Compact, product-grade header */
.gf-header {
    position: sticky;
    top: 0;
    z-index: 110;
    border-bottom: 1px solid color-mix(in srgb, var(--gf-accent) 18%, transparent);
    background: color-mix(in srgb, var(--gf-bg) 88%, transparent);
    box-shadow: 0 12px 36px rgba(0, 0, 0, .14);
    backdrop-filter: blur(22px) saturate(125%);
}

.gf-nav-shell {
    background:
        linear-gradient(90deg, transparent, color-mix(in srgb, var(--gf-accent) 5%, transparent) 50%, transparent),
        transparent;
}

.gf-navbar {
    width: min(var(--gf-content), calc(100% - 40px));
    min-height: 70px;
    gap: 1rem;
}

.gf-brand img {
    width: auto;
    height: auto;
    max-width: min(var(--gf-logo-width, 330px), 156px);
    max-height: 44px;
}

.gf-navigation { gap: .1rem; }
.gf-nav-link {
    min-height: 38px;
    padding: .62rem .72rem;
    border-radius: 7px;
    font-size: .66rem;
    letter-spacing: .075em;
}
.gf-nav-link::after { left: .68rem; right: .68rem; bottom: .18rem; height: 1px; }
.gf-header-actions { gap: .45rem; }
.gf-account-button,
.gf-header-cta,
.gf-theme-toggle {
    min-height: 38px;
    border-radius: 7px;
    font-size: .65rem;
}
.gf-account-avatar { width: 24px; height: 24px; }
.gf-announcement { min-height: 28px; padding: .35rem 1rem; font-size: .58rem; }

/* Cinematic MMORPG hero */
.gf-hero--portal {
    position: relative;
    isolation: isolate;
    min-height: clamp(650px, 76vh, 820px);
    overflow: hidden;
    border-bottom: 1px solid var(--gf-line);
    background-image:
        linear-gradient(90deg, rgba(4, 7, 8, .96) 0%, rgba(4, 7, 8, .78) 42%, rgba(4, 7, 8, .34) 72%, rgba(4, 7, 8, .64) 100%),
        linear-gradient(180deg, rgba(4, 7, 8, .16), rgba(4, 7, 8, .88) 96%),
        var(--gf-hero-image, radial-gradient(circle at 70% 35%, color-mix(in srgb, var(--gf-accent) 14%, var(--gf-surface-raised)), var(--gf-bg) 68%));
    background-position: center;
    background-size: cover;
}

.gf-hero--portal::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--gf-accent) 10%, transparent) 1px, transparent 1px),
        linear-gradient(color-mix(in srgb, var(--gf-accent) 10%, transparent) 1px, transparent 1px);
    background-size: 96px 96px;
    opacity: .16;
    mask-image: linear-gradient(90deg, black, transparent 68%);
}

.gf-hero--portal::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 36%;
    z-index: -1;
    background: linear-gradient(transparent, var(--gf-bg));
    pointer-events: none;
}

.gf-hero__atmosphere {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 76% 30%, color-mix(in srgb, var(--gf-accent-bright) 10%, transparent), transparent 22rem),
        radial-gradient(ellipse at 50% 110%, rgba(0, 0, 0, .65), transparent 52%);
}

.gf-hero__inner--portal {
    width: min(var(--gf-content), calc(100% - 48px));
    min-height: clamp(650px, 76vh, 820px);
    margin: 0 auto;
    padding: clamp(5.5rem, 10vh, 8rem) 0 clamp(6rem, 12vh, 9rem);
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(340px, .72fr);
    align-items: center;
    gap: clamp(3rem, 8vw, 8rem);
}

.gf-hero__content--portal { max-width: 760px; }
.gf-hero__content--portal h1 {
    max-width: 760px;
    margin: 0;
    color: #fff;
    font-size: clamp(3.4rem, 6.5vw, 7.2rem);
    font-weight: 700;
    letter-spacing: -.075em;
    line-height: .96;
    text-wrap: balance;
    text-shadow: 0 12px 48px rgba(0, 0, 0, .48);
}
.gf-hero__lead {
    max-width: 680px;
    margin: 1.65rem 0 0;
    color: rgba(245, 242, 235, .76);
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    line-height: 1.72;
}
.gf-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem;
    margin-top: 2rem;
}
.gf-hero__text-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-height: 46px;
    padding: .55rem .4rem;
    color: rgba(255,255,255,.76);
    font-family: var(--gf-font-display);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-decoration: none;
}
.gf-hero__text-link:hover { color: var(--gf-accent-bright); }
.gf-hero__text-link i { transition: transform var(--gf-transition); }
.gf-hero__text-link:hover i { transform: translateX(3px); }
.gf-hero__traits {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem 1.25rem;
    margin-top: 2.2rem;
    color: rgba(255,255,255,.56);
    font-size: .77rem;
}
.gf-hero__traits span { display: inline-flex; align-items: center; gap: .48rem; }
.gf-hero__traits i { color: var(--gf-accent-bright); }

/* World status card: deliberately resembles a live-world interface rather than a marketing card. */
.gf-world-card {
    position: relative;
    overflow: hidden;
    padding: 1.5rem;
    color: #f3efe7;
    border: 1px solid rgba(234, 211, 159, .24);
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.045), transparent 42%),
        rgba(7, 12, 14, .82);
    box-shadow: 0 30px 90px rgba(0,0,0,.42), inset 0 1px rgba(255,255,255,.05);
    backdrop-filter: blur(18px);
}
.gf-world-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .14;
    background-image:
        linear-gradient(rgba(234, 211, 159, .16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(234, 211, 159, .16) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(145deg, black, transparent 66%);
}
.gf-world-card__header { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.gf-world-card__header h2 { margin: 0; color: #f7f3eb; font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.2; }
.gf-status-chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: .42rem;
    padding: .42rem .62rem;
    color: #e9d9b5;
    border: 1px solid rgba(234, 211, 159, .2);
    border-radius: 999px;
    background: rgba(200, 170, 114, .1);
    font-family: var(--gf-font-display);
    font-size: .58rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.gf-status-chip span,
.gf-footer__status span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d5b979;
    box-shadow: 0 0 0 4px rgba(213,185,121,.1), 0 0 14px rgba(213,185,121,.52);
}
.gf-world-card__summary { position: relative; margin: 1rem 0 1.25rem; color: rgba(243,239,231,.64); font-size: .9rem; line-height: 1.65; }
.gf-world-card__facts { position: relative; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid rgba(234, 211, 159, .14); }
.gf-world-card__facts div { min-width: 0; padding: 1rem .85rem; border-left: 1px solid rgba(234, 211, 159, .12); }
.gf-world-card__facts div:first-child { padding-left: 0; border-left: 0; }
.gf-world-card__facts dt { margin-bottom: .25rem; color: rgba(243,239,231,.42); font-family: var(--gf-font-display); font-size: .55rem; letter-spacing: .1em; text-transform: uppercase; }
.gf-world-card__facts dd { margin: 0; color: #f0ece4; font-size: .76rem; font-weight: 650; line-height: 1.35; }
.gf-world-card__latest {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    padding: .9rem 1rem;
    color: #f0ece4;
    border: 1px solid rgba(234, 211, 159, .12);
    border-radius: 9px;
    background: rgba(255,255,255,.035);
    text-decoration: none;
}
.gf-world-card__latest:hover { color: var(--gf-accent-bright); border-color: rgba(234, 211, 159, .28); background: rgba(200,170,114,.08); }
.gf-world-card__latest span { display: grid; min-width: 0; }
.gf-world-card__latest small { color: rgba(243,239,231,.42); font-family: var(--gf-font-display); font-size: .54rem; letter-spacing: .08em; text-transform: uppercase; }
.gf-world-card__latest strong { overflow: hidden; margin-top: .2rem; font-family: var(--gf-font-body); font-size: .78rem; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }

/* Live-world summary strip */
.gf-world-ribbon {
    position: relative;
    z-index: 4;
    margin-top: -2.65rem;
    padding: 0 24px;
}
.gf-world-ribbon__inner {
    width: min(var(--gf-content), 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    border: 1px solid var(--gf-line);
    border-radius: 12px;
    background: color-mix(in srgb, var(--gf-surface) 94%, transparent);
    box-shadow: 0 24px 70px rgba(0,0,0,.22), inset 0 1px rgba(255,255,255,.035);
    backdrop-filter: blur(18px);
}
.gf-world-ribbon__inner > div { display: flex; align-items: center; gap: .8rem; min-width: 0; padding: 1rem 1.2rem; border-left: 1px solid var(--gf-line); }
.gf-world-ribbon__inner > div:first-child { border-left: 0; }
.gf-world-ribbon i { flex: 0 0 auto; color: var(--gf-accent-bright); font-size: 1.05rem; }
.gf-world-ribbon span { min-width: 0; display: grid; }
.gf-world-ribbon small { color: var(--gf-muted); font-family: var(--gf-font-display); font-size: .54rem; letter-spacing: .09em; text-transform: uppercase; }
.gf-world-ribbon strong { overflow: hidden; color: var(--gf-text); font-size: .78rem; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }

/* Shared modern homepage structure */
.gf-home-section {
    width: min(var(--gf-content), calc(100% - 48px));
    margin: 0 auto;
    padding: var(--gf-section-gap) 0 0;
}
.gf-section-heading { max-width: 800px; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.gf-section-heading h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 4.1rem);
    letter-spacing: -.055em;
    line-height: 1.04;
    text-wrap: balance;
}
.gf-section-heading > p:not(.gf-kicker),
.gf-section-heading > div > p:not(.gf-kicker) { margin: .9rem 0 0; color: var(--gf-muted); line-height: 1.72; }
.gf-section-heading--split {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, .72fr);
    align-items: end;
    gap: clamp(2rem, 8vw, 8rem);
}
.gf-section-heading--split > p { margin: 0 !important; }
.gf-section-heading--actions {
    max-width: none;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
}
.gf-section-heading--actions > div { max-width: 820px; }
.gf-section-heading--actions .btn { flex: 0 0 auto; }

/* Game pillars */
.gf-pillar-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.gf-pillar-card {
    position: relative;
    min-height: 300px;
    overflow: hidden;
    padding: 1.5rem;
    border: 1px solid var(--gf-line);
    border-radius: 12px;
    background:
        linear-gradient(145deg, color-mix(in srgb, var(--gf-accent) 6%, transparent), transparent 40%),
        var(--gf-panel);
    box-shadow: inset 0 1px rgba(255,255,255,.025);
    transition: transform var(--gf-transition), border-color var(--gf-transition), background var(--gf-transition);
}
.gf-pillar-card::after {
    content: "";
    position: absolute;
    inset: auto -18% -34% 28%;
    height: 58%;
    border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--gf-accent) 11%, transparent), transparent 70%);
    pointer-events: none;
}
.gf-pillar-card:hover { transform: translateY(-5px); border-color: var(--gf-line-strong); background-color: var(--gf-surface-raised); }
.gf-pillar-card__icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin-bottom: 1.9rem;
    color: var(--gf-accent-bright);
    border: 1px solid var(--gf-line);
    border-radius: 10px;
    background: color-mix(in srgb, var(--gf-accent) 8%, transparent);
    font-size: 1.25rem;
}
.gf-pillar-card h3 { margin: 0; font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1.25; }
.gf-pillar-card > p:not(.gf-kicker) { margin: .85rem 0 0; color: var(--gf-muted); font-size: .9rem; line-height: 1.7; }
.gf-pillar-card__index { position: absolute; right: 1.2rem; bottom: .9rem; color: color-mix(in srgb, var(--gf-accent) 26%, transparent); font-family: var(--gf-font-display); font-size: 2.3rem; font-weight: 800; letter-spacing: -.08em; }

/* Editorial news */
.gf-news-section--portal { padding-top: var(--gf-section-gap); }
.gf-news-portal { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr); gap: 1rem; }
.gf-news-feature,
.gf-news-compact,
.gf-news-stack__empty {
    border: 1px solid var(--gf-line);
    border-radius: 12px;
    background: var(--gf-panel);
    box-shadow: inset 0 1px rgba(255,255,255,.025);
}
.gf-news-feature { overflow: hidden; }
.gf-news-feature__media { position: relative; display: block; aspect-ratio: 16 / 8.2; overflow: hidden; border-bottom: 1px solid var(--gf-line); background: var(--gf-surface-raised); }
.gf-news-feature__media img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 420ms ease; }
.gf-news-feature:hover .gf-news-feature__media img { transform: scale(1.025); }
.gf-news-feature__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 44%, rgba(3,6,7,.55)); }
.gf-news-feature__placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: var(--gf-accent); font-size: 3rem; background: radial-gradient(circle, color-mix(in srgb, var(--gf-accent) 12%, transparent), transparent 64%); }
.gf-news-feature__label { position: absolute; left: 1rem; bottom: 1rem; z-index: 2; padding: .42rem .58rem; color: #20180f; border-radius: 6px; background: var(--gf-accent-bright); font-family: var(--gf-font-display); font-size: .56rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.gf-news-feature__copy { padding: clamp(1.5rem, 3vw, 2.25rem); }
.gf-news-feature__copy h3 { margin: .4rem 0 .8rem; font-size: clamp(1.55rem, 2.5vw, 2.5rem); line-height: 1.12; }
.gf-news-feature__copy h3 a,
.gf-news-compact h3 a { color: var(--gf-text); text-decoration: none; }
.gf-news-feature__copy h3 a:hover,
.gf-news-compact h3 a:hover { color: var(--gf-accent-bright); }
.gf-news-feature__copy > p:not(.gf-meta) { margin: 0; color: var(--gf-muted); line-height: 1.75; }
.gf-meta { margin: 0; color: var(--gf-accent); font-size: .59rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.gf-news-stack { display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.gf-news-compact { min-height: 0; display: grid; grid-template-columns: 150px minmax(0, 1fr); overflow: hidden; transition: transform var(--gf-transition), border-color var(--gf-transition); }
.gf-news-compact:hover { transform: translateX(3px); border-color: var(--gf-line-strong); }
.gf-news-compact__media { min-height: 100%; display: block; overflow: hidden; border-right: 1px solid var(--gf-line); background: var(--gf-surface-raised); }
.gf-news-compact__media img { width: 100%; height: 100%; min-height: 150px; display: block; object-fit: cover; }
.gf-news-compact__media > span { width: 100%; height: 100%; min-height: 150px; display: grid; place-items: center; color: var(--gf-accent); font-size: 1.5rem; }
.gf-news-compact__copy { position: relative; min-width: 0; padding: 1.1rem 3rem 1.1rem 1.15rem; }
.gf-news-compact h3 { margin: .3rem 0 .45rem; font-size: 1rem; line-height: 1.3; }
.gf-news-compact__copy > p:not(.gf-meta) { margin: 0; color: var(--gf-muted); font-size: .78rem; line-height: 1.55; }
.gf-news-compact__copy > a:last-child { position: absolute; right: 1rem; bottom: 1rem; width: 30px; height: 30px; display: grid; place-items: center; color: var(--gf-muted); border: 1px solid var(--gf-line); border-radius: 7px; text-decoration: none; }
.gf-news-compact__copy > a:last-child:hover { color: var(--gf-accent-bright); border-color: var(--gf-line-strong); }
.gf-news-stack__empty { display: grid; place-items: center; align-content: center; min-height: 160px; padding: 2rem; color: var(--gf-muted); text-align: center; }
.gf-news-stack__empty i { color: var(--gf-accent); font-size: 1.8rem; }
.gf-empty-state--portal { padding: 4rem; border: 1px dashed var(--gf-line); border-radius: 12px; background: var(--gf-panel); }

/* Development feature: one premium gold frame, used intentionally. */
.gf-development-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(420px, .94fr);
    overflow: hidden;
    border: 1px solid var(--gf-line-strong);
    border-radius: 13px;
    background: var(--gf-panel);
    box-shadow: 0 34px 100px rgba(0,0,0,.26), inset 0 1px rgba(255,255,255,.035);
}
.gf-development-panel::before,
.gf-development-panel::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    z-index: 3;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gf-accent), var(--gf-accent-bright), var(--gf-accent), transparent);
    opacity: .85;
}
.gf-development-panel::before { top: 0; }
.gf-development-panel::after { bottom: 0; }
.gf-development-panel__copy { position: relative; z-index: 2; padding: clamp(2.5rem, 5vw, 5.5rem); }
.gf-development-panel__copy h2 { max-width: 680px; margin: 0; font-size: clamp(2rem, 4vw, 4.2rem); line-height: 1.03; }
.gf-development-panel__copy > p:not(.gf-kicker) { max-width: 650px; margin: 1.2rem 0 0; color: var(--gf-muted); line-height: 1.75; }
.gf-development-panel__note { display: flex; align-items: center; gap: .7rem; margin-top: 2rem; padding-top: 1.25rem; color: var(--gf-muted); border-top: 1px solid var(--gf-line); font-size: .78rem; }
.gf-development-panel__note i { color: var(--gf-accent-bright); }
.gf-development-panel__art {
    position: relative;
    min-height: 520px;
    background-image:
        linear-gradient(90deg, var(--gf-panel), transparent 34%),
        linear-gradient(0deg, rgba(4,7,8,.72), transparent 42%),
        var(--gf-feature-image, radial-gradient(circle at 55% 45%, color-mix(in srgb, var(--gf-accent) 14%, var(--gf-surface-raised)), var(--gf-bg)));
    background-position: center;
    background-size: cover;
}
.gf-development-panel__art::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(234,211,159,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(234,211,159,.08) 1px, transparent 1px); background-size: 64px 64px; opacity: .2; }
.gf-development-panel__caption { position: absolute; left: 2rem; right: 2rem; bottom: 2rem; z-index: 2; display: grid; padding: 1rem 1.1rem; border: 1px solid rgba(234,211,159,.18); border-radius: 9px; background: rgba(5,9,10,.76); backdrop-filter: blur(12px); }
.gf-development-panel__caption span { color: rgba(255,255,255,.44); font-family: var(--gf-font-display); font-size: .55rem; letter-spacing: .1em; text-transform: uppercase; }
.gf-development-panel__caption strong { color: #f2eee7; font-size: .86rem; font-weight: 650; }

/* Configurable action panels */
.gf-callout-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.gf-callout-grid--single { grid-template-columns: 1fr; }
.gf-callout-panel {
    position: relative;
    min-height: 280px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
    padding: clamp(1.6rem, 3.5vw, 2.6rem);
    border: 1px solid var(--gf-line);
    border-radius: 12px;
    background:
        radial-gradient(circle at 95% 5%, color-mix(in srgb, var(--gf-accent) 12%, transparent), transparent 18rem),
        var(--gf-panel);
}
.gf-callout-panel:nth-child(even) { background: radial-gradient(circle at 0 100%, color-mix(in srgb, var(--gf-accent) 10%, transparent), transparent 18rem), var(--gf-panel); }
.gf-callout-panel__mark { position: absolute; right: 1.25rem; top: .6rem; color: color-mix(in srgb, var(--gf-accent) 11%, transparent); font-family: var(--gf-font-display); font-size: clamp(5rem, 11vw, 9rem); font-weight: 850; letter-spacing: -.12em; line-height: 1; pointer-events: none; }
.gf-promo-copy { position: relative; z-index: 2; max-width: 680px; }
.gf-promo-copy h3 { margin: 0; font-size: clamp(1.45rem, 2.5vw, 2.45rem); line-height: 1.1; }
.gf-promo-copy > p:not(.gf-kicker) { margin: .85rem 0 0; color: var(--gf-muted); line-height: 1.7; }
.gf-promo-actions { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: .65rem; }

/* Final conversion area */
.gf-final-cta { margin-top: var(--gf-section-gap); padding: 0 24px clamp(5rem, 10vw, 9rem); }
.gf-final-cta__inner {
    width: min(var(--gf-content), 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: clamp(2rem, 5vw, 4rem);
    border: 1px solid var(--gf-line);
    border-radius: 14px;
    background:
        linear-gradient(105deg, color-mix(in srgb, var(--gf-accent) 8%, transparent), transparent 58%),
        var(--gf-panel);
    box-shadow: inset 0 1px rgba(255,255,255,.03);
}
.gf-final-cta h2 { max-width: 820px; margin: 0; font-size: clamp(2rem, 4vw, 4rem); line-height: 1.04; }
.gf-final-cta p:not(.gf-kicker) { margin: .9rem 0 0; color: var(--gf-muted); }
.gf-final-cta__actions { flex: 0 0 auto; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .65rem; }

/* Footer */
.gf-footer { margin-top: 0; }
.gf-footer__grid { grid-template-columns: minmax(0, 1.6fr) minmax(180px, .7fr) minmax(220px, .8fr); padding: 4.5rem 0 3.5rem; }
.gf-footer__logo { display: inline-flex !important; margin: 0 0 1.25rem !important; }
.gf-footer__logo img { display: block; width: auto; height: auto; max-width: min(var(--gf-logo-width, 330px), 220px, 100%); max-height: min(var(--gf-logo-height, 58px), 58px); object-fit: contain; object-position: left center; }
.gf-footer__brand p { margin: 0; color: var(--gf-footer-muted); }
.gf-footer__status { width: fit-content; display: inline-flex; align-items: center; gap: .55rem; margin-top: 1.1rem; padding: .5rem .7rem; color: var(--gf-footer-text); border: 1px solid var(--gf-footer-line); border-radius: 999px; font-family: var(--gf-font-display); font-size: .58rem; letter-spacing: .05em; }
.gf-footer__legal { align-items: center; }

/* Content and editorial pages receive the same modern visual system. */
.gf-app-main { padding-top: clamp(2.5rem, 6vw, 5.5rem); }
.gf-posts-page .gf-scroll,
.gf-content-page .gf-scroll {
    border: 1px solid var(--gf-line);
    border-radius: 13px;
    color: var(--gf-text);
    background: var(--gf-panel);
    box-shadow: 0 28px 80px rgba(0,0,0,.2), inset 0 1px rgba(255,255,255,.025);
}
.gf-posts-page .gf-scroll::before,
.gf-posts-page .gf-scroll::after,
.gf-content-page .gf-scroll::before,
.gf-content-page .gf-scroll::after { display: none; }
.gf-posts-page .gf-scroll h1,
.gf-posts-page .gf-scroll h2,
.gf-posts-page .gf-scroll h3,
.gf-content-page .gf-scroll h1,
.gf-content-page .gf-scroll h2,
.gf-content-page .gf-scroll h3 { color: var(--gf-text); }
.gf-posts-page .gf-news-item h2 a,
.gf-posts-page .gf-news-item h3 a { color: var(--gf-text); }
.gf-posts-page .gf-news-item p:not(.gf-meta),
.gf-content-page .gf-article__body { color: var(--gf-muted); }
.gf-posts-page .gf-scroll__lead,
.gf-posts-page .gf-empty-state p { color: var(--gf-muted); }
.gf-posts-page .gf-news-item { border-color: var(--gf-line); }
.gf-posts-page .gf-news-item__image { border-color: var(--gf-line); background: var(--gf-surface-raised); }
.gf-posts-page .gf-posts-search .form-control { color: var(--gf-input-text); border-color: var(--gf-input-border); background: var(--gf-input-bg); }
.gf-content-page .gf-article__header,
.gf-posts-page .gf-article__header { border-color: var(--gf-line); }
.gf-posts-page .gf-article__body,
.gf-content-page .gf-article__body { color: var(--gf-text); }
.gf-posts-page .gf-article__body p,
.gf-content-page .gf-article__body p { color: var(--gf-muted); }

[data-gf-theme="tan"] .gf-hero--portal {
    background-image:
        linear-gradient(90deg, rgba(40, 31, 20, .94) 0%, rgba(40, 31, 20, .72) 44%, rgba(40, 31, 20, .28) 74%, rgba(40, 31, 20, .58) 100%),
        linear-gradient(180deg, rgba(40,31,20,.1), rgba(40,31,20,.82) 96%),
        var(--gf-hero-image, radial-gradient(circle at 70% 35%, #a88d5f, #4a3d2e 68%));
}
[data-gf-theme="tan"] .gf-world-card { background: rgba(48, 38, 25, .82); }
[data-gf-theme="tan"] .gf-hero--portal::after { background: linear-gradient(transparent, var(--gf-bg)); }
[data-gf-theme="tan"] .gf-development-panel__art { background-image: linear-gradient(90deg, var(--gf-panel), transparent 34%), linear-gradient(0deg, rgba(45,34,22,.68), transparent 42%), var(--gf-feature-image, radial-gradient(circle at 55% 45%, #c6aa74, #6b5437)); }

@media (max-width: 1180px) {
    .gf-hero__inner--portal { grid-template-columns: minmax(0, 1fr) minmax(310px, .66fr); gap: 3rem; }
    .gf-pillar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gf-news-portal { grid-template-columns: minmax(0, 1.05fr) minmax(330px, .95fr); }
    .gf-development-panel { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
    .gf-header { position: relative; }
    .gf-navbar { min-height: 64px; }
    .gf-brand img { width: auto; height: auto; max-width: min(var(--gf-logo-width, 330px), 142px); }
    .gf-navigation { top: 100%; }
    .gf-hero--portal,
    .gf-hero__inner--portal { min-height: auto; }
    .gf-hero__inner--portal { grid-template-columns: 1fr; padding-top: 5rem; padding-bottom: 7rem; }
    .gf-hero__content--portal { max-width: 800px; }
    .gf-world-card { width: min(620px, 100%); }
    .gf-world-ribbon { margin-top: -2rem; }
    .gf-world-ribbon__inner { grid-template-columns: repeat(2, 1fr); }
    .gf-world-ribbon__inner > div:nth-child(3) { border-left: 0; border-top: 1px solid var(--gf-line); }
    .gf-world-ribbon__inner > div:nth-child(4) { border-top: 1px solid var(--gf-line); }
    .gf-section-heading--split { grid-template-columns: 1fr; align-items: start; gap: 1rem; }
    .gf-news-portal { grid-template-columns: 1fr; }
    .gf-news-stack { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: none; }
    .gf-news-compact { grid-template-columns: 1fr; }
    .gf-news-compact__media { min-height: 140px; border-right: 0; border-bottom: 1px solid var(--gf-line); }
    .gf-news-compact__media img,
    .gf-news-compact__media > span { height: 140px; min-height: 140px; }
    .gf-development-panel { grid-template-columns: 1fr; }
    .gf-development-panel__art { min-height: 420px; order: -1; }
    .gf-development-panel__art { background-image: linear-gradient(0deg, var(--gf-panel), transparent 38%), linear-gradient(0deg, rgba(4,7,8,.5), transparent 62%), var(--gf-feature-image, radial-gradient(circle at 55% 45%, color-mix(in srgb, var(--gf-accent) 14%, var(--gf-surface-raised)), var(--gf-bg))); }
    .gf-final-cta__inner { align-items: flex-start; flex-direction: column; }
    .gf-final-cta__actions { justify-content: flex-start; }
}

@media (max-width: 720px) {
    .gf-navbar { width: calc(100% - 24px); }
    .gf-hero__inner--portal { width: calc(100% - 28px); padding-top: 4rem; padding-bottom: 6rem; }
    .gf-hero__content--portal h1 { font-size: clamp(2.8rem, 15vw, 4.8rem); }
    .gf-hero__lead { font-size: 1rem; }
    .gf-hero__traits { display: grid; gap: .55rem; }
    .gf-world-card__header { align-items: flex-start; flex-direction: column; }
    .gf-world-card__facts { grid-template-columns: 1fr; }
    .gf-world-card__facts div { padding: .85rem 0; border-left: 0; border-top: 1px solid rgba(234, 211, 159, .12); }
    .gf-world-card__facts div:first-child { border-top: 0; }
    .gf-world-ribbon { padding-inline: 14px; }
    .gf-world-ribbon__inner { grid-template-columns: 1fr; }
    .gf-world-ribbon__inner > div { border-left: 0; border-top: 1px solid var(--gf-line); }
    .gf-world-ribbon__inner > div:first-child { border-top: 0; }
    .gf-home-section { width: calc(100% - 28px); }
    .gf-section-heading--actions { align-items: flex-start; flex-direction: column; }
    .gf-pillar-grid { grid-template-columns: 1fr; }
    .gf-pillar-card { min-height: 280px; }
    .gf-news-feature__media { aspect-ratio: 16 / 10; }
    .gf-news-stack { grid-template-columns: 1fr; }
    .gf-news-compact { grid-template-columns: 120px minmax(0, 1fr); }
    .gf-news-compact__media { min-height: 100%; border-right: 1px solid var(--gf-line); border-bottom: 0; }
    .gf-news-compact__media img,
    .gf-news-compact__media > span { height: 100%; min-height: 135px; }
    .gf-development-panel__copy { padding: 2rem 1.35rem 2.4rem; }
    .gf-development-panel__art { min-height: 300px; }
    .gf-development-panel__caption { left: 1rem; right: 1rem; bottom: 1rem; }
    .gf-callout-grid { grid-template-columns: 1fr; }
    .gf-final-cta { padding-inline: 14px; }
    .gf-final-cta__inner { padding: 2rem 1.35rem; }
    .gf-final-cta__actions .btn { width: 100%; }
    .gf-footer__grid { grid-template-columns: 1fr; }
    .gf-footer__legal { align-items: flex-start; }
}

@media (max-width: 480px) {
    .gf-hero__actions .btn { width: 100%; }
    .gf-hero__text-link { width: 100%; }
    .gf-news-compact { grid-template-columns: 1fr; }
    .gf-news-compact__media { border-right: 0; border-bottom: 1px solid var(--gf-line); }
    .gf-promo-actions .btn { width: 100%; }
}

/* Homepage retains its floating in-world masthead, while internal pages use the sticky header. */
.gf-home .gf-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: .75rem 18px 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}
.gf-home .gf-announcement + .gf-header { top: 28px; }
.gf-home .gf-nav-shell {
    width: min(var(--gf-content), 100%);
    margin: 0 auto;
    border: 1px solid rgba(234, 211, 159, .18);
    border-radius: 10px;
    background: rgba(6, 10, 12, .72);
    box-shadow: 0 18px 48px rgba(0,0,0,.26), inset 0 1px rgba(255,255,255,.035);
    backdrop-filter: blur(20px) saturate(120%);
}
.gf-home .gf-navbar { width: calc(100% - 24px); min-height: 64px; }
.gf-home .gf-brand img { max-height: min(var(--gf-logo-height, 58px), 42px); }
[data-gf-theme="tan"] .gf-home .gf-nav-shell { background: rgba(45, 35, 23, .74); }

@media (max-width: 960px) {
    .gf-home .gf-header { padding-inline: 12px; }
    .gf-home .gf-navbar { min-height: 62px; }
}


/* Guardfall 0.5.2 refinement pass
   Tightens the homepage rhythm, restores a dark editorial surface and gives the
   world pillars more Guardfall-specific map/interface character. */

.gf-skip-link {
    top: 1rem;
    left: 1rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(-100% - 2rem));
    color: #f3efe7;
    border: 1px solid rgba(234, 211, 159, .34);
    background: rgba(5, 9, 10, .96);
    box-shadow: 0 12px 34px rgba(0, 0, 0, .42);
    font-family: var(--gf-font-display);
    font-size: .68rem;
    font-weight: 750;
    letter-spacing: .05em;
    text-decoration: none;
    transition: transform 150ms ease, opacity 150ms ease;
}
.gf-skip-link:focus,
.gf-skip-link:focus-visible {
    top: 1rem;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    outline: 2px solid var(--gf-accent-bright);
    outline-offset: 3px;
}
.gf-skip-link:focus:not(:focus-visible) {
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(-100% - 2rem));
    outline: 0;
}

.gf-world-section {
    position: relative;
}
.gf-world-section::before {
    content: "WORLD / 01";
    position: absolute;
    top: calc(var(--gf-section-gap) + .25rem);
    right: 0;
    color: color-mix(in srgb, var(--gf-accent) 16%, transparent);
    font-family: var(--gf-font-display);
    font-size: clamp(2.4rem, 7vw, 6.6rem);
    font-weight: 850;
    letter-spacing: -.1em;
    line-height: 1;
    pointer-events: none;
}
.gf-world-section .gf-section-heading,
.gf-world-section .gf-pillar-grid {
    position: relative;
    z-index: 1;
}

.gf-section-heading h2 {
    max-width: 980px;
    font-size: clamp(2rem, 3.7vw, 3.8rem);
    letter-spacing: -.05em;
}
.gf-section-heading--split {
    gap: clamp(2rem, 6vw, 6rem);
}

.gf-pillar-card {
    isolation: isolate;
    padding: 1.55rem 1.55rem 1.45rem;
    background:
        linear-gradient(145deg, color-mix(in srgb, var(--gf-accent) 7%, transparent), transparent 42%),
        linear-gradient(180deg, color-mix(in srgb, var(--gf-surface-raised) 24%, transparent), transparent 55%),
        var(--gf-panel);
}
.gf-pillar-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .22;
    background-image:
        linear-gradient(color-mix(in srgb, var(--gf-accent) 10%, transparent) 1px, transparent 1px),
        linear-gradient(90deg, color-mix(in srgb, var(--gf-accent) 10%, transparent) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(145deg, black, transparent 68%);
}
.gf-pillar-card::after {
    inset: auto -12% -29% 18%;
    height: 60%;
}
.gf-pillar-card__motif {
    position: absolute;
    right: -1.05rem;
    top: 1.5rem;
    z-index: -1;
    color: color-mix(in srgb, var(--gf-accent) 10%, transparent);
    font-size: clamp(5.5rem, 9vw, 8.8rem);
    line-height: 1;
    transform: rotate(-7deg);
    transition: color var(--gf-transition), transform 260ms ease;
}
.gf-pillar-card--fight .gf-pillar-card__motif { top: auto; bottom: 1rem; transform: rotate(8deg); }
.gf-pillar-card--progress .gf-pillar-card__motif { right: -.3rem; transform: rotate(-13deg); }
.gf-pillar-card--belong .gf-pillar-card__motif { top: auto; bottom: .2rem; transform: rotate(5deg); }
.gf-pillar-card:hover .gf-pillar-card__motif {
    color: color-mix(in srgb, var(--gf-accent) 17%, transparent);
    transform: rotate(0deg) scale(1.035);
}
.gf-pillar-card__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.8rem;
    border-radius: 8px;
    background:
        linear-gradient(145deg, color-mix(in srgb, var(--gf-accent) 14%, transparent), transparent),
        color-mix(in srgb, var(--gf-bg) 72%, transparent);
    box-shadow: inset 0 1px rgba(255, 255, 255, .04);
}
.gf-pillar-card h3 {
    max-width: 250px;
}
.gf-pillar-card > p:not(.gf-kicker) {
    max-width: 290px;
}
.gf-pillar-card__index {
    right: 1.35rem;
    bottom: .75rem;
    font-size: 2rem;
}

/* The old .gf-news-section rule used --gf-bg-soft, which became a flat grey slab.
   This is now an intentional dark editorial chamber with its own internal rhythm. */
.gf-news-section--portal {
    position: relative;
    overflow: hidden;
    margin-top: var(--gf-section-gap);
    padding: clamp(2.4rem, 4.7vw, 4rem);
    border: 1px solid var(--gf-line);
    border-radius: 16px;
    background:
        radial-gradient(circle at 0 0, color-mix(in srgb, var(--gf-accent) 7%, transparent), transparent 28rem),
        linear-gradient(145deg, color-mix(in srgb, var(--gf-surface-raised) 38%, transparent), transparent 55%),
        color-mix(in srgb, var(--gf-bg) 76%, var(--gf-surface) 24%);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .2), inset 0 1px rgba(255, 255, 255, .025);
}
.gf-news-section--portal::before {
    content: "JOURNAL / LIVE";
    position: absolute;
    right: clamp(1.5rem, 4vw, 4rem);
    top: 1.25rem;
    color: color-mix(in srgb, var(--gf-accent) 12%, transparent);
    font-family: var(--gf-font-display);
    font-size: clamp(2rem, 5vw, 5rem);
    font-weight: 850;
    letter-spacing: -.09em;
    line-height: 1;
    pointer-events: none;
}
.gf-news-section--portal > * {
    position: relative;
    z-index: 1;
}
.gf-news-section--portal .gf-section-heading {
    margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
}
.gf-news-feature,
.gf-news-compact,
.gf-news-stack__empty {
    background:
        linear-gradient(145deg, color-mix(in srgb, var(--gf-accent) 3.5%, transparent), transparent 42%),
        color-mix(in srgb, var(--gf-panel) 94%, black 6%);
}
.gf-news-feature__media {
    aspect-ratio: 16 / 8.8;
}
.gf-news-feature__copy {
    padding: clamp(1.4rem, 2.7vw, 2rem);
}
.gf-news-feature__copy h3 {
    font-size: clamp(1.45rem, 2.25vw, 2.25rem);
}
.gf-news-compact {
    grid-template-columns: 158px minmax(0, 1fr);
}
.gf-news-compact__copy > p:not(.gf-meta) {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    overflow: hidden;
}

.gf-development-section {
    padding-top: var(--gf-section-gap);
}
.gf-development-panel {
    grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
}
.gf-development-panel__copy {
    padding: clamp(2.35rem, 4.5vw, 4.7rem);
}
.gf-development-panel__copy h2 {
    font-size: clamp(2rem, 3.6vw, 3.75rem);
}
.gf-development-panel__art {
    min-height: 450px;
    background-position: center 42%;
}
.gf-development-panel__art::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(circle at 72% 18%, color-mix(in srgb, var(--gf-accent-bright) 9%, transparent), transparent 17rem),
        linear-gradient(90deg, color-mix(in srgb, var(--gf-panel) 96%, transparent), transparent 26%);
}
.gf-development-panel__caption {
    z-index: 3;
    max-width: 420px;
}
.gf-development-panel__note {
    max-width: 600px;
}

.gf-final-cta {
    margin-top: var(--gf-section-gap);
    padding-bottom: clamp(4.5rem, 8vw, 7rem);
}
.gf-final-cta__inner {
    background:
        radial-gradient(circle at 92% 14%, color-mix(in srgb, var(--gf-accent) 10%, transparent), transparent 20rem),
        linear-gradient(105deg, color-mix(in srgb, var(--gf-accent) 7%, transparent), transparent 58%),
        var(--gf-panel);
}

[data-gf-theme="tan"] .gf-news-section--portal {
    background:
        radial-gradient(circle at 0 0, color-mix(in srgb, var(--gf-accent) 12%, transparent), transparent 28rem),
        linear-gradient(145deg, rgba(255, 255, 255, .16), transparent 55%),
        color-mix(in srgb, var(--gf-surface) 90%, var(--gf-bg) 10%);
}

@media (max-width: 1180px) {
    .gf-development-panel {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 960px) {
    .gf-world-section::before {
        top: calc(var(--gf-section-gap) + 1rem);
        font-size: 4rem;
    }
    .gf-news-section--portal {
        padding: clamp(2rem, 5vw, 3rem);
    }
    .gf-development-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .gf-world-section::before,
    .gf-news-section--portal::before {
        display: none;
    }
    .gf-news-section--portal {
        width: calc(100% - 28px);
        padding: 1.5rem;
        border-radius: 13px;
    }
    .gf-pillar-card {
        min-height: 250px;
    }
    .gf-pillar-card__motif {
        font-size: 7rem;
    }
    .gf-development-panel__art {
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    .gf-news-section--portal {
        padding: 1.2rem;
    }
}

/* Guardfall 0.5.3 — restored four-palette system and icon contrast hardening */
[data-gf-theme="classic"] {
    --gf-bg-soft: color-mix(in srgb, var(--gf-bg) 84%, white 16%);
    --gf-panel: color-mix(in srgb, var(--gf-surface) 94%, black 6%);
    --gf-panel-soft: color-mix(in srgb, var(--gf-surface-raised) 86%, transparent);
    --gf-header: color-mix(in srgb, var(--gf-bg) 88%, transparent);
    --gf-line: color-mix(in srgb, var(--gf-accent) 27%, transparent);
    --gf-line-strong: color-mix(in srgb, var(--gf-accent) 58%, transparent);
    --gf-button-ink: #1e170b;
    --gf-scroll-bg: #29282b;
    --gf-scroll-bg-raised: #39373c;
    --gf-scroll-ink: #f2eee7;
    --gf-scroll-muted: #b8b0a6;
    --gf-scroll-line: color-mix(in srgb, var(--gf-accent) 40%, transparent);
    --gf-scroll-edge: #d0a344;
    --gf-scroll-edge-dark: #75551f;
    --gf-scroll-shadow: 0 32px 96px rgba(0, 0, 0, .46);
    --gf-input-bg: #171719;
    --gf-input-text: var(--gf-text);
    --gf-input-border: color-mix(in srgb, var(--gf-accent) 30%, transparent);
    --gf-hero-link-bg: rgba(11, 11, 12, .82);
    --gf-footer-bg: #070707;
    --gf-footer-text: #ded9d0;
    --gf-footer-muted: #aaa298;
    --gf-footer-heading: #f0c65a;
    --gf-footer-line: rgba(240, 198, 90, .19);
    --gf-icon-color: #d8aa4b;
    --gf-icon-soft: rgba(216, 170, 75, .12);
    color-scheme: dark;
}

[data-gf-theme="blue"] {
    --gf-bg-soft: color-mix(in srgb, var(--gf-bg) 82%, white 18%);
    --gf-panel: color-mix(in srgb, var(--gf-surface) 95%, black 5%);
    --gf-panel-soft: color-mix(in srgb, var(--gf-surface-raised) 86%, transparent);
    --gf-header: color-mix(in srgb, var(--gf-bg) 88%, transparent);
    --gf-line: color-mix(in srgb, var(--gf-accent) 25%, transparent);
    --gf-line-strong: color-mix(in srgb, var(--gf-accent) 56%, transparent);
    --gf-button-ink: #18140d;
    --gf-scroll-bg: #132a3d;
    --gf-scroll-bg-raised: #1e3a52;
    --gf-scroll-ink: #edf3f6;
    --gf-scroll-muted: #aebdca;
    --gf-scroll-line: color-mix(in srgb, var(--gf-accent) 34%, transparent);
    --gf-scroll-edge: #c7a65f;
    --gf-scroll-edge-dark: #70592d;
    --gf-scroll-shadow: 0 32px 96px rgba(1, 8, 16, .48);
    --gf-input-bg: #091725;
    --gf-input-text: var(--gf-text);
    --gf-input-border: color-mix(in srgb, var(--gf-accent) 27%, transparent);
    --gf-hero-link-bg: rgba(5, 16, 28, .8);
    --gf-footer-bg: #040b12;
    --gf-footer-text: #d7e1e8;
    --gf-footer-muted: #a0b0bc;
    --gf-footer-heading: #efd183;
    --gf-footer-line: rgba(239, 209, 131, .18);
    --gf-icon-color: #d9b96d;
    --gf-icon-soft: rgba(217, 185, 109, .11);
    color-scheme: dark;
}

[data-gf-theme="midnight"] {
    --gf-icon-color: #d7bc84;
    --gf-icon-soft: rgba(215, 188, 132, .11);
}

[data-gf-theme="tan"] {
    --gf-icon-color: #765022;
    --gf-icon-soft: rgba(118, 80, 34, .11);
}

/* Four-theme picker */
.gf-theme-picker { flex: 0 0 auto; }
.gf-theme-toggle.dropdown-toggle::after { display: none; }
.gf-theme-toggle > .bi {
    display: inline-grid;
    place-items: center;
    width: 1.15rem;
    height: 1.15rem;
    color: inherit;
    font-size: 1rem;
    line-height: 1;
}
.gf-theme-menu {
    width: min(340px, calc(100vw - 28px));
    padding: .55rem;
}
.gf-theme-menu__heading {
    padding: .45rem .65rem .55rem;
    color: var(--gf-muted);
    font-size: .62rem;
    font-weight: 850;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.gf-theme-option {
    width: 100%;
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) 20px;
    gap: .7rem;
    align-items: center;
    padding: .68rem;
    border: 0;
    text-align: left;
}
.gf-theme-option__copy {
    min-width: 0;
    display: grid;
    gap: .12rem;
}
.gf-theme-option__copy strong {
    color: var(--gf-text);
    font-size: .74rem;
    font-weight: 800;
    line-height: 1.25;
}
.gf-theme-option__copy small {
    color: var(--gf-muted);
    font-family: var(--gf-font-body, Inter, sans-serif);
    font-size: .7rem;
    line-height: 1.35;
}
.gf-theme-option__check {
    visibility: hidden;
    color: var(--gf-accent-bright);
    font-size: 1rem;
}
.gf-theme-option.active .gf-theme-option__check { visibility: visible; }
.gf-theme-swatch {
    width: 30px;
    height: 30px;
    display: block;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 7px;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.18);
}
.gf-theme-swatch--midnight { background: linear-gradient(135deg, #070c10 0 60%, #c8aa72 60%); }
.gf-theme-swatch--classic { background: linear-gradient(135deg, #242326 0 60%, #f0c65a 60%); }
.gf-theme-swatch--blue { background: linear-gradient(135deg, #0e2132 0 60%, #caa85e 60%); }
.gf-theme-swatch--tan { background: linear-gradient(135deg, #dfcba4 0 60%, #8c6336 60%); }

/* Bootstrap Icons inherit through pseudo-elements. Explicit foregrounds prevent
   light-palette utility rules from washing out or clipping the icon glyphs. */
.guardfall-site .bi {
    color: inherit;
    opacity: 1;
    text-shadow: none;
}
.guardfall-site .bi::before {
    color: inherit;
    opacity: 1;
    font-family: bootstrap-icons !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 1;
    text-shadow: none;
    vertical-align: -.125em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.gf-world-ribbon i,
.gf-pillar-card__icon,
.gf-development-panel__note i,
.gf-news-stack__empty i,
.gf-news-feature__placeholder,
.gf-news-compact__media > span {
    color: var(--gf-icon-color, var(--gf-accent));
}
.gf-pillar-card__icon {
    border-color: color-mix(in srgb, var(--gf-icon-color, var(--gf-accent)) 30%, transparent);
    background:
        linear-gradient(145deg, color-mix(in srgb, var(--gf-icon-color, var(--gf-accent)) 15%, transparent), transparent),
        color-mix(in srgb, var(--gf-bg) 72%, transparent);
}
[data-gf-theme="tan"] .gf-pillar-card__icon {
    background:
        linear-gradient(145deg, rgba(118, 80, 34, .13), transparent),
        rgba(255, 248, 229, .5);
}
[data-gf-theme="tan"] .gf-pillar-card__motif {
    color: rgba(103, 70, 31, .13);
}
[data-gf-theme="tan"] .gf-pillar-card:hover .gf-pillar-card__motif {
    color: rgba(103, 70, 31, .19);
}
[data-gf-theme="tan"] .gf-news-compact__copy > a:last-child,
[data-gf-theme="tan"] .gf-theme-toggle {
    color: #5e421f;
}

/* Theme-specific portal atmosphere. */
[data-gf-theme="classic"] body.guardfall-site {
    background:
        radial-gradient(circle at 50% -10rem, rgba(199, 155, 66, .13), transparent 54rem),
        linear-gradient(180deg, #171618, var(--gf-bg));
}
[data-gf-theme="blue"] body.guardfall-site {
    background:
        radial-gradient(circle at 50% -10rem, rgba(77, 126, 170, .2), transparent 58rem),
        linear-gradient(180deg, #0d2031, var(--gf-bg));
}
[data-gf-theme="classic"] .gf-news-section--portal {
    background:
        radial-gradient(circle at 0 0, rgba(240, 198, 90, .08), transparent 28rem),
        linear-gradient(145deg, rgba(255, 255, 255, .025), transparent 55%),
        color-mix(in srgb, var(--gf-surface) 91%, var(--gf-bg) 9%);
}
[data-gf-theme="blue"] .gf-news-section--portal {
    background:
        radial-gradient(circle at 0 0, rgba(89, 143, 190, .13), transparent 30rem),
        linear-gradient(145deg, rgba(255, 255, 255, .025), transparent 55%),
        color-mix(in srgb, var(--gf-surface) 91%, var(--gf-bg) 9%);
}

@media (max-width: 575.98px) {
    .gf-theme-menu { width: min(320px, calc(100vw - 20px)); }
    .gf-theme-option__copy small { display: none; }
}

/* ========================================================================== */
/* Guardfall 0.6.8 — modern MMORPG portal, inspired by early-2010s game sites */
/* ========================================================================== */

:root {
    --gf-portal-width: 1180px;
    --gf-portal-edge: color-mix(in srgb, var(--gf-accent) 42%, #332413 58%);
    --gf-portal-edge-bright: color-mix(in srgb, var(--gf-accent-bright) 58%, #fff 6%);
    --gf-portal-inset: color-mix(in srgb, var(--gf-bg) 75%, black 25%);
}

/* Radish Roles public-presentation bridge. The theme owns visual rendering;
 * the plugin remains the source of crowns, titles, badges and username styles. */
.gf-user-identity {
    min-width: 0;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    vertical-align: middle;
}
.gf-user-identity__avatar {
    flex: 0 0 auto;
    border: 1px solid var(--gf-line-strong);
    border-radius: 7px;
    object-fit: cover;
    background: var(--gf-surface-raised);
}
.gf-user-identity__body {
    min-width: 0;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}
.gf-user-identity__name-row {
    min-width: 0;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    gap: .32rem;
}
.gf-user-identity__name {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    color: var(--gf-text);
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.gf-user-identity__crown {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,.32));
}
.gf-user-identity__title,
.gf-user-identity__secondary {
    max-width: 100%;
    overflow: hidden;
    color: var(--gf-muted);
    font-size: .66rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.gf-user-identity__badges {
    display: flex;
    flex-wrap: wrap;
    gap: .28rem;
    margin-top: .28rem;
}
.gf-public-role-badge {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    min-height: 20px;
    padding: .12rem .4rem;
    border: 1px solid var(--gf-line);
    border-radius: 4px;
    color: var(--gf-muted);
    background: color-mix(in srgb, var(--gf-surface-raised) 88%, transparent);
    font-size: .58rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.gf-public-role-badge img { width: 13px; height: 13px; object-fit: contain; }
.gf-user-identity--trigger .gf-user-identity__avatar { width: 28px; height: 28px; }
.gf-user-identity--trigger .gf-user-identity__name { max-width: 10rem; }
.gf-user-identity--summary { width: 100%; }
.gf-user-identity--summary .gf-user-identity__avatar { width: 44px; height: 44px; }
.gf-user-identity--inline { gap: .28rem; }
.gf-user-identity--inline .gf-user-identity__name { overflow: visible; white-space: normal; }
.gf-account-menu__header > .gf-user-identity { width: 100%; }
.gf-account-button > .gf-user-identity { gap: .45rem; }
.gf-post-author-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem; }
.gf-article__author { display: inline-flex; align-items: center; gap: .38rem; }

/* Homepage world backdrop: atmospheric at the edges, readable in the portal. */
body.gf-home--portal-2012 {
    background:
        linear-gradient(180deg, rgba(1,4,6,.18) 0, rgba(1,4,6,.76) 740px, var(--gf-bg) 1300px),
        var(--gf-bg);
}
body.gf-home--portal-2012::before {
    opacity: .11;
    background-size: 96px 96px;
}
.gf-portal-scene {
    position: relative;
    min-height: 100vh;
    padding: 124px 20px 72px;
    isolation: isolate;
}
.gf-portal-scene::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    z-index: -3;
    height: min(900px, 82vh);
    background-image:
        linear-gradient(90deg, rgba(3,7,8,.91) 0%, rgba(3,7,8,.35) 18%, rgba(3,7,8,.18) 50%, rgba(3,7,8,.35) 82%, rgba(3,7,8,.91) 100%),
        linear-gradient(180deg, rgba(3,7,8,.10), rgba(3,7,8,.30) 66%, var(--gf-bg) 100%),
        var(--gf-portal-world-image, radial-gradient(circle at 50% 20%, color-mix(in srgb, var(--gf-accent) 18%, var(--gf-bg)), var(--gf-bg) 70%));
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    filter: saturate(.88);
}
.gf-portal-scene::after {
    content: "";
    position: absolute;
    inset: 70px max(0px, calc((100vw - var(--gf-portal-width)) / 2 - 110px)) auto;
    z-index: -2;
    height: 720px;
    pointer-events: none;
    border-left: 1px solid color-mix(in srgb, var(--gf-accent) 13%, transparent);
    border-right: 1px solid color-mix(in srgb, var(--gf-accent) 13%, transparent);
    box-shadow: 0 0 90px rgba(0,0,0,.72) inset;
    mask-image: linear-gradient(black, transparent 95%);
}
.gf-portal-shell {
    width: min(var(--gf-portal-width), 100%);
    margin: 0 auto;
    border: 1px solid color-mix(in srgb, var(--gf-portal-edge) 84%, black 16%);
    border-radius: 8px;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(255,255,255,.018), transparent 7%, transparent 93%, rgba(0,0,0,.08)),
        color-mix(in srgb, var(--gf-bg) 95%, black 5%);
    box-shadow:
        0 34px 90px rgba(0,0,0,.58),
        0 0 0 4px rgba(0,0,0,.20),
        inset 0 1px color-mix(in srgb, var(--gf-accent-bright) 16%, transparent);
}

/* Homepage header becomes a compact game-site masthead instead of a SaaS bar. */
.gf-home--portal-2012 .gf-header {
    position: absolute;
    top: 34px;
    left: 0;
    right: 0;
    z-index: 140;
    padding: 0 20px;
    border: 0;
    background: transparent;
    backdrop-filter: none;
}
.gf-home--portal-2012 .gf-announcement + .gf-header { top: 34px; }
.gf-home--portal-2012 .gf-nav-shell {
    width: min(var(--gf-portal-width), 100%);
    margin: 0 auto;
    border: 1px solid color-mix(in srgb, var(--gf-portal-edge) 88%, black 12%);
    border-bottom-color: color-mix(in srgb, var(--gf-accent) 48%, black 52%);
    border-radius: 7px 7px 0 0;
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--gf-surface-raised) 94%, black 6%), color-mix(in srgb, var(--gf-bg) 92%, black 8%));
    box-shadow: 0 14px 35px rgba(0,0,0,.46), inset 0 1px rgba(255,255,255,.05);
    backdrop-filter: blur(14px);
}
.gf-home--portal-2012 .gf-navbar {
    width: 100%;
    min-height: 76px;
    padding: 0 14px;
    gap: .8rem;
}
.gf-home--portal-2012 .gf-brand img { width: auto; height: auto; max-width: min(var(--gf-logo-width, 330px), 28vw); max-height: var(--gf-logo-height, 58px); }
.gf-home--portal-2012 .gf-navigation { gap: 0; }
.gf-home--portal-2012 .gf-nav-link {
    min-height: 76px;
    padding: .65rem .75rem;
    border-radius: 0;
    font-size: .68rem;
    letter-spacing: .07em;
}
.gf-home--portal-2012 .gf-nav-link::after { left: .62rem; right: .62rem; bottom: 0; height: 3px; border-radius: 0; }
.gf-home--portal-2012 .gf-nav-link:hover,
.gf-home--portal-2012 .gf-nav-link.active,
.gf-home--portal-2012 .gf-nav-link[aria-expanded="true"] {
    background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--gf-accent) 11%, transparent));
}
.gf-home--portal-2012 .gf-account-button,
.gf-home--portal-2012 .gf-theme-toggle,
.gf-home--portal-2012 .gf-header-cta {
    min-height: 38px;
    border-radius: 4px;
}
.gf-home--portal-2012 .gf-header-cta {
    color: var(--gf-button-ink);
    border-color: color-mix(in srgb, var(--gf-accent-bright) 42%, var(--gf-accent));
    background: linear-gradient(180deg, var(--gf-accent-bright), var(--gf-accent));
    box-shadow: inset 0 1px rgba(255,255,255,.30), 0 3px 10px rgba(0,0,0,.2);
}

/* Hero banner */
.gf-portal-hero {
    position: relative;
    min-height: 430px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border-bottom: 1px solid var(--gf-portal-edge);
    background-image:
        linear-gradient(90deg, rgba(5,9,11,.91) 0%, rgba(5,9,11,.68) 36%, rgba(5,9,11,.15) 72%, rgba(5,9,11,.45) 100%),
        var(--gf-hero-image, linear-gradient(135deg, var(--gf-surface-raised), var(--gf-bg)));
    background-position: center;
    background-size: cover;
}
.gf-portal-hero::before,
.gf-portal-hero::after {
    content: "";
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    height: 9px;
    pointer-events: none;
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--gf-accent-bright) 42%, transparent), transparent 1px),
        linear-gradient(90deg, var(--gf-portal-edge), var(--gf-accent), var(--gf-portal-edge));
    box-shadow: 0 2px 10px rgba(0,0,0,.42);
}
.gf-portal-hero::before { top: 0; }
.gf-portal-hero::after { bottom: 0; transform: scaleY(-1); }
.gf-portal-hero__art-link {
    position: absolute;
    inset: 10px 0 10px 48%;
    z-index: 1;
    display: block;
    border-radius: 0;
    text-decoration: none;
}
.gf-portal-hero__art-link:focus-visible {
    outline: 2px solid var(--gf-accent-bright);
    outline-offset: -5px;
}
.gf-portal-hero__shade {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 66% 28%, color-mix(in srgb, var(--gf-accent) 10%, transparent), transparent 29rem),
        linear-gradient(180deg, rgba(4,7,8,.04), rgba(4,7,8,.60));
}
.gf-portal-hero__copy {
    position: relative;
    z-index: 3;
    width: min(720px, 76%);
    padding: 58px 58px 52px;
}
.gf-portal-hero__copy h1 {
    max-width: 720px;
    margin: 0;
    color: #fff7e5;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.9rem, 5vw, 5rem);
    font-weight: 700;
    line-height: .96;
    letter-spacing: -.045em;
    text-shadow: 0 4px 14px rgba(0,0,0,.82);
}
.gf-portal-hero__copy > p:not(.gf-kicker) {
    max-width: 610px;
    margin: 1rem 0 0;
    color: #d7d9d3;
    font-family: Inter, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    text-shadow: 0 2px 6px rgba(0,0,0,.8);
}
.gf-portal-hero__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.45rem; }
.gf-portal-status {
    position: absolute;
    z-index: 4;
    right: 30px;
    bottom: 28px;
    width: min(310px, 31%);
    display: grid;
    gap: .35rem;
    padding: 1rem 1.1rem;
    border: 1px solid color-mix(in srgb, var(--gf-accent) 42%, transparent);
    border-radius: 5px;
    background: rgba(5,9,11,.78);
    box-shadow: 0 12px 35px rgba(0,0,0,.40), inset 0 1px rgba(255,255,255,.05);
    backdrop-filter: blur(12px);
}
.gf-portal-status strong { color: #f2eee5; font-size: .86rem; }
.gf-portal-status small { color: #aeb6b3; font-size: .65rem; }

/* Three large portal buttons — a modernised version of the old game/account tiles. */
.gf-portal-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid var(--gf-portal-edge);
    background: color-mix(in srgb, var(--gf-surface) 96%, black 4%);
}
.gf-portal-action {
    min-width: 0;
    min-height: 92px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: .9rem;
    padding: 1rem 1.25rem;
    color: var(--gf-text);
    border-left: 1px solid var(--gf-line);
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--gf-surface-raised) 72%, transparent), transparent),
        var(--gf-surface);
    text-decoration: none;
}
.gf-portal-action:first-child { border-left: 0; }
.gf-portal-action:hover {
    color: var(--gf-text);
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--gf-accent) 13%, var(--gf-surface-raised)), var(--gf-surface));
}
.gf-portal-action > i:first-child {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: var(--gf-accent-bright);
    border: 1px solid var(--gf-line-strong);
    border-radius: 6px;
    background: color-mix(in srgb, var(--gf-bg) 58%, transparent);
    font-size: 1.2rem;
}
.gf-portal-action--play > i:first-child {
    color: var(--gf-button-ink);
    border-color: var(--gf-accent);
    background: linear-gradient(180deg, var(--gf-accent-bright), var(--gf-accent));
}
.gf-portal-action small { display: block; color: var(--gf-muted); font-size: .59rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.gf-portal-action strong { display: block; margin-top: .18rem; color: var(--gf-text); font-size: .87rem; }
.gf-portal-action > .bi-chevron-right { color: var(--gf-muted); font-size: .82rem; }

/* Main portal content */
.gf-portal-content {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(290px, .72fr);
    gap: 0;
    align-items: stretch;
    background: color-mix(in srgb, var(--gf-bg) 96%, black 4%);
}
.gf-portal-main-panel {
    min-width: 0;
    padding: 30px;
    border-right: 1px solid var(--gf-portal-edge);
}
.gf-panel-heading {
    min-height: 62px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0 0 .85rem;
    border-bottom: 1px solid var(--gf-line-strong);
}
.gf-panel-heading .gf-kicker { margin-bottom: .28rem; }
.gf-panel-heading h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.65rem;
    letter-spacing: -.025em;
}
.gf-panel-heading > a { flex: 0 0 auto; font-size: .68rem; font-weight: 800; text-decoration: none; text-transform: uppercase; }

.gf-portal-featured-news {
    display: grid;
    grid-template-columns: minmax(230px, .76fr) minmax(0, 1.24fr);
    min-height: 260px;
    overflow: hidden;
    border: 1px solid var(--gf-line);
    border-radius: 5px;
    background: var(--gf-panel);
    box-shadow: 0 12px 30px rgba(0,0,0,.20);
}
.gf-portal-featured-news__media {
    min-height: 260px;
    display: block;
    overflow: hidden;
    background: var(--gf-surface-raised);
}
.gf-portal-featured-news__media img { width: 100%; height: 100%; min-height: inherit; object-fit: cover; display: block; transition: transform 240ms ease; }
.gf-portal-featured-news:hover .gf-portal-featured-news__media img { transform: scale(1.025); }
.gf-portal-featured-news__media > span { min-height: inherit; display: grid; place-items: center; color: var(--gf-accent); font-size: 2.3rem; }
.gf-portal-featured-news__body { display: flex; flex-direction: column; justify-content: center; padding: 1.6rem; }
.gf-portal-news-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; color: var(--gf-muted); font-size: .62rem; }
.gf-portal-featured-news h3 { margin: .6rem 0 .7rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.35rem, 2.1vw, 1.9rem); line-height: 1.15; }
.gf-portal-featured-news h3 a { color: var(--gf-text); text-decoration: none; }
.gf-portal-featured-news__body > p { margin: 0; color: var(--gf-muted); font-family: Inter, sans-serif; font-size: .82rem; line-height: 1.67; }
.gf-portal-featured-news .gf-read-more { width: fit-content; margin-top: 1rem; font-size: .68rem; font-weight: 800; text-decoration: none; text-transform: uppercase; }

.gf-portal-news-list { margin-top: 1rem; border: 1px solid var(--gf-line); border-radius: 5px; overflow: hidden; }
.gf-portal-news-row {
    min-width: 0;
    display: grid;
    grid-template-columns: 126px minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
    min-height: 118px;
    padding: .8rem;
    border-top: 1px solid var(--gf-line);
    background: color-mix(in srgb, var(--gf-panel) 92%, transparent);
}
.gf-portal-news-row:first-child { border-top: 0; }
.gf-portal-news-row:hover { background: color-mix(in srgb, var(--gf-accent) 5%, var(--gf-panel)); }
.gf-portal-news-row__media { width: 126px; height: 86px; display: block; overflow: hidden; border: 1px solid var(--gf-line); border-radius: 3px; background: var(--gf-surface-raised); }
.gf-portal-news-row__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gf-portal-news-row__media span { width: 100%; height: 100%; display: grid; place-items: center; color: var(--gf-accent); }
.gf-portal-news-row .gf-meta { margin: 0 0 .25rem; font-size: .59rem; }
.gf-portal-news-row h3 { margin: 0 0 .3rem; font-size: .94rem; line-height: 1.25; letter-spacing: -.02em; }
.gf-portal-news-row__body { min-width: 0; }
.gf-portal-news-row h3 a { color: var(--gf-text); text-decoration: none; }
.gf-portal-news-row p:not(.gf-meta) { margin: 0; color: var(--gf-muted); font-family: Inter, sans-serif; font-size: .72rem; line-height: 1.5; }
.gf-portal-news-row__read-more {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    width: fit-content;
    margin-top: .48rem;
    color: var(--gf-accent-bright);
    font-size: .60rem;
    font-weight: 800;
    letter-spacing: .025em;
    text-decoration: none;
    text-transform: uppercase;
}
.gf-portal-news-row__read-more:hover { color: var(--gf-accent-bright); text-decoration: underline; text-underline-offset: 3px; }

/* Sidebar */
.gf-portal-sidebar {
    min-width: 0;
    padding: 30px 24px;
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--gf-surface) 84%, black 16%), color-mix(in srgb, var(--gf-bg) 94%, black 6%));
}
.gf-side-panel {
    overflow: hidden;
    margin-bottom: 1rem;
    border: 1px solid var(--gf-line);
    border-radius: 5px;
    background: color-mix(in srgb, var(--gf-panel) 96%, black 4%);
    box-shadow: 0 9px 22px rgba(0,0,0,.18);
}
.gf-side-panel > header {
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .75rem .9rem;
    border-bottom: 1px solid var(--gf-line);
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--gf-surface-raised) 92%, white 2%), var(--gf-surface));
}
.gf-side-panel > header i { color: var(--gf-accent-bright); }
.gf-side-panel > header h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.05rem; letter-spacing: -.01em; }
.gf-side-panel--status { padding-bottom: .9rem; }
.gf-side-panel--status > .gf-status-chip { margin: .9rem .9rem .2rem; }
.gf-side-panel--status > h3 { margin: .65rem .9rem .4rem; font-size: .91rem; }
.gf-side-panel--status > p { margin: 0 .9rem .9rem; color: var(--gf-muted); font-family: Inter, sans-serif; font-size: .71rem; line-height: 1.55; }
.gf-side-panel dl { margin: 0 .9rem; padding-top: .65rem; border-top: 1px solid var(--gf-line); }
.gf-side-panel dl div { display: flex; align-items: baseline; justify-content: space-between; gap: .7rem; padding: .28rem 0; }
.gf-side-panel dt { color: var(--gf-muted); font-size: .59rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.gf-side-panel dd { margin: 0; color: var(--gf-text); font-size: .65rem; text-align: right; }
.gf-guide-list { display: grid; }
.gf-guide-item {
    min-width: 0;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: .65rem;
    padding: .8rem .9rem;
    color: var(--gf-text);
    border-top: 1px solid var(--gf-line);
    text-decoration: none;
}
.gf-guide-item:first-child { border-top: 0; }
.gf-guide-item:hover { color: var(--gf-text); background: color-mix(in srgb, var(--gf-accent) 7%, transparent); }
.gf-guide-item > i { width: 34px; height: 34px; display: grid; place-items: center; color: var(--gf-accent); border: 1px solid var(--gf-line-strong); border-radius: 4px; background: color-mix(in srgb, var(--gf-surface-raised) 92%, var(--gf-accent) 8%); }
.gf-guide-item strong { display: block; font-size: .72rem; line-height: 1.2; }
.gf-guide-item small { display: block; margin-top: .14rem; color: var(--gf-muted); font-family: Inter, sans-serif; font-size: .63rem; line-height: 1.38; }
.gf-side-links { display: grid; }
.gf-side-links a { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .78rem .9rem; color: var(--gf-text); border-top: 1px solid var(--gf-line); font-size: .68rem; text-decoration: none; }
.gf-side-links a:first-child { border-top: 0; }
.gf-side-links a:hover { color: var(--gf-accent-bright); background: color-mix(in srgb, var(--gf-accent) 6%, transparent); }
.gf-side-links span { display: inline-flex; align-items: center; gap: .55rem; }
.gf-side-links span i { color: var(--gf-accent); }

/* Wide editorial/promotion strip */
.gf-portal-promo {
    position: relative;
    min-height: 310px;
    display: grid;
    grid-template-columns: minmax(340px, .9fr) minmax(0, 1.1fr);
    overflow: hidden;
    border-top: 1px solid var(--gf-portal-edge);
    border-bottom: 1px solid var(--gf-portal-edge);
    background: color-mix(in srgb, var(--gf-surface) 94%, black 6%);
}
.gf-portal-promo__art {
    position: relative;
    min-height: 310px;
    display: block;
    text-decoration: none;
    background-image:
        linear-gradient(90deg, transparent 72%, color-mix(in srgb, var(--gf-surface) 90%, transparent) 94%, var(--gf-surface) 100%),
        linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.30)),
        var(--gf-feature-image, linear-gradient(135deg, var(--gf-surface-raised), var(--gf-bg)));
    background-position: center;
    background-size: cover;
    transition: filter 180ms ease;
}
a.gf-portal-promo__art:hover { filter: brightness(1.045) saturate(1.03); }
a.gf-portal-promo__art:focus-visible {
    outline: 2px solid var(--gf-accent-bright);
    outline-offset: -5px;
}
.gf-portal-promo__copy { display: flex; flex-direction: column; justify-content: center; padding: 2.5rem 3rem; }
.gf-portal-promo__copy h2 { margin: .1rem 0 .7rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.05; }
.gf-portal-promo__copy > p:not(.gf-kicker) { margin: 0; color: var(--gf-muted); font-family: Inter, sans-serif; line-height: 1.65; }
.gf-portal-promo__actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.25rem; }
.gf-portal-promo__copy > small { margin-top: 1rem; color: var(--gf-muted); font-size: .62rem; }
.gf-portal-promo__copy > small i { margin-right: .4rem; color: var(--gf-accent); }

.gf-portal-callouts { padding: 30px; background: color-mix(in srgb, var(--gf-bg) 96%, black 4%); }
.gf-callout-grid--portal { gap: 1rem; }
.gf-callout-panel--portal {
    min-height: 230px;
    border-radius: 5px;
    background:
        radial-gradient(circle at 100% 0, color-mix(in srgb, var(--gf-accent) 10%, transparent), transparent 15rem),
        var(--gf-panel);
    box-shadow: 0 10px 26px rgba(0,0,0,.18);
}
.gf-callout-panel--portal h3 { font-family: Georgia, "Times New Roman", serif; }
.gf-callout-panel--portal > p:not(.gf-kicker) { font-family: Inter, sans-serif; }

.gf-portal-bottom-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2.2rem 30px;
    border-top: 1px solid var(--gf-portal-edge);
    background:
        radial-gradient(circle at 80% 50%, color-mix(in srgb, var(--gf-accent) 10%, transparent), transparent 24rem),
        color-mix(in srgb, var(--gf-surface) 94%, black 6%);
}
.gf-portal-bottom-cta h2 { margin: .1rem 0 .45rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.55rem, 2.4vw, 2.25rem); }
.gf-portal-bottom-cta p:not(.gf-kicker) { margin: 0; color: var(--gf-muted); font-family: Inter, sans-serif; }
.gf-portal-bottom-cta > div:last-child { flex: 0 0 auto; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .65rem; }

/* Make the site footer visually continue the portal rather than turning into
 * a huge unrelated page block on the homepage. */
.gf-home--portal-2012 .gf-footer { width: min(var(--gf-portal-width), calc(100% - 40px)); margin: 0 auto 48px; border: 1px solid var(--gf-portal-edge); border-top: 0; border-radius: 0 0 7px 7px; }
.gf-home--portal-2012 .gf-footer__grid { width: calc(100% - 48px); padding-block: 2.6rem 2rem; }
.gf-home--portal-2012 .gf-footer__legal { width: calc(100% - 48px); }

/* Denser framed controls suit the portal aesthetic while retaining accessible
 * hit targets and the existing palette system. */
.gf-home--portal-2012 .gf-btn-primary,
.gf-home--portal-2012 .gf-btn-secondary {
    min-height: 40px;
    border-radius: 4px;
    font-size: .66rem;
    letter-spacing: .04em;
}
.gf-home--portal-2012 .gf-btn-primary {
    box-shadow: inset 0 1px rgba(255,255,255,.25), 0 4px 10px rgba(0,0,0,.22);
}

/* 0.6.1 responsive portal */
@media (max-width: 1180px) {
    .gf-portal-scene { padding-inline: 14px; }
    .gf-home--portal-2012 .gf-header { padding-inline: 14px; }
    .gf-home--portal-2012 .gf-footer { width: calc(100% - 28px); }
    .gf-portal-main-panel { padding: 24px; }
    .gf-portal-sidebar { padding: 24px 18px; }
}

@media (max-width: 991.98px) {
    .gf-portal-scene { padding-top: 112px; }
    .gf-home--portal-2012 .gf-navbar { grid-template-columns: auto 1fr auto; min-height: 66px; }
    .gf-home--portal-2012 .gf-brand { grid-column: 2; }
    .gf-home--portal-2012 .gf-navigation {
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        z-index: 20;
        display: none;
        padding: .65rem;
        border: 1px solid var(--gf-line);
        background: var(--gf-surface);
        box-shadow: 0 18px 40px rgba(0,0,0,.45);
    }
    .gf-home--portal-2012 .gf-navigation.is-open { display: grid; }
    .gf-home--portal-2012 .gf-nav-link { min-height: 44px; justify-content: flex-start; border-radius: 4px; }
    .gf-home--portal-2012 .gf-nav-link::after { display: none; }
    .gf-home--portal-2012 .gf-header-actions { grid-column: 3; }
    .gf-home--portal-2012 .gf-menu-toggle { grid-column: 1; display: inline-flex; }
    .gf-portal-hero { min-height: 390px; }
    .gf-portal-hero__copy { width: 72%; padding: 50px 38px 44px; }
    .gf-portal-status { right: 20px; bottom: 22px; width: 30%; }
    .gf-portal-content { grid-template-columns: 1fr; }
    .gf-portal-main-panel { border-right: 0; border-bottom: 1px solid var(--gf-portal-edge); }
    .gf-portal-sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
    .gf-side-panel { margin-bottom: 0; }
    .gf-side-panel:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .gf-portal-promo { grid-template-columns: .9fr 1.1fr; }
}

@media (max-width: 767.98px) {
    .gf-portal-scene { padding-top: 98px; padding-inline: 10px; }
    .gf-home--portal-2012 .gf-header { top: 34px; padding-inline: 10px; }
    .gf-home--portal-2012 .gf-navbar { min-height: 58px; padding-inline: 8px; }
    .gf-home--portal-2012 .gf-brand img { width: auto; height: auto; max-width: min(var(--gf-logo-width, 330px), 142px); max-height: min(var(--gf-logo-height, 58px), 42px); }
    .gf-home--portal-2012 .gf-login-link { display: none; }
    .gf-home--portal-2012 .gf-account-button > .gf-user-identity__body { display: none; }
    .gf-home--portal-2012 .gf-header-cta span { display: none; }
    .gf-portal-hero { min-height: 490px; align-items: flex-end; }
    .gf-portal-hero__copy { width: 100%; padding: 76px 24px 112px; }
    .gf-portal-hero__art-link { display: none; }
    .gf-portal-hero__copy h1 { font-size: clamp(2.7rem, 11vw, 4rem); }
    .gf-portal-status { left: 24px; right: 24px; bottom: 22px; width: auto; grid-template-columns: auto 1fr; align-items: center; }
    .gf-portal-status strong { grid-column: 2; }
    .gf-portal-status small { display: none; }
    .gf-portal-actions { grid-template-columns: 1fr; }
    .gf-portal-action { min-height: 76px; border-left: 0; border-top: 1px solid var(--gf-line); }
    .gf-portal-action:first-child { border-top: 0; }
    .gf-portal-main-panel { padding: 20px 16px; }
    .gf-panel-heading { align-items: flex-start; flex-direction: column; }
    .gf-portal-featured-news { grid-template-columns: 1fr; }
    .gf-portal-featured-news__media { min-height: 220px; max-height: 300px; }
    .gf-portal-news-row { grid-template-columns: 96px minmax(0, 1fr); gap: .75rem; }
    .gf-portal-news-row__media { width: 96px; height: 74px; }
    .gf-portal-news-row p:not(.gf-meta) { display: none; }
    .gf-portal-news-row__read-more { margin-top: .38rem; }
    .gf-portal-sidebar { grid-template-columns: 1fr; padding: 20px 16px; }
    .gf-side-panel:last-child:nth-child(odd) { grid-column: auto; }
    .gf-portal-promo { grid-template-columns: 1fr; }
    .gf-portal-promo__art { min-height: 220px; }
    .gf-portal-promo__copy { padding: 2rem 1.4rem 2.4rem; }
    .gf-portal-callouts { padding: 20px 16px; }
    .gf-portal-bottom-cta { align-items: flex-start; flex-direction: column; padding: 2rem 16px; }
    .gf-portal-bottom-cta > div:last-child { justify-content: flex-start; }
    .gf-home--portal-2012 .gf-footer { width: calc(100% - 20px); margin-bottom: 24px; }
}

@media (max-width: 479.98px) {
    .gf-portal-scene { padding-inline: 6px; }
    .gf-home--portal-2012 .gf-header { padding-inline: 6px; }
    .gf-home--portal-2012 .gf-theme-toggle { display: none; }
    .gf-home--portal-2012 .gf-header-actions { gap: .35rem; }
    .gf-home--portal-2012 .gf-header-cta { width: 38px; padding: 0; }
    .gf-portal-hero__copy { padding-inline: 18px; }
    .gf-portal-status { left: 18px; right: 18px; }
    .gf-portal-featured-news__body { padding: 1.2rem; }
    .gf-portal-news-row { grid-template-columns: 78px minmax(0, 1fr); }
    .gf-portal-news-row__media { width: 78px; height: 66px; }
    .gf-home--portal-2012 .gf-footer { width: calc(100% - 12px); }
}

/* Resolve legacy 0.5.x mobile visibility rules for the new portal masthead. */
@media (max-width: 991.98px) {
    .gf-home--portal-2012 .gf-header-actions .gf-account-button { display: inline-flex; }
    .gf-home--portal-2012 .gf-header-actions .gf-login-link { display: inline-flex; }
}
@media (max-width: 767.98px) {
    .gf-home--portal-2012 .gf-user-dropdown { display: block; }
    .gf-home--portal-2012 .gf-header-actions .gf-login-link { display: none; }
}

/* Radish Roles native Blade components inherit Guardfall styling when another
 * plugin or a future profile surface renders them directly. */
.rr-user-presentation { color: var(--gf-text); }
.rr-crown, .rr-badge-image { filter: drop-shadow(0 2px 4px rgba(0,0,0,.28)); }
.rr-role-title { color: var(--gf-muted); opacity: 1; }
.rr-badge {
    border-color: var(--gf-line) !important;
    border-radius: 4px !important;
    color: var(--gf-muted);
    background: color-mix(in srgb, var(--gf-surface-raised) 88%, transparent);
    font-family: var(--gf-font);
    font-size: .62rem;
    font-weight: 750;
}

/* ========================================================================== */
/* Guardfall 0.6.2 — Global masthead + footer shell normalization             */
/* ========================================================================== */
/*
 * 0.6.1 introduced the early-2010s portal masthead/footer treatment only on
 * the homepage. That meant news, content, account and plugin pages fell back
 * to older full-width shell rules even though they rendered the same Blade
 * partials. The shell is now deliberately global: one navbar, one footer,
 * one responsive behaviour across every route that extends layouts.base.
 */

.gf-shell-2012 .gf-outer-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.gf-shell-2012 .gf-main { flex: 1 0 auto; }

/* Shared framed masthead. Keep the header itself transparent; the inner
 * nav-shell owns the visible frame so every route has the same 1180px portal
 * header rather than a homepage-only treatment. */
.gf-shell-2012 .gf-header,
.gf-shell-2012.gf-home--portal-2012 .gf-header {
    position: sticky;
    top: 0;
    left: auto;
    right: auto;
    z-index: 140;
    padding: 12px 20px;
    border: 0;
    background: color-mix(in srgb, var(--gf-bg) 74%, transparent);
    box-shadow: none;
    backdrop-filter: blur(10px) saturate(112%);
}
.gf-shell-2012 .gf-announcement + .gf-header,
.gf-shell-2012.gf-home--portal-2012 .gf-announcement + .gf-header { top: 0; }

.gf-shell-2012 .gf-nav-shell,
.gf-shell-2012.gf-home--portal-2012 .gf-nav-shell {
    width: min(var(--gf-portal-width), 100%);
    margin: 0 auto;
    border: 1px solid color-mix(in srgb, var(--gf-portal-edge) 88%, black 12%);
    border-bottom-color: color-mix(in srgb, var(--gf-accent) 48%, black 52%);
    border-radius: 7px;
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--gf-surface-raised) 94%, black 6%), color-mix(in srgb, var(--gf-bg) 92%, black 8%));
    box-shadow: 0 14px 35px rgba(0,0,0,.36), inset 0 1px rgba(255,255,255,.05);
    backdrop-filter: blur(14px);
}
.gf-shell-2012 .gf-navbar,
.gf-shell-2012.gf-home--portal-2012 .gf-navbar {
    position: relative;
    width: 100%;
    min-height: 76px;
    padding: 0 14px;
    gap: .8rem;
}
.gf-shell-2012 .gf-brand img,
.gf-shell-2012.gf-home--portal-2012 .gf-brand img {
    width: auto;
    height: auto;
    max-width: min(var(--gf-logo-width, 330px), 28vw);
    max-height: var(--gf-logo-height, 58px);
}
.gf-shell-2012 .gf-navigation,
.gf-shell-2012.gf-home--portal-2012 .gf-navigation { gap: 0; }
.gf-shell-2012 .gf-nav-link,
.gf-shell-2012.gf-home--portal-2012 .gf-nav-link {
    min-height: 76px;
    padding: .65rem .75rem;
    border-radius: 0;
    font-size: .68rem;
    letter-spacing: .07em;
}
.gf-shell-2012 .gf-nav-link::after,
.gf-shell-2012.gf-home--portal-2012 .gf-nav-link::after {
    left: .62rem;
    right: .62rem;
    bottom: 0;
    height: 3px;
    border-radius: 0;
}
.gf-shell-2012 .gf-nav-link:hover,
.gf-shell-2012 .gf-nav-link.active,
.gf-shell-2012 .gf-nav-link[aria-expanded="true"],
.gf-shell-2012.gf-home--portal-2012 .gf-nav-link:hover,
.gf-shell-2012.gf-home--portal-2012 .gf-nav-link.active,
.gf-shell-2012.gf-home--portal-2012 .gf-nav-link[aria-expanded="true"] {
    background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--gf-accent) 11%, transparent));
}
.gf-shell-2012 .gf-account-button,
.gf-shell-2012 .gf-theme-toggle,
.gf-shell-2012 .gf-header-cta,
.gf-shell-2012.gf-home--portal-2012 .gf-account-button,
.gf-shell-2012.gf-home--portal-2012 .gf-theme-toggle,
.gf-shell-2012.gf-home--portal-2012 .gf-header-cta {
    min-height: 38px;
    border-radius: 4px;
}
.gf-shell-2012 .gf-header-cta,
.gf-shell-2012.gf-home--portal-2012 .gf-header-cta {
    color: var(--gf-button-ink);
    border-color: color-mix(in srgb, var(--gf-accent-bright) 42%, var(--gf-accent));
    background: linear-gradient(180deg, var(--gf-accent-bright), var(--gf-accent));
    box-shadow: inset 0 1px rgba(255,255,255,.30), 0 3px 10px rgba(0,0,0,.2);
}

/* The homepage no longer reserves 124px for an absolutely-positioned header;
 * the shared sticky masthead is in normal document flow on every route. */
.gf-shell-2012 .gf-portal-scene { padding-top: 18px; }

/* Shared standalone footer frame. 0.6.1 removed the top border only on Home,
 * which made the footer appear attached there and detached elsewhere. It now
 * has the same complete frame, width, spacing and internal rhythm everywhere. */
.gf-shell-2012 .gf-footer,
.gf-shell-2012.gf-home--portal-2012 .gf-footer {
    flex: 0 0 auto;
    width: min(var(--gf-portal-width), calc(100% - 40px));
    margin: 0 auto 48px;
    overflow: hidden;
    border: 1px solid var(--gf-portal-edge);
    border-radius: 7px;
    background:
        radial-gradient(circle at 50% 0, color-mix(in srgb, var(--gf-footer-heading) 7%, transparent), transparent 34rem),
        var(--gf-footer-bg);
    box-shadow: 0 20px 54px rgba(0,0,0,.22), inset 0 1px color-mix(in srgb, var(--gf-footer-heading) 8%, transparent);
}
.gf-shell-2012 .gf-footer__grid,
.gf-shell-2012.gf-home--portal-2012 .gf-footer__grid {
    width: calc(100% - 48px);
    grid-template-columns: minmax(0, 1.6fr) minmax(180px, .7fr) minmax(220px, .8fr);
    padding: 2.6rem 0 2rem;
}
.gf-shell-2012 .gf-footer__legal,
.gf-shell-2012.gf-home--portal-2012 .gf-footer__legal {
    width: calc(100% - 48px);
    align-items: center;
}

@media (max-width: 1180px) {
    .gf-shell-2012 .gf-header,
    .gf-shell-2012.gf-home--portal-2012 .gf-header { padding-inline: 14px; }
    .gf-shell-2012 .gf-footer,
    .gf-shell-2012.gf-home--portal-2012 .gf-footer { width: calc(100% - 28px); }
}

@media (max-width: 991.98px) {
    .gf-shell-2012 .gf-header,
    .gf-shell-2012.gf-home--portal-2012 .gf-header { padding-block: 10px; }
    .gf-shell-2012 .gf-navbar,
    .gf-shell-2012.gf-home--portal-2012 .gf-navbar {
        grid-template-columns: auto 1fr auto;
        min-height: 66px;
        padding-inline: 10px;
    }
    .gf-shell-2012 .gf-brand,
    .gf-shell-2012.gf-home--portal-2012 .gf-brand { grid-column: 2; }
    .gf-shell-2012 .gf-navigation,
    .gf-shell-2012.gf-home--portal-2012 .gf-navigation {
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        z-index: 20;
        display: none;
        padding: .65rem;
        border: 1px solid var(--gf-line);
        border-radius: 0 0 6px 6px;
        background: var(--gf-surface);
        box-shadow: 0 18px 40px rgba(0,0,0,.45);
    }
    .gf-shell-2012 .gf-navigation.is-open,
    .gf-shell-2012.gf-home--portal-2012 .gf-navigation.is-open { display: grid; }
    .gf-shell-2012 .gf-nav-link,
    .gf-shell-2012.gf-home--portal-2012 .gf-nav-link {
        min-height: 44px;
        justify-content: flex-start;
        border-radius: 4px;
    }
    .gf-shell-2012 .gf-nav-link::after,
    .gf-shell-2012.gf-home--portal-2012 .gf-nav-link::after { display: none; }
    .gf-shell-2012 .gf-header-actions,
    .gf-shell-2012.gf-home--portal-2012 .gf-header-actions { grid-column: 3; }
    .gf-shell-2012 .gf-menu-toggle,
    .gf-shell-2012.gf-home--portal-2012 .gf-menu-toggle {
        grid-column: 1;
        display: inline-flex;
    }
    .gf-shell-2012 .gf-header-actions .gf-account-button,
    .gf-shell-2012 .gf-header-actions .gf-login-link { display: inline-flex; }
    .gf-shell-2012 .gf-portal-scene { padding-top: 14px; }
}

@media (max-width: 767.98px) {
    .gf-shell-2012 .gf-header,
    .gf-shell-2012.gf-home--portal-2012 .gf-header {
        top: 0;
        padding: 8px 10px;
    }
    .gf-shell-2012 .gf-navbar,
    .gf-shell-2012.gf-home--portal-2012 .gf-navbar {
        min-height: 58px;
        padding-inline: 8px;
    }
    .gf-shell-2012 .gf-brand img,
    .gf-shell-2012.gf-home--portal-2012 .gf-brand img {
        width: auto;
        height: auto;
        max-width: min(var(--gf-logo-width, 330px), 142px);
        max-height: min(var(--gf-logo-height, 58px), 42px);
    }
    .gf-shell-2012 .gf-login-link,
    .gf-shell-2012.gf-home--portal-2012 .gf-login-link { display: none !important; }
    .gf-shell-2012 .gf-user-dropdown,
    .gf-shell-2012.gf-home--portal-2012 .gf-user-dropdown { display: block; }
    .gf-shell-2012 .gf-account-button > .gf-user-identity__body,
    .gf-shell-2012.gf-home--portal-2012 .gf-account-button > .gf-user-identity__body { display: none; }
    .gf-shell-2012 .gf-header-cta span,
    .gf-shell-2012.gf-home--portal-2012 .gf-header-cta span { display: none; }
    .gf-shell-2012 .gf-portal-scene { padding-top: 10px; }
    .gf-shell-2012 .gf-footer,
    .gf-shell-2012.gf-home--portal-2012 .gf-footer {
        width: calc(100% - 20px);
        margin-bottom: 24px;
    }
    .gf-shell-2012 .gf-footer__grid,
    .gf-shell-2012.gf-home--portal-2012 .gf-footer__grid {
        width: calc(100% - 32px);
        grid-template-columns: 1fr;
        padding-block: 2.3rem 1.8rem;
    }
    .gf-shell-2012 .gf-footer__legal,
    .gf-shell-2012.gf-home--portal-2012 .gf-footer__legal {
        width: calc(100% - 32px);
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 479.98px) {
    .gf-shell-2012 .gf-header,
    .gf-shell-2012.gf-home--portal-2012 .gf-header { padding-inline: 6px; }
    .gf-shell-2012 .gf-theme-toggle,
    .gf-shell-2012.gf-home--portal-2012 .gf-theme-toggle { display: none; }
    .gf-shell-2012 .gf-header-actions,
    .gf-shell-2012.gf-home--portal-2012 .gf-header-actions { gap: .35rem; }
    .gf-shell-2012 .gf-header-cta,
    .gf-shell-2012.gf-home--portal-2012 .gf-header-cta { width: 38px; padding: 0; }
    .gf-shell-2012 .gf-footer,
    .gf-shell-2012.gf-home--portal-2012 .gf-footer { width: calc(100% - 12px); }
}


/* Guardfall 0.6.3 — Full-size logo fit
   Logo sources remain at their natural size unless they exceed the configured
   header bounds. This deliberately prevents browser-side upscaling. */
.gf-brand img,
.gf-footer__logo img {
    width: auto;
    height: auto;
}

/* ========================================================================== */
/* Guardfall 0.6.4 — Visible-logo auto fit                                    */
/* ========================================================================== */
/*
 * A full-resolution wordmark is often exported on a much taller transparent
 * canvas (for example 1536×1024). Fitting the entire canvas into a 58px-high
 * header makes the actual painted wordmark microscopic. guardfall-v064.js
 * trims only transparent display padding in-browser; these rules then fit the
 * visible result into the configured box. The source file is never modified.
 */
[data-gf-logo-autotrim] {
    display: block;
    width: auto;
    height: auto;
}

.gf-shell-2012 .gf-brand,
.gf-shell-2012.gf-home--portal-2012 .gf-brand {
    min-width: 180px;
    max-width: min(var(--gf-logo-width, 330px), 34vw);
    min-height: 54px;
}

.gf-shell-2012 .gf-brand img,
.gf-shell-2012.gf-home--portal-2012 .gf-brand img {
    width: auto;
    height: auto;
    max-width: min(var(--gf-logo-width, 330px), 34vw);
    max-height: min(var(--gf-logo-height, 58px), 58px);
    object-fit: contain;
    object-position: center;
}

.gf-shell-2012 .gf-brand img.gf-logo--trimmed,
.gf-shell-2012.gf-home--portal-2012 .gf-brand img.gf-logo--trimmed {
    /* The data-URI contains only the visible alpha bounds, so it can now use
       the full configured fit box instead of fitting an empty source canvas. */
    max-width: min(var(--gf-logo-width, 330px), 34vw);
    max-height: min(var(--gf-logo-height, 58px), 58px);
}

.gf-shell-2012 .gf-footer__logo img,
.gf-shell-2012.gf-home--portal-2012 .gf-footer__logo img {
    max-width: min(var(--gf-logo-width, 330px), 260px, 100%);
    max-height: min(var(--gf-logo-height, 58px), 58px);
}

@media (max-width: 991.98px) {
    .gf-shell-2012 .gf-brand,
    .gf-shell-2012.gf-home--portal-2012 .gf-brand {
        min-width: 145px;
        max-width: min(var(--gf-logo-width, 330px), 190px);
        min-height: 46px;
    }
    .gf-shell-2012 .gf-brand img,
    .gf-shell-2012.gf-home--portal-2012 .gf-brand img {
        max-width: min(var(--gf-logo-width, 330px), 190px);
        max-height: min(var(--gf-logo-height, 58px), 48px);
    }
}

@media (max-width: 767.98px) {
    .gf-shell-2012 .gf-brand,
    .gf-shell-2012.gf-home--portal-2012 .gf-brand {
        min-width: 110px;
        max-width: 142px;
        min-height: 40px;
    }
    .gf-shell-2012 .gf-brand img,
    .gf-shell-2012.gf-home--portal-2012 .gf-brand img {
        max-width: min(var(--gf-logo-width, 330px), 142px);
        max-height: min(var(--gf-logo-height, 58px), 42px);
    }
}


/* ========================================================================== */
/* Guardfall 0.6.8 — compact Radish Roles identity across all public surfaces */
/* ========================================================================== */
/*
 * A public identity should read once: crown/icon + styled username.
 * Role-title/badge lines are intentionally omitted, and host/forum templates often
 * prepend their own Bootstrap person icon. Radish Roles' compatibility script
 * marks those nearby native duplicates; these rules make the result uniform
 * across news, profiles, forums, comments, conversations and plugin pages.
 */
.guardfall-site .gf-user-identity__title { display: none !important; }
.guardfall-site .rr-role-title:not(.rr-role-title--explicit) { display: none !important; }
.guardfall-site .rr-native-role-duplicate { display: none !important; }

/* CSS fast-path for the common native pattern: icon immediately before the
 * Radish identity. The JS layer handles wrapper/sibling variants safely. */
.guardfall-site i.bi-person:has(+ [data-rr-public-identity="true"]),
.guardfall-site i.bi-person-fill:has(+ [data-rr-public-identity="true"]),
.guardfall-site i.bi-person-circle:has(+ [data-rr-public-identity="true"]),
.guardfall-site i.bi-person-badge:has(+ [data-rr-public-identity="true"]),
.guardfall-site i.bi-person-badge-fill:has(+ [data-rr-public-identity="true"]) {
    display: none !important;
}

/* Guardfall 0.6.8 — internal Azuriom role labels stay private.
 * Radish Roles contributes crown + username styling only on public surfaces.
 */
.guardfall-site .rr-role-title,
.guardfall-site .rr-badge-list,
.guardfall-site .rr-badge,
.guardfall-site .gf-user-identity__title,
.guardfall-site .gf-user-identity__badges,
.guardfall-site .gf-public-role-badge,
.guardfall-site .gf-role-badge,
.guardfall-site .rr-native-role-duplicate {
    display: none !important;
}

.gf-profile-summary__avatar {
    margin-bottom: 0;
}

.gf-profile-summary__identity {
    margin-bottom: .5rem;
}

.gf-user-identity--profile .gf-user-identity__name-row {
    gap: .45rem;
}

.gf-user-identity--profile .gf-user-identity__crown {
    width: 22px;
    height: 22px;
}

.gf-user-identity--profile .gf-user-identity__name {
    font-size: inherit;
    line-height: 1.15;
}

.guardfall-forum-identity-link {
    color: inherit;
    text-decoration: none;
}

.guardfall-forum-identity-link:hover .gf-user-identity__name {
    text-decoration: underline;
}


/* Guardfall 0.7.2 — explicit membership savings + fixed money precision */
.gf-store-page .serverly-page-wrap { display: grid; gap: 1.5rem; }
.gf-store-hero, .gf-store-page-heading {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem;
    padding: clamp(1.4rem, 3vw, 2.4rem); border: 1px solid var(--gf-line);
    border-radius: var(--gf-radius); background: linear-gradient(135deg, color-mix(in srgb, var(--gf-accent) 10%, var(--gf-panel)) 0%, var(--gf-panel) 58%);
    box-shadow: var(--gf-shadow);
}
.gf-store-hero > div:first-child, .gf-store-page-heading > div:first-child { max-width: 800px; }
.gf-store-hero h1, .gf-store-page-heading h1 { margin: .25rem 0 .55rem; font-size: clamp(2rem, 4vw, 3.3rem); letter-spacing: -.045em; }
.gf-store-hero p:last-child, .gf-store-page-heading > div > p:last-child { margin: 0; color: var(--gf-muted); font-size: 1rem; }
.gf-store-hero__actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.gf-store-service-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.gf-store-service-path { min-width: 0; display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; align-items: center; gap: 1rem; min-height: 168px; padding: 1.2rem; color: var(--gf-text); border: 1px solid var(--gf-line); border-radius: var(--gf-radius); background: var(--gf-panel); box-shadow: var(--gf-shadow); text-decoration: none; transition: border-color var(--gf-transition), background var(--gf-transition), transform var(--gf-transition); }
.gf-store-service-path:hover { color: var(--gf-text); border-color: color-mix(in srgb, var(--gf-accent) 48%, var(--gf-line-strong)); background: var(--gf-panel-soft); transform: translateY(-2px); }
.gf-store-service-path--supporter:hover { border-color: color-mix(in srgb, var(--gf-accent) 54%, var(--gf-line-strong)); }
.gf-store-service-path.is-unavailable { opacity: .72; box-shadow: none; }
.gf-store-service-path__icon { width: 58px; height: 58px; display: grid; place-items: center; color: var(--gf-accent); border: 1px solid color-mix(in srgb, var(--gf-accent) 28%, var(--gf-line)); border-radius: var(--gf-radius); background: color-mix(in srgb, var(--gf-accent) 10%, var(--gf-input-bg)); font-size: 1.45rem; }
.gf-store-service-path--supporter .gf-store-service-path__icon { color: var(--gf-accent); border-color: color-mix(in srgb, var(--gf-accent) 30%, var(--gf-line)); background: color-mix(in srgb, var(--gf-accent) 11%, var(--gf-input-bg)); }
.gf-store-service-path__copy { min-width: 0; display: flex; flex-direction: column; gap: .3rem; }
.gf-store-service-path__copy small { color: var(--gf-muted); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.gf-store-service-path__copy strong { font-size: 1.2rem; letter-spacing: -.02em; }
.gf-store-service-path__copy > span { color: var(--gf-muted); font-size: .86rem; line-height: 1.5; }
.gf-store-service-path__copy em { color: color-mix(in srgb, var(--gf-accent) 74%, var(--gf-text)); font-size: .72rem; font-style: normal; line-height: 1.45; }
.gf-store-service-path__action { display: inline-flex; align-items: center; gap: .4rem; color: var(--gf-accent); font-size: .8rem; font-weight: 750; white-space: nowrap; }
.gf-store-service-path--supporter .gf-store-service-path__action { color: color-mix(in srgb, var(--gf-accent) 78%, var(--gf-text)); }
.gf-store-service-tabs { display: flex; align-items: center; gap: .35rem; overflow-x: auto; padding: .4rem; border: 1px solid var(--gf-line); border-radius: var(--gf-radius); background: var(--gf-panel); box-shadow: var(--gf-shadow); scrollbar-width: thin; }
.gf-store-service-tab { min-height: 42px; display: inline-flex; flex: 0 0 auto; align-items: center; gap: .5rem; padding: .6rem .85rem; color: var(--gf-muted); border: 1px solid transparent; border-radius: var(--gf-radius-sm); text-decoration: none; font-size: .84rem; font-weight: 700; }
.gf-store-service-tab:hover, .gf-store-service-tab.active { color: var(--gf-text); background: var(--gf-panel-soft); }
.gf-store-service-tab.active { border-color: color-mix(in srgb, var(--gf-accent) 38%, var(--gf-line-strong)); }
.gf-store-service-tab i { color: var(--gf-accent); }
.gf-store-service-tab.is-disabled, .gf-store-nav__link.is-disabled { cursor: not-allowed; opacity: .52; }
.gf-store-supporter-notice { display: flex; align-items: flex-start; gap: .8rem; padding: 1rem 1.1rem; color: var(--gf-text); border: 1px solid color-mix(in srgb, var(--gf-accent) 42%, var(--gf-line)); border-radius: var(--gf-radius); background: color-mix(in srgb, var(--gf-accent) 9%, var(--gf-panel)); }
.gf-store-supporter-notice > i { flex: 0 0 auto; margin-top: .1rem; color: var(--gf-accent); font-size: 1.1rem; }
.gf-store-supporter-notice strong { display: block; margin-bottom: .15rem; }
.gf-store-supporter-notice p { margin: 0; color: var(--gf-muted); font-size: .84rem; line-height: 1.5; }
.gf-store-page-heading--compact { padding-block: 1.45rem; }
.gf-store-page-heading--compact h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.gf-store-page-heading__description { color: var(--gf-muted); }
.gf-store-page-heading__description > :last-child { margin-bottom: 0; }
.gf-store-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); align-items: start; gap: 1.25rem; }
.gf-store-main { min-width: 0; display: grid; gap: 1.2rem; }
.gf-store-sidebar { position: sticky; top: 84px; display: grid; gap: .8rem; }
.gf-store-nav, .gf-store-account-card, .gf-store-side-card, .gf-store-intro-card {
    border: 1px solid var(--gf-line); border-radius: var(--gf-radius); background: var(--gf-panel); box-shadow: var(--gf-shadow);
}
.gf-store-nav { display: grid; gap: .2rem; padding: .55rem; }
.gf-store-nav__label, .gf-store-side-card__label { margin: .25rem .45rem .4rem; color: var(--gf-muted); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.gf-store-nav__link { min-width: 0; min-height: 44px; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: .6rem; padding: .65rem .7rem; color: var(--gf-muted); border: 1px solid transparent; border-radius: var(--gf-radius-sm); text-decoration: none; }
.gf-store-nav__link:hover, .gf-store-nav__link.active { color: var(--gf-text); background: var(--gf-panel-soft); }
.gf-store-nav__link.active { border-color: color-mix(in srgb, var(--gf-accent) 38%, var(--gf-line-strong)); box-shadow: inset 3px 0 var(--gf-accent); }
.gf-store-nav__link i { color: var(--gf-accent); }
.gf-store-nav__link small { min-width: 24px; padding: .15rem .4rem; color: var(--gf-muted); border-radius: 999px; background: var(--gf-input-bg); text-align: center; }
.gf-store-nav__link--child { padding-left: 1.25rem; font-size: .84rem; }
.gf-store-account-card { display: grid; gap: .8rem; padding: .9rem; }
.gf-store-account-card__user { min-width: 0; display: flex; align-items: center; gap: .7rem; }
.gf-store-account-card__user img, .gf-store-side-card__person img, .gf-store-recent-list img { flex: 0 0 auto; border-radius: 50%; object-fit: cover; }
.gf-store-account-card__user span, .gf-store-side-card__person span, .gf-store-recent-list span { min-width: 0; display: flex; flex-direction: column; }
.gf-store-account-card__user strong, .gf-store-account-card__user small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gf-store-account-card__user small, .gf-store-account-card p, .gf-store-side-card small, .gf-store-recent-list small { color: var(--gf-muted); font-size: .75rem; }
.gf-store-account-card__actions { display: grid; gap: .2rem; }
.gf-store-account-card__actions a { min-height: 38px; display: flex; align-items: center; gap: .55rem; padding: .5rem .55rem; color: var(--gf-muted); border-radius: var(--gf-radius-sm); font-size: .82rem; font-weight: 650; text-decoration: none; }
.gf-store-account-card__actions a:hover { color: var(--gf-text); background: var(--gf-panel-soft); }
.gf-store-account-card__actions i { color: var(--gf-accent); }
.gf-store-account-card__guest-icon { color: var(--gf-accent); font-size: 2rem; }
.gf-store-account-card p { margin: -.4rem 0 0; line-height: 1.5; }
.gf-store-side-card { padding: .85rem; }
.gf-store-side-card__heading { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: .6rem; font-size: .78rem; }
.gf-store-side-card__heading span { display: inline-flex; align-items: center; gap: .4rem; }
.gf-store-side-card .progress { height: 7px; background: var(--gf-input-bg); }
.gf-store-side-card__person, .gf-store-recent-list > div { display: flex; align-items: center; gap: .55rem; }
.gf-store-recent-list { display: grid; gap: .7rem; }
.gf-store-recent-list strong { font-size: .8rem; }
.gf-store-intro-card { padding: 1.1rem 1.2rem; }
.gf-store-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; padding: .2rem 0; }
.gf-store-section-heading h2 { margin: .15rem 0 .3rem; font-size: 1.55rem; letter-spacing: -.03em; }
.gf-store-section-heading p:last-child { max-width: 700px; margin: 0; color: var(--gf-muted); }
.gf-store-category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.gf-store-category-card { min-width: 0; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: .8rem; min-height: 104px; padding: .9rem; color: var(--gf-text); border: 1px solid var(--gf-line); border-radius: var(--gf-radius); background: var(--gf-panel); text-decoration: none; transition: border-color var(--gf-transition), background var(--gf-transition), transform var(--gf-transition); }
.gf-store-category-card:hover { color: var(--gf-text); border-color: color-mix(in srgb, var(--gf-accent) 45%, var(--gf-line-strong)); background: var(--gf-panel-soft); transform: translateY(-1px); }
.gf-store-category-card__icon { width: 48px; height: 48px; display: grid; place-items: center; color: var(--gf-accent); border: 1px solid var(--gf-line); border-radius: var(--gf-radius); background: var(--gf-input-bg); font-size: 1.2rem; }
.gf-store-category-card__body { min-width: 0; display: flex; flex-direction: column; gap: .25rem; }
.gf-store-category-card__body strong { font-size: 1rem; }
.gf-store-category-card__body small { color: var(--gf-muted); line-height: 1.45; }
.gf-store-category-card__meta { display: flex; align-items: center; gap: .45rem; color: var(--gf-muted); font-size: .75rem; white-space: nowrap; }
.gf-store-category-card__meta i { color: var(--gf-accent); }
.gf-store-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; }
.gf-store-product { min-width: 0; }
.gf-store-product__open { width: 100%; height: 100%; display: flex; flex-direction: column; overflow: hidden; padding: 0; color: var(--gf-text); border: 1px solid var(--gf-line); border-radius: var(--gf-radius); background: var(--gf-panel); box-shadow: var(--gf-shadow); text-align: left; transition: border-color var(--gf-transition), transform var(--gf-transition); }
.gf-store-product__open:hover { border-color: color-mix(in srgb, var(--gf-accent) 48%, var(--gf-line-strong)); transform: translateY(-2px); }
.gf-store-product__open[aria-busy="true"] { opacity: .7; pointer-events: none; }
.gf-store-product__media { height: 155px; display: grid; place-items: center; overflow: hidden; color: var(--gf-accent); background: linear-gradient(145deg, var(--gf-input-bg), color-mix(in srgb, var(--gf-accent) 9%, var(--gf-panel-soft))); font-size: 2.2rem; }
.gf-store-product__media img { width: 100%; height: 100%; object-fit: cover; }
.gf-store-product__body { flex: 1; display: flex; flex-direction: column; padding: 1rem; }
.gf-store-product__type { display: inline-flex; align-items: center; gap: .35rem; color: var(--gf-muted); font-size: .7rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.gf-store-product__type i { color: var(--gf-accent); }
.gf-store-product__title { margin-top: .55rem; font-size: 1.15rem; }
.gf-store-product__description { margin-top: .45rem; color: var(--gf-muted); font-size: .84rem; line-height: 1.5; }
.gf-store-product__footer { margin-top: auto; display: flex; align-items: end; justify-content: space-between; gap: .7rem; padding-top: 1rem; }
.gf-store-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem; }
.gf-store-price del { color: var(--gf-muted); font-size: .75rem; }
.gf-store-price strong { font-size: 1.12rem; }
.gf-store-price small { width: 100%; color: var(--gf-muted); font-size: .68rem; }
.gf-store-price--large strong { font-size: 1.5rem; }
.gf-store-empty { grid-column: 1 / -1; min-height: 250px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .55rem; padding: 2rem; color: var(--gf-muted); border: 1px dashed var(--gf-line-strong); border-radius: var(--gf-radius); background: var(--gf-panel-soft); text-align: center; }
.gf-store-empty span { width: 48px; height: 48px; display: grid; place-items: center; color: var(--gf-accent); border-radius: 50%; background: color-mix(in srgb, var(--gf-accent) 12%, var(--gf-panel)); font-size: 1.3rem; }
.gf-store-empty h2 { margin: .2rem 0 0; color: var(--gf-text); font-size: 1.15rem; }
.gf-store-empty p { max-width: 560px; margin: 0; }
.gf-store-empty--page { min-height: 360px; }
.gf-store-modal__loading { min-height: 250px; display: flex; align-items: center; justify-content: center; gap: .7rem; color: var(--gf-muted); }
.gf-store-package-modal .modal-header { align-items: flex-start; }
.gf-store-package-modal__grid { display: grid; gap: 1rem; }
.gf-store-package-modal__image { height: 240px; overflow: hidden; border: 1px solid var(--gf-line); border-radius: var(--gf-radius); background: var(--gf-input-bg); }
.gf-store-package-modal__image img { width: 100%; height: 100%; object-fit: cover; }
.gf-store-package-modal__description { color: var(--gf-muted); }
.gf-store-package-facts { margin-top: 1rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.gf-store-package-facts > div { min-width: 0; display: flex; align-items: center; gap: .7rem; padding: .75rem; border: 1px solid var(--gf-line); border-radius: var(--gf-radius-sm); background: var(--gf-panel-soft); }
.gf-store-package-facts > div > i { color: var(--gf-accent); font-size: 1.1rem; }
.gf-store-package-facts span { min-width: 0; display: flex; flex-direction: column; }
.gf-store-package-facts small { color: var(--gf-muted); }
.gf-store-notice { margin-top: 1rem; display: flex; gap: .65rem; padding: .8rem; color: var(--gf-muted); border-left: 3px solid var(--gf-accent-bright); background: var(--gf-panel-soft); }
.gf-store-notice i { color: var(--gf-accent-bright); }
.gf-store-package-modal__footer { align-items: center; justify-content: space-between; }
.gf-store-package-modal__actions { display: flex; align-items: center; justify-content: flex-end; gap: .6rem; }
.gf-store-purchase-form { display: flex; align-items: end; gap: .55rem; }
.gf-store-purchase-form label { display: grid; gap: .25rem; color: var(--gf-muted); font-size: .72rem; }
.gf-store-purchase-form input { width: 105px; }
.gf-store-unavailable { max-width: 360px; display: inline-flex; align-items: center; gap: .45rem; color: var(--bs-danger); font-size: .85rem; }
.gf-store-config-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; align-items: start; gap: 1rem; }
.gf-store-config-card, .gf-store-order-preview, .gf-store-login-card, .gf-store-order-summary, .gf-store-cart-items, .gf-store-profile-section, .gf-store-paypal-card { border: 1px solid var(--gf-line); border-radius: var(--gf-radius); background: var(--gf-panel); box-shadow: var(--gf-shadow); }
.gf-store-config-card { display: grid; gap: 1rem; padding: 1.2rem; }
.gf-store-config-card__heading { display: flex; gap: .8rem; padding-bottom: 1rem; border-bottom: 1px solid var(--gf-line); }
.gf-store-config-card__heading > span { width: 44px; height: 44px; display: grid; place-items: center; flex: 0 0 auto; color: var(--gf-accent); border-radius: var(--gf-radius); background: color-mix(in srgb, var(--gf-accent) 12%, var(--gf-panel-soft)); }
.gf-store-config-card__heading h2 { margin: 0 0 .25rem; font-size: 1.2rem; }
.gf-store-config-card__heading p { margin: 0; color: var(--gf-muted); }
.gf-store-field { padding: .8rem; border: 1px solid var(--gf-line); border-radius: var(--gf-radius); background: var(--gf-panel-soft); }
.gf-store-check { min-height: 44px; display: flex; align-items: center; gap: .6rem; }
.gf-store-check .form-check-input { margin: 0; }
.gf-store-field--integration { border-color: color-mix(in srgb, var(--gf-accent) 45%, var(--gf-line-strong)); }
.gf-store-config-card__actions { display: flex; align-items: center; justify-content: flex-end; gap: .6rem; padding-top: .2rem; }
.gf-store-order-preview { position: sticky; top: 84px; overflow: hidden; padding: 1rem; }
.gf-store-order-preview > img { width: calc(100% + 2rem); height: 175px; margin: -1rem -1rem 1rem; object-fit: cover; }
.gf-store-order-preview__label { margin: 0 0 .5rem; color: var(--gf-muted); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.gf-store-order-preview h2 { margin: 0 0 .4rem; font-size: 1.2rem; }
.gf-store-order-preview > p:not(.gf-store-order-preview__label) { color: var(--gf-muted); }
.gf-store-order-preview__price, .gf-store-order-preview > div { display: flex; justify-content: space-between; gap: .7rem; padding: .7rem 0; border-top: 1px solid var(--gf-line); }
.gf-store-order-preview > small { display: flex; gap: .45rem; margin-top: .6rem; color: var(--gf-muted); line-height: 1.45; }
.gf-store-order-preview > small i { color: var(--bs-success); }
.gf-store-cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 390px; align-items: start; gap: 1rem; }
.gf-store-cart-items { overflow: hidden; }
.gf-store-cart-items__heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem; border-bottom: 1px solid var(--gf-line); }
.gf-store-cart-items__heading h2 { margin: 0 0 .2rem; font-size: 1.2rem; }
.gf-store-cart-items__heading p { margin: 0; color: var(--gf-muted); font-size: .8rem; }
.gf-store-cart-list { display: grid; }
.gf-store-cart-item { min-width: 0; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: .8rem; padding: 1rem 1.1rem; border-bottom: 1px solid var(--gf-line); }
.gf-store-cart-item__icon { width: 48px; height: 48px; display: grid; place-items: center; color: var(--gf-accent); border-radius: var(--gf-radius); background: var(--gf-input-bg); }
.gf-store-cart-item__title { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.gf-store-cart-item__title h3 { margin: 0 0 .2rem; font-size: 1rem; }
.gf-store-cart-item__title p { margin: 0; color: var(--gf-muted); font-size: .76rem; }
.gf-store-cart-variables { display: flex; flex-wrap: wrap; gap: .45rem; margin: .7rem 0; }
.gf-store-cart-variables > div { max-width: 100%; display: inline-flex; align-items: center; gap: .3rem; padding: .3rem .5rem; border: 1px solid var(--gf-line); border-radius: 999px; background: var(--gf-panel-soft); font-size: .72rem; }
.gf-store-cart-variables dt { color: var(--gf-muted); font-weight: 500; }
.gf-store-cart-variables dt::after { content: ':'; }
.gf-store-cart-variables dd { max-width: 280px; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gf-store-cart-item__controls { display: flex; align-items: center; gap: .55rem; }
.gf-store-cart-item__controls label { color: var(--gf-muted); font-size: .72rem; }
.gf-store-cart-item__controls input { width: 76px; }
.gf-store-remove { color: var(--bs-danger); font-size: .78rem; text-decoration: none; }
.gf-store-remove:hover { color: var(--bs-danger); text-decoration: underline; }
.gf-store-clear-form { padding: .3rem .8rem .55rem; text-align: right; }
.gf-store-order-summary { position: sticky; top: 84px; padding: 1rem; }
.gf-store-order-summary > h2 { margin: 0 0 1rem; font-size: 1.2rem; }
.gf-store-summary-totals { display: grid; gap: .65rem; margin: 0 0 1rem; }
.gf-store-summary-totals > div { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.gf-store-summary-totals dt { color: var(--gf-muted); font-weight: 500; }
.gf-store-summary-totals dd { margin: 0; font-weight: 700; }
.gf-store-summary-totals__total { padding-top: .8rem; border-top: 1px solid var(--gf-line); }
.gf-store-summary-totals__total dt, .gf-store-summary-totals__total dd { color: var(--gf-text); font-size: 1.05rem; }
.gf-store-promo-block { margin-bottom: .8rem; padding: .75rem; border: 1px solid var(--gf-line); border-radius: var(--gf-radius); background: var(--gf-panel-soft); }
.gf-store-promo-block h3 { margin: 0 0 .55rem; font-size: .82rem; }
.gf-store-applied-code { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .55rem; padding: .45rem; border-radius: var(--gf-radius-sm); background: var(--gf-input-bg); }
.gf-store-applied-code > span { min-width: 0; display: grid; grid-template-columns: 20px minmax(0, 1fr); }
.gf-store-applied-code i { grid-row: 1 / 3; align-self: center; color: var(--gf-accent); }
.gf-store-applied-code small { color: var(--gf-muted); font-size: .68rem; }
.gf-store-applied-code button { width: 30px; height: 30px; display: grid; place-items: center; color: var(--gf-muted); border: 0; border-radius: var(--gf-radius-sm); background: transparent; }
.gf-store-applied-code button:hover { color: var(--bs-danger); background: var(--gf-panel-soft); }
.gf-store-checkout-form { display: grid; gap: .65rem; }
.gf-store-terms { margin: .2rem 0 .65rem; color: var(--gf-muted); font-size: .78rem; }
.gf-store-secure-note { display: flex; align-items: flex-start; gap: .4rem; margin: .7rem 0 0; color: var(--gf-muted); font-size: .7rem; line-height: 1.4; }
.gf-store-secure-note i { color: var(--bs-success); }
.gf-store-payment-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.gf-store-payment-method { min-width: 0; min-height: 145px; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: center; gap: .25rem .6rem; padding: 1rem; color: var(--gf-text); border: 1px solid var(--gf-line); border-radius: var(--gf-radius); background: var(--gf-panel); text-decoration: none; box-shadow: var(--gf-shadow); }
.gf-store-payment-method:hover { color: var(--gf-text); border-color: color-mix(in srgb, var(--gf-accent) 45%, var(--gf-line-strong)); }
.gf-store-payment-method > span, .gf-store-payment-method button > span { grid-column: 1 / -1; height: 46px; display: flex; align-items: center; margin-bottom: .45rem; }
.gf-store-payment-method img { max-width: 160px; max-height: 42px; object-fit: contain; object-position: left center; }
.gf-store-payment-method strong { font-size: 1rem; }
.gf-store-payment-method small { color: var(--gf-muted); }
.gf-store-payment-method > i, .gf-store-payment-method button > i { grid-column: 2; grid-row: 2 / 4; align-self: center; color: var(--gf-accent); }
.gf-store-payment-method--form { padding: 0; }
.gf-store-payment-method--form button { width: 100%; min-height: 145px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: center; gap: .25rem .6rem; padding: 1rem; color: inherit; border: 0; background: transparent; text-align: left; }
.gf-store-offer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
.gf-store-offer-card { display: grid; gap: .7rem; padding: 1rem; border: 1px solid var(--gf-line); border-radius: var(--gf-radius); background: var(--gf-panel); box-shadow: var(--gf-shadow); text-align: center; }
.gf-store-offer-card > img { width: 100%; height: 120px; object-fit: contain; }
.gf-store-offer-card__icon { width: 54px; height: 54px; display: grid; place-items: center; justify-self: center; color: var(--gf-accent); border-radius: 50%; background: var(--gf-input-bg); font-size: 1.3rem; }
.gf-store-offer-card h2 { margin: 0; font-size: 1rem; }
.gf-store-offer-card > strong { font-size: 1.2rem; }
.gf-store-profile-stack { display: grid; gap: 1rem; }
.gf-store-profile-section { overflow: hidden; }
.gf-store-profile-section__heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem; border-bottom: 1px solid var(--gf-line); }
.gf-store-profile-section__heading > div { display: flex; align-items: center; gap: .7rem; }
.gf-store-profile-section__heading > div > span { width: 42px; height: 42px; display: grid; place-items: center; color: var(--gf-accent); border-radius: var(--gf-radius); background: var(--gf-input-bg); }
.gf-store-profile-section__heading h2 { margin: 0 0 .15rem; font-size: 1.15rem; }
.gf-store-profile-section__heading p { margin: 0; color: var(--gf-muted); font-size: .78rem; }
.gf-store-profile-section__heading > strong { min-width: 32px; padding: .25rem .5rem; border-radius: 999px; background: var(--gf-input-bg); text-align: center; }
.gf-store-profile-empty { padding: 1.3rem; color: var(--gf-muted); }
.gf-store-table code { color: var(--gf-muted); }
.gf-store-subscription-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; padding: 1rem; }
.gf-store-subscription-card { padding: .9rem; border: 1px solid var(--gf-line); border-radius: var(--gf-radius); background: var(--gf-panel-soft); }
.gf-store-subscription-card__heading { display: flex; align-items: flex-start; justify-content: space-between; gap: .8rem; }
.gf-store-subscription-card__heading p { margin: 0 0 .15rem; color: var(--gf-muted); font-size: .7rem; text-transform: uppercase; }
.gf-store-subscription-card__heading h3 { margin: 0; font-size: 1rem; }
.gf-store-subscription-card dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin: .9rem 0; }
.gf-store-subscription-card dl > div { display: flex; flex-direction: column; }
.gf-store-subscription-card dt { color: var(--gf-muted); font-size: .68rem; font-weight: 500; }
.gf-store-subscription-card dd { margin: .1rem 0 0; font-size: .84rem; font-weight: 650; }
.gf-store-subscription-card dd small { color: var(--gf-muted); }
.gf-store-subscription-card__footer { display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding-top: .75rem; border-top: 1px solid var(--gf-line); }
.gf-store-subscription-card__footer code { min-width: 0; overflow: hidden; color: var(--gf-muted); text-overflow: ellipsis; }
.gf-store-login-card { width: min(520px, 100%); justify-self: center; padding: 1.4rem; text-align: center; }
.gf-store-login-card__icon { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto .8rem; color: var(--gf-accent); border-radius: 50%; background: var(--gf-input-bg); font-size: 1.5rem; }
.gf-store-login-card h2 { margin: 0 0 .4rem; }
.gf-store-login-card > p { color: var(--gf-muted); }
.gf-store-login-card form { display: grid; gap: .6rem; margin-top: 1rem; text-align: left; }
.gf-store-paypal-shell { min-height: 520px; display: grid; place-items: center; }
.gf-store-paypal-card { width: min(560px, 100%); padding: 1.2rem; }
.gf-store-paypal-card__heading { display: flex; gap: .8rem; }
.gf-store-paypal-card__heading > span { width: 48px; height: 48px; display: grid; place-items: center; flex: 0 0 auto; color: var(--bs-success); border-radius: 50%; background: color-mix(in srgb, var(--bs-success) 12%, var(--gf-panel-soft)); }
.gf-store-paypal-card__heading h1 { margin: .1rem 0 .3rem; font-size: 1.6rem; }
.gf-store-paypal-card__heading p:last-child { margin: 0; color: var(--gf-muted); }
.gf-store-paypal-total { display: flex; align-items: center; justify-content: space-between; margin: 1rem 0; padding: .8rem; border: 1px solid var(--gf-line); border-radius: var(--gf-radius); background: var(--gf-panel-soft); }
.gf-store-paypal-total span { color: var(--gf-muted); }
.gf-store-paypal-total strong { font-size: 1.35rem; }
.gf-store-paypal-buttons { min-height: 60px; }
.gf-store-paypal-card__footer { margin-top: 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.gf-store-paypal-card__footer p { display: flex; gap: .4rem; margin: 0; color: var(--gf-muted); font-size: .72rem; }
#pay-loader { inset: 0; z-index: 10; border-radius: var(--gf-radius); background: color-mix(in srgb, var(--gf-input-bg) 85%, transparent); }


/* Logical Serverly Supporter product */
.gf-store-page-heading--supporter { border-color: color-mix(in srgb, var(--gf-accent) 34%, var(--gf-line)); background: linear-gradient(135deg, color-mix(in srgb, var(--gf-accent) 9%, var(--gf-panel)), var(--gf-panel)); }
.gf-store-layout--supporter { grid-template-columns: 250px minmax(0, 1fr); }
.gf-store-reference-supporter-product { min-width: 0; display: grid; gap: 1rem; }
.gf-store-reference-supporter-product__intro, .gf-store-reference-supporter-selector, .gf-store-reference-supporter-disclosure { border: 1px solid var(--gf-line); border-radius: var(--gf-radius); background: var(--gf-panel); box-shadow: var(--gf-shadow); }
.gf-store-reference-supporter-product__intro { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem; border-color: color-mix(in srgb, var(--gf-accent) 34%, var(--gf-line)); background: linear-gradient(135deg, color-mix(in srgb, var(--gf-accent) 10%, var(--gf-panel)), var(--gf-panel)); }
.gf-store-reference-supporter-product__intro-copy { min-width: 0; display: flex; align-items: flex-start; gap: .9rem; }
.gf-store-reference-supporter-product__mark { width: 52px; height: 52px; display: grid; place-items: center; flex: 0 0 auto; color: var(--gf-accent); border: 1px solid color-mix(in srgb, var(--gf-accent) 34%, var(--gf-line-strong)); border-radius: var(--gf-radius); background: color-mix(in srgb, var(--gf-accent) 12%, var(--gf-panel-soft)); font-size: 1.35rem; }
.gf-store-reference-supporter-product__intro h2 { margin: .15rem 0 .3rem; font-size: clamp(1.45rem, 3vw, 2rem); letter-spacing: -.035em; }
.gf-store-reference-supporter-product__intro p:last-child { max-width: 720px; margin: 0; color: var(--gf-muted); line-height: 1.55; }
.gf-store-reference-supporter-product__status { display: inline-flex; align-items: center; gap: .5rem; flex: 0 0 auto; padding: .65rem .75rem; color: color-mix(in srgb, var(--bs-success) 78%, var(--gf-text)); border: 1px solid color-mix(in srgb, var(--bs-success) 35%, var(--gf-line-strong)); border-radius: 999px; background: color-mix(in srgb, var(--bs-success) 9%, var(--gf-panel)); font-size: .78rem; font-weight: 700; }
.gf-store-reference-supporter-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.gf-store-reference-supporter-benefits article { min-width: 0; display: flex; align-items: flex-start; gap: .7rem; padding: .9rem; border: 1px solid var(--gf-line); border-radius: var(--gf-radius); background: var(--gf-panel-soft); }
.gf-store-reference-supporter-benefits article > i { width: 36px; height: 36px; display: grid; place-items: center; flex: 0 0 auto; color: var(--gf-accent); border-radius: 50%; background: color-mix(in srgb, var(--gf-accent) 11%, var(--gf-panel)); }
.gf-store-reference-supporter-benefits article > div { min-width: 0; display: grid; gap: .2rem; }
.gf-store-reference-supporter-benefits strong { font-size: .88rem; }
.gf-store-reference-supporter-benefits span { color: var(--gf-muted); font-size: .76rem; line-height: 1.48; }
.gf-store-reference-supporter-selector { overflow: hidden; }
.gf-store-reference-supporter-selector__heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.2rem .9rem; }
.gf-store-reference-supporter-selector__heading h3 { margin: .15rem 0 0; font-size: 1.35rem; letter-spacing: -.025em; }
.gf-store-reference-supporter-selector__heading > p { max-width: 500px; margin: 0; color: var(--gf-muted); font-size: .84rem; text-align: right; }
.gf-store-reference-supporter-modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .35rem; margin: 0 1.2rem; padding: .35rem; border: 1px solid var(--gf-line); border-radius: var(--gf-radius); background: var(--gf-input-bg); }
.gf-store-reference-supporter-mode { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .65rem .85rem; color: var(--gf-muted); border: 1px solid transparent; border-radius: calc(var(--gf-radius) - 4px); background: transparent; font-size: .86rem; font-weight: 750; transition: color var(--gf-transition), border-color var(--gf-transition), background var(--gf-transition), box-shadow var(--gf-transition); }
.gf-store-reference-supporter-mode:hover { color: var(--gf-text); }
.gf-store-reference-supporter-mode.is-active { color: var(--gf-text); border-color: color-mix(in srgb, var(--gf-accent) 42%, var(--gf-line-strong)); background: var(--gf-panel); box-shadow: 0 4px 14px color-mix(in srgb, var(--gf-bg) 30%, transparent); }
.gf-store-reference-supporter-mode i { color: var(--gf-accent); }
.gf-store-reference-supporter-mode:focus-visible { outline: 3px solid color-mix(in srgb, var(--gf-accent) 28%, transparent); outline-offset: 2px; }
.gf-store-reference-supporter-panels { padding: 1rem 1.2rem 0; }
.gf-store-reference-supporter-panel { display: grid; gap: 1rem; }
.gf-store-reference-supporter-panel[hidden] { display: none !important; }
.gf-store-reference-supporter-panel__copy { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: .85rem; border-left: 3px solid var(--gf-accent); border-radius: 0 var(--gf-radius-sm) var(--gf-radius-sm) 0; background: color-mix(in srgb, var(--gf-accent) 7%, var(--gf-panel-soft)); }
.gf-store-reference-supporter-panel__copy > div { display: grid; gap: .15rem; flex: 0 0 auto; }
.gf-store-reference-supporter-panel__copy span { color: var(--gf-muted); font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.gf-store-reference-supporter-panel__copy strong { font-size: 1rem; }
.gf-store-reference-supporter-panel__copy p { max-width: 670px; margin: 0; color: var(--gf-muted); font-size: .82rem; line-height: 1.55; }
.gf-store-reference-supporter-options { min-width: 0; margin: 0; padding: 0; border: 0; }
.gf-store-reference-supporter-options legend { margin-bottom: .6rem; color: var(--gf-muted); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.gf-store-reference-supporter-options__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.gf-store-reference-supporter-option { position: relative; min-width: 0; }
.gf-store-reference-supporter-option input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.gf-store-reference-supporter-option label { position: relative; min-height: 144px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: start; gap: .35rem .8rem; padding: 1rem; color: var(--gf-text); border: 1px solid var(--gf-line); border-radius: var(--gf-radius); background: var(--gf-panel-soft); cursor: pointer; transition: border-color var(--gf-transition), background var(--gf-transition), transform var(--gf-transition), box-shadow var(--gf-transition); }
.gf-store-reference-supporter-option label:hover { border-color: color-mix(in srgb, var(--gf-accent) 42%, var(--gf-line-strong)); transform: translateY(-1px); }
.gf-store-reference-supporter-option input:focus-visible + label { outline: 3px solid color-mix(in srgb, var(--gf-accent) 28%, transparent); outline-offset: 2px; }
.gf-store-reference-supporter-option input:checked + label, .gf-store-reference-supporter-option.is-selected label { border-color: color-mix(in srgb, var(--gf-accent) 65%, var(--gf-line-strong)); background: color-mix(in srgb, var(--gf-accent) 8%, var(--gf-panel-soft)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gf-accent) 18%, transparent); }
.gf-store-reference-supporter-option__check { position: absolute; top: .7rem; right: .7rem; width: 25px; height: 25px; display: grid; place-items: center; color: transparent; border: 1px solid var(--gf-line-strong); border-radius: 50%; background: var(--gf-panel); font-size: .76rem; }
.gf-store-reference-supporter-option input:checked + label .gf-store-reference-supporter-option__check, .gf-store-reference-supporter-option.is-selected .gf-store-reference-supporter-option__check { color: var(--gf-bg); border-color: var(--gf-accent); background: var(--gf-accent); }
.gf-store-reference-supporter-option__duration { padding-right: 2rem; font-size: 1rem; font-weight: 800; }
.gf-store-reference-supporter-option__price { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-direction: column; align-items: flex-end; padding-right: 2rem; text-align: right; }
.gf-store-reference-supporter-option__price del { color: var(--gf-muted); font-size: .7rem; }
.gf-store-reference-supporter-option__price strong { font-size: 1.25rem; letter-spacing: -.02em; }
.gf-store-reference-supporter-option__price small { color: var(--gf-muted); font-size: .64rem; }
.gf-store-reference-supporter-option__billing { grid-column: 1 / -1; align-self: end; margin-top: .45rem; padding-top: .6rem; color: var(--gf-muted); border-top: 1px solid var(--gf-line); font-size: .74rem; line-height: 1.45; }
.gf-store-reference-supporter-selection { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 1rem; margin-top: 1rem; padding: 1rem 1.2rem; border-top: 1px solid var(--gf-line); background: var(--gf-panel-soft); }
.gf-store-reference-supporter-selection__summary, .gf-store-reference-supporter-selection__price { min-width: 0; display: grid; gap: .12rem; }
.gf-store-reference-supporter-selection__summary > span, .gf-store-reference-supporter-selection__price > span { color: var(--gf-muted); font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.gf-store-reference-supporter-selection__summary strong { font-size: .94rem; }
.gf-store-reference-supporter-selection__summary small { color: var(--gf-muted); font-size: .72rem; }
.gf-store-reference-supporter-selection__price { min-width: 100px; text-align: right; }
.gf-store-reference-supporter-selection__price strong { font-size: 1.35rem; }
.gf-store-reference-supporter-selection__actions { min-width: 180px; display: flex; justify-content: flex-end; }
.gf-store-reference-supporter-action { display: none; }
.gf-store-reference-supporter-action.is-active { display: flex; align-items: center; justify-content: flex-end; }
.gf-store-reference-supporter-action[hidden] { display: none !important; }
.gf-store-reference-supporter-action form { margin: 0; }
.gf-store-reference-supporter-action .btn { min-width: 180px; justify-content: center; }
.gf-store-reference-supporter-disclosure { padding: 1rem 1.1rem; border-color: color-mix(in srgb, var(--gf-accent) 34%, var(--gf-line)); background: color-mix(in srgb, var(--gf-accent) 6%, var(--gf-panel)); }
.gf-store-reference-supporter-disclosure > div { display: flex; align-items: flex-start; gap: .7rem; }
.gf-store-reference-supporter-disclosure > div > i { flex: 0 0 auto; margin-top: .1rem; color: var(--gf-accent); }
.gf-store-reference-supporter-disclosure strong { display: block; margin-bottom: .15rem; }
.gf-store-reference-supporter-disclosure p { margin: 0; color: var(--gf-muted); font-size: .8rem; line-height: 1.5; }
.gf-store-reference-supporter-disclosure ul { display: flex; flex-wrap: wrap; gap: .45rem .8rem; margin: .8rem 0 0 1.7rem; padding: 0; color: var(--gf-muted); font-size: .74rem; }
.gf-store-reference-supporter-disclosure li::marker { color: var(--gf-accent); }

/* Plugin-specific compatibility */
.gf-store-page .shop-sidebar, .serverly-support-page .list-group { border-color: var(--gf-line); border-radius: var(--gf-radius); }
.gf-store-page .card-img-top { max-height: 260px; object-fit: cover; }
.gf-store-page .card-title, .serverly-support-page .card-title { color: var(--gf-text); }
.serverly-faq-page .accordion, .serverly-changelog-page .card { max-width: var(--gf-reading); margin-inline: auto; }

/* Responsive layouts */


/* Unified multi-tier Supporter storefront */
.gf-store-reference-supporter-tier-product { min-width: 0; }
.gf-store-reference-supporter-unified-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1.1rem; padding: clamp(1.25rem, 2.6vw, 1.8rem); border: 1px solid color-mix(in srgb, var(--gf-accent) 42%, var(--gf-line)); border-radius: var(--gf-radius); background: linear-gradient(135deg, color-mix(in srgb, var(--gf-accent) 10%, var(--gf-panel)), var(--gf-panel)); box-shadow: var(--gf-shadow); }
.gf-store-reference-supporter-unified-card__icon { width: 62px; height: 62px; display: grid; place-items: center; color: var(--gf-accent); border: 1px solid color-mix(in srgb, var(--gf-accent) 38%, var(--gf-line-strong)); border-radius: var(--gf-radius); background: color-mix(in srgb, var(--gf-accent) 12%, var(--gf-panel-soft)); font-size: 1.6rem; }
.gf-store-reference-supporter-unified-card__copy { min-width: 0; }
.gf-store-reference-supporter-unified-card__copy h2 { margin: .15rem 0 .35rem; font-size: clamp(1.45rem, 3vw, 2rem); letter-spacing: -.035em; }
.gf-store-reference-supporter-unified-card__copy > p:last-of-type { max-width: 680px; margin: 0; color: var(--gf-muted); line-height: 1.55; }
.gf-store-reference-supporter-current-tier { width: fit-content; display: inline-flex; align-items: center; gap: .45rem; margin-top: .8rem; padding: .5rem .65rem; color: color-mix(in srgb, var(--bs-success) 78%, var(--gf-text)); border: 1px solid color-mix(in srgb, var(--bs-success) 34%, var(--gf-line-strong)); border-radius: 999px; background: color-mix(in srgb, var(--bs-success) 8%, var(--gf-panel)); font-size: .76rem; }
.gf-store-reference-supporter-unified-card__action { min-width: 150px; display: grid; justify-items: end; gap: .15rem; text-align: right; }
.gf-store-reference-supporter-unified-card__action > span { color: var(--gf-muted); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.gf-store-reference-supporter-unified-card__action > strong { margin-bottom: .45rem; font-size: 1.65rem; letter-spacing: -.035em; }
.gf-store-reference-supporter-unified-card__action > small { max-width: 190px; color: var(--gf-muted); font-size: .7rem; line-height: 1.4; }
.gf-store-reference-supporter-tier-modal .modal-content { overflow: hidden; border: 1px solid color-mix(in srgb, var(--gf-accent) 34%, var(--gf-line-strong)); background: var(--gf-panel); box-shadow: 0 24px 70px color-mix(in srgb, var(--gf-bg) 72%, transparent); }
.gf-store-reference-supporter-tier-modal .modal-header { align-items: flex-start; padding: 1.15rem 1.25rem; border-bottom-color: var(--gf-line); background: linear-gradient(135deg, color-mix(in srgb, var(--gf-accent) 8%, var(--gf-panel)), var(--gf-panel)); }
.gf-store-reference-supporter-tier-modal .modal-title { font-size: 1.55rem; letter-spacing: -.03em; }
.gf-store-reference-supporter-tier-modal .modal-body { display: grid; gap: 1rem; padding: 1.15rem 1.25rem 1.35rem; }
.gf-store-reference-supporter-tier-modal__status { display: flex; align-items: center; gap: .5rem; padding: .7rem .8rem; color: color-mix(in srgb, var(--bs-success) 80%, var(--gf-text)); border: 1px solid color-mix(in srgb, var(--bs-success) 34%, var(--gf-line-strong)); border-radius: var(--gf-radius); background: color-mix(in srgb, var(--bs-success) 8%, var(--gf-panel-soft)); font-size: .8rem; }
.gf-store-reference-supporter-tier-step { display: grid; gap: .8rem; padding: 1rem; border: 1px solid var(--gf-line); border-radius: var(--gf-radius); background: var(--gf-panel-soft); }
.gf-store-reference-supporter-tier-step__heading { display: flex; align-items: center; gap: .7rem; }
.gf-store-reference-supporter-tier-step__heading > span { width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 auto; color: var(--gf-bg); border-radius: 50%; background: var(--gf-accent); font-size: .74rem; font-weight: 850; }
.gf-store-reference-supporter-tier-step__heading h3 { margin: .08rem 0 0; font-size: 1.15rem; letter-spacing: -.02em; }
.gf-store-reference-supporter-tier-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; margin: 0; padding: 0; border: 0; }
.gf-store-reference-supporter-tier-choice { position: relative; min-width: 0; }
.gf-store-reference-supporter-tier-choice input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.gf-store-reference-supporter-tier-choice label { min-height: 150px; display: grid; align-content: start; gap: .35rem; padding: 1rem; color: var(--gf-text); border: 1px solid var(--gf-line); border-radius: var(--gf-radius); background: var(--gf-panel); cursor: pointer; transition: border-color var(--gf-transition), background var(--gf-transition), transform var(--gf-transition), box-shadow var(--gf-transition); }
.gf-store-reference-supporter-tier-choice label:hover { border-color: color-mix(in srgb, var(--gf-accent) 46%, var(--gf-line-strong)); transform: translateY(-1px); }
.gf-store-reference-supporter-tier-choice input:focus-visible + label { outline: 3px solid color-mix(in srgb, var(--gf-accent) 28%, transparent); outline-offset: 2px; }
.gf-store-reference-supporter-tier-choice input:checked + label, .gf-store-reference-supporter-tier-choice.is-selected label { border-color: color-mix(in srgb, var(--gf-accent) 68%, var(--gf-line-strong)); background: color-mix(in srgb, var(--gf-accent) 8%, var(--gf-panel)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gf-accent) 18%, transparent); }
.gf-store-reference-supporter-tier-choice.is-disabled { opacity: .58; }
.gf-store-reference-supporter-tier-choice.is-disabled label { cursor: not-allowed; transform: none; }
.gf-store-reference-supporter-tier-choice__check { position: absolute; top: .65rem; right: .65rem; width: 24px; height: 24px; display: grid; place-items: center; color: transparent; border: 1px solid var(--gf-line-strong); border-radius: 50%; background: var(--gf-panel); font-size: .72rem; }
.gf-store-reference-supporter-tier-choice input:checked + label .gf-store-reference-supporter-tier-choice__check, .gf-store-reference-supporter-tier-choice.is-selected .gf-store-reference-supporter-tier-choice__check { color: var(--gf-bg); border-color: var(--gf-accent); background: var(--gf-accent); }
.gf-store-reference-supporter-tier-choice label > strong { padding-right: 1.7rem; font-size: 1rem; }
.gf-store-reference-supporter-tier-choice__price { font-size: 1.35rem; font-weight: 850; letter-spacing: -.03em; }
.gf-store-reference-supporter-tier-choice label > small { color: var(--gf-muted); font-size: .75rem; line-height: 1.48; }
.gf-store-reference-supporter-tier-choice label > em { margin-top: auto; color: var(--bs-danger); font-size: .7rem; font-style: normal; font-weight: 750; }
.gf-store-reference-supporter-single-tier { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .75rem; padding: .9rem; border: 1px solid color-mix(in srgb, var(--gf-accent) 46%, var(--gf-line-strong)); border-radius: var(--gf-radius); background: color-mix(in srgb, var(--gf-accent) 7%, var(--gf-panel)); }
.gf-store-reference-supporter-single-tier > i { color: var(--gf-accent); font-size: 1.25rem; }
.gf-store-reference-supporter-single-tier > div { display: grid; gap: .15rem; }
.gf-store-reference-supporter-single-tier span { color: var(--gf-muted); font-size: .76rem; }
.gf-store-reference-supporter-single-tier b { font-size: 1.25rem; }
.gf-store-reference-supporter-tier-billing { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .35rem; padding: .35rem; border: 1px solid var(--gf-line); border-radius: var(--gf-radius); background: var(--gf-input-bg); }
.gf-store-reference-supporter-tier-billing[hidden] { display: none !important; }
.gf-store-reference-supporter-tier-billing__option { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; color: var(--gf-muted); border: 1px solid transparent; border-radius: calc(var(--gf-radius) - 4px); background: transparent; font-size: .84rem; font-weight: 780; }
.gf-store-reference-supporter-tier-billing__option:hover { color: var(--gf-text); }
.gf-store-reference-supporter-tier-billing__option.is-active { color: var(--gf-text); border-color: color-mix(in srgb, var(--gf-accent) 46%, var(--gf-line-strong)); background: var(--gf-panel); box-shadow: 0 4px 14px color-mix(in srgb, var(--gf-bg) 30%, transparent); }
.gf-store-reference-supporter-tier-billing__option i { color: var(--gf-accent); }
.gf-store-reference-supporter-tier-billing__option:focus-visible { outline: 3px solid color-mix(in srgb, var(--gf-accent) 28%, transparent); outline-offset: 2px; }
.gf-store-reference-supporter-tier-option-panels { min-width: 0; }
.gf-store-reference-supporter-tier-option-panel { display: grid; gap: .9rem; }
.gf-store-reference-supporter-tier-option-panel[hidden] { display: none !important; }
.gf-store-reference-supporter-tier-option-panel__summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: start; padding: .9rem; border-left: 3px solid var(--gf-accent); border-radius: 0 var(--gf-radius-sm) var(--gf-radius-sm) 0; background: color-mix(in srgb, var(--gf-accent) 6%, var(--gf-panel)); }
.gf-store-reference-supporter-tier-option-panel__summary > div:first-child { min-width: 0; }
.gf-store-reference-supporter-tier-option-panel__summary span { display: block; color: var(--gf-muted); font-size: .68rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.gf-store-reference-supporter-tier-option-panel__summary strong { display: block; margin-top: .12rem; font-size: 1rem; }
.gf-store-reference-supporter-tier-option-panel__summary p { max-width: 690px; margin: .35rem 0 0; color: var(--gf-muted); font-size: .8rem; line-height: 1.5; }
.gf-store-reference-supporter-tier-option-panel__price { min-width: 130px; text-align: right; }
.gf-store-reference-supporter-tier-option-panel__price del { color: var(--gf-muted); font-size: .7rem; }
.gf-store-reference-supporter-tier-option-panel__price strong { font-size: 1.4rem; letter-spacing: -.03em; }
.gf-store-reference-supporter-tier-option-panel__price small { color: var(--gf-muted); font-size: .68rem; }
.gf-store-reference-supporter-tier-purchase { display: grid; gap: .85rem; }
.gf-store-reference-supporter-contribution { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, 260px); gap: .65rem 1rem; align-items: end; padding: .9rem; border: 1px solid var(--gf-line); border-radius: var(--gf-radius); background: var(--gf-panel); }
.gf-store-reference-supporter-contribution label { display: grid; gap: .15rem; }
.gf-store-reference-supporter-contribution label > span { font-size: .86rem; font-weight: 780; }
.gf-store-reference-supporter-contribution label > small { color: var(--gf-muted); font-size: .72rem; }
.gf-store-reference-supporter-contribution__field { display: flex; align-items: stretch; border: 1px solid var(--gf-line-strong); border-radius: var(--gf-radius-sm); background: var(--gf-input-bg); overflow: hidden; }
.gf-store-reference-supporter-contribution__field > span { display: grid; place-items: center; min-width: 44px; padding: 0 .65rem; color: var(--gf-muted); border-right: 1px solid var(--gf-line-strong); font-size: .75rem; font-weight: 750; }
.gf-store-reference-supporter-contribution__field input { min-width: 0; width: 100%; min-height: 44px; padding: .65rem .75rem; color: var(--gf-text); border: 0; background: transparent; font: inherit; }
.gf-store-reference-supporter-contribution__field:focus-within { border-color: color-mix(in srgb, var(--gf-accent) 58%, var(--gf-line-strong)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gf-accent) 18%, transparent); }
.gf-store-reference-supporter-contribution__field input:focus { outline: 0; }
.gf-store-reference-supporter-contribution__notice { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: .45rem; margin: 0; padding-top: .65rem; color: var(--gf-muted); border-top: 1px solid var(--gf-line); font-size: .73rem; line-height: 1.48; }
.gf-store-reference-supporter-contribution__notice i { flex: 0 0 auto; margin-top: .1rem; color: var(--gf-accent); }
.gf-store-reference-supporter-tier-purchase__footer { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: .9rem; border: 1px solid var(--gf-line); border-radius: var(--gf-radius); background: var(--gf-panel); }
.gf-store-reference-supporter-tier-purchase__footer > div:first-child { display: grid; gap: .14rem; }
.gf-store-reference-supporter-tier-purchase__footer > div:first-child > span { color: var(--gf-muted); font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.gf-store-reference-supporter-tier-purchase__footer > div:first-child > strong { font-size: .92rem; }
.gf-store-reference-supporter-tier-purchase__footer > div:first-child > small { color: var(--gf-muted); font-size: .72rem; }
.gf-store-reference-supporter-tier-purchase__action { min-width: 180px; display: grid; justify-items: end; gap: .3rem; }
.gf-store-reference-supporter-tier-purchase__action form { margin: 0; }
.gf-store-reference-supporter-tier-purchase__action .btn { min-width: 180px; justify-content: center; }
.gf-store-reference-supporter-tier-purchase__action > small { max-width: 220px; color: var(--gf-muted); font-size: .68rem; text-align: right; }
.gf-store-reference-supporter-tier-benefits { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .75fr); gap: .8rem; }
.gf-store-reference-supporter-tier-benefits > div, .gf-store-reference-supporter-tier-benefits > aside { padding: .9rem; border: 1px solid var(--gf-line); border-radius: var(--gf-radius); background: var(--gf-panel-soft); }
.gf-store-reference-supporter-tier-benefits h3 { margin: 0 0 .6rem; font-size: .95rem; }
.gf-store-reference-supporter-tier-benefits ul { display: grid; gap: .45rem; margin: 0; padding: 0; list-style: none; color: var(--gf-muted); font-size: .75rem; line-height: 1.48; }
.gf-store-reference-supporter-tier-benefits li { display: flex; align-items: flex-start; gap: .45rem; }
.gf-store-reference-supporter-tier-benefits li i { flex: 0 0 auto; margin-top: .08rem; color: var(--gf-accent); }
.gf-store-reference-supporter-tier-benefits > aside { display: flex; align-items: flex-start; gap: .6rem; border-color: color-mix(in srgb, var(--gf-accent) 36%, var(--gf-line)); background: color-mix(in srgb, var(--gf-accent) 6%, var(--gf-panel-soft)); }
.gf-store-reference-supporter-tier-benefits > aside > i { flex: 0 0 auto; color: var(--gf-accent); }
.gf-store-reference-supporter-tier-benefits > aside strong { display: block; margin-bottom: .45rem; font-size: .88rem; }

@media (max-width: 1280px) {
    .serverly-header__inner { gap: .75rem; }
    .serverly-nav-link { padding-inline: .55rem; font-size: .82rem; }
    .serverly-header-search { width: 190px; }
    .serverly-server-card { grid-template-columns: 56px 50px minmax(200px, 1fr) auto; }
    .serverly-server-card__rank { grid-column: 1; }
    .serverly-server-card__metrics { grid-column: 4; }
    .serverly-server-card__actions { grid-column: 3 / 5; justify-content: flex-end; }
    .serverly-server-card__actions .btn span { display: inline; }
}

@media (max-width: 1120px) {
    .serverly-menu-toggle { display: grid; place-items: center; grid-column: 2; justify-self: end; }
    .serverly-header__inner { grid-template-columns: auto minmax(0, 1fr) auto; }
    .serverly-navigation { position: absolute; top: calc(100% + 1px); left: 24px; right: 24px; display: none; flex-direction: column; align-items: stretch; gap: .75rem; max-height: calc(100vh - 96px); overflow-y: auto; padding: .8rem; border: 1px solid var(--gf-line-strong); border-radius: 0 0 var(--gf-radius) var(--gf-radius); background: var(--gf-panel); box-shadow: var(--gf-shadow); }
    .serverly-navigation.is-open { display: flex; }
    .serverly-nav { flex-direction: column; align-items: stretch; }
    .serverly-nav-link { width: 100%; justify-content: flex-start; padding: .7rem .8rem; }
    .serverly-nav-link.active { box-shadow: inset 3px 0 var(--gf-accent); }
    .serverly-header-search { width: 100%; }
    .serverly-header-actions { grid-column: 3; grid-row: 1; }
    .serverly-game-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .serverly-toplist-layout, .serverly-server-page-layout { grid-template-columns: minmax(0, 1fr); }
    .serverly-toplist-rail, .serverly-server-page-rail { position: static; }
    .serverly-toplist-rail .serverly-ad-slot--rail, .serverly-server-page-rail .serverly-ad-slot--rail { min-height: 130px; }
    .serverly-management-layout { grid-template-columns: 230px minmax(0, 1fr); }
    .serverly-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .serverly-placement-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .serverly-container { width: min(var(--gf-content), calc(100% - 32px)); }
    .serverly-app-main { padding-inline: 16px; }
    .serverly-discovery-form { grid-template-columns: minmax(0, 1fr) minmax(150px, .6fr); }
    .serverly-discovery-form__query { grid-column: 1 / -1; }
    .serverly-discovery-form__submit { width: 100%; }
    .serverly-game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .serverly-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .serverly-news-grid { grid-template-columns: 1fr; }
    .serverly-news-card { display: grid; grid-template-columns: 220px minmax(0, 1fr); }
    .serverly-news-card__media { height: 100%; min-height: 180px; }
    .serverly-server-card { grid-template-columns: 46px minmax(0, 1fr) auto; }
    .serverly-server-card__rank { grid-column: 1; grid-row: 1; }
    .serverly-server-card__icon { grid-column: 1; grid-row: 2 / span 2; width: 46px; height: 46px; }
    .serverly-server-card__identity { grid-column: 2 / 4; grid-row: 1 / 3; }
    .serverly-server-card__metrics { grid-column: 2 / 4; grid-row: 3; justify-content: flex-start; }
    .serverly-server-card__actions { grid-column: 2 / 4; grid-row: 4; justify-content: flex-start; }
    .serverly-management-layout { grid-template-columns: 1fr; }
    .serverly-owner-sidebar { position: static; }
    .serverly-owner-sidebar nav { max-height: 270px; }
    .serverly-advertise-hero { align-items: flex-start; flex-direction: column; }
    .serverly-trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .serverly-process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
    .serverly-brand__full, .serverly-brand__default { display: none; }
    .serverly-brand__mark { display: block; }
    .serverly-account-name, .serverly-header-cta span { display: none; }
    .serverly-header-cta { width: 42px; padding-inline: 0; }
    .serverly-page-header--split, .serverly-game-header, .serverly-section-heading, .serverly-support-strip, .serverly-management-context, .serverly-listing-completeness { align-items: flex-start; flex-direction: column; }
    .serverly-section-heading__actions { justify-content: flex-start; }
    .serverly-discovery-form { grid-template-columns: 1fr; }
    .serverly-discovery-form__query { grid-column: auto; }
    .serverly-game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .serverly-news-card { grid-template-columns: 1fr; }
    .serverly-news-card__media { min-height: 150px; }
    .serverly-post-row { grid-template-columns: 1fr; }
    .serverly-post-row__media { height: 190px; }
    .serverly-server-identity__top { grid-template-columns: 66px minmax(0, 1fr); }
    .serverly-server-identity__icon { width: 66px; height: 66px; }
    .serverly-server-identity__live { grid-column: 1 / -1; align-items: flex-start; flex-direction: row; gap: .8rem; }
    .serverly-tab-bar { overflow-x: auto; }
    .serverly-form-grid, .serverly-state-panel, .serverly-media-grid { grid-template-columns: 1fr; }
    .serverly-form-grid__wide, .serverly-upload-card--wide { grid-column: auto; }
    .serverly-placement-grid { grid-template-columns: 1fr; }
    .serverly-footer__grid { grid-template-columns: 1fr 1fr; }
    .serverly-footer__about { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
    .serverly-container { width: min(var(--gf-content), calc(100% - 24px)); }
    .serverly-app-main { padding-inline: 12px; }
    .serverly-header__inner { gap: .45rem; }
    .serverly-header-actions { gap: .35rem; }
    .serverly-sign-in { font-size: .82rem; }
    .serverly-navigation { left: 12px; right: 12px; }
    .serverly-game-grid, .serverly-category-grid, .serverly-trust-strip, .serverly-process-list, .serverly-stat-grid { grid-template-columns: 1fr; }
    .serverly-game-card { min-height: 66px; }
    .serverly-server-card { grid-template-columns: 42px minmax(0, 1fr); align-items: start; }
    .serverly-server-card__rank { grid-column: 1 / -1; grid-row: auto; text-align: left; }
    .serverly-server-card__icon { grid-column: 1; grid-row: 2; width: 42px; height: 42px; }
    .serverly-server-card__identity { grid-column: 2; grid-row: 2; }
    .serverly-server-card__metrics { grid-column: 1 / -1; grid-row: 3; flex-wrap: wrap; }
    .serverly-server-card__actions { grid-column: 1 / -1; grid-row: 4; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .serverly-server-card__actions .btn { width: 100%; }
    .serverly-filter-bar__controls { flex-direction: column; align-items: stretch; overflow: visible; }
    .serverly-filter-control { width: 100%; min-width: 0; }
    .serverly-server-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .serverly-server-actions .btn { width: 100%; }
    .serverly-server-actions .btn-icon { width: 100%; }
    .serverly-campaign-card, .serverly-placement-card__footer { align-items: flex-start; flex-direction: column; }
    .serverly-campaign-card dl { width: 100%; justify-content: space-between; }
    .serverly-form-actions { bottom: .4rem; }
    .serverly-footer__grid { grid-template-columns: 1fr; }
    .serverly-footer__about { grid-column: auto; }
    .serverly-footer__legal { align-items: flex-start; flex-direction: column; }
}


@media (max-width: 1120px) {
    .gf-store-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gf-store-service-paths { grid-template-columns: 1fr; }
    .gf-store-cart-layout { grid-template-columns: minmax(0, 1fr) 340px; }
    .gf-store-payment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gf-store-offer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .gf-store-layout, .gf-store-config-layout, .gf-store-cart-layout { grid-template-columns: 1fr; }
    .gf-store-sidebar, .gf-store-order-preview, .gf-store-order-summary { position: static; }
    .gf-store-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gf-store-nav__label { grid-column: 1 / -1; }
    .gf-store-nav__link--child { padding-left: .7rem; }
    .gf-store-account-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
    .gf-store-account-card__actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gf-store-side-card { display: none; }
    .gf-store-subscription-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
    .gf-store-hero, .gf-store-page-heading { align-items: flex-start; flex-direction: column; gap: 1rem; }
    .gf-store-service-path { grid-template-columns: 50px minmax(0, 1fr); min-height: 0; }
    .gf-store-service-path__icon { width: 50px; height: 50px; }
    .gf-store-service-path__action { grid-column: 2; }
    .gf-store-category-grid, .gf-store-product-grid, .gf-store-payment-grid, .gf-store-offer-grid { grid-template-columns: 1fr; }
    .gf-store-category-card { grid-template-columns: 46px minmax(0, 1fr); }
    .gf-store-category-card__meta { grid-column: 2; justify-content: space-between; }
    .gf-store-package-modal__footer { align-items: flex-start; flex-direction: column; }
    .gf-store-package-modal__actions, .gf-store-purchase-form { width: 100%; align-items: stretch; flex-direction: column; }
    .gf-store-purchase-form label, .gf-store-purchase-form input, .gf-store-package-modal__actions .btn { width: 100%; }
    .gf-store-profile-section { overflow: visible; background: transparent; border: 0; box-shadow: none; }
    .gf-store-profile-section__heading { border: 1px solid var(--gf-line); border-radius: var(--gf-radius) var(--gf-radius) 0 0; background: var(--gf-panel); }
    .gf-store-table, .gf-store-table tbody, .gf-store-table tr, .gf-store-table td { display: block; width: 100%; }
    .gf-store-table thead { display: none; }
    .gf-store-table tbody { display: grid; gap: .65rem; padding-top: .65rem; }
    .gf-store-table tr { padding: .8rem; border: 1px solid var(--gf-line); border-radius: var(--gf-radius); background: var(--gf-panel); }
    .gf-store-table td { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; border: 0; text-align: right; }
    .gf-store-table td::before { content: attr(data-label); color: var(--gf-muted); font-size: .72rem; font-weight: 650; text-align: left; }
    .gf-store-paypal-card__footer { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 520px) {
    .gf-store-nav, .gf-store-account-card, .gf-store-account-card__actions { grid-template-columns: 1fr; }
    .gf-store-service-path { grid-template-columns: 1fr; }
    .gf-store-service-path__action { grid-column: auto; }
    .gf-store-service-tabs { width: 100%; }
    .gf-store-nav__label { grid-column: auto; }
    .gf-store-product__footer, .gf-store-cart-item__title, .gf-store-cart-items__heading, .gf-store-subscription-card__footer { align-items: flex-start; flex-direction: column; }
    .gf-store-product__footer .btn { width: 100%; }
    .gf-store-package-facts, .gf-store-subscription-card dl { grid-template-columns: 1fr; }
    .gf-store-cart-item { grid-template-columns: 1fr; }
    .gf-store-cart-item__controls { flex-wrap: wrap; }
    .gf-store-cart-variables > div { width: 100%; border-radius: var(--gf-radius-sm); }
    .gf-store-cart-variables dd { margin-left: auto; }
    .gf-store-config-card__actions { align-items: stretch; flex-direction: column-reverse; }
    .gf-store-config-card__actions .btn { width: 100%; }
    .gf-store-paypal-card__heading { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

@media (max-width: 900px) {
    .gf-store-layout--supporter { grid-template-columns: 1fr; }
    .gf-store-reference-supporter-benefits { grid-template-columns: 1fr; }
}



/* Guardfall Store service navigation */
.gf-shop-page .gf-page-wrap { display: grid; gap: 1.25rem; }
.gf-store-service-nav { display: flex; gap: .55rem; }
.gf-store-service-nav--tabs { overflow-x: auto; padding: .45rem; border: 1px solid var(--gf-line); border-radius: var(--gf-radius); background: var(--gf-panel); box-shadow: var(--gf-shadow); }
.gf-store-service-nav--tabs .gf-store-service-nav__item { min-height: 44px; display: inline-flex; align-items: center; gap: .55rem; flex: 0 0 auto; padding: .65rem .9rem; color: var(--gf-muted); border: 1px solid transparent; border-radius: var(--gf-radius-sm); text-decoration: none; }
.gf-store-service-nav--tabs .gf-store-service-nav__item:hover,
.gf-store-service-nav--tabs .gf-store-service-nav__item.is-active { color: var(--gf-text); background: var(--gf-panel-soft); border-color: var(--gf-line-strong); }
.gf-store-service-nav--tabs .gf-store-service-nav__item > i:first-child { color: var(--gf-accent); }
.gf-store-service-nav--tabs .gf-store-service-nav__item > i:last-child { margin-left: .25rem; opacity: .65; }
.gf-store-service-nav--tabs strong { font-size: .82rem; }
.gf-store-service-nav--cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
.gf-store-service-nav--cards .gf-store-service-nav__item { min-width: 0; display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: .8rem; padding: 1rem; color: var(--gf-text); border: 1px solid var(--gf-line); border-radius: var(--gf-radius); background: var(--gf-panel); text-decoration: none; box-shadow: var(--gf-shadow); transition: transform var(--gf-transition), border-color var(--gf-transition); }
.gf-store-service-nav--cards .gf-store-service-nav__item:hover { transform: translateY(-2px); border-color: var(--gf-line-strong); }
.gf-store-service-nav--cards .gf-store-service-nav__item > i:first-child { width: 42px; height: 42px; display: grid; place-items: center; color: var(--gf-accent); border: 1px solid var(--gf-line); border-radius: var(--gf-radius-sm); background: var(--gf-panel-soft); }
.gf-store-service-nav--cards strong { display: block; margin-bottom: .18rem; }
.gf-store-service-nav--cards small { display: block; color: var(--gf-muted); font-size: .72rem; line-height: 1.35; }
.gf-store-service-nav--sidebar { display: grid; gap: .2rem; padding: .55rem; border: 1px solid var(--gf-line); border-radius: var(--gf-radius); background: var(--gf-panel); }
.gf-store-service-nav--sidebar .gf-store-service-nav__item { display: flex; align-items: center; gap: .65rem; padding: .7rem .75rem; color: var(--gf-muted); border-radius: var(--gf-radius-sm); text-decoration: none; }
.gf-store-service-nav--sidebar .gf-store-service-nav__item:hover,
.gf-store-service-nav--sidebar .gf-store-service-nav__item.is-active { color: var(--gf-text); background: var(--gf-panel-soft); }
.gf-store-service-nav--sidebar .gf-store-service-nav__item.is-active { box-shadow: inset 3px 0 0 var(--gf-accent); }
.gf-store-service-nav--sidebar i { color: var(--gf-accent); }
.gf-store-service-nav--sidebar strong { font-size: .82rem; }

/* Membership logical product */
.gf-store-layout--membership { grid-template-columns: 270px minmax(0,1fr); }
.gf-store-membership { min-width: 0; display: grid; gap: 1rem; }
.gf-store-membership__intro { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.2rem; border: 1px solid var(--gf-line); border-radius: var(--gf-radius); background: linear-gradient(135deg, color-mix(in srgb, var(--gf-accent) 8%, var(--gf-panel)), var(--gf-panel)); }
.gf-store-membership__intro h2 { margin: .15rem 0 .35rem; font-size: clamp(1.45rem, 2.6vw, 2rem); }
.gf-store-membership__intro p:last-child { max-width: 700px; margin: 0; color: var(--gf-muted); }
.gf-store-membership__legend { display: flex; flex-wrap: wrap; gap: .45rem; }
.gf-store-membership__legend span { display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .6rem; border: 1px solid var(--gf-line); border-radius: 999px; color: var(--gf-muted); background: var(--gf-panel-soft); font-size: .72rem; font-weight: 700; }
.gf-store-membership__legend i { color: var(--gf-accent); }
.gf-store-membership-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.gf-store-membership-card { min-width: 0; display: grid; gap: 1rem; padding: 1.25rem; border: 1px solid var(--gf-line); border-radius: var(--gf-radius); background: var(--gf-panel); box-shadow: var(--gf-shadow); }
.gf-store-membership-card__heading { display: flex; align-items: center; gap: .85rem; }
.gf-store-membership-card__icon { width: 48px; height: 48px; display: grid; place-items: center; flex: 0 0 auto; color: var(--gf-accent); border: 1px solid var(--gf-line-strong); border-radius: var(--gf-radius); background: color-mix(in srgb, var(--gf-accent) 10%, var(--gf-panel-soft)); font-size: 1.2rem; }
.gf-store-membership-card h3 { margin: .1rem 0 0; font-size: 1.55rem; }
.gf-store-membership-card__description { margin: 0; min-height: 2.7em; color: var(--gf-muted); line-height: 1.5; }
.gf-store-membership-card__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .35rem; padding-block: .25rem; }
.gf-store-membership-card__price small { width: 100%; color: var(--gf-muted); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.gf-store-membership-card__price s { color: var(--gf-muted); font-size: 1rem; text-decoration-thickness: 1.5px; opacity: .78; }
.gf-store-membership-card__price strong { font-size: 1.9rem; color: var(--gf-text); }
.gf-store-membership-card__price span { color: var(--gf-muted); font-size: .78rem; }
.gf-store-membership-card__facts { display: flex; flex-wrap: wrap; gap: .45rem; }
.gf-store-membership-card__facts > span { display: inline-flex; align-items: center; gap: .35rem; color: var(--gf-muted); font-size: .72rem; }
.gf-store-save { display: inline-flex !important; align-items: center; gap: .3rem; color: var(--gf-button-ink) !important; padding: .25rem .45rem; border-radius: 999px; background: var(--gf-accent); font-size: .68rem !important; font-weight: 800; white-space: nowrap; }

.gf-store-membership-modal .modal-content { color: var(--gf-text); border: 1px solid var(--gf-line-strong); border-radius: var(--gf-radius); background: var(--gf-panel); box-shadow: var(--gf-shadow); }
.gf-store-membership-modal .modal-header { align-items: flex-start; padding: 1.2rem 1.25rem; border-bottom-color: var(--gf-line); background: var(--gf-panel-soft); }
.gf-store-membership-modal__description { max-width: 760px; margin: .45rem 0 0; color: var(--gf-muted); font-size: .82rem; line-height: 1.5; }
.gf-store-value-pill { display: inline-flex; align-items: center; margin-left: .45rem; padding: .14rem .38rem; border-radius: 999px; color: var(--gf-button-ink); background: var(--gf-accent); font-size: .58rem; font-style: normal; font-weight: 900; letter-spacing: .02em; vertical-align: middle; }
.gf-store-membership-modal .modal-body { padding: 1.25rem; }
.gf-store-membership-modal .btn-close { filter: var(--gf-close-filter, none); }
[data-bs-theme="dark"] .gf-store-membership-modal .btn-close { filter: invert(1) grayscale(1); }
.gf-store-billing-step { margin-bottom: 1rem; padding: 1rem; border: 1px solid var(--gf-line); border-radius: var(--gf-radius); background: var(--gf-panel-soft); }
.gf-store-billing-step__heading { display: flex; align-items: center; gap: .7rem; margin-bottom: .8rem; }
.gf-store-billing-step__heading h3 { margin: 0; font-size: 1rem; }
.gf-store-billing-step__number { width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 999px; color: var(--gf-button-ink); background: var(--gf-accent); font-size: .72rem; font-weight: 900; }
.gf-store-billing-toggle { display: grid; grid-template-columns: repeat(2, 1fr); gap: .45rem; padding: .35rem; border: 1px solid var(--gf-line); border-radius: var(--gf-radius-sm); background: var(--gf-input-bg); }
.gf-store-billing-toggle button { min-height: 62px; display: flex; align-items: center; justify-content: flex-start; gap: .7rem; padding: .7rem .85rem; color: var(--gf-muted); border: 1px solid transparent; border-radius: 7px; background: transparent; font: inherit; text-align: left; }
.gf-store-billing-toggle button > i { flex: 0 0 auto; color: var(--gf-accent); font-size: 1rem; }
.gf-store-billing-toggle button > span { min-width: 0; display: grid; gap: .12rem; }
.gf-store-billing-toggle button strong { color: inherit; font-size: .82rem; font-weight: 850; }
.gf-store-billing-toggle button small { color: var(--gf-muted); font-size: .66rem; line-height: 1.35; font-weight: 500; }
.gf-store-billing-toggle button.is-active { color: var(--gf-text); border-color: var(--gf-line-strong); background: color-mix(in srgb, var(--gf-accent) 8%, var(--gf-panel-soft)); box-shadow: inset 3px 0 0 var(--gf-accent); }
.gf-store-billing-toggle button.is-active small { color: var(--gf-muted); }
.gf-store-membership-panel:not(.is-active) { display: none; }
.gf-store-option-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: .75rem; }
.gf-store-option-grid--single { grid-template-columns: minmax(0, 1fr); }
.gf-store-option-card { min-width: 0; display: grid; align-content: start; gap: .9rem; padding: 1rem; border: 1px solid var(--gf-line); border-radius: var(--gf-radius); background: var(--gf-panel-soft); }
.gf-store-option-card.has-saving { border-color: color-mix(in srgb, var(--gf-accent) 55%, var(--gf-line)); }
.gf-store-option-card__top { min-height: 28px; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.gf-store-option-card__type { display: inline-flex; align-items: center; gap: .35rem; color: var(--gf-muted); font-size: .72rem; font-weight: 800; }
.gf-store-option-card__type i { color: var(--gf-accent); }
.gf-store-option-card__price { display: grid; gap: .18rem; }
.gf-store-option-card__price-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem; }
.gf-store-option-card__price-line s { color: var(--gf-muted); font-size: .95rem; text-decoration-thickness: 1.5px; opacity: .78; }
.gf-store-option-card__price strong { font-size: 1.55rem; }
.gf-store-option-card__price small { color: var(--gf-muted); font-size: .72rem; line-height: 1.4; }
.gf-store-option-card__saving { margin: 0; color: var(--gf-muted); font-size: .7rem; line-height: 1.45; }
.gf-store-option-card__saving strong { color: var(--gf-text); }
.gf-store-option-card__mode-comparison { margin: -.2rem 0 0; padding: .55rem .6rem; color: var(--gf-muted); border-left: 2px solid var(--gf-accent); background: color-mix(in srgb, var(--gf-accent) 6%, transparent); font-size: .68rem; line-height: 1.45; }
.gf-store-option-card__mode-comparison strong { color: var(--gf-text); }
.gf-store-option-card__action { margin-top: auto; }
.gf-store-membership-note { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .75rem; margin-top: 1rem; }
.gf-store-membership-note > div { display: flex; align-items: flex-start; gap: .65rem; padding: .8rem; border: 1px solid var(--gf-line); border-radius: var(--gf-radius-sm); background: var(--gf-input-bg); }
.gf-store-membership-note > div > i { color: var(--gf-accent); }
.gf-store-membership-note span { display: grid; gap: .15rem; }
.gf-store-membership-note strong { font-size: .78rem; }
.gf-store-membership-note small { color: var(--gf-muted); font-size: .68rem; line-height: 1.4; }

.gf-store-account-card .gf-user-identity { display: inline-flex; align-items: center; gap: .35rem; }
.gf-store-account-card .gf-user-identity__crown { max-height: 18px; width: auto; }

@media (max-width: 1100px) {
    .gf-store-service-nav--cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .gf-store-membership-grid { grid-template-columns: 1fr; }
    .gf-store-option-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .gf-store-membership-note { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
    .gf-store-layout, .gf-store-layout--membership { grid-template-columns: 1fr; }
    .gf-store-sidebar { position: static; }
    .gf-store-service-nav--sidebar { display: none; }
    .gf-store-membership__intro { flex-direction: column; }
}
@media (max-width: 620px) {
    .gf-store-service-nav--cards { grid-template-columns: 1fr; }
    .gf-store-option-grid { grid-template-columns: 1fr; }
    .gf-store-billing-toggle { grid-template-columns: 1fr; }
}

/* Guardfall 0.7.4 — one-off-first membership flow + renewal value comparison */

/* ========================================================================== */
/* Fireside Code 1.0.0                                                        */
/* Modern reading-first shell with a warm medieval-tavern atmosphere.         */
/* Existing gf-* selectors remain available for preserved plugin overrides.   */
/* ========================================================================== */

:root {
    --gf-content: 1180px;
    --gf-reading: 780px;
    --gf-radius: 20px;
    --gf-radius-sm: 12px;
    --gf-font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --fs-serif: "Lora", Georgia, "Times New Roman", serif;
    --fs-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    --fs-shadow-soft: 0 18px 55px rgba(0, 0, 0, .16);
    --fs-shadow-card: 0 24px 72px rgba(0, 0, 0, .22);
    --fs-border: color-mix(in srgb, var(--gf-accent) 18%, transparent);
    --fs-border-strong: color-mix(in srgb, var(--gf-accent) 34%, transparent);
    --fs-glow: color-mix(in srgb, var(--gf-accent-bright) 18%, transparent);
}

[data-gf-theme="midnight"],
[data-gf-theme="classic"],
[data-gf-theme="blue"] {
    --gf-bg-soft: color-mix(in srgb, var(--gf-bg) 86%, white 14%);
    --gf-panel: color-mix(in srgb, var(--gf-surface) 96%, black 4%);
    --gf-panel-soft: color-mix(in srgb, var(--gf-surface-raised) 86%, transparent);
    --gf-header: color-mix(in srgb, var(--gf-bg) 82%, transparent);
    --gf-line: color-mix(in srgb, var(--gf-accent) 19%, transparent);
    --gf-line-strong: color-mix(in srgb, var(--gf-accent) 38%, transparent);
    --gf-button-ink: #25140b;
    --gf-input-bg: color-mix(in srgb, var(--gf-surface) 78%, black 22%);
    --gf-input-text: var(--gf-text);
    --gf-input-border: color-mix(in srgb, var(--gf-accent) 24%, transparent);
    --gf-footer-bg: color-mix(in srgb, var(--gf-bg) 92%, black 8%);
    --gf-footer-text: var(--gf-text);
    --gf-footer-muted: var(--gf-muted);
    --gf-footer-heading: var(--gf-accent-bright);
    --gf-footer-line: color-mix(in srgb, var(--gf-accent) 20%, transparent);
    color-scheme: dark;
}

[data-gf-theme="tan"] {
    --gf-bg-soft: color-mix(in srgb, var(--gf-bg) 87%, white 13%);
    --gf-panel: color-mix(in srgb, var(--gf-surface) 96%, white 4%);
    --gf-panel-soft: color-mix(in srgb, var(--gf-surface-raised) 92%, transparent);
    --gf-header: color-mix(in srgb, var(--gf-surface-raised) 82%, transparent);
    --gf-line: color-mix(in srgb, var(--gf-accent) 18%, transparent);
    --gf-line-strong: color-mix(in srgb, var(--gf-accent) 34%, transparent);
    --gf-button-ink: #fff7e8;
    --gf-input-bg: color-mix(in srgb, var(--gf-surface-raised) 82%, transparent);
    --gf-input-text: var(--gf-text);
    --gf-input-border: color-mix(in srgb, var(--gf-accent) 24%, transparent);
    --gf-footer-bg: #3a281c;
    --gf-footer-text: #f8ead5;
    --gf-footer-muted: #d7bfa2;
    --gf-footer-heading: #f4c77d;
    --gf-footer-line: rgba(244, 199, 125, .2);
    color-scheme: light;
}

html {
    background: var(--gf-bg);
}

body.fireside-site {
    min-height: 100vh;
    margin: 0;
    color: var(--gf-text);
    background:
        radial-gradient(ellipse 70% 44% at 50% -12%, color-mix(in srgb, var(--gf-accent-bright) 18%, transparent), transparent 72%),
        radial-gradient(circle at 8% 26%, color-mix(in srgb, var(--gf-accent) 7%, transparent), transparent 28rem),
        linear-gradient(180deg, color-mix(in srgb, var(--gf-bg-soft) 72%, var(--gf-bg) 28%), var(--gf-bg));
    font-family: var(--gf-font);
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body.fireside-site::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .22;
    background:
        repeating-linear-gradient(92deg,
            transparent 0 92px,
            color-mix(in srgb, var(--gf-accent) 4%, transparent) 93px,
            transparent 94px 186px),
        repeating-linear-gradient(1deg,
            transparent 0 5px,
            color-mix(in srgb, var(--gf-text) 1.4%, transparent) 6px,
            transparent 7px 13px);
    mask-image: linear-gradient(to bottom, black, transparent 88%);
}

[data-gf-theme="tan"] body.fireside-site::before {
    opacity: .14;
}

.fireside-site h1,
.fireside-site h2,
.fireside-site h3,
.fireside-site h4,
.fireside-site h5,
.fireside-site h6 {
    color: var(--gf-text);
    font-family: var(--fs-serif);
    font-weight: 600;
    letter-spacing: -.035em;
    text-wrap: balance;
}

.fireside-site p,
.fireside-site li {
    text-wrap: pretty;
}

.fireside-site a {
    color: var(--gf-accent-bright);
}

.fireside-site a:hover {
    color: color-mix(in srgb, var(--gf-accent-bright) 82%, white 18%);
}

[data-gf-theme="tan"] .fireside-site a:hover {
    color: color-mix(in srgb, var(--gf-accent) 82%, black 18%);
}

.fs-shell {
    width: min(var(--gf-content), calc(100% - 48px));
    margin-inline: auto;
}

.gf-kicker,
.fs-kicker {
    margin: 0 0 .9rem;
    color: var(--gf-accent-bright);
    font-family: var(--gf-font);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
    line-height: 1.3;
    text-transform: uppercase;
}

.gf-kicker i,
.fs-kicker i {
    margin-right: .38rem;
    font-size: .82rem;
}

/* Header ------------------------------------------------------------------ */

.gf-announcement {
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .44rem 1rem;
    color: #2a160b;
    background: linear-gradient(90deg, #a65c28, var(--gf-accent-bright), #b9682e);
    font-size: .76rem;
    font-weight: 650;
    letter-spacing: .02em;
    text-transform: none;
}

.fs-announcement-flame {
    display: inline-flex;
}

.fs-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--gf-line);
    background: color-mix(in srgb, var(--gf-bg) 74%, transparent);
    box-shadow: 0 10px 34px rgba(0, 0, 0, .08);
    backdrop-filter: blur(18px) saturate(130%);
}

[data-gf-theme="tan"] .fs-header {
    background: color-mix(in srgb, var(--gf-surface) 78%, transparent);
}

.fs-nav-shell {
    border: 0;
    background: transparent;
}

.fs-navbar {
    width: min(var(--gf-content), calc(100% - 48px));
    min-height: 72px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 2rem;
}

.fs-brand {
    grid-column: 1;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: .7rem;
    color: var(--gf-text) !important;
    text-decoration: none;
}

.fs-brand img {
    width: auto;
    height: auto;
    max-width: min(var(--gf-logo-width, 300px), 22vw);
    max-height: var(--gf-logo-height, 52px);
    object-fit: contain;
    filter: none;
}

.fs-brand__ember {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: inline-grid;
    place-items: center;
    color: #2b160a;
    border: 1px solid color-mix(in srgb, var(--gf-accent-bright) 72%, white 28%);
    border-radius: 10px 10px 13px 13px;
    background: linear-gradient(145deg, var(--gf-accent-bright), var(--gf-accent));
    box-shadow: 0 6px 20px color-mix(in srgb, var(--gf-accent) 26%, transparent);
}

.fs-brand__wordmark,
.fs-footer__brand > span:last-child {
    color: var(--gf-text);
    font-family: var(--fs-serif);
    font-size: 1.18rem;
    font-weight: 650;
    letter-spacing: -.035em;
}

.fs-navigation {
    grid-column: 2;
    justify-content: flex-start;
    gap: .16rem;
}

.fs-navigation .gf-nav-link {
    min-height: 40px;
    padding: .6rem .76rem;
    color: var(--gf-muted);
    border-radius: 10px;
    font-family: var(--gf-font);
    font-size: .83rem;
    font-weight: 600;
    letter-spacing: -.01em;
    text-transform: none;
}

.fs-navigation .gf-nav-link::after {
    left: .78rem;
    right: .78rem;
    bottom: .22rem;
    height: 1px;
    background: var(--gf-accent-bright);
}

.fs-navigation .gf-nav-link:hover,
.fs-navigation .gf-nav-link.active,
.fs-navigation .gf-nav-link[aria-expanded="true"] {
    color: var(--gf-text);
    background: color-mix(in srgb, var(--gf-accent) 8%, transparent);
}

.fs-header-actions {
    grid-column: 3;
    gap: .38rem;
}

.fs-header-search,
.gf-theme-toggle {
    width: 39px;
    height: 39px;
    min-height: 39px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    color: var(--gf-muted) !important;
    border: 1px solid transparent;
    border-radius: 11px;
    background: transparent;
    text-decoration: none;
}

.fs-header-search:hover,
.gf-theme-toggle:hover,
.gf-theme-toggle[aria-expanded="true"] {
    color: var(--gf-text) !important;
    border-color: var(--gf-line);
    background: color-mix(in srgb, var(--gf-surface-raised) 58%, transparent);
}

.gf-login-link {
    color: var(--gf-muted) !important;
    font-size: .84rem;
    font-weight: 600;
}

.gf-account-button,
.fs-signup-button {
    min-height: 39px;
    padding: .56rem .82rem;
    color: var(--gf-text) !important;
    border: 1px solid var(--gf-line);
    border-radius: 11px;
    background: color-mix(in srgb, var(--gf-surface-raised) 64%, transparent);
    font-family: var(--gf-font);
    font-size: .78rem;
    font-weight: 650;
    letter-spacing: 0;
    text-transform: none;
}

.gf-account-button:hover,
.fs-signup-button:hover {
    border-color: var(--gf-line-strong);
    background: var(--gf-surface-raised);
}

.gf-theme-menu,
.gf-account-menu,
.gf-nav-dropdown .dropdown-menu {
    border: 1px solid var(--gf-line);
    border-radius: 14px;
    background: color-mix(in srgb, var(--gf-surface-raised) 96%, var(--gf-bg) 4%);
    box-shadow: var(--fs-shadow-card);
}

.gf-theme-menu__heading {
    padding: .5rem .75rem .35rem;
    color: var(--gf-muted);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.gf-theme-swatch--midnight { background: linear-gradient(135deg, #130c08 0 52%, #d1883b 52%); }
.gf-theme-swatch--classic { background: linear-gradient(135deg, #1b100a 0 52%, #bd6f32 52%); }
.gf-theme-swatch--blue { background: linear-gradient(135deg, #11100e 0 52%, #c38846 52%); }
.gf-theme-swatch--tan { background: linear-gradient(135deg, #ead9bb 0 52%, #985328 52%); }

/* Shared controls --------------------------------------------------------- */

.fireside-site .btn,
.fireside-site button,
.fireside-site input,
.fireside-site textarea,
.fireside-site select {
    font-family: var(--gf-font);
}

.fireside-site .btn {
    border-radius: 11px;
    font-weight: 650;
}

.fs-button,
.fireside-site .gf-btn-primary,
.fireside-site .gf-btn-secondary {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .72rem 1.05rem;
    border-radius: 12px;
    font-family: var(--gf-font);
    font-size: .88rem;
    font-weight: 650;
    letter-spacing: -.01em;
    text-decoration: none;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.fs-button--primary,
.fireside-site .gf-btn-primary,
.fireside-site .btn-primary {
    color: #2a160b !important;
    border-color: color-mix(in srgb, var(--gf-accent-bright) 82%, white 18%);
    background: linear-gradient(145deg, var(--gf-accent-bright), var(--gf-accent));
    box-shadow: 0 10px 28px color-mix(in srgb, var(--gf-accent) 20%, transparent);
}

[data-gf-theme="tan"] .fs-button--primary,
[data-gf-theme="tan"] .fireside-site .gf-btn-primary,
[data-gf-theme="tan"] .fireside-site .btn-primary {
    color: #fff7e8 !important;
}

.fs-button--primary:hover,
.fireside-site .gf-btn-primary:hover,
.fireside-site .btn-primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
}

.fs-button--ghost,
.fireside-site .gf-btn-secondary,
.fireside-site .btn-secondary {
    color: var(--gf-text) !important;
    border-color: var(--gf-line);
    background: color-mix(in srgb, var(--gf-surface-raised) 58%, transparent);
}

.fs-button--ghost:hover,
.fireside-site .gf-btn-secondary:hover,
.fireside-site .btn-secondary:hover {
    transform: translateY(-1px);
    border-color: var(--gf-line-strong);
    background: var(--gf-surface-raised);
}

.fireside-site .card,
.fireside-site .modal-content,
.fireside-site .list-group-item {
    color: var(--gf-text);
    border-color: var(--gf-line);
    background: color-mix(in srgb, var(--gf-surface) 94%, transparent);
}

.fireside-site .card {
    border-radius: 18px;
    box-shadow: var(--fs-shadow-soft);
}

.fireside-site .card-header,
.fireside-site .card-footer,
.fireside-site .modal-header,
.fireside-site .modal-footer {
    border-color: var(--gf-line);
    background: color-mix(in srgb, var(--gf-surface-raised) 62%, transparent);
}

.fireside-site .form-control,
.fireside-site .form-select,
.fireside-site .input-group-text {
    color: var(--gf-input-text);
    border-color: var(--gf-input-border);
    background: var(--gf-input-bg);
}

.fireside-site .form-control,
.fireside-site .form-select {
    min-height: 46px;
    border-radius: 11px;
}

.fireside-site .input-group > .form-control,
.fireside-site .input-group > .form-select,
.fireside-site .input-group > .input-group-text,
.fireside-site .input-group > .btn {
    border-radius: 0;
}

.fireside-site .input-group > :first-child { border-radius: 11px 0 0 11px; }
.fireside-site .input-group > :last-child { border-radius: 0 11px 11px 0; }

.fireside-site .form-control:focus,
.fireside-site .form-select:focus {
    color: var(--gf-input-text);
    border-color: var(--gf-accent);
    background: var(--gf-input-bg);
    box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--gf-accent) 16%, transparent);
}

/* Home -------------------------------------------------------------------- */

.fs-home-main {
    min-height: 70vh;
}

.fs-hero {
    position: relative;
    isolation: isolate;
    padding: clamp(5.2rem, 9vw, 8.8rem) 0 clamp(4.5rem, 8vw, 7rem);
    overflow: hidden;
}

.fs-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(ellipse 48% 58% at 78% 28%, color-mix(in srgb, var(--gf-accent) 15%, transparent), transparent 70%),
        linear-gradient(180deg, transparent 0 80%, color-mix(in srgb, var(--gf-surface) 25%, transparent));
}

.fs-hero__glow {
    position: absolute;
    z-index: -1;
    width: min(42vw, 580px);
    aspect-ratio: 1;
    right: 5vw;
    top: 0;
    border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--gf-accent-bright) 18%, transparent), transparent 68%);
    filter: blur(18px);
    opacity: .88;
}

.fs-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(360px, .94fr);
    align-items: center;
    gap: clamp(2.8rem, 6vw, 6rem);
}

.fs-hero__copy {
    max-width: 680px;
}

.fs-hero h1 {
    margin: 0;
    max-width: 740px;
    color: var(--gf-text);
    font-size: clamp(3.25rem, 6.5vw, 6.1rem);
    font-weight: 600;
    line-height: .99;
    letter-spacing: -.065em;
}

.fs-hero__intro {
    max-width: 640px;
    margin: 1.45rem 0 0;
    color: var(--gf-muted);
    font-size: clamp(1rem, 1.35vw, 1.14rem);
    line-height: 1.8;
}

.fs-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .72rem;
    margin-top: 2rem;
}

.fs-hero__topics {
    display: flex;
    flex-wrap: wrap;
    gap: .48rem;
    margin-top: 2rem;
}

.fs-hero__topics span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: .32rem .62rem;
    color: var(--gf-muted);
    border: 1px solid var(--gf-line);
    border-radius: 999px;
    background: color-mix(in srgb, var(--gf-surface) 48%, transparent);
    font-family: var(--fs-mono);
    font-size: .69rem;
}

.fs-featured-post {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--fs-border-strong);
    border-radius: 24px;
    background:
        linear-gradient(155deg, color-mix(in srgb, var(--gf-surface-raised) 92%, transparent), color-mix(in srgb, var(--gf-surface) 96%, transparent));
    box-shadow: var(--fs-shadow-card);
    transform: rotate(.25deg);
}

.fs-featured-post__media {
    min-height: 260px;
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, .48)),
        var(--fs-feature-image, linear-gradient(145deg, transparent, transparent)),
        radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--gf-accent) 34%, var(--gf-surface-raised)), var(--gf-surface));
    background-position: center;
    background-size: cover;
    text-decoration: none;
}

.fs-featured-post__media::after {
    content: "";
    position: absolute;
    inset: 0;
    border-bottom: 1px solid var(--gf-line);
    background: linear-gradient(135deg, rgba(255, 170, 82, .07), transparent 55%);
    pointer-events: none;
}

.fs-featured-post__media--empty {
    min-height: 220px;
}

.fs-featured-post__media--empty span {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    color: var(--gf-accent-bright);
    border: 1px solid var(--gf-line-strong);
    border-radius: 22px;
    background: color-mix(in srgb, var(--gf-bg) 58%, transparent);
    font-size: 2rem;
}

.fs-featured-post__body {
    padding: 1.55rem 1.65rem 1.65rem;
}

.fs-featured-post__body h2 {
    margin: .5rem 0 .7rem;
    font-size: clamp(1.55rem, 2.8vw, 2.25rem);
    line-height: 1.16;
}

.fs-featured-post__body h2 a,
.fs-post-card h3 a,
.fs-archive-item h2 a {
    color: var(--gf-text);
    text-decoration: none;
}

.fs-featured-post__body h2 a:hover,
.fs-post-card h3 a:hover,
.fs-archive-item h2 a:hover {
    color: var(--gf-accent-bright);
}

.fs-featured-post__body > p {
    margin: 0;
    color: var(--gf-muted);
    font-size: .93rem;
    line-height: 1.72;
}

.fs-featured-post--welcome {
    min-height: 440px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    background:
        radial-gradient(circle at 70% 18%, color-mix(in srgb, var(--gf-accent-bright) 24%, transparent), transparent 38%),
        linear-gradient(145deg, var(--gf-surface-raised), var(--gf-surface));
}

.fs-featured-post--welcome h2 {
    margin: 0 0 .75rem;
    font-size: 2rem;
}

.fs-featured-post--welcome > p:last-child {
    margin: 0;
    color: var(--gf-muted);
}

.fs-featured-post__welcome-icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    margin-bottom: auto;
    color: var(--gf-accent-bright);
    border: 1px solid var(--gf-line-strong);
    border-radius: 18px;
    background: color-mix(in srgb, var(--gf-bg) 54%, transparent);
    font-size: 1.6rem;
}

.fs-post-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .45rem;
    color: var(--gf-muted);
    font-size: .76rem;
    line-height: 1.45;
}

.fs-post-meta .gf-user-identity,
.fs-post-meta .gf-user-identity__name {
    font-size: inherit;
}

.fs-read-more,
.fs-text-link {
    display: inline-flex;
    align-items: center;
    gap: .42rem;
    color: var(--gf-accent-bright) !important;
    font-size: .84rem;
    font-weight: 650;
    text-decoration: none;
}

.fs-featured-post__body .fs-read-more {
    margin-top: 1.05rem;
}

.fs-read-more i,
.fs-text-link i {
    transition: transform 160ms ease;
}

.fs-read-more:hover i,
.fs-text-link:hover i {
    transform: translateX(3px);
}

.fs-home-section {
    padding: clamp(4.4rem, 8vw, 7.4rem) 0;
}

.fs-home-section--latest {
    border-top: 1px solid color-mix(in srgb, var(--gf-accent) 10%, transparent);
    border-bottom: 1px solid color-mix(in srgb, var(--gf-accent) 10%, transparent);
    background: color-mix(in srgb, var(--gf-surface) 24%, transparent);
}

.fs-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.fs-section-heading h2 {
    margin: 0;
    font-size: clamp(2.3rem, 4vw, 3.65rem);
    line-height: 1.05;
}

.fs-post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.fs-post-card {
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--gf-line);
    border-radius: 18px;
    background: color-mix(in srgb, var(--gf-surface) 86%, transparent);
    box-shadow: 0 14px 42px rgba(0, 0, 0, .1);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.fs-post-card:hover {
    transform: translateY(-3px);
    border-color: var(--gf-line-strong);
    box-shadow: var(--fs-shadow-soft);
}

.fs-post-card__image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-bottom: 1px solid var(--gf-line);
    background: var(--gf-surface-raised);
}

.fs-post-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 320ms ease;
}

.fs-post-card:hover .fs-post-card__image img {
    transform: scale(1.025);
}

.fs-post-card__body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 1.35rem;
}

.fs-post-card h3 {
    margin: .55rem 0 .7rem;
    font-size: 1.38rem;
    line-height: 1.22;
}

.fs-post-card__body > p {
    margin: 0 0 1.05rem;
    color: var(--gf-muted);
    font-size: .87rem;
    line-height: 1.68;
}

.fs-post-card .fs-read-more {
    margin-top: auto;
}

.fs-empty-state {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.35rem;
    color: var(--gf-muted);
    border: 1px dashed var(--gf-line-strong);
    border-radius: 16px;
    background: color-mix(in srgb, var(--gf-surface) 48%, transparent);
}

.fs-empty-state > i {
    color: var(--gf-accent-bright);
    font-size: 1.35rem;
}

.fs-empty-state strong,
.fs-empty-state span {
    display: block;
}

.fs-empty-state strong {
    color: var(--gf-text);
}

.fs-empty-state span {
    margin-top: .15rem;
    font-size: .86rem;
}

.fs-desk-grid {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(420px, 1.2fr);
    align-items: center;
    gap: clamp(2.6rem, 6vw, 6rem);
}

.fs-desk-copy h2 {
    margin: 0 0 1rem;
    max-width: 560px;
    font-size: clamp(2.45rem, 4.5vw, 4.3rem);
    line-height: 1.04;
}

.fs-desk-copy > p:not(.gf-kicker) {
    max-width: 570px;
    margin: 0 0 1.4rem;
    color: var(--gf-muted);
    font-size: 1rem;
    line-height: 1.82;
}

.fs-desk-card {
    position: relative;
    min-height: 410px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border: 1px solid var(--fs-border-strong);
    border-radius: 24px;
    background:
        var(--fs-desk-image, linear-gradient(145deg, transparent, transparent)),
        radial-gradient(circle at 62% 28%, color-mix(in srgb, var(--gf-accent) 34%, transparent), transparent 28rem),
        linear-gradient(145deg, var(--gf-surface-raised), var(--gf-surface));
    background-position: center;
    background-size: cover;
    box-shadow: var(--fs-shadow-card);
}

.fs-desk-card__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 12, 8, .08) 12%, rgba(20, 12, 8, .38) 50%, rgba(20, 12, 8, .92) 100%);
}

[data-gf-theme="tan"] .fs-desk-card__scrim {
    background: linear-gradient(180deg, rgba(45, 27, 16, .08) 8%, rgba(45, 27, 16, .4) 48%, rgba(45, 27, 16, .93) 100%);
}

.fs-desk-card__content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 2rem;
    color: #f7ead7;
}

.fs-desk-card__content h3 {
    max-width: 600px;
    margin: .8rem 0 .65rem;
    color: #fff3df;
    font-size: clamp(1.65rem, 3vw, 2.55rem);
    line-height: 1.12;
}

.fs-desk-card__content > p {
    max-width: 620px;
    margin: 0;
    color: #d9c4aa;
    font-size: .9rem;
    line-height: 1.7;
}

.fs-status-pill {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .32rem .62rem;
    color: #f8d29c;
    border: 1px solid rgba(248, 210, 156, .28);
    border-radius: 999px;
    background: rgba(28, 16, 9, .5);
    font-size: .7rem;
    font-weight: 650;
    backdrop-filter: blur(10px);
}

.fs-status-pill i {
    color: #ef9b4b;
    font-size: .48rem;
    filter: drop-shadow(0 0 5px #ef9b4b);
}

.fs-desk-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem .95rem;
    margin-top: 1.15rem;
    color: #cdb69b;
    font-family: var(--fs-mono);
    font-size: .67rem;
}

.fs-desk-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.fs-desk-card__content--minimal {
    display: flex;
    align-items: center;
    gap: .7rem;
}

.fs-home-section--callouts {
    padding-top: 0;
}

.fs-callout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 1rem;
}

.fs-callout {
    padding: clamp(1.55rem, 3vw, 2.25rem);
    border: 1px solid var(--gf-line);
    border-radius: 20px;
    background: color-mix(in srgb, var(--gf-surface) 82%, transparent);
}

.fs-callout h2 {
    margin: 0 0 .75rem;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.fs-callout > p:not(.gf-kicker) {
    margin: 0;
    color: var(--gf-muted);
}

.fs-callout__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-top: 1.3rem;
}

/* App shell --------------------------------------------------------------- */

.gf-app-main {
    padding: clamp(3.8rem, 7vw, 6.6rem) 24px clamp(5rem, 9vw, 8.5rem);
}

.gf-page-wrap {
    width: min(var(--gf-content), 100%);
}

/* Archive ----------------------------------------------------------------- */

.fs-archive {
    width: min(980px, 100%);
    margin: 0 auto;
}

.fs-archive__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
    align-items: end;
    gap: 2.5rem;
    padding-bottom: 2.3rem;
    border-bottom: 1px solid var(--gf-line);
}

.fs-archive__header h1 {
    margin: 0;
    font-size: clamp(3.4rem, 7vw, 6.7rem);
    line-height: .95;
}

.fs-archive__header > div > p:last-child {
    max-width: 620px;
    margin: 1.05rem 0 0;
    color: var(--gf-muted);
    line-height: 1.75;
}

.fs-archive-search .input-group {
    flex-wrap: nowrap;
}

.fs-archive-search .input-group-text {
    border-right: 0;
}

.fs-archive-search .form-control {
    border-left: 0;
}

.fs-search-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.25rem;
    padding: .75rem 1rem;
    color: var(--gf-muted);
    border: 1px solid var(--gf-line);
    border-radius: 12px;
    background: color-mix(in srgb, var(--gf-surface) 44%, transparent);
    font-size: .84rem;
}

.fs-search-summary strong { color: var(--gf-text); }
.fs-search-summary a { font-weight: 650; text-decoration: none; }

.fs-archive-list {
    display: grid;
    gap: 0;
}

.fs-archive-item {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 1.7rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--gf-line);
}

.fs-archive-item__image {
    align-self: start;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    display: grid;
    place-items: center;
    color: var(--gf-accent-bright) !important;
    border: 1px solid var(--gf-line);
    border-radius: 15px;
    background: linear-gradient(145deg, var(--gf-surface-raised), var(--gf-surface));
    text-decoration: none;
}

.fs-archive-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 260ms ease;
}

.fs-archive-item:hover .fs-archive-item__image img {
    transform: scale(1.025);
}

.fs-archive-item__image--empty {
    font-size: 2rem;
}

.fs-archive-item__copy {
    min-width: 0;
    align-self: center;
}

.fs-archive-item h2 {
    margin: .55rem 0 .7rem;
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    line-height: 1.15;
}

.fs-archive-item__copy > p {
    max-width: 650px;
    margin: 0 0 1rem;
    color: var(--gf-muted);
    font-size: .94rem;
    line-height: 1.72;
}

.fs-empty-state--large {
    margin-top: 2rem;
    padding: 1.5rem;
}

.fs-pagination {
    margin-top: 2rem;
}

/* Article ----------------------------------------------------------------- */

.fs-article {
    width: min(100%, 960px);
    margin: 0 auto;
}

.fs-article__header {
    width: min(var(--gf-reading), 100%);
    margin: 0 auto;
}

.fs-article__back {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-bottom: 2.3rem;
    color: var(--gf-muted) !important;
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
}

.fs-article__back:hover {
    color: var(--gf-text) !important;
}

.fs-article__header h1 {
    margin: 0;
    font-size: clamp(3rem, 6.2vw, 5.7rem);
    line-height: .99;
    letter-spacing: -.06em;
}

.fs-article__meta {
    margin-top: 1.3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gf-line);
}

.fs-article__hero {
    width: min(960px, 100%);
    margin: 2rem auto 0;
    overflow: hidden;
    border: 1px solid var(--gf-line);
    border-radius: 20px;
    background: var(--gf-surface);
    box-shadow: var(--fs-shadow-soft);
}

.fs-article__hero img {
    width: 100%;
    max-height: 560px;
    display: block;
    object-fit: cover;
}

.fs-article__body {
    width: min(var(--gf-reading), 100%);
    margin: 2.7rem auto 0;
    color: color-mix(in srgb, var(--gf-text) 92%, var(--gf-muted) 8%);
    font-family: var(--gf-font);
    font-size: clamp(1rem, 1.15vw, 1.08rem);
    line-height: 1.86;
}

.fs-article__body > *:first-child { margin-top: 0; }
.fs-article__body > *:last-child { margin-bottom: 0; }

.fs-article__body h2,
.fs-article__body h3,
.fs-article__body h4 {
    scroll-margin-top: 100px;
}

.fs-article__body h2 {
    margin: 2.8rem 0 1rem;
    font-size: clamp(2rem, 4vw, 2.85rem);
    line-height: 1.12;
}

.fs-article__body h3 {
    margin: 2.25rem 0 .8rem;
    font-size: clamp(1.55rem, 3vw, 2.1rem);
    line-height: 1.2;
}

.fs-article__body h4 {
    margin: 1.9rem 0 .65rem;
    font-size: 1.35rem;
}

.fs-article__body p,
.fs-article__body ul,
.fs-article__body ol,
.fs-article__body blockquote,
.fs-article__body pre,
.fs-article__body table,
.fs-article__body figure {
    margin-top: 0;
    margin-bottom: 1.45rem;
}

.fs-article__body ul,
.fs-article__body ol {
    padding-left: 1.35rem;
}

.fs-article__body li + li {
    margin-top: .45rem;
}

.fs-article__body strong {
    color: var(--gf-text);
    font-weight: 700;
}

.fs-article__body a {
    color: var(--gf-accent-bright);
    text-decoration-thickness: 1px;
    text-underline-offset: .18em;
}

.fs-article__body code {
    padding: .16em .36em;
    color: color-mix(in srgb, var(--gf-accent-bright) 84%, var(--gf-text) 16%);
    border: 1px solid var(--gf-line);
    border-radius: 6px;
    background: color-mix(in srgb, var(--gf-surface-raised) 72%, transparent);
    font-family: var(--fs-mono);
    font-size: .88em;
}

.fs-article__body pre {
    overflow-x: auto;
    padding: 1.15rem 1.25rem;
    color: #f2e8da;
    border: 1px solid rgba(232, 179, 106, .18);
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.018), transparent),
        #17120e;
    box-shadow: inset 3px 0 #a85e2c;
    font-family: var(--fs-mono);
    font-size: .88rem;
    line-height: 1.7;
    tab-size: 4;
}

.fs-article__body pre code {
    padding: 0;
    color: inherit;
    border: 0;
    background: transparent;
    font-size: inherit;
}

.fs-article__body blockquote {
    padding: 1.1rem 1.3rem;
    color: var(--gf-muted);
    border-left: 3px solid var(--gf-accent);
    border-radius: 0 12px 12px 0;
    background: color-mix(in srgb, var(--gf-surface) 58%, transparent);
    font-family: var(--fs-serif);
    font-size: 1.08em;
    font-style: italic;
}

.fs-article__body blockquote > *:last-child {
    margin-bottom: 0;
}

.fs-article__body hr {
    margin: 2.8rem 0;
    border: 0;
    border-top: 1px solid var(--gf-line);
    opacity: 1;
}

.fs-article__body img {
    height: auto;
    border-radius: 14px;
}

.fs-article__body table {
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--gf-line);
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
}

.fs-article__body th,
.fs-article__body td {
    padding: .75rem .85rem;
    border-right: 1px solid var(--gf-line);
    border-bottom: 1px solid var(--gf-line);
    text-align: left;
}

.fs-article__body th:last-child,
.fs-article__body td:last-child { border-right: 0; }
.fs-article__body tr:last-child td { border-bottom: 0; }
.fs-article__body th { background: color-mix(in srgb, var(--gf-surface-raised) 68%, transparent); }

.fs-article__footer {
    width: min(var(--gf-reading), 100%);
    margin: 3.8rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--gf-line);
    text-align: center;
}

.fs-article__footer-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin: 0 auto .8rem;
    color: #2a160b;
    border-radius: 13px;
    background: linear-gradient(145deg, var(--gf-accent-bright), var(--gf-accent));
}

.fs-article__footer p {
    margin: 0 0 .75rem;
    color: var(--gf-muted);
    font-family: var(--fs-serif);
    font-style: italic;
}

.fs-page-article .fs-article__header {
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gf-line);
}

/* Profile and plugin surfaces -------------------------------------------- */

.fireside-site .gf-profile-summary,
.fireside-site .gf-store-hero,
.fireside-site .gf-store-page-heading,
.fireside-site .gf-store-intro-card,
.fireside-site .gf-store-category-card,
.fireside-site .gf-store-product,
.fireside-site .gf-store-membership-card,
.fireside-site .gf-store-config-card,
.fireside-site .gf-store-order-preview,
.fireside-site .gf-store-payment-method,
.fireside-site .gf-store-login-card {
    border-color: var(--gf-line);
    border-radius: 18px;
    background-color: color-mix(in srgb, var(--gf-surface) 90%, transparent);
}

.fireside-site .gf-store-hero,
.fireside-site .gf-store-page-heading {
    background-image:
        radial-gradient(circle at 88% 12%, color-mix(in srgb, var(--gf-accent) 15%, transparent), transparent 22rem),
        linear-gradient(145deg, color-mix(in srgb, var(--gf-surface-raised) 78%, transparent), color-mix(in srgb, var(--gf-surface) 94%, transparent));
}

.fireside-site .gf-store-eyebrow,
.fireside-site .gf-store-save,
.fireside-site .gf-store-product__type,
.fireside-site .gf-store-option-card__type {
    color: var(--gf-accent-bright);
}

.fireside-site .gf-user-identity__name,
.fireside-site .gf-user-identity__secondary,
.fireside-site .gf-user-identity__title {
    font-family: var(--gf-font);
}

/* Footer ------------------------------------------------------------------ */

.fs-footer {
    padding: 0;
    color: var(--gf-footer-text);
    border-top: 1px solid var(--gf-footer-line);
    background:
        radial-gradient(circle at 50% 0, color-mix(in srgb, var(--gf-accent) 9%, transparent), transparent 30rem),
        var(--gf-footer-bg);
}

.fs-footer__inner,
.fs-footer__bottom {
    width: min(var(--gf-content), calc(100% - 48px));
    margin-inline: auto;
}

.fs-footer__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 3rem;
    padding: 3.5rem 0 2.4rem;
}

.fs-footer__brand-block {
    max-width: 560px;
}

.fs-footer__brand {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    color: var(--gf-footer-text) !important;
    text-decoration: none;
}

.fs-footer__brand img {
    display: block;
    width: auto;
    max-width: min(var(--gf-logo-width, 300px), 260px);
    max-height: var(--gf-logo-height, 52px);
}

.fs-footer__brand > span:last-child {
    color: var(--gf-footer-text);
    font-size: 1.35rem;
}

.fs-footer__brand-block p {
    margin: 1rem 0 0;
    color: var(--gf-footer-muted);
    line-height: 1.72;
}

.fs-footer__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .6rem 1.1rem;
}

.fs-footer__links a {
    color: var(--gf-footer-muted) !important;
    font-size: .84rem;
    font-weight: 600;
    text-decoration: none;
}

.fs-footer__links a:hover {
    color: var(--gf-footer-text) !important;
}

.fs-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.2rem 0 1.7rem;
    color: var(--gf-footer-muted);
    border-top: 1px solid var(--gf-footer-line);
    font-size: .74rem;
}

.fs-footer__motto {
    display: inline-flex;
    align-items: center;
    gap: .38rem;
}

.fs-footer__motto i {
    color: var(--gf-accent-bright);
}

/* Responsive -------------------------------------------------------------- */

@media (max-width: 1040px) {
    .fs-navbar {
        gap: 1rem;
    }

    .fs-navigation .gf-nav-link {
        padding-inline: .58rem;
    }

    .fs-hero__grid {
        grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr);
        gap: 2.5rem;
    }

    .fs-post-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fs-desk-grid {
        grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
        gap: 2.6rem;
    }
}

@media (max-width: 860px) {
    .fs-navbar {
        min-height: 66px;
        grid-template-columns: auto 1fr auto;
    }

    .fs-menu-toggle {
        grid-column: 3;
        grid-row: 1;
        display: block;
        justify-self: end;
        width: 40px;
        height: 40px;
        border-color: var(--gf-line);
        border-radius: 11px;
        background: color-mix(in srgb, var(--gf-surface) 64%, transparent);
    }

    .fs-header-actions {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
    }

    .fs-header-actions .gf-login-link,
    .fs-header-actions .fs-signup-button,
    .fs-header-actions .gf-user-dropdown {
        display: none;
    }

    .fs-navigation {
        position: absolute;
        left: 24px;
        right: 24px;
        top: calc(100% + 8px);
        display: none;
        padding: .65rem;
        border: 1px solid var(--gf-line);
        border-radius: 15px;
        background: color-mix(in srgb, var(--gf-surface-raised) 97%, var(--gf-bg) 3%);
        box-shadow: var(--fs-shadow-card);
    }

    .fs-navigation.is-open {
        display: grid;
        gap: .15rem;
    }

    .fs-navigation .gf-nav-link {
        justify-content: flex-start;
        width: 100%;
        min-height: 44px;
        padding-inline: .8rem;
    }

    .fs-navigation .gf-nav-dropdown,
    .fs-navigation .gf-nav-dropdown > button {
        width: 100%;
    }

    .fs-navigation .gf-nav-dropdown .dropdown-menu {
        position: static !important;
        transform: none !important;
        width: 100%;
        margin-top: .25rem;
        box-shadow: none;
    }

    .fs-hero {
        padding-top: 4.5rem;
    }

    .fs-hero__grid,
    .fs-desk-grid,
    .fs-archive__header {
        grid-template-columns: 1fr;
    }

    .fs-hero__copy {
        max-width: 760px;
    }

    .fs-featured-post {
        transform: none;
    }

    .fs-desk-card {
        min-height: 360px;
    }

    .fs-archive__header {
        align-items: start;
    }

    .fs-archive-search {
        width: 100%;
    }

    .fs-footer__inner {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 2rem;
    }

    .fs-footer__links {
        justify-content: flex-start;
    }
}

@media (max-width: 680px) {
    .fs-shell,
    .fs-navbar,
    .fs-footer__inner,
    .fs-footer__bottom {
        width: min(100% - 32px, var(--gf-content));
    }

    .gf-app-main {
        padding-inline: 16px;
    }

    .fs-header-actions .fs-header-search {
        display: none;
    }

    .fs-brand__wordmark {
        max-width: 190px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .fs-hero {
        padding: 3.6rem 0 4.4rem;
    }

    .fs-hero h1 {
        font-size: clamp(2.8rem, 14vw, 4.2rem);
    }

    .fs-featured-post__media {
        min-height: 210px;
    }

    .fs-home-section {
        padding: 4.25rem 0;
    }

    .fs-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: .9rem;
    }

    .fs-post-grid {
        grid-template-columns: 1fr;
    }

    .fs-desk-card {
        min-height: 420px;
    }

    .fs-desk-card__content {
        padding: 1.45rem;
    }

    .fs-archive__header h1,
    .fs-article__header h1 {
        font-size: clamp(2.75rem, 13vw, 4.4rem);
    }

    .fs-archive-item {
        grid-template-columns: 1fr;
        gap: 1.1rem;
    }

    .fs-archive-item__image {
        aspect-ratio: 16 / 9;
    }

    .fs-article__hero {
        border-radius: 15px;
    }

    .fs-article__body {
        margin-top: 2rem;
        font-size: 1rem;
        line-height: 1.78;
    }

    .fs-article__body pre {
        margin-inline: -6px;
        border-radius: 11px;
        font-size: .8rem;
    }

    .fs-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 440px) {
    .fs-navbar {
        width: calc(100% - 24px);
    }

    .fs-brand__ember {
        width: 31px;
        height: 31px;
        flex-basis: 31px;
    }

    .fs-brand__wordmark {
        max-width: 145px;
        font-size: 1.02rem;
    }

    .fs-header-actions {
        gap: .1rem;
    }

    .gf-theme-toggle {
        width: 36px;
        height: 36px;
    }

    .fs-hero__actions,
    .fs-callout__actions {
        flex-direction: column;
    }

    .fs-hero__actions .fs-button,
    .fs-callout__actions .fs-button {
        width: 100%;
    }

    .fs-hero__topics {
        margin-top: 1.6rem;
    }

    .fs-featured-post__body,
    .fs-post-card__body {
        padding: 1.2rem;
    }

    .fs-archive-search .input-group {
        display: grid;
        grid-template-columns: auto 1fr;
    }

    .fs-archive-search .input-group .btn {
        grid-column: 1 / -1;
        width: 100%;
        margin-top: .5rem;
        border-radius: 11px !important;
    }

    .fs-archive-search .input-group > .input-group-text {
        border-radius: 11px 0 0 11px;
    }

    .fs-archive-search .input-group > .form-control {
        border-radius: 0 11px 11px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fireside-site *,
    .fireside-site *::before,
    .fireside-site *::after {
        scroll-behavior: auto !important;
        transition-duration: .001ms !important;
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Mobile account routes live inside the collapsed navigation so authentication
   remains reachable when the compact desktop action cluster is hidden. */
.fs-mobile-account-links { display: none; }
.fs-mobile-account-links form { margin: 0; }
.fs-mobile-account-links .fs-mobile-logout { color: #ef8f8f; }

@media (max-width: 860px) {
    .fs-mobile-account-links {
        display: grid;
        gap: .15rem;
        margin-top: .45rem;
        padding-top: .45rem;
        border-top: 1px solid var(--gf-line);
    }

    .fs-mobile-account-links form,
    .fs-mobile-account-links button {
        width: 100%;
    }
}

/* Optional administrator-provided ambient artwork is deliberately faint: the
   site keeps its tavern atmosphere without making text readability depend on it. */
.fs-home-main {
    position: relative;
    isolation: isolate;
}

.fs-home-main::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background-image:
        linear-gradient(180deg, color-mix(in srgb, var(--gf-bg) 48%, transparent), var(--gf-bg) 72%),
        var(--fs-ambient-image, linear-gradient(transparent, transparent));
    background-position: center top;
    background-size: cover;
    opacity: .18;
    mask-image: linear-gradient(to bottom, black 0, transparent 52%);
}

.fs-desk-card__link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: 1rem;
    color: #f8d29c !important;
    font-size: .78rem;
    font-weight: 650;
    text-decoration: none;
}
