:root {
  --ink: #f5f8fb;
  --ink-soft: rgba(226, 235, 244, 0.72);
  --ink-deep: #111417;
  --paper: #05090d;
  --white: #ffffff;
  --line: rgba(255, 255, 255, 0.13);
  --surface: #0d141b;
  --surface-soft: #121b24;
  --surface-raised: #17232e;
  --panel: rgba(10, 15, 21, 0.76);
  --panel-strong: rgba(12, 18, 25, 0.86);
  --blue: #3a9ff6;
  --green: #19b850;
  --teal: #17c3a5;
  --cyan: #4aa9ff;
  --coral: #6bd6c8;
  --gold: #c9a54a;
  --stage: #080d12;
  --button-primary-border: rgba(146, 234, 223, 0.22);
  --button-primary-bg:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.07) 42%, rgba(255, 255, 255, 0.03)),
    linear-gradient(135deg, rgba(22, 82, 112, 0.72), rgba(13, 117, 102, 0.56));
  --button-primary-hover-border: rgba(166, 244, 231, 0.3);
  --button-primary-hover-bg:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.1) 42%, rgba(255, 255, 255, 0.04)),
    linear-gradient(135deg, rgba(28, 98, 126, 0.82), rgba(16, 139, 117, 0.64));
  --button-secondary-border: rgba(141, 208, 231, 0.18);
  --button-secondary-bg:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05) 42%, rgba(255, 255, 255, 0.02)),
    linear-gradient(135deg, rgba(10, 32, 59, 0.68), rgba(11, 72, 82, 0.52));
  --button-secondary-hover-border: rgba(150, 232, 221, 0.26);
  --button-secondary-hover-bg:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08) 42%, rgba(255, 255, 255, 0.03)),
    linear-gradient(135deg, rgba(13, 49, 83, 0.78), rgba(16, 104, 110, 0.58));
  --button-accent-shadow: rgba(4, 23, 35, 0.3);
  --button-glass-shadow:
    0 22px 46px rgba(4, 23, 35, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  --button-glass-shadow-strong:
    0 28px 68px rgba(4, 23, 35, 0.34),
    0 0 30px rgba(79, 184, 214, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #05090d 0%, #0a1118 42%, #05090d 100%);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

main {
  overflow: hidden;
}

body.scroll-reveal-ready .scroll-reveal {
  opacity: 0;
  filter: blur(8px);
  transform: translate3d(0, 28px, 0) scale(0.985);
  transition:
    opacity 720ms cubic-bezier(0.18, 0.72, 0.22, 1),
    filter 760ms cubic-bezier(0.18, 0.72, 0.22, 1),
    transform 760ms cubic-bezier(0.18, 0.72, 0.22, 1);
  transition-delay: var(--scroll-reveal-delay, 0ms);
  will-change: opacity, filter, transform;
}

body.scroll-reveal-ready .scroll-reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1);
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 14px 36px;
  border-bottom: 1px solid rgba(174, 231, 244, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03) 46%, rgba(255, 255, 255, 0.015)),
    rgba(5, 11, 17, 0.84);
  color: var(--white);
  box-shadow:
    0 18px 54px rgba(2, 10, 18, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    padding 180ms ease,
    box-shadow 180ms ease;
}

.site-header::before,
.site-header::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.site-header::before {
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 0%, rgba(95, 203, 230, 0.14), transparent 32%),
    radial-gradient(circle at 78% 8%, rgba(92, 224, 190, 0.1), transparent 28%);
}

.site-header::after {
  top: 0;
  bottom: 0;
  left: -160px;
  z-index: 0;
  width: 130px;
  background:
    linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.16) 48%, transparent 100%);
  opacity: 0.34;
  transform: skewX(-18deg);
  animation: glassSheen 8.6s ease-in-out infinite;
}

.site-header > * {
  position: relative;
  z-index: 1;
}

.site-header.is-scrolled,
.site-header.is-open {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035) 46%, rgba(255, 255, 255, 0.018)),
    rgba(5, 11, 17, 0.92);
  border-bottom: 1px solid rgba(174, 231, 244, 0.18);
  color: var(--ink);
  box-shadow:
    0 18px 58px rgba(2, 10, 18, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(26px) saturate(160%);
  -webkit-backdrop-filter: blur(26px) saturate(160%);
  padding-block: 10px;
}

.brand {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
  line-height: 1.05;
}

.brand small {
  max-width: 210px;
  color: currentColor;
  font-size: 0.75rem;
  opacity: 0.72;
}

.main-nav {
  position: relative;
  overflow: hidden;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(174, 231, 244, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04) 48%, rgba(255, 255, 255, 0.02)),
    rgba(8, 18, 28, 0.52);
  box-shadow:
    0 16px 42px rgba(2, 10, 18, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
}

.site-header.is-scrolled .main-nav,
.site-header.is-open .main-nav {
  border-color: rgba(174, 231, 244, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.045) 48%, rgba(255, 255, 255, 0.02)),
    rgba(8, 18, 28, 0.58);
}

.main-nav::before,
.main-nav::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.main-nav::before {
  inset: 1px 1px auto 1px;
  height: 42%;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05) 64%, transparent);
}

.main-nav::after {
  top: -20%;
  bottom: -20%;
  left: -72px;
  width: 58px;
  background:
    linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.28) 48%, transparent 100%);
  opacity: 0.28;
  transform: skewX(-18deg);
  animation: glassSheen 7.8s ease-in-out infinite;
  animation-delay: 1.1s;
}

.main-nav a {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 0.86rem;
  color: currentColor;
  opacity: 0.9;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    opacity 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.main-nav a::before {
  content: "";
  position: absolute;
  inset: 1px 1px auto 1px;
  height: 46%;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.04) 65%, transparent);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  border-color: rgba(177, 239, 229, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06) 48%, rgba(255, 255, 255, 0.02)),
    rgba(18, 63, 81, 0.38);
  color: var(--white);
  opacity: 1;
  transform: translateY(-1px);
  box-shadow:
    0 12px 28px rgba(2, 10, 18, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  outline: none;
}

.main-nav a:hover::before,
.main-nav a:focus-visible::before {
  opacity: 1;
}

.menu-toggle {
  position: relative;
  overflow: hidden;
  justify-self: end;
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(174, 231, 244, 0.22);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05) 48%, rgba(255, 255, 255, 0.02)),
    rgba(8, 18, 28, 0.52);
  color: currentColor;
  cursor: pointer;
  box-shadow:
    0 14px 32px rgba(2, 10, 18, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.menu-toggle::before {
  content: "";
  position: absolute;
  inset: 1px 1px auto 1px;
  height: 46%;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.05) 64%, transparent);
  pointer-events: none;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 160ms ease;
}

.menu-toggle span + span {
  margin-top: 5px;
}

.site-header.is-open .menu-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.site-header.is-open .menu-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.hero {
  --hero-banner-top: 83px;
  --hero-banner-render-width: 100vw;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-top: var(--hero-banner-top);
  background: #05090d url("public/assets/header/fbhmao-header-banner.jpg") center top / cover no-repeat;
  color: var(--white);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 83px -48px 0;
  pointer-events: none;
}

.hero::before {
  z-index: 0;
  background: url("public/assets/header/fbhmao-header-banner.jpg") center top / cover no-repeat;
  filter: blur(26px) saturate(1.12) brightness(0.58);
  transform: scale(1.08);
}

.hero::after {
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(5, 9, 13, 0.78) 0%, rgba(5, 9, 13, 0.14) 22%, rgba(5, 9, 13, 0.14) 78%, rgba(5, 9, 13, 0.78) 100%),
    linear-gradient(0deg, rgba(5, 9, 13, 0.72) 0%, rgba(5, 9, 13, 0) 38%);
}

.hero-banner-image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  object-position: center top;
  background: #05090d url("public/assets/header/fbhmao-header-banner.jpg") center top / cover no-repeat;
}

.hero-content {
  width: min(860px, calc(100% - 72px));
  padding: 150px 0 150px;
  margin-left: 36px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.split-copy h2,
.federation-copy h2,
.contact-section h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 0.95;
}

.hero h1 {
  max-width: 780px;
  font-size: 4.9rem;
}

.hero-lead {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.22rem;
}

.hero-support-widget {
  --support-desktop-right: 24px;
  --support-desktop-bottom: 104px;
  --support-tablet-right: 24px;
  --support-tablet-bottom: 84px;
  --support-mobile-top: 12px;
  --support-mobile-overlap: 18px;
  --support-mobile-width: 300px;
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 126px;
  z-index: 2;
  width: min(320px, calc(100vw - 48px));
  transform: translateX(-50%);
  isolation: isolate;
  perspective: 1200px;
}

.hero-support-widget::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: -14px;
  z-index: 0;
  width: 70%;
  height: 24px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(58, 159, 246, 0.28), transparent 72%);
  filter: blur(18px);
  opacity: 0.54;
  transition:
    opacity 320ms ease,
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  animation: heroSupportCardGlow 4.8s ease-in-out infinite;
}

.hero-support-toggle,
.hero-support-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(58, 159, 246, 0.22), transparent 36%),
    linear-gradient(180deg, rgba(8, 13, 18, 0.92), rgba(7, 10, 14, 0.96));
  color: var(--white);
  box-shadow:
    0 26px 68px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px);
  transition:
    transform 340ms cubic-bezier(0.19, 1, 0.22, 1),
    box-shadow 360ms cubic-bezier(0.19, 1, 0.22, 1),
    border-color 260ms ease,
    background 360ms ease;
}

.hero-support-toggle {
  width: 100%;
  align-items: center;
  justify-items: center;
  text-align: center;
  cursor: pointer;
}

.hero-support-toggle:hover,
.hero-support-toggle:focus-visible,
.hero-support-widget.is-open .hero-support-toggle {
  border-color: rgba(25, 184, 80, 0.42);
  color: var(--white);
  outline: none;
  transform: translateY(-3px) scale(1.01);
  box-shadow:
    0 34px 84px rgba(0, 0, 0, 0.36),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 42px rgba(102, 228, 149, 0.16);
}

.hero-support-widget:hover::after,
.hero-support-widget:focus-within::after,
.hero-support-widget.is-open::after {
  opacity: 0.7;
  transform: scale(1.05);
}

.hero-support-toggle-copy {
  display: grid;
  gap: 6px;
  justify-items: center;
  text-align: center;
}

.hero-support-toggle-copy strong {
  font-size: 1.08rem;
  line-height: 1.15;
}

.hero-support-badge {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(25, 184, 80, 0.18);
  color: #b8f5c8;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow:
    0 0 0 rgba(25, 184, 80, 0),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  animation: heroSupportBadgeGlow 2.8s ease-in-out infinite;
}

.hero-support-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  width: 100%;
  color: var(--white);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  filter: blur(10px) saturate(0.84);
  clip-path: inset(18% 0 0 0 round 22px);
  transform: translateY(18px) rotateX(-8deg) scale(0.94);
  transform-origin: bottom right;
  transition:
    opacity 340ms ease,
    transform 520ms cubic-bezier(0.19, 1, 0.22, 1),
    filter 420ms ease,
    clip-path 520ms cubic-bezier(0.19, 1, 0.22, 1),
    visibility 0s linear 340ms;
  box-shadow:
    0 30px 88px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 0 rgba(255, 158, 144, 0);
}

.hero-support-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), transparent 28%, transparent 68%, rgba(143, 214, 255, 0.14)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 38%);
  opacity: 0.55;
  transition:
    opacity 360ms ease,
    transform 520ms cubic-bezier(0.19, 1, 0.22, 1),
    background-position 900ms ease;
  transform: translateY(8px) scale(0.985);
  background-size: 140% 140%, auto;
  background-position: 100% 0, 0 0;
}

.hero-support-widget:hover .hero-support-panel,
.hero-support-widget:focus-within .hero-support-panel,
.hero-support-widget.is-open .hero-support-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  filter: blur(0) saturate(1);
  clip-path: inset(0 round 22px);
  transform: translateY(0) rotateX(0) scale(1);
  transition-delay: 0s;
  box-shadow:
    0 34px 96px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 30px rgba(111, 230, 146, 0.14),
    0 0 54px rgba(102, 228, 149, 0.1);
}

.hero-support-widget:hover .hero-support-panel::before,
.hero-support-widget:focus-within .hero-support-panel::before,
.hero-support-widget.is-open .hero-support-panel::before {
  opacity: 0.92;
  transform: translateY(0) scale(1);
  background-position: 0 0, 0 0;
}

.hero-support-copy {
  display: grid;
  gap: 5px;
  position: relative;
  z-index: 1;
  text-align: center;
  justify-items: center;
}

.hero-support-copy strong,
.hero-support-copy span {
  display: block;
}

.hero-support-copy strong {
  font-size: 1.2rem;
  line-height: 1.15;
}

.hero-support-copy span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  line-height: 1.35;
}

.hero-support-qr-frame {
  display: grid;
  place-items: center;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 16px 36px rgba(0, 0, 0, 0.16);
  opacity: 0.01;
  transform: translateY(10px) scale(0.96);
  transition:
    opacity 280ms ease 70ms,
    transform 480ms cubic-bezier(0.19, 1, 0.22, 1) 70ms,
    box-shadow 260ms ease;
}

.hero-support-qr {
  display: block;
  width: min(100%, 220px);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  transform: scale(0.985);
  transition: transform 420ms cubic-bezier(0.19, 1, 0.22, 1);
}

.hero-support-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(25, 184, 80, 0.96), rgba(18, 145, 64, 0.92));
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  box-shadow: 0 14px 30px rgba(25, 184, 80, 0.28);
  opacity: 0.01;
  transform: translateY(8px);
  transition:
    opacity 260ms ease 120ms,
    transform 420ms cubic-bezier(0.19, 1, 0.22, 1) 120ms,
    box-shadow 220ms ease,
    background 220ms ease;
}

