/* NURA-team: the approved clear-glass sketch, adapted to every live screen. */
:root {
  color-scheme: dark;
  --bg: #050505;
  --text: #fafafa;
  --muted: #c5c5ca;
  --gold: #fff;
  --green: #fff;
  --red: #ffc3c3;
  --line: #ffffff29;
  --panel: #141416c7;
  --radius: 28px;
  --dock-height: 174px;
  --glass: linear-gradient(145deg, #ffffff20, #ffffff05 48%, #ffffff17);
  --glass-shadow: inset 0 1px 1px #ffffff75, inset 0 -1px 1px #ffffff28, 0 8px 24px #0004;
  --neon: 0 0 2px #fff, 0 0 10px #fff9, 0 0 24px #fff4e88c, 0 0 45px #ffe9c044;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-bottom: 220px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    15px/1.6 -apple-system,
    BlinkMacSystemFont,
    "SF Pro Display",
    "Segoe UI",
    sans-serif;
  isolation: isolate;
  overflow-wrap: anywhere;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
a {
  color: inherit;
  text-decoration: none;
}
[hidden] {
  display: none !important;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}
h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.035em;
}
p {
  margin: 12px 0;
}
svg {
  flex-shrink: 0;
}
.site-film {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: #050505;
  pointer-events: none;
}
.site-film video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  opacity: 0.88;
}
.site-film:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0007 0%, #0002 38%, #0004 75%, #000b 100%);
}
.site-film #camera-flash {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
  mix-blend-mode: screen;
  pointer-events: none;
}
.site-film #camera-flash.pulse {
  animation: camera-pulse 130ms ease-out both;
}
@keyframes camera-pulse {
  0%,
  8% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.demo-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 1180px;
  margin: auto;
  padding: 10px 30px 0;
  font-size: 9px;
  letter-spacing: 0.08em;
  color: #d4d4d9;
  min-height: 30px;
}
.demo-bar button {
  font-size: 11px;
  letter-spacing: 0;
  padding: 7px 12px;
}
.top {
  max-width: 1180px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 28px 30px 30px;
}
.brand {
  display: block;
  position: relative;
  padding: 0;
  max-width: 100%;
  text-align: left;
  white-space: nowrap;
  font-size: clamp(72px, 10vw, 118px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.045em;
}
.brand span {
  font-size: 1em;
  line-height: inherit;
  font-weight: 500;
  letter-spacing: -0.045em;
  vertical-align: baseline;
}
.brand,
.brand span {
  color: #fffdf8;
  text-shadow: var(--neon);
}
.brand #brand-flash {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  z-index: 2;
}
.brand #brand-flash.pulse {
  animation: brand-pulse 130ms ease-out both;
}
@keyframes brand-pulse {
  0%,
  8% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.top-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.flash-toggle {
  font-size: 11px;
  padding: 9px 14px;
  min-height: 38px;
}
.video-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 14px;
  flex-shrink: 0;
}
#app {
  max-width: 1120px;
  margin: auto;
  padding: 0 24px calc(var(--dock-height) + env(safe-area-inset-bottom) + 38px);
  outline: none;
}
#app[data-admin="true"] {
  padding-bottom: 40px;
}
.hero {
  min-height: calc(100svh - 250px - var(--dock-height));
  display: flex;
  align-items: flex-start;
}
.hero-copy {
  width: 100%;
  padding: 6px 0 32px;
}
.home-info {
  max-width: 780px;
  width: 100%;
  padding: 26px 30px;
}
.home-info-text {
  white-space: pre-wrap;
  line-height: 1.75;
  color: var(--muted);
  font-size: 16px;
}
.loading {
  padding: 90px 0;
  text-align: center;
  color: var(--muted);
}
/* Thin luminous rims and restrained edge highlights, without changing tap areas. */
.btn,
.text-link,
.back,
.flash-toggle,
.video-toggle,
.demo-bar button,
.admin-tabs button,
.weekday span,
.bottom,
.bottom button.active,
.record-tabs {
  border: 1px solid #ffffff70;
  background: var(--glass);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(18px) saturate(110%);
  backdrop-filter: blur(18px) saturate(110%);
}
.btn,
.text-link,
.back,
.flash-toggle,
.demo-bar button,
.admin-tabs button {
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  gap: 9px;
  line-height: 1.4;
  transition:
    background 0.18s,
    border-color 0.18s,
    box-shadow 0.18s;
}
.btn {
  min-height: 50px;
  padding: 14px 23px;
  font-size: 14px;
  font-weight: 600;
}
.btn.secondary {
  background: linear-gradient(145deg, #ffffff12, #0b0b0b65);
  border-color: #ffffff48;
}
.btn.danger {
  color: var(--red);
  border-color: #ffc3c355;
  background: #30151b40;
}
.btn.small {
  min-height: 40px;
  padding: 10px 16px;
  font-size: 12px;
}
.btn.wide {
  margin-top: 8px;
}
.wide {
  width: 100%;
}
.text-link {
  min-height: 36px;
  padding: 8px 14px;
  font-size: 12px;
  vertical-align: middle;
}
.text-link.wide {
  margin-top: 14px;
}
.back {
  min-height: 40px;
  padding: 10px 18px;
  margin: 4px 0 22px;
  font-size: 13px;
}
.btn:hover,
.text-link:hover,
.back:hover,
.flash-toggle:hover,
.video-toggle:hover,
.admin-tabs button:hover {
  border-color: #fff;
  background: linear-gradient(145deg, #ffffff30, #ffffff0d);
  text-decoration: none;
}
.btn:active,
.text-link:active {
  box-shadow: inset 0 1px 6px #0005;
}
.telegram-plane {
  display: block;
  width: 17px;
  height: 17px;
}
.card,
.detail-layout > section,
.empty,
.metric,
.table-wrap,
.timeline,
.schedule-builder,
dialog {
  border: 1px solid #ffffff45;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #28282bba, #111114d6 60%, #242428b8);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  box-shadow:
    inset 0 1px 1px #ffffff34,
    inset 0 -1px 1px #ffffff15,
    0 16px 45px #0003;
}
.card {
  padding: 28px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 6px;
}
.course-card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: left;
  width: 100%;
  min-height: 238px;
  transition:
    border-color 0.18s,
    background 0.18s;
}
.course-card:hover {
  border-color: #ffffffa0;
  background: linear-gradient(135deg, #37373ccc, #151519d9);
  transform: none;
}
.course-card h3 {
  font-size: 28px;
  font-weight: 650;
  margin: 22px 0 12px;
}
.course-card p {
  margin: 0;
  color: var(--muted);
}
.course-foot {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 24px;
}
.course-foot strong {
  font-size: 26px;
  font-weight: 650;
  letter-spacing: -0.035em;
}
.number {
  font-size: 11px;
  color: #dfdfe5;
  letter-spacing: 0.08em;
}
.individual-price {
  font-size: 20px;
  display: block;
  margin-top: 20px;
  font-weight: 650;
}
.badge {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  font-size: 11px;
  line-height: 1.5;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid #ffffff30;
  background: #ffffff0c;
  color: var(--muted);
}
.badge.good,
.badge.gold {
  border-color: #ffffff70;
  color: #fff;
  background: #ffffff13;
}
.badge.red {
  color: var(--red);
  border-color: #ffc3c355;
}
.muted {
  color: var(--muted);
}
.small-text {
  font-size: 13px;
}
.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.row.wrap {
  flex-wrap: wrap;
}
.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 0 28px;
  flex-wrap: wrap;
}
.page-title {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
  margin: 0;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 32px 0 20px;
}
.section-head h2 {
  font-size: 25px;
  margin: 0;
}
.section-head p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 22px;
}
.detail-layout > section {
  padding: 28px;
}
.detail-title {
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 700;
  margin: 0 0 22px;
}
.description {
  white-space: pre-wrap;
  color: #ededf0;
}
.pricing {
  font-size: 42px;
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -0.04em;
  margin: 20px 0;
}
.pricing small {
  font-size: 14px;
  color: var(--muted);
}
.summary-list {
  list-style: none;
  padding: 0;
  margin: 22px 0;
}
.summary-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.summary-list strong {
  text-align: right;
}
.schedule {
  list-style: none;
  padding: 0;
  margin: 0;
}
.schedule li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.schedule .idx {
  font-size: 11px;
  color: var(--muted);
  min-width: 22px;
}
.schedule time {
  flex: 1;
  font-size: 14px;
}
.schedule small {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}
.sticky {
  position: sticky;
  top: 22px;
  align-self: start;
}
.note {
  background: #ffffff09;
  border: 1px solid #ffffff32;
  border-radius: 18px;
  padding: 16px 18px;
  font-size: 13px;
  line-height: 1.7;
  color: #dedee4;
  margin: 20px 0;
}
.note.gold {
  color: #fff;
  border-color: #ffffff50;
}
.form-shell {
  max-width: 660px;
  margin: auto;
}
.form-shell > .card {
  margin-top: 24px;
}
.form-shell.center.card {
  margin-top: 22px;
}
.fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
}
.field {
  display: block;
  min-width: 0;
  font-size: 13px;
  color: #e0e0e7;
  margin-bottom: 20px;
}
.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 52px;
  margin-top: 9px;
  padding: 14px 16px;
  border: 1px solid #ffffff3b;
  border-radius: 16px;
  background: #0c0c106b;
  color: #fff;
  box-shadow: inset 0 2px 8px #0003;
  outline: none;
  font-size: 16px;
  color-scheme: dark;
}
.field textarea {
  resize: vertical;
  min-height: 106px;
  line-height: 1.6;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #ffffffb3;
  box-shadow:
    0 0 0 3px #ffffff13,
    inset 0 1px 6px #0004;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #9c9ca7;
}
.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--muted);
  margin: 22px 0;
  line-height: 1.8;
}
.check input {
  accent-color: #fff;
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  margin: 4px 0 0;
}
.check .text-link {
  font: inherit;
  padding: 2px 10px;
  min-height: 30px;
}
.identity-note {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 22px;
  font-size: 13px;
  line-height: 1.8;
}
.form-error {
  color: var(--red);
  font-size: 13px;
  margin: 14px 0;
}
.form-error:empty {
  display: none;
}
.actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.center {
  text-align: center;
}
.center .actions,
.success .actions {
  justify-content: center;
}
.success {
  padding: 36px;
  margin-top: 22px;
}
.success-mark {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin: 4px auto 26px;
  border: 1px solid #ffffff90;
  border-radius: 50%;
  background: var(--glass);
  box-shadow:
    var(--glass-shadow),
    0 0 30px #ffffff15;
  color: #fff;
  font-size: 32px;
}
.success h2,
.invitation h2 {
  font-size: 22px;
  line-height: 1.45;
  margin: 0 0 20px;
  font-weight: 600;
}
.invitation {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 26px;
}
.record {
  margin-bottom: 18px;
}
.record h3 {
  font-size: 28px;
  font-weight: 650;
  margin: 16px 0 12px;
}
.record > strong {
  font-size: 23px;
  font-weight: 600;
}
.record details {
  margin-top: 22px;
}
.record summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 10px 18px;
  border: 1px solid #ffffff48;
  border-radius: 999px;
  background: var(--glass);
  box-shadow: var(--glass-shadow);
  font-size: 13px;
}
.record summary::-webkit-details-marker {
  display: none;
}
.record details[open] summary {
  margin-bottom: 16px;
}
.record-tabs {
  display: inline-flex;
  gap: 5px;
  padding: 6px;
  border-radius: 999px;
  margin: 0 0 26px;
  max-width: 100%;
}
.record-tabs .btn {
  min-height: 44px;
  font-size: 13px;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 11px 18px;
}
.record-tabs .btn.active {
  background: var(--glass);
  border-color: #ffffff80;
  box-shadow: var(--glass-shadow);
  color: #fff;
}
.empty {
  padding: 50px 24px;
  text-align: center;
}
.empty h2 {
  font-size: 30px;
  font-weight: 650;
}
.empty p {
  max-width: 380px;
  margin: 12px auto 28px;
  color: var(--muted);
}
/* One shared dock: navigation, one divider, and compact footer actions. */
.bottom-shell {
  position: fixed;
  z-index: 10;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 720px);
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(0deg, #000e, #0006 80%, transparent);
  pointer-events: none;
}
.bottom-shell > * {
  pointer-events: auto;
}
.bottom {
  display: flex;
  align-items: stretch;
  border-radius: 999px;
  padding: 6px;
  gap: 4px;
  min-height: 64px;
}
.bottom button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 0;
  border-radius: 999px;
  min-height: 50px;
  padding: 10px 12px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.25;
  color: #c7c7ce;
  white-space: nowrap;
}
.bottom button.active {
  color: #fff;
  border-color: #ffffffa0;
  font-weight: 650;
  background: linear-gradient(145deg, #ffffff33, #ffffff0e);
  box-shadow:
    inset 0 1px 2px #ffffffe0,
    inset 0 -1px 2px #ffffff70,
    0 0 12px #ffffff12;
}
.footer-note {
  border-top: 1px solid #ffffff45;
  margin-top: 14px;
  padding: 12px 0 0;
  font-size: 11px;
}
.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-note .text-link {
  font-size: 11px;
  padding: 9px 14px;
  min-height: 36px;
  white-space: nowrap;
  gap: 8px;
}
.footer-note .telegram-plane {
  width: 15px;
  height: 15px;
}
.home-shortcut {
  display: contents;
}
.home-shortcut:empty {
  display: none;
}
.home-shortcut .btn {
  font-size: 11px;
  font-weight: 400;
  min-height: 36px;
  padding: 9px 13px;
  white-space: nowrap;
}
.home-shortcut .btn.secondary {
  background: var(--glass);
  border-color: #ffffff70;
}
.bottom-shell .footer-note {
  margin-bottom: 0;
}
.editor .footer-note,
#app[data-admin="true"] > .footer-note {
  margin-top: 32px;
  padding-top: 22px;
}
.admin-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 7px;
  margin: 0 0 28px;
  border: 1px solid #ffffff30;
  background: #1515198c;
  border-radius: 999px;
  scrollbar-width: thin;
}
.admin-tabs button {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 11px 18px;
  font-size: 13px;
  border-color: transparent;
  box-shadow: none;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.admin-tabs button.active {
  border-color: #ffffff80;
  background: var(--glass);
  box-shadow: var(--glass-shadow);
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 26px;
}
.metric {
  padding: 22px;
  border-radius: 22px;
  min-width: 0;
}
.metric strong {
  display: block;
  font-size: 28px;
  line-height: 1.3;
  font-weight: 650;
  letter-spacing: -0.03em;
}
.metric span {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 9px;
  letter-spacing: 0.05em;
}
.table-wrap {
  overflow-x: auto;
  padding: 8px 20px;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 13px;
}
td,
th {
  padding: 18px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}
td:first-child,
th:first-child {
  padding-left: 0;
}
tbody tr:last-child td {
  border-bottom: 0;
}
.timeline {
  list-style: none;
  padding: 26px;
}
.timeline li {
  position: relative;
  border-left: 1px solid #ffffff38;
  padding: 0 0 26px 24px;
  font-size: 13px;
}
.timeline li:before {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  left: -3.5px;
  top: 8px;
}
.timeline small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 8px;
}
.editor {
  max-width: 780px;
  margin: auto;
}
.editor > .card {
  margin-top: 24px;
}
.schedule-builder {
  padding: 22px;
  margin: 20px 0 26px;
  border-radius: 22px;
  background: #ffffff07;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.series-fields {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 14px;
}
.weekday-picker {
  border: 0;
  padding: 0;
  margin: 0 0 14px;
}
.weekday-picker legend {
  font-size: 13px;
  margin-bottom: 14px;
}
.weekday {
  display: inline-block;
  position: relative;
  margin: 0 5px 10px 0;
}
.weekday input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.weekday span {
  display: block;
  min-width: 46px;
  border-radius: 999px;
  padding: 10px 12px;
  text-align: center;
  font-size: 13px;
}
.weekday input:checked + span {
  border-color: #fff;
  background: #ffffff2a;
}
.weekday input:focus-visible + span {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
#series-status:empty {
  display: none;
}
.edit-slot {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 10px;
}
.edit-slot > span {
  font-size: 12px;
  color: var(--muted);
}
.edit-slot input {
  margin: 0;
}
.remove-slot {
  font-size: 25px;
  min-height: 42px;
  min-width: 38px;
  border: 1px solid #ffffff30;
  border-radius: 50%;
  background: #ffffff08;
}
.offer {
  max-width: 800px;
  margin: auto;
  font-size: 15px;
  line-height: 1.85;
}
.offer h2 {
  font-size: 23px;
  margin: 32px 0 16px;
}
.offer a {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border: 1px solid #ffffff45;
  border-radius: 999px;
  font-size: inherit;
}
.separator {
  height: 1px;
  background: var(--line);
  margin: 26px 0;
}
#toast {
  position: fixed;
  z-index: 50;
  left: 50%;
  bottom: calc(var(--dock-height) + env(safe-area-inset-bottom) + 12px);
  transform: translateX(-50%);
  max-width: min(90%, 560px);
  padding: 16px 22px;
  border: 1px solid #ffffff70;
  border-radius: 22px;
  background: #202023ee;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--glass-shadow);
  color: #fff;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
