:root {
  --accent: #9b7cff;
  --page-bg: #0d1018;
  --surface: #141820;
  --surface-raised: #1a1f29;
  --surface-soft: #10141b;
  --line: #2a303b;
  --line-strong: #3a4351;
  --text: #f5f7fb;
  --muted: #99a3b3;
  --success: #55d39c;
  --danger: #ff667d;
  --warning: #efc35b;
  --radius: 8px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #4b5360 var(--page-bg);
}
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--page-bg);
}
::-webkit-scrollbar-thumb {
  background: #4b5360;
  border: 2px solid var(--page-bg);
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #626c7a;
}
body {
  margin: 0;
  min-width: 320px;
  background: var(--page-bg);
  color: var(--text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 15px;
  line-height: 1.55;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  color: inherit;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 10px 14px;
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
}
.skip-link:focus {
  top: 16px;
}
.container {
  width: min(1220px, calc(100% - 40px));
  margin-inline: auto;
}
.site-main {
  min-height: calc(100vh - 230px);
  opacity: 0;
  transform: translateY(5px);
}
.page-ready .site-main {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.22s ease,
    transform 0.22s ease;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 13px;
}
.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
h1,
h2,
h3 {
  margin-top: 0;
  color: var(--text);
  line-height: 1.14;
  letter-spacing: -0.025em;
}
h1 {
  margin-bottom: 0;
  font-size: clamp(34px, 4vw, 54px);
}
h2 {
  margin-bottom: 0;
  font-size: clamp(24px, 2.8vw, 32px);
}
h3 {
  margin-bottom: 0;
  font-size: 18px;
}
.page-header {
  padding: 48px 0 24px;
}
.page-header.compact {
  padding-bottom: 12px;
}
.page-header > p:not(.eyebrow) {
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
}
.section {
  padding: 34px 0;
}
.grid {
  display: grid;
  gap: 16px;
}
.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Public header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--page-bg) 94%, transparent);
  backdrop-filter: blur(14px);
}
.header-inner {
  width: min(1380px, 100%);
  min-height: 64px;
  margin: auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand-mark,
.brand-logo {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 6px;
}
.brand-mark {
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-size: 19px;
  font-weight: 900;
}
.brand-logo {
  object-fit: contain;
}
.brand-name {
  max-width: 210px;
  overflow: hidden;
  color: #fff;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.main-nav {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}
.main-nav > a,
.nav-more > summary {
  min-height: 36px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 6px;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 720;
  list-style: none;
}
.main-nav > a:hover,
.main-nav > a.active,
.nav-more > summary:hover,
.nav-more[open] > summary {
  color: #fff;
  background: var(--surface-raised);
}
.main-nav > a.active {
  box-shadow: inset 0 -2px var(--accent);
}
.nav-more summary::-webkit-details-marker,
.account-menu summary::-webkit-details-marker {
  display: none;
}
.nav-more summary span {
  margin-left: 5px;
  color: var(--muted);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}
.staff-shortcut,
.view-site-button {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #d8dce4;
  font-size: 12px;
  font-weight: 780;
}
.staff-shortcut:hover,
.view-site-button:hover {
  border-color: var(--line-strong);
  background: var(--surface-raised);
}
.icon-button,
.notification-button {
  width: 36px;
  height: 36px;
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
}
.icon-button:hover,
.notification-button:hover {
  border-color: var(--line-strong);
  color: #fff;
}
.icon-button svg,
.notification-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.notification-button b {
  min-width: 17px;
  height: 17px;
  position: absolute;
  top: -6px;
  right: -6px;
  display: grid;
  place-items: center;
  padding: 0 4px;
  border: 2px solid var(--page-bg);
  border-radius: 9px;
  background: var(--accent);
  color: white;
  font-size: 9px;
}
.live-pill {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border-radius: 5px;
  background: #e52f61;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.live-pill span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  animation: live-pulse 1.7s infinite;
}
.menu-popover {
  position: relative;
}
.account-menu > summary {
  height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 7px 2px 3px;
  border-radius: 7px;
  cursor: pointer;
  list-style: none;
}
.account-menu > summary:hover,
.account-menu[open] > summary {
  background: var(--surface-raised);
}
.account-menu > summary img,
.account-menu > summary > span {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  object-fit: cover;
}
.account-menu > summary > span {
  display: grid;
  place-items: center;
  background: var(--surface-raised);
  color: var(--accent);
  font-weight: 900;
}
.account-menu > summary b {
  max-width: 120px;
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-menu > summary i {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}
.menu-panel {
  min-width: 190px;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 100;
  padding: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #151922;
  box-shadow: 0 18px 45px #0009;
  transform-origin: top right;
  animation: menu-in 0.14s ease both;
}
.nav-more .menu-panel {
  left: 0;
  right: auto;
}
.menu-panel a,
.menu-panel button {
  width: 100%;
  min-height: 37px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #cbd1dd;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
}
.menu-panel a:hover,
.menu-panel button:hover,
.menu-panel a.active {
  background: var(--surface-raised);
  color: #fff;
}
.menu-panel form {
  margin: 3px 0 0;
  padding-top: 3px;
  border-top: 1px solid var(--line);
}
.menu-panel form button {
  color: #ff9eac;
}
.account-summary {
  margin-bottom: 4px;
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
}
.account-summary strong,
.account-summary small {
  display: block;
}
.account-summary small {
  margin-top: 1px;
  color: var(--muted);
  font-size: 11px;
}
.mobile-nav-button {
  display: none;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  cursor: pointer;
}
.mobile-nav-button span {
  width: 16px;
  height: 2px;
  display: none;
  background: currentColor;
}
.mobile-nav-button b {
  font-size: 12px;
}
.header-search {
  max-width: 900px;
  margin: 0 auto;
  padding: 10px 24px 14px;
  animation: search-in 0.16s ease both;
}
.header-search div {
  display: flex;
  gap: 8px;
}
.header-search input {
  flex: 1;
}

/* Buttons and forms */
.button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 15px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  transition:
    transform 0.14s ease,
    filter 0.14s ease,
    border-color 0.14s ease,
    background 0.14s ease;
}
.button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.button:active {
  transform: translateY(0);
}
.button-secondary {
  border-color: var(--line);
  background: var(--surface-raised);
}
.button-danger {
  background: var(--danger);
}
.button-small {
  min-height: 34px;
  padding: 6px 11px;
  font-size: 12px;
}
.button-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
}
.text-link {
  color: color-mix(in srgb, var(--accent) 82%, white);
  font-weight: 800;
}
.text-link:hover {
  text-decoration: underline;
}
.card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition:
    border-color 0.16s ease,
    transform 0.16s ease,
    background 0.16s ease;
}
a.card:hover {
  border-color: var(--line-strong);
  background: var(--surface-raised);
  transform: translateY(-2px);
}
.card p:last-child {
  margin-bottom: 0;
}
.form-card {
  max-width: 760px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
}
.field {
  margin-bottom: 16px;
}
.field.full {
  grid-column: 1 / -1;
}
.field label {
  display: block;
  margin-bottom: 6px;
  color: #d0d6e1;
  font-size: 12px;
  font-weight: 800;
}
.field small,
.field-help {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
}
input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 11px;
  outline: none;
  background: #0f131a;
  color: var(--text);
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent);
}
textarea {
  min-height: 120px;
  resize: vertical;
}
.short-textarea {
  min-height: 84px;
}
input[type="checkbox"] {
  width: auto;
  accent-color: var(--accent);
}
input[type="file"] {
  padding: 8px;
}
input[type="file"]::file-selector-button {
  margin-right: 10px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface-raised);
  color: var(--text);
  cursor: pointer;
}
input[type="color"] {
  min-height: 44px;
  padding: 5px;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 10px 0;
  color: #cbd1dc;
  font-size: 13px;
}
.check input {
  margin-top: 3px;
}
.secret-field {
  display: flex;
  gap: 8px;
}
.secret-field input {
  min-width: 0;
}
.masked-text {
  -webkit-text-security: disc;
}
.advanced-settings {
  margin: 6px 0 18px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.advanced-settings summary {
  margin-bottom: 12px;
  color: var(--muted);
  cursor: pointer;
  font-weight: 750;
}
.code-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 11px;
  overflow-wrap: anywhere;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #0e1117;
}
.code-box code {
  flex: 1;
  color: #cad2df;
}
.panel-title {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 15px;
}
.panel-title h2 {
  font-size: 20px;
}
.panel-title p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.panel-title > a {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

/* Creator homepage */
.creator-masthead {
  min-height: 330px;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid #ffffff16;
  background-color: #151a24;
  background-image: var(--masthead-image, none);
  background-position: center 34%;
  background-size: cover;
}
.creator-masthead-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #090c12f2 0%,
    #090c12c9 52%,
    #090c1257 100%
  );
}
.masthead-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  padding-block: 62px 38px;
}
.creator-identity {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 19px;
}
.creator-logo,
.creator-logo-fallback {
  width: 92px;
  height: 92px;
  flex: 0 0 auto;
  border: 3px solid #ffffff26;
  border-radius: 12px;
  background: #161b25;
  box-shadow: 0 15px 40px #0007;
}
.creator-logo {
  object-fit: cover;
}
.creator-logo-fallback {
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 36px;
  font-weight: 900;
}
.creator-name {
  margin: 0 0 3px;
  color: #c5cbd5;
  font-size: 13px;
  font-weight: 750;
}
.creator-identity h1 {
  max-width: 760px;
  font-size: clamp(38px, 5vw, 60px);
  letter-spacing: -0.045em;
}
.creator-tagline {
  max-width: 650px;
  margin: 9px 0 0;
  color: #d0d5de;
  font-size: 16px;
}
.stream-state {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
  padding: 5px 8px;
  border: 1px solid #ffffff20;
  border-radius: 5px;
  background: #0b0e14ad;
  color: #c2c8d2;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}
.stream-state i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7e8795;
}
.stream-state.live {
  border-color: #f2507970;
  color: #fff;
  background: #d928576b;
}
.stream-state.live i {
  background: #fff;
  animation: live-pulse 1.7s infinite;
}
.masthead-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}
.live-button {
  background: #e52f61;
}
.creator-bar {
  border-bottom: 1px solid var(--line);
  background: #11151c;
}
.creator-bar-inner {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.creator-links {
  display: flex;
  align-items: center;
  gap: 7px;
}
.creator-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  border-radius: 5px;
  color: #c8cfda;
  font-size: 12px;
  font-weight: 800;
}
.creator-links a:hover {
  background: var(--surface-raised);
  color: #fff;
}
.platform-dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}
.platform-dot.twitch,
.platform-logo.twitch {
  background: #9146ff;
}
.platform-dot.youtube,
.platform-logo.youtube {
  background: #f03d47;
}
.platform-dot.discord,
.platform-logo.discord {
  background: #5865f2;
}
.platform-dot.support {
  background: #f4b860;
}
.next-stream-line {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.next-stream-line > span {
  color: var(--accent);
  font-weight: 850;
  text-transform: uppercase;
}
.next-stream-line strong {
  max-width: 270px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.next-stream-line time {
  color: var(--muted);
}
.home-feed {
  padding-block: 16px 26px;
}
.home-block {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.home-block:last-child {
  border-bottom: 0;
}
.block-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 15px;
}
.block-heading > div > span {
  display: block;
  margin-bottom: 2px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.block-heading h2 {
  font-size: 25px;
}
.block-heading > a {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.block-heading > a:hover {
  color: #fff;
}
.headline-card {
  display: grid;
  min-height: 210px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  background: var(--surface);
}
.headline-card.with-image {
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.2fr);
  border-left-width: 1px;
}
.headline-image {
  min-height: 220px;
  background: var(--surface-raised) center / cover no-repeat;
}
.headline-copy {
  align-self: center;
  padding: 26px;
}
.headline-copy h3 {
  margin: 10px 0 8px;
  font-size: clamp(23px, 3vw, 34px);
}
.headline-copy p {
  max-width: 700px;
  margin: 0 0 15px;
  color: var(--muted);
}
.card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px 13px;
  color: var(--muted);
  font-size: 12px;
}
.tag {
  min-height: 23px;
  display: inline-flex;
  align-items: center;
  padding: 3px 7px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  color: color-mix(in srgb, var(--accent) 75%, white);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}
.video-tile {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition:
    transform 0.16s ease,
    border-color 0.16s ease;
}
.video-tile:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}
.video-image {
  aspect-ratio: 16 / 9;
  position: relative;
  display: grid;
  place-items: center;
  background: #202632 center / cover no-repeat;
}
.play-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding-left: 2px;
  border-radius: 50%;
  background: #07090dc9;
  color: #fff;
  font-size: 15px;
  transform: scale(0.92);
  transition:
    transform 0.16s ease,
    background 0.16s ease;
}
.video-tile:hover .play-mark {
  transform: scale(1);
  background: var(--accent);
}
.video-image > b {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 3px 6px;
  border-radius: 3px;
  background: #06080dcc;
  font-size: 9px;
  text-transform: uppercase;
}
.video-copy {
  padding: 13px 14px 15px;
}
.video-copy > span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}
.video-copy h3 {
  margin: 5px 0 3px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.video-copy small {
  color: var(--muted);
}
.schedule-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.schedule-item {
  min-height: 76px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  padding: 11px 16px;
  border-top: 1px solid var(--line);
}
.schedule-item:first-child {
  border-top: 0;
}
.schedule-item h3 {
  font-size: 16px;
}
.schedule-item p {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 14px;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.schedule-item > a {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}
.event-date {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-soft);
  text-align: center;
}
.event-date b,
.event-date span {
  display: block;
}
.event-date b {
  padding: 3px 4px;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  color: var(--accent);
  font-size: 9px;
}
.event-date span {
  padding: 2px 4px 4px;
  font-size: 19px;
  font-weight: 900;
}
.member-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.member-tile {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}
.member-tile:hover {
  border-color: var(--line-strong);
  background: var(--surface-raised);
}
.member-tile img,
.member-tile > span {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 6px;
  object-fit: cover;
}
.member-tile > span {
  display: grid;
  place-items: center;
  background: var(--surface-raised);
  color: var(--accent);
  font-weight: 900;
}
.member-tile div {
  min-width: 0;
}
.member-tile strong,
.member-tile small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.member-tile small {
  color: var(--muted);
  font-size: 11px;
}
.getting-started {
  margin: 30px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  background: var(--surface);
}
.getting-started span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}
.getting-started h2 {
  margin: 4px 0;
  font-size: 24px;
}
.getting-started p {
  margin: 0;
  color: var(--muted);
}
.reveal-block {
  opacity: 0;
  transform: translateY(12px);
}
.reveal-block.visible {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

/* Public content pages */
.empty {
  padding: 34px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}
.compact-empty {
  margin-top: 16px;
  padding: 20px;
}
.content-card {
  overflow: hidden;
  padding: 0;
}
.content-thumb {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  background: var(--surface-raised) center / cover no-repeat;
}
.content-thumb span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #05070bc7;
}
.content-card .card-body {
  padding: 16px;
}
.content-card h3 {
  margin: 8px 0;
}
.content-card p {
  color: var(--muted);
}
.event-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 15px;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 13px;
  color: var(--muted);
  font-size: 13px;
}
.breadcrumbs a {
  color: var(--text);
}
.avatar,
.avatar-fallback {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 2px solid var(--surface);
  border-radius: 7px;
  background: var(--surface-raised);
  color: var(--accent);
  object-fit: cover;
  font-weight: 900;
}
.profile-banner {
  min-height: 210px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-raised) center / cover no-repeat;
}
.profile-page {
  padding-bottom: 20px;
}
.profile-head {
  min-height: 128px;
  position: relative;
  display: flex;
  align-items: end;
  gap: 18px;
  margin-top: -54px;
}
.profile-head .avatar,
.profile-head .avatar-fallback {
  width: 112px;
  height: 112px;
  border: 5px solid var(--page-bg);
  border-radius: 12px;
  font-size: 34px;
}
.profile-head h1 {
  margin-bottom: 5px;
  font-size: 36px;
}
.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.75fr);
  gap: 16px;
}
.profile-about {
  min-height: 240px;
}
.profile-bio {
  color: #d3d8e1;
  font-size: 16px;
}
.group-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}
.group-pill {
  padding: 3px 7px;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
}
.badge-row {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}
.badge-row:first-of-type {
  border-top: 0;
}
.badge-row > span:nth-child(2) {
  min-width: 0;
  flex: 1;
}
.badge-row strong,
.badge-row small {
  display: block;
}
.badge-row small {
  color: var(--muted);
  font-size: 11px;
}
.badge-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 6px;
  object-fit: cover;
}
.badge-dot {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  border-radius: 50%;
}
.badge-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.search-page-form {
  max-width: 680px;
  display: flex;
  gap: 8px;
  margin-top: 22px;
}
.search-page-form input {
  flex: 1;
}
.search-results h2 {
  margin-bottom: 10px;
  font-size: 20px;
}
.result-row {
  min-height: 57px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.result-row:first-of-type {
  border-top: 0;
}
.result-row:hover strong {
  color: var(--accent);
}
.result-row > span {
  min-width: 0;
}
.result-row strong,
.result-row small {
  display: block;
}
.result-row small {
  max-width: 480px;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.result-row > b {
  color: var(--muted);
}
.login-shell {
  width: min(930px, calc(100% - 40px));
  margin: 58px auto;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  overflow: hidden;
  padding: 0;
}
.login-copy {
  padding: 36px;
  border-right: 1px solid var(--line);
  background: #111621;
}
.login-copy h1 {
  font-size: 39px;
}
.login-form {
  padding: 36px;
}
.login-buttons {
  display: grid;
  gap: 9px;
  margin: 18px 0;
}
.provider-button {
  min-height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-left-width: 4px;
  border-radius: 6px;
  background: var(--surface-raised);
  font-weight: 850;
}
.provider-button:hover {
  background: #222936;
}
.provider-button.twitch {
  border-left-color: #9146ff;
}
.provider-button.discord {
  border-left-color: #5865f2;
}
.provider-button.youtube {
  border-left-color: #f03d47;
}
.divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0;
  color: var(--muted);
  font-size: 11px;
}
.divider::before,
.divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}
.notification-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.notification-item {
  margin: 0;
  border-top: 1px solid var(--line);
}
.notification-item:first-child {
  border-top: 0;
}
.notification-item button {
  width: 100%;
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 15px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.notification-item button:hover {
  background: var(--surface-raised);
}
.notification-item small {
  display: block;
  color: var(--muted);
}
.notification-item time {
  color: var(--muted);
  font-size: 11px;
}
.notification-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.notification-item.unread .notification-dot {
  background: var(--accent);
}
.rich-content p:first-child {
  margin-top: 0;
}
.rich-content p:last-child {
  margin-bottom: 0;
}
.rich-content a {
  color: var(--accent);
  text-decoration: underline;
}
.rich-content blockquote {
  margin: 18px 0;
  padding: 10px 15px;
  border-left: 3px solid var(--accent);
  background: var(--surface-raised);
}
.rich-content pre {
  overflow: auto;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #0b0e13;
}

/* Editor */
.rich-editor {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #0f131a;
}
.rich-editor:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent);
}
.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 8px;
  border-bottom: 1px solid var(--line);
  background: #0b0f15;
}
.editor-toolbar button,
.editor-toolbar select {
  width: auto;
  min-height: 31px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface-raised);
  color: var(--text);
  cursor: pointer;
  font-size: 11px;
}
.editor-toolbar button:hover {
  border-color: var(--line-strong);
  background: #252c38;
}
.editor-surface {
  min-height: 320px;
  padding: 16px;
  overflow-y: auto;
  outline: none;
  line-height: 1.7;
}
.editor-source {
  min-height: 360px;
  border: 0;
  border-radius: 0;
  background: #090c11;
  color: #cbd5e1;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 13px;
}
.editor-footer {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 10px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}
.editor-fullscreen {
  position: fixed;
  inset: 12px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 80px #000d;
}
.editor-fullscreen .editor-surface,
.editor-fullscreen .editor-source {
  min-height: 0;
  flex: 1;
}
.editor-open {
  overflow: hidden;
}

