:root {
  --black: #000;
  --white: #fff;
  --gray: #a6a6a6;
  --red: #c51f30;
  --charcoal: #181818;
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  color: var(--white);
  background: var(--black);
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  line-height: 1.6;
}
a {
  color: inherit;
}
button,
input,
select {
  font: inherit;
  color: inherit;
  background: #151515;
  border: 1px solid #555;
  border-radius: 7px;
  min-height: 48px;
  padding: 10px 14px;
}
button {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}
button[aria-pressed="true"],
.button {
  background: var(--red);
  border-color: var(--red);
  color: white;
}
.button {
  display: inline-block;
  text-decoration: none;
  padding: 12px 18px;
  min-height: 48px;
  border-radius: 6px;
  font-weight: 700;
  text-align: center;
  line-height: 1.5;
}
.wrap {
  width: min(1120px, calc(100% - 36px));
  margin: auto;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid #333;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  line-height: 1.25;
}
.brand img {
  object-fit: contain;
}
.brand b {
  display: block;
  color: var(--red);
  letter-spacing: 0.16em;
}
.site-header nav {
  display: flex;
  gap: 16px;
  font-size: 12px;
}
.site-header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--gray);
  text-decoration: none;
  transition: color 0.15s;
}
.site-header nav a:hover {
  color: var(--white);
}
h1,
h2,
h3 {
  line-height: 1.1;
  font-family: "Arial Black", Arial, sans-serif;
  letter-spacing: -0.04em;
  overflow-wrap: break-word;
}
h1 {
  font-size: clamp(2.8rem, 7.6vw, 5.8rem);
  margin: 18px 0;
}
h1 em {
  font-style: normal;
  color: var(--gray);
}
h2 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
}
h3 {
  font-size: 1.4rem;
}
.hero {
  padding: 28px 0 22px;
  max-width: 1000px;
}
.hero h1 {
  font-size: clamp(2.6rem, 6.7vw, 5rem);
  margin: 12px 0;
  line-height: 1.02;
}
.hero .eyebrow {
  margin: 0 0 10px;
}
.hero .principles {
  margin: 14px 0 10px;
}
.hero .intro {
  margin: 10px 0;
  line-height: 1.5;
}
.hero > .muted {
  margin: 8px 0 0;
  font-size: 13px;
}
.library h2 {
  margin: 0 0 16px;
}
#count:empty {
  display: none;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 800;
  color: var(--gray);
}
.principles {
  font-size: clamp(1.1rem, 4vw, 1.65rem);
  font-weight: 800;
  letter-spacing: 0.08em;
}
.principles span {
  color: var(--red);
}
.intro {
  max-width: 620px;
  font-size: 18px;
}
.muted,
small {
  color: var(--gray);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.filters {
  display: grid;
  grid-template-columns: 1fr minmax(140px, 230px);
  gap: 14px;
}
label {
  display: block;
  font-size: 14px;
}
input,
select {
  display: block;
  width: 100%;
  margin: 5px 0 14px;
}
.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0 12px;
}
.empty {
  border: 1px solid #444;
  border-left: 3px solid var(--red);
  padding: 24px;
  margin: 22px 0;
}
.empty p {
  max-width: 640px;
}
.empty a {
  display: inline-block;
  margin-top: 12px;
}
.empty button {
  margin-right: 12px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 20px;
}
.experience-card {
  border: 1px solid #333;
  padding: 0;
  background: #111;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    border-color 0.18s,
    transform 0.18s;
}
.experience-card:hover {
  border-color: var(--gray);
  transform: translateY(-2px);
}
.experience-card > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.card-copy {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  min-width: 0;
}
.card-copy .eyebrow {
  font-size: 10px;
  letter-spacing: 0.1em;
  margin: 0;
}
.card-copy h3 {
  font-size: 1.5rem;
  margin: 0;
  line-height: 1.16;
}
.card-description {
  font-size: 14px;
  line-height: 1.5;
  color: var(--gray);
  margin: 0;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 6px;
}
.card-footer small {
  font-size: 11px;
  line-height: 1.4;
}
.card-footer .button {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 13px;
  white-space: nowrap;
}
.site-footer {
  margin-top: 36px;
  padding: 24px 0;
  border-top: 1px solid #333;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  font-size: 13px;
}
.site-footer p {
  margin: 0;
}
.experience {
  max-width: 800px;
  margin: auto;
  padding: 20px;
}
.experience-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.experience-tools label {
  margin-left: auto;
}
.experience-tools select {
  margin: 0;
}
.stage {
  border: 1px solid #444;
  border-radius: 12px;
  padding: 24px;
  margin: 18px 0;
  background: #111;
}
.stage h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
}
.game {
  margin-top: 24px;
}
.game fieldset {
  border: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.game legend {
  font-size: 1.3rem;
  font-weight: 750;
  margin-bottom: 12px;
}
.counter {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin: 14px 0;
}
.counter strong {
  font-size: 2.8rem;
}
.counter span {
  color: var(--gray);
}
progress {
  width: 100%;
  accent-color: var(--red);
  height: 20px;
}
.reveal {
  animation: reveal 0.3s ease-out;
  font-size: 1.5rem;
  font-weight: 750;
}
.monetization {
  border-top: 1px solid #555;
  margin-top: 24px;
}
.monetization > section {
  padding: 20px 0;
  border-bottom: 1px solid #333;
}
.monetization img {
  object-fit: contain;
  max-width: 100%;
}
.merch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.merch-grid figure {
  margin: 0;
  font-size: 12px;
}
.merch-grid img {
  width: 100%;
  height: auto;
}
.monetization small {
  display: block;
  margin-bottom: 16px;
}
.status {
  font-size: 13px;
  color: var(--gray);
}
[hidden] {
  display: none !important;
}
.recording-page .site-header,
.recording-page .site-footer {
  display: none;
}
.recording {
  padding: 0;
  width: min(100%, calc(100svh * 9 / 16));
  max-width: none;
  position: relative;
  min-height: 100svh;
}
.recording .stage {
  margin: 0;
  border: 0;
  border-radius: 0;
  min-height: 100svh;
  aspect-ratio: 9/16;
  padding: 10svh 14% 18svh 7%;
  background: #000;
}
.recording .stage h1 {
  font-size: clamp(1.7rem, 6vw, 2.7rem);
}
.recording .stage > small,
.recording .stage > .muted {
  font-size: 11px;
}
.recording .experience-tools {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5;
  justify-content: center;
  gap: 6px;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  background: #000;
  border-top: 1px solid #333;
}
.recording .experience-tools label,
.recording .experience-tools button:nth-child(4),
.recording .monetization,
.recording .stage + div,
.recording .status {
  display: none;
}
.recording .counter strong {
  font-size: 3rem;
}
.recording .game legend {
  font-size: 1.15rem;
}
.recording .game button {
  min-height: 52px;
}
.recording .reveal {
  font-size: 1.25rem;
}
@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 600px) {
  .site-header {
    padding: 12px 0;
  }
  .brand {
    font-size: 11px;
    gap: 8px;
  }
  .brand img {
    width: 36px;
    height: 36px;
  }
  .site-header nav {
    flex-direction: row;
    gap: 10px;
    font-size: 11px;
  }
  .hero {
    padding: 22px 0 20px;
  }
  .hero h1 {
    font-size: clamp(1.45rem, 7.6vw, 2.4rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
    margin: 10px 0 12px;
  }
  .intro {
    font-size: 16px;
  }
  .filters {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 10px;
  }
  .filters label {
    min-width: 0;
    font-size: 12px;
  }
  .filters input,
  .filters select {
    font-size: 16px;
    min-height: 44px;
    padding: 9px;
    margin: 4px 0 10px;
  }
  .category-tabs {
    gap: 6px;
    margin: 2px 0 12px;
  }
  .category-tabs button {
    font-size: 12px;
    min-height: 44px;
    padding: 8px 12px;
  }
  .hero .principles {
    font-size: 16px;
    margin: 10px 0;
  }
  .hero .intro {
    font-size: 15px;
    line-height: 1.5;
    margin: 10px 0;
  }
  .hero > .muted {
    font-size: 12px;
    line-height: 1.5;
    margin: 8px 0 0;
  }
  .hero .eyebrow {
    display: none;
  }
  .library h2 {
    font-size: 20px;
    margin: 0 0 12px;
    line-height: 1.15;
  }
  .empty {
    margin: 14px 0;
    padding: 18px;
  }
  .empty h3 {
    margin: 10px 0;
    font-size: 22px;
  }
  .empty p:not(.eyebrow) {
    font-size: 14px;
  }
  .card-copy {
    padding: 18px;
    gap: 10px;
  }
  .card-copy h3 {
    font-size: 22px;
  }
  .section-head {
    display: block;
  }
  .section-head > .eyebrow {
    display: none;
  }
  .site-footer {
    flex-wrap: wrap;
  }
  .merch-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .experience {
    padding: 12px;
  }
  .stage {
    padding: 18px;
  }
  .experience-tools label {
    width: 100%;
    margin-left: 0;
  }
  .recording {
    padding: 0;
  }
  .recording .experience-tools label {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .experience-card:hover {
    transform: none;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.recording {
  container-type: inline-size;
}
.recording .stage {
  min-height: 0;
  aspect-ratio: 9/16;
  padding: 17.8cqw 14cqw 32cqw 7cqw;
}
.recording-page .private-banner {
  display: none;
}
