/* New Japan themes: scene behind lessons, opaque content for reading. */
:root[data-learning-wallpaper="japan-spring"]{--learning-scene:url('/journey/japan-spring.webp');--season-bg:#fff5f7;--season-wash:#eef6ef;--season-header:#713450;--season-header-end:#a44c72;--season-accent:#87365f;--season-mark:#db7699;--season-soft:#fff0f5;--season-line:#edcbd9;--season-art:url('/journey/japan-spring.webp');--season-text:#43283b}
:root[data-learning-wallpaper="japan-summer"]{--learning-scene:url('/journey/japan-summer.webp');--season-bg:#effbfc;--season-wash:#fff7d9;--season-header:#07536a;--season-header-end:#087d8d;--season-accent:#075d78;--season-mark:#d59326;--season-soft:#e5f7f8;--season-line:#afdce0;--season-art:url('/journey/japan-summer.webp');--season-text:#163e4c}
:root[data-learning-wallpaper="japan-autumn"]{--learning-scene:url('/journey/japan-autumn.webp');--season-bg:#fff7eb;--season-wash:#f9efe5;--season-header:#684029;--season-header-end:#a45432;--season-accent:#824120;--season-mark:#bb6034;--season-soft:#fff0df;--season-line:#e7ccb1;--season-art:url('/journey/japan-autumn.webp');--season-text:#463425}
:root[data-learning-wallpaper="japan-winter"]{--learning-scene:url('/journey/japan-winter.webp');--season-bg:#f0f7ff;--season-wash:#edf2fb;--season-header:#1e405e;--season-header-end:#47739a;--season-accent:#234d78;--season-mark:#77a8ce;--season-soft:#e9f2fb;--season-line:#bcd2e5;--season-art:url('/journey/japan-winter.webp');--season-text:#233b55}
:root[data-learning-wallpaper] body:not(.journey-welcome){isolation:isolate;position:relative;background:transparent!important;min-height:100vh;min-height:100svh}
:root[data-learning-wallpaper] body:not(.journey-welcome)::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background-image:linear-gradient(#fff9,#fff8),var(--learning-scene);background-size:cover;background-position:center;background-repeat:no-repeat}
:root[data-learning-wallpaper] body:not(.journey-welcome) main{background:rgba(255,255,255,.36);border-radius:0 0 22px 22px}
:root[data-learning-wallpaper] body:not(.journey-welcome) :is(.panel,.card,.kanji-card,.listen-nav,.editor-panel){background-color:#fff;box-shadow:0 5px 22px #18384c14}
:root[data-learning-wallpaper] body:not(.journey-welcome) :is(.hero,.listen-hero){background:#fff;border:1px solid var(--season-line);border-radius:18px;padding:25px 28px;color:var(--season-text)}
:root[data-learning-wallpaper] body:not(.journey-welcome) footer{align-self:center;max-width:100%;background:#ffffffe8;border-radius:18px;padding:13px 22px;margin:16px;color:#405564}
@media(max-width:700px){:root[data-learning-wallpaper] body:not(.journey-welcome)::before{background-position:65% center}:root[data-learning-wallpaper] body:not(.journey-welcome) :is(.hero,.listen-hero){padding:21px 18px}}
@media print{:root[data-learning-wallpaper] body::before{display:none!important}:root[data-learning-wallpaper] body{background:#fff!important}}

/* V2: listening originally used pale text on a dark gradient; the new white
   content surface needs explicit dark foreground colors, not inheritance. */
:root[data-learning-wallpaper] body:not(.journey-welcome) :is(.hero,.listen-hero) p{color:#344e60}
:root[data-learning-wallpaper] body:not(.journey-welcome) :is(.hero,.listen-hero) :is(.eyebrow,.listen-kicker){color:#315d70}
:root[data-learning-wallpaper] body:not(.journey-welcome) .listen-hero :is(h1,.listen-count){color:#173e4d}
:root[data-learning-wallpaper] body:not(.journey-welcome) main :is(.help,.muted,.notice,.listen-voice-note){color:#4b5f70}
:root[data-learning-wallpaper] body:not(.journey-welcome) :is(.panel,.card,.kanji-card,.listen-nav){color:#18304b}