/* Footer and messages */
.flash {
  width: min(1220px, calc(100% - 40px));
  margin: 14px auto 0;
  padding: 11px 14px;
  border: 1px solid;
  border-radius: 6px;
}
.flash-success {
  border-color: color-mix(in srgb, var(--success) 48%, transparent);
  background: color-mix(in srgb, var(--success) 10%, transparent);
  color: #a0ebc9;
}
.flash-error {
  border-color: color-mix(in srgb, var(--danger) 48%, transparent);
  background: color-mix(in srgb, var(--danger) 10%, transparent);
  color: #ffb0bc;
}
.site-footer {
  width: min(1380px, calc(100% - 48px));
  margin: 38px auto 0;
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.site-footer strong {
  color: var(--text);
}
.site-footer p {
  margin: 4px 0 0;
}
.footer-links {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px 17px;
  font-size: 12px;
}
.footer-links a:hover {
  color: #fff;
}
.back-to-top {
  width: 38px;
  height: 38px;
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 55;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: var(--surface-raised);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
table {
  width: 100%;
  border-collapse: collapse;
}
th,
td {
  padding: 11px 13px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
tr:last-child td {
  border-bottom: 0;
}
th {
  background: #10141b;
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
td {
  font-size: 13px;
}
tbody tr {
  background: var(--surface);
}
tbody tr:hover {
  background: var(--surface-raised);
}
.status {
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  padding: 3px 7px;
  border-radius: 4px;
  background: var(--surface-raised);
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.status.published,
.status.active,
.status.connected {
  background: color-mix(in srgb, var(--success) 11%, transparent);
  color: var(--success);
}
.status.scheduled {
  background: color-mix(in srgb, var(--warning) 11%, transparent);
  color: var(--warning);
}

/* Control Panel */
.control-body {
  background: #0b0e13;
}
.control-topbar {
  height: 62px;
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: #10141b;
}
.control-topbar-left,
.control-user {
  display: flex;
  align-items: center;
  gap: 12px;
}
.control-topbar .brand {
  min-width: 235px;
}
.control-topbar .brand small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
}
.control-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 226px minmax(0, 1fr);
  padding-top: 62px;
}
.control-sidebar {
  width: 226px;
  position: fixed;
  inset: 62px auto 0 0;
  overflow-y: auto;
  padding: 14px 10px 24px;
  border-right: 1px solid var(--line);
  background: #10141b;
}
.control-sidebar nav {
  display: grid;
}
.control-sidebar p {
  margin: 17px 9px 5px;
  color: #717b8b;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.control-sidebar a {
  min-height: 35px;
  display: flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 5px;
  color: #aeb6c3;
  font-size: 13px;
  font-weight: 680;
}
.control-sidebar a:hover {
  background: var(--surface-raised);
  color: #fff;
}
.control-sidebar a.active {
  background: color-mix(in srgb, var(--accent) 15%, #151a22);
  color: #fff;
  box-shadow: inset 3px 0 var(--accent);
}
.control-main {
  width: 100%;
  max-width: 1420px;
  grid-column: 2;
  padding: 28px 30px 48px;
}
.control-main > .flash {
  width: 100%;
  margin: 0 0 18px;
}
.control-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 21px;
}
.control-heading h1 {
  font-size: 32px;
}
.control-heading .muted {
  margin: 4px 0 0;
}
.settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}
.sticky-card {
  position: sticky;
  top: 82px;
}
.save-card .button,
.publish-card .button {
  width: 100%;
  margin-top: 10px;
}
.delete-button {
  border-color: #733642;
  background: transparent;
  color: #ff9aaa;
}
.delete-button:hover {
  background: #35151b;
}
.table-action {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}
.danger-link {
  color: #ff8d9d;
}
.danger-link:hover {
  text-decoration: underline;
}
.colour-field input {
  max-width: 150px;
}
.upload-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.6fr) minmax(0, 1.4fr);
  gap: 14px;
}
.upload-box {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #10141b;
}
.upload-preview,
.upload-placeholder {
  width: 100%;
  height: 150px;
  margin-bottom: 12px;
  border-radius: 5px;
  object-fit: cover;
}
.upload-placeholder {
  display: grid;
  place-items: center;
  border: 1px dashed var(--line-strong);
  color: var(--muted);
}
.logo-preview {
  object-fit: contain;
}
.article-image-preview {
  width: 100%;
  max-height: 170px;
  margin-bottom: 9px;
  border-radius: 5px;
  object-fit: cover;
}
.group-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 12px;
}
.widget-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
}
.widget-row {
  min-height: 67px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border-top: 1px solid var(--line);
  background: #10141b;
  transition:
    background 0.14s ease,
    transform 0.14s ease;
}
.widget-row:first-child {
  border-top: 0;
}
.widget-row.moving {
  background: color-mix(in srgb, var(--accent) 10%, #10141b);
}
.drag-grip {
  color: #657080;
  font-size: 17px;
}
.widget-row > label {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.widget-row > label span,
.widget-row > label strong,
.widget-row > label small {
  display: block;
}
.widget-row > label small {
  color: var(--muted);
  font-size: 11px;
}
.move-buttons {
  display: flex;
  gap: 4px;
}
.move-buttons button {
  width: 31px;
  height: 31px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface-raised);
  cursor: pointer;
}
.move-buttons button:hover {
  border-color: var(--accent);
}

/* Dashboard */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.quick-actions a {
  min-height: 86px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  column-gap: 10px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}
.quick-actions a:hover {
  border-color: var(--line-strong);
  background: var(--surface-raised);
  transform: translateY(-2px);
  transition: 0.16s ease;
}
.quick-actions a > span {
  width: 34px;
  height: 34px;
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  color: var(--accent);
  font-size: 17px;
  font-weight: 900;
}
.quick-actions strong {
  align-self: end;
  font-size: 13px;
}
.quick-actions small {
  align-self: start;
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--line);
}
.dashboard-stats a {
  padding: 13px 14px;
  background: var(--surface);
}
.dashboard-stats a:hover {
  background: var(--surface-raised);
}
.dashboard-stats strong,
.dashboard-stats span {
  display: block;
}
.dashboard-stats strong {
  font-size: 23px;
}
.dashboard-stats span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.dashboard-card {
  padding: 17px;
}
.dashboard-row {
  min-height: 55px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
}
.dashboard-row:first-of-type {
  border-top: 0;
}
a.dashboard-row:hover strong {
  color: var(--accent);
}
.dashboard-row > span:nth-child(2),
.dashboard-row > span:first-child:not(.platform-logo):not(.date-chip) {
  min-width: 0;
  flex: 1;
}
.dashboard-row strong,
.dashboard-row small {
  display: block;
}
.dashboard-row small {
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dashboard-row > .status {
  margin-left: auto;
}
.dashboard-row time {
  margin-left: auto;
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap;
}
.health-row {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}
.health-row:first-child {
  border-top: 0;
}
.health-row small {
  display: block;
}
.platform-logo {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}
.date-chip {
  width: 38px;
  height: 38px;
  flex: 0 0 auto !important;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 5px;
  background: var(--surface-raised);
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}
.date-chip b {
  color: var(--accent);
  font-size: 8px;
  text-transform: uppercase;
}
.dashboard-empty {
  padding: 14px 0;
  color: var(--muted);
}
.dashboard-empty p {
  margin: 0 0 4px;
}
.dashboard-empty a {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}
.dashboard-members {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}
.dashboard-members a {
  min-width: 0;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  column-gap: 8px;
  padding: 7px;
  border-radius: 6px;
}
.dashboard-members a:hover {
  background: var(--surface-raised);
}
.dashboard-members img,
.dashboard-members a > span {
  width: 34px;
  height: 34px;
  grid-row: 1 / 3;
  border-radius: 5px;
  object-fit: cover;
}
.dashboard-members a > span {
  display: grid;
  place-items: center;
  background: var(--surface-raised);
  color: var(--accent);
  font-weight: 900;
}
.dashboard-members strong,
.dashboard-members small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dashboard-members strong {
  align-self: end;
  font-size: 11px;
}
.dashboard-members small {
  align-self: start;
  color: var(--muted);
  font-size: 9px;
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-5px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes search-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes live-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 #fff5;
  }
  50% {
    box-shadow: 0 0 0 5px #fff0;
  }
}

