/*
 * Тема «Стадион» (stadium). Макет: холст тем, страница «Адаптация · taps-web»,
 * ряд «Стадион».
 *
 * Обложка — футбольное поле с разметкой, прожекторами и вспышками камер,
 * страница — тёмный газон, табло-плашки. Файл подключается только на
 * страницах автора с этой темой; все правила начинаются с
 * .profile-theme--v2.profile-theme--stadium.
 */

.profile-theme--v2.profile-theme--stadium {
  --s-accent: var(--theme-accent, #d7ff3a);
  --s-lime: #d7ff3a;
  --s-bg: #0f2a1a;
  --s-card: #071a0f;
  --s-surface: #17402a;
  --s-line: #2b5a3c;
  --s-chalk: rgba(255, 255, 255, 0.85);
  --s-text: #fff;
  --s-muted: #d3e6d9;
  --s-muted-2: #9cc7aa;
  --s-ink: #071a0f;
  --s-grass: repeating-linear-gradient(
    90deg,
    #2e8b46 0 39px,
    #279140 39px 78px
  );

  --profile-bg: var(--s-bg);
  --profile-surface: var(--s-card);
  --profile-surface-solid: var(--s-card);
  --profile-surface-muted: var(--s-surface);
  --profile-border: var(--s-line);
  --profile-avatar-border: var(--s-accent);
  --profile-text: var(--s-text);
  --profile-text-muted: var(--s-muted);
  --profile-accent: var(--s-accent);
  --profile-accent-foreground: var(--s-ink);
  --profile-accent-secondary: #fff;
  --profile-accent-secondary-foreground: var(--s-bg);
  --profile-glow-1: transparent;
  --profile-glow-2: transparent;
  --profile-radius-card: 0px;
  --profile-radius-sm: 0px;
  --profile-radius-pill: 0px;
  --profile-radius-tab: 0px;
  --profile-radius-tab-inner: 0px;
  --profile-shadow-card: none;
  --profile-shadow-accent: none;
  --profile-shadow-glow: none;
  --profile-font-family: var(--font-t-fira-sans-extra-condensed), sans-serif;
  --profile-letter-spacing: 0;

  font-family: var(--profile-font-family);
  color: var(--s-text);
}

/* ---------- Фон страницы ---------- */

.profile-theme--v2.profile-theme--stadium [data-profile-page-bg] {
  background: var(--s-bg);
}

/* ---------- Декор обложки: поле ---------- */

.profile-theme--v2.profile-theme--stadium .stadium-decor {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Лучи прожекторов. */
.profile-theme--v2.profile-theme--stadium .stadium-beam {
  position: absolute;
  top: -40px;
  width: 160px;
  height: 560px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 230, 0.35),
    transparent 75%
  );
  clip-path: polygon(45% 0, 55% 0, 100% 100%, 0 100%);
  transform-origin: 50% 0;
  animation: stadium-swing 5s ease-in-out infinite alternate;
}

.profile-theme--v2.profile-theme--stadium .stadium-beam--1 {
  left: -40px;
  --s-a1: -40deg;
  --s-a2: -10deg;
}

.profile-theme--v2.profile-theme--stadium .stadium-beam--2 {
  right: -40px;
  --s-a1: 40deg;
  --s-a2: 10deg;
  animation-duration: 6s;
}

.profile-theme--v2.profile-theme--stadium .stadium-beam--3,
.profile-theme--v2.profile-theme--stadium .stadium-beam--4 {
  display: none;
}

.profile-theme--v2.profile-theme--stadium
  .stadium-decor[data-variant='banner']
  .stadium-beam {
  width: 140px;
  height: 260px;
}

.profile-theme--v2.profile-theme--stadium
  .stadium-decor[data-variant='banner']
  .stadium-beam--1 {
  left: -30px;
}

.profile-theme--v2.profile-theme--stadium
  .stadium-decor[data-variant='banner']
  .stadium-beam--2 {
  right: -30px;
}

/* Разметка поля. */
.profile-theme--v2.profile-theme--stadium .stadium-line {
  position: absolute;
  box-sizing: border-box;
  border: 3px solid var(--s-chalk);
}

.profile-theme--v2.profile-theme--stadium .stadium-line--field {
  inset: 16px;
}

.profile-theme--v2.profile-theme--stadium .stadium-line--middle {
  top: 16px;
  bottom: 16px;
  left: 50%;
  width: 3px;
  margin-left: -1.5px;
  border: 0;
  background: var(--s-chalk);
}

.profile-theme--v2.profile-theme--stadium .stadium-line--circle {
  top: 21px;
  left: 50%;
  width: 150px;
  height: 150px;
  margin-left: -75px;
  border-radius: 50%;
}

.profile-theme--v2.profile-theme--stadium .stadium-line--box {
  top: 50%;
  width: 44px;
  height: 132px;
  margin-top: -66px;
}

