/*
 * Storefront theme: the GameServer Engine look (see gameserverengine.com).
 * Dark sticky header and footer with orange accents around a light page whose
 * content sits in one white section (.gsw-content). Page-specific rules live in
 * the page; everything shared lives here.
 */

:root {
    --ink: #0f1117;
    --midnight: #07080c;
    --panel: #151b24;
    --orange: #ff8a00;
    --orange-strong: #ffb14d;
    --cyan: #6ddcff;
    --mist: #e5e8ec;
    --muted: #5b6676;
    --line: #dfe5ee;
    --page: #f7f9fc;
    --white: #ffffff;
    --success: #137a4b;
    --danger: #b42336;
    --warning: #8a5a00;
    --radius: 8px;
    /* The logo mark is the header height minus 20px: 112px desktop, 88px tablet, 72px phone. */
    --header-height: 132px;
    --gsw-menu-bg: #05080e;
    --gsw-spacer-bg: var(--gsw-menu-bg);
    --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    color: var(--ink);
    background: var(--page);
    font-family: var(--font);
    line-height: 1.55;
}

a {
    color: #b45f00;
}

a:hover {
    color: var(--orange);
}

img,
video,
iframe,
canvas,
svg {
    max-width: 100%;
    height: auto;
}

input,
select,
textarea,
button {
    max-width: 100%;
    font: inherit;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
select,
textarea {
    color: var(--ink);
    background: var(--white);
    border: 1px solid #c5cedb;
    border-radius: var(--radius);
    padding: 10px 12px;
}

:focus-visible {
    outline: 3px solid rgba(255, 138, 0, 0.55);
    outline-offset: 2px;
}

h1,
h2,
h3 {
    margin: 0 0 12px;
    line-height: 1.15;
    letter-spacing: 0;
}

h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 850;
}

h2 {
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
    font-weight: 800;
}

h3 {
    font-size: 1.15rem;
    font-weight: 750;
}

p {
    margin: 0 0 14px;
}

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

.gsw-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--gsw-menu-bg);
    border-bottom: 1px solid rgba(255, 138, 0, 0.26);
    backdrop-filter: blur(14px);
}

.gsw-header-inner {
    width: min(1400px, calc(100% - 32px));
    min-height: var(--header-height);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.gsw-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    color: var(--white);
    text-decoration: none;
}

.gsw-brand-mark {
    height: calc(var(--header-height) - 20px);
    width: auto;
    display: block;
}

.gsw-brand-text {
    font-size: 1.2rem;
    line-height: 1.05;
    white-space: nowrap;
}

.gsw-brand-text strong {
    color: var(--white);
    font-weight: 900;
}

.gsw-brand-text span {
    color: var(--orange-strong);
    font-weight: 800;
}

.gsw-header-nav {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 2px;
    min-width: 0;
}

.gsw-nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 7px 10px;
    border-radius: var(--radius);
    color: var(--mist);
    font-size: 0.92rem;
    font-weight: 650;
    text-decoration: none;
    white-space: nowrap;
}

.gsw-nav-link:hover,
.gsw-nav-link:focus-visible,
.gsw-nav-link.is-active {
    color: var(--orange-strong);
    background: rgba(255, 138, 0, 0.1);
}

.gsw-nav-cta {
    margin-left: 8px;
    min-height: 38px;
    white-space: nowrap;
    flex: 0 0 auto;
}

.cart-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.3rem;
    height: 1.3rem;
    margin-left: 6px;
    padding: 0 6px;
    border-radius: 999px;
    color: #101215;
    background: var(--orange-strong);
    font-size: 0.78rem;
    font-weight: 900;
}

.gsw-nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255, 138, 0, 0.35);
    border-radius: var(--radius);
    color: var(--mist);
    background: transparent;
    cursor: pointer;
}

.gsw-nav-toggle-bars,
.gsw-nav-toggle-bars::before,
.gsw-nav-toggle-bars::after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.gsw-nav-toggle-bars {
    position: relative;
}

.gsw-nav-toggle-bars::before,
.gsw-nav-toggle-bars::after {
    content: "";
    position: absolute;
    left: 0;
}

.gsw-nav-toggle-bars::before {
    top: -6px;
}