.hero-support-widget:hover .hero-support-qr-frame,
.hero-support-widget:focus-within .hero-support-qr-frame,
.hero-support-widget.is-open .hero-support-qr-frame,
.hero-support-widget:hover .hero-support-action,
.hero-support-widget:focus-within .hero-support-action,
.hero-support-widget.is-open .hero-support-action {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hero-support-widget:hover .hero-support-qr,
.hero-support-widget:focus-within .hero-support-qr,
.hero-support-widget.is-open .hero-support-qr {
  transform: scale(1);
}

@keyframes heroSupportBadgeGlow {
  0%,
  100% {
    box-shadow:
      0 0 0 rgba(25, 184, 80, 0),
      inset 0 1px 0 rgba(255, 255, 255, 0.06);
    filter: brightness(1);
  }

  50% {
    box-shadow:
      0 0 26px rgba(25, 184, 80, 0.34),
      0 0 52px rgba(120, 235, 159, 0.22),
      0 0 74px rgba(77, 214, 124, 0.14),
      inset 0 1px 0 rgba(255, 255, 255, 0.18);
    filter: brightness(1.11);
  }
}

@keyframes heroSupportCardGlow {
  0%,
  100% {
    opacity: 0.54;
    transform: scale(1);
  }

  50% {
    opacity: 0.86;
    transform: scale(1.1);
  }
}

@keyframes heroGlassPulse {
  0%,
  100% {
    box-shadow:
      0 28px 68px rgba(4, 23, 35, 0.34),
      0 0 22px rgba(79, 184, 214, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.28),
      inset 0 -1px 0 rgba(255, 255, 255, 0.05);
  }

  50% {
    box-shadow:
      0 30px 74px rgba(4, 23, 35, 0.38),
      0 0 34px rgba(101, 209, 238, 0.14),
      inset 0 1px 0 rgba(255, 255, 255, 0.32),
      inset 0 -1px 0 rgba(255, 255, 255, 0.06);
  }
}

@keyframes glassSheen {
  0%,
  18% {
    transform: translateX(0) skewX(-18deg);
    opacity: 0;
  }

  30% {
    opacity: 0.34;
  }

  48% {
    opacity: 0.18;
  }

  64%,
  100% {
    transform: translateX(calc(100vw + 260px)) skewX(-18deg);
    opacity: 0;
  }
}

@keyframes glassButtonSheen {
  0%,
  26% {
    transform: translateX(-150%) skewX(-18deg);
    opacity: 0;
  }

  38% {
    opacity: 0.26;
  }

  58% {
    transform: translateX(165%) skewX(-18deg);
    opacity: 0;
  }

  100% {
    transform: translateX(165%) skewX(-18deg);
    opacity: 0;
  }
}



.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 0;
}

.primary-action,
.secondary-action,
.event-feature-body a,
.contact-actions a {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 18px;
  font-weight: 800;
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease,
    opacity 180ms ease,
    transform 180ms ease;
  will-change: transform;
}

.primary-action::before,
.secondary-action::before,
.install-app-action::before,
.event-feature-body a::before,
.calendar-download::before,
.charter-link::before,
.rules-source-link::before,
.contact-actions a::before,
.members-toggle::before,
.filter-button.is-active::before,
.auth-tabs button.is-active::before,
.admin-tab.is-active::before,
.danger-action::before {
  content: "";
  position: absolute;
  inset: 1px 1px auto 1px;
  height: 48%;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.1) 58%, rgba(255, 255, 255, 0));
  opacity: 0.9;
  pointer-events: none;
}

.primary-action::after,
.secondary-action::after,
.install-app-action::after,
.event-feature-body a::after,
.calendar-download::after,
.charter-link::after,
.rules-source-link::after,
.contact-actions a::after,
.members-toggle::after,
.filter-button.is-active::after,
.auth-tabs button.is-active::after,
.admin-tab.is-active::after,
.danger-action::after {
  content: "";
  position: absolute;
  top: -30%;
  bottom: -30%;
  left: 0;
  width: 38%;
  background:
    linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.26) 48%, transparent 100%);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-150%) skewX(-18deg);
  animation: glassButtonSheen 7.4s ease-in-out infinite;
}

.secondary-action::after,
.contact-actions a::after,
.rules-source-link::after,
.members-toggle::after {
  animation-delay: 1.2s;
}

.calendar-download::after,
.charter-link::after,
.filter-button.is-active::after,
.auth-tabs button.is-active::after,
.admin-tab.is-active::after,
.danger-action::after {
  animation-delay: 2.1s;
}

.install-app-action,
.calendar-download,
.charter-link,
.rules-source-link,
.members-toggle,
.filter-button.is-active,
.auth-tabs button.is-active,
.admin-tab.is-active,
.danger-action {
  position: relative;
  overflow: hidden;
}

.primary-action {
  border: 1px solid var(--button-primary-border);
  background: var(--button-primary-bg);
  color: var(--white);
  box-shadow: var(--button-glass-shadow);
}

.secondary-action {
  border: 1px solid var(--button-secondary-border);
  background: var(--button-secondary-bg);
  color: var(--white);
  box-shadow: var(--button-glass-shadow);
}

.primary-action:hover,
.event-feature-body a:hover,
.contact-actions a:hover {
  border-color: var(--button-primary-hover-border);
  background: var(--button-primary-hover-bg);
  box-shadow:
    0 24px 58px rgba(4, 32, 45, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05),
    0 0 26px rgba(85, 178, 214, 0.12);
  transform: translateY(-1px);
}

.secondary-action:hover,
.secondary-action:focus-visible {
  border-color: var(--button-secondary-hover-border);
  background: var(--button-secondary-hover-bg);
  color: var(--white);
  outline: none;
  box-shadow:
    0 22px 52px rgba(4, 24, 35, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04),
    0 0 20px rgba(51, 143, 181, 0.1);
}

button,
a,
summary,
[role="button"],
.quick-card,
.gallery-item,
.member-card,
.event-list article,
.process-grid article,
.admin-event-row,
.filter-button,
.admin-tab,
.calendar-download,
.charter-link,
.rules-source-link,
.member-social-link,
.contact-social,
.danger-action,
.avatar-file-button,
.event-image-button {
  -webkit-tap-highlight-color: transparent;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease,
    opacity 180ms ease,
    transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

button:active,
a:active,
summary:active,
[role="button"]:active,
.quick-card:active,
.gallery-item:active,
.member-card:active,
.event-list article:active,
.process-grid article:active,
.admin-event-row:active,
.filter-button:active,
.admin-tab:active,
.calendar-download:active,
.charter-link:active,
.rules-source-link:active,
.member-social-link:active,
.contact-social:active,
.danger-action:active,
.avatar-file-button:active,
.event-image-button:active {
  transform: translateY(2px) scale(0.972);
  filter: brightness(0.96);
  box-shadow:
    inset 0 3px 14px rgba(0, 0, 0, 0.34),
    0 8px 22px rgba(0, 0, 0, 0.18);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
  transform: none;
}

.hero-dock {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: stretch;
  gap: 14px;
  width: min(1180px, calc(100% - 48px));
  margin: -34px auto 0;
}

.hero-dock .hero-actions {
  position: relative;
  padding: 14px;
  border: 1px solid rgba(167, 235, 248, 0.18);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04) 42%, rgba(255, 255, 255, 0.02)),
    linear-gradient(135deg, rgba(9, 28, 48, 0.84), rgba(10, 32, 40, 0.76));
  box-shadow:
    0 28px 84px rgba(2, 10, 18, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(24px) saturate(165%);
  -webkit-backdrop-filter: blur(24px) saturate(165%);
}

.hero-dock .hero-actions::before {
  content: "";
  position: absolute;
  inset: 1px 1px auto 1px;
  height: 44%;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06) 62%, rgba(255, 255, 255, 0));
  pointer-events: none;
}

.install-app-action {
  order: -1;
  flex: 1 1 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid rgba(159, 239, 226, 0.24);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08) 42%, rgba(255, 255, 255, 0.03)),
    linear-gradient(135deg, rgba(23, 86, 117, 0.76), rgba(14, 129, 108, 0.58));
  color: var(--white);
  font-weight: 800;
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  box-shadow: var(--button-glass-shadow-strong);
}

.install-app-action:hover,
.install-app-action:focus-visible {
  border-color: rgba(182, 247, 236, 0.32);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.1) 42%, rgba(255, 255, 255, 0.04)),
    linear-gradient(135deg, rgba(27, 105, 133, 0.82), rgba(16, 148, 124, 0.64));
  box-shadow:
    0 24px 56px rgba(4, 33, 46, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05),
    0 0 28px rgba(58, 137, 187, 0.14);
  outline: none;
}

.install-app-hint {
  order: -1;
  flex-basis: 100%;
  margin: 4px 4px 2px;
  color: rgba(221, 239, 247, 0.78);
  font-size: 0.88rem;
  line-height: 1.45;
}

.hero-dock .primary-action,
.hero-dock .secondary-action,
.hero-dock .install-app-action {
  min-height: 54px;
  padding: 14px 22px;
  border-width: 1px;
  font-size: 0.98rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
}

.hero-dock .primary-action {
  border-color: rgba(197, 247, 241, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.12) 42%, rgba(255, 255, 255, 0.04)),
    linear-gradient(135deg, rgba(46, 134, 168, 0.82), rgba(31, 169, 144, 0.68));
  box-shadow: var(--button-glass-shadow-strong);
  animation: heroGlassPulse 4.8s ease-in-out infinite;
}

.hero-dock .secondary-action {
  border-color: rgba(174, 226, 247, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.09) 42%, rgba(255, 255, 255, 0.03)),
    linear-gradient(135deg, rgba(24, 83, 137, 0.76), rgba(18, 116, 125, 0.58));
  box-shadow:
    0 24px 60px rgba(4, 23, 35, 0.28),
    0 0 24px rgba(82, 168, 207, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  animation: heroGlassPulse 5.4s ease-in-out infinite;
  animation-delay: 0.4s;
}

.hero-dock .install-app-action {
  border-color: rgba(206, 250, 242, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.12) 42%, rgba(255, 255, 255, 0.04)),
    linear-gradient(135deg, rgba(35, 126, 159, 0.84), rgba(27, 176, 145, 0.7));
  animation: heroGlassPulse 4.6s ease-in-out infinite;
  animation-delay: 0.2s;
}

.hero-dock .primary-action:hover,
.hero-dock .primary-action:focus-visible,
.hero-dock .secondary-action:hover,
.hero-dock .secondary-action:focus-visible,
.hero-dock .install-app-action:hover,
.hero-dock .install-app-action:focus-visible {
  transform: translateY(-2px) scale(1.018);
  box-shadow:
    0 34px 82px rgba(4, 23, 35, 0.4),
    0 0 42px rgba(103, 217, 241, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid rgba(176, 229, 244, 0.18);
  border-radius: 24px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03) 38%, rgba(255, 255, 255, 0.02)),
    linear-gradient(135deg, rgba(9, 28, 48, 0.82), rgba(10, 27, 34, 0.74));
  box-shadow:
    0 28px 74px rgba(2, 10, 18, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
}

.hero-stats a {
  position: relative;
  overflow: hidden;
  padding: 18px 18px 17px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02) 48%, rgba(255, 255, 255, 0.01)),
    rgba(10, 17, 26, 0.34);
  transition:
    background 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.hero-stats a::before {
  content: "";
  position: absolute;
  inset: 1px 1px auto 1px;
  height: 40%;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05) 62%, rgba(255, 255, 255, 0));
  pointer-events: none;
}

.hero-stats a:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05) 48%, rgba(255, 255, 255, 0.02)),
    rgba(19, 42, 55, 0.44);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 16px 32px rgba(3, 17, 27, 0.22);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.hero-stats span {
  margin-top: 5px;
  color: rgba(235, 246, 252, 0.76);
  font-size: 0.84rem;
}

.section,
.split-section,
.contact-section {
  position: relative;
  isolation: isolate;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.section::before,
.section::after,
.split-section::before,
.split-section::after,
.contact-section::before,
.contact-section::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  pointer-events: none;
}

.section::before,
.split-section::before,
.contact-section::before {
  z-index: 0;
  background: var(--section-photo, url("public/assets/photos/stage-opening.jpg")) var(--section-position, center) / cover no-repeat;
  filter: blur(18px) saturate(1.24) brightness(0.95);
  opacity: 0.88;
  transform: translateX(-50%) scale(1.08);
}

.section::after,
.split-section::after,
.contact-section::after {
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(90deg, rgba(5, 9, 13, 0.5) 0%, rgba(5, 9, 13, 0.08) 24%, rgba(5, 9, 13, 0.08) 76%, rgba(5, 9, 13, 0.5) 100%),
    linear-gradient(180deg, rgba(5, 9, 13, 0.42), rgba(7, 12, 18, 0.18) 48%, rgba(5, 9, 13, 0.5));
}

.section > *,
.split-section > *,
.contact-section > * {
  position: relative;
  z-index: 2;
}

.section {
  padding: 96px 0;
}

.section-intro {
  --section-photo: url("public/assets/photos/stage-pose.jpg");
  --section-position: center 36%;
  padding-top: 86px;
}

.events-section {
  --section-photo: url("public/assets/photos/competition-team-2026.webp");
  --section-position: center 42%;
}

.split-section {
  --section-photo: url("public/assets/photos/stage-pose.jpg");
  --section-position: center 36%;
}

.media-section {
  --section-photo: url("public/assets/photos/foyer-team.jpg");
  --section-position: center 42%;
}

.members-section {
  --section-photo: url("public/assets/photos/stage-lineup.jpg");
  --section-position: center 40%;
}

.federation-section {
  --section-photo: url("public/assets/photos/foyer-team.jpg");
  --section-position: center 45%;
}

.judges-section {
  --section-photo: url("public/assets/photos/stage-opening.jpg");
  --section-position: center 38%;
}

.contact-section {
  --section-photo: url("public/assets/photos/foyer-arrival.jpg");
  --section-position: center 34%;
}

.partners-section {
  --section-photo: url("public/assets/photos/competition-after.jpg");
  --section-position: center 48%;
}

.section-heading {
  display: grid;
  justify-items: center;
  gap: 10px;
  max-width: 900px;
  margin: 0 auto 34px;
  text-align: center;
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.5);
}

.section-heading h2,
.split-copy h2,
.federation-copy h2,
.contact-section h2 {
  max-width: 760px;
  font-size: 3.1rem;
}

.section-heading h2 {
  margin-inline: auto;
}

.section-heading .section-heading-mini-title {
  max-width: none;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--coral);
}

.collapsible-section {
  display: block;
}

.collapsible-summary {
  position: relative;
  padding: 26px 20px;
  margin-bottom: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(21, 31, 41, 0.78), rgba(8, 13, 18, 0.78));
  cursor: pointer;
  list-style: none;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
}

.collapsible-summary::-webkit-details-marker {
  display: none;
}

.collapsible-summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-top: 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.4rem;
  line-height: 1;
}

.collapsible-section[open] .collapsible-summary {
  margin-bottom: 28px;
}

.collapsible-section[open] .collapsible-summary::after {
  content: "−";
}

.collapsible-summary:focus-visible {
  outline: 3px solid rgba(58, 159, 246, 0.34);
  outline-offset: 3px;
}

.collapsible-content {
  display: grid;
  gap: 24px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.quick-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(28, 42, 54, 0.88), rgba(9, 14, 20, 0.88));
  color: var(--ink);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.2);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.quick-card:hover {
  transform: translateY(-4px);
  border-color: rgba(107, 214, 200, 0.42);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.quick-index {
  width: max-content;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(58, 159, 246, 0.16);
  color: #8dcbff;
  font-weight: 800;
  font-size: 0.8rem;
}

.quick-card h3,
.event-list h3,
.event-feature h3,
.process-grid h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

.quick-card h3 {
  margin-top: auto;
  font-size: 1.5rem;
}

.quick-card p {
  margin: 12px 0 0;
  color: var(--ink-soft);
}

.events-section {
  display: grid;
  gap: 28px;
  border-top: 1px solid var(--line);
}

.calendar-download,
.charter-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  width: max-content;
  max-width: 100%;
  margin: -10px auto 0;
  padding: 14px 22px;
  border: 1px solid rgba(146, 234, 223, 0.22);
  border-radius: 999px;
  background: var(--button-primary-bg);
  color: var(--white);
  font-weight: 850;
  box-shadow:
    0 22px 46px rgba(4, 23, 35, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
}

.calendar-download:hover,
.calendar-download:focus-visible,
.charter-link:hover,
.charter-link:focus-visible {
  border-color: var(--button-primary-hover-border);
  background: var(--button-primary-hover-bg);
  outline: none;
}

.charter-link {
  margin: 24px 0 0;
}

.events-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(320px, 0.84fr);
  gap: 28px;
  align-items: start;
}

