@font-face { font-family: "Golos"; src: url("assets/GolosText.ttf") format("truetype"); font-weight: 400 900; font-display: swap; }
:root {
  --ink: #151b24; --night: #1b2230; --deep: #11161e; --navy: #272b33; --slate: #393c40; --stone: #55554e;
  --moss: #83816b; --sage: #b4ad89; --umber: #473c36; --bronze: #977344; --gold: #c69a55; --gold-l: #e4be78;
  --cream: #eee1b5; --ok: #9fbf6a;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--night); color: var(--cream); font: 500 16px/1.55 "Golos", system-ui, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
img { image-rendering: pixelated; }
a { color: var(--gold-l); }
code { font-family: Consolas, "Cascadia Mono", ui-monospace, monospace; font-size: .9em; color: var(--gold-l); }
section { max-width: 1040px; margin: 0 auto; padding: 72px 20px 0; }
h2 { font-size: 30px; font-weight: 900; color: var(--gold-l); text-shadow: 3px 3px 0 var(--ink); margin-bottom: 20px; }
.sec-sub { color: var(--sage); margin: -10px 0 22px; max-width: 640px; }

/* кнопки из спрайтов игры */
.btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; color: var(--cream);
  height: 48px; padding: 0 20px; border: 2px solid transparent; cursor: pointer; font: inherit; font-weight: 800; background: none; }
.btn-gold { color: var(--ink); border-image: url(assets/panel_gold.png) 3 fill / 6px stretch; image-rendering: pixelated; }
.btn-gold:hover { filter: brightness(1.07); }
.btn-gold:active { border-image-source: url(assets/panel_amber.png); transform: translateY(2px); }
.btn-ghost { background: rgba(21,27,36,.7); box-shadow: inset 0 0 0 3px var(--slate); }
.btn-ghost:hover { box-shadow: inset 0 0 0 3px var(--bronze); }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; }
.btn-xl { height: 70px; padding: 0 28px 0 18px; font-size: 21px; border-width: 10px; border-image-width: 10px; filter: drop-shadow(0 4px 0 var(--ink)) drop-shadow(0 0 26px rgba(228,190,120,.35)); }
.btn-xl img { width: 32px; height: 32px; filter: brightness(.15); }
.btn[aria-disabled="true"] { filter: grayscale(.6) brightness(.8); pointer-events: none; }

/* навигация */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 10px 20px;
  background: rgba(17,22,30,.92); backdrop-filter: blur(6px); border-bottom: 3px solid var(--ink); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cream); }
.brand-fire { width: 30px; height: 23px; background: url(assets/fire.png) 0 0 / 123px 23px no-repeat; image-rendering: pixelated; animation: tf .6s steps(1) infinite; }
@keyframes tf { 0%{background-position:0 0} 25%{background-position:-30.75px 0} 50%{background-position:-61.5px 0} 75%{background-position:-92.25px 0} }
.brand b { font-weight: 900; letter-spacing: .3em; color: var(--gold); }
.brand-sub { font-size: 13px; color: var(--moss); }
.links { display: flex; gap: 22px; margin-left: auto; }
.links a { color: var(--sage); text-decoration: none; font-weight: 700; font-size: 15px; }
.links a:hover { color: var(--cream); }

/* герой */
.hero { position: relative; min-height: 600px; display: grid; place-items: center; overflow: hidden; background: #0b1017; }
#scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-in { position: relative; z-index: 1; text-align: center; padding: 64px 20px 150px; }
.hero-logo { width: min(364px, 78vw); height: auto; }
.kiln-tag { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 8px auto 18px; width: min(364px, 78vw);
  font-weight: 900; letter-spacing: .6em; color: var(--gold); font-size: 15px; padding-left: .6em; }
.kiln-tag span { flex: 1; height: 3px; background: var(--umber); box-shadow: 0 3px 0 var(--ink); }
.hero h1 { font-size: clamp(30px, 4.6vw, 48px); line-height: 1.1; font-weight: 900; text-shadow: 4px 4px 0 var(--ink); }
.lead { max-width: 560px; margin: 14px auto 28px; color: var(--sage); font-size: 18px; text-shadow: 2px 2px 0 var(--ink); }
.cta { display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; }
.cta-meta { margin-top: 14px; font-size: 13px; color: var(--moss); text-shadow: 1px 1px 0 var(--ink); }

/* скриншоты */
.shots { padding-top: 0; margin-top: -40px; position: relative; z-index: 2; }
.shot-tabs { display: flex; gap: 4px; justify-content: center; margin-bottom: 10px; }
.shot-tabs button { font: inherit; font-weight: 700; font-size: 14px; color: var(--moss); background: var(--ink); border: 0; padding: 8px 16px; cursor: pointer; box-shadow: inset 0 0 0 3px var(--navy); }
.shot-tabs button.on { color: var(--gold-l); box-shadow: inset 0 0 0 3px var(--bronze); }
.shot-frame { border: 12px solid transparent; border-image: url(assets/panel_frame.png) 3 fill / 12px stretch; image-rendering: pixelated;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,.55)); }
.shot-frame img { display: block; width: 100%; height: auto; image-rendering: auto; background: var(--ink); }

