:root {
  --bg: #0b0c12;
  --panel: #13141f;
  --panel-2: #1b1c2b;
  --panel-3: #232538;
  --line: #25273b;
  --line-2: #343752;
  --text: #f4f5fa;
  --muted: #9597b0;
  --dim: #656782;
  --accent: #8b7cf6;
  --accent-rgb: 139, 124, 246;
  --on-accent: #ffffff;
  --limit: var(--accent);
  --red: #ff4d5e;
  --red-rgb: 255, 77, 94;
  --green: #22c55e;
  --cyan: #06b6d4;
  --cyan-rgb: 6, 182, 212;
  --amber: #f59e0b;
  --amber-rgb: 245, 158, 11;
  --r-xl: 22px;
  --r-lg: 16px;
  --r-md: 12px;
  --r-sm: 8px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, .25);
  --shadow-md: 0 16px 36px -12px rgba(0, 0, 0, .45);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .6);
}

html[data-theme="light"] {
  --bg: #f4f5f9;
  --panel: #ffffff;
  --panel-2: #ececf4;
  --panel-3: #e1e2ee;
  --line: #dedee9;
  --line-2: #cfd0de;
  --text: #141521;
  --muted: #64667a;
  --dim: #9496a8;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, .06);
  --shadow-md: 0 16px 36px -12px rgba(0, 0, 0, .1);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .15);
}

html[data-theme="amoled"] {
  --bg: #000000;
  --panel: #08080c;
  --panel-2: #101017;
  --panel-3: #181822;
  --line: #1b1b26;
  --line-2: #262635;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.55 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  transition: background-color .35s var(--ease), color .35s var(--ease);
  min-height: 100vh;
}
button, input { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
.muted { color: var(--muted); }

/* SVG icons helper */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15em;
  height: 1.15em;
  vertical-align: -0.15em;
  flex: none;
}
.icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}
.icon.stroke svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Шапка — стеклянная капсула */
.top {
  position: sticky;
  top: 14px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(100% - 32px, 1140px);
  margin: 14px auto 0;
  padding: 10px 14px 10px 18px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--panel) 78%, transparent);
  border: 1px solid var(--line);
  backdrop-filter: blur(20px) saturate(160%);
  box-shadow: var(--shadow-md);
  transition: border-color .3s var(--ease);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 750;
  font-size: 16px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand .logo-gem {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #ff6b8b);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 0 16px rgba(var(--accent-rgb), .4);
  transition: transform .3s var(--ease);
}
.brand:hover .logo-gem {
  transform: rotate(8deg) scale(1.08);
}
.snav {
  display: flex;
  gap: 4px;
  background: var(--panel-2);
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
}
.snav a {
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  transition: all .25s var(--ease);
}
.snav a:hover { color: var(--text); }
.snav a[aria-current="page"] {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 2px 10px rgba(var(--accent-rgb), .35);
}

