:root {
  --bg-0: #0c0e13;
  --bg-1: #0c0e13;
  --bg-2: #0d1828;
  --panel-strong: rgba(12, 14, 19, 0.96);
  --panel-soft: rgba(12, 14, 19, 0.82);
  --panel-muted: rgba(255, 255, 255, 0.035);
  --text: #f5f8fc;
  --muted: #9db0c8;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(82, 224, 196, 0.2);
  --accent: #52e0c4;
  --accent-strong: #0fb79d;
  --accent-warm: #ffbe5c;
  --danger: #ff6b6b;
  --danger-strong: #ff4b4b;
  --shadow-lg: 0 34px 90px rgba(0, 0, 0, 0.38);
  --shadow-md: 0 20px 46px rgba(0, 0, 0, 0.24);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --topbar-height: 58px;
  color-scheme: dark;
}

html[data-site-theme="light"] {
  --bg-0: #f5f8fc;
  --bg-1: #edf3f8;
  --bg-2: #dce9f3;
  --panel-strong: rgba(255, 255, 255, 0.96);
  --panel-soft: rgba(255, 255, 255, 0.84);
  --panel-muted: rgba(12, 18, 28, 0.045);
  --text: #101827;
  --muted: #5e7086;
  --line: rgba(17, 31, 48, 0.12);
  --line-strong: rgba(15, 183, 157, 0.26);
  --accent: #0c9f8c;
  --accent-strong: #087c71;
  --accent-warm: #c47a13;
  --shadow-lg: 0 28px 70px rgba(30, 48, 68, 0.13);
  --shadow-md: 0 16px 38px rgba(30, 48, 68, 0.12);
  --topbar-bg: rgba(255, 255, 255, 0.88);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  background:
    radial-gradient(circle at 10% 10%, rgba(82, 224, 196, 0.18), transparent 22%),
    radial-gradient(circle at 86% 14%, rgba(255, 190, 92, 0.14), transparent 20%),
    radial-gradient(circle at 50% 100%, rgba(40, 108, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #0c0e13 0%, #0c0e13 44%, #0c0e13 100%);
}

html[data-site-theme="light"] body {
  background:
    radial-gradient(circle at 10% 10%, rgba(12, 159, 140, 0.16), transparent 22%),
    radial-gradient(circle at 86% 14%, rgba(255, 190, 92, 0.18), transparent 20%),
    radial-gradient(circle at 50% 100%, rgba(79, 113, 255, 0.1), transparent 28%),
    linear-gradient(180deg, #f7fafc 0%, #eef4f8 44%, #f7fafc 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at center, black 42%, transparent 88%);
}

body::after {
  background:
    linear-gradient(120deg, rgba(82, 224, 196, 0.05), transparent 24%, transparent 76%, rgba(255, 190, 92, 0.05));
}

body.page-home {
  background:
    radial-gradient(circle at 12% 8%, rgba(52, 106, 255, 0.22), transparent 22%),
    radial-gradient(circle at 88% 12%, rgba(255, 122, 89, 0.14), transparent 18%),
    linear-gradient(180deg, #0c0e13 0%, #0c0e13 14%, #0c0e13 100%);
}

html[data-site-theme="light"] body.page-home,
html[data-site-theme="light"] body.page-dashboard {
  background:
    radial-gradient(circle at 12% 8%, rgba(52, 106, 255, 0.13), transparent 22%),
    radial-gradient(circle at 88% 12%, rgba(255, 122, 89, 0.12), transparent 18%),
    linear-gradient(180deg, #f7fafc 0%, #eef4f8 14%, #f7fafc 100%);
}

body.page-home .site-shell {
  width: min(1880px, calc(100% - 28px));
  padding-top: calc(var(--topbar-height) + 16px);
}

body.page-dashboard {
  background:
    radial-gradient(circle at 12% 8%, rgba(52, 106, 255, 0.22), transparent 22%),
    radial-gradient(circle at 88% 12%, rgba(255, 122, 89, 0.14), transparent 18%),
    linear-gradient(180deg, #0c0e13 0%, #0c0e13 14%, #0c0e13 100%);
}

body.page-dashboard::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
}

body.page-dashboard .site-shell {
  width: min(1880px, calc(100% - 28px));
  padding-top: calc(var(--topbar-height) + 16px);
}

body.page-profile {
  background:
    radial-gradient(circle at 18% 10%, rgba(82, 224, 196, 0.18), transparent 18%),
    radial-gradient(circle at 78% 12%, rgba(255, 190, 92, 0.14), transparent 18%),
    linear-gradient(180deg, #0c0e13 0%, #0c0e13 50%, #0c0e13 100%);
}

html[data-site-theme="light"] body.page-profile,
html[data-site-theme="light"] body.page-auth,
html[data-site-theme="light"] body.page-generic {
  background:
    radial-gradient(circle at 18% 10%, rgba(12, 159, 140, 0.14), transparent 18%),
    radial-gradient(circle at 78% 12%, rgba(255, 190, 92, 0.14), transparent 18%),
    linear-gradient(180deg, #f7fafc 0%, #eef4f8 48%, #f7fafc 100%);
}

body.page-auth,
body.page-generic {
  background:
    radial-gradient(circle at 20% 10%, rgba(82, 224, 196, 0.16), transparent 18%),
    radial-gradient(circle at 80% 14%, rgba(255, 190, 92, 0.12), transparent 16%),
    linear-gradient(180deg, #0c0e13 0%, #0c0e13 100%);
}

html[data-site-theme="light"] body.page-dashboard {
  background:
    radial-gradient(circle at 12% 8%, rgba(52, 106, 255, 0.13), transparent 22%),
    radial-gradient(circle at 88% 12%, rgba(255, 122, 89, 0.12), transparent 18%),
    linear-gradient(180deg, #f7fafc 0%, #eef4f8 14%, #f7fafc 100%);
}

html[data-site-theme="light"] body.page-auth,
html[data-site-theme="light"] body.page-generic {
  background:
    radial-gradient(circle at 18% 10%, rgba(12, 159, 140, 0.14), transparent 18%),
    radial-gradient(circle at 78% 12%, rgba(255, 190, 92, 0.14), transparent 18%),
    linear-gradient(180deg, #f7fafc 0%, #eef4f8 48%, #f7fafc 100%);
}

h1,
h2,
h3,
a.brand {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.03em;
}

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

p {
  margin: 0;
}

.site-shell {
  width: min(1480px, calc(100% - 40px));
  margin: 0 auto;
  padding: calc(var(--topbar-height) + 16px) 0 64px;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  width: 100%;
  min-height: 58px;
  padding: 0 max(28px, calc((100dvw - 1480px) / 2));
  margin: 0;
  transform: none;
  border: 0;
  border-radius: 0;
  background: var(--topbar-bg, #0c0e13);
  box-shadow: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand__mark {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  overflow: hidden;
  border-radius: 7px;
  background: transparent;
  box-shadow: none;
}

.brand__mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.topbar__nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  min-width: 0;
}

.topbar__nav--center {
  justify-content: center;
  justify-self: center;
  flex-wrap: nowrap;
  gap: 22px;
}

.topbar__nav--actions {
  justify-self: end;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: nowrap;
  min-width: max-content;
}

.topbar__nav a:not(.button) {
  padding: 8px 0;
  border-radius: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  transition: background 140ms ease, color 140ms ease;
}

.topbar__nav a:not(.button):hover {
  background: transparent;
  color: var(--text);
}

.topbar__nav a.topbar__plus-link {
  position: relative;
  background: linear-gradient(135deg, #fff7c2 0%, #ffd66b 34%, #f3a51f 68%, #9f6411 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  text-shadow: 0 0 22px rgba(246, 200, 95, 0.28);
}

.topbar__nav a.topbar__plus-link:hover,
.topbar__nav a.topbar__plus-link:focus-visible,
.topbar__nav a.topbar__plus-link:active {
  background: linear-gradient(135deg, #fff7c2 0%, #ffd66b 34%, #f3a51f 68%, #9f6411 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: brightness(1.12);
}

.theme-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 78px;
  height: 40px;
  padding: 4px 7px;
  border: 1px solid rgba(82, 224, 196, 0.24);
  border-radius: 999px;
  background:
    radial-gradient(circle at 72% 50%, rgba(82, 224, 196, 0.2), transparent 34%),
    linear-gradient(135deg, #050622, #080d35 58%, #061427);
  color: var(--text);
  font: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), 0 10px 28px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.theme-switcher::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 36% 30%, rgba(255, 255, 255, 0.88), transparent 18%),
    linear-gradient(135deg, #23d7ff, #4264ff 66%, #19296d);
  box-shadow: 0 8px 18px rgba(25, 41, 109, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transform: translateX(38px);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.theme-switcher:hover,
.theme-switcher:focus-visible {
  border-color: rgba(82, 224, 196, 0.5);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 12px 30px rgba(82, 224, 196, 0.12);
}

html[data-site-theme="light"] .theme-switcher {
  border-color: rgba(196, 122, 19, 0.24);
  background:
    radial-gradient(circle at 28% 50%, rgba(255, 190, 92, 0.22), transparent 34%),
    linear-gradient(135deg, #ecf7ff, #dbeeff 58%, #f6fbff);
}

html[data-site-theme="light"] .theme-switcher::before {
  background:
    radial-gradient(circle at 36% 32%, rgba(255, 255, 255, 0.78), transparent 18%),
    linear-gradient(135deg, #fff2a8, #ffbe5c 60%, #e5792f);
  box-shadow: 0 8px 18px rgba(196, 122, 19, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transform: translateX(0);
}

.theme-switcher__icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: rgba(255, 255, 255, 0.56);
  z-index: 1;
  transition: color 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.theme-switcher__icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.theme-switcher__icon--moon {
  color: #e9fbff;
  transform: scale(1.04);
}

html[data-site-theme="light"] .theme-switcher__icon {
  color: rgba(30, 48, 68, 0.46);
}

html[data-site-theme="light"] .theme-switcher__icon--sun {
  color: #fff7c2;
  transform: scale(1.04);
}

html[data-site-theme="light"] .theme-switcher__icon--moon {
  transform: scale(0.92);
}

.theme-switcher__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.language-switcher {
  position: relative;
  flex: 0 0 auto;
}

.language-switcher summary {
  list-style: none;
}

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

.language-switcher summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  cursor: pointer;
  user-select: none;
  transition: border-color 140ms ease, background 140ms ease;
}

.language-switcher summary:hover,
.language-switcher[open] summary {
  border-color: rgba(82, 224, 196, 0.28);
  background: rgba(82, 224, 196, 0.08);
}

.language-switcher__flag {
  display: inline-block;
  width: 20px;
  height: 14px;
  flex: 0 0 20px;
  border-radius: 3px;
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22), 0 1px 4px rgba(0, 0, 0, 0.22);
  line-height: 0;
}

.language-switcher__flag--no {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 16'%3E%3Cpath fill='%23ef2b2d' d='M0 0h22v16H0z'/%3E%3Cpath fill='%23fff' d='M6 0h4v16H6zM0 6h22v4H0z'/%3E%3Cpath fill='%23002868' d='M7 0h2v16H7zM0 7h22v2H0z'/%3E%3C/svg%3E");
}

.language-switcher__flag--en {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Cpath fill='%23012169' d='M0 0h60v40H0z'/%3E%3Cpath stroke='%23fff' stroke-width='8' d='m0 0 60 40M60 0 0 40'/%3E%3Cpath stroke='%23c8102e' stroke-width='4.6' d='m0 0 60 40M60 0 0 40'/%3E%3Cpath stroke='%23fff' stroke-width='13' d='M30 0v40M0 20h60'/%3E%3Cpath stroke='%23c8102e' stroke-width='7.2' d='M30 0v40M0 20h60'/%3E%3C/svg%3E");
}

.language-switcher__label {
  font-size: 0.8rem;
  font-weight: 800;
}

.language-switcher__chevron {
  color: var(--muted);
  font-size: 0.7rem;
}

.language-switcher[open] .language-switcher__chevron {
  transform: rotate(180deg);
}

.language-switcher__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 30;
  display: grid;
  gap: 5px;
  min-width: 158px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: rgba(8, 13, 22, 0.98);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.35);
}

html[data-site-theme="light"] .theme-switcher,
html[data-site-theme="light"] .language-switcher summary,
html[data-site-theme="light"] .topbar-user__trigger {
  border-color: rgba(17, 31, 48, 0.12);
  background: rgba(255, 255, 255, 0.66);
}

html[data-site-theme="light"] .language-switcher__menu,
html[data-site-theme="light"] .topbar-user__menu {
  border-color: rgba(17, 31, 48, 0.12);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(30, 48, 68, 0.14);
}

.language-switcher__menu a,
.language-switcher__menu button {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.language-switcher__menu a:hover,
.language-switcher__menu a[aria-current="true"],
.language-switcher__menu button:hover,
.language-switcher__menu button[aria-current="true"] {
  background: rgba(82, 224, 196, 0.1);
}

.language-switcher__menu span {
  font-size: 1rem;
}

.language-switcher__menu strong {
  font-size: 0.84rem;
}

.notice {
  margin: 0 0 22px;
  padding: 14px 18px;
  border: 1px solid rgba(82, 224, 196, 0.22);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(82, 224, 196, 0.12), rgba(82, 224, 196, 0.06));
  color: #d9fff7;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

main {
  display: grid;
  gap: 28px;
}

.site-footer {
  margin-top: 72px;
  width: 100dvw;
  margin-left: calc(50% - 50dvw);
  margin-right: calc(50% - 50dvw);
  padding: 0;
  background: #0c0e13;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.site-footer__main {
  width: min(1080px, calc(100% - 56px));
  margin: 0 auto;
  padding-top: 62px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(120px, 160px));
  gap: 72px;
  align-items: start;
}

.site-footer__brand {
  display: grid;
  gap: 18px;
  max-width: 360px;
}

.footer-brand {
  gap: 8px;
  font-size: 0.9rem;
}

.footer-brand .brand__mark {
  width: 24px;
  height: 24px;
  border-radius: 7px;
}

.site-footer__brand p {
  color: #91a0b6;
  line-height: 1.65;
  max-width: 34ch;
}

.site-footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.site-footer__social-link {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #f4f7fb;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.14), transparent 42%),
    rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease, color 150ms ease;
}

.site-footer__social-link:hover {
  transform: translateY(-2px);
  color: #06110f;
  border-color: rgba(82, 224, 196, 0.58);
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.34), transparent 42%),
    linear-gradient(135deg, var(--accent), #8ff5df);
}

.site-footer__social-link svg {
  width: 16px;
  height: 16px;
  display: block;
  fill: currentColor;
}

.site-footer__nav {
  display: grid;
  gap: 12px;
}

.site-footer__nav span {
  color: #77859a;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer__nav a {
  width: fit-content;
  color: #f2f6fc;
  font-weight: 700;
  font-size: 0.9rem;
  transition: color 140ms ease;
}

.site-footer__nav a:hover {
  color: var(--accent);
}

.site-footer__bottom {
  width: min(1080px, calc(100% - 56px));
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 62px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 24px;
  padding-bottom: 54px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #77859a;
  font-size: 0.78rem;
}

.site-footer__bottom a {
  color: #f2f6fc;
  font-weight: 700;
}

.site-footer__bottom a:hover {
  color: var(--accent);
}

.hex-page-shell {
  gap: 24px;
  padding-top: 22px;
}

.hex-video-hero {
  grid-template-columns: minmax(420px, 1.08fr) minmax(360px, 0.92fr);
}

.hex-video-hero__media {
  max-height: 380px;
}

.hex-logo-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 7, 11, 0.84), rgba(5, 7, 11, 0.08) 48%, rgba(5, 7, 11, 0.66)),
    radial-gradient(circle at 68% 22%, rgba(24, 119, 255, 0.26), transparent 26%),
    #040914;
}

.hex-logo-stage::before,
.hex-logo-stage::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hex-logo-stage::before {
  z-index: 2;
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.18;
}

.hex-logo-stage::after {
  z-index: 2;
  background: linear-gradient(180deg, rgba(5, 7, 11, 0.02) 0%, rgba(5, 7, 11, 0.52) 100%);
}

.hex-logo-stage > img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hex-discord-tag {
  width: fit-content;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid rgba(96, 165, 250, 0.32);
  border-radius: 8px;
  color: #dbeafe;
  background: rgba(37, 99, 235, 0.16);
}

.hex-portfolio,
.hex-quote {
  padding: 28px;
}

.hex-portfolio {
  padding-left: 0;
  padding-right: 0;
}

.hex-portfolio-grid,
.hex-admin-media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.hex-work-card {
  isolation: isolate;
  position: relative;
  display: grid;
  min-height: 610px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(13, 16, 22, 0.46);
  color: var(--text);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.hex-work-card:hover {
  transform: translateY(-4px);
  border-color: rgba(82, 224, 196, 0.28);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.24);
}

.hex-work-card__cover,
.hex-work-card__shade,
.hex-work-card__badges,
.hex-work-card__body {
  grid-area: 1 / 1;
}

.hex-work-card__cover {
  z-index: 0;
  width: 100%;
  height: 100%;
  min-height: 610px;
  display: block;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 220ms ease, filter 220ms ease;
}

.hex-work-card:hover .hex-work-card__cover {
  transform: scale(1.045);
  filter: saturate(1.08);
}

.hex-work-card__shade {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 7, 11, 0.04) 0%, rgba(5, 7, 11, 0.06) 42%, rgba(5, 7, 11, 0.92) 100%),
    linear-gradient(90deg, rgba(5, 7, 11, 0.34), transparent 45%, rgba(5, 7, 11, 0.16));
}

.hex-work-card__badges {
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
  padding: 18px;
}

.hex-work-card__body {
  z-index: 2;
  align-self: end;
  display: grid;
  gap: 8px;
  padding: 0 24px 24px;
}

.hex-work-card__body h3,
.hex-work-card__body p {
  margin: 0;
}

.hex-work-card__body h3 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.05;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.65);
}

.hex-work-card__body p {
  color: #9fb1cc;
  font-size: 0.9rem;
}

.hex-admin-media-item {
  display: grid;
  gap: 10px;
}

.designer-quote-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(88px, max-content));
  gap: 8px;
  align-items: center;
  margin-top: 12px;
}

.designer-quote-actions .inline-form,
.designer-quote-actions .button {
  width: 100%;
}

.designer-quote-status-cell {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.admin-list-table--designer-quotes th:nth-child(1),
.admin-list-table--designer-quotes td:nth-child(1) {
  width: 38%;
}

.admin-list-table--designer-quotes th:nth-child(2),
.admin-list-table--designer-quotes td:nth-child(2) {
  width: 18%;
}

.admin-list-table--designer-quotes th:nth-child(3),
.admin-list-table--designer-quotes td:nth-child(3) {
  width: 28%;
}

.admin-list-table--designer-quotes th:nth-child(4),
.admin-list-table--designer-quotes td:nth-child(4) {
  width: 16%;
  min-width: 110px;
}

.hex-account-note,
.hex-login-required {
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(82, 224, 196, 0.12);
  border-radius: 8px;
  background: rgba(82, 224, 196, 0.055);
}

.hex-account-note {
  color: #d9fdf7;
}

.hex-login-required {
  display: grid;
  gap: 12px;
}

.hex-login-required h3,
.hex-login-required p {
  margin: 0;
}

.hex-login-required .button {
  width: fit-content;
}

.hex-my-quotes {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
}

.hex-my-quotes a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
}

.hex-my-quotes strong,
.hex-my-quotes em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hex-my-quotes em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.82rem;
}

.hex-chat-shell {
  width: min(1360px, 100%);
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: clamp(14px, 2.5vw, 26px);
}

.hex-chat-panel {
  padding: 0;
  overflow: hidden;
}

.hex-chat-thread {
  height: min(78vh, 860px);
  min-height: 540px;
  padding: 24px clamp(18px, 2.6vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow-y: auto;
}

.hex-chat-message {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 7px 8px;
  border-radius: 6px;
}

.hex-chat-message:hover {
  background: rgba(255, 255, 255, 0.035);
}

.hex-chat-message__avatar {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 999px;
  object-fit: cover;
  border: 0;
  background: rgba(255, 255, 255, 0.08);
}

.hex-chat-message__content {
  min-width: 0;
  flex: 1;
  padding-top: 1px;
}

.hex-chat-message__meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 2px;
  color: rgba(148, 163, 184, 0.82);
  font-size: 0.76rem;
}

.hex-chat-message__meta strong {
  color: rgba(241, 245, 249, 0.96);
  font-size: 0.95rem;
}

.hex-chat-message--designer .hex-chat-message__meta strong {
  color: #7dd3fc;
}

.hex-chat-message__meta time {
  color: rgba(148, 163, 184, 0.72);
}

.hex-chat-message__text {
  margin: 0;
  white-space: pre-wrap;
  color: rgba(241, 245, 249, 0.92);
  line-height: 1.38;
}

.hex-chat-reply {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  margin: 0 0 4px;
  color: rgba(203, 213, 225, 0.76);
  font-size: 0.82rem;
  font-style: italic;
  text-decoration: none;
}

.hex-chat-reply:hover {
  color: rgba(241, 245, 249, 0.94);
}

.hex-chat-reply__line {
  width: 26px;
  height: 14px;
  border-top: 2px solid rgba(148, 163, 184, 0.42);
  border-left: 2px solid rgba(148, 163, 184, 0.42);
  border-top-left-radius: 8px;
}

.hex-chat-reply strong {
  color: rgba(203, 213, 225, 0.86);
  font-style: normal;
}

.hex-chat-reply span:not(.hex-chat-reply__line),
.hex-chat-reply__attachment {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hex-chat-reply__attachment {
  color: rgba(241, 245, 249, 0.82);
}

.hex-chat-attachments {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 8px;
  max-width: 560px;
}

.hex-chat-attachment {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.hex-chat-attachment img,
.hex-chat-attachment video {
  width: 100%;
  max-height: 260px;
  display: block;
  object-fit: cover;
}

.hex-chat-empty {
  margin: auto;
  color: var(--muted);
}

.hex-chat-closed {
  margin: 0;
  padding: 12px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
}

.hex-chat-form {
  padding: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hex-chat-reply-target {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  padding: 9px 12px;
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.hex-chat-reply-target[hidden] {
  display: none;
}

.hex-chat-reply-target span {
  color: rgba(203, 213, 225, 0.88);
  font-size: 0.82rem;
}

.hex-chat-reply-target p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.hex-chat-reply-target button {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(241, 245, 249, 0.9);
  cursor: pointer;
}

.hex-chat-context-menu {
  position: fixed;
  z-index: 9999;
  min-width: 118px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(17, 19, 26, 0.98);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.42);
}

.hex-chat-context-menu[hidden] {
  display: none;
}

.hex-chat-context-menu button {
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: rgba(241, 245, 249, 0.92);
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.hex-chat-context-menu button:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hex-chat-composer {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(12, 14, 20, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hex-chat-composer textarea {
  min-height: 24px;
  max-height: 150px;
  padding: 17px 8px;
  border: 0;
  resize: none;
  background: transparent;
  box-shadow: none;
}

.hex-chat-composer textarea:focus {
  outline: none;
  box-shadow: none;
}

.hex-chat-composer__icon,
.hex-chat-composer__tool {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(226, 232, 240, 0.72);
  font-weight: 800;
  cursor: pointer;
}

.hex-chat-composer__icon {
  margin-left: 8px;
  font-size: 2rem;
  font-weight: 300;
}

.hex-chat-composer__tool:hover,
.hex-chat-composer__icon:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.hex-chat-composer__tool:disabled {
  cursor: default;
  opacity: 0.55;
}

.hex-chat-composer__tools {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-right: 8px;
}

.hex-chat-composer__tool {
  font-size: 1.35rem;
}

.hex-chat-composer__tool--emoji {
  min-width: 34px;
  height: 34px;
  border-radius: 8px;
  background: transparent;
  color: rgba(226, 232, 240, 0.72);
  line-height: 1;
}

.hex-chat-composer__tool--emoji img {
  width: 22px;
  height: 22px;
  display: block;
}

.hex-chat-composer__tool--emoji:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.hex-chat-composer__file {
  display: none;
}

.hex-chat-composer__files {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.hex-chat-emoji-picker {
  position: absolute;
  right: 48px;
  bottom: calc(100% + 10px);
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(8, 34px);
  gap: 4px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(13, 16, 22, 0.98);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.38);
}

.hex-chat-emoji-picker[hidden] {
  display: none;
}

.hex-chat-emoji-picker button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-size: 1.15rem;
  cursor: pointer;
}

.hex-chat-emoji-picker button:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hex-chat-upload {
  display: grid;
  gap: 6px;
}

.hex-chat-upload span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.hex-chat-upload input {
  max-width: 260px;
}

.hex-chat-panel [data-chat-status] {
  margin: 0 16px 16px;
}

@media (max-width: 760px) {
  .hex-video-hero {
    grid-template-columns: 1fr;
  }

  .hex-video-hero__media {
    max-height: none;
  }

  .hex-chat-form {
    flex-direction: column;
  }

  .hex-chat-composer {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .hex-chat-composer__tools {
    grid-column: 1 / -1;
    justify-content: flex-end;
    padding: 0 8px 8px;
  }

  .hex-chat-emoji-picker {
    right: 8px;
    grid-template-columns: repeat(4, 34px);
  }

  .hex-chat-message {
    width: 100%;
  }

  .hex-portfolio-grid,
  .hex-admin-media-grid {
    grid-template-columns: 1fr;
  }

  .hex-work-card,
  .hex-work-card__cover {
    min-height: 520px;
  }
}

.legal-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

.legal-hero {
  padding: 38px 42px;
  min-height: 0;
}

.legal-hero__copy {
  max-width: 820px;
  display: grid;
  gap: 14px;
}

.legal-hero h1 {
  margin: 0;
  font-size: clamp(2.35rem, 4.5vw, 4.25rem);
  line-height: 0.98;
}

.legal-hero .lead {
  max-width: 76ch;
}

.legal-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin-top: 4px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
}

.legal-hero__meta span {
  color: #7f8da3;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-hero__meta a {
  color: var(--accent);
  font-weight: 700;
  overflow-wrap: anywhere;
}

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

.legal-stat {
  padding: 18px;
  display: grid;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(82, 224, 196, 0.09), transparent 42%),
    rgba(255, 255, 255, 0.035);
}

.legal-stat span {
  color: #7f8da3;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-stat strong {
  color: #f3f7ff;
  font-size: 1rem;
  line-height: 1.35;
}

.legal-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.legal-sidebar {
  position: sticky;
  top: 96px;
  padding: 22px;
  display: grid;
  gap: 16px;
}

.legal-sidebar nav {
  display: grid;
  gap: 8px;
}

.legal-sidebar a {
  padding: 13px 14px;
  display: grid;
  gap: 3px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: #f3f7ff;
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 140ms ease, background 140ms ease, transform 140ms ease;
}

.legal-sidebar a:hover,
.legal-sidebar a.is-active {
  border-color: rgba(82, 224, 196, 0.36);
  background: rgba(82, 224, 196, 0.09);
}

.legal-sidebar a:hover {
  transform: translateY(-1px);
}

.legal-sidebar a span {
  color: #7f8da3;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-sidebar a strong {
  font-size: 0.92rem;
}

.legal-content {
  padding: 34px;
  display: grid;
  gap: 28px;
}

.legal-summary {
  padding: 22px;
  border: 1px solid rgba(82, 224, 196, 0.2);
  border-radius: 18px;
  background: rgba(82, 224, 196, 0.055);
}

.legal-summary p {
  margin-top: 8px;
  color: #d4deec;
  font-size: 1.04rem;
  line-height: 1.72;
}

.legal-content article {
  display: grid;
  gap: 12px;
}

.legal-content h2 {
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.legal-content p,
.legal-content li {
  color: #aab6c7;
  font-size: 0.98rem;
  line-height: 1.72;
}

.legal-content ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.legal-content li::marker {
  color: var(--accent);
}

.legal-contact {
  margin-top: 8px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 190, 92, 0.09), transparent 42%),
    rgba(255, 255, 255, 0.035);
}

.legal-contact div {
  display: grid;
  gap: 6px;
}

.legal-contact strong {
  color: #f5f8ff;
  font-size: 1.1rem;
}

.panel-solid,
.panel-soft {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.panel-solid::before,
.panel-soft::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.05), transparent 34%, transparent 68%, rgba(82, 224, 196, 0.05));
}

.panel-solid > *,
.panel-soft > * {
  position: relative;
  z-index: 1;
}

.panel-solid {
  background:
    radial-gradient(circle at top right, rgba(255, 190, 92, 0.12), transparent 24%),
    radial-gradient(circle at left center, rgba(82, 224, 196, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(18, 33, 55, 0.98), rgba(8, 18, 31, 0.95));
}

.panel-soft {
  background: linear-gradient(180deg, rgba(12, 14, 19, 0.96), rgba(12, 14, 19, 0.9));
}

html[data-site-theme="light"] .panel-solid {
  background:
    radial-gradient(circle at top right, rgba(255, 190, 92, 0.15), transparent 24%),
    radial-gradient(circle at left center, rgba(12, 159, 140, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 251, 0.94));
}

html[data-site-theme="light"] .panel-soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 252, 0.9));
}

html[data-site-theme="light"] .admin-card,
html[data-site-theme="light"] .profile-card,
html[data-site-theme="light"] .streamer-card,
html[data-site-theme="light"] .application-card,
html[data-site-theme="light"] .metric-card,
html[data-site-theme="light"] .signal-card,
html[data-site-theme="light"] .home-dashboard-card,
html[data-site-theme="light"] .plus-pricing-card,
html[data-site-theme="light"] .plus-perk-card,
html[data-site-theme="light"] .live-embed-card,
html[data-site-theme="light"] .live-chat-card,
html[data-site-theme="light"] .setup-history-card,
html[data-site-theme="light"] .profile-review-card,
html[data-site-theme="light"] .profile-auth-card,
html[data-site-theme="light"] .setup-showcase-card,
html[data-site-theme="light"] .news-card,
html[data-site-theme="light"] .twitch-clip-card,
html[data-site-theme="light"] .compare-profile-card,
html[data-site-theme="light"] .admin-section-card,
html[data-site-theme="light"] .admin-summary-card {
  border-color: rgba(17, 31, 48, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 250, 252, 0.86)),
    rgba(255, 255, 255, 0.84);
  color: var(--text);
}

html[data-site-theme="light"] input,
html[data-site-theme="light"] textarea,
html[data-site-theme="light"] select {
  border-color: rgba(17, 31, 48, 0.14);
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
}

.hero,
.auth-shell,
.profile-shell,
.dashboard-shell,
.section-block,
.narrow {
  padding: 34px;
}

.auth-shell,
.profile-shell,
.dashboard-shell,
.section-block,
.narrow {
  border-radius: var(--radius-xl);
}

.hero--landing {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(420px, 0.95fr);
  gap: 24px;
  min-height: 500px;
}

.hero__copy,
.hero__panel {
  padding: 6px;
}

.hero__copy {
  display: grid;
  align-content: center;
}

.hero__panel {
  display: grid;
  align-content: start;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.035);
}

.panel-orb {
  position: absolute;
  top: -90px;
  right: -70px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(82, 224, 196, 0.24), rgba(82, 224, 196, 0));
  filter: blur(12px);
}

.hero h1,
.auth-shell h1,
.profile-hero h1,
.dashboard-shell h1,
.narrow h1 {
  margin: 8px 0 14px;
  font-size: clamp(2.9rem, 7vw, 5.4rem);
  line-height: 0.94;
}

.hero h2,
.section-heading h2,
.panel-soft h2,
.panel-solid h2,
.application-state h2 {
  font-size: clamp(1.3rem, 2vw, 2rem);
}

.lead {
  max-width: 68ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.muted {
  color: var(--muted);
}

.micro-label {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.micro-label.accent {
  color: var(--accent);
}

.hero__actions,
.card-actions,
.form-actions,
.action-row,
.action-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__actions,
.form-actions,
.card-actions {
  margin-top: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #03211a;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, opacity 150ms ease;
  box-shadow: 0 16px 38px rgba(15, 183, 157, 0.24);
}

.button:hover {
  transform: translateY(-2px);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--text);
  box-shadow: none;
}

.button--small {
  min-height: 40px;
  padding: 0 14px;
  font-size: 0.95rem;
}

.button--danger {
  background: linear-gradient(135deg, var(--danger), var(--danger-strong));
  color: #260000;
  box-shadow: 0 14px 36px rgba(255, 84, 84, 0.24);
}

.feature-list {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.small-gap {
  margin-bottom: 14px;
}

.hero-highlights,
.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.dashboard-metrics {
  grid-template-columns: 1fr;
}

.signal-card,
.metric-card {
  display: grid;
  gap: 6px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 160ms ease, border-color 160ms ease;
}

.metric-card:hover,
.signal-card:hover,
.streamer-card:hover,
.application-card:hover {
  transform: translateY(-3px);
  border-color: rgba(82, 224, 196, 0.24);
}

.signal-card strong,
.metric-card strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1;
}

.signal-card__label,
.metric-card__label {
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.feature-stack {
  display: grid;
  gap: 14px;
}

.feature-tile {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 20px 22px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(180deg, rgba(27, 35, 47, 0.96), rgba(24, 31, 42, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.feature-tile__index {
  display: inline-grid;
  place-items: center;
  min-width: 48px;
  min-height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(82, 224, 196, 0.12), rgba(82, 224, 196, 0.08));
  border: 1px solid rgba(82, 224, 196, 0.1);
  color: #f2fffc;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.feature-tile h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.feature-tile p {
  color: var(--muted);
  line-height: 1.65;
}

.home-dashboard-hero,
.home-dashboard-card,
.home-dashboard-wide,
.home-directory-list,
.page-home .plus-section,
.page-dashboard .plus-section {
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(180deg, rgba(12, 14, 19, 0.96), rgba(12, 14, 19, 0.9));
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.18);
}

.home-dashboard-hero__panel {
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(180deg, rgba(50, 58, 70, 0.98), rgba(43, 50, 61, 0.96));
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.18);
}

.home-dashboard-hero__panel .section-heading,
.home-dashboard-wide .section-heading {
  margin-bottom: 18px;
}

.home-dashboard-hero__panel .section-heading h2,
.home-dashboard-wide .section-heading h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.02;
}

.home-dashboard-hero__panel .feature-stack,
.home-dashboard-wide .home-benefit-grid {
  gap: 16px;
}

.home-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  margin-top: 22px;
}

