* {
    box-sizing: border-box;
}

/* Shared questionnaire modal: keep the shell below the sticky Gamer header. */
#questionnaire-modal {
    z-index: 100;
}

#questionnaire-modal .questionnaire-modal__viewport {
    padding: 7.75rem 0.75rem 0.75rem;
}

#questionnaire-modal .questionnaire-modal__align {
    align-items: flex-start;
}

#questionnaire-modal #questionnaire-modal-shell {
    height: calc(100vh - 8.5rem);
    min-height: 24rem;
}

@media (max-width: 640px) {
    #questionnaire-modal .questionnaire-modal__viewport {
        padding-top: 6.25rem;
    }

    #questionnaire-modal #questionnaire-modal-shell {
        height: calc(100vh - 7rem);
        min-height: 22rem;
    }
}

/* Gamer game-discovery pages */
.gamer-discovery {
    --gamer-bg: #030714;
    --gamer-panel: rgba(9, 16, 38, 0.82);
    --gamer-panel-strong: rgba(12, 22, 52, 0.94);
    --gamer-border: rgba(0, 213, 255, 0.2);
    --gamer-cyan: #00d5ff;
    --gamer-violet: #9d4edd;
    --gamer-green: #32ff7e;
    --gamer-red: #ff4d6d;
    --gamer-text: #f6fbff;
    --gamer-muted: #8da2cb;
    --gamer-soft: #526489;
    --gamer-accent: var(--gamer-cyan);
    --gamer-accent-2: var(--gamer-violet);
    color: var(--gamer-text);
    position: relative;
    max-width: 1480px;
    margin: 0 auto;
    padding: 1.25rem 1rem 3.5rem;
}

.gamer-discovery--green {
    --gamer-accent: var(--gamer-green);
    --gamer-accent-2: var(--gamer-cyan);
}

.gamer-discovery--red {
    --gamer-accent: var(--gamer-red);
    --gamer-accent-2: var(--gamer-violet);
}

.gamer-discovery--violet {
    --gamer-accent: var(--gamer-violet);
    --gamer-accent-2: var(--gamer-cyan);
}

.gamer-discovery::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 72% 12%, rgba(0, 213, 255, 0.16), transparent 28rem),
        radial-gradient(circle at 20% 25%, rgba(157, 78, 221, 0.18), transparent 30rem),
        linear-gradient(180deg, #050a19 0%, var(--gamer-bg) 48%, #02040b 100%);
}

.gamer-discovery .hidden {
    display: none !important;
}

.gamer-discovery-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 31rem);
    gap: 2rem;
    align-items: stretch;
    min-height: 15rem;
    margin-bottom: 1.5rem;
}

.gamer-discovery-hero__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.gamer-discovery-hero__copy > p {
    margin: 0 0 0.75rem;
    color: var(--gamer-accent);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.gamer-discovery-hero__copy h1 {
    max-width: 58rem;
    margin: 0;
    color: var(--gamer-text);
    font-size: clamp(2.15rem, 5vw, 4.25rem);
    font-weight: 950;
    line-height: 0.95;
}

.gamer-discovery-hero__copy h1::first-letter {
    color: var(--gamer-accent);
}

.gamer-discovery-hero__copy > span,
.gamer-discovery-hero__seo {
    max-width: 58rem;
    margin-top: 1.25rem;
    color: #c2d0ee;
    font-size: 1rem;
    line-height: 1.7;
}

.gamer-discovery-hero__seo {
    padding: 1.25rem;
    border: 1px solid rgba(0, 213, 255, 0.18);
    border-radius: 0.75rem;
    background: rgba(3, 8, 22, 0.58);
}

.gamer-discovery-hero__squad {
    min-height: 15rem;
    border: 1px solid rgba(0, 213, 255, 0.16);
    border-radius: 1rem;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(3, 7, 20, 0.32), rgba(3, 7, 20, 0.05)),
        url("../images/themes/gamer-hero.png") center / cover no-repeat;
    box-shadow: 0 0 40px rgba(0, 213, 255, 0.08);
}

.gamer-discovery-hero__squad > div {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    padding: 1rem;
    background: linear-gradient(180deg, transparent, rgba(2, 4, 12, 0.86));
}

.gamer-discovery-hero__squad span {
    width: 2.2rem;
    height: 0.25rem;
    margin-bottom: 0.65rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--gamer-accent), var(--gamer-accent-2));
}

.gamer-discovery-hero__squad strong {
    font-size: 1.4rem;
    letter-spacing: 0.04em;
}

.gamer-discovery-hero__squad small {
    color: var(--gamer-muted);
    font-size: 0.8rem;
}

.gamer-discovery-layout {
    display: grid;
    grid-template-columns: minmax(14rem, 20rem) minmax(0, 1fr) minmax(14rem, 18rem);
    gap: 1rem;
    align-items: start;
}

.gamer-discovery-sidebar {
    position: sticky;
    top: 5.5rem;
}

.gamer-discovery-filters,
.gamer-discovery-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.gamer-discovery-filters,
.gamer-discovery-panel,
.gamer-discovery-results__bar,
.gamer-discovery-card,
.gamer-discovery-random,
.gamer-discovery-empty {
    border: 1px solid var(--gamer-border);
    border-radius: 0.8rem;
    background: linear-gradient(180deg, rgba(10, 18, 42, 0.9), rgba(5, 10, 25, 0.86));
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.gamer-discovery-filters,
.gamer-discovery-panel,
.gamer-discovery-random {
    padding: 0.95rem;
}

.gamer-discovery-panel__head,
.gamer-discovery-results__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.gamer-discovery-panel__head strong,
.gamer-discovery-results__bar span:first-child {
    font-size: 0.8rem;
    font-weight: 850;
}

.gamer-discovery-panel__head span,
.gamer-discovery-results__bar span:last-child {
    color: var(--gamer-accent);
    font-size: 0.7rem;
    font-weight: 800;
}

.gamer-discovery-filter {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-top: 0.8rem;
}

.gamer-discovery-filter label,
.gamer-discovery-filter > span {
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 800;
}

.gamer-discovery-search {
    position: relative;
}

.gamer-discovery-search input,
.gamer-discovery-search-trigger,
.gamer-discovery-filter--disabled button,
.gamer-discovery-playtime input {
    width: 100%;
    min-height: 2.55rem;
    padding: 0.7rem 2.3rem 0.7rem 0.85rem;
    border: 1px solid rgba(0, 213, 255, 0.16);
    border-radius: 0.55rem;
    background: rgba(4, 10, 24, 0.78);
    color: var(--gamer-text);
    outline: none;
}

.gamer-discovery-search-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    cursor: pointer;
}

.gamer-discovery-search input:focus,
.gamer-discovery-search-trigger:focus,
.gamer-discovery-playtime input:focus {
    border-color: var(--gamer-accent);
    box-shadow: 0 0 0 3px rgba(0, 213, 255, 0.12);
}

.gamer-discovery-search > i,
.gamer-discovery-search-trigger i {
    position: absolute;
    top: 0.82rem;
    right: 0.85rem;
    color: var(--gamer-muted);
}

.gamer-discovery-search-trigger i {
    position: static;
}

.gamer-discovery-spinner,
.gamer-discovery-loader span:first-child {
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-bottom-color: var(--gamer-accent);
    border-radius: 999px;
    animation: spin 0.8s linear infinite;
}

.gamer-discovery-spinner {
    position: absolute;
    top: 0.74rem;
    right: 2.2rem;
    width: 1rem;
    height: 1rem;
}

.gamer-discovery-search-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(1, 5, 16, 0.78);
    backdrop-filter: blur(18px);
}

.gamer-discovery-search-modal__panel {
    width: min(58rem, 100%);
    max-height: min(44rem, calc(100vh - 3rem));
    overflow: hidden;
    border: 1px solid rgba(0, 213, 255, 0.24);
    border-radius: 0.9rem;
    background:
        linear-gradient(135deg, rgba(0, 213, 255, 0.08), transparent 35%),
        linear-gradient(180deg, rgba(12, 22, 52, 0.98), rgba(4, 9, 24, 0.98));
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.72), 0 0 42px rgba(0, 213, 255, 0.12);
}

.gamer-discovery-search-modal__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.1rem 0.85rem;
}

.gamer-discovery-search-modal__head span {
    color: var(--gamer-accent);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.gamer-discovery-search-modal__head h2 {
    margin: 0.1rem 0 0;
    font-size: 1.55rem;
    font-weight: 950;
}

.gamer-discovery-search-modal__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid rgba(0, 213, 255, 0.18);
    border-radius: 0.55rem;
    color: var(--gamer-text);
    background: rgba(3, 8, 22, 0.72);
}

.gamer-discovery-search-modal__field {
    position: relative;
    margin: 0 1.1rem 1rem;
}

.gamer-discovery-search-modal__field input {
    width: 100%;
    min-height: 3rem;
    padding: 0.85rem 3.2rem 0.85rem 1rem;
    border: 1px solid rgba(0, 213, 255, 0.22);
    border-radius: 0.7rem;
    background: rgba(2, 7, 18, 0.82);
    color: var(--gamer-text);
    outline: none;
}

.gamer-discovery-search-modal__field > i {
    position: absolute;
    top: 0.95rem;
    right: 1rem;
    color: var(--gamer-muted);
}

.gamer-discovery-search-modal__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0 1.1rem 1rem;
}

.gamer-discovery-search-modal__actions button {
    min-height: 2.25rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid rgba(0, 213, 255, 0.18);
    border-radius: 0.5rem;
    color: var(--gamer-muted);
    background: rgba(3, 8, 22, 0.72);
    font-size: 0.75rem;
    font-weight: 850;
}

.gamer-discovery-search-modal__actions button.is-active,
.gamer-discovery-search-modal__actions button:hover {
    color: #ffffff;
    border-color: transparent;
    background: linear-gradient(135deg, #15bfff, #9c35ff);
}

.gamer-discovery-search-modal__body {
    max-height: 30rem;
    overflow: auto;
    padding: 0 1.1rem 1.1rem;
}

.gamer-discovery-search-modal__body > div {
    padding: 1.4rem;
    color: var(--gamer-muted);
    text-align: center;
}

.gamer-discovery-search-modal__body ul {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
}

.gamer-discovery-search-tile {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(0, 213, 255, 0.14);
    border-radius: 0.75rem;
    background: rgba(3, 8, 22, 0.78);
    cursor: pointer;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.gamer-discovery-search-tile:hover,
.gamer-discovery-search-tile[aria-selected="true"] {
    transform: translateY(-1px);
    border-color: var(--gamer-accent);
    background: rgba(0, 213, 255, 0.09);
}

.gamer-discovery-search-tile__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: rgba(0, 213, 255, 0.08);
}

.gamer-discovery-search-tile__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gamer-discovery-search-tile__fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0.5rem;
    color: var(--gamer-soft);
    font-size: 0.75rem;
    text-align: center;
}

.gamer-discovery-search-tile__copy {
    padding: 0.75rem;
}

.gamer-discovery-search-tile__title {
    overflow: hidden;
    color: var(--gamer-text);
    font-size: 0.88rem;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gamer-discovery-search-tile__description {
    display: -webkit-box;
    margin-top: 0.35rem;
    overflow: hidden;
    color: var(--gamer-muted);
    font-size: 0.72rem;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.gamer-discovery-playtime {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.45rem;
}

.gamer-discovery-playtime input {
    padding-right: 0.85rem;
}

.gamer-discovery-playtime button {
    padding: 0 0.75rem;
    border: 0;
    border-radius: 0.55rem;
    color: #02101a;
    background: linear-gradient(135deg, var(--gamer-accent), var(--gamer-accent-2));
    font-size: 0.75rem;
    font-weight: 900;
}

.gamer-discovery-filter__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.gamer-discovery-filter__chips a,
.gamer-discovery-filter__chips button {
    padding: 0.55rem 0.7rem;
    border: 1px solid rgba(0, 213, 255, 0.16);
    border-radius: 0.55rem;
    color: var(--gamer-muted);
    background: rgba(7, 15, 35, 0.56);
    font-size: 0.75rem;
    font-weight: 800;
}

.gamer-discovery-filter__chips a.is-active,
.gamer-discovery-filter__chips a:hover {
    color: #02101a;
    border-color: transparent;
    background: linear-gradient(135deg, var(--gamer-accent), var(--gamer-accent-2));
}

.gamer-discovery-filter__chips button {
    cursor: not-allowed;
}

.gamer-discovery-multiselect {
    position: relative;
}

.gamer-discovery-multiselect summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 2.7rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid rgba(0, 213, 255, 0.18);
    border-radius: 0.55rem;
    color: var(--gamer-soft);
    background: rgba(7, 15, 35, 0.56);
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 800;
    list-style: none;
}

.gamer-discovery-multiselect summary::-webkit-details-marker {
    display: none;
}

.gamer-discovery-multiselect[open] summary {
    border-color: rgba(0, 213, 255, 0.5);
}

.gamer-discovery-multiselect__menu {
    display: grid;
    gap: 0.4rem;
    margin-top: 0.5rem;
    max-height: 15rem;
    overflow-y: auto;
    padding: 0.55rem;
    border: 1px solid rgba(0, 213, 255, 0.16);
    border-radius: 0.55rem;
    background: rgba(6, 12, 28, 0.92);
}

.gamer-discovery-multiselect__menu label {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 2.05rem;
    color: var(--gamer-muted);
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 800;
}

.gamer-discovery-multiselect__menu input {
    accent-color: var(--gamer-accent);
    cursor: pointer;
}

.gamer-discovery-filter--disabled button {
    color: var(--gamer-soft);
    cursor: not-allowed;
}

.gamer-discovery-required-toggle button {
    width: 100%;
    min-height: 2.45rem;
    padding: 0.58rem 0.75rem;
    border: 1px solid rgba(0, 213, 255, 0.18);
    border-radius: 0.55rem;
    color: var(--gamer-muted);
    background: rgba(7, 15, 35, 0.56);
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 900;
    text-align: center;
}

.gamer-discovery-required-toggle button.is-active,
.gamer-discovery-required-toggle button:hover {
    color: #ffffff;
    border-color: transparent;
    background: linear-gradient(135deg, #15bfff, #9c35ff);
    box-shadow: 0 0 18px rgba(157, 78, 221, 0.28);
}

.gamer-discovery-tip {
    margin-top: 1rem;
    padding: 0.85rem;
    border: 1px solid rgba(157, 78, 221, 0.28);
    border-radius: 0.7rem;
    background: rgba(74, 24, 128, 0.16);
}

.gamer-discovery-tip i,
.gamer-discovery-tip strong {
    color: var(--gamer-accent);
}

.gamer-discovery-tip p,
.gamer-discovery-panel p,
.gamer-discovery-empty p {
    color: var(--gamer-muted);
    font-size: 0.78rem;
    line-height: 1.45;
}

.gamer-discovery-results {
    min-width: 0;
}

.gamer-discovery-results__bar {
    margin-bottom: 0.85rem;
    padding: 0.85rem 1rem;
}

.gamer-discovery-results__list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.gamer-discovery-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
    padding: 0.75rem;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.gamer-discovery-card:hover {
    border-color: color-mix(in srgb, var(--gamer-accent) 58%, transparent);
    box-shadow: 0 0 34px color-mix(in srgb, var(--gamer-accent) 18%, transparent);
    transform: translateY(-1px);
}

.gamer-discovery-card__main {
    position: relative;
    display: grid;
    grid-template-columns: minmax(10rem, 15rem) minmax(0, 1fr);
    gap: 0.9rem;
    min-width: 0;
}

.gamer-discovery-card__image-link {
    display: block;
    min-width: 0;
}

.gamer-discovery-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border: 1px solid rgba(0, 213, 255, 0.16);
    border-radius: 0.65rem;
    background: rgba(3, 8, 20, 0.9);
}

.gamer-discovery-card__media img,
.gamer-discovery-card__shade,
.gamer-discovery-card__fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.gamer-discovery-card__media img {
    object-fit: cover;
    transition: transform 260ms ease;
}

.gamer-discovery-card:hover .gamer-discovery-card__media img {
    transform: scale(1.04);
}

.gamer-discovery-card__shade {
    background: linear-gradient(180deg, transparent 35%, rgba(3, 7, 18, 0.92));
}

.gamer-discovery-card__fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gamer-soft);
}

.gamer-discovery-card__badge,
.gamer-discovery-card__owned {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    font-size: 0.64rem;
    font-weight: 900;
    text-transform: uppercase;
}

.gamer-discovery-card__badge {
    right: 0.55rem;
    bottom: 0.55rem;
    padding: 0.32rem 0.55rem;
    color: #020617;
    background: linear-gradient(135deg, var(--gamer-accent), var(--gamer-accent-2));
}

.gamer-discovery-card__owned {
    top: 0.4rem;
    left: 0.4rem;
    padding: 0.3rem 0.5rem;
    color: var(--gamer-text);
    background: rgba(47, 128, 255, 0.82);
}

.gamer-discovery-card__body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.gamer-discovery-card__body p {
    margin: 0;
    color: var(--gamer-accent);
    font-size: 0.68rem;
    font-weight: 850;
    text-transform: uppercase;
}

.gamer-discovery-card__body h2 {
    margin: 0.15rem 0 0.7rem;
    overflow-wrap: anywhere;
    font-size: 1.35rem;
    font-weight: 900;
}

.gamer-discovery-card__tags,
.gamer-discovery-profile__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.gamer-discovery-card__tags {
    margin-bottom: 0.8rem;
}

.gamer-discovery-card__tags span,
.gamer-discovery-profile__meta span {
    padding: 0.3rem 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 999px;
    color: var(--gamer-muted);
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.7rem;
}

.gamer-discovery-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: fit-content;
    margin-top: auto;
    padding: 0.7rem 1rem;
    border-radius: 0.55rem;
    color: #020617;
    background: linear-gradient(135deg, var(--gamer-accent), var(--gamer-accent-2));
    font-size: 0.78rem;
    font-weight: 900;
}

.gamer-discovery-carousel {
    border: 1px solid rgba(0, 213, 255, 0.12);
    border-radius: 0.65rem;
    background: rgba(2, 7, 18, 0.58);
}

.gamer-discovery-carousel__head,
.gamer-discovery-carousel__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.55rem 0.65rem;
}

.gamer-discovery-carousel__head span {
    color: var(--gamer-muted);
    font-size: 0.75rem;
    font-weight: 850;
}

.gamer-discovery-carousel__head div,
.gamer-discovery-carousel__footer div,
.gamer-discovery-profile__actions {
    display: flex;
    gap: 0.35rem;
}

.gamer-discovery-carousel button,
.gamer-discovery-profile__actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.65rem;
    min-height: 1.65rem;
    border: 1px solid rgba(0, 213, 255, 0.14);
    border-radius: 0.45rem;
    color: var(--gamer-muted);
    background: rgba(10, 18, 42, 0.72);
}

.gamer-discovery-carousel__slides {
    min-height: 10.8rem;
    padding: 0 0.65rem 0.65rem;
}

.gamer-discovery-profile {
    position: relative;
    padding: 0.75rem;
    border: 1px solid rgba(157, 78, 221, 0.18);
    border-radius: 0.65rem;
    background: rgba(8, 14, 32, 0.78);
}

.gamer-discovery-profile__badge {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    padding: 0.28rem 0.5rem;
    border-radius: 999px;
    color: #020617;
    background: linear-gradient(135deg, var(--gamer-accent), var(--gamer-accent-2));
    font-size: 0.62rem;
    font-weight: 900;
    text-transform: uppercase;
}

.gamer-discovery-profile__head {
    display: flex;
    gap: 0.65rem;
    min-width: 0;
}

.gamer-discovery-profile__avatar {
    display: flex;
    flex: 0 0 2.75rem;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    overflow: hidden;
    border: 1px solid rgba(0, 213, 255, 0.18);
    border-radius: 999px;
    color: var(--gamer-accent);
    background: rgba(0, 213, 255, 0.08);
}

.gamer-discovery-profile__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gamer-discovery-profile__copy {
    min-width: 0;
}

.gamer-discovery-profile__copy strong {
    display: block;
    overflow: hidden;
    color: var(--gamer-text);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gamer-discovery-profile__copy span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--gamer-green);
    font-size: 0.7rem;
    font-weight: 850;
}

.gamer-discovery-profile__copy i {
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 999px;
    background: var(--gamer-green);
    box-shadow: 0 0 10px rgba(50, 255, 126, 0.72);
}

.gamer-discovery-profile__note {
    display: -webkit-box;
    width: 100%;
    min-height: 2.65rem;
    margin: 0.75rem 0;
    padding: 0;
    border: 0;
    overflow: hidden;
    color: var(--gamer-muted);
    background: transparent;
    font-size: 0.78rem;
    line-height: 1.45;
    text-align: left;
    cursor: pointer;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.gamer-discovery-profile__note.is-expanded {
    display: block;
    max-height: none;
    overflow: visible;
    -webkit-line-clamp: unset;
}

.gamer-discovery-profile__actions {
    margin-top: 0.75rem;
}

.gamer-discovery-profile__actions button {
    flex: 1;
    padding: 0.55rem 0.8rem;
    border: 1px solid rgba(0, 213, 255, 0.16);
    border-radius: 0.5rem;
    color: var(--gamer-accent);
    background: rgba(0, 213, 255, 0.08);
    font-size: 0.76rem;
    font-weight: 850;
}

.gamer-discovery-carousel__footer button {
    min-width: 0.45rem;
    min-height: 0.45rem;
    width: 0.45rem;
    height: 0.45rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
}

.gamer-discovery-carousel__footer button[data-carousel-active="true"] {
    background: var(--gamer-accent);
}

.gamer-discovery-carousel__footer span {
    color: var(--gamer-soft);
    font-size: 0.67rem;
}

.gamer-discovery-carousel__empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 9rem;
    color: var(--gamer-soft);
    font-size: 0.78rem;
}

.gamer-discovery-panel p {
    margin: 0.7rem 0 0;
}

.gamer-discovery-online-list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-top: 0.75rem;
}

.gamer-discovery-online-list a {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr) auto;
    gap: 0.6rem;
    align-items: center;
    padding: 0.55rem;
    border: 1px solid rgba(0, 213, 255, 0.14);
    border-radius: 0.6rem;
    background: rgba(3, 8, 22, 0.62);
}

.gamer-discovery-online-list span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    overflow: hidden;
    border-radius: 999px;
    color: var(--gamer-accent);
    background: rgba(0, 213, 255, 0.1);
}

.gamer-discovery-online-list img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gamer-discovery-online-list strong {
    overflow: hidden;
    color: var(--gamer-text);
    font-size: 0.82rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gamer-discovery-online-list a > i {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: var(--gamer-green);
    box-shadow: 0 0 10px rgba(50, 255, 126, 0.72);
}

.gamer-discovery-panel button,
.gamer-discovery-panel--cta button {
    width: 100%;
    margin-top: 0.85rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid rgba(157, 78, 221, 0.26);
    border-radius: 0.5rem;
    color: var(--gamer-soft);
    background: rgba(157, 78, 221, 0.12);
    cursor: not-allowed;
}

.gamer-discovery-panel--cta i {
    color: var(--gamer-accent);
    font-size: 1.35rem;
}

.gamer-discovery-panel--cta strong {
    display: block;
    margin-top: 0.6rem;
}

.gamer-discovery-loader,
.gamer-discovery-no-more,
.gamer-discovery-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
    color: var(--gamer-muted);
}

.gamer-discovery-loader span:first-child {
    width: 1.6rem;
    height: 1.6rem;
}

.gamer-discovery-empty {
    flex-direction: column;
    min-height: 18rem;
    padding: 2rem;
    text-align: center;
}

.gamer-discovery-empty i {
    color: var(--gamer-soft);
    font-size: 2rem;
}

.gamer-discovery-empty h2 {
    margin: 0;
    font-size: 1.3rem;
}

.gamer-discovery-empty p {
    margin: 0;
}

.gamer-discovery-empty a,
.gamer-discovery-pagination a {
    padding: 0.65rem 0.9rem;
    border-radius: 0.55rem;
    color: #020617;
    background: linear-gradient(135deg, var(--gamer-accent), var(--gamer-accent-2));
    font-weight: 850;
}

.gamer-discovery-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.2rem;
}

.gamer-discovery-pagination span {
    color: var(--gamer-muted);
}

.gamer-discovery-random {
    margin-top: 1.4rem;
}

@media (max-width: 1180px) {
    .gamer-discovery-hero {
        grid-template-columns: 1fr;
    }

    .gamer-discovery-layout {
        grid-template-columns: minmax(13rem, 17rem) minmax(0, 1fr);
    }

    .gamer-discovery-sidebar {
        position: static;
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .gamer-discovery {
        padding-inline: 0.75rem;
    }

    .gamer-discovery-hero__copy h1 {
        font-size: 2.35rem;
    }

    .gamer-discovery-layout,
    .gamer-discovery-sidebar {
        display: flex;
        flex-direction: column;
    }

    .gamer-discovery-filters {
        position: static;
    }

    .gamer-discovery-filters .gamer-mobile-filter-toggle {
        display: inline-flex;
    }

    .gamer-discovery-filters:not(.is-open) [data-gamer-mobile-filter-body] {
        display: none;
    }

    .gamer-discovery-filters.is-open [data-gamer-mobile-filter-body] {
        display: block;
        margin-top: 0.85rem;
    }

    .gamer-discovery-card__main {
        grid-template-columns: 1fr;
    }

    .gamer-discovery-search-modal {
        padding: 0.75rem;
    }

    .gamer-discovery-search-modal__body ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Game discovery reference redesign */
.gamer-discovery {
    --gamer-bg: #040816;
    --gamer-panel: rgba(9, 16, 35, 0.86);
    --gamer-panel-strong: rgba(12, 18, 38, 0.96);
    --gamer-border: rgba(104, 134, 194, 0.22);
    --gamer-border-hot: rgba(0, 213, 255, 0.52);
    --gamer-cyan: #00d5ff;
    --gamer-violet: #a33cff;
    --gamer-green: #71ff49;
    --gamer-orange: #ffb23f;
    --gamer-red: #ff4d6d;
    --gamer-text: #f8fbff;
    --gamer-muted: #a8b7d9;
    --gamer-soft: #647292;
    --gamer-accent: var(--gamer-cyan);
    --gamer-accent-2: var(--gamer-violet);
    max-width: 1380px;
    padding: 0 1rem 3.25rem;
}

.gamer-discovery::before {
    background:
        radial-gradient(circle at 78% 5%, rgba(157, 78, 221, 0.24), transparent 27rem),
        radial-gradient(circle at 16% 34%, rgba(0, 213, 255, 0.14), transparent 25rem),
        linear-gradient(180deg, #030612 0%, #071026 38%, #030611 100%);
}

.gamer-discovery-breadcrumbs {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #7787a9;
    font-size: 0.78rem;
    font-weight: 700;
}

.gamer-discovery-breadcrumbs a {
    color: #8b9bbf;
}

.gamer-discovery-breadcrumbs span,
.gamer-discovery-breadcrumbs i {
    color: #536382;
}

.gamer-discovery-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    min-height: 16.5rem;
    margin: 0 0 1.3rem;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 213, 255, 0.12);
    background:
        linear-gradient(90deg, rgba(4, 8, 22, 0.98) 0%, rgba(4, 8, 22, 0.86) 34%, rgba(4, 8, 22, 0.28) 62%, rgba(4, 8, 22, 0.16) 100%),
        url("../images/themes/gamer-world-map-hero.png") right center / auto 116% no-repeat;
}

.gamer-discovery-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 5rem;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(4, 8, 22, 0), #071026 92%);
}