@media (max-width: 1120px) {
  .brand-name {
    display: none;
  }
  .main-nav > a,
  .nav-more > summary {
    padding-inline: 8px;
  }
  .staff-shortcut {
    display: none;
  }
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .member-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dashboard-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .quick-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .header-inner {
    padding-inline: 16px;
    gap: 10px;
  }
  .mobile-nav-button {
    width: 38px;
    height: 36px;
    display: grid;
    place-content: center;
    gap: 3px;
    padding: 0;
  }
  .mobile-nav-button span {
    display: block;
  }
  .mobile-nav-button b {
    display: none;
  }
  .site-header .mobile-nav-button {
    margin-left: auto;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 10px;
    right: 10px;
    z-index: 90;
    padding: 7px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: #151922;
    box-shadow: 0 20px 55px #000b;
  }
  .main-nav.open {
    display: grid;
    animation: menu-in 0.16s ease both;
  }
  .main-nav > a,
  .nav-more > summary {
    min-height: 40px;
    padding-inline: 11px;
  }
  .main-nav > a.active {
    box-shadow: inset 3px 0 var(--accent);
  }
  .nav-more .menu-panel {
    position: static;
    margin-top: 3px;
    box-shadow: none;
  }
  .account-menu > summary b,
  .account-menu > summary i {
    display: none;
  }
  .creator-masthead {
    min-height: 300px;
  }
  .masthead-inner {
    align-items: start;
    flex-direction: column;
    padding-block: 48px 30px;
  }
  .masthead-actions {
    margin-left: 111px;
  }
  .creator-bar-inner {
    align-items: start;
    flex-direction: column;
    gap: 5px;
    padding-block: 10px;
  }
  .headline-card.with-image {
    grid-template-columns: 1fr;
  }
  .headline-image {
    min-height: 210px;
  }
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .profile-grid {
    grid-template-columns: 1fr;
  }
  .login-shell {
    grid-template-columns: 1fr;
  }
  .login-copy {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .sticky-card {
    position: static;
  }
  .upload-grid {
    grid-template-columns: 1fr;
  }
  .control-shell {
    display: block;
  }
  .control-sidebar {
    display: none;
    z-index: 85;
    box-shadow: 18px 0 50px #000b;
  }
  .control-sidebar.open {
    display: block;
    animation: menu-in 0.16s ease both;
  }
  .control-main {
    padding: 23px 17px 40px;
  }
  .control-topbar .mobile-nav-button {
    display: grid;
  }
  .control-topbar .brand {
    min-width: 0;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1220px);
  }
  .header-actions .search-button {
    display: none;
  }
  .live-pill {
    padding-inline: 7px;
  }
  .brand-mark,
  .brand-logo {
    width: 34px;
    height: 34px;
  }
  .creator-masthead-shade {
    background: #090c12d9;
  }
  .creator-identity {
    align-items: start;
    gap: 13px;
  }
  .creator-logo,
  .creator-logo-fallback {
    width: 70px;
    height: 70px;
  }
  .creator-identity h1 {
    font-size: 36px;
  }
  .creator-tagline {
    font-size: 14px;
  }
  .masthead-actions {
    margin-left: 83px;
  }
  .creator-links {
    flex-wrap: wrap;
  }
  .next-stream-line {
    align-items: start;
    flex-direction: column;
    gap: 1px;
  }
  .video-grid,
  .member-row,
  .grid-2,
  .grid-3,
  .grid-4,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .schedule-item {
    grid-template-columns: 48px minmax(0, 1fr);
  }
  .schedule-item > a {
    grid-column: 2;
  }
  .block-heading {
    align-items: start;
    flex-direction: column;
    gap: 5px;
  }
  .getting-started {
    align-items: start;
    flex-direction: column;
  }
  .profile-banner {
    min-height: 150px;
  }
  .profile-head {
    align-items: start;
    flex-direction: column;
    margin-top: -44px;
  }
  .profile-head .avatar,
  .profile-head .avatar-fallback {
    width: 90px;
    height: 90px;
  }
  .site-footer {
    width: calc(100% - 28px);
    flex-direction: column;
  }
  .footer-links {
    justify-content: flex-start;
  }
  .control-user .view-site-button {
    display: none;
  }
  .control-topbar .brand > span:last-child {
    display: none;
  }
  .control-heading {
    align-items: start;
    flex-direction: column;
  }
  .quick-actions {
    grid-template-columns: 1fr;
  }
  .dashboard-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dashboard-members {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .group-checks {
    grid-template-columns: 1fr;
  }
  .widget-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .drag-grip {
    display: none;
  }
  .search-page-form {
    align-items: stretch;
    flex-direction: column;
  }
  .editor-toolbar select {
    max-width: 120px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .site-main,
  .reveal-block {
    opacity: 1;
    transform: none;
  }
}

/* Channel-first homepage */
.channel-cover {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #11151e;
}
.channel-cover-art {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0b0e14 4%, #0b0e14e6 43%, #0b0e1466),
    var(--cover-image, linear-gradient(120deg, #171429, #11151e 60%));
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
}
.channel-cover-inner {
  position: relative;
  min-height: 350px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  padding-block: 72px 48px;
}
.channel-intro {
  display: flex;
  align-items: end;
  gap: 22px;
  min-width: 0;
}
.channel-avatar {
  position: relative;
  flex: 0 0 auto;
  width: 108px;
  height: 108px;
  border: 4px solid #0b0e14;
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-items: center;
  font-size: 38px;
  font-weight: 800;
  box-shadow: 0 16px 38px #0008;
}
.channel-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.channel-avatar b {
  position: absolute;
  right: -7px;
  bottom: 7px;
  padding: 5px 8px;
  border: 3px solid #0b0e14;
  border-radius: 6px;
  background: #e91916;
  color: white;
  font-size: 11px;
  letter-spacing: 0.08em;
}
.channel-copy > p {
  margin: 0 0 5px;
  color: #d2c8ff;
  font-weight: 750;
}
.channel-copy h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 0.96;
  letter-spacing: -0.045em;
}
.channel-copy > span {
  display: block;
  margin-top: 13px;
  color: var(--muted);
  font-size: 17px;
}
.live-details {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 16px;
}
.live-details strong {
  width: 100%;
  font-size: 18px;
}
.live-details small {
  color: #d0d4df;
}
.channel-actions {
  flex: 0 0 auto;
  display: flex;
  gap: 9px;
  padding-bottom: 4px;
}
.live-room {
  padding: 26px 0 5px;
  background: #090b10;
}
.live-room-grid {
  display: grid;
  gap: 12px;
}
.live-room-grid.with-chat {
  grid-template-columns: minmax(0, 1fr) 340px;
}
.live-video,
.live-chat,
.watch-player {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #050608;
  box-shadow: 0 18px 44px #0007;
}
.live-video,
.watch-player {
  aspect-ratio: 16 / 9;
}
.live-video iframe,
.live-chat iframe,
.watch-player iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.live-chat {
  min-height: 100%;
}
.channel-strip {
  border-bottom: 1px solid var(--line);
  background: #10131a;
}
.channel-strip > .container {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.channel-strip nav {
  display: flex;
  gap: 22px;
}
.channel-strip nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d9dbe4;
  text-decoration: none;
  font-weight: 700;
}
.next-live {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 13px;
  color: inherit;
  text-decoration: none;
}
.next-live span {
  color: var(--muted);
}
.next-live strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.next-live time {
  color: #d4c9ff;
  font-weight: 750;
}
.announcement-row {
  min-height: 160px;
  display: grid;
  grid-template-columns: minmax(250px, 36%) 1fr;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: inherit;
  text-decoration: none;
  background: #141820;
  transition:
    border-color 0.18s,
    transform 0.18s;
}
.announcement-row:hover {
  border-color: color-mix(in srgb, var(--accent) 55%, #303646);
  transform: translateY(-2px);
}
.announcement-row > span {
  min-height: 180px;
  background-size: cover;
  background-position: center;
}
.announcement-row > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 27px;
}
.announcement-row p {
  max-width: 720px;
  font-size: 17px;
  color: #d2d5df;
}
.announcement-row small {
  margin-top: 9px;
  color: var(--muted);
}
.home-schedule {
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  overflow: hidden;
}
.home-schedule article {
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr) auto;
  align-items: center;
  gap: 21px;
  min-height: 87px;
  padding: 15px 20px;
  background: #131720;
}
.home-schedule article + article {
  border-top: 1px solid var(--line);
}
.home-schedule article > div:first-child {
  display: flex;
  flex-direction: column;
}
.home-schedule article time {
  margin-top: 2px;
  color: #d4c9ff;
  font-weight: 750;
}
.home-schedule article > span {
  display: flex;
  flex-direction: column;
}
.home-schedule article small {
  margin-top: 4px;
  color: var(--muted);
}
.home-schedule article > a {
  color: #d8ccff;
  text-decoration: none;
  font-weight: 750;
}
.content-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 24px;
}
.content-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 7px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
}
.content-tabs a:hover,
.content-tabs a.active {
  color: white;
  background: #1b2030;
}
.content-tabs span {
  color: #9da3b2;
  font-size: 12px;
}
.library-grid .video-tile.featured {
  grid-column: auto;
}
.video-image > small {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 3px 6px;
  border-radius: 4px;
  background: #050608dc;
  color: white;
  font-weight: 700;
}
.content-details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 15px;
  color: var(--muted);
}
.watch-page {
  padding: 34px 0 70px;
}
.back-link {
  display: inline-block;
  margin-bottom: 17px;
  color: var(--muted);
  text-decoration: none;
}
.watch-copy {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-top: 25px;
}
.watch-copy h1 {
  margin: 8px 0 0;
  font-size: clamp(28px, 4vw, 48px);
}
.watch-page > .container > .content-details {
  margin-top: 13px;
}
.watch-description {
  max-width: 900px;
  margin-top: 25px;
}
.watch-poster {
  display: grid;
  place-items: center;
  background-position: center;
  background-size: cover;
}
.watch-poster span {
  padding: 12px 18px;
  border-radius: 8px;
  background: #090b10e8;
  color: white;
  font-weight: 800;
}
.weekly-schedule {
  display: grid;
  gap: 9px;
}
.weekly-stream {
  display: grid;
  grid-template-columns: 120px 150px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 112px;
  padding: 19px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: #141820;
}
.weekday {
  display: flex;
  align-items: center;
  gap: 12px;
}
.weekday > span {
  display: none;
}
.stream-time {
  display: flex;
  flex-direction: column;
}
.stream-time time {
  font-size: 20px;
  font-weight: 800;
}
.stream-time small {
  margin-top: 3px;
  color: var(--muted);
}
.stream-details h2 {
  margin: 7px 0 0;
  font-size: 20px;
}
.stream-details p {
  margin: 4px 0 0;
  color: var(--muted);
}
.switch-list {
  display: grid;
}
.setting-switch {
  min-height: 67px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  cursor: pointer;
}
.setting-switch:first-child {
  border-top: 0;
}
.setting-switch span {
  display: flex;
  flex-direction: column;
}
.setting-switch small {
  margin-top: 3px;
  color: var(--muted);
}
.setting-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.setting-switch i {
  position: relative;
  width: 43px;
  height: 24px;
  border-radius: 999px;
  background: #343947;
  transition: background 0.18s;
}
.setting-switch i::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: white;
  transition: transform 0.18s;
}
.setting-switch input:checked + i {
  background: var(--accent);
}
.setting-switch input:checked + i::after {
  transform: translateX(19px);
}
.sticky-save {
  position: sticky;
  bottom: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 700px;
  margin: 24px auto 0;
  padding: 11px 12px 11px 17px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: #171b24f2;
  box-shadow: 0 12px 38px #0008;
}
.sticky-save span {
  color: var(--muted);
  font-size: 13px;
}
.category-picker {
  position: relative;
}
.category-results {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  top: calc(100% - 15px);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: #171b24;
  box-shadow: 0 14px 32px #0009;
}
.category-results button {
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: white;
  text-align: left;
  cursor: pointer;
}
.category-results button:hover {
  background: #222838;
}
.account-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
}
.account-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr);
  gap: 22px;
}
.account-main,
.account-side {
  display: grid;
  align-content: start;
  gap: 22px;
}
.avatar-choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 9px;
  margin-bottom: 18px;
}
.avatar-choice {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  cursor: pointer;
}
.avatar-choice:has(input:checked) {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.avatar-choice input {
  position: absolute;
  top: 8px;
  right: 8px;
}
.avatar-preview {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin-bottom: 9px;
  border-radius: 50%;
  background: #272c39;
  font-weight: 800;
}
.avatar-preview img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}
.avatar-choice small {
  max-width: 120px;
  margin-top: 3px;
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.connection-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}
.connection-row:first-of-type {
  border-top: 0;
}
.connection-row > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}
.connection-row small {
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.connection-row form {
  margin: 0;
}
.dashboard-link-card {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}
.dashboard-link-card span,
.dashboard-link-card small {
  color: var(--muted);
}
.dashboard-link-card strong {
  margin: 5px 0;
  font-size: 22px;
}

@media (max-width: 980px) {
  .live-room-grid.with-chat {
    grid-template-columns: 1fr;
  }
  .live-chat {
    height: 420px;
  }
  .weekly-stream {
    grid-template-columns: 100px 130px minmax(0, 1fr);
  }
  .weekly-stream > a {
    grid-column: 3;
    justify-self: start;
  }
  .account-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .channel-cover-inner {
    min-height: 320px;
    align-items: start;
    flex-direction: column;
    justify-content: end;
    padding-block: 45px 30px;
  }
  .channel-avatar {
    width: 78px;
    height: 78px;
  }
  .channel-copy h1 {
    font-size: 39px;
  }
  .channel-actions {
    padding-left: 100px;
  }
  .channel-strip > .container {
    align-items: start;
    flex-direction: column;
    padding-block: 12px;
  }
  .next-live {
    width: 100%;
    flex-wrap: wrap;
  }
  .announcement-row {
    grid-template-columns: 1fr;
  }
  .announcement-row > span {
    min-height: 190px;
  }
  .weekly-stream {
    grid-template-columns: 65px minmax(0, 1fr);
  }
  .weekday strong {
    display: none;
  }
  .weekday > span {
    display: block;
    font-weight: 800;
  }
  .stream-time {
    grid-column: 1;
  }
  .stream-details {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
  .weekly-stream > a {
    grid-column: 2;
  }
  .home-schedule article {
    grid-template-columns: 80px minmax(0, 1fr);
  }
  .home-schedule article > a {
    grid-column: 2;
  }
  .watch-copy,
  .account-heading {
    align-items: start;
    flex-direction: column;
  }
  .desktop-only-player {
    display: none;
  }
}

.login-logo {
  width: 88px;
  height: 88px;
  border-radius: 24px;
  object-fit: cover;
  margin-bottom: 26px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.34);
}
.connection-setup {
  max-width: 920px;
  padding-block: 88px 120px;
}
.connection-setup-copy {
  max-width: 660px;
  margin-bottom: 34px;
}
.connection-setup-copy h1 {
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.98;
  margin: 10px 0 18px;
}
.connection-setup-copy > p:last-child {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}
.connection-setup-list {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}
.connection-setup-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}
.connection-setup-row small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}
.connection-setup-row.connected {
  border-color: color-mix(in srgb, var(--success) 42%, var(--line));
}
.support-header {
  padding-bottom: 34px;
}
.support-grid,
.support-edit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.support-card {
  position: relative;
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: radial-gradient(circle at 90% 0, color-mix(in srgb, var(--accent) 28%, transparent), transparent 42%), var(--surface);
  transition: transform 180ms ease, border-color 180ms ease;
}
.support-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 68%, var(--line));
}
.support-card > span {
  color: color-mix(in srgb, var(--accent) 72%, white);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.support-card h2 {
  max-width: 420px;
  font-size: 30px;
  margin: 20px 0 12px;
}
.support-card p {
  color: var(--muted);
  line-height: 1.6;
}
.support-card b {
  position: absolute;
  left: 28px;
  bottom: 26px;
  color: var(--text);
}
.cookie-notice {
  position: fixed;
  z-index: 90;
  right: 22px;
  bottom: 22px;
  width: min(430px, calc(100vw - 44px));
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 16px 16px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(18px);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
  animation: cookie-in 220ms ease both;
}
.cookie-notice p {
  flex: 1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.cookie-notice.leaving {
  opacity: 0;
  transform: translateY(10px);
  transition: 180ms ease;
}
@keyframes cookie-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 720px) {
  .connection-setup-row {
    grid-template-columns: 46px minmax(0, 1fr);
  }
  .connection-setup-row > :last-child {
    grid-column: 1 / -1;
    width: 100%;
    text-align: center;
  }
  .support-grid,
  .support-edit-grid {
    grid-template-columns: 1fr;
  }
}

/* Channel library, schedule and newsroom */
.cookie-notice[hidden],
.sticky-save[hidden] {
  display: none !important;
}
.card-divider {
  height: 1px;
  margin: 28px 0;
  border: 0;
  background: var(--line);
}
.content-admin-filters {
  display: grid;
  grid-template-columns: minmax(180px, 1.5fr) repeat(3, minmax(130px, 0.8fr)) auto;
  align-items: end;
  gap: 12px;
  margin-bottom: 22px;
  padding: 16px;
}
.content-admin-filters .field {
  margin: 0;
}
.table-sort {
  color: inherit;
  text-decoration: none;
}
.table-sort:hover {
  color: var(--accent);
}
.table-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.table-actions form {
  margin: 0;
}
.content-edit-preview {
  width: 100%;
  max-height: 420px;
  margin-bottom: 24px;
  border-radius: 12px;
  object-fit: cover;
}
.content-library-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  padding-top: 68px;
  padding-bottom: 28px;
}
.content-library-heading h1,
.news-heading h1,
.schedule-heading h1 {
  margin: 8px 0 10px;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 0.98;
}
.content-library-heading p,
.news-heading > p:last-child,
.schedule-heading p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}
.content-filter-bar {
  position: relative;
  z-index: 3;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface) 92%, var(--accent) 8%);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.22);
}
.content-filter-bar form {
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr)) auto auto;
  align-items: end;
  gap: 10px;
}
.content-filter-bar .field {
  margin: 0;
}
.content-filter-bar label {
  color: #c8cbd4;
  font-size: 12px;
}
.content-results {
  padding-top: 32px;
}
.content-tile-card {
  overflow: hidden;
}
.content-tile-main {
  display: block;
  color: inherit;
  text-decoration: none;
}
.clipper-line {
  padding: 0 18px 17px;
  color: var(--muted);
  font-size: 13px;
}
.clipper-line a,
.watch-clipper a {
  color: color-mix(in srgb, var(--accent) 72%, white);
  font-weight: 750;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 38px;
}
.pagination a,
.pagination span {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
}
.pagination a:hover {
  border-color: var(--accent);
  color: white;
}

