:root {
  --bg: #07090d;
  --bg-soft: #0b1016;
  --panel: #101722;
  --panel-2: #142232;
  --panel-3: #0f1c25;
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.19);
  --text: #f7fbff;
  --muted: #9eb3c2;
  --cyan: #42d8f7;
  --sky: #079ce2;
  --blue: #0758d5;
  --lime: #d7f754;
  --amber: #f5c34d;
  --coral: #ff6d6d;
  --violet: #8b7cff;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.34);
}

/* Registration, verification and superadmin additions. */
.account-password-hint { margin: -4px 0 4px; color: #91a9bd; font-size: 0.82rem; }
.account-role-picker { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; }
.account-role-picker legend { margin-bottom: 8px; font-weight: 800; }
.account-role-picker label { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 10px 12px; border: 1px solid #34404d; background: #19222d; }
.account-role-picker label:has(input:checked) { border-color: #39d7ea; background: #102c37; }
.account-role-picker input { width: 18px; height: 18px; accent-color: #39d7ea; }
.account-role-picker span { display: grid; gap: 2px; }
.account-role-picker small { color: #9eb2c4; }
.account-otp { display: grid; gap: 14px; }
.account-otp h2, .account-otp p { margin: 0; }
.account-otp form { display: grid; gap: 10px; }
.account-otp input { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid #394654; background: #1a232e; color: #f7fbff; font: inherit; }
.account-otp > form:first-of-type input { text-align: center; font-size: 1.35rem; letter-spacing: 0; }
.account-otp-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.text-action { border: 0; background: transparent; color: #39d7ea; font-weight: 800; cursor: pointer; }
.superadmin-card { border-color: #39d7ea; }
.admin-top-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.admin-top-actions a { color: #39d7ea; font-weight: 800; text-decoration: none; }
.admin-preview-shell { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: calc(100vh - 74px); }
.admin-preview-shell > nav { display: grid; align-content: start; gap: 6px; padding: 24px 16px; border-right: 1px solid #293541; background: #0c1219; }
.admin-preview-shell > nav button { padding: 12px; border: 1px solid transparent; background: transparent; color: #aebccc; text-align: left; font-weight: 800; cursor: pointer; }
.admin-preview-shell > nav button.active { border-color: #39d7ea; background: #102c37; color: #fff; }
.admin-preview-shell > section { padding: clamp(24px, 5vw, 72px); }
.admin-preview-shell h1 { margin: 6px 0 12px; font-size: clamp(2rem, 4vw, 3.5rem); }
.admin-preview-card { display: grid; gap: 10px; max-width: 620px; margin-top: 32px; padding: 24px; border: 1px solid #34404d; background: #111a25; }
.admin-preview-card span { color: #39d7ea; font-weight: 900; text-transform: uppercase; }
.admin-preview-card strong { font-size: 1.35rem; }
.admin-preview-card small { color: #9eb2c4; }
.vendor-security-bottom { margin-top: 14px; }
.vendor-security-bottom small { color: #39d7ea; font-weight: 800; }
.booster-verification-list { display: grid; gap: 8px; margin-top: 14px; }
.booster-verification-list article { display: grid; grid-template-columns: 1fr auto; gap: 3px 12px; align-items: center; padding: 12px; border: 1px solid #34404d; background: #111a25; }
.booster-verification-list article span { color: #9eb2c4; }
.booster-verification-list article button { grid-column: 2; grid-row: 1 / span 2; width: 34px; height: 34px; border: 1px solid #44515e; background: #202a35; color: #fff; cursor: pointer; }

@media (max-width: 720px) {
  .account-otp-actions, .admin-top-actions { align-items: stretch; flex-direction: column; }
  .admin-preview-shell { grid-template-columns: 1fr; }
  .admin-preview-shell > nav { grid-template-columns: repeat(5, minmax(110px, 1fr)); overflow-x: auto; border-right: 0; border-bottom: 1px solid #293541; }
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 16% 0%, rgba(66, 216, 247, 0.18), transparent 27%),
    linear-gradient(150deg, rgba(7, 88, 213, 0.18), transparent 34%),
    linear-gradient(210deg, rgba(215, 247, 84, 0.08), transparent 32%),
    #07090d;
  font-family: Inter, "SF Pro Display", "Segoe UI", Roboto, Arial, sans-serif;
  letter-spacing: 0;
}

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

select {
  color-scheme: dark;
}

select option,
select optgroup {
  color: #f7fbff;
  background: #111923;
}

select option:checked {
  color: #07111f;
  background: #42d8f7;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

.site-header,
main,
.site-footer {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr) auto;
  gap: 12px 18px;
  align-items: center;
  min-height: 104px;
  background: rgba(7, 9, 13, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
}

.brand span {
  font-size: 26px;
  font-weight: 950;
  line-height: 1;
}

.brand strong,
.eyebrow {
  color: var(--cyan);
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
}

.search-box svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.search-box input {
  width: 100%;
  min-width: 0;
  color: var(--text);
  background: transparent;
  border: 0;
  outline: 0;
}

.search-box input::placeholder {
  color: #b8c8d5;
}

.search-results {
  position: absolute;
  z-index: 120;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  max-height: min(430px, 70vh);
  overflow-y: auto;
  padding: 8px;
  border: 1px solid rgba(104, 218, 244, 0.28);
  border-radius: 8px;
  background: #101722;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
}

.search-results[hidden] { display: none; }

.search-results a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding: 10px 12px;
  color: #f7fbff;
  text-decoration: none;
  border-radius: 6px;
}

.search-results a:hover,
.search-results a:focus-visible { background: #1d2937; }
.search-results a span { color: #9fb1c4; font-size: 13px; text-align: right; }
.search-message { margin: 0; padding: 12px; color: #b8c7d8; font-size: 14px; }

.support-ticket-panel { grid-column: 1 / -1; max-width: 980px; width: 100%; margin-inline: auto; }

.cart-link {
  min-height: 42px;
  display: inline-flex;
}

.header-icon-button { position: relative; width: 42px; height: 42px; flex: 0 0 42px; display: inline-grid; place-items: center; padding: 0; color: var(--text); text-decoration: none; background: rgba(255,255,255,.055); border: 1px solid var(--line-strong); border-radius: 7px; }
.header-icon-button:hover, .header-icon-button:focus-visible { color: var(--cyan); border-color: var(--cyan); background: rgba(66,216,247,.1); }
.header-icon-button > svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.language-control.header-language-control { position: relative; width: 72px; height: 42px; display: block; padding: 0; background: transparent; border: 0; }
.header-language-control > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.language-native-select { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; opacity: 0; pointer-events: none; }
.language-menu-toggle { width: 72px; height: 42px; display: grid; grid-template-columns: 19px 22px 14px; place-items: center; gap: 3px; padding: 0 6px; color: var(--text); background: #111922; border: 1px solid var(--line-strong); border-radius: 7px; cursor: pointer; }
.language-menu-toggle:hover, .language-menu-toggle:focus-visible, .language-menu-toggle[aria-expanded="true"] { color: var(--cyan); border-color: var(--cyan); outline: 2px solid transparent; }
.language-menu-toggle svg, .language-menu-popover svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.language-menu-toggle strong { font-size: 12px; letter-spacing: 0; }
.language-menu-toggle .language-chevron { width: 14px; height: 14px; transition: transform .16s ease; }
.language-menu-toggle[aria-expanded="true"] .language-chevron { transform: rotate(180deg); }
.language-menu-popover { position: absolute; z-index: 320; top: calc(100% + 8px); left: 0; width: 248px; display: grid; gap: 3px; padding: 7px; color: var(--text); background: #0f1721; border: 1px solid var(--line-strong); border-radius: 7px; box-shadow: 0 20px 50px rgba(0,0,0,.58); }
.language-menu-popover[hidden] { display: none; }
.language-menu-popover button { min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 7px 9px; color: var(--text); text-align: left; background: transparent; border: 0; border-radius: 5px; cursor: pointer; }
.language-menu-popover button:hover, .language-menu-popover button:focus-visible { color: var(--cyan); background: #1b2937; outline: 2px solid var(--cyan); outline-offset: -2px; }
.language-menu-popover button > span { position: static; width: auto; height: auto; display: flex; align-items: baseline; gap: 8px; overflow: visible; clip: auto; }
.language-menu-popover b { min-width: 20px; color: currentColor; font-size: 13px; }
.language-menu-popover small { color: var(--muted); font-size: 12px; white-space: nowrap; }
.language-menu-popover .language-check { width: 17px; height: 17px; color: var(--lime); opacity: 0; }
.language-menu-popover button[aria-selected="true"] .language-check { opacity: 1; }
.header-icon-button b { position: absolute; top: -5px; right: -5px; min-width: 19px; height: 19px; display: grid; place-items: center; padding: 0 4px; color: #071118; background: var(--lime); border: 2px solid var(--bg); border-radius: 10px; font-size: 10px; }
.header-icon-button b[hidden] { display: none; }
.account-menu { position: relative; }
.account-menu-popover { position: absolute; z-index: 170; top: calc(100% + 8px); right: 0; width: 210px; display: grid; padding: 7px; background: #101722; border: 1px solid var(--line-strong); border-radius: 8px; box-shadow: 0 18px 42px rgba(0,0,0,.48); }
.account-menu-popover[hidden] { display: none; }
.account-menu-popover a, .account-menu-popover button, .account-menu-popover span { min-height: 38px; display: flex; align-items: center; width: 100%; padding: 0 10px; color: var(--text); text-align: left; text-decoration: none; background: transparent; border: 0; border-radius: 5px; font: inherit; }
.account-menu-popover a:hover, .account-menu-popover button:hover, .account-menu-popover a:focus-visible, .account-menu-popover button:focus-visible { color: var(--cyan); background: #1b2937; outline: 2px solid var(--cyan); outline-offset: -2px; }
.account-menu-popover span[aria-disabled="true"] { color: #758697; cursor: not-allowed; }
.support-inbox-section + .support-inbox-section { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.support-inbox-section > h3, .support-inbox-section-title h3 { margin: 0 0 10px; font-size: 14px; }
.support-inbox-section-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.support-inbox { position: fixed; z-index: 250; top: 0; right: 0; width: 440px; max-width: 100%; height: 100dvh; display: grid; grid-template-rows: auto 1fr; color: var(--text); background: #0b1119; border-left: 1px solid rgba(66,216,247,.28); box-shadow: -18px 0 60px rgba(0,0,0,.5); }
.support-inbox[hidden] { display: none; }
.support-inbox > header { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; border-bottom: 1px solid var(--line); background: #101923; }
.support-inbox > header small { color: var(--cyan); font-weight: 900; text-transform: uppercase; }
.support-inbox > header h2 { margin: 3px 0 0; font-size: 21px; }
.support-inbox-close { width: 38px; height: 38px; color: var(--text); background: #1b2531; border: 1px solid var(--line-strong); border-radius: 6px; font-size: 24px; }
.support-inbox-body { min-height: 0; overflow-y: auto; padding: 14px; }
.support-thread-list { display: grid; gap: 8px; }
.support-thread-row, .support-notification { width: 100%; min-width: 0; display: grid; gap: 5px; padding: 13px; color: var(--text); text-align: left; background: #141d28; border: 1px solid var(--line); border-radius: 7px; }
.support-thread-row:hover, .support-notification:hover { border-color: rgba(66,216,247,.48); }
.support-thread-row.unread, .support-notification.unread { border-left: 3px solid var(--lime); background: #172431; }
.support-thread-row > span { display: flex; justify-content: space-between; gap: 12px; }
.support-thread-row > span strong { color: var(--cyan); }
.support-thread-row > small, .support-thread-row time, .support-notification span, .support-notification small { color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.support-inbox-empty { padding: 24px 16px; color: var(--muted); text-align: center; border: 1px dashed var(--line-strong); border-radius: 7px; }
.support-mark-read, .support-inbox-back { margin-bottom: 12px; padding: 8px 10px; color: var(--cyan); background: transparent; border: 0; font-weight: 800; }
.support-ticket-meta { display: grid; gap: 6px; margin-bottom: 14px; padding: 14px; background: #121d28; border: 1px solid var(--line); border-radius: 7px; }
.support-ticket-meta span { color: var(--muted); font-size: 13px; }
.support-messages { display: grid; gap: 10px; }
.support-message { width: 86%; padding: 11px 12px; background: #18222e; border: 1px solid var(--line); border-radius: 7px; }
.support-message.user { justify-self: end; background: #103242; border-color: rgba(66,216,247,.25); }
.support-message p { margin: 5px 0; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.support-message small, .support-message time { color: var(--muted); font-size: 11px; }
.support-reply-form { position: sticky; bottom: -14px; display: grid; gap: 8px; margin: 18px -14px -14px; padding: 14px; background: #101923; border-top: 1px solid var(--line); }
.support-reply-form label { display: grid; gap: 6px; font-weight: 800; }
.support-reply-form textarea { min-height: 84px; resize: vertical; padding: 10px; color: var(--text); background: #192430; border: 1px solid var(--line-strong); border-radius: 6px; }
.support-reply-form button { min-height: 42px; color: #071118; background: var(--lime); border: 0; border-radius: 6px; font-weight: 950; }
.support-reply-form p { margin: 0; color: var(--coral); }
.support-inbox-scrim { position: fixed; z-index: 240; inset: 0; display: none; background: rgba(0,0,0,.58); border: 0; }
.support-inbox-open .support-inbox-scrim { display: block; }

.admin-workspace { min-height: 100vh; background: #070a0e; }
.admin-topbar { min-height: 68px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding: 12px 22px; background: #0d141d; border-bottom: 1px solid var(--line); }
.admin-topbar .brand img { width: 34px; height: 34px; }
.admin-topbar .brand span { font-size: 21px; }
.admin-topbar > div { display: flex; align-items: baseline; gap: 10px; }
.admin-topbar small, .admin-security { color: var(--muted); }
.admin-security { padding: 7px 10px; border: 1px solid rgba(66,216,247,.24); border-radius: 6px; font-size: 12px; }
.support-admin-layout { width: 100%; max-width: none; min-height: calc(100vh - 68px); display: grid; grid-template-columns: 220px minmax(330px, 420px) minmax(460px, 1fr); padding: 0; }
.admin-sidebar, .admin-queue, .admin-ticket-detail { min-width: 0; padding: 20px; border-right: 1px solid var(--line); }
.admin-sidebar { background: #0b1118; }
.admin-sidebar nav { display: grid; gap: 6px; }
.admin-sidebar nav a, .admin-sidebar nav button { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 12px; color: #c9d7e2; text-align: left; text-decoration: none; background: transparent; border: 1px solid transparent; border-radius: 6px; font-weight: 800; }
.admin-sidebar nav a:hover, .admin-sidebar nav button:hover, .admin-sidebar nav button.active { color: var(--text); background: #17222e; border-color: var(--line); }
.admin-sidebar nav b { min-width: 22px; height: 22px; display: grid; place-items: center; color: #071118; background: var(--lime); border-radius: 11px; font-size: 11px; }
.admin-sidebar > p { margin-top: 28px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.admin-queue { background: #0a0f15; }
.admin-queue > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.admin-queue h1, .admin-case-header h1 { margin: 3px 0 0; font-size: 26px; }
.admin-ticket-filters { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 18px 0; }
.admin-ticket-filters label, .admin-case-controls label, .admin-reply label { display: grid; gap: 5px; color: var(--muted); font-size: 12px; font-weight: 800; }
.admin-ticket-filters input, .admin-ticket-filters select, .admin-case-controls select, .admin-reply textarea { width: 100%; min-width: 0; min-height: 40px; padding: 8px 10px; color: var(--text); background: #141e29; border: 1px solid var(--line-strong); border-radius: 6px; }
.admin-ticket-filters label:first-child { grid-column: 1 / -1; }
.admin-ticket-list { display: grid; gap: 8px; }
.admin-ticket-row { width: 100%; min-width: 0; display: grid; gap: 7px; padding: 13px; color: var(--text); text-align: left; background: #121a24; border: 1px solid var(--line); border-radius: 7px; }
.admin-ticket-row:hover, .admin-ticket-row.active { border-color: var(--cyan); background: #152530; }
.admin-ticket-row > span, .admin-ticket-row footer { display: flex; justify-content: space-between; gap: 12px; }
.admin-ticket-row h2 { margin: 0; font-size: 15px; }
.admin-ticket-row p { margin: 0; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-ticket-row footer { color: var(--muted); font-size: 11px; }
.admin-ticket-row b { font-size: 10px; text-transform: uppercase; }
.priority-urgent { color: #ff7777; } .priority-high { color: var(--amber); } .priority-normal { color: var(--cyan); } .priority-low { color: var(--muted); }
.admin-ticket-detail { overflow-y: auto; background: #0c121a; }
.admin-empty { padding: 28px; color: var(--muted); text-align: center; border: 1px dashed var(--line-strong); border-radius: 7px; }
.admin-empty h2 { margin-top: 0; color: var(--text); }
.admin-case-header { display: flex; justify-content: space-between; gap: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.admin-case-header p { margin-bottom: 0; color: var(--muted); }
.admin-case-header > span { align-self: flex-start; padding: 6px 8px; color: var(--cyan); background: rgba(66,216,247,.1); border-radius: 5px; font-weight: 800; }
.admin-case-controls { display: grid; grid-template-columns: 1fr 1fr auto auto; align-items: end; gap: 10px; margin: 16px 0; padding: 12px; background: #111b25; border: 1px solid var(--line); border-radius: 7px; }
.admin-assign { display: flex !important; align-items: center; min-height: 40px; }
.admin-case-controls button, .admin-reply button { min-height: 40px; padding: 0 14px; color: #071118; background: var(--lime); border: 0; border-radius: 6px; font-weight: 900; }
.admin-conversation { display: grid; gap: 9px; }
.admin-message { width: min(82%, 720px); padding: 12px; background: #16212c; border: 1px solid var(--line); border-radius: 7px; }
.admin-message.user { justify-self: start; } .admin-message.agent { justify-self: end; background: #113342; } .admin-message.internal { width: 100%; background: rgba(245,195,77,.09); border-color: rgba(245,195,77,.32); }
.admin-message header { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 11px; }
.admin-message p { margin-bottom: 0; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.admin-reply { display: grid; gap: 10px; margin-top: 18px; padding: 14px; background: #111b25; border: 1px solid var(--line); border-radius: 7px; }
.admin-reply textarea { min-height: 100px; resize: vertical; }
.admin-reply label:nth-child(2) { display: flex; align-items: center; }
.admin-reply p { margin: 0; color: var(--coral); }
.admin-audit { margin-top: 16px; padding: 12px; border: 1px solid var(--line); border-radius: 7px; }
.admin-audit p { display: flex; justify-content: space-between; color: var(--muted); }
.admin-loading { color: var(--muted); }

@media (max-width: 1080px) {
  .support-admin-layout { grid-template-columns: 190px minmax(0, 1fr); }
  .admin-ticket-detail { grid-column: 1 / -1; min-height: 440px; }
  .admin-case-controls { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .admin-topbar { grid-template-columns: 1fr auto; }
  .admin-topbar > div { display: none; }
  .support-admin-layout { display: block; }
  .admin-sidebar { padding: 10px 14px; }
  .admin-sidebar nav { display: flex; overflow-x: auto; }
  .admin-sidebar nav a, .admin-sidebar nav button { white-space: nowrap; }
  .admin-sidebar > p { display: none; }
  .admin-queue, .admin-ticket-detail { border-right: 0; border-bottom: 1px solid var(--line); }
}

.cart-items { display: grid; gap: 8px; margin: 16px 0 20px; }
.cart-item { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 7px; background: rgba(255, 255, 255, 0.04); }
.cart-item button { color: var(--muted); background: transparent; border: 0; font-weight: 800; cursor: pointer; }
.cart-item button:hover { color: var(--coral); }
.cart-empty { margin: 0; padding: 14px; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: 7px; }

.horus-ticket-form { display: grid; gap: 8px; width: 100%; }
.horus-ticket-form input,
.horus-ticket-form textarea { width: 100%; color: var(--text); background: #17202c; border: 1px solid var(--line-strong); border-radius: 6px; padding: 10px; font: inherit; }
.horus-ticket-form textarea { min-height: 84px; resize: vertical; }
.horus-ticket-form button { min-height: 38px; color: #071118; background: var(--lime); border: 0; border-radius: 6px; font-weight: 900; cursor: pointer; }
.horus-ticket-status { color: var(--muted); font-size: 12px; }

.category-nav {
  grid-column: 1 / -1;
  display: flex;
  gap: 4px;
  min-width: 0;
  overflow-x: auto;
  padding-top: 2px;
  scrollbar-width: none;
}

.category-nav::-webkit-scrollbar,
.game-service-tabs::-webkit-scrollbar { display: none; }

.nav-category {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 13px;
  color: #d5e1ea;
  background: transparent;
  border: 0;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.nav-category[href*="category.html"]::after,
button.nav-category[data-menu-category]::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  opacity: 0.78;
  transform: translateY(-2px) rotate(45deg);
}

.nav-category:hover,
.nav-category.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.nav-category.menu-open {
  color: var(--text);
  background: rgba(66, 216, 247, 0.12);
}

.nav-category.menu-open::after { transform: translateY(2px) rotate(225deg); }

.category-menu-popover {
  position: absolute;
  z-index: 130;
  top: calc(100% - 1px);
  left: 16px;
  right: 16px;
  padding: 16px;
  background: #111722;
  border: 1px solid rgba(66, 216, 247, 0.28);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.58);
}

.category-menu-popover[hidden] { display: none; }
.category-menu-popover > header { display: flex; justify-content: space-between; gap: 14px; padding: 0 2px 12px; }
.category-menu-popover > header span { color: var(--muted); font-size: 13px; }
.category-menu-popover > div { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.category-menu-popover a {
  min-width: 0;
  min-height: 64px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 9px 11px;
  color: var(--text);
  text-decoration: none;
  background: rgba(255,255,255,.045);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.category-menu-popover a:hover { border-color: var(--cyan); background: rgba(66,216,247,.08); }
.category-menu-popover img { width: 42px; height: 42px; object-fit: contain; border-radius: 5px; }
.category-menu-popover a span { min-width: 0; display: grid; gap: 3px; }
.category-menu-popover a strong { overflow-wrap: anywhere; }
.category-menu-popover a small { color: var(--muted); overflow-wrap: anywhere; }

@media (max-width: 900px) {
  .category-menu-popover > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 540px) {
  .category-menu-popover { max-height: calc(100vh - 120px); overflow-y: auto; }
  .category-menu-popover > div { grid-template-columns: 1fr; }
}

.mega-menu {
  position: absolute;
  top: calc(100% - 1px);
  left: 16px;
  right: 16px;
  display: none;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  background: rgba(16, 18, 27, 0.98);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.mega-menu.is-open {
  display: grid;
}

.mega-menu p {
  color: var(--muted);
  line-height: 1.55;
}

.mega-games {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.mega-game {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 74px;
  padding: 12px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.mega-game strong,
.mega-game small {
  grid-column: 2;
}

.mega-game small {
  color: var(--muted);
  margin-top: 76px;
}

.mega-game.is-muted {
  opacity: 0.48;
}

.header-actions {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 10px;
}

.language-control {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 850;
}

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

.language-control select {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 0;
  outline: 0;
  font-weight: 950;
}

.support-pill {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  color: #dff7ff;
  background: rgba(66, 216, 247, 0.1);
  border: 1px solid rgba(66, 216, 247, 0.28);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 950;
  text-decoration: none;
  white-space: nowrap;
}

.support-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(215, 247, 84, 0.8);
}

.support-pill.active {
  color: #07111f;
  background: linear-gradient(135deg, var(--cyan), var(--lime));
  border-color: transparent;
}

.support-pill.active::before {
  background: #07111f;
  box-shadow: none;
}

.icon-button {
  width: 42px;
  min-height: 42px;
  display: grid;
  place-items: center;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.icon-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.primary-action,
.secondary-action,
.ghost-link,
.mini-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 15px;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.primary-action {
  color: #07111f;
  background: linear-gradient(135deg, var(--cyan), var(--lime));
  border: 0;
}

.primary-action.big {
  min-height: 50px;
  padding: 0 20px;
}

.secondary-action,
.ghost-link,
.mini-link {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-strong);
}

.secondary-action.wide {
  width: 100%;
}

.mini-link {
  min-height: 34px;
  padding: 0 11px;
  font-size: 13px;
}

.hero-section {
  min-height: 740px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
  gap: 32px;
  align-items: center;
  padding-top: 58px;
  padding-bottom: 52px;
}

.market-hero {
  min-height: 650px;
  position: relative;
  overflow: hidden;
}

.market-hero::before {
  content: "";
  position: absolute;
  inset: 0 16px;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(7, 156, 226, 0.25), rgba(7, 9, 13, 0.16) 58%, transparent),
    linear-gradient(135deg, rgba(66, 216, 247, 0.14), transparent 45%),
    linear-gradient(225deg, rgba(245, 195, 77, 0.12), transparent 48%);
  border-bottom: 1px solid var(--line);
}

.hero-copy,
.hero-board,
.hero-showcase,
.request-panel,
.offers-panel,
.deal-room,
.admin-panel,
.section-block,
.service-stage,
.flow-panel,
.listing-panel,
.filter-panel,
.catalog-panel,
.final-cta {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 9px;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

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

h1 {
  max-width: 850px;
  margin-bottom: 16px;
  font-size: clamp(34px, 4.3vw, 58px);
  line-height: 1.06;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.market-hero h1 {
  max-width: 720px;
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.08;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.03;
  font-weight: 930;
}

h3 {
  margin-bottom: 8px;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 900;
}

.hero-lead,
.section-title p,
.flow-panel p,
.product-row p,
.game-card p,
.trust-grid p,
.faq-grid p,
.final-cta p,
.service-stage p {
  color: #bfd0dc;
  line-height: 1.58;
}

.hero-lead {
  max-width: 720px;
  font-size: 19px;
}

.hero-showcase {
  position: relative;
  min-height: 440px;
  padding: 18px;
}

.showcase-bg {
  position: absolute;
  inset: 18px;
  background:
    linear-gradient(180deg, rgba(66, 216, 247, 0.18), rgba(7, 9, 13, 0.05)),
    linear-gradient(135deg, rgba(215, 247, 84, 0.12), rgba(255, 109, 109, 0.09));
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
}

.showcase-bg::before {
  content: "TiltGG";
  position: absolute;
  left: 28px;
  bottom: 20px;
  color: rgba(255, 255, 255, 0.08);
  font-size: clamp(48px, 8vw, 112px);
  font-weight: 950;
}

.showcase-card {
  position: absolute;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  width: min(270px, 46%);
  min-height: 86px;
  padding: 14px;
  background: rgba(16, 23, 34, 0.92);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
}

.showcase-card:hover { border-color: rgba(66, 216, 247, .58); background: rgba(22, 34, 47, .96); }
.showcase-card:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-color: var(--cyan); }

.showcase-card strong,
.showcase-card small {
  grid-column: 2;
}

.showcase-card small {
  color: var(--muted);
}

.showcase-lol {
  left: 34px;
  top: 42px;
}

.showcase-val {
  right: 34px;
  top: 86px;
}

.showcase-fc {
  left: 82px;
  bottom: 54px;
}

.showcase-rbx {
  right: 64px;
  bottom: 34px;
}

.showcase-osrs {
  left: 45%;
  bottom: 162px;
  transform: translateX(-50%);
}

.showcase-cs2 {
  right: 34px;
  top: 212px;
}

.game-logo {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  color: transparent;
  font-size: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(255, 255, 255, 0.055);
  background-size: contain;
  border-radius: 8px;
  font-weight: 950;
  line-height: 1;
  flex: 0 0 auto;
}

.game-logo img,
.game-badge img,
.summary-logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: inherit;
}

.showcase-card .game-logo {
  grid-row: 1 / span 2;
  width: 54px;
  height: 54px;
  font-size: 20px;
}

.logo-lol {
  background-image: url("./assets/game-lol.png");
}

.logo-val {
  background-image: url("./assets/game-valorant.png");
}

.logo-fc {
  background-image: url("./assets/game-eafc.png");
}

.logo-rbx {
  background-image: url("./assets/game-roblox.png");
}

.logo-cs2 {
  background-image: url("./assets/game-cs2.png");
}

.logo-steam {
  background-image: url("./assets/game-steam.png");
}

.logo-osrs {
  background-image: url("./assets/game-osrs.png");
}

.logo-fortnite {
  background-image: url("./assets/game-fortnite.png");
}

.logo-minecraft {
  background-image: url("./assets/game-minecraft.png");
}

.logo-poe2 {
  background-image: url("./assets/game-poe2.png");
}

.hero-actions,
.proof-strip,
.option-row,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.proof-strip {
  margin-top: 22px;
}

.proof-strip span,
.category-strip a,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  color: #d7e6ef;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.recent-section,
.popular-directory {
  padding: 30px 16px 0;
}

.section-kicker-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

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

.section-kicker-row a {
  color: var(--cyan);
  font-weight: 900;
  text-decoration: none;
}

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

.recent-card,
.popular-directory article {
  min-width: 0;
  padding: 18px;
  background: rgba(16, 23, 34, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.recent-card {
  color: var(--text);
  text-decoration: none;
}

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

.card-head span:last-child {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  background: rgba(0, 0, 0, 0.38);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.recent-card p {
  color: var(--muted);
}

.recent-card strong {
  color: var(--lime);
  font-size: 20px;
}

.popular-directory {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-top: 48px;
}

.popular-directory article {
  display: grid;
  gap: 12px;
}

.popular-directory a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  color: var(--text);
  text-decoration: none;
  font-weight: 850;
}

.category-page {
  padding-top: 34px;
}

.category-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.34fr);
  gap: 18px;
  align-items: end;
  padding: 42px 16px 28px;
  border-bottom: 1px solid var(--line);
}

.category-hero h1 {
  font-size: clamp(34px, 4.8vw, 56px);
  line-height: 1.04;
}

.category-summary,
.category-filters,
.category-content,
.marketplace-note,
.buyer-protection article,
.request-builder {
  background: rgba(16, 23, 34, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.category-summary {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 16px;
}

.summary-logo {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: transparent;
  font-size: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(255, 255, 255, 0.055);
  background-size: contain;
  border-radius: 8px;
  font-weight: 950;
}

.category-summary span {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}

.category-game-switch {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  padding: 18px 16px 0;
}

.game-service-bar,
.category-game-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 12px 16px;
  background: rgba(16, 23, 34, 0.82);
  border-bottom: 1px solid var(--line);
}

.game-service-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  color: var(--text);
  text-decoration: none;
  font-weight: 950;
}

.game-service-tabs,
.category-game-strip .category-game-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.game-service-tabs a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  font-weight: 900;
}

.game-service-tabs a.active {
  color: var(--text);
  border-color: var(--amber);
}

.category-game-strip {
  padding-top: 10px;
  padding-bottom: 10px;
  background: transparent;
  border-bottom: 0;
}

.category-game-strip > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.category-game-strip .category-game-link {
  min-height: 46px;
  padding: 7px 10px;
}

.category-game-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 10px;
  color: var(--text);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.category-game-link.active {
  border-color: rgba(66, 216, 247, 0.5);
  background: rgba(66, 216, 247, 0.12);
}

.category-game-link.disabled {
  opacity: 0.4;
  pointer-events: none;
}

.category-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.28fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 18px 16px 0;
}

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

.category-filters {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.category-content {
  padding: 18px;
}

.listing-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.category-listings {
  display: grid;
  gap: 10px;
}

.category-listing-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px 150px auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.listing-title {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.listing-title h3 {
  margin-bottom: 4px;
}

.listing-title p {
  margin: 0;
  color: var(--muted);
}

.request-builder {
  padding: 18px;
}

.boost-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.boost-tabs button {
  min-height: 42px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 900;
}

.boost-tabs button.active {
  color: #07111f;
  background: linear-gradient(135deg, var(--cyan), var(--lime));
  border-color: transparent;
}

.category-offers {
  margin-top: 14px;
}

.buyer-protection {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 18px 16px 0;
}

.marketplace-note {
  margin: 18px 16px 0;
  padding: 18px;
}

.marketplace-note p {
  max-width: 900px;
  color: var(--muted);
  line-height: 1.55;
}

.buyer-protection article {
  padding: 18px;
}

.buyer-protection p {
  color: var(--muted);
  line-height: 1.55;
}

.proof-strip strong {
  color: var(--lime);
  margin-right: 7px;
}

.hero-board,
.category-card,
.service-stage,
.flow-panel,
.listing-panel,
.game-card,
.filter-panel,
.catalog-panel,
.request-panel,
.offers-panel,
.deal-room,
.admin-panel,
.trust-grid article {
  background: rgba(16, 23, 34, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-board {
  padding: 18px;
  overflow: hidden;
}

.board-head,
.panel-head,
.stage-head,
.hero-offer,
.chat-head,
.ledger-row,
.product-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.board-head {
  justify-content: flex-start;
  min-height: 42px;
}

.board-head small {
  margin-left: auto;
  color: var(--muted);
}

.live-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 8px rgba(66, 216, 247, 0.13);
}

.route-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 0;
}

.route-preview article,
.mini-market div {
  min-width: 0;
  padding: 14px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.route-preview span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  color: #07111f;
  background: var(--cyan);
  border-radius: 8px;
  font-weight: 950;
}

.route-preview p,
.mini-market span {
  display: block;
  margin: 4px 0 0;
  color: var(--muted);
}

.hero-offer {
  align-items: flex-start;
  margin-bottom: 12px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(8, 168, 232, 0.15), rgba(215, 247, 84, 0.09));
  border: 1px solid rgba(66, 216, 247, 0.2);
  border-radius: 8px;
}

.hero-offer h2 {
  margin-top: 12px;
}

.hero-offer p {
  margin-bottom: 0;
  color: var(--muted);
}

.hero-offer b,
.offer-row b,
.chat-head b,
.product-price strong {
  white-space: nowrap;
}

.mini-market {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.035);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.category-strip a {
  text-decoration: none;
  font-weight: 900;
}

.section-block,
.market-section,
.deal-room-section,
.final-cta {
  padding-top: 72px;
}

.section-title {
  max-width: 900px;
  margin-bottom: 24px;
}

.section-title.compact {
  max-width: 980px;
}

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

.category-menu {
  display: grid;
  gap: 10px;
}

.category-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 74px;
  padding: 12px;
  color: var(--text);
  text-align: left;
}

.category-card strong,
.category-card small {
  grid-column: 2;
}

.category-card small {
  color: var(--muted);
}

.category-card.active {
  border-color: rgba(66, 216, 247, 0.48);
  background: linear-gradient(135deg, rgba(66, 216, 247, 0.18), rgba(215, 247, 84, 0.08));
}

.category-card.soft {
  border-style: dashed;
}

.category-icon {
  grid-row: 1 / span 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #07111f;
  background: linear-gradient(135deg, var(--cyan), var(--lime));
  border-radius: 8px;
  font-weight: 950;
}

.service-stage,
.flow-panel,
.listing-panel,
.filter-panel,
.catalog-panel,
.request-panel,
.offers-panel,
.deal-room,
.admin-panel {
  padding: 18px;
}

.stage-head {
  align-items: flex-start;
  margin-bottom: 16px;
}

.status-pill {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  color: #07111f;
  background: var(--lime);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
}

.game-picker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.picker-game,
.game-chip {
  min-height: 54px;
  padding: 8px 10px;
  color: #d7e6ef;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 900;
}

.picker-game {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.game-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.picker-game.active,
.game-chip.active {
  color: #07111f;
  background: linear-gradient(135deg, var(--cyan), var(--lime));
  border-color: transparent;
}

.picker-game:disabled {
  color: rgba(215, 230, 239, 0.46);
  cursor: not-allowed;
  opacity: 0.48;
}

.stage-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 14px;
}

.compact-head {
  margin-bottom: 14px;
}

.flow-steps {
  display: grid;
  gap: 10px;
}

.flow-step {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.flow-step span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #07111f;
  background: var(--cyan);
  border-radius: 8px;
  font-weight: 950;
}

.flow-step p {
  margin-bottom: 0;
}

.listing-grid {
  display: grid;
  gap: 10px;
}

.listing-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.listing-card h4 {
  margin: 0 0 5px;
  font-size: 16px;
}

.listing-card p,
.listing-card small {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.listing-price {
  display: grid;
  justify-items: end;
  align-content: center;
  gap: 4px;
  white-space: nowrap;
}

.listing-price strong {
  color: var(--lime);
}

.game-grid,
.trust-grid {
  display: grid;
  gap: 14px;
}

.game-grid,
.trust-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.game-card,
.trust-grid article {
  padding: 18px;
}

.game-card h3 {
  margin-top: 16px;
}

.tag-row span {
  min-height: 32px;
  font-size: 13px;
  font-weight: 850;
}

.game-badge {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  color: transparent;
  font-size: 0;
  background: rgba(255, 255, 255, 0.055);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: 7px;
  font-weight: 950;
}

.game-badge.lol {
  background-image: url("./assets/game-lol.png");
}

.game-badge.valorant {
  background-image: url("./assets/game-valorant.png");
}

.game-badge.eafc {
  background-image: url("./assets/game-eafc.png");
}

.game-badge.roblox {
  background-image: url("./assets/game-roblox.png");
}

.game-badge.cs2 {
  background-image: url("./assets/game-cs2.png");
}

.game-badge.steam {
  background-image: url("./assets/game-steam.png");
}

.game-badge.osrs {
  background-image: url("./assets/game-osrs.png");
}

.game-badge.fortnite {
  background-image: url("./assets/game-fortnite.png");
}

.game-badge.minecraft {
  background-image: url("./assets/game-minecraft.png");
}

.game-badge.poe2 {
  background-image: url("./assets/game-poe2.png");
}

.rank-path {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
}

.rank-path article {
  min-width: 0;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.rank-path article span:not(.rank-icon) {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.rank-path strong {
  grid-column: 2;
  font-size: 18px;
}

.rank-path b {
  color: var(--cyan);
  font-size: 28px;
}

.rank-icon {
  grid-row: 1 / span 2;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  clip-path: polygon(50% 0, 88% 18%, 100% 58%, 50% 100%, 0 58%, 12% 18%);
  background: linear-gradient(145deg, #87909b, #2f3742);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.14);
}

.rank-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.rank-icon.rank-icon-missing { border: 1px dashed var(--line-strong); background: rgba(255,255,255,.025); box-shadow: none; clip-path: none; }

.boost-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.boost-options label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel-soft);
}

.marketplace-steps {
  display: grid;
  gap: 14px;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.45;
}

.muted-copy {
  color: var(--muted);
  font-size: 0.9rem;
}

.rank-icon i {
  width: 18px;
  height: 28px;
  display: block;
  clip-path: polygon(50% 0, 100% 100%, 50% 78%, 0 100%);
  background: rgba(7, 17, 31, 0.88);
}

.rank-icon.iron { background: linear-gradient(145deg, #9b8e83, #343232); }
.rank-icon.bronze { background: linear-gradient(145deg, #d28b52, #614022); }
.rank-icon.silver { background: linear-gradient(145deg, #d9e4ec, #66737f); }
.rank-icon.gold { background: linear-gradient(145deg, #ffe47a, #a66c16); }
.rank-icon.platinum { background: linear-gradient(145deg, #87f5e1, #288a8b); }
.rank-icon.emerald { background: linear-gradient(145deg, #8eff9f, #188857); }
.rank-icon.diamond { background: linear-gradient(145deg, #bdb4ff, #4668ff); }
.rank-icon.master { background: linear-gradient(145deg, #ff9bea, #8435d6); }
.rank-icon.grandmaster { background: linear-gradient(145deg, #ff806d, #9b1e32); }
.rank-icon.challenger { background: linear-gradient(145deg, #fff5a6, #42d8f7 52%, #8058ff); }
.rank-icon.division { background: linear-gradient(145deg, #42d8f7, #d7f754); }

body[data-category="boosting"] .rank-path article {
  grid-template-columns: 92px minmax(0, 1fr);
  min-height: 118px;
}

body[data-category="boosting"] .rank-icon {
  width: 92px;
  height: 92px;
  position: relative;
  overflow: hidden;
  clip-path: none;
  background: transparent;
  box-shadow: none;
}

body[data-category="boosting"] .rank-icon img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 340px;
  height: 191px;
  max-width: none;
  max-height: none;
  object-fit: contain;
  transform: translate(-50%, -50%);
}

/* Compact marketplace layout: shared by every game category. */
body[data-category] .category-page {
  padding-top: 0;
  min-height: 760px;
  background: linear-gradient(90deg, #05080d 0%, #090d14 58%, #05080d 100%);
}

body[data-category] .category-hero,
body[data-category] .category-game-strip,
body[data-category] .marketplace-note,
body[data-category] .buyer-protection {
  display: none;
}

body[data-category] .game-service-bar {
  min-height: 66px;
  justify-content: flex-start;
  gap: 32px;
  padding: 0 max(16px, calc((100vw - 1180px) / 2));
  background: rgba(31, 34, 48, 0.97);
}

body[data-category] .game-service-brand .game-logo {
  width: 44px;
  height: 44px;
}

body[data-category] .game-service-tabs {
  flex: 1 1 auto;
  overflow-x: visible;
  flex-wrap: wrap;
}

body[data-category] .game-service-tabs a {
  min-height: 66px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 650;
}

body[data-category] .category-layout {
  width: min(980px, calc(100% - 28px));
  margin: 0 auto;
  padding: 14px 0 60px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

body[data-category] .category-filters {
  grid-template-columns: repeat(4, minmax(140px, 1fr)) auto;
  align-items: end;
  gap: 10px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body[data-category] .category-filters > .eyebrow {
  display: none;
}

body[data-category] .category-filters .field > span {
  display: none;
}

body[data-category] .category-filters select,
body[data-category] .category-filters .secondary-action {
  min-height: 38px;
  height: 38px;
  font-size: 13px;
}

body[data-category] .category-filters .secondary-action {
  width: auto;
  white-space: nowrap;
}

body[data-category] .category-content {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.market-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 290px) 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 58px;
  margin: 4px 0 8px;
}

.market-toolbar input {
  width: 100%;
  min-height: 38px;
  padding: 0 12px;
  color: var(--text);
  background: #252836;
  border: 1px solid var(--line);
  border-radius: 5px;
}

.market-toolbar span { color: var(--muted); font-size: 13px; }
.market-toolbar button { color: var(--text); background: transparent; border: 0; font-weight: 750; }
.market-toolbar select { min-height: 36px; padding: 0 34px 0 12px; color: var(--text); background: #252836; border: 1px solid var(--line); border-radius: 5px; }

.category-listings.card-market {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.market-card {
  min-height: 160px;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 8px;
  padding: 13px;
  background: #1d202b;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 6px;
}

.market-card-head { display: grid; grid-template-columns: 1fr 50px; gap: 8px; min-height: 46px; }
.market-card-head > strong { font-size: 13px; line-height: 1.35; }
.market-thumb,
.seller-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 6px;
  background: rgba(255,255,255,.05);
}
.market-thumb { width: 48px; height: 48px; }
.seller-avatar { width: 38px; height: 38px; }
.market-thumb img,
.seller-avatar img,
.game-service-brand img,
.rank-icon img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.market-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.4; }
.market-seller, .market-card footer { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.market-seller { color: var(--muted); font-size: 12px; }
.market-card footer > strong { font-size: 16px; }
.market-card footer small { color: var(--muted); }
.verified-mark { color: #19d8c5; }

.device-picker {
  display: grid;
  gap: 9px;
  padding: 14px 16px;
  margin-bottom: 14px;
  background: #1d202b;
  border-radius: 6px;
}

.device-picker > strong, .points-config > strong { font-size: 13px; }
.device-picker > div, .segmented-options, .seller-heading > div { display: flex; flex-wrap: wrap; gap: 9px; }
.device-picker button, .segmented-options button, .seller-heading button {
  min-height: 36px;
  padding: 0 14px;
  color: var(--text);
  background: transparent;
  border: 1px solid #45495a;
  border-radius: 4px;
}
.device-picker button.active, .segmented-options button.active, .seller-heading button.active {
  border-color: var(--amber);
  background: rgba(255, 190, 48, .12);
}

.coin-feature, .points-market {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  align-items: start;
}

.featured-seller, .order-box, .points-config {
  background: #1d202b;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 6px;
}

.seller-identity { display: flex; align-items: center; gap: 10px; }
.seller-identity small { display: block; margin-top: 3px; color: #8fb5dd; font-size: 11px; }
.featured-seller > .seller-identity { padding: 16px; }
.featured-seller dl, .order-box dl { margin: 0; }
.featured-seller dl > div, .order-box dl > div { display: flex; justify-content: space-between; gap: 14px; padding: 12px 16px; border-top: 1px solid var(--line); }
.featured-seller dt, .order-box dt { color: var(--muted); }
.featured-seller dd, .order-box dd { margin: 0; font-weight: 800; }

.order-box { display: grid; gap: 12px; padding: 16px; }
.order-box > div:first-child { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; }
.quantity-stepper { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; min-height: 50px; padding: 8px; background: #262938; border-radius: 5px; text-align: center; }
.quantity-stepper button { height: 36px; color: var(--text); background: #202330; border: 0; border-radius: 4px; font-size: 20px; }
.order-box > small, .order-box li { color: var(--muted); font-size: 11px; }
.order-box ul { display: grid; gap: 8px; margin: 0; padding-left: 18px; }

.seller-heading { margin: 38px 0 12px; }
.seller-heading h2 { margin-bottom: 12px; font-size: 17px; }
.seller-table { display: grid; gap: 7px; }
.seller-row {
  display: grid;
  grid-template-columns: minmax(190px, 1.25fr) repeat(3, minmax(100px, .75fr)) auto;
  gap: 14px;
  align-items: center;
  min-height: 66px;
  padding: 9px 14px;
  background: #1d202b;
  border: 1px solid transparent;
  border-radius: 6px;
}
.seller-row.selected { border-color: #654ce7; }
.seller-row > div > small { display: block; color: var(--muted); font-size: 11px; }
.seller-row > div > strong { font-size: 12px; }
.seller-row > button { color: var(--text); background: transparent; border: 0; font-weight: 800; }

.points-config { display: grid; gap: 16px; padding: 18px; }
.point-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.point-tile { min-height: 145px; display: grid; align-content: space-between; gap: 8px; padding: 12px; color: var(--text); text-align: left; background: transparent; border: 1px solid #464a5d; border-radius: 5px; }
.point-tile.active { border-color: var(--amber); background: rgba(255,190,48,.14); }
.point-tile span, .point-tile small { color: var(--muted); font-size: 11px; }
.point-tile b { font-size: 17px; }
.points-summary h3 { font-size: 18px; }

body[data-category="boosting"] .category-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 18px;
  align-items: start;
}
body[data-category="boosting"] .request-builder { padding: 14px; }
body[data-category="boosting"] .panel-head h2 { font-size: 20px; }
body[data-category="boosting"] .boost-tabs { display: flex; overflow-x: auto; gap: 7px; }
body[data-category="boosting"] .boost-tabs button { min-height: 34px; padding: 0 13px; white-space: nowrap; border-radius: 18px; font-size: 12px; }
body[data-category="boosting"] .rank-icon { clip-path: none; background: transparent; box-shadow: none; }
body[data-category="boosting"] .category-offers { margin-top: 0; padding: 16px; }

@media (max-width: 820px) {
  body[data-category] .game-service-bar { gap: 24px; }
  body[data-category] .category-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-listings.card-market, .point-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .coin-feature, .points-market, body[data-category="boosting"] .category-content { grid-template-columns: 1fr; }
  .seller-row { grid-template-columns: minmax(0, 1fr) auto; }
  .seller-row > div:nth-child(2), .seller-row > div:nth-child(3), .seller-row > div:nth-child(4) { display: none; }
}

/* Home marketplace: compact, stable and fully driven by the selected language. */
.home-page .home-legacy-section {
  display: none !important;
}

.home-page .market-hero {
  min-height: 470px;
  grid-template-columns: minmax(360px, 0.88fr) minmax(560px, 1.12fr);
  gap: 42px;
  padding-top: 42px;
  padding-bottom: 34px;
}

.home-page .market-hero::before {
  background: rgba(10, 26, 36, 0.55);
}

.home-page .market-hero h1 {
  max-width: 650px;
  font-size: 46px;
}

.home-page .hero-lead {
  max-width: 640px;
  font-size: 17px;
}

.home-page .hero-showcase {
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  background: rgba(16, 23, 34, 0.86);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
}

.home-page .showcase-bg {
  display: none;
}

.home-page .showcase-card {
  position: static;
  width: auto;
  min-height: 96px;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 3px 14px;
  padding: 15px;
  transform: none;
  box-shadow: none;
}

.home-page .showcase-card .game-logo {
  width: 62px;
  height: 62px;
}

.home-page .showcase-card strong {
  align-self: end;
  font-size: 17px;
}

.home-page .showcase-card small {
  align-self: start;
  color: #9fc4da;
  line-height: 1.3;
}

.home-page .recent-section {
  padding-top: 26px;
}

.home-page .recent-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-page .recent-card {
  min-height: 178px;
  display: grid;
  align-content: start;
  padding: 17px;
}

.home-page .recent-card .game-logo {
  width: 52px;
  height: 52px;
}

.home-page .recent-card h3 {
  margin-bottom: 7px;
  font-size: 20px;
}

.home-page .recent-card p {
  min-height: 42px;
  margin-bottom: 12px;
  line-height: 1.4;
}

.home-page .recent-card strong {
  margin-top: auto;
  font-size: 16px;
}

.home-page .popular-directory {
  padding-top: 28px;
  padding-bottom: 38px;
}

.home-page .popular-directory .game-logo {
  width: 38px;
  height: 38px;
}

.home-page .site-footer {
  border-top: 1px solid var(--line);
}

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

  .home-page .recent-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .home-page .market-hero {
    gap: 22px;
    padding-top: 26px;
  }

  .home-page .market-hero h1 {
    font-size: 38px;
  }

  .home-page .hero-showcase,
  .home-page .recent-grid {
    grid-template-columns: 1fr;
  }

  .home-page .showcase-card {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .home-page .showcase-card .game-logo {
    width: 54px;
    height: 54px;
  }
}

@media (max-width: 520px) {
  body[data-category] .game-service-bar { align-items: flex-start; flex-direction: column; gap: 0; padding-top: 8px; }
  body[data-category] .game-service-tabs {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
  }
  body[data-category] .game-service-tabs a { min-height: 42px; }
  body[data-category] .category-filters, .category-listings.card-market, .point-grid { grid-template-columns: 1fr; }
  .market-toolbar { grid-template-columns: 1fr; }
}

@media (min-width: 821px) {
  body[data-category] .game-service-bar { gap: 28px; }
  body[data-category] .game-service-tabs {
    flex: 1 1 auto;
    justify-content: center;
    overflow: visible;
  }
  body[data-category] .game-service-tabs a { flex: 0 0 auto; }
}

.checkout-confirm {
  width: min(500px, calc(100% - 28px));
  padding: 22px;
  color: var(--text);
  background: #1d202b;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.checkout-confirm::backdrop { background: rgba(0,0,0,.76); backdrop-filter: blur(4px); }
.checkout-confirm h2 { margin: 0 34px 18px 0; font-size: 20px; }
.checkout-confirm .dialog-close { position: absolute; top: 14px; right: 16px; color: var(--text); background: transparent; border: 0; font-size: 26px; }
.checkout-confirm dl { margin: 0 0 20px; }
.checkout-confirm dl > div { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.checkout-confirm dt { color: var(--muted); }
.checkout-confirm dd { margin: 0; font-weight: 800; text-align: right; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; }

.secure-checkout-body { min-height: 100vh; background: #090a0e; }
.secure-checkout-body .site-footer { display: none; }
.checkout-topbar { height: 34px; display: flex; justify-content: center; align-items: center; background: #06080c; border-bottom: 1px solid #20232c; }
.checkout-topbar a { color: #dfe9f7; text-decoration: none; font-size: 12px; font-weight: 750; }
.secure-checkout { min-height: calc(100vh - 34px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, 440px); }
.checkout-main { width: min(100%, 650px); justify-self: end; padding: 28px 44px 50px; }
.checkout-summary { padding: 110px 44px 50px; background: #1c1f2a; }
.checkout-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-size: 21px; }
.checkout-brand img { width: 35px; height: 35px; }
.checkout-brand.mobile { display: none; }
.checkout-title { display: grid; grid-template-columns: 36px 1fr 36px; align-items: center; margin: 28px 0; text-align: center; }
.checkout-title button { width: 32px; height: 32px; color: var(--text); background: #242733; border: 0; border-radius: 5px; font-size: 26px; }
.checkout-title h1 { margin: 0; font-size: 21px; }
.checkout-product { padding: 14px; background: #1c1f29; border: 1px solid rgba(255,190,48,.35); border-radius: 6px; }
.buyer-favorite { display: inline-block; margin-bottom: 12px; padding: 5px 9px; color: #fff3c5; background: #5a4824; border-radius: 5px; font-size: 11px; font-weight: 800; }
.checkout-product > div { display: flex; align-items: center; gap: 12px; }
.checkout-product img { width: 48px; height: 48px; object-fit: contain; border-radius: 4px; }
.checkout-product p { margin: 5px 0 0; color: #b6c2d4; font-size: 12px; }
.checkout-main hr { margin: 20px 0; border: 0; border-top: 1px solid #2c303b; }
.checkout-main > h2 { margin: 0 0 18px; font-size: 13px; }
.checkout-methods { display: grid; gap: 8px; }
.checkout-method { min-height: 54px; display: grid; grid-template-columns: 20px minmax(0,1fr) auto; gap: 10px; align-items: center; padding: 9px 14px; color: var(--text); text-align: left; background: #1d202b; border: 1px solid transparent; border-radius: 6px; }
.checkout-method.express { grid-template-columns: minmax(0,1fr) auto; }
.checkout-method.active { border-color: var(--amber); }
.checkout-method.planned { opacity: .58; cursor: not-allowed; }

.prelaunch-banner {
  min-height: 34px;
  display: grid;
  place-items: center;
  padding: 7px 16px;
  color: #0b1420;
  background: #9de7cf;
  border-bottom: 1px solid rgba(0,0,0,.18);
  text-align: center;
  font-size: 12px;
  font-weight: 850;
}
.checkout-prelaunch { position: relative; z-index: 2; }
.secure-checkout-body .secure-checkout { min-height: calc(100vh - 68px); }

.account-body { min-height: 100vh; background: #080b10; }
.account-shell { width: min(460px, calc(100% - 28px)); margin: 0 auto; padding: 54px 0; }
.account-shell > .checkout-brand { margin-bottom: 22px; }
.account-card { overflow: hidden; background: #111722; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.account-vendor-link { margin: 0 24px 20px; min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 16px; border: 1px solid rgba(66,216,247,.32); border-radius: 7px; color: var(--text); text-decoration: none; background: rgba(66,216,247,.06); }
.account-vendor-link span { display: grid; gap: 4px; }
.account-vendor-link small { color: var(--muted); font-weight: 650; }
.account-vendor-link b { color: var(--lime); font-size: 24px; }
.account-vendor-link:hover { border-color: var(--cyan); background: rgba(66,216,247,.1); }

.vendor-body { min-height: 100vh; background: #080b10; color: var(--text); }
.vendor-header { width: min(1240px, calc(100% - 32px)); min-height: 76px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.vendor-header .checkout-brand { margin: 0; }
.vendor-header-actions { display: flex; align-items: center; gap: 10px; }
.vendor-shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 46px 0 72px; }
.vendor-intro { max-width: 820px; }
.vendor-intro h1 { margin: 8px 0 12px; font-size: clamp(36px, 5vw, 62px); line-height: 1; letter-spacing: 0; }
.vendor-intro > p:last-of-type { max-width: 700px; color: #bbcad8; font-size: 18px; line-height: 1.55; }
.vendor-security-note { margin-top: 22px; display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; padding: 16px 18px; border-left: 3px solid var(--cyan); background: #101824; }
.vendor-security-note strong { color: var(--lime); }
.vendor-security-note span { color: #b9c8d6; }
.vendor-workspace { margin-top: 34px; display: grid; grid-template-columns: 210px minmax(0, 1fr); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #0e141e; box-shadow: var(--shadow); }
.vendor-stepper { margin: 0; padding: 24px 18px; list-style: none; background: #0a1018; border-right: 1px solid var(--line); }
.vendor-stepper li { position: relative; min-height: 66px; display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 10px; color: #77899a; }
.vendor-stepper li:not(:last-child)::after { content: ""; position: absolute; top: 49px; bottom: -17px; left: 16px; width: 1px; background: #273443; }
.vendor-stepper span { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #344252; border-radius: 50%; font-weight: 900; }
.vendor-stepper b { font-size: 14px; }
.vendor-stepper li.active { color: var(--text); }
.vendor-stepper li.active span { color: #061018; background: var(--cyan); border-color: var(--cyan); }
.vendor-stepper li.complete span { color: #07100d; background: var(--lime); border-color: var(--lime); }
.vendor-form { min-width: 0; padding: 30px; }
.vendor-step { animation: vendor-in .18s ease-out; }
@keyframes vendor-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.vendor-step-heading { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 26px; }
.vendor-step-heading > p { margin: 2px 0 0; color: var(--cyan); font-weight: 950; }
.vendor-step-heading h2 { margin: 0 0 6px; font-size: 26px; letter-spacing: 0; }
.vendor-step-heading span { color: var(--muted); }
.vendor-grid { display: grid; gap: 18px; }
.vendor-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vendor-form label { min-width: 0; display: grid; gap: 8px; color: #dbe7f1; font-weight: 800; }
.vendor-form input:not([type="checkbox"]), .vendor-form select { width: 100%; min-height: 48px; padding: 0 13px; border: 1px solid #334151; border-radius: 6px; background: #1a222d; color: var(--text); font: inherit; }
.vendor-form select option { background: #151c26; color: #f5f8fb; }
.vendor-form input:focus, .vendor-form select:focus { outline: 2px solid rgba(66,216,247,.5); outline-offset: 1px; border-color: var(--cyan); }
.file-field { align-content: start; padding: 15px; border: 1px dashed #3a4b5e; border-radius: 7px; background: #121a25; }
.file-field input { padding: 10px !important; }
.file-field small { color: var(--muted); }
.field-warning { color: #9cb0c2; }
.verification-card { display: grid; grid-template-columns: minmax(220px, 1fr) 1.4fr; align-items: end; gap: 18px; padding: 18px; margin-bottom: 14px; border: 1px solid var(--line); border-radius: 7px; background: #111925; }
.verification-action { display: grid; grid-template-columns: auto minmax(95px, 1fr) auto; gap: 8px; align-items: center; }
.verification-state { grid-column: 1 / -1; min-height: 18px; color: var(--lime); font-weight: 850; }
.local-demo-code { display: inline-flex; gap: 8px; padding: 10px 12px; border: 1px solid rgba(193,255,55,.35); border-radius: 6px; color: #dce9c7; background: rgba(193,255,55,.06); }
.booster-toggle, .vendor-consent { grid-template-columns: auto 1fr !important; align-items: flex-start; gap: 12px !important; padding: 17px; border: 1px solid #344455; border-radius: 7px; background: #111a25; }
.booster-toggle input, .vendor-consent input { width: 18px; height: 18px; accent-color: var(--cyan); }
.booster-fields { margin-top: 20px; }
.vendor-review-card { padding: 20px; border: 1px solid var(--line); border-radius: 7px; background: #111925; }
.vendor-review-card h3 { margin-top: 0; }
.vendor-review-card ul { margin: 0; padding-left: 20px; color: #bbcad8; line-height: 1.7; }
.vendor-consent { margin-top: 18px; }
.vendor-form-actions { min-height: 68px; display: flex; align-items: center; gap: 12px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); }
.vendor-form-actions p { flex: 1; margin: 0; color: #9fc6dd; line-height: 1.35; }
.vendor-form-actions button { min-width: 126px; }

@media (max-width: 780px) {
  .vendor-header { align-items: flex-start; padding: 16px 0; }
  .vendor-header-actions { align-items: stretch; }
  .vendor-header-actions .secondary-action { display: none; }
  .vendor-shell { padding-top: 28px; }
  .vendor-workspace { grid-template-columns: 1fr; }
  .vendor-stepper { display: grid; grid-template-columns: repeat(5, 1fr); padding: 12px 8px; border-right: 0; border-bottom: 1px solid var(--line); }
  .vendor-stepper li { min-height: 54px; grid-template-columns: 1fr; justify-items: center; gap: 4px; text-align: center; }
  .vendor-stepper li::after { display: none; }
  .vendor-stepper b { font-size: 10px; }
  .vendor-form { padding: 22px 16px; }
  .vendor-grid.two, .verification-card { grid-template-columns: 1fr; }
  .verification-action { grid-template-columns: 1fr 1fr; }
  .verification-action input { grid-column: 1 / -1; grid-row: 1; }
  .vendor-security-note { grid-template-columns: 1fr; }
  .vendor-form-actions { flex-wrap: wrap; }
  .vendor-form-actions p { order: -1; flex-basis: 100%; }
}

.admin-verification-shell { width: min(1380px, calc(100% - 28px)); margin: 28px auto 70px; display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 18px; }
.admin-verification-shell > aside, .admin-verification-shell > section { min-height: 620px; padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: #0f1621; }
.admin-verification-shell aside h1 { margin-top: 0; font-size: 25px; }
.admin-verification-shell aside select { width: 100%; min-height: 44px; margin-bottom: 14px; padding: 0 12px; border: 1px solid #344252; border-radius: 6px; color: var(--text); background: #18212c; }
.admin-local-demo { width: 100%; min-height: 42px; margin: -4px 0 14px; padding: 0 12px; color: #07111f; background: linear-gradient(135deg, var(--cyan), var(--lime)); border: 0; border-radius: 6px; cursor: pointer; font: inherit; font-weight: 900; }
#adminApplications { display: grid; gap: 8px; }
#adminApplications button { display: grid; gap: 3px; padding: 13px; text-align: left; border: 1px solid #2d3a49; border-radius: 6px; color: var(--text); background: #151e29; cursor: pointer; }
#adminApplications button:hover { border-color: var(--cyan); }
#adminApplications span, #adminApplications small { color: var(--muted); }
#adminDetail > header h1 { margin: 5px 0; }
.admin-data { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 24px 0; background: #263341; border: 1px solid #263341; }
.admin-data div { padding: 13px; background: #111925; }
.admin-data dt { color: var(--muted); font-size: 12px; }
.admin-data dd { margin: 5px 0 0; overflow-wrap: anywhere; }
.admin-files, .admin-booster, .admin-decision, .admin-history { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.admin-files button { margin: 0 8px 8px 0; padding: 10px 12px; border: 1px solid #3a4b5e; border-radius: 5px; color: var(--cyan); background: #121a25; cursor: pointer; }
.admin-decision { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.admin-decision h2, .admin-decision textarea, .admin-decision button, .admin-decision p { grid-column: 1 / -1; }
.admin-decision label { display: grid; gap: 6px; font-weight: 800; }
.admin-decision input, .admin-decision select, .admin-decision textarea { width: 100%; padding: 11px; border: 1px solid #344252; border-radius: 5px; color: var(--text); background: #18212c; }
.admin-history p { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; color: var(--muted); }
.admin-history strong { color: var(--text); }
.admin-empty { min-height: 400px; display: grid; place-content: center; text-align: center; color: var(--muted); }
@media (max-width: 850px) { .admin-verification-shell { grid-template-columns: 1fr; } .admin-verification-shell > aside, .admin-verification-shell > section { min-height: 0; } .admin-data, .admin-decision { grid-template-columns: 1fr; } }
.account-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.account-tabs a { min-height: 52px; display: grid; place-items: center; color: var(--muted); text-decoration: none; font-weight: 850; }
.account-tabs a.active { color: var(--text); background: rgba(66,216,247,.08); box-shadow: inset 0 -2px var(--cyan); }
.account-copy { padding: 24px 24px 8px; }
.account-copy h1 { margin: 4px 0 8px; font-size: 28px; }
.account-copy p:last-child { color: var(--muted); line-height: 1.45; }
.account-form { display: grid; gap: 14px; padding: 14px 24px 22px; }
.account-form > label:not(.account-consent) { display: grid; gap: 7px; }
.account-form label > span { color: #cad5e5; font-size: 13px; font-weight: 750; }
.account-form input:not([type="checkbox"]) { width: 100%; min-height: 44px; padding: 0 12px; color: var(--text); background: #1d2430; border: 1px solid #394354; border-radius: 6px; }
.account-consent { display: flex; align-items: flex-start; gap: 9px; }
.account-consent input { margin-top: 3px; }
.account-form > button { min-height: 46px; }
.account-status { min-height: 18px; margin: 0; color: #a9dff1; font-size: 12px; }
.account-security { margin: 0; padding: 14px 24px; color: var(--muted); background: rgba(0,0,0,.16); border-top: 1px solid var(--line); font-size: 11px; line-height: 1.45; }
.checkout-method i { width: 16px; height: 16px; border: 2px solid #eff5ff; border-radius: 50%; }
.checkout-method.active i { border: 5px solid #4ea0ff; }
.checkout-method span { display: grid; }
.checkout-method b { font-size: 12px; }
.checkout-method small { color: #78aeea; font-size: 10px; }
.checkout-method > strong { font-size: 11px; }
.checkout-method.express > strong { padding: 6px 10px; color: #07111f; background: #55d4c6; border-radius: 4px; }
.card-brands { color: #eaf1ff; word-spacing: 7px; }
.checkout-separator { position: relative; height: 36px; display: grid; place-items: center; }
.checkout-separator::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid #2d313c; }
.checkout-separator span { position: relative; padding: 0 16px; background: #090a0e; font-size: 11px; }
.checkout-contact { display: grid; gap: 7px; margin-top: 18px; color: #c7d2e1; font-size: 12px; }
.checkout-contact input { min-height: 42px; padding: 0 12px; color: var(--text); background: #1d202b; border: 1px solid #3b4050; border-radius: 5px; }
.checkout-security { margin: 24px auto 0; color: #6e7685; text-align: center; font-size: 10px; }
.checkout-summary dl { margin: 0 0 28px; }
.checkout-summary dl > div { display: flex; justify-content: space-between; gap: 20px; padding: 9px 0; }
.checkout-summary dt { color: #bcc6d4; }
.checkout-summary dd { margin: 0; font-weight: 800; text-align: right; }
.checkout-summary .checkout-total { margin-top: 12px; padding-top: 18px; border-top: 1px solid #303442; font-size: 18px; }
.checkout-pay { width: 100%; min-height: 48px; padding: 0 14px; color: #11131a; background: #ffd16d; border: 0; border-radius: 6px; font-weight: 900; }
.checkout-pay:disabled { opacity: .45; }
.checkout-summary > p { color: #9da8b7; font-size: 10px; line-height: 1.45; }
.checkout-safe { display: grid; gap: 4px; margin-top: 48px; padding: 14px; background: #202430; border: 1px solid #303544; border-radius: 7px; }
.checkout-safe span { color: #aeb9c8; font-size: 11px; }

@media (max-width: 760px) {
  .secure-checkout { grid-template-columns: 1fr; }
  .checkout-main { width: 100%; padding: 20px 18px 30px; }
  .checkout-summary { padding: 24px 18px 40px; }
  .checkout-brand.mobile { display: none; }
  .checkout-method { grid-template-columns: 18px minmax(0,1fr); }
  .checkout-method > strong { grid-column: 2; }
}

.lol-card {
  background: linear-gradient(180deg, rgba(16, 23, 34, 0.9), rgba(45, 72, 42, 0.42));
}

.valo-card {
  background: linear-gradient(180deg, rgba(16, 23, 34, 0.9), rgba(86, 38, 46, 0.42));
}

.fc-card {
  background: linear-gradient(180deg, rgba(16, 23, 34, 0.9), rgba(20, 75, 99, 0.42));
}

.roblox-card {
  background: linear-gradient(180deg, rgba(16, 23, 34, 0.9), rgba(95, 72, 25, 0.42));
}

.osrs-card {
  background: linear-gradient(180deg, rgba(16, 23, 34, 0.9), rgba(114, 72, 25, 0.45));
}

.fortnite-card {
  background: linear-gradient(180deg, rgba(16, 23, 34, 0.9), rgba(40, 88, 160, 0.45));
}

.cs2-card {
  background: linear-gradient(180deg, rgba(16, 23, 34, 0.9), rgba(150, 96, 28, 0.45));
}

.steam-card {
  background: linear-gradient(180deg, rgba(16, 23, 34, 0.9), rgba(42, 101, 141, 0.45));
}

.catalog-layout,
.deal-room-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.33fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.deal-room-section {
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, 0.65fr);
}

.filter-panel {
  display: grid;
  gap: 12px;
}

.catalog-panel {
  display: grid;
  gap: 10px;
}

.product-row {
  padding: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.product-main h3 {
  margin-bottom: 4px;
}

.product-main p {
  margin-bottom: 0;
}

.seller-score,
.product-price {
  display: grid;
  gap: 2px;
  white-space: nowrap;
}

.seller-score span,
.product-price span {
  color: var(--muted);
  font-size: 13px;
}

.market-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, 0.65fr);
  gap: 18px;
  align-items: start;
}

.panel-head {
  margin-bottom: 18px;
}

.game-switch {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  margin-top: 12px;
}

.field span {
  color: #c9d9e4;
  font-size: 13px;
  font-weight: 850;
}

.field input,
.field select,
.field textarea,
.chat-compose input {
  width: 100%;
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
}

.field input,
.field select {
  min-height: 48px;
  padding: 0 12px;
}

.field textarea {
  min-height: 110px;
  padding: 12px;
  resize: vertical;
  line-height: 1.45;
}

.option-row {
  margin: 14px 0;
}

.option-row label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 10px;
  color: #d7e6ef;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.market-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.settlement-preview {
  display: grid;
  gap: 2px;
  color: var(--muted);
}

.settlement-preview strong {
  color: var(--lime);
  font-size: 30px;
}

.request-summary {
  display: grid;
  gap: 4px;
  padding: 14px;
  margin-bottom: 12px;
  background: rgba(66, 216, 247, 0.08);
  border: 1px solid rgba(66, 216, 247, 0.2);
  border-radius: 8px;
}

.request-summary span {
  color: var(--cyan);
  font-weight: 900;
}

.mini-offer,
.offer-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.offer-row.selected {
  border-color: rgba(215, 247, 84, 0.45);
}

.offer-row small,
.seller small,
.chat-head span,
.request-summary small {
  display: block;
  color: var(--muted);
  margin-top: 3px;
}

.avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #07111f;
  border-radius: 50%;
  font-weight: 950;
}

.avatar.blue {
  background: linear-gradient(135deg, var(--cyan), #2d6bff);
}

.avatar.lime {
  background: linear-gradient(135deg, var(--lime), #80f6a1);
}

.avatar.coral {
  background: linear-gradient(135deg, var(--coral), var(--amber));
}

.deal-room-section {
  padding-bottom: 18px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(124px, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.timeline span {
  min-height: 58px;
  display: grid;
  align-content: center;
  padding: 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 850;
}

.timeline span::before {
  content: "";
  width: 24px;
  height: 5px;
  margin-bottom: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.timeline span.done::before,
.timeline span.active::before {
  background: var(--cyan);
}

.timeline span.active {
  color: var(--text);
  border-color: rgba(66, 216, 247, 0.36);
}

.chat-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 12px;
}

.seller-list {
  display: grid;
  align-content: start;
  gap: 8px;
}

.seller {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 68px;
  padding: 10px;
  color: var(--text);
  text-align: left;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.seller.active {
  border-color: rgba(66, 216, 247, 0.42);
  background: rgba(66, 216, 247, 0.08);
}

.seller strong,
.seller small {
  grid-column: 2;
}

.chat-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.12);
}

.chat-head {
  min-height: 66px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid var(--line);
}

.messages {
  display: grid;
  gap: 10px;
  min-height: 230px;
  padding: 14px;
}

.message {
  max-width: 76%;
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  line-height: 1.45;
}

.message.system {
  max-width: 100%;
  color: #cfe0ea;
  background: rgba(66, 216, 247, 0.08);
  border: 1px solid rgba(66, 216, 247, 0.18);
}

.message.incoming {
  background: rgba(255, 255, 255, 0.08);
}

.message.outgoing {
  justify-self: end;
  color: #07111f;
  background: linear-gradient(135deg, var(--cyan), var(--lime));
}

.chat-compose {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 12px;
  border-top: 1px solid var(--line);
}

.chat-compose input {
  min-height: 42px;
  padding: 0 12px;
}

.ledger-row {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.ledger-row span,
.ledger-note {
  color: var(--muted);
}

.ledger-note {
  margin: 16px 0;
}

.final-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 62px;
  padding-top: 34px;
  padding-bottom: 34px;
  background: linear-gradient(135deg, rgba(8, 168, 232, 0.13), rgba(215, 247, 84, 0.1));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(130px, .25fr) minmax(0, 1fr) minmax(150px, .25fr);
  align-items: center;
  gap: 16px;
  padding-top: 26px;
  padding-bottom: 34px;
  color: var(--muted);
}

.site-footer > p {
  margin: 0;
  text-align: center;
}

.site-footer > p:last-child {
  justify-self: end;
  text-align: right;
}

.footer-legal-links {
  max-width: 100%;
  overflow-x: auto;
  white-space: nowrap;
  font-size: 13px;
}

/* League of Legends marketplace views */
body[data-game="lol"] .lol-market-layout {
  display: block;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 42px;
}

body[data-game="lol"] .lol-market-content {
  display: block !important;
}

body[data-custom-market="true"] .custom-market-layout {
  display: block;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 42px;
}

body[data-custom-market="true"] .game-market-content {
  display: block !important;
  min-width: 0;
}

.gm-segments,
.gm-sort {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gm-segments { margin: 10px 0 22px; }

.gm-segments button,
.gm-sort button {
  min-height: 38px;
  padding: 0 15px;
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #151c26;
  cursor: pointer;
}

.gm-segments button.active,
.gm-sort button.active {
  color: #07111f;
  border-color: transparent;
  background: linear-gradient(135deg, var(--cyan), var(--lime));
  font-weight: 900;
}

.gm-coins {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
  gap: 20px;
}

.gm-coins .lol-select {
  display: grid;
  max-width: 300px;
  margin-top: 18px;
}

.gm-coins .lol-select input {
  width: 100%;
  min-height: 44px;
  margin-top: 7px;
  padding: 0 13px;
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #1a222d;
  font: inherit;
}

.gm-coins p { color: var(--muted); }

.gm-offer-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 28px 0 14px;
}

.gm-offer-heading h2 { margin: 0; font-size: 20px; }

body[data-custom-market="true"] .lol-filter-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

body[data-custom-market="true"] .lol-clear { align-self: end; }

body[data-custom-market="true"] .lol-rank-config .rank-icon img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 340px !important;
  height: 191px !important;
  max-width: none !important;
  object-fit: contain;
  transform: translate(-50%, -50%);
}
body[data-custom-market="true"] .lol-rank-config .rank-icon { width: 88px; height: 88px; position: relative; overflow: hidden; }

@media (max-width: 900px) {
  body[data-custom-market="true"] .lol-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gm-coins { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body[data-custom-market="true"] .custom-market-layout { width: calc(100% - 20px); padding-top: 12px; }
  body[data-custom-market="true"] .lol-filter-grid { grid-template-columns: 1fr 1fr; gap: 7px; }
  .gm-offer-heading { align-items: stretch; flex-direction: column; }
  .gm-sort { display: grid; grid-template-columns: 1fr; }
}

/* Homepage trust and order support */
.home-trust,
.home-assurance {
  width: min(100% - 48px, 1416px);
  margin-inline: auto;
}

.home-trust {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.8fr);
  gap: 42px;
  padding: 54px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.home-trust-heading {
  align-self: start;
  position: sticky;
  top: 110px;
}

.home-trust-heading h2 {
  max-width: 420px;
  margin: 8px 0 14px;
  font-size: clamp(32px, 3.2vw, 48px);
  line-height: 1.02;
}

.home-trust-heading > p:last-child {
  max-width: 430px;
  color: var(--muted);
  line-height: 1.55;
}

.home-trust-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  padding: 10px 28px;
  border: 1px solid rgba(83, 212, 219, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(83, 212, 219, 0.08), transparent 38%),
    #0d1622;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.home-trust-list article {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  min-height: 130px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.home-trust-list article:nth-child(-n + 2) {
  border-top: 0;
}

.home-trust-list article > span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(83, 212, 219, 0.44);
  border-radius: 50%;
  color: var(--cyan);
  background: rgba(83, 212, 219, 0.08);
  font-weight: 900;
  font-size: 12px;
}

.gm-fulfillment {
  margin: 22px 0;
}

.gm-fulfillment > h2 {
  margin: 0 0 10px;
  font-size: 15px;
}

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

.gm-fulfillment-options button {
  display: grid;
  gap: 7px;
  min-height: 100px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  background: #151d29;
  text-align: left;
  cursor: pointer;
}

.gm-fulfillment-options button:hover,
.gm-fulfillment-options button.active {
  border-color: var(--cyan);
  background: rgba(83, 212, 219, 0.09);
}

.gm-fulfillment-options strong {
  align-self: end;
  font-size: 14px;
}

.gm-fulfillment-options span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.home-trust-list h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.home-trust-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.home-assurance {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  margin-top: 54px;
  margin-bottom: 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #0d1622;
}

.home-assurance article {
  min-height: 270px;
  padding: 36px 40px;
}

.home-assurance article + article {
  border-left: 1px solid var(--line);
}

.home-assurance .assurance-order {
  background: linear-gradient(115deg, rgba(83, 212, 219, 0.12), transparent 62%);
}

.home-assurance .assurance-support {
  background: linear-gradient(115deg, rgba(193, 255, 54, 0.09), transparent 66%);
}

.home-assurance h2 {
  max-width: 560px;
  margin: 8px 0 12px;
  font-size: clamp(26px, 2.5vw, 38px);
  line-height: 1.08;
}

.home-assurance article > p:not(.eyebrow) {
  max-width: 620px;
  min-height: 52px;
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.5;
}

.home-assurance a {
  display: inline-flex;
  width: auto;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

@media (max-width: 900px) {
  .home-trust {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .home-trust-heading {
    position: static;
  }

  .home-assurance {
    grid-template-columns: 1fr;
  }

  .home-assurance article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 620px) {
  .home-trust,
  .home-assurance {
    width: min(100% - 28px, 1416px);
  }

  .home-trust {
    padding: 38px 0;
  }

  .home-trust-list {
    grid-template-columns: 1fr;
    padding: 8px 20px;
  }

  .home-trust-list article,
  .home-trust-list article:nth-child(2) {
    min-height: 0;
    border-top: 1px solid var(--line);
  }

  .home-trust-list article:first-child {
    border-top: 0;
  }

  .home-assurance article {
    min-height: 0;
    padding: 30px 24px;
  }

  .home-assurance article > p:not(.eyebrow) {
    min-height: 0;
  }

  .gm-fulfillment-options {
    grid-template-columns: 1fr;
  }

  .gm-fulfillment-options button {
    min-height: 86px;
  }
}

body[data-game="lol"] .lol-market-content {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.lol-catalog-controls {
  display: grid;
  gap: 12px;
}

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

.lol-filter-grid.small {
  grid-template-columns: 190px 190px auto;
  justify-content: start;
}

.lol-select {
  min-width: 0;
}

.lol-select > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.lol-select select,
.lol-toolbar input,
.lol-toolbar select,
.lol-rank-config select,
.lol-rank-config input,
.lol-notes textarea {
  width: 100%;
  min-height: 42px;
  padding: 0 13px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #171e28;
  font: inherit;
}

.lol-clear {
  min-height: 42px;
  padding: 0 12px;
  color: var(--cyan);
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.lol-chips,
.lol-boost-tabs,
.lol-mode-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.lol-chips button,
.lol-boost-tabs button,
.lol-mode-tabs button {
  min-height: 32px;
  padding: 0 13px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #1a222d;
  cursor: pointer;
  white-space: nowrap;
}

.lol-boost-tabs button.active,
.lol-mode-tabs button.active {
  color: #07111f;
  border-color: transparent;
  background: linear-gradient(135deg, var(--cyan), var(--lime));
  font-weight: 900;
}

.lol-toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 330px) 1fr 210px;
  align-items: center;
  gap: 12px;
  margin-top: 2px;
}

.lol-toolbar span {
  color: var(--muted);
  font-size: 13px;
}

.lol-empty {
  min-height: 280px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  margin-top: 16px;
  padding: 36px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.lol-empty img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.lol-empty h2,
.lol-empty p { margin: 0; }
.lol-empty p { max-width: 560px; color: var(--muted); }

.lol-purchase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
  gap: 20px;
}

.lol-product-config,
.lol-order-summary,
.lol-boost-main,
.lol-boost-order,
.lol-trust {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #101722;
}

.lol-product-config { padding: 22px; }
.lol-product-config > .lol-select { display: block; max-width: 260px; }
.lol-product-config > h2 { margin: 22px 0 12px; font-size: 15px; }

.lol-pack-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.lol-pack {
  min-height: 128px;
  display: grid;
  justify-items: start;
  align-content: center;
  gap: 3px;
  padding: 14px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #171e28;
  cursor: pointer;
  text-align: left;
}

.lol-pack:hover,
.lol-pack.active { border-color: #e9bd4c; background: rgba(233, 189, 76, 0.12); }
.lol-pack img { width: 26px; height: 26px; object-fit: contain; margin-bottom: 9px; }
.lol-pack strong { font-size: 16px; }
.lol-pack span { color: var(--muted); font-size: 12px; }
.lol-pack.gift { min-height: 126px; }

.lol-order-summary {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 14px;
  padding: 20px;
}

.lol-order-summary > span { color: var(--muted); font-size: 13px; }
.lol-order-summary h2,
.lol-order-summary p { margin: 0; }
.lol-order-summary p { color: var(--muted); font-size: 13px; line-height: 1.45; }
.lol-order-summary .primary-action { width: 100%; min-height: 46px; }

.lol-step {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.lol-step > b {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #10131a;
  border-radius: 50%;
  background: #ffc94f;
  font-size: 18px;
}

.lol-step h2 { margin: 5px 0 12px; font-size: 15px; }

.lol-boost-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: start;
  gap: 20px;
}

.lol-boost-main { padding: 20px; }
.lol-boost-main > h2 { margin: 0 0 18px; font-size: 20px; }

.lol-rank-config {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.lol-rank-config article {
  min-width: 0;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: center;
  gap: 4px 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #151d28;
}

.lol-rank-config article > div { grid-row: 1 / span 2; }
.lol-rank-config .rank-icon { width: 88px; height: 88px; display: block; }
.lol-rank-config .rank-icon img {
  width: 340px !important;
  height: 191px !important;
  max-width: none !important;
  object-fit: contain;
}
.lol-rank-config article > span { color: var(--muted); font-size: 13px; }
.lol-rank-config article > strong { font-size: 22px; }
.lol-rank-config label { grid-column: 1 / -1; display: grid; gap: 6px; margin-top: 8px; font-size: 13px; font-weight: 800; }

.lol-notes { display: grid; gap: 7px; margin-top: 14px; font-size: 13px; font-weight: 800; }
.lol-notes textarea { min-height: 78px; padding-top: 12px; resize: vertical; }

.lol-boost-order {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 0;
  padding: 18px;
  border-top: 7px solid var(--cyan);
}

.lol-mode-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 14px; }
.lol-boost-order > label { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; border-bottom: 1px solid var(--line); }
.lol-boost-order input { width: 18px; height: 18px; accent-color: var(--cyan); }
.lol-boost-order .primary-action { min-height: 46px; margin-top: 18px; }

.lol-trust { margin-top: 18px; padding: 20px; }
.lol-trust h2 { margin: 0; font-size: 20px; }
.lol-trust > p { margin: 5px 0 18px; color: var(--muted); }
.lol-trust > div { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.lol-trust span { padding: 12px 0; border-top: 1px solid var(--line); }
.lol-trust span::first-letter { color: var(--lime); }

@media (max-width: 900px) {
  .lol-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lol-filter-grid.small { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lol-purchase-grid,
  .lol-boost-shell { grid-template-columns: 1fr; }
  .lol-order-summary,
  .lol-boost-order { position: static; }
  .lol-pack-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  body[data-game="lol"] .lol-market-layout { width: calc(100% - 20px); padding-top: 12px; }
  .lol-filter-grid,
  .lol-filter-grid.small { grid-template-columns: 1fr 1fr; gap: 7px; }
  .lol-toolbar { grid-template-columns: 1fr auto; }
  .lol-toolbar label { grid-column: 1 / -1; }
  .lol-toolbar select { max-width: 170px; }
  .lol-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 3px; }
  .lol-product-config { padding: 14px; }
  .lol-pack-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lol-pack { min-height: 112px; }
  .lol-rank-config { grid-template-columns: 1fr; }
  .lol-rank-config article { grid-template-columns: 76px minmax(0, 1fr); }
  .lol-rank-config .rank-icon { width: 72px; height: 72px; }
  .lol-rank-config article > strong { font-size: 19px; }
  .lol-trust > div { grid-template-columns: 1fr; }
  .lol-step { grid-template-columns: 28px minmax(0, 1fr); }
  .lol-step > b { width: 28px; height: 28px; font-size: 16px; }
}

.site-footer span {
  color: var(--text);
  font-weight: 950;
}

.site-footer strong {
  color: var(--cyan);
}

.site-footer a {
  color: var(--cyan);
  font-weight: 900;
  text-decoration: none;
}

.legal-page {
  padding-top: 34px;
}

.legal-hero {
  max-width: 1080px;
  padding: 42px 16px 24px;
}

.legal-hero h1 {
  font-size: clamp(40px, 5vw, 64px);
}

.support-page {
  padding-top: 34px;
}

.support-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.34fr);
  gap: 18px;
  align-items: end;
  padding: 42px 16px 28px;
  border-bottom: 1px solid var(--line);
}

.support-hero h1 {
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.04;
}

.support-language-card,
.support-panel,
.faq-item,
.recovery-list {
  min-width: 0;
  padding: 18px;
  background: rgba(16, 23, 34, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.support-language-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--lime);
  font-size: 22px;
}

.support-language-card p,
.support-panel p,
.faq-item p,
.recovery-list {
  color: #bfd0dc;
  line-height: 1.58;
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 18px;
  padding: 28px 16px 10px;
}

.support-scope {
  align-content: start;
}

.support-panel h2 {
  margin-bottom: 12px;
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.support-result {
  display: none;
  margin: 14px 0 0;
  padding: 12px;
  color: #dff7ff;
  background: rgba(66, 216, 247, 0.08);
  border: 1px solid rgba(66, 216, 247, 0.24);
  border-radius: 8px;
}

.support-result.is-visible {
  display: block;
}

.bot-panel {
  display: grid;
  gap: 14px;
}

.bot-quick-grid,
.evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.bot-quick,
.evidence-grid label {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 10px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
}

.bot-quick.is-active {
  color: #07111f;
  background: linear-gradient(135deg, var(--cyan), var(--lime));
  border-color: transparent;
}

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

.ticket-preview {
  line-height: 1.5;
}

.ticket-summary {
  display: grid;
  gap: 6px;
}

.ticket-summary strong {
  color: var(--lime);
  font-size: 18px;
}

.ticket-summary span {
  color: #dff7ff;
}

.ticket-summary p,
.ticket-note {
  margin: 6px 0 0;
  color: #bfd0dc;
}

.ticket-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.ticket-list li {
  padding: 7px 9px;
  color: #07111f;
  background: var(--lime);
  border-radius: 7px;
  font-size: 12px;
  font-weight: 950;
}

.payment-tool .primary-action.big {
  margin-top: 14px;
}

.secure-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
  color: #cfe0ea;
  font-size: 13px;
  line-height: 1.45;
}

.payment-page {
  padding-top: 34px;
}

.payment-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.32fr);
  gap: 18px;
  align-items: end;
  padding: 42px 16px 28px;
  border-bottom: 1px solid var(--line);
}

.payment-hero h1 {
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.04;
}

.payment-status-card {
  min-width: 0;
  padding: 18px;
  background: rgba(16, 23, 34, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.payment-status-card strong,
.payment-status-card span {
  display: block;
}

.payment-status-card strong {
  margin-bottom: 6px;
  color: var(--lime);
  font-size: 22px;
}

.payment-status-card span {
  color: #bfd0dc;
  line-height: 1.5;
}

.payment-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.48fr);
  gap: 18px;
  padding: 28px 16px 10px;
}

.payment-tool .field {
  align-content: start;
}

.payment-tool .field input,
.payment-tool .field select {
  align-self: start;
}

.payment-steps {
  display: grid;
  gap: 12px;
  margin: 16px 0;
  padding-left: 20px;
}

.payment-steps li {
  color: #bfd0dc;
  line-height: 1.45;
}

.payment-steps strong,
.payment-steps span {
  display: block;
}

.payment-steps strong {
  color: var(--text);
}

.payment-method-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.payment-method-list span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  color: #07111f;
  background: var(--lime);
  border-radius: 7px;
  font-size: 13px;
  font-weight: 950;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  color: var(--text);
  cursor: pointer;
  font-weight: 900;
}

.faq-item p {
  margin: 0;
  padding: 0 16px 16px;
}

.recovery-section {
  margin-bottom: 28px;
}

.recovery-list {
  display: grid;
  gap: 10px;
  padding-left: 42px;
}

.recovery-list li {
  padding-left: 6px;
}

.legal-hero p,
.legal-grid p {
  color: #bfd0dc;
  line-height: 1.6;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 0 16px 24px;
}

.legal-grid article {
  padding: 18px;
  background: rgba(16, 23, 34, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.legal-grid h2 {
  margin: 0 0 10px;
  max-width: 100%;
  font-size: 24px;
  line-height: 1.12;
  letter-spacing: 0;
}

.legal-grid article p {
  margin: 0;
}

.legal-grid article p + p {
  margin-top: 12px;
}

.horus-widget {
  position: fixed;
  right: 22px;
  bottom: 120px;
  z-index: 80;
  display: grid;
  justify-items: end;
  gap: 12px;
  pointer-events: none;
}

.horus-launcher,
.horus-panel {
  pointer-events: auto;
}

.horus-launcher {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 6px;
  color: #07111f;
  background: linear-gradient(135deg, var(--cyan), var(--lime));
  border: 0;
  border-radius: 999px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
  cursor: pointer;
  font: inherit;
  font-weight: 950;
}

.horus-launcher img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.horus-panel {
  width: min(386px, calc(100vw - 28px));
  max-height: min(680px, calc(100vh - 112px));
  display: grid;
  grid-template-rows: auto minmax(160px, 1fr) auto auto;
  overflow: hidden;
  background: rgba(10, 16, 25, 0.98);
  border: 1px solid rgba(66, 216, 247, 0.3);
  border-radius: 10px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.58);
}

.horus-panel[hidden] {
  display: none;
}

.horus-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 14px;
  background: rgba(66, 216, 247, 0.08);
  border-bottom: 1px solid var(--line);
}

.horus-head strong,
.horus-head span {
  display: block;
}

.horus-head strong {
  color: var(--text);
  font-size: 22px;
}

.horus-head span {
  color: #bfe2ef;
  font-size: 13px;
  font-weight: 800;
}

.horus-close {
  width: 34px;
  height: 34px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.horus-chat {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 190px;
  overflow: auto;
  padding: 14px;
}

.horus-message {
  display: grid;
  gap: 5px;
  max-width: 88%;
  padding: 10px 12px;
  color: #dff7ff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: 9px;
  line-height: 1.42;
  font-size: 14px;
}

.horus-message.user {
  justify-self: end;
  color: #07111f;
  background: var(--lime);
}

.horus-message.bot strong {
  color: var(--lime);
}

.horus-inline-action {
  justify-self: start;
  min-height: 32px;
  margin-top: 5px;
  padding: 0 10px;
  color: #07111f;
  background: linear-gradient(135deg, var(--cyan), var(--lime));
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 950;
}

.horus-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0 14px 12px;
}

.horus-options button {
  min-width: 0;
  min-height: 34px;
  padding: 7px 9px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: 7px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  line-height: 1.2;
  overflow-wrap: anywhere;
  font-weight: 900;
}

.horus-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
}

.horus-form input {
  min-width: 0;
  min-height: 42px;
  padding: 0 11px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
}

.horus-form button {
  min-height: 42px;
  padding: 0 12px;
  color: #07111f;
  background: var(--lime);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 950;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .mega-games,
  .recent-grid,
  .popular-directory {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-section,
  .gateway-layout,
  .stage-grid,
  .catalog-layout,
  .category-hero,
  .category-layout,
  .payment-hero,
  .payment-layout,
  .support-grid,
  .market-layout,
  .deal-room-section {
    grid-template-columns: 1fr;
  }

  .category-listing-row {
    grid-template-columns: minmax(0, 1fr) 120px 140px;
  }

  .category-listing-row .primary-action {
    grid-column: 1 / -1;
  }

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

@media (max-width: 760px) {
  .site-header,
  main,
  .site-footer {
    padding-left: 10px;
    padding-right: 10px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 120px;
  }

  .header-actions .secondary-action,
  .header-actions .primary-action,
  .header-actions .support-pill {
    display: none;
  }

  .search-box {
    grid-column: 1 / -1;
    order: 3;
  }

  .category-nav {
    grid-column: 1 / -1;
    order: 4;
    padding-bottom: 4px;
  }

  .mega-menu {
    display: none !important;
  }

  .hero-section {
    min-height: auto;
    padding-top: 28px;
    padding-bottom: 34px;
  }

  h1 {
    max-width: calc(100vw - 20px);
    font-size: 40px;
    line-height: 1.02;
  }

  h2 {
    font-size: 31px;
  }

  h3 {
    font-size: 20px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions,
  .proof-strip,
  .stage-head,
  .market-footer,
  .final-cta,
  .site-footer,
  .hero-offer,
  .panel-head,
  .chat-head,
  .product-row {
    align-items: stretch;
    flex-direction: column;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .site-footer > p:last-child {
    justify-self: center;
    text-align: center;
  }

  .primary-action.big,
  .ghost-link,
  .secondary-action,
  .mini-link {
    width: 100%;
  }

  .route-preview,
  .mini-market,
  .recent-grid,
  .popular-directory,
  .category-game-switch,
  .buyer-protection,
  .game-picker,
  .game-grid,
  .trust-grid,
  .game-switch,
  .form-grid,
  .bot-quick-grid,
  .evidence-grid,
  .timeline,
  .chat-grid,
  .chat-compose,
  .rank-path {
    grid-template-columns: 1fr;
  }

  .rank-path b {
    justify-self: center;
    transform: rotate(90deg);
  }

  .listing-card,
  .offer-row {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .listing-card {
    grid-template-columns: 1fr;
  }

  .listing-price {
    justify-items: start;
  }

  .offer-row b {
    grid-column: 2;
    justify-self: start;
  }

  .product-main,
  .category-card {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .category-hero,
  .category-layout,
  .game-service-bar,
  .category-game-strip,
  .payment-hero,
  .payment-layout,
  .category-game-switch,
  .buyer-protection,
  .marketplace-note {
    padding-left: 10px;
    padding-right: 10px;
  }

  .game-service-bar,
  .category-game-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .marketplace-note {
    margin-left: 10px;
    margin-right: 10px;
  }

  .listing-toolbar,
  .category-listing-row {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .listing-toolbar {
    flex-direction: column;
  }

  .boost-tabs {
    grid-template-columns: 1fr;
  }

  .message {
    max-width: 100%;
  }

  .market-hero {
    gap: 24px;
  }

  .hero-showcase {
    min-height: auto;
    display: grid;
    gap: 10px;
    padding: 0;
  }

  .showcase-bg {
    display: none;
  }

  .showcase-card {
    position: static;
    width: 100%;
  }

  .recent-section,
  .popular-directory {
    padding-left: 10px;
    padding-right: 10px;
  }

  .legal-hero {
    padding-left: 10px;
    padding-right: 10px;
  }

  .legal-hero h1 {
    font-size: 38px;
  }

  .legal-grid {
    grid-template-columns: 1fr;
    padding-left: 10px;
    padding-right: 10px;
  }

  .horus-widget {
    right: 6px;
    bottom: 14px;
  }

  .horus-launcher span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .horus-launcher {
    width: 42px;
    min-width: 42px;
    min-height: 42px;
    padding: 4px;
  }

  .horus-launcher img { width: 34px; height: 34px; }

  .horus-panel {
    width: calc(100vw - 24px);
    max-height: calc(100vh - 86px);
  }

}

@media (max-width: 820px) {
  .header-actions {
    flex-wrap: nowrap;
    gap: 6px;
  }

  .language-control {
    width: auto;
    padding-inline: 7px;
  }

  .language-control span { display: none; }

  .support-hero,
  .support-grid,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .support-hero,
  .support-grid {
    padding-left: 10px;
    padding-right: 10px;
  }
}

.verified-empty-state { min-height: 280px; display: flex; align-items: center; justify-content: center; gap: 20px; padding: 32px; border: 1px dashed var(--line-strong); border-radius: 8px; background: #101722; text-align: left; }
.verified-empty-state img { width: 72px; height: 72px; object-fit: contain; }
.verified-empty-state h2 { margin: 4px 0 8px; font-size: 24px; }
.verified-empty-state p:last-child { max-width: 560px; margin: 0; color: var(--muted); }
.verified-empty-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; }
.verified-empty-actions a { text-decoration: none; }
.account-dashboard { overflow: hidden; background: #111722; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.account-dashboard > header { padding: 24px; border-bottom: 1px solid var(--line); }
.account-dashboard > header h1 { margin: 4px 0 8px; font-size: 30px; }
.account-dashboard > header p:last-child { margin: 0; color: var(--muted); }
.account-dashboard-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.account-dashboard-tabs a { min-height: 46px; display: grid; place-items: center; padding: 8px; color: var(--muted); text-decoration: none; font-size: 12px; font-weight: 800; text-align: center; }
.account-dashboard-tabs a.active { color: var(--cyan); box-shadow: inset 0 -2px var(--cyan); background: rgba(66,216,247,.06); }
#accountDashboardContent { padding: 24px; }
.account-panel-form { display: grid; gap: 14px; }
.account-panel-form label { display: grid; gap: 7px; font-size: 12px; font-weight: 800; }
.account-panel-form input, .account-panel-form select { width: 100%; }
.account-order-list { display: grid; gap: 10px; }
.account-order-card { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; padding: 14px; border: 1px solid var(--line); border-radius: 7px; }
.account-order-card span { color: var(--muted); font-size: 12px; }
.account-real-empty { padding: 24px 12px; color: var(--muted); text-align: center; border: 1px dashed var(--line-strong); border-radius: 7px; }
@media (max-width: 560px) { .account-dashboard-tabs { grid-template-columns: repeat(2, 1fr); } }
.cart-page-body { min-height: 100vh; background: var(--bg); }
.cart-page-shell { width: min(820px, calc(100% - 28px)); margin: 0 auto; padding: 48px 0; }
.cart-page-shell > .checkout-brand { margin-bottom: 22px; }
.cart-page-panel { overflow: hidden; background: #111722; border: 1px solid var(--line); border-radius: 8px; }
.cart-page-panel > header { padding: 24px; border-bottom: 1px solid var(--line); }
.cart-page-panel h1 { margin: 4px 0 8px; }
.cart-page-panel header p:last-child { margin: 0; color: var(--muted); }
#cartPageContent { padding: 24px; }
.cart-page-list { display: grid; gap: 10px; }
.cart-page-list article { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 7px; }
.cart-page-list article div { min-width: 0; display: grid; gap: 4px; }
.cart-page-list small { overflow: hidden; color: var(--muted); text-overflow: ellipsis; }
.cart-page-list a, .cart-page-list button { color: var(--cyan); background: none; border: 0; cursor: pointer; font: inherit; text-decoration: none; }
@media (max-width: 620px) { .cart-page-list article { grid-template-columns: 1fr; align-items: start; } }

@media (max-width: 520px) {
  .site-header { column-gap: 6px; }
  .brand span { font-size: 19px; }
  .header-actions { gap: 4px; }
  .header-icon-button { width: 36px; height: 36px; flex-basis: 36px; }
  .language-control.header-language-control, .language-menu-toggle { width: 58px; height: 36px; }
  .language-menu-toggle { grid-template-columns: 16px 18px 12px; gap: 1px; padding-inline: 4px; }
  .language-menu-toggle svg, .header-icon-button > svg { width: 17px; height: 17px; }
  .language-menu-toggle strong { font-size: 10px; }
  .language-menu-popover { width: min(248px, calc(100vw - 20px)); }
  body[data-category="boosting"] .boost-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  body[data-category="boosting"] .boost-tabs::-webkit-scrollbar { display: none; }
  body[data-custom-market="true"] .lol-rank-config .rank-icon { width: 72px; height: 72px; }
  .verified-empty-state { min-height: 230px; align-items: flex-start; flex-direction: column; padding: 24px; }
}
.tebex-test-body {
  min-height: 100vh;
  margin: 0;
  background: #05090f;
  color: #f4f7fb;
}

.tebex-test-shell {
  width: min(680px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
}

.tebex-test-panel {
  margin-top: 28px;
  padding: 28px;
  border: 1px solid #293444;
  border-radius: 8px;
  background: #101722;
}

.tebex-test-panel h1 {
  margin: 14px 0 10px;
  font-size: 32px;
  letter-spacing: 0;
}

.tebex-test-panel > p { color: #aebed0; line-height: 1.55; }
.tebex-test-package { display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; margin: 24px 0; padding: 18px; border: 1px solid #344256; background: #181f2b; }
.tebex-test-package p { grid-column: 1 / -1; margin: 0; color: #aebed0; }
.tebex-return-link { display: inline-flex; width: auto; text-decoration: none; }

@media (max-width: 560px) {
  .tebex-test-shell { padding: 24px 0; }
  .tebex-test-panel { padding: 20px; }
  .tebex-test-panel h1 { font-size: 26px; }
  .tebex-test-package { grid-template-columns: 1fr; }
  .tebex-test-package p { grid-column: 1; }
}
