/* Shared surfaces and feedback follow the home screen's two themes. */
:root { --answer-good-bg:#133c30; --answer-good-ink:#cbf7e2; --answer-bad-bg:#49252a; --answer-bad-ink:#ffdde1; }
[data-theme="light"] { --answer-good-bg:#e2f4e9; --answer-good-ink:#155535; --answer-bad-bg:#fce8eb; --answer-bad-ink:#852336; }
body.dd-pro .qq-feedback.correct,body.dd-pro .storyFeedback.correct,body.dd-pro .qq-choice.is-correct { background:var(--answer-good-bg)!important; color:var(--answer-good-ink)!important; border-color:currentColor; }
body.dd-pro .qq-feedback.wrong,body.dd-pro .storyFeedback.wrong,body.dd-pro .qq-choice.is-wrong { background:var(--answer-bad-bg)!important; color:var(--answer-bad-ink)!important; border-color:currentColor; }
body.dd-pro .qq-feedback :is(strong,p,span),body.dd-pro .storyFeedback :is(strong,p,span),body.dd-pro .qq-choice:is(.is-correct,.is-wrong) :is(b,span) { color:inherit!important; }
body.dd-pro .qq-feedback p { opacity:1; font-size:14px; line-height:1.6; }
body.dd-pro .dailyQ__result.correct { background:var(--answer-good-bg); color:var(--answer-good-ink); }
body.dd-pro .dailyQ__result.wrong,body.dd-pro .dailyQ__result.timeout { background:var(--answer-bad-bg); color:var(--answer-bad-ink); }
body.dd-pro .dailyQ__result :is(.dailyQ__resultText,strong,span) { color:inherit; }
body.dd-pro .qq-feedback-heading { display:flex; gap:10px; align-items:center; }
body.dd-pro .qq-feedback .qq-reward-mark { background:transparent; }
body.dd-pro .qq-choice:disabled { opacity:1; }
body.dd-pro .qq-choice.is-dim { opacity:1; }
body.dd-pro .qq-choice b { color:inherit!important; }
.question-answer-mark { margin-left:auto; font-weight:800; font-size:18px; }
.section-eyebrow { color:var(--muted); font-size:12px; font-weight:650; letter-spacing:.04em; }
.energy-subscription { display:flex; align-items:center; gap:18px; margin:16px; padding:22px; border:1px solid var(--stroke); border-radius:18px; background:var(--panel); color:var(--text); }
.pro-checkout-info { width:min(720px,calc(100% - 32px)); margin:28px auto; min-height:45dvh; }
.pro-checkout-info .energy-subscription { margin:20px 0; }
.subscription-platform-label { display:inline-flex; align-items:center; min-height:42px; color:var(--muted); font-size:13px; font-weight:600; }
.energy-subscription-mark { display:grid; place-items:center; flex:0 0 52px; height:52px; border:1px solid var(--stroke); border-radius:16px; font-size:38px; color:var(--text); }
.energy-subscription-copy { flex:1; min-width:0; }
.energy-subscription h2 { margin:4px 0; font-size:21px; line-height:1.3; letter-spacing:-.025em; }
.energy-subscription p { margin:5px 0; color:var(--muted); font-size:14px; }
.energy-subscription small,.energy-subscription a { font-size:12px; line-height:1.7; color:var(--muted); }
.energy-subscription a { color:var(--text); text-underline-offset:3px; }
.energy-subscription-actions { display:grid; gap:8px; flex-shrink:0; }
.subscription-active-label { font-size:14px; font-weight:650; }
.energy-subscription .subscription-error { color:var(--answer-bad-ink); background:var(--answer-bad-bg); border-radius:8px; padding:6px 10px; }
.menu-inbox-actions { display:flex; gap:12px; padding:12px 20px; border-bottom:1px solid var(--stroke); }
.menu-inbox-button { position:relative; display:grid; place-items:center; width:52px; height:48px; border:1px solid var(--stroke); border-radius:12px; background:var(--panel2); font-size:24px; cursor:pointer; }
.menu-inbox-button .notifBadge { position:absolute; top:-5px; right:-5px; min-width:21px; height:21px; display:grid; place-items:center; border-radius:12px; padding:0 5px; background:#bc243e; color:#fff; font:700 12px/1 sans-serif; border:2px solid var(--panel); }
.menu-inbox-button:focus-visible,.route-entry button:focus-visible { outline:3px solid var(--brand); outline-offset:3px; }
body.dd-pro .profileV2 { width:min(1040px,100%); margin:auto; padding:24px 20px; }
body.dd-pro .pt2 { display:grid; grid-template-columns:250px minmax(0,1fr); gap:40px; background:none; border:0; }
body.dd-pro .profileV2 .pt2-sidebar { align-self:start; display:flex; flex-direction:column; align-items:center; gap:14px; padding:26px 18px; border:0; border-radius:0; background:none; box-shadow:none; min-width:0; }
body.dd-pro .pt2-avatarWrap { width:96px; height:96px; display:grid; place-items:center; font-size:58px; border:1px solid var(--stroke); background:var(--panel); box-shadow:none; }
body.dd-pro .pt2-name { width:100%; overflow-wrap:anywhere; text-align:center; font-size:25px; line-height:1.2; color:var(--text); }
body.dd-pro .pt2-rank { color:var(--muted); font-size:12px; }
body.dd-pro .pt2-miniStats { width:100%; display:flex; justify-content:space-around; gap:8px; padding:18px 0; border-block:1px solid var(--stroke); }
body.dd-pro .pt2-miniStats div { display:flex; flex-direction:column; gap:3px; color:var(--muted); font-size:11px; text-align:center; }
body.dd-pro .pt2-miniStats strong { font-size:22px; color:var(--text); font-variant-numeric:tabular-nums; }
body.dd-pro .pt2-main { display:block; min-width:0; padding:0; }
.profile-section-heading { padding:10px 0 18px; }
.profile-section-heading h1 { font-size:25px; margin:6px 0 0; letter-spacing:-.03em; }
body.dd-pro .profileV2 .pt2-block { background:none; border:0; border-bottom:1px solid var(--stroke); border-radius:0; padding:22px 0; margin:0; box-shadow:none; }
body.dd-pro .pt2-blockTitle { font-size:16px; font-weight:700; color:var(--text); margin-bottom:14px; }
.profile-field-label { display:block; font-size:12px; color:var(--muted); margin:0 0 6px; }
body.dd-pro .pv2Input { width:100%; min-width:0; background:var(--panel); color:var(--text); border:1px solid var(--stroke); }
body.dd-pro .pt1-email { overflow-wrap:anywhere; color:var(--muted); font-size:13px; }
body.dd-pro .profileV2 .avatarGrid { grid-template-columns:repeat(auto-fill,minmax(42px,1fr)); max-width:450px; }
body.dd-pro .profileV2 .avatarBtn { min-width:42px; min-height:42px; background:var(--panel); border:1px solid var(--stroke); }
body.dd-pro .profileV2 .avatarBtn.selected { border:2px solid var(--brand); }
.route-entry { max-width:860px; margin:auto; padding:30px 20px; color:var(--text); }
.route-entry h1 { font-size:30px; letter-spacing:-.035em; margin:6px 0 24px; }
.route-start { display:flex; align-items:center; justify-content:center; gap:48px; padding:24px 0 42px; border-bottom:1px solid var(--stroke); margin-bottom:26px; }
.route-wheel { width:228px; height:228px; flex-shrink:0; display:grid; grid-template-columns:1fr 1fr; grid-template-rows:1fr 1fr; position:relative; border:1px solid var(--stroke); border-radius:50%; overflow:hidden; background:var(--panel); transform:rotate(-12deg); }
.route-wheel span { display:grid; place-items:center; font-size:12px; font-weight:650; color:var(--text); border:1px solid var(--stroke); padding:18px; }
.route-wheel span:nth-child(2),.route-wheel span:nth-child(3) { background:var(--panel2); }
.route-wheel b { position:absolute; inset:50%; width:54px; height:54px; transform:translate(-50%,-50%) rotate(12deg); background:var(--panel); border:1px solid var(--stroke); border-radius:50%; display:grid; place-items:center; font-size:30px; }
.route-start-actions { width:240px; display:grid; gap:20px; }
.route-start-actions .cg-energy { width:100%; }
.route-progress { display:flex; gap:8px; align-items:center; font-size:12px; color:var(--muted); padding:8px 20px; max-width:760px; margin:auto; width:100%; overflow:auto; }
.route-progress b { color:var(--text); white-space:nowrap; }
body.dd-pro .cg-page:has(.route-progress) { grid-template-rows:auto auto auto minmax(0,1fr); }
.route-progress > span { flex-shrink:0; white-space:nowrap; }
body.dd-pro .cookieConsent { background:var(--panel)!important; color:var(--text); border-top:1px solid var(--stroke); }
body.dd-pro .cookieConsentText { color:var(--text); }
body.dd-pro .pt2-sidebar::before { display:none; }
.route-archive { margin-top:24px; color:var(--muted); font-size:13px; }.route-archive summary { cursor:pointer; padding:12px 0; }.route-archive-row { display:flex; justify-content:space-between; gap:16px; padding:12px 0; border-bottom:1px solid var(--stroke); }.route-archive-row span:first-child { overflow-wrap:anywhere; }
body.dd-pro .storyPage { max-width:960px; padding:28px 20px; margin:auto; }
body.dd-pro .storyTitle { font-size:28px; color:var(--text); background:none; -webkit-text-fill-color:var(--text); letter-spacing:-.035em; }
body.dd-pro .storyHeader { gap:14px; flex-wrap:wrap; margin-bottom:25px; }
body.dd-pro .storySubtitle { grid-column:1/-1; color:var(--muted); font-size:13px; text-align:left; margin:0; }
body.dd-pro .storyWorldsGrid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
body.dd-pro .storyWorldCard { background:var(--panel); color:var(--text); border:1px solid var(--stroke); border-radius:14px; box-shadow:none; padding:18px; transform:none; }
body.dd-pro .storyWorldCard__iconWrap { background:var(--panel2)!important; border-color:var(--stroke)!important; box-shadow:none; }
body.dd-pro .storyWorldCard__name { color:var(--text); font-size:17px; }
body.dd-pro .storyWorldCard__meta,body.dd-pro .storyWorldCard__stars { color:var(--muted); }
body.dd-pro .storyWorldCard__bar { background:var(--stroke); }
body.dd-pro .storyWorldCard__fill { background:var(--brand); }
body.dd-pro .storyMapView { background:none; border:0; padding:0; }
body.dd-pro .storyUnitItem { padding:16px 10px; background:none; border:0; border-bottom:1px solid var(--stroke); color:var(--text); opacity:1; border-radius:0; }
body.dd-pro .storyUnitItem.noQuestions { color:var(--muted); }
body.dd-pro .storyUnitItem.current { border-left:3px solid var(--brand); padding-left:12px; }
body.dd-pro .storyUnitItem.completed .storyUnitItem__badge { color:var(--answer-good-ink); background:var(--answer-good-bg); }
body.dd-pro .storyUnitItem__badge { margin-left:auto; font-size:11px; background:var(--panel2); color:var(--muted); padding:5px 8px; border-radius:6px; white-space:nowrap; }
body.dd-pro .storyQuestionCard { margin:16px auto; max-width:700px; background:var(--panel); border:1px solid var(--stroke); border-radius:18px; padding:24px; box-shadow:none; }
body.dd-pro .storyQuestionCard .qq-question-media { background:var(--panel); }
body.dd-pro .storyQuestionCard .qq-question-text { color:var(--text); font-size:20px; line-height:1.65; }
body.dd-pro .storyQuestionCard .qq-choices { gap:8px; }
body.dd-pro .storyQuestionCard .qq-choice { color:var(--text); background:var(--panel2); border:1px solid var(--stroke); border-radius:11px; min-height:50px; }
body.dd-pro .storyResultScreen { background:var(--panel); color:var(--text); border:1px solid var(--stroke); border-radius:18px; padding:24px; box-shadow:none; }
body.dd-pro .storyLoadingScreen,body.dd-pro .storyEmptyState { background:var(--panel); color:var(--text); box-shadow:none; }
@media(max-width:640px) {
  .energy-subscription { flex-wrap:wrap; padding:18px; gap:12px; margin:12px; }.energy-subscription-mark { flex-basis:42px; height:42px; font-size:30px; }.energy-subscription h2 { font-size:18px; }.energy-subscription-actions { width:100%; }.energy-subscription-copy { flex-basis:calc(100% - 60px); }
  body.dd-pro .profileV2 { padding:12px 16px; }body.dd-pro .pt2 { grid-template-columns:minmax(0,1fr); gap:8px; }body.dd-pro .pt2-sidebar { padding:18px 0; }body.dd-pro .pt2-miniStats { max-width:380px; }.profile-section-heading { padding-top:22px; }
  .route-start { flex-direction:column; gap:24px; padding-top:0; }.route-start-actions { width:100%; max-width:320px; }.route-wheel { width:204px; height:204px; }
  body.dd-pro .storyWorldsGrid { grid-template-columns:minmax(0,1fr); }body.dd-pro .storyPage { padding:20px 12px; }body.dd-pro .storyTitle { font-size:23px; }body.dd-pro .storyQuestionCard { padding:16px; }.storyUnitItem__name { min-width:0; overflow-wrap:anywhere; }
}
@media(prefers-reduced-motion:no-preference) { .route-entry button,.menu-inbox-button,.storyWorldCard { transition:background 200ms,border-color 200ms,transform 200ms; } }
@media(prefers-reduced-motion:reduce) { .route-entry *,.profileV2 *,.storyPage * { animation:none!important; transition:none!important; scroll-behavior:auto!important; } }
/* About: short, factual sections rather than legacy marketing tiles. */
.about-refresh { max-width:920px; margin:auto; padding:28px 24px 48px; color:var(--text); }
.about-intro { max-width:660px; padding:40px 0 32px; }
.about-intro img { display:block; border-radius:14px; margin-bottom:24px; }
.about-eyebrow { color:var(--muted); font-size:12px; }
.about-intro h1 { margin:10px 0 20px; font-size:clamp(30px,5vw,42px); letter-spacing:-.04em; }
.about-intro p,.about-features p { margin:0; color:var(--muted); font-size:15px; line-height:1.85; }
.about-features section { display:grid; grid-template-columns:160px minmax(0,1fr); gap:24px; padding:24px 0; border-top:1px solid var(--stroke); }
.about-features h2,.about-contact h2 { margin:0; font-size:18px; }
.about-exams { display:flex; align-items:center; gap:20px; border-top:1px solid var(--stroke); padding:24px 0; font-size:13px; }
.about-exams strong { color:var(--brand); }.about-exams span { color:var(--muted); }
.about-contact { border-top:1px solid var(--stroke); padding-top:24px; display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.about-contact a { color:var(--text); text-underline-offset:4px; overflow-wrap:anywhere; }
@media(max-width:600px) { .about-refresh { padding:20px 18px 36px; }.about-intro { padding-top:28px; }.about-features section { grid-template-columns:1fr; gap:12px; } }
