:root {
  color-scheme: light;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  background: #f4f1ea;
  color: #20242a;
  --paper: #fffdf8;
  --panel: #ffffff;
  --ink: #20242a;
  --muted: #67717e;
  --line: #e4ded2;
  --line-strong: #cfc5b5;
  --teal: #247c73;
  --amber: #c9871e;
  --coral: #d95d46;
  --green: #2e8b63;
  --red: #c54c3f;
  --charcoal: #1f252a;
  --shadow: 0 18px 50px rgba(37, 35, 30, 0.12);
}

/* Keep catalog interactions responsive while preserving small hover motion. */
body:has(.catalog-page.suwdm-page) {
  animation: none !important;
}

.catalog-page .suwdm-heading-card,
.catalog-page .toolbar.suwdm-filter-card,
.catalog-page .suwdm-list-head,
.catalog-page .product-card.suwdm-product-row,
.catalog-page .suwdm-heading-card::after,
.catalog-page .product-card.suwdm-product-row::before,
.catalog-page .product-card.suwdm-product-row::after,
.catalog-page .suwdm-medal-preview img,
.catalog-page .suwdm-medal-preview i {
  animation: none !important;
}

.catalog-page .product-card.suwdm-product-row {
  transform: translateZ(0);
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.catalog-page .product-card.suwdm-product-row:hover {
  transform: translateY(-2px);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(36, 124, 115, 0.08), transparent 260px),
    #f4f1ea;
}

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

button,
a.primary-link {
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  border-radius: 8px;
  padding: 0 14px;
  background: var(--charcoal);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

button:hover,
a.primary-link:hover {
  transform: translateY(-1px);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

input,
select,
textarea {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 0 12px;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(36, 124, 115, 0.14);
}

a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 clamp(16px, 4vw, 44px);
  background: rgba(255, 253, 248, 0.92);
  border-bottom: 1px solid rgba(228, 222, 210, 0.86);
  backdrop-filter: blur(14px);
}

.brand,
.admin-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  min-width: 190px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--teal), var(--amber));
  color: #fff;
  font-weight: 900;
  font-size: 21px;
  flex: 0 0 auto;
}

.brand strong,
.admin-brand strong {
  display: block;
  line-height: 1.1;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.main-nav a,
.admin-shortcut,
.admin-sidebar nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
}

.main-nav a,
.admin-shortcut {
  flex: 0 0 auto;
  white-space: nowrap;
}

.main-nav a.active,
.main-nav a:hover,
.admin-shortcut:hover,
.admin-sidebar nav a.active,
.admin-sidebar nav a:hover {
  background: #ebe5d9;
  color: var(--ink);
}

.admin-shortcut {
  border: 1px solid var(--line);
}

.page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.narrow-page {
  width: min(620px, calc(100% - 32px));
  padding-top: 54px;
}

.catalog-hero,
.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 24px;
  align-items: stretch;
  min-height: 260px;
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(31, 37, 42, 0.88), rgba(31, 37, 42, 0.5)),
    url("https://cdn.cloudflare.steamstatic.com/steam/apps/730/library_hero.jpg") center / cover;
  color: #fff;
  padding: clamp(24px, 4vw, 42px);
  box-shadow: var(--shadow);
}

.contact-hero {
  background:
    linear-gradient(90deg, rgba(31, 37, 42, 0.9), rgba(36, 124, 115, 0.5)),
    url("https://cdn.cloudflare.steamstatic.com/steam/apps/570/library_hero.jpg") center / cover;
}

.eyebrow {
  margin: 0 0 8px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 900;
  color: #f0c15b;
}

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

h1 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
  margin-bottom: 14px;
}

.hero-copy,
.contact-hero p {
  max-width: 620px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-self: end;
}

.stat,
.contact-card {
  min-height: 98px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 16px;
  backdrop-filter: blur(10px);
}

.stat span,
.contact-card span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.stat strong,
.contact-card strong {
  display: block;
  font-size: 26px;
  margin-top: 8px;
}

.category-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 18px 0 12px;
}

.category-strip button {
  flex: 0 0 auto;
  min-height: 38px;
  background: var(--panel);
  color: var(--ink);
  border: 1px solid var(--line);
}

.category-strip button.active {
  color: #fff;
  background: var(--accent, var(--teal));
  border-color: transparent;
}

.toolbar,
.admin-toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 170px 130px 130px 180px 44px;
  gap: 10px;
  align-items: center;
  margin: 10px 0 22px;
}

.admin-toolbar {
  grid-template-columns: minmax(260px, 1fr) 180px 44px;
}

.admin-toolbar.wrap {
  display: flex;
  flex-wrap: wrap;
}

.toolbar label,
.admin-toolbar label,
.search-field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toolbar label svg,
.admin-toolbar label svg,
.toolbar label .field-icon,
.admin-toolbar label .field-icon {
  position: absolute;
  left: 12px;
  color: var(--muted);
  pointer-events: none;
}

.toolbar input,
.toolbar select,
.admin-toolbar input,
.admin-toolbar select {
  padding-left: 36px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 420px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(33, 30, 24, 0.06);
}

.product-image {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: #111;
  overflow: hidden;
}

.product-image img,
.detail-hero > img,
.mini-product img,
.purchase-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-image span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.68);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
}

.product-body {
  padding: 14px;
  flex: 1;
}

.product-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.product-title-row a {
  font-size: 17px;
  font-weight: 900;
  text-decoration: none;
  line-height: 1.35;
}

.product-card p {
  color: var(--muted);
  line-height: 1.65;
  min-height: 52px;
  margin: 8px 0 12px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag-row span {
  min-height: 25px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border-radius: 8px;
  background: #efe9dc;
  color: #554a38;
  font-size: 12px;
  font-weight: 700;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

.product-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.product-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-top: 1px solid var(--line);
}

.product-actions strong,
.detail-price strong {
  color: var(--coral);
  font-size: 25px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 8px;
  padding: 0 9px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.status-pill.positive {
  background: #e2f4ea;
  color: #176244;
}

.status-pill.warning {
  background: #fff0cc;
  color: #8a5a00;
}

.status-pill.muted {
  background: #ececec;
  color: #676767;
}

.status-pill.neutral {
  background: #e8f0f0;
  color: #275a57;
}

.icon-button {
  width: 40px;
  min-width: 40px;
  padding: 0;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.notice {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff8e8;
  color: #664a12;
  margin-bottom: 16px;
}

.notice.danger {
  background: #fff0ee;
  border-color: #f1beb7;
  color: #92372e;
}

.pagination-summary {
  margin-top: 18px;
  color: var(--muted);
  text-align: center;
}

.skeleton {
  padding: 14px;
  gap: 16px;
}

.skeleton div,
.skeleton span {
  display: block;
  border-radius: 8px;
  background: linear-gradient(90deg, #eee4d4, #f8f2e9, #eee4d4);
  min-height: 120px;
  animation: pulse 1.4s infinite linear;
}

.skeleton span {
  min-height: 18px;
}

@keyframes pulse {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.6; }
}

.empty-state {
  display: grid;
  place-items: center;
  min-height: 300px;
  text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.6);
  padding: 28px;
}

.empty-icon {
  font-size: 42px;
  line-height: 1;
  color: var(--teal);
}

.detail-page {
  width: min(1040px, calc(100% - 32px));
}

.text-button {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  margin-bottom: 14px;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.detail-hero > img {
  min-height: 430px;
}

.detail-summary {
  padding: clamp(22px, 4vw, 36px);
}

.detail-summary h1 {
  color: var(--ink);
  font-size: clamp(28px, 4vw, 44px);
}

.detail-summary p {
  color: var(--muted);
  line-height: 1.85;
}

.detail-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 22px 0;
}

.detail-price span {
  color: var(--muted);
}

.primary-action {
  width: 100%;
  background: linear-gradient(135deg, var(--teal), var(--charcoal));
}

.detail-grid,
.admin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.admin-grid {
  grid-template-columns: 1.1fr 1fr 1fr;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 10px 26px rgba(33, 30, 24, 0.05);
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.panel h2 {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
}

.info-list {
  display: grid;
  gap: 11px;
  margin: 0;
}

.info-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #f1eadf;
  padding-bottom: 10px;
}

.info-list dt {
  color: var(--muted);
}

.info-list dd {
  margin: 0;
  font-weight: 800;
  text-align: right;
}

.muted-copy,
.plain-list {
  color: var(--muted);
  line-height: 1.8;
}

.plain-list {
  margin: 0;
  padding-left: 20px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background: rgba(13, 15, 16, 0.58);
  padding: 18px;
}

.modal-panel {
  width: min(520px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  background: var(--panel);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.modal-head h2 {
  margin: 0;
}

.purchase-preview,
.mini-product {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  background: #f7f0e5;
  border-radius: 8px;
  margin-bottom: 14px;
}

.purchase-preview img,
.mini-product img {
  aspect-ratio: 16 / 9;
  border-radius: 8px;
}

.purchase-preview strong,
.mini-product strong {
  display: block;
  margin-bottom: 4px;
}

.purchase-preview span,
.mini-product span {
  color: var(--muted);
}

.purchase-preview b {
  display: block;
  color: var(--coral);
  margin-top: 8px;
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 12px;
  color: #4a4238;
  font-weight: 800;
}

.field.compact {
  margin-bottom: 0;
}

.check-line,
.switch-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-weight: 700;
}

.check-line input,
.switch-line input,
td input[type="checkbox"] {
  width: 18px;
  min-height: 18px;
}

.warning-box {
  justify-content: flex-start;
  padding: 12px;
  background: #fff4d6;
  border: 1px solid #edd28e;
  border-radius: 8px;
  margin-bottom: 12px;
}

.stack-form {
  display: grid;
  gap: 12px;
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.order-header h1 {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--ink);
  margin-bottom: 6px;
}

.button-row,
.row-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.button-row button,
.button-row a,
.row-actions button {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  min-height: 38px;
}

.result-box {
  margin: 14px 0 0;
  max-height: 220px;
  overflow: auto;
  background: #1f252a;
  color: #d7f4ef;
  border-radius: 8px;
  padding: 12px;
}

.order-tool-buttons {
  gap: 10px;
}

.order-tool-buttons button {
  min-height: 42px;
  border-color: #d8e3f2;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
  font-weight: 900;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.order-tool-buttons button:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: #7dd3fc;
  box-shadow: 0 16px 34px rgba(14, 165, 233, 0.16);
}

.order-tool-buttons button:disabled {
  color: #94a3b8;
  background: #f1f5f9;
  box-shadow: none;
}

.tool-result-panel {
  margin-top: 16px;
}

.tool-card {
  position: relative;
  overflow: hidden;
  padding: 16px;
  border: 1px solid #dbe7f5;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 249, 255, 0.94)),
    radial-gradient(circle at 92% 0%, rgba(56, 189, 248, 0.22), transparent 36%);
  color: #0f172a;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.tool-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #22c55e, #06b6d4, #2563eb);
}

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

.tool-card-head span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: #dcfce7;
  color: #15803d;
  font-size: 12px;
  font-weight: 1000;
}

.tool-card-head strong {
  font-size: 15px;
  font-weight: 1000;
}

.tool-code {
  display: grid;
  place-items: center;
  min-height: 86px;
  margin: 10px 0;
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  background: linear-gradient(135deg, #eff6ff, #f0fdf4);
  color: #0f172a;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 1000;
  letter-spacing: 4px;
}

.tool-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #475569;
  font-size: 12px;
  font-weight: 900;
}

.tool-card small,
.tool-card p {
  color: #475569;
  font-weight: 800;
  line-height: 1.7;
}

.tool-open-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 12px;
  padding: 0 16px;
  border-radius: 10px;
  background: linear-gradient(135deg, #22c55e, #06b6d4);
  color: #fff;
  font-weight: 1000;
}

.tool-secret-grid {
  display: grid;
  gap: 8px;
}

.tool-secret-grid div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
  padding: 10px;
  border: 1px solid #dbeafe;
  border-radius: 10px;
  background: #f8fafc;
}

.tool-secret-grid span {
  color: #64748b;
  font-weight: 900;
}

.tool-secret-grid strong {
  overflow-wrap: anywhere;
  font-weight: 1000;
}

.tool-card-error {
  border-color: #fecaca;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), #fff1f2),
    radial-gradient(circle at 92% 0%, rgba(248, 113, 113, 0.2), transparent 36%);
}

.tool-card-error::before {
  background: linear-gradient(90deg, #ef4444, #f97316);
}

.tool-card-error .tool-card-head span {
  background: #fee2e2;
  color: #b91c1c;
}

.tool-card-loading .tool-card-head span {
  background: #e0f2fe;
  color: #0369a1;
}

.usdt-payment-card {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(20, 184, 166, 0.24);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(240, 253, 250, 0.98), rgba(239, 246, 255, 0.96)),
    radial-gradient(circle at 100% 0%, rgba(20, 184, 166, 0.2), transparent 34%);
  color: #0f172a;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.usdt-payment-head,
.usdt-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.usdt-payment-head span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #ccfbf1;
  color: #0f766e;
  font-weight: 1000;
  font-size: 12px;
}

.usdt-payment-head strong {
  color: #0f172a;
  font-size: 26px;
  font-weight: 1000;
}

.usdt-pay-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.usdt-pay-grid div,
.usdt-address-box {
  display: grid;
  gap: 5px;
  padding: 10px;
  border: 1px solid #dbeafe;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.usdt-pay-grid span,
.usdt-address-box span {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.usdt-pay-grid b,
.usdt-address-box code {
  color: #0f172a;
  font-weight: 1000;
  overflow-wrap: anywhere;
}

.usdt-address-box code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.usdt-address-box button,
.usdt-actions button {
  min-height: 36px;
  border: 1px solid #99f6e4;
  border-radius: 10px;
  background: linear-gradient(135deg, #d9f99d, #67e8f9);
  color: #0f172a;
  font-weight: 1000;
}

.usdt-payment-card p {
  margin: 0;
  color: #475569;
  font-weight: 900;
  line-height: 1.7;
}

.admin-secret-box {
  max-height: 360px;
  border: 1px solid rgba(255, 77, 95, 0.28);
  background: rgba(18, 8, 12, 0.92);
  color: #ffd7dc;
  white-space: pre-wrap;
  word-break: break-word;
}

.success-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  padding: 16px;
  background: #f0eadf;
  border-radius: 8px;
  margin: 18px 0;
  font-size: 22px;
  font-weight: 900;
  text-align: center;
}

.contact-card {
  align-self: end;
  min-height: 150px;
}

.site-footer {
  margin-top: 48px;
  padding: 36px clamp(18px, 5vw, 56px) 28px;
  color: #cbd5e1;
  background:
    radial-gradient(circle at 8% 0%, rgba(37, 99, 235, 0.16), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(20, 184, 166, 0.14), transparent 30%),
    #080b1d;
  border-top: 1px solid rgba(96, 165, 250, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(150px, 220px) minmax(150px, 220px);
  gap: clamp(28px, 7vw, 120px);
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  max-width: 520px;
}

.footer-logo {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #ecfeff;
  background: linear-gradient(135deg, #16c7b7, #3b82f6 72%);
  box-shadow: 0 0 22px rgba(45, 212, 191, 0.24);
}

.footer-logo i {
  font-style: normal;
  font-size: 12px;
  font-weight: 1000;
}

.footer-brand strong,
.footer-column strong {
  display: block;
  color: #f8fafc;
  font-size: 18px;
  font-weight: 1000;
  margin-bottom: 14px;
}

.footer-brand p {
  margin: 0;
  color: #aab6ca;
  line-height: 1.8;
  font-size: 14px;
  font-weight: 800;
}

.footer-column {
  display: grid;
  gap: 10px;
}

.footer-column a,
.footer-bottom a {
  width: fit-content;
  color: #aab6ca;
  text-decoration: none;
  font-size: 14px;
  font-weight: 850;
  transition: color 0.18s ease, transform 0.18s ease;
}

.footer-column a:hover,
.footer-bottom a:hover {
  color: #67e8f9;
  transform: translateX(2px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  max-width: 1280px;
  margin: 42px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  color: #8b98ad;
  font-size: 13px;
  font-weight: 800;
}

.admin-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(36, 124, 115, 0.16), rgba(217, 93, 70, 0.12)),
    #f4f1ea;
  padding: 18px;
}

.login-panel {
  width: min(420px, 100%);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 26px;
}

.login-panel .brand-mark {
  margin-bottom: 18px;
}

.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  background: #f5f2eb;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #252522;
  color: #fff;
  padding: 20px;
}

.admin-sidebar .brand-mark {
  width: 34px;
  height: 34px;
  font-size: 18px;
}

.admin-sidebar nav {
  display: grid;
  gap: 6px;
}

.admin-sidebar nav a {
  color: rgba(255, 255, 255, 0.72);
}

.admin-sidebar nav a.active,
.admin-sidebar nav a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.logout-button {
  margin-top: auto;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

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

.admin-page {
  padding: 26px;
}

.admin-page-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.admin-page-head h1 {
  color: var(--ink);
  font-size: 32px;
  margin-bottom: 6px;
}

.admin-page-head p {
  color: var(--muted);
  margin: 0;
}

.admin-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.kpi {
  min-height: 132px;
  display: grid;
  gap: 8px;
  align-content: center;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
  padding: 18px;
}

.kpi svg {
  color: var(--teal);
}

.kpi-mark {
  color: var(--teal);
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
}

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

.kpi strong {
  font-size: 30px;
}

.bar-list {
  display: grid;
  gap: 13px;
}

.bar-list > div {
  display: grid;
  grid-template-columns: 90px 1fr 52px;
  align-items: center;
  gap: 10px;
}

.bar-list div div {
  height: 9px;
  background: #efe8dc;
  border-radius: 8px;
  overflow: hidden;
}

.bar-list i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--amber));
}

.compact-list,
.log-list {
  display: grid;
  gap: 10px;
}

.compact-list > div,
.log-list > div {
  display: grid;
  gap: 4px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1eadf;
}

.compact-list > div {
  grid-template-columns: 1fr auto auto;
  align-items: center;
}

.log-list span,
.compact-list span {
  color: var(--muted);
  font-size: 12px;
}

.log-list p {
  margin: 0;
  color: var(--muted);
}

.table-wrap {
  overflow: auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
}

th,
td {
  padding: 13px 14px;
  border-bottom: 1px solid #f0e9dc;
  text-align: left;
  vertical-align: middle;
}

th {
  background: #f6efe3;
  color: #514633;
  font-size: 12px;
  text-transform: uppercase;
}

td span {
  display: block;
  color: var(--muted);
  margin-top: 4px;
  font-size: 12px;
}

td input,
td select {
  min-height: 34px;
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.control-card {
  display: grid;
  gap: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: 8px;
  padding: 16px;
}

.control-card h3 {
  margin-bottom: 6px;
}

.control-card p {
  color: var(--muted);
  line-height: 1.7;
  min-height: 52px;
}

.settings-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.settings-form button {
  grid-column: 1 / -1;
}

.price-preview,
.inline-note {
  color: var(--muted);
  font-weight: 700;
}

.loading-line {
  padding: 28px;
  color: var(--muted);
}

@media (max-width: 960px) {
  .topbar {
    height: auto;
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .main-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
  }

  .catalog-hero,
  .contact-hero,
  .detail-hero,
  .detail-grid,
  .admin-grid {
    grid-template-columns: 1fr;
  }

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

  .toolbar,
  .admin-toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: relative;
    height: auto;
  }

  .admin-sidebar nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 640px) {
  .topbar {
    gap: 10px;
    padding: 0 10px;
    overflow: hidden;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .main-nav {
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

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

  .hero-stats,
  .toolbar,
  .admin-toolbar,
  .settings-form,
  .admin-kpis,
  .admin-sidebar nav {
    grid-template-columns: 1fr;
  }

  .product-actions,
  .site-footer,
  .admin-page-head,
  .order-header {
    flex-direction: column;
    align-items: stretch;
  }

  .detail-hero > img {
    min-height: 240px;
  }

  .purchase-preview,
  .mini-product {
    grid-template-columns: 1fr;
  }
}

/* Dark gaming storefront skin inspired by the provided reference site. */
:root {
  --paper: #070b14;
  --panel: rgba(15, 23, 38, 0.78);
  --ink: #f8fafc;
  --muted: #9aa7b7;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(245, 183, 67, 0.34);
  --teal: #24d3ee;
  --amber: #f6c04f;
  --coral: #ff6034;
  --green: #29d17d;
  --red: #ff4d5f;
  --charcoal: #0c1220;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-strong: rgba(255, 255, 255, 0.1);
  --shadow: 0 18px 52px rgba(0, 0, 0, 0.42);
}

body {
  background:
    linear-gradient(180deg, rgba(7, 11, 20, 0.42), rgba(7, 11, 20, 1) 360px),
    linear-gradient(135deg, rgba(36, 211, 238, 0.1), rgba(246, 192, 79, 0.06) 34%, rgba(255, 96, 52, 0.08)),
    #070b14;
  color: var(--ink);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, black, transparent 72%);
}

button,
a.primary-link {
  background: linear-gradient(135deg, #182235, #101725);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

input,
select,
textarea {
  background: rgba(7, 11, 20, 0.82);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.14);
}

input::placeholder {
  color: #6e7d91;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(246, 192, 79, 0.64);
  box-shadow: 0 0 0 3px rgba(246, 192, 79, 0.16);
}

.topbar {
  background: rgba(6, 10, 20, 0.86);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.26);
}

.brand-mark {
  background: linear-gradient(135deg, #f6c04f, #ff6034 50%, #24d3ee);
  color: #07101d;
  box-shadow: 0 0 22px rgba(246, 192, 79, 0.34);
}

.brand small {
  color: #93a4ba;
}

.main-nav a,
.admin-shortcut,
.admin-sidebar nav a {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #c9d3df;
}

.main-nav a.active,
.main-nav a:hover,
.admin-shortcut:hover,
.admin-sidebar nav a.active,
.admin-sidebar nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(246, 192, 79, 0.45);
  color: #fff;
  box-shadow: 0 0 18px rgba(246, 192, 79, 0.15);
}

.main-nav a[href="/contact"] {
  background: linear-gradient(90deg, #7a35ff, #ff3ea5 52%, #24d3ee);
  color: #fff;
  border-color: transparent;
}

.catalog-hero,
.contact-hero {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(90deg, rgba(6, 10, 20, 0.94), rgba(10, 16, 29, 0.72) 54%, rgba(13, 21, 36, 0.35)),
    url("https://cdn.cloudflare.steamstatic.com/steam/apps/730/library_hero.jpg") center / cover;
  box-shadow: 0 0 0 1px rgba(36, 211, 238, 0.06), 0 26px 70px rgba(0, 0, 0, 0.45);
}

.contact-hero {
  background:
    linear-gradient(90deg, rgba(6, 10, 20, 0.94), rgba(33, 18, 46, 0.66) 52%, rgba(10, 16, 29, 0.35)),
    url("https://cdn.cloudflare.steamstatic.com/steam/apps/570/library_hero.jpg") center / cover;
}

.eyebrow {
  color: var(--amber);
  text-shadow: 0 0 16px rgba(246, 192, 79, 0.34);
}

.hero-copy,
.contact-hero p {
  color: rgba(231, 238, 247, 0.78);
}

.stat,
.contact-card,
.panel,
.product-card,
.order-header,
.login-panel,
.kpi,
.table-wrap,
.control-card,
.settings-form,
.modal-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.045));
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.stat strong,
.contact-card strong,
.kpi strong {
  color: #fff;
  text-shadow: 0 0 22px rgba(36, 211, 238, 0.18);
}

.category-strip button {
  background: rgba(255, 255, 255, 0.06);
  color: #d8e2ed;
  border-color: rgba(255, 255, 255, 0.1);
}

.category-strip button.active {
  background: linear-gradient(135deg, rgba(246, 192, 79, 0.96), rgba(255, 96, 52, 0.92));
  color: #1b1306;
  box-shadow: 0 0 24px rgba(246, 192, 79, 0.24);
}

.toolbar,
.admin-toolbar {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.045);
  border-radius: 8px;
  backdrop-filter: blur(12px);
}

.product-card {
  min-height: 430px;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(36, 211, 238, 0.36);
  box-shadow: 0 26px 58px rgba(0, 0, 0, 0.46), 0 0 24px rgba(36, 211, 238, 0.12);
}

.product-image::after,
.detail-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 52%;
  background: linear-gradient(180deg, transparent, rgba(7, 11, 20, 0.86));
  pointer-events: none;
}

.product-title-row a,
.panel h2,
.control-card h3 {
  color: #fff;
}

.product-card p,
.muted-copy,
.plain-list,
.admin-page-head p,
.product-meta,
.log-list p,
.compact-list span,
.log-list span,
td span,
.control-card p {
  color: #a8b5c5;
}

.tag-row span {
  background: rgba(36, 211, 238, 0.11);
  color: #bff5ff;
  border: 1px solid rgba(36, 211, 238, 0.16);
}

.product-actions,
.panel .info-list div,
.info-list div,
.compact-list > div,
.log-list > div {
  border-color: rgba(255, 255, 255, 0.08);
}

.product-actions strong,
.detail-price strong {
  color: #ff734d;
  text-shadow: 0 0 18px rgba(255, 96, 52, 0.26);
}