.tools {
  display: flex;
  align-items: center;
  gap: 8px;
}
.seg {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 3px;
  padding: 3px;
  border-radius: 999px;
  background: var(--panel-2);
  border: 1px solid var(--line);
}
.seg button {
  height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  transition: all .25s var(--ease);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.seg button:hover { color: var(--text); }
.seg button[aria-pressed="true"] {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 2px 8px rgba(var(--accent-rgb), .35);
}
.seg.mini button { height: 30px; padding: 0 10px; font-size: 12.5px; }
.seg.wide button { height: 42px; font-size: 14px; }

/* Регулировщик темы — намертво привязан к кнопке через look-anchor */
.look-anchor {
  position: relative;
  display: inline-flex;
}
.round {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all .25s var(--ease);
}
.round:hover {
  background: var(--panel-3);
  border-color: var(--line-2);
  transform: scale(1.05);
}
.round[aria-expanded="true"] {
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
  box-shadow: 0 0 14px rgba(var(--accent-rgb), .4);
}

.look {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 100;
  width: 300px;
  max-width: calc(100vw - 32px);
  padding: 20px;
  border-radius: var(--r-xl);
  background: var(--panel);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .05);
  animation: popDown .25s var(--ease) both;
}
@keyframes popDown {
  from { opacity: 0; transform: translateY(-8px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.look-h {
  margin: 14px 0 8px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.look-h:first-child { margin-top: 0; }
.swatches {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.swatches button {
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.swatches button:hover { transform: scale(1.15); }
.swatches button[aria-pressed="true"] {
  border-color: var(--text);
  box-shadow: 0 0 0 2px var(--panel), 0 0 10px rgba(var(--accent-rgb), .6);
}
.ghost {
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-weight: 600;
  transition: all .25s var(--ease);
}
.ghost:hover {
  background: var(--panel-2);
  border-color: var(--dim);
}
.ghost.small {
  margin-top: 16px;
  height: 34px;
  font-size: 13px;
  width: 100%;
}

/* Контейнеры */
main, .foot {
  width: min(100% - 32px, 1140px);
  margin: 0 auto;
}

/* Hero */
.hero {
  padding: 56px 0 24px;
}
.hero.small {
  padding: 48px 0 20px;
}
.eyebrow {
  margin: 0 0 10px;
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}
h1 {
  margin: 0;
  font-size: clamp(32px, 5.2vw, 54px);
  line-height: 1.08;
  letter-spacing: -.03em;
  font-weight: 800;
}
.label {
  margin: 0;
  font-size: 12.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.sub {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  max-width: 540px;
}
h2 {
  margin: 0;
  font-size: 17.5px;
  font-weight: 700;
  letter-spacing: -.01em;
}

/* Бюджет */
.budget {
  padding: 28px;
  border-radius: var(--r-xl);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, .04);
}
.budget-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}
.budget-input {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 250px;
  height: 72px;
  padding: 0 22px;
  border-radius: var(--r-lg);
  background: var(--panel-2);
  border: 1px solid var(--line-2);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.budget-input:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .2);
}
.budget-input .cur {
  font-size: 30px;
  font-weight: 600;
  color: var(--muted);
}
.budget-input input {
  flex: 1;
  min-width: 0;
  width: 100%;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.budget-input input::-webkit-outer-spin-button,
.budget-input input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
}
.chip {
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 600;
  transition: all .25s var(--ease);
}
.chip:hover {
  color: var(--text);
  border-color: var(--dim);
}
.chip[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 2px 10px rgba(var(--accent-rgb), .35);
}

.rec {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.rec-text {
  margin: 0 0 14px;
  font-size: 14.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.rec-text b { color: var(--text); }
.pkgs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.pkg {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 16px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-2);
  background: var(--panel-2);
  cursor: pointer;
  text-align: left;
  transition: all .25s var(--ease);
}
.pkg:hover {
  transform: translateY(-2px);
  border-color: var(--dim);
}
.pkg b { font-size: 14.5px; font-weight: 700; }
.pkg span {
  font-size: 21px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}
.pkg em {
  position: absolute;
  top: 10px;
  right: 10px;
  font-style: normal;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  letter-spacing: .02em;
  box-shadow: 0 2px 8px rgba(var(--accent-rgb), .4);
}
.pkg.is-rec {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, var(--panel-2));
  box-shadow: 0 0 0 1px var(--accent), 0 12px 28px -10px rgba(var(--accent-rgb), .45);
}

/* Панель настроек + Сводка */
.grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 20px;
  margin-top: 20px;
  align-items: start;
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 8px 24px;
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, .04);
}
.block {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.block:last-child { border-bottom: 0; }
.block-h {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.block-h h2 {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}
.num {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--panel-2);
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  font-size: 12.5px;
  font-weight: 750;
  color: var(--accent);
}
.out {
  font-size: 19px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 7px;
  border-radius: 999px;
  background: var(--panel-2);
  margin: 16px 0 0;
  outline: none;
  cursor: pointer;
  border: 1px solid var(--line-2);
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--text);
  border: 4px solid var(--accent);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .5);
  transition: transform .15s ease;
}
.range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}
.range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--text);
  border: 4px solid var(--accent);
}

.styles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.style-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 16px 18px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-2);
  background: var(--panel-2);
  text-align: left;
  cursor: pointer;
  transition: all .25s var(--ease);
}
.style-card b {
  font-size: 15.5px;
  font-weight: 700;
}
.style-card span {
  font-size: 13px;
  color: var(--muted);
}
.style-card[aria-pressed="true"] {
  border-color: var(--accent);
  background: rgba(var(--accent-rgb), .1);
  box-shadow: 0 0 0 1px var(--accent);
}
.style-card[aria-pressed="true"] b {
  color: var(--accent);
}