.home-dashboard-card,
.home-dashboard-wide,
.home-directory-list,
.page-home .plus-section,
.page-dashboard .plus-section {
  padding: 28px;
  border-radius: 28px;
}

.page-home .plus-section,
.page-dashboard .plus-section {
  backdrop-filter: none;
}

.page-home .plus-section .plus-section__copy,
.page-dashboard .plus-section .plus-section__copy {
  gap: 14px;
}

.page-home .plus-section .lead,
.page-dashboard .plus-section .lead {
  max-width: 34ch;
}

.home-dashboard-card__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.home-dashboard-card__stats div {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(17, 24, 34, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.home-dashboard-card__stats span {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #92a0b4;
}

.home-dashboard-card__stats strong {
  font-size: 1.6rem;
  line-height: 1;
}

.home-news-list,
.home-benefit-grid {
  display: grid;
  gap: 14px;
}

.home-dashboard-wide {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.home-news-list__item {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(17, 24, 34, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.home-news-list__item:hover {
  transform: translateY(-2px);
  border-color: rgba(82, 224, 196, 0.22);
  background: rgba(17, 24, 34, 0.34);
}

.home-news-list__image {
  width: 100%;
  aspect-ratio: 16 / 7;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.home-news-list__item strong {
  font-size: 1rem;
}

.home-directory-shell {
  display: grid;
  gap: 22px;
}

.directory-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.directory-streamer-card {
  background: linear-gradient(180deg, rgba(16, 28, 46, 0.98), rgba(12, 22, 37, 0.96));
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  align-items: start;
}

.card-grid--applications {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.streamer-card,
.application-card {
  align-items: start;
  position: relative;
  display: grid;
  gap: 16px;
  padding: 22px;
  min-height: 100%;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.streamer-card::before,
.application-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(82, 224, 196, 0), rgba(82, 224, 196, 0.55), rgba(255, 190, 92, 0.34), rgba(82, 224, 196, 0));
}

.streamer-card__top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
}

.streamer-card__identity,
.profile-hero__identity {
  display: flex;
  align-items: center;
  gap: 16px;
}

.streamer-card h3 {
  font-size: 1.45rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  max-width: min(290px, 100%);
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.9rem;
}

.status-pill--live {
  color: #fff4f4;
  border-color: rgba(255, 107, 107, 0.3);
  background: rgba(255, 107, 107, 0.16);
}

.status-pill--idle {
  color: #e4f4ff;
  border-color: rgba(159, 177, 199, 0.22);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.tag--accent {
  background: rgba(82, 224, 196, 0.14);
  border-color: rgba(82, 224, 196, 0.26);
  color: #d8fff7;
}

.tag--live {
  background: rgba(255, 107, 107, 0.16);
  border-color: rgba(255, 107, 107, 0.28);
  color: #fff1f1;
}

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

.spec-list.compact {
  margin-top: 18px;
}

.spec-list div {
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
}

.spec-list dt {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.spec-list dd {
  margin: 0;
  line-height: 1.55;
  overflow-wrap: break-word;
  word-break: break-word;
}

.equipment-product-image {
  display: block;
  width: 86px;
  aspect-ratio: 1 / 1;
  margin: 0;
  padding: 7px;
  border-radius: 10px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.equipment-product-image-link {
  display: block;
  width: fit-content;
  border-radius: 10px;
  cursor: zoom-in;
}

.equipment-product-image-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.equipment-product-image-link:hover .equipment-product-image {
  border-color: rgba(82, 224, 196, 0.4);
  transform: translateY(-1px);
}

.spec-list dd:has(> .equipment-product-image-link) {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 8px 14px;
  align-items: center;
}

.spec-list dd:has(> .equipment-product-image-link) > .equipment-product-image-link {
  grid-row: 1 / span 2;
}

.spec-list dd:has(> .equipment-product-image-link) > .equipment-buy-link {
  grid-column: 2;
  margin-top: 0;
}

.equipment-image-lightbox {
  cursor: zoom-out;
}

.equipment-image-lightbox__frame {
  width: min(680px, 100%);
}

.equipment-image-lightbox__frame img {
  padding: clamp(18px, 4vw, 42px);
  background: #f7f8fb;
}

.equipment-buy-link {
  display: flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  min-height: 34px;
  margin-top: 10px;
  padding: 7px 10px;
  border: 1px solid rgba(82, 224, 196, 0.28);
  border-radius: 8px;
  background: rgba(82, 224, 196, 0.09);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.equipment-buy-link__icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: currentColor;
}

.equipment-buy-link:hover {
  border-color: rgba(82, 224, 196, 0.5);
  background: rgba(82, 224, 196, 0.14);
}

.equipment-affiliate-note {
  margin-top: 6px;
}

.profile-spec-subheading {
  margin: 26px 0 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-spec-subheading--first {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.profile-spec-subheading h3 {
  margin: 2px 0 0;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.spec-list__item--pc {
  grid-column: 1 / -1;
}

.spec-list__item--compact {
  min-height: 0;
}

.spec-list__item--compact dd {
  font-size: 0.95rem;
  line-height: 1.35;
}

.pc-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pc-spec-grid li {
  min-height: 76px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  min-width: 0;
}

.pc-spec-grid li:has(.equipment-buy-link) {
  display: grid;
  gap: 7px;
}

.pc-spec-grid li:has(.equipment-product-image-link) {
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 8px 14px;
  align-items: center;
}

.pc-spec-grid li:has(.equipment-product-image-link) .equipment-product-image-link {
  grid-row: 1 / span 4;
}

.pc-spec-grid .equipment-product-image {
  width: 86px;
  border-radius: 10px;
}

.pc-spec-grid span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  overflow-wrap: normal;
  word-break: normal;
}

.pc-spec-grid strong {
  display: block;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: normal;
}

.pc-spec-grid .pc-spec-price {
  display: block;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
}

.pc-spec-grid .equipment-buy-link {
  margin-top: 2px;
  min-height: 30px;
  padding: 6px 9px;
  font-size: 0.76rem;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
}

.page-profile .spec-list__item--pc {
  grid-column: 1 / -1;
  min-height: 0;
}

.empty-state {
  padding: 34px;
  text-align: center;
  background: linear-gradient(180deg, rgba(11, 24, 42, 0.82), rgba(8, 18, 31, 0.88));
}

.form-grid {
  display: grid;
  gap: 16px;
}

.form-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

label {
  display: grid;
  gap: 8px;
}

label span {
  color: var(--muted);
  font-size: 0.92rem;
}

input,
textarea,
select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.03));
  color: var(--text);
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

select option {
  color: #101722;
  background: #ffffff;
}

label small {
  display: block;
  margin-top: 7px;
  color: #91a0b5;
  font-size: 0.78rem;
  line-height: 1.35;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(82, 224, 196, 0.26);
  border-color: rgba(82, 224, 196, 0.4);
}

input[type="file"] {
  padding: 14px;
  border-style: dashed;
  background: rgba(255, 255, 255, 0.02);
}

.full-span {
  grid-column: 1 / -1;
}

.checkbox-field {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
}

.checkbox-field input {
  width: auto;
  min-height: 0;
}

.dashboard-shell.admin-layout {
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  gap: 22px;
}

.dashboard-stack,
.user-layout,
.profile-shell,
.streamer-layout,
.application-state {
  display: grid;
  gap: 22px;
}

.admin-hero {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 22px;
  align-items: stretch;
}

.admin-actions {
  margin-top: 18px;
}

.side-panel {
  padding: 24px;
  background: linear-gradient(180deg, rgba(12, 24, 40, 0.9), rgba(8, 18, 31, 0.88));
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  text-align: left;
  vertical-align: top;
}

th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: rgba(10, 19, 32, 0.96);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

tbody tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.inline-form {
  margin: 0;
}

.action-stack {
  flex-direction: column;
  align-items: stretch;
}

.small-text {
  font-size: 0.82rem;
}

.live-summary {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.live-summary--on {
  border-color: rgba(255, 107, 107, 0.34);
  background: rgba(255, 107, 107, 0.14);
}

.live-summary__label {
  font-weight: 700;
}

.avatar {
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.26);
}

.avatar--small {
  width: 58px;
  height: 58px;
}

.avatar--large {
  width: 120px;
  height: 120px;
}

.avatar--hero {
  width: 132px;
  height: 132px;
}

.media-grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.media-grid--setup {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.025);
}

.media-preview {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.26);
}

.banner-preview {
  aspect-ratio: 16 / 6;
  object-fit: cover;
  border-radius: 18px;
}

.profile-banner {
  min-height: 320px;
  padding: 34px;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), var(--shadow-lg);
}

.profile-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(82, 224, 196, 0.12), transparent 30%, transparent 68%, rgba(255, 190, 92, 0.08));
}

.profile-hero {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
}

.profile-hero__meta {
  display: grid;
  gap: 12px;
  justify-items: end;
  min-width: 220px;
}

.setup-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  align-items: start;
}

.setup-shot {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.26);
  transition: transform 160ms ease, border-color 160ms ease;
}

.setup-shot:not(.setup-lightbox__media):hover {
  transform: translateY(-3px);
  border-color: rgba(82, 224, 196, 0.24);
}

.setup-shot--video {
  background: rgba(5, 8, 14, 0.92);
}

.setup-gallery--showcase {
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  grid-auto-rows: minmax(140px, auto);
  gap: 18px;
}

.setup-gallery--single {
  grid-template-columns: 1fr;
}

.setup-showcase-card {
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(6, 10, 18, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.28);
}

.setup-showcase-card--featured {
  grid-row: span 2;
}

.setup-gallery--single .setup-showcase-card--featured {
  grid-row: auto;
}

.setup-showcase-card__link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.setup-showcase-card .setup-shot {
  display: block;
  height: 100%;
  min-height: 220px;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.setup-showcase-card--featured .setup-shot {
  min-height: 0;
  max-height: 520px;
  aspect-ratio: 16 / 10;
}

.setup-gallery--single .setup-showcase-card--featured .setup-shot {
  min-height: 0;
  aspect-ratio: 16 / 10;
}

.setup-showcase-card__hint {
  position: absolute;
  right: 14px;
  bottom: 14px;
  min-height: 30px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(8, 12, 20, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #edf5ff;
  font-size: 0.78rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.setup-showcase-card:hover .setup-showcase-card__hint,
.setup-showcase-card:focus-within .setup-showcase-card__hint {
  opacity: 1;
  transform: translateY(0);
}

.setup-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.setup-lightbox:target {
  display: flex;
}

.setup-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 6, 12, 0.86);
  backdrop-filter: blur(14px);
}

.setup-lightbox__frame {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  margin: 0;
  display: grid;
  gap: 12px;
}

.setup-lightbox__frame img,
.setup-lightbox__frame video {
  width: 100%;
  max-height: min(78vh, 820px);
  object-fit: contain;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(6, 10, 18, 0.92);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
}

.setup-lightbox__frame figcaption {
  color: var(--muted);
  font-size: 0.9rem;
}

.setup-lightbox__close {
  justify-self: end;
  min-height: 38px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.setup-lightbox__nav {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 10, 16, 0.76);
  color: #f4fbff;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transform: translateY(-50%);
}

.setup-lightbox__nav--prev {
  left: 14px;
}

.setup-lightbox__nav--next {
  right: 14px;
}

.auth-shell.narrow,
.panel-solid.narrow,
.panel-soft.narrow {
  max-width: 980px;
  margin: 0 auto;
}

#my-profile {
  scroll-margin-top: 96px;
}

@media (max-width: 1080px) {
  .hero--landing,
  .dashboard-shell.admin-layout,
  .admin-hero,
  .card-grid,
  .card-grid--applications {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
    --topbar-height: 56px;
  }

  .site-shell {
    width: min(100% - 20px, 1480px);
  }

  .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    overflow: visible;
    min-height: 56px;
    padding: 0 16px;
  }

  .topbar__nav--center {
    display: none;
  }

  .topbar__nav--actions {
    gap: 10px;
  }

  .topbar__nav--actions > a:not(.button) {
    display: none;
  }

  .section-heading,
  .profile-hero,
  .streamer-card__top {
    flex-direction: column;
    align-items: stretch;
  }

  .hero,
  .auth-shell,
  .profile-shell,
  .dashboard-shell,
  .section-block,
  .narrow,
  .profile-banner {
    padding: 22px;
  }

  .hero h1,
  .auth-shell h1,
  .profile-hero h1,
  .dashboard-shell h1,
  .narrow h1 {
    font-size: clamp(2.2rem, 12vw, 3.7rem);
  }

  .hero-highlights,
  .spec-list,
  .form-grid--two,
  .media-grid,
  .setup-gallery {
    grid-template-columns: 1fr;
  }

  .media-grid--setup {
    padding: 16px;
  }

  .streamer-card__identity,
  .profile-hero__identity {
    flex-direction: column;
    align-items: flex-start;
  }

  .profile-hero__meta {
    justify-items: start;
    min-width: 0;
  }

  .checkbox-field {
    align-items: flex-start;
  }

  .action-stack {
    flex-direction: row;
  }

  .brand__mark {
    width: 34px;
    height: 34px;
  }
}

.platform-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.platform-pill strong {
  font-size: 0.88rem;
}

.platform-pill em {
  font-style: normal;
  color: var(--muted);
  font-size: 0.8rem;
}

.platform-pill span {
  color: var(--muted);
  font-size: 0.8rem;
}

.platform-pill .platform-pill__followers {
  color: #e4ebf7;
  font-weight: 700;
}

.platform-pill--compact {
  min-height: 34px;
  padding: 0 10px;
}

.platform-pill--live {
  border-color: rgba(255, 107, 107, 0.28);
  background: rgba(255, 107, 107, 0.12);
}

.platform-pill--idle {
  border-color: rgba(82, 224, 196, 0.18);
}

.platform-pill--warn {
  border-color: rgba(255, 190, 92, 0.24);
  background: rgba(255, 190, 92, 0.1);
}

.platform-pill i {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 190, 92, 0.14);
  color: #ffe0a6;
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.platform-note {
  margin-top: 10px;
  max-width: 68ch;
  line-height: 1.6;
}

.panel-solid,
.panel-soft,
.section-block,
.auth-shell,
.profile-banner,
.side-panel,
.streamer-card,
.application-card,
.metric-card,
.signal-card,
.table-wrap,
.media-grid--setup {
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.panel-soft,
.section-block,
.side-panel,
.table-wrap,
.media-grid--setup,
.streamer-card,
.application-card {
  border-color: rgba(255, 255, 255, 0.1);
}

.section-block {
  background: linear-gradient(180deg, rgba(11, 22, 38, 0.66), rgba(8, 18, 31, 0.5));
  backdrop-filter: blur(16px);
}

.panel-soft,
.section-block,
.media-grid--setup,
.table-wrap {
  border-radius: 26px;
}

.streamer-card,
.application-card,
.metric-card,
.signal-card {
  border-radius: 24px;
}

.streamer-card,
.application-card {
  background:
    linear-gradient(180deg, rgba(14, 27, 45, 0.92), rgba(8, 18, 31, 0.88));
}

.dashboard-shell.admin-layout,
.dashboard-shell.streamer-layout,
.dashboard-shell.user-layout,
.profile-shell {
  gap: 24px;
}

.form-grid label,
.form-grid .full-span,
.checkbox-field {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
}

.form-grid label span,
.checkbox-field span {
  font-weight: 500;
}

.form-grid label input,
.form-grid label textarea,
.form-grid label select,
.checkbox-field input {
  margin-top: 2px;
}

.hero__panel,
.side-panel,
.panel-soft.narrow,
.auth-shell,
.panel-solid.narrow {
  background:
    linear-gradient(180deg, rgba(14, 27, 45, 0.9), rgba(8, 18, 31, 0.86));
}

.profile-banner {
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-hero__meta,
.hero__actions,
.card-actions,
.form-actions,
.platform-stack {
  align-items: flex-start;
}

.empty-state {
  border-radius: 24px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
}

th,
td {
  padding: 14px 12px;
}

tbody tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 760px) {
  .form-grid label,
  .form-grid .full-span,
  .checkbox-field {
    padding: 12px;
  }
}

.admin-layout {
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  align-items: start;
}

.admin-hero {
  padding: 34px;
  border-radius: 30px;
  border: 1px solid rgba(82, 224, 196, 0.16);
  background:
    radial-gradient(circle at top right, rgba(255, 190, 92, 0.16), transparent 26%),
    radial-gradient(circle at left center, rgba(82, 224, 196, 0.12), transparent 30%),
    linear-gradient(145deg, rgba(18, 34, 54, 0.98), rgba(7, 16, 28, 0.94));
}

.admin-hero__copy {
  display: grid;
  align-content: start;
  gap: 14px;
}

.admin-hero .lead {
  max-width: 54ch;
}

.dashboard-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metric-card {
  min-height: 160px;
  align-content: end;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.dashboard-stack > .panel-soft,
.side-panel,
#my-profile,
.applications-stack {
  border-radius: 30px;
}

.dashboard-stack > .panel-soft,
.side-panel {
  padding: 26px;
}

.side-panel {
  position: sticky;
  top: 104px;
}

.side-panel .section-heading,
.dashboard-stack > .panel-soft .section-heading,
.applications-stack .section-heading,
.profile-shell .section-heading {
  margin-bottom: 18px;
}

.dashboard-stack > .panel-soft {
  background:
    linear-gradient(180deg, rgba(12, 25, 43, 0.94), rgba(8, 18, 31, 0.9));
}

.table-wrap {
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02));
}

th {
  background: rgba(8, 17, 30, 0.98);
}

tr td:first-child {
  font-weight: 700;
}

.action-stack .button,
.action-stack .button--ghost,
.action-stack .button--danger {
  width: 100%;
}

.profile-shell {
  gap: 24px;
}

.profile-banner {
  min-height: 420px;
  padding: 38px;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(6, 12, 24, 0.12), rgba(6, 12, 24, 0.88)),
    radial-gradient(circle at top right, rgba(255, 190, 92, 0.15), transparent 26%),
    radial-gradient(circle at left center, rgba(82, 224, 196, 0.12), transparent 30%),
    url('/default-banner.svg');
}

.profile-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 28px;
  align-items: end;
}

.profile-hero__identity {
  align-items: end;
  gap: 22px;
  min-width: 0;
}

.profile-hero__identity > div {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.profile-hero__meta {
  align-self: stretch;
  justify-items: stretch;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 16, 28, 0.52);
  backdrop-filter: blur(16px);
}

.profile-hero__meta .card-actions {
  margin-top: 4px;
}

.profile-shell > .panel-soft {
  padding: 26px;
}

.profile-shell > .panel-soft:nth-of-type(2) {
  background:
    linear-gradient(180deg, rgba(13, 26, 44, 0.94), rgba(8, 18, 31, 0.9));
}

.media-grid--setup {
  grid-template-columns: 160px 1fr;
  align-items: start;
  gap: 24px;
}

.media-grid--setup > div:first-child {
  display: grid;
  gap: 10px;
}

.form-grid.form-grid--two {
  gap: 20px;
}

.form-grid label,
.form-grid .full-span,
.checkbox-field {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02));
}

.platform-stack a {
  text-decoration: none;
}

.platform-pill {
  min-height: 42px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.05);
}

.platform-note {
  padding: 12px 14px;
  border: 1px solid rgba(255, 190, 92, 0.16);
  border-radius: 16px;
  background: rgba(255, 190, 92, 0.07);
}

.setup-gallery {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.setup-shot {
  border-radius: 24px;
}

@media (max-width: 1080px) {
  .admin-layout,
  .profile-hero,
  .dashboard-metrics {
    grid-template-columns: 1fr;
  }

  .side-panel {
    position: static;
  }
}

@media (max-width: 760px) {
  .profile-banner,
  .admin-hero,
  .dashboard-stack > .panel-soft,
  .side-panel,
  .profile-shell > .panel-soft {
    padding: 22px;
  }

  .profile-hero__meta {
    padding: 18px;
  }

  .media-grid--setup {
    grid-template-columns: 1fr;
  }
}


.admin-studio {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  align-items: stretch;
  gap: 26px;
}

.dashboard-shell.admin-studio {
  padding: 20px;
}

.admin-sidebar {
  position: sticky;
  top: 90px;
  display: grid;
  align-content: start;
  gap: 20px;
  padding: 26px 22px 22px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: linear-gradient(180deg, rgba(39, 47, 59, 0.98), rgba(43, 51, 63, 0.96));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.admin-sidebar__brand {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

.admin-sidebar__brand > div {
  min-width: 0;
}

.admin-sidebar__brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, #3f70ff, #2d4dff);
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  box-shadow: 0 16px 32px rgba(38, 74, 198, 0.34);
}

.admin-sidebar__intro,
.admin-sidebar__meta,
.admin-sidebar__stats,
.admin-sidebar__nav {
  display: grid;
  gap: 12px;
}

.admin-sidebar__brand h2 {
  margin: 4px 0 0;
  font-size: 1.7rem;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.admin-sidebar__intro h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.28rem;
  line-height: 1.08;
}

.admin-sidebar__brand h2,
.admin-sidebar__intro p,
.admin-sidebar__promo p,
.admin-sidebar__meta strong,
.admin-sidebar__stats strong {
  overflow-wrap: break-word;
  word-break: normal;
}

.admin-sidebar__intro p,
.admin-sidebar__promo p {
  line-height: 1.55;
}

.admin-sidebar__meta strong,
.admin-sidebar__stats strong {
  font-size: 0.98rem;
}

.admin-sidebar__nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 14px 15px;
  border-radius: 18px;
  color: #edf2ff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.admin-sidebar__nav-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.admin-sidebar__nav-copy span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #92a0b4;
}

.admin-sidebar__nav a strong {
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  color: #fff;
}

.admin-sidebar__nav-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  color: #dce5f5;
}

.admin-sidebar__nav-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.admin-sidebar__nav a:hover {
  transform: translateX(4px);
  border-color: rgba(76, 108, 255, 0.34);
  background: rgba(72, 100, 255, 0.1);
}

.admin-sidebar__nav a.is-active {
  border-color: rgba(71, 101, 255, 0.45);
  background: linear-gradient(180deg, rgba(51, 82, 246, 0.3), rgba(51, 82, 246, 0.16));
  box-shadow: inset 0 0 0 1px rgba(116, 141, 255, 0.15);
}

.admin-sidebar__meta div,
.admin-sidebar__stats div,
.profile-stat-list div {
  display: grid;
  gap: 4px;
  padding: 13px 15px;
  border-radius: 16px;
  background: rgba(17, 22, 30, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-sidebar__meta span,
.admin-sidebar__stats span,
.profile-stat-list span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

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

.admin-sidebar__promo {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 161, 110, 0.85), rgba(255, 115, 92, 0.9));
  color: #fff9f5;
  box-shadow: 0 18px 34px rgba(159, 70, 48, 0.24);
}

.admin-sidebar__promo .micro-label,
.admin-sidebar__promo .muted {
  color: rgba(255, 249, 245, 0.78);
}

.admin-main,
.profile-workspace,
.profile-showcase {
  display: grid;
  gap: 22px;
}

.admin-main {
  align-content: start;
  min-width: 0;
}

.admin-main__content {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.workspace-main .profile-workspace,
.workspace-main .profile-workspace__grid,
.workspace-main .profile-workspace__hero,
.workspace-main .user-layout {
  gap: 22px;
}

.workspace-hero-card,
.workspace-content-card {
  padding: 28px;
  border-radius: 28px;
}

.workspace-content-card {
  min-width: 0;
}

.workspace-toolbar .admin-toolbar__actions {
  justify-content: flex-end;
}

.admin-toolbar {
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) minmax(320px, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: linear-gradient(180deg, rgba(12, 14, 19, 0.96), rgba(12, 14, 19, 0.9));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
}

.admin-toolbar__copy {
  display: grid;
  gap: 6px;
}

.admin-toolbar__copy h1 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.admin-toolbar__search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 18px;
  background: rgba(18, 24, 33, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.admin-toolbar__search svg {
  width: 18px;
  height: 18px;
  fill: #9fb0c7;
}

.admin-toolbar__search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #edf3ff;
  font: inherit;
}

.admin-toolbar__search input::placeholder {
  color: #8f9dae;
}

.admin-toolbar__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}

.admin-toolbar__chip {
  display: grid;
  gap: 2px;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.admin-toolbar__chip span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #92a0b4;
}

.admin-toolbar__chip strong {
  font-size: 1.05rem;
}

.admin-duo,
.profile-grid,
.profile-workspace__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.admin-card,
.profile-card,
.profile-workspace__media,
.profile-workspace__form,
.profile-workspace__hero,
.admin-page-header,
.admin-overview-hero,
.admin-summary-card,
.admin-section-card,
.setup-shot-card {
  border-radius: 28px;
}

.admin-card,
.profile-card,
.profile-workspace__media,
.profile-workspace__form,
.admin-page-header,
.admin-overview-hero,
.admin-summary-card,
.admin-section-card {
  padding: 28px;
  min-width: 0;
}

.admin-page-header,
.admin-overview-hero,
.profile-workspace__hero {
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(180deg, rgba(48, 57, 69, 0.98), rgba(43, 50, 61, 0.96));
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.18);
}

.admin-page-header h1,
.admin-overview-hero h1 {
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  line-height: 0.98;
}

.admin-overview-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.admin-overview-hero__copy,
.admin-overview-hero__actions {
  display: grid;
  gap: 14px;
}

.admin-overview-hero__actions {
  justify-items: start;
}

.admin-overview-hero__pill {
  display: grid;
  gap: 4px;
  min-width: 180px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(26, 32, 41, 0.35);
  border: 1px solid rgba(82, 103, 255, 0.18);
}

.admin-overview-hero__pill span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #a7b5c8;
}

.admin-overview-hero__pill strong {
  font-size: 2rem;
  line-height: 1;
}

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

.admin-summary-card {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(180deg, rgba(50, 58, 70, 0.98), rgba(43, 50, 61, 0.96));
}

.admin-summary-card__label {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #95a4b7;
}

.admin-summary-card__top,
.admin-summary-card__value-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-summary-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(70, 96, 255, 0.2);
  color: #cfd9ff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-summary-card strong {
  font-size: 2.1rem;
  line-height: 1;
}

.admin-section-grid,
.admin-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 22px;
}

.admin-analytics-card {
  margin-bottom: 22px;
}

.admin-alert-card {
  margin-bottom: 22px;
}

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

.admin-alert-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left-width: 4px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.admin-alert-item strong,
.admin-alert-item p {
  margin: 0;
}

.admin-alert-item p {
  margin-top: 4px;
}

.admin-alert-item--warning {
  border-left-color: #ffb04c;
}

.admin-alert-item--info {
  border-left-color: #4f71ff;
}

.admin-alert-item--success {
  border-left-color: #45c274;
}

.admin-alert-item--empty {
  grid-template-columns: minmax(0, 1fr);
  border-left-color: rgba(255, 255, 255, 0.18);
}

.admin-analytics-list {
  display: grid;
  gap: 10px;
}

.admin-analytics-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  text-decoration: none;
}

.admin-analytics-row strong,
.admin-analytics-row span {
  display: block;
}

.admin-analytics-row span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-analytics-row dl {
  display: flex;
  gap: 12px;
  margin: 0;
}

.admin-analytics-row dl div {
  min-width: 82px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(3, 6, 12, 0.32);
}

.admin-analytics-row dt,
.admin-analytics-row dd {
  margin: 0;
}

.admin-analytics-row dt {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.admin-analytics-row dd {
  color: #e9ffff;
  font-weight: 800;
}

.site-analytics-grid {
  align-items: start;
}

.site-location-card {
  margin-bottom: 22px;
}

.site-location-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 18px;
  align-items: start;
}

.site-location-map {
  position: relative;
  width: 100%;
  min-height: 0;
  height: 240px;
  max-height: 240px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: #07101a;
}

.site-location-map__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.site-location-map__canvas.leaflet-container {
  width: 100%;
  height: 100% !important;
  font: inherit;
  background: #07101a;
}

.site-location-map .leaflet-container {
  overflow: hidden;
}

.site-location-map .leaflet-pane,
.site-location-map .leaflet-tile,
.site-location-map .leaflet-marker-icon,
.site-location-map .leaflet-marker-shadow,
.site-location-map .leaflet-tile-container,
.site-location-map .leaflet-pane > svg,
.site-location-map .leaflet-pane > canvas,
.site-location-map .leaflet-zoom-box,
.site-location-map .leaflet-image-layer,
.site-location-map .leaflet-layer {
  position: absolute;
  left: 0;
  top: 0;
}

.site-location-map .leaflet-tile,
.site-location-map .leaflet-marker-icon,
.site-location-map .leaflet-marker-shadow {
  user-select: none;
  -webkit-user-drag: none;
}

.site-location-map .leaflet-tile {
  width: 256px;
  height: 256px;
  max-width: none !important;
  max-height: none !important;
}

.site-location-map .leaflet-pane,
.site-location-map .leaflet-map-pane {
  z-index: 1;
}

.site-location-map .leaflet-tile-pane {
  z-index: 2;
}

.site-location-map .leaflet-overlay-pane {
  z-index: 4;
}

.site-location-map .leaflet-marker-pane {
  z-index: 6;
}

.site-location-map .leaflet-tooltip-pane {
  z-index: 7;
}

.site-location-map .leaflet-popup-pane {
  z-index: 8;
}

.site-location-map .leaflet-control {
  position: relative;
  z-index: 800;
  pointer-events: auto;
}

.site-location-map .leaflet-top,
.site-location-map .leaflet-bottom {
  position: absolute;
  z-index: 1000;
  pointer-events: none;
}

.site-location-map .leaflet-top {
  top: 0;
}

.site-location-map .leaflet-right {
  right: 0;
}

.site-location-map .leaflet-bottom {
  bottom: 0;
}

.site-location-map .leaflet-left {
  left: 0;
}

.site-location-map .leaflet-control-zoom {
  margin: 10px;
}

.site-location-map .leaflet-control-zoom a {
  display: block;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  text-decoration: none;
}

.site-location-map .leaflet-control-attribution {
  margin: 0;
  padding: 2px 6px;
  font-size: 0.68rem;
}

.site-location-map .leaflet-popup {
  position: absolute;
  margin-bottom: 20px;
  text-align: center;
}

.site-location-map .leaflet-popup-content-wrapper {
  border-radius: 10px;
}

.site-location-map .leaflet-popup-tip-container {
  width: 40px;
  height: 20px;
  position: absolute;
  left: 50%;
  margin-left: -20px;
  overflow: hidden;
  pointer-events: none;
}

.site-location-map .leaflet-popup-tip {
  width: 14px;
  height: 14px;
  margin: -8px auto 0;
  transform: rotate(45deg);
}

.site-location-map--ready .site-location-map__fallback {
  display: none;
}

.site-location-map .leaflet-tile {
  filter: saturate(0.82) brightness(0.72) contrast(1.08);
}

.site-location-map .leaflet-control-attribution,
.site-location-map .leaflet-control-zoom a {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(7, 10, 16, 0.88);
  color: #d7e8f7;
}

.site-location-map .leaflet-popup-content-wrapper,
.site-location-map .leaflet-popup-tip {
  background: #0d121b;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.site-location-map .leaflet-popup-content {
  margin: 12px 14px;
  line-height: 1.45;
}

.site-location-map .leaflet-popup-close-button {
  color: #d7e8f7;
}

.site-location-map__fallback,
.site-location-map__empty {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: min(260px, calc(100% - 40px));
  color: var(--muted);
  text-align: center;
  transform: translate(-50%, -50%);
}

.site-location-list {
  display: grid;
  gap: 10px;
  align-content: start;
}

.site-location-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.site-location-row > span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(82, 224, 196, 0.18);
  color: #bffdf2;
  font-weight: 900;
}

.site-location-row strong,
.site-location-row small {
  display: block;
}

.site-location-row small {
  margin-top: 3px;
  color: var(--muted);
}

.site-location-row dl {
  display: flex;
  gap: 8px;
  margin: 0;
}

.site-location-row dl div {
  min-width: 72px;
  padding: 7px 9px;
  border-radius: 10px;
  background: rgba(3, 6, 12, 0.32);
}

.site-location-row dt,
.site-location-row dd {
  margin: 0;
}

.site-location-row dt {
  color: var(--muted);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.site-location-row dd {
  color: #e9ffff;
  font-weight: 800;
}

.site-analytics-list {
  display: grid;
  gap: 12px;
}

.site-analytics-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.75fr) minmax(140px, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.site-analytics-row strong,
.site-analytics-row span {
  display: block;
}

.site-analytics-row > div:first-child span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
}

