/* WikingIT v2.5 – Sheshe page bundle */
:root {
  color-scheme: dark;
  --bg: #03070b;
  --bg-soft: #071018;
  --panel: rgba(7, 15, 23, 0.92);
  --panel-strong: #09131c;
  --line: #243746;
  --line-soft: rgba(88, 123, 147, 0.2);
  --text: #f1f6f9;
  --muted: #91a0ad;
  --cyan: #16cef5;
  --blue: #2586ff;
  --green: #35e772;
  --purple: #aa5df5;
  --orange: #ff9818;
  --gold: #f2c84b;
  --red: #ff4242;
  --sidebar: 116px;
  --header: 72px;
  --radius: 11px;
  --display: "Space Grotesk", "Inter", sans-serif;
  --sans: "Inter", system-ui, sans-serif;
}


/* Readability pass: submenu and Sheshe content never use micro text. */
.sidebar-submenu > header small,
.sidebar-submenu-link > i:last-child {
  font-size: 12px !important;
}

.sidebar-submenu-link strong {
  font-size: 14px !important;
  line-height: 1.3;
}

.sidebar-submenu-link.is-disabled small {
  font-size: 12px !important;
}

.sheshe-page .sheshe-breadcrumb,
.sheshe-page .sheshe-kicker,
.sheshe-page .sheshe-section-kicker,
.sheshe-page .sheshe-hero-mark span,
.sheshe-page .sheshe-stat-grid small,
.sheshe-page .sheshe-supporters header small,
.sheshe-page .sheshe-certificate header small,
.sheshe-page .sheshe-supporters li > span,
.sheshe-page .sheshe-supporters > p,
.sheshe-page .sheshe-certificate > header > span,
.sheshe-page .sheshe-certificate a > span,
.sheshe-page .sheshe-year-story > small,
.sheshe-page .sheshe-winners span,
.sheshe-page .sheshe-about > div small {
  font-size: 12px !important;
  line-height: 1.45;
}

.sheshe-page .sheshe-year-navigation > a,
.sheshe-page .sheshe-year-extra,
.sheshe-page .sheshe-profile dl > div,
.sheshe-page .sheshe-about > div strong {
  font-size: 13px !important;
  line-height: 1.5;
}

.sheshe-page .sheshe-hero-copy > p:not(.sheshe-breadcrumb),
.sheshe-page .sheshe-thanks,
.sheshe-page .sheshe-supporters li strong,
.sheshe-page .sheshe-year-story > p,
.sheshe-page .sheshe-about > p,
.sheshe-page .sheshe-support p,
.sheshe-page .sheshe-support > a {
  font-size: 14px !important;
  line-height: 1.55;
}


*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 38% -10%, rgba(0, 184, 234, 0.07), transparent 35rem),
    linear-gradient(135deg, #03070b 0%, #061019 54%, #03070b 100%);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
}

button,
a {
  color: inherit;
  font: inherit;
}

a {
  text-decoration: none;
}

button {
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: #001016;
  background: var(--cyan);
  border-radius: 6px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.control-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
}

.control-workspace {
  min-width: 0;
}

.control-sidebar {
  position: sticky;
  z-index: 40;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #06111a 0%, #08121a 58%, #050b10 100%);
  border-right: 1px solid #223542;
  box-shadow: 10px 0 34px rgba(0, 0, 0, 0.25);
}

.sidebar-logo {
  min-height: 90px;
  display: grid;
  place-items: center;
  border-bottom: 1px solid #223542;
}

.wk-mark,
.mini-mark {
  position: relative;
  display: grid;
  place-items: center;
  color: #43d8ff;
  font-family: var(--display);
  font-weight: 800;
  font-style: italic;
  line-height: 1;
  text-shadow: 0 0 18px rgba(22, 206, 245, 0.45);
  transform: skew(-8deg);
}

.wk-mark {
  width: 62px;
  height: 62px;
  font-size: 43px;
}

.wk-mark::before,
.wk-mark::after {
  content: "";
  position: absolute;
  bottom: 8px;
  width: 4px;
  height: 38px;
  background: linear-gradient(#7ae8ff, #0c96c4);
  transform: skew(-23deg);
  opacity: 0.75;
}

.wk-mark::before { left: 10px; }
.wk-mark::after { right: 11px; }

.sidebar-nav {
  flex: 1 1 auto;
  padding-top: 1px;
}

.sidebar-link {
  position: relative;
  min-height: 82px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #a9b7c4;
  font-size: 13px;
  transition: color 180ms ease, background 180ms ease;
}

.sidebar-link > i {
  width: 34px;
  text-align: center;
  font-size: 26px;
}

.sidebar-link:hover,
.sidebar-link:focus-visible,
.sidebar-link.is-active {
  color: #eafdff;
  background: linear-gradient(90deg, rgba(20, 194, 244, 0.17), rgba(20, 194, 244, 0.04));
}

.sidebar-link.is-active {
  color: #6ae3ff;
  border-top: 1px solid rgba(22, 206, 245, 0.2);
  border-bottom: 1px solid rgba(22, 206, 245, 0.2);
}

.sidebar-link.is-active::before {
  content: "";
  position: absolute;
  inset: 10px auto 10px 7px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: var(--cyan);
  box-shadow: 0 0 13px var(--cyan);
}

.sidebar-link.is-active::after {
  content: "";
  position: absolute;
  right: -9px;
  width: 17px;
  height: 17px;
  background: #11bde9;
  transform: rotate(45deg);
  box-shadow: 4px -4px 10px rgba(22, 206, 245, 0.25);
}

.sidebar-group {
  position: relative;
}

.sidebar-group-toggle {
  width: 100%;
  padding: 0;
  cursor: pointer;
  background: transparent;
}

.sidebar-link-chevron {
  position: absolute;
  top: 11px;
  right: 10px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  color: #718492;
  border: 1px solid rgba(74, 112, 136, 0.3);
  border-radius: 50%;
  background: rgba(3, 10, 15, 0.55);
  font-size: 7px;
  transition: color 180ms ease, border-color 180ms ease, transform 220ms ease;
}

.sidebar-group-toggle:hover .sidebar-link-chevron,
.sidebar-group-toggle:focus-visible .sidebar-link-chevron,
.sidebar-group.is-open .sidebar-link-chevron {
  color: var(--cyan);
  border-color: rgba(22, 206, 245, 0.55);
}

.sidebar-group.is-open .sidebar-link-chevron {
  transform: rotate(180deg);
}

.sidebar-submenu {
  position: absolute;
  z-index: 60;
  top: 50%;
  left: calc(100% + 12px);
  width: 286px;
  padding: 12px;
  visibility: hidden;
  color: var(--text);
  border: 1px solid #1c7899;
  border-radius: 12px;
  background:
    radial-gradient(circle at 100% 0, rgba(22, 206, 245, 0.12), transparent 180px),
    linear-gradient(155deg, rgba(7, 19, 29, 0.99), rgba(3, 10, 16, 0.99));
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.55), inset 0 0 24px rgba(22, 206, 245, 0.025);
  opacity: 0;
  pointer-events: none;
  transform: translate(-12px, -50%) scale(0.97);
  transform-origin: left center;
  transition: opacity 190ms ease, transform 220ms ease, visibility 220ms ease;
}

.sidebar-submenu::before,
.sidebar-submenu::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  transform: translateY(-50%);
}

.sidebar-submenu::before {
  left: -10px;
  border-top: 10px solid transparent;
  border-right: 10px solid #1c7899;
  border-bottom: 10px solid transparent;
}

.sidebar-submenu::after {
  left: -8px;
  border-top: 9px solid transparent;
  border-right: 9px solid #07141e;
  border-bottom: 9px solid transparent;
}

.sidebar-group.is-open .sidebar-submenu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translate(0, -50%) scale(1);
}

.sidebar-submenu > header {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 9px;
  padding: 3px 5px 11px;
  border-bottom: 1px solid #1c3544;
}

.sidebar-submenu > header > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--cyan);
  border: 1px solid rgba(22, 206, 245, 0.33);
  border-radius: 9px;
  background: rgba(12, 101, 132, 0.12);
  font-size: 18px;
}

.sidebar-submenu > header small,
.sidebar-submenu > header strong {
  display: block;
}

.sidebar-submenu > header small {
  color: #65808f;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.sidebar-submenu > header strong {
  margin-top: 2px;
  font-family: var(--display);
  font-size: 17px;
}

.sidebar-submenu-list {
  display: grid;
  gap: 5px;
}