.events-layout.is-single .event-feature {
  grid-column: 1 / -1;
}

.event-feature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background:
    linear-gradient(160deg, rgba(14, 20, 28, 0.98), rgba(7, 12, 18, 0.96));
  color: var(--white);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(16px);
}

.event-feature::before,
.event-list article::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top right, rgba(58, 159, 246, 0.14), transparent 38%),
    radial-gradient(circle at bottom left, rgba(61, 195, 168, 0.18), transparent 34%);
}

.event-feature-body {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 14px;
  min-width: 0;
  padding: 34px 32px;
  background:
    linear-gradient(180deg, rgba(11, 17, 24, 0.92), rgba(8, 13, 18, 0.86));
}

.event-feature-media {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 100%;
  min-height: 100%;
  aspect-ratio: auto;
  background:
    radial-gradient(circle at 18% 14%, rgba(61, 195, 168, 0.18), transparent 30%),
    radial-gradient(circle at 78% 22%, rgba(58, 159, 246, 0.2), transparent 36%),
    linear-gradient(180deg, rgba(5, 9, 13, 0.98), rgba(12, 18, 25, 0.94));
}

.event-feature-media::after,
.event-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 9, 13, 0.02), rgba(5, 9, 13, 0.22));
}

.event-feature-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(22px);
  transform: scale(1.1);
  opacity: 0.42;
}

.event-feature-image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-feature-media.has-uploaded-image .event-feature-image {
  padding: 20px;
  object-fit: contain;
}

.event-eyebrow {
  width: max-content;
  margin: 0;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.event-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.event-meta-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 800;
}

.event-meta-pill.is-location {
  background: rgba(58, 159, 246, 0.14);
  color: #b9dcff;
}

.event-feature h3 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.04;
}

.event-feature p:not(.event-eyebrow) {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.event-feature-body a,
.event-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  min-height: 44px;
  margin-top: 4px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--button-primary-border);
  background: var(--button-primary-bg);
  color: var(--white);
  font-weight: 900;
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  box-shadow: var(--button-glass-shadow);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.event-feature-body a:hover,
.event-feature-body a:focus-visible,
.event-list a:hover,
.event-list a:focus-visible {
  border-color: var(--button-primary-hover-border);
  background: var(--button-primary-hover-bg);
  box-shadow:
    0 22px 48px rgba(4, 28, 38, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  outline: none;
  transform: translateY(-1px);
}

.event-list {
  display: grid;
  gap: 18px;
}

.event-list article {
  position: relative;
  display: grid;
  gap: 0;
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background:
    linear-gradient(160deg, rgba(13, 20, 27, 0.96), rgba(8, 13, 18, 0.92));
  color: var(--ink);
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
}

.event-card-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 248px;
  padding: 18px;
  background:
    radial-gradient(circle at 18% 14%, rgba(61, 195, 168, 0.14), transparent 34%),
    radial-gradient(circle at 82% 18%, rgba(58, 159, 246, 0.18), transparent 38%),
    linear-gradient(180deg, rgba(9, 14, 19, 0.98), rgba(12, 18, 25, 0.94));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.event-thumb {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-height: 320px;
  aspect-ratio: 5 / 4;
  border: 0;
  border-radius: 18px;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
}

.event-card-body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 24px;
}

.event-list h3 {
  font-size: 1.3rem;
  line-height: 1.08;
}

.event-card-body p:not(.event-eyebrow) {
  margin: 0;
  color: var(--ink-soft);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: 40px;
  align-items: center;
  padding: 84px 0;
  border-top: 1px solid var(--line);
}

.split-copy p:not(.eyebrow),
.federation-copy p,
.contact-section p {
  max-width: 660px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.partners-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 26px;
}

.partner-logo-pill {
  display: grid;
  place-items: center;
  min-width: 148px;
  min-height: 68px;
  padding: 14px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(8, 13, 18, 0.62);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.partner-logo-pill:hover,
.partner-logo-pill:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(111, 230, 146, 0.32);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.2),
    0 0 24px rgba(111, 230, 146, 0.08);
  outline: none;
}

.partner-logo-pill img {
  width: 120px;
  height: auto;
  object-fit: contain;
}

.partner-logo-pill.is-general {
  border-color: rgba(111, 230, 146, 0.28);
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.2),
    0 0 20px rgba(111, 230, 146, 0.08);
}

.partners-grid {
  display: grid;
  gap: 22px;
}

.partners-regular-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 320px));
  justify-content: center;
  gap: 18px;
}

.partner-card {
  display: grid;
  gap: 16px;
  justify-items: center;
  align-content: start;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background:
    radial-gradient(circle at top center, rgba(58, 159, 246, 0.18), transparent 46%),
    linear-gradient(180deg, rgba(8, 13, 18, 0.94), rgba(7, 11, 16, 0.98));
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  text-align: center;
}

.partner-card-note {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(25, 184, 80, 0.14);
  color: #b8f5c8;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.partner-card-note-general {
  background: rgba(255, 211, 94, 0.18);
  color: #ffe59a;
}

.partner-logo-shell {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 110px;
  padding: 20px 24px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.partner-logo-shell img {
  width: 120px;
  height: auto;
  object-fit: contain;
}

.partner-card-general {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 30px;
  gap: 20px;
  border-color: rgba(255, 211, 94, 0.24);
  box-shadow:
    0 28px 72px rgba(0, 0, 0, 0.24),
    0 0 28px rgba(255, 211, 94, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.partner-logo-shell-general {
  min-height: 150px;
  padding: 28px 32px;
}

.partner-card-general .partner-logo-shell img {
  width: min(260px, 100%);
}

.partner-card-copy {
  display: grid;
  gap: 8px;
}

.partner-card-copy h3 {
  margin: 0;
  font-size: 1.06rem;
}

.partner-card-general .partner-card-copy h3 {
  font-size: clamp(1.5rem, 2vw, 2rem);
}

.partner-card-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
  line-height: 1.45;
}

.partner-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-weight: 800;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.partner-card-link:hover,
.partner-card-link:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(111, 230, 146, 0.32);
  outline: none;
}

.partner-card-link.is-muted {
  color: rgba(255, 255, 255, 0.64);
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.check-list span {
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  border-left: 4px solid var(--green);
  border-radius: 6px;
  background: var(--panel);
  color: var(--ink);
  font-weight: 760;
  backdrop-filter: blur(14px);
}

.split-photo {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.split-photo img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  object-position: center 38%;
}

.media-section {
  border-top: 1px solid var(--line);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.gallery-links-panel {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    radial-gradient(circle at top right, rgba(58, 159, 246, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(15, 23, 31, 0.9), rgba(8, 13, 18, 0.92));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.gallery-links-heading {
  display: grid;
  gap: 6px;
}

.gallery-links-heading h3,
.gallery-links-heading p {
  margin: 0;
}

.gallery-links-heading p:not(.eyebrow) {
  color: var(--ink-soft);
}

.gallery-links-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.gallery-link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 72px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 16px 36px rgba(0, 0, 0, 0.18);
}

.gallery-link-card:hover,
.gallery-link-card:focus-visible {
  border-color: rgba(88, 182, 255, 0.42);
  background: rgba(58, 159, 246, 0.1);
  color: var(--white);
  outline: none;
  transform: translateY(-1px);
}

.gallery-link-card-copy {
  display: grid;
  gap: 4px;
}

.gallery-link-card-copy strong,
.gallery-link-card-copy span {
  display: block;
}

.gallery-link-card-copy strong {
  font-size: 1rem;
  line-height: 1.2;
}

.gallery-link-card-copy span {
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 800;
}

.gallery-link-card-icon {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #9bd3ff;
  font-size: 1.1rem;
  font-weight: 900;
}

.members-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 14px;
  align-items: end;
  margin-bottom: 24px;
}

.members-filter-bar {
  margin: 0;
}

.members-search {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 800;
}

.members-search input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  padding: 10px 12px;
  outline: none;
}

.members-search input:focus {
  border-color: rgba(58, 159, 246, 0.82);
  box-shadow: 0 0 0 3px rgba(58, 159, 246, 0.16);
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.member-card {
  position: relative;
  display: grid;
  gap: 16px;
  min-height: 100%;
  padding: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(21, 31, 41, 0.88), rgba(8, 13, 18, 0.9));
  color: var(--ink);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(16px);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.member-card.member-card-interactive {
  cursor: pointer;
}

.member-card.member-card-interactive:hover,
.member-card.member-card-interactive:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 24px 78px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.26);
  outline: none;
}

.member-card.member-card-interactive:active {
  transform: scale(0.985);
}

.member-card-honored,
.member-card-best_year,
.member-card-best_spring,
.member-card-best_autumn {
  --member-card-accent: rgba(182, 229, 255, 0.66);
  --member-card-glow: rgba(113, 196, 255, 0.16);
  --member-card-top-right: rgba(190, 235, 255, 0.14);
  --member-card-bottom-left: rgba(255, 245, 199, 0.12);
  --member-card-sheen: rgba(163, 225, 255, 0.16);
  --member-card-outline: rgba(226, 244, 255, 0.28);
  --member-card-inset: rgba(168, 227, 255, 0.08);
}

.member-card-honored {
  --member-card-accent: rgba(212, 241, 255, 0.88);
  --member-card-glow: rgba(120, 206, 255, 0.26);
  --member-card-top-right: rgba(213, 242, 255, 0.22);
  --member-card-bottom-left: rgba(255, 236, 176, 0.18);
  --member-card-sheen: rgba(210, 239, 255, 0.26);
  --member-card-outline: rgba(235, 248, 255, 0.42);
  --member-card-inset: rgba(192, 233, 255, 0.16);
  border-color: var(--member-card-accent);
  background:
    radial-gradient(circle at top right, rgba(224, 246, 255, 0.28), transparent 28%),
    radial-gradient(circle at 16% 18%, rgba(112, 204, 255, 0.18), transparent 24%),
    radial-gradient(circle at bottom left, rgba(255, 241, 190, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(31, 43, 56, 0.96), rgba(10, 16, 22, 0.96));
  box-shadow:
    0 28px 88px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(241, 250, 255, 0.12),
    0 0 40px rgba(120, 206, 255, 0.24);
  animation: honoredCardGlow 4.6s ease-in-out infinite;
}

.member-card-honored .member-avatar {
  border-color: rgba(219, 244, 255, 0.88);
  background:
    radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.48), transparent 30%),
    radial-gradient(circle at 60% 74%, rgba(255, 229, 161, 0.18), transparent 44%),
    linear-gradient(135deg, rgba(126, 207, 255, 0.7), rgba(17, 31, 43, 0.98));
  box-shadow:
    0 0 0 1px rgba(246, 252, 255, 0.24),
    0 0 22px rgba(141, 218, 255, 0.26),
    0 18px 34px rgba(0, 0, 0, 0.22);
}

.member-card-best_year {
  --member-card-accent: rgba(247, 214, 118, 0.72);
  --member-card-glow: rgba(237, 198, 86, 0.18);
  --member-card-top-right: rgba(255, 230, 152, 0.16);
  --member-card-bottom-left: rgba(255, 176, 74, 0.14);
  --member-card-sheen: rgba(255, 224, 138, 0.16);
  --member-card-outline: rgba(255, 231, 169, 0.28);
  --member-card-inset: rgba(255, 218, 122, 0.08);
  border-color: var(--member-card-accent);
  background:
    radial-gradient(circle at top right, var(--member-card-top-right), transparent 28%),
    radial-gradient(circle at bottom left, var(--member-card-bottom-left), transparent 34%),
    linear-gradient(180deg, rgba(45, 34, 18, 0.92), rgba(18, 14, 9, 0.94));
  box-shadow:
    0 24px 78px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 241, 204, 0.08),
    0 0 32px var(--member-card-glow);
}

.member-card-best_spring {
  --member-card-accent: rgba(120, 228, 183, 0.7);
  --member-card-glow: rgba(80, 214, 171, 0.18);
  --member-card-top-right: rgba(145, 243, 198, 0.16);
  --member-card-bottom-left: rgba(87, 183, 255, 0.12);
  --member-card-sheen: rgba(150, 245, 214, 0.15);
  --member-card-outline: rgba(184, 255, 223, 0.28);
  --member-card-inset: rgba(133, 241, 207, 0.08);
  border-color: var(--member-card-accent);
  background:
    radial-gradient(circle at top right, var(--member-card-top-right), transparent 28%),
    radial-gradient(circle at bottom left, var(--member-card-bottom-left), transparent 34%),
    linear-gradient(180deg, rgba(15, 42, 33, 0.92), rgba(9, 20, 18, 0.94));
  box-shadow:
    0 24px 78px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(224, 255, 238, 0.08),
    0 0 32px var(--member-card-glow);
}

.member-card-best_autumn {
  --member-card-accent: rgba(255, 176, 111, 0.72);
  --member-card-glow: rgba(248, 147, 76, 0.18);
  --member-card-top-right: rgba(255, 198, 130, 0.16);
  --member-card-bottom-left: rgba(226, 92, 58, 0.13);
  --member-card-sheen: rgba(255, 205, 148, 0.16);
  --member-card-outline: rgba(255, 219, 174, 0.28);
  --member-card-inset: rgba(255, 188, 132, 0.08);
  border-color: var(--member-card-accent);
  background:
    radial-gradient(circle at top right, var(--member-card-top-right), transparent 28%),
    radial-gradient(circle at bottom left, var(--member-card-bottom-left), transparent 34%),
    linear-gradient(180deg, rgba(49, 27, 15, 0.92), rgba(20, 12, 9, 0.94));
  box-shadow:
    0 24px 78px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 234, 209, 0.08),
    0 0 32px var(--member-card-glow);
}

.member-card-honored > *,
.member-card-best_year > *,
.member-card-best_spring > *,
.member-card-best_autumn > * {
  position: relative;
  z-index: 1;
}

.member-card-honored::before,
.member-card-best_year::before,
.member-card-best_spring::before,
.member-card-best_autumn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 26%, transparent 72%, var(--member-card-sheen)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 42%);
  opacity: 0.9;
}

.member-card-honored::after,
.member-card-best_year::after,
.member-card-best_spring::after,
.member-card-best_autumn::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  border: 1px solid var(--member-card-outline);
  box-shadow:
    inset 0 0 22px var(--member-card-inset),
    0 0 28px var(--member-card-glow);
}

.member-card-honored::after {
  inset: -2px;
  border: 0;
  padding: 2px;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.02) 24%, rgba(168, 224, 255, 0.34) 40%, rgba(255, 248, 224, 0.9) 50%, rgba(154, 220, 255, 0.36) 60%, rgba(255, 255, 255, 0.02) 76%, rgba(255, 255, 255, 0.14) 100%);
  background-size: 220% 220%;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  box-shadow:
    inset 0 0 22px var(--member-card-inset),
    0 0 30px var(--member-card-glow);
  animation:
    honoredBorderShimmer 5.4s linear infinite,
    honoredCardGlow 4.6s ease-in-out infinite;
}

