:root {
    --action: #f04b2f;
    --action-dark: #d83920;
    --safe: #0c8a72;
    --safe-soft: #e9f7f3;
    --ink: #20242b;
    --muted: #68707c;
    --line: #e3e6ea;
    --surface: #ffffff;
    --canvas: #f5f6f8;
    --warm-soft: #fff1ed;
    --warning: #b76b08;
    --radius: 6px;
    --shadow: 0 8px 24px rgba(32, 36, 43, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

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

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

button,
select {
    cursor: pointer;
}

input,
select,
textarea {
    width: 100%;
    min-width: 0;
    border: 1px solid #cfd4da;
    border-radius: 4px;
    background: var(--surface);
}

input,
select {
    height: 40px;
    padding: 0 11px;
}

textarea {
    padding: 10px 11px;
    resize: vertical;
}

:focus-visible {
    outline: 3px solid rgba(12, 138, 114, 0.32);
    outline-offset: 2px;
}

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 200;
    padding: 8px 12px;
    background: var(--ink);
    color: #fff;
    transform: translateY(-160%);
}

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

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

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

.inline-form {
    display: inline-flex;
    margin: 0;
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
}

.button--primary {
    border-color: var(--action);
    background: var(--action);
    color: #fff;
}

.button--primary:hover {
    border-color: var(--action-dark);
    background: var(--action-dark);
}

.button--secondary {
    border-color: #cfd4da;
    background: #fff;
    color: #343a42;
}

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

.button--large {
    min-height: 46px;
    padding: 0 28px;
}

.topbar {
    min-height: 34px;
    border-bottom: 1px solid #eceef1;
    background: #f8f9fa;
    color: #59616c;
    font-size: 12px;
}

.topbar__inner,
.topbar__links,
.brand-search__inner,
.trade-nav__inner {
    display: flex;
    align-items: center;
}

.topbar__inner {
    min-height: 34px;
    justify-content: space-between;
    gap: 18px;
}

.topbar__welcome {
    margin: 0;
}

.topbar__links {
    min-width: 0;
    gap: 17px;
}

.topbar__links a:hover,
.text-button:hover {
    color: var(--action-dark);
}

.brand-search {
    background: #fff;
}

.brand-search__inner {
    min-height: 88px;
    gap: 30px;
}

.brand-mark {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    min-width: 218px;
}

.brand-mark__name {
    color: var(--action);
    font-size: 26px;
    font-weight: 800;
    line-height: 1.2;
}

.brand-mark__tagline {
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
}

.global-search {
    display: flex;
    flex: 1 1 620px;
    min-width: 0;
    border: 2px solid var(--action);
    border-radius: 5px;
    background: #fff;
    overflow: hidden;
}

.global-search input {
    height: 42px;
    min-width: 0;
    border: 0;
    border-radius: 0;
}

.global-search .button {
    min-width: 94px;
    min-height: 42px;
    border-radius: 0;
}

.header-order-link {
    flex: 0 0 auto;
    padding: 10px 15px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #fff;
}

.header-order-link:hover {
    border-color: var(--action);
    color: var(--action-dark);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #fff;
    font-size: 22px;
}

.trade-nav {
    border-bottom: 2px solid var(--action);
    background: #fff;
}

.trade-nav__inner {
    min-height: 44px;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.trade-nav a {
    position: relative;
    flex: 0 0 auto;
    min-width: 92px;
    padding: 12px 18px;
    font-weight: 700;
    text-align: center;
}

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

.trade-nav a[aria-current="page"]::after {
    position: absolute;
    right: 18px;
    bottom: 0;
    left: 18px;
    height: 3px;
    background: var(--action);
    content: "";
}

.flash-message {
    border-bottom: 1px solid #9dd7ca;
    background: var(--safe-soft);
    color: #075d4e;
}

.flash-message .site-container {
    padding-top: 10px;
    padding-bottom: 10px;
}

.home-stage-band {
    padding: 16px 0 0;
    background: #fff;
}

.home-stage {
    display: grid;
    grid-template-columns: 224px minmax(0, 1fr) 246px;
    min-width: 0;
    border: 1px solid var(--line);
    background: #fff;
}

.category-rail,
.hero-carousel,
.side-workbench,
.home-stage > * {
    min-width: 0;
}

.category-rail {
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--line);
    background: #2d323a;
    color: #fff;
    overflow: hidden;
}

.category-rail__heading {
    padding: 13px 16px;
    background: #22272e;
    font-weight: 700;
}

.category-rail__list {
    display: grid;
    flex: 1 1 auto;
    grid-template-columns: 1fr 1fr;
    align-content: start;
}

.category-rail__list a {
    min-width: 0;
    padding: 10px 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.category-rail__list a:hover {
    background: var(--action);
}

.category-rail__list strong,
.category-rail__list span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.category-rail__list strong {
    font-size: 13px;
}

.category-rail__list span {
    margin-top: 2px;
    color: #bec4cc;
    font-size: 11px;
}

.category-rail__list a:hover span {
    color: #fff;
}

.category-rail__all {
    padding: 10px 14px;
    color: #d8dde3;
    font-size: 12px;
    text-align: center;
}

.hero-carousel {
    position: relative;
    background: #242a31;
    overflow: hidden;
}

.hero-carousel__viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 7;
    min-height: 294px;
    overflow: hidden;
}

.hero-carousel__slide {
    position: absolute;
    inset: 0;
    display: block;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.hero-carousel__slide.is-active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.hero-carousel__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-carousel__caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 32px 22px 20px;
    background: rgba(20, 24, 29, 0.78);
    color: #fff;
}

.hero-carousel__caption strong,
.hero-carousel__caption span {
    display: block;
    overflow-wrap: anywhere;
}

.hero-carousel__caption strong {
    font-size: 20px;
}

.hero-carousel__caption span {
    margin-top: 3px;
    color: #e2e5e8;
}

.hero-carousel__empty {
    display: grid;
    height: 100%;
    place-items: center;
    color: #fff;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 34px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 3px;
    background: rgba(20, 24, 29, 0.58);
    color: #fff;
    font-size: 30px;
    line-height: 1;
    transform: translateY(-50%);
}

.carousel-arrow:hover {
    background: var(--action);
}

.carousel-arrow--prev {
    left: 10px;
}

.carousel-arrow--next {
    right: 10px;
}

.carousel-toggle {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 4;
    display: none;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 4px;
    background: rgba(20, 24, 29, 0.66);
    color: #fff;
    place-items: center;
}

.js .carousel-toggle {
    display: grid;
}

.carousel-toggle:hover {
    background: var(--action);
}

.carousel-dots {
    position: absolute;
    right: 18px;
    bottom: 14px;
    z-index: 4;
    display: flex;
    gap: 0;
}

.carousel-dots button {
    display: grid;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    place-items: center;
}

.carousel-dots button::before {
    width: 9px;
    height: 9px;
    border: 1px solid #fff;
    border-radius: 50%;
    background: transparent;
    content: "";
}

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

.side-workbench {
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--line);
    background: #fff;
    overflow: hidden;
}

