.topbar .mobile-brand {
  display: none;
}
@media (max-width: 680px) {
  .topbar .mobile-brand {
    display: flex;
  }
  .topbar .mobile-brand .mark {
    width: 24px;
    height: 24px;
  }
  .topbar .mobile-brand > span {
    display: inline;
    font-size: 22px;
  }
  .topbar .section-label {
    display: none;
  }
}
:root {
  color-scheme: light;
  --paper: #f4f0e8;
  --surface: #faf7f1;
  --ink: #151719;
  --muted: #656660;
  --line: #dcd7cf;
  --accent: #ef543e;
  --accent-text: #b83321;
  --soft: #eae5dc;
  --hero-text: #faf7f1;
  --hero-ink: #101719;
  --overlay: rgba(10, 15, 18, 0.55);
  --shadow: 0 20px 70px #1113;
  /* Red pencil (moments-view.js) draws on pictures, so one red reads in both themes. */
  --pencil: #e5402a;
  /* The Slate (slate-view.js) is a chalkboard in both themes. Chalk lettering
     uses the system's handwriting faces, and the studio's own sans elsewhere. */
  --slate: #1b1d1f;
  --slate-line: #3a3e41;
  --slate-edge: transparent;
  --chalk: #f2eee6;
  --chalk-dim: #a9a7a0;
  --chalk-hand: "Chalkboard SE", "Chalkboard", "Marker Felt", "Segoe Print", "Ink Free", "DM Sans", sans-serif;
  --slate-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --sans: "DM Sans", sans-serif;
  --serif: "DM Serif Display", Georgia, serif;
  --sidebar: 218px;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #151719;
  --surface: #1d2022;
  --ink: #f4f0e8;
  --muted: #a7aaa6;
  --line: #343738;
  --accent-text: #ff917d;
  --soft: #272a2b;
  --shadow: 0 20px 70px #0007;
  /* On the dark page the slate sits a step lighter, with an edge. */
  --slate: #222528;
  --slate-line: #44494d;
  --slate-edge: #3a3e41;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
button,
a,
input,
textarea,
select {
  touch-action: manipulation;
}
button {
  border: 0;
  background: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 4px;
}
button:focus:not(:focus-visible),
main:focus {
  outline: none;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -1.5px;
}
h1 {
  font-size: clamp(42px, 4.4vw, 70px);
  line-height: 1.05;
}
h2 {
  font-size: 32px;
  line-height: 1.15;
}
h3 {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 600;
}
p {
  line-height: 1.7;
}
small {
  font-size: 10px;
  letter-spacing: 1px;
}
.icon {
  height: 21px;
  width: 21px;
  flex-shrink: 0;
}
.mark {
  width: 32px;
  height: 32px;
  color: var(--accent);
  flex-shrink: 0;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2.3px;
  font-weight: 600;
  line-height: 1.6;
  display: block;
}
.muted,
.field-note {
  color: var(--muted);
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  background: var(--paper);
  z-index: 100;
  padding: 15px;
}
.skip-link:focus {
  top: 15px;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar);
  padding: 37px 20px 22px 24px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  z-index: 5;
  background: var(--paper);
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand > span {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -1.8px;
  line-height: 1;
}
.brand sup {
  font-size: 10px;
  color: var(--accent-text);
  letter-spacing: 0;
  margin-left: 2px;
  vertical-align: top;
  position: relative;
  top: 2px;
}
.nav-caption {
  font-size: 8px;
  letter-spacing: 2px;
  color: var(--muted);
  margin: 55px 10px 15px;
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.nav-link {
  height: 48px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 13px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}
.nav-link:hover {
  background: var(--soft);
  color: var(--ink);
}
.nav-link.active {
  background: var(--soft);
  color: var(--accent-text);
}
.nav-link.active::after {
  content: "";
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background: var(--accent);
  margin-left: auto;
}
.nav-plus {
  margin-left: auto;
  font-size: 20px;
  line-height: 21px;
}
.sidebar-bottom {
  margin-top: auto;
}
.studio-note {
  font-family: var(--serif);
  font-size: 37px;
  padding: 24px 10px 31px;
  color: var(--muted);
}
.studio-note span {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.8;
  margin-top: 12px;
}
.wallet-nav {
  display: flex;
  align-items: center;
  gap: 9px;
  border-top: 1px solid var(--line);
  padding: 19px 5px;
  font-size: 11px;
}
.wallet-nav .icon:last-child {
  height: 13px;
  margin-left: auto;
}
.local-label {
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 5px;
}
.local-label i,
.connection-note > i {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
}
.layout {
  margin-left: var(--sidebar);
}
.topbar {
  height: 91px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 43px;
  gap: 20px;
}
.section-label {
  font-size: 9px;
  letter-spacing: 1.8px;
  font-weight: 600;
}
.section-label > span {
  color: var(--muted);
  margin-left: 15px;
  letter-spacing: 1px;
  font-weight: 400;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}
.icon-button {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}
.icon-button:hover {
  background: var(--soft);
}
.balance-button {
  display: flex;
  gap: 7px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 9px 13px;
  font-size: 11px;
}
.balance-button .icon {
  color: var(--accent-text);
  width: 17px;
  height: 17px;
}
.balance-button b {
  font-weight: 600;
}
.avatar {
  height: 42px;
  width: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--soft);
  font-family: var(--serif);
  font-size: 16px;
  flex-shrink: 0;
  border: 1px solid var(--line);
}
.avatar.small {
  height: 32px;
  width: 32px;
  font-size: 13px;
}
.avatar.big {
  width: 94px;
  height: 94px;
  font-size: 38px;
  border: 5px solid var(--paper);
  background: var(--soft);
}
.page {
  max-width: 1580px;
  margin: auto;
  padding: 30px 43px 50px;
  min-height: calc(100vh - 170px);
}
.page-intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.page-intro > .eyebrow {
  font-size: 9px;
  color: var(--accent-text);
}
.page-intro > span:last-child {
  font-size: 11px;
  color: var(--muted);
}
.hero {
  height: 460px;
  position: relative;
  overflow: hidden;
  background: var(--hero-ink);
  color: var(--hero-text);
  border-radius: 3px;
}
.hero-art {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 72%;
  object-fit: cover;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      var(--hero-ink) 3%,
      rgba(16, 23, 25, 0.89) 23%,
      rgba(16, 23, 25, 0.22) 67%,
      rgba(16, 23, 25, 0.05)
    ),
    linear-gradient(0deg, rgba(16, 23, 25, 0.6), transparent 38%);
}
.hero-content {
  position: relative;
  padding: 65px 48px 50px;
  max-width: 600px;
}
.hero .eyebrow {
  font-size: 8px;
  letter-spacing: 2.2px;
  color: var(--hero-text);
}
.hero h1 {
  font-size: 73px;
  line-height: 0.99;
  letter-spacing: -3px;
  margin: 23px 0 17px;
}
.hero p {
  font-size: 13px;
  color: #e2e2dc;
}
.hero-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 25px;
}
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 30px;
  padding: 12px 23px;
  font-size: 12px;
  font-weight: 500;
  transition:
    background 0.15s,
    transform 0.15s;
  line-height: 1.4;
}
.button:hover {
  transform: translateY(-1px);
}
.button .icon {
  width: 17px;
  height: 17px;
}
.button.primary {
  background: var(--accent);
  color: #151719;
}
.button.primary:hover {
  background: #fa6954;
}
.button.outline {
  border-color: var(--line);
  background: transparent;
}
.button.outline:hover {
  background: var(--soft);
}
.button.ghost {
  border-color: #ffffff75;
  color: var(--hero-text);
}
.button.ghost:hover {
  background: #ffffff14;
}
.button.subtle {
  background: var(--soft);
}
.button.compact {
  padding: 9px 15px;
  font-size: 11px;
  min-height: 40px;
}
.hero-bottom {
  position: absolute;
  bottom: 22px;
  left: 48px;
  right: 29px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 8px;
  letter-spacing: 1.8px;
}
.hero-bottom > span:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-bottom i {
  height: 2px;
  width: 2px;
  background: var(--hero-text);
  border-radius: 100%;
}
.hero-bottom b {
  color: #b6b4ae;
  font-weight: 400;
  margin: 0 7px;
}
.shelf {
  margin-top: 37px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
}
.section-heading .eyebrow {
  font-size: 8px;
  color: var(--muted);
  margin-bottom: 9px;
}
.section-heading h2 {
  font-size: 30px;
}
.section-heading p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 500;
}
.text-link .icon {
  width: 17px;
}
.text-link:hover {
  color: var(--accent-text);
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 23px;
}
.series-card {
  min-width: 0;
}
.artwork-link {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.62;
  border-radius: 3px;
  background: var(--soft);
}
.artwork-link img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.45s;
}
.artwork-link:hover img {
  transform: scale(1.04);
}
.artwork-link:after {
  position: absolute;
  content: "";
  inset: 0;
  background: linear-gradient(0deg, #0007, transparent 70%);
}
.art-label {
  position: absolute;
  left: 16px;
  bottom: 15px;
  color: var(--hero-text);
  font-size: 7px;
  letter-spacing: 1.7px;
  z-index: 1;
}
.card-arrow {
  position: absolute;
  right: 13px;
  bottom: 12px;
  z-index: 1;
  color: var(--hero-text);
}
.card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}
.card-title h3 {
  font-size: 17px;
}
.card-title .icon-button {
  height: 30px;
  width: 30px;
}
.card-title .icon {
  width: 17px;
}
.series-card > p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 0;
}
.series-card > p span {
  margin: 0 8px;
}
.catalog-note {
  font-size: 10px;
  color: var(--muted);
  margin-top: 21px;
  line-height: 1.7;
}
.creator-banner {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 30px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  margin-top: 42px;
}
.creator-banner .eyebrow {
  color: var(--accent-text);
  font-size: 8px;
  margin-bottom: 10px;
}
.creator-banner h2 {
  font-size: 33px;
}
footer {
  padding: 23px 43px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.8px;
}
footer > span {
  display: flex;
  align-items: center;
  gap: 9px;
}
footer .mark {
  width: 16px;
  height: 16px;
}
footer a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.editorial-heading {
  margin: 13px 0 30px;
  max-width: 760px;
}
.editorial-heading > .eyebrow {
  color: var(--accent-text);
  margin-bottom: 20px;
}
.editorial-heading > p {
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
}
.search-box {
  padding: 10px 10px 10px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 9px;
}
.search-box input {
  background: none;
  border: 0;
  flex: 1;
  min-width: 0;
  color: var(--ink);
  padding: 12px 2px;
  outline-offset: 0;
}
.search-box > .icon {
  color: var(--muted);
}
.filter-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 25px 0;
}
.filter-row > span {
  margin-left: auto;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 1.4px;
}
.chip {
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 10px 17px;
  font-size: 11px;
  min-height: 40px;
}
.chip.selected {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.chip:hover:not(.selected) {
  background: var(--soft);
}
.empty {
  padding: 55px 25px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
}
.empty > .icon {
  width: 30px;
  height: 30px;
  color: var(--accent-text);
  margin-bottom: 18px;
}
.empty h2 {
  font-size: 30px;
}
.empty p {
  margin: 12px auto 20px;
  max-width: 460px;
  color: var(--muted);
  font-size: 13px;
}
.empty.wide {
  grid-column: 1/-1;
}
.empty.horizontal {
  display: flex;
  align-items: center;
  gap: 23px;
  text-align: left;
  padding: 30px;
}
.empty.horizontal .icon {
  margin: 0;
}
.empty.horizontal p {
  margin: 6px 0 0;
  max-width: none;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 24px;
}
.back-link .icon {
  width: 17px;
}
.series-details {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  margin-top: 38px;
}
.synopsis {
  font-size: 15px;
  color: var(--muted);
  max-width: 620px;
}
.tag {
  border: 1px solid var(--line);
  border-radius: 20px;
  font-size: 9px;
  letter-spacing: 0.2px;
  padding: 6px 10px;
  white-space: nowrap;
}
.creator-line {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-top: 28px;
}
.creator-line small {
  display: block;
  color: var(--muted);
  font-size: 8px;
  margin-bottom: 5px;
}
.creator-line .button {
  margin-left: auto;
}
.paper-panel {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}
.paper-panel > .eyebrow {
  color: var(--accent-text);
  font-size: 8px;
  margin-bottom: 16px;
}
.paper-panel h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 29px;
  letter-spacing: -0.8px;
}
.paper-panel p {
  font-size: 12px;
  color: var(--muted);
  margin: 14px 0 20px;
}
.studio-intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0 38px;
}
.studio-intro .eyebrow {
  margin-bottom: 25px;
  color: var(--accent-text);
}
.studio-intro h1 {
  font-size: clamp(45px, 4.6vw, 74px);
}
.studio-intro h1 > span {
  color: var(--accent);
}
.studio-intro p {
  margin-top: 21px;
  color: var(--muted);
  line-height: 1.8;
}
.studio-emblem {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 50px 0 25px;
}
.studio-emblem .mark {
  width: 140px;
  height: 140px;
  opacity: 0.15;
  transform: rotate(-9deg);
}
.studio-emblem > span {
  text-align: center;
  line-height: 2.4;
  font-size: 8px;
  letter-spacing: 2px;
  color: var(--muted);
  margin-top: 25px;
}
.create-options {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 22px;
}
.start-card,
.import-card {
  text-align: left;
  min-height: 260px;
  padding: 29px 32px;
  border-radius: 6px;
  position: relative;
}
.start-card {
  background: var(--accent);
  color: #151719;
}
.start-card:hover {
  background: #fa6954;
}
.start-card .eyebrow,
.import-card .eyebrow {
  font-size: 9px;
  margin-bottom: 35px;
}
.start-card h2,
.import-card h2 {
  font-size: 37px;
}
.start-card p,
.import-card p {
  font-size: 12px;
  margin-top: 12px;
  line-height: 1.7;
}
.corner-icon {
  position: absolute;
  right: 30px;
  top: 26px;
}
.corner-icon > .icon {
  width: 26px;
  height: 26px;
}
.start-card-bottom {
  border-top: 1px solid #15171940;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 25px;
  padding-top: 17px;
  font-size: 12px;
}
.import-card {
  border: 1px solid var(--line);
  background: var(--surface);
}
.import-card:hover {
  background: var(--soft);
}
.import-card > .icon {
  position: absolute;
  right: 32px;
  top: 26px;
  color: var(--accent-text);
}
.import-card p {
  max-width: 240px;
  color: var(--muted);
}
.import-card .text-link {
  margin-top: 34px;
}
.count {
  font-family: var(--serif);
  font-size: 30px;
  color: var(--muted);
}
.draft-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.draft-card {
  display: flex;
  align-items: center;
  gap: 17px;
  border: 1px solid var(--line);
  padding: 15px;
  border-radius: 7px;
  background: var(--surface);
  min-width: 0;
}
.draft-card:hover {
  border-color: var(--accent);
}
.draft-card > div:nth-child(2) {
  min-width: 0;
}
.draft-cover {
  width: 70px;
  height: 84px;
  background: var(--soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-shrink: 0;
}
.draft-cover span {
  font-size: 5px;
  letter-spacing: 1px;
  color: var(--muted);
}
.draft-cover .mark {
  width: 27px;
  height: 27px;
}
.draft-card small {
  font-size: 7px;
  color: var(--muted);
}
.draft-card h3 {
  margin: 7px 0;
  overflow-wrap: anywhere;
}
.draft-card p {
  font-size: 10px;
  color: var(--muted);
}
.draft-card > .icon {
  margin-left: auto;
  width: 16px;
}
.local-footnote {
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--muted);
  font-size: 10px;
  margin-top: 25px;
}
.local-footnote .icon {
  width: 14px;
}
.profile-cover {
  height: 155px;
  background: var(--soft);
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 35px;
}
.profile-cover .mark {
  position: absolute;
  width: 260px;
  height: 260px;
  left: 45%;
  opacity: 0.07;
  transform: rotate(-12deg);
}
.profile-cover span {
  font-size: 8px;
  letter-spacing: 2px;
  color: var(--muted);
}
.profile-heading {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: -27px 25px 0;
  position: relative;
}
.profile-heading > div:nth-child(2) {
  padding-top: 45px;
  min-width: 0;
}
.profile-heading h1 {
  font-size: 43px;
  overflow-wrap: anywhere;
  margin: 8px 0;
}
.profile-heading .eyebrow {
  font-size: 8px;
  color: var(--accent-text);
}
.profile-heading p {
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}
.profile-heading .button {
  margin-left: auto;
  margin-top: 40px;
}
.profile-stats {
  display: flex;
  gap: 35px;
  border-bottom: 1px solid var(--line);
  padding: 30px 0;
  margin-bottom: 35px;
  font-size: 11px;
  color: var(--muted);
}
.profile-stats b {
  font-size: 23px;
  color: var(--ink);
  font-family: var(--serif);
  margin-right: 8px;
  font-weight: 400;
}
.settings-row {
  margin-top: 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 25px;
}
.settings-row p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}
.segmented {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 4px;
  flex-shrink: 0;
  background: var(--surface);
}
.segmented button {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 17px;
  font-size: 11px;
  border-radius: 23px;
}
.segmented button.selected {
  background: var(--ink);
  color: var(--paper);
}
.segmented .icon {
  width: 15px;
  height: 15px;
}
.creator-public {
  text-align: center;
  padding: 10px 0 50px;
}
.creator-public > .avatar {
  margin-bottom: 18px;
}
.creator-public h1 {
  margin: 17px 0 10px;
}
.creator-public p {
  color: var(--muted);
  margin-bottom: 20px;
}
.creator-public .eyebrow {
  color: var(--accent-text);
}
.wallet-overview {
  display: flex;
  gap: 25px;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 30px 35px;
  border-radius: 7px;
  margin: 30px 0 43px;
}
.coin-emblem {
  width: 69px;
  height: 69px;
  border: 1px solid var(--accent);
  border-radius: 100%;
  display: grid;
  place-items: center;
  box-shadow:
    inset 0 0 0 6px var(--surface),
    inset 0 0 0 7px var(--line);
}
.coin-emblem .mark {
  width: 29px;
  height: 29px;
}
.wallet-overview .eyebrow {
  font-size: 8px;
  color: var(--muted);
}
.wallet-number {
  font-size: 49px;
  font-family: var(--serif);
}
.wallet-number > span {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
  margin-left: 8px;
}
.wallet-status {
  margin-left: auto;
  text-align: right;
}
.wallet-status p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 10px;
}
.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.plan {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 29px;
  border-radius: 7px;
}
.plan.chosen {
  border-color: var(--accent);
}
.plan > .section-heading {
  min-height: 28px;
  gap: 5px;
}
.plan > .section-heading > .eyebrow {
  color: var(--accent-text);
  margin: 0;
}
.plan h3 {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
}
.plan > p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 7px;
}
.plan-price {
  font-size: 18px;
  margin: 25px 0;
  border-bottom: 1px solid var(--line);
  padding-bottom: 23px;
}
.plan-price > span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 8px;
}
.plan ul {
  list-style: none;
  margin: 0 0 25px;
  padding: 0;
}
.plan li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  margin-bottom: 12px;
}
.plan li .icon {
  width: 15px;
  height: 15px;
  color: var(--accent-text);
}
.plan > .button {
  width: 100%;
}
.top-up {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  border-bottom: 1px solid var(--line);
  padding: 35px 0;
}
.top-up .eyebrow {
  color: var(--accent-text);
  font-size: 8px;
  margin-bottom: 9px;
}
.top-up p {
  font-size: 12px;
  color: var(--muted);
  max-width: 500px;
  margin-top: 10px;
}
.top-up .button {
  white-space: nowrap;
}
.wallet-rules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 30px;
}
.wallet-rules h3 {
  font-size: 15px;
}
.wallet-rules p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 10px;
}
.workspace {
  padding-top: 26px;
}
.workspace-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}
.workspace-heading .back-link {
  margin-bottom: 15px;
}
.workspace-heading h1 {
  font-size: 39px;
  overflow-wrap: anywhere;
}
.workspace-heading p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 10px;
}
.workspace-heading p span {
  margin: 0 6px;
}
.workspace-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}
.save-status {
  font-size: 9px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-right: 12px;
}
.save-status .icon {
  height: 14px;
  width: 14px;
}
.workspace-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  gap: 35px;
  margin-bottom: 28px;
}
.workspace-tabs button {
  min-height: 44px;
  padding: 0 0 15px;
  border-bottom: 2px solid transparent;
  font-size: 11px;
  color: var(--muted);
}
.workspace-tabs button span {
  font-size: 9px;
  letter-spacing: 1px;
  margin-right: 9px;
  color: var(--muted);
}
.workspace-tabs button.active {
  border-color: var(--accent);
  color: var(--ink);
}
.cast-workspace {
  display: grid;
  grid-template-columns: 175px minmax(250px, 1fr) 280px;
  gap: 25px;
}
.cast-list > .eyebrow {
  font-size: 8px;
  color: var(--muted);
  margin: 4px 0 16px;
}
.cast-item {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 9px;
  width: 100%;
  padding: 12px 8px;
  border-radius: 5px;
  margin-bottom: 5px;
}
.cast-item.selected {
  background: var(--soft);
}
.cast-item > .avatar {
  width: 31px;
  height: 31px;
  font-size: 12px;
}
.cast-item b {
  display: block;
  font-size: 11px;
  max-width: 110px;
  overflow-wrap: anywhere;
  font-weight: 500;
}
.cast-item small {
  display: block;
  font-size: 8px;
  color: var(--muted);
  letter-spacing: 0;
  margin-top: 5px;
}
.cast-list > .button {
  width: 100%;
  font-size: 10px;
  margin-top: 10px;
  padding: 10px 8px;
}
.cast-hint {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.25;
  padding: 28px 8px;
  margin-top: 25px;
  border-top: 1px solid var(--line);
}
.cast-hint > span {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 15px;
}
.character-canvas > .section-heading {
  margin-bottom: 15px;
  min-height: 28px;
}
.character-canvas .eyebrow {
  font-size: 8px;
  margin: 0;
}
.reference-canvas {
  min-height: 360px;
  height: 27vw;
  max-height: 470px;
  background-color: var(--surface);
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 40px 40px;
  border: 1px solid var(--line);
  border-radius: 5px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.reference-placeholder {
  text-align: center;
  background: var(--surface);
  padding: 35px 10px;
  box-shadow: 0 0 50px 35px var(--surface);
}
.reference-placeholder .mark {
  width: 56px;
  height: 56px;
  opacity: 0.8;
  margin: 0 auto 25px;
}
.reference-placeholder h2 {
  font-size: 30px;
}
.reference-placeholder p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 15px;
}
.reference-canvas.has-image {
  background: var(--soft);
}
.reference-canvas > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  min-height: 0;
}
.cast-views,.cast-study {margin-top:16px}
.cast-views > div {display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:12px}
.cast-views figure {margin:0}
.cast-views img,.cast-study img {display:block;max-width:100%;max-height:260px;object-fit:contain}
.saved-cast-design {display:block;max-width:100%;max-height:65vh;object-fit:contain;margin:12px auto}
.cast-study > button {margin:8px 8px 0 0}
.cast-views figcaption {font-size:12px;color:var(--muted)}
.reference-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.reference-toolbar > span {
  font-size: 8px;
  color: var(--muted);
}
.steps-strip {
  display: flex;
  justify-content: space-between;
  gap: 13px;
  margin-top: 28px;
}
.steps-strip > span {
  padding-top: 10px;
  border-top: 2px solid var(--line);
  flex: 1;
  font-size: 9px;
  color: var(--muted);
}
.steps-strip > span.active {
  border-color: var(--accent);
  color: var(--ink);
}
.director-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 22px;
  height: fit-content;
}
.director-title {
  display: flex;
  gap: 9px;
  align-items: center;
}
.director-title > .mark {
  width: 27px;
  height: 27px;
}
.director-title h2 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.5px;
}
.director-title span {
  font-size: 5px;
  letter-spacing: 1.2px;
  color: var(--muted);
}
.director-opening {
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.25;
  margin: 26px 0;
  letter-spacing: -0.6px;
}
.director-panel label {
  font-size: 10px;
}
.director-panel input,
.director-panel textarea {
  font-size: 11px;
  padding: 11px;
}
.director-panel .button {
  width: 100%;
  font-size: 10px;
  padding: 12px 10px;
}
.director-panel > .button {
  margin-top: 10px;
}
.connection-note {
  border-top: 1px solid var(--line);
  padding-top: 17px;
  margin-top: 20px;
  font-size: 9px;
  color: var(--muted);
}
.connection-note > i {
  margin-right: 4px;
}
.connection-note p {
  font-size: 9px;
  margin-top: 7px;
}
.story-workspace {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 35px;
}
.story-workspace .paper-panel {
  height: fit-content;
}
.story-workspace .paper-panel h2 {
  margin-bottom: 25px;
  font-size: 30px;
}
.scene-note {
  display: flex;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 20px;
  margin-bottom: 15px;
  background: var(--surface);
}
.scene-number {
  font-family: var(--serif);
  font-size: 23px;
  color: var(--accent-text);
}
.scene-note > div {
  flex: 1;
  min-width: 0;
}
.scene-note h3 {
  font-size: 16px;
  overflow-wrap: anywhere;
}
.scene-note p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.scene-note small {
  font-size: 8px;
  color: var(--muted);
  margin-top: 13px;
  display: block;
  letter-spacing: 0;
}
.scene-note > .icon-button {
  width: 25px;
  height: 30px;
}
.screening-player {
  min-height: 380px;
  background: var(--hero-ink);
  color: var(--hero-text);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 30px;
  text-align: center;
  margin-bottom: 27px;
}
.screening-player > .icon {
  width: 37px;
  height: 37px;
  color: var(--accent);
  margin-bottom: 25px;
}
.screening-player p {
  font-size: 13px;
  color: #b6b4ae;
  margin-top: 15px;
}
.screening-player video {
  width: 100%;
  max-height: 65vh;
}
.media-error {
  padding: 30px;
  text-align: center;
  color: var(--accent-text);
}
label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 18px;
}
input:not([type="file"]),
textarea,
select {
  width: 100%;
  display: block;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: 5px;
  padding: 13px 14px;
  margin-top: 9px;
  line-height: 1.5;
  font-weight: 400;
}
textarea {
  resize: vertical;
}
input::placeholder,
textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}
.field-note {
  font-size: 10px;
  line-height: 1.7;
  margin: -7px 0 20px;
}
.form-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
dialog {
  width: min(560px, calc(100vw - 30px));
  max-height: calc(100dvh - 50px);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  padding: 38px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}
