/* NOVA Lux — премиальный слой поверх nova.css. Палитра та же: почти чёрный, шампань, антиква. */
:root {
  --lux-edge: linear-gradient(140deg, rgba(240,228,203,.55), rgba(232,220,194,.07) 34%, rgba(232,220,194,.03) 64%, rgba(232,220,194,.32));
  --lux-gold-text: linear-gradient(180deg, #f6eedb 8%, #d8c8a6 55%, #ad9b78 100%);
  --lux-shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 30px 60px -36px rgba(0,0,0,.9), 0 0 0 1px rgba(0,0,0,.25);
  --radius: 20px;
}

/* фон: глубина и мягкий свет сверху, тонкое зерно как у дорогой бумаги */
body {
  background:
    radial-gradient(1100px 520px at 85% -12%, rgba(214,196,160,.10), transparent 62%),
    radial-gradient(900px 600px at -10% 110%, rgba(110,128,170,.06), transparent 60%),
    linear-gradient(180deg, #0c1018 0%, #0a0d13 60%, #090b10 100%) fixed;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  letter-spacing: .005em;
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
::selection { background: rgba(232,220,194,.28); color: #fff; }

/* ---------- типографика */
h1, h2, h3 { font-weight: 500; letter-spacing: .005em; }
.head h1, .gate-card h1 {
  background: var(--lux-gold-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  font-size: 50px; line-height: 1.04; padding-bottom: .04em;
}
.caps { letter-spacing: .3em; font-size: 10.5px; color: #cdbd9c; }
.head .caps::after, .hero .caps::after { width: 46px; background: linear-gradient(90deg, rgba(232,220,194,.8), transparent); }
.head p, .lead { color: #a4a7af; }
.muted { color: #8b8f99; }
.stat b, .counters b, .date b, .lb .pts {
  background: var(--lux-gold-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ---------- шапка: стекло и золотая нить снизу */
.top {
  background: linear-gradient(180deg, rgba(12,15,22,.92), rgba(12,15,22,.78));
  backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 0;
}
.top::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(232,220,194,.35) 30%, rgba(232,220,194,.12) 70%, transparent);
}
.brand b { letter-spacing: .2em; font-weight: 500;
  background: var(--lux-gold-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.brand svg { filter: drop-shadow(0 0 10px rgba(232,220,194,.18)); }
.nav a { letter-spacing: .22em; font-size: 10.5px; }
.nav a.on { border-color: transparent; position: relative; }
.nav a.on::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%;
  background: #efe4cb; box-shadow: 0 0 10px rgba(239,228,203,.9); }

/* ---------- карточки: стеклянная глубина, светлая кромка, мягкая тень */
.card {
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,0) 38%) padding-box,
              linear-gradient(rgba(18,23,34,.86), rgba(15,19,28,.92)) padding-box,
              var(--lux-edge) border-box;
  box-shadow: var(--lux-shadow);
}
.space-on .card {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,0) 38%) padding-box,
              linear-gradient(rgba(18,23,34,.70), rgba(15,19,28,.80)) padding-box,
              var(--lux-edge) border-box;
}
@media (hover: hover) {
  a.card:hover { transform: translateY(-3px);
    box-shadow: 0 0 0 1px rgba(232,220,194,.16), 0 34px 60px -30px rgba(201,185,154,.28), var(--lux-shadow); }
}

/* ---------- аватар: золотое кольцо с зазором, как оправа */
.avatar {
  border: 0;
  box-shadow: 0 0 0 1.5px rgba(236,224,198,.62), 0 0 0 4px #0c1017, 0 0 0 5px rgba(201,185,154,.22), 0 14px 28px -12px rgba(0,0,0,.9);
}
.avatar:not(.photo) {
  background: radial-gradient(circle at 32% 24%, rgba(240,228,203,.22), transparent 58%), linear-gradient(160deg, #161c29, #0c1018);
  color: #e9dcbf; letter-spacing: .02em;
}

/* ---------- метки */
.tag { border-color: rgba(214,198,166,.30); background: rgba(214,198,166,.045); color: #d6c6a6; letter-spacing: .02em; }
.tag.dim { border-color: rgba(214,198,166,.13); background: transparent; color: #8f939c; }
.demo { background: rgba(212,139,124,.06); }

/* ---------- кнопки: шампань с бликом */
.btn {
  position: relative; overflow: hidden; border: 0;
  background: linear-gradient(180deg, #ecdfc3 0%, #d3c29f 48%, #b7a582 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.55) inset, 0 -1px 0 rgba(0,0,0,.18) inset, 0 12px 26px -12px rgba(214,196,160,.55);
  color: #151820; letter-spacing: .26em;
}
.btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-18deg);
  transition: left .7s ease;
}
@media (hover: hover) { .btn:hover::after { left: 130%; } .btn:hover { filter: brightness(1.04); } }
.btn.ghost { background: rgba(214,198,166,.04); color: #ecdfc3; box-shadow: 0 0 0 1px rgba(214,198,166,.42) inset; }
.btn.ghost::after { display: none; }
.btn.ghost:hover { background: rgba(214,198,166,.10); }

/* ---------- поля */
input, select, textarea {
  background: linear-gradient(180deg, rgba(9,12,18,.9), rgba(13,17,25,.9));
  border-color: rgba(214,198,166,.16); border-radius: 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
input:focus, select:focus, textarea:focus { border-color: rgba(232,220,194,.6); box-shadow: 0 0 0 4px rgba(232,220,194,.07); }
input::placeholder, textarea::placeholder { color: #6d717b; }
select { -webkit-appearance: none; appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23cdbd9c' stroke-width='1.4'/></svg>"),
                    linear-gradient(180deg, rgba(9,12,18,.9), rgba(13,17,25,.9));
  background-repeat: no-repeat; background-position: right 16px center, 0 0; }
/* выпадающий список: тёмный фон и светлый текст, выбранный пункт — шампань */
select { color-scheme: dark; }
select option, select optgroup { background-color: #121722; color: #ece6da; }
select option:checked { background-color: #d3c29f; color: #151820; }
select option:disabled { color: #6d717b; }

/* ---------- вкладки: сегментный переключатель */
.tabs { background: rgba(10,13,19,.6); border: 1px solid rgba(214,198,166,.12); border-radius: 999px; padding: 4px; gap: 2px;
  display: inline-flex; max-width: 100%; }
.tabs a { border: 0; padding: 9px 18px; color: #8f939c; transition: background .2s ease, color .2s ease; white-space: nowrap; }
.tabs a.on { color: #151820; background: linear-gradient(180deg, #ecdfc3, #c9b896); box-shadow: 0 6px 16px -8px rgba(214,196,160,.6); }

/* ---------- каталог людей */
a.card.person { align-items: center; padding: 20px 22px; position: relative; }
a.card.person::after { content: ""; position: absolute; right: 20px; top: 50%; width: 7px; height: 7px; margin-top: -4px;
  border: solid rgba(214,198,166,.45); border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); }
a.card.person > div { padding-right: 18px; min-width: 0; }
.person .name { font-size: 24px; letter-spacing: .005em; }
.person .co { color: #c9cbd1; }

/* ---------- профиль */
.profile-hero { position: relative; overflow: hidden; }
.profile-hero::before { content: ""; position: absolute; width: 520px; height: 520px; right: -180px; top: -260px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(232,220,194,.10), transparent 62%); }
.profile-hero .avatar.lg { width: 112px; height: 112px; font-size: 40px;
  box-shadow: 0 0 0 1.5px rgba(236,224,198,.7), 0 0 0 6px #0f131c, 0 0 0 7px rgba(201,185,154,.28), 0 0 60px -6px rgba(232,220,194,.22), 0 20px 40px -16px rgba(0,0,0,.9); }
.profile-hero h1 { font-size: 46px;
  background: var(--lux-gold-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ---------- мероприятия: каждая встреча — своя карточка */
.card.list:has(> .event) { background: none; box-shadow: none; padding: 0; border: 0; display: grid; gap: 14px; }
.card.list:has(> .event) > * + * { border-top: 0; }
.card.list > .event {
  padding: 22px 24px; border-radius: var(--radius); border: 1px solid transparent;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,0) 38%) padding-box,
              linear-gradient(rgba(18,23,34,.86), rgba(15,19,28,.92)) padding-box, var(--lux-edge) border-box;
  box-shadow: var(--lux-shadow);
}
.card.list > .event-cover { margin: 0 0 -14px; border-radius: var(--radius) var(--radius) 0 0; border: 0; }
.date { border: 0; border-radius: 16px; padding: 12px 0 10px;
  background: radial-gradient(circle at 50% 0, rgba(232,220,194,.12), transparent 70%), rgba(10,13,19,.7);
  box-shadow: 0 0 0 1px rgba(214,198,166,.28) inset; }
.date span { letter-spacing: .2em; font-size: 10px; }
.kind { letter-spacing: .26em; font-size: 10px; }
.kind .tag { vertical-align: 1px; margin-left: 6px; }
.event h3 { font-size: 25px; line-height: 1.2; }

/* ---------- прочее */
.flash { border: 0; border-radius: 16px; background: linear-gradient(90deg, rgba(232,220,194,.10), rgba(232,220,194,.02));
  box-shadow: 0 0 0 1px rgba(214,198,166,.22) inset, inset 3px 0 0 #e4d6b8; }
.list > * + * { border-top-color: rgba(214,198,166,.10); }
th { color: #cdbd9c; }
.bar { height: 5px; background: rgba(214,198,166,.12); }
.bar i { background: linear-gradient(90deg, #a8966f, #efe4cb); box-shadow: 0 0 12px rgba(239,228,203,.45); }
.gate-card .word { font-size: 96px; letter-spacing: .1em;
  background: linear-gradient(100deg, #b6a584 0%, #f4ead2 40%, #fffaf0 50%, #f4ead2 60%, #b6a584 100%) 0 0 / 250% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: lux-sheen 9s ease-in-out infinite; }
@keyframes lux-sheen { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
.orbit { border-color: rgba(214,198,166,.14); }
@media (prefers-reduced-motion: reduce) { .gate-card .word { animation: none; } .btn::after { display: none; } }

/* =====================================================================
   Телефон
   ===================================================================== */
@media (max-width: 900px) {
  :root { --radius: 22px; }
  .wrap { padding: 26px 18px 36px; }
  .head h1 { font-size: 40px; }
  .head { margin-bottom: 24px; }
  .card { padding: 20px; }

  .top { padding-left: 20px; padding-right: 20px; }
  .brand b { font-size: 21px; letter-spacing: .24em; }

  /* вкладки листаются вбок одной строкой */
  .tabs { display: flex; flex-wrap: nowrap !important; overflow-x: auto; scrollbar-width: none; width: 100%; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs a { flex: none; padding: 11px 16px; font-size: 12.5px; }

  /* поиск: поле и фильтр рядом, кнопка тонкая */
  .search { gap: 10px; }
  .search .btn { min-height: 46px; }

  /* каталог */
  a.card.person { padding: 16px 18px; gap: 14px; }
  a.card.person .avatar { width: 52px; height: 52px; font-size: 19px; }
  .person .name { font-size: 21px; line-height: 1.15; }
  .person .co { font-size: 13.5px; }
  a.card.person .tags { margin-top: 8px; }

  /* профиль: по центру, орбита отдельной строкой */
  .profile-hero { padding: 30px 20px 24px !important; }
  .profile-hero .person { flex-direction: column; align-items: center; text-align: center; gap: 16px; }
  .profile-hero .person > div { width: 100%; }
  .profile-hero .tags { justify-content: center; }
  .profile-hero h1 { font-size: 38px; line-height: 1.05; margin-top: 8px !important; }
  .profile-hero .avatar.lg { width: 116px; height: 116px; font-size: 40px; }
  .profile-orbit { width: 100% !important; max-width: 220px; margin: 4px auto 0; padding-top: 18px; border-top: 1px solid rgba(214,198,166,.12); }
  .profile-hero::before { right: -260px; top: -300px; }

  /* мероприятия */
  .card.list > .event { padding: 18px; grid-template-columns: 64px 1fr; gap: 16px; }
  .event h3 { font-size: 23px; }
  .event form { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    padding-top: 14px; border-top: 1px solid rgba(214,198,166,.10); }
  .event form > div.muted { margin: 0 !important; }
  .event form .btn { width: auto !important; flex: 1 1 auto; max-width: 220px; }

  /* нижнее меню: стекло, золотая точка над активным пунктом */
  .tabbar { background: linear-gradient(180deg, rgba(14,18,26,.82), rgba(10,13,19,.94)); border-top: 0;
    backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%); }
  .tabbar::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(232,220,194,.32) 25%, rgba(232,220,194,.32) 75%, transparent); }
  .tabbar a, .tabbar summary { position: relative; color: #7f838d; }
  .tabbar .on { color: #efe4cb; }
  .tabbar .on::before { content: ""; position: absolute; top: 2px; left: 50%; width: 18px; height: 2px; margin-left: -9px; border-radius: 2px;
    background: linear-gradient(90deg, transparent, #efe4cb, transparent); box-shadow: 0 0 10px rgba(239,228,203,.8); }
  .more-menu { background: rgba(20,25,36,.94); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-radius: 22px;
    border-color: rgba(214,198,166,.22); }
  .gate-card .word { font-size: 70px; }
}
.kind .tag, .kind .demo { display: inline-block; white-space: nowrap; letter-spacing: .12em; }
html { background: #0a0d13; }

/* фото встреч и обучение (10.10.2026) */
.ph-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.ph-item { position: relative; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px rgba(214,198,166,.16) inset; background: #0c1017; }
.ph-item img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.ph-meta { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 7px 9px; font-size: 11px; color: #9a9ea8;
  background: linear-gradient(0deg, rgba(10,13,19,.92), rgba(10,13,19,.4)); }
.ph-del { background: none; border: 0; color: #e6a092; cursor: pointer; font-size: 13px; padding: 2px 4px; line-height: 1; }
.lr-card { display: block; padding: 18px 20px; }
.lr-card.lr-hidden { opacity: .55; }

/* Карточка «Трекер» на главной (11.10.2026) */
.trk-home { display: flex; flex-direction: column; gap: 6px; }
.trk-home .th-big { font: 500 26px/1.2 "Cormorant", Georgia, serif; color: var(--gold-hi, #efe4cb); margin: 4px 0 2px; }
.trk-home .th-big small { font-size: .6em; color: #9a9ea8; }
.trk-home .muted { font-size: 13px; line-height: 1.5; }
.trk-home .th-bars { display: flex; align-items: flex-end; gap: 6px; height: 54px; margin: 10px 0 2px; }
.trk-home .th-bars i { position: relative; flex: 1; max-width: 34px; border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, rgba(236,223,195,.9), rgba(173,155,120,.35)); }
.trk-home .th-bars i:last-child { background: linear-gradient(180deg, #f6eedb, #c9b896); box-shadow: 0 0 14px rgba(232,220,194,.35); }
.trk-home .th-bars b { position: absolute; bottom: -16px; left: 0; right: 0; text-align: center; font: 600 9px/1 "Manrope", sans-serif; color: #8f939c; letter-spacing: .08em; }
.trk-home .th-next { margin-top: 14px; font-size: 12.5px; color: #c9c2b2; }

/* Полезные файлы партнёров (11.10.2026) */
.pf-box { margin: 14px 0 0; display: grid; gap: 8px; }
.pf-file { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--text, #e8e9ec);
  box-shadow: 0 0 0 1px rgba(214,198,166,.18) inset; text-decoration: none; }
a.pf-file:hover { box-shadow: 0 0 0 1px rgba(232,220,194,.5) inset; }
.pf-ext { flex: none; min-width: 44px; padding: 6px 0; border-radius: 8px; text-align: center; font: 700 10px/1 "Manrope", sans-serif;
  letter-spacing: .08em; color: #151820; background: linear-gradient(180deg, #ecdfc3, #c9b896); }
.pf-name { flex: 1; font-size: 14px; line-height: 1.3; }
.pf-name small { display: block; font-size: 12px; color: #8f939c; margin-top: 2px; }
.pf-dl { flex: none; font: 600 10px/1 "Manrope", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #d8c8a6; }
.pf-file.locked { opacity: .55; }
.pf-del { margin: -2px 0 4px; }
.pf-del .btn { width: auto; min-height: 0; padding: 7px 12px; font-size: 9px; }