.gamer-discovery-hero__copy {
    position: relative;
    z-index: 1;
    max-width: 45rem;
}

.gamer-discovery-hero__copy h1 {
    max-width: 45rem;
    font-size: clamp(2.45rem, 5vw, 4.15rem);
    line-height: 1.04;
    letter-spacing: 0;
    text-shadow: 0 10px 38px rgba(0, 0, 0, 0.55);
}

.gamer-discovery-hero__copy h1::first-letter {
    color: inherit;
}

.gamer-discovery-hero__copy > span {
    display: block;
    max-width: 34rem;
    margin-top: 0.95rem;
    color: #b8c5e1;
    font-size: 1.05rem;
    line-height: 1.55;
}

.gamer-discovery-hero__seo,
.gamer-discovery-hero__squad {
    display: none;
}

.gamer-discovery-layout {
    grid-template-columns: minmax(15.5rem, 18rem) minmax(0, 1fr) minmax(13.5rem, 17rem);
    gap: 1rem;
}

.gamer-discovery-filters,
.gamer-discovery-panel,
.gamer-discovery-results__bar,
.gamer-discovery-card,
.gamer-discovery-random,
.gamer-discovery-empty,
.gamer-discovery-match-panel {
    border: 1px solid var(--gamer-border);
    border-radius: 0.6rem;
    background:
        linear-gradient(180deg, rgba(17, 25, 49, 0.9), rgba(7, 13, 29, 0.92)),
        radial-gradient(circle at top left, rgba(0, 213, 255, 0.08), transparent 18rem);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.gamer-discovery-filters,
.gamer-discovery-panel,
.gamer-discovery-random {
    padding: 0.9rem;
}

.gamer-discovery-panel__head strong,
.gamer-discovery-results__bar span:first-child {
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 900;
}

.gamer-discovery-panel__head a,
.gamer-discovery-panel__head span,
.gamer-discovery-results__bar span:last-child {
    color: var(--gamer-muted);
    font-size: 0.72rem;
    font-weight: 800;
}

.gamer-discovery-panel__head span i {
    display: inline-block;
    width: 0.42rem;
    height: 0.42rem;
    margin-right: 0.35rem;
    border-radius: 999px;
    background: var(--gamer-green);
    box-shadow: 0 0 12px rgba(113, 255, 73, 0.82);
}

.gamer-discovery-filter {
    gap: 0.42rem;
    margin-top: 0.9rem;
}

.gamer-mobile-filter-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    min-height: 2.65rem;
    border: 1px solid rgba(0, 213, 255, 0.5);
    border-radius: 0.5rem;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(0, 213, 255, 0.22), rgba(163, 60, 255, 0.24));
    font-size: 0.83rem;
    font-weight: 900;
}

.gamer-mobile-filter-body {
    display: block;
}

.gamer-discovery-filter label,
.gamer-discovery-filter > span {
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 850;
}

.gamer-discovery-select-trigger,
.gamer-discovery-filter--disabled button,
.gamer-discovery-playtime input {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 2.55rem;
    padding: 0.62rem 0.7rem;
    border: 1px solid rgba(104, 134, 194, 0.24);
    border-radius: 0.42rem;
    color: #dfe8ff;
    background: rgba(8, 15, 34, 0.82);
}

.gamer-discovery-select-trigger span,
.gamer-discovery-filter--disabled button {
    gap: 0.55rem;
}

.gamer-discovery-select-trigger i:first-child,
.gamer-discovery-filter--disabled i {
    color: var(--gamer-accent);
}

.gamer-discovery-select-trigger strong {
    overflow: hidden;
    color: inherit;
    font: inherit;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gamer-discovery-select-trigger__icon {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 0.3rem;
    object-fit: cover;
}

.gamer-discovery-filter__chips {
    gap: 0.42rem;
}

.gamer-discovery-filter__chips a,
.gamer-discovery-filter__chips button {
    border-radius: 0.42rem;
    color: #b8c5df;
    background: rgba(6, 12, 28, 0.72);
}

.gamer-discovery-filter__chips a.is-active,
.gamer-discovery-filter__chips a:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #15bfff, #9c35ff);
    box-shadow: 0 0 18px rgba(157, 78, 221, 0.28);
}

.gamer-discovery-filter__chips button {
    cursor: not-allowed;
}

.gamer-discovery-multiselect summary {
    border-radius: 0.42rem;
    color: #d8e1f4;
    background: rgba(6, 12, 28, 0.72);
}

.gamer-discovery-multiselect__menu {
    border-radius: 0.42rem;
    background: rgba(4, 9, 22, 0.96);
}

.gamer-discovery-filter--toggles label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    color: #c3d0ed;
    font-size: 0.78rem;
}

.gamer-discovery-filter--toggles i {
    position: relative;
    width: 2rem;
    height: 1.1rem;
    border-radius: 999px;
    background: #29344b;
}

.gamer-discovery-filter--toggles i::after {
    content: "";
    position: absolute;
    top: 0.16rem;
    left: 0.16rem;
    width: 0.78rem;
    height: 0.78rem;
    border-radius: 999px;
    background: #aab5cd;
}

.gamer-discovery-filter--toggles i.is-on {
    background: linear-gradient(135deg, #1fc3ff, #a33cff);
}

.gamer-discovery-filter--toggles i.is-on::after {
    left: 1.05rem;
    background: #ffffff;
}

.gamer-discovery-filter__submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 0.95rem;
    padding: 0.72rem 0.86rem;
    border: 0;
    border-radius: 0.45rem;
    color: #ffffff;
    background: linear-gradient(135deg, #16c4ff, #a33cff);
    font-size: 0.82rem;
    font-weight: 900;
}

.gamer-discovery-filter__submit strong {
    padding: 0.18rem 0.45rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
}

.gamer-discovery-tip {
    margin-top: 1rem;
    border-color: rgba(157, 78, 221, 0.36);
    border-radius: 0.6rem;
    background:
        radial-gradient(circle at top left, rgba(157, 78, 221, 0.22), transparent 12rem),
        rgba(27, 15, 54, 0.42);
}

.gamer-discovery-tip a {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    margin-top: 0.65rem;
    padding: 0.58rem 0.7rem;
    border: 1px solid rgba(157, 78, 221, 0.5);
    border-radius: 0.42rem;
    color: #d9b8ff;
    font-size: 0.78rem;
    font-weight: 850;
}

.gamer-discovery-match-panel {
    margin-bottom: 0.8rem;
    padding: 0.85rem;
}

.gamer-discovery-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 31rem;
    overflow: hidden;
    border: 1px solid rgba(104, 134, 194, 0.18);
    border-radius: 0.55rem;
    background: rgba(4, 9, 22, 0.5);
}

.gamer-discovery-tabs button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 2.55rem;
    border: 0;
    color: #c0cbe4;
    background: transparent;
    font-size: 0.85rem;
    font-weight: 850;
}

.gamer-discovery-tabs button + button {
    border-left: 1px solid rgba(104, 134, 194, 0.18);
}

.gamer-discovery-tabs button.is-active {
    color: var(--gamer-accent);
    background: linear-gradient(180deg, rgba(0, 213, 255, 0.12), rgba(0, 213, 255, 0.03));
}

.gamer-discovery-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.44rem;
    margin-top: 0.8rem;
}

.gamer-discovery-active-filters span,
.gamer-discovery-active-filters button {
    padding: 0.32rem 0.5rem;
    border: 1px solid rgba(104, 134, 194, 0.18);
    border-radius: 0.35rem;
    color: #b4c0dc;
    background: rgba(7, 13, 30, 0.68);
    font-size: 0.7rem;
    font-weight: 760;
}

.gamer-discovery-command {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.7rem;
    margin-top: 0.8rem;
}

.gamer-discovery-command button {
    min-height: 2.95rem;
    border-radius: 0.5rem;
    font-weight: 900;
}

.gamer-discovery-command button:first-child {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0 0.85rem;
    border: 1px solid rgba(104, 134, 194, 0.22);
    color: #72809f;
    background: rgba(4, 9, 22, 0.8);
    text-align: left;
}

.gamer-discovery-command button:last-child {
    min-width: 6.7rem;
    border: 0;
    color: #ffffff;
    background: linear-gradient(135deg, #19c7ff, #a333ff);
}

.gamer-discovery-results__bar {
    padding: 0.75rem 0.9rem;
}

.gamer-discovery-results__list {
    gap: 0.78rem;
}

.gamer-discovery-card {
    gap: 0.65rem;
    padding: 0.75rem;
    border-radius: 0.6rem;
}

.gamer-discovery-card:nth-child(1) {
    border-color: rgba(0, 213, 255, 0.72);
    box-shadow: 0 0 0 1px rgba(157, 78, 221, 0.4), 0 0 34px rgba(0, 213, 255, 0.22), 0 18px 48px rgba(0, 0, 0, 0.42);
}

.gamer-discovery-card__main {
    grid-template-columns: minmax(8.5rem, 13rem) minmax(0, 1fr);
    align-items: center;
}

.gamer-discovery-card__media {
    border-radius: 0.52rem;
}

.gamer-discovery-card__body p {
    color: var(--gamer-accent);
    font-size: 0.66rem;
    letter-spacing: 0;
}

.gamer-discovery-card__body h2 {
    margin: 0.08rem 0 0.5rem;
    font-size: 1.34rem;
}

.gamer-discovery-card__cta {
    padding: 0.62rem 0.9rem;
    color: #ffffff;
    background: linear-gradient(135deg, #18c5ff, #a43bff);
}

.gamer-discovery-carousel {
    border: 0;
    background: transparent;
}

.gamer-discovery-carousel__head {
    padding: 0.2rem 0.1rem 0.55rem;
}

.gamer-discovery-carousel__head span {
    color: #b8c5df;
    font-weight: 900;
}

.gamer-discovery-carousel__slides {
    min-height: 0;
    padding: 0;
}

.gamer-discovery-profile {
    display: grid;
    grid-template-columns: minmax(10.5rem, 1.05fr) minmax(8.5rem, 0.85fr) minmax(0, 1.35fr) minmax(7.2rem, auto);
    gap: 0.8rem;
    align-items: center;
    min-height: 7.6rem;
    padding: 0.72rem;
    border-color: rgba(104, 134, 194, 0.2);
    border-radius: 0.58rem;
    background:
        linear-gradient(90deg, rgba(10, 19, 43, 0.95), rgba(7, 13, 30, 0.94)),
        radial-gradient(circle at 12% 50%, rgba(0, 213, 255, 0.11), transparent 10rem);
}

.gamer-discovery-profile--placeholder {
    opacity: 0.9;
    border-style: dashed;
}

.gamer-discovery-profile__identity {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.gamer-discovery-profile__avatar {
    position: relative;
    flex: 0 0 4.25rem;
    width: 4.25rem;
    height: 4.25rem;
    border-color: rgba(0, 213, 255, 0.42);
    box-shadow: 0 0 22px rgba(0, 213, 255, 0.14);
}

.gamer-discovery-profile__avatar span {
    position: absolute;
    right: 0.2rem;
    top: 0.15rem;
    width: 0.72rem;
    height: 0.72rem;
    border: 2px solid #081126;
    border-radius: 999px;
    background: var(--gamer-green);
    box-shadow: 0 0 12px rgba(113, 255, 73, 0.75);
}

.gamer-discovery-profile__copy {
    min-width: 0;
}

.gamer-discovery-profile__name-row {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
}

.gamer-discovery-profile__name-row i {
    flex: 0 0 0.4rem;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 999px;
    background: var(--gamer-green);
    box-shadow: 0 0 10px rgba(113, 255, 73, 0.72);
}

.gamer-discovery-profile__copy strong {
    min-width: 0;
    font-size: 0.98rem;
    font-weight: 950;
}

.gamer-discovery-profile__copy span,
.gamer-discovery-profile__copy small,
.gamer-discovery-profile__rank small,
.gamer-discovery-profile__details span {
    color: var(--gamer-muted);
    font-size: 0.74rem;
    line-height: 1.4;
}

.gamer-discovery-profile__rank {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
}

.gamer-discovery-profile__rank > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 2.3rem;
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 0.55rem;
    color: #f0d26f;
    background: rgba(240, 210, 111, 0.1);
}

.gamer-discovery-profile__rank strong {
    display: block;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 900;
}

.gamer-discovery-profile__details {
    display: flex;
    flex-direction: column;
    gap: 0.34rem;
    min-width: 0;
}

.gamer-discovery-profile__details span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.gamer-discovery-profile__details i {
    color: var(--gamer-violet);
}

.gamer-discovery-profile__note,
.gamer-discovery-profile__placeholder {
    width: 100%;
    min-height: 0;
    margin: 0;
    color: #aebbd6;
    font-size: 0.76rem;
    line-height: 1.45;
}

.gamer-discovery-profile__actions {
    display: flex;
    flex-direction: column;
    gap: 0.46rem;
    margin-top: 0;
}

.gamer-discovery-profile__actions button,
.gamer-discovery-profile__actions a {
    justify-content: center;
    min-width: 6.2rem;
    min-height: 2.25rem;
    border-radius: 0.42rem;
    font-size: 0.78rem;
    font-weight: 850;
}

.gamer-discovery-profile__actions button {
    border: 0;
    color: #ffffff;
    background: linear-gradient(135deg, #20c6ff, #a33cff);
}

.gamer-discovery-profile__actions a {
    border: 1px solid rgba(104, 134, 194, 0.22);
    color: #c6d2ed;
    background: rgba(7, 13, 30, 0.72);
}

.gamer-discovery-profile--placeholder .gamer-discovery-profile__actions button,
.gamer-discovery-profile--placeholder .gamer-discovery-profile__actions a {
    color: #65728f;
    background: rgba(9, 16, 35, 0.72);
    cursor: not-allowed;
}

.gamer-discovery-online-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 0.8rem;
}

.gamer-discovery-online-list a {
    display: block;
    padding: 0;
    margin-left: -0.35rem;
    border: 0;
    background: transparent;
}

.gamer-discovery-online-list a:first-child {
    margin-left: 0;
}

.gamer-discovery-online-list a strong,
.gamer-discovery-online-list a > i {
    display: none;
}

.gamer-discovery-online-list span {
    width: 2.1rem;
    height: 2.1rem;
    border: 2px solid #101b36;
}

.gamer-discovery-feed-item {
    display: grid;
    grid-template-columns: 2.2rem minmax(0, 1fr);
    gap: 0.55rem;
    align-items: center;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(104, 134, 194, 0.12);
}

.gamer-discovery-feed-item > i,
.gamer-discovery-panel--safety > i,
.gamer-discovery-panel--cta > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 999px;
    color: var(--gamer-accent);
    background: rgba(0, 213, 255, 0.1);
}

.gamer-discovery-feed-item strong {
    display: block;
    color: #ffffff;
    font-size: 0.78rem;
}

.gamer-discovery-feed-item span {
    display: block;
    color: var(--gamer-muted);
    font-size: 0.68rem;
}

.gamer-discovery-panel--feed > a {
    display: inline-flex;
    margin-top: 0.72rem;
    color: var(--gamer-accent);
    font-size: 0.76rem;
    font-weight: 850;
}

.gamer-discovery-panel[data-feature-status="placeholder"] {
    position: relative;
    overflow: hidden;
}

.gamer-discovery-panel__development {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: rgba(3, 7, 18, 0.78);
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
    backdrop-filter: blur(2px);
}

.gamer-discovery-panel--safety,
.gamer-discovery-panel--cta {
    background:
        radial-gradient(circle at top left, rgba(0, 213, 255, 0.12), transparent 10rem),
        linear-gradient(180deg, rgba(11, 22, 48, 0.94), rgba(7, 13, 30, 0.94));
}

.gamer-discovery-panel--cta {
    background:
        radial-gradient(circle at top left, rgba(157, 78, 221, 0.24), transparent 10rem),
        linear-gradient(180deg, rgba(16, 19, 48, 0.96), rgba(17, 10, 42, 0.94));
}

.gamer-discovery-panel button,
.gamer-discovery-panel--cta button {
    color: #ffffff;
    background: linear-gradient(135deg, #19c7ff, #a33cff);
    cursor: not-allowed;
}

.gamer-discovery-pagination a,
.gamer-discovery-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    padding: 0 0.55rem;
    border: 1px solid rgba(104, 134, 194, 0.2);
    border-radius: 0.42rem;
    color: #c8d5ef;
    background: rgba(7, 13, 30, 0.82);
}

.gamer-discovery-pagination span {
    color: var(--gamer-accent);
    border-color: rgba(0, 213, 255, 0.32);
}

@media (max-width: 1180px) {
    .gamer-discovery-layout {
        grid-template-columns: minmax(14rem, 17rem) minmax(0, 1fr);
    }

    .gamer-discovery-sidebar {
        grid-column: 1 / -1;
    }
}

@media (max-width: 960px) {
    .gamer-discovery-profile {
        grid-template-columns: minmax(0, 1fr);
    }

    .gamer-discovery-profile__actions {
        flex-direction: row;
    }
}

@media (max-width: 820px) {
    .gamer-discovery {
        padding-inline: 0.75rem;
    }

    .gamer-discovery-hero {
        min-height: 20rem;
        background:
            linear-gradient(180deg, rgba(4, 8, 22, 0.96), rgba(4, 8, 22, 0.62) 54%, #071026 100%),
            url("../images/themes/gamer-world-map-hero.png") 58% top / auto 100% no-repeat;
    }

    .gamer-discovery-hero__copy h1 {
        font-size: 2.35rem;
    }

    .gamer-discovery-command {
        grid-template-columns: 1fr;
    }

    .gamer-discovery-card__main {
        grid-template-columns: 1fr;
    }

    .gamer-discovery-tabs {
        max-width: none;
    }
}

.gamer-discovery .gamer-discovery-card {
    display: grid;
    grid-template-rows: minmax(8.8rem, auto) minmax(12.6rem, auto);
    gap: 0.8rem;
    min-height: 22.4rem;
    padding: 0.82rem;
}

.gamer-discovery .gamer-discovery-card__main {
    display: grid;
    grid-template-columns: minmax(8rem, 0.72fr) minmax(14rem, 1.38fr) minmax(9.5rem, 0.74fr);
    gap: 0.82rem;
    align-items: stretch;
    min-height: 8.8rem;
}

.gamer-discovery .gamer-discovery-card__body,
.gamer-discovery .gamer-discovery-card__summary {
    display: flex;
    min-width: 0;
    min-height: 8.8rem;
    flex-direction: column;
    justify-content: center;
}

.gamer-discovery .gamer-discovery-card__body h2 {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    font-size: 1.42rem;
    line-height: 1.1;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.gamer-discovery .gamer-discovery-card__image-link {
    display: block;
    min-width: 0;
    min-height: 8.8rem;
}

.gamer-discovery .gamer-discovery-card__media {
    height: 100%;
    min-height: 8.8rem;
}

.gamer-discovery .gamer-discovery-card__summary {
    align-items: flex-start;
    gap: 0.5rem;
}

.gamer-discovery .gamer-discovery-card__summary strong {
    color: #ffffff;
    font-size: 2rem;
    line-height: 1;
    font-weight: 950;
}

.gamer-discovery .gamer-discovery-card__summary span {
    color: var(--gamer-muted);
    font-size: 0.74rem;
    font-weight: 850;
    line-height: 1.25;
}

.gamer-discovery .gamer-discovery-card__cta {
    width: 100%;
    min-height: 2.5rem;
    margin-top: auto;
    text-align: center;
}

.gamer-discovery .gamer-discovery-carousel {
    position: relative;
    min-height: 12.6rem;
    padding-right: 2.8rem;
}

.gamer-discovery .gamer-discovery-carousel__slides {
    min-height: 12.6rem;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
}

.gamer-discovery .gamer-discovery-carousel__slides:active {
    cursor: grabbing;
}

.gamer-discovery .gamer-discovery-profile {
    grid-template-columns: minmax(10rem, 0.78fr) minmax(12rem, 1.08fr) minmax(16rem, 1.36fr) minmax(6.8rem, 0.58fr);
    min-height: 12.6rem;
    height: 12.6rem;
    align-items: stretch;
}

.gamer-discovery .gamer-discovery-profile__identity,
.gamer-discovery .gamer-discovery-profile__details,
.gamer-discovery .gamer-discovery-profile__info,
.gamer-discovery .gamer-discovery-profile__actions {
    min-width: 0;
    min-height: 0;
}

.gamer-discovery .gamer-discovery-profile__identity {
    align-self: center;
}

.gamer-discovery .gamer-discovery-profile__details {
    display: flex;
    align-items: stretch;
}

.gamer-discovery .gamer-discovery-profile__note,
.gamer-discovery .gamer-discovery-profile__placeholder {
    display: -webkit-box;
    max-height: 8.3rem;
    overflow: hidden;
    padding: 0.68rem;
    border: 1px solid rgba(104, 134, 194, 0.14);
    border-radius: 0.5rem;
    background: rgba(4, 8, 22, 0.42);
    text-align: left;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
}

.gamer-discovery .gamer-discovery-profile__note.is-expanded {
    display: block;
    overflow: auto;
}

.gamer-discovery .gamer-discovery-profile__info {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
}

.gamer-discovery .gamer-discovery-profile__info-item {
    display: flex;
    min-width: 0;
    min-height: 3.3rem;
    flex-direction: column;
    justify-content: center;
    gap: 0.16rem;
    padding: 0.48rem 0.54rem;
    border: 1px solid rgba(104, 134, 194, 0.15);
    border-radius: 0.45rem;
    background: rgba(7, 13, 30, 0.58);
}

.gamer-discovery .gamer-discovery-profile__info-label,
.gamer-discovery .gamer-discovery-profile__info-value {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gamer-discovery .gamer-discovery-profile__info-label {
    color: var(--gamer-muted);
    font-size: 0.65rem;
    font-weight: 850;
}

.gamer-discovery .gamer-discovery-profile__info-value {
    color: #f4f7ff;
    font-size: 0.78rem;
    font-weight: 900;
}

.gamer-discovery .gamer-discovery-carousel__switcher {
    position: absolute;
    top: 50%;
    right: 0.05rem;
    display: inline-flex;
    width: 2.25rem;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    transform: translateY(-50%);
}

.gamer-discovery .gamer-discovery-carousel__switcher button {
    width: 2.1rem;
    height: 2.1rem;
    min-width: 0;
    padding: 0;
    border-radius: 0.45rem;
    font-size: 1.05rem;
    line-height: 1;
}

.gamer-discovery .gamer-discovery-carousel__switcher span {
    width: 2.25rem;
    overflow: hidden;
    color: var(--gamer-muted);
    font-size: 0.62rem;
    font-weight: 900;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 1180px) {
    .gamer-discovery .gamer-discovery-profile {
        grid-template-columns: minmax(9rem, 0.8fr) minmax(11rem, 1fr) minmax(13rem, 1.25fr);
    }

    .gamer-discovery .gamer-discovery-profile__actions {
        grid-column: 1 / -1;
        flex-direction: row;
    }
}

@media (max-width: 960px) {
    .gamer-discovery .gamer-discovery-card {
        grid-template-rows: auto auto;
        min-height: 0;
    }

    .gamer-discovery .gamer-discovery-card__main {
        grid-template-columns: minmax(8rem, 0.8fr) minmax(12rem, 1.2fr);
    }

    .gamer-discovery .gamer-discovery-card__summary {
        grid-column: 1 / -1;
        min-height: 0;
        flex-direction: row;
        align-items: center;
    }

    .gamer-discovery .gamer-discovery-card__cta {
        width: auto;
        min-width: 11rem;
        margin-top: 0;
        margin-left: auto;
    }

    .gamer-discovery .gamer-discovery-profile {
        height: auto;
        min-height: 18rem;
        grid-template-columns: minmax(0, 1fr);
    }

    .gamer-discovery .gamer-discovery-profile__info {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .gamer-discovery .gamer-discovery-card__main {
        grid-template-columns: minmax(0, 1fr);
    }

    .gamer-discovery .gamer-discovery-card__body,
    .gamer-discovery .gamer-discovery-card__summary,
    .gamer-discovery .gamer-discovery-card__image-link,
    .gamer-discovery .gamer-discovery-card__media {
        min-height: 0;
    }

    .gamer-discovery .gamer-discovery-card__media {
        aspect-ratio: 16 / 7;
    }

    .gamer-discovery .gamer-discovery-card__summary {
        flex-wrap: wrap;
    }

    .gamer-discovery .gamer-discovery-card__cta {
        width: 100%;
        margin-left: 0;
    }

    .gamer-discovery .gamer-discovery-carousel {
        padding-right: 2.45rem;
    }

    .gamer-discovery .gamer-discovery-profile__info {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .gamer-discovery .gamer-discovery-profile__info {
        grid-template-columns: minmax(0, 1fr);
    }

    .gamer-discovery .gamer-discovery-profile__actions {
        flex-direction: column;
    }
}

.gamer-discovery .gamer-discovery-card {
    grid-template-rows: minmax(7.4rem, auto) minmax(14.55rem, auto);
    min-height: 23.15rem;
}

.gamer-discovery .gamer-discovery-card__main {
    grid-template-columns: minmax(11.8rem, 13.5rem) minmax(0, 1fr) minmax(13.8rem, 14.8rem);
    gap: 0.75rem;
    min-height: 7.4rem;
}

.gamer-discovery .gamer-discovery-card__image-link {
    order: 1;
    min-height: 7.4rem;
}

.gamer-discovery .gamer-discovery-card__body {
    order: 2;
}

.gamer-discovery .gamer-discovery-card__summary {
    order: 3;
}

.gamer-discovery .gamer-discovery-card__body,
.gamer-discovery .gamer-discovery-card__summary,
.gamer-discovery .gamer-discovery-card__media {
    min-height: 7.4rem;
}

.gamer-discovery .gamer-discovery-card__media {
    max-height: 7.4rem;
}

.gamer-discovery .gamer-discovery-card__body {
    justify-content: center;
}

.gamer-discovery .gamer-discovery-card__body h2 {
    font-size: 1.28rem;
    line-height: 1.08;
}

.gamer-discovery .gamer-discovery-card__summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 2.4rem;
    grid-template-rows: minmax(2.2rem, auto) minmax(2.35rem, auto);
    grid-template-areas:
        "count switcher"
        "cta switcher";
    align-content: center;
    gap: 0.42rem 0.56rem;
}

.gamer-discovery .gamer-discovery-card__count {
    grid-area: count;
    display: grid;
    align-content: center;
    gap: 0.18rem;
}

.gamer-discovery .gamer-discovery-card__summary strong {
    font-size: 1.75rem;
}

.gamer-discovery .gamer-discovery-card__cta {
    grid-area: cta;
    min-height: 2.25rem;
    padding: 0.52rem 0.72rem;
    font-size: 0.75rem;
}

.gamer-discovery .gamer-discovery-carousel {
    min-height: 14.55rem;
    padding-right: 0;
}

.gamer-discovery .gamer-discovery-carousel__slides {
    min-height: 14.55rem;
}

.gamer-discovery .gamer-discovery-profile {
    grid-template-columns: minmax(5.9rem, 6.9rem) minmax(0, 1fr);
    grid-template-rows: minmax(5.6rem, 1fr) 2.35rem minmax(4.4rem, auto);
    grid-template-areas:
        "identity note"
        "identity actions"
        "info info";
    gap: 0.65rem;
    height: 14.55rem;
    min-height: 14.55rem;
    padding: 0.68rem;
    align-items: stretch;
}

.gamer-discovery .gamer-discovery-profile__identity {
    grid-area: identity;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 5.8rem minmax(0, 1fr);
    gap: 0.36rem;
    align-items: start;
    justify-items: center;
}

.gamer-discovery .gamer-discovery-profile__avatar {
    flex: none;
    width: 5.8rem;
    height: 5.8rem;
    border-radius: 0.62rem;
}

.gamer-discovery .gamer-discovery-profile__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gamer-discovery .gamer-discovery-profile__avatar > .gamer-discovery-profile__presence {
    display: grid;
    place-items: center;
    right: -0.1rem;
    top: -0.1rem;
    width: 1.1rem;
    height: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0.34rem;
    background: rgba(1, 5, 15, 0.96);
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.48);
}

.gamer-discovery .gamer-discovery-profile__presence i {
    font-size: 0.42rem;
}

.gamer-discovery .gamer-discovery-profile__presence.is-online i {
    color: #32ff7e;
    text-shadow: 0 0 7px rgba(50, 255, 126, 0.78);
}

.gamer-discovery .gamer-discovery-profile__presence.is-offline i {
    color: #ff4d6d;
    text-shadow: 0 0 7px rgba(255, 77, 109, 0.66);
}

.gamer-discovery .gamer-discovery-profile__copy {
    align-self: center;
    width: 100%;
    min-width: 0;
    text-align: center;
}

.gamer-discovery .gamer-discovery-profile__name-row {
    justify-content: center;
    flex-wrap: wrap;
}

.gamer-discovery .gamer-discovery-profile__copy strong {
    display: block;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.16;
    font-size: 0.76rem;
}

.gamer-discovery .gamer-discovery-profile__details {
    grid-area: note;
}

.gamer-discovery .gamer-discovery-profile__note,
.gamer-discovery .gamer-discovery-profile__placeholder {
    max-height: none;
    height: 100%;
    padding: 0.72rem;
    -webkit-line-clamp: 4;
}

.gamer-discovery .gamer-discovery-profile__info {
    grid-area: info;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.42rem;
}

.gamer-discovery .gamer-discovery-profile__info-item {
    min-height: 4.4rem;
    padding: 0.5rem 0.56rem;
}

.gamer-discovery .gamer-discovery-profile__info-item--value-only {
    justify-content: center;
}

.gamer-discovery .gamer-discovery-profile__info-label,
.gamer-discovery .gamer-discovery-profile__info-value {
    white-space: normal;
    overflow-wrap: anywhere;
}

.gamer-discovery .gamer-discovery-profile__actions {
    grid-area: actions;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: minmax(2.35rem, auto);
    gap: 0.5rem;
    align-content: end;
    justify-content: stretch;
    align-self: stretch;
}

.gamer-discovery .gamer-discovery-profile__actions button,
.gamer-discovery .gamer-discovery-profile__actions a {
    flex: none;
    min-width: 0;
    width: 100%;
    min-height: 2.25rem;
    height: 2.35rem;
    padding: 0.5rem 0.58rem;
    font-size: 0.74rem;
}

.gamer-discovery .gamer-discovery-carousel__switcher {
    grid-area: switcher;
    position: static;
    align-self: center;
    justify-self: end;
    width: 2.4rem;
    padding: 0.4rem 0.24rem;
    border: 1px solid rgba(104, 134, 194, 0.18);
    border-radius: 0.56rem;
    background: linear-gradient(180deg, rgba(38, 174, 255, 0.96), rgba(143, 63, 255, 0.94));
    transform: none;
}

.gamer-discovery .gamer-discovery-carousel__switcher button {
    width: 1.76rem;
    height: 1.76rem;
    color: #ffffff;
    background: rgba(9, 16, 38, 0.52);
}

.gamer-discovery .gamer-discovery-carousel__switcher span {
    color: #ffffff;
}

@media (max-width: 1180px) {
    .gamer-discovery .gamer-discovery-profile {
        grid-template-columns: minmax(5.9rem, 6.9rem) minmax(0, 1fr);
        height: auto;
        min-height: 19.9rem;
    }

    .gamer-discovery .gamer-discovery-profile__info {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 960px) {
    .gamer-discovery .gamer-discovery-card__main {
        grid-template-columns: minmax(10rem, 12.8rem) minmax(0, 1fr);
    }

    .gamer-discovery .gamer-discovery-card__summary {
        grid-column: 1 / -1;
    }

    .gamer-discovery .gamer-discovery-profile {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: none;
        grid-template-areas:
            "identity"
            "note"
            "info"
            "actions";
        height: auto;
        min-height: 0;
    }
}

@media (max-width: 820px) {
    .gamer-discovery .gamer-discovery-card__main {
        grid-template-columns: minmax(0, 1fr);
    }

    .gamer-discovery .gamer-discovery-card__image-link,
    .gamer-discovery .gamer-discovery-card__body,
    .gamer-discovery .gamer-discovery-card__summary {
        order: initial;
    }

    .gamer-discovery .gamer-discovery-card__media {
        max-height: none;
        aspect-ratio: 16 / 7;
    }

    .gamer-discovery .gamer-discovery-profile__identity {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: 5.4rem minmax(0, 1fr);
    }

    .gamer-discovery .gamer-discovery-profile__avatar {
        width: 5.4rem;
        height: 5.4rem;
    }
}

@media (max-width: 560px) {
    .gamer-discovery .gamer-discovery-card {
        grid-template-rows: auto auto;
        min-height: 0;
    }

    .gamer-discovery .gamer-discovery-carousel,
    .gamer-discovery .gamer-discovery-carousel__slides {
        min-height: 0;
    }

    .gamer-discovery .gamer-discovery-profile {
        gap: 0.58rem;
        padding: 0.62rem;
    }

    .gamer-discovery .gamer-discovery-profile__info {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gamer-discovery .gamer-discovery-profile__info-item {
        min-height: 3.6rem;
    }
}

body {
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    font-family: var(--font-sans, system-ui, -apple-system, sans-serif);
    line-height: 1.6;
}

.home-onboarding-intro {
    animation-duration: 0.8s;
}

.home-onboarding-step-delay-0 {
    animation-delay: 0.1s;
    animation-fill-mode: both;
}

.home-onboarding-step-delay-1 {
    animation-delay: 0.3s;
    animation-fill-mode: both;
}

.home-onboarding-step-delay-2 {
    animation-delay: 0.5s;
    animation-fill-mode: both;
}

.home-onboarding-step-delay-3 {
    animation-delay: 0.7s;
    animation-fill-mode: both;
}

.theme-switcher__dropdown {
    background: var(--color-bg-secondary);
    color: var(--color-text-primary);
    border-color: var(--color-border);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.55);
}

.theme-switcher__dropdown > div {
    background: inherit;
}

.theme-switcher__option {
    background: transparent;
}

.theme-switcher__option:hover,
.theme-switcher__option:focus-visible {
    background: var(--color-bg-tertiary);
    outline: none;
}

.csp-map-frame {
    height: 500px;
}

.neon-glow {
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.5);
}

.neon-glow-hover:hover {
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.7);
}

.neon-text-glow {
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.7);
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(168, 85, 247, 0.4);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(168, 85, 247, 0.5);
    }
    50% {
        box-shadow: 0 0 25px rgba(168, 85, 247, 0.8);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.animate-fade-in {
    animation: fadeIn 0.3s ease-out;
}

.animate-glow {
    animation: glow 2s ease-in-out infinite;
}

.game-card {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.game-card:hover {
    transform: scale(1.02) translateY(-4px);
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.3);
    border-color: var(--color-accent-primary);
}

/* SEO Content Typography - Theme aware */
.seo-content-block {
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
}

.seo-content-block h2,
.seo-content-block h3 {
    color: var(--color-text-primary);
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}
.seo-content-block h2 { font-size: 1.5rem; }
.seo-content-block h3 { font-size: 1.25rem; }
.seo-content-block p { margin-bottom: 1rem; line-height: 1.6; color: var(--color-text-secondary); }

/* SEO Content Table Styles - Theme aware */
.seo-content-block table {
    width: 100%;
    max-width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    margin: 1.5rem 0;
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: 0.75rem;
    overflow: hidden;
}

.seo-content-block th,
.seo-content-block td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border-light);
    color: var(--color-text-secondary);
    overflow-wrap: anywhere;
    word-break: normal;
}

.seo-content-block th {
    background: rgba(168, 85, 247, 0.15);
    color: var(--color-text-primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(168, 85, 247, 0.2);
}

.seo-content-block tr:last-child td {
    border-bottom: none;
}

.seo-content-block tr:hover td {
    background: var(--color-bg-secondary);
}

/* Responsive table */
@media (max-width: 768px) {
    .seo-content-block {
        overflow-x: hidden;
    }

    .seo-content-block table {
        display: table;
        overflow-x: visible;
        white-space: normal;
    }

    .seo-content-block th,
    .seo-content-block td {
        padding: 0.75rem;
        white-space: normal;
    }
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--color-bg-tertiary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent-primary);
}

/* Flash Messages - Prominent Error Alerts */
#flash-messages {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

#flash-messages.hidden,
#flash-messages[hidden] {
    display: none;
}