.profile-theme--v2.profile-theme--stadium .stadium-line--box.stadium-line--left {
  left: 16px;
  border-left: 0;
}

.profile-theme--v2.profile-theme--stadium
  .stadium-line--box.stadium-line--right {
  right: 16px;
  border-right: 0;
}

.profile-theme--v2.profile-theme--stadium .stadium-line--goal,
.profile-theme--v2.profile-theme--stadium .stadium-line--arc {
  display: none;
}

.profile-theme--v2.profile-theme--stadium
  .stadium-decor[data-variant='banner']
  .stadium-line--field {
  inset: 12px 12px -10px;
}

.profile-theme--v2.profile-theme--stadium
  .stadium-decor[data-variant='banner']
  .stadium-line--middle {
  top: 12px;
  bottom: 0;
}

.profile-theme--v2.profile-theme--stadium
  .stadium-decor[data-variant='banner']
  .stadium-line--circle {
  top: 46px;
}

/* Вспышки камер на трибунах. */
.profile-theme--v2.profile-theme--stadium .stadium-flash {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 12px 4px rgba(255, 255, 255, 0.9);
  opacity: 0;
  animation: stadium-flash 3s linear infinite;
}

.profile-theme--v2.profile-theme--stadium .stadium-flash--1 { top: 64%; left: 9%; animation-duration: 2.5s; animation-delay: -0.5s; }
.profile-theme--v2.profile-theme--stadium .stadium-flash--2 { top: 22%; left: 14%; animation-duration: 3.5s; animation-delay: -1.6s; }
.profile-theme--v2.profile-theme--stadium .stadium-flash--3 { top: 28%; left: 84%; animation-duration: 2.8s; animation-delay: -0.9s; }
.profile-theme--v2.profile-theme--stadium .stadium-flash--4 { top: 75%; left: 86%; animation-duration: 4.0s; animation-delay: -3.8s; }
.profile-theme--v2.profile-theme--stadium .stadium-flash--5 { top: 47%; left: 91%; animation-duration: 2.7s; animation-delay: -1.6s; }
.profile-theme--v2.profile-theme--stadium .stadium-flash--6 { top: 86%; left: 22%; animation-duration: 2.6s; animation-delay: -2.2s; }
.profile-theme--v2.profile-theme--stadium .stadium-flash--7 { top: 40%; left: 6%; animation-duration: 2.6s; animation-delay: -2.6s; }
.profile-theme--v2.profile-theme--stadium .stadium-flash--8 { top: 12%; left: 70%; animation-duration: 3.6s; animation-delay: -1.1s; }
.profile-theme--v2.profile-theme--stadium .stadium-flash--9 { top: 88%; left: 76%; animation-duration: 2.3s; animation-delay: -0.3s; }
.profile-theme--v2.profile-theme--stadium .stadium-flash--10 { top: 12%; left: 30%; animation-duration: 4.1s; animation-delay: -0.8s; }
.profile-theme--v2.profile-theme--stadium .stadium-flash--11 { top: 58%; left: 80%; animation-duration: 3.0s; animation-delay: -1.9s; }
.profile-theme--v2.profile-theme--stadium .stadium-decor[data-variant='banner'] .stadium-flash--1 { top: 40%; left: 16%; animation-duration: 2.6s; animation-delay: -0.7s; }
.profile-theme--v2.profile-theme--stadium .stadium-decor[data-variant='banner'] .stadium-flash--2 { top: 62%; left: 84%; animation-duration: 3.3s; animation-delay: -2.0s; }
.profile-theme--v2.profile-theme--stadium .stadium-decor[data-variant='banner'] .stadium-flash--3 { top: 28%; left: 72%; animation-duration: 4.0s; animation-delay: -1.2s; }

/* ---------- Шапка ---------- */

.profile-theme--v2.profile-theme--stadium [data-profile-cover] {
  width: auto;
  margin: -16px -16px 0;
  background: var(--s-grass);
}

.profile-theme--v2.profile-theme--stadium
  [data-profile-cover][data-variant='cover']
  [data-profile-identity] {
  padding: 44px 20px 40px;
  gap: 10px;
}

.profile-theme--v2.profile-theme--stadium
  [data-profile-cover][data-variant='banner'] {
  height: 120px;
}

.profile-theme--v2.profile-theme--stadium
  [data-profile-header][data-cover='standard']
  [data-profile-identity-wrap] {
  margin-top: -52px;
}

.profile-theme--v2.profile-theme--stadium
  [data-profile-header]:is([data-cover='standard'], [data-cover='none'])
  [data-profile-identity] {
  gap: 10px;
}

.profile-theme--v2.profile-theme--stadium
  [data-profile-header][data-cover='none']
  [data-profile-identity] {
  padding-top: 8px;
}