#toast.show {
  opacity: 1;
}
dialog {
  max-width: 460px;
  width: calc(100% - 36px);
  padding: 30px;
  color: var(--text);
  background: #18181cef;
}
dialog::backdrop {
  background: #0009;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
dialog h3 {
  font-size: 28px;
  font-weight: 650;
  margin-top: 0;
}
dialog p {
  color: var(--muted);
  font-size: 14px;
}
@media (max-width: 700px) {
  .demo-bar {
    padding: 8px 20px 0;
    font-size: 8px;
    letter-spacing: 0.025em;
  }
  .top {
    padding: 24px 20px 26px;
    gap: 12px;
  }
  .brand {
    font-size: clamp(44px, 14vw, 90px);
  }
  .top-controls {
    width: 100%;
    justify-content: flex-end;
  }
  .flash-toggle {
    font-size: 10px;
    min-height: 34px;
    padding: 8px 12px;
  }
  .video-toggle {
    width: 34px;
    height: 34px;
  }
  #app {
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero {
    min-height: calc(100svh - 225px - var(--dock-height));
  }
  .hero-copy {
    padding-top: 0;
  }
  .home-info {
    padding: 22px;
    border-radius: 24px;
  }
  .home-info-text {
    font-size: 14px;
  }
  .grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .card {
    padding: 24px;
    border-radius: 24px;
  }
  .course-card {
    min-height: 222px;
  }
  .course-card h3 {
    font-size: 27px;
    margin-top: 22px;
  }
  .individual-price {
    font-size: 18px;
  }
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .detail-layout > section {
    padding: 24px;
    border-radius: 24px;
  }
  .sticky {
    position: static;
  }
  .detail-title {
    font-size: 36px;
  }
  .page-title {
    font-size: 32px;
  }
  .page-head {
    padding-bottom: 24px;
  }
  .fields {
    gap: 0 12px;
  }
  .summary-list li {
    font-size: 13px;
  }
  .record h3 {
    font-size: 26px;
  }
  .record-tabs {
    width: 100%;
    display: flex;
  }
  .record-tabs .btn {
    flex: 1;
    min-width: 0;
    padding: 10px;
    font-size: 12px;
  }
  .success {
    padding: 30px 24px;
  }
  .success h2,
  .invitation h2 {
    font-size: 20px;
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .metric {
    padding: 20px;
  }
  .metric strong {
    font-size: 25px;
  }
  .series-fields {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .series-fields .field:first-child {
    grid-column: 1/-1;
  }
  .schedule-builder {
    padding: 18px;
  }
  .weekday span {
    min-width: 38px;
    padding: 9px 10px;
    font-size: 12px;
  }
  .weekday {
    margin-right: 2px;
  }
  .schedule li {
    gap: 12px;
  }
  .schedule time {
    font-size: 13px;
  }
  .offer {
    font-size: 14px;
    line-height: 1.85;
  }
  .offer h2 {
    font-size: 22px;
  }
  .offer .page-title {
    font-size: 30px;
  }
  .bottom-shell {
    padding-left: 18px;
    padding-right: 18px;
  }
  .bottom {
    min-height: 58px;
    padding: 5px;
  }
  .bottom button {
    min-height: 46px;
    font-size: 13px;
    padding: 9px 10px;
  }
  .footer-links {
    gap: 7px;
  }
  .footer-note .text-link {
    padding: 9px 12px;
    font-size: 10px;
  }
  .home-shortcut .btn {
    padding: 9px 11px;
    font-size: 10px;
  }
  .footer-note .telegram-plane {
    width: 14px;
    height: 14px;
  }
}
@media (max-width: 380px) {
  #app {
    padding-left: 16px;
    padding-right: 16px;
  }
  .top {
    padding-left: 16px;
    padding-right: 16px;
  }
  .demo-bar {
    padding-left: 16px;
    padding-right: 16px;
  }
  .fields {
    grid-template-columns: 1fr;
  }
  .bottom-shell {
    padding-left: 14px;
    padding-right: 14px;
  }
  .bottom button {
    font-size: 12px;
    padding: 9px 7px;
  }
  .footer-links {
    gap: 5px;
  }
  .footer-note .text-link {
    padding: 8px 10px;
  }
  .home-shortcut .btn {
    padding: 8px 9px;
    font-size: 9px;
  }
  .card,
  .detail-layout > section {
    padding: 20px;
  }
  .edit-slot {
    grid-template-columns: 18px minmax(0, 1fr) 34px;
    gap: 6px;
  }
  .weekday span {
    min-width: 34px;
    padding: 9px 7px;
  }
  .actions .btn {
    max-width: 100%;
    white-space: normal;
  }
  .brand {
    font-size: 14vw;
  }
}
/* Keep participant details and payment controls readable on a phone. */
@media (max-width: 600px) {
  #app[data-admin="true"] .table-wrap table,
  #app[data-admin="true"] .table-wrap tbody,
  #app[data-admin="true"] .table-wrap tr,
  #app[data-admin="true"] .table-wrap td {
    display: block;
  }
  #app[data-admin="true"] .table-wrap thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  #app[data-admin="true"] .table-wrap tbody tr {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }
  #app[data-admin="true"] .table-wrap tbody tr:last-child {
    border-bottom: 0;
  }
  #app[data-admin="true"] .table-wrap td {
    padding: 10px 0;
    border: 0;
  }
  #app[data-admin="true"] .table-wrap td::before {
    display: block;
    margin-bottom: 6px;
    font-size: 11px;
    color: var(--muted);
  }
  #app[data-admin="true"] .table-wrap td:nth-child(1)::before {
    content: "Участник";
  }
  #app[data-admin="true"] .table-wrap td:nth-child(2)::before {
    content: "Событие";
  }
  #app[data-admin="true"] .table-wrap td:nth-child(3)::before {
    content: "Статус";
  }
  #app[data-admin="true"] .table-wrap td .btn,
  #app[data-admin="true"] .table-wrap td .text-link {
    max-width: 100%;
    margin: 6px 8px 0 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
  #camera-flash,
  #brand-flash {
    display: none !important;
  }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .card,
  .detail-layout > section,
  .empty,
  .metric,
  .table-wrap,
  .timeline,
  dialog {
    background: #17171a;
  }
  .btn,
  .bottom,
  .record-tabs,
  .text-link,
  .back,
  .admin-tabs {
    background: #202023;
  }
  .bottom-shell {
    background: linear-gradient(0deg, #050505, transparent);
  }
}

