:root {
    --brand: #0d5d4b;
    --brand-dark: #084438;
    --accent: #d7f25a;
    --canvas: #f6f8f2;
    --ink: #17352f;
    --muted: #64736f;
    --line: #d9e1dc;
    --soft: #edf2ed;
    --white: #ffffff;
    --coral: #e66f55;
    --warning: #b67817;
    --danger: #b8483d;
    --shadow: 0 14px 36px rgba(23, 53, 47, 0.09);
    --container: 1240px;
    --radius: 8px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background: var(--canvas);
    color: var(--ink);
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.65;
    letter-spacing: 0;
}

body,
button,
input,
select,
textarea {
    letter-spacing: 0;
}

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

a {
    color: inherit;
    text-decoration: none;
}

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

button,
select {
    cursor: pointer;
}

h1,
h2,
h3,
p,
dl,
dd,
ul {
    margin-top: 0;
}

h1,
h2,
h3,
strong {
    overflow-wrap: anywhere;
}

fieldset {
    min-width: 0;
}

.site-container {
    width: min(calc(100% - 48px), var(--container));
    margin-inline: auto;
    min-width: 0;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    transform: translateY(-160%);
    background: var(--accent);
    color: var(--ink);
    border-radius: 4px;
    font-weight: 700;
}

.skip-link:focus {
    transform: translateY(0);
}

