@font-face { font-family: Inter; src: url(fonts/inter_medium.ttf); font-weight: 500; }
@font-face { font-family: Inter; src: url(fonts/inter_semibold.ttf); font-weight: 600; }
@font-face { font-family: Inter; src: url(fonts/inter_bold.ttf); font-weight: 700; }
@font-face { font-family: Lucide; src: url(fonts/lucide.ttf); }

:root {
  --a1: #7c5cff;
  --a2: #4fc3ff;
  --bg: #060609;
  --panel: 14, 14, 22;
  --text: #f2f3f7;
  --dim: #a3a6b4;
  --muted: #6e7182;
  --line: rgba(255, 255, 255, .07);
  --hover: rgba(255, 255, 255, .05);
  --field: rgba(0, 0, 0, .3);
  --r: 16px;
  --mx: 0; --my: 0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh; background: var(--bg); color: var(--text);
  font: 500 15px/1.5 Inter, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
.ic { font-family: Lucide; font-style: normal; line-height: 1; display: inline-block; font-size: 17px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.w100 { width: 100%; justify-content: center; }
kbd { font: 600 12px Inter; padding: 2px 7px; border-radius: 6px; background: var(--hover); border: 1px solid var(--line); }
.grad {
  background: linear-gradient(90deg, var(--a1), var(--a2), var(--a1)); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradMove 6s linear infinite;
}
@keyframes gradMove { to { background-position: 200% 0; } }
.glass {
  background: rgba(var(--panel), .55); border: 1px solid var(--line); border-radius: var(--r);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
}

/* ---------------------------------------------------------------- фон */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; width: 640px; height: 640px; border-radius: 50%; filter: blur(110px); opacity: .45; animation: float 24s ease-in-out infinite alternate; }
.b1 { background: var(--a1); left: -180px; top: -240px; }
.b2 { background: var(--a2); right: -220px; bottom: -280px; animation-delay: -8s; }
.b3 { background: linear-gradient(var(--a1), var(--a2)); left: 45%; top: 40%; width: 420px; height: 420px; opacity: .18; animation-delay: -15s; }
@keyframes float { 50% { transform: translate(120px, 60px) scale(1.15); } 100% { transform: translate(-60px, 120px) scale(.95); } }
#sky { position: absolute; inset: 0; width: 100%; height: 100%; }
.grid-lines {
  position: absolute; inset: -48px;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 20%, transparent 75%);
  animation: gridMove 34s linear infinite;
}
@keyframes gridMove { to { transform: translate(48px, 48px); } }
.vignette { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 35%, transparent 40%, rgba(0,0,0,.7) 100%); }
.bg > .blob, .bg > .grid-lines { translate: calc(var(--mx) * -30px) calc(var(--my) * -20px); }
.bg > #sky { translate: calc(var(--mx) * -12px) calc(var(--my) * -8px); }
.spot {
  position: fixed; left: 0; top: 0; width: 640px; height: 640px; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, color-mix(in srgb, var(--a1) 12%, transparent), transparent 62%);
  mix-blend-mode: screen; opacity: 0; transition: opacity .4s;
}
body.no-anim *, body.no-anim *::before, body.no-anim *::after { animation: none !important; transition: none !important; }
body.no-spot .spot { display: none; }

/* ---------------------------------------------------------------- шапка */
.top {
  position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 16px; padding: 16px 28px; transition: background .3s, backdrop-filter .3s;
}
.top.scrolled { background: rgba(6, 6, 9, .55); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 11px; justify-self: start; }
.logo {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--a1), var(--a2));
  box-shadow: 0 0 0 1px rgba(255,255,255,.14) inset, 0 8px 26px -6px var(--a1);
}
.logo .ic { font-size: 19px; }
.logo.big { width: 54px; height: 54px; border-radius: 16px; margin: 0 auto 12px; }
.logo.big .ic { font-size: 26px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text b { letter-spacing: 2.5px; font-size: 16px; }
.brand-text small { color: var(--muted); font-size: 11px; }

/* капсула с вкладками */
.pill {
  position: relative; display: flex; gap: 2px; padding: 5px; border-radius: 999px;
  background: rgba(var(--panel), .6); border: 1px solid var(--line); backdrop-filter: blur(18px);
  box-shadow: 0 10px 40px -12px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.02) inset;
}
.pill::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--a1) 70%, transparent), color-mix(in srgb, var(--a2) 70%, transparent), transparent);
  background-size: 200% 100%; animation: gradMove 5s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.pill-item {
  position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 20px;
  border-radius: 999px; color: var(--dim); font-weight: 600; font-size: 14px; white-space: nowrap; transition: color .25s;
}
.pill-item .ic { font-size: 15px; transition: transform .3s; }
.pill-item:hover { color: var(--text); }
.pill-item:hover .ic { transform: translateY(-1px) scale(1.1); }
.pill-item.active { color: #fff; }
.pill-glider {
  position: absolute; top: 5px; height: 40px; left: 0; width: 0; border-radius: 999px; z-index: 0;
  background: linear-gradient(90deg, var(--a1), var(--a2));
  box-shadow: 0 6px 24px -6px var(--a1), 0 0 0 1px rgba(255,255,255,.12) inset;
  transition: transform .45s cubic-bezier(.2, .9, .25, 1), width .45s cubic-bezier(.2, .9, .25, 1), opacity .3s;
}
.top-right { justify-self: end; display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--dim);
  background: rgba(var(--panel), .5); border: 1px solid var(--line); transition: all .2s;
}
.icon-btn:hover { color: var(--text); border-color: color-mix(in srgb, var(--a1) 45%, transparent); }
.profile-btn {
  display: flex; align-items: center; gap: 9px; height: 40px; padding: 0 14px 0 5px; border-radius: 999px; font-weight: 600; font-size: 14px;
  background: rgba(var(--panel), .5); border: 1px solid var(--line); transition: all .2s;
}
.profile-btn:hover { border-color: color-mix(in srgb, var(--a1) 45%, transparent); box-shadow: 0 0 22px -8px var(--a1); }
.avatar {
  display: grid; place-items: center; border-radius: 50%; color: #fff; font-weight: 700; flex-shrink: 0;
  background: linear-gradient(135deg, var(--a1), var(--a2)); box-shadow: 0 0 0 2px rgba(255,255,255,.08);
}
.avatar.sm { width: 30px; height: 30px; font-size: 13px; }
.avatar.sm .ic { font-size: 14px; }
.avatar.lg { width: 44px; height: 44px; font-size: 18px; }
.avatar.xl { width: 84px; height: 84px; font-size: 34px; box-shadow: 0 0 0 3px rgba(255,255,255,.1), 0 12px 40px -10px var(--a1); }