.gsw-nav-toggle-bars::after {
    top: 6px;
}

/* ---- Page shell: the white content section ---- */

.gsw-page {
    width: min(1180px, calc(100% - 32px));
    margin: 28px auto 40px;
}

.gsw-content {
    min-height: 420px;
    padding: clamp(20px, 3.5vw, 40px);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(15, 17, 23, 0.06);
}

/* Page wrappers sit inside the content section, so they add no width of their own. */
.gsw-content main,
.gsw-content .container,
.gsw-content .container-wide,
.gsw-content .site-panel,
.gsw-content .account-container,
.gsw-content .gsw-section {
    width: 100%;
    margin: 0;
    padding: 0;
}

.gsw-section + .gsw-section {
    margin-top: 40px;
}

.gsw-section-eyebrow {
    display: inline-flex;
    margin: 0 0 10px;
    color: #b45f00;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gsw-section-title {
    max-width: 780px;
    margin: 0 0 12px;
}

.gsw-section-copy {
    max-width: 760px;
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.muted,
.text-muted {
    color: var(--muted);
}

.center,
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-10 {
    margin-top: 10px;
}

.mt-12 {
    margin-top: 12px;
}

.mt-20 {
    margin-top: 20px;
}

.p-30-20 {
    padding: 30px 20px;
}

.float-left {
    float: left;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.decorative-bottom {
    border-bottom: 25px solid transparent;
}

/* ---- Buttons ---- */

.gsw-btn,
.btn,
.btn-primary,
.btn-login,
.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    color: #101215 !important;
    background: var(--orange-strong);
    font-weight: 850;
    text-decoration: none;
    cursor: pointer;
}

.gsw-btn:hover,
.btn:hover,
.btn-primary:hover,
.btn-login:hover,
.btn-submit:hover {
    background: var(--orange);
    text-decoration: none;
}

.gsw-btn-secondary,
.btn-secondary,
.gsw-catalog-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid #c5cedb;
    border-radius: var(--radius);
    color: var(--ink) !important;
    background: var(--white);
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
}

.gsw-btn-secondary:hover,
.btn-secondary:hover,
.gsw-catalog-action:hover {
    border-color: var(--orange);
    color: #b45f00 !important;
    text-decoration: none;
}

.gsw-catalog-action {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.92rem;
}

.btn-small {
    min-height: 32px;
    padding: 0 10px;
    font-size: 0.82rem;
}

.btn-danger {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border: 0;
    border-radius: var(--radius);
    color: var(--white) !important;
    background: var(--danger);
    font-weight: 750;
    cursor: pointer;
}

.gsw-nav-cta,
.btn-login,
.btn-submit {
    width: auto;
}

/* ---- Forms ---- */

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
}

/* ---- Panels, cards and grids ---- */

.panel,
.account-section,
.order-form-card,
.doc-card,
.gsw-feature-card,
.gsw-catalog-card,
.gsw-callout-panel,
.server-item,
.invoice-item,
.account-info-item,
.login-placeholder {
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.panel + .panel,
.panel + .account-info-grid,
.account-info-grid + .panel {
    margin-top: 20px;
}

.gsw-grid,
.account-info-grid,
.server-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.gsw-feature-card h3,
.gsw-catalog-card h2,
.gsw-catalog-card h3 {
    margin: 0 0 8px;
}

.gsw-feature-card p,
.gsw-catalog-card p {
    margin: 0;
    color: var(--muted);
}

.gsw-card-kicker {
    display: inline-flex;
    margin-bottom: 10px;
    color: #b45f00;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.gsw-callout-panel {
    background: var(--page);
}

/* Lead card on the Services page: orange accent, larger heading. */
.gsw-featured-card {
    border-left: 4px solid var(--orange);
}

.gsw-featured-card h2 {
    margin: 0 0 8px;
    font-size: 1.7rem;
}

.gsw-featured-points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin: 12px 0;
    padding-left: 18px;
}

.gsw-featured-card .gsw-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.gsw-powered {
    max-width: 880px;
}

.gsw-final-cta {
    text-align: center;
    padding: clamp(28px, 5vw, 52px);
}

