/* GameServerDown brand palette. Status colors remain semantic. */
:root {
    --background: #090B0D;
    --background-light: #0E1115;
    --panel: #14181D;
    --panel-light: #1B2026;
    --border: #30363D;
    --border-light: #424A53;

    --accent: #FF1835;
    --accent-dark: #D8112C;
    --accent-soft: #FF596D;
    /* Keep older variable names for page-level CSS still using them. */
    --gold: var(--accent);
    --gold-dark: var(--accent-dark);
    --gold-soft: var(--accent-soft);

    --red: #FF596D;
    --yellow: #F5BD4F;
    --green: #55D58D;

    --white: #FFFDFC;
    --text: #E9EDF1;
    --muted: #A6AFB9;

    --max-width: 1180px;
}


/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;

    min-height: 100vh;

    background:
        radial-gradient(
            circle at top left,
            #1B1217 0,
            #0E1115 28%,
            #090B0D 70%
        );

    color: var(--text);

    font-family:
        Arial,
        Helvetica,
        sans-serif;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
select,
textarea {
    font: inherit;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    background: rgba(5, 5, 5, 0.98);

    border-bottom:
        1px solid rgba(255, 24, 53, 0.22);

    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.25);
}

.header-container {
    width: min(
        calc(100% - 40px),
        var(--max-width)
    );

    min-height: 78px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


/* =========================================================
   LOGO
   ========================================================= */

.logo {
    display: flex;

    align-items: center;

    gap: 11px;

    text-decoration: none;

    color: var(--accent);
}

.logo-icon {
    width: 55px;
    height: 44px;

    flex-shrink: 0;
}

.logo-text {
    display: flex;

    flex-direction: column;
}

.logo-name {
    color: var(--white);

    font-size: 27px;

    font-weight: 900;

    letter-spacing: -1.2px;

    line-height: 1;
}

.logo-name span {
    color: var(--accent);
}

.logo-tagline {
    color: #d8d8d8;

    font-size: 11px;

    margin-top: 5px;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.main-nav {
    display: flex;

    align-items: center;

    gap: 28px;
}

.main-nav a {
    position: relative;

    color: #e6e6e6;

    text-decoration: none;

    font-size: 14px;

    padding: 30px 0 27px;

    transition:
        color 0.15s ease;
}

.main-nav a:hover {
    color: var(--accent);
}

.main-nav a.active {
    color: var(--accent);
}

.main-nav a.active::after {
    content: "";

    position: absolute;

    bottom: 18px;

    left: 0;

    width: 100%;

    height: 2px;

    border-radius: 2px;

    background: var(--accent);
}


/* =========================================================
   PAGE CONTAINER
   ========================================================= */

.page-container {
    width: min(
        calc(100% - 40px),
        var(--max-width)
    );

    margin: 0 auto;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    padding: 75px 24px 60px;

    border: 1px solid rgba(255, 24, 53, 0.18);

    border-radius: 18px;

    background:
        linear-gradient(
            90deg,
            rgba(5, 7, 9, 0.96) 0%,
            rgba(5, 7, 9, 0.84) 52%,
            rgba(5, 7, 9, 0.52) 100%
        ),
        url('/assets/images/home-index-background.png') center right / cover no-repeat;

    text-align: center;
}

.hero-badge {
    display: inline-block;

    padding: 7px 13px;

    margin-bottom: 18px;

    border:
        1px solid rgba(255, 24, 53, 0.35);

    border-radius: 30px;

    background:
        rgba(255, 24, 53, 0.08);

    color: var(--accent);

    font-size: 12px;

    font-weight: 700;
}

.hero h1 {
    margin: 0 auto;

    max-width: 750px;

    color: var(--white);

    font-size: clamp(
        36px,
        6vw,
        62px
    );

    line-height: 1.05;

    letter-spacing: -2px;
}

.hero h1 span {
    color: var(--accent);
}

.hero-description {
    max-width: 690px;

    margin:
        19px auto 30px;

    color: #b8b8b8;

    font-size: 17px;

    line-height: 1.6;
}


/* =========================================================
   SEARCH
   ========================================================= */

.hero-search {
    max-width: 720px;

    margin: 0 auto;

    display: flex;

    background: #14181D;

    border:
        1px solid #333333;

    border-radius: 8px;

    padding: 6px;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.35);
}

.hero-search:focus-within {
    border-color:
        rgba(255, 24, 53, 0.75);

    box-shadow:
        0 0 0 2px rgba(255, 24, 53, 0.08),
        0 15px 40px rgba(0, 0, 0, 0.35);
}

.hero-search input {
    flex: 1;

    min-width: 0;

    height: 48px;

    padding: 0 16px;

    border: 0;

    outline: 0;

    background: transparent;

    color: var(--white);

    font-size: 15px;
}

.hero-search input::placeholder {
    color: #777777;
}

.hero-search button {
    height: 48px;

    padding: 0 25px;

    border: 0;

    border-radius: 6px;

    background: var(--accent);

    color: #000000;

    font-weight: 800;

    cursor: pointer;

    transition:
        background 0.15s ease,
        transform 0.15s ease;
}

.hero-search button:hover {
    background: var(--accent-soft);
}

.hero-search button:active {
    transform: translateY(1px);
}


/* =========================================================
   SECTIONS
   ========================================================= */

.home-section {
    margin-bottom: 55px;
}

.section-header {
    display: flex;

    justify-content: space-between;

    align-items: flex-end;

    gap: 20px;

    margin-bottom: 18px;
}

.section-header h2 {
    margin: 0;

    color: var(--white);

    font-size: 23px;
}

.section-header p {
    margin: 6px 0 0;

    color: var(--muted);

    font-size: 13px;
}

.section-link {
    color: var(--accent);

    text-decoration: none;

    font-size: 13px;

    font-weight: bold;
}

.section-link:hover {
    color: var(--accent-soft);
}


/* =========================================================
   CURRENT ISSUES
   ========================================================= */

.issue-list {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 14px;
}

.issue-card {
    display: block;

    padding: 19px;

    background:
        linear-gradient(
            180deg,
            #191D22,
            #11151A
        );

    border:
        1px solid var(--border);

    border-radius: 8px;

    text-decoration: none;

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.18);

    transition:
        transform 0.15s ease,
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

.issue-card:hover {
    transform: translateY(-2px);

    border-color:
        rgba(255, 24, 53, 0.65);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.28);
}

.status-line {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 15px;

    margin-bottom: 16px;
}

.status-label {
    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 12px;

    font-weight: 700;

    text-transform: uppercase;
}

.status-dot {
    width: 9px;

    height: 9px;

    border-radius: 50%;

    display: inline-block;
}


/* RED STATUS */

.status-red {
    color: var(--red);
}

.status-red .status-dot {
    background: var(--red);

    box-shadow:
        0 0 8px rgba(255, 89, 109, 0.4);
}


/* YELLOW STATUS */

.status-yellow {
    color: var(--yellow);
}

.status-yellow .status-dot {
    background: var(--yellow);

    box-shadow:
        0 0 8px rgba(245, 189, 79, 0.4);
}


/* NORMAL / OPERATIONAL */

.status-green {
    color: #dddddd;
}

.status-green .status-dot {
    background: var(--green);

    box-shadow:
        0 0 8px rgba(85, 213, 141, 0.4);
}

.issue-count {
    color: var(--muted);

    font-size: 11px;
}

.issue-card h3 {
    margin: 0 0 5px;

    color: var(--white);

    font-size: 19px;
}

.issue-platform {
    margin: 0 0 17px;

    color: #999999;

    font-size: 12px;
}

.issue-problem {
    margin: 0;

    color: #dddddd;

    font-size: 13px;
}


/* =========================================================
   POPULAR GAMES
   ========================================================= */

.game-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 13px;
}

.game-card {
    display: flex;

    align-items: center;

    gap: 12px;

    min-height: 72px;

    padding: 15px;

    background:
        linear-gradient(
            180deg,
            #191D22,
            #0e0e0e
        );

    border:
        1px solid var(--border);

    border-radius: 7px;

    text-decoration: none;

    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.15);

    transition:
        transform 0.15s ease,
        border-color 0.15s ease;
}

.game-card:hover {
    transform: translateY(-2px);

    border-color:
        rgba(255, 24, 53, 0.65);
}

.game-icon {
    width: 40px;

    height: 40px;

    border-radius: 7px;

    display: grid;

    place-items: center;

    flex-shrink: 0;

    background:
        linear-gradient(
            145deg,
            #211319,
            #121212
        );

    border:
        1px solid rgba(255, 24, 53, 0.25);

    color: var(--accent);

    font-weight: 900;

    font-size: 12px;
}

.game-icon img {
    width: 100%;
    height: 100%;
    padding: 3px;
    object-fit: contain;
}

.game-card strong {
    display: block;

    color: var(--white);

    font-size: 14px;
}

.game-card span {
    display: block;

    margin-top: 4px;

    color: var(--muted);

    font-size: 11px;
}


/* =========================================================
   PLATFORM STATUS
   ========================================================= */

.platform-list {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 12px;
}

.platform-row {
    display: flex;

    justify-content: space-between;

    align-items: center;

    min-height: 59px;

    padding: 0 17px;

    background:
        linear-gradient(
            180deg,
            #191D22,
            #11151A
        );

    border:
        1px solid var(--border);

    border-radius: 7px;

    text-decoration: none;

    transition:
        border-color 0.15s ease,
        transform 0.15s ease;
}

.platform-row:hover {
    transform: translateY(-1px);

    border-color:
        rgba(255, 24, 53, 0.65);
}

.platform-row-main {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.platform-row-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    overflow: hidden;
    border: 1px solid rgba(255, 24, 53, 0.25);
    border-radius: 7px;
    background: rgba(255, 24, 53, 0.06);
    color: var(--accent);
    font-size: 12px;
    font-weight: 900;
}