.member-card-top {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.member-card-top > div:last-child {
  display: grid;
  justify-items: start;
  min-width: 0;
}

.member-avatar {
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 auto;
  width: 82px;
  height: 82px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 25%, rgba(58, 159, 246, 0.34), transparent 38%),
    linear-gradient(135deg, rgba(36, 129, 150, 0.56), rgba(13, 20, 28, 0.96));
  color: var(--white);
  font-weight: 950;
}

.member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-role {
  display: inline-flex;
  width: max-content;
  margin-bottom: 6px;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(58, 159, 246, 0.18);
  color: #9bd3ff;
  font-size: 0.76rem;
  font-weight: 900;
}

.member-card h3 {
  margin: 0;
  font-size: 1.38rem;
  line-height: 1.08;
}

.public-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: flex-start;
  justify-content: flex-start;
  margin-top: 8px;
}

.public-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: min(100%, 240px);
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid rgba(201, 165, 74, 0.5);
  border-radius: 999px;
  background: rgba(201, 165, 74, 0.18);
  color: #f6d981;
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1.16;
  overflow-wrap: anywhere;
  text-align: center;
}

.public-badge-president {
  border-color: rgba(104, 210, 199, 0.56);
  background: rgba(34, 122, 133, 0.2);
  color: #c7fff3;
}

.public-badge-best_year {
  border-color: rgba(247, 214, 118, 0.7);
  background: linear-gradient(135deg, rgba(255, 228, 141, 0.22), rgba(255, 181, 69, 0.18));
  color: #ffe6a5;
  box-shadow:
    0 8px 18px rgba(237, 198, 86, 0.14),
    inset 0 1px 0 rgba(255, 245, 211, 0.22);
}

.public-badge-best_spring {
  border-color: rgba(120, 228, 183, 0.68);
  background: linear-gradient(135deg, rgba(139, 245, 198, 0.2), rgba(85, 190, 255, 0.14));
  color: #cffff0;
  box-shadow:
    0 8px 18px rgba(80, 214, 171, 0.13),
    inset 0 1px 0 rgba(228, 255, 242, 0.18);
}

.public-badge-best_autumn {
  border-color: rgba(255, 176, 111, 0.7);
  background: linear-gradient(135deg, rgba(255, 197, 125, 0.22), rgba(227, 97, 61, 0.16));
  color: #ffd4b4;
  box-shadow:
    0 8px 18px rgba(248, 147, 76, 0.14),
    inset 0 1px 0 rgba(255, 230, 208, 0.18);
}

.public-badge-honored_athlete {
  padding-inline: 12px;
  border-color: rgba(214, 241, 255, 0.88);
  background:
    linear-gradient(135deg, rgba(241, 251, 255, 0.38), rgba(148, 210, 255, 0.24) 48%, rgba(255, 249, 232, 0.26));
  color: #f4fcff;
  box-shadow:
    0 12px 28px rgba(107, 191, 255, 0.24),
    0 0 20px rgba(215, 243, 255, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  text-shadow: 0 0 22px rgba(225, 246, 255, 0.28);
  animation: honoredBadgeGlow 3.2s ease-in-out infinite;
}

.public-badge-honored_athlete::before {
  content: "◆";
  margin-right: 7px;
  color: #ffffff;
  font-size: 0.92rem;
  line-height: 1;
  text-shadow:
    0 0 12px rgba(255, 255, 255, 0.8),
    0 0 22px rgba(171, 227, 255, 0.56);
}

@keyframes honoredCardGlow {
  0%,
  100% {
    box-shadow:
      0 28px 88px rgba(0, 0, 0, 0.32),
      0 0 0 1px rgba(241, 250, 255, 0.1),
      0 0 34px rgba(120, 206, 255, 0.2);
    transform: translateY(0);
  }

  50% {
    box-shadow:
      0 32px 96px rgba(0, 0, 0, 0.34),
      0 0 0 1px rgba(247, 252, 255, 0.16),
      0 0 52px rgba(140, 218, 255, 0.32);
    transform: translateY(-1px);
  }
}

@keyframes honoredBorderShimmer {
  0% {
    background-position: 180% 50%;
  }

  100% {
    background-position: -40% 50%;
  }
}

@keyframes honoredBadgeGlow {
  0%,
  100% {
    box-shadow:
      0 10px 24px rgba(92, 174, 255, 0.14),
      inset 0 1px 0 rgba(255, 255, 255, 0.34);
    filter: brightness(1);
  }

  45% {
    box-shadow:
      0 12px 28px rgba(128, 214, 255, 0.24),
      0 0 18px rgba(210, 244, 255, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.5);
    filter: brightness(1.06);
  }

  55% {
    box-shadow:
      0 14px 32px rgba(144, 222, 255, 0.28),
      0 0 24px rgba(222, 248, 255, 0.24),
      inset 0 1px 0 rgba(255, 255, 255, 0.58);
    filter: brightness(1.1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .member-card-honored,
  .member-card-honored::after,
  .contact-avatar.has-photo::after,
  .public-badge-honored_athlete,
  .site-header::after,
  .main-nav::after,
  .primary-action::after,
  .secondary-action::after,
  .install-app-action::after,
  .event-feature-body a::after,
  .calendar-download::after,
  .charter-link::after,
  .rules-source-link::after,
  .contact-actions a::after,
  .members-toggle::after,
  .filter-button.is-active::after,
  .auth-tabs button.is-active::after,
  .admin-tab.is-active::after,
  .danger-action::after,
  .hero-dock .primary-action,
  .hero-dock .secondary-action,
  .hero-dock .install-app-action,
  .pixel-bodybuilder,
  .pixel-bodybuilder.is-running,
  .pixel-bodybuilder.is-running .pixel-bodybuilder-sprite,
  .pixel-bodybuilder.is-posing .pixel-bodybuilder-sprite,
  .pixel-bodybuilder.is-posing .pixel-bodybuilder-frame,
  .pixel-bodybuilder.is-tapped .pixel-bodybuilder-shadow,
  body.scroll-reveal-ready .scroll-reveal {
    animation: none;
    transition: none;
  }

  body.scroll-reveal-ready .scroll-reveal {
    opacity: 1;
    filter: none;
    transform: none;
  }
}

.public-profile-field {
  display: grid;
  gap: 5px;
}

.public-profile-field span {
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.public-profile-field p {
  margin: 0;
  color: rgba(245, 248, 251, 0.9);
  overflow-wrap: anywhere;
}

.member-card-preview p {
  color: rgba(255, 255, 255, 0.78);
}

.member-photo-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.member-photo-thumb {
  position: relative;
  overflow: hidden;
  min-height: 112px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background:
    radial-gradient(circle at 18% 18%, rgba(58, 159, 246, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(14, 20, 28, 0.94), rgba(8, 13, 18, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.member-photo-thumb img {
  width: 100%;
  height: 100%;
  min-height: 112px;
  object-fit: cover;
}

.member-card-more {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  padding: 3px 10px;
  border: 1px solid rgba(247, 214, 118, 0.34);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(247, 214, 118, 0.2), rgba(255, 191, 73, 0.12));
  color: #ffe6a5;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0 rgba(255, 245, 211, 0.18),
    0 0 14px rgba(247, 214, 118, 0.08);
  animation: memberCardMoreGlow 3.6s ease-in-out infinite;
}

@keyframes memberCardMoreGlow {
  0%,
  100% {
    box-shadow:
      inset 0 1px 0 rgba(255, 245, 211, 0.14),
      0 0 10px rgba(247, 214, 118, 0.04);
    filter: brightness(1);
  }

  50% {
    box-shadow:
      inset 0 1px 0 rgba(255, 248, 222, 0.24),
      0 0 18px rgba(247, 214, 118, 0.12);
    filter: brightness(1.04);
  }
}

.member-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-height: 42px;
  margin-top: auto;
  padding: 10px 14px;
  border-radius: 6px;
  background: rgba(25, 184, 80, 0.18);
  color: #a2f0ba;
  font-weight: 900;
}

.member-social-link:hover,
.member-social-link:focus-visible {
  background: rgba(25, 184, 80, 0.28);
  color: var(--white);
  outline: none;
}

.members-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink-soft);
  text-align: center;
  font-weight: 850;
  backdrop-filter: blur(14px);
}

.members-actions {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.members-toggle[hidden] {
  display: none;
}

.members-toggle {
  border-color: rgba(146, 234, 223, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.07) 42%, rgba(255, 255, 255, 0.03)),
    linear-gradient(135deg, rgba(16, 74, 109, 0.72), rgba(14, 112, 97, 0.56));
  color: var(--white);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  box-shadow: var(--button-glass-shadow);
}

.members-toggle:hover,
.members-toggle:focus-visible {
  border-color: rgba(182, 247, 236, 0.32);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.09) 42%, rgba(255, 255, 255, 0.04)),
    linear-gradient(135deg, rgba(22, 92, 127, 0.82), rgba(16, 129, 112, 0.64));
  color: var(--white);
  outline: none;
  transform: translateY(-1px);
}

.filter-button {
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
  backdrop-filter: blur(14px);
}

.filter-button.is-active {
  border-color: rgba(146, 234, 223, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06) 42%, rgba(255, 255, 255, 0.03)),
    linear-gradient(135deg, rgba(15, 78, 111, 0.72), rgba(13, 115, 99, 0.56));
  color: var(--white);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  box-shadow:
    0 18px 36px rgba(4, 23, 35, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04);
}

.gallery-grid {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.gallery-item {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: var(--surface-raised);
  color: var(--white);
  cursor: pointer;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  opacity: 1;
  transition:
    opacity 220ms ease,
    transform 240ms ease;
}

.gallery-item.is-updating img {
  opacity: 0.12;
  transform: scale(1.02);
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 5px 9px;
  border-radius: 4px;
  background: rgba(17, 20, 23, 0.78);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 800;
}

.gallery-item.is-hidden {
  display: none;
}

.federation-section {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  gap: 36px;
  align-items: end;
  padding: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(58, 159, 246, 0.2), rgba(25, 184, 80, 0.14)),
    rgba(11, 17, 24, 0.86);
  color: var(--ink);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px);
}

.charter-section {
  display: block;
  text-align: center;
}

.charter-section .federation-copy {
  max-width: 760px;
  margin: 0 auto;
}

.charter-section .charter-link {
  margin: 26px auto 0;
}

.judges-section {
  border-top: 1px solid var(--line);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.process-grid article {
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(10, 15, 21, 0.84);
  color: var(--white);
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px);
}

.process-grid article:nth-child(2) {
  background: rgba(13, 42, 30, 0.86);
}

.process-grid article:nth-child(3) {
  background: rgba(17, 36, 63, 0.86);
}

.process-grid span {
  color: var(--gold);
  font-weight: 900;
}

.process-grid h3 {
  margin-top: 56px;
  font-size: 1.44rem;
}

.process-grid p {
  color: rgba(255, 255, 255, 0.7);
}

.rules-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.rules-list a {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(10, 15, 21, 0.78);
  color: var(--ink);
  font-weight: 760;
  line-height: 1.22;
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
}

.rules-list a:hover,
.rules-list a:focus-visible {
  border-color: rgba(90, 162, 167, 0.46);
  background: rgba(14, 77, 90, 0.16);
  outline: none;
}

.rules-source-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 18px;
  padding: 12px 18px;
  border: 1px solid rgba(146, 234, 223, 0.22);
  border-radius: 18px;
  background: var(--button-primary-bg);
  color: var(--white);
  font-weight: 850;
  box-shadow:
    0 22px 46px rgba(4, 23, 35, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
}

.rules-source-link:hover,
.rules-source-link:focus-visible {
  border-color: var(--button-primary-hover-border);
  background: var(--button-primary-hover-bg);
  outline: none;
}

.contact-section {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  overflow: hidden;
  padding: 56px;
  margin-bottom: 48px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(133, 214, 255, 0.12), transparent 30%),
    radial-gradient(circle at bottom left, rgba(255, 229, 165, 0.1), transparent 34%),
    rgba(8, 13, 18, 0.88);
  color: var(--white);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(241, 248, 255, 0.04);
  backdrop-filter: blur(18px);
}

.contact-section::before,
.contact-section::after {
  content: none;
  display: none;
}

.contact-section > * {
  position: relative;
  z-index: 1;
}

.contact-section .eyebrow {
  color: #85f2a9;
}

.contact-section p {
  color: rgba(255, 255, 255, 0.68);
}

.contact-person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

.contact-avatar {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  overflow: hidden;
  place-items: center;
  width: 78px;
  height: 78px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.24), transparent 30%),
    linear-gradient(135deg, rgba(24, 118, 143, 0.9), rgba(26, 171, 143, 0.64));
  color: var(--white);
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28);
}

.contact-avatar.has-photo {
  border-color: rgba(227, 245, 255, 0.86);
  background:
    radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.42), transparent 30%),
    radial-gradient(circle at 72% 78%, rgba(255, 229, 165, 0.2), transparent 44%),
    linear-gradient(135deg, rgba(122, 205, 255, 0.92), rgba(26, 171, 143, 0.78));
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(244, 251, 255, 0.26),
    0 0 24px rgba(133, 214, 255, 0.22);
}

.contact-avatar.has-photo::before,
.contact-avatar.has-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.contact-avatar.has-photo::before {
  z-index: 2;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.34), transparent 30%, transparent 70%, rgba(173, 228, 255, 0.22)),
    radial-gradient(circle at top, rgba(255, 255, 255, 0.18), transparent 44%);
}

.contact-avatar.has-photo::after {
  inset: -2px;
  z-index: 3;
  border: 0;
  padding: 2px;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.02) 24%, rgba(168, 224, 255, 0.34) 40%, rgba(255, 248, 224, 0.86) 50%, rgba(154, 220, 255, 0.36) 60%, rgba(255, 255, 255, 0.02) 76%, rgba(255, 255, 255, 0.14) 100%);
  background-size: 220% 220%;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  box-shadow:
    inset 0 0 16px rgba(196, 234, 255, 0.16),
    0 0 18px rgba(140, 217, 255, 0.2);
  animation: contactAvatarShimmer 6s linear infinite;
}

.contact-avatar img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes contactAvatarShimmer {
  0% {
    background-position: 180% 50%;
  }

  100% {
    background-position: -40% 50%;
  }
}

.contact-person-copy {
  margin: 0;
}

.contact-person-copy span,
.contact-person-copy strong {
  display: block;
}

.contact-person-copy span {
  color: rgba(255, 255, 255, 0.68);
}

.contact-person-copy strong {
  margin-top: 4px;
  color: var(--white);
  font-size: 1.05rem;
}

.contact-actions {
  display: grid;
  gap: 8px;
  min-width: min(268px, 100%);
}