.product-actions button,
.primary-action {
  background: linear-gradient(90deg, #ff6034, #ee274d);
  color: #fff;
  border: 0;
  box-shadow: 0 14px 30px rgba(238, 39, 77, 0.24);
}

.status-pill.positive {
  background: rgba(41, 209, 125, 0.16);
  color: #65f0a8;
}

.status-pill.warning {
  background: rgba(246, 192, 79, 0.18);
  color: #ffd775;
}

.status-pill.muted {
  background: rgba(255, 255, 255, 0.1);
  color: #9aa7b7;
}

.status-pill.neutral {
  background: rgba(36, 211, 238, 0.14);
  color: #8cecff;
}

.detail-summary h1,
.order-header h1,
.admin-page-head h1,
.login-panel h1 {
  color: #fff;
}

.detail-summary p,
.detail-price span,
.info-list dt {
  color: #9aa7b7;
}

.detail-hero {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.detail-hero > img {
  background: #050914;
}

.detail-summary {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
}

.purchase-preview,
.mini-product,
.success-code,
.warning-box {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.notice {
  background: rgba(246, 192, 79, 0.12);
  border-color: rgba(246, 192, 79, 0.28);
  color: #ffe4a8;
}

.notice.danger {
  background: rgba(255, 77, 95, 0.12);
  border-color: rgba(255, 77, 95, 0.3);
  color: #ffb9c1;
}

.site-footer {
  background: #050914;
  border-top-color: rgba(255, 255, 255, 0.1);
  color: #8d9bb0;
}

.admin-login {
  background:
    linear-gradient(180deg, rgba(7, 11, 20, 0.2), #070b14),
    url("https://cdn.cloudflare.steamstatic.com/steam/apps/730/library_hero.jpg") center / cover;
}

.admin-shell {
  background: #070b14;
}

.admin-sidebar {
  background: rgba(5, 9, 20, 0.92);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.logout-button {
  background: rgba(255, 96, 52, 0.14);
  border-color: rgba(255, 96, 52, 0.28);
}

th {
  background: rgba(246, 192, 79, 0.11);
  color: #ffe4a8;
}

td,
th {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.bar-list div div {
  background: rgba(255, 255, 255, 0.08);
}

.bar-list i {
  background: linear-gradient(90deg, #24d3ee, #f6c04f, #ff6034);
}

.button-row button,
.button-row a,
.row-actions button,
.row-actions a,
.icon-button,
.text-button {
  background: rgba(255, 255, 255, 0.07);
  color: #eaf3ff;
  border-color: rgba(255, 255, 255, 0.12);
}

.table-input-sm {
  max-width: 110px;
}

.admin-kpis.compact .kpi {
  min-height: 96px;
}

.sync-toolbar {
  margin-top: -8px;
  grid-template-columns: minmax(280px, 1fr) 100px 180px 190px minmax(220px, 1fr);
}

.admin-toolbar.wrap.sync-toolbar > input,
.admin-toolbar.wrap.sync-toolbar > select {
  flex: 1 1 150px;
  max-width: 240px;
}

.admin-toolbar.wrap.sync-toolbar > input[name="title"],
.admin-toolbar.wrap.sync-toolbar > input[name="path"],
.admin-toolbar.wrap.sync-toolbar > input[name="game[]"] {
  flex-basis: 230px;
  max-width: 320px;
}

.admin-toolbar.wrap.sync-toolbar > button {
  flex: 0 0 auto;
}

.admin-toolbar.wrap.sync-toolbar > .price-preview {
  flex: 1 1 220px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

.product-toolbar {
  grid-template-columns: minmax(260px, 1fr) 160px 170px 150px 110px;
}

.product-grid .product-card,
.category-showcase .category-card,
.guide-steps article,
.panel,
.kpi {
  animation: card-rise 0.52s ease both;
  animation-delay: calc(var(--i, 0) * 48ms);
}

.market-dynamics {
  display: grid;
  grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1.18fr);
  gap: 14px;
  margin: 18px 0;
}

.spotlight-card,
.market-ticker,
.admin-live-strip {
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.045));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(14px);
}

.spotlight-card {
  display: grid;
  grid-template-columns: 148px 1fr;
  min-height: 184px;
}

.spotlight-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spotlight-card > div {
  padding: 16px;
}

.spotlight-card h3 {
  margin-bottom: 8px;
  color: #fff;
  font-size: 18px;
}

.spotlight-card p:not(.eyebrow) {
  color: #a8b5c5;
  line-height: 1.55;
  margin-bottom: 12px;
}

.spotlight-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 12px;
}

.spotlight-meta span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 8px;
  border-radius: 8px;
  background: rgba(246, 192, 79, 0.13);
  color: #ffd775;
  font-size: 12px;
  font-weight: 900;
}

.spotlight-card.is-swapping > * {
  animation: spotlight-swap 0.46s ease both;
}

.market-ticker {
  min-height: 184px;
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 18px;
  position: relative;
}

.ticker-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.ticker-head strong {
  font-size: 20px;
}

.ticker-head span {
  color: #24d3ee;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
}

.ticker-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: ticker-move 26s linear infinite;
}

.ticker-track span {
  display: grid;
  gap: 4px;
  min-width: 220px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ticker-track b {
  color: #fff;
}

.ticker-track em {
  color: #ff734d;
  font-style: normal;
  font-weight: 900;
}

.ticker-track small {
  color: #9aa7b7;
}

.admin-live-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  margin-bottom: 18px;
}

.admin-live-strip em {
  color: #9aa7b7;
  font-style: normal;
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #29d17d;
  box-shadow: 0 0 0 0 rgba(41, 209, 125, 0.55);
  animation: live-pulse 1.6s ease infinite;
}

@keyframes card-rise {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

@keyframes ticker-move {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes live-pulse {
  70% { box-shadow: 0 0 0 12px rgba(41, 209, 125, 0); }
  100% { box-shadow: 0 0 0 0 rgba(41, 209, 125, 0); }
}

.profit-designer {
  margin-bottom: 16px;
}

.profit-calculator {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 150px 180px 110px minmax(240px, 0.8fr);
  gap: 12px;
  align-items: end;
  padding: 18px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(246, 192, 79, 0.13), rgba(36, 211, 238, 0.08)),
    rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(246, 192, 79, 0.24);
  box-shadow: var(--shadow);
}

.profit-calculator h2 {
  margin: 0 0 8px;
}

.profit-calculator p {
  margin: 0;
  color: #a8b5c5;
  line-height: 1.6;
}

.profit-calculator .field {
  margin-bottom: 0;
}

.profit-result {
  display: grid;
  gap: 6px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.profit-result span,
.profit-result em {
  color: #a8b5c5;
  font-style: normal;
  font-size: 13px;
}

.profit-result strong {
  color: #ffd775;
  font-size: 24px;
}

.profit-rule-form {
  grid-template-columns: minmax(180px, 1fr) 150px 130px 130px 150px 120px 120px 110px minmax(240px, 1fr);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.hero-actions button {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.guide-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 4px;
}

.guide-steps article {
  min-height: 132px;
  padding: 16px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.045));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.guide-steps strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 28px;
  border-radius: 8px;
  background: rgba(246, 192, 79, 0.16);
  color: #ffd775;
  margin-bottom: 12px;
}

.guide-steps h3 {
  margin-bottom: 8px;
  font-size: 16px;
}

.guide-steps p {
  margin: 0;
  color: #a8b5c5;
  line-height: 1.65;
  font-size: 13px;
}

.category-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin: 0 0 18px;
}

.category-card {
  display: grid;
  gap: 8px;
  align-content: start;
  text-align: left;
  min-height: 162px;
  padding: 16px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.11);
}

.category-card:hover,
.category-card.active {
  border-color: color-mix(in srgb, var(--accent), white 20%);
  box-shadow: 0 0 24px color-mix(in srgb, var(--accent), transparent 72%);
}

.category-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent), transparent 72%);
  font-size: 24px;
}

.category-card strong {
  color: #fff;
  font-size: 17px;
}

.category-card small {
  color: #9aa7b7;
  line-height: 1.55;
}

.category-card em {
  color: #ffd775;
  font-style: normal;
  font-weight: 800;
  font-size: 12px;
}

.advanced-search {
  grid-column: 1 / -1;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.18);
}

.advanced-search summary {
  cursor: pointer;
  color: #ffd775;
  font-weight: 900;
  min-height: 28px;
  display: flex;
  align-items: center;
}

.advanced-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(140px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.quick-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.quick-tags button {
  min-height: 36px;
  padding: 0 12px;
  background: rgba(36, 211, 238, 0.1);
  color: #bff5ff;
  border-color: rgba(36, 211, 238, 0.2);
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin: 26px 0 16px;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 38px);
}

.section-title span {
  color: #a8b5c5;
  font-weight: 800;
}

.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(219, 234, 254, 0.82), rgba(186, 230, 253, 0.72)),
    rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(9px);
}

.intro-panel {
  position: relative;
  width: min(620px, 100%);
  overflow: hidden;
  border-radius: 18px;
  padding: 34px;
  color: #082f49;
  background:
    radial-gradient(circle at 88% 18%, rgba(14, 165, 233, 0.28), transparent 32%),
    linear-gradient(135deg, rgba(239, 246, 255, 0.98), rgba(219, 234, 254, 0.96) 48%, rgba(186, 230, 253, 0.96));
  border: 1px solid rgba(14, 165, 233, 0.34);
  box-shadow: 0 28px 90px rgba(14, 116, 144, 0.28), 0 0 38px rgba(59, 130, 246, 0.14);
  animation: intro-pop 0.45s ease both;
}

.intro-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #06b6d4, #60a5fa);
}

.intro-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  min-width: 38px;
  padding: 0;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(14, 165, 233, 0.22);
  box-shadow: 0 12px 28px rgba(14, 116, 144, 0.12);
}

.intro-panel h2 {
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.12;
  margin-bottom: 14px;
  color: #082f49;
  text-shadow: none;
}

.intro-panel p {
  color: #334155;
  line-height: 1.8;
  font-weight: 800;
}

.intro-orbits {
  height: 84px;
  position: relative;
  margin-bottom: 8px;
}

.intro-orbits span {
  position: absolute;
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(14, 165, 233, 0.2);
  box-shadow: 0 14px 30px rgba(14, 116, 144, 0.14);
  font-size: 27px;
  animation: float-bounce 1.7s ease-in-out infinite;
}

.intro-orbits span:nth-child(1) { left: 0; top: 16px; }
.intro-orbits span:nth-child(2) { left: 72px; top: 0; animation-delay: 0.12s; }
.intro-orbits span:nth-child(3) { left: 144px; top: 22px; animation-delay: 0.24s; }
.intro-orbits span:nth-child(4) { left: 216px; top: 6px; animation-delay: 0.36s; }

.intro-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.intro-features span {
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  color: #075985;
  border: 1px solid rgba(14, 165, 233, 0.2);
  font-weight: 900;
  font-size: 12px;
}

.intro-panel .eyebrow {
  color: #0369a1;
  font-weight: 1000;
}

.intro-panel .primary-action {
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  border: 0;
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.22);
}

@keyframes intro-pop {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes float-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@media (max-width: 960px) {
  .guide-steps,
  .advanced-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-toolbar,
  .sync-toolbar,
  .profit-calculator,
  .profit-rule-form,
  .market-dynamics {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .guide-steps,
  .advanced-grid,
  .product-toolbar,
  .sync-toolbar,
  .profit-calculator,
  .profit-rule-form,
  .market-dynamics,
  .spotlight-card {
    grid-template-columns: 1fr;
  }

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

  .intro-panel {
    padding: 24px;
  }

  .intro-orbits span:nth-child(4) {
    display: none;
  }
}

.account-detail-page {
  width: min(1180px, calc(100% - 32px));
}

.detail-topbar {
  position: sticky;
  top: 78px;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  margin-bottom: 16px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(10, 15, 27, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.3);
}

.detail-topbar > strong {
  color: #fff;
  font-size: 18px;
}

.detail-topbar .status-pill {
  justify-self: end;
}

.detail-back {
  width: fit-content;
  min-height: 36px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #e7eef7;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.account-detail-card {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  overflow: hidden;
  min-height: 540px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
  box-shadow: var(--shadow);
}

.account-media {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  background: #050914;
}

.account-media img {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
  filter: saturate(1.12) contrast(1.02);
  transform: scale(1.01);
}

.account-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 45%, rgba(7, 11, 20, 0.82)),
    linear-gradient(180deg, transparent 55%, rgba(7, 11, 20, 0.9));
  pointer-events: none;
}