.platform-row-icon img {
    width: 100%;
    height: 100%;
    padding: 4px;
    object-fit: contain;
}

.platform-row strong {
    color: var(--white);

    font-size: 14px;
}

.platform-status {
    display: flex;

    align-items: center;

    gap: 7px;

    font-size: 11px;
}

.platform-status::before {
    content: "";

    width: 8px;

    height: 8px;

    border-radius: 50%;
}


/* OPERATIONAL */

.platform-status.operational {
    color: #dddddd;
}

.platform-status.operational::before {
    background: var(--green);

    box-shadow:
        0 0 7px rgba(85, 213, 141, 0.4);
}


/* ISSUES */

.platform-status.issues {
    color: var(--yellow);
}

.platform-status.issues::before {
    background: var(--yellow);

    box-shadow:
        0 0 7px rgba(245, 189, 79, 0.4);
}


/* DOWN */

.platform-status.down {
    color: var(--red);
}

.platform-status.down::before {
    background: var(--red);

    box-shadow:
        0 0 7px rgba(255, 89, 109, 0.4);
}


/* =========================================================
   TROUBLESHOOT BOX
   ========================================================= */

.troubleshoot-box {
    display: grid;

    grid-template-columns:
        1fr auto;

    align-items: center;

    gap: 30px;

    padding: 32px;

    margin-bottom: 65px;

    border:
        1px solid rgba(255, 24, 53, 0.35);

    border-radius: 9px;

    background:
        linear-gradient(
            120deg,
            #191217,
            #11151A
        );

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.2);
}

.troubleshoot-box h2 {
    margin:
        0 0 9px;

    color: var(--white);

    font-size: 24px;
}

.troubleshoot-box h2 span {
    color: var(--accent);
}

.troubleshoot-box p {
    max-width: 700px;

    margin: 0;

    color: #b9b9b9;

    line-height: 1.6;

    font-size: 14px;
}

.primary-button {
    display: inline-block;

    padding: 13px 22px;

    border-radius: 6px;

    background: var(--accent);

    color: #000000;

    text-decoration: none;

    font-size: 13px;

    font-weight: 900;

    white-space: nowrap;

    transition:
        background 0.15s ease,
        transform 0.15s ease;
}

.primary-button:hover {
    background: var(--accent-soft);

    transform: translateY(-1px);
}


/* =========================================================
   GENERAL PANELS
   ========================================================= */

.panel {
    background:
        linear-gradient(
            180deg,
            #191D22,
            #0e0e0e
        );

    border:
        1px solid var(--border);

    border-radius: 8px;

    padding: 20px;
}

.panel-title {
    margin: 0 0 14px;

    color: var(--white);

    font-size: 18px;
}


/* =========================================================
   GENERAL FORMS
   ========================================================= */

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

.form-group label {
    display: block;

    margin-bottom: 7px;

    color: var(--white);

    font-size: 13px;

    font-weight: 700;
}

.form-control {
    width: 100%;

    min-height: 44px;

    padding: 0 13px;

    border:
        1px solid #333333;

    border-radius: 6px;

    background: #11151A;

    color: var(--white);

    outline: none;
}

textarea.form-control {
    min-height: 120px;

    padding-top: 12px;

    resize: vertical;
}

.form-control:focus {
    border-color: var(--accent);

    box-shadow:
        0 0 0 2px rgba(255, 24, 53, 0.08);
}


/* =========================================================
   BUTTONS
   ========================================================= */

.button {
    display: inline-block;

    padding: 12px 20px;

    border: 0;

    border-radius: 6px;

    text-decoration: none;

    font-size: 13px;

    font-weight: 800;

    cursor: pointer;
}

.button-gold {
    background: var(--accent);

    color: #000000;
}

.button-gold:hover {
    background: var(--accent-soft);
}

.button-dark {
    background: #181818;

    border:
        1px solid #333333;

    color: var(--white);
}

.button-dark:hover {
    border-color: var(--accent);

    color: var(--accent);
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    border-top:
        1px solid rgba(255, 24, 53, 0.15);

    background: #030303;
}

.footer-container {
    width: min(
        calc(100% - 40px),
        var(--max-width)
    );

    margin: 0 auto;

    padding: 35px 0;

    display: flex;

    justify-content: space-between;

    gap: 30px;
}

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

    font-size: 21px;
}

.footer-brand strong span {
    color: var(--accent);
}

.footer-brand p {
    margin:
        8px 0 0;

    color: var(--muted);

    font-size: 12px;
}

.footer-links {
    display: flex;

    align-items: center;

    gap: 22px;

    flex-wrap: wrap;
}

.footer-links a {
    color: #aaaaaa;

    text-decoration: none;

    font-size: 12px;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top:
        1px solid #1B2026;

    padding: 17px;

    text-align: center;

    color: #666666;

    font-size: 11px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media
(max-width: 900px) {

    .header-container {
        flex-direction: column;

        align-items: flex-start;

        padding:
            16px 0 0;
    }

    .main-nav {
        width: 100%;

        overflow-x: auto;

        gap: 23px;

        scrollbar-width: none;
    }

    .main-nav::-webkit-scrollbar {
        display: none;
    }

    .main-nav a {
        padding:
            12px 0 16px;

        white-space: nowrap;
    }

    .main-nav a.active::after {
        bottom: 8px;
    }

    .issue-list {
        grid-template-columns:
            1fr;
    }

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

    .platform-list {
        grid-template-columns:
            repeat(2, 1fr);
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media
(max-width: 600px) {

    .header-container,
    .page-container,
    .footer-container {
        width:
            calc(100% - 28px);
    }

    .logo-name {
        font-size: 23px;
    }

    .logo-tagline {
        font-size: 10px;
    }

    .hero {
        padding:
            48px 16px 42px;
    }

    .hero h1 {
        font-size: 39px;

        letter-spacing: -1.5px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-search {
        display: block;

        padding: 7px;
    }

    .hero-search input {
        width: 100%;
    }

    .hero-search button {
        width: 100%;
    }

    .section-header {
        align-items: flex-start;

        flex-direction: column;
    }

    .game-grid {
        grid-template-columns:
            1fr;
    }

    .platform-list {
        grid-template-columns:
            1fr;
    }

    .troubleshoot-box {
        grid-template-columns:
            1fr;

        padding: 24px;
    }

    .primary-button {
        text-align: center;
    }

    .footer-container {
        flex-direction: column;
    }
}
/* =========================================================
   GAMES PAGE
   ========================================================= */

.directory-header {
    padding: 60px 0 30px;
}

.page-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.directory-header h1 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 46px;
    line-height: 1;
    letter-spacing: -1.5px;
}

.directory-header p {
    max-width: 700px;
    margin: 0;
    color: #a5a5a5;
    font-size: 14px;
    line-height: 1.6;
}


/* SEARCH */

.directory-search {
    margin-bottom: 42px;
}

.games-search-form {
    max-width: 720px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px;
    background: #14181D;
    border: 1px solid #303030;
    border-radius: 8px;
}

.games-search-form:focus-within {
    border-color: #FF1835;
}

.games-search-form input {
    flex: 1;
    min-width: 0;
    height: 46px;
    padding: 0 15px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #ffffff;
    font-size: 14px;
}

.games-search-form input::placeholder {
    color: #777777;
}

.games-search-form button {
    height: 46px;
    padding: 0 24px;
    border: 0;
    border-radius: 6px;
    background: #FF1835;
    color: #000000;
    font-weight: 800;
    cursor: pointer;
}

.games-search-form button:hover {
    background: #FF596D;
}

.clear-search {
    padding: 0 12px;
    color: #999999;
    font-size: 12px;
    text-decoration: none;
}

.clear-search:hover {
    color: #FF1835;
}


/* DIRECTORY HEADING */

.games-directory {
    padding-bottom: 70px;
}

.directory-title-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.directory-title-row h2 {
    margin: 0;
    color: #ffffff;
    font-size: 24px;
}

.directory-title-row p {
    margin: 7px 0 0;
    color: #8e8e8e;
    font-size: 13px;
}

.result-count {
    color: #FF1835;
    font-size: 12px;
    font-weight: 800;
}


/* GAME GRID */

.games-directory-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}


/* GAME CARD */

.directory-game-card {
    min-height: 145px;
    display: flex;
    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            #1B2026 0%,
            #0e0e0e 100%
        );

    border: 1px solid #30363D;
    border-radius: 9px;

    color: inherit;
    text-decoration: none;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.18);

    transition:
        transform 0.15s ease,
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

.directory-game-card:hover {
    transform: translateY(-3px);

    border-color:
        rgba(255, 24, 53, 0.7);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.3);
}


/* GAME IMAGE / LETTER */

.directory-game-image {
    width: 110px;
    min-width: 110px;

    display: grid;
    place-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #211319,
            #11151A
        );

    border-right: 1px solid #292929;
}

.directory-game-image img {
    width: 100%;
    height: 100%;
    padding: 10px;
    object-fit: contain;
}

.directory-game-image span {
    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    border-radius: 10px;

    background:
        rgba(255, 24, 53, 0.08);

    border:
        1px solid rgba(255, 24, 53, 0.35);

    color: #FF1835;

    font-size: 26px;
    font-weight: 900;
}


/* GAME CONTENT */

