/* Landing presentation only. Game, dialogs, payment forms and other pages retain their styles. */
body:has(> main > .hero){background:#f7f9f6}
body:has(> main > .hero)>header{background:rgba(249,251,248,.96);border-color:#dce5df;color:#102b25}
body:has(> main > .hero)>header .brand{color:#102b25}
body:has(> main > .hero)>header .brand-accent{color:#17633f}
body:has(> main > .hero)>header .nav a{color:#244b3b}
body:has(> main > .hero)>header .info-btn{color:#245a40;border-color:#93b5a1}
body:has(> main > .hero)>header :is(.lang-btn,.menu-btn){color:#173b2c;background:#f0f5ef;border-color:#cbdacf}
/* Local tokens never reach the actual quiz or an overlay. */
body :is(.hero,.race-strip,#kaip,#topics,.supporter-hub){--text:#112c25;--muted:#53685c;--green:#17603e;--blue:#4d8560;--line:#dce6dc;color:var(--text)}
body .hero{padding:64px 0 42px;background:radial-gradient(ellipse at 85% 10%,#e2eedf,transparent 65%)}
body .hero .grid{gap:48px;align-items:center}
body .hero-title{font-size:clamp(36px,4.3vw,58px)!important;line-height:1.08!important;letter-spacing:-.045em!important;color:#102b25}
body .hero-title .hero-title-line{white-space:normal!important}
body .hero-title .gold{color:#236b43!important;background:none!important;-webkit-text-fill-color:currentColor}
body .hero-subline{color:#53685c!important;line-height:1.7}
body .hero-explainer-trigger{background:#edf4e9!important;border-color:#d6e3d3!important;color:#315b42!important;box-shadow:none!important}
body .hero #campaignPreview{background:#fff!important;border-color:#d8e4d9!important;box-shadow:0 16px 48px #204a3010!important;border-radius:26px;padding:28px}
body .hero #campaignPreview h2{color:#163d2b;font-size:24px;line-height:1.3}
body .hero :is(.preview-msg,.preview-q){background:#f2f6ef!important;color:#284d36!important;border-color:#dce6d8!important}
body .hero .preview-answer{background:#fff;color:#263e31;border-color:#d6e2d7}
body .hero .preview-answer:hover{background:#edf6e8;border-color:#619775}
body .hero .preview-answer.correct{background:#dff1d8;color:#17512e;border-color:#4f925e}
body .hero .preview-answer.wrong{background:#fff0ed;color:#853c36;border-color:#c88e83}
body :is(.hero,#topics) .landing-cta{border-radius:999px!important;min-height:52px;box-shadow:none!important;animation:none!important;font-weight:750}
body :is(.hero,#topics) .primary{background:#115332!important;color:#fff!important;border:1px solid #115332!important}
body :is(.hero,#topics) .group-quiz-link{background:#eef4e9!important;color:#204c32!important;border:1px solid #afc6ad!important}
body :is(.race-strip-card,.supporter-card,.forest-leaders){background:#fff!important;border:1px solid #dde7dc!important;box-shadow:0 8px 30px #25472d08!important;border-radius:22px}
body .race-strip-card{padding:24px}
body :is(.race-strip,.supporter-hub) :is(strong,b,.duel-value,.duel-label,.status-current){color:#16472d!important}
body :is(.race-strip,.supporter-hub) :is(.duel-side,.community-score,.challenge-panel-head,.forest-rank){background:#f3f7f0!important;border-color:#dce5d8!important;color:#24462f}
body :is(.race-strip,.supporter-hub) :is(.duel-meta,.status-toggle,.forest-leaders-description,.forest-team-name){color:#4c6252!important}
body :is(#kaip,#topics,.supporter-hub){padding-top:44px;padding-bottom:36px}
body #kaip .step{background:#fff;border-color:#dce5d8;border-radius:20px;color:#1b3e2c;padding:24px}
body #topics .topic-card{background:#f0f5ed!important;border-color:#dce6d8!important;border-radius:18px!important;color:#173b2c;box-shadow:none}
body #topics .topic-card:nth-child(4n+2){background:#eef4f8!important}
body #topics .topic-card:nth-child(4n+3){background:#f2f0f8!important}
body #topics .topic-card:nth-child(4n){background:#faf2ea!important}
body #topics .topic-card.active{border-color:#22633e!important;box-shadow:inset 0 0 0 1px #22633e!important}
body #topics .topic-card b{color:#193d2b!important}
body #topics .topic-card p{color:#526658!important}
body #topics .topic-index{color:#27653e}
body :is(.hero,.race-strip,#kaip,#topics,.supporter-hub) .tag{background:#edf4e8;color:#356044;border-color:#d8e5d2}
body :is(.hero,.race-strip,#kaip,#topics,.supporter-hub) :is(button,a):focus-visible{outline:3px solid #749b58;outline-offset:4px}
@media(max-width:800px){body .hero{padding:30px 0 24px}body .hero .grid{gap:26px}body .hero #campaignPreview{padding:22px}body :is(#kaip,#topics,.supporter-hub){padding-top:28px;padding-bottom:24px}}
@media(max-width:520px){body .hero-title{font-size:clamp(32px,8.4vw,43px)!important}body .race-strip-card{padding:16px}body .hero .actions{gap:12px}}
body>header #langSwitch .lang-btn{color:#365943!important}
body>header #langSwitch .lang-btn.active{color:#fff!important;background:#175638}
body>header .future-language-trigger{color:#42664d!important}
body #kaip :is(.step,.step-goal-copy,.step-important){background:#fff!important;border-color:#dce5d8!important;color:#183c29!important}
body>footer{color:#526b5b}
body>footer a{color:#315c43!important}
body>header .brand{display:flex;align-items:center;gap:0;font-size:25px;letter-spacing:-1px}
body>header .brand::before{content:"";display:block;width:44px;height:28px;margin-right:9px;background:url('/assets/ailaume-mark.svg') center/contain no-repeat}
@media(max-width:520px){body>header .brand{font-size:21px}body>header .brand::before{width:29px;margin-right:5px}}
.landing-character{margin:0;align-self:stretch;display:flex;align-items:end;min-width:0;border-radius:40% 40% 22px 22px;background:radial-gradient(ellipse at 55% 65%,#d0e5c6,transparent 70%);overflow:hidden}
.landing-character img{display:block;width:100%;height:auto;object-fit:contain}
body .hero #campaignPreview{grid-column:1/-1;margin-top:0!important;display:grid;grid-template-columns:1fr 1fr;gap:12px 28px}
body .hero #campaignPreview h2{grid-column:1/-1;margin:0}
body .hero #previewAnswers{grid-column:2;grid-row:2/5}
body .hero #previewFeedback{grid-column:1/-1}
@media(max-width:800px){.landing-character{grid-column:1;grid-row:1;max-height:410px;width:100%;justify-content:center}.landing-character img{max-width:440px}body .hero .grid>div:first-child{grid-row:2}body .hero #campaignPreview{grid-row:3;display:block}body .hero .grid{gap:20px}}

/* V2 — reference composition; all selectors stay outside the game and dialogs. */
@font-face{font-family:LandingRoboto;src:url('/assets/fonts/roboto-400.ttf');font-weight:400;font-display:swap}
@font-face{font-family:LandingRoboto;src:url('/assets/fonts/roboto-500.ttf');font-weight:500;font-display:swap}
@font-face{font-family:LandingRoboto;src:url('/assets/fonts/roboto-600.ttf');font-weight:600;font-display:swap}
@font-face{font-family:LandingRoboto;src:url('/assets/fonts/roboto-700.ttf');font-weight:700;font-display:swap}
@font-face{font-family:LandingRoboto;src:url('/assets/fonts/roboto-800.ttf');font-weight:800 900;font-display:swap}
@font-face{font-family:LandingHand;src:url('/assets/fonts/caveat.ttf');font-weight:500;font-display:swap}
body:has(>main>.hero){background:#fafbf9}
body :is(.hero,.race-strip,.landing-example,#kaip,#topics,.supporter-hub,#remejams,.platform-support-section,.site-footer),body>header{font-family:LandingRoboto,Arial,sans-serif;--text:#102421;--muted:#52645e;--line:#dce4de;color:#102421}
body>header .nav{gap:16px;min-width:0}
body>header .nav-right{gap:12px;min-width:0}
body>header .menu-trigger{color:#102421;background:transparent;border:0;width:38px;height:38px;padding:8px;font-size:0;position:relative}
body>header .menu-trigger span{display:none}
body>header .menu-trigger::before{content:'';display:block;width:23px;height:16px;border-top:2px solid currentColor;border-bottom:2px solid currentColor;background:linear-gradient(currentColor,currentColor) center/100% 2px no-repeat}
body>header #langSwitch{gap:4px}
body>header #langSwitch .lang-btn{padding:6px;min-width:28px;font-size:11px}
body .hero{padding:26px 0 20px;background:linear-gradient(110deg,#fafcfb,#e8f0e9)}
body .hero .grid{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:0;min-height:510px;align-items:center}
body .hero .grid>div:first-child{position:relative;z-index:2;grid-column:1;grid-row:1;padding:18px 0;max-width:560px}
body .hero-title{font-size:clamp(34px,3.6vw,50px)!important;line-height:1.09!important;font-weight:800;letter-spacing:-.035em!important}
body .hero-subline{font-size:16px;line-height:1.45;margin:16px 0}
body .hero .actions{gap:10px;flex-wrap:wrap}
body .hero .landing-cta{font-size:14px;min-height:46px;padding:13px 20px}
body .hero .group-quiz-link{background:transparent!important;border-color:transparent!important}
body .hero-explainer-trigger{font-size:11px;max-width:100%;padding:8px 10px}
.landing-character{position:absolute;inset:0 -25px 0 39%;display:block;border-radius:0;background:none;overflow:visible;max-height:none;width:auto;pointer-events:none}
.landing-character img{position:absolute;height:100%;width:100%;max-width:none;object-fit:contain;object-position:center bottom;mask-image:linear-gradient(to bottom,#000 78%,transparent)}
.landing-handwritten{position:absolute;right:0;top:50%;color:#135232;font:500 32px/.95 LandingHand,cursive;transform:rotate(-11deg);text-align:center}
body .race-strip{padding:18px 0}
body .race-strip-card{padding:0;background:transparent!important;border:0!important;box-shadow:none!important;display:block}
body .race-strip-summary{display:flex;gap:16px;align-items:center;padding:12px 16px;background:#edf4ed;border-radius:15px;margin-bottom:12px}
body .race-strip-proof{padding:0;min-width:0;background:none;border:0}
body .race-strip-proof strong{font-size:27px;line-height:1.1}
body .race-strip-potential{font-size:13px}
body .race-strip-comparison{display:block}
body .race-strip-target{font-size:13px;margin:8px 0}
body :is(.race-strip,.supporter-hub) .duel-side{position:relative;padding:16px!important;align-items:flex-start;gap:5px;border:1px solid #e0e6e1!important;border-radius:17px;height:auto;background:#fff!important;text-align:left}
body .duel-label{font-size:12px;letter-spacing:0;font-weight:700;min-height:0}
body .duel-value{font-size:30px;line-height:1.15;order:1}
body .duel-meta{font-size:12px;order:2;min-height:0}
body .duel-status-wrap{order:3;justify-items:start;gap:4px}
body .status-current{font-size:11px;line-height:1.3;padding:0;background:none!important}
body .race-strip-status{margin-top:10px;padding:11px 14px;border:0;border-radius:12px;background:#f6efdf;color:#24342b;font-size:13px}
body .cycle-meta{color:#52645e;font-size:11px;margin-top:8px}
body :is(#kaip,#topics,.supporter-hub,#remejams,.landing-example){padding:24px 0}
body :is(.title,.platform-support-copy h2){font-size:26px;line-height:1.2;letter-spacing:-.025em}
body .landing-example #campaignPreview{background:#fff;color:#102421;border:1px solid #dce4de;padding:20px;border-radius:18px;display:grid;grid-template-columns:1fr 1fr;gap:8px 20px;box-shadow:none}
body .landing-example #campaignPreview h2{font-size:21px;line-height:1.25;margin:0;grid-column:1/-1}
body .landing-example #previewAnswers{grid-column:2;grid-row:2/5}
body .landing-example :is(.preview-msg,.preview-q,.preview-feedback){color:#284338;background:#f1f5ef;border-color:#dce4de}
body .landing-example .preview-answer{background:#fff;color:#243d31;border-color:#d6e1d7}
body .landing-example .preview-answer.correct{background:#e1f2e1;border-color:#358b49;color:#154a29}
body .landing-example .preview-answer.wrong{background:#fcebe8;border-color:#b56258;color:#76332b}
body #kaip .steps{gap:12px;margin-top:16px}
body #kaip .step{padding:16px;font-size:14px;box-shadow:none}
body #kaip .step::before{content:'♡';display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#e0f3e0;color:#14603b;font-size:25px;margin-bottom:12px}
body #kaip .step:nth-child(2)::before{content:'✓';background:#fff0d3}
body #kaip .step:nth-child(3)::before{content:'↗';background:#e0edfc}
body #kaip .step-important{padding:12px 0 0;font-size:12px}
body #topics .topic-card{padding:14px;min-height:160px}
body #topics .topic-card b{font-size:16px;line-height:1.2}
body #topics .topic-card p{font-size:12px;line-height:1.4;margin:8px 0 0}
body .supporter-card{padding:18px;border-radius:17px}
body .supporter-hub :is(.challenge-panel-head,.challenge-top-item,.challenge-top-name,.challenge-top-amount,.recent-supporter,.recent-supporter-name,.recent-supporter-amount,.forest-name,.forest-points,.community-rule){color:#193d2b!important;background-color:transparent}
body .supporter-hub :is(p,small,.muted,.challenge-panel-head span,.supporter-empty){color:#52645e!important}
body .forest-top-three{display:grid;grid-template-columns:1fr;gap:0}
body .forest-rank{padding:10px 6px;border:0!important;border-bottom:1px solid #e2e8e3!important;border-radius:0;display:flex;gap:12px;align-items:center}
body .forest-points{margin-left:auto}
body #remejams :is(.copy,.muted,.sponsor-details-body){color:#52645e}
body #remejams .sponsor-details{background:#fff;border-color:#dae3dc;color:#183d2a;padding:14px;border-radius:16px}
body #remejams .support-react{background:#155435;color:#fff!important;border-color:#155435!important}
body .platform-support-card{background:#edf4ee;border:1px solid #dce6dd;box-shadow:none;gap:20px;padding:20px}
body .platform-support-copy :is(p,small),body .platform-support-action :is(label,small,.platform-support-status){color:#465d50}
body .platform-support-amount{background:#fff;color:#204b34;border-color:#b9cbbb}
body .platform-support-amount.active{background:#155435;color:#fff;border-color:#155435}
body .platform-support-submit{background:#155435;color:#fff;border-color:#155435}
body .site-footer{background:#eef4ef;padding:24px 0;color:#405b4c}
body .site-footer .footer-brand-card{padding:8px 12px;width:max-content;max-width:100%}
body .site-footer .footer-links{gap:10px 18px;border-color:#d5e0d7}
/* The existing fixed CTA competes with topic selection, sample answers and support forms. */
body .sticky-challenge-cta{display:none!important}
@media(max-width:800px){
 body>header .wrap{padding:10px 16px;gap:6px}
 body>header .brand{font-size:22px;white-space:nowrap}
 body>header .brand::before{width:25px;height:22px;margin-right:4px}
 body>header .nav-right{gap:4px}
 body>header .brand-info{margin-left:3px}
 body .hero{padding:0 0 14px}
 body .hero .grid{display:block;min-height:0;padding-top:225px}
 .landing-character{inset:0 -16px auto 18%;height:425px;max-height:none;width:auto}
 .landing-character img{object-position:right top;mask-image:linear-gradient(#000 55%,transparent 100%)}
 .landing-handwritten{right:auto;left:-19%;top:65px;font-size:27px}
 body .hero .grid>div:first-child{padding:0;max-width:none;background:linear-gradient(0deg,#fafbf9 50%,#fafbf9e8 78%,#fafbf900);grid-row:auto}
 body .hero-explainer{margin:0 0 10px;max-width:60%}
 body .hero-explainer-trigger{font-size:10px;line-height:1.3;padding:5px 7px;background:#f4f8f1dd!important}
 body .hero-title{font-size:clamp(28px,7.6vw,38px)!important;margin:8px 0 0;line-height:1.06!important}
 body .hero-subline{font-size:14px;line-height:1.4;margin:12px 0}
 body .hero .actions{display:grid;grid-template-columns:1fr;gap:4px;margin-top:14px}
 body .hero .landing-cta{width:100%;min-height:44px;padding:11px 14px;font-size:14px}
 body .race-strip{padding:10px 0 16px}
 body :is(.title,.platform-support-copy h2){font-size:23px}
 body .race-strip-summary{padding:10px 12px;gap:12px}
 body .race-strip-potential{font-size:11px;line-height:1.4}
 body .duel-side{padding:12px!important}
 body .duel-value{font-size:27px}
 body .duel-label{font-size:11px}
 body .duel-meta{font-size:11px}
 body .landing-example #campaignPreview{display:block;padding:16px}
 body .landing-example #campaignPreview h2{font-size:20px}
 body #kaip .steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 body #kaip .step{padding:10px 6px;font-size:11px;line-height:1.4;border:0;background:transparent!important}
 body #kaip .step b{font-size:12px}
 body #kaip .step-important{font-size:10px}
 body #topics .topic-card{min-height:158px;padding:12px}
 body .supporter-card{padding:14px}
 body :is(#kaip,#topics,.supporter-hub,#remejams,.landing-example){padding:18px 0}
}
body #kaip .step-goal{display:contents}
body #kaip .step-goal::before{display:none}
body #kaip .step-goal-copy{border:0;padding:16px;font-size:14px;background:transparent!important}
body #kaip .step-goal-copy::before{content:'✓';display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#e0edfc;color:#174d66;font-size:24px;margin-bottom:12px}
body #kaip .steps>.step::after{display:none}
body #kaip .step-important{grid-column:1/-1;padding:12px!important;border:1px solid #dce4de;border-radius:12px;font-size:12px}
body #kaip .step-goal-copy .muted{font-size:inherit;line-height:1.4}
body #kaip .step .muted{font-size:inherit;line-height:1.4}
body #remejams .sponsor{background:#edf4ef!important;border:1px solid #dce5de;border-radius:20px;box-shadow:none!important;padding:24px;color:#183c2c}
body #remejams .sponsor-details summary{color:#193d2a!important}
body #remejams .sponsor-details-body .line{border-color:#dae3dc}
body #remejams .sponsor-quote{color:#415f4c}
body .platform-support-custom>div{background:#fff;border-color:#b9cbbb;color:#315d40}
body .platform-support-custom input{color:#183d2b}
body .site-footer :is(.footer-origin,.footer-company-details){color:#4d6657!important}
body .site-footer .footer-brand-card{background:#fff!important;border:1px solid #dce5de!important;box-shadow:none!important}
body .supporter-hub :is(.challenge-top-row,.supporter-item,.recent-supporter-item){background:#f6f8f4!important;border-color:#dce5de!important}
body .supporter-hub :is(.challenge-top-amount strong,.challenge-top-amount small,.supporter-name,.supporter-amount,.supporter-meta){color:#284f37!important}
html:is([data-campaign-pending],[data-campaign-error]) body .race-strip-card,html:is([data-supporter-pending],[data-supporter-error]) body .supporter-grid{height:125px;min-height:125px;overflow:hidden}
body #topics .topic-top::before{content:'';width:28px;height:28px;background:currentColor;mask:var(--topic-icon) center/contain no-repeat;color:#26734c}
body #topics .topic-index{font-size:10px;margin-left:auto}
@media(max-width:800px){
 body #kaip .step-goal-copy{padding:10px 6px;font-size:11px;line-height:1.4}
 body #kaip .step-goal-copy b{font-size:12px}
 body #remejams .sponsor{padding:18px}
}

body #topics .topic-card:nth-child(1){--topic-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m8%2012%203%203%205-6%22/%3E%3Crect%20x%3D%224%22%20y%3D%223%22%20width%3D%2216%22%20height%3D%2219%22%20rx%3D%223%22/%3E%3C/svg%3E")}

body #topics .topic-card:nth-child(2){--topic-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%2018h6m-5%203h4M8%2013a6%206%200%201%201%208%200c-1%201-1%203-1%203H9s0-2-1-3Z%22/%3E%3C/svg%3E")}

body #topics .topic-card:nth-child(3){--topic-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%203h10M10%203v6L4%2019q-1%202%202%202h12q3%200%202-2l-6-10V3M7%2015h10%22/%3E%3C/svg%3E")}

body #topics .topic-card:nth-child(4){--topic-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m12%2021-8-8a5%205%200%200%201%208-6%205%205%200%200%201%208%206Z%22/%3E%3C/svg%3E")}

body #topics .topic-card:nth-child(5){--topic-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m12%203%209%205-9%205-9-5%209-5Zm-9%209%209%205%209-5M3%2016l9%205%209-5%22/%3E%3C/svg%3E")}

body #topics .topic-card:nth-child(6){--topic-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m12%202%209%204v6c0%205-9%2010-9%2010S3%2017%203%2012V6l9-4Zm-4%209%203%203%205-6%22/%3E%3C/svg%3E")}

body #topics .topic-card:nth-child(7){--topic-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2021%2017%208M4%2017C1%205%2012%203%2021%203c0%209-2%2020-14%2017%22/%3E%3C/svg%3E")}

body #topics .topic-card:nth-child(8){--topic-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%229%22%20cy%3D%227%22%20r%3D%223%22/%3E%3Ccircle%20cx%3D%2218%22%20cy%3D%228%22%20r%3D%222%22/%3E%3Cpath%20d%3D%22M2%2021v-5c0-5%2014-5%2014%200v5H2Zm16-8c4%200%205%203%205%207h-4%22/%3E%3C/svg%3E")}
body .race-strip .duel-side .race-strip-proof{order:0;display:flex;flex-direction:column;gap:3px;text-align:left;align-items:flex-start;border:0;background:transparent;padding:0}
body .race-strip .duel-side .race-strip-proof :is(span,.race-strip-kicker){color:#52645e;font-size:11px}
body .race-strip .duel-side .race-strip-proof strong{color:#102421!important;font-size:27px}
body .race-strip .duel-side.sponsor>.duel-value{font-size:20px;margin-top:7px}
body .race-strip .duel-side.community>.duel-value{margin-top:7px}
body .duel-side .status-pop{background:#fff;color:#284b35;border-color:#d4e1d6;box-shadow:0 8px 25px #15342325}
body .duel-side .status-list li{color:#284b35}
body .landing-example :is(.preview-feedback>b,.answer-guidance,.answer-explanation,.answer-explanation strong,.preview-answer::after){color:#315b40!important}
body :is(#remejams,.platform-support-section) .tag{color:#365b43!important;background:#e1ece2;border-color:#c8d9cb}
body #remejams .sponsor-quote p{color:#466451}
body>header .future-language-trigger{color:#42664d!important}

/* Visual review: remove remaining dark-theme text and legacy tower-grid inheritance. */
body > header #langSwitch > span,
body > header .lang-future summary,
body > header .lang-future-other-label {
  color:#42664d;
}
body > header .lang-future-notice {
  background:#fff;
  color:#284f37;
  border-color:#cbdacf;
}
body > header .menu-dropdown {
  background:#fff;
  border-color:#cbdacf;
  box-shadow:0 12px 32px #15342320;
}
body > header .menu-dropdown :is(a,button) {
  color:#244b3b;
}
body > header .menu-dropdown :is(a,button):hover {
  background:#edf4ed;
}
body .race-strip-comparison {
  background:transparent;
  border:0;
  padding:0;
}
body .supporter-hub :is(.supporter-row-name,.supporter-row-amount,.supporter-row-status,.supporter-more,.supporter-page-nav button) {
  color:#284f37;
}
body .supporter-hub .supporter-row {
  background:#f6f8f4;
  border-color:#dce5de;
}
body .supporter-hub :is(.supporter-row-name,.challenge-top-name) {
  white-space:normal;
  overflow-wrap:anywhere;
}
body .supporter-hub .challenge-top-row {
  grid-template-columns:1.75rem minmax(0,1fr) minmax(0,6rem);
}
body .supporter-hub .challenge-rank {
  background:#edf4ed;
  border-color:#cbdacf;
  color:#284f37;
}
body .supporter-hub .supporter-row-status,
body .supporter-hub .challenge-top-amount small {
  font-size:12px;
  line-height:1.4;
}
body .supporter-hub .forest-rank {
  flex-direction:row;
  text-align:left;
}
body .supporter-hub .forest-rank .forest-name {
  flex:1;
  min-width:0;
  font-size:12px;
}
body .supporter-hub .forest-rank .forest-points {
  flex:none;
}
body #kaip .step-important b {
  color:#315c43;
}
body #topics .topic-swipe-hint button {
  color:#315c43;
  border-color:#b9cbbb;
}
body #topics .topic-card.active {
  scale:1;
}
body #topics .topic-card::after {
  color:#155435;
  background:#e1f0e1;
  border-color:#b9cbbb;
}
body .landing-example #previewFeedback {
  grid-column:1 / -1;
}
body .site-footer #footerSupportOpen {
  color:#315c43!important;
}
body #remejams .sponsor-details {
  padding:0;
}
body .hero .hero-explainer-panel,
body > header .brand-popover {
  background:#fff;
  border-color:#cbdacf;
  box-shadow:0 12px 32px #15342320;
  color:#42604b;
  max-height:min(34rem,65dvh);
  overflow:auto;
  overscroll-behavior:contain;
}
body .hero .hero-explainer-panel :is(p,strong,b,em,span,button),
body > header .brand-popover :is(strong,b,span,button) {
  color:#315c43;
}
body .hero .hero-explainer-rule {
  background:#edf4ed;
  color:#315c43;
  border-color:#d3dfd5;
}
body .hero .hero-explainer-thought {
  color:#315c43;
  border-color:#d3dfd5;
}
body > header .brand-popover-close {
  background:#edf4ed;
  border-color:#cbdacf;
}
body .hero .hero-explainer-close:hover,
body > header .brand-popover-close:hover {
  background:#e1ece2;
}
body #remejams .fee-currency-note {
  color:#52645e;
}
body #topics .topic-top {
  padding-right:30px;
}
body .landing-example .answer-result-label.is-correct {
  color:#245b34;
}
body .landing-example .answer-result-label.is-wrong,
body .landing-example .preview-feedback.incorrect-result > b {
  color:#8b342f!important;
}

/* Landscape Hero: a wider environmental portrait with distant scenery. */
body .hero {
  background:#f6f8f3;
}
body .hero .landing-character {
  inset:-26px calc((100vw - 100%)/-2) -20px;
  width:auto;
  height:auto;
}
body .hero .landing-character img {
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 46%;
  mask-image:linear-gradient(to right,transparent 0%,#000 45%);
}
body .hero .landing-handwritten {
  right:22px;
  top:22%;
  font-size:30px;
}
@media(max-width:800px) {
  body .hero .grid {
    padding-top:280px;
  }
  body .hero .landing-character {
    inset:0 -16px auto;
    height:310px;
  }
  body .hero .landing-character img {
    object-position:62% center;
    mask-image:linear-gradient(to bottom,#000 82%,transparent);
  }
  body .hero .landing-handwritten {
    left:18px;
    right:auto;
    top:82px;
    font-size:25px;
  }
}
@media(min-width:801px) {
  body .hero .landing-character img {
    object-fit:contain;
    object-position:right center;
    mask-image:linear-gradient(to right,transparent 40%,#000 72%);
  }
  body .hero .landing-handwritten {
    left:56%;
    right:auto;
    top:13%;
  }
}

/* V3: original vertical height renderer, independent cards with a shared baseline. */
body .knowledge-duel {
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-template-rows:none!important;
  gap:12px!important;
  align-items:stretch!important;
}
body .knowledge-duel > .duel-side {
  display:flex!important;
  flex-direction:column;
  min-width:0;
  align-items:stretch;
  text-align:left;
}
body .knowledge-duel .duel-stage {
  position:relative;
  display:flex!important;
  align-items:flex-end!important;
  justify-content:center!important;
  height:7rem!important;
  min-height:7rem;
  width:100%;
  padding:0!important;
  margin:12px 0 0!important;
  order:0;
  align-self:stretch!important;
  border:0!important;
  border-bottom:1px solid #c4d9c8!important;
  border-radius:0!important;
  background:linear-gradient(to top,#edf4ed,transparent)!important;
  overflow:visible!important;
  box-shadow:none!important;
}
body .knowledge-duel .duel-stage::before,
body .knowledge-duel .duel-stage::after {display:none!important}
body .knowledge-duel .duel-tower {
  position:relative;
  flex:none;
  width:min(3.625rem,72%)!important;
  max-width:100%;
  border:1px solid #4b8d60!important;
  border-radius:1.125rem 1.125rem .625rem .625rem!important;
  background:linear-gradient(#6da77b,#175638)!important;
  box-shadow:inset 0 1px 0 #ffffff50,0 5px 12px #15342312!important;
}
body .knowledge-duel .duel-side.community .duel-tower {
  background:linear-gradient(#7bc98b,#279749)!important;
}
body .knowledge-duel .duel-tower::before,
body .knowledge-duel .duel-tower::after {display:none!important}
body .knowledge-duel .duel-stage > .duel-tower[hidden] {display:none!important}
body .knowledge-duel .duel-label {min-height:2.4em;text-align:center}
body .knowledge-duel .duel-value {text-align:center;font-variant-numeric:tabular-nums}
body .knowledge-duel .duel-meta {text-align:center;line-height:1.4}
body .knowledge-duel .duel-status-wrap {justify-items:center;margin-top:auto;padding-top:8px}
body .knowledge-duel .status-current {text-align:center;overflow-wrap:anywhere}
body .knowledge-duel .status-pop {background:#fff;color:#284b35;border-color:#d4e1d6}
body .knowledge-duel .status-list li {color:#284b35}
body .supporter-card .challenge-top-row {align-items:start}
body .supporter-row-amount {white-space:nowrap;font-variant-numeric:tabular-nums}
body .site-footer .footer-links :is(a,button) {min-height:36px;line-height:1.4}
body .site-footer .footer-brand-card {height:auto}
body .hero-title {text-wrap:pretty;overflow-wrap:normal}
body .knowledge-duel .duel-side.sponsor .duel-tower {
  background:linear-gradient(#6da77b,#175638)!important;
  border-color:#4b8d60!important;
  box-shadow:inset 0 1px 0 #ffffff50,0 5px 12px #15342312!important;
}
body .race-strip .race-strip-proof .race-strip-kicker {color:#52645e!important}
body .race-strip .race-strip-proof {flex:none;max-width:44%}
body .knowledge-duel > .duel-side {
  background:#fff!important;
  box-shadow:none!important;
  border:1px solid #dce4de!important;
}
body .knowledge-duel .duel-side.sponsor .duel-stage {border-bottom:1px solid #c4d9c8!important}
body .race-strip .duel-side.sponsor > .duel-value {font-size:30px;margin-top:7px}
body .knowledge-duel .duel-meta {min-height:2.8em}
body .site-footer .footer-links :is(a,button):hover {color:#16472d!important}

/* One approved hero ink in every locale and inline-editor representation.
   Published rich-text color spans must not override the heading palette. */
html body.prototype-landing .hero h1.hero-title.hero-title-clarity,
html body.prototype-landing .hero h1.hero-title.hero-title-clarity *{
 color:#081b20!important;
 -webkit-text-fill-color:currentColor!important;
}