.media-glow {
  position: absolute;
  inset: auto 26px 26px 26px;
  height: 3px;
  border-radius: 8px;
  background: linear-gradient(90deg, #24d3ee, #f6c04f, #ff6034);
  box-shadow: 0 0 26px rgba(36, 211, 238, 0.35);
  z-index: 2;
}

.media-stats {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 44px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.media-stats span,
.source-badge,
.warranty-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 11px;
  border-radius: 8px;
  color: #dff9ff;
  background: rgba(36, 211, 238, 0.14);
  border: 1px solid rgba(36, 211, 238, 0.22);
  font-size: 12px;
  font-weight: 900;
}

.account-summary {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(24px, 4vw, 38px);
  background:
    radial-gradient(circle at top right, rgba(255, 96, 52, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.summary-line,
.detail-date-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.warranty-badge {
  color: #1c1205;
  background: linear-gradient(90deg, #f6c04f, #ff9f45);
  border: 0;
}

.warranty-badge.danger {
  color: #fff;
  background: linear-gradient(90deg, #ff4d5f, #ee274d);
}

.account-summary h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.1;
}

.account-summary p {
  margin: 0;
  color: #a8b5c5;
  line-height: 1.75;
}

.price-box {
  display: grid;
  gap: 4px;
  padding: 17px;
  border: 1px solid rgba(255, 96, 52, 0.2);
  border-radius: 8px;
  background: rgba(255, 96, 52, 0.08);
}

.price-box span,
.detail-chip b,
.game-metric span,
.seller-metric span,
.detail-info-grid dt {
  color: #9aa7b7;
  font-size: 12px;
  font-weight: 800;
}

.price-box strong {
  color: #ff734d;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1;
  text-shadow: 0 0 22px rgba(255, 96, 52, 0.26);
}

.price-box em {
  color: #ffd775;
  font-style: normal;
  font-weight: 800;
}

.detail-chip-grid,
.game-metric-grid,
.detail-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.detail-chip {
  min-height: 72px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.detail-chip strong {
  color: #fff;
  font-size: 15px;
}

.detail-chip.ok strong {
  color: #65f0a8;
}

.detail-chip.warn strong {
  color: #ffd775;
}

.detail-chip.danger strong {
  color: #ff9aa6;
}

.detail-chip.hot strong {
  color: #ffbe64;
}

.detail-date-line {
  color: #8d9bab;
  font-size: 13px;
  font-weight: 800;
}

.account-tags {
  margin-top: -4px;
}

.detail-buy {
  min-height: 52px;
  font-size: 16px;
}

.detail-alerts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.detail-alert {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.055);
}

.detail-alert strong {
  color: #fff;
}

.detail-alert span {
  color: #a8b5c5;
  line-height: 1.55;
}

.detail-alert.ok {
  border-color: rgba(41, 209, 125, 0.24);
  background: rgba(41, 209, 125, 0.09);
}

.detail-alert.warn {
  border-color: rgba(246, 192, 79, 0.28);
  background: rgba(246, 192, 79, 0.1);
}

.detail-alert.danger {
  border-color: rgba(255, 77, 95, 0.32);
  background: rgba(255, 77, 95, 0.1);
}

.seller-strip {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(5, minmax(92px, 1fr));
  gap: 10px;
  margin-top: 16px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(16px);
}

.seller-card,
.seller-metric {
  min-height: 68px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.seller-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
}

.seller-avatar {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #061018;
  font-weight: 950;
  background: linear-gradient(135deg, #24d3ee, #f6c04f);
}

.seller-card strong {
  color: #fff;
  display: block;
}

.seller-card small {
  color: #9aa7b7;
  font-weight: 800;
}

.seller-metric {
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 10px 12px;
}

.seller-metric strong {
  color: #fff;
  font-size: 22px;
}

.seller-metric.good strong {
  color: #65f0a8;
}

.seller-metric.bad strong {
  color: #ff9aa6;
}

.seller-metric.hot strong {
  color: #ffd775;
}

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

.account-main,
.account-side {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.account-side {
  position: sticky;
  top: 150px;
}

.detail-info-grid {
  margin: 0;
}

.detail-info-grid div {
  min-height: 74px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.detail-info-grid dd {
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
}

.game-metric {
  min-height: 100px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(36, 211, 238, 0.075);
  border: 1px solid rgba(36, 211, 238, 0.12);
}

.game-metric strong {
  color: #fff;
  font-size: 24px;
}

.game-metric small {
  color: #9aa7b7;
  font-weight: 800;
}

.game-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.game-list span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 8px;
  color: #ffd775;
  background: rgba(246, 192, 79, 0.11);
  border: 1px solid rgba(246, 192, 79, 0.18);
  font-size: 12px;
  font-weight: 900;
}

.security-list,
.delivery-steps {
  display: grid;
  gap: 10px;
}

.security-row {
  display: grid;
  grid-template-columns: 28px minmax(88px, 0.45fr) minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 11px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.security-row span {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #03110a;
  background: #65f0a8;
  font-weight: 950;
}

.security-row.warn span {
  color: #241405;
  background: #ffd775;
}

.security-row b {
  color: #c5d1df;
}

.security-row strong {
  color: #fff;
  text-align: right;
}

.price-note {
  margin: 14px 0 0;
}

.plain-list.compact {
  padding-left: 18px;
}

.plain-list.compact li + li {
  margin-top: 8px;
}

.delivery-steps span {
  min-height: 42px;
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 10px;
  color: #dbe6f3;
  font-weight: 850;
}

.delivery-steps b {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #061018;
  background: #24d3ee;
}

@media (max-width: 1060px) {
  .account-detail-card,
  .account-layout,
  .seller-strip {
    grid-template-columns: 1fr;
  }

  .account-media,
  .account-media img {
    min-height: 360px;
  }

  .account-media::after {
    background: linear-gradient(180deg, transparent 45%, rgba(7, 11, 20, 0.9));
  }

  .account-side {
    position: static;
  }

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

  .seller-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .account-detail-page {
    width: min(100% - 20px, 1180px);
  }

  .detail-topbar {
    top: 70px;
    grid-template-columns: auto 1fr auto;
  }

  .detail-back span {
    display: none;
  }

  .account-summary {
    padding: 20px;
  }

  .detail-chip-grid,
  .game-metric-grid,
  .detail-info-grid,
  .seller-strip {
    grid-template-columns: 1fr;
  }

  .security-row {
    grid-template-columns: 28px 1fr;
  }

  .security-row strong {
    grid-column: 2;
    text-align: left;
  }

  .account-media,
  .account-media img {
    min-height: 280px;
  }
}

/* suwdm-like public frontend */
body {
  background:
    radial-gradient(circle at 50% -60px, rgba(255, 255, 255, 0.92), transparent 290px),
    linear-gradient(90deg, #ffedf0 0, #fff8f5 48%, #ffeef2 100%);
}

.site-shell {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(255, 119, 127, 0.08), transparent 32%, rgba(255, 146, 74, 0.08)),
    transparent;
}

.topbar {
  height: 48px;
  justify-content: center;
  gap: 28px;
  padding: 0 24px;
  color: #ffffff;
  background: linear-gradient(180deg, #070922, #0a0d28);
  border-bottom: 2px solid #ff8a24;
  box-shadow: 0 12px 32px rgba(20, 18, 42, 0.18);
}

.topbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: linear-gradient(90deg, #8a61ff, #00c7ff, #ff9a28);
}

.brand {
  min-width: 0;
  margin-right: 24px;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 10px 4px 10px 4px;
  font-size: 14px;
  background: linear-gradient(135deg, #20c7ff, #42d87d);
  box-shadow: 0 0 18px rgba(32, 199, 255, 0.42);
}

.brand strong {
  color: #ffd44f;
  font-size: 15px;
}

.brand small {
  display: none;
}

.main-nav {
  flex: 0 0 auto;
  gap: 10px;
}

.main-nav a,
.admin-shortcut {
  min-height: 30px;
  padding: 0 13px;
  border-radius: 7px;
  color: #d8def6;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
}

.main-nav a.active,
.main-nav a:hover,
.admin-shortcut:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #ffb12f, #ff3f63);
  border-color: transparent;
  box-shadow: 0 0 18px rgba(255, 89, 91, 0.32);
}

.admin-shortcut {
  position: absolute;
  right: 20px;
}

.page.suwdm-page,
.account-detail-page {
  width: min(930px, calc(100% - 28px));
  padding-top: 24px;
}

.suwdm-layout {
  display: grid;
  grid-template-columns: 158px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.suwdm-sidebar {
  position: sticky;
  top: 66px;
}

.suwdm-category-card,
.suwdm-heading-card,
.suwdm-filter-card,
.suwdm-result-meta,
.suwdm-product-row,
.account-detail-card,
.detail-alert,
.seller-strip,
.seller-card,
.seller-metric,
.account-main .panel,
.account-side .panel {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 106, 111, 0.16);
  box-shadow: 0 18px 48px rgba(255, 88, 105, 0.08);
}

.suwdm-category-card {
  display: grid;
  gap: 8px;
  padding: 10px;
  border-radius: 18px;
}

.suwdm-card-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 4px 6px 10px;
}

.suwdm-head-icon,
.suwdm-category-card button span {
  width: 27px;
  height: 27px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: #fff1f3;
  color: #ff415c;
  font-size: 13px;
}

.suwdm-card-head strong {
  display: block;
  color: #ff415c;
  font-size: 14px;
}

.suwdm-card-head small {
  display: block;
  color: #9a9eb0;
  font-size: 10px;
  margin-top: 2px;
}

.suwdm-category-card button {
  min-height: 42px;
  justify-content: flex-start;
  gap: 10px;
  padding: 0 8px;
  color: #303848;
  background: #ffffff;
  border: 1px solid #edf0f7;
  box-shadow: none;
  font-size: 12px;
}

.suwdm-category-card button strong {
  flex: 1;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.suwdm-category-card button i {
  color: #a9b2c4;
  font-style: normal;
}

.suwdm-category-card button.active {
  color: #1e293b;
  background: linear-gradient(90deg, #fff7f5, #fff);
  border-color: #ff5a49;
  box-shadow: inset 3px 0 0 #ff513d;
}

.suwdm-category-card button.active span {
  background: #ffeef0;
  color: #ff354d;
}

.suwdm-content {
  display: grid;
  gap: 12px;
}

.suwdm-heading-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 74px;
  padding: 16px 20px;
  border-radius: 18px;
}

.suwdm-heading-card .eyebrow {
  color: #ff495c;
  font-size: 11px;
}

.suwdm-heading-card h1 {
  margin: 2px 0 4px;
  color: #101827;
  font-size: 21px;
  letter-spacing: 0;
}

.suwdm-heading-card span {
  color: #8a92a6;
  font-size: 12px;
}

.suwdm-heading-card em {
  flex: 0 0 auto;
  min-height: 30px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: #ff4c60;
  background: #fff0f1;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.toolbar.suwdm-filter-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0;
  padding: 16px;
  border-top: 2px solid #ff4c55;
  border-radius: 18px;
}

.suwdm-filter-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px 10px;
}

.suwdm-filter-grid.advanced {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  padding-top: 10px;
  border-top: 1px solid #f3dfe2;
}

.toolbar.suwdm-filter-card label {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.toolbar.suwdm-filter-card label span {
  position: static;
  color: #ff415c;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.2;
}

.toolbar.suwdm-filter-card input,
.toolbar.suwdm-filter-card select {
  min-height: 29px;
  padding: 0 9px;
  border-radius: 7px;
  border-color: #d9e4f2;
  background: #f8fbff;
  color: #334155;
  font-size: 11px;
}

.toolbar.suwdm-filter-card input:disabled {
  color: #a8b1c2;
  background: #f3f7fc;
}

.suwdm-filter-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}

.suwdm-filter-actions button {
  min-height: 32px;
  padding: 0 18px;
  border-radius: 9px;
  font-size: 12px;
  background: #ffffff;
  color: #ff415c;
  border: 1px solid #ffd7dd;
}

.suwdm-filter-actions button:first-child {
  color: #fff;
  background: linear-gradient(135deg, #ff4a5f, #ff6d35);
  border: 0;
  box-shadow: 0 10px 24px rgba(255, 76, 95, 0.25);
}

.suwdm-result-meta {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
  border-radius: 14px;
  color: #7a8398;
  font-size: 12px;
  font-weight: 800;
}

.suwdm-result-meta b {
  color: #ff415c;
}

.product-grid.suwdm-product-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.product-card.suwdm-product-row {
  min-height: 104px;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 134px;
  gap: 14px;
  padding: 14px;
  border-top: 2px solid #ff5a43;
  border-radius: 18px;
  overflow: hidden;
}

.suwdm-product-row .product-image {
  width: 100%;
  min-width: 0;
  min-height: 76px;
  height: 100%;
  aspect-ratio: auto;
  border-radius: 14px;
  background: linear-gradient(135deg, #f5f7fb, #eef3fa);
}

.suwdm-product-row .product-image img {
  object-fit: contain;
  padding: 16px;
}

.suwdm-product-row .product-image::after {
  display: none;
}

.suwdm-product-row .product-image span {
  left: 8px;
  bottom: 8px;
  min-height: 18px;
  padding: 0 8px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.92);
  color: #64748b;
  font-size: 10px;
}

.suwdm-product-row .product-body {
  min-width: 0;
  padding: 0;
  gap: 6px;
}

.suwdm-row-date {
  width: fit-content;
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border: 1px solid #b8f0cc;
  border-radius: 999px;
  color: #19a957;
  background: #f3fff7;
  font-size: 11px;
  font-weight: 900;
}

.suwdm-product-row .product-title-row {
  align-items: center;
}

.suwdm-product-row .product-title-row a {
  color: #162033;
  font-size: 15px;
}

.suwdm-product-row .status-pill {
  min-height: 22px;
  padding: 0 8px;
  font-size: 10px;
}

.suwdm-product-row p {
  min-height: 0;
  color: #68738a;
  font-size: 12px;
}

.suwdm-product-row .tag-row span {
  min-height: 20px;
  padding: 0 7px;
  color: #475569;
  background: #f2f6ff;
  border-color: #dfe9ff;
  font-size: 10px;
}

.product-spec-trail {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product-spec-trail span {
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 7px;
  border-radius: 7px;
  color: #40516b;
  background: #fffaf2;
  border: 1px solid #ffe2bf;
  font-size: 10px;
  font-weight: 900;
}

.product-spec-trail b {
  color: #f06d2f;
  font-weight: 1000;
}

.suwdm-product-row .product-meta {
  color: #8c96aa;
  font-size: 11px;
}

.suwdm-product-row .product-actions {
  align-self: center;
  min-height: 76px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 5px;
  padding: 12px;
  border: 1px solid #ffd8dc;
  border-radius: 16px;
  background: #fff4f5;
}

.suwdm-product-row .product-actions span {
  color: #ff5a64;
  font-size: 11px;
  font-weight: 900;
}

.suwdm-product-row .product-actions strong {
  color: #ff334d;
  font-size: 20px;
}

.suwdm-product-row .product-actions button,
.suwdm-product-row .product-actions a {
  width: 100%;
  min-height: 31px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: linear-gradient(135deg, #ff4c60, #ff6d35);
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  font-size: 12px;
}

.pagination-summary {
  color: #7c879b;
}

.site-footer {
  color: #8d94a8;
}

.detail-topbar {
  top: 58px;
  border-color: rgba(255, 106, 111, 0.16);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 42px rgba(255, 88, 105, 0.08);
}

.detail-topbar > strong {
  color: #111827;
}

.detail-back {
  color: #ff415c;
  background: #fff2f4;
  border: 1px solid #ffd8df;
}

.account-detail-card {
  min-height: 420px;
  grid-template-columns: minmax(260px, 0.88fr) minmax(0, 1.12fr);
  border-top: 2px solid #ff5647;
  border-radius: 20px;
}

.account-media {
  min-height: 420px;
  background: linear-gradient(135deg, #f7f9fd, #eef4fb);
}

.account-media img {
  min-height: 420px;
  object-fit: contain;
  padding: 46px;
  filter: none;
}

.account-media::after {
  background: linear-gradient(180deg, transparent 60%, rgba(255, 255, 255, 0.82));
}

.media-glow {
  background: linear-gradient(90deg, #ff4c60, #ffb12f);
  box-shadow: 0 0 22px rgba(255, 76, 96, 0.22);
}

.media-stats span,
.source-badge,
.warranty-badge {
  color: #ff415c;
  background: #fff2f4;
  border-color: #ffd4da;
}

.account-summary {
  background: #ffffff;
}

.account-summary h1 {
  color: #121a2a;
  font-size: clamp(26px, 3vw, 36px);
}

.account-summary p,
.detail-alert span {
  color: #68738a;
}

.price-box {
  background: #fff4f5;
  border-color: #ffd7dd;
}

.price-box span,
.detail-chip b,
.game-metric span,
.seller-metric span,
.detail-info-grid dt {
  color: #7c879b;
}

.price-box strong {
  color: #ff334d;
  text-shadow: none;
}

.price-box em {
  color: #ff7b2f;
}

.detail-chip,
.detail-info-grid div,
.game-metric {
  background: #f8fbff;
  border-color: #e5edf9;
}

.detail-chip strong,
.detail-info-grid dd,
.seller-card strong,
.seller-metric strong,
.detail-alert strong {
  color: #172033;
}

.detail-date-line {
  color: #8b95aa;
}

.detail-alerts,
.seller-strip {
  margin-top: 12px;
}

.detail-alert {
  border-radius: 16px;
}

.seller-strip {
  border-radius: 18px;
}

.seller-card,
.seller-metric {
  background: #f8fbff;
  border-color: #e5edf9;
}

.seller-avatar {
  color: #fff;
  background: linear-gradient(135deg, #ff4c60, #ffb12f);
}

.seller-card small {
  color: #7c879b;
}

.account-side {
  top: 118px;
}

.suwdm-product-detail {
  width: min(896px, calc(100% - 24px));
  padding-top: 12px;
}

.suwdm-product-detail .suwdm-detail-nav {
  position: sticky;
  top: 0;
  min-height: 48px;
  margin: 0 0 12px;
  padding: 8px 10px;
  grid-template-columns: 1fr auto 1fr;
  border: 0;
  border-radius: 0 0 16px 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
}

.suwdm-detail-card {
  overflow: hidden;
  border-radius: 0 0 22px 22px;
  background: #fff;
  border: 1px solid rgba(255, 106, 111, 0.14);
  box-shadow: 0 18px 48px rgba(255, 88, 105, 0.08);
}

.suwdm-detail-hero {
  position: relative;
  overflow: hidden;
  min-height: 282px;
  padding: 28px 24px 22px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 10%, rgba(255, 255, 255, 0.3), transparent 24%),
    radial-gradient(circle at 8% 100%, rgba(255, 190, 70, 0.45), transparent 28%),
    linear-gradient(135deg, #ff6034 0%, #ee0a24 48%, #ff6034 100%);
}

.suwdm-detail-hero::before,
.suwdm-detail-hero::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.suwdm-detail-hero::before {
  top: -90px;
  right: -54px;
}

.suwdm-detail-hero::after {
  bottom: -120px;
  left: -80px;
}

.suwdm-detail-price {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 5px;
  margin-bottom: 8px;
}

.suwdm-detail-price span {
  margin-top: 11px;
  font-size: 24px;
  font-weight: 1000;
}

.suwdm-detail-price strong {
  font-size: clamp(44px, 7vw, 70px);
  line-height: 0.95;
  letter-spacing: 0;
}

.suwdm-warranty-badge {
  position: relative;
  z-index: 1;
  min-height: 30px;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  margin-bottom: 18px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.32);
  font-size: 13px;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.suwdm-detail-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1.25;
  letter-spacing: 0;
}

.suwdm-detail-hero h1 small {
  display: inline-block;
  margin-left: 7px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78em;
  font-weight: 1000;
}

.suwdm-detail-badges,
.suwdm-detail-times {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.suwdm-detail-badges span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 12px;
  font-weight: 900;
}

.suwdm-detail-times {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 800;
}

.suwdm-detail-card .seller-strip {
  margin: 0;
  padding: 12px 16px;
  border-width: 0 0 1px;
  border-radius: 0;
  box-shadow: none;
}

.suwdm-detail-card .seller-card,
.suwdm-detail-card .seller-metric {
  padding: 0;
  background: transparent;
  border: 0;
  min-height: 34px;
}

.suwdm-detail-card .seller-avatar {
  width: 30px;
  height: 30px;
  border-radius: 999px;
}

.suwdm-detail-buy-row {
  padding: 14px 16px 18px;
  background: #fff;
}

.suwdm-detail-buy-row .detail-buy {
  width: 100%;
  min-height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff4c60, #ff6d35);
  color: #fff;
  font-size: 15px;
  box-shadow: 0 12px 30px rgba(255, 76, 96, 0.26);
}

.suwdm-detail-buy-row .detail-buy:disabled {
  color: #fff;
  background: linear-gradient(135deg, #aab2c2, #747d91);
  box-shadow: none;
  cursor: not-allowed;
}

.suwdm-product-detail .detail-alerts {
  margin-top: 12px;
}

.suwdm-section-title {
  margin: 18px 0 8px;
  color: #111827;
  font-size: 18px;
  letter-spacing: 0;
}

.suwdm-detail-content {
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 12px;
}

.suwdm-detail-content .panel {
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(255, 88, 105, 0.08);
}

.suwdm-detail-content .panel-head {
  border-bottom: 1px solid #f0eef2;
}

.suwdm-detail-content .panel-head h2 {
  color: #111827;
  font-size: 16px;
}

.suwdm-detail-content .game-metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.suwdm-detail-content .detail-info-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.steam-performance-list {
  display: grid;
  gap: 10px;
}

.steam-performance-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 34px;
  padding: 0 2px 10px;
  border-bottom: 1px solid #f1f3f7;
}

.steam-performance-list span {
  color: #7c879b;
  font-size: 13px;
  font-weight: 800;
}

.steam-performance-list strong {
  color: #111827;
  font-size: 14px;
  text-align: right;
}

.steam-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin: 14px 0;
}

.steam-stat-card {
  min-height: 86px;
  padding: 13px 12px;
  border-radius: 12px;
  background: #f8fbff;
  border: 1px solid #e7edf7;
}

.steam-stat-card strong {
  display: block;
  color: #111827;
  font-size: 17px;
  line-height: 1.25;
  word-break: break-word;
}

.steam-stat-card span {
  display: block;
  margin-top: 7px;
  color: #7c879b;
  font-size: 12px;
  font-weight: 900;
}

.steam-stat-card small {
  display: block;
  margin-top: 4px;
  color: #a0a8b8;
  font-size: 11px;
}

.steam-warning-box {
  display: grid;
  gap: 5px;
  margin-top: 12px;
  padding: 12px;
  border-radius: 12px;
  color: #9a3412;
  background: #fff7ed;
  border: 1px solid #fed7aa;
}

.steam-warning-box strong {
  color: #7c2d12;
}

.steam-section-head,
.steam-filter-pills,
.steam-preview-tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.steam-section-head {
  justify-content: space-between;
}

.steam-section-head span,
.steam-filter-pills span {
  color: #8a94a6;
  font-size: 12px;
  font-weight: 800;
}

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

.steam-game-chip {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 6px 8px;
  border-radius: 12px;
  background: #f8fbff;
  border: 1px solid #e7edf7;
}

.steam-game-chip img {
  width: 44px;
  height: 26px;
  object-fit: cover;
  border-radius: 5px;
  background: #dde5f0;
}

.steam-game-chip span {
  min-width: 0;
  overflow: hidden;
  color: #1f2937;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.steam-game-chip b {
  color: #ff4c60;
  font-size: 12px;
  white-space: nowrap;
}

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

.steam-medal-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 10px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 247, 214, 0.92), rgba(238, 248, 255, 0.9));
  border: 1px solid rgba(88, 111, 145, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.steam-medal-card img,
.steam-medal-card i {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  object-fit: contain;
  color: #0b1220;
  background: linear-gradient(135deg, #facc15, #7dd3fc);
  border: 1px solid rgba(17, 24, 39, 0.16);
  font-style: normal;
  font-size: 20px;
  font-weight: 1000;
}

.steam-medal-card strong,
.steam-medal-card span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.steam-medal-card strong {
  color: #0b1220;
  font-size: 13px;
  font-weight: 1000;
}

.steam-medal-card span {
  margin-top: 4px;
  color: #334155;
  font-size: 11px;
  font-weight: 850;
}

.steam-gift-head {
  margin-top: 14px;
}

.steam-gift-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.steam-gift-list span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 0 10px;
  border-radius: 999px;
  color: #0b1220;
  background: #f8fbff;
  border: 1px solid rgba(88, 111, 145, 0.2);
  font-size: 12px;
  font-weight: 900;
}

.steam-filter-pills b,
.steam-preview-tabs a,
.steam-preview-tabs span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: #e54857;
  background: #fff1f2;
  border: 1px solid #ffe0e4;
  font-size: 12px;
  font-weight: 950;
  text-decoration: none;
}

.steam-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid #e7edf7;
}

.steam-transaction-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: #fff;
}

.steam-transaction-table th,
.steam-transaction-table td {
  padding: 11px 10px;
  border-bottom: 1px solid #eef2f7;
  color: #1f2937;
  font-size: 12px;
  text-align: left;
  vertical-align: top;
}

.steam-transaction-table th {
  color: #7c879b;
  background: #f8fbff;
  font-weight: 950;
}

.steam-transaction-table tr:last-child td {
  border-bottom: 0;
}

.email-login-link {
  width: 100%;
  justify-content: center;
  margin-top: 12px;
}

@media (max-width: 900px) {
  .topbar {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .admin-shortcut {
    position: static;
  }

  .suwdm-layout,
  .account-detail-card,
  .suwdm-detail-content,
  .account-layout {
    grid-template-columns: 1fr;
  }

  .suwdm-sidebar,
  .account-side {
    position: static;
  }

  .suwdm-category-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .suwdm-card-head {
    grid-column: 1 / -1;
  }

  .suwdm-filter-grid,
  .suwdm-filter-grid.advanced {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card.suwdm-product-row {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .suwdm-product-row .product-actions {
    grid-column: 1 / -1;
    grid-template-columns: 1fr auto;
    justify-items: start;
  }

  .suwdm-product-row .product-actions button,
  .suwdm-product-row .product-actions a {
    width: auto;
  }

  .suwdm-detail-content .game-metric-grid,
  .suwdm-detail-content .detail-info-grid,
  .steam-stat-grid,
  .steam-game-library,
  .steam-medal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .page.suwdm-page,
  .account-detail-page {
    width: min(100% - 16px, 930px);
  }

  .suwdm-filter-grid,
  .suwdm-filter-grid.advanced,
  .suwdm-category-card {
    grid-template-columns: 1fr;
  }

  .product-card.suwdm-product-row {
    grid-template-columns: 1fr;
  }

  .suwdm-product-row .product-image {
    min-height: 148px;
  }

  .suwdm-product-detail {
    width: min(100%, 896px);
    padding-top: 0;
  }

  .suwdm-detail-card {
    border-left: 0;
    border-right: 0;
    border-radius: 0 0 20px 20px;
  }

  .suwdm-detail-hero {
    min-height: 250px;
    padding: 22px 16px 18px;
  }

  .suwdm-detail-card .seller-strip {
    grid-template-columns: 1fr 1fr;
  }

  .suwdm-detail-content .game-metric-grid,
  .suwdm-detail-content .detail-info-grid,
  .steam-stat-grid,
  .steam-game-library,
  .steam-medal-grid {
    grid-template-columns: 1fr;
  }
}

@keyframes premiumSurfaceShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes premiumLineSweep {
  0% { transform: translateX(-42%); opacity: 0.28; }
  50% { opacity: 0.72; }
  100% { transform: translateX(42%); opacity: 0.28; }
}

:root {
  font-family: SimHei, "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  --ink: #0b1220;
  --muted: #1f2937;
  --panel: #ffffff;
  --paper: #f6f8fb;
  --line: #d8e0ec;
  --charcoal: #0b1220;
}

body {
  color: #0b1220;
  font-family: SimHei, "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  background:
    linear-gradient(120deg, rgba(255, 246, 221, 0.9), rgba(238, 247, 255, 0.92), rgba(244, 255, 246, 0.86)),
    #f6f8fb;
  background-size: 180% 180%;
  animation: premiumSurfaceShift 16s ease infinite;
}

.site-shell,
.site-shell h1,
.site-shell h2,
.site-shell h3,
.site-shell h4,
.site-shell p,
.site-shell span,
.site-shell small,
.site-shell strong,
.site-shell b,
.site-shell em,
.site-shell dt,
.site-shell dd,
.site-shell li,
.site-shell label,
.site-shell button,
.site-shell a {
  color: #0b1220;
  font-family: SimHei, "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

.site-shell {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(247, 250, 255, 0.78)),
    repeating-linear-gradient(135deg, rgba(16, 24, 40, 0.035) 0 1px, transparent 1px 18px);
}

.topbar,
.suwdm-filter-card,
.suwdm-heading-card,
.suwdm-category-card,
.suwdm-result-meta,
.suwdm-product-row,
.suwdm-detail-card,
.seller-strip,
.seller-card,
.seller-metric,
.account-main .panel,
.account-side .panel,
.detail-alert {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(88, 111, 145, 0.18);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(18px);
}

.suwdm-product-row,
.suwdm-detail-card,
.account-main .panel,
.account-side .panel {
  position: relative;
  overflow: hidden;
}

.suwdm-product-row::before,
.suwdm-detail-card::before,
.account-main .panel::before,
.account-side .panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, #111827, #ffb547, #22c55e, #38bdf8, #111827);
  background-size: 220% 100%;
  animation: premiumSurfaceShift 7s linear infinite;
  pointer-events: none;
}

.suwdm-product-row:hover,
.account-main .panel:hover,
.account-side .panel:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 58px rgba(15, 23, 42, 0.14);
}

.brand-mark,
.seller-avatar,
.suwdm-head-icon,
.suwdm-category-card button span {
  color: #0b1220;
  background: linear-gradient(135deg, #ffe082, #a7f3d0);
  border: 1px solid rgba(17, 24, 39, 0.12);
}

button,
a.primary-link,
.primary-action,
.suwdm-filter-actions button:first-child,
.suwdm-product-row .product-actions button,
.suwdm-product-row .product-actions a,
.suwdm-detail-buy-row .detail-buy {
  color: #0b1220;
  background: linear-gradient(135deg, #ffe082, #7dd3fc);
  border: 1px solid rgba(17, 24, 39, 0.16);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
  font-weight: 1000;
}

button:hover,
a.primary-link:hover,
.primary-action:hover,
.suwdm-product-row .product-actions button:hover,
.suwdm-product-row .product-actions a:hover,
.suwdm-detail-buy-row .detail-buy:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
}

.suwdm-detail-buy-row .detail-buy:disabled {
  color: #0b1220;
  background: linear-gradient(135deg, #e5e7eb, #cbd5e1);
}

.suwdm-detail-hero {
  color: #0b1220;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.94), rgba(255, 245, 222, 0.92), rgba(232, 248, 255, 0.96)),
    repeating-linear-gradient(120deg, rgba(17, 24, 39, 0.055) 0 1px, transparent 1px 20px);
  background-size: 200% 200%;
  animation: premiumSurfaceShift 12s ease infinite;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.suwdm-detail-hero::before,
.suwdm-detail-hero::after {
  width: 80%;
  height: 1px;
  border-radius: 0;
  background: linear-gradient(90deg, transparent, rgba(17, 24, 39, 0.24), transparent);
  animation: premiumLineSweep 6s ease-in-out infinite;
}

.suwdm-detail-hero::before {
  top: 18px;
  right: 8%;
}

.suwdm-detail-hero::after {
  bottom: 18px;
  left: 8%;
  animation-delay: -2s;
}

.suwdm-detail-price strong,
.suwdm-detail-price span,
.suwdm-detail-hero h1,
.suwdm-detail-hero h1 small,
.suwdm-detail-times,
.suwdm-detail-times span,
.suwdm-warranty-badge,
.suwdm-detail-badges span {
  color: #0b1220;
  text-shadow: none;
}

.suwdm-detail-price strong,
.suwdm-product-row .product-actions strong,
.price-box strong {
  color: #7f1d1d;
}

.suwdm-warranty-badge,
.suwdm-detail-badges span,
.detail-chip,
.product-spec-trail span,
.steam-filter-pills b,
.steam-preview-tabs a,
.steam-preview-tabs span,
.suwdm-row-date,
.status-pill {
  color: #0b1220;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(17, 24, 39, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.toolbar.suwdm-filter-card input,
.toolbar.suwdm-filter-card select,
input,
select,
textarea {
  color: #0b1220;
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(88, 111, 145, 0.26);
  font-weight: 850;
}

.suwdm-detail-content .panel-head h2,
.panel h2,
.suwdm-section-title,
.suwdm-heading-card h1,
.suwdm-product-row .product-title-row a,
.detail-info-grid dd,
.steam-stat-card strong,
.steam-performance-list strong,
.steam-transaction-table td,
.steam-game-chip span {
  color: #0b1220;
  font-weight: 1000;
}

.muted-copy,
.suwdm-heading-card span,
.suwdm-product-row p,
.suwdm-result-meta,
.detail-info-grid dt,
.steam-stat-card span,
.steam-performance-list span,
.steam-transaction-table th,
.seller-card small,
.seller-metric span {
  color: #1f2937;
}

.steam-stat-card,
.detail-info-grid div,
.game-metric,
.steam-game-chip,
.steam-medal-card,
.security-row,
.price-box,
.suwdm-product-row .product-actions {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 250, 255, 0.82));
  border-color: rgba(88, 111, 145, 0.18);
}

.steam-table-wrap {
  background: #ffffff;
  border-color: rgba(88, 111, 145, 0.22);
}

.steam-transaction-table th {
  background: #eef6ff;
}

.steam-transaction-table tr:hover td {
  background: #fff8e8;
}

.site-shell .topbar {
  color: #0b1220;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(88, 111, 145, 0.18);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.1);
}

.site-shell .topbar::after {
  background: linear-gradient(90deg, #111827, #ffb547, #22c55e, #38bdf8);
}

.site-shell .topbar,
.site-shell .topbar *,
.site-shell .main-nav,
.site-shell .main-nav a,
.site-shell .main-nav a.active,
.site-shell .main-nav a:hover,
.site-shell .admin-shortcut,
.site-shell .admin-shortcut:hover,
.site-shell .brand strong {
  color: #0b1220;
}

.site-shell .main-nav a,
.site-shell .admin-shortcut {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(17, 24, 39, 0.12);
}

.site-shell .main-nav a.active,
.site-shell .main-nav a:hover,
.site-shell .admin-shortcut:hover {
  background: linear-gradient(135deg, #fff1b8, #d9f99d);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12);
}

/* Product detail only: match the suwdm reference page while leaving other pages intact. */
.suwdm-product-detail {
  width: min(896px, calc(100% - 24px));
  padding-top: 12px;
}

.suwdm-product-detail .suwdm-detail-nav {
  min-height: 48px;
  margin: 0 0 12px;
  padding: 8px 10px;
  grid-template-columns: 1fr auto 1fr;
  color: #111827;
  background: rgba(255, 255, 255, 0.96);
  border: 0;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
}

.suwdm-product-detail .suwdm-detail-nav,
.suwdm-product-detail .suwdm-detail-nav * {
  color: #111827;
}

.suwdm-product-detail .detail-back {
  color: #111827;
  background: #fff2f4;
  border: 1px solid #ffd8df;
}

.suwdm-product-detail .suwdm-detail-card {
  overflow: hidden;
  border-radius: 0 0 22px 22px;
  background: #ffffff;
  border: 1px solid rgba(255, 106, 111, 0.14);
  box-shadow: 0 18px 48px rgba(255, 88, 105, 0.1);
}

.suwdm-product-detail .suwdm-detail-card::before {
  display: none;
}

.suwdm-product-detail .suwdm-detail-hero {
  position: relative;
  overflow: hidden;
  min-height: 282px;
  padding: 28px 24px 22px;
  color: #ffffff;
  background:
    radial-gradient(circle at 82% 10%, rgba(255, 255, 255, 0.3), transparent 24%),
    radial-gradient(circle at 8% 100%, rgba(255, 190, 70, 0.45), transparent 28%),
    linear-gradient(135deg, #ff6034 0%, #ee0a24 48%, #ff6034 100%);
  animation: none;
  border-bottom: 0;
}

.suwdm-product-detail .suwdm-detail-hero::before,
.suwdm-product-detail .suwdm-detail-hero::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
  animation: none;
}

.suwdm-product-detail .suwdm-detail-hero::before {
  top: -90px;
  right: -54px;
}

.suwdm-product-detail .suwdm-detail-hero::after {
  bottom: -120px;
  left: -80px;
}

.suwdm-product-detail .suwdm-detail-price,
.suwdm-product-detail .suwdm-warranty-badge,
.suwdm-product-detail .suwdm-detail-hero h1,
.suwdm-product-detail .suwdm-detail-badges,
.suwdm-product-detail .suwdm-detail-times {
  position: relative;
  z-index: 1;
}

.suwdm-product-detail .suwdm-detail-price span,
.suwdm-product-detail .suwdm-detail-price strong,
.suwdm-product-detail .suwdm-detail-hero h1,
.suwdm-product-detail .suwdm-detail-hero h1 small,
.suwdm-product-detail .suwdm-detail-times,
.suwdm-product-detail .suwdm-detail-times span,
.suwdm-product-detail .suwdm-warranty-badge,
.suwdm-product-detail .suwdm-detail-badges span {
  color: #ffffff;
  text-shadow: none;
}

.suwdm-product-detail .suwdm-detail-price {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  margin-bottom: 8px;
}

.suwdm-product-detail .suwdm-detail-price span {
  margin-top: 11px;
  font-size: 24px;
  font-weight: 1000;
}

.suwdm-product-detail .suwdm-detail-price strong {
  font-size: clamp(44px, 7vw, 70px);
  line-height: 0.95;
  letter-spacing: 0;
}

.suwdm-product-detail .suwdm-warranty-badge {
  min-height: 30px;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: none;
  font-size: 13px;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.suwdm-product-detail .suwdm-detail-hero h1 {
  max-width: 760px;
  margin: 0 0 16px;
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1.25;
  letter-spacing: 0;
}

.suwdm-product-detail .suwdm-detail-hero h1 small {
  display: inline-block;
  margin-left: 7px;
  font-size: 0.78em;
  font-weight: 1000;
  opacity: 0.88;
}

.suwdm-product-detail .suwdm-detail-badges,
.suwdm-product-detail .suwdm-detail-times {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.suwdm-product-detail .suwdm-detail-badges span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: none;
  font-size: 12px;
  font-weight: 900;
}

.suwdm-product-detail .suwdm-detail-times {
  margin-top: 12px;
  opacity: 0.86;
  font-size: 12px;
  font-weight: 800;
}

.suwdm-product-detail .suwdm-detail-card .seller-strip {
  margin: 0;
  padding: 12px 16px;
  border-width: 0 0 1px;
  border-radius: 0;
  box-shadow: none;
}

.suwdm-product-detail .suwdm-detail-card .seller-card,
.suwdm-product-detail .suwdm-detail-card .seller-metric {
  padding: 0;
  background: transparent;
  border: 0;
  min-height: 34px;
  box-shadow: none;
}

.suwdm-product-detail .suwdm-detail-card .seller-avatar {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #ff4c60, #ffb12f);
}

.suwdm-product-detail .suwdm-detail-buy-row {
  padding: 14px 16px 18px;
  background: #ffffff;
}

.suwdm-product-detail .suwdm-detail-buy-row .detail-buy {
  width: 100%;
  min-height: 44px;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, #ff4c60, #ff6d35);
  border: 0;
  font-size: 15px;
  box-shadow: 0 12px 30px rgba(255, 76, 96, 0.26);
}

.suwdm-product-detail .suwdm-detail-content .panel {
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(255, 88, 105, 0.08);
}

/* Catalog page only: suwdm.com inspired marketplace layout. */
body:has(.catalog-page.suwdm-page) {
  background:
    radial-gradient(circle at 8% 14%, rgba(255, 94, 110, 0.18), transparent 280px),
    radial-gradient(circle at 90% 18%, rgba(255, 184, 77, 0.16), transparent 300px),
    linear-gradient(90deg, #fff1f3 0, #fffaf6 48%, #fff1f5 100%);
}

body:has(.catalog-page.suwdm-page) .topbar {
  height: 72px;
  justify-content: space-between;
  padding: 0 clamp(18px, 4vw, 44px);
  color: #ffffff;
  background:
    radial-gradient(circle at 12% 0%, rgba(54, 220, 255, 0.16), transparent 260px),
    linear-gradient(180deg, #070922, #0a0d28);
  border-bottom: 3px solid #ff8a24;
  box-shadow: 0 18px 42px rgba(20, 18, 42, 0.22);
}

body:has(.catalog-page.suwdm-page) .topbar,
body:has(.catalog-page.suwdm-page) .topbar *,
body:has(.catalog-page.suwdm-page) .brand strong,
body:has(.catalog-page.suwdm-page) .brand small,
body:has(.catalog-page.suwdm-page) .main-nav a,
body:has(.catalog-page.suwdm-page) .admin-shortcut {
  color: #ffffff;
}

body:has(.catalog-page.suwdm-page) .brand {
  min-width: 270px;
}

body:has(.catalog-page.suwdm-page) .brand-mark {
  width: 52px;
  height: 52px;
  clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0 50%);
  border-radius: 0;
  color: #ffffff;
  background: linear-gradient(135deg, #73f7a1, #3ea5ff 48%, #8c5cff);
  border: 0;
  box-shadow: 0 0 28px rgba(77, 169, 255, 0.34);
}

body:has(.catalog-page.suwdm-page) .brand strong {
  color: #ffcc28;
  font-size: 26px;
  letter-spacing: 0;
}

body:has(.catalog-page.suwdm-page) .brand small {
  display: none;
}

body:has(.catalog-page.suwdm-page) .main-nav {
  gap: 10px;
  margin-left: auto;
}

body:has(.catalog-page.suwdm-page) .main-nav a,
body:has(.catalog-page.suwdm-page) .admin-shortcut {
  min-height: 44px;
  padding: 0 20px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  font-size: 14px;
  font-weight: 1000;
}

body:has(.catalog-page.suwdm-page) .main-nav a.active,
body:has(.catalog-page.suwdm-page) .main-nav a:hover,
body:has(.catalog-page.suwdm-page) .admin-shortcut:hover {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(255, 177, 47, 0.32), rgba(255, 63, 99, 0.2));
  border-color: rgba(255, 193, 76, 0.72);
  box-shadow: 0 0 22px rgba(255, 138, 36, 0.3), inset 0 -2px 0 #ffb12f;
}

.catalog-page.suwdm-page {
  width: min(100% - 48px, 1780px);
  padding-top: 14px;
}

.catalog-page .suwdm-layout {
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.catalog-page .suwdm-sidebar {
  top: 92px;
}

.catalog-page .suwdm-category-card {
  max-height: calc(100vh - 120px);
  overflow: auto;
  gap: 10px;
  padding: 0 14px 18px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 91, 102, 0.18);
  box-shadow: 0 22px 58px rgba(255, 88, 105, 0.12);
}

.catalog-page .suwdm-card-head {
  margin: 0 -14px 8px;
  min-height: 104px;
  padding: 20px 22px;
  color: #ffffff;
  background: linear-gradient(135deg, #ff3854, #ff9145);
  border-radius: 28px 28px 0 0;
}

.catalog-page .suwdm-head-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border: 0;
}

.catalog-page .suwdm-card-head strong,
.catalog-page .suwdm-card-head small {
  color: #ffffff;
}

.catalog-page .suwdm-card-head strong {
  font-size: 20px;
}

.catalog-page .suwdm-category-card button {
  min-height: 82px;
  padding: 0 18px;
  border-radius: 20px;
  color: #253247;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid transparent;
  box-shadow: 0 10px 28px rgba(31, 41, 55, 0.04);
  font-size: 16px;
}

.catalog-page .suwdm-category-card button span {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  color: #ff4054;
  background: #fff5f6;
  border: 1px solid #ffdce1;
}

.catalog-page .suwdm-category-card button.active {
  background: linear-gradient(90deg, #fff7f5, #ffffff);
  border-color: #ff9aa2;
  box-shadow: inset 4px 0 0 #ff4c60, 0 16px 34px rgba(255, 76, 96, 0.1);
}

.catalog-page .suwdm-heading-card {
  min-height: 112px;
  padding: 22px 26px;
  border-radius: 0 0 28px 28px;
  background: rgba(255, 255, 255, 0.92);
  border: 0;
  box-shadow: 0 18px 48px rgba(255, 88, 105, 0.08);
}

.catalog-page .suwdm-heading-card .eyebrow {
  color: #ff4c60;
  font-size: 13px;
  font-weight: 1000;
}

.catalog-page .suwdm-heading-card h1 {
  color: #404754;
  font-size: 32px;
  font-weight: 1000;
}

.catalog-page .suwdm-heading-card span {
  color: #6b7280;
  font-size: 15px;
}

.catalog-page .suwdm-heading-card em {
  color: #ff4c60;
  background: #fff1f2;
  border: 0;
}

.catalog-page .toolbar.suwdm-filter-card {
  grid-template-columns: 1fr;
  padding: 22px 26px;
  border-top: 4px solid transparent;
  border-image: linear-gradient(90deg, #ff4c60, #ff9145) 1;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 48px rgba(255, 88, 105, 0.08);
}

.catalog-page .suwdm-filter-grid.primary {
  grid-template-columns: minmax(260px, 1.6fr) 170px 170px minmax(210px, 1fr);
  gap: 12px;
}

.catalog-page .suwdm-filter-grid.primary label:nth-of-type(4),
.catalog-page .suwdm-filter-grid.primary label:nth-of-type(n+6),
.catalog-page .suwdm-filter-grid.advanced {
  display: none;
}

.catalog-page .suwdm-filter-grid.primary label:nth-of-type(5) {
  display: grid;
}

.catalog-page .toolbar.suwdm-filter-card label span {
  color: #ff4054;
  font-size: 13px;
}

.catalog-page .toolbar.suwdm-filter-card input,
.catalog-page .toolbar.suwdm-filter-card select {
  min-height: 42px;
  border-radius: 13px;
  color: #243044;
  background: #f8fafc;
  border-color: #dbe5f2;
  font-size: 14px;
}

.catalog-page .suwdm-filter-actions {
  margin-top: 4px;
}

.catalog-page .suwdm-filter-actions button {
  min-height: 42px;
  padding: 0 24px;
  border-radius: 14px;
  color: #ff4054;
  background: #ffffff;
  border: 1px solid #ffd5da;
}

.catalog-page .suwdm-filter-actions button:first-child {
  color: #ffffff;
  background: linear-gradient(135deg, #ff4054, #ff5068);
  box-shadow: 0 14px 28px rgba(255, 64, 84, 0.22);
}

.catalog-page .suwdm-list-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.catalog-page .suwdm-total-badge,
.catalog-page .suwdm-pagination {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #ffe0e5;
  box-shadow: 0 14px 34px rgba(255, 88, 105, 0.08);
}

.catalog-page .suwdm-total-badge {
  padding: 0 26px;
  color: #728099;
  font-size: 15px;
  font-weight: 900;
}

.catalog-page .suwdm-total-badge b {
  margin: 0 5px;
  color: #ff4c60;
  font-size: 18px;
}

.catalog-page .suwdm-pagination {
  justify-content: flex-end;
  padding: 0 14px;
  gap: 0;
  justify-self: end;
}

.catalog-page .suwdm-pagination a,
.catalog-page .suwdm-pagination span {
  min-width: 52px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #4b5563;
  border-right: 1px solid #e5eaf1;
  text-decoration: none;
  font-weight: 1000;
}

.catalog-page .suwdm-pagination a.active {
  color: #ffffff;
  background: #ff4054;
}

.catalog-page .suwdm-pagination span.disabled {
  color: #cbd5e1;
}

.catalog-page .product-grid.suwdm-product-list {
  gap: 20px;
}

.catalog-page .product-card.suwdm-product-row {
  min-height: 250px;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 22px;
  padding: 26px;
  border-top: 4px solid #ff4c60;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(255, 91, 102, 0.15);
  box-shadow: 0 22px 58px rgba(255, 88, 105, 0.1);
}

.catalog-page .product-card.suwdm-product-row::before {
  display: none;
}

.catalog-page .suwdm-row-date {
  min-height: 32px;
  width: fit-content;
  padding: 0 14px;
  border-radius: 999px;
  color: #ff4054;
  background: #fff1f2;
  border-color: #ffcfd6;
  font-size: 13px;
}

.catalog-page .suwdm-product-row .product-title-row a {
  color: #111827;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 1000;
}

.catalog-page .suwdm-status-tags span {
  min-height: 24px;
  color: #4b5563;
  background: #f3f6fb;
  border-color: #e1e8f2;
  font-size: 12px;
}

.catalog-page .suwdm-status-tags span.hot {
  color: #ffffff;
  background: #ff8a00;
  border-color: #ff8a00;
}

.catalog-page .suwdm-game-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.catalog-page .suwdm-game-strip span,
.catalog-page .suwdm-game-strip b {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 290px;
  padding: 0 14px;
  border-radius: 14px;
  color: #536176;
  background: #f8fbff;
  border: 1px solid #dfe7f2;
  font-size: 14px;
  font-weight: 900;
}

.catalog-page .suwdm-game-strip img {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 10px;
}

.catalog-page .suwdm-game-strip b {
  color: #ff4054;
  background: #fff5f6;
  border-color: #ffd4db;
}

.catalog-page .product-spec-trail {
  margin-top: 4px;
}

.catalog-page .product-meta {
  margin-top: 4px;
  gap: 8px;
  color: #77839a;
  font-size: 13px;
}

.catalog-page .product-meta strong {
  color: #526076;
}

.catalog-page .seller-dot {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #dfe7f2;
}

.catalog-page .suwdm-product-row .product-actions {
  min-height: 196px;
  align-self: stretch;
  display: grid;
  align-content: center;
  justify-items: stretch;
  gap: 14px;
  padding: 20px;
  border-radius: 22px;
  color: #111827;
  background: linear-gradient(180deg, #fff8f8, #fff3ec);
  border: 1px solid #ffd4d9;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.catalog-page .suwdm-medal-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.catalog-page .suwdm-medal-preview img,
.catalog-page .suwdm-medal-preview i {
  width: 100%;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  object-fit: contain;
  border-radius: 14px;
  color: #334155;
  background: #ffffff;
  border: 1px solid #e0e7f1;
  font-style: normal;
  font-size: 12px;
  font-weight: 1000;
}

.catalog-page .suwdm-product-row .product-actions span {
  color: #ff4c60;
  font-size: 13px;
}

.catalog-page .suwdm-product-row .product-actions strong {
  color: #ff4054;
  font-size: 30px;
}

.catalog-page .suwdm-product-row .product-actions a {
  min-height: 52px;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, #ff4054, #ff5068);
  border: 0;
  box-shadow: 0 14px 30px rgba(255, 64, 84, 0.24);
  font-size: 15px;
}

.catalog-page .riot-public-grid.primary {
  grid-template-columns: repeat(5, minmax(170px, 1fr));
}

.catalog-page .riot-public-grid.primary label:nth-of-type(n),
.catalog-page .riot-public-grid.advanced {
  display: grid;
}

.catalog-page .riot-public-grid.advanced {
  grid-template-columns: repeat(5, minmax(160px, 1fr));
  gap: 12px;
  padding-top: 12px;
}

.catalog-page .riot-public-grid.advanced::before {
  content: "瓦罗兰特专属筛选";
  grid-column: 1 / -1;
  color: #ff4054;
  font-size: 13px;
  font-weight: 1000;
}

.riot-inventory-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.riot-inventory-list span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: #334155;
  background: #f8fbff;
  border: 1px solid #dfe7f2;
  font-size: 12px;
  font-weight: 900;
}

.riot-asset-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.riot-asset-grid.skin-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.riot-asset-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 10px;
  min-height: 74px;
  padding: 10px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff8f8, #f8fbff);
  border: 1px solid rgba(88, 111, 145, 0.2);
}

.riot-asset-card img,
.riot-asset-card i {
  grid-row: 1 / span 2;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  object-fit: contain;
  border-radius: 12px;
  color: #ff4054;
  background: #ffffff;
  border: 1px solid #e1e8f2;
  font-style: normal;
  font-weight: 1000;
}

.riot-asset-card strong {
  min-width: 0;
  overflow: hidden;
  color: #111827;
  font-size: 13px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.riot-asset-card span {
  color: #7c879b;
  font-size: 11px;
  font-weight: 900;
}

.riot-asset-card.no-image {
  background: #f8fbff;
}

@media (max-width: 1100px) {
  .catalog-page .riot-public-grid.primary,
  .catalog-page .riot-public-grid.advanced {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .riot-asset-grid,
  .riot-asset-grid.skin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .catalog-page.suwdm-page {
    width: min(100% - 16px, 1780px);
  }

  .catalog-page .suwdm-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .catalog-page .suwdm-sidebar {
    position: static;
  }

  .catalog-page .suwdm-category-card {
    max-height: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0 10px 12px;
    overflow: visible;
  }

  .catalog-page .suwdm-card-head {
    grid-column: 1 / -1;
    margin: 0 -10px 6px;
  }

  .catalog-page .suwdm-heading-card,
  .catalog-page .toolbar.suwdm-filter-card,
  .catalog-page .suwdm-list-head,
  .catalog-page .product-card.suwdm-product-row {
    width: 100%;
  }

  .catalog-page .suwdm-heading-card em {
    display: none;
  }

  .catalog-page .suwdm-filter-grid.primary,
  .catalog-page .riot-public-grid.primary,
  .catalog-page .riot-public-grid.advanced,
  .catalog-page .suwdm-list-head,
  .catalog-page .product-card.suwdm-product-row {
    grid-template-columns: 1fr;
  }

  .catalog-page .suwdm-pagination {
    justify-self: stretch;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .catalog-page .suwdm-product-row .product-actions {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .catalog-page .suwdm-category-card {
    grid-template-columns: 1fr;
  }

  .catalog-page .toolbar.suwdm-filter-card {
    padding: 18px;
  }

  .riot-asset-grid,
  .riot-asset-grid.skin-grid {
    grid-template-columns: 1fr;
  }
}

.suwdm-category-card button span img,
.suwdm-head-icon img,
.category-icon img,
.seller-dot img {
  width: 26px;
  height: 26px;
  display: block;
  object-fit: contain;
}

.suwdm-category-card button span b,
.category-icon b,
.seller-dot b {
  color: #0b1220;
  font-size: 12px;
  font-weight: 1000;
  line-height: 1;
}

.catalog-page .suwdm-category-card button span {
  flex: 0 0 46px;
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff, #fff6f7);
}

.catalog-page .suwdm-category-card button span img {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 6px 10px rgba(15, 23, 42, 0.12));
}

.catalog-page .suwdm-head-icon img {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 8px 14px rgba(15, 23, 42, 0.14));
}

.catalog-page .suwdm-category-card button.active span {
  background: linear-gradient(135deg, #ffffff, #fff1f4);
}

.category-icon {
  overflow: hidden;
}

.category-icon img {
  width: 38px;
  height: 38px;
}

.catalog-page .seller-dot {
  overflow: hidden;
  background: #ffffff;
}

.catalog-page .seller-dot img {
  width: 24px;
  height: 24px;
}

.inventory-hero,
.inventory-bulk-sync,
.inventory-inline-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 20px;
  color: #0b1220;
  background: linear-gradient(135deg, #fffaf0, #ecfeff);
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 12px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.inventory-hero h2 {
  margin: 0 0 6px;
  font-size: 28px;
}

.inventory-hero span,
.inventory-inline-callout span {
  color: #475569;
  font-weight: 800;
}

.inventory-live-box {
  min-width: 180px;
  display: grid;
  gap: 3px;
  padding: 16px;
  text-align: right;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 10px;
}

.inventory-bulk-sync {
  margin-bottom: 18px;
  background:
    linear-gradient(135deg, rgba(36, 211, 238, 0.14), rgba(246, 192, 79, 0.1)),
    rgba(9, 15, 28, 0.82);
  border-color: rgba(36, 211, 238, 0.2);
}

.inventory-bulk-sync strong {
  display: block;
  color: #f8fafc;
  font-size: 20px;
  margin-bottom: 4px;
}

.inventory-bulk-sync button {
  min-height: 46px;
  flex: 0 0 auto;
  padding: 0 18px;
  color: #07101d;
  background: linear-gradient(135deg, #ffe082, #24d3ee);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  font-weight: 1000;
}

.inventory-live-box strong {
  font-size: 34px;
}

.inventory-live-box small {
  color: #64748b;
  font-weight: 800;
}

.inventory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 16px;
}

.inventory-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  color: #0b1220;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-top: 4px solid var(--accent);
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.inventory-card-head {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 12px;
}

.inventory-card-head > span {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.12);
}

.inventory-card-head img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.inventory-card h3 {
  margin: 0 0 4px;
}

.inventory-card p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.55;
}

.inventory-number-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 10px;
}

.inventory-number-row strong {
  font-size: 38px;
  line-height: 1;
}

.inventory-number-row span {
  color: #64748b;
  font-weight: 900;
}

.inventory-number-row b {
  color: #16a34a;
}

.inventory-progress {
  height: 10px;
  overflow: hidden;
  background: #eef2f7;
  border-radius: 999px;
}

.inventory-progress i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #7dd3fc);
  border-radius: inherit;
}

.inventory-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.inventory-metrics span {
  display: grid;
  gap: 3px;
  padding: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}

.inventory-metrics b {
  font-size: 18px;
}

.inventory-metrics small,
.inventory-card-foot small {
  color: #64748b;
  font-weight: 800;
}

.inventory-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.inventory-card-foot button,
.inventory-inline-callout a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  color: #0b1220;
  text-decoration: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #ffe082, #7dd3fc);
  border: 1px solid rgba(17, 24, 39, 0.14);
  font-weight: 1000;
}

@media (max-width: 760px) {
  .inventory-hero,
  .inventory-bulk-sync,
  .inventory-inline-callout,
  .inventory-card-foot {
    align-items: stretch;
    flex-direction: column;
  }

  .inventory-live-box {
    text-align: left;
  }
}

body:has(.admin-shell) {
  background:
    radial-gradient(circle at 18% 12%, rgba(36, 211, 238, 0.18), transparent 32%),
    radial-gradient(circle at 82% 0%, rgba(246, 192, 79, 0.12), transparent 28%),
    linear-gradient(180deg, #050914, #08111f 48%, #050914);
}

.admin-shell {
  grid-template-columns: 282px minmax(0, 1fr);
  background:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    radial-gradient(circle at 72% 10%, rgba(36, 211, 238, 0.12), transparent 34%),
    #050914;
  background-size: 42px 42px, 42px 42px, auto, auto;
}

.admin-sidebar {
  background:
    linear-gradient(180deg, rgba(10, 18, 34, 0.96), rgba(5, 9, 20, 0.94)),
    #050914;
  border-right: 1px solid rgba(36, 211, 238, 0.16);
  box-shadow: inset -1px 0 0 rgba(246, 192, 79, 0.08), 18px 0 60px rgba(0, 0, 0, 0.24);
}

.admin-brand {
  min-height: 58px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-sidebar nav a {
  min-height: 46px;
  border-radius: 12px;
}

.admin-sidebar nav a.active {
  background: linear-gradient(90deg, rgba(36, 211, 238, 0.2), rgba(246, 192, 79, 0.12));
  border-color: rgba(36, 211, 238, 0.34);
  box-shadow: 0 0 24px rgba(36, 211, 238, 0.12), inset 3px 0 0 #24d3ee;
}

.admin-page {
  padding: 30px;
}

.admin-page-head {
  padding: 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.26);
}

.admin-page-head h1 {
  letter-spacing: 0;
}

.kpi,
.control-card,
.table-wrap,
.settings-block,
.inventory-card,
.lzt-health-card,
.lzt-balance-card,
.panel {
  background: linear-gradient(180deg, rgba(14, 24, 42, 0.86), rgba(9, 15, 28, 0.76));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.lzt-hero {
  min-height: 190px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 18px;
  padding: 26px;
  color: #f8fafc;
  background:
    linear-gradient(90deg, rgba(5, 9, 20, 0.96), rgba(7, 18, 32, 0.82) 60%, rgba(13, 148, 136, 0.2)),
    radial-gradient(circle at 88% 28%, rgba(36, 211, 238, 0.34), transparent 28%);
  border: 1px solid rgba(36, 211, 238, 0.2);
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34), 0 0 32px rgba(36, 211, 238, 0.08);
}

.lzt-hero h2 {
  margin: 0 0 8px;
  font-size: 38px;
}

.lzt-hero span {
  color: #a8d8e8;
  font-weight: 900;
}

.lzt-hero a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  color: #07101d;
  text-decoration: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffe082, #24d3ee);
  font-weight: 1000;
}

.lzt-console-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.lzt-health-card,
.lzt-balance-card {
  min-height: 142px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 20px;
  border-radius: 18px;
}

.lzt-health-card span,
.lzt-balance-card span {
  color: #9fb1c7;
  font-weight: 1000;
  font-size: 12px;
}

.lzt-health-card strong,
.lzt-balance-card strong {
  color: #ffffff;
  font-size: 30px;
}

.lzt-health-card small,
.lzt-balance-card small {
  color: #8ba0b8;
  font-weight: 800;
}

.lzt-health-card.online {
  border-color: rgba(41, 209, 125, 0.34);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.28), 0 0 26px rgba(41, 209, 125, 0.1);
}

.lzt-health-card.offline {
  border-color: rgba(255, 77, 95, 0.34);
}

.lzt-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(320px, 0.8fr);
  gap: 16px;
}

.lzt-main-stack,
.lzt-side-stack {
  display: grid;
  gap: 16px;
  align-content: start;
}

.lzt-account-profile {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.lzt-account-profile div,
.lzt-balance-list div {
  display: grid;
  gap: 5px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.lzt-account-profile span,
.lzt-balance-list span,
.lzt-balance-list small {
  color: #93a4ba;
  font-weight: 800;
}

.lzt-account-profile strong,
.lzt-balance-list strong {
  color: #f8fafc;
  font-size: 18px;
}

.lzt-balance-list {
  display: grid;
  gap: 10px;
}

.lzt-mini-table.table-wrap {
  box-shadow: none;
  background: transparent;
  border: 0;
}

.settings-console {
  grid-template-columns: 1fr;
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
}

.settings-block {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 20px;
  border-radius: 16px;
}

.settings-block > div {
  grid-column: 1 / -1;
}

.settings-block h3 {
  margin: 0 0 6px;
  color: #ffffff;
}

.settings-block p {
  margin: 0;
  color: #9fb1c7;
  font-weight: 800;
}

.settings-block .field.full {
  grid-column: 1 / -1;
}

.settings-block textarea {
  min-height: 92px;
}

.settings-save {
  justify-self: start;
  min-width: 180px;
}

.inventory-card,
.inventory-card h3,
.inventory-number-row strong,
.inventory-metrics b,
.inventory-card-foot button {
  color: #f8fafc;
}

.inventory-card p,
.inventory-number-row span,
.inventory-metrics small,
.inventory-card-foot small {
  color: #9fb1c7;
}

.inventory-metrics span,
.inventory-card-head > span {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.1);
}

.inventory-card-foot button {
  background: linear-gradient(135deg, rgba(36, 211, 238, 0.22), rgba(246, 192, 79, 0.18));
  border-color: rgba(36, 211, 238, 0.24);
}

@media (max-width: 1180px) {
  .lzt-console-grid,
  .lzt-layout,
  .lzt-account-profile,
  .settings-block {
    grid-template-columns: 1fr;
  }
}

/* Blue-white admin console skin. */
body:has(.admin-shell),
body:has(.admin-login) {
  --paper: #f4f8ff;
  --panel: #ffffff;
  --ink: #0f172a;
  --muted: #52657f;
  --line: #d8e6f7;
  --line-strong: #a9c8ef;
  --teal: #0ea5e9;
  --amber: #2563eb;
  --coral: #38bdf8;
  --green: #16a34a;
  --red: #dc2626;
  --charcoal: #12315c;
  --shadow: 0 20px 60px rgba(37, 99, 235, 0.13);
  background:
    radial-gradient(circle at 14% 12%, rgba(56, 189, 248, 0.24), transparent 30%),
    radial-gradient(circle at 86% 0%, rgba(37, 99, 235, 0.18), transparent 32%),
    linear-gradient(180deg, #eff6ff, #f8fbff 42%, #eef6ff);
  color: var(--ink);
}

body:has(.admin-shell)::before,
body:has(.admin-login)::before {
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, black, transparent 78%);
}

.admin-login {
  background:
    radial-gradient(circle at 20% 8%, rgba(14, 165, 233, 0.22), transparent 32%),
    linear-gradient(145deg, #f8fbff, #eaf4ff);
}

.admin-login .login-panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(147, 197, 253, 0.7);
  box-shadow: 0 28px 80px rgba(37, 99, 235, 0.18);
}

.admin-login .login-panel h1,
.admin-login .login-panel strong {
  color: #0f172a;
}

.admin-login .login-panel p,
.admin-login .field {
  color: #52657f;
}

.admin-shell {
  background:
    linear-gradient(rgba(37, 99, 235, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 78% 8%, rgba(14, 165, 233, 0.18), transparent 34%),
    #f5f9ff;
  background-size: 42px 42px, 42px 42px, auto, auto;
}

.admin-sidebar {
  background: rgba(255, 255, 255, 0.9);
  border-right: 1px solid rgba(147, 197, 253, 0.62);
  box-shadow: 18px 0 60px rgba(37, 99, 235, 0.1);
  backdrop-filter: blur(18px);
}

.admin-brand {
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.98), rgba(255, 255, 255, 0.92));
  border-color: rgba(147, 197, 253, 0.62);
  color: #0f172a;
}

.admin-sidebar .brand-mark {
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.3);
}

.admin-sidebar nav a {
  background: rgba(248, 251, 255, 0.82);
  border: 1px solid rgba(203, 213, 225, 0.72);
  color: #334155;
}

.admin-sidebar nav a.active,
.admin-sidebar nav a:hover {
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.12), rgba(14, 165, 233, 0.12));
  border-color: rgba(37, 99, 235, 0.45);
  color: #0f172a;
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.12), inset 3px 0 0 #2563eb;
}

.admin-page-head,
.kpi,
.control-card,
.table-wrap,
.settings-block,
.inventory-card,
.inventory-hero,
.inventory-bulk-sync,
.inventory-inline-callout,
.lzt-health-card,
.lzt-balance-card,
.panel {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(203, 213, 225, 0.9);
  box-shadow: 0 20px 54px rgba(37, 99, 235, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
}

.admin-page-head h1,
.admin-page-head p,
.kpi strong,
.kpi span,
.control-card h3,
.control-card p,
.settings-block h3,
.settings-block p,
.panel h2,
.inventory-card,
.inventory-card h3,
.inventory-card p,
.inventory-number-row strong,
.inventory-number-row span,
.inventory-metrics b,
.inventory-metrics small,
.inventory-card-foot small,
.lzt-health-card strong,
.lzt-balance-card strong,
.lzt-health-card span,
.lzt-balance-card span,
.lzt-health-card small,
.lzt-balance-card small,
.lzt-account-profile strong,
.lzt-balance-list strong,
.lzt-account-profile span,
.lzt-balance-list span,
.lzt-balance-list small {
  color: #0f172a;
  text-shadow: none;
}

.admin-page-head p,
.control-card p,
.settings-block p,
.inventory-card p,
.inventory-number-row span,
.inventory-metrics small,
.inventory-card-foot small,
.lzt-health-card span,
.lzt-balance-card span,
.lzt-health-card small,
.lzt-balance-card small,
.lzt-account-profile span,
.lzt-balance-list span,
.lzt-balance-list small {
  color: #52657f;
}

.admin-shell input,
.admin-shell select,
.admin-shell textarea,
.admin-login input,
.admin-login select,
.admin-login textarea {
  background: #f8fbff;
  color: #0f172a;
  border-color: #c7d8ee;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.admin-shell input::placeholder,
.admin-login input::placeholder {
  color: #7a8ca5;
}

.admin-shell input:focus,
.admin-shell select:focus,
.admin-shell textarea:focus,
.admin-login input:focus,
.admin-login select:focus,
.admin-login textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.13);
}

.admin-shell button,
.admin-shell a.primary-link,
.admin-login button {
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  border: 1px solid rgba(37, 99, 235, 0.24);
  color: #ffffff;
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.22);
}

.admin-shell .row-actions button,
.admin-shell .row-actions a,
.admin-shell .button-row button,
.admin-shell .button-row a,
.admin-shell .icon-button,
.admin-shell .text-button {
  background: #eff6ff;
  color: #12315c;
  border-color: #bfdbfe;
  box-shadow: none;
}

.admin-shell .logout-button {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  box-shadow: none;
}

.admin-toolbar {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(191, 219, 254, 0.86);
  box-shadow: 0 18px 46px rgba(37, 99, 235, 0.1);
}

.admin-toolbar label,
.admin-toolbar label .field-icon,
.price-preview,
.inline-note,
td span,
.product-meta,
.log-list p,
.log-list span,
.compact-list span {
  color: #52657f;
}

th {
  background: linear-gradient(180deg, #e0f2fe, #dbeafe);
  color: #12315c;
}

td,
th {
  border-bottom-color: #e2edf9;
}

tbody tr:hover {
  background: rgba(219, 234, 254, 0.45);
}

.kpi svg,
.kpi-mark {
  color: #2563eb;
}

.bar-list div div,
.inventory-progress {
  background: #e2edf9;
}

.bar-list i,
.inventory-progress i {
  background: linear-gradient(90deg, #2563eb, #0ea5e9, #67e8f9);
}

.status-pill.positive {
  background: #dcfce7;
  color: #166534;
}

.status-pill.warning {
  background: #fef3c7;
  color: #92400e;
}

.status-pill.neutral {
  background: #dbeafe;
  color: #1d4ed8;
}

.status-pill.muted {
  background: #eef2f7;
  color: #475569;
}

.lzt-hero {
  color: #0f172a;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(219, 234, 254, 0.86)),
    radial-gradient(circle at 88% 28%, rgba(14, 165, 233, 0.22), transparent 30%);
  border-color: rgba(147, 197, 253, 0.78);
  box-shadow: 0 24px 70px rgba(37, 99, 235, 0.15);
}

.lzt-hero h2,
.lzt-hero span {
  color: #0f172a;
}

.lzt-hero a,
.inventory-bulk-sync button,
.inventory-card-foot button,
.inventory-inline-callout a {
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  color: #ffffff;
  border-color: rgba(37, 99, 235, 0.24);
}

.lzt-account-profile div,
.lzt-balance-list div,
.inventory-metrics span,
.inventory-card-head > span {
  background: #f8fbff;
  border-color: #d8e6f7;
}

.lzt-health-card.online {
  border-color: rgba(22, 163, 74, 0.36);
  box-shadow: 0 20px 54px rgba(37, 99, 235, 0.09), 0 0 0 1px rgba(22, 163, 74, 0.1);
}

.lzt-health-card.offline {
  border-color: rgba(220, 38, 38, 0.34);
}

.admin-secret-box,
.result-box {
  background: #0f172a;
  color: #e0f2fe;
  border-color: #1e3a8a;
}

.traffic-hero {
  min-height: 190px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 18px;
  padding: 26px;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(219, 234, 254, 0.88)),
    radial-gradient(circle at 88% 24%, rgba(37, 99, 235, 0.18), transparent 30%);
  border: 1px solid rgba(147, 197, 253, 0.78);
  box-shadow: 0 24px 70px rgba(37, 99, 235, 0.15);
}

.traffic-hero h2 {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: 36px;
}

.traffic-hero span {
  color: #52657f;
  font-weight: 900;
}

.traffic-live-box {
  min-width: 210px;
  display: grid;
  gap: 4px;
  padding: 18px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #bfdbfe;
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.12);
  text-align: right;
}

.traffic-live-box strong {
  color: #2563eb;
  font-size: 40px;
  line-height: 1;
}

.traffic-live-box span,
.traffic-live-box small {
  color: #52657f;
  font-weight: 900;
}

.traffic-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  margin-bottom: 16px;
}

.traffic-toolbar {
  grid-template-columns: minmax(260px, 1fr) 180px 240px auto auto;
  margin-bottom: 16px;
}

.traffic-table td a {
  color: #1d4ed8;
  font-weight: 1000;
  text-decoration: none;
}

.traffic-table td:nth-child(3) {
  min-width: 260px;
}

.traffic-table td:nth-child(4) {
  min-width: 240px;
}

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

  .traffic-hero {
    display: grid;
  }

  .traffic-live-box {
    text-align: left;
  }
}

/* Public marketplace motion polish. */
@keyframes gbbSurfaceDrift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes gbbSoftFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -7px, 0);
  }
}

@keyframes gbbShineSweep {
  0% {
    transform: translateX(-130%) skewX(-18deg);
    opacity: 0;
  }
  22% {
    opacity: 0.72;
  }
  58% {
    opacity: 0.18;
  }
  100% {
    transform: translateX(130%) skewX(-18deg);
    opacity: 0;
  }
}

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

@keyframes gbbPulseRing {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 64, 84, 0.28), 0 14px 30px rgba(255, 64, 84, 0.24);
  }
  50% {
    box-shadow: 0 0 0 9px rgba(255, 64, 84, 0), 0 18px 38px rgba(255, 64, 84, 0.32);
  }
}

body:has(.catalog-page.suwdm-page) {
  background-size: 120% 120%, 120% 120%, 100% 100%;
  animation: gbbSurfaceDrift 16s ease-in-out infinite;
}

.catalog-page .suwdm-heading-card,
.catalog-page .toolbar.suwdm-filter-card,
.catalog-page .suwdm-list-head,
.catalog-page .product-card.suwdm-product-row,
.suwdm-product-detail .suwdm-detail-card,
.suwdm-product-detail .detail-alerts,
.suwdm-product-detail .suwdm-detail-content .panel {
  animation: gbbCardRise 0.62s cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.catalog-page .toolbar.suwdm-filter-card {
  animation-delay: 0.04s;
}

.catalog-page .suwdm-list-head {
  animation-delay: 0.08s;
}

.catalog-page .product-card.suwdm-product-row {
  position: relative;
  overflow: hidden;
  animation-delay: 0.06s;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.catalog-page .product-card.suwdm-product-row:nth-of-type(2) {
  animation-delay: 0.11s;
}

.catalog-page .product-card.suwdm-product-row:nth-of-type(3) {
  animation-delay: 0.16s;
}

.catalog-page .product-card.suwdm-product-row:nth-of-type(4) {
  animation-delay: 0.21s;
}

.catalog-page .product-card.suwdm-product-row:nth-of-type(n + 5) {
  animation-delay: 0.26s;
}

.catalog-page .product-card.suwdm-product-row::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -36%;
  width: 28%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

.catalog-page .product-card.suwdm-product-row:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 64, 84, 0.36);
  box-shadow: 0 28px 72px rgba(255, 88, 105, 0.16);
}

.catalog-page .product-card.suwdm-product-row:hover::after {
  animation: gbbShineSweep 0.92s ease;
}

.catalog-page .suwdm-heading-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 208, 214, 0.86);
  box-shadow: 0 22px 64px rgba(255, 88, 105, 0.12);
}

.catalog-page .suwdm-heading-card::after {
  content: "";
  position: absolute;
  inset: auto 22px 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff4054, #ffb12f, #22c55e, #38bdf8, #ff4054);
  background-size: 240% 100%;
  animation: gbbSurfaceDrift 5.5s linear infinite;
}

.catalog-page .suwdm-category-card button {
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.catalog-page .suwdm-category-card button:hover {
  transform: translateX(5px);
  border-color: rgba(255, 64, 84, 0.35);
  box-shadow: 0 18px 42px rgba(255, 88, 105, 0.14);
}

.catalog-page .suwdm-category-card button.active span {
  animation: gbbSoftFloat 3.4s ease-in-out infinite;
}

.catalog-page .suwdm-filter-actions button:first-child,
.catalog-page .suwdm-product-row .product-actions a,
.suwdm-product-detail .suwdm-detail-buy-row .detail-buy {
  animation: gbbPulseRing 3.4s ease-in-out infinite;
}

.catalog-page .suwdm-medal-preview img,
.catalog-page .suwdm-medal-preview i {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.catalog-page .suwdm-medal-preview img:nth-child(1),
.catalog-page .suwdm-medal-preview i:nth-child(1) {
  animation: gbbSoftFloat 4.2s ease-in-out infinite;
}

.catalog-page .suwdm-medal-preview img:nth-child(2),
.catalog-page .suwdm-medal-preview i:nth-child(2) {
  animation: gbbSoftFloat 4.2s ease-in-out 0.45s infinite;
}

.catalog-page .suwdm-medal-preview img:nth-child(3),
.catalog-page .suwdm-medal-preview i:nth-child(3) {
  animation: gbbSoftFloat 4.2s ease-in-out 0.9s infinite;
}

.catalog-page .suwdm-medal-preview img:hover,
.catalog-page .suwdm-medal-preview i:hover {
  transform: translateY(-4px) scale(1.04);
  border-color: rgba(255, 64, 84, 0.32);
  box-shadow: 0 14px 28px rgba(255, 88, 105, 0.14);
}

.suwdm-product-detail .suwdm-detail-card {
  position: relative;
  border-color: rgba(255, 94, 110, 0.24);
  box-shadow: 0 28px 74px rgba(255, 88, 105, 0.15);
}

.suwdm-product-detail .suwdm-detail-hero {
  background:
    radial-gradient(circle at 82% 8%, rgba(255, 255, 255, 0.34), transparent 25%),
    radial-gradient(circle at 11% 102%, rgba(255, 195, 80, 0.5), transparent 30%),
    linear-gradient(120deg, #ff6538 0%, #f20d2c 42%, #ff4054 64%, #ff7a35 100%);
  background-size: 140% 140%;
  animation: gbbSurfaceDrift 9s ease-in-out infinite;
}

.suwdm-product-detail .suwdm-detail-hero::before {
  animation: gbbSoftFloat 7s ease-in-out infinite;
}

.suwdm-product-detail .suwdm-detail-hero::after {
  animation: gbbSoftFloat 8s ease-in-out 0.8s infinite reverse;
}

.suwdm-product-detail .suwdm-detail-price strong {
  background: linear-gradient(90deg, #ffffff, #fff4b8, #ffffff);
  background-size: 180% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: #ffffff;
  animation: gbbSurfaceDrift 4.8s ease-in-out infinite;
}

.suwdm-product-detail .suwdm-detail-badges span,
.suwdm-product-detail .suwdm-warranty-badge {
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.suwdm-product-detail .suwdm-detail-badges span:hover,
.suwdm-product-detail .suwdm-warranty-badge:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.42);
}

.suwdm-product-detail .suwdm-detail-card .seller-strip {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 249, 0.96)),
    linear-gradient(90deg, rgba(255, 64, 84, 0.08), rgba(255, 177, 47, 0.08));
}

.suwdm-product-detail .suwdm-detail-card .seller-card,
.suwdm-product-detail .suwdm-detail-card .seller-metric {
  transition: transform 0.22s ease, background 0.22s ease;
}

.suwdm-product-detail .suwdm-detail-card .seller-card:hover,
.suwdm-product-detail .suwdm-detail-card .seller-metric:hover {
  transform: translateY(-2px);
  background: rgba(255, 244, 246, 0.82);
}

.suwdm-product-detail .suwdm-detail-content .panel {
  position: relative;
  overflow: hidden;
  border-color: rgba(148, 163, 184, 0.34);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.suwdm-product-detail .suwdm-detail-content .panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #ffb12f, #22c55e, #38bdf8, #111827);
  background-size: 220% 100%;
  animation: gbbSurfaceDrift 7s linear infinite;
}

.suwdm-product-detail .suwdm-detail-content .panel:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 64, 84, 0.24);
  box-shadow: 0 24px 64px rgba(255, 88, 105, 0.13);
}

