/* ============================================================
   VibeAgent · звезда цитаты: серебристое стекло + эффекты нажатия
   Стили. Логика — в star-fx.js
   ============================================================ */

/* ---------- сама кнопка ---------- */
.quote .qstar{
  position:relative;padding:14px;margin-bottom:20px;border-radius:50%;
  -webkit-tap-highlight-color:transparent;touch-action:manipulation;
  perspective:600px;
}
/* мягкое свечение вместо «блюдца» — идеально круглое, видно только при наведении */
.quote .qstar::before{
  content:'';position:absolute;left:50%;top:50%;width:110px;height:110px;margin:-55px 0 0 -55px;
  border-radius:50%;pointer-events:none;
  background:radial-gradient(closest-side,rgba(201,167,255,.34),rgba(201,167,255,.10) 55%,rgba(201,167,255,0) 78%);
  filter:blur(2px);
  transform:scale(.7);opacity:0;
  transition:transform .5s cubic-bezier(.22,1,.36,1),opacity .4s ease;
}
.quote .qstar:hover::before,.quote .qstar:focus-visible::before{transform:scale(1);opacity:1}

/* звезда крупнее и объёмнее */
.quote .qstar .obj{
  width:60px;height:60px;display:block;position:relative;z-index:2;object-fit:contain;
  filter:drop-shadow(0 3px 6px rgba(17,17,20,.20)) drop-shadow(0 10px 22px rgba(98,0,255,.18));
  animation:sfx-float 6.5s ease-in-out infinite;
  transform-style:preserve-3d;
  transition:transform .45s cubic-bezier(.22,1,.36,1),filter .35s ease;
}
.quote .qstar:hover .obj{
  animation:none;
  filter:drop-shadow(0 4px 8px rgba(17,17,20,.22)) drop-shadow(0 14px 30px rgba(139,61,255,.30)) brightness(1.06);
}
.quote .qstar:active .obj{transform:scale(.93)}
@keyframes sfx-float{
  0%,100%{transform:translateY(0) rotate(0deg)}
  50%{transform:translateY(-5px) rotate(3deg)}
}
/* старую «поп»-анимацию гасим — теперь ею управляет star-fx.js */
.quote .qstar.go .obj{animation:none}
.quote .qstar .pulse{display:none}

/* слой эффектов */
.sfx{position:absolute;left:50%;top:50%;width:0;height:0;pointer-events:none;z-index:1}
.sfx i{position:absolute;left:0;top:0;display:block;border-radius:50%;transform:translate(-50%,-50%)}
.sfx u{position:absolute;left:0;top:0;display:block;border-radius:999px;transform-origin:0 50%;text-decoration:none}
.sfx b{position:absolute;left:0;top:0;display:block;border-radius:50%;border:1.5px solid rgba(201,167,255,.9);
  transform:translate(-50%,-50%)}

@media(max-width:900px){
  .quote .qstar{padding:16px}
  .quote .qstar .obj{width:52px;height:52px}
}
@media(prefers-reduced-motion:reduce){
  .quote .qstar .obj{animation:none;transition:none}
  .sfx{display:none}
}

/* ============================================================
   Лента Strands над цитатой — она же кнопка смены цитаты
   ============================================================ */
.quote{position:relative}
.quote .qstar{padding:0;margin-bottom:22px;border-radius:22px;width:min(460px,86vw);
  -webkit-tap-highlight-color:transparent;perspective:none}