.contact-actions a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid rgba(146, 234, 223, 0.22);
  border-radius: 16px;
  background: var(--button-primary-bg);
  color: var(--white);
  text-align: left;
  box-shadow:
    0 22px 46px rgba(4, 23, 35, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.contact-actions a:hover,
.contact-actions a:focus-visible {
  border-color: var(--button-primary-hover-border);
  background: var(--button-primary-hover-bg);
  transform: translateY(-1px);
  box-shadow:
    0 24px 52px rgba(4, 23, 35, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05);
  outline: none;
}

.contact-action-icon {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.contact-action-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.contact-action-label {
  display: inline-block;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.contact-actions a + a {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04) 42%, rgba(255, 255, 255, 0.02)),
    rgba(13, 28, 43, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(255, 255, 255, 0.03),
    0 18px 36px rgba(4, 23, 35, 0.18);
  backdrop-filter: blur(10px);
}

.contact-actions a + a:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.11);
  color: var(--white);
}

.contact-actions a.contact-social {
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border-color: rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(135deg, rgba(32, 158, 229, 0.92), rgba(22, 95, 168, 0.84));
  color: var(--white);
  text-align: center;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
}

.contact-actions a.contact-social-vk {
  background:
    linear-gradient(135deg, rgba(0, 119, 255, 0.94), rgba(44, 89, 183, 0.86));
}

.contact-actions a.contact-social:hover,
.contact-actions a.contact-social:focus-visible {
  background:
    linear-gradient(135deg, rgba(42, 171, 238, 1), rgba(23, 112, 194, 0.96));
  color: var(--white);
  outline: none;
  transform: translateY(-1px);
}

.contact-actions a.contact-social-vk:hover,
.contact-actions a.contact-social-vk:focus-visible {
  background:
    linear-gradient(135deg, rgba(0, 119, 255, 1), rgba(64, 112, 220, 0.98));
}

.contact-social-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.contact-social-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.contact-social span span,
.contact-social strong {
  display: block;
  text-align: center;
}

.contact-social span span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.76rem;
  line-height: 1.1;
}

.contact-social strong {
  margin-top: 2px;
  color: var(--white);
  font-size: 0.88rem;
  line-height: 1.18;
}

.cabinet-page {
  min-height: 100svh;
  padding: 112px 0 56px;
  background:
    linear-gradient(180deg, rgba(5, 9, 13, 0.56), rgba(5, 9, 13, 0.92)),
    url("public/assets/photos/stage-opening.jpg") center / cover fixed;
}

.cabinet-hero,
.cabinet-shell,
.admin-workspace {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.cabinet-hero {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-bottom: 28px;
  text-align: center;
}

.cabinet-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 4.1rem);
  line-height: 0.96;
}

.cabinet-hero p:not(.eyebrow) {
  max-width: 680px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.cabinet-shell,
.admin-workspace {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 13, 18, 0.88);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.cabinet-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding: 28px;
}

.auth-card {
  width: min(560px, 100%);
  margin: 0 auto;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.auth-tabs button {
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font-weight: 850;
}

.auth-tabs button.is-active {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06) 42%, rgba(255, 255, 255, 0.03)),
    linear-gradient(135deg, rgba(15, 78, 111, 0.72), rgba(13, 115, 99, 0.56));
  color: var(--white);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  box-shadow:
    0 18px 36px rgba(4, 23, 35, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04);
}

.cabinet-form {
  display: grid;
  gap: 14px;
}

.cabinet-form h3 {
  margin: 0 0 2px;
  font-size: 1.35rem;
}

.cabinet-form label,
.admin-filters label {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 800;
}

.cabinet-form input,
.cabinet-form select,
.cabinet-form textarea,
.admin-filters input,
.admin-filters select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  padding: 10px 12px;
  outline: none;
}

.cabinet-form input:focus,
.cabinet-form select:focus,
.cabinet-form textarea:focus,
.admin-filters input:focus,
.admin-filters select:focus {
  border-color: rgba(58, 159, 246, 0.82);
  box-shadow: 0 0 0 3px rgba(58, 159, 246, 0.16);
}

.cabinet-form textarea {
  min-height: 118px;
  resize: vertical;
}

.cabinet-form select,
.admin-filters select {
  color-scheme: dark;
}

.cabinet-form small {
  color: rgba(226, 235, 244, 0.58);
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.35;
}

.form-section-title {
  display: grid;
  gap: 4px;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.form-section-title h3,
.form-section-title p {
  margin: 0;
}

.form-section-title p {
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.checkbox-field {
  display: flex !important;
  grid-template-columns: none !important;
  flex-direction: row;
  align-items: center;
  gap: 10px !important;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  cursor: pointer;
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  min-height: 0;
  flex: 0 0 auto;
  accent-color: var(--coral);
}

.badge-fieldset {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.badge-fieldset legend {
  padding: 0 6px;
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 900;
}

.form-notice {
  width: min(760px, calc(100% - 48px));
  margin: 0 auto 18px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(58, 159, 246, 0.16);
  color: var(--white);
  text-align: center;
  font-weight: 800;
}

.form-notice[data-type="error"] {
  background: rgba(240, 93, 71, 0.18);
  border-color: rgba(240, 93, 71, 0.42);
}

.form-notice[data-type="success"] {
  background: rgba(25, 184, 80, 0.18);
  border-color: rgba(25, 184, 80, 0.42);
}

.profile-shell {
  grid-template-columns: minmax(280px, 0.78fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: start;
}

.profile-summary {
  display: grid;
  gap: 16px;
}

.profile-summary h2,
.gate-card h2,
.admin-toolbar h2,
.editor-heading h2 {
  margin: 0;
  line-height: 1.02;
}

.profile-summary h2,
.gate-card h2,
.admin-toolbar h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.profile-summary p {
  margin: 0;
  color: var(--ink-soft);
}

.profile-avatar-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.profile-avatar,
.avatar-mini {
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background:
    radial-gradient(circle at 35% 25%, rgba(58, 159, 246, 0.34), transparent 38%),
    linear-gradient(135deg, rgba(36, 129, 150, 0.56), rgba(13, 20, 28, 0.96));
  color: var(--white);
  font-weight: 950;
}

.profile-avatar {
  width: 92px;
  height: 92px;
  font-size: 1.35rem;
}

.profile-avatar.is-compact {
  width: 72px;
  height: 72px;
  font-size: 1.05rem;
}

.profile-avatar img,
.avatar-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.avatar-actions strong,
.avatar-actions span {
  flex-basis: 100%;
}

.avatar-actions strong {
  color: var(--white);
  font-size: 1rem;
}

.avatar-actions span {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.avatar-file-button {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.avatar-file-button input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.avatar-editor-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(3, 6, 9, 0.72);
  backdrop-filter: blur(18px);
}

.avatar-editor-card {
  width: min(520px, 100%);
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 70% 10%, rgba(58, 159, 246, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(21, 31, 41, 0.98), rgba(8, 13, 18, 0.98));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.5);
}

.avatar-editor-card .editor-heading {
  margin-bottom: 18px;
}

.avatar-editor-stage {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  width: min(320px, 72vw);
  aspect-ratio: 1;
  margin: 0 auto 18px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.08), transparent 64%),
    #05090d;
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.34);
  cursor: grab;
  touch-action: none;
}

.avatar-editor-stage.is-dragging {
  cursor: grabbing;
}

.avatar-editor-stage img {
  position: absolute;
  max-width: none;
  user-select: none;
  -webkit-user-drag: none;
  will-change: left, top, width, height;
}

.avatar-zoom-control {
  display: grid;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 900;
}

.avatar-zoom-control input {
  width: 100%;
  accent-color: var(--coral);
}

.avatar-editor-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.profile-photo-editor-card {
  width: min(680px, 100%);
}

.profile-photo-editor-stage {
  width: min(420px, 76vw);
  aspect-ratio: 4 / 5;
  border-radius: 28px;
}

.profile-photos-panel {
  display: grid;
  gap: 16px;
}

.profile-photos-toolbar {
  display: grid;
  gap: 10px;
}

.profile-photos-toolbar small {
  color: var(--ink-soft);
}

.profile-photos-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.profile-photos-list.is-sorting .profile-photo-card:not(.is-dragging) {
  transition:
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 220ms ease,
    border-color 220ms ease,
    opacity 220ms ease;
}

.profile-photos-list.is-drop-at-end::after {
  content: "";
  position: relative;
  display: block;
  min-height: 14px;
  margin-top: -2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(90, 200, 255, 0.1), rgba(130, 224, 255, 0.92), rgba(90, 200, 255, 0.1));
  box-shadow:
    0 0 0 1px rgba(130, 208, 255, 0.22),
    0 0 24px rgba(68, 177, 255, 0.24),
    0 8px 22px rgba(24, 101, 157, 0.2);
  animation: profileDropTargetPulse 1.15s ease-in-out infinite;
}

.profile-photo-card {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(58, 159, 246, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(17, 25, 34, 0.94), rgba(8, 13, 18, 0.96));
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.2);
  transition:
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 240ms ease,
    border-color 240ms ease,
    opacity 220ms ease,
    filter 220ms ease;
  will-change: transform;
}

.profile-photo-card.is-dragging {
  z-index: 3;
  opacity: 0.9;
  transform: scale(1.035) rotate(-1deg);
  border-color: rgba(130, 208, 255, 0.48);
  box-shadow:
    0 26px 64px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(130, 208, 255, 0.18),
    0 0 38px rgba(68, 177, 255, 0.16);
  filter: saturate(1.05);
}

.profile-photo-card.is-grabbed {
  animation: profilePhotoGrabPulse 220ms cubic-bezier(0.22, 1, 0.36, 1) 1;
}

.profile-photo-card.is-drop-target::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 12px;
  right: 12px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(90, 200, 255, 0.08), rgba(130, 224, 255, 0.98), rgba(90, 200, 255, 0.08));
  box-shadow:
    0 0 0 1px rgba(130, 208, 255, 0.22),
    0 0 24px rgba(68, 177, 255, 0.24),
    0 8px 22px rgba(24, 101, 157, 0.18);
  animation: profileDropTargetPulse 1.15s ease-in-out infinite;
}

.profile-photo-card-head {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.profile-photo-drag-handle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  min-height: 28px;
  padding: 7px 14px;
  border: 1px solid rgba(130, 208, 255, 0.3);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(58, 159, 246, 0.2), rgba(103, 217, 255, 0.12));
  color: #d8f1ff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: grab;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 10px 24px rgba(14, 90, 146, 0.18);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.profile-photo-drag-handle::before {
  content: "⋮⋮";
  margin-right: 8px;
  font-size: 0.86rem;
  letter-spacing: -0.08em;
  opacity: 0.88;
}

.profile-photo-card.is-dragging .profile-photo-drag-handle {
  cursor: grabbing;
  border-color: rgba(163, 226, 255, 0.56);
  background: linear-gradient(135deg, rgba(78, 183, 255, 0.32), rgba(114, 223, 255, 0.22));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 16px 32px rgba(27, 111, 173, 0.28),
    0 0 26px rgba(86, 190, 255, 0.18);
  transform: translateY(-1px) scale(1.03);
}

.profile-photo-thumb {
  display: block;
  padding: 0;
  overflow: hidden;
  min-height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  transition:
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.profile-photo-thumb img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.profile-photo-card.is-dragging .profile-photo-thumb {
  border-color: rgba(155, 223, 255, 0.4);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.26),
    0 0 0 1px rgba(130, 208, 255, 0.16);
  transform: scale(1.015);
}

@keyframes profileDropTargetPulse {
  0%,
  100% {
    opacity: 0.76;
    transform: scaleX(0.985);
  }

  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes profilePhotoGrabPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.2);
    filter: saturate(1);
  }

  45% {
    transform: scale(1.03);
    box-shadow:
      0 24px 56px rgba(0, 0, 0, 0.3),
      0 0 0 1px rgba(130, 208, 255, 0.18),
      0 0 30px rgba(68, 177, 255, 0.14);
    filter: saturate(1.05) brightness(1.03);
  }

  100% {
    transform: scale(1.015);
    box-shadow:
      0 18px 46px rgba(0, 0, 0, 0.24),
      0 0 0 1px rgba(130, 208, 255, 0.1);
    filter: saturate(1.02);
  }
}

@keyframes mobileDragWiggle {
  0%,
  100% {
    transform: scale(1.05) rotate(-1.6deg);
  }

  25% {
    transform: scale(1.053) rotate(-0.8deg);
  }

  50% {
    transform: scale(1.056) rotate(-1.95deg);
  }

  75% {
    transform: scale(1.052) rotate(-0.95deg);
  }
}

.profile-photo-card-footer {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.profile-photo-card-footer small {
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 800;
}

@media (max-width: 560px) {
  .avatar-editor-overlay {
    padding: 14px;
  }

  .avatar-editor-card {
    padding: 18px;
  }

  .avatar-editor-stage {
    width: min(300px, 76vw);
  }

  .profile-photo-editor-stage {
    width: min(320px, 80vw);
  }

  .avatar-editor-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

.profile-details {
  display: grid;
  gap: 9px;
}

.profile-details div {
  display: grid;
  gap: 3px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
}

.profile-details span {
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 800;
}

.profile-details strong {
  overflow-wrap: anywhere;
}

.public-profile-shell {
  grid-template-columns: minmax(280px, 0.78fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: start;
}

.public-profile-backlink {
  width: max-content;
}

.public-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.public-profile-content {
  display: grid;
  gap: 16px;
  align-content: start;
}

.public-profile-section {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.public-profile-section h2 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.15;
}

.public-profile-section p {
  margin: 0;
  color: rgba(245, 248, 251, 0.9);
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.public-profile-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.public-profile-gallery-button {
  display: block;
  padding: 0;
  overflow: hidden;
  min-height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background:
    radial-gradient(circle at 18% 18%, rgba(58, 159, 246, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(14, 20, 28, 0.94), rgba(8, 13, 18, 0.96));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.public-profile-gallery-button img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-height: 32px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 900;
}

.status-pill[data-status="active"],
.status-pill.is-active {
  background: rgba(25, 184, 80, 0.22);
  color: #9af0b5;
}

.status-pill[data-status="approved"] {
  background: rgba(25, 184, 80, 0.22);
  color: #9af0b5;
}

.status-pill[data-status="pending"] {
  background: rgba(255, 204, 72, 0.2);
  color: #ffe28c;
}

.status-pill[data-status="rejected"] {
  background: rgba(240, 93, 71, 0.2);
  color: #ffb4a9;
}

.status-pill[data-status="inactive"],
.status-pill.is-inactive {
  background: rgba(240, 93, 71, 0.2);
  color: #ffb4a9;
}

.admin-workspace {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.admin-tab {
  display: inline-flex;
  flex: 1 1 180px;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--ink-soft);
  font-weight: 900;
  text-align: center;
}

.admin-tab:hover,
.admin-tab:focus-visible {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  outline: none;
}

.admin-tab.is-active {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06) 42%, rgba(255, 255, 255, 0.03)),
    linear-gradient(135deg, rgba(15, 78, 111, 0.72), rgba(13, 115, 99, 0.56));
  color: var(--white);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  box-shadow:
    0 18px 36px rgba(4, 23, 35, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04);
}

.admin-tab-panel {
  display: grid;
  gap: 18px;
}

.admin-tab-panel[hidden] {
  display: none;
}

.admin-toolbar,
.gate-card,
.editor-heading,
.admin-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.admin-toolbar,
.editor-heading,
.admin-section-heading {
  align-items: flex-start;
  flex-wrap: wrap;
}

.table-heading {
  display: grid;
  gap: 4px;
  align-items: start;
}

.admin-toolbar > div,
.editor-heading > div,
.table-heading > *,
.admin-section-heading > div,
.admin-events-header > div,
.admin-event-main > div,
.editor-user-preview > div {
  min-width: 0;
}

.gate-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: center;
}

.admin-login-form {
  width: min(420px, 100%);
  justify-self: end;
}

.admin-toolbar p,
.gate-card p,
.table-heading span,
.admin-section-heading p {
  margin: 6px 0 0;
  color: var(--ink-soft);
}

.admin-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  align-items: flex-start;
}

.export-action {
  border-color: rgba(25, 184, 80, 0.58);
  background: rgba(25, 184, 80, 0.14);
}

.export-action:hover,
.export-action:focus-visible {
  background: rgba(25, 184, 80, 0.24);
  outline: none;
}

.admin-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: end;
}

