/* /store-update/ — пост про косметику в кабинете и Fantasy Store.
   .menu-reel и .rd-body берутся из ../hud-update/hud-update.css.
   Хиро — «сцена»: лучи из угла, зерно, летящая косметика, подпись от руки
   и текст, который набирается словами; справа рамка с роликом (YouTube по клику).
   Пока идёт интро, всё остальное на странице размыто (html.su-intro). */

@font-face {
  font-family: 'Marck Script';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/marck-script-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Marck Script';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/marck-script-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}

/* ---------- сцена ---------- */
.su-hero {
  --su-beam: var(--amber-a2);
  --su-beam-core: var(--amber-a3);
  --su-sun: var(--amber-2);
  --su-grain: .07;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  /* сцена заходит под плавающую навигацию (она занимает 84px потока) */
  margin-top: -84px;
  padding: 120px 0 72px;
  min-height: min(100svh, 860px);
  background:
    radial-gradient(120% 90% at 100% 0%, var(--amber-1) 0%, transparent 55%),
    var(--background);
}
html[data-theme="dark"] .su-hero {
  --su-beam: var(--amber-a1);
  --su-beam-core: var(--amber-a2);
  --su-sun: var(--amber-2);
  --su-grain: .11;
}

.su-fx { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
/* низ сцены растворяется в фоне страницы, без шва */
.su-fx::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 160px;
  background: linear-gradient(to bottom, transparent, var(--background));
}

/* солнце в углу + лучи веером */
.su-sun {
  position: absolute; right: -14vmax; top: -18vmax;
  width: 46vmax; height: 46vmax; border-radius: 50%;
  background: radial-gradient(closest-side, var(--su-sun), transparent);
  opacity: .9;
  animation: su-breathe 9s ease-in-out infinite alternate;
}
.su-rays {
  position: absolute; right: 6%; top: -10%;
  width: 0; height: 0;
  transform-origin: 0 0;
  animation: su-sway 18s ease-in-out infinite alternate;
}
.su-rays i {
  position: absolute; left: 0; top: 0;
  width: var(--w, 90px); height: 150vmax;
  transform-origin: 50% 0;
  transform: translateX(-50%) rotate(var(--a, 30deg));
  background: linear-gradient(to bottom, var(--su-beam-core), var(--su-beam) 35%, transparent 80%);
  filter: blur(14px);
  opacity: var(--o, .8);
  animation: su-flicker var(--d, 7s) ease-in-out var(--dl, 0s) infinite alternate;
}
@keyframes su-sway { from { transform: rotate(-2deg); } to { transform: rotate(2.5deg); } }
@keyframes su-flicker { from { opacity: calc(var(--o, .8) * .45); } to { opacity: var(--o, .8); } }
@keyframes su-breathe { from { transform: scale(.94); } to { transform: scale(1.04); } }

/* боке */
.su-bokeh {
  position: absolute; border-radius: 50%;
  background: radial-gradient(closest-side, var(--amber-a2), transparent);
  border: 1px solid var(--amber-a1);
}

/* летящая косметика — двигает js/su-hero.js */
.su-fly { position: absolute; inset: 0; }
.su-fly img {
  position: absolute; left: 0; top: 0;
  width: var(--s, 64px); height: auto;
  will-change: transform;
  user-select: none;
}

/* плёночное зерно */
.su-grain {
  position: absolute; inset: -50%;
  opacity: var(--su-grain);
  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='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: su-grain 1s steps(4) infinite;
}
@keyframes su-grain {
  0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); }
  50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); }
}

/* ---------- раскладка ---------- */
.su-hero__inner {
  max-width: 1120px; margin: 0 auto; padding: 0 20px;
  display: grid; gap: 40px;
}
.su-copy { max-width: 560px; }