.flash-message {
    max-width: 600px;
    margin: 0 auto;
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
    pointer-events: auto;
    animation: fadeIn 0.3s ease-out;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 2px solid;
    position: relative;
}

.flash-message .close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
    font-size: 1.25rem;
    transition: all 0.2s;
}

.flash-message .close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.flash-error {
    background: rgba(220, 38, 38, 0.15);
    border-color: var(--color-accent-red);
    color: #fca5a5;
}

.flash-error::before {
    content: '';
    display: block;
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="%23ef4444"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-2-4.232-2h-10c-1.538 0-2.502 1.667-1.732 3L10.268 12c.77 1.333 2.694 2 4.232 2h10c1.538 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-2-4.232-2z"/></svg>') center/contain no-repeat;
}

.flash-error .error-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.flash-error .error-message {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.flash-error .error-contact {
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    background: rgba(0, 136, 204, 0.2);
    border: 1px solid var(--color-telegram);
    border-radius: 0.5rem;
    color: #60a5fa;
    margin-top: 1rem;
}

.flash-error .error-contact a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
}

.flash-error .error-contact a:hover {
    text-decoration: underline;
    color: #60a5fa;
}

.flash-success {
    background: rgba(34, 197, 94, 0.15);
    border-color: var(--color-accent-green);
    color: #86efac;
}

.flash-info {
    background: rgba(59, 130, 246, 0.15);
    border-color: var(--color-accent-blue);
    color: #93c5fd;
}

.flash-warning {
    background: rgba(234, 179, 8, 0.15);
    border-color: var(--color-accent-yellow);
    color: #fde047;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.tour-overlay {
    position: fixed;
    inset: 0;
    background: transparent;
    z-index: 10000;
    pointer-events: none;
}

.tour-tooltip {
    position: fixed;
    z-index: 10002;
    max-width: 320px;
    background: rgba(17, 24, 39, 0.95);
    border: 1px solid rgba(250, 204, 21, 0.6);
    color: #f9fafb;
    padding: 14px 16px;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.tour-tooltip-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 12px;
}

.tour-skip-btn {
    padding: 6px 12px;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 10px;
    border: 1px solid rgba(250, 204, 21, 0.5);
    color: #fbbf24;
    background: rgba(17, 24, 39, 0.6);
    transition: all 0.2s ease;
}

.tour-skip-btn:hover {
    background: rgba(250, 204, 21, 0.15);
    color: #fde68a;
}

.tour-highlight,
input.tour-highlight,
textarea.tour-highlight,
select.tour-highlight,
button.tour-highlight {
    position: relative !important;
    z-index: 10001 !important;
    clip-path: none !important;
    overflow: visible !important;
    outline: 3px solid #fbbf24 !important;
    outline-offset: 4px !important;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.75), 0 0 20px rgba(251, 191, 36, 0.6) !important;
}

.tour-complete-center {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10003;
    background: rgba(17, 24, 39, 0.95);
    border: 1px solid rgba(34, 197, 94, 0.6);
    color: #d1fae5;
    padding: 18px 22px;
    border-radius: 16px;
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.5);
    font-weight: 700;
    text-align: center;
    max-width: 420px;
}

.tour-start-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10004;
    background: rgba(17, 24, 39, 0.98);
    border: 1px solid rgba(250, 204, 21, 0.35);
    color: #f9fafb;
    padding: 24px 28px;
    border-radius: 18px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
    max-width: 420px;
    text-align: center;
}

.tour-start-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
}

.tour-start-yes {
    padding: 8px 18px;
    border-radius: 12px;
    background: rgba(34, 197, 94, 0.25);
    border: 1px solid rgba(34, 197, 94, 0.6);
    color: #d1fae5;
    font-weight: 700;
}

.tour-start-no {
    padding: 8px 18px;
    border-radius: 12px;
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.6);
    color: #fecaca;
    font-weight: 700;
}

/* Gamer theme homepage migration */
.gamer-header,
.gamer-home,
.gamer-footer {
    --gamer-bg: #030714;
    --gamer-panel: rgba(9, 16, 38, 0.82);
    --gamer-panel-strong: rgba(12, 22, 52, 0.94);
    --gamer-border: rgba(0, 213, 255, 0.2);
    --gamer-border-violet: rgba(157, 78, 221, 0.32);
    --gamer-cyan: #00d5ff;
    --gamer-blue: #2f80ff;
    --gamer-violet: #9d4edd;
    --gamer-magenta: #e056fd;
    --gamer-green: #32ff7e;
    --gamer-text: #f6fbff;
    --gamer-muted: #8da2cb;
    --gamer-soft: #526489;
    color: var(--gamer-text);
}

.gamer-header {
    position: relative;
    z-index: 60;
    isolation: isolate;
    padding: 12px 0 15px;
    border-bottom: 1px solid rgba(0, 213, 255, 0.2);
    overflow: visible;
    background:
        radial-gradient(ellipse at 6% 8%, rgba(0, 213, 255, 0.2), transparent 18rem),
        radial-gradient(ellipse at 92% 12%, rgba(0, 213, 255, 0.16), transparent 18rem),
        linear-gradient(90deg, rgba(0, 213, 255, 0.1), transparent 14%, transparent 86%, rgba(0, 213, 255, 0.1)),
        linear-gradient(180deg, #020713 0%, #040b18 56%, #020713 100%);
    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.56),
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        inset 0 -1px 0 rgba(0, 213, 255, 0.18);
}

.gamer-header::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 6px 8px 8px;
    border: 1px solid rgba(0, 213, 255, 0.42);
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 8px),
        linear-gradient(90deg, rgba(0, 213, 255, 0.23), transparent 9rem, transparent calc(100% - 9rem), rgba(0, 213, 255, 0.2)),
        linear-gradient(135deg, rgba(255, 255, 255, 0.055), transparent 26%),
        linear-gradient(180deg, rgba(10, 18, 38, 0.96), rgba(4, 10, 24, 0.94));
    clip-path: polygon(1.25rem 0, calc(100% - 1.25rem) 0, 100% 1.25rem, 100% calc(100% - 1.25rem), calc(100% - 1.25rem) 100%, 1.25rem 100%, 0 calc(100% - 1.25rem), 0 1.25rem);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.04),
        inset 0 0 38px rgba(0, 213, 255, 0.06),
        0 0 22px rgba(0, 213, 255, 0.16);
    pointer-events: none;
}

.gamer-header::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 6px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 213, 255, 0.92) 5%, transparent 24%, transparent 76%, rgba(0, 213, 255, 0.82) 95%, transparent);
    filter: drop-shadow(0 0 8px rgba(0, 213, 255, 0.8));
    pointer-events: none;
}

.gamer-header__bar,
.gamer-footer__inner,
.gamer-footer__bottom,
.gamer-hero,
.gamer-section,
.gamer-community {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.gamer-header__bar {
    position: relative;
    z-index: 30;
    width: min(1420px, calc(100% - 80px));
    min-height: 76px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 24px;
}

.gamer-brand {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--gamer-text);
    text-decoration: none;
    min-width: 0;
    width: fit-content;
    justify-self: start;
    padding: 5px 18px 5px 0;
    transition: transform 170ms ease, filter 170ms ease;
}

.gamer-brand::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0 0 0 44px;
    border: 1px solid rgba(0, 213, 255, 0.14);
    background:
        linear-gradient(90deg, rgba(0, 213, 255, 0.08), transparent 62%),
        rgba(3, 8, 20, 0.34);
    clip-path: polygon(0.9rem 0, 100% 0, calc(100% - 1rem) 100%, 0 100%);
}

.gamer-brand > * {
    position: relative;
    z-index: 1;
}

.gamer-header .gamer-brand:hover,
.gamer-header .gamer-brand:focus-visible {
    transform: translateY(-2px);
    filter: drop-shadow(0 0 14px rgba(0, 213, 255, 0.24));
}

.gamer-brand__mark {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border: 2px solid rgba(0, 213, 255, 0.85);
    border-radius: 12px;
    color: var(--gamer-cyan);
    font-weight: 900;
    line-height: 1;
    box-shadow: inset 0 0 20px rgba(0, 213, 255, 0.16), 0 0 20px rgba(0, 213, 255, 0.22);
}

.gamer-header .gamer-brand__mark {
    position: relative;
    width: 76px;
    height: 76px;
    flex: 0 0 auto;
    border: 1px solid rgba(0, 213, 255, 0.36);
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 50%, rgba(0, 213, 255, 0.12), transparent 64%),
        rgba(4, 10, 24, 0.86);
    color: #c9f7ff;
    box-shadow:
        inset 0 0 18px rgba(0, 213, 255, 0.1),
        0 0 18px rgba(0, 213, 255, 0.18),
        0 0 0 5px rgba(0, 213, 255, 0.035);
}

.gamer-header .gamer-brand__mark img {
    width: 92px;
    max-width: none;
    height: 92px;
    object-fit: contain;
    transform: translate(-8px, -7px);
    filter: drop-shadow(0 0 12px rgba(0, 213, 255, 0.38));
}

.gamer-brand__copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
    line-height: 1;
}

.gamer-brand__name,
.gamer-footer__name {
    color: #ffffff;
    font-size: 2.08rem;
    font-weight: 900;
    letter-spacing: 0;
    text-shadow: 0 0 14px rgba(0, 213, 255, 0.22);
}

.gamer-brand__tag,
.gamer-footer__tag {
    color: var(--gamer-muted);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.gamer-footer__name {
    font-size: 1.45rem;
}

.gamer-footer__tag {
    font-size: 0.64rem;
}

.gamer-nav {
    position: relative;
    z-index: 45;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-width: 0;
}

.gamer-nav__link,
.gamer-mobile-menu__bar a,
.gamer-mobile-menu__bar button,
.gamer-mobile-menu__nav a,
.gamer-mobile-menu__nav button,
.gamer-footer__links a {
    color: var(--gamer-muted);
    text-decoration: none;
    transition: transform 170ms ease, color 170ms ease, border-color 170ms ease, background-color 170ms ease, box-shadow 170ms ease;
}

.gamer-nav__link {
    position: relative;
    border: 0;
    background: transparent;
    padding: 10px 10px 21px;
    color: #9aa9c7;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
    cursor: pointer;
}

.gamer-nav__link:hover,
.gamer-nav__link:focus-visible,
.gamer-nav__link--active {
    color: var(--gamer-cyan);
}

.gamer-nav__link:hover,
.gamer-nav__link:focus-visible {
    transform: translateY(-2px) scale(1.02);
}

.gamer-nav__link--active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 8px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gamer-cyan) 30%, #ffffff 50%, var(--gamer-cyan) 70%, transparent);
    box-shadow: 0 0 14px rgba(0, 213, 255, 0.85);
}

.gamer-nav__link--active::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 3px;
    width: 10px;
    height: 10px;
    border: 1px solid rgba(0, 213, 255, 0.92);
    border-right: 0;
    border-bottom: 0;
    transform: translateX(-50%) rotate(45deg);
    background: rgba(3, 8, 20, 0.95);
    box-shadow: 0 0 10px rgba(0, 213, 255, 0.72);
}

.gamer-nav__button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.gamer-nav__button i {
    font-size: 0.66rem;
    transition: transform 160ms ease;
}

.gamer-nav__badge {
    display: inline-flex;
    min-width: 1.15rem;
    justify-content: center;
    margin-left: 5px;
    border-radius: 999px;
    background: rgba(117, 133, 163, 0.22);
    color: #dbe7ff;
    font-size: 0.64rem;
    line-height: 1.15rem;
    box-shadow: inset 0 0 12px rgba(0, 213, 255, 0.08);
}

.gamer-nav__menu {
    position: relative;
    z-index: 70;
}

.gamer-info-dropdown {
    position: absolute;
    left: 50%;
    top: 100%;
    z-index: 320;
    width: 22rem;
    margin-top: 0.4rem;
    padding: 10px;
    transform: translateX(-50%);
    border: 1px solid rgba(0, 213, 255, 0.36);
    border-radius: 4px;
    background:
        linear-gradient(135deg, rgba(0, 213, 255, 0.08), transparent 32%),
        rgba(4, 10, 24, 0.98);
    clip-path: polygon(0.8rem 0, 100% 0, 100% calc(100% - 0.8rem), calc(100% - 0.8rem) 100%, 0 100%, 0 0.8rem);
    box-shadow: 0 22px 58px rgba(0, 0, 0, 0.58), inset 0 0 28px rgba(0, 213, 255, 0.08);
}

.gamer-info-dropdown a {
    display: grid;
    gap: 4px;
    padding: 10px 12px;
    border: 1px solid rgba(0, 213, 255, 0.1);
    border-radius: 3px;
    color: var(--gamer-muted);
    text-decoration: none;
    background: rgba(12, 22, 52, 0.76);
    transition: transform 170ms ease, border-color 170ms ease, background-color 170ms ease, color 170ms ease;
}

.gamer-info-dropdown a + a {
    margin-top: 6px;
}

.gamer-info-dropdown a:hover {
    transform: translateX(3px);
    border-color: rgba(0, 213, 255, 0.34);
    color: #ffffff;
    background: rgba(0, 213, 255, 0.11);
}

.gamer-info-dropdown span {
    color: var(--gamer-soft);
    font-size: 0.64rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
}

.gamer-info-dropdown strong {
    color: var(--gamer-text);
    font-size: 0.86rem;
}

.gamer-info-dropdown small {
    font-size: 0.74rem;
}

.gamer-header__actions {
    position: relative;
    z-index: 60;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    justify-self: end;
    justify-content: flex-end;
    padding: 7px;
    border: 1px solid rgba(65, 82, 112, 0.4);
    border-radius: 6px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 44%),
        linear-gradient(180deg, rgba(8, 17, 36, 0.82), rgba(2, 7, 18, 0.78));
    box-shadow: inset 0 0 24px rgba(0, 213, 255, 0.05), 0 10px 24px rgba(0, 0, 0, 0.22);
}

.gamer-icon-button,
.gamer-menu-button,
.gamer-login-link,
.gamer-primary-action,
.gamer-secondary-action,
.gamer-community__join,
.gamer-footer__cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gamer-border);
    text-decoration: none;
    transition: transform 170ms ease, border-color 170ms ease, background-color 170ms ease, box-shadow 170ms ease, color 170ms ease;
}

.gamer-icon-button,
.gamer-menu-button {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 4px;
    color: var(--gamer-muted);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 45%),
        linear-gradient(180deg, rgba(12, 23, 48, 0.94), rgba(5, 11, 28, 0.92));
    clip-path: polygon(0.45rem 0, 100% 0, 100% calc(100% - 0.45rem), calc(100% - 0.45rem) 100%, 0 100%, 0 0.45rem);
    cursor: pointer;
    overflow: hidden;
}

.gamer-header__actions .gamer-icon-button {
    color: #dce8f7;
    font-size: 1.12rem;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 48%),
        linear-gradient(180deg, rgba(12, 23, 46, 0.96), rgba(5, 11, 27, 0.95));
    border-color: rgba(91, 108, 141, 0.55);
    box-shadow: inset 0 0 18px rgba(0, 213, 255, 0.05), 0 0 0 1px rgba(0, 213, 255, 0.07);
}

.gamer-header__chat-button {
    width: auto;
    min-width: 9rem;
    gap: 9px;
    padding: 0 17px;
}

.gamer-header__chat-label {
    font-size: 0.74rem;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.gamer-header__badge {
    position: absolute;
    right: 4px;
    top: 4px;
    display: inline-flex;
    min-width: 1.2rem;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff334f, #b9122d);
    padding: 2px 5px;
    color: #ffffff;
    font-size: 0.64rem;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 0 12px rgba(255, 51, 79, 0.7);
}

.gamer-header__actions [data-notification-toggle] .gamer-header__badge {
    background: linear-gradient(135deg, #ff334f, #b9122d);
}

.gamer-header__badge.hidden {
    display: none;
}

.gamer-icon-button:disabled,
.gamer-icon-button[aria-disabled="true"] {
    cursor: not-allowed;
    opacity: 0.54;
}

.gamer-icon-button:disabled:hover,
.gamer-icon-button[aria-disabled="true"]:hover {
    transform: none;
    border-color: rgba(91, 108, 141, 0.55);
    box-shadow: inset 0 0 18px rgba(0, 213, 255, 0.04), 0 0 0 1px rgba(0, 213, 255, 0.06);
}

.gamer-login-link {
    min-height: 42px;
    gap: 9px;
    padding: 0 18px;
    border-color: rgba(157, 78, 221, 0.52);
    border-radius: 12px;
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 900;
    background: linear-gradient(135deg, rgba(0, 213, 255, 0.92), rgba(119, 65, 255, 0.92), rgba(224, 86, 253, 0.9));
    box-shadow: 0 0 24px rgba(0, 213, 255, 0.24);
}

.gamer-icon-button:hover,
.gamer-menu-button:hover,
.gamer-login-link:hover,
.gamer-primary-action:hover,
.gamer-secondary-action:hover,
.gamer-community__join:hover,
.gamer-footer__cta a:hover {
    transform: translateY(-1px);
    border-color: rgba(0, 213, 255, 0.62);
    box-shadow: 0 0 24px rgba(0, 213, 255, 0.24);
}

.gamer-header__actions .gamer-icon-button:hover,
.gamer-header__actions .gamer-icon-button:focus-visible,
.gamer-header__language #language-switcher-btn-gamer-desktop-language:hover,
.gamer-header__language #language-switcher-btn-gamer-desktop-language:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(0, 213, 255, 0.82);
    color: #ffffff;
    box-shadow: 0 0 24px rgba(0, 213, 255, 0.32), inset 0 0 18px rgba(0, 213, 255, 0.12);
}

.gamer-menu-button {
    display: none;
}

.gamer-header__theme #theme-switcher-btn-gamer-desktop,
.gamer-mobile-menu__tools #theme-switcher-btn-gamer-mobile,
.gamer-header__language #language-switcher-btn-gamer-desktop-language,
.gamer-mobile-menu__tools #language-switcher-btn-gamer-mobile-language {
    min-height: 48px;
    min-width: 178px;
    gap: 8px;
    border-color: rgba(95, 114, 148, 0.55);
    border-radius: 4px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 45%),
        linear-gradient(180deg, rgba(8, 20, 47, 0.98), rgba(5, 13, 33, 0.98));
    color: var(--gamer-text);
    box-shadow: 0 0 0 1px rgba(0, 213, 255, 0.08), 0 12px 28px rgba(0, 0, 0, 0.32);
    clip-path: polygon(0.65rem 0, 100% 0, 100% calc(100% - 0.65rem), calc(100% - 0.65rem) 100%, 0 100%, 0 0.65rem);
    transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease, color 170ms ease;
    cursor: pointer;
}

