/* A night gallery of collectible portraits. The portrait card is the only object with weight; everything else stays flat. */
:root {
  color-scheme: dark;
  --night: #150E1A;
  --hall: #1F1526;
  --seat: #2B1D33;
  --line: #43304E;
  --cream: #F7EEE1;
  --dim: #BDADC0;
  --bulb: #FFC24A;
  --velvet: #E2485F;
  --ink: #1A0F12;
  --ok: #7FD8A6;
  --display: "Prata", Georgia, "Times New Roman", serif;
  --body: "Onest", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", Consolas, "Courier New", monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--cream); font-family: var(--body); font-size: 16px; line-height: 1.55; }
a { color: var(--bulb); }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 400; text-wrap: balance; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--bulb); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.wrap { max-width: 1180px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.mono { font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; }
.dim { color: var(--dim); }
.bulb { color: var(--bulb); }
.gap { margin-top: 10px; }

.top { position: sticky; top: 0; z-index: 9; background: rgba(21, 14, 26, 0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 12px; padding-bottom: 12px; }
.logo { display: inline-flex; align-items: center; gap: 10px; padding: 6px 0; text-decoration: none; color: var(--cream); }
.logo-mark { height: 34px; width: auto; }
.logo-word { height: 22px; width: auto; margin-top: 2px; }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; }
.foot-brand img { height: 20px; width: auto; }
@media (max-width: 420px) { .logo-mark { height: 28px; } .logo-word { height: 18px; } }
.nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.nav a { text-decoration: none; font-size: 15px; padding: 11px 0; color: var(--dim); }
.nav a:hover { color: var(--cream); }
.right { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.flash { background: var(--bulb); color: var(--ink); font-weight: 600; }
.flash .wrap { padding-top: 12px; padding-bottom: 12px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border: 1px solid transparent; border-radius: 10px; font: 600 16px var(--body); text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-main { background: var(--bulb); color: var(--ink); }
.btn-main:hover { background: #FFD27A; }
.btn-ghost { border-color: var(--line); color: var(--cream); background: transparent; }
.btn-ghost:hover { border-color: var(--dim); }
.btn-sm { min-height: 44px; padding: 8px 18px; font-size: 15px; }
.linkbtn { min-height: 44px; padding: 8px 4px; border: 0; background: none; color: var(--dim); font: 500 15px var(--body); text-decoration: underline; cursor: pointer; }
.linkbtn:hover { color: var(--cream); }
.linkbtn.danger { color: #FF9AA8; }
.inline { display: inline-flex; margin: 0; }

.hero { border-bottom: 1px solid var(--line); background: radial-gradient(60% 80% at 85% 10%, rgba(255, 194, 74, 0.14), transparent 70%), radial-gradient(50% 70% at 70% 100%, rgba(226, 72, 95, 0.16), transparent 70%); overflow: hidden; }
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 72px; padding-bottom: 88px; }
.hero-text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.hero h1 { font-size: clamp(38px, 6vw, 68px); line-height: 1.05; }
.hero h1 em { font-style: normal; color: var(--bulb); }
.hero p { font-size: 18px; color: var(--dim); max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { flex: 1 1 380px; min-width: 0; display: flex; justify-content: center; padding: 20px 0; }
.fan { display: flex; justify-content: center; width: 100%; max-width: 460px; }
.fan .card { flex: 0 0 46%; min-width: 0; margin: 0 -9%; background: var(--cream); color: var(--ink); padding: 8px 8px 12px; border-radius: 16px; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55); transition: transform .3s ease; }
.fan .card:nth-child(1) { transform: rotate(-11deg) translateY(18px); }
.fan .card:nth-child(2) { transform: translateY(-10px); z-index: 2; }
.fan .card:nth-child(3) { transform: rotate(11deg) translateY(18px); }
.fan:hover .card:nth-child(1) { transform: rotate(-15deg) translate(-14px, 18px); }
.fan:hover .card:nth-child(3) { transform: rotate(15deg) translate(14px, 18px); }
.fan .por { border-radius: 10px; overflow: hidden; }
.fan .cap { display: flex; justify-content: space-between; gap: 6px; padding: 10px 4px 0; font-weight: 600; font-size: 14px; }
.fan .cap span { font-family: var(--mono); font-weight: 400; font-size: 12px; }
.por img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }

.sec { padding-top: 64px; padding-bottom: 8px; display: flex; flex-direction: column; gap: 32px; }
.sec:last-child { padding-bottom: 64px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; }
.sec h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; }
.lead { color: var(--dim); font-size: 17px; max-width: 620px; }
.go { font-weight: 600; font-size: 15px; padding: 11px 0; }
.empty { color: var(--dim); padding: 28px; border: 1px dashed var(--line); border-radius: 16px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; counter-reset: s; }
.steps li { counter-increment: s; display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line); min-width: 0; }
.steps li::before { content: "Шаг " counter(s); font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--bulb); }
.steps h3 { font-size: 19px; font-weight: 600; }
.steps p, .rules p { color: var(--dim); font-size: 15px; }
.rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.rules div { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.rules h3 { font-size: 18px; font-weight: 600; }
.band { background: var(--velvet); color: #fff; border-radius: 20px; padding: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.band h2 { font-size: clamp(24px, 3.4vw, 34px); max-width: 620px; }
.band p { max-width: 560px; margin-top: 8px; }
.band .btn { background: var(--ink); color: var(--cream); }

.page { padding-top: 40px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 28px; }
.page h1 { font-size: clamp(30px, 4.6vw, 46px); line-height: 1.1; }
.h { font-family: var(--body); font-weight: 600; font-size: 18px; }
.text { max-width: 760px; }
.text h2 { font-family: var(--body); font-weight: 600; font-size: 19px; margin-top: 8px; }
.text p { color: var(--dim); }
.back { align-self: flex-start; text-decoration: none; color: var(--dim); font-size: 15px; padding: 11px 0; }
.back:hover { color: var(--cream); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px; color: var(--cream); font-size: 15px; font-weight: 500; text-decoration: none; }
.chip:hover { border-color: var(--dim); }
.chip.on { background: var(--bulb); border-color: var(--bulb); color: var(--ink); font-weight: 600; }
.tag { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; }

.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.person { display: flex; flex-direction: column; gap: 12px; padding: 12px; background: var(--hall); border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--cream); min-width: 0; transition: transform .18s ease, border-color .18s ease; }
.person:hover { transform: translateY(-4px) rotate(-1deg); border-color: var(--bulb); }
.person .por { border-radius: 10px; overflow: hidden; }
.person-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 0 4px; }
.person-row strong { font-size: 17px; font-weight: 600; }
.person small { padding: 0 4px; color: var(--dim); font-size: 14px; }
.person-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 12px 4px 4px; border-top: 1px solid var(--line); font-size: 14px; }
.person-foot b { font-size: 16px; }