.suwdm-product-detail .steam-stat-card,
.suwdm-product-detail .detail-info-grid > div,
.suwdm-product-detail .steam-medal-card,
.suwdm-product-detail .riot-inventory-list span {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.suwdm-product-detail .steam-stat-card:hover,
.suwdm-product-detail .detail-info-grid > div:hover,
.suwdm-product-detail .steam-medal-card:hover,
.suwdm-product-detail .riot-inventory-list span:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 64, 84, 0.28);
  background: linear-gradient(180deg, #ffffff, #fff8f8);
  box-shadow: 0 16px 34px rgba(255, 88, 105, 0.12);
}

.suwdm-product-detail .steam-medal-card img {
  transition: transform 0.22s ease, filter 0.22s ease;
}

.suwdm-product-detail .steam-medal-card:hover img {
  transform: scale(1.08) rotate(-2deg);
  filter: saturate(1.15) contrast(1.04);
}

@media (prefers-reduced-motion: reduce) {
  body:has(.catalog-page.suwdm-page),
  .catalog-page .suwdm-heading-card,
  .catalog-page .toolbar.suwdm-filter-card,
  .catalog-page .suwdm-list-head,
  .catalog-page .product-card.suwdm-product-row,
  .catalog-page .suwdm-heading-card::after,
  .catalog-page .suwdm-category-card button.active span,
  .catalog-page .suwdm-filter-actions button:first-child,
  .catalog-page .suwdm-product-row .product-actions a,
  .catalog-page .suwdm-medal-preview img,
  .catalog-page .suwdm-medal-preview i,
  .suwdm-product-detail .suwdm-detail-card,
  .suwdm-product-detail .detail-alerts,
  .suwdm-product-detail .suwdm-detail-content .panel,
  .suwdm-product-detail .suwdm-detail-content .panel::before,
  .suwdm-product-detail .suwdm-detail-hero,
  .suwdm-product-detail .suwdm-detail-hero::before,
  .suwdm-product-detail .suwdm-detail-hero::after,
  .suwdm-product-detail .suwdm-detail-price strong,
  .suwdm-product-detail .suwdm-detail-buy-row .detail-buy {
    animation: none;
  }
}

