:root {
    --gh-h: 36px;
    --gh-off: 36px;
    --gh-accent: #f29b38;
}

.gh {
    position: relative;
    z-index: 1000;
    height: var(--gh-h);
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.4;
    color: #e6ebf0;
    text-align: left;
    text-shadow: none;
}
.gh *,
.gh *::before,
.gh *::after {
    box-sizing: border-box;
    text-shadow: none;
}
.gh [hidden] {
    display: none !important;
}

.gh-bar {
    position: relative;
    z-index: 3;
    height: var(--gh-h);
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: #000;
    border-bottom: 1px solid #1f242a;
}
.gh-mark {
    display: inline-flex;
    color: #c9d1da;
}
.gh .gh-toggle {
    height: var(--gh-h);
    margin: 0;
    padding: 0 4px;
    border: 0;
    background: none;
    color: #fff;
    font: inherit;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}
.gh-toggle:hover,
.gh.is-open .gh-toggle {
    color: var(--gh-accent);
}
.gh-toggle:focus-visible,
.gh-tab:focus-visible,
.gh-panel a:focus-visible {
    outline: 2px solid var(--gh-accent);
    outline-offset: 2px;
}
.gh-chevron {
    transition: transform 0.2s;
}
.gh.is-open .gh-chevron {
    transform: rotate(180deg);
}

.gh-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.5);
}

.gh-panel {
    position: absolute;
    top: var(--gh-h);
    left: 0;
    right: 0;
    z-index: 2;
    max-height: calc(100vh - var(--gh-h));
    overflow-y: auto;
    background: #14181d;
    border-bottom: 1px solid #262c33;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
    animation: ghDrop 0.18s ease-out;
}
@keyframes ghDrop {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.gh-tabs {
    display: flex;
    justify-content: center;
    gap: 48px;
    padding: 22px 16px;
    border-bottom: 1px solid #222830;
}
.gh .gh-tab {
    min-width: 150px;
    min-height: 44px;
    margin: 0;
    padding: 8px;
    border: 0;
    background: none;
    color: #b7c0ca;
    font: inherit;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: color 0.2s;
}
.gh-tab:hover {
    color: #fff;
}
.gh-tab.is-active {
    color: var(--gh-accent);
}
.gh-tab__logo {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    filter: saturate(0.6);
    transition: opacity 0.2s, filter 0.2s;
}
.gh-tab:hover .gh-tab__logo,
.gh-tab.is-active .gh-tab__logo {
    opacity: 1;
    filter: none;
}
.gh-tab__logo img {
    display: block;
    max-height: 64px;
    width: auto;
}
.gh-tab__logo--cs img {
    width: 64px;
    height: 64px;
    border-radius: 15px;
}
.gh-tab__name {
    padding-bottom: 6px;
    border-bottom: 2px solid transparent;
}
.gh-tab.is-active .gh-tab__name {
    border-bottom-color: var(--gh-accent);
}

.gh-card {
    display: grid;
    grid-template-columns: minmax(0, 520px) minmax(0, 1fr) 280px;
    min-height: 280px;
}
.gh-cover {
    position: relative;
    min-height: 280px;
    background-color: #0d1014;
    background-size: cover;
    background-position: center;
}
.gh-cover--cs {
    background-image: url(cs.webp);
}
.gh-cover--dr {
    background-image: url(dr.webp);
}
.gh-cover__logo {
    display: block;
    height: 72px;
    width: auto;
}
.gh-cover__title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 40px 24px 16px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.gh-info {
    padding: 36px 40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.gh-heading {
    color: var(--gh-accent);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.gh .gh-text {
    margin: 0;
    text-indent: 0;
    max-width: 480px;
    color: #d4dbe2;
    font-size: 15px;
    line-height: 1.6;
}
.gh-platform {
    color: #8f9aa6;
    font-size: 13px;
}
.gh .gh-play,
.gh .gh-play:link,
.gh .gh-play:visited {
    align-self: flex-start;
    margin-top: 6px;
    min-height: 44px;
    padding: 0 28px;
    display: inline-flex;
    align-items: center;
    border-radius: 3px;
    background: var(--gh-accent);
    color: #1a1205;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
}
.gh .gh-play:hover {
    background: #ffb35a;
    color: #1a1205;
}
.gh-links {
    padding: 36px 32px;
    border-left: 1px solid #222830;
}
.gh-links ul {
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}
.gh-links li {
    margin: 0;
    padding: 0;
}
.gh .gh-links a,
.gh .gh-links a:link,
.gh .gh-links a:visited {
    display: inline-block;
    padding: 6px 0;
    color: #c9d1da;
    font-size: 15px;
    text-decoration: none;
}
.gh .gh-links a::before {
    content: '\00b7\00a0';
}
.gh .gh-links a:hover {
    color: #fff;
}

.v3-page--home .v3-header,
.v3-route-download .v3-header {
    top: var(--gh-off);
}

@media (max-width: 1024px) {
    .gh-card {
        grid-template-columns: minmax(0, 1fr) 240px;
    }
    .gh-cover {
        display: none;
    }
}
@media (max-width: 640px) {
    .gh-bar {
        padding: 0 12px;
    }
    .gh-tabs {
        gap: 8px;
        padding: 12px;
    }
    .gh .gh-tab {
        min-width: 0;
        flex: 1 1 0;
        font-size: 14px;
    }
    .gh-tab__logo {
        height: 44px;
    }
    .gh-tab__logo img {
        max-height: 44px;
        max-width: 100%;
    }
    .gh-tab__logo--cs img {
        width: 44px;
        height: 44px;
        border-radius: 10px;
    }
    .gh-card {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
    }
    .gh-info {
        padding: 20px 16px 8px;
    }
    .gh-links {
        padding: 8px 16px 20px;
        border-left: 0;
    }
}