.schedule-page {
  min-height: 70vh;
  overflow: hidden;
  background: radial-gradient(circle at 80% 0, color-mix(in srgb, var(--accent) 17%, transparent), transparent 34%);
}
.schedule-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  padding-top: 70px;
  padding-bottom: 38px;
}
.schedule-countdown {
  min-width: 220px;
  padding: 15px 18px;
  border: 1px solid color-mix(in srgb, var(--accent) 38%, var(--line));
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 88%, var(--accent) 12%);
}
.schedule-countdown span,
.schedule-countdown strong {
  display: block;
}
.schedule-countdown span {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.next-stream-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.35fr);
  min-height: 390px;
  padding: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line));
  border-radius: 24px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--surface) 88%, var(--accent) 12%), var(--surface));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
}
.next-stream-art {
  position: relative;
  min-height: 390px;
  background-position: center 20%;
  background-size: cover;
}
.next-stream-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 55%, var(--surface));
}
.next-stream-art.no-art {
  background: linear-gradient(135deg, var(--accent), #262035 75%);
}
.next-stream-art > span {
  position: absolute;
  z-index: 1;
  left: 20px;
  bottom: 20px;
  padding: 7px 10px;
  border-radius: 7px;
  background: rgba(5, 7, 11, 0.88);
  color: white;
  font-size: 13px;
  font-weight: 800;
}
.next-stream-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px clamp(28px, 5vw, 74px) 48px 24px;
}
.next-stream-copy > div:first-child,
.schedule-card-copy > div:first-child {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-weight: 700;
}
.platform-label {
  padding: 5px 8px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--accent) 24%, #171b24);
  color: #dcd2ff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.platform-label.youtube { background: #4a171c; color: #ffb6bd; }