/* Cinematic public UI v2: stronger depth, clearer motion, richer account detail rendering. */
@keyframes gbbScanLine {
  0% {
    transform: translateY(-120%);
    opacity: 0;
  }
  18% {
    opacity: 0.75;
  }
  100% {
    transform: translateY(220%);
    opacity: 0;
  }
}

@keyframes gbbRailMove {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 48px 0;
  }
}

@keyframes gbbRingRotate {
  from {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.04);
  }
  to {
    transform: rotate(360deg) scale(1);
  }
}

@keyframes gbbSignalBars {
  0%,
  100% {
    transform: scaleY(0.36);
    opacity: 0.45;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

body:has(.catalog-page.suwdm-page),
body:has(.suwdm-product-detail) {
  background:
    linear-gradient(135deg, rgba(255, 64, 84, 0.09), transparent 26%),
    linear-gradient(225deg, rgba(56, 189, 248, 0.1), transparent 28%),
    repeating-linear-gradient(135deg, rgba(15, 23, 42, 0.025) 0 1px, transparent 1px 22px),
    linear-gradient(180deg, #fff7f7, #fffdf8 42%, #f7fbff);
}

.catalog-page .suwdm-layout {
  gap: 28px;
}

.catalog-page .suwdm-sidebar {
  filter: drop-shadow(0 24px 52px rgba(255, 64, 84, 0.12));
}

.catalog-page .suwdm-category-card {
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 76, 96, 0.9) rgba(255, 241, 244, 0.85);
  border: 1px solid rgba(255, 186, 194, 0.9);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 250, 0.92)),
    repeating-linear-gradient(90deg, rgba(255, 64, 84, 0.05) 0 1px, transparent 1px 22px);
}

.catalog-page .suwdm-category-card::-webkit-scrollbar {
  width: 8px;
}

.catalog-page .suwdm-category-card::-webkit-scrollbar-track {
  background: rgba(255, 241, 244, 0.82);
  border-radius: 999px;
}

.catalog-page .suwdm-category-card::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ff4054, #ffb12f);
  border-radius: 999px;
}

.catalog-page .suwdm-card-head {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, #ff4054 0%, #ff6b35 54%, #ffb12f 100%);
}

.catalog-page .suwdm-card-head::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  animation: gbbShineSweep 4.6s ease-in-out infinite;
}

.catalog-page .suwdm-category-card button {
  min-height: 94px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 249, 249, 0.88)),
    linear-gradient(135deg, rgba(255, 64, 84, 0.05), rgba(56, 189, 248, 0.04));
}

.catalog-page .suwdm-category-card button::after {
  content: "";
  position: absolute;
  inset: 12px auto 12px 0;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff4054, #ffb12f);
  opacity: 0;
  transform: scaleY(0.2);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.catalog-page .suwdm-category-card button:hover::after,
.catalog-page .suwdm-category-card button.active::after {
  opacity: 1;
  transform: scaleY(1);
}

.catalog-page .suwdm-heading-card {
  min-height: 152px;
  padding: 28px 30px;
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 246, 247, 0.96) 48%, rgba(239, 248, 255, 0.95) 100%);
}

.catalog-page .suwdm-heading-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255, 64, 84, 0.05) 0 1px, transparent 1px 34px),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.72));
  pointer-events: none;
}

.catalog-page .suwdm-heading-card h1 {
  position: relative;
  font-size: clamp(30px, 4vw, 46px);
}

.catalog-page .suwdm-heading-card em {
  position: relative;
  min-height: 44px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff0f2, #f0fbff);
  border: 1px solid rgba(255, 176, 186, 0.72);
  box-shadow: inset 0 1px 0 #fff, 0 16px 32px rgba(255, 64, 84, 0.1);
}

.catalog-page .toolbar.suwdm-filter-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 186, 194, 0.86);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 250, 0.92)),
    repeating-linear-gradient(90deg, rgba(255, 64, 84, 0.04) 0 1px, transparent 1px 34px);
}

.catalog-page .toolbar.suwdm-filter-card::before {
  content: "";
  position: absolute;
  inset: 0;
  height: 84px;
  background: linear-gradient(180deg, rgba(255, 64, 84, 0.08), transparent);
  pointer-events: none;
}

.catalog-page .toolbar.suwdm-filter-card input,
.catalog-page .toolbar.suwdm-filter-card select {
  min-height: 48px;
  color: #111827;
  background: rgba(248, 251, 255, 0.92);
  border: 1px solid #d7e2ef;
  box-shadow: inset 0 1px 0 #ffffff;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.catalog-page .toolbar.suwdm-filter-card input:focus,
.catalog-page .toolbar.suwdm-filter-card select:focus {
  transform: translateY(-1px);
  border-color: #ff4054;
  box-shadow: 0 0 0 4px rgba(255, 64, 84, 0.12), inset 0 1px 0 #ffffff;
}

.catalog-page .product-card.suwdm-product-row {
  border-top: 0;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 249, 0.94)),
    linear-gradient(135deg, rgba(255, 64, 84, 0.06), rgba(56, 189, 248, 0.04));
  box-shadow: 0 26px 72px rgba(255, 64, 84, 0.12), 0 1px 0 #ffffff inset;
}

.catalog-page .product-card.suwdm-product-row::before {
  display: block;
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #ff4054, #ffb12f, #22c55e, #38bdf8, #ff4054);
  background-size: 260% 100%;
  animation: gbbSurfaceDrift 6s linear infinite;
}

.catalog-page .product-card.suwdm-product-row:hover {
  transform: translateY(-8px) scale(1.006);
  box-shadow: 0 34px 88px rgba(255, 64, 84, 0.18), 0 0 0 1px rgba(255, 64, 84, 0.08);
}

.catalog-page .suwdm-row-date {
  background: linear-gradient(135deg, #fff0f2, #fffaf0);
  box-shadow: inset 0 1px 0 #ffffff;
}

.catalog-page .suwdm-game-strip span,
.catalog-page .suwdm-game-strip b,
.catalog-page .suwdm-status-tags span {
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.catalog-page .suwdm-game-strip span:hover,
.catalog-page .suwdm-game-strip b:hover,
.catalog-page .suwdm-status-tags span:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 64, 84, 0.28);
  box-shadow: 0 12px 24px rgba(255, 64, 84, 0.1);
}

.catalog-page .suwdm-product-row .product-actions {
  position: relative;
  overflow: hidden;
  min-height: 214px;
  background:
    linear-gradient(180deg, rgba(255, 247, 247, 0.96), rgba(255, 238, 229, 0.92)),
    repeating-linear-gradient(135deg, rgba(255, 64, 84, 0.06) 0 1px, transparent 1px 16px);
}

.catalog-page .suwdm-product-row .product-actions::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), transparent 38%);
  pointer-events: none;
}

.catalog-page .suwdm-product-row .product-actions > * {
  position: relative;
  z-index: 1;
}

.catalog-page .suwdm-product-row .product-actions a {
  background: linear-gradient(135deg, #ff4054, #ff6b35 62%, #ffb12f);
}

.suwdm-product-detail {
  width: min(1120px, calc(100% - 28px));
}

.suwdm-product-detail .suwdm-detail-nav {
  border-radius: 0 0 22px 22px;
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 42px rgba(15, 23, 42, 0.1);
}

.suwdm-product-detail .suwdm-detail-card {
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.95);
}

.suwdm-product-detail .suwdm-detail-hero {
  min-height: 430px;
  display: grid;
  align-content: end;
  padding: 34px 34px 28px;
  isolation: isolate;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.84), rgba(255, 64, 84, 0.32)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 44px),
    linear-gradient(125deg, #101827 0%, #e91035 46%, #ff6b35 100%);
}

.suwdm-product-detail .suwdm-detail-hero::before,
.suwdm-product-detail .suwdm-detail-hero::after {
  display: none;
}

.suwdm-product-detail .suwdm-detail-hero > *:not(.suwdm-hero-orbit):not(.suwdm-hero-signal) {
  position: relative;
  z-index: 2;
}

.suwdm-hero-orbit {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.suwdm-hero-orbit span {
  position: absolute;
  right: -76px;
  top: -96px;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top-color: rgba(255, 244, 184, 0.68);
  border-right-color: rgba(56, 189, 248, 0.42);
  animation: gbbRingRotate 18s linear infinite;
}

.suwdm-hero-orbit span:nth-child(2) {
  right: 52px;
  top: 52px;
  width: 210px;
  height: 210px;
  animation-duration: 12s;
  animation-direction: reverse;
}

.suwdm-hero-orbit span:nth-child(3) {
  right: auto;
  left: -120px;
  top: auto;
  bottom: -150px;
  width: 320px;
  height: 320px;
  border-top-color: rgba(34, 197, 94, 0.48);
  animation-duration: 22s;
}

.suwdm-hero-signal {
  position: absolute;
  right: 34px;
  bottom: 34px;
  z-index: 1;
  display: inline-grid;
  grid-template-columns: repeat(4, 8px);
  gap: 7px;
  align-items: end;
  height: 54px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
}

.suwdm-hero-signal i {
  display: block;
  height: 30px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff4b8, #38bdf8);
  transform-origin: bottom;
  animation: gbbSignalBars 1.7s ease-in-out infinite;
}

.suwdm-hero-signal i:nth-child(2) {
  animation-delay: 0.16s;
}

.suwdm-hero-signal i:nth-child(3) {
  animation-delay: 0.32s;
}

.suwdm-hero-signal i:nth-child(4) {
  animation-delay: 0.48s;
}

.suwdm-product-detail .suwdm-detail-price {
  margin-bottom: 12px;
}

.suwdm-product-detail .suwdm-detail-price strong {
  font-size: clamp(58px, 8vw, 104px);
  letter-spacing: 0;
  text-shadow: 0 18px 42px rgba(15, 23, 42, 0.22);
}

.suwdm-product-detail .suwdm-warranty-badge {
  min-height: 36px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.suwdm-product-detail .suwdm-detail-hero h1 {
  max-width: 820px;
  font-size: clamp(25px, 3.8vw, 42px);
  line-height: 1.18;
}

.suwdm-detail-quickstats {
  width: min(790px, calc(100% - 90px));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.suwdm-detail-quickstats div {
  position: relative;
  overflow: hidden;
  min-height: 78px;
  display: grid;
  gap: 6px;
  align-content: center;
  padding: 13px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(16px);
}

.suwdm-detail-quickstats div::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.32), transparent 52%);
  pointer-events: none;
}

.suwdm-detail-quickstats span,
.suwdm-detail-quickstats strong {
  position: relative;
  z-index: 1;
  color: #ffffff;
}

.suwdm-detail-quickstats span {
  font-size: 12px;
  font-weight: 900;
  opacity: 0.78;
}

.suwdm-detail-quickstats strong {
  font-size: 18px;
  line-height: 1.15;
}

.suwdm-product-detail .suwdm-detail-card .seller-strip {
  min-height: 92px;
  padding: 16px 20px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.95)),
    repeating-linear-gradient(90deg, rgba(15, 23, 42, 0.04) 0 1px, transparent 1px 28px);
}

.suwdm-product-detail .suwdm-detail-card .seller-card,
.suwdm-product-detail .suwdm-detail-card .seller-metric {
  min-height: 58px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(248, 250, 252, 0.82);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.suwdm-product-detail .suwdm-detail-card .seller-metric strong {
  font-size: 24px;
}

.suwdm-product-detail .suwdm-detail-buy-row {
  padding: 20px;
  background:
    linear-gradient(180deg, #ffffff, #fff8f8),
    repeating-linear-gradient(90deg, rgba(255, 64, 84, 0.05) 0 1px, transparent 1px 36px);
}

.suwdm-product-detail .suwdm-detail-buy-row .detail-buy {
  min-height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, #ff4054, #ff6b35 56%, #ffb12f);
  font-size: 17px;
}

.suwdm-product-detail .detail-alerts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.suwdm-product-detail .detail-alert {
  min-height: 92px;
  display: grid;
  align-content: center;
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.suwdm-product-detail .suwdm-section-title {
  margin: 28px 0 14px;
  font-size: 24px;
}

.suwdm-product-detail .suwdm-section-title::after {
  content: "";
  display: block;
  width: 118px;
  height: 4px;
  margin-top: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff4054, #ffb12f, #38bdf8);
}

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

.suwdm-product-detail .suwdm-detail-content .panel {
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.94)),
    repeating-linear-gradient(90deg, rgba(15, 23, 42, 0.025) 0 1px, transparent 1px 30px);
  box-shadow: 0 22px 64px rgba(15, 23, 42, 0.09);
}

.suwdm-product-detail .suwdm-detail-content .panel::after {
  content: "";
  position: absolute;
  inset: -30% 0 auto;
  height: 90px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(56, 189, 248, 0.08), rgba(255, 255, 255, 0));
  animation: gbbScanLine 5.6s ease-in-out infinite;
  pointer-events: none;
}

.suwdm-product-detail .suwdm-detail-content .panel-head {
  min-height: 54px;
}

.suwdm-product-detail .suwdm-detail-content .panel-head h2 span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff0f2, #eef8ff);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.suwdm-product-detail .steam-performance-list {
  gap: 0;
  overflow: hidden;
  border: 1px solid #e2edf7;
  border-radius: 18px;
}

.suwdm-product-detail .steam-performance-list div {
  min-height: 58px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.64);
}

.suwdm-product-detail .steam-performance-list div:nth-child(odd) {
  background: rgba(248, 251, 255, 0.82);
}

.suwdm-product-detail .steam-stat-grid {
  gap: 12px;
}

.suwdm-product-detail .steam-stat-card,
.suwdm-product-detail .detail-info-grid > div {
  min-height: 98px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, #ffffff, #f8fbff),
    linear-gradient(135deg, rgba(255, 64, 84, 0.04), rgba(56, 189, 248, 0.04));
}

.suwdm-product-detail .steam-stat-card strong,
.suwdm-product-detail .detail-info-grid dd {
  color: #111827;
  font-size: 20px;
}

.suwdm-product-detail .steam-medal-grid,
.suwdm-product-detail .riot-asset-grid {
  gap: 12px;
}

.suwdm-product-detail .steam-medal-card,
.suwdm-product-detail .riot-asset-card {
  position: relative;
  overflow: hidden;
  min-height: 92px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, #ffffff, #f8fbff),
    repeating-linear-gradient(135deg, rgba(255, 64, 84, 0.04) 0 1px, transparent 1px 16px);
}

.suwdm-product-detail .steam-medal-card::after,
.suwdm-product-detail .riot-asset-card::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -42%;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  opacity: 0;
  pointer-events: none;
}

.suwdm-product-detail .steam-medal-card:hover::after,
.suwdm-product-detail .riot-asset-card:hover::after {
  animation: gbbShineSweep 0.82s ease;
}

.suwdm-product-detail .steam-game-chip {
  border-radius: 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.suwdm-product-detail .steam-game-chip:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 64, 84, 0.28);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1);
}

.suwdm-product-detail .account-side {
  position: sticky;
  top: 92px;
}

.suwdm-product-detail .account-side .panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 248, 0.94)),
    repeating-linear-gradient(90deg, rgba(255, 64, 84, 0.04) 0 1px, transparent 1px 30px);
}

@media (max-width: 900px) {
  .suwdm-detail-quickstats {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .suwdm-hero-signal {
    display: none;
  }

  .suwdm-product-detail .suwdm-detail-content {
    grid-template-columns: 1fr;
  }

  .suwdm-product-detail .account-side {
    position: static;
  }
}

@media (prefers-reduced-motion: reduce) {
  .catalog-page .suwdm-card-head::after,
  .catalog-page .product-card.suwdm-product-row::before,
  .suwdm-hero-orbit span,
  .suwdm-hero-signal i,
  .suwdm-product-detail .suwdm-detail-content .panel::after {
    animation: none;
  }
}

/* Inventory image clarity and zoom viewer. */
.inventory-image-button {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  color: #111827;
  background: #ffffff;
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 10px 24px rgba(15, 23, 42, 0.08);
  cursor: zoom-in;
  transform: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, filter 0.22s ease;
}

.inventory-image-button:hover {
  transform: translateY(-2px) scale(1.035);
  border-color: rgba(255, 64, 84, 0.42);
  box-shadow: 0 18px 36px rgba(255, 64, 84, 0.16);
  filter: saturate(1.12) contrast(1.06);
}

.inventory-image-button img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  image-rendering: auto;
  transform: translateZ(0);
}

.inventory-image-button b {
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  background:
    radial-gradient(circle at 35% 24%, #fff8b8, #f2c94c 42%, #7dd3fc 100%);
  font-size: 22px;
  font-weight: 1000;
  font-style: normal;
}

.inventory-image-button.image-failed b {
  display: flex;
}

.inventory-image-button span {
  position: absolute;
  right: 6px;
  bottom: 6px;
  min-height: 20px;
  display: inline-flex;
  align-items: center;
  padding: 0 7px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.72);
  font-size: 10px;
  font-weight: 1000;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.inventory-image-button:hover span {
  opacity: 1;
  transform: translateY(0);
}

.suwdm-medal-preview .inventory-image-button {
  width: 100%;
  height: 58px;
  border-radius: 14px;
}

.suwdm-product-detail .steam-medal-card {
  grid-template-columns: 82px minmax(0, 1fr);
  min-height: 112px;
  padding: 14px;
}

.suwdm-product-detail .steam-medal-card .inventory-image-button,
.suwdm-product-detail .steam-medal-card > i {
  width: 76px;
  height: 76px;
  border-radius: 18px;
}

.suwdm-product-detail .steam-medal-card > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  background:
    radial-gradient(circle at 35% 24%, #fff8b8, #f2c94c 42%, #7dd3fc 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.65), 0 10px 20px rgba(15,23,42,0.14);
  font-size: 24px;
  font-style: normal;
  font-weight: 1000;
}

.suwdm-product-detail .steam-medal-card .inventory-image-button img {
  padding: 4px;
}

.suwdm-product-detail .riot-asset-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.suwdm-product-detail .riot-asset-grid.skin-grid {
  grid-template-columns: repeat(2, minmax(210px, 1fr));
}

.suwdm-product-detail .riot-asset-card {
  grid-template-columns: 118px minmax(0, 1fr);
  min-height: 132px;
  padding: 14px;
}

.suwdm-product-detail .riot-asset-card .inventory-image-button,
.suwdm-product-detail .riot-asset-card > i {
  grid-row: 1 / span 2;
  width: 112px;
  height: 96px;
  border-radius: 18px;
}

.suwdm-product-detail .riot-asset-card .inventory-image-button img {
  padding: 6px;
}

.suwdm-product-detail .riot-asset-card strong {
  white-space: normal;
  font-size: 14px;
}

.image-preview-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.76);
  backdrop-filter: blur(14px);
  animation: gbbCardRise 0.22s ease both;
}

