
/* /src/components/livestory/play/play-v2.css */
/* Play v2.2 — ported from the Owner-signed-off prototype
 * (.scratch/play-v2-prototypes/index.html). Scoped under .ls-play so the
 * legacy rail/drawer surfaces are untouched; the play column carries
 * .ls-play.m-story|.m-character.ls-vp-desktop|.ls-vp-mobile plus the
 * single-track skin attribute [data-skin="obsidian|folio|signature|ink"]
 * and [data-align]. Beautify .sample tiles carry the same [data-skin] so
 * the swatch previews are the real skin. */

.ls-play {
  --rs: 17.5px;
  --lh: 1.82;
  --pgap: 1.15em;
  --measure: 36em;
}
.ls-play .col,
.ls-play .sample {
  font-family: var(--f-body);
  font-size: calc(var(--rs) * var(--rs-k, 1));
  line-height: calc(var(--lh) + var(--lh-d, 0));
  color: var(--c-narr);
  font-weight: var(--fw, 400);
  letter-spacing: var(--track, 0);
  text-align: var(--align, left);
  text-shadow: var(--tsh);
  font-kerning: normal;
  text-wrap: pretty;
  hanging-punctuation: allow-end;
}
.ls-play .turn.ai p {
  margin: 0 0 var(--pgap-s, var(--pgap));
  text-indent: var(--indent, 0);
}
.ls-play .turn.ai p:last-child {
  margin-bottom: 0;
}
.ls-play .turn.ai p.dlg {
  color: var(--c-dlg);
}
.ls-play .who {
  font-family: var(--f-who, var(--ui));
  font-size: var(--who-size, 0.7em);
  font-style: var(--who-style, normal);
  font-weight: var(--who-w, 600);
  letter-spacing: var(--who-track, 0.14em);
  color: var(--c-who);
  text-transform: var(--who-case, uppercase);
  margin-right: 0.55em;
  text-indent: 0;
  display: var(--who-display, inline);
}
.ls-play .who::after {
  content: var(--who-after, "");
}
.ls-play .thought {
  color: var(--c-thought);
  font-family: var(--f-thought, inherit);
  font-size: var(--thought-size, 1em);
}
.ls-play .em {
  color: var(--c-em);
  font-weight: var(--em-w, 600);
  font-style: normal;
  background: var(--em-bg, none);
  text-emphasis: var(--em-mark, none);
  -webkit-text-emphasis: var(--em-mark, none);
  text-emphasis-position: under right;
  -webkit-text-emphasis-position: under right;
  text-emphasis-color: var(--em-mark-c, currentColor);
  -webkit-text-emphasis-color: var(--em-mark-c, currentColor);
  text-shadow: var(--em-tsh, inherit);
  padding: 0 0.05em;
}
.ls-play .chap {
  margin: 0 0 2.2em;
}
.ls-play .chap-en {
  font-family: var(--f-chap-en, var(--ui));
  font-size: var(--chap-en-size, 0.66em);
  letter-spacing: var(--chap-en-track, 0.32em);
  text-transform: uppercase;
  color: var(--c-chap-en, rgba(255, 255, 255, 0.5));
}
.ls-play .chap-zh {
  font-family: var(--f-chap, var(--f-body));
  font-size: var(--chap-size, 1.08em);
  color: var(--c-chap, #fff);
  margin-top: 0.3em;
  letter-spacing: 0.06em;
}
.ls-play .chap .rule {
  height: 1px;
  margin-top: 1.1em;
  background: var(
    --rule-bg,
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.22),
      rgba(255, 255, 255, 0) 70%
    )
  );
}
.ls-play .sigline {
  display: none;
}
.ls-play .turn {
  position: relative;
}
.ls-play .turn.user {
  margin: 0 0 2em;
  text-align: right;
  font-family: var(--ui);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}
.ls-play .turn.user .u-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 6px;
}
.ls-play .turn.user .u-text {
  display: inline-block;
  max-width: 30em;
  font-size: 15.5px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.8);
  text-align: left;
}
.ls-play .turn.user {
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.8),
    0 0 16px rgba(0, 0, 0, 0.6);
}
.ls-play.m-story .turn.user .u-text {
  position: relative;
  color: rgba(255, 255, 255, 0.9);
  text-shadow:
    0 0 1px rgba(0, 0, 0, 0.95),
    0 1px 3px rgba(0, 0, 0, 0.95),
    0 0 14px rgba(0, 0, 0, 0.85),
    0 0 32px rgba(0, 0, 0, 0.6);
}
.ls-play.m-story .turn.user .u-text::before {
  content: "";
  position: absolute;
  inset: -16px -26px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    closest-side,
    rgba(6, 6, 7, 0.62),
    rgba(6, 6, 7, 0.32) 60%,
    rgba(6, 6, 7, 0)
  );
}
.ls-play .typing {
  display: flex;
  gap: 5px;
  padding: 6px 0 24px;
}
.ls-play .typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  animation: tp 1s infinite;
}
.ls-play .typing i:nth-child(2) {
  animation-delay: 0.15s;
}
.ls-play .typing i:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes tp {
  50% {
    opacity: 0.25;
    transform: translateY(-2px);
  }
}
:is(.ls-play, .sample)[data-skin="obsidian"] {
  --f-body:
    "DM Sans", "Segoe UI Variable Text", "Segoe UI", "Noto Sans SC",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  --c-narr: #c8ccd5;
  --c-dlg: #f6eddf;
  --c-who: #c4ae88;
  --c-thought: #9ca1a9;
  --f-thought: var(--kai);
  --thought-size: 1.02em;
  --c-em: #ffffff;
  --em-w: 600;
  --tsh: 0 1px 2px rgba(0, 0, 0, 0.6), 0 0 22px rgba(0, 0, 0, 0.35);
  --scrim: 0.85;
}
:is(.ls-play, .sample)[data-skin="obsidian"] .chap-zh {
  font-weight: 500;
}
:is(.ls-play, .sample)[data-skin="folio"] {
  --f-body:
    "Source Serif 4", "Noto Serif SC", "Source Han Serif SC", "Songti SC",
    "STSong", Georgia, serif;
  --lh-d: 0.06;
  --c-narr: #e4d8bf;
  --c-dlg: #f7efdf;
  --c-who: #cdae6e;
  --f-who: Georgia, "Playfair Display", "Noto Serif SC", serif;
  --who-size: 0.92em;
  --who-style: italic;
  --who-w: 400;
  --who-track: 0.02em;
  --who-case: none;
  --who-after: "：";
  --c-thought: #a89e8a;
  --f-thought: var(--kai);
  --c-em: #f3dfb4;
  --em-w: 500;
  --em-mark: filled dot;
  --em-mark-c: #cdae6e;
  --indent: 2em;
  --pgap-s: 0.5em;
  --measure: 34em;
  --tsh: 0 1px 2px rgba(0, 0, 0, 0.55);
  --f-chap-en: Georgia, "Playfair Display", serif;
  --chap-en-track: 0.18em;
  --c-chap-en: #cdae6e;
  --chap-size: 1.35em;
  --c-chap: #f2e6cc;
  --scrim: 0.92;
  --rule-bg: linear-gradient(
    90deg,
    rgba(205, 174, 110, 0.55),
    rgba(205, 174, 110, 0) 75%
  );
}
:is(.ls-play, .sample)[data-skin="folio"]
  .turn.ai
  > p.narr.first::first-letter {
  float: left;
  font-size: 2.9em;
  line-height: 0.92;
  padding: 0.06em 0.1em 0 0;
  color: #d8bb7e;
  font-family: var(--display);
}
:is(.ls-play, .sample)[data-skin="folio"] .turn.ai > p.first {
  text-indent: 0;
}
:is(.ls-play, .sample)[data-skin="folio"] .turn.ai + .sb + .turn.ai::before,
:is(.ls-play, .sample)[data-skin="folio"] .scene-break {
  content: "❦";
  display: block;
  text-align: center;
  color: #8e7a52;
  margin: -0.4em 0 1em;
  font-size: 0.9em;
}
:is(.ls-play, .sample)[data-skin="folio"] .chap-en {
  font-style: italic;
  text-transform: none;
}
:is(.ls-play, .sample)[data-skin="signature"] {
  --f-body: "Noto Sans SC", "DM Sans", "Segoe UI", sans-serif;
  --fw: 300;
  --track: 0.035em;
  --align: center;
  --measure: 28em;
  --c-narr: rgba(242, 242, 246, 0.88);
  --c-dlg: #ffffff;
  --who-display: block;
  --c-who: rgba(255, 255, 255, 0.5);
  --who-size: 0.6em;
  --who-track: 0.3em;
  --who-w: 400;
  --c-thought: rgba(222, 224, 236, 0.72);
  --f-thought: var(--kai);
  --c-em: #fff;
  --em-w: 400;
  --em-tsh: 0 0 14px rgba(170, 200, 255, 0.55), 0 1px 2px rgba(0, 0, 0, 0.7);
  --tsh: 0 1px 3px rgba(0, 0, 0, 0.75), 0 0 26px rgba(0, 0, 0, 0.45);
  --scrim: 0.7;
  --f-chap-en: var(--script);
  --chap-en-size: 1.9em;
  --chap-en-track: 0;
  --c-chap-en: rgba(255, 255, 255, 0.88);
  --chap-size: 0.78em;
  --c-chap: rgba(255, 255, 255, 0.55);
  --rule-bg: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.28),
    transparent
  );
}
:is(.ls-play, .sample)[data-skin="signature"] .chap-en {
  text-transform: none;
  font-weight: 400;
}
:is(.ls-play, .sample)[data-skin="signature"] .chap-zh {
  letter-spacing: 0.4em;
}
:is(.ls-play, .sample)[data-skin="signature"] .sigline {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 0 0 1.2em;
}
:is(.ls-play, .sample)[data-skin="signature"] .sigline::before,
:is(.ls-play, .sample)[data-skin="signature"] .sigline::after {
  content: "";
  height: 1px;
  flex: 1;
  max-width: 90px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3));
}
:is(.ls-play, .sample)[data-skin="signature"] .sigline::after {
  background: linear-gradient(270deg, transparent, rgba(255, 255, 255, 0.3));
}
:is(.ls-play, .sample)[data-skin="signature"] .sig {
  font: 400 1.45em / 1 var(--script);
  color: rgba(255, 255, 255, 0.9);
  transform: rotate(-4deg);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}
