:root {
  --background: #090b11;
  --text: #e8eaf0;
  --muted: #aab0bf;
  --subtle: #8a91a1;
  --faint: #858c9d;
  --accent: oklch(0.78 0.08 70);
  --font-body: "Manrope", sans-serif;
  --font-display: "Michroma", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
a {
  color: var(--text);
  text-decoration: none;
}
a:hover {
  color: #fff;
}
button,
input,
select {
  font: inherit;
}
button {
  touch-action: manipulation;
}
img {
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
.conditional {
  display: contents;
}
:focus-visible {
  outline: 2px solid var(--accent) !important;
  outline-offset: 5px;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  background: #f2f3f6;
  color: #090b11;
  padding: 12px 18px;
  border-radius: 6px;
  transform: translateY(-200%);
}
.skip-link:focus {
  transform: none;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(9, 11, 17, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.site-header.home-header {
  position: fixed;
  left: 0;
  right: 0;
  background: linear-gradient(
    180deg,
    rgba(9, 11, 17, 0.92),
    rgba(9, 11, 17, 0)
  );
  border: 0;
  backdrop-filter: none;
}
.site-header.launcher-header {
  position: relative;
  background: transparent;
  backdrop-filter: none;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
  max-width: 1320px;
  margin: auto;
  padding: 18px 32px;
}
.home-header .header-inner {
  padding-top: 22px;
  padding-bottom: 22px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-diamond {
  width: 10px;
  height: 10px;
  background: #fff;
  transform: rotate(45deg);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.8);
}
.brand-name {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.38em;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 30px;
  font-size: 14px;
  font-weight: 500;
}
.main-nav a {
  color: var(--muted);
}
.main-nav a[aria-current="page"] {
  color: #fff;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}
.header-download {
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background: rgba(9, 11, 17, 0.4);
}
.header-download:hover {
  background: rgba(255, 255, 255, 0.1);
}
.header-spacer {
  width: 120px;
}
.home-layer-link {
  display: block;
}
.home-bedrock-link {
  min-height: 24px;
}
input[type="range"] {
  accent-color: var(--accent);
}
@keyframes drift {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-12px);
  }
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(232, 234, 240, 0.5);
  }
  100% {
    box-shadow: 0 0 0 12px rgba(232, 234, 240, 0);
  }
}
[data-tour]:not([aria-label]) {
  position: relative;
}
[data-tour][aria-label]::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
}
[data-tour][aria-pressed="true"] {
  color: #fff !important;
}
[data-tour][aria-label][aria-pressed="true"] {
  background: #f2f3f6 !important;
  color: #0b0d13 !important;
  border-color: #fff !important;
  animation: pulse 1.6s ease-out infinite;
}
[data-tour][aria-label][aria-pressed="false"] {
  background: rgba(9, 11, 17, 0.75) !important;
  color: var(--text) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  animation: none !important;
}
[data-tour]:not([aria-label]) > span:first-child {
  color: var(--faint) !important;
}
[data-tour]:not([aria-label])[aria-pressed="true"] > span:first-child {
  color: var(--accent) !important;
}
[data-tour]:not([aria-label])[aria-pressed="true"]
  > span:last-child
  > span:first-child {
  color: #fff !important;
}
[data-tour]:not([aria-label])[aria-pressed="false"]
  > span:last-child
  > span:first-child {
  color: var(--muted) !important;
}
[data-filter][aria-pressed="true"] {
  background: oklch(0.82 0.08 70 / 0.14) !important;
  border-color: oklch(0.82 0.08 70 / 0.6) !important;
  color: oklch(0.88 0.06 70) !important;
}
[data-filter][aria-pressed="false"] {
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  color: var(--muted) !important;
}
[data-os][aria-selected="true"] {
  background: rgba(255, 255, 255, 0.04) !important;
  border-bottom-color: var(--accent) !important;
  color: #fff !important;
}
[data-os][aria-selected="false"] {
  background: transparent !important;
  border-bottom-color: transparent !important;
  color: var(--subtle) !important;
}
[data-os] img,
[data-os] span {
  opacity: 1 !important;
}
[data-depth-rail] a[aria-current] {
  color: oklch(0.86 0.07 70) !important;
}
[data-depth-rail] a:not([aria-current]) {
  color: rgba(232, 234, 240, 0.65) !important;
}
[data-depth-rail] a span:first-child {
  opacity: 0 !important;
}
[data-depth-rail] a[aria-current] span:first-child {
  opacity: 1 !important;
}
[data-depth-rail] a span:last-child {
  width: 12px !important;
}
[data-depth-rail] a[aria-current] span:last-child {
  width: 32px !important;
}
.pending-state {
  display: block;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  margin-top: 5px;
  color: inherit;
}
.pending-download {
  cursor: default;
}
.placeholder-action {
  display: inline-block;
}
.demo-log-button {
  background: transparent;
  cursor: pointer;
}
.demo-log-button:hover {
  border-color: var(--muted);
}
.demo-log-lines {
  max-height: 188px;
  overflow: auto !important;
}
.demo-tray-button {
  border: 0;
  padding: 6px;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.demo-tray-button img {
  width: 18px;
  height: 18px;
}
#main-content {
  min-width: 0;
}
#main-content:focus {
  outline: none;
}
section[id] {
  scroll-margin-top: 96px;
}
@media (max-width: 1100px) {
  [data-depth-rail] {
    display: none !important;
  }
}
@media (max-width: 700px) {
  main > section,
  main > div:not(.conditional) {
    max-width: 100%;
  }
  main p,
  main h1,
  main h2,
  main h3,
  main span {
    overflow-wrap: break-word;
  }
  [data-phase] [data-category] {
    grid-template-columns: 38px minmax(0, 1fr) !important;
    gap: 8px 12px !important;
  }
  [data-category] > span:last-child {
    grid-column: 2;
    font-size: 10px !important;
  }
  [data-phase] > div:first-child > div:last-child {
    gap: 8px !important;
    flex-wrap: wrap;
  }
  [data-phase] h3 {
    font-size: 16px !important;
  }
  #v050 h2 {
    font-size: 28px !important;
  }
  .changelog-layout {
    flex-direction: column !important;
  }
  .changelog-sidebar {
    position: relative !important;
    top: auto !important;
    width: 100% !important;
  }
  [data-accordion^="backlog"] span:nth-child(2) {
    white-space: nowrap;
  }
  .home-column-row {
    min-width: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html,
  body {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Shared reading and status vocabulary. */
.main-nav a { position: relative; }
.main-nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 7px; }
.snapshot-note { font: 12px/1.7 var(--font-mono); color: var(--subtle); }
.status-badge {
  display: inline-flex; align-items: center; gap: 7px;
  width: fit-content; padding: 5px 10px; border: 1px solid currentColor;
  border-radius: 999px; font: 12px/1.4 var(--font-body);
}
.status-shipped { color: #9bdbb4; }
.status-development { color: #91dce8; }
.status-draft { color: #c9b4ed; }
.status-deferred { color: #d8ba89; }
.status-planned { color: #b5bdcf; }
body[data-page="mod"] :is(.d025, .d042, .d057, .d062, .d111) { font-size: 16px; line-height: 1.8; }
body[data-page="mod"] .d043 { font-size: 14px; }
@media (max-width: 600px) {
  body[data-page="mod"] .d057 { font-size: 14px; line-height: 1.75; }
  .header-inner { display: grid; grid-template-columns: 1fr auto; gap: 14px; padding: 14px 24px; }
  .home-header .header-inner { padding-top: 14px; padding-bottom: 14px; }
  .brand-name { font-size: 11px; letter-spacing: .25em; }
  .brand { gap: 10px; }
  .main-nav { grid-row: 2; grid-column: 1 / -1; justify-content: space-between; gap: 10px; font-size: 13px; }
  .main-nav a { padding-block: 5px; }
  .header-download { grid-row: 1; grid-column: 2; font-size: 12px; padding: 9px 12px; }
  .header-spacer { display: none; }
  section[id] { scroll-margin-top: 128px; }
  body[data-page="changelog"] #main-content :is(.ss-phase, .ss-version, .ss-product-group) { scroll-margin-top: 128px; }
}