.image-preview-modal {
  position: relative;
  width: min(900px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 22px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.96)),
    repeating-linear-gradient(90deg, rgba(15, 23, 42, 0.035) 0 1px, transparent 1px 34px);
  border: 1px solid rgba(226, 232, 240, 0.92);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.34);
}

.image-preview-modal img {
  width: 100%;
  max-height: min(68vh, 680px);
  object-fit: contain;
  border-radius: 20px;
  background:
    linear-gradient(135deg, #0f172a, #111827),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 18px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.image-preview-modal figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #111827;
}

.image-preview-modal figcaption strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 18px;
}

.image-preview-modal figcaption span {
  color: #64748b;
  font-size: 13px;
  font-weight: 900;
}

.image-preview-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  width: 38px;
  min-width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 999px;
  color: #111827;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.92);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
}

@media (max-width: 720px) {
  .suwdm-product-detail .riot-asset-grid,
  .suwdm-product-detail .riot-asset-grid.skin-grid,
  .steam-medal-grid {
    grid-template-columns: 1fr;
  }

  .image-preview-modal {
    padding: 14px;
  }

  .image-preview-modal figcaption {
    display: grid;
  }
}

/* Admin inventory sync console */
.lzt-sync-status,
.inventory-log-panel {
  display: grid;
  gap: 14px;
  margin: 18px 0;
  padding: 18px;
  border-radius: 22px;
  color: #0f172a;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.94)),
    repeating-linear-gradient(90deg, rgba(37, 99, 235, 0.055) 0 1px, transparent 1px 34px);
  border: 1px solid rgba(147, 197, 253, 0.55);
  box-shadow: 0 22px 54px rgba(37, 99, 235, 0.12);
}

