@font-face {
  font-family: Inter;
  src: url(/static/inter.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #101317;
  --side: #14181e;
  --surface: #181d24;
  --edge: #2b323c;
  --muted: #a2adbb;
  --text: #f2f4f7;
  --accent: #368dff;
  font:
    14px/1.5 Inter,
    Geist,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  color: var(--text);
  background: var(--bg);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  color: var(--text);
  background: #232932;
  border: 1px solid #38414d;
  border-radius: 7px;
  padding: 9px 13px;
  text-decoration: none;
  font-weight: 550;
}
button:hover,
.btn:hover {
  background: #303845;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
.primary {
  background: var(--accent);
  color: #071925;
  border-color: transparent;
  font-weight: 700;
}
.primary:hover {
  filter: brightness(1.14);
  background: var(--accent);
}
.plain {
  background: transparent;
  border-color: transparent;
  color: var(--muted);
}
.link {
  color: #86baff;
  border: none;
  background: transparent;
  padding: 4px;
}
.ico {
  width: 18px;
  height: 18px;
  flex: none;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #86baff;
  outline-offset: 3px;
}
.skip {
  position: fixed;
  left: -300px;
  top: 10px;
  z-index: 20;
}
.skip:focus {
  left: 15px;
}
.shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 222px minmax(0, 1fr);
}
aside {
  background: var(--side);
  border-right: 1px solid var(--edge);
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 24px 13px 14px;
}
.brand {
  padding: 0 12px 23px;
  border-bottom: 1px solid var(--edge);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.brand img {
  width: 163px;
  height: 40px;
  object-fit: contain;
  object-position: left;
}
.brand small,
.eyebrow,
.group {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 750;
  color: var(--muted);
}
.brand small {
  padding-left: 2px;
}
.group {
  padding: 23px 13px 7px;
  color: #8996a7;
}
.nav {
  width: 100%;
  background: none;
  border: 0;
  justify-content: flex-start;
  color: #bcc4cf;
  padding: 9px 13px;
  margin: 1px 0;
  gap: 11px;
}
.active {
  background: #1e324c;
  color: #99c6ff;
}
.nav.active:hover {
  background: #233b59;
}
.person {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--edge);
  padding: 15px 4px 0;
}
.avatar {
  background: #303a48;
  color: #c7d5e5;
  border: 1px solid #435064;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  font-weight: 700;
}
.top {
  min-height: 57px;
  border-bottom: 1px solid var(--edge);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 clamp(17px, 3vw, 48px);
  color: var(--muted);
  font-size: 12px;
}
.spacer {
  flex: 1;
}
.demo {
  color: #c6d7ee;
  background: #213043;
  padding: 3px 9px;
  border: 1px solid #354860;
  border-radius: 20px;
  font-size: 11px;
}
.mobileMenu,
.mobileTabs {
  display: none;
}
.content {
  max-width: 1650px;
  padding: 31px clamp(17px, 3vw, 48px) 52px;
  margin: auto;
}
.head,
.sectionHead,
.row,
.actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.head,
.sectionHead {
  justify-content: space-between;
}
.head {
  margin-bottom: 23px;
}
.head p,
.muted,
small {
  color: var(--muted);
}
.head p {
  margin: 4px 0 0;
}
.eyebrow {
  color: #8cb8eb;
}
.head h1 {
  font-size: clamp(29px, 3vw, 43px);
  letter-spacing: -0.05em;
  line-height: 1.12;
  margin: 5px 0;
}
.actions {
  flex-wrap: wrap;
}
.stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 19px;
}
.stat,
.panel,
.hero,
.newsCard {
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: 10px;
  overflow: hidden;
}
.stat {
  padding: 15px 16px;
}
.stat .ico {
  color: #96a7bd;
  width: 16px;
}
.stat label {
  font-size: 12px;
  color: #c0c9d4;
  display: flex;
  gap: 7px;
  align-items: center;
}
.number {
  font-size: 31px;
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 1.3;
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
}
.number small {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
}
.stat small {
  font-size: 11px;
}
.production {
  height: 3px;
  background: #303a47;
  margin-top: 9px;
  max-width: 120px;
}
.production i {
  height: 100%;
  display: block;
  background: var(--accent);
}
.duo {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 1fr);
  gap: 16px;
  margin-bottom: 22px;
}
.hero {
  position: relative;
  min-height: 276px;
  display: flex;
  align-items: flex-end;
  background: #152132;
}
.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(5, 9, 15, 0.96) 2%,
    rgba(5, 9, 15, 0.5) 65%,
    rgba(5, 9, 15, 0.16)
  );
}
.heroBody {
  position: relative;
  z-index: 1;
  padding: 22px 25px;
}
.hero h2 {
  max-width: 600px;
  font-size: clamp(21px, 2vw, 30px);
  line-height: 1.16;
  letter-spacing: -0.035em;
  margin: 8px 0 16px;
}
.hero .eyebrow {
  color: #c6dcfa;
}
.hero button {
  background: #f1f4f8;
  color: #121923;
  border: 0;
  font-size: 12px;
}
.sectionHead {
  padding: 16px 18px;
  border-bottom: 1px solid var(--edge);
}
h2,
h3 {
  margin: 0;
  letter-spacing: -0.025em;
}
.sectionHead h2,
h2.section {
  font-size: 17px;
}
.panelBody {
  padding: 18px;
}
.chan {
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--edge);
}
.chan:last-child {
  border: 0;
}
.chan strong {
  display: block;
  font-size: 13px;
}
.chan small {
  font-size: 11px;
}
.channelIcon,
.tile {
  width: 32px;
  height: 32px;
  background: #252b34;
  border: 1px solid #38404d;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #e2e7ed;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #39414c;
  color: #c2ccd8;
  background: #222933;
  border-radius: 20px;
  font-size: 11px;
  padding: 3px 9px;
  white-space: nowrap;
}
.pill:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 100%;
  background: currentColor;
}
.blue {
  color: #8bc0ff;
  background: #1a2d45;
  border-color: #304b70;
}
.amber {
  color: #f1cf8b;
  background: #342d21;
  border-color: #50412c;
}
.green {
  color: #a1d5ba;
  background: #21342a;
  border-color: #354c3d;
}
.red {
  color: #ffb0a9;
  background: #392725;
  border-color: #563a36;
}
.tableWrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
th,
td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--edge);
  vertical-align: middle;
}
th {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
  background: #171b21;
  white-space: nowrap;
}
td {
  font-size: 13px;
}
tr:last-child td {
  border: 0;
}
.story {
  background: none;
  border: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}