.site-analytics-row__bar {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.site-analytics-row__bar span {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #52e0c4, #78a7ff);
}

.site-analytics-row dl {
  display: flex;
  gap: 10px;
  margin: 0;
}

.site-analytics-row dl div {
  min-width: 78px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(3, 6, 12, 0.32);
}

.site-analytics-row dt,
.site-analytics-row dd {
  margin: 0;
}

.site-analytics-row dt {
  color: var(--muted);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.site-analytics-row dd {
  color: #e9ffff;
  font-weight: 800;
}

@media (max-width: 760px) {
  .admin-alert-item {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-alert-item .button {
    width: 100%;
  }

  .admin-analytics-row {
    grid-template-columns: 1fr;
  }

  .admin-analytics-row dl {
    width: 100%;
  }

  .admin-analytics-row dl div {
    flex: 1;
  }

  .site-analytics-row {
    grid-template-columns: 1fr;
  }

  .site-analytics-row dl div {
    flex: 1;
  }

  .site-location-grid,
  .site-location-row {
    grid-template-columns: 1fr;
  }

  .site-location-map {
    height: 210px;
    max-height: 210px;
  }

  .site-location-map__canvas.leaflet-container {
    height: 100% !important;
  }

  .site-location-row > span {
    width: 28px;
    height: 28px;
  }

  .site-location-row dl div {
    flex: 1;
  }
}

.admin-section-card,
.admin-link-card {
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(180deg, rgba(12, 14, 19, 0.96), rgba(12, 14, 19, 0.9));
}

.admin-section-card--primary {
  min-height: 100%;
}

.admin-nav-list,
.admin-checklist {
  display: grid;
  gap: 14px;
}

.admin-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(19, 24, 32, 0.2);
  color: #f3f6ff;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.admin-nav-row:hover {
  transform: translateY(-2px);
  border-color: rgba(86, 113, 255, 0.28);
  background: rgba(69, 97, 255, 0.08);
}

.admin-nav-row strong {
  display: block;
  margin-bottom: 4px;
}

.admin-nav-row span {
  white-space: nowrap;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
}

.admin-checklist div {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(19, 24, 32, 0.22);
}

.admin-checklist span {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #92a0b4;
}

.admin-mini-feed {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.admin-mini-feed article {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(18, 24, 33, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

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

.news-card {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(180deg, rgba(12, 14, 19, 0.96), rgba(12, 14, 19, 0.9));
}

.news-card__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.news-card h2 {
  font-size: 1.45rem;
}

.news-card__meta {
  color: #dce5f7;
  font-size: 0.9rem;
}

.public-profile-showcase .profile-banner--showcase,
.public-profile-showcase .profile-card,
.public-profile-showcase .panel-soft {
  border-color: rgba(255, 255, 255, 0.05);
  background: linear-gradient(180deg, rgba(12, 14, 19, 0.96), rgba(12, 14, 19, 0.9));
}

.public-profile-showcase .profile-banner--showcase {
  background-blend-mode: overlay, normal;
}

.admin-mini-feed span {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #92a0b4;
}

.admin-card--table .table-wrap {
  border-radius: 22px;
  max-width: 100%;
}

.admin-list-table-wrap {
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  background: rgba(17, 24, 34, 0.28);
}

.admin-list-table {
  width: 100%;
  min-width: 100%;
  table-layout: auto;
}

.admin-list-table th,
.admin-list-table td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: middle;
}

.admin-list-table th {
  background: rgba(16, 22, 31, 0.92);
  color: #95a4b7;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.admin-list-table tbody tr:hover td {
  background: rgba(70, 96, 255, 0.04);
}

.admin-list-table tbody tr:last-child td {
  border-bottom: 0;
}

.admin-list-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.admin-list-avatar {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
}

.admin-list-avatar--fallback {
  display: grid;
  place-items: center;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  background: linear-gradient(135deg, #4765ff, #2f49db);
}

.admin-list-identity__copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.admin-list-identity__copy strong,
.admin-list-identity__copy span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-list-identity__copy strong {
  font-size: 0.96rem;
  color: #f5f8ff;
  white-space: nowrap;
}

.admin-list-identity__copy span {
  color: #90a0b6;
  font-size: 0.84rem;
  white-space: nowrap;
}

.admin-list-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-list-badge--neutral {
  background: rgba(255, 255, 255, 0.05);
  color: #d8e0ee;
}

.admin-list-badge--info {
  background: rgba(79, 113, 255, 0.18);
  border-color: rgba(79, 113, 255, 0.22);
  color: #d9e2ff;
}

.admin-list-badge--success {
  background: rgba(69, 194, 116, 0.18);
  border-color: rgba(69, 194, 116, 0.22);
  color: #dcffe8;
}

.admin-list-badge--warning {
  background: rgba(255, 176, 76, 0.18);
  border-color: rgba(255, 176, 76, 0.24);
  color: #fff0cb;
}

.admin-list-badge--danger,
.admin-list-badge--live {
  background: rgba(255, 92, 92, 0.18);
  border-color: rgba(255, 92, 92, 0.22);
  color: #ffe1e1;
}

body.page-maintenance {
  background:
    linear-gradient(115deg, rgba(82, 224, 196, 0.08), transparent 30%),
    linear-gradient(245deg, rgba(255, 190, 92, 0.08), transparent 34%),
    linear-gradient(180deg, #090c12 0%, #0c0e13 100%);
}

body.page-maintenance .site-shell {
  width: min(1180px, calc(100% - 32px));
}

.maintenance-page {
  min-height: calc(100vh - 220px);
  display: grid;
  place-items: center;
  padding: 64px 0;
}

.maintenance-panel {
  position: relative;
  overflow: hidden;
  width: min(860px, 100%);
  display: grid;
  gap: 28px;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid rgba(82, 224, 196, 0.22);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(20, 27, 38, 0.98), rgba(11, 15, 22, 0.98)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 20px);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.44), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.maintenance-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(82, 224, 196, 0.16), transparent 28%, transparent 72%, rgba(255, 190, 92, 0.12)),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: auto, 100% 11px;
  opacity: 0.42;
}

.maintenance-panel > * {
  position: relative;
}

.maintenance-panel__topline,
.maintenance-actions,
.maintenance-admin-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.maintenance-kicker,
.maintenance-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.maintenance-kicker {
  color: #5ce8d0;
  background: rgba(82, 224, 196, 0.11);
  border: 1px solid rgba(82, 224, 196, 0.24);
}

.maintenance-badge {
  color: #ffd18a;
  background: rgba(255, 190, 92, 0.12);
  border: 1px solid rgba(255, 190, 92, 0.28);
}

.maintenance-panel__copy {
  display: grid;
  gap: 16px;
}

.maintenance-panel__copy h1 {
  max-width: 760px;
  font-size: clamp(2.5rem, 7vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.maintenance-panel__copy .lead {
  max-width: 680px;
  color: #c4d0df;
  font-size: clamp(1rem, 2vw, 1.28rem);
}

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

.maintenance-status-grid div {
  display: grid;
  gap: 7px;
  min-height: 98px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.075);
}

.maintenance-status-grid span {
  color: #93a4b9;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.maintenance-status-grid strong {
  align-self: end;
  color: #f7fbff;
  font-size: 1.05rem;
}

.maintenance-admin-hero {
  align-items: flex-start;
}

.maintenance-admin-card {
  display: grid;
  gap: 20px;
  border-color: rgba(82, 224, 196, 0.16);
}

.maintenance-toggle-field {
  min-height: 64px;
  align-items: center;
  border-color: rgba(82, 224, 196, 0.2);
  background: linear-gradient(135deg, rgba(82, 224, 196, 0.1), rgba(255, 255, 255, 0.035));
}

.maintenance-admin-preview {
  display: grid;
  gap: 10px;
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(255, 190, 92, 0.2);
  background:
    linear-gradient(135deg, rgba(255, 190, 92, 0.1), rgba(82, 224, 196, 0.06)),
    rgba(255, 255, 255, 0.035);
}

.maintenance-admin-preview h3 {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  letter-spacing: 0;
}

.maintenance-admin-preview p:not(.micro-label) {
  color: #bfccdc;
}

.role-editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.role-editor-card {
  min-width: 0;
}

.role-editor-card .section-heading {
  align-items: flex-start;
}

.role-permission-list {
  display: grid;
  gap: 16px;
}

.permission-group {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.035);
}

.permission-group h3 {
  font-size: 0.82rem;
  color: #e6eef8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

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

.permission-check {
  min-height: 48px;
  align-items: center;
  padding: 12px;
}

.permission-check span {
  font-size: 0.88rem;
}

.admin-list-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.admin-list-actions .button,
.admin-list-actions .inline-form {
  margin: 0;
}

.admin-list-note {
  color: #93a0b2;
  font-size: 0.82rem;
  white-space: nowrap;
}

.admin-news-list {
  display: grid;
  gap: 16px;
}

.admin-news-item {
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(17, 24, 34, 0.24);
}

.admin-news-item__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.04);
}

.admin-news-item__image--empty {
  display: grid;
  place-items: center;
  color: #93a0b2;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.admin-news-item__body {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.admin-news-item__body h3 {
  margin: 0;
  font-size: 1rem;
}

.admin-news-item__body .muted {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.admin-news-item__actions {
  grid-column: 1 / -1;
}

.admin-news-preview {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
}

.admin-news-preview img {
  width: min(520px, 100%);
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-news-preview figcaption {
  color: #93a0b2;
  font-size: 0.84rem;
}

.admin-profile-stage .profile-workspace {
  gap: 24px;
}

.profile-banner--showcase {
  min-height: 460px;
  padding: 34px;
  overflow: hidden;
}

.profile-banner__top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 34px;
}

.profile-banner__top .card-actions {
  justify-content: flex-end;
  margin-top: 0;
  min-width: 0;
}

.profile-hero__meta--showcase {
  gap: 20px;
}

.profile-stat-list {
  display: grid;
  gap: 12px;
}

.profile-card--specs,
.profile-card--summary,
.profile-workspace__media,
.profile-workspace__form {
  background: linear-gradient(180deg, rgba(12, 14, 19, 0.96), rgba(12, 14, 19, 0.9));
}

.spec-list--board div {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

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

.profile-workspace__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 24px;
  align-items: start;
  padding: 32px;
}

.profile-workspace__intro {
  display: grid;
  gap: 12px;
}

.profile-workspace__media .setup-gallery {
  margin-top: 10px;
}

.setup-shot-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.setup-shot-card .setup-shot {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0;
}

.setup-shot-card video.setup-shot {
  background: rgba(5, 8, 14, 0.92);
}

.setup-shot-card__missing {
  display: none;
  min-height: 180px;
  padding: 18px;
  place-items: center;
  text-align: center;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

.setup-shot-card--missing .setup-shot {
  display: none;
}

.setup-shot-card--missing .setup-shot-card__missing {
  display: grid;
}

.setup-shot-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px;
}

.setup-shot-card__meta span {
  font-size: 0.9rem;
  color: var(--muted);
}

.profile-completion-card,
.profile-theme-settings,
.profile-widget-settings,
.profile-link-settings {
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.profile-completion-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.profile-completion-card h3,
.profile-theme-settings h3,
.profile-widget-settings h3,
.profile-link-settings h4 {
  margin: 3px 0 0;
}

.profile-widget-settings__heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}

.profile-widget-grid {
  display: grid;
  grid-template-columns: minmax(200px, 0.75fr) minmax(260px, 1fr);
  gap: 14px;
  align-items: end;
}

.profile-widget-grid .profile-layout-picker,
.profile-widget-toggles {
  grid-column: span 1;
}

.profile-widget-toggles {
  display: grid;
  gap: 8px;
  padding: 6px;
  border-radius: 14px;
  background: rgba(4, 7, 12, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.profile-widget-toggles .checkbox-field {
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.035);
}

.profile-widget-settings--locked {
  opacity: 0.78;
}

.profile-link-settings {
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 1.1fr);
  align-items: start;
}

.profile-link-settings .checkbox-field {
  margin-top: -4px;
}

.profile-completion-ring {
  width: 74px;
  height: 74px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(12, 14, 19, 0.96) 58%, transparent 60%),
    conic-gradient(var(--accent) calc(var(--score) * 1%), rgba(255, 255, 255, 0.1) 0);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-completion-ring span {
  font-size: 0.95rem;
  font-weight: 800;
}

.profile-completion-bar {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.profile-completion-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
}

.profile-completion-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.profile-completion-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.profile-completion-list li span {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
}

.profile-completion-list li.is-complete {
  color: var(--text);
}

.profile-completion-list li.is-complete span {
  color: #06110f;
  background: var(--accent);
}

.profile-theme-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(280px, 1.2fr);
  gap: 16px;
  align-items: end;
}

.profile-color-field,
.profile-layout-picker {
  display: grid;
  gap: 8px;
}

.profile-color-field__control {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.profile-color-field input[type="color"] {
  width: 54px;
  height: 44px;
  padding: 3px;
  cursor: pointer;
}

.profile-layout-picker {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 6px;
  border-radius: 14px;
  background: rgba(4, 7, 12, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.profile-layout-picker label {
  position: relative;
  min-width: 0;
  min-height: 52px;
}

.profile-layout-picker input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.profile-layout-picker span {
  height: 100%;
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 0 14px;
  border-radius: 11px;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.9rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease, transform 140ms ease;
  white-space: nowrap;
}

.profile-layout-picker label:hover span {
  transform: translateY(-1px);
  color: var(--text);
  border-color: rgba(255, 190, 92, 0.28);
  background:
    linear-gradient(135deg, rgba(255, 190, 92, 0.14), rgba(255, 255, 255, 0.035));
}

.profile-layout-picker input:checked + span {
  color: #06110f;
  background: linear-gradient(135deg, #ffbe5c, #ffe591);
  border-color: rgba(255, 229, 145, 0.62);
  box-shadow: inset 0 -3px 0 rgba(134, 88, 18, 0.24), 0 10px 24px rgba(255, 190, 92, 0.12);
}

.profile-theme-settings--locked {
  opacity: 0.78;
}

 @media (max-width: 1180px) {
  .admin-studio,
  .admin-duo,
  .profile-grid,
  .profile-workspace__grid,
  .profile-workspace__hero,
  .admin-summary-grid,
  .admin-section-grid,
  .admin-page-grid,
  .news-grid,
  .home-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    min-height: auto;
  }

  .admin-sidebar__brand h2 {
    font-size: 1.5rem;
  }

  .admin-toolbar {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .admin-toolbar__actions {
    justify-content: flex-start;
  }

  .profile-theme-grid,
  .profile-widget-grid {
    grid-template-columns: 1fr;
  }

  .profile-widget-settings__heading {
    flex-direction: column;
  }

  .profile-link-settings {
    grid-template-columns: 1fr;
  }

  .page-profile .profile-showcase--spotlight .profile-hero {
    grid-template-columns: 1fr;
  }
}

 @media (max-width: 760px) {
  .admin-sidebar,
  .admin-card,
  .admin-news-item,
  .profile-card,
  .profile-workspace__media,
  .profile-workspace__form,
  .admin-page-header,
  .admin-overview-hero,
  .profile-workspace__hero,
  .profile-banner--showcase,
  .admin-summary-card,
  .admin-section-card {
    padding: 22px;
  }

  .profile-banner__top,
  .admin-overview-hero,
  .admin-nav-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-news-item {
    grid-template-columns: 1fr;
  }

  .admin-toolbar__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .profile-completion-card,
  .profile-theme-settings,
  .profile-widget-settings,
  .profile-link-settings {
    padding: 16px;
  }

  .profile-completion-card__top {
    align-items: flex-start;
  }

  .profile-completion-list,
  .profile-layout-picker {
    grid-template-columns: 1fr;
  }
}

.partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 12px 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(88, 170, 255, 0.34);
  background: linear-gradient(135deg, rgba(72, 125, 255, 0.24), rgba(88, 224, 255, 0.16));
  color: #eaf4ff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 26px rgba(34, 82, 184, 0.22);
}

.partner-badge__icon {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7db6ff, #4dd7ff);
  color: #071321;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.partner-badge__icon svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.partner-badge--plus {
  border-color: rgba(255, 196, 94, 0.38);
  background: linear-gradient(135deg, rgba(255, 197, 93, 0.22), rgba(84, 224, 194, 0.14));
  box-shadow: 0 10px 26px rgba(214, 142, 35, 0.18);
}

.partner-badge--plus .partner-badge__icon {
  background: linear-gradient(135deg, #ffd479, #55dec2);
}

.partner-badge--verified {
  border-color: rgba(87, 145, 255, 0.4);
  background: linear-gradient(135deg, rgba(87, 145, 255, 0.24), rgba(82, 224, 196, 0.12));
}

.partner-badge--verified .partner-badge__icon {
  background: linear-gradient(135deg, #7aa6ff, #55dec2);
}

.partner-badge--team {
  border-color: rgba(82, 224, 196, 0.28);
  background: linear-gradient(135deg, rgba(34, 124, 116, 0.28), rgba(82, 224, 196, 0.14));
  color: #e7fffb;
  box-shadow: 0 10px 26px rgba(22, 107, 100, 0.2);
}

.partner-badge__icon--team {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
  color: #d7fffb;
  font-size: 0.62rem;
  font-weight: 800;
}

.partner-badge__icon--team img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.social-link-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.profile-music-widget-card {
  grid-column: 1 / -1;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent !important;
  box-shadow: none !important;
}

.profile-music-widget-card__frame {
  display: block;
  width: 100%;
  height: 96px;
  border: 0;
  overflow: hidden;
  background: transparent;
}

.spotify-listening-card {
  grid-column: 1 / -1;
  position: relative;
  overflow: hidden;
  padding: 7px;
  border: 1px solid rgba(166, 86, 204, 0.24);
  border-radius: 7px;
  background:
    radial-gradient(circle at 6% 28%, rgba(255, 154, 190, 0.22), transparent 30%),
    radial-gradient(circle at 94% 10%, rgba(109, 73, 177, 0.32), transparent 36%),
    linear-gradient(100deg, rgba(48, 36, 58, 0.96), rgba(87, 54, 75, 0.9) 46%, rgba(53, 35, 64, 0.96));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

.spotify-listening-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent 34%, rgba(255, 255, 255, 0.05));
}

.spotify-listening-card__body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
}

.spotify-listening-card__art {
  width: 70px;
  aspect-ratio: 1;
  border-radius: 7px;
  object-fit: cover;
  background: rgba(30, 215, 96, 0.12);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.34);
}

.spotify-listening-card__art--empty {
  display: grid;
  place-items: center;
  color: #1ed760;
  font-size: 1.8rem;
  font-weight: 800;
}

.spotify-listening-card__copy {
  display: grid;
  gap: 2px;
  min-width: 0;
  color: #fff;
}

.spotify-listening-card__kicker {
  display: none;
}

.spotify-listening-card__kicker span:last-child {
  color: #1ed760;
}

.spotify-listening-card__copy strong,
.spotify-listening-card__copy p,
.spotify-listening-card__copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.spotify-listening-card__copy strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.12rem, 2vw, 1.34rem);
  line-height: 1.05;
  font-weight: 800;
}

.spotify-listening-card__copy p,
.spotify-listening-card__copy span {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.spotify-listening-card__copy p {
  font-size: 0.78rem;
  font-style: italic;
  line-height: 1.05;
  text-transform: uppercase;
}

.spotify-listening-card__copy > span,
.spotify-listening-card__body .button {
  display: none;
}

.spotify-listening-card__body .button {
  color: #fff;
}

.spotify-listening-card__timeline {
  display: grid;
  grid-template-columns: 32px minmax(130px, 1fr) 36px;
  gap: 7px;
  align-items: center;
  margin-top: 3px;
}

.spotify-listening-card__timeline > span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.7rem;
  font-weight: 850;
  line-height: 1;
}

.spotify-listening-card__progress {
  width: 100%;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.26);
}

.spotify-listening-card__progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.42);
}

@media (max-width: 760px) {
  .spotify-listening-card__body {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .spotify-listening-card__art {
    width: 64px;
  }

  .spotify-listening-card__body .button {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .spotify-listening-card__timeline {
    grid-template-columns: 30px minmax(70px, 1fr) 30px;
  }
}

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

.plus-section.plus-section--full {
  width: 100%;
  max-width: none;
}

.plus-section__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 24px;
  align-items: start;
}

.plus-section__copy {
  display: grid;
  gap: 12px;
}

.plus-pricing-card,
.plus-perk-card,
.plus-faq div,
.live-embed-card,
.live-chat-card {
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(12, 14, 19, 0.96), rgba(12, 14, 19, 0.9));
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.18);
}

.plus-pricing-card {
  display: grid;
  gap: 14px;
  padding: 26px;
}

.plus-pricing-card__eyebrow {
  color: var(--accent);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.plus-pricing-card strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
}

.plus-actions {
  display: grid;
  gap: 12px;
  align-items: start;
}

.plus-actions .button,
.plus-actions .inline-form,
.plus-actions .inline-form button {
  width: 100%;
}

.plus-perk-grid,
.plus-faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.plus-perk-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 24px;
  align-items: start;
}

.plus-perk-card__index {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(82, 224, 196, 0.12), rgba(82, 224, 196, 0.08));
  border: 1px solid rgba(82, 224, 196, 0.1);
  color: #f2fffc;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.plus-perk-card h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
}

.plus-perk-card p,
.plus-faq p {
  color: var(--muted);
  line-height: 1.65;
}

.plus-faq div {
  display: grid;
  gap: 8px;
  padding: 24px;
}

.plus-faq span {
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.live-experience {
  display: grid;
  gap: 18px;
  padding: 28px;
}

.live-experience__details {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
}

.live-experience__details h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.25;
}

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

.live-meta-card {
  display: grid;
  gap: 8px;
  min-height: 84px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.025);
}

.live-meta-card span {
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.live-meta-card strong {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.35;
}

.live-experience__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 20px;
}

.page-profile .profile-music-widget-card {
  border: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

.live-experience__grid--stream-only {
  grid-template-columns: minmax(0, 1fr);
}

.live-embed-card,
.live-chat-card {
  overflow: hidden;
}

.live-chat-card {
  min-height: 620px;
}

.live-embed-card iframe,
.live-chat-card iframe {
  display: block;
  width: 100%;
  border: 0;
  background: #0b111d;
}

.live-embed-card iframe {
  aspect-ratio: 16 / 9;
}

.live-chat-card iframe {
  min-height: 100%;
  height: 100%;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  color: var(--text);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
  min-width: 0;
  max-width: 100%;
  white-space: nowrap;
}

.social-link:hover {
  transform: translateY(-2px);
  border-color: rgba(82, 224, 196, 0.26);
  background: rgba(82, 224, 196, 0.08);
}

.social-link__icon {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #f5fbff;
}

.social-link__icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.social-link__label {
  font-weight: 700;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.social-link__external {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--muted);
}

.social-link__external svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.social-link--twitch .social-link__icon {
  background: rgba(145, 70, 255, 0.24);
}

.social-link--kick .social-link__icon {
  background: rgba(82, 255, 168, 0.2);
}

.social-link--tiktok .social-link__icon {
  background: rgba(255, 0, 128, 0.16);
}

.social-link--youtube .social-link__icon {
  background: rgba(255, 70, 70, 0.18);
}

.social-link--x .social-link__icon {
  background: rgba(255, 255, 255, 0.12);
}

.social-link--instagram .social-link__icon {
  background: linear-gradient(135deg, rgba(255, 196, 87, 0.24), rgba(255, 81, 124, 0.22), rgba(129, 66, 255, 0.22));
}

.social-link--discord .social-link__icon {
  background: rgba(88, 101, 242, 0.22);
}

.social-link--donate .social-link__icon {
  background: rgba(255, 92, 122, 0.22);
}

.social-link--merch .social-link__icon {
  background: rgba(255, 184, 76, 0.2);
}

.social-link--sponsor .social-link__icon {
  background: rgba(87, 145, 255, 0.2);
}

.social-link--team .social-link__icon {
  background: rgba(82, 224, 196, 0.18);
}

body.page-profile .site-shell {
  width: 100%;
  padding-top: var(--topbar-height);
}

body.page-profile .site-footer {
  margin-top: 0;
}

.page-profile .profile-showcase {
  gap: 28px;
  padding: 0 0 56px;
}

.page-profile .profile-showcase > :not(.profile-banner--showcase) {
  width: min(1440px, calc(100% - 44px));
  margin-inline: auto;
}

.page-profile .profile-banner--showcase {
  min-height: clamp(460px, 56vh, 640px);
  width: 100%;
  padding: clamp(190px, 29vh, 300px) max(28px, calc((100dvw - 980px) / 2)) clamp(54px, 8vh, 76px);
  border-radius: 0;
  box-shadow: none;
  background-size: cover;
  background-position: center;
  display: grid;
  align-content: end;
  position: relative;
  overflow: hidden;
  margin-top: 0;
}

.page-profile .profile-banner--showcase::after {
  background:
    linear-gradient(180deg, rgba(4, 7, 13, 0.08) 0%, rgba(4, 7, 13, 0.22) 42%, rgba(4, 7, 13, 0.96) 100%),
    linear-gradient(90deg, rgba(4, 7, 13, 0.82) 0%, rgba(4, 7, 13, 0.34) 48%, rgba(4, 7, 13, 0.72) 100%);
}

.page-profile .profile-back-link {
  position: absolute;
  left: max(28px, calc((100dvw - 980px) / 2));
  top: clamp(148px, 24vh, 252px);
  z-index: 1;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease;
}

.page-profile .profile-back-link:hover {
  color: var(--text);
}

.page-profile .profile-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: clamp(28px, 6vw, 96px);
  align-items: end;
  width: 100%;
  margin: 0;
  min-width: 0;
}

.page-profile .profile-hero__content {
  display: grid;
  gap: 18px;
  min-width: 0;
  max-width: 680px;
}

.page-profile .badge-row--hero {
  flex-wrap: nowrap;
  gap: 8px;
  align-items: center;
  min-width: 0;
  max-width: 100%;
}

.page-profile .profile-hero__identity {
  display: flex;
  align-items: end;
  gap: 20px;
  min-width: 0;
}

.page-profile .profile-hero__identity > div {
  display: grid;
  gap: 5px;
  min-width: 0;
  width: max-content;
  max-width: min(100%, 82vw);
}

.page-profile .profile-hero__title-row {
  display: grid;
  justify-items: start;
  gap: 2px;
  min-width: 0;
  max-width: 100%;
}

.page-profile .profile-hero__title-row .badge-row {
  order: -1;
  gap: 6px;
}

.page-profile .profile-hero__title-row .tag,
.page-profile .profile-hero__title-row .partner-badge {
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-profile .badge-row--hero .tag,
.page-profile .badge-row--hero .partner-badge {
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex: 0 0 auto;
}

.page-profile .profile-hero h1 {
  min-width: max-content;
  max-width: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 3.4vw, 3.45rem);
  line-height: 0.98;
  letter-spacing: 0;
  margin: 0;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
  text-wrap: nowrap;
  text-shadow: 0 14px 36px rgba(0, 0, 0, 0.42);
}

.page-profile .profile-hero__handle {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.page-profile .profile-hero .lead {
  margin: 0;
  font-size: 0.98rem;
  max-width: 66ch;
  line-height: 1.7;
}

.page-profile .profile-hero__details {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-profile .avatar--hero {
  flex: 0 0 auto;
  width: 74px;
  height: 74px;
  border-radius: 14px;
  border-width: 2px;
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.3);
}

.page-profile .profile-hero__meta {
  padding: 0;
  justify-items: end;
  align-content: end;
  justify-self: end;
  width: max-content;
  max-width: min(100%, 420px);
  background: none;
  border: 0;
  box-shadow: none;
}

.page-profile .profile-hero__meta .card-actions {
  justify-content: flex-end;
  margin-top: 0;
  gap: 8px;
  flex-wrap: wrap;
}

.page-profile .profile-now-playing {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 22px 20px;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 56px;
  margin: 0;
  padding: 7px 9px 7px 7px;
  border: 1px solid color-mix(in srgb, var(--accent) 34%, rgba(255, 255, 255, 0.12));
  border-radius: 7px;
  color: #f7fbff;
  text-decoration: none;
  background:
    radial-gradient(circle at 0% 18%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 44%),
    linear-gradient(110deg, rgba(40, 26, 17, 0.96), rgba(51, 30, 18, 0.94) 48%, rgba(29, 18, 12, 0.98));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.page-profile .profile-now-playing__art {
  display: grid;
  place-items: center;
  width: 42px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
}

.page-profile .profile-now-playing__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-profile .profile-now-playing__art-fallback {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent);
}

.page-profile .profile-now-playing__copy {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.page-profile .profile-now-playing__title,
.page-profile .profile-now-playing__artist {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-profile .profile-now-playing__title {
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.15;
}

.page-profile .profile-now-playing__artist {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(235, 241, 248, 0.74);
}

.page-profile .profile-now-playing__bars {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: rgba(255, 255, 255, 0.86);
}

.page-profile .profile-now-playing__bars span {
  display: block;
  width: 3px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
}

.page-profile .profile-now-playing__bars span:nth-child(2) {
  height: 11px;
}

.page-profile .profile-now-playing__dots {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  letter-spacing: 1px;
}

.page-profile .profile-hero__meta .platform-stack {
  display: none;
}

.page-profile .profile-hero__meta .platform-note {
  display: none;
}

.page-profile .profile-hero__meta .social-link {
  min-height: 34px;
  padding: 0 10px;
  border-radius: 8px;
  gap: 7px;
  background: rgba(8, 12, 20, 0.78);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.page-profile .profile-hero__meta .social-link__icon {
  display: none;
}

.page-profile .profile-hero__meta .social-link__label {
  font-size: 0.78rem;
}

.page-profile .profile-hero__meta .button {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  box-shadow: none;
}

.page-profile .profile-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  align-items: start;
}

.page-profile .profile-stat-deck {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.page-profile .profile-stat-card,
.page-profile .profile-sidebar-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--accent) 13%, transparent), transparent 34%),
    linear-gradient(180deg, rgba(18, 23, 33, 0.92), rgba(10, 13, 20, 0.88));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.page-profile .profile-stat-card {
  display: grid;
  gap: 7px;
  min-height: 116px;
  align-content: center;
  padding: 18px;
  border-radius: 12px;
}

.page-profile .profile-stat-card span,
.page-profile .profile-stat-card small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.page-profile .profile-stat-card span {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-profile .profile-stat-card strong {
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1;
}

.page-profile .profile-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 320px);
  gap: 24px;
  align-items: start;
}

.page-profile .profile-main-column {
  display: grid;
  gap: 24px;
  min-width: 0;
}

.page-profile .profile-side-rail {
  position: sticky;
  top: calc(var(--topbar-height) + 20px);
  display: grid;
  gap: 14px;
  min-width: 0;
}

.page-profile .profile-sidebar-card {
  display: grid;
  gap: 13px;
  padding: 18px;
  border-radius: 12px;
}

.page-profile .profile-sidebar-card h3 {
  font-size: 1.02rem;
  line-height: 1.25;
}

.page-profile .profile-share-card__label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.page-profile .profile-share-card__label svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.page-profile .profile-share-card__url {
  appearance: none;
  border: 0;
  font: inherit;
  cursor: pointer;
}

.page-profile .profile-share-card__url {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 2px solid var(--accent);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.3;
  text-align: left;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 24%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.page-profile .profile-share-card__hint {
  justify-self: start;
  min-height: 0;
  margin: 0;
  padding: 0;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 900;
  text-align: left;
}

.page-profile .profile-share-card__url:hover,
.page-profile .profile-share-card__url:focus-visible {
  color: var(--text);
}

.page-profile .profile-jump-links,
.page-profile .profile-sidebar-links {
  display: grid;
  gap: 8px;
}

.page-profile .profile-jump-links a {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease, transform 150ms ease;
}

.page-profile .profile-jump-links a:hover,
.page-profile .profile-jump-links a:focus-visible {
  transform: translateX(2px);
  border-color: rgba(82, 224, 196, 0.32);
  background: rgba(82, 224, 196, 0.08);
  color: var(--text);
}

.page-profile .profile-sidebar-links .social-link {
  min-height: 40px;
  padding: 0 12px;
  border-radius: 8px;
}

.page-profile .profile-sidebar-links .social-link__icon {
  display: none;
}

.page-profile .profile-sidebar-card--plus {
  border-color: rgba(255, 190, 92, 0.22);
  background:
    radial-gradient(circle at top right, rgba(255, 190, 92, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(28, 23, 14, 0.92), rgba(12, 14, 19, 0.86));
}

.page-profile :where(
  .profile-card,
  .setup-showcase,
  .profile-clips,
  .profile-reviews,
  .profile-card--history,
  .live-experience,
  .profile-music-widget-card
) {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 30%),
    linear-gradient(180deg, rgba(14, 18, 27, 0.96), rgba(8, 11, 18, 0.92));
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.page-profile :where(
  .profile-card,
  .setup-showcase,
  .profile-clips,
  .profile-reviews,
  .profile-card--history,
  .live-experience
) {
  padding: clamp(20px, 3vw, 28px);
}

.page-profile :where(
  .profile-stat-card,
  .profile-sidebar-card,
  .profile-card,
  .setup-showcase,
  .profile-clips,
  .profile-reviews,
  .profile-card--history,
  .live-experience,
  .profile-music-widget-card,
  .spec-list--board div,
  .pc-spec-grid li,
  .live-experience__details,
  .live-meta-card,
  .setup-history-card,
  .profile-review-card,
  .twitch-clip-card,
  .setup-showcase-card
) {
  border-radius: 12px;
}

.page-profile :where(.spec-list--board div, .pc-spec-grid li, .live-experience__details, .live-meta-card, .setup-history-card, .profile-review-card, .twitch-clip-card) {
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.032));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.page-profile :where(.spec-list--board div, .pc-spec-grid li, .setup-history-card, .profile-review-card, .twitch-clip-card) {
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.page-profile :where(.spec-list--board div, .pc-spec-grid li, .setup-history-card, .profile-review-card, .twitch-clip-card):hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 28%, rgba(255, 255, 255, 0.1));
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.072), rgba(255, 255, 255, 0.04));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.page-profile .profile-card--specs {
  display: grid;
  gap: 20px;
}

.page-profile .section-heading {
  margin-bottom: 2px;
}