/* подпись от руки: контур прописывается, потом заливается */
.su-sign { margin: 0; line-height: 0; }
.su-sign svg { display: block; width: min(100%, 460px); height: auto; overflow: visible; }
.su-sign text {
  font-family: 'Marck Script', cursive;
  font-size: 64px;
  fill: var(--fg-4);
  stroke: var(--fg-4);
  stroke-width: 1.1;
  stroke-linecap: round; stroke-linejoin: round;
  paint-order: stroke;
}
.su-intro .su-sign text { fill-opacity: 0; stroke-dasharray: 1600; stroke-dashoffset: 1600; }
.su-sign.is-drawn text {
  stroke-dashoffset: 0; fill-opacity: 1;
  transition: stroke-dashoffset 1.2s cubic-bezier(.45, .05, .3, 1), fill-opacity .5s ease .8s, stroke-width .5s ease .8s;
  stroke-width: 0;
}
.su-sign.is-instant text { transition: none !important; }

.su-hello {
  margin: 10px 0 0;
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; line-height: 20px; color: var(--fg-2);
}
.su-hello img { width: 18px; height: 18px; }
.su-intro .su-hello { opacity: 0; transform: translateY(4px); }
.su-hello.is-on { opacity: 1 !important; transform: none !important; transition: opacity .4s ease, transform .4s ease; }

/* текст, который «печатается» словами */
.su-type { margin-top: 22px; }
.su-type p { margin: 0 0 14px; font-size: 16px; line-height: 1.7; color: var(--fg-3); text-wrap: pretty; }
.su-type p:last-child { margin-bottom: 0; }
.su-type strong { font-weight: 500; color: var(--fg-4); }
.su-intro .su-type:not(.is-split) { visibility: hidden; }
.su-w { display: inline; }
.su-intro .su-w { opacity: 0; filter: blur(3px); }
.su-w.is-on { opacity: 1 !important; filter: none !important; transition: opacity .3s ease, filter .3s ease; }

/* инлайн-чипы: иконка + подчёркнутый текст (как ссылки на референсе) */
.su-chip {
  display: inline-flex; align-items: center; gap: 5px;
  vertical-align: -3px;
  color: var(--fg-4); font-weight: 500;
  text-decoration: underline; text-decoration-color: var(--fg-a1);
  text-underline-offset: 4px; text-decoration-thickness: 1px;
  transition: text-decoration-color .2s ease;
}
a.su-chip:hover, button.su-chip:hover, .su-chip:focus-visible { text-decoration-color: currentColor; }
.su-chip img {
  width: 22px; height: 22px; object-fit: contain;
  border-radius: 6px;
  background: var(--bg-a3);
  outline: 1px solid var(--bg-a2); outline-offset: -1px;
}
.su-chip img.is-round { border-radius: 50%; object-fit: cover; }
button.su-chip { font: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.su-chip[aria-pressed="true"] { text-decoration-color: currentColor; }

/* пилюли и маркер */
.su-pill {
  display: inline-block; padding: 1px 8px; border-radius: 6px;
  font-weight: 500; line-height: 1.5;
  color: var(--background); background: var(--orange-4);
  box-shadow: 0 0 0 1px var(--orange-a3), 0 4px 14px -4px var(--orange-a3);
  transform: rotate(-1.5deg);
}
.su-pill--violet { background: var(--purple-4); box-shadow: 0 0 0 1px var(--purple-a3), 0 4px 14px -4px var(--purple-a3); transform: rotate(1.5deg); }
.su-mark {
  color: var(--fg-4);
  background: linear-gradient(transparent 55%, var(--amber-a3) 55%, var(--amber-a3) 92%, transparent 92%);
  padding: 0 2px;
}
.su-script { font-family: 'Marck Script', cursive; font-size: 1.28em; line-height: 1; color: var(--pink-4); white-space: nowrap; }

/* ---------- ролик: рамка-карточка, постер, плеер по клику ---------- */
.su-video { position: relative; margin: 0; display: grid; justify-items: center; gap: 12px; }
.su-video__frame {
  width: min(100%, 560px);
  padding: 10px;
  border-radius: 24px;
  background: var(--bg-a1);
  box-shadow: 0 0 0 1px var(--bg-a2), var(--shadow-3);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transform: rotate(1.6deg);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease;
}
.su-video:hover .su-video__frame,
.su-video.is-playing .su-video__frame { transform: none; }
.su-video__screen {
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 15px;
  background: var(--gray-a2);
  outline: 1px solid var(--bg-a2); outline-offset: -1px;
}
.su-video__poster {
  position: absolute; inset: 0; width: 100%; height: 100%;
  padding: 0; border: 0; background: none; cursor: pointer;
}
.su-video__poster img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s cubic-bezier(.2, .8, .2, 1), filter .4s ease;
}
.su-video__poster:hover img, .su-video__poster:focus-visible img { transform: scale(1.03); }
.su-video__play {
  position: absolute; left: 50%; top: 50%;
  display: grid; place-items: center;
  width: 76px; height: 76px; margin: -38px 0 0 -38px;
  border-radius: 50%;
  color: var(--fg-4);
  background: var(--background);
  box-shadow: var(--shadow-3);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
.su-video__play svg { width: 30px; height: 30px; margin-left: 4px; }
.su-video__play::before {          /* мягкая пульсация — зовёт нажать */
  content: ''; position: absolute; inset: -10px; border-radius: 50%;
  border: 2px solid var(--background);
  opacity: 0;
  animation: su-ping 2.4s cubic-bezier(.2, .8, .2, 1) infinite;
}
@keyframes su-ping { 0% { transform: scale(.85); opacity: .9; } 80%, 100% { transform: scale(1.35); opacity: 0; } }
.su-video__poster:hover .su-video__play { transform: scale(1.08); }
.su-video__poster:focus-visible { outline: 2px solid var(--ring, var(--purple-4)); outline-offset: -2px; }
.su-video__soon {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  padding: 4px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 500; color: var(--fg-4); background: var(--background);
}
.su-video__screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.su-video__cap {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center;
  font-size: 13px; line-height: 20px; color: var(--fg-2);
}
.su-video__yt {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--fg-4); text-decoration: underline; text-decoration-color: var(--fg-a1); text-underline-offset: 3px;
}
.su-video__yt:hover { text-decoration-color: currentColor; }
.su-video__yt[hidden] { display: none; }
.su-video__yt svg { width: 16px; height: 16px; color: var(--red-4); }
.su-intro .su-video { opacity: 0; transform: translateY(16px); }
.su-video.is-on { opacity: 1 !important; transform: none !important; transition: opacity .6s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }

/* ---------- «перемотать / пропустить» ---------- */
.su-ff {
  position: fixed; left: 50%; bottom: 24px; z-index: 30;
  display: none; align-items: center; gap: 2px;
  padding: 4px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: var(--inverse-bg);
  box-shadow: var(--shadow-3);
}
.su-intro .su-ff { display: flex; animation: su-ff-in .3s ease .9s backwards; }
@keyframes su-ff-in { from { opacity: 0; transform: translate(-50%, 8px); } }
.su-ff button {
  display: inline-flex; align-items: center; gap: 6px;
  height: 32px; padding: 0 14px; border: 0; border-radius: 999px;
  font: inherit; font-size: 13px; font-weight: 500;
  color: var(--inverse-fg); background: transparent; cursor: pointer;
  transition: background-color .2s ease;
}
.su-ff button:hover, .su-ff button[aria-pressed="true"] { background: var(--inverse-surface); }
.su-ff svg { width: 14px; height: 14px; }

/* всё, кроме хиро, ждёт конца интро в дымке */
/* пока идёт интро, низ страницы чуть приглушён; навигация всегда живая */
.su-intro #content,
.su-intro .section--cta,
.su-intro .footer { opacity: .5; }
#content, .section--cta, .footer { transition: opacity .5s ease; }

/* ---------- тело поста ---------- */
.rd-body { padding-top: 48px; }

/* === Авторы — главный блок поста ===
   Каждый автор — баннер своего цвета (тот же приём, что .shop-banner в магазине:
   градиент тона, лучи, «пыль»). Сбоку сам автор в своей косметике:
   запечённый оборот 360° (MP4 «цвет | альфа», см. su-authors.js), его можно крутить. */