.gamer-mobile-menu__tools #language-switcher-gamer-mobile-language,
.gamer-mobile-menu__tools #language-switcher-btn-gamer-mobile-language {
    width: 100%;
}

.gamer-header__language #language-switcher-btn-gamer-desktop-language > span:first-child {
    display: none;
}

.gamer-header__language #language-switcher-btn-gamer-desktop-language::before,
.gamer-mobile-menu__tools #language-switcher-btn-gamer-mobile-language::before {
    content: "";
    width: 1.08rem;
    height: 1.08rem;
    border: 2px solid #dce8f7;
    border-radius: 50%;
    background:
        linear-gradient(90deg, transparent 44%, #dce8f7 45% 55%, transparent 56%),
        linear-gradient(transparent 44%, #dce8f7 45% 55%, transparent 56%);
    box-shadow: 0 0 10px rgba(0, 213, 255, 0.18);
}

.gamer-header__theme [id^="theme-dropdown"],
.gamer-mobile-menu__tools [id^="theme-dropdown"],
.gamer-header__language [id^="language-dropdown"],
.gamer-mobile-menu__tools [id^="language-dropdown"] {
    width: 224px;
    border-color: rgba(0, 213, 255, 0.38);
    border-radius: 4px;
    background: #071229;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.62), inset 0 0 32px rgba(0, 213, 255, 0.06);
}

.gamer-mobile-menu__tools [id^="language-dropdown"] {
    width: 100%;
}

.gamer-header__theme .theme-switcher__option,
.gamer-mobile-menu__tools .theme-switcher__option,
.gamer-header__language [id^="language-dropdown"] a,
.gamer-mobile-menu__tools [id^="language-dropdown"] a {
    min-height: 42px;
    color: #f7fbff;
    font-weight: 800;
}

.gamer-header__theme .theme-switcher__option:hover,
.gamer-mobile-menu__tools .theme-switcher__option:hover,
.gamer-header__language [id^="language-dropdown"] a:hover,
.gamer-mobile-menu__tools [id^="language-dropdown"] a:hover {
    background: rgba(0, 213, 255, 0.14);
}

.gamer-notifications {
    position: relative;
}

.gamer-notifications__panel {
    position: absolute;
    right: 0;
    top: calc(100% + 12px);
    z-index: 340;
    width: min(24rem, calc(100vw - 2rem));
    overflow: hidden;
    border: 1px solid rgba(0, 213, 255, 0.24);
    border-radius: 6px;
    background: rgba(4, 10, 24, 0.98);
    box-shadow: 0 22px 58px rgba(0, 0, 0, 0.58), inset 0 0 28px rgba(0, 213, 255, 0.06);
}

.gamer-notifications__head {
    display: grid;
    gap: 3px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(0, 213, 255, 0.14);
}

.gamer-notifications__head strong {
    color: #ffffff;
    font-size: 0.88rem;
}

.gamer-notifications__head span,
.gamer-notifications__empty,
.gamer-notifications__pagination {
    color: var(--gamer-muted);
    font-size: 0.76rem;
}

.gamer-notifications__list {
    max-height: 26rem;
    overflow-y: auto;
}

.gamer-notifications__empty {
    padding: 24px 16px;
    text-align: center;
}

.gamer-notifications__pagination {
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    border-top: 1px solid rgba(0, 213, 255, 0.14);
}

.gamer-notifications__pagination button {
    border: 1px solid rgba(0, 213, 255, 0.2);
    border-radius: 10px;
    padding: 6px 10px;
    color: var(--gamer-text);
    background: rgba(12, 22, 52, 0.76);
    font-size: 0.72rem;
    font-weight: 850;
}

.gamer-notifications--mobile .gamer-notifications__panel {
    position: static;
    width: 100%;
    margin-top: 8px;
}

.gamer-notifications--mobile .gamer-notifications__pagination button {
    width: auto;
    padding: 6px 10px;
}

.gamer-chat-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: clamp(1rem, 3vw, 2rem);
}

.gamer-chat-modal.hidden {
    display: none;
}

.gamer-chat-modal__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(6, 9, 16, 0.72);
    backdrop-filter: blur(10px);
}

.gamer-chat-modal__panel {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(1040px, 100%);
    height: min(720px, calc(100dvh - 2rem));
    overflow: hidden;
    border: 1px solid rgba(94, 234, 212, 0.22);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(10, 18, 30, 0.98), rgba(21, 16, 34, 0.96)), var(--color-bg-header);
    box-shadow: 0 24px 80px rgba(2, 6, 23, 0.56), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.gamer-chat-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.gamer-chat-modal__eyebrow {
    margin: 0 0 0.15rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: #67e8f9;
}

.gamer-chat-modal__head h2 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-text-primary);
}

.gamer-chat-modal__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.78);
    color: var(--color-text-secondary);
    transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.gamer-chat-modal__close:hover,
.gamer-chat-modal__close:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(248, 113, 113, 0.55);
    color: #fecaca;
}

.gamer-chat-modal__tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.gamer-chat-modal__tabs button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 2.75rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.66);
    color: var(--color-text-secondary);
    font-size: 0.85rem;
    font-weight: 800;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.gamer-chat-modal__tabs button:hover,
.gamer-chat-modal__tabs button:focus-visible,
.gamer-chat-modal__tabs button.is-active {
    transform: translateY(-1px);
    border-color: rgba(34, 211, 238, 0.45);
    background: rgba(8, 145, 178, 0.18);
    color: var(--color-text-primary);
}

.gamer-chat-modal__body,
.gamer-chat-modal__pane {
    min-height: 0;
    flex: 1;
}

.gamer-chat-modal__pane {
    display: flex;
    flex-direction: column;
}

.gamer-chat-modal__pane.hidden {
    display: none;
}

.gamer-chat-modal__messages {
    min-height: 0;
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    background: rgba(2, 6, 23, 0.28);
}

.gamer-chat-modal__message {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.gamer-chat-modal__message.is-own {
    justify-content: flex-end;
}

.gamer-chat-modal__avatar,
.gamer-chat-modal__avatar-fallback,
.gamer-chat-modal__thread-user span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    flex: 0 0 2.25rem;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.8);
    color: var(--color-text-secondary);
    font-size: 0.8rem;
    font-weight: 800;
}

.gamer-chat-modal__avatar img,
.gamer-chat-modal__thread-user span img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gamer-chat-modal__bubble {
    max-width: min(620px, 82%);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.7);
    padding: 0.7rem 0.85rem;
    color: var(--color-text-primary);
}

.gamer-chat-modal__message.is-own .gamer-chat-modal__bubble {
    border-color: rgba(168, 85, 247, 0.35);
    background: rgba(88, 28, 135, 0.34);
}

.gamer-chat-modal__bubble-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
    font-size: 0.72rem;
    color: var(--color-text-secondary);
}

.gamer-chat-modal__bubble-head a,
.gamer-chat-modal__user-card a,
.gamer-chat-modal__thread-user {
    color: var(--color-text-primary);
    text-decoration: none;
}

.gamer-chat-modal__bubble-head a:hover,
.gamer-chat-modal__user-card a:hover,
.gamer-chat-modal__thread-user:hover {
    color: #67e8f9;
}

.gamer-chat-modal__bubble p {
    margin: 0;
    overflow-wrap: anywhere;
    font-size: 0.9rem;
    line-height: 1.45;
}

.gamer-chat-modal__bubble img {
    display: block;
    max-width: 100%;
    max-height: 18rem;
    margin-top: 0.6rem;
    border-radius: 10px;
}

.gamer-chat-modal__bubble-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.55rem;
}

.gamer-chat-modal__bubble-actions button,
.gamer-chat-modal__bubble-actions a,
.gamer-chat-modal__chip,
.gamer-chat-modal__results button {
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    color: var(--color-text-secondary);
    font-size: 0.72rem;
    font-weight: 800;
}

.gamer-chat-modal__bubble-actions button,
.gamer-chat-modal__bubble-actions a {
    padding: 0.35rem 0.55rem;
}

.gamer-chat-modal__composer {
    padding: 0.85rem 1rem 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(15, 23, 42, 0.72);
}

.gamer-chat-modal__composer form {
    display: flex;
    gap: 0.6rem;
}

.gamer-chat-modal__composer input[type="text"],
.gamer-chat-modal__search input {
    width: 100%;
    min-width: 0;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 10px;
    background: rgba(2, 6, 23, 0.5);
    color: var(--color-text-primary);
    padding: 0.75rem 0.85rem;
    outline: none;
}

.gamer-chat-modal__composer input:focus,
.gamer-chat-modal__search input:focus {
    border-color: rgba(34, 211, 238, 0.55);
}

.gamer-chat-modal__composer form > button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    min-width: 2.75rem;
    border: 1px solid rgba(34, 211, 238, 0.32);
    border-radius: 10px;
    background: rgba(8, 145, 178, 0.22);
    color: #cffafe;
}

.gamer-chat-modal__composer form > button:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.gamer-chat-modal__mention-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(14rem, 18rem);
    gap: 0.75rem;
    align-items: end;
    margin-bottom: 0.7rem;
}

.gamer-chat-modal__chips {
    display: flex;
    min-height: 2.75rem;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
}

.gamer-chat-modal__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.38rem 0.55rem;
}

.gamer-chat-modal__chip button {
    color: #fecaca;
}

.gamer-chat-modal__search {
    position: relative;
    display: grid;
    gap: 0.35rem;
}

.gamer-chat-modal__search label {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--color-text-secondary);
}

.gamer-chat-modal__results {
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0;
    left: 0;
    z-index: 2;
    max-height: 16rem;
    overflow-y: auto;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.98);
    box-shadow: 0 16px 48px rgba(2, 6, 23, 0.45);
}

.gamer-chat-modal__results.hidden {
    display: none;
}

.gamer-chat-modal__results button {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 0.65rem;
    border: 0;
    border-radius: 0;
    padding: 0.65rem 0.75rem;
    text-align: left;
}

.gamer-chat-modal__results button:hover,
.gamer-chat-modal__results button:focus-visible {
    background: rgba(8, 145, 178, 0.18);
    color: var(--color-text-primary);
}

.gamer-chat-modal__private-grid {
    display: grid;
    grid-template-columns: minmax(16rem, 20rem) minmax(0, 1fr);
    min-height: 0;
    flex: 1;
}

.gamer-chat-modal__sidebar {
    display: flex;
    min-height: 0;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    border-right: 1px solid rgba(148, 163, 184, 0.16);
}

.gamer-chat-modal__conversations {
    min-height: 0;
    overflow-y: auto;
}

.gamer-chat-modal__user-card {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    width: 100%;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.58);
    padding: 0.65rem;
    color: var(--color-text-primary);
    text-align: left;
}

.gamer-chat-modal__user-card:hover,
.gamer-chat-modal__user-card:focus-visible {
    border-color: rgba(34, 211, 238, 0.44);
}

.gamer-chat-modal__user-card small {
    display: block;
    margin-top: 0.15rem;
    color: var(--color-text-secondary);
}

.gamer-chat-modal__thread {
    display: flex;
    min-height: 0;
    flex-direction: column;
}

.gamer-chat-modal__thread-head {
    display: flex;
    min-height: 4rem;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.gamer-chat-modal__thread-user {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.gamer-chat-modal__thread-user.hidden,
.gamer-chat-modal__thread-empty.hidden,
.gamer-chat-modal__image-preview.hidden {
    display: none;
}

.gamer-chat-modal__thread-empty,
.gamer-chat-modal__state {
    color: var(--color-text-secondary);
    font-size: 0.85rem;
}

.gamer-chat-modal__image-preview {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.65rem;
    border: 1px solid rgba(34, 211, 238, 0.28);
    border-radius: 10px;
    background: rgba(8, 145, 178, 0.12);
    padding: 0.5rem;
}

.gamer-chat-modal__image-preview img {
    width: 3rem;
    height: 3rem;
    border-radius: 8px;
    object-fit: cover;
}

@media (max-width: 820px) {
    .gamer-chat-modal {
        padding: 0;
    }

    .gamer-chat-modal__panel {
        width: 100%;
        height: 100dvh;
        border-radius: 0;
    }

    .gamer-chat-modal__private-grid {
        grid-template-columns: 1fr;
    }

    .gamer-chat-modal__sidebar {
        max-height: 16rem;
        border-right: 0;
        border-bottom: 1px solid rgba(148, 163, 184, 0.16);
    }

    .gamer-chat-modal__mention-row {
        grid-template-columns: 1fr;
    }
}

.gamer-chat-page {
    width: min(1420px, calc(100% - 40px));
    margin: 0 auto;
    padding: 28px 0 44px;
}

.gamer-chat-page__hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    min-height: 168px;
    width: 100%;
    margin: 0 0 18px;
    padding: 28px;
    border: 1px solid rgba(0, 213, 255, 0.2);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(0, 213, 255, 0.18), transparent 38%),
        linear-gradient(90deg, rgba(5, 16, 34, 0.96), rgba(10, 18, 42, 0.9)),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 9px);
    box-shadow: inset 0 0 40px rgba(0, 213, 255, 0.08), 0 24px 60px rgba(0, 0, 0, 0.28);
    overflow: hidden;
}

.gamer-chat-page__hero::after {
    content: "";
    position: absolute;
    right: -5rem;
    bottom: -6rem;
    width: 22rem;
    height: 22rem;
    border: 1px solid rgba(0, 213, 255, 0.18);
    transform: rotate(24deg);
    pointer-events: none;
}

.gamer-chat-page__hero-copy,
.gamer-chat-page__hero-signal {
    position: relative;
    z-index: 1;
}

.gamer-chat-page__eyebrow,
.gamer-chat-page__room-head p {
    margin: 0 0 8px;
    color: var(--gamer-cyan);
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.gamer-chat-page__hero h1 {
    margin: 0;
    color: var(--gamer-text);
    font-size: clamp(2rem, 5vw, 4.2rem);
    font-weight: 950;
    line-height: 0.94;
    text-transform: uppercase;
}

.gamer-chat-page__hero p {
    max-width: 44rem;
    margin: 12px 0 0;
    color: #b8c8de;
    font-size: 1rem;
}

.gamer-chat-page__hero-signal {
    min-width: 13rem;
    display: grid;
    grid-template-columns: 4.4rem 1fr;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(0, 213, 255, 0.28);
    border-radius: 8px;
    background: rgba(3, 9, 22, 0.72);
}

.gamer-chat-page__hero-signal img {
    grid-row: span 2;
    width: 4.4rem;
    height: 4.4rem;
    object-fit: contain;
}

.gamer-chat-page__hero-signal span {
    color: #87f8bd;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.gamer-chat-page__hero-signal strong {
    color: #ffffff;
    font-size: 2rem;
    line-height: 1;
}

.gamer-chat-page__shell {
    display: grid;
    grid-template-columns: minmax(17rem, 0.32fr) minmax(0, 1fr);
    min-height: min(72vh, 760px);
    border: 1px solid rgba(65, 82, 112, 0.55);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(6, 14, 31, 0.96), rgba(3, 8, 19, 0.96)),
        rgba(4, 10, 24, 0.95);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.36), inset 0 0 28px rgba(0, 213, 255, 0.05);
    overflow: hidden;
}

.gamer-chat-page__rail {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
    border-right: 1px solid rgba(65, 82, 112, 0.42);
    background:
        linear-gradient(180deg, rgba(14, 25, 52, 0.72), rgba(5, 11, 25, 0.84)),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 10px);
}

.gamer-chat-page__switcher {
    display: grid;
    gap: 8px;
}

.gamer-chat-page__switcher button,
.gamer-chat-page__conversations .gamer-chat-modal__user-card {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(91, 108, 141, 0.46);
    border-radius: 6px;
    padding: 0 12px;
    color: #dce8f7;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 50%),
        rgba(8, 17, 38, 0.86);
    font-size: 0.78rem;
    font-weight: 900;
    text-align: left;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color 170ms ease, box-shadow 170ms ease, transform 170ms ease, color 170ms ease;
}

.gamer-chat-page__switcher button:hover,
.gamer-chat-page__switcher button:focus-visible,
.gamer-chat-page__switcher button.is-active,
.gamer-chat-page__conversations .gamer-chat-modal__user-card:hover,
.gamer-chat-page__conversations .gamer-chat-modal__user-card:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(0, 213, 255, 0.72);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(0, 213, 255, 0.16), inset 0 0 16px rgba(0, 213, 255, 0.08);
}

.gamer-chat-page__switcher button.is-active {
    background:
        linear-gradient(135deg, rgba(0, 213, 255, 0.18), transparent 52%),
        rgba(8, 24, 48, 0.94);
}

.gamer-chat-page__search {
    position: relative;
    display: grid;
    gap: 7px;
}

.gamer-chat-page__search label {
    color: #8798b7;
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.gamer-chat-page__search input {
    width: 100%;
    min-height: 42px;
    border: 1px solid rgba(91, 108, 141, 0.48);
    border-radius: 6px;
    padding: 0 12px;
    color: #eef6ff;
    background: rgba(2, 8, 20, 0.78);
    outline: none;
}

.gamer-chat-page__search input:focus {
    border-color: rgba(0, 213, 255, 0.72);
    box-shadow: 0 0 0 3px rgba(0, 213, 255, 0.12);
}

.gamer-chat-page__conversations {
    min-height: 0;
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
}

.gamer-chat-page__conversations .gamer-chat-modal__user-card {
    min-height: 58px;
    text-transform: none;
}

.gamer-chat-page__conversations .gamer-chat-modal__user-card span:not(.gamer-chat-modal__avatar) {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.gamer-chat-page__conversations .gamer-chat-modal__user-card strong,
.gamer-chat-page__conversations .gamer-chat-modal__user-card small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gamer-chat-page__conversations .gamer-chat-modal__user-card small {
    color: #8fa0bc;
    font-size: 0.74rem;
}

.gamer-chat-page__room {
    min-width: 0;
    min-height: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    background:
        radial-gradient(circle at top right, rgba(43, 126, 255, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(6, 14, 31, 0.9), rgba(3, 8, 19, 0.94));
}

.gamer-chat-page__room-head {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(65, 82, 112, 0.38);
}

.gamer-chat-page__room-head h2 {
    margin: 0;
    color: #f7fbff;
    font-size: 1.15rem;
    font-weight: 950;
    text-transform: uppercase;
}

.gamer-chat-page__room-head > span,
.gamer-chat-page__empty-title {
    color: #8fa0bc;
    font-size: 0.78rem;
    font-weight: 800;
}

.gamer-chat-page__active-user {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #f7fbff;
    text-decoration: none;
}

.gamer-chat-page__messages {
    min-height: 26rem;
    display: flex;
    flex-direction: column;
    gap: 13px;
    padding: 22px;
    overflow-y: auto;
}

.gamer-chat-page .gamer-chat-modal__message {
    max-width: min(42rem, 86%);
}

.gamer-chat-page .gamer-chat-modal__message.is-own {
    align-self: flex-end;
}

.gamer-chat-page .gamer-chat-modal__bubble {
    border-radius: 8px;
    background: rgba(9, 18, 39, 0.86);
}

.gamer-chat-page .gamer-chat-modal__message.is-own .gamer-chat-modal__bubble {
    background:
        linear-gradient(135deg, rgba(0, 213, 255, 0.18), transparent 55%),
        rgba(13, 35, 63, 0.92);
}

.gamer-chat-page__composer {
    display: grid;
    gap: 10px;
    padding: 16px 18px;
    border-top: 1px solid rgba(65, 82, 112, 0.38);
    background: rgba(4, 10, 24, 0.86);
}

.gamer-chat-page__mention-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(14rem, 0.46fr);
    align-items: end;
    gap: 12px;
}

.gamer-chat-page__chips {
    min-height: 42px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.gamer-chat-page__composer form {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
}

.gamer-chat-page__composer form[data-chat-form="global"] {
    grid-template-columns: minmax(0, 1fr) auto;
}

.gamer-chat-page__composer input[type="text"] {
    min-height: 48px;
    border: 1px solid rgba(91, 108, 141, 0.48);
    border-radius: 6px;
    padding: 0 14px;
    color: #eef6ff;
    background: rgba(2, 8, 20, 0.86);
    outline: none;
}

.gamer-chat-page__composer input[type="text"]:focus {
    border-color: rgba(0, 213, 255, 0.72);
    box-shadow: 0 0 0 3px rgba(0, 213, 255, 0.12);
}

.gamer-chat-page__composer button {
    min-width: 48px;
    min-height: 48px;
    border: 1px solid rgba(0, 213, 255, 0.44);
    border-radius: 6px;
    color: rgba(214, 229, 247, 0.72);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 48%),
        rgba(10, 19, 40, 0.9);
    cursor: pointer;
    opacity: 0.72;
    transition: transform 170ms ease, border-color 170ms ease, background 170ms ease, box-shadow 170ms ease, color 170ms ease, opacity 170ms ease;
}

.gamer-chat-page__composer button.is-ready {
    border-color: rgba(0, 213, 255, 0.86);
    color: #00111c;
    background: linear-gradient(135deg, var(--gamer-cyan), var(--gamer-blue));
    opacity: 1;
    box-shadow: 0 0 24px rgba(0, 213, 255, 0.28), inset 0 0 16px rgba(255, 255, 255, 0.22);
}

.gamer-chat-page__composer button:hover,
.gamer-chat-page__composer button:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 0 22px rgba(0, 213, 255, 0.32);
}

.gamer-chat-page__composer button.is-ready:hover,
.gamer-chat-page__composer button.is-ready:focus-visible {
    box-shadow: 0 0 30px rgba(0, 213, 255, 0.44), inset 0 0 16px rgba(255, 255, 255, 0.26);
}

.gamer-chat-page__composer button:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.gamer-chat-page__shell--global {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: none;
    height: clamp(560px, calc(100vh - 280px), 860px);
    min-height: 0;
    margin: 0;
    border-radius: 8px;
    border-color: rgba(0, 213, 255, 0.28);
    background:
        linear-gradient(180deg, rgba(7, 16, 34, 0.96), rgba(3, 8, 19, 0.98)),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 11px);
}

.gamer-chat-page__shell--global .gamer-chat-page__room {
    min-height: 0;
    height: 100%;
}

.gamer-chat-page__shell--global .gamer-chat-page__room-head {
    min-height: 82px;
    padding: 18px min(40px, 4vw);
    background:
        linear-gradient(90deg, rgba(0, 213, 255, 0.13), transparent 62%),
        rgba(5, 13, 30, 0.78);
}

.gamer-chat-page__shell--global .gamer-chat-page__room-head h2 {
    font-size: 1.35rem;
}

.gamer-chat-page__shell--global .gamer-chat-page__messages {
    min-height: 0;
    max-height: none;
    padding: 24px min(40px, 4vw);
    overflow-y: auto;
    background:
        radial-gradient(circle at 14% 0%, rgba(0, 213, 255, 0.1), transparent 30%),
        linear-gradient(180deg, rgba(3, 8, 18, 0.18), rgba(3, 8, 18, 0.52));
}

.gamer-chat-page__shell--global .gamer-chat-page__composer {
    gap: 12px;
    padding: 16px min(40px, 4vw) 18px;
    background:
        linear-gradient(180deg, rgba(5, 12, 27, 0.92), rgba(2, 7, 17, 0.98)),
        rgba(2, 7, 17, 0.96);
    box-shadow: 0 -18px 42px rgba(0, 0, 0, 0.22);
}

.gamer-chat-page__shell--global .gamer-chat-page__composer form[data-chat-form="global"] {
    grid-template-columns: minmax(0, 1fr) 3.5rem;
}

.gamer-chat-page__shell--global .gamer-chat-page__composer input[type="text"] {
    min-height: 54px;
    border-color: rgba(0, 213, 255, 0.32);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent 48%),
        rgba(2, 8, 20, 0.92);
    font-size: 0.98rem;
}

.gamer-chat-page__shell--global .gamer-chat-page__composer button {
    min-height: 54px;
    min-width: 54px;
    border-radius: 8px;
}

.gamer-chat-page__shell--global .gamer-chat-modal__message {
    max-width: min(44rem, 84%);
}

.gamer-chat-page__shell--global .gamer-chat-modal__bubble {
    border: 1px solid rgba(91, 108, 141, 0.3);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

@media (max-width: 900px) {
    .gamer-chat-page {
        width: min(100% - 20px, 1180px);
        padding: 16px 0 30px;
    }

    .gamer-chat-page__hero {
        grid-template-columns: 1fr;
        min-height: auto;
        width: 100%;
        padding: 20px;
    }

    .gamer-chat-page__hero h1 {
        font-size: 2.4rem;
    }

    .gamer-chat-page__hero-signal {
        width: 100%;
        min-width: 0;
    }

    .gamer-chat-page__shell {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .gamer-chat-page__rail {
        border-right: 0;
        border-bottom: 1px solid rgba(65, 82, 112, 0.42);
    }

    .gamer-chat-page__switcher {
        grid-template-columns: 1fr 1fr;
    }

    .gamer-chat-page__conversations {
        max-height: 16rem;
    }

    .gamer-chat-page__messages {
        min-height: 24rem;
        max-height: 58vh;
        padding: 16px;
    }

    .gamer-chat-page__mention-row {
        grid-template-columns: 1fr;
    }

    .gamer-chat-page__shell--global,
    .gamer-chat-page__shell--global .gamer-chat-page__room {
        height: calc(100vh - 230px);
        min-height: 480px;
    }

    .gamer-chat-page__shell--global .gamer-chat-page__messages {
        min-height: 0;
        max-height: none;
        padding: 16px;
    }
}

@media (max-width: 560px) {
    .gamer-chat-page__hero p,
    .gamer-chat-page__room-head > span {
        display: none;
    }

    .gamer-chat-page__switcher button {
        min-height: 44px;
        justify-content: center;
        padding: 0 8px;
        font-size: 0.68rem;
        text-align: center;
    }

    .gamer-chat-page__room-head {
        min-height: 64px;
        padding: 14px;
    }

    .gamer-chat-page__composer {
        padding: 12px;
    }

    .gamer-chat-page__composer form {
        gap: 8px;
    }

    .gamer-chat-page .gamer-chat-modal__message {
        max-width: 96%;
    }
}

.gamer-header__bottom {
    position: relative;
    z-index: 20;
    width: min(1420px, calc(100% - 80px));
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    margin: 7px auto 0;
    padding-top: 11px;
    border-top: 1px solid rgba(0, 213, 255, 0.12);
}

.gamer-header__mobile-quick {
    display: none;
}

.gamer-header__signals,
.gamer-mode-nav,
.gamer-account-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.gamer-header__signals {
    justify-self: start;
}

.gamer-mode-nav {
    justify-self: center;
    justify-content: center;
    flex-wrap: nowrap;
}

.gamer-account-actions {
    justify-self: end;
    justify-content: flex-end;
    flex-wrap: nowrap;
}

.gamer-signal-link,
.gamer-online-pill,
.gamer-mode-nav a,
.gamer-account-actions a,
.gamer-account-actions button {
    position: relative;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(95, 114, 148, 0.38);
    border-radius: 3px;
    padding: 0 15px;
    color: #aebbd2;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.07), transparent 45%),
        linear-gradient(180deg, rgba(14, 27, 56, 0.95), rgba(5, 12, 30, 0.92));
    clip-path: polygon(0.45rem 0, 100% 0, 100% calc(100% - 0.45rem), calc(100% - 0.45rem) 100%, 0 100%, 0 0.45rem);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045), inset 0 -12px 24px rgba(0, 0, 0, 0.16);
    transition: transform 190ms cubic-bezier(0.16, 1, 0.3, 1), border-color 170ms ease, background-color 170ms ease, box-shadow 170ms ease, color 170ms ease;
}

.gamer-mode-nav a {
    --mode-accent: #55a8ff;
    --mode-accent-rgb: 85, 168, 255;
    --mode-deep: rgba(12, 36, 76, 0.96);
    border-color: rgba(var(--mode-accent-rgb), 0.36);
    background:
        linear-gradient(135deg, rgba(var(--mode-accent-rgb), 0.16), transparent 50%),
        linear-gradient(180deg, var(--mode-deep), rgba(5, 12, 30, 0.94));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.055),
        inset 0 -12px 24px rgba(0, 0, 0, 0.16),
        0 0 0 1px rgba(var(--mode-accent-rgb), 0.04);
}

