:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  --rail: 168px;
  --ink: #282b2f;
  --muted: #73777c;
  --line: #dadddf;
  --paper: #f7f7f6;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; }
a, button, video { touch-action: manipulation; }
a:focus-visible, video:focus-visible, button:focus-visible {
  outline: 2px solid #809ea6; outline-offset: 5px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: fixed; top: -80px; left: 16px; z-index: 10;
  padding: 12px 18px; background: white; color: var(--ink);
}
.skip-link:focus { top: 12px; }
.sidebar {
  position: fixed; inset: 0 auto 0 0; width: var(--rail);
  background: #181a1d; color: #a1a5aa; border-right: 1px solid #303338;
  padding: 31px 18px;
}
.brand {
  display: flex; align-items: center; gap: 9px; padding: 0 12px;
  color: #f3f4f4; text-decoration: none; font-size: 27px;
  font-weight: 550; letter-spacing: -1.2px; line-height: 1.2;
}
.brand img { width: 24px; height: 24px; filter: grayscale(1) brightness(0) invert(1); }
#case-nav { display: flex; flex-direction: column; gap: 5px; margin-top: 74px; }
.case-link {
  position: relative; display: block; padding: 17px 17px; text-decoration: none;
  font: 13px/1.3 ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .035em; border: 1px solid transparent;
}
.case-link:hover { color: #f3f4f4; background: #212429; }
.case-link[aria-current="page"] { background: #272b30; color: #fff; border-color: #353a40; }
.case-link[aria-current="page"]::before {
  content: ""; position: absolute; left: -1px; top: 13px; bottom: 13px; width: 2px; background: #d8dee2;
}
.main { margin-left: var(--rail); padding: 30px clamp(22px, 4vw, 70px) 46px; min-width: 0; }
.case-view { max-width: 1160px; margin: 0 auto; }
.case-title { margin: 0 0 25px; font-size: 23px; line-height: 1.2; font-weight: 500; letter-spacing: -.65px; }
.video-section { margin: 0 0 34px; }
.video-quality { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 7px; }
.quality-button {
  min-width: 40px; min-height: 27px; padding: 4px 9px; border: 1px solid #c9cdd1; border-radius: 2px;
  background: transparent; color: #626970; cursor: pointer;
  font: 11px/16px ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: .025em;
}
.quality-button:hover { color: #282b2f; border-color: #747b82; }
.quality-button[aria-pressed="true"] { background: #282b2f; border-color: #282b2f; color: white; }
.quality-button:disabled { opacity: .5; cursor: progress; }
.video-heading { margin: 0 0 14px; font-size: 18px; line-height: 1.25; font-weight: 500; letter-spacing: -.35px; }
.column-labels {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  margin: 0 2.857% 11px; color: #585d63; font-size: 13px; line-height: 1.4; font-weight: 450;
}
.video-frame { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 2px; overflow: hidden; }
video { display: block; width: 100%; height: auto; max-height: calc(100svh - 110px); object-fit: contain; background: #fff; }
.case4 .video-frame, .case4 video { background: #0b0b0d; border-color: #22262b; }
.between-panels { min-height: 20px; font-size: 14px; line-height: 1.7; color: var(--muted); }
.between-panels:empty { margin-top: -15px; }
.empty-case { min-height: min(62svh, 580px); display: grid; place-items: center; border: 1px solid var(--line); }
.empty-case svg { width: 34px; height: 34px; color: #c1c5c8; }
.retry {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 48px; height: 48px; border: 1px solid #777; border-radius: 50%;
  background: #181a1de6; color: #fff; cursor: pointer; font-size: 25px;
}
.no-script { margin: 40px 40px 40px calc(var(--rail) + 40px); }
@media (min-width: 1700px) { .main { padding-top: 38px; } }
@media (max-width: 900px) {
  :root { --rail: 138px; }
  .sidebar { padding: 28px 12px; }
  .brand { padding: 0 9px; font-size: 25px; gap: 7px; }
  .brand img { width: 21px; height: 21px; }
  .case-link { padding: 16px 14px; }
  .main { padding: 28px 24px 38px; }
  .column-labels { font-size: 12px; gap: 20px; }
}
@media (max-width: 640px) {
  .sidebar {
    position: sticky; inset: 0 0 auto; width: 100%; z-index: 5;
    padding: 15px 16px 0; border-right: 0; border-bottom: 1px solid #303338;
  }
  .brand { padding: 0; font-size: 23px; gap: 8px; }
  .brand img { width: 21px; height: 21px; }
  #case-nav { flex-direction: row; gap: 3px; margin-top: 12px; }
  .case-link { flex: 1; text-align: center; padding: 12px 5px; font-size: 12px; }
  .case-link[aria-current="page"] { border-bottom-color: transparent; }
  .case-link[aria-current="page"]::before { left: 12px; right: 12px; top: auto; bottom: 0; width: auto; height: 2px; }
  .main { margin-left: 0; padding: 23px 14px 30px; }
  .case-title { font-size: 22px; margin-bottom: 22px; }
  .video-heading { font-size: 16px; margin-bottom: 12px; }
  .column-labels { font-size: 10px; gap: 14px; margin-bottom: 8px; }
  .video-section { margin-bottom: 29px; }
  .quality-button { min-height: 36px; min-width: 48px; }
  video { max-height: calc(100svh - 155px); }
  .between-panels:empty { min-height: 12px; }
  .no-script { margin: 30px 14px; }
}