.page-profile .section-heading h2 {
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.page-profile .spec-list--board {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
}

.page-profile .spec-list--board div {
  padding: 16px;
}

.page-profile .spec-list dt,
.page-profile .pc-spec-grid span,
.page-profile .live-meta-card span,
.page-profile .profile-sidebar-card .micro-label,
.page-profile .profile-stat-card span {
  color: #9fb1c8;
}

.page-profile .equipment-buy-link {
  border-color: color-mix(in srgb, var(--accent) 34%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
}

.page-profile .live-experience__grid {
  gap: 14px;
}

.page-profile .live-embed-card,
.page-profile .live-chat-card {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  background: rgba(7, 10, 16, 0.72);
  box-shadow: none;
}

.page-profile .setup-showcase-card {
  border-color: rgba(255, 255, 255, 0.09);
  background: rgba(7, 10, 16, 0.72);
  box-shadow: none;
}

.page-profile .setup-showcase-card__hint {
  border-radius: 8px;
}

.page-profile .twitch-clip-card:hover {
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.page-profile {
  --lovable-background: oklch(16% 0.018 250);
  --lovable-card: oklch(20% 0.02 250);
  --lovable-surface: oklch(20% 0.02 250);
  --lovable-surface-elevated: oklch(23.5% 0.022 250);
  --lovable-border: oklch(28% 0.018 250);
  --lovable-primary: oklch(78% 0.14 175);
  --lovable-muted-foreground: oklch(62% 0.018 250);
  --lovable-card-shadow: 0 1px 0 0 oklch(100% 0 0 / 0.04) inset, 0 24px 48px -24px oklch(0% 0 0 / 0.5);
}

.page-profile .profile-stat-deck {
  gap: 1px;
  overflow: hidden;
  padding: 0;
  border: 1px solid color-mix(in oklab, var(--lovable-border) 60%, transparent);
  border-radius: 16px;
  background: color-mix(in oklab, var(--lovable-border) 60%, transparent);
  box-shadow: none;
}

.page-profile .profile-stat-card {
  min-height: 124px;
  padding: 20px;
  border: 0;
  border-radius: 0;
  background: var(--lovable-card);
  box-shadow: none;
}

.page-profile .profile-stat-card span {
  color: var(--lovable-muted-foreground);
  font-size: 0.625rem;
  letter-spacing: 0.18em;
}

.page-profile .profile-stat-card strong {
  margin-top: 2px;
  font-size: 1.875rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.page-profile .profile-stat-card small {
  color: var(--lovable-muted-foreground);
  font-size: 0.75rem;
  font-weight: 500;
}

.page-profile :where(
  .profile-card,
  .setup-showcase,
  .profile-clips,
  .profile-reviews,
  .profile-card--history,
  .live-experience,
  .profile-sidebar-card,
  .profile-music-widget-card
) {
  border: 1px solid color-mix(in oklab, var(--lovable-border) 60%, transparent);
  border-radius: 24px;
  background: var(--lovable-card);
  box-shadow: none;
}

.page-profile :where(
  .profile-card,
  .setup-showcase,
  .profile-clips,
  .profile-reviews,
  .profile-card--history,
  .live-experience
) {
  padding: clamp(24px, 3vw, 32px);
}

.page-profile .profile-sidebar-card {
  padding: 20px;
  border-radius: 16px;
}

.page-profile .profile-sidebar-card--plus {
  border-color: color-mix(in oklab, var(--lovable-primary) 30%, transparent);
  background: linear-gradient(135deg, color-mix(in oklab, var(--lovable-primary) 10%, transparent), transparent), var(--lovable-card);
}

.page-profile .spec-list--board {
  gap: 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.page-profile .profile-card--specs > .section-heading + .spec-list--board {
  padding: 0;
}

.page-profile .spec-list__item--pc {
  padding: 24px;
  border: 1px solid color-mix(in oklab, var(--lovable-border) 60%, transparent);
  border-radius: 16px;
  background: var(--lovable-card);
}

.page-profile .pc-spec-grid {
  gap: 12px;
}

.page-profile .pc-spec-grid li,
.page-profile .spec-list--board div:not(.spec-list__item--pc),
.page-profile .setup-history-card,
.page-profile .profile-review-card,
.page-profile .twitch-clip-card,
.page-profile .live-meta-card {
  border: 1px solid color-mix(in oklab, var(--lovable-border) 60%, transparent);
  border-radius: 16px;
  background: var(--lovable-card);
  box-shadow: none;
}

.page-profile .pc-spec-grid li {
  min-height: 88px;
  padding: 16px;
  gap: 12px 16px;
}

.page-profile .pc-spec-grid li:has(.equipment-product-image-link),
.page-profile .pc-spec-grid li:has(.equipment-icon-tile),
.page-profile .spec-list dd:has(> .equipment-product-image-link),
.page-profile .spec-list dd:has(> .equipment-icon-tile) {
  grid-template-columns: 56px minmax(0, 1fr);
}

.page-profile .pc-spec-grid li:has(.equipment-product-image-link),
.page-profile .pc-spec-grid li:has(.equipment-icon-tile),
.page-profile .spec-list dd:has(> .equipment-product-image-link),
.page-profile .spec-list dd:has(> .equipment-icon-tile) {
  display: grid;
  gap: 6px 16px;
  align-items: center;
}

.page-profile .pc-spec-grid li:has(.equipment-product-image-link) .equipment-product-image-link,
.page-profile .spec-list dd:has(> .equipment-product-image-link) > .equipment-product-image-link {
  grid-row: 1 / span 4;
}

.page-profile .equipment-icon-tile {
  grid-row: 1 / span 4;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid color-mix(in oklab, var(--lovable-border) 60%, transparent);
  border-radius: 16px;
  background: linear-gradient(135deg, var(--lovable-surface-elevated), var(--lovable-surface));
  color: var(--lovable-muted-foreground);
}

.page-profile .equipment-icon-tile svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.page-profile .pc-spec-grid li:hover .equipment-icon-tile,
.page-profile .spec-list__item:hover .equipment-icon-tile {
  color: var(--lovable-primary);
}

.page-profile .equipment-value {
  display: block;
  font-weight: 600;
}

.page-profile .equipment-product-image,
.page-profile .pc-spec-grid .equipment-product-image {
  width: 56px;
  padding: 6px;
  border-radius: 12px;
  border-color: color-mix(in oklab, var(--lovable-border) 60%, transparent);
  background: linear-gradient(135deg, var(--lovable-surface-elevated), var(--lovable-surface));
}

html:not([data-site-theme="light"]) .page-profile .equipment-product-image {
  background: transparent;
  mix-blend-mode: normal;
  filter: none;
}

html:not([data-site-theme="light"]) .page-profile .equipment-product-image-link {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid color-mix(in oklab, var(--lovable-border) 60%, transparent);
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 45%, color-mix(in oklab, var(--lovable-primary) 10%, transparent), transparent 58%),
    linear-gradient(135deg, var(--lovable-surface-elevated), var(--lovable-surface));
}

html:not([data-site-theme="light"]) .page-profile .equipment-product-image-link .equipment-product-image {
  position: relative;
  z-index: 1;
}

html:not([data-site-theme="light"]) .page-profile .equipment-product-image-link::before {
  display: none;
}

.page-profile .pc-spec-grid span,
.page-profile .spec-list dt {
  color: var(--lovable-muted-foreground);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
}

.page-profile .pc-spec-grid strong,
.page-profile .spec-list dd {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
}

.page-profile .equipment-buy-link,
.page-profile .pc-spec-grid .equipment-buy-link {
  min-height: 0;
  margin-top: 6px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--lovable-primary);
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: none;
}

.page-profile :where(.spec-list--board div, .pc-spec-grid li, .setup-history-card, .profile-review-card, .twitch-clip-card):hover {
  transform: none;
  border-color: var(--lovable-border);
  background: var(--lovable-card);
  box-shadow: none;
}

.page-profile .profile-spec-subheading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 40px 0 16px;
  padding: 0;
  border: 0;
}

.page-profile .profile-spec-subheading::before,
.page-profile .profile-spec-subheading::after {
  content: "";
  height: 1px;
  flex: 1;
  background: color-mix(in oklab, var(--lovable-border) 60%, transparent);
}

.page-profile .profile-spec-subheading h3 {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lovable-muted-foreground);
}

.page-profile .profile-spec-subheading .micro-label {
  display: none;
}

.page-profile .profile-jump-links {
  gap: 4px;
}

.page-profile .profile-jump-links a {
  min-height: 36px;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--lovable-muted-foreground);
  font-size: 0.875rem;
  font-weight: 500;
}

.page-profile .profile-jump-links a:first-child {
  background: color-mix(in oklab, var(--lovable-primary) 10%, transparent);
  color: var(--lovable-primary);
}

.page-profile .profile-jump-links a:hover,
.page-profile .profile-jump-links a:focus-visible {
  transform: none;
  border-color: transparent;
  background: color-mix(in oklab, var(--accent) 40%, transparent);
}

.page-profile .profile-sidebar-links {
  gap: 8px;
}

.page-profile .profile-sidebar-links .social-link {
  justify-content: flex-start;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid color-mix(in oklab, var(--lovable-border) 60%, transparent);
  border-radius: 12px;
  background: color-mix(in oklab, var(--lovable-surface) 40%, transparent);
  font-size: 0.875rem;
  font-weight: 500;
}

.page-profile .profile-sidebar-links .social-link__icon {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 6px;
  background: transparent;
  color: var(--lovable-muted-foreground);
}

.page-profile .profile-sidebar-links .social-link__icon svg {
  width: 16px;
  height: 16px;
}

.page-profile .profile-sidebar-links .social-link--twitch .social-link__icon {
  color: #9146ff;
}

.page-profile .profile-sidebar-links .social-link--tiktok .social-link__icon {
  color: #f5f8fc;
}

.page-profile .profile-sidebar-links .social-link--discord .social-link__icon {
  color: #5865f2;
}

.page-profile .profile-sidebar-links .social-link__label {
  flex: 1;
}

.page-profile .live-experience__details {
  border-radius: 16px;
  border-color: color-mix(in oklab, var(--lovable-border) 60%, transparent);
  background: color-mix(in oklab, var(--lovable-surface) 40%, transparent);
}

.page-profile .live-embed-card,
.page-profile .live-chat-card,
.page-profile .setup-showcase-card {
  border-color: color-mix(in oklab, var(--lovable-border) 60%, transparent);
  border-radius: 24px;
  background: var(--lovable-card);
}

.page-profile .spec-group-card {
  display: grid;
  gap: 24px;
  padding: clamp(20px, 3vw, 28px);
}

.page-profile .spec-group-card__heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin: 0;
}

.page-profile .spec-group-card__heading .equipment-icon-tile {
  grid-row: auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: var(--lovable-primary);
  background: color-mix(in oklab, var(--lovable-primary) 15%, transparent);
}

.page-profile .spec-group-card__heading .equipment-icon-tile svg {
  width: 20px;
  height: 20px;
}

.page-profile .spec-group-card__heading span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.page-profile .spec-group-card__heading small {
  color: var(--lovable-muted-foreground);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-profile .spec-group-card__heading strong {
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 700;
}

.page-profile .spec-group-card__heading em {
  color: var(--lovable-muted-foreground);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

.page-profile .spec-group-card > dd {
  display: grid;
  gap: 12px;
  margin: 0;
}

.page-profile .profile-card {
  min-height: 0;
}

.page-profile .profile-card--specs {
  grid-column: 1 / -1;
  padding: 34px;
}

.page-profile .profile-card--summary {
  padding: 34px;
}

.page-profile .spec-list--board {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.page-profile .spec-list--board div {
  min-height: 96px;
  align-content: start;
}

.page-profile .spec-list--board .spec-list__item--compact {
  min-height: 72px;
  height: fit-content;
  align-self: start;
}

.page-profile .profile-summary-copy {
  align-content: start;
}

.page-profile .profile-showcase--compact .profile-banner--showcase {
  min-height: clamp(360px, 48vh, 520px);
  padding-top: clamp(130px, 21vh, 210px);
}

.page-profile .profile-showcase--compact .profile-hero {
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

.page-profile .profile-showcase--compact .profile-hero__meta {
  justify-self: start;
  width: 100%;
  max-width: 680px;
}

.page-profile .profile-showcase--compact .profile-hero__meta .card-actions {
  justify-content: flex-start;
}

.page-profile .profile-showcase--spotlight .profile-banner--showcase {
  min-height: clamp(560px, 68vh, 760px);
  padding-inline: max(28px, calc((100dvw - 1120px) / 2));
}

.page-profile .profile-showcase--spotlight .profile-hero {
  grid-template-columns: minmax(0, 0.72fr) minmax(300px, 0.28fr);
}

.page-profile .profile-showcase--spotlight .profile-hero__content {
  max-width: 820px;
}

.page-profile .profile-showcase--spotlight .profile-hero h1 {
  font-size: clamp(2.8rem, 5.2vw, 5.8rem);
}

.page-profile .profile-showcase--spotlight .avatar--hero {
  width: 92px;
  height: 92px;
}

.page-profile .social-link-grid {
  gap: 14px;
  min-width: 0;
}

.page-profile .social-link {
  min-height: 50px;
  padding: 0 18px;
  border-radius: 18px;
}

.page-profile .profile-banner__top .social-link {
  min-height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  background: rgba(8, 12, 20, 0.72);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.page-profile .profile-banner__top .social-link__icon {
  display: none;
}

.page-profile .setup-gallery {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.page-profile .setup-gallery--showcase {
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 18px;
}

.page-profile .setup-gallery--single {
  grid-template-columns: 1fr;
}

.page-profile .setup-shot {
  aspect-ratio: 16 / 10;
  border-radius: 26px;
}

.page-profile .setup-showcase-card .setup-shot {
  height: 100%;
  aspect-ratio: auto;
  border-radius: 0;
}

.profile-reviews,
.profile-card--history {
  display: grid;
  gap: 18px;
}

.profile-review-grid,
.setup-history-list {
  display: grid;
  gap: 12px;
}

.setup-history-list {
  gap: 18px;
}

.setup-history-timeline {
  --history-line: rgba(82, 224, 196, 0.55);
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
  gap: 0;
  margin: 4px 0 0;
  padding: 0 8px 18px;
  list-style: none;
}

.setup-history-timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 5px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(82, 224, 196, 0.88), rgba(82, 224, 196, 0.22));
}

.setup-history-timeline li {
  position: relative;
  min-width: 0;
  padding-bottom: 20px;
  color: var(--muted);
  font-size: 0.78rem;
}

.setup-history-timeline button {
  appearance: none;
  display: grid;
  gap: 2px;
  width: fit-content;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.setup-history-timeline button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 10px;
  height: 10px;
  border: 2px solid rgba(82, 224, 196, 0.34);
  border-radius: 999px;
  background: #101a24;
  box-shadow: 0 0 0 4px rgba(82, 224, 196, 0.05);
}

.setup-history-timeline button:hover span,
.setup-history-timeline button:focus-visible span,
.setup-history-timeline button[aria-pressed="true"] span {
  color: var(--accent);
}

.setup-history-timeline button:focus-visible {
  outline: 2px solid rgba(82, 224, 196, 0.72);
  outline-offset: 8px;
}

.setup-history-timeline button[aria-pressed="true"]::after {
  width: 18px;
  height: 18px;
  bottom: -4px;
  border-color: rgba(82, 224, 196, 0.96);
  background: var(--accent);
  box-shadow: 0 0 18px rgba(82, 224, 196, 0.42);
}

.setup-history-timeline span {
  color: var(--text);
  font-weight: 800;
}

.setup-history-timeline small {
  color: var(--muted);
  font-size: 0.68rem;
}

.setup-history-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}

.setup-history-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 178px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(82, 224, 196, 0.16);
  background:
    linear-gradient(180deg, rgba(82, 224, 196, 0.045), rgba(255, 255, 255, 0.02)),
    rgba(7, 13, 22, 0.72);
}

.setup-history-card--current {
  border-color: rgba(82, 224, 196, 0.32);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
}

.setup-history-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.setup-history-card__icon {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(82, 224, 196, 0.36);
  color: var(--accent);
  background: rgba(82, 224, 196, 0.08);
}

.setup-history-card__icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.setup-history-card__status {
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--accent);
  background: rgba(82, 224, 196, 0.1);
  font-size: 0.72rem;
  font-weight: 800;
}

.setup-history-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
}

.setup-history-card p {
  margin: 0;
  color: var(--text);
  font-weight: 800;
  line-height: 1.35;
}

.setup-history-card small {
  align-self: end;
  color: var(--muted);
  line-height: 1.45;
}

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

.profile-review-card,
.setup-history-row {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.035);
}

.profile-review-card div,
.setup-history-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.profile-review-card span {
  color: #ffd479;
  letter-spacing: 0.06em;
}

.profile-review-card small,
.setup-history-row small {
  color: var(--muted);
}

.setup-history-row > span {
  display: inline-grid;
  place-items: center;
  min-width: 92px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(82, 224, 196, 0.12);
  color: #a7fff0;
  font-size: 0.78rem;
  font-weight: 800;
}

.setup-history-row > div {
  display: grid;
  gap: 4px;
  min-width: 0;
  text-align: right;
}

.profile-review-form {
  display: grid;
  grid-template-columns: minmax(160px, 0.28fr) minmax(0, 1fr);
  gap: 14px;
  padding-top: 4px;
}

.profile-visibility-settings {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(82, 224, 196, 0.14);
  background: rgba(82, 224, 196, 0.06);
}

.profile-visibility-settings h3 {
  margin: 4px 0 6px;
  font-size: 1.08rem;
}

.profile-visibility-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

body.page-dashboard {
  --studio-panel: rgba(13, 17, 24, 0.9);
  --studio-panel-strong: rgba(19, 24, 33, 0.96);
  --studio-field: rgba(255, 255, 255, 0.045);
  --studio-field-hover: rgba(255, 255, 255, 0.07);
}

.dashboard-shell.admin-studio {
  gap: 18px;
  padding: 0;
}

.admin-sidebar,
.admin-toolbar,
.admin-card,
.profile-card,
.profile-workspace__media,
.profile-workspace__form,
.admin-page-header,
.admin-overview-hero,
.admin-summary-card,
.admin-section-card {
  border-color: rgba(255, 255, 255, 0.075);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
}

.admin-sidebar {
  top: 82px;
  gap: 16px;
  padding: 20px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(28, 34, 43, 0.98), rgba(16, 21, 30, 0.96));
}

.admin-sidebar__brand-mark {
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #4f71ff);
  color: #071016;
  box-shadow: 0 14px 28px rgba(82, 224, 196, 0.22);
}

.admin-sidebar__brand h2 {
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.admin-sidebar__intro {
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-sidebar__intro h3 {
  font-size: 1.08rem;
}

.admin-sidebar__nav {
  gap: 8px;
}

.admin-sidebar__nav a {
  gap: 12px;
  padding: 11px 12px;
  border-radius: 14px;
  background: transparent;
}

.admin-sidebar__nav a:hover {
  transform: none;
  border-color: rgba(82, 224, 196, 0.22);
  background: rgba(82, 224, 196, 0.07);
}

.admin-sidebar__nav a.is-active {
  border-color: rgba(82, 224, 196, 0.34);
  background: linear-gradient(135deg, rgba(82, 224, 196, 0.14), rgba(79, 113, 255, 0.1));
  box-shadow: inset 3px 0 0 rgba(82, 224, 196, 0.78);
}

.admin-sidebar__nav-icon {
  width: 34px;
  height: 34px;
  border-radius: 11px;
}

.admin-sidebar__stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.admin-sidebar__meta div,
.admin-sidebar__stats div,
.profile-stat-list div {
  padding: 11px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.035);
}

.admin-sidebar__promo {
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(82, 224, 196, 0.16), rgba(255, 190, 92, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.075);
  box-shadow: none;
}

.admin-sidebar__promo,
.admin-sidebar__promo .micro-label,
.admin-sidebar__promo .muted {
  color: var(--text);
}

.admin-toolbar {
  grid-template-columns: minmax(180px, 0.44fr) minmax(260px, 1fr) auto;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, var(--studio-panel-strong), rgba(13, 17, 24, 0.9));
}

.admin-toolbar__copy h1 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  letter-spacing: -0.02em;
}

.admin-toolbar__search {
  min-height: 46px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.04);
}

.admin-toolbar__chip {
  padding: 8px 12px;
  border-radius: 13px;
  background: rgba(82, 224, 196, 0.075);
}

.admin-page-header,
.admin-overview-hero,
.profile-workspace__hero {
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(82, 224, 196, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(31, 38, 48, 0.98), rgba(17, 22, 31, 0.96));
}

.admin-page-header h1,
.admin-overview-hero h1,
.profile-workspace__hero h1 {
  font-size: clamp(2rem, 3.6vw, 3.35rem);
  letter-spacing: -0.035em;
}

.admin-summary-grid {
  gap: 12px;
}

.admin-summary-card {
  gap: 10px;
  padding: 20px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(24, 30, 40, 0.96), rgba(15, 20, 28, 0.94));
}

.admin-summary-card strong {
  font-size: 1.75rem;
}

.admin-section-card,
.admin-card {
  border-radius: 18px;
  background: linear-gradient(180deg, var(--studio-panel), rgba(12, 15, 22, 0.88));
}

.admin-alert-item,
.admin-analytics-row,
.admin-nav-row {
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.035);
}

.profile-workspace__grid {
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
  align-items: start;
}

.profile-workspace__media,
.profile-workspace__form {
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(18, 23, 32, 0.96), rgba(10, 13, 20, 0.92));
}

.profile-workspace__media {
  position: sticky;
  top: 82px;
}

.profile-workspace__form .section-heading {
  align-items: flex-start;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.profile-workspace__form .form-grid {
  gap: 14px;
}

.profile-form-section {
  display: grid;
  gap: 4px;
  margin-top: 10px;
  padding: 18px 0 4px;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.075);
  background: transparent;
}

.profile-form-section:first-of-type {
  margin-top: 0;
  padding-top: 4px;
  border-top: 0;
}

.profile-form-section h3 {
  font-size: 1.18rem;
  letter-spacing: -0.015em;
}

.profile-editor-tabs {
  display: grid;
  gap: 14px;
  padding: 0;
  border: 0;
  background: transparent;
}

.profile-editor-tabs__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.profile-editor-tabs__nav {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  background: rgba(4, 7, 12, 0.24);
}

.profile-editor-tabs__nav label {
  display: grid;
  gap: 4px;
  min-height: 56px;
  padding: 11px 12px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.profile-editor-tabs__nav label:hover {
  transform: translateY(-1px);
  border-color: rgba(82, 224, 196, 0.22);
  background: rgba(82, 224, 196, 0.065);
}

.profile-editor-tabs__nav label[for="profile-tab-plus"],
.profile-editor-tabs__nav label[for="profile-tab-widget"] {
  border-color: rgba(255, 190, 92, 0.32);
  background:
    linear-gradient(135deg, rgba(255, 190, 92, 0.14), rgba(255, 229, 145, 0.055)),
    rgba(255, 255, 255, 0.035);
}

.profile-editor-tabs__nav label[for="profile-tab-plus"]:hover,
.profile-editor-tabs__nav label[for="profile-tab-widget"]:hover {
  border-color: rgba(255, 190, 92, 0.48);
  background:
    linear-gradient(135deg, rgba(255, 190, 92, 0.2), rgba(255, 229, 145, 0.08)),
    rgba(255, 255, 255, 0.04);
}

.profile-editor-tabs__nav label[for="profile-tab-plus"] span,
.profile-editor-tabs__nav label[for="profile-tab-widget"] span {
  color: #ffd98a;
}

.profile-editor-tabs__nav label span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.profile-editor-tabs__nav label strong {
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.15;
}

.profile-editor-tabs__panels {
  min-width: 0;
}

.profile-editor-panel {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02));
}

#profile-tab-auth:checked ~ .profile-editor-tabs__nav label[for="profile-tab-auth"],
#profile-tab-media:checked ~ .profile-editor-tabs__nav label[for="profile-tab-media"],
#profile-tab-intro:checked ~ .profile-editor-tabs__nav label[for="profile-tab-intro"],
#profile-tab-socials:checked ~ .profile-editor-tabs__nav label[for="profile-tab-socials"],
#profile-tab-specs:checked ~ .profile-editor-tabs__nav label[for="profile-tab-specs"],
#profile-tab-irl:checked ~ .profile-editor-tabs__nav label[for="profile-tab-irl"],
#profile-tab-plus:checked ~ .profile-editor-tabs__nav label[for="profile-tab-plus"],
#profile-tab-widget:checked ~ .profile-editor-tabs__nav label[for="profile-tab-widget"] {
  border-color: rgba(82, 224, 196, 0.34);
  background: linear-gradient(135deg, rgba(82, 224, 196, 0.14), rgba(79, 113, 255, 0.08));
  box-shadow: inset 0 -3px 0 rgba(82, 224, 196, 0.78);
}

#profile-tab-plus:checked ~ .profile-editor-tabs__nav label[for="profile-tab-plus"],
#profile-tab-widget:checked ~ .profile-editor-tabs__nav label[for="profile-tab-widget"] {
  border-color: rgba(255, 190, 92, 0.62);
  background: linear-gradient(135deg, rgba(255, 190, 92, 0.22), rgba(255, 229, 145, 0.1));
  box-shadow: inset 0 -3px 0 rgba(255, 190, 92, 0.92), 0 0 0 1px rgba(255, 190, 92, 0.12);
}

#profile-tab-auth:checked ~ .profile-editor-tabs__panels .profile-editor-panel--auth,
#profile-tab-media:checked ~ .profile-editor-tabs__panels .profile-editor-panel--media,
#profile-tab-intro:checked ~ .profile-editor-tabs__panels .profile-editor-panel--intro,
#profile-tab-socials:checked ~ .profile-editor-tabs__panels .profile-editor-panel--socials,
#profile-tab-specs:checked ~ .profile-editor-tabs__panels .profile-editor-panel--specs,
#profile-tab-irl:checked ~ .profile-editor-tabs__panels .profile-editor-panel--irl,
#profile-tab-plus:checked ~ .profile-editor-tabs__panels .profile-editor-panel--plus,
#profile-tab-widget:checked ~ .profile-editor-tabs__panels .profile-editor-panel--widget {
  display: grid;
}

.profile-editor-panel .profile-form-section {
  grid-column: 1 / -1;
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  padding-bottom: 8px;
}

.profile-editor-panel .profile-form-section--sub {
  margin-top: 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-editor-panel .profile-form-section--affiliate {
  padding: 16px;
  border: 1px solid rgba(82, 224, 196, 0.22);
  border-radius: 12px;
  background: rgba(82, 224, 196, 0.06);
}

.profile-editor-panel .equipment-link-field span {
  color: var(--accent);
}

.profile-editor-panel .equipment-link-field input {
  border-color: rgba(82, 224, 196, 0.28);
}

.profile-editor-panel .monitor-editor {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(82, 224, 196, 0.18);
  border-radius: 12px;
  background: rgba(82, 224, 196, 0.045);
}

.profile-editor-panel .monitor-editor h4 {
  margin: 2px 0 4px;
}

.profile-editor-panel .monitor-editor__grid {
  display: grid;
  gap: 12px;
}

.profile-editor-panel .monitor-editor__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.75fr);
  gap: 12px;
  align-items: end;
}

.profile-editor-panel .pc-part-editor {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(82, 224, 196, 0.18);
  border-radius: 12px;
  background: rgba(82, 224, 196, 0.045);
}

.profile-editor-panel .profile-form-section h3 {
  font-size: 1.32rem;
}

.profile-workspace__form .form-grid label,
.profile-workspace__form .form-grid .platform-note,
.profile-auth-settings,
.profile-visibility-settings {
  border-radius: 14px;
  background: var(--studio-field);
  border-color: rgba(255, 255, 255, 0.075);
}

.profile-workspace__form .form-grid label {
  gap: 10px;
  padding: 14px;
  transition: background 140ms ease, border-color 140ms ease;
}

.profile-workspace__form .form-grid label:focus-within {
  background: var(--studio-field-hover);
  border-color: rgba(82, 224, 196, 0.32);
}

.profile-workspace__form .form-grid label span {
  color: #c5d1e2;
}

.profile-workspace__form input,
.profile-workspace__form textarea,
.profile-workspace__form select {
  border-radius: 12px;
  background: rgba(4, 7, 12, 0.42);
  border-color: rgba(255, 255, 255, 0.09);
}

.profile-editor-panel--specs textarea {
  min-height: 150px;
}

.profile-editor-panel--specs label:not(.full-span) input,
.profile-editor-panel--socials label:not(.full-span) input {
  min-height: 52px;
}

.profile-workspace__form .form-grid .profile-editor-tabs.full-span {
  padding: 0;
  border: 0;
  background: transparent;
}

.profile-workspace__form .profile-editor-tabs__nav label {
  padding: 11px 12px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.035);
}

.profile-workspace__form .profile-editor-tabs__nav label span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.profile-workspace__form .profile-editor-tabs__nav label strong {
  color: var(--text);
  font-size: 0.94rem;
}

.profile-workspace__form .profile-auth-settings.full-span,
.profile-workspace__form .profile-visibility-settings.full-span {
  padding: 12px;
}

.profile-visibility-settings {
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(82, 224, 196, 0.09), rgba(79, 113, 255, 0.05));
}

.profile-auth-settings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 12px;
  background:
    linear-gradient(135deg, rgba(255, 190, 92, 0.08), rgba(82, 224, 196, 0.055));
}

.profile-auth-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-width: 0;
  padding: 15px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  background: rgba(4, 7, 12, 0.28);
}

.profile-auth-card h4 {
  margin: 3px 0 6px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.04rem;
  letter-spacing: -0.01em;
}

.profile-auth-card p,
.profile-auth-card h4 {
  overflow-wrap: anywhere;
}

.profile-auth-card--connected {
  border-color: rgba(82, 224, 196, 0.2);
  background:
    linear-gradient(135deg, rgba(82, 224, 196, 0.08), rgba(4, 7, 12, 0.28));
}

.profile-visibility-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.profile-visibility-grid .checkbox-field {
  min-height: 44px;
  padding: 11px 12px;
  border-radius: 12px;
  background: rgba(4, 7, 12, 0.28);
}

.media-grid--setup {
  gap: 18px;
}

.media-preview {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.075);
}

.setup-shot-card {
  border-radius: 14px;
}

.setup-shot-card__meta {
  padding: 11px;
}

@media (max-width: 1180px) {
  .profile-workspace__media {
    position: static;
  }

  .profile-visibility-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-auth-settings {
    grid-template-columns: 1fr;
  }

  .profile-editor-tabs__nav {
    grid-template-columns: repeat(5, minmax(122px, 1fr));
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
  }

  .profile-editor-tabs__nav label {
    scroll-snap-align: start;
  }
}

