/* Shared public chrome. Every selector is scoped away from member and embedded interfaces. */
html.public-modern{--pub-ink:#244e58;--pub-teal:#285f68;--pub-paper:#fcfaf0;--pub-line:#2a666425;scroll-padding-top:80px}
html.public-modern body{margin:0;color:var(--pub-ink);background:linear-gradient(#f1f8f3ee,#e3efebf5 650px,#eaf2ed),url('/Station/img/mers/mediterranee.png') top center/cover fixed;font-family:system-ui,-apple-system,sans-serif;padding-bottom:75px}
.public-modern .pub-header *,.public-modern .pub-rubrics *,.public-modern .pub-footer *,.public-modern .pub-tools *,.public-modern #pub-contact *{box-sizing:border-box}
.public-modern .pub-shell{width:min(1200px,92%);margin-inline:auto}.public-modern .pub-header a,.public-modern .pub-rubrics a,.public-modern .pub-footer a{color:inherit;text-decoration:none}.public-modern .pub-header a:hover,.public-modern .pub-footer a:hover{text-decoration:underline}.public-modern .pub-header button,.public-modern .pub-rubrics button,.public-modern .pub-footer button,.public-modern .pub-tools button{font:inherit;cursor:pointer;touch-action:manipulation}.public-modern :is(.pub-header,.pub-rubrics,.pub-footer,.pub-tools,#pub-contact) :is(a,button,input,textarea,summary):focus-visible{outline:3px solid #aa8538;outline-offset:4px}
.public-modern .pub-header{background:#f2f8efb8;border-bottom:1px solid #fff;color:var(--pub-ink);position:relative;z-index:205}.public-modern .pub-brand-row{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:20px 0}.public-modern .pub-brand{font:bold 25px/1.1 Georgia,serif;letter-spacing:.035em;white-space:nowrap}.public-modern .pub-brand small{display:block;font:10px/1.4 system-ui;letter-spacing:.13em;margin-top:7px}.public-modern .pub-utility{display:flex;gap:19px;align-items:center;font-size:12px;line-height:1.4}.public-modern .pub-utility button{background:none;color:inherit;padding:0;border:0;font-size:12px}.public-modern .pub-actions{display:flex;gap:8px;align-items:center}.public-modern .pub-pill{padding:8px 16px;border:1px solid #7eaaa9;border-radius:30px;background:var(--pub-paper);color:var(--pub-ink);font-weight:600;font-size:12px;min-height:42px;display:inline-flex;align-items:center;justify-content:center;line-height:1.4;text-decoration:none!important;cursor:pointer}.public-modern .pub-dark{color:#fff!important;background:var(--pub-teal);border-color:var(--pub-teal)}
.public-modern .pub-partners{text-align:center;font-size:12px;border-top:1px solid var(--pub-line)}.public-modern .pub-partners summary{cursor:pointer;padding:6px;list-style:none;min-height:34px}.public-modern .pub-partners summary::-webkit-details-marker{display:none}.public-modern .pub-partners summary::after{content:'⌄';margin-left:10px}.public-modern .pub-partners[open] summary::after{content:'⌃'}.public-modern .pub-partner-list{display:flex;justify-content:center;align-items:center;gap:24px;padding:12px;flex-wrap:wrap}.public-modern .pub-patron{display:flex;align-items:center;gap:9px;text-align:left;font-weight:600;font-size:11px}.public-modern .pub-patron img{display:block;width:90px;height:60px;object-fit:contain;border-radius:7px}.public-modern .pub-logo{display:block;width:74px;height:30px;object-fit:contain}
.public-modern .pub-rubrics{position:sticky;top:0;z-index:200;background:#f8fbf4ed;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid var(--pub-line);color:var(--pub-ink)}.public-modern .pub-rubrics nav{display:flex;justify-content:center;gap:8px;padding:10px 0}.public-modern .pub-rubrics a{display:flex;align-items:center;gap:9px;font-size:13px;padding:8px 23px;border-radius:25px;min-height:44px;font-weight:600;line-height:1.3}.public-modern .pub-rubrics a[aria-current]{background:var(--pub-teal);color:#fff;box-shadow:0 3px 8px #1c525220}.public-modern .pub-rubrics a:hover{background:#dfeee7}.public-modern .pub-rubrics a[aria-current]:hover{background:var(--pub-teal)}.public-modern .pub-mobile-menu{display:none}
@font-face{font-family:pub-nav54;src:url('/IN/assets_shared/nav-fonts/nav-icon54.woff') format('woff');font-display:block}@font-face{font-family:pub-nav54v4;src:url('/IN/assets_shared/nav-fonts/nav-icon54-v4.woff') format('woff');font-display:block}@font-face{font-family:pub-compass;src:url('/IN/assets_shared/nav-fonts/nav-compass.woff') format('woff');font-display:block}@font-face{font-family:pub-film;src:url('/IN/assets_shared/nav-fonts/nav-film.woff2') format('woff2');font-display:block}
.public-modern .pub-icon{display:inline-flex;align-items:center;justify-content:center;position:relative;flex:none;width:26px;height:26px;font-size:26px;font-weight:400;line-height:1;color:inherit;font-style:normal;-webkit-font-smoothing:antialiased}.public-modern .pub-icon--fish,.public-modern .pub-icon--starfish{font-family:pub-nav54}.public-modern .pub-icon--news{font-family:pub-nav54v4}.public-modern .pub-icon--compass{font-family:pub-compass}.public-modern .pub-icon--film{font-family:pub-film}.public-modern .pub-icon--fish::before{content:'\ec6b'}.public-modern .pub-icon--news::before{content:'\eb42'}.public-modern .pub-icon--compass::before{content:'\e628'}.public-modern .pub-icon--starfish::before{content:'\f00a'}.public-modern .pub-icon--film::before{content:'\e03a'}.public-modern .pub-icon--search::before{content:'';width:.48em;height:.48em;border:2px solid currentColor;border-radius:50%;position:absolute;left:.16em;top:.12em}.public-modern .pub-icon--search::after{content:'';position:absolute;width:.32em;height:2px;background:currentColor;transform:rotate(45deg);left:.61em;top:.69em}
.public-modern .institution-content{width:min(1200px,92%);padding-top:30px;color:var(--pub-ink)}.public-modern .institution-content>section,.public-modern .institution-content>div[id^=custom-html]{background:#fcfaf0d9;border:1px solid #fff;border-radius:20px;box-shadow:0 6px 20px #1b55540d}.public-modern .institution-content .btn{border-radius:25px}.public-modern .institution-content h1{letter-spacing:-.025em;font-weight:600}
.public-modern .pub-footer{margin-top:35px;background:#f7f7e9e8;border-top:1px solid #fff;padding:30px 0 25px;color:var(--pub-ink);font:15px/1.6 system-ui,-apple-system,sans-serif}.public-modern .pub-footer-grid{display:grid;grid-template-columns:1.7fr 1fr 1fr;gap:60px}.public-modern .pub-footer-brand{font:bold 19px Georgia,serif}.public-modern .pub-footer p{font-size:12px;line-height:1.65;margin:10px 0;color:#517176}.public-modern .pub-footer-grid>div:first-child p{max-width:400px}.public-modern .pub-footer h2{font-size:12px;margin:0 0 10px;line-height:1.5;font-weight:650;color:inherit}.public-modern .pub-footer nav{display:flex;flex-direction:column;gap:7px;font-size:12px}.public-modern .pub-footer .pub-pill{width:max-content;margin-top:5px}.public-modern .pub-legal{border-top:1px solid var(--pub-line);margin-top:24px;padding-top:16px}.public-modern .pub-legal nav{flex-direction:row;flex-wrap:wrap;gap:8px 18px;font-size:10px}.public-modern .pub-legal p{font-size:10px}.public-modern .pub-moi{font-size:10px!important}
.public-modern .pub-tools{position:fixed;z-index:99990;bottom:12px;right:16px;display:flex;gap:9px;align-items:center}.public-modern #pub-fullscreen{background:#fff;color:var(--pub-ink);border:1px solid #8dadaa;border-radius:9px;min-width:44px;height:44px;font-size:24px;line-height:1}.public-modern #pub-language-slot .dive-language{position:static!important;inset:auto!important;transform:none!important;margin:0!important;display:flex;gap:3px;border:1px solid #91b5b4;border-radius:10px;background:#fffffff0;padding:3px;box-shadow:0 3px 15px #244e5814}.public-modern #pub-language-slot .dive-language a,.public-modern #pub-language-slot .dive-language button{border:0;border-radius:6px;padding:9px 12px;font:11px/1.4 system-ui;min-width:38px;min-height:38px;background:none;color:var(--pub-ink);text-decoration:none;display:flex;align-items:center;justify-content:center}.public-modern #pub-language-slot .dive-language [aria-pressed=true],.public-modern #pub-language-slot .dive-language [aria-current=true]{background:var(--pub-teal);color:#fff}
.public-modern #watermark{max-width:calc(100vw - 240px)!important;display:flex!important;align-items:center;justify-content:center;gap:8px;bottom:12px!important;z-index:99980!important}.public-modern #watermark .wm-container{flex:0 1 auto;min-width:0}.public-modern #watermark .wm-box{max-width:100%!important;white-space:normal!important;padding:7px 12px!important}.public-modern #watermark .wm-text{font-size:16px!important;line-height:1.4!important;white-space:normal!important}.public-modern #watermark .wm-link-wrapper{display:block;pointer-events:auto!important}.public-modern #watermark #wm-logout{position:static!important;inset:auto!important;transform:none!important;flex:0 0 44px;width:44px;height:44px;pointer-events:auto!important}
.public-modern #pub-contact{position:fixed;inset:0;margin:auto;padding:0;border:1px solid #fff;border-radius:22px;width:min(580px,92vw);max-height:88dvh;background:#f8faef;color:var(--pub-ink);z-index:100001;overflow:auto;box-shadow:0 25px 80px #163d4950}.public-modern #pub-contact::backdrop{background:#244e5866;backdrop-filter:blur(4px)}.public-modern .pub-dialog-head{position:sticky;top:0;background:#f8faef;border-bottom:1px solid var(--pub-line);padding:15px 20px;display:flex;align-items:center;justify-content:space-between;z-index:1}.public-modern .pub-dialog-head h2{font-size:23px;margin:0}.public-modern .pub-dialog-head button{width:44px;height:44px;min-height:44px;border:1px solid #bed5cb;border-radius:50%;background:#fff;color:inherit;font:26px Arial;cursor:pointer}.public-modern .pub-contact-form{display:grid;gap:9px;padding:20px}.public-modern .pub-contact-form label{font-size:12px}.public-modern .pub-contact-form input:not([type=hidden]),.public-modern .pub-contact-form textarea{width:100%;padding:12px;border:1px solid #abc8be;border-radius:10px;background:#fff;color:var(--pub-ink);font:16px/1.5 system-ui;min-height:44px}.public-modern .pub-contact-form img{width:200px;height:50px;max-width:100%;object-fit:contain}
@media(max-width:1100px){.public-modern .pub-brand-row{flex-wrap:wrap;gap:15px}.public-modern .pub-utility{order:3;justify-content:center;width:100%}.public-modern .pub-brand{font-size:22px}.public-modern .pub-rubrics a{padding-inline:16px}.public-modern .pub-footer-grid{gap:30px}}
@media(max-width:800px){.public-modern .pub-rubrics a{padding:8px 10px;font-size:11px;gap:6px}.public-modern .pub-footer-grid{grid-template-columns:1fr 1fr}.public-modern .pub-footer-grid>div:first-child{grid-column:1/-1}.public-modern #watermark .wm-text{font-size:13px!important}}
@media(max-width:600px){html.public-modern{scroll-padding-top:55px}.public-modern .pub-brand-row{padding:15px 0 10px;gap:12px}.public-modern .pub-brand{font-size:20px}.public-modern .pub-brand small{font-size:9px}.public-modern .pub-actions{gap:6px}.public-modern .pub-actions .pub-pill{font-size:10px;padding:6px 10px;min-height:40px}.public-modern .pub-utility{gap:5px 15px;flex-wrap:wrap;font-size:11px}.public-modern .pub-utility a,.public-modern .pub-utility button{min-height:38px;display:inline-flex;align-items:center;font-size:11px}.public-modern .pub-partners summary{font-size:12px;min-height:38px}.public-modern .pub-partner-list{gap:15px}.public-modern .pub-mobile-menu{display:flex;align-items:center;justify-content:space-between;width:100%;padding:10px 0;min-height:46px;background:none;color:inherit;font-weight:600;font-size:12px;border:0}.public-modern .pub-rubrics nav{display:none;grid-template-columns:repeat(2,1fr);padding:4px 0 12px;gap:4px}.public-modern .pub-rubrics.pub-open nav{display:grid}.public-modern .pub-rubrics a{font-size:12px;justify-content:center;min-height:44px}.public-modern .pub-footer-grid{gap:25px 15px}.public-modern .institution-content{padding-top:20px}.public-modern .pub-tools{right:8px;bottom:10px;gap:5px}.public-modern #pub-language-slot .dive-language a,.public-modern #pub-language-slot .dive-language button{padding:7px 9px;min-width:32px}.public-modern #pub-fullscreen{min-width:38px}.public-modern #watermark{left:8px!important;right:auto!important;transform:none!important;max-width:calc(100vw - 150px)!important;width:calc(100vw - 150px)!important;bottom:10px!important;gap:5px}.public-modern #watermark .wm-text{font-size:11px!important}.public-modern #watermark .wm-box{padding:5px 7px!important}.public-modern #watermark #wm-logout{flex-basis:36px;width:36px;height:44px}}
@media(pointer:coarse){.public-modern .pub-utility a,.public-modern .pub-utility button,.public-modern .pub-partners summary{min-height:44px}.public-modern #pub-language-slot .dive-language a,.public-modern #pub-language-slot .dive-language button{min-height:44px}}

.public-modern .institution-content :is(h1,h2,h3,h4,h5){font-family:system-ui,-apple-system,sans-serif}.public-modern .institution-content .support-intro{margin-inline:auto}.public-modern #watermark .wm-text{white-space:nowrap!important}.public-modern #watermark .wm-container{max-width:100%}.public-modern #watermark .wm-box{width:fit-content!important}.public-modern #watermark #wm-logout{flex-shrink:0}
@media(max-width:800px){.public-modern #watermark .wm-text{white-space:normal!important}}

/* Keep article controls below the shared rubric navigation. */
.public-modern body.article-reader-page .article-levels{position:sticky;top:var(--pub-rubrics-height,65px);z-index:190;background:#f4f8efed;color:var(--pub-ink);box-shadow:0 3px 12px #244e5810;border-color:var(--pub-line)}
.public-modern body.article-reader-page .article-levels a{color:var(--pub-ink);border-color:#9dbfb9}
.public-modern body.article-reader-page .article-levels a.active{background:var(--pub-teal);border-color:var(--pub-teal);color:#fff}
.public-modern body.article-reader-page .article{margin-top:0}

/* Isolate utility links from page-specific button styling. */
.public-modern .pub-utility>a,.public-modern .pub-utility>button{display:inline-flex;align-items:center;justify-content:center;align-self:center;position:static;inset:auto;float:none;margin:0!important;padding:0;min-height:44px;height:auto;line-height:1.4;transform:none;white-space:nowrap;vertical-align:middle}
.public-modern .pub-utility>button{appearance:none;-webkit-appearance:none;box-shadow:none;border-radius:0;background:transparent}

/* Identifier: the public player and its complete supporting content. */
html.public-modern.plongee-perso-page,html.public-modern body.plongee-perso-page{background:linear-gradient(#f1f8f3ee,#e3efebf5 650px,#eaf2ed),url('/Station/img/mers/mediterranee.png') top center/cover fixed!important;color:var(--pub-ink)}
.public-modern #videoPage:not(:fullscreen){width:min(1200px,92%);margin:28px auto 0}
.public-modern #videoPage:not(:fullscreen) .player-container{width:100%;box-shadow:0 12px 35px #244e5818;border:1px solid #fff;background:var(--pub-paper);border-radius:20px}
.public-modern #videoPage:not(:fullscreen) .video-launch-photo{transform:none;filter:none;max-width:100%;height:100%;aspect-ratio:auto;width:100%}
.public-modern #videoPage:not(:fullscreen) .video-launch-photo::before,.public-modern #videoPage:not(:fullscreen) .video-photo-edge{display:none}
.public-modern #videoPage:not(:fullscreen) .video-launch-photo img{clip-path:none;object-fit:contain}
.public-modern #videoPage:not(:fullscreen) .video-launch-backdrop{opacity:.25}
.public-modern #videoPage:not(:fullscreen) .video-launch-btn{background:#fcfaf0ee;color:var(--pub-teal);border:1px solid #fff;box-shadow:0 8px 25px #0003}
.public-modern #videoPage:not(:fullscreen) .controls-zone{background:#fcfaf0ed;color:var(--pub-ink);border-top:1px solid var(--pub-line);padding:10px 16px;gap:10px;border-radius:0 0 20px 20px}
.public-modern #videoPage:not(:fullscreen) .controls-zone .btn{background:#e1eee8;color:var(--pub-ink);border:1px solid #a7c6bf;border-radius:50%;min-width:44px;min-height:44px;box-shadow:none}
.public-modern #videoPage:not(:fullscreen) .controls-zone .btn:hover{background:var(--pub-teal);color:#fff}
.public-modern #videoPage:not(:fullscreen) .controls-zone .time{color:var(--pub-ink);font-size:13px;white-space:nowrap}
.public-modern #videoPage:not(:fullscreen) .progress-bg{background:#cfdfd7}
.public-modern #videoPage:not(:fullscreen) .progress-bar{background:var(--pub-teal)}
.public-modern #videoPage:not(:fullscreen) .quality-info{color:#416c70}
.public-modern #videoPage:not(:fullscreen) .espece-nom-zone{background:var(--pub-paper);color:var(--pub-ink)}
.public-modern #videoPage:not(:fullscreen) .rail-handle{width:100%;margin:24px 0 0;background:#fcfaf0d9;border:1px solid #fff;color:var(--pub-ink);box-shadow:none;border-radius:16px;justify-content:flex-start;min-height:64px}
.public-modern #videoPage:not(:fullscreen) .rail-title{color:var(--pub-ink);font-size:17px;font-weight:650}
.public-modern #videoPage:not(:fullscreen) .rail-stats{color:#517176;font-size:12px}
.public-modern #videoPage:not(:fullscreen) .rail-layout{width:100%;background:#fcfaf0bd;border:1px solid #fff;border-radius:16px;margin-top:10px}
.public-modern #videoPage:not(:fullscreen) .rail-filtres{width:260px;background:#f3f6ecd9;border-color:var(--pub-line);padding:20px;color:var(--pub-ink)}
.public-modern #videoPage:not(:fullscreen) .filtre-titre{color:var(--pub-teal)}
.public-modern #videoPage:not(:fullscreen) .rail-select{background:#fcfaf0;color:var(--pub-ink);border-color:#9dbfb9}
.public-modern #videoPage:not(:fullscreen) .rail-mer-note{color:#517176}
.public-modern #videoPage:not(:fullscreen) .filtre-pill{background:#e6efe6;color:var(--pub-ink);border-color:#a7c6bf;box-shadow:none}
.public-modern #videoPage:not(:fullscreen) .filtre-pill.active{background:var(--pub-teal);color:#fff}
.public-modern #videoPage:not(:fullscreen) .rail-plongees{padding:20px;gap:16px;scrollbar-color:#8aafa5 transparent}
.public-modern #videoPage:not(:fullscreen) .rail-item{background:var(--pub-paper);border:1px solid #fff;border-radius:14px;box-shadow:0 4px 16px #244e5812;color:var(--pub-ink)}
.public-modern #videoPage:not(:fullscreen) .rail-item.active{outline:2px solid var(--pub-teal);box-shadow:none}
.public-modern #videoPage:not(:fullscreen) .rail-item.vu::before{background:var(--pub-teal);box-shadow:none;width:30px;height:30px;font-size:17px}
.public-modern body.plongee-perso-page :is(.plongee-seo-summary,.observation-links,.article-backlinks,.seo-section){width:min(1200px,92%);max-width:1200px;margin:28px auto;padding:28px 32px;border:1px solid #fff;border-radius:20px;background:#fcfaf0cc!important;box-shadow:none;color:var(--pub-ink)}
.public-modern .plongee-seo-summary #plongee-seo-title{font-size:clamp(26px,3vw,40px);font-weight:650;letter-spacing:-.025em;color:var(--pub-ink)}
.public-modern .plongee-seo-kicker{color:#487a80;font-size:11px}
.public-modern .plongee-seo-facts div{background:#e6efe6b3;border:1px solid #d6e4da;border-radius:12px}
.public-modern body.plongee-perso-page .observation-links a{background:#eef3e9;color:var(--pub-ink);border-color:#abc5bb;font-size:14px}
.public-modern body.plongee-perso-page .seo-section details{background:transparent;border:0;box-shadow:none;color:var(--pub-ink)}
.public-modern body.plongee-perso-page .seo-section summary{color:var(--pub-ink);background:transparent;font-weight:600}
@media(max-width:800px){.public-modern #videoPage:not(:fullscreen){width:94%;margin-top:16px}.public-modern #videoPage:not(:fullscreen) .rail-filtres{width:220px}.public-modern #videoPage:not(:fullscreen) .controls-zone{padding:8px;gap:7px}.public-modern body.plongee-perso-page :is(.plongee-seo-summary,.observation-links,.article-backlinks,.seo-section){width:94%;padding:22px;margin:20px auto}}
@media(max-width:600px){.public-modern #videoPage:not(:fullscreen) .rail-layout{flex-direction:column}.public-modern #videoPage:not(:fullscreen) .rail-filtres{width:100%;border-right:0;border-bottom:1px solid var(--pub-line)}.public-modern #videoPage:not(:fullscreen) .video-zone{aspect-ratio:16/9}.public-modern #videoPage:not(:fullscreen) .controls-zone{flex-wrap:wrap}.public-modern #videoPage:not(:fullscreen) .progress-wrapper{min-width:90px;flex:1}.public-modern #videoPage:not(:fullscreen) .rail-title{font-size:15px}}

.pub-dive-language-frame{position:fixed!important;inset:0!important;width:100%!important;height:100%!important;border:0!important;z-index:2147483646!important;background:#f1f7ef}
html.pub-dive-language-view body{overflow:hidden!important;padding:0!important}
.pub-dive-language-view :is(.pub-header,.pub-rubrics,.pub-footer,.plongee-seo-summary,.observation-links,.article-backlinks,.seo-section){display:none!important}
.pub-dive-language-view #videoPage:not(:fullscreen){position:fixed;inset:0;width:100%;height:100dvh;margin:0;display:flex;flex-direction:column;overflow:hidden}
.pub-dive-language-view #videoPage:not(:fullscreen) .player-container{display:flex;flex-direction:column;flex:1;min-height:0;border:0;border-radius:0}
.pub-dive-language-view #videoPage:not(:fullscreen) .video-zone{flex:1;min-height:0;aspect-ratio:auto;border-radius:0}
.pub-dive-language-view #videoPage .controls-zone{flex:none;border-radius:0!important}
.pub-dive-language-view #videoPage .rail-handle{flex:none;min-height:48px;margin:0!important;border-radius:0!important}
.pub-dive-language-view #videoPage .rail-layout{max-height:40vh;flex:none;margin:0!important}

/* Admirer: public web viewer only. Paired and professional screens keep their original shell. */
html.public-modern:has(body.pub-tv-page){height:auto;overflow:auto;color-scheme:light}
html.public-modern body.pub-tv-page{height:auto;min-height:100dvh;overflow:auto}
.public-modern .pub-tv-player{position:relative;width:min(1200px,92%);height:clamp(390px,70vh,760px);margin:28px auto;border-radius:20px;overflow:hidden;background:#061317;box-shadow:0 12px 35px #244e5818;color:#fff;color-scheme:dark}
.public-modern .pub-tv-player #tv-app{height:100%;width:100%}
.public-modern .pub-tv-player #start-screen{position:absolute;inset:0}
.public-modern .pub-tv-page #pub-language-slot .dive-language{display:flex!important}
html.public-modern:fullscreen:has(body.pub-tv-page){height:100%;overflow:hidden}
.public-modern:fullscreen body.pub-tv-page{height:100dvh;overflow:hidden;padding:0}
.public-modern:fullscreen .pub-tv-page :is(.pub-header,.pub-rubrics,.pub-footer,.pub-tools){display:none}
.public-modern:fullscreen .pub-tv-player{width:100%;height:100dvh;margin:0;border-radius:0}
@media(max-width:600px){.public-modern .pub-tv-player{width:94%;margin:16px auto;height:65dvh;min-height:360px}}

.public-modern body.plongee-perso-page .seo-content,.public-modern body.plongee-perso-page .seo-content :is(h2,h3,p,li,strong,small){color:#244e58}
.public-modern body.plongee-perso-page .seo-content a{color:#205e68;text-decoration:underline}
.public-modern body.plongee-perso-page .seo-content{font-size:16px;line-height:1.7}

/* Compact deck, independent of the former 4K control scaling. */
.public-modern #videoPage:not(:fullscreen){width:min(1040px,92%)}
.public-modern #videoPage:not(:fullscreen) .controls-zone{min-height:60px;height:auto;padding:8px 12px;gap:10px}
.public-modern #videoPage:not(:fullscreen) .controls-zone .btn{width:44px;height:44px;min-width:44px;min-height:44px;max-width:44px;max-height:44px;padding:0;font-size:22px;line-height:1;flex:0 0 44px}
.public-modern #videoPage:not(:fullscreen) .controls-zone .material-icons{font-size:24px;line-height:1}
.public-modern #videoPage:not(:fullscreen) .controls-zone #qcmBtn{width:auto;min-width:64px;max-width:90px;height:40px;min-height:40px;max-height:40px;flex:0 0 auto;padding:0 14px;font:600 14px/1 system-ui;border-radius:22px}
.public-modern #videoPage:not(:fullscreen) .controls-zone .time{font-size:12px;min-width:0;flex:none}
.public-modern #videoPage:not(:fullscreen) .quality-info{font-size:11px;line-height:1.2;min-width:48px;width:auto;flex:none}
.public-modern #videoPage:not(:fullscreen) .progress-wrapper{min-width:70px;width:auto;flex:1;height:28px}
.public-modern #videoPage:not(:fullscreen) .progress-bg{height:5px}
@media(max-width:600px){.public-modern #videoPage:not(:fullscreen){width:94%}.public-modern #videoPage:not(:fullscreen) .controls-zone{gap:6px}.public-modern #videoPage:not(:fullscreen) .controls-zone .quality-info{display:none}.public-modern #videoPage:not(:fullscreen) .controls-zone .time{font-size:11px}.public-modern #videoPage:not(:fullscreen) .progress-wrapper{min-width:calc(100% - 62px)}.public-modern #videoPage:not(:fullscreen) .controls-zone #qcmBtn{margin-left:auto}}

/* Match the public content width without enlarging the control deck. */
.public-modern #videoPage:not(:fullscreen){width:min(1400px,94%)}
.public-modern #videoPage:not(:fullscreen) .player-container{width:min(1200px,100%);margin-inline:auto}
.public-modern body.plongee-perso-page :is(.plongee-seo-summary,.observation-links,.article-backlinks,.seo-section){width:min(1400px,94%);max-width:1400px}

.public-modern #modalFiche .modal-content{background:#eff5ed;border:1px solid #d5e2d8;box-shadow:0 15px 45px #173e4933}
.public-modern #modalFiche .express-modal-toolbar{background:#fcfaf0;border-top:1px solid #cbded4}
.public-modern #modalFiche #niveauControls button{background:#e1eee5;color:#244e58;border:1px solid #abc5bb;border-radius:22px;font:600 14px/1.3 system-ui;min-height:44px}
.public-modern #modalFiche #niveauControls button.active{background:#285f68;color:#fff;border-color:#285f68}
.public-modern #videoPage .qcm-box{width:min(620px,calc(100% - 24px));padding:14px;background:#fcfaf0f2;color:#244e58;border:1px solid #fff;box-shadow:0 8px 30px #244e5833;border-radius:16px}
.public-modern #videoPage .qcm-answer{font:600 15px/1.35 system-ui;min-height:44px;padding:9px 12px;border-radius:12px;background:#e1eee5;color:#244e58;border:1px solid #abc5bb}
.public-modern #videoPage .qcm-answer.bonne{background:#286b50;border-color:#286b50;color:#fff}
.public-modern #videoPage .qcm-answer.mauvaise{background:#9f3e3e;border-color:#9f3e3e;color:#fff}
.public-modern #videoPage .qcm-bottom{grid-template-columns:60px 1fr 100px 44px;gap:8px;margin-top:10px}
.public-modern #videoPage .qcm-score,.public-modern #videoPage .qcm-question{font:600 14px/1.4 system-ui;color:#244e58}
.public-modern #videoPage .qcm-next,.public-modern #videoPage .qcm-close{font:600 14px/1.3 system-ui;min-height:44px;height:44px;min-width:44px;background:#285f68;color:#fff;border-radius:22px}
.public-modern #videoPage .qcm-next:disabled{background:#e1eee5;color:#5e7575}
@media(max-width:480px){.public-modern #videoPage .qcm-box{padding:10px}.public-modern #videoPage .qcm-answer{font-size:13px;padding:8px}.public-modern #videoPage .qcm-bottom{grid-template-columns:45px 1fr 82px 44px;gap:5px}.public-modern #videoPage .qcm-question{font-size:12px}}

.public-modern #videoPage:not(:fullscreen) .player-container{width:100%;max-width:none}
.public-modern #videoPage .espece-nom-zone:has(.espece-visible){background:#123f4a;color:#fff}
.public-modern #videoPage #especeNom{color:#fff;text-shadow:none;font-weight:750;font-size:clamp(23px,2.2vw,34px);line-height:1.2}
.public-modern #videoPage #especeNom.espece-visible{min-height:48px;padding:7px 18px}
.public-modern #videoPage #especeNom .material-icons{color:#fff;font-size:24px}

/* Exploration drawer: wide filters above the video grid, not a tall sidebar. */
.public-modern #videoPage:not(:fullscreen) .rail-layout{display:flex;flex-direction:column}
.public-modern #videoPage:not(:fullscreen) .rail-filtres{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding:22px;border:0;border-bottom:1px solid var(--pub-line)}
.public-modern #videoPage:not(:fullscreen) .filtre-bloc:first-child{grid-column:1/-1}
.public-modern #videoPage:not(:fullscreen) .filtre-bloc:last-child{grid-column:span 2}
.public-modern #videoPage:not(:fullscreen) .filtre-bloc{min-width:0}
.public-modern #videoPage:not(:fullscreen) .filtre-pills{gap:7px;flex-wrap:wrap}
.public-modern #videoPage:not(:fullscreen) .filtre-pill{min-height:44px;padding:8px 13px;font:600 13px/1.3 system-ui}
.public-modern #videoPage:not(:fullscreen) .rail-plongees{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-content:start;align-items:start;max-height:640px;overflow:auto;flex:0 1 auto;min-width:0}
.public-modern #videoPage:not(:fullscreen) .rail-item{width:100%;min-width:0}
@media(max-width:1000px){.public-modern #videoPage:not(:fullscreen) .rail-filtres{grid-template-columns:repeat(2,minmax(0,1fr))}.public-modern #videoPage:not(:fullscreen) .rail-plongees{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.public-modern #videoPage:not(:fullscreen) .rail-filtres{grid-template-columns:1fr;padding:16px;gap:16px}.public-modern #videoPage:not(:fullscreen) .filtre-bloc:last-child{grid-column:auto}.public-modern #videoPage:not(:fullscreen) .rail-plongees{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px;gap:12px;max-height:560px}}

.public-modern #videoPage:not(:fullscreen) .filtre-bloc:has([data-mois]){grid-column:span 2}
.public-modern body:has(#modalFiche.modal-visible) :is(.pub-tools,#dis-moi-launcher){visibility:hidden;pointer-events:none}
.public-modern #modalFiche .express-modal-toolbar .dive-language{position:static!important;display:flex!important;width:max-content;margin:8px 0 0 auto;transform:none!important}
.public-modern #modalFiche .express-modal-toolbar .dive-language button,.public-modern #modalFiche .express-modal-toolbar .dive-language a{min-height:44px}
@media(max-width:600px){.public-modern #videoPage:not(:fullscreen) .filtre-bloc:has([data-mois]){grid-column:auto}.public-modern #modalFiche .modal-content{height:calc(100dvh - 16px);width:calc(100vw - 16px);border-radius:16px}.public-modern #modalFiche .modal-close{top:10px;right:10px;width:44px;height:44px}}

.public-modern.pub-dive-language-view #videoPage:not(:fullscreen){width:100%;max-width:none;margin:0}
.public-modern.pub-dive-language-view #videoPage:not(:fullscreen) .player-container{width:100%;max-width:none}

/* Express card must outrank the legacy player hover/fullscreen layers. */
.public-modern #modalFiche.modal-visible{position:fixed!important;inset:0!important;z-index:2147483647!important;isolation:isolate}
.public-modern body:has(#modalFiche.modal-visible) #playerContainer{z-index:1!important}
.public-modern #modalFiche .modal-overlay{z-index:0}
.public-modern #modalFiche .modal-content{z-index:1}

@media(max-width:767px){
.public-modern #videoPage:not(:fullscreen) #playerContainer{position:relative!important;top:auto!important;z-index:1!important}
.public-modern #videoPage:not(:fullscreen) .rail-layout:not(.closed){max-height:none;overflow:visible}
.public-modern #videoPage:not(:fullscreen) .rail-plongees{flex:none;max-height:560px;min-height:0;grid-auto-rows:max-content;overflow:auto}
.public-modern #videoPage:not(:fullscreen) .rail-item{height:auto;align-self:start}
.public-modern #videoPage:not(:fullscreen) .controls-zone{flex-wrap:nowrap;min-height:60px;gap:7px;padding:8px}
.public-modern #videoPage:not(:fullscreen) .progress-wrapper{min-width:40px;flex:1;width:auto}
.public-modern #videoPage:not(:fullscreen) .controls-zone #qcmBtn{height:44px;min-height:44px;max-height:44px;margin-left:0}
}

.public-modern .pub-express-busy{cursor:progress}
.public-modern .marine-globe{background:#fcfaf0;color:#244e58;border:1px solid #c9dcd0;border-radius:24px;box-shadow:0 20px 70px #244e5838;padding:26px}
.public-modern .marine-globe::backdrop{background:#173e4966;backdrop-filter:blur(7px)}
.public-modern .marine-globe h2{color:#244e58;font-size:clamp(24px,2.5vw,34px);font-weight:650;letter-spacing:-.025em}
.public-modern .marine-globe-invitation{color:#285f68;font-weight:600}
.public-modern .marine-globe-list button,.public-modern .marine-globe-tools button{background:#edf3e8;border:1px solid #abc5bb;color:#244e58;border-radius:22px;min-height:44px;box-shadow:none}
.public-modern .marine-globe-list button[aria-pressed=true]{background:#285f68;color:#fff;border-color:#285f68}
.public-modern .marine-globe-close{background:#fff;color:#244e58;border:1px solid #c9dcd0}
.public-modern .marine-globe-alternatives{border-color:#c9dcd0}
.public-modern .marine-globe-note{color:#517176}
@media(max-width:650px){.public-modern .marine-globe{padding:20px 14px;border-radius:20px}.public-modern .marine-globe canvas{width:100%;max-width:420px}.public-modern .marine-globe-tools button{min-width:44px}}

/* The immersive owner keeps its layout, with the same public visual theme. */
.public-modern #videoPage:fullscreen{background:#eff5ed;color:#244e58}
.public-modern #videoPage:fullscreen .video-launch-photo{transform:none;filter:none;width:100%;height:100%;max-width:100%;aspect-ratio:auto}
.public-modern #videoPage:fullscreen .video-launch-photo::before,.public-modern #videoPage:fullscreen .video-photo-edge{display:none}
.public-modern #videoPage:fullscreen .video-launch-photo img{clip-path:none;object-fit:contain}
.public-modern #videoPage:fullscreen .video-launch-btn{background:#fcfaf0ee;color:#285f68;border:1px solid #fff;box-shadow:0 8px 25px #0003}
.public-modern #videoPage:fullscreen .controls-zone{background:#fcfaf0;color:#244e58;border-top:1px solid #c9dcd0;min-height:60px;padding:8px 12px;gap:10px}
.public-modern #videoPage:fullscreen .controls-zone .btn{width:44px;height:44px;min-width:44px;min-height:44px;max-width:44px;max-height:44px;flex:0 0 44px;padding:0;font-size:22px;background:#e1eee5;color:#244e58;border:1px solid #abc5bb;border-radius:50%;box-shadow:none}
.public-modern #videoPage:fullscreen .controls-zone .material-icons{font-size:24px;line-height:1}
.public-modern #videoPage:fullscreen .controls-zone #qcmBtn{width:auto;min-width:64px;max-width:90px;flex:none;height:44px;padding:0 14px;font:600 14px/1 system-ui;border-radius:22px}
.public-modern #videoPage:fullscreen .time{color:#244e58;font-size:12px}
.public-modern #videoPage:fullscreen .quality-info{color:#416c70;font-size:11px;line-height:1.2}
.public-modern #videoPage:fullscreen .progress-bg{background:#cfdfd7;height:5px}
.public-modern #videoPage:fullscreen .progress-bar{background:#285f68}
.public-modern #videoPage:fullscreen .rail-handle{background:#fcfaf0;color:#244e58;border-color:#c9dcd0;box-shadow:none}
.public-modern #videoPage:fullscreen :is(.rail-title,.rail-arrow){color:#244e58}
.public-modern #videoPage:fullscreen .rail-stats{color:#517176}
.public-modern #videoPage:fullscreen .rail-layout{background:#fcfaf0;border-color:#c9dcd0}
.public-modern #videoPage:fullscreen .rail-filtres{background:#eff5ed;color:#244e58;border-color:#c9dcd0}
.public-modern #videoPage:fullscreen .filtre-titre{color:#285f68}
.public-modern #videoPage:fullscreen .rail-select{background:#fcfaf0;color:#244e58;border:1px solid #abc5bb;border-radius:18px;font:600 13px/1.3 system-ui;min-height:44px}
.public-modern #videoPage:fullscreen .rail-plongees{background:#fcfaf0}
.public-modern #videoPage:fullscreen .rail-item{background:#fcfaf0;border:1px solid #c9dcd0;box-shadow:none}
.public-modern #videoPage:fullscreen .rail-item.vu::before{background:#285f68;box-shadow:none;width:30px;height:30px;font-size:17px}
.public-modern #videoPage:fullscreen .rail-item.active{outline:2px solid #285f68;box-shadow:none}

.public-modern #modalFiche.express-loading .modal-content::after{content:'…';position:absolute;inset:0 0 95px;z-index:5;display:grid;place-items:center;background:#eff5ed;color:#285f68;font:600 42px/1 system-ui;pointer-events:none}

/* Retrouver: public search routes and species results share the homepage palette. */
.public-modern .pub-search{width:min(1400px,94%);padding:32px 0 50px;min-height:0;color:#244e58}
.public-modern .pub-search>:is(h1,.eyebrow,.intro-panel,.zone-exploration){max-width:none}
.public-modern .pub-search h1{font:600 clamp(30px,4vw,46px)/1.12 system-ui;letter-spacing:-.035em;text-transform:none}
.public-modern .pub-search .eyebrow{color:#487a80;font-size:11px;letter-spacing:.14em}
.public-modern .pub-search :is(.intro-panel,.facet-intro){background:#fcfaf0d9;color:#244e58;border:1px solid #fff;border-radius:22px;padding:28px;margin:24px 0}
.public-modern .pub-search .rubrique-intro{grid-template-columns:minmax(0,1fr) minmax(220px,30%)}
.public-modern .pub-search .rubrique-intro__visual{border-radius:14px;overflow:hidden;box-shadow:none}
.public-modern .pub-search .rubrique-intro__visual figcaption{background:#285f68;color:white}
.public-modern .pub-search .fiches-preferences{flex-direction:row;justify-content:space-between;flex-wrap:wrap;gap:16px;background:#fcfaf0d9;color:#244e58;border:1px solid #c9dcd0;border-radius:20px;padding:16px 22px;margin:24px 0}
.public-modern .pub-search .fiches-zone-choice{width:auto;justify-content:flex-start}
.public-modern .pub-search .fiches-level-pills button{background:#e1eee5;color:#244e58;border-color:#abc5bb;padding:10px 18px}
.public-modern .pub-search .fiches-level-pills button[aria-pressed=true]{background:#285f68;color:#fff;border-color:#285f68}
.public-modern .pub-search :is(.modes,.facets){gap:20px;margin:26px 0 36px}
.public-modern .pub-search :is(.search-card,.card){background:#fcfaf0;color:#244e58;border:1px solid #d5e2d9;border-radius:20px;box-shadow:0 8px 24px #244e5810;overflow:hidden}
.public-modern .pub-search .search-card[href]:is(:hover,:focus-visible){color:#244e58;box-shadow:0 10px 28px #244e5820}
.public-modern .pub-search .search-card__body{padding:22px}
.public-modern .pub-search .search-card h2{color:#244e58;text-transform:none;font:650 clamp(19px,1.6vw,24px)/1.25 system-ui;margin-bottom:12px}
.public-modern .pub-search .search-card p{color:#355d65;font-size:15px;line-height:1.6;margin-bottom:22px}
.public-modern .pub-search .search-card__action{background:#e1eee5;color:#244e58;border:1px solid #abc5bb;border-radius:24px;box-shadow:none;min-height:44px;font-size:14px}
.public-modern .pub-search .search-card[href]:hover .search-card__action{background:#285f68;color:#fff}
.public-modern .pub-search :is(.back,.button,.share-form button){background:#285f68;color:#fff;border-radius:24px;min-height:44px}
.public-modern .pub-search :is(.filter-bar,.species-tools,.share-form,.warning){background:#fcfaf0;color:#244e58;border:1px solid #c9dcd0;border-radius:18px}
.public-modern .pub-search :is(.facet-chips a,.species-tools button){background:#e1eee5;color:#244e58;border:1px solid #abc5bb;border-radius:24px;min-height:44px}
.public-modern .pub-search :is(.facet-chips a[aria-current=page],.species-tools button[aria-pressed=true]){background:#285f68;color:#fff}
.public-modern .pub-search .species .card{background:#fcfaf0;border-color:#d5e2d9}
.public-modern .pub-search .species .card :is(strong,small,dd,dt,.scientific){color:#244e58}
.public-modern .pub-search .species .card strong{font-size:21px}
.public-modern .pub-search .species .card .details-link{background:#285f68;color:#fff;border-radius:22px;min-height:44px}
.public-modern .pub-search :is(input,select){min-height:44px;border-radius:14px;color:#244e58;border:1px solid #abc5bb;background:#fff}
.public-modern .pub-search :focus-visible{outline:3px solid #aa8538;outline-offset:4px}
@media(max-width:1000px){.public-modern .pub-search .fiches-preferences{justify-content:center}.public-modern .pub-search .rubrique-intro{grid-template-columns:1fr 30%}}
@media(max-width:620px){.public-modern .pub-search{padding-top:22px}.public-modern .pub-search :is(.intro-panel,.facet-intro){padding:20px}.public-modern .pub-search .rubrique-intro{grid-template-columns:1fr}.public-modern .pub-search .rubrique-intro__visual{max-width:100%;width:100%}.public-modern .pub-search .fiches-preferences{padding:16px}.public-modern .pub-search .fiches-level-pills{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.public-modern .pub-search .fiches-level-pills button{padding:10px 12px}.public-modern .pub-search .search-card__body{padding:20px}.public-modern .pub-search .facet-intro img{max-height:200px}.public-modern .pub-search .species .card strong{font-size:19px}}
/* Complete public species sheets; embedded express and member views are excluded. */
.public-modern body.learning-layout .page{width:min(1400px,94%);max-width:none;margin:28px auto;padding:24px;background:#fcfaf0;border:1px solid #fff;border-radius:24px;color:#244e58}
.public-modern body.learning-layout :is(.seo,.quick,.col-left,.col-right,#texte,.learning-discovery,.learning-more,.quiz){background:#fcfaf0;color:#244e58;border-color:#c9dcd0;box-shadow:none}
.public-modern body.learning-layout :is(.seo h1,.seo h2,.seo p,#texte h2,#texte h3,#texte p,.quick .value,.quick .label){color:#244e58}
.public-modern body.learning-layout .quick{gap:14px}
.public-modern body.learning-layout .quick>div{background:#eff5ed;border:1px solid #d5e2d9;border-radius:16px;color:#244e58;min-width:0}
.public-modern body.learning-layout .controls.levels{background:#e1eee5;border-radius:24px;padding:5px;gap:5px}
.public-modern body.learning-layout .controls.levels button{background:transparent;color:#244e58;border:1px solid transparent;border-radius:24px;min-height:44px}
.public-modern body.learning-layout .controls.levels button.active{background:#285f68;color:white}
.public-modern body.learning-layout :is(.box-size,.box-info,.box-warning){background:#eff5ed;color:#244e58;border:1px solid #d5e2d9;border-radius:16px;box-shadow:none}
.public-modern body.learning-layout .learning-paths a{background:#285f68;border-radius:22px}
@media(max-width:760px){.public-modern body.learning-layout .page{padding:16px;border-radius:20px}.public-modern body.learning-layout .controls.levels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.public-modern body.learning-layout #texte{padding:16px}}
.public-modern body.learning-layout{background:linear-gradient(#f1f8f3ee,#e3efebf5 650px,#eaf2ed),url('/Station/img/mers/mediterranee.png') top center/cover fixed;line-height:1.6}

/* Legacy level/depth styles use !important on both roots. */
html.public-modern:has(body.learning-layout),html.public-modern body.learning-layout{background:linear-gradient(#f1f8f3ee,#e3efebf5 650px,#eaf2ed),url('/Station/img/mers/mediterranee.png') top center/cover fixed!important}

/* Four reading levels, one shared visual language. */
.public-modern body.learning-layout{--level-accent:#285f68;--level-soft:#e1eee5;--level-line:#abc5bb}
.public-modern body.learning-layout.theme-primaire{--level-accent:#486b47;--level-soft:#edf2df;--level-line:#b8c9a2}
.public-modern body.learning-layout.theme-college{--level-accent:#246d70;--level-soft:#e0f0e9;--level-line:#a5cbc0}
.public-modern body.learning-layout.theme-lycee{--level-accent:#3b607b;--level-soft:#e5edf4;--level-line:#b0c4d5}
.public-modern body.learning-layout.theme-adulte{--level-accent:#285f68;--level-soft:#e1eee5;--level-line:#abc5bb}
.public-modern body.learning-layout .page{border-top:5px solid var(--level-accent)}
.public-modern body.learning-layout :is(.quick>div,.box-size,.box-info,.box-warning,.learning-discovery,.learning-more){background:var(--level-soft);border-color:var(--level-line)}
.public-modern body.learning-layout :is(#texte h2,#texte h3,.box-size h3,.box-info h3,.box-warning h3){color:var(--level-accent)}
.public-modern body.learning-layout .controls.levels{background:var(--level-soft);border:1px solid var(--level-line)}
.public-modern body.learning-layout .controls.levels button.active{background:var(--level-accent);color:#fff}
.public-modern .pub-search .fiches-level-pills button[value=primaire][aria-pressed=true]{background:#486b47}
.public-modern .pub-search .fiches-level-pills button[value=college][aria-pressed=true]{background:#246d70}
.public-modern .pub-search .fiches-level-pills button[value=lycee][aria-pressed=true]{background:#3b607b}
.public-modern .pub-search .fiches-preferences:has([value=primaire][aria-pressed=true]){border-top:4px solid #486b47}
.public-modern .pub-search .fiches-preferences:has([value=college][aria-pressed=true]){border-top:4px solid #246d70}
.public-modern .pub-search .fiches-preferences:has([value=lycee][aria-pressed=true]){border-top:4px solid #3b607b}
.public-modern .pub-search .fiches-preferences:has([value=adulte][aria-pressed=true]){border-top:4px solid #285f68}

/* Primary sheets: readable sage controls instead of global orange overrides. */
.public-modern body.learning-layout.theme-primaire{font-family:system-ui,-apple-system,sans-serif;font-size:17px}
.public-modern body.learning-layout.theme-primaire #texte{font-size:18px;line-height:1.75}
.public-modern body.learning-layout.theme-primaire .col-left{display:block}
.public-modern body.learning-layout.theme-primaire :is(.quiz button,.controls>button,.big-btn){background:var(--level-soft);color:#244e58;border:1px solid var(--level-line);border-radius:24px;min-height:44px;padding:10px 18px;font:600 16px/1.3 system-ui;box-shadow:none}
.public-modern body.learning-layout.theme-primaire :is(.quiz button,.controls>button,.big-btn):hover{background:#dce8d1}
.public-modern body.learning-layout.theme-primaire .controls.levels button.active{background:var(--level-accent);color:#fff}

/* Progresser: archive and standalone reader only, never training/pro embeds. */
.public-modern body.article-archive-page,.public-modern body.article-reader-page{background:linear-gradient(#f1f8f3ee,#e3efebf5 650px,#eaf2ed),url('/Station/img/mers/mediterranee.png') top center/cover fixed!important;color:#244e58}
.public-modern .public-archive{width:min(1400px,94%);padding:32px 0 50px;min-height:0}
.public-modern .public-archive__head{max-width:none;margin-bottom:24px}
.public-modern .public-archive__head h1{font:600 clamp(32px,4vw,48px)/1.12 system-ui;letter-spacing:-.035em}
.public-modern .public-archive .eyebrow{color:#487a80;font-size:11px;letter-spacing:.14em}
.public-modern .public-archive .archive-intro{max-width:none;background:#fcfaf0d9;color:#244e58;border:1px solid #fff;border-radius:22px;padding:28px;grid-template-columns:minmax(0,1fr) minmax(220px,30%)}
.public-modern .public-archive .rubrique-intro__visual{border-radius:14px;box-shadow:none;overflow:hidden}
.public-modern .public-archive .rubrique-intro__visual figcaption{background:#285f68;color:white}
.public-modern .article-zone-bar{background:#fcfaf0;border:1px solid #c9dcd0;border-radius:20px;color:#244e58;padding:16px 22px}
.public-modern .archive-filters{position:static;grid-template-columns:minmax(220px,1.5fr) repeat(2,minmax(150px,1fr));background:#fcfaf0e8;box-shadow:none;border:1px solid #c9dcd0;border-radius:20px;gap:14px}
.public-modern :is(.archive-filters,.article-zone-bar) :is(input,select,button){min-height:44px;border-radius:22px;border-color:#abc5bb;color:#244e58;background:#fff;font:inherit}
.public-modern .archive-filters button{background:#285f68;color:white}
.public-modern .public-article-grid{gap:20px}
.public-modern .public-article-card{border:1px solid #d5e2d9;background:#fcfaf0;color:#244e58;border-radius:20px;box-shadow:0 8px 24px #244e5810}
.public-modern .public-article-card__body{padding:22px}
.public-modern .public-article-card__body :is(h2,p){color:#244e58}
.public-modern .public-article-card__body h2{font-size:22px;line-height:1.25}
.public-modern .public-article-card__body p{font-size:15px;line-height:1.6}
.public-modern .public-article-card__taxonomy{color:#487a80;font-size:12px!important}
.public-modern .article-read-button{background:#285f68;color:#fff;border:1px solid #285f68;border-radius:24px;min-height:44px;box-shadow:none;font-size:14px}
.public-modern body.article-reader-page{--article-accent:#285f68;--article-soft:#e1eee5;--article-line:#abc5bb}
.public-modern body.article-reader-page:has([data-article-level=primaire].active){--article-accent:#486b47;--article-soft:#edf2df;--article-line:#b8c9a2}
.public-modern body.article-reader-page:has([data-article-level=college].active){--article-accent:#246d70;--article-soft:#e0f0e9;--article-line:#a5cbc0}
.public-modern body.article-reader-page:has([data-article-level=lycee].active){--article-accent:#3b607b;--article-soft:#e5edf4;--article-line:#b0c4d5}
.public-modern body.article-reader-page .article-levels{padding:10px 4%;gap:8px;flex-wrap:wrap}
.public-modern body.article-reader-page .article-levels a{min-height:44px;border-radius:24px;padding:10px 18px;font-size:14px;background:var(--article-soft);color:#244e58;border:1px solid var(--article-line)}
.public-modern body.article-reader-page .article-levels a.active{background:var(--article-accent);color:#fff;border-color:var(--article-accent)}
.public-modern body.article-reader-page .article{width:min(1400px,94%);margin:26px auto 45px;color:#244e58}
.public-modern body.article-reader-page .hero{min-height:560px;height:min(75vh,760px);border-radius:24px;overflow:hidden;border:1px solid #fff}
.public-modern body.article-reader-page .hero__copy{background:#fcfaf0eb;color:#244e58;border:1px solid #fff;border-radius:20px;padding:28px;max-width:min(720px,90%);text-shadow:none;backdrop-filter:blur(8px)}
.public-modern body.article-reader-page .hero h1{color:#244e58;font-size:clamp(30px,4vw,54px);line-height:1.12;text-shadow:none}
.public-modern body.article-reader-page .hero :is(.subtitle,.lead,.byline,.eyebrow){color:#355d65;text-shadow:none;font-size:16px;line-height:1.6}
.public-modern body.article-reader-page .article-body>*{min-height:0!important;width:100%!important;max-width:none!important;margin:24px 0!important;padding:32px!important;border:1px solid #d5e2d9;border-radius:22px;background:#fcfaf0!important;color:#244e58!important;box-shadow:none;text-shadow:none;backdrop-filter:none}
.public-modern body.article-reader-page .article-body :is(h2,h3){color:var(--article-accent);text-shadow:none;line-height:1.25}
.public-modern body.article-reader-page .article-body h2{font-size:clamp(26px,2.7vw,36px)}
.public-modern body.article-reader-page .article-body h3{font-size:clamp(22px,2.2vw,28px)}
.public-modern body.article-reader-page .article-body>.prose{font-size:18px!important;line-height:1.75!important}
.public-modern body.article-reader-page .article-body>.prose :is(p,li){color:#244e58!important}
.public-modern body.article-reader-page .article-body>.prose a{color:#285f68!important}
.public-modern body.article-reader-page .article-body>.prose p+p{margin-top:1.2em!important}
.public-modern body.article-reader-page .article-body>:is(.callout,.callout--pedagogy,.callout--naturalist,.callout--important){background:var(--article-soft)!important;border-left:5px solid var(--article-accent)}
.public-modern body.article-reader-page .article-body>.callout--important{border-left-color:#a25239;background:#f7eee2!important}
.public-modern body.article-reader-page .article-body>:is(.callout,.title-subtitle-text,.conclusion-block)>div{background:transparent;color:#244e58;font-size:18px!important;line-height:1.7!important;box-shadow:none;text-shadow:none}
.public-modern body.article-reader-page .article-body>:is(.callout--pedagogy,.callout--naturalist,.callout--important)>div{font-size:18px!important;line-height:1.7!important;color:#244e58;box-shadow:none;background:#ffffff80}
.public-modern body.article-reader-page :is(.numbered-card,.illustrated-card,.species-card,.source-card,.related-article-card,.quiz-start,.quiz-final,.quiz-question){background:var(--article-soft);color:#244e58;border-color:var(--article-line);box-shadow:none;border-radius:18px}
.public-modern body.article-reader-page :is(.numbered-card,.illustrated-card,.related-article-card) :is(h3,p,div){color:#244e58}
.public-modern body.article-reader-page .illustrated-card__body>div{font-size:16px;line-height:1.65}
.public-modern body.article-reader-page .article-body :is(button,.feature-link,.quiz-answer){min-height:44px;border-radius:22px}
.public-modern body.article-reader-page .article-body button{background:var(--article-accent);color:white;border-color:var(--article-accent);box-shadow:none}
.public-modern body.article-reader-page .article-youtube-player__controls{background:#fcfaf0;color:#244e58;border-top:1px solid #c9dcd0}
.public-modern body.article-reader-page .article-youtube-player__controls button{background:var(--article-soft);color:#244e58;border-color:var(--article-line)}
.public-modern body.article-reader-page :is(.hero__caption,.block-image figcaption,.gallery figcaption){color:#517176;font-size:14px!important;line-height:1.5!important}
.public-modern body.article-reader-page .hero__caption{background:#fcfaf0e8;padding:6px 12px;border-radius:12px}
@media(max-width:1000px){.public-modern .public-article-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.public-modern .archive-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.public-modern body.article-reader-page .hero{min-height:460px}}
@media(max-width:600px){.public-modern .public-archive{padding-top:22px}.public-modern .public-archive .archive-intro{grid-template-columns:1fr;padding:20px}.public-modern .public-article-grid{grid-template-columns:1fr}.public-modern .archive-filters{grid-template-columns:1fr;padding:16px}.public-modern body.article-reader-page .article-levels{position:relative;top:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:12px 4%}.public-modern body.article-reader-page .article-levels span{display:none}.public-modern body.article-reader-page .article-levels__back{grid-column:1/-1}.public-modern body.article-reader-page .article-levels a{text-align:center;padding:10px}.public-modern body.article-reader-page .hero{min-height:540px;height:auto}.public-modern body.article-reader-page .hero__copy{padding:20px;max-width:94%}.public-modern body.article-reader-page .article-body>*{padding:20px!important;margin:18px 0!important}.public-modern body.article-reader-page .article-body>.prose{font-size:17px!important}}
@media(max-width:600px){}

/* Watermark scale follows the homepage at the same viewport widths. */
.public-modern #watermark .wm-text{font:500 22px/1.3 Arial,sans-serif!important;white-space:normal!important}
.public-modern #watermark .wm-box{padding:9px 8px!important}
@media(max-width:1000px){.public-modern #watermark .wm-text{font-size:18px!important}}
@media(max-width:600px){.public-modern #watermark .wm-text{font-size:12px!important;line-height:1.3!important}.public-modern #watermark .wm-box{padding:6px!important}}

.public-modern body.article-reader-page .section-nav{top:300px;bottom:90px;max-height:calc(100dvh - 390px);transform:none;overflow-y:auto;overflow-x:hidden;width:38px;background:#fcfaf0cc;scrollbar-width:thin}
.public-modern body.article-reader-page .section-nav a{min-height:44px!important;justify-content:center}
@media(max-width:600px){.public-modern body.article-reader-page .section-nav{display:none}}

/* One public content width across all sections; prose retains readable lines. */
.public-modern :is(.pub-search,.public-archive),.public-modern body.learning-layout .page,.public-modern body.article-reader-page .article,.public-modern #videoPage:not(:fullscreen){width:94%;max-width:none;margin-inline:auto}
.public-modern body.plongee-perso-page :is(.plongee-seo-summary,.observation-links,.article-backlinks,.seo-section){width:94%;max-width:none}
.public-modern body.plongee-perso-page .plongee-seo-summary>p,.public-modern body.learning-layout .seo>p{max-width:75ch;line-height:1.65}
.public-modern body.article-reader-page .article-body>.prose :is(p,ul,ol),.public-modern body.article-reader-page .article-body>.heading-section>div{max-width:75ch;margin-inline:auto!important}
.public-modern body.article-reader-page .article-body>.prose p+p{margin-top:1.2em!important}
.public-modern body.article-reader-page .article-body>.prose>h2,.public-modern body.article-reader-page .article-body>.prose>h3{max-width:75ch;margin-inline:auto}
.public-modern .public-article-grid{grid-template-columns:repeat(auto-fill,minmax(min(280px,100%),1fr))}
.public-modern body.learning-layout #texte{max-width:75ch}

/* Wide summary: prose and existing dive facts form two balanced columns. */
@media(min-width:1100px){
.public-modern body.plongee-perso-page .plongee-seo-summary{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,1fr);column-gap:clamp(32px,5vw,110px);row-gap:12px;align-items:start}
.public-modern body.plongee-perso-page .plongee-seo-summary>:is(.plongee-seo-kicker,h1,.plongee-seo-intro){grid-column:1;margin:0}
.public-modern body.plongee-perso-page .plongee-seo-summary .plongee-seo-facts{grid-column:2;grid-row:1 / span 3;align-self:center;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0;padding-left:clamp(24px,3vw,50px);border-left:1px solid #c9dcd0}
.public-modern body.plongee-perso-page .plongee-seo-facts>div{min-height:88px;padding:20px;border-radius:16px;display:flex;flex-direction:column;justify-content:center}
}

/* Article archive stays at four columns even on very large monitors. */
.public-modern .public-article-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1050px){.public-modern .public-article-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.public-modern .public-article-grid{grid-template-columns:1fr}}

.public-modern body.journey-archive-page .journey-archive-grid{width:100%;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.public-modern body.journey-archive-page :is(.public-archive__head,.journey-intro,.article-zone-bar){max-width:none}
.public-modern body.journey-archive-page .journey-card-meta{color:#355d65}
@media(max-width:1050px){.public-modern body.journey-archive-page .journey-archive-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.public-modern body.journey-archive-page .journey-archive-grid{grid-template-columns:1fr}}

/* Block headings participate in layout instead of overlaying their paragraph. */
.public-modern body.article-reader-page .article-body .public-block-title{position:static!important;inset:auto!important;transform:none!important;grid-column:1/-1;width:100%;max-width:none;margin:0 0 22px!important;line-height:1.25;order:-1}
.public-modern body.article-reader-page .article-body .split-text>.public-block-title{grid-column:auto}
.public-modern body.article-reader-page .split-layout.is-short-text>.split-text{position:relative;top:auto}
/* Species media remains comfortable on ultra-wide monitors. */
.public-modern body.learning-layout #ytLayer{width:min(1100px,100%,124vh);max-width:100%;margin:24px auto 0;aspect-ratio:16/9}
.public-modern body.learning-layout #mediaRail{width:min(1100px,100%,124vh);margin:0 auto 18px}
.public-modern body.learning-layout .seo-text{max-width:75ch;line-height:1.65}
.public-modern body.learning-layout .seo-text p{line-height:1.65}
.public-modern body.learning-layout :is(.quick,.texte-wrapper,.controls.levels,.quiz-wrap){width:min(1500px,100%);margin-inline:auto}

/* User choice: generous full-width public sections, homepage untouched. */
.public-modern :is(.pub-search,.public-archive),.public-modern body.learning-layout .page,.public-modern body.article-reader-page .article,.public-modern #videoPage:not(:fullscreen){width:94%;max-width:none;margin-inline:auto}
.public-modern body.learning-layout #ytLayer{width:100%;max-width:none;margin:24px 0 0}
.public-modern body.learning-layout #mediaRail{width:100%;max-width:none;margin:0 0 18px}
.public-modern body.learning-layout :is(.quick,.texte-wrapper,.controls.levels,.quiz-wrap){width:100%;max-width:none}
.public-modern body.learning-layout :is(.seo-text,#texte,.seo>p){max-width:none}
.public-modern body.article-reader-page .article-body>.prose :is(p,ul,ol),.public-modern body.article-reader-page .article-body>.heading-section>div,.public-modern body.article-reader-page .article-body>.prose>h2,.public-modern body.article-reader-page .article-body>.prose>h3{max-width:none}
.public-modern body.plongee-perso-page .plongee-seo-summary>p{max-width:none}

/* Approved public content width: broad 1600px canvas, homepage independent. */
.public-modern :is(.pub-search,.public-archive),.public-modern body.learning-layout .page,.public-modern body.article-reader-page .article,.public-modern #videoPage:not(:fullscreen){width:min(1600px,94%);max-width:1600px;margin-inline:auto}
.public-modern body.plongee-perso-page :is(.plongee-seo-summary,.observation-links,.article-backlinks,.seo-section){width:min(1600px,94%);max-width:1600px;margin-inline:auto}

/* Override legacy viewport breakout rules in article/journey archives. */
html.public-modern body.article-archive-page .public-archive,html.public-modern body.article-reader-page .article,html.public-modern body .jeux-wrap{box-sizing:border-box!important;width:min(1600px,94%)!important;max-width:1600px!important;margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important}
html.public-modern body.article-archive-page .public-archive{padding-top:32px!important;padding-bottom:50px!important}

/* Explorer standalone reader: one public canvas, preserved slide mechanics. */
html.public-modern body.journey-page{--journey-accent:#285f68;--journey-soft:#e1eee5;--journey-line:#abc5bb;color:#244e58;background:linear-gradient(#f1f8f3ee,#e3efebf5 650px,#eaf2ed),url('/Station/img/mers/mediterranee.png') top center/cover fixed!important}
.public-modern body.journey-page:has([data-journey-level=primaire].active){--journey-accent:#486b47;--journey-soft:#edf2df;--journey-line:#b8c9a2}
.public-modern body.journey-page:has([data-journey-level=college].active){--journey-accent:#246d70;--journey-soft:#e0f0e9;--journey-line:#a5cbc0}
.public-modern body.journey-page:has([data-journey-level=lycee].active){--journey-accent:#3b607b;--journey-soft:#e5edf4;--journey-line:#b0c4d5}
.public-modern body.journey-page :is(.journey-levels,.player-top,.player-shell,.journey-related,.article-backlinks){width:min(1600px,94%);max-width:1600px;margin-inline:auto;box-sizing:border-box}
.public-modern body.journey-page .journey-levels{position:sticky;top:var(--pub-rubrics-height,65px);z-index:190;background:#fcfaf0f2;color:#244e58;border:1px solid #c9dcd0;border-radius:20px 20px 0 0;box-shadow:none;padding:12px 18px;flex-wrap:wrap;gap:8px;margin-top:24px}
.public-modern body.journey-page .journey-levels__back{position:static;margin-right:auto}
.public-modern body.journey-page :is(.journey-levels__choice,.journey-levels__back){min-height:44px;border:1px solid var(--journey-line);background:var(--journey-soft);color:#244e58;font:600 14px/1.2 system-ui;border-radius:24px;padding:8px 16px}
.public-modern body.journey-page .journey-levels__choice.active{background:var(--journey-accent);color:#fff;border-color:var(--journey-accent)}
.public-modern body.journey-page .journey-levels__choice.unavailable{background:transparent;border-style:dashed;opacity:.55}
.public-modern body.journey-page .player-top{position:relative;top:auto;height:64px;min-height:64px;background:#fcfaf0;color:#244e58;border:1px solid #c9dcd0;border-top:0;padding:10px 22px;gap:18px;z-index:30}
.public-modern body.journey-page .player-top .brand{color:#244e58;font-size:13px}
.public-modern body.journey-page .progress{background:#cfdfd7;height:6px}
.public-modern body.journey-page .progress span{background:var(--journey-accent)}
.public-modern body.journey-page :is(.fullscreen-toggle,.outline-toggle){background:var(--journey-soft);color:#244e58;border:1px solid var(--journey-line);border-radius:22px;min-height:44px;padding:8px 14px;cursor:pointer}
.public-modern body.journey-page .player-shell{grid-template-columns:minmax(240px,300px) minmax(0,1fr);height:clamp(560px,calc(100dvh - 210px),900px);min-height:0;border:1px solid #c9dcd0;border-top:0;border-radius:0 0 24px 24px;overflow:hidden;background:#eff5ed;margin-bottom:32px}
.public-modern body.journey-page .outline{background:#fcfaf0;color:#244e58;border-right:1px solid #c9dcd0;padding:24px 18px}
.public-modern body.journey-page .outline-intro h1{color:#244e58;font:650 23px/1.25 system-ui}
.public-modern body.journey-page .outline-intro>p:not(.eyebrow){font-size:14px;line-height:1.65}
.public-modern body.journey-page .eyebrow{color:#487a80;font-size:11px;letter-spacing:.12em}
.public-modern body.journey-page .outline li button{min-height:48px;color:#244e58;font:500 13px/1.4 system-ui;border-radius:14px;padding:10px 8px;touch-action:manipulation}
.public-modern body.journey-page .outline li button:is(:hover,.is-current){background:var(--journey-soft)}
.public-modern body.journey-page .outline li button>span:first-child{color:var(--journey-accent)}
.public-modern body.journey-page .outline small{color:#517176;font-size:10px}
.public-modern body.journey-page .meta span{background:var(--journey-soft);color:#244e58}
.public-modern body.journey-page .stage{padding:22px 24px 14px;background:transparent;min-width:0}
.public-modern body.journey-page .slide{max-width:none;width:100%}
.public-modern body.journey-page :is(.slide-content,.locked-card){background:#fcfaf0;color:#244e58;border:1px solid #d5e2d9;border-radius:20px;box-shadow:0 8px 24px #244e5810;padding:28px;justify-content:flex-start}
.public-modern body.journey-page .slide :is(h2,h3){color:var(--journey-accent);text-shadow:none}
.public-modern body.journey-page .slide h2{font:650 clamp(26px,2.8vw,40px)/1.15 system-ui;margin:8px 0 22px}
.public-modern body.journey-page .slide h3{font-size:22px}
.public-modern body.journey-page :is(.slide-text,.objectives li){color:#244e58;font-size:17px;line-height:1.7}
.public-modern body.journey-page .journey-facts{gap:12px;margin:22px 0}
.public-modern body.journey-page .journey-facts>div{background:var(--journey-soft);border:1px solid var(--journey-line);color:#244e58;border-radius:16px;padding:16px}
.public-modern body.journey-page :is(.stage-nav button,.journey-quiz button,.resource-link,.gate-actions button){background:var(--journey-accent);color:white;border:1px solid var(--journey-accent);border-radius:24px;min-height:44px;padding:10px 20px;box-shadow:none;cursor:pointer}
.public-modern body.journey-page .journey-answers label{min-height:52px;background:#fff;border-color:var(--journey-line);border-radius:16px;color:#244e58}
.public-modern body.journey-page .journey-answers label.is-correct{background:#e2f6e9;border-color:#31a66a}
.public-modern body.journey-page .journey-answers label.is-wrong{background:#fff0f0;border-color:#d95858}
.public-modern body.journey-page .journey-feedback{background:var(--journey-soft);color:#244e58;border-radius:14px}
.public-modern body.journey-page :focus-visible{outline:3px solid #aa8538;outline-offset:3px}
@media(max-width:800px){.public-modern body.journey-page .journey-levels{top:var(--pub-rubrics-height,46px);display:flex;flex-wrap:nowrap;overflow-x:auto;justify-content:flex-start;padding:8px;margin-top:16px;border-radius:16px 16px 0 0}.public-modern body.journey-page .journey-levels__choice{flex:none;font-size:12px;padding:8px 12px}.public-modern body.journey-page .player-top{padding:8px 12px;gap:10px}.public-modern body.journey-page .player-shell{display:block;height:clamp(540px,calc(100dvh - 170px),800px)}.public-modern body.journey-page .stage{padding:14px}.public-modern body.journey-page .outline{position:fixed;inset:160px 3% 80px;width:auto;height:auto;z-index:500;border:1px solid #c9dcd0;border-radius:20px}.public-modern body.journey-page .slide-content{padding:20px}.public-modern body.journey-page .journey-facts{grid-template-columns:1fr}.public-modern body.journey-page .slide h2{font-size:28px}}
html.public-modern:fullscreen body.journey-page>:is(.pub-header,.pub-rubrics,.pub-footer){display:none!important}
html.public-modern:fullscreen body.journey-page .player-top{width:100%;max-width:none;top:0;border-radius:0}
html.public-modern:fullscreen body.journey-page .player-shell{width:100%;max-width:none;height:calc(100dvh - 64px);margin:0;border-radius:0}

/* Jouer public hub, sorting boards and AquaMemora. */
html.public-modern body:has(.jeux-wrap){background:linear-gradient(#f1f8f3ee,#e3efebf5 650px,#eaf2ed),url('/Station/img/mers/mediterranee.png') top center/cover fixed!important;color:#244e58}
.public-modern .jeux-wrap{padding-top:32px;padding-bottom:50px;color:#244e58}
.public-modern .jeux-wrap :is(.jeux-heading,.jeux-intro,.zone-exploration){max-width:none}
.public-modern .jeux-heading h1,.public-modern .jeux-intro h1{font:600 clamp(32px,4vw,46px)/1.12 system-ui;color:#244e58;letter-spacing:-.03em}
.public-modern .jeux-wrap :is(.jeux-intro,.classification,.quiz,.learning-links,.zone-exploration){background:#fcfaf0;color:#244e58;border:1px solid #c9dcd0;border-radius:20px;box-shadow:0 8px 24px #244e5810;padding:24px}
.public-modern .jeux-wrap .jeux-home-intro{grid-template-columns:minmax(0,1fr) minmax(220px,30%)}
.public-modern .jeux-wrap .rubrique-intro__visual{border-radius:14px;overflow:hidden;box-shadow:none}
.public-modern .jeux-wrap .rubrique-intro__visual figcaption{background:#285f68;color:#fff}
.public-modern .jeux-wrap .eyebrow{color:#487a80;font-size:11px;letter-spacing:.12em}
.public-modern .jeux-wrap .games-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.public-modern .jeux-wrap .game-tile{background:#fcfaf0;color:#244e58;border:1px solid #d5e2d9;border-radius:20px;box-shadow:0 8px 24px #244e5810}
.public-modern .jeux-wrap .game-tile>div{padding:22px}
.public-modern .jeux-wrap .game-tile :is(h3,p){color:#244e58}
.public-modern .jeux-wrap .game-tile h3{font-size:22px;line-height:1.25}
.public-modern .jeux-wrap .game-tile p{font-size:15px;line-height:1.6}
.public-modern .jeux-wrap :is(.button,button){min-height:44px;border-radius:24px;background:#285f68;color:#fff;border:1px solid #285f68;padding:10px 18px;font:600 15px/1.35 system-ui;box-shadow:none}
.public-modern .jeux-wrap :is(.button.secondary,button.secondary){background:#e1eee5;color:#244e58;border-color:#abc5bb}
.public-modern .jeux-wrap :is(input,select){min-height:44px;background:#fff;color:#244e58;border:1px solid #abc5bb;border-radius:18px;padding:8px 12px;font:inherit}
.public-modern .jeux-wrap :is(.game-return-bar,.quiz-tools){background:#fcfaf0;color:#244e58;border-color:#c9dcd0;border-radius:18px}
.public-modern .jeux-wrap .classification .play-area{grid-template-columns:minmax(260px,1fr) minmax(0,1.6fr);gap:24px}
.public-modern .jeux-wrap .classification :is(.deck,.zones){background:#eff5ed;border:1px solid #d5e2d9;border-radius:18px;padding:18px}
.public-modern .jeux-wrap .classification .card{border-color:#abc5bb;border-radius:14px;background:#fff}
.public-modern .jeux-wrap .classification .card.selected{outline:3px solid #aa8538}
.public-modern .jeux-wrap .classification .zone{border-color:#abc5bb;background:#fcfaf0;border-radius:16px;padding:14px;min-height:110px}
.public-modern .jeux-wrap .classification .zone.correct{border-color:#168552}
.public-modern .jeux-wrap .classification .zone.over{border-color:#aa8538;background:#e1eee5}
.public-modern .jeux-wrap .classification :is(h2,h4){color:#244e58}
.public-modern .jeux-wrap .classification .score-big{font-size:22px;color:#285f68}
.public-modern .jeux-wrap .classification .card-thumb{aspect-ratio:16/10}
.public-modern .jeux-wrap .quiz-layout{gap:24px;grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr)}
.public-modern .jeux-wrap .quiz-answer{min-height:52px!important;padding:12px 18px!important;border-radius:18px!important;background:#e1eee5!important;color:#244e58!important;border-color:#abc5bb!important;font-size:16px!important}
.public-modern .jeux-wrap .quiz-answer.correct{background:#d8f2e4!important;border-color:#167647!important}
.public-modern .jeux-wrap .quiz-answer.wrong{background:#fde3df!important;border-color:#b53a35!important}
.public-modern .jeux-wrap .quiz-hud{background:#eff5ed;color:#244e58;border-radius:16px;padding:14px;font-size:15px}
.public-modern .jeux-wrap .quiz-logo{max-width:160px}
.public-modern .jeux-wrap .learning-links a{background:#e1eee5;color:#244e58;border-color:#abc5bb;border-radius:24px;min-height:44px}
.public-modern .jeux-wrap :focus-visible{outline:3px solid #aa8538;outline-offset:3px}
@media(max-width:1050px){.public-modern .jeux-wrap .games-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.public-modern .jeux-wrap .classification .play-area{grid-template-columns:minmax(220px,1fr) minmax(0,1.4fr)}}
@media(max-width:700px){.public-modern .jeux-wrap :is(.classification,.quiz,.learning-links,.jeux-intro,.zone-exploration){padding:16px}.public-modern .jeux-wrap .jeux-home-intro,.public-modern .jeux-wrap .classification .play-area,.public-modern .jeux-wrap .quiz-layout{grid-template-columns:1fr}.public-modern .jeux-wrap .classification .cards{grid-template-columns:repeat(3,minmax(0,1fr))}.public-modern .jeux-wrap .classification .zones-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.public-modern .jeux-wrap .classification .zone{padding:10px}.public-modern .jeux-wrap .game-tile>div{padding:18px}}
@media(max-width:600px){.public-modern .jeux-wrap .games-grid{grid-template-columns:1fr}}

/* Public Explorer uses the shared fullscreen control beside FR/EN. */
.public-modern body.journey-page .player-top .fullscreen-toggle{display:none!important}

/* Public AMIGANSEAU TV: same outer canvas, immersive video retained. */
.public-modern body.pub-tv-page .pub-tv-player{width:min(1600px,94%);max-width:1600px;height:clamp(430px,76vh,900px);border:1px solid #c9dcd0;border-radius:24px;box-shadow:0 12px 35px #244e5818}
.public-modern body.pub-tv-page #start-screen{background:linear-gradient(145deg,#edf5ed,#d4e7df);color:#244e58}
.public-modern body.pub-tv-page #start-screen strong{font:650 clamp(28px,4vw,48px)/1.15 system-ui;letter-spacing:.05em;color:#244e58}
.public-modern body.pub-tv-page #start-button{min-width:0;max-width:100%;min-height:56px;padding:14px 28px;border:1px solid #285f68;border-radius:30px;background:#285f68;color:#fff;font:600 clamp(17px,2vw,24px)/1.3 system-ui;box-shadow:none;touch-action:manipulation}
.public-modern body.pub-tv-page #controls{background:#fcfaf0;color:#244e58;border-right:1px solid #c9dcd0;box-shadow:12px 0 40px #244e5833;padding:24px;z-index:100000}
.public-modern body.pub-tv-page #controls h2{font:650 28px/1.25 system-ui;color:#244e58}
.public-modern body.pub-tv-page #controls label{font-size:17px;color:#244e58}
.public-modern body.pub-tv-page #controls :is(select,button){background:#e1eee5;color:#244e58;border:1px solid #abc5bb;border-radius:24px;min-height:48px;padding:10px 16px;font:600 16px/1.3 system-ui}
.public-modern body.pub-tv-page #controls .controls-close{background:#285f68!important;color:#fff!important;width:44px;height:44px;min-height:44px;font-size:26px}
.public-modern body.pub-tv-page #controls .exit-player{background:#f6e9e1;color:#87482f;border-color:#dfbcaa}
.public-modern body.pub-tv-page #controls .music-settings{background:#eff5ed;border-color:#c9dcd0;border-radius:18px}
.public-modern body.pub-tv-page .tv-language-buttons button[aria-pressed=true]{background:#285f68!important;color:#fff!important;border-color:#285f68!important}
.public-modern body.pub-tv-page #controls-toggle{background:#fcfaf0ee!important;color:#244e58!important;border-color:#abc5bb!important;box-shadow:none}
.public-modern body.pub-tv-page .qr-card{background:#fcfaf0;color:#244e58;border:1px solid #c9dcd0;border-radius:18px}
.public-modern body.pub-tv-page :focus-visible{outline:3px solid #aa8538;outline-offset:3px}
html.public-modern:fullscreen body.pub-tv-page .pub-tv-player{width:100%;max-width:none;height:100dvh;border:0;border-radius:0}
@media(max-width:600px){.public-modern body.pub-tv-page .pub-tv-player{height:68dvh;min-height:390px;border-radius:20px}.public-modern body.pub-tv-page #controls{padding:20px;width:min(420px,96vw)}.public-modern body.pub-tv-page #controls .control-grid{gap:10px}}

.public-modern .jeux-wrap .games-grid .game-tile,.public-modern .jeux-wrap .games-grid .game-tile>div{background:#fcfaf0!important;color:#244e58!important}
.public-modern .jeux-wrap .games-grid .game-tile :is(h3,p){color:#244e58!important}

/* One marine-region selector treatment across public sections. */
html.public-modern button.marine-zone-trigger{display:inline-flex;align-items:center;justify-content:center;min-height:44px;max-width:100%;padding:10px 20px!important;border:1px solid #abc5bb!important;border-radius:24px!important;background:#fcfaf0!important;color:#244e58!important;font:600 15px/1.35 system-ui!important;box-shadow:none!important;white-space:normal;touch-action:manipulation}
html.public-modern button.marine-zone-trigger:hover{background:#e1eee5!important;border-color:#285f68!important}
.public-modern .marine-globe{width:min(960px,calc(100vw - 24px));height:auto;max-height:calc(100dvh - 24px);background:#fcfaf0!important;color:#244e58!important;border:1px solid #c9dcd0;border-radius:24px;padding:26px}
.public-modern .marine-globe :is(h2,p,summary){color:#244e58}
.public-modern .marine-globe .marine-globe-close{min-height:44px;width:44px;height:44px;border-radius:50%;background:#fff!important;color:#244e58!important;border:1px solid #c9dcd0;font-size:26px;padding:0;box-shadow:none}
.public-modern .marine-globe canvas{max-width:540px;margin-inline:auto}
.public-modern .marine-globe .marine-globe-list button{min-height:44px;border-radius:22px;background:#e1eee5;color:#244e58;border:1px solid #abc5bb;padding:10px 16px;box-shadow:none}
.public-modern .marine-globe .marine-globe-list button[aria-pressed=true]{background:#285f68;color:#fff}
@media(max-width:600px){.public-modern .marine-globe{padding:20px 14px;border-radius:20px}.public-modern .marine-globe canvas{max-width:360px}}

/* Public contributors directory and every individual profile. */
.public-modern main.explorateur{width:min(1600px,94%);max-width:1600px;margin:30px auto 50px;padding:0;color:#244e58}
.public-modern main.explorateur>:is(.explorateur-panel,.explorateur-contact){background:#fcfaf0;border:1px solid #c9dcd0;border-radius:22px;padding:28px;color:#244e58;box-shadow:0 8px 24px #244e5810}
.public-modern main.explorateur h1{font:600 clamp(32px,4vw,46px)/1.12 system-ui;letter-spacing:-.03em;color:#244e58}
.public-modern main.explorateur :is(h2,h3,p){color:#244e58}
.public-modern main.explorateur .explorateur-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.public-modern main.explorateur .explorateur-grid>article{background:#eff5ed;border:1px solid #d5e2d9;border-radius:18px;padding:22px;min-width:0}
.public-modern main.explorateur .explorateur-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;background:#285f68;color:#fff;border:1px solid #285f68;border-radius:24px;font:600 15px/1.35 system-ui;text-decoration:none}
.public-modern main.explorateur .explorateur-panel>img{float:right;margin:0 0 24px 32px;width:32%!important;max-width:360px!important}
.public-modern main.explorateur .explorateur-panel::after{content:'';display:block;clear:both}
@media(max-width:900px){.public-modern main.explorateur .explorateur-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.public-modern main.explorateur .explorateur-grid{grid-template-columns:1fr}.public-modern main.explorateur>:is(.explorateur-panel,.explorateur-contact){padding:20px}.public-modern main.explorateur .explorateur-panel>img{float:none;width:100%!important;max-width:360px!important;margin:0 auto 24px;display:block}}

/* AquaMemora uses the public reading theme inside its existing reward modal. */
html.public-modern body.article-embed-aquamemora {background:#edf4ed!important;color:#244e58!important;}
html.public-modern body.article-embed-aquamemora .article-levels {top:0!important;}
html.public-modern body.article-embed-aquamemora .article {width:100%!important;max-width:none!important;margin:0!important;}
html.public-modern body.article-embed-aquamemora .hero {min-height:480px;height:auto;}
html.public-modern body.article-embed-aquamemora #watermark {display:none!important;}
html.public-modern body.article-embed-aquamemora .section-nav {display:none!important;}
@media(max-width:600px){html.public-modern body.article-embed-aquamemora .hero {min-height:360px;}}

/* Preserve Identifier's photographic launch presentation in both viewing modes. */
.public-modern #videoPage:is(:fullscreen,:not(:fullscreen)) .video-launch-photo{width:auto;height:86%;max-width:88%;aspect-ratio:16/9;transform:rotate(var(--miniature-tilt,-1deg));filter:drop-shadow(0 3px 2px #000a0f4d)}
.public-modern #videoPage:is(:fullscreen,:not(:fullscreen)) .video-launch-photo::before,.public-modern #videoPage:is(:fullscreen,:not(:fullscreen)) .video-photo-edge{display:block}
.public-modern #videoPage:is(:fullscreen,:not(:fullscreen)) .video-launch-photo img{clip-path:url(#photo-paper-curve);object-fit:contain}
.public-modern #videoPage:is(:fullscreen,:not(:fullscreen)) .video-launch-backdrop{opacity:1}

/* Native select chrome otherwise keeps the very small system control on macOS. */
html.public-modern body.pub-tv-page #controls #channel-select{appearance:none!important;-webkit-appearance:none!important;display:block!important;box-sizing:border-box;width:100%!important;height:auto!important;min-height:48px!important;padding:12px 42px 12px 14px!important;border:1px solid #abc5bb!important;border-radius:14px!important;background-color:#e1eee5!important;color:#244e58!important;font:600 16px/1.4 system-ui!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23244e58' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 14px center!important;cursor:pointer}
html.public-modern body.pub-tv-page #controls #channel-select:focus-visible{outline:3px solid #709f9b!important;outline-offset:3px}
html.public-modern body.pub-tv-page #controls #channel-select option{background:#fcfaf0;color:#244e58;font-size:16px}