:focus-visible {
    outline: 3px solid var(--coral);
    outline-offset: 3px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 18px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-weight: 700;
    line-height: 1.2;
    transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button--large {
    min-height: 50px;
    padding-inline: 24px;
}

.button--primary {
    background: var(--brand);
    color: var(--white);
}

.button--primary:hover {
    background: var(--brand-dark);
}

.button--secondary {
    border-color: var(--line);
    background: var(--white);
    color: var(--ink);
}

.button--secondary:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.button--accent {
    background: var(--accent);
    color: var(--ink);
}

.button--accent:hover {
    background: #e2f77e;
}

.button--inverse {
    border-color: rgba(255, 255, 255, 0.58);
    background: transparent;
    color: var(--white);
}

.button--inverse:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

input,
select,
textarea {
    width: 100%;
    min-height: 44px;
    border: 1px solid #cbd6d0;
    border-radius: 4px;
    background: var(--white);
    color: var(--ink);
    padding: 9px 12px;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

input::placeholder,
textarea::placeholder {
    color: #8a9792;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--brand);
    outline: 3px solid rgba(13, 93, 75, 0.13);
}

.inline-form {
    display: inline;
}

.text-button {
    border: 0;
    background: transparent;
    color: inherit;
    padding: 0;
}

.site-header {
    position: relative;
    z-index: 30;
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.site-header__utility {
    background: var(--ink);
    color: #dce8e2;
    font-size: 12px;
}

.site-header__utility-inner {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-header__utility p {
    margin: 0;
}

.site-header__utility nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.site-header__contact-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 22px;
    padding: 9px 16px;
    border-bottom: 1px solid var(--line);
    background: #f7f8f5;
    color: var(--muted);
    font-size: 11px;
    text-align: center;
}

.site-header__contact-strip a {
    color: var(--ink);
}

.site-header__utility a:hover,
.site-header__utility button:hover {
    color: var(--accent);
}

.site-header__main {
    min-height: 86px;
    display: grid;
    grid-template-columns: 250px minmax(300px, 1fr) auto;
    align-items: center;
    gap: 32px;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-lockup__symbol {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    border-radius: 8px 2px 8px 2px;
    background: var(--brand);
    color: var(--accent);
    font-size: 24px;
    font-weight: 800;
}

.brand-lockup > span:last-child {
    display: grid;
    min-width: 0;
}

.brand-lockup strong {
    font-size: 20px;
    line-height: 1.25;
}

.brand-lockup small {
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
}

.global-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 78px;
    min-width: 0;
}

.global-search input {
    border-radius: 4px 0 0 4px;
    border-right: 0;
}

.global-search .button {
    border-radius: 0 4px 4px 0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-actions a {
    min-width: 98px;
    padding: 8px 11px;
    border-left: 1px solid var(--line);
    display: grid;
}

.header-actions span {
    color: var(--muted);
    font-size: 11px;
}

.header-actions strong {
    font-size: 13px;
}

.header-actions a:hover strong {
    color: var(--brand);
}

.mobile-nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--white);
    color: var(--ink);
    font-size: 22px;
}

.primary-nav {
    background: var(--white);
    border-top: 1px solid var(--soft);
}

.primary-nav__inner {
    display: flex;
    align-items: center;
    min-height: 48px;
    gap: 34px;
}

.primary-nav a {
    align-self: stretch;
    display: inline-flex;
    align-items: center;
    position: relative;
    font-size: 14px;
    font-weight: 700;
}

.primary-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    background: transparent;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
    color: var(--brand);
}

.primary-nav a[aria-current="page"]::after {
    background: var(--accent);
}

.flash-message {
    background: var(--accent);
    color: var(--ink);
    font-weight: 700;
    padding-block: 10px;
}

.market-hero {
    background: var(--brand);
    color: var(--white);
    overflow: hidden;
}

.market-hero__inner {
    min-height: 450px;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(220px, 0.65fr) 170px;
    align-items: center;
    gap: 52px;
    padding-block: 58px 62px;
}

.market-hero__copy {
    min-width: 0;
}

.market-eyebrow {
    margin-bottom: 16px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
}

.market-hero h1 {
    max-width: 680px;
    margin-bottom: 20px;
    font-size: 58px;
    line-height: 1.12;
    letter-spacing: 0;
}

.market-hero__copy > p:last-of-type {
    max-width: 560px;
    margin-bottom: 30px;
    color: #dce8e2;
    font-size: 17px;
}

.market-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.market-hero__signal {
    aspect-ratio: 1;
    border: 1px solid rgba(215, 242, 90, 0.52);
    border-radius: 8px 2px 8px 2px;
    display: grid;
    place-content: center;
    text-align: center;
    background: rgba(8, 68, 56, 0.76);
}

.market-hero__signal span {
    color: var(--accent);
    font-size: 72px;
    font-weight: 900;
    line-height: 1;
}

.market-hero__signal small {
    margin-top: 14px;
    color: #dce8e2;
    font-weight: 700;
    line-height: 1.45;
}

.market-hero__facts {
    margin: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.market-hero__facts div {
    padding: 16px 0 16px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.market-hero__facts dt {
    color: var(--accent);
    font-size: 24px;
    font-weight: 800;
}

.market-hero__facts dd {
    margin: 2px 0 0;
    color: #dce8e2;
    font-size: 12px;
}

.trade-entry-band {
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.trade-entry-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.trade-entry-strip a {
    min-width: 0;
    min-height: 104px;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-content: center;
    padding: 18px 24px;
    border-right: 1px solid var(--line);
}

.trade-entry-strip a:first-child {
    border-left: 1px solid var(--line);
}

.trade-entry-strip span {
    grid-row: 1 / 3;
    color: var(--brand);
    font-weight: 800;
}

.trade-entry-strip strong {
    font-size: 16px;
}

.trade-entry-strip small {
    color: var(--muted);
    white-space: normal;
}

.trade-entry-strip a:hover {
    background: var(--soft);
}

.home-section {
    padding-block: 72px;
}

.home-section--soft {
    background: var(--soft);
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
}

.section-heading span,
.market-result-bar small {
    display: block;
    margin-bottom: 4px;
    color: var(--brand);
    font-size: 11px;
    font-weight: 800;
}

.section-heading h2 {
    margin: 0;
    font-size: 30px;
    line-height: 1.25;
}

.section-heading > a {
    padding-bottom: 4px;
    color: var(--brand);
    font-weight: 700;
    border-bottom: 2px solid var(--accent);
}

.promo-section {
    padding-bottom: 46px;
}

.promo-deck {
    position: relative;
}

.promo-deck__viewport {
    position: relative;
    aspect-ratio: 2.72 / 1;
    min-height: 300px;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--ink);
}

.promo-deck__slide {
    position: absolute;
    inset: 0;
    display: none;
    color: var(--white);
}

.promo-deck__slide.is-active {
    display: block;
}

.promo-deck__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-deck__slide > span {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 76px 30px 26px;
    background: linear-gradient(transparent, rgba(8, 33, 28, 0.88));
}

.promo-deck__slide small,
.promo-deck__slide strong,
.promo-deck__slide em {
    display: block;
    font-style: normal;
}

.promo-deck__slide small {
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
}

.promo-deck__slide strong {
    margin-block: 4px;
    font-size: 24px;
}

.promo-deck__slide em {
    color: #e6efeb;
}

.promo-deck__empty {
    height: 100%;
    display: grid;
    place-items: center;
    color: #dce8e2;
}

.promo-deck__controls {
    position: absolute;
    right: 22px;
    bottom: 22px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 5px;
}

.carousel-arrow,
.carousel-toggle {
    width: 36px;
    height: 36px;
    padding: 0;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 4px;
    background: rgba(8, 33, 28, 0.72);
    color: var(--white);
    font-size: 20px;
}

.carousel-toggle {
    font-size: 12px;
}

.carousel-dots {
    display: flex;
    align-items: center;
    gap: 1px;
}

.carousel-dots button {
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    position: relative;
}

.carousel-dots button::after {
    content: "";
    position: absolute;
    inset: 9px 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.62);
}

.carousel-dots button[aria-current="true"]::after {
    background: var(--accent);
}

.game-zones {
    padding-top: 46px;
}

.game-zone-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.game-zone-grid a {
    position: relative;
    min-width: 0;
    min-height: 146px;
    overflow: hidden;
    border-radius: 6px;
    background: var(--ink);
    color: var(--white);
}

.game-zone-grid img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    transition: opacity 160ms ease, transform 160ms ease;
}

.game-zone-grid a:hover img {
    opacity: 0.5;
    transform: scale(1.025);
}

.game-zone-grid span,
.game-zone-grid strong,
.game-zone-grid small {
    position: relative;
    z-index: 1;
    display: block;
    margin-left: 20px;
}

.game-zone-grid span {
    padding-top: 18px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
}

.game-zone-grid strong {
    margin-top: 25px;
    font-size: 18px;
}

.game-zone-grid small {
    color: #dce8e2;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.product-grid--market {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-grid--favorites {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.product-card:hover {
    border-color: #a9bdb4;
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.product-card__cover {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--soft);
}

.product-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 180ms ease;
}