.stepper {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border-radius: 999px;
  background: var(--panel-2);
  border: 1px solid var(--line-2);
}
.stepper button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: var(--panel-3);
  cursor: pointer;
  font-size: 20px;
  color: var(--text);
  display: grid;
  place-items: center;
  transition: all .2s var(--ease);
}
.stepper button:hover:not(:disabled) {
  background: var(--accent);
  color: var(--on-accent);
}
.stepper button:disabled {
  opacity: .35;
  cursor: not-allowed;
}
.stepper output {
  min-width: 56px;
  text-align: center;
  font-size: 20px;
  font-weight: 800;
}

.char-rows {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.char-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: var(--panel-2);
  border: 1px solid var(--line);
}
.char-row span {
  font-size: 14px;
  font-weight: 650;
}
.seg.small button {
  height: 32px;
  padding: 0 12px;
  font-size: 12.5px;
}
.seg.small button.hot[aria-pressed="true"] {
  background: var(--amber);
  color: #1a1204;
}

.toggle {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 22px 0;
  cursor: pointer;
}
.toggle input {
  margin-top: 3px;
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
  cursor: pointer;
}
.toggle b {
  display: block;
  font-size: 15.5px;
  font-weight: 700;
}
.toggle small {
  display: block;
  color: var(--muted);
  font-size: 13.5px;
  margin-top: 2px;
}

/* Сводка (Summary) */
.summary {
  position: sticky;
  top: 98px;
  padding: 26px;
  border-radius: var(--r-xl);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, .04);
}
.total {
  margin: 10px 0 18px;
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: var(--limit);
  transition: color .4s var(--ease);
}
.breakdown {
  list-style: none;
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
}
.breakdown li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  font-size: 14px;
  color: var(--muted);
}
.breakdown li b {
  color: var(--text);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.meter-wrapper {
  margin: 22px 0 8px;
}
.meter {
  height: 9px;
  border-radius: 999px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  overflow: hidden;
}
.bar {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--limit);
  transition: width .45s var(--ease), background .4s var(--ease);
}
.meter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 8px;
  font-variant-numeric: tabular-nums;
}
#limitLine {
  color: var(--limit);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.fine {
  margin: 18px 0 0;
  font-size: 12.5px;
  color: var(--dim);
  line-height: 1.45;
}

/* ================= Список аниматоров и фильтры ================= */
.list {
  padding: 56px 0 32px;
}
.list-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.cat-tabs {
  display: flex;
  gap: 6px;
  background: var(--panel);
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
}
.cat-tab {
  height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 650;
  transition: all .25s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cat-tab:hover { color: var(--text); }
.cat-tab[aria-pressed="true"] {
  background: var(--panel-2);
  color: var(--text);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
  border: 1px solid var(--line-2);
}
.cat-tab[aria-pressed="true"].cat-tab-3d {
  background: rgba(var(--cyan-rgb), .12);
  color: var(--cyan);
  border-color: rgba(var(--cyan-rgb), .35);
}
.cat-tab[aria-pressed="true"].cat-tab-2d {
  background: rgba(var(--amber-rgb), .12);
  color: var(--amber);
  border-color: rgba(var(--amber-rgb), .35);
}
.cat-tab .count {
  font-size: 11.5px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--panel-3);
  color: var(--muted);
}
.cat-tab[aria-pressed="true"] .count {
  background: currentColor;
  color: var(--bg);
  font-weight: 750;
}

.filters-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.filter-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--line);
  transition: all .2s var(--ease);
}
.filter-check:hover {
  color: var(--text);
  border-color: var(--line-2);
}
.filter-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
}

/* Секционные заголовки групп (3D и 2D) */
.section-header {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0 4px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.section-header:first-child { margin-top: 0; }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 750;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.section-tag.tag-3d {
  background: rgba(var(--cyan-rgb), .15);
  color: var(--cyan);
  border: 1px solid rgba(var(--cyan-rgb), .3);
}
.section-tag.tag-2d {
  background: rgba(var(--amber-rgb), .15);
  color: var(--amber);
  border: 1px solid rgba(var(--amber-rgb), .3);
}
.section-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -.01em;
}
.section-header p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