.platform-label.discord { background: #232b58; color: #c4ccff; }
.next-stream-copy h2 {
  margin: 17px 0 10px;
  font-size: clamp(34px, 4.5vw, 62px);
  line-height: 1.02;
}
.next-stream-copy > p {
  max-width: 620px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}
.next-stream-time {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 24px;
}
.next-stream-time time {
  font-size: 22px;
  font-weight: 900;
}
.next-stream-time span {
  color: var(--muted);
}
.schedule-list-wrap {
  padding-top: 58px;
  padding-bottom: 90px;
}
.schedule-section-title h2 {
  margin: 6px 0 20px;
  font-size: 32px;
}
.schedule-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.schedule-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  min-height: 230px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--surface);
  transition: transform 180ms ease, border-color 180ms ease;
}
.schedule-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 60%, var(--line));
}
.schedule-card-art {
  background-position: center;
  background-size: cover;
}
.schedule-card-copy {
  padding: 22px 20px;
}
.schedule-card-copy time {
  display: block;
  margin-top: 22px;
  color: color-mix(in srgb, var(--accent) 68%, white);
  font-size: 18px;
  font-weight: 900;
}
.schedule-card-copy h3 {
  margin: 8px 0 5px;
  font-size: 20px;
}
.schedule-card-copy p {
  margin: 0;
  color: var(--muted);
}
.schedule-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.schedule-card-actions a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}
.schedule-empty {
  min-height: 240px;
}
.schedule-admin-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.schedule-admin-title img {
  width: 36px;
  height: 48px;
  border-radius: 5px;
  object-fit: cover;
}
.schedule-admin-title span,
.schedule-admin-title small {
  display: block;
}
.schedule-admin-title small {
  margin-top: 3px;
  color: var(--muted);
}
.category-results button {
  display: flex;
  align-items: center;
  gap: 9px;
}
.category-results button img {
  width: 28px;
  height: 38px;
  border-radius: 3px;
  object-fit: cover;
}