.directory-game-content {
    flex: 1;
    min-width: 0;

    padding: 17px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.directory-game-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.directory-game-top h3 {
    margin: 0;
    color: #ffffff;
    font-size: 17px;
    line-height: 1.25;
}

.featured-badge {
    flex-shrink: 0;

    padding: 4px 8px;

    border-radius: 20px;

    background:
        rgba(255, 24, 53, 0.08);

    border:
        1px solid rgba(255, 24, 53, 0.3);

    color: #FF1835;

    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.game-developer {
    margin: 7px 0 16px;
    color: #909090;
    font-size: 11px;
}


/* CARD BOTTOM */

.game-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.game-status {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
}

.game-status-dot {
    width: 8px;
    height: 8px;
    display: inline-block;
    border-radius: 50%;
}


/* OPERATIONAL */

.game-status.operational {
    color: #d8d8d8;
}

.game-status.operational .game-status-dot {
    background: var(--green);

    box-shadow:
        0 0 8px rgba(85, 213, 141, 0.45);
}


/* ISSUES */

.game-status.issues {
    color: var(--yellow);
}

.game-status.issues .game-status-dot {
    background: var(--yellow);
}


/* DOWN */

.game-status.down {
    color: #ff5965;
}

.game-status.down .game-status-dot {
    background: #ff5965;
}

.view-status {
    color: #FF1835;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}


/* NO RESULTS */

.no-results {
    padding: 65px 25px;
    text-align: center;

    background:
        linear-gradient(
            180deg,
            #191D22,
            #11151A
        );

    border: 1px solid #30363D;
    border-radius: 9px;
}

.no-results-icon {
    width: 50px;
    height: 50px;

    margin: 0 auto 15px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    border:
        1px solid rgba(255, 24, 53, 0.4);

    color: #FF1835;

    font-size: 22px;
    font-weight: 900;
}

.no-results h3 {
    margin: 0 0 8px;
    color: #ffffff;
}

.no-results p {
    margin: 0 0 22px;
    color: #929292;
    font-size: 13px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 950px) {

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


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .directory-header {
        padding-top: 40px;
    }

    .directory-header h1 {
        font-size: 36px;
    }

    .games-search-form {
        flex-wrap: wrap;
    }

    .games-search-form input {
        flex-basis: 100%;
        width: 100%;
    }

    .games-search-form button {
        flex: 1;
    }

    .directory-title-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .games-directory-grid {
        grid-template-columns: 1fr;
    }

    .directory-game-image {
        width: 92px;
        min-width: 92px;
    }
}
/* =========================================================
   GAME STATUS PAGE
   ========================================================= */

.game-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 28px;
    color: #777;
    font-size: 12px;
}

.game-breadcrumbs a {
    color: #999;
    text-decoration: none;
}

.game-breadcrumbs a:hover {
    color: var(--accent);
}

.game-breadcrumbs strong {
    color: #ddd;
}


/* GAME HEADER */

.game-page-header {
    display: grid;
    grid-template-columns: 105px 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 25px 0;
}

.game-page-image {
    width: 105px;
    height: 90px;
    overflow: hidden;

    display: grid;
    place-items: center;

    border: 1px solid #303030;
    border-radius: 9px;

    background:
        linear-gradient(
            145deg,
            #211319,
            #0c0c0c
        );
}

.game-page-image img {
    width: 100%;
    height: 100%;
    padding: 8px;
    object-fit: contain;
}

.game-page-image span {
    color: var(--accent);
    font-size: 36px;
    font-weight: 900;
}

.game-page-title h1 {
    margin: 0 0 5px;
    color: #fff;
    font-size: 31px;
}

.game-page-title > p {
    margin: 0 0 16px;
    color: #888;
    font-size: 12px;
}


/* PLATFORM TABS */

.platform-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.platform-tab {
    min-width: 95px;
    padding: 10px 15px;

    text-align: center;

    background: #121212;

    border: 1px solid #303030;
    border-radius: 6px;

    color: #ccc;
    text-decoration: none;

    font-size: 12px;
}

.platform-tab:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.platform-tab.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #000;
    font-weight: 800;
}


/* REPORT BUTTON */

.report-problem-button {
    display: inline-block;
    padding: 12px 18px;

    border-radius: 6px;

    background: var(--accent);

    color: #000;
    text-decoration: none;

    font-size: 12px;
    font-weight: 900;
}

.report-problem-button:hover {
    background: var(--accent-soft);
}


/* STATUS BANNER */

.game-status-banner {
    min-height: 95px;

    display: grid;
    grid-template-columns: 50px 1fr auto;
    align-items: center;
    gap: 15px;

    padding: 15px 18px;
    margin-bottom: 13px;

    background:
        linear-gradient(
            180deg,
            #161616,
            #0e0e0e
        );

    border: 1px solid #303030;
    border-radius: 8px;
}

.status-banner-icon {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    font-size: 23px;
    font-weight: 900;
}

.game-status-banner.operational
.status-banner-icon {
    background:
        rgba(85, 213, 141, .12);

    color: var(--green);

    border:
        1px solid rgba(85, 213, 141, .35);
}

.game-status-banner.issues
.status-banner-icon {
    background:
        rgba(245, 189, 79, .12);

    color: var(--yellow);

    border:
        1px solid rgba(245, 189, 79, .4);
}

.game-status-banner.down
.status-banner-icon {
    background:
        rgba(255, 89, 109, .12);

    color: var(--red);

    border:
        1px solid rgba(255, 89, 109, .4);
}

.status-banner-content h2 {
    margin: 0 0 6px;
    color: #fff;
    font-size: 18px;
}

.status-banner-content h2 span {
    color: #999;
    font-weight: normal;
}

.status-banner-content p {
    margin: 0;
    color: #d0d0d0;
    font-size: 13px;
}

.status-banner-content small {
    display: block;
    margin-top: 5px;
    color: #888;
}


/* DIAGNOSIS */

.diagnosis-box {
    min-width: 190px;

    padding: 12px 16px;

    text-align: center;

    border:
        1px solid rgba(255, 24, 53, .4);

    border-radius: 7px;

    background:
        rgba(255, 24, 53, .05);
}

.diagnosis-box strong {
    display: block;
    margin-bottom: 4px;
    color: var(--accent);
    font-size: 14px;
}

.diagnosis-box span {
    color: #aaa;
    font-size: 11px;
}


/* METRICS */

.game-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 12px;
}

.game-metric-card {
    min-height: 120px;
    padding: 16px;

    background:
        linear-gradient(
            180deg,
            #191D22,
            #11151A
        );

    border: 1px solid #2d2d2d;
    border-radius: 8px;
}

.metric-label {
    display: block;
    margin-bottom: 16px;
    color: #aaa;
    font-size: 11px;
}

.game-metric-card > strong {
    display: block;
    color: #fff;
    font-size: 17px;
    margin-bottom: 8px;
}

.game-metric-card small {
    color: #777;
    font-size: 11px;
}

.metric-status {
    display: flex !important;
    align-items: center;
    gap: 7px;
}

.metric-status span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.metric-status.operational span {
    background: var(--green);
}

.metric-status.issues {
    color: var(--yellow) !important;
}

.metric-status.issues span {
    background: var(--yellow);
}

.metric-status.down {
    color: var(--red) !important;
}

.metric-status.down span {
    background: var(--red);
}


/* DATA GRID */