.gsw-final-copy {
    margin-left: auto;
    margin-right: auto;
}

.gsw-low-emphasis-link {
    margin: 16px 0 0;
}

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

.gsw-hero-shell {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    border-radius: var(--radius);
    color: var(--white);
    background: var(--midnight) url("../images/brand/gse-hero-artwork.webp") center / cover no-repeat;
}

.gsw-hero-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(7, 8, 12, 0.92) 0%, rgba(7, 8, 12, 0.7) 55%, rgba(7, 8, 12, 0.35) 100%);
}

.gsw-hero {
    position: relative;
    max-width: 780px;
    padding: clamp(34px, 6vw, 68px) clamp(20px, 4vw, 44px);
}

.gsw-hero h1 {
    color: var(--white);
}

.gsw-hero .gsw-section-eyebrow {
    color: var(--orange-strong);
}

.gsw-hero-lede {
    max-width: 700px;
    margin: 0;
    color: var(--mist);
    font-size: clamp(1.02rem, 2vw, 1.22rem);
}

.gsw-hero-actions,
.gsw-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.gsw-actions-center {
    justify-content: center;
}

.gsw-hero .gsw-btn-secondary {
    color: var(--white) !important;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Black game row that sits flush on top of the hero: no gaps between tiles or before the hero. */
.gsw-supported-games-banner {
    margin: 0;
    overflow: hidden;
    background: #000;
    border-radius: 0;
}

.gsw-supported-games-inner {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
}

.gsw-supported-game-card {
    position: relative;
    min-width: 0;
    aspect-ratio: 460 / 215;
    overflow: hidden;
    color: var(--white);
    background: #000;
    text-decoration: none;
}


.gsw-supported-game-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}


.gsw-trust-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 8px;
}

.gsw-trust-item {
    padding: 16px;
    background: var(--page);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.gsw-trust-item strong {
    display: block;
    margin-bottom: 4px;
}

.gsw-trust-item span {
    display: block;
    color: var(--muted);
    font-size: 0.9rem;
}

.gsw-location-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.gsw-location-list li {
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--page);
    font-weight: 700;
}

/* ---- Game catalog ---- */

.gsw-catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.gsw-catalog-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
}

.gsw-catalog-card-image {
    display: block;
    width: 100%;
    height: 140px;
    margin-bottom: 4px;
    border-radius: 6px;
    object-fit: cover;
}

.gsw-catalog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}

.gsw-catalog-meta span {
    padding: 4px 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--muted);
    background: var(--page);
    font-size: 0.82rem;
}

.gsw-card-actions {
    margin-top: auto;
    padding-top: 6px;
}

/* ---- Tables ---- */