/* Device safe area and Telegram floating controls are separate insets. */
:root {
  --nura-safe-top: max(
    env(safe-area-inset-top, 0px),
    var(--nura-tg-safe-top, 0px),
    var(--nura-tg-system-fallback-top, 0px)
  );
  --nura-top-inset: calc(
    var(--nura-safe-top) +
      max(var(--nura-tg-content-top, 0px), var(--nura-tg-legacy-top, 0px), var(--nura-tg-fullscreen-top, 0px))
  );
  --nura-bottom-inset: calc(
    max(env(safe-area-inset-bottom, 0px), var(--nura-tg-safe-bottom, 0px)) + var(--nura-tg-content-bottom, 0px)
  );
  --nura-left-inset: calc(
    max(env(safe-area-inset-left, 0px), var(--nura-tg-safe-left, 0px)) + var(--nura-tg-content-left, 0px)
  );
  --nura-right-inset: calc(
    max(env(safe-area-inset-right, 0px), var(--nura-tg-safe-right, 0px)) + var(--nura-tg-content-right, 0px)
  );
}
html {
  scroll-padding-top: calc(var(--nura-top-inset) + 12px);
}
body {
  padding-top: var(--nura-top-inset);
  padding-left: var(--nura-left-inset);
  padding-right: var(--nura-right-inset);
}
#app {
  padding-bottom: calc(var(--dock-height) + var(--nura-bottom-inset) + 38px);
}
.bottom-shell {
  padding-bottom: calc(12px + var(--nura-bottom-inset));
  padding-left: calc(18px + var(--nura-left-inset));
  padding-right: calc(18px + var(--nura-right-inset));
}
#toast {
  bottom: calc(var(--dock-height) + var(--nura-bottom-inset) + 12px);
}
html[data-telegram="true"] .hero {
  min-height: calc(var(--nura-viewport-height, 100svh) - var(--nura-top-inset) - 225px - var(--dock-height));
}
.course-card > .row {
  justify-content: flex-end;
}
/* Event card: title, key facts, price, then the enrollment state in the corner. */
.event-card h3 {
  margin: 0 0 10px;
}
.event-card .event-meta {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: #ededf0;
}
.event-price {
  display: block;
  margin-top: 18px;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.035em;
}
.event-foot {
  display: flex;
  justify-content: flex-end;
  margin-top: auto;
  padding-top: 20px;
}
.event-foot .badge {
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
}
.badge.enroll-open {
  color: #a9f2bb;
  border-color: #6bc98e88;
  background: #174d2a70;
}
.badge.enroll-closed {
  color: #ffb8b8;
  border-color: #e9797988;
  background: #6b232370;
}
@media (max-width: 700px) {
  .event-card h3 {
    margin-top: 0;
  }
  .event-card .event-meta {
    font-size: 15px;
  }
  .event-price {
    font-size: 27px;
  }
}
/* Keep native iOS date controls inside their grid cells; delete overlays its field. */
.series-fields {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
}
.series-fields > .field,
.edit-slot {
  min-inline-size: 0;
}
.field input[type="date"],
.field input[type="time"],
.field input[type="datetime-local"] {
  appearance: none;
  -webkit-appearance: none;
  min-inline-size: 0;
  max-inline-size: 100%;
  width: 100%;
  overflow: hidden;
}
.field input::-webkit-date-and-time-value {
  text-align: left;
  min-width: 0;
}
.field input::-webkit-datetime-edit {
  min-width: 0;
  padding: 0;
}
.edit-slot {
  position: relative;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  margin-top: 26px;
}
.edit-slot > span {
  grid-column: 1;
  grid-row: 1;
}
.edit-slot input {
  grid-column: 2;
  grid-row: 1;
  padding-right: 34px;
}
.edit-slot > .remove-slot {
  position: absolute;
  top: -12px;
  right: -8px;
  width: 40px;
  height: 40px;
  min-height: 40px;
  min-width: 0;
  padding: 0;
  display: grid;
  place-items: center;
  font-size: 25px;
  line-height: 1;
  border-color: #ffffff70;
  background: #242428;
  box-shadow: var(--glass-shadow);
  z-index: 1;
}
@media (max-width: 700px) {
  .series-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .top-controls {
    width: auto;
  }
}
@media (max-width: 480px) {
  .series-fields {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .series-fields .field:first-child {
    grid-column: auto;
  }
  .edit-slot {
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 8px;
  }
  .edit-slot input {
    grid-column: 2;
    grid-row: 1;
    padding: 14px 30px 14px 12px;
  }
}
.offer-key-points {
  padding-left: 1.35em;
  margin: 24px 0;
}
.offer-key-points li {
  padding-left: 0.3em;
  margin: 0 0 18px;
}
.offer-key-points strong {
  color: var(--text);
  font-weight: 650;
}
.offer-organizer {
  margin: 24px 0;
}
.offer-full {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 12px;
}
.offer-full > summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 650;
  list-style: none;
  border-radius: 16px;
  padding: 12px 16px;
  border: 1px solid #ffffff45;
  background: #ffffff08;
}
.offer-full > summary::-webkit-details-marker {
  display: none;
}
.offer-full > summary:hover {
  background: #ffffff12;
}
.offer-full > summary:focus-visible {
  outline: 2px solid white;
  outline-offset: 4px;
}
.offer-full[open] > summary {
  background: #ffffff12;
}
.offer-full-text {
  padding-top: 18px;
}
#nura-email-dialog {
  width: min(440px, calc(100% - 32px));
  max-height: calc(
    var(--nura-viewport-height, 100dvh) - var(--nura-top-inset, 0px) - var(--nura-bottom-inset, 0px) - 32px
  );
  overflow: auto;
  padding: 24px;
  color: #fff;
}
#nura-email-dialog h2 {
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.025em;
}
#nura-email-dialog .actions .btn {
  width: 100%;
}
#nura-email-dialog [role="status"]:empty {
  display: none;
}
#nura-email-dialog .email-address {
  user-select: text;
  -webkit-user-select: text;
  overflow-wrap: anywhere;
}