.game-data-grid {
    display: grid;
    grid-template-columns: 1.65fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.game-panel {
    padding: 17px;

    background:
        linear-gradient(
            180deg,
            #191D22,
            #11151A
        );

    border: 1px solid #2d2d2d;
    border-radius: 8px;
}

.game-panel-heading {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 18px;
}

.game-panel-heading h2,
.game-panel h2 {
    margin: 0;
    color: #fff;
    font-size: 15px;
}

.game-panel-heading p {
    margin: 5px 0 0;
    color: #777;
    font-size: 10px;
}

.game-panel-heading > strong {
    color: var(--accent);
}


/* HOURLY CHART */

.hourly-chart {
    height: 175px;

    display: flex;
    align-items: flex-end;

    gap: 4px;

    padding: 10px 5px 0;

    border-bottom: 1px solid #292929;

    background:
        repeating-linear-gradient(
            to bottom,
            transparent,
            transparent 42px,
            #1d1d1d 43px
        );
}

.hour-column {
    flex: 1;
    height: 100%;

    display: flex;
    align-items: flex-end;
}

.hour-bar {
    width: 100%;
    min-height: 3px;

    background:
        linear-gradient(
            180deg,
            #ffd65d,
            #FF1835
        );

    border-radius: 2px 2px 0 0;
}

.chart-times {
    display: flex;
    justify-content: space-between;

    padding-top: 8px;

    color: #666;
    font-size: 9px;
}

.empty-report-chart {
    min-height: 175px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.empty-report-chart strong {
    color: #ddd;
}

.empty-report-chart p {
    max-width: 400px;
    margin: 8px 0 0;
    color: #777;
    font-size: 11px;
    line-height: 1.6;
}


/* COMMON ISSUES */

.common-issue-row {
    margin-bottom: 15px;
}

.common-issue-label {
    display: flex;
    justify-content: space-between;

    margin-bottom: 6px;

    color: #ccc;
    font-size: 11px;
}

.issue-progress {
    height: 7px;

    overflow: hidden;

    background: #292929;

    border-radius: 10px;
}

.issue-progress span {
    display: block;
    height: 100%;

    background: var(--accent);

    border-radius: 10px;
}

.common-issues-empty {
    padding: 45px 10px;

    text-align: center;

    color: #777;
    font-size: 12px;
}


/* BOTTOM */

.game-bottom-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 12px;

    margin-bottom: 65px;
}

.analysis-panel h2 {
    color: var(--accent);
    margin-bottom: 12px;
}

.analysis-panel p {
    margin: 0;

    color: #c6c6c6;

    font-size: 12px;
    line-height: 1.65;
}

.next-steps-panel {
    border-color:
        rgba(255, 24, 53, .35);
}

.next-steps-panel h2 {
    color: var(--accent);
    margin-bottom: 12px;
}

.next-steps-panel ol {
    margin: 0 0 15px;
    padding-left: 20px;
}

.next-steps-panel li {
    margin: 7px 0;
    color: #ccc;
    font-size: 11px;
}

.game-action-button {
    display: block;

    padding: 11px 15px;

    text-align: center;

    background: var(--accent);

    border-radius: 6px;

    color: #000;
    text-decoration: none;

    font-size: 11px;
    font-weight: 900;
}


/* ERROR */

.game-error {
    padding: 100px 20px;
    text-align: center;
}

.game-error h1 {
    color: #fff;
}

.game-error p {
    color: #888;
}


/* TABLET */

@media (max-width: 900px) {

    .game-page-header {
        grid-template-columns: 90px 1fr;
    }

    .game-page-actions {
        grid-column: 2;
    }

    .game-metrics {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .game-data-grid,
    .game-bottom-grid {
        grid-template-columns: 1fr;
    }
}


/* MOBILE */

@media (max-width: 600px) {

    .game-page-header {
        grid-template-columns: 72px 1fr;
    }

    .game-page-image {
        width: 72px;
        height: 72px;
    }

    .game-page-title h1 {
        font-size: 23px;
    }

    .platform-tabs {
        grid-column: 1 / -1;
    }

    .platform-tab {
        flex: 1;
        min-width: 120px;
    }

    .game-page-actions {
        grid-column: 1 / -1;
    }

    .report-problem-button {
        width: 100%;
        text-align: center;
    }

    .game-status-banner {
        grid-template-columns: 42px 1fr;
    }

    .diagnosis-box {
        grid-column: 1 / -1;
        min-width: 0;
    }

    .game-metrics {
        grid-template-columns: 1fr;
    }
}
/* =========================================================
   REPORT A PROBLEM
   ========================================================= */

.report-page-header {
    padding: 60px 0 32px;
}

.report-page-header h1 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 44px;
    letter-spacing: -1.5px;
}

.report-page-header p {
    max-width: 680px;
    margin: 0;
    color: #999;
    font-size: 14px;
    line-height: 1.6;
}


/* MESSAGE */

.report-message {
    padding: 14px 17px;
    margin-bottom: 22px;
    border-radius: 7px;
    font-size: 13px;
}

.report-message.success {
    background:
        rgba(85, 213, 141, .08);

    border:
        1px solid rgba(85, 213, 141, .4);

    color: var(--green);
}

.report-message.error {
    background:
        rgba(255, 89, 109, .08);

    border:
        1px solid rgba(255, 89, 109, .4);

    color: #ff8d95;
}


/* LAYOUT */

.report-layout {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 18px;
    padding-bottom: 70px;
}

.report-panel {
    padding: 25px;
    margin-bottom: 70px;

    background:
        linear-gradient(
            180deg,
            #191D22,
            #11151A
        );

    border: 1px solid #2d2d2d;
    border-radius: 9px;
}

.report-layout .report-panel {
    margin-bottom: 0;
}


/* HEADING */

.report-panel-heading {
    margin-bottom: 24px;
}

.report-panel-heading > span {
    display: inline-block;

    margin-bottom: 7px;

    color: var(--accent);

    font-size: 10px;
    font-weight: 900;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.report-panel-heading h2 {
    margin: 0;

    color: #fff;

    font-size: 21px;
}


/* CURRENT SELECTION */

.report-selection {
    padding: 15px 17px;

    margin-bottom: 25px;

    background: #0E1115;

    border:
        1px solid rgba(255, 24, 53, .22);

    border-radius: 7px;
}

.selection-label {
    display: block;

    margin-bottom: 5px;

    color: #777;

    font-size: 10px;

    text-transform: uppercase;
}

.report-selection > strong {
    display: block;

    margin-bottom: 7px;

    color: #fff;

    font-size: 15px;
}

.report-selection a {
    color: var(--accent);

    font-size: 10px;

    text-decoration: none;
}

.selection-links {
    display: flex;
    gap: 15px;
}


/* FORMS */

.report-form {
    max-width: 700px;
}

.report-form .form-group {
    margin-bottom: 20px;
}

.report-form label {
    display: block;

    margin-bottom: 8px;

    color: #ddd;

    font-size: 12px;

    font-weight: 800;
}

.optional {
    margin-left: 5px;

    color: #666;

    font-size: 9px;

    font-weight: normal;
}

.report-form select.form-control {
    appearance: auto;
}

.report-submit-button {
    min-width: 160px;
}


/* PLATFORM CHOICES */

.report-platform-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 12px;
}

.report-platform-card {
    min-height: 110px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    gap: 10px;

    padding: 15px;

    text-align: center;

    background:
        linear-gradient(
            180deg,
            #1B2026,
            #0e0e0e
        );

    border: 1px solid #303030;

    border-radius: 8px;

    color: inherit;

    text-decoration: none;

    transition:
        transform .15s ease,
        border-color .15s ease;
}

.report-platform-card:hover {
    transform: translateY(-2px);

    border-color: var(--accent);
}

.platform-symbol {
    width: 42px;
    height: 42px;

    display: grid;

    place-items: center;

    border-radius: 8px;

    background:
        rgba(255, 24, 53, .08);

    border:
        1px solid rgba(255, 24, 53, .3);

    color: var(--accent);

    font-size: 17px;

    font-weight: 900;
}

.report-platform-card strong {
    color: #fff;
    font-size: 12px;
}


/* SIDE INFORMATION */

.report-info-card {
    align-self: start;

    padding: 23px;

    background:
        linear-gradient(
            180deg,
            #191318,
            #11151A
        );

    border:
        1px solid rgba(255, 24, 53, .3);

    border-radius: 9px;
}

.report-info-card h3 {
    margin: 0 0 10px;

    color: var(--accent);

    font-size: 17px;
}

.report-info-card > p {
    margin: 0 0 18px;

    color: #aaa;

    font-size: 12px;

    line-height: 1.6;
}

.report-info-card ul {
    margin: 0 0 23px;

    padding: 0;

    list-style: none;
}

.report-info-card li {
    position: relative;

    margin: 10px 0;

    padding-left: 21px;

    color: #ccc;

    font-size: 11px;
}

.report-info-card li::before {
    content: "✓";

    position: absolute;

    left: 0;

    color: var(--accent);

    font-weight: 900;
}


/* PRIVACY */

.privacy-note {
    padding-top: 17px;

    border-top: 1px solid #2a2a2a;
}

.privacy-note strong {
    display: block;

    margin-bottom: 6px;

    color: #fff;

    font-size: 11px;
}

.privacy-note p {
    margin: 0;

    color: #777;

    font-size: 10px;

    line-height: 1.6;
}

.report-empty {
    color: #888;
    font-size: 13px;
}


/* TABLET */

@media (max-width: 850px) {

    .report-layout {
        grid-template-columns: 1fr;
    }

    .report-platform-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


/* MOBILE */

@media (max-width: 550px) {

    .report-page-header {
        padding-top: 40px;
    }

    .report-page-header h1 {
        font-size: 34px;
    }

    .report-panel {
        padding: 19px;
    }

    .report-platform-grid {
        grid-template-columns: 1fr;
    }

    .report-submit-button {
        width: 100%;
    }

}
/* =========================================================
   PLATFORM DIRECTORY
   ========================================================= */

.platform-directory {
    padding-bottom: 70px;
}

.platform-directory-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 15px;
}

.platform-directory-card {
    display: block;
    padding: 19px;

    background:
        linear-gradient(
            180deg,
            #161616,
            #11151A
        );

    border: 1px solid #2c2c2c;
    border-radius: 9px;

    text-decoration: none;
    color: inherit;

    transition:
        transform .15s ease,
        border-color .15s ease,
        box-shadow .15s ease;
}

.platform-directory-card:hover {
    transform: translateY(-3px);
    border-color:
        rgba(255, 24, 53, .65);

    box-shadow:
        0 15px 35px
        rgba(0, 0, 0, .3);
}

.platform-card-top {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.platform-large-icon {
    width: 48px;
    height: 48px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    overflow: hidden;

    border-radius: 8px;

    background:
        rgba(255, 24, 53, .08);

    border:
        1px solid
        rgba(255, 24, 53, .3);

    color: var(--accent);

    font-weight: 900;
    font-size: 18px;
}

.platform-large-icon img {
    width: 100%;
    height: 100%;
    padding: 5px;
    object-fit: contain;
}

.platform-card-heading {
    flex: 1;
    min-width: 0;
}

.platform-card-heading h3 {
    margin: 3px 0 5px;
    color: #fff;
    font-size: 16px;
}

.platform-card-heading p {
    margin: 0;
    color: #777;
    font-size: 10px;
}

.platform-card-status {
    margin: 22px 0;
}

.platform-card-stats {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);

    padding: 14px 0;

    border-top: 1px solid #252525;
    border-bottom: 1px solid #252525;
}

.platform-card-stats div {
    text-align: center;
}

.platform-card-stats div +
div {
    border-left: 1px solid #252525;
}

.platform-card-stats strong {
    display: block;
    color: #fff;
    font-size: 16px;
}

.platform-card-stats span {
    display: block;
    margin-top: 4px;
    color: #777;
    font-size: 9px;
}

.platform-card-footer {
    display: flex;
    justify-content: space-between;

    padding-top: 15px;

    color: var(--accent);

    font-size: 10px;
    font-weight: 800;
}


/* =========================================================
   PLATFORM PAGE
   ========================================================= */

.platform-page-header {
    display: grid;

    grid-template-columns:
        85px 1fr;

    align-items: center;

    gap: 17px;

    padding: 25px 0;
}

.platform-page-icon {
    width: 85px;
    height: 85px;

    display: grid;
    place-items: center;

    overflow: hidden;

    border-radius: 9px;

    background:
        linear-gradient(
            145deg,
            #211319,
            #0c0c0c
        );

    border: 1px solid #303030;

    color: var(--accent);

    font-size: 30px;
    font-weight: 900;
}

.platform-page-icon img {
    width: 100%;
    height: 100%;
    padding: 8px;
    object-fit: contain;
}

.platform-page-header h1 {
    margin: 0 0 6px;
    color: #fff;
    font-size: 32px;
}

.platform-page-header p {
    margin: 0;
    color: #888;
    font-size: 11px;
}


/* PLATFORM DETAIL */

.platform-detail-grid {
    display: grid;

    grid-template-columns:
        1.65fr 1fr;

    gap: 12px;

    margin-bottom: 35px;
}

.platform-game-list {
    display: flex;
    flex-direction: column;
}

.platform-game-row {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto
        auto;

    align-items: center;

    gap: 17px;

    padding: 12px 0;

    text-decoration: none;

    border-bottom: 1px solid #242424;
}

.platform-game-row:last-child {
    border-bottom: 0;
}

.platform-game-row:hover
.platform-game-name strong {
    color: var(--accent);
}

.platform-game-name {
    display: flex;
    align-items: center;
    gap: 11px;
}

.mini-game-icon {
    width: 36px;
    height: 36px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border-radius: 6px;

    border:
        1px solid
        rgba(255, 24, 53, .25);

    background:
        rgba(255, 24, 53, .06);

    color: var(--accent);

    font-size: 12px;
    font-weight: 900;
}

.platform-game-name strong {
    display: block;

    color: #fff;

    font-size: 12px;
}

.platform-game-name span {
    display: block;

    margin-top: 4px;

    color: #777;

    font-size: 9px;
}


/* INCIDENTS */

.platform-incidents {
    margin-bottom: 35px;
}

.incident-list {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 12px;
}

.incident-card {
    padding: 18px;

    background:
        linear-gradient(
            180deg,
            #191318,
            #11151A
        );

    border:
        1px solid
        rgba(255, 89, 109, .3);

    border-radius: 8px;
}

.incident-severity {
    display: inline-block;

    margin-bottom: 10px;

    padding: 4px 8px;

    border-radius: 20px;

    background:
        rgba(255, 89, 109, .1);

    color: var(--red);

    font-size: 9px;

    font-weight: 900;
}

.incident-card h3 {
    margin: 0 0 8px;

    color: #fff;

    font-size: 15px;
}

.incident-card p {
    margin: 0 0 9px;

    color: #aaa;

    font-size: 11px;

    line-height: 1.55;
}

.incident-card small {
    color: #666;
    font-size: 9px;
}

.incident-game a {
    color: var(--accent);
    text-decoration: none;
}


/* PLATFORM ANALYSIS */

.platform-analysis {
    display: grid;

    grid-template-columns:
        1.7fr 1fr;

    gap: 12px;

    margin-bottom: 65px;
}


/* TABLET */

@media (max-width: 900px) {

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

    .platform-detail-grid,
    .platform-analysis {
        grid-template-columns: 1fr;
    }

}


/* MOBILE */

@media (max-width: 600px) {

    .platform-directory-grid {
        grid-template-columns: 1fr;
    }

    .platform-page-header {
        grid-template-columns:
            65px 1fr;
    }

    .platform-page-icon {
        width: 65px;
        height: 65px;
    }

    .platform-page-header h1 {
        font-size: 25px;
    }

    .platform-game-row {
        grid-template-columns:
            minmax(0, 1fr)
            auto;
    }

    .platform-game-row
    .view-status {
        display: none;
    }

    .incident-list {
        grid-template-columns: 1fr;
    }

}
/* =========================================================
   TROUBLESHOOTER
   ========================================================= */

.troubleshoot-header {
    padding: 60px 0 35px;
}

.troubleshoot-header h1 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 44px;
    letter-spacing: -1.5px;
}