:is(.ls-play, .sample)[data-skin="signature"] .turn.user {
  text-align: center;
}
:is(.ls-play, .sample)[data-skin="signature"] .turn.user .u-text {
  text-align: center;
  font-style: normal;
  color: rgba(255, 255, 255, 0.7);
}
:is(.ls-play, .sample)[data-skin="ink"] {
  --f-body:
    "Noto Sans SC", "PingFang SC", "Microsoft YaHei UI", "Segoe UI", sans-serif;
  --rs-k: 1.03;
  --lh-d: -0.02;
  --c-narr: #ececee;
  --c-dlg: #ffffff;
  --c-who: #7fd3e1;
  --who-size: 0.78em;
  --who-track: 0.04em;
  --who-case: none;
  --who-after: "";
  --c-thought: #9ca1a8;
  --c-em: #fff6e3;
  --em-w: 500;
  --em-bg: linear-gradient(transparent 60%, rgba(245, 181, 68, 0.32) 0);
  --tsh: 0 1px 2px rgba(0, 0, 0, 0.5);
  --scrim: 1;
  --measure: 35em;
  --rule-bg: rgba(255, 255, 255, 0.08);
  --c-chap-en: #7fd3e1;
}
:is(.ls-play, .sample)[data-skin="ink"] .who {
  display: block;
  margin: 0 0 0.15em;
}
:is(.ls-play, .sample)[data-skin="ink"] .thought::before {
  content: "";
  display: inline-block;
  width: 0.32em;
  height: 0.32em;
  border-radius: 50%;
  background: #7fd3e1;
  opacity: 0.7;
  margin: 0 0.5em 0.18em 0;
  vertical-align: middle;
}
.ls-play[data-skin="ink"].m-character.ls-vp-desktop .vig-text {
  background:
    radial-gradient(
      ellipse 38% 46% at 50% 80%,
      rgba(8, 8, 10, 0.8),
      rgba(8, 8, 10, 0.52) 55%,
      rgba(8, 8, 10, 0) 100%
    ),
    linear-gradient(
      180deg,
      rgba(8, 8, 10, 0) 40%,
      rgba(8, 8, 10, 0.34) 60%,
      rgba(8, 8, 10, 0.7) 100%
    );
}
.ls-play {
  --sk-bg: rgba(18, 18, 20, 0.94);
  --sk-tex: none;
  --sk-border: rgba(255, 255, 255, 0.08);
  --sk-radius: 14px;
  --sk-accent: #c4ae88;
  --sk-accent-2: #8e7a58;
  --sk-text: #ececee;
  --sk-muted: #8e8e95;
  --sk-label: #a1a0a6;
  --sk-line: rgba(255, 255, 255, 0.07);
  --sk-head: var(--ui);
  --sk-shadow: 0 20px 50px rgba(0, 0, 0, 0.42);
  --sk-pill-bg: rgba(16, 16, 18, 0.8);
  --sk-pill-border: rgba(255, 255, 255, 0.1);
  --sk-pill-radius: 999px;
  --sk-pill-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  --sk-pill-text: var(--sk-text);
  --sk-bar: linear-gradient(90deg, #8e7a58, #e3cfa6);
  --sk-track: rgba(255, 255, 255, 0.1);
  --sk-threat: linear-gradient(90deg, #d9583a, #f2864f);
  --sk-cta-bg: #f4f1ec;
  --sk-cta-fg: #121214;
  --sk-whisper: var(--sk-accent);
  --sk-cell: rgba(255, 255, 255, 0.025);
  --sk-input: rgba(0, 0, 0, 0.22);
  --sk-up: #4ade80;
  --sk-warn: #f5b544;
  --sk-down: #f87171;
  --sk-av-ring: #161618;
}
:is(.ls-play, .sample)[data-skin="obsidian"] {
  --sk-bg: linear-gradient(180deg, #1d1c20 0%, #121214 58%, #0c0c0e 100%);
  --sk-tex:
    radial-gradient(
      120% 70% at 12% -8%,
      rgba(232, 213, 174, 0.1),
      transparent 52%
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.022) 0 1px,
      transparent 1px 3px
    );
  --sk-border: rgba(212, 190, 149, 0.44);
  --sk-radius: 10px;
  --sk-accent: #e2cb9c;
  --sk-accent-2: #f2a65a;
  --sk-text: #efeae1;
  --sk-muted: #9c968b;
  --sk-label: #c9b285;
  --sk-line: rgba(212, 190, 149, 0.15);
  --sk-shadow:
    0 26px 60px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 240, 210, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.6);
  --sk-pill-bg: linear-gradient(
    180deg,
    rgba(31, 30, 34, 0.95),
    rgba(13, 13, 15, 0.96)
  );
  --sk-pill-border: rgba(212, 190, 149, 0.42);
  --sk-pill-radius: 7px;
  --sk-pill-shadow:
    inset 0 0 0 2px rgba(11, 11, 13, 0.95),
    inset 0 0 0 3px rgba(212, 190, 149, 0.16), 0 10px 24px rgba(0, 0, 0, 0.45);
  --sk-bar: linear-gradient(90deg, #7e6b4b, #e8d3a6);
  --sk-track: rgba(212, 190, 149, 0.1);
  --sk-cta-bg: linear-gradient(180deg, #ebd8b2, #c4ae88);
  --sk-cta-fg: #1b1610;
  --sk-cell: rgba(255, 248, 232, 0.022);
  --sk-pill-text: #efeae1;
  --sk-av-ring: #121214;
}
:is(.ls-play, .sample)[data-skin="folio"] {
  --sk-bg: linear-gradient(180deg, #f3ead5 0%, #ecdfc2 100%);
  --sk-tex:
    radial-gradient(
      140% 90% at 50% -12%,
      rgba(255, 255, 255, 0.55),
      transparent 55%
    ),
    radial-gradient(
      90% 60% at 100% 100%,
      rgba(160, 120, 60, 0.12),
      transparent 70%
    ),
    repeating-linear-gradient(
      0deg,
      rgba(120, 90, 40, 0.028) 0 1px,
      transparent 1px 3px
    );
  --sk-border: #b8955a;
  --sk-radius: 3px;
  --sk-accent: #8a6528;
  --sk-accent-2: #9e3a2c;
  --sk-text: #2c2217;
  --sk-muted: #76664d;
  --sk-label: #8a6528;
  --sk-line: rgba(110, 80, 35, 0.24);
  --sk-head:
    "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
  --sk-shadow:
    0 22px 50px rgba(0, 0, 0, 0.5), inset 0 0 38px rgba(150, 112, 52, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  --sk-pill-bg: linear-gradient(180deg, #f1e7cf, #e7d8b8);
  --sk-pill-border: #b8955a;
  --sk-pill-radius: 3px;
  --sk-pill-shadow:
    inset 0 0 0 2px #eee3c9, inset 0 0 0 3px rgba(138, 101, 40, 0.32),
    0 8px 20px rgba(0, 0, 0, 0.42);
  --sk-bar: linear-gradient(
    90deg,
    rgba(44, 34, 23, 0.9),
    rgba(44, 34, 23, 0.62) 82%,
    rgba(44, 34, 23, 0.18)
  );
  --sk-track: linear-gradient(
    90deg,
    rgba(80, 58, 28, 0.1),
    rgba(80, 58, 28, 0.16) 50%,
    rgba(80, 58, 28, 0.08)
  );
  --sk-threat: linear-gradient(
    90deg,
    rgba(158, 58, 44, 0.95),
    rgba(158, 58, 44, 0.6) 85%,
    rgba(158, 58, 44, 0.2)
  );
  --sk-cta-bg: #2e2418;
  --sk-cta-fg: #f3ead5;
  --sk-pill-text: #2c2217;
  --sk-whisper: #5a3a1c;
  --sk-cell: transparent;
  --sk-input: rgba(255, 255, 255, 0.35);
  --sk-up: #2f7a3e;
  --sk-warn: #9c5e12;
  --sk-down: #9e3a2c;
  --sk-av-ring: #eee3c9;
}
:is(.ls-play, .sample)[data-skin="signature"] {
  --sk-bg: linear-gradient(
    180deg,
    rgba(30, 30, 44, 0.58),
    rgba(12, 12, 22, 0.7)
  );
  --sk-tex:
    radial-gradient(
      90% 70% at 50% -6%,
      rgba(206, 216, 255, 0.13),
      transparent 62%
    ),
    radial-gradient(
      70% 50% at 50% 112%,
      rgba(130, 118, 210, 0.12),
      transparent 70%
    );
  --sk-border: rgba(214, 222, 255, 0.28);
  --sk-radius: 22px;
  --sk-accent: #e8edff;
  --sk-accent-2: #b8c6ff;
  --sk-text: #f5f6fa;
  --sk-muted: rgba(226, 230, 246, 0.62);
  --sk-label: rgba(214, 222, 255, 0.62);
  --sk-line: rgba(214, 222, 255, 0.12);
  --sk-head: var(--script);
  --sk-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03), 0 0 28px rgba(170, 190, 255, 0.12),
    0 26px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  --sk-pill-bg: rgba(18, 18, 30, 0.5);
  --sk-pill-border: rgba(214, 222, 255, 0.3);
  --sk-pill-shadow:
    0 0 18px rgba(170, 190, 255, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 8px 20px rgba(0, 0, 0, 0.3);
  --sk-bar: linear-gradient(90deg, rgba(190, 206, 255, 0.25), #f4f7ff);
  --sk-track: rgba(214, 222, 255, 0.13);
  --sk-cta-bg: linear-gradient(180deg, #ffffff, #dce3fa);
  --sk-cta-fg: #111118;
  --sk-pill-text: #f5f6fa;
  --sk-whisper: #fff;
  --sk-cell: transparent;
  --sk-input: rgba(10, 10, 20, 0.35);
  --sk-av-ring: #16161f;
}
:is(.ls-play, .sample)[data-skin="ink"] {
  --sk-bg: rgba(9, 9, 10, 0.96);
  --sk-border: rgba(255, 255, 255, 0.2);
  --sk-radius: 2px;
  --sk-accent: #7fd3e1;
  --sk-accent-2: #e0533d;
  --sk-text: #f3f3f5;
  --sk-muted: #8c8c93;
  --sk-label: #7fd3e1;
  --sk-line: rgba(255, 255, 255, 0.1);
  --sk-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
  --sk-pill-bg: rgba(9, 9, 10, 0.94);
  --sk-pill-border: rgba(255, 255, 255, 0.22);
  --sk-pill-radius: 2px;
  --sk-pill-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  --sk-bar: #f3f3f5;
  --sk-track: linear-gradient(
    transparent 1px,
    rgba(255, 255, 255, 0.2) 1px 2px,
    transparent 2px
  );
  --sk-threat: #e0533d;
  --sk-cta-bg: #f3f3f5;
  --sk-cta-fg: #09090a;
  --sk-pill-text: #f3f3f5;
  --sk-whisper: #fff6e3;
  --sk-cell: transparent;
  --sk-input: transparent;
  --sk-av-ring: #09090a;
}
.ls-play .skin-card {
  position: relative;
  isolation: isolate;
  background: var(--sk-tex), var(--sk-bg);
  border: 1px solid var(--sk-border);
  border-radius: var(--sk-radius);
  color: var(--sk-text);
  box-shadow: var(--sk-shadow);
  font-family: var(--ui);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0;
  text-shadow: none;
  text-align: left;
}
.ls-play .skin-card > * {
  position: relative;
  z-index: 2;
}
.ls-play .skin-card::before,
.ls-play .skin-card::after,
.ls-play .orn {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 1;
}
.ls-play .orn {
  display: none;
}
:is(.ls-play, .sample)[data-skin="signature"] .skin-card {
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
}
:is(.ls-play, .sample)[data-skin="obsidian"] .skin-card::after {
  inset: 4px;
  border: 1px solid rgba(212, 190, 149, 0.17);
  border-radius: 7px;
}
:is(.ls-play, .sample)[data-skin="obsidian"] .skin-card::before {
  left: 14%;
  right: 14%;
  top: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #f0ddb4, transparent);
}
:is(.ls-play, .sample)[data-skin="obsidian"] .orn {
  display: block;
  width: 13px;
  height: 13px;
  border: 0 solid #e2cb9c;
}
:is(.ls-play, .sample)[data-skin="obsidian"] .orn.tl {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
  border-top-left-radius: 10px;
}
:is(.ls-play, .sample)[data-skin="obsidian"] .orn.tr {
  top: -1px;
  right: -1px;
  border-width: 2px 2px 0 0;
  border-top-right-radius: 10px;
}
:is(.ls-play, .sample)[data-skin="obsidian"] .orn.bl {
  bottom: -1px;
  left: -1px;
  border-width: 0 0 2px 2px;
  border-bottom-left-radius: 10px;
}
:is(.ls-play, .sample)[data-skin="obsidian"] .orn.br {
  bottom: -1px;
  right: -1px;
  border-width: 0 2px 2px 0;
  border-bottom-right-radius: 10px;
}
:is(.ls-play, .sample)[data-skin="folio"] .skin-card::after {
  inset: 5px;
  border: 3px double rgba(138, 101, 40, 0.5);
}
:is(.ls-play, .sample)[data-skin="folio"] .orn {
  display: block;
  width: 40px;
  height: 40px;
  opacity: 0.95;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30' fill='none' stroke='%238A6528' stroke-width='1' stroke-linecap='round'%3E%3Cpath d='M3 27V9c0-3.3 2.7-6 6-6h18'/%3E%3Cpath d='M6 22c0-8 6-14 14-14' opacity='.55'/%3E%3Cpath d='M9 9c3.2-.2 5 1.4 5.2 4.4-3 .1-4.9-1.4-5.2-4.4z' fill='%238A6528' fill-opacity='.18'/%3E%3Cpath d='M9 9c.2 3.2-1.4 5-4.4 5.2C4.5 11.2 6 9.3 9 9z' fill='%238A6528' fill-opacity='.18'/%3E%3Ccircle cx='9' cy='9' r='1.6' fill='%238A6528'/%3E%3Ccircle cx='21' cy='3' r='.9' fill='%238A6528'/%3E%3Ccircle cx='3' cy='21' r='.9' fill='%238A6528'/%3E%3C/svg%3E")
    no-repeat center / contain;
}
:is(.ls-play, .sample)[data-skin="folio"] .orn.tl {
  top: 2px;
  left: 2px;
}
:is(.ls-play, .sample)[data-skin="folio"] .orn.tr {
  top: 2px;
  right: 2px;
  transform: scaleX(-1);
}
:is(.ls-play, .sample)[data-skin="folio"] .orn.bl {
  bottom: 2px;
  left: 2px;
  transform: scaleY(-1);
}
:is(.ls-play, .sample)[data-skin="folio"] .orn.br {
  bottom: 2px;
  right: 2px;
  transform: scale(-1, -1);
}
:is(.ls-play, .sample)[data-skin="signature"] .skin-card::before {
  left: 18%;
  right: 18%;
  top: -1px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(236, 241, 255, 0.95),
    transparent
  );
  box-shadow: 0 0 12px rgba(200, 214, 255, 0.8);
}
:is(.ls-play, .sample)[data-skin="signature"] .skin-card::after {
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(1px 1px at 18% 22%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 82% 16%, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(
      1.4px 1.4px at 70% 78%,
      rgba(214, 222, 255, 0.5),
      transparent
    ),
    radial-gradient(1px 1px at 30% 86%, rgba(255, 255, 255, 0.4), transparent);
}
:is(.ls-play, .sample)[data-skin="ink"] .skin-card::after {
  inset: 3px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.ls-play .seal {
  display: none;
  flex: none;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 2px;
  background: #c8402f;
  color: #f7ede4;
  font:
    600 12px / 1 "Noto Serif SC",
    "Songti SC",
    serif;
  transform: rotate(-5deg);
  box-shadow:
    inset 0 0 0 1.5px rgba(247, 237, 228, 0.4),
    0 0 0 1px rgba(200, 64, 47, 0.5);
  letter-spacing: 0;
}
:is(.ls-play, .sample)[data-skin="ink"] .seal {
  display: inline-grid;
}
.ls-play .crest {
  display: none;
  flex: none;
  color: #e8edff;
  filter: drop-shadow(0 0 6px rgba(190, 206, 255, 0.75));
}
:is(.ls-play, .sample)[data-skin="signature"] .crest {
  display: inline-flex;
}
.ls-play .ember {
  display: none;
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f4a963;
  box-shadow:
    0 0 0 0 rgba(244, 169, 99, 0.6),
    0 0 8px rgba(244, 169, 99, 0.9);
  animation: ember 2.4s ease-in-out infinite;
}
:is(.ls-play, .sample)[data-skin="obsidian"] .ember {
  display: inline-block;
}

@keyframes ember {
  0%,
  100% {
    box-shadow:
      0 0 0 0 rgba(244, 169, 99, 0.5),
      0 0 6px rgba(244, 169, 99, 0.8);
    opacity: 0.85;
  }
  50% {
    box-shadow:
      0 0 0 4px rgba(244, 169, 99, 0),
      0 0 12px rgba(244, 169, 99, 1);
    opacity: 1;
  }
}
.ls-play .sb {
  margin: 16px 0 34px;
  font-family: var(--ui);
  text-align: left;
  text-shadow: none;
  max-width: 100%;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0;
  font-weight: 400;
  scroll-margin-bottom: 28px;
}
:is(.ls-play, .sample)[data-skin="signature"] .sb {
  margin-left: auto;
  margin-right: auto;
}
:is(.ls-play, .sample)[data-skin="signature"] .sb .sb-pill {
  margin: 0 auto;
  display: flex;
  width: max-content;
}
.ls-play .sb-pill {
  position: relative;
  height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 13px 0 10px;
  border-radius: var(--sk-pill-radius);
  background: var(--sk-pill-bg);
  border: 1px solid var(--sk-pill-border);
  color: color-mix(in srgb, var(--sk-pill-text) 72%, transparent);
  font-size: 12.5px;
  box-shadow: var(--sk-pill-shadow);
  transition:
    border-color var(--fast),
    color var(--fast),
    filter var(--fast);
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
}
.ls-play .sb-pill:hover {
  color: var(--sk-pill-text);
  filter: brightness(1.06);
}
.ls-play .sb-pill .chev {
  transition: transform 260ms var(--ease);
  color: var(--sk-muted);
}
.ls-play .sb.open .sb-pill .chev {
  transform: rotate(90deg);
}
.ls-play .sb-pill .gl {
  display: inline-grid;
  place-items: center;
  width: 10px;
  color: var(--sk-accent);
  font-size: 8px;
  line-height: 1;
}
:is(.ls-play, .sample)[data-skin="obsidian"] .sb-pill .gl {
  display: none;
}
:is(.ls-play, .sample)[data-skin="folio"] .sb-pill .gl::before {
  content: "❦";
  font-size: 13px;
}
:is(.ls-play, .sample)[data-skin="signature"] .sb-pill .gl::before {
  content: "✦";
  font-size: 10px;
  opacity: 0.85;
  text-shadow: 0 0 8px rgba(200, 214, 255, 0.9);
}
:is(.ls-play, .sample)[data-skin="ink"] .sb-pill .gl {
  display: none;
}
.ls-play .sb-pill .lbl {
  color: var(--sk-label);
  font-weight: 500;
  letter-spacing: 0.08em;
  font-size: 11.5px;
}
.ls-play .sb-pill .mood {
  color: var(--sk-pill-text);
  font-weight: 500;
  margin-left: -3px;
}
.ls-play .sb-pill .sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--sk-muted) 60%, transparent);
  flex: none;
}
.ls-play .sb-pill .av {
  display: flex;
}
.ls-play .sb-pill .av img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1.5px var(--sk-av-ring);
  margin-left: -5px;
}
.ls-play .sb-pill .av img:first-child {
  margin-left: 0;
}
.ls-play .sb-pill .rn {
  color: var(--sk-muted);
  opacity: 0.8;
  font-size: 11px;
  margin-left: 2px;
}
.ls-play .sb-pill .rn-b {
  display: none;
}
.ls-play .sb-pill .up {
  color: var(--sk-up);
}
.ls-play .sb-pill .warn {
  color: var(--sk-warn);
}
.ls-play .sb-pill .down {
  color: var(--sk-down);
}
:is(.ls-play, .sample)[data-skin="obsidian"] .sb-pill {
  padding: 0 16px 0 14px;
}
:is(.ls-play, .sample)[data-skin="obsidian"] .sb-pill::before,
:is(.ls-play, .sample)[data-skin="obsidian"] .sb-pill::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 2px;
  height: 12px;
  transform: translateY(-50%);
  background: repeating-linear-gradient(
    180deg,
    rgba(226, 203, 156, 0.7) 0 2px,
    transparent 2px 4px
  );
}
:is(.ls-play, .sample)[data-skin="obsidian"] .sb-pill::before {
  left: 5px;
}
:is(.ls-play, .sample)[data-skin="obsidian"] .sb-pill::after {
  right: 5px;
}
:is(.ls-play, .sample)[data-skin="obsidian"] .sb-pill .lbl {
  font-size: 10px;
  letter-spacing: 0.24em;
}
:is(.ls-play, .sample)[data-skin="folio"] .sb-pill {
  font-family: "Noto Serif SC", "Songti SC", serif;
}
:is(.ls-play, .sample)[data-skin="folio"] .sb-pill .mood {
  font-weight: 600;
}
:is(.ls-play, .sample)[data-skin="folio"] .sb-pill .lbl {
  font-family: var(--ui);
  color: #8a6528;
}
:is(.ls-play, .sample)[data-skin="folio"] .sb-pill .rn-a {
  display: none;
}
:is(.ls-play, .sample)[data-skin="folio"] .sb-pill .rn-b {
  display: inline;
  letter-spacing: 0.12em;
}
:is(.ls-play, .sample)[data-skin="folio"] .sb-pill .chev {
  color: #8a6528;
}
:is(.ls-play, .sample)[data-skin="signature"] .sb-pill {
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
:is(.ls-play, .sample)[data-skin="signature"] .sb-pill .lbl {
  font-weight: 400;
  letter-spacing: 0.2em;
  font-size: 10.5px;
}
:is(.ls-play, .sample)[data-skin="ink"] .sb-pill {
  gap: 10px;
  padding: 0 12px 0 8px;
}
:is(.ls-play, .sample)[data-skin="ink"] .sb-pill .seal {
  width: 18px;
  height: 18px;
  font-size: 11px;
}
:is(.ls-play, .sample)[data-skin="ink"] .sb-pill .lbl {
  color: #7fd3e1;
  letter-spacing: 0.18em;
  font-size: 10.5px;
}
:is(.ls-play, .sample)[data-skin="ink"] .sb-pill .sep {
  width: 1px;
  height: 12px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.18);
}
:is(.ls-play, .sample)[data-skin="ink"] .sb-pill .rn {
  font-variant-numeric: tabular-nums;
}
.ls-play .up {
  color: #4ade80;
  font-weight: 600;
}
.ls-play .warn {
  color: #f5b544;
  font-weight: 600;
}
.ls-play .down {
  color: #f87171;
  font-weight: 600;
}
.ls-play .skin-card .up {
  color: var(--sk-up);
}
.ls-play .skin-card .warn {
  color: var(--sk-warn);
}
.ls-play .skin-card .down {
  color: var(--sk-down);
}
.ls-play .sb-body {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 360ms var(--ease),
    opacity 240ms;
}
.ls-play .sb.open .sb-body {
  grid-template-rows: 1fr;
  opacity: 1;
}
.ls-play .sb-inner {
  overflow: hidden;
  min-height: 0;
}
.ls-play .sb-card {
  margin: 10px 6px 8px;
}
.ls-play .sk-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 0 18px;
  border-bottom: 1px solid var(--sk-line);
}
.ls-play .sk-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sk-head);
  color: var(--sk-accent);
  white-space: nowrap;
  margin-right: 4px;
}
.ls-play .sk-kicker > span {
  display: none;
}
:is(.ls-play, .sample)[data-skin="obsidian"] .sk-kicker .k-en {
  display: inline;
  font: 600 10px / 1 var(--ui);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
:is(.ls-play, .sample)[data-skin="folio"] .sk-kicker .k-cn {
  display: inline;
  font: 600 14px / 1 var(--sk-head);
  letter-spacing: 0.32em;
  color: #3a2c1a;
}
:is(.ls-play, .sample)[data-skin="signature"] .sk-kicker .k-en {
  display: inline;
  font: 400 20px / 1.1 var(--script);
  color: #f4f6ff;
  transform: rotate(-3deg);
  text-shadow: 0 0 14px rgba(190, 206, 255, 0.5);
}
:is(.ls-play, .sample)[data-skin="ink"] .sk-kicker .k-num {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  font:
    300 24px / 1 "DM Sans",
    "Segoe UI",
    sans-serif;
  color: #f3f3f5;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
:is(.ls-play, .sample)[data-skin="ink"] .sk-kicker .k-num small {
  font: 500 10px / 1 var(--ui);
  letter-spacing: 0.24em;
  color: #7fd3e1;
}
.ls-play .sk-tail {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ls-play .sb-tabs {
  display: flex;
  gap: 2px;
}
.ls-play .sb-tab {
  border: 0;
  background: none;
  padding: 12px 9px 11px;
  font-size: 12.5px;
  color: var(--sk-muted);
  position: relative;
}
.ls-play .sb-tab:hover {
  color: var(--sk-text);
}
.ls-play .sb-tab.on {
  color: var(--sk-text);
  font-weight: 500;
}
.ls-play .sb-tab.on::after {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: var(--sk-accent);
}
:is(.ls-play, .sample)[data-skin="obsidian"] .sk-top {
  position: relative;
}
:is(.ls-play, .sample)[data-skin="obsidian"] .sk-top::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: -4px;
  height: 3px;
  background: repeating-linear-gradient(
    90deg,
    rgba(212, 190, 149, 0.28) 0 1px,
    transparent 1px 9px
  );
  pointer-events: none;
}
:is(.ls-play, .sample)[data-skin="folio"] .sk-top {
  flex-direction: column;
  gap: 6px;
  padding: 20px 22px 0;
  border-bottom: 0;
}
:is(.ls-play, .sample)[data-skin="folio"] .sk-kicker {
  width: 100%;
  justify-content: center;
  margin: 0;
}
:is(.ls-play, .sample)[data-skin="folio"] .sk-kicker::before,
:is(.ls-play, .sample)[data-skin="folio"] .sk-kicker::after {
  content: "";
  flex: 1;
  max-width: 110px;
  height: 1px;
  background: rgba(110, 80, 35, 0.45);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}
:is(.ls-play, .sample)[data-skin="folio"] .sb-tabs {
  width: 100%;
  justify-content: center;
  border-top: 1px solid rgba(110, 80, 35, 0.3);
  border-bottom: 1px solid rgba(110, 80, 35, 0.3);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
:is(.ls-play, .sample)[data-skin="folio"] .sb-tab {
  font-family: "Noto Serif SC", "Songti SC", serif;
  padding: 8px 12px;
  color: #7a6a50;
}
:is(.ls-play, .sample)[data-skin="folio"] .sb-tab.on {
  color: #2c2217;
  font-weight: 600;
}
:is(.ls-play, .sample)[data-skin="folio"] .sb-tab.on::after {
  height: 1px;
  left: 30%;
  right: 30%;
  bottom: 3px;
  background: #8a6528;
}
:is(.ls-play, .sample)[data-skin="folio"] .sk-tail {
  display: none;
}
:is(.ls-play, .sample)[data-skin="signature"] .sk-top {
  flex-direction: column;
  gap: 2px;
  padding: 16px 12px 0;
}
:is(.ls-play, .sample)[data-skin="signature"] .sk-kicker {
  margin: 0;
  flex-direction: column;
  gap: 4px;
}
:is(.ls-play, .sample)[data-skin="signature"] .sk-tail {
  display: none;
}
:is(.ls-play, .sample)[data-skin="signature"] .sb-tab {
  letter-spacing: 0.08em;
}
:is(.ls-play, .sample)[data-skin="signature"] .sb-tab.on::after {
  height: 1px;
  left: 35%;
  right: 35%;
  background: #f4f6ff;
  box-shadow: 0 0 8px rgba(200, 214, 255, 0.9);
}
:is(.ls-play, .sample)[data-skin="ink"] .sk-top {
  padding: 10px 12px 0 16px;
}
:is(.ls-play, .sample)[data-skin="ink"] .sb-tab {
  padding: 12px 8px 10px;
  letter-spacing: 0.04em;
}
:is(.ls-play, .sample)[data-skin="ink"] .sb-tab.on::after {
  height: 1px;
  left: 8px;
  right: 8px;
  background: #f3f3f5;
}
.ls-play .sb-pane {
  display: none;
  padding: 16px 18px 18px;
}
.ls-play .sb-pane.on {
  display: block;
}
:is(.ls-play, .sample)[data-skin="folio"] .sb-pane {
  padding: 14px 26px 24px;
}
:is(.ls-play, .sample)[data-skin="signature"] .sb-pane {
  padding: 16px 22px 22px;
}
.ls-play .nv-lead {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.ls-play .nv-lead img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  box-shadow:
    0 0 0 1px var(--sk-border),
    0 6px 14px rgba(0, 0, 0, 0.4);
}
.ls-play .nv-cap {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--sk-label);
  margin-bottom: 4px;
}
.ls-play .nv-face {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--sk-text);
}
.ls-play .nv-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}
.ls-play .nv {
  position: relative;
  padding: 11px 13px 12px;
  border-radius: calc(var(--sk-radius) * 0.55);
  background: var(--sk-cell);
  border: 1px solid var(--sk-line);
}
.ls-play .nv p {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
}
.ls-play .nv-voice {
  font-family: var(--kai);
  color: color-mix(in srgb, var(--sk-text) 86%, transparent);
  font-size: 14.5px !important;
}
.ls-play .nv-whisper {
  color: var(--sk-whisper);
}
.ls-play .nv-whisper span::before {
  content: "「";
}
.ls-play .nv-whisper span::after {
  content: "」";
}
:is(.ls-play, .sample)[data-skin="signature"] .nv-whisper span::before,
:is(.ls-play, .sample)[data-skin="signature"] .nv-whisper span::after {
  content: none;
}
.ls-play .nv-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--sk-line);
  font-size: 12.5px;
  color: color-mix(in srgb, var(--sk-text) 84%, transparent);
}
.ls-play .nv-meta div {
  display: flex;
  gap: 10px;
}
.ls-play .nv-meta i {
  font-style: normal;
  flex: none;
  width: 58px;
  color: var(--sk-label);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  padding-top: 2px;
}
.ls-play .nv-gauges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
  margin-top: 14px;
}
.ls-play .gauge {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--sk-muted);
}
.ls-play .gauge .bar,
.ls-play .stat .bar {
  position: relative;
  height: 4px;
  border-radius: 4px;
  background: var(--sk-track);
  overflow: hidden;
}
.ls-play .gauge .bar b,
.ls-play .stat .bar b {
  position: relative;
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--sk-bar);
}
.ls-play .gauge .bar b.threat,
.ls-play .stat .bar b.threat {
  background: var(--sk-threat);
}
.ls-play .gauge .v {
  color: var(--sk-text);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  font-size: 11.5px;
}
.ls-play .gauge .v em {
  font-style: normal;
  margin-left: 3px;
  font-size: 10.5px;
}
:is(.ls-play, .sample)[data-skin="obsidian"] .nv {
  border-color: rgba(212, 190, 149, 0.12);
  border-bottom: 1px solid rgba(226, 203, 156, 0.5);
  border-radius: 6px 6px 3px 3px;
}
:is(.ls-play, .sample)[data-skin="obsidian"] .nv::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 6px;
  height: 6px;
  border-top: 1px solid rgba(226, 203, 156, 0.6);
  border-left: 1px solid rgba(226, 203, 156, 0.6);
}
:is(.ls-play, .sample)[data-skin="obsidian"] .nv + .nv {
  border-bottom-color: rgba(244, 169, 99, 0.55);
}
:is(.ls-play, .sample)[data-skin="obsidian"] .nv-cap {
  font-size: 10px;
  letter-spacing: 0.22em;
}
:is(.ls-play, .sample)[data-skin="obsidian"] .gauge > span:first-child {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #c9b285;
}
:is(.ls-play, .sample)[data-skin="obsidian"] .gauge .bar,
:is(.ls-play, .sample)[data-skin="obsidian"] .stat .bar {
  height: 6px;
  border-radius: 1px;
  background: repeating-linear-gradient(
    90deg,
    rgba(212, 190, 149, 0.16) 0 5px,
    transparent 5px 7px
  );
}
:is(.ls-play, .sample)[data-skin="obsidian"] .gauge .bar b,
:is(.ls-play, .sample)[data-skin="obsidian"] .stat .bar b {
  border-radius: 1px;
  -webkit-mask: repeating-linear-gradient(
    90deg,
    #000 0 5px,
    transparent 5px 7px
  );
  mask: repeating-linear-gradient(90deg, #000 0 5px, transparent 5px 7px);
  box-shadow: 0 0 8px rgba(232, 211, 166, 0.4);
}
:is(.ls-play, .sample)[data-skin="obsidian"] .nv-lead img {
  box-shadow:
    0 0 0 1px #121214,
    0 0 0 2px rgba(226, 203, 156, 0.55),
    0 6px 14px rgba(0, 0, 0, 0.5);
}
:is(.ls-play, .sample)[data-skin="folio"] .nv-lead img {
  border-radius: 50%;
  box-shadow:
    0 0 0 2px #f1e7cf,
    0 0 0 3px #b8955a,
    0 4px 10px rgba(60, 40, 10, 0.25);
  filter: sepia(0.18);
}
:is(.ls-play, .sample)[data-skin="folio"] .nv-cap {
  font-family: "Noto Serif SC", "Songti SC", serif;
  letter-spacing: 0.2em;
  font-size: 11px;
  color: #8a6528;
}
:is(.ls-play, .sample)[data-skin="folio"] .nv-cap::before {
  content: "❧ ";
  letter-spacing: 0;
  opacity: 0.8;
}
:is(.ls-play, .sample)[data-skin="folio"] .nv-face {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 15.5px;
  color: #2c2217;
}
:is(.ls-play, .sample)[data-skin="folio"] .nv-pair {
  gap: 0;
  margin-top: 16px;
  border-top: 1px solid rgba(110, 80, 35, 0.35);
  border-bottom: 1px solid rgba(110, 80, 35, 0.35);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
:is(.ls-play, .sample)[data-skin="folio"] .nv {
  border: 0;
  border-radius: 0;
  padding: 12px 14px 13px;
}
:is(.ls-play, .sample)[data-skin="folio"] .nv + .nv {
  border-left: 1px solid rgba(110, 80, 35, 0.3);
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.6);
}
:is(.ls-play, .sample)[data-skin="folio"] .nv-voice {
  color: #4a3b27;
}
:is(.ls-play, .sample)[data-skin="folio"] .nv-whisper {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-style: normal;
}
:is(.ls-play, .sample)[data-skin="folio"] .nv-meta {
  border-top: 0;
  padding-top: 4px;
  color: #3e3221;
}
:is(.ls-play, .sample)[data-skin="folio"] .nv-meta i {
  font-family: "Noto Serif SC", "Songti SC", serif;
  color: #8a6528;
}
:is(.ls-play, .sample)[data-skin="folio"] .gauge > span:first-child {
  font-family: "Noto Serif SC", "Songti SC", serif;
  color: #5c4c35;
  letter-spacing: 0.12em;
}
:is(.ls-play, .sample)[data-skin="folio"] .gauge .bar,
:is(.ls-play, .sample)[data-skin="folio"] .stat .bar {
  height: 6px;
  border-radius: 3px 6px 4px 7px;
}
:is(.ls-play, .sample)[data-skin="folio"] .gauge .bar b,
:is(.ls-play, .sample)[data-skin="folio"] .stat .bar b {
  border-radius: 3px 8px 4px 9px;
  filter: blur(0.35px);
}
:is(.ls-play, .sample)[data-skin="signature"] .nv-lead {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}
:is(.ls-play, .sample)[data-skin="signature"] .nv-lead img {
  width: 46px;
  height: 46px;
  box-shadow:
    0 0 0 1px rgba(214, 222, 255, 0.5),
    0 0 18px rgba(170, 190, 255, 0.35);
}
:is(.ls-play, .sample)[data-skin="signature"] .nv-cap {
  letter-spacing: 0.32em;
  font-size: 10px;
  font-weight: 400;
}
:is(.ls-play, .sample)[data-skin="signature"] .nv-face {
  font-weight: 300;
  letter-spacing: 0.03em;
}
:is(.ls-play, .sample)[data-skin="signature"] .nv-pair {
  text-align: center;
  gap: 18px;
  margin-top: 16px;
}
:is(.ls-play, .sample)[data-skin="signature"] .nv {
  border: 0;
  padding: 6px 6px 4px;
}
:is(.ls-play, .sample)[data-skin="signature"] .nv p {
  position: relative;
  font-family: var(--kai);
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(240, 242, 252, 0.88);
}
:is(.ls-play, .sample)[data-skin="signature"] .nv p::before,
:is(.ls-play, .sample)[data-skin="signature"] .nv p::after {
  position: absolute;
  font:
    400 30px / 1 Georgia,
    serif;
  color: rgba(214, 222, 255, 0.22);
}
:is(.ls-play, .sample)[data-skin="signature"] .nv p::before {
  content: "\201C";
  left: -8px;
  top: -8px;
}
:is(.ls-play, .sample)[data-skin="signature"] .nv p::after {
  content: "\201D";
  right: -8px;
  bottom: -20px;
}
:is(.ls-play, .sample)[data-skin="signature"] .nv-whisper {
  color: #fff;
  text-shadow: 0 0 14px rgba(190, 206, 255, 0.45);
}
:is(.ls-play, .sample)[data-skin="signature"] .nv-meta {
  text-align: center;
  align-items: center;
  border-top: 0;
  padding-top: 0;
}
:is(.ls-play, .sample)[data-skin="signature"] .nv-meta::before {
  content: "✦";
  display: block;
  color: rgba(214, 222, 255, 0.5);
  font-size: 9px;
  letter-spacing: 1em;
  margin: 0 0 6px 0.9em;
}
:is(.ls-play, .sample)[data-skin="signature"] .nv-meta div {
  justify-content: center;
}
:is(.ls-play, .sample)[data-skin="signature"] .nv-meta i {
  width: auto;
  letter-spacing: 0.24em;
}
:is(.ls-play, .sample)[data-skin="signature"] .gauge .bar,
:is(.ls-play, .sample)[data-skin="signature"] .stat .bar {
  height: 2px;
  overflow: visible;
}
:is(.ls-play, .sample)[data-skin="signature"] .gauge .bar b,
:is(.ls-play, .sample)[data-skin="signature"] .stat .bar b {
  box-shadow: 0 0 8px rgba(200, 214, 255, 0.7);
}
:is(.ls-play, .sample)[data-skin="signature"] .gauge .bar b::after,
:is(.ls-play, .sample)[data-skin="signature"] .stat .bar b::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 50%;
  width: 6px;
  height: 6px;
  transform: translateY(-50%) rotate(45deg);
  background: linear-gradient(135deg, #fff, #c9d5ff);
  box-shadow: 0 0 10px rgba(200, 214, 255, 0.95);
}
:is(.ls-play, .sample)[data-skin="ink"] .nv-lead img {
  border-radius: 2px;
  filter: grayscale(0.15);
}
:is(.ls-play, .sample)[data-skin="ink"] .nv-cap {
  color: #7fd3e1;
  letter-spacing: 0.2em;
  font-size: 10px;
}
:is(.ls-play, .sample)[data-skin="ink"] .nv-pair {
  gap: 0;
  grid-template-columns: 1fr;
  margin-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
:is(.ls-play, .sample)[data-skin="ink"] .nv {
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  padding: 10px 0;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  align-items: baseline;
}
:is(.ls-play, .sample)[data-skin="ink"] .nv .nv-cap {
  margin: 0;
}
:is(.ls-play, .sample)[data-skin="ink"] .nv-voice {
  font-family: inherit;
  color: #c9c9ce;
}
:is(.ls-play, .sample)[data-skin="ink"] .nv-whisper span {
  background: linear-gradient(transparent 60%, rgba(245, 181, 68, 0.3) 0);
}
:is(.ls-play, .sample)[data-skin="ink"] .nv-meta {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
  gap: 0;
}
:is(.ls-play, .sample)[data-skin="ink"] .nv-meta div {
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
:is(.ls-play, .sample)[data-skin="ink"] .nv-meta i {
  width: 96px;
  color: #7fd3e1;
  letter-spacing: 0.2em;
  font-size: 10px;
}
:is(.ls-play, .sample)[data-skin="ink"] .gauge > span:first-child {
  color: #8c8c93;
  letter-spacing: 0.16em;
  font-size: 10px;
}
:is(.ls-play, .sample)[data-skin="ink"] .gauge .bar,
:is(.ls-play, .sample)[data-skin="ink"] .stat .bar {
  height: 3px;
  border-radius: 0;
}
:is(.ls-play, .sample)[data-skin="ink"] .gauge .bar b,
:is(.ls-play, .sample)[data-skin="ink"] .stat .bar b {
  border-radius: 0;
}
:is(.ls-play, .sample)[data-skin="ink"] .gauge .v {
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 11px;
}
.ls-play .stat {
  display: grid;
  grid-template-columns: 86px 1fr 70px;
  gap: 10px;
  align-items: center;
  padding: 6px 0;
  font-size: 12.5px;
}
.ls-play .stat > span:first-child {
  color: color-mix(in srgb, var(--sk-text) 76%, transparent);
}
.ls-play .stat .v {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--sk-text);
}
.ls-play .stat .v i {
  font-style: normal;
  color: var(--sk-muted);
  opacity: 0.7;
}
.ls-play .stat .v em {
  font-style: normal;
  font-size: 11px;
  margin-left: 4px;
}
.ls-play .kv {
  display: flex;
  gap: 10px;
  font-size: 12.5px;
  padding: 7px 0;
  border-top: 1px solid var(--sk-line);
}
.ls-play .kv:first-of-type {
  border-top: 0;
}
.ls-play .kv .k {
  width: 86px;
  flex: none;
  color: var(--sk-label);
}
.ls-play .kv .v {
  flex: 1;
  color: var(--sk-text);
}
.ls-play .beats {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.ls-play .beats span {
  font-size: 11.5px;
  padding: 2px 9px;
  border-radius: 999px;
  border: 1px solid var(--sk-line);
  color: var(--sk-muted);
}
.ls-play .beats span.cur {
  border-color: var(--sk-accent);
  color: var(--sk-accent);
}
.ls-play .beats span.done {
  color: var(--sk-text);
  opacity: 0.7;
}
.ls-play .cast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
}
.ls-play .cast {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border-radius: calc(var(--sk-radius) * 0.6);
  border: 1px solid var(--sk-line);
  background: color-mix(in srgb, var(--sk-text) 3%, transparent);
  cursor: pointer;
  text-align: left;
  color: var(--sk-text);
  transition:
    background var(--fast),
    border-color var(--fast);
}
.ls-play .cast:hover {
  border-color: color-mix(in srgb, var(--sk-accent) 45%, transparent);
}
.ls-play .cast img {
  width: 40px;
  height: 40px;
  border-radius: calc(var(--sk-radius) * 0.6);
  object-fit: cover;
}
.ls-play .cast b {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ls-play .cast small {
  display: block;
  font-size: 11px;
  color: var(--sk-muted);
}
.ls-play .cast .aff {
  height: 3px;
  border-radius: 3px;
  background: var(--sk-track);
  margin-top: 5px;
  overflow: hidden;
}
.ls-play .cast .aff b {
  height: 100%;
  background: var(--sk-bar);
  border-radius: 3px;
}
.ls-play.ls-vp-mobile .sb-pill .rn,
.ls-play.ls-vp-mobile .sb-pill .pl-long {
  display: none;
}
.ls-play.ls-vp-mobile .sb-pill .pl-short {
  display: inline !important;
}
.ls-play.ls-vp-mobile .sb-pill .pl-short::after {
  content: " 人在场";
}
.ls-play.ls-vp-mobile .sb-pill {
  gap: 7px;
  padding: 0 11px 0 8px;
  font-size: 12px;
}
.ls-play.ls-vp-mobile[data-skin="obsidian"] .sb-pill {
  padding: 0 13px 0 12px;
}
.ls-play.ls-vp-mobile .sb-pill .lbl {
  display: none;
}
.ls-play.ls-vp-mobile .sb-pill .av + span {
  display: none;
}
.ls-play.ls-vp-mobile .nv-pair,
.ls-play.ls-vp-mobile .nv-gauges {
  grid-template-columns: 1fr;
}
.ls-play.ls-vp-mobile .sb-card {
  margin: 10px 2px 8px;
}
.ls-play.ls-vp-mobile[data-skin="folio"] .nv + .nv {
  border-left: 0;
  box-shadow: none;
  border-top: 1px solid rgba(110, 80, 35, 0.3);
}
.ls-play.ls-vp-mobile .sb-pane {
  padding: 14px 14px 16px;
}
.ls-play.ls-vp-mobile[data-skin="folio"] .sb-pane {
  padding: 12px 18px 20px;
}
.ls-play.ls-vp-mobile .sb-tab {
  padding-left: 7px;
  padding-right: 7px;
}
.ls-play.ls-vp-mobile[data-skin="ink"] .nv,
.ls-play.ls-vp-mobile[data-skin="ink"] .nv-meta div {
  grid-template-columns: 76px 1fr;
}
.ls-play.ls-vp-mobile[data-skin="ink"] .nv-meta i {
  width: 76px;
}
.ls-play .sb-foot {
  font-size: 11px;
  color: var(--sk-muted);
  opacity: 0.85;
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
:is(.ls-play, .sample)[data-skin="signature"] .sb-foot {
  justify-content: center;
}
.ls-play .info0 {
  margin: 0 0 1.8em;
  max-width: 100%;
  scroll-margin-top: 24px;
}
:is(.ls-play, .sample)[data-skin="signature"] .info0 {
  margin-left: auto;
  margin-right: auto;
}
/* D86③ compact Turn-0 bar: one calm row, the skin's frame around it. */
.ls-play .i0-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-right: 8px;
}
.ls-play .i0-head {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: none;
  padding: 9px 6px 9px 12px;
  text-align: left;
  color: inherit;
  cursor: pointer;
}
.ls-play .i0-quick {
  flex: none;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--sk-line);
  background: var(--sk-cell);
  color: var(--sk-text);
  transition:
    border-color var(--fast),
    transform var(--fast);
}
.ls-play .i0-quick:hover {
  border-color: color-mix(in srgb, var(--sk-accent) 55%, transparent);
}
.ls-play .i0-quick:active {
  transform: rotate(-20deg) scale(0.94);
}
:is(.ls-play, .sample)[data-skin="folio"] .i0-quick,
:is(.ls-play, .sample)[data-skin="ink"] .i0-quick {
  border-radius: 2px;
}
:is(.ls-play, .sample)[data-skin="folio"] .info0 .orn {
  width: 22px;
  height: 22px;
}
:is(.ls-play, .sample)[data-skin="folio"] .i0-head {
  padding-left: 22px;
}
:is(.ls-play, .sample)[data-skin="folio"] .i0-bar {
  padding-right: 20px;
}
.ls-play .i0-badge {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 700 9.5px / 1 var(--ui);
  letter-spacing: 0.22em;
  padding: 5px 6px 5px 8px;
  border-radius: 3px;
  border: 1px solid color-mix(in srgb, var(--sk-accent) 55%, transparent);
  color: var(--sk-accent);
}
:is(.ls-play, .sample)[data-skin="obsidian"] .i0-badge {
  box-shadow:
    inset 0 0 0 2px var(--obs-925),
    inset 0 0 0 3px rgba(212, 190, 149, 0.25);
}
:is(.ls-play, .sample)[data-skin="folio"] .i0-badge {
  font: 600 12px / 1 var(--sk-head);
  letter-spacing: 0.2em;
  padding: 5px 6px 5px 8px;
  border-color: #8a6528;
  color: #3a2c1a;
}
:is(.ls-play, .sample)[data-skin="signature"] .i0-badge {
  border-radius: 999px;
  border-color: rgba(214, 222, 255, 0.35);
  font-weight: 400;
  letter-spacing: 0.3em;
}
:is(.ls-play, .sample)[data-skin="ink"] .i0-badge {
  border-color: rgba(255, 255, 255, 0.3);
  color: #f3f3f5;
  border-radius: 0;
}
.ls-play .i0-title {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.ls-play .i0-title b {
  flex: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--sk-text);
  letter-spacing: 0.04em;
}
:is(.ls-play, .sample)[data-skin="folio"] .i0-title b {
  font-family: var(--sk-head);
  letter-spacing: 0.14em;
}
:is(.ls-play, .sample)[data-skin="signature"] .i0-title b {
  font-weight: 400;
  letter-spacing: 0.2em;
}
.ls-play .i0-title small {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  color: var(--sk-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ls-play .i0-state {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--sk-muted);
}
.ls-play .i0-state::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sk-muted);
  opacity: 0.6;
}
.ls-play .info0.active .i0-state::before {
  background: var(--sk-accent);
  opacity: 0.9;
  box-shadow: 0 0 6px color-mix(in srgb, var(--sk-accent) 60%, transparent);
}
.ls-play .info0:not(.active) .i0-state {
  color: var(--sk-warn);
}
.ls-play .info0:not(.active) .i0-state::before {
  background: var(--sk-warn);
  opacity: 1;
}
.ls-play .i0-head .chev {
  color: var(--sk-muted);
  transition: transform 260ms var(--ease);
}
.ls-play .info0.open .i0-head .chev {
  transform: rotate(180deg);
}
.ls-play .i0-body {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 360ms var(--ease),
    opacity 240ms;
}
.ls-play .info0.open .i0-body {
  grid-template-rows: 1fr;
  opacity: 1;
}
.ls-play .i0-form {
  margin: 0 14px;
  padding-top: 10px;
  border-top: 1px solid var(--sk-line);
}
.ls-play .i0-defuser {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  margin-bottom: 8px;
  border: 1px solid var(--sk-line);
  border-radius: min(var(--sk-radius), 10px);
  background: var(--sk-cell);
}
.ls-play .i0-av {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: min(var(--sk-radius), 8px);
  object-fit: cover;
}
.ls-play .i0-who {
  flex: 1;
  min-width: 0;
}
.ls-play .i0-who b {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
}
.ls-play .i0-who small {
  display: block;
  font-size: 11px;
  color: var(--sk-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ls-play .i0-defacts {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.ls-play .i0-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 18px;
}
.ls-play.ls-vp-mobile .i0-grid {
  grid-template-columns: 1fr;
}
:is(.ls-play, .sample)[data-skin="folio"] .i0-form {
  margin: 0 24px;
  border-top: 1px solid rgba(110, 80, 35, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
.ls-play .i0-note {
  margin: 0 0 4px;
  font-size: 11px;
  line-height: 1.5;
  color: var(--sk-muted);
}
.ls-play .dice {
  display: inline-block;
  font-size: 14px;
  line-height: 1;
  font-style: normal;
}
.ls-play .rolling .dice {
  animation: dice 0.5s var(--ease);
}

@keyframes dice {
  0% {
    transform: rotate(0) scale(1);
  }
  40% {
    transform: rotate(200deg) scale(1.25);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}
.ls-play .i0-f {
  min-width: 0;
  padding: 7px 0 8px;
}
.ls-play .i0-fh {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.ls-play .i0-fh label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--sk-label);
}
:is(.ls-play, .sample)[data-skin="folio"] .i0-fh label {
  font-family: var(--sk-head);
  font-weight: 600;
  letter-spacing: 0.16em;
}
.ls-play .i0-fh small {
  flex: 1;
  font-size: 11px;
  color: var(--sk-muted);
  opacity: 0.85;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ls-play .i0-dice {
  flex: none;
  width: 28px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid var(--sk-line);
  background: var(--sk-cell);
  transition:
    border-color var(--fast),
    background var(--fast);
}
.ls-play .i0-dice:hover {
  border-color: color-mix(in srgb, var(--sk-accent) 55%, transparent);
}
.ls-play .i0-dice .dice {
  font-size: 13px;
}
.ls-play .i0-in {
  display: block;
  width: 100%;
  border: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--sk-text) 18%, transparent);
  background: var(--sk-input);
  color: var(--sk-text);
  font: 14px / 1.55 var(--ui);
  padding: 4px 8px;
  border-radius: 4px 4px 0 0;
  outline: 0;
  resize: none;
  transition:
    border-color var(--fast),
    background var(--fast);
  min-height: 32px;
}
:is(.ls-play, .sample)[data-skin="folio"] .i0-in {
  font-family: var(--sk-head);
  font-size: 15.5px;
}
:is(.ls-play, .sample)[data-skin="signature"] .i0-in {
  font-weight: 300;
  letter-spacing: 0.03em;
}
.ls-play .i0-in:focus {
  border-bottom-color: var(--sk-accent);
  background: color-mix(in srgb, var(--sk-accent) 7%, var(--sk-input));
}
.ls-play .i0-in::placeholder {
  color: var(--sk-muted);
  opacity: 0.7;
}
.ls-play .i0-f.flash .i0-in {
  animation: fieldflash 0.9s var(--ease);
}

@keyframes fieldflash {
  20% {
    background: color-mix(in srgb, var(--sk-accent) 22%, transparent);
  }
}
.ls-play .i0-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 6px;
}
.ls-play .i0-chip {
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid var(--sk-line);
  background: color-mix(in srgb, var(--sk-text) 4%, transparent);
  font-size: 11.5px;
  color: color-mix(in srgb, var(--sk-text) 84%, transparent);
  transition:
    border-color var(--fast),
    color var(--fast),
    background var(--fast);
}
.ls-play .i0-chip::before {
  content: "+ ";
  opacity: 0.55;
}
.ls-play .i0-chip:hover {
  border-color: color-mix(in srgb, var(--sk-accent) 55%, transparent);
  color: var(--sk-text);
}
.ls-play .i0-chip.on {
  border-color: var(--sk-accent);
  background: color-mix(in srgb, var(--sk-accent) 16%, transparent);
  color: var(--sk-text);
}
.ls-play .i0-chip.on::before {
  content: "✓ ";
  opacity: 0.9;
}
:is(.ls-play, .sample)[data-skin="folio"] .i0-chip,
:is(.ls-play, .sample)[data-skin="ink"] .i0-chip,
:is(.ls-play, .sample)[data-skin="folio"] .i0-dice,
:is(.ls-play, .sample)[data-skin="ink"] .i0-dice {
  border-radius: 2px;
}
:is(.ls-play, .sample)[data-skin="folio"] .i0-chip {
  font-family: var(--sk-head);
  background: rgba(255, 255, 255, 0.3);
}
.ls-play .i0-author {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 6px 0 0;
  padding-top: 8px;
  border-top: 1px solid var(--sk-line);
  font-size: 11px;
  color: var(--sk-muted);
}
.ls-play .i0-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px 12px;
  flex-wrap: wrap;
}
:is(.ls-play, .sample)[data-skin="folio"] .i0-actions {
  padding: 10px 20px 18px;
}
.ls-play .i0-actions .grow {
  flex: 1;
}
.ls-play .i0-btn {
  height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--sk-line);
  background: color-mix(in srgb, var(--sk-text) 4%, transparent);
  font-size: 12px;
  color: color-mix(in srgb, var(--sk-text) 88%, transparent);
  transition:
    border-color var(--fast),
    color var(--fast);
}
.ls-play .i0-btn:hover {
  border-color: color-mix(in srgb, var(--sk-accent) 55%, transparent);
  color: var(--sk-text);
}
.ls-play .i0-cta {
  height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 17px;
  border-radius: 999px;
  border: 0;
  background: var(--sk-cta-bg);
  color: var(--sk-cta-fg);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  transition:
    filter var(--fast),
    transform var(--fast);
}
:is(.ls-play, .sample)[data-skin="folio"] .i0-cta,
:is(.ls-play, .sample)[data-skin="ink"] .i0-cta,
:is(.ls-play, .sample)[data-skin="folio"] .i0-btn,
:is(.ls-play, .sample)[data-skin="ink"] .i0-btn {
  border-radius: 2px;
}
.ls-play .i0-cta:hover {
  filter: brightness(1.06);
}
.ls-play .i0-cta:active {
  transform: scale(0.97);
}
:is(.ls-play, .sample)[data-skin="signature"] .i0-actions {
  justify-content: center;
}
:is(.ls-play, .sample)[data-skin="signature"] .i0-actions .grow {
  display: none;
}
.ls-play.ls-vp-mobile .i0-actions .grow {
  display: none;
}
.ls-play.ls-vp-mobile .i0-cta {
  width: 100%;
  justify-content: center;
  order: 3;
}
/* P2: mobile touch comfort — Turn-0 INFO controls and the primary
   确认开局设定 CTA must meet the 44px touch floor; chips/dice/small
   buttons get a 40px minimum. `.ls-vp-mobile` is the viewport class the
   play column applies under 768px, so no media query is needed. */
.ls-play.ls-vp-mobile .i0-cta {
  min-height: 44px;
}
.ls-play.ls-vp-mobile .i0-quick {
  width: 44px;
  height: 44px;
}
.ls-play.ls-vp-mobile .i0-chip {
  min-height: 44px;
}
.ls-play.ls-vp-mobile .i0-dice {
  min-width: 44px;
  min-height: 44px;
}
.ls-play.ls-vp-mobile .i0-btn {
  min-height: 44px;
}
.ls-play.ls-vp-mobile .i0-form {
  margin: 0 14px;
}
.ls-play .info0.flash {
  animation: i0flash 1.6s var(--ease);
}

@keyframes i0flash {
  30% {
    box-shadow:
      0 0 0 1px color-mix(in srgb, var(--sk-accent) 60%, transparent),
      0 20px 50px rgba(0, 0, 0, 0.42);
  }
}
.ls-play .skin-note {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
}
.ls-play .skin-note .sn-h {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: #d6d6da;
  font-weight: 500;
}
.ls-play .skin-note .sn-h code {
  font:
    11px / 1 "Cascadia Mono",
    Consolas,
    monospace;
  color: #8fcdfb;
  background: rgba(143, 205, 251, 0.08);
  padding: 3px 6px;
  border-radius: 6px;
}
.ls-play .skin-note p {
  margin: 6px 0 10px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--text-muted);
}
.ls-play .skin-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.ls-play .skin-row .sb-pill {
  height: 30px;
  font-size: 11.5px;
  gap: 7px;
  padding: 0 11px 0 9px;
  pointer-events: none;
  font-family: var(--ui);
}
.ls-play .skin-row .sb-pill::before,
.ls-play .skin-row .sb-pill::after {
  content: none;
}
.ls-play .skin-row .sb-pill .gl {
  display: inline-grid;
}
.ls-play .skin-row > [data-skin="obsidian"] .gl {
  display: none;
}
.ls-play .skin-row > [data-skin="folio"] .gl::before {
  content: "❦";
  font-size: 13px;
}
.ls-play .skin-row > [data-skin="signature"] .gl::before {
  content: "✦";
  font-size: 10px;
}
.ls-play .skin-row > [data-skin="ink"] .gl {
  display: none;
}
.ls-play .skin-row > [data-skin="folio"] .sb-pill .mood {
  font-family: "Noto Serif SC", "Songti SC", serif;
}
.ls-play .skin-row .seal {
  width: 16px;
  height: 16px;
  font-size: 10px;
}
.ls-play .skin-row .ember {
  display: none;
}
.ls-play .skin-row > [data-skin="obsidian"] .ember {
  display: inline-block;
}
.ls-play .styc .sample .chap-en {
  font-style: normal;
}
.ls-play .styc .sample[data-skin="folio"] .chap-en {
  font-style: italic;
}
.ls-play .composer textarea {
  flex: 1;
  min-width: 0;
  background: none;
  border: 0;
  outline: 0;
  resize: none;
  color: #fff;
  font: 15px / 22px var(--ui);
  padding: 7px 4px;
  height: 36px;
  max-height: 120px;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.ls-play .composer textarea::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.ls-play .composer textarea.scrolly {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.16) transparent;
}
.ls-play .composer textarea.scrolly::-webkit-scrollbar {
  display: block;
  width: 4px;
}
.ls-play .composer textarea.scrolly::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 4px;
}
.ls-play .composer textarea.scrolly::-webkit-scrollbar-track {
  background: transparent;
}
.ls-play .composer textarea::placeholder {
  color: #7a7a80;
}
.ls-play[data-align="left"] {
  --align: left;
}
.ls-play[data-align="center"] {
  --align: center;
}
.ls-play[data-align="center"] .turn.ai p {
  text-indent: 0;
}
.ls-play[data-align="center"][data-skin="folio"]
  .turn.ai
  > p.narr.first::first-letter {
  float: none;
  font-size: inherit;
  line-height: inherit;
  padding: 0;
  color: inherit;
  font-family: inherit;
}
.ls-play[data-align="center"] .chap .rule {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.26),
    transparent
  );
}
.ls-play[data-align="center"][data-skin="folio"] .chap .rule {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(205, 174, 110, 0.6),
    transparent
  );
}
.ls-play[data-align="left"][data-skin="signature"] .chap .rule {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.28),
    transparent 75%
  );
}
.ls-play .bg img.ambient {
  display: none;
}
.ls-play.m-character.ls-vp-desktop .bg img.ambient {
  display: block;
  position: absolute;
  left: -8%;
  top: -12%;
  width: 116%;
  height: 124%;
  object-fit: cover;
  object-position: 50% 18%;
  filter: blur(70px) saturate(1.3) brightness(0.5);
  opacity: 0.9;
  transform: scale(1.08);
  pointer-events: none;
}
.ls-play.m-character.ls-vp-desktop .bg img.portrait {
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    rgba(0, 0, 0, 0.55) 12%,
    #000 28%,
    #000 72%,
    rgba(0, 0, 0, 0.55) 88%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    rgba(0, 0, 0, 0.55) 12%,
    #000 28%,
    #000 72%,
    rgba(0, 0, 0, 0.55) 88%,
    transparent 100%
  );
}
.ls-play.m-character.ls-vp-desktop .vig-edge {
  background:
    linear-gradient(180deg, rgba(6, 6, 7, 0.55) 0%, rgba(6, 6, 7, 0) 10%),
    linear-gradient(
      90deg,
      rgba(6, 6, 7, 0.5) 0%,
      rgba(6, 6, 7, 0.12) 16%,
      rgba(6, 6, 7, 0) 30%,
      rgba(6, 6, 7, 0) 70%,
      rgba(6, 6, 7, 0.12) 84%,
      rgba(6, 6, 7, 0.5) 100%
    );
}
.ls-play .al-row {
  flex-wrap: wrap;
}
.ls-play .al-seg {
  margin-left: auto;
}
.ls-play .al-seg button {
  padding: 5px 13px;
}
.ls-play .al-reset {
  border: 0;
  background: none;
  padding: 0;
  font-size: 11.5px;
  color: var(--accent-text);
  flex-basis: 100%;
  text-align: right;
}
.ls-play .al-hint {
  font-size: 11.5px;
  color: var(--text-muted);
  padding: 0 0 10px;
  line-height: 1.5;
}