.admin-filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-table-card,
.user-editor,
.admin-home-sections-card,
.admin-events-card,
.event-editor {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.admin-table-card {
  overflow: hidden;
}

.table-heading {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.table-heading strong,
.table-heading span {
  overflow-wrap: anywhere;
}

.table-scroll {
  overflow-x: auto;
}

.admin-home-sections-card,
.admin-events-card,
.event-editor {
  padding: 20px;
}

.admin-collapsible-card {
  padding: 0;
  overflow: hidden;
}

.admin-collapsible-summary {
  position: relative;
  display: block;
  padding: 20px 56px 20px 20px;
  cursor: pointer;
  list-style: none;
}

.admin-collapsible-summary::-webkit-details-marker {
  display: none;
}

.admin-collapsible-summary::after {
  content: "▾";
  position: absolute;
  top: 22px;
  right: 20px;
  color: var(--ink-soft);
  font-size: 1.2rem;
  transition: transform 180ms ease;
}

.admin-collapsible-card[open] .admin-collapsible-summary::after {
  transform: rotate(180deg);
}

.admin-collapsible-summary h2,
.admin-collapsible-summary p {
  margin: 0;
}

.admin-collapsible-summary p:not(.eyebrow) {
  margin-top: 6px;
  color: var(--ink-soft);
}

.admin-collapsible-summary:focus-visible {
  outline: 2px solid rgba(58, 159, 246, 0.52);
  outline-offset: -2px;
}

.admin-collapsible-body {
  padding: 0 20px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-events-header,
.admin-event-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.admin-events-header {
  margin-bottom: 18px;
}

.admin-events-header p {
  margin: 6px 0 0;
  color: var(--ink-soft);
}

.admin-inline-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.admin-events-list {
  display: grid;
  gap: 12px;
}

.admin-home-sections-list,
.admin-gallery-links-list {
  display: grid;
  gap: 12px;
}

.admin-support-widget-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-support-widget-grid label {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(8, 13, 18, 0.5);
}

.admin-support-widget-grid label:last-child {
  grid-column: 1 / -1;
}

.admin-support-widget-grid small {
  color: var(--ink-soft);
}

.admin-home-section-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(8, 13, 18, 0.5);
}

.admin-home-section-main {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.admin-home-section-fields {
  display: grid;
  gap: 12px;
}

.admin-home-section-fields label {
  display: grid;
  gap: 8px;
}

.admin-home-section-main strong,
.admin-home-section-main p,
.admin-home-section-main small {
  margin: 0;
}

.admin-home-section-main p,
.admin-home-section-main small {
  color: var(--ink-soft);
}

.admin-home-section-main textarea {
  min-height: 92px;
  resize: vertical;
}

.admin-home-section-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.admin-home-section-visibility {
  min-width: 168px;
}

.admin-gallery-link-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(8, 13, 18, 0.5);
}

.admin-gallery-link-fields {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: 12px;
}

.admin-partner-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-partner-checkbox > label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.admin-partner-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
}

.admin-gallery-link-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.admin-home-quick-link-order {
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
}

.admin-event-row {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(8, 13, 18, 0.5);
}

.admin-event-main {
  display: grid;
  grid-template-columns: max-content 104px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.admin-event-thumb {
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 104px;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(226, 235, 244, 0.62);
  font-size: 0.75rem;
  font-weight: 900;
  object-fit: contain;
}

.admin-event-thumb img,
.admin-event-thumb:not(.is-empty) {
  width: 104px;
  height: 78px;
  object-fit: contain;
}

.admin-event-main h3,
.admin-event-main p {
  margin: 0;
}

.admin-event-main h3 {
  font-size: 1.18rem;
}

.admin-event-main p {
  margin-top: 6px;
  color: var(--ink-soft);
}

.admin-event-main small {
  display: block;
  margin-top: 8px;
  color: rgba(226, 235, 244, 0.58);
  font-weight: 800;
}

.admin-event-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 8px;
}

.danger-action.is-compact {
  width: auto;
  min-height: 42px;
  padding: 9px 12px;
}

.event-editor {
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.2);
}

.event-image-control {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 800;
}

.event-image-shell {
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.event-image-preview {
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(5, 9, 13, 0.48);
  color: rgba(226, 235, 244, 0.62);
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
}

.event-image-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.event-image-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: start;
  align-items: center;
}

.event-image-actions small {
  flex-basis: 100%;
  color: rgba(226, 235, 244, 0.58);
}

.event-image-button {
  position: relative;
  overflow: hidden;
}

.event-image-button input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.event-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.event-active-field {
  align-self: end;
}

.users-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.users-table th,
.users-table td {
  padding: 13px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  vertical-align: middle;
}

.users-table th {
  color: var(--ink-soft);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.users-table td {
  color: var(--ink);
  font-size: 0.92rem;
}

.users-table button {
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-weight: 900;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.28);
  text-underline-offset: 4px;
}

.table-user-button {
  display: block;
  width: 100%;
}

.table-user-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 230px;
}

.avatar-mini {
  width: 42px;
  height: 42px;
  font-size: 0.78rem;
  text-decoration: none;
}

.editor-user-preview {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: -4px 0 18px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.editor-user-preview strong,
.editor-user-preview span {
  display: block;
}

.editor-user-preview span {
  margin-top: 3px;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}

.editor-danger {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.danger-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  width: 100%;
  padding: 12px 18px;
  border: 1px solid rgba(146, 234, 223, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05) 42%, rgba(255, 255, 255, 0.02)),
    linear-gradient(135deg, rgba(18, 63, 89, 0.62), rgba(13, 101, 93, 0.44));
  color: rgba(220, 243, 247, 0.9);
  cursor: pointer;
  font-weight: 900;
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  box-shadow:
    0 18px 36px rgba(4, 23, 35, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04);
}

.danger-action:hover,
.danger-action:focus-visible {
  border-color: rgba(182, 247, 236, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06) 42%, rgba(255, 255, 255, 0.03)),
    linear-gradient(135deg, rgba(22, 79, 107, 0.74), rgba(16, 120, 111, 0.52));
  color: var(--white);
  outline: none;
}

.user-editor {
  padding: 20px;
}

.editor-heading {
  margin-bottom: 18px;
}

.editor-heading button {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 32px;
  background: rgba(7, 9, 11, 0.9);
}

.lightbox.is-open {
  display: grid;
}

.lightbox figure {
  width: min(100%, 1120px);
  margin: 0;
}

.lightbox img {
  width: 100%;
  max-height: 80svh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox figcaption {
  margin-top: 14px;
  color: var(--white);
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.primary-action:active,
.secondary-action:active,
.members-toggle:active,
.filter-button:active,
.calendar-download:active,
.rules-source-link:active,
.member-social-link:active,
.contact-actions a:active,
.danger-action:active,
.admin-tab:active {
  transform: translateY(2px) scale(0.972);
  filter: brightness(0.96);
  box-shadow:
    inset 0 3px 14px rgba(0, 0, 0, 0.34),
    0 8px 22px rgba(0, 0, 0, 0.18);
}

@media (min-width: 1021px) {
  .hero {
    --hero-banner-render-width: min(78vw, 1540px);
  }

  .hero-banner-image {
    width: min(78vw, 1540px);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
  }

  .hero-dock {
    width: min(1060px, calc(100% - 48px));
  }

  .hero-support-widget {
    left: 50%;
    right: auto;
    bottom: var(--support-desktop-bottom);
    transform: translateX(-50%);
  }
}

@media (max-width: 1020px) {
  .site-header {
    padding-inline: 24px;
  }

  .hero {
    --hero-banner-top: 75px;
    padding-top: 75px;
  }

  .hero-dock {
    grid-template-columns: 1fr;
    margin-top: -26px;
  }

  .hero-support-widget {
    left: auto;
    right: var(--support-tablet-right);
    bottom: var(--support-tablet-bottom);
    width: min(290px, calc(100vw - 48px));
    transform: none;
  }

  .hero-dock .hero-actions {
    width: max-content;
    max-width: 100%;
  }

  .hero h1 {
    font-size: 3.7rem;
  }

  .hero-content {
    width: min(760px, calc(100% - 48px));
    margin-left: 24px;
  }

  .quick-grid,
  .gallery-grid,
  .members-grid,
  .gallery-links-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .members-controls {
    grid-template-columns: 1fr;
  }

  .events-layout,
  .split-section,
  .federation-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .event-feature {
    grid-template-columns: 1fr;
  }

  .event-feature-media {
    min-height: 320px;
    aspect-ratio: 16 / 10;
  }

  .profile-shell,
  .public-profile-shell,
  .admin-filters {
    grid-template-columns: 1fr 1fr;
  }

  .admin-filter-actions {
    grid-column: 1 / -1;
  }

  .split-photo img {
    height: 520px;
  }
}

@media (max-width: 780px) {
  .site-header {
    display: flex;
    justify-content: space-between;
    color: var(--ink);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035) 46%, rgba(255, 255, 255, 0.018)),
      rgba(5, 11, 17, 0.94);
    border-bottom: 1px solid rgba(174, 231, 244, 0.18);
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .brand small {
    display: none;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .main-nav {
    position: fixed;
    top: 74px;
    right: 16px;
    left: auto;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr;
    width: min(310px, calc(100vw - 32px));
    max-height: calc(100svh - 90px);
    overflow: auto;
    gap: 4px;
    padding: 10px;
    border-color: rgba(174, 231, 244, 0.2);
    border-radius: 20px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04) 48%, rgba(255, 255, 255, 0.02)),
      rgba(8, 18, 28, 0.92);
    color: var(--ink);
    box-shadow:
      0 26px 78px rgba(2, 10, 18, 0.48),
      inset 0 1px 0 rgba(255, 255, 255, 0.16),
      inset 0 -1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(24px) saturate(165%);
    -webkit-backdrop-filter: blur(24px) saturate(165%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px) scale(0.96);
    transform-origin: top right;
    transition:
      opacity 180ms ease,
      visibility 180ms ease,
      transform 200ms cubic-bezier(0.2, 0.8, 0.2, 1),
      background 180ms ease,
      border-color 180ms ease,
      box-shadow 180ms ease;
  }

  .site-header.is-open .main-nav {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05) 48%, rgba(255, 255, 255, 0.02)),
      rgba(8, 18, 28, 0.94);
    color: var(--ink);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .main-nav a {
    justify-content: flex-start;
    min-height: 44px;
  }

  .hero {
    --hero-banner-top: 67px;
    z-index: 4;
    display: block;
    min-height: auto;
    padding-top: 67px;
    padding-bottom: 0;
    overflow: visible;
  }

  .section-intro {
    position: relative;
    z-index: 1;
  }

  .hero-support-widget {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: min(var(--support-mobile-width), calc(100% - 24px));
    margin: var(--support-mobile-top) auto calc(var(--support-mobile-overlap) * -1);
    transform: none;
    z-index: 12;
  }

  .hero-support-widget::after {
    right: 24px;
    bottom: -10px;
    width: 62%;
    height: 18px;
    opacity: 0.28;
    filter: blur(14px);
  }

  .hero-support-toggle,
  .hero-support-panel {
    gap: 10px;
    padding: 14px;
    border-radius: 18px;
  }

  .hero-support-toggle-copy strong {
    font-size: 1rem;
  }

  .hero-support-panel {
    top: auto;
    bottom: calc(100% + 6px);
    transform: translateY(14px) rotateX(-8deg) scale(0.94);
    transform-origin: bottom center;
  }

  .hero-support-widget:hover .hero-support-panel,
  .hero-support-widget:focus-within .hero-support-panel,
  .hero-support-widget.is-open .hero-support-panel {
    transform: translateY(0) rotateX(0) scale(1);
  }

  .hero-support-copy strong {
    font-size: 1.04rem;
  }

  .hero-support-copy span {
    font-size: 0.8rem;
  }

  .hero-support-qr-frame {
    padding: 8px;
    border-radius: 14px;
  }

  .hero-support-qr {
    width: min(100%, 162px);
    height: auto;
    max-width: 162px;
  }

  .hero-support-action {
    min-height: 40px;
    padding: 10px 14px;
    font-size: 0.86rem;
  }

  .hero-dock {
    display: none;
  }

  .hero h1,
  .section-heading h2,
  .split-copy h2,
  .federation-copy h2,
  .contact-section h2 {
    font-size: 2.45rem;
    line-height: 1.02;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    width: auto;
    margin: 0;
  }

  .hero-stats a {
    padding: 11px 12px;
  }

  .section,
  .split-section,
  .contact-section,
  .cabinet-hero,
  .cabinet-shell,
  .admin-workspace {
    width: min(100% - 32px, 1180px);
  }

  .cabinet-page {
    padding-top: 104px;
    background-attachment: scroll;
  }

  .cabinet-shell,
  .admin-workspace {
    padding: 20px;
  }

  .profile-shell,
  .public-profile-shell,
  .admin-filters {
    grid-template-columns: 1fr;
  }

  .profile-photos-list,
  .public-profile-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-photo-card-head {
    justify-content: center;
  }

  .profile-photo-drag-handle {
    min-height: 38px;
    min-width: 136px;
    padding: 10px 18px;
    font-size: 0.78rem;
    text-align: center;
    margin-inline: auto;
    border-color: rgba(143, 219, 255, 0.44);
    background: linear-gradient(135deg, rgba(58, 159, 246, 0.28), rgba(103, 217, 255, 0.18));
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.16),
      0 14px 30px rgba(14, 90, 146, 0.24),
      0 0 18px rgba(68, 177, 255, 0.12);
  }

  .profile-photo-card.is-dragging {
    transform: scale(1.05) rotate(-1.4deg);
    animation: mobileDragWiggle 0.92s ease-in-out infinite;
    box-shadow:
      0 30px 72px rgba(0, 0, 0, 0.38),
      0 0 0 1px rgba(130, 208, 255, 0.24),
      0 0 46px rgba(68, 177, 255, 0.22);
  }

  .profile-photo-card.is-dragging .profile-photo-thumb {
    transform: scale(1.025);
  }

  .profile-photo-card.is-drop-target::before {
    left: 10px;
    right: 10px;
    height: 12px;
    box-shadow:
      0 0 0 1px rgba(130, 208, 255, 0.26),
      0 0 30px rgba(68, 177, 255, 0.3),
      0 10px 28px rgba(24, 101, 157, 0.24);
  }

  .profile-photos-list.is-drop-at-end::after {
    min-height: 16px;
    box-shadow:
      0 0 0 1px rgba(130, 208, 255, 0.28),
      0 0 30px rgba(68, 177, 255, 0.3),
      0 10px 28px rgba(24, 101, 157, 0.24);
  }

  .admin-toolbar,
  .gate-card,
  .editor-heading,
  .table-heading,
  .admin-section-heading,
  .admin-events-header,
  .admin-event-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-event-main,
  .admin-home-section-row,
  .admin-support-widget-grid,
  .admin-gallery-link-row,
  .admin-gallery-link-fields,
  .event-form-grid,
  .event-image-shell {
    grid-template-columns: 1fr;
  }

  .admin-collapsible-summary {
    padding: 18px 52px 18px 18px;
  }

  .admin-collapsible-summary::after {
    top: 20px;
    right: 18px;
  }

  .admin-collapsible-body {
    padding: 0 18px 18px;
  }

  .admin-tabs {
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-tab {
    width: 100%;
  }

  .admin-filter-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-toolbar-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-home-section-actions,
  .admin-home-section-visibility,
  .admin-gallery-link-actions,
  .admin-inline-actions {
    width: 100%;
  }

  .admin-home-section-actions,
  .admin-gallery-link-actions,
  .admin-inline-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 0;
  }

  .section-heading {
    display: block;
  }

  .quick-grid,
  .gallery-grid,
  .gallery-links-list,
  .members-grid,
  .process-grid,
  .check-list,
  .rules-list {
    grid-template-columns: 1fr;
  }

  .gallery-links-panel {
    padding: 16px;
  }

  .quick-card {
    min-height: 210px;
  }

  .events-section {
    gap: 22px;
    text-align: center;
  }

  .calendar-download {
    width: 100%;
    margin-inline: auto;
    text-align: center;
  }

  .event-feature-body,
  .event-card-body {
    justify-items: center;
    padding: 22px 18px;
    text-align: center;
  }

  .event-feature h3,
  .event-list h3 {
    text-wrap: balance;
  }

  .event-feature p:not(.event-eyebrow),
  .event-card-body p:not(.event-eyebrow) {
    margin-inline: auto;
  }

  .event-eyebrow {
    margin-inline: auto;
  }

  .event-meta-row {
    justify-content: center;
  }

  .event-feature-body a,
  .event-list a {
    margin-inline: auto;
    text-align: center;
  }

  .event-feature-media {
    min-height: 240px;
  }

  .event-card-media {
    min-height: 210px;
    padding: 14px;
  }

  .event-thumb {
    max-height: 260px;
  }

  .gallery-item,
  .gallery-item.wide,
  .gallery-item.tall {
    grid-column: auto;
    grid-row: auto;
    min-height: 280px;
  }

  .split-section {
    padding: 58px 0;
  }

  .split-photo img {
    height: 430px;
  }

  .federation-section,
  .contact-section {
    padding: 28px;
  }

  .charter-section {
    padding-inline: 22px;
  }

  .contact-person {
    align-items: flex-start;
  }

  .profile-avatar-card,
  .editor-user-preview {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-avatar {
    width: 64px;
    height: 64px;
  }

  .contact-actions {
    min-width: 0;
  }

  .contact-actions a:not(.contact-social) {
    justify-content: center;
    text-align: center;
  }

  .contact-actions a:not(.contact-social) .contact-action-label {
    text-align: center;
  }
}