.troubleshoot-header p {
    max-width: 730px;
    margin: 0;
    color: #999;
    font-size: 14px;
    line-height: 1.65;
}


/* PANEL */

.troubleshoot-panel {
    padding: 26px;
    margin-bottom: 70px;

    background:
        linear-gradient(
            180deg,
            #191D22,
            #11151A
        );

    border: 1px solid #2e2e2e;
    border-radius: 9px;
}

.troubleshoot-panel h2 {
    margin: 0 0 24px;
    color: #fff;
    font-size: 22px;
}

.troubleshoot-step {
    margin-bottom: 8px;
    color: var(--accent);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* FORM */

.troubleshoot-form {
    max-width: 650px;
}


/* CURRENT CHOICE */

.troubleshoot-current {
    padding: 14px 16px;
    margin-bottom: 25px;

    background: #0a0a0a;

    border:
        1px solid rgba(255, 24, 53, .25);

    border-radius: 7px;
}

.troubleshoot-current span {
    display: block;
    color: #777;
    font-size: 9px;
    text-transform: uppercase;
}

.troubleshoot-current strong {
    display: block;
    margin: 4px 0 5px;
    color: #fff;
}

.troubleshoot-current a {
    color: var(--accent);
    text-decoration: none;
    font-size: 10px;
}


/* PLATFORM GRID */

.troubleshoot-platform-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.troubleshoot-platform {
    min-height: 115px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 15px;

    background:
        linear-gradient(
            180deg,
            #1B2026,
            #11151A
        );

    border: 1px solid #303030;
    border-radius: 8px;

    color: inherit;
    text-align: center;
    text-decoration: none;

    transition:
        border-color .15s ease,
        transform .15s ease;
}

.troubleshoot-platform:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
}

.troubleshoot-platform > span {
    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    border-radius: 8px;

    background:
        rgba(255, 24, 53, .07);

    border:
        1px solid rgba(255, 24, 53, .3);

    color: var(--accent);

    font-size: 17px;
    font-weight: 900;
}

.troubleshoot-platform strong {
    color: #fff;
    font-size: 12px;
}


/* QUESTION LAYOUT */

.troubleshoot-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1.7fr)
        minmax(250px, .8fr);

    gap: 18px;
}

.troubleshoot-layout
.troubleshoot-panel {
    margin-bottom: 70px;
}


/* CURRENT ROW */

.troubleshoot-current-row {
    display: grid;

    grid-template-columns:
        1fr 1fr auto;

    align-items: center;

    gap: 15px;

    padding: 15px;

    margin-bottom: 27px;

    background: #0a0a0a;

    border: 1px solid #272727;

    border-radius: 7px;
}

.troubleshoot-current-row span {
    display: block;
    margin-bottom: 4px;
    color: #777;
    font-size: 9px;
    text-transform: uppercase;
}

.troubleshoot-current-row strong {
    color: #fff;
    font-size: 12px;
}

.troubleshoot-current-row a {
    color: var(--accent);
    text-decoration: none;
    font-size: 10px;
}


/* QUESTIONS */

.diagnostic-form fieldset {
    margin: 0 0 25px;
    padding: 0;

    border: 0;
}

.diagnostic-form legend {
    width: 100%;

    margin-bottom: 12px;

    color: #fff;

    font-size: 13px;
    font-weight: 800;
}

.diagnostic-option {
    display: flex;

    align-items: center;

    gap: 10px;

    min-height: 43px;

    padding: 10px 13px;

    margin-bottom: 7px;

    background: #101010;

    border: 1px solid #292929;

    border-radius: 6px;

    color: #ccc;

    font-size: 12px;

    cursor: pointer;
}

.diagnostic-option:hover {
    border-color:
        rgba(255, 24, 53, .5);
}

.diagnostic-option input {
    accent-color: var(--accent);
}

.diagnostic-submit {
    min-width: 200px;
}


/* LIVE SIDEBAR */

.troubleshoot-live {
    align-self: start;

    padding: 22px;

    background:
        linear-gradient(
            180deg,
            #191318,
            #11151A
        );

    border:
        1px solid rgba(255, 24, 53, .3);

    border-radius: 9px;
}

.troubleshoot-live h3 {
    margin: 0 0 18px;
    color: var(--accent);
    font-size: 16px;
}

.troubleshoot-live-row {
    display: flex;

    justify-content: space-between;

    gap: 15px;

    padding: 11px 0;

    border-bottom: 1px solid #272727;

    font-size: 11px;
}

.troubleshoot-live-row span {
    color: #aaa;
}

.troubleshoot-live-row strong {
    color: #fff;
}

.troubleshoot-live-row
strong.operational {
    color: #ddd;
}

.troubleshoot-live-row
strong.issues {
    color: var(--yellow);
}

.troubleshoot-live-row
strong.down {
    color: var(--red);
}

.troubleshoot-live > small {
    display: block;

    margin-top: 13px;

    color: #666;

    font-size: 9px;

    line-height: 1.5;
}

.live-warning {
    margin-top: 18px;
    padding: 13px;

    background:
        rgba(255, 89, 109, .07);

    border:
        1px solid rgba(255, 89, 109, .3);

    border-radius: 6px;
}

.live-warning strong {
    color: var(--red);
    font-size: 11px;
}

.live-warning p {
    margin: 6px 0 0;
    color: #999;
    font-size: 10px;
    line-height: 1.5;
}


/* =========================================================
   DIAGNOSIS RESULTS
   ========================================================= */

.diagnosis-result {
    display: grid;

    grid-template-columns:
        72px 1fr;

    gap: 20px;

    align-items: center;

    padding: 25px;

    margin-bottom: 15px;

    background:
        linear-gradient(
            180deg,
            #1B2026,
            #11151A
        );

    border:
        1px solid rgba(255, 24, 53, .4);

    border-radius: 9px;
}