.news-heading {
  padding-top: 72px;
  padding-bottom: 34px;
}
.news-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  min-height: 470px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
}
.news-lead-image {
  position: relative;
  min-height: 470px;
  background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--accent) 60%, transparent), transparent 38%), #202532;
  background-position: center;
  background-size: cover;
}
.news-lead-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 65%, var(--surface));
}
.news-lead-image span {
  position: absolute;
  z-index: 1;
  left: 24px;
  bottom: 24px;
  padding: 9px 12px;
  border-radius: 8px;
  background: rgba(6, 8, 12, 0.9);
  color: white;
  font-weight: 800;
}
.news-lead > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  padding: 45px 44px 45px 24px;
}
.news-lead h2 {
  margin: 17px 0 13px;
  font-size: clamp(32px, 4vw, 53px);
  line-height: 1.04;
}
.news-lead h2 a,
.news-card h2 a {
  color: inherit;
  text-decoration: none;
}
.news-lead p {
  color: var(--muted);
  line-height: 1.65;
}
.news-byline {
  display: flex;
  gap: 12px;
  margin: 10px 0 24px;
  color: var(--muted);
  font-size: 13px;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.news-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  transition: transform 180ms ease, border-color 180ms ease;
}
.news-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 62%, var(--line));
}
.news-card-image {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: radial-gradient(circle at 20% 20%, color-mix(in srgb, var(--accent) 45%, transparent), transparent 45%), #202532;
  background-position: center;
  background-size: cover;
}
.news-card-image span {
  position: absolute;
  left: 14px;
  bottom: 13px;
  padding: 5px 8px;
  border-radius: 5px;
  background: rgba(6, 8, 12, 0.88);
  color: white;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}