.lzt-sync-status {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lzt-sync-status article {
  min-width: 0;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(191, 219, 254, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.lzt-sync-status span,
.inventory-log-panel > div > span {
  display: block;
  color: #2563eb;
  font-size: 12px;
  font-weight: 900;
}

.lzt-sync-status strong,
.inventory-log-panel > div > strong {
  display: block;
  margin-top: 6px;
  color: #0f172a;
  font-size: 18px;
  font-weight: 1000;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lzt-sync-status small {
  display: block;
  margin-top: 8px;
  color: #64748b;
  font-weight: 800;
}

.inventory-log-panel {
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 1fr);
  align-items: start;
}

.inventory-log-panel .log-list {
  margin: 0;
}

.inventory-log-panel .log-list > div {
  border-left: 4px solid #22c55e;
  background: rgba(255, 255, 255, 0.82);
}

.inventory-log-panel .log-list > div.fail {
  border-left-color: #ef4444;
}

@media (max-width: 900px) {
  .lzt-sync-status,
  .inventory-log-panel {
    grid-template-columns: 1fr;
  }
}

/* Market inspired public redesign */
.site-shell {
  min-height: 100vh;
  color: #111827;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 208, 84, 0.24), transparent 28%),
    radial-gradient(circle at 92% 10%, rgba(22, 163, 74, 0.15), transparent 24%),
    linear-gradient(180deg, #f6f7fb 0%, #fff7f1 42%, #f8fafc 100%);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 86px;
  padding: 0 clamp(18px, 4vw, 68px);
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(4, 8, 28, 0.98), rgba(8, 12, 34, 0.96)),
    radial-gradient(circle at 78% 50%, rgba(255, 186, 42, 0.22), transparent 28%);
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, #ff3d5d, #ff9d3d, #1edc84, #1aa7ff) 1;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.22);
}

.brand {
  gap: 14px;
  color: #ffffff;
}

.brand-mark {
  width: 56px;
  height: 56px;
  color: #ffffff;
  background: linear-gradient(135deg, #20e3b2, #4d6cff);
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%);
  border-radius: 0;
  box-shadow: 0 0 34px rgba(32, 227, 178, 0.32);
}

.brand strong {
  color: #ffd92e;
  font-size: 25px;
  letter-spacing: 0;
}

.brand small {
  color: rgba(255, 255, 255, 0.72);
}

.main-nav a {
  min-height: 46px;
  padding: 0 22px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.main-nav a.active,
.main-nav a:hover {
  color: #ffffff;
  border-color: rgba(255, 199, 72, 0.82);
  background: linear-gradient(135deg, rgba(255, 199, 72, 0.23), rgba(255, 61, 93, 0.18));
  box-shadow: 0 0 28px rgba(255, 199, 72, 0.23);
}

.catalog-page.suwdm-page {
  max-width: 1900px;
  padding: 0 clamp(16px, 3vw, 56px) 56px;
}

.suwdm-layout {
  align-items: start;
  grid-template-columns: minmax(250px, 330px) minmax(0, 1fr);
  gap: 24px;
}

.suwdm-sidebar {
  top: 104px;
}

.catalog-page .suwdm-category-card {
  max-height: calc(100vh - 124px);
  padding: 0 14px 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 128, 96, 0.26);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(255, 77, 79, 0.16);
}

.suwdm-card-head {
  position: sticky;
  top: 0;
  z-index: 2;
  margin: 0 -14px 14px;
  padding: 20px 18px;
  color: #ffffff;
  background: linear-gradient(135deg, #ff3d5d, #ff8b3d);
  border-radius: 8px 8px 0 0;
}

.suwdm-card-head strong,
.suwdm-card-head small {
  color: #ffffff;
}

.catalog-page .suwdm-category-card button {
  min-height: 78px;
  margin: 10px 0;
  color: #111827;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
}

.catalog-page .suwdm-category-card button strong {
  color: #111827;
  font-size: 16px;
}

.catalog-page .suwdm-category-card button span {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: #fff7f7;
  border: 1px solid rgba(255, 61, 93, 0.22);
}

.catalog-page .suwdm-category-card button.active,
.catalog-page .suwdm-category-card button:hover {
  border-color: rgba(255, 61, 93, 0.55);
  transform: translateX(4px);
  background: linear-gradient(90deg, #fff7f8, #ffffff);
  box-shadow: 0 18px 36px rgba(255, 61, 93, 0.13);
}

.suwdm-heading-card {
  overflow: hidden;
  color: #111827;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(255,250,247,0.92)),
    repeating-linear-gradient(135deg, rgba(255, 61, 93, 0.05) 0 1px, transparent 1px 24px);
  border: 1px solid rgba(255, 129, 96, 0.22);
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.suwdm-heading-card h1,
.suwdm-heading-card span,
.suwdm-heading-card em {
  color: #111827;
}

.suwdm-heading-card .eyebrow {
  color: #ff3d5d;
}

.toolbar.suwdm-filter-card {
  padding: 22px;
  color: #111827;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(255,248,244,0.94));
  border: 1px solid rgba(255, 118, 83, 0.24);
  border-top: 4px solid #ff6b35;
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(255, 61, 93, 0.11);
}

.lzt-filter-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
}

.lzt-filter-title strong {
  color: #111827;
  font-size: 19px;
  font-weight: 1000;
}

.lzt-filter-title span {
  color: #64748b;
  font-size: 13px;
  font-weight: 850;
}

.suwdm-filter-grid {
  gap: 14px;
}

.suwdm-filter-grid label {
  color: #111827;
}

.suwdm-filter-grid label span {
  color: #ff3d5d;
  font-size: 12px;
  font-weight: 950;
}

.suwdm-filter-grid input,
.suwdm-filter-grid select {
  min-height: 46px;
  color: #111827;
  background: #f8fafc;
  border: 1px solid #d8e1ee;
  border-radius: 8px;
  font-weight: 850;
}

.suwdm-filter-grid input:focus,
.suwdm-filter-grid select:focus {
  border-color: #ff3d5d;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 61, 93, 0.1);
}

.suwdm-filter-actions button,
.suwdm-filter-actions a {
  min-height: 46px;
  color: #111827;
  border-radius: 8px;
  font-weight: 950;
}

.suwdm-filter-actions button[type="submit"] {
  color: #ffffff;
  background: linear-gradient(135deg, #ff3d5d, #ff6b35);
  box-shadow: 0 16px 34px rgba(255, 61, 93, 0.24);
}

.suwdm-list-head {
  color: #111827;
}

.suwdm-total-badge,
.suwdm-pagination {
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(255, 118, 83, 0.2);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.07);
}

.suwdm-product-list {
  display: grid;
  gap: 18px;
}

.product-card.suwdm-product-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 280px);
  gap: 22px;
  padding: 24px;
  color: #111827;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 118, 83, 0.18);
  border-top: 4px solid #ff3d5d;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
  transform: translateY(10px);
  animation: lztRowIn 0.48s ease forwards;
  animation-delay: calc(var(--i, 0) * 45ms);
}

@keyframes lztRowIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-card.suwdm-product-row:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 61, 93, 0.45);
  box-shadow: 0 28px 64px rgba(255, 61, 93, 0.15);
}

.product-title-row a {
  color: #111827;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 1000;
}

.suwdm-row-date {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  padding: 6px 12px;
  color: #ff3d5d;
  background: #fff4f4;
  border: 1px solid rgba(255, 61, 93, 0.22);
  border-radius: 999px;
  font-weight: 900;
}

.suwdm-status-tags span,
.suwdm-game-strip span,
.product-spec-trail span {
  color: #334155;
  background: #f8fafc;
  border: 1px solid #dbe4f0;
  border-radius: 8px;
}

.suwdm-status-tags span.hot {
  color: #ffffff;
  background: linear-gradient(135deg, #ff3d5d, #ff8b3d);
  border-color: transparent;
}

.product-actions {
  align-self: stretch;
  justify-content: center;
  color: #111827;
  background: linear-gradient(180deg, #fff7f7, #ffffff);
  border: 1px solid rgba(255, 61, 93, 0.18);
  border-radius: 8px;
}

.product-actions strong {
  color: #ff3d5d;
  font-size: 30px;
}

.product-actions a {
  color: #ffffff;
  background: linear-gradient(135deg, #ff3d5d, #ff6b35);
  border-radius: 8px;
}

.suwdm-medal-preview img,
.suwdm-medal-preview i {
  width: 54px;
  height: 54px;
  border-radius: 10px;
}

.detail-page.suwdm-product-detail {
  max-width: 1320px;
}

.suwdm-detail-card {
  overflow: hidden;
  color: #111827;
  background: #ffffff;
  border: 1px solid rgba(255, 118, 83, 0.22);
  border-radius: 8px;
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.12);
}

.suwdm-detail-hero {
  color: #ffffff;
  background:
    radial-gradient(circle at 88% 18%, rgba(255,255,255,0.22), transparent 18%),
    linear-gradient(135deg, #ff6b35 0%, #ff3d5d 48%, #111827 100%);
}

.suwdm-detail-hero h1,
.suwdm-detail-price,
.suwdm-detail-price strong,
.suwdm-detail-price span {
  color: #ffffff;
}

.seller-strip,
.detail-alert,
.rich-detail-panel,
.account-side .panel {
  color: #111827;
  background: rgba(255,255,255,0.98);
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: 8px;
}

.rich-detail-panel h2,
.panel-head h2,
.detail-info-grid dt,
.detail-info-grid dd,
.info-list dt,
.info-list dd {
  color: #111827;
}

.primary-action.detail-buy {
  color: #ffffff;
  background: linear-gradient(135deg, #ff3d5d, #ff6b35);
  border-radius: 8px;
}

@media (max-width: 980px) {
  .topbar {
    height: auto;
    padding: 14px 16px;
  }

  .suwdm-layout,
  .product-card.suwdm-product-row {
    grid-template-columns: 1fr;
  }

  .catalog-page .suwdm-category-card {
    max-height: 360px;
  }
}

/* Market closer shell */
body,
button,
input,
select,
textarea {
  font-family: "Microsoft YaHei", "SimHei", Arial, Helvetica, sans-serif;
}

.site-shell {
  color: #111827;
  background:
    linear-gradient(180deg, #111827 0 118px, #eef2f7 118px 100%),
    radial-gradient(circle at 80% 0%, rgba(24, 201, 136, 0.2), transparent 30%);
}

.topbar {
  height: 78px;
  background:
    linear-gradient(90deg, #0b1220, #121a2a 52%, #0c1728),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 32px);
  border-bottom: 2px solid #18c988;
  box-shadow: 0 14px 38px rgba(2, 6, 23, 0.34);
}

.brand-mark {
  background: linear-gradient(135deg, #18c988, #3b82f6);
}

.brand strong {
  color: #f8fafc;
}

.main-nav a.active,
.main-nav a:hover {
  border-color: rgba(24, 201, 136, 0.72);
  background: rgba(24, 201, 136, 0.14);
  box-shadow: 0 0 28px rgba(24, 201, 136, 0.2);
}

.catalog-page.suwdm-page {
  padding-top: 22px;
}

.catalog-page .suwdm-category-card {
  background: #ffffff;
  border: 1px solid #d9e2ef;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.1);
}

.suwdm-card-head {
  background: linear-gradient(135deg, #121a2a, #1f2937);
  border-bottom: 2px solid #18c988;
}

.catalog-page .suwdm-category-card button.active,
.catalog-page .suwdm-category-card button:hover {
  border-color: rgba(24, 201, 136, 0.55);
  background: linear-gradient(90deg, #ecfdf5, #ffffff);
  box-shadow: 0 18px 36px rgba(24, 201, 136, 0.13);
}

.catalog-page .suwdm-category-card button.active span {
  border-color: rgba(24, 201, 136, 0.6);
  box-shadow: 0 0 0 4px rgba(24, 201, 136, 0.12);
}

.suwdm-heading-card,
.toolbar.suwdm-filter-card,
.suwdm-total-badge,
.suwdm-pagination,
.product-card.suwdm-product-row,
.product-actions,
.suwdm-detail-card,
.seller-strip,
.detail-alert,
.rich-detail-panel,
.account-side .panel {
  border-radius: 6px;
}

.toolbar.suwdm-filter-card {
  border-top-color: #18c988;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.09);
}

.lzt-filter-title strong,
.product-title-row a,
.suwdm-heading-card h1 {
  color: #111827;
}

.lzt-filter-title span,
.suwdm-heading-card span {
  color: #5b6472;
}

.suwdm-filter-grid label span {
  color: #129b6d;
}

.suwdm-filter-grid input,
.suwdm-filter-grid select {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #111827;
}

.suwdm-filter-grid input:focus,
.suwdm-filter-grid select:focus {
  border-color: #18c988;
  box-shadow: 0 0 0 4px rgba(24, 201, 136, 0.13);
}

.suwdm-filter-actions button[type="submit"],
.product-actions a,
.primary-action.detail-buy {
  background: linear-gradient(135deg, #16a34a, #18c988);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(22, 163, 74, 0.22);
}

.product-card.suwdm-product-row {
  border-top-color: #18c988;
}

.product-card.suwdm-product-row:hover {
  border-color: rgba(24, 201, 136, 0.45);
  box-shadow: 0 28px 64px rgba(15, 23, 42, 0.14);
}

.suwdm-row-date {
  color: #047857;
  background: #ecfdf5;
  border-color: rgba(24, 201, 136, 0.28);
}

.suwdm-status-tags span.hot {
  background: linear-gradient(135deg, #16a34a, #18c988);
}

.product-actions strong {
  color: #16a34a;
}

.suwdm-detail-hero {
  background:
    radial-gradient(circle at 88% 18%, rgba(255,255,255,0.16), transparent 18%),
    linear-gradient(135deg, #111827 0%, #1f2937 50%, #16a34a 100%);
}

.site-footer {
  color: #5b6472;
  background: #eef2f7;
}

/* Show every category filter instead of the old compact homepage subset. */
.catalog-page .toolbar.suwdm-filter-card .suwdm-filter-grid.primary,
.catalog-page .toolbar.suwdm-filter-card .suwdm-filter-grid.advanced {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(188px, 1fr));
  gap: 12px;
}

.catalog-page .toolbar.suwdm-filter-card .suwdm-filter-grid.primary label:nth-of-type(n),
.catalog-page .toolbar.suwdm-filter-card .suwdm-filter-grid.advanced label:nth-of-type(n),
.catalog-page .toolbar.suwdm-filter-card .suwdm-filter-grid.advanced {
  display: grid !important;
}

.catalog-page .toolbar.suwdm-filter-card .suwdm-filter-grid.advanced {
  max-height: none;
  overflow: visible;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
}

.catalog-page .toolbar.suwdm-filter-card .lzt-public-grid.advanced::before {
  content: "分类专属筛选";
  grid-column: 1 / -1;
  color: #047857;
  font-size: 13px;
  font-weight: 1000;
}

.catalog-page .toolbar.suwdm-filter-card .steam-public-grid.advanced::before {
  content: "Steam / CS2 专属筛选";
  grid-column: 1 / -1;
  color: #047857;
  font-size: 13px;
  font-weight: 1000;
}

.catalog-page .toolbar.suwdm-filter-card .riot-public-grid.advanced::before {
  color: #047857;
}

/* Market-style product detail page. */
body:has(.lzt-market-detail-page) {
  background:
    radial-gradient(circle at 12% 0%, rgba(46, 160, 67, 0.1), transparent 320px),
    radial-gradient(circle at 86% 12%, rgba(37, 99, 235, 0.08), transparent 360px),
    linear-gradient(180deg, #f4f7fb 0%, #eef3f8 100%);
}

body:has(.lzt-market-detail-page) .topbar {
  color: #f8fafc;
  background: #151a21;
  border-bottom: 1px solid #2f3a45;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.18);
}

body:has(.lzt-market-detail-page) .topbar *,
body:has(.lzt-market-detail-page) .brand strong,
body:has(.lzt-market-detail-page) .brand small {
  color: #f8fafc;
}

.lzt-market-detail-page {
  width: min(1180px, calc(100% - 28px));
  padding-top: 18px;
}

.lzt-detail-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 54px;
  margin-bottom: 16px;
  padding: 10px 14px;
  color: #111827;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #dbe3ec;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.lzt-detail-nav > strong {
  color: #111827;
  font-size: 17px;
  font-weight: 1000;
}

.lzt-detail-nav > a {
  justify-self: end;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 13px;
  color: #1f2937;
  background: #f8fafc;
  border: 1px solid #d8e1ea;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.lzt-market-detail-page .detail-back {
  width: fit-content;
  color: #1f2937;
  background: #f8fafc;
  border: 1px solid #d8e1ea;
  border-radius: 8px;
}

.lzt-item-head,
.lzt-detail-tabs,
.lzt-detail-layout .panel,
.lzt-buy-panel {
  border: 1px solid #d7e0ea;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.lzt-item-head {
  overflow: hidden;
  border-radius: 14px;
  background: #ffffff;
}

.lzt-item-main-card {
  position: relative;
  padding: 22px;
  background:
    linear-gradient(90deg, rgba(30, 41, 59, 0.05), transparent 46%),
    #ffffff;
}

.lzt-item-main-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #16a34a, #22c55e, #38bdf8);
}

.lzt-item-status-row,
.lzt-item-time-row,
.lzt-item-meta-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.lzt-item-status-row {
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.lzt-item-status-row b {
  color: #0f172a;
}

.lzt-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #94a3b8;
  box-shadow: 0 0 0 4px rgba(148, 163, 184, 0.16);
}

.lzt-status-dot.online {
  background: #16a34a;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.14);
}

.lzt-status-dot.offline {
  background: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.14);
}

.lzt-item-main-card h1 {
  max-width: 920px;
  margin: 14px 0 14px;
  color: #0f172a;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.22;
  letter-spacing: 0;
}

.lzt-item-meta-tags span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  color: #334155;
  background: #f8fafc;
  border: 1px solid #dbe4ef;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.lzt-item-meta-tags span.primary {
  color: #065f46;
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.lzt-item-time-row {
  margin-top: 14px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.lzt-market-detail-page .suwdm-detail-quickstats {
  margin-top: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lzt-market-detail-page .suwdm-detail-quickstats div {
  color: #0f172a;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border: 1px solid #dbe4ef;
  border-radius: 12px;
  box-shadow: none;
}

.lzt-market-detail-page .suwdm-detail-quickstats span {
  color: #64748b;
}

.lzt-market-detail-page .suwdm-detail-quickstats strong {
  color: #0f172a;
  text-shadow: none;
}

.lzt-detail-tabs {
  position: sticky;
  top: 0;
  z-index: 12;
  display: flex;
  gap: 8px;
  margin: 16px 0;
  padding: 10px;
  overflow-x: auto;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 12px;
  backdrop-filter: blur(14px);
}

.lzt-detail-tabs a {
  flex: 0 0 auto;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  color: #334155;
  background: #f8fafc;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.lzt-detail-tabs a:hover {
  color: #065f46;
  border-color: #86efac;
  background: #ecfdf5;
}

.lzt-detail-layout {
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
  gap: 16px;
}

.lzt-detail-main,
.lzt-detail-side {
  display: grid;
  gap: 16px;
}

.lzt-detail-side {
  position: sticky;
  top: 76px;
}

.lzt-detail-layout .panel {
  background: #ffffff;
  border-radius: 14px;
}

.lzt-detail-layout .panel-head {
  border-bottom: 1px solid #edf2f7;
}

.lzt-detail-layout .panel-head h2,
.lzt-detail-layout .panel-head h2 span {
  color: #0f172a;
}

.lzt-market-stats,
.lzt-capability-grid,
.lzt-seller-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.lzt-market-stats article,
.lzt-capability-grid div,
.lzt-seller-grid .seller-metric {
  min-width: 0;
  padding: 12px;
  color: #0f172a;
  background: #f8fafc;
  border: 1px solid #dbe4ef;
  border-radius: 10px;
}

.lzt-market-stats span,
.lzt-capability-grid small,
.lzt-seller-grid span {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.lzt-market-stats strong,
.lzt-capability-grid strong,
.lzt-seller-grid strong {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  color: #0f172a;
  font-size: 16px;
  font-weight: 1000;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lzt-capability-grid div.ok span {
  color: #16a34a;
}

.lzt-capability-grid div.no {
  background: #fff7f7;
  border-color: #fecaca;
}

.lzt-capability-grid div.no span {
  color: #ef4444;
}

.lzt-capability-grid div.muted {
  opacity: 0.72;
}

.catalog-loading-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0;
  padding: 18px 20px;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #dbe4ef;
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.catalog-loading-card strong,
.catalog-loading-card small {
  display: block;
}

.catalog-loading-card small {
  color: #64748b;
  font-weight: 800;
}

.loading-ring {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 4px solid #dbeafe;
  border-top-color: #2563eb;
  border-radius: 999px;
  animation: gbbRingRotate 0.85s linear infinite;
}

.skeleton-row {
  min-height: 170px;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent) -220px 0 / 220px 100% no-repeat,
    linear-gradient(135deg, #ffffff, #eef6ff);
  animation: skeletonSweep 1.1s ease-in-out infinite;
}

@keyframes skeletonSweep {
  to { background-position: calc(100% + 220px) 0, 0 0; }
}

.lzt-buy-panel {
  overflow: hidden;
}

.lzt-price-box {
  display: grid;
  gap: 4px;
  padding: 16px;
  color: #0f172a;
  background: linear-gradient(135deg, #f8fafc, #ecfdf5);
  border: 1px solid #dbe4ef;
  border-radius: 12px;
}

.lzt-price-box span,
.lzt-price-box small {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.lzt-price-box strong {
  color: #16a34a;
  font-size: 34px;
  line-height: 1;
  font-weight: 1000;
}

.lzt-buy-panel .detail-buy {
  width: 100%;
  min-height: 44px;
  margin-top: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  border: 0;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 1000;
  box-shadow: 0 14px 28px rgba(22, 163, 74, 0.22);
}

.lzt-buy-panel .detail-buy:disabled {
  color: #475569;
  background: #e2e8f0;
  box-shadow: none;
}

.lzt-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.lzt-action-grid button,
.lzt-preview-links a,
.lzt-preview-links span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  color: #334155;
  background: #f8fafc;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.lzt-action-grid button:disabled {
  opacity: 0.55;
}

.lzt-buy-note {
  display: grid;
  gap: 4px;
  margin-top: 12px;
  padding: 12px;
  color: #334155;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 850;
}

.lzt-buy-note b {
  color: #92400e;
}

.lzt-preview-links {
  display: grid;
  gap: 8px;
}

.lzt-preview-links a {
  color: #065f46;
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.lzt-description {
  display: grid;
  gap: 10px;
  color: #334155;
  font-size: 14px;
  line-height: 1.75;
}

.lzt-description p {
  margin: 0;
}

.lzt-seller-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.lzt-seller-profile > span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #065f46;
  background: linear-gradient(135deg, #dcfce7, #bfdbfe);
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  font-size: 20px;
  font-weight: 1000;
}

.lzt-seller-profile strong {
  display: block;
  color: #0f172a;
  font-size: 16px;
  font-weight: 1000;
}

.lzt-seller-profile small {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

body:has(.lzt-market-detail-page) .steam-stat-card,
body:has(.lzt-market-detail-page) .detail-info-grid div,
body:has(.lzt-market-detail-page) .steam-medal-card,
body:has(.lzt-market-detail-page) .steam-game-chip,
body:has(.lzt-market-detail-page) .riot-asset-card,
body:has(.lzt-market-detail-page) .security-row {
  color: #0f172a;
  background: #f8fafc;
  border-color: #dbe4ef;
  box-shadow: none;
}

body:has(.lzt-market-detail-page) .steam-stat-card strong,
body:has(.lzt-market-detail-page) .detail-info-grid dd,
body:has(.lzt-market-detail-page) .security-row strong,
body:has(.lzt-market-detail-page) .steam-medal-card strong,
body:has(.lzt-market-detail-page) .riot-asset-card strong {
  color: #0f172a;
}

body:has(.lzt-market-detail-page) .steam-stat-card span,
body:has(.lzt-market-detail-page) .detail-info-grid dt,
body:has(.lzt-market-detail-page) .security-row b,
body:has(.lzt-market-detail-page) .steam-medal-card span,
body:has(.lzt-market-detail-page) .riot-asset-card span {
  color: #64748b;
}

body:has(.lzt-market-detail-page) .detail-alert {
  background: #ffffff;
  border: 1px solid #dbe4ef;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

body:has(.lzt-market-detail-page) .detail-alert.ok {
  background: #ecfdf5;
  border-color: #bbf7d0;
}

body:has(.lzt-market-detail-page) .detail-alert.warn {
  background: #fffbeb;
  border-color: #fde68a;
}

body:has(.lzt-market-detail-page) .detail-alert.danger {
  background: #fff1f2;
  border-color: #fecdd3;
}

@media (max-width: 980px) {
  .lzt-detail-layout {
    grid-template-columns: 1fr;
  }

  .lzt-detail-side,
  .lzt-detail-tabs {
    position: static;
  }

  .lzt-market-stats,
  .lzt-capability-grid,
  .lzt-seller-grid,
  .lzt-market-detail-page .suwdm-detail-quickstats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .lzt-market-detail-page {
    width: min(100%, calc(100% - 14px));
    padding-top: 8px;
  }

  .lzt-detail-nav {
    grid-template-columns: auto 1fr auto;
  }

  .lzt-detail-nav > a {
    font-size: 0;
    width: 36px;
    padding: 0;
  }

  .lzt-item-main-card {
    padding: 18px 14px;
  }

  .lzt-market-stats,
  .lzt-capability-grid,
  .lzt-seller-grid,
  .lzt-market-detail-page .suwdm-detail-quickstats {
    grid-template-columns: 1fr;
  }
}

/* suwdm-style contact page. */
body:has(.suwdm-contact-page) {
  min-height: 100vh;
  background: #f6f7f9;
}

body:has(.suwdm-contact-page) .site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body:has(.suwdm-contact-page) .topbar {
  height: 78px;
  justify-content: space-between;
  padding: 0 clamp(24px, 6vw, 96px);
  color: #ffffff;
  background:
    radial-gradient(circle at 12% 0%, rgba(33, 213, 255, 0.16), transparent 240px),
    linear-gradient(180deg, #050819 0%, #070a1d 100%);
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, #7c3aed, #f59e0b, #22c55e, #06b6d4) 1;
  box-shadow: none;
}

body:has(.suwdm-contact-page) .topbar *,
body:has(.suwdm-contact-page) .brand strong,
body:has(.suwdm-contact-page) .brand small {
  color: #ffffff;
}

body:has(.suwdm-contact-page) .brand {
  gap: 14px;
}

body:has(.suwdm-contact-page) .brand-mark {
  width: 56px;
  height: 56px;
  color: #ffffff;
  background: linear-gradient(135deg, #59f2c8, #3772ff 74%);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.45);
}

body:has(.suwdm-contact-page) .brand strong {
  color: #ffcc11;
  font-size: 28px;
  letter-spacing: 0;
}

body:has(.suwdm-contact-page) .brand small {
  display: none;
}

body:has(.suwdm-contact-page) .main-nav {
  gap: 12px;
}

body:has(.suwdm-contact-page) .main-nav a {
  min-height: 46px;
  padding: 0 20px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body:has(.suwdm-contact-page) .main-nav a.active,
body:has(.suwdm-contact-page) .main-nav a[href="/contact"] {
  background: linear-gradient(90deg, #a21caf, #ff2f8c 52%, #22d3ee);
  border-color: transparent;
  box-shadow: 0 0 28px rgba(217, 70, 239, 0.42);
}

.suwdm-contact-page {
  flex: 1;
  width: 100%;
  margin: 0;
  padding: 0;
}

.suwdm-contact-blank {
  min-height: calc(100vh - 78px - 126px);
  display: grid;
  place-items: center;
  padding: clamp(42px, 9vw, 120px) 18px;
  background: #f6f7f9;
}

.suwdm-contact-panel {
  width: min(900px, 100%);
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 36px);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #e6ebf2;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
}

.suwdm-contact-title {
  display: grid;
  justify-items: center;
  text-align: center;
}

.suwdm-contact-title > span {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #a21caf, #22d3ee);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(168, 85, 247, 0.26);
  font-size: 26px;
}

.suwdm-contact-title p {
  margin: 0 0 4px;
  color: #ff3f6b;
  font-size: 13px;
  font-weight: 1000;
  letter-spacing: 0;
}

.suwdm-contact-title h1 {
  margin: 0 0 10px;
  color: #111827;
  font-size: clamp(30px, 5vw, 48px);
  letter-spacing: 0;
}

.suwdm-contact-title small {
  max-width: 560px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 800;
}

.suwdm-contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 12px;
}

.suwdm-service-card {
  min-width: 0;
  display: grid;
  gap: 8px;
  padding: 16px;
  background: #f8fafc;
  border: 1px solid #dfe7f2;
  border-radius: 14px;
}

.suwdm-service-card.primary {
  background: linear-gradient(135deg, #fff7ed, #fef2f2);
  border-color: #fed7aa;
}

.suwdm-service-card span,
.suwdm-service-card small {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.suwdm-service-card strong {
  overflow: hidden;
  color: #111827;
  font-size: 20px;
  font-weight: 1000;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.suwdm-service-card button,
.suwdm-contact-actions a,
.suwdm-contact-actions button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  color: #ff3f57;
  background: #fff;
  border: 1px solid #ffd0d6;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 1000;
}

.suwdm-contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.suwdm-contact-actions a:first-child {
  color: #ffffff;
  background: linear-gradient(135deg, #ff4054, #ff7a35);
  border-color: transparent;
  box-shadow: 0 14px 28px rgba(255, 64, 84, 0.2);
}

.suwdm-contact-notice {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  color: #334155;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 850;
}

.suwdm-contact-notice b {
  color: #92400e;
}

.suwdm-contact-rules {
  width: min(1100px, calc(100% - 32px));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: -42px auto 54px;
}

.suwdm-contact-rules article {
  display: grid;
  gap: 6px;
  padding: 16px;
  color: #334155;
  background: #ffffff;
  border: 1px solid #e5eaf1;
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
}

.suwdm-contact-rules b {
  color: #111827;
  font-size: 15px;
  font-weight: 1000;
}

.suwdm-contact-rules span {
  color: #64748b;
  line-height: 1.7;
  font-size: 13px;
  font-weight: 800;
}

body:has(.suwdm-contact-page) .site-footer {
  margin-top: auto;
  min-height: 126px;
  justify-content: center;
  gap: 18px;
  color: #d1d5db;
  background: #070b16;
  border-top: 0;
}

body:has(.suwdm-contact-page) .site-footer span {
  color: #d1d5db;
}

@media (max-width: 820px) {
  body:has(.suwdm-contact-page) .topbar {
    height: auto;
    min-height: 78px;
    flex-direction: column;
    align-items: stretch;
    padding: 14px 18px;
  }

  .suwdm-contact-grid,
  .suwdm-contact-rules {
    grid-template-columns: 1fr;
  }

  .suwdm-contact-rules {
    margin-top: -20px;
  }
}

@media (max-width: 560px) {
  body:has(.suwdm-contact-page) .brand strong {
    font-size: 22px;
  }

  body:has(.suwdm-contact-page) .main-nav {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

  body:has(.suwdm-contact-page) .main-nav a {
    width: 100%;
  }

  .suwdm-contact-panel,
  .suwdm-contact-title,
  .suwdm-contact-title small,
  .suwdm-contact-actions,
  .suwdm-contact-actions a,
  .suwdm-contact-actions button {
    min-width: 0;
    max-width: 100%;
  }

  .suwdm-contact-panel {
    width: calc(100vw - 20px);
    padding-inline: 14px;
  }

  .suwdm-contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .suwdm-contact-title small {
    display: block;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .suwdm-contact-blank {
    overflow: hidden;
    padding-inline: 10px;
  }
}

/* Final performance pass for catalog pages. These overrides sit last on purpose. */
body:has(.catalog-page.suwdm-page) {
  animation: none !important;
}

.catalog-page .suwdm-heading-card,
.catalog-page .toolbar.suwdm-filter-card,
.catalog-page .suwdm-list-head,
.catalog-page .product-card.suwdm-product-row,
.catalog-page .suwdm-heading-card::after,
.catalog-page .product-card.suwdm-product-row::before,
.catalog-page .product-card.suwdm-product-row::after,
.catalog-page .suwdm-medal-preview img,
.catalog-page .suwdm-medal-preview i {
  animation: none !important;
}

.catalog-page .product-card.suwdm-product-row {
  transform: translateZ(0) !important;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.catalog-page .product-card.suwdm-product-row:hover {
  transform: translateY(-2px) !important;
}

/* Premium admin console polish */
body:has(.admin-shell) {
  overflow-x: hidden;
}

.admin-shell {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
}

.admin-ambient {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.72;
}

.admin-ambient-a {
  width: 440px;
  height: 440px;
  right: -150px;
  top: -120px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.22), transparent 66%);
}

.admin-ambient-b {
  width: 360px;
  height: 360px;
  left: 220px;
  bottom: -160px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.16), transparent 64%);
}

.admin-sidebar,
.admin-content {
  position: relative;
  z-index: 1;
}

.admin-sidebar {
  width: 286px;
  padding: 22px 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(239, 246, 255, 0.9)),
    linear-gradient(90deg, rgba(37, 99, 235, 0.08), transparent);
}

.admin-brand {
  min-height: 72px;
  padding: 14px;
  gap: 12px;
}

.admin-brand strong {
  display: grid;
  gap: 3px;
  font-size: 18px;
}

.admin-brand small {
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-side-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 16px;
  padding: 13px;
  border-radius: 18px;
  color: #0f172a;
  background:
    linear-gradient(135deg, rgba(219, 234, 254, 0.92), rgba(240, 249, 255, 0.9)),
    repeating-linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0 1px, transparent 1px 14px);
  border: 1px solid rgba(147, 197, 253, 0.75);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 16px 34px rgba(37, 99, 235, 0.09);
}

.admin-side-status div {
  display: grid;
  gap: 2px;
}

.admin-side-status strong {
  color: #0f172a;
  font-size: 14px;
}

.admin-side-status small {
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
}

.admin-sidebar nav {
  gap: 8px;
}

.admin-sidebar nav a {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr 12px;
  align-items: center;
  min-height: 46px;
  padding: 6px 11px;
  border-radius: 16px;
  overflow: hidden;
}

.admin-sidebar nav a::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: linear-gradient(180deg, #2563eb, #38bdf8);
  transition: width 0.18s ease;
}

.admin-sidebar nav a.active::before,
.admin-sidebar nav a:hover::before {
  width: 4px;
}

.admin-sidebar nav a .nav-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 12px;
  color: #2563eb;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}

.admin-sidebar nav a strong {
  position: relative;
  color: inherit;
  font-size: 14px;
}

.admin-sidebar nav a i {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #cbd5e1;
}

.admin-sidebar nav a.active i {
  background: #22c55e;
  box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.12);
}

.admin-content {
  padding: 22px 28px 34px;
}

.admin-page {
  max-width: 1680px;
  margin: 0 auto;
}

.admin-topline {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-height: 34px;
  margin-bottom: 12px;
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.admin-topline span,
.admin-topline strong,
.admin-topline em {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(191, 219, 254, 0.78);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.07);
}

.admin-topline em {
  color: #166534;
  background: #dcfce7;
  border-color: #bbf7d0;
  font-style: normal;
}

.admin-page-head {
  position: relative;
  overflow: hidden;
  min-height: 132px;
  align-items: center;
  margin-bottom: 20px;
  padding: 24px 26px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 12%, rgba(56, 189, 248, 0.24), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(219, 234, 254, 0.88));
}

.admin-page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent),
    repeating-linear-gradient(90deg, rgba(37, 99, 235, 0.05) 0 1px, transparent 1px 42px);
  opacity: 0.56;
  transform: translateX(-48%);
  animation: adminHeadSweep 8s ease-in-out infinite;
}

.admin-page-head > * {
  position: relative;
  z-index: 1;
}

.admin-page-head h1 {
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: 0;
}

.admin-page-head p {
  max-width: 720px;
  margin-top: 8px;
  font-size: 14px;
}

.admin-head-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-kpis {
  gap: 16px;
}

.kpi {
  position: relative;
  overflow: hidden;
  min-height: 132px;
  padding: 18px;
  border-radius: 24px;
}

.kpi::after,
.inventory-card::after,
.settings-block::after,
.panel::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #38bdf8, #a7f3d0);
  opacity: 0.9;
}

.kpi .kpi-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 15px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.12);
}

.kpi strong {
  font-size: 32px;
}

.table-wrap {
  border-radius: 24px;
  overflow: hidden;
}

table {
  border-collapse: separate;
  border-spacing: 0;
}

th {
  height: 48px;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

td {
  height: 58px;
}

tbody tr {
  transition: transform 0.14s ease, background 0.14s ease;
}

tbody tr:hover {
  transform: translateX(2px);
}

.admin-toolbar {
  border-radius: 24px;
  padding: 16px;
}

.admin-toolbar button,
.admin-head-actions button,
.admin-head-actions a,
.settings-save {
  min-height: 42px;
  border-radius: 14px;
}

.inventory-hero,
.traffic-hero,
.lzt-hero,
.inventory-bulk-sync {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
}

.inventory-hero::after,
.traffic-hero::after,
.lzt-hero::after,
.inventory-bulk-sync::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 250px;
  height: 250px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.18), transparent 68%);
}

.inventory-card,
.settings-block,
.control-card,
.panel,
.lzt-health-card,
.lzt-balance-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.inventory-card:hover,
.settings-block:hover,
.control-card:hover,
.panel:hover,
.lzt-balance-card:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.32);
  box-shadow: 0 26px 70px rgba(37, 99, 235, 0.14);
}

.settings-console {
  gap: 18px;
}

.settings-block {
  padding: 22px;
}

.settings-block h3 {
  font-size: 22px;
}

.settings-block .field {
  margin-bottom: 0;
}

.lzt-sync-status,
.inventory-log-panel {
  border-radius: 24px;
}

.log-list > div {
  border-radius: 16px;
}

.catalog-page .compact-public-grid {
  grid-template-columns: minmax(260px, 1.4fr) 160px 160px 130px minmax(210px, 0.8fr) !important;
}

.catalog-page .compact-filter-actions button:last-child {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe;
  box-shadow: none;
}

@keyframes adminHeadSweep {
  0%,
  52% {
    transform: translateX(-56%);
  }
  100% {
    transform: translateX(56%);
  }
}

@media (max-width: 1080px) {
  .admin-sidebar {
    width: 100%;
  }

  .admin-content {
    padding: 18px;
  }

  .admin-topline {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .admin-page-head {
    grid-template-columns: 1fr;
  }

  .catalog-page .compact-public-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 620px) {
  .admin-content {
    padding: 12px;
  }

  .admin-page-head {
    padding: 20px;
    border-radius: 22px;
  }

  .catalog-page .compact-public-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Contact page copied to the pink customer-service layout */
body:has(.suwdm-contact-page) {
  background:
    radial-gradient(circle at 2% 92%, rgba(255, 130, 190, 0.16), transparent 170px),
    radial-gradient(circle at 96% 10%, rgba(255, 190, 230, 0.2), transparent 180px),
    linear-gradient(120deg, #fff3fb 0%, #f9f1ff 48%, #eef7ff 100%);
}

body:has(.suwdm-contact-page) .topbar {
  height: 54px;
  justify-content: center;
  padding: 0 clamp(16px, 4vw, 60px);
  background: #06091a;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, #a855f7, #f59e0b, #22c55e, #06b6d4) 1;
}

body:has(.suwdm-contact-page) .brand-mark {
  width: 28px;
  height: 28px;
  font-size: 11px;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.42);
}

body:has(.suwdm-contact-page) .brand strong {
  color: #facc15;
  font-size: 18px;
}

body:has(.suwdm-contact-page) .main-nav {
  position: absolute;
  right: clamp(16px, 8vw, 560px);
  gap: 8px;
}

body:has(.suwdm-contact-page) .main-nav a {
  min-height: 31px;
  padding: 0 13px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  border-radius: 3px;
  font-size: 11px;
  box-shadow: none;
}

body:has(.suwdm-contact-page) .main-nav a[href="/contact"],
body:has(.suwdm-contact-page) .main-nav a.active {
  background: linear-gradient(90deg, #d946ef, #ec4899, #38bdf8);
  box-shadow: 0 0 18px rgba(217, 70, 239, 0.36);
}

.suwdm-contact-page {
  position: relative;
  min-height: calc(100vh - 54px);
  overflow: hidden;
  padding: 0 16px 12px;
}

.suwdm-contact-stage {
  position: relative;
  width: min(980px, 100%);
  min-height: calc(100vh - 70px);
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 18px;
  margin: 0 auto;
  padding-top: 4px;
}

.suwdm-contact-main {
  width: min(650px, 100%);
  justify-self: center;
  display: grid;
  gap: 24px;
}

.suwdm-contact-mini {
  display: grid;
  align-content: start;
  gap: 12px;
  padding-top: 2px;
}

.suwdm-contact-mini article {
  display: grid;
  gap: 4px;
  min-height: 47px;
  padding: 9px 12px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(216, 180, 254, 0.35);
  box-shadow: 0 8px 20px rgba(168, 85, 247, 0.08);
}

.suwdm-contact-mini article:not(.time) {
  background: rgba(253, 242, 248, 0.92);
}

.suwdm-contact-mini .time {
  border-color: rgba(96, 165, 250, 0.7);
  box-shadow: 0 10px 24px rgba(59, 130, 246, 0.12);
}

.suwdm-contact-mini b {
  color: #7c3aed;
  font-size: 12px;
}

.suwdm-contact-mini span {
  color: #334155;
  font-size: 10px;
  font-weight: 900;
}

.suwdm-contact-title {
  margin-top: 0;
  display: grid;
  justify-items: center;
  gap: 4px;
  text-align: center;
}

.suwdm-contact-title h1 {
  margin: 0;
  color: #b54ce8;
  font-size: clamp(36px, 5vw, 45px);
  line-height: 1.06;
  font-weight: 1000;
  text-shadow: 0 12px 28px rgba(168, 85, 247, 0.16);
}

.suwdm-contact-title h1 span {
  filter: drop-shadow(0 6px 12px rgba(168, 85, 247, 0.25));
}

.suwdm-contact-title p {
  margin: 0;
  color: #b794f6;
  font-size: 13px;
  font-weight: 900;
}

.suwdm-contact-card {
  position: relative;
  min-height: 170px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 6px;
  padding: 22px 24px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 15% 70%, rgba(186, 230, 253, 0.2), transparent 120px),
    radial-gradient(circle at 88% 22%, rgba(244, 114, 182, 0.12), transparent 130px),
    rgba(255, 255, 255, 0.72);
  border: 2px solid rgba(251, 182, 206, 0.86);
  box-shadow: 0 24px 54px rgba(168, 85, 247, 0.22);
  backdrop-filter: blur(12px);
}

.suwdm-contact-avatar {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #f472b6, #8b5cf6, #67e8f9);
  box-shadow: 0 14px 26px rgba(168, 85, 247, 0.28);
  font-size: 27px;
  animation: contactFloat 3s ease-in-out infinite;
}

.suwdm-contact-card span {
  color: #8b5cf6;
  font-size: 17px;
  font-weight: 1000;
}

.suwdm-contact-card strong {
  color: #d13db5;
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1;
  font-weight: 1000;
  letter-spacing: 0;
}

.suwdm-contact-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.suwdm-contact-buttons a,
.suwdm-contact-buttons button,
.suwdm-telegram-copy,
.suwdm-contact-cta button {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(90deg, #ec4899, #8b5cf6, #60a5fa);
  box-shadow: 0 10px 22px rgba(168, 85, 247, 0.24);
  font-size: 12px;
  font-weight: 1000;
  text-decoration: none;
}

.suwdm-contact-buttons button {
  background: linear-gradient(90deg, #c084fc, #fb7185);
}

.suwdm-telegram-copy {
  margin-top: 6px;
  background: rgba(255, 255, 255, 0.72);
  color: #8b5cf6;
  border: 1px solid rgba(216, 180, 254, 0.7);
  box-shadow: none;
}

.contact-spark {
  position: absolute;
  font-style: normal;
  font-size: 23px;
}

.contact-spark.left {
  left: 20px;
  top: 14px;
}

.contact-spark.right {
  right: 32px;
  top: 18px;
}

.suwdm-refund-policy {
  display: grid;
  gap: 16px;
}

.suwdm-refund-policy h2 {
  margin: 0;
  color: #b54ce8;
  text-align: center;
  font-size: 30px;
  font-weight: 1000;
}

.suwdm-refund-policy > p {
  margin: -8px 0 6px;
  color: #a78bfa;
  text-align: center;
  font-size: 12px;
  font-weight: 900;
}

.suwdm-refund-policy details {
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 12px 30px rgba(100, 116, 139, 0.14);
}

.suwdm-refund-policy summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 18px;
  color: #ffffff;
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  font-weight: 1000;
}

.suwdm-refund-policy summary::-webkit-details-marker {
  display: none;
}

.suwdm-refund-policy details:nth-of-type(1) summary {
  background: linear-gradient(90deg, #f472b6, #fb7185);
}

.suwdm-refund-policy details:nth-of-type(2) summary {
  background: linear-gradient(90deg, #38bdf8, #22d3ee, #22c55e);
}

.suwdm-refund-policy details:nth-of-type(3) summary {
  background: linear-gradient(90deg, #a78bfa, #818cf8);
}

.suwdm-refund-policy details:nth-of-type(4) summary {
  background: linear-gradient(90deg, #ec4899, #a78bfa, #60a5fa);
}

.suwdm-refund-policy summary b {
  font-size: 18px;
  transition: transform 0.2s ease;
}

.suwdm-refund-policy details[open] summary b {
  transform: rotate(180deg);
}

.suwdm-refund-policy details > div {
  padding: 13px 18px 16px;
  color: #475569;
  background: rgba(255, 255, 255, 0.76);
  text-align: center;
  font-size: 12px;
  line-height: 1.8;
  font-weight: 850;
}

.suwdm-contact-cta {
  position: relative;
  min-height: 158px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
  margin-top: 6px;
  padding: 22px;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(115deg, #ec65b9, #b66bff 52%, #54a2ff);
  box-shadow: 0 22px 52px rgba(139, 92, 246, 0.24);
  overflow: hidden;
}

.suwdm-contact-cta::before,
.suwdm-contact-cta::after {
  content: "✨";
  position: absolute;
  color: rgba(255, 255, 255, 0.9);
  font-size: 24px;
}

.suwdm-contact-cta::before {
  left: 22px;
  bottom: 14px;
  content: "💫";
}

.suwdm-contact-cta::after {
  right: 24px;
  top: 15px;
}

.suwdm-contact-cta i {
  font-style: normal;
  font-size: 24px;
}

.suwdm-contact-cta h3 {
  margin: 0;
  color: #ffffff;
  font-size: 20px;
  font-weight: 1000;
}

.suwdm-contact-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 900;
}

.suwdm-contact-cta button {
  min-width: 142px;
  min-height: 40px;
  margin-top: 6px;
  color: #9d4edd;
  background: rgba(255, 255, 255, 0.94);
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 24px rgba(96, 165, 250, 0.18);
}

.suwdm-contact-tip {
  margin: -8px 0 0;
  color: #a78bfa;
  text-align: center;
  font-size: 11px;
  font-weight: 900;
}

.contact-float {
  position: absolute;
  z-index: 0;
  font-style: normal;
  pointer-events: none;
  opacity: 0.82;
  animation: contactFloat 4.5s ease-in-out infinite;
}

.contact-float.top {
  right: 20px;
  top: 54px;
  font-size: 31px;
}

.contact-float.bow {
  left: 28px;
  bottom: 42px;
  font-size: 28px;
  animation-delay: 0.6s;
}

.contact-float.heart {
  right: 36px;
  top: 56%;
  font-size: 28px;
  animation-delay: 1.2s;
}

@keyframes contactFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

@media (max-width: 980px) {
  body:has(.suwdm-contact-page) .main-nav {
    position: static;
  }

  .suwdm-contact-stage {
    grid-template-columns: 1fr;
  }

  .suwdm-contact-mini {
    display: none;
  }
}

@media (max-width: 620px) {
  body:has(.suwdm-contact-page) .topbar {
    height: auto;
    justify-content: flex-start;
  }

  .suwdm-contact-page {
    padding-inline: 10px;
  }

  .suwdm-contact-main {
    gap: 18px;
  }

  .suwdm-contact-card,
  .suwdm-contact-cta {
    border-radius: 12px;
  }

  .suwdm-contact-buttons {
    display: grid;
    width: 100%;
  }

  .suwdm-contact-buttons a,
  .suwdm-contact-buttons button,
  .suwdm-telegram-copy,
  .suwdm-contact-cta button {
    width: 100%;
  }
}

/* Premium public brand mark and wordmark */
body:not(:has(.suwdm-contact-page)) .site-shell .topbar {
  overflow: hidden;
}

body:not(:has(.suwdm-contact-page)) .site-shell .topbar .brand {
  position: relative;
  min-height: 86px;
  gap: 18px;
  padding: 0 14px 0 6px;
  transform: translateZ(0);
}

body:not(:has(.suwdm-contact-page)) .site-shell .topbar .brand::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 50%;
  width: 230px;
  height: 86px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 26% 50%, rgba(34, 211, 238, 0.24), transparent 48%),
    radial-gradient(circle at 72% 48%, rgba(250, 204, 21, 0.15), transparent 58%);
  filter: blur(12px);
  opacity: 0.9;
  transform: translateY(-50%);
  pointer-events: none;
}

body:not(:has(.suwdm-contact-page)) .site-shell .topbar .brand-mark {
  position: relative;
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  display: grid;
  place-items: center;
  color: #ffffff;
  clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.02)),
    linear-gradient(135deg, #20e4c2 0%, #39b8ff 46%, #6658ff 100%);
  border-radius: 0;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.28) inset,
    0 0 0 6px rgba(59, 130, 246, 0.08),
    0 18px 36px rgba(14, 165, 233, 0.34),
    0 0 44px rgba(34, 211, 238, 0.28);
  animation: brandPrismFloat 4.6s ease-in-out infinite;
}

body:not(:has(.suwdm-contact-page)) .site-shell .topbar .brand-mark::before {
  content: "";
  position: absolute;
  inset: 9px;
  clip-path: inherit;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.06)),
    radial-gradient(circle at 38% 20%, rgba(255, 255, 255, 0.44), transparent 34%);
  opacity: 0.58;
}

body:not(:has(.suwdm-contact-page)) .site-shell .topbar .brand-mark::after {
  content: "";
  position: absolute;
  inset: -30%;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.62) 48%, transparent 62%);
  transform: translateX(-92%) rotate(8deg);
  animation: brandMarkSweep 4.8s ease-in-out infinite;
}

body:not(:has(.suwdm-contact-page)) .site-shell .topbar .brand-mark i {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  color: #ffffff;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.32), transparent 38%),
    rgba(15, 23, 42, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 18px;
  font-style: normal;
  font-weight: 1000;
  text-shadow: 0 2px 8px rgba(15, 23, 42, 0.32);
}

body:not(:has(.suwdm-contact-page)) .site-shell .topbar .brand-mark b {
  position: absolute;
  right: -5px;
  bottom: 8px;
  z-index: 3;
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: #a7f3d0;
  border: 2px solid rgba(8, 13, 32, 0.92);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.13), 0 0 18px rgba(34, 197, 94, 0.65);
}

body:not(:has(.suwdm-contact-page)) .site-shell .topbar .brand-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3px;
  min-width: 0;
}

body:not(:has(.suwdm-contact-page)) .site-shell .topbar .brand-copy strong {
  position: relative;
  width: max-content;
  max-width: min(360px, 40vw);
  overflow: visible;
  color: transparent;
  background:
    linear-gradient(180deg, #fff7b0 0%, #ffd21f 42%, #ff9f1c 76%, #f97316 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(28px, 3.3vw, 42px);
  line-height: 0.95;
  font-weight: 1000;
  letter-spacing: 0;
  text-shadow:
    0 2px 0 rgba(121, 64, 0, 0.5),
    0 9px 20px rgba(245, 158, 11, 0.25),
    0 0 30px rgba(250, 204, 21, 0.24);
  filter: drop-shadow(0 10px 22px rgba(245, 158, 11, 0.18));
}

body:not(:has(.suwdm-contact-page)) .site-shell .topbar .brand-copy strong::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: -9px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #facc15, #38bdf8, transparent);
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.34);
}

body:not(:has(.suwdm-contact-page)) .site-shell .topbar .brand-copy small {
  color: rgba(226, 232, 240, 0.84);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

@keyframes brandPrismFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-3px) rotate(-1.5deg);
  }
}

@keyframes brandMarkSweep {
  0%,
  56% {
    transform: translateX(-92%) rotate(8deg);
  }
  100% {
    transform: translateX(92%) rotate(8deg);
  }
}

@media (max-width: 760px) {
  body:not(:has(.suwdm-contact-page)) .site-shell .topbar .brand {
    min-height: 72px;
    gap: 12px;
  }

  body:not(:has(.suwdm-contact-page)) .site-shell .topbar .brand-mark {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
  }

  body:not(:has(.suwdm-contact-page)) .site-shell .topbar .brand-copy strong {
    font-size: 25px;
    max-width: 54vw;
  }

  body:not(:has(.suwdm-contact-page)) .site-shell .topbar .brand-copy small {
    display: none;
  }
}

/* Fast product detail loading state */
.product-detail-loading {
  min-height: calc(100vh - 120px);
}

.detail-loading-hero {
  position: relative;
  min-height: 360px;
  display: grid;
  align-items: end;
  padding: 34px;
  overflow: hidden;
  border-radius: 28px;
  color: #ffffff;
  background:
    radial-gradient(circle at 86% 18%, rgba(255, 255, 255, 0.18), transparent 22%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 44px),
    linear-gradient(135deg, #111827 0%, #ef334e 52%, #ff7a30 100%);
  box-shadow: 0 28px 78px rgba(239, 51, 78, 0.18);
}

.detail-loading-hero::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.24) 50%, transparent 62%);
  animation: detailLoadingSweep 1.35s ease-in-out infinite;
}

.detail-loading-hero > div {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}

.detail-loading-hero .loading-ring {
  width: 42px;
  height: 42px;
  border-color: rgba(255, 255, 255, 0.32);
  border-top-color: #ffffff;
}

.detail-loading-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 1000;
}

.detail-loading-hero h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(36px, 7vw, 78px);
  line-height: 1;
}