.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th,
.cart-table td {
    padding: 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.cart-table thead th {
    background: var(--page);
    color: #3b4656;
    font-weight: 700;
}

.cart-total-label,
.cart-total-value {
    padding: 14px 12px;
    border-top: 2px solid var(--line);
    font-weight: 800;
}

.cart-total-label {
    text-align: right;
}

/* ---- Status, alerts, messages ---- */

.text-success {
    color: var(--success) !important;
    font-weight: 700;
}

.text-danger {
    color: var(--danger) !important;
    font-weight: 700;
}

.status-badge,
.invoice-status {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.status-online {
    color: var(--success);
    background: #dcf5e8;
}

.status-offline {
    color: var(--danger);
    background: #fbe3e6;
}

.status-maintenance {
    color: var(--warning);
    background: #fff0cc;
}

.status-unknown {
    color: var(--muted);
    background: #e9edf3;
}

.alert,
.gsw-alert {
    margin: 0 0 18px;
    padding: 12px 16px;
    border: 1px solid transparent;
    border-radius: var(--radius);
}

.alert-error,
.gsw-alert-danger {
    color: #7a1523;
    background: #fbe3e6;
    border-color: #f0b4bd;
}

.alert-success,
.gsw-alert-success {
    color: #0d5a37;
    background: #dcf5e8;
    border-color: #a7dcc2;
}

.no-data {
    padding: 30px;
    text-align: center;
    color: var(--muted);
}

/* ---- Account, servers, invoices ---- */

.server-item,
.invoice-item,
.account-info-item,
.login-placeholder {
    background: var(--page);
}

.site-panel-title {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 850;
    text-align: center;
}

.server-name,
.invoice-id,
.invoice-amount {
    font-weight: 800;
}

.server-detail-label,
.account-info-label,
.invoice-date {
    color: var(--muted);
    font-size: 0.9rem;
}

.invoice-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.account-info-value,
.server-detail-value {
    font-weight: 700;
}

.server-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

/* ---- Sign in, password reset ---- */

.content {
    display: flex;
    justify-content: center;
    padding: 8px 0;
}

.login-container,
.reset-container {
    width: 100%;
    max-width: 440px;
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(15, 17, 23, 0.08);
}

.login-header,
.reset-header {
    margin-bottom: 22px;
    text-align: center;
}

.login-header h1,
.reset-header h1 {
    font-size: 1.8rem;
}

.login-header p,
.reset-header p,
.password-requirements {
    color: var(--muted);
}

.login-container .btn-login,
.reset-container .btn-submit {
    width: 100%;
}

.login-links,
.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 10px;
    margin-top: 14px;
    text-align: center;
}

.divider {
    margin: 18px 0 0;
    text-align: center;
    color: var(--muted);
    font-size: 0.85rem;
}

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

.gsw-footer {
    color: #aeb8c7;
    background: var(--midnight);
    border-top: 1px solid rgba(255, 138, 0, 0.24);
}

.gsw-footer-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 34px 0;
    display: grid;
    grid-template-columns: minmax(220px, 1.2fr) minmax(180px, 0.8fr) minmax(220px, 0.8fr);
    gap: 20px;
    align-items: start;
}

.gsw-footer-inner a {
    color: var(--mist);
}

.gsw-footer-inner a:hover {
    color: var(--orange-strong);
}

.gsw-footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gsw-footer-brand p {
    margin: 0;
}

.gsw-footer-brand strong {
    color: var(--white);
}

.gsw-footer-logo {
    width: 56px;
    height: 56px;
    flex: 0 0 auto;
}

.gsw-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
}

.gsw-footer-contact {
    margin: 0;
    font-style: normal;
}

.gsw-footer-copy {
    grid-column: 1 / -1;
    margin: 0;
    color: #8f98a6;
    font-size: 0.9rem;
}

.gsw-last-updated {
    margin-left: 8px;
    color: #6d7787;
}

/* ---- Small screens ---- */

/* The menu collapses to the toggle before it can ever wrap onto a second row. */
@media (max-width: 1320px) {
    .gsw-nav-toggle {
        display: inline-flex;
    }

    .gsw-header-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        padding: 10px 16px 16px;
        background: rgba(3, 7, 13, 0.98);
        border-bottom: 1px solid rgba(255, 138, 0, 0.26);
    }

    .gsw-header.is-open .gsw-header-nav {
        display: flex;
    }

    .gsw-nav-cta {
        margin: 6px 0 0;
    }
}