.su-authors { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.su-authors__head { max-width: 576px; margin: 0 auto 8px; }
.su-roster { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.su-roster a {
  display: inline-flex; align-items: center; gap: 8px;
  height: 36px; padding: 0 14px 0 4px; border-radius: 999px;
  background: var(--bg-2); box-shadow: 0 0 0 1px var(--bg-4);
  color: var(--fg-4); font-size: 14px; font-weight: 500; text-decoration: none;
  transition: background-color .2s ease, transform .2s ease;
}
.su-roster a:hover { background: var(--bg-3); transform: translateY(-1px); }
.su-roster img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }

.su-author {
  --c: var(--purple-4); --sx: 26%; --dir: 255deg;
  --pad: 48px; /* одно поле баннера: текст, ряд вещей и низ стоят на одной линии */
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: 24px; border-radius: 28px;
  color: white;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  grid-template-areas: "stage copy" "items items";
  background:
    radial-gradient(42% 70% at var(--sx) 44%, color-mix(in oklab, var(--c) 70%, white), transparent 72%),
    linear-gradient(var(--dir), color-mix(in oklab, var(--c) 40%, black) 0%, color-mix(in oklab, var(--c) 70%, black) 52%, var(--c) 100%);
  box-shadow: 0 24px 48px -28px var(--gray-a4);
  scroll-margin-top: 96px;
}
.su-author:nth-of-type(even) {
  --sx: 74%; --dir: 105deg;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  grid-template-areas: "copy stage" "items items";
}
.su-author[data-tone="pink"]   { --c: var(--pink-4); }
.su-author[data-tone="sky"]    { --c: var(--sky-4); }
.su-author[data-tone="green"]  { --c: var(--green-4); }
.su-author[data-tone="purple"] { --c: var(--purple-4); }
.su-author[data-tone="red"]    { --c: var(--red-4); }
/* лучи из-за автора и мелкая «пыль» — как у баннеров магазина */
.su-author::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-conic-gradient(from 0deg at var(--sx) 46%, color-mix(in oklab, white 13%, transparent) 0deg 6deg, transparent 6deg 18deg);
  -webkit-mask: radial-gradient(48% 75% at var(--sx) 46%, black 10%, transparent 100%);
  mask: radial-gradient(48% 75% at var(--sx) 46%, black 10%, transparent 100%);
}
.su-author::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .35;
  background-image: radial-gradient(color-mix(in oklab, white 50%, transparent) 1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask: linear-gradient(var(--dir), transparent 30%, black 85%);
  mask: linear-gradient(var(--dir), transparent 30%, black 85%);
}

.su-author__stage {
  grid-area: stage; position: relative;
  height: 500px; padding-top: 28px;
  display: flex; justify-content: center; align-items: flex-end;
  touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.su-author__stage.is-live { cursor: grab; }
.su-author__stage.is-drag { cursor: grabbing; }
/* ник огромными буквами за спиной автора — постерная подложка */
.su-author__big {
  position: absolute; left: 50%; top: 16%; z-index: 0; transform: translateX(-50%);
  font-size: clamp(64px, 9vw, 132px); font-weight: 800; line-height: 1; letter-spacing: -.05em;
  white-space: nowrap; color: color-mix(in oklab, white 16%, transparent);
  pointer-events: none;
}
.su-author__poster, .su-author__live {
  position: relative; z-index: 1;
  display: block; height: 100%; width: auto; max-width: 100%; object-fit: contain; object-position: bottom;
  filter: drop-shadow(0 18px 26px color-mix(in oklab, black 35%, transparent));
}
.su-author__live { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); height: calc(100% - 28px); opacity: 0; transition: opacity .3s ease; }
.su-author__stage.is-live .su-author__live { opacity: 1; }
.su-author__stage.is-live .su-author__poster { visibility: hidden; }
.su-author__hint {
  position: absolute; left: 50%; bottom: 14px; z-index: 2; transform: translate(-50%, 6px);
  height: 28px; padding: 0 12px; border-radius: 999px;
  display: inline-flex; align-items: center;
  font-size: 12px; font-weight: 500; white-space: nowrap;
  color: white; background: color-mix(in oklab, black 35%, transparent);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .25s ease, transform .25s ease; pointer-events: none;
}
.su-author__stage.is-live:hover .su-author__hint { opacity: 1; transform: translate(-50%, 0); }
.su-author__stage.is-used .su-author__hint { opacity: 0 !important; }