.product-card:hover .product-card__cover img {
    transform: scale(1.025);
}

.product-card__body {
    min-width: 0;
    padding: 15px;
}

.product-card__meta {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 7px;
    color: var(--brand);
    font-size: 11px;
    font-weight: 700;
}

.product-card h3 {
    min-height: 44px;
    margin-bottom: 7px;
    font-size: 15px;
    line-height: 1.45;
}

.product-card h3 a:hover {
    color: var(--brand);
}

.product-card__description {
    min-height: 42px;
    margin-bottom: 11px;
    color: var(--muted);
    font-size: 12px;
    overflow-wrap: anywhere;
}

.product-card__tags {
    min-height: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 13px;
}

.product-card__tags span,
.product-detail__badges span,
.guarantee-list span {
    padding: 3px 7px;
    border-radius: 3px;
    background: #e6f2ec;
    color: var(--brand);
    font-size: 10px;
    font-weight: 700;
}

.product-card__footer {
    min-height: 48px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--soft);
}

.product-card__footer > span {
    display: grid;
    min-width: 0;
}

.product-card__footer > span > small {
    max-width: 105px;
    overflow: hidden;
    color: var(--muted);
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-card__footer strong {
    color: var(--coral);
    font-size: 19px;
}

.product-card__footer strong small {
    font-size: 11px;
}

.product-card__footer > a {
    flex: 0 0 auto;
    color: var(--brand);
    font-size: 11px;
    font-weight: 700;
}

.recommend-empty,
.empty-state {
    min-height: 180px;
    padding: 36px 24px;
    display: grid;
    place-content: center;
    justify-items: center;
    text-align: center;
    border: 1px dashed #b9c8c1;
    border-radius: var(--radius);
    background: var(--white);
    color: var(--muted);
}

.empty-state strong {
    color: var(--ink);
    font-size: 18px;
}

.empty-state p {
    margin: 5px 0 16px;
}

.empty-state > a:not(.button) {
    color: var(--brand);
    font-weight: 700;
}

.empty-state--compact {
    min-height: 140px;
}

.trust-band {
    background: var(--ink);
    color: var(--white);
}

.trust-strip {
    min-height: 210px;
    display: grid;
    grid-template-columns: 1.45fr repeat(3, 1fr);
    align-items: center;
    gap: 0;
}

.trust-strip > div {
    padding-right: 44px;
}

.trust-strip > div span {
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
}

.trust-strip h2 {
    margin: 8px 0 0;
    font-size: 26px;
    line-height: 1.35;
}

.trust-strip article {
    min-height: 104px;
    padding: 10px 24px;
    border-left: 1px solid rgba(255, 255, 255, 0.17);
}

.trust-strip article strong {
    color: var(--accent);
}

.trust-strip article p {
    margin: 7px 0 0;
    color: #cbd9d3;
    font-size: 13px;
}

.announcement-band {
    background: var(--accent);
}

.market-announcements {
    min-height: 52px;
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    color: var(--ink);
}

.market-announcements > div {
    min-width: 0;
    display: flex;
    gap: 28px;
    overflow: hidden;
}

.market-announcements > div a,
.market-announcements > div span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.market-announcements > a {
    font-weight: 700;
}

.page-heading-band,
.center-heading-band {
    background: var(--ink);
    color: var(--white);
}

.page-heading {
    min-height: 170px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.page-heading p,
.center-heading p {
    margin-bottom: 5px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
}

.page-heading h1,
.center-heading h1 {
    margin: 0;
    font-size: 34px;
    line-height: 1.25;
}

.page-heading > span,
.page-heading > a {
    color: #dce8e2;
}

.market-page {
    padding-block: 40px 80px;
}

.market-toolbar {
    display: grid;
    grid-template-columns: minmax(190px, 1.4fr) repeat(3, minmax(125px, 0.75fr)) minmax(185px, 1fr) auto;
    align-items: end;
    gap: 12px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.filter-field,
.filter-price {
    min-width: 0;
}

.filter-field label,
.filter-price legend,
.auth-form > label:not(.check-control),
.review-form > label {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
}

.filter-price {
    margin: 0;
    padding: 0;
    border: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 6px;
}

.filter-price legend {
    grid-column: 1 / -1;
    padding: 0;
}

.filter-actions {
    display: flex;
    gap: 7px;
}

.market-results {
    margin-top: 26px;
    min-width: 0;
}

.market-result-bar {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.market-result-bar strong {
    font-size: 20px;
}

.market-result-bar > span {
    color: var(--muted);
    font-size: 12px;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
    margin-top: 34px;
}

.pagination a,
.pagination span {
    min-width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--white);
}

.pagination a[aria-current="page"] {
    border-color: var(--brand);
    background: var(--brand);
    color: var(--white);
}

.breadcrumb-band {
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.breadcrumb {
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 12px;
}

.breadcrumb a:hover {
    color: var(--brand);
}

.product-detail-page {
    padding-block: 40px 56px;
}

.product-detail {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(370px, 0.92fr);
    gap: 42px;
    align-items: start;
}

.product-detail__media {
    min-width: 0;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    background: var(--soft);
}

.product-detail__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail__summary {
    min-width: 0;
    padding: 30px;
    border-top: 4px solid var(--accent);
    background: var(--white);
    box-shadow: var(--shadow);
}

.product-detail__summary h1 {
    margin: 12px 0;
    font-size: 28px;
    line-height: 1.38;
}

.product-detail__badges,
.guarantee-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.product-detail__server {
    margin-bottom: 18px;
    color: var(--muted);
}

.product-detail__server strong {
    margin-right: 18px;
    color: var(--ink);
}

.product-detail__price {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    padding-block: 18px;
    border-block: 1px solid var(--line);
}

.product-detail__price > span {
    color: var(--muted);
}

.product-detail__price strong {
    color: var(--coral);
    font-size: 34px;
}

.product-detail__price small {
    font-size: 14px;
}

.guarantee-list {
    margin-block: 18px;
}

.seller-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 20px;
}

.seller-summary div {
    padding: 10px 12px;
    background: var(--soft);
}

.seller-summary dt {
    color: var(--muted);
    font-size: 10px;
}

.seller-summary dd {
    margin: 2px 0 0;
    font-weight: 700;
}

.purchase-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.purchase-note {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 11px;
    text-align: center;
}

.detail-content-band {
    padding-block: 58px;
    background: var(--white);
}

.detail-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 54px;
}

.product-description h2,
.trade-process h2,
.review-list > h2,
.review-form h2 {
    margin-bottom: 20px;
    font-size: 22px;
}

.rich-copy {
    color: #42534e;
    line-height: 2;
    overflow-wrap: anywhere;
}

.trade-process {
    padding-left: 28px;
    border-left: 1px solid var(--line);
}

.trade-process ol {
    margin: 0;
    padding-left: 20px;
}

.trade-process li {
    margin-bottom: 15px;
    color: var(--muted);
}

.reviews-band {
    padding-block: 58px 80px;
}

.reviews-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 44px;
}

.review-item {
    padding-block: 20px;
    border-bottom: 1px solid var(--line);
}

.review-item__head {
    display: flex;
    align-items: center;
    gap: 14px;
}

.review-item__head span {
    color: var(--warning);
}

.review-item__head time {
    margin-left: auto;
    color: var(--muted);
    font-size: 11px;
}

.review-item p {
    margin: 10px 0 0;
    color: #42534e;
}

.review-form {
    padding: 24px;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.review-form input,
.review-form select,
.review-form textarea {
    margin-bottom: 14px;
}

.auth-page {
    padding-block: 64px 84px;
    background: var(--soft);
}

.auth-split {
    max-width: 980px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.auth-assurance {
    padding: 52px 46px;
    background: var(--brand);
    color: var(--white);
}

.auth-assurance > p {
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
}

.auth-assurance h1 {
    margin-bottom: 34px;
    font-size: 34px;
    line-height: 1.28;
}

.auth-assurance ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.auth-assurance li {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    margin-top: 24px;
}

.auth-assurance li > span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(215, 242, 90, 0.56);
    border-radius: 4px;
    color: var(--accent);
    font-weight: 800;
}

.auth-assurance li p {
    margin: 3px 0 0;
    color: #dce8e2;
    font-size: 12px;
}

.auth-panel {
    min-width: 0;
    padding: 38px 42px 42px;
}

.auth-tabs {
    display: flex;
    gap: 24px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--line);
}

.auth-tabs a {
    padding: 5px 0 11px;
    border-bottom: 3px solid transparent;
    color: var(--muted);
    font-weight: 700;
}

.auth-tabs a[aria-current="page"] {
    border-color: var(--accent);
    color: var(--brand);
}

.auth-panel header h2 {
    margin-bottom: 5px;
    font-size: 26px;
}

.auth-panel header p {
    color: var(--muted);
}

.auth-form {
    display: grid;
}

.auth-form input {
    margin-bottom: 15px;
}

.auth-form label span {
    color: var(--muted);
    font-weight: 400;
}

.check-control {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: start;
    gap: 9px;
    margin: 2px 0 18px;
    font-size: 12px;
}

.check-control input {
    width: 18px;
    min-height: 18px;
    margin: 2px 0 0;
}

.auth-links {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-top: 20px;
    color: var(--muted);
    font-size: 12px;
}

.auth-links a {
    color: var(--brand);
    font-weight: 700;
}

.center-heading {
    min-height: 180px;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
}

.center-user-mark {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 8px 2px 8px 2px;
    background: var(--accent);
    color: var(--ink);
    font-size: 25px;
    font-weight: 800;
}

.center-heading span {
    color: #cbd9d3;
}

.center-page {
    padding-block: 42px 84px;
}

.center-layout {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    align-items: start;
    gap: 38px;
}

.center-nav {
    position: sticky;
    top: 20px;
    display: grid;
    border-top: 3px solid var(--accent);
    background: var(--white);
}

.center-nav a {
    padding: 13px 16px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-weight: 700;
}

.center-nav a:hover,
.center-nav a[aria-current="page"] {
    background: #e8f1ec;
    color: var(--brand);
}

.center-content {
    min-width: 0;
}

.center-section {
    border: 0;
    background: transparent;
    margin-bottom: 48px;
}

.center-section > header {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.center-section > header h2 {
    margin: 0;
    font-size: 22px;
}

.center-section > header p {
    margin: 2px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.center-section > header > span {
    color: var(--brand);
    font-weight: 700;
}

.order-list {
    background: var(--white);
}

.order-row {
    border-bottom: 1px solid var(--line);
}

.order-row__heading {
    min-height: 40px;
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto auto;
    align-items: center;
    gap: 16px;
    padding: 8px 16px;
    background: var(--soft);
    color: var(--muted);
    font-size: 11px;
}

.order-row__body {
    min-height: 114px;
    display: grid;
    grid-template-columns: minmax(250px, 1fr) 120px 210px;
    align-items: center;
    gap: 20px;
    padding: 16px;
}

.order-row__product {
    min-width: 0;
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
}

.order-row__product img {
    width: 92px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 4px;
}

.order-row__product span {
    min-width: 0;
    display: grid;
}

.order-row__product small {
    margin-top: 5px;
    color: var(--muted);
}

.order-row__amount {
    color: var(--coral);
    font-size: 18px;
}

.order-row__actions {
    display: flex;
    justify-content: flex-end;
    gap: 7px;
}

.status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    border-radius: 3px;
    background: #e4eee9;
    color: var(--brand);
    font-size: 11px;
}

.status--pending {
    background: #fff0ce;
    color: #8c5a0a;
}

.status--paid,
.status--completed {
    background: #e1f1e9;
    color: var(--brand);
}

.status--canceled,
.status--payment_review {
    background: #fae7e3;
    color: var(--danger);
}

.static-page {
    padding-block: 52px 88px;
}

.static-page__content {
    max-width: 900px;
    min-height: 300px;
    padding: 42px;
    border-top: 4px solid var(--accent);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.static-page__content h2 {
    font-size: 26px;
}

.static-page__content > p {
    color: #42534e;
    line-height: 2;
    overflow-wrap: anywhere;
}

.static-page__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
}

.static-page__links form {
    margin: 0;
}

.payment-workspace {
    max-width: 760px;
}

.site-footer {
    padding-top: 52px;
    background: #102a25;
    color: #d9e5df;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(220px, 1.5fr) repeat(4, minmax(120px, 0.7fr));
    gap: 42px;
    padding-bottom: 42px;
}

.site-footer__brand {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
}

.site-footer h2 {
    margin: 0 0 12px;
    color: var(--white);
    font-size: 15px;
}

.site-footer__brand h2 {
    font-size: 20px;
}

.site-footer__brand p {
    max-width: 330px;
    margin: 0;
    color: #9fb1aa;
    font-size: 12px;
}

.site-footer__brand p + p {
    margin-top: 12px;
}

.site-footer__brand a,
.site-footer__bottom a {
    color: inherit;
}

.site-footer nav {
    display: grid;
    align-content: start;
    gap: 8px;
}

.site-footer nav a {
    color: #9fb1aa;
    font-size: 12px;
}

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

.information-page {
    max-width: 980px;
    padding-top: 42px;
    padding-bottom: 64px;
}

.information-page__header {
    margin-bottom: 28px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
}

.information-page__eyebrow {
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.12em;
}

.information-page__header h1 {
    margin-bottom: 10px;
    font-size: clamp(28px, 4vw, 38px);
}

.information-page__header > p:last-child {
    margin-bottom: 0;
    color: var(--muted);
}

.information-page__sections,
.news-list {
    display: grid;
    gap: 14px;
}

.information-page__section,
.news-card,
.information-page__empty {
    margin: 0;
    padding: 24px 28px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
}

.information-page__section h2,
.news-card h2 {
    margin-bottom: 10px;
    font-size: 18px;
}

.information-page__section p,
.news-card p {
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.news-card time {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 12px;
}

.site-footer__bottom {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.11);
    color: #82958e;
    font-size: 11px;
}

.desktop-tool-rail {
    display: none;
}

@media (min-width: 1440px) {
    .desktop-tool-rail {
        position: fixed;
        z-index: 20;
        right: 22px;
        bottom: 140px;
        display: grid;
        overflow: hidden;
        border: 1px solid var(--line);
        border-radius: 6px;
        background: var(--white);
        box-shadow: var(--shadow);
    }

    .desktop-tool-rail a {
        width: 52px;
        min-height: 55px;
        display: grid;
        place-items: center;
        align-content: center;
        border-bottom: 1px solid var(--line);
        color: var(--muted);
        font-size: 10px;
    }

    .desktop-tool-rail a:last-child {
        border-bottom: 0;
    }

    .desktop-tool-rail a span:first-child {
        color: var(--brand);
        font-size: 18px;
        font-weight: 800;
    }
}

@media (max-width: 1366px) {
    .site-header__main {
        grid-template-columns: 220px minmax(260px, 1fr) auto;
        gap: 20px;
    }

    .market-hero__inner {
        grid-template-columns: minmax(0, 1.2fr) 230px 150px;
        gap: 34px;
    }

    .market-hero h1 {
        font-size: 50px;
    }

    .market-toolbar {
        grid-template-columns: repeat(4, minmax(140px, 1fr));
    }

    .filter-field--keyword {
        grid-column: span 2;
    }

    .filter-actions {
        justify-content: flex-end;
    }
}

@media (max-width: 1024px) {
    .site-header__main {
        grid-template-columns: 210px minmax(260px, 1fr);
    }

    .header-actions {
        display: none;
    }

    .market-hero__inner {
        grid-template-columns: minmax(0, 1fr) 220px;
    }

    .market-hero__facts {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        border-left: 0;
    }

    .market-hero__facts div {
        padding: 14px;
        border-right: 1px solid rgba(255, 255, 255, 0.16);
        border-bottom: 0;
    }

    .product-grid,
    .product-grid--market {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .trust-strip {
        grid-template-columns: repeat(3, 1fr);
        padding-block: 38px;
    }

    .trust-strip > div {
        grid-column: 1 / -1;
        margin-bottom: 25px;
        padding-right: 0;
    }

    .trust-strip article:first-of-type {
        border-left: 0;
        padding-left: 0;
    }

    .product-detail {
        grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
        gap: 26px;
    }

    .order-row__body {
        grid-template-columns: minmax(230px, 1fr) 100px;
    }

    .order-row__actions {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .site-container {
        width: min(calc(100% - 32px), var(--container));
    }

    .site-header__utility {
        display: none;
    }

    .site-header__contact-strip {
        gap: 4px 14px;
        padding: 8px 16px;
        font-size: 10px;
    }

    .site-header__main {
        min-height: 74px;
        grid-template-columns: minmax(0, 1fr) 44px;
        gap: 12px;
    }

    .brand-lockup strong {
        font-size: 17px;
    }

    .brand-lockup__symbol {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
        font-size: 21px;
    }

    .global-search,
    .header-actions {
        display: none;
    }

    .js .mobile-nav-toggle {
        display: grid;
        place-items: center;
    }

    .primary-nav__inner {
        width: 100%;
        min-height: 0;
        display: grid;
        gap: 0;
    }

    .primary-nav a {
        min-height: 46px;
        padding-inline: 16px;
        border-bottom: 1px solid var(--line);
    }

    .primary-nav a::after {
        top: 10px;
        right: auto;
        bottom: 10px;
        left: 0;
        width: 3px;
        height: auto;
    }

    .js .primary-nav {
        display: none;
    }

    .js .primary-nav[data-open="true"] {
        display: block;
    }

    .market-hero__inner {
        min-height: 0;
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
        padding-block: 48px 40px;
    }

    .market-hero h1 {
        font-size: 40px;
    }

    .market-hero__signal {
        display: none;
    }

    .market-hero__facts {
        grid-column: auto;
    }

    .market-hero__facts dt {
        font-size: 19px;
    }

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

    .trade-entry-strip a:nth-child(2) {
        border-right: 0;
    }

    .trade-entry-strip a:nth-child(n+3) {
        border-top: 1px solid var(--line);
    }

    .home-section {
        padding-block: 52px;
    }

    .section-heading h2 {
        font-size: 25px;
    }

    .promo-deck__viewport {
        aspect-ratio: 16 / 9;
        min-height: 240px;
    }

    .promo-deck__slide > span {
        padding: 54px 20px 20px;
    }

    .promo-deck__controls {
        right: 14px;
        bottom: 14px;
    }

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

    .product-grid,
    .product-grid--market,
    .product-grid--favorites {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .trust-strip {
        grid-template-columns: 1fr;
    }

    .trust-strip > div,
    .trust-strip article {
        grid-column: auto;
    }

    .trust-strip article,
    .trust-strip article:first-of-type {
        min-height: 0;
        padding: 17px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.16);
        border-left: 0;
    }

    .market-announcements {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 12px;
    }

    .market-announcements > div a:not(:first-child) {
        display: none;
    }

    .page-heading {
        min-height: 140px;
    }

    .page-heading h1,
    .center-heading h1 {
        font-size: 29px;
    }

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

    .filter-field--keyword {
        grid-column: 1 / -1;
    }

    .filter-actions {
        align-self: end;
    }

    .product-detail {
        grid-template-columns: minmax(0, 1fr);
    }

    .product-detail__summary {
        padding: 24px;
    }

    .detail-columns,
    .reviews-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 38px;
    }

    .trade-process {
        padding: 25px 0 0;
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .auth-split {
        grid-template-columns: minmax(0, 1fr);
    }

    .auth-assurance {
        padding: 34px;
    }

    .auth-assurance h1 {
        font-size: 28px;
    }

    .auth-assurance ul {
        display: none;
    }

    .center-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .center-nav {
        position: static;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        overflow-x: auto;
    }

    .center-nav a {
        min-width: 92px;
        text-align: center;
        padding-inline: 8px;
    }

    .order-row__heading {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .order-row__heading time {
        display: none;
    }

    .site-footer__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 28px;
    }

    .site-footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .site-container {
        width: min(calc(100% - 24px), var(--container));
    }

    .brand-lockup small {
        display: none;
    }

    .market-hero h1 {
        font-size: 34px;
    }

    .market-hero__copy > p:last-of-type {
        font-size: 15px;
    }

    .market-hero__actions,
    .purchase-form {
        display: grid;
        grid-template-columns: 1fr;
    }

    .market-hero__actions .button {
        width: 100%;
    }

    .market-hero__facts dd {
        font-size: 10px;
    }

    .trade-entry-strip a {
        min-height: 92px;
        padding: 14px;
        grid-template-columns: 28px minmax(0, 1fr);
    }

    .trade-entry-strip small {
        font-size: 10px;
    }

    .section-heading {
        align-items: flex-start;
    }

    .section-heading h2 {
        font-size: 22px;
    }

    .section-heading > a {
        flex: 0 0 auto;
        font-size: 12px;
    }

    .promo-deck__viewport {
        min-height: 210px;
    }

    .promo-deck__slide strong {
        font-size: 19px;
    }

    .promo-deck__slide em {
        display: none;
    }

    .promo-deck__controls {
        right: 10px;
        bottom: 10px;
    }

    .carousel-arrow,
    .carousel-toggle {
        width: 32px;
        height: 32px;
    }

    .game-zone-grid,
    .product-grid,
    .product-grid--market,
    .product-grid--favorites {
        grid-template-columns: minmax(0, 1fr);
    }

    .product-card {
        display: grid;
        grid-template-columns: 118px minmax(0, 1fr);
    }

    .product-card__cover {
        height: 100%;
        aspect-ratio: auto;
    }

    .product-card h3,
    .product-card__description {
        min-height: 0;
    }

    .product-card__description,
    .product-card__tags {
        display: none;
    }

    .product-card__footer {
        margin-top: 8px;
    }

    .market-announcements > strong,
    .market-announcements > a {
        font-size: 11px;
    }

    .page-heading {
        min-height: 124px;
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 8px;
    }

    .page-heading h1,
    .center-heading h1 {
        font-size: 25px;
    }

    .market-toolbar {
        grid-template-columns: minmax(0, 1fr);
        padding: 16px;
    }

    .filter-field--keyword {
        grid-column: auto;
    }

    .filter-actions .button {
        flex: 1;
    }

    .product-detail__summary,
    .review-form,
    .static-page__content {
        padding: 20px;
    }

    .product-detail__summary h1 {
        font-size: 23px;
    }

    .seller-summary {
        grid-template-columns: minmax(0, 1fr);
    }

    .review-item__head {
        flex-wrap: wrap;
    }

    .review-item__head time {
        width: 100%;
        margin-left: 0;
    }

    .auth-page {
        padding-block: 28px 48px;
    }

    .auth-assurance,
    .auth-panel {
        padding: 25px 20px;
    }

    .auth-assurance h1 {
        margin-bottom: 0;
        font-size: 24px;
    }

    .center-heading {
        min-height: 150px;
        grid-template-columns: 52px minmax(0, 1fr);
    }

    .center-heading > .button {
        display: none;
    }

    .center-user-mark {
        width: 52px;
        height: 52px;
    }

    .order-row__heading {
        grid-template-columns: minmax(0, 1fr);
        gap: 4px;
    }

    .order-row__body {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 14px;
    }

    .order-row__product {
        grid-column: 1 / -1;
        grid-template-columns: 76px minmax(0, 1fr);
    }

    .order-row__product img {
        width: 76px;
    }

    .order-row__actions {
        grid-column: auto;
        flex-wrap: wrap;
    }

    .order-row__actions .button {
        min-height: 38px;
        padding-inline: 12px;
    }

    .static-page {
        padding-block: 30px 56px;
    }

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

    .site-footer__brand {
        grid-column: 1 / -1;
    }

    .site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 3px;
        padding-block: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
