*{box-sizing:border-box}html,body{margin:0;height:100%;overflow:hidden}body{font-family:system-ui,-apple-system,sans-serif;color:#244e58;background:#b2dbd5}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;cursor:pointer}a:focus-visible,button:focus-visible,canvas:focus-visible{outline:3px solid #98702b;outline-offset:4px}button{border:0;background:none}.ocean-intro{position:relative;isolation:isolate;height:100dvh;display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden}.ocean-bg{position:absolute;inset:-3%;z-index:-2;background:center/cover no-repeat;transition:opacity 1.2s;animation:demo-water 22s ease-in-out infinite alternate}.ocean-intro:after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(#eafaf674,transparent 58%,#eafaf640)}.topbar{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 32px;border-bottom:1px solid #ffffff55;background:#e9f5ed30}.brand{font-family:Georgia,serif;font-size:23px;font-weight:bold;letter-spacing:.04em}.brand small{display:block;font:11px system-ui;letter-spacing:.07em;margin-top:4px}.topbar nav{display:flex;align-items:center;gap:24px;font-size:13px}.topbar nav button{padding:0}.member{font-size:12px;border-radius:24px;padding:11px 18px;background:#285d66;color:#fff}.ocean-inner{width:min(1050px,94vw);min-height:0;margin:0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(5px,1.1vh,13px);padding:12px 0}.intro-heading{text-align:center}.ocean-kicker{font-size:10px;letter-spacing:.25em;margin:0 0 7px}.intro-heading h1{font-size:clamp(23px,2.7vw,36px);font-weight:550;line-height:1.1;margin:0}.subtitle{font-size:13px;margin:8px 0 0}.map-area{text-align:center;flex-shrink:1;min-height:0}.ocean-globe{height:clamp(135px,24vh,270px);aspect-ratio:1;margin:auto}.ocean-globe canvas{width:100%;height:100%;cursor:grab;touch-action:none;filter:drop-shadow(0 9px 12px #244e5833)}.ocean-caption{font-size:11px;margin:2px 0 8px}.ocean-seas{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}.ocean-seas button{font-size:11px;padding:5px 10px;background:#f8f7e9c9;border:1px solid #fff9;border-radius:20px}.ocean-seas button[aria-pressed=true]{background:#2f6973;color:#fff}.ocean-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px;width:min(920px,100%);flex-shrink:0}.ocean-card{overflow:hidden;border-radius:23px;background:linear-gradient(145deg,#fcfaf0ed,#eff3e5e8);border:1px solid #fffd;box-shadow:0 10px 25px #234d4920;text-align:center;transition:transform .25s}.ocean-card:hover{transform:translateY(-4px)}.card-main{display:block}.ocean-card img{display:block;width:100%;height:clamp(90px,17vh,200px);object-fit:cover;mix-blend-mode:multiply;mask-image:linear-gradient(#000 80%,transparent);animation:demo-float 6s ease-in-out infinite}.ocean-card:nth-child(2) img{animation-delay:-2s}.ocean-card:nth-child(3) img{animation-delay:-4s}.ocean-card h2{font-size:clamp(22px,2.3vw,31px);font-weight:550;margin:0 0 5px}.ocean-card p{font-size:12px;margin:0 8px 12px}.card-links{display:flex;justify-content:center;gap:0;border-top:1px solid #49767c26;padding:11px 7px;font-size:11px}.card-links a{padding:0 9px;border-right:1px solid #49767c40}.card-links a:last-child{border:0}.card-links a:hover{text-decoration:underline}.discovery-bar{display:flex;justify-content:space-between;align-items:center;gap:25px;width:min(920px,100%);padding:10px 17px;border:1px solid #ffffff80;border-radius:16px;background:#eff7eabf;font-size:12px}.discovery-bar>a{display:flex;align-items:center;gap:12px}.dis-moi{font:italic bold 24px Georgia,serif}.discovery-bar strong{margin-left:5px}.discovery-bar button{white-space:nowrap;font-size:12px}.new-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#2c8279;margin-right:4px}.bottom{display:flex;justify-content:space-between;gap:15px;padding:13px 30px;background:#eaf3e7b8;border-top:1px solid #fff8;font-size:10px}.endorsements,.footer-tools{display:flex;gap:16px;align-items:center}.bottom button{padding:0;font-size:inherit}.preview-label{font-size:8px;letter-spacing:.12em;opacity:.65}#fullscreen{font-size:20px}.demo-bubble{position:absolute;bottom:-30px;width:7px;height:7px;border:1px solid #fff8;border-radius:50%;pointer-events:none;z-index:-1;animation:demo-rise 16s linear infinite}dialog{padding:0;border:1px solid #fff;border-radius:24px;width:min(1000px,92vw);max-height:84dvh;background:#f5f5e9;color:#244e58;box-shadow:0 25px 90px #163d4970}dialog::backdrop{background:#113d4870;backdrop-filter:blur(7px)}.panel-header{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;padding:20px 26px;background:#f5f5e9;z-index:1;border-bottom:1px solid #244e5820}.panel-header h2{margin:0;font-size:24px;font-weight:550}.panel-header button{font-size:30px}.panel-body{padding:24px}.shelf{margin-bottom:32px}.shelf-head{display:flex;justify-content:space-between;align-items:center}.shelf-head h2{font-size:17px;margin:0}.shelf-head p{font-size:12px}.shelf-head>a{font-size:12px}.shelf-track{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.thumb{display:flex;flex-direction:column;gap:8px;font-size:12px}.thumb img{width:100%;height:110px;object-fit:cover;border-radius:12px}.science-column{display:grid;grid-template-columns:1fr 1fr;gap:20px}.science-column> *{padding:22px;border-radius:16px;background:#e2ebe2}.science-column img{max-width:100%;height:100px;object-fit:contain}.science-card{display:flex;gap:15px}.support-icon{display:none}.science-column a{display:block;text-decoration:underline}.about{line-height:1.7}.about>a{display:block;padding:10px 0;text-decoration:underline}@keyframes demo-water{to{transform:scale(1.035) translate(-.5%,-.6%)}}@keyframes demo-float{50%{transform:translateY(-5px)}}@keyframes demo-rise{to{transform:translate(35px,-110vh);opacity:0}}
@media(max-height:760px) and (min-width:701px){.topbar{padding:10px 25px}.ocean-inner{gap:6px;padding:8px 0}.ocean-globe{height:21vh}.ocean-card img{height:15vh}.intro-heading h1{font-size:27px}.subtitle{display:none}.bottom{padding:9px 24px}.discovery-bar{padding:7px 14px}.card-links{padding:8px 4px}}
@media(max-width:850px){.topbar{padding:12px 18px}.topbar nav{gap:12px;font-size:11px}.brand{font-size:18px}.member{font-size:10px;padding:9px 12px}.ocean-cards{gap:12px}.card-links a{padding:0 5px}.bottom{padding:10px 16px}.endorsements,.footer-tools{gap:10px}.discovery-bar strong{display:block;margin:0}}
@media(max-width:600px){.topbar{gap:8px;flex-wrap:wrap;padding:10px 14px}.brand{font-size:17px}.brand small{font-size:9px}.topbar nav{order:3;width:100%;justify-content:center;gap:20px}.ocean-inner{gap:8px;width:94vw;padding:8px 0}.ocean-kicker{font-size:8px;margin-bottom:5px}.intro-heading h1{font-size:23px;max-width:330px;margin:auto}.subtitle{font-size:11px}.ocean-globe{height:clamp(100px,20vh,200px)}.ocean-caption{font-size:9px}.ocean-seas{gap:4px}.ocean-seas button{font-size:9px;padding:4px 7px}.ocean-cards{gap:7px}.ocean-card{border-radius:14px}.ocean-card img{height:12vh}.ocean-card h2{font-size:18px}.ocean-card p{font-size:9px;margin:0 4px 7px;line-height:1.3}.card-links{flex-direction:column;gap:5px;padding:7px 3px;font-size:10px;min-height:65px;justify-content:center}.card-links a{border:0}.discovery-bar{gap:8px;padding:8px;font-size:9px;border-radius:12px}.discovery-bar>a{gap:6px}.dis-moi{font-size:19px}.discovery-bar button{font-size:9px;white-space:normal;max-width:95px}.bottom{flex-direction:column;align-items:center;gap:7px;padding:8px;font-size:9px}.endorsements,.footer-tools{gap:12px}.panel-header{padding:15px}.panel-header h2{font-size:20px}.panel-body{padding:16px}.shelf-track{grid-template-columns:1fr 1fr}.science-column{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.ocean-bg,.ocean-card img,.demo-bubble{animation:none}.ocean-bg{transition:none}}
/* Six independent entrances, all visible within the home scene. */
.ocean-inner{width:min(1340px,95vw);gap:clamp(8px,1.5vh,18px)}
.ocean-cards{width:100%;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
.ocean-card{padding-bottom:12px;border-radius:21px;display:flex;flex-direction:column;align-items:center}
.ocean-card img{height:clamp(105px,17vh,195px);object-fit:cover;animation-delay:0s}
.ocean-card:nth-child(2n) img{animation-delay:-2s}.ocean-card:nth-child(3n) img{animation-delay:-4s}
.ocean-card h2{font-size:clamp(19px,1.8vw,27px);margin:3px 0 8px}
.ocean-card p{font-size:12px;line-height:1.4;max-width:175px;min-height:34px;margin:0 9px}
.card-arrow{font-size:25px;line-height:1.2;margin-top:7px}
.discovery-bar{width:min(920px,100%)}
@media(min-width:1001px) and (max-height:760px){.ocean-globe{height:22vh}.ocean-card img{height:16vh}.ocean-inner{gap:10px}.ocean-card p{font-size:11px}.ocean-card h2{font-size:21px}.ocean-card{padding-bottom:8px}}
@media(max-width:1000px){.ocean-inner{width:min(780px,94vw);gap:9px}.ocean-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.ocean-globe{height:clamp(100px,17vh,185px)}.ocean-card img{height:clamp(60px,10vh,110px)}.ocean-card h2{font-size:22px;margin:0 0 4px}.ocean-card p{font-size:10px;min-height:0;max-width:none}.ocean-card{padding-bottom:7px;border-radius:16px}.card-arrow{font-size:19px;margin-top:3px}.subtitle{display:none}.ocean-caption{margin-bottom:5px}.intro-heading h1{font-size:27px}}
@media(max-width:600px){.ocean-inner{gap:7px;padding:7px 0}.intro-heading h1{font-size:22px}.ocean-cards{gap:8px}.ocean-globe{height:clamp(85px,15vh,140px)}.ocean-card img{height:clamp(48px,8.7vh,83px)}.ocean-card h2{font-size:17px;margin:0 0 4px}.ocean-card p{font-size:9px;line-height:1.25;min-height:23px;margin:0 5px}.ocean-card{border-radius:13px;padding-bottom:5px}.card-arrow{font-size:17px;margin-top:2px}.discovery-bar{padding:7px}.ocean-caption{font-size:9px;margin:0 0 5px}}
/* Slightly larger footer links for readability. */
.bottom{font-size:12px}
@media(max-width:850px){.bottom{font-size:11px}}
@media(max-width:600px){.bottom{font-size:10px}}
/* Keep each animated illustration inset from the card edges. */
.ocean-card{min-width:0}
.ocean-card img{width:calc(100% - 20px);max-width:calc(100% - 20px);min-width:0;margin:10px auto 0;border-radius:13px;flex-shrink:0}
@media(max-width:600px){.ocean-card img{width:calc(100% - 12px);max-width:calc(100% - 12px);margin-top:6px;border-radius:9px}}
/* Show the complete illustration instead of cropping its left and right sides. */
.ocean-card img{object-fit:contain;object-position:center;mask-image:none;-webkit-mask-image:none}
/* Let the illustration determine its height, without empty letterboxing. */
.ocean-card img{height:auto;aspect-ratio:auto;margin-top:10px}
.ocean-card h2{margin-top:10px}
@media(max-width:600px){.ocean-card img{height:auto;margin-top:6px}.ocean-card h2{margin-top:6px}}
.header-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}
.shop-link{display:inline-block;font-size:12px;font-weight:650;padding:10px 17px;border:1px solid #285d6680;border-radius:24px;background:#f8f7e9d9}
@media(max-width:850px){.header-actions{gap:7px}.shop-link{font-size:10px;padding:8px 12px}}
@media(max-width:600px){.topbar{column-gap:5px}.header-actions{gap:5px}.shop-link{padding:8px 10px}.header-actions .member{font-size:9px;padding:9px}.brand{font-size:15px}}
#contact-modal{width:min(560px,92vw)}.contact-intro{font-size:14px;line-height:1.6;margin:0 0 22px}#demo-contact-form{display:grid;gap:10px}#demo-contact-form label{font-size:13px;font-weight:650;margin-top:6px}#demo-contact-form input:not([type=hidden]),#demo-contact-form textarea{width:100%;border:1px solid #8ca9a7;border-radius:10px;padding:12px;background:#fffdf7;color:#244e58;font:15px system-ui}#demo-contact-form textarea{resize:vertical;min-height:110px}#demo-contact-form small{font-size:11px}.contact-captcha{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.contact-captcha img{border-radius:7px}.contact-captcha button{font-size:12px;text-decoration:underline}.contact-send{margin-top:14px;padding:13px 20px;border-radius:24px;background:#285d66;color:#fff;font-weight:650}
#home-language-slot{display:flex;align-items:center;flex-shrink:0}
#home-language-slot .dive-language{position:static;inset:auto;z-index:auto;margin:0;max-width:none;max-height:none;flex-wrap:nowrap;padding:3px;gap:2px;background:#fff9;border:1px solid #83b4bc;border-radius:8px;font:11px system-ui}
#home-language-slot .dive-language button{min-width:34px;min-height:30px;padding:5px 7px;font:inherit}
body>dialog>.dive-language{position:static;inset:auto;width:max-content;margin:8px 16px 14px auto;max-height:none}
@media(max-width:600px){.footer-tools{gap:9px;flex-wrap:wrap;justify-content:center}#home-language-slot .dive-language{font-size:10px}#home-language-slot .dive-language button{min-width:30px;min-height:28px}.bottom{padding-block:6px}}
/* Reuse Station's water shader behind the interface. */
.ocean-bg{z-index:-4}
#demo-water{position:absolute;inset:0;width:100%;height:100%;z-index:-2;pointer-events:none}
#demo-water[hidden]{display:none}
@media(prefers-reduced-motion:reduce){#demo-water{display:none}}
/* Anchor the content higher to reveal the foreground marine life. */
@media(min-width:1001px){.ocean-inner{justify-content:flex-start;padding-top:clamp(18px,3vh,38px)}}
@media(min-width:601px) and (max-width:1000px) and (min-height:850px){.ocean-inner{justify-content:flex-start;padding-top:22px}}
/* A dedicated bottom strip protects the footer from all licence watermarks. */
:root{--licence-space:46px}
html,body{overflow:hidden!important}
.ocean-intro{height:calc(100dvh - var(--licence-space))}
#watermark{max-width:calc(100vw - 24px);z-index:9999!important}
#watermark .wm-box{max-width:calc(100vw - 24px);white-space:normal!important}
#watermark .wm-text{white-space:normal!important;text-align:center}
#entry-licence,#entry-announcement{width:min(570px,94vw)}
#entry-licence .panel-body,#entry-announcement .panel-body{line-height:1.6}
#entry-licence a{text-decoration:underline;font-size:14px}
.entry-personal{padding:15px;border-radius:12px;background:#dfebe1}
.entry-accept{display:flex;align-items:flex-start;gap:12px;margin:22px 0 8px;font-size:14px;cursor:pointer}
.entry-accept input{width:20px;height:20px;flex-shrink:0;margin:2px 0}
#entry-enter{width:100%}#entry-enter:disabled{opacity:.45;cursor:not-allowed}
.announcement-copy{white-space:pre-line}
/* Compact licence strip on touch devices; keep the desktop watermark unchanged. */
@media(max-width:1199px){
 #watermark{width:max-content!important;max-width:calc(100vw - 24px)!important;left:50%!important;right:auto!important;bottom:6px!important;transform:translateX(-50%)!important}
 #watermark .wm-box{padding:7px 12px!important;max-width:calc(100vw - 24px)!important;border-radius:9px!important}
 #watermark .wm-text{font-size:14px!important;line-height:1.3!important}
}
@media(max-width:600px){
 #watermark{width:calc(100vw - 20px)!important;max-width:calc(100vw - 20px)!important}
 #watermark .wm-box{padding:6px 9px!important;max-width:100%!important}
 #watermark .wm-text{font-size:11px!important;line-height:1.3!important}
}

/* Responsive and touch layout: never compress the globe into the cards. */
.map-area{flex-shrink:0}
@media(min-width:1001px) and (max-width:1199px) and (orientation:landscape){
 .topbar{padding:10px 20px;gap:12px}.topbar nav{gap:14px;font-size:12px}.brand{font-size:20px}
 .ocean-inner{padding:8px 0;gap:8px}.intro-heading h1{font-size:26px}.subtitle{display:none}.ocean-globe{height:clamp(100px,18vh,145px)}.ocean-card h2{font-size:21px}.ocean-card p{font-size:11px}.ocean-card{padding-bottom:7px}.card-arrow{margin-top:3px;font-size:22px}.bottom{padding:8px 18px}
}
@media(max-width:1000px){
 html{height:auto!important;min-height:100%;overflow-y:auto!important}
 body{height:auto!important;min-height:100dvh;overflow-y:auto!important;padding-bottom:var(--licence-space)}
 .ocean-intro{height:auto;min-height:calc(100dvh - var(--licence-space));overflow:hidden;grid-template-rows:auto auto auto}
 .ocean-inner{justify-content:flex-start;padding:22px 0;gap:16px}.map-area{min-height:auto}.ocean-globe{height:180px}.ocean-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
 .topbar{flex-wrap:wrap}.topbar nav{order:3;width:100%;justify-content:center;gap:20px}.brand{max-width:none}.brand small{white-space:nowrap}.bottom{flex-wrap:wrap;justify-content:center;gap:12px}
 body #dis-moi-launcher{min-width:56px;width:56px;height:56px;min-height:56px;padding:3px;gap:0;border-radius:50%}
 body #dis-moi-launcher img{width:48px;height:48px}body #dis-moi-launcher .dis-moi-launcher-label{display:none}
 body #dis-moi-launcher:not([style*="left:"]){left:auto;right:12px;top:auto;bottom:calc(var(--licence-space) + 95px);transform:none}
}
@media(max-width:600px){
 .topbar{padding:10px 12px;gap:8px}.header-actions{gap:6px}.brand{font-size:15px}.topbar nav{gap:8px;flex-wrap:wrap;font-size:11px}
 .ocean-inner{padding:18px 0;gap:15px}.intro-heading h1{font-size:24px}.ocean-globe{height:165px}.ocean-caption{font-size:11px;max-width:300px;margin:4px auto 10px}
 .ocean-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ocean-card h2{font-size:21px}.ocean-card p{font-size:12px;line-height:1.4;min-height:34px;margin:0 8px}.ocean-card{padding-bottom:9px}.card-arrow{font-size:24px}
 .discovery-bar{gap:10px;padding:10px;font-size:11px;align-items:stretch}.discovery-bar button{font-size:11px;max-width:110px}.dis-moi{font-size:22px}.bottom{padding:12px 8px;font-size:10px}.endorsements{flex-wrap:wrap;justify-content:center}
 .shelf-track{grid-template-columns:repeat(2,minmax(0,1fr))}.thumb img{height:auto;aspect-ratio:16/9;object-fit:contain}.panel-header h2{font-size:20px}
}
@media(pointer:coarse){
 .topbar nav a,.topbar nav button,.header-actions a,.ocean-seas button,.bottom a,.bottom button{min-height:44px;display:inline-flex;align-items:center;justify-content:center}
 .ocean-seas button{font-size:12px;padding:8px 12px;min-width:44px}.ocean-seas{gap:6px}
 #home-language-slot .dive-language button{min-width:44px;min-height:44px}
 .panel-header>button,.dis-moi-close{min-width:44px;min-height:44px}
 .contact-captcha button{min-height:44px}#demo-contact-form input:not([type=hidden]),#demo-contact-form textarea{font-size:16px;min-height:44px}
 .ocean-card:hover{transform:none}
}
@media(max-width:1000px) and (orientation:landscape){.ocean-globe{height:145px}.ocean-inner{padding:12px 0}.ocean-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Blend only the outer edge of the globe into the underwater scene. */
.ocean-globe canvas{mask-image:radial-gradient(circle closest-side,#000 0 74%,#000d 82%,#0007 88%,transparent 94%);-webkit-mask-image:radial-gradient(circle closest-side,#000 0 74%,#000d 82%,#0007 88%,transparent 94%)}

@media(max-width:600px){#demo-water{display:none!important}.ocean-bg,.demo-bubble{animation:none!important}}

/* Keep licence access clickable on desktop and touch screens. */
#watermark .wm-link-wrapper{pointer-events:auto!important;display:block;touch-action:manipulation}
@media(pointer:coarse){#watermark .wm-link-wrapper{min-height:44px;display:flex;align-items:center;justify-content:center}#watermark .wm-box{width:100%}}

/* Preserve connected licence text and the original logout handler. */
#watermark{display:flex!important;align-items:center;gap:10px}
#watermark .wm-container{min-width:0;flex:1}
#watermark #wm-logout{position:static!important;inset:auto!important;transform:none!important;flex:0 0 44px;min-width:44px;min-height:44px;pointer-events:auto!important}
@media(pointer:coarse){#watermark #wm-logout{opacity:1!important}}

/* Fade the licence and its controls after three seconds without activity. */
#watermark{transition:opacity .35s ease}
html.home-watermark-idle #watermark,html.home-watermark-idle #wm-back-presentation{opacity:0!important;pointer-events:none!important}
html.home-watermark-idle #watermark *{pointer-events:none!important}

/* Preserve complete thumbnails and their embedded titles in every discovery shelf. */
#nouveautes .thumb img{width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;object-position:center;background:#e6ece1}

.discovery-bar>a{flex:1;min-width:0}.discovery-bar>a>span:last-child{min-width:0}.discovery-bar strong#home-random-question{display:block;margin:4px 0 0;font-size:13px;line-height:1.45}.discovery-bar>button{flex-shrink:0}
@media(max-width:600px){.discovery-bar strong#home-random-question{font-size:12px}.discovery-bar{align-items:center}}

.discovery-bar>button[data-panel="nouveautes"]{font-size:14px;font-weight:600}
.footer-tools>a[href*="soutien"]{font-size:14px;font-weight:600}
@media(max-width:600px){.discovery-bar>button[data-panel="nouveautes"],.footer-tools>a[href*="soutien"]{font-size:12px}}

/* Keep the question bar clear of the footer on landscape tablets, including Safari's reduced viewport. */
@media(min-width:1001px){
 .ocean-inner{overflow-y:auto;overscroll-behavior-y:contain;scroll-padding-block:12px}
 .intro-heading,.discovery-bar{flex-shrink:0}
}
@media(min-width:1001px) and (max-width:1440px) and (orientation:landscape) and (max-height:1050px){
 .ocean-inner{padding-block:10px;gap:8px}
 .intro-heading h1{font-size:28px}.ocean-kicker{margin-bottom:5px}
 .subtitle{margin-top:6px;font-size:12px}
 .ocean-globe{height:clamp(110px,17dvh,175px)}
 .ocean-caption{margin:2px 0 6px}
 .ocean-card h2{font-size:23px;margin-top:7px;margin-bottom:5px}
 .ocean-card p{font-size:11px;line-height:1.35;min-height:30px}
 .ocean-card{padding-bottom:7px}.card-arrow{font-size:22px;margin-top:3px}
 .discovery-bar{margin-bottom:8px;padding-block:8px}
}

/* Match the scientific endorsement link to the support link. */
.endorsements>a[href*="parrainageScientifique"]{font-size:14px;font-weight:600}
@media(max-width:600px){.endorsements>a[href*="parrainageScientifique"]{font-size:12px}}

/* Licence shares the footer instead of adding a strip below it. */
:root{--licence-space:0px}
.bottom{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.8fr) minmax(0,1fr);align-items:center;gap:12px;padding:8px 18px}
.endorsements{flex-wrap:wrap;gap:4px 12px;min-width:0}.endorsements>a[href*="parrainageScientifique"]{display:flex;flex-direction:column;line-height:1.25;gap:1px;flex-basis:100%;align-items:flex-start}
.footer-tools{justify-content:flex-end;flex-wrap:wrap;gap:5px 10px;min-width:0}
.home-licence-slot{min-width:0;width:100%;display:flex;align-items:center;justify-content:center}
.home-licence-slot #watermark{position:static!important;inset:auto!important;transform:none!important;width:100%!important;max-width:100%!important;margin:0!important;gap:4px}
.home-licence-slot #watermark .wm-box{max-width:100%!important;padding:6px 8px!important}
.home-licence-slot #watermark .wm-text{white-space:nowrap!important;font-size:var(--home-licence-font,14px)!important;line-height:1.3!important}
.home-licence-slot #watermark .wm-link-wrapper{min-width:0;max-width:100%}
@media(max-width:1000px){.bottom{grid-template-columns:minmax(0,1fr) minmax(0,1.7fr) minmax(0,1fr);padding:6px 10px;gap:8px}.endorsements{font-size:10px}.footer-tools{gap:3px 8px}.endorsements>a[href*="parrainageScientifique"]{font-size:12px}}
@media(max-width:600px){
 .bottom{grid-template-columns:1fr;gap:2px;padding:5px 8px}.home-licence-slot{grid-row:2}.endorsements{justify-content:center;gap:2px 10px}.endorsements>a[href*="parrainageScientifique"]{flex-basis:auto;align-items:center}.footer-tools{justify-content:center;gap:4px 10px}
 .home-licence-slot #watermark .wm-box{padding:4px 6px!important}.home-licence-slot #watermark .wm-link-wrapper{min-height:30px}
 .ocean-inner{padding:8px 0;gap:8px}.ocean-globe{height:135px}.ocean-caption{margin:2px auto 4px}.ocean-cards{gap:8px}.ocean-card h2{margin:4px 0;font-size:19px}.ocean-card p{font-size:11px;line-height:1.3;min-height:28px}.ocean-card{padding-bottom:5px}.card-arrow{font-size:21px;margin-top:2px}.discovery-bar{padding:7px;gap:6px}
 .topbar{padding-block:6px;gap:4px}.ocean-kicker{margin-bottom:3px}.intro-heading h1{font-size:22px}
}

/* Partner logos sit beside the two-line endorsement, leaving more room for the licence. */
.bottom{grid-template-columns:310px minmax(0,1fr) 260px;gap:12px;padding-inline:14px}
.endorsements{flex-wrap:nowrap;gap:10px;justify-content:flex-start}
.endorsements>a[href*="parrainageScientifique"]{flex:0 0 auto;font-size:13px;white-space:nowrap}
.partner-logo{display:flex;align-items:center;justify-content:center;flex:0 1 64px;min-width:0}
.partner-logo img{display:block;width:64px;max-width:100%;height:28px;object-fit:contain}
.home-licence-slot #watermark .wm-box{padding-block:9px!important}
@media(min-width:1600px){.bottom{grid-template-columns:350px minmax(0,1fr) 280px}.endorsements>a[href*="parrainageScientifique"]{font-size:14px}.partner-logo{flex-basis:76px}.partner-logo img{width:76px;height:32px}}
@media(min-width:601px) and (max-width:1000px){.bottom{grid-template-columns:270px minmax(0,1fr) 175px;gap:8px}.endorsements{gap:6px}.endorsements>a[href*="parrainageScientifique"]{font-size:11px}.partner-logo img{width:52px;height:25px}}
@media(max-width:600px){.bottom{grid-template-columns:1fr;gap:2px;padding-inline:8px}.endorsements{justify-content:center;gap:12px}.endorsements>a[href*="parrainageScientifique"]{font-size:12px}.partner-logo{flex:0 0 64px}.partner-logo img{width:64px;height:26px}}

/* Keep the licence background close to its text, centred in the footer. */
.home-licence-slot #watermark .wm-link-wrapper{display:flex!important;justify-content:center;align-items:center;width:100%}
.home-licence-slot #watermark .wm-box{width:fit-content!important;min-width:0;flex:0 1 auto;max-width:100%!important}

/* Stack the information link directly below support in both languages. */
.footer-tools{display:grid;grid-template-columns:max-content max-content max-content;grid-template-rows:auto auto;column-gap:12px;row-gap:2px;align-items:center}
.footer-tools>a[href*="soutien"]{grid-column:1;grid-row:1;justify-self:start}
.footer-tools>a[href*="CGUSite"]{grid-column:1;grid-row:2;justify-self:start}
.footer-tools>#fullscreen{grid-column:2;grid-row:1 / 3}
.footer-tools>#home-language-slot{grid-column:3;grid-row:1 / 3}

/* The bottom bar belongs to the licence and language selector only. */
.topbar{flex-wrap:wrap;row-gap:8px}
.header-resources{order:4;flex:0 0 100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:7px;border-top:1px solid #ffffff55}
.header-resources .endorsements{display:flex;flex-wrap:nowrap;gap:14px;justify-content:flex-start}
.header-resources .endorsements>a[href*="parrainageScientifique"]{font-size:12px;line-height:1.2;min-height:36px}
.header-resources .partner-logo{flex:0 0 70px}.header-resources .partner-logo img{width:70px;height:27px}
.resource-links{display:flex;align-items:center;gap:18px;font-size:12px}.resource-links>a[href*="soutien"]{font-weight:600;font-size:14px}
.resource-links a,.resource-links button{display:inline-flex;align-items:center;min-height:36px}
.bottom{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;padding:7px 16px;min-height:58px}
.bottom .footer-tools{display:flex;grid-column:2;align-items:center;justify-content:flex-end;gap:0}
.bottom .home-licence-slot{grid-column:1;grid-row:1;min-width:0}
.home-licence-slot #watermark .wm-text{font-weight:500}
@media(max-width:1000px){.topbar nav{order:3}.header-resources{padding-top:5px;gap:10px}.bottom{grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:6px 10px;min-height:58px}.header-resources .endorsements{gap:10px}.resource-links{gap:12px}}
@media(max-width:600px){
 .header-resources{flex-wrap:wrap;justify-content:center;gap:3px;padding-top:4px}.header-resources .endorsements{justify-content:center;gap:12px}.header-resources .endorsements>a[href*="parrainageScientifique"]{font-size:11px}.header-resources .partner-logo{flex-basis:58px}.header-resources .partner-logo img{width:58px;height:23px}
 .resource-links{justify-content:center;gap:20px;font-size:11px;width:100%}.resource-links>a[href*="soutien"]{font-size:12px}.resource-links a,.resource-links button{min-height:32px}
 .bottom{grid-template-columns:minmax(0,1fr) auto;gap:6px;padding:5px 6px;min-height:48px}.bottom .home-licence-slot{grid-row:1}.home-licence-slot #watermark .wm-box{padding:6px!important}#home-language-slot .dive-language button{min-width:32px;min-height:36px}
}
@media(pointer:coarse){.resource-links a,.resource-links button{min-height:44px}.bottom #home-language-slot .dive-language button{min-height:44px;min-width:38px}}

@media(max-width:1000px){.bottom{position:fixed;bottom:0;left:0;right:0;z-index:40;background:#eaf3e7ed}body{padding-bottom:var(--home-footer-height,70px)!important}}
@media(max-width:600px){.home-licence-slot #watermark .wm-text{white-space:normal!important;font-size:12px!important;line-height:1.3!important}.bottom{min-height:64px}}

.header-extras{order:4;flex:0 0 100%;position:relative;border-top:1px solid #ffffff55;padding-top:3px}.header-extras>summary{cursor:pointer;font-size:12px;min-height:36px;display:flex;align-items:center;justify-content:center;gap:8px;list-style:none}.header-extras>summary::after{content:'⌄';font-size:16px}.header-extras[open]>summary::after{content:'⌃'}.header-extras .header-resources{border-top:0;padding:5px 0}.header-extras>summary::-webkit-details-marker{display:none}
@media(max-width:600px){.ocean-globe{height:180px}.header-extras>summary{min-height:36px}.ocean-seas button{min-height:44px;min-width:44px;padding:7px 9px;font-size:11px}.ocean-globe canvas{touch-action:none}}

/* A larger globe makes touch rotation and sea selection easier on phones. */
@media(max-width:600px){.ocean-globe{height:clamp(220px,64vw,280px);max-width:88vw}.map-area{width:100%}}

/* Floating licence and language controls, without a full-width footer band. */
.bottom{position:fixed;inset:auto 0 0;z-index:40;background:transparent!important;border:0!important;pointer-events:none;min-height:0;box-shadow:none}
.bottom .footer-tools,.bottom #watermark{pointer-events:auto}
@media(min-width:1001px){.ocean-inner{padding-bottom:calc(var(--home-footer-height,60px) + 10px)}}

.header-extras>summary{font-size:14px;font-weight:600}

/* Keep the expanded partner links together beneath their central toggle. */
.header-extras .header-resources{width:fit-content;max-width:100%;margin-inline:auto;justify-content:center;gap:28px;flex-wrap:wrap}
.header-extras .endorsements,.header-extras .resource-links{justify-content:center}
@media(max-width:600px){.header-extras .header-resources{gap:4px 16px}.header-extras .resource-links{width:auto;flex-wrap:wrap}}

.bottom .footer-tools{gap:10px}.bottom #fullscreen{min-width:36px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;touch-action:manipulation}

/* Let a little more of the marine scenery show through the six entry cards. */
.ocean-card{background:linear-gradient(145deg,rgba(252,250,240,.84),rgba(239,243,229,.80))}

.bottom #fullscreen{background:#fff;color:#244e58;border:1px solid #83aeb5;border-radius:9px;min-width:44px;box-shadow:0 2px 7px #163d4920}
.bottom #fullscreen:hover{background:#f0f7f6}

/* Give the globe more presence on desktop and a larger touch surface on tablets. */
@media(min-width:1001px){.ocean-globe{height:clamp(240px,30dvh,380px)}}
@media(min-width:601px) and (max-width:1000px){.ocean-globe{height:clamp(260px,34vw,340px)}}
@media(min-width:1001px) and (max-height:850px){.ocean-globe{height:clamp(200px,28dvh,250px)}}

.ocean-seas{align-items:center;gap:9px}.ocean-seas label{font-size:12px;font-weight:600}.ocean-seas select{font:600 13px system-ui;color:#244e58;background:#fafbeded;border:1px solid #7ca5aa;border-radius:22px;min-height:44px;padding:8px 34px 8px 14px;max-width:min(72vw,320px);cursor:pointer}.ocean-seas select:focus-visible{outline:3px solid #98702b;outline-offset:3px}
@media(max-width:600px){.ocean-seas select{font-size:16px}.ocean-seas label{font-size:11px}}

/* A unified marine-area control, while retaining the native accessible picker. */
.ocean-seas{display:inline-flex;flex-wrap:nowrap;gap:0;max-width:94vw;padding:3px 5px 3px 17px;background:linear-gradient(135deg,#fffdf2f0,#e8f3e9e8);border:1px solid #ffffffd9;border-radius:28px;box-shadow:0 4px 16px #174b5420}
.ocean-seas label{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#446c72;padding-right:13px;border-right:1px solid #285d6630;white-space:nowrap}
.ocean-seas select{appearance:none;-webkit-appearance:none;border:0;border-radius:23px;box-shadow:none;background-color:transparent;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23285d66' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;font-size:15px;min-height:40px;padding:8px 38px 8px 14px;max-width:min(64vw,320px)}
.ocean-seas:focus-within{box-shadow:0 0 0 3px #62b8b855,0 4px 16px #174b5420}.ocean-seas select:hover{background-color:#ffffff55}.ocean-seas select option{color:#244e58;background:#f8fbf5}
@media(max-width:600px){.ocean-seas{padding-left:12px}.ocean-seas label{font-size:9px;padding-right:9px}.ocean-seas select{font-size:16px;min-height:44px;padding-left:11px}}

body #dis-moi-launcher{background:rgba(252,250,240,.88)}
.home-language-frame{position:fixed;inset:0;width:100%;height:100%;border:0;z-index:2147483647;background:#b2dbd5}

.header-resources .endorsements>a[href*="parrainageScientifique"]{flex-direction:row;align-items:center;gap:10px}.patron-thumbnail{width:90px;height:60px;object-fit:contain;border-radius:7px}.patron-label{display:flex;flex-direction:column;gap:2px}
@media(max-width:600px){.patron-thumbnail{width:75px;height:50px}.header-resources .endorsements{flex-wrap:wrap}}

/* Keep logout immediately beside the visible licence text, not at the end of the slot. */
.home-licence-slot #watermark{justify-content:center}
.home-licence-slot #watermark .wm-container{flex:0 1 auto!important;width:max-content;max-width:calc(100% - 54px)}
.home-licence-slot #watermark:not(:has(#wm-logout)) .wm-container{max-width:100%}
.home-licence-slot #watermark .wm-link-wrapper{width:auto!important}