.story img,
.thumb {
  width: 64px;
  height: 44px;
  object-fit: cover;
  border-radius: 5px;
}
.story span {
  max-width: 480px;
  font-weight: 600;
}
.story small {
  display: block;
  font-size: 11px;
  font-weight: 450;
  margin-top: 3px;
}
.story:hover {
  color: #a1caff;
  background: none;
}
.filter,
.tabs {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  padding: 14px 17px;
  border-bottom: 1px solid var(--edge);
}
input,
select,
textarea {
  background: #10151c;
  color: var(--text);
  border: 1px solid #3c4653;
  border-radius: 6px;
  padding: 9px 11px;
  min-width: 0;
  max-width: 100%;
}
input[type="checkbox"] {
  accent-color: var(--accent);
  width: 17px;
  height: 17px;
}
textarea {
  width: 100%;
  min-height: 110px;
  resize: vertical;
}
.empty {
  color: var(--muted);
  padding: 24px;
  text-align: center;
}
.tabs button,
.mobileTabs button {
  font-size: 12px;
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.grid label,
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #cdd5df;
  font-size: 13px;
}
details {
  border: 1px solid var(--edge);
  border-radius: 8px;
  margin: 10px 0;
  background: var(--surface);
  padding: 14px 17px;
}
summary {
  cursor: pointer;
  font-weight: 650;
}
details[open] > summary {
  margin-bottom: 15px;
}
.timeline {
  padding-left: 0;
  list-style: none;
}
.timeline li {
  position: relative;
  margin-left: 10px;
  padding: 0 0 22px 25px;
  border-left: 1px solid #384657;
}
.timeline li:before {
  position: absolute;
  content: "";
  width: 9px;
  height: 9px;
  left: -5px;
  top: 7px;
  border-radius: 50%;
  background: #687382;
}
.timeline li.done:before {
  background: var(--accent);
}
.timeline h3 {
  font-size: 15px;
}
.timeline p {
  margin: 5px 0;
  font-size: 13px;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.editor {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(230px, 0.8fr);
  gap: 18px;
}
.editor video {
  width: 100%;
  max-height: 58vh;
  background: #0b0d11;
  border-radius: 7px;
}
.editor .field {
  margin: 12px 0;
}
.preview {
  text-align: center;
}
.preview img {
  width: 100%;
  max-height: 48vh;
  object-fit: cover;
}
.stack > * + * {
  margin-top: 12px;
}
a {
  color: #93c2ff;
}
.login {
  min-height: 100vh;
  display: grid;
  place-content: center;
  padding: 18px;
}
.login form {
  width: min(390px, 87vw);
  padding: 28px;
  border: 1px solid var(--edge);
  background: var(--surface);
  border-radius: 11px;
}
.login img {
  width: 175px;
}
.login .field {
  margin: 15px 0;
}
dialog {
  width: min(630px, 94vw);
  max-height: 86vh;
  background: var(--surface);
  color: var(--text);
  border: 1px solid #485464;
  border-radius: 12px;
  padding: 22px;
}
dialog::backdrop {
  background: #04070bd6;
}
.dialogClose {
  float: right;
}
.dialogBody {
  clear: both;
  padding-top: 15px;
}
.dialogBody label {
  margin: 8px 0;
}
.sticky {
  position: sticky;
  bottom: 0;
  background: var(--bg);
  padding: 14px 0;
}
.danger {
  color: #ffb2ac;
}
.notice {
  background: #302a20;
  border: 1px solid #514534;
  padding: 12px;
  border-radius: 7px;
}
#toast {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 20;
  background: #27394c;
  box-shadow: 0 6px 20px #080a0f;
  border-radius: 7px;
  max-width: min(470px, 92vw);
  padding: 0;
}
#toast:not(:empty) {
  padding: 12px 18px;
}
label.inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.menuBackdrop {
  display: none;
}
.calendarDay {
  padding: 15px 18px;
  border-bottom: 1px solid var(--edge);
}
.calendarDay .row {
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 9px 0;
}
.filter input {
  flex: 1;
}
.login .primary {
  width: 100%;
}
.swatch {
  display: inline-block;
  background: var(--accent);
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
code {
  word-break: break-all;
}
audio {
  max-width: 100%;
}
@media (min-width: 1500px) {
  .hero {
    min-height: 320px;
  }
}
@media (max-width: 1100px) {
  .shell {
    grid-template-columns: 185px minmax(0, 1fr);
  }
  .stat {
    padding: 11px;
  }
  .duo {
    grid-template-columns: 1.2fr 1fr;
  }
  .top,
  .content {
    padding-left: 20px;
    padding-right: 20px;
  }
  .brand img {
    width: 140px;
  }
  .stat label {
    font-size: 11px;
  }
}
@media (max-width: 800px) {
  .shell {
    display: block;
  }
  aside {
    position: fixed;
    width: 224px;
    z-index: 8;
    transform: translateX(-105%);
    overflow: auto;
    height: 100dvh;
  }
  body.menu aside {
    transform: translateX(0);
  }
  body.menu .menuBackdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: #0009;
    z-index: 7;
    border: 0;
    border-radius: 0;
  }
  .mobileMenu,
  .mobileTabs {
    display: inline-flex;
  }
  .content {
    padding: 21px 14px 35px;
  }
  .top {
    padding: 0 12px;
    gap: 8px;
  }
  .head {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .head h1 {
    font-size: 31px;
  }
  .duo,
  .editor {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }
  .stat label {
    display: block;
  }
  .stat label svg {
    display: none;
  }
  .number {
    font-size: 26px;
  }
  .hero {
    min-height: 235px;
  }
  .heroBody {
    padding: 18px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .editor.showEdit .preview,
  .editor.showPreview .editPane {
    display: none;
  }
  .mobileTabs {
    gap: 8px;
    margin-bottom: 12px;
  }
  .head .actions {
    gap: 6px;
  }
  .top .crumb {
    display: none;
  }
  .row {
    flex-wrap: wrap;
  }
  .chan {
    flex-wrap: nowrap;
  }
  .story img {
    width: 45px;
    height: 38px;
  }
  .story span {
    min-width: 165px;
  }
  .sectionHead {
    padding: 13px;
  }
  .sticky {
    z-index: 2;
  }
  .tabs,
  .filter {
    padding: 10px;
  }
  .tabs button {
    padding: 7px 9px;
  }
  th,
  td {
    padding: 10px;
  }
  .head p {
    font-size: 13px;
  }
  .top .mobileMenu {
    min-height: 44px;
  }
  .person {
    margin-top: 20px;
  }
  button,
  .btn {
    min-height: 40px;
  }
}
.chanMark {
  color: #a1adbb;
}
.chanMark.ok {
  color: #90c2a7;
}
.chanMark.bad {
  color: #ef998d;
}

.archivePlayer { display:block; width:100%; max-height:68dvh; background:#10151c; }

.officialLinks { display:flex; flex-wrap:wrap; gap:8px 18px; margin:14px 0; }
