/* 《如故》劇本心測 · 雨夜水墨、朱紅與淡金 */
.lf-rugu-quiz{--wr-red:#b94d4a;--wr-dark:#172c30;max-width:1040px;margin:auto}
.lf-rugu-quiz .lf-rugu-hero{display:flex;flex-direction:column;gap:18px;padding:22px;background:linear-gradient(132deg,#0b1c26,#193239 58%,#422a2b);border:1px solid #9c6c54;box-shadow:0 15px 45px #07121c38}
.lf-rugu-quiz .lf-wr-cover{width:100%;height:auto;max-height:none;aspect-ratio:40/21;float:none;margin:0;border-radius:17px;box-shadow:0 8px 33px #01070c99}
.lf-rugu-quiz .lf-wr-cover img{width:100%;height:100%;object-fit:contain;display:block}
.lf-rugu-quiz .lf-wr-hero-copy{width:100%;min-width:0}
.lf-rugu-quiz .lf-wr-hero-copy .lf-survey-overline{color:#e7bca3}
.lf-rugu-quiz .lf-wr-hero-copy h2{color:#fff0dd}
.lf-rugu-quiz .lf-wr-hero-copy p{color:#e4d5cf}
.lf-rugu-quiz .lf-survey-progress-line>div{background:linear-gradient(90deg,#194d60,#c65043,#e5ac78)}
.lf-rugu-quiz .lf-survey-question-card{background:linear-gradient(135deg,#fffdf9,#f8f3ee);border-color:#d7c2a9}
.lf-rugu-quiz .lf-survey-choice.is-selected{border-color:#a15d56;background:#fff1e8}
.lf-rugu-quiz .lf-survey-choice.is-selected .lf-survey-choice-dot{border-color:#af594a}
.lf-rugu-quiz .lf-wr-select-hint{background:#fff0e4;border-color:#d4a78e;color:#734d44}
.lf-rugu-quiz .lf-survey-choice input[type=checkbox]+.lf-survey-choice-dot{border-radius:5px}
.lf-rugu-quiz .lf-survey-choice input[type=checkbox]:checked+.lf-survey-choice-dot{background:#ad6250;border-color:#ad6250}
.lf-rugu-quiz .lf-wr-policy{background:#f6f1eb;border-left-color:#b77f64}
.lf-rugu-quiz .lf-wr-results>h2 span{color:#a64848}
.lf-rugu-quiz .lf-wr-winner{border-color:#dbc5ae;background:#fff9f3}
.lf-rugu-quiz .lf-wr-character{border-color:#c8a586}
@media(max-width:650px){.lf-rugu-quiz .lf-rugu-hero{padding:13px;gap:13px}.lf-rugu-quiz .lf-wr-cover{width:100%;height:auto;aspect-ratio:40/21;float:none;margin:0}}

/* Rogue Narrative only: keep the published cover at exact 40:21.
   The character art must remain a restrained portrait, not fill the card. */
.lf-rogue-quiz .lf-wr-cover,
.lf-rogue-quiz .lf-rugu-hero .lf-wr-cover{
  aspect-ratio:40 / 21;width:100%;max-height:none;
}
.lf-rogue-quiz .lf-wr-cover img{
  width:100%;height:100%;object-fit:contain;
}
.lf-rogue-quiz .lf-wr-winner{
  grid-template-columns:minmax(0,180px) minmax(0,1fr);
  max-width:880px;margin-inline:auto;
  align-items:center;
}
.lf-rogue-quiz .lf-wr-winner .lf-wr-character{
  width:100%;max-width:180px;min-width:0;margin:0 auto;
}
.lf-rogue-quiz .lf-wr-character img{object-fit:contain;}
.lf-rogue-quiz .lf-wr-ranking{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.lf-rogue-quiz .lf-wr-rank .lf-wr-character.small{
  width:48px;max-width:48px;flex:0 0 48px;
}
@media(max-width:650px){
  .lf-rogue-quiz .lf-wr-winner{grid-template-columns:1fr;gap:16px;}
  .lf-rogue-quiz .lf-wr-winner .lf-wr-character{max-width:150px;margin:auto;}
  .lf-rogue-quiz .lf-wr-ranking{grid-template-columns:1fr;}
}