/* ---------------------------------------------------------------- страницы */
main { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 10px 28px 40px; min-height: calc(100vh - 160px); }
.page { display: none; }
.page.active { display: block; animation: pageIn .5s cubic-bezier(.2, .9, .25, 1); }
@keyframes pageIn { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } }

/* главная */
.hero { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px; align-items: center; min-height: 520px; padding: 30px 0 40px; }
.hero-word {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%); font-weight: 700; font-size: clamp(90px, 17vw, 230px);
  letter-spacing: -6px; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.05); white-space: nowrap; pointer-events: none;
  translate: calc(var(--mx) * -16px) 0;
}
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border-radius: 99px; font-size: 13px; font-weight: 600; color: var(--dim);
  background: var(--hover); border: 1px solid var(--line);
}
.chip .ic { font-size: 14px; color: var(--a2); }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.05; letter-spacing: -2px; margin: 18px 0 16px; }
.lead { color: var(--dim); font-size: 17px; max-width: 540px; }
.hero-actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.stats { display: flex; gap: 34px; margin-top: 38px; }
.stats div { display: flex; flex-direction: column; }
.stats b { font-size: 30px; letter-spacing: -1px; }
.stats b[data-count]:not([data-count="4"])::after { content: "+"; color: var(--a2); }
.stats span { color: var(--muted); font-size: 13px; }
.hero-right { position: relative; height: 440px; translate: calc(var(--mx) * 22px) calc(var(--my) * 14px); }
.orb { position: absolute; left: 50%; top: 50%; width: 300px; height: 300px; transform: translate(-50%, -50%); }
.orb .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--a1) 55%, transparent); animation: spin 16s linear infinite; }
.orb .ring::after { content: ""; position: absolute; top: -5px; left: calc(50% - 5px); width: 10px; height: 10px; border-radius: 50%; background: var(--a2); box-shadow: 0 0 16px 4px var(--a2); }
.orb .r2 { inset: 36px; border-color: color-mix(in srgb, var(--a2) 45%, transparent); animation-duration: 10s; animation-direction: reverse; }
.orb .r3 { inset: 74px; border-style: dashed; border-color: rgba(255,255,255,.14); animation-duration: 26s; }
.orb .r3::after { display: none; }
.orb .core {
  position: absolute; inset: 104px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--a2) 80%, #fff), var(--a1) 70%);
  box-shadow: 0 0 60px 14px color-mix(in srgb, var(--a1) 50%, transparent), 0 0 140px 40px color-mix(in srgb, var(--a2) 20%, transparent);
  animation: pulse 3.6s ease-in-out infinite;
}
.orb .core .ic { color: #fff; font-size: 34px; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { transform: scale(1.08); filter: brightness(1.15); } }
.float { position: absolute; width: 120px; filter: drop-shadow(0 14px 24px rgba(0,0,0,.5)); animation: bob 6s ease-in-out infinite; }
.f1 { left: -10px; top: 40px; width: 150px; }
.f2 { right: 0; top: 10px; animation-delay: -2s; }
.f3 { right: 30px; bottom: 30px; width: 100px; animation-delay: -4s; }
@keyframes bob { 50% { transform: translateY(-16px) rotate(3deg); } }

.section-head { text-align: center; margin: 70px 0 26px; }
.section-head.left { text-align: left; margin-top: 30px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -1px; }
.section-head p { color: var(--muted); margin-top: 6px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card { position: relative; padding: 24px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; transition: transform .3s, border-color .3s; }
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; opacity: 0; transition: opacity .3s;
  background: linear-gradient(135deg, var(--a1), transparent 50%, var(--a2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.card:hover { transform: translateY(-4px); }
.card:hover::before { opacity: 1; }
.card span { color: var(--dim); font-size: 14px; }
.c-ic {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 6px;
  background: color-mix(in srgb, var(--a1) 18%, transparent); color: var(--a1); transition: box-shadow .3s;
}
.card:hover .c-ic { box-shadow: 0 0 26px -2px var(--a1); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s cubic-bezier(.2, .9, .25, 1); }
.reveal.shown { opacity: 1; transform: none; }

.seasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.season {
  position: relative; height: 210px; border-radius: var(--r); overflow: hidden; padding: 18px; display: flex; flex-direction: column; justify-content: flex-end;
  border: 1px solid var(--line); cursor: pointer; transition: transform .3s, box-shadow .3s;
}
.season::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(0,0,0,.75)); }
.season > * { position: relative; z-index: 1; }
.season:hover { transform: translateY(-4px); box-shadow: 0 20px 50px -18px var(--c1); }
.season b { font-size: 19px; }
.season small { color: rgba(255,255,255,.8); }
.season .sprites { position: absolute; top: 26px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; z-index: 1; }
.season .sprites i {
  width: 56px; height: 56px; background-image: url(img/season.png); background-size: 224px 224px; animation: bob 4s ease-in-out infinite;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,.4));
}
.season .sprites i:nth-child(2) { animation-delay: -1.3s; }
.season .sprites i:nth-child(3) { animation-delay: -2.6s; }
.season.on { outline: 2px solid var(--c1); }