.two { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; margin: 0; }
.two > * { min-width: 0; }
.col-a { flex: 1 1 340px; display: flex; flex-direction: column; gap: 16px; }
.col-b { flex: 1 1 420px; display: flex; flex-direction: column; gap: 20px; }
.stack { display: flex; flex-direction: column; gap: 16px; margin: 0; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.grow { flex: 1 1 140px; }
.narrow { max-width: 480px; }
.bigpor { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); }
.thumb { flex: 0 0 88px; width: 88px; border-radius: 12px; overflow: hidden; }
.thumb.big { flex-basis: 160px; width: 160px; }
.ref { display: block; max-width: 100%; max-height: 420px; border-radius: 12px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; }
.facts > * { flex: 1 1 130px; padding: 12px 14px; background: var(--hall); border: 1px solid var(--line); border-radius: 12px; color: var(--cream); text-decoration: none; }
.facts span { display: block; font-size: 12px; color: var(--dim); }
.facts.big strong { font-family: var(--display); font-weight: 400; font-size: 30px; }
.facts.big > * { flex-basis: 200px; }
.box { display: flex; flex-direction: column; gap: 16px; padding: 24px; background: var(--hall); border: 1px solid var(--line); border-radius: 18px; margin: 0; }
.box .facts > * { background: var(--night); }
.price { font-family: var(--display); font-size: 32px; line-height: 1.1; }
.price-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.order-head { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.order-head > div:nth-child(2) { flex: 1 1 140px; min-width: 0; }
.label { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); }
.about { font-size: 17px; margin-top: 8px; white-space: pre-line; overflow-wrap: anywhere; }
.rows { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.rows div { display: flex; justify-content: space-between; gap: 16px; }
.rows .total { padding-top: 12px; border-top: 1px solid var(--line); font-size: 18px; font-weight: 600; }
.note { font-size: 14px; color: var(--dim); }
.error { padding: 12px 14px; border: 1px solid var(--velvet); border-radius: 10px; color: #FFC2CB; font-size: 15px; }
.pay { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; }
code { font-family: var(--mono); font-size: 13px; overflow-wrap: anywhere; }
.addr { display: block; margin-top: 8px; padding: 12px; background: var(--night); border: 1px solid var(--line); border-radius: 10px; font-size: 14px; user-select: all; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; color: var(--dim); }
.field input, .field select, .field textarea { min-height: 48px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--night); color: var(--cream); font: 400 16px var(--body); width: 100%; }
.field input[type=file] { padding: 10px; }
.field textarea { resize: vertical; }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; cursor: pointer; }
.check input { flex: 0 0 22px; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--bulb); }
.kind { display: flex; gap: 14px; align-items: flex-start; padding: 18px; background: var(--hall); border: 2px solid var(--line); border-radius: 16px; cursor: pointer; }
.kind:has(input:checked) { border-color: var(--bulb); }
.kind input { flex: 0 0 22px; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--bulb); }
.kind strong { display: block; font-size: 18px; font-weight: 600; }
.kind span span { color: var(--dim); font-size: 15px; }