.gamer-mode-nav a[data-mode="games"] {
    --mode-accent: #68a7ff;
    --mode-accent-rgb: 104, 167, 255;
    --mode-deep: rgba(11, 30, 65, 0.96);
}

.gamer-mode-nav a[data-mode="shop"] {
    --mode-accent: #ba8cff;
    --mode-accent-rgb: 186, 140, 255;
    --mode-deep: rgba(34, 21, 70, 0.95);
}

.gamer-mode-nav a[data-mode="fast"] {
    --mode-accent: #ffd166;
    --mode-accent-rgb: 255, 209, 102;
    --mode-deep: rgba(63, 45, 10, 0.94);
}

.gamer-mode-nav a[data-mode="coop"] {
    --mode-accent: #36f5a2;
    --mode-accent-rgb: 54, 245, 162;
    --mode-deep: rgba(7, 55, 44, 0.94);
}

.gamer-mode-nav a[data-mode="pvp"] {
    --mode-accent: #ff5f7f;
    --mode-accent-rgb: 255, 95, 127;
    --mode-deep: rgba(70, 15, 31, 0.95);
}

.gamer-mode-nav a[data-mode="party"] {
    --mode-accent: #ffb84d;
    --mode-accent-rgb: 255, 184, 77;
    --mode-deep: rgba(64, 39, 10, 0.95);
}

.gamer-mode-nav a i {
    color: var(--mode-accent);
    filter: drop-shadow(0 0 7px rgba(var(--mode-accent-rgb), 0.46));
}

.gamer-signal-link::before,
.gamer-mode-nav a::before,
.gamer-account-actions a::before,
.gamer-account-actions button::before,
.gamer-icon-button::before,
.gamer-menu-button::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(0, 213, 255, 0.16), transparent);
    transform: translateX(-120%);
    transition: transform 360ms cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.gamer-signal-link:hover::before,
.gamer-signal-link:focus-visible::before,
.gamer-mode-nav a:hover::before,
.gamer-mode-nav a:focus-visible::before,
.gamer-account-actions a:hover::before,
.gamer-account-actions a:focus-visible::before,
.gamer-account-actions button:hover::before,
.gamer-account-actions button:focus-visible::before,
.gamer-icon-button:hover::before,
.gamer-icon-button:focus-visible::before,
.gamer-menu-button:hover::before {
    transform: translateX(120%);
}

.gamer-signal-link:hover,
.gamer-signal-link:focus-visible,
.gamer-mode-nav a:hover,
.gamer-mode-nav a:focus-visible,
.gamer-mode-nav a.is-active,
.gamer-account-actions a:hover,
.gamer-account-actions a:focus-visible,
.gamer-account-actions button:hover,
.gamer-account-actions button:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(0, 213, 255, 0.62);
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(0, 213, 255, 0.18), transparent 48%),
        linear-gradient(180deg, rgba(16, 38, 74, 0.97), rgba(6, 16, 40, 0.95));
    box-shadow: 0 0 18px rgba(0, 213, 255, 0.2), inset 0 0 18px rgba(0, 213, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.gamer-mode-nav a:hover,
.gamer-mode-nav a:focus-visible,
.gamer-mode-nav a.is-active {
    border-color: rgba(var(--mode-accent-rgb), 0.8);
    background:
        linear-gradient(135deg, rgba(var(--mode-accent-rgb), 0.26), transparent 48%),
        linear-gradient(180deg, rgba(var(--mode-accent-rgb), 0.18), var(--mode-deep));
    box-shadow:
        0 0 20px rgba(var(--mode-accent-rgb), 0.24),
        inset 0 0 20px rgba(var(--mode-accent-rgb), 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.gamer-online-pill i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gamer-green);
    box-shadow: 0 0 12px rgba(50, 255, 126, 0.75);
}

.gamer-mode-nav a span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    min-height: 1.25rem;
    border-radius: 999px;
    padding: 1px 5px;
    background: linear-gradient(135deg, var(--mode-accent), rgba(var(--mode-accent-rgb), 0.7));
    color: #00111c;
    font-size: 0.68rem;
    text-align: center;
    box-shadow: 0 0 12px rgba(var(--mode-accent-rgb), 0.48);
}

.gamer-account-actions form {
    margin: 0;
}

.gamer-account-actions button {
    cursor: pointer;
}

.gamer-mobile-menu {
    width: min(1400px, calc(100% - 16px));
    margin: 10px auto 0;
    border: 1px solid rgba(0, 213, 255, 0.22);
    border-radius: 4px;
    background:
        linear-gradient(135deg, rgba(0, 213, 255, 0.08), transparent 42%),
        rgba(3, 7, 20, 0.98);
    overflow: visible;
}

.gamer-mobile-menu__bar,
.gamer-mobile-menu__nav,
.gamer-mobile-menu__tools {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.gamer-mobile-menu__bar {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    align-items: stretch;
    gap: 8px;
    padding: 14px 0 0;
}

.gamer-mobile-menu__nav {
    display: grid;
    gap: 10px;
    padding: 14px 0;
}

.gamer-mobile-menu__bar a,
.gamer-mobile-menu__bar button,
.gamer-mobile-menu__nav a,
.gamer-mobile-menu__nav button {
    position: relative;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 14px;
    border: 1px solid rgba(101, 119, 152, 0.28);
    border-radius: 4px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.055), transparent 48%),
        rgba(12, 22, 52, 0.62);
    color: #d8e4f7;
    text-align: center;
    text-decoration: none;
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    clip-path: polygon(0.45rem 0, 100% 0, 100% calc(100% - 0.45rem), calc(100% - 0.45rem) 100%, 0 100%, 0 0.45rem);
}

.gamer-mobile-menu__bar a:hover,
.gamer-mobile-menu__bar button:hover,
.gamer-mobile-menu__nav a:hover,
.gamer-mobile-menu__nav button:hover,
.gamer-mobile-menu__bar a:focus-visible,
.gamer-mobile-menu__bar button:focus-visible,
.gamer-mobile-menu__nav a:focus-visible,
.gamer-mobile-menu__nav button:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(189, 205, 232, 0.42);
    color: #ffffff;
    box-shadow: 0 0 18px rgba(0, 213, 255, 0.14), inset 0 0 14px rgba(255, 255, 255, 0.04);
}

.gamer-mobile-menu__burger {
    padding: 0;
    font-size: 1rem;
}

.gamer-mobile-menu__featured {
    min-width: 0;
}

.gamer-mobile-menu__section {
    display: grid;
    gap: 8px;
    padding: 10px;
    border: 1px solid rgba(101, 119, 152, 0.16);
    background: rgba(3, 8, 22, 0.42);
}

.gamer-mobile-menu__section--primary,
.gamer-mobile-menu__section--account {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gamer-mobile-menu__section--secondary {
    grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
    background: rgba(3, 8, 22, 0.24);
}

.gamer-mobile-menu__section--secondary a {
    min-height: 40px;
    border-color: rgba(101, 119, 152, 0.18);
    background: rgba(8, 16, 35, 0.52);
    color: #aebbd2;
    font-size: 0.68rem;
}

.gamer-mobile-menu__section--account .gamer-notifications,
.gamer-mobile-menu__section--account form {
    min-width: 0;
}

.gamer-mobile-menu__section--account .gamer-notifications > button,
.gamer-mobile-menu__section--account form button {
    width: 100%;
}

.gamer-mobile-menu__section--account .gamer-notifications__panel {
    grid-column: 1 / -1;
}

.gamer-mobile-menu__link--active,
.gamer-mobile-menu__nav a[aria-current="page"],
.gamer-mobile-menu__bar a[aria-current="page"] {
    border-color: rgba(216, 231, 255, 0.48);
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.095), transparent 48%),
        rgba(23, 34, 58, 0.82);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), inset 0 0 18px rgba(255, 255, 255, 0.035);
}

.gamer-mobile-menu__nav form {
    margin: 0;
}

.gamer-mobile-menu__nav form button {
    width: 100%;
}

.gamer-mobile-menu__tools {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    align-items: stretch;
    justify-content: space-between;
    gap: 12px;
    padding: 0 0 16px;
}

.gamer-home {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(rgba(0, 213, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 213, 255, 0.03) 1px, transparent 1px),
        radial-gradient(ellipse at 24% 16%, rgba(0, 213, 255, 0.14), transparent 34%),
        radial-gradient(ellipse at 82% 30%, rgba(157, 78, 221, 0.16), transparent 38%),
        linear-gradient(180deg, #020812 0%, #06101d 42%, #020711 100%);
    background-size: 24px 24px, 24px 24px, auto, auto, auto;
}

.gamer-hero {
    position: relative;
    min-height: 740px;
    padding: 36px 0 30px;
}

.gamer-hero__background {
    position: absolute;
    inset: 0 calc(50% - 50vw);
    overflow: hidden;
    background:
        linear-gradient(rgba(0, 213, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 213, 255, 0.035) 1px, transparent 1px),
        radial-gradient(ellipse at 58% 18%, rgba(0, 213, 255, 0.2), transparent 28%),
        radial-gradient(ellipse at 82% 42%, rgba(157, 78, 221, 0.18), transparent 32%),
        linear-gradient(90deg, rgba(2, 7, 17, 0.96) 0%, rgba(2, 7, 17, 0.72) 32%, rgba(2, 7, 17, 0.2) 64%, rgba(2, 7, 17, 0.52) 100%),
        url("../images/themes/gamer-world-map-hero.png") center top / cover no-repeat;
    background-size: 28px 28px, 28px 28px, auto, auto, auto, cover;
    opacity: 0.88;
    filter: saturate(1.05) contrast(1.1);
}

.gamer-hero__background::before,
.gamer-hero__background::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.gamer-hero__background::before {
    background:
        radial-gradient(circle at 48% 14%, rgba(0, 213, 255, 0.95) 0 2px, transparent 3px),
        radial-gradient(circle at 62% 26%, rgba(0, 213, 255, 0.86) 0 2px, transparent 3px),
        radial-gradient(circle at 74% 34%, rgba(157, 78, 221, 0.9) 0 2px, transparent 3px),
        radial-gradient(circle at 85% 54%, rgba(224, 86, 253, 0.82) 0 2px, transparent 3px),
        radial-gradient(circle at 56% 58%, rgba(0, 213, 255, 0.72) 0 2px, transparent 3px);
    filter: drop-shadow(0 0 12px rgba(0, 213, 255, 0.68));
}

.gamer-hero__background::after {
    background:
        radial-gradient(ellipse at 64% 28%, transparent 0 31%, rgba(0, 213, 255, 0.28) 32%, transparent 33%),
        radial-gradient(ellipse at 76% 45%, transparent 0 28%, rgba(224, 86, 253, 0.24) 29%, transparent 30%),
        linear-gradient(180deg, rgba(2, 7, 17, 0) 0%, rgba(2, 7, 17, 0.72) 100%);
    mix-blend-mode: screen;
    opacity: 0.78;
}

.gamer-hero__grid {
    position: relative;
    min-height: 520px;
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
    align-items: center;
    gap: 32px;
}

.gamer-hero__copy {
    max-width: 620px;
    padding-top: 20px;
}

.gamer-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding: 9px 14px;
    border: 1px solid rgba(0, 213, 255, 0.24);
    border-radius: 12px;
    color: var(--gamer-muted);
    background: rgba(10, 20, 47, 0.62);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.gamer-kicker i {
    color: var(--gamer-cyan);
}

.gamer-kicker--compact {
    margin-bottom: 14px;
    border-color: rgba(50, 255, 126, 0.28);
    background: rgba(7, 18, 31, 0.76);
}

.gamer-hero__title {
    margin: 0;
    color: #ffffff;
    font-size: 4.25rem;
    line-height: 0.98;
    font-weight: 950;
    letter-spacing: 0;
    text-shadow: 0 0 30px rgba(0, 213, 255, 0.18);
}

.gamer-hero__title span {
    color: var(--gamer-cyan);
}

.gamer-hero__text {
    max-width: 520px;
    margin: 22px 0 28px;
    color: #d8e4ff;
    font-size: 1.04rem;
    line-height: 1.62;
}

.gamer-hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.gamer-primary-action,
.gamer-secondary-action {
    min-height: 54px;
    gap: 12px;
    padding: 0 25px;
    border-radius: 12px;
    font-weight: 950;
}

.gamer-primary-action {
    color: #ffffff;
    border-color: rgba(0, 213, 255, 0.64);
    background: linear-gradient(135deg, var(--gamer-cyan), var(--gamer-blue), var(--gamer-violet));
    box-shadow: 0 14px 36px rgba(0, 213, 255, 0.24);
}

.gamer-secondary-action {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(9, 16, 38, 0.76);
}

.gamer-hero__features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 28px;
}

.gamer-hero__features span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--gamer-muted);
    font-size: 0.78rem;
    font-weight: 800;
}

.gamer-hero__features i {
    color: var(--gamer-cyan);
}

.gamer-hero__visual {
    position: relative;
    min-height: 520px;
}

.gamer-hero__art {
    position: absolute;
    inset: 0 calc(50% - 50vw) 0 0;
}

.gamer-party-card {
    position: absolute;
    padding: 14px;
    border: 1px solid rgba(0, 213, 255, 0.26);
    border-radius: 14px;
    color: var(--gamer-text);
    background: rgba(5, 12, 29, 0.82);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.42), inset 0 0 30px rgba(0, 213, 255, 0.04);
}

.gamer-world-card {
    position: absolute;
    z-index: 2;
    display: grid;
    gap: 3px;
    padding: 14px 16px;
    border: 1px solid rgba(0, 213, 255, 0.3);
    border-radius: 14px;
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(10, 22, 50, 0.88), rgba(7, 12, 30, 0.78)),
        rgba(5, 12, 29, 0.86);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.44), inset 0 0 28px rgba(0, 213, 255, 0.06);
}

.gamer-world-card span,
.gamer-world-card small {
    color: var(--gamer-muted);
    font-size: 0.72rem;
    font-weight: 800;
}

.gamer-world-card strong {
    color: #ffffff;
    font-size: 1.65rem;
    line-height: 1;
    font-weight: 950;
}

.gamer-world-card > i {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 56px;
    height: 24px;
    border-right: 2px solid var(--gamer-green);
    border-top: 2px solid var(--gamer-green);
    border-radius: 50% 50% 0 0;
    opacity: 0.86;
    filter: drop-shadow(0 0 12px rgba(50, 255, 126, 0.55));
}

.gamer-world-card--profile {
    top: 112px;
    left: 10%;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    min-width: 260px;
    border-color: rgba(157, 78, 221, 0.4);
}

.gamer-world-card--profile strong {
    font-size: 0.9rem;
}

.gamer-world-card--profile > i {
    position: static;
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 50%;
    background: var(--gamer-green);
}

.gamer-world-card__avatar {
    width: 40px;
    height: 40px;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    color: #ffffff !important;
    background: linear-gradient(135deg, rgba(0, 213, 255, 0.95), rgba(157, 78, 221, 0.95));
    font-size: 1rem !important;
    font-weight: 950 !important;
}

.gamer-party-card p,
.gamer-party-card strong,
.gamer-party-card span {
    display: block;
}

.gamer-party-card p {
    margin: 0 0 5px;
    color: var(--gamer-muted);
    font-size: 0.72rem;
}

.gamer-party-card strong {
    color: #ffffff;
    font-size: 0.82rem;
}

.gamer-party-card--search {
    left: 4%;
    bottom: 106px;
    width: 270px;
    transform: rotate(2deg);
}

.gamer-party-card--invite {
    right: 2%;
    bottom: 140px;
    width: 210px;
}

.gamer-party-card--game {
    left: 12%;
    bottom: 34px;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 210px;
    border-color: rgba(224, 86, 253, 0.34);
}

.gamer-party-card--game i {
    color: #ff4d2f;
    font-size: 1.7rem;
}

.gamer-party-card--game span {
    color: var(--gamer-muted);
    font-size: 0.72rem;
}

.gamer-avatar-row {
    display: flex;
    margin-top: 12px;
}

.gamer-avatar-row span {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    margin-right: -8px;
    border: 2px solid #101936;
    border-radius: 50%;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--gamer-cyan), var(--gamer-violet));
}

.gamer-progress-line {
    height: 5px;
    margin-top: 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.09);
    overflow: hidden;
}

.gamer-progress-line span {
    width: 76%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--gamer-cyan), var(--gamer-violet));
}

.gamer-provider-strip {
    position: relative;
    display: grid;
    grid-template-columns: minmax(180px, 1fr) repeat(5, minmax(104px, 1fr));
    gap: 12px;
    align-items: center;
    padding: 16px 18px;
    border: 1px solid rgba(112, 143, 255, 0.28);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(14, 23, 55, 0.94), rgba(8, 14, 34, 0.94));
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38), inset 0 0 28px rgba(107, 86, 253, 0.08);
}

.gamer-provider-strip > span {
    color: #ffffff;
    font-size: 0.92rem;
    line-height: 1.45;
    font-weight: 950;
}

.gamer-provider-strip a {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 900;
    transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.gamer-provider-strip a:hover {
    transform: translateY(-1px);
}

.gamer-provider-link--steam {
    background: linear-gradient(135deg, rgba(23, 26, 33, 0.95), rgba(42, 71, 94, 0.86)) !important;
    box-shadow: inset 0 0 18px rgba(102, 192, 244, 0.08);
}

.gamer-provider-link--google {
    color: #202124 !important;
    background: linear-gradient(135deg, #ffffff, #e9eef8) !important;
}

.gamer-provider-link--google i {
    color: #4285f4;
}

.gamer-provider-link--discord {
    background: linear-gradient(135deg, #5865f2, #404eed) !important;
}

.gamer-provider-link--vk {
    background: linear-gradient(135deg, #0077ff, #0057c8) !important;
}

.gamer-provider-link--yandex {
    background: linear-gradient(135deg, #1b1b28, #3a1730) !important;
}

.gamer-provider-link--yandex span {
    color: #fc3f1d;
    font-size: 1.35rem;
    line-height: 1;
}

.foreign-auth-gate {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 20px;
}

.foreign-auth-gate[hidden] {
    display: none;
}

.foreign-auth-gate__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.76);
    backdrop-filter: blur(16px);
}

.foreign-auth-gate__panel {
    position: relative;
    width: min(100%, 560px);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    border: 1px solid rgba(94, 234, 212, 0.24);
    border-radius: 18px;
    padding: 30px;
    color: #f8fafc;
    background:
        linear-gradient(140deg, rgba(15, 23, 42, 0.98), rgba(24, 27, 55, 0.96)),
        radial-gradient(circle at top left, rgba(94, 234, 212, 0.18), transparent 34%),
        radial-gradient(circle at bottom right, rgba(252, 211, 77, 0.14), transparent 28%);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.52), inset 0 0 40px rgba(94, 234, 212, 0.08);
}

.foreign-auth-gate__panel:focus {
    outline: 2px solid rgba(94, 234, 212, 0.7);
    outline-offset: 4px;
}

.foreign-auth-gate__close {
    position: absolute;
    top: 16px;
    right: 16px;
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    color: #e2e8f0;
    background: rgba(15, 23, 42, 0.72);
    transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.foreign-auth-gate__close:hover,
.foreign-auth-gate__close:focus-visible {
    border-color: rgba(94, 234, 212, 0.7);
    color: #ffffff;
    transform: translateY(-1px);
}

.foreign-auth-gate__icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(94, 234, 212, 0.25);
    border-radius: 14px;
    color: #67e8f9;
    background: rgba(14, 165, 233, 0.12);
    box-shadow: inset 0 0 22px rgba(34, 211, 238, 0.1);
}

.foreign-auth-gate__eyebrow {
    margin: 18px 0 10px;
    color: #fcd34d;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.foreign-auth-gate h2 {
    margin: 0;
    max-width: 92%;
    color: #ffffff;
    font-size: 1.55rem;
    font-weight: 950;
    line-height: 1.16;
}

.foreign-auth-gate p {
    color: #cbd5e1;
    line-height: 1.65;
}

.foreign-auth-gate__hint {
    margin: 14px 0 0;
    padding: 12px 14px;
    border: 1px solid rgba(252, 211, 77, 0.24);
    border-radius: 12px;
    background: rgba(252, 211, 77, 0.08);
}

.foreign-auth-gate__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 24px;
}

.foreign-auth-gate__button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 12px 16px;
    color: #ffffff;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
    transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.foreign-auth-gate__button:hover,
.foreign-auth-gate__button:focus-visible {
    transform: translateY(-1px);
}

.foreign-auth-gate__button--primary {
    border-color: rgba(34, 211, 238, 0.46);
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.94), rgba(37, 99, 235, 0.9));
    box-shadow: 0 16px 32px rgba(8, 145, 178, 0.2);
}

.foreign-auth-gate__button--secondary {
    border-color: rgba(252, 211, 77, 0.42);
    background: linear-gradient(135deg, rgba(127, 29, 29, 0.88), rgba(88, 28, 135, 0.78));
}

.foreign-auth-gate__state[hidden] {
    display: none;
}

.foreign-auth-gate__icon--local {
    border-color: rgba(252, 211, 77, 0.32);
    color: #fcd34d;
    background: rgba(252, 211, 77, 0.1);
    box-shadow: inset 0 0 22px rgba(252, 211, 77, 0.1);
}

.foreign-auth-gate__local-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px solid rgba(94, 234, 212, 0.2);
    border-radius: 10px;
    color: #dbeafe;
    background: rgba(14, 165, 233, 0.08);
}

.foreign-auth-gate__local-notice i {
    margin-top: 3px;
    color: #67e8f9;
}

.foreign-auth-gate__provider-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.foreign-auth-gate__provider-card {
    display: flex;
    min-height: 78px;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    padding: 14px;
    color: #ffffff;
    text-decoration: none;
    transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.foreign-auth-gate__provider-card:hover,
.foreign-auth-gate__provider-card:focus-visible {
    transform: translateY(-1px);
    outline: none;
}

.foreign-auth-gate__provider-card--yandex {
    border-color: rgba(252, 63, 29, 0.38);
    background: linear-gradient(135deg, rgba(252, 63, 29, 0.18), rgba(15, 23, 42, 0.76));
}

.foreign-auth-gate__provider-card--yandex:hover,
.foreign-auth-gate__provider-card--yandex:focus-visible {
    border-color: rgba(252, 63, 29, 0.78);
    box-shadow: 0 14px 34px rgba(252, 63, 29, 0.16);
}

.foreign-auth-gate__provider-card--vk {
    border-color: rgba(0, 119, 255, 0.38);
    background: linear-gradient(135deg, rgba(0, 119, 255, 0.18), rgba(15, 23, 42, 0.76));
}

.foreign-auth-gate__provider-card--vk:hover,
.foreign-auth-gate__provider-card--vk:focus-visible {
    border-color: rgba(0, 119, 255, 0.78);
    box-shadow: 0 14px 34px rgba(0, 119, 255, 0.18);
}

.foreign-auth-gate__provider-icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 950;
    background: rgba(255, 255, 255, 0.1);
}

.foreign-auth-gate__provider-card--yandex .foreign-auth-gate__provider-icon {
    color: #fc3f1d;
    background: #ffffff;
}

.foreign-auth-gate__provider-card--vk .foreign-auth-gate__provider-icon {
    background: #0077ff;
}

.foreign-auth-gate__provider-copy {
    display: grid;
    gap: 4px;
}

.foreign-auth-gate__provider-copy strong {
    color: #ffffff;
    font-size: 0.98rem;
    line-height: 1.2;
}

.foreign-auth-gate__provider-copy small {
    color: #cbd5e1;
    font-size: 0.78rem;
    line-height: 1.35;
}

.foreign-auth-gate__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    border: 0;
    padding: 0;
    color: #93c5fd;
    font-weight: 800;
    background: transparent;
    transition: color 160ms ease, transform 160ms ease;
}

.foreign-auth-gate__back:hover,
.foreign-auth-gate__back:focus-visible {
    color: #ffffff;
    transform: translateX(-2px);
    outline: none;
}

@media (max-width: 640px) {
    .foreign-auth-gate {
        align-items: end;
        padding: 12px;
    }

    .foreign-auth-gate__panel {
        max-height: calc(100vh - 24px);
        padding: 24px 18px 18px;
        border-radius: 16px;
    }

    .foreign-auth-gate h2 {
        max-width: 100%;
        font-size: 1.28rem;
    }

    .foreign-auth-gate__actions {
        grid-template-columns: 1fr;
    }

    .foreign-auth-gate__provider-grid {
        grid-template-columns: 1fr;
    }
}

.gamer-section {
    padding: 22px 0;
}

.gamer-steps {
    padding-top: 16px;
}

.gamer-section__heading {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
}

.gamer-section__heading span {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 213, 255, 0.7), transparent);
}

.gamer-steps .gamer-section__heading {
    gap: 16px;
    margin-bottom: 8px;
}

.gamer-steps .gamer-section__heading span {
    height: 2px;
    max-width: 86px;
    background: linear-gradient(90deg, transparent, rgba(119, 65, 255, 0.85), rgba(0, 213, 255, 0.78));
    box-shadow: 0 0 16px rgba(0, 213, 255, 0.32);
}

.gamer-steps .gamer-section__heading span:first-child {
    justify-self: end;
    background: linear-gradient(90deg, transparent, rgba(119, 65, 255, 0.85), rgba(0, 213, 255, 0.78));
}

.gamer-steps .gamer-section__heading span:last-child {
    justify-self: start;
    background: linear-gradient(90deg, rgba(0, 213, 255, 0.78), rgba(119, 65, 255, 0.85), transparent);
}

.gamer-section__heading h2,
.gamer-popular__head h2,
.gamer-community h2 {
    margin: 0;
    color: #ffffff;
    font-size: 1.55rem;
    line-height: 1.15;
    font-weight: 950;
    letter-spacing: 0;
}

.gamer-steps__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 38px;
    align-items: stretch;
    padding-top: 8px;
}

