:root {
  font-family: 'Onest', sans-serif;
  color: #151923;
  background: #f4f5f7;
  color-scheme: light;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --bg: #f4f5f7;
  --surface: #ffffff;
  --surface-2: #eceff4;
  --ink: #151923;
  --muted: #667085;
  --line: #dfe3ea;
  --accent: #9a742f;
  --accent-hover: #7d5b20;
  --on-accent: #ffffff;
  --highlight: #4263d9;
  --gold: #d7b56d;
  --blue: #4263d9;
  --dark: #0b0f16;
  --dark-muted: #a5adbb;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 16px 40px rgba(21, 25, 35, .1);
  --display: 'Onest', sans-serif;
  --success: #16865b;
  --danger: #c33e54;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  color: #f2f3f5;
  background: #090c12;
  --bg: #090c12;
  --surface: #11161f;
  --surface-2: #1b2330;
  --ink: #f2f3f5;
  --muted: #98a2b3;
  --line: #273140;
  --accent: #d7b56d;
  --accent-hover: #ebcc8b;
  --on-accent: #111318;
  --highlight: #89a5ff;
  --dark: #06090e;
  --dark-muted: #a5adbb;
  --shadow: 0 20px 48px rgba(0, 0, 0, .32);
  --success: #66d6a5;
  --danger: #ff8397;
}

:root[data-style="terminal"] {
  font-family: 'IBM Plex Mono', monospace;
  --accent: #4169e1;
  --accent-hover: #6485ed;
  --on-accent: #fff;
  --highlight: #d7b56d;
  --radius: 0;
  --radius-lg: 0;
  --display: 'IBM Plex Mono', monospace;
}

:root[data-theme="dark"][data-style="terminal"] {
  --accent: #89a5ff;
  --accent-hover: #a9bcff;
}

:root[data-style="soft"] {
  --accent: #365ed8;
  --accent-hover: #2749b9;
  --on-accent: #fff;
  --highlight: #c8e7ff;
  --radius: 10px;
  --radius-lg: 22px;
  --shadow: 0 16px 36px rgba(23, 24, 21, .1);
}

:root[data-theme="dark"][data-style="soft"] {
  --accent: #89a5ff;
  --accent-hover: #a5b9ff;
  --on-accent: #11182e;
  --shadow: 0 16px 36px rgba(0, 0, 0, .24);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--ink); transition: background-color .2s, color .2s; }
