/* NightWorld Shop — две панели по центру: слева товар, справа срок и покупка.
   Цвета NightWorld: ночь, тыквенное золото, фиолет. */

@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/fonts/unbounded-cyrillic-700-normal.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/fonts/unbounded-latin-700-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(/fonts/manrope-cyrillic-wght-normal.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(/fonts/manrope-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/fonts/jetbrains-mono-latin-500-normal.woff2) format("woff2"); }

:root {
  --bg: #0b0910;
  --panel: rgba(17, 13, 24, .84);
  --panel-solid: #120e19;
  --card: #15121d;
  --card-2: #1b1725;
  --field: #0f0c15;
  --line: rgba(255, 255, 255, .07);
  --line-2: rgba(255, 255, 255, .13);
  --text: #efeaf7;
  --text-2: #d6cfe3;
  --muted: #9d95b0;
  --faint: #6d6582;
  --accent: #ffb347;
  --accent-2: #ff8a3d;
  --violet: #a855f7;
  --ok: #81b29a;
  --bad: #ef476f;
  --r-common: #8d96a3;
  --r-rare: #4cc9f0;
  --r-epic: #b388ff;
  --r-legendary: #ffb347;
  --panel-h: clamp(520px, calc(100vh - 230px), 640px);
  --display: "Unbounded", "Manrope", system-ui, sans-serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden;
  background: var(--bg); color: var(--text); font: 400 16px/1.55 var(--sans);
}
/* Размытый арт сервера на фоне, как в игре за меню */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1000px 600px at 50% 30%, rgba(168, 85, 247, .16), transparent 70%),
    linear-gradient(180deg, rgba(11, 9, 16, .30) 0%, rgba(11, 9, 16, .70) 65%, var(--bg) 100%),
    url(/img/bg.webp) center top / cover no-repeat;
}
main { flex: 1; }
img { max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.01em; line-height: 1.2; margin: 0; }
p { margin: 0; }
.mono { font-family: var(--mono); font-size: .92em; letter-spacing: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.pad { padding: 64px 0; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 800px; }
mark.todo { background: rgba(239, 71, 111, .16); color: #ff9db2; padding: 0 5px; border-radius: 5px; font-weight: 600; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ── Шапка ── */
.top-in { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand img { display: block; height: 46px; width: auto; }
.nav { display: flex; gap: 34px; margin-left: auto; height: 100%; }
.nav a { position: relative; display: flex; align-items: center; color: var(--text-2); font-size: 18px; font-weight: 500; white-space: nowrap; }
.nav a:hover { color: var(--text); text-decoration: none; }
.nav a.on { color: var(--text); font-weight: 800; }
.nav a.on::after {
  content: ""; position: absolute; left: -6px; right: -6px; bottom: 0; height: 18px;
  background: linear-gradient(180deg, transparent, rgba(255, 179, 71, .22)); border-bottom: 3px solid var(--accent);
}

/* ── Витрина: две панели ── */
.store {
  display: grid; grid-template-columns: minmax(300px, 445px) minmax(0, 1fr); gap: 30px;
  padding-top: clamp(28px, 10vh, 120px);
}
.panel {
  position: relative; display: flex; flex-direction: column; min-height: 0;
  background: var(--panel); border-top: 3px solid var(--accent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .8);
}
.panel::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 92px; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 179, 71, .13), transparent);
}
.panel > * { position: relative; }
.panel-head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px; padding: 0 32px; min-height: 76px; }
.panel-title { font: 700 19px/1.2 var(--sans); letter-spacing: 0; }

.picker, .details { height: var(--panel-h); }
.plist {
  list-style: none; margin: 0; padding: 0 0 14px; flex: 1; overflow-y: auto; overscroll-behavior: contain;
  scrollbar-width: thin; scrollbar-color: rgba(255, 179, 71, .5) transparent;
}
.pgroup {
  position: sticky; top: 0; z-index: 2; padding: 12px 32px 6px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--faint);
  background: linear-gradient(180deg, var(--panel-solid) 70%, rgba(18, 14, 25, 0));
}
.pitem {
  position: relative; width: 100%; display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 14px;
  padding: 11px 32px; border: 0; background: none; color: var(--text); text-align: left; cursor: pointer;
  font: 600 16.5px/1.2 var(--sans); transition: background .15s;
}
.pitem:hover { background: rgba(255, 255, 255, .035); }
.pitem.on { background: linear-gradient(90deg, rgba(255, 179, 71, .22), rgba(255, 179, 71, .05) 80%); }
.pitem.on::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); }
.picon {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px;
  background: rgba(255, 255, 255, .05); color: var(--accent);
}
.pitem.on .picon { background: rgba(0, 0, 0, .25); }
.px { width: 30px; height: 30px; image-rendering: pixelated; image-rendering: crisp-edges; }
.pname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pprice { color: var(--accent); font-weight: 800; font-size: 15px; white-space: nowrap; }