.quote .qstar::before{content:none}
.obj--strands{
  display:block;width:100%;height:132px;border-radius:22px;overflow:hidden;
  background:radial-gradient(120% 130% at 50% 50%,#14141B 0%,#0B0B0D 70%);
  box-shadow:0 1px 0 rgba(255,255,255,.5) inset,0 14px 38px rgba(17,17,20,.14),
             0 0 0 1px rgba(17,17,20,.05);
  transition:transform .4s cubic-bezier(.22,1,.36,1),box-shadow .35s ease;
}
.quote .qstar:hover .obj--strands{transform:translateY(-2px);
  box-shadow:0 1px 0 rgba(255,255,255,.5) inset,0 20px 48px rgba(98,0,255,.22),0 0 0 1px rgba(98,0,255,.12)}
.quote .qstar:active .obj--strands{transform:translateY(0) scale(.994)}
.obj--strands .strands-cv{display:block;width:100%;height:100%}
@media(max-width:900px){.obj--strands{height:104px;border-radius:18px}.quote .qstar{width:min(420px,90vw)}}

/* ============================================================
   Логотип VibeAgent — объём и лёгкое 3D
   ============================================================ */
.wordmark{perspective:600px}
.wordmark svg{overflow:visible;transform-style:preserve-3d;
  animation:logo-idle 9s ease-in-out infinite;
  filter:drop-shadow(0 1px 1px rgba(17,17,20,.18)) drop-shadow(0 4px 10px rgba(98,0,255,.16));
  transition:filter .35s ease}
.wordmark:hover svg{animation:logo-turn 1.5s cubic-bezier(.3,.9,.25,1);
  filter:drop-shadow(0 2px 3px rgba(17,17,20,.22)) drop-shadow(0 8px 20px rgba(139,61,255,.4))}
@keyframes logo-idle{
  0%,100%{transform:rotateY(-13deg) rotateX(4deg)}
  50%{transform:rotateY(13deg) rotateX(-4deg)}
}
@keyframes logo-turn{
  from{transform:rotateY(-13deg)}
  to{transform:rotateY(347deg)}
}
@media(prefers-reduced-motion:reduce){
  .wordmark svg{animation:none}
  .hero__strands{display:none}
}


/* лишний знак в углу шапки — убран, интерактивная звезда только одна, у цитаты */
.hero__mark{display:none}

/* ============================================================
   Фирменный знак — 3D-узел на заставке
   ============================================================ */
.splash{transition:opacity .9s cubic-bezier(.4,0,.2,1),visibility .9s}
.splash__obj--knot{
  width:96px;height:96px;object-fit:contain;
  animation:knot-in 1.5s cubic-bezier(.22,1,.36,1) both, knot-float 8s 1.5s ease-in-out infinite;
  filter:drop-shadow(0 8px 22px rgba(98,0,255,.16));
}
@keyframes knot-in{
  0%{opacity:0;transform:translateY(10px) scale(.86) rotate(-8deg);filter:blur(6px)}
  60%{opacity:1;filter:blur(0)}
  100%{opacity:1;transform:none;filter:blur(0)}
}
@keyframes knot-float{
  0%,100%{transform:translateY(0) rotate(0deg)}
  50%{transform:translateY(-6px) rotate(4deg)}
}
.splash__wm{animation:sup 1s .8s cubic-bezier(.22,1,.36,1) both!important}
.splash__bar{animation:sup 1s 1.05s cubic-bezier(.22,1,.36,1) both!important}
.splash__bar i{animation:sload 2.1s .9s cubic-bezier(.35,0,.15,1) forwards!important}
.splash__glow{animation:sglow 3s ease-out both!important}
@media(max-width:700px){.splash__obj--knot{width:84px;height:84px}}
@media(prefers-reduced-motion:reduce){.splash__obj--knot{animation:none}}

/* кольцо прогресса в карточке «продолжить» */
.res-ring{width:46px;height:46px;border-radius:50%;flex:none;display:grid;place-items:center;
  background:conic-gradient(var(--indigo) 0deg, rgba(17,17,20,.10) 0deg);
  transition:background .6s cubic-bezier(.22,1,.36,1)}
.res-ring>span{width:36px;height:36px;border-radius:50%;background:#FCFAFF;display:grid;place-items:center}
.res-ring i{font-family:'JetBrains Mono',monospace;font-style:normal;font-size:10.5px;font-weight:600;color:var(--indigo-dark)}
@media(max-width:900px){.res-ring{display:none!important}}

/* подписи на заставке */
.splash__tag{position:relative;margin-top:8px;font-family:'JetBrains Mono',monospace;
  font-size:10.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);
  animation:sup 1s .95s cubic-bezier(.22,1,.36,1) both}
.splash__line{position:relative;margin-top:20px;max-width:340px;text-align:center;
  font-size:14.5px;line-height:1.5;color:#5B5B66;
  animation:sup 1.1s 1.35s cubic-bezier(.22,1,.36,1) both}
@media(max-width:700px){
  .splash__line{font-size:13.5px;max-width:280px;padding:0 18px}
  .splash__tag{font-size:9.5px;letter-spacing:.14em}
}

/* весь блок цитаты — одна большая кнопка */
.quote{cursor:pointer;padding:10px 0 4px;border-radius:26px;transition:background .3s ease}
.quote:hover{background:rgba(98,0,255,.022)}
.quote blockquote,.quote figcaption{transition:opacity .26s ease,transform .26s ease,color .3s ease}
.quote:hover blockquote{color:#0B0B0D}
.quote .qhint{opacity:.55}
.quote:hover .qhint{opacity:1;color:var(--indigo)}

/* лента заметнее и живее */
.obj--strands{height:150px;box-shadow:0 1px 0 rgba(255,255,255,.5) inset,
  0 18px 46px rgba(17,17,20,.16),0 0 0 1px rgba(17,17,20,.05),0 0 60px rgba(139,61,255,.10)}
@media(max-width:900px){.obj--strands{height:112px}}

/* шар: квадратная площадка, чтобы сфера не сплющивалась */
.quote .qstar{width:auto}
.obj--strands{width:230px;height:230px;margin:0 auto;border-radius:50%;
  background:radial-gradient(120% 120% at 50% 45%,#15151C 0%,#0B0B0D 72%);
  box-shadow:0 20px 60px rgba(17,17,20,.18),0 0 0 1px rgba(17,17,20,.05),0 0 70px rgba(139,61,255,.14)}
.quote .qstar:hover .obj--strands{transform:translateY(-2px) scale(1.02)}
@media(max-width:900px){.obj--strands{width:180px;height:180px}}

/* шар без чёрной плашки и без обводки — только свет на светлом фоне */
.obj--strands{
  background:none!important;
  box-shadow:none!important;
  border-radius:0!important;
  mix-blend-mode:multiply;
  filter:saturate(1.15);
}
.quote:hover{background:none!important}
.quote .qstar:hover .obj--strands{transform:none}
.quote .qstar:active .obj--strands{transform:scale(.99)}

/* шар прозрачный: никакого умножения — только собственный свет и тонкий ободок */
.obj--strands{mix-blend-mode:normal!important;filter:saturate(1.25) contrast(1.02)}

/* лента без шара: широкая прозрачная полоса, никакой подложки */
.obj--strands{width:min(420px,80vw);height:120px;border-radius:0;margin:0 auto;
  mix-blend-mode:normal;filter:saturate(1.2)}
@media(max-width:900px){.obj--strands{width:min(340px,86vw);height:96px}}

/* вся нижняя часть главной кликабельна ради смены цитаты */
#s-home{cursor:default}
#s-home .quote,#s-home .quote *{cursor:pointer}

/* ============================================================
   Знак в блоке цитаты: одна спокойная анимация, ничего не прыгает
   ============================================================ */
.quote .qstar{width:auto;padding:10px;margin-bottom:20px;border-radius:50%;background:none;box-shadow:none}
.quote .qstar::before{content:none}
.quote .qstar:hover,.quote .qstar:active{transform:none;box-shadow:none}
.obj--mark{
  width:74px;height:74px;object-fit:contain;display:block;
  filter:drop-shadow(0 8px 22px rgba(98,0,255,.16));
  animation:mark-breathe 7s ease-in-out infinite;
  transition:none;
}
@keyframes mark-breathe{
  0%,100%{transform:translateY(0) rotate(0deg)}
  50%{transform:translateY(-5px) rotate(3deg)}
}
/* никаких hover-скачков и вращений */
.quote .qstar:hover .obj--mark,.quote .qstar:active .obj--mark{transform:none;animation:mark-breathe 7s ease-in-out infinite}
.quote:hover blockquote{color:inherit}
@media(max-width:900px){.obj--mark{width:62px;height:62px}}
@media(prefers-reduced-motion:reduce){.obj--mark{animation:none}}

/* ============================================================
   Курсы: доступ, «скоро», «нет доступа»
   ============================================================ */
.cc--soon,.cc--locked{position:relative}
.cc--soon .coursecard__cover img,.cc--locked .coursecard__cover img{
  filter:grayscale(.85) brightness(.92);transition:filter .35s ease}
.cc--locked:hover .coursecard__cover img{filter:grayscale(.4) brightness(.97)}
.cc--soon{cursor:default;opacity:.72}
.cc--soon:hover{transform:none;box-shadow:none;border-color:var(--line)}
.cc--soon .coursecard__body b,.cc--locked .coursecard__body b{color:#3F3F4A}
.cc__lock{margin-top:10px;font-size:12.5px;color:var(--muted);display:flex;align-items:center;gap:7px}
.cc__lock::before{content:'';width:13px;height:13px;flex:none;
  background:no-repeat center/contain url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2371717A' stroke-width='2'><rect x='5' y='11' width='14' height='10' rx='2'/><path d='M8 11V7a4 4 0 0 1 8 0v4'/></svg>")}

/* ============================================================
   Цитата не должна прыгать при смене длины текста
   ============================================================ */
.quote blockquote{min-height:3.1em;display:flex;align-items:center;justify-content:center;text-align:center}
.quote figcaption{min-height:1.2em}
@media(max-width:900px){.quote blockquote{min-height:4.6em;font-size:16.5px}}

/* ============================================================
   Приветственное видео: просмотрено / ещё нет
   ============================================================ */
.wgreet__seen{display:none;align-items:center;gap:6px;flex:none;margin-right:12px;
  font-family:'JetBrains Mono',monospace;font-size:10px;letter-spacing:.12em;text-transform:uppercase;
  color:#6E6A86}
.wgreet__seen::before{content:'';width:14px;height:14px;border-radius:50%;flex:none;
  background:linear-gradient(140deg,#C9A7FF,#E7E3F4 55%,#B9B3CE) no-repeat center;
  box-shadow:0 1px 3px rgba(98,0,255,.25);
  -webkit-mask:none}
.wgreet--seen .wgreet__seen{display:inline-flex}
.wgreet--seen{
  background:linear-gradient(115deg,#FBFAFE 0%,#F4F1FB 45%,#EFEDF7 100%);
  border-color:#E4E0F0;
  box-shadow:0 1px 2px rgba(17,17,20,.02),0 8px 24px rgba(98,0,255,.05)}
.wgreet--seen .wgreet__th{opacity:.85}
.wgreet--seen b{color:#3F3B52}
.wgreet--seen .btn{background:transparent;border-color:#DCD6EE;color:#5A5470}
.wgreet--seen .btn:hover{background:#fff}

/* блок цитаты фиксированной высоты — кнопки под ним никогда не двигаются */
.quote{min-height:326px!important;justify-content:center}
.quote blockquote{min-height:3.2em!important;max-width:720px}
@media(max-width:900px){
  .quote{min-height:300px!important}
  .quote blockquote{min-height:5em!important}
}

/* ============================================================
   Предложения тем и голосование
   ============================================================ */
.tlist{display:flex;flex-direction:column;gap:10px;max-width:760px}
.ti{display:flex;gap:16px;align-items:flex-start;background:var(--surface);
  border:1px solid var(--line);border-radius:var(--r-m);padding:16px 18px;
  transition:border-color .2s,box-shadow .25s}
.ti:hover{border-color:var(--line-2);box-shadow:0 8px 24px rgba(17,17,20,.05)}
.ti__b{flex:1;min-width:0}
.ti__h{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.ti__h b{font-size:15.5px;font-weight:600;letter-spacing:-.01em}
.ti__v{flex:none;width:56px;padding:9px 0;border:1px solid var(--line-2);background:var(--surface);
  border-radius:14px;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:3px;
  color:var(--muted);transition:transform .18s cubic-bezier(.22,1,.36,1),border-color .2s,background .2s,color .2s}
.ti__v b{font-family:'JetBrains Mono',monospace;font-size:13px;font-weight:600}
.ti__v:hover{border-color:var(--lavender);color:var(--indigo-dark);transform:translateY(-1px)}
.ti__v.on{background:var(--tint);border-color:#DDD6F3;color:var(--indigo-dark)}
.ti__v.on svg{fill:var(--indigo);stroke:var(--indigo)}
@media(max-width:700px){.ti{padding:14px}.ti__v{width:48px}}

/* ============================================================
   Главная: одна большая кнопка продолжения + тихий вход в Фокус
   ============================================================ */
.home-cta{display:flex;flex-direction:column;align-items:center;gap:18px;margin-bottom:10px}
.home-cta__go{height:52px;padding:0 30px;border-radius:999px;font-size:15.5px;gap:10px}
.home-cta__focus{display:inline-flex;align-items:center;gap:11px;padding:10px 16px;border-radius:14px;
  color:var(--muted);text-decoration:none;transition:background .2s,color .2s}
.home-cta__focus:hover{background:var(--faint);color:var(--ink)}
.home-cta__focus svg{flex:none;opacity:.75}
.home-cta__focus span{display:flex;flex-direction:column;line-height:1.35;text-align:left}
.home-cta__focus b{font-size:14px;font-weight:600;color:inherit}
.home-cta__focus i{font-style:normal;font-size:12.5px;opacity:.75}
@media(max-width:700px){
  .home-cta__focus i{font-size:11.5px}
  .home-cta__go{width:100%;max-width:340px;font-size:15px;padding:0 20px}
}

/* кнопка продолжения теперь сразу под шапкой */
.home-cta{flex-direction:row;align-items:center;justify-content:center;gap:22px;
  margin:-6px 0 22px;flex-wrap:wrap}
.home-cta__focus{padding:8px 14px}
@media(max-width:700px){
  .home-cta{flex-direction:column;gap:12px;margin:0 0 18px}
}

/* кнопка продолжения внутри шапки, справа снизу */
.home-cta--hero{position:absolute;right:40px;bottom:34px;z-index:4;
  display:flex;flex-direction:column;align-items:flex-end;gap:10px;margin:0}
.home-cta--hero .home-cta__go{height:50px;padding:0 26px;font-size:15px;box-shadow:0 10px 30px rgba(0,0,0,.35)}
.home-cta--hero .home-cta__focus{color:rgba(255,255,255,.62);padding:6px 10px}
.home-cta--hero .home-cta__focus:hover{background:rgba(255,255,255,.10);color:#fff}
.home-cta--hero .home-cta__focus i{opacity:.7}
@media(max-width:1100px){
  .home-cta--hero .home-cta__focus i{display:none}
}
@media(max-width:900px){
  .home-cta--hero{position:static;align-items:stretch;margin:18px 0 0}
  .home-cta--hero .home-cta__go{width:100%;justify-content:center}
  .home-cta--hero .home-cta__focus{color:rgba(255,255,255,.6);justify-content:center}
  .home-cta--hero .home-cta__focus i{display:block}
}

/* ============================================================
   Подпись рядом с кружком Эммы
   ============================================================ */
.ema-tip{
  position:fixed;right:96px;bottom:26px;z-index:89;max-width:250px;cursor:pointer;
  background:linear-gradient(180deg,#FFFFFF,#FCFAFF);
  border:1px solid var(--line);border-radius:16px;padding:11px 14px;
  box-shadow:0 1px 2px rgba(17,17,20,.04),0 12px 32px rgba(98,0,255,.10);
  animation:ema-in .7s 1.6s cubic-bezier(.22,1,.36,1) both;
  transition:opacity .3s ease,transform .3s ease}
.ema-tip b{display:block;font-size:13px;font-weight:600;letter-spacing:-.01em;margin-bottom:3px}
.ema-tip span{display:block;font-size:12.5px;line-height:1.4;color:var(--muted)}
.ema-tip::after{content:'';position:absolute;right:-6px;bottom:22px;width:11px;height:11px;
  background:#FCFAFF;border-right:1px solid var(--line);border-top:1px solid var(--line);
  transform:rotate(45deg)}
.ema-tip:hover{transform:translateY(-1px);box-shadow:0 1px 2px rgba(17,17,20,.04),0 16px 40px rgba(98,0,255,.16)}
.ema-tip.off{opacity:0;pointer-events:none;transform:translateX(8px)}
@keyframes ema-in{from{opacity:0;transform:translateX(12px)}to{opacity:1;transform:none}}
/* мини-плеер открыт (вышли из урока) — подпись Эммы уезжает вверх вместе с кружком */
body.has-mini .ema-tip{bottom:255px}
@media(max-width:1100px){.ema-tip{display:none}}

/* цитата чуть выше */
.quote{margin-top:26px!important}

/* ============================================================
   Короткий отзыв после «Отметить пройденным»
   ============================================================ */
.lfb{position:fixed;inset:0;z-index:160;display:none;align-items:center;justify-content:center;padding:24px;
  background:rgba(10,10,14,.55);backdrop-filter:blur(10px)}
.lfb.on{display:flex;animation:ob-fade .3s ease}
.lfb__box{position:relative;width:min(560px,100%);background:linear-gradient(180deg,#fff,#FCFAFF);
  border:1px solid rgba(255,255,255,.6);border-radius:24px;padding:28px 26px 22px;
  box-shadow:0 40px 110px rgba(0,0,0,.45);animation:ob-up .42s cubic-bezier(.22,1,.36,1)}
.lfb__x{position:absolute;top:16px;right:16px;width:32px;height:32px;border:0;border-radius:50%;
  background:var(--faint);color:var(--muted);cursor:pointer;display:grid;place-items:center}
.lfb__x:hover{background:var(--line);color:var(--ink)}
.lfb__lb{font-family:'JetBrains Mono',monospace;font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;
  color:var(--indigo);font-weight:600;margin-bottom:9px}
.lfb__t{font-family:'Jura',system-ui,sans-serif;font-size:22px;font-weight:600;letter-spacing:-.02em;
  line-height:1.25;margin:0 0 6px;padding-right:30px}
.lfb__s{font-size:14px;color:var(--muted);margin:0 0 20px}
.lfb__q{margin-bottom:16px}
.lfb__ql{display:block;font-size:13px;font-weight:600;margin-bottom:8px}
.lfb__opts{display:flex;gap:8px;flex-wrap:wrap}
.lfb__opts button{border:1px solid var(--line-2);background:#fff;border-radius:12px;padding:9px 14px;
  font:inherit;font-size:13.5px;color:var(--ink);cursor:pointer;
  transition:transform .16s cubic-bezier(.22,1,.36,1),border-color .2s,background .2s,box-shadow .2s}
.lfb__opts button:hover{transform:translateY(-1px);border-color:var(--lavender)}
.lfb__opts button.on{background:var(--tint);border-color:var(--indigo);color:var(--indigo-dark);font-weight:600;
  box-shadow:0 6px 18px rgba(98,0,255,.14)}
.lfb__note{min-height:78px;margin:6px 0 18px;font-size:14px}
.lfb__ft{display:flex;align-items:center;gap:10px}
@media(max-width:700px){
  .lfb__box{padding:22px 18px 18px}
  .lfb__t{font-size:19px}
  .lfb__opts button{padding:8px 12px;font-size:13px}
}

/* ============================================================
   Цитата: проявление по словам + серебристо-фиолетовый отклик
   ============================================================ */
.quote blockquote{font-weight:600!important;letter-spacing:-.025em}
.qw{display:inline-block;opacity:0;filter:blur(5px);transform:translateY(6px);
  animation:qw-in .62s cubic-bezier(.22,1,.36,1) forwards}
@keyframes qw-in{to{opacity:1;filter:blur(0);transform:none}}

/* при наведении текст переливается серебром в фиолетовый */
.quote blockquote{
  background:linear-gradient(100deg,#111114 0%,#111114 40%,#111114 100%);
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;
  transition:background .6s ease}
.quote:hover blockquote{
  background:linear-gradient(100deg,#6E6A86 0%,#B9B3CE 22%,#6200FF 48%,#8B3DFF 68%,#9A94B8 100%)}
.quote:hover .qw{filter:none}
@media(prefers-reduced-motion:reduce){.qw{animation:none;opacity:1;filter:none;transform:none}}

/* мультишаговый опрос */
.lfb__top{display:flex;align-items:center;gap:14px;margin-bottom:10px;padding-right:34px}
.lfb__dots{display:flex;gap:5px;margin-left:auto}
.lfb__dots i{width:6px;height:6px;border-radius:50%;background:rgba(17,17,20,.14);transition:all .3s}
.lfb__dots i.on{width:20px;border-radius:3px;background:var(--indigo)}
.lfb__dots i.done{background:var(--lavender)}
.lfb__lb{margin-bottom:0}
.lfb__stage{min-height:112px;display:flex;align-items:center}
.lfb__stage.in{animation:lfb-slide .34s cubic-bezier(.22,1,.36,1)}
@keyframes lfb-slide{from{opacity:0;transform:translateX(16px)}to{opacity:1;transform:none}}
.lfb__stage .lfb__opts{flex-direction:column;width:100%;gap:9px}
.lfb__stage .lfb__opts button{width:100%;text-align:left;padding:14px 16px;font-size:14.5px}
.lfb__note{width:100%;min-height:96px;margin:0}
.lfb__t{font-size:23px;margin-bottom:6px}

/* цитата: flex ломал пробелы между словами — возвращаем обычный поток */
.quote blockquote{display:block!important;line-height:1.5}
.qw{white-space:pre-wrap}

/* подпись Эммы прячется, когда открыт мини-плеер */
body:has(.mini.on) .ema-tip{opacity:0;pointer-events:none;transform:translateX(8px)}

/* ============================================================
   ИСПРАВЛЕНИЕ: градиент клеился к блоку, а не к буквам.
   Заливку переносим на сами слова.
   ============================================================ */
.quote blockquote{
  background:none!important;
  -webkit-background-clip:border-box!important;background-clip:border-box!important;
  -webkit-text-fill-color:currentColor!important;color:var(--ink)}

/* мягкий блик, медленно идущий по буквам — «shiny text», но тихо */
.qw{
  background:linear-gradient(100deg,#111114 0%,#111114 38%,#8B7FB8 47%,#C9A7FF 50%,#8B7FB8 53%,#111114 62%,#111114 100%);
  background-size:340% 100%;
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;color:transparent;
  animation:qw-in .62s cubic-bezier(.22,1,.36,1) forwards, qw-shine 9s 1.2s linear infinite;
}
@keyframes qw-shine{0%{background-position:120% 0}100%{background-position:-120% 0}}
.quote:hover .qw{animation-play-state:paused,paused}
@media(prefers-reduced-motion:reduce){.qw{animation:none;-webkit-text-fill-color:currentColor;color:var(--ink)}}

/* ============================================================
   Карточки курсов: свет идёт за курсором (spotlight)
   ============================================================ */
.coursecard{position:relative;isolation:isolate}
.coursecard::before{
  content:'';position:absolute;inset:0;z-index:2;pointer-events:none;border-radius:inherit;
  background:radial-gradient(320px circle at var(--mx,50%) var(--my,0%),
             rgba(139,61,255,.16), rgba(139,61,255,.06) 40%, transparent 68%);
  opacity:0;transition:opacity .35s ease}
.coursecard:hover::before{opacity:1}
.coursecard__body,.coursecard__cover{position:relative;z-index:1}

/* цитата появляется быстро, блик идёт медленно */
.qw{animation:qw-in .34s cubic-bezier(.22,1,.36,1) forwards, qw-shine 11s 1s linear infinite}
@keyframes qw-in{from{opacity:0;filter:blur(3px);transform:translateY(4px)}
                 to{opacity:1;filter:blur(0);transform:none}}
.quote.sw blockquote,.quote.sw figcaption{opacity:1;transform:none}   /* без паузы на затухание */

/* цитата: возвращаем тонкое начертание, как было */
.quote blockquote{font-weight:500!important;letter-spacing:-.03em}

/* блик по цитате идёт всегда, наведение его не останавливает */
.quote:hover .qw{animation-play-state:running!important}

/* ============================================================
   Цитата: текст ставится мгновенно, блик идёт по буквам всегда
   ============================================================ */
.quote blockquote{
  background:linear-gradient(100deg,#111114 0%,#111114 40%,#9A8FC4 47%,#C9A7FF 50%,#9A8FC4 53%,#111114 60%,#111114 100%)!important;
  background-size:320% 100%!important;
  -webkit-background-clip:text!important;background-clip:text!important;
  -webkit-text-fill-color:transparent!important;color:transparent!important;
  animation:qw-shine 11s linear infinite!important}
.quote blockquote.qin{animation:qin-fade .3s cubic-bezier(.22,1,.36,1), qw-shine 11s linear infinite!important}
@keyframes qin-fade{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
.qw{all:unset}
@media(prefers-reduced-motion:reduce){
  .quote blockquote{animation:none!important;-webkit-text-fill-color:var(--ink)!important;color:var(--ink)!important}
}

/* «Фокус» переехал под цитату — там его видно и по нему можно попасть */
.home-cta--hero{align-items:flex-end}
.quote-focus{display:flex;justify-content:center;margin:-6px 0 26px}
.quote-focus .home-cta__focus{color:var(--muted);padding:10px 16px;border-radius:14px}
.quote-focus .home-cta__focus:hover{background:var(--faint);color:var(--ink)}

/* компактнее по вертикали — «Фокус» виден без прокрутки */
.hero{min-height:250px!important;padding:30px 40px!important;margin-bottom:18px!important}
.wgreet{margin:16px 0 0!important}
.quote{min-height:238px!important;margin:18px auto 8px!important;padding:0}
.quote .qstar{margin-bottom:12px!important;padding:6px}
.obj--mark{width:56px!important;height:56px!important}
.quote blockquote{min-height:2.9em!important;font-size:19px}
.quote .qhint{margin-top:10px}
.quote-focus{margin:0 0 18px}
@media(max-width:900px){
  .hero{min-height:210px!important;padding:22px!important}
  .quote{min-height:220px!important}
}

/* цитата обратно крупнее */
.quote blockquote{font-size:20.5px!important;min-height:3.1em!important}
.quote{min-height:262px!important}
.obj--mark{width:62px!important;height:62px!important}
@media(max-width:900px){.quote blockquote{font-size:17.5px!important}.quote{min-height:236px!important}}

/* фото в шапке: кадр выше, лицо не срезается снизу */
.hero__me{object-position:52% 8%!important}
@media(max-width:900px){.hero__me{object-position:55% 6%!important}}

/* шапка: чуть выше, лицо поднято, кнопка ушла ниже и не перекрывает его */
.hero{min-height:278px!important;padding:34px 40px!important}
.hero__me{object-position:52% 26%!important;width:38%!important}
.home-cta--hero{bottom:26px!important;right:34px!important}
@media(max-width:900px){
  .hero{min-height:230px!important;padding:24px!important}
  .hero__me{object-position:55% 22%!important;width:64%!important}
}

/* больше воздуха сверху и снизу — узел на фоне не режется */
.hero{min-height:322px!important;padding:38px 40px!important}
.hero__bg{object-position:50% 42%!important;transform:scale(1)!important}
.hero__me{object-position:52% 24%!important}
@media(max-width:900px){
  .hero{min-height:250px!important;padding:24px!important}
  .hero__bg{object-position:56% 44%!important}
}

/* результат проверки ДЗ у ученика */
.hwres{border:1px solid var(--line);border-radius:var(--r-m);padding:16px 18px;margin-bottom:16px;background:var(--surface)}
.hwres__h{display:flex;align-items:center;gap:12px}
.hwres__h b{font-size:15.5px}
.hwres__sc{font-family:'JetBrains Mono',monospace;font-size:13px;font-weight:600;padding:3px 10px;border-radius:999px;background:var(--faint)}
.hwres__p{margin-top:6px;font-family:'JetBrains Mono',monospace;font-size:12px;color:var(--indigo-dark)}
.hwres.ok{background:#F4FBF7;border-color:#CFE9DC}
.hwres.ok .hwres__sc{background:#E3F5EC;color:#0A6B44}
.hwres.re{background:#FFFBF5;border-color:#F5E0C0}
.hwres.wait{background:#FAFAFC}

/* ============================================================
   Сообщение от Эммы: тихая карточка снизу справа
   ============================================================ */
.nudge{position:fixed;right:22px;bottom:96px;z-index:88;width:min(330px,calc(100vw - 32px));
  display:none;gap:12px;padding:16px 16px 14px;
  background:linear-gradient(180deg,#FFFFFF,#FCFAFF);border:1px solid var(--line);border-radius:18px;
  box-shadow:0 1px 2px rgba(17,17,20,.04),0 18px 44px rgba(98,0,255,.14)}
.nudge.on{display:flex;animation:nudge-in .5s cubic-bezier(.22,1,.36,1)}
@keyframes nudge-in{from{opacity:0;transform:translateY(14px) scale(.97)}to{opacity:1;transform:none}}
.nudge__av{width:38px;height:38px;border-radius:50%;object-fit:cover;flex:none;border:1.5px solid var(--lavender)}
.nudge__b{flex:1;min-width:0}
.nudge__h{font-family:'JetBrains Mono',monospace;font-size:10px;letter-spacing:.12em;text-transform:uppercase;
  color:var(--indigo);margin-bottom:6px}
.nudge__b p{font-size:14px;line-height:1.5;margin:0 0 12px}
.nudge__acts{display:flex;gap:8px;flex-wrap:wrap}
.nudge__x{position:absolute;top:10px;right:10px;width:24px;height:24px;border:0;border-radius:50%;
  background:transparent;color:#A1A1AA;cursor:pointer;display:grid;place-items:center}
.nudge__x:hover{background:var(--faint);color:var(--ink)}
body:has(.va.on) .nudge,body:has(.mini.on) .nudge{display:none}
@media(max-width:700px){.nudge{right:12px;left:12px;bottom:88px;width:auto}}

/* точка непрочитанного у Эммы — фиолетовая, не тревожная красная */
.va-l.dot--nudge i{background:#8B3DFF!important;box-shadow:0 0 0 4px rgba(139,61,255,.22);
  animation:nudge-pulse 2.2s ease-in-out infinite}
@keyframes nudge-pulse{
  0%,100%{box-shadow:0 0 0 3px rgba(139,61,255,.18)}
  50%{box-shadow:0 0 0 7px rgba(139,61,255,.05)}
}
/* кнопка перехода прямо в переписке */
.va-m__go{align-self:flex-start;margin:2px 0 6px;border:1px solid var(--line-2);background:#fff;
  border-radius:11px;padding:8px 14px;font:inherit;font-size:13.5px;font-weight:600;cursor:pointer;
  transition:border-color .2s,transform .15s}
.va-m__go:hover{border-color:var(--lavender);transform:translateY(-1px)}

/* знак тарифа рядом с именем */
.tmark{display:inline-flex;width:17px;height:17px;vertical-align:-2px;margin-left:4px}
.tmark svg{width:100%;height:100%}
.tmark--vip{color:#C9A227;filter:drop-shadow(0 1px 2px rgba(201,162,39,.35))}
.tmark--pro{color:#A8AAB4;filter:drop-shadow(0 1px 2px rgba(120,124,138,.28))}
#s-profile .h1 .tmark{width:22px;height:22px;vertical-align:-1px}

/* ============================================================
   Три опоры — страница философии
   ============================================================ */
.phil{max-width:940px;margin:0 auto}
.phil__top{text-align:center;padding:14px 0 40px}
.phil__mark{width:96px;height:96px;object-fit:contain;margin-bottom:22px;
  filter:drop-shadow(0 12px 30px rgba(98,0,255,.14))}
.phil__top .h1{margin-bottom:14px}
.phil__lead{max-width:620px;margin:0 auto;color:var(--muted);font-size:16.5px;line-height:1.65}
.phil__g{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:34px}
@media(max-width:900px){.phil__g{grid-template-columns:1fr}}
.phil__c{position:relative;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-l);
  padding:26px 24px 24px;transition:border-color .3s,transform .3s,box-shadow .3s}
.phil__c:hover{border-color:var(--lavender);transform:translateY(-3px);
  box-shadow:0 1px 2px rgba(17,17,20,.04),0 18px 40px rgba(98,0,255,.09)}
.phil__n{font-family:'JetBrains Mono',monospace;font-size:11px;letter-spacing:.14em;color:var(--lavender)}
.phil__c h2{font-family:'Unbounded',sans-serif;font-size:19px;font-weight:600;letter-spacing:-.028em;margin:10px 0 4px}
.phil__k{font-family:'JetBrains Mono',monospace;font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;
  color:var(--indigo);margin-bottom:14px}
.phil__c p{font-size:14.5px;line-height:1.62;color:var(--ink-2, #3A3A42)}
.phil__end{text-align:center;max-width:640px;margin:0 auto;padding:8px 0 40px}
.phil__end p{font-size:16px;line-height:1.68;margin-bottom:14px}
.phil__sig{color:var(--muted);font-size:14.5px!important;border-top:1px solid var(--line);padding-top:18px}

/* вторая строка под названием опоры */
.phil__sub{font-size:13px!important;color:var(--muted)!important;margin:-8px 0 14px!important;line-height:1.45}
.phil__k{margin-bottom:6px}

/* знак на странице философии — крупнее, узел читается */
.phil__mark{width:118px!important;height:118px!important}
.phil__end p{max-width:640px;margin-left:auto;margin-right:auto}

/* опрос: воздух под кнопкой и возврат к прошлым ответам */
.lfb__box{padding-bottom:26px}
.lfb__ft{gap:10px;align-items:center;padding-top:6px}
.lfb__dots i.can{cursor:pointer}
.lfb__dots i.can:hover{background:var(--indigo);opacity:.7}
#lfb-back{color:var(--muted)}
@media(max-width:600px){.lfb__ft{flex-wrap:wrap}.lfb__ft .btn{flex:1}}

/* ============================================================
   Обложка курса — клик = полный 3D-оборот, как у логотипа
   ============================================================ */
.cd__art--free,.cd__art--ph{perspective:900px}
.cd__art--free img,.cd__art--ph .obj{
  cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation;
  transform-style:preserve-3d;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}
.cd__art--free img{transition:filter .35s ease}
.cd__art--free:hover img{
  filter:drop-shadow(0 26px 40px rgba(60,40,120,.22)) drop-shadow(0 4px 10px rgba(17,17,20,.08)) drop-shadow(0 0 26px rgba(139,61,255,.22))}
/* поворот, «вдох» и вспышка света — три отдельные анимации, чтобы изинг поворота был цельным */
.cd__art--free img.is-spin{
  animation:cd-spin 1.5s cubic-bezier(.3,.9,.25,1) both, cd-pop 1.5s ease-in-out both, cd-flash 1.5s ease-out both!important}
.cd__art--ph .obj.is-spin{
  animation:cd-spin 1.5s cubic-bezier(.3,.9,.25,1) both, cd-pop 1.5s ease-in-out both!important}
@keyframes cd-spin{from{transform:rotateY(0deg)}to{transform:rotateY(360deg)}}
@keyframes cd-pop{0%,100%{scale:1}14%{scale:.95}50%{scale:1.06}}
@keyframes cd-flash{
  0%,100%{filter:drop-shadow(0 26px 40px rgba(60,40,120,.18)) drop-shadow(0 4px 10px rgba(17,17,20,.08)) drop-shadow(0 0 0 rgba(139,61,255,0)) brightness(1)}
  40%{filter:drop-shadow(0 30px 44px rgba(60,40,120,.22)) drop-shadow(0 4px 10px rgba(17,17,20,.08)) drop-shadow(0 0 34px rgba(139,61,255,.55)) brightness(1.14)}
}
@media(prefers-reduced-motion:reduce){.cd__art--free img.is-spin,.cd__art--ph .obj.is-spin{animation:none!important}}

/* ============================================================
   Заметки Agentation, 9 окт 2026
   1) Подпись Эммы: серебряная рамка с мягким свечением
   2) Знак в блоке цитаты чуть крупнее (62 → 70px)
   ============================================================ */
.ema-tip{
  border-color:transparent;
  background:linear-gradient(180deg,#FFFFFF,#FCFAFF) padding-box,
             linear-gradient(135deg,#EEF0F4 0%,#B9BEC9 20%,#FFFFFF 42%,#A9AFBB 64%,#E6E8EE 82%,#C2C7D1 100%) border-box;
  box-shadow:0 1px 2px rgba(17,17,20,.04),0 12px 32px rgba(98,0,255,.10),0 0 0 3px rgba(205,210,220,.22),0 0 22px rgba(176,183,198,.5)}
.ema-tip:hover{box-shadow:0 1px 2px rgba(17,17,20,.04),0 16px 40px rgba(98,0,255,.16),0 0 0 3px rgba(205,210,220,.3),0 0 28px rgba(176,183,198,.62)}
.ema-tip::after{border-right-color:#B9BEC9;border-top-color:#B9BEC9}
html[data-theme="dark"] body .ema-tip{
  background-image:linear-gradient(180deg,#131317,#17151A),linear-gradient(135deg,#6B707B 0%,#C9CED8 22%,#4A4E57 48%,#B4B9C4 70%,#5C606A 100%);
  box-shadow:0 1px 2px rgba(0,0,0,.228),0 12px 32px rgba(98,0,255,.10),0 0 0 3px rgba(190,196,210,.10),0 0 22px rgba(190,196,210,.22)}
html[data-theme="dark"] body .ema-tip:hover{box-shadow:0 1px 2px rgba(0,0,0,.228),0 16px 40px rgba(98,0,255,.16),0 0 0 3px rgba(190,196,210,.14),0 0 28px rgba(190,196,210,.3)}
html[data-theme="dark"] body .ema-tip::after{border-right-color:#8E939E;border-top-color:#8E939E}

.obj--mark{width:70px!important;height:70px!important}