.diagnosis-result-icon {
    width: 62px;
    height: 62px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        rgba(255, 24, 53, .08);

    border:
        1px solid rgba(255, 24, 53, .4);

    color: var(--accent);

    font-size: 23px;
    font-weight: 900;
}

.diagnosis-label {
    display: block;

    margin-bottom: 6px;

    color: var(--accent);

    font-size: 9px;

    font-weight: 900;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.diagnosis-result h1 {
    margin: 0 0 8px;

    color: #fff;

    font-size: 28px;
}

.diagnosis-result p {
    max-width: 750px;

    margin: 0;

    color: #aaa;

    font-size: 12px;

    line-height: 1.6;
}


/* STATUS CARDS */

.diagnosis-status-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 12px;

    margin-bottom: 15px;
}

.diagnosis-status-card {
    padding: 17px;

    background:
        linear-gradient(
            180deg,
            #191D22,
            #11151A
        );

    border: 1px solid #2c2c2c;

    border-radius: 8px;
}

.diagnosis-status-card > span {
    display: block;

    margin-bottom: 10px;

    color: #777;

    font-size: 10px;
}

.diagnosis-status-card strong {
    display: block;

    color: #fff;

    font-size: 15px;
}

.diagnosis-status-card
strong.issues {
    color: var(--yellow);
}

.diagnosis-status-card
strong.down {
    color: var(--red);
}

.diagnosis-status-card small {
    display: block;

    margin-top: 5px;

    color: #666;

    font-size: 9px;
}


/* INCIDENTS */

.diagnosis-incidents {
    padding: 18px;

    margin-bottom: 15px;

    background:
        rgba(255, 89, 109, .05);

    border:
        1px solid rgba(255, 89, 109, .3);

    border-radius: 8px;
}

.diagnosis-incidents h2 {
    margin: 0 0 12px;

    color: var(--red);

    font-size: 14px;
}

.diagnosis-incident-row {
    display: flex;

    justify-content: space-between;

    gap: 15px;

    padding: 10px 0;

    border-top: 1px solid
        rgba(255, 255, 255, .06);
}

.diagnosis-incident-row strong {
    color: #ddd;

    font-size: 11px;
}

.diagnosis-incident-row span {
    color: #777;

    font-size: 9px;
}


/* BOTTOM */

.diagnosis-bottom {
    display: grid;

    grid-template-columns:
        1.7fr .8fr;

    gap: 15px;

    margin-bottom: 70px;
}

.diagnosis-bottom
.troubleshoot-panel {
    margin-bottom: 0;
}

.diagnosis-steps {
    margin: 0;
    padding-left: 22px;
}

.diagnosis-steps li {
    margin: 12px 0;

    color: #ccc;

    font-size: 12px;

    line-height: 1.5;
}

.diagnosis-actions {
    display: flex;
    flex-direction: column;

    gap: 9px;

    align-self: start;

    padding: 18px;

    background: #111;

    border: 1px solid #2d2d2d;

    border-radius: 8px;
}

.diagnosis-actions .button {
    text-align: center;
}

.troubleshoot-start-over {
    margin-top: 5px;

    color: #777;

    text-align: center;

    text-decoration: none;

    font-size: 10px;
}

.troubleshoot-start-over:hover {
    color: var(--accent);
}


/* TABLET */

@media (max-width: 850px) {

    .troubleshoot-layout,
    .diagnosis-bottom {
        grid-template-columns: 1fr;
    }

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

}


/* MOBILE */

@media (max-width: 550px) {

    .troubleshoot-header {
        padding-top: 40px;
    }

    .troubleshoot-header h1 {
        font-size: 34px;
    }

    .troubleshoot-panel {
        padding: 19px;
    }

    .troubleshoot-platform-grid {
        grid-template-columns: 1fr;
    }

    .troubleshoot-current-row {
        grid-template-columns: 1fr;
    }

    .diagnostic-submit {
        width: 100%;
    }

    .diagnosis-result {
        grid-template-columns: 1fr;
    }

    .diagnosis-status-grid {
        grid-template-columns: 1fr;
    }

}
/* =========================================================
   PLATFORM STATUS PAGE
   ========================================================= */

.platform-status-page {
    background: var(--background);
    min-height: 100vh;
}


/* =========================================================
   PLATFORM HERO
   ========================================================= */

.platform-status-hero {
    padding: 42px 0 34px;
    border-bottom: 1px solid var(--border);
    background:
        linear-gradient(
            180deg,
            rgba(255, 24, 53, 0.025),
            transparent
        );
}

.status-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;

    margin-bottom: 30px;

    font-size: 13px;
    color: var(--muted);
}

.status-breadcrumbs a {
    color: #b0b0b0;
    text-decoration: none;
}

.status-breadcrumbs a:hover {
    color: var(--accent);
}

.status-breadcrumbs strong {
    color: var(--white);
}

.platform-status-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.platform-status-heading-main {
    display: flex;
    align-items: center;
    gap: 20px;
}

.platform-status-logo {
    width: 82px;
    height: 82px;

    flex: 0 0 82px;

    object-fit: contain;

    border: 1px solid #343434;
    border-radius: 12px;

    background: #111;
}

img.platform-status-logo {
    padding: 8px;
}

.platform-status-letter {
    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--accent);

    font-size: 34px;
    font-weight: 900;
}

.platform-status-heading h1 {
    margin: 5px 0 5px;

    color: var(--white);

    font-size: 38px;
    line-height: 1.1;
}

.platform-status-heading p {
    margin: 0;

    color: var(--muted);

    font-size: 14px;
}

.eyebrow {
    display: block;

    color: var(--accent);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}


/* =========================================================
   PAGE CONTENT
   ========================================================= */

.platform-status-content {
    padding: 32px 0 70px;
}


/* =========================================================
   OVERALL STATUS
   ========================================================= */

.platform-overall-status {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding: 25px 28px;

    border: 1px solid var(--border);
    border-radius: 10px;

    background: var(--panel);
}

.platform-status-indicator {
    display: flex;
    align-items: center;

    gap: 16px;
}

.platform-status-dot {
    width: 14px;
    height: 14px;

    flex: 0 0 14px;

    border-radius: 50%;

    background: #666;
}

.platform-overall-status.operational .platform-status-dot {
    background: var(--green);

    box-shadow:
        0 0 12px rgba(85, 213, 141, 0.5);
}

.platform-overall-status.issues .platform-status-dot,
.platform-overall-status.degraded .platform-status-dot,
.platform-overall-status.partial-outage .platform-status-dot {
    background: #F5BD4F;
}

.platform-overall-status.major-outage .platform-status-dot {
    background: var(--red);

    box-shadow:
        0 0 12px rgba(255, 89, 109, 0.45);
}

.platform-overall-status.unknown .platform-status-dot {
    background: #777;
}

.platform-status-indicator > div > span {
    display: block;

    margin-bottom: 4px;

    color: var(--muted);

    font-size: 12px;

    text-transform: uppercase;
}

.platform-status-indicator h2 {
    margin: 0;

    color: var(--white);

    font-size: 25px;
}

.platform-overall-status p {
    max-width: 620px;

    margin: 0;

    color: #c2c2c2;

    font-size: 14px;
    line-height: 1.6;

    text-align: right;
}

.platform-last-check {
    display: block;

    margin-top: 7px;

    color: #747474;

    font-size: 12px;

    text-align: right;
}


/* =========================================================
   METRIC CARDS
   ========================================================= */

.platform-metric-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 16px;

    margin-top: 18px;
}

.platform-metric-card {
    min-height: 135px;

    padding: 21px;

    border: 1px solid var(--border);
    border-radius: 9px;

    background: var(--panel);
}

.platform-metric-card > span {
    display: block;

    color: #aaa;

    font-size: 12px;
}

.platform-metric-card strong {
    display: block;

    margin: 14px 0 8px;

    color: var(--white);

    font-size: 23px;
    line-height: 1.2;
}

.platform-metric-card small {
    color: #747474;

    font-size: 12px;
}


/* =========================================================
   STANDARD PAGE PANELS
   ========================================================= */

.platform-detail-section {
    margin-top: 22px;

    padding: 24px;

    border: 1px solid var(--border);
    border-radius: 10px;

    background: var(--panel);
}

.section-heading-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    gap: 25px;

    margin-bottom: 20px;
}

.section-heading-row h2 {
    margin: 5px 0 0;

    color: var(--white);

    font-size: 23px;
}

.section-subtitle {
    margin: 7px 0 0;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.5;
}


/* =========================================================
   PLATFORM SERVICE HEALTH
   ========================================================= */

.component-summary {
    padding: 8px 12px;

    border: 1px solid rgba(255, 24, 53, 0.35);
    border-radius: 6px;

    background: rgba(255, 24, 53, 0.06);

    color: var(--accent);

    font-size: 12px;
    font-weight: 800;

    white-space: nowrap;
}

.platform-component-list {
    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 8px;
}

.platform-component-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    min-height: 72px;

    padding: 16px 18px;

    border-bottom: 1px solid #252525;

    background: #0E1115;
}

.platform-component-row:last-child {
    border-bottom: 0;
}

.platform-component-row:hover {
    background: #101010;
}

.platform-component-main {
    display: flex;
    align-items: center;

    gap: 13px;
}

.platform-component-dot {
    width: 10px;
    height: 10px;

    flex: 0 0 10px;

    border-radius: 50%;

    background: #666;
}

.platform-component-row.operational
.platform-component-dot {
    background: var(--green);

    box-shadow:
        0 0 9px rgba(85, 213, 141, 0.5);
}

.platform-component-row.issues
.platform-component-dot,
.platform-component-row.degraded
.platform-component-dot,
.platform-component-row.partial-outage
.platform-component-dot {
    background: #F5BD4F;
}

