


body[data-world] {
  --ml-bg: #0b1015;
  --ml-surface: #151d23;
  --ml-panel: #1a252d;
  --ml-text: #ece8dd;
  --ml-muted: #b2bcc1;
  --ml-accent: #d9cfba;
  --ml-line: #52606a;
  --ml-fine-line: rgb(218 225 226 / .17);
  --ml-on-accent: #182025;
  --ml-focus: #f4e9d2;
  --ml-radius: 3px;
  --ml-reading-text: var(--ml-text);
  --ml-reading-muted: var(--ml-muted);
  --ml-reading-panel: var(--ml-panel);
  --ml-sans: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
  --ml-serif: 'Songti SC', 'STSong', 'Noto Serif CJK SC', serif;
  --ml-latin: Georgia, 'Times New Roman', serif;
  --ml-enter: cubic-bezier(.16, 1, .3, 1);
  --ml-quiet: cubic-bezier(.22, .61, .36, 1);
  --ink: var(--ml-text);
  --muted: var(--ml-muted);
  --accent: var(--ml-accent);
  --wash: var(--ml-panel);
  margin: 0;
  min-width: 0;
  min-height: 100svh;
  background: var(--ml-bg);
  color: var(--ml-text);
  color-scheme: dark;
  font-family: var(--ml-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  overflow-x: clip;
  isolation: isolate;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body[data-world] *,
body[data-world] *::before,
body[data-world] *::after { box-sizing: border-box; }
body[data-world]::before {
  content: ''; position: fixed; z-index: -1; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% -15%, rgb(163 174 183 / .08), transparent 56%);
}
body[data-world] #scene,
body[data-world] .veil { display: none; }
body[data-world] main {
  position: relative; z-index: 1; width: min(100%, 1600px);
  max-width: none; min-height: calc(100svh - 176px);
  margin: 0 auto; padding: 24px clamp(20px, 4.5vw, 76px) 64px;
}
body[data-world] h1,
body[data-world] h2,
body[data-world] h3,
body[data-world] h4,
body[data-world] p { overflow-wrap: anywhere; }
body[data-world] h1,
body[data-world] h2,
body[data-world] .quote,
body[data-world] .nameplate h2,
body[data-world] .door-caption :is(h2, .door-name) {
  font-family: var(--ml-serif); font-weight: 400; font-synthesis: none;
}
body[data-world] h1 { margin: 0 0 24px; font-size: clamp(30px, 3.1vw, 44px); line-height: 1.4; letter-spacing: .025em; }
body[data-world] h2 { margin: 0 0 16px; font-size: 28px; line-height: 1.45; }
body[data-world] h3 { margin: 0 0 12px; font: 500 17px/1.65 var(--ml-sans); }
body[data-world] p { margin: 0 0 16px; }
body[data-world] p:last-child { margin-bottom: 0; }
body[data-world] button,
body[data-world] input,
body[data-world] textarea,
body[data-world] select { font-family: var(--ml-sans); font-size: inherit; }
body[data-world] button,
body[data-world] a,
body[data-world] summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
body[data-world] a { color: inherit; text-underline-offset: 5px; text-decoration-thickness: 1px; }
body[data-world] button {
  display: inline-flex; justify-content: center; align-items: center; gap: 10px;
  min-width: 44px; min-height: 48px; max-width: 100%; margin: 0;
  padding: 11px 18px; border: 1px solid var(--ml-line);
  border-radius: var(--ml-radius); background: transparent; color: var(--ml-text);
  font-size: 14px; line-height: 1.55; font-weight: 500; letter-spacing: .035em;
  text-align: center; white-space: normal; overflow-wrap: anywhere;
  cursor: pointer; box-shadow: none;
  transition: color 160ms, background-color 160ms, border-color 160ms, box-shadow 180ms, transform 180ms var(--ml-quiet);
}
body[data-world] button:active:not(:disabled) { transform: translateY(1px); }
body[data-world] button:disabled {
  opacity: 1; cursor: not-allowed; color: var(--ml-muted);
  background: rgb(143 158 171 / .07); border-color: var(--ml-fine-line); box-shadow: none;
}
body[data-world] :is(button, a, textarea, input, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--ml-focus); outline-offset: 4px;
}
body[data-world] .stage-heading:focus { outline: 0; }
body[data-world] .stage-heading { scroll-margin-top: 32px; }
body[data-world] svg.ml-icon,
body[data-world] .world-icon,
body[data-world] button > svg {
  width: 20px; height: 20px; flex: 0 0 auto; fill: none;
  stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
body[data-world] .primary {
  background: var(--ml-accent); border-color: var(--ml-accent); color: var(--ml-on-accent);
  padding-inline: 24px; min-height: 50px;
}
body[data-world] .quiet {
  padding: 10px 4px; border-color: transparent; background: transparent;
  color: var(--ml-muted); font-size: 14px; font-weight: 400;
}
body[data-world] .danger,
body[data-world] .error { color: #efbaa5; }
body[data-world] .sub,
body[data-world] .system-note,
body[data-world] .status,
body[data-world] .field-meta,
body[data-world] .composer-meta {
  color: var(--ml-muted); font-family: var(--ml-sans); font-size: 13px; line-height: 1.75; letter-spacing: .005em;
}
body[data-world] .eyebrow,
body[data-world] .step,
body[data-world] .structure-label {
  display: block; margin: 0 0 14px; color: var(--ml-accent);
  font: 400 12px/1.65 var(--ml-sans); letter-spacing: .17em;
}
body[data-world] .quote { font-size: clamp(26px, 2.7vw, 37px); line-height: 1.7; margin: 0 0 28px; }


body[data-world] .world-header {
  position: relative; z-index: 20; display: flex; justify-content: space-between;
  align-items: center; gap: 24px; min-height: 92px; width: min(100%, 1600px);
  margin: 0 auto; padding: 20px clamp(20px, 4.5vw, 76px); border-bottom: 1px solid var(--ml-fine-line);
}
body[data-world] .world-brand {
  display: inline-flex; align-items: center; gap: 13px; color: var(--ml-text);
  text-decoration: none; white-space: nowrap; font: 400 19px/1.25 var(--ml-latin); letter-spacing: .15em;
}
body[data-world] .world-brand > svg { width: 27px; height: 27px; flex: none; }
body[data-world] .world-brand small {
  display: block; margin-top: 6px; color: var(--ml-muted);
  font: 400 11px/1.5 var(--ml-sans); letter-spacing: .2em;
}
body[data-world] .world-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 20px; }
body[data-world] .world-tools .quiet { gap: 8px; min-height: 44px; padding: 8px 0; font-size: 13px; }
body[data-world] .world-tools button[aria-pressed='true'] { color: var(--ml-text); }
body[data-world] .world-tools .world-mobile-more { display: none; }
body[data-world] .world-header .preview-label { display: none; }
body[data-world] .world-stage-index {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 24px;
  padding: 0 0 22px; margin: 0 0 34px; list-style: none;
  border-bottom: 1px solid var(--ml-fine-line); color: var(--ml-muted);
  font: 400 12px/1.65 var(--ml-sans); letter-spacing: .08em;
}
body[data-world] .world-stage-index > :is(li, span, a, button) {
  display: inline-flex; align-items: center; gap: 9px; padding: 0; min-width: 0;
  min-height: 28px; border: 0; border-radius: 0; background: transparent;
  color: inherit; font: inherit; text-decoration: none;
}
body[data-world] .world-stage-index :is([aria-current='step'], .is-current) { color: var(--ml-text); }
body[data-world] .world-stage-index :is([aria-current='step'], .is-current)::before {
  content: ''; width: 5px; height: 5px; border: 1px solid var(--ml-accent); background: var(--ml-accent); transform: rotate(45deg);
}
body[data-world] .world-stage-index .is-complete { color: var(--ml-accent); }
body[data-world] footer {
  position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: baseline;
  flex-wrap: wrap; gap: 12px 32px; width: min(100%, 1600px); margin: 0 auto;
  padding: 24px clamp(20px, 4.5vw, 76px) 28px; border-top: 1px solid var(--ml-fine-line);
  color: var(--ml-muted); font: 400 12px/1.75 var(--ml-sans); letter-spacing: .02em;
}


body[data-world='hall'] { --ml-bg: #0d1217; --ml-accent: #ddd3be; }
body[data-world='hall'] main { padding-top: 38px; }
body[data-world] .world-hall { width: 100%; }
body[data-world] .hall-intro {
  display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(240px, .65fr); column-gap: 48px;
  align-items: end; margin: 0 0 40px; max-width: none;
}
body[data-world] .hall-intro .eyebrow { grid-column: 1 / -1; margin-bottom: 16px; }
body[data-world] .hall-intro h1 { margin: 0; max-width: 13em; font-size: clamp(40px, 4.6vw, 68px); line-height: 1.28; letter-spacing: .03em; }
body[data-world] .hall-intro > p { margin: 0 0 5px; max-width: 25em; color: var(--ml-muted); font-size: 14px; line-height: 1.9; }
body[data-world] .world-doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.3vw, 36px); align-items: start; }
body[data-world] .world-door {
  position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-start;
  align-items: stretch; width: 100%; min-height: 0; height: auto; padding: 0; overflow: visible;
  border: 0; border-radius: 0; box-shadow: none; background: transparent; color: var(--ml-text);
  font-weight: 400; text-decoration: none; text-align: left; transform: none;
}
body[data-world] .world-door::after { content: none; }
body[data-world] .door-art {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 4.7; height: auto; overflow: hidden;
  border: 1px solid rgb(240 230 210 / .22); border-radius: 0;
  object-fit: cover; object-position: center 32%; background: #172027;
  transition: filter 340ms var(--ml-quiet), transform 560ms var(--ml-enter);
}
body[data-world] .door-art > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 32%; transition: transform 650ms var(--ml-enter); }
body[data-world] .door-caption {
  position: relative; display: block; min-height: 174px; padding: 25px 25px 23px; margin: 0;
  background: #1a252c; color: #ede9df; border-top: 1px solid rgb(219 228 230 / .12);
}
body[data-world] .door-caption .eyebrow { margin: 0 0 10px; color: inherit; opacity: .8; font-size: 11px; letter-spacing: .15em; }
body[data-world] .door-caption :is(h2, .door-name) { margin: 0 0 10px; color: inherit; font-size: 30px; line-height: 1.35; letter-spacing: .06em; }
body[data-world] .door-caption :is(.note, p) { display: block; max-width: calc(100% - 12px); margin: 0; color: inherit; font-size: 13px; font-weight: 400; line-height: 1.8; letter-spacing: 0; }
body[data-world] .door-caption .enter {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding-top: 21px; margin-top: 20px; border-top: 1px solid currentColor;
  color: inherit; font-size: 13px; line-height: 1.5; letter-spacing: .08em;
}
body[data-world] .door-caption .enter svg { transition: transform 180ms var(--ml-quiet); }
body[data-world] .door-deck {
  position: absolute; z-index: 3; right: 22px; top: -57px; display: block; width: 55px; height: 94px;
  margin: 0; object-fit: contain; transform: rotate(5deg); filter: drop-shadow(0 8px 12px #0008);
  pointer-events: none;
}
body[data-world] .door-deck img { display: block; width: 100%; height: 100%; object-fit: contain; }
body[data-world] .world-door[data-persona='ruan'] .door-art { border: 1px solid #b1aa98; outline: 1px solid #b1aa9866; outline-offset: -7px; }
body[data-world] .world-door[data-persona='ruan'] .door-caption { background: #e5dccb; color: #2a2b25; }
body[data-world] .world-door[data-persona='ruan'] .door-deck { transform: none; }
body[data-world] .world-door[data-persona='samira'] { padding-top: 25px; }
body[data-world] .world-door[data-persona='samira'] .door-art { aspect-ratio: 4 / 4.44; border-radius: 48% 48% 0 0 / 29% 29% 0 0; border-color: #596582; }
body[data-world] .world-door[data-persona='samira'] .door-caption { background: #121e33; color: #e3e8f2; border-top-color: #bca879; }
body[data-world] .world-door[data-persona='samira'] .door-deck { transform: rotate(-4deg); }
body[data-world] .world-door[data-persona='bai'] .door-art { object-position: 39% 38%; border-color: #51636e; }
body[data-world] .world-door[data-persona='bai'] .door-art img { object-position: 39% 38%; }
body[data-world] .world-door[data-persona='bai'] .door-caption { background: #1c2b34; color: #e9e5db; }
body[data-world] .world-door[data-persona='bai'] .door-caption .eyebrow { color: #cfad7d; }


body[data-world] .chamber {
  display: grid; grid-template-columns: minmax(260px, .78fr) minmax(0, 1.12fr);
  align-items: start; gap: clamp(32px, 5vw, 80px); width: 100%;
}
body[data-world] .chamber > .portrait {
  position: sticky; top: 26px; min-width: 0; width: 100%; height: min(690px, 76svh);
  overflow: hidden; margin: 0; padding: 0; background: var(--ml-surface);
  border: 1px solid var(--ml-fine-line); border-radius: 0; mask-image: none; -webkit-mask-image: none;
}
body[data-world] .portrait > img {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 29%; transform: none;
  mask-image: none; -webkit-mask-image: none; filter: none;
}
body[data-world] .portrait::after {
  content: ''; position: absolute; z-index: 0; inset: 55% 0 0; pointer-events: none;
  background: linear-gradient(transparent, rgb(5 10 15 / .9));
}
body[data-world] .nameplate {
  position: absolute; z-index: 1; inset: auto 28px 30px; margin: 0; padding: 0;
  transform: none; min-height: 0; color: var(--ml-text); text-shadow: none;
}
body[data-world] .nameplate .eyebrow { color: var(--ml-text); font-size: 11px; margin-bottom: 10px; letter-spacing: .2em; }
body[data-world] .nameplate h2 { margin: 0; font-size: clamp(30px, 3.2vw, 44px); letter-spacing: .08em; line-height: 1.3; }
body[data-world] .chamber > .panel { order: initial; max-width: none; width: 100%; min-width: 0; padding: 0; }
body[data-world] .dialogue-flow { width: 100%; min-width: 0; }
body[data-world] .dialogue-flow > .stage-heading { margin-bottom: 26px; max-width: 18em; }
body[data-world] .thread-context {
  margin: 0 0 24px; padding: 0 0 13px; border-top: 0; border-bottom: 1px solid var(--ml-fine-line);
}
body[data-world] .thread-context summary { color: var(--ml-muted); padding-block: 4px; min-height: 40px; }
body[data-world] .question-folio {
  min-width: 0; padding: clamp(22px, 2.7vw, 40px); margin: 26px 0 0;
  border: 1px solid var(--ml-fine-line); border-radius: var(--ml-radius);
  background: var(--ml-panel); color: var(--ml-text);
}
body[data-world] .question-folio > :first-child { margin-top: 0; }
body[data-world] .question-folio > :last-child { margin-bottom: 0; }
body[data-world] .response { min-width: 0; margin: 0; }
body[data-world] .bubble {
  position: relative; min-width: 0; max-width: 38em; padding: 28px 30px; margin: 20px 0;
  border: 1px solid var(--ml-fine-line); border-left-width: 1px;
  border-radius: var(--ml-radius); background: var(--ml-reading-panel); color: var(--ml-reading-text);
  font: 400 17px/1.95 var(--ml-sans); letter-spacing: .005em;
  white-space: pre-wrap; overflow-wrap: anywhere; box-shadow: none;
}
body[data-world] .speaker {
  display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
  font: 400 12px/1.6 var(--ml-sans); letter-spacing: .15em; color: var(--ml-reading-muted);
}
body[data-world] .speaker::before { content: ''; display: block; flex: none; width: 20px; height: 1px; background: currentColor; }
body[data-world] .bubble.secondary {
  padding-top: 20px; padding-bottom: 20px; margin-top: -1px; border-color: var(--ml-fine-line);
  background: var(--ml-reading-panel); font-size: 16px;
}
body[data-world] .bubble.secondary .speaker { margin-bottom: 12px; }
body[data-world] .bubble.user {
  margin: 0 0 25px auto; padding: 16px 20px; max-width: 90%;
  border: 0; border-left: 1px solid var(--ml-line); border-radius: 0;
  background: rgb(183 201 213 / .05); color: var(--ml-text); font-size: 15px; line-height: 1.85;
}
body[data-world] .bubble.user .speaker { margin-bottom: 8px; color: var(--ml-muted); }
body[data-world] .bubble.user .speaker::before { content: none; }


body[data-world] .field {
  display: block; width: 100%; min-height: 136px; resize: vertical; margin: 0;
  padding: 18px 20px; border: 1px solid var(--ml-line); border-radius: var(--ml-radius);
  background: rgb(4 11 18 / .3); color: var(--ml-text); box-shadow: none;
  font: 400 16px/1.85 var(--ml-sans); letter-spacing: .005em;
  transition: border-color 160ms, background-color 160ms;
}
body[data-world] .field::placeholder { color: var(--ml-muted); opacity: 1; }
body[data-world] .field:focus { border-color: var(--ml-accent); background: rgb(4 11 18 / .5); }
body[data-world] .field:disabled { opacity: 1; color: var(--ml-muted); cursor: not-allowed; background: rgb(143 158 171 / .05); }
body[data-world] .field.followup { min-height: 110px; }
body[data-world] .field.journal { min-height: 270px; padding: 24px; }
body[data-world] label:has(+ .field) { display: block; margin-bottom: 9px; }
body[data-world] .field-meta,
body[data-world] .composer-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; margin: 12px 0 18px; }
body[data-world] .field-meta > *,
body[data-world] .composer-meta > * { min-width: 0; margin: 0; font-size: inherit; }
body[data-world] .chips {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0; margin: 0 0 26px;
  border-bottom: 1px solid var(--ml-line);
}
body[data-world] .chips button {
  position: relative; min-height: 48px; padding: 10px 20px; border: 0; border-radius: 0;
  background: transparent; color: var(--ml-muted); font-size: 14px; letter-spacing: .08em;
}
body[data-world] .chips button[aria-pressed='true'] { color: var(--ml-text); background: transparent; }
body[data-world] .chips button[aria-pressed='true']::after { content: ''; position: absolute; inset: auto 18px -1px; height: 2px; background: var(--ml-accent); }
body[data-world] .prompts { display: grid; gap: 0; margin: 10px 0 25px; }
body[data-world] .prompts button {
  justify-content: flex-start; min-height: 52px; padding: 14px 2px; border: 0;
  border-bottom: 1px solid var(--ml-fine-line); border-radius: 0; background: transparent;
  color: var(--ml-text); font-size: 14px; font-weight: 400; line-height: 1.85; text-align: left; letter-spacing: 0;
}
body[data-world] .prompts button::before { content: none; }
body[data-world] .prompts button > svg { width: 17px; height: 17px; margin-right: 3px; color: var(--ml-accent); }
body[data-world] .actions,
body[data-world] .controls { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; margin: 25px 0 0; }
body[data-world] .actions > *,
body[data-world] .controls > * { flex-grow: 0; }
body[data-world] .recommend,
body[data-world] .spread-structure {
  position: relative; min-width: 0; padding: 28px 0; margin: 28px 0;
  border: 0; border-block: 1px solid var(--ml-line); border-radius: 0; background: transparent;
}
body[data-world] .spread-candidate { margin: 28px 0; padding: 0; border: 0; background: transparent; }
body[data-world] .spread-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 20px; margin-bottom: 16px; }
body[data-world] .spread-title h3,
body[data-world] .spread-structure h3 { margin: 0; font: 400 27px/1.5 var(--ml-serif); }
body[data-world] .spread-count { color: var(--ml-muted); font: 400 13px/1.7 var(--ml-sans); }
body[data-world] .spread-purpose,
body[data-world] .spread-reason { font: 400 15px/1.9 var(--ml-sans); }
body[data-world] .spread-purpose { color: var(--ml-text); margin: 0 0 18px; }
body[data-world] .spread-reason { margin: 24px 0 0; padding-top: 18px; border-top: 1px solid var(--ml-fine-line); color: var(--ml-muted); }
body[data-world] .spread-reason > span { display: block; font-size: 12px; letter-spacing: .08em; margin-bottom: 8px; }
body[data-world] .spread-reason p { margin: 0; }
body[data-world] .position-preview { display: grid; gap: 9px; padding: 18px 0 0 22px; margin: 0; border-top: 1px solid var(--ml-fine-line); font-size: 15px; line-height: 1.8; }
body[data-world] .position-preview li { padding-left: 8px; }
body[data-world] .position-preview li::marker { color: var(--ml-accent); font: 400 12px var(--ml-sans); }
body[data-world] .spread-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }
body[data-world] .spread-option { display: block; min-height: 100px; padding: 18px; background: var(--ml-surface); text-align: left; }
body[data-world] .spread-option span { display: block; margin-top: 7px; color: var(--ml-muted); font-size: 13px; font-weight: 400; line-height: 1.8; }
body[data-world] .spread-option[aria-pressed='true'] { background: var(--ml-panel); border-color: var(--ml-accent); box-shadow: inset 3px 0 0 var(--ml-accent); }
body[data-world] .choice-options { min-width: 0; padding: 22px 0 0; margin: 22px 0; border: 0; border-top: 1px solid var(--ml-fine-line); }
body[data-world] .choice-options legend { padding: 0 14px 0 0; color: var(--ml-text); font-size: 14px; }
body[data-world] .choice-options label { display: block; margin: 16px 0; color: var(--ml-muted); font-size: 13px; }
body[data-world] .option-field { min-height: 48px; margin-top: 8px; padding: 11px 14px; }
body[data-world] .choice-summary { color: var(--ml-muted); font-size: 13px; }


body[data-world] .deck { position: relative; width: 146px; height: 250px; margin: 44px auto 48px; perspective: 1200px; }
body[data-world] .deck img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  border: 0; border-radius: 4px; background: transparent;
  transform: translateX(calc(var(--deck-i, 0) * 1px)) rotate(var(--rot, 0deg));
  transform-origin: center 82%; filter: drop-shadow(0 12px 16px #0007); box-shadow: none;
}
body[data-world] .deck.shuffling img:nth-child(odd) { animation: ml-shuffle-left 760ms var(--ml-quiet) 2 alternate; }
body[data-world] .deck.shuffling img:nth-child(even) { animation: ml-shuffle-right 760ms var(--ml-quiet) 2 alternate; }
body[data-world] .draw-pool { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; width: min(100%, 660px); max-width: none; margin: 32px auto; perspective: 1200px; }
body[data-world] .pool-card {
  display: block; width: 100%; min-width: 0; min-height: 0; padding: 0; aspect-ratio: 7 / 12;
  border: 0; border-radius: 4px; background: transparent; overflow: visible;
  box-shadow: 0 8px 18px #0005; transform-origin: center 85%;
}
body[data-world] .pool-card img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: inherit; }
body[data-world] .pool-card:disabled { opacity: .16; background: transparent; box-shadow: none; border: 1px dashed var(--ml-line); }
body[data-world] .pool-pages { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 20px; margin: 24px 0; color: var(--ml-muted); font-size: 13px; }
body[data-world] .table-scroll { max-width: 100%; min-width: 0; margin: 0; padding: 12px 8px 18px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--ml-line) transparent; }
body[data-world] .cards {
  display: flex; justify-content: center; align-items: flex-start; gap: clamp(14px, 2vw, 28px);
  min-width: 0; margin: 0; padding: 24px 12px 16px; perspective: 1300px;
}
body[data-world] .cards[data-fixed-table='true'] {
  border: 0; border-block: 1px solid var(--ml-fine-line); background: transparent;
  padding: 32px 16px 22px;
}
body[data-world] .card-slot { position: relative; flex: 1 1 0; min-width: 0; max-width: 160px; text-align: center; }
body[data-world] .card {
  position: relative; display: block; min-width: 0; min-height: 0; width: 100%; padding: 0;
  aspect-ratio: 7 / 12; border: 0; border-radius: 3px; background: #101820;
  box-shadow: 0 12px 22px #0006, 0 0 0 1px rgb(230 221 200 / .18); overflow: hidden;
  transform-style: preserve-3d; transition: box-shadow 180ms, transform 240ms var(--ml-quiet);
}
body[data-world] .card img { display: block; width: 100%; height: 100%; object-fit: contain; }
body[data-world] .cards[data-fixed-table='true'] .card { border: 0; box-shadow: 0 12px 22px #0006, 0 0 0 1px rgb(230 221 200 / .18); }
body[data-world] .card.selected,
body[data-world] .cards[data-fixed-table='true'] .card-slot[data-next='true'] .card {
  outline: 1px solid var(--ml-accent); outline-offset: 5px;
  box-shadow: 0 14px 26px #0008;
}
body[data-world] .card.selected::after { content: ''; position: absolute; inset: 0; border: 1px solid var(--ml-accent); pointer-events: none; }
body[data-world] .card:disabled { opacity: 1; background: #101820; color: inherit; }
body[data-world] .card-caption { display: block; margin-top: 17px; color: var(--ml-muted); font-size: 12px; line-height: 1.8; letter-spacing: .015em; overflow-wrap: anywhere; }
body[data-world] .card-slot:has(.selected) .card-caption { color: var(--ml-text); }
body[data-world] .card-placeholder { aspect-ratio: 7 / 12; border: 1px dashed var(--ml-line); border-radius: 3px; background: rgb(191 205 217 / .015); }
body[data-world] .cards[data-count='4']:not([data-fixed-table='true']) { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
body[data-world] .cards:is([data-count='5'], [data-count='10']):not([data-fixed-table='true']) { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); row-gap: 26px; }

body[data-world] .cards[data-fixed-table='true'][data-spread='choice'][data-count='5'] {
  display: grid; grid-template-columns: repeat(3, minmax(86px, 1fr)); grid-template-rows: repeat(3, auto);
  min-width: 320px; gap: 22px 18px;
}
body[data-world] .cards[data-fixed-table='true'][data-spread='choice'] .card-slot[data-position='0'] { grid-area: 1 / 2; }
body[data-world] .cards[data-fixed-table='true'][data-spread='choice'] .card-slot[data-position='1'] { grid-area: 2 / 1; }
body[data-world] .cards[data-fixed-table='true'][data-spread='choice'] .card-slot[data-position='2'] { grid-area: 3 / 1; }
body[data-world] .cards[data-fixed-table='true'][data-spread='choice'] .card-slot[data-position='3'] { grid-area: 2 / 3; }
body[data-world] .cards[data-fixed-table='true'][data-spread='choice'] .card-slot[data-position='4'] { grid-area: 3 / 3; }
body[data-world] .cards[data-fixed-table='true'][data-spread='celtic'][data-count='10'] {
  display: grid; grid-template-columns: repeat(6, minmax(72px, 1fr)); grid-template-rows: repeat(4, auto);
  min-width: 570px; gap: 18px 14px; align-items: start;
}
body[data-world] .cards[data-fixed-table='true'][data-spread='celtic'] .card-slot { max-width: 104px; width: 100%; justify-self: center; }
body[data-world] .cards[data-fixed-table='true'][data-spread='celtic'] .card-slot[data-position='0'] { grid-area: 2 / 2; }
body[data-world] .cards[data-fixed-table='true'][data-spread='celtic'] .card-slot[data-position='1'] { grid-area: 2 / 3; }
body[data-world] .cards[data-fixed-table='true'][data-spread='celtic'] .card-slot[data-position='2'] { grid-area: 3 / 2; }
body[data-world] .cards[data-fixed-table='true'][data-spread='celtic'] .card-slot[data-position='3'] { grid-area: 2 / 1; }
body[data-world] .cards[data-fixed-table='true'][data-spread='celtic'] .card-slot[data-position='4'] { grid-area: 1 / 2; }
body[data-world] .cards[data-fixed-table='true'][data-spread='celtic'] .card-slot[data-position='5'] { grid-area: 2 / 4; }
body[data-world] .cards[data-fixed-table='true'][data-spread='celtic'] .card-slot[data-position='6'] { grid-area: 4 / 6; }
body[data-world] .cards[data-fixed-table='true'][data-spread='celtic'] .card-slot[data-position='7'] { grid-area: 3 / 6; }
body[data-world] .cards[data-fixed-table='true'][data-spread='celtic'] .card-slot[data-position='8'] { grid-area: 2 / 6; }
body[data-world] .cards[data-fixed-table='true'][data-spread='celtic'] .card-slot[data-position='9'] { grid-area: 1 / 6; }
body[data-world] .cards[data-fixed-table='true'] .card-slot { justify-self: center; width: 100%; }
body[data-world] .card.turning,
body[data-world] .cards[data-fixed-table='true'] .card.turning { animation: ml-card-reveal 420ms var(--ml-enter) both; animation-delay: calc(var(--reveal-order, 0) * 35ms); }
body[data-world] .card.landed,
body[data-world] .cards[data-fixed-table='true'] .card.landed { animation: ml-card-land 320ms var(--ml-enter) both; }
body[data-world] .reading-paths { margin: 25px 0 0; padding: 23px 0 0; border-top: 1px solid var(--ml-fine-line); }
body[data-world] .reading-paths .primary { width: auto; min-width: min(100%, 248px); background: var(--ml-accent); box-shadow: none; }
body[data-world] .reading-paths p { margin-top: 12px; max-width: 44em; }


body[data-world] .world-reading-stage { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; min-width: 0; align-items: start; }
body[data-world] .world-tableau,
body[data-world] .world-reading-folio { min-width: 0; }
body[data-world] .world-reading-folio { width: 100%; max-width: 740px; }
body[data-world] .world-reading-folio .bubble:first-child { margin-top: 0; }
body[data-world] .world-reading-folio .bubble { max-width: none; }
body[data-world] .world-card-meta,
body[data-world] .evidence-label { margin: 0 0 20px; padding: 0 0 14px; border-bottom: 1px solid var(--ml-fine-line); color: var(--ml-muted); font-size: 12px; line-height: 1.8; letter-spacing: .06em; }
body[data-world] details { min-width: 0; margin: 24px 0; padding-top: 0; border-top: 1px solid var(--ml-fine-line); }
body[data-world] summary {
  position: relative; min-height: 48px; padding: 13px 0; color: var(--ml-muted);
  font-size: 13px; line-height: 1.7; cursor: pointer; list-style-position: inside;
}
body[data-world] details[open] > summary { color: var(--ml-text); margin-bottom: 12px; }
body[data-world] details p,
body[data-world] .detail-copy { color: var(--ml-muted); font-size: 15px; line-height: 1.9; white-space: pre-wrap; }
body[data-world] .composer {
  margin: 36px 0 0; padding: 27px 0 0; border-top: 1px solid var(--ml-line);
  background: transparent;
}
body[data-world] .composer h3 { margin: 0 0 14px; font: 400 22px/1.5 var(--ml-serif); }
body[data-world] .composer-intro { margin: 0 0 16px; color: var(--ml-text); font-size: 15px; font-weight: 400; line-height: 1.85; }
body[data-world] .composer .actions { margin-top: 18px; }
body[data-world] .persona-nudge { margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
body[data-world] .persona-nudge > span { max-width: 34em; color: var(--ml-muted); font-size: 12px; line-height: 1.7; }
body[data-world] .persona-nudge > button { font-size: 13px; min-height: 44px; }
body[data-world] .status-box,
body[data-world] .resume-box{
  min-width: 0; margin: 24px 0; padding: 18px 20px;
  border: 1px solid var(--ml-line); border-radius: var(--ml-radius);
  background: var(--ml-surface); color: var(--ml-muted); font-size: 13px; line-height: 1.8;
}
body[data-world] .status-box p { margin: 0 0 9px; }
body[data-world] .status-box p:last-child { margin-bottom: 0; }
body[data-world] .status-box .actions { margin-top: 15px; gap: 10px 16px; }
body[data-world] .status-box:is(.error, [data-state='failed']) { border-color: #a77760; color: #efc7b4; background: #271e1a; }
body[data-world] .status-box[aria-busy='true'] { border-color: var(--ml-accent); }
body[data-world] .world-loading-line { position: relative; width: 100%; height: 2px; margin: 14px 0; overflow: hidden; background: var(--ml-fine-line); }
body[data-world] .world-loading-line::after { content: ''; position: absolute; inset: 0 auto 0 0; width: 24%; background: var(--ml-accent); animation: ml-pending 1600ms ease-in-out infinite; }
body[data-world] .resume-box { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding: 16px 0; border: 0; border-block: 1px solid var(--ml-fine-line); background: transparent; }
body[data-world] .resume-box p { margin: 0; }
body[data-world] .status { min-height: 24px; margin: 18px 0 0; }
body[data-world] .saved { color: var(--ml-accent); }
body[data-world] .journal-invitation { max-width: 32em; white-space: pre-wrap; }
body[data-world] .world-secondary-tools { margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--ml-fine-line); }
body[data-world] .world-secondary-tools details { margin: 0; border-top: 0; }
body[data-world] .world-secondary-tools summary { color: var(--ml-muted); font-size: 12px; }
body[data-world] .transcript-entry { margin-top: 16px; padding: 18px 0; border-top: 1px solid var(--ml-fine-line); font-size: 15px; line-height: 1.9; }
body[data-world] .transcript-entry strong { display: block; margin-bottom: 10px; color: var(--ml-accent); font: 400 12px/1.6 var(--ml-sans); letter-spacing: .1em; }


body[data-world='ruan'] {
  --ml-bg: #171816; --ml-surface: #21231f; --ml-panel: #292b25;
  --ml-text: #f2ecdf; --ml-muted: #c0bcaf; --ml-accent: #e5dcc8;
  --ml-line: #8b8878; --ml-fine-line: rgb(222 215 193 / .22);
  --ml-on-accent: #242520; --ml-focus: #fff9e9; --ml-radius: 2px;
  --ml-reading-panel: #eae2d2; --ml-reading-text: #242520; --ml-reading-muted: #626154;
  font-family: var(--ml-sans); background-color: var(--ml-bg); color: var(--ml-text);
}
body[data-world='ruan']::before { background: linear-gradient(90deg, transparent 49.94%, rgb(220 212 191 / .04) 50%, transparent 50.06%); }
body[data-world='ruan'] .chamber { grid-template-columns: minmax(0, 1.13fr) minmax(270px, .87fr); }
body[data-world='ruan'] .chamber > .portrait { order: 2; outline: 1px solid #c6bda266; outline-offset: -9px; border-color: #9f9882; }
body[data-world='ruan'] .chamber > .panel { order: 1; }
body[data-world='ruan'] .portrait > img { object-position: 50% 29%; }
body[data-world='ruan'] .nameplate { border-left: 1px solid #e9e0cd; padding-left: 20px; }
body[data-world='ruan'] .bubble { border: 1px solid #c7bfac; border-radius: 2px; box-shadow: 0 10px 28px #0002; }
body[data-world='ruan'] .bubble::before { content: ''; position: absolute; inset: 7px; border: 1px solid #99937d40; pointer-events: none; }
body[data-world='ruan'] .bubble.user { color: var(--ml-text); border: 0; border-left: 1px solid var(--ml-line); border-radius: 0; background: rgb(234 226 210 / .035); box-shadow: none; }
body[data-world='ruan'] .bubble.user::before { content: none; }
body[data-world='ruan'] .bubble.secondary { border-color: #c7bfac; }
body[data-world='ruan'] .question-folio {
  --ml-text: #242520; --ml-muted: #626154; --ml-accent: #292b25; --ml-line: #8e8b78;
  --ml-fine-line: rgb(62 64 48 / .2); --ml-on-accent: #f4ecdb; --ml-focus: #242520;
  color: #242520; background: #eae2d2; border-color: #c7bfac; box-shadow: 0 18px 42px #0003;
}
body[data-world='ruan'] .question-folio .bubble { padding: 0 0 22px; margin: 0 0 24px; border: 0; border-bottom: 1px solid #827e683b; background: transparent; box-shadow: none; }
body[data-world='ruan'] .question-folio .bubble::before { content: none; }
body[data-world='ruan'] .question-folio .field { background: #f1eadc; color: #242520; }
body[data-world='ruan'] .question-folio .field:focus { background: #f8f1e3; border-color: #242520; }
body[data-world='ruan'] .question-folio .prompts button { background: transparent; }
body[data-world='ruan'] .primary { border-radius: 2px; box-shadow: inset 0 0 0 3px rgb(36 37 32 / .08); }
body[data-world='ruan'] .cards[data-fixed-table='true'] { border-top: 3px double #cfc5ac55; border-bottom: 3px double #cfc5ac55; }
body[data-world='ruan'] .card.turning,
body[data-world='ruan'] .cards[data-fixed-table='true'] .card.turning { animation-duration: 380ms; }
body[data-world='ruan'] .world-reading-folio { justify-self: center; width: 100%; }


body[data-world='samira'] {
  --ml-bg: #080f1e; --ml-surface: #0d1930; --ml-panel: #111e35;
  --ml-text: #ebeef5; --ml-muted: #adb9d0; --ml-accent: #d5bc83;
  --ml-line: #536582; --ml-fine-line: rgb(146 170 208 / .22);
  --ml-on-accent: #111c2e; --ml-focus: #b9d7ff; --ml-radius: 0;
  --ml-reading-panel: #111e35; --ml-reading-text: #ebeef5; --ml-reading-muted: #b9c5da;
  font-family: var(--ml-sans); background-color: var(--ml-bg); color: var(--ml-text);
}
body[data-world='samira']::before { background: radial-gradient(ellipse at 27% 20%, rgb(72 102 161 / .14), transparent 55%); }
body[data-world='samira'] .chamber { grid-template-columns: minmax(250px, .76fr) minmax(0, 1.17fr); gap: clamp(38px, 6vw, 96px); }
body[data-world='samira'] .chamber > .portrait { height: min(660px, 74svh); border-radius: 48% 48% 2px 2px / 28% 28% 2px 2px; border-color: #6e7d985e; }
body[data-world='samira'] .portrait > img { object-position: 50% 32%; }
body[data-world='samira'] .nameplate { inset: auto 25px 29px; text-align: center; }
body[data-world='samira'] .nameplate h2 { font-size: clamp(29px, 2.8vw, 38px); letter-spacing: .17em; }
body[data-world='samira'] .nameplate .eyebrow { color: #c6cfe0; letter-spacing: .2em; }
body[data-world='samira'] .dialogue-flow > .stage-heading { font-size: clamp(28px, 2.8vw, 38px); letter-spacing: .08em; }
body[data-world='samira'] .bubble { border: 1px solid #51617d44; border-radius: 0; padding: 31px 33px; line-height: 1.95; }
body[data-world='samira'] .bubble::before,
body[data-world='samira'] .bubble::after { content: ''; position: absolute; width: 13px; height: 13px; border-color: #9aacc9; pointer-events: none; }
body[data-world='samira'] .bubble::before { inset: -1px auto auto -1px; border-left: 1px solid; border-top: 1px solid; }
body[data-world='samira'] .bubble::after { inset: auto -1px -1px auto; border-right: 1px solid; border-bottom: 1px solid; }
body[data-world='samira'] .bubble.user { padding: 15px 19px; border: 0; border-left: 1px solid #677c9f; background: #152540; }
body[data-world='samira'] .bubble.user::before,
body[data-world='samira'] .bubble.user::after { content: none; }
body[data-world='samira'] .speaker { color: #c5d2e9; font-size: 11px; letter-spacing: .18em; }
body[data-world='samira'] .question-folio { background: #0e1a2e; border: 1px solid #52637c55; }
body[data-world='samira'] .question-folio > .bubble { margin: 0 0 24px; padding: 0; border: 0; background: transparent; }
body[data-world='samira'] .question-folio > .bubble::before,
body[data-world='samira'] .question-folio > .bubble::after { content: none; }
body[data-world='samira'] .primary { position: relative; overflow: hidden; background: #c5d2e7; border-color: #c5d2e7; color: #142137; }
body[data-world='samira'] .primary::after { content: ''; position: absolute; inset: auto 0 0; height: 2px; background: #f5e7ba; transform: scaleX(0); transform-origin: left; transition: transform 220ms var(--ml-quiet); }
body[data-world='samira'] .reading-paths .primary { background: #c5d2e7; }
body[data-world='samira'] .card.selected { outline-color: #c3d8fd; }
body[data-world='samira'] .table-scroll { background: radial-gradient(ellipse at 50% 48%, rgb(91 119 174 / .08), transparent 65%); }
body[data-world='samira'] .world-card-meta,
body[data-world='samira'] .evidence-label { color: #b8c6df; letter-spacing: .08em; }


body[data-world='bai'] {
  --ml-bg: #10191f; --ml-surface: #16242d; --ml-panel: #1c2a32;
  --ml-text: #ece8dd; --ml-muted: #b1bbc0; --ml-accent: #c6a576;
  --ml-line: #657882; --ml-fine-line: rgb(155 178 192 / .22);
  --ml-on-accent: #1e2426; --ml-focus: #e8cfa9; --ml-radius: 10px;
  --ml-reading-panel: #1c2a32; --ml-reading-text: #ece8dd; --ml-reading-muted: #c5bca9;
  font-family: var(--ml-sans); background-color: var(--ml-bg); color: var(--ml-text);
}
body[data-world='bai'] #scene { display: block; opacity: .11; filter: saturate(.65); }
body[data-world='bai']::before { background: linear-gradient(90deg, #10191fb8, #10191fe6); }
body[data-world='bai'] .chamber { display: block; }
body[data-world='bai'] .chamber > .portrait {
  position: relative; top: auto; height: clamp(310px, 32vw, 460px); width: 100%;
  margin: 0 0 0; border: 1px solid #72828a55; border-radius: 0; overflow: hidden;
}
body[data-world='bai'] .portrait > img { object-position: 35% 42%; }
body[data-world='bai'] .portrait::after { inset: 0; background: linear-gradient(90deg, transparent 17%, #10191f08 38%, #10191fbc 65%, #10191fee 100%); }
body[data-world='bai'] .nameplate { inset: auto 6.5% 25% auto; width: 35%; }
body[data-world='bai'] .nameplate h2 { font-size: clamp(36px, 4.3vw, 58px); letter-spacing: .04em; }
body[data-world='bai'] .nameplate .eyebrow { color: #d6bd98; }
body[data-world='bai'] .chamber > .panel { position: relative; z-index: 2; width: min(860px, 82%); margin: -38px 0 0 5%; padding: 36px 42px 0; background: var(--ml-bg); border-top: 2px solid #a388654d; }
body[data-world='bai'] .dialogue-flow > .stage-heading { font-size: clamp(30px, 3.5vw, 44px); line-height: 1.5; letter-spacing: .025em; }
body[data-world='bai'] .bubble { border: 1px solid #60717b44; border-radius: 0 12px 12px 12px; padding: 30px 32px; line-height: 2; }
body[data-world='bai'] .bubble::before { content: ''; position: absolute; right: 25px; top: 0; width: 64px; height: 1px; background: #c6a576; }
body[data-world='bai'] .bubble.user { border: 0; border-left: 1px solid #64747b; border-radius: 0; padding: 16px 20px; background: rgb(151 177 193 / .07); }
body[data-world='bai'] .bubble.user::before { content: none; }
body[data-world='bai'] .speaker { color: #d3bd9a; letter-spacing: .1em; }
body[data-world='bai'] .question-folio { border-radius: 0 12px 12px; border-color: #697d873f; padding: 29px 31px; }
body[data-world='bai'] .question-folio > .bubble { margin: 0 0 25px; padding: 0 0 23px; border: 0; border-bottom: 1px solid #b3c2c72e; border-radius: 0; background: transparent; }
body[data-world='bai'] .question-folio > .bubble::before { content: none; }
body[data-world='bai'] .primary { border-radius: 10px; }
body[data-world='bai'] .pool-card:nth-child(4n + 1):not(:disabled) { transform: rotate(-1.5deg); }
body[data-world='bai'] .pool-card:nth-child(4n + 3):not(:disabled) { transform: rotate(1.5deg); }
body[data-world='bai'] .card.landed,
body[data-world='bai'] .cards[data-fixed-table='true'] .card.landed { animation: ml-bai-land 420ms var(--ml-enter) both; }


@media (min-width: 1100px) {
  body[data-world='ruan']:is([data-stage='draw'], [data-stage='read'], [data-stage='summary']) .chamber {
    grid-template-columns: minmax(0, 1fr) 196px; gap: 42px;
  }
  body[data-world='ruan']:is([data-stage='draw'], [data-stage='read'], [data-stage='summary']) .chamber > .portrait { height: 292px; top: 26px; }
  body[data-world='ruan']:is([data-stage='draw'], [data-stage='read'], [data-stage='summary']) .nameplate { inset: auto 17px 20px; padding-left: 13px; }
  body[data-world='ruan']:is([data-stage='draw'], [data-stage='read'], [data-stage='summary']) .nameplate h2 { font-size: 24px; letter-spacing: .025em; }
  body[data-world='ruan']:is([data-stage='draw'], [data-stage='read'], [data-stage='summary']) .nameplate .eyebrow { font-size: 10px; letter-spacing: .06em; }
  body[data-world='ruan'] .world-reading-stage { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  body[data-world='ruan'] .world-reading-folio { max-width: 740px; }
  body[data-world='samira']:is([data-stage='draw'], [data-stage='read'], [data-stage='summary']) .chamber {
    grid-template-columns: 144px minmax(0, 1fr); gap: 36px;
  }
  body[data-world='samira']:is([data-stage='draw'], [data-stage='read'], [data-stage='summary']) .chamber > .portrait { height: 244px; border-radius: 70px 70px 0 0; }
  body[data-world='samira']:is([data-stage='draw'], [data-stage='read'], [data-stage='summary']) .nameplate { inset: auto 8px 20px; }
  body[data-world='samira']:is([data-stage='draw'], [data-stage='read'], [data-stage='summary']) .nameplate h2 { font-size: 22px; letter-spacing: .09em; }
  body[data-world='samira']:is([data-stage='draw'], [data-stage='read'], [data-stage='summary']) .nameplate .eyebrow { font-size: 10px; letter-spacing: .02em; }
  body[data-world='samira'] .world-reading-stage { grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); gap: 30px; }
  body[data-world='samira'] .world-tableau { position: sticky; top: 26px; }
  body[data-world='samira'] .world-reading-folio { padding-top: 28px; }
  body[data-world='bai']:is([data-stage='draw'], [data-stage='read'], [data-stage='summary']) .chamber > .portrait { height: 126px; margin-bottom: 36px; }
  body[data-world='bai']:is([data-stage='draw'], [data-stage='read'], [data-stage='summary']) .portrait > img { width: 48%; object-position: 36% 38%; }
  body[data-world='bai']:is([data-stage='draw'], [data-stage='read'], [data-stage='summary']) .portrait::after { background: linear-gradient(90deg, transparent, #10191f 50%); }
  body[data-world='bai']:is([data-stage='draw'], [data-stage='read'], [data-stage='summary']) .nameplate { inset: auto 4% 30px auto; width: 46%; }
  body[data-world='bai']:is([data-stage='draw'], [data-stage='read'], [data-stage='summary']) .nameplate h2 { font-size: 30px; }
  body[data-world='bai']:is([data-stage='draw'], [data-stage='read'], [data-stage='summary']) .nameplate .eyebrow { margin-bottom: 6px; }
  body[data-world='bai']:is([data-stage='draw'], [data-stage='read'], [data-stage='summary']) .chamber > .panel { width: 100%; margin: 0; padding: 0; border: 0; background: transparent; }
  body[data-world='bai'] .world-reading-stage { grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr); gap: 40px; }
  body[data-world='bai'] .world-tableau { position: sticky; top: 26px; }
  body[data-world='bai'] .world-reading-folio { padding-top: 32px; }
  body[data-world]:is([data-stage='shuffle'], [data-stage='select']) .chamber > .panel { min-height: 550px; }
  body[data-world='bai']:is([data-stage='shuffle'], [data-stage='select']) .chamber > .panel { width: min(100%, 1040px); margin-left: 0; }
  
  body[data-world] .world-reading-stage:not([data-layout]):has(.cards[data-count='10']),
  body[data-world] .world-reading-stage:not([data-layout]):has(.cards[data-spread='choice'][data-count='5']) { grid-template-columns: minmax(0, 1fr); }
  body[data-world] .world-reading-stage:not([data-layout]):has(.cards[data-count='10']) .world-tableau,
  body[data-world] .world-reading-stage:not([data-layout]):has(.cards[data-spread='choice'][data-count='5']) .world-tableau { position: relative; top: auto; }
  body[data-world] .world-reading-stage:not([data-layout]):has(.cards[data-count='10']) .world-reading-folio,
  body[data-world] .world-reading-stage:not([data-layout]):has(.cards[data-spread='choice'][data-count='5']) .world-reading-folio { max-width: 760px; padding-top: 0; justify-self: end; }}


@media (hover: hover) and (pointer: fine) {
  body[data-world] button:hover:not(:disabled) { border-color: var(--ml-accent); background-color: rgb(192 208 219 / .06); }
  body[data-world] .primary:hover:not(:disabled) { background: var(--ml-accent); color: var(--ml-on-accent); box-shadow: inset 0 0 0 1px var(--ml-on-accent); }
  body[data-world] .quiet:hover:not(:disabled) { color: var(--ml-text); border-color: transparent; background: transparent; }
  body[data-world] .world-door:hover { border: 0; background: transparent; transform: none; }
  body[data-world] .world-door:hover .door-art { filter: brightness(1.065); }
  body[data-world] .world-door:hover .door-art > img { transform: scale(1.018); }
  body[data-world] .world-door:hover .enter svg { transform: translateX(4px); }
  body[data-world] .pool-card:hover:not(:disabled) { transform: translateY(-8px); background: transparent; box-shadow: 0 16px 26px #0007; }
  body[data-world] .card:hover:not(:disabled) { transform: translateY(-3px); background: #101820; box-shadow: 0 16px 28px #0009; }
  body[data-world='ruan'] .primary:hover:not(:disabled) { box-shadow: inset 0 0 0 3px var(--ml-on-accent), inset 0 0 0 4px var(--ml-accent); }
  body[data-world='samira'] .primary:hover:not(:disabled) { color: #142137; background: #d1ddf0; box-shadow: none; }
  body[data-world='samira'] .primary:hover:not(:disabled)::after { transform: scaleX(1); }
  body[data-world='bai'] .primary:hover:not(:disabled) { transform: translateY(-2px); background: #d4b689; color: #1e2426; box-shadow: 0 8px 18px #0003; }
  body[data-world='bai'] .pool-card:hover:not(:disabled) { transform: translateY(-8px) rotate(-1deg); }}


@media (min-width: 768px) and (max-width: 1099px) {
  body[data-world] main { padding-inline: 30px; }
  body[data-world] .world-header { padding-inline: 30px; }
  body[data-world] .world-tools { gap: 12px; }
  body[data-world] .hall-intro { grid-template-columns: 1fr; gap: 20px; }
  body[data-world] .hall-intro > p { max-width: 40em; }
  body[data-world] .world-doors { gap: 18px; }
  body[data-world] .door-caption { padding: 22px 17px; min-height: 206px; }
  body[data-world] .door-caption :is(h2, .door-name) { font-size: 26px; }
  body[data-world] .door-deck { width: 43px; height: 74px; right: 15px; top: -47px; }
  body[data-world] .chamber,
  body[data-world='ruan'] .chamber,
  body[data-world='samira'] .chamber { grid-template-columns: minmax(0, .65fr) minmax(0, 1.1fr); gap: 28px; }
  body[data-world='ruan'] .chamber { grid-template-columns: minmax(0, 1.1fr) minmax(0, .65fr); }
  body[data-world] .chamber > .portrait { height: 500px; }
  body[data-world] .nameplate { inset: auto 18px 24px; }
  body[data-world] .nameplate h2 { font-size: 28px; }
  body[data-world] .question-folio { padding: 24px; }
  body[data-world] .bubble { padding: 24px; font-size: 16px; }
  body[data-world='samira'] .bubble { padding: 25px; }
  body[data-world='bai'] .chamber { display: block; }
  body[data-world='bai'] .chamber > .portrait { height: 350px; }
  body[data-world='bai'] .chamber > .panel { width: 90%; margin-left: 3%; padding: 28px 30px 0; }
  body[data-world]:is([data-stage='draw'], [data-stage='read'], [data-stage='summary']) .chamber { display: block; }
  body[data-world]:is([data-stage='draw'], [data-stage='read'], [data-stage='summary']) .chamber > .portrait { position: relative; top: auto; height: 112px; width: 100%; margin: 0 0 28px; border-radius: 0; outline: 0; }
  body[data-world]:is([data-stage='draw'], [data-stage='read'], [data-stage='summary']) .portrait > img { width: 140px; object-position: 50% 24%; }
  body[data-world]:is([data-stage='draw'], [data-stage='read'], [data-stage='summary']) .portrait::after { inset: 0; background: linear-gradient(90deg, transparent 60px, var(--ml-bg) 160px); }
  body[data-world]:is([data-stage='draw'], [data-stage='read'], [data-stage='summary']) .nameplate { inset: 25px 24px auto 164px; width: auto; text-align: left; border: 0; padding: 0; }
  body[data-world]:is([data-stage='draw'], [data-stage='read'], [data-stage='summary']) .nameplate h2 { font-size: 25px; }
  body[data-world]:is([data-stage='draw'], [data-stage='read'], [data-stage='summary']) .nameplate .eyebrow { margin-bottom: 5px; }
  body[data-world='bai']:is([data-stage='draw'], [data-stage='read'], [data-stage='summary']) .chamber > .panel { width: 100%; margin: 0; padding: 0; border: 0; background: transparent; }}


@media (max-width: 767px) {
  body[data-world] { font-size: 16px; line-height: 1.85; }
  body[data-world] main { width: 100%; min-height: calc(100svh - 142px); padding: 20px 20px 42px; }
  body[data-world] .world-header { min-height: 78px; gap: 16px; padding: 16px 20px; flex-wrap: nowrap; }
  body[data-world] .world-brand { gap: 10px; font-size: 15px; letter-spacing: .11em; }
  body[data-world] .world-brand > svg { width: 23px; height: 23px; }
  body[data-world] .world-brand small { margin-top: 4px; font-size: 10px; letter-spacing: .15em; }
  body[data-world] .world-tools { flex-wrap: nowrap; gap: 10px; }
  body[data-world] .world-tools .quiet { width: 44px; min-width: 44px; min-height: 44px; padding: 10px; border: 1px solid var(--ml-fine-line); }
  body[data-world] .world-tools .tool-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
  body[data-world] .world-tools .world-tool-optional { display: none; }
  body[data-world] .world-tools .world-mobile-more { display: inline-flex; }
  body[data-world] .world-stage-index { gap: 5px 15px; margin-bottom: 24px; padding-bottom: 15px; font-size: 11px; letter-spacing: .02em; }
  body[data-world] .world-stage-index > :is(li, span, a, button) { gap: 6px; min-height: 26px; }
  body[data-world] footer { padding: 20px 20px calc(20px + env(safe-area-inset-bottom, 0px)); font-size: 11px; gap: 8px 18px; }
  body[data-world] h1 { font-size: 28px; line-height: 1.5; margin-bottom: 22px; }
  body[data-world] h2 { font-size: 25px; }
  body[data-world] .eyebrow,
  body[data-world] .step { font-size: 11px; letter-spacing: .12em; margin-bottom: 11px; }
  body[data-world] .quote { font-size: 26px; line-height: 1.75; }
  body[data-world='hall'] main { padding-top: 28px; }
  body[data-world] .hall-intro { display: block; margin-bottom: 30px; }
  body[data-world] .hall-intro h1 { font-size: clamp(35px, 9vw, 46px); max-width: 10em; line-height: 1.35; margin-bottom: 18px; }
  body[data-world] .hall-intro > p { max-width: 29em; font-size: 13px; line-height: 1.9; }
  body[data-world] .world-doors { display: grid; grid-template-columns: 1fr; gap: 30px; }
  body[data-world] .world-door { display: grid; grid-template-columns: minmax(0, 1fr); }
  body[data-world] .door-art { height: clamp(260px, 78vw, 380px); aspect-ratio: auto; object-position: 50% 25%; }
  body[data-world] .door-art > img { object-position: 50% 25%; }
  body[data-world] .door-caption { min-height: 0; padding: 24px; }
  body[data-world] .door-caption :is(h2, .door-name) { font-size: 30px; margin-bottom: 9px; }
  body[data-world] .door-caption .enter { margin-top: 17px; padding-top: 16px; }
  body[data-world] .door-deck { width: 52px; height: 89px; right: 24px; top: -54px; }
  body[data-world] .world-door[data-persona='samira'] { padding-top: 0; }
  body[data-world] .world-door[data-persona='samira'] .door-art { height: clamp(285px, 85vw, 395px); aspect-ratio: auto; border-radius: 46% 46% 0 0 / 33% 33% 0 0; }
  body[data-world] .world-door[data-persona='bai'] .door-art { height: clamp(250px, 71vw, 350px); object-position: 31% 40%; }
  body[data-world] .world-door[data-persona='bai'] .door-art img { object-position: 31% 40%; }
  body[data-world] .chamber,
  body[data-world='ruan'] .chamber,
  body[data-world='samira'] .chamber,
  body[data-world='bai'] .chamber { display: flex; flex-direction: column; gap: 26px; }
  body[data-world] .chamber > .portrait,
  body[data-world='ruan'] .chamber > .portrait,
  body[data-world='samira'] .chamber > .portrait,
  body[data-world='bai'] .chamber > .portrait {
    position: relative; top: auto; order: 0; width: 100%; height: clamp(285px, 84vw, 410px);
    min-height: 0; margin: 0; flex: none; border-radius: 0;
  }
  body[data-world] .portrait > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 23%; }
  body[data-world] .nameplate { position: absolute; inset: auto 24px 25px; min-height: 0; margin: 0; padding: 0; transform: none; display: block; }
  body[data-world] .nameplate h2 { font-size: 32px; margin: 0; }
  body[data-world] .nameplate .eyebrow { font-size: 11px; letter-spacing: .13em; }
  body[data-world] .chamber > .panel,
  body[data-world='ruan'] .chamber > .panel,
  body[data-world='samira'] .chamber > .panel,
  body[data-world='bai'] .chamber > .panel { order: 1; width: 100%; max-width: none; margin: 0; padding: 0; border: 0; background: transparent; }
  body[data-world='ruan'] .chamber > .portrait { outline-offset: -8px; }
  body[data-world='ruan'] .nameplate { border-left: 1px solid #e9e0cd; padding-left: 16px; }
  body[data-world='samira'] .chamber > .portrait { width: min(100%, 370px); align-self: center; height: clamp(330px, 94vw, 430px); border-radius: 48% 48% 0 0 / 28% 28% 0 0; }
  body[data-world='samira'] .nameplate { inset: auto 22px 26px; text-align: center; }
  body[data-world='samira'] .nameplate h2 { font-size: 29px; letter-spacing: .16em; }
  body[data-world='bai'] .chamber { gap: 0; }
  body[data-world='bai'] .chamber > .portrait { width: calc(100% + 40px); margin-inline: -20px; height: clamp(280px, 78vw, 365px); border-inline: 0; }
  body[data-world='bai'] .portrait > img { object-position: 24% 37%; }
  body[data-world='bai'] .portrait::after { inset: 0; background: linear-gradient(0deg, #10191fe8 0%, #10191f20 55%, transparent); }
  body[data-world='bai'] .nameplate { width: auto; inset: auto 28px 33px; }
  body[data-world='bai'] .nameplate h2 { font-size: 37px; }
  body[data-world='bai'] .chamber > .panel { position: relative; margin-top: -10px; padding-top: 26px; border-top: 1px solid #b1966d66; }
  body[data-world] .dialogue-flow > .stage-heading,
  body[data-world='samira'] .dialogue-flow > .stage-heading,
  body[data-world='bai'] .dialogue-flow > .stage-heading { font-size: 27px; line-height: 1.55; letter-spacing: .02em; }
  body[data-world] .question-folio,
  body[data-world='bai'] .question-folio { margin-top: 24px; padding: 22px 20px; }
  body[data-world] .bubble,
  body[data-world='samira'] .bubble,
  body[data-world='bai'] .bubble { padding: 24px 22px; margin: 20px 0; font-size: 16px; line-height: 1.95; }
  body[data-world] .bubble.secondary { padding-top: 19px; padding-bottom: 19px; }
  body[data-world] .bubble.user,
  body[data-world='samira'] .bubble.user,
  body[data-world='bai'] .bubble.user { max-width: 94%; margin-left: auto; padding: 14px 17px; font-size: 14px; }
  body[data-world] .speaker { margin-bottom: 14px; font-size: 11px; }
  body[data-world] .question-folio .bubble { padding: 0 0 21px; margin: 0 0 22px; }
  body[data-world] .chips { margin-bottom: 22px; }
  body[data-world] .chips button { flex: 1 1 auto; padding: 10px 12px; min-height: 46px; font-size: 13px; }
  body[data-world] .chips button[aria-pressed='true']::after { inset-inline: 12px; }
  body[data-world] .prompts { margin-bottom: 22px; }
  body[data-world] .prompts button { min-height: 54px; padding-block: 13px; font-size: 14px; }
  body[data-world] .field { min-height: 136px; padding: 16px; font-size: 16px; }
  body[data-world] .field.followup { min-height: 118px; }
  body[data-world] .field.journal { min-height: 260px; padding: 20px; }
  body[data-world] .field-meta,
  body[data-world] .composer-meta { font-size: 12px; gap: 5px 12px; }
  body[data-world] .actions,
  body[data-world] .controls { align-items: stretch; gap: 10px 14px; margin-top: 22px; }
  body[data-world] .actions > .primary { flex: 1 1 min(100%, 220px); }
  body[data-world] .actions > .quiet { flex: 1 1 auto; }
  body[data-world] button { min-height: 48px; padding: 11px 16px; font-size: 14px; }
  body[data-world] .spread-options { grid-template-columns: 1fr; gap: 10px; }
  body[data-world] .spread-option { min-height: 0; padding: 18px; }
  body[data-world] .spread-title h3,
  body[data-world] .spread-structure h3 { font-size: 24px; }
  body[data-world] .position-preview { font-size: 14px; gap: 10px; padding-left: 20px; }
  body[data-world] .recommend,
  body[data-world] .spread-structure { margin-block: 24px; padding-block: 22px; }
  body[data-world] .deck { width: 132px; height: 226px; margin-block: 32px 38px; }
  body[data-world] .draw-pool { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; width: min(100%, 420px); margin-block: 26px; }
  body[data-world] .pool-card { min-height: 0; padding: 0; }
  body[data-world] .pool-pages { gap: 12px; font-size: 12px; }
  body[data-world] .table-scroll { width: 100%; padding: 8px 6px 16px; }
  body[data-world] .cards { gap: 13px; padding: 20px 4px 14px; }
  body[data-world] .cards[data-fixed-table='true'] { padding: 24px 8px 18px; }
  body[data-world] .card { min-height: 0; padding: 0; }
  body[data-world] .card-slot { max-width: 140px; }
  body[data-world] .card-caption { margin-top: 13px; font-size: 11px; line-height: 1.75; }
  body[data-world] .cards[data-count='4']:not([data-fixed-table='true']),
  body[data-world] .cards:is([data-count='5'], [data-count='10']):not([data-fixed-table='true']) { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  body[data-world] .cards[data-fixed-table='true'][data-spread='choice'][data-count='5'] { min-width: 305px; gap: 20px 14px; grid-template-columns: repeat(3, minmax(82px, 1fr)); }
  body[data-world] .cards[data-fixed-table='true'][data-spread='celtic'][data-count='10'] { min-width: 570px; }
  body[data-world] .reading-paths .primary { width: 100%; min-width: 0; }
  body[data-world] .world-reading-stage { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; }
  body[data-world] .world-tableau { position: relative; top: auto; }
  body[data-world] .world-reading-folio { max-width: none; padding: 0; }
  body[data-world] .world-reading-folio > :first-child { margin-top: 0; }
  body[data-world] .composer { margin-top: 30px; padding-top: 23px; }
  body[data-world] .composer h3 { font-size: 22px; }
  body[data-world] .status-box { padding: 17px 18px; }
  body[data-world] .world-secondary-tools { margin-top: 36px; }
  
  body[data-world]:is([data-stage='shuffle'], [data-stage='select'], [data-stage='draw'], [data-stage='read'], [data-stage='summary'], [data-stage='journal']) .chamber > .portrait {
    position: relative; top: auto; width: 100%; height: 78px; min-height: 78px;
    margin: 0 0 24px; border: 0; border-bottom: 1px solid var(--ml-fine-line); outline: 0; border-radius: 0; background: transparent;
  }
  body[data-world]:is([data-stage='shuffle'], [data-stage='select'], [data-stage='draw'], [data-stage='read'], [data-stage='summary'], [data-stage='journal']) .chamber { gap: 0; }
  body[data-world]:is([data-stage='shuffle'], [data-stage='select'], [data-stage='draw'], [data-stage='read'], [data-stage='summary'], [data-stage='journal']) .portrait > img { width: 62px; height: 66px; object-position: 50% 23%; border-radius: 2px; }
  body[data-world]:is([data-stage='shuffle'], [data-stage='select'], [data-stage='draw'], [data-stage='read'], [data-stage='summary'], [data-stage='journal']) .portrait::after { content: none; }
  body[data-world]:is([data-stage='shuffle'], [data-stage='select'], [data-stage='draw'], [data-stage='read'], [data-stage='summary'], [data-stage='journal']) .nameplate {
    inset: 6px 0 auto 80px; width: auto; min-height: 0; margin: 0; padding: 0; border: 0; text-align: left;
  }
  body[data-world]:is([data-stage='shuffle'], [data-stage='select'], [data-stage='draw'], [data-stage='read'], [data-stage='summary'], [data-stage='journal']) .nameplate h2 { font-size: 23px; line-height: 1.3; letter-spacing: .04em; }
  body[data-world]:is([data-stage='shuffle'], [data-stage='select'], [data-stage='draw'], [data-stage='read'], [data-stage='summary'], [data-stage='journal']) .nameplate .eyebrow { margin-bottom: 5px; color: var(--ml-muted); font-size: 10px; letter-spacing: .09em; }
  body[data-world='bai']:is([data-stage='shuffle'], [data-stage='select'], [data-stage='draw'], [data-stage='read'], [data-stage='summary'], [data-stage='journal']) .chamber > .panel { padding-top: 0; margin-top: 0; border: 0; }
  body[data-world] .panel :is(button, textarea, summary, .stage-heading) { scroll-margin-top: 24px; }}
@media (max-width: 374px) {
  body[data-world] main { padding-inline: 16px; }
  body[data-world] .world-header { padding-inline: 16px; gap: 8px; }
  body[data-world] .world-brand { font-size: 13px; letter-spacing: .07em; gap: 8px; }
  body[data-world] .world-tools { gap: 6px; }
  body[data-world] .world-tools .quiet { width: 42px; min-width: 42px; min-height: 44px; }
  body[data-world] .world-stage-index { gap: 4px 11px; font-size: 10px; }
  body[data-world] .bubble,
  body[data-world='samira'] .bubble,
  body[data-world='bai'] .bubble { padding: 23px 18px; }
  body[data-world] .question-folio,
  body[data-world='bai'] .question-folio { padding: 20px 17px; }
  body[data-world='bai'] .chamber > .portrait { width: calc(100% + 32px); margin-inline: -16px; }
  body[data-world] .cards { gap: 11px; }}


@keyframes ml-card-reveal { from { opacity: .65; transform: rotateY(80deg); } to { opacity: 1; transform: rotateY(0); }}
@keyframes ml-card-land { from { opacity: .25; transform: translateY(-18px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); }}
@keyframes ml-bai-land { 0% { opacity: .2; transform: translate(-14px, -20px) rotate(-3deg); } 75% { opacity: 1; transform: translate(0, 1px) rotate(.6deg); } 100% { opacity: 1; transform: translate(0, 0) rotate(0); }}
@keyframes ml-shuffle-left { to { transform: translate(-28px, -6px) rotate(-8deg); }}
@keyframes ml-shuffle-right { to { transform: translate(28px, 4px) rotate(8deg); }}
@keyframes ml-pending { 0%, 100% { transform: translateX(-110%); } 70% { transform: translateX(520%); }}
@keyframes ml-arrive { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); }}
body[data-world] .ml-entering { animation: ml-arrive 420ms var(--ml-enter) both; }
body[data-world] .ml-new-response { animation: ml-arrive 180ms var(--ml-quiet) both; }
body[data-world][data-document-hidden='true'] *,
body[data-world][data-document-hidden='true'] *::before,
body[data-world][data-document-hidden='true'] *::after { animation-play-state: paused !important; }

body[data-world] .portrait[data-presence='responding'] > img,
body[data-world] .portrait[data-presence='listening'] > img { animation: none; filter: none; }
body[data-world].reduced *,
body[data-world].reduced *::before,
body[data-world].reduced *::after,
body[data-world][data-reduced-motion='true'] *,
body[data-world][data-reduced-motion='true'] *::before,
body[data-world][data-reduced-motion='true'] *::after {
  animation: none !important; transition: none !important; scroll-behavior: auto !important;
}
body[data-world].reduced :is(.card, .pool-card, .primary, .door-art img),
body[data-world][data-reduced-motion='true'] :is(.card, .pool-card, .primary, .door-art img) { transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  body[data-world] *, body[data-world] *::before, body[data-world] *::after {
    animation: none !important; transition: none !important; scroll-behavior: auto !important;
  }
  body[data-world] :is(.card, .pool-card, .primary, .door-art img) { transform: none !important; }}
@media (forced-colors: active) {
  body[data-world] :is(button, .card, .pool-card, .bubble, .question-folio, .field, .status-box) { border: 1px solid ButtonText; }
  body[data-world] .card.selected { outline: 3px solid Highlight; }
  body[data-world] .world-loading-line::after { background: Highlight; }}


body[data-world='bai'] .dialogue-flow .bubble { border-radius: 0 12px 12px 12px; }
body[data-world='bai'] .dialogue-flow .bubble.user,
body[data-world='bai'] .dialogue-flow .question-folio > .bubble { border-radius: 0; }
body[data-world='samira'] .dialogue-flow .bubble { line-height: 1.95; }
body[data-world] .dialogue-flow .response,
body[data-world] .dialogue-flow .reading-update,
body[data-world] .dialogue-flow .composer { max-width: none; }
body[data-world] .world-brand > span { display: block; }

body[data-world] .door-name { display: block; }
@media(max-width:767px){body[data-world] .cards[data-fixed-table='true'][data-count='4'] { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px 18px; width:min(100%,370px); margin-inline:auto; } body[data-world] .cards[data-fixed-table='true'][data-count='4'] .card-slot { width:100%; max-width:none; }}


body[data-world] .dialogue-flow > .step { display: none; }
body[data-world] .dialogue-flow > .stage-heading { font-size: clamp(26px,2.5vw,34px); }
body[data-world] .hall-intro { margin-bottom: 26px; }
body[data-world] .hall-intro h1 { font-size: clamp(30px,3.8vw,48px); max-width: none; line-height: 1.3; }
body[data-world] .hall-intro .eyebrow { margin-bottom: 12px; }
body[data-world='hall'] .resume-box { margin: 16px 0 24px; padding: 16px 0; }
body[data-world='hall'] .status { margin: 10px 0; font-size: 12px; }
body[data-world] .door-art { aspect-ratio: 5 / 4; }
body[data-world] .world-door[data-persona='samira'] .door-art { aspect-ratio: 5 / 3.7; }
body[data-world] .door-caption { min-height: 0; padding: 20px 22px; }
body[data-world] .door-caption .enter { padding-top: 14px; margin-top: 14px; }
body[data-world] .question-folio { margin-top: 22px; }
body[data-world] .question-folio .field { min-height: 112px; }
body[data-world='bai'] .chamber > .portrait { height: clamp(210px,21vw,280px); }
body[data-world='bai'] .portrait > img { width: 67%; object-position: 35% 8%; }
body[data-world='bai'] .nameplate { bottom: 24%; }
body[data-world='bai'] .chamber > .panel { padding-top: 26px; margin-top: -22px; }
@media(min-width:1100px){
 body[data-world='bai']:is([data-stage='draw'],[data-stage='read'],[data-stage='summary']) .portrait > img { width: 230px; object-position: 50% 12%; }
 body[data-world='bai']:is([data-stage='draw'],[data-stage='read'],[data-stage='summary']) .portrait::after { background: linear-gradient(90deg,transparent 100px,#10191f 240px); }
 body[data-world='bai']:is([data-stage='draw'],[data-stage='read'],[data-stage='summary']) .nameplate { left: 270px; right: auto; }}
@media(max-width:767px){
 body[data-world] .hall-intro h1 { font-size: 32px; margin-bottom: 12px; }
 body[data-world] .hall-intro { margin-bottom: 24px; }
 body[data-world] .hall-intro > p { font-size: 14px; }
 body[data-world] .world-door .door-art { aspect-ratio: auto; }
 body[data-world='bai'] .chamber > .portrait { height: 240px; }
 body[data-world='bai'] .portrait > img { width: 100%; object-position: 35% 14%; }
 body[data-world='bai'] .chamber > .panel { margin-top: 0; padding-top: 22px; }
 body[data-world]:not([data-stage='welcome']):not([data-stage='choose']) .chamber > .portrait { height:auto; min-height:78px; }
 body[data-world]:not([data-stage='welcome']):not([data-stage='choose']) .chamber > .portrait > img { position:absolute; inset:0 auto 0 0; width:100px; height:100%; }
 body[data-world]:not([data-stage='welcome']):not([data-stage='choose']) .chamber > .portrait .nameplate { position:relative; inset:auto; width:auto; padding:17px 16px 17px 118px; margin:0; }}

body[data-world] .world-tools [hidden] { display: none; }

body[data-world] .spread-diagram { width:80px; height:58px; flex:none; color:var(--ml-accent); }
body[data-world] .spread-title { display:flex; align-items:center; gap:16px; }
body[data-world] .spread-title h3 { flex:1; }
body[data-world] .spread-option .spread-diagram { width:60px; height:44px; margin-bottom:12px; }
body[data-world] .spread-option { display:flex; flex-direction:column; align-items:flex-start; justify-content:flex-start; text-align:left; }

body[data-world] .world-welcome-intro > .step { display:none; }
body[data-world] .world-welcome-intro > h1 { font-size:clamp(26px,2.4vw,34px); margin-bottom:18px; }
body[data-world] .world-welcome-intro .bubble { padding:20px 24px; }
@media(min-width:1100px){
 body[data-world='bai'][data-stage='welcome'] .chamber > .panel { width:90%; max-width:none; margin-left:5%; }
 body[data-world='bai'] .world-welcome-content { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); align-items:start; gap:30px; }
 body[data-world='bai'] .world-welcome-content .question-folio { margin-top:0; padding:24px; }
 body[data-world='bai'] .world-welcome-intro .bubble { padding:20px; }
 body[data-world='bai'] .world-welcome-intro .stage-heading { font-size:30px; line-height:1.5; }}

body[data-world] [hidden] { display:none!important; }


body[data-world] .world-wait-signal { position:relative; display:block; width:38px; height:38px; margin:0 0 15px; color:var(--ml-accent); }
body[data-world] .world-wait-signal::before { content:''; position:absolute; width:4px; height:4px; left:17px; top:17px; border-radius:50%; background:currentColor; box-shadow:0 0 12px currentColor; animation:ml-wait-breathe 2400ms ease-in-out infinite; }
body[data-world] .world-wait-signal i,body[data-world] .world-wait-signal b { position:absolute; inset:3px; border:1px solid transparent; border-top-color:currentColor; border-bottom-color:currentColor; border-radius:50%; opacity:.55; animation:ml-wait-orbit 6s linear infinite; }
body[data-world] .world-wait-signal b { inset:10px; opacity:.3; animation-direction:reverse; animation-duration:4s; }
body[data-world='ruan'] .world-wait-signal i { border-radius:1px; animation:ml-wait-ruan 5s ease-in-out infinite; }
body[data-world='bai'] .world-wait-signal i { border-radius:2px 50% 2px 50%; animation-duration:8s; }
@keyframes ml-wait-orbit { to { transform:rotate(360deg); }}
@keyframes ml-wait-breathe { 50% { opacity:.45; box-shadow:0 0 3px currentColor; }}
@keyframes ml-wait-ruan { 0%,100%{transform:rotate(45deg);opacity:.3}50%{transform:rotate(135deg);opacity:.75}}



body[data-world] .world-reading-stage[data-layout] .world-tableau { position: relative; top: auto; }
body[data-world] .world-card-focus .table-scroll { padding: 8px 6px 18px; }
body[data-world] .world-card-focus .cards[data-fixed-table='true'][data-count='1'] { display: flex; grid-template: none; min-width: 0; padding: 12px 0 8px; border: 0; }
body[data-world] .world-card-focus .cards[data-fixed-table='true'][data-count='1'] .card-slot { grid-area: auto; max-width: 160px; }
body[data-world] .world-spread-overview { margin: 12px 0 0; }
body[data-world] .world-spread-overview > summary { min-height: 48px; }
body[data-world] .world-spread-overview[open] > summary { margin-bottom: 0; }
body[data-world] .world-spread-overview .table-scroll,
body[data-world] .world-reading-stage[data-layout='summary'] .table-scroll { padding: 8px 0 12px; }
body[data-world] .cards[data-fixed-table='true'][data-card-size='overview'] {
  width: min(100%, 352px); min-width: 0; margin-inline: auto;
  padding: 12px 0; border: 0; gap: 10px 8px;
}
body[data-world] .cards[data-fixed-table='true'][data-card-size='overview'][data-spread='celtic'][data-count='10'] {
  grid-template-columns: repeat(6, minmax(0, 1fr)); min-width: 0; gap: 10px 8px;
}
body[data-world] .cards[data-fixed-table='true'][data-card-size='overview'][data-spread='choice'][data-count='5'] {
  width: min(100%, 260px); grid-template-columns: repeat(3, minmax(0, 1fr)); min-width: 0; gap: 10px 8px;
}
body[data-world] .cards[data-fixed-table='true'][data-card-size='overview'] .card-slot { max-width: 48px; }
body[data-world] .cards[data-fixed-table='true'][data-card-size='overview'][data-spread='choice'] .card-slot { max-width: 64px; }
body[data-world] .cards[data-card-size='overview'] .card { min-width: 0; min-height: 0; padding: 0; }
body[data-world] .cards[data-card-size='overview'] .card-caption {
  margin-top: 6px; color: var(--ml-muted); font: 400 11px/1 var(--ml-sans); letter-spacing: 0;
}
body[data-world] .cards[data-card-size='overview'] .card[aria-current='true'] {
  outline: 2px solid var(--ml-accent); outline-offset: 3px;
}
body[data-world] .cards[data-card-size='overview'] .card[aria-current='true'] + .card-caption { color: var(--ml-text); }
body[data-world] .world-reading-stage[data-layout='summary'] { grid-template-columns: minmax(0, 1fr); gap: 24px; }
body[data-world] .world-reading-stage[data-layout='summary'] .world-reading-folio { max-width: 740px; padding-top: 0; justify-self: center; }
@media (min-width: 1100px) {
  body[data-world] .world-reading-stage[data-layout='focused'] {
    grid-template-columns: 320px minmax(0, 1fr); gap: 28px;
  }
  body[data-world] .world-reading-stage[data-layout='focused'] .world-reading-folio { padding-top: 0; justify-self: stretch; }}
@media (max-width: 1099px) {
  body[data-world] .world-reading-stage[data-layout='focused'] { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  body[data-world] .world-card-focus .cards[data-fixed-table='true'][data-count='1'] .card-slot {
    display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 22px;
    max-width: 440px; text-align: left; align-items: center;
  }
  body[data-world] .world-card-focus .card-caption { margin-top: 0; font-size: 13px; line-height: 1.85; }
  body[data-world] .world-spread-overview { margin-top: 0; }}
@media (max-width: 374px) {
  body[data-world] .cards[data-fixed-table='true'][data-card-size='overview'][data-spread='celtic'][data-count='10'] { column-gap: 4px; }}


body[data-world] footer{flex-wrap:wrap;gap:.75rem}body[data-world] .footer-actions{display:flex;flex-wrap:wrap;gap:.5rem}body[data-world] .footer-actions button{min-height:44px}


body[data-world][data-stage='welcome'] main { padding-top: 16px; }
body[data-world][data-stage='welcome'] .world-stage-index {
  gap: 8px 20px; margin-bottom: 22px; padding-bottom: 12px;
  color: var(--ml-muted); font-size: 14px; letter-spacing: .035em;
}
body[data-world][data-stage='welcome'] .world-stage-index .is-current { font-weight: 500; }
body[data-world][data-stage='welcome'] .world-stage-index li > span { opacity: .75; font-size: 12px; }
body[data-world][data-stage='welcome'] .world-welcome-intro > .stage-heading {
  margin: 0 0 14px; font-size: clamp(27px, 2.4vw, 34px); line-height: 1.4;
}
body[data-world][data-stage='welcome'] .world-welcome-intro .bubble {
  max-width: none; margin: 0; padding: 0; border: 0; border-radius: 0;
  background: transparent; color: var(--ml-text); box-shadow: none;
  font-size: 17px; line-height: 1.85;
}
body[data-world][data-stage='welcome'] .world-welcome-intro .bubble::before,
body[data-world][data-stage='welcome'] .world-welcome-intro .bubble::after { content: none; }
body[data-world][data-stage='welcome'] .world-welcome-intro .speaker {
  margin-bottom: 6px; color: var(--ml-muted); font-size: 13px;
  line-height: 1.6; letter-spacing: .08em;
}
body[data-world][data-stage='welcome'] .question-folio { margin-top: 22px; padding: 24px; box-shadow: none; }
body[data-world][data-stage='welcome'] .question-folio .chips { margin-bottom: 18px; }
body[data-world][data-stage='welcome'] .question-folio .chips button { min-height: 48px; font-size: 15px; }
body[data-world][data-stage='welcome'] .question-folio label[for='question'] {
  margin-bottom: 8px; color: var(--ml-text); font-size: 14px; line-height: 1.6;
}
body[data-world][data-stage='welcome'] .question-folio .field {
  min-height: 112px; padding: 15px 18px; font-size: 16px; line-height: 1.85;
}
body[data-world][data-stage='welcome'] .question-folio .field-meta { margin: 8px 0 14px; font-size: 13px; }
body[data-world][data-stage='welcome'] .question-folio .primary { min-height: 50px; font-size: 15px; }
body[data-world][data-stage='welcome'] .question-folio > details { margin: 18px 0 0; }
body[data-world][data-stage='welcome'] .question-folio > details > summary { min-height: 48px; font-size: 14px; }
body[data-world][data-stage='welcome'] .world-welcome-content + .actions { margin-top: 16px; }


body[data-world='ruan'][data-stage='welcome'] .world-welcome-content {
  --ml-text: #242520; --ml-muted: #626154; --ml-accent: #292b25;
  --ml-line: #8e8b78; --ml-fine-line: rgb(62 64 48 / .2);
  --ml-on-accent: #f4ecdb; --ml-focus: #242520;
  padding: 24px 28px; border: 1px solid #c7bfac; border-radius: 2px;
  background: #eae2d2; color: var(--ml-text);
}
body[data-world='ruan'][data-stage='welcome'] .question-folio {
  margin-top: 18px; padding: 0; border: 0; border-radius: 0; background: transparent;
}
body[data-world='ruan'][data-stage='welcome'] .world-welcome-intro .stage-heading { color: #242520; }


body[data-world='samira'][data-stage='welcome'] .world-welcome-intro {
  padding-left: 20px; border-left: 1px solid #d5bc8370;
}
body[data-world='samira'][data-stage='welcome'] .world-welcome-intro .speaker { color: #c2cce0; }
body[data-world='samira'][data-stage='welcome'] .question-folio {
  padding: 0; border: 0; background: transparent;
}
body[data-world='samira'][data-stage='welcome'] .question-folio .field { background: #0d1a2c; }


body[data-world='bai'][data-stage='welcome'] .question-folio {
  border: 0; border-top: 1px solid #a3886566; border-radius: 0 10px 10px 10px;
}
@media (min-width: 768px) {
  body[data-world][data-stage='welcome'] .world-header { min-height: 78px; padding-block: 13px; }
  body[data-world='bai'][data-stage='welcome'] .chamber > .portrait { height: clamp(176px, 16vw, 218px); }
  body[data-world='bai'][data-stage='welcome'] .portrait > img { width: 70%; object-position: 35% 10%; }
  body[data-world='bai'][data-stage='welcome'] .portrait::after { background: linear-gradient(90deg, transparent 30%, #10191f12 47%, #10191fd9 72%, #10191f 100%); }
  body[data-world='bai'][data-stage='welcome'] .nameplate { inset: auto 6% 24% auto; width: 28%; }
  body[data-world='bai'][data-stage='welcome'] .nameplate h2 { font-size: clamp(38px, 4.2vw, 56px); }
  body[data-world='bai'][data-stage='welcome'] .chamber > .panel { margin-top: -14px; padding-top: 20px; }}
@media (min-width: 1100px) {
  body[data-world='bai'][data-stage='welcome'] .world-welcome-content { gap: 28px; }
  body[data-world='bai'][data-stage='welcome'] .world-welcome-intro { padding-top: 10px; }
  body[data-world='bai'][data-stage='welcome'] .question-folio { margin-top: 0; padding: 18px 24px 20px; }}
@media (max-width: 767px) {
  body[data-world][data-stage='welcome'] .world-stage-index { gap: 6px 13px; font-size: 14px; margin-bottom: 20px; }
  body[data-world][data-stage='welcome'] .world-stage-index > li { gap: 5px; }
  body[data-world][data-stage='welcome'] .world-welcome-intro > .stage-heading { font-size: 27px; }
  body[data-world][data-stage='welcome'] .world-welcome-intro .bubble { font-size: 16px; }
  body[data-world][data-stage='welcome'] .question-folio .field { padding-inline: 14px; }
  body[data-world='ruan'][data-stage='welcome'] .world-welcome-content { padding: 22px 18px; }
  body[data-world='samira'][data-stage='welcome'] .world-welcome-intro { padding-left: 16px; }
  body[data-world='bai'][data-stage='welcome'] .question-folio { padding: 20px 18px; }}


body[data-world]:is([data-stage='choose'],[data-stage='welcome']) {
  --ml-text: #f4f0e8; --ml-muted: #c7c8c3; --ml-accent: #eee9de;
  --ml-on-accent: #1b211f; --ml-focus: #fff8e9;
  --ml-line: rgb(241 237 226 / .35); --ml-fine-line: rgb(241 237 226 / .18);
  background: #101716; color: var(--ml-text);
}
body[data-world]:is([data-stage='choose'],[data-stage='welcome'])::before { content: none; }
body[data-world]:is([data-stage='choose'],[data-stage='welcome']) .world-header {
  position: absolute; inset: 0 0 auto; width: 100%; max-width: none;
  min-height: 88px; padding: 22px 4.4vw; border: 0; background: transparent;
}
body[data-world]:is([data-stage='choose'],[data-stage='welcome']) .world-brand { font-size: 18px; letter-spacing: .15em; }
body[data-world]:is([data-stage='choose'],[data-stage='welcome']) .world-brand small { font-size: 12px; letter-spacing: .26em; color: #d0d1ca; }
body[data-world]:is([data-stage='choose'],[data-stage='welcome']) .world-tools { gap: 24px; }
body[data-world]:is([data-stage='choose'],[data-stage='welcome']) .world-tools .quiet { color: #eceee7; font-size: 12px; }
body[data-world]:is([data-stage='choose'],[data-stage='welcome']) main {
  position: relative; z-index: 1; width: 100%; max-width: none;
  min-height: 100svh; margin: 0; padding: 128px 6.4vw 54px;
}
body[data-world]:is([data-stage='choose'],[data-stage='welcome']) footer { display: none; }
body[data-world] .entrance-art { display: none; }
body[data-world]:is([data-stage='choose'],[data-stage='welcome']) .entrance-art {
  display: block; position: fixed; z-index: -2; inset: 0; width: 100%; height: 100svh;
  overflow: hidden; pointer-events: none; background: #111816;
}
body[data-world] .entrance-picture { display: block; position: absolute; inset: 0; }
body[data-world] .entrance-picture > img {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%;
}
body[data-world]:is([data-stage='choose'],[data-stage='welcome']) .entrance-art::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgb(3 8 9 / .44), transparent 24%, transparent 76%, rgb(4 9 9 / .26)),
    linear-gradient(90deg, rgb(5 10 10 / .03) 22%, rgb(5 10 10 / .08) 40%, rgb(5 10 10 / .68) 65%, rgb(5 10 10 / .80));
}
body[data-world='samira'][data-stage='welcome'] .entrance-art::after,
body[data-world='hall'] [data-entry-persona='samira'] .entrance-art::after {
  background: linear-gradient(180deg, rgb(2 5 16 / .35), transparent 24%, rgb(2 5 16 / .18)),
    linear-gradient(90deg, transparent 25%, rgb(4 9 23 / .08) 42%, rgb(4 9 23 / .7) 65%, rgb(4 9 23 / .83));
}
body[data-world='bai'][data-stage='welcome'] .entrance-art::after,
body[data-world='hall'] [data-entry-persona='bai'] .entrance-art::after {
  background: linear-gradient(180deg, rgb(9 8 6 / .35), transparent 24%, rgb(9 8 6 / .15)),
    linear-gradient(90deg, transparent 23%, rgb(12 13 11 / .08) 42%, rgb(12 13 11 / .7) 65%, rgb(12 13 11 / .84));
}

body[data-world='hall'][data-stage='choose'] .world-hall { min-height: calc(100svh - 182px); }
body[data-world='hall'][data-stage='choose'] .world-doors {
  display: flex; align-items: center; min-height: calc(100svh - 182px); width: 100%;
}
body[data-world='hall'] .hall-story { width: min(45%, 590px); margin-left: auto; padding: 28px 0; }
body[data-world='hall'] .hall-story > .eyebrow { margin-bottom: 26px; font-size: 12px; color: #e2e4dc; letter-spacing: .2em; }
body[data-world='hall'] .hall-story h1 { margin: 0 0 24px; font-size: clamp(38px, 4.4vw, 68px); line-height: 1.42; letter-spacing: .02em; }
body[data-world='hall'] .entrance-line { margin: 0; font-size: 14px; color: #d0d4cb; line-height: 1.9; }
body[data-world='hall'] .entrance-picker { display: flex; gap: 27px; margin: 38px 0 28px; }
body[data-world='hall'] .entrance-picker button {
  position: relative; justify-content: flex-start; min-width: 0; min-height: 50px; padding: 10px 0;
  border: 0; border-radius: 0; background: transparent; color: #c9cfc7; font-size: 14px; font-weight: 400;
}
body[data-world='hall'] .entrance-picker button > span { font: 10px/1 var(--ml-latin); opacity: .65; align-self: flex-start; padding-top: 4px; }
body[data-world='hall'] .entrance-picker button[aria-pressed='true'] { color: #fff7e9; }
body[data-world='hall'] .entrance-picker button[aria-pressed='true']::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: currentColor; }
body[data-world='hall'] .entrance-start { min-width: 220px; min-height: 54px; justify-content: space-between; gap: 45px; padding-inline: 23px; border-radius: 0; }
body[data-world='hall'] .entrance-start > span { font-size: 22px; font-weight: 300; }
body[data-world='hall'] .entrance-caption { font-size: 12px; color: #bfc5bb; margin-top: 19px; letter-spacing: .06em; }
body[data-world='hall'][data-stage='choose'] .world-secondary-tools { display: none; }
body[data-world='hall'][data-stage='choose'] .resume-box,
body[data-world='hall'][data-stage='choose'] .world-hall > .status { position: relative; z-index: 2; width: min(45%,590px); margin: 0 0 12px auto; padding: 0; border: 0; background: transparent; font-size: 12px; }
body[data-world='hall'][data-stage='choose'] .resume-box .quiet { padding: 0; text-decoration: underline; text-underline-offset: 5px; }

body[data-world][data-stage='welcome'] .chamber { display: block; width: 100%; }
body[data-world][data-stage='welcome'] .chamber > .portrait { display: none; }
body[data-world][data-stage='welcome'] .chamber > .panel {
  width: min(43%, 540px); max-width: none; margin: 0 0 0 auto; padding: 0;
}
body[data-world][data-stage='welcome'] .world-stage-index,
body[data-world][data-stage='welcome'] .dialogue-flow > .world-secondary-tools { display: none; }
body[data-world][data-stage='welcome'] .world-welcome-content {
  --ml-text: #f4f0e8; --ml-muted: #c7c8c3; --ml-accent: #eee9de;
  --ml-on-accent: #1b211f; --ml-focus: #fff8e9; --ml-line: rgb(241 237 226 / .35);
  display: block; padding: 0; margin: 0; border: 0; border-radius: 0; background: transparent; color: var(--ml-text);
}
body[data-world][data-stage='welcome'] .world-welcome-intro { padding: 0; border: 0; }
body[data-world][data-stage='welcome'] .world-welcome-intro > .step { margin: 0 0 18px; color: #e3e5dd; font-size: 12px; letter-spacing: .19em; }
body[data-world][data-stage='welcome'] .world-welcome-intro > .stage-heading {
  margin: 0 0 18px; color: #f4f0e8; font-size: clamp(31px, 3.2vw, 49px); line-height: 1.45; letter-spacing: .015em;
}
body[data-world][data-stage='welcome'] .world-welcome-intro .bubble {
  padding: 0; margin: 0; border: 0; background: transparent; color: #d6d9d0;
  font-size: 16px; line-height: 1.9; box-shadow: none;
}
body[data-world][data-stage='welcome'] .world-welcome-intro .speaker { display: none; }
body[data-world][data-stage='welcome'] .question-folio {
  margin: 23px 0 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none;
}
body[data-world][data-stage='welcome'] .question-folio .chips { display: flex; gap: 26px; margin: 0 0 19px; border: 0; }
body[data-world][data-stage='welcome'] .question-folio .chips button { min-height: 42px; padding: 8px 0; color: #c1c7bf; font-size: 14px; letter-spacing: .12em; }
body[data-world][data-stage='welcome'] .question-folio .chips button[aria-pressed='true'] { color: #fff7eb; }
body[data-world][data-stage='welcome'] .question-folio .chips button[aria-pressed='true']::after { height: 1px; inset: auto 0 0; }
body[data-world][data-stage='welcome'] .question-folio label[for='question'] { display: block; margin-bottom: 7px; font-size: 14px; color: #c6cbc2; letter-spacing: .08em; }
body[data-world][data-stage='welcome'] .question-folio .field {
  min-height: 92px; max-height: 230px; padding: 11px 0; border: 0; border-bottom: 1px solid #ccd3c278;
  border-radius: 0; background: transparent; color: #fbf8ef; font-size: 16px; line-height: 1.8; box-shadow: none;
}
body[data-world][data-stage='welcome'] .question-folio .field::placeholder { color: #bfc7bc; }
body[data-world][data-stage='welcome'] .question-folio .field:focus { background: transparent; border-bottom-color: #f3f1e5; outline-offset: 6px; }
body[data-world][data-stage='welcome'] .question-folio .field-meta { margin: 8px 0 21px; font-size: 12px; color: #bbc3b8; }
body[data-world][data-stage='welcome'] .question-folio .primary { min-width: 210px; min-height: 52px; padding-inline: 24px; font-size: 14px; border-radius: 0; }
body[data-world][data-stage='welcome'] .question-folio > details { margin: 12px 0 0; border: 0; padding: 0; }
body[data-world][data-stage='welcome'] .question-folio > details > summary { min-height: 42px; padding: 10px 0; font-size: 12px; color: #c8cec4; }
body[data-world][data-stage='welcome'] .question-folio .prompts { margin-block: 0 8px; }
body[data-world][data-stage='welcome'] .question-folio .prompts button { color: #f0f2e7; font-size: 14px; }
body[data-world][data-stage='welcome'] .world-welcome-content + .actions { margin-top: 2px; }
body[data-world][data-stage='welcome'] .world-welcome-content + .actions .quiet { min-height: 42px; padding: 8px 0; color: #c4ccc0; font-size: 12px; }
@media (min-width: 768px) and (min-height: 850px) {
  body[data-world][data-stage='welcome'] main { padding-top: max(146px, 18svh); }}
@media (min-width: 768px) and (max-width: 1023px) {
  body[data-world][data-stage='welcome'] .chamber > .panel { width: 46%; }
  body[data-world='hall'] .hall-story { width: 48%; }
  body[data-world='hall'] .entrance-picker { gap: 18px; }}
@media (max-width: 767px) {
  body[data-world]:is([data-stage='choose'],[data-stage='welcome']) .world-header { min-height: 76px; padding: 17px 23px; align-items: flex-start; }
  body[data-world]:is([data-stage='choose'],[data-stage='welcome']) .world-brand { font-size: 14px; }
  body[data-world]:is([data-stage='choose'],[data-stage='welcome']) .world-brand small { margin-top: 5px; font-size: 12px; }
  body[data-world]:is([data-stage='choose'],[data-stage='welcome']) .world-tools { gap: 14px; }
  body[data-world]:is([data-stage='choose'],[data-stage='welcome']) .world-tools .quiet { min-width: 32px; min-height: 44px; padding: 0; }
  body[data-world]:is([data-stage='choose'],[data-stage='welcome']) .world-tools .tool-label { display: none; }
  body[data-world]:is([data-stage='choose'],[data-stage='welcome']) main { min-height: 100svh; padding: 39svh 25px max(24px, env(safe-area-inset-bottom)); }
  body[data-world]:is([data-stage='choose'],[data-stage='welcome']) .entrance-art { height: 100lvh; }
  
  body[data-world] .entrance-picture {
    height: min(100lvh, 125vw);
    mask-image: linear-gradient(#000 78%, transparent 100%);
    -webkit-mask-image: linear-gradient(#000 78%, transparent 100%);
  }
  body[data-world='bai'][data-stage='welcome'] .entrance-picture,
  body[data-world='hall'] [data-entry-persona='bai'] .entrance-picture { height: min(100lvh, 177.7vw); }
  body[data-world] .entrance-picture > img { object-position: 50% 0%; }
  body[data-world]:is([data-stage='choose'],[data-stage='welcome']) .entrance-art::after {
    background: linear-gradient(180deg, rgb(5 10 12 / .42), transparent 20%, rgb(5 10 12 / .03) 27%, rgb(5 10 12 / .80) 47%, rgb(5 10 12 / .96) 72%);
  }
  body[data-world='hall'][data-stage='choose'] main { padding-top: 46svh; }
  body[data-world='hall'][data-stage='choose'] .world-hall,
  body[data-world='hall'][data-stage='choose'] .world-doors { min-height: 0; }
  body[data-world='hall'] .hall-story { width: 100%; margin: 0; padding: 0; }
  body[data-world='hall'] .hall-story > .eyebrow { margin-bottom: 15px; font-size: 12px; }
  body[data-world='hall'] .hall-story h1 { margin-bottom: 14px; font-size: clamp(32px, 8.2vw, 44px); line-height: 1.4; }
  body[data-world='hall'] .entrance-line { font-size: 14px; }
  body[data-world='hall'] .entrance-picker { justify-content: space-between; gap: 18px; margin: 20px 0; }
  body[data-world='hall'] .entrance-picker button { min-height: 44px; font-size: 14px; }
  body[data-world='hall'] .entrance-start { width: 100%; min-height: 52px; }
  body[data-world='hall'] .entrance-caption { margin-top: 13px; font-size: 12px; }
  body[data-world='hall'][data-stage='choose'] .resume-box,
  body[data-world='hall'][data-stage='choose'] .world-hall > .status { width: 100%; }
  body[data-world][data-stage='welcome'] .chamber > .panel { width: 100%; margin: 0; padding: 0; }
  body[data-world][data-stage='welcome'] .world-welcome-intro > .step { margin-bottom: 12px; font-size: 12px; }
  body[data-world][data-stage='welcome'] .world-welcome-intro > .stage-heading { font-size: clamp(27px, 7.1vw, 38px); margin-bottom: 10px; }
  body[data-world][data-stage='welcome'] .world-welcome-intro .bubble { font-size: 16px; line-height: 1.8; }
  body[data-world][data-stage='welcome'] .question-folio { margin-top: 13px; }
  body[data-world][data-stage='welcome'] .question-folio .chips { margin-bottom: 10px; gap: 26px; }
  body[data-world][data-stage='welcome'] .question-folio .field { min-height: 79px; padding: 8px 0; font-size: 16px; }
  body[data-world][data-stage='welcome'] .question-folio .field-meta { margin: 6px 0 16px; font-size: 12px; }
  body[data-world][data-stage='welcome'] .question-folio .primary { width: 100%; min-height: 50px; }
  body[data-world][data-stage='welcome'] .world-welcome-content + .actions .quiet { flex-grow: 0; }}
@media (max-height: 560px) and (min-width: 768px) {
  body[data-world]:is([data-stage='choose'],[data-stage='welcome']) main { padding-top: 110px; }}


body[data-world] { --ml-card-radius: 4px; }
body[data-world] :is(.deck img,.pool-card,.card,.card-placeholder) { border-radius: var(--ml-card-radius); }
body[data-world] .card img { border-radius: inherit; }

body[data-world][data-stage='welcome'] .question-folio { --ml-accent: #eee9de; --ml-on-accent: #1b211f; --ml-focus: #fff8e9; }
body[data-world][data-stage='welcome'] .world-welcome-intro > .step { display: block; }
@media (min-width: 768px) {
 body[data-world='hall'][data-stage='choose'] .world-doors[data-entry-persona='bai'] .hall-story { width: 39%; }}
@media (min-width: 1024px) {
 body[data-world='hall'][data-stage='choose'] .world-doors[data-entry-persona='bai'] .entrance-picker { justify-content: flex-end; }}
body[data-world][data-stage='welcome'] .chamber > .panel { background: transparent; border: 0; box-shadow: none; }
@media (min-width: 768px) {
 body[data-world='bai'][data-stage='welcome'] .question-folio .primary { display: flex; margin-left: auto; }}


body[data-world='ruan'] { --room-text:#eee9de; --room-muted:#c7c6b7; --room-accent:#ede8d8; }
body[data-world='samira'] { --room-text:#eef1fa; --room-muted:#b6c0d8; --room-accent:#d1d9ed; }
body[data-world='bai'] { --room-text:#f5ede2; --room-muted:#cdbfac; --room-accent:#e5cba6; }


body[data-world='ruan'][data-stage='welcome'] main { padding: max(126px,17svh) 5.4vw 38px; }
body[data-world='ruan'][data-stage='welcome'] .chamber > .panel { width: min(49%,660px); }
body[data-world='ruan'][data-stage='welcome'] .world-welcome-content { position: relative; padding-right: 122px; }
body[data-world='ruan'][data-stage='welcome'] .world-welcome-intro > .step { margin:0 0 22px; font-size:12px; letter-spacing:.25em; }
body[data-world='ruan'][data-stage='welcome'] .world-welcome-intro > .stage-heading {
  position:absolute; right:0; top:0; width:auto; height:370px; margin:0;
  writing-mode:vertical-rl; text-orientation:upright; font:400 clamp(34px,3.25vw,52px)/1.55 var(--ml-serif); letter-spacing:.12em;
}
body[data-world='ruan'][data-stage='welcome'] .world-welcome-intro .bubble { max-width:21em; margin-top:8px; font:400 17px/2 var(--ml-serif); color:#d5d3c6; }
body[data-world='ruan'][data-stage='welcome'] .question-folio { margin-top:29px; }
body[data-world='ruan'][data-stage='welcome'] .question-folio .chips { gap:29px; margin-bottom:18px; }
body[data-world='ruan'][data-stage='welcome'] .question-folio .chips button { font-family:var(--ml-serif); font-size:16px; }
body[data-world='ruan'][data-stage='welcome'] .question-folio .field { min-height:108px; padding-top:15px; font-family:var(--ml-serif); font-size:18px; line-height:2; border-bottom-color:#d8d6c06b; }
body[data-world='ruan'][data-stage='welcome'] .question-folio .primary { min-width:0; width:100%; margin-top:6px; height:54px; letter-spacing:.18em; font-family:var(--ml-serif); font-size:16px; box-shadow:none; }
body[data-world='ruan'][data-stage='welcome'] .question-folio .primary:hover { background:#fff9e8; }
body[data-world='ruan'][data-stage='welcome'] .world-welcome-content + .actions { padding-right:122px; }
body[data-world='ruan'][data-stage='welcome'] .world-welcome-content + .actions .quiet { font-family:var(--ml-serif); }


body[data-world='samira'][data-stage='welcome'] main { padding: max(117px,15svh) 6vw 40px; }
body[data-world='samira'][data-stage='welcome'] .chamber > .panel { width:min(49%,590px); margin-left:auto; text-align:center; }
body[data-world='samira'][data-stage='welcome'] .world-welcome-intro > .step { margin-bottom:22px; color:#ccd5ec; letter-spacing:.28em; }
body[data-world='samira'][data-stage='welcome'] .world-welcome-intro > .stage-heading { max-width:12em; margin:0 auto 18px; font:300 clamp(31px,3.25vw,48px)/1.7 var(--ml-sans); letter-spacing:.13em; }
body[data-world='samira'][data-stage='welcome'] .world-welcome-intro .bubble { max-width:23em; margin:0 auto; color:#bdc9e1; font-size:15px; line-height:1.9; letter-spacing:.06em; }
body[data-world='samira'][data-stage='welcome'] .question-folio { max-width:420px; margin:21px auto 0; }
body[data-world='samira'][data-stage='welcome'] .question-folio .chips { justify-content:center; gap:36px; margin-bottom:16px; }
body[data-world='samira'][data-stage='welcome'] .question-folio .chips button { min-height:42px; font-size:14px; letter-spacing:.2em; }
body[data-world='samira'][data-stage='welcome'] .question-folio .chips button[aria-pressed='true']::after { width:3px; height:3px; border-radius:50%; left:50%; right:auto; bottom:0; }
body[data-world='samira'][data-stage='welcome'] .question-folio label[for='question'] { text-align:center; color:#aebad2; font-size:12px; letter-spacing:.12em; }
body[data-world='samira'][data-stage='welcome'] .question-folio .field { min-height:74px; padding:10px 5px; text-align:center; border-bottom-color:#b4c4e454; font-size:17px; }
body[data-world='samira'][data-stage='welcome'] .question-folio .field-meta { font-size:12px; color:#aebad2; }
body[data-world='samira'][data-stage='welcome'] .question-folio .primary {
  display:inline-flex; width:92px; min-width:92px; min-height:92px; height:92px; padding:18px; margin:0 auto;
  border-radius:50%; border:1px solid #d6e1f399; background:rgb(10 20 40 / .16); color:#e8eefb; font-size:14px; line-height:1.7; letter-spacing:.1em; box-shadow:none;
}
body[data-world='samira'][data-stage='welcome'] .question-folio .primary::after { content:none; }
body[data-world='samira'][data-stage='welcome'] .question-folio .primary:hover { background:rgb(210 224 250 / .13); border-color:#eff4ff; }
body[data-world='samira'][data-stage='welcome'] .question-folio > details { margin-top:13px; text-align:center; }
body[data-world='samira'][data-stage='welcome'] .question-folio .prompts { text-align:left; }
body[data-world='samira'][data-stage='welcome'] .world-welcome-content + .actions { justify-content:center; margin-top:2px; }


body[data-world='bai'][data-stage='welcome'] main { padding: max(380px,49svh) 5.4vw 36px; }
body[data-world='bai'][data-stage='welcome'] .chamber > .panel { width:100%; margin:0; }
body[data-world='bai'][data-stage='welcome'] .world-welcome-content { display:grid; grid-template-columns:minmax(230px,.8fr) minmax(0,1.25fr); gap:7vw; align-items:start; }
body[data-world='bai'][data-stage='welcome'] .world-welcome-intro > .step { font:400 12px/1.7 var(--ml-sans); letter-spacing:.15em; margin-bottom:14px; color:#d8c6ad; }
body[data-world='bai'][data-stage='welcome'] .world-welcome-intro > .stage-heading { max-width:7.1em; margin-bottom:17px; font:400 clamp(34px,3.7vw,56px)/1.45 var(--ml-serif); letter-spacing:0; }
body[data-world='bai'][data-stage='welcome'] .world-welcome-intro .bubble { max-width:25em; color:#dbcbb7; font-size:16px; line-height:1.85; }
body[data-world='bai'][data-stage='welcome'] .question-folio { display:grid; grid-template-columns:minmax(0,1fr) 174px; gap:0 28px; align-items:center; margin:0; padding:0; }
body[data-world='bai'][data-stage='welcome'] .question-folio .chips { grid-column:1/-1; gap:26px; margin:0 0 14px; }
body[data-world='bai'][data-stage='welcome'] .question-folio .chips button { color:#d8c8b3; font-size:14px; min-height:40px; }
body[data-world='bai'][data-stage='welcome'] .question-folio .chips button[aria-pressed='true']::after { content:none; }
body[data-world='bai'][data-stage='welcome'] .question-folio .chips button[aria-pressed='true'] { color:#fff6e8; text-decoration:underline; text-underline-offset:7px; text-decoration-thickness:1px; }
body[data-world='bai'][data-stage='welcome'] #question-form { display:contents; }
body[data-world='bai'][data-stage='welcome'] .question-folio label { grid-column:1; margin-bottom:4px; font-size:12px; color:#cabda9; }
body[data-world='bai'][data-stage='welcome'] .question-folio .field { grid-column:1; min-height:92px; padding:12px 0; font-size:18px; line-height:1.75; border-bottom-color:#d5bb9570; }
body[data-world='bai'][data-stage='welcome'] .question-folio .field-meta { grid-column:1; font-size:12px; margin:7px 0 0; }
body[data-world='bai'][data-stage='welcome'] .question-folio .primary { grid-column:2; grid-row:2/5; align-self:center; width:100%; min-width:0; min-height:55px; padding-inline:16px; margin:0; border-radius:999px; color:#231d16; background:#dec6a4; border:0; font-size:15px; letter-spacing:.02em; }
body[data-world='bai'][data-stage='welcome'] .question-folio .primary:hover { background:#f1dfc1; }
body[data-world='bai'][data-stage='welcome'] .question-folio > details { grid-column:1/-1; margin:14px 0 0; }
body[data-world='bai'][data-stage='welcome'] .world-welcome-content + .actions { margin-top:12px; }
body[data-world='bai'][data-stage='welcome'] .entrance-art::after { background:linear-gradient(180deg,rgb(12 10 8 / .24),transparent 25%,rgb(12 10 8 / .16) 41%,rgb(12 10 8 / .87) 61%,rgb(12 10 8 / .97)); }


body[data-world]:not([data-world='hall']):not([data-stage='welcome']) .chamber > .portrait { display:none; }
body[data-world]:not([data-world='hall']):not([data-stage='welcome']) .chamber { display:block; }
body[data-world]:not([data-world='hall']):not([data-stage='welcome']) .chamber > .panel { width:100%; margin:0; padding:0; border:0; background:transparent; }
body[data-world]:not([data-world='hall']):not([data-stage='welcome']) .entrance-art { display:block; position:fixed; z-index:-2; inset:0; height:100svh; width:100%; pointer-events:none; overflow:hidden; opacity:.22; }
body[data-world]:not([data-world='hall']):not([data-stage='welcome']) .entrance-art::after { content:''; position:absolute; inset:0; background:linear-gradient(90deg,transparent,#091015c9 75%),linear-gradient(transparent,#080f14 88%); }
body[data-world]:not([data-world='hall']):not([data-stage='welcome']) .bubble,
body[data-world]:not([data-world='hall']):not([data-stage='welcome']) .bubble.secondary { border:0; border-radius:0; box-shadow:none; background:transparent; padding:0; color:var(--room-text); }
body[data-world]:not([data-world='hall']):not([data-stage='welcome']) .bubble::before,
body[data-world]:not([data-world='hall']):not([data-stage='welcome']) .bubble::after { content:none; }
body[data-world]:not([data-world='hall']):not([data-stage='welcome']) .bubble.user { margin:0 0 28px; padding:0 0 0 18px; border-left:1px solid var(--ml-line); background:transparent; }
body[data-world]:not([data-world='hall']):not([data-stage='welcome']) .world-stage-index { margin-bottom:35px; padding-bottom:18px; border-color:var(--ml-fine-line); }
body[data-world]:not([data-world='hall']):not([data-stage='welcome']) .world-tableau { background:transparent; border:0; }
body[data-world]:not([data-world='hall']):not([data-stage='welcome']) .cards[data-fixed-table='true'] { background:transparent; border:0; }
body[data-world]:not([data-world='hall']):not([data-stage='welcome']) .world-secondary-tools { margin-top:52px; }


body[data-world='ruan']:not([data-stage='welcome']) main { max-width:1400px; padding-inline:7vw; }
body[data-world='ruan']:not([data-stage='welcome']) .dialogue-flow { max-width:1120px; margin:auto; }
body[data-world='ruan']:not([data-stage='welcome']) .stage-heading { font-size:36px; line-height:1.6; font-family:var(--ml-serif); letter-spacing:.09em; }
body[data-world='ruan']:not([data-stage='welcome']) .world-stage-index { justify-content:space-between; font-family:var(--ml-serif); font-size:14px; letter-spacing:.1em; }
body[data-world='ruan']:not([data-stage='welcome']) .world-reading-stage { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:6vw; align-items:start; }
body[data-world='ruan']:not([data-stage='welcome']) .world-reading-folio { padding-left:30px; border-left:1px solid #d4cbb32b; }
body[data-world='ruan']:not([data-stage='welcome']) .response .bubble { max-width:none; font:400 19px/2.15 var(--ml-serif); }
body[data-world='ruan']:not([data-stage='welcome']) .speaker { font-family:var(--ml-serif); color:#c7c4ae; font-size:13px; letter-spacing:.18em; }
body[data-world='ruan']:not([data-stage='welcome']) .primary { background:#e8e2d2; color:#242921; border:0; border-radius:0; font-family:var(--ml-serif); font-size:16px; letter-spacing:.1em; box-shadow:none; }
body[data-world='ruan']:not([data-stage='welcome']) .field { font-family:var(--ml-serif); border:0; border-bottom:1px solid #d0cab061; border-radius:0; background:transparent; padding-inline:0; }
body[data-world='ruan']:not([data-stage='welcome']) .draw-pool { gap:20px; max-width:700px; margin-block:45px; }


body[data-world='samira']:not([data-stage='welcome']) main { max-width:1280px; padding-inline:6vw; }
body[data-world='samira']:not([data-stage='welcome']) .dialogue-flow > .stage-heading,
body[data-world='samira']:not([data-stage='welcome']) .dialogue-flow > .sub { text-align:center; margin-inline:auto; }
body[data-world='samira']:not([data-stage='welcome']) .dialogue-flow > .stage-heading { max-width:20em; font:300 32px/1.8 var(--ml-sans); letter-spacing:.1em; }
body[data-world='samira']:not([data-stage='welcome']) .world-stage-index { justify-content:center; border:0; gap:32px; font-size:12px; letter-spacing:.18em; }
body[data-world='samira']:not([data-stage='welcome']) .world-stage-index .is-current::before { border-radius:50%; transform:none; }
body[data-world='samira']:not([data-stage='welcome']) .world-reading-stage { display:flex; flex-direction:column; gap:30px; }
body[data-world='samira']:not([data-stage='welcome']) .world-tableau { position:relative; top:auto; width:min(100%,840px); margin:auto; }
body[data-world='samira']:not([data-stage='welcome']) .world-reading-folio { width:min(100%,670px); margin:auto; padding:0; }
body[data-world='samira']:not([data-stage='welcome']) .response .bubble { font:400 17px/2.15 var(--ml-sans); letter-spacing:.025em; max-width:none; }
body[data-world='samira']:not([data-stage='welcome']) .speaker { justify-content:center; margin-bottom:21px; color:#b9c6e2; letter-spacing:.25em; }
body[data-world='samira']:not([data-stage='welcome']) .speaker::before { content:none; }
body[data-world='samira']:not([data-stage='welcome']) .world-reading-folio > .actions,
body[data-world='samira']:is([data-stage='shuffle'],[data-stage='select']) .actions,
body[data-world='samira']:is([data-stage='shuffle'],[data-stage='select']) .controls { justify-content:center; }
body[data-world='samira']:not([data-stage='welcome']) .primary { color:#e2eafb; background:transparent; border:1px solid #bdcbe372; border-radius:999px; padding-inline:30px; }
body[data-world='samira']:not([data-stage='welcome']) .primary::after { content:none; }
body[data-world='samira']:not([data-stage='welcome']) .field { background:transparent; border:0; border-bottom:1px solid #b9cbe84f; border-radius:0; }
body[data-world='samira']:not([data-stage='welcome']) .composer { max-width:670px; margin:42px auto 0; }
body[data-world='samira']:not([data-stage='welcome']) .draw-pool { gap:23px; margin-block:56px; max-width:650px; }


body[data-world='bai']:not([data-stage='welcome']) main { max-width:1500px; padding-inline:5.4vw; }
body[data-world='bai']:not([data-stage='welcome']) .dialogue-flow > .stage-heading { max-width:19em; font:400 clamp(34px,3.7vw,54px)/1.45 var(--ml-serif); letter-spacing:0; margin-bottom:32px; }
body[data-world='bai']:not([data-stage='welcome']) .world-stage-index { gap:23px; justify-content:flex-start; border:0; color:#bcab95; }
body[data-world='bai']:not([data-stage='welcome']) .world-reading-stage { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); gap:5.5vw; align-items:start; }
body[data-world='bai']:not([data-stage='welcome']) .world-reading-folio { padding-top:54px; }
body[data-world='bai']:not([data-stage='welcome']) .response .bubble { max-width:none; font:400 18px/2 var(--ml-sans); }
body[data-world='bai']:not([data-stage='welcome']) .speaker { color:#d6bc98; font-size:14px; letter-spacing:.035em; margin-bottom:15px; }
body[data-world='bai']:not([data-stage='welcome']) .primary { background:#dcc19a; color:#261e16; border:0; border-radius:999px; padding-inline:26px; font-size:15px; }
body[data-world='bai']:not([data-stage='welcome']) .field { border:0; border-bottom:1px solid #c4a98070; border-radius:0; background:transparent; padding-inline:0; }
body[data-world='bai']:not([data-stage='welcome']) .composer { max-width:730px; margin:45px 0 0 auto; }
body[data-world='bai']:not([data-stage='welcome']) .draw-pool { max-width:730px; gap:19px; margin:36px auto; }
body[data-world='bai']:not([data-stage='welcome']) .pool-card:nth-child(3n+1) { transform:translateY(7px); }
body[data-world='bai']:not([data-stage='welcome']) .pool-card:nth-child(3n+2) { transform:translateY(-7px); }


@media (prefers-reduced-motion:no-preference) {
 body[data-world='ruan'] .world-welcome-content { animation:room-ruan-enter 480ms ease-out; }
 body[data-world='samira'] .world-welcome-content { animation:room-samira-enter 700ms ease-out; }
 body[data-world='bai'] .world-welcome-content { animation:room-bai-enter 460ms ease-out; }}
@keyframes room-ruan-enter { from { opacity:0; transform:translateY(9px); } to { opacity:1; transform:none; }}
@keyframes room-samira-enter { from { opacity:0; } to { opacity:1; }}
@keyframes room-bai-enter { from { opacity:0; transform:translateX(13px); } to { opacity:1; transform:none; }}
body[data-world].reduced .world-welcome-content { animation:none; }

@media (max-width: 1023px) and (min-width: 768px) {
 body[data-world='ruan'][data-stage='welcome'] .chamber > .panel { width:52%; }
 body[data-world='ruan'][data-stage='welcome'] .world-welcome-content { padding-right:92px; }
 body[data-world='ruan'][data-stage='welcome'] .world-welcome-content + .actions { padding-right:92px; }
 body[data-world='ruan'][data-stage='welcome'] .world-welcome-intro > .stage-heading { font-size:34px; line-height:1.3; }
 body[data-world='bai'][data-stage='welcome'] .world-welcome-content { gap:5vw; grid-template-columns:.7fr 1fr; }
 body[data-world='bai'][data-stage='welcome'] .question-folio { grid-template-columns:1fr; }
 body[data-world='bai'][data-stage='welcome'] .question-folio .primary { grid-column:1; grid-row:auto; margin-top:14px; width:auto; }}
@media (max-width: 767px) {
 body[data-world='ruan'][data-stage='welcome'] main { padding:36svh 23px 30px; }
 body[data-world='ruan'][data-stage='welcome'] .chamber > .panel { width:100%; }
 body[data-world='ruan'][data-stage='welcome'] .world-welcome-content { padding-right:74px; }
 body[data-world='ruan'][data-stage='welcome'] .world-welcome-intro > .stage-heading { top:0; height:280px; font-size:30px; line-height:1.2; letter-spacing:.07em; }
 body[data-world='ruan'][data-stage='welcome'] .world-welcome-intro > .step { font-size:12px; margin-bottom:14px; letter-spacing:.1em; }
 body[data-world='ruan'][data-stage='welcome'] .world-welcome-intro .bubble { font-size:16px; line-height:1.9; }
 body[data-world='ruan'][data-stage='welcome'] .question-folio { margin-top:18px; }
 body[data-world='ruan'][data-stage='welcome'] .question-folio .chips { gap:21px; margin-bottom:10px; }
 body[data-world='ruan'][data-stage='welcome'] .question-folio .field { font-size:17px; min-height:96px; }
 body[data-world='ruan'][data-stage='welcome'] .world-welcome-content + .actions { padding-right:74px; }
 body[data-world='samira'][data-stage='welcome'] main { padding:38svh 24px 30px; }
 body[data-world='samira'][data-stage='welcome'] .chamber > .panel { width:100%; }
 body[data-world='samira'][data-stage='welcome'] .world-welcome-intro > .step { margin-bottom:12px; font-size:12px; }
 body[data-world='samira'][data-stage='welcome'] .world-welcome-intro > .stage-heading { font-size:28px; max-width:10em; margin-bottom:12px; line-height:1.6; letter-spacing:.1em; }
 body[data-world='samira'][data-stage='welcome'] .world-welcome-intro .bubble { font-size:16px; }
 body[data-world='samira'][data-stage='welcome'] .question-folio { margin-top:14px; }
 body[data-world='samira'][data-stage='welcome'] .question-folio .primary { width:80px; min-width:80px; height:80px; min-height:80px; padding:14px; }
 body[data-world='bai'][data-stage='welcome'] main { padding:43svh 24px 30px; }
 body[data-world='bai'][data-stage='welcome'] .world-welcome-content { display:block; }
 body[data-world='bai'][data-stage='welcome'] .world-welcome-intro > .stage-heading { max-width:8em; font-size:34px; margin-bottom:13px; line-height:1.4; }
 body[data-world='bai'][data-stage='welcome'] .world-welcome-intro > .step { font-size:12px; margin-bottom:12px; }
 body[data-world='bai'][data-stage='welcome'] .question-folio { display:block; margin-top:19px; }
 body[data-world='bai'][data-stage='welcome'] #question-form { display:block; }
 body[data-world='bai'][data-stage='welcome'] .question-folio .field { min-height:88px; font-size:18px; }
 body[data-world='bai'][data-stage='welcome'] .question-folio .primary { width:100%; margin-top:17px; }
 body[data-world='bai'][data-stage='welcome'] .entrance-art::after { background:linear-gradient(180deg,rgb(12 10 8 / .24),transparent 21%,rgb(12 10 8 / .20) 31%,rgb(12 10 8 / .85) 50%,rgb(12 10 8 / .98) 76%); }
 body[data-world]:not([data-world='hall']):not([data-stage='welcome']) main { padding-inline:24px; }
 body[data-world]:not([data-world='hall']):not([data-stage='welcome']) .world-reading-stage { display:flex; flex-direction:column; gap:27px; }
 body[data-world]:not([data-world='hall']):not([data-stage='welcome']) .world-reading-folio { padding:0; width:100%; border:0; }
 body[data-world]:not([data-world='hall']):not([data-stage='welcome']) .world-tableau { width:100%; }
 body[data-world]:not([data-world='hall']):not([data-stage='welcome']) .world-stage-index { flex-wrap:wrap; gap:10px 18px; font-size:12px; }
 body[data-world='ruan']:not([data-stage='welcome']) .stage-heading { font-size:29px; letter-spacing:.08em; }
 body[data-world='ruan']:not([data-stage='welcome']) .response .bubble { font-size:18px; line-height:2.1; }
 body[data-world='samira']:not([data-stage='welcome']) .dialogue-flow > .stage-heading { font-size:25px; }
 body[data-world='bai']:not([data-stage='welcome']) .dialogue-flow > .stage-heading { font-size:32px; }
 body[data-world='bai']:not([data-stage='welcome']) .response .bubble { font-size:17px; }}
@media (max-width: 359px) {
 body[data-world='ruan'][data-stage='welcome'] .world-welcome-content { padding-right:59px; }
 body[data-world='ruan'][data-stage='welcome'] .world-welcome-intro > .stage-heading { font-size:26px; }
 body[data-world='ruan'][data-stage='welcome'] .question-folio .chips { gap:17px; }}


body[data-world='ruan'][data-stage='welcome'] .world-welcome-intro > .stage-heading { height: 12em; text-orientation: mixed; }
body[data-world='samira'][data-stage='welcome'] .question-folio .primary { width:104px; min-width:104px; height:104px; min-height:104px; padding:18px; white-space:nowrap; font-size:14px; }

body[data-world='bai'][data-stage='welcome'] .world-welcome-intro > .stage-heading {
  max-width:none; font-size:clamp(30px,3vw,46px);
}

body[data-world='samira'][data-stage='read'] .world-stage-index { margin-bottom:12px; padding-bottom:10px; }
body[data-world='samira'][data-stage='read'] .thread-context { margin-bottom:12px; padding-bottom:5px; }
body[data-world='samira'][data-stage='read'] .dialogue-flow > .stage-heading { margin-bottom:12px; }
body[data-world='samira'][data-stage='read'] .world-reading-stage { gap:18px; }
body[data-world='samira'][data-stage='read'] .cards[data-fixed-table='true']:not([data-card-size='overview']) { padding-top:12px; padding-bottom:8px; }
body[data-world='samira'][data-stage='read'] .cards[data-fixed-table='true']:not([data-card-size='overview']) .card-slot { max-width:112px; }
body[data-world='samira'][data-stage='read'] .table-scroll { padding-top:0; padding-bottom:8px; }
@media (max-width:1023px) and (min-width:768px) {
 body[data-world='bai'][data-stage='welcome'] .world-welcome-intro > .stage-heading { font-size:clamp(26px,2.9vw,30px); }}
@media (max-width:767px) {
 body[data-world='samira'][data-stage='welcome'] .question-folio .primary { width:84px; min-width:84px; height:84px; min-height:84px; padding:8px; }
 body[data-world='bai'][data-stage='welcome'] .world-welcome-intro > .stage-heading { font-size:clamp(26px,8.2vw,34px); }}


body[data-tabletop][data-world] { --tt-ground:#101613; --tt-light:#f6f1e7; --tt-muted:#c5cbbf; --tt-line:#ccd5c238; --ml-accent:#e5e7d5; background:var(--tt-ground); color:var(--tt-light); }
body[data-tabletop][data-world='samira'] { --tt-ground:#081423; --tt-muted:#c1cede; --ml-accent:#cfdfed; }
body[data-tabletop][data-world='bai'] { --tt-ground:#17130f; --tt-muted:#d2c4b2; --ml-accent:#e9d7b8; }
body[data-tabletop][data-world]::before { content:none; }
body[data-tabletop][data-world] #scene,body[data-tabletop][data-world] .veil { display:none; }
body[data-tabletop][data-world] main,body[data-tabletop][data-world]:not([data-world='hall']):not([data-stage='welcome']) main { width:100%; max-width:none; margin:0; padding:0; }
body[data-tabletop][data-world] .world-header { position:absolute; inset:0 0 auto; width:100%; max-width:none; min-height:72px; padding:12px 4.5vw; margin:0; border:0; background:#050b10ed; pointer-events:none; }
body[data-tabletop][data-world] .world-header a,body[data-tabletop][data-world] .world-header button { pointer-events:auto; }
body[data-tabletop][data-world] .world-brand { font-size:14px; letter-spacing:.12em; }
body[data-tabletop][data-world] .world-tools { gap:16px; }
body[data-tabletop][data-world] .world-tools button { min-height:44px; }
body[data-tabletop][data-world] .tt-chamber { display:block; width:100%; position:relative; }
body[data-tabletop][data-world] .tt-stage { min-width:0; position:relative; }
body[data-tabletop][data-world] .world-header .tt-room-heading { position:absolute; z-index:22; inset:17px 30% auto; pointer-events:none; display:flex; justify-content:center; align-items:baseline; gap:13px; color:var(--tt-light); }
body[data-tabletop][data-world] .world-header .tt-room-heading h2 { font-size:27px; line-height:1.4; letter-spacing:.12em; margin:0; white-space:nowrap; }
body[data-tabletop][data-world] .world-header .tt-room-heading .eyebrow { margin:0; font-size:10px; white-space:nowrap; }
body[data-tabletop][data-world] .tt-scene { position:relative; width:100%; height:auto; aspect-ratio:2244/1402; overflow:hidden; background:var(--tt-ground); }
body[data-tabletop][data-world='bai'] .tt-scene { aspect-ratio:2560/1600; }
body[data-tabletop][data-world] .tt-original-scene { display:block; position:absolute; inset:0; width:100%; height:100%; pointer-events:none; }
body[data-tabletop][data-world] .tt-scene-shade { position:absolute; inset:0; pointer-events:none; }
body[data-tabletop][data-world] .tt-scene-tools { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:0 22px; padding:7px 4.5vw; background:var(--tt-ground); border-bottom:1px solid var(--tt-line); }
body[data-tabletop][data-world] .tt-scene-tools p { margin:0; color:var(--tt-muted); font-size:12px; }
body[data-tabletop][data-world] .tt-cameras { display:flex; gap:24px; }
body[data-tabletop][data-world] .tt-cameras button { min-height:44px; padding:7px 0; border:0; border-radius:0; background:transparent; font-size:14px; color:var(--tt-muted); }
body[data-tabletop][data-world] .tt-cameras button[aria-pressed='true'] { color:var(--tt-light); text-decoration:underline; text-underline-offset:6px; }
body[data-tabletop][data-world] .tt-reading-cue { display:block; width:min(1080px,88%); margin:15px auto 0; padding:10px 0; min-height:48px; text-align:left; border:0; background:transparent; color:var(--ml-accent); }
body[data-tabletop][data-world] .tt-results { width:min(1080px,88%); margin:30px auto; padding:0; background:var(--tt-ground); }
body[data-tabletop][data-world] .tt-results>h2 { margin:0; font-size:27px; }
body[data-tabletop][data-world] .tt-deck-disclosure { margin:8px 0 0; font-size:12px; color:var(--tt-muted); line-height:1.7; }
body[data-tabletop][data-world] .tt-result-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px 30px; max-width:720px; margin:26px auto; }
body[data-tabletop][data-world] .tt-result-cards[data-tt-count='1'] { grid-template-columns:minmax(0,1fr); max-width:200px; }
body[data-tabletop][data-world] .tt-result-cards[data-tt-count='4'] { grid-template-columns:repeat(2,minmax(0,1fr)); max-width:510px; }
body[data-tabletop][data-world] .tt-result-cards:is([data-tt-count='5'],[data-tt-count='10']) { grid-template-columns:repeat(5,minmax(0,1fr)); max-width:100%; }
body[data-tabletop][data-world] .tt-slot { position:static; min-width:0; text-align:center; }
body[data-tabletop][data-world] .tt-card { display:block; width:100%; max-width:180px; aspect-ratio:7/12; margin:0 auto; padding:0; border:0; border-radius:4px; overflow:hidden; background:#ffffff06; color:var(--tt-muted); box-shadow:0 10px 24px #0005; }
body[data-tabletop][data-world] .tt-card:disabled { opacity:1; }
body[data-tabletop][data-world] .tt-card[aria-current='true'] { outline:2px solid var(--ml-accent); outline-offset:5px; }
body[data-tabletop][data-world] .tt-card img { display:block; width:100%; height:100%; object-fit:contain; }
body[data-tabletop][data-world] .tt-card-caption { margin:12px 0 0; font-size:14px; line-height:1.6; overflow-wrap:anywhere; }
body[data-tabletop][data-world] .tt-card-caption small { display:block; color:var(--tt-muted); font-size:12px; margin-top:4px; }
body[data-tabletop][data-world] .tt-spread-label { display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px 22px; margin:22px 0 10px; }
body[data-tabletop][data-world] .tt-spread-label span { font-size:13px; color:var(--tt-muted); }
body[data-tabletop][data-world] .tt-position-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px 24px; }
body[data-tabletop][data-world] .tt-position-row { display:flex; gap:10px; border-bottom:1px solid var(--tt-line); min-width:0; }
body[data-tabletop][data-world] .tt-position-row>button { min-height:48px; flex:1; text-align:left; padding:8px 0; font-size:14px; }
body[data-tabletop][data-world] .tt-position-row small { display:block; color:var(--tt-muted); font-size:12px; }
body[data-tabletop][data-world] .tt-position-row>.tt-read-card { flex:0 0 85px; text-align:right; }
body[data-tabletop][data-world] .tt-paths { margin:20px 0 8px; }
body[data-tabletop][data-world] .tt-table-controls>.sub { font-size:13px; color:var(--tt-muted); }
body[data-tabletop][data-world] .tt-folio.panel { position:relative; inset:auto; display:block; width:min(780px,88%); max-width:none; min-width:0; min-height:0; margin:26px auto 0; padding:0 0 40px; color:var(--tt-light); border:0; border-radius:0; background:var(--tt-ground); box-shadow:none; }
body[data-tabletop][data-world] .tt-folio .dialogue-flow { width:100%; max-width:none; margin:0; padding:0; }
body[data-tabletop][data-world] .tt-folio .world-welcome-content,body[data-tabletop][data-world] .tt-folio .world-welcome-intro,body[data-tabletop][data-world] .tt-folio .question-folio { position:static; display:block; width:100%; padding:0; margin:0; }
body[data-tabletop][data-world] .tt-folio .stage-heading { position:static; inset:auto; display:block; writing-mode:horizontal-tb; text-orientation:mixed; height:auto; max-width:none; width:auto; margin:12px 0 18px; font-size:30px; line-height:1.5; letter-spacing:.035em; }
body[data-tabletop][data-world] .tt-folio .bubble,body[data-tabletop][data-world] .tt-folio .detail-copy,body[data-tabletop][data-world] .tt-folio .transcript-entry { font:400 18px/1.95 var(--ml-sans); max-height:none; overflow:visible; white-space:pre-wrap; overflow-wrap:anywhere; -webkit-line-clamp:unset; color:var(--tt-light); }
body[data-tabletop][data-world] .tt-folio .bubble { border:0; background:transparent; padding:14px 0; margin:0; box-shadow:none; }
body[data-tabletop][data-world] .tt-folio .bubble.user { padding-left:16px; border-left:1px solid var(--tt-line); }
body[data-tabletop][data-world] .tt-folio .bubble::before,body[data-tabletop][data-world] .tt-folio .bubble::after { content:none; }
body[data-tabletop][data-world] .tt-folio .field { font-size:18px; line-height:1.6; color:var(--tt-light); background:var(--tt-ground); }
body[data-tabletop][data-world] .tt-folio .field::placeholder { color:var(--tt-muted); opacity:1; }
body[data-tabletop][data-world] .tt-folio .sub { color:var(--tt-muted); }
body[data-tabletop][data-world] .tt-folio .primary { min-height:48px; height:auto; padding:10px 18px; border-radius:2px; white-space:normal; }
body[data-tabletop][data-world] .tt-folio .question-folio .primary { width:100%; min-width:0; height:auto; min-height:50px; padding:10px 18px; margin:8px 0 0; border-radius:0; font-size:16px; }
body[data-tabletop][data-world] .tt-folio .world-stage-index { display:flex; flex-wrap:wrap; gap:8px 14px; margin:0 0 18px; padding:0 0 16px; font-size:11px; }
body[data-tabletop][data-world] .tt-folio .composer { padding-inline:0; border-left:0; border-right:0; background:var(--tt-ground); }
body[data-tabletop][data-world] .tt-folio .stage-heading,body[data-tabletop][data-world] .tt-folio .status-box { scroll-margin-top:24px; }
body[data-tabletop][data-world] .tt-card-detail { width:min(94vw,510px); max-height:94svh; margin:auto; padding:20px; overflow:auto; color:var(--tt-light); background:var(--tt-ground); border:1px solid var(--tt-line); border-radius:4px; }
body[data-tabletop][data-world] .tt-card-detail::backdrop { background:#03070de8; }
body[data-tabletop][data-world] .tt-detail-header { display:flex; justify-content:space-between; align-items:center; gap:18px; }
body[data-tabletop][data-world] .tt-detail-header h2 { margin:0; font-size:24px; }
body[data-tabletop][data-world] .tt-detail-header button { min-height:44px; }
body[data-tabletop][data-world] .tt-detail-face { width:min(100%,300px); aspect-ratio:7/12; margin:18px auto; }
body[data-tabletop][data-world] .tt-detail-face img { width:100%; height:100%; object-fit:contain; }

body[data-tabletop][data-world][data-stage='welcome'] .tt-chamber { display:grid; grid-template-columns:1fr; }
body[data-tabletop][data-world][data-stage='welcome'] .tt-stage { grid-area:1/1; min-height:100svh; }
body[data-tabletop][data-world][data-stage='welcome'] .tt-scene { height:100svh; aspect-ratio:auto; }
body[data-tabletop][data-world][data-stage='welcome'] .tt-folio.panel { grid-area:1/1; align-self:start; z-index:4; width:34%; max-width:420px; margin:150px 0 80px 6vw; padding:20px; background:var(--tt-ground); }

body[data-tabletop][data-world='samira'][data-stage='welcome'] .tt-folio.panel { align-self:stretch; width:23%; max-width:none; margin:72px 0 0 auto; padding:52px 2vw 32px; }
body[data-tabletop][data-world='bai'][data-stage='welcome'] .tt-folio.panel { width:26.5%; max-width:400px; margin:clamp(160px,25svh,260px) 3vw 64px auto; padding:20px 22px 26px; }
body[data-tabletop][data-world][data-stage='welcome'] .tt-folio .world-stage-index,body[data-tabletop][data-world][data-stage='welcome'] .world-welcome-intro>.step { display:none; }
body[data-tabletop][data-world][data-stage='welcome'] .tt-folio .stage-heading { margin:0 0 10px; font-size:28px; text-wrap:balance; }
body[data-tabletop][data-world='samira'][data-stage='welcome'] .tt-folio .stage-heading { font-size:24px; }
body[data-tabletop][data-world='ruan'][data-stage='welcome'] .tt-folio .stage-heading { line-height:1.6; letter-spacing:.06em; }
body[data-tabletop][data-world='ruan'][data-stage='welcome'] .tt-folio .question-folio .primary { white-space:nowrap; letter-spacing:.08em; }
body[data-tabletop][data-world='bai'][data-stage='welcome'] .tt-folio .stage-heading { font-size:26px; line-height:1.5; letter-spacing:0; }
body[data-tabletop][data-world][data-stage='welcome'] .tt-folio .bubble { padding:0; font-size:16px; line-height:1.75; }
body[data-tabletop][data-world][data-stage='welcome'] .tt-folio .question-folio { margin-top:18px; }
body[data-tabletop][data-world][data-stage='welcome'] .tt-folio .chips { display:flex; gap:24px; justify-content:space-between; margin:0 0 8px; }
body[data-tabletop][data-world][data-stage='welcome'] .tt-folio .chips button { min-height:44px; min-width:44px; padding:7px 0; font-size:15px; }
body[data-tabletop][data-world][data-stage='welcome'] .tt-folio label[for='question'] { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
body[data-tabletop][data-world][data-stage='welcome'] .tt-folio .question-folio .field { height:82px; min-height:60px; padding:7px 0; border:0; border-bottom:1px solid var(--tt-line); border-radius:0; }
body[data-tabletop][data-world='bai'][data-stage='welcome'] .tt-folio .question-folio #question-form { display:block; width:100%; min-width:0; margin:0; }
body[data-tabletop][data-world='bai'][data-stage='welcome'] .tt-folio .question-folio :is(.field,.field-meta,.primary) { width:100%; min-width:0; max-width:none; margin-inline:0; box-sizing:border-box; }
body[data-tabletop][data-world][data-stage='welcome'] .tt-folio .field-meta { display:flex; justify-content:space-between; gap:12px; margin:6px 0 12px; font-size:11px; line-height:20px; color:var(--tt-muted); }
body[data-tabletop][data-world='samira'][data-stage='welcome'] .tt-folio .field-meta>span:first-child { display:none; }
body[data-tabletop][data-world][data-stage='welcome'] .tt-folio .question-folio>details { margin-top:16px; }
body[data-tabletop][data-world][data-stage='welcome'] .world-welcome-content+.actions { padding:0; margin:15px 0; }

body[data-tabletop][data-world='hall'] .world-hall { width:100%; max-width:none; padding:0; }
body[data-tabletop][data-world='hall'] .world-doors { display:block; min-height:100svh; position:relative; isolation:isolate; padding:150px 0 65px; }
body[data-tabletop][data-world='hall'] .entrance-art { position:absolute; inset:0; width:100%; height:100%; z-index:-1; }
body[data-tabletop][data-world='hall'] .entrance-art::after { content:none; }
body[data-tabletop][data-world='hall'] .hall-story { width:34%; max-width:430px; margin-left:6vw; padding:24px; background:#101613; }
body[data-tabletop][data-world='hall'] .world-doors:is([data-entry-persona='samira'],[data-entry-persona='bai']) .hall-story { margin-left:auto; margin-right:3vw; width:25%; }
body[data-tabletop][data-world='hall'] .entrance-picker { display:flex; flex-wrap:wrap; gap:10px 18px; }
body[data-tabletop][data-world='hall'] .entrance-picker button { min-height:44px; }
body[data-tabletop][data-world='hall'] .world-secondary-tools,body[data-tabletop][data-world='hall'] .resume-box { width:min(780px,88%); margin:20px auto; background:var(--tt-ground); }
@media(max-width:1100px) and (min-width:701px) {
 body[data-tabletop][data-world][data-stage='welcome'] .tt-chamber { display:block; }
 body[data-tabletop][data-world][data-stage='welcome'] .tt-stage { min-height:0; }
 body[data-tabletop][data-world][data-stage='welcome'] .tt-scene { height:62.5vw; }
 body[data-tabletop][data-world][data-stage='welcome'] .tt-folio.panel { align-self:start; width:min(700px,88%); max-width:none; margin:0 auto; padding:22px 0 35px; }
 body[data-tabletop][data-world][data-stage='welcome'] .world-welcome-intro>.bubble { display:none; }
 body[data-tabletop][data-world='hall'] .world-doors { padding:0; }
 body[data-tabletop][data-world='hall'] .entrance-art { position:relative; height:62.5vw; }
 body[data-tabletop][data-world='hall'] .world-doors .hall-story { width:min(700px,88%); max-width:none; margin:0 auto; padding:22px 0 35px; }}
@media(max-width:700px) {
 body[data-tabletop][data-world] .world-header { min-height:58px; padding:7px 17px; }
 body[data-tabletop][data-world] .world-brand { font-size:10px; letter-spacing:.07em; }
 body[data-tabletop][data-world] .world-brand small { font-size:8px; }
 body[data-tabletop][data-world] .world-tools { gap:8px; }
 body[data-tabletop][data-world] .world-tools .tool-label { display:none; }
 body[data-tabletop][data-world] .world-tools .quiet { width:44px; min-width:44px; min-height:44px; padding:4px; border:0; border-radius:0; background:transparent; box-shadow:none; }
 body[data-tabletop][data-world] .world-tools .quiet[aria-pressed='true'] { background:#f6f1e712; }
 body[data-tabletop][data-world] .world-header .tt-room-heading { top:17px; inset-inline:28%; }
 body[data-tabletop][data-world] .world-header .tt-room-heading h2 { font-size:20px; }
 body[data-tabletop][data-world] .world-header .tt-room-heading .eyebrow { display:none; }
 body[data-tabletop][data-world] .tt-scene { aspect-ratio:1122/1402; }
 body[data-tabletop][data-world='bai'] .tt-scene { aspect-ratio:1672/1200; }
 body[data-tabletop][data-world] .tt-scene-tools { padding:6px 20px; }
 body[data-tabletop][data-world] .tt-scene-tools p { font-size:10px; }
 body[data-tabletop][data-world] .tt-cameras { gap:23px; }
 body[data-tabletop][data-world] .tt-cameras button { font-size:12px; }
 body[data-tabletop][data-world] .tt-results { width:auto; margin:24px 22px; }
 body[data-tabletop][data-world] .tt-results>h2 { font-size:24px; }
 body[data-tabletop][data-world] .tt-result-cards { gap:22px 14px; }
 body[data-tabletop][data-world] .tt-result-cards:is([data-tt-count='5'],[data-tt-count='10']) { grid-template-columns:repeat(3,minmax(0,1fr)); }
 body[data-tabletop][data-world] .tt-card-caption { font-size:12px; }
 body[data-tabletop][data-world] .tt-card-caption small { font-size:11px; }
 body[data-tabletop][data-world] .tt-position-list { grid-template-columns:1fr; }
 body[data-tabletop][data-world] .tt-folio.panel { width:auto; margin:24px 22px 0; padding:0 0 35px; }
 body[data-tabletop][data-world] .tt-folio .stage-heading { font-size:26px; }
 body[data-tabletop][data-world] .tt-folio .bubble,body[data-tabletop][data-world] .tt-folio .detail-copy { font-size:17px; }
 body[data-tabletop][data-world][data-stage='welcome'] .tt-chamber { display:flex; flex-direction:column; }
 body[data-tabletop][data-world][data-stage='welcome'] .tt-stage { display:contents; }
 body[data-tabletop][data-world][data-stage='welcome'] .tt-scene { order:0; width:100%; height:auto; aspect-ratio:1122/1402; }
 body[data-tabletop][data-world='bai'][data-stage='welcome'] .tt-scene { aspect-ratio:1672/1200; }
 body[data-tabletop][data-world][data-stage='welcome'] .tt-folio.panel { order:1; align-self:stretch; width:auto; max-width:none; margin:0 22px; padding:0 0 12px; }
 body[data-tabletop][data-world][data-stage='welcome'] .tt-scene-tools { order:2; }
 body[data-tabletop][data-world][data-stage='welcome'] #tt-reading-guide { order:3; }
 body[data-tabletop][data-world][data-stage='welcome'] .world-welcome-intro { display:none; }
 body[data-tabletop][data-world][data-stage='welcome'] .tt-folio .question-folio { display:grid; grid-template-columns:minmax(0,1fr) 100px; gap:0 12px; margin:0; }
 body[data-tabletop][data-world][data-stage='welcome'] .question-folio #question-form { display:contents; }
 body[data-tabletop][data-world][data-stage='welcome'] .tt-folio .chips { grid-area:1/1; gap:7px; margin:0; }
 body[data-tabletop][data-world][data-stage='welcome'] .tt-folio .chips button { min-height:44px; font-size:14px; }
 body[data-tabletop][data-world][data-stage='welcome'] .tt-folio .question-folio .field { grid-area:2/1; height:56px; min-height:56px; max-height:220px; margin:0; padding:3px 0; font-size:18px; line-height:1.45; }
 body[data-tabletop][data-world][data-stage='welcome'] .tt-folio .field-meta { grid-area:1/2; justify-content:flex-end; align-items:center; margin:0; font-size:11px; line-height:18px; }
 body[data-tabletop][data-world][data-stage='welcome'] .tt-folio .field-meta>span:first-child { display:none; }
 body[data-tabletop][data-world][data-stage='welcome'] .tt-folio .question-folio .primary { grid-area:2/2; width:100%; min-height:56px; padding:8px 10px; margin:0; font-size:15px; line-height:1.4; }
 body[data-tabletop][data-world='ruan'][data-stage='welcome'] .tt-folio .question-folio { grid-template-columns:minmax(0,1fr) 124px; }
 body[data-tabletop][data-world='ruan'][data-stage='welcome'] .tt-folio .question-folio .primary { padding-inline:8px; }
 body[data-tabletop][data-world][data-stage='welcome'] .tt-folio .question-folio>details { grid-column:1/-1; margin-top:14px; }
 body[data-tabletop][data-world='bai'][data-stage='welcome'] .tt-folio.panel { padding:16px 0 22px; }
 body[data-tabletop][data-world='bai'][data-stage='welcome'] .world-welcome-intro { display:block; }
 body[data-tabletop][data-world='bai'][data-stage='welcome'] .world-welcome-intro .stage-heading { font-size:23px; line-height:1.4; margin:0 0 6px; }
 body[data-tabletop][data-world='bai'][data-stage='welcome'] .world-welcome-intro .bubble { display:none; }
 body[data-tabletop][data-world='bai'][data-stage='welcome'] .tt-folio .question-folio { display:block; }
 body[data-tabletop][data-world='bai'][data-stage='welcome'] .tt-folio .chips { justify-content:flex-start; gap:24px; }
 body[data-tabletop][data-world='bai'][data-stage='welcome'] .tt-folio .question-folio .field { height:62px; min-height:62px; margin-top:2px; }
 body[data-tabletop][data-world='bai'][data-stage='welcome'] .tt-folio .field-meta { margin:3px 0 9px; line-height:20px; }
 body[data-tabletop][data-world='bai'][data-stage='welcome'] .tt-folio .question-folio .primary { min-height:48px; }
 body[data-tabletop][data-world='hall'] .world-doors { padding:0; }
 body[data-tabletop][data-world='hall'] .entrance-art { position:relative; height:auto; aspect-ratio:1122/1402; }
 body[data-tabletop][data-world='hall'] .world-doors[data-entry-persona='bai'] .entrance-art { aspect-ratio:1672/1200; }
 body[data-tabletop][data-world='hall'] .world-doors .hall-story { width:auto; max-width:none; margin:0 22px; padding:20px 0; }}

@media(max-width:700px) {
 body[data-tabletop][data-world='bai'] .world-header { position:relative; inset:auto; height:58px; min-height:58px; }}
@media(max-width:360px) {
 body[data-tabletop][data-world][data-stage='welcome'] .tt-folio.panel { margin-inline:16px; }
 body[data-tabletop][data-world][data-stage='welcome'] .tt-folio .question-folio { grid-template-columns:minmax(0,1fr) 88px; column-gap:10px; }
 body[data-tabletop][data-world='ruan'][data-stage='welcome'] .tt-folio .question-folio { grid-template-columns:minmax(0,1fr) 116px; }
 body[data-tabletop][data-world='ruan'][data-stage='welcome'] .tt-folio .question-folio .primary { font-size:14px; }
 body[data-tabletop][data-world][data-stage='welcome'] .tt-folio .chips { gap:0; }
 body[data-tabletop][data-world][data-stage='welcome'] .tt-folio .chips button { font-size:13px; }}
body[data-tabletop][data-world]:is([data-tabletop-camera='near'],[data-tabletop-camera='hands']) .tt-scene { aspect-ratio:auto; height:clamp(220px,45vw,520px); }


body[data-tabletop][data-world='hall'][data-stage='choose'] .world-header { position:relative; inset:auto; height:auto; min-height:72px; }
body[data-tabletop][data-world='hall'][data-stage='choose'] main { position:relative; width:100%; max-width:none; margin:0; padding:0; }
body[data-tabletop][data-world='hall'][data-stage='choose'] .world-hall>.resume-box,body[data-tabletop][data-world='hall'][data-stage='choose'] .world-hall>.status { position:relative; inset:auto; width:min(900px,calc(100% - 44px)); min-width:0; max-width:none; margin:12px auto; padding:12px 0; color:var(--tt-light); background:var(--tt-ground); font-size:14px; line-height:1.6; }
@media(max-width:1100px) and (min-width:701px) {
 body[data-tabletop][data-world='hall'][data-stage='choose'] .world-doors[data-entry-persona] .hall-story { position:relative; inset:auto; width:min(700px,calc(100% - 44px)); min-width:0; max-width:none; margin:0 auto; padding:22px 0 35px; transform:none; }}
@media(max-width:700px) {
 body[data-tabletop][data-world='hall'][data-stage='choose'] .world-header { min-height:58px; padding:7px 17px; }
 body[data-tabletop][data-world='hall'][data-stage='choose'] .world-doors { position:relative; inset:auto; display:block; width:100%; min-width:0; max-width:none; min-height:0; margin:0; padding:0; }
 body[data-tabletop][data-world='hall'][data-stage='choose'] .world-doors[data-entry-persona] .entrance-art { position:relative; inset:auto; width:100%; height:auto; margin:0; }
 body[data-tabletop][data-world='hall'][data-stage='choose'] .world-doors[data-entry-persona] .hall-story { position:relative; inset:auto; width:calc(100% - 44px); min-width:0; max-width:none; margin:0 22px; padding:20px 0; transform:none; }
 body[data-tabletop][data-world='hall'][data-stage='choose'] .world-doors[data-entry-persona] .hall-story :is(.stage-heading,.entrance-line,.entrance-caption,.entrance-picker) { width:100%; max-width:none; margin-inline:0; }
 body[data-tabletop][data-world='hall'][data-stage='choose'] .world-doors[data-entry-persona] .hall-story .stage-heading { font-size:32px; line-height:1.4; }
 body[data-tabletop][data-world='hall'][data-stage='choose'] .world-doors[data-entry-persona] .entrance-picker { justify-content:flex-start; gap:12px 24px; }
 body[data-tabletop][data-world='hall'][data-stage='choose'] .world-doors[data-entry-persona] .entrance-start { width:100%; min-width:0; min-height:52px; }}

body[data-tabletop][data-world] .world-header .tt-room-heading[hidden] { display:none; }


@font-face { font-family:TabletopDisplaySC; src:url("/talk-assets/fonts/tt-display-sc-regular.woff") format('woff'); font-style:normal; font-weight:400; font-display:swap; }
@font-face { font-family:TabletopControlSC; src:url("/talk-assets/fonts/moon-sans-regular.woff2") format('woff2'); font-style:normal; font-weight:400; font-display:swap; }
@font-face { font-family:TabletopControlSC; src:url("/talk-assets/fonts/moon-sans-medium.woff2") format('woff2'); font-style:normal; font-weight:500; font-display:swap; }
body[data-tabletop][data-world] .tt-c-ambient { display:none; }
body[data-tabletop][data-world][data-stage='welcome'] { --tt-c-photo-height:max(720px,100svh); --tt-c-control:TabletopControlSC,'Noto Sans CJK SC','PingFang SC',sans-serif; --tt-c-display:TabletopDisplaySC,'Noto Serif CJK SC','Songti SC',serif; }
body[data-tabletop][data-world][data-stage='welcome'] .world-header { background:linear-gradient(#050b10e8,#050b1090,transparent); }
body[data-tabletop][data-world][data-stage='welcome'] .world-tools .quiet { font:400 14px/24px var(--tt-c-control); letter-spacing:0; }
body[data-tabletop][data-world][data-stage='welcome'] .world-header .tt-room-heading { display:none; }
body[data-tabletop][data-world][data-stage='welcome'] .tt-chamber { display:grid; grid-template-columns:minmax(0,1fr); isolation:isolate; background:var(--tt-c-ground); }
body[data-tabletop][data-world='ruan'][data-stage='welcome'] { --tt-c-ground:#0f130f; }
body[data-tabletop][data-world='samira'][data-stage='welcome'] { --tt-c-ground:#060910; }
body[data-tabletop][data-world='bai'][data-stage='welcome'] { --tt-c-ground:#120f0b; }
body[data-tabletop][data-world][data-stage='welcome'] .tt-stage { display:contents; }
body[data-tabletop][data-world][data-stage='welcome'] .tt-scene { grid-area:1/1; align-self:start; width:100%; height:var(--tt-c-photo-height); aspect-ratio:auto; z-index:1; }
body[data-tabletop][data-world][data-stage='welcome'] .tt-scene-tools { grid-column:1; grid-row:2; position:relative; z-index:3; }
body[data-tabletop][data-world][data-stage='welcome'] #tt-reading-guide { grid-column:1; grid-row:3; }
body[data-tabletop][data-world][data-stage='welcome'] .tt-folio.panel { grid-area:1/1; align-self:start; width:100%; max-width:none; min-height:0; margin:0; padding:0; background:transparent; }
body[data-tabletop][data-world][data-stage='welcome'] .tt-c-ambient { display:block; position:absolute; inset:0 0 auto; height:max(844px,100svh); z-index:0; pointer-events:none; overflow:hidden; background-size:cover; background-position:center; mask-image:linear-gradient(#000 calc(100% - 144px),transparent); }
body[data-tabletop][data-world='ruan'][data-stage='welcome'] .tt-c-ambient { background-image:linear-gradient(#07100bc9,#07100bc9),url("/talk-assets/rooms/ruan-scene-locked.webp"); }
body[data-tabletop][data-world='samira'][data-stage='welcome'] .tt-c-ambient { background-image:linear-gradient(#040b19b8,#040b19b8),url("/talk-assets/rooms/samira-scene-locked.webp"); }
body[data-tabletop][data-world='bai'][data-stage='welcome'] .tt-c-ambient { display:none; }
body[data-tabletop][data-world='ruan'][data-stage='welcome'] .tt-scene-shade { background:linear-gradient(90deg,#07100b80,transparent 52%); }
body[data-tabletop][data-world='samira'][data-stage='welcome'] .tt-scene-shade { background:linear-gradient(270deg,#040b196b,transparent 38%); }
body[data-tabletop][data-world='bai'][data-stage='welcome'] .tt-scene-shade { background:linear-gradient(270deg,#100d0955,transparent 42%),linear-gradient(0deg,#100d094d,transparent 32%); }
body[data-tabletop][data-world][data-stage='welcome'] .tt-c-welcome { position:relative; min-width:0; min-height:var(--tt-c-photo-height); color:#ede9df; font-family:var(--tt-c-control); font-synthesis:none; letter-spacing:0; line-break:strict; }
body[data-tabletop][data-world][data-stage='welcome'] .tt-c-welcome p { margin:0; }
body[data-tabletop][data-world][data-stage='welcome'] .tt-c-welcome .stage-heading { position:static; inset:auto; display:block; height:auto; width:auto; max-width:none; margin:0; font:400 32px/44px var(--tt-c-display); letter-spacing:0; writing-mode:horizontal-tb; text-wrap:balance; }
body[data-tabletop][data-world][data-stage='welcome'] .tt-c-identity { font:400 14px/24px var(--tt-c-control); letter-spacing:.04em; color:#d0d6c9; }
body[data-tabletop][data-world][data-stage='welcome'] .tt-c-eyebrow { font:400 12px/16px var(--tt-c-control); letter-spacing:.12em; color:#c4cddd; }
body[data-tabletop][data-world][data-stage='welcome'] .tt-c-opening { max-width:28em; font:400 14px/24px var(--tt-c-control); letter-spacing:0; color:#d1d7cb; overflow-wrap:anywhere; }
body[data-tabletop][data-world][data-stage='welcome'] .tt-c-topics { display:flex; flex-wrap:wrap; align-items:baseline; gap:0 24px; min-width:0; margin:0 0 24px; }
body[data-tabletop][data-world][data-stage='welcome'] .tt-c-topics button { position:relative; min-width:44px; min-height:44px; padding:10px 0; border:0; border-radius:0; background:transparent; font:400 14px/24px var(--tt-c-control); letter-spacing:0; white-space:nowrap; color:#c5cbbf; }
body[data-tabletop][data-world][data-stage='welcome'] .tt-c-topics button[aria-pressed='true'] { color:#fff8ea; text-decoration:underline; text-underline-offset:8px; text-decoration-thickness:1px; }
body[data-tabletop][data-world][data-stage='welcome'] .tt-c-topics #tt-preset-toggle { color:#ebe8dc; }
body[data-tabletop][data-world][data-stage='welcome'] #question-form.tt-c-form { display:block; width:100%; margin:0; min-width:0; }
body[data-tabletop][data-world][data-stage='welcome'] .tt-c-form label[for='question'] { position:static; display:block; width:auto; height:auto; padding:0; margin:0 0 12px; overflow:visible; clip:auto; clip-path:none; white-space:normal; font:400 12px/20px var(--tt-c-control); letter-spacing:0; color:#d1d7cb; }
body[data-tabletop][data-world][data-stage='welcome'] .tt-c-form .tt-c-question { display:block; width:100%; min-width:0; height:84px; min-height:84px; max-height:240px; padding:0 0 12px; margin:0; border:0; border-bottom:1px solid #c5c9b473; border-radius:0; background:transparent; color:#f4f0e7; font:400 18px/28px var(--tt-c-control); letter-spacing:0; text-align:left; resize:vertical; box-shadow:none; }
body[data-tabletop][data-world][data-stage='welcome'] .tt-c-form .tt-c-question::placeholder { color:#c4cabb; opacity:1; }
body[data-tabletop][data-world][data-stage='welcome'] .tt-c-form .tt-c-question:focus { background:transparent; border-bottom-color:#f4edda; outline-offset:6px; }
body[data-tabletop][data-world][data-stage='welcome'] .tt-c-meta { display:flex; align-items:baseline; justify-content:space-between; gap:8px 16px; margin:8px 0 0; color:#c4cbbc; font:400 12px/20px var(--tt-c-control); letter-spacing:0; }
body[data-tabletop][data-world][data-stage='welcome'] .tt-c-meta #question-count { flex:none; white-space:nowrap; }
body[data-tabletop][data-world][data-stage='welcome'] .tt-c-submit,body[data-tabletop][data-world][data-stage='welcome'] .tt-c-entry button { display:flex; align-items:center; justify-content:space-between; gap:16px; width:100%; min-height:48px; padding:10px 0; margin:24px 0 0; border:0; border-bottom:1px solid #c5c9b48c; border-radius:0; background:transparent; color:#f5f0e4; font:400 16px/24px var(--tt-c-control); letter-spacing:0; white-space:nowrap; box-shadow:none; }
body[data-tabletop][data-world][data-stage='welcome'] .tt-c-back,body[data-tabletop][data-world][data-stage='welcome'] .tt-c-return button { min-height:44px; margin:16px 0 0; padding:10px 0; border:0; background:transparent; font:400 12px/20px var(--tt-c-control); letter-spacing:0; color:#c5cbbf; }
body[data-tabletop][data-world][data-stage='welcome'] .tt-c-return { margin:0 6vw 20px; }
body[data-tabletop][data-world][data-stage='welcome'] .tt-c-presets { margin:24px 0 0; padding:0; border:0; background:transparent; }
body[data-tabletop][data-world][data-stage='welcome'] .tt-c-presets:not([hidden])+.tt-c-form { margin-top:32px; }
body[data-tabletop][data-world][data-stage='welcome'] .tt-c-preset-heading { display:flex; align-items:baseline; justify-content:space-between; gap:16px; font:400 12px/20px var(--tt-c-control); color:#d1d7cb; }
body[data-tabletop][data-world][data-stage='welcome'] .tt-c-presets button { min-height:44px; padding:10px 0; border:0; border-radius:0; background:transparent; font:400 14px/24px var(--tt-c-control); color:#f1eee3; letter-spacing:0; text-align:left; }
body[data-tabletop][data-world][data-stage='welcome'] .tt-c-presets #tt-presets-close { flex:none; min-width:44px; text-align:right; font-size:12px; }
body[data-tabletop][data-world][data-stage='welcome'] .tt-c-preset-list button { display:block; width:100%; border-bottom:1px solid #c5c9b43d; white-space:normal; overflow-wrap:anywhere; }
body[data-tabletop][data-world][data-stage='welcome'] .tt-c-presets #tt-presets-more { text-decoration:underline; text-underline-offset:6px; }


body[data-tabletop][data-world='ruan'][data-stage='welcome'] .tt-c-welcome { display:grid; grid-template-columns:10% minmax(0,34%) 1fr; grid-template-rows:minmax(144px,20svh) auto minmax(56px,1fr) auto 64px; }
body[data-tabletop][data-world='ruan'][data-stage='welcome'] .tt-c-intro { grid-area:2/2; display:flex; align-items:flex-start; gap:24px; }
body[data-tabletop][data-world='ruan'][data-stage='welcome'] .tt-c-intro .tt-c-title { writing-mode:vertical-rl; text-orientation:upright; font-size:44px; line-height:56px; letter-spacing:.12em; white-space:nowrap; }
body[data-tabletop][data-world='ruan'][data-stage='welcome'] .tt-c-intro .tt-c-identity { writing-mode:vertical-rl; text-orientation:upright; white-space:nowrap; padding-top:8px; }
body[data-tabletop][data-world='ruan'][data-stage='welcome'] .tt-c-motto { writing-mode:vertical-rl; font:400 12px/24px var(--tt-c-control); letter-spacing:.04em; padding-top:8px; color:#c6cebc; }
body[data-tabletop][data-world='ruan'][data-stage='welcome'] .tt-c-topics { grid-area:2/1; align-self:center; justify-self:center; flex-direction:column; align-items:flex-start; gap:8px; margin:0; }
body[data-tabletop][data-world='ruan'][data-stage='welcome'] .tt-c-writing { grid-area:4/2; min-width:0; }
body[data-tabletop][data-world='ruan'][data-stage='welcome'] .tt-c-opening { grid-area:3/2; align-self:end; margin:16px 0 24px; }


body[data-tabletop][data-world='samira'][data-stage='welcome'] .tt-c-welcome { display:grid; grid-template-columns:5.5% minmax(0,1fr) 25% 5%; grid-template-rows:minmax(160px,24svh) auto minmax(64px,1fr) auto minmax(64px,10svh); }
body[data-tabletop][data-world='samira'][data-stage='welcome'] .tt-c-welcome>.tt-c-identity { grid-area:2/2; justify-self:start; writing-mode:vertical-rl; text-orientation:upright; }
body[data-tabletop][data-world='samira'][data-stage='welcome'] .tt-c-entry,body[data-tabletop][data-world='samira'][data-stage='welcome'] .tt-c-writing { grid-area:2/3; min-width:0; }
body[data-tabletop][data-world='samira'][data-stage='welcome'] .tt-c-input-title { margin-bottom:24px; }
body[data-tabletop][data-world='samira'][data-stage='welcome'] .tt-c-topics { column-gap:16px; }
body[data-tabletop][data-world='samira'][data-stage='welcome'] .tt-c-subtitle { grid-area:4/2; }
body[data-tabletop][data-world='samira'][data-stage='welcome'] .tt-c-subtitle .tt-c-title { margin:16px 0 0; font:400 28px/40px var(--tt-c-display); letter-spacing:.04em; }
body[data-tabletop][data-world='samira'][data-stage='welcome'] .tt-c-subtitle .tt-c-opening { margin-top:16px; }
body[data-tabletop][data-world='samira'][data-stage='welcome'] .tt-c-welcome[data-welcome-state='input'] .tt-c-subtitle { display:none; }


body[data-tabletop][data-world='bai'][data-stage='welcome'] .tt-c-welcome { display:grid; grid-template-columns:64% minmax(0,30%) 6%; grid-template-rows:minmax(120px,17svh) auto minmax(24px,1fr) auto auto 72px; }
body[data-tabletop][data-world='bai'][data-stage='welcome'] .tt-c-intro { grid-area:2/2; margin-left:6%; }
body[data-tabletop][data-world='bai'][data-stage='welcome'] .tt-c-intro .tt-c-title { margin-top:16px; font-size:68px; line-height:80px; letter-spacing:.04em; white-space:nowrap; }
body[data-tabletop][data-world='bai'][data-stage='welcome'] .tt-c-welcome>.tt-c-opening { grid-area:4/2; max-width:18em; margin:0 0 24px 20%; text-wrap:balance; }
body[data-tabletop][data-world='bai'][data-stage='welcome'] .tt-c-writing { grid-area:5/2; min-width:0; }
body[data-tabletop][data-world='bai'][data-stage='welcome'] .tt-c-topics { column-gap:16px; margin-bottom:16px; }
body[data-tabletop][data-world='bai'][data-stage='welcome'] #question-form.tt-c-form { display:block; width:min(100%,294px); }
body[data-tabletop][data-world='bai'][data-stage='welcome'] .tt-c-form .tt-c-label,body[data-tabletop][data-world='bai'][data-stage='welcome'] .tt-c-form .tt-c-question,body[data-tabletop][data-world='bai'][data-stage='welcome'] .tt-c-form .tt-c-meta { grid-column:1; }
body[data-tabletop][data-world='bai'][data-stage='welcome'] .tt-c-meta { flex-wrap:wrap; }

@media(max-width:900px) and (min-width:701px) {
 body[data-tabletop][data-world][data-stage='welcome'] { --tt-c-photo-height:62.5vw; }
 body[data-tabletop][data-world][data-stage='welcome'] .tt-folio.panel { margin-top:var(--tt-c-photo-height); }
 body[data-tabletop][data-world][data-stage='welcome'] .tt-c-welcome { min-height:0; padding:32px 6vw 40px; }
 body[data-tabletop][data-world='ruan'][data-stage='welcome'] .tt-c-welcome { grid-template-columns:96px minmax(0,1fr); grid-template-rows:auto auto auto; gap:24px; }
 body[data-tabletop][data-world='ruan'][data-stage='welcome'] .tt-c-intro { grid-area:2/1; gap:12px; }
 body[data-tabletop][data-world='ruan'][data-stage='welcome'] .tt-c-intro .tt-c-identity,body[data-tabletop][data-world='ruan'][data-stage='welcome'] .tt-c-motto { display:none; }
 body[data-tabletop][data-world='ruan'][data-stage='welcome'] .tt-c-topics { grid-area:1/1/2/3; justify-self:start; flex-direction:row; gap:24px; }
 body[data-tabletop][data-world='ruan'][data-stage='welcome'] .tt-c-writing { grid-area:2/2; }
 body[data-tabletop][data-world='ruan'][data-stage='welcome'] .tt-c-opening { grid-area:3/2; margin:0; }
 body[data-tabletop][data-world='samira'][data-stage='welcome'] .tt-c-welcome { grid-template-columns:minmax(0,1fr) minmax(0,1fr); grid-template-rows:auto auto; gap:32px; }
 body[data-tabletop][data-world='samira'][data-stage='welcome'] .tt-c-welcome>.tt-c-identity { grid-area:1/1; writing-mode:horizontal-tb; }
 body[data-tabletop][data-world='samira'][data-stage='welcome'] .tt-c-entry,body[data-tabletop][data-world='samira'][data-stage='welcome'] .tt-c-writing { grid-area:1/2/3/3; }
 body[data-tabletop][data-world='samira'][data-stage='welcome'] .tt-c-subtitle { grid-area:2/1; }
 body[data-tabletop][data-world='bai'][data-stage='welcome'] .tt-c-welcome { grid-template-columns:minmax(0,1fr) minmax(0,1.3fr); grid-template-rows:auto auto; gap:24px 40px; }
 body[data-tabletop][data-world='bai'][data-stage='welcome'] .tt-c-intro { grid-area:1/1; margin:0; }
 body[data-tabletop][data-world='bai'][data-stage='welcome'] .tt-c-welcome>.tt-c-opening { grid-area:2/1; margin:0; }
 body[data-tabletop][data-world='bai'][data-stage='welcome'] .tt-c-writing { grid-area:1/2/3/3; }}
@media(max-width:700px) {
 body[data-tabletop][data-world][data-stage='welcome'] { --tt-c-photo-height:calc(100vw * 1402 / 1122); }
 body[data-tabletop][data-world][data-stage='welcome'] .world-header { position:relative; inset:auto; height:58px; min-height:58px; background:#070d10; }
 body[data-tabletop][data-world][data-stage='welcome'] .tt-scene { height:auto; aspect-ratio:1122/1402; mask-image:linear-gradient(#000 94%,transparent); }
 body[data-tabletop][data-world][data-stage='welcome'] .tt-folio.panel { margin-top:calc(100% * 1402 / 1122); }
 body[data-tabletop][data-world][data-stage='welcome'] .tt-c-welcome { min-height:0; padding:16px 24px 32px; }
 body[data-tabletop][data-world][data-stage='welcome'] .tt-c-welcome .stage-heading { font-size:24px; line-height:32px; }
 body[data-tabletop][data-world][data-stage='welcome'] .tt-c-topics { flex-wrap:wrap; column-gap:16px; margin-bottom:24px; }
 body[data-tabletop][data-world][data-stage='welcome'] .tt-c-topics button { font-size:14px; line-height:24px; }
 body[data-tabletop][data-world][data-stage='welcome'] .tt-c-form .tt-c-question { font-size:16px; line-height:28px; }
 body[data-tabletop][data-world][data-stage='welcome'] .tt-c-submit { margin-top:20px; }
 body[data-tabletop][data-world][data-stage='welcome'] .tt-c-return { margin:0 24px 20px; }
 body[data-tabletop][data-world='ruan'][data-stage='welcome'] .tt-c-welcome { display:grid; grid-template-columns:80px minmax(0,1fr); grid-template-rows:auto auto auto; gap:20px 24px; }
 body[data-tabletop][data-world='ruan'][data-stage='welcome'] .tt-c-topics { grid-area:1/1/2/3; justify-self:start; flex-direction:row; align-items:baseline; gap:0 16px; margin:0; }
 body[data-tabletop][data-world='ruan'][data-stage='welcome'] .tt-c-intro { grid-area:2/1; display:flex; gap:8px; }
 body[data-tabletop][data-world='ruan'][data-stage='welcome'] .tt-c-intro .tt-c-title { font-size:30px; line-height:42px; letter-spacing:.12em; }
 body[data-tabletop][data-world='ruan'][data-stage='welcome'] .tt-c-intro .tt-c-identity { order:2; padding-top:0; }
 body[data-tabletop][data-world='ruan'][data-stage='welcome'] .tt-c-motto { display:none; }
 body[data-tabletop][data-world='ruan'][data-stage='welcome'] .tt-c-writing { grid-area:2/2; }
 body[data-tabletop][data-world='ruan'][data-stage='welcome'] .tt-c-opening { grid-area:3/2; margin:0; }
 body[data-tabletop][data-world='ruan'][data-stage='welcome'] .tt-c-meta { flex-wrap:wrap; gap:0 12px; }
 body[data-tabletop][data-world='samira'][data-stage='welcome'] .tt-c-welcome { display:flex; flex-direction:column; gap:32px; padding-top:24px; }
 body[data-tabletop][data-world='samira'][data-stage='welcome'] .tt-c-welcome>.tt-c-identity { position:absolute; left:20px; top:calc(-1 * var(--tt-c-photo-height) + 32px); writing-mode:vertical-rl; text-orientation:upright; }
 body[data-tabletop][data-world='samira'][data-stage='welcome'] .tt-c-subtitle .tt-c-title { font-size:28px; line-height:40px; }
 body[data-tabletop][data-world='samira'][data-stage='welcome'] .tt-c-input-title { margin-bottom:24px; }
 body[data-tabletop][data-world='bai'][data-stage='welcome'] { --tt-c-photo-height:calc(100vw * 350 / 390); }
 body[data-tabletop][data-world='bai'][data-stage='welcome'] .world-header { position:absolute; inset:0 0 auto; background:linear-gradient(#080b1073,transparent); }
 body[data-tabletop][data-world='bai'][data-stage='welcome'] .tt-scene { height:auto; aspect-ratio:390/350; margin-top:0; background:#120f0b; mask-image:linear-gradient(#000 85%,#000c 89%,#0006 94%,transparent); }
 body[data-tabletop][data-world='bai'][data-stage='welcome'] .tt-scene-shade { background:none; }
 body[data-tabletop][data-world='bai'][data-stage='welcome'] .tt-folio.panel { margin-top:0; }
 body[data-tabletop][data-world='bai'][data-stage='welcome'] .tt-c-welcome { display:flex; flex-direction:column; gap:0; padding-top:calc(100% * 350 / 390); }
 body[data-tabletop][data-world='bai'][data-stage='welcome'] .tt-c-intro { position:absolute; top:76px; left:57%; right:24px; margin:0; min-height:0; }
 body[data-tabletop][data-world='bai'][data-stage='welcome'] .tt-c-intro .tt-c-identity { font-size:12px; line-height:20px; letter-spacing:0; }
 body[data-tabletop][data-world='bai'][data-stage='welcome'] .tt-c-intro .tt-c-title { font-size:clamp(36px,11.8vw,46px); line-height:56px; margin-top:8px; }
 body[data-tabletop][data-world='bai'][data-stage='welcome'] .tt-c-welcome>.tt-c-opening { align-self:flex-end; width:60%; max-width:18em; margin:39px 0 64px; font-size:16px; line-height:28px; }
 body[data-tabletop][data-world='bai'][data-stage='welcome'] .tt-c-welcome[data-presets-open='true']>.tt-c-opening { margin-bottom:36px; }
 body[data-tabletop][data-world='bai'][data-stage='welcome'] .tt-c-writing { width:100%; }
 body[data-tabletop][data-world='bai'][data-stage='welcome'] #question-form.tt-c-form { width:100%; }
 body[data-tabletop][data-world='bai'][data-stage='welcome'] .tt-c-topics { margin-bottom:24px; }
 body[data-tabletop][data-world='bai'][data-stage='welcome'] .tt-c-submit { margin:0; }
 body[data-tabletop][data-world='bai'][data-stage='welcome'] .tt-c-welcome[data-presets-open='true'] #question-form.tt-c-form { display:block; }}
@media(max-width:360px) {
 body[data-tabletop][data-world][data-stage='welcome'] .tt-c-welcome { padding-inline:16px; }
 body[data-tabletop][data-world='ruan'][data-stage='welcome'] .tt-c-welcome { grid-template-columns:80px minmax(0,1fr); column-gap:16px; }
 body[data-tabletop][data-world][data-stage='welcome'] .tt-c-topics { column-gap:12px; }
 body[data-tabletop][data-world='bai'][data-stage='welcome'] .tt-c-intro { right:16px; }}


body[data-tabletop][data-world]:not([data-world='hall']):not([data-stage='welcome']) .world-header{position:relative;inset:auto;min-height:72px}
body[data-tabletop][data-world]:not([data-world='hall']):not([data-stage='welcome']) .tt-chamber{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);column-gap:clamp(28px,4vw,72px);padding:24px 4.5vw 0;align-items:start}
body[data-tabletop][data-world]:not([data-world='hall']):not([data-stage='welcome']) .tt-stage{display:contents}
body[data-tabletop][data-world]:not([data-world='hall']):not([data-stage='welcome']) .tt-scene{grid-column:1;grid-row:1;aspect-ratio:8/5;height:auto;min-width:0}
body[data-tabletop][data-world]:not([data-world='hall']):not([data-stage='welcome']) .tt-scene-tools{grid-column:1;grid-row:2;padding:8px 0;background:transparent}
body[data-tabletop][data-world]:not([data-world='hall']):not([data-stage='welcome']) #tt-reading-guide{display:none}
body[data-tabletop][data-world]:not([data-world='hall']):not([data-stage='welcome']) .tt-results{grid-column:1;grid-row:3;width:100%;margin:24px 0;min-width:0;background:transparent}
body[data-tabletop][data-world]:not([data-world='hall']):not([data-stage='welcome']) .tt-folio.panel{grid-column:2;grid-row:1/4;width:100%;margin:0;padding:0 0 40px;min-width:0;background:transparent}
body[data-tabletop][data-world]:not([data-world='hall']):not([data-stage='welcome']) .tt-result-cards{grid-template-columns:repeat(auto-fit,minmax(105px,1fr));max-width:none;gap:20px 16px;margin:20px 0}
body[data-tabletop][data-world]:not([data-world='hall']):not([data-stage='welcome']) .tt-result-cards[data-tt-count='1']{max-width:160px;grid-template-columns:1fr}
body[data-tabletop][data-world]:not([data-world='hall']):not([data-stage='welcome']) .tt-slot{min-width:0}
body[data-tabletop][data-world]:not([data-world='hall']):not([data-stage='welcome']) .tt-card{width:100%;max-width:160px;margin-inline:auto}
body[data-tabletop][data-world]:not([data-world='hall']):not([data-stage='welcome']) .tt-folio .stage-heading{font-family:TabletopDisplaySC,'Songti SC',serif;font-weight:400;font-size:clamp(25px,2.4vw,34px)}
body[data-tabletop][data-world]:not([data-world='hall']):not([data-stage='welcome']) .tt-folio .bubble{font-size:17px;line-height:1.9}
@media(max-width:1099px){
 body[data-tabletop][data-world]:not([data-world='hall']):not([data-stage='welcome']) .tt-chamber{display:flex;flex-direction:column;padding:0 24px;gap:0}
 body[data-tabletop][data-world]:not([data-world='hall']):not([data-stage='welcome']) .tt-scene{order:0;width:100%;aspect-ratio:8/5;height:auto;mask-image:linear-gradient(#000 94%,transparent)}
 body[data-tabletop][data-world]:not([data-world='hall']):not([data-stage='welcome']) .tt-scene-tools{order:1;width:100%;gap:0;padding:8px 0}
 body[data-tabletop][data-world]:not([data-world='hall']):not([data-stage='welcome']) #tt-reading-guide{display:block;order:2;width:100%}
 body[data-tabletop][data-world]:not([data-world='hall']):not([data-stage='welcome']) .tt-reading-cue{width:100%;margin:8px 0 12px}
 body[data-tabletop][data-world]:not([data-world='hall']):not([data-stage='welcome']) .tt-folio.panel{order:3;width:100%;margin:0}
 body[data-tabletop][data-world]:not([data-world='hall']):not([data-stage='welcome']) .tt-results{order:4;width:100%;margin:24px 0}
 body[data-tabletop][data-world][data-stage='draw'] .tt-results{order:3}
 body[data-tabletop][data-world][data-stage='draw'] .tt-folio.panel{order:4}
 body[data-tabletop][data-world]:not([data-world='hall']):not([data-stage='welcome']) .tt-result-cards{display:grid;grid-auto-flow:column;grid-auto-columns:120px;grid-template-columns:none;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;padding:4px 2px 16px;gap:16px}
 body[data-tabletop][data-world]:not([data-world='hall']):not([data-stage='welcome']) .tt-slot{scroll-snap-align:start}
 body[data-tabletop][data-world]:not([data-world='hall']):not([data-stage='welcome']) .tt-cameras{gap:18px}
 body[data-tabletop][data-world]:not([data-world='hall']):not([data-stage='welcome']) .tt-scene-tools p{font-size:12px}}
@media(max-width:360px){body[data-tabletop][data-world]:not([data-world='hall']):not([data-stage='welcome']) .tt-chamber{padding-inline:16px}}
body[data-tabletop][data-world] .tt-position-overview{margin:16px 0;padding:0;border:0;background:transparent}
body[data-tabletop][data-world] .tt-position-overview>summary{min-height:44px;display:flex;align-items:center;padding:8px 0;font-size:14px;color:var(--tt-muted);cursor:pointer;border-bottom:1px solid var(--tt-line)}
body[data-tabletop][data-world] .tt-position-overview[open]>summary{color:var(--tt-light)}
body[data-tabletop][data-world] .tt-position-overview>summary:focus-visible{outline:2px solid var(--ml-focus);outline-offset:4px}
body[data-tabletop][data-world] .tt-face-load-note{margin:8px 0;font-size:14px;line-height:1.6;color:var(--tt-muted)}
body[data-tabletop][data-world] .tt-face-retry{font-size:14px;min-height:44px;padding:8px 0;border:0;border-bottom:1px solid var(--tt-line)}
body[data-tabletop][data-world] .tt-detail-face .tt-face-load-note,body[data-tabletop][data-world] .tt-detail-face .tt-face-retry{grid-column:1/-1}

body[data-tabletop][data-world] .tt-scene[data-scene-status]:not([data-scene-status='ready']) .tt-locked-environment{opacity:0}
body[data-tabletop][data-world] .tt-scene[data-scene-status='ready'] .tt-locked-environment{opacity:1;transition:opacity .35s ease}
body[data-tabletop][data-world] .tt-scene-load{position:absolute;z-index:8;left:16px;bottom:16px;max-width:min(280px,calc(100% - 32px));padding:7px 10px;color:#e7eceb;background:#071016c9;border:1px solid #b5c8ce33;border-radius:2px}
body[data-tabletop][data-world] .tt-scene-load p{margin:0;font:400 14px/1.5 var(--ml-sans)}
body[data-tabletop][data-world] .tt-scene-load button{min-height:44px;padding:7px 0;margin:2px 0 0;border:0;border-bottom:1px solid #bbd0d366;border-radius:0;font-size:14px;background:none}
body[data-tabletop][data-world][data-stage='welcome'] .tt-scene-load{left:24px;top:80px;bottom:auto}
body[data-tabletop][data-world='bai'][data-stage='welcome'] .tt-scene-load{left:auto;right:24px}
body[data-tabletop][data-world] .tt-scene-load[hidden]{display:none}
@media(min-width:1100px){
 body[data-tabletop][data-world]:not([data-world='hall']):not([data-stage='welcome']) .tt-stage{display:block;grid-column:1;grid-row:1;position:sticky;top:16px;align-self:start;max-height:calc(100svh - 32px);overflow:auto;overscroll-behavior-y:contain;scrollbar-width:thin;padding-right:4px}
 body[data-tabletop][data-world]:not([data-world='hall']):not([data-stage='welcome']) .tt-folio.panel{grid-row:1}}
@media(prefers-reduced-motion:reduce){body[data-tabletop][data-world] .tt-scene .tt-locked-environment{transition:none}}
body.reduced[data-tabletop][data-world] .tt-scene .tt-locked-environment{transition:none}

.scene-entry-veil{position:fixed;inset:0;z-index:60;display:grid;place-items:center;padding:24px;background:#08101558;backdrop-filter:blur(2px)}
.scene-entry-invitation{max-width:420px;padding:30px 34px;background:#0b141ae6;border:1px solid #a4bec22e;color:#e8e9e3;text-align:center;box-shadow:0 24px 90px #0005}
body[data-world] .scene-entry-invitation h2{font:400 clamp(24px,4vw,34px)/1.5 var(--ml-serif);margin:10px 0 18px}
body[data-world] .scene-entry-invitation p{font:400 15px/1.8 var(--ml-sans);color:#c0c9c8;margin:12px 0}
body[data-world] .scene-entry-invitation button{display:inline-block;min-height:44px;margin:6px 10px;padding:8px 0;border:0;border-bottom:1px solid #adbbc866;background:none;color:#e2e8e4;font:400 15px/1.5 var(--ml-sans)}
.scene-entry-invitation button[hidden]{display:none}
.scene-entry-invitation :focus-visible{outline:2px solid #d8b4b0;outline-offset:5px}
@media(min-width:1100px){
 body[data-tabletop][data-world]:not([data-world='hall']):not([data-stage='welcome']) .tt-stage{display:flex;flex-direction:column;height:calc(100svh - 32px);max-height:none;overflow:visible;padding-right:0}
 body[data-tabletop][data-world]:not([data-world='hall']):not([data-stage='welcome']) .tt-scene{flex:0 0 clamp(210px,42svh,420px);height:clamp(210px,42svh,420px);aspect-ratio:auto}
 body[data-tabletop][data-world]:not([data-world='hall']):not([data-stage='welcome']) .tt-scene-tools{flex:0 0 auto}
 body[data-tabletop][data-world]:not([data-world='hall']):not([data-stage='welcome']) #tt-reading-guide{flex:0 0 auto}
 body[data-tabletop][data-world]:not([data-world='hall']):not([data-stage='welcome']) .tt-results{flex:1 1 0;min-height:0;margin:12px 0 0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
 body[data-tabletop][data-world]:not([data-world='hall']):not([data-stage='welcome']) .tt-result-cards{display:grid;grid-auto-flow:column;grid-auto-columns:112px;grid-template-columns:none;overflow-x:auto;overflow-y:hidden;gap:14px;padding:4px 2px 14px;scroll-snap-type:x proximity}
 body[data-tabletop][data-world]:not([data-world='hall']):not([data-stage='welcome']) .tt-slot{scroll-snap-align:center}}
@media(max-width:1099px){
 body[data-tabletop][data-world][data-stage='read'] .tt-scene,
 body[data-tabletop][data-world][data-stage='summary'] .tt-scene,
 body[data-tabletop][data-world][data-stage='journal'] .tt-scene{position:sticky;top:0;z-index:6;flex:0 0 auto;height:clamp(140px,28svh,220px);aspect-ratio:auto;background:#0b1115;mask-image:none;border-bottom:1px solid #a5bec522}}

@media(min-width:1100px){
 body[data-tabletop][data-world]:not([data-world='hall']):not([data-stage='welcome']) .tt-scene{flex-basis:clamp(210px,35svh,360px);height:clamp(210px,35svh,360px)}
 body[data-tabletop][data-world]:not([data-world='hall']):not([data-stage='welcome']) .tt-results{display:flex;flex-direction:column;flex:1 1 auto;overflow:visible;gap:6px}
 body[data-tabletop][data-world]:not([data-world='hall']):not([data-stage='welcome']) .tt-results[hidden]{display:none}
 body[data-tabletop][data-world]:not([data-world='hall']):not([data-stage='welcome']) .tt-results h2{margin:0;font:400 17px/1.5 var(--ml-serif)}
 body[data-tabletop][data-world]:not([data-world='hall']):not([data-stage='welcome']) .tt-deck-disclosure{margin:0;font:400 12px/1.5 var(--ml-sans);color:var(--tt-muted)}
 body[data-tabletop][data-world]:not([data-world='hall']):not([data-stage='welcome']) .tt-result-cards{flex:0 0 auto;height:calc(clamp(78px,13svh,112px) * 12 / 7 + 58px);grid-auto-columns:clamp(78px,13svh,112px);padding:5px 2px 12px;overflow-y:hidden;align-items:start}
 body[data-tabletop][data-world]:not([data-world='hall']):not([data-stage='welcome']) .tt-card-caption{margin:7px 0 0;font-size:12px;line-height:1.5}
 body[data-tabletop][data-world]:not([data-world='hall']):not([data-stage='welcome']) .tt-card-caption small{font-size:11px;line-height:1.5}
 body[data-tabletop][data-world]:not([data-world='hall']):not([data-stage='welcome']) .tt-paths{gap:14px;margin:0}
 body[data-tabletop][data-world]:not([data-world='hall']):not([data-stage='welcome']) .tt-paths button{padding:6px 0;font-size:13px;min-height:36px;background:none;border:0;border-bottom:1px solid var(--tt-line);border-radius:0}}
body[data-tabletop][data-world] .tt-reading-help{margin:6px 0 0;font:400 12px/1.5 var(--ml-sans);color:var(--tt-muted)}
@media(max-width:1099px){
 body[data-tabletop][data-world][data-stage='read'] .tt-folio :is(h1,h2,h3,p,.status-box,.field,button),
 body[data-tabletop][data-world][data-stage='summary'] .tt-folio :is(h1,h2,h3,p,.status-box,.field,button),
 body[data-tabletop][data-world][data-stage='journal'] .tt-folio :is(h1,h2,h3,p,.status-box,.field,button){scroll-margin-top:calc(clamp(140px,28svh,220px) + 20px);scroll-margin-bottom:20px}}
body[data-tabletop][data-world] .tt-result-cards .tt-slot{position:relative}
body[data-tabletop][data-world] .tt-result-cards .tt-face-load-note{position:absolute;z-index:4;top:30%;left:2px;right:2px;margin:0;padding:5px;color:#e5e7e1;background:#0a1114e8;font-size:11px;line-height:1.45}
body[data-tabletop][data-world] .tt-result-cards .tt-face-retry{position:absolute;z-index:5;top:58%;left:3px;right:3px;width:calc(100% - 6px);min-height:36px;margin:0;padding:5px 1px;background:#0a1114ed;font-size:11px}
body[data-tabletop][data-world] .tt-result-cards :is(.tt-face-load-note,.tt-face-retry)[hidden]{display:none}

@media(max-width:1099px){
 body[data-tabletop][data-world][data-stage='operation'] .tt-scene{position:sticky;top:0;z-index:6;flex:0 0 auto;height:clamp(140px,28svh,220px);aspect-ratio:auto;background:#0b1115;mask-image:none;border-bottom:1px solid #a5bec522}
 body[data-tabletop][data-world][data-stage='operation'] .tt-folio :is(h1,h2,h3,p,.status-box,.field,button){scroll-margin-top:calc(clamp(140px,28svh,220px) + 28px);scroll-margin-bottom:28px}
 body[data-tabletop][data-world][data-stage='read'] .tt-folio :is(h1,h2,h3,p,.status-box,.field,button),body[data-tabletop][data-world][data-stage='summary'] .tt-folio :is(h1,h2,h3,p,.status-box,.field,button),body[data-tabletop][data-world][data-stage='journal'] .tt-folio :is(h1,h2,h3,p,.status-box,.field,button){scroll-margin-top:calc(clamp(140px,28svh,220px) + 28px)}}
body[data-tabletop][data-world] .tt-operation-flow>.bubble.user{margin:16px 0 24px;color:var(--tt-light)}


body[data-tabletop][data-world][data-stage='welcome'] .world-header .world-brand small{display:none}
body[data-tabletop][data-world][data-stage='welcome'] .tt-c-form label[for='question']{margin-bottom:8px;font-size:11px;line-height:16px;color:#c1c7bc}
body[data-tabletop][data-world][data-stage='welcome'] .tt-c-form .tt-c-question{height:48px;min-height:48px;max-height:144px;padding:0 0 8px;font-size:16px;line-height:24px;resize:vertical;overflow-y:auto}
body[data-tabletop][data-world][data-stage='welcome'] .tt-c-form .tt-c-question:focus{outline:none;border-bottom:2px solid #e4e5cf;box-shadow:0 1px 0 #e4e5cf;background:transparent}
body[data-tabletop][data-world][data-stage='welcome'] .tt-c-form:focus-within label[for='question']{color:#f1eedc}
body[data-tabletop][data-world][data-stage='welcome'] .tt-c-meta{margin-top:8px;font-size:11px;line-height:16px;color:#b8c1b7;gap:8px;flex-wrap:nowrap}
body[data-tabletop][data-world][data-stage='welcome'] .tt-c-submit{margin-top:16px;padding:8px 0;min-height:44px}
body[data-tabletop][data-world][data-stage='welcome'] .tt-c-back{margin-top:8px}
body[data-tabletop][data-world='ruan'][data-stage='welcome'] .tt-c-opening,body[data-tabletop][data-world='samira'][data-stage='welcome'] .tt-c-subtitle .tt-c-opening{display:none}
body[data-tabletop][data-world='samira'][data-stage='welcome'] .tt-c-welcome .tt-c-input-title{font-size:24px;line-height:32px;margin-bottom:16px}
body[data-tabletop][data-world='samira'][data-stage='welcome'] .tt-c-topics{margin-bottom:16px}
@media(min-width:901px){
 body[data-tabletop][data-world][data-stage='welcome'] .tt-c-welcome{position:relative;display:block;height:var(--tt-c-photo-height);min-height:var(--tt-c-photo-height)}
 body[data-tabletop][data-world='ruan'][data-stage='welcome'] .tt-c-intro{position:absolute;left:10%;top:calc(var(--tt-c-photo-height) * .20);gap:24px}
 body[data-tabletop][data-world='ruan'][data-stage='welcome'] .tt-c-topics{position:absolute;left:2.5%;top:calc(var(--tt-c-photo-height) * .20);margin:0}
 body[data-tabletop][data-world='ruan'][data-stage='welcome'] .tt-c-writing{position:absolute;left:10%;top:calc(var(--tt-c-photo-height) * .58);width:34%;max-width:440px}
 body[data-tabletop][data-world='samira'][data-stage='welcome'] .tt-c-welcome>.tt-c-identity{position:absolute;left:5.5%;top:calc(var(--tt-c-photo-height) * .24)}
 body[data-tabletop][data-world='samira'][data-stage='welcome'] .tt-c-entry,body[data-tabletop][data-world='samira'][data-stage='welcome'] .tt-c-writing{position:absolute;left:70%;right:5%;top:calc(var(--tt-c-photo-height) * .24)}
 body[data-tabletop][data-world='samira'][data-stage='welcome'] .tt-c-subtitle{position:absolute;left:5.5%;bottom:14%}
 body[data-tabletop][data-world='bai'][data-stage='welcome'] .tt-c-intro{position:absolute;left:66%;right:6%;top:calc(var(--tt-c-photo-height) * .12);margin:0}
 body[data-tabletop][data-world='bai'][data-stage='welcome'] .tt-c-intro .tt-c-title{margin-top:8px;font-size:clamp(44px,4.9vw,64px);line-height:1.2}
 body[data-tabletop][data-world='bai'][data-stage='welcome'] .tt-c-welcome>.tt-c-opening{position:absolute;left:72%;top:calc(var(--tt-c-photo-height) * .32);width:12em;max-width:20%;margin:0;font-size:14px;line-height:24px;text-wrap:balance}
 body[data-tabletop][data-world='bai'][data-stage='welcome'] .tt-c-writing{position:absolute;left:64%;right:6%;top:calc(var(--tt-c-photo-height) * .39);min-width:0}
 body[data-tabletop][data-world='bai'][data-stage='welcome'] .tt-c-topics{margin-bottom:8px}
 body[data-tabletop][data-world='bai'][data-stage='welcome'] #question-form.tt-c-form{position:relative;width:min(100%,272px);max-width:272px;}
 body[data-tabletop][data-world='bai'][data-stage='welcome'] .tt-c-meta{justify-content:flex-start;gap:16px}
 body[data-tabletop][data-world='bai'][data-stage='welcome'] .tt-c-meta #question-count{position:static;margin:0;margin-left:auto}}
@media(min-width:901px){
 body[data-tabletop][data-world][data-stage='welcome'] .tt-c-welcome[data-presets-open='true']{display:flow-root;height:auto;min-height:var(--tt-c-photo-height)}
 body[data-tabletop][data-world='ruan'][data-stage='welcome'] .tt-c-welcome[data-presets-open='true'] .tt-c-writing{position:relative;top:auto;left:auto;right:auto;margin-top:calc(var(--tt-c-photo-height) * .58);margin-left:10%;width:34%}
 body[data-tabletop][data-world='samira'][data-stage='welcome'] .tt-c-welcome[data-presets-open='true'] .tt-c-writing{position:relative;top:auto;left:auto;right:auto;margin-top:calc(var(--tt-c-photo-height) * .24);margin-left:70%;width:25%}
 body[data-tabletop][data-world='bai'][data-stage='welcome'] .tt-c-welcome[data-presets-open='true'] .tt-c-writing{position:relative;top:auto;left:auto;right:auto;margin-top:calc(var(--tt-c-photo-height) * .39);margin-left:64%;width:30%;max-width:360px}
 body[data-tabletop][data-world='bai'][data-stage='welcome'] .tt-c-presets{max-width:200px}}
@media(min-width:701px) and (max-width:900px){
 body[data-tabletop][data-world][data-stage='welcome'] .tt-c-welcome{padding:24px 6vw 32px}
 body[data-tabletop][data-world='ruan'][data-stage='welcome'] .tt-c-intro .tt-c-title{font-size:36px;line-height:44px}
 body[data-tabletop][data-world='bai'][data-stage='welcome'] .tt-c-intro .tt-c-title{font-size:48px;line-height:58px}
 body[data-tabletop][data-world='samira'][data-stage='welcome'] .tt-c-writing{min-width:240px}}
@media(max-width:700px){
 body[data-tabletop][data-world][data-stage='welcome'] .tt-c-welcome{padding-bottom:24px}
 body[data-tabletop][data-world='ruan'][data-stage='welcome'] .tt-c-welcome{gap:16px}
 body[data-tabletop][data-world='bai'][data-stage='welcome'] .tt-c-welcome>.tt-c-opening{margin:24px 0 32px;line-height:24px}
 body[data-tabletop][data-world='bai'][data-stage='welcome'] .tt-c-welcome[data-presets-open='true']>.tt-c-opening{margin-bottom:24px}
 body[data-tabletop][data-world='bai'][data-stage='welcome'] .tt-c-topics{margin-bottom:16px}}