.gamer-step-card,
.gamer-benefits__grid article,
.gamer-community__stats,
.gamer-chat-preview,
.gamer-online-list,
.gamer-seo-content .seo-content-block {
    border: 1px solid rgba(104, 134, 255, 0.24);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(14, 25, 58, 0.94), rgba(7, 13, 31, 0.94));
    box-shadow: inset 0 0 34px rgba(0, 213, 255, 0.05), 0 18px 42px rgba(0, 0, 0, 0.28);
}

.gamer-step-card {
    position: relative;
    min-height: 178px;
    padding: 24px 20px 18px;
    text-align: center;
    overflow: visible;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.gamer-step-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 213, 255, 0.44);
    box-shadow: inset 0 0 38px rgba(0, 213, 255, 0.07), 0 20px 52px rgba(0, 0, 0, 0.36), 0 0 26px rgba(119, 65, 255, 0.18);
}

.gamer-step-card::after {
    content: "";
    position: absolute;
    right: -26px;
    top: 50%;
    width: 13px;
    height: 13px;
    border-top: 3px solid var(--gamer-cyan);
    border-right: 3px solid var(--gamer-cyan);
    transform: translateY(-50%) rotate(45deg);
    opacity: 0.88;
    filter: drop-shadow(0 0 7px rgba(0, 213, 255, 0.8));
}

.gamer-step-card:last-child::after {
    display: none;
}

.gamer-step-card__number {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    color: #d9e5ff;
    background: radial-gradient(circle at 35% 28%, rgba(141, 168, 255, 0.55), rgba(47, 78, 168, 0.3) 56%, rgba(18, 30, 80, 0.85));
    border: 1px solid rgba(122, 149, 255, 0.4);
    font-size: 0.78rem;
    font-weight: 900;
    box-shadow: 0 0 16px rgba(95, 126, 255, 0.36);
}

.gamer-step-card i {
    color: var(--gamer-cyan);
    font-size: 2.45rem;
    line-height: 1;
    text-shadow: 0 0 20px rgba(0, 213, 255, 0.72);
}

.gamer-step-card:nth-child(even) i {
    color: var(--gamer-violet);
    text-shadow: 0 0 22px rgba(224, 86, 253, 0.74);
}

.gamer-benefits__grid i {
    color: var(--gamer-cyan);
    font-size: 2rem;
    text-shadow: 0 0 20px rgba(0, 213, 255, 0.55);
}

.gamer-step-card h3 {
    margin: 16px 0 8px;
    color: #ffffff;
    font-size: 0.98rem;
    line-height: 1.25;
    font-weight: 950;
    text-shadow: 0 0 14px rgba(255, 255, 255, 0.1);
}

.gamer-benefits__grid h3 {
    margin: 14px 0 8px;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 950;
}

.gamer-step-card p,
.gamer-benefits__grid p,
.gamer-community p {
    margin: 0;
    color: var(--gamer-muted);
    font-size: 0.82rem;
    line-height: 1.55;
}

.gamer-benefits__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.gamer-benefits__grid article {
    min-height: 154px;
    padding: 20px 16px;
    text-align: center;
}

.gamer-benefits__grid article:nth-child(2) i,
.gamer-benefits__grid article:nth-child(5) i {
    color: var(--gamer-violet);
    text-shadow: 0 0 20px rgba(157, 78, 221, 0.55);
}

.gamer-popular__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}

.gamer-popular__tools {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gamer-popular__head a,
.gamer-carousel-button {
    color: var(--gamer-cyan);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 900;
}

.gamer-carousel-button {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(0, 213, 255, 0.24);
    border-radius: 10px;
    background: rgba(8, 15, 35, 0.9);
    cursor: pointer;
}

.gamer-popular__carousel {
    overflow: hidden;
}

.gamer-popular__grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.gamer-popular__grid::-webkit-scrollbar {
    display: none;
}

.gamer-game-card {
    position: relative;
    flex: 0 0 calc((100% - 60px) / 6);
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    padding: 12px;
    border: 1px solid rgba(0, 213, 255, 0.14);
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(0, 213, 255, 0.14), rgba(157, 78, 221, 0.18)), #111b38;
    text-decoration: none;
    scroll-snap-align: start;
}

.gamer-game-card img,
.gamer-game-card__shade,
.gamer-game-card__fallback {
    position: absolute;
    inset: 0;
}

.gamer-game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 220ms ease;
}

.gamer-game-card:hover img {
    transform: scale(1.06);
}

.gamer-game-card__shade {
    background:
        linear-gradient(180deg, rgba(3, 7, 20, 0.76) 0%, rgba(3, 7, 20, 0.34) 34%, rgba(3, 7, 20, 0.94) 100%),
        rgba(3, 7, 20, 0.16);
    backdrop-filter: brightness(0.82);
}

.gamer-game-card__fallback {
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.2);
    font-size: 2.4rem;
    font-weight: 950;
    background: linear-gradient(135deg, rgba(0, 213, 255, 0.16), rgba(157, 78, 221, 0.32));
}

.gamer-game-card strong,
.gamer-game-card > span:last-child {
    position: relative;
    z-index: 1;
}

.gamer-game-card strong {
    font-size: 0.88rem;
    line-height: 1.18;
}

.gamer-game-card > span:last-child {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    color: #b9c7e9;
    font-size: 0.72rem;
}

.gamer-game-card > span:last-child i {
    color: var(--gamer-green);
    font-size: 0.48rem;
}

.gamer-popular__empty {
    width: 100%;
    min-height: 118px;
    display: grid;
    place-items: center;
    gap: 8px;
    padding: 22px;
    border: 1px solid rgba(0, 213, 255, 0.14);
    border-radius: 14px;
    color: var(--gamer-muted);
    background: rgba(8, 15, 35, 0.78);
}

.gamer-community {
    display: grid;
    grid-template-columns: 0.92fr 1.2fr 0.56fr;
    gap: 16px;
    padding: 22px 0 36px;
}

.gamer-community__stats,
.gamer-chat-preview,
.gamer-online-list {
    padding: 20px;
}

.gamer-community__numbers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 22px 0;
}

.gamer-community__numbers span {
    color: var(--gamer-muted);
    font-size: 0.74rem;
}

.gamer-community__numbers strong {
    display: block;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 950;
}

.gamer-community__join {
    gap: 10px;
    width: 100%;
    min-height: 46px;
    border-radius: 12px;
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 950;
    background: linear-gradient(135deg, #5865f2, var(--gamer-violet));
}

.gamer-chat-preview__tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: -20px -20px 16px;
    border-bottom: 1px solid rgba(0, 213, 255, 0.14);
}

.gamer-chat-preview__tabs span {
    padding: 12px 8px;
    color: var(--gamer-muted);
    text-align: center;
    font-size: 0.74rem;
    font-weight: 900;
}

.gamer-chat-preview__tabs span:first-child {
    color: var(--gamer-cyan);
    background: rgba(0, 213, 255, 0.08);
}

.gamer-chat-preview__messages {
    display: grid;
    gap: 10px;
}

.gamer-chat-preview__messages p {
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
}

.gamer-chat-preview__messages strong {
    display: block;
    margin-bottom: 3px;
    color: #a7bbff;
}

.gamer-chat-preview__input {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    padding: 11px 12px;
    border: 1px solid rgba(0, 213, 255, 0.12);
    border-radius: 10px;
    color: var(--gamer-soft);
    font-size: 0.82rem;
    background: rgba(0, 0, 0, 0.18);
}

.gamer-online-list h3 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 0.94rem;
    font-weight: 950;
}

.gamer-online-list {
    display: grid;
    align-content: start;
    gap: 9px;
}

.gamer-online-list span,
.gamer-online-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--gamer-muted);
    font-size: 0.8rem;
    text-decoration: none;
}

.gamer-online-list a {
    min-height: 28px;
    padding: 0 2px;
    border-radius: 8px;
}

.gamer-online-list a:hover {
    color: #ffffff;
    background: rgba(0, 213, 255, 0.08);
}

.gamer-online-list i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gamer-green);
    box-shadow: 0 0 12px rgba(50, 255, 126, 0.7);
}

.gamer-seo-content .seo-content-block {
    padding: 24px;
}

.gamer-footer {
    border-top: 1px solid rgba(0, 213, 255, 0.14);
    background: linear-gradient(180deg, #040916, #02050e);
}

.gamer-footer__inner {
    display: grid;
    grid-template-columns: 1.12fr 1.7fr 1fr;
    gap: 42px;
    padding: 34px 0;
}

.gamer-footer__brand {
    display: grid;
    align-content: start;
    gap: 16px;
}

.gamer-footer__brand-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gamer-footer__name,
.gamer-footer__tag,
.gamer-footer__summary,
.gamer-footer__cta p {
    margin: 0;
}

.gamer-footer__summary {
    color: var(--gamer-muted);
    font-size: 0.8rem;
    line-height: 1.45;
}

.gamer-footer__social {
    display: flex;
    gap: 10px;
}

.gamer-footer__social a {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(104, 134, 255, 0.18);
    border-radius: 10px;
    color: #d7e2ff;
    background: rgba(16, 26, 58, 0.92);
}

.gamer-footer__social a:hover {
    color: #ffffff;
    border-color: rgba(0, 213, 255, 0.46);
}

.gamer-footer__links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.gamer-footer__links div {
    display: grid;
    align-content: start;
    gap: 8px;
}

.gamer-footer__links strong,
.gamer-footer__cta strong {
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 950;
}

.gamer-footer__links a {
    color: var(--gamer-muted);
    font-size: 0.8rem;
    text-decoration: none;
}

.gamer-footer__links a:hover {
    color: var(--gamer-cyan);
}

.gamer-footer__cta {
    padding: 18px;
    border: 1px solid rgba(104, 134, 255, 0.28);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(17, 27, 64, 0.96), rgba(8, 15, 35, 0.96));
    box-shadow: inset 0 0 24px rgba(0, 213, 255, 0.05);
}

.gamer-footer__cta p {
    margin-top: 8px;
    color: var(--gamer-muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.gamer-footer__cta a {
    min-height: 38px;
    margin-top: 12px;
    padding: 0 16px;
    border-radius: 10px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--gamer-cyan), var(--gamer-violet));
    font-size: 0.82rem;
    font-weight: 950;
    justify-content: space-between;
}

.gamer-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 0 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--gamer-soft);
    font-size: 0.74rem;
}

@media (max-width: 1320px) and (min-width: 1101px) {
    .gamer-header__bar,
    .gamer-header__bottom {
        width: min(1240px, calc(100% - 32px));
        gap: 12px;
    }

    .gamer-nav {
        gap: 12px;
    }

    .gamer-header__signals,
    .gamer-mode-nav,
    .gamer-account-actions {
        gap: 6px;
    }

    .gamer-signal-link,
    .gamer-online-pill,
    .gamer-mode-nav a,
    .gamer-account-actions a,
    .gamer-account-actions button {
        min-height: 38px;
        padding: 0 10px;
        font-size: 0.68rem;
    }

    .gamer-header__language #language-switcher-btn-gamer-desktop-language {
        min-width: 160px;
    }
}

@media (max-width: 1100px) {
    .gamer-header {
        padding: 12px 0 14px;
        border-bottom: 1px solid rgba(0, 213, 255, 0.22);
        background:
            linear-gradient(180deg, rgba(2, 5, 11, 0.98), rgba(2, 7, 18, 0.94)),
            radial-gradient(circle at 8% 0, rgba(0, 213, 255, 0.16), transparent 18rem),
            radial-gradient(circle at 92% 0, rgba(0, 213, 255, 0.12), transparent 18rem);
        box-shadow: 0 16px 42px rgba(0, 0, 0, 0.58);
    }

    .gamer-header::before {
        inset: 8px;
        background:
            linear-gradient(90deg, rgba(0, 213, 255, 0.16), transparent 7rem, transparent calc(100% - 7rem), rgba(0, 213, 255, 0.14)),
            linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 26%),
            linear-gradient(180deg, rgba(9, 17, 36, 0.96), rgba(3, 9, 22, 0.95));
        filter: drop-shadow(0 0 12px rgba(0, 213, 255, 0.24));
    }

    .gamer-header::after {
        content: "";
        position: absolute;
        inset: auto 18px 14px;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--gamer-cyan), transparent 28%, transparent 72%, var(--gamer-cyan), transparent);
        filter: drop-shadow(0 0 8px rgba(0, 213, 255, 0.95));
        opacity: 0.95;
        pointer-events: none;
    }

    .gamer-header__hotspots {
        display: none;
    }

    .gamer-nav,
    .gamer-header__theme,
    .gamer-header__language,
    .gamer-header__bottom {
        display: none;
    }

    .gamer-menu-button {
        display: inline-flex;
    }

    .gamer-header__bar {
        width: min(1180px, calc(100% - 24px));
        grid-template-columns: minmax(0, 1fr) auto;
        min-height: 70px;
    }

    .gamer-brand,
    .gamer-header__actions {
        min-width: 0;
    }

    .gamer-header__actions {
        gap: 8px;
        padding: 0;
        border: 0;
        background: transparent;
        clip-path: none;
        box-shadow: none;
    }

    .gamer-brand {
        gap: 10px;
    }

    .gamer-header .gamer-brand__mark {
        width: 58px;
        height: 58px;
    }

    .gamer-header .gamer-brand__mark img {
        width: 72px;
        height: 72px;
        transform: translate(-7px, -5px);
    }

    .gamer-brand__name {
        font-size: 1.35rem;
    }

    .gamer-brand__tag {
        font-size: 0.58rem;
        max-width: 12rem;
    }

    .gamer-header__mobile-quick {
        position: relative;
        z-index: 2;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(7.4rem, 1fr));
        gap: 8px;
        width: min(100% - 24px, 34rem);
        margin: 8px auto 0;
    }

    .gamer-header__mobile-quick a,
    .gamer-header__mobile-quick button {
        min-height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        border: 1px solid rgba(0, 213, 255, 0.26);
        border-radius: 4px;
        padding: 0 10px;
        color: #d8e7ff;
        background:
            linear-gradient(135deg, rgba(0, 213, 255, 0.12), transparent 48%),
            rgba(8, 15, 35, 0.78);
        clip-path: polygon(0.45rem 0, 100% 0, 100% calc(100% - 0.45rem), calc(100% - 0.45rem) 100%, 0 100%, 0 0.45rem);
        font-size: 0.72rem;
        font-weight: 900;
        text-decoration: none;
        text-transform: uppercase;
        white-space: nowrap;
        cursor: pointer;
        transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease, background-color 170ms ease;
    }

    .gamer-header__mobile-quick a:hover,
    .gamer-header__mobile-quick button:hover,
    .gamer-header__mobile-quick a:focus-visible,
    .gamer-header__mobile-quick button:focus-visible {
        transform: translateY(-2px);
        border-color: rgba(0, 213, 255, 0.66);
        box-shadow: 0 0 18px rgba(0, 213, 255, 0.22), inset 0 0 14px rgba(0, 213, 255, 0.08);
    }

    .gamer-hero {
        min-height: auto;
    }

    .gamer-hero__grid {
        grid-template-columns: 1fr;
        min-height: 620px;
    }

    .gamer-hero__visual {
        min-height: 250px;
    }

    .gamer-party-card--invite {
        right: 0;
    }

    .gamer-provider-strip {
        grid-template-columns: repeat(3, 1fr);
    }

    .gamer-provider-strip > span {
        grid-column: 1 / -1;
    }

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

    .gamer-step-card::after {
        display: none;
    }

    .gamer-popular__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gamer-game-card {
        flex-basis: calc((100% - 24px) / 3);
    }

    .gamer-community {
        grid-template-columns: 1fr;
    }

    .gamer-footer__inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .gamer-header {
        padding: 8px 0 10px;
    }

    .gamer-header::before {
        inset: 8px 6px 12px;
    }

    .gamer-header::after {
        inset: auto 14px 12px;
    }

    .gamer-header__bar,
    .gamer-footer__inner,
    .gamer-footer__bottom,
    .gamer-hero,
    .gamer-section,
    .gamer-community,
    .gamer-mobile-menu__bar,
    .gamer-mobile-menu__nav,
    .gamer-mobile-menu__tools {
        width: min(100% - 20px, 1180px);
    }

    .gamer-header__bar {
        min-height: 60px;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px;
    }

    .gamer-brand {
        min-width: 0;
    }

    .gamer-header .gamer-brand__mark {
        width: 50px;
        height: 50px;
    }

    .gamer-header .gamer-brand__mark img {
        width: 62px;
        height: 62px;
        transform: translate(-6px, -4px);
    }

    .gamer-brand__copy {
        display: flex;
    }

    .gamer-brand__name {
        font-size: 1.12rem;
    }

    .gamer-brand__tag {
        font-size: 0.5rem;
        max-width: 9.5rem;
    }

    .gamer-icon-button,
    .gamer-menu-button {
        width: 40px;
        height: 40px;
    }

    .gamer-header__chat-button {
        width: 40px;
        min-width: 40px;
        gap: 0;
        padding: 0;
    }

    .gamer-header__chat-label {
        display: none;
    }

    .gamer-header__actions {
        gap: 6px;
    }

    .gamer-header__actions .gamer-icon-button[aria-disabled="true"] {
        display: none;
    }

    .gamer-header__actions .gamer-notifications__panel {
        position: fixed;
        top: 76px;
        right: 10px;
        left: 10px;
        width: auto;
    }

    .gamer-login-link {
        min-height: 38px;
        padding: 0 12px;
    }

    .gamer-login-link span {
        display: none;
    }

    .gamer-header__mobile-quick {
        grid-template-columns: 1fr 1fr;
        width: min(100% - 20px, 26rem);
    }

    .gamer-header__mobile-quick a,
    .gamer-header__mobile-quick button {
        min-height: 36px;
        font-size: 0.66rem;
    }

    .gamer-header__mobile-quick > :last-child {
        grid-column: auto;
    }

    .gamer-mobile-menu__bar {
        grid-template-columns: 42px minmax(0, 1fr) 42px;
    }

    .gamer-mobile-menu__section--primary,
    .gamer-mobile-menu__section--account,
    .gamer-mobile-menu__section--secondary {
        grid-template-columns: 1fr 1fr;
    }

    .gamer-mobile-menu__bar a,
    .gamer-mobile-menu__bar button,
    .gamer-mobile-menu__nav a,
    .gamer-mobile-menu__nav button {
        min-height: 42px;
        padding: 10px 8px;
        font-size: 0.66rem;
    }

    .gamer-mobile-menu__tools {
        grid-template-columns: minmax(0, 1fr) 42px;
    }

    .gamer-hero {
        padding-top: 24px;
    }

    .gamer-hero__background {
        background-position: 58% top;
        opacity: 0.54;
    }

    .gamer-hero__grid {
        min-height: auto;
    }

    .gamer-hero__copy {
        padding-top: 6px;
    }

    .gamer-hero__title {
        font-size: 2.55rem;
    }

    .gamer-hero__text {
        font-size: 0.95rem;
    }

    .gamer-primary-action,
    .gamer-secondary-action,
    .gamer-hero__actions form {
        width: 100%;
    }

    .gamer-hero__features {
        gap: 12px;
    }

    .gamer-hero__visual {
        min-height: 190px;
    }

    .gamer-party-card,
    .gamer-world-card {
        display: none;
    }

    .gamer-provider-strip,
    .gamer-steps__grid,
    .gamer-benefits__grid,
    .gamer-community__numbers,
    .gamer-footer__links {
        grid-template-columns: 1fr;
    }

    .gamer-popular__grid {
        grid-template-columns: none;
    }

    .gamer-section__heading {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .gamer-section__heading span {
        display: none;
    }

    .gamer-popular__head {
        align-items: flex-start;
        flex-direction: column;
    }

    .gamer-popular__tools {
        width: 100%;
        justify-content: space-between;
    }

    .gamer-game-card {
        flex-basis: 84%;
        min-height: 132px;
    }
}
.gamer-profile-wizard {
    min-height: 100vh;
    background:
        linear-gradient(135deg, rgba(7, 12, 24, 0.96), rgba(13, 18, 35, 0.94)),
        linear-gradient(90deg, rgba(6, 182, 212, 0.12), rgba(168, 85, 247, 0.08), rgba(52, 211, 153, 0.08));
    color: var(--color-text-primary, #f8fafc);
    padding: clamp(1rem, 3vw, 2.5rem);
}

.gamer-profile-wizard__shell {
    display: grid;
    grid-template-columns: minmax(16rem, 0.85fr) minmax(0, 1.6fr);
    gap: clamp(1rem, 3vw, 2rem);
    max-width: 72rem;
    margin: 0 auto;
    min-height: min(46rem, calc(100vh - 5rem));
}

.gamer-profile-wizard__side,
.gamer-profile-wizard__panel {
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(15, 23, 42, 0.72);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(18px);
}

.gamer-profile-wizard__side {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
    padding: clamp(1.25rem, 3vw, 2rem);
}

.gamer-profile-wizard__panel {
    display: flex;
    min-width: 0;
    min-height: 34rem;
    flex-direction: column;
    overflow: hidden;
}

.gamer-profile-wizard__back-link,
.gamer-profile-wizard__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 2.75rem;
    border-radius: 0.5rem;
    font-weight: 800;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.gamer-profile-wizard__back-link {
    width: fit-content;
    border: 1px solid rgba(148, 163, 184, 0.24);
    padding: 0.75rem 1rem;
    color: #cbd5e1;
    text-decoration: none;
}

.gamer-profile-wizard__back-link:hover,
.gamer-profile-wizard__button:hover:not(:disabled) {
    transform: translateY(-1px);
}

.gamer-profile-wizard__eyebrow,
.gamer-profile-wizard__flow {
    margin: 0 0 0.75rem;
    color: #67e8f9;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.gamer-profile-wizard__title {
    margin: 0;
    min-width: 0;
    font-size: clamp(1.45rem, 3.3vw, 2.65rem);
    line-height: 1.08;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.gamer-profile-wizard__game {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.9rem;
}

.gamer-profile-wizard__game-icon {
    display: grid;
    width: clamp(3rem, 7vw, 4.25rem);
    aspect-ratio: 1;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(103, 232, 249, 0.28);
    border-radius: 1rem;
    background: rgba(2, 6, 23, 0.65);
    color: #67e8f9;
    box-shadow: 0 18px 48px rgba(6, 182, 212, 0.16);
}

.gamer-profile-wizard__game-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gamer-profile-wizard__summary,
.gamer-profile-wizard__help,
.gamer-profile-wizard__progress,
.gamer-profile-wizard__status {
    color: #cbd5e1;
    line-height: 1.65;
}

.gamer-profile-wizard__meter {
    height: 0.5rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.18);
}

.gamer-profile-wizard__meter-fill {
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #22d3ee, #a78bfa, #34d399);
    transition: width 260ms ease;
}

.gamer-profile-wizard__status {
    min-height: 3.5rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    padding: 1rem clamp(1rem, 3vw, 1.75rem);
}

.gamer-profile-wizard__stage {
    position: relative;
    flex: 1;
    min-height: 24rem;
    overflow: hidden;
}

.gamer-profile-wizard__step-wrap {
    position: absolute;
    inset: 0;
    overflow-y: auto;
    padding: clamp(1rem, 4vw, 2.25rem);
    z-index: 1;
    transition: opacity 220ms ease, transform 220ms ease;
}

.gamer-profile-wizard__step-wrap--enter-forward {
    opacity: 0;
    transform: translateX(3rem) scale(0.98);
}

.gamer-profile-wizard__step-wrap--enter-backward {
    opacity: 0;
    transform: translateX(-3rem) scale(0.98);
}

.gamer-profile-wizard__step-wrap--active {
    opacity: 1;
    transform: translateX(0) scale(1);
    z-index: 2;
}

.gamer-profile-wizard__step-wrap--leaving {
    pointer-events: none;
    z-index: 0;
}

.gamer-profile-wizard__step-wrap--leave-forward {
    opacity: 0;
    transform: translateX(-2rem) scale(0.98);
}

.gamer-profile-wizard__step-wrap--leave-backward {
    opacity: 0;
    transform: translateX(2rem) scale(0.98);
}

.gamer-profile-wizard__step h2 {
    margin: 0;
    font-size: clamp(1.75rem, 5vw, 3.5rem);
    line-height: 1.06;
    letter-spacing: 0;
}

.gamer-profile-wizard__required {
    color: #fb7185;
}

.gamer-profile-wizard__input {
    margin-top: clamp(1.25rem, 3vw, 2rem);
}

.gamer-profile-wizard input[type="text"],
.gamer-profile-wizard input[type="url"],
.gamer-profile-wizard input[type="number"],
.gamer-profile-wizard textarea {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 0.5rem;
    background: rgba(2, 6, 23, 0.56);
    color: #f8fafc;
    font-size: 1.05rem;
    line-height: 1.5;
    padding: 1rem;
    outline: none;
}

.gamer-profile-wizard input:focus,
.gamer-profile-wizard textarea:focus {
    border-color: #22d3ee;
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.16);
}

.gamer-profile-wizard__choices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    gap: 0.75rem;
}

.gamer-profile-wizard__choice {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 4rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 0.5rem;
    background: rgba(15, 23, 42, 0.74);
    color: #e2e8f0;
    cursor: pointer;
    padding: 0.9rem 1rem;
}

.gamer-profile-wizard__choice:has(input:checked) {
    border-color: #22d3ee;
    background: rgba(34, 211, 238, 0.12);
    box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.22);
}

.gamer-profile-wizard__profile-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    gap: 0.85rem;
    margin-top: clamp(1.25rem, 3vw, 2rem);
}