.platform-component-row.major-outage
.platform-component-dot {
    background: var(--red);
}

.platform-component-row.unknown
.platform-component-dot {
    background: #777;
}

.platform-component-main strong {
    display: block;

    color: var(--white);

    font-size: 14px;
}

.platform-component-main small {
    display: block;

    margin-top: 5px;

    color: #737373;

    font-size: 11px;
}

.platform-component-right {
    display: flex;
    align-items: center;

    gap: 12px;
}

.platform-component-right strong {
    color: #bbb;

    font-size: 13px;
}

.platform-component-row.operational
.platform-component-right strong {
    color: var(--green);
}

.platform-component-row.issues
.platform-component-right strong,
.platform-component-row.degraded
.platform-component-right strong,
.platform-component-row.partial-outage
.platform-component-right strong {
    color: #F5BD4F;
}

.platform-component-row.major-outage
.platform-component-right strong {
    color: var(--red);
}

.platform-component-row.unknown
.platform-component-right strong {
    color: #888;
}

.component-stale {
    padding: 5px 8px;

    border: 1px solid #414141;
    border-radius: 4px;

    color: #999;

    font-size: 9px;
    font-weight: 700;

    text-transform: uppercase;
}


/* =========================================================
   COMPONENT CONFIDENCE
   ========================================================= */

.platform-component-confidence {
    display: flex;
    gap: 35px;

    padding: 17px 18px;

    margin-top: 12px;

    border: 1px solid #292929;
    border-radius: 7px;

    background: #0E1115;
}

.platform-component-confidence div {
    display: flex;
    align-items: center;

    gap: 9px;
}

.platform-component-confidence span {
    color: #888;

    font-size: 12px;
}

.platform-component-confidence strong {
    color: var(--accent);

    font-size: 13px;
}

.platform-data-notice {
    margin-top: 12px;

    padding: 14px 16px;

    border: 1px solid rgba(255, 24, 53, 0.25);
    border-radius: 7px;

    background: rgba(255, 24, 53, 0.05);

    color: var(--accent-soft);

    font-size: 12px;
    line-height: 1.6;
}


/* =========================================================
   TWO COLUMN AREAS
   ========================================================= */

.platform-two-column {
    display: grid;

    grid-template-columns:
        minmax(0, 1.5fr)
        minmax(320px, 0.8fr);

    gap: 22px;
}


/* =========================================================
   GAMES
   ========================================================= */

.platform-game-list,
.platform-issue-list {
    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 8px;
}

.platform-game-row {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;

    min-height: 68px;

    padding: 14px 16px;

    border-bottom: 1px solid #252525;

    background: #0E1115;

    text-decoration: none;
}

.platform-game-row:last-child {
    border-bottom: 0;
}

.platform-game-row:hover {
    background: #111;
}

.platform-game-row > div {
    flex: 1;
    min-width: 0;
}

.platform-game-thumb {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    overflow: hidden;
    border: 1px solid rgba(255, 24, 53, 0.25);
    border-radius: 6px;
    background: rgba(255, 24, 53, 0.06);
    color: var(--accent);
    font-size: 12px;
    font-weight: 900;
}

.platform-game-thumb img {
    width: 100%;
    height: 100%;
    padding: 2px;
    object-fit: contain;
}

.platform-game-row strong {
    color: var(--white);

    font-size: 14px;
}

.platform-game-row small {
    display: block;

    margin-top: 5px;

    color: #777;

    font-size: 11px;
}

.platform-game-status {
    font-size: 12px;
    font-weight: 800;

    white-space: nowrap;
}

.platform-game-status.operational {
    color: var(--green);
}

.platform-game-status.issues,
.platform-game-status.degraded,
.platform-game-status.partial-outage {
    color: #F5BD4F;
}

.platform-game-status.major-outage {
    color: var(--red);
}

.platform-game-status.unknown {
    color: #888;
}


/* =========================================================
   COMMON ISSUES
   ========================================================= */

.platform-issue-row {
    display: flex;
    justify-content: space-between;
    align-items: center;

    min-height: 60px;

    padding: 14px 16px;

    border-bottom: 1px solid #252525;

    background: #0E1115;
}

.platform-issue-row:last-child {
    border-bottom: 0;
}

.platform-issue-row span {
    color: var(--white);

    font-size: 13px;
}

.platform-issue-row strong {
    color: var(--yellow);

    font-size: 14px;
}


/* =========================================================
   INCIDENTS
   ========================================================= */

.platform-incident-list {
    display: grid;
    gap: 12px;
}

.platform-incident-card {
    padding: 18px;

    border: 1px solid rgba(255, 89, 109, 0.26);
    border-radius: 8px;

    background: rgba(255, 89, 109, 0.04);
}

.platform-incident-top {
    display: flex;
    justify-content: space-between;

    gap: 20px;
}

.platform-incident-card h3 {
    margin: 6px 0 0;

    color: var(--white);

    font-size: 17px;
}

.incident-severity,
.incident-status-label {
    color: var(--red);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.platform-incident-card p {
    color: #aaa;

    font-size: 13px;
    line-height: 1.65;
}

.platform-incident-card small {
    color: #777;
}

.incident-game {
    color: var(--accent) !important;
}


/* =========================================================
   ANALYSIS / TROUBLESHOOTING
   ========================================================= */

.platform-analysis-text {
    margin: 0;

    color: #c4c4c4;

    font-size: 14px;
    line-height: 1.75;
}

.platform-trouble-list {
    margin: 0 0 20px;

    padding-left: 22px;

    color: #c4c4c4;

    font-size: 13px;
    line-height: 1.8;
}


/* =========================================================
   EMPTY BOX
   ========================================================= */

.platform-empty-box {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 145px;

    padding: 24px;

    border: 1px dashed #353535;
    border-radius: 7px;

    background: #0E1115;

    color: #7f7f7f;

    font-size: 13px;

    text-align: center;
}


/* =========================================================
   BOTTOM HELP CTA
   ========================================================= */

.platform-help-box {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 35px;

    margin-top: 22px;

    padding: 26px;

    border: 1px solid var(--border);
    border-radius: 10px;

    background: var(--panel);
}

.platform-help-box h2 {
    margin: 5px 0 9px;

    color: var(--white);

    font-size: 23px;
}

.platform-help-box p {
    max-width: 650px;

    margin: 0;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.65;
}

.platform-help-actions {
    display: flex;

    gap: 10px;

    flex-shrink: 0;
}


/* =========================================================
   BUTTONS USED ON PLATFORM PAGE
   ========================================================= */

.platform-status-page .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;

    padding: 0 18px;

    border-radius: 6px;

    font-size: 12px;
    font-weight: 800;

    text-decoration: none;

    cursor: pointer;
}

.platform-status-page .button-gold {
    border: 1px solid var(--accent);

    background: var(--accent);

    color: #090B0D;
}

.platform-status-page .button-gold:hover {
    background: var(--accent-soft);
}

.platform-status-page .button-outline {
    border: 1px solid #444;

    background: transparent;

    color: var(--white);
}