.side-workbench__user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border-bottom: 1px solid var(--line);
}

.side-workbench__avatar {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--warm-soft);
    color: var(--action-dark);
    font-weight: 800;
    place-items: center;
}

.side-workbench__user div {
    min-width: 0;
}

.side-workbench__user strong,
.side-workbench__user a {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.side-workbench__user a {
    margin-top: 3px;
    color: var(--action-dark);
    font-size: 12px;
}

.side-workbench__actions {
    display: grid;
    grid-template-columns: 1fr;
}

.side-workbench__actions a {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 0 9px;
    align-items: center;
    padding: 11px 14px;
    border-bottom: 1px solid var(--line);
}

.side-workbench__actions a:hover {
    background: #fafafa;
}

.side-workbench__actions a > span {
    display: grid;
    grid-row: 1 / 3;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--warm-soft);
    color: var(--action-dark);
    font-weight: 800;
    place-items: center;
}

.side-workbench__actions a:nth-child(3) > span {
    background: var(--safe-soft);
    color: var(--safe);
}

.side-workbench__actions strong,
.side-workbench__actions small {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.side-workbench__actions small {
    color: var(--muted);
}

.side-workbench__safety {
    margin: auto 14px 12px;
    padding: 9px 10px;
    border-left: 3px solid var(--safe);
    background: var(--safe-soft);
    color: #37665d;
    font-size: 12px;
    overflow-wrap: anywhere;
}

.side-workbench__safety strong {
    color: #086451;
}

.site-announcement {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    min-height: 42px;
    padding: 0 14px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-left: 1px solid var(--line);
    background: #fff;
    overflow: hidden;
}

.site-announcement > strong {
    color: var(--action-dark);
}

.site-announcement__items {
    display: flex;
    min-width: 0;
    gap: 28px;
    overflow: hidden;
}

.site-announcement__items a,
.site-announcement__items span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-announcement__more {
    color: var(--muted);
}

.home-section {
    padding: 34px 0 38px;
    background: #fff;
}

.home-section--muted {
    background: #f4f6f7;
}

.home-section--safety {
    border-top: 1px solid var(--line);
    background: #f5f7f6;
}

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

.section-heading div {
    min-width: 0;
}

.section-heading span {
    color: var(--action-dark);
    font-size: 12px;
    font-weight: 700;
}

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

.section-heading > a {
    flex: 0 0 auto;
    color: var(--muted);
}

.section-heading > a:hover {
    color: var(--action-dark);
}

.recommend-empty {
    min-height: 112px;
    display: grid;
    border: 1px dashed #cfd4da;
    background: #fff;
    color: var(--muted);
    place-items: center;
    text-align: center;
}

.game-recommend__grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 10px;
}