.gamer-profile-wizard__profile-type {
    display: grid;
    gap: 0.7rem;
    min-height: 8.5rem;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 0.65rem;
    background: rgba(15, 23, 42, 0.74);
    color: #f8fafc;
    cursor: pointer;
    padding: 1rem;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.gamer-profile-wizard__profile-type:hover {
    transform: translateY(-2px);
}

.gamer-profile-wizard__profile-type input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.gamer-profile-wizard__profile-type-icon {
    display: inline-grid;
    width: 2.75rem;
    aspect-ratio: 1;
    place-items: center;
    border-radius: 0.75rem;
    background: rgba(148, 163, 184, 0.14);
    font-size: 1.1rem;
}

.gamer-profile-wizard__profile-type-label {
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.2;
}

.gamer-profile-wizard__profile-type--purple:has(input:checked) {
    border-color: #a78bfa;
    background: rgba(139, 92, 246, 0.16);
}

.gamer-profile-wizard__profile-type--cyan:has(input:checked) {
    border-color: #22d3ee;
    background: rgba(34, 211, 238, 0.14);
}

.gamer-profile-wizard__profile-type--green:has(input:checked) {
    border-color: #34d399;
    background: rgba(52, 211, 153, 0.14);
}

.gamer-profile-wizard__profile-type--violet:has(input:checked) {
    border-color: #c084fc;
    background: rgba(192, 132, 252, 0.14);
}

.gamer-profile-wizard__profile-type--red:has(input:checked) {
    border-color: #fb7185;
    background: rgba(251, 113, 133, 0.14);
}

.gamer-profile-wizard__additional {
    display: grid;
    gap: 0.55rem;
    margin-top: 1.25rem;
    color: #cbd5e1;
    font-weight: 700;
}

.gamer-profile-wizard__review-list {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.gamer-profile-wizard__review-list div {
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 0.5rem;
    background: rgba(2, 6, 23, 0.42);
    padding: 1rem;
}

.gamer-profile-wizard__review-list dt {
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 800;
}

.gamer-profile-wizard__review-list dd {
    margin: 0.35rem 0 0;
    color: #f8fafc;
    overflow-wrap: anywhere;
}

.gamer-profile-wizard__error {
    margin: 0 clamp(1rem, 3vw, 1.75rem) 1rem;
    border: 1px solid rgba(251, 113, 133, 0.45);
    border-radius: 0.5rem;
    background: rgba(127, 29, 29, 0.25);
    color: #fecdd3;
    padding: 0.85rem 1rem;
}

.gamer-profile-wizard__actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    padding: 1rem clamp(1rem, 3vw, 1.75rem);
}

.gamer-profile-wizard__button {
    border: 1px solid rgba(148, 163, 184, 0.24);
    padding: 0.75rem 1.1rem;
}

.gamer-profile-wizard__button--ghost {
    background: rgba(15, 23, 42, 0.72);
    color: #cbd5e1;
}

.gamer-profile-wizard__button--primary {
    border-color: transparent;
    background: linear-gradient(90deg, #06b6d4, #8b5cf6);
    color: #ffffff;
    box-shadow: 0 16px 38px rgba(6, 182, 212, 0.18);
}

.gamer-profile-wizard__button:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

#profile-about-wizard-modal,
#profile-edit-choice-modal,
#profile-detailed-edit-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
}

.gamer-profile-wizard--modal {
    position: relative;
    z-index: 1;
    min-height: auto;
    max-height: calc(100vh - 2rem);
    overflow: hidden;
    border: 1px solid rgba(103, 232, 249, 0.26);
    border-radius: 1rem;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}

.gamer-profile-wizard--modal .gamer-profile-wizard__shell {
    min-height: min(38rem, calc(100vh - 4rem));
}

.gamer-profile-wizard--modal .gamer-profile-wizard__panel {
    min-height: 30rem;
}

@media (max-width: 760px) {
    .gamer-profile-wizard {
        padding: 0.75rem;
    }

    .gamer-profile-wizard__shell {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .gamer-profile-wizard__side {
        gap: 1rem;
    }

    .gamer-profile-wizard__panel {
        min-height: 32rem;
    }

    .gamer-profile-wizard__choices {
        grid-template-columns: 1fr;
    }

    .gamer-profile-wizard--modal {
        display: flex;
        height: calc(100dvh - 1rem);
        max-height: calc(100dvh - 1rem);
        overflow: hidden;
    }

    .gamer-profile-wizard--modal .gamer-profile-wizard__shell {
        display: flex;
        flex: 1;
        flex-direction: column;
        gap: 0.75rem;
        height: 100%;
        min-height: auto;
        min-width: 0;
    }

    .gamer-profile-wizard--modal .gamer-profile-wizard__side {
        flex: 0 0 auto;
        gap: 0.75rem;
        padding: 0.75rem;
    }

    .gamer-profile-wizard--modal .gamer-profile-wizard__summary {
        display: none;
    }

    .gamer-profile-wizard--modal .gamer-profile-wizard__game-icon {
        width: 2.5rem;
    }

    .gamer-profile-wizard--modal .gamer-profile-wizard__title {
        font-size: clamp(1.35rem, 7vw, 2rem);
    }

    .gamer-profile-wizard--modal .gamer-profile-wizard__back-link {
        min-height: 2.25rem;
        padding: 0.5rem 0.75rem;
    }

    .gamer-profile-wizard--modal .gamer-profile-wizard__panel {
        flex: 1 1 auto;
        min-height: 0;
        max-height: none;
    }

    .gamer-profile-wizard--modal .gamer-profile-wizard__status {
        min-height: auto;
        padding: 0.7rem 1rem;
        line-height: 1.35;
    }

    .gamer-profile-wizard--modal .gamer-profile-wizard__stage {
        flex: 1 1 auto;
        min-height: 0;
    }

    .gamer-profile-wizard--modal .gamer-profile-wizard__step-wrap {
        padding: 1rem;
    }

    .gamer-profile-wizard--modal .gamer-profile-wizard__step h2 {
        font-size: clamp(1.65rem, 9vw, 2.35rem);
    }

    .gamer-profile-wizard--modal .gamer-profile-wizard__actions {
        flex: 0 0 auto;
        position: relative;
        bottom: 0;
        background: rgba(15, 23, 42, 0.96);
        backdrop-filter: blur(12px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .gamer-profile-wizard *,
    .gamer-profile-wizard *::before,
    .gamer-profile-wizard *::after {
        transition-duration: 1ms !important;
        animation-duration: 1ms !important;
    }
}

/* Gamer game detail match finder */
.gamer-game-detail {
    --gamer-detail-bg: #040816;
    --gamer-detail-panel: rgba(9, 16, 35, 0.88);
    --gamer-detail-border: rgba(104, 134, 194, 0.24);
    --gamer-detail-cyan: #00d5ff;
    --gamer-detail-violet: #a33cff;
    --gamer-detail-green: #71ff49;
    --gamer-detail-text: #f8fbff;
    --gamer-detail-muted: #a8b7d9;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.75rem 1rem 3rem;
    color: var(--gamer-detail-text);
}

.gamer-game-detail::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 80% 6%, rgba(163, 60, 255, 0.18), transparent 30rem),
        radial-gradient(circle at 15% 28%, rgba(0, 213, 255, 0.14), transparent 26rem),
        linear-gradient(180deg, #030612 0%, #071026 42%, #030611 100%);
}

.gamer-game-detail .hidden {
    display: none !important;
}

.gamer-game-detail__breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0.25rem 0 0.75rem;
    color: #7182a5;
    font-size: 0.78rem;
    font-weight: 800;
}

.gamer-game-detail__breadcrumbs a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #97a8ca;
}

.gamer-game-detail__breadcrumbs span,
.gamer-game-detail__breadcrumbs i {
    color: #536382;
}

.gamer-game-detail__shell {
    display: grid;
    grid-template-columns: minmax(15rem, 17.5rem) minmax(0, 1fr);
    justify-content: center;
    gap: 0.9rem;
    align-items: start;
}

.gamer-game-detail-filters,
.gamer-game-detail-panel,
.gamer-game-detail-hero,
.gamer-game-detail-roster,
.gamer-game-detail-results__bar,
.gamer-game-detail-player {
    border: 1px solid var(--gamer-detail-border);
    border-radius: 0.6rem;
    background:
        linear-gradient(180deg, rgba(17, 25, 49, 0.9), rgba(7, 13, 29, 0.94)),
        radial-gradient(circle at top left, rgba(0, 213, 255, 0.08), transparent 18rem);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.gamer-game-detail-filters {
    grid-column: 1;
    grid-row: 1;
    position: static;
}

.gamer-game-detail-filters,
.gamer-game-detail-panel {
    padding: 0.9rem;
}

.gamer-game-detail-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.gamer-game-detail-panel__head strong,
.gamer-game-detail-filter > span,
.gamer-game-detail-filter > label {
    color: #ffffff;
    font-size: 0.83rem;
    font-weight: 900;
}

.gamer-game-detail-panel__head strong {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.gamer-game-detail-panel__head span {
    color: var(--gamer-detail-muted);
    font-size: 0.73rem;
    font-weight: 800;
}

.gamer-game-detail-filter {
    display: grid;
    gap: 0.55rem;
    margin-top: 1rem;
}

.gamer-game-detail-filter-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
    margin-top: 0.9rem;
    padding: 0.25rem;
    border: 1px solid rgba(78, 105, 157, 0.32);
    border-radius: 0.48rem;
    background: rgba(5, 10, 25, 0.72);
}

.gamer-game-detail-filter-tabs button {
    min-height: 2.1rem;
    border: 0;
    border-radius: 0.36rem;
    color: var(--gamer-detail-muted);
    background: transparent;
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1.05;
    cursor: pointer;
}

.gamer-game-detail-filter-tabs button:hover,
.gamer-game-detail-filter-tabs button.is-active {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(0, 213, 255, 0.24), rgba(163, 60, 255, 0.28));
    box-shadow: 0 0 18px rgba(0, 213, 255, 0.12);
}

.gamer-game-detail-filter-pane {
    display: grid;
    gap: 0;
}

.gamer-game-detail-filter-pane.hidden {
    display: none !important;
}

.gamer-game-detail .gamer-discovery-multiselect summary,
.gamer-game-detail .gamer-discovery-required-toggle button {
    border-color: rgba(78, 105, 157, 0.46);
    border-radius: 0.42rem;
    color: #dce8ff;
    background: rgba(8, 15, 33, 0.82);
}

.gamer-game-detail .gamer-discovery-multiselect summary:hover,
.gamer-game-detail .gamer-discovery-multiselect[open] summary {
    border-color: rgba(0, 213, 255, 0.72);
}

.gamer-game-detail .gamer-discovery-multiselect__menu {
    border-color: rgba(78, 105, 157, 0.32);
    background: rgba(4, 9, 22, 0.96);
}

.gamer-game-detail .gamer-discovery-required-toggle button.is-active,
.gamer-game-detail .gamer-discovery-required-toggle button:hover {
    border-color: rgba(0, 213, 255, 0.72);
    color: #ffffff;
    background: linear-gradient(135deg, rgba(0, 213, 255, 0.2), rgba(163, 60, 255, 0.28));
    box-shadow: 0 0 18px rgba(0, 213, 255, 0.12);
}

.gamer-game-detail-filter__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.gamer-game-detail-filter__chips button,
.gamer-game-detail-filters__actions button,
.gamer-game-detail-filters__actions a,
.gamer-game-detail-player__actions button,
.gamer-game-detail-player__actions a,
.gamer-game-detail-panel button,
.gamer-game-detail-toolbar button,
.gamer-game-detail-hero__actions a {
    min-height: 2.1rem;
    border: 1px solid rgba(78, 105, 157, 0.46);
    border-radius: 0.42rem;
    background: rgba(8, 15, 33, 0.82);
    color: #dce8ff;
    font-size: 0.75rem;
    font-weight: 900;
    line-height: 1;
    transition: border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.gamer-game-detail-filter__chips button {
    padding: 0.55rem 0.7rem;
}

.gamer-game-detail-filter__chips button:hover,
.gamer-game-detail-filter__chips button.is-active {
    border-color: rgba(0, 213, 255, 0.72);
    background: linear-gradient(135deg, rgba(0, 213, 255, 0.18), rgba(163, 60, 255, 0.2));
    color: #ffffff;
    box-shadow: 0 0 18px rgba(0, 213, 255, 0.12);
}

.gamer-game-detail-filter select {
    width: 100%;
    min-height: 2.35rem;
    border: 1px solid rgba(78, 105, 157, 0.46);
    border-radius: 0.5rem;
    background: rgba(8, 15, 33, 0.9);
    color: #dce8ff;
    padding: 0 0.75rem;
    font-size: 0.78rem;
    font-weight: 800;
}

.gamer-game-detail-check {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--gamer-detail-muted);
    font-size: 0.78rem;
    font-weight: 800;
}

.gamer-game-detail-check input {
    width: 1rem;
    height: 1rem;
    accent-color: var(--gamer-detail-cyan);
}

.gamer-game-detail-filters__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
    margin-top: 1.1rem;
}

.gamer-game-detail-filters__actions button,
.gamer-game-detail-filters__actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.8rem;
}

.gamer-game-detail-filters__actions a {
    border-color: rgba(163, 60, 255, 0.64);
    background: linear-gradient(135deg, #009cff, #b900ff);
}

.gamer-game-detail__main {
    display: grid;
    gap: 0.9rem;
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    width: 100%;
}

.gamer-game-detail-hero {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 15.8rem;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(4, 8, 22, 1), rgba(4, 8, 22, 0.74) 42%, rgba(4, 8, 22, 0.22));
}

.gamer-game-detail-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.58;
    filter: saturate(1.1) contrast(1.02) brightness(0.74);
}

.gamer-game-detail-hero::before,
.gamer-game-detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.gamer-game-detail-hero::before {
    background:
        linear-gradient(90deg, rgba(4, 8, 22, 0.99), rgba(4, 8, 22, 0.86) 42%, rgba(4, 8, 22, 0.56) 100%),
        radial-gradient(circle at 72% 22%, rgba(255, 130, 54, 0.18), transparent 18rem);
}

.gamer-game-detail-hero::after {
    background: linear-gradient(180deg, transparent 70%, rgba(4, 8, 22, 0.86));
}

.gamer-game-detail-hero__content {
    position: relative;
    z-index: 1;
    max-width: min(42rem, 100%);
    min-width: 0;
    padding: 1.45rem;
}

.gamer-game-detail-hero h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(2.4rem, 5vw, 4.15rem);
    font-weight: 1000;
    line-height: 0.98;
    letter-spacing: 0;
    text-transform: uppercase;
    overflow-wrap: anywhere;
    text-shadow: 0 12px 36px rgba(0, 0, 0, 0.65);
}

.gamer-game-detail-hero p {
    max-width: 34rem;
    margin: 0.8rem 0 0;
    color: #d5e0f6;
    font-size: 1rem;
    line-height: 1.5;
}

.gamer-game-detail-hero__intent {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.85rem;
}

.gamer-game-detail-hero__intent span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    max-width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0.42rem;
    background: rgba(7, 14, 31, 0.58);
    color: #edf5ff;
    padding: 0.42rem 0.62rem;
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1.25;
}

.gamer-game-detail-hero__intent i {
    color: #55e7ff;
}

.gamer-game-detail-hero__tags,
.gamer-game-detail-hero__actions,
.gamer-game-detail-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.9rem;
}

.gamer-game-detail-hero__tags span {
    border: 1px solid rgba(0, 213, 255, 0.42);
    border-radius: 0.38rem;
    background: rgba(0, 213, 255, 0.08);
    color: #bfeeff;
    padding: 0.38rem 0.65rem;
    font-size: 0.72rem;
    font-weight: 900;
}

.gamer-game-detail-hero__actions a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: min(10.5rem, 100%);
    justify-content: center;
    padding: 0 1rem;
}

.gamer-game-detail-hero__actions a:first-child {
    border-color: rgba(0, 213, 255, 0.72);
    background: linear-gradient(135deg, #00a8ff, #b900ff);
    color: #ffffff;
}

.gamer-game-detail-hero__stats span {
    flex: 1 1 9rem;
    min-width: min(10rem, 100%);
    border: 1px solid rgba(78, 105, 157, 0.42);
    border-radius: 0.48rem;
    background: rgba(7, 14, 31, 0.72);
    padding: 0.65rem 0.9rem;
}

.gamer-game-detail-hero__stats small {
    display: block;
    color: var(--gamer-detail-muted);
    font-size: 0.68rem;
    font-weight: 800;
}

.gamer-game-detail-hero__stats strong {
    display: block;
    margin-top: 0.2rem;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 1000;
}

.gamer-seo-content__updated {
    margin: 0 0 0.85rem;
    color: var(--color-text-secondary);
    font-size: 0.86rem;
    font-weight: 700;
}

.gamer-seo-content__updated time {
    color: var(--color-text-primary);
}

.gamer-game-detail-roster {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 0.75rem;
}

.gamer-game-detail-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    margin-bottom: 0.65rem;
}

.gamer-game-detail-toolbar button {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 7rem;
    justify-content: center;
    padding: 0 0.8rem;
}

.gamer-game-detail-toolbar button.is-active {
    border-color: rgba(0, 213, 255, 0.76);
    background: linear-gradient(135deg, rgba(0, 213, 255, 0.18), rgba(0, 213, 255, 0.02));
    color: #ffffff;
}

.gamer-game-detail-toolbar button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.gamer-game-detail-search {
    position: relative;
    margin-bottom: 0.65rem;
}

.gamer-game-detail-search i {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: #7284aa;
}

.gamer-game-detail-search input {
    width: 100%;
    min-height: 2.55rem;
    border: 1px solid rgba(78, 105, 157, 0.46);
    border-radius: 0.48rem;
    background: rgba(5, 10, 24, 0.86);
    color: #ffffff;
    padding: 0 1rem 0 2.45rem;
    font-size: 0.82rem;
    font-weight: 800;
}

.gamer-game-detail-results__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 2.2rem;
    margin-bottom: 0.45rem;
    padding: 0 0.75rem;
    color: var(--gamer-detail-muted);
    font-size: 0.73rem;
    font-weight: 900;
}

.gamer-game-detail-results {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: center;
    align-items: start;
    gap: 1.15rem;
}

.gamer-game-detail-player {
    --dossier-lime: #9bcf7d;
    --dossier-lime-soft: rgba(155, 207, 125, 0.24);
    --dossier-line: rgba(155, 207, 125, 0.22);
    --dossier-metal: #141916;
    --dossier-ink: #07100d;
    position: relative;
    display: block;
    width: 100%;
    max-width: 41.25rem;
    min-height: 0;
    aspect-ratio: 1097 / 1434;
    overflow: visible;
    clip-path: none;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.48);
    font-family: "Bahnschrift", "Rajdhani", "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
    padding: 0;
    isolation: isolate;
}

.gamer-game-detail-player:first-child {
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
}

.gamer-game-detail-dossier__frame {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url("../images/themes/gamer/questionnaire-dossier/dossier-reference-frame-clean.png") center / 100% 100% no-repeat;
    opacity: 1;
    pointer-events: none;
}

.gamer-game-detail-player::before,
.gamer-game-detail-player::after {
    position: absolute;
    pointer-events: none;
    content: "";
}

.gamer-game-detail-player::before {
    display: none;
}

.gamer-game-detail-player::after {
    display: none;
}

.gamer-game-detail-player__identity {
    position: absolute;
    z-index: 1;
    inset: 0;
    display: block;
    min-width: 0;
    min-height: 0;
    padding: 0;
}

.gamer-game-detail-player__avatar {
    position: absolute;
    top: 10.1%;
    left: 11.42%;
    display: grid;
    place-items: center;
    width: 26.55%;
    height: auto;
    min-height: 0;
    aspect-ratio: 1;
    flex: 0 0 auto;
    overflow: hidden;
    margin: 0;
    clip-path: polygon(7% 0, 96% 0, 100% 6%, 100% 92%, 94% 100%, 6% 100%, 0 94%, 0 8%);
    border: 0;
    background: rgba(4, 8, 8, 0.58);
    color: var(--dossier-lime);
    box-shadow: none;
}

.gamer-game-detail-player__avatar::before,
.gamer-game-detail-player__avatar::after {
    display: none;
}

.gamer-game-detail-player__avatar::before {
    clip-path: polygon(7% 0, 96% 0, 100% 6%, 100% 92%, 94% 100%, 6% 100%, 0 94%, 0 8%);
    border: 1px solid rgba(149, 189, 111, 0.38);
    box-shadow:
        inset 0 0 0 1px rgba(0, 0, 0, 0.78),
        0 0 8px rgba(149, 189, 111, 0.08);
}

.gamer-game-detail-player__avatar::after {
    inset: auto 0.55rem 0.55rem auto;
    width: 1.08rem;
    height: 1.08rem;
    border: 1px solid rgba(149, 189, 111, 0.2);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.62);
}

.gamer-game-detail-player__avatar img {
    width: 100%;
    height: 100%;
    clip-path: polygon(7% 0, 96% 0, 100% 6%, 100% 92%, 94% 100%, 6% 100%, 0 94%, 0 8%);
    object-fit: cover;
    filter: saturate(0.72) contrast(1.14) brightness(0.9);
}

.gamer-game-detail__status-dot {
    position: absolute;
    right: 0.34rem;
    bottom: 0.34rem;
    z-index: 2;
    width: 0.72rem;
    height: 0.72rem;
    border: 2px solid #030604;
    border-radius: 50%;
    background: #6f7c62;
}

.gamer-game-detail__status-dot.is-online {
    background: var(--dossier-lime);
    box-shadow: 0 0 8px rgba(159, 202, 124, 0.5);
}

.gamer-game-detail-player__callsign {
    position: absolute;
    top: 8.15%;
    left: 42.35%;
    display: block;
    width: 46.6%;
    height: 23.2%;
    min-width: 0;
    clip-path: none;
    border: 0;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.gamer-game-detail-player__identity-stack {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.38rem;
    height: 100%;
    min-width: 0;
    padding: 10px 10px 0;
}

.gamer-game-detail-player__callsign small,
.gamer-game-detail-player__note > span {
    display: block;
    color: #8fc676;
    font-size: 0.64rem;
    font-weight: 1000;
    letter-spacing: 0;
    line-height: 1.1;
    text-transform: uppercase;
}

.gamer-game-detail-player__callsign small {
    width: 100%;
    max-width: 100%;
    margin-bottom: 0.12rem;
    overflow-wrap: anywhere;
}

.gamer-game-detail-player__note > span {
    width: max-content;
}

.gamer-game-detail-player__identity strong {
    display: block;
    overflow: visible;
    color: #f0f1ed;
    font-size: 1.12rem;
    font-weight: 950;
    line-height: 1.02;
    margin-top: 0;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.18),
        0 0 8px rgba(159, 202, 124, 0.08);
    text-overflow: clip;
    overflow-wrap: anywhere;
    white-space: normal;
}

.gamer-game-detail-player__identity-head {
    min-width: 0;
    padding-right: 0.25rem;
}

.gamer-game-detail-player__identity-head--profile small {
    color: #a6d88b;
    font-size: 0.58rem;
}

.gamer-game-detail-player__identity-head--profile strong {
    color: #ffffff;
    font-size: 0.82rem;
    line-height: 1.05;
}

.gamer-game-detail-player__meta {
    position: absolute;
    z-index: 1;
    display: grid;
    top: 34.45%;
    left: 9.39%;
    width: 79.31%;
    height: 0;
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(0, 1fr);
    gap: 1.9%;
    padding: 0;
}

.gamer-game-detail-player--meta-1 .gamer-game-detail-player__meta {
    height: 4.5%;
}

.gamer-game-detail-player--meta-2 .gamer-game-detail-player__meta {
    height: 9.7%;
}

.gamer-game-detail-player--meta-3 .gamer-game-detail-player__meta {
    height: 14.9%;
}

.gamer-game-detail-player--meta-4 .gamer-game-detail-player__meta {
    height: 20.1%;
}

.gamer-game-detail-player--meta-5 .gamer-game-detail-player__meta {
    height: 25.3%;
}

.gamer-game-detail-player--meta-6 .gamer-game-detail-player__meta {
    height: 30.45%;
}

.gamer-game-detail-player--meta-7 .gamer-game-detail-player__meta {
    height: 35.65%;
}

.gamer-game-detail-player__meta-item {
    position: relative;
    display: grid;
    grid-template-columns: 12.45% minmax(0, 1fr);
    align-items: center;
    gap: 0;
    min-width: 0;
    min-height: 0;
    clip-path: polygon(1.05rem 0, calc(100% - 0.72rem) 0, 100% 0.72rem, 100% calc(100% - 0.72rem), calc(100% - 0.72rem) 100%, 1.05rem 100%, 0 76%, 0 24%);
    border: 1px solid rgba(139, 191, 90, 0.58);
    background:
        linear-gradient(90deg, rgba(16, 36, 26, 0.82), rgba(11, 22, 18, 0.55)),
        rgba(5, 12, 10, 0.78);
    padding: 0 3.2% 0 0;
    box-shadow:
        inset 0 0 0 1px rgba(3, 8, 6, 0.86),
        inset 0 0 18px rgba(126, 171, 86, 0.06);
    cursor: pointer;
}

.gamer-game-detail-player__meta-item::after {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 12.45%;
    width: 1px;
    background: rgba(143, 175, 114, 0.24);
    content: "";
}

.gamer-game-detail-player__meta-item > i {
    display: inline-flex;
    width: 1.34rem;
    height: 1.34rem;
    aspect-ratio: 1;
    align-items: center;
    justify-content: center;
    justify-self: center;
    margin: 0;
    clip-path: none;
    border: 0;
    background: transparent;
    color: #9bcf7d;
    font-size: 1.18rem;
    line-height: 1;
    text-shadow: none;
}

.gamer-game-detail-player__meta-item > span {
    position: relative;
    display: grid;
    width: 100%;
    height: 100%;
    grid-template-columns: clamp(7.4rem, 29%, 9.05rem) minmax(0, 1fr);
    align-items: center;
    gap: 1.35rem;
    min-width: 0;
}

.gamer-game-detail-player__meta-item:focus-visible {
    outline: 2px solid rgba(215, 255, 146, 0.82);
    outline-offset: 2px;
    z-index: 4;
}

.gamer-game-detail-player__meta-item > span::before {
    position: absolute;
    top: 50%;
    left: calc(clamp(7.4rem, 29%, 9.05rem) + 0.68rem);
    width: 1px;
    height: 52%;
    background: rgba(143, 175, 114, 0.28);
    content: "";
    transform: translate(-50%, -50%);
}