/* возможности */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.card { padding: 20px 22px; background: #1f2530; border: 3px solid var(--ink); box-shadow: inset 0 0 0 3px var(--slate), 4px 4px 0 rgba(0,0,0,.3); }
.card img { width: 40px; height: 40px; }
.card h3 { font-size: 19px; font-weight: 800; margin: 8px 0 4px; }
.card p { color: var(--sage); font-size: 15px; }

/* версии */
.list { display: grid; gap: 12px; }
.v { display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: center; padding: 12px 14px; background: #1f2530; border: 3px solid var(--ink); box-shadow: inset 0 0 0 3px var(--slate); }
.v.kiln { background: none; border: 9px solid transparent; border-image: url(assets/panel_frame.png) 3 fill / 9px stretch; box-shadow: none; padding: 6px 8px; }
.ic { width: 56px; height: 56px; display: grid; place-items: center; background: var(--ink); box-shadow: inset 0 0 0 3px var(--umber); }
.ic img { width: 40px; height: 40px; }
.t { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.t b { font-size: 18px; font-weight: 800; }
.badge { font-size: 11px; font-weight: 800; padding: 0 6px; background: var(--stone); color: var(--cream); }
.badge.gold { background: var(--gold); color: var(--ink); }
.n { color: var(--sage); font-size: 14px; margin-top: 2px; }
.m { color: var(--moss); font-size: 12px; margin-top: 4px; font-family: Consolas, ui-monospace, monospace; word-break: break-all; }
.loading, .err { color: var(--moss); }

/* мододелам */
.two { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: start; }
.two p { color: var(--sage); margin-bottom: 12px; }
pre { font-family: Consolas, "Cascadia Mono", ui-monospace, monospace; font-size: 14px; line-height: 1.6; background: var(--deep); padding: 16px 18px; box-shadow: inset 0 0 0 3px var(--navy); overflow-x: auto; color: var(--sage); margin-bottom: 12px; }
pre i { color: var(--moss); font-style: normal; }
.code .cs { color: var(--gold-l); } .code .cv { color: var(--ok); } .code .ck { color: var(--moss); }

/* вопросы */
.faq details { background: #1f2530; box-shadow: inset 0 0 0 3px var(--slate); margin-bottom: 8px; }
.faq summary { cursor: pointer; padding: 14px 18px; font-weight: 800; list-style: none; display: flex; gap: 10px; }
.faq summary::before { content: "+"; color: var(--gold); font-weight: 900; width: 12px; }
.faq details[open] summary::before { content: "−"; }
.faq details p { padding: 0 18px 16px 40px; color: var(--sage); }

footer { margin-top: 90px; padding: 34px 20px 44px; text-align: center; background: var(--deep); border-top: 3px solid var(--ink); color: var(--moss); font-size: 14px; }
.foot-logo { width: 136px; height: auto; opacity: .7; margin-bottom: 10px; }
footer b { color: var(--cream); }

@media (max-width: 760px) {
  .links { display: none; }
  .top .dl-link { margin-left: auto; }
  .grid, .two { grid-template-columns: 1fr; }
  .v { grid-template-columns: 1fr; }
  .ic { display: none; }
  .hero-in { padding-bottom: 170px; }
  .shots { margin-top: -30px; }
  pre { font-size: 12px; }
  .top { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { .brand-fire { animation: none; } html { scroll-behavior: auto; } }
.two > * { min-width: 0; }

/* ═══════════ общие элементы страниц ═══════════ */
.top .links a.on { color: var(--gold-l); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.user-chip { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px 0 4px; text-decoration: none; color: var(--cream); font-weight: 800; font-size: 14px; background: var(--ink); box-shadow: inset 0 0 0 3px var(--navy); }
.user-chip:hover { box-shadow: inset 0 0 0 3px var(--bronze); }
.ava { width: 30px; height: 30px; display: grid; place-items: center; background: var(--gold); color: var(--ink); font-weight: 900; box-shadow: inset -3px -3px 0 var(--bronze); }
.btn-block { width: 100%; justify-content: center; }
.btn-danger { color: #ffd9cc; background: #3a1f1c; box-shadow: inset 0 0 0 3px #6b2c25; }
.btn-danger:hover { box-shadow: inset 0 0 0 3px #a2463a; }
.btn[disabled], .btn:disabled { opacity: .5; pointer-events: none; }
.page { max-width: 1100px; margin: 0 auto; padding: 40px 20px 0; }
.page-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.page-title h1 { font-size: 34px; font-weight: 900; color: var(--gold-l); text-shadow: 3px 3px 0 var(--ink); line-height: 1.1; }
.page-title p { color: var(--sage); margin-top: 4px; }
.muted { color: var(--moss); }
.chip { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 9px; font-size: 12.5px; font-weight: 800; color: var(--sage); background: var(--ink); box-shadow: inset 0 0 0 2px var(--slate); text-decoration: none; white-space: nowrap; }
.chip.on, .chip:hover { color: var(--ink); background: var(--gold); box-shadow: inset 0 0 0 2px var(--bronze); }
.status { display: inline-block; font-size: 11px; font-weight: 900; letter-spacing: .04em; padding: 1px 7px; text-transform: uppercase; }
.status.approved { background: var(--ok); color: var(--ink); }
.status.pending { background: var(--gold); color: var(--ink); }
.status.rejected { background: #a2463a; color: #ffe; }
.status.draft { background: var(--stone); color: var(--cream); }
.empty-box { padding: 48px 20px; text-align: center; color: var(--moss); border: 3px dashed var(--slate); }
.empty-box b { display: block; color: var(--cream); font-size: 18px; margin-bottom: 4px; }
.toast-zone { position: fixed; right: 18px; bottom: 18px; display: grid; gap: 8px; z-index: 100; }
.toast { padding: 10px 14px; background: var(--ink); box-shadow: inset 0 0 0 3px var(--bronze), 4px 4px 0 rgba(0,0,0,.4); max-width: 380px; font-size: 14px; }
.toast.err { box-shadow: inset 0 0 0 3px #a2463a, 4px 4px 0 rgba(0,0,0,.4); }

/* формы */
.form { display: grid; gap: 14px; }
.form h3 { font-size: 22px; font-weight: 900; }
.f { display: grid; gap: 6px; }
.f > span { font-size: 13px; font-weight: 800; color: var(--sage); }
.f > span i { font-style: normal; font-weight: 600; color: var(--moss); }
.f input, .f textarea, .f select { font: inherit; font-size: 15px; color: var(--cream); background: var(--deep); border: 0; padding: 11px 12px; box-shadow: inset 0 0 0 3px var(--navy); outline: 0; width: 100%; }
.f textarea { min-height: 140px; resize: vertical; font-family: Consolas, ui-monospace, monospace; font-size: 14px; line-height: 1.5; }
.f input:focus, .f textarea:focus, .f select:focus { box-shadow: inset 0 0 0 3px var(--bronze); }
.f .hint { font-size: 12.5px; color: var(--moss); }
.form-err { color: #f0a493; font-size: 14px; min-height: 1em; }
.form-note { font-size: 12.5px; color: var(--moss); }

/* модальное окно */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: rgba(11,16,23,.78); backdrop-filter: blur(3px); }
.modal-box { position: relative; width: min(420px, 100%); padding: 26px 26px 22px; background: var(--night); border: 12px solid transparent; border-image: url(assets/panel_frame.png) 3 fill / 12px stretch; image-rendering: pixelated; }
.modal-box > * { image-rendering: auto; }
.modal-logo { display: block; width: 182px; margin: 0 auto 16px; image-rendering: pixelated !important; }
.modal-x { position: absolute; top: 4px; right: 8px; font-size: 28px; line-height: 1; color: var(--moss); background: none; border: 0; cursor: pointer; }
.modal-x:hover { color: var(--cream); }
.seg-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--ink); box-shadow: inset 0 0 0 3px var(--navy); margin-bottom: 16px; }
.seg-tabs button { font: inherit; font-weight: 800; font-size: 14px; color: var(--moss); background: none; border: 0; height: 38px; cursor: pointer; }
.seg-tabs button.on { color: var(--cream); background: var(--slate); box-shadow: inset 0 -3px 0 var(--gold); }
.modal:not(.reg) .only-reg { display: none; }

/* ═══════════ каталог модов ═══════════ */
.cat-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.search-in { flex: 1; min-width: 220px; display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 12px; background: var(--deep); box-shadow: inset 0 0 0 3px var(--navy); }
.search-in:focus-within { box-shadow: inset 0 0 0 3px var(--bronze); }
.search-in img { width: 24px; height: 24px; opacity: .7; }
.search-in input { flex: 1; min-width: 0; font: inherit; color: var(--cream); background: none; border: 0; outline: 0; }
.cat-bar select { font: inherit; font-weight: 700; color: var(--cream); background: var(--deep); border: 0; height: 46px; padding: 0 12px; box-shadow: inset 0 0 0 3px var(--navy); }
.tag-row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 22px; }
.mod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.mod-card { display: grid; grid-template-rows: 150px auto; text-decoration: none; color: inherit; background: #1f2530; border: 3px solid var(--ink); box-shadow: inset 0 0 0 3px var(--slate), 4px 4px 0 rgba(0,0,0,.3); transition: transform .12s; }
.mod-card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 3px var(--bronze), 4px 7px 0 rgba(0,0,0,.3); }
.mc-cover { position: relative; overflow: hidden; background: #0b1017 url(assets/ground.png) 0 0 / 48px 48px; image-rendering: pixelated; margin: 3px 3px 0; }
.mc-cover img.shot { width: 100%; height: 100%; object-fit: cover; image-rendering: auto; display: block; }
.mc-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(17,22,30,.85)); }
.mc-icon { position: absolute; left: 12px; bottom: -1px; z-index: 1; width: 64px; height: 64px; display: grid; place-items: center; background: var(--ink); box-shadow: inset 0 0 0 3px var(--umber); }
.mc-icon img { width: 48px; height: 48px; }
.mc-body { padding: 12px 14px 14px; display: grid; gap: 6px; }
.mc-title { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.mc-title b { font-size: 17px; font-weight: 900; }
.mc-title span { font-size: 12px; color: var(--moss); white-space: nowrap; }
.mc-sum { color: var(--sage); font-size: 14px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mc-meta { display: flex; gap: 12px; font-size: 12.5px; color: var(--moss); margin-top: 2px; flex-wrap: wrap; }

/* ═══════════ страница мода ═══════════ */
.mod-hero { position: relative; overflow: hidden; background: #0b1017; border-bottom: 3px solid var(--ink); }
.mod-hero .bg { position: absolute; inset: -20px; background-size: cover; background-position: center; filter: blur(16px) saturate(.9) brightness(.45); transform: scale(1.08); }
.mod-hero .bg.pixel { filter: brightness(.5); background-size: 64px 64px; image-rendering: pixelated; transform: none; inset: 0; }
.mod-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,16,23,.15), rgba(27,34,48,1)); }
.mh-in { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; padding: 44px 20px 30px; display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: end; }
.mh-icon { width: 128px; height: 128px; display: grid; place-items: center; background: var(--ink); border: 12px solid transparent; border-image: url(assets/panel_frame.png) 3 fill / 12px stretch; image-rendering: pixelated; filter: drop-shadow(0 10px 24px rgba(0,0,0,.5)); }
.mh-icon img { width: 88px; height: 88px; }
.mh-crumbs { font-size: 13px; color: var(--moss); margin-bottom: 6px; }
.mh-crumbs a { color: var(--sage); text-decoration: none; }
.mh-text h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 900; line-height: 1.05; text-shadow: 4px 4px 0 var(--ink); }
.mh-by { color: var(--sage); margin: 6px 0 10px; }
.mh-by b { color: var(--gold-l); }
.mh-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.mh-actions { display: grid; gap: 8px; justify-items: stretch; min-width: 230px; }
.mh-actions .btn-xl { height: 62px; font-size: 19px; justify-content: center; }
.mh-actions small { text-align: center; color: var(--moss); font-size: 12.5px; }
.mh-stats { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; padding: 0 20px 22px; display: flex; gap: 10px; flex-wrap: wrap; }
.stat-box { padding: 8px 14px; background: rgba(21,27,36,.85); box-shadow: inset 0 0 0 3px var(--navy); }
.stat-box b { display: block; font-size: 18px; font-weight: 900; color: var(--cream); line-height: 1.2; }
.stat-box span { font-size: 12px; color: var(--moss); }
.owner-bar { max-width: 1100px; margin: 18px auto 0; padding: 0 20px; }
.owner-bar > div { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 12px 16px; background: rgba(198,154,85,.08); box-shadow: inset 0 0 0 3px var(--bronze); }
.owner-bar p { flex: 1; color: var(--sage); font-size: 14px; }
.mod-layout { max-width: 1100px; margin: 0 auto; padding: 26px 20px 0; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 26px; align-items: start; }
.gallery-main { position: relative; aspect-ratio: 16 / 9; background: var(--ink); border: 9px solid transparent; border-image: url(assets/panel_frame.png) 3 fill / 9px stretch; image-rendering: pixelated; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; image-rendering: auto; display: block; }
.thumbs { display: flex; gap: 8px; margin: 10px 0 0; overflow-x: auto; padding-bottom: 4px; }
.thumbs button { flex: none; width: 116px; aspect-ratio: 16/9; padding: 0; border: 0; cursor: pointer; background: var(--ink); box-shadow: inset 0 0 0 3px var(--navy); overflow: hidden; opacity: .65; }
.thumbs button.on { opacity: 1; box-shadow: inset 0 0 0 3px var(--gold); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; padding: 3px; }
.mod-tabs { display: flex; gap: 4px; margin: 26px 0 0; border-bottom: 3px solid var(--navy); }
.mod-tabs button { font: inherit; font-weight: 800; font-size: 15px; color: var(--moss); background: none; border: 0; padding: 10px 16px; cursor: pointer; margin-bottom: -3px; border-bottom: 3px solid transparent; }
.mod-tabs button.on { color: var(--gold-l); border-bottom-color: var(--gold); }
.mod-tabs button em { font-style: normal; font-size: 12px; color: var(--moss); margin-left: 4px; }
.prose { padding: 20px 2px 0; color: var(--sage); font-size: 16px; line-height: 1.65; }
.prose h3, .prose h4, .prose h5 { color: var(--cream); font-weight: 900; margin: 22px 0 8px; line-height: 1.2; }
.prose h3 { font-size: 24px; } .prose h4 { font-size: 19px; } .prose h5 { font-size: 16px; }
.prose p { margin: 0 0 12px; }
.prose ul, .prose ol { margin: 0 0 12px 22px; }
.prose li { margin: 3px 0; }
.prose b { color: var(--cream); }
.prose code { background: var(--deep); padding: 1px 5px; }
.prose pre { margin: 0 0 14px; }
.prose pre code { background: none; padding: 0; color: var(--sage); }
.timeline { padding: 20px 0 0; display: grid; gap: 12px; }
.tl-item { display: grid; grid-template-columns: 20px 1fr; gap: 12px; }
.tl-dot { width: 14px; height: 14px; margin-top: 5px; background: var(--slate); box-shadow: 0 0 0 3px var(--ink); }
.tl-item.latest .tl-dot { background: var(--gold); }
.tl-head { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.tl-head b { font-size: 17px; }
.tl-head span { font-size: 13px; color: var(--moss); }
.tl-body { color: var(--sage); font-size: 14.5px; margin-top: 4px; }
.tl-body .prose { padding: 0; font-size: 14.5px; }
.tl-dl { font-size: 13px; margin-top: 6px; display: inline-block; }
.side { display: grid; gap: 14px; position: sticky; top: 76px; }
.side-card { padding: 16px 18px; background: #1f2530; border: 3px solid var(--ink); box-shadow: inset 0 0 0 3px var(--slate); }
.side-card h4 { font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; color: var(--moss); margin-bottom: 10px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 7px 14px; font-size: 14px; }
.kv dt { color: var(--moss); }
.kv dd { color: var(--cream); text-align: right; word-break: break-all; }
.kv dd code { font-size: 12px; }
.compat { display: flex; gap: 10px; align-items: center; padding: 10px 12px; margin-bottom: 12px; font-size: 13.5px; font-weight: 700; }
.compat.ok { background: rgba(159,191,106,.12); box-shadow: inset 0 0 0 3px #5d7a3a; color: #cfe5a8; }
.compat.warn { background: rgba(198,154,85,.1); box-shadow: inset 0 0 0 3px var(--bronze); color: var(--gold-l); }
.steps { counter-reset: s; display: grid; gap: 9px; font-size: 14px; color: var(--sage); list-style: none; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 24px 1fr; gap: 8px; }
.steps li::before { content: counter(s); width: 22px; height: 22px; display: grid; place-items: center; font-size: 12px; font-weight: 900; color: var(--ink); background: var(--gold); }
.links-list { display: grid; gap: 6px; }
.links-list a { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; text-decoration: none; color: var(--sage); padding: 8px 10px; background: var(--deep); box-shadow: inset 0 0 0 2px var(--navy); }
.links-list a:hover { color: var(--cream); box-shadow: inset 0 0 0 2px var(--bronze); }

/* ═══════════ аккаунт / модерация ═══════════ */
.acc-head { display: flex; gap: 18px; align-items: center; margin-bottom: 20px; }
.acc-head .ava { width: 72px; height: 72px; font-size: 34px; box-shadow: inset -6px -6px 0 var(--bronze), 0 0 0 3px var(--ink); }
.acc-head h1 { font-size: 30px; font-weight: 900; }
.acc-head p { color: var(--moss); }
.acc-tabs { display: flex; gap: 4px; border-bottom: 3px solid var(--navy); margin-bottom: 20px; }
.acc-tabs button { font: inherit; font-weight: 800; color: var(--moss); background: none; border: 0; padding: 10px 16px; cursor: pointer; margin-bottom: -3px; border-bottom: 3px solid transparent; }
.acc-tabs button.on { color: var(--gold-l); border-bottom-color: var(--gold); }
.row-list { display: grid; gap: 10px; }
.row { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 12px 14px; background: #1f2530; box-shadow: inset 0 0 0 3px var(--slate); }
.row .ic { width: 56px; height: 56px; display: grid; place-items: center; background: var(--ink); box-shadow: inset 0 0 0 3px var(--umber); }
.row .ic img { width: 40px; height: 40px; }
.row-title { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.row-title b { font-size: 17px; }
.row-sub { color: var(--moss); font-size: 13px; margin-top: 2px; }
.row-note { margin-top: 6px; font-size: 13.5px; color: #f0b5a8; }
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.quota { height: 14px; background: var(--deep); box-shadow: inset 0 0 0 3px var(--navy); position: relative; margin: 8px 0 18px; }
.quota i { position: absolute; left: 3px; top: 3px; bottom: 3px; background: repeating-linear-gradient(90deg, var(--gold) 0 6px, var(--gold-l) 6px 9px); }

@media (max-width: 900px) {
  .mod-layout { grid-template-columns: 1fr; }
  .side { position: static; }
  .mh-in { grid-template-columns: auto 1fr; }
  .mh-actions { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .mh-in { grid-template-columns: 1fr; }
  .mh-icon { width: 104px; height: 104px; }
  .mh-icon img { width: 68px; height: 68px; }
  .row { grid-template-columns: 1fr; }
  .row .ic { display: none; }
  .row-actions { justify-content: flex-start; }
  .nav-right .btn-ghost { display: none; }
}

.tab-pane { max-width: none; margin: 0; padding: 0; }
.mod-hero .bg { filter: blur(16px) saturate(.95) brightness(.6); }
[hidden] { display: none !important; }
.page section { max-width: none; margin: 0; padding: 0; }