.cta { margin-top: 70px; padding: 34px 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 200px at 90% 50%, color-mix(in srgb, var(--a1) 30%, transparent), transparent); }
.cta > * { position: relative; }
.cta h3 { font-size: 26px; }
.cta p { color: var(--dim); }

/* кнопки */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 20px; border-radius: 13px;
  font-weight: 700; white-space: nowrap; overflow: hidden; transition: transform .2s, filter .2s, box-shadow .2s, background .2s;
}
.btn.big { height: 54px; padding: 0 28px; font-size: 16px; border-radius: 15px; }
.btn .ic { font-size: 16px; }
.btn:active { transform: scale(.97); }
.btn.primary { color: #fff; background: linear-gradient(90deg, var(--a1), var(--a2)); box-shadow: 0 10px 34px -10px var(--a1); }
.btn.primary:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 14px 40px -8px var(--a1); }
.btn.ghost { background: rgba(var(--panel), .5); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: color-mix(in srgb, var(--a1) 50%, transparent); background: color-mix(in srgb, var(--a1) 12%, transparent); }
.danger-ghost:hover { border-color: rgba(229,72,77,.5) !important; background: rgba(229,72,77,.14) !important; color: #ff6b81; }
.shine::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 60px; left: -90px; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); animation: shine 3.4s ease-in-out infinite;
}
@keyframes shine { 0%, 55% { left: -90px; } 100% { left: 115%; } }

/* возможности */
.toolbar { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.search { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px; min-width: 260px; flex: 1; max-width: 380px; cursor: text; }
.search .ic { color: var(--muted); }
.search input { flex: 1; background: none; border: 0; outline: none; }
.search:focus-within { border-color: color-mix(in srgb, var(--a1) 60%, transparent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--a1) 15%, transparent); }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tab {
  display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 99px; font-weight: 600; font-size: 13px;
  color: var(--dim); background: var(--hover); border: 1px solid var(--line); transition: all .2s;
}
.tab .ic { font-size: 14px; }
.tab:hover { color: var(--text); }
.tab.on { color: #fff; background: linear-gradient(90deg, var(--a1), var(--a2)); border-color: transparent; box-shadow: 0 6px 18px -8px var(--a1); }
.mods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mod { padding: 16px 18px; display: flex; gap: 12px; align-items: flex-start; animation: pageIn .4s both; }
.mod .m-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; background: color-mix(in srgb, var(--a1) 16%, transparent); color: var(--a1); }
.mod .m-ic .ic { font-size: 15px; }
.mod b { display: block; }
.mod span { color: var(--dim); font-size: 13px; }
.empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 50px 0; }

/* косметика */
.wardrobe { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.item { padding: 16px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; animation: pageIn .45s both; transition: transform .3s, border-color .3s; }
.item:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--a1) 45%, transparent); }
.item .pic { position: relative; width: 120px; height: 110px; display: grid; place-items: center; }
.item .pic::before { content: ""; position: absolute; inset: 20px; border-radius: 50%; background: radial-gradient(color-mix(in srgb, var(--a1) 40%, transparent), transparent 70%); filter: blur(10px); }
.item img { position: relative; width: 104px; height: 104px; object-fit: contain; transition: transform .35s; }
.item:hover img { transform: scale(1.08) translateY(-3px); }
.item b { font-size: 15px; }
.item small { color: var(--muted); font-size: 12px; }