.game-recommend__grid a {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    overflow: hidden;
}

.game-recommend__grid a:hover {
    border-color: var(--action);
    box-shadow: var(--shadow);
}

.game-recommend__grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.game-recommend__grid span {
    display: block;
    min-width: 0;
    padding: 9px 10px 10px;
}

.game-recommend__grid strong,
.game-recommend__grid small {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.game-recommend__grid small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 11px;
}

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

.product-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    overflow: hidden;
}

.product-card:hover {
    border-color: #f0a08f;
    box-shadow: var(--shadow);
}

.product-card__cover {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #eceff1;
    overflow: hidden;
}

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

.product-card__body {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    flex-direction: column;
    padding: 12px;
}

.product-card__meta,
.product-card__footer {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.product-card__meta {
    color: var(--muted);
    font-size: 11px;
}

.product-card__meta span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-card__meta span:first-child {
    color: var(--safe);
    font-weight: 700;
}

.product-card h3 {
    min-height: 42px;
    margin: 8px 0 5px;
    font-size: 14px;
    line-height: 1.5;
    overflow: hidden;
}

.product-card h3 a {
    display: -webkit-box;
    overflow: hidden;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-card__description {
    display: -webkit-box;
    min-height: 38px;
    margin: 0 0 9px;
    color: var(--muted);
    font-size: 12px;
    overflow: hidden;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-card__tags {
    display: flex;
    min-height: 23px;
    gap: 5px;
    margin-bottom: 10px;
    overflow: hidden;
}

.product-card__tags span {
    flex: 0 1 auto;
    min-width: 0;
    padding: 2px 6px;
    border: 1px solid #acd8ce;
    border-radius: 3px;
    color: #08715e;
    font-size: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-card__footer {
    margin-top: auto;
}

.product-card__footer strong {
    color: var(--action-dark);
    font-size: 20px;
    line-height: 1;
    white-space: nowrap;
}

.product-card__footer strong small {
    margin-right: 2px;
    font-size: 12px;
}

.product-card__footer > span {
    min-width: 0;
    color: var(--muted);
    font-size: 11px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

.safety-cases__grid article {
    display: flex;
    min-width: 0;
    gap: 13px;
    align-items: flex-start;
    padding: 18px;
    border: 1px solid #d8e6e2;
    border-radius: var(--radius);
    background: #fff;
}

.safety-cases__grid article > span {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--safe-soft);
    color: var(--safe);
    font-weight: 800;
    place-items: center;
}

.safety-cases__grid article div {
    min-width: 0;
}

.safety-cases__grid h3,
.safety-cases__grid p {
    margin: 0;
    overflow-wrap: anywhere;
}

.safety-cases__grid h3 {
    font-size: 16px;
}

.safety-cases__grid p {
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
}

.help-entrances {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 14px;
    border: 1px solid var(--line);
    background: #fff;
}

.help-entrances a {
    padding: 12px;
    border-right: 1px solid var(--line);
    text-align: center;
}

.help-entrances a:last-child {
    border-right: 0;
}

.help-entrances a:hover {
    color: var(--action-dark);
}

.page-heading-band,
.center-heading-band,
.breadcrumb-band {
    border-bottom: 1px solid var(--line);
    background: #fff;
}

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

.page-heading div {
    min-width: 0;
}

.page-heading p,
.page-heading h1 {
    margin: 0;
}

.page-heading p {
    color: var(--action-dark);
    font-size: 12px;
    font-weight: 700;
}

.page-heading h1 {
    margin-top: 3px;
    font-size: 26px;
    overflow-wrap: anywhere;
}

.page-heading > span,
.page-heading > a {
    flex: 0 0 auto;
    color: var(--muted);
}

.market-page {
    padding: 22px 0 44px;
}

.filter-panel {
    display: grid;
    grid-template-columns: minmax(190px, 1.5fr) repeat(2, minmax(130px, 0.8fr)) minmax(220px, 1.1fr) minmax(150px, 0.8fr) auto;
    gap: 12px;
    align-items: end;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

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

.filter-field label,
.filter-price legend {
    display: block;
    margin-bottom: 6px;
    color: #4b535e;
    font-size: 12px;
    font-weight: 700;
}

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

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

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

.market-result-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 20px 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #343a42;
}

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

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

.empty-state {
    padding: 64px 24px;
    border: 1px solid var(--line);
    background: #fff;
    text-align: center;
}

.empty-state strong {
    font-size: 17px;
}

.empty-state p {
    margin: 7px 0 18px;
    color: var(--muted);
}

.empty-state--compact {
    padding: 28px 20px;
}

.empty-state--compact p {
    margin-bottom: 8px;
}

.empty-state--compact a:not(.button) {
    color: var(--action-dark);
}

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

.pagination a {
    display: grid;
    min-width: 38px;
    min-height: 38px;
    padding: 7px 11px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #fff;
    place-items: center;
}

.pagination a:hover,
.pagination a[aria-current="page"] {
    border-color: var(--action);
    background: var(--action);
    color: #fff;
}

.breadcrumb {
    display: flex;
    min-height: 44px;
    min-width: 0;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    overflow: hidden;
}

.breadcrumb a,
.breadcrumb span {
    flex: 0 0 auto;
}

.breadcrumb span:last-child {
    flex: 0 1 auto;
    min-width: 0;
    color: var(--ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-detail-page,
.detail-content-band,
.reviews-band {
    background: #fff;
}

.product-detail-page {
    padding: 28px 0 34px;
}

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

.product-detail__media,
.product-detail__summary {
    min-width: 0;
}

.product-detail__media {
    border: 1px solid var(--line);
    background: #edf0f2;
    overflow: hidden;
}

.product-detail__media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

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

.product-detail__badges span {
    padding: 3px 8px;
    border-radius: 3px;
    background: var(--warm-soft);
    color: var(--action-dark);
    font-size: 12px;
}

.product-detail__summary h1 {
    margin: 12px 0 11px;
    font-size: 24px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.product-detail__server {
    margin: 0;
    color: var(--muted);
}

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

.product-detail__price {
    display: flex;
    align-items: center;
    gap: 22px;
    margin: 18px 0 13px;
    padding: 14px 16px;
    background: #f6f7f8;
}

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

.product-detail__price strong {
    color: var(--action-dark);
    font-size: 30px;
    white-space: nowrap;
}

.product-detail__price small {
    margin-right: 3px;
    font-size: 15px;
}

.guarantee-list span {
    padding: 4px 8px;
    border: 1px solid #9fd3c7;
    border-radius: 3px;
    background: var(--safe-soft);
    color: #08715e;
    font-size: 12px;
}

.seller-summary {
    margin: 18px 0;
    border-top: 1px solid var(--line);
}

.seller-summary div {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}

.seller-summary dt {
    color: var(--muted);
}

.seller-summary dd {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
}

.purchase-form {
    display: flex;
    gap: 10px;
}

.purchase-note {
    margin: 10px 0 0;
    color: var(--warning);
    font-size: 12px;
}

.detail-content-band {
    padding: 0 0 36px;
}

.detail-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 30px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.product-description,
.trade-process {
    min-width: 0;
}

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

.rich-copy {
    color: #3f4650;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

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

.trade-process ol {
    display: grid;
    gap: 15px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.trade-process li {
    display: flex;
    min-width: 0;
    gap: 11px;
}

.trade-process li > span {
    display: grid;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--safe);
    color: #fff;
    place-items: center;
}

.trade-process li div {
    min-width: 0;
}

.trade-process p {
    margin: 2px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.reviews-band {
    padding: 30px 0 46px;
    border-top: 12px solid var(--canvas);
}

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

.review-list,
.review-form {
    min-width: 0;
}

.review-list > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--line);
}

.review-list > header span {
    color: var(--muted);
}

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

.review-item__head {
    display: flex;
    flex-wrap: wrap;
    min-width: 0;
    gap: 10px;
    align-items: center;
}

.review-item__head span {
    color: #e58a18;
}

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

.review-item p {
    margin: 8px 0 0;
    overflow-wrap: anywhere;
}

.review-form {
    align-self: start;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fafbfb;
}

.review-form label {
    display: block;
    margin: 12px 0 5px;
    font-weight: 700;
}

.review-form .button {
    margin-top: 13px;
}

.auth-page {
    padding: 42px 0 54px;
    background: #eef1f2;
}

.auth-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    min-height: 560px;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow);
}

.auth-assurance,
.auth-panel {
    min-width: 0;
}

.auth-assurance {
    padding: 58px;
    background: #2e353c;
    color: #fff;
}

.auth-assurance > p {
    margin: 0;
    color: #7fd0bd;
    font-weight: 700;
}

.auth-assurance h1 {
    margin: 6px 0 34px;
    font-size: 28px;
}

.auth-assurance ul {
    display: grid;
    gap: 22px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.auth-assurance li {
    display: flex;
    min-width: 0;
    gap: 13px;
}

.auth-assurance li > span {
    display: grid;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border: 1px solid #679b90;
    border-radius: 50%;
    color: #8ee0cd;
    place-items: center;
}

.auth-assurance li div {
    min-width: 0;
}

.auth-assurance li strong,
.auth-assurance li p {
    overflow-wrap: anywhere;
}

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

.auth-panel {
    padding: 34px 42px;
}

.auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 26px;
    border-bottom: 1px solid var(--line);
}

.auth-tabs a {
    position: relative;
    padding: 11px;
    color: var(--muted);
    font-weight: 700;
    text-align: center;
}

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

.auth-tabs a[aria-current="page"]::after {
    position: absolute;
    right: 20px;
    bottom: -1px;
    left: 20px;
    height: 2px;
    background: var(--action);
    content: "";
}

.auth-panel header h2,
.auth-panel header p {
    margin: 0;
}

.auth-panel header h2 {
    font-size: 24px;
}

.auth-panel header p {
    margin-top: 6px;
    color: var(--muted);
}

.auth-form {
    margin-top: 20px;
}

.auth-form > label:not(.check-control) {
    display: block;
    margin: 13px 0 5px;
    font-weight: 700;
}

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

.auth-form input:not([type="checkbox"]) {
    height: 44px;
}

.auth-form > .button {
    width: 100%;
    margin-top: 20px;
}

.check-control {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin-top: 14px;
    color: var(--muted);
    font-size: 12px;
}

.check-control input {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin-top: 2px;
}

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

.auth-links a {
    color: var(--action-dark);
}

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

.center-user-mark {
    display: grid;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--warm-soft);
    color: var(--action-dark);
    font-size: 23px;
    font-weight: 800;
    place-items: center;
}

.center-heading div:nth-child(2) {
    min-width: 0;
}

.center-heading p,
.center-heading h1,
.center-heading span {
    margin: 0;
    overflow-wrap: anywhere;
}

.center-heading p {
    color: var(--action-dark);
    font-size: 12px;
    font-weight: 700;
}

.center-heading h1 {
    font-size: 23px;
}

.center-heading span {
    color: var(--muted);
}

.center-page {
    padding: 24px 0 46px;
}

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

.center-nav {
    display: grid;
    border: 1px solid var(--line);
    background: #fff;
}

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

.center-nav a:last-child {
    border-bottom: 0;
}

.center-nav a:hover,
.center-nav a[aria-current="page"] {
    border-left: 3px solid var(--action);
    background: var(--warm-soft);
    color: var(--action-dark);
}

.center-content {
    display: grid;
    min-width: 0;
    gap: 18px;
}

.center-section {
    min-width: 0;
    border: 0;
    background: transparent;
}

.center-section > header {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
}

.center-section > header div {
    min-width: 0;
}

.center-section > header h2,
.center-section > header p {
    margin: 0;
}

.center-section > header h2 {
    font-size: 18px;
}

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

.order-list {
    min-width: 0;
}

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

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

.order-row__heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 16px;
    align-items: center;
    padding: 9px 16px;
    background: #f7f8f9;
    color: var(--muted);
    font-size: 12px;
}

.order-row__heading span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

.status--completed {
    color: var(--safe);
}

.status--canceled {
    color: var(--muted);
}

.order-row__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 110px minmax(170px, auto);
    gap: 18px;
    align-items: center;
    padding: 15px 16px;
}

.order-row__product {
    display: flex;
    min-width: 0;
    gap: 12px;
    align-items: center;
}

.order-row__product img {
    flex: 0 0 86px;
    width: 86px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.order-row__product span,
.order-row__product strong,
.order-row__product small {
    display: block;
    min-width: 0;
}

.order-row__product strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

.order-row__amount {
    text-align: center;
    white-space: nowrap;
}

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

.order-row__actions .button {
    min-height: 34px;
    padding: 0 12px;
    font-size: 12px;
}

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

.static-page {
    min-height: 420px;
    padding: 32px 0 54px;
}

.static-page__content {
    padding: 28px 30px;
    border: 1px solid var(--line);
    background: #fff;
}

.static-page__content > p {
    max-width: 820px;
    margin: 0;
    color: #414852;
    font-size: 15px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.static-page__links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.desktop-tool-rail {
    position: fixed;
    top: 46%;
    right: max(10px, calc((100vw - 1200px) / 2 - 66px));
    z-index: 50;
    display: none;
    width: 54px;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow);
}

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

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

.desktop-tool-rail a > span:first-child {
    color: var(--ink);
    font-size: 17px;
    font-weight: 700;
}

.desktop-tool-rail a:hover,
.desktop-tool-rail a:hover > span:first-child {
    color: var(--action-dark);
}

.site-footer {
    padding: 36px 0 20px;
    border-top: 1px solid #414851;
    background: #2c3239;
    color: #c7cdd3;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 42px;
}

.footer-grid section,
.footer-grid nav {
    min-width: 0;
}

.footer-grid h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 15px;
}

.footer-grid section h2 {
    color: #ff846d;
    font-size: 20px;
}

.footer-grid p {
    max-width: 360px;
    margin: 0;
    overflow-wrap: anywhere;
}

.footer-grid nav a {
    display: block;
    margin-top: 7px;
    font-size: 12px;
}

.footer-grid nav a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px solid #454c54;
    color: #9199a2;
    font-size: 11px;
}

@media (min-width: 1440px) {
    .desktop-tool-rail {
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 1366px) {
    .site-container {
        width: min(1160px, calc(100% - 28px));
    }

    .home-stage {
        grid-template-columns: 212px minmax(0, 1fr) 232px;
    }

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

    .game-recommend__grid a:nth-child(n + 7) {
        display: none;
    }

    .filter-panel {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

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

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

@media (max-width: 1000px) {
    .brand-search__inner {
        gap: 18px;
    }

    .brand-mark {
        min-width: 190px;
    }

    .header-order-link {
        display: none;
    }

    .home-stage {
        grid-template-columns: 200px minmax(0, 1fr);
    }

    .side-workbench {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 230px minmax(0, 1fr);
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .side-workbench__user {
        border-right: 1px solid var(--line);
        border-bottom: 0;
    }

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

    .side-workbench__actions a {
        border-right: 1px solid var(--line);
        border-bottom: 0;
    }

    .side-workbench__safety {
        display: none;
    }

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

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

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

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

    .filter-actions {
        justify-content: stretch;
    }

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

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

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

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

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

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

@media (max-width: 768px) {
    html {
        scroll-behavior: auto;
    }

    .site-container {
        width: calc(100% - 24px);
    }

    .topbar__welcome {
        display: none;
    }

    .topbar__inner {
        justify-content: flex-end;
    }

    .topbar__links {
        max-width: 100%;
        gap: 12px;
        overflow-x: auto;
    }

    .brand-search__inner {
        min-height: 118px;
        flex-wrap: wrap;
        gap: 10px 14px;
        padding: 14px 0;
    }

    .brand-mark {
        flex: 1 1 auto;
        min-width: 0;
    }

    .brand-mark__name {
        font-size: 23px;
    }

    .global-search {
        flex: 1 0 100%;
        order: 3;
    }

    .js .nav-toggle {
        display: grid;
        flex: 0 0 42px;
        place-items: center;
    }

    .trade-nav__inner {
        min-height: 0;
        gap: 0;
        padding: 6px 0;
        overflow-x: auto;
    }

    .js .trade-nav__inner {
        display: none;
    }

    .js .trade-nav__inner[data-open="true"] {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        overflow: visible;
    }

    .trade-nav a {
        min-width: 0;
        padding: 10px 7px;
        overflow-wrap: anywhere;
    }

    .home-stage-band {
        padding-top: 10px;
    }

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

    .category-rail {
        border-right: 0;
    }

    .category-rail__heading,
    .category-rail__all {
        display: none;
    }

    .category-rail__list {
        display: flex;
        max-width: 100%;
        overflow-x: auto;
    }

    .category-rail__list a {
        flex: 0 0 116px;
        border-bottom: 0;
    }

    .hero-carousel__viewport {
        min-height: 0;
        aspect-ratio: 16 / 8;
    }

    .hero-carousel__caption {
        padding: 24px 16px 14px;
    }

    .hero-carousel__caption strong {
        font-size: 17px;
    }

    .side-workbench {
        grid-column: auto;
        grid-template-columns: minmax(0, 1fr);
    }

    .side-workbench__user {
        display: none;
    }

    .side-workbench__actions a {
        grid-template-columns: 32px minmax(0, 1fr);
        padding: 10px;
    }

    .side-workbench__actions a > span {
        width: 32px;
        height: 32px;
    }

    .site-announcement {
        gap: 10px;
    }

    .site-announcement__items {
        display: block;
    }

    .site-announcement__items > *:not(:first-child) {
        display: none;
    }

    .home-section {
        padding: 27px 0 30px;
    }

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

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

    .game-recommend__grid a:nth-child(n + 5) {
        display: none;
    }

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

    .product-grid--favorites {
        padding: 12px;
    }

    .safety-cases__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .safety-cases__grid article {
        padding: 14px;
    }

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

    .help-entrances a:nth-child(2) {
        border-right: 0;
    }

    .help-entrances a:nth-child(-n + 2) {
        border-bottom: 1px solid var(--line);
    }

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

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

    .filter-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 14px;
    }

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

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

    .product-detail__media {
        max-width: 620px;
    }

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

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

    .reviews-band {
        padding-bottom: 34px;
    }

    .auth-page {
        padding: 20px 0 32px;
    }

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

    .auth-assurance {
        padding: 24px;
    }

    .auth-assurance h1 {
        margin-bottom: 18px;
        font-size: 23px;
    }

    .auth-assurance ul {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    .auth-assurance li {
        display: block;
    }

    .auth-assurance li > span {
        margin-bottom: 8px;
    }

    .auth-panel {
        padding: 28px;
    }

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

    .center-nav {
        display: flex;
        max-width: 100%;
        overflow-x: auto;
    }

    .center-nav a {
        flex: 0 0 auto;
        border-right: 1px solid var(--line);
        border-bottom: 0;
        white-space: nowrap;
    }

    .center-nav a:hover,
    .center-nav a[aria-current="page"] {
        border-bottom: 3px solid var(--action);
        border-left: 0;
    }

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

    .order-row__heading time {
        display: none;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px;
    }
}

@media (max-width: 480px) {
    .site-container {
        width: calc(100% - 20px);
    }

    .topbar__links > span,
    .topbar__links > a:last-child {
        display: none;
    }

    .brand-mark__tagline {
        display: none;
    }

    .global-search .button {
        min-width: 74px;
        padding: 0 13px;
    }

    .js .trade-nav__inner[data-open="true"] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-carousel__viewport {
        aspect-ratio: 4 / 3;
    }

    .hero-carousel__caption span {
        display: none;
    }

    .carousel-arrow {
        width: 30px;
        height: 40px;
    }

    .side-workbench__actions a {
        display: flex;
        min-width: 0;
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .side-workbench__actions a > span {
        flex: 0 0 32px;
    }

    .side-workbench__actions small {
        display: none;
    }

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

    .site-announcement__more {
        display: none;
    }

    .section-heading {
        align-items: center;
    }

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

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

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

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

    .product-card__description {
        min-height: 0;
    }

    .safety-cases__grid article {
        align-items: center;
    }

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

    .page-heading > span {
        display: none;
    }

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

    .filter-panel > *,
    .filter-field--keyword,
    .filter-price,
    .filter-actions {
        grid-column: 1;
    }

    .market-result-bar {
        margin-top: 16px;
    }

    .purchase-form {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .product-detail__price {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

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

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

    .auth-assurance {
        display: none;
    }

    .auth-panel {
        padding: 22px 18px 26px;
    }

    .auth-links {
        flex-wrap: wrap;
    }

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

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

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

    .center-section > header {
        padding: 13px;
    }

    .order-row__heading {
        gap: 8px;
        padding: 8px 11px;
    }

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

    .order-row__product img {
        flex-basis: 74px;
        width: 74px;
    }

    .order-row__amount {
        text-align: left;
    }

    .order-row__actions {
        grid-column: auto;
        justify-content: flex-start;
    }

    .static-page__content {
        padding: 22px 18px;
    }

    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
    }
}
