/* 判准测试的原文阅读层，沿用全站日夜色彩；不影响答案与评分控件。 */
@layer debater-visual-system {
  html body app-judge-profile-test .case-text.jp-quote-enhanced {
    padding: 0 !important;
    border: 1px solid var(--dv-line, #4b4035) !important;
    border-radius: 8px !important;
    background: var(--dv-surface, #211c18) !important;
    color: var(--dv-text, #f6f1e8) !important;
    overflow: hidden;
  }
  app-judge-profile-test .case-text.jp-quote-enhanced > span { display: none !important; }
  app-judge-profile-test .jp-quote,
  app-judge-profile-test .jp-quote * { box-sizing: border-box; min-width: 0; }
  app-judge-profile-test .jp-quote { width: 100%; padding: 22px 24px 18px; }
  app-judge-profile-test .jp-quote-kicker {
    margin: 0 0 18px !important;
    color: var(--dv-accent, #ef8475) !important;
    font-size: 12px !important;
    font-weight: 600;
    letter-spacing: .06em;
    line-height: 1.5;
  }
  app-judge-profile-test .jp-quote-turns { display: grid; gap: 18px; }
  app-judge-profile-test .jp-quote-turn { border-left: 2px solid var(--dv-line, #4b4035); padding-left: 16px; }
  app-judge-profile-test .jp-quote-turn-meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 5px; }
  app-judge-profile-test .jp-quote-speaker {
    color: var(--dv-text, #f6f1e8) !important;
    font-size: 13px !important;
    line-height: 1.6;
    overflow-wrap: anywhere;
  }
  app-judge-profile-test .jp-quote-time {
    display: inline !important;
    margin: 0 !important;
    color: var(--dv-muted, #b1a494) !important;
    font-size: 11px !important;
    letter-spacing: 0 !important;
    font-variant-numeric: tabular-nums;
    line-height: 1.6;
  }
  app-judge-profile-test .jp-quote-words {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    color: var(--dv-text, #f6f1e8) !important;
    font-family: inherit;
    font-size: 16px !important;
    font-weight: 400;
    line-height: 1.95 !important;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }
  app-judge-profile-test .jp-quote-source { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--dv-line, #4b4035); }
  app-judge-profile-test .jp-quote-match { margin: 0 0 8px !important; color: var(--dv-muted, #b1a494) !important; font-size: 12px !important; line-height: 1.75 !important; overflow-wrap: anywhere; }
  app-judge-profile-test .jp-quote-video,
  app-judge-profile-test .jp-quote-source-body a { color: var(--dv-accent, #ef8475) !important; text-decoration: underline; text-underline-offset: 3px; }
  app-judge-profile-test .jp-quote-video { display: inline-block; margin: 0 0 8px; font-size: 12px !important; line-height: 1.75; }
  app-judge-profile-test .jp-quote-source-details { color: var(--dv-muted, #b1a494); font-size: 12px; }
  app-judge-profile-test .jp-quote-source-details > summary { padding: 5px 0; width: fit-content; max-width: 100%; cursor: pointer; line-height: 1.75; }
  app-judge-profile-test .jp-quote-source-body { margin-top: 8px; padding: 12px 14px; border: 1px solid var(--dv-line, #4b4035); border-radius: 4px; background: var(--dv-bg, #14110f); color: var(--dv-muted, #b1a494); font-size: 12px; line-height: 1.9; white-space: pre-wrap; overflow-wrap: anywhere; }
  app-judge-profile-test .jp-quote a:focus-visible,
  app-judge-profile-test .jp-quote summary:focus-visible { outline: 2px solid var(--dv-accent, #ef8475) !important; outline-offset: 4px; border-radius: 2px; }
  @media (max-width: 600px) {
    app-judge-profile-test .jp-quote { padding: 17px 16px 14px; }
    app-judge-profile-test .jp-quote-turn { padding-left: 12px; }
    app-judge-profile-test .jp-quote-words { font-size: 15px !important; }
    app-judge-profile-test .jp-quote-kicker { margin-bottom: 15px !important; }
    app-judge-profile-test .jp-quote-source-body { padding: 10px; }
  }
}