dialog::backdrop {
  background: var(--overlay);
  backdrop-filter: blur(5px);
}
.dialog-close {
  position: absolute;
  right: 12px;
  top: 12px;
}
dialog > .eyebrow {
  color: var(--accent-text);
  font-size: 8px;
  margin: 0 30px 15px 0;
}
dialog > h2 {
  font-size: 35px;
  padding-right: 13px;
}
dialog > p {
  font-size: 13px;
  color: var(--muted);
  margin: 15px 0 22px;
}
dialog form {
  margin-top: 25px;
}
dialog form > .button {
  width: 100%;
}
dialog form > .field-note {
  margin: 16px 0 0;
  text-align: center;
}
.pack-preview {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pack-preview > div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 5px;
  position: relative;
}
.pack-preview .icon {
  float: right;
  color: var(--accent-text);
}
.pack-preview h3 {
  font-size: 15px;
}
.pack-preview span {
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-top: 7px;
}
.pack-preview + .field-note {
  margin-top: 20px;
}
#toast {
  position: fixed;
  bottom: 26px;
  left: calc(50% + var(--sidebar) / 2);
  transform: translate(-50%, 15px);
  opacity: 0;
  pointer-events: none;
  z-index: 20;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: var(--shadow);
  max-width: min(480px, 90vw);
  padding: 15px 22px;
  font-size: 12px;
  line-height: 1.6;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (min-width: 1650px) {
  .hero {
    height: 535px;
  }
  .hero-content {
    padding-top: 85px;
  }
  .hero h1 {
    font-size: 88px;
  }
  .cast-workspace {
    grid-template-columns: 205px minmax(350px, 1fr) 320px;
    gap: 35px;
  }
}
@media (max-width: 1250px) {
  :root {
    --sidebar: 190px;
  }
  .sidebar {
    padding-left: 18px;
    padding-right: 16px;
  }
  .brand > span {
    font-size: 23px;
  }
  .topbar {
    padding: 0 30px;
  }
  .page {
    padding-left: 30px;
    padding-right: 30px;
  }
  .cast-workspace {
    grid-template-columns: 145px minmax(225px, 1fr);
    gap: 22px;
  }
  .director-panel {
    grid-column: 2;
  }
  .cast-list {
    grid-row: 1 / span 2;
  }
  .reference-canvas {
    height: 400px;
  }
  .director-panel form {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 0 20px;
  }
  .director-panel form > .button,
  .director-panel form > .field-note {
    grid-column: 1/-1;
  }
  .director-panel textarea {
    min-height: 110px;
  }
  .director-opening {
    font-size: 27px;
    margin: 20px 0;
  }
  .hero h1 {
    font-size: 65px;
  }
  .hero-content {
    padding-left: 34px;
  }
  .hero-bottom {
    left: 34px;
  }
  .studio-emblem {
    padding-right: 15px;
  }
  .section-heading h2 {
    font-size: 27px;
  }
}
@media (max-width: 980px) {
  :root {
    --sidebar: 80px;
  }
  .sidebar {
    padding: 28px 12px 20px;
  }
  .brand {
    justify-content: center;
  }
  .brand > span,
  .nav-caption,
  .nav-link > span,
  .nav-link.active::after,
  .studio-note,
  .wallet-nav > span,
  .wallet-nav > .icon:last-child,
  .local-label {
    display: none;
  }
  .sidebar nav {
    margin-top: 45px;
  }
  .nav-link {
    justify-content: center;
    padding: 0;
  }
  .nav-link .icon {
    width: 23px;
    height: 23px;
  }
  .wallet-nav {
    justify-content: center;
  }
  .topbar {
    height: 77px;
  }
  .section-label > span {
    display: none;
  }
  .hero {
    height: 420px;
  }
  .hero-content {
    padding-top: 60px;
  }
  .hero h1 {
    font-size: 62px;
  }
  .hero-art {
    width: 85%;
  }
  .hero-shade {
    background: linear-gradient(
      90deg,
      var(--hero-ink) 0%,
      rgba(16, 23, 25, 0.8) 32%,
      rgba(16, 23, 25, 0.12) 100%
    );
  }
  .cards {
    gap: 16px;
  }
  .creator-banner h2 {
    font-size: 28px;
  }
  .series-details {
    gap: 25px;
  }
  .studio-emblem .mark {
    width: 100px;
    height: 100px;
  }
  .studio-emblem > span {
    font-size: 6px;
  }
  .start-card,
  .import-card {
    padding: 24px;
  }
  .start-card h2,
  .import-card h2 {
    font-size: 31px;
  }
  .draft-grid {
    grid-template-columns: 1fr;
  }
  .wallet-rules {
    gap: 15px;
  }
  .workspace-heading h1 {
    font-size: 33px;
  }
  .save-status {
    display: none;
  }
  .story-workspace {
    grid-template-columns: 1fr;
  }
  .profile-heading {
    margin-left: 8px;
    margin-right: 8px;
  }
  .profile-heading h1 {
    font-size: 35px;
  }
  .wallet-overview {
    padding: 25px;
  }
  .section-heading:has(.segmented) {
    align-items: flex-start;
    flex-direction: column;
  }
  .creator-banner .button {
    padding: 12px 16px;
  }
  .plan {
    padding: 22px;
  }
  .plan .tag {
    font-size: 7px;
  }
  .plan > .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .plan-price {
    font-size: 16px;
  }
}
@media (max-width: 680px) {
  :root {
    --sidebar: 0px;
  }
  .sidebar {
    position: fixed;
    inset: auto 0 0;
    width: 100%;
    padding: 0 5px;
    border-right: 0;
    border-top: 1px solid var(--line);
    height: 65px;
    z-index: 9;
  }
  .sidebar > .brand,
  .sidebar-bottom {
    display: none;
  }
  .sidebar nav {
    flex-direction: row;
    margin: 0;
    justify-content: space-around;
    gap: 0;
    width: 100%;
  }
  .nav-link {
    height: 62px;
    min-width: 56px;
    flex-direction: column;
    gap: 4px;
    font-size: 9px;
    background: transparent !important;
    padding: 5px;
  }
  .nav-link > span:not(.nav-plus) {
    display: block;
  }
  .nav-link .icon {
    width: 20px;
    height: 20px;
  }
  .topbar {
    padding: 0 20px;
    height: 70px;
  }
  .top-actions {
    gap: 7px;
  }
  .search-shortcut {
    display: none;
  }
  .balance-button {
    padding: 7px 9px;
  }
  .balance-button span {
    display: none;
  }
  .section-label {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .page {
    padding: 22px 20px 35px;
  }
  .page-intro > span:last-child {
    display: none;
  }
  .page-intro {
    margin-bottom: 17px;
  }
  .hero {
    height: 460px;
  }
  .hero-art {
    width: 100%;
    object-position: 60% 30% !important;
  }
  .hero-shade {
    background: linear-gradient(
      0deg,
      rgba(16, 23, 25, 0.98),
      rgba(16, 23, 25, 0.2) 100%
    );
  }
  .hero-content {
    padding: 170px 23px 25px;
  }
  .hero h1 {
    font-size: 58px;
    margin: 17px 0 13px;
  }
  .hero .eyebrow {
    font-size: 6px;
  }
  .hero p {
    font-size: 11px;
  }
  .hero-buttons {
    gap: 8px;
    margin-top: 21px;
  }
  .hero .button {
    font-size: 10px;
    padding: 11px 14px;
    gap: 7px;
  }
  .hero-bottom {
    left: 23px;
    right: 23px;
    bottom: 15px;
    font-size: 6px;
  }
  .hero-content .button .icon {
    width: 14px;
    height: 14px;
  }
  .section-heading {
    gap: 15px;
  }
  .section-heading h2 {
    font-size: 27px;
  }
  .section-heading > .text-link {
    font-size: 10px;
    white-space: nowrap;
    gap: 5px;
  }
  .cards {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .artwork-link {
    aspect-ratio: 1.7;
  }
  .card-title h3 {
    font-size: 19px;
  }
  .creator-banner {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
  .creator-banner h2 {
    font-size: 30px;
  }
  footer {
    margin-bottom: 65px;
    padding: 20px;
    flex-direction: column;
    font-size: 7px;
    gap: 14px;
  }
  .editorial-heading {
    margin-top: 10px;
  }
  .editorial-heading h1 {
    font-size: 47px;
  }
  .editorial-heading p {
    font-size: 12px;
  }
  .search-box {
    padding: 6px 10px;
    gap: 8px;
  }
  .search-box input {
    font-size: 12px;
  }
  .search-box .button {
    font-size: 10px;
    padding: 8px 10px;
  }
  .search-box .button .icon {
    display: none;
  }
  .filter-row {
    flex-wrap: wrap;
  }
  .filter-row > span {
    width: 100%;
    margin: 12px 0 0;
  }
  .chip {
    padding: 8px 15px;
  }
  .series-details {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .studio-intro {
    padding-bottom: 30px;
  }
  .studio-intro h1 {
    font-size: 46px;
  }
  .studio-intro p {
    font-size: 12px;
  }
  .studio-emblem {
    display: none;
  }
  .studio-intro .eyebrow {
    font-size: 8px;
  }
  .create-options {
    grid-template-columns: 1fr;
  }
  .start-card,
  .import-card {
    min-height: 240px;
    padding: 26px;
  }
  .import-card .eyebrow {
    margin-bottom: 23px;
  }
  .import-card .text-link {
    margin-top: 22px;
  }
  .draft-grid {
    grid-template-columns: 1fr;
  }
  .local-footnote {
    font-size: 9px;
    align-items: flex-start;
  }
  .profile-cover {
    height: 125px;
  }
  .profile-cover span {
    font-size: 6px;
    position: relative;
  }
  .profile-heading {
    flex-wrap: wrap;
    gap: 12px;
  }
  .profile-heading > .avatar {
    width: 74px;
    height: 74px;
    font-size: 30px;
  }
  .profile-heading > div:nth-child(2) {
    padding-top: 33px;
    max-width: calc(100% - 90px);
  }
  .profile-heading h1 {
    font-size: 30px;
  }
  .profile-heading .eyebrow {
    font-size: 6px;
  }
  .profile-heading p {
    font-size: 11px;
  }
  .profile-heading > .button {
    margin: 10px 0 0 0;
  }
  .profile-stats {
    gap: 15px;
    flex-wrap: wrap;
    font-size: 9px;
  }
  .profile-stats b {
    font-size: 20px;
    margin-right: 4px;
  }
  .settings-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .wallet-overview {
    flex-wrap: wrap;
    gap: 15px;
    padding: 22px;
  }
  .wallet-status {
    margin: 0;
    text-align: left;
    width: 100%;
    border-top: 1px solid var(--line);
    padding-top: 20px;
  }
  .wallet-status p br {
    display: none;
  }
  .wallet-number {
    font-size: 40px;
  }
  .plans {
    grid-template-columns: 1fr;
  }
  .plan > .section-heading {
    flex-direction: row;
    align-items: center;
  }
  .plan .tag {
    font-size: 9px;
  }
  .top-up {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .wallet-rules {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .workspace-heading {
    align-items: flex-start;
  }
  .workspace-heading h1 {
    font-size: 30px;
  }
  .workspace-heading > div:first-child {
    max-width: calc(100% - 70px);
  }
  .workspace-actions .icon-button {
    width: 30px;
  }
  .workspace-tabs {
    gap: 20px;
    justify-content: space-between;
  }
  .workspace-tabs button {
    font-size: 10px;
  }
  .workspace-tabs button span {
    display: none;
  }
  .cast-workspace {
    display: flex;
    flex-direction: column;
    gap: 25px;
  }
  .cast-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .cast-list > .eyebrow {
    width: 100%;
    margin-bottom: 5px;
  }
  .cast-item {
    width: auto;
    min-height: 46px;
    flex: 1;
    min-width: 140px;
  }
  .cast-list > .button {
    width: auto;
    margin: 0;
    border: 1px solid var(--line);
  }
  .cast-hint {
    display: none;
  }
  .reference-canvas {
    height: 410px;
  }
  .director-panel form {
    display: block;
  }
  .director-title span {
    font-size: 6px;
  }
  .director-panel input,
  .director-panel textarea {
    font-size: 13px;
  }
  .director-panel label {
    font-size: 12px;
  }
  .director-panel .button {
    font-size: 12px;
  }
  .connection-note,
  .connection-note p {
    font-size: 11px;
  }
  .screening-player {
    min-height: 300px;
    padding: 25px;
  }
  .screening .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }
  .scene-note {
    padding: 15px;
    gap: 10px;
  }
  .scene-note > .icon-button {
    width: 22px;
  }
  .form-columns {
    gap: 12px;
  }
  dialog {
    padding: 31px 23px;
  }
  dialog > h2 {
    font-size: 30px;
  }
  #toast {
    bottom: 80px;
    font-size: 11px;
    width: max-content;
    max-width: calc(100vw - 30px);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-content {
    animation: arrive 0.6s ease-out both;
  }
  .page > .editorial-heading,
  .studio-intro {
    animation: arrive 0.4s ease-out both;
  }
  @keyframes arrive {
    from {
      opacity: 0;
      transform: translateY(9px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.cloud-bar { padding: 12px 3vw; border-bottom: 1px solid var(--line); display:flex; align-items:center; justify-content:space-between; gap:16px; font-size:12px; }
.cloud-bar > div {display:flex;gap:8px;flex-shrink:0;}
.director-conversation {max-height:32vh;overflow:auto;margin:20px 0;}
.director-conversation p {padding:12px 0;border-bottom:1px solid var(--line);}
@media(max-width:700px){.cloud-bar{align-items:flex-start;flex-direction:column;gap:8px;padding:12px 20px;}}

.director-candidates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:24px}.director-candidates img{width:100%;aspect-ratio:3/4;object-fit:contain;border-radius:12px}.director-candidates p{font-size:14px}

/* Starting a series: the first message to the Director. */
.conversation-start {max-width:820px;background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:24px}
.conversation-start textarea {width:100%;resize:vertical;border:0;background:transparent;color:inherit;font:inherit;line-height:1.6;padding:8px;min-height:90px}
.conversation-start>div,.conversation-start-options,.conversation-navigation {display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.conversation-start span {font-size:12px;opacity:.65}
.conversation-start-options {justify-content:flex-start;margin-top:14px}
.conversation-navigation {justify-content:flex-start;margin-bottom:24px}
.conversation-navigation details[open] {flex-basis:100%}
.conversation-navigation summary,.conversation-start-options summary {cursor:pointer;padding:12px 0;font-size:13px}
#modal pre {white-space:pre-wrap;overflow-wrap:anywhere;max-height:350px;overflow:auto}

/* The Create workspace: your series, the Director's conversation, the draft cut. */
.create-page {display:grid;grid-template-columns:232px minmax(0,1fr) minmax(320px,400px);align-items:stretch;min-height:calc(100dvh - 140px)}
.create-rail {padding:24px 18px;border-right:1px solid var(--line);display:flex;flex-direction:column;gap:10px;align-self:start;position:sticky;top:0;max-height:100dvh;overflow:auto;scrollbar-width:thin}
.create-rail>.eyebrow {margin:0 0 6px 10px}
.create-series {display:flex;gap:12px;align-items:center;padding:10px;border-radius:12px;border:1px solid transparent}
.create-series:hover {background:var(--soft)}
.create-series.current {background:var(--surface);border-color:var(--line)}
.create-series-art {flex:none;width:40px;height:60px;border-radius:6px;overflow:hidden;background:var(--soft);display:flex;align-items:center;justify-content:center;color:var(--accent)}
.create-series-art img {width:100%;height:100%;object-fit:cover}
.create-series-art .mark {width:18px;height:18px}
.create-series>span:last-child {display:flex;flex-direction:column;gap:2px;min-width:0}
.create-series-title {font-family:var(--serif);font-size:17px;letter-spacing:-.3px;overflow-wrap:anywhere}
.create-series-state {font-size:12px;color:var(--muted)}
.create-new {margin-top:4px;min-height:44px;border-radius:12px;border:1px dashed var(--muted);display:flex;align-items:center;justify-content:center;font-weight:500}
.create-new:hover {background:var(--soft)}
.create-main {min-width:0;display:flex;flex-direction:column;border-right:1px solid var(--line)}
.create-head {padding:22px 32px 14px;display:flex;flex-wrap:wrap;gap:12px 24px;align-items:flex-end;justify-content:space-between;border-bottom:1px solid var(--line)}
.create-head h1 {font-size:34px;letter-spacing:-1px;margin-top:4px;overflow-wrap:anywhere}
.create-head-actions {display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.create-limit {font-size:13px;padding:8px 12px;border:1px solid var(--line);border-radius:999px;background:var(--surface)}
.create-limit.set {font-weight:600}
.create-limit:hover {background:var(--soft)}
.create-progress {list-style:none;margin:0;padding:10px 32px 12px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;border-bottom:1px solid var(--line)}
.create-feed {flex:1 1 auto;padding:28px 32px;display:flex;flex-direction:column;gap:28px;max-width:780px;width:100%}
.create-welcome {padding:10px 0 30px;max-width:520px}
.create-welcome>.mark {width:44px;height:44px;color:var(--accent)}
.create-welcome h2 {font-size:36px;line-height:1.2;margin:20px 0 14px}
.create-welcome>.eyebrow {color:var(--accent-text);margin-bottom:8px}
.create-welcome>p {color:var(--muted)}
.create-chips {display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.create-chip {min-height:44px;padding:10px 16px;border-radius:14px;border:1px solid var(--line);background:var(--surface);font-size:14px;text-align:left}
.create-chip:hover {background:var(--soft)}
.create-turn {display:flex;flex-direction:column;gap:24px}
.create-user {display:flex;flex-direction:column;align-items:flex-end;gap:8px}
.create-user p {max-width:78%;padding:14px 18px;border-radius:18px;background:var(--surface);border:1px solid var(--line);font-size:15px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
/* The creator's own pictures: in their message, above the message box, and on the card that makes one a character's sheet. */
.create-user-pictures {max-width:78%;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}
.create-user-pictures img {width:112px;height:112px;object-fit:cover;border-radius:14px;border:1px solid var(--line);background:var(--surface)}
/* A message waiting up next (up-next.js): dashed until it goes, with Remove. */
.create-turn-waiting {gap:8px}
.create-turn-waiting .create-user p {border-style:dashed}
.create-up-next {display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:4px 12px;font-size:13px}
.create-up-next-label {display:inline-flex;align-items:center;gap:6px;font-weight:600;color:var(--accent-text)}
.create-up-next-label svg {width:14px;height:14px;flex:none}
.create-up-next .create-up-next-remove {font-size:13px;text-decoration:underline}
.create-up-next p {flex-basis:100%;margin:0;text-align:right;font-size:12px;color:var(--muted)}
.create-attachments {max-width:716px;display:flex;flex-wrap:wrap;gap:8px;margin:0 0 10px;padding:0;list-style:none}
.create-attachments li {position:relative;width:64px;height:64px;border-radius:12px;overflow:hidden;border:1px solid var(--line);background:var(--surface)}
.create-attachments img {width:100%;height:100%;object-fit:cover;display:block}
.create-attachments .create-attachment-uploading {width:auto;display:flex;align-items:center;padding:0 14px;font-size:12px;color:var(--muted)}
.create-attachment-remove {position:absolute;top:4px;right:4px;width:24px;height:24px;padding:0;border-radius:50%;background:rgba(21,23,25,.75);color:#f4f0e8;font-size:15px;line-height:1;display:flex;align-items:center;justify-content:center}
/* Spot fixes: a box on a picture or a take, on the Director's card, in the mark dialog, above the message box and in the sent message. */
.create-spot {margin:12px 0 0;display:flex;flex-direction:column;gap:8px}
.create-spot p {margin:0;font-size:14px;line-height:1.5;white-space:pre-wrap}
.create-spot ul {margin:0;padding-left:18px;display:flex;flex-direction:column;gap:4px;font-size:14px}
.spot-figure {position:relative;display:inline-block;max-width:100%;align-self:flex-start;line-height:0;overflow:hidden;border-radius:10px}
.spot-figure img,.spot-figure video {display:block;max-width:100%;max-height:420px;width:auto;height:auto}
/* The creator's own marked spots take the red pencil (see Studio moments below); while marking, the rest of the picture dims. */
.spot-marking .spot-box {box-shadow:0 0 0 9999px rgba(21,23,25,.28)}
.spot-stage {display:flex;justify-content:center;margin:12px 0}
.spot-marking img,.spot-marking video {max-height:min(62vh,640px)}
.spot-draw {position:absolute;inset:0;cursor:crosshair;touch-action:none}
.spot-draw:focus-visible {outline:2px solid var(--accent-text);outline-offset:-2px}
.spot-moment {display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 12px;font-size:13px;color:var(--muted)}
.create-attachments .create-attachment-mark {width:auto;max-width:280px;display:flex;align-items:center;gap:10px;padding:4px 36px 4px 4px;font-size:12px;line-height:1.35;color:var(--ink)}
.create-attachment-mark .spot-figure {flex:none;border-radius:8px}
.create-attachment-mark .spot-figure img,.create-attachment-mark .spot-figure video {height:54px;width:auto;max-height:none;object-fit:fill}
.create-attachment-mark>span {overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}
.create-marked {max-width:78%;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;margin:0;padding:0;list-style:none}
.create-marked li {display:flex;flex-direction:column;align-items:flex-end;gap:6px;max-width:220px;font-size:12px;line-height:1.4;color:var(--muted);text-align:right}
.create-marked .spot-figure {border-radius:12px;border:1px solid var(--line)}
.create-marked .spot-figure img,.create-marked .spot-figure video {height:112px;width:auto;max-height:none}
.create-attach {flex:none;width:44px;height:44px;border-radius:50%;background:transparent;color:var(--muted);border:1px solid var(--line);display:flex;align-items:center;justify-content:center}
.create-attach svg {width:20px;height:20px}
.create-attach:hover {color:var(--ink);border-color:var(--ink)}
.create-art-pictures {display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px;margin:12px 0;padding:0;list-style:none}
.create-art-pictures li {display:flex;flex-direction:column;gap:6px;font-size:12px;color:var(--muted)}
.create-art-pictures img {width:100%;aspect-ratio:3/4;object-fit:contain;border-radius:12px;border:1px solid var(--line);background:var(--paper)}
.create-art p {margin:0 0 8px;font-size:14px;line-height:1.5;white-space:pre-wrap}
.create-art ul {margin:0 0 8px;padding-left:18px;display:flex;flex-direction:column;gap:4px;font-size:14px}
.create-bring {margin-top:16px}
.create-story-text {max-height:320px;overflow:auto;margin:0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55}
.create-plan>.button {align-self:flex-start;color:#f4f0e8;border-color:#4a4e50}
.create-over {color:var(--accent-text);font-weight:600}
.create-reply {display:flex;flex-direction:column;gap:10px}
.create-who {font-size:12px;font-weight:600;color:var(--accent-text);display:flex;align-items:center;gap:6px}
.create-who .mark {width:14px;height:14px;color:var(--accent)}
.create-reply>p:last-child {font-size:16px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}
.create-choices {display:flex;flex-direction:column;gap:8px;max-width:560px}
.create-choice {min-height:44px;padding:10px 16px;border-radius:14px;border:1px solid var(--line);background:var(--surface);font-size:15px;text-align:left;display:flex;justify-content:space-between;align-items:center;gap:12px}
.create-choice svg {width:16px;height:16px;flex:none}
.create-choice:hover {background:var(--soft)}
.create-state {font-size:13px;color:var(--muted);display:flex;align-items:center;gap:8px}
/* The flipbook G: four drawings flipped like key frames (steps-view.js).
   Reduce Motion keeps the finished mark still. */
.flipbook {position:relative;display:inline-block;width:18px;height:18px;flex:none;color:var(--accent)}
.flipbook svg {position:absolute;inset:0;width:100%;height:100%;opacity:0;overflow:visible}
.flipbook svg:last-child {opacity:1}
@media (prefers-reduced-motion: no-preference) {
  .flipbook svg {animation:flipbook 1s steps(1,end) infinite}
  .flipbook svg:last-child {opacity:0}
  .flipbook svg:nth-child(2) {animation-delay:.25s}
  .flipbook svg:nth-child(3) {animation-delay:.5s}
  .flipbook svg:nth-child(4) {animation-delay:.75s}
  @keyframes flipbook {0% {opacity:1} 25%,100% {opacity:0}}
}
/* Direct with one gesture (gesture-view.js). Hold to approve: the price is on
   the button, and holding fills it from the left; letting go early snaps it
   back. The fill carries its own copy of the label in ink, so the words stay
   readable over vermilion in both themes. Reduce Motion: no fill while
   holding, only "Keep holding…", then the full button. */
.create-hold-row {align-items:flex-start}
.hold {display:flex;flex-direction:column;gap:6px;min-width:0}
.hold-approve {position:relative;display:inline-flex;align-items:center;min-height:52px;min-width:min(100%,240px);padding:8px 22px;border-radius:30px;border:1.5px solid var(--accent);background:var(--soft);background:color-mix(in srgb,var(--accent) 14%,var(--surface));color:var(--ink);overflow:hidden;text-align:left;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.hold-label {display:flex;flex-direction:column;gap:1px;line-height:1.25;min-width:0}
.hold-label b {font-size:13px;font-weight:600}
.hold-label span {font-size:11px;color:var(--muted)}
.hold-fill {position:absolute;inset:0;display:flex;align-items:center;padding:inherit;background:var(--accent);color:#151719;clip-path:inset(0 100% 0 0);pointer-events:none}
.hold-fill .hold-label span {color:#151719}
.hold-approve.holding {outline:2px solid var(--accent);outline-offset:2px}
.hold-approve.holding .hold-fill {clip-path:inset(0 0 0 0);transition:clip-path var(--hold-ms,900ms) linear}
.hold-approve.held .hold-fill,.hold-approve.armed .hold-fill {clip-path:inset(0 0 0 0)}
.hold-approve.held {cursor:progress}
.hold-hint {margin:0;font-size:12px}
@media (prefers-reduced-motion: reduce) {
  .hold-approve.holding .hold-fill {clip-path:inset(0 100% 0 0)}
}
/* Reaction chips under a finished result: each writes a line into the message. */
.create-reactions {margin-top:0;gap:6px}
.create-reactions .create-chip {min-height:40px;padding:8px 14px;border-radius:999px;font-size:13px}
/* Options as a contact sheet: full-size frames side by side, snapping into
   place, with thumbnails to jump between them. A frame takes its picture's
   shape once it is read (--ratio, gesture-view.js). */
.create-sheet {display:flex;flex-direction:column;gap:10px;min-width:0}
.create-sheet-strip {position:relative;display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;padding:2px 2px 8px;scrollbar-width:thin}
.create-sheet-strip:focus-visible {outline:2px solid var(--accent-text);outline-offset:2px}
.create-sheet-slide {flex:0 0 auto;width:min(100%,calc(min(58vh,420px) * var(--ratio,.5625)));margin:0;scroll-snap-align:center;display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.create-sheet-frame {position:relative;width:100%;aspect-ratio:var(--ratio,.5625);border-radius:12px;overflow:hidden;background:#151719;color:#c9c4ba;display:flex;align-items:center;justify-content:center}
.create-sheet-frame img,.create-sheet-frame video {width:100%;height:100%;object-fit:contain;display:block}
.create-sheet-slide.picked .create-sheet-frame::after {content:"";position:absolute;inset:0;border:3px solid var(--accent);border-radius:inherit;pointer-events:none}
.create-sheet-slide figcaption {font-size:13px;display:flex;flex-wrap:wrap;gap:2px 8px;align-items:baseline;max-width:100%}
.create-sheet-slide figcaption b {font-weight:600}
.create-sheet-slide figcaption small {font-size:11px;color:var(--muted)}
.create-sheet-nav {display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.create-sheet-thumb {width:40px;padding:0;border-radius:8px;opacity:.55}
.create-sheet-thumb .create-thumb {border-radius:6px}
.create-sheet-thumb[aria-current="true"] {opacity:1;box-shadow:0 0 0 2px var(--surface),0 0 0 4px var(--ink)}
.create-sheet-thumb.picked .create-thumb::after {content:"";position:absolute;inset:0;border:2px solid var(--accent);border-radius:inherit;pointer-events:none}
.create-sheet-count {margin-left:auto;font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
/* Before and after: the earlier picture or take over the new one, cut at the
   divider; drag across it or use the slider. */
.create-compare {border-top:1px solid var(--line);padding-top:12px;font-size:14px}
.create-compare summary {cursor:pointer;font-weight:500;padding:4px 0}
.create-compare .field-note {margin:8px 0 0}
.compare {position:relative;width:min(100%,380px);margin-top:10px;border-radius:12px;overflow:hidden;background:#151719;touch-action:pan-y;cursor:ew-resize;-webkit-user-select:none;user-select:none}
.compare img,.compare video {display:block;width:100%;height:auto;-webkit-user-drag:none;pointer-events:none}
.compare .compare-before {position:absolute;inset:0;height:100%;object-fit:cover;clip-path:inset(0 calc(100% - var(--split,50%)) 0 0)}
.compare-line {position:absolute;top:0;bottom:0;left:var(--split,50%);width:2px;margin-left:-1px;background:#f4f0e8;box-shadow:0 0 0 1px #15171966;pointer-events:none}
.compare-tag {position:absolute;top:8px;padding:2px 8px;border-radius:999px;background:#151719cc;color:#f4f0e8;font-size:11px;pointer-events:none}
.compare-tag-before {left:8px}
.compare-tag-after {right:8px}
.compare-split,.compare-moment {display:flex;align-items:center;gap:10px;margin:10px 0 0;width:min(100%,380px);font-size:12px;font-weight:400}
.compare-split input,.compare-moment input {flex:1;min-width:0;accent-color:var(--accent)}
.compare-moment output {min-width:3.5em;text-align:right;font-variant-numeric:tabular-nums}
/* What the Director is doing, in one line under a running turn
   (steps-view.js): the flipbook G and the step in the server's own words,
   never a log. New words slide in. */
.create-live {margin:0;font-size:13px;color:var(--muted);display:flex;align-items:center;gap:8px;line-height:1.35}
.create-live span {min-width:0;overflow-wrap:anywhere}
@media (prefers-reduced-motion: no-preference) {
  .create-live.fresh span {animation:live-in .32s ease-out}
  @keyframes live-in {from {opacity:0;transform:translateY(5px)} to {opacity:1;transform:none}}
}
.create-card {border:1px solid var(--line);background:var(--surface);border-radius:16px;padding:18px;display:flex;flex-direction:column;gap:12px}
.create-card h3 {font-size:17px}
.create-card-head {display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;align-items:baseline}
.create-card-head span {font-size:13px;color:var(--muted)}
.create-card dl {margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 20px;font-size:14px}
.create-card dt {color:var(--muted);font-size:12px}
.create-card dd {margin:2px 0 0}
.create-card-actions {display:flex;flex-wrap:wrap;gap:10px}
.create-card-note {font-size:13px;color:var(--muted)}
.create-card-note b {color:var(--ink)}
.create-card-note .button {margin-right:8px}
.create-prompt {border-top:1px solid var(--line);padding-top:12px;font-size:14px}
.create-prompt summary {cursor:pointer;font-weight:500;padding:4px 0}
.create-prompt h4 {margin:14px 0 4px;font-size:14px}
.create-prompt p {margin:8px 0}
.create-prompt .field-note {margin:8px 0 0}
/* The Slate (slate-view.js, docs/director-slate-2026-11-09.md). Every
   proposal is a clapperboard for its shot, chalked with where it sits and the
   show's own picture. It is a chalkboard in both themes, so it redefines the
   theme's tokens for whatever sits on it (folds, fields, buttons). Holding
   the approve button closes the clapper (.holding); the clap (.clap, set by
   gesture-view.js) jolts the card and bursts ACTION!, and .clapped keeps it
   shut. A card being made rolls (.slate-working): REC blinks on its picture
   and one chalk line says what the Director is doing. A finished card keeps a
   slate strip (.slate-strip). Reduce Motion: the clapper shuts without a
   swing, and nothing jolts, bursts or blinks. */
.slate {--ink:var(--chalk);--muted:var(--chalk-dim);--line:var(--slate-line);--surface:#25282b;--soft:#2c2f32;--paper:var(--slate);--accent-text:#ff917d;color-scheme:dark;position:relative;isolation:isolate;width:100%;max-width:520px;margin-top:36px;padding:0 16px 16px;border:0;background:none;color:var(--chalk)}
.slate::before {content:"";position:absolute;inset:40px 0 0;z-index:-1;border:1px solid var(--slate-edge);border-radius:4px 4px 14px 14px;background:var(--slate);box-shadow:0 22px 34px -26px #000a}
.slate-clapper {position:relative;flex:none;height:40px;margin:0 -16px -4px}
.slate-jaw,.slate-arm {position:absolute;left:0;right:0;height:18px}
.slate-jaw {bottom:0;border-radius:5px 5px 0 0;background:repeating-linear-gradient(-55deg,var(--chalk) 0 14px,#1c1e20 14px 28px)}
.slate-arm {bottom:20px;border-radius:5px;background:repeating-linear-gradient(55deg,var(--accent) 0 14px,#1c1e20 14px 28px);box-shadow:0 2px 0 #0006;transform-origin:9px 100%;transform:rotate(-4deg);transition:transform .24s cubic-bezier(.3,1.6,.5,1)}
.slate-hinge {position:absolute;left:3px;bottom:14px;z-index:1;width:12px;height:12px;border-radius:50%;background:#8b8d8f;border:2px solid #1c1e20}
.slate.holding .slate-arm {transform:rotate(-.5deg);transition:transform var(--hold-ms,900ms) cubic-bezier(.5,0,.9,.4)}
.slate.clapped .slate-arm {transform:none;transition:transform .06s ease-in}
.slate-face {position:relative;display:flex;flex-direction:column;border:1.5px solid var(--slate-line);border-radius:6px}
.slate-top {position:relative;display:grid;grid-template-columns:104px minmax(0,1fr)}
.slate-top.slate-bare,.slate-top.slate-wide {grid-template-columns:minmax(0,1fr)}
.slate-photo {position:relative;margin:0;padding:8px;border-right:1.5px solid var(--slate-line)}
.slate-wide .slate-photo {border-right:0;border-bottom:1.5px solid var(--slate-line)}
.slate-photo img {display:block;width:100%;aspect-ratio:9/16;object-fit:cover;border-radius:3px;background:#0e1011;box-shadow:0 0 0 2px #2a2d30}
.slate-wide .slate-photo img {aspect-ratio:16/9}
.slate-rec {position:absolute;left:14px;top:14px;padding:2px 5px;border-radius:2px;background:#e5402aeb;color:#fff;font:600 10px/1 var(--slate-mono);letter-spacing:.12em}
.slate-fields {min-width:0;display:flex;flex-direction:column}
.slate-prod {margin:0;padding:8px 10px 6px;display:flex;flex-direction:column;gap:2px}
.slate-prod span,.slate .slate-cells dt,.slate .slate-facts dt {font:500 10px/1.2 var(--slate-mono);letter-spacing:.14em;text-transform:uppercase;color:var(--chalk-dim)}
.slate-prod b {font:700 22px/1.1 var(--chalk-hand);color:var(--chalk);overflow-wrap:anywhere}
.slate .slate-cells {margin:0;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:0;border-top:1.5px solid var(--slate-line)}
.slate-cells>div {min-width:0;padding:6px 10px}
.slate-cells>div+div {border-left:1.5px solid var(--slate-line)}
.slate .slate-cells dd {margin:2px 0 0;font:700 22px/1.1 var(--chalk-hand);color:var(--chalk);overflow-wrap:anywhere}
.slate .slate-title {margin:0;padding:10px 10px 6px;border-top:1.5px solid var(--slate-line);font:700 28px/1.08 var(--chalk-hand);color:var(--chalk);text-wrap:balance;overflow-wrap:anywhere}
.slate-what {margin:0;padding:0 10px 10px;font-size:13px;line-height:1.4;color:var(--chalk-dim)}
.slate-tag {position:absolute;top:-10px;right:10px;padding:4px 8px;border-radius:3px;background:var(--accent);color:#151719;font:600 10px/1 var(--slate-mono);letter-spacing:.12em;text-transform:uppercase}
.slate .slate-facts {margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;font-size:14px;border-top:1.5px solid var(--slate-line)}
.slate-facts>div {min-width:0;padding:8px 10px}
.slate-facts>div:nth-child(odd) {border-right:1.5px solid var(--slate-line)}
.slate-facts>div:nth-child(n+3) {border-top:1.5px solid var(--slate-line)}
.slate-facts>div:last-child:nth-child(odd) {grid-column:1/-1;border-right:0}
.slate .slate-facts dd {margin:3px 0 0;line-height:1.35;color:var(--chalk);overflow-wrap:anywhere}
.slate-rolling {display:flex;align-items:center;gap:8px;margin:0;padding:12px 10px 0;border-top:1.5px solid var(--slate-line);font:600 11px/1 var(--slate-mono);letter-spacing:.18em;text-transform:uppercase;color:var(--chalk)}
.slate-rolling i {width:9px;height:9px;border-radius:50%;background:var(--accent)}
.slate-line {margin:0;padding:6px 10px 12px;font:700 22px/1.15 var(--chalk-hand);color:var(--chalk);overflow-wrap:anywhere}
.slate-action {position:absolute;inset:0;z-index:3;display:grid;place-items:center;overflow:hidden;border-radius:inherit;opacity:0;pointer-events:none}
.slate-action::before {content:"";position:absolute;inset:-30px;background:repeating-conic-gradient(from 0deg,transparent 0 8deg,#f2eee6b3 8deg 9.5deg);-webkit-mask:radial-gradient(circle,transparent 0 28%,#000 64%);mask:radial-gradient(circle,transparent 0 28%,#000 64%)}
.slate-action b {position:relative;font:italic 900 52px/1 Impact,Haettenschweiler,"Arial Black",var(--sans);letter-spacing:.02em;color:var(--accent);-webkit-text-stroke:2px #151719;paint-order:stroke fill;text-shadow:4px 4px 0 #151719;transform:rotate(-6deg)}
.slate .create-hold-row {align-items:center}
.slate .create-hold-row .hold {flex:1 1 100%}
.slate .hold-approve {width:100%;border-color:var(--chalk);background:var(--chalk);color:#151719}
.slate .hold-approve .hold-label span {color:#505255}
.slate .hold-fill .hold-label span {color:#151719}
.slate .hold-approve.holding {outline-color:var(--chalk)}
/* The ways a take can be made, on its slate (take-ways-view.js): a row for
   each engine with this take's own price, the one picked ringed in chalk, a
   row that can't make the take dashed with its reason and its Ask button, and
   one Sharper picture switch for the card. A tap is free; the block dims
   while the server plans the take again (.busy). */
.take-ways {display:flex;flex-direction:column;gap:8px;min-width:0}
.take-ways h4 {margin:0;font:500 10px/1.2 var(--slate-mono);letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.take-ways-rows {display:flex;flex-direction:column;gap:8px}
.take-way {display:grid;grid-template-columns:18px minmax(0,1fr) auto;column-gap:10px;row-gap:8px;align-items:start;width:100%;min-height:52px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink);font:inherit;text-align:left}
button.take-way {cursor:pointer}
button.take-way:hover {background:var(--soft)}
.take-way.on {border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
.take-way-dot {width:16px;height:16px;margin-top:2px;border-radius:50%;border:1.5px solid var(--muted)}
.take-way.on .take-way-dot {border-color:var(--accent);background:radial-gradient(circle,var(--accent) 0 42%,transparent 46%)}
.take-way-main {display:flex;flex-wrap:wrap;align-items:center;gap:2px 6px;min-width:0;font-size:14px;line-height:1.3}
.take-way-main b {font-weight:600}
.take-way-main small {flex-basis:100%;font-size:12px;line-height:1.4;letter-spacing:0;color:var(--muted)}
.take-way-tag {padding:1px 7px;border:1px solid var(--line);border-radius:999px;font-size:9px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;white-space:nowrap;color:var(--muted)}
.take-way-price {display:flex;flex-direction:column;align-items:flex-end;line-height:1.2;white-space:nowrap;font-variant-numeric:tabular-nums}
.take-way-price b {font-size:15px;font-weight:700}
.take-way-price small {font-size:10px;letter-spacing:.04em;color:var(--muted)}
.take-way.off {border-style:dashed;background:transparent}
.take-way.off .take-way-main b {color:var(--muted)}
.take-way.off .take-way-dot {border-style:dashed}
.take-way.off .button {grid-column:2/-1;justify-self:start}
.take-sharper {display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;width:100%;min-height:48px;padding:9px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink);font:inherit;text-align:left;cursor:pointer}
.take-sharper:hover:not(:disabled) {background:var(--soft)}
.take-sharper-track {position:relative;width:34px;height:20px;border-radius:999px;background:var(--line);transition:background .15s}
.take-sharper-track i {position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:var(--ink);transition:transform .15s}
.take-sharper[aria-checked="true"] .take-sharper-track {background:var(--accent)}
.take-sharper[aria-checked="true"] .take-sharper-track i {transform:translateX(14px);background:#151719}
.take-sharper-main {min-width:0;font-size:14px;line-height:1.3}
.take-sharper-main b {font-weight:600}
.take-sharper-main small {display:block;margin-top:2px;font-size:12px;line-height:1.4;letter-spacing:0;color:var(--muted)}
.take-sharper-extra {font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--muted)}
.take-sharper-extra small {font-size:10px;letter-spacing:.04em}
.take-sharper:disabled {cursor:default;opacity:1;border-style:dashed;background:transparent}
.take-sharper:disabled .take-sharper-main b {color:var(--muted)}
.take-sharper:disabled .take-sharper-track {opacity:.5}
.take-ways-hint {margin:0;font-size:12px}
.take-ways.busy {pointer-events:none}
.take-ways.busy .take-way:not(.pending),.take-ways.busy .take-sharper:not(.pending) {opacity:.55}
.take-way.pending,.take-sharper.pending {border-color:var(--accent)}
@media (prefers-reduced-motion: reduce) {
  .take-sharper-track,.take-sharper-track i {transition:none}
}
.slate-expired .slate-face {opacity:.75}
.slate-expired .slate-photo img {filter:grayscale(.75)}
.slate-expired .slate-tag {background:var(--chalk-dim)}
.create-card .slate-strip {display:flex;align-items:stretch;margin:-18px -18px 0;border-radius:15px 15px 0 0;overflow:hidden;background:var(--slate);color:var(--chalk)}
.slate-stripes {flex:none;width:30px;background:repeating-linear-gradient(-55deg,var(--chalk) 0 8px,#1c1e20 8px 16px)}
.slate-strip>div {min-width:0;padding:10px 14px}
.create-card .slate-strip h3 {margin:0;font:700 20px/1.15 var(--chalk-hand);color:var(--chalk);overflow-wrap:anywhere}
.slate-strip p {margin:5px 0 0;display:flex;flex-wrap:wrap;gap:4px 14px;font:600 11px/1.2 var(--slate-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--chalk)}
.slate-strip small {font-size:9.5px;letter-spacing:.14em;color:var(--chalk-dim)}
.slate-strip-what {margin:0;font-size:13px;color:var(--muted)}
/* A Sakuga shot: a vermilion stamp beside its name, on its slate, its strip
   and its plan card. */
/* A dynamic camera shot: an ink stamp lettered in vermilion, tilted the other
   way, so a shot that is both carries two stamps that read apart. */
.dynamic-badge {display:inline-block;margin-left:4px;padding:3px 7px 2px;border-radius:3px;background:#151719;color:var(--accent);font:700 10px/1 var(--slate-mono);letter-spacing:.16em;text-transform:uppercase;vertical-align:middle;transform:rotate(2deg);box-shadow:0 0 0 1px var(--accent),2px 2px 0 var(--accent)}
.sakuga-badge + .dynamic-badge {margin-left:9px}
.sakuga-badge {display:inline-block;margin-left:4px;padding:3px 7px 2px;border-radius:3px;background:var(--accent);color:#151719;font:700 10px/1 var(--slate-mono);letter-spacing:.16em;text-transform:uppercase;vertical-align:middle;transform:rotate(-3deg);box-shadow:2px 2px 0 #151719}
@media (prefers-reduced-motion: no-preference) {
  .slate.clap {animation:slate-clack .22s ease-out}
  .slate.clap .slate-action {animation:slate-burst 1.05s ease-out}
  .slate-working .slate-rolling i,.slate-working .slate-rec {animation:slate-blink 1s steps(2,start) infinite}
  @keyframes slate-burst {0% {opacity:0;transform:scale(.6)} 18% {opacity:1;transform:scale(1.08)} 70% {opacity:1;transform:scale(1)} 100% {opacity:0;transform:scale(1.02)}}
  @keyframes slate-clack {30% {transform:translateY(2px) rotate(-.4deg)} 60% {transform:translateY(-1px) rotate(.3deg)}}
  @keyframes slate-blink {to {visibility:hidden}}
}
@media (prefers-reduced-motion: reduce) {
  .slate-arm,.slate.holding .slate-arm,.slate.clapped .slate-arm {transition:none}
  .slate.holding:not(.clapped) .slate-arm {transform:rotate(-4deg)}
}
@media (max-width:560px) {
  .slate-top {grid-template-columns:86px minmax(0,1fr)}
  .slate-cells>div {padding:6px 6px}
  .slate .slate-cells dt {letter-spacing:.06em}
  .slate .slate-cells dd {font-size:20px}
  .slate .slate-title {font-size:24px}
  .slate .slate-facts {grid-template-columns:1fr}
  .slate-facts>div:nth-child(odd) {border-right:0}
  .slate-facts>div+div {border-top:1.5px solid var(--slate-line)}
}
.create-prompt-body {white-space:pre-wrap;line-height:1.6}
.create-prompt .shot-plan-card {border-top:1px solid var(--line);margin-top:12px;padding-top:8px}
.create-prompt .shot-plan-card h3 {margin:6px 0 2px;font-size:15px}
.create-prompt .shot-plan-card details {margin:6px 0 0}
.create-check {display:flex;align-items:center;gap:10px;margin:0;font-weight:400;font-size:14px}
.create-check input {width:auto;margin:0;display:inline-block}
/* The story card’s own-wording lines (conversation.js approval): one label and field per editable line. */
.create-edit {display:flex;flex-direction:column;gap:4px;margin:10px 0;font-size:14px;font-weight:400}
.create-edit span {font-weight:500}
.create-edit textarea {width:100%;resize:vertical}
.create-thumb {position:relative;display:block;width:100%;aspect-ratio:9/16;overflow:hidden;border-radius:10px;background:#151719;color:#c9c4ba}
.create-thumb img,.create-thumb video {width:100%;height:100%;object-fit:cover;display:block}
.create-thumb-note {display:flex;align-items:center;justify-content:center;width:100%;height:100%;padding:8px;font-size:11px;text-align:center;border:1px dashed #4a4e50;border-radius:inherit}
.create-media-failed {flex-wrap:wrap;gap:4px 8px;min-height:72px}
.create-media-failed .text-link {font-size:inherit;text-decoration:underline}
.create-single>.create-loading {margin:6px 0 0}
/* A picture still downloading keeps its place without the browser's broken-image
   icon or its alt text; the box it sits in shows a soft tone until it arrives
   (media-view.js). */
img[data-result]:not([src]) {visibility:hidden}
.media-waiting {box-shadow:inset 0 0 0 100vmax color-mix(in srgb,currentColor 7%,transparent)}
@media (prefers-reduced-motion: no-preference) {
  .media-waiting {animation:media-waiting 1.4s ease-in-out infinite alternate}
  @keyframes media-waiting {from {box-shadow:inset 0 0 0 100vmax color-mix(in srgb,currentColor 4%,transparent)} to {box-shadow:inset 0 0 0 100vmax color-mix(in srgb,currentColor 10%,transparent)}}
}
.create-shot.selected .create-thumb::after {content:"";position:absolute;inset:0;border:3px solid var(--accent);border-radius:inherit;pointer-events:none}
.create-single img,.create-single video {display:block;max-width:100%;max-height:420px;border-radius:10px}
.create-single audio {width:100%}
.create-board {position:relative;display:block;width:min(100%,560px)}
.create-board img {display:block;width:100%;height:auto;max-height:none}
.board-panels {position:absolute;inset:0;margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(var(--cols,2),minmax(0,1fr));grid-template-rows:repeat(var(--rows,2),minmax(0,1fr));pointer-events:none}
.board-panels li {position:relative;border:1px solid rgba(255,255,255,.45);box-shadow:inset 0 0 0 1px rgba(21,23,25,.35)}
.board-panels li[data-n]::before {content:attr(data-n);position:absolute;top:5px;left:5px;min-width:18px;padding:1px 6px;border-radius:999px;background:rgba(21,23,25,.78);color:#fff;font:600 11px/16px var(--sans);text-align:center}
.board-panels li.empty {border-style:dashed;opacity:.5}
.create-composer {position:sticky;bottom:0;padding:16px 32px 20px;background:var(--paper);border-top:1px solid var(--line);z-index:2}
.create-composer-box {position:relative;max-width:716px;display:flex;gap:10px;align-items:flex-end;padding:10px 10px 10px 16px;border:1px solid var(--line);border-radius:18px;background:var(--surface)}
.create-composer-box textarea {flex:1 1 auto;min-width:0;border:0;background:transparent;padding:6px 0;margin:0;resize:none;font-size:15px;line-height:1.5;border-radius:0}
.create-send {flex:none;width:44px;height:44px;border-radius:50%;background:var(--accent);color:#151719;display:flex;align-items:center;justify-content:center}
.create-send svg {width:20px;height:20px}
.create-send:hover:not(:disabled) {background:#fa6954}
.create-composer-foot {max-width:716px;display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-top:8px}
/* What Change in the Series notebook opens (engine-view.js): every engine
   the studio offers with what it can do, the series' own ringed. */
.engine-choices {display:flex;flex-direction:column;gap:10px}
.engine-choice {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 16px;align-items:center;padding:14px 16px;border:1px solid var(--line);border-radius:12px}
.engine-choice.on {border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
.engine-choice h3 {grid-column:1;margin:0;font-size:15px;font-weight:650}
.engine-choice h3 span {margin-left:6px;font-size:12px;font-weight:400;color:var(--muted)}
.engine-choice p {grid-column:1;margin:0;font-size:13px;line-height:1.5;color:var(--muted)}
.engine-choice .button,.engine-choice-tag {grid-column:2;grid-row:1/span 2}
.engine-choice-tag {padding:2px 8px;border:1px solid var(--line);border-radius:999px;font-size:9px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;white-space:nowrap;color:var(--muted)}
dialog>.engine-choices-waiting {margin:-8px 0 18px;padding:10px 14px;border-left:3px solid var(--accent);border-radius:4px;background:var(--soft);color:var(--ink);line-height:1.5}
dialog>.engine-choices+.form-error:empty {display:none}
dialog>.engine-choices-note {margin:16px 0 0;font-size:12px;line-height:1.5}
@media(max-width:520px){.engine-choice{grid-template-columns:minmax(0,1fr)}.engine-choice .button,.engine-choice-tag{grid-column:1;grid-row:auto;justify-self:start}}
.create-composer-foot .field-note {margin:0;font-size:12px;color:var(--muted)}
.create-composer-foot .create-unsent {color:var(--accent-text);font-weight:600}
.create-composer-foot .field-note .text-link {font-size:12px}
.create-composer-foot label {display:flex;align-items:center;gap:8px;margin:0;font-size:12px;color:var(--muted);font-weight:400}
.create-composer-foot select {width:auto;margin:0;padding:6px 10px;font-size:12px;border-radius:999px;display:inline-block}
.create-mention-picker {position:absolute;left:0;right:0;bottom:calc(100% + 8px);max-height:min(340px,50vh);overflow-y:auto;overscroll-behavior:contain;padding:8px;border:1px solid var(--line);border-radius:16px;background:var(--surface);box-shadow:var(--shadow);z-index:3}
.create-mention-head {margin:4px 8px 6px;font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.create-mention-picker ul {list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
.create-mention {display:flex;align-items:center;gap:12px;min-height:48px;padding:6px 8px;border-radius:12px;cursor:pointer}
.create-mention.active {background:var(--soft);box-shadow:inset 3px 0 0 var(--accent)}
.create-mention:hover {background:var(--soft)}
.create-mention img,.create-mention-mark {flex:none;width:36px;height:48px;border-radius:8px;object-fit:cover;border:1px solid var(--line);background:var(--paper)}
.create-mention[data-kind="cast"] img,.create-mention[data-kind="cast"] .create-mention-mark {width:40px;height:40px;border-radius:50%}
.create-mention-mark {display:flex;align-items:center;justify-content:center;font:400 20px/1 var(--serif);color:var(--accent-text)}
.create-mention-words {display:flex;flex-direction:column;gap:2px;min-width:0}
.create-mention-words b {font-size:14px;font-weight:600;color:var(--ink)}
.create-mention-words span {font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.create-mention-empty {margin:4px 8px 8px;font-size:13px;color:var(--muted)}
/* A tag in a sent message: the character, scene or shot it names. */
.create-tag {color:var(--accent-text);font-weight:600}
/* The draft cut is a cinema panel: ink in both themes. */
.create-cut {background:#151719;color:#f4f0e8;padding:24px;display:flex;flex-direction:column;gap:18px;position:sticky;top:0;align-self:start;max-height:100dvh;overflow:auto;scrollbar-width:thin}
:root[data-theme="dark"] .create-cut {border-left:1px solid var(--line)}
.create-cut-head {display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap}
.create-cut-head h2 {font-size:24px;letter-spacing:-.5px}
.create-cut-head span,.create-fine {font-size:12px;color:#c9c4ba}
.create-player {position:relative;width:100%;max-width:330px;align-self:center;aspect-ratio:9/16;border-radius:14px;overflow:hidden;background:#000;display:flex;align-items:center;justify-content:center}
.episode-preview[open] {display:flex;flex-direction:column;gap:12px;padding:24px}
.episode-preview .create-player {width:min(100%,33vh);flex:none}
.episode-preview p {margin:0}
#episode-preview-details {display:grid;gap:8px;justify-items:start;font-size:13px}
.create-player video {width:100%;height:100%;object-fit:contain;background:#000}
.create-player>.create-fine {position:absolute;left:12px;right:12px;bottom:12px;margin:0;padding:6px 10px;background:rgba(21,23,25,.8);border-radius:8px;text-align:center}
.create-player>.create-loading {top:12px;bottom:auto}
.create-player-note {padding:24px;text-align:center;color:#c9c4ba;font-size:13px;display:flex;flex-direction:column;align-items:center;gap:14px}
.create-player-note .mark {width:28px;height:28px;color:var(--accent)}
.create-shots>.eyebrow {display:block;color:#c9c4ba;margin-bottom:10px}
.create-shots ol {list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.create-shot {width:100%;padding:0;color:#f4f0e8;text-align:left;display:flex;flex-direction:column;gap:4px;font-size:12px}
.create-shot .create-thumb {border-radius:8px;background:#23272a}
/* What a shot with a picture waits on, under its name (live finding 70). */
.create-shot-state {font-size:11px;color:#c9c4ba}
.create-shot-panel {margin-top:14px;padding:14px;border-radius:12px;background:#23272a;display:flex;flex-direction:column;gap:12px}
.create-shot-head {display:flex;justify-content:space-between;align-items:baseline;gap:8px;flex-wrap:wrap}
.create-shot-head strong {font-size:15px}
.create-shot-head span {font-size:12px;color:#c9c4ba}
.create-shot-panel>p {font-size:13px;color:#c9c4ba}
.create-shot-panel .create-chips {margin:0}
.create-shot-panel .create-chip {background:transparent;color:#f4f0e8;border-color:#4a4e50;border-radius:999px;padding:0 14px}
.create-shot-panel .create-chip:hover {background:#2f3336}
/* Tap controls (direction-view.js): a row of choices per craft, one pressed per row, in the dark panel. */
.create-taps {border-top:1px solid #3a3e41;padding-top:12px}
.create-taps>summary {cursor:pointer;font-size:14px;font-weight:600;line-height:1.4}
.create-taps>summary span {font-size:12px;font-weight:400;color:#c9c4ba;margin-left:6px;white-space:nowrap}
.create-taps[open]>summary {margin-bottom:12px}
.create-tap-group {display:flex;flex-direction:column;gap:6px;margin:0 0 12px}
.create-tap-label {font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:#c9c4ba}
.create-cut .create-tap-group .create-chips,.create-plan .create-chips {margin:0;gap:6px}
.create-cut .create-tap {min-height:36px;padding:0 12px;font-size:13px;background:transparent;color:#f4f0e8;border-color:#4a4e50;border-radius:999px}
.create-cut .create-tap:hover {background:#2f3336}
.create-cut .create-tap[aria-pressed="true"] {background:var(--accent);border-color:var(--accent);color:#151719}
.create-cut .create-tap[aria-pressed="true"]:hover {background:#fa6954}
.create-taps>.create-fine {margin:10px 0 0}
.create-plan [data-plan="look"]>p {margin:0 0 10px;color:#c9c4ba}
.create-plan [data-plan="look"] dl {margin-bottom:12px}
.create-plan [data-plan="look"] .create-chips {margin-bottom:12px}
.create-plan [data-plan="look"]>.create-fine {margin:10px 0 0}
.create-export {margin-top:auto;display:flex;flex-direction:column;gap:8px}
.create-export .button {color:#f4f0e8;border-color:#4a4e50;font-size:15px}
.create-export .button:not(:disabled) {border-color:var(--accent);background:var(--accent);color:#151719}
.create-export .button:not(:disabled):hover {background:#fa6954}
.create-export p {font-size:12px;color:#c9c4ba;text-align:center}
.create-plan {display:flex;flex-direction:column;gap:10px;font-size:13px}
.create-plan>.eyebrow {color:#c9c4ba;margin:0}
.create-plan dl {margin:0;display:flex;flex-direction:column;gap:8px}
.create-plan dt {font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:#c9c4ba}
.create-plan dd {margin:2px 0 0;line-height:1.45}
.create-plan details {border-radius:12px;background:#23272a;padding:10px 14px}
.create-plan summary {cursor:pointer;font-size:14px;line-height:1.4}
.create-plan summary span {font-size:12px;color:#c9c4ba;margin-left:6px;white-space:nowrap}
.create-plan details[open]>summary {margin-bottom:10px}
.create-plan ul {margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px}
.create-plan li span {display:block;font-size:12px;color:#c9c4ba;margin-top:2px}
.create-plan .create-fine {margin:0}
.create-plan-changes {border-top:1px solid var(--line);padding-top:12px;font-size:14px}
.create-plan-changes p {margin:0}
.create-plan-changes ul {margin:6px 0 0;padding-left:18px;display:flex;flex-direction:column;gap:4px}
.create-suggestion {margin:10px 0 0;font-size:13px}
.create-suggestion summary {cursor:pointer;font-weight:500;padding:6px 0}
.create-suggestion ul {list-style:none;margin:8px 0;padding:0}
.create-suggestion li {display:flex;justify-content:space-between;gap:12px;padding:6px 0;border-bottom:1px solid var(--line)}
@media(max-width:1250px){.create-page{grid-template-columns:200px minmax(0,1fr) 340px}.create-head,.create-progress,.create-feed,.create-composer{padding-left:24px;padding-right:24px}}
@media(max-width:1000px){.create-page{grid-template-columns:minmax(0,1fr)}.create-rail{position:static;max-height:none;flex-direction:row;overflow-x:auto;border-right:0;border-bottom:1px solid var(--line);padding:14px 20px}.create-rail>.eyebrow{display:none}.create-series{flex:none;max-width:240px}.create-new{flex:none;padding:0 16px;margin:0}.create-main{border-right:0}.create-cut{position:static;max-height:none;overflow:visible}.create-shots ol{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:680px){.create-composer{bottom:65px}.create-head h1{font-size:28px}.create-welcome h2{font-size:30px}.create-shots ol{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:560px){.create-card dl{grid-template-columns:1fr}.create-hold-row .hold{flex:1 1 100%}.hold-approve{width:100%}}

/* Creator welcome: shared Genga identity, an account-owned profile. */
.creator-welcome{max-width:1120px;margin:0 auto;padding:64px 48px;display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center;min-height:72vh}
.welcome-story h1{font-family:var(--serif);font-weight:400;font-size:clamp(42px,4.6vw,72px);line-height:1.02;letter-spacing:-.035em;margin:24px 0}
.welcome-story>p{color:var(--muted);max-width:360px;line-height:1.7}
.welcome-signature{font-size:72px;color:var(--accent);margin-top:64px;letter-spacing:-.08em}.welcome-signature span{display:block;font-size:10px;letter-spacing:.2em;margin-top:12px;color:var(--muted)}
.welcome-card{padding:34px;background:var(--surface);border:1px solid var(--line);border-radius:22px;box-shadow:0 20px 60px #00000008}
.welcome-card h2{font-family:var(--serif);font-weight:400;font-size:32px}.welcome-card form{display:grid;gap:16px;margin-top:24px}.welcome-card label{display:grid;gap:8px}.welcome-card .field-note{font-size:12px;line-height:1.6}.welcome-card .button{min-height:44px}.welcome-card .account-email{overflow-wrap:anywhere;color:var(--muted);font-size:14px}.welcome-card #username-status{min-height:1.3em;font-size:13px;color:var(--accent-text);margin:0}.handle-field{display:flex;align-items:center;gap:10px}.handle-field>span{color:var(--accent-text);font-size:24px}.handle-field input{min-width:0;width:100%}.creator-handle{color:var(--accent-text)}
@media(max-width:900px){.creator-welcome{padding:32px 24px;gap:28px;grid-template-columns:1fr}.welcome-story h1 br{display:none}.welcome-signature{display:none}.welcome-story>p{max-width:none}.welcome-card{max-width:560px;width:100%;box-sizing:border-box}.creator-welcome{min-height:auto}}
@media(prefers-reduced-motion:reduce){.creator-welcome *{animation:none;transition:none}}

/* One creator-facing next step; existing cards retain all approval controls. */
.create-next {position:sticky;top:0;z-index:1;margin:20px 32px 0;padding:20px;display:flex;align-items:center;gap:20px;border:1px solid var(--line);border-left:3px solid var(--accent);border-radius:16px;background:var(--surface)}
.create-next>div {flex:1;min-width:0}
.create-next .eyebrow {color:var(--accent-text);margin:0 0 6px}
.create-next h2 {font-family:var(--serif);font-size:23px;margin:0 0 8px}
@media(max-width:680px){.create-next{position:static}}
.create-next p:not(.eyebrow) {font-size:14px;color:var(--muted);margin:0;line-height:1.5}
.create-next button {flex-shrink:0}
.create-notebook {border-top:1px solid #444;padding-top:18px}
.create-notebook>summary {cursor:pointer;font-size:18px;font-weight:600}
.create-notebook>summary span {display:block;font-size:12px;color:#c9c4ba;font-weight:400;margin-top:5px}
.create-notebook[open]>.create-plan {margin-top:18px}
.create-notebook>summary span:empty,.create-notebook[open]>summary #create-engine-name {display:none}
/* The series' engine heads the notebook, with Change beside it; closed, the
   notebook says it under its name (engine-view.js). */
.create-engine {display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:16px;font-size:14px}
.create-engine:empty {display:none}
.create-engine p {flex:1 1 auto;min-width:0;margin:0;line-height:1.4}
.create-engine b {font-weight:600}
.create-engine p span {display:block;margin-top:2px;font-size:12px;color:#c9c4ba}
.create-engine .button {flex:none}
[data-action-anchor]:focus {outline:2px solid var(--accent);outline-offset:5px;border-radius:16px}
@media(max-width:1250px){.create-next{margin-left:24px;margin-right:24px}}
@media(max-width:680px){.create-next{flex-direction:column;align-items:stretch}.create-next button{width:100%}}

/* The private map sits in the draft-cut panel, which stays dark in both themes. */
.production-map-scroll { max-width: 100%; max-height: 65vh; overflow: auto; border: 1px solid #4a4e50; border-radius: 14px; color: #f4f0e8; }
.production-map-scroll svg { display: block; font: 13px var(--sans); }
.production-map-scroll .map-column { fill: #c9c4ba; letter-spacing: .08em; }
.production-map-scroll .map-node rect { fill: #1d2022; stroke: var(--accent); }
.production-map-scroll .map-node text { fill: #f4f0e8; }
.production-map-scroll .map-node .map-id { fill: #c9c4ba; font-size: 11px; }
.production-map-scroll .map-edge { fill: none; stroke: currentColor; opacity: .3; }
.create-cut .create-notebook .button.outline { color: #f4f0e8; border-color: #4a4e50; }
.create-cut .create-notebook .button.outline:hover { background: #ffffff14; }

/* Studio moments (moments-view.js). The production strip: Story to Premiere
   across the top, each stage's bar filling in as the creator approves; a
   stage with a card in the chat jumps to its newest one. */
.create-progress li {min-width:0}
.strip-stage {display:flex;flex-direction:column;gap:5px;width:100%;padding:6px 4px;border-radius:8px;color:var(--muted);font:500 12px/1.2 var(--sans);text-align:left}
button.strip-stage:hover {background:var(--soft)}
.strip-name {white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.strip-check {color:var(--accent-text)}
.strip-bar {display:block;height:4px;border-radius:2px;background:var(--line);overflow:hidden}
.strip-bar span {display:block;width:var(--fill,0%);height:100%;border-radius:inherit;background:var(--accent)}
.strip-note {min-height:1.2em;font-size:11px;font-weight:400;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.create-progress li.done .strip-stage {color:var(--ink)}
.create-progress li.current .strip-stage {color:var(--ink);font-weight:700}
.create-progress li.current .strip-bar {box-shadow:0 0 0 1px var(--accent)}
@media(max-width:560px){.create-progress{padding:8px 16px 10px;gap:2px}.strip-stage{padding:6px 2px;font-size:11px}.strip-check{display:none}}
/* CUT! A rubber stamp lands over the page when a take is kept, and "That's a
   wrap" on the episode's last shot. It never takes a click. Reduce Motion:
   it shows still, then goes. */
.cut-stamp-layer {position:fixed;inset:0;z-index:40;display:flex;align-items:center;justify-content:center;padding:16px;pointer-events:none}
.cut-stamp {display:flex;flex-direction:column;align-items:center;gap:6px;max-width:100%;padding:16px 30px 14px;border:4px solid var(--accent);border-radius:14px;box-shadow:inset 0 0 0 3px var(--surface),inset 0 0 0 5px var(--accent),0 18px 50px #1114;background:var(--surface);color:var(--accent-text);text-align:center;transform:rotate(-8deg)}
.cut-stamp b {font:700 64px/.95 var(--sans);letter-spacing:.01em;color:var(--accent)}
.cut-stamp.wrap b {font:400 52px/1 var(--serif);letter-spacing:0}
.cut-stamp span {font:700 13px/1.2 var(--sans);letter-spacing:.2em}
@media (prefers-reduced-motion: no-preference) {
  .cut-stamp {animation:cut-stamp 1.9s cubic-bezier(.2,.9,.3,1) both}
  @keyframes cut-stamp {0% {opacity:0;transform:rotate(-8deg) scale(1.7)} 13% {opacity:1;transform:rotate(-8deg) scale(.93)} 19% {transform:rotate(-8deg) scale(1)} 82% {opacity:1;transform:rotate(-8deg) scale(1)} 100% {opacity:0;transform:rotate(-8deg) scale(1.02)}}
}
@media(max-width:560px){.cut-stamp b{font-size:48px}.cut-stamp.wrap b{font-size:40px}}
/* A kept take's card: where it stands in the episode, and Replay. */
.create-kept {display:flex;align-items:center;flex-wrap:wrap;gap:6px 8px;margin:0;font-size:13px}
.create-kept-stamp {display:inline-block;padding:1px 6px;border:1.5px solid var(--accent);border-radius:4px;color:var(--accent-text);font:700 10px/1.4 var(--sans);letter-spacing:.14em;transform:rotate(-6deg)}
.create-kept .text-link {font-size:13px;text-decoration:underline}
/* Red pencil: where the Director looked closer, looped like an animation
   director's corrections over a key drawing, with what it checked written
   beside each loop. The creator's own marked spots take the same look. */
.pencil-figure {position:relative;display:inline-block;max-width:100%;line-height:0;vertical-align:top}
.pencil-figure>.create-loading,.pencil-figure .create-media-failed {line-height:1.4}
.pencil-layer {position:absolute;inset:0;pointer-events:none}
.pencil-box,.spot-box {position:absolute;pointer-events:none;border:2.5px solid var(--pencil);border-radius:255px 18px 225px 18px/18px 225px 18px 255px;filter:drop-shadow(0 0 1px rgba(250,247,241,.95))}
.pencil-box::before,.spot-box::before {content:"";position:absolute;inset:-5px -3px -2px -6px;border:1.5px solid var(--pencil);border-radius:18px 225px 18px 255px/255px 18px 225px 18px;opacity:.6;transform:rotate(-1.5deg)}
.pencil-label {position:absolute;left:-4px;bottom:calc(100% + 5px);max-width:16em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:400 15px/1.2 var(--serif);color:var(--pencil);transform:rotate(-3deg);transform-origin:left bottom;text-shadow:0 0 2px #faf7f1,0 0 4px #faf7f1,0 0 7px #faf7f1}
.pencil-label.below {bottom:auto;top:calc(100% + 5px);transform-origin:left top}
.pencil-label.end {left:auto;right:-4px;transform-origin:right bottom}
.create-pencil {margin:0;display:flex;flex-direction:column;align-items:flex-start;gap:8px;max-width:100%}
.create-pencil img,.create-pencil video {display:block;max-width:100%;max-height:420px;border-radius:12px;-webkit-user-drag:none}
.create-pencil figcaption,.pencil-caption {font-size:13px;line-height:1.45;color:var(--muted)}
.create-pencil figcaption::before,.pencil-caption::before {content:"";display:inline-block;width:14px;height:2px;margin-right:7px;vertical-align:middle;border-radius:1px;background:var(--pencil);transform:rotate(-14deg)}
.create-sheet-slide .pencil-caption {margin:0;font-size:12px}
/* The premiere: a film-leader countdown over the whole screen, the series
   title card, then the film. Ink in both themes, like the draft cut panel.
   Reduce Motion: the numbers change without the sweep. */
.premiere {position:fixed;inset:0;z-index:80;display:flex;align-items:center;justify-content:center;background:#0d0f10;color:#f4f0e8;padding:max(16px,env(safe-area-inset-top,0px)) max(16px,env(safe-area-inset-right,0px)) max(16px,env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px))}
.premiere-leader {position:relative;width:min(72vmin,440px);aspect-ratio:1}
.premiere-leader svg {position:absolute;inset:0;width:100%;height:100%}
.premiere-sweep {position:absolute;inset:4%;border-radius:50%;background:conic-gradient(from 0deg,transparent 0 72%,rgba(244,240,232,.3) 100%)}
.premiere-count {position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font:400 min(38vmin,230px)/1 var(--serif)}
.premiere-title,.premiere-film {position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:64px max(16px,env(safe-area-inset-right,0px)) 24px max(16px,env(safe-area-inset-left,0px));text-align:center}
.premiere-title>div {position:relative;max-width:min(100%,760px)}
.premiere-cover {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.25}
.premiere-eyebrow {margin:0 0 14px;font:600 12px/1.2 var(--sans);letter-spacing:.32em;color:#ef543e}
.premiere-title h2 {margin:0;font:400 clamp(40px,8vw,88px)/1.02 var(--serif);text-wrap:balance;overflow-wrap:anywhere}
.premiere-subtitle {margin:16px 0 0;font-size:18px;line-height:1.4;color:#c9c4ba}
.premiere-film video {display:block;max-width:100%;max-height:100%;min-height:0;background:#000}
.premiere .create-loading {color:#c9c4ba}
.premiere-controls {position:absolute;top:max(14px,env(safe-area-inset-top,0px));right:max(14px,env(safe-area-inset-right,0px));display:flex;gap:8px;z-index:1}
.premiere-skip {min-height:40px;padding:8px 16px;border-radius:999px;border:1px solid rgba(244,240,232,.45);color:#f4f0e8;font-size:13px}
.premiere-close {width:40px;height:40px;border-radius:50%;border:1px solid rgba(244,240,232,.45);color:#f4f0e8;font-size:22px;line-height:1}
.premiere-skip:hover,.premiere-close:hover {background:#ffffff14}
.premiere.still .premiere-sweep {display:none}
@media (prefers-reduced-motion: no-preference) {
  .premiere:not(.still) .premiere-sweep {animation:premiere-sweep .8s linear infinite}
  .premiere:not(.still) .premiere-leader {animation:premiere-flicker .12s steps(2,end) infinite}
  .premiere-title>div {animation:arrive .8s ease-out both}
  @keyframes premiere-sweep {to {transform:rotate(360deg)}}
  @keyframes premiere-flicker {50% {opacity:.92}}
}
/* Delete series (docs/delete-series-2026-11-19.md): quiet, under the list, and it only opens the first of two questions. */
.create-delete {margin-top:auto;min-height:44px;border:0;background:none;color:var(--muted);font:inherit;font-size:13px;display:flex;align-items:center;gap:6px;padding:0 10px;cursor:pointer;border-radius:12px}
.create-delete svg {width:16px;height:16px}
.create-delete:hover,.create-delete:focus-visible {color:var(--ink);background:var(--soft)}
@media(max-width:1000px){.create-delete{flex:none;margin:0}}

.beta-entry { max-width: 34rem; margin: 8vh auto; padding: 1.5rem; }
.beta-entry [hidden],.beta-entry[hidden] { display: none; }
.beta-entry h1,.beta-entry h2 { font-family: var(--serif); font-weight: normal; }
.beta-entry h1 { font-size: clamp(2.5rem,7vw,4rem); }
.beta-entry form { display: grid; gap: .6rem; margin: 1rem 0; }
.beta-entry input { padding: .8rem; border: 1px solid var(--muted); background: var(--surface); color: var(--ink); border-radius: 8px; }
.beta-entry button { justify-self: start; }
.premiere-form{display:grid;gap:14px}.premiere-form[hidden]{display:none}.premiere-form img{border-radius:7px}.premiere-form video{width:100%;max-height:33vh;background:#151719}.premiere-form label{display:grid;gap:6px}.premiere-form label:has(input[type="checkbox"]){display:block}

/* Creator milestones are local to the artwork or receipt. Resting marks do no animation work. */
.creator-mark {position:relative;display:inline-grid;place-items:center;vertical-align:middle;width:1.65rem;height:1.65rem;margin-inline-end:.45rem;isolation:isolate;pointer-events:none}
.mark-glyph {display:grid;place-items:center;width:100%;height:100%;border-radius:50%;background:var(--surface);border:2px solid var(--accent-text);color:var(--accent-text);font:800 1.05rem/1 var(--sans);transform:rotate(-6deg)}
.mark-take .mark-glyph {border-radius:5px}
.mark-premiere {width:2.8rem;height:2.8rem}
.mark-premiere .mark-glyph {background:var(--accent);border-color:var(--paper);color:#151719}
.mark-rays,.mark-rays i {position:absolute;inset:0;pointer-events:none}
.mark-rays i {transform:rotate(var(--angle))}
.mark-rays i::after {content:"";position:absolute;left:47%;bottom:100%;width:8%;height:38%;background:var(--accent);clip-path:polygon(45% 0,100% 100%,0 90%);opacity:0}
.create-single:has(> .creator-mark),.reference-canvas,.premiere-cover {position:relative}
.create-single > .creator-mark,.reference-canvas > .creator-mark,.create-sheet-frame > .creator-mark,.premiere-cover > .creator-mark {position:absolute;bottom:.65rem;right:.5rem}
.premiere-cover {display:inline-block;margin:0}
.premiere-cover img {display:block;width:9rem;aspect-ratio:2/3;object-fit:cover;border-radius:8px}
.premiere-live {display:grid;justify-items:start;gap:.65rem}
@media (prefers-reduced-motion: no-preference) {
  .mark-lands .mark-glyph {animation:genga-stamp .28s ease-out both}
  .mark-cast.mark-lands .mark-glyph {animation:genga-sign .25s ease-out both}
  .mark-lands .mark-rays i::after {animation:genga-strokes .38s ease-out both}
  @keyframes genga-sign {from {clip-path:inset(0 100% 0 0)} to {clip-path:inset(0)}}
  @keyframes genga-stamp {0% {transform:rotate(-12deg) scale(1.25)} 60% {transform:rotate(-4deg) scale(.94)} 100% {transform:rotate(-6deg) scale(1)}}
  @keyframes genga-strokes {0% {opacity:0;transform:scaleY(.2)} 25% {opacity:1} 100% {opacity:0;transform:translateY(-65%) scaleY(.55)}}
}

/* Free build (free-build-view.js): one standalone fight, apart from the series. */
.free-build .fight-start,.free-build section{margin-top:28px}
.free-build h2{font-family:var(--serif);font-weight:normal;font-size:1.6rem;margin:0 0 12px}
.fight-form{display:grid;gap:16px;max-width:640px}
.fight-form label{display:grid;gap:6px;font-weight:600}
.fight-form input[type=text],.fight-form input:not([type]),.fight-form textarea{font:inherit;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:inherit}
.fight-chips,.fight-roster{border:0;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:8px}
.fight-chips legend,.fight-roster legend{font-weight:600;margin-bottom:8px;width:100%}
.fight-roster legend span{font-weight:normal;color:var(--muted)}
.fight-chip,.fight-fighter{position:relative}
.fight-chip{display:inline-flex!important;align-items:center}
.fight-chip input,.fight-fighter input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;pointer-events:none}
.fight-chip span{min-height:40px;display:inline-flex;align-items:center;padding:0 16px;border:1px solid var(--line);border-radius:999px;cursor:pointer;font-weight:600}
.fight-chip input:checked+span{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.fight-chip input:focus-visible+span,.fight-fighter input:focus-visible~span{outline:2px solid currentColor;outline-offset:2px}
.fight-fighter{position:relative;display:flex!important;grid-auto-flow:column;align-items:center;gap:10px;padding:6px 12px 6px 6px;border:1px solid var(--line);border-radius:14px;cursor:pointer;font-weight:600}
.fight-fighter img{width:44px;height:44px;object-fit:cover;border-radius:10px;background:var(--soft)}
.fight-fighter small{display:block;font-weight:normal;color:var(--muted)}
.fight-fighter:has(input:checked){border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
.fight-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:14px}
.fight-card{display:grid;gap:4px;text-decoration:none;color:inherit;padding:8px;border-radius:14px}
.fight-card:hover,.fight-card:focus-visible,.fight-card.current{background:var(--soft)}
.fight-art{display:block;aspect-ratio:9/16;border-radius:12px;overflow:hidden;background:var(--soft)}
.fight-art img{width:100%;height:100%;object-fit:cover}
.fight-art-empty{display:block;width:100%;height:100%;background:repeating-linear-gradient(135deg,transparent 0 10px,var(--line) 10px 11px)}
.fight-title{font-weight:700}
.fight-state{font-size:13px;color:var(--muted)}
.fight-empty{color:var(--muted);max-width:52ch}
.create-rail .fight-card{grid-template-columns:44px 1fr;align-items:center;column-gap:10px}
.create-rail .fight-art{grid-row:span 2;width:44px}
.create-promote{min-height:44px;border:1px solid var(--line);background:none;color:inherit;font:inherit;font-weight:600;border-radius:12px;cursor:pointer;padding:0 12px}
.create-promote:hover,.create-promote:focus-visible{background:var(--soft)}
/* A free build has no series notebook, episode progress or public page; its
   preview and export join every take, as an episode's do. */
.is-fight .create-notebook,.is-fight .create-progress,.is-fight [data-action="preview-premiere"]{display:none!important}
.free-build-ideas{margin:12px 0}
.fight-engines{border:0;margin:10px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.fight-engines legend{float:left;margin-right:6px;font-weight:600}
.fight-engine{position:relative;display:inline-flex}
.fight-engine input{position:absolute;inset:0;opacity:0;margin:0;cursor:pointer}
.fight-engine span{display:inline-flex;align-items:center;gap:4px;min-height:32px;padding:0 12px;border:1px solid var(--line);border-radius:999px}
.fight-engine small{color:var(--muted)}
.fight-engine input:checked+span{border-color:var(--accent,#EF543E);background:var(--soft)}
.fight-engine input:focus-visible+span{outline:2px solid var(--accent,#EF543E);outline-offset:2px}
.scene-engine{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:12px 0}
.fight-lengths{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap}
.fight-lengths .fight-chip span{min-height:32px;padding:0 12px}
.fight-roster-box{margin:8px 0 12px}
.fight-roster-box summary{cursor:pointer;font-weight:600;min-height:44px;display:flex;align-items:center}
@media(max-width:1000px){.create-rail .fight-card{flex:none;max-width:220px}.create-promote{flex:none}}