.sidebar-submenu-link {
  position: relative;
  min-height: 49px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 6px 10px;
  color: #aebbc5;
  border: 1px solid transparent;
  border-radius: 7px;
  background: rgba(5, 14, 21, 0.55);
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.sidebar-submenu-link > i:first-child {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #8295a2;
  border: 1px solid #203947;
  border-radius: 7px;
  background: #07131c;
  font-size: 13px;
}

.sidebar-submenu-link strong {
  font-size: 11px;
  line-height: 1.2;
}

.sidebar-submenu-link > i:last-child {
  color: #5b7280;
  font-size: 9px;
}

a.sidebar-submenu-link:hover,
a.sidebar-submenu-link:focus-visible,
.sidebar-submenu-link.is-active {
  color: #e8fbff;
  border-color: rgba(22, 206, 245, 0.38);
  background: linear-gradient(90deg, rgba(9, 91, 120, 0.34), rgba(5, 25, 35, 0.66));
  transform: translateX(2px);
}

a.sidebar-submenu-link:hover > i:first-child,
a.sidebar-submenu-link:focus-visible > i:first-child,
.sidebar-submenu-link.is-active > i:first-child,
.sidebar-submenu-link.is-active > i:last-child {
  color: var(--cyan);
}

.sidebar-submenu-link.is-active::before {
  content: "";
  position: absolute;
  inset: 8px auto 8px 0;
  width: 2px;
  border-radius: 2px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.sidebar-submenu-link.is-disabled {
  color: #788894;
  cursor: default;
}

.sidebar-submenu-link.is-disabled small {
  padding: 3px 5px;
  color: #536c7a;
  border: 1px solid #243b48;
  border-radius: 9px;
  font-size: 6px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sidebar-status {
  margin: 12px 14px 24px;
  padding: 13px 8px 14px;
  display: grid;
  place-items: center;
  gap: 11px;
  color: #8ca0ae;
  border: 1px solid #20313d;
  border-radius: 10px;
  background: rgba(2, 8, 12, 0.4);
  text-transform: uppercase;
  font-size: 10px;
}

.sidebar-status span i {
  width: 8px;
  height: 8px;
  display: inline-block;
  margin-right: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 9px rgba(53, 231, 114, 0.75);
}

.sidebar-status > i {
  font-size: 26px;
}

.sidebar-version {
  margin: 0 0 38px;
  color: #71808c;
  text-align: center;
  font-size: 10px;
  line-height: 1.8;
}

.sidebar-version strong {
  font-weight: 500;
}

.sidebar-backdrop {
  display: none;
}

.control-header {
  position: relative;
  z-index: 30;
  min-height: var(--header);
  display: grid;
  grid-template-columns: minmax(270px, 1fr) auto minmax(340px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 0 20px 0 32px;
  background: rgba(2, 7, 11, 0.91);
  border-bottom: 1px solid #182b38;
  backdrop-filter: blur(18px);
}

.sidebar-toggle {
  display: none;
  width: 42px;
  height: 42px;
  color: var(--cyan);
  background: transparent;
  cursor: pointer;
}

.control-brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  white-space: nowrap;
}

.control-brand strong {
  font-family: var(--display);
  font-size: clamp(21px, 1.8vw, 29px);
  letter-spacing: -0.04em;
}

.control-brand span {
  color: var(--cyan);
  font-family: var(--display);
  font-size: clamp(16px, 1.45vw, 24px);
  font-weight: 500;
}

.system-pill {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 15px;
  color: #8997a2;
  border: 1px solid #20323e;
  border-radius: 9px;
  background: rgba(3, 7, 12, 0.76);
  text-transform: uppercase;
  white-space: nowrap;
  font-size: 10px;
}

.system-pill span:first-child i {
  width: 6px;
  height: 6px;
  display: inline-block;
  margin-right: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
}

.system-pill strong {
  color: var(--green);
  font-weight: 700;
}

.system-pill b {
  width: 1px;
  height: 21px;
  background: #36434b;
}

.system-pill time {
  color: #d9e0e5;
  font-weight: 600;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 15px;
}

.header-actions button {
  position: relative;
  min-width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #c6d0d8;
  background: transparent;
  font-size: 23px;
  cursor: pointer;
}

.header-actions button:hover,
.header-actions button:focus-visible {
  color: var(--cyan);
}

.action-separator {
  width: 1px;
  height: 33px;
  margin-inline: 2px;
  background: #39444b;
}

.notification-action em {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  color: #001018;
  background: var(--cyan);
  border-radius: 999px;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.header-pulse {
  color: #a8b4bc;
  font-size: 21px;
}

.header-actions .profile-action {
  width: auto;
  min-width: 164px;
  display: flex;
  grid-template-columns: none;
  justify-content: flex-start;
  gap: 11px;
  padding: 4px 12px 4px 5px;
  border: 1px solid #20323e;
  border-radius: 24px;
  font-size: 13px;
}

.profile-action .mini-mark {
  width: 34px;
  height: 34px;
  border: 1px solid #16516a;
  border-radius: 50%;
  font-size: 18px;
}

.profile-action strong {
  margin-right: auto;
}

.profile-action > i {
  font-size: 11px;
}

.control-main {
  min-width: 0;
  padding: 18px 22px 25px;
}

.dashboard-page {
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
}

.panel-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(10, 21, 30, 0.96), rgba(4, 10, 15, 0.96));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22), inset 0 1px rgba(255, 255, 255, 0.02);
}

.top-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.55fr) minmax(320px, 1fr);
  gap: 22px;
}

.broadcast-hero {
  --broadcast-accent: var(--cyan);
  --broadcast-cover-image: url("../images/studio-hero-v2.webp");
  position: relative;
  min-height: 338px;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, #03090e 0%, rgba(3, 9, 14, 0.98) 27%, rgba(3, 9, 14, 0.72) 38%, rgba(3, 9, 14, 0.12) 52%, transparent 63%),
    linear-gradient(90deg, transparent 72%, rgba(3, 9, 14, 0.1) 80%, rgba(3, 9, 14, 0.52) 91%, rgba(3, 9, 14, 0.9) 100%),
    linear-gradient(0deg, rgba(2, 8, 13, 0.4), transparent 45%),
    var(--broadcast-cover-image);
  background-position: center, center, center, right 282px center;
  background-size: 100% 100%, 100% 100%, 100% 100%, auto 100%;
  background-repeat: no-repeat;
}

.broadcast-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 48px rgba(1, 9, 14, 0.66);
}

.broadcast-copy {
  position: relative;
  z-index: 3;
  width: min(43%, 430px);
  padding: 24px 0 22px 39px;
}

.eyebrow {
  margin: 0 0 5px;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  font-weight: 600;
}

.eyebrow span {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  margin-left: 8px;
  padding: 2px 8px;
  color: var(--broadcast-accent);
  border: 1px solid color-mix(in srgb, var(--broadcast-accent) 38%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--broadcast-accent) 8%, transparent);
  font-size: 9px;
  letter-spacing: 0.04em;
  vertical-align: 1px;
}

.broadcast-copy h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(38px, 3.6vw, 55px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  white-space: nowrap;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.85);
}

.show-name {
  display: grid;
  grid-template-columns: 34px minmax(0, auto) 34px;
  align-items: center;
  justify-content: start;
  gap: 11px;
  margin: 2px 0 3px;
  color: var(--broadcast-accent);
  font-family: var(--display);
  font-size: clamp(17px, 1.55vw, 23px);
  line-height: 1.12;
}

.show-name > i {
  width: 34px;
  height: 1px;
  background: var(--broadcast-accent);
  box-shadow: 0 0 5px color-mix(in srgb, var(--broadcast-accent) 45%, transparent);
}

.show-name span {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.broadcast-category {
  max-width: 290px;
  margin: 0 0 9px;
  overflow: hidden;
  color: #aebbc4;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
}

.broadcast-category i {
  margin-right: 7px;
  color: var(--broadcast-accent);
}

.broadcast-actions {
  max-width: 276px;
  display: grid;
  gap: 8px;
}

.channel-button {
  min-height: 43px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0 18px;
  border: 1px solid currentColor;
  border-radius: 7px;
  text-transform: uppercase;
  font-weight: 700;
  transition: transform 180ms ease, filter 180ms ease;
}

.channel-button:hover,
.channel-button:focus-visible {
  transform: translateX(3px);
  filter: brightness(1.2);
}

.channel-button > i:first-child {
  width: 26px;
  text-align: center;
  font-size: 22px;
}

.channel-button.twitch {
  color: #f1e8ff;
  background: linear-gradient(90deg, rgba(128, 45, 196, 0.52), rgba(89, 37, 130, 0.33));
  border-color: #914be0;
}

.channel-button.discord {
  color: #e6ebff;
  background: linear-gradient(90deg, rgba(65, 83, 174, 0.56), rgba(49, 67, 143, 0.32));
  border-color: #4769ce;
}

.channel-button.intro {
  justify-content: space-between;
  color: #edf3f5;
  background: rgba(8, 17, 24, 0.77);
  border-color: #a96611;
  font-size: 12px;
}

.channel-button.intro i {
  color: var(--orange);
}

.countdown-wrap {
  position: absolute;
  z-index: 3;
  right: 24px;
  top: 30px;
  width: 258px;
  display: grid;
  justify-items: center;
}

.countdown-ring {
  position: relative;
  width: 232px;
  height: 232px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, #071018 0 52%, transparent 53%),
    conic-gradient(from 8deg, var(--broadcast-accent) 0 13%, #24313a 13% 28%, transparent 28% 31%, #24313a 31% 52%, transparent 52% 55%, #24313a 55% 82%, transparent 82% 85%, #24313a 85% 100%);
  filter: drop-shadow(0 0 18px color-mix(in srgb, var(--broadcast-accent) 16%, transparent));
}

.countdown-ring::before,
.countdown-ring::after {
  content: "";
  position: absolute;
  inset: 17px;
  border: 1px solid #50606b;
  border-radius: 50%;
}

.countdown-ring::after {
  inset: 28px;
  border-color: color-mix(in srgb, var(--broadcast-accent) 42%, transparent);
  border-style: dashed;
}

.countdown-ring > div {
  position: relative;
  z-index: 1;
  width: 145px;
  display: grid;
  justify-items: center;
  text-align: center;
}

.countdown-ring strong {
  text-transform: uppercase;
  font-size: 12px;
  line-height: 1.2;
}

.countdown-days {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin-top: 6px;
  border: 1px solid #61717c;
  border-radius: 50%;
  font-family: var(--display);
  font-size: 32px;
}

.countdown-ring small {
  margin-top: -19px;
  color: #a6b2ba;
  text-transform: uppercase;
  font-size: 9px;
}

.countdown-ring b {
  margin-top: 11px;
  font-family: var(--display);
  font-size: 33px;
  line-height: 1;
}

.countdown-ring em {
  margin-top: 4px;
  color: #aab4ba;
  text-transform: uppercase;
  font-size: 9px;
  font-style: normal;
}

.broadcast-date {
  margin-top: 8px;
  color: #c9d3d9;
  font-size: 13px;
}

.broadcast-date::before {
  content: "\f073";
  margin-right: 9px;
  font-family: "Font Awesome 7 Free", "Font Awesome 6 Free";
  font-weight: 900;
}

.status-panel {
  min-height: 338px;
  overflow: hidden;
}

.panel-title {
  min-height: 59px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  border-bottom: 1px solid #20313c;
  text-transform: uppercase;
  letter-spacing: 0.035em;
  font-size: 13px;
}

.panel-title .pulse-line,
.events-header .pulse-line {
  flex: 1 1 auto;
  height: 15px;
  opacity: 0.7;
  background:
    linear-gradient(135deg, transparent 46%, var(--cyan) 47% 53%, transparent 54%) 0 8px / 9px 9px repeat-x;
  mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
}

.panel-title > i {
  color: #768895;
}

.stream-state {
  min-height: 83px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 25px;
}

.stream-state > i {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  background: #347cf6;
  border-radius: 50%;
  box-shadow: 0 0 14px #347cf6;
}

.stream-state div {
  display: grid;
}

.stream-state strong {
  font-size: 18px;
}

.stream-state span {
  color: #b2bec6;
  font-size: 12px;
}

.meter-card {
  min-height: 64px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin: 0 18px 9px;
  padding: 5px 13px 5px 7px;
  border: 1px solid #192c38;
  border-radius: 9px;
  background: rgba(13, 23, 31, 0.62);
}

.meter-icon {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  color: var(--tone);
  border: 1px solid color-mix(in srgb, var(--tone) 52%, transparent);
  border-radius: 50%;
  background: color-mix(in srgb, var(--tone) 12%, transparent);
  box-shadow: 0 0 16px color-mix(in srgb, var(--tone) 14%, transparent);
  font-size: 20px;
}

.meter-card p {
  margin: 0 0 8px;
  font-size: 13px;
}

.meter-card p strong {
  color: var(--tone);
}

.meter {
  height: 4px;
  display: block;
  overflow: hidden;
  background: repeating-linear-gradient(90deg, #35414a 0 55px, transparent 55px 58px);
  border-radius: 4px;
}

.meter i {
  height: 100%;
  display: block;
  background: repeating-linear-gradient(90deg, var(--tone) 0 55px, transparent 55px 58px);
  box-shadow: 0 0 7px var(--tone);
}

.service-pills {
  display: flex;
  justify-content: space-between;
  gap: 7px;
  padding: 2px 18px 0;
}

.service-pills span {
  padding: 4px 12px;
  color: var(--cyan);
  border: 1px solid rgba(22, 206, 245, 0.28);
  border-radius: 999px;
  background: rgba(0, 152, 197, 0.08);
  text-transform: uppercase;
  white-space: nowrap;
  font-size: 9px;
  font-weight: 700;
}

.service-pills span:nth-child(2) {
  color: var(--green);
  border-color: rgba(53, 231, 114, 0.25);
  background: rgba(53, 231, 114, 0.06);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 15px;
  margin-top: 17px;
}

.quick-card {
  position: relative;
  min-width: 0;
  min-height: 171px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px 20px 20px;
  color: var(--tone);
  border: 1px solid color-mix(in srgb, var(--tone) 45%, #17232c);
  border-radius: 9px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--tone) 8%, transparent), transparent 58%),
    linear-gradient(rgba(18, 57, 76, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 57, 76, 0.13) 1px, transparent 1px),
    #071018;
  background-size: auto, 18px 18px, 18px 18px, auto;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.quick-card::before {
  content: "";
  position: absolute;
  inset: 43% -15% auto 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--tone), transparent);
  box-shadow: 40px -12px 0 color-mix(in srgb, var(--tone) 30%, transparent), 80px 10px 0 color-mix(in srgb, var(--tone) 20%, transparent);
  opacity: 0.38;
}

