/* Method page: complete warm night palette across V1–V6 sections.
   Applied only when the saved app appearance resolves to dark.
   No animation, playback, review or tab logic touched. */
html[data-gic-theme="dark"] .gic-method-v1{
  --method-ink:#edf4e9;--method-deep:#dceee0;--method-green:#91d4b7;
  --method-sage:#233d32;--method-muted:#b8cbbb;--method-cream:#193127;
  --method-gold:#e3c68d;--method-stroke:#456353;
  background:#12261f!important;color:#edf3e8!important;
}
html[data-gic-theme="dark"] .gic-method-v1 :is(.gic-method-hero,.gic-method-principles,.gic-method-freedom,.gic-method-ending,.gic-method-v2-layers,.gic-method-v4-review){
  background:radial-gradient(ellipse 68% 37% at 100% 0%,rgba(55,106,80,.19),transparent 84%),#132920!important;
  border-color:#3b5345!important;
}
html[data-gic-theme="dark"] .gic-method-v1 .gic-method-hero h1,
html[data-gic-theme="dark"] .gic-method-v1 :is(.gic-method-section-heading h2,.gic-method-v2-section-intro h2,.gic-method-loop-header h2,.gic-method-v4-review-copy h2,.gic-method-ending-inner h2){color:#f3f3e8!important}
html[data-gic-theme="dark"] .gic-method-v1 :is(h1 em,h2 em){color:#e4c98f!important}
html[data-gic-theme="dark"] .gic-method-v1 :is(.gic-method-hero-lead,.gic-method-section-heading >p,.gic-method-v2-section-intro>p,.gic-method-v2-review-copy>p,.gic-method-v2-public-note,.gic-method-hero-points){color:#c2d3c5!important}
html[data-gic-theme="dark"] .gic-method-v1 :is(.gic-method-eyebrow,.gic-method-section-label){color:#e8c892!important}
html[data-gic-theme="dark"] .gic-method-v1 .gic-method-eyebrow{background:#25473a!important;border:1px solid #56735d!important}
html[data-gic-theme="dark"] .gic-method-v1 :is(.gic-method-example-wrap::before){background:#1b3a2e!important;border-color:#426853!important}
html[data-gic-theme="dark"] .gic-method-v1 .gic-method-example,
html[data-gic-theme="dark"] .gic-method-v1 .gic-method-example-body,
html[data-gic-theme="dark"] .gic-method-v1 .gic-method-v2-body {
  background:#203a30!important;border-color:#506f5c!important;color:#f1f4e8!important;
}
html[data-gic-theme="dark"] .gic-method-v1 .gic-method-example-prompt,
html[data-gic-theme="dark"] .gic-method-v1 .gic-method-v2-german,
html[data-gic-theme="dark"] .gic-method-v1 .gic-method-v2-offline .gic-method-example-body h2{color:#f1f4e7!important}
html[data-gic-theme="dark"] .gic-method-v1 :is(.gic-method-example-instruction,.gic-method-v2-hint,.gic-method-v2-no-write,.gic-method-v2-translation){color:#c7d6c8!important}
html[data-gic-theme="dark"] .gic-method-v1 .gic-method-v2-back,
html[data-gic-theme="dark"] .gic-method-v1 .gic-method-answer{background:#274739!important;border-color:#56745f!important;color:#f1eee1!important}
html[data-gic-theme="dark"] .gic-method-v1 .gic-method-btn-outline{color:#eaf3e8!important;background:#254839!important;border-color:#618473!important}
html[data-gic-theme="dark"] .gic-method-v1 .gic-method-v2-layers-shell{background:#20382e!important;border-color:#486858!important}
html[data-gic-theme="dark"] .gic-method-v1 .gic-method-v2-tab-strip{background:#20372d!important;border-color:#47624f!important}
html[data-gic-theme="dark"] .gic-method-v1 .gic-method-v2-tab:not(.is-active){color:#e6f1e2!important;background:#2b4939!important;border-color:#56765e!important}
html[data-gic-theme="dark"] .gic-method-v1 .gic-method-v2-tab.is-active{color:#fff!important;background:#176c56!important;border-color:#6da58a!important}
html[data-gic-theme="dark"] .gic-method-v1 .gic-method-v2-panel{
  --layer-ink:#f1efe0;--layer-soft:#284a3a;--layer-accent:#edcc91;
  background:#1f372d!important;color:#e7f1e5!important;
}
html[data-gic-theme="dark"] .gic-method-v1 .gic-method-v2-panel-header.gic-method-v3-panel-banner{
  background:#294537!important;border-color:#57735c!important;
}
html[data-gic-theme="dark"] .gic-method-v1 .gic-method-v3-panel-banner h3,
html[data-gic-theme="dark"] .gic-method-v1 .gic-method-v3-editorial :is(h1,h2,h3,h4,h5,h6),
html[data-gic-theme="dark"] .gic-method-v1 .gic-method-v3-editorial strong,
html[data-gic-theme="dark"] .gic-method-v1 .gic-method-v3-editorial b{color:#f2f0e3!important}
html[data-gic-theme="dark"] .gic-method-v1 .gic-method-v3-panel-subtitle{color:#c8d5c7!important}
html[data-gic-theme="dark"] .gic-method-v1 .gic-method-v3-layer-emblem{color:#eed1a0!important;background:#244437!important;border-color:#688269!important}
html[data-gic-theme="dark"] .gic-method-v1 .gic-method-v3-content,
html[data-gic-theme="dark"] .gic-method-v1 .gic-method-v3-editorial{background:#1f372d!important;color:#e0ebe0!important}
html[data-gic-theme="dark"] .gic-method-v1 .gic-method-v3-editorial :is(ul,ol,figure,blockquote,.lk-reply,.lk-note,.lk-level,.lk-item,.gic-method-v3-study-row){
  background:#2a4637!important;border-color:#5a7560!important;color:#e3eee1!important;box-shadow:none!important;
}
html[data-gic-theme="dark"] .gic-method-v1 .gic-method-v3-editorial :is(.lk-pill,.lk-tag){color:#e9cf98!important;background:#38513d!important;border-color:#72815c!important}
html[data-gic-theme="dark"] .gic-method-v1 .gic-method-v2-item.gic-method-v3-item,
html[data-gic-theme="dark"] .gic-method-v1 .gic-method-v2-item{
  background:#284437!important;border-color:#54705a!important;color:#eaf0e4!important;
}
html[data-gic-theme="dark"] .gic-method-v1 .gic-method-v3-item .gic-method-v2-item-de,
html[data-gic-theme="dark"] .gic-method-v1 .gic-method-v2-item-de{color:#f7f1e3!important}
html[data-gic-theme="dark"] .gic-method-v1 .gic-method-v3-item .gic-method-v2-item-en,
html[data-gic-theme="dark"] .gic-method-v1 .gic-method-v2-item-en{color:#cbd9ca!important}
html[data-gic-theme="dark"] .gic-method-v1 .gic-method-v3-audio-button{background:#305846!important;color:#f2f4e9!important;border-color:#658c73!important}
html[data-gic-theme="dark"] .gic-method-v1 .gic-method-v4-practice-board{
  color:#eff4e8!important;background:#223f32!important;border-color:#5a745d!important;box-shadow:0 12px 31px rgba(0,14,10,.24)!important;
}
html[data-gic-theme="dark"] .gic-method-v1 :is(.gic-method-v4-sample-de,.gic-method-v4-question-row p){color:#f4f2e4!important}
html[data-gic-theme="dark"] .gic-method-v1 .gic-method-v4-sample-en{color:#c9d7c8!important}
html[data-gic-theme="dark"] .gic-method-v1 .gic-method-v4-sample-type{background:#325744!important;color:#e4f4df!important}
html[data-gic-theme="dark"] .gic-method-v1 .gic-method-v4-rating-grid button{
  --rate-top:#30483a;--rate-bottom:#233b30;--rate-border:#577461;--rate-floor:#162b23;--rate-ink:#f0e9d9;
}
html[data-gic-theme="dark"] .gic-method-v1 .gic-method-v4-rating-grid button .gic-method-v4-rate-symbol{background:#3b5d49!important}
html[data-gic-theme="dark"] .gic-method-v1 .gic-method-v4-result,
html[data-gic-theme="dark"] .gic-method-v1 .gic-method-v4-review-card[data-review-state] .gic-method-v4-result{
  background:#304f3f!important;border-color:#60785e!important;color:#e6f0e2!important;box-shadow:none!important;
}
html[data-gic-theme="dark"] .gic-method-v1 :is(.gic-method-v4-result .gic-method-v2-rating-feedback,.gic-method-v4-result-kicker,.gic-method-v4-result-stamp){color:#e7f0dd!important}
html[data-gic-theme="dark"] .gic-method-v1 .gic-method-feature{
  --gic-p5-ink:#f3eddf;--gic-p5-accent:#f0c988;--gic-p5-tint:#27483a;
  --gic-p5-border:#4d715d;--gic-p5-ring:rgba(197,211,168,.11);
  --gic-p5-shine:rgba(94,137,94,.09);--gic-p5-glow:rgba(0,19,9,.08);
  background:#254035!important;border-color:#4d6c58!important;color:#edf0e3!important;
  box-shadow:0 9px 24px rgba(0,20,15,.14)!important;
}
html[data-gic-theme="dark"] .gic-method-v1 .gic-method-feature h3{color:#f3eedf!important}
html[data-gic-theme="dark"] .gic-method-v1 .gic-method-feature p{color:#c8d6c5!important}
html[data-gic-theme="dark"] .gic-method-v1 .gic-method-path-card,
html[data-gic-theme="dark"] .gic-method-v1 .gic-method-path-card-sand{
  color:#eef0e5!important;background:#274537!important;border-color:#59745e!important;
}
html[data-gic-theme="dark"] .gic-method-v1 .gic-method-path-card h3{color:#f3efdd!important}
html[data-gic-theme="dark"] .gic-method-v1 .gic-method-path-card p{color:#cbdacb!important}
html[data-gic-theme="dark"] .gic-method-v1 .gic-method-ending-inner{
  background:linear-gradient(125deg,#244439,#293b2d)!important;border-color:#60745b!important;color:#f0f0de!important;
}
html[data-gic-theme="dark"] .gic-method-v1 .gic-method-ending-inner p{color:#d5dfcf!important}
@media(prefers-reduced-motion:reduce){html[data-gic-theme="dark"] .gic-method-v1 *{transition:none!important}}
/* V5/V6 use section-specific selectors; override their final gradients as well. */
html[data-gic-theme="dark"] .gic-method-v5 .gic-method-principles .gic-method-feature{
  background:#254035!important;border-color:#587563!important;color:#edf0e3!important;
}
html[data-gic-theme="dark"] .gic-method-v6 .gic-method-ending .gic-method-ending-inner{
  background:linear-gradient(125deg,#244439,#293b2d)!important;
  border-color:#60745b!important;color:#f0f0de!important;
}
