/* TwilightFox — сумеречная тема: глубокий фиолет, неоновая лаванда и лисий оранжевый (как на баннерах Discord) */
:root {
  --bg: #08040f;
  --bg-2: #0e0820;
  --surface: #150d2b;
  --surface-2: #1c1238;
  --line: rgba(167, 120, 255, .18);
  --line-2: rgba(167, 120, 255, .34);
  --text: #efe9ff;
  --muted: #a89bc9;
  --violet: #9b5cff;
  --violet-2: #c77dff;
  --violet-3: #6a2be0;
  --orange: #ff8a2a;
  --gold: #ffc861;
  --ok: #46e29a;
  --err: #ff5c7a;
  --warn: #ffb347;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px -20px rgba(106, 43, 224, .55);
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Unbounded', 'Manrope', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; font-size: 16px;
  background-image:
    radial-gradient(1000px 600px at 85% -10%, rgba(139, 61, 255, .22), transparent 60%),
    radial-gradient(800px 500px at -10% 30%, rgba(255, 138, 42, .08), transparent 60%),
    radial-gradient(900px 700px at 50% 120%, rgba(106, 43, 224, .25), transparent 60%);
  background-attachment: fixed; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--violet-2); text-decoration: none; transition: color .15s; }
a:hover { color: #fff; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-family: var(--font-display); font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 700; }
h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.15rem; }
h2 em { font-style: normal; background: linear-gradient(90deg, var(--violet-2), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
p { margin: 0 0 1em; }
code { font-family: var(--mono); font-size: .88em; background: rgba(155, 92, 255, .15); border: 1px solid var(--line); padding: .1em .4em; border-radius: 6px; color: var(--gold); }
pre { background: #0b0617; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px; overflow: auto; }
pre code { background: none; border: 0; padding: 0; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); margin-inline: auto; }
.narrow-wide { width: min(900px, 100% - 40px); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.ok { color: var(--ok); }
.skip { position: absolute; left: -999px; } .skip:focus { left: 10px; top: 10px; z-index: 999; background: var(--violet); color: #fff; padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--violet); color: #fff; }
::-webkit-scrollbar { width: 12px; } ::-webkit-scrollbar-track { background: var(--bg); } ::-webkit-scrollbar-thumb { background: #2a1a52; border-radius: 8px; border: 3px solid var(--bg); }

/* ---------- Верхние полосы ---------- */
.announce { background: linear-gradient(90deg, #2a1052, #4b1a8c 50%, #2a1052); color: #f3e9ff; text-align: center; font-size: .9rem; padding: 8px 16px; font-weight: 600; border-bottom: 1px solid var(--line-2); }
.announce__dot { display: inline-block; width: 8px; height: 8px; background: var(--orange); border-radius: 50%; margin-right: 10px; box-shadow: 0 0 10px var(--orange); animation: pulse 1.8s infinite; }
.testmode { background: #3a2406; color: #ffd9a0; text-align: center; font-size: .82rem; padding: 6px 16px; border-bottom: 1px solid rgba(255, 179, 71, .35); }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.7); } }

/* ---------- Навигация ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(8, 4, 15, .72); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid var(--line); }
.nav__inner { display: flex; align-items: center; gap: 22px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand img { filter: drop-shadow(0 0 12px rgba(155, 92, 255, .6)); transition: transform .4s; }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
.brand__text { white-space: nowrap; display: flex; flex-direction: column; font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; line-height: 1; }
.brand__text b { background: linear-gradient(90deg, var(--violet-2), #fff); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline; }
.brand__text small { font-family: var(--font); font-size: .68rem; color: var(--orange); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-top: 4px; }
.nav__links { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.nav__links > a, .dropdown__btn { color: var(--muted); font-weight: 700; font-size: .95rem; padding: 8px 14px; border-radius: 10px; background: none; border: 0; cursor: pointer; font-family: inherit; display: inline-flex; align-items: center; gap: 6px; transition: .15s; }
.nav__links > a:hover, .dropdown__btn:hover, .nav__links > a.is-active, .dropdown__btn.is-active { color: #fff; background: rgba(155, 92, 255, .14); }
.nav__right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.dropdown { position: relative; }
.dropdown__menu { position: absolute; top: calc(100% + 10px); left: 0; min-width: 280px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 16px; padding: 8px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .18s; z-index: 60; }
.dropdown--right .dropdown__menu { left: auto; right: 0; }
.dropdown:hover .dropdown__menu, .dropdown.is-open .dropdown__menu, .dropdown:focus-within .dropdown__menu { opacity: 1; visibility: visible; transform: none; }
.dropdown__menu a, .dropdown__menu button { display: flex; gap: 12px; align-items: center; width: 100%; padding: 10px 12px; border-radius: 10px; color: var(--text); background: none; border: 0; cursor: pointer; font: inherit; text-align: left; }
.dropdown__menu a:hover, .dropdown__menu button:hover { background: rgba(155, 92, 255, .16); }
.dropdown__menu span { font-size: 1.3rem; } .dropdown__menu b { display: block; font-size: .95rem; } .dropdown__menu small { color: var(--muted); font-size: .78rem; }
.user-btn img { border-radius: 8px; image-rendering: pixelated; }
.ip-pill { display: inline-flex; align-items: center; gap: 9px; background: rgba(155, 92, 255, .12); border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 14px; color: var(--text); font-family: var(--mono); font-size: .8rem; cursor: pointer; transition: .15s; }
.ip-pill:hover { background: rgba(155, 92, 255, .22); border-color: var(--violet); }
.ip-pill__hint { color: var(--muted); font-family: var(--font); font-size: .75rem; padding-left: 8px; border-left: 1px solid var(--line-2); }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: #6b5d8a; display: inline-block; flex: none; }
.status-dot.is-on { background: var(--ok); box-shadow: 0 0 0 0 rgba(70, 226, 154, .6); animation: ping 2s infinite; }
.status-dot.is-off { background: var(--err); }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(70, 226, 154, .55); } 70% { box-shadow: 0 0 0 9px rgba(70, 226, 154, 0); } 100% { box-shadow: 0 0 0 0 rgba(70, 226, 154, 0); } }
.burger { display: none; width: 42px; height: 42px; background: rgba(155, 92, 255, .12); border: 1px solid var(--line-2); border-radius: 12px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: .2s; }

/* ---------- Кнопки ---------- */
.btn { --b: var(--violet); display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 800 .95rem var(--font); padding: 12px 22px; border-radius: 12px; border: 1px solid transparent; cursor: pointer; color: #fff; transition: transform .15s, box-shadow .2s, background .2s; text-decoration: none; position: relative; }
.btn:hover { transform: translateY(-2px); color: #fff; }
.btn--primary { background: linear-gradient(135deg, #a566ff, #6a2be0); box-shadow: 0 10px 30px -10px rgba(139, 61, 255, .9), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn--primary:hover { box-shadow: 0 14px 40px -8px rgba(155, 92, 255, 1), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn--glass { background: rgba(255, 255, 255, .06); border-color: var(--line-2); backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(155, 92, 255, .2); border-color: var(--violet); }
.btn--ghost { background: transparent; border-color: var(--line-2); color: var(--muted); }
.btn--ghost:hover { color: #fff; border-color: var(--violet); }
.btn--discord { background: #5865f2; box-shadow: 0 10px 28px -10px rgba(88, 101, 242, .9); }
.btn--danger { background: rgba(255, 92, 122, .16); border-color: rgba(255, 92, 122, .5); color: #ffb3c0; }
.btn--danger:hover { background: var(--err); color: #fff; }
.btn--sm { padding: 8px 14px; font-size: .85rem; border-radius: 10px; }
.btn--lg { padding: 15px 28px; font-size: 1.02rem; border-radius: 14px; }
.btn--block { width: 100%; }
.btn__arrow { transition: transform .2s; } .btn:hover .btn__arrow { transform: translateX(4px); }
.hide-sm { }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: center; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.hero__scene { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(60% 50% at 70% 35%, rgba(199, 125, 255, .28), transparent 65%),
  radial-gradient(40% 40% at 20% 80%, rgba(255, 138, 42, .14), transparent 70%); }
.hero__fade { position: absolute; left: 0; right: 0; bottom: 0; height: 180px; background: linear-gradient(transparent, var(--bg)); z-index: -1; }
.hero__content { padding-block: 70px 100px; }
.hero__badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; background: rgba(155, 92, 255, .14); border: 1px solid var(--line-2); border-radius: 999px; font-weight: 700; font-size: .82rem; color: #e4d3ff; margin-bottom: 22px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 12px var(--orange); animation: pulse 1.8s infinite; }
.hero__title { font-size: clamp(3rem, 10vw, 7rem); line-height: .95; margin-bottom: 22px; font-weight: 800; letter-spacing: -.03em; }
.hero__twilight { background: linear-gradient(180deg, #fff 10%, #c9a3ff 55%, #8b3dff); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 40px rgba(155, 92, 255, .55)); }
.hero__fox { background: linear-gradient(180deg, #ffd08a, #ff8a2a 60%, #e0501a); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: italic; margin-left: .08em; filter: drop-shadow(0 0 40px rgba(255, 138, 42, .4)); }
.hero__lead { font-size: clamp(1.02rem, 1.6vw, 1.25rem); color: #d4c6f0; max-width: 620px; margin-bottom: 30px; }
.hero__ip { display: flex; flex-wrap: wrap; gap: 16px; align-items: stretch; margin-bottom: 28px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
.ipbox { display: flex; align-items: center; gap: 18px; background: rgba(20, 10, 40, .72); border: 1px solid var(--line-2); border-radius: 16px; padding: 12px 14px 12px 20px; cursor: pointer; backdrop-filter: blur(10px); transition: .2s; position: relative; }
.ipbox:hover { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(155, 92, 255, .15), var(--shadow); }
.ipbox__label { position: absolute; top: -9px; left: 16px; background: var(--violet-3); color: #fff; font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 2px 9px; border-radius: 6px; }
.ipbox__ip { font-family: var(--mono); font-weight: 700; font-size: clamp(.95rem, 2vw, 1.25rem); color: #fff; word-break: break-all; }
.ipbox__copy { display: inline-flex; gap: 7px; align-items: center; background: rgba(155, 92, 255, .2); padding: 9px 14px; border-radius: 10px; font-weight: 800; font-size: .85rem; color: #e9dcff; white-space: nowrap; }
.ipbox.is-copied .ipbox__copy { background: var(--ok); color: #05261a; }
.ipbox--inline { margin: 8px 0; }
.live { display: flex; align-items: center; gap: 12px; padding: 12px 20px; background: rgba(20, 10, 40, .6); border: 1px solid var(--line); border-radius: 16px; backdrop-filter: blur(10px); }
.live b { display: block; font-size: 1.25rem; line-height: 1; } .live small { color: var(--muted); font-size: .78rem; }
.hero__scroll { position: absolute; bottom: 26px; left: 50%; width: 26px; height: 42px; border: 2px solid var(--line-2); border-radius: 14px; transform: translateX(-50%); }
.hero__scroll span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; background: var(--violet-2); border-radius: 2px; animation: scrolldot 1.8s infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Секции ---------- */
.section { padding-block: clamp(56px, 8vw, 110px); position: relative; }
.section--tight { padding-block: clamp(28px, 4vw, 54px); }
.section--steps { background: linear-gradient(180deg, transparent, rgba(106, 43, 224, .07), transparent); }
.section--split { background: linear-gradient(180deg, transparent, rgba(21, 13, 43, .7), transparent); }
.section__head { max-width: 720px; margin-bottom: 40px; }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.section__head p { color: var(--muted); font-size: 1.05rem; }
.eyebrow { display: inline-block; font-weight: 800; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); margin-bottom: 12px; }
.h2s { font-size: 1.4rem; margin: 30px 0 16px; font-family: var(--font); font-weight: 800; }
.group-title { font-size: 1.1rem; font-family: var(--font); font-weight: 800; color: var(--gold); letter-spacing: .12em; text-transform: uppercase; display: flex; align-items: center; gap: 14px; margin: 34px 0 18px; }
.group-title::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }
.link { font-weight: 800; font-size: .92rem; color: var(--violet-2); display: inline-flex; gap: 4px; } .link:hover { color: var(--orange); }
.back { display: inline-block; color: var(--muted); font-weight: 700; font-size: .9rem; margin-bottom: 14px; } .back:hover { color: #fff; }
.pagehead { padding-block: 60px 34px; background: radial-gradient(700px 300px at 15% 0%, rgba(155, 92, 255, .22), transparent 70%); border-bottom: 1px solid var(--line); }
.pagehead p { color: #cdbfe8; max-width: 720px; font-size: 1.08rem; }
.pagehead--slim { padding-block: 34px 18px; } .pagehead--slim h1 { font-size: clamp(1.4rem, 3vw, 2rem); }
.pagehead--abyss { background: radial-gradient(700px 320px at 80% 0%, rgba(255, 138, 42, .15), transparent 70%), radial-gradient(700px 320px at 10% 0%, rgba(155, 92, 255, .3), transparent 70%); }

/* ---------- Карточки ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.feature { background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; overflow: hidden; transition: .25s; }
.feature::before { content: ''; position: absolute; inset: 0; background: radial-gradient(300px 150px at 0% 0%, rgba(155, 92, 255, .18), transparent 70%); opacity: 0; transition: .3s; }
.feature:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow); } .feature:hover::before { opacity: 1; }
.feature--abyss { background: linear-gradient(160deg, #2b0f5c, #12081f); border-color: rgba(199, 125, 255, .4); }
.feature__icon { width: 54px; height: 54px; display: grid; place-items: center; font-size: 1.7rem; background: rgba(155, 92, 255, .16); border: 1px solid var(--line-2); border-radius: 14px; margin-bottom: 18px; }
.feature p { color: var(--muted); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; counter-reset: s; padding: 0; margin: 0; }
.step { position: relative; padding: 26px 24px; background: rgba(21, 13, 43, .6); border: 1px solid var(--line); border-radius: var(--radius); }
.step__n { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; font-family: var(--font-display); font-weight: 800; background: linear-gradient(135deg, var(--violet), var(--orange)); margin-bottom: 14px; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }
.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 360px)); gap: 20px; }
.product { --accent: var(--violet); position: relative; background: linear-gradient(170deg, var(--surface-2), var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); border-radius: 22px; padding: 30px; display: flex; flex-direction: column; overflow: hidden; transition: .25s; }
.product:hover { transform: translateY(-6px); box-shadow: 0 24px 60px -24px var(--accent); }
.product__glow { position: absolute; top: -80px; right: -60px; width: 220px; height: 220px; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 55%, transparent), transparent 70%); pointer-events: none; }
.product__badge { align-self: flex-start; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 28%, transparent); color: #fff; border: 1px solid var(--accent); margin-bottom: 14px; }
.product h3 { font-size: 1.45rem; font-family: var(--font-display); }
.product__desc { color: var(--muted); min-height: 3em; }
.product__price { display: flex; align-items: baseline; gap: 12px; margin: 6px 0 18px; } .product__price b { font-family: var(--font-display); font-size: 2.3rem; } .product__price s { color: var(--muted); }
.product__list { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.product__list li { padding: 6px 0 6px 28px; position: relative; font-size: .94rem; color: #d9ccf3; }
.product__list li::before { content: ''; position: absolute; left: 0; top: 11px; width: 16px; height: 16px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 35%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain; }
.product .btn--primary { background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 100%, #fff 15%), color-mix(in srgb, var(--accent) 100%, #000 35%)); }
.trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; } .trust span { background: rgba(155, 92, 255, .12); border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; font-size: .85rem; font-weight: 700; color: #d9ccf3; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 800; } .faq p { margin: 12px 0 0; color: var(--muted); }

/* ---------- Новости ---------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.news-grid > .news-card--big { grid-column: span 2; }
.news-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--text); transition: .25s; }
.news-card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow); color: var(--text); }
.news-card__art { height: 150px; background: linear-gradient(135deg, #3a1580, #7b3dff 55%, #ff8a2a); background-size: cover; background-position: center; position: relative; }
.news-card--big .news-card__art { height: 220px; }
.news-card__art::after { content: '🦊'; position: absolute; right: 18px; bottom: 6px; font-size: 3.4rem; opacity: .35; filter: grayscale(.3); }
.tag { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; background: rgba(8, 4, 15, .65); border: 1px solid var(--line-2); color: var(--gold); backdrop-filter: blur(8px); }
.news-card__art .tag { position: absolute; top: 14px; left: 14px; z-index: 1; }
.news-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.news-card__body time { font-size: .8rem; color: var(--muted); font-weight: 700; }
.news-card__body h3 { margin: 6px 0 8px; font-size: 1.12rem; } .news-card--big h3 { font-size: 1.5rem; }
.news-card__body p { color: var(--muted); font-size: .94rem; flex: 1; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; align-items: center; }
.filter { padding: 7px 16px; border-radius: 999px; background: rgba(155, 92, 255, .1); border: 1px solid var(--line); color: var(--muted); font-weight: 700; font-size: .88rem; }
.filter.is-active, .filter:hover { background: var(--violet-3); color: #fff; border-color: var(--violet); } .filter small { opacity: .7; }
.article { width: min(780px, 100% - 40px); margin-inline: auto; }
.article h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); margin-block: 12px; }
.article__meta { color: var(--muted); margin-bottom: 26px; font-size: .92rem; }
.article__img { width: 100%; border-radius: var(--radius); margin-bottom: 24px; }
.prose { font-size: 1.06rem; color: #e3d9f7; }
.prose h2, .prose h3, .prose h4 { font-family: var(--font); margin: 1.6em 0 .6em; color: #fff; }
.prose h2 { font-size: 1.5rem; }
.prose ul, .prose ol { padding-left: 1.3em; } .prose li { margin: .35em 0; } .prose li::marker { color: var(--orange); }
.prose blockquote, blockquote { border-left: 3px solid var(--violet); margin: 1.2em 0; padding: 10px 18px; background: rgba(155, 92, 255, .09); border-radius: 0 12px 12px 0; color: #d9ccf3; font-style: italic; }
.prose a { text-decoration: underline; text-decoration-color: rgba(199, 125, 255, .5); text-underline-offset: 3px; }
.spoiler { background: #2a1a52; color: transparent; border-radius: 4px; cursor: pointer; padding: 0 4px; transition: .2s; } .spoiler:hover, .spoiler:focus, .spoiler.is-open { color: inherit; background: rgba(155, 92, 255, .2); }

/* ---------- Лор ---------- */
.lore { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }
.lore__card { padding: 34px; border-radius: 24px; border: 1px solid var(--line-2); background: var(--surface); position: relative; overflow: hidden; }
.lore__card--abyss { background: radial-gradient(500px 300px at 80% 0%, rgba(199, 125, 255, .25), transparent 70%), linear-gradient(160deg, #1d0b3d, #09040f); }
.lore__card--event { background: radial-gradient(400px 250px at 20% 0%, rgba(255, 138, 42, .22), transparent 70%), var(--surface); border-color: rgba(255, 138, 42, .4); }
.lore__quote { font-size: 1.15rem; font-style: italic; color: #fff; border-left: 3px solid var(--orange); padding-left: 16px; }
.races { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.race { background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 4px; transition: .2s; position: relative; overflow: hidden; }
.race:hover { transform: translateY(-3px); border-color: var(--orange); }
.race__n { font-family: var(--mono); color: var(--orange); font-size: .8rem; } .race b { font-size: 1.25rem; font-family: var(--font-display); } .race small { color: var(--muted); font-size: .78rem; }
.recipe { display: flex; flex-wrap: wrap; gap: 30px; align-items: center; justify-content: space-between; margin-top: 24px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.recipe ul { color: #d9ccf3; margin: 0; padding-left: 1.2em; }
.grid3 { display: grid; grid-template-columns: repeat(3, 58px); gap: 5px; padding: 12px; background: #2b2b2b; border: 3px solid #555; border-radius: 6px; }
.grid3 span { width: 58px; height: 58px; display: grid; place-items: center; font-size: 1.7rem; background: #8b8b8b; border: 2px solid; border-color: #373737 #fff #fff #373737; }
.artifact { max-width: 380px; background: #14081f; border: 2px solid #4b1a8c; border-radius: 8px; padding: 16px 20px; font-family: var(--mono); box-shadow: 0 0 0 2px #1d0b3d, var(--shadow); }
.artifact__head { color: var(--gold); margin-bottom: 8px; font-size: .85rem; } .artifact ul { list-style: none; padding: 0; margin: 0 0 8px; } .artifact li { color: #7fe6ff; font-size: .9rem; } .artifact li::before { content: '✦ '; color: #5fd4ff; } .artifact small { color: #888; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 26px; border-left: 2px solid var(--line-2); }
.timeline li { position: relative; padding: 0 0 26px 26px; }
.timeline li::before { content: ''; position: absolute; left: -35px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 3px solid var(--violet); }
.timeline li.is-upcoming::before { border-color: var(--orange); box-shadow: 0 0 14px var(--orange); animation: pulse 1.8s infinite; }
.timeline time { font-family: var(--mono); font-size: .8rem; color: var(--orange); display: block; font-weight: 700; }
.timeline b { font-size: 1.1rem; display: block; margin: 2px 0 4px; } .timeline p { color: var(--muted); margin: 0; font-size: .95rem; }
.timeline--compact li { padding-bottom: 18px; } .timeline--compact p { font-size: .9rem; }

/* ---------- Правила ---------- */
.rules-layout { display: grid; grid-template-columns: 250px 1fr; gap: 36px; align-items: start; }
.toc { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 2px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.toc b { padding: 4px 10px 10px; color: var(--gold); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.toc a { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; color: var(--muted); font-weight: 700; font-size: .9rem; } .toc a:hover { background: rgba(155, 92, 255, .15); color: #fff; }
.toc a span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: rgba(155, 92, 255, .2); font-size: .75rem; color: var(--violet-2); }
.rule-group { margin-bottom: 40px; }
.rule-group h2 { font-size: 1.5rem; display: flex; flex-direction: column; gap: 4px; margin-bottom: 18px; }
.rule-group__n { font-family: var(--font); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); font-weight: 800; }
.rule { display: grid; grid-template-columns: 62px 1fr; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; margin-bottom: 12px; transition: .2s; }
.rule:hover { border-color: var(--line-2); }
.rule__n { font-family: var(--mono); font-weight: 700; font-size: 1.05rem; color: var(--violet-2); background: rgba(155, 92, 255, .14); border-radius: 12px; display: grid; place-items: center; height: 46px; }
.rule h3 { margin-bottom: 6px; } .rule p { color: #d4c6f0; margin-bottom: 10px; }
.rule__note { background: rgba(255, 179, 71, .1); border: 1px solid rgba(255, 179, 71, .3); border-radius: 10px; padding: 8px 12px; font-size: .9rem; }
.rule__punish { display: flex; flex-wrap: wrap; gap: 10px; align-items: baseline; background: rgba(255, 92, 122, .08); border: 1px solid rgba(255, 92, 122, .28); border-radius: 10px; padding: 9px 14px; font-weight: 700; font-size: .92rem; color: #ffc7d1; }
.rule__punish span { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: var(--err); }
.rule.is-hidden, .rule-group.is-hidden { display: none; }
.callout { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; justify-content: space-between; background: rgba(155, 92, 255, .1); border: 1px solid var(--line-2); border-radius: 16px; padding: 18px 22px; margin: 24px 0; }
.callout--warn { background: rgba(255, 179, 71, .09); border-color: rgba(255, 179, 71, .4); }
.search, .searchbar input { background: var(--surface); border: 1px solid var(--line-2); color: #fff; border-radius: 12px; padding: 12px 16px; font: inherit; min-width: 240px; }
.searchbar { display: flex; gap: 10px; margin-top: 18px; max-width: 520px; } .searchbar input { flex: 1; }

/* ---------- Команда ---------- */
.roles { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.role { --role: var(--violet); background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--role); border-radius: 16px; padding: 22px; position: relative; overflow: hidden; }
.role::before { content: ''; position: absolute; inset: 0; background: radial-gradient(250px 120px at 0 0, color-mix(in srgb, var(--role) 18%, transparent), transparent); pointer-events: none; }
.role header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; } .role h3 { margin: 0; color: var(--role); letter-spacing: .02em; }
.role__icon { font-size: 1.6rem; } .role p { color: var(--muted); font-size: .92rem; }
.role__members, .chips, .core__members { display: flex; flex-wrap: wrap; gap: 8px; }
.member, .chip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 6px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2); border-radius: 999px; font-weight: 700; font-size: .86rem; color: #fff; }
.member img { border-radius: 6px; image-rendering: pixelated; } .chip { padding: 5px 13px; }
.core { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.core__role { --role: var(--violet); padding: 20px; background: linear-gradient(160deg, color-mix(in srgb, var(--role) 16%, var(--surface)), var(--surface)); border: 1px solid color-mix(in srgb, var(--role) 40%, transparent); border-radius: 16px; }
.core__title { font-weight: 800; color: var(--role); margin-bottom: 12px; letter-spacing: .04em; display: flex; gap: 8px; }

/* ---------- Форум ---------- */
.two { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.two--checkout { grid-template-columns: minmax(0, 1fr) 380px; }
.side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 90px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 16px; }
.side .panel { margin: 0; } .panel h3 { font-size: 1.05rem; }
.panel--row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; }
.cats { display: flex; flex-direction: column; gap: 10px; }
.cat { display: grid; grid-template-columns: 54px 1fr 70px 70px 220px; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; color: var(--text); transition: .2s; }
.cat:hover { border-color: var(--violet); transform: translateX(4px); color: var(--text); box-shadow: var(--shadow); }
.cat__icon { font-size: 1.8rem; width: 54px; height: 54px; display: grid; place-items: center; background: rgba(155, 92, 255, .15); border-radius: 14px; }
.cat h3 { margin: 0 0 3px; } .cat p { margin: 0; color: var(--muted); font-size: .88rem; }
.cat__stat { text-align: center; } .cat__stat b { display: block; font-size: 1.2rem; } .cat__stat small, .cat__last small { color: var(--muted); font-size: .75rem; }
.cat__last b { display: block; font-size: .88rem; }
.topics { display: flex; flex-direction: column; gap: 8px; }
.topic { display: grid; grid-template-columns: 48px 1fr 80px 80px 140px; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 18px; color: var(--text); transition: .15s; }
.topic:hover { border-color: var(--violet); background: var(--surface-2); color: var(--text); }
.topic--pinned { border-color: rgba(255, 200, 97, .4); background: linear-gradient(90deg, rgba(255, 200, 97, .07), var(--surface)); }
.topic img, .mini-topic img { border-radius: 8px; image-rendering: pixelated; }
.topic h3 { margin: 0; font-size: 1rem; } .topic small { color: var(--muted); font-size: .78rem; }
.topic__stat { text-align: center; } .topic__stat b { display: block; }
.mini-topics { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.mini-topic { display: flex; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; color: var(--text); margin-bottom: 8px; transition: .15s; }
.mini-topic:hover { border-color: var(--violet); color: var(--text); }
.mini-topic div { flex: 1; min-width: 0; } .mini-topic b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .mini-topic small { color: var(--muted); font-size: .78rem; }
.mini-topic__count { background: rgba(155, 92, 255, .2); border-radius: 999px; padding: 2px 11px; font-weight: 800; font-size: .85rem; }
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 12px; margin-block: 14px; }
.stats-row div { background: rgba(155, 92, 255, .09); border: 1px solid var(--line); border-radius: 14px; padding: 14px; text-align: center; } .stats-row b { font-family: var(--font-display); font-size: 1.5rem; display: block; } .stats-row small { color: var(--muted); }
.pager { display: flex; gap: 6px; flex-wrap: wrap; margin: 20px 0; } .pager a { min-width: 38px; height: 38px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; font-weight: 800; color: var(--muted); } .pager a.is-active, .pager a:hover { background: var(--violet-3); color: #fff; border-color: var(--violet); }
.post { display: grid; grid-template-columns: 170px 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 14px; overflow: hidden; }
.post--deleted { opacity: .55; }
.post__user { background: rgba(155, 92, 255, .07); padding: 20px 14px; display: flex; flex-direction: column; align-items: center; gap: 5px; text-align: center; border-right: 1px solid var(--line); }
.post__user img { border-radius: 12px; image-rendering: pixelated; margin-bottom: 6px; box-shadow: 0 0 0 2px var(--line-2); } .post__user small { color: var(--muted); font-size: .76rem; }
.post__main { padding: 18px 22px; min-width: 0; } .post__main header { display: flex; justify-content: space-between; color: var(--muted); font-size: .8rem; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px dashed var(--line); } .post__anchor { color: var(--muted); }
.post .prose { font-size: 1rem; overflow-wrap: anywhere; }
.post__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 14px; font-size: .82rem; align-items: center; } .post__actions form { display: inline; } .post__actions button, .post__actions summary { background: none; border: 0; color: var(--muted); cursor: pointer; font: inherit; font-weight: 700; padding: 0; } .post__actions button:hover, .post__actions a:hover, summary:hover { color: var(--orange); }
.report form { display: flex; gap: 6px; margin-top: 6px; } .report input { background: var(--bg); border: 1px solid var(--line-2); color: #fff; border-radius: 8px; padding: 5px 9px; }
.modbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; background: rgba(255, 179, 71, .07); border: 1px solid rgba(255, 179, 71, .3); border-radius: 14px; padding: 12px 16px; margin-bottom: 16px; }
.editor { border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; background: var(--bg-2); }
.editor__bar { display: flex; gap: 4px; align-items: center; padding: 8px 10px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.editor__bar button { width: 34px; height: 32px; border-radius: 8px; background: rgba(155, 92, 255, .12); border: 1px solid var(--line); color: #fff; cursor: pointer; font-weight: 800; } .editor__bar button:hover { background: var(--violet-3); }
.editor__hint { margin-left: auto; color: var(--muted); font-size: .76rem; }
.editor textarea { border: 0 !important; border-radius: 0 !important; background: transparent !important; resize: vertical; }

/* ---------- Формы ---------- */
.form { display: flex; flex-direction: column; gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: .9rem; color: #d9ccf3; }
.form label small { color: var(--muted); font-weight: 500; }
input, select, textarea { font: inherit; color: var(--text); }
.form input, .form select, .form textarea, select, input[type=search] { background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; width: 100%; transition: .15s; }
.form input:focus, .form select:focus, .form textarea:focus, input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(155, 92, 255, .22); }
.form .check, label.check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 500; font-size: .9rem; color: var(--muted); } .check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--violet); flex: none; padding: 0; }
.form--inline { flex-direction: row; align-items: flex-end; flex-wrap: wrap; } .form--inline label { flex: 1; min-width: 180px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } .span2 { grid-column: span 2; }
.mono { font-family: var(--mono) !important; font-size: .88rem; }
select option { background: var(--bg-2); }
.alert { padding: 12px 16px; border-radius: 12px; margin-bottom: 14px; font-weight: 600; font-size: .94rem; border: 1px solid; }
.alert--err { background: rgba(255, 92, 122, .1); border-color: rgba(255, 92, 122, .5); color: #ffc2cd; } .alert--ok { background: rgba(70, 226, 154, .1); border-color: rgba(70, 226, 154, .5); color: #b4f5d8; } .alert--warn { background: rgba(255, 179, 71, .1); border-color: rgba(255, 179, 71, .4); color: #ffd9a0; }
.toast { position: fixed; top: 84px; right: 20px; z-index: 100; max-width: 380px; padding: 14px 44px 14px 18px; border-radius: 14px; font-weight: 700; box-shadow: var(--shadow); animation: slidein .35s; border: 1px solid; backdrop-filter: blur(12px); }
.toast--ok { background: rgba(10, 50, 36, .92); border-color: var(--ok); } .toast--err { background: rgba(60, 14, 28, .92); border-color: var(--err); }
.toast button { position: absolute; right: 10px; top: 8px; background: none; border: 0; color: #fff; font-size: 1.4rem; cursor: pointer; }
@keyframes slidein { from { transform: translateX(30px); opacity: 0; } }
.auth { min-height: 78vh; display: grid; place-items: center; padding: 40px 20px; }
.auth__card { width: min(460px, 100%); background: linear-gradient(170deg, var(--surface-2), var(--surface)); border: 1px solid var(--line-2); border-radius: 24px; padding: 38px; box-shadow: var(--shadow); text-align: center; }
.auth__card .form { text-align: left; margin-top: 18px; } .auth__card h1 { font-size: 1.8rem; margin: 10px 0 4px; } .auth__alt { margin-top: 18px; color: var(--muted); }
.auth__card .facts { text-align: left; }
.badge { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; border: 1px solid var(--line-2); background: rgba(155, 92, 255, .15); }
.badge--delivered, .badge--accepted { background: rgba(70, 226, 154, .14); border-color: rgba(70, 226, 154, .5); color: var(--ok); }
.badge--paid, .badge--pending, .badge--new { background: rgba(255, 179, 71, .14); border-color: rgba(255, 179, 71, .5); color: var(--warn); }
.badge--failed, .badge--canceled, .badge--rejected { background: rgba(255, 92, 122, .14); border-color: rgba(255, 92, 122, .5); color: var(--err); }
.badge--staff { background: rgba(255, 138, 42, .16); border-color: var(--orange); color: var(--gold); }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 0 0 14px; } .facts dt { color: var(--muted); font-weight: 700; font-size: .88rem; } .facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.empty { padding: 34px; text-align: center; color: var(--muted); background: rgba(155, 92, 255, .05); border: 1px dashed var(--line-2); border-radius: 16px; }
.linked { display: flex; align-items: center; gap: 14px; } .linked > div { flex: 1; } .linked img { border-radius: 10px; image-rendering: pixelated; } .linked b, .linked small { display: block; }
.profile-head { display: flex; gap: 22px; align-items: center; } .profile-head__skin { border-radius: 18px; image-rendering: pixelated; box-shadow: 0 0 0 3px var(--violet), var(--shadow); } .profile-head h1 { margin: 0 0 6px; font-size: clamp(1.6rem, 3.5vw, 2.4rem); } .profile-head p { margin: 0; }
.howto { list-style: none; counter-reset: h; padding: 0; margin: 0; }
.howto li { counter-increment: h; position: relative; padding: 0 0 26px 62px; }
.howto li::before { content: counter(h); position: absolute; left: 0; top: 0; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(135deg, var(--violet), var(--orange)); font-family: var(--font-display); font-weight: 800; }
.howto li::after { content: ''; position: absolute; left: 20px; top: 48px; bottom: 6px; width: 2px; background: var(--line-2); } .howto li:last-child::after { display: none; }
.howto p { color: var(--muted); } .dl { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.pass { display: flex; justify-content: space-between; padding: 12px 16px; border-radius: 12px; margin-bottom: 8px; background: color-mix(in srgb, var(--accent) 14%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent); color: #fff; font-weight: 700; } .pass:hover { color: #fff; transform: translateX(3px); }
.ticks { padding-left: 1.2em; color: var(--muted); font-size: .9rem; } .ticks b { color: #fff; }
.summary { border-color: color-mix(in srgb, var(--accent) 50%, transparent); } .summary__total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 14px; } .summary__total b { font-family: var(--font-display); font-size: 1.8rem; }
.order { text-align: center; padding: 40px; } .order__icon { font-size: 3.6rem; } .order .facts { text-align: left; max-width: 360px; margin: 24px auto; } .order .hero__cta { justify-content: center; }
.errorpage { padding-block: 60px; } .errorpage__code { font-family: var(--font-display); font-size: 4.5rem; background: linear-gradient(180deg, var(--violet-2), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cta { display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; padding: 40px; border-radius: 28px; background: radial-gradient(500px 250px at 90% 0%, rgba(255, 138, 42, .2), transparent 70%), radial-gradient(600px 300px at 0% 100%, rgba(155, 92, 255, .35), transparent 70%), var(--surface); border: 1px solid var(--line-2); }
.cta h2 { margin-bottom: 6px; } .cta p { margin: 0; color: var(--muted); } .cta__actions { display: flex; flex-direction: column; gap: 10px; } .cta__logo { filter: drop-shadow(0 0 24px rgba(155, 92, 255, .7)); animation: float 5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px) rotate(-3deg); } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }

/* ---------- Админка ---------- */
.adminnav { display: flex; gap: 6px; flex-wrap: wrap; margin: 16px 0 24px; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.adminnav a { padding: 8px 16px; border-radius: 10px; color: var(--muted); font-weight: 700; } .adminnav a.is-active, .adminnav a:hover { background: var(--violet-3); color: #fff; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-bottom: 18px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; } .kpi small { color: var(--muted); font-weight: 700; display: block; } .kpi b { font-family: var(--font-display); font-size: 1.7rem; display: block; margin: 4px 0; } .kpi em { color: var(--ok); font-style: normal; font-size: .8rem; }
.kpi--warn { border-color: rgba(255, 179, 71, .5); background: linear-gradient(160deg, rgba(255, 179, 71, .08), var(--surface)); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; margin-top: 14px; background: var(--surface); }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; padding: 12px 16px; color: var(--muted); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; border-bottom: 1px solid var(--line); background: rgba(155, 92, 255, .06); }
.table td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; } .table tr:last-child td { border-bottom: 0; }
.table .actions { display: flex; flex-direction: column; gap: 6px; } .table form.inline, form.inline { display: flex; gap: 6px; } .table form.inline input, .table form.inline select { padding: 6px 10px; width: auto; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--line-2); }
.logrow td { background: rgba(0, 0, 0, .25); } .logrow pre { margin: 8px 0 0; font-size: .78rem; white-space: pre-wrap; }
.rowline { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); align-items: center; } .rowline:last-child { border: 0; }
.report-card.is-done { opacity: .6; }

/* ---------- Футер ---------- */
.footer { position: relative; margin-top: 60px; border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(10, 5, 22, .9)); overflow: hidden; }
.footer__glow { position: absolute; left: 50%; top: -120px; width: 600px; height: 200px; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(155, 92, 255, .3), transparent 70%); pointer-events: none; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-block: 56px 36px; position: relative; }
.footer__brand p { color: var(--muted); font-size: .92rem; margin: 16px 0 18px; max-width: 360px; }
.footer__col { display: flex; flex-direction: column; gap: 8px; } .footer__col h4 { font-family: var(--font); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); } .footer__col a { color: var(--muted); font-weight: 600; font-size: .94rem; } .footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-block: 20px; border-top: 1px solid var(--line); color: #7d70a0; font-size: .8rem; position: relative; }

/* ---------- Появление при прокрутке ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } .js .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } }

/* ---------- Адаптив ---------- */
@media (max-width: 1020px) {
  .two, .two--checkout, .split, .lore, .rules-layout { grid-template-columns: 1fr; }
  .side, .toc { position: static; }
  .toc { flex-direction: row; flex-wrap: wrap; } .toc b { width: 100%; }
  .cat { grid-template-columns: 54px 1fr; } .cat__stat, .cat__last { display: none; }
  .topic { grid-template-columns: 48px 1fr 70px; } .topic__stat:nth-of-type(3), .topic__last { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cta { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .news-grid > .news-card--big { grid-column: auto; }
}
@media (max-width: 860px) {
  .burger { display: flex; }
  .nav__links { position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; background: rgba(8, 4, 15, .97); border-bottom: 1px solid var(--line-2); padding: 14px 20px 24px; margin: 0; gap: 2px; transform: translateY(-120%); transition: transform .3s; max-height: calc(100vh - 68px); overflow: auto; }
  .nav__links.is-open { transform: none; }
  .dropdown__menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 0 10px; min-width: 0; }
  .nav__links .dropdown__btn { width: 100%; }
  .ip-pill__hint, .hide-sm { display: none; }
  .nav__right .dropdown--right .dropdown__menu { position: absolute; background: var(--surface); border: 1px solid var(--line-2); opacity: 0; visibility: hidden; padding: 8px; }
  .nav__right .dropdown--right:hover .dropdown__menu, .nav__right .dropdown--right.is-open .dropdown__menu { opacity: 1; visibility: visible; }
  .post { grid-template-columns: 1fr; } .post__user { flex-direction: row; justify-content: flex-start; border-right: 0; border-bottom: 1px solid var(--line); padding: 12px 16px; } .post__user img { width: 40px; height: 40px; margin: 0; }
  .grid2 { grid-template-columns: 1fr; } .span2 { grid-column: auto; }
}
@media (max-width: 560px) {
  .ip-pill { display: none; } .hero__content { padding-block: 40px 70px; }
  .footer__grid { grid-template-columns: 1fr; } .rule { grid-template-columns: 1fr; } .rule__n { width: 62px; }
  .ipbox { flex-wrap: wrap; } .auth__card { padding: 28px 20px; } .profile-head { flex-direction: column; text-align: center; }
}