.quick-card:hover,
.quick-card:focus-visible {
  z-index: 2;
  transform: translateY(-3px);
  border-color: var(--tone);
  box-shadow: 0 9px 27px color-mix(in srgb, var(--tone) 13%, transparent), inset 0 0 28px color-mix(in srgb, var(--tone) 5%, transparent);
  outline: none;
}

.card-number {
  position: absolute;
  top: 12px;
  left: 17px;
  font-family: var(--display);
  font-weight: 600;
}

.quick-icon {
  position: absolute;
  top: 18px;
  left: 50%;
  width: 92px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--tone) 55%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--tone) 5%, #071018);
  box-shadow: 0 0 19px color-mix(in srgb, var(--tone) 10%, transparent);
  transform: translateX(-50%);
  font-size: 36px;
}

.quick-card > strong {
  position: relative;
  z-index: 1;
  overflow: hidden;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--display);
  font-size: 16px;
}

.quick-card > small {
  overflow: hidden;
  color: #c7d0d6;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
}

.card-arrow {
  position: absolute;
  right: 13px;
  bottom: 15px;
  font-size: 12px;
}

.tone-cyan { --tone: var(--cyan); }
.tone-blue { --tone: var(--cyan); }
.tone-green { --tone: var(--green); }
.tone-purple { --tone: var(--purple); }
.tone-orange { --tone: var(--orange); }
.tone-gold { --tone: var(--gold); }
.tone-red { --tone: var(--red); }

.stats-strip {
  min-height: 79px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  margin-top: 17px;
  padding: 10px 14px;
}

.stat-item {
  min-width: 0;
  min-height: 49px;
  display: grid;
  grid-template-columns: 51px minmax(75px, 1fr) minmax(42px, 0.65fr);
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  color: var(--tone);
  border-right: 1px solid #46545e;
}

.stat-item:last-child {
  border-right: 0;
}

.stat-item > i {
  font-size: 36px;
  text-align: center;
  filter: drop-shadow(0 0 8px color-mix(in srgb, var(--tone) 32%, transparent));
}

.stat-item div {
  min-width: 0;
  display: grid;
}

.stat-item span:first-child {
  overflow: hidden;
  color: #aab6bf;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
}

.stat-item strong {
  color: #f4f7f9;
  font-family: var(--display);
  font-size: 26px;
  line-height: 1.12;
}

.mini-chart {
  position: relative;
  height: 29px;
  border-bottom: 1px solid color-mix(in srgb, var(--tone) 32%, transparent);
  clip-path: polygon(0 60%, 12% 61%, 22% 72%, 33% 40%, 44% 58%, 56% 31%, 67% 55%, 80% 16%, 90% 45%, 100% 0, 100% 100%, 0 100%);
  background: linear-gradient(180deg, color-mix(in srgb, var(--tone) 40%, transparent), transparent);
}

.events-panel {
  position: relative;
  margin-top: 17px;
  padding: 0 22px 18px;
}

.events-panel::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 21px;
  width: 1px;
  height: calc(100% - 38px);
  background: linear-gradient(var(--cyan), #6a8090);
}

.events-header {
  min-height: 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.events-header h2 {
  min-width: min(58%, 920px);
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  text-transform: uppercase;
  font-size: 16px;
}

.events-header h2 .pulse-line {
  min-width: 120px;
}

.events-header > a {
  color: #93a0aa;
  text-transform: uppercase;
  white-space: nowrap;
  font-size: 9px;
}

.events-header > a i {
  margin-left: 7px;
  color: var(--cyan);
}

.events-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 11px;
}

.event-card {
  position: relative;
  min-width: 0;
  min-height: 116px;
  display: grid;
  grid-template-columns: 58px 78px minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid #20333f;
  border-radius: 7px;
  background: linear-gradient(105deg, color-mix(in srgb, var(--tone) 7%, transparent), rgba(9, 18, 26, 0.87));
}

.event-card > time {
  display: grid;
  align-content: center;
  justify-items: center;
  border-right: 1px solid #1f303a;
  text-transform: uppercase;
}

.event-card > time small {
  color: #91a7b6;
  font-size: 9px;
}

.event-card > time b {
  color: var(--tone);
  font-size: 10px;
}

.event-card > time strong {
  color: var(--tone);
  font-family: var(--display);
  font-size: 31px;
  line-height: 1.15;
}

.event-visual {
  display: grid;
  place-items: center;
  color: var(--tone);
  background: radial-gradient(circle, color-mix(in srgb, var(--tone) 17%, transparent), transparent 68%);
  font-size: 41px;
  text-shadow: 0 0 18px color-mix(in srgb, var(--tone) 45%, transparent);
}

.event-copy {
  min-width: 0;
  align-self: center;
  padding: 8px 6px 18px 8px;
}

.event-copy > strong,
.event-copy p {
  overflow: hidden;
  display: block;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-copy > strong {
  font-size: 12px;
}

.event-copy p {
  margin: 2px 0 6px;
  color: #9baab5;
  font-size: 10px;
}

.event-copy > span {
  padding: 3px 6px;
  color: var(--tone);
  border: 1px solid color-mix(in srgb, var(--tone) 30%, transparent);
  border-radius: 4px;
  background: color-mix(in srgb, var(--tone) 8%, transparent);
  text-transform: uppercase;
  font-size: 8px;
}

.event-time {
  position: absolute;
  right: 7px;
  bottom: 7px;
  color: #84939d;
  font-size: 9px;
}

.event-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 8px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: linear-gradient(90deg, transparent 2%, #28404e 10% 90%, transparent 98%) center / 100% 1px no-repeat;
}

.event-progress span,
.event-progress i,
.event-progress b {
  width: 7px;
  height: 7px;
  background: #687884;
  border-radius: 50%;
}

.event-progress b {
  width: 10px;
  height: 10px;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.setup-page {
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
}

.setup-page-heading {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 4px 4px 18px;
}

.setup-page-heading .eyebrow {
  margin: 0 0 3px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.setup-page-heading h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
}

.setup-page-heading > div > p:last-child {
  margin: 5px 0 0;
  color: #56daf6;
  font-size: 16px;
}

.setup-online {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  color: #83ebff;
  border: 1px solid rgba(22, 206, 245, 0.24);
  border-radius: 999px;
  background: rgba(22, 206, 245, 0.05);
  text-transform: uppercase;
  font-size: 9px;
  letter-spacing: 0.1em;
}

.setup-online i {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 11px var(--green);
}

.setup-tabs {
  width: min(100%, 690px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
  overflow: hidden;
  border: 1px solid #203441;
  border-radius: 10px;
  background: rgba(6, 14, 21, 0.8);
}

.setup-tab {
  position: relative;
  min-height: 55px;
  padding: 10px 16px;
  color: #acb8c1;
  border-right: 1px solid #1b2c37;
  background: transparent;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease;
}

.setup-tab:last-child {
  border-right: 0;
}

.setup-tab::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 180ms ease, transform 180ms ease;
}

.setup-tab:hover,
.setup-tab:focus-visible,
.setup-tab.is-active {
  color: #76e5fc;
  background: linear-gradient(180deg, rgba(17, 126, 157, 0.08), rgba(22, 206, 245, 0.05));
}

.setup-tab.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

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

.setup-panel {
  --setup-tone: var(--cyan);
  animation: setup-panel-in 260ms ease both;
}

.setup-panel.tone-amber { --setup-tone: var(--orange); }
.setup-panel.tone-purple { --setup-tone: var(--purple); }

@keyframes setup-panel-in {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: none; }
}

.setup-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(390px, 0.9fr);
  gap: 20px;
  align-items: stretch;
}

.setup-hero-card {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  isolation: isolate;
  border-color: color-mix(in srgb, var(--setup-tone) 34%, var(--line));
  background: #040a0f;
}

.setup-hero-card::before,
.setup-hero-card::after {
  content: "";
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.setup-hero-card::before {
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 8, 13, 0.92) 0%, rgba(2, 8, 13, 0.12) 25%, transparent 54%, rgba(2, 8, 13, 0.94) 100%),
    linear-gradient(90deg, rgba(3, 9, 14, 0.52), transparent 34% 74%, rgba(3, 9, 14, 0.2));
}

.setup-hero-card::after {
  right: 7%;
  bottom: 17%;
  width: 45%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--setup-tone), transparent);
  box-shadow: 0 0 16px var(--setup-tone);
  opacity: 0.65;
}

.setup-hero-card > img {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(1.04);
}

.setup-hero-copy,
.setup-hero-footer {
  position: absolute;
  z-index: 2;
  right: 28px;
  left: 28px;
}

.setup-hero-copy {
  top: 25px;
}