.news-card > div {
  padding: 21px;
}
.news-card time {
  color: var(--muted);
  font-size: 12px;
}
.news-card h2 {
  margin: 9px 0;
  font-size: 23px;
}
.news-card p {
  min-height: 48px;
  color: var(--muted);
  line-height: 1.55;
}
.news-read {
  color: color-mix(in srgb, var(--accent) 72%, white);
  font-weight: 800;
}
.news-article {
  padding: 70px 0 100px;
  background: radial-gradient(circle at 80% 0, color-mix(in srgb, var(--accent) 14%, transparent), transparent 30%);
}
.news-article-heading {
  max-width: 980px;
}
.news-article-heading > .tag {
  display: inline-block;
  margin-top: 26px;
}
.news-article-heading h1 {
  max-width: 930px;
  margin: 16px 0;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
}
.news-article-heading > p {
  max-width: 760px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}
.news-author {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 24px;
}
.news-author img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}
.news-author span,
.news-author small {
  display: block;
}
.news-author small {
  margin-top: 3px;
  color: var(--muted);
}
.news-article-image {
  margin-top: 46px;
}
.news-article-image img {
  width: 100%;
  max-height: 680px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.3);
}
.news-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 230px;
  justify-content: center;
  gap: 52px;
  margin-top: 48px;
}
.news-article-body {
  padding: 0;
  font-size: 18px;
  line-height: 1.85;
}
.news-article-layout aside {
  display: grid;
  align-content: start;
  gap: 18px;
  padding-top: 7px;
}
.news-article-layout aside > div {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.news-article-layout aside span,
.news-article-layout aside strong {
  display: block;
}
.news-article-layout aside span {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.slug-field {
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: var(--input);
}
.slug-field span {
  padding-left: 13px;
  color: var(--muted);
  font-size: 14px;
}
.slug-field input {
  border: 0;
  background: transparent;
}
.label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.character-count {
  color: var(--muted);
  font-size: 12px;
}
.seo-settings {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.seo-settings summary {
  margin-bottom: 18px;
  font-weight: 800;
  cursor: pointer;
}
.revision-panel {
  max-width: 900px;
  margin-top: 24px;
}
.revision-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}
.revision-list span,
.revision-list small {
  display: block;
}
.revision-list small {
  margin-top: 3px;
  color: var(--muted);
}

.support-source {
  display: flex;
  align-items: center;
  gap: 9px;
}
.support-source img {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  object-fit: contain;
  background: white;
}
.support-edit-card .panel-title {
  align-items: start;
}
.row-buttons {
  display: flex;
  align-items: center;
  gap: 7px;
}
.support-add {
  margin-top: 18px;
}
.navigation-editor {
  display: grid;
  gap: 10px;
}
.navigation-edit-row {
  padding: 0 14px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--surface) 93%, white 7%);
  transition: transform 180ms ease;
}
.navigation-edit-row.moving {
  transform: scale(0.985);
}
.navigation-row-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px;
}
.navigation-row-tools .field {
  margin: 0;
}

@media (max-width: 1100px) {
  .content-filter-bar form {
    grid-template-columns: repeat(3, minmax(140px, 1fr));
  }
  .schedule-card-grid,
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .content-admin-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .content-library-heading,
  .schedule-heading {
    align-items: start;
    flex-direction: column;
    padding-top: 42px;
  }
  .content-tabs {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
  }
  .content-filter-bar form,
  .content-admin-filters {
    grid-template-columns: 1fr;
  }
  .next-stream-card,
  .news-lead {
    grid-template-columns: 1fr;
  }
  .next-stream-art,
  .news-lead-image {
    min-height: 280px;
  }
  .next-stream-art::after,
  .news-lead-image::after {
    background: linear-gradient(180deg, transparent 65%, var(--surface));
  }
  .next-stream-copy,
  .news-lead > div {
    padding: 28px 24px 34px;
  }
  .schedule-card-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }
  .news-article-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .schedule-card {
    grid-template-columns: 95px minmax(0, 1fr);
  }
  .revision-list > div {
    align-items: start;
    flex-direction: column;
  }
}
