:root {
  --bg: #0b0d0c;
  --panel: #151917;
  --panel-2: #1d231f;
  --paper: #f4f6ef;
  --dim: #939d97;
  --line: #303a34;
  --mint: #7cf7c7;
  --coral: #ff6d5f;
  --blue: #668cff;
  --pro: #ffe84a;
  --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;
  --display: 'Archivo Black', Impact, sans-serif;
  --body: 'Space Grotesk', sans-serif;
  --mono: 'Pixelify Sans', monospace;
}

: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;
}

: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; }
.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(--mint);
  font: 700 13px/1 var(--mono);
}
.hero h1 {
  max-width: 980px;
  margin: 0;
  color: var(--paper);
  font: 400 88px/.88 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 .splash {
  color: var(--mint);
  text-shadow: 0 5px 0 var(--black);
}
.splash {
  display: inline-block;
  color: var(--coral);
  animation: boing 2.8s cubic-bezier(.2, .8, .2, 1) 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 boing {
  0%, 72%, 100% { transform: translateY(0) rotate(0); }
  80% { transform: translateY(-15px) rotate(5deg); }
  88% { transform: translateY(5px) rotate(-3deg); }
  94% { transform: translateY(-2px); }
}

.transform-demo {
  --demo-cycle: 13s;
  --demo-game-loop: 2.6s;
  position: relative;
  width: min(430px, 100%);
  margin: 82px auto 30px;
}
.demo-payload {
  position: absolute;
  top: -70px;
  left: 50%;
  z-index: 3;
  min-width: 190px;
  display: grid;
  grid-template-columns: 24px auto;
  align-items: center;
  gap: 2px 10px;
  border: 1.5px solid var(--line);
  border-radius: 6px 3px 7px 4px;
  padding: 9px 13px;
  background: var(--panel);
  color: var(--blue);
  box-shadow: 5px 5px 0 var(--coral);
  opacity: 0;
  transform: translateX(-50%);
  animation: demo-payload-drop var(--demo-cycle) infinite;
}
.demo-payload strong { font: 400 13px/1 var(--display); }
.demo-payload small {
  grid-column: 2;
  color: var(--dim);
  font: 700 8px/1 var(--mono);
}
.demo-folder-icon {
  position: relative;
  grid-row: 1 / 3;
  width: 21px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 2px;
}
.demo-folder-icon::before {
  content: '';
  position: absolute;
  top: -6px;
  left: -2px;
  width: 10px;
  height: 5px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 2px 2px 0 0;
}
.demo-trail {
  position: absolute;
  top: -35px;
  left: 50%;
  z-index: 2;
  width: 2px;
  height: 0;
  background: linear-gradient(transparent, var(--coral));
  transform: translateX(-50%);
  animation: demo-trail var(--demo-cycle) infinite;
}
.demo-shell {
  position: relative;
  width: 100%;
  height: 292px;
  overflow: hidden;
  border: 2px dashed var(--line);
  border-radius: 9px 5px 10px 6px;
  background: color-mix(in srgb, var(--panel) 62%, transparent);
  box-shadow: inset 0 0 38px color-mix(in srgb, var(--mint) 4%, transparent);
  animation: demo-shell-morph var(--demo-cycle) infinite;
}
.demo-face { position: absolute; inset: 0; }
.demo-drop-face {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: demo-drop-face var(--demo-cycle) infinite;
}
.demo-drop-face img { width: 83px; height: 72px; }
.demo-drop-face p {
  margin: 17px 0 0;
  color: var(--paper);
  font: 400 14px/1 var(--display);
}
.demo-drop-face small {
  margin-top: 8px;
  color: var(--dim);
  font: 700 9px/1 var(--mono);
}
.demo-live-face {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  opacity: 0;
  animation: demo-live-face var(--demo-cycle) infinite;
}
.demo-browser-bar {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding: 8px 11px;
  background: var(--panel-2);
}
.demo-browser-dots { display: flex; gap: 5px; }
.demo-browser-dots i {
  width: 8px;
  height: 8px;
  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: 6px 9px;
  background: var(--input-bg);
  color: var(--dim);
  font: 700 9px/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: linear-gradient(#0d0a1e 0%, #1c0f33 64%, #080a12 64%);
  image-rendering: pixelated;
}
.demo-score, .demo-high-score {
  position: absolute;
  top: 9px;
  z-index: 3;
  color: #ffd63d;
  font: 700 9px/1 var(--mono);
}
.demo-score { left: 11px; }
.demo-high-score { right: 11px; color: #a7b0ad; }
.demo-sun {
  position: absolute;
  top: 18px;
  left: 50%;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(#ffd63d, #ff5b93);
  opacity: .9;
  transform: translateX(-50%);
}
.demo-stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 13% 21%, #fff 0 1px, transparent 1.5px),
    radial-gradient(circle at 31% 12%, #fff 0 1px, transparent 1.5px),
    radial-gradient(circle at 69% 17%, #fff 0 1px, transparent 1.5px),
    radial-gradient(circle at 86% 27%, #fff 0 1px, transparent 1.5px);
  opacity: .55;
}
.demo-ground {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 36%;
  border-top: 2px solid #ff5b93;
  background: #0e0818;
}
.demo-road {
  position: absolute;
  right: 0;
  bottom: 24px;
  left: 0;
  height: 3px;
  background: repeating-linear-gradient(90deg, rgba(255, 91, 147, .62) 0 18px, transparent 18px 44px);
  animation: demo-road-run var(--demo-game-loop) linear infinite;
}
.demo-palm {
  position: absolute;
  bottom: 36%;
  left: calc(100% + 34px);
  width: 38px;
  height: 48px;
  animation: demo-scenery-run var(--demo-game-loop) linear infinite;
}
.demo-palm-two { animation-delay: calc(var(--demo-game-loop) / -2); }
.demo-palm > i {
  position: absolute;
  bottom: 0;
  left: 16px;
  width: 6px;
  height: 24px;
  background: #ff7a3c;
}
.demo-palm > b {
  position: absolute;
  top: 9px;
  left: 4px;
  width: 30px;
  height: 6px;
  background: #59d97e;
  box-shadow: 8px -7px 0 -1px #59d97e, 4px 7px 0 -1px #59d97e;
}
.demo-coin {
  position: absolute;
  bottom: calc(36% + 56px);
  left: calc(100% + 20px);
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ffd63d;
  box-shadow: 0 0 9px rgba(255, 214, 61, .8);
  animation: demo-scenery-run var(--demo-game-loop) linear infinite, demo-coin-spin .5s steps(2) infinite;
  animation-delay: calc(var(--demo-game-loop) / -2), 0s;
}
.demo-runner {
  position: absolute;
  bottom: 36%;
  left: 20%;
  width: 22px;
  height: 29px;
  animation: demo-runner-jump var(--demo-game-loop) infinite;
}
.demo-runner > i {
  position: absolute;
  top: 0;
  left: 3px;
  width: 16px;
  height: 11px;
  background: #57e8ff;
}
.demo-runner > b {
  position: absolute;
  top: 11px;
  left: 6px;
  width: 11px;
  height: 10px;
  background: #ff5b93;
}
.demo-runner > em {
  position: absolute;
  top: 21px;
  left: 6px;
  width: 4px;
  height: 8px;
  background: #57e8ff;
  box-shadow: 7px 0 #57e8ff;
  animation: demo-runner-feet .24s steps(1) infinite;
}
.demo-live-strip {
  min-height: 41px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 8px 12px;
  background: var(--panel);
  font: 700 9px/1 var(--mono);
}
.demo-live-strip span { display: inline-flex; align-items: center; gap: 7px; color: var(--mint); }
.demo-live-strip span i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  animation: demo-live-pulse 1.6s ease-out infinite;
}
.demo-live-strip strong {
  border: 1px solid var(--mint);
  border-radius: 4px;
  padding: 5px 8px;
  color: var(--paper);
  font: inherit;
  opacity: 0;
  animation: demo-ready var(--demo-cycle) infinite;
}

.drop-well {
  width: min(430px, 100%);
  min-height: 105px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 2px dashed var(--mint);
  border-radius: 7px 3px 8px 4px;
  background: color-mix(in srgb, var(--panel) 88%, transparent);
  color: var(--paper);
  box-shadow: 7px 7px 0 var(--blue), inset 0 0 28px color-mix(in srgb, var(--mint) 5%, transparent);
  padding: 20px 28px;
  transition: transform .14s ease, box-shadow .14s ease, background .14s ease;
}
.drop-well:hover, .drop-well:focus-within {
  outline: 0;
  transform: translate(-3px, -3px);
  border-color: var(--coral);
  box-shadow: 10px 10px 0 var(--coral), inset 0 0 34px color-mix(in srgb, var(--mint) 11%, transparent);
  background: var(--panel-2);
}
.drop-copy {
  display: grid;
  gap: 8px;
  text-align: left;
}
.drop-well small { color: var(--mint); font: 700 11px/1 var(--mono); }
.choose-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.choose-actions button {
  min-height: 32px;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  background: var(--panel-2);
  color: var(--paper);
  cursor: pointer;
  padding: 0 10px;
  font: 400 11px/1 var(--display);
}
.choose-actions button:hover, .choose-actions button:focus-visible {
  outline: 2px solid var(--blue);
  border-color: var(--coral);
  background: var(--coral);
  color: var(--black);
}
.drop-well .choose-icon {
  width: 45px;
  height: 45px;
  border-color: var(--coral);
  color: var(--coral);
  font-size: 25px;
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--coral) 40%, transparent);
  animation: upload-arrow 1.15s ease-in-out infinite;
}
.choose-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
}
@keyframes demo-payload-drop {
  0%, 7% { opacity: 0; transform: translate(-50%, -170px) rotate(-4deg); }
  10% { opacity: 1; }
  21% { opacity: 1; transform: translate(-50%, 95px) rotate(0); }
  25% { opacity: 1; transform: translate(-50%, 175px) scale(.9); }
  28%, 100% { opacity: 0; transform: translate(-50%, 215px) scale(.5); }
}
@keyframes demo-trail {
  0%, 16% { height: 0; opacity: 0; }
  20%, 25% { height: 122px; opacity: .8; }
  29%, 100% { height: 0; opacity: 0; }
}
@keyframes demo-shell-morph {
  0%, 22% {
    border-color: var(--line);
    border-style: dashed;
    background: color-mix(in srgb, var(--panel) 62%, transparent);
  }
  25%, 29% {
    border-color: var(--coral);
    border-style: dashed;
    background: color-mix(in srgb, var(--coral) 8%, var(--panel));
    box-shadow: 0 0 42px color-mix(in srgb, var(--coral) 27%, transparent);
  }
  33%, 72% {
    border-color: var(--mint);
    border-style: solid;
    background: var(--panel);
    box-shadow: 7px 8px 0 var(--blue), 0 20px 58px color-mix(in srgb, var(--coral) 14%, transparent);
  }
  80%, 100% {
    border-color: var(--line);
    border-style: dashed;
    background: color-mix(in srgb, var(--panel) 62%, transparent);
    box-shadow: inset 0 0 38px color-mix(in srgb, var(--mint) 4%, transparent);
  }
}
@keyframes demo-drop-face {
  0%, 26% { opacity: 1; transform: scale(1); }
  32%, 74% { opacity: 0; transform: scale(.94); }
  80%, 100% { opacity: 1; transform: scale(1); }
}
@keyframes demo-live-face {
  0%, 28% { opacity: 0; transform: translateY(14px); }
  34%, 72% { opacity: 1; transform: translateY(0); }
  78%, 100% { opacity: 0; transform: translateY(10px); }
}
@keyframes demo-ready {
  0%, 37% { opacity: 0; transform: translateY(5px); }
  42%, 70% { opacity: 1; transform: translateY(0); }
  77%, 100% { opacity: 0; }
}
@keyframes demo-road-run {
  to { background-position: -88px 0; }
}
@keyframes demo-scenery-run {
  from { transform: translateX(0); }
  to { transform: translateX(-520px); }
}
@keyframes demo-coin-spin {
  50% { transform: scaleX(.35); }
}
@keyframes demo-runner-jump {
  0%, 56%, 78%, 100% { transform: translateY(0); }
  64%, 69% { transform: translateY(-46px); }
}
@keyframes demo-runner-feet {
  50% { transform: skewX(28deg) translateY(-2px); }
}
@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 upload-arrow {
  50% { transform: translateY(-7px); box-shadow: 0 8px 0 -4px color-mix(in srgb, var(--coral) 54%, transparent); }
}
.library { padding: 48px 0 96px; }
.library-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}
.library-head h2 {
  margin: 0;
  color: var(--paper);
  font: 400 38px/1 var(--display);
}
.library-head p {
  margin: 0;
  color: var(--mint);
  font: 700 13px/1 var(--mono);
}
.site-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}
.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); }
.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 {
  display: flex;
  align-items: stretch;
  border: 1.5px solid var(--line);
  border-radius: 5px;
  padding: 3px;
  background: var(--panel-2);
  transition: opacity .14s ease;
}
.card-access-switch button {
  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: var(--dim);
  cursor: pointer;
  font: 700 8px/1 var(--mono);
  white-space: nowrap;
}
.card-access-switch button.active {
  background: var(--mint);
  color: var(--black);
  box-shadow: inset 0 0 0 1.5px var(--black);
}
.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(--paper);
}
.card-access-switch .private-segment { min-width: 108px; background: var(--pro); color: var(--black); }
.card-access-switch .private-segment small { color: inherit; font: 400 8px/1 var(--display); }
.card-access-switch .private-segment.active,
.card-access-switch .private-segment.is-locked {
  background: var(--pro);
  color: var(--black);
  box-shadow: inset 0 0 0 1.5px var(--black);
}
.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: color-mix(in srgb, var(--pro) 84%, white);
  color: var(--black);
  outline-color: var(--black);
}
.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); }
.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 {
  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 {
  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;
}
@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); }
.review-links { display: grid; gap: 10px; border: 1.5px dashed color-mix(in srgb, var(--pro) 72%, var(--line)); padding: 13px; }
.review-links-head { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 7px; align-items: center; }
.review-links-head > span { color: var(--dim); font: 700 10px/1.25 var(--mono); }
.review-links-head small { border-radius: 2px; padding: 3px 5px; background: var(--pro); color: var(--black); font: 400 8px/1 var(--display); }
.review-links select, .review-links button { min-height: 34px; border: 1.5px solid var(--line); border-radius: 4px; padding: 0 9px; background: var(--panel-2); color: var(--paper); font: 700 9px/1 var(--mono); }
.review-links button { cursor: pointer; }
.review-links button:hover, .review-links button:focus-visible { border-color: var(--mint); background: var(--mint); color: var(--black); outline: 0; }
.review-links button:disabled { cursor: wait; opacity: .45; }
.review-links > p { margin: 0; color: var(--dim); font: 700 9px/1.45 var(--mono); }
#review-link-new { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; }
#review-link-new[hidden] { display: none; }
#review-link-new input { min-width: 0; height: 34px; border: 1.5px solid var(--mint); padding: 0 8px; background: var(--input-bg); color: var(--input-ink); font: 700 9px/1 var(--mono); }
#review-link-list { display: grid; gap: 6px; }
.review-link-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; border-top: 1px solid var(--line); padding-top: 7px; }
.review-link-row span { min-width: 0; color: var(--paper); font: 700 9px/1.35 var(--mono); }
.review-link-row span small { display: block; overflow: hidden; color: var(--dim); text-overflow: ellipsis; white-space: nowrap; }
.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-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) {
  .hero h1 { max-width: 760px; font-size: 72px; }
  .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: 48px; text-shadow: 0 5px 0 var(--black), 0 8px 0 rgba(102, 140, 255, .24); }
  .hero-proof { max-width: 330px; }
  .transform-demo { width: min(340px, 100%); margin: 72px auto 26px; }
  .demo-shell { height: 260px; }
  .demo-payload { min-width: 170px; padding: 8px 11px; }
  .demo-payload strong { font-size: 11px; }
  .demo-payload small { font-size: 7px; }
  .demo-drop-face img { width: 72px; height: 63px; }
  .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 { padding-inline: 9px; font-size: 8px; }
  .demo-live-strip strong { padding-inline: 6px; }
  .drop-well { width: min(330px, 100%); min-height: 92px; padding: 17px 20px; }
  .drop-well small { font-size: 9px; }
  .choose-actions button { font-size: 10px; }
  .drop-well .choose-icon { width: 39px; height: 39px; font-size: 21px; }
  .library { padding-top: 38px; padding-bottom: 70px; }
  .library-head h2 { font-size: 28px; }
  .site-grid { gap: 24px; }
  .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 { align-items: flex-end; }
  .delete-drawer, .edit-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;
  }
  @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; }
  .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) {
  .demo-payload, .demo-trail, .demo-drop-face { display: none; }
  .demo-shell {
    border-color: var(--mint);
    border-style: solid;
    background: var(--panel);
    animation: none;
  }
  .demo-live-face { opacity: 1; transform: none; animation: none; }
  .demo-live-strip strong { opacity: 1; transform: none; animation: none; }
  .demo-road, .demo-palm, .demo-coin, .demo-runner, .demo-runner > em, .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);
}