.ls-play .bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.ls-play .bg img.portrait {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.6s var(--ease);
}
.ls-play .vig-edge,
.ls-play .vig-text {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease);
}
.ls-play .vig-text {
  opacity: var(--scrim, 0.85);
}
.ls-play.m-character.ls-vp-desktop .bg {
  background:
    radial-gradient(
      42% 60% at 20% 82%,
      rgba(150, 104, 48, 0.16),
      transparent 72%
    ),
    radial-gradient(
      40% 55% at 82% 28%,
      rgba(92, 104, 138, 0.13),
      transparent 72%
    ),
    #0b0b0d;
}
.ls-play.m-character.ls-vp-desktop .bg img.portrait {
  inset: auto;
  top: 0;
  left: 50%;
  width: auto;
  height: 126%;
  max-width: none;
  transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 22%,
    #000 78%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 22%,
    #000 78%,
    transparent 100%
  );
}
.ls-play.m-character.ls-vp-desktop .vig-text {
  background:
    radial-gradient(
      ellipse 36% 44% at 50% 80%,
      rgba(6, 6, 7, 0.66),
      rgba(6, 6, 7, 0.4) 55%,
      rgba(6, 6, 7, 0) 100%
    ),
    linear-gradient(
      180deg,
      rgba(6, 6, 7, 0) 40%,
      rgba(6, 6, 7, 0.26) 60%,
      rgba(6, 6, 7, 0.62) 100%
    );
}
.ls-play.m-character.ls-vp-desktop .vig-edge {
  background:
    linear-gradient(180deg, rgba(6, 6, 7, 0.6) 0%, rgba(6, 6, 7, 0) 10%),
    linear-gradient(
      90deg,
      rgba(6, 6, 7, 0.7) 0%,
      rgba(6, 6, 7, 0.18) 20%,
      rgba(6, 6, 7, 0) 32%,
      rgba(6, 6, 7, 0) 68%,
      rgba(6, 6, 7, 0.18) 80%,
      rgba(6, 6, 7, 0.7) 100%
    );
}
.ls-play.m-character.ls-vp-mobile .vig-text {
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 36%,
    rgba(6, 6, 7, 0.34) 48%,
    rgba(6, 6, 7, 0.66) 68%,
    rgba(6, 6, 7, 0.8) 100%
  );
}
.ls-play.m-character.ls-vp-mobile .vig-edge {
  background: linear-gradient(
    180deg,
    rgba(6, 6, 7, 0.55) 0%,
    rgba(6, 6, 7, 0) 15%
  );
}
/* Story mode: the world poster / location art is a full-bleed atmospheric
 * backdrop (never the character-mode .portrait, which story hides). */