.gamer-game-detail-player__meta small,
.gamer-game-detail-player__meta strong {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    min-width: 0;
    overflow: hidden;
    line-height: 1;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gamer-game-detail-player__meta small {
    color: #8fc676;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.gamer-game-detail-player__meta-item--game-activities small {
    font-size: 0.66rem;
    justify-content: center;
    padding-inline: 0.1rem;
}

.gamer-game-detail-player__meta strong {
    color: #f0f1ed;
    font-size: 0.95rem;
    font-weight: 620;
    justify-content: flex-start;
    padding-inline: 0.35rem;
    text-align: left;
}

.gamer-game-detail-player__meta-item.is-expanded {
    z-index: 5;
    min-height: clamp(3.8rem, 8.5vw, 5.6rem);
    align-items: start;
    height: auto;
    overflow: visible;
    background:
        linear-gradient(90deg, rgba(24, 52, 36, 0.96), rgba(11, 22, 18, 0.92)),
        rgba(5, 12, 10, 0.94);
}

.gamer-game-detail-player__meta-item.is-expanded > span {
    align-items: start;
    padding-block: 0.35rem;
}

.gamer-game-detail-player__meta-item.is-expanded small {
    align-items: flex-start;
    padding-top: 0.1rem;
}

.gamer-game-detail-player__meta-item.is-expanded strong {
    align-items: flex-start;
    height: auto;
    min-height: 100%;
    overflow: visible;
    line-height: 1.16;
    overflow-wrap: anywhere;
    text-overflow: clip;
    white-space: normal;
}

.gamer-game-detail-player__note {
    position: absolute;
    z-index: 1;
    top: 72.22%;
    left: 9.85%;
    width: 79.31%;
    height: 20.25%;
    min-width: 0;
    display: grid;
    grid-template-columns: 12.45% minmax(0, 1fr);
    grid-template-rows: minmax(1.28rem, auto) minmax(0, 1fr);
    column-gap: 0;
    row-gap: 0.5rem;
    margin: 0;
    overflow: hidden;
    clip-path: polygon(1.2rem 0, calc(100% - 1.1rem) 0, 100% 1.1rem, 100% calc(100% - 1.1rem), calc(100% - 1.1rem) 100%, 1.2rem 100%, 0 calc(100% - 1.2rem), 0 1.2rem);
    border: 1px solid rgba(139, 191, 90, 0.58);
    background:
        linear-gradient(rgba(155, 207, 125, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(155, 207, 125, 0.035) 1px, transparent 1px),
        rgba(5, 12, 10, 0.62);
    background-size: 24px 24px, 24px 24px, auto;
    padding: 2.25% 4.2% 0 0;
    min-height: 0;
    box-shadow: none;
    cursor: pointer;
}

.gamer-game-detail-player__note:focus-visible {
    outline: 2px solid rgba(215, 255, 146, 0.82);
    outline-offset: 2px;
    z-index: 4;
}

.gamer-game-detail-player--meta-0 .gamer-game-detail-player__note {
    top: 36.0%;
}

.gamer-game-detail-player--meta-1 .gamer-game-detail-player__note {
    top: 41.15%;
}

.gamer-game-detail-player--meta-2 .gamer-game-detail-player__note {
    top: 46.35%;
}

.gamer-game-detail-player--meta-3 .gamer-game-detail-player__note {
    top: 51.55%;
}

.gamer-game-detail-player--meta-4 .gamer-game-detail-player__note {
    top: 56.75%;
}

.gamer-game-detail-player--meta-5 .gamer-game-detail-player__note {
    top: 61.95%;
}

.gamer-game-detail-player--meta-6 .gamer-game-detail-player__note {
    top: 67.1%;
}

.gamer-game-detail-player--meta-7 .gamer-game-detail-player__note {
    top: 72.22%;
}

.gamer-game-detail-player__note::before {
    display: inline-flex;
    grid-row: 1;
    width: 1.25rem;
    height: 1.25rem;
    aspect-ratio: 1;
    align-items: center;
    justify-content: center;
    align-self: start;
    justify-self: center;
    margin: 0.08rem 0 0;
    clip-path: none;
    border: 0;
    background: transparent;
    color: #9bcf7d;
    content: "\f0f6";
    font-family: "FontAwesome";
    font-size: 1rem;
    font-weight: 400;
    line-height: 1;
    text-shadow: none;
}

.gamer-game-detail-player__note > span {
    grid-column: 2;
    align-self: start;
    margin-bottom: 0.42rem;
    line-height: 1;
}

.gamer-game-detail-player__note p {
    display: -webkit-box;
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    overflow: hidden;
    color: #f0f1ed;
    font-size: 1rem;
    font-weight: 520;
    line-height: 1.28;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.gamer-game-detail-player__note.is-expanded {
    z-index: 5;
    height: auto;
    min-height: 20.25%;
    overflow: visible;
    background:
        linear-gradient(rgba(155, 207, 125, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(155, 207, 125, 0.05) 1px, transparent 1px),
        rgba(6, 14, 11, 0.96);
    background-size: 24px 24px, 24px 24px, auto;
}

.gamer-game-detail-player__note.is-expanded p {
    display: block;
    max-height: min(16rem, 42vh);
    overflow: auto;
    -webkit-line-clamp: unset;
}

.gamer-game-detail-player__actions {
    position: absolute;
    z-index: 1;
    display: grid;
    right: 17.2%;
    bottom: 2.7%;
    left: 17.2%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: end;
    gap: 0.8rem;
    align-self: end;
    padding: 0;
}

.gamer-game-detail-player__actions button,
.gamer-game-detail-player__actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-width: 0;
    min-height: 2.24rem;
    overflow: hidden;
    clip-path: none;
    border: 1px solid rgba(159, 202, 124, 0.2);
    background: rgba(6, 13, 10, 0.72);
    color: #dce7d5;
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
    white-space: nowrap;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.gamer-game-detail-player__actions button {
    border-color: rgba(159, 202, 124, 0.34);
    color: var(--dossier-lime);
}

.gamer-game-detail-player__actions button:hover,
.gamer-game-detail-player__actions a:hover {
    transform: translateY(-1px);
    border-color: rgba(159, 202, 124, 0.52);
    background: rgba(159, 202, 124, 0.08);
    box-shadow: none;
}

.gamer-game-detail-player__design {
    position: absolute;
    top: 0.65rem;
    right: 0.75rem;
    z-index: 2;
    max-width: min(14rem, calc(100% - 1.5rem));
    overflow: hidden;
    color: var(--dossier-lime);
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.gamer-game-detail-empty,
.gamer-game-detail-loader {
    display: grid;
    grid-column: 1 / -1;
    place-items: center;
    gap: 0.45rem;
    min-height: 12rem;
    color: var(--gamer-detail-muted);
    text-align: center;
}

.gamer-game-detail-empty i {
    color: var(--gamer-detail-cyan);
    font-size: 1.8rem;
}

.gamer-game-detail-empty strong {
    color: #ffffff;
    font-size: 1rem;
}

.gamer-game-detail-panel p {
    margin: 0;
    color: var(--gamer-detail-muted);
    font-size: 0.76rem;
    line-height: 1.45;
}

.gamer-game-detail-panel button {
    margin-top: 0.75rem;
    padding: 0 0.85rem;
}

.gamer-game-detail-panel button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.gamer-game-detail-online {
    display: grid;
    gap: 0.55rem;
}

.gamer-game-detail-online a {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: #dce8ff;
    font-size: 0.78rem;
    font-weight: 900;
}

.gamer-game-detail-online img,
.gamer-game-detail-online i {
    display: grid;
    place-items: center;
    width: 1.9rem;
    height: 1.9rem;
    border: 1px solid rgba(78, 105, 157, 0.42);
    border-radius: 50%;
    background: rgba(5, 10, 24, 0.82);
    object-fit: cover;
}

.gamer-game-detail-panel--safe > i {
    color: var(--gamer-detail-green);
    font-size: 1.15rem;
}

.gamer-game-detail-panel--safe > strong {
    display: block;
    margin: 0.35rem 0;
    color: #ffffff;
    font-size: 0.9rem;
}

.gamer-game-detail-type-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.gamer-game-detail-type-stats span {
    border: 1px solid rgba(78, 105, 157, 0.34);
    border-radius: 0.42rem;
    background: rgba(5, 10, 24, 0.72);
    padding: 0.65rem;
}

.gamer-game-detail-type-stats small,
.gamer-game-detail-type-stats strong {
    display: block;
}

.gamer-game-detail-type-stats small {
    color: var(--gamer-detail-muted);
    font-size: 0.68rem;
    font-weight: 800;
}

.gamer-game-detail-type-stats strong {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 1000;
}

@media (max-width: 1180px) {
    .gamer-game-detail__shell {
        grid-template-columns: minmax(13rem, 16rem) minmax(0, 1fr);
    }
}

@media (max-width: 900px) {
    .gamer-game-detail__shell {
        grid-template-columns: 1fr;
    }

    .gamer-game-detail-filters {
        grid-column: 1;
        grid-row: 1;
        position: static;
    }

    .gamer-game-detail__main {
        grid-column: 1;
        grid-row: 2;
    }

    .gamer-game-detail-filters .gamer-mobile-filter-toggle {
        display: inline-flex;
    }

    .gamer-game-detail-filters:not(.is-open) [data-gamer-detail-mobile-filter-body] {
        display: none;
    }

    .gamer-game-detail-filters.is-open [data-gamer-detail-mobile-filter-body] {
        display: block;
        margin-top: 0.85rem;
    }

    .gamer-game-detail-results {
        grid-template-columns: minmax(0, 41.25rem);
    }
}

@media (max-width: 620px) {
    .gamer-game-detail {
        padding-inline: 0.75rem;
    }

    .gamer-game-detail-results {
        grid-template-columns: minmax(0, 1fr);
    }

    .gamer-game-detail-hero {
        min-height: 20rem;
    }

    .gamer-game-detail-hero__image {
        width: 100%;
        opacity: 0.46;
    }

    .gamer-game-detail-hero__content {
        padding: 1rem;
    }

    .gamer-game-detail-hero h1 {
        font-size: 2.15rem;
    }

    .gamer-game-detail-hero__actions,
    .gamer-game-detail-hero__stats,
    .gamer-game-detail-toolbar {
        display: grid;
        grid-template-columns: 1fr;
    }

    .gamer-game-detail-player {
        max-width: 100%;
        aspect-ratio: 1097 / 1434;
        padding: 0;
    }

    .gamer-game-detail-player__meta {
        top: 34.45%;
        left: 9.39%;
        width: 79.31%;
        height: 35.65%;
        grid-template-columns: 1fr;
        padding: 0;
    }

    .gamer-game-detail-player__identity {
        position: absolute;
        inset: 0;
        display: block;
        min-height: 0;
    }

    .gamer-game-detail-player__avatar {
        top: 10.1%;
        left: 11.42%;
        width: 26.55%;
        min-height: 0;
    }

    .gamer-game-detail-player__callsign {
        top: 8.15%;
        left: 42.35%;
        width: 46.6%;
        height: 23.2%;
        padding: 0;
    }

    .gamer-game-detail-player__identity-stack {
        gap: 0.2rem;
        padding: 10px 10px 0;
    }

    .gamer-game-detail-player__callsign small,
    .gamer-game-detail-player__note > span {
        font-size: 0.56rem;
    }

    .gamer-game-detail-player__identity strong {
        font-size: 0.72rem;
        line-height: 1.05;
    }

    .gamer-game-detail-player__identity-head--profile small {
        font-size: 0.46rem;
    }

    .gamer-game-detail-player__identity-head--profile strong {
        font-size: 0.54rem;
        line-height: 1.05;
    }

    .gamer-game-detail-player__meta-item,
    .gamer-game-detail-player__note {
        grid-template-columns: 12.45% minmax(0, 1fr);
    }

    .gamer-game-detail-player__meta-item {
        min-height: 0;
        gap: 0;
        padding-right: 3.2%;
    }

    .gamer-game-detail-player__meta-item > i,
    .gamer-game-detail-player__note::before {
        width: 1.08rem;
        height: 1.08rem;
        margin-left: 0;
        font-size: 0.72rem;
    }

    .gamer-game-detail-player__meta-item > span {
        grid-template-columns: minmax(4.55rem, 29%) minmax(0, 1fr);
        gap: 0.54rem;
    }

    .gamer-game-detail-player__meta-item > span::before {
        left: calc(29% + 0.27rem);
    }

    .gamer-game-detail-player__meta small {
        font-size: 0.48rem;
    }

    .gamer-game-detail-player__meta-item--game-activities small {
        font-size: 0.42rem;
        padding-inline: 0.04rem;
    }

    .gamer-game-detail-player__meta strong {
        font-size: 0.69rem;
    }

    .gamer-game-detail-player__meta-item.is-expanded {
        min-height: 3.15rem;
    }

    .gamer-game-detail-player__meta-item.is-expanded > span {
        padding-block: 0.22rem;
    }

    .gamer-game-detail-player__meta-item.is-expanded strong {
        font-size: 0.62rem;
        line-height: 1.12;
    }

    .gamer-game-detail-player__note {
        top: 72.22%;
        left: 9.85%;
        width: 79.31%;
        height: 20.25%;
        min-height: 0;
        padding: 2.25% 4.2% 0 0;
    }

    .gamer-game-detail-player__note p {
        font-size: 0.74rem;
        line-height: 1.26;
    }

    .gamer-game-detail-player__note.is-expanded p {
        max-height: min(9rem, 32vh);
    }

    .gamer-game-detail-player__actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.42rem;
        right: 17.2%;
        bottom: 2.7%;
        left: 17.2%;
        padding: 0;
    }

    .gamer-game-detail-player__actions button,
    .gamer-game-detail-player__actions a {
        min-height: 1.86rem;
        gap: 0.28rem;
        font-size: 0.52rem;
    }

    .gamer-game-detail-results__bar {
        align-items: flex-start;
        flex-direction: column;
        padding-block: 0.6rem;
    }
}

.admin-field-edit-modal {
    z-index: 200;
    overflow-y: auto;
}

.admin-field-edit-modal__panel {
    max-height: calc(100vh - 2rem);
}

@media (min-width: 640px) {
    .admin-field-edit-modal__panel {
        max-height: calc(100vh - 3rem);
    }
}
/* Points shop and questionnaire design cards */
.shop-page {
    display: grid;
    grid-template-columns: minmax(12rem, 16rem) minmax(0, 1fr);
    gap: 1.5rem;
    width: min(1180px, calc(100% - 2rem));
    margin: 2rem auto;
}

.shop-sidebar,
.shop-page__content,
.shop-panel,
.shop-design-card,
.admin-shop-panel {
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(15, 23, 42, 0.78);
}

.shop-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-self: start;
    padding: 0.75rem;
}

.shop-sidebar__link,
.admin-shop-tabs a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 0.85rem;
    color: var(--color-text-secondary, #cbd5e1);
    text-decoration: none;
    border-radius: 0.5rem;
}

.shop-sidebar__link.is-active,
.admin-shop-tabs a.is-active {
    color: #ffffff;
    background: rgba(20, 184, 166, 0.18);
}

.shop-page__content,
.shop-panel,
.admin-shop-panel {
    padding: 1.25rem;
}

.shop-page__header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.25rem;
}

.shop-page__header h1,
.admin-shop h1 {
    margin: 0;
    font-size: 1.75rem;
    color: var(--color-text-primary, #f8fafc);
}

.shop-page__eyebrow,
.shop-balance span {
    color: var(--color-text-secondary, #94a3b8);
    font-size: 0.82rem;
    text-transform: uppercase;
}

.shop-balance {
    min-width: 7rem;
    padding: 0.7rem 1rem;
    text-align: right;
    background: rgba(2, 6, 23, 0.5);
    border: 1px solid rgba(45, 212, 191, 0.22);
}

.shop-balance strong {
    display: block;
    color: #5eead4;
    font-size: 1.5rem;
}

.shop-design-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
    gap: 1rem;
}

.shop-design-card {
    display: flex;
    min-height: 18rem;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
}

.shop-design-card__preview {
    position: relative;
    overflow: hidden;
    display: grid;
    min-height: 7rem;
    place-items: center;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(2, 6, 23, 0.45);
}

.shop-design-card__preview img,
.admin-shop-catalog-card img,
.admin-shop-design-row__preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-design-card__preview span {
    position: relative;
    z-index: 1;
    padding: 0.25rem 0.55rem;
    background: rgba(2, 6, 23, 0.72);
    color: #f8fafc;
}

.shop-design-card__preview img {
    position: absolute;
    inset: 0;
}

.shop-design-card h2,
.shop-panel h2,
.admin-shop-panel h2 {
    margin: 0;
    color: var(--color-text-primary, #f8fafc);
    font-size: 1.1rem;
}

.shop-design-card p,
.shop-empty {
    color: var(--color-text-secondary, #cbd5e1);
}

.shop-design-card form,
.admin-shop-form,
.admin-shop-grid-form,
.admin-shop-design-row {
    display: grid;
    gap: 0.65rem;
}

.shop-design-card button,
.shop-design-card select,
.admin-shop input,
.admin-shop select,
.admin-shop textarea,
.admin-shop button {
    min-height: 2.5rem;
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: rgba(2, 6, 23, 0.62);
    color: var(--color-text-primary, #f8fafc);
}

.shop-design-card button,
.admin-shop button {
    cursor: pointer;
    background: rgba(20, 184, 166, 0.24);
}

.shop-table,
.admin-shop-table {
    display: grid;
    gap: 0.45rem;
}

.shop-table__row,
.admin-shop-table__row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 1rem;
    align-items: center;
    padding: 0.6rem 0.75rem;
    color: var(--color-text-secondary, #cbd5e1);
    background: rgba(2, 6, 23, 0.45);
}

.admin-shop-table__row {
    grid-template-columns: 5rem 5rem 5rem 1fr 1fr;
}

.admin-shop-tabs {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0;
}

.admin-shop {
    color: var(--color-text-primary, #f8fafc);
}

.admin-shop-panel__heading {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.admin-shop-panel__heading p {
    max-width: 42rem;
    margin: 0.35rem 0 0;
    color: var(--color-text-secondary, #cbd5e1);
}

.admin-shop-form--compact {
    min-width: max-content;
}

.admin-shop-grid-form,
.admin-shop-design-row {
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    align-items: start;
}

.admin-shop-catalog {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    gap: 0.75rem;
}

.admin-shop-catalog-card,
.admin-shop-design-row__preview {
    display: grid;
    gap: 0.4rem;
}

.admin-shop-catalog-card img,
.admin-shop-design-row__preview img {
    aspect-ratio: 4 / 5;
    max-height: 12rem;
    border: 1px solid rgba(45, 212, 191, 0.28);
}

.admin-shop-design-board {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(24rem, 1fr));
    gap: 1rem;
}

.admin-shop-design-card {
    display: grid;
    gap: 1rem;
    align-content: start;
    padding: 1rem;
    border: 1px solid rgba(45, 212, 191, 0.22);
    background: rgba(2, 6, 23, 0.42);
}

.admin-shop-design-card.is-archived {
    opacity: 0.64;
}

.admin-shop-design-card__summary {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.admin-shop-design-card__summary strong,
.admin-shop-design-card__summary span {
    display: block;
}

.admin-shop-design-card__summary span,
.admin-shop-design-card__price span {
    color: var(--color-text-secondary, #94a3b8);
    font-size: 0.78rem;
}

.admin-shop-design-card__price {
    min-width: 5rem;
    text-align: right;
}

.admin-shop-design-card__price strong {
    color: #5eead4;
    font-size: 1.5rem;
}

.admin-shop-design-settings {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

.admin-shop-design-settings label {
    display: grid;
    gap: 0.25rem;
    color: var(--color-text-secondary, #cbd5e1);
    font-size: 0.78rem;
}

.admin-shop-design-settings textarea,
.admin-shop-design-settings__actions,
.admin-shop-design-settings__toggle {
    grid-column: 1 / -1;
}

.admin-shop-design-settings__actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.admin-shop-manual-create summary {
    cursor: pointer;
    color: var(--color-text-primary, #f8fafc);
    font-weight: 700;
}

.questionnaire-visual-preview {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    min-height: 0;
    border: 1px solid rgba(45, 212, 191, 0.32);
    background: rgba(2, 6, 23, 0.78);
}

.admin-shop-design-card .questionnaire-visual-preview {
    width: min(100%, 19rem);
    margin-inline: auto;
}

.shop-design-card__preview.questionnaire-visual-preview {
    min-height: 9rem;
    max-height: 11rem;
}

.questionnaire-visual-preview img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.questionnaire-visual-preview__center {
    position: absolute;
    left: 50%;
    top: 44%;
    width: 31%;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border: 2px dashed rgba(255, 255, 255, 0.52);
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.34);
    box-shadow: 0 0 18px rgba(34, 211, 238, 0.42);
}

.questionnaire-visual-preview--hexastorm {
    background:
        linear-gradient(90deg, transparent 49.5%, rgba(34, 211, 238, 0.24) 50%, transparent 50.5%),
        linear-gradient(0deg, transparent 49.5%, rgba(236, 72, 153, 0.22) 50%, transparent 50.5%),
        radial-gradient(circle at 50% 44%, rgba(34, 211, 238, 0.18), transparent 20%),
        radial-gradient(circle at 50% 44%, rgba(236, 72, 153, 0.16), transparent 27%),
        linear-gradient(90deg, rgba(34, 211, 238, 0.08) 1px, transparent 1px),
        linear-gradient(0deg, rgba(236, 72, 153, 0.08) 1px, transparent 1px),
        linear-gradient(135deg, #020617 0%, #08111f 45%, #12071c 100%);
    background-size: auto, auto, auto, auto, 1.5rem 1.5rem, 1.5rem 1.5rem, auto;
    box-shadow:
        inset 0 0 0 1px rgba(34, 211, 238, 0.22),
        inset 0 0 2.5rem rgba(236, 72, 153, 0.16),
        0 0 1.5rem rgba(34, 211, 238, 0.1);
}

.questionnaire-visual-preview--hexastorm::before,
.questionnaire-visual-preview--hexastorm::after {
    content: "";
    position: absolute;
    inset: 0.7rem;
    pointer-events: none;
}

.questionnaire-visual-preview--hexastorm::before {
    border: 1px solid rgba(34, 211, 238, 0.36);
    clip-path: polygon(6% 0, 94% 0, 100% 7%, 100% 93%, 94% 100%, 6% 100%, 0 93%, 0 7%);
}

.questionnaire-visual-preview--hexastorm::after {
    inset: 1.2rem;
    border: 1px solid rgba(236, 72, 153, 0.3);
    clip-path: polygon(10% 0, 90% 0, 100% 10%, 100% 90%, 90% 100%, 10% 100%, 0 90%, 0 10%);
}

.questionnaire-visual-preview--hexastorm > img {
    display: none;
}

.questionnaire-visual-preview--hexastorm .questionnaire-visual-preview__center {
    border: 2px solid rgba(34, 211, 238, 0.78);
    background:
        radial-gradient(circle, rgba(2, 6, 23, 0.92) 52%, rgba(34, 211, 238, 0.18) 54%, rgba(236, 72, 153, 0.22) 68%, transparent 70%);
    box-shadow:
        0 0 0 0.35rem rgba(236, 72, 153, 0.18),
        0 0 1.4rem rgba(34, 211, 238, 0.46),
        inset 0 0 1rem rgba(2, 6, 23, 0.88);
}

.questionnaire-visual-preview__slot {
    position: absolute;
    z-index: 2;
    display: inline-grid;
    min-width: 4.2rem;
    gap: 0.2rem;
    justify-items: center;
    padding: 0.25rem 0.35rem;
    color: #67e8f9;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 0 0 8px rgba(34, 211, 238, 0.85);
    font-size: clamp(0.52rem, 1.25vw, 0.72rem);
    font-weight: 800;
    letter-spacing: 0;
    background: rgba(2, 6, 23, 0.58);
    border: 1px solid rgba(45, 212, 191, 0.24);
}

.questionnaire-visual-preview--hexastorm .questionnaire-visual-preview__slot {
    width: 31%;
    min-width: 0;
    min-height: 16.5%;
    align-content: center;
    color: #67e8f9;
    background: rgba(2, 6, 23, 0.72);
    border: 1px solid rgba(34, 211, 238, 0.58);
    clip-path: polygon(16% 0, 84% 0, 100% 50%, 84% 100%, 16% 100%, 0 50%);
    box-shadow: inset 0 0 1.1rem rgba(34, 211, 238, 0.12), 0 0 0.8rem rgba(34, 211, 238, 0.1);
}

.questionnaire-visual-preview--hexastorm .questionnaire-visual-preview__slot::before,
.questionnaire-visual-preview--hexastorm .questionnaire-visual-preview__slot::after {
    content: "";
    position: absolute;
    left: 22%;
    right: 22%;
    height: 1px;
    background: currentColor;
    opacity: 0.55;
    box-shadow: 0 0 0.45rem currentColor;
}

.questionnaire-visual-preview--hexastorm .questionnaire-visual-preview__slot::before {
    top: 18%;
}

.questionnaire-visual-preview--hexastorm .questionnaire-visual-preview__slot::after {
    bottom: 18%;
}

.questionnaire-visual-preview--hexastorm .questionnaire-visual-preview__slot:nth-of-type(2n) {
    color: #f472b6;
    border-color: rgba(236, 72, 153, 0.58);
    box-shadow: inset 0 0 1.1rem rgba(236, 72, 153, 0.12), 0 0 0.8rem rgba(236, 72, 153, 0.1);
}

.questionnaire-visual-preview--hexastorm .questionnaire-visual-preview__slot--top-center {
    width: 54%;
    min-height: 12%;
    color: #67e8f9;
    background: rgba(2, 6, 23, 0.74);
    border: 1px solid rgba(34, 211, 238, 0.5);
    clip-path: polygon(10% 0, 90% 0, 100% 50%, 90% 100%, 10% 100%, 0 50%);
}

.questionnaire-visual-preview--hexastorm .questionnaire-visual-preview__slot--center-bottom {
    width: 25%;
    min-height: 15%;
}

.questionnaire-visual-preview--hexastorm .questionnaire-visual-preview__slot--description {
    width: 72%;
    min-height: 12%;
    clip-path: polygon(9% 0, 91% 0, 100% 50%, 91% 100%, 9% 100%, 0 50%);
}

.questionnaire-visual-preview__slot i {
    color: #f472b6;
    font-size: clamp(1rem, 2.4vw, 1.45rem);
}

.questionnaire-visual-preview__slot--top-center {
    left: 50%;
    top: 7%;
    transform: translateX(-50%);
    background: transparent;
    border: 0;
}

.questionnaire-visual-preview__slot--left-top {
    left: 5%;
    top: 21%;
}

.questionnaire-visual-preview__slot--right-top {
    right: 5%;
    top: 21%;
}

.questionnaire-visual-preview__slot--left-middle {
    left: 4.5%;
    top: 42%;
}

.questionnaire-visual-preview__slot--right-middle {
    right: 4.5%;
    top: 42%;
}

.questionnaire-visual-preview__slot--left-bottom {
    left: 5%;
    top: 62%;
}

.questionnaire-visual-preview__slot--center-bottom {
    left: 50%;
    top: 63.5%;
    transform: translateX(-50%);
}

.questionnaire-visual-preview__slot--right-bottom {
    right: 5%;
    top: 62%;
}

.questionnaire-visual-preview__slot--description {
    left: 50%;
    bottom: 5.5%;
    width: 72%;
    min-height: 11%;
    transform: translateX(-50%);
    clip-path: polygon(9% 0, 91% 0, 100% 50%, 91% 100%, 9% 100%, 0 50%);
}

.shop-design-card__preview .questionnaire-visual-preview__slot {
    min-width: 3.4rem;
    font-size: 0.5rem;
}

.shop-design-card__preview .questionnaire-visual-preview__slot,
.shop-design-card__preview .questionnaire-visual-preview__slot span {
    background: rgba(2, 6, 23, 0.5);
}

.shop-design-card__preview .questionnaire-visual-preview__slot span {
    position: static;
    z-index: auto;
    padding: 0;
    color: inherit;
}

.questionnaire-design--neon {
    border-color: rgba(34, 211, 238, 0.45) !important;
    box-shadow: 0 0 24px rgba(34, 211, 238, 0.15);
}

.questionnaire-design--hexastorm {
    border-color: rgba(34, 211, 238, 0.58) !important;
    background:
        radial-gradient(circle at 50% 35%, rgba(236, 72, 153, 0.22), transparent 34%),
        linear-gradient(135deg, rgba(8, 47, 73, 0.82), rgba(17, 24, 39, 0.96) 46%, rgba(76, 5, 64, 0.72));
    box-shadow: 0 0 28px rgba(34, 211, 238, 0.18), inset 0 0 22px rgba(236, 72, 153, 0.1);
}

.questionnaire-design--arcade {
    border-color: rgba(250, 204, 21, 0.45) !important;
    box-shadow: 0 0 24px rgba(250, 204, 21, 0.13);
}

.questionnaire-design--vaulted {
    border-color: rgba(192, 132, 252, 0.45) !important;
    box-shadow: 0 0 24px rgba(192, 132, 252, 0.13);
}

.gamer-discovery-profile__design {
    display: inline-flex;
    width: max-content;
    max-width: 100%;
    padding: 0.25rem 0.55rem;
    color: #ffffff;
    background: rgba(20, 184, 166, 0.24);
    border: 1px solid rgba(94, 234, 212, 0.45);
    font-size: 0.7rem;
    font-weight: 700;
}

.gamer-profile-wizard__designs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    gap: 0.75rem;
}

.gamer-profile-wizard__design {
    display: grid;
    gap: 0.35rem;
    min-height: 5rem;
    padding: 0.85rem;
    border: 1px solid rgba(148, 163, 184, 0.25);
    cursor: pointer;
}

@media (max-width: 760px) {
    .shop-page {
        grid-template-columns: 1fr;
    }

    .shop-sidebar {
        flex-direction: row;
        overflow-x: auto;
    }

    .admin-shop-table__row,
    .shop-table__row {
        grid-template-columns: 1fr;
    }
}