.su-author__copy { grid-area: copy; align-self: center; padding: 44px var(--pad) 20px; min-width: 0; }
.su-author__who { display: flex; align-items: center; gap: 14px; }
.su-author__who img {
  width: 56px; height: 56px; border-radius: 16px; object-fit: cover; flex: none;
  box-shadow: 0 0 0 2px color-mix(in oklab, white 70%, transparent), 0 6px 16px -6px color-mix(in oklab, black 40%, transparent);
}
.su-author__who h3 { margin: 0; font-size: 40px; line-height: 1.05; font-weight: 700; letter-spacing: -.03em; overflow-wrap: anywhere; text-shadow: 0 2px 12px color-mix(in oklab, black 25%, transparent); }
.su-author__who p { margin: 4px 0 0; font-size: 14px; color: color-mix(in oklab, white 75%, transparent); }
.su-author__text { margin: 18px 0 0; max-width: 460px; font-size: 16px; line-height: 1.5; color: color-mix(in oklab, white 88%, transparent); text-wrap: pretty; }
.su-author__cta { margin-top: 20px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.su-author__btn {
  height: 40px; padding: 0 14px 0 16px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 14px; font-weight: 600; text-decoration: none;
  color: black; background: white;
  box-shadow: 0 6px 20px -6px color-mix(in oklab, black 35%, transparent);
  transition: transform .2s ease, background-color .2s ease;
}
.su-author__btn:hover { transform: translateY(-1px); background: color-mix(in oklab, white 90%, black); }
.su-author__btn svg { width: 16px; height: 16px; }
.su-author__deal {
  height: 40px; padding: 0 14px; border-radius: 999px;
  display: inline-flex; align-items: center;
  font-size: 14px; font-weight: 600; color: white; background: color-mix(in oklab, white 18%, transparent);
}

/* вещи автора — запечённые на его же скине */
.su-author__items {
  grid-area: items; list-style: none; margin: 0; padding: 16px var(--pad) var(--pad);
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  /* без scroll-padding привязка прокрутки прижимает первую карточку к краю баннера */
  scroll-padding-inline: var(--pad);
  /* лишние карточки уходят за край мягко, а не обрезом по рамке баннера */
  -webkit-mask: linear-gradient(90deg, transparent, black var(--pad), black calc(100% - var(--pad)), transparent);
  mask: linear-gradient(90deg, transparent, black var(--pad), black calc(100% - var(--pad)), transparent);
}
.su-author__items::-webkit-scrollbar { display: none; }
/* Карточка вещи — как плитка магазина (shop-tile): тон баннера автора густым «камнем»,
   лучи и пятно света из-за вещи. Кадр бейка вырезан из большого рендера, игрок и вещь
   упираются в его края — поэтому края кадра растворяются маской, а не режутся. */
.su-author__items li { flex: 0 0 156px; scroll-snap-align: start; }
.su-author__items a { display: block; color: white; text-decoration: none; outline: none; }
.su-tile {
  position: relative; display: block; aspect-ratio: 1; isolation: isolate; overflow: hidden;
  border-radius: 22px;
  /* светлее баннера и в его же тоне — как пятно света, которое баннер держит за автором */
  background:
    radial-gradient(56% 50% at 50% 44%, color-mix(in oklab, var(--c) 52%, white), transparent 80%),
    linear-gradient(170deg, color-mix(in oklab, var(--c) 84%, white), color-mix(in oklab, var(--c) 88%, black));
  /* глубина — тенью, край — тонкой светлой линией поверх тона */
  box-shadow:
    inset 0 0 0 1px color-mix(in oklab, white 22%, transparent),
    0 1px 2px color-mix(in oklab, black 10%, transparent),
    0 12px 24px -14px color-mix(in oklab, black 40%, transparent);
  transition: translate .25s cubic-bezier(.2, .8, .2, 1), scale .15s ease-out, box-shadow .25s ease;
}
/* лучи из-за вещи: тонкие клинья, гаснут к краям */
.su-tile::before {
  content: ""; position: absolute; inset: -20%; z-index: -1; pointer-events: none;
  background: repeating-conic-gradient(from 0deg at 50% 44%, color-mix(in oklab, white 16%, transparent) 0deg 7deg, transparent 7deg 20deg);
  -webkit-mask: radial-gradient(closest-side at 50% 44%, black 15%, transparent 100%);
  mask: radial-gradient(closest-side at 50% 44%, black 15%, transparent 100%);
  transition: rotate 1.2s cubic-bezier(.2, .8, .2, 1);
}
.su-tile img, .su-tile__live {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%;
  -webkit-mask: linear-gradient(90deg, transparent, black 16%, black 84%, transparent), linear-gradient(180deg, transparent, black 10%, black 70%, transparent 96%);
  -webkit-mask-composite: source-in;
  mask: linear-gradient(90deg, transparent, black 16%, black 84%, transparent), linear-gradient(180deg, transparent, black 10%, black 70%, transparent 96%);
  mask-composite: intersect;
}
.su-tile__live { opacity: 0; }
.su-tile.is-live .su-tile__live { opacity: 1; }
.su-tile.is-live img { visibility: hidden; }
.su-author__items a:hover .su-tile, .su-author__items a:focus-visible .su-tile {
  translate: 0 -4px;
  box-shadow:
    inset 0 0 0 1px color-mix(in oklab, white 34%, transparent),
    0 2px 4px color-mix(in oklab, black 10%, transparent),
    0 18px 30px -14px color-mix(in oklab, black 45%, transparent);
}
.su-author__items a:active .su-tile { scale: .96; }
.su-author__items a:hover .su-tile::before, .su-author__items a:focus-visible .su-tile::before { rotate: 12deg; }
.su-author__items a:focus-visible .su-tile { outline: 2px solid white; outline-offset: 3px; }
.su-author__items span:not(.su-tile) { display: block; margin: 10px 2px 0; font-size: 14px; font-weight: 600; line-height: 1.25; }
.su-author__items small { display: block; margin-top: 3px; font-size: 12px; font-weight: 500; color: color-mix(in oklab, white 68%, transparent); }

@media (max-width: 767px) {
  .su-author, .su-author:nth-of-type(even) {
    --sx: 50%; --dir: 180deg; --pad: 24px;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "stage" "copy" "items";
    border-radius: 24px;
    background:
      radial-gradient(70% 34% at 50% 22%, color-mix(in oklab, var(--c) 70%, white), transparent 75%),
      linear-gradient(180deg, var(--c) 0%, color-mix(in oklab, var(--c) 66%, black) 42%, color-mix(in oklab, var(--c) 40%, black) 100%);
  }
  .su-author::before {
    background: repeating-conic-gradient(from 0deg at 50% 24%, color-mix(in oklab, white 13%, transparent) 0deg 6deg, transparent 6deg 18deg);
    -webkit-mask: radial-gradient(80% 36% at 50% 24%, black 10%, transparent 100%);
    mask: radial-gradient(80% 36% at 50% 24%, black 10%, transparent 100%);
  }
  .su-author__stage { height: 360px; padding-top: 20px; }
  .su-author__live { height: calc(100% - 20px); }
  .su-author__big { top: 10%; font-size: clamp(48px, 16vw, 88px); }
  .su-author__copy { padding: 8px var(--pad) 16px; }
  .su-author__who h3 { font-size: 30px; }
  .su-author__who img { width: 48px; height: 48px; border-radius: 14px; }
  .su-author__text { font-size: 15px; }
  .su-author__items { padding-top: 8px; }
  .su-author__items li { flex-basis: 132px; }
  .su-tile { border-radius: 18px; }
  .su-author__hint { opacity: 1; transform: translate(-50%, 0); }
}

/* === Стать автором — замыкает ряд баннеров: тот же размер и поля, но спокойная
   поверхность страницы, чтобы читалось как приглашение, а не восьмой автор. */
.su-roster a.su-roster__join { padding-left: 4px; color: var(--fg-3); background: transparent; box-shadow: inset 0 0 0 1px var(--bg-4); }
.su-roster a.su-roster__join:hover { color: var(--fg-4); background: var(--bg-2); }
.su-roster__join span[aria-hidden] {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px var(--bg-a4);
}
.su-roster__join svg { width: 14px; height: 14px; }

/* BoardUI Button — порт .bu-btn из виджета кабинета (support-ui/src/index.css) */
.su-bu {
  position: relative; isolation: isolate; overflow: hidden;
  height: 44px; padding: 0 18px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 15px; font-weight: 600; white-space: nowrap; text-decoration: none;
  transition: background-color .15s ease, box-shadow .15s ease, scale .15s ease;
}
.su-bu:active { scale: .96; }
.su-bu:focus-visible { outline: 2px solid var(--purple-4); outline-offset: 2px; }
.su-bu--primary {
  color: white;
  background-image: linear-gradient(180deg, var(--purple-4), color-mix(in oklab, var(--purple-4) 80%, black));
  box-shadow: 0 1px 2px color-mix(in oklab, black 18%, transparent), inset 0 1px 0 color-mix(in oklab, white 22%, transparent), 0 10px 24px -12px var(--purple-4);
}
.su-bu--primary:hover { background-image: linear-gradient(180deg, color-mix(in oklab, var(--purple-4) 90%, black), color-mix(in oklab, var(--purple-4) 72%, black)); }

/* === Стать автором: письмо с чипами и три карточки-цифры с иллюстрациями === */
.su-jd { position: relative; margin-top: 72px; scroll-margin-top: 96px; }
.su-jd__head { max-width: 576px; margin: 0 auto; }
.su-jd__sign { margin: 0; font-family: 'Marck Script', cursive; font-size: 30px; line-height: 1; color: var(--pink-4); rotate: -3deg; transform-origin: left; }
.su-jd h3 { margin: 10px 0 0; font-size: 28px; line-height: 1.2; font-weight: 600; letter-spacing: -.02em; color: var(--fg-4); }
.su-jd__head p:last-child { margin: 14px 0 0; font-size: 16px; line-height: 1.75; color: var(--fg-3); text-wrap: pretty; }
.su-jd__stats { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.su-jd__stats li {
  --c: var(--purple-4);
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 5 / 4; padding: 22px 24px; border-radius: 24px; color: white;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--c);
  box-shadow: 0 1px 2px var(--gray-a2), 0 20px 40px -24px var(--gray-a4);
}
.su-jd__stats li[data-tone="pink"] { --c: var(--pink-4); }
.su-jd__stats li[data-tone="green"] { --c: var(--green-4); }
/* иллюстрация на весь фрейм: правки ChatGPT поверх маскота лаунчера (assets/halloween/mascot.png), снизу — затемнение под текст */
.su-jd__art {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 90% 30%; /* герой и спутник справа, слева пусто под цифру */
  transition: scale .5s cubic-bezier(.2, .8, .2, 1);
}
.su-jd__stats li::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  /* затемнение только под текстом (низ-лево), персонажи справа остаются в своём свете */
  background: radial-gradient(ellipse 90% 80% at 0% 100%, color-mix(in oklab, black 58%, transparent) 0%, color-mix(in oklab, black 30%, transparent) 42%, transparent 72%);
}
.su-jd__stats li:hover .su-jd__art { scale: 1.04; }
/* пиксельная «награда» из набора медиа-программы (assets/creators/icons, 16px-арт ×4) — кратно 16, без мыла */
.su-jd__ic { width: 48px; height: 48px; margin: 0 0 10px -4px; image-rendering: pixelated; filter: drop-shadow(0 4px 10px color-mix(in oklab, black 45%, transparent)); }
.su-jd__stats b small { margin-right: .22em; font-size: .5em; font-weight: 600; letter-spacing: 0; vertical-align: .18em; opacity: .9; }
.su-jd__note { flex-basis: 100%; margin: 0; font-size: 13px; line-height: 1.4; color: var(--fg-3); }
.su-jd__stats b { font-size: 36px; line-height: 1; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; text-shadow: 0 2px 12px color-mix(in oklab, black 30%, transparent); }
.su-jd__stats span { margin-top: 6px; max-width: 240px; font-size: 14px; line-height: 1.4; color: color-mix(in oklab, white 88%, transparent); text-wrap: pretty; text-shadow: 0 1px 2px color-mix(in oklab, black 55%, transparent), 0 2px 12px color-mix(in oklab, black 40%, transparent); }
.su-jd__cta { max-width: 576px; margin: 28px auto 0; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px; }
.su-jd__link { font-size: 15px; font-weight: 500; color: var(--fg-4); text-decoration: underline; text-decoration-color: var(--bg-a4); text-underline-offset: 3px; transition: text-decoration-color .2s ease; }
.su-jd__link:hover { text-decoration-color: currentColor; }