/* A deliberately prominent reminder before leaving to make a bank transfer. */
.payment-attention {
  margin: 22px 0 14px;
  padding: 20px 22px;
  border: 2px solid #000;
  border-radius: 22px;
  background: linear-gradient(145deg, #ffe875, #ffd43b);
  color: #080808;
  box-shadow:
    inset 0 1px 1px #fff9,
    0 5px 18px #0005;
  font-size: 16px;
  line-height: 1.55;
}
.payment-attention strong {
  font-weight: 750;
}
.booking-timer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 18px 0 24px;
  padding: 16px 18px;
  border: 1px solid #ffffff45;
  border-radius: 18px;
  background: var(--glass);
  font-size: 13px;
}
.booking-timer strong {
  font-size: 28px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.receipt-preference {
  padding: 14px 16px;
  border: 1px solid #ffffff32;
  border-radius: 18px;
  background: #ffffff09;
}
.receipt-request-status {
  color: #ffe875;
}
.participant-event h3 {
  font-size: 25px;
  margin: 0 0 16px;
}
.participant-event p {
  font-size: 14px;
}
@media (max-width: 380px) {
  .payment-attention {
    padding: 16px;
    font-size: 15px;
  }
  .booking-timer {
    padding: 14px;
    gap: 12px;
  }
  .booking-timer strong {
    font-size: 26px;
  }
}

/* The status badge carries its own text as well as a colour. */
.booking-status {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 14px;
}
.badge.status-confirmed {
  color: #a9f2bb;
  border-color: #6bc98e88;
  background: #174d2a70;
}
.badge.status-unconfirmed {
  color: #ffb8b8;
  border-color: #e9797988;
  background: #6b232370;
}
.event-counts {
  margin: 18px 0 24px;
  font-size: 14px;
}
.event-counts > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.event-counts dt {
  color: var(--muted);
}
.event-counts dd {
  margin: 0;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.consent-check {
  align-items: flex-start;
}
.consent-check > span {
  line-height: 1.6;
}
.consent-check input {
  margin-top: 3px;
}
.consent-check .text-link {
  display: inline;
  padding: 0;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: none;
  font: inherit;
  line-height: inherit;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  vertical-align: baseline;
}
@media (max-width: 600px) {
  #app[data-admin="true"] .table-wrap td:nth-child(3)::before {
    content: none;
  }
  .booking-status {
    font-size: 14px;
  }
}

/* Three steps from the approved payment mockup. */
.payment-checkout {
  max-width: 342px;
}
.payment-checkout .checkout-back {
  padding: 0;
  margin: 0 0 14px;
  border: 0;
  min-height: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-size: 13px;
  color: var(--muted);
  border-radius: 0;
}
.payment-checkout > .page-title {
  font-size: 25px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.6px;
  margin: 0 0 21px;
}
.payment-checkout > .payment-checkout-card {
  padding: 22px;
  margin-top: 0;
  border-radius: 27px;
}
.payment-course {
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--muted);
}
.payment-total {
  margin: 0 0 5px;
  font-size: 38px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -1px;
}
.payment-subtitle {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
.payment-checkout .payment-attention {
  margin: 19px 0;
  padding: 15px;
  border-radius: 18px;
  font-size: 13px;
  line-height: 1.6;
}
.payment-checkout .payment-attention strong {
  font-weight: 700;
}
.payment-checkout .booking-timer {
  padding: 0;
  margin: 0 0 24px;
  border: 0;
  border-radius: 0;
  background: none;
  font-size: 11px;
  gap: 8px;
  color: var(--muted);
}
.payment-checkout .booking-timer strong {
  font-size: 23px;
  line-height: 1.3;
  color: var(--text);
  letter-spacing: 0;
}
.payment-steps {
  padding: 0;
  margin: 0;
  list-style: none;
}
.payment-steps > li {
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  margin: 20px 0;
}
.payment-step-number {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid #ffffff50;
  border-radius: 50%;
  font-size: 12px;
}
.payment-steps h2 {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 650;
  letter-spacing: 0;
}
.payment-steps p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
.payment-recipient-phone {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 7px 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--text);
  cursor: text;
}
.payment-steps .checkout-copy {
  margin: 0;
  padding: 10px 11px;
  min-height: 0;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  background: #ffffff10;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.payment-checkout .receipt-preference {
  margin: 20px 0 4px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  font-size: 12px;
  gap: 9px;
  line-height: 1.6;
}
.payment-checkout .receipt-preference input {
  width: 16px;
  height: 16px;
  margin-top: 1px;
}
.checkout-actions {
  display: grid;
  gap: 12px;
  margin-top: 15px;
}
.checkout-actions > .btn {
  margin: 0;
  padding: 15px 12px;
  min-height: 0;
  border-radius: 26px;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.4;
}
.checkout-actions > .checkout-cancel {
  font-weight: 400;
  background: #ffffff08;
}
.checkout-help {
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}
.checkout-help a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 380px) {
  .payment-checkout > .payment-checkout-card {
    padding: 18px;
  }
  .payment-checkout .booking-timer {
    flex-wrap: wrap;
  }
  .payment-recipient-phone {
    font-size: 16px;
  }
}