/* Своя обложка: фото темнеет книзу, поверх — разметка поля. */
.profile-theme--v2.profile-theme--stadium
  [data-cover-source='own']
  [data-profile-cover-overlay] {
  background: linear-gradient(
    180deg,
    rgba(15, 42, 26, 0.15) 0%,
    rgba(15, 42, 26, 0.5) 45%,
    rgba(15, 42, 26, 0.92) 100%
  );
}

.profile-theme--v2.profile-theme--stadium
  [data-cover-source='own']
  [data-profile-cover-overlay]::before,
.profile-theme--v2.profile-theme--stadium
  [data-cover-source='own']
  [data-profile-cover-overlay]::after {
  content: '';
  position: absolute;
  box-sizing: border-box;
}

.profile-theme--v2.profile-theme--stadium
  [data-cover-source='own']
  [data-profile-cover-overlay]::before {
  inset: 16px;
  border: 3px solid rgba(255, 255, 255, 0.6);
}

.profile-theme--v2.profile-theme--stadium
  [data-cover-source='own']
  [data-profile-cover-overlay]::after {
  top: 16px;
  bottom: 16px;
  left: 50%;
  width: 3px;
  margin-left: -1.5px;
  background: rgba(255, 255, 255, 0.6);
}

.profile-theme--v2.profile-theme--stadium
  [data-cover-source='own']
  [data-variant='banner']
  [data-profile-cover-overlay]::before {
  inset: 12px 12px -10px;
}

.profile-theme--v2.profile-theme--stadium
  [data-cover-source='own']
  [data-variant='banner']
  [data-profile-cover-overlay]::after {
  top: 12px;
  bottom: 0;
}

/* Аватар — белый мяч в обводке акцентом. */
.profile-theme--v2.profile-theme--stadium [data-profile-avatar] {
  width: 104px;
  height: 104px;
  box-sizing: border-box;
  border: 4px solid var(--s-accent);
  border-radius: 50%;
  background: #fff;
}

.profile-theme--v2.profile-theme--stadium
  [data-profile-avatar][data-shape='square'] {
  border-radius: 0;
}

.profile-theme--v2.profile-theme--stadium [data-profile-avatar-initial] {
  font-size: 50px;
  font-weight: 900;
  line-height: 1;
  color: var(--s-bg);
}

