:root {
  --bg: #0b0d0c;
  --panel: #151917;
  --panel-2: #1d231f;
  --paper: #f4f6ef;
  --dim: #939d97;
  --line: #303a34;
  --mint: #7cf7c7;
  --coral: #ff6d5f;
  --blue: #668cff;
  --pro: #ffe84a;
  --brand-pink: #ff2e88;
  --black: #070908;
  --on-dark: #f4f6ef;
  --topbar-bg: rgba(11, 13, 12, .82);
  --topbar-line: rgba(124, 247, 199, .14);
  --grid-line: rgba(124, 247, 199, .045);
  --grid-cell-rgb: 124, 247, 199;
  --grid-node-rgb: 255, 109, 95;
  --party-surface: #f4f6ef;
  --party-ink: #070908;
  --input-bg: #070908;
  --input-ink: #f4f6ef;
  --button-hover-bg: #f4f6ef;
  --button-hover-ink: #070908;
  --game-ground: #0e0818;
  --display: 'Archivo Black', Impact, sans-serif;
  --body: 'Space Grotesk', sans-serif;
  --mono: 'Space Grotesk', sans-serif;
}

:root[data-theme='light'] {
  color-scheme: light;
  --bg: #f2f7f4;
  --panel: #ffffff;
  --panel-2: #e8efeb;
  --paper: #101410;
  --dim: #5d6962;
  --line: #a9bbb0;
  --mint: #16b97f;
  --coral: #e95045;
  --blue: #365fe2;
  --topbar-bg: rgba(242, 247, 244, .86);
  --topbar-line: rgba(16, 20, 16, .16);
  --grid-line: rgba(16, 40, 28, .08);
  --grid-cell-rgb: 22, 185, 127;
  --grid-node-rgb: 233, 80, 69;
  --party-surface: #ffffff;
  --party-ink: #070908;
  --input-bg: #ffffff;
  --input-ink: #101410;
  --button-hover-bg: #101410;
  --button-hover-ink: #f4f6ef;
  --game-ground: #edf3ef;
}

:root[data-palette='webgl'] {
  --mint: #c8ff3d;
  --coral: #34d7ff;
  --blue: #ff3d9d;
  --grid-cell-rgb: 200, 255, 61;
  --grid-node-rgb: 255, 61, 157;
}

:root[data-palette='anime'] {
  --mint: #57e8ff;
  --coral: #ff5b93;
  --blue: #ffd63d;
  --grid-cell-rgb: 87, 232, 255;
  --grid-node-rgb: 255, 91, 147;
}

* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--paper);
  font-family: var(--body);
  letter-spacing: 0;
}
body.modal-open { overflow: hidden; }
button, input { font: inherit; }
button, a { color: inherit; }
a { text-decoration: none; }
[hidden] { display: none !important; }
::selection { background: var(--mint); color: var(--black); }

.shell { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }

#gridfx {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.topbar, main, footer { position: relative; z-index: 1; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--topbar-line);
  background: var(--topbar-bg);
  backdrop-filter: blur(16px);
}
.topbar-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--paper);
  font: 400 25px/1 var(--display);
}
.brand img { width: 29px; height: 25px; flex: 0 0 auto; }
.brand span { color: var(--paper); }
.brand b { color: var(--mint); font: inherit; }
.header-tools { display: flex; align-items: center; gap: 14px; }
.ecosystem-links {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1.5px solid var(--line);
  border-radius: 5px;
  background: var(--panel);
}
.ecosystem-links a {
  min-height: 28px;
  display: grid;
  place-items: center;
  padding: 0 9px;
  color: var(--dim);
  font: 700 8px/1 var(--mono);
  letter-spacing: .08em;
}
.ecosystem-links a:hover,
.ecosystem-links a:focus-visible {
  background: var(--mint);
  color: var(--black);
  outline: 0;
}
.colorways {
  display: flex;
  gap: 4px;
  padding: 3px;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
}
.colorways button {
  width: 30px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
}
.colorways button:hover, .colorways button:focus-visible {
  outline: 1.5px solid var(--paper);
  outline-offset: -2px;
}
.colorways button i {
  width: 5px;
  height: 16px;
  display: block;
  border-radius: 1px;
  transform: skewY(-12deg);
}
.colorways [data-palette='arcade'] i:nth-child(1) { background: #7cf7c7; }
.colorways [data-palette='arcade'] i:nth-child(2) { background: #ff6d5f; }
.colorways [data-palette='arcade'] i:nth-child(3) { background: #668cff; }
.colorways [data-palette='webgl'] i:nth-child(1) { background: #c8ff3d; }
.colorways [data-palette='webgl'] i:nth-child(2) { background: #34d7ff; }
.colorways [data-palette='webgl'] i:nth-child(3) { background: #ff3d9d; }
.colorways [data-palette='anime'] i:nth-child(1) { background: #57e8ff; }
.colorways [data-palette='anime'] i:nth-child(2) { background: #ff5b93; }
.colorways [data-palette='anime'] i:nth-child(3) { background: #ffd63d; }
:root[data-palette='arcade'] .colorways [data-palette='arcade'],
:root[data-palette='webgl'] .colorways [data-palette='webgl'],
:root[data-palette='anime'] .colorways [data-palette='anime'] {
  background: color-mix(in srgb, var(--paper) 14%, transparent);
  box-shadow: inset 0 0 0 1px var(--paper);
}
.server-state {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--dim);
  font: 700 12px/1 var(--mono);
}
.theme-toggle {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: var(--mint);
  cursor: pointer;
  font-size: 21px;
  line-height: 1;
  box-shadow: 3px 3px 0 var(--blue);
  transition: transform .12s ease, background .12s ease, color .12s ease;
}
.theme-toggle:hover, .theme-toggle:focus-visible {
  outline: 0;
  transform: translate(-2px, -2px);
  background: var(--mint);
  color: var(--black);
}
.account-button {
  min-width: 84px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  overflow: hidden;
  border: 1.5px solid var(--line);
  border-radius: 5px;
  padding: 0 11px;
  background: var(--panel);
  color: var(--paper);
  cursor: pointer;
  font: 700 10px/1 var(--mono);
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
.account-button:hover, .account-button:focus-visible {
  outline: 0;
  border-color: var(--mint);
  background: var(--panel-2);
  transform: translateY(-2px);
}
.account-button img {
  width: 23px;
  height: 23px;
  border: 1px solid var(--mint);
  border-radius: 50%;
  object-fit: cover;
}
.social-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  border: 1.5px solid #070908;
  border-radius: 5px;
  background: #ffffff;
  color: #070908;
  transition: transform .12s ease, box-shadow .12s ease;
}
.social-icon svg { width: 15px; height: 15px; fill: currentColor; }
.social-icon:hover, .social-icon:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
  box-shadow: 3px 3px 0 var(--coral);
  color: #070908;
  transform: translateY(-2px);
}
:root[data-theme='light'] .social-icon {
  border-color: #ffffff;
  background: #070908;
  color: #ffffff;
}
:root[data-theme='light'] .social-icon:hover,
:root[data-theme='light'] .social-icon:focus-visible { color: #ffffff; }
.server-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #536057;
}
.server-state.online { color: var(--paper); }
.server-state.online .server-dot {
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(124, 247, 199, .5);
  animation: signal 1.8s ease-out infinite;
}
.server-state.offline .server-dot { background: var(--coral); }
@keyframes signal {
  70%, 100% { box-shadow: 0 0 0 8px rgba(124, 247, 199, 0); }
}

.hero {
  min-height: min(700px, calc(100svh - 96px));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 56px 0 42px;
  text-align: center;
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--brand-pink);
  font: 700 13px/1 var(--mono);
}
.hero h1 {
  max-width: 1040px;
  margin: 0;
  color: var(--paper);
  font: 400 78px/.9 var(--display);
  text-transform: uppercase;
  text-shadow: 0 8px 0 var(--black), 0 13px 0 rgba(102, 140, 255, .24);
  transform: rotate(-1deg);
}
.hero h1 > span { display: block; }
.hero h1 .hero-command {
  margin-bottom: 5px;
  font-size: .72em;
  line-height: .95;
}
.hero-command em {
  color: var(--brand-pink);
  font-style: normal;
  text-shadow: 0 5px 0 var(--black), 0 0 30px color-mix(in srgb, var(--brand-pink) 30%, transparent);
}
.hero h1 .hero-destination {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: .13em;
  font-size: .84em;
  line-height: .94;
  white-space: nowrap;
}
.hero-subject {
  display: inline-block;
  color: var(--pro);
  font: 900 .48em/1 var(--mono);
  text-shadow: 0 3px 0 var(--black), 0 0 18px color-mix(in srgb, var(--pro) 32%, transparent);
  transform-origin: right bottom;
  animation: hero-subject-seesaw 1.8s cubic-bezier(.45, 0, .2, 1) infinite alternate;
}
.hero-word-reel {
  position: relative;
  display: inline-block;
  width: 15.3ch;
  height: .94em;
  overflow: hidden;
  color: var(--brand-pink);
  perspective: 500px;
  text-align: left;
  text-shadow: 0 8px 0 var(--black), 0 0 30px color-mix(in srgb, var(--brand-pink) 35%, transparent);
}
.hero-word-reel > span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: .13em;
  opacity: 0;
  transform: translateY(105%) rotateX(-62deg);
  transform-origin: center bottom;
  animation: hero-terminal-word 15s cubic-bezier(.2, .75, .25, 1) infinite both;
}
.hero-word-reel i { font-style: normal; }
.hero-word-reel > span:nth-child(2) { animation-delay: 3s; }
.hero-word-reel > span:nth-child(3) { animation-delay: 6s; }
.hero-word-reel > span:nth-child(4) { animation-delay: 9s; }
.hero-word-reel > span:nth-child(5) { animation-delay: 12s; }
:root[data-theme='light'] .hero h1 { text-shadow: none; }
:root[data-theme='light'] .hero-command em {
  text-shadow: 0 0 24px color-mix(in srgb, var(--brand-pink) 18%, transparent);
}
:root[data-theme='light'] .hero-word-reel {
  text-shadow: 0 0 24px color-mix(in srgb, var(--brand-pink) 18%, transparent);
}
:root[data-theme='light'] .hero-subject {
  text-shadow: 0 0 14px color-mix(in srgb, var(--pro) 24%, transparent);
}
.hero-value {
  position: relative;
  width: min(760px, 100%);
  height: 42px;
  margin: 24px 0 0;
  overflow: hidden;
  color: var(--paper);
  font: 650 21px/1 var(--body);
  text-transform: uppercase;
}
.hero-value > span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35em;
  opacity: 0;
  filter: blur(7px);
  transform: translateY(24px) skewX(-9deg);
  animation: hero-value-cycle 12.8s cubic-bezier(.22, .8, .22, 1) infinite;
}
.hero-value > span:nth-child(2) { animation-delay: 3.2s; }
.hero-value > span:nth-child(3) { animation-delay: 6.4s; }
.hero-value > span:nth-child(4) { animation-delay: 9.6s; }
.hero-value b {
  position: relative;
  display: inline-block;
  color: var(--brand-pink);
  font: 800 1em/1 var(--mono);
  text-shadow: 0 0 22px color-mix(in srgb, var(--brand-pink) 42%, transparent);
}
.hero-value b::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 3px;
  background: var(--brand-pink);
  transform-origin: left center;
  animation: hero-value-scan 3.2s ease-in-out infinite;
}
.hero-limits,
.hero-proof {
  margin: 15px 0 0;
  color: var(--paper);
  font: 700 10px/1.4 var(--mono);
}
.hero-proof {
  margin-top: 8px;
  color: var(--dim);
}
@keyframes hero-value-cycle {
  0% { opacity: 0; filter: blur(7px); transform: translateY(24px) skewX(-9deg); }
  3%, 19% { opacity: 1; filter: blur(0); transform: translateY(0) skewX(0); }
  22%, 100% { opacity: 0; filter: blur(7px); transform: translateY(-24px) skewX(7deg); }
}
@keyframes hero-terminal-word {
  0% { opacity: 0; filter: blur(5px); transform: translateY(105%) rotateX(-62deg); }
  1%, 17% { opacity: 1; filter: blur(0); transform: translateY(0) rotateX(0); }
  21%, 100% { opacity: 0; filter: blur(5px); transform: translateY(-105%) rotateX(62deg); }
}
@keyframes hero-subject-seesaw {
  0%, 18% { transform: rotate(-2.5deg) translateY(0); }
  82%, 100% { transform: rotate(2.5deg) translateY(-.04em); }
}
@keyframes hero-value-scan {
  0% { opacity: 0; transform: scaleX(0); }
  12%, 72% { opacity: 1; transform: scaleX(1); }
  88%, 100% { opacity: 0; transform: scaleX(0); transform-origin: right center; }
}

.transform-demo {
  --demo-cycle: 11s;
  position: relative;
  width: min(720px, 100%);
  margin: 108px auto 28px;
}
.transform-demo.is-resting * { animation-play-state: paused !important; }
.demo-payload {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 12;
  width: 142px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  offset-anchor: 50% 50%;
  offset-path: path('M -110 260 C 30 45 270 38 360 228');
  offset-rotate: 0deg;
  animation: demo-payload-drop var(--demo-cycle) infinite;
}
.transform-demo.route-left-high .demo-payload { offset-path: path('M -110 260 C 30 45 270 38 360 228'); }
.transform-demo.route-left-low .demo-payload { offset-path: path('M -105 370 C 35 245 265 115 360 228'); }
.transform-demo.route-right-high .demo-payload { offset-path: path('M 830 240 C 690 38 470 45 360 228'); }
.transform-demo.route-right-low .demo-payload { offset-path: path('M 825 375 C 680 250 475 120 360 228'); }
.transform-demo[class*='route-right'] .demo-drag-hand {
  right: auto;
  left: -61px;
  --hand-start-x: 14px;
  --hand-start-rotate: 24deg;
  --hand-drag-rotate: 10deg;
  --hand-release-x: -48px;
  --hand-release-rotate: -14deg;
  transform-origin: 75% 72%;
}
.demo-payload strong {
  color: var(--paper);
  font: 500 17px/1 var(--display);
  letter-spacing: .08em;
  text-shadow: 3px 3px 0 var(--black);
}
.demo-payload small {
  color: var(--mint);
  font: 700 8px/1 var(--mono);
  white-space: nowrap;
}
.demo-folder-icon {
  position: relative;
  width: 104px;
  height: 70px;
  border: 3px solid var(--black);
  border-radius: 4px 5px 8px 7px;
  background: var(--blue);
  box-shadow: 7px 7px 0 var(--coral), inset 0 -9px 0 color-mix(in srgb, var(--black) 18%, transparent);
}
.demo-folder-icon::before {
  content: '';
  position: absolute;
  top: -18px;
  left: -3px;
  width: 47px;
  height: 18px;
  border: 3px solid var(--black);
  border-bottom: 0;
  border-radius: 5px 9px 0 0;
  background: var(--blue);
}
.demo-folder-icon::after {
  content: 'BUILD';
  position: absolute;
  right: 11px;
  bottom: 11px;
  color: var(--black);
  font: 800 9px/1 var(--mono);
  letter-spacing: .12em;
}
.demo-folder-icon i,
.demo-folder-icon b {
  position: absolute;
  top: 8px;
  right: 9px;
  width: 48px;
  height: 35px;
  border: 2px solid var(--black);
  border-radius: 2px;
  background: var(--paper);
  transform: rotate(5deg);
}
.demo-folder-icon b {
  top: 13px;
  right: 22px;
  background: var(--mint);
  transform: rotate(-4deg);
}
.demo-drag-hand {
  position: absolute;
  top: 27px;
  right: -61px;
  z-index: 4;
  width: 61px;
  height: 61px;
  display: grid;
  place-items: center;
  color: var(--paper);
  filter: drop-shadow(4px 5px 0 var(--black)) drop-shadow(0 0 9px color-mix(in srgb, var(--mint) 55%, transparent));
  transform-origin: 25% 72%;
  animation: demo-hand-drag var(--demo-cycle) infinite;
}
.demo-drag-hand::before {
  content: '';
  position: absolute;
  inset: -7px;
  border: 2px solid color-mix(in srgb, var(--mint) 72%, transparent);
  border-radius: 50%;
  opacity: .35;
  animation: demo-hand-grip var(--demo-cycle) infinite;
}
.demo-drag-hand svg { width: 100%; height: 100%; overflow: visible; }
.demo-drag-hand path {
  fill: var(--panel-2);
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.transform-demo:focus-within .demo-shell {
  border-color: var(--coral);
  box-shadow: 9px 9px 0 var(--blue), 0 0 60px color-mix(in srgb, var(--coral) 22%, transparent);
}
.demo-shell {
  position: relative;
  width: 100%;
  height: 460px;
  overflow: hidden;
  border: 3px dashed var(--line);
  border-radius: 13px 7px 15px 9px;
  background: color-mix(in srgb, var(--panel) 62%, transparent);
  box-shadow: inset 0 0 60px color-mix(in srgb, var(--mint) 5%, transparent);
  animation: demo-shell-morph var(--demo-cycle) infinite;
}
.demo-face { position: absolute; inset: 0 0 64px; }
.demo-drop-face {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--line) 18%, transparent) 1px, transparent 1px),
    linear-gradient(color-mix(in srgb, var(--line) 18%, transparent) 1px, transparent 1px);
  background-size: 34px 34px;
  animation: demo-drop-face var(--demo-cycle) infinite;
}
.demo-meter-logo { display: block; overflow: visible; }
.demo-meter-logo polygon {
  fill: var(--segment-fill, transparent);
  stroke: var(--segment-stroke, transparent);
  stroke-width: 2.2;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.demo-meter-logo polygon:nth-child(1) { --segment-color: #ff2e88; }
.demo-meter-logo polygon:nth-child(2) { --segment-color: #ff7a3c; }
.demo-meter-logo polygon:nth-child(3) { --segment-color: #8b2e6b; }
.demo-meter-logo polygon:nth-child(4) { --segment-color: #ffb03c; }
.demo-meter-logo.is-idle {
  width: 112px;
  height: 97px;
  filter: drop-shadow(0 0 12px color-mix(in srgb, var(--mint) 15%, transparent));
}
.demo-meter-logo.is-idle polygon {
  --segment-fill: color-mix(in srgb, var(--panel) 88%, transparent);
  --segment-stroke: var(--segment-color);
}
.demo-meter-logo.is-building { width: 50px; height: 44px; }
.demo-meter-logo.is-building polygon {
  --segment-stroke: color-mix(in srgb, var(--segment-color) 74%, transparent);
  animation: demo-logo-segment-one var(--demo-cycle) infinite;
}
.demo-meter-logo.is-building polygon:nth-child(2) { animation-name: demo-logo-segment-two; }
.demo-meter-logo.is-building polygon:nth-child(3) { animation-name: demo-logo-segment-three; }
.demo-meter-logo.is-building polygon:nth-child(4) { animation-name: demo-logo-segment-four; }
.demo-meter-logo.is-live { width: 108px; height: 94px; }
.demo-meter-logo.is-live polygon { --segment-fill: var(--segment-color); }
.demo-drop-face > * {
  transform-origin: center;
  animation: demo-drop-copy var(--demo-cycle) infinite;
}
.demo-drop-face p {
  margin: 23px 0 0;
  color: var(--paper);
  font: 500 20px/1 var(--display);
  letter-spacing: .04em;
}
.demo-drop-face small {
  margin-top: 11px;
  color: var(--mint);
  font: 700 10px/1 var(--mono);
}
.demo-impact-wave {
  position: absolute;
  inset: 0 0 64px;
  z-index: 9;
  overflow: hidden;
  pointer-events: none;
}
.demo-impact-wave::before,
.demo-impact-wave::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(720px, 180vw);
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.05);
  animation: demo-impact-mesh var(--demo-cycle) infinite;
}
.demo-impact-wave::before {
  background:
    repeating-radial-gradient(circle, transparent 0 18px, color-mix(in srgb, var(--mint) 28%, transparent) 19px 20px, transparent 21px 34px),
    repeating-conic-gradient(from 3deg, transparent 0 10deg, color-mix(in srgb, var(--blue) 18%, transparent) 10.5deg 11deg);
  mask-image: radial-gradient(circle, transparent 0 10%, #000 17% 66%, transparent 76%);
}
.demo-impact-wave::after {
  width: min(470px, 126vw);
  border: 2px solid color-mix(in srgb, var(--coral) 46%, transparent);
  box-shadow:
    0 0 25px color-mix(in srgb, var(--coral) 20%, transparent),
    inset 0 0 25px color-mix(in srgb, var(--mint) 16%, transparent);
  animation-name: demo-impact-ring;
}
.demo-processing {
  position: absolute;
  inset: 0;
  z-index: 7;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px clamp(28px, 8%, 64px);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--mint) 7%, transparent) 1px, transparent 1px),
    linear-gradient(color-mix(in srgb, var(--mint) 7%, transparent) 1px, transparent 1px),
    var(--panel);
  background-size: 28px 28px;
  opacity: 0;
  pointer-events: none;
  animation: demo-processing var(--demo-cycle) infinite;
}
.demo-processing-head {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--paper);
  font: 500 15px/1.15 var(--display);
}
.demo-processing-head b {
  position: relative;
  width: 82px;
  height: 27px;
  overflow: hidden;
  display: block;
  border: 1px solid var(--coral);
  border-radius: 3px;
  color: var(--coral);
  font: 800 9px/1 var(--mono);
}
.demo-deploy-status i {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  font: inherit;
  white-space: nowrap;
}
.demo-deploy-status i:nth-child(1) { animation: demo-status-unpacking var(--demo-cycle) infinite; }
.demo-deploy-status i:nth-child(2) { animation: demo-status-verifying var(--demo-cycle) infinite; }
.demo-deploy-status i:nth-child(3) { animation: demo-status-lighting var(--demo-cycle) infinite; }
.demo-deploy-status i:nth-child(4) { animation: demo-status-live var(--demo-cycle) infinite; }
.demo-file-list {
  display: grid;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 16px 18px;
  background: var(--input-bg);
}
.demo-file-list > span {
  min-width: 0;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  color: var(--paper);
}
.demo-file-list > span > i {
  display: grid;
  place-items: center;
  color: var(--dim);
  font: 800 15px/1 var(--mono);
}
.demo-file-list > span > i::before { content: '\25CB'; }
.demo-file-list > span > b {
  overflow: hidden;
  font: 600 13px/1.1 var(--mono);
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.demo-file-list > span:nth-child(1) > i::before { animation: demo-step-one var(--demo-cycle) infinite; }
.demo-file-list > span:nth-child(2) > i::before { animation: demo-step-two var(--demo-cycle) infinite; }
.demo-file-list > span:nth-child(3) > i::before { animation: demo-step-three var(--demo-cycle) infinite; }
.demo-file-list > span:nth-child(4) > i::before { animation: demo-step-four var(--demo-cycle) infinite; }
.demo-file-list > span:nth-child(5) > i::before { animation: demo-step-five var(--demo-cycle) infinite; }
.demo-processing-meter {
  height: 7px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--input-bg);
}
.demo-processing-meter i {
  width: 0;
  height: 100%;
  display: block;
  background: linear-gradient(90deg, var(--coral), var(--blue), var(--mint));
  animation: demo-processing-meter var(--demo-cycle) infinite;
}
.demo-live-face {
  inset: 0;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  animation: demo-live-face var(--demo-cycle) infinite;
}
.demo-browser-bar {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding: 9px 14px;
  background: var(--panel-2);
}
.demo-browser-dots { display: flex; gap: 5px; }
.demo-browser-dots i {
  width: 10px;
  height: 10px;
  display: block;
  border-radius: 50%;
}
.demo-browser-dots i:nth-child(1) { background: var(--coral); }
.demo-browser-dots i:nth-child(2) { background: var(--blue); }
.demo-browser-dots i:nth-child(3) { background: var(--mint); }
.demo-url {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 8px 11px;
  background: var(--input-bg);
  color: var(--dim);
  font: 700 10px/1 var(--mono);
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.demo-url b { margin-right: 7px; color: var(--mint); font: inherit; }
.demo-game {
  position: relative;
  flex: 1;
  overflow: hidden;
  background: var(--game-ground);
}
.demo-reel {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: var(--game-ground);
}
.demo-live-strip {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 9px 15px;
  background: var(--panel);
  font: 700 10px/1 var(--mono);
}
.demo-live-strip span { min-width: 0; display: inline-flex; align-items: center; gap: 7px; color: var(--mint); white-space: nowrap; }
.demo-live-strip span i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mint);
  animation: demo-live-pulse 1.6s ease-out infinite;
}
.demo-live-strip strong {
  max-width: 300px;
  border: 1px solid var(--mint);
  border-radius: 4px;
  padding: 5px 8px;
  color: var(--paper);
  font: 700 8px/1.25 var(--mono);
  text-align: right;
  opacity: 0;
  animation: demo-ready var(--demo-cycle) infinite;
}
.demo-stage-actions {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 15;
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-top: 1px solid var(--line);
  padding: 10px 14px;
  background: color-mix(in srgb, var(--panel) 96%, transparent);
  transform-origin: bottom center;
  animation: demo-actions var(--demo-cycle) infinite;
}
.demo-stage-actions button {
  min-height: 38px;
  border: 1.5px solid var(--mint);
  border-radius: 5px 3px 6px 4px;
  background: var(--panel-2);
  color: var(--mint);
  cursor: pointer;
  padding: 0 14px;
  font: 500 11px/1 var(--display);
  letter-spacing: .03em;
  transition: transform .14s ease, border-color .14s ease, background .14s ease, color .14s ease;
}
.demo-stage-actions button:first-child::before {
  content: '\2191';
  display: inline-block;
  margin-right: 8px;
  color: var(--coral);
  font: 900 17px/0 var(--mono);
}
.demo-stage-actions button:hover,
.demo-stage-actions button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-color: var(--coral);
  background: var(--coral);
  color: var(--black);
  transform: translateY(-2px);
}
.demo-stage-actions button:hover::before,
.demo-stage-actions button:focus-visible::before { color: var(--black); }
.demo-stage-actions span {
  margin-left: auto;
  color: var(--dim);
  font: 700 9px/1 var(--mono);
  white-space: nowrap;
}
.demo-success {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, #080a12 76%, transparent);
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(2px);
  animation: demo-success var(--demo-cycle) infinite;
}
.demo-success::before {
  content: '';
  position: absolute;
  inset: 13% 18%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--mint) 28%, transparent), transparent 68%);
  filter: blur(13px);
}
.demo-complete-symbol { position: relative; width: 108px; height: 94px; display: block; }
.demo-check {
  position: absolute;
  right: -7px;
  bottom: -6px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 3px solid var(--mint);
  border-radius: 50%;
  background: var(--black);
  color: var(--mint);
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--mint) 12%, transparent), 0 0 38px color-mix(in srgb, var(--mint) 75%, transparent);
  animation: demo-check-pop var(--demo-cycle) infinite;
}
.demo-check svg { width: 31px; height: 31px; overflow: visible; }
.demo-check path {
  fill: none;
  stroke: currentColor;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 42;
  stroke-dashoffset: 42;
  animation: demo-check-draw var(--demo-cycle) infinite;
}
.demo-success strong {
  margin-top: 22px;
  color: #f4f4ef;
  font: 500 28px/.95 var(--display);
  letter-spacing: .035em;
  text-shadow: 4px 4px 0 var(--black), 0 0 24px color-mix(in srgb, var(--mint) 70%, transparent);
}
.demo-success small {
  margin-top: 10px;
  color: var(--mint);
  font: 800 10px/1 var(--mono);
}
.demo-confetti {
  position: absolute;
  inset: 0;
  z-index: 9;
  overflow: hidden;
  pointer-events: none;
}
.demo-confetti i {
  --burst-x: 0px;
  --burst-y: 140px;
  --burst-r: 300deg;
  position: absolute;
  top: 47%;
  left: 50%;
  width: 8px;
  height: 18px;
  border-radius: 2px;
  background: var(--coral);
  opacity: 0;
  animation: demo-confetti-burst var(--demo-cycle) infinite;
}
.demo-confetti i:nth-child(2) { --burst-x: -245px; --burst-y: -120px; --burst-r: -260deg; background: var(--blue); }
.demo-confetti i:nth-child(3) { --burst-x: -182px; --burst-y: 145px; --burst-r: 380deg; background: var(--mint); }
.demo-confetti i:nth-child(4) { --burst-x: -112px; --burst-y: -165px; --burst-r: -420deg; background: #ffd63d; }
.demo-confetti i:nth-child(5) { --burst-x: -52px; --burst-y: 160px; --burst-r: 270deg; background: var(--coral); }
.demo-confetti i:nth-child(6) { --burst-x: -22px; --burst-y: -185px; --burst-r: -360deg; background: var(--mint); }
.demo-confetti i:nth-child(7) { --burst-x: 54px; --burst-y: 170px; --burst-r: 410deg; background: var(--blue); }
.demo-confetti i:nth-child(8) { --burst-x: 102px; --burst-y: -168px; --burst-r: -290deg; background: var(--coral); }
.demo-confetti i:nth-child(9) { --burst-x: 158px; --burst-y: 146px; --burst-r: 370deg; background: #ffd63d; }
.demo-confetti i:nth-child(10) { --burst-x: 205px; --burst-y: -135px; --burst-r: -430deg; background: var(--mint); }
.demo-confetti i:nth-child(11) { --burst-x: 260px; --burst-y: 82px; --burst-r: 320deg; background: var(--blue); }
.demo-confetti i:nth-child(12) { --burst-x: 292px; --burst-y: -70px; --burst-r: -350deg; background: var(--coral); }
@keyframes demo-payload-drop {
  0%, 5% { opacity: 0; offset-distance: 0%; transform: rotate(-13deg) scale(.9); }
  7% {
    opacity: 1;
    offset-distance: 0%;
    transform: rotate(-13deg) scale(.9);
    animation-timing-function: cubic-bezier(.42, .02, .14, 1);
  }
  28% { opacity: 1; offset-distance: 100%; transform: rotate(0) scale(1); }
  30% { opacity: 1; offset-distance: 100%; transform: rotate(0) scale(.82, 1.08); }
  32%, 100% { opacity: 0; offset-distance: 100%; transform: rotate(0) scale(.25); }
}
@keyframes demo-hand-drag {
  0%, 5% { opacity: 0; transform: translate(var(--hand-start-x, -14px), 12px) rotate(var(--hand-start-rotate, -24deg)) scale(.76); }
  8%, 27% { opacity: 1; transform: translate(0, 0) rotate(var(--hand-drag-rotate, -10deg)) scale(1); }
  29% { opacity: 1; transform: translate(5px, -4px) rotate(-3deg) scale(.95); }
  31%, 100% { opacity: 0; transform: translate(var(--hand-release-x, 48px), -42px) rotate(var(--hand-release-rotate, 14deg)) scale(.74); }
}
@keyframes demo-hand-grip {
  0%, 6%, 31%, 100% { opacity: 0; transform: scale(.72); }
  9%, 27% { opacity: .42; transform: scale(1); }
  29% { opacity: .65; transform: scale(.84); }
}
@keyframes demo-shell-morph {
  0%, 29% {
    border-color: var(--line);
    border-style: dashed;
    background: color-mix(in srgb, var(--panel) 62%, transparent);
  }
  31%, 50% {
    border-color: var(--coral);
    border-style: solid;
    background: var(--panel);
    box-shadow: 0 0 58px color-mix(in srgb, var(--coral) 32%, transparent);
  }
  52%, 62% {
    border-color: var(--mint);
    border-style: solid;
    background: var(--panel);
    box-shadow: 0 0 72px color-mix(in srgb, var(--mint) 50%, transparent);
  }
  65%, 76% {
    border-color: var(--mint);
    border-style: solid;
    background: var(--panel);
    box-shadow: 9px 10px 0 var(--blue), 0 22px 68px color-mix(in srgb, var(--coral) 19%, transparent);
  }
  78%, 92% {
    border-color: var(--mint);
    border-style: solid;
    background: var(--panel);
    box-shadow:
      9px 10px 0 var(--blue),
      0 0 0 5px color-mix(in srgb, var(--mint) 12%, transparent),
      0 0 88px color-mix(in srgb, var(--mint) 58%, transparent),
      0 22px 88px color-mix(in srgb, var(--coral) 30%, transparent);
  }
  98%, 100% {
    border-color: var(--line);
    border-style: dashed;
    background: color-mix(in srgb, var(--panel) 62%, transparent);
    box-shadow: inset 0 0 60px color-mix(in srgb, var(--mint) 5%, transparent);
  }
}
@keyframes demo-drop-face {
  0%, 29% { opacity: 1; transform: scale(1); }
  32%, 94% { opacity: 0; transform: scale(.92); }
  99%, 100% { opacity: 1; transform: scale(1); }
}
@keyframes demo-drop-copy {
  0%, 9% { opacity: 1; filter: blur(0); transform: scale(1); }
  12% { opacity: .35; filter: blur(2px); transform: scale(.96); }
  15%, 94% { opacity: 0; filter: blur(7px); transform: scale(.88); }
  98%, 100% { opacity: 1; filter: blur(0); transform: scale(1); }
}
@keyframes demo-impact-mesh {
  0%, 27% { opacity: 0; transform: translate(-50%, -50%) scale(.05) rotate(0); }
  28% { opacity: .44; transform: translate(-50%, -50%) scale(.08) rotate(0); }
  33% { opacity: .2; transform: translate(-50%, -50%) scale(.72) rotate(5deg); }
  39%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.08) rotate(8deg); }
}
@keyframes demo-impact-ring {
  0%, 27% { opacity: 0; transform: translate(-50%, -50%) scale(.04); }
  28% { opacity: .64; transform: translate(-50%, -50%) scale(.08); }
  34% { opacity: .18; transform: translate(-50%, -50%) scale(.9); }
  38%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.16); }
}
@keyframes demo-processing {
  0%, 29% { opacity: 0; transform: scale(.97); }
  32%, 50% { opacity: 1; transform: scale(1); }
  52%, 100% { opacity: 0; transform: scale(1.015); }
}
@keyframes demo-step-one {
  0%, 31% { content: '\25CB'; color: var(--dim); }
  32%, 33% { content: '\25CF'; color: var(--coral); }
  34%, 51% { content: '\2713'; color: var(--mint); }
  52%, 100% { content: '\25CB'; color: var(--dim); }
}
@keyframes demo-step-two {
  0%, 33% { content: '\25CB'; color: var(--dim); }
  34%, 35% { content: '\25CF'; color: var(--coral); }
  36%, 51% { content: '\2713'; color: var(--mint); }
  52%, 100% { content: '\25CB'; color: var(--dim); }
}
@keyframes demo-step-three {
  0%, 35% { content: '\25CB'; color: var(--dim); }
  36%, 38% { content: '\25CF'; color: var(--coral); }
  39%, 51% { content: '\2713'; color: var(--mint); }
  52%, 100% { content: '\25CB'; color: var(--dim); }
}
@keyframes demo-step-four {
  0%, 38% { content: '\25CB'; color: var(--dim); }
  39%, 41% { content: '\25CF'; color: var(--coral); }
  42%, 51% { content: '\2713'; color: var(--mint); }
  52%, 100% { content: '\25CB'; color: var(--dim); }
}
@keyframes demo-step-five {
  0%, 41% { content: '\25CB'; color: var(--dim); }
  42%, 43% { content: '\25CF'; color: var(--coral); }
  44%, 51% { content: '\2713'; color: var(--mint); }
  52%, 100% { content: '\25CB'; color: var(--dim); }
}
@keyframes demo-logo-segment-one {
  0%, 30% { --segment-fill: transparent; }
  32%, 51% { --segment-fill: var(--segment-color); }
  52%, 100% { --segment-fill: transparent; }
}
@keyframes demo-logo-segment-two {
  0%, 32% { --segment-fill: transparent; }
  34%, 51% { --segment-fill: var(--segment-color); }
  52%, 100% { --segment-fill: transparent; }
}
@keyframes demo-logo-segment-three {
  0%, 34% { --segment-fill: transparent; }
  36%, 51% { --segment-fill: var(--segment-color); }
  52%, 100% { --segment-fill: transparent; }
}
@keyframes demo-logo-segment-four {
  0%, 37% { --segment-fill: transparent; }
  39%, 51% { --segment-fill: var(--segment-color); }
  52%, 100% { --segment-fill: transparent; }
}
@keyframes demo-status-unpacking {
  0%, 30%, 34%, 100% { opacity: 0; transform: translateY(3px); }
  31%, 33% { opacity: 1; transform: none; }
}
@keyframes demo-status-verifying {
  0%, 33%, 37%, 100% { opacity: 0; transform: translateY(3px); }
  34%, 36% { opacity: 1; transform: none; }
}
@keyframes demo-status-lighting {
  0%, 36%, 41%, 100% { opacity: 0; transform: translateY(3px); }
  37%, 40% { opacity: 1; transform: none; }
}
@keyframes demo-status-live {
  0%, 40%, 52%, 100% { opacity: 0; transform: translateY(3px); }
  41%, 51% { opacity: 1; transform: none; }
}
@keyframes demo-processing-meter {
  0%, 30% { width: 0; }
  43%, 100% { width: 100%; }
}
@keyframes demo-live-face {
  0%, 64% { visibility: hidden; pointer-events: none; opacity: 0; transform: translateY(18px) scale(.97); }
  67%, 94% { visibility: visible; pointer-events: auto; opacity: 1; transform: translateY(0) scale(1); }
  98%, 100% { visibility: hidden; pointer-events: none; opacity: 0; transform: translateY(10px) scale(.98); }
}
@keyframes demo-ready {
  0%, 68% { opacity: 0; transform: translateY(5px); }
  72%, 94% { opacity: 1; transform: translateY(0); }
  98%, 100% { opacity: 0; }
}
@keyframes demo-success {
  0%, 51% { opacity: 0; transform: scale(.96); }
  53%, 61% { opacity: 1; transform: scale(1); }
  64%, 100% { opacity: 0; transform: scale(1.02); }
}
@keyframes demo-check-pop {
  0%, 51% { opacity: 0; transform: scale(.2) rotate(-18deg); }
  53% { opacity: 1; transform: scale(1.16) rotate(3deg); }
  56%, 61% { opacity: 1; transform: scale(1) rotate(0); }
  64%, 100% { opacity: 0; transform: scale(.8); }
}
@keyframes demo-check-draw {
  0%, 52% { stroke-dashoffset: 42; }
  56%, 62% { stroke-dashoffset: 0; }
  64%, 100% { stroke-dashoffset: 42; }
}
@keyframes demo-confetti-burst {
  0%, 52% { opacity: 0; transform: translate(-50%, -50%) scale(.2) rotate(0); }
  54% { opacity: 1; }
  61% { opacity: 1; transform: translate(calc(-50% + var(--burst-x)), calc(-50% + var(--burst-y))) scale(1) rotate(var(--burst-r)); }
  66%, 100% { opacity: 0; transform: translate(calc(-50% + var(--burst-x)), calc(-20% + var(--burst-y))) scale(.8) rotate(var(--burst-r)); }
}
@keyframes demo-live-pulse {
  from { box-shadow: 0 0 0 0 color-mix(in srgb, var(--mint) 55%, transparent); }
  to { box-shadow: 0 0 0 9px color-mix(in srgb, var(--mint) 0%, transparent); }
}
@keyframes demo-actions {
  0%, 5% { visibility: visible; pointer-events: auto; opacity: 1; transform: translateY(0); }
  8%, 96% { visibility: hidden; pointer-events: none; opacity: 0; transform: translateY(12px); }
  99%, 100% { visibility: visible; pointer-events: auto; opacity: 1; transform: translateY(0); }
}
.library { scroll-margin-top: 76px; padding: 48px 0 96px; }
.library-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}
.library-identity {
  display: flex;
  align-items: flex-end;
  gap: 20px;
}
.library-head h2 {
  margin: 0;
  color: var(--paper);
  font: 400 42px/.9 var(--display);
}
.library-head h2 em { color: var(--coral); font-style: normal; }
.library-filters {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: color-mix(in srgb, var(--panel) 84%, transparent);
}
.library-filters button {
  min-height: 30px;
  border: 0;
  border-radius: 2px;
  padding: 0 12px;
  background: transparent;
  color: var(--dim);
  cursor: pointer;
  font: 800 9px/1 var(--mono);
  transition: background .16s ease, color .16s ease, transform .16s ease;
}
.library-filters button:hover { color: var(--paper); }
.library-filters button:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
.library-filters button.active {
  background: var(--coral);
  color: var(--black);
  transform: translateY(-1px);
}
.library-head-actions { display: flex; align-items: end; gap: 11px; }
.library-count {
  min-width: 40px;
  display: grid;
  justify-items: end;
  gap: 4px;
  margin: 0;
  color: var(--mint);
}
.library-count b { font: 800 17px/.8 var(--mono); }
.library-count span { color: var(--dim); font: 800 7px/1 var(--mono); }
.site-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}
.site-grid.project-grid { grid-template-columns: 1fr; gap: 10px; }
.project-row { min-width: 0; }
.project-row > button {
  width: 100%;
  min-height: 86px;
  display: grid;
  grid-template-columns: minmax(190px, 1.2fr) minmax(150px, .8fr) minmax(150px, .8fr) auto 34px;
  align-items: center;
  gap: 18px;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  padding: 14px 17px;
  background: var(--panel);
  color: var(--paper);
  cursor: pointer;
  text-align: left;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.project-row > button:hover, .project-row > button:focus-visible {
  border-color: var(--mint);
  outline: 0;
  box-shadow: 5px 5px 0 var(--blue);
  transform: translate(-2px, -2px);
}
.project-row-mark { min-width: 0; display: flex; align-items: center; gap: 12px; }
.project-row-mark img { width: 34px; height: 30px; flex: 0 0 auto; }
.project-row-mark b { overflow: hidden; color: var(--paper); font: 400 19px/1 var(--display); text-overflow: ellipsis; white-space: nowrap; }
.project-row-live, .project-row-meta { min-width: 0; display: grid; gap: 5px; }
.project-row-live small, .project-row-meta small { color: var(--dim); font: 700 7px/1 var(--mono); }
.project-row-live b { overflow: hidden; color: var(--mint); font: 700 10px/1.2 var(--mono); text-overflow: ellipsis; white-space: nowrap; }
.project-row-meta b { color: var(--paper); font: 700 9px/1 var(--mono); }
.project-row-access { border: 1px solid var(--mint); border-radius: 3px; padding: 7px 9px; color: var(--mint); font: 700 8px/1 var(--mono); white-space: nowrap; }
.project-row-access.private { border-color: var(--pro); background: var(--pro); color: var(--black); }
.project-row > button > strong { color: var(--coral); font: 400 25px/1 var(--display); }
.site-card {
  min-width: 0;
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 7px 8px 0 var(--black);
  transform: rotate(var(--tilt, 0deg));
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.site-card:hover, .site-card:focus-within {
  border-color: var(--mint);
  box-shadow: 9px 11px 0 var(--blue), 0 20px 50px rgba(0, 0, 0, .35);
  transform: translateY(-5px) rotate(0deg);
}
.site-card.private { border-color: color-mix(in srgb, var(--pro) 74%, var(--line)); }
.site-card.private:hover, .site-card.private:focus-within { border-color: var(--pro); }
.site-card.paused { border-color: var(--pro); }
.site-card.paused .site-preview canvas,
.site-card.paused .site-preview iframe { opacity: .28; filter: grayscale(1); }
.site-preview {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 2px solid var(--line);
  border-radius: 6px 6px 0 0;
  background: var(--black);
}
.site-preview canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}
.site-poster {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .78;
  filter: saturate(1.08) brightness(.68);
  transition: opacity .22s ease;
}
.site-preview iframe {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 400%;
  height: 400%;
  border: 0;
  background: #fff;
  opacity: 0;
  filter: blur(12px) saturate(1.45) brightness(.55);
  transform: scale(.25);
  transform-origin: 0 0;
  pointer-events: none;
  transition: opacity .28s ease, filter .24s ease;
}
.site-card.preview-ready iframe { opacity: .72; }
.site-card.preview-ready .site-poster { opacity: 0; }
.site-card:hover iframe, .site-card:focus-within iframe {
  opacity: 1;
  filter: none;
}
.preview-hit {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: block;
}
.preview-label {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  pointer-events: none;
  background: rgba(7, 9, 8, .18);
  transition: opacity .2s ease, transform .2s ease, backdrop-filter .2s ease;
}
.site-card:hover .preview-label, .site-card:focus-within .preview-label {
  opacity: 0;
  transform: translateY(14px);
  backdrop-filter: blur(0);
}
.preview-label span {
  width: fit-content;
  color: var(--black);
  background: var(--mint);
  padding: 6px 8px;
  font: 700 10px/1 var(--mono);
}
.site-card.private .preview-label span,
.site-card.paused .preview-label span { background: var(--pro); color: var(--black); }
.preview-label strong {
  max-width: 90%;
  overflow-wrap: anywhere;
  color: var(--on-dark);
  font: 400 34px/.95 var(--display);
  text-shadow: 3px 3px 0 var(--black);
}
.site-info {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-radius: 0 0 6px 6px;
  background: var(--panel);
  padding: 15px 16px;
}
.site-copy { min-width: 0; }
.site-copy strong {
  display: block;
  overflow: hidden;
  color: var(--paper);
  font: 400 17px/1 var(--display);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.site-copy > span {
  display: block;
  margin-top: 7px;
  color: var(--dim);
  font: 700 11px/1 var(--mono);
}
.site-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
.site-tags span, .site-tags a {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 0 7px;
  background: var(--panel-2);
  color: var(--dim);
  text-decoration: none;
  font: 700 8px/1 var(--mono);
}
.site-tags .tag-game { border-color: var(--mint); color: var(--mint); }
.site-tags .tag-not-game { border-color: var(--coral); color: var(--coral); }
.site-tags a:hover, .site-tags a:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; color: var(--paper); }
.site-engagement {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
}
.site-engagement > div {
  min-width: 78px;
  height: 31px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--panel-2);
  color: var(--paper);
}
.site-engagement svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.site-engagement > div:last-child { color: var(--coral); }
.site-engagement b { font: 700 11px/1 var(--mono); }
.site-engagement small { color: var(--dim); font: 700 7px/1 var(--mono); }
.card-review-status {
  width: min(100%, 360px);
  min-height: 54px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 4px 10px;
  margin-top: 10px;
  border: 1.5px solid var(--pro);
  border-radius: 4px;
  padding: 8px 10px;
  background: color-mix(in srgb, var(--pro) 15%, var(--panel-2));
  color: var(--paper);
  cursor: pointer;
  text-align: left;
}
.card-review-status > span {
  grid-row: 1 / 3;
  align-self: stretch;
  display: grid;
  place-items: center;
  border-radius: 3px;
  padding: 0 8px;
  background: var(--pro);
  color: var(--black);
  font: 400 8px/1.1 var(--display);
}
.card-review-status > b {
  overflow: hidden;
  color: var(--paper);
  font: 700 10px/1.2 var(--mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card-review-status > small {
  overflow: hidden;
  color: var(--dim);
  font: 700 7px/1.2 var(--mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card-review-status.is-opened { border-color: var(--mint); background: color-mix(in srgb, var(--mint) 10%, var(--panel-2)); }
.card-review-status.is-opened > span { background: var(--mint); }
.card-review-status:hover, .card-review-status:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; transform: translate(-1px, -1px); }
.site-owner {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
  margin-top: 11px;
}
.site-owner .creator-link {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: inline-grid;
  place-items: center;
  border: 1.5px solid #070908;
  border-radius: 4px;
  background: #ffffff;
  color: #070908;
}
.site-owner .creator-link svg { width: 15px; height: 15px; fill: currentColor; }
.site-owner .creator-link:hover, .site-owner .creator-link:focus-visible {
  border-color: var(--coral);
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}
.site-owner .creator-link-static { cursor: default; }
.site-owner .creator-meta {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 4px;
  margin: 0;
  color: inherit;
  font: inherit;
}
.creator-meta small {
  color: var(--dim);
  font: 700 8px/1 var(--mono);
}
.creator-meta b {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--paper);
  font: 700 10px/1.15 var(--mono);
}
.creator-meta .admin-owner-email { color: var(--coral); }
:root[data-theme='light'] .site-owner .creator-link { border-color: #ffffff; background: #070908; color: #ffffff; }
.site-controls {
  display: grid;
  flex: 0 0 auto;
  justify-items: end;
  gap: 9px;
}
.card-access-switch {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 78px 108px;
  align-items: stretch;
  border: 1.5px solid var(--line);
  border-radius: 5px;
  padding: 3px;
  background: var(--panel-2);
  transition: opacity .14s ease;
}
.card-access-thumb {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  z-index: 0;
  width: 78px;
  border-radius: 3px;
  background: var(--pro);
  box-shadow: inset 0 0 0 1.5px var(--black);
  transform: translateX(0);
  transition: width .24s cubic-bezier(.22, 1, .36, 1), transform .24s cubic-bezier(.22, 1, .36, 1);
}
.card-access-switch.is-private .card-access-thumb {
  width: 108px;
  transform: translateX(78px);
}
.card-access-switch button {
  position: relative;
  z-index: 1;
  min-width: 78px;
  height: 31px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 0;
  border-radius: 3px;
  padding: 0 9px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font: 700 8px/1 var(--mono);
  white-space: nowrap;
  transition: color .16s ease;
}
.card-access-switch button.active {
  background: transparent;
  color: var(--black);
  box-shadow: none;
}
.card-access-switch button.active small { color: var(--black); }
.card-access-switch button:disabled { cursor: default; opacity: 1; }
.card-access-switch button:not(:disabled):hover,
.card-access-switch button:not(:disabled):focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: -2px;
  color: var(--pro);
}
.card-access-switch .private-segment { min-width: 108px; background: transparent; color: #fff; }
.card-access-switch .private-segment small { color: inherit; font: 400 8px/1 var(--display); }
.card-access-switch .private-segment.active {
  background: transparent;
  color: var(--black);
  box-shadow: none;
}
.card-access-switch .private-segment.is-locked:hover,
.card-access-switch .private-segment.is-locked:focus-visible,
.card-access-switch .private-segment:not(:disabled):hover,
.card-access-switch .private-segment:not(:disabled):focus-visible {
  background: transparent;
  color: var(--pro);
  outline-color: var(--blue);
}
.card-access-switch[aria-busy='true'] { opacity: .62; }
.card-access-switch[aria-busy='true'] button { cursor: wait; }
.site-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.site-actions a, .site-actions button {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--line);
  border-radius: 5px;
  background: var(--panel-2);
  color: var(--paper);
  cursor: pointer;
  font: 700 18px/1 var(--mono);
  transition: transform .12s ease, background .12s ease, color .12s ease, border-color .12s ease;
}
.site-actions .embed { font-size: 10px; }
.site-actions .access-toggle { position: relative; }
.site-actions .access-toggle i {
  position: relative;
  width: 13px;
  height: 11px;
  display: block;
  margin-top: 5px;
  border: 2px solid currentColor;
  border-radius: 2px;
}
.site-actions .access-toggle i::before {
  content: '';
  position: absolute;
  left: 2px;
  bottom: 7px;
  width: 7px;
  height: 7px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 7px 7px 0 0;
  transform: translateX(3px) rotate(24deg);
  transform-origin: left bottom;
}
.site-actions .access-toggle.locked i::before { transform: none; }
.site-actions .access-toggle.locked { color: var(--coral); }
.site-actions a:hover, .site-actions a:focus-visible,
.site-actions button:hover, .site-actions button:focus-visible {
  outline: 0;
  border-color: var(--black);
  background: var(--mint);
  color: var(--black);
  transform: translateY(-2px);
}
.site-actions .delete:hover, .site-actions .delete:focus-visible { background: var(--coral); }
.site-actions .pro-action,
.site-actions .pro-action:hover,
.site-actions .pro-action:focus-visible {
  border-color: var(--black);
  background: var(--pro);
  color: var(--black);
  font: 400 8px/1 var(--display);
}
.empty {
  grid-column: 1 / -1;
  min-height: 220px;
  display: grid;
  place-items: center;
  border: 2px dashed var(--line);
  color: var(--dim);
  font: 700 13px/1 var(--mono);
}
.empty-button { width: 100%; background: transparent; cursor: pointer; }
.empty-button:hover, .empty-button:focus-visible { outline: 0; border-color: var(--mint); color: var(--mint); }

footer {
  padding: 22px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font: 700 11px/1 var(--mono);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
footer nav { display: flex; align-items: center; gap: 16px; }
footer a, footer nav button { color: var(--paper); }
footer nav button { border: 0; padding: 0; background: transparent; cursor: pointer; font: inherit; }
footer a:hover, footer a:focus-visible, footer nav button:hover, footer nav button:focus-visible { color: var(--mint); outline: 0; }
.footer-owner { display: inline-flex; align-items: center; gap: 11px; }
footer .social-icon { width: 32px; height: 32px; }
footer .social-icon:hover, footer .social-icon:focus-visible { color: #070908; outline: 2px solid var(--coral); }
:root[data-theme='light'] footer .social-icon:hover,
:root[data-theme='light'] footer .social-icon:focus-visible { color: #ffffff; }

.drag-curtain {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  place-content: center;
  border: 12px solid var(--mint);
  background: rgba(7, 9, 8, .92);
  text-align: center;
  backdrop-filter: blur(10px);
}
.drag-curtain.show { display: grid; }
.drag-curtain h2 {
  margin: 16px 0 4px;
  color: var(--mint);
  font: 400 64px/.9 var(--display);
}
.drag-curtain p { margin: 9px 0 0; color: var(--on-dark); font: 700 14px/1 var(--mono); }
.drop-signal {
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  margin: auto;
  border: 3px solid var(--on-dark);
  border-radius: 50%;
  color: var(--coral);
  font: 400 76px/1 var(--display);
  animation: dropBounce .68s cubic-bezier(.5, 0, .5, 1.5) infinite alternate;
}
@keyframes dropBounce {
  from { transform: translateY(-16px) scaleY(1.04); }
  to { transform: translateY(14px) scaleY(.9) scaleX(1.08); }
}

.stage-layer, .party, .account-layer, .terms-layer, .pricing-layer {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(7, 9, 8, .88);
  backdrop-filter: blur(12px);
}
.account-layer, .terms-layer { z-index: 80; }
.pricing-layer { z-index: 85; }
.account-card, .terms-card, .pricing-card {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100svh - 40px);
  overflow-y: auto;
  border: 2px solid var(--coral);
  border-radius: 7px 3px 8px 4px;
  padding: 32px;
  background: var(--panel);
  box-shadow: 10px 10px 0 var(--blue);
  animation: modalIn .3s cubic-bezier(.2, 1.2, .4, 1) both;
}
.account-card h2, .terms-card h2, .pricing-card h2 {
  max-width: calc(100% - 46px);
  margin: 0;
  color: var(--paper);
  font: 400 38px/.95 var(--display);
}
.account-note, .account-email, .terms-card > p {
  margin: 16px 0 22px;
  color: var(--dim);
  font: 700 11px/1.5 var(--mono);
}
.google-signin { min-height: 44px; display: flex; align-items: center; }
.auth-status {
  min-height: 14px;
  margin: 14px 0 0;
  color: var(--mint);
  font: 700 10px/1.4 var(--mono);
}
.account-legal {
  margin: 22px 0 0;
  color: var(--dim);
  font: 500 11px/1.5 var(--body);
}
.account-legal a, .terms-card a { color: var(--mint); text-decoration: underline; text-underline-offset: 3px; }
.account-usage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 24px 0;
}
.account-usage span {
  min-width: 0;
  border: 1.5px solid var(--line);
  padding: 12px 10px;
  color: var(--dim);
  font: 700 9px/1 var(--mono);
}
.account-usage b {
  display: block;
  margin-bottom: 8px;
  overflow: hidden;
  color: var(--paper);
  font: 400 17px/1 var(--display);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-plan {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 9px;
  margin: -8px 0 22px;
  padding: 12px 0;
  border-top: 1.5px dashed var(--line);
  border-bottom: 1.5px dashed var(--line);
}
.account-plan > span { display: flex; align-items: baseline; gap: 9px; margin-right: auto; }
.account-plan small { color: var(--dim); font: 700 9px/1 var(--mono); }
.account-plan b { color: var(--coral); font: 400 16px/1 var(--display); }
.account-plan b[data-plan='pro'] {
  border: 1.5px solid var(--black);
  border-radius: 3px;
  padding: 5px 7px;
  background: var(--pro);
  color: var(--black);
}
.account-plan button {
  min-height: 34px;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  padding: 0 11px;
  background: var(--pro);
  color: var(--black);
  cursor: pointer;
  font: 400 9px/1 var(--display);
}
.account-plan button:disabled { cursor: not-allowed; filter: grayscale(1); opacity: .45; }
.account-plan button:not(:disabled):hover, .account-plan button:not(:disabled):focus-visible { outline: 2px solid var(--pro); outline-offset: 2px; transform: translate(-1px, -1px); }
.developer-access {
  display: grid;
  gap: 11px;
  margin: 22px 0;
  border: 1.5px solid var(--line);
  border-left: 5px solid var(--mint);
  border-radius: 4px;
  padding: 14px;
  background: var(--panel-2);
}
.developer-access-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.developer-access-head > span { display: grid; gap: 4px; }
.developer-access-head small { color: var(--coral); font: 700 8px/1 var(--mono); }
.developer-access-head b { color: var(--paper); font: 400 12px/1 var(--display); }
.developer-access-head button, .developer-token-new button, .developer-token-row button {
  min-height: 34px;
  border: 1.5px solid var(--line);
  border-radius: 3px;
  padding: 0 10px;
  background: var(--input-bg);
  color: var(--paper);
  cursor: pointer;
  font: 700 8px/1 var(--mono);
}
.developer-access-head button { background: var(--mint); color: var(--black); }
.developer-access > p { margin: 0; color: var(--dim); font: 700 8px/1.5 var(--mono); }
.developer-token-new { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px; }
.developer-token-new input { min-width: 0; border: 1.5px solid var(--coral); border-radius: 3px; padding: 10px; background: var(--input-bg); color: var(--coral); font: 700 8px/1 var(--mono); }
.developer-token-list { display: grid; gap: 6px; }
.developer-token-list > span { border: 1px dashed var(--line); padding: 11px; color: var(--dim); font: 700 8px/1 var(--mono); }
.developer-token-row { display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--line); padding-top: 8px; }
.developer-token-row > span { min-width: 0; display: grid; gap: 4px; margin-right: auto; }
.developer-token-row b { overflow: hidden; color: var(--paper); font: 700 9px/1 var(--mono); text-overflow: ellipsis; white-space: nowrap; }
.developer-token-row small { color: var(--dim); font: 700 7px/1 var(--mono); }
.developer-token-row button { min-height: 30px; color: var(--coral); }
.developer-token-status { min-height: 12px; color: var(--mint) !important; }
.billing-test-lab {
  margin: -8px 0 22px;
  border: 1.5px dashed var(--pro);
  border-radius: 4px;
  padding: 13px;
  background: color-mix(in srgb, var(--pro) 7%, var(--panel-2));
}
.billing-test-switch { display: flex; align-items: center; gap: 11px; cursor: pointer; }
.billing-test-switch > input { position: absolute; opacity: 0; pointer-events: none; }
.billing-test-track { flex: 0 0 auto; width: 38px; height: 22px; border: 1.5px solid var(--line); border-radius: 99px; padding: 3px; background: var(--input-bg); }
.billing-test-track i { display: block; width: 13px; height: 13px; border-radius: 50%; background: var(--dim); transition: transform .18s ease, background .18s ease; }
.billing-test-switch input:checked + .billing-test-track { border-color: var(--black); background: var(--pro); }
.billing-test-switch input:checked + .billing-test-track i { transform: translateX(16px); background: var(--black); }
.billing-test-switch input:focus-visible + .billing-test-track { outline: 2px solid var(--blue); outline-offset: 2px; }
.billing-test-switch > span:last-child { min-width: 0; display: grid; gap: 4px; }
.billing-test-switch b { color: var(--paper); font: 400 11px/1 var(--display); }
.billing-test-switch small { color: var(--pro); font: 700 8px/1 var(--mono); }
.billing-test-controls { display: grid; gap: 11px; margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--line); }
.billing-test-email span { display: block; margin-bottom: 6px; color: var(--dim); font: 700 8px/1 var(--mono); }
.billing-test-email input { width: 100%; height: 38px; border: 1.5px solid var(--line); border-radius: 3px; padding: 0 10px; background: var(--input-bg); color: var(--input-ink); font: 700 11px/1 var(--mono); }
.billing-test-email input:focus { outline: 2px solid var(--pro); outline-offset: 1px; }
.billing-test-card, .billing-test-status { margin: 0; color: var(--dim); font: 700 8px/1.55 var(--mono); overflow-wrap: anywhere; }
.billing-test-card b { color: var(--paper); }
.billing-test-actions { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(78px, .7fr)); gap: 7px; }
.billing-test-actions button { min-height: 38px; border: 1.5px solid var(--line); border-radius: 3px; padding: 7px; background: var(--panel); color: var(--paper); cursor: pointer; font: 400 8px/1.2 var(--display); }
.billing-test-actions button:first-child { border-color: var(--black); background: var(--pro); color: var(--black); }
.billing-test-actions button:hover, .billing-test-actions button:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
.billing-test-actions button:disabled { cursor: wait; opacity: .5; }
.billing-test-status { min-height: 25px; color: var(--mint); }
.username-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) auto; align-items: end; gap: 9px; }
.username-form label { min-width: 0; }
.username-form label span, .social-field span {
  display: block;
  margin-bottom: 7px;
  color: var(--mint);
  font: 700 9px/1 var(--mono);
}
.username-form input, .social-field input {
  width: 100%;
  height: 44px;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  padding: 0 12px;
  background: var(--input-bg);
  color: var(--input-ink);
  font: 700 13px/1 var(--mono);
}
.username-form input:focus, .social-field input:focus { outline: 2px solid var(--mint); outline-offset: 1px; }
.username-form button, .account-actions a, .account-actions button, .accept-terms {
  height: 44px;
  border: 1.5px solid var(--black);
  border-radius: 4px;
  padding: 0 16px;
  background: var(--mint);
  color: var(--black);
  cursor: pointer;
  font: 400 11px/1 var(--display);
}
.account-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 22px;
}
.account-actions a { display: inline-grid; place-items: center; }
.account-actions button { background: var(--panel-2); color: var(--paper); border-color: var(--line); }
.terms-card { border-color: var(--mint); box-shadow: 10px 10px 0 var(--coral); }
.pricing-card { width: min(720px, 100%); border-color: var(--pro); box-shadow: 10px 10px 0 var(--coral); }
.pricing-card h2:focus { outline: 0; }
.pricing-card h2 .pro-word { display: inline-block; padding: 2px 7px; background: var(--pro); color: var(--black); }
.pricing-lede {
  max-width: 540px;
  margin: 14px 0 24px;
  color: var(--dim);
  font: 600 14px/1.5 var(--body);
}
.pricing-compare {
  display: grid;
  grid-template-columns: minmax(118px, .8fr) repeat(2, minmax(150px, 1fr));
  border: 2px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
}
.pricing-plan-head {
  min-width: 0;
  padding: 18px;
  border-bottom: 2px solid var(--line);
}
.pricing-plan-head:first-child { grid-column: 2; border-left: 2px solid var(--line); }
.pricing-plan-head + .pricing-plan-head { border-left: 2px solid var(--line); }
.pricing-plan-head small, .pricing-plan-head span { display: block; color: var(--dim); font: 700 9px/1.2 var(--mono); }
.pricing-plan-head strong { display: block; margin: 6px 0; color: var(--paper); font: 400 31px/1 var(--display); }
.pricing-plan-head strong em { color: inherit; font-size: 12px; font-style: normal; }
.pricing-pro { background: var(--pro); }
.pricing-pro small { color: var(--black); font: 400 12px/1 var(--display); }
.pricing-pro strong, .pricing-pro span { color: var(--black); }
.pricing-feature { display: contents; }
.pricing-feature > * {
  min-width: 0;
  padding: 14px 12px;
  border-bottom: 1.5px dashed var(--line);
  overflow-wrap: anywhere;
}
.pricing-feature:last-child > * { border-bottom: 0; }
.pricing-feature span { color: var(--dim); font: 700 9px/1.3 var(--mono); }
.pricing-feature b {
  border-left: 1.5px dashed var(--line);
  color: var(--paper);
  font: 700 11px/1.35 var(--body);
  letter-spacing: .01em;
}
.pricing-feature b:last-child { background: color-mix(in srgb, var(--pro) 66%, var(--panel)); color: var(--black); }
.pricing-checkout {
  width: 100%;
  min-height: 52px;
  margin-top: 18px;
  border: 2px solid var(--black);
  border-radius: 5px;
  padding: 10px 18px;
  background: var(--pro);
  color: var(--black);
  cursor: pointer;
  font: 400 14px/1.1 var(--display);
  box-shadow: 5px 5px 0 var(--coral);
}
.pricing-checkout:hover, .pricing-checkout:focus-visible { outline: 2px solid var(--pro); outline-offset: 2px; transform: translate(-2px, -2px); }
.pricing-checkout:disabled { cursor: not-allowed; filter: grayscale(1); opacity: .5; transform: none; }
.pricing-note { margin: 15px 0 0; color: var(--dim); text-align: center; font: 700 9px/1.45 var(--mono); }
.delete-layer, .edit-layer, .billing-layer, .review-layer, .project-layer {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: flex;
  justify-content: flex-end;
  background: rgba(7, 9, 8, .76);
  backdrop-filter: blur(8px);
}
.delete-drawer, .edit-drawer, .billing-drawer, .review-drawer, .project-drawer {
  position: relative;
  width: min(460px, calc(100% - 28px));
  min-height: 100%;
  overflow-y: auto;
  border-left: 3px solid var(--coral);
  padding: 40px 34px;
  background: var(--panel);
  box-shadow: -12px 0 0 var(--blue);
  animation: drawerIn .28s cubic-bezier(.2, .9, .3, 1) both;
}
.review-layer { z-index: 99; }
.project-layer { z-index: 100; }
.project-drawer {
  width: min(760px, calc(100% - 28px));
  border-left-color: var(--mint);
  padding: 44px 46px 64px;
  box-shadow: -12px 0 0 var(--pro);
}
.project-drawer h2 { max-width: calc(100% - 64px); margin: 4px 0 0; color: var(--paper); font: 400 47px/.95 var(--display); }
.project-drawer h2 span { color: var(--coral); overflow-wrap: anywhere; }
.project-url { display: block; margin-top: 14px; overflow-wrap: anywhere; color: var(--mint); font: 700 12px/1.4 var(--mono); }
.project-url:hover, .project-url:focus-visible { color: var(--pro); outline: 0; text-decoration: underline; }
.project-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 28px; }
.project-actions button {
  min-height: 52px;
  border: 1.5px solid var(--black);
  border-radius: 5px;
  background: var(--mint);
  color: var(--black);
  cursor: pointer;
  font: 400 10px/1 var(--display);
  box-shadow: 4px 4px 0 var(--blue);
}
.project-actions button:last-child { background: var(--pro); box-shadow-color: var(--coral); }
.project-actions button span { margin-right: 5px; font: 700 18px/1 var(--mono); }
.project-actions button:hover, .project-actions button:focus-visible { outline: 2px solid var(--paper); outline-offset: 2px; transform: translate(-1px, -1px); }
.project-version-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-top: 34px; border-bottom: 1px solid var(--line); padding-bottom: 11px; }
.project-version-head > div { display: flex; align-items: baseline; gap: 8px; }
.project-version-head b { color: var(--coral); font: 400 27px/1 var(--display); }
.project-version-head span, .project-version-head small { color: var(--dim); font: 700 8px/1 var(--mono); }
.project-version-list { display: grid; gap: 9px; margin-top: 12px; }
.project-version {
  min-width: 0;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  border: 1.5px solid var(--line);
  border-radius: 5px;
  padding: 14px;
  background: var(--panel-2);
}
.project-version.active { border-color: var(--mint); box-shadow: inset 4px 0 0 var(--mint); }
.project-version-number { display: grid; gap: 4px; border-right: 1px solid var(--line); }
.project-version-number small { color: var(--dim); font: 700 7px/1 var(--mono); }
.project-version-number b { color: var(--paper); font: 400 23px/1 var(--display); }
.project-version-copy { min-width: 0; display: grid; gap: 5px; }
.project-version-copy > span { width: fit-content; border-radius: 2px; padding: 4px 6px; background: var(--coral); color: var(--black); font: 700 7px/1 var(--mono); }
.project-version-copy > b { overflow: hidden; color: var(--paper); font: 700 11px/1.2 var(--mono); text-overflow: ellipsis; white-space: nowrap; }
.project-version-copy > small { overflow: hidden; color: var(--dim); font: 700 7px/1.3 var(--mono); text-overflow: ellipsis; white-space: nowrap; }
.project-version-actions { display: flex; align-items: center; gap: 7px; }
.project-version-actions button, .project-live-badge { min-height: 34px; display: inline-grid; place-items: center; border: 1.5px solid var(--line); border-radius: 4px; padding: 0 10px; background: var(--panel); color: var(--paper); font: 700 8px/1 var(--mono); }
.project-version-actions button { cursor: pointer; }
.project-version-actions button:hover, .project-version-actions button:focus-visible { border-color: var(--mint); outline: 2px solid var(--blue); outline-offset: 1px; }
.project-live-badge { border-color: var(--mint); background: var(--mint); color: var(--black); }
.project-version-actions .project-version-delete { width: 34px; padding: 0; color: var(--coral); font-size: 17px; }
.project-version-actions .project-version-delete.confirming { width: auto; background: var(--coral); color: var(--black); font-size: 7px; }
.project-version-actions button:disabled { cursor: not-allowed; opacity: .35; }
.project-version-empty { border: 1.5px dashed var(--line); border-radius: 5px; padding: 28px; color: var(--dim); text-align: center; font: 700 9px/1.4 var(--mono); }
.project-status { min-height: 18px; margin: 15px 0 0; color: var(--mint); font: 700 9px/1.4 var(--mono); }
.review-drawer {
  width: min(720px, calc(100% - 28px));
  border-left-color: var(--pro);
  padding: 44px 48px 64px;
  box-shadow: -12px 0 0 var(--coral);
}
@keyframes drawerIn { from { transform: translateX(105%); } }
.delete-drawer h2, .edit-drawer h2, .billing-drawer h2 {
  max-width: calc(100% - 48px);
  margin: 0;
  color: var(--paper);
  font: 400 38px/.98 var(--display);
  overflow-wrap: anywhere;
}
.delete-drawer h2 span, .edit-drawer h2 span, .billing-drawer h2 span { color: var(--coral); }
.edit-drawer { border-left-color: var(--mint); box-shadow: -12px 0 0 var(--coral); }
.billing-layer { z-index: 98; }
.billing-drawer { border-left-color: var(--pro); box-shadow: -12px 0 0 var(--coral); }
.billing-drawer h2 span { color: var(--pro); }
.billing-grace { margin: 18px 0 26px; color: var(--pro); font: 700 11px/1.5 var(--mono); }
.billing-impact { display: grid; gap: 10px; }
.billing-impact section { border: 1.5px solid var(--line); border-radius: 4px; padding: 15px; background: var(--panel-2); }
.billing-impact section strong { display: inline-block; min-width: 34px; color: var(--coral); font: 400 25px/1 var(--display); }
.billing-impact section span { color: var(--paper); font: 700 10px/1 var(--mono); }
.billing-impact section p { margin: 10px 0 0; overflow-wrap: anywhere; color: var(--dim); font: 700 9px/1.5 var(--mono); }
.billing-impact .billing-keep { border-color: var(--mint); }
.billing-impact .billing-keep strong { color: var(--mint); }
.billing-copy { margin: 22px 0; color: var(--dim); font-size: 13px; }
.billing-actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 9px; }
.billing-actions button { min-height: 48px; border: 1.5px solid var(--line); border-radius: 4px; background: var(--panel-2); color: var(--paper); cursor: pointer; font: 400 10px/1 var(--display); }
.billing-actions button:last-child { border-color: var(--black); background: var(--pro); color: var(--black); }
.billing-actions button:hover, .billing-actions button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.billing-actions button:disabled { cursor: wait; opacity: .55; }
.edit-drawer form { display: grid; gap: 22px; margin-top: 30px; }
.edit-options { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; border: 0; padding: 0; }
.edit-options legend, .edit-field > span { width: 100%; margin-bottom: 2px; color: var(--dim); font: 700 10px/1 var(--mono); }
.edit-options input { position: absolute; opacity: 0; pointer-events: none; }
.edit-options label { cursor: pointer; }
.edit-options label span {
  min-height: 36px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  padding: 0 12px;
  background: var(--panel-2);
  color: var(--dim);
  font: 700 9px/1 var(--mono);
}
.edit-options input:checked + span { border-color: var(--black); background: var(--mint); color: var(--black); box-shadow: 3px 3px 0 var(--blue); }
.edit-options input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.edit-options input:disabled + span { cursor: not-allowed; filter: grayscale(1); opacity: .45; }
.edit-options small { color: var(--coral); font: inherit; }
.edit-toggle { display: flex; align-items: center; gap: 11px; color: var(--paper); cursor: pointer; font: 700 10px/1 var(--mono); }
.edit-toggle input { position: absolute; opacity: 0; }
.edit-toggle > span { position: relative; width: 42px; height: 24px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--panel-2); }
.edit-toggle > span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 15px; height: 15px; border-radius: 50%; background: var(--dim); transition: transform .15s ease, background .15s ease; }
.edit-toggle input:checked + span { border-color: var(--mint); background: var(--mint); }
.edit-toggle input:checked + span::after { background: var(--black); transform: translateX(18px); }
.edit-toggle input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.edit-field { display: grid; gap: 8px; }
.edit-field input, .edit-field select { width: 100%; height: 46px; border: 2px solid var(--line); border-radius: 4px; padding: 0 12px; background: var(--input-bg); color: var(--input-ink); font: 700 11px/1 var(--mono); }
.edit-field input:focus, .edit-field select:focus { outline: 3px solid var(--blue); border-color: var(--mint); }
.edit-review-open {
  min-height: 92px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px 18px;
  align-items: center;
  border: 2px solid var(--pro);
  border-radius: 5px;
  padding: 18px 20px;
  background: color-mix(in srgb, var(--pro) 13%, var(--panel-2));
  color: var(--paper);
  cursor: pointer;
  text-align: left;
  box-shadow: 5px 5px 0 var(--pro);
}
.edit-review-open > span { display: flex; align-items: center; gap: 9px; font: 400 17px/1 var(--display); }
.edit-review-open small { border-radius: 2px; padding: 5px 7px; background: var(--pro); color: var(--black); font: 400 8px/1 var(--display); }
.edit-review-open > b { overflow: hidden; color: var(--dim); font: 700 10px/1.35 var(--mono); text-overflow: ellipsis; white-space: nowrap; }
.edit-review-open > strong { grid-column: 2; grid-row: 1 / 3; color: var(--pro); font: 400 30px/1 var(--display); }
.edit-review-open:hover, .edit-review-open:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; transform: translate(-2px, -2px); }
.review-drawer h2 { max-width: calc(100% - 60px); margin: 4px 0 0; color: var(--paper); font: 400 48px/.95 var(--display); }
.review-drawer h2 span { color: var(--pro); }
.review-site { margin: 10px 0 0; color: var(--coral); font: 700 17px/1.2 var(--mono); overflow-wrap: anywhere; }
.review-lede { max-width: 590px; margin: 22px 0 30px; color: var(--dim); font: 600 17px/1.55 var(--body); }
.review-overview { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 2px solid var(--line); }
.review-overview > span { min-width: 0; padding: 20px 16px; border-right: 1px solid var(--line); }
.review-overview > span:last-child { border-right: 0; }
.review-overview b { display: block; overflow: hidden; margin-bottom: 8px; color: var(--mint); font: 400 28px/1 var(--display); text-overflow: ellipsis; white-space: nowrap; }
.review-overview small { color: var(--dim); font: 700 9px/1.2 var(--mono); }
.review-create-panel, .review-list-panel { padding: 32px 0; border-bottom: 2px solid var(--line); }
.review-section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.review-section-head > span { display: flex; align-items: center; gap: 11px; }
.review-section-head span > b { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 3px; background: var(--pro); color: var(--black); font: 400 10px/1 var(--display); }
.review-section-head strong { color: var(--paper); font: 400 15px/1 var(--display); }
.review-section-head > small { color: var(--mint); font: 700 9px/1.2 var(--mono); text-align: right; }
.review-link-builder { display: grid; grid-template-columns: minmax(0, 1fr) 142px; gap: 14px; }
.review-link-builder label { display: grid; gap: 8px; color: var(--dim); font: 700 10px/1 var(--mono); }
.review-link-builder input, .review-link-builder select { width: 100%; min-width: 0; height: 52px; border: 2px solid var(--line); border-radius: 4px; padding: 0 14px; background: var(--input-bg); color: var(--input-ink); font: 700 13px/1 var(--mono); }
.review-link-builder input:focus, .review-link-builder select:focus { border-color: var(--mint); outline: 3px solid var(--blue); outline-offset: 1px; }
.review-link-builder > button { grid-column: 1 / -1; min-height: 54px; border: 2px solid var(--black); border-radius: 4px; background: var(--pro); color: var(--black); cursor: pointer; font: 400 14px/1 var(--display); box-shadow: 5px 5px 0 var(--coral); }
.review-link-builder > button span { margin-left: 8px; }
.review-link-builder > button:hover, .review-link-builder > button:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; transform: translate(-2px, -2px); }
.review-link-builder > button:disabled { cursor: not-allowed; filter: grayscale(1); opacity: .45; transform: none; }
.review-create-panel > p { margin: 18px 0 0; color: var(--dim); font: 700 11px/1.5 var(--mono); }
.review-settings-jump, .review-upgrade { width: 100%; min-height: 48px; margin-top: 14px; border: 2px solid var(--line); border-radius: 4px; background: var(--panel-2); color: var(--paper); cursor: pointer; font: 400 11px/1 var(--display); }
.review-upgrade { border-color: var(--black); background: var(--pro); color: var(--black); box-shadow: 4px 4px 0 var(--coral); }
.review-settings-jump:hover, .review-settings-jump:focus-visible, .review-upgrade:hover, .review-upgrade:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.review-created { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; margin-top: 30px; border: 2px solid var(--mint); padding: 20px; background: color-mix(in srgb, var(--mint) 9%, var(--panel-2)); box-shadow: 6px 6px 0 var(--blue); }
.review-created[hidden] { display: none; }
.review-created > div:first-child { display: grid; gap: 5px; }
.review-created > div:first-child span { color: var(--mint); font: 700 9px/1 var(--mono); }
.review-created > div:first-child strong { color: var(--paper); font: 400 18px/1 var(--display); }
.review-created input { grid-column: 1 / -1; width: 100%; height: 48px; border: 2px solid var(--mint); padding: 0 12px; background: var(--input-bg); color: var(--input-ink); font: 700 11px/1 var(--mono); }
.review-created > div:last-child { grid-column: 2; grid-row: 1; display: flex; gap: 8px; }
.review-created button, .review-created a, .review-link-actions button, .review-link-actions a { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--line); border-radius: 3px; padding: 0 13px; background: var(--panel-2); color: var(--paper); cursor: pointer; font: 700 9px/1 var(--mono); text-decoration: none; }
.review-created button { background: var(--mint); color: var(--black); }
.review-created button:hover, .review-created button:focus-visible, .review-created a:hover, .review-created a:focus-visible, .review-link-actions button:hover, .review-link-actions button:focus-visible, .review-link-actions a:hover, .review-link-actions a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
#review-link-list { display: grid; gap: 12px; }
.review-link-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; border: 1.5px solid var(--line); border-radius: 4px; padding: 18px; background: var(--panel-2); }
.review-link-copy { min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 7px 10px; align-items: center; }
.review-link-copy > strong { min-width: 0; overflow: hidden; color: var(--paper); font: 700 15px/1.2 var(--mono); text-overflow: ellipsis; white-space: nowrap; }
.review-link-copy > small { grid-column: 1 / -1; color: var(--dim); font: 700 10px/1.45 var(--mono); overflow-wrap: anywhere; }
.review-open-status { display: inline-block; border-radius: 2px; padding: 6px 7px; background: var(--line); color: var(--dim); font: 400 8px/1 var(--display); }
.review-link-row.is-opened { border-color: var(--mint); }
.review-link-row.is-opened .review-open-status { background: var(--mint); color: var(--black); }
.review-link-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.review-link-actions .review-revoke { color: var(--coral); }
.review-legacy-note { max-width: 110px; color: var(--dim); font: 700 8px/1.35 var(--mono); text-align: right; }
.review-empty { display: grid; gap: 7px; border: 1.5px dashed var(--line); padding: 24px; color: var(--dim); }
.review-empty b { color: var(--paper); font: 400 14px/1 var(--display); }
.review-empty span { font: 600 13px/1.4 var(--body); }
.review-status { min-height: 18px; margin: 20px 0 0; color: var(--mint); font: 700 11px/1.45 var(--mono); }
.edit-save { min-height: 48px; border: 2px solid var(--black); border-radius: 5px; background: var(--mint); color: var(--black); cursor: pointer; font: 400 12px/1 var(--display); box-shadow: 5px 5px 0 var(--blue); }
.edit-save:hover, .edit-save:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; transform: translate(-2px, -2px); }
.edit-save:disabled { cursor: wait; filter: grayscale(1); opacity: .55; transform: none; }
.edit-status { min-height: 14px; margin: -8px 0 0; color: var(--coral); font: 700 10px/1.4 var(--mono); }
.delete-drawer > p:not(.stage-kicker):not(.delete-status) {
  margin: 20px 0 0;
  color: var(--dim);
  font: 600 15px/1.55 var(--body);
}
.delete-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 32px;
}
.delete-actions button {
  min-height: 48px;
  border: 2px solid var(--line);
  border-radius: 5px;
  padding: 10px 16px;
  background: var(--panel-2);
  color: var(--paper);
  cursor: pointer;
  font: 400 12px/1.1 var(--display);
}
.delete-actions #delete-confirm { border-color: var(--black); background: var(--coral); color: var(--black); box-shadow: 5px 5px 0 var(--blue); }
.delete-actions button:hover, .delete-actions button:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; transform: translate(-2px, -2px); }
.delete-actions button:disabled { cursor: wait; filter: grayscale(1); opacity: .55; transform: none; }
.delete-status { min-height: 14px; margin: 18px 0 0; color: var(--coral); font: 700 10px/1.4 var(--mono); }
.social-field { display: block; margin-bottom: 14px; }
.terms-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 11px;
  align-items: start;
  border: 1.5px dashed var(--line);
  padding: 15px;
  color: var(--paper);
  font: 600 13px/1.45 var(--body);
}
.terms-check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--mint); }
.accept-terms { width: 100%; margin-top: 14px; background: var(--coral); }
.accept-terms:disabled { cursor: not-allowed; filter: grayscale(1); opacity: .45; }
.stage-card {
  position: relative;
  width: min(650px, 100%);
  max-height: calc(100svh - 40px);
  overflow-y: auto;
  border: 2px solid var(--mint);
  border-radius: 8px;
  padding: 32px;
  background: var(--panel);
  box-shadow: 10px 10px 0 var(--blue);
  animation: modalIn .3s cubic-bezier(.2, 1.2, .4, 1) both;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(25px) rotate(-1deg); } }
