/* Rose conversation cards; reveal, question sizing and editor behavior are intact. */
body.dp-playing[data-dp-kind="truth"] {
  --suite-bg: radial-gradient(ellipse at 30% 20%, #482a37, #281923 58%, #170f19);
  --suite-surface: linear-gradient(140deg, #3b2733, #251c29 78%);
  --suite-subtle: #2b1e2b;
  --suite-ink: #faefeb;
  --suite-muted: #d1b9c3;
  --suite-accent: #efb5c0;
  --suite-accent-ink: #462631;
  --suite-line: #e6b7c43b;
}
body.dp-playing[data-dp-kind="truth"] .stage-art { background: radial-gradient(ellipse at 48% 58%, #8b5b6a, #4d303f 52%, #302132); }
body.dp-playing[data-dp-kind="truth"] .stage-art::before { inset: 0; background: radial-gradient(ellipse at 50% 15%, #ffd8d628, transparent 65%); filter: none; }
body.dp-playing[data-dp-kind="truth"] .stage-art .game-art {
  mask-image: radial-gradient(ellipse at 50% 52%, #000 42%, #000e 68%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 52%, #000 42%, #000e 68%, transparent 100%);
}
body.dp-playing[data-dp-kind="truth"][data-dp-phase="intro"] .play-body h2 { margin: calc(5px * var(--dp-fit-scale)) 0; font-size: calc(26px * var(--dp-fit-scale)); line-height: 1.16; font-weight: 850; letter-spacing: -.06em; }
body.dp-playing[data-dp-kind="truth"][data-dp-phase="intro"] .play-body > p { margin: calc(6px * var(--dp-fit-scale)) 0; font-size: calc(15px * var(--dp-fit-scale)); }
body.dp-playing[data-dp-kind="truth"] #truth-start-message:empty { margin: 0; }
body.dp-playing[data-dp-kind="truth"] .truth-settings legend { color: #d9c1cd; }
body.dp-playing[data-dp-kind="truth"] .truth-settings label span { background: #352533; border-color: #b48b9e69; color: #e5cfd9; }
body.dp-playing[data-dp-kind="truth"] .truth-settings input:checked + span { background: #e9b5c1; border-color: #f5d0d8; color: #472c38; }
body.dp-playing[data-dp-kind="truth"] .truth-settings input:focus-visible + span { outline-color: #ffd7df; }
body.dp-playing[data-dp-kind="truth"] .truth-back,
body.dp-playing[data-dp-kind="truth"] .truth-hand button { background: repeating-linear-gradient(45deg, #382638 0 3px, #432b3d 3px 5px); border-color: #c49ba8; box-shadow: 0 8px 24px #110a164d, inset 0 1px #f8dbe626; }
body.dp-playing[data-dp-kind="truth"] .truth-hand button::before { border-color: #d8b7be; }
body.dp-playing[data-dp-kind="truth"] .truth-hand button::after { color: #f1d1d7; }
body.dp-playing[data-dp-kind="truth"] :is(.truth-front, .truth-face) { box-shadow: inset 0 0 0 5px #fff5, 0 10px 28px #0d08184d; }
body.dp-playing[data-dp-kind="truth"] :is(.truth-mild, .truth-face.mild, .truth-card-label.mild) { background: #f0e9da; border-color: #cab79c; color: #4b3e35; }
body.dp-playing[data-dp-kind="truth"] :is(.truth-spicy, .truth-face.spicy, .truth-card-label.spicy) { background: #f4d7d7; border-color: #c38e9b; color: #6c293a; }
body.dp-playing[data-dp-kind="truth"] #app .truth-front :is(h2, p) { color: inherit; }
body.dp-playing[data-dp-kind="truth"] #view .truth-face :is(strong, span) { color: inherit; }
body.dp-playing[data-dp-kind="truth"] #view [data-truth-next="truth_pass"] { background: var(--suite-subtle); border-color: var(--suite-line); color: #edd7df; }
body.dp-playing[data-dp-kind="truth"] #truth-editor { color: var(--suite-ink); border-color: var(--suite-line); }
body.dp-playing[data-dp-kind="truth"] dialog#truth-editor { background: var(--suite-surface); box-shadow: 0 24px 64px #09071099; }
body.dp-playing[data-dp-kind="truth"] dialog#truth-editor::backdrop { background: #100a17b8; }
body.dp-playing[data-dp-kind="truth"] #truth-editor :is(h2, label) { color: #f8e9ed; }
body.dp-playing[data-dp-kind="truth"] #truth-editor p { color: #d1b9c3; }
body.dp-playing[data-dp-kind="truth"] #truth-editor summary { color: #f1bfce; }
body.dp-playing[data-dp-kind="truth"] #truth-editor :is(input, select, textarea) { background: #231b28; border-color: #ac849969; color: #f9ecf2; }
body.dp-playing[data-dp-kind="truth"] #truth-editor :is(input, textarea)::placeholder { color: #bba2b2; }
body.dp-playing[data-dp-kind="truth"] #truth-editor #truth-submit { background: #efb5c0; border-color: #f7ced7; color: #462631; box-shadow: inset 0 1px #fff1f54d; }
body.dp-playing[data-dp-kind="truth"] #truth-close { background: #3a2839; border-color: #c39bae52; color: #f4dce6; }
body.dp-playing[data-dp-kind="truth"] #truth-editor :is(button, input, select, textarea, summary):focus-visible { outline: 3px solid #f4c5d2; outline-offset: 3px; }
@media (max-width: 520px) and (max-height: 740px) {
  body.dp-playing[data-dp-kind="truth"][data-dp-phase="intro"] .play-shell:has(.truth-settings) > .stage-art { height: 60px; }
}
@media (max-height: 480px) and (min-width: 600px) {
  body.dp-playing[data-dp-mode="local"][data-dp-kind="truth"][data-dp-phase="intro"] .play-body:has(> .truth-settings) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); grid-template-rows: auto auto auto; align-content: safe center; gap: 8px 24px; }
  body.dp-playing[data-dp-mode="local"][data-dp-kind="truth"][data-dp-phase="intro"] .play-body > h2 { grid-column: 1; grid-row: 1; margin: 0; }
  body.dp-playing[data-dp-mode="local"][data-dp-kind="truth"][data-dp-phase="intro"] .play-body > p:not(#truth-start-message) { grid-column: 1; grid-row: 2; margin: 0; }
  body.dp-playing[data-dp-mode="local"][data-dp-kind="truth"][data-dp-phase="intro"] .play-body > .truth-settings { grid-column: 2; grid-row: 1; margin: 0; }
  body.dp-playing[data-dp-mode="local"][data-dp-kind="truth"][data-dp-phase="intro"] .play-body > .actions { grid-column: 2; grid-row: 2; margin: 0; }
  body.dp-playing[data-dp-mode="local"][data-dp-kind="truth"][data-dp-phase="intro"] .play-body > #truth-start-message { grid-column: 1 / -1; grid-row: 3; margin: 0; }
}

body.dp-playing[data-dp-kind="truth"] .table-heading .truth-settings-link {
  flex: none; min-height: 44px; padding: 0 14px; border: 1px solid var(--suite-line);
  border-radius: 10px; background: var(--suite-subtle); color: var(--suite-ink); font: inherit;
}
body.dp-playing[data-dp-kind="truth"] .table-heading:has(.truth-settings-link) > span { margin-left: auto; }
body.dp-playing[data-dp-kind="truth"] #truth-load[hidden],
body.dp-playing[data-dp-kind="truth"] #truth-retry[hidden],
body.dp-playing[data-dp-kind="truth"] [data-action="truth-reconfigure"][hidden] { display: none; }