/* Имя на тёмной плашке табло. */
.profile-theme--v2.profile-theme--stadium [data-profile-name-row] {
  max-width: 100%;
  box-sizing: border-box;
  margin-top: 6px;
  padding: 4px 12px 4px 14px;
  gap: 8px;
  background: var(--s-bg);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.profile-theme--v2.profile-theme--stadium
  [data-profile-header]:is([data-cover='standard'], [data-cover='none'])
  [data-profile-name-row] {
  border: 2px solid var(--s-line);
  background: var(--s-card);
  box-shadow: none;
}

.profile-theme--v2.profile-theme--stadium
  [data-profile-header][data-cover='standard']
  [data-profile-name-row] {
  margin-top: 0;
}

.profile-theme--v2.profile-theme--stadium [data-profile-name] {
  margin: 0;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 1px;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  color: #fff;
}

.profile-theme--v2.profile-theme--stadium [data-profile-ambassador] {
  padding: 3px 12px;
  background: #fff;
  color: var(--s-bg);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.profile-theme--v2.profile-theme--stadium [data-profile-ambassador-icon] {
  display: none;
}

.profile-theme--v2.profile-theme--stadium [data-profile-about] {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--s-muted);
  text-align: center;
}

.profile-theme--v2.profile-theme--stadium
  [data-profile-cover]
  [data-profile-about] {
  padding: 2px 10px;
  background: rgba(15, 42, 26, 0.8);
  color: #fff;
}

/* Соцсети иконками: квадраты. */
.profile-theme--v2.profile-theme--stadium [data-profile-social-list] {
  gap: 12px;
}

.profile-theme--v2.profile-theme--stadium
  [data-profile-identity]
  [data-profile-social-list] {
  margin-top: 6px;
}

.profile-theme--v2.profile-theme--stadium [data-profile-social-link] {
  width: 52px;
  height: 52px;
  box-sizing: border-box;
  border: 0;
  border-radius: 0;
  background: var(--s-surface);
  color: #fff;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.profile-theme--v2.profile-theme--stadium
  [data-profile-cover]
  [data-profile-social-link] {
  border: 2px solid var(--s-chalk);
  background: var(--s-bg);
}

.profile-theme--v2.profile-theme--stadium [data-profile-social-link]:hover {
  border-color: var(--s-accent);
  color: var(--s-accent);
  background: var(--s-bg);
}

.profile-theme--v2.profile-theme--stadium
  [data-profile-social-link]
  [data-profile-social-icon] {
  width: 22px;
  height: 22px;
}

.profile-theme--v2.profile-theme--stadium [data-profile-social-tile] {
  border: 0;
  border-radius: 0;
  background: var(--s-surface);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.profile-theme--v2.profile-theme--stadium [data-profile-social-tile] > span {
  font-size: inherit;
}

.profile-theme--v2.profile-theme--stadium [data-profile-social-row] {
  height: 60px;
  border: 0;
  border-radius: 0;
  background: var(--s-surface);
  color: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.profile-theme--v2.profile-theme--stadium [data-profile-social-row] > span {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: left;
  text-transform: uppercase;
}

.profile-theme--v2.profile-theme--stadium
  [data-profile-social-row]
  svg:last-child {
  color: var(--s-accent);
}

/* ---------- Карточки и кнопки ---------- */

.profile-theme--v2.profile-theme--stadium [data-profile-card] {
  border: 2px solid var(--s-line);
  border-radius: 0;
  background: var(--s-card);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  padding: 18px;
  gap: 16px;
}

.profile-theme--v2.profile-theme--stadium [data-profile-title] {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
  color: #fff;
}

.profile-theme--v2.profile-theme--stadium
  [data-profile-block='video']
  [data-profile-title] {
  font-size: 22px;
}

/* Метки табло у заголовков: «TG» у каналов, «90'+» у доната. */
.profile-theme--v2.profile-theme--stadium
  :is(
    [data-profile-block='channel'],
    [data-profile-block='channels'],
    [data-profile-block='donation']
  )
  [data-profile-title] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.profile-theme--v2.profile-theme--stadium
  :is(
    [data-profile-block='channel'],
    [data-profile-block='channels'],
    [data-profile-block='donation']
  )
  [data-profile-title]::after {
  flex-shrink: 0;
  padding: 2px 8px;
  background: var(--s-lime);
  color: var(--s-ink);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.3;
}

.profile-theme--v2.profile-theme--stadium
  :is([data-profile-block='channel'], [data-profile-block='channels'])
  [data-profile-title]::after {
  content: 'TG';
}

.profile-theme--v2.profile-theme--stadium
  [data-profile-block='donation']
  [data-profile-title]::after {
  content: "90'+";
}

.profile-theme--v2.profile-theme--stadium [data-profile-card-text] {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--s-muted);
}

.profile-theme--v2.profile-theme--stadium [data-profile-channel-title] {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
}

.profile-theme--v2.profile-theme--stadium [data-profile-separator] {
  height: 2px;
  border: 0;
  background: var(--s-line);
}

/* Основное действие: заливка акцентом. */
.profile-theme--v2.profile-theme--stadium [data-profile-action='primary'] {
  min-height: 54px;
  border: 0;
  border-radius: 0;
  background: var(--s-accent);
  color: var(--s-ink);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: none;
}

.profile-theme--v2.profile-theme--stadium [data-profile-action='primary']:hover {
  background: color-mix(in srgb, var(--s-accent) 85%, #fff);
}

.profile-theme--v2.profile-theme--stadium
  [data-profile-block='donation']
  [data-profile-action='primary'],
.profile-theme--v2.profile-theme--stadium
  [data-profile-block='donation-goal']
  [data-profile-action='primary'],
.profile-theme--v2.profile-theme--stadium
  [data-profile-action='primary'][data-profile-block='donation-button'] {
  min-height: 58px;
  font-size: 24px;
}

.profile-theme--v2.profile-theme--stadium
  [data-profile-block='donation-goal']
  [data-profile-action='primary'] {
  min-height: 56px;
}

.profile-theme--v2.profile-theme--stadium
  [data-profile-action='primary'][data-profile-size='small'] {
  min-height: 38px;
  height: 38px;
  padding: 0 14px;
  font-size: 17px;
}

/* Кнопки-ссылки: белые плашки. */
.profile-theme--v2.profile-theme--stadium [data-profile-action='link'] {
  min-height: 52px;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: var(--s-bg);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: none;
}

.profile-theme--v2.profile-theme--stadium [data-profile-action='link']:hover {
  background: var(--s-muted);
  color: var(--s-bg);
}

.profile-theme--v2.profile-theme--stadium [data-profile-ghost] {
  height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 0;
  background: var(--s-surface);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ---------- Battle ---------- */

.profile-theme--v2.profile-theme--stadium [data-profile-block='battle'] {
  padding: 18px;
  gap: 14px;
  border: 2px solid var(--s-accent);
  border-radius: 0;
  background: var(--s-card);
  color: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.profile-theme--v2.profile-theme--stadium [data-profile-battle-icon] {
  border-radius: 0;
  background: var(--s-surface);
  color: var(--s-accent);
}

.profile-theme--v2.profile-theme--stadium [data-profile-battle-status] {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ff6b4a;
}

.profile-theme--v2.profile-theme--stadium
  [data-profile-battle-status]
  > span:last-child {
  color: var(--s-muted-2);
  font-weight: 700;
  letter-spacing: 1px;
}

.profile-theme--v2.profile-theme--stadium [data-profile-battle-dot] {
  width: 8px;
  height: 8px;
  background: #ff5a45;
  animation: stadium-blink 1.4s steps(1) infinite;
}

.profile-theme--v2.profile-theme--stadium [data-profile-battle-title] {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
}

.profile-theme--v2.profile-theme--stadium
  [data-profile-block='battle']
  [data-profile-action='primary'] {
  min-height: 50px;
  font-size: 21px;
}

/* ---------- Услуга ---------- */

.profile-theme--v2.profile-theme--stadium [data-profile-service-format] {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--s-muted-2);
}

.profile-theme--v2.profile-theme--stadium [data-profile-service-price] {
  font-size: 21px;
  font-weight: 900;
}

.profile-theme--v2.profile-theme--stadium
  [data-profile-block='service']
  [data-profile-action='primary'] {
  flex: 1;
  max-width: 170px;
  min-height: 48px;
  font-size: 20px;
}

/* ---------- Донат: табло ---------- */

.profile-theme--v2.profile-theme--stadium [data-profile-currency-input-field] {
  height: 56px;
  padding-left: 14px;
  border: 2px solid var(--s-line);
  border-radius: 0;
  background: #000;
  color: var(--s-lime);
  font-size: 30px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  box-shadow: none;
}

.profile-theme--v2.profile-theme--stadium
  [data-profile-currency-input-field]:focus {
  border-color: var(--s-accent);
}

.profile-theme--v2.profile-theme--stadium [data-profile-currency-input-suffix] {
  color: var(--s-muted-2);
  font-size: 18px;
  font-weight: 700;
}

.profile-theme--v2.profile-theme--stadium [data-profile-quick-amounts] {
  gap: 8px;
}

.profile-theme--v2.profile-theme--stadium [data-profile-donation-quick-amount] {
  height: 44px;
  padding: 0 8px;
  border: 0;
  border-radius: 0;
  background: var(--s-surface);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.profile-theme--v2.profile-theme--stadium
  [data-profile-donation-quick-amount][data-active='true'] {
  background: var(--s-accent);
  color: var(--s-ink);
  font-weight: 900;
}

.profile-theme--v2.profile-theme--stadium [data-profile-goal-title] {
  font-size: 20px;
  font-weight: 700;
}

.profile-theme--v2.profile-theme--stadium [data-profile-goal-progress] {
  height: 16px;
  box-sizing: border-box;
  padding: 2px;
  border: 2px solid var(--s-line);
  border-radius: 0;
  background: #000;
}

.profile-theme--v2.profile-theme--stadium [data-profile-goal-progress-fill] {
  height: 100%;
  border-radius: 0;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(7, 26, 15, 0.22) 0 10px,
    transparent 10px 20px
  ) !important;
  background-color: var(--s-accent);
}

.profile-theme--v2.profile-theme--stadium [data-profile-goal-amounts] {
  font-size: 18px;
  font-weight: 700;
}

.profile-theme--v2.profile-theme--stadium [data-profile-goal-amounts] > span {
  color: #fff;
}

.profile-theme--v2.profile-theme--stadium
  [data-profile-goal-amounts]
  > span:first-child {
  color: var(--s-muted-2);
}

/* ---------- Магазин ---------- */

.profile-theme--v2.profile-theme--stadium
  [data-profile-block='shop']
  [data-product-card] {
  align-items: center;
  gap: 14px;
}

.profile-theme--v2.profile-theme--stadium [data-product-image] {
  border-radius: 0;
  background: repeating-linear-gradient(
    90deg,
    var(--s-surface) 0 14px,
    #1b4a30 14px 28px
  );
}

.profile-theme--v2.profile-theme--stadium
  [data-profile-block='shop']
  [data-product-image] {
  width: 84px;
  height: 84px;
}

.profile-theme--v2.profile-theme--stadium [data-product-image] img {
  border-radius: 0;
}

.profile-theme--v2.profile-theme--stadium [data-product-badge] {
  padding: 2px 8px;
  border-radius: 0;
  background: var(--s-accent);
}

.profile-theme--v2.profile-theme--stadium [data-product-badge] p {
  color: var(--s-ink);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.profile-theme--v2.profile-theme--stadium [data-product-title] {
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

.profile-theme--v2.profile-theme--stadium
  [data-profile-block='shop']
  [data-product-title] {
  font-size: 19px;
}

.profile-theme--v2.profile-theme--stadium [data-product-price] {
  font-weight: 500;
  color: var(--s-muted-2);
}

.profile-theme--v2.profile-theme--stadium
  [data-profile-block='shop']
  [data-product-price] {
  font-size: 18px;
}

.profile-theme--v2.profile-theme--stadium [data-product-buy-mobile] {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 0;
  background: var(--s-surface);
  color: var(--s-accent);
}

.profile-theme--v2.profile-theme--stadium [data-product-buy] {
  height: 42px;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: var(--s-bg);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.profile-theme--v2.profile-theme--stadium [data-profile-mosaic-tile] {
  border-radius: 0;
  background: repeating-linear-gradient(
    90deg,
    var(--s-surface) 0 26px,
    #1b4a30 26px 52px
  );
}

.profile-theme--v2.profile-theme--stadium [data-profile-mosaic-blur] {
  display: none;
}

.profile-theme--v2.profile-theme--stadium [data-profile-mosaic-overlay] {
  height: 80%;
  border-radius: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 26, 15, 0),
    rgba(7, 26, 15, 0.94) 45%
  );
}

.profile-theme--v2.profile-theme--stadium [data-profile-mosaic-title] {
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
}

.profile-theme--v2.profile-theme--stadium [data-profile-mosaic-price] {
  color: var(--s-muted);
}

.profile-theme--v2.profile-theme--stadium
  [data-profile-mosaic-tile]
  [data-product-buy] {
  background: var(--s-accent);
  color: var(--s-ink);
}

/* ---------- Видео: поле в миниатюре ---------- */

.profile-theme--v2.profile-theme--stadium [data-profile-video-frame] {
  border-radius: 0;
  background:
    radial-gradient(
      circle at 50% 50%,
      transparent 44px,
      rgba(255, 255, 255, 0.75) 44px 46px,
      transparent 46px
    ),
    linear-gradient(
        90deg,
        transparent calc(50% - 1px),
        rgba(255, 255, 255, 0.75) calc(50% - 1px) calc(50% + 1px),
        transparent calc(50% + 1px)
      )
      center / 100% calc(100% - 20px) no-repeat,
    repeating-linear-gradient(90deg, #2e8b46 0 26px, #279140 26px 52px);
}

.profile-theme--v2.profile-theme--stadium
  [data-profile-video-frame]:not(:has(img, iframe))::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 2px solid rgba(255, 255, 255, 0.75);
  pointer-events: none;
}

.profile-theme--v2.profile-theme--stadium [data-profile-play] {
  width: 58px;
  height: 58px;
  padding: 0;
  border-radius: 0;
  background: var(--s-accent);
  color: var(--s-ink);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.profile-theme--v2.profile-theme--stadium [data-profile-play] svg {
  width: 22px;
  height: 22px;
  color: var(--s-ink);
  fill: currentColor;
}

/* ---------- Футер ---------- */

.profile-theme--v2.profile-theme--stadium footer [data-profile-ghost] {
  height: 40px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.profile-theme--v2.profile-theme--stadium [data-profile-powered-by] {
  font-family:
    var(--font-sf-pro),
    -apple-system,
    sans-serif;
  color: var(--s-muted-2);
}

.profile-theme--v2.profile-theme--stadium footer a,
.profile-theme--v2.profile-theme--stadium [data-profile-footer-link] {
  color: var(--s-muted-2);
  font-size: 14px;
}

.profile-theme--v2.profile-theme--stadium
  footer
  a:not(:has([data-profile-powered-by])),
.profile-theme--v2.profile-theme--stadium [data-profile-footer-link] {
  text-decoration: underline;
}

.profile-theme--v2.profile-theme--stadium footer a:hover,
.profile-theme--v2.profile-theme--stadium [data-profile-footer-link]:hover {
  color: #fff;
}

/* ---------- Компьютер ---------- */

@media (min-width: 768px) {
  .profile-theme--v2.profile-theme--stadium {
    --s-grass: repeating-linear-gradient(
      90deg,
      #2e8b46 0 64px,
      #279140 64px 128px
    );
  }

  .profile-theme--v2.profile-theme--stadium [data-profile-cover] {
    width: 100vw;
    margin: -16px 0 0 calc(50% - 50vw);
  }

  .profile-theme--v2.profile-theme--stadium
    [data-profile-cover][data-variant='cover']
    [data-profile-identity] {
    padding: 64px 20px 60px;
    gap: 12px;
  }

  .profile-theme--v2.profile-theme--stadium
    [data-profile-cover][data-variant='banner'] {
    height: 220px;
  }

  .profile-theme--v2.profile-theme--stadium
    [data-profile-header][data-cover='standard']
    [data-profile-identity-wrap] {
    margin-top: -68px;
  }

  .profile-theme--v2.profile-theme--stadium .stadium-beam {
    top: -60px;
    width: 240px;
    height: 760px;
  }

  .profile-theme--v2.profile-theme--stadium .stadium-beam--3,
  .profile-theme--v2.profile-theme--stadium .stadium-beam--4 {
    display: block;
    width: 200px;
    height: 700px;
    background: linear-gradient(
      180deg,
      rgba(255, 255, 230, 0.25),
      transparent 75%
    );
  }

  .profile-theme--v2.profile-theme--stadium .stadium-beam--3 {
    left: 30%;
    --s-a1: -25deg;
    --s-a2: 15deg;
    animation-duration: 7s;
  }

  .profile-theme--v2.profile-theme--stadium .stadium-beam--4 {
    right: 30%;
    --s-a1: 25deg;
    --s-a2: -15deg;
    animation-duration: 6.5s;
  }

  .profile-theme--v2.profile-theme--stadium
    .stadium-decor[data-variant='banner']
    .stadium-beam {
    width: 200px;
    height: 420px;
  }

  .profile-theme--v2.profile-theme--stadium .stadium-line--field {
    inset: 24px;
  }

  .profile-theme--v2.profile-theme--stadium .stadium-line--middle {
    top: 24px;
    bottom: 24px;
  }

  .profile-theme--v2.profile-theme--stadium .stadium-line--circle {
    top: 32px;
    width: 200px;
    height: 200px;
    margin-left: -100px;
  }

  .profile-theme--v2.profile-theme--stadium
    .stadium-decor[data-variant='banner']
    .stadium-line--circle {
    top: 90px;
  }

  .profile-theme--v2.profile-theme--stadium .stadium-line--box {
    width: 150px;
    height: 300px;
    margin-top: -150px;
  }

  .profile-theme--v2.profile-theme--stadium
    .stadium-line--box.stadium-line--left,
  .profile-theme--v2.profile-theme--stadium
    .stadium-line--goal.stadium-line--left {
    left: 24px;
  }

  .profile-theme--v2.profile-theme--stadium
    .stadium-line--box.stadium-line--right,
  .profile-theme--v2.profile-theme--stadium
    .stadium-line--goal.stadium-line--right {
    right: 24px;
  }

  .profile-theme--v2.profile-theme--stadium .stadium-line--goal {
    display: block;
    top: 50%;
    width: 56px;
    height: 140px;
    margin-top: -70px;
  }

  .profile-theme--v2.profile-theme--stadium
    .stadium-line--goal.stadium-line--left {
    border-left: 0;
  }

  .profile-theme--v2.profile-theme--stadium
    .stadium-line--goal.stadium-line--right {
    border-right: 0;
  }

  .profile-theme--v2.profile-theme--stadium .stadium-line--arc {
    display: block;
    top: 50%;
    width: 92px;
    height: 92px;
    margin-top: -46px;
    border-radius: 50%;
  }

  .profile-theme--v2.profile-theme--stadium .stadium-line--arc.stadium-line--left {
    left: 128px;
    clip-path: inset(0 0 0 46px);
  }

  .profile-theme--v2.profile-theme--stadium
    .stadium-line--arc.stadium-line--right {
    right: 128px;
    clip-path: inset(0 46px 0 0);
  }

  .profile-theme--v2.profile-theme--stadium [data-profile-avatar] {
    width: 136px;
    height: 136px;
    border-width: 5px;
  }

  .profile-theme--v2.profile-theme--stadium [data-profile-avatar-initial] {
    font-size: 64px;
  }

  .profile-theme--v2.profile-theme--stadium [data-profile-name-row] {
    margin-top: 8px;
    padding: 4px 14px 4px 18px;
    gap: 10px;
  }

  .profile-theme--v2.profile-theme--stadium [data-profile-name] {
    font-size: 42px;
  }

  .profile-theme--v2.profile-theme--stadium [data-profile-ambassador] {
    padding: 4px 14px;
    font-size: 17px;
  }

  .profile-theme--v2.profile-theme--stadium [data-profile-about] {
    font-size: 20px;
  }

  .profile-theme--v2.profile-theme--stadium
    [data-profile-cover]
    [data-profile-about] {
    padding: 2px 12px;
  }

  .profile-theme--v2.profile-theme--stadium
    [data-profile-identity]
    [data-profile-social-list] {
    margin-top: 8px;
  }

  .profile-theme--v2.profile-theme--stadium [data-profile-social-link] {
    width: 56px;
    height: 56px;
  }

  .profile-theme--v2.profile-theme--stadium [data-profile-card] {
    padding: 24px;
    gap: 18px;
  }

  .profile-theme--v2.profile-theme--stadium [data-profile-title] {
    font-size: 28px;
  }

  .profile-theme--v2.profile-theme--stadium
    :is(
      [data-profile-block='channel'],
      [data-profile-block='channels'],
      [data-profile-block='donation']
    )
    [data-profile-title]::after {
    font-size: 15px;
  }

  .profile-theme--v2.profile-theme--stadium [data-profile-card-text] {
    font-size: 19px;
  }

  .profile-theme--v2.profile-theme--stadium [data-profile-service-format] {
    font-size: 16px;
  }

  .profile-theme--v2.profile-theme--stadium [data-profile-service-price] {
    font-size: 24px;
  }

  .profile-theme--v2.profile-theme--stadium
    [data-profile-block='service']
    [data-profile-action='primary'] {
    flex: none;
    max-width: none;
    min-height: 52px;
    padding: 0 36px;
    font-size: 22px;
  }

  .profile-theme--v2.profile-theme--stadium [data-profile-channel-title] {
    font-size: 21px;
  }

  .profile-theme--v2.profile-theme--stadium [data-profile-action='primary'] {
    min-height: 58px;
    font-size: 24px;
  }

  .profile-theme--v2.profile-theme--stadium
    [data-profile-block='donation']
    [data-profile-action='primary'] {
    min-height: 62px;
    font-size: 27px;
  }

  .profile-theme--v2.profile-theme--stadium [data-profile-action='link'] {
    min-height: 58px;
    font-size: 22px;
  }

  .profile-theme--v2.profile-theme--stadium [data-profile-ghost] {
    height: 34px;
    padding: 0 14px;
    font-size: 16px;
  }

  /* Battle — одной строкой, кнопка справа. */
  .profile-theme--v2.profile-theme--stadium [data-profile-block='battle'] {
    flex-direction: row;
    align-items: center;
    gap: 18px;
    padding: 22px 24px;
  }

  .profile-theme--v2.profile-theme--stadium
    [data-profile-block='battle']
    > span:first-child {
    flex: 1;
    min-width: 0;
    gap: 18px;
  }

  .profile-theme--v2.profile-theme--stadium [data-profile-battle-icon] {
    width: 52px;
    height: 52px;
  }

  .profile-theme--v2.profile-theme--stadium [data-profile-battle-title] {
    font-size: 25px;
  }

  .profile-theme--v2.profile-theme--stadium
    [data-profile-block='battle']
    [data-profile-action='primary'] {
    flex-shrink: 0;
    min-height: 52px;
    padding: 0 28px;
    font-size: 22px;
  }

  .profile-theme--v2.profile-theme--stadium
    [data-profile-currency-input-field] {
    height: 62px;
    font-size: 34px;
  }

  .profile-theme--v2.profile-theme--stadium
    [data-profile-currency-input-suffix] {
    font-size: 20px;
  }

  .profile-theme--v2.profile-theme--stadium [data-profile-quick-amounts] {
    gap: 12px;
  }

  .profile-theme--v2.profile-theme--stadium
    [data-profile-donation-quick-amount] {
    height: 48px;
    font-size: 20px;
  }

  .profile-theme--v2.profile-theme--stadium
    [data-profile-block='shop']
    [data-product-card] {
    align-items: stretch;
    gap: 10px;
  }

  .profile-theme--v2.profile-theme--stadium [data-product-image] {
    background: repeating-linear-gradient(
      90deg,
      var(--s-surface) 0 28px,
      #1b4a30 28px 56px
    );
  }

  .profile-theme--v2.profile-theme--stadium
    [data-profile-block='shop']
    [data-product-image] {
    width: 100%;
    height: auto;
  }

  .profile-theme--v2.profile-theme--stadium
    [data-profile-block='shop']
    [data-product-title] {
    font-size: 21px;
  }

  .profile-theme--v2.profile-theme--stadium [data-profile-video-frame] {
    background:
      radial-gradient(
        circle at 50% 50%,
        transparent 87px,
        rgba(255, 255, 255, 0.75) 87px 90px,
        transparent 90px
      ),
      linear-gradient(
          90deg,
          transparent calc(50% - 1.5px),
          rgba(255, 255, 255, 0.75) calc(50% - 1.5px) calc(50% + 1.5px),
          transparent calc(50% + 1.5px)
        )
        center / 100% calc(100% - 36px) no-repeat,
      repeating-linear-gradient(90deg, #2e8b46 0 62px, #279140 62px 124px);
  }

  .profile-theme--v2.profile-theme--stadium
    [data-profile-video-frame]:not(:has(img, iframe))::before {
    inset: 18px;
    border-width: 3px;
  }

  .profile-theme--v2.profile-theme--stadium [data-profile-play] {
    width: 76px;
    height: 76px;
  }

  .profile-theme--v2.profile-theme--stadium [data-profile-play] svg {
    width: 28px;
    height: 28px;
  }

  .profile-theme--v2.profile-theme--stadium footer [data-profile-ghost] {
    height: 40px;
    font-size: 17px;
  }
}

/* ---------- Анимации ---------- */

@keyframes stadium-swing {
  from {
    transform: rotate(var(--s-a1, -20deg));
  }
  to {
    transform: rotate(var(--s-a2, 20deg));
  }
}

@keyframes stadium-flash {
  0%,
  86%,
  100% {
    opacity: 0;
  }
  89% {
    opacity: 1;
  }
}

@keyframes stadium-blink {
  0%,
  49% {
    opacity: 0;
  }
  50%,
  100% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .profile-theme--v2.profile-theme--stadium .stadium-decor *,
  .profile-theme--v2.profile-theme--stadium [data-profile-battle-dot] {
    animation: none;
  }

  .profile-theme--v2.profile-theme--stadium .stadium-beam--1 {
    transform: rotate(-25deg);
  }

  .profile-theme--v2.profile-theme--stadium .stadium-beam--2 {
    transform: rotate(25deg);
  }
}
