/* Shared host-neutral presentation primitives. Hosts may override theme tokens. */
:root {
    color-scheme: dark;
    --ground: #20201f;
    --ground-warm: #2c211d;
}
html {
    background:
        radial-gradient(75rem 28rem at 50% -12rem, #71421b40, transparent 68%),
        linear-gradient(180deg, var(--ground-warm), var(--ground) 22rem);
    background-color: var(--ground);
    background-repeat: no-repeat;
    color: var(--text, #f9f5ee);
    font-family: Telex, sans-serif;
}
body {
    min-width: 20rem;
    margin: 0;
}
.saxton-shell { width: min(100% - 2rem, 62.5rem); margin-inline: auto; }
body .site-header {
    position: relative;
    height: 6.25rem;
    margin-top: 1.25rem;
    overflow: hidden;
    background: var(--header, #36120b);
    border: 1px solid #ffffff1c;
    border-radius: var(--radius-large, .75rem);
    box-shadow: var(--shadow, 0 1rem 2.5rem #0006);
}
.saxton-brand { display: block; height: 6.25rem; }
.saxton-brand img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left center; }
body .saxton-navigation {
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 0;
    display: flex;
    gap: .15rem;
    align-items: center;
    padding: .36rem .45rem;
    background: linear-gradient(90deg, #130b0800, #130b08df 12%);
    border: 1px solid #ffffff1c;
    border-radius: .55rem 0 var(--radius-large, .75rem) 0;
    box-shadow: 0 .25rem .8rem #0004;
    backdrop-filter: blur(6px);
}
body .site-header .saxton-navigation { border-right: 0; border-bottom: 0; }
body .saxton-navigation .nav-link {
    position: relative;
    display: inline-flex;
    gap: .38rem;
    align-items: center;
    padding: .46rem .58rem;
    color: #fff;
    border: 1px solid transparent;
    border-radius: .35rem;
    font-family: Jura, sans-serif;
    font-size: .9rem;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}
body .saxton-navigation .nav-link + .nav-link::before { position: absolute; top: .52rem; bottom: .52rem; left: -.1rem; width: 1px; content: ""; background: #ffffff2e; }
body .saxton-navigation .nav-link .hero-icon { width: .95rem; height: .95rem; opacity: .83; }
body .saxton-navigation .nav-link:hover,
body .saxton-navigation .nav-link.is-current { color: #fff; background: #3f1a0eeb; border-color: #e09b5b63; text-decoration: none; }
body .saxton-navigation .nav-link.is-current { box-shadow: inset 0 -2px var(--accent, #ffad25); }
body .site-header > .community-home-link { position: absolute; z-index: 2; top: 50%; left: .6rem; transform: translateY(-50%); }
body .site-header .account-controls {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    display: flex;
    gap: .5rem;
    align-items: center;
    min-height: 3.1rem;
    padding: .28rem .6rem;
    color: #f5e9dc;
    background: linear-gradient(90deg, #130b0800, #160c08df 18%);
    border: 1px solid #ffffff1c;
    border-top: 0;
    border-right: 0;
    border-radius: .55rem 0 0 .55rem;
    box-shadow: -.25rem .25rem .75rem #0005;
    font-size: .78rem;
}
body .site-header .account-controls form { display: inline; }
body .site-header .account-status { display: inline-flex; gap: .35rem; align-items: center; }
body .site-header .account-status > span { width: .45rem; height: .45rem; background: var(--success, #83d19c); border-radius: 50%; box-shadow: 0 0 0 3px #83d19c24; }
body .site-header .account-controls .steam-identity { max-width: 14rem; }
body .site-header .account-controls .steam-identity-avatar { --steam-avatar-size: 2.125rem; }
body .site-header .account-controls .steam-identity-copy small { display: none; }
body .site-header .account-controls .steam-identity-name { max-width: 11rem; font-size: .88rem; }
body .link-button {
    padding: 0;
    font: inherit;
    color: var(--accent, #ffad25);
    background: none;
    border: 0;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: .18em;
}
body .link-button:hover { color: var(--accent-bright, #ffc45a); text-decoration-color: currentColor; }
.saxton-main { min-height: 60vh; padding-block: 1.75rem; }
.saxton-section-card {
    position: relative;
    min-width: 0;
    margin-bottom: .7rem;
    overflow: hidden;
    background: linear-gradient(145deg, #312e2b, var(--surface-soft, #252321));
    border: 1px solid var(--line, #ffffff20);
    border-radius: var(--radius-large, .75rem);
    box-shadow: 0 .7rem 1.8rem #0003;
}
.saxton-section-title {
    margin: 0;
    padding: .55rem .8rem;
    color: var(--section-title-color, #fff);
    background: #15141370;
    border-bottom: 1px solid var(--line, #ffffff20);
    font-family: Jura, sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: .03em;
    text-transform: uppercase;
}
.saxton-section-title a { color: inherit; }
.saxton-section-title a:hover { color: var(--accent-bright, #ffc45a); text-decoration: none; }
.saxton-section-heading {
    display: flex;
    gap: .65rem;
    align-items: center;
    justify-content: space-between;
    padding-right: .8rem;
    background: #15141370;
    border-bottom: 1px solid var(--line, #ffffff20);
    border-radius: var(--radius-large, .75rem) var(--radius-large, .75rem) 0 0;
}
.saxton-section-heading .saxton-section-title {
    flex: 1 1 auto;
    min-width: 0;
    background: transparent;
    border-bottom: 0;
    border-radius: 0;
}
.saxton-section-search {
    display: flex;
    flex: 0 1 23rem;
    align-items: stretch;
    min-width: 0;
    margin: 0;
}
.saxton-section-search input {
    flex: 1 1 12rem;
    width: 12.5rem;
    min-width: 0;
    padding: .34rem .55rem;
    color: var(--text, #fff);
    background: #171615;
    border: 1px solid #ffffff32;
    border-radius: var(--radius, .45rem) 0 0 var(--radius, .45rem);
    font: inherit;
}
.saxton-section-search input:focus-visible { outline: 0; border-color: #ffd477; }
.saxton-section-search button {
    display: inline-flex;
    flex: 0 0 auto;
    gap: .3rem;
    align-items: center;
    padding: .34rem .6rem;
    color: var(--accent-ink, #231503);
    background: linear-gradient(180deg, var(--accent-bright, #ffc45a), var(--accent, #ffad25));
    border: 1px solid #ffd477;
    border-radius: 0 var(--radius, .45rem) var(--radius, .45rem) 0;
    font: inherit;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
}
.saxton-section-search button svg { width: .85rem; height: .85rem; stroke-width: 2.25; }
.saxton-section-search button:hover { color: var(--accent-ink, #231503); filter: brightness(1.06); }
.saxton-card-content { position: relative; padding: .65rem .9rem .9rem; }
.community-home-link {
    display: inline-flex;
    gap: 0;
    align-items: center;
    min-height: 2.75rem;
    padding: .6rem .7rem;
    color: var(--community-home-link-text, #f5e9dc);
    background: var(--community-home-link-background, #160c08c9);
    border: 1px solid var(--community-home-link-border, #ffffff25);
    border-radius: 999px;
    font-size: .82rem;
    text-decoration: none;
    transition: gap .18s ease, background-color .18s ease, border-color .18s ease;
}
.community-home-link .hero-icon { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.community-home-link span { max-width: 0; overflow: hidden; opacity: 0; white-space: nowrap; transition: max-width .18s ease, opacity .12s ease; }
.community-home-link:hover, .community-home-link:focus-visible { gap: .5rem; color: var(--community-home-link-hover-text, var(--accent-bright, #ffc45a)); background: var(--community-home-link-hover-background, #2a1109e8); border-color: var(--community-home-link-hover-border, #e09b5b63); text-decoration: none; }
.community-home-link:hover span, .community-home-link:focus-visible span { max-width: 14rem; opacity: 1; }
.back-button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    color: var(--accent-ink);
    background: linear-gradient(180deg, var(--accent-bright), var(--accent));
    border: 1px solid #ffd477;
    border-radius: var(--radius);
    box-shadow: inset 0 1px #fff7;
    transition: box-shadow .15s ease, transform .15s ease, background .15s ease;
}
.back-button .hero-icon { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.2; }
.back-button:hover { color: #17110a; background: linear-gradient(180deg, #ffda8a, var(--accent-bright)); box-shadow: inset 3px 0 var(--accent), inset 0 1px #fff7; transform: translateY(-1px); text-decoration: none; }
.page-back-navigation {
    display: flex;
    gap: .5rem;
    align-items: center;
    width: 100%;
    height: auto;
    min-height: 2.75rem;
    padding: .35rem .5rem;
    margin-bottom: .7rem;
    color: var(--muted, #c1b8ae);
    background: #17161566;
    border: 1px dashed var(--line-strong, #ffffff36);
    border-radius: var(--radius-large, .75rem);
    box-shadow: none;
}
.back-button.page-back-navigation { justify-content: flex-start; }
.back-button.page-back-navigation .hero-icon { flex: 0 0 auto; width: 1rem; height: 1rem; }
.back-button.page-back-navigation .page-back-navigation-label {
    color: var(--muted, #c1b8ae);
    font-family: Jura, sans-serif;
    font-size: .9rem;
    font-weight: 600;
}
.back-button.page-back-navigation:hover,
.back-button.page-back-navigation:focus-visible {
    background: #252321;
    border-color: var(--accent, #ffad25);
    box-shadow: inset 3px 0 var(--accent, #ffad25);
    transform: none;
}
.back-button.page-back-navigation:is(:hover, :focus-visible) :is(.hero-icon, .page-back-navigation-label) {
    color: var(--accent-bright, #ffc45a);
}
.steam-identity { display: inline-flex; gap: .55rem; align-items: center; min-width: 0; color: inherit; text-decoration: none; }
a.steam-identity:is(:hover, :focus-visible) { text-decoration: none; }
.steam-identity-avatar { --steam-avatar-size: 2rem; --steam-avatar-frame: 3px; display: inline-flex; flex: 0 0 calc(var(--steam-avatar-size) + var(--steam-avatar-frame) + var(--steam-avatar-frame)); width: calc(var(--steam-avatar-size) + var(--steam-avatar-frame) + var(--steam-avatar-frame)); height: calc(var(--steam-avatar-size) + var(--steam-avatar-frame) + var(--steam-avatar-frame)); padding: var(--steam-avatar-frame); overflow: hidden; background: linear-gradient(to bottom, #706c6b 5%, #4e4d4d 95%); border: 0; border-radius: 50%; box-shadow: none; }
.steam-identity-avatar--online { background: linear-gradient(to bottom, #7bafd6 5%, #506d92 95%); }
.steam-identity-avatar--ingame { background: linear-gradient(to bottom, #9bc861 5%, #789e4c 95%); }
.steam-identity-avatar-image { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.steam-identity-copy { display: grid; min-width: 0; }
.steam-identity .steam-identity-name { color: var(--text, #f9f5ee); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.steam-identity-copy small { margin-top: .1rem; color: var(--quiet); font-size: .72rem; letter-spacing: .015em; }
.steam-identity.steam-identity--donator .steam-identity-name { color: #ffa719; }
.steam-identity.steam-identity--donator .steam-identity-copy small, body .steam-identity-id--donator { color: #9e681e; }
/* Only the name responds to a direct/containing link or a single-destination
   row. IDs retain their ordinary/donor color during hover, keyboard focus,
   and visited-link states. */
a.steam-identity:is(:hover, :focus-visible) .steam-identity-name,
a:is(:hover, :focus-visible) .steam-identity .steam-identity-name,
.table-row--single-destination:is(:hover, :focus-within) a.steam-identity .steam-identity-name { color: var(--accent-bright, #ffc45a); }
.steam-identity-console .steam-identity-avatar { filter: none; opacity: 1; }
.steam-identities { display: inline-flex; align-items: center; isolation: isolate; vertical-align: middle; }
.steam-identities-avatar { position: relative; margin-left: -1.15rem; transition: transform .15s ease; }
.steam-identities-avatar:first-child { margin-left: 0; }
.steam-identities-avatar:hover, .steam-identities-avatar:focus-visible { z-index: 1; transform: translateY(-.12rem); }
.steam-identities-avatar:last-child { -webkit-mask-image: linear-gradient(to right, #000 10%, transparent 100%); mask-image: linear-gradient(to right, #000 10%, transparent 100%); }
.steam-identities:has(.steam-identities-avatar:nth-child(6)) { max-width: 10.8rem; overflow: hidden; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 4.3rem), transparent 100%); mask-image: linear-gradient(to right, #000 calc(100% - 4.3rem), transparent 100%); }
.server-identity { display: inline-flex; gap: .45rem; align-items: center; min-width: 0; max-width: 100%; vertical-align: middle; }
.server-identity-avatar { --server-identity-size: 2rem; --server-identity-frame: 3px; --server-identity-icon-scale: 1.14; --server-identity-icon-translate-x: 0px; --server-identity-icon-translate-y: 0px; display: inline-flex; flex: 0 0 calc(var(--server-identity-size) + var(--server-identity-frame) + var(--server-identity-frame)); width: calc(var(--server-identity-size) + var(--server-identity-frame) + var(--server-identity-frame)); height: calc(var(--server-identity-size) + var(--server-identity-frame) + var(--server-identity-frame)); padding: var(--server-identity-frame); overflow: hidden; border: 1px solid var(--line-strong, #ffffff36); border-radius: .35rem; box-shadow: 0 .15rem .45rem #0008; }
.server-identity-avatar-image { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; transform: translate(var(--server-identity-icon-translate-x), var(--server-identity-icon-translate-y)) scale(var(--server-identity-icon-scale)); }
.server-identity-avatar--prophunt { --server-identity-icon-scale: 1.4; --server-identity-icon-translate-x: 2px; --server-identity-icon-translate-y: 4px; }
.server-identity-avatar--freak-fortress { --server-identity-icon-translate-y: -1px; }
.server-identity-copy { display: grid; min-width: 0; }
.server-identity-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.server-identity-copy small { margin-top: .1rem; color: var(--quiet, #91877d); font-size: .72rem; letter-spacing: .015em; }
.sidebar-server-link::after { content: none; }
.sidebar-server-content { padding-block: .3rem; }
.sidebar-server-list { display: grid; gap: .25rem; padding: 0; margin: 0; list-style: none; }
.sidebar-server-link {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: .45rem;
    align-items: center;
    padding: .35rem .45rem;
    color: var(--text, #f9f5ee);
    background: #00000026;
    border: 1px solid var(--line, #ffffff20);
    border-radius: .3rem;
    font-size: .84rem;
    line-height: 1.25;
}
.sidebar-server-link:hover { color: #fff; background: var(--surface-hover, #403934); border-color: var(--line-strong, #ffffff36); box-shadow: inset 3px 0 var(--accent, #ffad25); text-decoration: none; }
.sidebar-server-map { min-width: 0; display: grid; gap: .05rem; color: var(--muted, #c1b8ae); text-align: right; }
.sidebar-server-player-count { color: var(--text, #f9f5ee); font-family: Telex, sans-serif; font-size: 1em; font-weight: inherit; line-height: inherit; }
.sidebar-server-map-value { margin-top: .1rem; overflow: hidden; color: var(--quiet, #91877d); text-overflow: ellipsis; white-space: nowrap; }
.sidebar-server-link .server-identity { flex: 0 0 auto; max-width: none; }
.sidebar-server-link .server-identity-copy { width: auto; }
.sidebar-server-link .server-identity-name { overflow: visible; text-overflow: clip; }
.sidebar-server-link :is(.server-identity-copy small, .sidebar-server-map-value) { font-family: monospace; font-size: .75rem; font-weight: 400; }
.sidebar-server-link .server-identity-copy small { letter-spacing: normal; }
.sidebar-empty { margin: 0; color: var(--muted, #c1b8ae); font-size: .9rem; }

.timestamp-display { display: inline-flex; flex-direction: column; color: var(--text, #f9f5ee); line-height: 1.25; white-space: nowrap; }
.timestamp-display-date { margin-top: .25rem; color: var(--quiet, #91877d); font-size: .77rem; }
.timestamp-display--missing { color: var(--quiet, #91877d); }
.steam-sign-in-link { display: inline-flex; gap: .35rem; align-items: center; color: var(--accent-bright); font-weight: 700; }
.steam-sign-in-link-via { color: var(--muted); font-weight: 400; }
.steam-sign-in-link-logo { width: 1.5rem; height: 1.5rem; color: #fff; fill: currentColor; stroke: none; }
.page-picker { display: inline-flex; align-items: center; }
.page-picker select { width: calc(4ch + 2rem); padding: .24rem .4rem; color: var(--text, #fff); background: var(--page-picker-background, #171615); border: 1px solid var(--line-strong, #ffffff32); border-radius: .25rem; font: inherit; }
.page-picker select:focus-visible { outline: 2px solid var(--accent-bright, #ffc45a); outline-offset: 2px; }
.page-picker-summary--virtual { display: inline-flex; gap: .35rem; align-items: center; }
.page-picker--virtual { min-width: 4ch; }
.table-scroll { max-width: 100%; margin-inline: -.15rem; overflow-x: auto; overflow-y: hidden; }
.legacy-count { margin: 0; padding: .2rem 0 .85rem; color: var(--muted, #c1b8ae); font-size: .88rem; text-align: center; }
.legacy-search-clear { display: inline-flex; align-items: center; justify-content: center; width: 2rem; color: var(--muted, #c1b8ae); background: #171615; border-top: 1px solid #ffffff32; border-bottom: 1px solid #ffffff32; text-decoration: none; }
.legacy-search-clear:hover { color: var(--accent-bright, #ffc45a); background: #292522; text-decoration: none; }
.legacy-search-clear .hero-icon { width: .9rem; height: .9rem; stroke-width: 2.25; }
.pager-band { display: flex; gap: .65rem; align-items: center; justify-content: center; min-height: 2.65rem; padding: .5rem; color: var(--quiet, #91877d); border-top: 1px solid var(--line-strong, #ffffff36); font-size: .84rem; }
.pager-band-top { border-top: 0; border-bottom: 1px solid var(--line-strong, #ffffff36); }
.pager-band a { padding: .15rem .35rem; border-radius: .25rem; }
.pager-band a:hover { color: #19120a; background: var(--accent-bright, #ffc45a); text-decoration: none; }
.legacy-table { min-width: 43rem; }
.legacy-table th { padding-inline: .75rem; background: transparent; border-top: 0; }
.legacy-table td { padding: .55rem .75rem; }
.legacy-table tbody tr:nth-child(even) { background: #00000024; }
/* All hosts use the Bans register hover/focus treatment. A row opts into
   table-row--single-destination only when its identity links go to the same
   place as the row; identities in mixed-destination rows keep direct hovers. */
tbody tr:not(.table-row--empty):is(:hover, :focus-within),
.legacy-table tbody tr:not(.table-row--empty):is(:hover, :focus-within),
.table-linked-row:is(:hover, :focus-within) { background: var(--surface-hover, #403934); box-shadow: inset 3px 0 var(--accent, #ffad25); }
/* Cell links and stretched row links preserve native anchor navigation.
   Keep alternate destinations above the row's stretched link. */
.table-row-link-cell { position: relative; }
.table-cell-row-link { display: block; margin: -.78rem -.7rem; padding: .78rem .7rem; color: inherit; text-decoration: none; }
.table-cell-row-link--overlay { position: absolute; z-index: 1; inset: 0; margin: 0; padding: 0; }
.table-cell-row-link:focus-visible { outline: 3px solid var(--accent-bright, #ffc45a); outline-offset: -3px; }
.table-row-link-cell > :not(.table-cell-row-link) { position: relative; z-index: 2; }
.table-row-link { color: inherit; text-decoration: none; }
.table-row-link::after { position: absolute; z-index: 1; inset: 0; content: ""; cursor: pointer; }
.table-row-link:focus-visible { outline: 0; }
.table-row-link:focus-visible::after { outline: 3px solid var(--accent-bright, #ffc45a); outline-offset: -3px; }
.table-linked-row { position: relative; }
.table-linked-row :is(a, button, input, select, textarea, label):not(.table-row-link) { position: relative; z-index: 2; }
@media (max-width: 42rem) {
    .saxton-section-heading { flex-wrap: wrap; padding: 0 .7rem .6rem; gap: .25rem .5rem; }
    .saxton-section-heading .saxton-section-title { flex-basis: 100%; padding-inline: .1rem; }
    .saxton-section-heading .saxton-section-search { flex: 1 1 100%; }
    .saxton-section-search input { width: auto; }
}
@media (max-width: 38rem) { .legacy-table { display: table; } .pager-band { flex-wrap: wrap; } }
.site-footer { display: flex; gap: 1rem; justify-content: space-between; padding: 1.25rem .25rem 2rem; color: var(--quiet, #91877d); border-top: 1px solid var(--line, #ffffff20); font-size: .85rem; }
@media (max-width: 38rem) { .site-footer { align-items: center; flex-direction: column; } }
@media (max-width: 65rem) {
    body .site-header { height: auto; overflow: visible; }
    .saxton-brand { overflow: hidden; border-radius: var(--radius-large, .75rem) var(--radius-large, .75rem) 0 0; }
    body .site-header:has(.saxton-navigation) > .community-home-link { top: 3.125rem; }
    body .saxton-navigation { position: relative; right: auto; bottom: auto; flex-wrap: wrap; justify-content: center; padding: .45rem; background: #1d110d; border-top: 1px solid #ffffff1c; border-radius: 0 0 var(--radius-large, .75rem) var(--radius-large, .75rem); }
}
@media (max-width: 38rem) {
    .saxton-shell { width: min(100% - 1rem, 62.5rem); }
    body .site-header { height: 5.4rem; margin-top: .5rem; }
    body .site-header:has(.saxton-navigation) { height: auto; }
    .saxton-brand { height: 5.4rem; }
    body .site-header > .community-home-link,
    body .site-header:has(.saxton-navigation) > .community-home-link { top: 2.7rem; }
    body .saxton-navigation .nav-link { padding: .48rem .5rem; font-size: .78rem; }
    body .saxton-navigation .nav-link .hero-icon,
    body .site-header .account-controls span { display: none; }
}
@media (max-width: 28.125rem) {
    /* Keep the full wordmark in view as the fixed-height banner is cropped. */
    .saxton-brand img { object-position: calc(100vw - 28.125rem) center; }
}
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