@media (max-width: 959px) {
  .su-jd__stats { grid-template-columns: minmax(0, 1fr); max-width: 576px; margin-inline: auto; }
  .su-jd__stats li { aspect-ratio: 3 / 2; }
}
@media (max-width: 767px) {
  .su-jd h3 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .su-bu, .su-jd__art, .su-jd__link { transition: none; }
  .su-bu:active { scale: none; }
  .su-jd__stats li:hover .su-jd__art { scale: none; }
}

/* === А ещё: кабинет и магазин — отдельным, второстепенным блоком === */
.su-also { width: 100%; max-width: 1120px; margin: 96px auto 0; padding: 0 20px; }
.su-also__head { max-width: 576px; margin: 0 auto; }
.su-also__grid { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
.su-also__grid h3 { margin: 14px 0 0; font-size: 16px; line-height: 1.4; font-weight: 500; color: var(--fg-4); }
.su-also__grid p { margin: 4px 0 0; font-size: 15px; line-height: 1.45; color: var(--fg-3); }
.su-also__grid a { color: inherit; }
.su-also__foot { max-width: 576px; margin: 32px auto 0; }
@media (max-width: 767px) {
  .su-also { margin-top: 72px; }
  .su-also__grid { grid-template-columns: minmax(0, 1fr); }
}

/* скриншоты — в рамке окна браузера с адресом: сразу видно, какая это страница */
.su-shot {
  position: relative;
  width: 100%; margin: 0;
  border-radius: 14px; overflow: hidden;
  background: var(--bg-2);
  box-shadow: 0 0 0 1px var(--bg-4), var(--shadow-2);
}
.su-shot__bar {
  display: flex; align-items: center; gap: 6px;
  height: 32px; padding: 0 12px;
  background: var(--bg-3);
  border-bottom: 1px solid var(--bg-4);
}
.su-shot__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--bg-a4); flex: none; }
.su-shot__bar span {
  flex: 1; min-width: 0; margin: 0 24px 0 10px;
  height: 20px; padding: 0 10px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: var(--fg-2); background: var(--bg-1);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.su-shot img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; }
.su-go { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }
.su-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.su-facts li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.45; color: var(--fg-3); }
.su-facts li::before {
  content: ''; position: absolute; left: 2px; top: .45em;
  width: 9px; height: 5px;
  border-left: 1.5px solid var(--orange-4); border-bottom: 1.5px solid var(--orange-4);
  transform: rotate(-45deg);
}

@media (min-width: 960px) {
  .su-hero { padding: 140px 0 96px; display: flex; align-items: center; }
  .su-hero__inner { width: 100%; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); align-items: center; gap: 56px; padding: 0 24px; }
}
@media (max-width: 959px) {
  .su-hero { min-height: 0; padding-top: 104px; }
}
@media (max-width: 480px) {
  .su-facts { grid-template-columns: 1fr; }
  .su-type p { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .su-rays, .su-rays i, .su-sun, .su-grain { animation: none; }
  .su-video__frame { transform: none; }
  .su-video__play::before { animation: none; }
  .su-roster a, .su-author__btn, .su-tile, .su-tile::before { transition: none; }
  .su-author__items a:active .su-tile { scale: none; }
}

.su-video__poster:disabled { cursor: default; }
.su-video__poster:disabled .su-video__play { display: none; }
