@font-face {
  font-family: Geist;
  src: url("/fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --page: #111214;
  --rail: #0d0e10;
  --surface: #1a1c1f;
  --raised: #24272b;
  --line: #303236;
  --soft-line: #25272a;
  --text: #eef0f2;
  --muted: #abb0b7;
  --dim: #9399a1;
  --blue: #85b7ff;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  --rail-width: clamp(225px, 18vw, 268px);
  --gutter: clamp(22px, 2.6vw, 46px);
}
* {
  box-sizing: border-box;
}
html {
  background: var(--page);
  scrollbar-color: #43474e var(--page);
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--page);
  color: var(--text);
  font: 15px/1.55 Geist, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.17;
  font-weight: 580;
}
h1 {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  letter-spacing: -0.052em;
  overflow-wrap: anywhere;
}
h2 {
  font-size: 1.42rem;
  letter-spacing: -0.037em;
}
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
::selection {
  background: #324d73;
  color: #fff;
}
[hidden],
html:not(.js) .js-only {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: fixed;
  inset: 8px auto auto 8px;
  padding: 8px 13px;
  background: var(--text);
  color: var(--page);
  transform: translateY(-165%);
  z-index: 10;
}
.skip:focus-visible {
  transform: none;
}
.rail {
  width: var(--rail-width);
  background: var(--rail);
  color: var(--text);
  border: 0;
  border-right: 1px solid var(--line);
  padding: 0;
  margin: 0;
  flex-direction: column;
  min-height: 0;
}
.rail-brand,
.mobile-bar,
.work-head,
.head-links,
.wordmark,
.tabs,
.rail-search,
.filters label,
.mobile-search,
.rail-footer,
.command,
.button,
.source-link,
.run {
  display: flex;
  align-items: center;
}
.rail-brand {
  min-height: 64px;
  padding: 0 18px;
  gap: 10px;
}
.wordmark {
  gap: 8px;
  width: max-content;
  font-size: 18px;
  font-weight: 635;
  letter-spacing: -0.055em;
  white-space: nowrap;
}
.wordmark img {
  display: block;
  flex-shrink: 0;
}
.version {
  margin-left: auto;
  font: 10px/1 var(--mono);
  letter-spacing: 0.005em;
  color: var(--dim);
}
.version:hover,
.rail-footer a:hover,
.head-links a:hover,
.trail a:hover {
  color: var(--text);
}
.mobile-bar,
.mobile-close {
  display: none;
}
.tabs {
  margin: 0 17px;
  border-bottom: 1px solid var(--soft-line);
  gap: 3px;
}
.tabs a {
  margin-bottom: -1px;
  padding: 9px 8px 10px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 520;
  border-bottom: 2px solid transparent;
}
.tabs a:hover {
  color: var(--text);
}
.tabs a[aria-current] {
  border-color: var(--blue);
  color: var(--text);
}
.rail-search,
.mobile-search,
.filters label {
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
  color: var(--dim);
}
.rail-search {
  margin: 17px 16px 9px;
  padding: 0 9px;
}
.rail-search:focus-within,
.mobile-search:focus-within,
.filters label:focus-within {
  border-color: var(--blue);
}
.rail-search svg,
.mobile-search svg,
.filters svg {
  flex: none;
}
input[type="search"] {
  border: 0;
  border-radius: 0;
  background: transparent;
  min-width: 0;
  width: 100%;
  padding: 7px 0;
  font-size: 12px;
  color: var(--text);
  outline: 0;
}
input::placeholder {
  color: var(--dim);
  opacity: 1;
}
kbd {
  min-width: 17px;
  text-align: center;
  border: 1px solid #3b3e44;
  border-radius: 3px;
  color: var(--dim);
  font: 10px/15px var(--mono);
}
.rail-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 7px 14px 24px;
  scrollbar-width: thin;
  scrollbar-color: #35383d transparent;
}
.nav-group {
  margin: 13px 0 20px;
}
.nav-group h2 {
  margin: 0 9px 4px;
  color: var(--dim);
  font: 10px/1.5 var(--mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.rail-list a,
.rail-results a {
  display: block;
  border-radius: 3px;
  padding: 4px 9px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.rail-list a:hover,
.rail-results a:hover,
.guide-group summary:hover {
  color: var(--text);
  background: var(--surface);
}
.rail-list a[aria-current] {
  color: var(--blue);
  background: #1a2636;
}
.rail-index {
  margin: 8px 0 13px;
}
.guide-group {
  padding: 2px 0;
}
.guide-group summary {
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  list-style: none;
  border-radius: 3px;
  padding: 5px 9px;
  color: var(--text);
  font-size: 13px;
  font-weight: 530;
}
.guide-group summary::-webkit-details-marker {
  display: none;
}
.guide-group summary::before {
  content: "";
  width: 5px;
  height: 5px;
  border-top: 1px solid var(--dim);
  border-right: 1px solid var(--dim);
  transform: rotate(45deg);
}
.guide-group[open] summary::before {
  transform: rotate(135deg);
}
.guide-group > div {
  margin: 2px 0 6px 11px;
  padding-left: 6px;
  border-left: 1px solid var(--line);
}
.rail-status {
  padding: 8px 9px;
  font-size: 12px;
  color: var(--dim);
}
.rail-results a {
  margin: 2px 0;
}
.rail-results small {
  display: block;
  color: var(--dim);
  font: 10px/1.4 var(--mono);
}
.rail-footer {
  justify-content: space-between;
  padding: 14px 21px;
  border-top: 1px solid var(--soft-line);
  color: var(--dim);
  font-size: 11px;
}
.workspace {
  min-width: 0;
}
.work-head {
  justify-content: space-between;
  min-height: 57px;
  padding: 0 var(--gutter);
  gap: 18px;
  border-bottom: 1px solid var(--soft-line);
}
.trail {
  display: flex;
  align-items: baseline;
  gap: 9px;
  color: var(--dim);
  min-width: 0;
  font-size: 12px;
}
.trail > * {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.trail > [aria-hidden] {
  flex: none;
  color: #626973;
}
.trail > [aria-current] {
  color: #c7cbd0;
}
.head-links {
  flex: none;
  gap: 19px;
  color: var(--muted);
  font-size: 12px;
}
.head-links a:last-child {
  font: 12px var(--mono);
}
main {
  width: min(100%, 1690px);
  margin: 0 auto;
  padding: clamp(24px, 3vw, 48px) var(--gutter) 64px;
}
main:focus {
  outline: 0;
}
.page-intro p,
.detail-title p {
  margin-top: 9px;
  color: var(--muted);
  max-width: 65ch;
  font-size: 15px;
  line-height: 1.55;
}
.gallery-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.gallery-head .page-intro p {
  max-width: 58ch;
}
.command {
  gap: 9px;
  position: relative;
  max-width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
  padding: 6px 9px 6px 12px;
}
.command .prompt {
  color: var(--blue);
  font: 13px var(--mono);
}
.command code {
  font: 12px/1.6 var(--mono);
  overflow-wrap: anywhere;
  user-select: all;
}
.gallery-head .command {
  flex-shrink: 0;
}
.copy {
  border: 0;
  border-radius: 3px;
  color: var(--dim);
  background: transparent;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  margin-left: auto;
}
.copy:hover {
  background: var(--raised);
  color: var(--text);
}
.copy[data-copied] {
  color: var(--blue);
}
.copy[data-copied] svg {
  display: none;
}
.copy[data-copied]::after {
  content: "✓";
}
.gallery-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 0 0 13px;
  margin-top: 28px;
  border-bottom: 1px solid var(--line);
}
.collections {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}
.collections button {
  padding: 5px 10px;
  border: 1px solid transparent;
  border-radius: 4px;
  white-space: nowrap;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 480;
  line-height: 1.5;
}
.collections button:hover {
  color: var(--text);
  background: var(--surface);
}
.collections button[aria-pressed="true"] {
  background: var(--raised);
  color: var(--text);
  border-color: #373a3e;
}
.result-count {
  color: var(--dim);
  white-space: nowrap;
  font: 11px/1.4 var(--mono);
}
.mobile-filters {
  display: none;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 265px), 1fr));
  gap: 24px 17px;
  margin-top: 19px;
}
.card {
  min-width: 0;
  display: block;
  border-radius: 4px;
}
.card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #191a1d;
  border-radius: 4px;
}
.card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: inherit;
  pointer-events: none;
}
.card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-caption {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 1px 0;
}
.card h2 {
  font-size: clamp(0.94rem, 1.3vw, 1.08rem);
  letter-spacing: -0.029em;
  font-weight: 570;
}
.category {
  display: block;
  margin-top: 3px;
  color: var(--dim);
  font-size: 12px;
}
.card-arrow {
  color: var(--dim);
  font: 18px/1 var(--mono);
}
.card:hover .card-arrow,
.card:focus-visible .card-arrow,
.card:hover h2 {
  color: var(--blue);
}
.card:hover .card-image::after {
  border-color: #7796bc;
}
.empty {
  padding: 35px 0;
  color: var(--muted);
}
.empty button {
  border: 0;
  background: transparent;
  color: var(--blue);
  text-decoration: underline;
}
.button,
.source-link,
.run {
  display: inline-flex;
  width: fit-content;
  gap: 12px;
  padding: 8px 13px;
  border: 1px solid #44494f;
  border-radius: 4px;
  background: var(--raised);
  color: var(--text);
  font-size: 13px;
  font-weight: 520;
}
.button:hover,
.source-link:hover,
.run:hover {
  border-color: var(--blue);
}
.button.secondary {
  background: transparent;
}
.detail-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}
.detail-title > a {
  flex-shrink: 0;
}
.source-suffix {
  color: var(--dim);
}
.stage {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  max-height: 76dvh;
  aspect-ratio: 16/9;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #08090a;
}
.stage img,
.stage iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}
.stage img {
  object-fit: cover;
}
.run {
  position: relative;
  padding: 11px 16px;
  background: #131519;
  border-color: #6a7078;
  box-shadow: 0 2px 14px #0005;
}
.run span {
  font-size: 11px;
  color: var(--blue);
}
.stage-foot,
.detail-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.stage-foot {
  padding: 10px 0;
  color: var(--dim);
  font-size: 12px;
}
.detail-foot {
  border-top: 1px solid var(--line);
  padding: 17px 0;
}
.stage-foot a,
.detail-foot a,
.raw-link,
.text-link {
  color: var(--blue);
  font-size: 13px;
}
.stage-foot a:hover,
.detail-foot a:hover,
.raw-link:hover,
.text-link:hover {
  text-decoration: underline;
}
.source-layout {
  display: grid;
  grid-template-columns: minmax(145px, 205px) minmax(0, 1fr);
  align-items: start;
  gap: 19px;
}
.file-nav {
  display: grid;
  gap: 3px;
  position: sticky;
  top: 15px;
  max-height: calc(100dvh - 30px);
  overflow: auto;
}
.file-nav b {
  margin-bottom: 5px;
  font-weight: 540;
}
.file-nav a {
  padding: 3px 4px;
  color: var(--muted);
  font: 12px/1.6 var(--mono);
  overflow-wrap: anywhere;
}
.file-nav a:hover {
  background: var(--surface);
  color: var(--blue);
}
.file-nav a[aria-current="page"] {
  color: var(--blue);
  background: var(--surface);
}
.file-nav details { margin-top: 9px; }
.file-nav details a { display: block; }
.file-nav summary { cursor: pointer; color: var(--dim); padding: 6px 3px; }
.code-block { position: relative; min-width: 0; }
.prose .code-block { margin: 0 0 16px; }
.prose .code-block > .copy {
  position: absolute;
  top: 7px;
  right: 7px;
  background: #161b22;
}
.prose .code-block pre { padding-right: 44px; }
.code-block pre code { font: inherit; }
.source-file {
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.code-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 12px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.code-bar b { margin-right: auto; overflow-wrap: anywhere; font: 12px/1.5 var(--mono); }
.code-bar a { white-space: nowrap; }
.code-bar .copy { margin-left: 0; }
.source-file pre {
  margin: 0;
  padding: 13px 16px 18px 0;
  overflow: auto;
  tab-size: 2;
  font: 13px/1.65 var(--mono);
  counter-reset: source-line;
}
.source-file .line::before {
  counter-increment: source-line;
  content: counter(source-line);
  display: inline-block;
  width: 3.8em;
  padding-right: 1em;
  text-align: right;
  color: #838d99;
  user-select: none;
}
.source-file .line:target { background: #284267; scroll-margin-top: 64px; }
.doc-main,
.reading {
  max-width: 860px;
}
.doc-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 17px;
}
.filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 24px 0 7px;
}
.filters label {
  padding: 1px 10px;
  max-width: 360px;
  flex: 1;
}
.doc-list {
  list-style: none;
  margin: 17px 0 22px;
  padding: 0;
  border-top: 1px solid var(--line);
}
.doc-list li {
  border-bottom: 1px solid var(--soft-line);
}
.doc-list a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 10px 3px;
}
.doc-list b {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.doc-list a > span {
  color: var(--dim);
  font: 11px/1.4 var(--mono);
  text-align: right;
}
.doc-list a:hover b {
  color: var(--blue);
}
.guide-group { margin: 26px 0; }
.guide-group h2 { font-size: 19px; }
.guide-group .doc-list { margin-top: 7px; }
.api-module { border-bottom: 1px solid var(--line); }
.api-module summary { cursor: pointer; padding: 12px 2px; }
.api-module summary code { font: 13px var(--mono); }
.api-module summary span { color: var(--dim); margin-left: 5px; font-size: 12px; }
.api-module .doc-list { margin: 0 0 14px 18px; }
.prose {
  line-height: 1.7;
  color: #c7cbd0;
  overflow-wrap: anywhere;
}
.prose h1,
.prose h2,
.prose h3,
.starter-options h2 {
  color: var(--text);
}
.prose h1 {
  margin: 0 0 16px;
}
.prose h2 {
  margin: 32px 0 11px;
}
.prose h3 {
  margin: 23px 0 8px;
  font-size: 1.12rem;
}
.prose > :where(p, ul, ol, pre, table, blockquote) {
  margin: 0 0 16px;
}
.prose img {
  max-width: 100%;
  height: auto;
}
.prose a,
.starter-options .text-link {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose :is(h1, h2, h3, h4) a {
  color: inherit;
  text-decoration: none;
}
.prose code,
.starter-options code {
  font-family: var(--mono);
}
.prose :not(pre) > code,
.starter-options p code {
  padding: 1px 4px;
  background: var(--raised);
  border-radius: 3px;
  color: #e0e6ed;
  font-size: 0.88em;
}
.prose pre,
.starter-options pre {
  padding: 15px 17px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--rail);
  overflow: auto;
  color: #d2d8e2;
  font: 13.5px/1.65 var(--mono);
  tab-size: 2;
}
.prose table {
  display: block;
  width: fit-content;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}
.prose td,
.prose th {
  border: 1px solid var(--line);
  padding: 6px 9px;
  text-align: left;
}
.prose th {
  color: var(--text);
  background: var(--surface);
}
.prose blockquote {
  padding-left: 14px;
  border-left: 2px solid #49637f;
}
.prose ul,
.prose ol {
  padding-left: 23px;
}
.prose + h2 {
  margin-top: 34px;
}
.raw-link {
  display: inline-block;
}
.doc-main > .raw-link {
  margin-top: 13px;
}
.starter-options {
  margin-top: 27px;
}
.starter-options section {
  padding: 18px 0 21px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 12px;
}
.starter-options h2 {
  margin: 0 0 5px;
}
.starter-options p {
  margin: 0 0 13px;
  color: var(--muted);
}
.starter-options .command {
  width: fit-content;
}
.starter-options pre {
  width: fit-content;
  min-width: 190px;
  margin: 10px 0 14px;
}
.redirect {
  display: block;
  padding: 22px;
}
.redirect a {
  color: var(--blue);
}
@media (min-width: 801px) {
  body {
    display: grid;
    grid-template-columns: var(--rail-width) minmax(0, 1fr);
    align-items: start;
  }
  .rail[popover] {
    display: flex;
    position: sticky;
    inset: 0 auto auto 0;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    max-width: none;
  }
}
@media (max-width: 1120px) {
  .gallery-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
  .gallery-head .page-intro p {
    max-width: 66ch;
  }
  .source-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .file-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 11px;
    max-height: 13rem;
  }
}
@media (max-width: 800px) {
  :root {
    --gutter: clamp(15px, 3.5vw, 28px);
  }
  .mobile-bar {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    min-height: 53px;
    padding: 0 var(--gutter);
    border-bottom: 1px solid var(--line);
    background: var(--rail);
  }
  .mobile-bar .wordmark {
    font-size: 17px;
  }
  .menu-button,
  .mobile-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 36px;
    padding: 0 10px;
    border-radius: 4px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--text);
    font-size: 13px;
  }
  .menu-button span {
    font-size: 15px;
  }
  .rail[popover] {
    inset: 0 auto 0 0;
    width: min(310px, calc(100% - 25px));
    height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
    max-width: none;
  }
  .rail:popover-open {
    display: flex;
  }
  .rail::backdrop {
    background: #050608a8;
  }
  .rail .version {
    margin-left: auto;
  }
  .mobile-close {
    font: 22px/1 var(--mono);
    border: 0;
    width: 32px;
    height: 32px;
    padding: 0;
  }
  .tabs a {
    flex: 1;
  }
  .rail-list a,
  .rail-results a {
    padding-block: 6px;
  }
  .work-head {
    min-height: 39px;
  }
  .workspace:has([data-gallery]) .work-head {
    display: none;
  }
  .gallery-controls {
    margin-top: 16px;
    padding-bottom: 0;
    border: 0;
  }
  .gallery-controls .collections {
    display: none;
  }
  .mobile-filters {
    display: flex;
    gap: 8px;
    width: 100%;
  }
  .mobile-search {
    display: flex;
    flex: 1;
    min-width: 0;
    padding: 1px 8px;
  }
  .mobile-filters select {
    min-width: 0;
    max-width: 45%;
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 0 7px;
    background: var(--surface);
    color: var(--text);
    font-size: 12px;
  }
  html.js .gallery-controls .result-count {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 13px;
  }
}
@media (max-width: 539px) {
  .gallery-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .result-count {
    font-size: 10px;
  }
  .gallery-head .command {
    flex-shrink: 1;
  }
  h1 {
    font-size: 32px;
  }
  .detail-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
  }
  .head-links {
    gap: 10px;
  }
  .head-links a:first-child {
    display: none;
  }
  .doc-list a {
    flex-wrap: wrap;
    gap: 3px 10px;
  }
  .doc-list a > span {
    text-align: left;
  }
  .card h2 {
    font-size: 16px;
  }
  .card-caption {
    padding-top: 8px;
  }
}

