/* Rêverie — a quiet celestial skin, replacing Observatoire (style 0). */
html[data-style="0"] {
 --radius:28px !important;--rv-serif:Georgia,'Iowan Old Style','Times New Roman',serif;
 --rv-moon:#806128;--rv-halo:color-mix(in srgb,var(--accent) 13%,transparent);
 --rv-rim:color-mix(in srgb,var(--accent) 27%,var(--line));
 --rv-panel:color-mix(in srgb,var(--surface) 94%,transparent);
 --rv-shadow:0 20px 60px -36px #52386645;
}
html[data-style="0"]:not([data-reverie-harmony]) {--surface:#fcf8ff !important;--ink:#312a43 !important;--muted:#665b79 !important;--line:#dfd5e9 !important;--soft:#eee7f4 !important;--g-surf2:#eee7f4 !important}
html[data-style="0"]:not([data-reverie-harmony]):not([data-reverie-background]) {--bg:#f3eff7 !important}
html[data-style="0"]:not([data-reverie-harmony]):not([data-reverie-accent]) {--accent:#755197 !important}
html[data-style="0"][data-theme="dark"] {--rv-moon:#e6d4a5;--rv-shadow:0 20px 60px -32px #02030fa0;--rv-halo:color-mix(in srgb,var(--accent) 11%,transparent)}
html[data-style="0"][data-theme="dark"]:not([data-reverie-harmony]) {--surface:#1a1b30 !important;--ink:#f0ecf9 !important;--muted:#b9b2ce !important;--line:#3b3552 !important;--soft:#25233d !important;--g-surf2:#25233d !important}
html[data-style="0"][data-theme="dark"]:not([data-reverie-harmony]):not([data-reverie-background]) {--bg:#101122 !important}
html[data-style="0"][data-theme="dark"]:not([data-reverie-harmony]):not([data-reverie-accent]) {--accent:#d0b9f4 !important}
html[data-style="0"] body {background:var(--bg);color:var(--ink);isolation:isolate}
.rv-sky {display:none;pointer-events:none}
html[data-style="0"] .rv-sky {display:block;position:fixed;inset:0;z-index:-1;background:radial-gradient(ellipse at 12% 9%,var(--rv-halo),transparent 52%),radial-gradient(ellipse at 91% 64%,color-mix(in srgb,var(--rv-moon) 7%,transparent),transparent 44%)}
html[data-style="0"] .rv-sky::before {content:'';position:absolute;inset:0;opacity:.36;background:radial-gradient(circle at 6% 26%,var(--rv-moon) 0 1px,transparent 1.8px),radial-gradient(circle at 19% 9%,var(--accent) 0 1px,transparent 2px),radial-gradient(circle at 34% 19%,var(--ink) 0 .6px,transparent 1.5px),radial-gradient(circle at 74% 9%,var(--rv-moon) 0 1px,transparent 2px),radial-gradient(circle at 95% 37%,var(--accent) 0 1px,transparent 1.7px),radial-gradient(circle at 7% 65%,var(--accent) 0 1px,transparent 1.8px),radial-gradient(circle at 91% 83%,var(--rv-moon) 0 1px,transparent 2px),radial-gradient(circle at 43% 91%,var(--ink) 0 .7px,transparent 1.5px),radial-gradient(circle at 63% 48%,var(--accent) 0 .6px,transparent 1.5px)}
html[data-style="0"] .rv-sky::after {content:'';position:absolute;right:3.5%;top:18%;width:8px;height:8px;background:var(--rv-moon);opacity:.65;clip-path:polygon(50% 0,60% 40%,100% 50%,60% 60%,50% 100%,40% 60%,0 50%,40% 40%)}
/* Editorial rhythm: a soft serif for titles, the familiar sans for navigation. */
html[data-style="0"] :is(h1,h2,h3,.heros-titre,.th-quick-card strong,.th-format strong,.th-place-copy strong,.th-journey-copy>strong) {font-family:var(--rv-serif);font-weight:400;letter-spacing:-.025em}
html[data-style="0"] body>header:has(>.top) {background:transparent;border:0;box-shadow:none}
html[data-style="0"] body>header:has(>.top)::before {display:none}
html[data-style="0"] body>header .top {padding-block:25px 23px}
html[data-style="0"] body>header .mega {padding:5px;gap:6px;min-height:60px;border:1px solid var(--rv-rim);border-radius:999px;background:var(--rv-panel);box-shadow:var(--rv-shadow)}
html[data-style="0"] body>header .mega::before,html[data-style="0"] body>header .mega::after {display:none}
html[data-style="0"] body>header .mega>.mega-family {flex:1 1 auto}
html[data-style="0"] body>header .mega>.mega-family>summary {justify-content:center;min-height:46px;padding-inline:18px;border-radius:999px;font-weight:550;transition:background .3s ease,color .3s ease}
html[data-style="0"] body>header nav.mega>.mega-family.mega-actif>summary[aria-current],html[data-style="0"] body>header .mega>.mega-family[open]>summary {background:var(--soft) !important;color:var(--accent);box-shadow:inset 0 0 0 1px var(--rv-rim)}
html[data-style="0"] body>header .mega>.mega-family>.mega-panel {top:calc(100% + 12px);border-radius:28px;border:1px solid var(--rv-rim);background:var(--surface);box-shadow:0 22px 70px #0003}
html[data-style="0"] .mega :is(.mega-porte,.mega-close) {border-radius:999px;border-color:var(--rv-rim);background:var(--soft);color:var(--ink)}
html[data-style="0"] body>header form.search {border-radius:999px;border:1px solid var(--rv-rim);background:var(--rv-panel);box-shadow:none}
html[data-style="0"] body>header form.search input {background:transparent;color:var(--ink)}
html[data-style="0"] body>header .mh-grappe :is(.mh-ib,.header-locale-label),html[data-style="0"] body>header .em-actions :is(#favorites,.em-toggle) {border-radius:50%;background:var(--rv-panel);border:1px solid var(--rv-rim);color:var(--accent);box-shadow:inset 0 0 0 4px var(--bg)}
html[data-style="0"] body>header .mh-grappe .mh-pro {background:var(--accent);color:var(--bg);border-radius:999px;box-shadow:none}
/* A moonlit sheet, with the media kept intact and readable. */
html[data-style="0"] .th-home .heros-carte {background:radial-gradient(ellipse at 0 0,var(--rv-halo),transparent 65%),var(--rv-panel) !important;border:1px solid var(--rv-rim);border-radius:40px 40px 28px 28px;box-shadow:var(--rv-shadow);padding:38px 40px 26px;gap:24px 42px}
html[data-style="0"] .heros-titre {font-family:var(--rv-serif);font-size:clamp(34px,3.85vw,53px);font-weight:400;line-height:1.08;letter-spacing:-.04em;color:var(--ink)}
html[data-style="0"] .heros-titre mark {background:transparent;color:var(--accent);font-style:italic;padding:0;border-radius:0}
html[data-style="0"] .heros-lieu {display:flex;align-items:center;gap:12px;color:var(--rv-moon);font-size:10px;letter-spacing:.19em;font-weight:650;opacity:1}
html[data-style="0"] .heros-lieu::before {content:'';width:13px;height:13px;flex:none;border-radius:50%;box-shadow:inset -4px -1px 0 0 var(--rv-moon);transform:rotate(-25deg)}
html[data-style="0"] .heros-dit {color:var(--muted);line-height:1.65}
html[data-style="0"] .heros-cta {border:1px solid color-mix(in srgb,var(--accent) 75%,var(--rv-moon));border-radius:999px;background:var(--accent);color:var(--bg);min-height:46px;padding-inline:24px;font-weight:650;box-shadow:0 4px 16px color-mix(in srgb,var(--accent) 12%,transparent);transition:transform .3s ease,box-shadow .3s ease}
html[data-style="0"] .heros-carte .heros-media {border-radius:28px;--ec-h:6px;--ec-b:6px;box-shadow:0 0 0 1px var(--rv-rim),0 14px 42px #0002}
html[data-style="0"] .heros-carte .heros-media :is(img,iframe) {border-radius:22px}
html[data-style="0"] .heros-lire {width:64px;height:64px;border:1px solid #e6d4a5a0;background:#17152bdf !important;box-shadow:0 0 0 6px #d0b9f418,0 0 28px #d0b9f430}
html[data-style="0"] .heros-lire::after {left:27px;top:22px;border-left:15px solid #ede1c4;border-top:10px solid transparent;border-bottom:10px solid transparent}
html[data-style="0"] .carousel-steps {background:var(--rv-panel);border:1px solid var(--rv-rim);box-shadow:none;padding:4px;gap:5px}
html[data-style="0"] .carousel-steps>span {color:var(--muted);font-variant-numeric:tabular-nums;font-size:13px}
html[data-style="0"] .carousel-nav button {background:var(--soft);color:var(--accent);border-radius:50%}
html[data-style="0"] .carousel-caption {font-family:var(--rv-serif);font-style:italic;font-size:14px;font-weight:400;color:var(--muted)}
html[data-style="0"] .th-home .th-section-head h2 {font-family:var(--rv-serif);font-size:clamp(28px,2.9vw,37px);line-height:1.16;font-weight:400;letter-spacing:-.035em}
html[data-style="0"] .th-home .th-section-head>a {font-size:13px;font-weight:550}
html[data-style="0"] :is(.th-quick-card,.th-format,.card,.memory,.selection,.th-mag-card) {background:var(--rv-panel);border:1px solid var(--line);border-radius:26px;box-shadow:var(--rv-shadow)}
html[data-style="0"] .th-quick-card {padding:24px;min-height:150px;gap:17px}
html[data-style="0"] .th-quick-card .th-meta {color:var(--rv-moon);font-size:10px;font-weight:650;letter-spacing:.14em}
html[data-style="0"] .th-quick-card strong {font-family:var(--rv-serif);font-size:23px;font-weight:400;letter-spacing:-.025em}
html[data-style="0"] .th-quick-card .th-go {font-weight:400;color:var(--accent)}
html[data-style="0"] .th-format {min-height:126px;padding:24px 20px;gap:15px}
html[data-style="0"] .th-format svg {color:var(--rv-moon);stroke-width:1.35}
html[data-style="0"] .th-format strong {font-family:var(--rv-serif);font-size:23px;font-weight:400;letter-spacing:-.02em}
html[data-style="0"] .th-place {border-radius:28px 28px 24px 24px;border:1px solid var(--rv-rim)}
html[data-style="0"] .th-place-copy strong {font-family:var(--rv-serif);font-weight:400;letter-spacing:-.025em}
html[data-style="0"] .th-home .th-journey {border-radius:30px;background:linear-gradient(115deg,#231d3e,#353755)}
html[data-style="0"] .th-journey .th-journey-cta {background:#e6d4a5;color:#292239 !important}
html[data-style="0"] .th-home .th-reading :is(.th-editorial,.th-magazine) {border-top:1px solid var(--rv-rim)}
html[data-style="0"] .th-home .th-mag-card h3 {font-family:var(--rv-serif);font-size:21px;font-weight:400}
/* The sky continues through search, results, settings and the player. */
html[data-style="0"] #browse .explore-panel {padding:30px 32px;border-radius:32px;border:1px solid var(--rv-rim);background:var(--rv-panel);box-shadow:var(--rv-shadow)}
html[data-style="0"] #browse #explore-title {font-family:var(--rv-serif);font-weight:400;letter-spacing:-.025em}
html[data-style="0"] #browse .explore-label {font-size:11px;letter-spacing:.08em;color:var(--muted)}
html[data-style="0"] #browse :is(#query,.explore-field select,.listing-toolbar select) {border:1px solid var(--rv-rim);border-radius:18px;background:var(--surface);color:var(--ink);box-shadow:none}
html[data-style="0"] #browse #search button {border-radius:999px;background:var(--accent);color:var(--bg)}
html[data-style="0"] #browse .result[data-listing-card] {border-radius:24px;border-color:var(--line);background:var(--rv-panel);box-shadow:none}
html[data-style="0"] #browse .listing-copy :is(h2,h3) {font-family:var(--rv-serif);font-weight:400;font-size:23px}
html[data-style="0"] #browse .listing-copy .label {color:var(--rv-moon);letter-spacing:.08em;font-size:10px}
html[data-style="0"] :is(.ap-panel,.fav2-dialog,.home-search-panel) {background:var(--surface);border:1px solid var(--rv-rim);border-radius:28px;box-shadow:0 20px 60px #0003}
html[data-style="0"] :is(.ap-mode,.ap-reset,.ap-close,.fav2-close,.stream-controls button,.stream-tools button,.stream-settings button) {border-radius:999px;border-color:var(--rv-rim)}
html[data-style="0"] #detail :is(.stream-controls,.stream-tools,.stream-settings) {border-radius:24px;border-color:var(--rv-rim);background:var(--surface)}
html[data-style="0"] .ac-preview[data-style="0"] {border-radius:24px;background:radial-gradient(ellipse at 10% 0,var(--rv-halo),transparent 80%),var(--bg);border-color:var(--rv-rim)}
html[data-style="0"] .ac-preview[data-style="0"] .ac-preview-picture {width:65px;height:65px;border-radius:50%;clip-path:none;background:transparent;box-shadow:inset -18px -5px var(--rv-moon);transform:rotate(-20deg)}
html[data-style="0"] :is(button,a,input,select,summary):focus-visible {outline:3px solid var(--accent);outline-offset:4px}
html[data-style="0"] select option {background:var(--surface);color:var(--ink)}
@media(hover:hover) and (pointer:fine) {
 html[data-style="0"] body>header .mega>.mega-family>summary:hover {color:var(--accent);background:var(--soft)}
 html[data-style="0"] :is(.th-quick-card,.th-format,.th-mag-card) {transition:transform .3s ease,border-color .3s ease,box-shadow .3s ease}
 html[data-style="0"] :is(.th-quick-card,.th-format,.th-mag-card):hover {transform:translateY(-3px);border-color:var(--accent);box-shadow:0 10px 30px -15px var(--rv-halo),0 0 24px -8px var(--rv-halo);color:var(--ink)}
 html[data-style="0"] .heros-cta:hover {transform:translateY(-1px);box-shadow:0 0 0 4px var(--rv-halo),0 5px 24px var(--rv-halo)}
 html[data-style="0"] .carousel-nav button:not(:disabled):hover {background:var(--accent);color:var(--bg)}
}
@media(max-width:900px) {html[data-style="0"] .th-home .heros-carte {padding:26px;gap:24px}}
@media(max-width:760px) {
 html[data-style="0"] body>header .top {padding-block:12px}
 html[data-style="0"] body>header .mega {min-height:54px;padding:4px;gap:2px}
 html[data-style="0"] body>header[data-mobile01] .mega>.mega-family>summary {min-height:44px;padding:0}
 html[data-style="0"] body>header[data-mobile01].em-open .mh-grappe {background:var(--surface);border:1px solid var(--rv-rim);border-radius:24px}
 html[data-style="0"] .th-home .heros-carte {padding:15px 18px 20px;border-radius:30px;gap:22px}
 html[data-style="0"] .heros-titre {font-size:36px;line-height:1.09}
 html[data-style="0"] .heros-carte .heros-media {border-radius:23px;--ec-h:5px;--ec-b:5px}
 html[data-style="0"] .heros-carte .heros-media :is(img,iframe) {border-radius:18px}
 html[data-style="0"] .th-home .th-section-head h2 {font-size:29px}
 html[data-style="0"] .th-quick-card {padding:21px;min-height:108px}
 html[data-style="0"] .th-format {padding:21px 15px;gap:12px;min-height:120px}
 html[data-style="0"] .th-format strong {font-size:21px}
 html[data-style="0"] .th-format svg {width:25px;height:25px}
 html[data-style="0"] #browse .explore-panel {padding:24px 20px}
 html[data-style="0"] .th-place {border-radius:24px 24px 22px 22px}
}
@media(prefers-reduced-motion:reduce) {html[data-style="0"] :is(.th-quick-card,.th-format,.th-mag-card,.heros-cta,.mega-family>summary) {transition:none !important;transform:none !important}}
@media(prefers-contrast:more) {html[data-style="0"] {--rv-rim:var(--muted);--rv-panel:var(--surface)}html[data-style="0"] .rv-sky {display:none}}
@media print {html[data-style="0"] .rv-sky {display:none}}