.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; white-space: nowrap; }
.s-published, .s-paid { border-color: var(--ok); color: var(--ok); }
.s-review, .s-await_confirm, .s-await_payment { border-color: var(--bulb); color: var(--bulb); }
.s-rejected { border-color: var(--velvet); color: #FF9AA8; }
.scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th { text-align: left; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--dim); }
th, td { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.acts { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.list li { padding: 14px 0; border-bottom: 1px solid var(--line); }

.msgs { display: flex; flex-direction: column; gap: 10px; height: 52vh; min-height: 280px; overflow-y: auto; padding-right: 6px; }
.msg { align-self: flex-start; max-width: 78%; padding: 10px 14px; background: var(--seat); border-radius: 14px 14px 14px 4px; }
.msg.mine { align-self: flex-end; background: var(--bulb); color: var(--ink); border-radius: 14px 14px 4px 14px; }
.msg p { white-space: pre-wrap; overflow-wrap: anywhere; }
.msg span { display: block; margin-top: 4px; font-size: 12px; opacity: 0.7; }
.send { display: flex; gap: 10px; align-items: flex-end; margin: 0; }
.send textarea { flex: 1 1 auto; min-width: 0; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--night); color: var(--cream); font: 400 16px var(--body); resize: none; }

footer { border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 28px; padding-bottom: 40px; }
footer a { color: var(--dim); }

@media (max-width: 640px) { .hero .wrap { padding-top: 48px; padding-bottom: 64px; } .send { flex-direction: column; align-items: stretch; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .person, .fan .card { transition: none; }
  .btn:hover, .person:hover { transform: none; }
}

/* обращения и новые статусы */
.thread { display: flex; flex-direction: column; gap: 10px; }
.s-open { border-color: var(--bulb); color: var(--bulb); }
.s-closed, .s-refunded, .s-cancelled { color: var(--dim); }
.acts .badge { margin-bottom: 2px; }

/* кабинет, аватары, чаты */
.count { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 6px; border-radius: 999px; background: var(--velvet); color: #fff; font-size: 12px; font-weight: 700; }
.tabs { margin-top: -8px; }
.chip.on .count { background: var(--ink); color: var(--bulb); }
.ava { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.ava.big { flex-basis: 72px; width: 72px; height: 72px; font-size: 28px; }
.ava-empty { display: inline-flex; align-items: center; justify-content: center; background: var(--seat); color: var(--bulb); font-weight: 700; }
.me-head { display: flex; align-items: center; gap: 16px; }
.me-head > div { min-width: 0; overflow-wrap: anywhere; }
fieldset.field { border: 0; padding: 0; margin: 0; }
fieldset.field legend { padding: 0; margin-bottom: 6px; font-size: 14px; color: var(--dim); }
.chatlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.chatrow { display: flex; align-items: center; gap: 14px; padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--cream); text-decoration: none; }
.chatrow:hover { background: var(--hall); }
.chatrow .grow { min-width: 0; display: flex; flex-direction: column; }
.chatrow .last { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.marks { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }

/* страница анкеты */
.stats > div { flex-basis: 100px; }
.like.on { border-color: var(--velvet); color: #FF9AA8; }
.comments { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.comment { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.comment .grow { min-width: 0; }
.comment p { overflow-wrap: anywhere; white-space: pre-line; }
.c-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.c-head .linkbtn { min-height: 0; padding: 0; font-size: 13px; }
.person .row { margin-top: auto; }
.s-hidden { color: var(--dim); }

/* рулетка */
.reel { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--hall); padding: 18px 0; }
.track { display: flex; gap: 12px; padding-left: 18px; will-change: transform; }
.cell { flex: 0 0 150px; display: flex; flex-direction: column; gap: 8px; padding: 8px; background: var(--night); border: 1px solid var(--line); border-radius: 12px; }
.cell img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 8px; }
.cell span { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.marker { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; transform: translateX(-50%); background: var(--bulb); box-shadow: 0 0 18px var(--bulb); z-index: 2; }
.result { border-color: var(--bulb); }
.pool { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.pcell { display: flex; flex-direction: column; gap: 4px; padding: 10px; background: var(--hall); border: 1px solid var(--line); border-radius: 14px; font-size: 14px; min-width: 0; }
.pcell .por { border-radius: 8px; overflow: hidden; margin-bottom: 6px; }
.pcell strong, .pcell .dim { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
s { font-size: 18px; }
@media (max-width: 640px) { .cell { flex-basis: 120px; } }
@media (prefers-reduced-motion: reduce) { .track { transition: none !important; } }
[hidden] { display: none !important; }
.box .facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }

/* кошелёк */
.pool.wide { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.amt { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; }
.amt.plus { color: var(--ok); }
.amt.minus { color: #FF9AA8; }
.mini { min-height: 44px; width: 150px; max-width: 100%; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--night); color: var(--cream); font: 400 15px var(--body); }
.s-confirmed, .s-sent { border-color: var(--ok); color: var(--ok); }
.s-pending { border-color: var(--bulb); color: var(--bulb); }
.box .chips { margin-top: 6px; }
@media (max-width: 400px) { .pool.wide { grid-template-columns: minmax(0, 1fr); } }

/* подарки */
.giftgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.giftgrid.small { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.giftgrid.admin { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.gift { --rc: #9A93A6; position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px 10px 14px; min-width: 0;
  border-radius: 18px; border: 2px solid var(--rc); color: var(--cream); text-align: center;
  background: radial-gradient(120% 90% at 50% 20%, color-mix(in srgb, var(--rc) 28%, transparent), transparent 70%), var(--hall);
  box-shadow: 0 0 18px color-mix(in srgb, var(--rc) 45%, transparent), inset 0 0 14px color-mix(in srgb, var(--rc) 25%, transparent); }
.gift.r-rare { --rc: #4DA3FF; }
.gift.r-epic { --rc: #A26BFF; }
.gift.r-legendary { --rc: #FFB534; }
.gift.r-mythic { --rc: #FF4FA3; }
.gimg { width: 100%; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: #0B0710; }
.gimg img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gift strong { font-size: 15px; line-height: 1.25; overflow-wrap: anywhere; }
.rar { display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px; border-radius: 999px; border: 1px solid var(--rc); color: var(--rc);
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; background: rgba(0, 0, 0, 0.35); }
.gprice { font-weight: 700; font-variant-numeric: tabular-nums; }
.gmsg { font-size: 14px; font-style: italic; overflow-wrap: anywhere; }
label.gift { cursor: pointer; transition: transform .15s ease; }
label.gift:hover { transform: translateY(-3px); }
label.gift input { position: absolute; opacity: 0; width: 1px; height: 1px; }
label.gift:has(input:checked) { outline: 3px solid var(--cream); outline-offset: 3px; transform: translateY(-3px); }
label.gift:has(input:focus-visible) { outline: 3px solid var(--bulb); outline-offset: 3px; }
.sticky-send { position: sticky; bottom: 12px; z-index: 3; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6); }
.gedit { width: 100%; text-align: left; }
@media (max-width: 640px) { .giftgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .giftgrid.small { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { label.gift { transition: none; } }
.sendbar { position: sticky; bottom: 10px; z-index: 3; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px;
  padding: 10px 12px 10px 18px; background: var(--seat); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6); }
.sendbar .btn { flex: 0 0 auto; }
.rar { max-width: 100%; white-space: nowrap; }
.giftgrid.small .gift { padding: 8px 8px 10px; gap: 6px; }
.giftgrid.small .gift strong { font-size: 13px; }
.giftgrid.small .rar { gap: 4px; padding: 2px 8px; font-size: 10px; letter-spacing: 0.02em; }
.giftgrid.small .rar svg { width: 11px; height: 11px; }
.giftgrid.small .dim { font-size: 13px; }
.growth { margin-top: 8px; }
.growth .start { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.grow-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.grow-list li { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; background: var(--night); border: 1px solid var(--line); border-radius: 12px; min-width: 0; }
.grow-list strong { color: var(--ok); font-size: 18px; font-variant-numeric: tabular-nums; }
.grow-list small { color: var(--dim); font-size: 13px; }
.ava.huge { flex-basis: 112px; width: 112px; height: 112px; font-size: 44px; }
a.who { color: var(--cream); text-decoration: none; }
a.who:hover { text-decoration: underline; }
.gift .dim a { color: inherit; }
.ava.sm { flex-basis: 28px; width: 28px; height: 28px; font-size: 13px; }
.person-chip { gap: 8px; padding-left: 6px; }
.prof-head { align-items: flex-start; }
.prof-head .about { max-width: 640px; }
.btn.on { border-color: var(--bulb); color: var(--bulb); }
.picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.pick { display: flex; flex-direction: column; gap: 6px; padding: 10px; background: var(--night); border: 1px solid var(--line); border-radius: 14px; min-width: 0; }
.pick .por { border-radius: 10px; overflow: hidden; }
.pick strong { font-size: 15px; overflow-wrap: anywhere; }
.pick .dim { font-size: 13px; }
.pick .btn, .pick .note { margin-top: auto; }

/* уведомления, лента, топ, гости, бонус, фильтры */
.bell { gap: 4px; padding-left: 12px; padding-right: 12px; }
.vbadge { display: inline-flex; align-items: center; padding: 2px 8px; margin-left: 4px; border-radius: 999px; background: color-mix(in srgb, var(--ok) 18%, transparent);
  border: 1px solid var(--ok); color: var(--ok); font-family: var(--body); font-size: 12px; font-weight: 700; letter-spacing: 0.02em; vertical-align: middle; white-space: nowrap; }
h1 .vbadge { font-size: 14px; padding: 3px 10px; }
.gtag { display: inline-block; padding: 2px 8px; border-radius: 999px; background: rgba(0, 0, 0, 0.4); color: var(--bulb); font-size: 12px; font-weight: 600; }
.pchart { margin: 0; display: flex; flex-direction: column; gap: 6px; color: var(--ok); }
.pchart svg { width: 100%; height: 64px; }
.pchart .pl { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.pchart .pa { fill: color-mix(in srgb, var(--ok) 16%, transparent); stroke: none; }
.pchart .pd { fill: currentColor; }
.tops { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; align-items: start; }
.rank { margin: 0; padding: 0; list-style: none; counter-reset: r; display: flex; flex-direction: column; }
.rank li { counter-increment: r; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.rank li::before { content: counter(r); flex: 0 0 26px; font-family: var(--display); font-size: 20px; color: var(--bulb); }
.rank li:nth-child(n+4)::before { color: var(--dim); }
.rank .who { flex: 1 1 auto; min-width: 0; flex-wrap: nowrap; }
.rank .who strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank .dim { font-size: 13px; white-space: nowrap; }
.feed, .notifs, .visitors { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.feed .ev { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.evbody { flex: 1 1 260px; display: flex; align-items: center; gap: 12px; color: var(--cream); text-decoration: none; min-width: 0; }
.evbody img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; flex: 0 0 64px; }
.feed .dim { font-size: 13px; }
.notifs li, .visitors li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 16px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.notifs li a { color: var(--cream); text-decoration: none; }
.notifs li.new { background: color-mix(in srgb, var(--bulb) 8%, transparent); }
.notifs li.new a::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: var(--velvet); vertical-align: middle; }
.notifs .dim, .visitors .dim { font-size: 13px; }
.blurlist { display: flex; flex-wrap: wrap; gap: 6px; filter: blur(2px); }
.streak { display: flex; gap: 6px; }
.streak span { flex: 1 1 0; height: 10px; border-radius: 999px; background: var(--line); }
.streak span.on { background: var(--bulb); }
.filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; padding: 16px; background: var(--hall); border: 1px solid var(--line); border-radius: 16px; }
.filters .field { flex: 1 1 140px; min-width: 0; }
.filters .field input, .filters .field select { min-height: 44px; padding: 8px 12px; }
.mini.wide { width: 260px; }
.chip.place { gap: 8px; }
.chip.place.off { opacity: 0.55; }
.chip.place .linkbtn { min-height: 0; padding: 0; font-size: 13px; }

/* выбор языка */
.langs { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.langs a { padding: 5px 9px; border-radius: 999px; color: var(--dim); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-decoration: none; }
.langs a:hover { color: var(--cream); }
.langs a.on { background: var(--bulb); color: #1a1020; }
html[lang="en"] .steps li::before { content: "Step " counter(s); }
textarea.prompt { width: 100%; padding: 12px 14px; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--night); color: var(--cream); font: 400 14px/1.5 var(--body); resize: vertical; }
.hero-logo { display: flex; align-items: center; justify-content: center; }
.hero-logo img { width: min(100%, 440px); height: auto; }
@media (max-width: 700px) { .hero-logo img { width: min(80%, 300px); } }

/* контакты */
.foot-contacts { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding-bottom: 18px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.foot-contacts a { color: var(--cream); text-decoration: none; }
.foot-contacts a:hover { color: var(--bulb); }
.contacts { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.contacts li { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; padding: 14px 18px; background: var(--hall); border: 1px solid var(--line); border-radius: 14px; }
.contacts li .dim { min-width: 96px; }
.contacts a { color: var(--bulb); font-weight: 600; text-decoration: none; word-break: break-all; }
.dossier { margin-top: 32px; }

/* активные и неактивные подарки */
.h.sub { font-size: 15px; color: var(--dim); margin: 6px 0 0; }
.gift .boost { display: inline-block; margin-top: 4px; padding: 2px 8px; border-radius: 999px; background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); font-size: 11px; font-weight: 600; }
.gboost { width: 100%; gap: 6px; margin-top: 6px; }
.gboost select { width: 100%; min-height: 36px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--night); color: var(--cream); font: 400 13px var(--body); }

/* распроданные NFT */
.sold { color: var(--velvet) !important; }
.sold-tag { display: inline-block; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--velvet); background: color-mix(in srgb, var(--velvet) 16%, transparent); color: var(--velvet); font-size: 12px; font-weight: 700; text-align: center; }