/* скачать */
.dl { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; padding: 38px; margin-top: 30px; position: relative; overflow: hidden; }
.dl::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 260px at 0% 0%, color-mix(in srgb, var(--a1) 28%, transparent), transparent); }
.dl > * { position: relative; }
.dl h2 { font-size: 40px; letter-spacing: -1px; margin: 14px 0 10px; }
.dl p { color: var(--dim); max-width: 480px; }
.dl-actions { display: flex; align-items: center; gap: 16px; margin-top: 26px; flex-wrap: wrap; }
.dl-steps { display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.step { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--hover); border: 1px solid var(--line); }
.step > span { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; background: linear-gradient(135deg, var(--a1), var(--a2)); flex-shrink: 0; }
.step small { display: block; color: var(--muted); font-size: 13px; }
.changelog { display: flex; flex-direction: column; gap: 10px; }
.log { padding: 18px 22px; }
.log-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.log-tag { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: linear-gradient(90deg, var(--a1), var(--a2)); }
.log-date { margin-left: auto; color: var(--muted); font-size: 13px; }
.log ul { margin-left: 18px; color: var(--dim); }

/* профиль */
.profile { display: grid; grid-template-columns: 250px 1fr; gap: 16px; margin-top: 26px; align-items: start; }
.p-side { padding: 16px; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 90px; }
.p-user { display: flex; align-items: center; gap: 11px; padding: 4px 4px 14px; border-bottom: 1px solid var(--line); }
.p-user b { display: block; }
.p-user small { color: var(--muted); }
.p-nav { display: flex; flex-direction: column; gap: 3px; }
.p-nav a { display: flex; align-items: center; gap: 11px; height: 42px; padding: 0 12px; border-radius: 11px; color: var(--dim); font-weight: 600; font-size: 14px; transition: all .2s; position: relative; }
.p-nav a:hover { color: var(--text); background: var(--hover); }
.p-nav a.on { color: #fff; background: linear-gradient(90deg, color-mix(in srgb, var(--a1) 30%, transparent), transparent); }
.p-nav a.on::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: linear-gradient(var(--a1), var(--a2)); }
.p-nav a.on .ic { color: var(--a2); }
.p-tab { display: none; flex-direction: column; gap: 14px; }
.p-tab.on { display: flex; animation: pageIn .4s; }
.p-hero { display: flex; align-items: center; gap: 22px; padding: 26px; position: relative; overflow: hidden; }
.p-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 200px at 100% 0%, color-mix(in srgb, var(--a2) 22%, transparent), transparent); }
.p-hero > * { position: relative; }
.p-hero h2 { font-size: 30px; letter-spacing: -.5px; }
.badges { display: flex; gap: 8px; margin-top: 8px; }
.badge { font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 99px; background: linear-gradient(90deg, var(--a1), var(--a2)); color: #fff; }
.badge.ghost { background: var(--hover); border: 1px solid var(--line); color: var(--dim); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kpi { padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; }
.kpi .ic { color: var(--a2); margin-bottom: 6px; }
.kpi span { color: var(--muted); font-size: 13px; }
.kpi b { font-size: 17px; }
.block { padding: 20px 22px; }
.block-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.block-head .ic { color: var(--a1); }
.activity { display: flex; flex-direction: column; gap: 8px; }
.act { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--dim); }
.act .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--a2); box-shadow: 0 0 8px var(--a2); flex-shrink: 0; }
.act time { margin-left: auto; color: var(--muted); font-size: 12px; }
.client-dl { display: flex; align-items: center; gap: 16px; }
.cd-ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--a1), var(--a2)); box-shadow: 0 10px 30px -10px var(--a1); }
.cd-ic .ic { font-size: 26px; color: #fff; }
.cd-text { flex: 1; }
.cd-text b { display: block; font-size: 17px; }
.cd-text small { color: var(--muted); }
.howto { margin-left: 20px; color: var(--dim); display: flex; flex-direction: column; gap: 8px; }
.howto b { color: var(--text); }
.hwid-box { display: flex; gap: 8px; margin: 16px 0; }
.hwid-box code { flex: 1; display: flex; align-items: center; height: 46px; padding: 0 16px; border-radius: 12px; background: var(--field); border: 1px solid var(--line); font: 600 14px Consolas, monospace; letter-spacing: 1px; color: var(--a2); }
.hwid-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.form { display: flex; flex-direction: column; gap: 10px; }
.input {
  height: 46px; padding: 0 15px; border-radius: 12px; background: var(--field); border: 1px solid var(--line); outline: none; min-width: 0;
  transition: border-color .2s, box-shadow .2s;
}
.input:focus { border-color: color-mix(in srgb, var(--a1) 70%, transparent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--a1) 16%, transparent); }
.input.sm { height: 40px; width: 180px; }
.input.bad { border-color: #e5484d; }
.session { display: flex; align-items: center; gap: 12px; }
.session .ic { color: var(--a2); }
.session div { flex: 1; }
.session small { display: block; color: var(--muted); font-size: 12px; }
.swatches { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.swatch { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 6px 10px; border-radius: 13px; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--dim); transition: all .2s; }
.swatch:hover { transform: translateY(-2px); background: var(--hover); }
.swatch .dot { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; }
.swatch .dot .ic { color: #fff; font-size: 16px; opacity: 0; transition: opacity .2s; }
.swatch.on { border-color: color-mix(in srgb, var(--a1) 70%, transparent); color: var(--text); background: color-mix(in srgb, var(--a1) 10%, transparent); }
.swatch.on .dot .ic { opacity: 1; }
.set { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.set:first-child { border-top: 0; padding-top: 0; }
.set small { display: block; color: var(--muted); font-size: 13px; }
.row { display: flex; gap: 8px; }
.toggle { width: 46px; height: 26px; border-radius: 99px; position: relative; flex-shrink: 0; background: var(--field); border: 1px solid var(--line); transition: background .25s; }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--muted); transition: transform .3s cubic-bezier(.3, 1.4, .5, 1), background .25s; }
.toggle.on { background: linear-gradient(90deg, var(--a1), var(--a2)); border-color: transparent; }
.toggle.on::after { transform: translateX(20px); background: #fff; }

/* окно входа */
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; background: rgba(0,0,0,.55); backdrop-filter: blur(6px); animation: fade .25s; }
.modal[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
.modal-card { position: relative; width: min(400px, calc(100vw - 32px)); padding: 30px 28px 24px; text-align: center; animation: pop .35s cubic-bezier(.2, .9, .25, 1); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.97); } }
.modal-card h3 { font-size: 22px; margin-bottom: 14px; }
.modal-card .close { position: absolute; right: 12px; top: 12px; width: 34px; height: 34px; }
.seg { display: flex; padding: 4px; border-radius: 13px; background: var(--field); border: 1px solid var(--line); margin-bottom: 14px; }
.seg button { flex: 1; height: 36px; border-radius: 10px; font-weight: 600; font-size: 14px; color: var(--dim); transition: all .2s; }
.seg button.on { color: #fff; background: linear-gradient(90deg, var(--a1), var(--a2)); }
.form .input[hidden] { display: none; }

.popover { position: fixed; z-index: 40; top: 66px; right: 28px; padding: 12px; width: 300px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; animation: pop .25s; }
.popover[hidden] { display: none; }
.popover .swatch { padding: 10px 6px 8px; }

.toasts { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; gap: 8px; }
.toast { display: flex; align-items: center; gap: 11px; padding: 12px 16px 12px 12px; min-width: 260px; max-width: 380px; border-radius: 14px; background: rgba(var(--panel), .92); border: 1px solid var(--line); backdrop-filter: blur(20px); box-shadow: 0 12px 34px rgba(0,0,0,.4); animation: toastIn .35s cubic-bezier(.2, .9, .25, 1); }
.toast.out { animation: toastOut .3s forwards; }
.toast .t-ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 20%, transparent); color: var(--c); flex-shrink: 0; }
.toast b { display: block; font-size: 14px; }
.toast span { font-size: 13px; color: var(--dim); }
@keyframes toastIn { from { opacity: 0; transform: translateX(30px); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(30px); } }

