/* 趣味測驗 — independent Playground design, separate from 新手專區 */
.lf-survey-section{width:100%;max-width:1200px;margin:0 auto;padding:24px 0 80px}
.lf-survey-section button,.lf-survey-section input{font:inherit}
.lf-survey-hero{position:relative;display:grid;grid-template-columns:minmax(0,1.3fr) minmax(240px,.7fr);gap:20px;align-items:center;min-height:300px;margin:10px 0 32px;padding:clamp(25px,5vw,58px);overflow:hidden;border-radius:28px;background:radial-gradient(ellipse at 95% 20%,rgba(223,173,236,.35),transparent 42%),linear-gradient(120deg,#182f36 0%,#28334b 53%,#544263 100%);color:#fff}
.lf-survey-hero:before{position:absolute;right:-95px;top:-130px;width:410px;height:410px;border:1px solid rgba(255,255,255,.18);border-radius:50%;box-shadow:0 0 0 38px rgba(255,255,255,.025),0 0 0 88px rgba(255,255,255,.025);content:"";pointer-events:none}
.lf-survey-hero-copy{position:relative;z-index:1}
.lf-survey-hero-label,.lf-survey-overline{font-size:11px;font-weight:800;letter-spacing:.15em;text-transform:uppercase}
.lf-survey-hero-label{color:#f8bdc9}
.lf-survey-hero h1{font:800 clamp(29px,4.5vw,53px)/1.28 "Noto Serif TC","Songti TC",Georgia,serif;letter-spacing:.02em;margin:14px 0 18px;color:#fff}
.lf-survey-hero h1 em{color:#f7d4b4;font-style:normal}
.lf-survey-hero p{max-width:590px;font-size:14px;line-height:1.9;color:#ece8f2;margin:0}
.lf-survey-hero-art{position:relative;min-height:205px;display:grid;place-items:center}
.lf-survey-art-orbit{display:grid;place-items:center;width:188px;height:188px;border:1px solid rgba(255,255,255,.4);border-radius:50%;box-shadow:0 0 0 13px rgba(255,255,255,.05),0 0 0 36px rgba(255,255,255,.035);background:rgba(255,255,255,.045);font-size:88px;transform:rotate(-10deg)}
.lf-survey-art-label{position:absolute;padding:9px 14px;border:1px solid rgba(255,255,255,.27);border-radius:99px;background:rgba(255,255,255,.14);font-weight:700;font-size:13px;backdrop-filter:blur(7px);color:#fff}
.lf-survey-art-label.one{top:8px;left:6px;transform:rotate(-8deg)}
.lf-survey-art-label.two{right:0;bottom:7px;transform:rotate(8deg)}
.lf-survey-directory-top{display:flex;justify-content:space-between;align-items:end;gap:20px;margin:30px 0 22px}
.lf-survey-directory-top h2{margin:9px 0;font:800 clamp(24px,3vw,34px)/1.3 "Noto Serif TC","Songti TC",Georgia,serif}
.lf-survey-directory-top p{max-width:670px;margin:0;color:var(--muted);font-size:13px;line-height:1.9}
.lf-survey-overline{color:#8c6388}
.lf-survey-count{display:flex;align-items:center;gap:11px;white-space:nowrap;color:var(--muted);font-size:12px}
.lf-survey-count strong{font-size:34px;line-height:1;color:var(--green)}
.lf-survey-controls{display:flex;justify-content:space-between;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:20px}
.lf-survey-filters{display:flex;flex-wrap:wrap;gap:8px}
.lf-survey-filter{background:#fff;border:1px solid #e1dce6;border-radius:100px;color:#686171;padding:9px 15px;font-weight:700;font-size:12px}
.lf-survey-filter.is-current{background:#303449;color:#fff;border-color:#303449}
.lf-survey-search{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #e0dae5;border-radius:50px;padding:5px 14px;min-width:240px}
.lf-survey-search>span{font-size:21px;color:#736681}
.lf-survey-search input{border:0!important;outline:0!important;width:100%;padding:7px 2px!important;color:#332f3a;background:transparent!important;font-size:12px}
.lf-survey-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,315px),1fr));gap:20px}
.lf-survey-card{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);min-height:240px;overflow:hidden;background:#fff;border:1px solid #e7e1e9;border-radius:21px;text-decoration:none!important;box-shadow:0 8px 24px rgba(45,41,62,.06);transition:transform .2s ease,box-shadow .2s ease;color:#34313b}
.lf-survey-card:hover,.lf-survey-card:focus-visible{transform:translateY(-3px);box-shadow:0 15px 34px rgba(45,41,62,.13)}
.lf-survey-card-art{display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;min-height:238px;padding:20px;background:radial-gradient(circle at 30% 40%,rgba(255,192,204,.45),transparent 45%),linear-gradient(140deg,#493f65,#8d6688);color:#fff}
.lf-survey-card-count,.lf-survey-card-art-note{font-size:10px;letter-spacing:.08em;font-weight:800;opacity:.85}
.lf-survey-card-icon{font-size:71px;line-height:1;text-align:center;align-self:center;filter:drop-shadow(0 6px 16px rgba(0,0,0,.15))}
.lf-survey-card-content{padding:20px 20px 18px;display:flex;flex-direction:column;align-items:flex-start}
.lf-survey-chip{display:inline-flex;align-items:center;border-radius:99px;background:#f3eaf4;color:#775977;padding:5px 10px;font-size:11px;font-weight:800}
.lf-survey-card h3{font-size:clamp(19px,2vw,25px);font-weight:800;line-height:1.35;margin:14px 0 10px;color:#2f2d3b}
.lf-survey-card p{font-size:12px;line-height:1.75;margin:0 0 16px;color:#6b6971}
.lf-survey-card-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;margin-top:auto;font-size:11px;color:#727178}
.lf-survey-card-bottom strong{color:#74547f;white-space:nowrap}
.lf-survey-coming{display:flex;align-items:center;gap:20px;margin:26px 0 0;padding:24px;border-radius:20px;background:linear-gradient(120deg,#f2eff6,#f9f5ed);border:1px dashed #d9cedf}
.lf-survey-coming-icon{display:grid;place-items:center;font-size:42px;color:#9875a3;width:66px;height:66px;border-radius:22px;background:#fff;flex:none}
.lf-survey-coming h3{font-size:18px;margin:0 0 8px}
.lf-survey-coming p{font-size:12px;line-height:1.8;margin:0;color:#726e79}
.lf-survey-empty{grid-column:1/-1;padding:44px;text-align:center;color:var(--muted);border:1px dashed #d9cedf;border-radius:18px}
.lf-survey-section.is-taking-quiz .lf-survey-hero{display:none}
.lf-survey-quiz,.lf-survey-result{max-width:920px;margin:0 auto}
.lf-survey-quiz-top,.lf-survey-quiz-actions,.lf-survey-progress-meta,.lf-survey-question-top{display:flex;align-items:center;justify-content:space-between;gap:15px}
.lf-survey-quiz-top{font-size:12px;color:var(--muted);margin:10px 0 24px}
.lf-survey-back{font-size:12px;font-weight:800;text-decoration:none!important;color:var(--green)}
.lf-survey-quiz-head{text-align:center;margin-bottom:30px}
.lf-survey-quiz-head h2{font:800 clamp(24px,4vw,38px)/1.4 "Noto Serif TC","Songti TC",Georgia,serif;margin:12px 0}
.lf-survey-quiz-head p{color:var(--muted);font-size:13px;line-height:1.8;margin:0}
.lf-survey-progress-line{width:100%;height:8px;border-radius:100px;overflow:hidden;background:#ebe6ee}
.lf-survey-progress-line>div{height:100%;background:linear-gradient(90deg,#7c617e,#c295b6);border-radius:inherit;transition:width .25s}
.lf-survey-progress-meta{margin:8px 0 18px;font-size:12px;color:var(--muted)}
.lf-survey-question-card{padding:clamp(20px,4vw,46px);background:#fff;border:1px solid #e7dfea;border-radius:24px;box-shadow:0 18px 46px rgba(48,42,72,.06)}
.lf-survey-question-top{font-size:11px;font-weight:800;letter-spacing:.07em;color:#9a7797}
.lf-survey-question-card h3{font-size:clamp(20px,2.9vw,28px);line-height:1.65;font-weight:800;color:#2d303b;margin:20px 0 24px}
.lf-survey-question-card fieldset{border:0;margin:0;padding:0;display:grid;gap:10px}
.lf-sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.lf-survey-choice{display:flex;align-items:center;gap:13px;padding:16px 17px;border:1px solid #e5e1e7;background:#faf9fb;color:#52515e;border-radius:13px;font-size:14px;font-weight:600;cursor:pointer;transition:background .15s,border-color .15s}
.lf-survey-choice:hover{border-color:#a995b3;background:#f8f3fa}
.lf-survey-choice.is-selected{border-color:#9b74a9;background:#f3eaf6;color:#563e60}
.lf-survey-choice input{position:absolute;opacity:0;width:1px;height:1px}
.lf-survey-choice:focus-within{outline:2px solid #9b74a9;outline-offset:2px}
.lf-survey-choice-dot{display:inline-block;flex:none;width:18px;height:18px;border:2px solid #bdb2c1;border-radius:50%;background:#fff}
.lf-survey-choice.is-selected .lf-survey-choice-dot{border:5px solid #8a6699}
.lf-survey-quiz-actions{margin:24px 0;flex-wrap:wrap}
.lf-survey-quiz-actions>span{font-size:11px;color:var(--muted)}
.lf-survey-primary,.lf-survey-secondary{display:inline-flex;align-items:center;justify-content:center;padding:12px 20px;border-radius:12px;text-decoration:none!important;font-weight:800;font-size:13px;line-height:1.3;cursor:pointer}
.lf-survey-primary{background:#3d354e;color:#fff!important;border:1px solid #3d354e}
.lf-survey-primary:hover{background:#584766}
.lf-survey-secondary{border:1px solid #d9cedf;color:#534a5d;background:#fff}
.lf-survey-secondary:hover{border-color:#997ca4}
.lf-survey-primary:disabled,.lf-survey-secondary:disabled{opacity:.42;cursor:not-allowed}
.lf-survey-small-note{margin:22px 0;color:#8c8990;font-size:11px;line-height:1.8}
.lf-survey-result>.lf-survey-back{display:inline-block;margin:8px 0 20px}
.lf-survey-result-cover{position:relative;overflow:hidden;background:radial-gradient(circle at 80% 0,rgba(241,196,211,.28),transparent 45%),linear-gradient(130deg,#28333f,#50405e);border-radius:28px;padding:44px 30px;color:#fff;text-align:center}
.lf-survey-result-cover:before{content:"";position:absolute;border:1px solid #ffffff35;inset:16px;border-radius:23px;pointer-events:none}
.lf-survey-result-overline{font-size:11px;letter-spacing:.14em;font-weight:800;color:#ffcecf}
.lf-survey-result-emblem{font-size:65px;margin:19px 0}
.lf-survey-result-cover p{font-size:13px;line-height:1.9;color:#e6e0ea}
.lf-survey-result-cover h2{font:800 clamp(35px,7vw,66px)/1.3 "Noto Serif TC","Songti TC",Georgia,serif;color:#fff;margin:7px 0 14px}
.lf-survey-result-cover .lf-survey-result-description{max-width:590px;margin:0 auto 22px;font-size:16px}
.lf-survey-result-pills{display:flex;flex-wrap:wrap;justify-content:center;gap:9px}
.lf-survey-result-pills span{padding:9px 16px;border:1px solid #ffffff55;border-radius:99px;font-weight:700;font-size:12px}
.lf-survey-result-details{display:grid;grid-template-columns:1.15fr .85fr;gap:25px;margin:25px 0}
.lf-survey-result-details>div,.lf-survey-shared-cta{background:#fff;padding:26px;border:1px solid #e7e1eb;border-radius:20px}
.lf-survey-result-details h3,.lf-survey-shared-cta h3{font-size:23px;margin:9px 0}
.lf-survey-result-details p,.lf-survey-shared-cta p{font-size:12px;line-height:1.8;color:#77717d}
.lf-survey-bars{display:grid;gap:13px;margin-top:25px}
.lf-survey-bar-row>div:first-child{display:flex;justify-content:space-between;gap:12px;font-size:12px;margin-bottom:6px}
.lf-survey-bar-row b{font-variant-numeric:tabular-nums}
.lf-survey-bar-track{height:9px;background:#f0eaf2;border-radius:99px;overflow:hidden}
.lf-survey-bar-track span{height:100%;display:block;border-radius:inherit;background:linear-gradient(90deg,#8c6d94,#c49cba)}
.lf-survey-tags{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}
.lf-survey-tags a{text-decoration:none;font-size:12px;font-weight:800;background:#f1e9f4;color:#68506f;padding:8px 12px;border-radius:99px}
.lf-survey-blended{border-top:1px solid #eee;padding-top:12px}
.lf-survey-result-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:25px 0}
.lf-survey-shared-cta{margin:22px 0;text-align:center}
.lf-survey-shared-cta a{margin-top:12px}
:root[data-lf-theme="dark"] .lf-survey-count strong{color:#d1b7d5}
:root[data-lf-theme="dark"] :is(.lf-survey-card,.lf-survey-result-details>div,.lf-survey-shared-cta){background:#222932;border-color:#48505e;color:#eae6ee}
:root[data-lf-theme="dark"] :is(.lf-survey-filter,.lf-survey-search,.lf-survey-secondary){background:#28313a;border-color:var(--control-line);color:#eae6ee}
:root[data-lf-theme="dark"] .lf-survey-filter.is-current{background:#dec5e7;border-color:#dec5e7;color:#302238}
:root[data-lf-theme="dark"] .lf-survey-search input{color:#f8f5fc!important}
:root[data-lf-theme="dark"] .lf-survey-search:focus-within{outline:2px solid #d4b9db;outline-offset:2px}
:root[data-lf-theme="dark"] :is(.lf-survey-directory-top .lf-survey-overline,.lf-survey-search>span,
  .lf-survey-card-bottom strong,.lf-survey-quiz-head .lf-survey-overline){color:#dec5e7}
:root[data-lf-theme="dark"] .lf-survey-card h3{color:#f6f1f7}
:root[data-lf-theme="dark"] :is(.lf-survey-card p,.lf-survey-card-bottom,.lf-survey-result-details p,
  .lf-survey-shared-cta p,.lf-survey-small-note){color:#c2b9ca}
:root[data-lf-theme="dark"] .lf-survey-choice{background:#2f3440;border-color:var(--control-line);color:#e9e1f0}
:root[data-lf-theme="dark"] :is(.lf-survey-progress-line,.lf-survey-bar-track){background:#474253}
:root[data-lf-theme="dark"] :is(.lf-survey-progress-line>div,.lf-survey-bar-track span){background:linear-gradient(90deg,#d4b9db,#e9aeca)}
:root[data-lf-theme="dark"] .lf-survey-primary{background:#dec5e7;border-color:#dec5e7;color:#302238!important}
:root[data-lf-theme="dark"] .lf-survey-primary:hover{background:#efdaf3;border-color:#efdaf3}
:root[data-lf-theme="dark"] .lf-survey-chip,:root[data-lf-theme="dark"] .lf-survey-tags a{background:#493e55;color:#f1dff3}
:root[data-lf-theme="dark"] .lf-survey-coming{background:#272b37;border-color:#575061}
:root[data-lf-theme="dark"] .lf-survey-coming-icon{background:#3a3549}
:root[data-lf-theme="dark"] .lf-survey-coming p,:root[data-lf-theme="dark"] .lf-survey-quiz-head p{color:#d1c8d6}
:root[data-lf-theme="dark"] .lf-survey-back{color:#d4b9db}
@media(max-width:800px){.lf-survey-hero{grid-template-columns:1fr}.lf-survey-hero-art{display:none}.lf-survey-result-details{grid-template-columns:1fr}}
@media(max-width:580px){.lf-survey-section{padding:12px 0 50px}.lf-survey-hero{padding:27px 23px;min-height:auto;margin-top:0}.lf-survey-directory-top{align-items:flex-start}.lf-survey-count{display:none}.lf-survey-search{width:100%}.lf-survey-cards{grid-template-columns:1fr}.lf-survey-card{grid-template-columns:115px minmax(0,1fr);min-height:215px}.lf-survey-card-art{min-height:215px;padding:13px}.lf-survey-card-icon{font-size:48px}.lf-survey-card-content{padding:15px}.lf-survey-card h3{font-size:18px}.lf-survey-card p{font-size:11px}.lf-survey-coming{padding:17px}.lf-survey-coming-icon{width:45px;height:45px;font-size:25px}.lf-survey-question-card{padding:21px 17px}.lf-survey-quiz-actions{justify-content:space-between}.lf-survey-quiz-actions>span{order:3;width:100%;text-align:center}.lf-survey-result-cover{padding:36px 20px}.lf-survey-result-details>div{padding:22px 18px}}
@media(prefers-reduced-motion:reduce){.lf-survey-card,.lf-survey-progress-line>div{transition:none}}


/* Homepage playground discovery: a fourth published-survey total in the
   catalogue scorecard row and the floating Universe. */
.home-catalogue-totals{grid-template-columns:repeat(4,minmax(0,1fr))}
body[data-page="home"] .home-catalogue-totals a:nth-child(4){animation-delay:-3s}
body[data-page="home"] .home-catalogue-totals a.lf-stat-surveys{
  border-color:#d7c2e3!important;
  background:linear-gradient(125deg,#fcf8ff,#f0e7f6)!important;
}
body[data-page="home"] .home-catalogue-totals a.lf-stat-surveys strong{color:#674478!important}
body[data-page="home"] .home-catalogue-totals a.lf-stat-surveys span{color:#715e7d!important}
body[data-page="home"] .home-catalogue-totals a.lf-stat-surveys:hover,
body[data-page="home"] .home-catalogue-totals a.lf-stat-surveys:focus-visible{
  border-color:#a77fbd!important;
  box-shadow:0 14px 34px #6447782b;
}
.lf-cover-universe .lf-metric-surveys{
  top:4%;right:1%;animation-delay:-5s;
  border-color:#d9c7e5;
  background:linear-gradient(130deg,#fffaffed,#eee5f9ef);
}
.lf-cover-universe .lf-metric-surveys strong{color:#704c83}
.lf-cover-universe .lf-metric-surveys span{color:#6a5878}
:root[data-lf-theme="dark"] body[data-page="home"] .home-catalogue-totals a.lf-stat-surveys{
  background:linear-gradient(130deg,#332b42,#47334f)!important;
  border-color:#856293!important;
}
:root[data-lf-theme="dark"] body[data-page="home"] .home-catalogue-totals a.lf-stat-surveys strong{color:#edc9f8!important}
:root[data-lf-theme="dark"] body[data-page="home"] .home-catalogue-totals a.lf-stat-surveys span{color:#e0cce9!important}
:root[data-lf-theme="dark"] #homeCoverUniverse .lf-metric-surveys{
  border-color:#93719e;
  background:linear-gradient(135deg,#372e46,#503b5a);
}
:root[data-lf-theme="dark"] #homeCoverUniverse .lf-metric-surveys strong{color:#edc9f8}
:root[data-lf-theme="dark"] #homeCoverUniverse .lf-metric-surveys span{color:#e0cce9}
@media(max-width:650px){
  .home-catalogue-totals{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lf-cover-universe .lf-metric-surveys{top:2%;right:0;padding:8px 9px}
  .lf-cover-universe .lf-metric-surveys span{max-width:65px}
}

/* New Playground weekly-heart promotion and ten-question trivia game. */
.lf-survey-rewards-banner{
  display:flex;align-items:center;gap:18px;padding:20px 24px;margin:0 0 25px;
  border:1px solid #e2c6d9;border-radius:19px;
  background:linear-gradient(112deg,#fbf3fa,#f6eef9 72%,#f2e5f3);
  box-shadow:0 8px 26px #63457212;
}
.lf-survey-rewards-icon{width:54px;height:54px;flex:0 0 auto;display:grid;place-items:center;
  border-radius:16px;background:#904f83;color:white;font-size:27px;box-shadow:0 8px 23px #663c7040}
.lf-survey-rewards-banner>div{flex:1;min-width:0}
.lf-survey-rewards-banner strong{font-size:17px;color:#673e65}
.lf-survey-rewards-banner p{margin:5px 0 0;font-size:12px;line-height:1.75;color:#6f5971}
.lf-survey-rewards-cta{flex:0 0 auto;border:1px solid #b88ab2;border-radius:99px;
  background:#fff;color:#6d3e6c;padding:10px 16px;font-size:12px;font-weight:800}
.lf-survey-rewards-cta:hover{background:#f6e5f3}
.lf-survey-earned{margin:20px auto;padding:18px 22px;border:1px solid #ddc5dc;
  border-radius:16px;background:linear-gradient(130deg,#fffafc,#f5e9f6);
  color:#65446b;text-align:center}
.lf-survey-earned strong{display:block;font-size:15px}
.lf-survey-earned p{font-size:12px;line-height:1.8;margin:8px 0 0}
.lf-survey-earned button{margin:10px auto 0}
.lf-trivia-reward-strip{margin:0 0 22px;padding:12px 16px;border:1px solid #e0c8dd;
  border-radius:12px;color:#76416b;background:#faf0f8;font-weight:650;font-size:12px;line-height:1.8}
.lf-trivia-score{font:800 clamp(58px,10vw,96px)/1.05 Inter,"Noto Sans TC",sans-serif;
  color:#fff;margin:16px auto 12px;letter-spacing:-.05em}
.lf-trivia-score small{font-size:clamp(19px,4vw,30px);font-weight:500;color:#fff9}
.lf-trivia-review{border:1px solid #e9e2eb;border-radius:19px;background:#fff;padding:25px;margin:24px 0}
.lf-trivia-review h3{font-size:22px;margin:0 0 8px;color:#4c3a59}
.lf-trivia-review>p{font-size:12px;color:#7a7082;margin:0 0 12px}
.lf-trivia-review-row{display:flex;gap:13px;padding:17px 0;border-bottom:1px solid #eee7f0}
.lf-trivia-review-row:last-child{border:0;padding-bottom:0}
.lf-trivia-review-marker{width:27px;height:27px;flex:0 0 27px;display:grid;place-items:center;
  border-radius:50%;font-size:14px;font-weight:900}
.lf-trivia-review-marker.is-correct{background:#e2f4e5;color:#23733e}
.lf-trivia-review-marker.is-incorrect{background:#fae6e7;color:#a83a49}
.lf-trivia-review-row>div{min-width:0;flex:1}
.lf-trivia-review-row small{font-size:10px;color:#95849d}
.lf-trivia-review-row h4{font-size:14px;line-height:1.65;margin:4px 0 9px;color:#3d3447}
.lf-trivia-review-row p{font-size:12px;line-height:1.8;margin:5px 0;color:#6c606e}
.lf-trivia-review-row p strong{color:#634775}
:root[data-lf-theme="dark"] .lf-survey-rewards-banner,
:root[data-lf-theme="dark"] .lf-survey-earned{
  background:linear-gradient(115deg,#33283c,#40304a);border-color:#765c81;color:#f6e7f7
}
:root[data-lf-theme="dark"] .lf-survey-rewards-banner strong{color:#f6d9f7}
:root[data-lf-theme="dark"] .lf-survey-rewards-banner p,
:root[data-lf-theme="dark"] .lf-survey-earned p{color:#dac8e3}
:root[data-lf-theme="dark"] .lf-survey-rewards-cta{background:#473853;color:#f9e5ff;border-color:#98709d}
:root[data-lf-theme="dark"] .lf-trivia-reward-strip{background:#352c3d;color:#f0d9ed;border-color:#7b6184}
:root[data-lf-theme="dark"] .lf-trivia-review{background:#252b34;border-color:#4f485c}
:root[data-lf-theme="dark"] .lf-trivia-review h3,
:root[data-lf-theme="dark"] .lf-trivia-review-row h4{color:#f6eaf5}
:root[data-lf-theme="dark"] .lf-trivia-review-row p,
:root[data-lf-theme="dark"] .lf-trivia-review>p{color:#cfc3d7}
:root[data-lf-theme="dark"] .lf-trivia-review-row{border-bottom-color:#494352}
:root[data-lf-theme="dark"] .lf-trivia-review-row p strong{color:#e7c2ea}
@media(max-width:700px){
 .lf-survey-rewards-banner{align-items:flex-start;flex-wrap:wrap;padding:17px;gap:12px}
 .lf-survey-rewards-icon{width:42px;height:42px;border-radius:11px;font-size:23px}
 .lf-survey-rewards-banner>div{flex-basis:calc(100% - 60px)}
 .lf-survey-rewards-cta{margin-left:54px}
 .lf-trivia-review{padding:17px}
 .lf-trivia-review-row{gap:9px}
}

.lf-survey-card-chips{display:flex;gap:7px;align-items:center;flex-wrap:wrap}
.lf-survey-reward-chip{display:inline-flex;align-items:center;border:1px solid #f0c6d6;
  border-radius:99px;padding:5px 9px;background:#fff0f6;color:#ad466f;font-weight:800;font-size:10px}
.lf-survey-section.is-taking-quiz .lf-survey-rewards-banner{display:none}
:root[data-lf-theme="dark"] .lf-survey-reward-chip{background:#553444;color:#ffd4e2;border-color:#895b70}

/* Result poster creator and invitation controls. */
.lf-result-share-studio{margin:25px 0;padding:27px;border:1px solid #ddc9e1;border-radius:23px;background:linear-gradient(125deg,#fbf7ff,#f3edf8);box-shadow:0 12px 35px #39284612}
.lf-result-share-head{display:flex;align-items:flex-start;gap:22px;justify-content:space-between}
.lf-result-share-head>div{flex:1;min-width:0}
.lf-result-share-head span{font-size:10px;font-weight:850;letter-spacing:.16em;color:#9474a0}
.lf-result-share-head h3{font-size:clamp(20px,2.5vw,29px);line-height:1.3;margin:9px 0;color:#4f3a63;font-weight:800}
.lf-result-share-head p{font-size:12px;line-height:1.8;color:#766982;max-width:700px;margin:0}
.lf-share-heart{flex:0 0 54px;width:54px;height:54px;display:grid;place-items:center;background:#785988;border-radius:16px;color:#fff;font-size:26px;font-weight:800}
.lf-result-share-controls{display:flex;gap:11px;align-items:end;flex-wrap:wrap;margin:22px 0}
.lf-result-share-controls label{display:flex;flex-direction:column;gap:6px;font-size:11px;font-weight:700;color:#705a78}
.lf-result-share-controls select{padding:11px 13px;min-width:166px;border:1px solid #d9c3de;border-radius:11px;background:#fff;color:#4c3659;font:inherit;font-size:13px;min-height:45px}
.lf-result-share-controls button{min-height:45px}
.lf-result-share-status{font-size:12px;color:#77587d;min-height:18px;margin:12px 0}
.lf-result-share-preview{padding:18px;border:1px solid #e8dbe8;border-radius:17px;background:#fff;text-align:center}
.lf-result-share-preview[hidden]{display:none}
.lf-result-share-preview img{display:block;max-width:min(100%,510px);max-height:530px;object-fit:contain;width:auto;height:auto;margin:0 auto;border-radius:11px;box-shadow:0 12px 30px #211b2930}
.lf-result-share-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:18px}
.lf-result-browse-links{display:flex;gap:10px;flex-wrap:wrap;padding-top:15px;margin-top:12px;border-top:1px solid #e4dbe8}
.lf-result-browse-links a{font-size:12px;color:#654775;text-decoration:underline;text-underline-offset:4px}
.lf-survey-inline-invite,.lf-survey-directory-invite{font-size:11px!important;min-height:36px;padding:8px 12px!important;white-space:normal}
.lf-survey-quiz-top{flex-wrap:wrap}
:root[data-lf-theme="dark"] .lf-result-share-studio{background:linear-gradient(125deg,#322b3f,#40354b);border-color:#655175}
:root[data-lf-theme="dark"] .lf-result-share-head h3{color:#f4e7f6}
:root[data-lf-theme="dark"] .lf-result-share-head p,:root[data-lf-theme="dark"] .lf-result-share-status{color:#d6c9df}
:root[data-lf-theme="dark"] .lf-result-share-controls label{color:#e2d1e9}
:root[data-lf-theme="dark"] .lf-result-share-controls select{background:#292733;color:#f5ebf5;border-color:#665172}
:root[data-lf-theme="dark"] .lf-result-share-preview{background:#2b2735;border-color:#564863}
:root[data-lf-theme="dark"] .lf-result-browse-links{border-color:#5b4a69}
:root[data-lf-theme="dark"] .lf-result-browse-links a{color:#e3c7e7}
@media(max-width:650px){
  .lf-result-share-studio{padding:18px}
  .lf-share-heart{display:none}
  .lf-result-share-controls{align-items:stretch}
  .lf-result-share-controls label{width:100%}
  .lf-result-share-controls select{width:100%}
  .lf-result-share-controls button{flex:1 1 160px}
  .lf-result-share-preview{padding:10px}
}

/* Keep the survey artwork frames at the same size across the directory. */
.lf-survey-cards .lf-survey-card{display:flex;flex-direction:column;min-height:0}
.lf-survey-cards .lf-survey-card-art.has-image{
  position:relative;display:block;flex:0 0 auto;
  padding:0;width:100%;height:auto;min-height:0;
  aspect-ratio:640/336;overflow:hidden;background:#122b33;
}
.lf-survey-card-image{display:block;width:100%;height:100%;object-fit:contain}
/* The two 16:9 posters have space below the lettering. Crop that edge to
   fill the 40:21 frame while keeping the full title and artwork width. */
.lf-survey-card[href="/surveys?quiz=universe-romance-hearttest"] .lf-survey-card-image,
.lf-survey-card[href="/surveys?quiz=qing-bai-hearttest"] .lf-survey-card-image{
  position:absolute;inset:0;object-fit:cover;object-position:center top;
}
.lf-survey-cards .lf-survey-card-content{flex:1}
@media(max-width:580px){
  .lf-survey-cards .lf-survey-card{display:flex;flex-direction:column;min-height:0}
  .lf-survey-cards .lf-survey-card-art.has-image{width:100%;height:auto;min-height:0;aspect-ratio:640/336;padding:0}
  .lf-survey-cards .lf-survey-card-content{padding:17px 19px}
}

/* 《告別詩》北城一中入學調查問卷 · independent script casting test. */
.lf-farewell-quiz{max-width:1020px;margin-inline:auto}
.lf-farewell-header{display:grid;grid-template-columns:minmax(210px,.75fr) minmax(0,1.35fr);gap:24px;align-items:center;
  background:linear-gradient(115deg,#eff6f4,#f5f6eb);padding:18px;border:1px solid #d5e3dc;border-radius:23px;margin:12px 0 25px}
.lf-farewell-head-art{min-height:232px;display:flex;flex-direction:column;justify-content:center;align-items:center;
  background:linear-gradient(150deg,#163a4c,#3a7684 55%,#8baaa3);border-radius:17px;color:#fff8e7;
  position:relative;overflow:hidden}
.lf-farewell-head-art:before{content:"";position:absolute;width:200px;height:200px;border-radius:50%;right:-45px;top:-70px;background:#ffe6a855}
.lf-farewell-head-art span{font-size:12px;letter-spacing:.24em;color:#cbe6db;z-index:1}
.lf-farewell-head-art strong{font-size:46px;line-height:1.4;z-index:1;letter-spacing:.05em}
.lf-farewell-head-copy{min-width:0}
.lf-farewell-head-copy h2{font-size:clamp(22px,2.8vw,31px);line-height:1.45;margin:11px 0 13px;color:#244b53}
.lf-farewell-head-copy p{font-size:13px;line-height:1.9;color:#5d7172}
.lf-farewell-head-copy .lf-farewell-note{font-size:11px;color:#627773;margin-bottom:0}
.lf-farewell-results{max-width:1000px;margin:22px auto 0}
.lf-farewell-results>h2{font-size:clamp(25px,4vw,38px);line-height:1.4;color:#263d4b;margin:8px 0 22px}
.lf-farewell-results>h2 span{color:#287a80}
.lf-farewell-best{display:grid;grid-template-columns:minmax(180px,310px) 1fr;gap:28px;padding:23px;border-radius:21px;
  border:1px solid #d8e2db;background:linear-gradient(140deg,#f0f6f4,#f9f8f0)}
.lf-farewell-portrait{position:relative;aspect-ratio:1447/2048;overflow:hidden;border-radius:16px;
  background:linear-gradient(145deg,#27516d,#b6d7d2);border:1px solid #c6d4cf;
  box-shadow:0 11px 23px #1a4b592d;min-width:0}
.lf-farewell-portrait img{width:100%;height:100%;display:block;object-fit:cover}
.lf-farewell-portrait-label{position:absolute;bottom:0;left:0;right:0;text-align:center;padding:15px 8px 9px;
  font-size:20px;font-weight:800;color:#fff;background:linear-gradient(transparent,#152d34ce)}
.lf-farewell-best-info{display:flex;flex-direction:column;justify-content:center;gap:12px}
.lf-farewell-score{font-size:clamp(55px,7vw,92px);font-weight:850;line-height:1;color:#287779}
.lf-farewell-score small{font-size:.35em}
.lf-farewell-best-info>strong{color:#486e68;font-size:14px}
.lf-farewell-best-info>p{color:#4d6264;line-height:1.9;font-size:14px;margin:0}
.lf-farewell-best-info .lf-farewell-tagline{font-size:16px;font-weight:750;color:#4c817c}
.lf-farewell-match-notes{margin-top:7px;border-top:1px solid #d5e2dc;padding-top:12px}
.lf-farewell-match-notes h3{font-size:14px;margin:0 0 8px;color:#31585b}
.lf-farewell-match-notes ul{margin:0;padding-left:21px;color:#647474;font-size:12px;line-height:1.9}
.lf-farewell-rank-title{font-size:23px;font-weight:850;color:#2f565d;margin:33px 0 16px}
.lf-farewell-ranks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.lf-farewell-rank{padding:12px;border:1px solid #dce5e2;border-radius:16px;background:#fff;
  display:flex;gap:10px;align-items:center;min-width:0}
.lf-farewell-portrait.is-small{width:64px;flex:0 0 64px;border-radius:10px;box-shadow:none}
.lf-farewell-portrait.is-small .lf-farewell-portrait-label{display:none}
.lf-farewell-rank>div:nth-child(2){min-width:0;flex:1}
.lf-farewell-rank>div:nth-child(2)>span{font-size:10px;color:#78918d}
.lf-farewell-rank h4{font-size:15px;margin:4px 0 9px;color:#244d54;white-space:nowrap}
.lf-farewell-rank>strong{font-size:18px;color:#337d7f;flex:0 0 auto}
.lf-farewell-bar{height:8px;border-radius:10px;overflow:hidden;background:#e2eae7}
.lf-farewell-bar>span{display:block;height:100%;border-radius:10px;background:linear-gradient(90deg,#48a2a7,#2e7787)}
.lf-farewell-disclaimer{font-size:12px;line-height:1.9;color:#6c7b77;margin:20px 0}
.lf-script-hearttest-promo{padding:19px 22px;margin:22px 0;border-radius:18px;
 background:linear-gradient(125deg,#eaf4f1,#e8f3fa);border:1px solid #accdc8}
.lf-script-hearttest-promo h3{font-size:19px;color:#225d66;margin:0 0 7px}
.lf-script-hearttest-promo p{font-size:13px;color:#516b6b;line-height:1.7}
.lf-script-hearttest-cta{display:inline-flex;padding:12px 17px;border-radius:99px;background:#275e69;
 color:#fff!important;text-decoration:none;font-weight:750;font-size:13px}
.lf-script-hearttest-cta:hover{background:#17434f}
:root[data-lf-theme="dark"] .lf-farewell-header,:root[data-lf-theme="dark"] .lf-farewell-best{
 background:linear-gradient(135deg,#253c47,#303f47);border-color:#5a7279}
:root[data-lf-theme="dark"] .lf-farewell-head-copy h2,:root[data-lf-theme="dark"] .lf-farewell-results>h2,
:root[data-lf-theme="dark"] .lf-farewell-rank-title{color:#d6f0ec}
:root[data-lf-theme="dark"] .lf-farewell-head-copy p,:root[data-lf-theme="dark"] .lf-farewell-best-info>p,
:root[data-lf-theme="dark"] .lf-farewell-disclaimer{color:#c2d6d4}
:root[data-lf-theme="dark"] .lf-farewell-rank{background:#273740;border-color:#536d75}
:root[data-lf-theme="dark"] .lf-farewell-rank h4{color:#e8f5f2}
:root[data-lf-theme="dark"] .lf-script-hearttest-promo{background:#26434c;border-color:#5b8791}
:root[data-lf-theme="dark"] .lf-script-hearttest-promo h3{color:#e0f5f3}
:root[data-lf-theme="dark"] .lf-script-hearttest-promo p{color:#bdd3d3}
@media(max-width:800px){
 .lf-farewell-header{grid-template-columns:1fr}
 .lf-farewell-head-art{min-height:130px}
 .lf-farewell-best{grid-template-columns:minmax(120px,225px) 1fr;gap:15px;padding:14px}
 .lf-farewell-ranks{grid-template-columns:1fr}
 .lf-farewell-portrait.is-small{width:60px;flex-basis:60px}
}
@media(max-width:530px){
 .lf-farewell-best{grid-template-columns:1fr}
 .lf-farewell-best>.lf-farewell-portrait{max-width:260px;width:100%;margin:0 auto}
 .lf-farewell-score{font-size:60px}
 .lf-farewell-head-art strong{font-size:35px}
 .lf-farewell-header{padding:13px}
}

/* 《告別詩》家人陪伴題：多選後手動繼續。 */
.lf-farewell-multiple-hint{
  margin:10px 0 16px;padding:10px 14px;border-radius:11px;
  color:#255f5c;background:#e8f5f0;border:1px solid #a6d9c8;
  font-size:13px;font-weight:700;line-height:1.7;
}
.lf-farewell-quiz .lf-survey-choice input[type="checkbox"]+.lf-survey-choice-dot{
  border-radius:5px;
}
.lf-farewell-quiz .lf-survey-choice input[type="checkbox"]:checked+.lf-survey-choice-dot{
  border:2px solid #367e79;background:#367e79;
  position:relative;
}
.lf-farewell-quiz .lf-survey-choice input[type="checkbox"]:checked+.lf-survey-choice-dot::after{
  content:"";position:absolute;left:4px;top:1px;width:5px;height:9px;
  border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg);
}
.lf-farewell-quiz .lf-survey-choice input[type="checkbox"]:focus-visible+.lf-survey-choice-dot{
  outline:3px solid #75b4a2;outline-offset:3px;
}
:root[data-lf-theme="dark"] .lf-farewell-multiple-hint{
  color:#d5f3e6;background:#263f3e;border-color:#618b81;
}

/* Premium 16:9-style quiz banners; the three test covers are also the
   card images and matching social-preview Open Graph images. */
.lf-survey-premium-hero{
  display:block;width:100%;height:auto;aspect-ratio:40/21;
  object-fit:contain;border-radius:18px;margin:14px auto 23px;
  box-shadow:0 12px 32px rgba(15,26,40,.17);
}
.lf-farewell-quiz .lf-farewell-header{
  display:flex;flex-direction:column;align-items:stretch;gap:18px;
}
.lf-farewell-quiz .lf-farewell-head-image{
  display:block;width:100%;min-height:0;height:auto;aspect-ratio:40/21;
  overflow:hidden;background:#153d4b;border-radius:16px;
}
.lf-farewell-quiz .lf-farewell-head-image:before{display:none}
.lf-farewell-quiz .lf-farewell-head-image img{
  display:block;width:100%;height:100%;object-fit:contain;
}
.lf-farewell-quiz .lf-farewell-head-copy{padding:0 6px}
@media(max-width:640px){
  .lf-survey-premium-hero{border-radius:12px;margin:10px auto 18px}
  .lf-farewell-quiz .lf-farewell-header{gap:12px;padding:12px}
  .lf-farewell-quiz .lf-farewell-head-image{min-height:0;width:100%;aspect-ratio:40/21}
}

/* Survey catalogue sorting, shared across all filters and searches. */
.lf-survey-lookup-tools{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.lf-survey-sort{display:flex;gap:8px;align-items:center;min-height:40px;padding:5px 12px;
  border-radius:30px;border:1px solid #dcd9e6;background:#fff;color:#574d66;
  font-size:12px;font-weight:750;white-space:nowrap}
.lf-survey-sort select{font:inherit;color:#323447;max-width:235px;background:transparent;
  border:0;outline-offset:3px;cursor:pointer;padding:5px 2px}
.lf-survey-sort-note{font-size:11px;color:var(--muted);margin:-9px 0 16px;line-height:1.65}
.lf-survey-ranking-loading{min-height:220px;display:flex;align-items:center;justify-content:center;gap:12px;
  margin:0 0 22px;padding:24px;border:1px solid #e7e1e9;border-radius:21px;background:linear-gradient(135deg,#fff,#faf7fb);
  color:#6b6473;font-size:13px;font-weight:700}
.lf-survey-ranking-spinner{width:19px;height:19px;border:2px solid #e6dce9;border-top-color:#74547f;border-radius:50%;
  animation:lf-survey-spin .8s linear infinite}
@keyframes lf-survey-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.lf-survey-ranking-spinner{animation:none;border-top-color:#74547f}}
@media(max-width:680px){
  .lf-survey-lookup-tools{width:100%;align-items:stretch}
  .lf-survey-lookup-tools .lf-survey-search{flex:1 1 100%;min-width:0}
  .lf-survey-sort{width:100%;justify-content:space-between}
  .lf-survey-sort select{max-width:calc(100% - 55px)}
}


/* 圖片猜猜猜 — image-first, accessible recognition challenge */
.lf-picture-game{max-width:970px}
.lf-picture-game-head{position:relative;margin:0 0 22px;padding:28px 36px 24px;
  border-radius:23px;overflow:hidden;color:#fff;
  background:radial-gradient(circle at 92% 20%,#b275a488,transparent 36%),
    linear-gradient(123deg,#1d3541,#3c3354 68%,#694260);
  box-shadow:0 14px 35px #28203918}
.lf-picture-game-head:after{content:"";position:absolute;width:320px;height:320px;
  right:-95px;top:-148px;border:1px solid #ffffff38;border-radius:50%;
  box-shadow:0 0 0 32px #ffffff09,0 0 0 64px #ffffff05;pointer-events:none}
.lf-picture-game-head .lf-survey-overline{color:#f2c1d5;letter-spacing:.16em}
.lf-picture-game-head h2{margin:12px 0 7px;font:850 clamp(25px,4vw,39px)/1.35 "Noto Serif TC","Songti TC",serif;color:#fff9ee}
.lf-picture-game-head p{font-size:13px;line-height:1.85;max-width:660px;color:#ede3ed;margin:0}
.lf-picture-game-symbols{display:flex;gap:10px;margin:19px 0 0}
.lf-picture-game-symbols span{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;
  background:#ffffff16;border:1px solid #ffffff45;font-size:22px;
  animation:lf-picture-float 4.5s ease-in-out infinite}
.lf-picture-game-symbols span:nth-child(2){animation-delay:-1.5s}
.lf-picture-game-symbols span:nth-child(3){animation-delay:-3s}
@keyframes lf-picture-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
.lf-picture-question{padding:clamp(20px,3.5vw,36px)}
.lf-picture-question h3{margin:10px 0 16px}
.lf-picture-canvas-frame,.lf-picture-full-frame{
  position:relative;width:min(100%,660px);margin:16px auto 25px;aspect-ratio:720/500;
  display:grid;place-items:center;overflow:hidden;border-radius:22px;
  background:radial-gradient(circle at 32% 25%,#725d87,#283744 66%,#202c35);
  border:5px solid #eee0ec;box-shadow:0 16px 35px #241a3029;
}
.lf-picture-canvas-frame canvas{display:block;width:100%;height:100%;object-fit:cover}
.lf-picture-canvas-frame canvas[hidden]{display:none}
.lf-picture-loading{padding:20px;text-align:center;font-size:13px;color:#f9ecfa}
.lf-picture-loading[hidden]{display:none}
.lf-picture-full-frame img{width:100%;height:100%;object-fit:contain;display:block;padding:14px;
  background:linear-gradient(135deg,#1d2935,#3a3246)}
.lf-picture-full-frame>span{position:absolute;bottom:8px;right:12px;font-size:10px;letter-spacing:.15em;
  color:#fff7e5;background:#1b1c2899;padding:5px 8px;border-radius:20px}
.lf-picture-pool-count{font-variant-numeric:tabular-nums}
.lf-picture-review-row h4{font-size:18px;margin-bottom:10px}
.lf-picture-answer-image{display:block;max-width:min(100%,260px);max-height:260px;object-fit:contain;
  border-radius:12px;border:1px solid #e5d9e8;background:#f2f0f4;margin:9px 0 10px}
.lf-picture-result .lf-survey-result-cover{background:radial-gradient(circle at 15% 0%,#af70806b,transparent 42%),
  linear-gradient(126deg,#152e3f,#503a68)}
:root[data-lf-theme="dark"] .lf-picture-canvas-frame,
:root[data-lf-theme="dark"] .lf-picture-full-frame{border-color:#6b566d}
:root[data-lf-theme="dark"] .lf-picture-answer-image{background:#303340;border-color:#5b5065}
@media(max-width:650px){
 .lf-picture-game-head{padding:24px 20px}
 .lf-picture-game-head p{font-size:12px}
 .lf-picture-question{padding:19px 14px}
 .lf-picture-canvas-frame,.lf-picture-full-frame{margin:12px auto 19px;border-width:3px;border-radius:15px}
 .lf-picture-game-symbols span{width:36px;height:36px}
 .lf-picture-review-row h4{font-size:16px}
}
@media(prefers-reduced-motion:reduce){.lf-picture-game-symbols span{animation:none}}

/* Question and result surfaces are shared across the directory's themed quizzes. */
:root[data-lf-theme="dark"] #surveys :is(.lf-wr-results,.jybd-results) > .lf-survey-overline { color:#dec5e7 }
:root[data-lf-theme="dark"] #surveys .lf-survey-question-card {
  background:#222932;
  color:var(--ink);
  border-color:var(--control-line);
}
:root[data-lf-theme="dark"] #surveys .lf-survey-question-card :is(h3,.lf-survey-question-top) {
  color:#e8d8ee;
}
:root[data-lf-theme="dark"] #surveys .lf-survey-choice:not(.is-selected):hover {
  background:#393946;
  color:var(--ink);
  border-color:#b794bf;
}
:root[data-lf-theme="dark"] #surveys .lf-survey-choice.is-selected {
  background:#48394c;
  color:#fff;
  border-color:#d4b9db;
  box-shadow:none;
}
:root[data-lf-theme="dark"] #surveys .lf-survey-choice.is-selected .lf-survey-choice-dot {
  border-color:#d4b9db;
  background:#32293b;
}
:root[data-lf-theme="dark"] #surveys .lf-survey-choice input[type="checkbox"]:checked + .lf-survey-choice-dot {
  border-color:#805a88;
  background:#805a88;
}
:root[data-lf-theme="dark"] #surveys :is(.lf-wr-winner,.lf-wr-rank,.lf-nv-intro,.lf-nv-results,
  .lf-nv-rank,.jybd-intro,.jybd-winner,.jybd-rank) {
  background:var(--white);
  color:var(--ink);
  border-color:var(--line);
}
:root[data-lf-theme="dark"] #surveys :is(.lf-nv-why,.lf-nv-tags span,.lf-wr-policy,.lf-wr-boundaries,.lf-wr-select-hint,.jybd-disclaimer) {
  background:var(--soft);
  color:var(--muted);
  border-color:var(--line);
}
:root[data-lf-theme="dark"] #surveys :is(.lf-nv-intro h2,.lf-nv-results > h2,.lf-nv-winner-text h3,
  .lf-nv-why h4,.lf-nv-rank-title,.lf-nv-rank h4,.lf-wr-results > h2,.lf-wr-ranking-title,.lf-wr-rank-text h4,
  .lf-wr-why h3,.lf-farewell-match-notes h3,.jybd-intro h2,.jybd-results > h2) {
  color:var(--ink);
}
:root[data-lf-theme="dark"] #surveys :is(.lf-nv-intro p,.lf-nv-winner-text p,.lf-nv-why ul,.lf-nv-rank small,
  .lf-nv-disclaimer,.lf-wr-winner-details > p,.lf-wr-winner-details .lf-wr-interpretation,
  .lf-wr-why ul,.lf-wr-rank-text > span,.lf-wr-boundaries p,
  .lf-farewell-head-copy .lf-farewell-note,.lf-farewell-match-notes ul,.lf-farewell-rank > div:nth-child(2) > span,
  .jybd-intro p,.jybd-result-copy :is(p,ul)) {
  color:var(--muted);
}
:root[data-lf-theme="dark"] #surveys :is(.lf-nv-overline,.lf-nv-results > h2 span,.lf-nv-winner-text > strong,
  .lf-nv-score,.lf-nv-rank strong,.lf-wr-results > h2 span,.lf-wr-percent,.lf-wr-winner-details > strong,
  .lf-wr-rank > strong,.lf-wr-boundaries strong,.jybd-intro small,.jybd-results > h2 em,.jybd-result-copy > span,.jybd-score,.jybd-rank strong) {
  color:var(--orange);
}
:root[data-lf-theme="dark"] #surveys :is(.lf-farewell-results > h2 span,.lf-farewell-score,
  .lf-farewell-best-info > strong,.lf-farewell-best-info .lf-farewell-tagline,.lf-farewell-rank > strong) {
  color:var(--green);
}


/* 千面人生 initial research edition */
.lf-thousand-faces-result{max-width:900px}
.lf-thousand-faces-result .lf-survey-result-cover{background:
  radial-gradient(circle at 82% 12%,rgba(216,122,74,.28),transparent 32%),
  linear-gradient(128deg,#183d36,#2c594d 58%,#31423d);color:#fff}
.lf-thousand-faces-result .lf-survey-result-cover h2{color:#fff}
.lf-thousand-faces-result .lf-thousand-faces-script{color:#f7d5b6;font-weight:800}
.lf-thousand-faces-notice{margin:22px 0;padding:20px 22px;border:1px solid #d9c6a8;border-left:5px solid #d87a4a;border-radius:14px;background:#fbf5e9;color:#51483e}
.lf-thousand-faces-notice strong{color:#70452e}
.lf-thousand-faces-notice p{margin:8px 0 0;font-size:13px;line-height:1.8}
.lf-thousand-faces-traits,.lf-thousand-faces-list{margin:28px 0;padding:24px;border:1px solid var(--line);border-radius:18px;background:var(--white);color:var(--ink)}
.lf-thousand-faces-traits h3,.lf-thousand-faces-list h3{margin:0 0 14px;font-size:19px}
.lf-thousand-faces-list>p{margin:0 0 12px;color:var(--muted);font-size:12px;line-height:1.8}
.lf-thousand-faces-trait{margin:12px 0}
.lf-thousand-faces-trait>div:first-child{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:var(--ink)}
.lf-thousand-faces-trait>div:first-child span:last-child{color:var(--muted);font-variant-numeric:tabular-nums}
.lf-thousand-faces-meter{height:7px;margin-top:6px;overflow:hidden;border-radius:99px;background:var(--soft)}
.lf-thousand-faces-meter i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2c594d,#d87a4a)}
.lf-thousand-faces-match{display:grid;grid-template-columns:42px 1fr;gap:12px;padding:15px 0;border-top:1px solid var(--line)}
.lf-thousand-faces-rank{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:#e9f0ec;color:#183d36;font-weight:900;font-size:13px}
.lf-thousand-faces-role{font-weight:900;color:var(--ink)}
.lf-thousand-faces-role span{display:inline-block;margin-left:6px;color:var(--muted);font-size:10px;font-weight:700}
.lf-thousand-faces-match p{margin:3px 0 0;color:var(--muted);font-size:11px;line-height:1.7}
:root[data-lf-theme="dark"] .lf-thousand-faces-notice{background:#322b28;border-color:#755944;color:#e8ded1}
:root[data-lf-theme="dark"] .lf-thousand-faces-notice strong{color:#efbe91}
:root[data-lf-theme="dark"] .lf-thousand-faces-result .lf-thousand-faces-traits,
:root[data-lf-theme="dark"] .lf-thousand-faces-result .lf-thousand-faces-list{background:var(--white);color:var(--ink)}
:root[data-lf-theme="dark"] .lf-thousand-faces-role{color:var(--ink)}
:root[data-lf-theme="dark"] .lf-thousand-faces-rank{background:#304139;color:#dbeae0}
@media(max-width:650px){
 .lf-thousand-faces-notice{padding:16px}
 .lf-thousand-faces-traits,.lf-thousand-faces-list{padding:18px 15px}
 .lf-thousand-faces-match{grid-template-columns:34px 1fr;gap:9px}
 .lf-thousand-faces-rank{width:30px;height:30px}
}

.lf-thousand-faces-relations{margin:18px 0;padding:22px;border:1px solid var(--line);border-radius:20px;background:var(--white);color:var(--ink)}
.lf-thousand-faces-relations h3{margin:0 0 6px;font-size:20px}
.lf-thousand-faces-relations>p{margin:0 0 16px;color:var(--muted);line-height:1.7}
.lf-thousand-faces-relation{margin:11px 0}
.lf-thousand-faces-relation>div:first-child{display:flex;justify-content:space-between;gap:12px;font-size:14px}
.lf-thousand-faces-relation>div:first-child span:first-child{font-weight:750}
:root[data-lf-theme="dark"] .lf-thousand-faces-result .lf-thousand-faces-relations{background:var(--white);color:var(--ink)}
@media(max-width:650px){.lf-thousand-faces-relations{padding:18px 15px}}

.lf-thousand-faces-directory{margin:18px 0;padding:18px 22px;border:1px solid var(--line);border-radius:18px;background:var(--white);color:var(--ink)}
.lf-thousand-faces-directory summary{cursor:pointer;font-weight:800}
.lf-thousand-faces-directory section{padding:13px 0;border-top:1px solid var(--line)}
.lf-thousand-faces-directory section:first-of-type{margin-top:14px}
.lf-thousand-faces-directory h4{margin:0 0 4px;font-size:15px}
.lf-thousand-faces-directory p{margin:0 0 5px;color:var(--muted);line-height:1.8}
.lf-thousand-faces-directory a{color:var(--accent);font-size:13px}
:root[data-lf-theme="dark"] .lf-thousand-faces-result .lf-thousand-faces-directory{background:var(--white);color:var(--ink)}
@media(max-width:650px){.lf-thousand-faces-directory{padding:16px}}