.detail { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.detail[hidden] { display: none; }
.tabs { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.tab {
  position: relative; border: 0; background: none; cursor: pointer; padding: 25px 12px;
  color: var(--muted); font: 700 17px/1 var(--sans); transition: color .15s;
}
.tab:hover { color: var(--text); }
.tab.on { color: var(--text); }
.tab.on::after {
  content: ""; position: absolute; left: 4px; right: 4px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0;
  background: var(--accent); box-shadow: 0 -4px 16px rgba(255, 179, 71, .45);
}
.d-body {
  flex: 1; min-height: 0; overflow-y: auto; padding: 6px 32px 8px; overscroll-behavior: contain;
  scrollbar-width: thin; scrollbar-color: rgba(255, 179, 71, .5) transparent;
}
.d-name { font: 700 22px/1.2 var(--display); color: var(--accent); margin: 4px 0 2px; }
.d-tag { color: var(--text-2); }
.d-h { font: 800 16px/1.3 var(--sans); color: var(--accent); margin: 18px 0 8px; letter-spacing: 0; }
.d-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; font-size: 15.5px; color: var(--text-2); }
.d-list .arr { color: var(--accent); font-weight: 800; }
.d-list .cmd, .cmd { color: var(--accent); font-weight: 800; }
.d-list .eq { color: var(--faint); }
.d-list .muted { font-size: 14px; }
.hl { color: var(--accent); font-weight: 800; }
.prefix-line .badge { height: 27px; width: auto; vertical-align: middle; image-rendering: pixelated; image-rendering: crisp-edges; margin: -4px 2px 0; }
.nick-sample { color: var(--text); font-weight: 700; }

.d-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 20px; padding: 18px 32px 30px; }
.cost { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.cost-l { color: var(--accent); font-weight: 700; font-size: 15px; }
.cost-v { font: 800 30px/1 var(--sans); color: var(--text); }
.cost-old { color: var(--faint); font-size: 16px; }
.cost-save { align-self: center; font-size: 12px; font-weight: 800; color: #1d1020; background: var(--accent); padding: 3px 7px; border-radius: 6px; }
.btn-buy {
  display: inline-flex; align-items: center; justify-content: center; min-width: 200px; padding: 17px 30px;
  border: 2px solid var(--accent); background: rgba(255, 179, 71, .04); color: var(--text); cursor: pointer;
  font: 800 15px/1 var(--sans); letter-spacing: .07em; text-transform: uppercase; text-decoration: none !important;
  transition: background .15s, color .15s, box-shadow .15s;
}
.btn-buy:hover { background: var(--accent); color: #1d1020; box-shadow: 0 12px 34px -12px rgba(255, 138, 61, .9); }

.chances { display: flex; flex-direction: column; gap: 8px; }
.bar { display: flex; height: 8px; border-radius: 99px; overflow: hidden; gap: 2px; background: var(--field); }
.legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13.5px; color: var(--muted); }
.legend li { display: inline-flex; align-items: center; gap: 6px; }
.legend b { color: var(--text-2); }
.legend i { width: 9px; height: 9px; border-radius: 50%; }
.r-common { background: var(--r-common); }
.r-rare { background: var(--r-rare); }
.r-epic { background: var(--r-epic); }
.r-legendary { background: var(--r-legendary); }

.server-line { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 26px; margin-top: 22px; font-size: 14.5px; color: var(--muted); }
.server-line a { color: var(--muted); }
.server-line a:hover { color: var(--text); }
.ip { border: 0; background: none; cursor: pointer; color: var(--text); font: 600 14.5px var(--sans); padding: 4px 0; }
.ip-copy { color: var(--accent); font-size: 13px; margin-left: 4px; }
.ip:hover .ip-copy { text-decoration: underline; }
.live { display: inline-flex; align-items: center; gap: 8px; }
.live b { color: var(--text); }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(129, 178, 154, .6); } 70% { box-shadow: 0 0 0 8px rgba(129, 178, 154, 0); } 100% { box-shadow: 0 0 0 0 rgba(129, 178, 154, 0); } }