.foot { position: relative; z-index: 1; max-width: 1180px; margin: 40px auto 0; padding: 26px 28px 34px; display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--dim); border-top: 1px solid var(--line); flex-wrap: wrap; }
.heart { color: #ff5c8a; font-size: 13px; }

/* ---------------------------------------------------------------- телефон */
@media (max-width: 920px) {
  .top { grid-template-columns: 1fr auto; padding: 12px 16px; }
  .pill { grid-column: 1 / -1; order: 3; justify-self: center; max-width: 100%; overflow-x: auto; }
  .pill-item { padding: 0 14px; }
  .brand-text small { display: none; }
  main { padding: 6px 16px 30px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-right { height: 300px; }
  .cards, .mods { grid-template-columns: 1fr 1fr; }
  .seasons { grid-template-columns: 1fr 1fr; }
  .dl, .profile { grid-template-columns: 1fr; }
  .p-side { position: static; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .pill-item span { display: none; }
  .pill-item { padding: 0 16px; }
  #topName { display: none; }
  .profile-btn { padding: 0 5px; }
  .cards, .mods, .seasons { grid-template-columns: 1fr; }
  .stats { gap: 22px; }
  .swatches { grid-template-columns: repeat(3, 1fr); }
  .client-dl { flex-wrap: wrap; }
}

/* ---------------------------------------------------------------- 3D-витрина */
.hero-right { perspective: 1100px; cursor: grab; user-select: none; }
.hero-right.grab { cursor: grabbing; }
.hero-right .orb { pointer-events: none; }
.scene { position: absolute; left: 50%; top: 58%; width: 0; height: 0; transform-style: preserve-3d; }
.rig { position: absolute; transform-style: preserve-3d; }
.box { position: absolute; transform-style: preserve-3d; }
.face { position: absolute; backface-visibility: hidden; box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); }
.skin .face { background: linear-gradient(160deg, #e0b08a, #b98262); }
.skin .face.top { background: #c99572; }
.hair .face { background: linear-gradient(160deg, #3a2a36, #1d141c); }
.hair .face.bottom { display: none; }
.hair .face.front { height: 40% !important; top: 0 !important; }
.hoodie .face { background: linear-gradient(160deg, var(--a1), color-mix(in srgb, var(--a1) 55%, #0b0b14)); }
.hoodie .face.left, .hoodie .face.right { filter: brightness(.82); }
.hoodie .face.top { filter: brightness(1.15); }
.pants .face { background: linear-gradient(160deg, #23243a, #12121e); }
.pants .face.front::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 18%; background: color-mix(in srgb, var(--a2) 60%, #fff); opacity: .8; }
.head .face.left, .head .face.right { filter: brightness(.86); }
.eyes { position: absolute; top: 46%; left: 0; right: 0; display: flex; justify-content: space-around; padding: 0 14%; }
.eyes i { width: 18%; aspect-ratio: 1; background: #fff; box-shadow: inset -40% 0 0 0 var(--a2); box-shadow: inset 0 0 0 4px #fff, inset 8px 0 0 0 color-mix(in srgb, var(--a2) 80%, #000); }
.mouth { position: absolute; left: 38%; right: 38%; top: 75%; height: 6%; background: #7a4a3a; }
.logo3d { position: absolute; inset: 0; display: grid; place-items: center; font: 700 34px Inter; color: #fff; text-shadow: 0 0 18px var(--a2); opacity: .9; }
.wing3d { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-style: preserve-3d; }
.wing3d img { position: absolute; width: 200px; height: 200px; top: -62px; filter: drop-shadow(0 0 14px color-mix(in srgb, var(--a2) 50%, transparent)); }
.wing3d.r img { left: 0; }
.wing3d.l img { right: 0; transform: scaleX(-1); }
.halo3d { position: absolute; left: 0; width: 70px; height: 70px; border-radius: 50%; border: 7px solid #ffe89a; box-shadow: 0 0 20px 4px #ffd36a, inset 0 0 14px #ffd36a; }
.pet3d { position: absolute; width: 74px; height: 74px; margin: -37px 0 0 -37px; filter: drop-shadow(0 10px 14px rgba(0,0,0,.45)); }
.stage-floor { position: absolute; left: 50%; top: 84%; width: 260px; height: 60px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(color-mix(in srgb, var(--a1) 45%, transparent), transparent 70%); filter: blur(8px); }
.stage-hint { position: absolute; left: 50%; bottom: 4px; transform: translateX(-50%); font-size: 12px; color: var(--muted); display: flex; gap: 6px; align-items: center; opacity: .8; }
.stage-hint .ic { font-size: 12px; }

/* музыка: «эквалайзер» */
.icon-btn.music { width: auto; padding: 0 11px; display: flex; gap: 6px; }
.icon-btn.music .eq { display: flex; align-items: flex-end; gap: 2px; height: 13px; }
.icon-btn.music .eq i { width: 2px; height: 4px; border-radius: 1px; background: var(--a2); animation: eq 1s ease-in-out infinite; }
.icon-btn.music .eq i:nth-child(2) { animation-delay: -.35s; }
.icon-btn.music .eq i:nth-child(3) { animation-delay: -.7s; }
@keyframes eq { 50% { height: 13px; } }
.icon-btn.music.off .eq { display: none; }

/* наклон карточек */
.tilting { transition: transform .08s linear !important; }
.tilting::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(260px circle at var(--gx) var(--gy), rgba(255,255,255,.09), transparent 60%); }
.mod, .item { position: relative; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; max-width: 820px; margin: 0 auto; }
.faq-item { padding: 0; overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; font-weight: 600; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ic { transition: transform .3s; color: var(--a2); }
.faq-item[open] summary .ic { transform: rotate(90deg); }
.faq-item p { padding: 0 22px 18px; color: var(--dim); }

/* новости */
.news-list { display: flex; flex-direction: column; gap: 12px; }
.post { padding: 22px 24px; animation: pageIn .45s both; }
.post p { color: var(--dim); margin: 8px 0; }
.empty.block { padding: 40px; }

/* админ-панель */
.pn-tabs { margin: 16px 0; }
.pn-pane { display: flex; flex-direction: column; gap: 14px; }
.pn-pane[hidden] { display: none; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.span2 { grid-column: 1 / -1; }
select.input { appearance: none; cursor: pointer; color: var(--text); }
select.input option { background: #14141c; }
.input.area { height: 110px; padding: 12px 15px; resize: vertical; font: inherit; }
.input.grow { flex: 1; }
.file {
  display: flex; align-items: center; justify-content: center; gap: 10px; height: 76px; border-radius: 14px; cursor: pointer; color: var(--dim);
  border: 1.5px dashed color-mix(in srgb, var(--a1) 45%, var(--line)); background: color-mix(in srgb, var(--a1) 6%, transparent); transition: all .2s;
}
.file:hover, .file.drag { border-color: var(--a2); color: var(--text); background: color-mix(in srgb, var(--a1) 14%, transparent); }
.file input { display: none; }
.progress { height: 6px; border-radius: 3px; background: var(--field); overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--a1), var(--a2)); transition: width .2s; }
.progress[hidden] { display: none; }
.table { display: flex; flex-direction: column; gap: 6px; }
.tr { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--hover); border: 1px solid var(--line); flex-wrap: wrap; }
.tr code { font: 600 12px Consolas, monospace; color: var(--a2); margin-left: auto; }
.btn.sm { height: 34px; padding: 0 11px; border-radius: 10px; }
.user-row .u-main { flex: 1; min-width: 180px; }
.user-row small { display: block; }
.bad { color: #ff6b81; }
.range { accent-color: var(--a2); width: 180px; }
.hwid-meta { margin-top: 10px; }
.sessions { display: flex; flex-direction: column; gap: 10px; }
.admin-link { color: var(--a2) !important; }

/* ---------- скин Aurora на 3D-модели ---------- */
.tex .face { background-color: transparent !important; image-rendering: pixelated; box-shadow: none; }
.tex .face.left, .tex .face.right { filter: brightness(.84); }
.tex .face.back { filter: brightness(.9); }
.tex .face.bottom { filter: brightness(.7); }
.tex.hat .face { filter: drop-shadow(0 0 0 transparent); }
.tex.hat .face.bottom { display: none; }
.halo3d { width: 92px !important; height: 92px !important; border: 0 !important; border-radius: 50%;
  background: radial-gradient(circle, transparent 54%, #fff6c8 57%, #ffd86a 63%, #f5b93a 68%, transparent 71%) !important;
  box-shadow: 0 0 26px 6px rgba(255, 210, 106, .55) !important; }

/* ---------------------------------------------------------------- меню профиля */
.top-right { position: relative; }
.user-menu { position: absolute; top: 52px; right: 0; z-index: 45; width: 260px; padding: 8px; display: flex; flex-direction: column; gap: 2px; animation: pop .22s; }
.user-menu[hidden] { display: none; }
.user-menu.glass { background: rgba(13, 13, 20, .94); backdrop-filter: blur(20px); box-shadow: 0 24px 60px -20px rgba(0,0,0,.8); }
.um-head { display: flex; align-items: center; gap: 11px; padding: 8px 8px 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.um-name { flex: 1; min-width: 0; }
.um-name b { display: block; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.um-name small { color: var(--muted); font-size: 12px; }
.um-bal { font-weight: 700; color: var(--dim); font-size: 14px; }
.user-menu a, .user-menu button { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 10px; border-radius: 10px; color: var(--dim); font-weight: 600; font-size: 14px; text-align: left; transition: all .15s; }
.user-menu a:hover, .user-menu button:hover { color: var(--text); background: var(--hover); }
.user-menu a .ic, .user-menu button .ic { font-size: 16px; width: 18px; }
.user-menu a[hidden] { display: none; }
#umLogout { margin-top: 4px; }
#umLogout:hover { color: #ff6b81; }

/* ---------------------------------------------------------------- тарифы */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 940px; margin: 0 auto; }
.plan { position: relative; padding: 26px 24px 22px; display: flex; flex-direction: column; gap: 8px; }
.plan.hot { border-color: color-mix(in srgb, var(--a1) 60%, transparent); box-shadow: 0 20px 60px -24px var(--a1); }
.plan-hot { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 99px; color: #fff; background: linear-gradient(90deg, var(--a1), var(--a2)); white-space: nowrap; }
.plan-name { font-size: 18px; }
.plan-price { display: flex; align-items: baseline; gap: 4px; }
.plan-price b { font-size: 44px; letter-spacing: -1.5px; line-height: 1.1; }
.plan-price span { font-size: 20px; font-weight: 700; color: var(--dim); }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 8px; margin: 10px 0 16px; color: var(--dim); font-size: 14px; }
.plan li { display: flex; align-items: center; gap: 9px; }
.plan li .ic { color: var(--a2); font-size: 14px; }
.plan .btn { margin-top: auto; }

/* ---------------------------------------------------------------- оплата */
.buy-card { width: min(440px, calc(100vw - 32px)); }
.buy-plan { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-radius: 14px; margin-bottom: 14px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--a1) 22%, transparent), color-mix(in srgb, var(--a2) 14%, transparent)); border: 1px solid var(--line); }
.buy-plan b { font-size: 16px; }
.buy-plan span { font-size: 22px; font-weight: 800; }
.pay-list { display: flex; flex-direction: column; gap: 8px; margin: 10px 0 14px; }
.pay { display: flex; align-items: center; gap: 13px; padding: 12px 14px; border-radius: 14px; text-align: left; background: var(--hover); border: 1px solid var(--line); transition: all .2s; }
.pay:hover { border-color: color-mix(in srgb, var(--a1) 55%, transparent); transform: translateY(-1px); }
.pay div { flex: 1; }
.pay b { display: block; font-size: 15px; }
.pay small { color: var(--muted); font-size: 12px; }
.pay-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: #fff; flex-shrink: 0; }
.pay-sbp { background: linear-gradient(135deg, #1f8f4e, #5b2ee6 55%, #f2a01b); }
.pay-stripe { background: #635bff; font-size: 22px; }
.pay-foreign { background: linear-gradient(135deg, #1a1f71, #eb001b); }
.buy-note { margin-top: 4px; }

/* ---------------------------------------------------------------- скачивание */
.dl-need { display: flex; align-items: center; gap: 9px; margin-top: 14px; padding: 11px 14px; border-radius: 12px; font-size: 14px; font-weight: 600;
  color: #ffd27a; background: rgba(255, 177, 59, .1); border: 1px solid rgba(255, 177, 59, .3); }
.dl-need[hidden] { display: none; }

/* ---------------------------------------------------------------- кошелёк */
.wallet-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wallet-card { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.wallet-card .btn { margin-top: 10px; }
.w-bal { font-size: 36px; letter-spacing: -1px; }
.w-sub { font-size: 22px; }
.sub-card.active { border-color: color-mix(in srgb, #4ade80 45%, transparent); background: linear-gradient(135deg, rgba(74, 222, 128, .08), transparent 60%); }
.sub-card.active .w-sub { color: #4ade80; }
.wallet-card .btn[hidden] { display: none; }
.code-row .input { text-transform: uppercase; }

/* ---------------------------------------------------------------- тикеты */
.push { margin-left: auto; }
.tk-row { cursor: pointer; transition: border-color .15s; }
.tk-row:hover { border-color: color-mix(in srgb, var(--a1) 50%, transparent); }
.tk-subj { flex: 1; min-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-st { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: var(--hover); border: 1px solid var(--line); color: var(--dim); white-space: nowrap; }
.tk-st.open { color: #ffd27a; border-color: rgba(255, 177, 59, .4); }
.tk-st.answered { color: #4ade80; border-color: rgba(74, 222, 128, .4); }
.chat[hidden], #tkForm[hidden] { display: none; }
.chat .block-head { flex-wrap: wrap; }
.msgs { display: flex; flex-direction: column; gap: 10px; max-height: 420px; overflow-y: auto; padding: 4px 2px 10px; }
.msg { max-width: 78%; padding: 10px 14px; border-radius: 14px; background: var(--hover); border: 1px solid var(--line); align-self: flex-start; }
.msg.mine { align-self: flex-end; background: color-mix(in srgb, var(--a1) 16%, transparent); border-color: color-mix(in srgb, var(--a1) 35%, transparent); }
.msg.staff .msg-head b { color: var(--a2); }
.msg-head { display: flex; gap: 10px; align-items: baseline; font-size: 13px; margin-bottom: 4px; }
.msg-head time { color: var(--muted); font-size: 12px; }
.msg p { color: var(--text); font-size: 14px; word-break: break-word; }
.reply { margin-top: 8px; align-items: flex-end; }
.reply .input.area { height: 64px; }

/* ---------------------------------------------------------------- админ-панель с вкладками слева */
.admin { display: grid; grid-template-columns: 230px 1fr; gap: 16px; margin-top: 26px; align-items: start; }
.pn-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.pn-side .p-nav a { cursor: pointer; }
.nav-count { margin-left: auto; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 99px; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; background: #ff5c7a; }
.nav-count[hidden] { display: none; }
#pnKpis { grid-template-columns: repeat(4, 1fr); }
.seg.mini { margin: 0; padding: 3px; }
.seg.mini button { height: 30px; padding: 0 12px; font-size: 13px; flex: none; }
.sub-pill { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; color: var(--muted); background: var(--hover); border: 1px solid var(--line); display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.sub-pill.on { color: #4ade80; border-color: rgba(74, 222, 128, .4); }
.grid3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px; }
.span3 { grid-column: 1 / -1; }
.code-val { margin-left: 0 !important; font-size: 14px !important; }

@media (max-width: 920px) {
  .plans, .wallet-row, .admin { grid-template-columns: 1fr; }
  #pnKpis { grid-template-columns: 1fr 1fr; }
  .grid3 { grid-template-columns: 1fr; }
}

/* скрытое — всегда скрыто, даже если у элемента свой display */
[hidden] { display: none !important; }
.role-tag { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 99px; color: #fff; background: linear-gradient(90deg, var(--a1), var(--a2)); }
.role-tag.support { background: linear-gradient(90deg, #22c55e, #14b8a6); }
.role-tag.owner { background: linear-gradient(90deg, #f59e0b, #ef4444); }
.input.role-sel { height: 34px; width: auto; padding: 0 12px; font-size: 13px; border-radius: 10px; }
.badge.support { background: linear-gradient(90deg, #22c55e, #14b8a6); }

/* окно входа: предупреждение про почту и «забыли пароль» */
.mail-warn { display: flex; gap: 9px; align-items: flex-start; text-align: left; padding: 10px 12px; border-radius: 12px; font-size: 13px; line-height: 1.4;
  color: #ffd27a; background: rgba(255, 177, 59, .1); border: 1px solid rgba(255, 177, 59, .32); }
.mail-warn .ic { margin-top: 2px; }
.mail-warn b { color: #ffe3a8; }
.link-btn { align-self: center; color: var(--dim); font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--text); }
.link-btn.inline { font-size: inherit; font-weight: inherit; }

/* код подтверждения почты */
.code-box { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.code-box p { color: var(--dim); line-height: 1.45; }
.code-box b { color: var(--text); }
.input.code-in { text-align: center; font-size: 26px; font-weight: 800; letter-spacing: 12px; height: 58px; }
