@import url("play-launch.css");
@font-face {
  font-family: Inter;
  src: url(assets/Inter-Var.subset.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --ink:#0d0d0d;
  --muted:#6e6e6e;
  --surface:#fff;
  --subtle:#f7f7f7;
  --line:#e7e7e7;
  --focus:var(--ink);
  --button-padding-x:20px;
  --select-chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23525252' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 7.5 5 5 5-5'/%3E%3C/svg%3E");
  --content-max:1328px;
  --page-gutter:48px;
  --control-height:44px;
  --control-radius:12px;
  --control-padding-x:14px;
  --control-font-size:14px;
  font-family:
    "Inter",
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--surface);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -.15px;
  color-scheme: light;
}
@media (max-width: 700px), (pointer: coarse) {
  :root {
    --control-height:48px;
    --control-font-size:16px;
  }
}
* {
  box-sizing: border-box;
}
html {
  scrollbar-gutter: stable;
}
html:has(dialog[open]) {
  overflow: hidden;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
input:where(:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=hidden]):not([type=color]):not([type=button]):not([type=submit]):not([type=reset]):not([type=image])),
select,
textarea {
  min-width: 0;
  max-width: 100%;
  min-height: var(--control-height);
  border: 1px solid var(--line);
  border-radius: var(--control-radius);
  padding: 10px var(--control-padding-x);
  background: var(--surface);
  font-size: var(--control-font-size);
  line-height: 1.4;
}
input:where(:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=hidden]):not([type=color]):not([type=button]):not([type=submit]):not([type=reset]):not([type=image])),
select {
  height: var(--control-height);
}
textarea {
  min-height: calc(var(--control-height) * 2);
  resize: vertical;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
svg {
  width: 22px;
  height: 22px;
  flex: none;
}
button {
  background: none;
  border: 0;
}
button:disabled {
  opacity: .45;
  cursor: default;
}
a,
button {
  transition:
    background-color 150ms,
    color 150ms,
    border-color 150ms;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}
button:active {
  transform: none;
}
img {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  font-weight: 500;
}
h1 {
  font-size: 56px;
  line-height: 1.07;
  letter-spacing: -.03em;
}
h2 {
  font-size: 38px;
  line-height: 1.2;
  letter-spacing: -.025em;
}
h3 {
  font-size: 22px;
  line-height: 1.26;
  letter-spacing: -.01em;
}
p {
  color: var(--ink-secondary,#626262);
}
.muted {
  color: var(--muted);
}
.eyebrow {
  font-size: 14px;
  color: var(--muted);
  display: block;
  margin-bottom: 14px;
}
.page {
  max-width: var(--content-max);
  padding: 0 var(--page-gutter);
  margin: auto;
}
.site-header {
  height: 80px;
  max-width: var(--content-max);
  margin: auto;
  padding: 0 var(--page-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.wordmark {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -.025em;
  white-space: nowrap;
}
.main-nav {
  display: flex;
  gap: 6px;
}
.main-nav a,
.studio-link {
  font-size: 14px;
  padding: 11px 15px;
  border-radius: 999px;
}
.main-nav a:hover,
.studio-link:hover {
  background: var(--subtle);
}
.main-nav a[aria-current],
.studio-link[aria-current] {
  background: var(--subtle,#f1f1f1);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.icon-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: var(--control-height);
  height: var(--control-height);
  border-radius: 50%;
  padding: 10px;
  background: transparent;
  flex: none;
}
.icon-button:hover {
  background: var(--subtle,#eee);
}
.mobile-menu {
  display: none;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: var(--control-height);
  padding: 11px var(--button-padding-x);
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--ink);
  color: var(--on-ink,#fff);
  font-size: 14px;
  font-weight: 500;
  white-space: normal;
  text-align: center;
  line-height: 1.4;
}
.button svg {
  width: 18px;
  height: 18px;
}
.button:hover {
  background: var(--ink-secondary,#303030);
}
.button.secondary {
  background: var(--subtle,#f1f1f1);
  color: var(--ink);
}
.button.secondary:hover {
  background: var(--surface-hover,#e7e7e7);
}
.button.outline {
  color: var(--ink);
  border-color: var(--line);
  background: var(--surface,white);
}
.button.outline:hover {
  background: var(--subtle);
}
.text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: var(--control-height);
  font-size: 14px;
}
.text-link svg {
  width: 18px;
  height: 18px;
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.pill {
  padding: 10px 16px;
  min-height: var(--control-height);
  border-radius: 999px;
  font-size: 14px;
}
.pill[aria-pressed=true] {
  background: var(--subtle,#eee);
}
.section {
  margin: 104px 0;
}
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 32px;
}
.section-head p {
  max-width: 460px;
  font-size: 17px;
  line-height: 1.65;
}
.section-head h2 {
  max-width: 500px;
}
.subnav {
  margin: 16px auto 0;
  position: sticky;
  top: 12px;
  z-index: 8;
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(247, 247, 247, .94);
  backdrop-filter: blur(14px);
  padding: 6px;
  width: fit-content;
  max-width: calc(100% - 32px);
  border: 1px solid #eeeeee80;
}
.subnav a {
  font-size: 14px;
  min-height: 40px;
  padding: 9px 18px;
  border-radius: 999px;
  white-space: nowrap;
}
.subnav a:hover {
  background: var(--surface-hover,#eaeaea);
}
.subnav a[aria-current] {
  background: var(--surface,#fff);
}
.hero {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 64px;
  align-items: center;
  margin-top: 64px;
}
.hero-copy h1 {
  max-width: 500px;
  margin-bottom: 24px;
}
.hero-copy p {
  font-size: 18px;
  line-height: 1.6;
  max-width: 420px;
  margin-bottom: 28px;
}
.hero-visual {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: var(--subtle,#f2f2f2);
  min-height: 526px;
}
.hero-visual > img {
  width: 100%;
  height: 526px;
  object-fit: cover;
  object-position: 45% 50%;
}
.conversation {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.conversation .user-message {
  align-self: flex-end;
  max-width: 85%;
  background: var(--subtle,#f1f1f1);
  color: var(--ink);
  border-radius: 20px 20px 5px 20px;
  padding: 13px 17px;
  font-size: 15px;
  box-shadow: 0 8px 32px #00000015;
}
.agent-message {
  border-radius: 18px;
  background: var(--surface,#fff);
  padding: 18px 20px;
  box-shadow: 0 8px 32px #00000015;
  max-width: 89%;
  font-size: 15px;
}
.agent-message .agent-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--ink-secondary,#626262);
}
.agent-message .agent-name svg {
  height: 15px;
  width: 15px;
}
.agent-message p {
  color: var(--ink);
}
.hero-visual .media-label {
  position: absolute;
  top: 22px;
  left: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface,#fff);
  border-radius: 999px;
  font-size: 13px;
  padding: 7px 13px;
}
.hero-visual .media-label svg {
  width: 16px;
  height: 16px;
}
.collection-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 24px;
}
.collection-controls > p {
  font-size: 14px;
}
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px)/3);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 2px 0 6px;
}
.rail::-webkit-scrollbar {
  display: none;
}
.game-card {
  display: block;
  border-radius: 16px;
  scroll-snap-align: start;
  min-width: 0;
}
.card-copy {
  padding: 18px 0 0;
}
.card-copy h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.card-copy h3 svg {
  width: 18px;
  height: 18px;
}
.card-copy p {
  font-size: 16px;
  line-height: 1.55;
  margin-top: 10px;
  max-width: 95%;
}
.game-card.text-first {
  background: var(--subtle,#f7f7f7);
  border-radius: 16px;
  padding: 24px;
}
.text-first .card-copy {
  padding: 2px 2px 24px;
}
.text-first .eyebrow {
  font-size: 13px;
  margin-bottom: 10px;
}
.text-first:hover {
  background: var(--subtle,#f0f0f0);
}
.rail-buttons {
  display: flex;
  gap: 8px;
}
.rail-buttons .icon-button {
  border: 1px solid var(--line);
}
.rail-buttons .icon-button:first-child svg {
  transform: rotate(180deg);
}
.feature-layout {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 72px;
  align-items: center;
}
.feature-visual {
  border-radius: 24px;
  background: var(--subtle,#f6f6f6);
  position: relative;
  min-height: 520px;
  overflow: hidden;
  padding: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-visual > img {
  width: 100%;
  max-height: 405px;
  object-fit: contain;
  border-radius: 12px;
}
.board-media {
  position: relative;
  width: 100%;
  max-width: 410px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 12px;
}
.board-media > img {
  position: absolute;
  width: 203%;
  max-width: none;
  height: auto;
  left: 50%;
  top: -3%;
  transform: translateX(-50%);
}
.feature-visual .conversation {
  left: 32px;
  right: 32px;
  bottom: 24px;
}
.feature-visual[data-feature=compete] {
  background: var(--subtle,#f4f4f4);
}
.feature-visual[data-feature=learn] {
  background: #f2f3f1;
}
.feature-visual[data-feature=delegate] {
  background: #f2f2f5;
}
.feature-visual .agent-message {
  max-width: 82%;
  font-size: 14px;
  padding: 14px 17px;
}
.feature-copy > h2 {
  margin-bottom: 28px;
}
.feature-row {
  border-bottom: 1px solid var(--line);
}
.feature-row:first-of-type {
  border-top: 1px solid var(--line);
}
.feature-row button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  text-align: left;
  padding: 22px 0;
  font-size: 18px;
  line-height: 1.4;
  min-height: 64px;
}
.feature-row button svg {
  width: 18px;
  height: 18px;
}
.feature-row .feature-detail {
  display: none;
  padding: 0 28px 22px 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}
.feature-row[data-open=true] .feature-detail {
  display: block;
}
.feature-row[data-open=true] button svg {
  transform: none;
}
.feature-detail a {
  display: flex;
  width: fit-content;
  margin-top: 16px;
}
.studio-section {
  background: var(--subtle);
  border-radius: 24px;
  padding: 48px;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 56px;
  align-items: center;
}
.studio-section h2 {
  margin-bottom: 20px;
}
.studio-section p {
  margin-bottom: 24px;
  max-width: 380px;
}
.studio-preview {
  background: var(--surface,#fff);
  border-radius: 16px;
  border: 1px solid var(--line,#e9e9e9);
  overflow: hidden;
  box-shadow: 0 12px 40px #00000006;
}
.preview-header {
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  border-bottom: 1px solid var(--line);
}
.preview-header strong {
  font-weight: 500;
}
.preview-body {
  padding: 24px;
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 22px;
  align-items: start;
}
.preview-body > img {
  border-radius: 10px;
  aspect-ratio: 1;
  object-fit: cover;
  width: 104px;
}
.preview-body h3 {
  font-size: 20px;
  margin-bottom: 6px;
}
.preview-body p {
  font-size: 13px;
  margin: 0 0 16px;
}
.preview-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  background: var(--subtle,#f5f5f5);
  border-radius: 999px;
  font-size: 12px;
}
.preview-state svg {
  width: 13px;
  height: 13px;
}
.preview-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 4px 24px 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.preview-flow span {
  display: block;
  font-size: 13px;
}
.preview-flow small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}
.closing {
  padding: 50px 0 80px;
  text-align: center;
}
.closing h2 {
  margin-bottom: 24px;
  font-size: 42px;
}
.site-footer {
  max-width: var(--content-max);
  padding: 34px var(--page-gutter) 44px;
  margin: auto;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.site-footer p {
  font-size: 14px;
}
.site-footer nav {
  grid-column: 1/-1;
  display: flex;
  gap: 24px;
  font-size: 14px;
}
.catalog-head {
  margin: 60px 0 32px;
}
.catalog-head h1 {
  font-size: 48px;
  margin-bottom: 16px;
}
.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin: 30px 0;
}
.filters {
  display: flex;
  gap: 4px;
  overflow-x: auto;
}
.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 24px;
  margin: 32px 0 80px;
}
.empty-state {
  padding: 80px 24px;
  max-width: 660px;
  text-align: center;
  margin: auto;
}
.empty-state .empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--subtle);
  height: 64px;
  width: 64px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.empty-state h2 {
  font-size: 30px;
  margin-bottom: 14px;
}
.empty-state p {
  margin-bottom: 28px;
}
.empty-state .actions {
  justify-content: center;
}
.detail-hero {
  margin: 48px 0 0;
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 64px;
  align-items: center;
}
.detail-copy h1 {
  margin: 0;
}
.detail-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.detail-copy p {
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 26px;
}
.detail-meta {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
  margin: 30px 0;
}
.detail-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.detail-meta svg {
  width: 18px;
  height: 18px;
}
.activity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.activity-card {
  border-radius: 16px;
  background: var(--subtle,#f7f7f7);
  overflow: hidden;
  padding: 24px;
}
.activity-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: var(--subtle,#eee);
  border-radius: 12px;
  margin-top: 22px;
}
.activity-card h3 {
  margin-bottom: 10px;
}
.activity-card p {
  font-size: 15px;
  line-height: 1.6;
}
.activity-card .text-link {
  margin-top: 12px;
}
.role-choices {
  display: flex;
  flex-direction: column;
  margin-top: 22px;
}
.role-choice {
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  min-height: 70px;
}
.role-choice input {
  accent-color: var(--ink,#0d0d0d);
  width: 18px;
  height: 18px;
  margin: 0;
  flex: none;
}
.role-choice strong {
  display: block;
  font-size: 16px;
  font-weight: 500;
}
.role-choice small {
  font-size: 14px;
  color: var(--muted);
}
.role-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.role-section h2 {
  margin-bottom: 18px;
}
.role-section .connection-note {
  font-size: 14px;
  line-height: 1.7;
}
.profile-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 64px;
  margin: 56px 0 80px;
}
.profile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.profile-nav button {
  min-height: 48px;
  padding: 12px 16px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 10px;
  font-size: 14px;
}
.profile-nav button[aria-current] {
  background: var(--subtle,#f1f1f1);
}
.profile-nav button svg {
  width: 18px;
  height: 18px;
}
.profile-heading {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}
.profile-avatar {
  width: 60px;
  height: 60px;
  background: var(--subtle,#f1f1f1);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.profile-avatar svg {
  width: 26px;
  height: 26px;
}
.profile-heading h1 {
  font-size: 38px;
  margin-bottom: 4px;
}
.profile-heading p {
  font-size: 14px;
}
.connect-page {
  max-width: var(--content-max);
  margin: 56px auto 90px;
  padding: 0 var(--page-gutter);
}
.connect-hero {
  max-width: 670px;
  margin: 0 auto 52px;
  text-align: center;
}
.connect-hero h1 {
  font-size: 48px;
  margin-bottom: 24px;
}
.connect-hero p {
  font-size: 17px;
  line-height: 1.6;
}
.connect-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.connect-step {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.connect-step:first-child {
  border-top: 1px solid var(--line);
}
.connect-step h2 {
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.step-number {
  background: var(--subtle,#f1f1f1);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  font-size: 12px;
  flex: none;
}
.connect-step p {
  font-size: 14px;
  margin-left: 40px;
  line-height: 1.65;
}
.prompt-panel {
  background: var(--subtle,#f7f7f7);
  padding: 28px;
  border-radius: 20px;
  align-self: start;
}
.prompt-panel label {
  display: block;
  font-size: 14px;
  margin-bottom: 10px;
}
.prompt-panel input {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--surface,#fff);
  border-radius: var(--control-radius);
  min-height: var(--control-height);
  padding: 10px var(--control-padding-x);
  font-size: var(--control-font-size);
  margin-bottom: 20px;
}
.prompt-panel textarea {
  width: 100%;
  min-height: 280px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: var(--control-radius);
  background: var(--surface);
  padding: 10px var(--control-padding-x);
  font-size: var(--control-font-size);
  line-height: 1.7;
  margin: 0 0 20px;
}
.prompt-panel .field-help {
  font-size: 13px;
  margin-top: 16px;
}
.search-dialog,
.session-dialog {
  position: fixed;
  inset: auto;
  top: calc(var(--dialog-viewport-top, 0px) + var(--dialog-viewport-height, 100dvh) / 2);
  left: calc(var(--dialog-viewport-left, 0px) + var(--dialog-viewport-width, 100vw) / 2);
  transform: translate(-50%, -50%);
  margin: 0;
  max-width: calc(var(--dialog-viewport-width, 100vw) - 32px);
  max-height: calc(var(--dialog-viewport-height, 100dvh) - 32px);
  overflow: auto;
  overscroll-behavior: contain;
  background: var(--surface);
  color: var(--ink);
}
.search-dialog {
  width: 560px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
}
dialog::backdrop {
  background: #00000038;
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-width: 0;
}
.dialog-head h2 {
  font-size: 24px;
  letter-spacing: -.5px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.search-dialog .dialog-head,
.session-dialog .dialog-head {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--surface);
}
.search-field {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--subtle,#f7f7f7);
  border-radius: var(--control-radius);
  min-height: var(--control-height);
  padding: 0 var(--control-padding-x);
  margin: 22px 0;
}
.search-field input {
  width: 100%;
  min-width: 0;
  background: transparent;
  border: 0;
  padding: 10px 0;
  outline: 0;
  font-size: var(--control-font-size);
}
.search-results > a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 10px 6px;
  border-bottom: 1px solid var(--line);
}
.search-results > a > img {
  width: 52px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
}
.search-results > a > span {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.search-results strong {
  font-size: 15px;
  font-weight: 500;
  display: block;
}
.search-results small {
  font-size: 13px;
  color: var(--muted);
}
.empty-copy {
  padding: 20px 0;
  font-size: 14px;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 15px);
  background: var(--ink,#181818);
  color: var(--on-ink,#fff);
  padding: 12px 20px;
  border-radius: 999px;
  z-index: 100;
  font-size: 14px;
  max-width: 90vw;
  opacity: 0;
  pointer-events: none;
  transition: opacity 150ms, transform 150ms;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.play-page {
  height: 100dvh;
  display: flex;
  flex-direction: column;
}
.play-topbar {
  height: 64px;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  flex: none;
}
.play-topbar .game-name {
  font-size: 14px;
  font-weight: 500;
}
.play-topbar .actions {
  gap: 8px;
}
.play-runtime {
  width: 100%;
  flex: 1;
  min-height: 0;
  border: 0;
  background: var(--ink,#080808);
}
.play-message {
  padding: 40px;
  max-width: 650px;
  margin: auto;
  text-align: center;
}
.play-message h1 {
  font-size: 36px;
  margin-bottom: 20px;
}
.play-message p {
  margin-bottom: 24px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
[hidden] {
  display: none !important;
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
@media (min-width: 1500px) {
  .hero-copy h1 {
    font-size: 64px;
  }
}
@media (max-width: 1000px) {
  :root {
    --page-gutter:32px;
  }
  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero {
    gap: 36px;
  }
  .hero-copy h1 {
    font-size: 48px;
  }
  .hero-visual,
  .hero-visual > img {
    min-height: 460px;
    height: 460px;
  }
  .feature-layout {
    gap: 40px;
  }
  .feature-visual {
    padding: 26px;
    min-height: 460px;
  }
  .studio-section {
    gap: 32px;
    padding: 32px;
  }
  .profile-layout {
    gap: 36px;
  }
  .header-actions .studio-link {
    padding: 10px;
  }
  .detail-hero {
    gap: 36px;
  }
}
@media (max-width: 1000px) and (pointer: coarse) {
  :root {
    --page-gutter:20px;
  }
}
@media (max-width: 700px) {
  :root {
    --page-gutter:20px;
  }
  .site-header {
    height: 72px;
    padding: 0 var(--page-gutter);
    gap: 12px;
  }
  .wordmark {
    font-size: 17px;
  }
  .main-nav {
    display: none;
  }
  .header-actions {
    gap: 0;
  }
  .header-actions .studio-link {
    display: none;
  }
  .mobile-menu {
    display: inline-flex;
  }
  .site-header.menu-open {
    height: auto;
    min-height: 72px;
    flex-wrap: wrap;
    padding-bottom: 14px;
  }
  .menu-open .main-nav {
    display: flex;
    order: 3;
    width: 100%;
    justify-content: center;
  }
  .menu-open .header-actions .studio-link {
    display: none;
  }
  .subnav {
    margin-top: 8px;
    top: 8px;
  }
  .subnav a {
    padding: 9px 13px;
    font-size: 13px;
    min-height: 40px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 40px;
  }
  .hero-copy h1 {
    font-size: 44px;
    max-width: 420px;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
  }
  .hero-copy p {
    font-size: 16px;
    margin-bottom: 24px;
  }
  .hero-visual,
  .hero-visual > img {
    height: 320px;
    min-height: 320px;
  }
  .conversation {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }
  .conversation .user-message {
    font-size: 14px;
    padding: 12px 15px;
  }
  .agent-message {
    padding: 15px 16px;
    font-size: 14px;
    max-width: 94%;
  }
  .hero-visual .media-label {
    top: 18px;
    left: 18px;
  }
  .section {
    margin: 64px 0;
  }
  .section-head {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 26px;
  }
  .section-head h2 {
    font-size: 32px;
    letter-spacing: -.8px;
  }
  .section-head p {
    font-size: 16px;
  }
  .rail {
    grid-auto-columns: 86%;
    gap: 16px;
  }
  .game-card.text-first {
    padding: 22px;
  }
  .collection-controls {
    gap: 16px;
  }
  .collection-controls > p {
    font-size: 13px;
    max-width: 190px;
  }
  .feature-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .feature-copy {
    order: -1;
  }
  .feature-copy h2 {
    font-size: 32px;
  }
  .feature-visual {
    min-height: 440px;
    padding: 22px;
  }
  .feature-row button {
    font-size: 17px;
    padding: 18px 0;
  }
  .feature-row .feature-detail {
    font-size: 14px;
  }
  .feature-visual .conversation {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }
  .studio-section {
    grid-template-columns: 1fr;
    padding: 28px 22px;
    gap: 30px;
  }
  .studio-section h2 {
    font-size: 32px;
  }
  .studio-section p {
    font-size: 15px;
  }
  .preview-body {
    padding: 18px;
    grid-template-columns: 80px 1fr;
    gap: 16px;
  }
  .preview-body > img {
    width: 80px;
  }
  .preview-body h3 {
    font-size: 18px;
  }
  .preview-flow {
    gap: 12px;
    margin: 0 18px 18px;
  }
  .preview-flow small {
    font-size: 11px;
  }
  .closing {
    padding: 32px 0 60px;
  }
  .closing h2 {
    font-size: 32px;
  }
  .site-footer {
    padding: 28px var(--page-gutter) 36px;
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .site-footer nav {
    flex-wrap: wrap;
    gap: 16px;
  }
  .catalog-head {
    margin-top: 40px;
  }
  .catalog-head h1 {
    font-size: 38px;
  }
  .catalog-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .game-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 56px;
  }
  .card-copy p {
    font-size: 15px;
  }
  .detail-hero {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 28px;
  }
  .detail-copy h1 {
    font-size: 44px;
  }
  .detail-copy p {
    font-size: 16px;
  }
  .detail-meta {
    gap: 16px;
    flex-wrap: wrap;
  }
  .activity-grid {
    grid-template-columns: 1fr;
  }
  .activity-card img {
    height: 250px;
  }
  .role-section {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .role-section h2 {
    font-size: 30px;
  }
  .profile-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    margin: 30px 0 60px;
  }
  .profile-nav {
    flex-direction: row;
    overflow: auto;
    gap: 4px;
  }
  .profile-nav button {
    white-space: nowrap;
    padding: 12px 14px;
  }
  .profile-nav button svg {
    display: none;
  }
  .profile-heading {
    margin-bottom: 28px;
  }
  .profile-heading h1 {
    font-size: 32px;
  }
  .connect-page {
    margin: 36px auto 60px;
  }
  .connect-hero h1 {
    font-size: 38px;
  }
  .connect-hero p {
    font-size: 16px;
  }
  .connect-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .prompt-panel {
    padding: 24px;
  }
  .connect-step p {
    margin-left: 40px;
  }
  .play-topbar {
    padding: 10px 12px;
    gap: 8px;
  }
  .play-topbar .wordmark {
    display: none;
  }
  .play-topbar .button {
    font-size: 13px;
    padding: 10px 15px;
  }
  .search-dialog,
  .session-dialog {
    width: calc(var(--dialog-viewport-width, 100vw) - 24px);
    max-width: calc(var(--dialog-viewport-width, 100vw) - 24px);
    max-height: calc(var(--dialog-viewport-height, 100dvh) - 24px);
    padding: 20px;
  }
  .search-field kbd {
    display: none;
  }
  .dialog-head h2 {
    font-size: 21px;
  }
}
#discover,
#collection,
#your-ai,
#creators {
  scroll-margin-top: 92px;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--on-ink,#fff);
  transform: translateY(-180%);
}
.skip-link:focus {
  transform: none;
}
.mobile-destination {
  display: none;
}
.player-link[aria-current] {
  background: var(--subtle,#f1f1f1);
}
.breadcrumb {
  color: var(--muted);
  gap: 5px;
  font-size: 13px;
}
.breadcrumb svg {
  width: 16px;
  height: 16px;
}
.round-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 14px;
  background: var(--subtle,#efefef);
}
.round-icon svg {
  width: 21px;
  height: 21px;
}
.segmented {
  display: inline-flex;
  gap: 3px;
  flex-wrap: wrap;
  background: var(--subtle,#f5f5f5);
  padding: 4px;
  border-radius: 999px;
}
.segmented button {
  padding: 8px 16px;
  min-height: 36px;
  border-radius: 999px;
  font-size: 13px;
  white-space: nowrap;
}
.segmented button[aria-pressed=true] {
  background: var(--surface,#fff);
  box-shadow: 0 1px 4px #0000000c;
}
.segmented button:hover {
  color: var(--ink,#000);
  background: var(--subtle,#ebebeb);
}
.segmented button[aria-pressed=true]:hover {
  background: var(--surface,#fff);
}
.section-note {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 20px;
}
.section-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.compact-select {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
  font-size: 13px;
}
.compact-select select {
  appearance: auto;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--control-radius);
  padding: 10px var(--control-padding-x);
  font-size: var(--control-font-size);
  min-height: var(--control-height);
  min-width: 0;
  max-width: 100%;
}
.field-error {
  font-size: 13px;
  color: var(--negative,#9c352d);
  line-height: 1.55;
}
.card-media {
  overflow: hidden;
  border-radius: 16px;
  background: var(--subtle,#ededed);
}
.card-media img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.card-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}
.card-status {
  color: var(--ink-secondary,#565656);
}
.card-roles {
  display: flex;
  gap: 16px;
  padding-top: 17px;
  font-size: 12px;
  color: var(--muted);
}
.card-roles > span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.card-roles svg {
  width: 14px;
  height: 14px;
}
.game-card:hover h3 > svg {
  color: var(--ink,#000);
}
.game-card.text-first {
  padding: 24px;
  border-radius: 20px;
  background: var(--subtle,#f7f7f7);
}
.text-first .card-copy {
  padding: 2px 0 22px;
}
.text-first .card-copy p {
  min-height: 50px;
}
.text-first .card-media {
  border-radius: 12px;
}
.text-first .card-media img {
  aspect-ratio: 16/11;
}
.text-first .card-roles {
  font-size: 12px;
  gap: 12px;
}
.game-card[data-game=chess] .card-media img {
  object-position: 40% 50%;
}
.game-card[data-game=poker] .card-media img {
  object-position: 50% 60%;
}
.rail-progress {
  font-size: 12px;
  color: var(--muted);
  margin-right: 10px;
  min-width: 44px;
  text-align: right;
}
.catalog-search {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  padding: 0 var(--control-padding-x);
  border-radius: var(--control-radius);
  min-height: var(--control-height);
  min-width: 0;
  max-width: 250px;
}
.catalog-search svg {
  width: 16px;
  height: 16px;
  color: var(--muted);
}
.catalog-search input {
  border: 0;
  outline: 0;
  background: none;
  min-width: 0;
  width: 100%;
  padding: 10px 0;
  font-size: var(--control-font-size);
}
.catalog-search:focus-within {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.catalog-count {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  margin: 18px 0 -12px;
}
.catalog-toolbar {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.empty-state .text-link {
  margin-top: 8px;
}
.library-note {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
}
.library-note svg {
  width: 16px;
  height: 16px;
}
.game-detail-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0 0;
}
.detail-hero {
  margin-top: 20px;
}
.detail-meta {
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px 20px;
}
.detail-copy .detail-description {
  margin-bottom: 22px;
  max-width: 450px;
}
.detail-caption {
  font-size: 12px;
  padding: 12px 0;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.detail-hero .detail-art img {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 24px;
  object-fit: cover;
}
.detail-hero .detail-art {
  min-width: 0;
}
.detail-role-launch {
  padding-top: 22px;
}
.detail-role-launch .button {
  margin-bottom: 10px;
}
.detail-role-launch p {
  font-size: 13px;
  line-height: 1.6;
  max-width: 370px;
}
.role-choice {
  border-radius: 10px;
  padding: 16px 12px;
  border-bottom: 0;
}
.role-choice:has(input:checked) {
  background: var(--subtle,#f5f5f5);
}
.role-choice:has(input:focus-visible) {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.role-choice:hover {
  background: var(--subtle,#f8f8f8);
}
.role-choice small {
  display: block;
  line-height: 1.6;
  margin-top: 3px;
}
.role-choice input {
  margin: 0 2px;
}
.role-choice .role-icon {
  align-self: flex-start;
  margin-top: 4px;
  width: 22px;
  height: 22px;
  color: var(--muted,#646464);
}
.role-choices {
  gap: 4px;
}
.activity-card {
  padding: 24px;
  background: var(--subtle,#f7f7f7);
  border-radius: 20px;
}
.activity-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 12px;
  color: var(--muted);
}
.activity-heading svg {
  width: 20px;
  height: 20px;
  color: var(--ink);
}
.activity-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--ink,#080808);
  border-radius: 12px;
  margin: 22px 0 14px;
}
.activity-media img {
  position: absolute;
  max-width: none;
  margin: 0;
  border-radius: 0;
  object-fit: fill;
  width: 203%;
  height: auto;
  left: 50%;
  top: -3%;
  transform: translateX(-50%);
}
.activity-media.pro img {
  width: 184%;
  left: 82%;
  top: -2%;
}
.activity-detail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}
.game-questions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.game-questions h2 {
  max-width: 390px;
}
.game-questions details,
.connection-faq details {
  border-top: 1px solid var(--line);
  padding: 0;
}
.game-questions summary,
.connection-faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
}
.game-questions summary::-webkit-details-marker,
.connection-faq summary::-webkit-details-marker {
  display: none;
}
.game-questions summary svg,
.connection-faq summary svg {
  width: 17px;
  height: 17px;
}
.game-questions details[open] summary svg,
.connection-faq details[open] summary svg {
  transform: rotate(45deg);
}
.game-questions details p,
.connection-faq details p {
  font-size: 14px;
  line-height: 1.75;
  padding: 0 26px 22px 0;
}
.game-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  margin-top: 64px;
}
.game-next p {
  font-size: 14px;
}
.game-next h3 {
  margin-bottom: 6px;
  font-size: 20px;
}
.footer-brand p {
  font-size: 14px;
  margin-top: 14px;
  line-height: 1.7;
}
.site-footer {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-top: 40px;
  padding-bottom: 48px;
}
.site-footer nav {
  grid-column: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
}
.site-footer nav > span {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 4px;
}
.site-footer nav a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.search-dialog .search-field {
  margin: 20px 0 16px;
}
.search-field kbd {
  font: inherit;
  font-size: 11px;
  color: var(--muted);
}
.search-summary {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}
.search-results > a {
  padding: 12px 8px;
  border-radius: 10px;
  border-bottom: 0;
  gap: 12px;
}
.search-results > a:hover {
  background: var(--subtle,#f6f6f6);
}
.search-results > a > span {
  flex: 1;
}
.search-results > a > .search-status {
  flex: 0 0 auto;
  font-size: 11px;
  color: var(--muted);
}
.search-results > a svg {
  width: 16px;
  height: 16px;
  color: var(--muted,#999);
}
.search-footnote {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted);
}
.search-empty {
  padding: 36px 0;
  text-align: center;
}
.search-empty > svg {
  width: 28px;
  height: 28px;
  margin-bottom: 14px;
  color: var(--muted,#7b7b7b);
}
.search-empty h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.search-empty p {
  font-size: 14px;
  margin-bottom: 18px;
}
.profile-layout {
  grid-template-columns: 204px minmax(0, 1fr);
  gap: 56px;
  margin: 44px auto 80px;
}
.profile-nav {
  border-right: 1px solid var(--line);
  padding-right: 24px;
  align-self: start;
  position: sticky;
  top: 28px;
}
.profile-heading {
  margin: 8px 0 32px;
  gap: 16px;
}
.profile-heading h1 {
  font-size: 34px;
  line-height: 1.15;
  margin: 3px 0 8px;
}
.profile-heading p {
  font-size: 14px;
}
.profile-avatar {
  width: 56px;
  height: 56px;
  font-size: 15px;
  font-weight: 500;
  background: var(--subtle,#f2f2f2);
}
.profile-avatar svg {
  width: 22px;
  height: 22px;
}
.profile-name {
  font-size: 12px;
  color: var(--muted);
}
.profile-entry {
  padding: 40px;
  background: var(--subtle,#f7f7f7);
  border-radius: 24px;
}
.profile-entry h2 {
  font-size: 30px;
  max-width: 480px;
  margin-bottom: 16px;
}
.profile-entry p {
  max-width: 540px;
  margin-bottom: 22px;
  font-size: 15px;
  line-height: 1.7;
}
.entry-art {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}
.entry-art > svg {
  padding: 13px;
  width: 52px;
  height: 52px;
  background: var(--surface,white);
  border-radius: 16px;
}
.entry-line {
  width: 48px;
  border-top: 1px dashed var(--line-strong,#bbb);
}
.profile-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 36px;
}
.profile-benefits svg {
  width: 22px;
  height: 22px;
  margin-bottom: 16px;
}
.profile-benefits h3 {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 8px;
}
.profile-benefits p {
  font-size: 13px;
  line-height: 1.7;
}
.sample-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: var(--subtle,#f7f7f7);
  border-radius: 10px;
  padding: 0 14px;
  margin-bottom: 28px;
  font-size: 12px;
  color: var(--muted);
}
.sample-banner > span {
  display: inline-flex;
  gap: 7px;
  align-items: center;
}
.sample-banner svg {
  width: 15px;
  height: 15px;
}
.sample-banner .text-link {
  font-size: 12px;
}
.profile-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.profile-toolbar > .muted {
  font-size: 13px;
}
.rating-panel {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 28px 0;
}
.rating-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.rating-top .eyebrow {
  margin-bottom: 8px;
  font-size: 13px;
}
.rating-value {
  font-size: 46px;
  line-height: 1.2;
  letter-spacing: -.03em;
  display: flex;
  align-items: baseline;
  gap: 18px;
  font-variant-numeric: tabular-nums;
}
.rating-value > span {
  font-size: 14px;
  letter-spacing: 0;
}
.rating-value small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 4px;
}
.rating-best {
  text-align: right;
}
.rating-best span {
  font-size: 12px;
  color: var(--muted);
}
.rating-best strong {
  display: block;
  font-size: 20px;
  font-weight: 500;
  margin-top: 7px;
}
.rating-chart {
  padding: 24px 0 16px;
}
.rating-chart > svg {
  width: 100%;
  height: auto;
  display: block;
}
.rating-chart text {
  font-size: 11px;
  fill: var(--muted,#858585);
}
.chart-grid {
  stroke: var(--line,#ededed);
  stroke-width: 1;
}
.chart-area {
  fill: var(--on-ink,#f5f5f5);
}
.chart-line {
  stroke: var(--ink,#181818);
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.chart-point {
  fill: var(--on-ink,#fff);
  stroke: var(--ink,#181818);
  stroke-width: 1.5;
}
.chart-point:hover {
  fill: var(--ink,#181818);
}
.rating-bottom {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
}
.rating-bottom > span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}
.rating-bottom svg {
  width: 16px;
  height: 16px;
}
.rating-bottom .text-link {
  font-size: 12px;
}
.profile-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 28px 0 36px;
}
.profile-stat-grid > div {
  padding: 4px 20px;
  border-right: 1px solid var(--line);
}
.profile-stat-grid > div:first-child {
  padding-left: 0;
}
.profile-stat-grid > div:last-child {
  border: 0;
}
.profile-stat-grid span {
  font-size: 13px;
  color: var(--muted);
}
.profile-stat-grid strong {
  display: block;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.5;
}
.profile-stat-grid small,
.profile-stat-grid a {
  font-size: 12px;
  color: var(--muted);
}
.profile-stat-grid a {
  display: flex;
  align-items: center;
  gap: 5px;
}
.profile-stat-grid a svg {
  width: 13px;
  height: 13px;
}
.next-session {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--subtle,#f7f7f7);
  border-radius: 16px;
  padding: 22px;
}
.next-session-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--surface,#fff);
}
.next-session h3 {
  font-size: 16px;
  margin-bottom: 4px;
}
.next-session p {
  font-size: 13px;
  line-height: 1.6;
}
.next-session > .button {
  margin-left: auto;
  flex: none;
  background: var(--surface,#fff);
  border-color: var(--line);
}
.history-list-head {
  display: grid;
  grid-template-columns: 1fr 100px 64px 18px;
  gap: 20px;
  padding: 0 14px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.history-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 100px 64px 18px;
  gap: 16px;
  align-items: center;
  text-align: left;
  width: 100%;
  padding: 20px 14px;
  border-bottom: 1px solid var(--line);
}
.history-item:hover {
  background: var(--subtle,#f7f7f7);
  border-radius: 12px;
}
.history-game-icon {
  display: grid;
  place-items: center;
  background: var(--subtle,#f5f5f5);
  border-radius: 12px;
  width: 40px;
  height: 40px;
}
.history-game-icon svg {
  width: 19px;
  height: 19px;
}
.history-info strong {
  font-size: 14px;
  font-weight: 500;
}
.history-info strong > span {
  color: var(--muted);
  font-weight: 400;
}
.history-info small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
}
.history-result {
  font-size: 13px;
}
.history-result small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.history-rating {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.history-item > svg {
  width: 15px;
  height: 15px;
  color: var(--muted);
}
.rank-position {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  background: var(--subtle,#f7f7f7);
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 30px;
}
.rank-position .eyebrow {
  margin-bottom: 6px;
  font-size: 13px;
}
.rank-position strong {
  font-size: 38px;
  font-weight: 500;
  letter-spacing: -.02em;
}
.rank-position strong small {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
  margin-left: 6px;
}
.rank-position p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink);
}
.rank-position p > span {
  color: var(--muted);
}
.leaderboard-head,
.leaderboard-row {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) 70px 70px;
  gap: 18px;
  align-items: center;
}
.leaderboard-head {
  font-size: 12px;
  color: var(--muted);
  padding: 0 16px 14px;
  border-bottom: 1px solid var(--line);
}
.leaderboard-row {
  min-height: 78px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.leaderboard-row strong {
  font-weight: 500;
}
.leaderboard-row.is-you {
  background: var(--subtle,#f7f7f7);
  border-radius: 12px;
  border-color: transparent;
}
.rank-number {
  color: var(--muted);
}
.rank-number svg {
  width: 19px;
  height: 19px;
  color: var(--ink);
}
.leader-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.leader-avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--subtle,#ededed);
  font-size: 12px;
  flex: none;
}
.you-label {
  font-size: 11px;
  color: var(--muted);
}
.ranking-guide {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.ranking-guide h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.ranking-guide p {
  font-size: 14px;
  line-height: 1.8;
  max-width: 620px;
}
.session-dialog {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  width: 500px;
}
.session-dialog .eyebrow {
  font-size: 12px;
  margin-bottom: 8px;
}
.session-dialog .button {
  margin-top: 24px;
}
.session-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.session-summary > span {
  color: var(--muted);
}
.session-summary > strong {
  font-weight: 500;
}
.connect-page {
  max-width: 1100px;
  margin-top: 24px;
}
.connect-page > .breadcrumb {
  margin-bottom: 24px;
}
.connect-hero {
  margin-bottom: 44px;
}
.connect-hero h1 {
  font-size: 48px;
  line-height: 1.12;
  max-width: 560px;
  margin: 0 auto 20px;
}
.connect-layout {
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.connection-tabs {
  margin-bottom: 28px;
}
.ready-conversation {
  padding: 12px 0;
}
.ready-conversation > .round-icon {
  margin-bottom: 20px;
}
.ready-conversation h2 {
  font-size: 26px;
  line-height: 1.3;
  max-width: 350px;
  margin-bottom: 16px;
}
.ready-conversation > p {
  font-size: 15px;
  line-height: 1.75;
  max-width: 400px;
}
.connection-conversation {
  position: static;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.connection-conversation .user-message {
  background: var(--subtle,#f1f1f1);
  max-width: 90%;
  padding: 12px 16px;
  font-size: 14px;
}
.connection-conversation .agent-message {
  max-width: 90%;
  padding: 0;
  background: transparent;
  box-shadow: none;
}
.connection-conversation .agent-message p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
}
.connection-conversation .agent-name {
  gap: 6px;
  font-size: 12px;
  margin-bottom: 6px;
}
.connection-alternative {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  margin-top: 24px;
}
.connection-alternative > span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}
.connection-alternative svg {
  width: 16px;
  height: 16px;
}
.connection-alternative .text-link {
  font-size: 13px;
  flex: none;
}
.prompt-panel {
  padding: 28px;
  border-radius: 24px;
}
.prompt-heading {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 24px;
}
.prompt-heading h2 {
  font-size: 20px;
  margin-bottom: 4px;
}
.prompt-heading p {
  font-size: 12px;
  line-height: 1.6;
}
.prompt-heading .round-icon {
  background: var(--surface,white);
}
.prompt-panel label {
  font-size: 12px;
  margin-bottom: 8px;
}
.prompt-panel select {
  width: 100%;
  background: var(--surface,white);
  border: 1px solid var(--line);
  border-radius: var(--control-radius);
  min-height: var(--control-height);
  padding: 10px var(--control-padding-x);
  font-size: var(--control-font-size);
  margin-bottom: 22px;
}
.prompt-panel textarea {
  min-height: 210px;
  line-height: 1.75;
  font-size: var(--control-font-size);
}
.prompt-panel #copy-prompt {
  width: 100%;
}
.advanced-connection {
  margin-top: 22px;
  padding-top: 4px;
  border-top: 1px solid var(--line,#e4e4e4);
}
.advanced-connection summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
  padding: 14px 0;
  font-size: 12px;
}
.advanced-connection summary::-webkit-details-marker {
  display: none;
}
.advanced-connection summary svg {
  width: 14px;
  height: 14px;
  transition: transform 150ms;
}
.advanced-connection[open] summary svg {
  transform: rotate(90deg);
}
.advanced-connection input {
  margin-bottom: 8px;
}
.advanced-connection .field-help {
  margin: 0 0 12px;
}
.advanced-connection [aria-invalid=true] {
  border-color: var(--negative,#9c352d);
}
.client-choices {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 24px;
}
.client-choices button {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 13px;
  min-height: 44px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.client-choices button[aria-pressed=true] {
  background: var(--subtle,#f6f6f6);
  border-color: var(--line-strong,#999);
}
.client-choices svg {
  width: 15px;
  height: 15px;
}
.setup-steps .connect-step {
  padding: 20px 0;
}
.setup-steps .connect-step h2 {
  font-size: 17px;
}
.connect-instructions > .text-link {
  margin-top: 12px;
}
.connection-faq {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 72px;
  max-width: 680px;
}
.connection-faq h2 {
  font-size: 28px;
  margin-bottom: 24px;
}
@media (max-width: 1000px) {
  .profile-layout {
    gap: 32px;
    grid-template-columns: 180px minmax(0, 1fr);
  }
  .profile-nav {
    padding-right: 18px;
  }
  .detail-hero {
    gap: 32px;
  }
  .role-section,
  .game-questions {
    gap: 40px;
  }
  .connect-layout {
    gap: 32px;
  }
  .next-session {
    flex-wrap: wrap;
  }
  .next-session > .button {
    margin-left: 60px;
  }
  .profile-stat-grid {
    gap: 12px;
  }
  .profile-stat-grid > div {
    padding-left: 14px;
    padding-right: 14px;
  }
}
@media (max-width: 700px) {
  .site-header.menu-open {
    position: relative;
    height: 72px;
    padding-bottom: 0;
    flex-wrap: nowrap;
  }
  .menu-open .main-nav {
    position: absolute;
    top: 64px;
    left: 12px;
    right: 12px;
    width: auto;
    background: var(--surface,#fff);
    border: 1px solid var(--line);
    box-shadow: 0 8px 30px #0000000a;
    z-index: 20;
    padding: 8px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: stretch;
  }
  .main-nav a {
    display: flex;
    justify-content: space-between;
    border-radius: 10px;
    min-height: 44px;
    align-items: center;
  }
  .main-nav .mobile-destination {
    display: flex;
  }
  .mobile-destination svg {
    width: 17px;
    height: 17px;
    color: var(--muted);
  }
  .card-copy h3 {
    font-size: 22px;
  }
  .catalog-toolbar {
    gap: 18px;
  }
  .catalog-search {
    max-width: none;
    width: 100%;
    min-height: var(--control-height);
  }
  .catalog-count {
    margin-top: 0;
  }
  .filters {
    width: 100%;
  }
  .filters .pill {
    padding: 10px 14px;
    white-space: nowrap;
  }
  .rail-progress {
    display: none;
  }
  .game-detail-nav {
    padding-top: 12px;
  }
  .detail-hero {
    margin-top: 12px;
  }
  .detail-caption {
    font-size: 11px;
  }
  .detail-hero .detail-art img {
    border-radius: 20px;
  }
  .activity-card {
    padding: 22px;
  }
  .activity-card .activity-media img {
    height: auto;
  }
  .activity-media {
    max-height: 350px;
  }
  .game-questions {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .game-questions h2 {
    font-size: 30px;
  }
  .game-next {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-top: 44px;
  }
  .site-footer {
    grid-template-columns: 1fr 1fr;
    gap: 30px 24px;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
  .site-footer nav {
    gap: 12px;
    font-size: 13px;
  }
  .profile-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 24px;
  }
  .profile-nav {
    position: static;
    border: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 12px;
  }
  .profile-nav button {
    padding: 10px 12px;
  }
  .profile-heading {
    margin: 0 0 24px;
  }
  .profile-heading h1 {
    font-size: 30px;
  }
  .profile-entry {
    padding: 26px 22px;
    border-radius: 20px;
  }
  .profile-entry h2 {
    font-size: 27px;
  }
  .profile-entry .actions {
    gap: 8px;
    align-items: flex-start;
    flex-direction: column;
  }
  .profile-benefits {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .profile-benefits > div {
    display: grid;
    grid-template-columns: 26px 1fr;
    gap: 4px 16px;
  }
  .profile-benefits svg {
    grid-row: 1/3;
    margin: 2px 0 0;
  }
  .profile-benefits h3 {
    margin: 0;
  }
  .profile-toolbar {
    gap: 12px;
    flex-wrap: wrap;
  }
  .segmented button {
    padding: 8px 12px;
  }
  .sample-banner {
    padding: 4px 10px;
    gap: 6px;
  }
  .sample-banner .text-link {
    font-size: 11px;
  }
  .rating-panel {
    padding: 22px 18px 0;
    border-radius: 16px;
  }
  .rating-value {
    font-size: 38px;
    gap: 12px;
  }
  .rating-value span {
    font-size: 12px;
  }
  .rating-best span {
    font-size: 11px;
  }
  .rating-best strong {
    font-size: 17px;
  }
  .rating-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }
  .rating-bottom > span {
    font-size: 11px;
    padding-top: 12px;
  }
  .profile-stat-grid {
    gap: 0;
    margin-top: 24px;
  }
  .profile-stat-grid > div {
    padding: 0 12px;
  }
  .profile-stat-grid strong {
    font-size: 25px;
  }
  .profile-stat-grid span,
  .profile-stat-grid small,
  .profile-stat-grid a {
    font-size: 11px;
  }
  .profile-stat-grid a svg {
    display: none;
  }
  .next-session {
    padding: 18px;
    gap: 12px;
  }
  .next-session > div:nth-child(2) {
    flex: 1;
    min-width: 180px;
  }
  .next-session > .button {
    margin-left: 56px;
  }
  .history-list-head {
    grid-template-columns: 1fr 64px 40px 14px;
    gap: 10px;
    padding: 0 0 12px;
  }
  .history-item {
    grid-template-columns: minmax(0, 1fr) 64px 40px 14px;
    gap: 10px;
    padding: 18px 0;
  }
  .history-game-icon {
    display: none;
  }
  .history-info strong {
    font-size: 13px;
  }
  .history-info strong span {
    display: block;
    margin-top: 2px;
  }
  .history-info small {
    font-size: 11px;
  }
  .history-result {
    font-size: 12px;
  }
  .history-rating {
    font-size: 12px;
  }
  .rank-position {
    padding: 22px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .rank-position strong {
    font-size: 34px;
  }
  .rank-position p {
    font-size: 13px;
  }
  .leaderboard-head,
  .leaderboard-row {
    grid-template-columns: 24px minmax(0, 1fr) 42px 48px;
    gap: 12px;
    padding-left: 8px;
    padding-right: 8px;
  }
  .leaderboard-head {
    font-size: 11px;
  }
  .leaderboard-row {
    font-size: 13px;
  }
  .leader-identity {
    gap: 7px;
  }
  .leader-avatar {
    width: 26px;
    height: 26px;
    font-size: 11px;
  }
  .you-label {
    display: none;
  }
  .connect-page {
    margin-top: 16px;
  }
  .connect-hero h1 {
    font-size: 38px;
  }
  .connect-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .connection-tabs {
    margin-bottom: 22px;
  }
  .connection-alternative {
    margin-top: 16px;
  }
  .connection-alternative > span {
    font-size: 12px;
  }
  .prompt-panel {
    padding: 24px;
    border-radius: 20px;
  }
  .connection-faq {
    margin-top: 48px;
  }
  .connection-faq h2 {
    font-size: 26px;
  }
  .search-results > a > .search-status {
    display: none;
  }
  .site-header .wordmark {
    font-size: 17px;
  }
}
.concept-idea {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.concept-idea h3 {
  font-size: 22px;
  margin-bottom: 12px;
}
.concept-idea p {
  font-size: 15px;
  line-height: 1.75;
}
.role-prompt-note {
  font-size: 12px;
  color: var(--muted);
  margin: -12px 0 22px;
}
@media (max-width: 700px) {
  .history-info strong span {
    display: inline;
    margin-top: 0;
  }
  .history-info strong {
    line-height: 1.6;
  }
}
@media (max-width: 350px) {
  .history-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    border-radius: 16px;
  }
  .history-filters button {
    border-radius: 12px;
  }
}
.activity-media.clean-board {
  aspect-ratio: 1;
  background: var(--subtle,#f7f7f7);
  padding: 20px;
}
.activity-media.clean-board img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none;
}
.chess-capture-stage {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #0d0d0d;
}
.chess-capture-stage > img {
  display: block;
  width: 100%;
  aspect-ratio: 1920/804;
  object-fit: contain;
}
.chess-capture-stage > span {
  position: absolute;
  bottom: 18px;
  left: 22px;
  font-size: 12px;
  color: white;
  background: #0008;
  padding: 8px 12px;
  border-radius: 8px;
}
.chess-capture-thumbs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0 25px;
}
.chess-capture-thumbs button {
  font: inherit;
  text-align: left;
  cursor: pointer;
  border: 1px solid transparent;
  background: var(--surface,white);
  border-radius: 10px;
  padding: 5px;
}
.chess-capture-thumbs button[aria-pressed=true] {
  border-color: var(--ink,#0d0d0d);
}
.chess-capture-thumbs img {
  display: block;
  width: 100%;
  aspect-ratio: 1920/804;
  object-fit: contain;
  border-radius: 7px;
}
.chess-capture-thumbs span {
  display: block;
  font-size: 11px;
  color: var(--muted,#6e6e6e);
  margin: 9px 3px 4px;
}
.feature-visual > img {
  object-fit: cover;
}
.main-nav {
  gap: 24px;
}
@media (max-width: 700px) {
  .chess-capture-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .chess-capture-stage > span {
    bottom: 8px;
    left: 8px;
    font-size: 10px;
    padding: 5px 8px;
  }
}
.activity-media.real-cut {
  aspect-ratio: 1920/804;
  background: #0d0d0d;
}
.activity-media.real-cut img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none;
}
.frontier-chart a:hover .frontier-number,
.frontier-chart a:focus .frontier-number {
  fill: var(--ink,#0d0d0d);
}
.activity-media.clean-board,
.activity-media.real-cut {
  aspect-ratio: 16/10;
}

.project-prompt-fields {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  min-width: 0;
}
.project-prompt-fields input {
  width: 100%;
  min-height: var(--control-height);
  padding: 10px var(--control-padding-x);
  border: 1px solid var(--line);
  border-radius: var(--control-radius);
  background: var(--surface);
  color: var(--ink);
  font-size: var(--control-font-size);
  caret-color: var(--ink);
}
