/* 《竊雲台》男女角色心測及劇本詳情頁入口。全站載入，不設 survey-only gate。 */
.lf-qyt-quiz{--qyt-dark:#101f1e;--qyt-red:#852a27;--qyt-gold:#dcb173;max-width:1040px}
.lf-qyt-quiz .lf-lf-hero{border-color:#a17741;background:#0e1d1d;box-shadow:0 18px 42px #2517133a}
.lf-qyt-quiz .lf-lf-hero>img{display:block;width:100%;max-height:none;height:auto;aspect-ratio:40/21;object-fit:contain}
.lf-qyt-quiz .lf-lf-hero-foot{color:#ecd09d}
.lf-qyt-quiz .lf-lf-intro h2,.lf-qyt-quiz .lf-lf-results h2{color:#3f3329}
.lf-qyt-quiz .lf-lf-intro h2 em,.lf-qyt-quiz .lf-lf-results h2 em,.lf-qyt-quiz .lf-lf-percent{color:#a05a3a}
.lf-qyt-quiz .lf-lf-kicker,.lf-qyt-quiz .lf-lf-intro>span{color:#a27448}
.lf-qyt-quiz .lf-survey-progress-line>div{background:linear-gradient(90deg,#512622,#bb6136,#e5bc7d)}
.lf-qyt-quiz .lf-survey-question-card.lf-lf-question{background:linear-gradient(135deg,#fffaf3,#f4eee4);border-color:#c3a17b}
.lf-qyt-quiz .lf-lf-question h3{color:#453128}
.lf-qyt-quiz .lf-lf-choice:hover{border-color:#af7050}
.lf-qyt-quiz .lf-lf-choice.is-selected{border-color:#a86e49;background:#f9e9d8;box-shadow:0 0 0 2px #b4845724}
.lf-qyt-quiz .lf-survey-primary{background:#7b372c!important;border-color:#7b372c!important;color:#fff!important}
.lf-qyt-quiz .lf-survey-primary:hover{background:#64271e!important}
.lf-qyt-quiz .lf-lf-results{background:linear-gradient(135deg,#fffcf7,#f1e8dc);border-color:#cfaa77}
.lf-qyt-quiz .lf-lf-tagline{color:#8a4f33!important}
.lf-qyt-quiz .lf-lf-rank h4,.lf-qyt-quiz .lf-lf-ranking-title{color:#673b31}
.lf-qyt-quiz .lf-lf-bar span{background:linear-gradient(90deg,#923b2e,#d4a35c)}
.lf-qyt-quiz .lf-lf-score-note{max-width:740px}
.lf-qyt-quiz .lf-qyt-alert{margin:16px 0 0;padding:12px 14px;border-left:3px solid #b16b46;border-radius:3px;background:#eedacb8c;color:#744833;font-size:12px;line-height:1.75}
.lf-qyt-quiz .lf-qyt-poster-missing{min-height:150px;background:#e9dfd3;position:relative}
.lf-qyt-quiz .lf-qyt-poster-missing:after{content:'角色海報待同步';position:absolute;inset:0;display:grid;place-items:center;padding:10px;color:#715d48;font-size:12px;line-height:1.5;text-align:center}
.lf-qyt-quiz .lf-lf-poster{max-width:208px}
.lf-qyt-quiz .lf-lf-poster-small{width:62px;max-width:62px}
.lf-qyt-promo{position:relative;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);align-items:center;margin:30px auto 36px;width:100%;max-width:1070px;overflow:hidden;border:1px solid #b08b56;border-radius:19px;background:radial-gradient(circle at 100% 0%,#963e2e72,transparent 46%),linear-gradient(120deg,#0e2321,#2b2420 75%,#381d1e);box-shadow:0 20px 42px #22191a42;color:#f8ecd4}
.lf-qyt-promo::before{content:'';position:absolute;inset:7px;border:1px solid #f6d9aa2f;border-radius:12px;pointer-events:none}
.lf-qyt-promo-art{display:flex;min-width:0;line-height:0;padding:16px;text-decoration:none}
.lf-qyt-promo-art img{display:block;width:100%;height:auto;aspect-ratio:40/21;object-fit:contain;object-position:center;max-height:none;border:1px solid #d8ae704f;border-radius:10px;box-shadow:0 14px 26px #0004;transition:transform .18s}
.lf-qyt-promo-art:hover img{transform:scale(1.014)}
.lf-qyt-promo-copy{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:12px;min-width:0;padding:clamp(20px,3vw,36px)}
.lf-qyt-promo-copy>span{color:#e4b77a;letter-spacing:.18em;font-size:10px;font-weight:800}
.lf-qyt-promo-copy h3{margin:0;color:#fff1cf;font:700 clamp(23px,2.65vw,34px)/1.45 'Noto Serif TC','Songti TC',serif}
.lf-qyt-promo-copy p{margin:0;color:#e8dcca;font-size:13px;line-height:1.85}
.lf-qyt-promo-tags{display:flex;flex-wrap:wrap;gap:7px}
.lf-qyt-promo-tags span{display:inline-flex;padding:5px 10px;color:#edd0a6;background:#e1ad6e17;border:1px solid #bd945c8a;border-radius:999px;font-size:11px}
.lf-qyt-promo-cta{display:inline-flex;justify-content:center;align-items:center;gap:12px;min-height:46px;padding:12px 22px;color:#2d201b!important;background:linear-gradient(115deg,#f4dba7,#d7a562);border-radius:9px;box-shadow:0 8px 18px #0003;text-decoration:none!important;font-weight:850;font-size:14px;transition:transform .15s}
.lf-qyt-promo-cta:hover{transform:translateY(-2px)}
.lf-qyt-promo-copy small{color:#d6bea1;line-height:1.7;font-size:10px}
:root[data-lf-theme='dark'] .lf-qyt-quiz .lf-lf-question{background:linear-gradient(120deg,#342722,#261f1c);border-color:#876749}
:root[data-lf-theme='dark'] .lf-qyt-quiz .lf-lf-question h3{color:#f0dfc4}
:root[data-lf-theme='dark'] .lf-qyt-quiz .lf-lf-results{background:linear-gradient(115deg,#352b27,#251d1b);border-color:#826a49}
:root[data-lf-theme='dark'] .lf-qyt-quiz .lf-lf-results h2,:root[data-lf-theme='dark'] .lf-qyt-quiz .lf-lf-intro h2{color:#f0dcb8}
:root[data-lf-theme='dark'] .lf-qyt-quiz .lf-lf-choice{background:#302724;border-color:#806447;color:#f6ead7}
:root[data-lf-theme='dark'] .lf-qyt-quiz .lf-lf-choice.is-selected{background:#514036;border-color:#c69a5a}
:root[data-lf-theme='dark'] .lf-qyt-quiz .lf-lf-rank{background:#3a2a27;border-color:#75604a}
:root[data-lf-theme='dark'] .lf-qyt-quiz .lf-lf-rank h4,:root[data-lf-theme='dark'] .lf-qyt-quiz .lf-lf-ranking-title{color:#ecd2ab}
:root[data-lf-theme='dark'] .lf-qyt-quiz .lf-qyt-alert{background:#563e33;color:#f9d6b9}
@media(max-width:760px){
 .lf-qyt-promo{grid-template-columns:1fr;border-radius:14px;margin:22px auto}
 .lf-qyt-promo-art{padding:12px 12px 0}
 .lf-qyt-promo-copy{padding:18px 20px 24px;gap:10px}
 .lf-qyt-promo-cta{width:100%;text-align:center}
 .lf-qyt-quiz .lf-lf-poster{width:min(100%,190px)}
 .lf-qyt-quiz .lf-lf-winner{grid-template-columns:1fr}
}
@media(max-width:460px){
 .lf-qyt-quiz .lf-lf-hero-foot span{display:none}
 .lf-qyt-quiz .lf-lf-poster-small{width:54px}
}
@media(prefers-reduced-motion:reduce){.lf-qyt-promo-cta,.lf-qyt-promo-art img{transition:none}}