.setup-hero-copy p,
.setup-spec-card header p {
  margin: 0 0 4px;
  color: var(--setup-tone);
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.setup-hero-copy h2 {
  margin: 0;
  color: var(--setup-tone);
  font-family: var(--display);
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.1;
  text-transform: uppercase;
}

.setup-hero-copy strong {
  display: block;
  margin-top: 3px;
  color: #c0cad1;
  font-weight: 500;
}

.setup-hero-footer {
  bottom: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.setup-hero-footer > p {
  max-width: 510px;
  margin: 0;
  color: #b8c4cc;
  font-size: 13px;
}

.setup-badges {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 7px;
}

.setup-badges span {
  padding: 5px 8px;
  color: var(--setup-tone);
  border: 1px solid color-mix(in srgb, var(--setup-tone) 34%, transparent);
  border-radius: 5px;
  background: color-mix(in srgb, var(--setup-tone) 8%, rgba(3, 9, 14, 0.82));
  text-transform: uppercase;
  white-space: nowrap;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.07em;
}

.setup-spec-card {
  min-height: 680px;
  padding: 20px;
  border-color: color-mix(in srgb, var(--setup-tone) 58%, var(--line));
}

.setup-spec-card > header {
  min-height: 62px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 0 7px 14px;
  border-bottom: 1px solid #20323e;
}

.setup-spec-card header h2 {
  margin: 0;
  color: var(--setup-tone);
  font-family: var(--display);
  font-size: 24px;
  line-height: 1.1;
  text-transform: uppercase;
}

.setup-spec-card > header > span {
  padding: 5px 8px;
  color: #8ea0ad;
  border: 1px solid #263a47;
  border-radius: 999px;
  background: #071018;
  text-transform: uppercase;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.setup-spec-stage {
  position: relative;
  overflow: hidden;
}

.setup-spec-list {
  position: relative;
  display: grid;
  gap: 7px;
  padding-top: 12px;
  opacity: 1;
  transform: translateX(0);
  transition: opacity 240ms ease, transform 320ms cubic-bezier(0.22, 0.75, 0.2, 1);
}

.setup-spec-item {
  width: 100%;
  min-height: 66px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 14px;
  align-items: center;
  gap: 12px;
  padding: 7px 12px 7px 7px;
  border: 1px solid #1d303c;
  border-radius: 8px;
  background: linear-gradient(100deg, rgba(10, 23, 33, 0.94), rgba(5, 13, 19, 0.86));
  color: inherit;
  font: inherit;
  text-align: left;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.setup-spec-item.is-actionable {
  cursor: pointer;
}

.setup-spec-item.is-actionable:hover,
.setup-spec-item.is-actionable:focus-visible {
  border-color: color-mix(in srgb, var(--setup-tone) 44%, #1d303c);
  background: linear-gradient(100deg, color-mix(in srgb, var(--setup-tone) 9%, #0a1721), #050d13);
  transform: translateX(2px);
  outline: none;
}

.setup-spec-item.is-actionable:focus-visible {
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--setup-tone) 42%, transparent);
}

.setup-spec-icon {
  width: 54px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--setup-tone);
  border-right: 1px solid #1e313d;
  font-size: 22px;
  text-shadow: 0 0 14px color-mix(in srgb, var(--setup-tone) 45%, transparent);
}

.setup-spec-copy {
  min-width: 0;
}

.setup-spec-item small {
  display: block;
  margin-bottom: 1px;
  color: #7f919e;
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.setup-spec-item strong {
  display: block;
  color: #eef6f9;
  font-size: 14px;
  line-height: 1.3;
}

.setup-spec-copy > span {
  display: block;
  margin: 2px 0 0;
  color: #96a5af;
  font-size: 11.5px;
  line-height: 1.25;
}

.setup-spec-arrow {
  color: #748590;
  font-size: 9px;
  transition: color 180ms ease, transform 180ms ease;
}

.setup-spec-item.is-actionable:hover .setup-spec-arrow,
.setup-spec-item.is-actionable:focus-visible .setup-spec-arrow {
  color: var(--setup-tone);
  transform: translateX(2px);
}

.setup-spec-details {
  position: absolute;
  z-index: 2;
  inset: 12px 0 0;
  overflow: auto;
  opacity: 0;
  pointer-events: none;
  transform: translateX(105%);
  transition: opacity 240ms ease, transform 320ms cubic-bezier(0.22, 0.75, 0.2, 1);
  scrollbar-color: color-mix(in srgb, var(--setup-tone) 45%, transparent) transparent;
  scrollbar-width: thin;
}

.setup-spec-card.is-showing-detail .setup-spec-list {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-105%);
}

.setup-spec-card.is-showing-detail .setup-spec-details {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.setup-spec-detail {
  min-height: 100%;
  padding: 2px 7px 10px;
}

.setup-spec-detail[hidden] {
  display: none;
}

.setup-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 23px;
  padding: 7px 10px;
  color: #a9bbc6;
  border: 1px solid #263a47;
  border-radius: 6px;
  background: rgba(6, 15, 22, 0.9);
  cursor: pointer;
  text-transform: uppercase;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.setup-detail-back:hover,
.setup-detail-back:focus-visible {
  color: var(--setup-tone);
  border-color: color-mix(in srgb, var(--setup-tone) 50%, #263a47);
  outline: none;
  transform: translateX(-2px);
}

.setup-detail-heading {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  align-items: center;
  gap: 15px;
  padding-bottom: 19px;
  border-bottom: 1px solid #20323e;
}

.setup-detail-heading .setup-spec-icon {
  width: 66px;
  height: 62px;
  border: 1px solid color-mix(in srgb, var(--setup-tone) 30%, #20323e);
  border-radius: 9px;
  background: color-mix(in srgb, var(--setup-tone) 7%, rgba(4, 12, 18, 0.9));
  font-size: 27px;
}

.setup-detail-heading small {
  display: block;
  color: var(--setup-tone);
  text-transform: uppercase;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.setup-detail-heading h3 {
  margin: 2px 0 0;
  color: #f1f7fa;
  font-family: var(--display);
  font-size: clamp(21px, 2.2vw, 28px);
  line-height: 1.15;
}

.setup-detail-description {
  margin: 20px 2px 17px;
  color: #b8c4cc;
  font-size: 14px;
  line-height: 1.65;
}

.setup-detail-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.setup-detail-facts span {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  color: #d4dee4;
  border: 1px solid #1f333f;
  border-radius: 7px;
  background: linear-gradient(120deg, rgba(10, 23, 33, 0.94), rgba(5, 13, 19, 0.85));
  font-size: 12px;
  line-height: 1.35;
}

.setup-detail-facts i {
  color: var(--setup-tone);
  font-size: 9px;
}

.setup-detail-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid #20323e;
}

.setup-detail-sources a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  color: var(--setup-tone);
  border: 1px solid color-mix(in srgb, var(--setup-tone) 34%, transparent);
  border-radius: 6px;
  background: color-mix(in srgb, var(--setup-tone) 7%, rgba(4, 12, 18, 0.9));
  font-size: 10.5px;
  font-weight: 700;
  transition: background 180ms ease, transform 180ms ease;
}

.setup-detail-sources a:hover,
.setup-detail-sources a:focus-visible {
  background: color-mix(in srgb, var(--setup-tone) 13%, rgba(4, 12, 18, 0.9));
  outline: none;
  transform: translateY(-1px);
}

.setup-page-footer {
  min-height: 66px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 10px 18px;
}

.setup-page-footer > i {
  color: var(--cyan);
  font-size: 20px;
}

.setup-page-footer strong {
  display: block;
  font-size: 11px;
}

.setup-page-footer p,
.setup-page-footer > span {
  margin: 1px 0 0;
  color: #84949f;
  font-size: 9px;
}

.setup-page-footer > span {
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.content-page {
  width: min(100%, 1120px);
  min-height: calc(100vh - 116px);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 70px);
}

.content-page h1 {
  margin: 0 0 30px;
  font-family: var(--display);
  font-size: clamp(34px, 5vw, 62px);
}

.wysiwyg-content {
  color: #c8d2d9;
}

.wysiwyg-content a {
  color: var(--cyan);
}

.wysiwyg-content img {
  max-width: 100%;
  height: auto;
}

.v2-menu-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.v2-menu-list a {
  color: var(--cyan);
}

/* 2026 chess championship */
.chess-page {
  display: grid;
  gap: 14px;
  max-width: 1540px;
  margin: 0 auto;
  padding-bottom: 30px;
}

.chess-page [id] {
  scroll-margin-top: calc(var(--header) + 18px);
}

.chess-masthead {
  position: relative;
  min-height: 148px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  padding: 24px 32px;
  border-bottom: 1px solid rgba(60, 112, 143, 0.25);
  background:
    linear-gradient(90deg, rgba(3, 8, 13, 0.97) 0%, rgba(4, 13, 21, 0.9) 48%, rgba(3, 12, 20, 0.36) 100%),
    repeating-linear-gradient(0deg, transparent 0 25px, rgba(30, 184, 232, 0.05) 26px 27px);
}

.chess-masthead::after {
  content: "";
  position: absolute;
  right: 1%;
  bottom: -74px;
  width: 590px;
  height: 190px;
  opacity: 0.33;
  background:
    linear-gradient(45deg, rgba(34, 137, 197, 0.24) 25%, transparent 25% 75%, rgba(34, 137, 197, 0.24) 75%),
    linear-gradient(45deg, rgba(34, 137, 197, 0.24) 25%, transparent 25% 75%, rgba(34, 137, 197, 0.24) 75%);
  background-position: 0 0, 24px 24px;
  background-size: 48px 48px;
  transform: perspective(220px) rotateX(58deg);
  transform-origin: bottom;
}

.chess-masthead-copy {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 22px;
}

.chess-title-icon {
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #dff9ff;
  border: 1px solid #148eb5;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 149, 190, 0.22), rgba(3, 14, 22, 0.94) 70%);
  box-shadow: inset 0 0 18px rgba(22, 206, 245, 0.08), 0 0 24px rgba(22, 206, 245, 0.08);
  font-size: 35px;
}

.chess-breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 6px;
  color: #8093a2;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.chess-breadcrumb a:hover,
.chess-breadcrumb a:focus-visible {
  color: var(--cyan);
}

.chess-breadcrumb i {
  font-size: 7px;
}

.chess-masthead h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(28px, 2.5vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.chess-masthead-copy > div > p:last-child {
  margin: 8px 0 0;
  color: #a8b7c3;
  font-size: 14px;
}

.chess-masthead-art {
  position: absolute;
  z-index: 1;
  inset: 0 1.5% 0 auto;
  width: min(48%, 690px);
  color: #061520;
}

.chess-masthead-art::before {
  content: "";
  position: absolute;
  inset: 18% 0 8%;
  background: radial-gradient(ellipse at 67% 52%, rgba(17, 182, 237, 0.33), transparent 34%), linear-gradient(90deg, transparent, rgba(16, 84, 126, 0.18));
  filter: blur(4px);
}

.chess-masthead-art .piece {
  position: absolute;
  bottom: 7px;
  color: #071723;
  text-shadow: -1px -1px 0 #164964, 1px 1px 0 #010507, 0 0 19px rgba(14, 142, 196, 0.28);
  filter: drop-shadow(0 16px 12px rgba(0, 0, 0, 0.82));
}

.chess-masthead-art .piece-rook { right: 38%; font-size: 88px; }
.chess-masthead-art .piece-knight { right: 13%; bottom: 0; color: #0a2130; font-size: 128px; text-shadow: -1px -1px 0 #1abfec, 1px 1px 0 #010507, 0 0 28px rgba(22, 206, 245, 0.47); }
.chess-masthead-art .piece-pawn { right: 58%; font-size: 65px; }

.chess-yearbar {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 210px));
  gap: 10px;
}

.chess-year {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 22px;
  color: #a5b3be;
  border: 1px solid #1a2d3a;
  border-radius: 9px;
  background: linear-gradient(180deg, rgba(12, 24, 34, 0.9), rgba(7, 15, 23, 0.9));
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.chess-year small {
  color: #738493;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.chess-year:hover,
.chess-year:focus-visible {
  color: #e8fbff;
  border-color: #216581;
  transform: translateY(-1px);
}

.chess-year.is-active {
  color: #eefcff;
  border-color: #0f91bc;
  background: linear-gradient(180deg, rgba(8, 102, 143, 0.66), rgba(5, 47, 68, 0.8));
  box-shadow: inset 0 0 18px rgba(22, 206, 245, 0.14), 0 0 18px rgba(22, 206, 245, 0.12);
}

.chess-year.is-active small { color: #70e4ff; }

.chess-section-nav {
  position: sticky;
  z-index: 20;
  top: 0;
  min-height: 48px;
  display: flex;
  align-items: stretch;
  gap: 4px;
  overflow-x: auto;
  border-bottom: 1px solid #213642;
  background: rgba(3, 9, 14, 0.92);
  backdrop-filter: blur(14px);
}

.chess-section-nav a {
  position: relative;
  min-width: max-content;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 22px;
  color: #99a8b4;
  font-size: 12px;
  font-weight: 600;
}

.chess-section-nav a::after {
  content: "";
  position: absolute;
  right: 15px;
  bottom: -1px;
  left: 15px;
  height: 2px;
  background: var(--cyan);
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity 180ms ease, transform 180ms ease;
}

.chess-section-nav a:hover,
.chess-section-nav a:focus-visible,
.chess-section-nav a.is-active {
  color: var(--cyan);
}

.chess-section-nav a:hover::after,
.chess-section-nav a:focus-visible::after,
.chess-section-nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.chess-status-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.chess-status-card {
  position: relative;
  min-height: 106px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 50px;
  align-items: center;
  gap: 8px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid #1d3341;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(10, 22, 32, 0.96), rgba(5, 13, 20, 0.96));
}

.chess-status-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: currentColor;
  opacity: 0.65;
}

.chess-status-card > div { min-width: 0; }
.chess-status-card > div { grid-column: 1; grid-row: 1; }
.chess-status-card.tone-green { color: var(--green); }
.chess-status-card.tone-cyan { color: var(--cyan); }
.chess-status-card.tone-blue { color: #53a2ff; }
.chess-status-card.tone-purple { color: #bd7aff; }
.chess-status-card.tone-gold { color: var(--gold); }

.chess-status-card small {
  display: block;
  color: #8797a5;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.chess-status-card strong {
  display: block;
  margin-top: 5px;
  color: currentColor;
  font-family: var(--display);
  font-size: clamp(15px, 1.22vw, 20px);
  line-height: 1.12;
}

.chess-status-card p {
  margin: 6px 0 0;
  color: #8797a4;
  font-size: 10px;
  line-height: 1.25;
}

.chess-status-icon {
  grid-column: 2;
  grid-row: 1;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  justify-self: end;
  color: currentColor;
  border: 1px solid rgba(92, 137, 166, 0.18);
  border-radius: 50%;
  background: rgba(17, 45, 61, 0.38);
  font-size: 20px;
}

.chess-primary-grid,
.chess-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(380px, 0.9fr);
  gap: 14px;
}

.chess-roster,
.chess-entry,
.chess-about,
.chess-figure,
.chess-previous,
.chess-timeline,
.chess-rules {
  position: relative;
  overflow: hidden;
  padding: 20px;
}

.chess-roster,
.chess-entry { min-height: 330px; }

.chess-panel-heading {
  position: relative;
  z-index: 2;
  min-height: 50px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 13px;
  border-bottom: 1px solid #1e3543;
}

.chess-panel-heading span,
.chess-kicker {
  display: block;
  color: var(--cyan);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.chess-panel-heading h2,
.chess-about h2,
.chess-figure h2,
.chess-previous h2 {
  margin: 3px 0 0;
  font-family: var(--display);
  font-size: 19px;
  line-height: 1.18;
}

.chess-panel-heading > small {
  max-width: 330px;
  color: #7e909e;
  text-align: right;
  font-size: 10px;
}

.chess-panel-pill {
  min-width: max-content;
  padding: 5px 9px;
  color: #8295a4 !important;
  border: 1px solid #2a4657;
  border-radius: 20px;
  background: rgba(4, 13, 20, 0.75);
  font-size: 8px !important;
}

.chess-empty-roster {
  min-height: 190px;
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 24px 18px 15px;
}

.chess-board-mark {
  position: relative;
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  color: #1bcdf4;
  border: 1px solid rgba(22, 206, 245, 0.35);
  background:
    linear-gradient(45deg, rgba(19, 109, 140, 0.16) 25%, transparent 25% 75%, rgba(19, 109, 140, 0.16) 75%),
    linear-gradient(45deg, rgba(19, 109, 140, 0.16) 25%, transparent 25% 75%, rgba(19, 109, 140, 0.16) 75%),
    #061019;
  background-position: 0 0, 14px 14px;
  background-size: 28px 28px;
  border-radius: 12px;
  box-shadow: inset 0 0 24px #02070a, 0 0 26px rgba(22, 206, 245, 0.08);
}

.chess-board-mark::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(104, 218, 248, 0.18);
}

.chess-board-mark i {
  position: relative;
  z-index: 2;
  font-size: 54px;
  text-shadow: 0 0 18px rgba(22, 206, 245, 0.55);
}

.chess-empty-roster h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 23px;
}

.chess-empty-roster p {
  max-width: 620px;
  margin: 8px 0 0;
  color: #91a3b0;
  font-size: 12px;
}

.chess-roster-placeholder {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}

.chess-roster-placeholder span {
  height: 35px;
  border: 1px solid rgba(60, 100, 124, 0.16);
  border-radius: 7px;
  background: linear-gradient(90deg, rgba(18, 43, 57, 0.28), rgba(13, 31, 42, 0.08));
}

.chess-entry {
  background:
    radial-gradient(circle at 94% 35%, rgba(21, 145, 194, 0.2), transparent 32%),
    linear-gradient(145deg, rgba(8, 19, 29, 0.98), rgba(4, 12, 18, 0.98));
}

.chess-entry-piece {
  position: absolute;
  right: -12px;
  bottom: 22px;
  color: rgba(10, 105, 145, 0.18);
  font-size: 180px;
  text-shadow: 0 0 28px rgba(22, 206, 245, 0.14);
}

.chess-entry-facts {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  margin: 17px 0;
}

.chess-entry-facts div { min-width: 0; }
.chess-entry-facts dt { color: #8b9daa; font-size: 10px; }
.chess-entry-facts dt i { width: 19px; color: #52dfff; }
.chess-entry-facts dd { margin: 3px 0 0 19px; color: #eef6fa; font-size: 11px; line-height: 1.3; }

.chess-entry-button,
.chess-entry-secondary,
.chess-outline-button {
  position: relative;
  z-index: 2;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
}

.chess-entry-button {
  min-width: 230px;
  color: #6593a3;
  border: 1px solid #28566a;
  background: linear-gradient(180deg, rgba(14, 63, 82, 0.58), rgba(6, 31, 43, 0.7));
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.chess-entry-secondary {
  color: #9b7cff;
}

.chess-entry-secondary:hover,
.chess-entry-secondary:focus-visible { color: #c1b0ff; }

.chess-about {
  min-height: 260px;
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.chess-about-piece {
  height: 100%;
  display: grid;
  place-items: end center;
  color: #0b2535;
  border-right: 1px solid #1d3543;
  font-size: 130px;
  text-shadow: -1px -1px 0 #126489, 0 0 25px rgba(22, 206, 245, 0.17);
}

.chess-about-copy > p,
.chess-figure p,
.chess-previous-copy > p {
  margin: 10px 0 0;
  color: #93a4b1;
  font-size: 12px;
}

.chess-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 18px;
}

.chess-values > span {
  min-height: 74px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-content: center;
  padding: 9px;
  border: 1px solid #1b3341;
  border-radius: 7px;
  background: rgba(4, 13, 20, 0.55);
}

.chess-values i { grid-row: span 2; align-self: center; color: var(--gold); font-size: 19px; }
.chess-values b { font-size: 10px; }
.chess-values small { color: #758895; font-size: 8px; line-height: 1.25; }

.chess-figure {
  min-height: 260px;
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 12px;
  background:
    radial-gradient(circle at 24% 50%, rgba(26, 163, 214, 0.22), transparent 31%),
    linear-gradient(145deg, rgba(7, 18, 28, 0.98), rgba(4, 11, 18, 0.98));
}

.chess-figure-glow {
  display: grid;
  place-items: center;
  color: #062335;
  font-size: 148px;
  text-shadow: -1px -1px 0 #25cdf3, 0 0 22px rgba(22, 206, 245, 0.58), 0 24px 26px #000;
}

.chess-figure h2 { color: #8eeaff; font-size: 28px; }

.chess-figure-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  padding: 7px 10px;
  color: var(--gold);
  border: 1px solid rgba(242, 200, 75, 0.25);
  border-radius: 5px;
  background: rgba(94, 68, 10, 0.13);
  font-size: 9px;
  font-weight: 700;
}

.chess-previous {
  min-height: 215px;
  display: grid;
  grid-template-columns: 130px minmax(280px, 1.25fr) minmax(190px, 0.55fr) auto;
  align-items: center;
  gap: 22px;
}

.chess-previous-trophy {
  position: relative;
  display: grid;
  place-items: center;
  color: #d2a33a;
  font-size: 100px;
  text-shadow: -1px -1px 0 #ffe17d, 0 0 21px rgba(242, 200, 75, 0.28), 0 20px 22px #000;
}

.chess-previous-trophy span {
  position: absolute;
  bottom: 13px;
  padding: 2px 6px;
  color: #fff1bd;
  border: 1px solid #8c661e;
  border-radius: 3px;
  background: #5d3f0e;
  font-size: 8px;
  font-weight: 900;
}

.chess-previous-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.chess-previous-stats span {
  padding-left: 10px;
  border-left: 1px solid #2a4655;
}

.chess-previous-stats small { display: block; color: #71838f; font-size: 8px; text-transform: uppercase; }
.chess-previous-stats strong { display: block; margin-top: 3px; font-family: var(--display); font-size: 13px; }

.chess-previous-podium {
  margin: 0;
  padding: 0;
  list-style: none;
}

.chess-previous-podium li {
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #172b37;
  font-size: 10px;
}

.chess-previous-podium li span {
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  color: #071017;
  border-radius: 50%;
  background: #a8b7c2;
  font-size: 9px;
  font-weight: 900;
}

.chess-previous-podium li:first-child span { background: var(--gold); }
.chess-previous-podium li:nth-child(3) span { background: #c6804f; }

.chess-outline-button {
  color: var(--cyan);
  border: 1px solid #157a9c;
  background: rgba(7, 44, 59, 0.22);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.chess-outline-button:hover,
.chess-outline-button:focus-visible {
  background: rgba(9, 99, 130, 0.3);
  box-shadow: 0 0 16px rgba(22, 206, 245, 0.1);
}

.chess-timeline .chess-panel-heading,
.chess-rules .chess-panel-heading { align-items: center; }

.chess-timeline ol {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
  margin: 25px 0 3px;
  padding: 0;
  list-style: none;
}

.chess-timeline ol::before {
  content: "";
  position: absolute;
  top: 18px;
  right: 7%;
  left: 7%;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), #1d4256 28% 100%);
}

.chess-timeline li {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 37px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
}

.chess-timeline li > i {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  color: #718695;
  border: 1px solid #284352;
  border-radius: 50%;
  background: #07131c;
  font-size: 13px;
}

.chess-timeline li.is-next > i {
  color: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 15px rgba(22, 206, 245, 0.22);
}

.chess-timeline li strong { display: block; margin-top: 1px; font-size: 10px; }
.chess-timeline li span { display: block; margin-top: 3px; color: #748692; font-size: 8px; }

.chess-rules-lead {
  max-width: 880px;
  margin: 15px 0;
  color: #91a2ae;
  font-size: 11px;
}

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

.chess-rule-grid article {
  min-height: 84px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  padding: 13px;
  border: 1px solid #1b3341;
  border-radius: 7px;
  background: rgba(5, 15, 22, 0.62);
}

.chess-rule-grid article > i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--cyan);
  border: 1px solid rgba(22, 206, 245, 0.2);
  border-radius: 8px;
  background: rgba(11, 96, 123, 0.12);
  font-size: 17px;
}

.chess-rule-grid h3 { margin: 0; font-size: 10px; }
.chess-rule-grid p { margin: 4px 0 0; color: #7f929f; font-size: 9px; line-height: 1.35; }

.chess-result-note {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  margin-top: 12px;
  padding: 13px;
  border: 1px solid rgba(137, 104, 255, 0.22);
  border-radius: 7px;
  background: rgba(60, 35, 130, 0.1);
}

.chess-result-note > i { color: #9479ff; font-size: 25px; }
.chess-result-note p { margin: 0; color: #7f919e; font-size: 9px; }
.chess-result-note p strong { display: block; margin-bottom: 2px; color: #dce7ed; font-size: 10px; }
.chess-result-note > a { color: #9f88ff; font-size: 9px; font-weight: 800; }

@media (max-width: 1320px) {
  .chess-status-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .chess-status-card:nth-child(n + 4) { min-height: 94px; }
  .chess-primary-grid,
  .chess-story-grid { grid-template-columns: minmax(0, 1fr); }
  .chess-previous { grid-template-columns: 110px minmax(0, 1fr) minmax(180px, 0.45fr); }
  .chess-previous .chess-outline-button { grid-column: 2 / -1; justify-self: start; }
}

@media (max-width: 900px) {
  .chess-masthead { min-height: 130px; padding: 20px; }
  .chess-masthead-art { opacity: 0.55; }
  .chess-masthead-copy > div > p:last-child { max-width: 520px; }
  .chess-section-nav { top: var(--header); }
  .chess-status-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chess-status-card:last-child { grid-column: 1 / -1; }
  .chess-previous { grid-template-columns: 100px minmax(0, 1fr); }
  .chess-previous-podium { grid-column: 2; }
  .chess-previous .chess-outline-button { grid-column: 2; }
  .chess-timeline ol { grid-template-columns: 1fr; gap: 13px; }
  .chess-timeline ol::before { inset: 8px auto 8px 18px; width: 1px; height: auto; }
  .chess-rule-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .chess-page { gap: 10px; }
  .chess-masthead { min-height: 154px; padding: 18px 15px; }
  .chess-title-icon { width: 55px; height: 55px; font-size: 27px; }
  .chess-masthead-copy { gap: 13px; }
  .chess-masthead h1 { font-size: 25px; }
  .chess-masthead-copy > div > p:last-child { font-size: 11px; }
  .chess-breadcrumb { display: none; }
  .chess-masthead-art { right: -20%; width: 80%; opacity: 0.33; }
  .chess-yearbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chess-year { min-height: 50px; padding-inline: 13px; font-size: 16px; }
  .chess-year small { font-size: 7px; }
  .chess-section-nav a { padding-inline: 14px; }
  .chess-status-grid { grid-template-columns: 1fr; }
  .chess-status-card:last-child { grid-column: auto; }
  .chess-roster,
  .chess-entry,
  .chess-about,
  .chess-figure,
  .chess-previous,
  .chess-timeline,
  .chess-rules { padding: 14px; }
  .chess-empty-roster { grid-template-columns: 1fr; text-align: center; }
  .chess-board-mark { margin: 0 auto; }
  .chess-roster-placeholder { grid-template-columns: repeat(2, 1fr); }
  .chess-entry-facts { grid-template-columns: 1fr; }
  .chess-entry-button { width: 100%; }
  .chess-entry-secondary { width: 100%; margin-top: 4px; }
  .chess-about { grid-template-columns: 1fr; }
  .chess-about-piece { display: none; }
  .chess-values { grid-template-columns: 1fr; }
  .chess-figure { grid-template-columns: 100px minmax(0, 1fr); }
  .chess-figure-glow { font-size: 92px; }
  .chess-figure h2 { font-size: 23px; }
  .chess-previous { grid-template-columns: 75px minmax(0, 1fr); gap: 13px; }
  .chess-previous-trophy { font-size: 68px; }
  .chess-previous-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chess-previous-podium,
  .chess-previous .chess-outline-button { grid-column: 1 / -1; }
  .chess-previous .chess-outline-button { width: 100%; }
  .chess-panel-heading > small { display: none; }
  .chess-rule-grid { grid-template-columns: 1fr; }
  .chess-result-note { grid-template-columns: 30px minmax(0, 1fr); }
  .chess-result-note > a { grid-column: 2; }
}

/* Sheshe giraffe adoption */
.sheshe-page {
  display: grid;
  gap: 14px;
  max-width: 1540px;
  margin: 0 auto;
  padding-bottom: 30px;
}

.sheshe-page [id] {
  scroll-margin-top: calc(var(--header) + 18px);
}

.sheshe-hero {
  position: relative;
  z-index: 31;
  isolation: isolate;
  min-height: 318px;
  display: flex;
  align-items: center;
  overflow: visible;
  padding: 28px 36px;
  border: 1px solid #183c50;
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(3, 11, 18, 0.99) 0%, rgba(4, 19, 31, 0.95) 44%, rgba(4, 21, 35, 0.5) 70%, rgba(3, 12, 20, 0.9) 100%),
    radial-gradient(circle at 70% 42%, rgba(15, 129, 177, 0.26), transparent 34%),
    repeating-linear-gradient(130deg, transparent 0 23px, rgba(22, 206, 245, 0.025) 24px 25px);
  box-shadow: inset 0 0 55px rgba(0, 0, 0, 0.32);
}

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

.sheshe-hero::before {
  display: none;
}

.sheshe-hero::after {
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.45;
}

.sheshe-hero-copy {
  position: relative;
  z-index: 3;
  width: min(59%, 760px);
}

.sheshe-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 23px;
  color: #718694;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sheshe-breadcrumb a:hover,
.sheshe-breadcrumb a:focus-visible { color: var(--cyan); }
.sheshe-breadcrumb i { font-size: 6px; }
.sheshe-breadcrumb strong { color: #b4c3cc; }

.sheshe-kicker,
.sheshe-section-kicker {
  display: block;
  color: var(--cyan);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.sheshe-kicker i { margin-right: 6px; }

.sheshe-hero h1 {
  margin: 7px 0 0;
  font-family: var(--display);
  font-size: clamp(35px, 3.2vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.sheshe-hero h2 {
  max-width: 650px;
  margin: 11px 0 0;
  color: #50dcff;
  font-family: var(--display);
  font-size: clamp(16px, 1.45vw, 23px);
  font-weight: 500;
  line-height: 1.3;
}

.sheshe-hero-copy > p:not(.sheshe-breadcrumb) {
  max-width: 570px;
  margin: 14px 0 0;
  color: #a1b1bd;
  font-size: 13px;
}

.sheshe-thanks {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 17px;
  color: #7ee9ff;
  font-size: 13px;
  font-style: italic;
}

.sheshe-hero > img {
  position: absolute;
  z-index: 2;
  top: auto;
  bottom: 0;
  right: 15%;
  width: 47%;
  height: calc(100% + 56px);
  object-fit: contain;
  object-position: center bottom;
  pointer-events: none;
  opacity: 0.98;
  filter: saturate(0.9) contrast(1.05) brightness(0.9) drop-shadow(0 12px 24px rgba(0, 0, 0, 0.34));
}

.sheshe-hero-mark {
  position: absolute;
  z-index: 3;
  right: 3.5%;
  bottom: 39px;
  width: 155px;
  height: 155px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #8be9ff;
  border: 1px solid #3278ff;
  border-radius: 50%;
  background: rgba(3, 11, 22, 0.74);
  box-shadow: inset 0 0 27px rgba(30, 102, 255, 0.12), 0 0 28px rgba(22, 206, 245, 0.09);
}

.sheshe-hero-mark > i { font-size: 40px; }
.sheshe-hero-mark strong { margin-top: 8px; font-family: var(--display); font-size: 22px; letter-spacing: 0.07em; }
.sheshe-hero-mark span { color: #6fcfec; font-size: 10px; }

.sheshe-year-navigation {
  min-height: 54px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid #1d3543;
  background: rgba(3, 9, 14, 0.62);
}

.sheshe-year-tabs {
  display: flex;
  align-items: stretch;
  gap: 3px;
}

.sheshe-year-tab {
  position: relative;
  min-width: 122px;
  padding: 0 20px;
  color: #8798a5;
  cursor: pointer;
  background: transparent;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease;
}

.sheshe-year-tab::after {
  content: "";
  position: absolute;
  right: 13px;
  bottom: -1px;
  left: 13px;
  height: 2px;
  background: var(--cyan);
  opacity: 0;
  transform: scaleX(0.4);
  box-shadow: 0 0 9px var(--cyan);
  transition: opacity 180ms ease, transform 180ms ease;
}

.sheshe-year-tab:hover,
.sheshe-year-tab:focus-visible,
.sheshe-year-tab.is-active { color: #e8fbff; background: linear-gradient(180deg, transparent, rgba(17, 113, 145, 0.12)); }
.sheshe-year-tab.is-active::after { opacity: 1; transform: scaleX(1); }

.sheshe-year-navigation > a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-inline: 18px;
  color: #8799a6;
  font-size: 10px;
  font-weight: 700;
}
.sheshe-year-navigation > a:hover,
.sheshe-year-navigation > a:focus-visible { color: var(--cyan); }

.sheshe-year-panel {
  display: grid;
  gap: 12px;
  animation: sheshe-panel-in 330ms ease both;
}

.sheshe-year-panel[hidden] { display: none; }

@keyframes sheshe-panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.sheshe-stat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.sheshe-stat-grid article {
  min-height: 92px;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  padding: 14px;
  border: 1px solid #1c3341;
  border-radius: 9px;
  background: linear-gradient(145deg, rgba(9, 21, 31, 0.95), rgba(5, 13, 20, 0.95));
}

.sheshe-stat-grid article > i {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: currentColor;
  border: 1px solid rgba(105, 157, 188, 0.18);
  border-radius: 10px;
  background: rgba(10, 41, 57, 0.54);
  font-size: 22px;
}

.sheshe-stat-grid article.tone-cyan { color: var(--cyan); }
.sheshe-stat-grid article.tone-blue { color: #5b9cff; }
.sheshe-stat-grid article.tone-purple { color: #ae73ff; }
.sheshe-stat-grid article.tone-green { color: var(--green); }
.sheshe-stat-grid article.tone-gold { color: var(--gold); }
.sheshe-stat-grid small { display: block; color: #81929f; font-size: 9px; text-transform: uppercase; letter-spacing: 0.05em; }
.sheshe-stat-grid strong { display: block; margin-top: 4px; color: currentColor; font-family: var(--display); font-size: clamp(15px, 1.2vw, 20px); line-height: 1.12; }

.sheshe-year-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(420px, 1.35fr) minmax(270px, 0.8fr);
  gap: 12px;
}

.sheshe-supporters,
.sheshe-certificate,
.sheshe-year-story,
.sheshe-profile,
.sheshe-about,
.sheshe-support {
  position: relative;
  overflow: hidden;
  padding: 18px;
}

.sheshe-year-grid > article { min-height: 460px; }

.sheshe-supporters > header {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-bottom: 13px;
  border-bottom: 1px solid #1e3543;
}

.sheshe-supporters > header > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--cyan);
  border: 1px solid rgba(22, 206, 245, 0.25);
  border-radius: 9px;
  background: rgba(13, 91, 118, 0.12);
  font-size: 17px;
}

.sheshe-supporters header small,
.sheshe-certificate header small {
  display: block;
  color: #708592;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sheshe-supporters h2,
.sheshe-certificate h2,
.sheshe-year-story h2,
.sheshe-profile h2,
.sheshe-about h2,
.sheshe-support h2 {
  margin: 3px 0 0;
  font-family: var(--display);
  font-size: 19px;
  line-height: 1.15;
}

.sheshe-supporters ol {
  display: grid;
  gap: 7px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.sheshe-supporters li {
  min-height: 52px;
  display: grid;
  grid-template-columns: 37px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  padding: 5px 8px;
  border: 1px solid #192f3c;
  border-radius: 7px;
  background: rgba(4, 13, 20, 0.5);
}

.sheshe-supporters li > span {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  color: #5fe0ff;
  border: 1px solid #237b9c;
  border-radius: 50%;
  background: #071c28;
  font-size: 9px;
  font-weight: 800;
}

.sheshe-supporters li.is-anonymous > span { color: #bd8cff; border-color: #664492; }
.sheshe-supporters li strong { font-size: 11px; line-height: 1.25; }

.sheshe-supporters > p {
  margin: 13px 2px 0;
  color: #708490;
  font-size: 9px;
}
.sheshe-supporters > p i { margin-right: 6px; color: var(--cyan); }

.sheshe-certificate {
  background: linear-gradient(145deg, rgba(8, 20, 29, 0.98), rgba(4, 12, 18, 0.98));
}

.sheshe-certificate > header {
  min-height: 51px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 13px;
  padding-bottom: 12px;
  border-bottom: 1px solid #1e3543;
}

.sheshe-certificate > header > span {
  padding: 5px 8px;
  color: #7e929f;
  border: 1px solid #294656;
  border-radius: 13px;
  font-size: 8px;
}

.sheshe-certificate > a {
  position: relative;
  height: 365px;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-top: 13px;
  border: 1px solid #1f3c4b;
  border-radius: 8px;
  background: #03090d;
}

.sheshe-certificate img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: filter 220ms ease;
}

.sheshe-certificate a > span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  color: #d9f8ff;
  border: 1px solid rgba(73, 211, 248, 0.48);
  border-radius: 5px;
  background: rgba(2, 12, 18, 0.86);
  font-size: 8px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.sheshe-certificate a:hover img,
.sheshe-certificate a:focus-visible img { filter: brightness(1.08); }

.sheshe-year-story {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 94% 15%, rgba(109, 67, 216, 0.18), transparent 150px),
    linear-gradient(145deg, rgba(8, 18, 28, 0.98), rgba(5, 12, 18, 0.98));
}

.sheshe-year-number {
  position: absolute;
  right: -7px;
  top: -29px;
  color: rgba(24, 122, 159, 0.11);
  font-family: var(--display);
  font-size: 105px;
  font-weight: 800;
}

.sheshe-year-story > i {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: #b271ff;
  border: 1px solid rgba(178, 113, 255, 0.34);
  border-radius: 50%;
  background: rgba(75, 37, 125, 0.13);
  font-size: 30px;
}

.sheshe-year-story > small { color: #9472ce; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.sheshe-year-story > p { margin: 12px 0 0; color: #91a3af; font-size: 11px; }

.sheshe-year-extra {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  padding: 11px;
  color: #aab8c1;
  border: 1px solid #253d4b;
  border-radius: 7px;
  background: rgba(3, 11, 17, 0.5);
  font-size: 9px;
}
.sheshe-year-extra > i { color: var(--cyan); font-size: 17px; }

.sheshe-winners {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}
.sheshe-winners span { padding: 5px 8px; color: var(--gold); border: 1px solid rgba(242, 200, 75, 0.24); border-radius: 14px; font-size: 8px; }
.sheshe-winners i { margin-right: 5px; }

.sheshe-info-grid {
  display: grid;
  grid-template-columns: minmax(460px, 1.3fr) minmax(340px, 0.95fr) minmax(260px, 0.7fr);
  gap: 12px;
}

.sheshe-info-grid > article { min-height: 300px; }

.sheshe-profile {
  display: grid;
  grid-template-columns: 39% minmax(0, 1fr);
  gap: 20px;
  padding: 0;
}

.sheshe-profile > img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  object-position: center 25%;
  border-right: 1px solid #1c3b4d;
  filter: saturate(0.9) contrast(1.05);
}

.sheshe-profile > div { align-self: center; padding: 18px 20px 18px 0; }
.sheshe-profile h2 { margin-bottom: 16px; font-size: 21px; }
.sheshe-profile dl { display: grid; gap: 0; margin: 0; }
.sheshe-profile dl > div { display: grid; grid-template-columns: 115px minmax(0, 1fr); gap: 10px; padding: 7px 0; border-bottom: 1px solid #18303d; font-size: 10px; }
.sheshe-profile dl > div:last-child { border-bottom: 0; }
.sheshe-profile dt { color: #768a97; }
.sheshe-profile dd { margin: 0; color: #dbe6eb; }

.sheshe-about {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sheshe-about > p { margin: 12px 0 0; color: #91a2ae; font-size: 11px; }
.sheshe-about > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.sheshe-about > div > span { min-height: 88px; display: grid; grid-template-columns: 30px minmax(0, 1fr); align-content: center; padding: 10px; border: 1px solid #1d3441; border-radius: 7px; background: rgba(4, 13, 20, 0.55); }
.sheshe-about > div i { grid-row: span 2; align-self: center; color: var(--green); font-size: 18px; }
.sheshe-about > div strong { font-size: 9px; }
.sheshe-about > div small { color: #748793; font-size: 8px; line-height: 1.25; }

.sheshe-support {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-color: #2766ff;
  background:
    radial-gradient(circle at 100% 0, rgba(63, 46, 180, 0.22), transparent 180px),
    linear-gradient(150deg, rgba(7, 27, 43, 0.98), rgba(5, 12, 21, 0.98));
}
.sheshe-support > i { color: #42d8ff; font-size: 41px; }
.sheshe-support .sheshe-section-kicker { margin-top: 16px; }
.sheshe-support h2 { font-size: 25px; }
.sheshe-support p { margin: 12px 0 19px; color: #9aabb6; font-size: 11px; }
.sheshe-support > a { min-height: 47px; display: flex; align-items: center; justify-content: center; gap: 15px; color: #b8f2ff; border: 1px solid var(--cyan); border-radius: 7px; background: linear-gradient(180deg, rgba(17, 137, 182, 0.31), rgba(6, 52, 72, 0.45)); box-shadow: inset 0 0 15px rgba(22, 206, 245, 0.11), 0 0 15px rgba(22, 206, 245, 0.1); font-size: 11px; font-weight: 800; transition: background 180ms ease, box-shadow 180ms ease; }
.sheshe-support > a:hover,
.sheshe-support > a:focus-visible { background: rgba(17, 137, 182, 0.48); box-shadow: inset 0 0 18px rgba(22, 206, 245, 0.16), 0 0 20px rgba(22, 206, 245, 0.18); }

@media (max-width: 1250px) {
  .sheshe-hero > img { right: 11%; width: 50%; }
  .sheshe-hero-mark { right: 2%; width: 130px; height: 130px; }
  .sheshe-stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sheshe-year-grid { grid-template-columns: minmax(280px, 0.8fr) minmax(420px, 1.2fr); }
  .sheshe-year-story { grid-column: 1 / -1; min-height: 260px !important; }
  .sheshe-info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sheshe-support { grid-column: 1 / -1; min-height: 235px !important; }
}

@media (max-width: 900px) {
  .sheshe-hero { z-index: 1; min-height: 360px; padding: 24px; }
  .sheshe-hero-copy { width: 72%; }
  .sheshe-hero > img { right: -4%; width: 62%; height: calc(100% + 28px); opacity: 0.62; }
  .sheshe-hero-mark { display: none; }
  .sheshe-year-navigation { position: sticky; z-index: 20; top: var(--header); background: rgba(3, 9, 14, 0.94); backdrop-filter: blur(14px); }
  .sheshe-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sheshe-stat-grid article:last-child { grid-column: 1 / -1; }
  .sheshe-year-grid { grid-template-columns: 1fr; }
  .sheshe-year-grid > article { min-height: 0; }
  .sheshe-certificate > a { height: min(70vw, 500px); }
  .sheshe-info-grid { grid-template-columns: 1fr; }
  .sheshe-info-grid > article { min-height: 0; }
}

@media (max-width: 640px) {
  .sheshe-page { gap: 10px; }
  .sheshe-hero { min-height: 430px; align-items: flex-end; overflow: hidden; padding: 20px; }
  .sheshe-hero-copy { width: 100%; }
  .sheshe-breadcrumb { display: none; }
  .sheshe-hero > img { top: -8%; bottom: auto; right: -18%; width: 100%; height: 72%; opacity: 0.46; object-position: center top; }
  .sheshe-hero h1 { font-size: 34px; }
  .sheshe-hero h2 { font-size: 16px; }
  .sheshe-hero-copy > p:not(.sheshe-breadcrumb) { font-size: 11px; }
  .sheshe-year-navigation { display: block; overflow-x: auto; }
  .sheshe-year-tabs { min-width: max-content; }
  .sheshe-year-tab { min-width: 92px; min-height: 52px; padding-inline: 12px; }
  .sheshe-year-navigation > a { display: none; }
  .sheshe-stat-grid { grid-template-columns: 1fr; }
  .sheshe-stat-grid article:last-child { grid-column: auto; }
  .sheshe-stat-grid article { min-height: 82px; }
  .sheshe-supporters,
  .sheshe-certificate,
  .sheshe-year-story,
  .sheshe-about,
  .sheshe-support { padding: 14px; }
  .sheshe-certificate > a { height: 265px; }
  .sheshe-year-story { min-height: 350px !important; }
  .sheshe-profile { grid-template-columns: 1fr; }
  .sheshe-profile > img { height: 240px; min-height: 0; border-right: 0; border-bottom: 1px solid #1c3b4d; object-position: center 33%; }
  .sheshe-profile > div { padding: 17px; }
  .sheshe-profile dl > div { grid-template-columns: 100px minmax(0, 1fr); }
  .sheshe-about > div { grid-template-columns: 1fr; }
}

@media (max-width: 1440px) {
  :root {
    --sidebar: 96px;
  }

  .sidebar-logo { min-height: 76px; }
  .sidebar-link { min-height: 72px; }
  .sidebar-link > i { font-size: 23px; }
  .control-header { padding-left: 24px; }
  .control-main { padding-inline: 18px; }
  .top-grid { gap: 16px; }
  .broadcast-copy { padding-left: 27px; }
  .countdown-wrap { right: 12px; transform: scale(0.92); }
  .quick-grid { gap: 11px; }
  .quick-card { padding-inline: 14px; }
  .quick-card > strong { font-size: 14px; }
  .stats-strip { padding-inline: 5px; }
  .stat-item { grid-template-columns: 42px minmax(64px, 1fr) minmax(32px, 0.45fr); padding-inline: 10px; gap: 7px; }
  .stat-item > i { font-size: 29px; }
  .stat-item strong { font-size: 22px; }
  .event-card { grid-template-columns: 50px 58px minmax(0, 1fr); }
  .event-visual { font-size: 31px; }
}

@media (max-width: 1180px) {
  .control-header { grid-template-columns: minmax(250px, 1fr) auto; }
  .system-pill { display: none; }
  .setup-layout { grid-template-columns: minmax(0, 1.1fr) minmax(350px, 0.9fr); gap: 14px; }
  .setup-hero-card,
  .setup-spec-card { min-height: 650px; }
  .setup-hero-footer { display: block; }
  .setup-badges { justify-content: flex-start; margin-top: 10px; }
  .quick-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat-item:nth-child(3) { border-right: 0; }
  .stat-item:nth-child(n + 4) { margin-top: 12px; }
  .stats-strip { padding-block: 14px; }
  .events-track { grid-template-columns: repeat(3, minmax(240px, 1fr)); overflow-x: auto; padding-bottom: 7px; }
}

@media (max-width: 900px) {
  :root { --header: 66px; }

  .control-shell { display: block; }
  .control-sidebar {
    position: fixed;
    left: 0;
    width: 106px;
    transform: translateX(-110%);
    transition: transform 220ms ease;
  }
  .sidebar-open .control-sidebar { transform: none; }
  .sidebar-backdrop {
    position: fixed;
    z-index: 35;
    inset: 0;
    display: block;
    visibility: hidden;
    background: rgba(0, 4, 8, 0.72);
    opacity: 0;
    transition: opacity 220ms ease, visibility 220ms ease;
  }
  .sidebar-open .sidebar-backdrop { visibility: visible; opacity: 1; }
  .control-header {
    position: sticky;
    top: 0;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 9px;
    padding-inline: 8px 12px;
  }
  .sidebar-toggle { display: grid; place-items: center; }
  .header-pulse,
  .action-separator,
  .profile-action strong,
  .profile-action > i { display: none; }
  .header-actions { gap: 2px; }
  .header-actions > button:first-child { display: none; }
  .header-actions .profile-action { min-width: 42px; padding: 3px; border: 0; }
  .control-main { padding: 12px; }
  .setup-page-heading { min-height: 76px; }
  .setup-layout { grid-template-columns: 1fr; }
  .setup-hero-card { min-height: min(72vw, 690px); }
  .setup-spec-card { min-height: 0; }
  .setup-spec-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .top-grid { grid-template-columns: 1fr; }
  .broadcast-hero { min-height: 350px; }
  .status-panel { min-height: 330px; }
}

@media (max-width: 640px) {
  .sidebar-submenu {
    left: calc(100% + 8px);
    width: min(276px, calc(100vw - 122px));
    padding: 9px;
  }
  .sidebar-submenu-link { padding-inline: 7px; }
  .sidebar-submenu-link.is-disabled small { font-size: 5px; }
  .control-brand { gap: 7px; }
  .control-brand strong { font-size: 18px; }
  .control-brand span { font-size: 13px; }
  .notification-action { font-size: 19px !important; }
  .profile-action { display: none !important; }
  .setup-page-heading { align-items: flex-end; padding-inline: 3px; }
  .setup-online { display: none; }
  .setup-page-heading h1 { font-size: 27px; }
  .setup-page-heading > div > p:last-child { font-size: 13px; }
  .setup-tabs { margin-bottom: 12px; }
  .setup-tab { min-height: 48px; padding-inline: 7px; font-size: 11px; }
  .setup-hero-card { min-height: 570px; }
  .setup-hero-copy,
  .setup-hero-footer { right: 18px; left: 18px; }
  .setup-hero-copy { top: 19px; }
  .setup-hero-footer { bottom: 18px; }
  .setup-hero-footer > p { font-size: 11px; }
  .setup-spec-card { padding: 13px; }
  .setup-spec-card > header { min-height: 58px; }
  .setup-spec-list { grid-template-columns: 1fr; }
  .setup-spec-item { min-height: 64px; }
  .setup-detail-back { margin-bottom: 17px; }
  .setup-detail-heading { grid-template-columns: 56px minmax(0, 1fr); gap: 11px; }
  .setup-detail-heading .setup-spec-icon { width: 56px; height: 54px; }
  .setup-detail-description { margin-top: 16px; }
  .setup-page-footer { grid-template-columns: 28px minmax(0, 1fr); }
  .setup-page-footer > span { display: none; }
  .broadcast-hero {
    min-height: 620px;
    background-image:
      linear-gradient(180deg, rgba(3, 9, 14, 0.92), rgba(3, 9, 14, 0.22) 50%, rgba(3, 9, 14, 0.92)),
      linear-gradient(90deg, rgba(3, 9, 14, 0.1), transparent 30% 74%, rgba(3, 9, 14, 0.32)),
      var(--broadcast-cover-image);
    background-position: center, center, right 48px center;
    background-size: 100% 100%, 100% 100%, auto 100%;
    background-repeat: no-repeat;
  }
  .broadcast-copy { width: 100%; padding: 25px 22px; }
  .broadcast-copy h1 { font-size: clamp(34px, 11vw, 49px); }
  .show-name { grid-template-columns: 24px minmax(0, auto) 24px; font-size: 18px; }
  .show-name > i { width: 24px; }
  .broadcast-actions { max-width: 250px; }
  .countdown-wrap { top: auto; right: 50%; bottom: 14px; transform: translateX(50%) scale(0.91); }
  .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-card { min-height: 165px; }
  .quick-card > strong { font-size: 12px; }
  .stats-strip { grid-template-columns: 1fr; }
  .stat-item,
  .stat-item:nth-child(3) { border-right: 0; border-bottom: 1px solid #35434d; }
  .stat-item:last-child { border-bottom: 0; }
  .stat-item:nth-child(n + 4) { margin-top: 0; }
  .events-panel { padding-inline: 12px; }
  .events-header h2 { min-width: 0; }
  .events-header h2 .pulse-line { display: none; }
  .events-header > a { font-size: 0; }
  .events-header > a i { font-size: 12px; }
  .events-track { display: flex; }
  .event-card { min-width: 270px; }
}

@media (max-width: 420px) {
  .control-brand span { display: none; }
  .quick-grid { grid-template-columns: 1fr; }
  .quick-card { min-height: 155px; }
  .service-pills { padding-inline: 10px; }
  .service-pills span { padding-inline: 7px; font-size: 8px; }
}

/* The SheShe page still loads this legacy layer after site.css. Keep the
   streamlined global header from being overwritten here. */
.header-actions {
  gap: 9px;
}

.header-pulse {
  display: inline-block;
  color: var(--cyan);
  font-size: 19px;
  filter: drop-shadow(0 0 7px rgba(0, 216, 255, 0.32));
}

.flacni-sync-copy {
  display: inline;
  color: #8799a5;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.065em;
  text-transform: uppercase;
  white-space: nowrap;
}

.flacni-sync-copy a {
  color: #c8d5dc;
  transition: color 160ms ease, text-shadow 160ms ease;
}

.flacni-sync-copy a:hover,
.flacni-sync-copy a:focus-visible {
  color: var(--cyan);
  text-shadow: 0 0 9px rgba(0, 216, 255, 0.4);
}

@media (max-width: 900px) {
  .header-actions { gap: 7px; }
}

@media (max-width: 640px) {
  .flacni-sync-copy { font-size: 10px; letter-spacing: 0.045em; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
