/* 《流芳》心測及劇本詳情宣傳卡。全站載入，確保 script-detail route 真正有 CSS。 */
.lf-lf-quiz{--lf-dark:#0d1f1a;--lf-gold:#d8b476;--lf-moss:#214c3c;max-width:960px;margin-inline:auto;color:#273b32}
.lf-lf-nav{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;margin:0 0 17px}
.lf-lf-nav a{font-size:12px;font-weight:800;color:#57734a;text-decoration:none}
.lf-lf-nav a:hover{text-decoration:underline;text-underline-offset:3px}
.lf-lf-hero{position:relative;margin:0 0 26px;padding:9px;overflow:hidden;border-radius:19px;border:1px solid #ab8655;background:linear-gradient(120deg,#0b201d,#2c4438);box-shadow:0 16px 38px #0c201c3a}
.lf-lf-hero>img{display:block;width:100%;height:auto;max-height:none;aspect-ratio:40/21;object-fit:contain;object-position:center;border-radius:12px}
.lf-lf-hero-foot{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px;padding:13px 10px 5px;color:#ecd6aa;font-size:11px;font-family:'Noto Serif TC','Songti TC',serif}
.lf-lf-hero-foot span{color:#d6c6aa}
.lf-lf-intro{text-align:center;padding:0 20px;margin:30px auto 23px;max-width:650px}
.lf-lf-intro>span,.lf-lf-kicker{color:#987242;font-size:11px;font-weight:750;letter-spacing:.18em}
.lf-lf-intro h2,.lf-lf-results h2{font:700 clamp(23px,3vw,34px)/1.5 'Noto Serif TC','Songti TC',serif;color:#23463a;margin:8px 0 12px}
.lf-lf-intro h2 em,.lf-lf-results h2 em{color:#a67d3f;font-style:normal}
.lf-lf-intro p{color:#64726b;font-size:13px;line-height:1.9;margin:0}
.lf-lf-quiz .lf-survey-progress-line>div{background:linear-gradient(90deg,#1c5e4a,#b68d48,#e1c78e)}
.lf-lf-quiz .lf-survey-question-card.lf-lf-question{padding:clamp(20px,3.5vw,33px);border:1px solid #cbbfa4;border-radius:17px;background:linear-gradient(132deg,#fffdf8,#f4f1e7);box-shadow:0 10px 28px #1b3c2e13}
.lf-lf-question h3{white-space:pre-line;line-height:1.9;color:#254538;font:650 clamp(17px,2vw,22px)/1.75 'Noto Serif TC','Songti TC',serif}
.lf-lf-question .lf-survey-question-top{color:#956c37}
.lf-lf-question fieldset{border:0;padding:0;margin:16px 0 0;min-width:0;display:grid;gap:9px}
.lf-lf-choice{padding:14px 17px;border-radius:12px;border:1px solid #d8d6c9;background:#fffef9;color:#385347;line-height:1.65;transition:border-color .15s,background .15s}
.lf-lf-choice:hover{border-color:#a88752;background:#faf5e8}
.lf-lf-choice.is-selected{border-color:#b29156;background:#f9f0dc;box-shadow:0 0 0 2px #cfb27c30}
.lf-lf-choice.is-selected .lf-survey-choice-dot{border-color:#a87b3b}
.lf-lf-actions{gap:12px;flex-wrap:wrap}.lf-lf-actions>span{font-size:11px;color:#708078;text-align:center}
.lf-lf-quiz .lf-survey-primary{background:#245341;border:1px solid #245341;color:#fff!important}
.lf-lf-quiz .lf-survey-primary:hover{background:#174333}
.lf-lf-policy{padding:10px 12px;border-left:2px solid #b38b4e;color:#7c7e70;font-size:11px;line-height:1.85;margin:23px 0 5px}
.lf-lf-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.lf-lf-results{padding:clamp(20px,4vw,38px);border-radius:20px;border:1px solid #d2c09a;background:linear-gradient(135deg,#fffdf8,#f6f2e8);box-shadow:0 10px 28px #26382c12}
.lf-lf-results h2{margin-bottom:23px}
.lf-lf-winner{display:grid;grid-template-columns:minmax(0,210px) minmax(0,1fr);gap:clamp(18px,3vw,35px);align-items:start}
.lf-lf-poster{width:100%;max-width:210px;overflow:hidden;justify-self:center;border-radius:11px;border:1px solid #cabaa0;box-shadow:0 12px 30px #112b2540;background:#eee5d3;line-height:0}
.lf-lf-poster img{display:block;width:100%;height:auto;aspect-ratio:760/1076;object-fit:contain;object-position:center top}
.lf-lf-poster-small{width:61px;max-width:61px;flex:none;border-radius:6px;box-shadow:none}
.lf-lf-winner-copy p{font-size:13px;line-height:1.9;color:#53665b;margin:10px 0}
.lf-lf-result-label{font-size:11px;font-weight:700;color:#967042}
.lf-lf-percent{display:block;color:#9d7840;font:700 53px/1.3 'Noto Serif TC',serif;letter-spacing:-.03em}
.lf-lf-percent small{font-size:23px}
.lf-lf-tagline{font-weight:750;color:#3a634e!important}
.lf-lf-reasons{margin:18px 0;padding:13px 18px;border-left:3px solid #c7a66c;background:#eee7d74d}
.lf-lf-reasons h3{font-size:14px;color:#3c5b4b;margin:0 0 10px}
.lf-lf-reasons ul{padding-left:18px;margin:0;color:#5f6359;font-size:12px;line-height:1.85}
.lf-lf-ranking-title{font-size:20px;color:#2d5141;margin:35px 0 14px;font-family:'Noto Serif TC','Songti TC',serif}
.lf-lf-ranking{display:grid;gap:10px}
.lf-lf-rank{display:grid;grid-template-columns:61px minmax(0,1fr) auto;gap:14px;align-items:center;padding:10px 15px;border:1px solid #dbd0b8;border-radius:12px;background:#fffdf9}
.lf-lf-rank small{font-size:11px;color:#8c7c63}
.lf-lf-rank h4{font-size:16px;margin:3px 0 9px;color:#305341}
.lf-lf-rank>strong{color:#916c37;font-size:20px}
.lf-lf-bar{height:6px;border-radius:8px;overflow:hidden;background:#e8e4da}
.lf-lf-bar span{display:block;height:100%;background:linear-gradient(90deg,#36694b,#d9b06d)}
.lf-lf-score-note{font-size:11px;line-height:1.8;color:#858173;margin:17px 0}
.lf-lf-winner-copy>a{display:inline-flex;margin:10px 8px 0 0;padding:10px 15px;border-radius:8px;text-decoration:none}
/* The detail card styles must be available on /scripts, not survey-only assets. */
.lf-lf-promo{position:relative;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);width:100%;max-width:1040px;margin:clamp(25px,4vw,42px) auto 33px;overflow:hidden;border:1px solid #a88448;border-radius:21px;background:radial-gradient(circle at 92% 9%,#b08b5745,transparent 40%),linear-gradient(125deg,#0b201d,#1c342b 58%,#354c39);color:#f7eeda;box-shadow:0 20px 45px #101e193f}
.lf-lf-promo::after{content:'';position:absolute;inset:7px;pointer-events:none;border:1px solid #dcc3972f;border-radius:15px}
.lf-lf-promo-art{display:flex;align-items:center;padding:17px;min-width:0;line-height:0;text-decoration:none}
.lf-lf-promo-art img{display:block;width:100%;height:auto;max-height:none;aspect-ratio:40/21;object-fit:contain;border-radius:10px;border:1px solid #d7b88170;box-shadow:0 10px 25px #0004;transition:transform .2s}
.lf-lf-promo-art:hover img{transform:scale(1.018)}
.lf-lf-promo-copy{position:relative;z-index:1;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:12px;padding:clamp(18px,3vw,33px)}
.lf-lf-promo-copy>span{font-size:10px;letter-spacing:.19em;color:#e9c287;font-weight:800}
.lf-lf-promo h3{font:700 clamp(22px,2.5vw,31px)/1.45 'Noto Serif TC','Songti TC',serif;color:#fff7df;margin:0}
.lf-lf-promo p{font-size:13px;line-height:1.85;color:#e9e0d0;margin:0}
.lf-lf-promo-tags{display:flex;gap:8px;flex-wrap:wrap}
.lf-lf-promo-tags span{font-size:11px;padding:5px 9px;color:#efd8b2;border:1px solid #c5a87975;border-radius:99px;background:#e1cda014}
.lf-lf-promo-button{display:inline-flex;align-items:center;justify-content:center;border-radius:10px;margin-top:4px;padding:12px 20px;background:linear-gradient(115deg,#f0d29e,#d7a965);color:#183a30!important;text-decoration:none!important;font-weight:850;font-size:14px;box-shadow:0 8px 18px #0003;transition:transform .2s}
.lf-lf-promo-button:hover{transform:translateY(-2px)}
.lf-lf-promo-copy small{font-size:10px;line-height:1.65;color:#d8cbad}
:root[data-lf-theme='dark'] .lf-lf-intro h2,:root[data-lf-theme='dark'] .lf-lf-results h2{color:#ead5aa}
:root[data-lf-theme='dark'] .lf-lf-quiz .lf-lf-question{background:linear-gradient(130deg,#22362e,#1c3028);border-color:#826f4d}
:root[data-lf-theme='dark'] .lf-lf-question h3,:root[data-lf-theme='dark'] .lf-lf-results h2{color:#eee3cb}
:root[data-lf-theme='dark'] .lf-lf-results{background:linear-gradient(130deg,#243b32,#192c26);border-color:#786748}
:root[data-lf-theme='dark'] .lf-lf-results p,:root[data-lf-theme='dark'] .lf-lf-winner-copy p{color:#d2d6c8}
:root[data-lf-theme='dark'] .lf-lf-rank{background:#2b4035;border-color:#62705a}
:root[data-lf-theme='dark'] .lf-lf-rank h4,:root[data-lf-theme='dark'] .lf-lf-ranking-title{color:#e6d1a4}
:root[data-lf-theme='dark'] .lf-lf-rank small{color:#d1bf9e}
:root[data-lf-theme='dark'] .lf-lf-choice{background:#1b3228;border-color:#60705d;color:#f0e7d8}
:root[data-lf-theme='dark'] .lf-lf-choice.is-selected{background:#4c4531;border-color:#be995c}
:root[data-lf-theme='dark'] .lf-lf-intro p{color:#cfcbc1}
@media(max-width:760px){
 .lf-lf-hero{padding:5px;border-radius:12px}.lf-lf-hero>img{border-radius:9px}
 .lf-lf-hero-foot{font-size:9px;padding:8px 7px 4px}
 .lf-lf-quiz .lf-survey-quiz-actions{justify-content:space-between}
 .lf-lf-winner{grid-template-columns:minmax(0,1fr)}
 .lf-lf-winner>.lf-lf-poster{width:min(100%,190px)}
 .lf-lf-promo{grid-template-columns:1fr;border-radius:15px}
 .lf-lf-promo-art{padding:13px 13px 0}
 .lf-lf-promo-copy{padding:17px 20px 22px;gap:10px}
 .lf-lf-promo-button{width:100%;text-align:center}
}
@media(max-width:460px){.lf-lf-hero-foot span{display:none}.lf-lf-actions>span{width:100%;order:3}.lf-lf-rank{grid-template-columns:55px minmax(0,1fr) auto;gap:9px;padding:9px}.lf-lf-poster-small{width:55px}}
@media(prefers-reduced-motion:reduce){.lf-lf-promo-art img,.lf-lf-promo-button{transition:none}}