.close-button {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--line);
  border-radius: 5px;
  background: var(--panel-2);
  color: var(--paper);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}
.close-button:hover, .close-button:focus-visible { outline: 0; background: var(--coral); color: var(--black); }
.stage-kicker { margin: 0 0 8px; color: var(--mint); font: 700 12px/1 var(--mono); }
.stage-card h2 {
  max-width: calc(100% - 48px);
  margin: 0;
  overflow: hidden;
  color: var(--paper);
  font: 400 44px/1 var(--display);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.stage-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 26px 0;
  color: var(--dim);
  font: 700 12px/1 var(--mono);
}
.stage-stats b { color: var(--paper); font: inherit; }
.stage-stats .bad b { color: var(--coral); }
.entry-field {
  display: block;
  margin-bottom: 14px;
}
.entry-field > span {
  display: block;
  margin-bottom: 8px;
  color: var(--dim);
  font: 700 11px/1 var(--mono);
}
.entry-field select {
  width: 100%;
  height: 46px;
  border: 2px solid var(--line);
  border-radius: 5px;
  background: var(--input-bg);
  color: var(--input-ink);
  padding: 0 12px;
  font: 700 13px/1 var(--mono);
}
.entry-field select:focus { outline: 3px solid var(--blue); border-color: var(--mint); }
.entry-field select:disabled { color: var(--coral); opacity: .8; }
.preflight { margin: 0 0 16px; border: 1.5px dashed var(--line); padding: 12px; background: color-mix(in srgb, var(--panel-2) 88%, transparent); }
.preflight-head { display: flex; justify-content: space-between; gap: 12px; color: var(--dim); font: 700 10px/1 var(--mono); }
.preflight-head b { color: var(--mint); }
.preflight.has-errors .preflight-head b { color: var(--coral); }
.preflight ul { display: grid; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.preflight li { position: relative; padding-left: 18px; color: var(--dim); font: 700 10px/1.35 var(--mono); overflow-wrap: anywhere; }
.preflight li::before { position: absolute; left: 0; content: '\2713'; color: var(--mint); }
.preflight li.warn::before { content: '!'; color: var(--blue); }
.preflight li.error { color: var(--paper); }
.preflight li.error::before { content: '\00d7'; color: var(--coral); }
.access-field {
  display: flex;
  width: fit-content;
  gap: 0;
  margin: 0 0 16px;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  padding: 3px;
  background: var(--panel-2);
}
.access-field legend { padding: 0; margin-bottom: 8px; color: var(--dim); font: 700 11px/1 var(--mono); }
.access-field label { cursor: pointer; }
.access-field input { position: absolute; opacity: 0; pointer-events: none; }
.access-field span {
  min-width: 102px;
  height: 38px;
  display: grid;
  grid-auto-flow: column;
  place-content: center;
  gap: 7px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--dim);
  font: 700 10px/1 var(--mono);
}
.access-field small { color: var(--pro); font: 400 8px/1 var(--display); }
.access-field .private-option small,
.edit-access-field .private-option small { color: var(--black); font: 400 8px/1 var(--display); }
.access-field input:checked + span { background: var(--mint); color: var(--black); box-shadow: inset 0 0 0 1.5px var(--black); }
.access-field input:checked + span small { color: var(--black); }
.access-field .private-option input:checked + span { background: var(--pro); color: var(--black); }
.access-field input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.access-field .private-option.is-locked { cursor: pointer; }
.access-field .private-option span {
  min-width: 118px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--pro);
  color: var(--black);
  white-space: nowrap;
}
.access-field .private-option.is-locked span {
  cursor: pointer;
  background: var(--pro);
  color: var(--black);
  box-shadow: inset 0 0 0 1.5px var(--black);
  opacity: 1;
}
.access-field .private-option.is-locked small { color: var(--black); }
.access-field .private-option.is-locked:hover span,
.access-field .private-option.is-locked:focus-visible span { background: color-mix(in srgb, var(--pro) 84%, white); color: var(--black); outline: 2px solid var(--black); outline-offset: -2px; }
.access-field .private-option.is-locked:focus-visible { outline: 0; }
.access-lock {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  display: block;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.edit-access-field { width: fit-content; gap: 0; border: 1.5px solid var(--line); padding: 3px; background: var(--panel-2); }
.edit-options.edit-access-field legend { margin-bottom: 5px; }
.edit-options.edit-access-field label span { min-width: 102px; border: 0; background: transparent; }
.edit-options.edit-access-field input:checked + span { background: var(--mint); color: var(--black); box-shadow: inset 0 0 0 1.5px var(--black); }
.edit-options.edit-access-field .private-option span { min-width: 118px; background: var(--pro); color: var(--black); }
.edit-options.edit-access-field .private-option input:checked + span,
.edit-options.edit-access-field .private-option.is-locked span { cursor: pointer; background: var(--pro); color: var(--black); box-shadow: inset 0 0 0 1.5px var(--black); filter: none; opacity: 1; }
.edit-options.edit-access-field .private-option.is-locked:hover span,
.edit-options.edit-access-field .private-option.is-locked:focus-visible span { background: color-mix(in srgb, var(--pro) 84%, white); color: var(--black); outline: 2px solid var(--black); outline-offset: -2px; }
.launch-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
.url-field > span {
  display: block;
  margin-bottom: 8px;
  color: var(--dim);
  font: 700 11px/1 var(--mono);
}
.url-field input {
  width: 100%;
  height: 54px;
  border: 2px solid var(--line);
  border-radius: 5px;
  background: var(--input-bg);
  color: var(--input-ink);
  padding: 0 14px;
  font: 700 16px/1 var(--mono);
}
.url-field input:focus { outline: 3px solid var(--blue); border-color: var(--mint); }
.launch-button {
  align-self: end;
  height: 54px;
  border: 2px solid var(--black);
  border-radius: 5px;
  padding: 0 22px;
  background: var(--mint);
  color: var(--black);
  cursor: pointer;
  font: 400 14px/1 var(--display);
  box-shadow: 5px 5px 0 var(--blue);
}
.launch-button:hover, .launch-button:focus-visible { outline: 0; background: var(--paper); transform: translate(-2px, -2px); }
.launch-button:disabled { cursor: not-allowed; opacity: .5; transform: none; }
.launch-button[data-state="busy"]:disabled { cursor: wait; }
.upload-security {
  position: relative;
  min-height: 54px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  border: 1.5px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: 4px;
  padding: 8px 11px;
  background: color-mix(in srgb, var(--panel-2) 82%, transparent);
  color: var(--paper);
}
.upload-security::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -28%;
  width: 26%;
  border-right: 1px solid var(--blue);
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--blue) 13%, transparent));
  transform: skewX(-14deg);
  animation: security-scan 2.2s linear infinite;
  pointer-events: none;
}
.upload-security[data-state="verified"] { border-left-color: #38d67a; }
.upload-security[data-state="verified"]::after { display: none; }
.upload-security[data-state="failed"] { border-left-color: var(--coral); }
.security-logo { width: 34px; height: 30px; display: block; object-fit: contain; }
.security-copy { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.security-copy b { color: var(--paper); font: 400 11px/1 var(--display); }
.security-copy small { color: var(--dim); font: 700 8px/1 var(--mono); }
.security-status {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
}
.security-status svg { width: 28px; height: 28px; overflow: visible; opacity: 0; transform: scale(.72); transition: opacity .18s ease, transform .22s ease; }
.security-status circle { fill: #38d67a; stroke: #090b0a; stroke-width: 1.5; }
.security-status path { fill: none; stroke: #090b0a; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.upload-security[data-state="verified"] .security-status svg { opacity: 1; transform: scale(1); }
.upload-security[data-state="checking"] .security-status::before {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid color-mix(in srgb, var(--blue) 32%, transparent);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: security-spin .8s linear infinite;
}
.upload-security[data-state="failed"] .security-status::before { content: '!'; color: var(--coral); font: 400 18px/1 var(--display); }
@keyframes security-scan { to { left: 112%; } }
@keyframes security-spin { to { transform: rotate(1turn); } }
.turnstile-slot { min-height: 0; margin-top: 8px; }
.replace {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  color: var(--dim);
  cursor: pointer;
  font: 700 11px/1 var(--mono);
}
.replace input { width: 17px; height: 17px; accent-color: var(--mint); }
.upload-progress { margin-top: 24px; }
.progress-track { height: 10px; overflow: hidden; border: 1.5px solid var(--paper); background: var(--black); }
.progress-track i { display: block; width: 0; height: 100%; background: var(--coral); transition: width .12s ease; }
.upload-progress p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 9px 0 0;
  color: var(--dim);
  font: 700 11px/1 var(--mono);
}
.upload-progress p span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload-progress p b { color: var(--mint); }
.form-error { margin: 18px 0 0; color: var(--coral); font: 700 12px/1.35 var(--mono); }

.party { z-index: 80; }
.party canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.party-card {
  position: relative;
  width: min(720px, 100%);
  max-height: calc(100svh - 32px);
  overflow-y: auto;
  border: 3px solid var(--black);
  border-radius: 8px;
  padding: 28px;
  background: var(--party-surface);
  color: var(--party-ink);
  box-shadow: 12px 12px 0 var(--coral);
  text-align: center;
  animation: partyIn .42s cubic-bezier(.2, 1.5, .4, 1) both;
}
@keyframes partyIn { from { opacity: 0; transform: scale(.65) rotate(-3deg); } }
.party-card > p { margin: 0; font: 700 11px/1 var(--mono); }
.party-card h2 {
  margin: 4px 0 18px;
  color: var(--blue);
  font: 400 58px/.9 var(--display);
  overflow-wrap: anywhere;
}
.party-preview {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 3px solid var(--black);
  border-radius: 6px;
  background: var(--black);
}
.party-preview iframe { width: 100%; height: 100%; border: 0; background: var(--black); opacity: 0; pointer-events: none; transition: opacity .28s ease; }
.party-preview[data-state="ready"] iframe, .party-preview[data-state="review"] iframe { opacity: 1; }
.party-preview-loading {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 13px;
  background: var(--black);
  color: var(--paper);
  font: 700 9px/1 var(--mono);
  transition: opacity .2s ease, visibility .2s ease;
}
.party-preview-loading img { width: 54px; height: auto; animation: preview-pulse 1.1s ease-in-out infinite alternate; }
.party-preview[data-state="ready"] .party-preview-loading,
.party-preview[data-state="review"] .party-preview-loading { opacity: 0; visibility: hidden; }
.party-preview-hit { position: absolute; inset: 0; z-index: 2; margin: 0; color: inherit; }
.party-preview-hit span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  border: 2px solid var(--black);
  border-radius: 3px;
  padding: 8px 10px;
  background: var(--mint);
  color: var(--black);
  opacity: 0;
  transform: translateY(4px);
  font: 400 9px/1 var(--display);
  transition: opacity .16s ease, transform .16s ease;
}
.party-preview[data-state="ready"]:hover .party-preview-hit span,
.party-preview[data-state="ready"] .party-preview-hit:focus-visible span { opacity: 1; transform: none; }
.party-preview-hit:focus-visible { outline: 4px solid var(--mint); outline-offset: -6px; }
@keyframes preview-pulse { to { transform: translateY(-4px); filter: drop-shadow(0 0 12px color-mix(in srgb, var(--coral) 56%, transparent)); } }
.party-card > a {
  display: block;
  margin: 15px auto 0;
  overflow: hidden;
  color: var(--party-ink);
  font: 700 15px/1.2 var(--mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.party-receipt {
  margin: 10px auto 0 !important;
  color: color-mix(in srgb, var(--party-ink) 72%, transparent);
  font: 700 10px/1.35 var(--mono) !important;
}
.party-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 18px; }
.party-actions.private-actions { grid-template-columns: repeat(2, 1fr); }
.party-actions button {
  height: 47px;
  border: 2px solid var(--black);
  border-radius: 5px;
  background: var(--mint);
  color: var(--black);
  cursor: pointer;
  font: 400 13px/1 var(--display);
}
.party-actions button:nth-child(2) { background: var(--blue); color: var(--on-dark); }
.party-actions button:nth-child(3) { background: var(--party-surface); color: var(--party-ink); }
.party-actions button:hover, .party-actions button:focus-visible { outline: 0; transform: translateY(-2px); box-shadow: 4px 4px 0 var(--black); }

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 100;
  max-width: calc(100vw - 44px);
  border: 2px solid var(--black);
  border-radius: 5px;
  padding: 13px 16px;
  background: var(--mint);
  color: var(--black);
  box-shadow: 5px 5px 0 var(--blue);
  font: 700 12px/1 var(--mono);
}

@media (max-width: 900px) {
  .ecosystem-links { display: none; }
  .hero h1 { max-width: 760px; font-size: 64px; }
  .site-grid { grid-template-columns: 1fr; max-width: 680px; margin: 0 auto; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 28px, 1160px); }
  .topbar-inner { min-height: 60px; }
  .brand { font-size: 22px; }
  .header-tools { gap: 7px; }
  .colorways { gap: 2px; padding: 2px; }
  .colorways button { width: 26px; height: 26px; }
  .colorways button i { width: 4px; height: 14px; }
  .server-state span:last-child { display: none; }
  .account-button { min-width: 66px; max-width: 104px; height: 36px; padding-inline: 8px; }
  .hero { min-height: min(650px, calc(100svh - 78px)); padding: 38px 0 34px; }
  .eyebrow { font-size: 11px; }
  .hero h1 { max-width: 350px; font-size: 42px; text-shadow: 0 5px 0 var(--black), 0 8px 0 rgba(102, 140, 255, .24); }
  .hero h1 .hero-command { font-size: .78em; }
  .hero h1 .hero-destination { gap: .1em; font-size: .6em; }
  .hero-subject { font-size: .46em; }
  .hero-value { height: 34px; margin-top: 20px; font-size: 13px; }
  .hero-proof { max-width: 330px; }
  .transform-demo { width: min(360px, 100%); margin: 94px auto 26px; }
  .demo-shell { height: 390px; }
  .demo-face { bottom: 70px; }
  .demo-payload {
    width: 112px;
    offset-path: path('M -72 220 C 8 92 132 82 180 193');
  }
  .transform-demo.route-left-high .demo-payload { offset-path: path('M -72 220 C 8 75 132 72 180 193'); }
  .transform-demo.route-left-low .demo-payload { offset-path: path('M -72 300 C 12 215 135 125 180 193'); }
  .transform-demo.route-right-high .demo-payload { offset-path: path('M 432 220 C 350 75 225 72 180 193'); }
  .transform-demo.route-right-low .demo-payload { offset-path: path('M 432 300 C 348 215 225 125 180 193'); }
  .demo-folder-icon { width: 80px; height: 54px; box-shadow: 5px 5px 0 var(--coral); }
  .demo-folder-icon::before { top: -15px; width: 37px; height: 15px; }
  .demo-folder-icon::after { right: 7px; bottom: 7px; font-size: 7px; }
  .demo-folder-icon i, .demo-folder-icon b { width: 36px; height: 26px; }
  .demo-folder-icon b { right: 17px; }
  .demo-payload strong { font-size: 13px; }
  .demo-payload small { font-size: 7px; }
  .demo-drag-hand { top: 22px; right: -47px; width: 48px; height: 48px; }
  .demo-drag-hand path { stroke-width: 4.5; }
  .demo-meter-logo.is-idle { width: 86px; height: 75px; }
  .demo-drop-face p { margin-top: 18px; font-size: 16px; }
  .demo-drop-face small { font-size: 8px; }
  .demo-processing { inset: 0; padding: 20px 18px; }
  .demo-processing-head { grid-template-columns: 36px minmax(0, 1fr) 66px; gap: 8px; margin-bottom: 13px; font-size: 11px; }
  .demo-meter-logo.is-building { width: 36px; height: 32px; }
  .demo-processing-head b { width: 66px; font-size: 6px; }
  .demo-file-list { gap: 6px; padding: 13px 15px; }
  .demo-file-list > span { grid-template-columns: 15px minmax(0, 1fr); gap: 7px; padding: 0; }
  .demo-file-list > span > i { width: auto; height: auto; font-size: 12px; }
  .demo-file-list > span > b { font-size: 9px; }
  .demo-processing-meter { margin-top: 13px; }
  .demo-browser-bar { gap: 7px; padding-inline: 8px; }
  .demo-browser-dots { gap: 3px; }
  .demo-browser-dots i { width: 6px; height: 6px; }
  .demo-url { font-size: 7px; }
  .demo-live-strip { align-items: flex-start; flex-direction: column; justify-content: center; gap: 5px; padding-inline: 9px; font-size: 7px; }
  .demo-live-strip strong { max-width: 100%; padding: 0; border: 0; font-size: 7px; text-align: left; }
  .demo-stage-actions { min-height: 70px; gap: 6px; padding: 9px; }
  .demo-stage-actions button { min-height: 38px; padding-inline: 9px; font-size: 9px; }
  .demo-stage-actions button:first-child::before { margin-right: 5px; font-size: 14px; }
  .demo-stage-actions span { display: none; }
  .demo-live-face, .demo-success { inset: 0; }
  .demo-complete-symbol { width: 88px; height: 77px; }
  .demo-meter-logo.is-live { width: 88px; height: 77px; }
  .demo-check { right: -5px; bottom: -5px; width: 39px; height: 39px; }
  .demo-check svg { width: 25px; height: 25px; }
  .demo-success strong { margin-top: 18px; font-size: 21px; }
  .demo-confetti { inset: 0; }
  .demo-confetti i:nth-child(2) { --burst-x: -145px; }
  .demo-confetti i:nth-child(11), .demo-confetti i:nth-child(12) { --burst-x: 150px; }
  .library { scroll-margin-top: 68px; padding-top: 38px; padding-bottom: 70px; }
  .library-head { align-items: center; gap: 12px; }
  .library-identity { align-items: flex-start; flex-direction: column; gap: 9px; }
  .library-head h2 { font-size: 30px; }
  .library-filters button { min-height: 27px; padding-inline: 9px; font-size: 7px; }
  .library-head-actions { gap: 7px; }
  .library-count { min-width: 31px; }
  .library-count b { font-size: 13px; }
  .site-grid { gap: 24px; }
  .project-row > button { grid-template-columns: minmax(0, 1fr) auto; gap: 11px; }
  .project-row-live, .project-row-meta { grid-column: 1; }
  .project-row-access { grid-column: 2; grid-row: 1; }
  .project-row > button > strong { grid-column: 2; grid-row: 2 / 4; }
  .preview-label strong { font-size: 26px; }
  .site-info { align-items: stretch; flex-direction: column; gap: 12px; padding-inline: 13px; }
  .site-controls { justify-items: start; }
  .site-actions { gap: 5px; }
  .site-actions a, .site-actions button { width: 36px; height: 36px; }
  .drag-curtain { border-width: 7px; }
  .drag-curtain h2 { font-size: 42px; }
  .drop-signal { width: 86px; height: 86px; font-size: 58px; }
  .stage-layer, .party { padding: 12px; }
  .account-layer, .terms-layer, .pricing-layer { padding: 12px; }
  .delete-layer, .review-layer, .project-layer { align-items: flex-end; }
  .delete-drawer, .edit-drawer, .review-drawer, .project-drawer {
    width: 100%;
    min-height: 0;
    max-height: calc(100svh - 28px);
    border-top: 3px solid var(--coral);
    border-left: 0;
    border-radius: 7px 7px 0 0;
    padding: 28px 20px 24px;
    box-shadow: 0 -8px 0 var(--blue);
    animation-name: drawerUp;
  }
  .review-drawer { border-top-color: var(--pro); padding-bottom: 46px; box-shadow: 0 -8px 0 var(--coral); }
  .project-drawer { border-top-color: var(--mint); padding-bottom: 46px; box-shadow: 0 -8px 0 var(--pro); }
  .project-drawer h2 { font-size: 34px; }
  .project-actions { grid-template-columns: 1fr; }
  .project-version { grid-template-columns: 48px minmax(0, 1fr); }
  .project-version-actions { grid-column: 1 / -1; justify-content: flex-end; }
  .review-drawer h2 { font-size: 35px; }
  .review-site { font-size: 14px; }
  .review-lede { margin-block: 16px 22px; font-size: 15px; }
  .review-overview { grid-template-columns: 1fr; }
  .review-overview > span { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-right: 0; border-bottom: 1px solid var(--line); padding: 13px 4px; }
  .review-overview > span:last-child { border-bottom: 0; }
  .review-overview b { margin: 0; font-size: 22px; }
  .review-section-head { align-items: flex-start; }
  .review-section-head > small { max-width: 92px; }
  .review-created { grid-template-columns: 1fr; padding: 16px; }
  .review-created > div:last-child { grid-column: 1; grid-row: auto; }
  .review-link-row { grid-template-columns: 1fr; padding: 15px; }
  .review-link-actions { justify-content: flex-start; }
  .edit-review-open > b { white-space: normal; }
  @keyframes drawerUp { from { transform: translateY(105%); } }
  .delete-drawer h2 { font-size: 31px; }
  .stage-card { padding: 26px 20px; box-shadow: 7px 7px 0 var(--blue); }
  .stage-card h2 { font-size: 34px; }
  .launch-row { grid-template-columns: 1fr; }
  .launch-button { width: 100%; }
  .party-card { padding: 20px 16px; box-shadow: 7px 7px 0 var(--coral); }
  .party-card h2 { font-size: 44px; }
  .party-actions { grid-template-columns: 1fr; }
  .party-actions button { height: 43px; }
  .account-card, .terms-card, .pricing-card { padding: 26px 20px; box-shadow: 7px 7px 0 var(--blue); }
  .account-card h2, .terms-card h2, .pricing-card h2 { font-size: 31px; }
  .pricing-compare { grid-template-columns: minmax(78px, .65fr) repeat(2, minmax(92px, 1fr)); }
  .pricing-plan-head { padding: 12px 9px; }
  .pricing-plan-head strong { font-size: 22px; }
  .pricing-feature > * { padding: 11px 7px; }
  .pricing-feature span { font-size: 7px; }
  .pricing-feature b { font-size: 9px; }
  .review-link-builder { grid-template-columns: 1fr 1fr; }
  .review-link-builder label:first-child { grid-column: 1 / -1; }
  .review-link-builder button { min-width: 0; }
  .card-review-status { width: 100%; }
  .account-usage { grid-template-columns: 1fr; }
  .account-usage span { display: flex; align-items: center; gap: 9px; }
  .account-usage b { display: inline; margin: 0; }
  .account-plan { align-items: stretch; flex-wrap: wrap; }
  .account-plan > span { width: 100%; }
  .account-plan button { flex: 1 1 auto; }
  .username-form { grid-template-columns: 1fr; }
  .billing-test-actions { grid-template-columns: 1fr 1fr; }
  .billing-test-actions button:first-child { grid-column: 1 / -1; }
  .username-form button { width: 100%; }
  .upload-security { grid-template-columns: 34px minmax(0, 1fr) 28px; }
  .security-logo { width: 31px; height: 27px; }
  footer { align-items: flex-start; flex-direction: column; line-height: 1.4; }
  footer nav { flex-wrap: wrap; gap: 10px 14px; }
  footer { padding-bottom: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-word-reel > span { display: none; }
  .hero-word-reel > span:first-child { display: flex; opacity: 1; filter: none; transform: none; }
  .hero-value > span { display: none; }
  .hero-value > span:first-child { position: static; display: flex; opacity: 1; filter: none; transform: none; }
  .demo-payload, .demo-drop-face, .demo-impact-wave, .demo-processing, .demo-success, .demo-confetti { display: none; }
  .demo-shell {
    border-color: var(--mint);
    border-style: solid;
    background: var(--panel);
    animation: none;
  }
  .demo-live-face { visibility: visible; pointer-events: auto; opacity: 1; transform: none; animation: none; }
  .demo-stage-actions { visibility: visible; pointer-events: auto; opacity: 1; transform: none; animation: none; }
  .demo-live-strip strong { opacity: 1; transform: none; animation: none; }
  .demo-live-strip span i { animation: none; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
html:not([data-environment="sandbox"]) .sandbox-banner { display: none; }
.sandbox-banner {
  position: sticky;
  z-index: 120;
  top: 0;
  width: 100%;
  padding: 7px 12px;
  border-bottom: 2px solid #0b0d0c;
  background: #ffd83d;
  color: #0b0d0c;
  text-align: center;
  font: 700 11px/1.2 var(--mono);
}
.customer-sim-bar {
  position: sticky;
  z-index: 119;
  top: 27px;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 8px clamp(12px, 3vw, 34px);
  border-bottom: 2px solid #0b0d0c;
  background: #52ddf3;
  color: #0b0d0c;
  font-family: var(--mono);
}
.customer-sim-identity, .customer-sim-actions { display: flex; align-items: center; gap: 9px; }
.customer-sim-identity > span:nth-child(2) { display: grid; gap: 2px; }
.customer-sim-identity b { font: 700 11px/1 var(--display); }
.customer-sim-identity small { max-width: 38vw; overflow: hidden; text-overflow: ellipsis; font: 700 8px/1 var(--mono); white-space: nowrap; }
.customer-sim-pulse { width: 9px; height: 9px; border: 2px solid #0b0d0c; border-radius: 50%; background: #45df7c; box-shadow: 0 0 0 0 rgba(11, 13, 12, .4); animation: simPulse 1.7s ease-out infinite; }
@keyframes simPulse { 70% { box-shadow: 0 0 0 7px rgba(11, 13, 12, 0); } 100% { box-shadow: 0 0 0 0 rgba(11, 13, 12, 0); } }
#customer-sim-plan { min-width: 52px; padding: 6px 8px; border: 1.5px solid #0b0d0c; border-radius: 3px; background: #f5f3ec; text-align: center; font: 700 9px/1 var(--display); }
#customer-sim-plan[data-plan="pro"] { background: #ffd83d; }
.customer-sim-actions button, .customer-sim-actions select {
  height: 34px;
  border: 1.5px solid #0b0d0c;
  border-radius: 3px;
  padding: 0 10px;
  background: #f5f3ec;
  color: #0b0d0c;
  cursor: pointer;
  font: 700 8px/1 var(--mono);
}
.customer-sim-actions button:hover, .customer-sim-actions button:focus-visible,
.customer-sim-actions select:hover, .customer-sim-actions select:focus-visible { outline: 2px solid #ff5595; outline-offset: 1px; }
.customer-sim-actions button:disabled { cursor: wait; opacity: .5; }
.customer-sim-actions label { display: grid; gap: 2px; }
.customer-sim-actions label span { font: 700 6px/1 var(--mono); }
#customer-sim-exit { background: #0b0d0c; color: #fff; }
html:not([data-environment="sandbox"]) .customer-sim-bar { display: none; }

@media (max-width: 760px) {
  .customer-sim-bar { position: relative; top: 0; align-items: stretch; flex-direction: column; gap: 7px; }
  .customer-sim-identity { justify-content: space-between; }
  .customer-sim-identity small { max-width: 58vw; }
  .customer-sim-actions { display: grid; grid-template-columns: 1fr auto auto; }
  .customer-sim-actions label { grid-column: 1; }
  .customer-sim-actions button, .customer-sim-actions select { width: 100%; }
  #customer-sim-seed { grid-column: 1 / -1; }
}