/* ── Кнопки ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 18px; border-radius: 10px; border: 1px solid transparent; cursor: pointer;
  font: 700 15px/1.2 var(--sans); color: var(--text); background: rgba(255, 255, 255, .06);
  transition: filter .15s, background .2s, border-color .2s; text-decoration: none !important;
}
.btn:hover { filter: brightness(1.08); }
.btn[disabled] { opacity: .5; cursor: not-allowed; filter: none; }
.btn-accent { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #1d1020; box-shadow: 0 8px 24px -10px rgba(255, 138, 61, .7); }
.btn-ghost { background: rgba(255, 255, 255, .04); border-color: var(--line-2); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .07); }
.btn.wide { width: 100%; padding: 14px 18px; font-size: 16px; }
.chip { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(255, 179, 71, .1); color: var(--accent); border: 1px solid rgba(255, 179, 71, .25); }

/* ── Окно оформления ── */
.modal { border: 0; padding: 0; background: transparent; color: var(--text); width: min(460px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); }
.modal::backdrop { background: rgba(5, 4, 8, .72); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.modal[open] { animation: pop .18s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } }
.modal-in { position: relative; background: var(--card-2); border-top: 3px solid var(--accent); padding: 26px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9); }
.x { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 8px; border: 0; background: transparent; color: var(--muted); font-size: 24px; line-height: 1; cursor: pointer; }
.x:hover { background: rgba(255, 255, 255, .06); color: var(--text); }
.m-head { display: flex; flex-direction: column; gap: 4px; padding-right: 32px; }
.m-head h3 { font-size: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--text-2); }
input, select {
  width: 100%; padding: 12px 13px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--field);
  color: var(--text); font: 500 16px var(--sans); transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus { outline: none; border-color: rgba(255, 179, 71, .6); box-shadow: 0 0 0 3px rgba(255, 179, 71, .14); }