@media (max-width: 940px) {
    :root {
        --header-height: 108px;
    }

    .gsw-trust-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .gsw-supported-games-inner {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 620px) {
    :root {
        --header-height: 92px;
    }

    .gsw-page {
        width: min(100% - 16px, 1180px);
        margin: 14px auto 28px;
    }

    .gsw-header-inner,
    .gsw-footer-inner {
        width: min(100% - 22px, 1180px);
    }

    .gsw-trust-strip,
    .gsw-footer-inner {
        grid-template-columns: 1fr;
    }

    .cart-table {
        display: block;
        overflow-x: auto;
    }

    .invoice-item {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* One row of spacer between the menu and the page header (same color as the menu for now). */
.gsw-spacer {
    height: 28px;
    background: var(--gsw-spacer-bg);
}

/* Home: the game row and the hero sit on one black band, flush, outside the white card. */
.gsw-home-band {
    background: #000;
}

.gsw-home-band-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.gsw-home-band .gsw-hero-shell {
    margin: 0;
    border-radius: 0;
}

/* Page header: the same size on every page except home. */
.gsw-page-header {
    position: relative;
    color: var(--white);
    background: var(--midnight) url("../images/brand/gse-hero-artwork.webp") right center / cover no-repeat;
    border-bottom: 1px solid rgba(255, 138, 0, 0.26);
}

.gsw-page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(7, 8, 12, 0.94) 0%, rgba(7, 8, 12, 0.8) 55%, rgba(7, 8, 12, 0.45) 100%);
}

.gsw-page-header .gsw-page-header-inner {
    position: relative;
    width: min(1180px, calc(100% - 32px));
    min-height: 220px;
    margin: 0 auto;
    padding: 32px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gsw-page-header .gsw-page-header-inner h1 {
    margin: 0 0 10px;
    color: var(--white);
    font-size: clamp(2rem, 4.2vw, 3rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: 0;
}

.gsw-page-header .gsw-section-eyebrow {
    margin: 0 0 8px;
    color: var(--orange-strong);
}

.gsw-page-header .gsw-page-lead {
    margin: 0;
    max-width: 62ch;
    color: rgba(255, 255, 255, 0.84);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gsw-page-header a {
    color: var(--orange-strong);
}

/* Account page: expired servers sit in a collapsed row. */
.gsw-expired-servers {
    margin-top: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--page);
}

.gsw-expired-servers > summary {
    cursor: pointer;
    padding: 12px 16px;
    font-weight: 700;
    color: var(--muted);
    list-style: none;
}

.gsw-expired-servers > summary::-webkit-details-marker { display: none; }
.gsw-expired-servers > summary::before { content: "\25B8\00a0"; }
.gsw-expired-servers[open] > summary::before { content: "\25BE\00a0"; }
.gsw-expired-servers[open] > summary { border-bottom: 1px solid var(--line); }
.gsw-expired-servers .server-item { margin: 12px; }

/* Support page */
.gsw-support-contact {
    margin: 0 0 20px;
    font-size: 1.05rem;
}

.gsw-status-frame {
    height: 260px;
    overflow-y: auto;
    padding: 12px 14px;
    color: #d8dee8;
    background: #0b0e14;
    border: 1px solid #1b2230;
    border-radius: var(--radius);
    box-shadow: inset 0 3px 10px rgba(0, 0, 0, 0.55);
    font-size: 0.92rem;
}

.gsw-status-line {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 3px 0;
}

.gsw-status-line b {
    white-space: nowrap;
}

.gsw-status-sep {
    margin: 10px 0;
    border: 0;
    border-top: 1px solid #263044;
}

.gsw-status-frame,
.gsw-status-frame .gsw-status-line > span,
.gsw-status-frame .gsw-status-line > b {
    color: #e6ebf3;
}

.gsw-status-frame .gsw-status-note {
    margin: 10px 0 0;
    color: #b4bfd0;
    font-size: 0.85rem;
}

.gsw-status-frame .gsw-status-line > b.gsw-st.st-good { color: #3ddc84; }
.gsw-status-frame .gsw-status-line > b.gsw-st.st-bad { color: #ff7a7a; }
.gsw-status-frame .gsw-status-line > b.gsw-st.st-warn { color: #ffc14d; }
.gsw-status-frame .gsw-status-line > b.gsw-st.st-unknown { color: #b4bfd0; }

.gsw-st.st-good { color: #3ddc84; }
.gsw-st.st-bad { color: #ff6b6b; }
.gsw-st.st-warn { color: #ffc14d; }
.gsw-st.st-unknown { color: #9aa4b5; }

.gsw-ticket,
.gsw-ticket-group {
    margin-top: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.gsw-ticket > summary,
.gsw-ticket-group > summary {
    cursor: pointer;
    padding: 12px 16px;
    font-weight: 700;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px 16px;
}

.gsw-ticket-meta {
    color: var(--muted);
    font-weight: 500;
    font-size: 0.88rem;
}

.gsw-ticket-reply,
.gsw-ticket-posts {
    padding: 0 16px 16px;
}

.gsw-ticket-reply textarea {
    width: 100%;
    margin: 6px 0 10px;
}

.gsw-post {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: var(--radius);
    background: var(--page);
    border-left: 3px solid var(--line);
}

.gsw-post.is-staff { border-left-color: var(--orange); }
.gsw-post-meta { color: var(--muted); font-size: 0.85rem; margin-bottom: 4px; }