@media (max-width: 760px) {
  .dashboard-shell.admin-studio {
    gap: 14px;
  }

  .admin-toolbar,
  .profile-workspace__media,
  .profile-workspace__form,
  .profile-workspace__hero {
    border-radius: 16px;
  }

  .profile-visibility-grid {
    grid-template-columns: 1fr;
  }

  .profile-auth-card {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .profile-editor-panel {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .profile-editor-tabs__nav {
    grid-template-columns: repeat(5, minmax(108px, 1fr));
  }

  .profile-editor-tabs__nav label {
    min-height: 52px;
    padding: 10px;
  }
}

@media (max-width: 1180px) {
  body.page-profile .site-shell {
    width: 100%;
  }

  .page-profile .profile-showcase > :not(.profile-banner--showcase) {
    width: min(100% - 28px, 1520px);
  }

  .page-profile .profile-hero,
  .page-profile .profile-grid,
  .page-profile .profile-content-layout,
  .page-profile .profile-stat-list,
  .plus-section__hero,
  .plus-perk-grid,
  .plus-faq,
  .live-experience__grid {
    grid-template-columns: 1fr;
  }

  .live-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-profile .profile-hero {
    width: 100%;
    gap: 28px;
  }

  .page-profile .profile-back-link {
    top: 154px;
  }

  .page-profile .profile-hero__meta,
  .page-profile .profile-hero__meta .card-actions,
  .page-profile .profile-hero__meta .platform-stack {
    justify-content: flex-start;
    justify-items: start;
  }

  .page-profile .profile-hero__meta {
    width: 100%;
    max-width: 100%;
  }

  .page-profile .badge-row--hero {
    flex-wrap: wrap;
  }

  .page-profile .profile-stat-deck {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-profile .profile-side-rail {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-profile .profile-side-rail .profile-sidebar-card:first-child {
    grid-column: 1 / -1;
  }

  .page-profile .profile-jump-links {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}

@media (max-width: 760px) {
  body.page-profile .site-shell {
    width: 100%;
  }

  .page-profile .profile-showcase > :not(.profile-banner--showcase) {
    width: min(100% - 20px, 1520px);
  }

  .page-profile .profile-card--specs,
  .page-profile .profile-card--summary,
  .page-profile .setup-showcase,
  .live-experience {
    padding: 18px;
    border-radius: 18px;
  }

  .pc-spec-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .pc-spec-grid li,
  .pc-spec-grid li:has(.equipment-product-image-link) {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 8px 12px;
    align-items: center;
  }

  .pc-spec-grid li:has(.equipment-product-image-link) .equipment-product-image-link {
    grid-row: 1 / span 4;
  }

  .pc-spec-grid .equipment-product-image {
    width: 72px;
  }

  .pc-spec-grid .equipment-buy-link,
  .equipment-buy-link {
    min-height: 32px;
    padding: 6px 9px;
    font-size: 0.72rem;
  }

  .profile-editor-panel .monitor-editor__row {
    grid-template-columns: 1fr;
  }

  .equipment-buy-link__icon {
    width: 14px;
    height: 14px;
    flex-basis: 14px;
  }

  .page-profile .profile-banner--showcase {
    min-height: auto;
    padding: 128px 18px 30px;
    margin-top: 0;
  }

  .page-profile .profile-back-link {
    left: 18px;
    top: 102px;
  }

  .page-profile .profile-banner__top,
  .page-profile .profile-banner__top .card-actions,
  .page-profile .profile-hero,
  .page-profile .profile-hero__identity {
    align-items: flex-start;
  }

  .page-profile .profile-hero {
    gap: 18px;
  }

  .page-profile .profile-showcase--spotlight .profile-hero {
    grid-template-columns: 1fr;
  }

  .page-profile .profile-showcase--spotlight .profile-hero__content,
  .page-profile .profile-hero__identity > div,
  .page-profile .profile-hero__meta {
    width: 100%;
    max-width: 100%;
  }

  .page-profile .profile-hero__meta {
    justify-self: stretch;
    justify-items: start;
  }

  .page-profile .profile-hero__meta .card-actions {
    justify-content: flex-start;
  }

  .page-profile .profile-hero h1 {
    min-width: 0;
    max-width: 100%;
    font-size: clamp(2rem, 13vw, 3rem);
    line-height: 1;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    text-wrap: balance;
  }

  .page-profile .profile-hero .lead {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .page-profile .profile-hero__identity {
    flex-direction: column;
    gap: 16px;
  }

  .page-profile .avatar--hero {
    width: 76px;
    height: 76px;
  }

  .page-profile .profile-hero__details {
    gap: 8px 14px;
  }

  .page-profile .spec-list--board,
  .page-profile .setup-gallery,
  .page-profile .profile-side-rail {
    grid-template-columns: 1fr;
  }

  .page-profile .profile-stat-deck {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-profile .spec-list--board {
    gap: 10px;
  }

  .page-profile .spec-list--board div {
    min-height: 0;
    padding: 12px;
    border-radius: 14px;
  }

  .spec-list dd:has(> .equipment-product-image-link),
  .spec-list dd:has(> .equipment-product-image-link) > .equipment-buy-link {
    grid-column: auto;
  }

  .spec-list dd:has(> .equipment-product-image-link) {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 8px 12px;
  }

  .spec-list dd:has(> .equipment-product-image-link) > .equipment-product-image-link {
    grid-row: 1 / span 2;
  }

  .equipment-product-image {
    width: 72px;
    border-radius: 9px;
  }

  .setup-gallery--showcase,
  .page-profile .setup-gallery--showcase {
    grid-template-columns: 1fr;
  }

  .setup-showcase-card--featured {
    grid-row: auto;
  }

  .setup-showcase-card .setup-shot,
  .setup-showcase-card--featured .setup-shot {
    min-height: 240px;
    aspect-ratio: 16 / 10;
  }

  .live-experience,
  .plus-pricing-card,
  .plus-perk-card,
  .plus-faq div {
    padding: 20px;
  }

  .site-footer {
    margin-top: 48px;
  }

  .site-footer__main {
    width: min(100% - 40px, 1080px);
    padding-top: 42px;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .site-footer__bottom {
    width: min(100% - 40px, 1080px);
    flex-direction: column;
    margin-top: 38px;
    padding-bottom: 42px;
  }

  .legal-hero {
    padding: 28px;
    min-height: auto;
  }

  .legal-overview,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-sidebar {
    position: relative;
    top: auto;
  }

  .legal-sidebar nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal-content {
    padding: 24px;
  }

  .legal-contact {
    align-items: stretch;
    flex-direction: column;
  }

  .live-chat-card iframe {
    min-height: 420px;
  }
}



.admin-page-grid--users {
  grid-template-columns: minmax(360px, 0.78fr) minmax(0, 1.52fr);
  align-items: start;
}

.admin-card--users-table {
  min-width: 0;
}

.admin-card--users-table .table-wrap,
.admin-card--streamers-table .table-wrap,
.admin-card--applications-table .table-wrap,
.admin-card--log-table .table-wrap {
  overflow-x: auto;
  min-height: 315px;
}

.admin-card--users-table th,
.admin-card--users-table td,
.admin-card--streamers-table th,
.admin-card--streamers-table td,
.admin-card--applications-table th,
.admin-card--applications-table td,
.admin-card--log-table th,
.admin-card--log-table td {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.admin-card--users-table td:last-child,
.admin-card--users-table th:last-child,
.admin-card--streamers-table td:last-child,
.admin-card--streamers-table th:last-child,
.admin-card--applications-table td:last-child,
.admin-card--applications-table th:last-child,
.admin-card--log-table td:last-child,
.admin-card--log-table th:last-child {
  white-space: normal;
  min-width: 220px;
}

.admin-card--users-table td:nth-child(5),
.admin-card--streamers-table td:nth-child(4),
.admin-card--applications-table td:nth-child(4),
.admin-card--applications-table td:nth-child(5) {
  font-size: 0.94rem;
  color: var(--muted);
}

.admin-card--users-table th:nth-child(1),
.admin-card--users-table td:nth-child(1) {
  width: 10%;
}

.admin-card--users-table th:nth-child(2),
.admin-card--users-table td:nth-child(2) {
  width: 12%;
}

.admin-card--users-table th:nth-child(3),
.admin-card--users-table td:nth-child(3) {
  width: 25%;
}

.admin-card--users-table th:nth-child(4),
.admin-card--users-table td:nth-child(4) {
  width: 15%;
}

.admin-card--users-table th:nth-child(5),
.admin-card--users-table td:nth-child(5) {
  width: 14%;
}

.admin-card--users-table th:nth-child(6),
.admin-card--users-table td:nth-child(6) {
  width: 24%;
}

.admin-card--streamers-table th:nth-child(1),
.admin-card--streamers-table td:nth-child(1) {
  width: 9%;
}

.admin-card--streamers-table th:nth-child(2),
.admin-card--streamers-table td:nth-child(2) {
  width: 11%;
}

.admin-card--streamers-table th:nth-child(3),
.admin-card--streamers-table td:nth-child(3) {
  width: 24%;
}

.admin-card--streamers-table th:nth-child(4),
.admin-card--streamers-table td:nth-child(4) {
  width: 14%;
}

.admin-card--streamers-table th:nth-child(5),
.admin-card--streamers-table td:nth-child(5) {
  width: 12%;
}

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

.admin-card--streamers-table th:nth-child(7),
.admin-card--streamers-table td:nth-child(7) {
  width: 18%;
}

.streamer-admin-board,
.user-admin-board {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.streamer-admin-board__filters,
.user-admin-board__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.streamer-admin-board__filters a,
.streamer-admin-board__tools a,
.user-admin-board__filters a,
.user-admin-board__tools a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 0 13px;
  border: 1px solid rgba(132, 151, 178, 0.22);
  border-radius: 999px;
  background: rgba(11, 17, 27, 0.74);
  color: #9db0c8;
  font-size: 0.78rem;
  font-weight: 800;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.streamer-admin-board__filters a:hover,
.streamer-admin-board__tools a:hover,
.user-admin-board__filters a:hover,
.user-admin-board__tools a:hover {
  transform: translateY(-1px);
  border-color: rgba(82, 224, 196, 0.34);
  color: var(--text);
}

.streamer-admin-board__filters a.is-active,
.user-admin-board__filters a.is-active,
.user-admin-board__tools a.is-primary {
  border-color: rgba(82, 224, 196, 0.56);
  background: #52e0c4;
  color: #03110e;
}

.streamer-admin-board__filters span,
.user-admin-board__filters span {
  opacity: 0.74;
}

.streamer-admin-board__tools,
.user-admin-board__tools {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  white-space: nowrap;
}

.streamer-admin-board__tools svg,
.user-admin-board__tools svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.streamer-admin-list-card,
.user-admin-list-card {
  padding: 0;
  overflow: visible;
  border-radius: 20px;
  background: rgba(13, 25, 36, 0.78);
}

.streamer-admin-list__head,
.streamer-admin-row,
.user-admin-list__head,
.user-admin-row {
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) minmax(260px, 1fr) minmax(180px, 0.42fr);
  align-items: center;
  gap: 18px;
}

.streamer-admin-list__head,
.user-admin-list__head {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 20px 20px 0 0;
  background: rgba(255, 255, 255, 0.045);
  color: #6f819c;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.streamer-admin-list,
.user-admin-list {
  display: grid;
}

.streamer-admin-row,
.user-admin-row {
  min-height: 78px;
  padding: 14px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  background: rgba(8, 18, 27, 0.28);
}

.streamer-admin-row:hover,
.user-admin-row:hover {
  background: rgba(82, 224, 196, 0.035);
}

.streamer-admin-row__identity,
.user-admin-row__identity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.streamer-admin-row__avatar,
.user-admin-row__avatar {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  object-fit: cover;
  flex: 0 0 auto;
}

.streamer-admin-row__avatar--fallback,
.user-admin-row__avatar--fallback {
  background: linear-gradient(135deg, rgba(82, 224, 196, 0.28), rgba(255, 190, 92, 0.18));
  color: #effffb;
  font-size: 0.86rem;
  font-weight: 900;
}

.streamer-admin-row__identity strong,
.user-admin-row__identity strong {
  display: block;
  color: var(--text);
  font-size: 0.94rem;
}

.streamer-admin-row__identity span,
.user-admin-row__identity span {
  display: block;
  margin-top: 2px;
  color: #6f819c;
  font-size: 0.78rem;
}

.streamer-admin-row__badges,
.user-admin-row__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.streamer-admin-row__actions,
.user-admin-row__actions {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.streamer-admin-row__actions > a,
.streamer-admin-row__more summary,
.user-admin-row__actions > a,
.user-admin-row__actions button,
.user-admin-row__actions span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(132, 151, 178, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
}

.streamer-admin-row__actions > a.is-primary,
.user-admin-row__actions > a.is-primary {
  background: rgba(82, 224, 196, 0.09);
  border-color: rgba(82, 224, 196, 0.24);
}

.user-admin-row__actions button {
  font-family: inherit;
}

.user-admin-row__actions button.is-danger {
  border-color: rgba(255, 91, 110, 0.36);
  background: rgba(255, 91, 110, 0.14);
  color: #ffd1d1;
}

.user-create-panel {
  margin-bottom: 18px;
  overflow: hidden;
  border-radius: 20px;
}

.user-create-panel summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 20px;
  list-style: none;
  cursor: pointer;
}

.user-create-panel summary::-webkit-details-marker {
  display: none;
}

.user-create-panel summary small {
  display: block;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.user-create-panel summary strong {
  display: block;
  margin-top: 3px;
  color: var(--text);
  font-size: 1.2rem;
}

.user-create-panel summary em {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 13px;
  border-radius: 10px;
  background: rgba(82, 224, 196, 0.1);
  color: #bff9ef;
  font-style: normal;
  font-weight: 900;
}

.user-create-panel[open] summary {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.user-create-panel__body {
  padding: 18px;
}

.streamer-admin-row__more {
  position: relative;
}

.streamer-admin-row__more summary {
  list-style: none;
}

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

.streamer-admin-row__more > div {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  display: grid;
  gap: 6px;
  width: 180px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: #101722;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.34);
}

.streamer-admin-row__more button,
.streamer-admin-row__more span {
  display: flex;
  width: 100%;
  min-height: 32px;
  align-items: center;
  padding: 0 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.streamer-admin-row__more button:hover {
  background: rgba(255, 255, 255, 0.06);
}

.streamer-admin-row__more button.is-danger {
  color: #ffd1d1;
}

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

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

.admin-card--applications-table th:nth-child(3),
.admin-card--applications-table td:nth-child(3) {
  width: 23%;
}

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

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

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

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

.admin-list-table tr:target + .application-details-row td {
  background: rgba(82, 224, 196, 0.07);
}

.admin-list-table tr:target + .application-details-row .application-details-grid {
  border-color: rgba(82, 224, 196, 0.42);
  box-shadow: 0 0 0 1px rgba(82, 224, 196, 0.12);
}

.application-details-row td {
  padding-top: 0;
  background: rgba(255, 255, 255, 0.018);
}

.application-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: 10px;
  margin: 0;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(4, 7, 12, 0.32);
}

.application-details-grid div {
  min-width: 0;
  overflow: hidden;
  padding: 10px 12px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.035);
}

.application-details-grid__item--wide {
  grid-column: span 2;
}

.application-details-grid__item--action {
  grid-column: 1 / -1;
  padding: 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 92, 92, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.04);
}

.application-details-grid dt {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.25;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.application-details-grid dd {
  margin: 0;
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.application-ban-panel {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) max-content;
  align-items: stretch;
  gap: 14px;
}

.application-ban-panel label {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.application-ban-panel label span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.application-ban-panel textarea {
  width: 100%;
  min-height: 84px;
  box-sizing: border-box;
  resize: vertical;
}

.application-ban-panel .button {
  align-self: end;
  min-height: 44px;
  white-space: nowrap;
}

.application-ban-panel--active {
  align-items: center;
  grid-template-columns: minmax(0, 1fr) max-content;
}

.application-ban-panel--active strong {
  display: block;
  margin-bottom: 4px;
}

@media (max-width: 1180px) {
  .streamer-admin-board,
  .user-admin-board {
    align-items: stretch;
    flex-direction: column;
  }

  .streamer-admin-board__tools,
  .user-admin-board__tools {
    justify-content: flex-start;
  }

  .streamer-admin-list__head,
  .user-admin-list__head {
    display: none;
  }

  .streamer-admin-row,
  .user-admin-row {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 12px;
  }

  .streamer-admin-row__actions,
  .user-admin-row__actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .application-details-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  }

  .application-details-grid__item--wide {
    grid-column: 1 / -1;
  }

  .application-ban-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .streamer-admin-board__filters,
  .user-admin-board__filters {
    flex-wrap: nowrap;
    margin-inline: -4px;
    padding-inline: 4px;
    overflow-x: auto;
  }

  .streamer-admin-list-card,
  .user-admin-list-card,
  .user-create-panel {
    border-radius: 16px;
  }

  .streamer-admin-row,
  .user-admin-row {
    padding: 14px;
  }

  .streamer-admin-row__identity,
  .user-admin-row__identity {
    align-items: flex-start;
  }

  .streamer-admin-row__badges,
  .user-admin-row__meta {
    gap: 6px;
  }

  .streamer-admin-row__more {
    position: static;
  }

  .streamer-admin-row__more > div {
    right: 14px;
    left: 14px;
    width: auto;
  }

  .application-details-grid,
  .application-details-grid__item--wide,
  .application-details-grid__item--action {
    grid-template-columns: 1fr;
    grid-column: auto;
  }

  .application-ban-panel {
    grid-template-columns: 1fr;
  }
}

.admin-card--log-table th:nth-child(1),
.admin-card--log-table td:nth-child(1) {
  width: 14%;
}

.admin-card--log-table th:nth-child(2),
.admin-card--log-table td:nth-child(2) {
  width: 22%;
}

.admin-card--log-table th:nth-child(3),
.admin-card--log-table td:nth-child(3),
.admin-card--log-table th:nth-child(4),
.admin-card--log-table td:nth-child(4) {
  width: 22%;
}

.admin-card--log-table th:nth-child(5),
.admin-card--log-table td:nth-child(5) {
  width: 20%;
}


.topbar-user {
  position: relative;
}

.topbar-notifications {
  position: relative;
}

.topbar-notifications__trigger {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.024));
  color: var(--text);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.topbar-notifications__trigger:hover,
.topbar-notifications.is-open .topbar-notifications__trigger {
  border-color: rgba(82, 224, 196, 0.35);
  background: rgba(82, 224, 196, 0.1);
  transform: translateY(-1px);
}

.topbar-notifications__trigger svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.topbar-notifications__badge {
  position: absolute;
  top: -5px;
  right: -5px;
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border: 2px solid #090b10;
  border-radius: 999px;
  background: #52e0c4;
  color: #03110e;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
}

.topbar-notifications.has-new-notification .topbar-notifications__trigger {
  animation: notification-pop 620ms ease;
}

.topbar-notifications__panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 1200;
  width: min(380px, calc(100vw - 24px));
  max-height: min(520px, calc(100dvh - var(--topbar-height) - 26px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(82, 224, 196, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(12, 15, 22, 0.98), rgba(8, 10, 15, 0.98));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.44);
}

.topbar-notifications__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.topbar-notifications__header span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.topbar-notifications__header strong {
  display: block;
  margin-top: 3px;
  color: var(--text);
}

.topbar-notifications__list {
  display: grid;
  gap: 8px;
  max-height: 430px;
  overflow-y: auto;
  padding: 10px;
}

.topbar-notification {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.topbar-notification:hover {
  border-color: rgba(82, 224, 196, 0.24);
  background: rgba(82, 224, 196, 0.075);
  transform: translateY(-1px);
}

.topbar-notification__dot {
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.topbar-notification.is-unread .topbar-notification__dot {
  background: #52e0c4;
  box-shadow: 0 0 0 4px rgba(82, 224, 196, 0.12);
}

.topbar-notification__body {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.topbar-notification__body strong {
  font-size: 0.92rem;
}

.topbar-notification__body span,
.topbar-notification__body time,
.topbar-notifications__empty {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.topbar-notification__body time {
  font-size: 0.74rem;
}

.topbar-notifications__empty {
  padding: 18px;
  text-align: center;
}

@keyframes notification-pop {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  35% {
    transform: translateY(-2px) scale(1.08);
  }
  70% {
    transform: translateY(0) scale(0.98);
  }
}

.topbar-user summary {
  list-style: none;
}

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

.topbar-user__trigger {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  min-width: 280px;
  padding: 8px 12px 8px 8px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.025));
  cursor: pointer;
}

.topbar-user__avatar {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(82, 224, 196, 0.2), rgba(255, 190, 92, 0.18));
  color: #effffb;
  flex-shrink: 0;
}

.topbar-user__avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.topbar-user__avatar-fallback {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.topbar-user__copy {
  display: grid;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

.topbar-user__copy strong {
  font-size: 0.98rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-user__copy span {
  color: var(--muted);
  font-size: 0.84rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-user__chevron {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: var(--muted);
  transition: transform 160ms ease;
}

.topbar-user[open] .topbar-user__chevron {
  transform: rotate(180deg);
}

.topbar-user__chevron svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.topbar-user__menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(320px, calc(100vw - 24px));
  padding: 10px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(12, 14, 19, 0.98), rgba(12, 14, 19, 0.96));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

.topbar-user__item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 14px;
  border-radius: 16px;
  color: var(--text);
  transition: background 140ms ease, transform 140ms ease;
}

.topbar-user__item:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(2px);
}

.topbar-user__item-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #edf5ff;
  flex-shrink: 0;
}

.topbar-user__item-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.topbar-user__item--danger {
  color: #ffd1d1;
}

@media (max-width: 760px) {
  .topbar-notifications {
    position: static;
  }

  .topbar-notifications__trigger {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .topbar-notifications__panel {
    position: fixed;
    top: calc(var(--topbar-height) + 10px);
    left: 10px;
    right: 10px;
    width: auto;
    max-height: calc(100dvh - var(--topbar-height) - 22px);
    border-radius: 20px;
  }

  .topbar-user {
    position: static;
    max-width: min(280px, calc(100vw - 96px));
  }

  .topbar-user__trigger {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    gap: 10px;
    padding: 6px 10px 6px 6px;
    border-radius: 16px;
  }

  .topbar-user__avatar {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .topbar-user__copy strong {
    font-size: 0.92rem;
  }

  .topbar-user__copy span {
    font-size: 0.78rem;
  }

  .topbar-user__menu {
    position: fixed;
    top: calc(var(--topbar-height) + 10px);
    left: 10px;
    right: 10px;
    width: auto;
    max-height: calc(100dvh - var(--topbar-height) - 22px);
    overflow-y: auto;
    border-radius: 20px;
    z-index: 1100;
  }

  .topbar-user__item {
    min-height: 54px;
  }
}

body.page-home,
body.page-clips,
body.page-leaderboard,
body.page-news,
body.page-plus,
body.page-streamers {
  background:
    radial-gradient(circle at 14% 8%, rgba(82, 224, 196, 0.16), transparent 20%),
    radial-gradient(circle at 84% 10%, rgba(255, 190, 92, 0.1), transparent 18%),
    linear-gradient(180deg, #090b10 0%, #090b10 100%);
}

body.page-home::before,
body.page-home::after,
body.page-clips::before,
body.page-clips::after,
body.page-leaderboard::before,
body.page-leaderboard::after,
body.page-news::before,
body.page-news::after,
body.page-plus::before,
body.page-plus::after,
body.page-streamers::before,
body.page-streamers::after {
  opacity: 0.18;
}

body.page-home .site-shell,
body.page-clips .site-shell,
body.page-leaderboard .site-shell,
body.page-news .site-shell,
body.page-plus .site-shell,
body.page-streamers .site-shell {
  width: min(1640px, calc(100% - 32px));
}

.page-clips main,
.page-leaderboard main,
.page-news main,
.page-plus main,
.page-streamers main,
.page-compare main {
  position: relative;
  isolation: isolate;
}

.page-clips main::before,
.page-leaderboard main::before,
.page-news main::before,
.page-plus main::before,
.page-streamers main::before,
.page-compare main::before {
  content: "";
  position: absolute;
  inset: -18px calc(50% - 50vw) auto;
  z-index: -1;
  height: min(520px, 48vh);
  background:
    linear-gradient(rgba(255, 255, 255, 0.042) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.042) 1px, transparent 1px),
    radial-gradient(circle at 22% 34%, rgba(82, 224, 196, 0.14), transparent 28%),
    radial-gradient(circle at 78% 18%, rgba(255, 190, 92, 0.1), transparent 22%),
    #090d13;
  background-size: 92px 92px, 92px 92px, auto, auto, auto;
  mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%);
}

.page-clips main::after,
.page-leaderboard main::after,
.page-news main::after,
.page-plus main::after,
.page-streamers main::after,
.page-compare main::after {
  content: "";
  position: absolute;
  inset: min(360px, 36vh) calc(50% - 50vw) auto;
  z-index: -1;
  height: 180px;
  background: linear-gradient(180deg, transparent 0%, #090b10 100%);
}

.news-page-shell,
.clips-page-shell,
.leaderboard-page-shell,
.plus-page-shell,
.streamer-directory-page,
.compare-page {
  position: relative;
}

.page-news .streamer-directory-heading,
.page-streamers .streamer-directory-heading,
.leaderboard-hero,
.compare-hero,
.clips-page-shell > .section-heading,
.page-plus .plus-section__hero {
  min-height: 250px;
  align-items: center;
  padding: clamp(24px, 4vw, 52px) 2px clamp(20px, 3vw, 36px);
  border: 0;
  background: transparent;
  box-shadow: none;
}

.page-news .streamer-directory-heading h2,
.page-streamers .streamer-directory-heading h2,
.leaderboard-hero h1,
.compare-hero h1,
.clips-page-shell > .section-heading h2,
.page-plus .plus-section__copy h2 {
  max-width: 980px;
  font-size: clamp(2.65rem, 5.7vw, 5.8rem);
  line-height: 0.93;
  letter-spacing: 0;
}

.page-news .streamer-directory-heading .muted,
.page-streamers .streamer-directory-heading .muted,
.leaderboard-hero .lead,
.compare-hero .lead,
.clips-page-shell > .section-heading .muted,
.page-plus .plus-section__copy .lead {
  color: #b8c4d4;
}

.home-video-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(420px, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  min-height: clamp(420px, 58vh, 560px);
  padding: clamp(18px, 3vw, 38px) clamp(4px, 2vw, 18px) clamp(22px, 3.6vw, 48px);
}

.home-video-hero::before {
  content: "";
  position: absolute;
  inset: -28px calc(50% - 50vw) -1px;
  z-index: -1;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 26% 44%, rgba(82, 224, 196, 0.16), transparent 28%),
    radial-gradient(circle at 80% 18%, rgba(255, 190, 92, 0.1), transparent 20%),
    #090d13;
  background-size: 92px 92px, 92px 92px, auto, auto, auto;
  mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
}

.home-video-hero::after {
  content: "";
  position: absolute;
  inset: auto calc(50% - 50vw) -1px;
  z-index: -1;
  height: 34%;
  background: linear-gradient(180deg, transparent 0%, #090b10 100%);
}

.home-video-hero__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  max-height: 360px;
  border: 1px solid rgba(82, 224, 196, 0.35);
  border-radius: 16px;
  background: #05070b;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42), 0 0 42px rgba(82, 224, 196, 0.1);
}

.home-video-hero__media video,
.home-video-hero__placeholder {
  width: 100%;
  height: 100%;
  border: 0;
}

.home-video-hero__media video {
  display: block;
  object-fit: cover;
  background: #05070b;
}

.home-video-hero__placeholder {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 7, 11, 0.78), rgba(5, 7, 11, 0.1) 45%, rgba(5, 7, 11, 0.7)),
    radial-gradient(circle at 68% 24%, rgba(82, 224, 196, 0.24), transparent 24%),
    linear-gradient(135deg, #111821, #0a0d13 56%, #162130);
}

.home-video-hero__placeholder::before,
.home-video-hero__placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
}

.home-video-hero__placeholder::before {
  z-index: 2;
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.28;
}

.home-video-hero__placeholder::after {
  z-index: 2;
  background: linear-gradient(180deg, rgba(5, 7, 11, 0.08) 0%, rgba(5, 7, 11, 0.58) 100%);
}

.home-video-hero__poster {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: clamp(28px, 7vw, 86px);
  object-fit: contain;
  opacity: 0.96;
}

.home-video-hero__brand,
.home-video-hero__caption {
  position: absolute;
  z-index: 3;
  left: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f5f8fc;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
}

.home-video-hero__brand {
  top: 18px;
  font-size: clamp(0.95rem, 1.8vw, 1.35rem);
}

.home-video-hero__brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.home-video-hero__caption {
  bottom: 20px;
  color: rgba(245, 248, 252, 0.78);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-video-hero__play {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  width: clamp(68px, 9vw, 94px);
  height: clamp(68px, 9vw, 94px);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 20px 52px rgba(15, 183, 157, 0.32);
}

.home-video-hero__play::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 7px;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 24px solid #03211a;
}

.home-video-hero__copy {
  display: grid;
  justify-items: start;
  gap: 22px;
  text-align: left;
}

.home-video-hero__pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  max-width: 100%;
  padding: 0 14px;
  border: 1px solid rgba(82, 224, 196, 0.22);
  border-radius: 999px;
  background: rgba(82, 224, 196, 0.12);
  color: #55f4f2;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
}

.home-video-hero h1 {
  max-width: 760px;
  font-size: clamp(2.35rem, 4.6vw, 4.65rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.home-video-hero h1::first-line {
  color: #ffffff;
}

.home-video-hero .lead {
  max-width: 620px;
  color: #b8c4d4;
  font-size: clamp(1rem, 1.4vw, 1.22rem);
}

.home-video-hero__copy .hero__actions {
  margin-top: 2px;
}

.home-video-hero__down {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-top: 8px;
  border: 1px solid rgba(82, 224, 196, 0.56);
  border-radius: 999px;
  color: #55f4f2;
  font-size: 1.35rem;
  line-height: 1;
  transition: transform 150ms ease, background 150ms ease;
}

.home-video-hero__down:hover {
  transform: translateY(2px);
  background: rgba(82, 224, 196, 0.1);
}

.home-front-page {
  position: relative;
  z-index: 1;
  background: #090b10;
  padding: clamp(18px, 3vw, 34px) 0 0;
  gap: 22px;
}

.home-front-hero {
  padding: 0 2px 6px;
}

.home-front-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.home-front-stats .signal-card {
  min-height: 118px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
}

.home-featured-list {
  display: grid;
  gap: 22px;
}

.page-home .home-featured-list {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 24px;
  background:
    radial-gradient(circle at 18% 28%, rgba(82, 224, 196, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(12, 14, 19, 0.72), rgba(12, 14, 19, 0.38));
  box-shadow: none;
}

.page-home .home-featured-list .section-heading {
  align-items: end;
  max-width: 720px;
  margin-bottom: 18px;
}

.home-featured-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 500px));
  justify-content: start;
  gap: 24px;
  max-width: 1560px;
}

.page-home .home-featured-grid .directory-streamer-card {
  min-height: 610px;
}

.page-home .home-featured-grid .directory-streamer-card__cover {
  min-height: 610px;
}

.news-page-shell,
.clips-page-shell,
.leaderboard-page-shell,
.plus-page-shell {
  padding: 18px 0 0;
  gap: 22px;
}

.leaderboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  padding: 0 2px 6px;
}

.leaderboard-hero h1 {
  max-width: 920px;
  margin: 6px 0 14px;
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  line-height: 0.95;
}

.leaderboard-stats {
  grid-column: auto;
}

.leaderboard-board {
  display: grid;
  gap: 22px;
  padding: 28px;
  border-radius: 16px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.clips-board,
.profile-clips {
  display: grid;
  gap: 22px;
  padding: 28px;
  border-radius: 16px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

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

.twitch-clip-card {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(7, 10, 16, 0.72);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.twitch-clip-card:hover {
  transform: translateY(-4px);
  border-color: rgba(82, 224, 196, 0.28);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.3);
}

.twitch-clip-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  color: #fff;
}

.twitch-clip-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.twitch-clip-card__media span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
}

.twitch-clip-card:hover .twitch-clip-card__media img {
  transform: scale(1.04);
}

.twitch-clip-card__body {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.twitch-clip-card__body h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.22;
}

.twitch-clip-card__body small {
  color: var(--muted);
}

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

.leaderboard-mini-board {
  display: grid;
  gap: 14px;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}

.leaderboard-mini-board h3 {
  margin: 0;
  font-size: 1.05rem;
}

.leaderboard-mini-list {
  display: grid;
  gap: 8px;
}

.leaderboard-mini-list a {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.leaderboard-mini-list span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(82, 224, 196, 0.14);
  color: #a7fff0;
  font-size: 0.78rem;
  font-weight: 800;
}

.leaderboard-mini-list strong,
.leaderboard-mini-list em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.leaderboard-mini-list em {
  color: var(--muted);
  font-size: 0.8rem;
  font-style: normal;
}

.leaderboard-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(7, 10, 16, 0.5);
}

.leaderboard-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
}

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

.leaderboard-table tr:last-child td {
  border-bottom: 0;
}

.leaderboard-table th {
  color: #95a4b7;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.leaderboard-table td > strong {
  display: block;
  color: #f5f8ff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
}

.leaderboard-table td > small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
}

.leaderboard-rank {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  color: #dffff9;
  font-weight: 900;
}

.leaderboard-rank--top {
  border-color: rgba(82, 224, 196, 0.36);
  background: rgba(82, 224, 196, 0.14);
}

.leaderboard-rank--top-1 {
  border-color: rgba(255, 190, 92, 0.5);
  background: rgba(255, 190, 92, 0.16);
}

.leaderboard-streamer {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  color: var(--text);
}

.leaderboard-streamer span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.leaderboard-streamer strong,
.leaderboard-streamer small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.leaderboard-streamer small {
  color: var(--muted);
  font-size: 0.84rem;
}

.news-directory-list {
  display: grid;
  gap: 22px;
}

.page-news .news-grid {
  gap: 28px;
}

.page-news .news-card {
  display: grid;
  align-content: start;
  gap: 0;
  min-height: 460px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(13, 16, 22, 0.56), rgba(13, 16, 22, 0.24));
  box-shadow: none;
  color: var(--text);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.page-news .news-card:hover {
  transform: translateY(-4px);
  border-color: rgba(82, 224, 196, 0.28);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.24);
}

.page-news .news-card__image {
  width: 100%;
  aspect-ratio: 16 / 8.8;
  border: 0;
  border-radius: 0;
  object-fit: cover;
}

.page-news .news-card__image--fallback {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(82, 224, 196, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(11, 39, 40, 0.95), rgba(9, 13, 20, 0.98));
}

.page-news .news-card__image--fallback img {
  width: min(130px, 42%);
  height: auto;
  opacity: 0.9;
}

.page-news .news-card__body {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.page-news .news-card h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.08;
}

.page-news .news-card__meta {
  color: #00e5d7;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-news .admin-list-badge--info,
.page-home .home-news-list .admin-list-badge--info {
  border-color: rgba(82, 224, 196, 0.28);
  background: rgba(82, 224, 196, 0.14);
  color: #dffff9;
}

.news-article-shell {
  padding: 18px 0 0;
}

.news-article {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.7fr);
  gap: 28px;
  overflow: hidden;
  padding: 0;
  border-radius: 16px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.news-article__image {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.news-article__body {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 18px;
  padding: clamp(24px, 4vw, 42px);
}

.news-article__body h1 {
  max-width: 760px;
  font-size: clamp(2.1rem, 4vw, 4.2rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.page-plus .plus-section {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.page-plus .plus-section::before {
  display: none;
}

.page-plus .plus-section__hero {
  align-items: end;
  gap: clamp(24px, 4vw, 56px);
}

.page-plus .plus-pricing-card,
.page-plus .plus-perk-card,
.page-plus .plus-faq div {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(13, 16, 22, 0.68), rgba(13, 16, 22, 0.28)),
    radial-gradient(circle at 82% 12%, rgba(246, 200, 95, 0.08), transparent 34%);
  box-shadow: none;
}

.page-plus .plus-section__copy {
  align-content: end;
  min-height: 330px;
  padding: 0;
  border: 0;
  background: transparent;
}

.page-plus .plus-section__copy h2 {
  max-width: 860px;
  margin: 4px 0 0;
  background: linear-gradient(135deg, #ffffff 0%, #f7d77d 52%, #52e0c4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(2.8rem, 6vw, 6.2rem);
  line-height: 0.92;
}

.page-plus .plus-pricing-card {
  align-content: center;
  min-height: 330px;
  padding: clamp(22px, 3vw, 34px);
  border-color: rgba(246, 200, 95, 0.3);
  background:
    linear-gradient(180deg, rgba(19, 18, 14, 0.84), rgba(10, 12, 16, 0.58)),
    radial-gradient(circle at 20% 0%, rgba(246, 200, 95, 0.18), transparent 34%),
    radial-gradient(circle at 90% 16%, rgba(82, 224, 196, 0.1), transparent 30%);
}

.page-plus .plus-pricing-card__eyebrow {
  color: #f7d77d;
}

.page-plus .plus-pricing-card strong {
  background: linear-gradient(135deg, #ffffff 0%, #f7d77d 72%, #ffefbd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-plus .plus-perk-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.page-plus .plus-perk-card {
  min-height: 190px;
  padding: 22px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.page-plus .plus-perk-card:hover {
  transform: translateY(-4px);
  border-color: rgba(246, 200, 95, 0.3);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.24);
}

.page-plus .plus-faq {
  gap: 18px;
}

.plus-members-section {
  margin-top: clamp(34px, 6vw, 78px);
}

.page-plus .plus-members-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.streamer-directory-page {
  padding: 18px 0 0;
  gap: 22px;
}

.streamer-directory-heading {
  align-items: end;
  padding: 0 2px;
}

.streamer-directory-heading h2 {
  margin-top: 4px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.directory-filter-bar {
  display: grid;
  grid-template-columns: minmax(280px, 1.35fr) repeat(3, minmax(150px, 0.62fr)) minmax(220px, 0.9fr) auto;
  align-items: end;
  gap: 14px;
  padding: 12px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.directory-filter-bar label {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.directory-filter-bar label span {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.directory-filter-bar input,
.directory-filter-bar select {
  width: 100%;
  min-height: 44px;
  border-radius: 10px;
  background: rgba(7, 10, 16, 0.78);
  text-overflow: ellipsis;
}

.directory-filter-bar__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: nowrap;
  min-width: max-content;
}

.directory-filter-bar__actions .button {
  min-height: 44px;
}

.directory-filter-bar__summary {
  grid-column: 1 / -1;
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.sort-filter-bar {
  display: flex;
  align-items: end;
  gap: 12px;
  margin: 4px 0 20px;
  flex-wrap: wrap;
}

.sort-filter-bar label {
  width: min(260px, 100%);
}

.clip-filter-bar label {
  width: min(240px, 100%);
}

.clip-filter-bar .clip-search-field {
  width: min(340px, 100%);
}

.sort-filter-bar label span {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sort-filter-bar select {
  min-height: 44px;
  border-radius: 10px;
  background: rgba(7, 10, 16, 0.78);
}

.sort-filter-bar .button {
  min-height: 44px;
}

.sort-filter-bar p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.88rem;
}

.clips-pagination {
  margin-top: 24px;
}

.clips-spotlight {
  margin-bottom: 18px;
}

.twitch-clip-card--featured {
  border-color: rgba(255, 190, 92, 0.42);
}

.clip-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.clip-card-actions--admin {
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.clip-preview-modal {
  width: min(960px, calc(100vw - 28px));
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: #0c0e13;
  color: var(--text);
}

.clip-preview-modal::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.clip-preview-modal__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.clip-preview-modal iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 260px;
  border: 0;
  border-radius: 10px;
  background: #05070b;
}

.clip-preview-modal > .button {
  margin-top: 12px;
}

.admin-clip-report-list {
  display: grid;
  gap: 14px;
}

.admin-clip-report-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.admin-clip-report-row__main {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
}

.admin-clip-report-row__main img,
.admin-clip-report-row__placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.06);
}

.admin-clip-report-row__placeholder {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 800;
}

.admin-clip-report-reasons {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.admin-clip-report-reasons p {
  margin: 0;
}

.admin-clip-report-row__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.directory-empty-state {
  grid-column: 1 / -1;
}

.page-streamers .home-directory-list {
  display: grid;
  gap: 22px;
}

.page-streamers .streamer-featured-section {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.page-streamers .directory-card-grid.streamer-featured-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

.page-home .directory-card-grid,
.page-plus .directory-card-grid,
.page-streamers .directory-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.page-home .streamer-card.directory-streamer-card,
.page-plus .streamer-card.directory-streamer-card,
.page-streamers .streamer-card.directory-streamer-card {
  isolation: isolate;
  display: grid;
  min-height: 610px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  background: rgba(13, 16, 22, 0.46);
  box-shadow: none;
  color: var(--text);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.page-home .streamer-card.directory-streamer-card::before,
.page-plus .streamer-card.directory-streamer-card::before,
.page-streamers .streamer-card.directory-streamer-card::before {
  display: none;
}

.page-home .streamer-card.directory-streamer-card:hover,
.page-plus .streamer-card.directory-streamer-card:hover,
.page-streamers .streamer-card.directory-streamer-card:hover {
  transform: translateY(-4px);
  border-color: rgba(82, 224, 196, 0.28);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.24);
}

.directory-streamer-card__cover,
.directory-streamer-card__shade,
.directory-streamer-card__badges,
.directory-streamer-card__body {
  grid-area: 1 / 1;
}

.directory-streamer-card__cover {
  z-index: 0;
  width: 100%;
  height: 100%;
  min-height: 610px;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 220ms ease, filter 220ms ease;
}

.page-home .streamer-card.directory-streamer-card:hover .directory-streamer-card__cover,
.page-plus .streamer-card.directory-streamer-card:hover .directory-streamer-card__cover,
.page-streamers .streamer-card.directory-streamer-card:hover .directory-streamer-card__cover {
  transform: scale(1.045);
  filter: saturate(1.08);
}

.directory-streamer-card__shade {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 7, 11, 0.05) 0%, rgba(5, 7, 11, 0.06) 42%, rgba(5, 7, 11, 0.92) 100%),
    linear-gradient(90deg, rgba(5, 7, 11, 0.36), transparent 45%, rgba(5, 7, 11, 0.16));
}

.directory-streamer-card__badges {
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
  padding: 18px;
}

.directory-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  max-width: 100%;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 9, 14, 0.62);
  color: rgba(238, 244, 255, 0.74);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.directory-pill--accent {
  border-color: rgba(82, 224, 196, 0.5);
  background: rgba(20, 166, 176, 0.28);
  color: #55f4f2;
}

.directory-pill--featured {
  border-color: rgba(255, 205, 86, 0.58);
  background: rgba(255, 205, 86, 0.2);
  color: #ffe3a3;
}

.directory-pill--verified {
  border-color: rgba(87, 145, 255, 0.5);
  background: rgba(87, 145, 255, 0.22);
  color: #dce6ff;
}

.directory-pill--live {
  border-color: rgba(255, 107, 107, 0.52);
  background: rgba(255, 107, 107, 0.2);
  color: #ffd6d6;
}

.directory-streamer-card__body {
  z-index: 2;
  align-self: end;
  display: grid;
  gap: 18px;
  padding: 0 24px 24px;
}

.directory-streamer-card__identity {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.directory-streamer-card__identity .avatar {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(82, 224, 196, 0.22);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.34);
}

.directory-streamer-card__identity h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.05;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.65);
}

.directory-streamer-card__identity p {
  margin-top: 2px;
  color: #9fb1cc;
  font-size: 0.86rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.directory-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
}

.directory-specs div {
  min-width: 0;
}

.directory-specs dt {
  display: inline;
  margin: 0 6px 0 0;
  color: #00e5d7;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.directory-specs dd {
  display: inline;
  margin: 0;
  color: #e6ecf7;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.directory-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 8px;
}

.directory-pagination__pages {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.directory-pagination__page {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-weight: 800;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}

.directory-pagination__arrow {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: #dffff9;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
}

.directory-pagination__arrow:hover {
  transform: translateY(-1px);
  border-color: rgba(82, 224, 196, 0.36);
  background: rgba(82, 224, 196, 0.14);
}

.directory-pagination__page:hover,
.directory-pagination__page--active {
  border-color: rgba(82, 224, 196, 0.36);
  background: rgba(82, 224, 196, 0.14);
  color: #dffff9;
}

.directory-pagination__disabled {
  opacity: 0.42;
  pointer-events: none;
}

.page-plus .directory-pagination {
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  padding-top: 8px;
}

.page-plus .directory-pagination__pages {
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(246, 200, 95, 0.16);
  border-radius: 999px;
  background: rgba(8, 10, 14, 0.46);
}

.page-plus .directory-pagination__page,
.page-plus .directory-pagination__arrow {
  border-color: rgba(246, 200, 95, 0.16);
  background: rgba(246, 200, 95, 0.055);
  color: rgba(255, 242, 204, 0.78);
  box-shadow: none;
}

.page-plus .directory-pagination__page {
  width: 36px;
  height: 36px;
}

.page-plus .directory-pagination__arrow {
  width: 42px;
  height: 42px;
}

.page-plus .directory-pagination__page:hover,
.page-plus .directory-pagination__arrow:hover,
.page-plus .directory-pagination__page--active {
  border-color: rgba(246, 200, 95, 0.5);
  background:
    linear-gradient(135deg, rgba(246, 200, 95, 0.22), rgba(82, 224, 196, 0.12));
  color: #fff3c8;
}

.page-plus .directory-pagination__page--active {
  box-shadow: inset 0 0 0 1px rgba(255, 243, 200, 0.12);
}

.page-plus .directory-pagination__disabled {
  opacity: 0.32;
}

body.page-compare {
  background: #090b10;
}

body.page-compare::before,
body.page-compare::after {
  opacity: 0.18;
}

body.page-compare .site-shell,
.page-compare .site-shell {
  width: min(1640px, calc(100% - 32px));
}

.compare-page {
  display: grid;
  gap: 22px;
  padding-top: 18px;
}

.compare-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  padding: 0 2px 6px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

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

.compare-hero h1 {
  max-width: 920px;
  margin: 6px 0 14px;
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  line-height: 0.95;
}

.compare-hero .lead {
  max-width: 720px;
  margin-top: 12px;
}

.compare-picker {
  display: grid;
  gap: 20px;
  padding: 28px;
  border-radius: 16px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.compare-picker::before {
  display: none;
}

.compare-picker__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.compare-choice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 82px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.compare-choice:hover {
  transform: translateY(-2px);
  border-color: rgba(82, 224, 196, 0.28);
  background: rgba(82, 224, 196, 0.08);
}

.compare-choice input {
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
}

.compare-choice:has(input:checked) {
  border-color: rgba(82, 224, 196, 0.42);
  background: rgba(82, 224, 196, 0.12);
  box-shadow: inset 0 0 0 1px rgba(82, 224, 196, 0.08);
}

.compare-choice span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.compare-choice strong,
.compare-choice small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compare-choice small {
  color: var(--muted);
  font-size: 0.78rem;
}

.compare-board {
  display: grid;
  gap: 22px;
}

.compare-card-grid {
  display: grid;
  grid-template-columns: repeat(var(--compare-columns), minmax(0, 1fr));
  gap: 22px;
}

.compare-profile-card {
  display: grid;
  align-content: start;
  gap: 18px;
  min-width: 0;
  padding: 22px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(13, 16, 22, 0.72);
  box-shadow: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.compare-profile-card::before {
  display: none;
}

.compare-profile-card:hover {
  transform: translateY(-4px);
  border-color: rgba(82, 224, 196, 0.28);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
}

.compare-profile-card__identity {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.compare-profile-card__identity .avatar {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(82, 224, 196, 0.22);
}

.compare-profile-card__identity h3 {
  font-size: 1.18rem;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.compare-profile-card__identity p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.84rem;
}

.compare-profile-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.compare-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background: rgba(13, 16, 22, 0.72);
  box-shadow: none;
}

.compare-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  table-layout: fixed;
}

.compare-table th,
.compare-table td {
  padding: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: top;
  color: #dfe8f7;
  font-size: 0.9rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.compare-table tr:last-child th,
.compare-table tr:last-child td {
  border-bottom: 0;
}

.compare-table th {
  color: #95a4b7;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: left;
  text-transform: uppercase;
}

.compare-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #111821;
  color: #f5f8fc;
}

.compare-table tbody th {
  width: 150px;
  color: #00e5d7;
  background: rgba(7, 10, 16, 0.34);
}

@media (max-width: 1180px) {
  .compare-hero {
    grid-template-columns: 1fr;
  }

  .home-video-hero {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: auto;
    padding-top: 18px;
  }

  .home-video-hero__media {
    order: 2;
  }

  .home-video-hero__copy {
    order: 1;
  }

  .home-front-stats,
  .home-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .page-plus .plus-perk-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .directory-filter-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .directory-search-field,
  .directory-game-field,
  .directory-filter-bar__actions,
  .directory-filter-bar__summary {
    grid-column: 1 / -1;
  }

  .directory-filter-bar__actions {
    justify-content: flex-start;
  }

  .page-home .directory-card-grid,
  .page-plus .directory-card-grid,
  .page-streamers .directory-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .compare-picker__grid,
  .compare-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body.page-compare .site-shell,
  body.page-clips .site-shell,
  body.page-home .site-shell,
  body.page-leaderboard .site-shell,
  body.page-news .site-shell,
  body.page-plus .site-shell,
  body.page-streamers .site-shell {
    width: min(100% - 20px, 1480px);
  }

  .compare-page,
  .clips-page-shell,
  .home-front-page,
  .leaderboard-page-shell,
  .news-page-shell,
  .plus-page-shell,
  .streamer-directory-page {
    padding-top: 8px;
  }

  .home-video-hero {
    gap: 18px;
    padding-bottom: 28px;
  }

  .home-video-hero::before {
    background-size: 58px 58px, 58px 58px, auto, auto, auto;
    transform: perspective(560px) rotateX(62deg) translateY(-22%);
  }

  .home-video-hero h1 {
    font-size: clamp(2.15rem, 10vw, 3.2rem);
  }

  .home-video-hero__pill {
    min-height: 34px;
    font-size: 0.7rem;
  }

  .home-video-hero__brand {
    left: 16px;
    top: 14px;
  }

  .home-video-hero__caption {
    left: 16px;
    bottom: 16px;
  }

  .compare-hero h1 {
    font-size: clamp(2.1rem, 11vw, 3.3rem);
  }

  .compare-picker,
  .compare-profile-card {
    padding: 18px;
  }

  .home-front-stats,
  .leaderboard-stats,
  .leaderboard-mini-grid,
  .news-article,
  .twitch-clip-grid,
  .page-home .directory-card-grid,
  .home-featured-grid,
  .page-plus .plus-perk-grid {
    grid-template-columns: 1fr;
  }

  .profile-review-form {
    grid-template-columns: 1fr;
  }

  .profile-visibility-grid {
    grid-template-columns: 1fr;
  }

  .setup-history-row,
  .profile-review-card div {
    align-items: flex-start;
    flex-direction: column;
  }

  .setup-history-row > div {
    text-align: left;
  }

  .page-plus .plus-section__copy,
  .page-plus .plus-pricing-card {
    min-height: auto;
  }

  .page-plus .plus-section__copy h2 {
    font-size: clamp(2.1rem, 11vw, 3.3rem);
  }

  .streamer-directory-heading {
    align-items: stretch;
  }

  .directory-filter-bar {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .directory-filter-bar__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .directory-filter-bar__actions .button {
    width: 100%;
  }

  .setup-lightbox {
    padding: 14px;
  }

  .setup-lightbox__nav {
    top: auto;
    bottom: 58px;
    width: 42px;
    height: 42px;
    transform: none;
  }

  .setup-lightbox__nav--prev {
    left: 18px;
  }

  .setup-lightbox__nav--next {
    right: 18px;
  }

  .page-plus .directory-card-grid,
  .page-streamers .directory-card-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .page-plus .streamer-card.directory-streamer-card,
  .page-streamers .streamer-card.directory-streamer-card,
  .directory-streamer-card__cover {
    min-height: 520px;
  }

  .directory-streamer-card__body {
    padding: 0 18px 18px;
  }

  .directory-specs {
    gap: 12px;
  }

  .directory-pagination {
    flex-wrap: wrap;
  }

  .page-compare .site-shell {
    width: min(100% - 20px, 1480px);
  }

  .compare-page {
    padding-top: 8px;
  }

  .compare-hero {
    align-items: stretch;
    flex-direction: column;
  }

  .compare-picker__grid,
  .compare-card-grid {
    grid-template-columns: 1fr;
  }

  .compare-table {
    min-width: 720px;
  }
}

@media (max-width: 760px) {
  .maintenance-panel__topline,
  .maintenance-actions,
  .maintenance-admin-hero {
    align-items: stretch;
    flex-direction: column;
  }

  .maintenance-status-grid {
    grid-template-columns: 1fr;
  }

  .maintenance-actions .button {
    width: 100%;
  }

  .role-editor-grid,
  .permission-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --topbar-height: 64px;
  }

  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-shell,
  body.page-home .site-shell,
  body.page-dashboard .site-shell,
  body.page-compare .site-shell,
  body.page-clips .site-shell,
  body.page-leaderboard .site-shell,
  body.page-news .site-shell,
  body.page-plus .site-shell,
  body.page-streamers .site-shell,
  body.page-profile .site-shell {
    width: min(100% - 16px, 1480px);
    padding-top: calc(var(--topbar-height) + 10px);
    padding-bottom: 38px;
  }

  .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: var(--topbar-height);
    padding: 0 10px;
    gap: 8px;
  }

  .brand {
    min-width: 0;
    gap: 7px;
    font-size: 0.78rem;
  }

  .brand span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand__mark {
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
  }

  .topbar__nav--center {
    display: none;
  }

  .topbar__nav--actions {
    gap: 8px;
    flex-wrap: nowrap;
  }

  .topbar__nav--actions .button {
    min-height: 40px;
    max-width: 44vw;
    padding: 0 12px;
    font-size: 0.72rem;
    white-space: nowrap;
  }

  .topbar-user__trigger {
    max-width: 46vw;
    min-height: 42px;
    padding: 4px 8px 4px 4px;
  }

  .topbar-user__copy {
    min-width: 0;
  }

  .section-heading,
  .streamer-directory-heading,
  .profile-banner__top,
  .card-actions,
  .hero__actions,
  .plus-actions,
  .social-link-grid {
    align-items: stretch;
    flex-direction: column;
  }

  .section-heading .button,
  .card-actions .button,
  .hero__actions .button,
  .plus-actions .button,
  .plus-actions .inline-form,
  .plus-actions .inline-form button {
    width: 100%;
  }

  .home-video-hero {
    grid-template-columns: 1fr;
    gap: 16px;
    min-height: auto;
    padding: 8px 0 24px;
  }

  .home-video-hero::before {
    inset: -10px calc(50% - 50vw) -1px;
    height: auto;
  }

  .home-video-hero__media {
    max-height: none;
    border-radius: 14px;
  }

  .home-video-hero__poster {
    padding: 24px;
  }

  .home-video-hero__copy {
    gap: 14px;
  }

  .home-video-hero h1,
  .page-news .streamer-directory-heading h2,
  .page-streamers .streamer-directory-heading h2,
  .leaderboard-hero h1,
  .compare-hero h1,
  .clips-page-shell > .section-heading h2,
  .page-plus .plus-section__copy h2 {
    font-size: clamp(2.05rem, 12vw, 3.2rem);
    line-height: 0.96;
  }

  .home-front-page,
  .news-page-shell,
  .clips-page-shell,
  .leaderboard-page-shell,
  .plus-page-shell,
  .streamer-directory-page,
  .compare-page {
    gap: 18px;
    padding-top: 6px;
  }

  .home-front-stats,
  .leaderboard-stats,
  .leaderboard-mini-grid,
  .home-dashboard-grid,
  .news-grid,
  .twitch-clip-grid,
  .page-home .directory-card-grid,
  .page-plus .directory-card-grid,
  .page-streamers .directory-card-grid,
  .home-featured-grid,
  .page-plus .plus-perk-grid,
  .plus-members-grid,
  .compare-picker__grid,
  .compare-card-grid,
  .profile-grid,
  .profile-workspace__grid,
  .profile-workspace__hero,
  .profile-stat-list,
  .setup-gallery,
  .media-grid,
  .form-grid,
  .form-grid--two,
  .admin-summary-grid,
  .admin-section-grid,
  .admin-page-grid {
    grid-template-columns: 1fr;
  }

  .home-dashboard-card,
  .home-dashboard-wide,
  .home-directory-list,
  .page-home .plus-section,
  .page-dashboard .plus-section,
  .page-home .home-featured-list,
  .leaderboard-board,
  .clips-board,
  .profile-clips,
  .compare-picker,
  .compare-profile-card,
  .profile-card,
  .profile-workspace__media,
  .profile-workspace__form,
  .profile-workspace__hero,
  .admin-card,
  .admin-page-header,
  .admin-overview-hero {
    padding: 18px;
    border-radius: 18px;
  }

  .home-front-stats .signal-card,
  .signal-card,
  .metric-card {
    min-height: auto;
    padding: 16px;
    border-radius: 14px;
  }

  .page-home .streamer-card.directory-streamer-card,
  .page-plus .streamer-card.directory-streamer-card,
  .page-streamers .streamer-card.directory-streamer-card,
  .page-home .home-featured-grid .directory-streamer-card,
  .directory-streamer-card__cover,
  .page-home .home-featured-grid .directory-streamer-card__cover {
    min-height: 440px;
  }

  .directory-streamer-card__badges {
    padding: 14px;
    gap: 7px;
  }

  .directory-pill {
    min-height: 24px;
    padding: 0 9px;
    font-size: 0.6rem;
  }

  .directory-streamer-card__body {
    gap: 14px;
    padding: 0 16px 16px;
  }

  .directory-streamer-card__identity {
    gap: 10px;
  }

  .directory-streamer-card__identity .avatar {
    width: 44px;
    height: 44px;
  }

  .directory-streamer-card__identity h3 {
    font-size: 1.18rem;
  }

  .directory-specs {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .directory-specs dt,
  .directory-specs dd {
    font-size: 0.68rem;
  }

  .directory-filter-bar {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0;
  }

  .directory-filter-bar__actions {
    min-width: 0;
  }

  .directory-filter-bar__actions .button,
  .directory-filter-bar input,
  .directory-filter-bar select {
    width: 100%;
  }

  .directory-pagination {
    gap: 8px;
  }

  .directory-pagination__pages {
    max-width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .directory-pagination__page {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
  }

  .directory-pagination__arrow {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
  }

  .page-plus .plus-section__hero,
  .news-article,
  .compare-hero {
    grid-template-columns: 1fr;
  }

  .page-plus .plus-section__copy,
  .page-plus .plus-pricing-card {
    min-height: auto;
  }

  .page-plus .plus-pricing-card {
    padding: 20px;
  }

  .page-plus .plus-perk-card {
    min-height: auto;
  }

  .news-article__image {
    min-height: 220px;
    aspect-ratio: 16 / 10;
  }

  .news-article__body {
    padding: 18px 0 0;
  }

  .leaderboard-table-wrap,
  .compare-table-wrap {
    margin-inline: -8px;
    border-radius: 14px;
  }

  .leaderboard-table,
  .compare-table {
    min-width: 680px;
  }

  .profile-banner--showcase {
    min-height: auto;
  }

  .page-profile .profile-hero {
    padding: 82px 18px 18px;
    gap: 18px;
  }

  .page-profile .profile-hero__identity,
  .profile-hero__identity,
  .streamer-card__identity {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-profile .profile-hero h1 {
    font-size: clamp(2.2rem, 14vw, 3.4rem);
    overflow-wrap: anywhere;
  }

  .profile-editor-tabs__nav {
    grid-template-columns: 1fr;
  }

  .profile-editor-panel,
  .profile-form-section,
  .profile-auth-settings,
  .profile-visibility-settings,
  .profile-completion-card,
  .profile-theme-settings,
  .profile-link-settings {
    padding: 16px;
    border-radius: 16px;
  }

  .setup-lightbox__frame {
    width: 100%;
  }

  .setup-lightbox__frame img,
  .setup-lightbox__frame video {
    max-height: 74dvh;
  }
}

@media (max-width: 420px) {
  .topbar__nav--actions .button,
  .topbar-user__copy span {
    display: none;
  }

  .topbar-user__trigger {
    max-width: 52vw;
  }

  .home-video-hero__brand {
    font-size: 0.8rem;
  }

  .home-video-hero__brand img {
    width: 28px;
    height: 28px;
  }

  .home-video-hero__caption {
    font-size: 0.64rem;
  }

  .page-home .streamer-card.directory-streamer-card,
  .page-plus .streamer-card.directory-streamer-card,
  .page-streamers .streamer-card.directory-streamer-card,
  .page-home .home-featured-grid .directory-streamer-card,
  .directory-streamer-card__cover,
  .page-home .home-featured-grid .directory-streamer-card__cover {
    min-height: 410px;
  }
}

body.page-dashboard:has(.dashboard-shell.admin-studio:not(.workspace-studio)) {
  --admin-red: #52e0c4;
  --admin-red-soft: rgba(82, 224, 196, 0.14);
  --admin-danger: #ff5c5c;
  --admin-blue: #52e0c4;
  --admin-bg: #14161d;
  --admin-rail: #171920;
  --admin-panel: #1b1d25;
  --admin-panel-soft: #191b22;
  --admin-line: rgba(255, 255, 255, 0.075);
  background:
    radial-gradient(circle at 8% 10%, rgba(82, 224, 196, 0.12), transparent 22%),
    radial-gradient(circle at 92% 8%, rgba(255, 190, 92, 0.08), transparent 20%),
    linear-gradient(180deg, #101219 0%, #11131a 100%);
}

body.page-admin {
  --admin-red: #52e0c4;
  --admin-red-soft: rgba(82, 224, 196, 0.14);
  --admin-danger: #ff5c5c;
  --admin-blue: #52e0c4;
  --admin-bg: #14161d;
  --admin-rail: #171920;
  --admin-panel: #1b1d25;
  --admin-panel-soft: #191b22;
  --admin-line: rgba(255, 255, 255, 0.075);
  background:
    radial-gradient(circle at 8% 10%, rgba(82, 224, 196, 0.12), transparent 22%),
    radial-gradient(circle at 92% 8%, rgba(255, 190, 92, 0.08), transparent 20%),
    linear-gradient(180deg, #101219 0%, #11131a 100%);
}

body.page-admin .site-shell {
  width: min(calc(100% - 56px), 1840px) !important;
  max-width: none !important;
  padding-top: calc(var(--topbar-height) + 12px);
  padding-bottom: 28px;
}

.site-shell.site-shell--admin {
  width: min(calc(100% - 56px), 1840px) !important;
  max-width: none !important;
  padding-top: calc(var(--topbar-height) + 12px);
  padding-bottom: 28px;
}

body.page-admin main,
.site-shell.site-shell--admin main {
  width: 100%;
  max-width: none;
}

body.page-admin .admin-shell,
.site-shell.site-shell--admin .admin-shell,
body.page-admin .dashboard-shell.admin-studio:not(.workspace-studio),
.site-shell.site-shell--admin .dashboard-shell.admin-studio:not(.workspace-studio) {
  width: 100%;
  max-width: none;
  justify-self: stretch;
  margin-inline: 0;
}

body.page-admin .admin-main,
.site-shell.site-shell--admin .admin-main {
  width: 100%;
  max-width: none;
}

body.page-dashboard:has(.dashboard-shell.admin-studio:not(.workspace-studio)) .site-shell {
  width: min(calc(100% - 56px), 1840px) !important;
  max-width: none !important;
  padding-top: calc(var(--topbar-height) + 12px);
  padding-bottom: 28px;
}

.dashboard-shell.admin-studio:not(.workspace-studio) {
  grid-template-columns: 232px minmax(0, 1fr);
  gap: 0;
  min-height: calc(100dvh - var(--topbar-height) - 40px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: var(--admin-bg);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
}

.dashboard-shell.admin-studio:not(.workspace-studio) .admin-sidebar {
  position: sticky;
  top: calc(var(--topbar-height) + 12px);
  min-height: calc(100dvh - var(--topbar-height) - 40px);
  gap: 14px;
  padding: 20px 14px 16px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  background: linear-gradient(180deg, #1a1c23, #15171e);
  box-shadow: none;
}

.dashboard-shell.admin-studio:not(.workspace-studio) .admin-sidebar__brand {
  align-items: center;
  padding: 0 2px 8px;
}

.dashboard-shell.admin-studio:not(.workspace-studio) .admin-sidebar__brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, #52e0c4, #ffbe5c);
  color: #071016;
  box-shadow: 0 14px 28px rgba(82, 224, 196, 0.2);
}

.dashboard-shell.admin-studio:not(.workspace-studio) .admin-sidebar__brand h2 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.dashboard-shell.admin-studio:not(.workspace-studio) .admin-sidebar__brand .micro-label {
  display: none;
}

.dashboard-shell.admin-studio:not(.workspace-studio) .admin-sidebar__intro {
  display: none;
}

.dashboard-shell.admin-studio:not(.workspace-studio) .admin-sidebar__nav {
  gap: 4px;
  padding-top: 10px;
}

.dashboard-shell.admin-studio:not(.workspace-studio) .admin-sidebar__nav a {
  position: relative;
  min-height: 40px;
  gap: 10px;
  padding: 9px 11px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #d9dfeb;
}

.dashboard-shell.admin-studio:not(.workspace-studio) .admin-sidebar__nav a::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 999px;
  background: transparent;
}

.dashboard-shell.admin-studio:not(.workspace-studio) .admin-sidebar__nav a:hover {
  background: rgba(255, 255, 255, 0.045);
  color: #fff;
}

.dashboard-shell.admin-studio:not(.workspace-studio) .admin-sidebar__nav a.is-active {
  background: rgba(255, 255, 255, 0.055);
  box-shadow: none;
}

.dashboard-shell.admin-studio:not(.workspace-studio) .admin-sidebar__nav a.is-active::before {
  background: var(--admin-red);
}

.dashboard-shell.admin-studio:not(.workspace-studio) .admin-sidebar__nav-icon {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: transparent;
  color: currentColor;
}

.dashboard-shell.admin-studio:not(.workspace-studio) .admin-sidebar__nav-icon svg {
  width: 16px;
  height: 16px;
}

.dashboard-shell.admin-studio:not(.workspace-studio) .admin-sidebar__nav-copy {
  gap: 0;
}

.dashboard-shell.admin-studio:not(.workspace-studio) .admin-sidebar__nav-copy span {
  display: none;
}

.dashboard-shell.admin-studio:not(.workspace-studio) .admin-sidebar__nav-copy strong {
  color: inherit;
  font-size: 0.8rem;
  font-weight: 760;
}

.dashboard-shell.admin-studio:not(.workspace-studio) .admin-sidebar__meta,
.dashboard-shell.admin-studio:not(.workspace-studio) .admin-sidebar__promo,
.dashboard-shell.admin-studio:not(.workspace-studio) .admin-sidebar__actions {
  display: none;
}

.dashboard-shell.admin-studio:not(.workspace-studio) .admin-sidebar__stats {
  margin-top: auto;
  grid-template-columns: 1fr;
  gap: 8px;
}

.dashboard-shell.admin-studio:not(.workspace-studio) .admin-sidebar__stats div {
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 9px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
}

.dashboard-shell.admin-studio:not(.workspace-studio) .admin-sidebar__stats span {
  font-size: 0.66rem;
}

.dashboard-shell.admin-studio:not(.workspace-studio) .admin-main {
  gap: 0;
  background: #1b1d25;
}

.dashboard-shell.admin-studio:not(.workspace-studio) .admin-toolbar {
  position: relative;
  top: auto;
  z-index: 3;
  grid-template-columns: minmax(150px, 240px) minmax(0, 1fr) max-content;
  gap: 14px;
  min-height: 68px;
  padding: 12px 18px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  background: rgba(27, 29, 37, 0.96);
  box-shadow: none;
  backdrop-filter: blur(16px);
}

.dashboard-shell.admin-studio:not(.workspace-studio) .admin-toolbar__copy,
.dashboard-shell.admin-studio:not(.workspace-studio) .admin-toolbar__search,
.dashboard-shell.admin-studio:not(.workspace-studio) .admin-toolbar__actions {
  min-width: 0;
}

.dashboard-shell.admin-studio:not(.workspace-studio) .admin-toolbar__copy .micro-label {
  color: #9ba6ba;
}

.dashboard-shell.admin-studio:not(.workspace-studio) .admin-toolbar__copy h1 {
  font-size: 1.02rem;
  letter-spacing: 0;
}

.dashboard-shell.admin-studio:not(.workspace-studio) .admin-toolbar__search {
  min-height: 42px;
  width: 100%;
  box-sizing: border-box;
  border-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: #20232c;
}

.dashboard-shell.admin-studio:not(.workspace-studio) .admin-toolbar__search input {
  font-size: 0.82rem;
}

.dashboard-shell.admin-studio:not(.workspace-studio) .admin-toolbar__actions {
  gap: 10px;
  flex-wrap: nowrap;
  justify-self: end;
}

.dashboard-shell.admin-studio:not(.workspace-studio) .admin-toolbar__actions .button {
  white-space: nowrap;
}

.dashboard-shell.admin-studio:not(.workspace-studio) .admin-toolbar__chip {
  min-height: 40px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.dashboard-shell.admin-studio:not(.workspace-studio) .admin-main__content {
  gap: 16px;
  padding: 18px;
}

.dashboard-shell.admin-studio:not(.workspace-studio) .admin-overview-hero,
.dashboard-shell.admin-studio:not(.workspace-studio) .admin-page-header,
.dashboard-shell.admin-studio:not(.workspace-studio) .admin-summary-card,
.dashboard-shell.admin-studio:not(.workspace-studio) .admin-section-card,
.dashboard-shell.admin-studio:not(.workspace-studio) .admin-card {
  border: 1px solid var(--admin-line);
  border-radius: 14px;
  background: #20222b;
  box-shadow: none;
}

.dashboard-shell.admin-studio:not(.workspace-studio) .admin-overview-hero,
.dashboard-shell.admin-studio:not(.workspace-studio) .admin-page-header {
  padding: 22px;
  background:
    radial-gradient(circle at 88% 10%, rgba(82, 224, 196, 0.13), transparent 30%),
    radial-gradient(circle at 72% 0%, rgba(255, 190, 92, 0.08), transparent 26%),
    linear-gradient(180deg, #20232c, #1b1d25);
}

.dashboard-shell.admin-studio:not(.workspace-studio) .admin-overview-hero h1,
.dashboard-shell.admin-studio:not(.workspace-studio) .admin-page-header h1 {
  font-size: clamp(1.85rem, 3.3vw, 3.2rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.dashboard-shell.admin-studio:not(.workspace-studio) .admin-summary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.dashboard-shell.admin-studio:not(.workspace-studio) .admin-summary-card {
  min-height: 116px;
  padding: 16px;
}

.dashboard-shell.admin-studio:not(.workspace-studio) .admin-summary-card__badge {
  border-color: rgba(82, 224, 196, 0.26);
  background: var(--admin-red-soft);
  color: #dffff9;
}

.dashboard-shell.admin-studio:not(.workspace-studio) .admin-summary-card strong {
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
}

.dashboard-shell.admin-studio:not(.workspace-studio) .admin-section-grid,
.dashboard-shell.admin-studio:not(.workspace-studio) .admin-page-grid {
  gap: 18px;
}

.dashboard-shell.admin-studio:not(.workspace-studio) .admin-alert-item,
.dashboard-shell.admin-studio:not(.workspace-studio) .admin-analytics-row,
.dashboard-shell.admin-studio:not(.workspace-studio) .admin-nav-row,
.dashboard-shell.admin-studio:not(.workspace-studio) .admin-news-item {
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 10px;
  background: #191b22;
}

.dashboard-shell.admin-studio:not(.workspace-studio) .admin-nav-row:hover,
.dashboard-shell.admin-studio:not(.workspace-studio) .admin-analytics-row:hover {
  border-color: rgba(82, 224, 196, 0.24);
  background: #20232c;
}

.admin-search-card {
  min-height: 420px;
}

.admin-search-results {
  display: grid;
  gap: 10px;
}

.admin-search-result {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(10, 12, 18, 0.34);
  color: var(--text);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.admin-search-result:hover {
  transform: translateY(-1px);
  border-color: rgba(82, 224, 196, 0.24);
  background: rgba(82, 224, 196, 0.07);
}

.admin-search-result strong,
.admin-search-result p {
  overflow-wrap: anywhere;
}

.dashboard-shell.admin-studio:not(.workspace-studio) .admin-list-table-wrap,
.dashboard-shell.admin-studio:not(.workspace-studio) .admin-card--table .table-wrap,
.dashboard-shell.admin-studio:not(.workspace-studio) .table-wrap {
  border-radius: 12px;
  border-color: rgba(255, 255, 255, 0.07);
  background: #181a21;
}

.dashboard-shell.admin-studio:not(.workspace-studio) .admin-list-table th,
.dashboard-shell.admin-studio:not(.workspace-studio) .admin-list-table td {
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.dashboard-shell.admin-studio:not(.workspace-studio) .admin-list-table th {
  color: #aeb8ca;
  background: #1e2028;
}

.dashboard-shell.admin-studio:not(.workspace-studio) .admin-list-table tbody tr:hover td {
  background: rgba(82, 224, 196, 0.045);
}

.dashboard-shell.admin-studio:not(.workspace-studio) .admin-list-avatar {
  border-radius: 10px;
}

.dashboard-shell.admin-studio:not(.workspace-studio) .admin-list-avatar--fallback {
  background: linear-gradient(135deg, #52e0c4, #ffbe5c);
  color: #071016;
}

.dashboard-shell.admin-studio:not(.workspace-studio) .admin-list-badge--info {
  border-color: rgba(82, 224, 196, 0.3);
  background: rgba(82, 224, 196, 0.14);
  color: #dffff9;
}

.dashboard-shell.admin-studio:not(.workspace-studio) .button {
  border-radius: 9px;
}

.dashboard-shell.admin-studio:not(.workspace-studio) .button:not(.button--ghost):not(.button--danger) {
  background: linear-gradient(135deg, #52e0c4, #26b7d0);
  color: #071016;
  box-shadow: 0 14px 26px rgba(82, 224, 196, 0.18);
}

.dashboard-shell.admin-studio:not(.workspace-studio) .button--danger {
  background: linear-gradient(135deg, var(--admin-danger), #d93f4c);
}

body.page-dashboard:has(.dashboard-shell.admin-studio.workspace-studio) .site-shell {
  width: min(100% - 28px, 1840px);
  max-width: none;
  padding-top: calc(var(--topbar-height) + 12px);
  padding-bottom: 28px;
}

.dashboard-shell.admin-studio.workspace-studio {
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 0;
  min-height: calc(100dvh - var(--topbar-height) - 72px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background:
    radial-gradient(circle at 24% 0%, rgba(82, 224, 196, 0.09), transparent 30%),
    linear-gradient(180deg, rgba(22, 24, 31, 0.98), rgba(15, 17, 23, 0.98));
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
}

.dashboard-shell.admin-studio.workspace-studio .admin-sidebar {
  position: sticky;
  top: calc(var(--topbar-height) + 12px);
  min-height: calc(100dvh - var(--topbar-height) - 40px);
  width: auto;
  gap: 14px;
  padding: 20px 14px 16px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  background:
    radial-gradient(circle at 0% 8%, rgba(82, 224, 196, 0.12), transparent 30%),
    linear-gradient(180deg, #191c23, #12151b);
  box-shadow: none;
}

.dashboard-shell.admin-studio.workspace-studio .admin-sidebar__brand {
  align-items: center;
}

.dashboard-shell.admin-studio.workspace-studio .admin-sidebar__brand h2 {
  font-size: 1.28rem;
  letter-spacing: 0;
}

.dashboard-shell.admin-studio.workspace-studio .admin-sidebar__brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #52e0c4, #4f8cff);
  color: #071016;
  box-shadow: 0 16px 34px rgba(82, 224, 196, 0.2);
}

.dashboard-shell.admin-studio.workspace-studio .admin-sidebar__intro,
.dashboard-shell.admin-studio.workspace-studio .admin-sidebar__meta,
.dashboard-shell.admin-studio.workspace-studio .admin-sidebar__promo {
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  padding: 12px;
}

.dashboard-shell.admin-studio.workspace-studio .admin-sidebar__stats {
  grid-template-columns: 1fr;
  gap: 8px;
}

.dashboard-shell.admin-studio.workspace-studio .admin-sidebar__stats div {
  grid-template-columns: 1fr;
  min-width: 0;
  padding: 10px 12px;
}

.dashboard-shell.admin-studio.workspace-studio .admin-sidebar__stats span {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.dashboard-shell.admin-studio.workspace-studio .admin-sidebar__stats strong {
  font-size: 0.9rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.dashboard-shell.admin-studio.workspace-studio .admin-sidebar__promo {
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 190, 92, 0.14), transparent 40%),
    rgba(82, 224, 196, 0.055);
}

.dashboard-shell.admin-studio.workspace-studio .admin-main {
  min-width: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    #181b23;
  background-size: 64px 64px;
}

.dashboard-shell.admin-studio.workspace-studio .admin-toolbar {
  position: relative;
  top: auto;
  grid-template-columns: minmax(150px, 240px) minmax(0, 1fr) max-content;
  gap: 14px;
  min-height: 68px;
  padding: 12px 18px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  background: rgba(27, 29, 37, 0.96);
  box-shadow: none;
}

.dashboard-shell.admin-studio.workspace-studio .admin-toolbar__copy,
.dashboard-shell.admin-studio.workspace-studio .admin-toolbar__search,
.dashboard-shell.admin-studio.workspace-studio .admin-toolbar__actions {
  min-width: 0;
}

.dashboard-shell.admin-studio.workspace-studio .admin-toolbar__search {
  width: 100%;
  min-height: 42px;
  box-sizing: border-box;
  border-radius: 8px;
  background: #20232c;
}

.dashboard-shell.admin-studio.workspace-studio .admin-toolbar__actions {
  flex-wrap: nowrap;
  justify-self: end;
}

.dashboard-shell.admin-studio.workspace-studio .admin-toolbar__actions .button {
  white-space: nowrap;
}

.dashboard-shell.admin-studio.workspace-studio .admin-main__content {
  gap: 18px;
  padding: 24px;
}

.dashboard-shell.admin-studio.workspace-studio .workspace-hero-card,
.dashboard-shell.admin-studio.workspace-studio .workspace-content-card {
  border-radius: 18px;
  border-color: rgba(255, 255, 255, 0.075);
  box-shadow: none;
}

.dashboard-shell.admin-studio.workspace-studio .workspace-hero-card {
  min-height: 190px;
  align-content: center;
  background:
    radial-gradient(circle at 88% 18%, rgba(82, 224, 196, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(22, 41, 45, 0.92), rgba(26, 30, 38, 0.95));
}

.dashboard-shell.admin-studio.workspace-studio .workspace-hero-card h1 {
  max-width: 860px;
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.dashboard-shell.admin-studio.workspace-studio .workspace-content-card {
  max-width: 1120px;
  background:
    radial-gradient(circle at 90% 12%, rgba(82, 224, 196, 0.08), transparent 32%),
    rgba(10, 13, 18, 0.64);
}

.dashboard-shell.admin-studio.workspace-studio .application-state {
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dashboard-shell.admin-studio.workspace-studio .application-state + .section-heading {
  margin-top: 6px;
}

.dashboard-shell.admin-studio.workspace-studio .profile-auth-card {
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(82, 224, 196, 0.1), transparent 32%),
    rgba(15, 19, 25, 0.78);
}

.dashboard-shell.admin-studio.workspace-studio .profile-workspace__grid {
  grid-template-columns: minmax(320px, 0.36fr) minmax(0, 0.64fr);
  gap: 18px;
}

.dashboard-shell.admin-studio.workspace-studio .profile-workspace__media,
.dashboard-shell.admin-studio.workspace-studio .profile-workspace__form,
.dashboard-shell.admin-studio.workspace-studio .profile-workspace__hero {
  border-radius: 16px;
}

@media (max-width: 1180px) {
  .dashboard-shell.admin-studio:not(.workspace-studio) {
    grid-template-columns: 1fr;
    border-radius: 16px;
  }

  .dashboard-shell.admin-studio.workspace-studio {
    grid-template-columns: 1fr;
  }

  .dashboard-shell.admin-studio.workspace-studio .admin-sidebar {
    position: static;
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .dashboard-shell.admin-studio.workspace-studio .admin-sidebar__nav {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .dashboard-shell.admin-studio.workspace-studio .admin-sidebar__nav a {
    flex: 0 0 auto;
  }

  .dashboard-shell.admin-studio.workspace-studio .profile-workspace__grid {
    grid-template-columns: 1fr;
  }

  .dashboard-shell.admin-studio:not(.workspace-studio) .admin-sidebar {
    position: static;
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .dashboard-shell.admin-studio:not(.workspace-studio) .admin-sidebar__nav {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .dashboard-shell.admin-studio:not(.workspace-studio) .admin-sidebar__nav a {
    flex: 0 0 auto;
  }

  .dashboard-shell.admin-studio:not(.workspace-studio) .admin-sidebar__nav a::before {
    display: none;
  }

  .dashboard-shell.admin-studio:not(.workspace-studio) .admin-sidebar__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dashboard-shell.admin-studio:not(.workspace-studio) .admin-toolbar,
  .dashboard-shell.admin-studio:not(.workspace-studio) .admin-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-shell.site-shell--admin,
  body.page-admin .site-shell,
  body.page-dashboard:has(.dashboard-shell.admin-studio.workspace-studio) .site-shell,
  body.page-dashboard:has(.dashboard-shell.admin-studio:not(.workspace-studio)) .site-shell {
    width: min(100% - 14px, 1840px);
    padding-top: calc(var(--topbar-height) + 8px);
    padding-bottom: 18px;
  }

  .dashboard-shell.admin-studio:not(.workspace-studio) {
    min-height: auto;
  }

  .dashboard-shell.admin-studio.workspace-studio {
    min-height: auto;
  }

  .dashboard-shell.admin-studio.workspace-studio .admin-sidebar,
  .dashboard-shell.admin-studio.workspace-studio .admin-main__content,
  .dashboard-shell.admin-studio:not(.workspace-studio) .admin-sidebar,
  .dashboard-shell.admin-studio:not(.workspace-studio) .admin-main__content {
    padding: 14px;
  }

  .dashboard-shell.admin-studio.workspace-studio .admin-toolbar,
  .dashboard-shell.admin-studio:not(.workspace-studio) .admin-toolbar,
  .dashboard-shell.admin-studio:not(.workspace-studio) .admin-summary-grid,
  .dashboard-shell.admin-studio:not(.workspace-studio) .admin-section-grid,
  .dashboard-shell.admin-studio:not(.workspace-studio) .admin-page-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-shell.admin-studio.workspace-studio .admin-toolbar,
  .dashboard-shell.admin-studio:not(.workspace-studio) .admin-toolbar {
    position: static;
    min-height: auto;
    padding: 14px;
  }

  .dashboard-shell.admin-studio:not(.workspace-studio) .admin-overview-hero,
  .dashboard-shell.admin-studio:not(.workspace-studio) .admin-page-header,
  .dashboard-shell.admin-studio:not(.workspace-studio) .admin-summary-card,
  .dashboard-shell.admin-studio:not(.workspace-studio) .admin-section-card,
  .dashboard-shell.admin-studio:not(.workspace-studio) .admin-card {
    padding: 16px;
  }

  .dashboard-shell.admin-studio:not(.workspace-studio) .admin-overview-hero h1,
  .dashboard-shell.admin-studio:not(.workspace-studio) .admin-page-header h1 {
    font-size: clamp(2rem, 13vw, 3rem);
  }

  .dashboard-shell.admin-studio:not(.workspace-studio) .admin-sidebar__stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .topbar {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 0 10px;
  }

  .topbar__nav--actions {
    justify-content: flex-end;
    min-width: 0;
  }

  .topbar-user {
    justify-self: end;
    max-width: min(190px, calc(100vw - 84px));
  }

  .topbar-user__trigger {
    max-width: 100%;
  }

  .topbar-user__copy span {
    display: none;
  }

  .topbar-user__menu {
    left: auto;
    right: 10px;
    width: min(260px, calc(100vw - 20px));
    max-height: min(430px, calc(100dvh - var(--topbar-height) - 18px));
    border-radius: 16px;
  }

  .page-profile .profile-hero {
    grid-template-columns: 1fr;
    justify-items: start;
    align-items: start;
    width: 100%;
  }

  .page-profile .profile-hero__content,
  .page-profile .profile-hero__identity,
  .page-profile .profile-hero__copy,
  .page-profile .profile-hero__meta {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .page-profile .profile-hero__meta {
    justify-self: stretch;
    justify-items: start;
    align-content: start;
  }

  .page-profile .profile-hero__meta .card-actions {
    justify-content: flex-start;
    width: 100%;
  }
}

html[data-site-theme="light"] {
  --studio-panel: rgba(255, 255, 255, 0.9);
  --studio-panel-strong: rgba(255, 255, 255, 0.96);
  --studio-field: rgba(255, 255, 255, 0.78);
  --studio-field-hover: rgba(255, 255, 255, 0.92);
  --admin-bg: #f5f8fc;
  --admin-panel-soft: #ffffff;
  --admin-red-soft: rgba(255, 107, 107, 0.12);
}

html[data-site-theme="light"] body::before {
  background-image:
    linear-gradient(rgba(17, 31, 48, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 31, 48, 0.035) 1px, transparent 1px);
}

html[data-site-theme="light"] body::after {
  background:
    linear-gradient(120deg, rgba(12, 159, 140, 0.06), transparent 24%, transparent 76%, rgba(196, 122, 19, 0.06));
}

html[data-site-theme="light"] :where(
  .panel-soft,
  .panel-solid,
  .admin-card,
  .profile-card,
  .admin-summary-card,
  .admin-section-card,
  .workspace-hero-card,
  .workspace-content-card,
  .dashboard-stack > .panel-soft,
  .dashboard-shell,
  .auth-shell,
  .profile-shell,
  .section-block,
  .narrow,
  .streamer-card,
  .application-card,
  .metric-card,
  .signal-card,
  .home-dashboard-card,
  .plus-pricing-card,
  .plus-perk-card,
  .live-embed-card,
  .live-chat-card,
  .setup-history-card,
  .profile-review-card,
  .profile-auth-card,
  .setup-showcase-card,
  .setup-shot-card,
  .news-card,
  .twitch-clip-card,
  .compare-profile-card,
  .directory-streamer-card,
  .profile-completion-card,
  .spec-list__item,
  .social-link,
  .admin-alert-item,
  .admin-search-card,
  .role-editor-card,
  .maintenance-admin-card,
  .site-location-card,
  .setup-history-row,
  .profile-editor-tabs__nav label,
  .profile-form-section,
  .live-meta-card,
  .hex-work-card,
  .hex-chat-shell,
  .hex-chat-thread,
  .hex-chat-composer,
  .hex-chat-empty
) {
  border-color: rgba(17, 31, 48, 0.12) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 252, 0.88)) !important;
  color: var(--text) !important;
  box-shadow: 0 18px 46px rgba(30, 48, 68, 0.1) !important;
}

html[data-site-theme="light"] :where(
  input,
  textarea,
  select,
  .admin-toolbar__search,
  .filter-field,
  .search-field,
  .table-wrap,
  .admin-list-table,
  .profile-editor-tabs__nav,
  .topbar-user__trigger,
  .topbar-user__menu,
  .language-switcher summary,
  .language-switcher__menu,
  .notice,
  .tag,
  .badge,
  .admin-list-badge,
  .platform-pill,
  .setup-history-card__status,
  .setup-history-card__icon,
  .profile-editor-tabs__panels,
  .profile-theme-settings,
  .profile-theme-grid,
  .profile-auth-card--connected,
  .directory-filter-bar,
  .clip-card-actions,
  .admin-sidebar,
  .admin-main,
  .admin-overview-hero,
  .admin-page-header
) {
  border-color: rgba(17, 31, 48, 0.12) !important;
  background: rgba(255, 255, 255, 0.76) !important;
  color: var(--text) !important;
}

html[data-site-theme="light"] :where(
  .muted,
  .small-text,
  .platform-note,
  .micro-label,
  .topbar-user__copy span,
  .site-footer p,
  .site-footer__nav span,
  .setup-history-card small,
  .profile-review-card small,
  .news-card__meta,
  .directory-streamer-card__identity p,
  .compare-profile-card__identity p
) {
  color: var(--muted) !important;
}

html[data-site-theme="light"] :where(
  h1,
  h2,
  h3,
  h4,
  strong,
  label span,
  th,
  td,
  .brand,
  .topbar-user__copy strong,
  .spec-list__item strong,
  .setup-history-card p,
  .directory-streamer-card__identity h3,
  .compare-profile-card__identity h3
) {
  color: var(--text) !important;
}

html[data-site-theme="light"] :where(.button, button.button) {
  border-color: rgba(12, 159, 140, 0.28);
}

html[data-site-theme="light"] :where(.button--ghost, .button--small.button--ghost) {
  background: rgba(255, 255, 255, 0.72) !important;
  color: var(--text) !important;
}

html[data-site-theme="light"] :where(table, thead, tbody, tr, th, td) {
  border-color: rgba(17, 31, 48, 0.1) !important;
}

html[data-site-theme="light"] :where(.site-footer, .topbar) {
  border-color: rgba(17, 31, 48, 0.1);
  background: rgba(255, 255, 255, 0.88) !important;
  color: var(--text);
}

html[data-site-theme="light"] :where(.setup-lightbox, .equipment-image-lightbox) {
  background: rgba(245, 248, 252, 0.92) !important;
}

html[data-site-theme="light"] :where(
  [class*="card"],
  [class*="panel"],
  [class*="shell"],
  [class*="toolbar"],
  [class*="table"],
  [class*="row"],
  [class*="item"],
  [class*="section"],
  [class*="list"],
  [class*="grid"],
  [class*="menu"],
  [class*="modal"],
  [class*="editor"],
  [class*="history"],
  [class*="summary"],
  [class*="auth"],
  [class*="workspace"],
  [class*="dashboard"],
  [class*="admin"],
  [class*="profile"],
  [class*="directory"],
  [class*="compare"],
  [class*="clip"],
  [class*="news"],
  [class*="plus"],
  [class*="hex"]
):not([class*="avatar"]):not([class*="logo"]):not([class*="mark"]):not([class*="icon"]):not([class*="media"]):not([class*="image"]):not([class*="shot"]):not([class*="cover"]):not([class*="shade"]):not([class*="video"]):not([class*="lightbox"]) {
  border-color: rgba(17, 31, 48, 0.12) !important;
  color: var(--text) !important;
}

html[data-site-theme="light"] :where(
  [class*="card"],
  [class*="panel"],
  [class*="toolbar"],
  [class*="table"],
  [class*="row"],
  [class*="item"],
  [class*="section"],
  [class*="menu"],
  [class*="editor"],
  [class*="history"],
  [class*="summary"],
  [class*="auth"],
  [class*="workspace"],
  [class*="dashboard"],
  [class*="admin"],
  [class*="profile"]
):not([class*="avatar"]):not([class*="logo"]):not([class*="mark"]):not([class*="icon"]):not([class*="media"]):not([class*="image"]):not([class*="shot"]):not([class*="cover"]):not([class*="shade"]):not([class*="video"]):not([class*="lightbox"]) {
  background-color: rgba(255, 255, 255, 0.74) !important;
}

html[data-site-theme="light"] :where(
  [style*="rgba(12, 14, 19"],
  [style*="rgba(8, 13, 22"],
  [style*="#0c0e13"],
  [style*="#090b10"],
  [style*="#05070b"]
) {
  background: rgba(255, 255, 255, 0.84) !important;
  color: var(--text) !important;
}

html[data-site-theme="light"] :where(.directory-streamer-card__shade, .hex-work-card__shade, .twitch-clip-card__media span) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(17, 31, 48, 0.5)) !important;
}

html[data-site-theme="light"] :where(.setup-history-timeline button)::after {
  background: #ffffff !important;
}

html[data-site-theme="light"] :where(.profile-editor-tabs__input:checked + label, .profile-editor-tabs__nav label:hover) {
  background: rgba(12, 159, 140, 0.12) !important;
}

html[data-site-theme="light"] .site-footer {
  margin-top: 72px;
  background:
    radial-gradient(circle at 18% 0%, rgba(12, 159, 140, 0.08), transparent 28%),
    linear-gradient(180deg, #f7fafc, #eef4f8) !important;
  border-top: 1px solid rgba(17, 31, 48, 0.1) !important;
  color: #506277 !important;
}

html[data-site-theme="light"] .site-footer__main,
html[data-site-theme="light"] .site-footer__bottom {
  width: min(1080px, calc(100% - 56px));
}

html[data-site-theme="light"] .site-footer__brand,
html[data-site-theme="light"] .site-footer__nav,
html[data-site-theme="light"] .site-footer__bottom,
html[data-site-theme="light"] .site-footer__socials {
  background: transparent !important;
  border-color: rgba(17, 31, 48, 0.1) !important;
  box-shadow: none !important;
}

html[data-site-theme="light"] .site-footer .brand,
html[data-site-theme="light"] .site-footer .footer-brand,
html[data-site-theme="light"] .site-footer .footer-brand span:last-child {
  color: #101827 !important;
  -webkit-text-fill-color: #101827 !important;
}

html[data-site-theme="light"] .site-footer__brand p {
  color: #506277 !important;
}

html[data-site-theme="light"] .site-footer__nav span {
  color: #6b7d92 !important;
}

html[data-site-theme="light"] .site-footer__nav a,
html[data-site-theme="light"] .site-footer__bottom a {
  color: #203047 !important;
}

html[data-site-theme="light"] .site-footer__nav a:hover,
html[data-site-theme="light"] .site-footer__bottom a:hover {
  color: var(--accent) !important;
}

html[data-site-theme="light"] .site-footer__bottom {
  color: #6b7d92 !important;
  border-top: 1px solid rgba(17, 31, 48, 0.12) !important;
}

html[data-site-theme="light"] .site-footer__social-link {
  border: 1px solid rgba(17, 31, 48, 0.12) !important;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.86), transparent 42%),
    rgba(255, 255, 255, 0.9) !important;
  color: #203047 !important;
  box-shadow: 0 10px 24px rgba(30, 48, 68, 0.12) !important;
}

html[data-site-theme="light"] .site-footer__social-link:hover {
  border-color: rgba(12, 159, 140, 0.42) !important;
  background: linear-gradient(135deg, #e7fffb, #ffffff) !important;
  color: var(--accent-strong) !important;
}

html[data-site-theme="light"] body:not(.page-home) :where(
  .hero,
  .hero__panel,
  .dashboard-shell,
  .auth-shell,
  .profile-shell,
  .application-state,
  .empty-state,
  .table-wrap,
  .leaderboard-table-wrap,
  .compare-table-wrap,
  .directory-empty-state,
  .live-summary,
  .platform-stack,
  .platform-pill,
  .admin-sidebar,
  .admin-main,
  .admin-toolbar,
  .admin-overview-hero,
  .admin-page-header,
  .admin-list-table-wrap,
  .workspace-hero-card,
  .workspace-content-card,
  .profile-workspace__media,
  .profile-workspace__form,
  .profile-workspace__hero,
  .admin-sidebar__intro,
  .admin-sidebar__meta,
  .admin-sidebar__promo,
  .admin-sidebar__stats div,
  .admin-sidebar__nav a,
  .admin-toolbar__copy,
  .admin-toolbar__search,
  .admin-toolbar__actions,
  .admin-alert-item,
  .admin-analytics-row,
  .admin-nav-row,
  .admin-news-item
) {
  border-color: rgba(17, 31, 48, 0.12) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(247, 250, 252, 0.9)) !important;
  color: var(--text) !important;
  box-shadow: 0 18px 46px rgba(30, 48, 68, 0.1) !important;
}

html[data-site-theme="light"] body:not(.page-home) :where(
  .admin-list-table th,
  .admin-list-table td,
  .leaderboard-table th,
  .leaderboard-table td,
  .compare-table th,
  .compare-table td,
  .admin-card--table .table-wrap,
  .admin-list-table tbody tr:hover td
) {
  border-color: rgba(17, 31, 48, 0.1) !important;
  background: rgba(255, 255, 255, 0.78) !important;
  color: var(--text) !important;
}

html[data-site-theme="light"] body:not(.page-home) :where(
  .profile-hero,
  .profile-hero__identity,
  .profile-hero__meta,
  .profile-hero__details,
  .profile-banner,
  .profile-banner__top,
  .profile-stat-card,
  .profile-sidebar-card,
  .public-profile-showcase .profile-card,
  .public-profile-showcase .panel-soft
) {
  border-color: rgba(17, 31, 48, 0.12) !important;
  background:
    radial-gradient(circle at top right, rgba(12, 159, 140, 0.1), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(247, 250, 252, 0.9)) !important;
  color: var(--text) !important;
}

html[data-site-theme="light"] body.page-home :where(
  .home-video-hero,
  .home-video-hero *,
  .home-video-hero::before,
  .home-video-hero::after
) {
  color: inherit;
}

html[data-site-theme="light"] body.page-home .home-video-hero h1 {
  color: #f5f8fc !important;
  -webkit-text-fill-color: initial !important;
}

html[data-site-theme="light"] body.page-home .home-video-hero .lead {
  color: rgba(245, 248, 252, 0.78) !important;
}

html[data-site-theme="light"] body {
  background:
    radial-gradient(circle at 14% 8%, rgba(12, 159, 140, 0.12), transparent 22%),
    radial-gradient(circle at 86% 10%, rgba(196, 122, 19, 0.1), transparent 20%),
    linear-gradient(180deg, #f7fafc 0%, #eef4f8 48%, #f7fafc 100%) !important;
}

html[data-site-theme="light"] :where(
  section,
  article,
  aside,
  form,
  fieldset,
  table,
  thead,
  tbody,
  tr,
  th,
  td,
  label,
  details,
  summary,
  dialog,
  .panel-soft,
  .panel-solid,
  .notice,
  .empty-state,
  .application-state,
  .dashboard-shell,
  .auth-shell,
  .profile-shell,
  .section-block,
  .narrow,
  .card-actions,
  .badge-row,
  .table-wrap,
  .admin-list-table-wrap,
  .leaderboard-table-wrap,
  .compare-table-wrap,
  .directory-filter-bar,
  .directory-empty-state,
  .profile-editor-tabs__nav,
  .profile-editor-tabs__panels,
  .profile-editor-panel,
  .profile-form-section,
  .profile-theme-settings,
  .profile-theme-grid,
  .profile-auth-card,
  .profile-completion-card,
  .profile-banner,
  .profile-banner__top,
  .profile-hero,
  .profile-hero__identity,
  .profile-hero__meta,
  .profile-hero__details,
  .platform-stack,
  .platform-pill,
  .live-summary,
  .admin-sidebar,
  .admin-main,
  .admin-toolbar,
  .admin-toolbar__copy,
  .admin-toolbar__search,
  .admin-toolbar__actions,
  .admin-overview-hero,
  .admin-page-header,
  .admin-summary-card,
  .admin-section-card,
  .admin-card,
  .admin-alert-item,
  .admin-analytics-row,
  .admin-nav-row,
  .admin-news-item,
  .workspace-hero-card,
  .workspace-content-card,
  .profile-workspace__media,
  .profile-workspace__form,
  .profile-workspace__hero,
  .streamer-card,
  .directory-streamer-card,
  .application-card,
  .metric-card,
  .signal-card,
  .home-dashboard-card,
  .plus-pricing-card,
  .plus-perk-card,
  .live-embed-card,
  .live-chat-card,
  .setup-history-card,
  .profile-review-card,
  .setup-showcase-card,
  .setup-shot-card,
  .news-card,
  .twitch-clip-card,
  .compare-profile-card,
  .spec-list__item,
  .social-link,
  .hex-work-card,
  .hex-chat-shell,
  .hex-chat-thread,
  .hex-chat-composer,
  [class*="panel"],
  [class*="card"],
  [class*="table"],
  [class*="toolbar"],
  [class*="dropdown"],
  [class*="popover"],
  [class*="modal"]
):not(.home-video-hero):not(.home-video-hero *):not(.theme-switcher):not(.theme-switcher *):not(.brand__mark):not(.brand__mark *):not(.avatar):not(.avatar *):not([class*="avatar"]):not([class*="logo"]):not([class*="mark"]):not([class*="icon"]):not([class*="flag"]):not([class*="media"]):not([class*="image"]):not([class*="shot"]):not([class*="cover"]):not([class*="shade"]):not([class*="video"]):not([class*="lightbox"]) {
  border-color: rgba(17, 31, 48, 0.12) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 252, 0.9)) !important;
  color: var(--text) !important;
  box-shadow: 0 14px 34px rgba(30, 48, 68, 0.08) !important;
}

html[data-site-theme="light"] :where(
  input,
  textarea,
  select,
  option,
  .admin-toolbar__search input,
  .filter-field input,
  .filter-field select,
  .search-field input
):not(.home-video-hero *) {
  border-color: rgba(17, 31, 48, 0.14) !important;
  background: #ffffff !important;
  color: var(--text) !important;
}

html[data-site-theme="light"] :where(
  .topbar-user__menu,
  .language-switcher__menu,
  .topbar-user__item,
  .language-switcher__menu button,
  .admin-sidebar__nav a,
  .profile-editor-tabs__nav label
):not(.home-video-hero *) {
  border-color: rgba(17, 31, 48, 0.12) !important;
  background: rgba(255, 255, 255, 0.94) !important;
  color: var(--text) !important;
}

html[data-site-theme="light"] :where(
  .topbar-user__item:hover,
  .language-switcher__menu button:hover,
  .language-switcher__menu button[aria-current="true"],
  .admin-sidebar__nav a:hover,
  .admin-sidebar__nav a.is-active,
  .profile-editor-tabs__nav label:hover
):not(.home-video-hero *) {
  background: rgba(12, 159, 140, 0.1) !important;
  color: var(--text) !important;
}

html[data-site-theme="light"] :where(
  p,
  small,
  span,
  em,
  dt,
  dd,
  li,
  .muted,
  .lead,
  .small-text,
  .platform-note,
  .micro-label
):not(.home-video-hero *):not(.topbar *):not(.site-footer *) {
  color: #5e7086 !important;
}

html[data-site-theme="light"] :where(
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  strong,
  th,
  td,
  label span
):not(.home-video-hero *):not(.topbar *) {
  color: var(--text) !important;
}

html[data-site-theme="light"] :where(
  [style*="background: #0"],
  [style*="background:#0"],
  [style*="background-color: #0"],
  [style*="background-color:#0"],
  [style*="rgba(3, 6, 12"],
  [style*="rgba(4, 7, 12"],
  [style*="rgba(5, 7, 11"],
  [style*="rgba(7, 10, 16"],
  [style*="rgba(8, 12, 20"],
  [style*="rgba(12, 14, 19"],
  [style*="rgba(13, 16, 22"]
):not(.home-video-hero):not(.home-video-hero *) {
  background: rgba(255, 255, 255, 0.94) !important;
  color: var(--text) !important;
}

html[data-site-theme="light"] .light-theme-scrubbed:not(.home-video-hero):not(.home-video-hero *):not(img):not(video):not(canvas):not(svg):not(path) {
  border-color: rgba(17, 31, 48, 0.12) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 252, 0.9)) !important;
  color: var(--text) !important;
  box-shadow: 0 14px 34px rgba(30, 48, 68, 0.08) !important;
}

html[data-site-theme="light"] .light-theme-text-fixed:not(.home-video-hero):not(.home-video-hero *) {
  color: var(--text) !important;
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.guide-sidebar,
.guide-document {
  border: 1px solid var(--line);
  background: var(--panel-soft);
  box-shadow: var(--shadow-md);
}

.guide-sidebar {
  position: sticky;
  top: calc(var(--topbar-height) + 20px);
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 10px;
}

.guide-sidebar__brand {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
}

.guide-sidebar nav {
  display: grid;
  gap: 6px;
}

.guide-sidebar nav a {
  padding: 9px 10px;
  border-radius: 7px;
  color: var(--muted);
  font-weight: 800;
}

.guide-sidebar nav a:hover,
.guide-sidebar nav a.is-active {
  color: var(--text);
  background: var(--panel-muted);
}

.guide-document {
  min-width: 0;
  padding: clamp(22px, 4vw, 54px);
  border-radius: 10px;
}

.guide-document__header {
  display: grid;
  gap: 10px;
  padding-bottom: 22px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.guide-document__body {
  display: grid;
  gap: 18px;
  max-width: 820px;
}

.guide-document__body h2 {
  margin-top: 10px;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.guide-document__body p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.guide-callout {
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--text);
  font-weight: 800;
  line-height: 1.6;
}

.guide-image {
  margin: 0;
}

.guide-image a {
  display: block;
  cursor: zoom-in;
}

.guide-video {
  margin: 0;
}

.guide-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.guide-video video {
  display: block;
  width: 100%;
  max-height: 520px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #05070d;
}

.guide-button-row {
  margin: 0;
}

.guide-link-button {
  width: fit-content;
}

.guide-code {
  margin: 0;
  padding: 16px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(2, 6, 12, 0.74);
  color: #e8f2ff;
}

.guide-checklist {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.guide-checklist li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  line-height: 1.55;
}

.guide-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 18px;
  aspect-ratio: 1;
  border-radius: 5px;
  background: var(--accent);
  box-shadow: inset 0 0 0 5px color-mix(in srgb, var(--accent) 25%, var(--panel-strong));
}

.guide-admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 18px;
  align-items: start;
}

.guide-builder {
  display: grid;
  gap: 18px;
}

.guide-builder__workspace {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.guide-block-palette {
  position: sticky;
  top: 82px;
  display: grid;
  gap: 8px;
}

.guide-block-palette button,
.guide-block-editor__handle,
.guide-block-editor__remove {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel-muted);
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
}

.guide-block-palette button:hover,
.guide-block-editor__handle:hover,
.guide-block-editor__remove:hover {
  border-color: var(--line-strong);
}

.guide-block-palette button {
  cursor: grab;
}

.guide-block-palette button:active,
.guide-block-palette button.is-dragging-from-palette,
.guide-block-editor.is-dragging .guide-block-editor__handle {
  cursor: grabbing;
}

.guide-builder__canvas {
  display: grid;
  gap: 10px;
  min-height: 240px;
  padding: 12px;
  border: 1px dashed var(--line-strong);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
}

.guide-block-editor {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
}

.guide-block-editor.is-dragging {
  opacity: 0.55;
}

.guide-block-editor header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.guide-block-editor header strong {
  flex: 1;
}

.guide-block-editor__handle,
.guide-block-editor__remove {
  width: auto;
  padding: 0 10px;
}

.guide-block-editor__handle {
  cursor: grab;
}

.guide-block-editor input,
.guide-block-editor textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  padding: 11px 12px;
  font: inherit;
}

.guide-block-editor textarea {
  min-height: 100px;
  resize: vertical;
}

.guide-block-editor__button-fields {
  display: grid;
  grid-template-columns: minmax(150px, 0.42fr) minmax(0, 1fr);
  gap: 10px;
}

.guide-block-editor__button-fields label {
  display: grid;
  gap: 6px;
}

.guide-block-editor__button-fields span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.guide-block-editor__media-fields {
  display: grid;
  gap: 8px;
}

.guide-block-editor__upload {
  display: inline-grid;
  width: fit-content;
  min-height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel-muted);
  color: var(--text);
  padding: 0 12px;
  font-weight: 800;
  cursor: pointer;
}

.guide-block-editor__upload:hover {
  border-color: var(--line-strong);
}

.guide-block-editor__upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.guide-block-editor__media-fields small {
  color: var(--muted);
  font-weight: 700;
}

.guide-block-editor__media-fields small[data-state="error"] {
  color: var(--danger);
}

.guide-page-row .admin-news-item__actions {
  min-width: 180px;
}

@media (max-width: 900px) {
  .guide-layout,
  .guide-admin-layout,
  .guide-builder__workspace {
    grid-template-columns: 1fr;
  }

  .guide-sidebar,
  .guide-block-palette {
    position: static;
  }

  .guide-block-editor__button-fields {
    grid-template-columns: 1fr;
  }
}
/* Subathon timer */
body.page-subathon {
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    radial-gradient(circle at 18% 8%, rgba(82, 224, 196, 0.12), transparent 28%),
    radial-gradient(circle at 88% 0%, rgba(255, 190, 92, 0.1), transparent 24%),
    var(--bg-0);
  background-size: 52px 52px, 52px 52px, auto, auto, auto;
}

.subathon-shell {
  width: min(1440px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.subathon-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 480px);
  align-items: center;
  gap: 28px;
  min-height: 260px;
  padding: clamp(24px, 4vw, 42px);
  border-radius: 0;
  background:
    linear-gradient(135deg, rgba(82, 224, 196, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(26, 32, 43, 0.98), rgba(12, 15, 22, 0.96));
}

.subathon-hero h1 {
  max-width: 12ch;
  font-size: clamp(2.35rem, 5vw, 4.85rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.subathon-hero .lead {
  max-width: 64ch;
}

.subathon-hero__actions,
.subathon-test-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.subathon-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 16px;
  align-items: start;
}

body.page-subathon .panel-solid,
body.page-subathon .panel-soft,
body.page-subathon .tag,
body.page-subathon .button,
body.page-subathon .checkbox-field {
  border-radius: 0;
}

.subathon-display,
.subathon-widget {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 20% 10%, color-mix(in srgb, var(--subathon-accent, #52e0c4) 28%, transparent), transparent 34%),
    linear-gradient(135deg, color-mix(in srgb, var(--subathon-bg, #101820) 94%, #ffffff 6%), var(--subathon-bg, #101820));
  background-size: 34px 34px, 34px 34px, auto, auto;
  color: var(--subathon-text, #ffffff);
  font-family: var(--subathon-font, "Space Grotesk", "DM Sans", sans-serif);
  padding: clamp(22px, 3vw, 30px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.subathon-display {
  min-height: 212px;
  display: grid;
  align-content: center;
}

.subathon-widget {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.subathon-display strong,
.subathon-widget strong {
  display: block;
  font-family: var(--subathon-font, "Space Grotesk", sans-serif);
  font-size: clamp(3rem, 8vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: 0;
  margin: 12px 0;
  color: var(--subathon-text, #ffffff);
  font-variant-numeric: tabular-nums;
}

.subathon-widget strong {
  margin: 0;
  font-size: clamp(4rem, 22vw, 8rem);
}

.subathon-widget .subathon-progress {
  margin-top: 10px;
}

.subathon-widget__meta {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.subathon-display__status,
.subathon-widget__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.08);
  color: color-mix(in srgb, var(--subathon-text, #ffffff) 72%, transparent);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.subathon-display__status::before,
.subathon-widget__status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.subathon-display__status.is-live,
.subathon-widget__status.is-live {
  background: rgba(255, 77, 109, 0.18);
  color: color-mix(in srgb, var(--subathon-accent, #52e0c4) 78%, #ffffff 22%);
}

.subathon-progress {
  height: 10px;
  overflow: hidden;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.12);
}

.subathon-progress span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--subathon-accent, #52e0c4), color-mix(in srgb, var(--subathon-accent, #52e0c4) 55%, #ffd166 45%) 58%, #ff6b6b);
  transition: width 220ms ease;
}

.subathon-display small,
.subathon-widget p {
  display: block;
  margin-top: 12px;
  color: color-mix(in srgb, var(--subathon-text, #ffffff) 72%, transparent);
}

.subathon-config-form {
  gap: 12px;
}

.subathon-config-form > label:not(.checkbox-field):not(.profile-color-field),
.subathon-config-form .profile-color-field {
  min-height: 82px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.035);
}

.subathon-config-form > label > span,
.subathon-config-form .profile-color-field > span:first-child {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.subathon-config-form input,
.subathon-config-form select {
  min-height: 42px;
  border-radius: 0;
}

.subathon-config-form .profile-form-section {
  margin-top: 4px;
  padding: 16px 0 4px;
  border-top: 1px solid var(--line);
  background: transparent;
}

.subathon-widget-link {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}

.subathon-widget-link span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.subathon-widget-link input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  padding: 12px 14px;
  font-family: "DM Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.82rem;
}

.subathon-test-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.subathon-test-grid .button {
  width: 100%;
  justify-content: center;
}

.subathon-event-list {
  display: grid;
  gap: 10px;
  max-height: 360px;
  overflow: auto;
  padding-right: 2px;
}

.subathon-event-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.06);
}

.subathon-event-list article strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.subathon-event-list article span {
  color: #52e0c4;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.subathon-widget-body {
  width: fit-content;
  height: fit-content;
  margin: 0;
  min-height: 0;
  display: grid;
  place-items: start;
  overflow: hidden;
  background: transparent !important;
}

.subathon-widget {
  width: min(760px, 100vw);
}

body.subathon-widget-body {
  background: transparent !important;
  background-color: transparent !important;
}

html[data-site-theme="light"] .subathon-widget-link input,
html[data-site-theme="light"] .subathon-event-list article {
  border-color: rgba(17, 24, 39, 0.12);
  background: rgba(17, 24, 39, 0.04);
}

@media (max-width: 900px) {
  .subathon-hero,
  .subathon-grid {
    grid-template-columns: 1fr;
  }

  .subathon-shell {
    width: min(100% - 20px, 760px);
  }

  .subathon-hero {
    min-height: 0;
  }

  .subathon-hero h1 {
    max-width: none;
  }
}

@media (max-width: 620px) {
  .subathon-shell {
    width: min(100% - 14px, 760px);
  }

  .subathon-hero {
    padding: 18px;
  }

  .subathon-display strong {
    font-size: clamp(2.35rem, 17vw, 4rem);
  }

  .subathon-test-grid {
    grid-template-columns: 1fr;
  }

  .subathon-event-list article {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Public profile reference pass: mirrors the Lovable streamer layout. */
body.page-profile {
  --lovable-background: oklch(16% 0.018 250);
  --lovable-card: oklch(20% 0.02 250);
  --lovable-surface: oklch(20% 0.02 250);
  --lovable-surface-elevated: oklch(23.5% 0.022 250);
  --lovable-border: oklch(28% 0.018 250);
  --lovable-primary: oklch(78% 0.14 175);
  --lovable-muted-foreground: oklch(62% 0.018 250);
  --lovable-container: 1400px;
  background: var(--lovable-background);
}

body.page-profile::before,
body.page-profile::after {
  display: none;
}

body.page-profile .site-shell {
  padding-top: var(--topbar-height);
}

.page-profile .profile-showcase {
  gap: 56px;
  padding-bottom: 88px;
}

.page-profile .profile-showcase > :not(.profile-banner--showcase) {
  width: min(var(--lovable-container), calc(100% - 48px));
}

.page-profile .profile-banner--showcase,
.page-profile .profile-showcase--spotlight .profile-banner--showcase {
  min-height: 420px;
  padding: 112px max(24px, calc((100dvw - var(--lovable-container)) / 2)) 46px;
}

.page-profile .profile-banner--showcase::after {
  background:
    radial-gradient(ellipse at center, transparent 30%, oklch(16% 0.018 250 / 0.85) 85%),
    linear-gradient(180deg, transparent 0%, var(--lovable-background) 100%);
}

.page-profile .profile-back-link {
  left: max(24px, calc((100dvw - var(--lovable-container)) / 2));
  top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid color-mix(in oklab, var(--lovable-border) 40%, transparent);
  border-radius: 999px;
  background: color-mix(in oklab, var(--lovable-background) 40%, transparent);
  backdrop-filter: blur(14px);
  color: color-mix(in oklab, var(--text) 80%, transparent);
}

.page-profile .profile-hero,
.page-profile .profile-showcase--spotlight .profile-hero {
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px;
  max-width: var(--lovable-container);
  margin: 0 auto;
}

.page-profile .profile-hero__content,
.page-profile .profile-showcase--spotlight .profile-hero__content {
  max-width: none;
}

.page-profile .profile-hero__identity {
  align-items: end;
  gap: 24px;
}

.page-profile .avatar--hero,
.page-profile .profile-showcase--spotlight .avatar--hero {
  width: 176px;
  height: 176px;
  border-radius: 24px;
  border-color: color-mix(in oklab, var(--lovable-border) 80%, transparent);
  background: linear-gradient(135deg, color-mix(in oklab, var(--lovable-primary) 40%, transparent), color-mix(in oklab, var(--lovable-primary) 10%, var(--lovable-surface)));
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.42);
}

.page-profile .profile-hero h1,
.page-profile .profile-showcase--spotlight .profile-hero h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(4.5rem, 7vw, 6rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.page-profile .profile-hero__handle {
  margin-top: 10px;
  font-size: 0.875rem;
  color: var(--lovable-muted-foreground);
}

.page-profile .profile-hero .lead {
  max-width: 38rem;
  margin-top: 18px;
  color: color-mix(in oklab, var(--text) 80%, transparent);
  font-size: 0.94rem;
  line-height: 1.7;
}

.page-profile .profile-hero__details {
  gap: 16px;
  margin-top: 4px;
  color: var(--lovable-muted-foreground);
  font-size: 0.875rem;
  letter-spacing: 0;
  text-transform: none;
}

.page-profile .profile-hero__details span + span::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 16px 2px 0;
  border-radius: 50%;
  background: var(--lovable-border);
}

.page-profile .badge-row--hero {
  margin-bottom: 14px;
}

.page-profile .profile-hero__meta {
  width: auto;
  max-width: 360px;
  justify-self: end;
}

.page-profile .profile-hero__meta .card-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.page-profile .profile-hero__meta .social-link {
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border-color: color-mix(in oklab, var(--lovable-border) 60%, transparent);
  background: var(--lovable-surface);
  font-size: 0.75rem;
}

.page-profile .profile-grid {
  display: block;
  margin-top: -22px;
}

.page-profile .profile-stat-deck {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid color-mix(in oklab, var(--lovable-border) 60%, transparent);
  border-radius: 16px;
  background: color-mix(in oklab, var(--lovable-border) 60%, transparent);
}

.page-profile .profile-stat-card {
  min-height: 108px;
  padding: 20px;
  border: 0;
  border-radius: 0;
  background: var(--lovable-card);
}

.page-profile .profile-stat-card span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.page-profile .profile-stat-card__icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
  opacity: 0.78;
}

.page-profile .profile-stat-card strong {
  font-size: 2rem;
  line-height: 1;
}

.page-profile .profile-stat-card small {
  margin-top: 1px;
}

.page-profile .profile-content-layout {
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
}

.page-profile .profile-main-column {
  gap: 64px;
}

.page-profile .profile-side-rail {
  top: 96px;
  gap: 24px;
}

.page-profile .profile-card--specs {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.page-profile .profile-card--specs > .section-heading {
  margin-bottom: 24px;
}

.page-profile .profile-card--specs > .section-heading .micro-label {
  color: var(--lovable-primary);
}

.page-profile .profile-card--specs > .section-heading h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  letter-spacing: -0.02em;
}

.page-profile .profile-card--specs > .section-heading .muted {
  margin-top: 8px;
  max-width: 38rem;
}

.page-profile .spec-list--board {
  display: grid;
  gap: 24px;
}

.page-profile .spec-group-card {
  padding: 28px;
  border-radius: 24px;
  border: 1px solid color-mix(in oklab, var(--lovable-border) 60%, transparent);
  background: var(--lovable-card);
}

.page-profile .pc-spec-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.page-profile .pc-spec-grid li,
.page-profile .spec-list--board div:not(.spec-list__item--pc) {
  min-height: 98px;
  border-radius: 16px;
  background: var(--lovable-card);
}

.page-profile .setup-showcase,
.page-profile .profile-clips,
.page-profile .profile-reviews,
.page-profile .profile-card--history,
.page-profile .live-experience {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.page-profile .setup-showcase > .section-heading,
.page-profile .profile-clips > .section-heading,
.page-profile .profile-reviews > .section-heading,
.page-profile .profile-card--history > .section-heading,
.page-profile .live-experience > .section-heading {
  margin-bottom: 24px;
}

.page-profile .setup-showcase-card,
.page-profile .twitch-clip-card,
.page-profile .setup-history-card,
.page-profile .profile-review-card,
.page-profile .live-experience__details,
.page-profile .live-embed-card,
.page-profile .live-chat-card {
  border: 1px solid color-mix(in oklab, var(--lovable-border) 60%, transparent);
  border-radius: 24px;
  background: var(--lovable-card);
}

.page-profile .profile-sidebar-card {
  padding: 20px;
  border-radius: 16px;
  border: 1px solid color-mix(in oklab, var(--lovable-border) 60%, transparent);
  background: var(--lovable-card);
}

.page-profile .profile-sidebar-card .micro-label {
  margin-bottom: 12px;
  color: var(--lovable-muted-foreground);
}

.page-profile .profile-jump-links a {
  min-height: 36px;
  border-radius: 8px;
}

.page-profile .profile-jump-links a {
  position: relative;
  gap: 10px;
  padding-left: 36px;
}

.page-profile .profile-jump-links a::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 15px;
  height: 15px;
  transform: translateY(-50%);
  background: currentColor;
  opacity: 0.82;
  mask: var(--jump-icon) center / contain no-repeat;
}

.page-profile .profile-jump-links a[href="#profile-specs"] {
  --jump-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 3h2v3h4V3h2v3h2v2h3v2h-3v4h3v2h-3v2h-2v3h-2v-3h-4v3H8v-3H6v-2H3v-2h3v-4H3V8h3V6h2V3zm0 5v8h8V8H8zm2 2h4v4h-4v-4z'/%3E%3C/svg%3E");
}

.page-profile .profile-jump-links a[href="#profile-irl-gear"] {
  --jump-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h10v20H7V2zm2 2v16h6V4H9zm2 13h2v1h-2v-1z'/%3E%3C/svg%3E");
}

.page-profile .profile-jump-links a[href="#profile-live"] {
  --jump-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.05 7.05a7 7 0 0 0 0 9.9l1.41-1.41a5 5 0 0 1 0-7.08L7.05 7.05zm9.9 0-1.41 1.41a5 5 0 0 1 0 7.08l1.41 1.41a7 7 0 0 0 0-9.9zM12 9a3 3 0 1 0 0 6 3 3 0 0 0 0-6z'/%3E%3C/svg%3E");
}

.page-profile .profile-jump-links a[href="#setup-gallery"] {
  --jump-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5h16v14H4V5zm2 2v10h12V7H6zm2 8 2.5-3 2 2.4L15 11l3 4H8z'/%3E%3C/svg%3E");
}

.page-profile .profile-jump-links a[href="#profile-history"] {
  --jump-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 3a9 9 0 1 0 8.95 10h-2.02A7 7 0 1 1 13 5v5l4 2-.9 1.8L11 11.25V3h2z'/%3E%3C/svg%3E");
}

.page-profile .profile-sidebar-links .social-link {
  min-height: 50px;
  border-radius: 12px;
}

.page-profile :where(
  .profile-stat-deck,
  .profile-stat-card,
  .profile-card,
  .spec-group-card,
  .pc-spec-grid li,
  .spec-list--board div,
  .profile-sidebar-card,
  .profile-sidebar-links .social-link,
  .setup-showcase,
  .setup-showcase-card,
  .profile-clips,
  .twitch-clip-card,
  .profile-reviews,
  .profile-review-card,
  .profile-card--history,
  .setup-history-card,
  .live-experience,
  .live-experience__details,
  .live-embed-card,
  .live-chat-card,
  .profile-music-widget-card,
  .equipment-icon-tile,
  .equipment-product-image-link
) {
  box-shadow: none !important;
  background-image: none !important;
}

.page-profile :where(
  .profile-stat-card,
  .profile-card,
  .spec-group-card,
  .pc-spec-grid li,
  .spec-list--board div,
  .profile-sidebar-card,
  .profile-sidebar-links .social-link,
  .setup-showcase-card,
  .twitch-clip-card,
  .profile-review-card,
  .setup-history-card,
  .live-experience__details,
  .live-embed-card,
  .live-chat-card,
  .profile-music-widget-card
) {
  background-color: var(--lovable-card) !important;
}

.page-profile :where(.panel-soft, .panel-solid)::before {
  display: none !important;
}

.page-profile .profile-card--history {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
}

.page-profile .profile-music-widget-card {
  border: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.page-profile .setup-history-card {
  background-color: color-mix(in oklab, var(--lovable-background) 74%, var(--lovable-card)) !important;
  border-color: color-mix(in oklab, var(--lovable-border) 54%, transparent) !important;
}

.page-profile .setup-history-timeline::before {
  background: color-mix(in oklab, var(--lovable-primary) 74%, var(--lovable-border)) !important;
}

.page-profile .setup-history-timeline button:hover span,
.page-profile .setup-history-timeline button:focus-visible span,
.page-profile .setup-history-timeline button[aria-pressed="true"] span {
  color: var(--lovable-primary) !important;
}

.page-profile .setup-history-timeline button::after {
  border-color: color-mix(in oklab, var(--lovable-primary) 48%, transparent) !important;
  background: var(--lovable-background) !important;
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--lovable-primary) 10%, transparent) !important;
}

.page-profile .setup-history-timeline button[aria-pressed="true"]::after {
  border-color: color-mix(in oklab, var(--lovable-primary) 92%, white 8%) !important;
  background: var(--lovable-primary) !important;
  box-shadow: 0 0 18px color-mix(in oklab, var(--lovable-primary) 42%, transparent) !important;
}

.page-profile .setup-history-card__icon {
  border-color: color-mix(in oklab, var(--lovable-primary) 42%, transparent) !important;
  color: var(--lovable-primary) !important;
  background: color-mix(in oklab, var(--lovable-primary) 11%, transparent) !important;
}

.page-profile .setup-history-card__status {
  color: var(--lovable-primary) !important;
  background: color-mix(in oklab, var(--lovable-primary) 12%, transparent) !important;
}

.page-profile .setup-history-card small {
  color: var(--lovable-muted-foreground) !important;
}

.page-profile .spec-group-card,
.page-profile .pc-spec-grid li,
.page-profile .spec-list--board div:not(.spec-list__item--pc) {
  background-color: transparent !important;
}

.page-profile .spec-group-card {
  border-color: color-mix(in oklab, var(--lovable-border) 58%, transparent) !important;
}

.page-profile .pc-spec-grid li,
.page-profile .spec-list--board div:not(.spec-list__item--pc) {
  border-color: color-mix(in oklab, var(--lovable-border) 46%, transparent) !important;
}

.page-profile .equipment-icon-tile,
.page-profile .equipment-product-image-link {
  background-color: transparent !important;
}

/* Hard reset for specs cards: no grey filled panels, only outlines. */
.page-profile :where(
  #profile-specs,
  #profile-specs .spec-list,
  #profile-specs .spec-list--board,
  #profile-specs .spec-list__item,
  #profile-specs .spec-group-card,
  #profile-specs .pc-spec-grid li,
  #profile-specs .equipment-icon-tile,
  #profile-specs .equipment-product-image-link,
  #profile-specs .equipment-product-image
) {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

#profile-specs .equipment-product-image-link {
  width: 56px;
  height: 56px;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

#profile-specs .equipment-product-image {
  width: 56px;
  height: 56px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.34)) contrast(1.04) saturate(1.08);
}

@media (max-width: 1180px) {
  .page-profile .profile-hero,
  .page-profile .profile-showcase--spotlight .profile-hero,
  .page-profile .profile-content-layout {
    grid-template-columns: 1fr;
  }

  .page-profile .profile-hero__meta {
    justify-self: start;
    max-width: 100%;
  }

  .page-profile .profile-side-rail {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .page-profile .profile-showcase {
    gap: 36px;
  }

  .page-profile .profile-showcase > :not(.profile-banner--showcase) {
    width: min(100% - 28px, var(--lovable-container));
  }

  .page-profile .profile-banner--showcase,
  .page-profile .profile-showcase--spotlight .profile-banner--showcase {
    min-height: auto;
    padding: 96px 18px 32px;
  }

  .page-profile .profile-hero__identity {
    align-items: flex-start;
  }

  .page-profile .avatar--hero,
  .page-profile .profile-showcase--spotlight .avatar--hero {
    width: 88px;
    height: 88px;
    border-radius: 18px;
  }

  .page-profile .profile-hero h1,
  .page-profile .profile-showcase--spotlight .profile-hero h1 {
    font-size: clamp(2.85rem, 13vw, 4rem);
  }

  .page-profile .profile-hero__meta .card-actions,
  .page-profile .profile-stat-deck,
  .page-profile .pc-spec-grid,
  .page-profile .profile-side-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-profile .profile-stat-card {
    min-height: 104px;
  }

  .page-profile .profile-main-column {
    gap: 42px;
  }

  .page-profile .spec-group-card {
    padding: 18px;
  }

  .page-profile .spec-group-card__heading {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .page-profile .spec-group-card__heading em {
    grid-column: 1 / -1;
    padding-left: 56px;
  }
}

/* Production cohesion pass: shared UI language across non-profile pages. */
:root {
  --ui-radius-xl: 24px;
  --ui-radius-lg: 18px;
  --ui-radius-md: 12px;
  --ui-surface: rgba(13, 18, 27, 0.78);
  --ui-surface-strong: rgba(17, 23, 34, 0.92);
  --ui-surface-soft: rgba(255, 255, 255, 0.035);
  --ui-border: rgba(143, 162, 190, 0.14);
  --ui-border-strong: rgba(82, 224, 196, 0.28);
  --ui-hover: rgba(82, 224, 196, 0.075);
}

html[data-site-theme="light"] {
  --ui-surface: rgba(255, 255, 255, 0.82);
  --ui-surface-strong: rgba(255, 255, 255, 0.94);
  --ui-surface-soft: rgba(14, 28, 45, 0.045);
  --ui-border: rgba(30, 48, 68, 0.13);
  --ui-hover: rgba(12, 159, 140, 0.08);
}

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent) 72%, white 28%);
  outline-offset: 3px;
}

body:not(.page-profile) :where(.panel-solid, .panel-soft, .admin-card, .admin-section-card, .admin-summary-card, .admin-page-header, .workspace-hero-card, .workspace-content-card, .leaderboard-board, .clips-board, .compare-picker, .compare-profile-card, .guide-document, .guide-sidebar, .news-card, .news-article, .plus-section, .hex-quote, .hex-chat-panel) {
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius-xl);
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 34%),
    linear-gradient(180deg, var(--ui-surface-strong), var(--ui-surface));
  box-shadow: none;
}

body:not(.page-profile) :where(.panel-solid, .panel-soft)::before {
  opacity: 0.45;
}

body:not(.page-profile) :where(.admin-page-header, .admin-overview-hero, .workspace-hero-card, .compare-hero, .leaderboard-hero, .clips-hero, .legal-hero) {
  padding: clamp(24px, 4vw, 42px);
}

body:not(.page-profile) :where(.admin-page-header h1, .admin-overview-hero h1, .workspace-hero-card h1, .compare-hero h1, .leaderboard-hero h1, .clips-hero h1, .legal-hero h1) {
  max-width: 920px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

body:not(.page-profile) :where(.lead, .admin-page-header .lead, .workspace-hero-card .lead, .legal-hero .lead) {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.7;
}

body:not(.page-profile) :where(.section-heading) {
  gap: 16px;
  margin-bottom: 18px;
}

body:not(.page-profile) :where(.section-heading h2, .section-heading h3) {
  line-height: 1.05;
  letter-spacing: -0.025em;
}

body:not(.page-profile) :where(.micro-label) {
  color: color-mix(in srgb, var(--accent) 82%, var(--muted));
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

body:not(.page-profile) :where(.button, button.button) {
  min-height: 40px;
  border-radius: var(--ui-radius-md);
  font-weight: 900;
  letter-spacing: 0;
}

body:not(.page-profile) :where(.button--ghost) {
  border-color: var(--ui-border);
  background: var(--ui-surface-soft);
}

body:not(.page-profile) :where(.button:hover, button.button:hover, .button--ghost:hover) {
  transform: translateY(-1px);
}

body:not(.page-profile) :where(input:not([type="checkbox"]):not([type="radio"]):not([type="color"]), select, textarea) {
  min-height: 44px;
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius-md);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  box-shadow: none;
}

body:not(.page-profile) :where(textarea) {
  min-height: 112px;
  line-height: 1.55;
}

body:not(.page-profile) :where(label > span:first-child, .form-grid label > span:first-child) {
  color: #a9b8ce;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body:not(.page-profile) :where(.checkbox-field) {
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius-md);
  background: var(--ui-surface-soft);
}

body:not(.page-profile) :where(.admin-list-table-wrap, .table-wrap) {
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius-lg);
  background: rgba(5, 10, 17, 0.24);
}

body:not(.page-profile) :where(.admin-list-table th) {
  color: #899ab3;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.035);
}

body:not(.page-profile) :where(.admin-list-table td) {
  border-color: rgba(255, 255, 255, 0.055);
}

body:not(.page-profile) :where(.admin-list-table tbody tr:hover td) {
  background: var(--ui-hover);
}

body:not(.page-profile) :where(.admin-list-badge, .tag) {
  min-height: 24px;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

body:not(.page-profile) :where(.empty-state) {
  border: 1px dashed color-mix(in srgb, var(--ui-border) 72%, var(--accent) 28%);
  border-radius: var(--ui-radius-lg);
  background: rgba(255, 255, 255, 0.025);
}

body:not(.page-profile) :where(.card-grid, .admin-summary-grid, .admin-section-grid, .profile-workspace__grid, .setup-gallery, .hex-portfolio-grid) {
  gap: clamp(14px, 2vw, 22px);
}

body:not(.page-profile) :where(.application-card, .admin-news-item, .admin-alert-item, .admin-analytics-row, .admin-nav-row, .profile-auth-card, .profile-completion-card, .setup-history-card, .clip-card, .directory-card) {
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius-lg);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: none;
}

body:not(.page-profile) :where(.application-card:hover, .admin-news-item:hover, .admin-alert-item:hover, .admin-nav-row:hover, .directory-card:hover, .clip-card:hover) {
  border-color: var(--ui-border-strong);
  background: var(--ui-hover);
  transform: translateY(-1px);
}

body:not(.page-profile) .guide-layout {
  align-items: start;
}

body:not(.page-profile) .guide-sidebar,
body:not(.page-profile) .guide-document {
  border-radius: var(--ui-radius-xl);
}

body:not(.page-profile) .guide-sidebar nav a {
  border-radius: var(--ui-radius-md);
}

body:not(.page-profile) .home-video-hero__down {
  display: inline-grid;
  place-items: center;
  font-size: 1.2rem;
  font-weight: 900;
}

.page-staff main {
  display: grid;
  gap: clamp(18px, 2.5vw, 28px);
}

.staff-hero {
  overflow: hidden;
  min-height: 188px;
  padding: clamp(34px, 5vw, 56px) !important;
  align-content: center;
}

.staff-hero .micro-label {
  margin-bottom: 8px;
  line-height: 1.2;
}

.staff-hero h1 {
  margin-bottom: 10px;
}

.staff-directory {
  display: grid;
  gap: clamp(18px, 2.4vw, 28px);
}

.staff-role-section {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 2.5vw, 26px);
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius-xl);
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 36%),
    rgba(255, 255, 255, 0.026);
}

.staff-role-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ui-border);
}

.staff-role-section__head h2 {
  margin: 4px 0 0;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  line-height: 1;
}

.staff-role-section__head span {
  flex: 0 0 auto;
  min-height: 30px;
  padding: 7px 10px;
  border: 1px solid var(--ui-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(14px, 2vw, 22px);
}

.staff-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  min-height: 190px;
  padding: clamp(18px, 2.5vw, 24px);
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius-lg);
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 34%),
    rgba(255, 255, 255, 0.035);
}

.staff-card__avatar {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--ui-border) 70%, var(--accent) 30%);
  border-radius: 18px;
  background: rgba(82, 224, 196, 0.09);
  color: var(--accent);
  font-weight: 900;
}

.staff-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.staff-card__body {
  min-width: 0;
}

.staff-card__body h3 {
  margin: 3px 0 2px;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.05;
}

.staff-card__body span,
.staff-card__body p {
  color: var(--muted);
}

.staff-card__body span {
  display: block;
  margin-bottom: 10px;
  font-weight: 800;
}

.staff-card__body p {
  margin: 0;
  line-height: 1.55;
}

.staff-card > .button {
  grid-column: 1 / -1;
  justify-self: start;
}

@media (max-width: 700px) {
  .staff-hero {
    min-height: 0;
    padding: 28px !important;
  }

  .staff-role-section__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .staff-card {
    grid-template-columns: 1fr;
  }
}

body.page-admin .admin-main__content > :first-child:is(.admin-page-header, .admin-overview-hero) {
  margin-top: 0;
}

body.page-admin :where(.admin-card, .admin-section-card, .admin-summary-card) {
  padding: clamp(18px, 2.3vw, 26px);
}

body.page-admin :where(.streamer-admin-list-card, .user-admin-list-card) {
  padding: 0;
}

.page-status .site-shell {
  width: min(1180px, calc(100% - 32px));
}

.status-page {
  display: grid;
  gap: 18px;
  padding: 38px 0 18px;
}

.status-hero,
.status-check,
.status-note {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel-soft);
  box-shadow: var(--shadow-md);
}

.status-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(24px, 4vw, 42px);
}

.status-hero h1,
.status-note h2,
.status-check h2 {
  letter-spacing: 0;
}

.status-hero h1 {
  margin-top: 8px;
  max-width: 760px;
  font-size: clamp(2.25rem, 7vw, 4.8rem);
  line-height: 1;
}

.status-hero .lead {
  max-width: 720px;
  margin-top: 14px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.6;
}

.status-hero--operational {
  border-color: rgba(82, 224, 196, 0.32);
}

.status-hero--degraded,
.status-hero--maintenance {
  border-color: rgba(255, 190, 92, 0.34);
}

.status-hero--outage {
  border-color: rgba(255, 107, 107, 0.38);
}

.status-hero__meta {
  display: grid;
  gap: 6px;
  min-width: 180px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel-muted);
}

.status-hero__meta span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.status-checks {
  display: grid;
  gap: 12px;
}

.status-check {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
}

.status-check__main {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.status-check h2 {
  font-size: 1.05rem;
}

.status-check p {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.5;
}

.status-check > strong {
  flex: 0 0 auto;
  padding: 8px 10px;
  border-radius: 999px;
  background: var(--panel-muted);
  font-size: 0.82rem;
}

.status-dot {
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(82, 224, 196, 0.12);
}

.status-check--degraded .status-dot,
.status-check--maintenance .status-dot {
  background: var(--accent-warm);
  box-shadow: 0 0 0 5px rgba(255, 190, 92, 0.13);
}

.status-check--outage .status-dot {
  background: var(--danger);
  box-shadow: 0 0 0 5px rgba(255, 107, 107, 0.14);
}

.status-check--unknown .status-dot {
  background: var(--muted);
  box-shadow: 0 0 0 5px rgba(157, 176, 200, 0.12);
}

.status-note {
  display: grid;
  gap: 8px;
  padding: 20px;
}

.status-note p {
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 760px) {
  .page-status .site-shell {
    width: min(100% - 20px, 1180px);
  }

  .status-page {
    padding-top: 20px;
  }

  .status-hero,
  .status-check {
    align-items: flex-start;
    flex-direction: column;
  }

  .status-hero__meta,
  .status-check > strong {
    width: 100%;
  }
}

@media (max-width: 1180px) {
  body:not(.page-profile) .site-shell {
    width: min(100% - 28px, 1480px);
  }

  body:not(.page-profile) :where(.guide-layout, .admin-page-grid, .admin-summary-grid, .admin-section-grid) {
    grid-template-columns: 1fr;
  }

  body:not(.page-profile) .guide-sidebar {
    position: static;
  }
}

@media (max-width: 760px) {
  body:not(.page-profile) .site-shell,
  body.page-dashboard .site-shell,
  body.page-home .site-shell {
    width: min(100% - 20px, 1480px);
    padding-top: calc(var(--topbar-height) + 10px);
  }

  body:not(.page-profile) :where(.panel-solid, .panel-soft, .admin-card, .admin-section-card, .admin-summary-card, .admin-page-header, .workspace-hero-card, .workspace-content-card, .leaderboard-board, .clips-board, .compare-picker, .compare-profile-card, .guide-document, .guide-sidebar, .news-card, .news-article, .plus-section, .hex-quote) {
    border-radius: 18px;
  }

  body:not(.page-profile) :where(.admin-page-header, .admin-overview-hero, .workspace-hero-card, .compare-hero, .leaderboard-hero, .clips-hero, .legal-hero) {
    padding: 22px;
  }

  body:not(.page-profile) :where(.admin-page-header h1, .admin-overview-hero h1, .workspace-hero-card h1, .compare-hero h1, .leaderboard-hero h1, .clips-hero h1, .legal-hero h1) {
    font-size: clamp(2rem, 11vw, 2.75rem);
  }

  body:not(.page-profile) :where(.section-heading) {
    align-items: flex-start;
    flex-direction: column;
  }

  body:not(.page-profile) :where(.form-grid, .form-grid--two) {
    grid-template-columns: 1fr;
  }
}