/* One type scale from the Classes tab: 28px titles, 16px facts, 30px prices, 13px state labels. */
.grid {
  grid-auto-rows: 1fr;
}
.event-foot .badge {
  min-width: 150px;
  justify-content: center;
}
@media (hover: none) {
  .course-card:hover {
    border-color: #ffffff45;
    background: linear-gradient(135deg, #28282bba, #111114d6 60%, #242428b8);
  }
}
.home-info-text {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  color: #ededf0;
}
.booking-status {
  margin: 0 0 4px;
}
.booking-status .badge,
.detail-summary > .badge {
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
}
.key-facts {
  margin: 18px 0 0;
  padding: 4px 18px;
  border: 1px solid #ffffff30;
  border-radius: 18px;
  background: #ffffff0b;
}
.key-facts > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.key-facts > div:last-child {
  border-bottom: 0;
}
.key-facts dt {
  flex-shrink: 0;
  font-size: 13px;
  color: var(--muted);
}
.key-facts dd {
  margin: 0;
  text-align: right;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: #fff;
}
.record h3 {
  margin: 0 0 12px;
}
.record details {
  margin-top: 16px;
}
.record details[open] summary {
  margin-bottom: 6px;
}
.record > .note {
  margin: 18px 0 0;
}
.record-actions {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}
.record-actions > .btn {
  width: 100%;
  margin: 0;
}
.record-actions > .btn.secondary,
.record-actions > .btn.danger {
  min-height: 44px;
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 500;
}
.record-actions > p {
  margin: 0;
}
.detail-title {
  margin: 0 0 22px;
}
.detail-layout > .detail-summary {
  grid-column: 2;
  grid-row: 1;
}
.detail-layout > section {
  grid-column: 1;
  grid-row: 1;
}
.detail-summary .pricing {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.035em;
  margin: 16px 0 0;
}
.detail-summary .key-facts {
  margin-bottom: 22px;
}
.detail-layout .description {
  margin-top: 0;
  font-size: 16px;
}
@media (max-width: 700px) {
  .home-info-text {
    font-size: 15px;
  }
  .key-facts {
    padding: 2px 16px;
  }
  .key-facts dd {
    font-size: 15px;
  }
  .detail-layout > .detail-summary,
  .detail-layout > section {
    grid-column: auto;
    grid-row: auto;
  }
  .detail-summary .pricing {
    font-size: 27px;
  }
  .detail-title {
    font-size: 32px;
    margin-bottom: 18px;
  }
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
/* My records: status and the dates toggle share the top line; price and the group link close the card. */
.record-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  flex-wrap: wrap;
}
.record-head .booking-status {
  margin: 0;
}
.record-dates-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  padding: 7px 15px;
  border: 1px solid #ffffff60;
  border-radius: 999px;
  background: var(--glass);
  box-shadow: var(--glass-shadow);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
  white-space: nowrap;
  transition:
    background 0.18s,
    border-color 0.18s;
}
.record-dates-toggle:hover {
  border-color: #fff;
}
.record-dates-toggle[aria-expanded="true"] {
  border-color: #ffffffa0;
  background: linear-gradient(145deg, #ffffff30, #ffffff0d);
}
.record-dates-toggle .chevron {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.18s;
}
.record-dates-toggle[aria-expanded="true"] .chevron {
  transform: translateY(2px) rotate(-135deg);
}
.record-dates {
  margin: 18px 0 4px;
  padding: 16px;
  border: 1px solid #ffffff2a;
  border-radius: 20px;
  background: #ffffff08;
}
.record-dates-meta {
  margin: 0 0 12px;
  font-size: 12px;
  color: var(--muted);
}
.course-dates {
  margin: 0;
}
/* Read-only month calendar after iPhone Calendar: red month, grey weekends, thin week rules, circled session days. */
.ios-calendar {
  --ios-red: #ff453a;
  padding: 16px 12px 8px;
  border-color: #ffffff24;
  border-radius: 22px;
  background: #1c1c1ee8;
  cursor: default;
  -webkit-user-select: none;
  user-select: none;
}
.ios-calendar .record-dates-meta {
  margin: 0 6px 12px;
}
.cal-month + .cal-month {
  margin-top: 20px;
}
.cal-title {
  margin: 0 6px 10px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ios-red);
}
.cal-title span {
  font-weight: 600;
  color: var(--muted);
}
.cal-weekdays,
.cal-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.cal-weekdays {
  padding-bottom: 6px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  color: var(--muted);
}
.cal-weekdays span:nth-child(n + 6) {
  color: #8e8e93;
}
.cal-days {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cal-days li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 0;
  min-height: 56px;
  padding: 5px 0 4px;
  border-top: 1px solid #ffffff1c;
  text-align: center;
}
.cal-num {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 17px;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.cal-day.is-weekend .cal-num {
  color: #8e8e93;
}
.cal-day time {
  font-size: 10px;
  line-height: 1.2;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.cal-day.has-session .cal-num {
  font-weight: 600;
  color: #fff;
  background: #ffffff26;
}
.cal-day.is-past {
  opacity: 0.42;
}
.cal-day.is-next .cal-num {
  color: #000;
  background: #fff;
}
.cal-day.is-next time {
  color: #fff;
  font-weight: 600;
}
.cal-day.is-today .cal-num {
  font-weight: 600;
  color: var(--ios-red);
}
.cal-day.is-today.has-session .cal-num {
  color: #fff;
  background: var(--ios-red);
}
.record-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.record-price {
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.record-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  margin-left: auto;
}
.record-links .btn {
  min-height: 44px;
  padding: 11px 20px;
}
.record-links p {
  margin: 0;
}
@media (max-width: 420px) {
  .record-links {
    width: 100%;
    margin-left: 0;
  }
  .record-links > .btn {
    flex: 1 1 auto;
  }
  .ios-calendar {
    padding: 14px 6px 6px;
  }
  .cal-num {
    width: 28px;
    height: 28px;
    font-size: 15px;
  }
  .cal-days li {
    min-height: 50px;
  }
}
/* Seats left sit opposite the enrollment state. */
.event-foot {
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.event-foot .badge {
  margin-left: auto;
}
.event-seats {
  font-size: 13px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.event-seats strong {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}
/* Admin event card: the translucent tint itself shows whether enrollment is open. */
.admin-event {
  display: flex;
  flex-direction: column;
  transition:
    border-color 0.18s,
    background 0.18s;
}
.admin-event.is-open {
  border-color: #6bc98e8c;
  background: linear-gradient(135deg, #1f4a2dba, #0f2416d6 60%, #1d4429b8);
}
.admin-event.is-closed {
  border-color: #e979798c;
  background: linear-gradient(135deg, #4f2020ba, #240f0fd6 60%, #4a1d1db8);
}
.admin-event-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 30px;
}
.admin-event-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.admin-event-seats {
  margin-left: auto;
  padding: 4px 11px;
  border: 1px solid #ffffff30;
  border-radius: 999px;
  background: #0000002e;
  font-size: 12px;
  color: #ededf0;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.admin-event h3 {
  font-size: 26px;
  font-weight: 650;
  margin: 16px 0 8px;
}
.admin-event p {
  margin: 0 0 4px;
}
.admin-event .actions {
  margin-top: auto;
  padding-top: 20px;
}
/* Price, duration, seats and status: one row of equal fields, inputs aligned at the bottom. */
.fields.course-numbers {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 12px;
}
.course-numbers .field {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.course-numbers .field input,
.course-numbers .field select {
  height: 52px;
  min-height: 52px;
  padding: 0 14px;
}
.course-numbers select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23fff' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 10px 6px;
}
@media (max-width: 700px) {
  .fields.course-numbers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* Back and the named link sit side by side. */
.back-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 22px;
}
.back-row .back {
  margin: 0;
}
/* Tab switches render in place: no sticky touch hover, no page collapse under the finger. */
.admin-panel {
  min-height: 60vh;
  overflow-anchor: none;
}
.admin-tabs button {
  transition: none;
}
@media (hover: none) {
  .admin-tabs button:hover {
    border-color: transparent;
    background: transparent;
  }
  .admin-tabs button.active:hover {
    border-color: #ffffff80;
    background: var(--glass);
  }
}
/* Participant card: who and how much, status, payment controls, then one action. */
.participant-list {
  display: grid;
  gap: 14px;
}
.participant-card {
  padding: 20px 22px;
  border: 1px solid #ffffff38;
  border-radius: 24px;
  background: linear-gradient(135deg, #28282bba, #111114d6 60%, #242428b8);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  box-shadow:
    inset 0 1px 1px #ffffff2a,
    0 10px 30px #0003;
}
.participant-card.is-removed {
  border-style: dashed;
  background: linear-gradient(135deg, #1d1d20b0, #0d0d10cc);
}
.participant-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.participant-who {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.participant-who strong {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.participant-amount {
  font-size: 17px;
  font-weight: 650;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.participant-card .booking-status {
  margin: 14px 0 0;
  font-size: 13px;
}
.participant-card .booking-status + p {
  margin: 6px 0 0;
}
.participant-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-top: 12px;
}
.participant-controls:empty {
  display: none;
}
.participant-controls p {
  flex-basis: 100%;
  margin: 0;
}
.participant-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.participant-actions .btn {
  flex: 1 1 100%;
  width: 100%;
  margin: 0;
}
/* Waiting list: rank, then name and contacts on one line that wraps only when it must. */
.queue-entry {
  display: flex;
  align-items: center;
  gap: 14px;
}
.queue-rank {
  flex: none;
  padding: 4px 11px;
  border: 1px solid #ffffff30;
  border-radius: 999px;
  background: #0000002e;
  font-size: 12px;
  color: #ededf0;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.queue-who {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  min-width: 0;
}
.queue-who strong {
  font-size: 16px;
  font-weight: 650;
}
.queue-who span {
  overflow-wrap: anywhere;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .participant-card {
    background: #17171a;
  }
}

/* Individual enrollment sits below all events, with the event status colours. */
.event-controls {
  flex-wrap: nowrap;
}
.event-controls > .btn:first-child {
  min-width: 0;
}
.individual-toggle {
  display: flex;
  width: 100%;
  margin-top: 18px;
}
.btn.individual-toggle[aria-checked="true"] {
  border-color: #6bc98e8c;
  background: linear-gradient(135deg, #1f4a2dba, #0f2416d6 60%, #1d4429b8);
}
.btn.individual-toggle[aria-checked="false"] {
  border-color: #e979798c;
  background: linear-gradient(135deg, #4f2020ba, #240f0fd6 60%, #4a1d1db8);
}
@media (max-width: 480px) {
  .event-controls > .btn,
  .individual-toggle {
    padding: 12px 14px;
    font-size: 12px;
  }
}

/* Individual request date: the «Даты события» toggle opens the same month calendar, days are buttons. */
.slot-picker .slot-toggle {
  display: flex;
  justify-content: space-between;
  width: 100%;
  min-height: 52px;
  margin-top: 9px;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 500;
}
.slot-calendar {
  margin: 12px 0 0;
}
.slot-month-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.slot-month-nav .cal-title {
  margin: 0;
}
.slot-month-step {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  color: var(--ios-red);
}
.slot-month-step:disabled {
  color: var(--muted);
  opacity: 0.35;
}
.cal-pick {
  display: grid;
  place-items: center;
  padding: 0;
  color: inherit;
}
.cal-pick:disabled {
  opacity: 1;
  cursor: default;
}
.cal-day.is-selected .cal-num {
  font-weight: 600;
  color: #000;
  background: #fff;
}
.slot-time {
  margin: 14px 6px 8px;
}
.slot-time input {
  -webkit-user-select: auto;
  user-select: auto;
}

/* Individual request card: equal buttons in even rows, the decision below a divider as on the participant card. */
.request-controls,
.request-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}
.request-controls {
  margin-top: 16px;
}
.request-controls:empty {
  display: none;
}
.request-actions {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.request-card .request-controls .btn,
.request-card .request-actions .btn {
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 11px 16px;
  font-size: 13px;
  white-space: normal;
  text-align: center;
}

/* ===== Дизайн v2 (пробная версия): неон, билеты на карточках, цвета статусов, эффекты ===== */
:root {
  --st-green: #a9f2bb;
  --st-green-bg: #1f4a2dc4;
  --st-green-line: #6bc98e8c;
  --st-red: #ffc3c3;
  --st-red-bg: #4f2020c4;
  --st-red-line: #e979798c;
  --st-yellow: #ffe875;
  --st-yellow-bg: #4a3f12c4;
  --st-yellow-line: #e9cf5a8c;
}

/* Логотип: ровное неоновое свечение и мягкая аура по бокам. Ничего не «дышит»:
   анимация тени текста или размытой ауры перерисовывает экран каждый кадр и подтормаживает на телефонах. */
.brand {
  isolation: isolate;
  text-shadow: 0 0 2px #fff, 0 0 12px #fffa, 0 0 32px #fff4e89c, 0 0 64px #ffe9c066;
}
.brand span {
  text-shadow: inherit;
}
.brand::before {
  content: "";
  position: absolute;
  left: -14%;
  right: -14%;
  top: 14%;
  bottom: 6%;
  border-radius: 50%;
  background: radial-gradient(closest-side, #fff6e050, #ffe9c01f 55%, transparent);
  filter: blur(22px);
  opacity: 0.85;
  z-index: -1;
  pointer-events: none;
}

/* Заголовки с неоном. */
.neon-title {
  color: #fff;
  text-shadow: 0 0 2px #fff, 0 0 10px #ffffffc0, 0 0 24px #fff4e89c, 0 0 46px #ffe9c066;
}
.event-card h3 {
  margin: 0 0 14px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.015em;
}

/* Карточки: при открытии страницы появляются по очереди и по стеклу один раз пробегает блик,
   при нажатии «вдавливаются». Бесконечный блик поверх стекла нагружал телефон. */
.cards-enter .grid > .card,
.cards-enter .record,
.cards-enter .participant-card {
  animation: card-rise 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.cards-enter .grid > .card:nth-child(2), .cards-enter .record:nth-of-type(2) { animation-delay: 0.08s; }
.cards-enter .grid > .card:nth-child(3), .cards-enter .record:nth-of-type(3) { animation-delay: 0.16s; }
.cards-enter .grid > .card:nth-child(4), .cards-enter .record:nth-of-type(4) { animation-delay: 0.24s; }
.cards-enter .grid > .card:nth-child(n + 5), .cards-enter .record:nth-of-type(n + 5) { animation-delay: 0.3s; }
@keyframes card-rise {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.course-card {
  overflow: hidden;
  transition: transform 0.16s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.18s, background 0.18s, box-shadow 0.16s;
}
.course-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 35%, #ffffff1f 48%, transparent 60%);
  transform: translateX(-120%);
  pointer-events: none;
}
.cards-enter .course-card::after {
  animation: glass-shine 1.1s ease-in-out 0.35s both;
}
@keyframes glass-shine {
  from { transform: translateX(-120%); }
  to { transform: translateX(120%); }
}
.course-card:active {
  transform: scale(0.97);
  box-shadow: inset 0 1px 1px #ffffff75, 0 0 0 1px #ffffff40, 0 0 28px #ffffff26;
}
.btn, .count-tile, .contact-row {
  transition: transform 0.16s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.16s, border-color 0.18s, background 0.18s;
}
.btn:active, .count-tile:active {
  transform: scale(0.97);
}
@media (prefers-reduced-motion: reduce) {
  .brand, .brand span, .brand::before, .neon-title, .course-card::after { animation: none; }
}

.individual-card .event-meta {
  font-size: 15px;
  color: #ffffffa6;
}
.event-foot {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.event-foot .badge:only-child {
  margin-left: auto;
}
.event-seats {
  font-size: 15px;
  font-weight: 600;
  color: #ffffffb3;
}
.event-seats strong {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
}

/* Цвета статусов со свечением: зелёный — открыто/подтверждено, красный — закрыто, жёлтый — ждёт, серый — неактуально. */
.badge.enroll-open,
.badge.enroll-closed,
.badge.status-confirmed,
.badge.status-unconfirmed,
.badge.status-closed {
  gap: 8px;
  font-weight: 700;
}
.badge.enroll-open::before,
.badge.enroll-closed::before,
.badge.status-confirmed::before,
.badge.status-unconfirmed::before,
.badge.status-closed::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}
.badge.enroll-open,
.badge.status-confirmed {
  color: var(--st-green);
  background: var(--st-green-bg);
  border-color: var(--st-green-line);
  box-shadow: 0 0 18px #6bc98e4d, inset 0 1px 1px #ffffff40;
}
.badge.enroll-closed {
  color: var(--st-red);
  background: var(--st-red-bg);
  border-color: var(--st-red-line);
  box-shadow: 0 0 18px #e979794d, inset 0 1px 1px #ffffff30;
}
.badge.status-unconfirmed {
  color: var(--st-yellow);
  background: var(--st-yellow-bg);
  border-color: var(--st-yellow-line);
  box-shadow: 0 0 18px #e9cf5a40, inset 0 1px 1px #ffffff30;
}
.badge.status-closed {
  color: #c7c7cc;
  background: #2a2a2ec4;
  border-color: #8e8e9366;
}
.badge.status-closed::before {
  box-shadow: none;
}
.badge.good {
  color: var(--st-green);
  background: var(--st-green-bg);
  border-color: var(--st-green-line);
  box-shadow: 0 0 18px #6bc98e4d;
}

/* Страница занятия: статус и цена в одну строку, ближайшее занятие светится. */
.detail-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.detail-status .pricing {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.cal-day.has-session .cal-num {
  box-shadow: 0 0 12px #ffffff2e;
  border: 1px solid #ffffff40;
}
.cal-day.is-next .cal-num {
  color: var(--st-green);
  background: var(--st-green-bg);
  border: 1px solid var(--st-green-line);
  box-shadow: 0 0 14px #6bc98e55;
}

/* «Мои записи»: место с иконкой, плашка, таймер брони. */
.record-place {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 600;
  color: #ffffffd9;
}
.record-place .pin {
  flex-shrink: 0;
}
.record-plate {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 14px;
  border-radius: 18px;
  background: #ffffff0d;
  border: 1px solid #ffffff1a;
}
.record-plate dt {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff8c;
}
.record-plate dd {
  margin: 3px 0 0;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
}
.record-timer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #4a3f1259;
  border: 1px solid #e9cf5a66;
  font-size: 14px;
  font-weight: 600;
  color: #ffffffcc;
}
.record-timer strong {
  font-size: 22px;
  font-weight: 800;
  color: var(--st-yellow);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 14px #ffe06680;
}
.record-note {
  margin: 14px 0 0;
  line-height: 1.45;
  color: #ffffffb3;
}
.record-note b {
  color: #fff;
  font-weight: 800;
}
.record-buttons {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.record-buttons .btn {
  width: 100%;
  margin: 0;
}

/* Плитки «Оплатили / Ждут оплаты / Лист ожидания». */
.count-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 20px;
}
.count-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 14px 12px;
  border-radius: 20px;
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.count-tile strong {
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.count-tile span {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.2;
}
.count-tile.tone-green { color: var(--st-green); background: #1f4a2d8c; border: 1px solid #6bc98e66; }
.count-tile.tone-yellow { color: var(--st-yellow); background: #4a3f128c; border: 1px solid #e9cf5a66; }
.count-tile.tone-white { color: #ffffffd9; background: #ffffff12; border: 1px solid #ffffff33; }
.count-tile.is-active { box-shadow: 0 0 0 2px currentColor, 0 0 24px currentColor; }

/* Карточка участника: имя и статус, контакты строками, сумма и чек, действия внизу. */
.participant-card .participant-top .booking-status {
  margin: 0;
  flex-shrink: 0;
}
.participant-contacts {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 14px;
  background: #ffffff0b;
  border: 1px solid #ffffff17;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}
.contact-row .telegram-plane,
.contact-icon {
  flex-shrink: 0;
  color: #ffffffa6;
}
.participant-pay {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 14px 2px 0;
}
.participant-pay .participant-amount {
  font-size: 18px;
  font-weight: 800;
}
.receipt-request-status {
  font-weight: 700;
  color: #ffffffb3;
}
.record h3 {
  margin: 14px 0 10px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.badge.status-waitlist {
  color: #ffffffd9;
  background: #ffffff14;
  border-color: #ffffff40;
  font-weight: 700;
}
.badge.good {
  gap: 8px;
  font-weight: 700;
}
.badge.good::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}
.payment-course.neon-title {
  margin: 0 0 6px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.1;
}

/* Первый экран (index.html) прячет шапку, видео и меню и убирает шапку из потока,
   пока не загрузились эти стили. */
.top,
.site-film,
.bottom-shell {
  visibility: visible;
}
.top {
  position: static;
}

/* Ручная запись и Telegram участника: привязана или ждёт ссылки. */
.claim-state {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 10px 0 0;
  color: #ffffffb3;
  font-size: 14px;
}
.claim-state.is-linked {
  color: var(--st-green);
  font-weight: 600;
}
#modal h2 {
  margin: 0 0 8px;
  font-size: 22px;
}
#modal .btn.wide {
  display: block;
  width: 100%;
  margin-top: 10px;
  text-align: center;
}
#modal a.btn.wide {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