/* Карточки авторов */
.cards, .team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}
.card, .member {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border-radius: var(--r-xl);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  position: relative;
}
.card:hover, .member:hover {
  transform: translateY(-3px);
  border-color: var(--line-2);
  box-shadow: var(--shadow-md);
}
.card.fit {
  border-color: rgba(34, 197, 94, .35);
}
.card.fit::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 24px;
  right: 24px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  border-radius: 999px;
}

.card-top {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ava {
  position: relative;
  flex: none;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  font-weight: 800;
  font-size: 19px;
  border: 2px solid var(--line-2);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.card:hover .ava, .member:hover .ava {
  transform: scale(1.05);
  border-color: var(--accent);
}
.ava.big {
  width: 108px;
  height: 108px;
  font-size: 32px;
  margin-bottom: 8px;
}
.ava img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s var(--ease);
}
.card:hover .ava img, .member:hover .ava img {
  transform: scale(1.06);
}

.who {
  flex: 1;
  min-width: 0;
}
.who-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.who h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 750;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cat-badge {
  font-size: 11px;
  font-weight: 750;
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: .04em;
  text-transform: uppercase;
  flex: none;
}
.cat-badge.cat-3d {
  background: rgba(var(--cyan-rgb), .15);
  color: var(--cyan);
  border: 1px solid rgba(var(--cyan-rgb), .3);
}
.cat-badge.cat-2d {
  background: rgba(var(--amber-rgb), .15);
  color: var(--amber);
  border: 1px solid rgba(var(--amber-rgb), .3);
}
.role {
  margin: 3px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: var(--panel-2);
  border: 1px solid var(--line);
}
.price {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.badge {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.badge.ok {
  background: rgba(34, 197, 94, .14);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, .25);
}
.badge.over {
  background: rgba(255, 77, 94, .14);
  color: var(--red);
  border: 1px solid rgba(255, 77, 94, .25);
}
.badge.neutral {
  background: var(--panel-3);
  color: var(--muted);
  border: 1px solid var(--line-2);
}

/* Предупреждение о лимитах автора */
.limit-warning {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 9px 12px;
  border-radius: var(--r-sm);
  background: rgba(245, 158, 11, .1);
  border: 1px solid rgba(245, 158, 11, .25);
  color: #fbbf24;
  font-size: 12.5px;
  line-height: 1.4;
}
.limit-warning .icon { margin-top: 2px; }

.note {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.45;
}

/* Кнопки соцсетей и сайтов */
.links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}
.link-btn {
  height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--panel-2);
  border: 1px solid var(--line-2);
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
  color: var(--text);
  transition: all .25s var(--ease);
}
.link-btn:hover {
  border-color: var(--accent);
  background: var(--panel-3);
  transform: translateY(-1px);
}
.link-btn.discord:hover {
  border-color: #5865F2;
  color: #5865F2;
  background: rgba(88, 101, 242, .1);
}
.link-btn.x:hover {
  border-color: var(--text);
  color: var(--text);
}
.link-btn.carrd:hover {
  border-color: #22c55e;
  color: #22c55e;
  background: rgba(34, 197, 94, .1);
}

.empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 40px 24px;
  border: 1px dashed var(--line-2);
  border-radius: var(--r-xl);
  color: var(--muted);
  text-align: center;
  font-size: 15px;
}

/* Команда (Team) */
.team-section {
  margin-bottom: 40px;
}
.member {
  align-items: center;
  text-align: center;
}
.member .links { justify-content: center; }
.member h3 {
  margin: 6px 0 0;
  font-size: 19px;
  font-weight: 750;
}

.foot {
  padding: 32px 0 48px;
  color: var(--dim);
  font-size: 13.5px;
  border-top: 1px solid var(--line);
  margin-top: 40px;
  text-align: center;
}

/* Адаптивность */
@media (max-width: 960px) {
  .grid { grid-template-columns: 1fr; }
  .summary { position: static; }
  .pkgs { grid-template-columns: repeat(2, 1fr); }
  .snav { display: none; }
}
@media (max-width: 600px) {
  .top { gap: 8px; padding: 8px 12px; }
  .brand span:last-child { display: none; }
  .budget { padding: 20px; }
  .budget-input { min-width: 0; width: 100%; height: 64px; }
  .budget-input input { font-size: 30px; }
  .styles { grid-template-columns: 1fr; }
  .total { font-size: 42px; }
  .cards, .team-grid { grid-template-columns: 1fr; }
  .list-topbar { flex-direction: column; align-items: stretch; }
  .cat-tabs { justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