button, input, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .48; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { display: block; }
[hidden] { display: none !important; }
::selection { background: var(--highlight); color: #171815; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.container { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }

.topline { background: var(--dark); color: var(--dark-muted); font-family: 'IBM Plex Mono', monospace; font-size: 10px; }
.topline__inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; }
.topline p { margin: 0; display: flex; align-items: center; gap: 9px; }
.status-dot { width: 7px; height: 7px; background: var(--highlight); }
.topline__links { display: flex; gap: 26px; }
.topline a:hover { color: #fff; }

.header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header__inner { min-height: 78px; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-size: 25px; font-weight: 800; letter-spacing: -1.6px; flex-shrink: 0; }
.logo__mark { width: 32px; height: 32px; display: grid; place-items: center; color: var(--accent); }
.logo__mark svg { width: 100%; height: 100%; }
.logo__dot { color: var(--accent); }
.header-search { margin-left: auto; width: min(300px, 25vw); height: 40px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); display: flex; align-items: center; gap: 9px; padding: 0 11px; color: var(--muted); }
.header-search:focus-within { border-color: var(--ink); }
.header-search svg { width: 18px; flex-shrink: 0; }
.header-search input { border: 0; outline: 0; background: transparent; width: 100%; min-width: 0; font-size: 11px; color: var(--ink); }
.header-search kbd { font-family: 'IBM Plex Mono', monospace; font-size: 10px; border: 1px solid var(--line); padding: 1px 5px; color: var(--muted); }
.header__nav { display: flex; align-items: center; gap: 19px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.header__nav > a { border-bottom: 1px solid transparent; padding-block: 5px; }
.header__nav > a:hover { color: var(--accent); border-color: var(--accent); }
.favorites-nav { display: flex; align-items: center; gap: 7px; background: none; border: 0; color: var(--ink); padding: 0; font-weight: 700; }
.favorites-nav:hover { color: var(--accent); }
.favorites-nav svg { width: 17px; }
.favorites-count { min-width: 19px; height: 19px; display: grid; place-items: center; background: var(--surface-2); color: var(--ink); font-family: 'IBM Plex Mono', monospace; font-size: 9px; }
.button { border: 1px solid transparent; border-radius: var(--radius); padding: 12px 19px; display: inline-flex; align-items: center; justify-content: center; gap: 13px; font-weight: 800; font-size: 11px; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button--dark { background: var(--ink); color: var(--surface); }
.button--dark:hover { background: var(--accent); color: var(--on-accent); }
.button--accent { background: var(--accent); color: var(--on-accent); }
.button--accent:hover { background: var(--accent-hover); }
.button--purple { background: var(--accent); color: var(--on-accent); }
.button--purple:hover { background: var(--accent-hover); }
.button--lime { background: var(--highlight); color: #171815; }
.button--lime:hover { background: #e4ff83; }
.button--outline { background: transparent; border-color: var(--line); color: var(--ink); }
.button--outline:hover { border-color: var(--ink); }
.header__login { padding: 10px 17px; }
.menu-button, .mobile-menu { display: none; }

.appearance { position: relative; }
.appearance__toggle { display: flex; align-items: center; gap: 7px; padding: 7px 0; border: 0; background: none; color: var(--ink); font-size: 11px; font-weight: 700; }
.appearance__toggle:hover { color: var(--accent); }
.appearance__toggle svg { width: 17px; }
.appearance__panel { position: absolute; top: calc(100% + 17px); right: 0; width: 300px; padding: 19px; background: var(--surface); border: 1px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); z-index: 30; }
.appearance__row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; font-size: 11px; }
.theme-options { display: flex; border: 1px solid var(--line); }
.theme-options button { border: 0; padding: 7px 9px; background: transparent; color: var(--muted); font-size: 10px; }
.theme-options button + button { border-left: 1px solid var(--line); }
.theme-options button.active { background: var(--ink); color: var(--surface); }
.appearance select { max-width: 150px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); color: var(--ink); padding: 7px 9px; font-size: 10px; }
.appearance__panel > p { margin: 4px 0 0; padding-top: 13px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; line-height: 1.5; }

.hero { margin-top: 30px; padding: 52px 54px; border: 1px solid var(--ink); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 1.2px; font-family: 'IBM Plex Mono', monospace; font-size: 9px; font-weight: 600; margin-bottom: 20px; }
.eyebrow span { color: var(--accent); border-right: 1px solid var(--line); padding-right: 12px; }
.hero h1 { font-family: var(--display); font-size: clamp(39px, 4.4vw, 62px); line-height: 1.02; letter-spacing: -3.6px; margin: 0 0 22px; max-width: 720px; }
.hero h1 span { color: var(--accent); }
.hero__description { color: var(--muted); font-size: 13px; line-height: 1.7; max-width: 510px; margin: 0 0 27px; }
.hero-search { width: min(560px, 100%); height: 56px; background: var(--bg); border: 1px solid var(--ink); border-radius: var(--radius); display: flex; align-items: center; padding: 5px 5px 5px 15px; gap: 11px; color: var(--muted); }
.hero-search:focus-within { box-shadow: 3px 3px 0 var(--accent); }
.hero-search svg { width: 20px; flex-shrink: 0; }
.hero-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 12px; }
.hero-search input::placeholder { color: var(--muted); }
.hero-search button { align-self: stretch; padding-inline: 21px; border: 0; border-radius: var(--radius); background: var(--accent); color: var(--on-accent); font-size: 11px; font-weight: 800; }
.hero-search button:hover { background: var(--accent-hover); }
.popular-search { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 14px; font-size: 10px; }
.popular-search > span { color: var(--muted); }
.popular-search button { border: 0; background: none; padding: 0; color: var(--ink); border-bottom: 1px solid var(--line); font-family: 'IBM Plex Mono', monospace; font-size: 10px; }
.popular-search button:hover { color: var(--accent); border-color: var(--accent); }
.hero__facts { display: flex; gap: 0; margin-top: 30px; border-top: 1px solid var(--line); padding-top: 19px; }
.hero__facts > span { display: flex; flex-direction: column; gap: 3px; padding-inline: 20px; border-left: 1px solid var(--line); color: var(--muted); font-size: 9px; }
.hero__facts > span:first-child { padding-left: 0; border-left: 0; }
.hero__facts b { color: var(--ink); font-family: 'IBM Plex Mono', monospace; font-size: 13px; }
.hero__board { background: var(--dark); color: #f1f2eb; border-radius: var(--radius); padding: 18px; box-shadow: 7px 7px 0 var(--accent); font-family: 'IBM Plex Mono', monospace; }
.board-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 15px; color: var(--dark-muted); font-size: 9px; }
.board-status { color: var(--highlight); border: 1px solid currentColor; padding: 4px 6px; text-transform: uppercase; }
.hero__board > img { width: 100%; height: 138px; object-fit: cover; filter: saturate(.8); }
.board-game { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 17px 0; border-bottom: 1px solid #383c34; }
.board-game strong, .board-game span { display: block; }
.board-game strong { font-family: 'Onest', sans-serif; font-size: 13px; margin-bottom: 4px; }
.board-game span { color: var(--dark-muted); font-size: 8px; }
.board-game > b { color: var(--highlight); font-size: 14px; white-space: nowrap; }
.board-details { margin: 7px 0 17px; }
.board-details > div { display: flex; justify-content: space-between; gap: 15px; padding: 7px 0; font-size: 8px; }
.board-details dt { color: var(--dark-muted); }
.board-details dd { margin: 0; text-align: right; }
.board-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.board-track span { height: 4px; background: #383c34; }
.board-track span.done { background: var(--highlight); }
.board-foot { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; color: var(--dark-muted); font-size: 6px; }

.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 31px; border-bottom: 1px solid var(--line); }
.trust-item { display: flex; justify-content: center; align-items: center; gap: 12px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item__icon { color: var(--accent); font-family: 'IBM Plex Mono', monospace; font-size: 18px; font-weight: 600; }
.trust-item:last-child .trust-item__icon { font-size: 13px; }
.trust-item b, .trust-item span { display: block; }
.trust-item b { font-size: 11px; margin-bottom: 3px; }
.trust-item div > span { font-size: 9px; color: var(--muted); }

.catalog { padding-top: 64px; padding-bottom: 72px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 26px; }
.section-kicker { display: block; color: var(--accent); font-family: 'IBM Plex Mono', monospace; font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.3px; margin-bottom: 9px; }
.section-kicker--lime { color: var(--highlight); }
h2 { font-family: var(--display); font-size: 31px; letter-spacing: -1.6px; line-height: 1.15; margin: 0; }
.all-games-link { font-size: 11px; font-weight: 700; border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.all-games-link span { color: var(--accent); margin-left: 8px; }
.all-games-link:hover { color: var(--accent); }
.catalog-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.tabs { display: flex; gap: 22px; flex-wrap: wrap; }
.tab { border: 0; border-bottom: 3px solid transparent; padding: 10px 0; background: transparent; color: var(--muted); font-size: 11px; font-weight: 700; }
.tab:hover { color: var(--ink); }
.tab.active { color: var(--accent); border-color: var(--accent); }
.catalog-count { color: var(--muted); font-family: 'IBM Plex Mono', monospace; font-size: 9px; }
.game-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 16px; }
.game-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); transition: transform .18s, box-shadow .18s, border-color .18s; }
.game-card:hover { transform: translate(-2px, -2px); border-color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.game-card__cover { height: 146px; position: relative; overflow: hidden; background: var(--surface-2); cursor: pointer; }
.game-card__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.game-card:hover .game-card__cover img { transform: scale(1.035); }
.game-card__badge { position: absolute; top: 10px; left: 10px; z-index: 2; background: var(--dark); border-radius: var(--radius); padding: 5px 7px; color: #fff; font-family: 'IBM Plex Mono', monospace; font-size: 8px; font-weight: 600; }
.game-card__badge--hot { background: var(--highlight); color: #171815; }
.favorite-button { position: absolute; top: 9px; right: 9px; z-index: 3; width: 30px; height: 30px; display: grid; place-items: center; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.5); background: rgba(23,24,21,.7); color: #fff; }
.favorite-button svg { width: 15px; }
.favorite-button:hover, .favorite-button.active { background: var(--surface); color: var(--accent); }
.favorite-button.active svg { fill: currentColor; }
.game-card__body { padding: 15px 15px 13px; cursor: pointer; }
.game-card__title { display: flex; justify-content: space-between; gap: 8px; align-items: center; margin-bottom: 10px; }
.game-card__title h3 { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: -.2px; }
.game-card__arrow { color: var(--muted); font-size: 15px; }
.game-card:hover .game-card__arrow { color: var(--accent); }
.game-card__categories { display: flex; flex-wrap: wrap; gap: 5px 10px; min-height: 29px; }
.game-card__categories span { color: var(--muted); font-size: 9px; position: relative; }
.game-card__categories span:not(:last-child)::after { content: '/'; position: absolute; right: -7px; color: var(--line); }
.game-card__footer { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--line); }
.game-card__offers { color: var(--muted); font-size: 8px; }
.game-card__rating { color: var(--muted); font-family: 'IBM Plex Mono', monospace; font-size: 9px; }
.game-card__rating span { color: var(--accent); margin-right: 3px; }
.catalog-more { display: flex; justify-content: center; margin-top: 29px; }
.catalog-more .button { min-width: 180px; }
.empty-state { text-align: center; padding: 52px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.empty-state__icon { color: var(--accent); font-family: 'IBM Plex Mono', monospace; font-size: 38px; margin-bottom: 12px; }
.empty-state h3 { margin: 0 0 7px; font-size: 18px; }
.empty-state p { color: var(--muted); font-size: 12px; margin: 0 0 20px; }

.how { background: var(--dark); color: #f1f2eb; border-radius: var(--radius-lg); padding: 50px 54px; display: grid; grid-template-columns: .85fr 1.15fr; gap: 75px; }
.how__intro h2 { font-size: 32px; line-height: 1.25; }
.how__intro h2 span { color: var(--highlight); }
.how__intro p { color: var(--dark-muted); font-size: 11px; line-height: 1.7; max-width: 340px; margin: 17px 0 25px; }
.steps { display: flex; flex-direction: column; }
.step { display: grid; grid-template-columns: 35px 48px 1fr; align-items: center; gap: 17px; padding: 23px 0; border-bottom: 1px solid #383c34; }
.step:first-child { padding-top: 3px; }
.step:last-child { border-bottom: 0; padding-bottom: 3px; }
.step__number { font-family: 'IBM Plex Mono', monospace; color: var(--highlight); font-size: 11px; }
.step__icon { width: 46px; height: 46px; border: 1px solid #454a40; display: grid; place-items: center; color: var(--highlight); }
.step__icon svg { width: 24px; }
.step h3 { font-size: 13px; margin: 0 0 7px; }
.step p { color: var(--dark-muted); font-size: 10px; line-height: 1.6; margin: 0; }

.reviews { padding-block: 68px; }
.reviews-score { display: flex; align-items: center; gap: 12px; }
.reviews-score > strong { font-family: 'IBM Plex Mono', monospace; font-size: 29px; }
.reviews-score div > span { display: block; color: var(--accent); letter-spacing: 2px; font-size: 11px; }
.reviews-score small { display: block; font-size: 8px; color: var(--muted); margin-top: 4px; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review-card { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: 21px; }
.review-card__top { display: flex; align-items: center; gap: 10px; }
.review-avatar { width: 35px; height: 35px; border-radius: var(--radius); display: grid; place-items: center; font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600; flex-shrink: 0; background: var(--surface-2); color: var(--ink); }
.review-card__top > div:nth-child(2) { flex: 1; }
.review-card__top b, .review-card__top div > span { display: block; }
.review-card__top b { font-size: 10px; margin-bottom: 3px; }
.review-card__top div > span { font-size: 8px; color: var(--muted); }
.review-stars { color: var(--accent); font-size: 8px; letter-spacing: 1px; }
.review-card p { color: var(--muted); font-size: 10px; line-height: 1.75; min-height: 53px; margin: 18px 0; }
.review-date { font-family: 'IBM Plex Mono', monospace; font-size: 8px; color: var(--muted); }

.mini-games { padding-bottom: 70px; }
.section-note { max-width: 340px; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.6; text-align: right; }
.mini-games__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.mini-game { border: 1px solid var(--ink); border-radius: var(--radius-lg); background: var(--surface); padding: 25px; position: relative; }
.mini-game.won { border-color: var(--accent); box-shadow: 5px 5px 0 var(--accent); }
.mini-game__header { display: grid; grid-template-columns: 30px 1fr auto; align-items: start; gap: 13px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.mini-game__number { color: var(--accent); font-family: 'IBM Plex Mono', monospace; font-size: 11px; padding-top: 4px; }
.mini-game__header h3 { margin: 0 0 5px; font-family: var(--display); font-size: 20px; letter-spacing: -.6px; }
.mini-game__header p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.5; }
.mini-game__reward { background: var(--highlight); color: #171815; padding: 6px 8px; font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 600; }
.vault-display { margin: 21px 0 12px; padding: 19px; background: var(--dark); color: #f1f2eb; text-align: center; font-family: 'IBM Plex Mono', monospace; }
.vault-display > span, .vault-display > small { display: block; color: var(--dark-muted); font-size: 8px; letter-spacing: 1.3px; }
.vault-display strong { display: block; color: var(--highlight); font-size: 48px; line-height: 1.2; letter-spacing: 6px; margin: 5px 0; }
.attempt-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; margin-bottom: 19px; }
.attempt-list span { height: 4px; background: var(--surface-2); }
.attempt-list span.spent { background: var(--accent); }
.vault-form > label { display: block; margin-bottom: 7px; color: var(--muted); font-size: 9px; }
.vault-form > div { display: flex; gap: 8px; }
.vault-form input { width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); color: var(--ink); padding: 0 12px; outline: 0; font-size: 11px; }
.vault-form input:focus { border-color: var(--ink); }
.game-message { min-height: 32px; margin: 15px 0 10px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.game-reset { border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--muted); padding: 3px 0; font-size: 9px; }
.game-reset:hover { color: var(--accent); border-color: var(--accent); }
.promo-code { margin: 13px 0 16px; padding: 14px; border: 1px dashed var(--accent); background: var(--bg); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 3px 15px; }
.promo-code > span { color: var(--muted); font-size: 9px; }
.promo-code strong { grid-row: span 2; color: var(--accent); font-family: 'IBM Plex Mono', monospace; font-size: 21px; letter-spacing: 1px; }
.promo-code small { color: var(--muted); font-size: 8px; }
.duel-score { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 15px; padding: 21px 0 13px; text-align: center; }
.duel-score > div { display: flex; align-items: center; justify-content: center; gap: 12px; }
.duel-score > div > span { color: var(--muted); font-size: 10px; }
.duel-score strong { font-family: 'IBM Plex Mono', monospace; font-size: 30px; }
.duel-score > span { color: var(--muted); font-family: 'IBM Plex Mono', monospace; font-size: 7px; text-transform: uppercase; }
.duel-round { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; background: var(--bg); border: 1px solid var(--line); padding: 15px; text-align: center; }
.duel-round small, .duel-round strong { display: block; }
.duel-round small { color: var(--muted); font-size: 8px; margin-bottom: 5px; }
.duel-round strong { font-size: 12px; }
.duel-round > span { color: var(--accent); font-family: 'IBM Plex Mono', monospace; font-size: 10px; }
.duel-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 13px; }
.duel-actions button { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); padding: 11px 7px; font-size: 10px; font-weight: 700; }
.duel-actions button:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }

.all-games { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 62px; }
.all-games__toggle { width: 100%; border: 0; background: transparent; padding: 25px 0; display: flex; align-items: center; justify-content: space-between; text-align: left; color: var(--ink); }
.all-games__toggle h2 { font-size: 21px; }
.all-games__toggle .section-kicker { margin-bottom: 5px; }
.all-games__arrow { width: 34px; height: 34px; border: 1px solid var(--line); display: grid; place-items: center; transition: transform .2s; }
.all-games__toggle[aria-expanded="true"] .all-games__arrow { transform: rotate(180deg); }
.alphabet-content { padding: 0 0 30px; }
.alphabet { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 22px; }
.alphabet button { width: 29px; height: 29px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--muted); font-family: 'IBM Plex Mono', monospace; font-size: 9px; }
.alphabet button:hover, .alphabet button.active { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.alphabet-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 25px; }
.alphabet-list button { background: none; border: 0; text-align: left; padding: 4px 0; color: var(--muted); font-size: 10px; }
.alphabet-list button:hover { color: var(--accent); }

.support { margin-bottom: 62px; background: var(--accent); color: var(--on-accent); border-radius: var(--radius-lg); padding: 30px 34px; display: flex; align-items: center; gap: 22px; }
.support__shape { display: none; }
.support__icon { width: 49px; height: 49px; display: grid; place-items: center; border: 1px solid currentColor; font-family: 'IBM Plex Mono', monospace; font-size: 21px; flex-shrink: 0; }
.support h2 { font-size: 21px; margin-bottom: 6px; }
.support p { margin: 0; opacity: .8; font-size: 10px; }
.support .button { margin-left: auto; flex-shrink: 0; }
:root[data-style="soft"] .support .button--lime { background: #fff; color: #2749b9; }

.footer { border-top: 1px solid var(--line); background: var(--surface); }
.footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr 1.25fr; gap: 40px; padding-block: 43px; }
.logo--footer { font-size: 21px; }
.logo--footer .logo__mark { width: 29px; height: 29px; }
.footer__brand p { color: var(--muted); font-size: 10px; line-height: 1.8; margin: 14px 0 0; }
.footer__column h3 { font-size: 10px; margin: 5px 0 16px; }
.footer__column a { display: block; color: var(--muted); font-size: 9px; margin-bottom: 11px; }
.footer__column a:hover { color: var(--accent); }
.footer__bottom { min-height: 58px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-family: 'IBM Plex Mono', monospace; font-size: 8px; }
.footer__bottom > div { display: flex; gap: 22px; }
.footer__bottom a:hover { color: var(--accent); }
.footer__made span { color: var(--accent); margin-left: 4px; }

dialog { border: 1px solid var(--ink); border-radius: var(--radius-lg); padding: 0; background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(9, 10, 8, .72); }
.dialog-close { position: absolute; top: 13px; right: 13px; z-index: 5; width: 32px; height: 32px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--ink); border-radius: var(--radius); font-size: 22px; line-height: 1; }
.game-dialog { width: min(620px, calc(100% - 32px)); overflow: visible; }
.game-dialog__hero { height: 155px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden; position: relative; }
.game-dialog__hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent, rgba(9,10,8,.85)); }
.game-dialog__hero img { width: 100%; height: 100%; object-fit: cover; }
.game-dialog__hero h2 { position: absolute; z-index: 2; bottom: 20px; left: 25px; color: #fff; font-size: 24px; }
.game-dialog__body { padding: 22px 25px 25px; background: var(--surface); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.game-dialog__meta { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; color: var(--muted); font-size: 10px; }
.game-dialog__meta span:first-child { color: var(--accent); }
.game-dialog__body h3 { margin: 0 0 10px; font-size: 12px; }
.offer-list { display: grid; gap: 8px; }
.offer { border: 1px solid var(--line); border-radius: var(--radius); padding: 13px; display: flex; align-items: center; gap: 12px; }
.offer__icon { width: 36px; height: 36px; display: grid; place-items: center; background: var(--surface-2); color: var(--accent); font-size: 17px; }
.offer__info { flex: 1; }
.offer__info b, .offer__info span { display: block; }
.offer__info b { font-size: 11px; margin-bottom: 3px; }
.offer__info span { font-size: 8px; color: var(--muted); }
.offer__price { font-size: 11px; white-space: nowrap; }
.offer button { border: 0; border-radius: var(--radius); padding: 9px 12px; background: var(--ink); color: var(--surface); font-size: 9px; font-weight: 700; }
.offer button:hover { background: var(--accent); color: var(--on-accent); }
.game-dialog__note { text-align: center; color: var(--muted); font-size: 8px; margin: 16px 0 0; }
.auth-dialog { width: min(410px, calc(100% - 32px)); padding: 32px; text-align: center; }
.auth-dialog__logo { display: flex; justify-content: center; margin-bottom: 15px; }
.auth-dialog__logo .logo__mark { width: 45px; height: 45px; }
.auth-dialog h2 { font-size: 22px; }
.auth-dialog > p { color: var(--muted); font-size: 10px; line-height: 1.6; margin: 9px 0 23px; }
.auth-dialog form { text-align: left; }
.auth-dialog form > label { display: block; font-size: 9px; font-weight: 700; margin-bottom: 14px; }
.auth-dialog form > label input { width: 100%; height: 43px; display: block; margin-top: 7px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); color: var(--ink); padding: 0 12px; outline: none; font-size: 11px; }
.auth-dialog form > label input:focus { border-color: var(--accent); }
.auth-options { display: flex; justify-content: space-between; align-items: center; font-size: 9px; margin-bottom: 18px; }
.auth-options label { color: var(--muted); }
.auth-options button { border: 0; background: none; color: var(--accent); padding: 0; font-size: 9px; }
.auth-dialog form > .button { width: 100%; }
.auth-note { display: block; color: var(--muted); font-size: 8px; margin-top: 15px; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 25px; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; display: flex; align-items: center; gap: 10px; background: var(--dark); color: #f1f2eb; border: 1px solid #454a40; border-radius: var(--radius); padding: 13px 18px; box-shadow: 5px 5px 0 var(--accent); font-size: 11px; transition: opacity .2s, transform .2s; max-width: calc(100% - 30px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast__icon { color: var(--highlight); font-size: 13px; font-weight: 800; flex-shrink: 0; }

:root[data-style="terminal"] h1,
:root[data-style="terminal"] h2,
:root[data-style="terminal"] h3 { letter-spacing: -1.5px; }
:root[data-style="terminal"] .hero h1 { text-transform: uppercase; font-size: clamp(33px, 3.8vw, 53px); }
:root[data-style="terminal"] .game-card__cover img { filter: grayscale(.8) contrast(1.1); }
:root[data-style="terminal"] .game-card:hover .game-card__cover img { filter: none; }
:root[data-style="terminal"] .button { font-family: 'IBM Plex Mono', monospace; text-transform: uppercase; }
:root[data-style="soft"] .hero { border-color: var(--line); }
:root[data-style="soft"] .game-card:hover { box-shadow: 0 10px 25px rgba(23,24,21,.12); transform: translateY(-3px); }
:root[data-style="soft"] .hero-search:focus-within { box-shadow: 0 0 0 3px var(--accent); }

@media (min-width: 1440px) {
  .game-card__cover { height: 158px; }
  .hero { min-height: 530px; }
}

@media (max-width: 1100px) {
  .header__inner { gap: 20px; }
  .header__nav { gap: 14px; }
  .header__nav > a, .favorites-nav span:not(.favorites-count) { display: none; }
  .appearance__toggle span { display: none; }
  .hero { padding: 44px 40px; gap: 40px; }
  .hero h1 { font-size: 43px; }
  .game-grid { grid-template-columns: repeat(3, 1fr); }
  .game-card__cover { height: 160px; }
  .trust-item { gap: 8px; }
  .trust-item b { font-size: 10px; }
  .how { gap: 42px; padding: 43px; }
}

@media (max-width: 800px) {
  .container { width: min(100% - 32px, 680px); }
  .topline__links { display: none; }
  .topline__inner { justify-content: center; }
  .header__inner { min-height: 66px; }
  .header-search, .header__login, .header__register, .favorites-nav { display: none; }
  .header__nav { margin-left: auto; }
  .menu-button { width: 35px; height: 35px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
  .menu-button span { width: 15px; height: 1px; background: var(--ink); }
  .mobile-menu { position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 14px 24px 20px; box-shadow: var(--shadow); }
  .mobile-menu.open { display: grid; }
  .mobile-menu a, .mobile-menu button { border: 0; border-bottom: 1px solid var(--line); background: none; padding: 13px 0; text-align: left; font-size: 12px; color: var(--ink); }
  .mobile-menu button:last-child { color: var(--accent); font-weight: 800; }
  .hero { grid-template-columns: 1fr; padding: 38px; gap: 35px; }
  .hero__content { text-align: left; }
  .hero h1 { font-size: clamp(36px, 7vw, 50px); }
  .hero__board { max-width: 480px; width: 100%; }
  .trust-row { grid-template-columns: repeat(2, 1fr); gap: 22px 0; }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item { justify-content: flex-start; padding-left: 20px; }
  .catalog { padding-top: 46px; }
  .game-grid { grid-template-columns: repeat(2, 1fr); }
  .game-card__cover { height: 170px; }
  .how { grid-template-columns: 1fr; gap: 35px; padding: 38px; }
  .how__intro h2 br { display: none; }
  .how__intro p { max-width: none; }
  .reviews-grid, .mini-games__grid { grid-template-columns: 1fr; }
  .review-card p { min-height: 0; }
  .section-note { max-width: 270px; }
  .alphabet-list { grid-template-columns: repeat(3, 1fr); }
  .support { padding: 27px; flex-wrap: wrap; }
  .support .button { margin-left: 71px; }
  .footer__top { grid-template-columns: 2fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { padding-block: 18px; gap: 15px; flex-wrap: wrap; }
}

@media (max-width: 540px) {
  .container { width: calc(100% - 28px); }
  .logo { font-size: 22px; }
  .logo__mark { width: 29px; height: 29px; }
  .header__inner { gap: 12px; }
  .header__nav { gap: 15px; }
  .appearance__panel { position: fixed; top: 75px; right: 14px; width: calc(100vw - 28px); }
  .hero { width: calc(100% - 20px); margin-top: 15px; padding: 29px 20px; box-shadow: 4px 4px 0 var(--ink); }
  :root[data-theme="dark"] .hero { box-shadow: 4px 4px 0 #080907; }
  :root[data-style="soft"] .hero { box-shadow: var(--shadow); }
  .hero h1 { font-size: 36px; letter-spacing: -2.2px; }
  :root[data-style="terminal"] .hero h1 { font-size: 29px; }
  .hero__description { font-size: 11px; }
  .hero-search { height: 52px; padding-left: 12px; gap: 8px; }
  .hero-search button { padding-inline: 14px; }
  .hero-search input { font-size: 10px; }
  .hero__facts > span { padding-inline: 10px; font-size: 7px; }
  .hero__facts b { font-size: 10px; }
  .hero__board { padding: 14px; }
  .hero__board > img { height: 125px; }
  .trust-row { padding-block: 25px; gap: 22px 0; }
  .trust-item { padding-left: 6px; gap: 8px; }
  .trust-item__icon { font-size: 14px; }
  .trust-item b { font-size: 8px; }
  .trust-item div > span { font-size: 7px; }
  .section-heading { align-items: flex-start; gap: 15px; }
  h2 { font-size: 24px; }
  .section-kicker { font-size: 8px; }
  .all-games-link { font-size: 9px; white-space: nowrap; }
  .catalog-toolbar { align-items: flex-start; gap: 10px; }
  .tabs { gap: 14px; }
  .tab { font-size: 9px; padding: 8px 0; }
  .catalog-count { display: none; }
  .game-grid { gap: 11px; }
  .game-card__cover { height: 105px; }
  .game-card__body { padding: 11px; }
  .game-card__title h3 { font-size: 11px; }
  .game-card__categories { gap: 4px 8px; }
  .game-card__categories span { font-size: 7px; }
  .game-card__categories span:not(:last-child)::after { right: -5px; }
  .game-card__badge { font-size: 6px; top: 8px; left: 8px; }
  .favorite-button { width: 26px; height: 26px; top: 7px; right: 7px; }
  .game-card__offers { font-size: 7px; }
  .how { width: calc(100% - 20px); padding: 30px 23px; }
  .how__intro h2 { font-size: 26px; }
  .step { grid-template-columns: 25px 40px 1fr; gap: 11px; }
  .step__icon { width: 38px; height: 38px; }
  .step h3 { font-size: 11px; }
  .step p { font-size: 8px; }
  .reviews { padding-block: 50px; }
  .reviews-score, .section-note { display: none; }
  .review-card__top { flex-wrap: wrap; }
  .mini-game { padding: 19px; }
  .mini-game__header { grid-template-columns: 24px 1fr auto; gap: 8px; }
  .mini-game__header h3 { font-size: 17px; }
  .mini-game__header p { font-size: 8px; }
  .promo-code { grid-template-columns: 1fr; }
  .promo-code strong { grid-row: auto; margin-block: 5px; }
  .duel-score { gap: 8px; }
  .duel-score > div { gap: 7px; }
  .duel-actions button { font-size: 9px; }
  .all-games { margin-bottom: 42px; }
  .all-games__toggle h2 { font-size: 17px; }
  .alphabet-list { grid-template-columns: repeat(2, 1fr); }
  .support { padding: 24px; gap: 15px; }
  .support__icon { width: 42px; height: 42px; }
  .support h2 { font-size: 17px; }
  .support p { font-size: 8px; line-height: 1.5; }
  .support .button { margin-left: 0; width: 100%; }
  .footer__top { gap: 25px 15px; }
  .footer__bottom > div { flex-wrap: wrap; gap: 10px; }
  .footer__made { display: none; }
  .offer { flex-wrap: wrap; }
  .offer__price { margin-left: 48px; }
  .offer button { margin-left: auto; }
  .auth-dialog { padding: 28px 22px; }
}

.cart-button { display: flex; align-items: center; gap: 7px; border: 0; background: none; color: var(--ink); padding: 0; font-size: 11px; font-weight: 700; }
.cart-button:hover { color: var(--accent); }
.cart-button svg { width: 18px; }
.cart-count { min-width: 20px; height: 20px; display: grid; place-items: center; padding-inline: 4px; background: var(--accent); color: var(--on-accent); font-family: 'IBM Plex Mono', monospace; font-size: 9px; }

.subscriptions { padding-bottom: 72px; }
.subscription-toolbar { margin-bottom: 24px; }
.subscription-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 17px; }
.subscription-card { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; transition: border-color .18s, transform .18s, box-shadow .18s; }
.subscription-card:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: 4px 4px 0 var(--ink); }
.subscription-card__visual { aspect-ratio: 16 / 9; padding: 15px; position: relative; overflow: hidden; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; background: var(--service-color); color: #fff; }
.subscription-card__visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,8,14,.04), rgba(5,8,14,.26)); pointer-events: none; }
.subscription-card__cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.service-mark { width: 43px; height: 43px; display: grid; place-items: center; flex-shrink: 0; border: 1px solid rgba(255,255,255,.65); background: #fff; color: var(--service-color); font-family: 'IBM Plex Mono', monospace; font-size: 15px; font-weight: 600; letter-spacing: -1px; }
.subscription-card__visual .service-mark { position: relative; z-index: 1; border-radius: 8px; border-color: rgba(255,255,255,.35); background: rgba(8,12,20,.52); color: #fff; backdrop-filter: blur(10px); }
.service-category { position: relative; z-index: 1; padding: 5px 7px; border-radius: 4px; background: rgba(8,12,20,.46); font-family: 'IBM Plex Mono', monospace; font-size: 8px; text-transform: uppercase; letter-spacing: .8px; text-shadow: 0 1px 4px rgba(0,0,0,.5); backdrop-filter: blur(8px); }
.service-watermark { position: absolute; right: -5px; bottom: -42px; color: #fff; opacity: .16; font-family: var(--display); font-size: 112px; font-weight: 800; line-height: 1; letter-spacing: -12px; pointer-events: none; }
.subscription-card__body { padding: 17px 16px 15px; }
.subscription-card__body h3 { min-height: 35px; margin: 0 0 8px; font-size: 14px; line-height: 1.25; letter-spacing: -.35px; }
.subscription-card__body > p { min-height: 47px; margin: 0 0 17px; color: var(--muted); font-size: 9px; line-height: 1.65; }
.subscription-card__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding-top: 13px; border-top: 1px solid var(--line); }
.subscription-card__bottom > span { display: flex; align-items: baseline; gap: 3px; white-space: nowrap; }
.subscription-card__bottom strong { font-family: 'IBM Plex Mono', monospace; font-size: 16px; }
.subscription-card__bottom small { color: var(--muted); font-size: 7px; }
.subscription-card__bottom button { display: flex; align-items: center; gap: 7px; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--ink); padding: 3px 0; font-size: 9px; font-weight: 700; }
.subscription-card__bottom button span { color: var(--service-color); }
.subscription-card__bottom button:hover { color: var(--service-color); border-color: var(--service-color); }

.subscription-dialog { width: min(570px, calc(100% - 32px)); overflow: hidden; }
.subscription-dialog__hero { display: flex; align-items: center; gap: 18px; min-height: 155px; padding: 26px; position: relative; overflow: hidden; border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: var(--service-color); color: #fff; }
.subscription-dialog__hero::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(6,9,15,.76), rgba(6,9,15,.12)); }
.subscription-dialog__cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.subscription-dialog__hero .service-mark { position: relative; z-index: 2; width: 58px; height: 58px; border-radius: 10px; border-color: rgba(255,255,255,.35); background: rgba(8,12,20,.5); color: #fff; font-size: 19px; backdrop-filter: blur(10px); }
.subscription-dialog__heading { position: relative; z-index: 2; }
.subscription-dialog__hero > div > span { font-family: 'IBM Plex Mono', monospace; font-size: 8px; text-transform: uppercase; letter-spacing: 1px; opacity: .8; }
.subscription-dialog__hero h2 { margin-top: 6px; font-size: 24px; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.subscription-dialog__body { padding: 24px 26px 26px; }
.subscription-dialog__description { margin: 0 0 17px; color: var(--muted); font-size: 11px; line-height: 1.65; }
.subscription-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; list-style: none; margin: 0 0 23px; padding: 0 0 21px; border-bottom: 1px solid var(--line); }
.subscription-features li { color: var(--muted); font-size: 8px; line-height: 1.5; }
.subscription-features li span { display: block; margin-bottom: 5px; color: var(--service-color); font-weight: 800; }
.subscription-dialog__body > h3 { margin: 0 0 10px; font-size: 11px; }
.plan-options { display: grid; gap: 7px; }
.plan-options > button { display: flex; align-items: center; justify-content: space-between; gap: 15px; width: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); color: var(--ink); padding: 12px 14px; text-align: left; }
.plan-options > button:hover { border-color: var(--ink); }
.plan-options > button.selected { border-color: var(--service-color); box-shadow: inset 3px 0 0 var(--service-color); }
.plan-options > button > span { font-size: 10px; font-weight: 700; }
.plan-options small { display: inline-block; margin-left: 9px; color: var(--service-color); font-family: 'IBM Plex Mono', monospace; font-size: 8px; font-weight: 500; }
.plan-options strong { font-family: 'IBM Plex Mono', monospace; font-size: 12px; }
.plan-summary { display: flex; align-items: center; justify-content: space-between; margin: 20px 0 14px; padding-top: 17px; border-top: 1px solid var(--line); }
.plan-summary > span { font-size: 11px; font-weight: 700; }
.plan-summary small { display: block; margin-top: 4px; color: var(--muted); font-size: 8px; font-weight: 400; }
.plan-summary strong { color: var(--service-color); font-family: 'IBM Plex Mono', monospace; font-size: 22px; }
.subscription-add { width: 100%; }
.subscription-dialog__note { margin: 12px 0 0; color: var(--muted); font-size: 8px; line-height: 1.5; text-align: center; }

.cart-dialog { position: fixed; inset: 0 0 0 auto; width: min(470px, 100%); max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; border-block: 0; border-right: 0; border-radius: 0; overflow-y: auto; }
.cart-layout { min-height: 100%; padding: 28px; position: relative; }
.cart-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 4px 45px 21px 0; border-bottom: 1px solid var(--line); }
.cart-header .section-kicker { margin-bottom: 5px; }
.cart-header__count { color: var(--muted); font-family: 'IBM Plex Mono', monospace; font-size: 10px; }
.cart-items { display: grid; }
.cart-item { padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-item__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.cart-item__top h3 { margin: 0 0 5px; font-size: 12px; line-height: 1.4; }
.cart-item__top p { margin: 0; color: var(--muted); font-size: 8px; line-height: 1.5; }
.cart-item__top > button { width: 23px; height: 23px; border: 1px solid var(--line); background: none; color: var(--muted); line-height: 1; }
.cart-item__top > button:hover { color: var(--accent); border-color: var(--accent); }
.cart-item__bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 13px; }
.cart-item__bottom > strong { font-family: 'IBM Plex Mono', monospace; font-size: 13px; }
.quantity { display: flex; align-items: center; border: 1px solid var(--line); }
.quantity button { width: 28px; height: 26px; border: 0; background: var(--bg); color: var(--ink); }
.quantity button:hover { background: var(--surface-2); }
.quantity span { min-width: 26px; text-align: center; font-family: 'IBM Plex Mono', monospace; font-size: 9px; }
.promo-form { padding: 19px 0; border-bottom: 1px solid var(--line); }
.promo-form > label, .checkout-form > label { display: block; margin-bottom: 7px; color: var(--muted); font-size: 9px; }
.promo-form > div { display: flex; }
.promo-form input { width: 100%; min-width: 0; height: 38px; border: 1px solid var(--line); border-right: 0; background: var(--bg); color: var(--ink); padding: 0 11px; outline: 0; font-family: 'IBM Plex Mono', monospace; font-size: 9px; text-transform: uppercase; }
.promo-form input:focus { border-color: var(--ink); }
.promo-form button { border: 1px solid var(--ink); background: var(--ink); color: var(--surface); padding-inline: 12px; font-size: 9px; font-weight: 700; }
.promo-applied { display: block; margin-top: 8px; color: var(--accent); font-size: 8px; }
.cart-summary { margin: 0; padding: 17px 0; border-bottom: 1px solid var(--line); }
.cart-summary > div { display: flex; justify-content: space-between; gap: 20px; padding: 5px 0; color: var(--muted); font-size: 10px; }
.cart-summary dd { margin: 0; font-family: 'IBM Plex Mono', monospace; }
.cart-summary .cart-summary__total { margin-top: 8px; padding-top: 13px; border-top: 1px solid var(--line); color: var(--ink); font-size: 14px; font-weight: 800; }
.cart-summary__total dd { color: var(--accent); font-size: 18px; }
.checkout-form { padding-top: 19px; }
.checkout-form > input { width: 100%; height: 42px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); padding: 0 12px; outline: 0; font-size: 11px; }
.checkout-form > input:focus { border-color: var(--accent); }
.checkout-form > .button { width: 100%; margin-top: 11px; }
.checkout-form > small { display: block; margin-top: 11px; color: var(--muted); font-size: 8px; line-height: 1.5; text-align: center; }
.cart-empty { padding: 80px 15px 30px; text-align: center; }
.cart-empty__icon { width: 55px; height: 55px; display: grid; place-items: center; margin: 0 auto 18px; border: 1px solid var(--line); color: var(--muted); font-family: 'IBM Plex Mono', monospace; font-size: 20px; }
.cart-empty h3 { margin: 0 0 8px; font-size: 18px; }
.cart-empty p { margin: 0 0 21px; color: var(--muted); font-size: 10px; line-height: 1.7; }
.order-complete { min-height: calc(100dvh - 90px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.order-complete__mark { width: 62px; height: 62px; display: grid; place-items: center; margin-bottom: 23px; background: var(--highlight); color: #171815; font-size: 28px; }
.order-complete h2 { margin-bottom: 13px; }
.order-complete p { max-width: 310px; margin: 0 0 18px; color: var(--muted); font-size: 10px; line-height: 1.7; }
.order-complete > strong { margin-bottom: 26px; color: var(--accent); font-family: 'IBM Plex Mono', monospace; font-size: 25px; }

@media (max-width: 1100px) {
  .subscription-grid { grid-template-columns: repeat(3, 1fr); }
  .cart-button > span:not(.cart-count) { display: none; }
}

@media (max-width: 800px) {
  .subscription-grid { grid-template-columns: repeat(2, 1fr); }
  .cart-dialog { width: min(470px, calc(100% - 32px)); }
}

@media (max-width: 540px) {
  .subscription-grid { grid-template-columns: 1fr; }
  .subscription-card__body h3, .subscription-card__body > p { min-height: 0; }
  .subscription-card__body > p { margin-bottom: 13px; }
  .subscription-dialog__hero { padding: 22px 18px; }
  .subscription-dialog__hero h2 { font-size: 19px; }
  .subscription-dialog__body { padding: 20px 18px; }
  .subscription-features { gap: 10px; }
  .plan-options > button { padding: 11px; }
  .plan-options small { display: block; margin: 4px 0 0; }
  .cart-dialog { width: 100%; }
  .cart-layout { padding: 23px 19px; }
}

.header-search { width: min(260px, 22vw); }
.header__nav { gap: 16px; }

.motion-scene { min-height: 390px; position: relative; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--dark); perspective: 950px; }
.motion-scene__grid { position: absolute; inset: 0; opacity: .17; background-image: linear-gradient(rgba(111,140,255,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(111,140,255,.35) 1px, transparent 1px); background-size: 34px 34px; transform: perspective(500px) rotateX(62deg) scale(1.5); transform-origin: bottom; }
.motion-scene__ring { position: absolute; width: 290px; height: 290px; border: 1px solid rgba(111,140,255,.42); border-radius: 50%; transform: rotateX(67deg); animation: scene-ring 12s linear infinite; }
.motion-scene__ring--two { width: 215px; height: 215px; border-color: rgba(215,181,109,.5); animation-direction: reverse; animation-duration: 9s; }
.motion-scene__object { width: 360px; height: 340px; position: relative; transform-style: preserve-3d; transform: rotateX(var(--scene-rx, -12deg)) rotateY(var(--scene-ry, 18deg)); transition: transform .16s ease-out; touch-action: pan-y; will-change: transform; }
.treasure-platform { position: absolute; left: 20px; top: 110px; width: 320px; height: 320px; display: grid; place-items: center; border: 2px solid rgba(215,181,109,.72); border-radius: 50%; background: radial-gradient(circle, rgba(33,50,82,.95), rgba(9,14,25,.96) 62%, #050910 72%); box-shadow: 0 0 32px rgba(68,99,177,.22), inset 0 0 36px rgba(215,181,109,.12); transform: rotateX(90deg) translateZ(-10px); }
.treasure-platform::before { content: ''; position: absolute; inset: 13px; border: 1px solid rgba(137,165,255,.38); border-radius: 50%; }
.treasure-platform::after { content: ''; position: absolute; inset: 30px; border: 1px dashed rgba(215,181,109,.26); border-radius: 50%; }
.treasure-platform > span { color: rgba(215,181,109,.5); font-family: 'IBM Plex Mono', monospace; font-size: 13px; letter-spacing: 5px; }
.treasure-chest { position: absolute; left: 60px; top: 38px; width: 240px; height: 260px; transform-style: preserve-3d; animation: treasure-spin 16s linear infinite; }
.treasure-chest__face { position: absolute; top: 125px; overflow: hidden; border: 2px solid #b89450; background: linear-gradient(145deg, #172238, #080d17 70%); color: var(--gold); box-shadow: inset 0 0 28px rgba(60,91,157,.18); backface-visibility: visible; }
.treasure-chest__face::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(215,181,109,.8) 0 5px, transparent 5px calc(100% - 5px), rgba(215,181,109,.8) calc(100% - 5px)); }
.treasure-chest__face::after { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(215,181,109,.35); pointer-events: none; }
.treasure-chest__face--front, .treasure-chest__face--back { left: 30px; width: 180px; height: 96px; }
.treasure-chest__face--front { transform: translateZ(60px); }
.treasure-chest__face--back { display: grid; place-items: center; transform: rotateY(180deg) translateZ(60px); }
.treasure-chest__face--right, .treasure-chest__face--left { left: 60px; width: 120px; height: 96px; display: flex; flex-direction: column; justify-content: center; gap: 13px; padding: 22px; }
.treasure-chest__face--right { transform: rotateY(90deg) translateZ(90px); }
.treasure-chest__face--left { transform: rotateY(-90deg) translateZ(90px); }
.treasure-chest__face--right > span, .treasure-chest__face--left > span { height: 2px; background: rgba(215,181,109,.4); }
.treasure-chest__bottom { position: absolute; left: 30px; top: 161px; width: 180px; height: 120px; border: 2px solid #b89450; background: #080d17; transform: rotateX(90deg); }
.treasure-chest__inside { position: absolute; left: 30px; top: 65px; width: 180px; height: 120px; border: 2px solid var(--gold); background: radial-gradient(circle, rgba(255,220,135,.9), rgba(87,111,188,.38) 42%, #0a1020 74%); box-shadow: 0 0 40px rgba(215,181,109,.48), inset 0 0 24px rgba(255,220,135,.65); transform: rotateX(90deg); }
.treasure-chest__lock { position: absolute; left: 50%; top: 24px; width: 42px; height: 48px; display: grid; place-items: center; border: 2px solid #f0d28f; border-radius: 6px; background: linear-gradient(145deg, #d7b56d, #8d672d); box-shadow: 0 0 18px rgba(215,181,109,.28); transform: translateX(-50%); }
.treasure-chest__lock::before { content: ''; position: absolute; left: 9px; top: -15px; width: 18px; height: 20px; border: 3px solid #d7b56d; border-bottom: 0; border-radius: 10px 10px 0 0; }
.treasure-chest__lock i { color: #101725; font-family: 'IBM Plex Mono', monospace; font-size: 17px; font-style: normal; font-weight: 600; }
.treasure-chest__face--front > small { position: absolute; left: 0; right: 0; bottom: 10px; color: #d7b56d; font-family: 'IBM Plex Mono', monospace; font-size: 6px; letter-spacing: 2px; text-align: center; }
.treasure-chest__back-mark { color: rgba(215,181,109,.7); font-family: 'IBM Plex Mono', monospace; font-size: 24px; letter-spacing: 3px; }
.treasure-chest__lid { position: absolute; left: 30px; top: 60px; width: 180px; height: 65px; transform-style: preserve-3d; transform-origin: 50% 100% -60px; transform: rotateX(72deg); }
.treasure-chest__lid-face { position: absolute; inset: 0; border: 2px solid #b89450; background: linear-gradient(145deg, #1b2943, #080d17 75%); backface-visibility: visible; }
.treasure-chest__lid-face--front { display: flex; align-items: center; justify-content: space-between; padding: 18px; color: var(--gold); transform: translateZ(60px); }
.treasure-chest__lid-face--front::after { content: ''; position: absolute; inset: 8px; border: 1px solid rgba(215,181,109,.35); }
.treasure-chest__lid-face--front > span { font-family: 'IBM Plex Mono', monospace; font-size: 8px; letter-spacing: 2px; }
.treasure-chest__lid-face--front > i { color: var(--highlight); font-size: 22px; font-style: normal; }
.treasure-chest__lid-face--back { transform: rotateY(180deg) translateZ(60px); }
.treasure-chest__lid-face--inside { display: grid; place-items: center; background: radial-gradient(circle, #23345a, #0b1220 72%); color: var(--gold); transform: rotateY(180deg) translateZ(59px); }
.treasure-chest__lid-face--inside::after { content: ''; position: absolute; inset: 9px; border: 1px solid rgba(215,181,109,.5); }
.treasure-chest__lid-face--inside > span { font-size: 30px; text-shadow: 0 0 20px rgba(215,181,109,.6); }
.treasure-chest__lid-face--right, .treasure-chest__lid-face--left { left: 30px; width: 120px; }
.treasure-chest__lid-face--right { transform: rotateY(90deg) translateZ(90px); }
.treasure-chest__lid-face--left { transform: rotateY(-90deg) translateZ(90px); }
.treasure-chest__lid-face--top { top: -27px; height: 120px; background: linear-gradient(145deg, #1c2b47, #090f1c); transform: rotateX(90deg) translateZ(32px); }
.treasure-chest__lid-face--top::after { content: ''; position: absolute; inset: 12px; border: 1px solid rgba(215,181,109,.32); }
.treasure-chest__hinge { position: absolute; left: 30px; top: 119px; width: 180px; height: 8px; border: 1px solid #f0d28f; border-radius: 5px; background: linear-gradient(#d7b56d, #785526); box-shadow: 0 0 10px rgba(215,181,109,.3); transform: translateZ(-60px); }
.treasure-loot { position: absolute; inset: 0; transform-style: preserve-3d; }
.loot-currency { position: absolute; width: 34px; height: 34px; display: grid; place-items: center; border: 2px solid #f0d28f; border-radius: 50%; background: linear-gradient(145deg, #e3c278, #8f662d); color: #132039; font-family: 'IBM Plex Mono', monospace; font-size: 9px; font-weight: 600; box-shadow: 0 0 14px rgba(215,181,109,.38); }
.loot-currency--one { left: 72px; top: 95px; transform: translateZ(42px) rotateY(-18deg); }
.loot-currency--two { left: 116px; top: 84px; transform: translateZ(28px) rotateY(20deg); }
.loot-currency--three { left: 150px; top: 106px; transform: translateZ(52px) rotateY(-12deg); }
.loot-currency--four { left: 94px; top: 111px; transform: translateZ(72px); }
.loot-gem { position: absolute; color: var(--highlight); font-size: 31px; text-shadow: 0 0 16px rgba(137,165,255,.7); }
.loot-gem--one { left: 159px; top: 72px; transform: translateZ(25px) rotateZ(15deg); }
.loot-gem--two { left: 64px; top: 80px; color: var(--gold); transform: translateZ(32px) rotateZ(-12deg); }
.loot-promo { position: absolute; width: 65px; height: 38px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--gold); border-radius: 5px; background: linear-gradient(145deg, #203253, #0c1425); color: #f3d898; box-shadow: 0 0 16px rgba(67,96,165,.35); font-family: 'IBM Plex Mono', monospace; }
.loot-promo::before, .loot-promo::after { content: ''; position: absolute; top: 13px; width: 7px; height: 12px; background: #0b1220; }
.loot-promo::before { left: -3px; }
.loot-promo::after { right: -3px; }
.loot-promo small { font-size: 6px; letter-spacing: 1px; }
.loot-promo strong { margin-top: 2px; font-size: 13px; }
.loot-promo--one { left: 42px; top: 93px; transform: translateZ(76px) rotateZ(-10deg); }
.loot-promo--two { left: 121px; top: 67px; transform: translateZ(34px) rotateZ(8deg); }
.treasure-chest__beam { position: absolute; left: 65px; top: -15px; width: 110px; height: 175px; background: radial-gradient(ellipse at 50% 80%, rgba(244,211,133,.42), rgba(104,136,229,.09) 45%, transparent 70%); filter: blur(7px); transform: translateZ(-5px); animation: treasure-glow 3s ease-in-out infinite; }
.treasure-coin { position: absolute; width: 42px; height: 42px; display: grid; place-items: center; border: 3px double #f0d28f; border-radius: 50%; background: linear-gradient(145deg, #efd18b, #9b7032); color: #172036; font-family: 'IBM Plex Mono', monospace; font-size: 6.5px; font-weight: 600; box-shadow: 0 0 18px rgba(215,181,109,.3), inset 0 0 0 3px rgba(80,52,16,.18); }
.treasure-coin--one { left: 5px; top: 100px; transform: translateZ(90px); animation: treasure-coin-one 4.5s ease-in-out infinite; }
.treasure-coin--two { right: 4px; top: 82px; transform: translateZ(65px) scale(.82); animation: treasure-coin-two 5s ease-in-out infinite; }
.treasure-coin--three { right: 24px; top: 182px; transform: translateZ(105px) scale(.65); animation: treasure-coin-three 4s ease-in-out infinite; }
.scene-coin { position: absolute; width: 50px; height: 50px; display: grid; place-items: center; border: 3px double #f0d28f; border-radius: 50%; background: linear-gradient(145deg, #efd18b, #95692e); color: #162139; font-family: 'IBM Plex Mono', monospace; font-size: 7px; font-weight: 600; box-shadow: 0 0 20px rgba(215,181,109,.32), inset 0 0 0 3px rgba(80,52,16,.18); animation: scene-coin-float 4s ease-in-out infinite; }
.scene-coin--one { left: 3px; top: 228px; transform: translateZ(80px) rotateY(-18deg); }
.scene-coin--two { right: 6px; top: 208px; transform: translateZ(60px) rotateY(18deg) scale(.82); animation-delay: -1s; }
.scene-coin--three { left: 40px; top: 95px; transform: translateZ(35px) scale(.66); animation-delay: -2s; }
.scene-coin--four { right: 34px; top: 70px; transform: translateZ(50px) scale(.7); animation-delay: -3s; }
@keyframes scene-coin-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -13px; } }
.treasure-spark { position: absolute; color: var(--gold); text-shadow: 0 0 12px currentColor; animation: treasure-spark 2.4s ease-in-out infinite; }
.treasure-spark--one { left: 28px; top: 46px; transform: translateZ(40px); }
.treasure-spark--two { right: 20px; top: 25px; color: var(--highlight); transform: translateZ(75px); animation-delay: -.8s; }
.treasure-spark--three { right: 4px; top: 145px; font-size: 9px; transform: translateZ(100px); animation-delay: -1.5s; }
.motion-scene__hint { position: absolute; left: 15px; bottom: 13px; color: #a0a7b3; font-family: 'IBM Plex Mono', monospace; font-size: 7px; letter-spacing: .7px; }
@keyframes treasure-spin { from { transform: rotateX(-7deg) rotateY(0deg); } to { transform: rotateX(-7deg) rotateY(360deg); } }
@keyframes treasure-glow { 0%, 100% { opacity: .65; } 50% { opacity: 1; } }
@keyframes treasure-coin-one { 0%, 100% { transform: translateZ(90px) translateY(0) rotateY(0); } 50% { transform: translateZ(105px) translateY(-15px) rotateY(180deg); } }
@keyframes treasure-coin-two { 0%, 100% { transform: translateZ(65px) translateY(0) rotateY(0) scale(.82); } 50% { transform: translateZ(80px) translateY(14px) rotateY(-180deg) scale(.82); } }
@keyframes treasure-coin-three { 0%, 100% { transform: translateZ(105px) translateY(0) rotateY(0) scale(.65); } 50% { transform: translateZ(115px) translateY(-12px) rotateY(180deg) scale(.65); } }
@keyframes treasure-spark { 0%, 100% { opacity: .25; scale: .75; } 50% { opacity: 1; scale: 1.15; } }
@keyframes scene-ring { to { transform: rotateX(67deg) rotateZ(360deg); } }

.black-club { margin-bottom: 72px; padding: 55px 58px; display: grid; grid-template-columns: 1fr 1fr; gap: 55px; align-items: center; overflow: hidden; border: 1px solid #3c3426; border-radius: var(--radius-lg); background: #07090d; color: #f0ede5; }
.black-club__eyebrow { display: block; margin-bottom: 17px; color: var(--gold); font-family: 'IBM Plex Mono', monospace; font-size: 9px; letter-spacing: 1.5px; }
.black-club h2 { font-size: clamp(31px, 3vw, 43px); line-height: 1.1; }
.black-club h2 span { color: var(--gold); }
.black-club__content > p { max-width: 470px; margin: 20px 0 24px; color: #a0a7b3; font-size: 11px; line-height: 1.75; }
.black-club__content ul { list-style: none; margin: 0 0 27px; padding: 0; }
.black-club__content li { display: flex; gap: 14px; padding: 10px 0; border-bottom: 1px solid #252a33; font-size: 10px; }
.black-club__content li span { color: var(--highlight); font-family: 'IBM Plex Mono', monospace; font-size: 8px; }
.black-club__button { border-color: var(--gold); background: var(--gold); color: #090b10; }
.black-club__button span { padding-left: 15px; border-left: 1px solid rgba(9,11,16,.3); font-family: 'IBM Plex Mono', monospace; font-size: 9px; }
.black-club__button:hover { background: #ebcc8b; }
.black-club__content > small { display: block; margin-top: 11px; color: #7e8592; font-size: 8px; }
.black-card-model { min-height: 390px; position: relative; display: grid; place-items: center; perspective: 1000px; touch-action: pan-y; }
.black-card-model__orbit { position: absolute; width: 360px; height: 360px; border: 1px solid rgba(111,140,255,.35); border-radius: 50%; transform: rotateX(68deg); }
.black-card-model__card { width: 320px; height: 190px; position: relative; transform-style: preserve-3d; transform: rotateX(var(--card-rx, 57deg)) rotateY(var(--card-ry, 0deg)) rotateZ(-17deg); animation: black-card-float 6s ease-in-out infinite; will-change: transform; }
.black-card-model__face { position: absolute; inset: 0; padding: 24px; border: 1px solid var(--gold); background: #0d1119; backface-visibility: hidden; }
.black-card-model__face--front > span { color: var(--gold); font-family: 'IBM Plex Mono', monospace; font-size: 9px; letter-spacing: 2px; }
.black-card-model__face--front > strong { display: block; margin-top: 16px; font-size: 38px; letter-spacing: -2px; }
.black-card-model__face--front > i { position: absolute; right: 24px; top: 23px; color: var(--highlight); font-family: 'IBM Plex Mono', monospace; font-size: 18px; font-style: normal; }
.black-card-model__face--front > small, .black-card-model__face--back > small { position: absolute; left: 24px; bottom: 22px; color: #a0a7b3; font-family: 'IBM Plex Mono', monospace; font-size: 7px; }
.black-card-model__face--back { transform: rotateY(180deg); }
.black-card-model__face--back > span { color: var(--gold); font-family: 'IBM Plex Mono', monospace; font-size: 8px; }
.black-card-model__face--back > strong { display: block; margin-top: 24px; color: var(--highlight); font-family: 'IBM Plex Mono', monospace; font-size: 40px; }
.black-card-model__caption { position: absolute; bottom: 24px; color: #7e8592; font-family: 'IBM Plex Mono', monospace; font-size: 7px; letter-spacing: 1px; }
@keyframes black-card-float { 0%, 100% { transform: rotateX(var(--card-rx, 57deg)) rotateY(var(--card-ry, 0deg)) rotateZ(-17deg) translateY(0); } 50% { transform: rotateX(var(--card-rx, 57deg)) rotateY(var(--card-ry, 0deg)) rotateZ(-13deg) translateY(-12px); } }

.community { padding-bottom: 72px; }
.community-shell { display: grid; grid-template-columns: 240px 1fr; overflow: hidden; border: 1px solid var(--ink); border-radius: var(--radius-lg); background: var(--surface); }
.chat-sidebar { padding: 23px 18px; background: var(--dark); color: #f0ede5; }
.chat-sidebar__label { display: block; margin-bottom: 14px; color: #a0a7b3; font-family: 'IBM Plex Mono', monospace; font-size: 8px; text-transform: uppercase; letter-spacing: 1px; }
.chat-sidebar > button { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; border-left: 2px solid transparent; background: none; color: #a0a7b3; padding: 10px 9px; text-align: left; font-size: 11px; }
.chat-sidebar > button span { color: var(--gold); font-family: 'IBM Plex Mono', monospace; }
.chat-sidebar > button:hover, .chat-sidebar > button.active { border-left-color: var(--gold); background: #121720; color: #fff; }
.chat-rules { margin-top: 23px; border-top: 1px solid #2b333f; padding-top: 16px; }
.chat-rules summary { color: var(--gold); cursor: pointer; font-size: 10px; font-weight: 700; }
.chat-rules ul { padding-left: 16px; color: #a0a7b3; font-size: 8px; line-height: 1.7; }
.chat-security { display: flex; align-items: flex-start; gap: 9px; margin-top: 22px; padding-top: 16px; border-top: 1px solid #2b333f; }
.chat-security > span { padding: 4px; border: 1px solid var(--highlight); color: var(--highlight); font-family: 'IBM Plex Mono', monospace; font-size: 7px; }
.chat-security p { margin: 0; color: #a0a7b3; font-size: 7px; line-height: 1.6; }
.chat-panel { min-width: 0; }
.chat-panel__top { min-height: 57px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; border-bottom: 1px solid var(--line); }
.chat-panel__top > div { display: flex; align-items: center; gap: 9px; }
.chat-panel__top strong { font-size: 11px; }
.chat-panel__top > span { color: var(--muted); font-family: 'IBM Plex Mono', monospace; font-size: 7px; }
.chat-messages { height: 315px; overflow-y: auto; padding: 20px; background: var(--bg); }
.chat-message { max-width: 82%; margin-bottom: 14px; padding: 12px 14px; border: 1px solid var(--line); background: var(--surface); }
.chat-message.own { margin-left: auto; border-color: var(--accent); }
.chat-message header { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 6px; }
.chat-message header strong { color: var(--accent); font-size: 9px; overflow-wrap: anywhere; }
.chat-message header span { color: var(--muted); font-family: 'IBM Plex Mono', monospace; font-size: 7px; }
.chat-message p { margin: 0; color: var(--ink); font-size: 10px; line-height: 1.6; overflow-wrap: anywhere; white-space: normal; }
.chat-form { padding: 17px 20px 20px; border-top: 1px solid var(--line); }
.chat-form__identity { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.chat-form__identity label, .chat-form__message > span { color: var(--muted); font-size: 8px; }
.chat-form__identity input { width: 180px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); padding: 7px 9px; outline: 0; font-size: 9px; }
.chat-form__identity input:focus, .chat-form textarea:focus { border-color: var(--accent); }
.chat-form__message { display: block; }
.chat-form__message > span { display: block; margin-bottom: 6px; }
.chat-form textarea { width: 100%; resize: vertical; min-height: 70px; max-height: 160px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); padding: 10px; outline: 0; font-size: 10px; line-height: 1.5; }
.chat-form__meta { display: flex; justify-content: space-between; gap: 15px; margin-top: 8px; color: var(--muted); font-size: 8px; }
.chat-form__meta label { display: flex; align-items: center; gap: 6px; }
.chat-form__meta input { accent-color: var(--accent); }
.chat-form__bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 12px; }
.chat-form__bottom p { margin: 0; color: var(--muted); font-size: 8px; line-height: 1.5; }
.chat-form__bottom p.success { color: var(--accent); }
.chat-form__bottom .button { flex-shrink: 0; }

.legal-dialog { width: min(820px, calc(100% - 32px)); max-height: 90dvh; overflow-y: auto; }
.legal-document { padding: 42px 46px; }
.legal-document > h2 { max-width: 620px; font-size: 32px; }
.legal-lead { margin: 15px 0 29px; padding-bottom: 23px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 10px; line-height: 1.7; }
.legal-document section { margin-top: 23px; }
.legal-document section h3 { margin: 0 0 9px; font-size: 13px; }
.legal-document section p, .legal-document section li { color: var(--muted); font-size: 10px; line-height: 1.8; }
.legal-document section p { margin: 0; }
.legal-document section ul { margin: 0; padding-left: 18px; }
.footer__bottom button { border: 0; background: none; color: inherit; padding: 0; font: inherit; cursor: pointer; }
.footer__bottom button:hover { color: var(--accent); }

@media (max-width: 1100px) {
  .motion-scene { min-height: 365px; }
  .black-club { padding: 45px 40px; gap: 30px; }
  .black-card-model__card { width: 280px; height: 170px; }
}

@media (max-width: 800px) {
  .motion-scene { max-width: 520px; width: 100%; }
  .black-club { grid-template-columns: 1fr; padding: 40px; }
  .black-card-model { min-height: 340px; }
  .community-shell { grid-template-columns: 1fr; }
  .chat-sidebar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; padding: 15px; }
  .chat-sidebar__label { grid-column: 1 / -1; margin-bottom: 5px; }
  .chat-sidebar > button { justify-content: center; border-left: 0; border-bottom: 2px solid transparent; }
  .chat-sidebar > button:hover, .chat-sidebar > button.active { border-left-color: transparent; border-bottom-color: var(--gold); }
  .chat-rules, .chat-security { display: none; }
}

@media (max-width: 540px) {
  .motion-scene { min-height: 330px; }
  .motion-scene__object { scale: .7; translate: -10px 0; }
  .black-club { width: calc(100% - 20px); padding: 30px 23px; }
  .black-club h2 { font-size: 30px; }
  .black-card-model { min-height: 290px; }
  .black-card-model__card { width: 255px; height: 155px; }
  .black-card-model__orbit { width: 280px; height: 280px; }
  .black-card-model__face { padding: 19px; }
  .black-card-model__face--front > strong { font-size: 30px; }
  .chat-message { max-width: 94%; }
  .chat-panel__top, .chat-form { padding-inline: 14px; }
  .chat-messages { height: 340px; padding: 14px; }
  .chat-form__bottom { align-items: flex-end; }
  .legal-document { padding: 35px 22px; }
  .legal-document > h2 { font-size: 25px; }
}

.game-card__placeholder { width: 100%; height: 100%; display: grid; place-items: center; position: relative; overflow: hidden; background: #0b0f17; color: var(--gold); font-family: var(--display); font-size: 45px; font-weight: 800; letter-spacing: -3px; }
.game-card__placeholder::before { content: ''; position: absolute; inset: 0; opacity: .22; background-image: linear-gradient(rgba(111,140,255,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(111,140,255,.35) 1px, transparent 1px); background-size: 24px 24px; transform: perspective(300px) rotateX(55deg) scale(1.3); transform-origin: bottom; }
.game-card__placeholder::after { content: ''; position: absolute; width: 80px; height: 80px; border: 1px solid var(--highlight); transform: rotate(35deg); opacity: .35; }
.game-card__placeholder { text-shadow: 0 2px 0 #000; }
.game-dialog__hero .game-card__placeholder { font-size: 62px; }

.topup-section { padding-bottom: 72px; }
.topup-layout { display: grid; grid-template-columns: .9fr 1.1fr; border: 1px solid var(--ink); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.topup-scene { min-height: 610px; position: relative; display: grid; place-items: center; overflow: hidden; background: #06080d; perspective: 1000px; touch-action: pan-y; }
.topup-scene::before { content: ''; position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(rgba(111,140,255,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(111,140,255,.35) 1px, transparent 1px); background-size: 38px 38px; transform: perspective(550px) rotateX(62deg) scale(1.4); transform-origin: bottom; }
.topup-scene__object { width: 360px; height: 400px; position: relative; transform-style: preserve-3d; transform: rotateX(var(--wallet-rx, -8deg)) rotateY(var(--wallet-ry, -14deg)); transition: transform .16s ease-out; will-change: transform; }
.wallet-card { position: absolute; left: 35px; top: 120px; width: 290px; height: 172px; padding: 23px; border: 1px solid var(--gold); background: #10151f; color: #f0ede5; transform: translateZ(45px); animation: wallet-float 5s ease-in-out infinite; }
.wallet-card > span { color: var(--gold); font-family: 'IBM Plex Mono', monospace; font-size: 8px; letter-spacing: 1.5px; }
.wallet-card > strong { display: block; margin-top: 22px; font-family: 'IBM Plex Mono', monospace; font-size: 31px; }
.wallet-card > small { position: absolute; left: 23px; bottom: 21px; color: #a0a7b3; font-family: 'IBM Plex Mono', monospace; font-size: 6px; }
.wallet-card > i { position: absolute; right: 22px; top: 21px; color: var(--highlight); font-family: 'IBM Plex Mono', monospace; font-size: 17px; font-style: normal; }
.topup-coin { --coin-z: 70px; position: absolute; width: 88px; height: 88px; transform-style: preserve-3d; animation: topup-coin-spin 9s linear infinite; }
.topup-coin--one { left: 20px; top: 42px; --coin-z: 80px; }
.topup-coin--two { right: 8px; top: 63px; width: 66px; height: 66px; --coin-z: 110px; animation-duration: 7s; animation-direction: reverse; }
.topup-coin--three { left: 44px; bottom: 31px; width: 56px; height: 56px; --coin-z: 90px; animation-duration: 6s; }
.topup-coin__front, .topup-coin__back { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 50%; backface-visibility: hidden; font-family: 'IBM Plex Mono', monospace; font-size: 29px; font-weight: 600; }
.topup-coin__front { border: 5px double #705728; background: var(--gold); color: #090b10; transform: translateZ(6px); box-shadow: 0 0 0 3px #8a6c35; }
.topup-coin__back { border: 4px double #273b83; background: var(--highlight); color: #0b0f17; transform: rotateY(180deg) translateZ(6px); }
.wallet-status { position: absolute; left: 58px; bottom: 35px; display: flex; align-items: center; gap: 7px; padding: 10px 12px; border: 1px solid #2b333f; background: #0d121b; color: #a0a7b3; font-family: 'IBM Plex Mono', monospace; font-size: 7px; transform: translateZ(90px); }
.wallet-status > span { width: 6px; height: 6px; background: var(--highlight); }
.wallet-rate { position: absolute; right: 20px; bottom: 47px; padding: 12px; border: 1px solid var(--gold); background: #11151c; text-align: center; transform: translateZ(120px); }
.wallet-rate small { display: block; color: #a0a7b3; font-family: 'IBM Plex Mono', monospace; font-size: 6px; }
.wallet-rate strong { color: var(--gold); font-family: 'IBM Plex Mono', monospace; font-size: 21px; }
.topup-scene__caption { position: absolute; left: 18px; bottom: 15px; color: #737d8d; font-family: 'IBM Plex Mono', monospace; font-size: 7px; letter-spacing: .8px; }
@keyframes topup-coin-spin { from { transform: translateZ(var(--coin-z)) rotateY(0); } to { transform: translateZ(var(--coin-z)) rotateY(360deg); } }
@keyframes wallet-float { 0%, 100% { transform: translateZ(45px) translateY(0); } 50% { transform: translateZ(60px) translateY(-10px); } }
.topup-workbench { min-width: 0; padding: 23px; }
.topup-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 22px; }
.topup-services button { min-width: 0; display: flex; align-items: center; gap: 7px; border: 1px solid var(--line); background: var(--bg); color: var(--muted); padding: 9px; font-size: 8px; text-align: left; }
.topup-services button > span { width: 25px; height: 25px; display: grid; place-items: center; flex-shrink: 0; border: 1px solid var(--line); color: var(--accent); font-family: 'IBM Plex Mono', monospace; font-size: 7px; }
.topup-services button.active { border-color: var(--accent); color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }
.topup-label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 8px; }
.topup-sellers { margin-bottom: 20px; }
.topup-seller { display: flex; align-items: center; justify-content: space-between; gap: 15px; width: 100%; margin-top: 6px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); padding: 10px 12px; text-align: left; }
.topup-seller.selected { border-color: var(--accent); box-shadow: inset 3px 0 0 var(--accent); }
.topup-seller > span:last-child { text-align: right; }
.topup-seller strong, .topup-seller small { display: block; }
.topup-seller strong { font-size: 9px; }
.topup-seller small { margin-top: 3px; color: var(--muted); font-size: 7px; }
.topup-seller > span:last-child strong { color: var(--accent); font-family: 'IBM Plex Mono', monospace; font-size: 13px; }
.topup-form { padding-top: 18px; border-top: 1px solid var(--line); }
.topup-form__row { display: grid; grid-template-columns: 1.4fr .6fr; gap: 10px; }
.topup-form label > span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 8px; }
.topup-form input, .topup-form select { width: 100%; height: 40px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); padding: 0 10px; outline: 0; font-size: 9px; }
.topup-form input:focus, .topup-form select:focus { border-color: var(--accent); }
.topup-amount { display: block; margin-top: 12px; }
.topup-amount > div { position: relative; }
.topup-amount > div > span { position: absolute; right: 12px; top: 11px; color: var(--accent); font-family: 'IBM Plex Mono', monospace; font-size: 13px; }
.topup-amount input { font-family: 'IBM Plex Mono', monospace; font-size: 14px; }
.topup-quick-amounts { display: flex; gap: 5px; margin-top: 7px; }
.topup-quick-amounts button { flex: 1; border: 1px solid var(--line); background: var(--surface); color: var(--muted); padding: 6px 4px; font-family: 'IBM Plex Mono', monospace; font-size: 7px; }
.topup-quick-amounts button:hover { color: var(--accent); border-color: var(--accent); }
.topup-summary { margin: 16px 0 12px; padding-top: 11px; border-top: 1px solid var(--line); }
.topup-summary > div { display: flex; justify-content: space-between; padding: 4px 0; color: var(--muted); font-size: 9px; }
.topup-summary dd { margin: 0; font-family: 'IBM Plex Mono', monospace; }
.topup-summary > div:last-child { margin-top: 5px; color: var(--ink); font-size: 12px; font-weight: 800; }
.topup-summary > div:last-child dd { color: var(--accent); font-size: 16px; }
.topup-error { margin: 8px 0; color: var(--accent); font-size: 9px; line-height: 1.5; }
.topup-add { width: 100%; }
.topup-note { display: block; margin-top: 10px; color: var(--muted); font-size: 7px; line-height: 1.6; text-align: center; }

.digital-goods { padding-bottom: 72px; }
.digital-goods__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; perspective: 1200px; }
.digital-card { min-width: 0; display: grid; grid-template-columns: 45px 1fr; gap: 13px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 17px; transform-style: preserve-3d; transition: transform .2s, border-color .2s, box-shadow .2s; }
.digital-card:hover { border-color: var(--accent); transform: rotateX(2deg) rotateY(-3deg) translateY(-4px); box-shadow: 7px 9px 0 var(--dark); }
.digital-card__mark { width: 45px; height: 45px; display: grid; place-items: center; border: 1px solid var(--accent); color: var(--accent); font-family: 'IBM Plex Mono', monospace; font-size: 12px; transform: translateZ(18px); }
.digital-card__content { min-width: 0; transform: translateZ(10px); }
.digital-card__content > span { color: var(--accent); font-family: 'IBM Plex Mono', monospace; font-size: 7px; text-transform: uppercase; }
.digital-card__content h3 { margin: 4px 0 6px; font-size: 12px; }
.digital-card__content p { min-height: 25px; margin: 0; color: var(--muted); font-size: 8px; line-height: 1.5; }
.digital-card__bottom { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); transform: translateZ(14px); }
.digital-card__bottom > strong { font-family: 'IBM Plex Mono', monospace; font-size: 14px; }
.digital-card__bottom button { display: flex; gap: 8px; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--ink); padding: 3px 0; font-size: 8px; font-weight: 700; }
.digital-card__bottom button:hover { color: var(--accent); border-color: var(--accent); }

@media (max-width: 1100px) {
  .topup-layout { grid-template-columns: 1fr; }
  .topup-scene { min-height: 430px; }
  .digital-goods__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  .topup-scene { min-height: 350px; }
  .topup-scene__object { scale: .74; }
  .topup-workbench { padding: 17px 13px; }
  .topup-services { grid-template-columns: repeat(2, 1fr); }
  .topup-form__row { grid-template-columns: 1fr; }
  .topup-quick-amounts { flex-wrap: wrap; }
  .topup-quick-amounts button { flex: 1 0 40%; }
  .digital-goods__grid { grid-template-columns: 1fr; }
}

html { scroll-padding-top: 104px; }
body { font-size: 14px; line-height: 1.5; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea, [role="button"] { transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease, opacity .2s ease; }
button:active:not(:disabled), .button:active, [role="button"]:active { transform: translateY(1px); }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: .8; }
.container { width: min(1240px, calc(100% - 48px)); }
.topline { font-size: 11px; letter-spacing: .01em; }
.topline__inner { min-height: 32px; }
.status-dot { border-radius: 50%; box-shadow: 0 0 0 4px rgba(137, 165, 255, .08); }
.header { background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(18px); transition: box-shadow .25s ease, border-color .25s ease; }
.header.scrolled { border-color: transparent; box-shadow: 0 8px 32px rgba(0, 0, 0, .22); }
.header__inner { min-height: 72px; gap: 24px; }
.logo { font-size: 26px; }
.header-search { height: 42px; border-radius: 10px; padding-inline: 12px; }
.header-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent); }
.header-search input { font-size: 12px; }
.header-search kbd { border-radius: 4px; }
.header__nav { gap: 16px; font-size: 12px; }
.header__nav > a { padding-block: 8px; }
.favorites-nav, .cart-button, .appearance__toggle { min-height: 40px; font-size: 12px; }
.favorites-count, .cart-count { border-radius: 5px; }
.button { min-height: 42px; padding: 11px 18px; border-radius: var(--radius); font-size: 12px; letter-spacing: -.05px; }
.button--dark { background: var(--ink); color: var(--bg); }
.button--outline { background: var(--surface); }
.button--outline:hover { border-color: var(--accent); color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, var(--surface)); }
.hero { margin-top: 32px; padding: 48px; gap: 48px; border-color: var(--line); border-radius: 20px; box-shadow: var(--shadow); background: radial-gradient(circle at 85% 15%, color-mix(in srgb, var(--highlight) 7%, transparent), transparent 40%), var(--surface); }
.eyebrow { margin-bottom: 24px; font-size: 10px; }
.hero h1 { font-size: clamp(42px, 4.2vw, 60px); line-height: 1.04; letter-spacing: -3.2px; margin-bottom: 24px; }
.hero__description { max-width: 540px; margin-bottom: 28px; font-size: 15px; line-height: 1.7; }
.hero-search { height: 56px; border-color: var(--line); border-radius: 12px; background: var(--surface); box-shadow: 0 4px 16px rgba(0, 0, 0, .06); }
.hero-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 15%, transparent); }
.hero-search input { font-size: 13px; }
.hero-search button { border-radius: 8px; font-size: 12px; }
.popular-search { margin-top: 16px; font-size: 11px; }
.popular-search button { font-size: 11px; }
.hero__facts { margin-top: 32px; padding-top: 24px; }
.hero__facts > span { font-size: 10px; }
.hero__facts b { font-size: 14px; }
.motion-scene { min-height: 390px; border-color: #222c3c; border-radius: 14px; background: radial-gradient(circle at 50% 45%, #111b30, #06090e 72%); }
.motion-scene__hint, .topup-scene__caption, .black-card-model__caption { font-size: 8px; }
.trust-row { padding-block: 32px; }
.trust-item b { font-size: 12px; }
.trust-item div > span { font-size: 10px; }
.section-heading { margin-bottom: 24px; }
.section-kicker { margin-bottom: 8px; font-size: 10px; letter-spacing: 1.2px; }
h2 { font-size: 32px; line-height: 1.2; letter-spacing: -1.4px; }
.section-note { max-width: 390px; font-size: 12px; line-height: 1.65; }
.all-games-link { font-size: 12px; }
.catalog, .subscriptions, .digital-goods, .topup-section, .community, .mini-games { padding-bottom: 80px; }
.catalog { padding-top: 72px; }
.catalog-toolbar { margin-bottom: 24px; }
.tabs { gap: 24px; }
.tab { padding: 12px 0; border-bottom-width: 2px; font-size: 12px; }
.catalog-count { font-size: 11px; }
.game-grid { gap: 20px; }
.game-card { border-radius: 12px; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.game-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 70%, var(--line)); box-shadow: 0 16px 32px rgba(0, 0, 0, .2), 0 0 0 1px color-mix(in srgb, var(--accent) 18%, transparent); }
.game-card__cover { height: auto; aspect-ratio: 16 / 9; background: #0b0f17; }
.game-card__cover::after { content: ''; position: absolute; inset: 45% 0 0; pointer-events: none; background: linear-gradient(transparent, rgba(5, 8, 13, .28)); }
.game-card__badge { top: 12px; left: 12px; padding: 5px 8px; border-radius: 6px; background: var(--highlight); color: #0b0f16; font-size: 9px; letter-spacing: .5px; }
.favorite-button { top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 8px; backdrop-filter: blur(8px); }
.game-card__body { padding: 16px; }
.game-card__title { min-height: 24px; margin-bottom: 8px; }
.game-card__title h3 { font-size: 15px; line-height: 1.4; letter-spacing: -.25px; }
.game-card__arrow { font-size: 17px; transition: transform .2s ease; }
.game-card:hover .game-card__arrow { transform: translate(2px, -2px); }
.game-card__categories { min-height: 22px; gap: 4px 10px; }
.game-card__categories span { font-size: 10px; }
.game-card__price { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 16px; }
.game-card__price strong { font-size: 17px; letter-spacing: -.4px; }
.game-card__price > span { color: var(--accent); font-size: 10px; font-weight: 700; opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s; }
.game-card:hover .game-card__price > span { opacity: 1; transform: none; }
.game-card__footer { margin-top: 12px; padding-top: 12px; }
.game-card__offers, .game-card__rating { font-size: 10px; }
.skeleton { display: block; overflow: hidden; position: relative; background: var(--surface-2); }
.skeleton::after { content: ''; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--ink) 7%, transparent), transparent); animation: skeleton-wave 1.4s infinite; }
.skeleton-card { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.skeleton-card__cover { aspect-ratio: 16 / 9; }
.skeleton-card__body { display: grid; gap: 12px; padding: 16px; }
.skeleton-line { width: 82%; height: 10px; border-radius: 5px; }
.skeleton-line--title { width: 64%; height: 16px; }
.skeleton-line--short { width: 45%; }
@keyframes skeleton-wave { to { transform: translateX(100%); } }
.empty-state { padding: 64px 24px; border-radius: 12px; }
.empty-state h3 { font-size: 22px; }
.empty-state p { font-size: 13px; }
.subscription-card { border-radius: 12px; }
.subscription-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 16px 32px rgba(0, 0, 0, .18); }
.subscription-card__body { padding: 18px 16px 16px; }
.subscription-card__body h3 { font-size: 15px; }
.subscription-card__body > p { font-size: 11px; }
.subscription-card__bottom strong { font-size: 18px; }
.subscription-card__bottom small, .subscription-card__bottom button { font-size: 10px; }
.topup-layout, .community-shell { border-color: var(--line); border-radius: 16px; box-shadow: 0 8px 32px rgba(0, 0, 0, .1); }
.topup-workbench { padding: 24px; }
.topup-services button { min-height: 48px; border-radius: 8px; font-size: 10px; }
.topup-seller { border-radius: 8px; padding: 12px; }
.topup-seller strong, .topup-label, .topup-form label > span { font-size: 11px; }
.topup-seller small { font-size: 9px; }
.topup-form input, .topup-form select { height: 44px; border-radius: 8px; font-size: 12px; }
.topup-summary > div, .topup-error { font-size: 11px; }
.topup-note { font-size: 9px; }
.digital-card { border-radius: 12px; }
.digital-card:hover { box-shadow: 0 16px 32px rgba(0, 0, 0, .22); }
.digital-card__content h3 { font-size: 14px; }
.digital-card__content p { font-size: 10px; }
.digital-card__bottom > strong { font-size: 17px; }
.digital-card__bottom button { font-size: 11px; }
.review-card, .mini-game { border-radius: 12px; }
.review-card__top b { font-size: 12px; }
.review-card__top div > span, .review-card p { font-size: 11px; }
.review-date { font-size: 9px; }
.chat-message p, .chat-form textarea { font-size: 12px; }
.chat-message header strong { font-size: 11px; }
.chat-form__identity label, .chat-form__message > span, .chat-form__meta, .chat-form__bottom p { font-size: 10px; }
.footer__top { padding-block: 48px; }
.footer__brand p { font-size: 12px; }
.footer__column h3 { margin-bottom: 18px; font-size: 12px; }
.footer__column a { margin-bottom: 12px; font-size: 11px; }
.footer__bottom { min-height: 64px; font-size: 10px; }
dialog { border-color: var(--line); box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(3, 6, 12, .76); backdrop-filter: blur(5px); }
.toast { min-height: 48px; border-radius: 10px; padding: 14px 18px; font-size: 12px; box-shadow: 0 12px 36px rgba(0, 0, 0, .32); }
.mobile-menu__search { display: none; }

@media (max-width: 1180px) {
  .header__nav > a[href="#mini-games"], .header__nav > a[href="#community"] { display: none; }
  .header-search { width: min(250px, 24vw); }
  .game-card__price > span { display: none; }
}

@media (max-width: 800px) {
  .container { width: min(100% - 32px, 680px); }
  .header__inner { min-height: 64px; }
  .mobile-menu { padding: 16px 24px 24px; box-shadow: 0 20px 40px rgba(0, 0, 0, .28); }
  .mobile-menu__search { display: grid; gap: 8px; padding-bottom: 16px; color: var(--muted); font-size: 11px; }
  .mobile-menu__search input { width: 100%; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); padding: 0 12px; outline: 0; font-size: 13px; }
  .mobile-menu__search input:focus { border-color: var(--accent); }
  .mobile-menu a, .mobile-menu button { min-height: 46px; font-size: 13px; }
  .hero { padding: 40px; }
  .hero__description { font-size: 14px; }
  .catalog { padding-top: 56px; }
  .game-card__body { padding: 16px; }
  .game-card__title h3 { font-size: 15px; }
  .game-card__price > span { display: none; }
}

@media (max-width: 540px) {
  html { scroll-padding-top: 80px; }
  .container { width: calc(100% - 28px); }
  .topline { font-size: 9px; }
  .topline__inner { min-height: 30px; }
  .header__inner { min-height: 64px; }
  .header__nav { gap: 14px; }
  .appearance__toggle, .cart-button, .menu-button { min-width: 32px; min-height: 36px; justify-content: center; }
  .hero { width: calc(100% - 20px); margin-top: 16px; padding: 28px 20px 20px; border-radius: 16px; }
  .eyebrow { margin-bottom: 20px; font-size: 8px; }
  .hero h1 { font-size: 35px; line-height: 1.06; letter-spacing: -2px; margin-bottom: 20px; }
  .hero__description { margin-bottom: 24px; font-size: 12px; line-height: 1.7; }
  .hero-search { height: 52px; }
  .hero-search input { font-size: 11px; }
  .popular-search { font-size: 10px; }
  .popular-search button { font-size: 10px; }
  .hero__facts { margin-top: 28px; padding-top: 20px; }
  .hero__facts > span { font-size: 8px; }
  .hero__facts b { font-size: 11px; }
  .motion-scene { min-height: 300px; }
  .motion-scene__object { scale: .66; translate: -10px 0; }
  .trust-row { padding-block: 24px; }
  .trust-item b { font-size: 9px; }
  .trust-item div > span { font-size: 8px; }
  .section-heading { margin-bottom: 20px; }
  .section-kicker { font-size: 8px; }
  h2 { font-size: 25px; letter-spacing: -1px; }
  .section-note { font-size: 10px; }
  .catalog, .subscriptions, .digital-goods, .topup-section, .community, .mini-games { padding-bottom: 56px; }
  .catalog { padding-top: 48px; }
  .tabs { gap: 16px; }
  .tab { font-size: 10px; }
  .game-grid { gap: 12px; }
  .game-card { border-radius: 10px; }
  .game-card__cover { aspect-ratio: 1.48 / 1; }
  .game-card__body { padding: 12px; }
  .game-card__title { min-height: 34px; margin-bottom: 4px; }
  .game-card__title h3 { font-size: 12px; line-height: 1.4; }
  .game-card__arrow { display: none; }
  .game-card__categories { min-height: 28px; gap: 3px 7px; align-content: flex-start; }
  .game-card__categories span { font-size: 8px; }
  .game-card__categories span:not(:last-child)::after { right: -5px; }
  .game-card__price { margin-top: 10px; }
  .game-card__price strong { font-size: 14px; }
  .game-card__footer { margin-top: 10px; padding-top: 10px; }
  .game-card__offers, .game-card__rating { font-size: 8px; }
  .game-card__badge { top: 8px; left: 8px; font-size: 7px; }
  .favorite-button { top: 8px; right: 8px; width: 28px; height: 28px; }
  .subscription-card__body h3 { font-size: 16px; }
  .subscription-card__body > p { font-size: 12px; }
  .topup-workbench { padding: 16px; }
  .topup-services button { font-size: 9px; }
  .topup-form input, .topup-form select { font-size: 12px; }
  .digital-card__content p { font-size: 11px; }
  .review-card p { font-size: 12px; }
  .footer__brand p { font-size: 11px; }
  .footer__column h3 { font-size: 11px; }
  .footer__column a { font-size: 10px; }
  .footer__bottom { font-size: 8px; }
  .toast { width: calc(100% - 32px); justify-content: center; text-align: center; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.game-dialog { position: fixed; inset: 0; width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; overflow-x: hidden; overflow-y: auto; border: 0; border-radius: 0; background: var(--bg); }
.game-dialog::backdrop { background: var(--bg); backdrop-filter: none; }
.game-page { min-height: 100%; }
.game-page__nav { position: sticky; top: 0; z-index: 20; min-height: 72px; display: flex; align-items: center; gap: 32px; padding: 0 max(24px, calc((100vw - 1240px) / 2)); border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(18px); }
.game-page__nav .logo { font-size: 24px; }
.breadcrumbs { min-width: 0; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; }
.breadcrumbs button { border: 0; border-bottom: 1px solid transparent; background: none; color: var(--muted); padding: 4px 0; }
.breadcrumbs button:hover { color: var(--accent); border-color: var(--accent); }
.breadcrumbs > span:last-child { overflow: hidden; color: var(--ink); text-overflow: ellipsis; white-space: nowrap; }
.game-page__secure { display: flex; align-items: center; gap: 8px; margin-left: auto; color: var(--muted); font-size: 11px; white-space: nowrap; }
.game-page__secure i { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px color-mix(in srgb, var(--success) 12%, transparent); }
.game-page__close { position: relative; width: 40px; height: 40px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); }
.game-page__close:hover { border-color: var(--accent); color: var(--accent); }
.game-page__close span { position: absolute; left: 11px; top: 19px; width: 16px; height: 1.5px; background: currentColor; transform: rotate(45deg); }
.game-page__close span:last-child { transform: rotate(-45deg); }
.game-page__hero { position: relative; width: min(1240px, calc(100% - 48px)); min-height: 288px; display: flex; align-items: center; margin: 24px auto 32px; overflow: hidden; border: 1px solid #273140; border-radius: 16px; background: #0b1019; color: #f2f3f5; }
.game-page__hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #0b1019 12%, rgba(11, 16, 25, .88) 50%, rgba(11, 16, 25, .18)); }
.game-page__cover { position: absolute; inset: 0 0 0 42%; }
.game-page__cover img, .game-page__cover .game-card__placeholder { width: 100%; height: 100%; object-fit: cover; }
.game-page__cover img { object-position: center top; }
.game-page__hero-content { position: relative; z-index: 2; max-width: 680px; padding: 40px; }
.game-page__eyebrow { display: block; margin-bottom: 12px; color: var(--gold); font-family: 'IBM Plex Mono', monospace; font-size: 9px; letter-spacing: 1.4px; }
.game-page__hero h1 { margin: 0 0 12px; font-size: 40px; line-height: 1.15; letter-spacing: -1.8px; }
.game-page__hero-content > p { max-width: 580px; margin: 0; color: #b5bdca; font-size: 13px; line-height: 1.7; }
.game-page__stats { display: flex; gap: 0; margin-top: 24px; }
.game-page__stats > span { display: flex; flex-direction: column; gap: 2px; padding: 0 24px; border-left: 1px solid #354052; color: #98a2b3; font-size: 9px; }
.game-page__stats > span:first-child { padding-left: 0; border-left: 0; }
.game-page__stats strong { color: #f2f3f5; font-size: 14px; }
.game-page__layout { width: min(1240px, calc(100% - 48px)); display: grid; grid-template-columns: minmax(0, 1fr) 320px; align-items: start; gap: 24px; margin: 0 auto; padding-bottom: 64px; }
.game-page__catalog { min-width: 0; }
.offer-categories { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.offer-categories button { display: flex; align-items: center; gap: 12px; min-height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--muted); padding: 10px 14px; font-size: 12px; font-weight: 600; }
.offer-categories button small { color: var(--muted); font-family: 'IBM Plex Mono', monospace; font-size: 9px; }
.offer-categories button:hover { border-color: var(--accent); color: var(--ink); }
.offer-categories button.active { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.offer-categories button.active small { color: inherit; opacity: .7; }
.offer-filters { display: grid; grid-template-columns: minmax(200px, 1fr) auto auto; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.offer-search { height: 42px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--muted); }
.offer-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 12%, transparent); }
.offer-search svg { width: 17px; flex-shrink: 0; }
.offer-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: none; color: var(--ink); font-size: 11px; }
.offer-sort select { height: 42px; max-width: 210px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); padding: 0 32px 0 12px; font-size: 11px; }
.online-filter { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 10px; white-space: nowrap; cursor: pointer; }
.online-filter input { position: absolute; opacity: 0; pointer-events: none; }
.online-filter > span { position: relative; width: 34px; height: 20px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.online-filter > span::after { content: ''; position: absolute; left: 3px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--muted); transition: transform .2s, background .2s; }
.online-filter input:checked + span { border-color: var(--success); background: color-mix(in srgb, var(--success) 18%, var(--surface)); }
.online-filter input:checked + span::after { background: var(--success); transform: translateX(14px); }
.online-filter input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 3px; }
.offer-results__meta { display: flex; justify-content: space-between; gap: 16px; padding: 16px 4px 12px; color: var(--muted); font-size: 10px; }
.lot-table { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.lot-table__head, .lot-row { display: grid; grid-template-columns: minmax(0, 1fr) 190px 96px; align-items: center; gap: 16px; }
.lot-table__head { padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg); color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .8px; }
.lot-table__head span:last-child { text-align: right; }
.lot-row { width: 100%; min-height: 108px; padding: 16px; border: 0; border-bottom: 1px solid var(--line); background: var(--surface); color: var(--ink); text-align: left; }
.lot-row:last-child { border-bottom: 0; }
.lot-row:hover { position: relative; z-index: 1; background: color-mix(in srgb, var(--accent) 4%, var(--surface)); box-shadow: inset 3px 0 0 var(--accent); }
.lot-row.selected { background: color-mix(in srgb, var(--accent) 8%, var(--surface)); box-shadow: inset 3px 0 0 var(--accent); }
.lot-row__description { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.lot-row__badges { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--muted); font-size: 8px; }
.lot-row__badges i { display: flex; align-items: center; gap: 5px; font-style: normal; }
.lot-row__badges i::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.lot-row__badges i.online { color: var(--success); }
.lot-row__badges i.online::before { background: var(--success); }
.lot-row__description > strong { max-width: 100%; font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.lot-row__description > small { margin-top: 5px; color: var(--muted); font-size: 9px; }
.lot-row__seller { min-width: 0; display: flex; align-items: center; gap: 10px; }
.lot-row__seller > i { width: 36px; height: 36px; display: grid; place-items: center; flex-shrink: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); color: var(--accent); font-family: 'IBM Plex Mono', monospace; font-size: 10px; font-style: normal; font-weight: 600; }
.lot-row__seller > span { min-width: 0; }
.lot-row__seller strong, .lot-row__seller small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lot-row__seller strong { font-size: 10px; }
.lot-row__seller small { margin-top: 4px; color: var(--muted); font-size: 8px; }
.lot-row__price { text-align: right; }
.lot-row__price strong { display: block; font-family: 'IBM Plex Mono', monospace; font-size: 13px; white-space: nowrap; }
.lot-row__price small { display: block; margin-top: 8px; color: var(--accent); font-size: 9px; font-weight: 700; }
.offer-empty { margin-top: 16px; }
.purchase-panel { position: sticky; top: 96px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: 0 12px 32px rgba(0, 0, 0, .12); }
.purchase-panel__kicker { display: block; margin-bottom: 8px; color: var(--accent); font-family: 'IBM Plex Mono', monospace; font-size: 9px; text-transform: uppercase; letter-spacing: 1.2px; }
.purchase-panel h2 { font-size: 24px; }
.purchase-panel__title { margin: 8px 0 20px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.purchase-panel__seller { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-block: 1px solid var(--line); }
.purchase-panel__seller > span { width: 42px; height: 42px; display: grid; place-items: center; flex-shrink: 0; border-radius: 12px; background: var(--surface-2); color: var(--accent); font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 600; }
.purchase-panel__seller strong, .purchase-panel__seller small { display: block; }
.purchase-panel__seller strong { font-size: 12px; }
.purchase-panel__seller small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.purchase-panel__seller small i { color: var(--muted); font-style: normal; }
.purchase-panel__seller small i.online { color: var(--success); }
.purchase-panel__rating { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 12px; padding: 16px 0; }
.purchase-panel__rating > span { color: var(--accent); font-size: 11px; letter-spacing: 2px; }
.purchase-panel__rating > strong { font-size: 12px; }
.purchase-panel__rating > small { grid-column: 1 / -1; color: var(--muted); font-size: 9px; }
.purchase-panel__details { margin: 0; padding: 12px 0; border-block: 1px solid var(--line); }
.purchase-panel__details > div { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; font-size: 10px; }
.purchase-panel__details dt { color: var(--muted); }
.purchase-panel__details dd { margin: 0; text-align: right; }
.purchase-panel__total { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0 16px; }
.purchase-panel__total > span { font-size: 12px; font-weight: 700; }
.purchase-panel__total small { display: block; margin-top: 4px; color: var(--muted); font-size: 8px; font-weight: 400; }
.purchase-panel__total > strong { font-family: 'IBM Plex Mono', monospace; font-size: 24px; letter-spacing: -1px; white-space: nowrap; }
.purchase-panel__buy { width: 100%; min-height: 48px; }
.purchase-panel__note { display: flex; align-items: flex-start; gap: 8px; margin: 14px 0 0; color: var(--muted); font-size: 8px; line-height: 1.6; }
.purchase-panel__note > span { color: var(--accent); }

@media (max-width: 1000px) {
  .game-page__layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 16px; }
  .offer-filters { grid-template-columns: 1fr auto; }
  .online-filter { grid-column: 1 / -1; }
  .lot-table__head, .lot-row { grid-template-columns: minmax(0, 1fr) 90px; }
  .lot-table__head span:nth-child(2), .lot-row__seller { display: none; }
  .purchase-panel { padding: 20px; }
}

@media (max-width: 760px) {
  .game-page__nav { min-height: 64px; gap: 20px; padding-inline: 20px; }
  .game-page__secure { display: none; }
  .game-page__close { margin-left: auto; }
  .game-page__hero { width: calc(100% - 32px); min-height: 260px; margin: 16px auto 24px; }
  .game-page__hero-content { padding: 32px; }
  .game-page__hero h1 { font-size: 34px; }
  .game-page__layout { width: calc(100% - 32px); grid-template-columns: 1fr; }
  .purchase-panel { position: static; order: -1; }
  .purchase-panel__rating { grid-template-columns: auto 1fr; }
  .purchase-panel__rating > small { grid-column: 1 / -1; }
}

@media (max-width: 540px) {
  .game-page__nav { padding-inline: 14px; }
  .game-page__nav > .logo { display: none; }
  .breadcrumbs { font-size: 11px; }
  .game-page__hero { width: calc(100% - 24px); min-height: 280px; border-radius: 14px; }
  .game-page__cover { inset: 0; opacity: .38; }
  .game-page__hero::after { background: linear-gradient(90deg, rgba(11, 16, 25, .96), rgba(11, 16, 25, .55)); }
  .game-page__hero-content { padding: 24px; }
  .game-page__hero h1 { font-size: 30px; letter-spacing: -1.2px; }
  .game-page__hero-content > p { font-size: 11px; }
  .game-page__stats > span { padding-inline: 14px; font-size: 8px; }
  .game-page__stats strong { font-size: 12px; }
  .game-page__layout { width: calc(100% - 24px); gap: 16px; padding-bottom: 40px; }
  .purchase-panel { padding: 20px; border-radius: 14px; }
  .purchase-panel__details, .purchase-panel__rating { display: none; }
  .purchase-panel__seller { padding-bottom: 14px; border-bottom: 0; }
  .purchase-panel__total { padding-top: 4px; }
  .offer-categories { flex-wrap: nowrap; margin-inline: -12px; padding: 0 12px 4px; overflow-x: auto; scrollbar-width: none; }
  .offer-categories::-webkit-scrollbar { display: none; }
  .offer-categories button { flex-shrink: 0; }
  .offer-filters { grid-template-columns: 1fr; padding: 12px; }
  .offer-sort select { width: 100%; max-width: none; }
  .online-filter { grid-column: auto; min-height: 32px; }
  .offer-results__meta { font-size: 8px; }
  .lot-table__head { grid-template-columns: 1fr auto; padding: 12px; }
  .lot-row { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; min-height: 124px; padding: 14px 12px; }
  .lot-row__description > strong { font-size: 12px; }
  .lot-row__description > small { font-size: 8px; }
  .lot-row__badges { flex-wrap: wrap; gap: 4px 8px; font-size: 7px; }
  .lot-row__seller { display: flex; grid-column: 1; grid-row: 2; }
  .lot-row__seller > i { width: 26px; height: 26px; border-radius: 7px; font-size: 8px; }
  .lot-row__seller strong { font-size: 9px; }
  .lot-row__seller small { display: none; }
  .lot-row__price { grid-column: 2; grid-row: 1 / span 2; }
  .lot-row__price strong { font-size: 12px; }
}

main { display: flex; flex-direction: column; }
main > .hero { order: 0; }
main > .trust-row { order: 1; }
main > .catalog { order: 2; }
main > .subscriptions { order: 3; }
main > .digital-goods { order: 4; }
main > .topup-section { order: 5; }
main > .black-club { order: 6; }
main > .how { order: 7; }
main > .reviews { order: 8; }
main > .community { order: 9; }
main > .mini-games { order: 10; }
main > .all-games { order: 11; }
main > .support { order: 12; }
.game-page { animation: page-enter .25s ease-out; }
.mobile-menu.open { animation: menu-enter .2s ease-out; }
@keyframes page-enter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes menu-enter { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.topup-error { color: var(--danger); }
.footer__service { min-height: 56px; display: flex; align-items: center; gap: 32px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.footer__service > span { display: flex; align-items: center; gap: 8px; }
.footer__service i { width: 7px; height: 7px; border-radius: 50%; background: var(--success); }
.footer__service strong { margin-left: auto; color: var(--accent); font-family: 'IBM Plex Mono', monospace; font-size: 8px; letter-spacing: .8px; }
.footer__top { grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.menu-button.open span:first-child { transform: translateY(5px) rotate(45deg); }
.menu-button.open span:nth-child(2) { opacity: 0; }
.menu-button.open span:last-child { transform: translateY(-5px) rotate(-45deg); }
.menu-button span { transition: transform .2s, opacity .2s; }

@media (max-width: 800px) {
  .footer__top { grid-template-columns: repeat(2, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 540px) {
  .game-card__categories span { font-size: 9px; }
  .game-card__offers, .game-card__rating { font-size: 9px; }
  .footer__service { flex-wrap: wrap; gap: 8px 20px; padding-block: 16px; font-size: 9px; }
  .footer__service strong { width: 100%; margin-left: 0; }
  .footer__top { gap: 28px 20px; }
}

.header__nav > a.active { color: var(--accent); border-bottom-color: var(--accent); }
.hero--gateway { position: relative; min-height: 500px; grid-template-columns: 1.04fr .96fr; overflow: hidden; border-color: #2b3140; background: radial-gradient(circle at 78% 38%, rgba(104, 72, 190, .2), transparent 37%), radial-gradient(circle at 20% 100%, rgba(44, 83, 158, .12), transparent 40%), #080b12; color: #f5f4f8; box-shadow: 0 24px 64px rgba(0, 0, 0, .28); }
.hero--gateway::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.025), transparent 40%); }
.hero--gateway .hero__content { position: relative; z-index: 2; }
.hero--gateway .eyebrow { color: #aab3c3; }
.hero--gateway .eyebrow span { color: var(--gold); border-color: #354052; }
.hero--gateway h1 { max-width: 650px; color: #f7f6fa; font-size: clamp(44px, 4.3vw, 62px); letter-spacing: -3.4px; }
.hero--gateway h1 span { color: var(--gold); }
.hero--gateway .hero__description { max-width: 520px; color: #aab3c3; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__actions .button { min-height: 50px; padding-inline: 24px; }
.hero__secondary-button { border-color: #354052; background: rgba(255,255,255,.025); color: #e5e8ef; }
.hero__secondary-button:hover { border-color: var(--gold); color: var(--gold); background: rgba(215,181,109,.06); }
.hero--gateway .popular-search { margin-top: 20px; }
.hero--gateway .popular-search > span { color: #7f8a9d; }
.hero--gateway .popular-search button { color: #c6cdd8; border-color: #354052; }
.hero--gateway .hero__facts { border-color: #293242; }
.hero--gateway .hero__facts > span { border-color: #293242; color: #8e99ab; }
.hero--gateway .hero__facts b { color: #e9ecf2; }
.hero--gateway .motion-scene { border: 0; background: transparent; }
.motion-scene__status { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; min-width: 136px; padding: 12px 14px; border: 1px solid #34304c; border-radius: 12px; background: rgba(13, 15, 26, .84); box-shadow: 0 12px 32px rgba(0,0,0,.24); backdrop-filter: blur(12px); pointer-events: none; }
.motion-scene__status > span { display: grid; place-items: center; width: 30px; height: 30px; color: var(--gold); font-family: 'IBM Plex Mono', monospace; font-size: 22px; }
.motion-scene__status strong, .motion-scene__status small { display: block; }
.motion-scene__status strong { color: #eef0f6; font-size: 11px; }
.motion-scene__status small { margin-top: 2px; color: #929bad; font-size: 9px; }
.motion-scene__status--secure { right: 14px; top: 42px; }
.motion-scene__status--support { right: 22px; bottom: 48px; }
.motion-scene__status--support > span { color: var(--highlight); font-size: 12px; }

.directions { padding-top: 32px; }
.directions .section-heading { margin-bottom: 20px; }
.direction-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.direction-card { position: relative; min-height: 128px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; padding: 20px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.direction-card::after { content: ''; position: absolute; right: -30px; top: -36px; width: 100px; height: 100px; border-radius: 50%; background: color-mix(in srgb, var(--highlight) 8%, transparent); filter: blur(12px); opacity: 0; transition: opacity .2s; }
.direction-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--highlight) 65%, var(--line)); background: color-mix(in srgb, var(--highlight) 4%, var(--surface)); box-shadow: 0 14px 30px rgba(0,0,0,.15); }
.direction-card:hover::after { opacity: 1; }
.direction-card__icon { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid color-mix(in srgb, var(--highlight) 24%, var(--line)); border-radius: 11px; background: color-mix(in srgb, var(--highlight) 7%, var(--surface)); color: var(--highlight); transition: transform .2s; }
.direction-card:hover .direction-card__icon { transform: rotate(-4deg) scale(1.06); }
.direction-card__icon svg { width: 27px; height: 27px; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.direction-card__content strong, .direction-card__content small { display: block; }
.direction-card__content strong { font-size: 14px; letter-spacing: -.25px; }
.direction-card__content small { margin-top: 6px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.direction-card__arrow { position: absolute; right: 16px; top: 18px; color: var(--muted); font-size: 15px; transition: color .2s, transform .2s; }
.direction-card:hover .direction-card__arrow { color: var(--accent); transform: translate(2px,-2px); }
.direction-extras { display: flex; align-items: center; gap: 24px; padding: 18px 4px 0; color: var(--muted); font-size: 11px; }
.direction-extras > span { margin-right: auto; font-family: 'IBM Plex Mono', monospace; font-size: 9px; text-transform: uppercase; letter-spacing: 1px; }
.direction-extras a { display: flex; align-items: center; gap: 9px; padding-block: 5px; border-bottom: 1px solid transparent; color: var(--ink); font-weight: 600; }
.direction-extras a span { color: var(--accent); }
.direction-extras a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.home-catalog-heading { margin-bottom: 24px; }

.page-heading-wrap { margin-bottom: 0; }
.page-intro { padding: 32px 0 28px; }
.page-breadcrumbs { display: flex; align-items: center; gap: 9px; margin-bottom: 28px; color: var(--muted); font-size: 11px; }
.page-breadcrumbs a { border-bottom: 1px solid transparent; }
.page-breadcrumbs a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.page-breadcrumbs > span:last-child { color: var(--ink); }
.page-intro .section-kicker { margin-bottom: 10px; }
.page-intro h1 { margin: 0; font-size: 40px; line-height: 1.15; letter-spacing: -1.8px; }
.page-intro > p { max-width: 620px; margin: 12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.catalog--route { padding-top: 0; }
.category-switcher { display: flex; gap: 8px; margin-bottom: 20px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.category-switcher a { min-height: 40px; display: inline-flex; align-items: center; padding: 9px 16px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--muted); font-size: 11px; font-weight: 600; transition: color .15s, border-color .15s, background .15s; }
.category-switcher a:hover { border-color: var(--accent); color: var(--accent); }
.category-switcher a.active { border-color: var(--ink); background: var(--ink); color: var(--bg); }

@media (max-width: 1100px) {
  .hero--gateway { min-height: 470px; }
  .hero--gateway h1 { font-size: 44px; }
  .direction-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .direction-card { min-height: 118px; }
  .direction-extras { flex-wrap: wrap; gap: 12px 24px; }
  .direction-extras > span { width: 100%; }
}

@media (max-width: 800px) {
  .hero--gateway { min-height: 0; grid-template-columns: 1fr; padding: 40px; }
  .hero--gateway h1 { font-size: clamp(38px, 7vw, 50px); }
  .hero--gateway .motion-scene { min-height: 340px; }
  .motion-scene__status--secure { right: 8%; }
  .motion-scene__status--support { right: 10%; }
  .directions { padding-top: 32px; }
  .direction-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .direction-card:last-child { grid-column: 1 / -1; }
  .direction-card:last-child .direction-card__content { max-width: 260px; }
  .page-intro h1 { font-size: 34px; }
  .category-switcher { overflow-x: auto; padding-bottom: 20px; scrollbar-width: none; }
  .category-switcher::-webkit-scrollbar { display: none; }
  .category-switcher a { flex-shrink: 0; }
}

@media (max-width: 540px) {
  .hero--gateway { padding: 28px 20px 20px; }
  .hero--gateway h1 { font-size: 35px; letter-spacing: -2px; }
  .hero--gateway .hero__description { font-size: 12px; }
  .hero__actions { gap: 8px; }
  .hero__actions .button { min-height: 46px; padding-inline: 15px; font-size: 11px; }
  .hero--gateway .popular-search { margin-top: 18px; }
  .hero--gateway .motion-scene { min-height: 290px; }
  .motion-scene__status { min-width: 116px; padding: 9px 10px; }
  .motion-scene__status > span { width: 24px; font-size: 18px; }
  .motion-scene__status strong { font-size: 10px; }
  .motion-scene__status small { font-size: 8px; }
  .motion-scene__status--secure { top: 20px; right: 0; }
  .motion-scene__status--support { bottom: 30px; right: 0; }
  .directions { padding-top: 32px; }
  .directions .section-note { display: none; }
  .direction-grid { gap: 10px; }
  .direction-card { min-height: 136px; gap: 16px; padding: 16px 14px; border-radius: 12px; }
  .direction-card__icon { width: 38px; height: 38px; }
  .direction-card__content strong { font-size: 12px; }
  .direction-card__content small { font-size: 9px; }
  .direction-card__arrow { right: 12px; top: 14px; }
  .direction-extras { align-items: flex-start; flex-direction: column; gap: 4px; padding-top: 18px; }
  .direction-extras > span { margin-bottom: 8px; }
  .direction-extras a { width: 100%; justify-content: space-between; min-height: 38px; }
  .page-intro { padding: 24px 0; }
  .page-breadcrumbs { margin-bottom: 24px; font-size: 10px; }
  .page-intro h1 { font-size: 30px; letter-spacing: -1.2px; }
  .page-intro > p { font-size: 11px; }
  .category-switcher { margin-inline: -14px; padding-inline: 14px; }
  .category-switcher a { min-height: 38px; padding-inline: 13px; font-size: 10px; }
}

.header__nav--account { margin-left: auto; gap: 18px; }
.header__nav--account > .header-chat { min-height: 40px; display: inline-flex; align-items: center; gap: 7px; padding: 0 !important; border: 0 !important; background: none; color: var(--ink); }
.header-chat:hover, .header-chat.active { color: var(--accent); }
.header-chat svg { width: 19px; height: 19px; }
.wallet-button { min-width: 138px; min-height: 44px; display: flex; align-items: center; gap: 9px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); text-align: left; transition: border-color .15s, background .15s; }
.wallet-button:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, var(--bg)); }
.wallet-button__icon { width: 27px; height: 27px; display: grid; place-items: center; flex-shrink: 0; border-radius: 8px; background: var(--accent); color: var(--on-accent); font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 600; }
.wallet-button small, .wallet-button strong { display: block; }
.wallet-button small { margin-bottom: 2px; color: var(--muted); font-size: 8px; font-weight: 500; }
.wallet-button strong { font-family: 'IBM Plex Mono', monospace; font-size: 12px; white-space: nowrap; }
.wallet-button__plus { margin-left: auto; color: var(--accent); font-size: 17px; }
.catalog-search { width: min(420px, 100%); height: 44px; display: flex; align-items: center; gap: 10px; margin-bottom: 16px; padding: 0 13px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--muted); }
.catalog-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 12%, transparent); }
.catalog-search svg { width: 18px; flex-shrink: 0; }
.catalog-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 12px; }
.mobile-menu__appearance { padding: 4px 0 12px; }
.footer__appearance { margin-left: auto; }
.footer__appearance .appearance__toggle { color: var(--muted); }
.footer__service .footer__appearance + strong { margin-left: 0; }

.checkout-balance { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.checkout-balance small, .checkout-balance strong { display: block; }
.checkout-balance small { margin-bottom: 4px; color: var(--muted); font-size: 9px; }
.checkout-balance strong { font-family: 'IBM Plex Mono', monospace; font-size: 15px; }
.checkout-balance button { display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--accent); font-size: 10px; font-weight: 700; }
.checkout-balance button:hover { border-color: var(--accent); }
.checkout-error { margin: 12px 0 0; padding: 10px 12px; border: 1px solid color-mix(in srgb, var(--danger) 35%, var(--line)); border-radius: 8px; background: color-mix(in srgb, var(--danger) 7%, var(--surface)); color: var(--danger); font-size: 10px; line-height: 1.5; }
.wallet-dialog { width: min(440px, calc(100% - 32px)); padding: 32px; overflow: visible; }
.wallet-dialog__mark { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 14px; background: var(--accent); color: var(--on-accent); font-family: 'IBM Plex Mono', monospace; font-size: 21px; font-weight: 600; box-shadow: 0 8px 24px color-mix(in srgb, var(--accent) 22%, transparent); }
.wallet-dialog h2 { font-size: 28px; }
.wallet-dialog > p { margin: 12px 0 20px; color: var(--muted); font-size: 11px; line-height: 1.65; }
.wallet-dialog__current { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--muted); font-size: 10px; }
.wallet-dialog__current strong { color: var(--ink); font-family: 'IBM Plex Mono', monospace; font-size: 16px; }
.wallet-form { padding-top: 20px; }
.wallet-form > label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 10px; font-weight: 600; }
.wallet-form__amount { height: 50px; display: flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.wallet-form__amount:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 12%, transparent); }
.wallet-form__amount input { width: 100%; min-width: 0; height: 100%; padding: 0 14px; border: 0; outline: 0; background: transparent; color: var(--ink); font-family: 'IBM Plex Mono', monospace; font-size: 18px; font-weight: 600; }
.wallet-form__amount > span { padding-right: 15px; color: var(--muted); }
.wallet-form__quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-top: 9px; }
.wallet-form__quick button { min-height: 34px; padding: 6px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--muted); font-size: 9px; }
.wallet-form__quick button:hover { border-color: var(--accent); color: var(--accent); }
.wallet-form__error { margin: 12px 0 0; color: var(--danger); font-size: 10px; line-height: 1.5; }
.wallet-form > .button { width: 100%; margin-top: 18px; }
.wallet-form > small { display: block; margin-top: 12px; color: var(--muted); font-size: 8px; line-height: 1.6; text-align: center; }

@media (max-width: 800px) {
  .header__nav--account { gap: 12px; }
  .header-chat span, .wallet-button__icon, .wallet-button__plus { display: none; }
  .wallet-button { min-width: 82px; min-height: 40px; justify-content: center; padding: 6px 10px; text-align: center; }
  .header__login { display: inline-flex; }
  .footer__appearance { margin-left: 0; }
}

@media (max-width: 540px) {
  .header__inner.container { width: calc(100% - 20px); gap: 8px; }
  .header__inner > .logo { gap: 6px; font-size: 20px; }
  .header__inner > .logo .logo__mark { width: 26px; height: 26px; }
  .header__nav--account { gap: 5px; }
  .header-chat { min-width: 25px; justify-content: center; }
  .wallet-button { min-width: 64px; padding-inline: 6px; }
  .wallet-button small { font-size: 7px; }
  .wallet-button strong { font-size: 10px; }
  .header__login { min-height: 36px; padding: 7px 10px; font-size: 10px; }
  .wallet-dialog { padding: 28px 22px; }
  .wallet-dialog h2 { font-size: 25px; }
  .wallet-form__quick { grid-template-columns: repeat(2, 1fr); }
  .footer__appearance { width: 100%; }
}

.support-widget { position: fixed; right: 24px; bottom: 24px; z-index: 80; }
.support-widget__toggle { display: flex; align-items: center; gap: 10px; min-height: 50px; margin-left: auto; padding: 8px 18px 8px 9px; border: 1px solid color-mix(in srgb, var(--accent) 55%, var(--line)); border-radius: 28px; background: var(--ink); color: var(--bg); box-shadow: 0 12px 32px rgba(0,0,0,.3); font-size: 12px; font-weight: 700; transition: transform .2s, border-color .2s; }
.support-widget__toggle:hover { transform: translateY(-2px); border-color: var(--accent); }
.support-widget__toggle-icon { position: relative; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--on-accent); }
.support-widget__toggle-icon svg { width: 19px; height: 19px; }
.support-widget__toggle-icon i { position: absolute; right: -1px; bottom: 0; width: 9px; height: 9px; border: 2px solid var(--ink); border-radius: 50%; background: var(--success); }
.support-widget__panel { position: absolute; right: 0; bottom: 64px; width: 370px; height: min(540px, calc(100dvh - 120px)); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: 0 24px 64px rgba(0,0,0,.35); color: var(--ink); }
.support-widget__panel.open { animation: support-enter .2s ease-out; }
.support-widget__header { min-height: 70px; display: flex; align-items: center; gap: 11px; padding: 14px 15px; border-bottom: 1px solid var(--line); }
.support-widget__avatar { width: 40px; height: 40px; display: grid; place-items: center; flex-shrink: 0; border-radius: 12px; background: var(--accent); color: var(--on-accent); font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 600; }
.support-widget__header strong, .support-widget__header small { display: block; }
.support-widget__header strong { font-size: 12px; }
.support-widget__header small { display: flex; align-items: center; gap: 6px; margin-top: 4px; color: var(--muted); font-size: 9px; }
.support-widget__header small i { width: 6px; height: 6px; border-radius: 50%; background: var(--success); }
.support-widget__header button, .deal-chat__header button { width: 30px; height: 30px; margin-left: auto; border: 0; background: none; color: var(--muted); font-size: 22px; }
.support-widget__header button:hover, .deal-chat__header button:hover { color: var(--accent); }
.support-widget__messages { flex: 1; overflow-y: auto; padding: 18px 15px; background: var(--bg); }
.support-widget__message { max-width: 88%; margin-bottom: 16px; }
.support-widget__message.own { margin-left: auto; text-align: right; }
.support-widget__message strong { color: var(--muted); font-size: 8px; font-weight: 600; }
.support-widget__message p { margin: 5px 0 3px; padding: 10px 12px; border-radius: 4px 12px 12px 12px; background: var(--surface); color: var(--ink); font-size: 11px; line-height: 1.55; text-align: left; overflow-wrap: anywhere; }
.support-widget__message.own p { border-radius: 12px 4px 12px 12px; background: color-mix(in srgb, var(--accent) 16%, var(--surface)); }
.support-widget__message small { color: var(--muted); font-size: 7px; }
.support-widget__community { display: flex; align-items: center; justify-content: space-between; min-height: 38px; padding: 8px 15px; border-top: 1px solid var(--line); color: var(--accent); font-size: 10px; font-weight: 700; }
.support-widget__community:hover { background: color-mix(in srgb, var(--accent) 6%, var(--surface)); }
.support-widget__form { padding: 13px 14px; border-top: 1px solid var(--line); }
.support-widget__form textarea { width: 100%; min-height: 56px; max-height: 120px; resize: vertical; padding: 10px; border: 1px solid var(--line); border-radius: 9px; outline: 0; background: var(--bg); color: var(--ink); font-size: 11px; }
.support-widget__form textarea:focus { border-color: var(--accent); }
.support-widget__form > p { min-height: 12px; margin: 6px 0 0; color: var(--muted); font-size: 8px; }
.support-widget__form > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 7px; }
.support-widget__form > div small { color: var(--muted); font-size: 8px; }
.support-widget__form > div button { width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: 18px; }
@keyframes support-enter { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }

.purchase-panel__chat { width: 100%; min-height: 42px; display: flex; align-items: center; justify-content: center; gap: 9px; margin-bottom: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); font-size: 11px; font-weight: 700; }
.purchase-panel__chat:hover { border-color: var(--accent); color: var(--accent); }
.purchase-panel__chat > span { color: var(--accent); font-size: 18px; }
.deal-chat { position: fixed; right: 24px; bottom: 92px; z-index: 60; width: 390px; max-height: min(650px, calc(100dvh - 120px)); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: 0 24px 64px rgba(0,0,0,.38); animation: support-enter .2s ease-out; }
.deal-chat__header { display: flex; align-items: center; gap: 11px; min-height: 66px; padding: 13px 15px; border-bottom: 1px solid var(--line); }
.deal-chat__header > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: var(--surface-2); color: var(--accent); font-family: 'IBM Plex Mono', monospace; font-size: 11px; }
.deal-chat__header strong, .deal-chat__header small { display: block; }
.deal-chat__header strong { font-size: 12px; }
.deal-chat__header small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.deal-chat__header small i { font-style: normal; }
.deal-chat__header small i.online { color: var(--success); }
.deal-chat__product { position: relative; padding: 12px 80px 12px 15px; border-bottom: 1px solid var(--line); background: var(--bg); }
.deal-chat__product small, .deal-chat__product strong { display: block; }
.deal-chat__product small { margin-bottom: 4px; color: var(--muted); font-size: 8px; }
.deal-chat__product strong { font-size: 10px; line-height: 1.4; }
.deal-chat__product > span { position: absolute; right: 15px; top: 22px; color: var(--accent); font-family: 'IBM Plex Mono', monospace; font-size: 11px; }
.deal-chat__messages { min-height: 170px; overflow-y: auto; padding: 16px 15px; }
.deal-chat__message { max-width: 88%; margin-bottom: 13px; }
.deal-chat__message.own { margin-left: auto; }
.deal-chat__message strong { color: var(--muted); font-size: 8px; }
.deal-chat__message p { margin: 4px 0 0; padding: 9px 11px; border-radius: 4px 10px 10px 10px; background: var(--bg); font-size: 10px; line-height: 1.55; overflow-wrap: anywhere; }
.deal-chat__message.own p { border-radius: 10px 4px 10px 10px; background: color-mix(in srgb, var(--accent) 14%, var(--bg)); }
.deal-chat__form { padding: 12px 14px; border-top: 1px solid var(--line); }
.deal-chat__form textarea { width: 100%; resize: vertical; min-height: 54px; max-height: 110px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; outline: 0; background: var(--bg); color: var(--ink); font-size: 10px; }
.deal-chat__form textarea:focus { border-color: var(--accent); }
.deal-chat__form > p { min-height: 11px; margin: 5px 0; color: var(--muted); font-size: 8px; }
.deal-chat__form > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.deal-chat__form > div small { color: var(--muted); font-size: 7px; }
.deal-chat__form .button { min-height: 36px; padding: 8px 13px; font-size: 10px; }

.community-page { padding-bottom: 80px; }
.community-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; }
.community-channels { min-width: 0; padding-right: 24px; border-right: 1px solid var(--line); }
.channel-search { height: 40px; display: flex; align-items: center; gap: 8px; margin-bottom: 24px; border-bottom: 1px solid var(--line); color: var(--muted); }
.channel-search:focus-within { border-color: var(--accent); }
.channel-search svg { width: 17px; flex-shrink: 0; }
.channel-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: none; color: var(--ink); font-size: 11px; }
.channel-group { margin-bottom: 24px; }
.channel-group__title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; color: var(--muted); font-family: 'IBM Plex Mono', monospace; font-size: 8px; text-transform: uppercase; letter-spacing: 1px; }
.channel-group__title small { font-size: 8px; }
.channel-button { width: 100%; min-height: 38px; display: flex; align-items: center; gap: 8px; padding: 8px 9px; border: 0; border-radius: 7px; background: none; color: var(--muted); text-align: left; transition: color .15s, background .15s; }
.channel-button > span { color: var(--accent); font-family: 'IBM Plex Mono', monospace; }
.channel-button strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: 11px; font-weight: 500; white-space: nowrap; }
.channel-button small { margin-left: auto; font-size: 7px; }
.channel-button:hover { background: color-mix(in srgb, var(--accent) 5%, transparent); color: var(--ink); }
.channel-button.active { background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--accent); }
.channel-list { max-height: 440px; overflow-y: auto; padding-right: 4px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.community-page .chat-rules { margin-top: 20px; padding-top: 16px; border-color: var(--line); }
.community-page .chat-rules summary { color: var(--muted); }
.community-page .chat-rules ul { color: var(--muted); }
.community-discussion { min-width: 0; }
.community-discussion .chat-panel__top { min-height: 44px; padding: 0 0 14px; }
.community-discussion .chat-panel__top strong { font-size: 16px; }
.community-discussion .chat-messages { height: 500px; padding: 8px 0 20px; background: transparent; }
.community-discussion .chat-message { max-width: none; display: flex; gap: 12px; margin: 0; padding: 18px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; }
.community-discussion .chat-message.own { margin-left: 0; }
.chat-message__avatar { width: 36px; height: 36px; display: grid; place-items: center; flex-shrink: 0; border-radius: 50%; background: var(--surface-2); color: var(--accent); font-family: 'IBM Plex Mono', monospace; font-size: 9px; }
.community-discussion .chat-message > div { min-width: 0; flex: 1; }
.community-discussion .chat-message header { margin: 0 0 7px; }
.community-discussion .chat-message header strong { font-size: 11px; }
.community-discussion .chat-message p { font-size: 12px; }
.community-discussion .chat-form { padding: 20px 0 0; }
.community-discussion .chat-form__identity { justify-content: flex-end; }
.community-discussion .chat-form__message > span { font-size: 10px; }
.community-discussion .chat-form textarea { border-color: var(--line); background: transparent; font-size: 12px; }
.community-empty { padding: 72px 20px; color: var(--muted); text-align: center; }
.community-empty > span { display: block; margin-bottom: 12px; color: var(--accent); font-family: 'IBM Plex Mono', monospace; font-size: 30px; }
.community-empty h3 { margin: 0 0 8px; color: var(--ink); font-size: 18px; }
.community-empty p { margin: 0; font-size: 11px; }

@media (max-width: 800px) {
  .community-layout { grid-template-columns: 1fr; gap: 20px; }
  .community-channels { padding: 0 0 16px; border-right: 0; border-bottom: 1px solid var(--line); }
  .channel-search { margin-bottom: 16px; }
  .channel-group { margin-bottom: 12px; }
  .channel-list { display: flex; gap: 6px; max-height: none; overflow-x: auto; padding: 0 0 6px; }
  .channel-list .channel-button { width: auto; flex-shrink: 0; }
  .community-page .chat-rules { display: none; }
  .community-discussion .chat-messages { height: 430px; }
}

@media (max-width: 540px) {
  .support-widget { right: 14px; bottom: 16px; }
  .support-widget__toggle { min-height: 46px; padding-right: 14px; font-size: 11px; }
  .support-widget__panel { position: fixed; left: 12px; right: 12px; bottom: 74px; width: auto; height: min(570px, calc(100dvh - 96px)); }
  .deal-chat { left: 12px; right: 12px; bottom: 78px; width: auto; max-height: calc(100dvh - 96px); }
  .community-discussion .chat-panel__top strong { font-size: 14px; }
  .community-discussion .chat-messages { height: 400px; }
  .community-discussion .chat-form__bottom { align-items: flex-end; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .treasure-chest, .treasure-coin, .scene-coin, .treasure-spark, .treasure-chest__beam, .motion-scene__ring, .black-card-model__card, .topup-coin, .wallet-card, .skeleton::after { animation: none !important; }
}