.platform-status-page .button-outline:hover {
    border-color: var(--accent);

    color: var(--accent);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {

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

    .platform-two-column {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 760px) {

    .platform-status-hero {
        padding-top: 28px;
    }

    .platform-status-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .platform-status-heading h1 {
        font-size: 32px;
    }

    .platform-overall-status {
        align-items: flex-start;
        flex-direction: column;
    }

    .platform-overall-status p,
    .platform-last-check {
        text-align: left;
    }

    .platform-help-box {
        align-items: flex-start;
        flex-direction: column;
    }

    .platform-help-actions {
        width: 100%;
    }

}


@media (max-width: 560px) {

    .platform-status-logo {
        width: 68px;
        height: 68px;

        flex-basis: 68px;
    }

    .platform-status-heading h1 {
        font-size: 28px;
    }

    .platform-metric-grid {
        grid-template-columns: 1fr;
    }

    .platform-metric-card {
        min-height: auto;
    }

    .section-heading-row {
        flex-direction: column;
    }

    .platform-component-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .platform-component-right {
        width: 100%;

        justify-content: space-between;
    }

    .platform-component-confidence {
        flex-direction: column;

        gap: 10px;
    }

    .platform-help-actions {
        flex-direction: column;
    }

    .platform-help-actions .button {
        width: 100%;
    }

}
/* =========================================================
   PLATFORM PAGE - COMPACT OVERRIDES
   ========================================================= */

/* Keep the dashboard from stretching across the whole monitor */
.platform-status-page .container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}


/* HERO */

.platform-status-hero {
    padding: 24px 0 22px;
}

.status-breadcrumbs {
    margin-bottom: 18px;
    font-size: 11px;
}

.platform-status-heading {
    gap: 18px;
}

.platform-status-heading-main {
    gap: 14px;
}

.platform-status-logo {
    width: 60px;
    height: 60px;
    flex-basis: 60px;
}

.platform-status-letter {
    font-size: 25px;
}

.platform-status-heading h1 {
    margin: 3px 0;
    font-size: 28px;
}

.platform-status-heading p {
    font-size: 11px;
}

.eyebrow {
    font-size: 9px;
}


/* MAIN CONTENT */

.platform-status-content {
    padding: 22px 0 45px;
}


/* OVERALL STATUS */

.platform-overall-status {
    padding: 17px 19px;
    gap: 20px;
}

.platform-status-indicator {
    gap: 11px;
}

.platform-status-dot {
    width: 10px;
    height: 10px;
    flex-basis: 10px;
}

.platform-status-indicator > div > span {
    font-size: 9px;
}

.platform-status-indicator h2 {
    font-size: 19px;
}

.platform-overall-status p {
    font-size: 11px;
    line-height: 1.45;
}

.platform-last-check {
    margin-top: 4px;
    font-size: 9px;
}


/* METRICS */

.platform-metric-grid {
    gap: 10px;
    margin-top: 12px;
}

.platform-metric-card {
    min-height: 92px;
    padding: 14px 15px;
}

.platform-metric-card > span {
    font-size: 9px;
}

.platform-metric-card strong {
    margin: 8px 0 4px;
    font-size: 17px;
}

.platform-metric-card small {
    font-size: 9px;
}


/* NORMAL PANELS */

.platform-detail-section {
    margin-top: 14px;
    padding: 16px;
}

.section-heading-row {
    gap: 15px;
    margin-bottom: 13px;
}

.section-heading-row h2 {
    margin-top: 3px;
    font-size: 17px;
}

.section-subtitle {
    margin-top: 4px;
    font-size: 10px;
}


/* SERVICE HEALTH */

.component-summary {
    padding: 5px 8px;
    font-size: 9px;
}

.platform-component-row {
    min-height: 50px;
    padding: 10px 12px;
    gap: 15px;
}

.platform-component-main {
    gap: 9px;
}

.platform-component-dot {
    width: 7px;
    height: 7px;
    flex-basis: 7px;
}

.platform-component-main strong {
    font-size: 11px;
}

.platform-component-main small {
    margin-top: 2px;
    font-size: 8px;
}

.platform-component-right strong {
    font-size: 9px;
}

.component-stale {
    padding: 3px 5px;
    font-size: 7px;
}


/* FRESH CHECK INFO */

.platform-component-confidence {
    gap: 25px;
    margin-top: 8px;
    padding: 9px 11px;
}

.platform-component-confidence span {
    font-size: 8px;
}

.platform-component-confidence strong {
    font-size: 9px;
}

.platform-data-notice {
    margin-top: 8px;
    padding: 9px 11px;
    font-size: 9px;
}


/* LOWER COLUMNS */

.platform-two-column {
    grid-template-columns:
        minmax(0, 1.45fr)
        minmax(280px, .75fr);

    gap: 14px;
}


/* GAMES */

.platform-game-row {
    min-height: 48px;
    padding: 10px 12px;
}

.platform-game-row strong {
    font-size: 11px;
}

.platform-game-row small {
    margin-top: 2px;
    font-size: 8px;
}

.platform-game-status {
    font-size: 9px;
}


/* COMMON ISSUES */

.platform-issue-row {
    min-height: 45px;
    padding: 9px 12px;
}

.platform-issue-row span {
    font-size: 10px;
}

.platform-issue-row strong {
    font-size: 11px;
}


/* EMPTY AREAS */

.platform-empty-box {
    min-height: 100px;
    padding: 16px;
    font-size: 10px;
}


/* ANALYSIS */

.platform-analysis-text {
    font-size: 10px;
    line-height: 1.6;
}

.platform-trouble-list {
    margin-bottom: 12px;
    padding-left: 18px;
    font-size: 9px;
    line-height: 1.65;
}


/* INCIDENTS */

.platform-incident-card {
    padding: 12px;
}

.platform-incident-card h3 {
    font-size: 13px;
}

.incident-severity,
.incident-status-label {
    font-size: 8px;
}

.platform-incident-card p {
    font-size: 10px;
}

.platform-incident-card small {
    font-size: 8px;
}


/* BOTTOM CTA */

.platform-help-box {
    margin-top: 14px;
    padding: 17px 18px;
    gap: 20px;
}

.platform-help-box h2 {
    margin: 3px 0 5px;
    font-size: 17px;
}

.platform-help-box p {
    font-size: 10px;
    line-height: 1.5;
}


/* BUTTONS */

.platform-status-page .button {
    min-height: 33px;
    padding: 0 13px;
    border-radius: 5px;
    font-size: 9px;
}


/* TABLET */

@media (max-width: 900px) {

    .platform-metric-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .platform-two-column {
        grid-template-columns: 1fr;
    }
}


/* MOBILE */

@media (max-width: 600px) {

    .platform-status-page .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .platform-status-heading,
    .platform-overall-status {
        align-items: flex-start;
        flex-direction: column;
    }

    .platform-overall-status p,
    .platform-last-check {
        text-align: left;
    }

    .platform-metric-grid {
        grid-template-columns: 1fr 1fr;
    }

    .platform-component-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .platform-component-right {
        width: 100%;
        justify-content: space-between;
    }

    .platform-help-box {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* SMALL MOBILE */

@media (max-width: 420px) {

    .platform-metric-grid {
        grid-template-columns: 1fr;
    }
}
/* Load after style.css. Applies to PNG, SVG and other image formats. */
.game-icon,
.platform-row-icon,
.directory-game-image,
.game-page-image,
.platform-large-icon,
.platform-page-icon,
.platform-game-thumb {
    box-sizing: border-box;
    overflow: hidden;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.game-icon img,
.platform-row-icon img,
.directory-game-image img,
.game-page-image img,
.platform-large-icon img,
.platform-page-icon img,
.platform-game-thumb img,
img.platform-status-logo {
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
}
/* A predictable panel gives wide game wordmarks room to fit. */
.directory-game-image {
    width: clamp(96px, 34%, 140px) !important;
    min-width: 0 !important;
    flex: 0 0 clamp(96px, 34%, 140px) !important;
    align-self: stretch;
    padding: 10px;
}
.directory-game-image img {
    width: 100% !important;
    height: auto !important;
    max-height: 130px !important;
    padding: 0 !important;
}
/* Platform wordmarks need a wider box than the old 48px square. */
.platform-large-icon {
    width: 88px !important;
    height: 64px !important;
    flex: 0 0 88px !important;
}
.platform-large-icon img {
    padding: 6px !important;
}
.directory-game-content,
.platform-card-heading,
.platform-game-row,
.game-page-title {
    min-width: 0;
}
.directory-game-top,
.platform-card-top {
    flex-wrap: wrap;
}
.directory-game-top h3,
.platform-card-heading h3 {
    overflow-wrap: anywhere;
}
.platform-card-heading {
    flex: 1 1 120px;
}
.games-directory-grid > *,
.platform-directory-grid > * {
    min-width: 0;
    max-width: 100%;
}
/* Avoid oversized logos in homepage and linked-game lists. */
.game-icon img,
.platform-row-icon img,
.platform-game-thumb img {
    padding: 3px !important;
}
@media (max-width: 650px) {
    .games-directory-grid,
    .platform-directory-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }
    .directory-game-image {
        width: clamp(88px, 30%, 120px) !important;
        flex-basis: clamp(88px, 30%, 120px) !important;
        padding: 8px;
    }
    .directory-game-content {
        padding: 14px;
    }
    .platform-large-icon {
        width: 80px !important;
        height: 60px !important;
        flex-basis: 80px !important;
    }
}
@media (max-width: 360px) {
    .directory-game-image {
        width: 82px !important;
        flex-basis: 82px !important;
    }
    .directory-game-content {
        padding: 10px;
    }
}

/* Keep every navigation link visible on narrow screens. */
@media (max-width: 650px) {
    .header-container {
        min-width: 0;
        padding: 16px 0 12px;
        gap: 12px;
    }
    .header-container .logo {
        min-width: 0;
        max-width: 100%;
    }
    .header-container .logo img {
        max-width: 100%;
        height: auto;
    }
    .main-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        min-width: 0;
        gap: 4px 12px;
        overflow: visible;
    }
    .main-nav a {
        min-width: 0;
        padding: 12px 4px;
        text-align: center;
        white-space: normal;
        overflow-wrap: anywhere;
        line-height: 1.4;
    }
    .main-nav a:last-child {
        grid-column: 1 / -1;
    }
    .main-nav a.active::after {
        bottom: 4px;
    }
    .footer-container {
        flex-direction: column;
        min-width: 0;
        gap: 20px;
    }
    .footer-container > * {
        min-width: 0;
        max-width: 100%;
    }
    .footer-brand {
        overflow-wrap: anywhere;
    }
    .footer-brand img {
        max-width: 100%;
        height: auto;
    }
    .footer-links {
        width: 100%;
        min-width: 0;
        gap: 8px 18px;
        align-items: flex-start;
    }
    .footer-links a {
        max-width: 100%;
        padding: 8px 0;
        white-space: normal;
        overflow-wrap: anywhere;
    }
    .footer-bottom {
        overflow-wrap: anywhere;
    }
}

/* Consistent spacing on the homepage and game detail pages. */
.page-container > .hero {
    margin-top: 28px;
    margin-bottom: 36px;
}
.game-bottom-grid {
    margin-bottom: 24px;
}
.game-panel.game-updates-panel {
    margin-top: 0;
    margin-bottom: 36px;
}
.footer-container {
    align-items: center;
}
.footer-brand {
    min-width: 0;
    flex: 1 1 420px;
}
.footer-brand > a {
    display: inline-block;
    max-width: 100%;
}
.footer-wordmark {
    display: block;
    width: 220px;
    max-width: 100%;
    height: auto;
}
.footer-brand p {
    max-width: 580px;
    line-height: 1.6;
}
.footer-links {
    justify-content: flex-end;
}
@media (max-width: 650px) {
    .page-container > .hero {
        margin-top: 20px;
        margin-bottom: 28px;
    }
    .footer-container {
        align-items: flex-start;
    }
    .footer-brand {
        flex: 0 1 auto;
    }
    .footer-links {
        justify-content: flex-start;
    }
}

/* Header wordmark: preserve artwork proportions; crop the PNG's black margins. */
.site-header .header-container .logo {
    flex: 0 0 auto;
    width: 280px;
    max-width: 100%;
    min-width: 0;
}
.site-header .header-container .logo img.logo-wordmark {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 48px;
    object-fit: cover;
    object-position: center;
}