.ls-play .bg img.backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  filter: saturate(1.04) brightness(0.86);
  transition: opacity 0.6s var(--ease);
}
.ls-play.m-story .bg {
  background:
    radial-gradient(60% 50% at 18% 70%, rgba(160, 30, 45, 0.1), transparent 70%),
    radial-gradient(60% 50% at 85% 75%, rgba(40, 90, 190, 0.1), transparent 70%),
    var(--surface-canvas);
}
.ls-play.m-story .vig-edge {
  background: linear-gradient(
    180deg,
    rgba(6, 6, 7, 0.5) 0%,
    rgba(6, 6, 7, 0) 11%
  );
}
.ls-play.m-story .vig-text {
  background: radial-gradient(
    ellipse 42% 72% at 50% 64%,
    rgba(6, 6, 7, 0.72),
    rgba(6, 6, 7, 0.38) 55%,
    transparent 100%
  );
}
.ls-play.m-story.ls-vp-mobile .vig-text {
  background: linear-gradient(
    180deg,
    transparent 18%,
    rgba(6, 6, 7, 0.5) 36%,
    rgba(6, 6, 7, 0.2) 100%
  );
}
.ls-play .scene-cap {
  position: absolute;
  left: 28px;
  top: 76px;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.04em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}
.ls-play .scene-cap .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ff5b6b;
  box-shadow: 0 0 8px #ff5b6b;
}
.ls-play.ls-vp-mobile .scene-cap {
  top: 112px;
  left: 20px;
}
.ls-play .dock-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.36);
  padding: 7px 14px 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  min-height: 24px;
}
.ls-play.ls-vp-mobile .dock-meta {
  justify-content: center;
  padding: 6px 0 0;
  min-height: 0;
}
.ls-play.ls-vp-mobile .dock-meta .dm-r {
  display: none;
}
:is(.ls-play, .sample)[data-skin="signature"] .dock-meta {
  justify-content: center;
  gap: 18px;
}
.ls-play .setup-cap {
  border: 0;
  background: none;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 11px / 1.4 var(--ui);
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.4);
  text-shadow: inherit;
  transition:
    color var(--fast),
    opacity 0.8s ease;
  cursor: pointer;
}
.ls-play .setup-cap .st {
  color: var(--sk-accent);
  opacity: 0.6;
  font-size: 10px;
}
.ls-play .setup-cap:hover {
  color: rgba(255, 255, 255, 0.72);
}
.ls-play .setup-cap:hover .st {
  opacity: 0.9;
}
.ls-play .setup-cap.off {
  opacity: 0;
  pointer-events: none;
}
.ls-play .rng {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: var(--text-secondary);
  padding: 8px 0;
}
.ls-play .rng input {
  flex: 1;
  accent-color: #f4f1ec;
}
.ls-play .rng b {
  width: 52px;
  text-align: right;
  color: #fff;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

/* ─── App bridge: LiveStory-specific wiring on top of the ported v2.2 skin ─── */

/* Font-stack + motion fallbacks the prototype took from its own :root. */
.ls-play {
  --ui:
    "DM Sans", "Segoe UI Variable Text", "Segoe UI", "Noto Sans SC",
    "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --display:
    "Playfair Display", Georgia, "Noto Serif SC", "Source Han Serif SC", serif;
  --kai: "Kaiti SC", "STKaiti", "KaiTi", "Noto Serif SC", serif;
  --script:
    "Segoe Script", "Snell Roundhand", "Brush Script MT", "Lucida Handwriting",
    cursive;
  --fast: 160ms;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --obs-925: #101012;
  --alab-100: #f4f1ec;
  --alab-100h: #e5e1d9;
  --text-muted: #76757b;
  --text-secondary: #a1a0a6;
  --accent-text: #8fcdfb;
  /* User-adjustable reading metrics (Look tab sliders). */
  --rs: 17.5px;
  --lh: 1.82;
}

/* ─── Frameless reading typography ───
 * The app's ProseRenderer emits .ls-prose / .ls-prose-dialogue /
 * .ls-prose-action / .ls-prose-bold classes; map them onto the theme
 * expression tokens so all 4 skins restyle prose live. */
.ls-play .ls-prose {
  font-family: var(--f-body, var(--ui));
  font-size: calc(var(--rs) * var(--rs-k, 1));
  line-height: calc(var(--lh) + var(--lh-d, 0));
  color: var(--c-narr, #fff);
  font-weight: var(--fw, 400);
  letter-spacing: var(--track, 0);
  text-align: var(--align, left);
  text-shadow: var(
    --tsh,
    0 1px 2px rgba(0, 0, 0, 0.6),
    0 0 22px rgba(0, 0, 0, 0.35)
  );
  font-kerning: normal;
  text-wrap: pretty;
  hanging-punctuation: allow-end;
}
.ls-play .ls-prose-dialogue {
  color: var(--c-dlg, #fff);
}
.ls-play .ls-prose-action {
  color: var(--c-thought, #9ca1a9);
  font-family: var(--f-thought, inherit);
}
.ls-play .ls-prose-bold {
  color: var(--c-em, #fff);
  font-weight: var(--em-w, 600);
  background: var(--em-bg, none);
}
/* frameless — kill the grey wrapper box, the dialogue left-border
 * tint, and the action dotted rule that boxed the prose in v1. */
.ls-play .ls-prose-dialogue-para {
  border-left: 0;
  background: none;
  padding-left: 0;
}
.ls-play .ls-prose-action-para {
  border-left: 0;
  padding-left: 0;
}

/* ─── Super-light translucent frost veil behind the lower reading zone ───
 * Owner lock: the upper portrait/face stays 100% crisp (z-index 0); only a
 * very subtle translucent frost (3.5px) sits behind the lower text zone,
 * feathered via mask so there is no hard edge. Prose strictly sits on z-index 4. */
.ls-play [data-testid="play-stage"] {
  z-index: 0;
  isolation: isolate;
}
.ls-play [data-testid="play-messages"] {
  position: relative;
  z-index: 4;
}
.ls-play .ls-frost-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  -webkit-backdrop-filter: blur(3.5px) saturate(1.06) brightness(0.76);
  backdrop-filter: blur(3.5px) saturate(1.06) brightness(0.76);
  background: linear-gradient(
    180deg,
    rgba(6, 6, 7, 0) 44%,
    rgba(6, 6, 7, 0.28) 62%,
    rgba(6, 6, 7, 0.55) 100%
  );
  -webkit-mask-image: linear-gradient(
    180deg,
    transparent 48%,
    rgba(0, 0, 0, 0.55) 66%,
    #000 84%
  );
  mask-image: linear-gradient(
    180deg,
    transparent 48%,
    rgba(0, 0, 0, 0.55) 66%,
    #000 84%
  );
}

/* ─── Composer #input Windows scrollbar fix ───
 * Single-line box is 36px so it never overflows; the thin dark thumb only
 * appears past the 120px cap (.scrolly toggled in JS). */
.ls-play .ls-composer__input {
  min-height: 36px;
  max-height: 120px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.ls-play .ls-composer__input::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.ls-play .ls-composer__input.scrolly {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.16) transparent;
}
.ls-play .ls-composer__input.scrolly::-webkit-scrollbar {
  display: block;
  width: 4px;
}
.ls-play .ls-composer__input.scrolly::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 4px;
}
.ls-play .ls-composer__input.scrolly::-webkit-scrollbar-track {
  background: transparent;
}

.ls-play .stycards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.ls-play .styc {
  text-align: left;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #141416;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  transition:
    border-color var(--fast),
    transform var(--fast);
}
.ls-play .styc:hover {
  border-color: rgba(255, 255, 255, 0.2);
}
.ls-play .styc.on {
  border-color: var(--alab-100);
  box-shadow: 0 0 0 1px var(--alab-100);
}
.ls-play .styc .sample {
  min-height: 92px;
  padding: 12px;
  font-size: 13px;
  line-height: 1.75;
  background: linear-gradient(180deg, #1b1b1f, #101012);
  overflow: hidden;
  text-shadow: none;
  font-family: var(--f-body, var(--ui));
  color: var(--c-narr, #ececee);
}
.ls-play .styc .sample .chap-en {
  font-size: 0.78em;
  font-family: var(--f-chap-en, var(--ui));
  color: var(--c-chap-en, rgba(255, 255, 255, 0.5));
  letter-spacing: var(--chap-en-track, 0.32em);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.ls-play .styc .sample p {
  margin: 0;
  color: inherit;
}
.ls-play .styc .sample .who {
  color: var(--c-who);
  font-family: var(--f-who, var(--ui));
  font-size: var(--who-size, 0.7em);
  font-style: var(--who-style, normal);
  font-weight: var(--who-w, 600);
  letter-spacing: var(--who-track, 0.14em);
  text-transform: var(--who-case, uppercase);
  margin-right: 0.55em;
}
.ls-play .styc .sample .who::after {
  content: var(--who-after, "");
}
.ls-play .styc .sample .dlg {
  color: var(--c-dlg);
}
.ls-play .styc .sample .thought {
  color: var(--c-thought);
  font-family: var(--f-thought, inherit);
}
.ls-play .styc .sample .em {
  color: var(--c-em);
  font-weight: var(--em-w, 600);
  background: var(--em-bg, none);
}
.ls-play .styc .meta {
  padding: 9px 12px 11px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--ui);
  text-align: left;
}
.ls-play .styc .meta b {
  display: block;
  font-size: 12.5px;
  color: #ececee;
}
.ls-play .styc .meta small {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* style-card mini samples get their own theme tokens */
.ls-play .styc .sample[data-skin="obsidian"] {
  --f-body:
    "DM Sans", "Segoe UI Variable Text", "Segoe UI", "Noto Sans SC",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  --c-narr: #c8ccd5;
  --c-dlg: #f6eddf;
  --c-who: #c4ae88;
  --c-thought: #9ca1a9;
  --f-thought: var(--kai);
  --c-em: #ffffff;
  --em-w: 600;
}
.ls-play .styc .sample[data-skin="folio"] {
  --f-body:
    "Source Serif 4", "Noto Serif SC", "Source Han Serif SC", "Songti SC",
    "STSong", Georgia, serif;
  --c-narr: #e4d8bf;
  --c-dlg: #f7efdf;
  --c-who: #cdae6e;
  --f-who: Georgia, "Playfair Display", "Noto Serif SC", serif;
  --who-size: 0.92em;
  --who-style: italic;
  --who-w: 400;
  --who-track: 0.02em;
  --who-case: none;
  --who-after: "：";
  --c-thought: #a89e8a;
  --f-thought: var(--kai);
  --c-em: #f3dfb4;
  --em-w: 500;
  --c-chap-en: #cdae6e;
  --chap-en-track: 0.18em;
}
.ls-play .styc .sample[data-skin="folio"] .chap-en {
  font-style: italic;
  text-transform: none;
}
.ls-play .styc .sample[data-skin="signature"] {
  --f-body: "Noto Sans SC", "DM Sans", "Segoe UI", sans-serif;
  --fw: 300;
  --c-narr: rgba(242, 242, 246, 0.88);
  --c-dlg: #ffffff;
  --who-display: block;
  --c-who: rgba(255, 255, 255, 0.5);
  --who-size: 0.6em;
  --who-track: 0.3em;
  --who-w: 400;
  --c-thought: rgba(222, 224, 236, 0.72);
  --f-thought: var(--kai);
  --c-em: #fff;
  --em-w: 400;
  --f-chap-en: var(--script);
  --c-chap-en: rgba(255, 255, 255, 0.88);
  --chap-en-track: 0;
}
.ls-play .styc .sample[data-skin="signature"] .chap-en {
  text-transform: none;
  font-weight: 400;
  font-size: 1.4em;
}
.ls-play .styc .sample[data-skin="ink"] {
  --f-body:
    "Noto Sans SC", "PingFang SC", "Microsoft YaHei UI", "Segoe UI", sans-serif;
  --c-narr: #ececee;
  --c-dlg: #ffffff;
  --c-who: #7fd3e1;
  --who-size: 0.78em;
  --who-track: 0.04em;
  --who-case: none;
  --who-after: "";
  --c-thought: #9ca1a8;
  --c-em: #fff6e3;
  --em-w: 500;
  --em-bg: linear-gradient(transparent 60%, rgba(245, 181, 68, 0.32) 0);
  --c-chap-en: #7fd3e1;
}
.ls-play .styc .sample[data-skin="ink"] .who {
  display: block;
  margin: 0 0 0.15em;
}

/* authored `custom_sections` + the native
   character switcher inside the per-turn Status Card. The section rows
   reuse `.nv-meta`/`.nv-cap`/`.gauge` so all 4 Beautify skins already
   re-skin them; only the switcher pills + section rhythm are new. */
.ls-play .sb-custom {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 10px;
  margin-top: 8px;
  border-top: 1px dashed
    var(--semantic-border-subtle, rgba(255, 255, 255, 0.12));
}
.ls-play .sb-section {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ls-play .sb-section-title {
  margin-bottom: 2px;
}
.ls-play .sb-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ls-play .sb-switcher-pill {
  border-radius: 999px;
  border: 1px solid var(--semantic-border-subtle, rgba(255, 255, 255, 0.18));
  padding: 3px 10px;
  font-size: 11px;
  color: var(--semantic-text-secondary, #b8b8c0);
  background: transparent;
  cursor: pointer;
}
.ls-play .sb-switcher-pill:hover {
  color: var(--semantic-text-primary, #ececee);
}
.ls-play .sb-switcher-pill[aria-pressed="true"],
.ls-play .sb-switcher-pill.on {
  color: var(--semantic-text-primary, #fff);
  border-color: var(--semantic-surface-interactive, rgba(255, 200, 120, 0.55));
  background: var(--semantic-surface-interactive, rgba(255, 200, 120, 0.16));
}

/* present-on-stage dot inside a switcher pill + the off-stage
   carry-forward caption under the pills / beside a single-char header. */
.ls-play .sb-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--semantic-accent-text, #7dd3fc);
  vertical-align: 1px;
}
.ls-play .sb-offstage {
  color: var(--semantic-text-muted, #8a8a94);
  font-size: 10.5px;
}


/* /src/components/livestory/play/reading-themes.css */
/* ProseRenderer paragraph rhythm. Colours, fonts and size come from the
 * active skin: `.ls-play .ls-prose*` in play-v2.css binds these classes to
 * the `[data-skin]` tokens, so a skin swap repaints prose in one paint. */

.ls-prose {
  margin: 0 0 var(--pgap-s, var(--pgap, 0.75rem));
}
.ls-prose:last-child {
  margin-bottom: 0;
}