@media (max-width: 460px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    max-width: 170px;
    font-size: 0.9rem;
  }

  .hero h1,
  .section-heading h2,
  .split-copy h2,
  .federation-copy h2,
  .contact-section h2 {
    font-size: 2rem;
  }

  .hero-actions,
  .filter-bar,
  .calendar-download,
  .charter-link,
  .rules-source-link {
    display: grid;
    grid-template-columns: 1fr;
  }

  .primary-action,
  .secondary-action,
  .calendar-download,
  .charter-link,
  .rules-source-link {
    width: 100%;
  }
}

.applications-section {
  display: grid;
  gap: 24px;
}

.applications-shell,
.admin-application-tournaments-card,
.admin-application-submissions-card,
.admin-application-editor {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel-strong);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.22);
}

.applications-shell {
  padding: 28px;
}

.applications-gate,
.applications-content,
.applications-detail {
  display: grid;
  gap: 20px;
}

.applications-gate {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.applications-tournaments {
  display: grid;
  gap: 14px;
}

.application-tournament-item {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(58, 159, 246, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.application-tournament-item.is-expanded {
  border-color: rgba(58, 159, 246, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 20px 44px rgba(2, 10, 18, 0.24);
}

.application-tournament-toggle {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding: 22px 24px;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
}

.application-tournament-toggle-main {
  display: grid;
  gap: 10px;
}

.application-tournament-toggle-top,
.application-tournament-toggle-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.application-tournament-toggle-top .eyebrow {
  margin: 0;
}

.application-tournament-toggle h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  line-height: 1.05;
}

.application-tournament-chevron {
  align-self: center;
  color: var(--ink-soft);
  font-size: 1.6rem;
  line-height: 1;
  transition: transform 0.2s ease, color 0.2s ease;
}

.application-tournament-toggle.is-expanded .application-tournament-chevron {
  transform: rotate(180deg);
  color: var(--white);
}

.application-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
}

.application-status-pill[data-status="pending"] {
  background: rgba(255, 204, 72, 0.2);
  color: #ffe28c;
}

.application-status-pill[data-status="approved"] {
  background: rgba(25, 184, 80, 0.18);
  color: #9af0b5;
}

.application-status-pill[data-status="rejected"] {
  background: rgba(240, 93, 71, 0.2);
  color: #ffb4a9;
}

.application-tournament-body {
  padding: 0 24px 24px;
}

.application-tournament-body .applications-detail {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.applications-detail {
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  align-items: start;
}

.applications-tournament-card {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
}

.applications-tournament-card h3 {
  margin: 6px 0 0;
  font-size: 1.4rem;
}

.applications-tournament-card p {
  margin: 0;
}

.application-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.application-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink-soft);
}

.application-panel-card {
  display: grid;
  gap: 18px;
  min-width: 0;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
}

.application-panel-heading h4,
.application-panel-heading .eyebrow {
  margin: 0;
}

.application-panel-heading h4 {
  margin-top: 6px;
  font-size: 1.18rem;
}

.application-empty-copy,
.application-card-note {
  margin: 0;
  color: var(--ink-soft);
}

.application-card-note {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(24, 121, 132, 0.12);
  border: 1px solid rgba(107, 214, 200, 0.16);
}

.application-form {
  gap: 18px;
}

.application-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.application-form input[readonly] {
  cursor: default;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.04);
}

.application-categories-block {
  display: grid;
  gap: 14px;
}

.application-categories-toggle {
  justify-self: start;
}

.application-categories-panel {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.application-category-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
}

.application-category-option span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.application-category-option input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

.application-selected {
  margin: 0;
  color: var(--ink-soft);
}

.application-confirmation {
  margin-top: -2px;
}

.application-accepted-banner {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 18px;
}

.application-accepted-banner[data-status="pending"] {
  border: 1px solid rgba(255, 204, 72, 0.24);
  background: rgba(255, 204, 72, 0.12);
  color: #ffe28c;
}

.application-accepted-banner[data-status="approved"] {
  border: 1px solid rgba(25, 184, 80, 0.22);
  background: rgba(25, 184, 80, 0.12);
  color: #b6f5c7;
}

.application-accepted-banner[data-status="rejected"] {
  border: 1px solid rgba(240, 93, 71, 0.2);
  background: rgba(240, 93, 71, 0.12);
  color: #ffd0c8;
}

.application-accepted-banner p,
.application-accepted-banner strong {
  margin: 0;
}

.application-banner-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.application-accepted-banner[data-status="pending"] p {
  color: rgba(255, 240, 190, 0.88);
}

.application-accepted-banner[data-status="approved"] p {
  color: rgba(208, 255, 220, 0.88);
}

.application-accepted-banner[data-status="rejected"] p {
  color: rgba(255, 220, 214, 0.9);
}

.application-membership-pill,
.application-membership-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
}

.application-membership-pill[data-membership="active"],
.application-membership-text[data-membership="active"] {
  background: rgba(25, 184, 80, 0.18);
  color: #9af0b5;
}

.application-membership-pill[data-membership="inactive"],
.application-membership-text[data-membership="inactive"] {
  background: rgba(240, 93, 71, 0.2);
  color: #ffb4a9;
}

.application-data-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.application-data-item {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
}

.application-data-item span {
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 800;
}

.application-data-item strong {
  font-size: 0.98rem;
  line-height: 1.35;
}

.application-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.application-submit {
  width: 100%;
  justify-content: center;
}

.application-cancel-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(3, 6, 9, 0.72);
  backdrop-filter: blur(18px);
}

.application-cancel-card {
  width: min(520px, 100%);
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 70% 10%, rgba(240, 93, 71, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(21, 31, 41, 0.98), rgba(8, 13, 18, 0.98));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.5);
}

.application-cancel-copy {
  margin: 0 0 20px;
  color: var(--ink-soft);
}

.application-cancel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-applications-layout {
  display: block;
}

.admin-application-tournaments-card {
  padding: 0;
  overflow: hidden;
}

.admin-application-tournaments-list {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.admin-application-tournament-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(58, 159, 246, 0.1), transparent 36%),
    rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.admin-application-tournament-card.is-expanded {
  border-color: rgba(58, 159, 246, 0.36);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 20px 44px rgba(2, 10, 18, 0.22);
}

.admin-application-tournament-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  padding: 18px;
}

.admin-application-tournament-toggle {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
}

.admin-application-tournament-main {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.admin-application-tournament-top {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.admin-application-tournament-top strong {
  display: block;
  font-size: 1.12rem;
  line-height: 1.2;
}

.admin-application-visibility {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 850;
}

.admin-application-tournament-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-application-tournament-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 800;
}

.admin-application-tournament-chevron {
  align-self: center;
  color: var(--ink-soft);
  font-size: 1.45rem;
  line-height: 1;
  transition: transform 0.2s ease, color 0.2s ease;
}

.admin-application-tournament-card.is-expanded .admin-application-tournament-chevron {
  transform: rotate(180deg);
  color: var(--white);
}

.admin-application-tournament-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 10px;
}

.admin-application-tournament-actions > * {
  width: auto;
}

.admin-application-tournament-body {
  display: grid;
  gap: 16px;
  padding: 0 18px 18px;
}

.admin-application-body-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-application-body-header h3,
.admin-application-body-header p {
  margin: 0;
}

.admin-application-body-header h3 {
  margin-top: 6px;
  font-size: 1.28rem;
}

.admin-application-body-copy {
  margin-top: 8px !important;
  color: var(--ink-soft);
}

.admin-application-filters {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.admin-application-editor-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  align-items: stretch;
  justify-items: end;
  padding: 20px;
  background: rgba(3, 6, 9, 0.58);
  backdrop-filter: blur(16px);
}

.admin-application-editor-overlay[hidden] {
  display: none;
}

.admin-application-editor-backdrop {
  position: absolute;
  inset: 0;
}

.admin-application-editor {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  height: 100%;
  max-height: calc(100svh - 40px);
  overflow: auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(58, 159, 246, 0.14), transparent 38%),
    linear-gradient(180deg, rgba(21, 31, 41, 0.98), rgba(8, 13, 18, 0.98));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.46);
}

.application-admin-category-list {
  display: grid;
  gap: 14px;
}