.detail-loading-hero small {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 900;
}

.detail-loading-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 16px;
  margin-top: 18px;
}

.detail-loading-grid article {
  min-height: 180px;
  overflow: hidden;
  border-radius: 24px;
  background:
    linear-gradient(90deg, #f8fafc 0%, #ffffff 45%, #eef6ff 62%, #f8fafc 100%);
  background-size: 220% 100%;
  border: 1px solid #dbe7f5;
  box-shadow: 0 20px 54px rgba(15, 23, 42, 0.08);
  animation: skeletonSweep 1.1s ease-in-out infinite;
}

.detail-loading-grid article:first-child {
  grid-row: span 2;
  min-height: 380px;
}

.lzt-capability-grid.single-capability {
  grid-template-columns: minmax(220px, 360px);
}

.lzt-capability-grid.single-capability div {
  min-height: 104px;
}

/* CS2 product detail: suwdm-style asset blocks */
.lzt-market-detail-page.suwdm-product-detail .lzt-detail-main {
  gap: 18px;
}

.lzt-market-detail-page.suwdm-product-detail .suwdm-cs2-data-panel,
.lzt-market-detail-page.suwdm-product-detail .suwdm-steam-account-panel,
.lzt-market-detail-page.suwdm-product-detail .suwdm-steam-preview-panel {
  overflow: hidden;
  color: #ffffff;
  border: 1px solid rgba(168, 85, 247, 0.34);
  background:
    radial-gradient(circle at 90% 88%, rgba(236, 72, 153, 0.66), transparent 32%),
    radial-gradient(circle at 8% 14%, rgba(124, 58, 237, 0.34), transparent 28%),
    linear-gradient(160deg, #070b1a 0%, #161022 54%, #31105d 100%);
  box-shadow: 0 28px 70px rgba(32, 11, 69, 0.28);
}

.lzt-market-detail-page.suwdm-product-detail .suwdm-cs2-data-panel::before,
.lzt-market-detail-page.suwdm-product-detail .suwdm-steam-account-panel::before,
.lzt-market-detail-page.suwdm-product-detail .suwdm-steam-preview-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), transparent);
  pointer-events: none;
}

.lzt-market-detail-page.suwdm-product-detail .suwdm-cs2-data-panel .panel-head,
.lzt-market-detail-page.suwdm-product-detail .suwdm-steam-account-panel .panel-head,
.lzt-market-detail-page.suwdm-product-detail .suwdm-steam-preview-panel .panel-head {
  position: relative;
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.lzt-market-detail-page.suwdm-product-detail .suwdm-cs2-data-panel .panel-head h2,
.lzt-market-detail-page.suwdm-product-detail .suwdm-steam-account-panel .panel-head h2,
.lzt-market-detail-page.suwdm-product-detail .suwdm-steam-preview-panel .panel-head h2,
.lzt-market-detail-page.suwdm-product-detail .suwdm-cs2-data-panel .panel-head small,
.lzt-market-detail-page.suwdm-product-detail .suwdm-steam-account-panel .panel-head small,
.lzt-market-detail-page.suwdm-product-detail .suwdm-steam-preview-panel .panel-head small {
  color: #ffffff;
}

.suwdm-cs2-checks,
.suwdm-cs2-footstats {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  color: #f4eaff;
  font-size: 13px;
  font-weight: 900;
}

.suwdm-cs2-checks {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 8px 0 18px;
}

.suwdm-cs2-checks span::before,
.suwdm-cs2-footstats span::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 17px;
  height: 17px;
  margin-right: 7px;
  color: #ffffff;
  border-radius: 999px;
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  box-shadow: 0 0 16px rgba(236, 72, 153, 0.55);
}

.suwdm-cs2-checks span,
.suwdm-cs2-footstats span {
  display: block;
  min-width: 0;
  color: #f8fbff !important;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.32);
}

.suwdm-cs2-medal-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin: 10px 0 22px;
}

.suwdm-cs2-medal-row .inventory-image-button,
.suwdm-cs2-medal-row > i {
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 25%, #fff7a6, #b2772b 58%, #3b1d0b 100%);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(255, 236, 174, 0.42);
}

.suwdm-cs2-medal-row .inventory-image-button img {
  width: 100%;
  height: 100%;
  padding: 2px;
  object-fit: contain;
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.45));
}

.suwdm-cs2-footstats {
  gap: 10px;
  margin-top: 10px;
}

.suwdm-cs2-warning {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  padding: 11px 14px;
  color: #ffe8a3;
  border: 1px solid rgba(251, 191, 36, 0.65);
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(251, 191, 36, 0.2), rgba(236, 72, 153, 0.24));
  font-size: 12px;
  font-weight: 950;
}

.suwdm-game-library-panel,
.suwdm-consumption-panel {
  overflow: hidden;
  border: 1px solid rgba(251, 113, 133, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 250, 254, 0.98), rgba(239, 247, 255, 0.94)),
    radial-gradient(circle at 8% 0%, rgba(255, 78, 122, 0.12), transparent 36%);
  box-shadow: 0 24px 58px rgba(255, 77, 109, 0.13);
}

.suwdm-game-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 12px;
}

.suwdm-game-card {
  min-width: 0;
  padding: 9px;
  border: 1px solid rgba(255, 96, 137, 0.28);
  border-radius: 12px;
  background: linear-gradient(180deg, #fff7fd, #eef6ff);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.suwdm-game-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 64, 84, 0.55);
  box-shadow: 0 18px 34px rgba(255, 64, 84, 0.16);
}

.suwdm-game-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 1.55 / 1;
  overflow: hidden;
  border-radius: 9px;
  background: linear-gradient(135deg, #dbeafe, #fff1f2);
  border: 1px solid rgba(148, 163, 184, 0.34);
}

.suwdm-game-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.suwdm-game-cover span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #fb2c55;
  font-weight: 1000;
}

.suwdm-game-card strong {
  display: block;
  min-height: 34px;
  margin-top: 7px;
  overflow: hidden;
  color: #182033;
  font-size: 12px;
  font-weight: 1000;
  line-height: 1.35;
}

.suwdm-game-card small {
  display: inline-flex;
  align-items: center;
  margin-top: 5px;
  padding: 2px 7px;
  color: #2563eb;
  border-radius: 999px;
  background: #eff6ff;
  font-size: 10px;
  font-weight: 950;
}

.suwdm-consumption-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.suwdm-consumption-tabs b,
.suwdm-consumption-tabs span {
  padding: 7px 10px;
  border-radius: 999px;
  color: #b45309;
  background: #fff7ed;
  border: 1px solid rgba(251, 191, 36, 0.42);
  font-size: 12px;
  font-weight: 950;
}

.suwdm-consumption-tabs b {
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b, #fb7185);
  border-color: transparent;
}

.suwdm-table-wrap {
  border-color: rgba(217, 119, 6, 0.28);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.72);
}

.suwdm-consumption-panel .steam-transaction-table {
  background: #fffdf7;
}

.suwdm-consumption-panel .steam-transaction-table th {
  color: #fff7ed;
  background: linear-gradient(135deg, #8a6a27, #6b7280);
}

.suwdm-consumption-panel .steam-transaction-table td {
  color: #47321b;
  border-bottom-color: rgba(217, 119, 6, 0.14);
}

.suwdm-consumption-panel .steam-transaction-table em {
  display: inline-flex;
  padding: 4px 8px;
  color: #047857;
  border-radius: 999px;
  background: #dcfce7;
  font-style: normal;
  font-weight: 950;
}

.suwdm-steam-preview-panel {
  min-height: 118px;
}

.suwdm-steam-preview-panel .steam-preview-tabs {
  position: relative;
  z-index: 1;
}

.suwdm-steam-preview-panel .steam-preview-tabs a,
.suwdm-steam-preview-panel .steam-preview-tabs span {
  color: #dbeafe;
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(147, 197, 253, 0.26);
}

.suwdm-steam-preview-panel p {
  position: relative;
  z-index: 1;
  margin: 10px 0 0;
  color: #8ba3c7;
  font-size: 12px;
  font-weight: 850;
}

.suwdm-steam-account-panel .suwdm-account-stat-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.suwdm-steam-account-panel .steam-stat-card {
  min-height: 78px;
  color: #0f172a;
  border: 1px solid rgba(203, 213, 225, 0.78);
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff, #f4f8fd);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1), inset 0 1px 0 rgba(255,255,255,0.95);
}

.suwdm-steam-account-panel .steam-stat-card strong {
  color: #0b1220 !important;
  font-size: 16px;
}

.suwdm-steam-account-panel .steam-stat-card span {
  color: #475569 !important;
}

.suwdm-steam-account-panel .steam-stat-card small {
  color: #64748b !important;
}

.suwdm-account-meta {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  margin-top: 18px;
  color: #0b1220;
  font-size: 12px;
  font-weight: 850;
}

.suwdm-account-meta span {
  display: flex;
  gap: 8px;
  color: #0b1220 !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.32);
}

.suwdm-account-meta b {
  color: #ffffff;
  min-width: 64px;
}

.suwdm-steam-account-panel .steam-warning-box,
.suwdm-steam-account-panel .steam-warning-box strong,
.suwdm-steam-account-panel .steam-warning-box span {
  color: #0b1220 !important;
}

/* Valorant detail: suwdm-style inventory wall */
.suwdm-product-detail .suwdm-valorant-overview-panel,
.suwdm-product-detail .suwdm-val-asset-block {
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(180deg, #fff7f8, #fffaf6);
  box-shadow: 0 12px 32px rgba(255, 70, 85, 0.08);
}

.suwdm-product-detail .suwdm-valorant-overview-panel {
  border: 1px solid #ff9aa5;
}

.suwdm-product-detail .suwdm-valorant-overview-panel .panel-head {
  min-height: 42px;
  border-bottom: 0;
  padding-bottom: 4px;
}

.suwdm-product-detail .suwdm-valorant-overview-panel .panel-head h2 {
  color: #ff3448;
  font-size: 14px;
}

.suwdm-valorant-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.suwdm-valorant-stat-grid article,
.suwdm-valorant-row-grid article,
.suwdm-valorant-security-grid article {
  min-width: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.95);
}

.suwdm-valorant-stat-grid article {
  display: grid;
  place-items: center;
  min-height: 72px;
  padding: 10px;
}

.suwdm-valorant-stat-grid strong {
  color: #ff3448;
  font-size: 22px;
  font-weight: 1000;
  line-height: 1;
}

.suwdm-valorant-stat-grid span {
  margin-top: 7px;
  color: #7f8da3;
  font-size: 11px;
  font-weight: 900;
}

.suwdm-valorant-stat-grid .orange strong { color: #f97316; }
.suwdm-valorant-stat-grid .gold strong { color: #f59e0b; }
.suwdm-valorant-stat-grid .amber strong { color: #f59e0b; }
.suwdm-valorant-stat-grid .blue strong { color: #3b82f6; }
.suwdm-valorant-stat-grid .purple strong { color: #8b3dff; }

.suwdm-valorant-row-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.suwdm-valorant-row-grid article,
.suwdm-valorant-security-grid article {
  display: grid;
  gap: 7px;
  min-height: 64px;
  padding: 12px;
}

.suwdm-valorant-row-grid span,
.suwdm-valorant-security-grid span {
  color: #7f8da3;
  font-size: 11px;
  font-weight: 900;
}

.suwdm-valorant-row-grid strong {
  color: #005fe8;
  font-size: 14px;
  font-weight: 1000;
}

.suwdm-valorant-row-grid article:first-child strong {
  color: #ff3448;
}

.suwdm-valorant-security-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed rgba(255, 90, 104, 0.28);
}

.suwdm-valorant-security-grid strong {
  overflow-wrap: anywhere;
  color: #0f172a;
  font-size: 13px;
  font-weight: 1000;
}

.suwdm-valorant-security-grid article:first-child strong {
  color: #0ea45a;
}

.suwdm-valorant-security-grid article:nth-child(2) strong {
  color: #ff3448;
}

.suwdm-valorant-assets {
  display: grid;
  gap: 18px;
}

.suwdm-product-detail .suwdm-val-asset-block {
  padding: 14px;
  border: 1px solid #d7b7ff;
  background: linear-gradient(180deg, #fffaff, #ffffff);
}

.suwdm-product-detail .suwdm-val-asset-block.cyan {
  border-color: #7ddfff;
  background: linear-gradient(180deg, #f5fdff, #ffffff);
}

.suwdm-product-detail .suwdm-val-asset-block.orange {
  border-color: #ffad6b;
  background: linear-gradient(180deg, #fff8f1, #ffffff);
}

.suwdm-product-detail .suwdm-val-asset-block.green {
  border-color: #86efac;
  background: linear-gradient(180deg, #f4fff8, #ffffff);
}

.suwdm-val-asset-block h3 {
  margin: 0 0 12px;
  color: #8438ff;
  font-size: 14px;
  font-weight: 1000;
}

.suwdm-val-asset-block.cyan h3 { color: #0891b2; }
.suwdm-val-asset-block.orange h3 { color: #f97316; }
.suwdm-val-asset-block.green h3 { color: #16a34a; }

.suwdm-val-asset-block h3 span {
  color: inherit;
}

.suwdm-val-thumb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 10px;
}

.suwdm-val-thumb-grid.buddy,
.suwdm-val-thumb-grid.agent {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.suwdm-val-thumb-grid p {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  font-weight: 850;
}

.suwdm-val-thumb {
  width: 100%;
  min-height: 104px;
  display: grid;
  grid-template-rows: minmax(62px, 1fr) auto;
  place-items: center;
  overflow: hidden;
  padding: 8px;
  border: 1px solid #4c68a0;
  border-radius: 8px;
  background: linear-gradient(135deg, #1d293f, #111827);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.16);
  cursor: zoom-in;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.suwdm-val-thumb:hover {
  transform: translateY(-3px) scale(1.03);
  border-color: #9ec2ff;
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.22);
}

.suwdm-val-thumb img {
  width: 100%;
  height: 68px;
  object-fit: contain;
  image-rendering: auto;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.34));
}

.suwdm-val-thumb span {
  width: 100%;
  min-width: 0;
  margin-top: 7px;
  color: #f8fafc;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.suwdm-val-thumb i {
  color: #ffffff;
  font-size: 10px;
  font-style: normal;
  font-weight: 1000;
}

.suwdm-val-thumb.buddy {
  width: 37px;
  height: 37px;
  min-height: 37px;
  grid-template-rows: 1fr;
  padding: 0;
  border-color: #9be7ff;
  background: #ebfbff;
}

.suwdm-val-thumb.agent {
  width: 54px;
  height: 54px;
  min-height: 54px;
  grid-template-rows: 1fr;
  padding: 0;
  border: 2px solid #ff4b22;
  border-radius: 7px;
  background: linear-gradient(135deg, #ff5f2f, #171923);
}

.suwdm-val-thumb.buddy img,
.suwdm-val-thumb.agent img {
  height: 100%;
  filter: none;
}

.suwdm-val-thumb.agent img {
  object-fit: cover;
}

.suwdm-val-thumb.empty {
  cursor: default;
  opacity: 0.78;
}

@media (max-width: 760px) {
  .suwdm-valorant-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .suwdm-valorant-row-grid,
  .suwdm-valorant-security-grid {
    grid-template-columns: 1fr;
  }

  .suwdm-val-thumb {
    min-height: 94px;
  }

  .suwdm-val-thumb.agent {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 760px) {
  .suwdm-cs2-checks,
  .suwdm-steam-account-panel .suwdm-account-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .suwdm-game-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
  }

  .suwdm-game-card {
    padding: 7px;
  }

  .suwdm-game-card strong {
    font-size: 11px;
  }
}

@keyframes detailLoadingSweep {
  from {
    transform: translateX(-35%);
  }
  to {
    transform: translateX(35%);
  }
}

@media (max-width: 820px) {
  .detail-loading-grid {
    grid-template-columns: 1fr;
  }

  .detail-loading-grid article:first-child {
    grid-row: auto;
    min-height: 220px;
  }
}

.agent-float {
  position: fixed;
  right: 18px;
  top: 56%;
  z-index: 80;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 14px;
  align-items: center;
  gap: 10px;
  width: 188px;
  padding: 10px 12px;
  color: #07111f;
  text-decoration: none;
  border: 1px solid rgba(39, 148, 255, 0.38);
  border-radius: 999px;
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.95), transparent 34%),
    linear-gradient(135deg, #eaf8ff 0%, #7fd8ff 54%, #ffe27a 100%);
  box-shadow: 0 18px 42px rgba(30, 116, 190, 0.22), 0 0 0 7px rgba(87, 190, 255, 0.1);
  animation: agentFloatJump 1.85s ease-in-out infinite;
  will-change: transform;
}

.agent-float::before {
  content: "";
  position: absolute;
  inset: -8px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(52, 152, 255, 0.28), rgba(255, 207, 56, 0.26));
  opacity: 0.7;
  animation: agentFloatPulse 1.85s ease-in-out infinite;
}

.agent-float-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  color: #06121f;
  font-weight: 900;
  background: linear-gradient(145deg, #ffffff, #4fc9ff 55%, #ffe36d);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.78), 0 8px 22px rgba(41, 134, 203, 0.25);
}

.agent-float-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.agent-float-copy strong {
  color: #07111f;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0;
}

.agent-float-copy small {
  overflow: hidden;
  color: #294057;
  font-size: 11px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.agent-float i {
  color: #07111f;
  font-style: normal;
  font-size: 22px;
  font-weight: 900;
}

.agent-float:hover {
  transform: translateY(calc(-50% - 5px)) translateX(-4px) scale(1.02);
  box-shadow: 0 24px 54px rgba(30, 116, 190, 0.3), 0 0 0 8px rgba(87, 190, 255, 0.13);
}

@keyframes agentFloatJump {
  0%, 100% {
    transform: translateY(-50%);
  }
  50% {
    transform: translateY(calc(-50% - 11px)) translateX(-3px);
  }
}

@keyframes agentFloatPulse {
  0%, 100% {
    opacity: 0.42;
    transform: scale(0.96);
  }
  50% {
    opacity: 0.86;
    transform: scale(1.05);
  }
}

.agent-recruit-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px 18px 72px;
}

.agent-recruit-hero {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  padding: 54px;
  border: 1px solid rgba(89, 168, 255, 0.28);
  border-radius: 30px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(239, 248, 255, 0.92)),
    radial-gradient(circle at 82% 24%, rgba(85, 201, 255, 0.35), transparent 28%),
    radial-gradient(circle at 74% 86%, rgba(255, 218, 87, 0.36), transparent 31%);
  box-shadow: 0 34px 90px rgba(28, 83, 139, 0.16);
}

.agent-recruit-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(35, 116, 194, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 116, 194, 0.07) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, #000, transparent 82%);
  pointer-events: none;
}

.agent-recruit-hero::after {
  content: "AGENT";
  position: absolute;
  right: 44px;
  bottom: -24px;
  color: rgba(37, 126, 214, 0.08);
  font-size: clamp(88px, 14vw, 180px);
  font-weight: 1000;
  letter-spacing: 0;
  pointer-events: none;
}

.agent-recruit-kicker {
  position: relative;
  z-index: 1;
  display: inline-flex;
  padding: 8px 13px;
  border-radius: 999px;
  color: #0067b8;
  font-size: 12px;
  font-weight: 900;
  background: rgba(105, 203, 255, 0.16);
}

.agent-recruit-hero h1 {
  position: relative;
  z-index: 1;
  margin: 18px 0 12px;
  color: #07111f;
  font-size: clamp(42px, 7vw, 84px);
  line-height: 0.96;
  letter-spacing: 0;
}

.agent-recruit-hero p {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0;
  color: #36485c;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.8;
}

.agent-recruit-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.agent-recruit-actions a,
.agent-recruit-actions button,
.agent-recruit-contact a {
  border: 0;
  border-radius: 16px;
  padding: 14px 22px;
  color: #07111f;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  background: linear-gradient(135deg, #ffe989, #71d8ff);
  box-shadow: 0 15px 34px rgba(52, 143, 215, 0.2);
}

.agent-recruit-actions button {
  background: #ffffff;
  border: 1px solid rgba(31, 126, 205, 0.2);
}

.agent-recruit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.agent-recruit-grid article,
.agent-recruit-flow,
.agent-recruit-contact {
  border: 1px solid rgba(78, 150, 219, 0.2);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 22px 60px rgba(28, 83, 139, 0.11);
}

.agent-recruit-grid article {
  min-height: 190px;
  padding: 24px;
}

.agent-recruit-grid span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #07111f;
  font-weight: 1000;
  background: linear-gradient(135deg, #e8f7ff, #79d7ff 58%, #ffe27a);
}

.agent-recruit-grid h3 {
  margin: 18px 0 8px;
  color: #07111f;
  font-size: 22px;
  letter-spacing: 0;
}

.agent-recruit-grid p {
  margin: 0;
  color: #4c6075;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.7;
}

.agent-recruit-flow {
  margin-top: 18px;
  padding: 26px;
}

.agent-recruit-flow header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(31, 126, 205, 0.12);
}

.agent-recruit-flow header b {
  color: #07111f;
  font-size: 24px;
  font-weight: 1000;
}

.agent-recruit-flow header span {
  color: #687a8e;
  font-size: 13px;
  font-weight: 800;
}

.agent-flow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.agent-flow-steps div {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f7fbff, #ffffff);
}

.agent-flow-steps i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  color: #ffffff;
  font-style: normal;
  font-weight: 1000;
  background: #147bd1;
}

.agent-flow-steps strong {
  color: #07111f;
  font-size: 18px;
}

.agent-flow-steps small {
  color: #5d7084;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.6;
}

.agent-recruit-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 24px;
  background:
    radial-gradient(circle at 10% 0%, rgba(109, 210, 255, 0.24), transparent 34%),
    linear-gradient(135deg, #ffffff, #f7fbff);
}

.agent-recruit-contact div {
  display: grid;
  gap: 6px;
}

.agent-recruit-contact span {
  color: #687a8e;
  font-size: 13px;
  font-weight: 900;
}

.agent-recruit-contact strong {
  color: #07111f;
  font-size: 26px;
  letter-spacing: 0;
}

@media (max-width: 1180px) {
  .agent-float {
    right: 12px;
    width: 166px;
  }
}

@media (max-width: 860px) {
  .agent-float {
    top: auto;
    right: 14px;
    bottom: 84px;
    width: 58px;
    grid-template-columns: 1fr;
    padding: 8px;
    border-radius: 22px;
    animation-name: agentFloatJumpMobile;
  }

  .agent-float-copy,
  .agent-float i {
    display: none;
  }

  .agent-float-mark {
    width: 42px;
    height: 42px;
  }

  .agent-recruit-hero {
    min-height: auto;
    padding: 34px 24px;
    border-radius: 24px;
  }

  .agent-recruit-grid,
  .agent-flow-steps {
    grid-template-columns: 1fr;
  }

  .agent-recruit-contact,
  .agent-recruit-flow header {
    align-items: stretch;
    flex-direction: column;
  }
}

@keyframes agentFloatJumpMobile {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

body:has(.admin-shell) .brand-mark,
body:has(.admin-shell) .admin-head::before,
body:has(.admin-shell) .inventory-card,
body:has(.admin-shell) .lzt-health-card,
body:has(.admin-shell) .lzt-balance-card,
body:has(.admin-shell) .log-list > div,
body:has(.admin-shell) .kpi,
body:has(.admin-login) .brand-mark {
  animation: none !important;
}

body:has(.admin-shell) .admin-sidebar,
body:has(.admin-shell) .admin-head,
body:has(.admin-shell) .panel,
body:has(.admin-shell) .table-wrap,
body:has(.admin-shell) .admin-toolbar,
body:has(.admin-login) .login-panel {
  backdrop-filter: none !important;
}

body:has(.admin-shell) .table-wrap,
body:has(.admin-shell) .panel,
body:has(.admin-shell) .kpi {
  contain: content;
}

.suwdm-product-row,
.lzt-detail-layout .panel,
.suwdm-riot-section,
.suwdm-cs2-library-card {
  content-visibility: auto;
  contain-intrinsic-size: 260px;
}

.language-switch {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  flex: 0 0 auto;
}

.language-switch button {
  min-height: 30px;
  padding: 0 10px;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  border: 1px solid transparent;
  box-shadow: none;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.language-switch button:hover {
  transform: none;
  border-color: rgba(56, 189, 248, 0.45);
}

.language-switch button.active {
  color: #06101f;
  background: linear-gradient(135deg, #f9e58a, #67d7f3);
  border-color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 760px) {
  .language-switch {
    order: 3;
    width: 100%;
    justify-content: flex-end;
    margin-left: 0;
    background: transparent;
    border-color: transparent;
    padding: 0;
  }

  .language-switch button {
    min-height: 32px;
  }
}

.site-shell .site-footer,
body:has(.suwdm-contact-page) .site-footer {
  margin-top: 48px;
  min-height: auto;
  display: block;
  padding: 36px clamp(18px, 5vw, 56px) 28px;
  color: #cbd5e1;
  background:
    radial-gradient(circle at 8% 0%, rgba(37, 99, 235, 0.16), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(20, 184, 166, 0.14), transparent 30%),
    #080b1d;
  border-top: 1px solid rgba(96, 165, 250, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.site-shell .footer-main {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(150px, 220px) minmax(150px, 220px);
  gap: clamp(28px, 7vw, 120px);
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
}

.site-shell .footer-brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  max-width: 520px;
}

.site-shell .footer-logo {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #ecfeff;
  background: linear-gradient(135deg, #16c7b7, #3b82f6 72%);
  box-shadow: 0 0 22px rgba(45, 212, 191, 0.24);
}

.site-shell .footer-logo i {
  font-style: normal;
  font-size: 12px;
  font-weight: 1000;
}

.site-shell .footer-brand strong,
.site-shell .footer-column strong {
  display: block;
  color: #f8fafc;
  font-size: 18px;
  font-weight: 1000;
  margin-bottom: 14px;
}

.site-shell .footer-brand p {
  margin: 0;
  color: #aab6ca;
  line-height: 1.8;
  font-size: 14px;
  font-weight: 800;
}

.site-shell .footer-column {
  display: grid;
  gap: 10px;
}

.site-shell .footer-column a,
.site-shell .footer-bottom a {
  width: fit-content;
  color: #aab6ca;
  text-decoration: none;
  font-size: 14px;
  font-weight: 850;
  transition: color 0.18s ease, transform 0.18s ease;
}

.site-shell .footer-column a:hover,
.site-shell .footer-bottom a:hover {
  color: #67e8f9;
  transform: translateX(2px);
}

.site-shell .footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  max-width: 1280px;
  margin: 42px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  color: #8b98ad;
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 760px) {
  .site-shell .footer-main {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .site-shell .footer-bottom {
    flex-direction: column;
  }
}