.starter-gallery {
  max-width: 1080px;
}
.starter-gallery .page-intro .command {
  margin-top: 16px;
  width: fit-content;
}
.starter-gallery .starter-options .command {
  margin-bottom: 12px;
}
.starter-gallery .starter-options .command code {
  white-space: pre-wrap;
}
.starter-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.starter-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}
.starter-card:hover, .starter-card:focus-visible {
  border-color: var(--blue);
}
.starter-image {
  border-radius: 0;
}
.starter-image > span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 4px 9px;
  border: 1px solid #55585f;
  border-radius: 4px;
  background: #111318e8;
  color: var(--text);
  font-size: 12px;
}
.starter-caption {
  padding: 15px 17px;
}
.starter-caption p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
}
.workspace:has(.starter-viewer) .work-head {
  display: none;
}
main:has(> .starter-viewer) {
  width: 100%;
  padding: 0;
}
.starter-viewer {
  position: relative;
  height: 100dvh;
  background: #070910;
}
.starter-viewer iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.starter-tools {
  position: absolute;
  top: 50%;
  right: max(12px, env(safe-area-inset-right));
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateY(-50%);
}
.starter-tools a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #4c5058;
  border-radius: 50%;
  background: #111318df;
  color: var(--text);
  font: 17px var(--mono);
}
.starter-tools a:hover, .starter-tools a:focus-visible {
  color: var(--blue);
  border-color: var(--blue);
}
.starter-still {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  background: #070910;
  text-align: center;
}
.starter-still img {
  width: 100%;
  height: auto;
}
.starter-still a {
  color: var(--blue);
}
@media (max-width: 800px) {
  .starter-viewer { height: calc(100dvh - 53px); }
}
@media (max-width: 600px) {
  .starter-cards { grid-template-columns: minmax(0, 1fr); }
  .starter-tools {
    top: max(12px, env(safe-area-inset-top));
    flex-direction: row;
    transform: none;
  }
}