.application-admin-category-group {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.application-admin-category-sections {
  display: grid;
  gap: 12px;
  padding: 0 18px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.application-admin-category-summary {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 16px 48px 16px 18px;
  cursor: pointer;
  list-style: none;
}

.application-admin-category-summary::-webkit-details-marker {
  display: none;
}

.application-admin-category-summary::after {
  content: "▾";
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  color: var(--ink-soft);
  transition: transform 180ms ease;
}

.application-admin-category-group[open] .application-admin-category-summary::after {
  transform: translateY(-50%) rotate(180deg);
}

.application-admin-category-summary strong {
  font-size: 1rem;
}

.application-admin-category-summary span {
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 800;
}

.application-admin-category-subgroup {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.application-admin-category-subsummary {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 14px 42px 14px 16px;
  cursor: pointer;
  list-style: none;
}

.application-admin-category-subsummary::-webkit-details-marker {
  display: none;
}

.application-admin-category-subsummary::after {
  content: "▾";
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  color: var(--ink-soft);
  transition: transform 180ms ease;
}

.application-admin-category-subgroup[open] .application-admin-category-subsummary::after {
  transform: translateY(-50%) rotate(180deg);
}

.application-admin-category-subsummary strong {
  font-size: 0.95rem;
}

.application-admin-category-subsummary span {
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 800;
}

.application-admin-category-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0 16px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.application-admin-category-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.application-admin-category-option input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.application-admin-category-option span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.application-admin-category-option.is-legacy {
  border: 1px dashed rgba(255, 204, 72, 0.3);
  background: rgba(255, 204, 72, 0.08);
}

.application-admin-flags {
  display: grid;
  gap: 10px;
}

.application-admin-export-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
}

.applications-table th,
.applications-table td {
  vertical-align: top;
}

.applications-table td[data-label="Категории"] {
  min-width: 220px;
}

.applications-table td[data-label="ФИО"] {
  min-width: 240px;
}

.applications-table td[data-label="ФИО"] strong {
  display: block;
  overflow-wrap: normal;
  word-break: normal;
}

.applications-table td[data-label="Email"] {
  overflow-wrap: anywhere;
}

.applications-empty-cell {
  text-align: center;
  color: var(--ink-soft);
}

@media (min-width: 781px) {
  .applications-table {
    table-layout: fixed;
    min-width: 1220px;
  }

  .applications-table thead th {
    vertical-align: middle;
  }

  .applications-table tbody tr {
    background: rgba(255, 255, 255, 0.025);
  }

  .applications-table tbody tr:hover {
    background: rgba(58, 159, 246, 0.06);
  }

  .applications-table th,
  .applications-table td {
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .applications-table th:nth-child(1),
  .applications-table td:nth-child(1) {
    width: 19%;
  }

  .applications-table th:nth-child(2),
  .applications-table td:nth-child(2) {
    width: 10%;
  }

  .applications-table th:nth-child(3),
  .applications-table td:nth-child(3) {
    width: 11%;
    white-space: nowrap;
  }

  .applications-table th:nth-child(4),
  .applications-table td:nth-child(4) {
    width: 22%;
  }

  .applications-table th:nth-child(4),
  .applications-table th:nth-child(5),
  .applications-table th:nth-child(6),
  .applications-table th:nth-child(7),
  .applications-table th:nth-child(8) {
    text-align: center;
  }

  .applications-table th:nth-child(5),
  .applications-table td:nth-child(5) {
    width: 11%;
  }

  .applications-table th:nth-child(6),
  .applications-table td:nth-child(6) {
    width: 12%;
  }

  .applications-table th:nth-child(7),
  .applications-table td:nth-child(7) {
    width: 9%;
  }

  .applications-table th:nth-child(8),
  .applications-table td:nth-child(8) {
    width: 120px;
  }

  .applications-table td[data-label="ФИО"] strong {
    line-height: 1.35;
    font-size: 1rem;
  }

  .applications-table td[data-label="Категории"] {
    line-height: 1.45;
    color: var(--ink-soft);
    text-align: left;
  }

  .applications-table td[data-label="Дата рождения"],
  .applications-table td[data-label="Телефон"],
  .applications-table td[data-label="Дата заявки"] {
    color: rgba(226, 235, 244, 0.92);
    font-variant-numeric: tabular-nums;
  }

  .applications-table td[data-label="Дата рождения"],
  .applications-table td[data-label="Телефон"] {
    vertical-align: middle;
    white-space: nowrap;
  }

  .applications-table td[data-label="Статус"],
  .applications-table td[data-label="Членство"],
  .applications-table td[data-label="Дата заявки"],
  .applications-table td[data-label="Действие"] {
    vertical-align: middle;
  }

  .applications-table td[data-label="Статус"] {
    text-align: center;
  }

  .applications-table td[data-label="Статус"] .status-pill {
    justify-content: center;
    text-align: center;
    white-space: normal;
    line-height: 1.25;
  }

  .applications-table td[data-label="Членство"] .application-membership-text {
    width: auto;
    max-width: 100%;
    justify-content: center;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.3;
  }

  .applications-table td[data-label="Дата заявки"] {
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.35;
  }

  .applications-table td[data-label="Членство"] {
    text-align: center;
  }

  .applications-table td[data-label="Действие"] {
    display: grid;
    gap: 8px;
    justify-items: center;
    text-align: center;
  }

  .applications-table td[data-label="Действие"] .secondary-action.is-compact,
  .applications-table td[data-label="Действие"] .danger-action.is-compact {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    justify-content: center;
  }
}

@media (max-width: 1020px) {
  .applications-detail {
    grid-template-columns: 1fr;
  }

  .admin-application-tournament-shell,
  .admin-application-body-header {
    grid-template-columns: 1fr;
  }

  .admin-application-tournament-shell,
  .admin-application-body-header {
    display: grid;
  }

  .admin-application-tournament-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 780px) {
  .applications-shell {
    padding: 18px;
  }

  .applications-gate,
  .application-data-grid,
  .application-form-grid {
    grid-template-columns: 1fr;
  }

  .application-tournament-toggle,
  .application-tournament-body,
  .applications-tournament-card,
  .application-panel-card,
  .application-cancel-card {
    padding-left: 18px;
    padding-right: 18px;
  }

  .application-tournament-toggle {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .application-tournament-toggle-top,
  .application-tournament-toggle-meta {
    align-items: flex-start;
  }

  .application-tournament-toggle-top > *,
  .application-tournament-toggle-meta > * {
    max-width: 100%;
  }

  .application-tournament-chevron {
    display: none;
  }

  .application-categories-toggle,
  .application-submit {
    width: 100%;
  }

  .application-categories-panel,
  .application-category-option {
    padding: 14px;
  }

  .application-categories-panel,
  .applications-tournament-card,
  .application-panel-card,
  .application-data-item {
    min-width: 0;
  }

  .application-data-item strong,
  .application-selected {
    overflow-wrap: anywhere;
  }

  .admin-application-tournaments-list {
    padding: 14px;
  }

  .admin-application-tournament-shell,
  .admin-application-tournament-toggle {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .admin-application-tournament-top {
    align-items: flex-start;
  }

  .admin-application-tournament-top strong,
  .admin-application-tournament-top .status-pill,
  .admin-application-visibility {
    width: 100%;
    justify-content: center;
  }

  .admin-application-tournament-meta {
    gap: 8px;
  }

  .admin-application-tournament-meta span,
  .application-admin-export-actions > * {
    width: 100%;
    justify-content: center;
  }

  .admin-application-tournament-chevron {
    display: none;
  }

  .admin-application-tournament-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .admin-application-tournament-actions > * {
    width: 100%;
  }

  .admin-application-tournament-body {
    padding: 0 14px 14px;
  }

  .admin-application-body-header,
  .application-admin-export-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-application-filters {
    padding: 14px;
  }

  .admin-application-editor-overlay {
    align-items: end;
    justify-items: stretch;
    padding: 0;
  }

  .admin-application-editor {
    width: 100%;
    height: auto;
    max-height: 90svh;
    padding: 20px;
    border-radius: 24px 24px 0 0;
  }

  .application-admin-category-options {
    grid-template-columns: 1fr;
  }

  .application-admin-flags .checkbox-field {
    align-items: flex-start;
  }

  .application-cancel-actions,
  .application-actions,
  .application-admin-export-actions {
    flex-direction: column;
  }

  .application-cancel-actions > *,
  .application-actions > *,
  .application-admin-export-actions > * {
    width: 100%;
    justify-content: center;
  }

  .applications-table td[data-label="Категории"] {
    min-width: 0;
  }
}

.site-footer {
  padding: 20px 24px 34px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 9, 13, 0.96);
}

.site-footer a {
  color: rgba(244, 239, 228, 0.82);
  text-decoration: none;
  border-bottom: 1px solid rgba(196, 167, 108, 0.4);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #f4efe4;
  border-bottom-color: rgba(196, 167, 108, 0.85);
}

.policy-page {
  gap: 24px;
}

.policy-card {
  max-width: 980px;
  margin: 0 auto 24px;
}

.policy-content {
  display: grid;
  gap: 14px;
}

.policy-content h2 {
  margin: 12px 0 0;
  font-size: 1.05rem;
}

.policy-content p,
.policy-content li {
  color: rgba(244, 239, 228, 0.84);
  line-height: 1.7;
}

.policy-content ul {
  margin: 0;
  padding-left: 20px;
}

.form-helper-note {
  margin: -2px 0 8px;
  color: rgba(244, 239, 228, 0.72);
  font-size: 0.94rem;
  line-height: 1.55;
}

.form-helper-note a,
.checkbox-field a {
  color: #d9bb74;
}

.consent-status-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.consent-status-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.consent-status-item {
  display: grid;
  gap: 6px;
  padding: 14px 15px;
  border-radius: 16px;
  background: rgba(8, 14, 19, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.consent-status-item span,
.consent-status-item small {
  color: rgba(244, 239, 228, 0.68);
}

.consent-status-item strong {
  color: #f4efe4;
}

.consent-status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.consent-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.consent-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.consent-badge-success {
  background: rgba(90, 156, 91, 0.18);
  color: #bfe7bf;
  border: 1px solid rgba(90, 156, 91, 0.3);
}

.consent-badge-danger {
  background: rgba(168, 67, 67, 0.18);
  color: #ffc7c7;
  border: 1px solid rgba(168, 67, 67, 0.3);
}

.consent-badge-muted {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(244, 239, 228, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-consent-card {
  margin-bottom: 18px;
}

.pixel-bodybuilder {
  --pixel-runner-scale: 1;
  --pixel-runner-start: -164px;
  --pixel-runner-center: calc(50vw - 72px);
  --pixel-runner-end: calc(100vw + 164px);
  position: fixed;
  left: 0;
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 29;
  width: 144px;
  height: 156px;
  pointer-events: auto;
  cursor: pointer;
  touch-action: manipulation;
  opacity: 0;
  outline: none;
  image-rendering: pixelated;
  transform: translate3d(var(--pixel-runner-start), 0, 0) scale(var(--pixel-runner-scale));
  transform-origin: 50% 100%;
  will-change: transform, opacity;
}

.pixel-bodybuilder:focus-visible {
  filter: drop-shadow(0 0 16px rgba(111, 229, 211, 0.32));
}

.pixel-bodybuilder.is-running {
  animation: pixelBodybuilderTrack 13.8s linear forwards;
}

.pixel-bodybuilder-shadow {
  position: absolute;
  left: 28px;
  bottom: 8px;
  width: 88px;
  height: 14px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0) 72%);
  border-radius: 999px;
  filter: blur(1.7px);
  opacity: 0.84;
  transform-origin: 50% 50%;
}

.pixel-bodybuilder-sprite {
  position: absolute;
  left: 50%;
  bottom: 13px;
  width: 134px;
  height: 140px;
  transform: translateX(-50%);
  transform-origin: 50% 100%;
  will-change: transform;
}

.pixel-bodybuilder.is-running .pixel-bodybuilder-sprite {
  animation: pixelBodybuilderRunBob 0.48s steps(2, end) infinite;
}

.pixel-bodybuilder.is-posing .pixel-bodybuilder-sprite {
  animation: pixelBodybuilderPose 0.88s cubic-bezier(0.34, 0.04, 0.18, 1) infinite;
}

.pixel-bodybuilder.is-tapped .pixel-bodybuilder-sprite {
  animation: pixelBodybuilderTapPose 0.52s steps(2, end) infinite;
}

.pixel-bodybuilder-frame {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  opacity: 0;
  pointer-events: none;
  user-select: none;
  image-rendering: pixelated;
  filter:
    drop-shadow(0 16px 16px rgba(0, 0, 0, 0.34))
    drop-shadow(0 0 10px rgba(111, 229, 211, 0.12));
}

.pixel-bodybuilder-frame-walk-one {
  opacity: 1;
}

.pixel-bodybuilder.is-running:not(.is-posing) .pixel-bodybuilder-frame-walk-one {
  animation: pixelBodybuilderWalkOne 0.56s steps(1, end) infinite;
}

.pixel-bodybuilder.is-running:not(.is-posing) .pixel-bodybuilder-frame-walk-two {
  animation: pixelBodybuilderWalkTwo 0.56s steps(1, end) infinite;
}

.pixel-bodybuilder.is-posing .pixel-bodybuilder-frame-walk-one,
.pixel-bodybuilder.is-posing .pixel-bodybuilder-frame-walk-two {
  opacity: 0;
  animation: none;
}

.pixel-bodybuilder.is-posing .pixel-bodybuilder-frame-pose-one {
  animation: pixelBodybuilderPoseOne 0.88s steps(1, end) infinite;
}

.pixel-bodybuilder.is-posing .pixel-bodybuilder-frame-pose-two {
  animation: pixelBodybuilderPoseTwo 0.88s steps(1, end) infinite;
}

.pixel-bodybuilder.is-tapped .pixel-bodybuilder-frame-pose-one,
.pixel-bodybuilder.is-tapped .pixel-bodybuilder-frame-pose-two {
  animation-duration: 0.52s;
}

.pixel-bodybuilder.is-tapped .pixel-bodybuilder-shadow {
  animation: pixelBodybuilderShadowPulse 0.52s steps(2, end) infinite;
}

.pixel-bodybuilder-burst {
  position: absolute;
  left: 50%;
  top: 28%;
  z-index: 18;
  width: 0;
  height: 0;
  pointer-events: none;
}

.pixel-bodybuilder-muscle {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  color: #fff4d8;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: 36px;
  line-height: 1;
  opacity: 0;
  image-rendering: auto;
  text-shadow:
    2px 2px 0 rgba(5, 12, 18, 0.72),
    0 0 12px rgba(126, 238, 215, 0.54),
    0 0 22px rgba(255, 244, 216, 0.26);
  transform: translate(-50%, -50%) scale(0.55) rotate(0);
  animation: pixelBodybuilderMuscleBurst 2.05s cubic-bezier(0.16, 0.88, 0.26, 1) forwards;
  animation-delay: var(--burst-delay, 0ms);
}

@keyframes pixelBodybuilderTrack {
  0% {
    opacity: 0;
    transform: translate3d(var(--pixel-runner-start), 0, 0) scale(var(--pixel-runner-scale));
  }

  8% {
    opacity: 1;
  }

  44% {
    opacity: 1;
    transform: translate3d(var(--pixel-runner-center), 0, 0) scale(var(--pixel-runner-scale));
  }

  72% {
    opacity: 1;
    transform: translate3d(var(--pixel-runner-center), 0, 0) scale(var(--pixel-runner-scale));
  }

  92% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate3d(var(--pixel-runner-end), 0, 0) scale(var(--pixel-runner-scale));
  }
}

@keyframes pixelBodybuilderRunBob {
  0%,
  100% {
    transform: translateX(-50%) translateY(0) scale(1);
  }

  50% {
    transform: translateX(-50%) translateY(-3px) scale(1.02, 0.99);
  }
}

@keyframes pixelBodybuilderWalkOne {
  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

@keyframes pixelBodybuilderWalkTwo {
  0%,
  49% {
    opacity: 0;
  }

  50%,
  100% {
    opacity: 1;
  }
}

@keyframes pixelBodybuilderPoseOne {
  0%,
  49% {
    opacity: 0;
  }

  50%,
  100% {
    opacity: 1;
  }
}

@keyframes pixelBodybuilderPoseTwo {
  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

@keyframes pixelBodybuilderPose {
  0%,
  100% {
    transform: translateX(-50%) translateY(0) scale(1.04, 1);
  }

  50% {
    transform: translateX(-50%) translateY(-3px) scale(1.11, 0.98);
  }
}

@keyframes pixelBodybuilderTapPose {
  0%,
  100% {
    transform: translateX(-50%) translateY(-1px) scale(1.12, 0.98) rotate(-1deg);
  }

  50% {
    transform: translateX(-50%) translateY(-6px) scale(1.22, 0.94) rotate(1deg);
  }
}

@keyframes pixelBodybuilderShadowPulse {
  0%,
  100% {
    opacity: 0.78;
    transform: scaleX(1);
  }

  50% {
    opacity: 0.58;
    transform: scaleX(0.82);
  }
}

@keyframes pixelBodybuilderMuscleBurst {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.45) rotate(0);
  }

  12% {
    opacity: 1;
  }

  72% {
    opacity: 1;
    transform: translate(var(--burst-x), var(--burst-y)) scale(1.06) rotate(var(--burst-rotate));
  }

  100% {
    opacity: 0;
    transform: translate(var(--burst-x), calc(var(--burst-y) - 18px)) scale(0.82) rotate(var(--burst-rotate));
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding: 18px 16px 28px;
  }

  .pixel-bodybuilder {
    --pixel-runner-scale: 0.72;
    --pixel-runner-start: -130px;
    --pixel-runner-center: calc(50vw - 56px);
    --pixel-runner-end: calc(100vw + 130px);
    bottom: max(12px, env(safe-area-inset-bottom));
    width: 112px;
    height: 122px;
    transform: translate3d(var(--pixel-runner-start), 0, 0) scale(var(--pixel-runner-scale));
  }

  .pixel-bodybuilder-shadow {
    left: 19px;
    bottom: 6px;
    width: 72px;
    height: 11px;
  }

  .pixel-bodybuilder-sprite {
    bottom: 9px;
    width: 104px;
    height: 110px;
    transform-origin: 50% 100%;
  }

  .pixel-bodybuilder-muscle {
    font-size: 30px;
  }

  .consent-status-actions {
    flex-direction: column;
  }
}