input[aria-invalid="true"] { border-color: var(--bad); box-shadow: 0 0 0 3px rgba(239, 71, 111, .14); }
#m-nick { font-family: var(--mono); }
.hint { color: var(--faint); font-size: 12.5px; }
.check { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: 13.5px; color: var(--text-2); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent); padding: 0; }
.m-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--line); }
.m-total span { color: var(--accent); font-weight: 700; }
.m-total b { font-size: 26px; }
.err { background: rgba(239, 71, 111, .1); color: #ff9db2; border-radius: 8px; padding: 10px 12px; font-size: 14px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 50; background: var(--card-2); border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 16px; font-weight: 600; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }

/* ── Заказ ── */
.order { padding-top: clamp(28px, 8vh, 96px); display: flex; flex-direction: column; gap: 14px; }
.order-in { padding: 4px 32px 30px; display: flex; flex-direction: column; gap: 20px; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; overflow-wrap: anywhere; }
.kv pre { margin: 0; white-space: pre-wrap; }
.progress { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.progress li { position: relative; padding-top: 16px; font-size: 13px; color: var(--faint); font-weight: 600; }
.progress li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: 4px; background: var(--line-2); }
.progress li.done { color: var(--muted); }
.progress li.done::before { background: var(--ok); }
.progress li.now { color: var(--text); }
.progress li.now::before { background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.order-msg p { color: var(--text-2); }
.order-msg b { color: var(--text); }
.order-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.demo-actions { display: flex; gap: 10px; justify-content: center; margin-top: 18px; }

/* ── Тексты: как купить, контакты, документы ── */
.prose { padding-top: 48px; padding-bottom: 32px; }
.prose h1 { font-size: clamp(24px, 4vw, 32px); margin-bottom: 8px; }
.prose h2 { font-size: 18px; margin: 32px 0 10px; }
.prose p, .prose li { color: var(--text-2); }
.prose p + p { margin-top: 10px; }
.prose ul, .prose ol { padding-left: 22px; margin: 10px 0; }
.prose li + li { margin-top: 6px; }
.legal > .muted { margin-bottom: 20px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.requisites p { margin: 0; color: var(--text-2); }
.steps { list-style: none; counter-reset: s; padding: 0 !important; margin: 22px 0 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); }
.steps li { counter-increment: s; margin: 0 !important; background: var(--panel); border-top: 3px solid var(--accent); padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.steps li::before { content: counter(s); font: 700 14px var(--display); color: var(--accent); }
.steps b { color: var(--text); }
.steps span { color: var(--muted); font-size: 15px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 700; color: var(--text); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 400; font-size: 20px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; max-width: 70ch; }
.contacts { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: 22px 0; }
.contact { gap: 4px; }
.contact a { font-weight: 700; overflow-wrap: anywhere; }
.lookup { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.lookup input { flex: 1 1 220px; font-family: var(--mono); text-transform: uppercase; }
.lookup select { flex: 0 0 auto; width: auto; }

/* ── Подвал ── */
.foot { margin-top: 80px; background: rgba(8, 6, 12, .88); border-top: 1px solid var(--line); padding: 26px 0 30px; font-size: 13.5px; color: var(--muted); }
.foot-in { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 40px; flex-wrap: wrap; }
.foot-left p, .foot-right p { line-height: 1.6; }
.foot-right { text-align: right; }
.foot-right a, .foot-links a { color: var(--muted); }
.foot-right a:hover, .foot-links a:hover { color: var(--text); }
.foot-links { display: flex; flex-wrap: wrap; gap: 2px 8px; }
.foot-links a { color: #c9a6ff; }
.foot-links span { color: var(--faint); }
.pay-methods { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 22px !important; }
.pay-methods li { padding: 7px 14px; border-radius: 8px; border: 1px solid var(--line-2); color: var(--text-2); font-weight: 800; font-size: 14px; letter-spacing: .02em; background: rgba(255, 255, 255, .03); }

/* ── Админка ── */
.admin { padding-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.stats { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.stats .card { gap: 4px; }
.stats b { font-size: 22px; }
.warn { border-color: rgba(239, 71, 111, .4); background: rgba(239, 71, 111, .06); }
.warn ul { margin: 6px 0 0; padding-left: 20px; }
.warn-text { color: #ff9db2; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 600; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.row-warn td { background: rgba(239, 71, 111, .05); }
.st { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: 12px; font-weight: 700; background: rgba(255, 255, 255, .06); color: var(--text-2); white-space: nowrap; }
.st-paid, .st-delivered { background: rgba(129, 178, 154, .14); color: #a8d5bf; }
.st-pending, .st-queued, .st-new { background: rgba(255, 179, 71, .12); color: var(--accent); }
.st-failed, .st-canceled, .st-expired, .st-error, .st-cancelled { background: rgba(255, 255, 255, .05); color: var(--muted); }
.st-refunded, .st-chargeback { background: rgba(239, 71, 111, .14); color: #ff9db2; }
.admin-actions { flex-direction: row; flex-wrap: wrap; gap: 10px; }
.inline { display: flex; gap: 8px; align-items: center; }
.inline input { width: 180px; padding: 9px 10px; font-size: 14px; }
.admin .btn { padding: 9px 14px; font-size: 14px; }

/* ── Планшеты и телефоны ── */
@media (max-width: 900px) {
  .store { grid-template-columns: 1fr; gap: 20px; }
  .picker, .details { height: auto; }
  .plist { max-height: 360px; flex: none; }
  .d-body { overflow: visible; }
  .panel-head { padding: 0 20px; }
  .tabs { margin-left: 0; width: 100%; }
  .detail .panel-head { padding-top: 14px; }
  .tab { padding: 12px 10px 16px; }
  .pitem { padding: 11px 20px; }
  .pgroup { padding: 12px 20px 6px; }
  .d-body { padding: 6px 20px 8px; }
  .d-foot { padding: 18px 20px 24px; }
  .order-in { padding: 4px 20px 24px; }
}
@media (max-width: 560px) {
  .top-in { height: 64px; gap: 12px; }
  .brand img { height: 36px; }
  .nav { gap: 16px; }
  .nav a { font-size: 14.5px; }
  .nav a.on::after { left: -3px; right: -3px; }
  .btn-buy { width: 100%; }
  .cost-v { font-size: 26px; }
  .foot-right { text-align: left; }
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .kv dd { margin-bottom: 8px; }
  .modal-in { padding: 22px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ── Вики ── */
.wiki-link { font-weight: 700; }
.wiki-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin-top: 14px; }
.wiki-card { gap: 4px; color: var(--text); text-decoration: none !important; border-top: 3px solid transparent; transition: border-color .15s, background .15s; }
.wiki-card:hover { border-top-color: var(--accent); background: rgba(255, 179, 71, .06); }
.wiki-card b { color: var(--accent); }
@media (max-width: 560px) {
  .nav a[href="/"] { display: none; }
  .nav { gap: 12px; }
  .nav a { font-size: 13.5px; }
  .brand img { height: 32px; }
}
.notice { margin: 18px 0 6px; border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0; }
.notice b { color: var(--accent); font-size: 17px; }
.notice span { color: var(--text-2); }
.check b { color: var(--accent); font-weight: 700; }
