:root{font-family:"Trebuchet MS",system-ui,sans-serif;color:#152f36;background:#102632;color-scheme:light;--ink:#12343b;--paper:#fcfbf4;--teal:#0d5e62;--gold:#ffdc91}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #e39117;outline-offset:4px}button[hidden]{display:none}
.ocean{--scene:url("../assets/mer-suspendue/port.webp");position:relative;isolation:isolate;min-height:100vh;min-height:100svh;display:flex;flex-direction:column;overflow:hidden;color:white;background:#12313b}
.landscape,.ocean::after{position:absolute;inset:0;z-index:-1}.landscape{background-image:var(--scene);background-size:cover;background-position:center 47%;background-repeat:no-repeat}.ocean::after{content:"";background:linear-gradient(180deg,rgba(4,20,29,.69),transparent 17%,transparent 45%,rgba(4,19,28,.16) 55%,rgba(2,17,25,.84)),linear-gradient(70deg,rgba(4,21,28,.91),rgba(4,21,28,.25) 36%,transparent 62%);pointer-events:none}
.mast{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:clamp(.9rem,3vw,2.4rem) clamp(1rem,5vw,5rem);z-index:1}.home,.tools a,.tools button,.story button,.spot{color:white}.home,.tools a{text-decoration:none}.home{display:inline-flex;align-items:center;gap:.65rem;font-weight:700;letter-spacing:.015em;text-shadow:0 1px 9px #11242f}.home span{font:2rem/1 Georgia,serif;color:var(--gold)}.tools,.world-actions,.actions{display:flex;gap:.55rem;align-items:center;flex-wrap:wrap}.tools a,.tools button,.world-actions button,.spot{font-size:.92rem;border:1px solid #ffffff80;background:#102b35bd;padding:.61rem 1rem;border-radius:99px}.tools a:hover,.tools button:hover,.world-actions button:hover,.spot:hover{background:#284b54}
#world{flex:1;display:flex;align-items:flex-end;position:relative;padding:1rem clamp(1.15rem,6vw,6rem) clamp(3.8rem,8vh,6.4rem);min-height:31rem}.story{max-width:min(47rem,92vw);z-index:1}.overline{text-transform:uppercase;letter-spacing:.16em;font-size:.85rem;font-weight:bold;margin:0 0 .9rem;color:#ffe6a6}.overline span{opacity:.65;margin:0 .4rem}h1,.sheet h2,.map h3,.bulletin h3{font-family:Georgia,"Times New Roman",serif;font-weight:400}.story h1{font-size:clamp(4.7rem,8.7vw,9.4rem);line-height:.88;letter-spacing:-.055em;margin:0;text-shadow:0 .05em .35em #04232c55}.story h1 em{font-weight:400;color:#ffdf9f}.lede{font-size:clamp(1.03rem,1.45vw,1.25rem);line-height:1.52;max-width:36rem;margin:1.2rem 0 1.5rem;text-shadow:0 1px 5px #11252f}.story button.gold{color:#172d33;background:var(--gold);border:1px solid #f9e8b6;font-weight:700;border-radius:99px;padding:.85rem 1.35rem}.story button.gold:hover{background:#ffecb9}.save-note:empty{display:none}.save-note{max-width:28rem;font-size:.9rem}
.mission h1,.epilogue h1{font-size:clamp(3.2rem,5.7vw,5.8rem);line-height:1}.mission .lede{margin:.65rem 0 1.2rem}.spots{position:absolute;inset:0;pointer-events:none}.spot{position:absolute;pointer-events:auto;transform:translateX(-50%);white-space:nowrap;backdrop-filter:blur(5px);box-shadow:0 2px 12px #0c263e73}.spot::before{content:"";display:inline-block;vertical-align:middle;width:.6em;height:.6em;background:#ffe29f;border:2px solid white;border-radius:50%;margin-right:.45rem}.station{left:15%;top:44%}.lookout{left:59%;top:21%}.radio{left:84%;top:55%}
dialog{padding:0;width:min(47rem,calc(100vw - 2rem));max-width:100%;max-height:calc(100dvh - 2rem);overflow:auto;background:var(--paper);color:var(--ink);border:1px solid #8daaa7;border-radius:14px;box-shadow:0 1.7rem 7rem #00182099}dialog.wide{width:min(51rem,calc(100vw - 2rem))}dialog::backdrop{background:#051d25ad;backdrop-filter:blur(4px)}.windowbar{display:flex;align-items:center;justify-content:space-between;gap:.7rem;font-size:.92rem;padding:.7rem clamp(.9rem,3vw,1.7rem);color:#f0f6f4;background:#173e48}.windowbar button{color:white;background:transparent;border:1px solid #99b7bd;border-radius:24px;font-size:.9rem;padding:.35rem .85rem}.windowbar b{font-size:1.1rem;margin-left:.3rem}.sheet{padding:clamp(1rem,3vw,2rem)}.sheet h2{font-size:clamp(1.65rem,3vw,2.6rem);line-height:1.1;margin:0 0 1.25rem;letter-spacing:-.035em}.sheet h2:focus{outline:none}.sheet p,.sheet li,.sheet blockquote{line-height:1.5}.sheet h3{margin:.8rem 0;font-size:1.12rem}.sheet button,.sheet input,.sheet select,.sheet textarea{border-radius:7px;border:1px solid #97aca8;padding:.64rem .9rem;min-height:2.65rem}.sheet button{color:var(--ink);background:white;line-height:1.2}.sheet button:hover{background:#e3eeea}.sheet button.primary,.sheet form>button{background:var(--teal);color:#fff;border-color:var(--teal)}.sheet button[aria-pressed=true]{color:#143f44;border-color:#1e7478;background:#d2e7df;box-shadow:inset 0 0 0 1px #1e7478}
.sheet label{display:flex;flex-direction:column;gap:.35rem;font-size:.99rem;font-weight:bold;margin:.4rem 0}.sheet input,.sheet textarea,.sheet select{width:100%;min-width:0;font-weight:400;color:#112e34;background:white}.sheet textarea{resize:vertical}.sheet form:not(.compose){display:flex;align-items:flex-end;gap:.55rem;flex-wrap:wrap;margin:.7rem 0}.sheet form:not(.compose) label{flex:1;min-width:10rem;margin:0}.sheet blockquote{border-left:3px solid #b3914d;padding:.5rem 1rem;margin:0 0 .9rem;background:#f3eedf}.sheet blockquote small{display:block}
#feedback:not(:empty),.reply{background:#f6e9cf;border-left:4px solid #ad711c;border-radius:3px;color:#452f16;padding:.7rem 1rem;margin:.85rem 0 0}.reply strong{display:block}#feedback:empty{margin:0}.instruction,.source-note{margin:0 0 1rem}.instrument,.bench,.strip,.tabs,.fields,.contactline{display:flex;gap:.8rem;align-items:center}.instrument{background:#e3ece6;padding:1.25rem;margin:0 0 1rem;border-radius:9px}.monitor{width:7.5rem;height:4.6rem;background:#10252c;border:5px solid #3d5554;border-radius:5px;display:flex;justify-content:flex-end;align-items:flex-end}.monitor i,.led{border-radius:50%;background:#69a349;display:inline-block;width:8px;height:8px;margin:.23rem}.instrument p{margin:.4rem 0 0}.bench{align-items:stretch;flex-wrap:wrap}.bench section{flex:1;min-width:13rem;background:#e8ede8;border-radius:9px;padding:.3rem .8rem .9rem}.parts{display:flex;gap:.4rem;flex-wrap:wrap}.parts button{flex:1;min-width:4.3rem;padding:.4rem}.parts svg{display:block;width:3.8rem;max-width:100%;margin:0 auto .2rem}
.tabs{gap:.3rem;flex-wrap:wrap;padding-bottom:.6rem;border-bottom:1px solid #bacdc4}.tabs button{font-size:.92rem;padding:.5rem .7rem}.file-list,.results,.contacts{display:grid;gap:.45rem}.file-list button,.results button,.contacts button{text-align:left}.file-list button{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap}.file-list small{margin-left:auto}.ftype{background:#e6efe8;padding:.32rem;border-radius:4px;color:#215b52;font-size:.8rem;font-weight:bold}.path,.address{font-size:.95rem;color:#385a5b}.strip{justify-content:space-between;flex-wrap:wrap;border-top:1px solid #b7c7c4;margin-top:1rem;padding-top:.7rem;font-size:.92rem}.strip.topstrip{border-top:0;margin:0 0 .8rem;padding:0}.file-photo,.vista,.map img{display:block;max-width:100%;height:auto;border-radius:7px}.file-photo{width:min(100%,25rem);margin:.6rem 0}.results button>*{display:block;line-height:1.6}.results small,.address,.path{overflow-wrap:anywhere}.results strong{color:#15565f}.bulletin,.paper,.map{border:1px solid #bbc8bc;padding:1rem;background:white;border-radius:7px;margin:.8rem 0}.bulletin h3,.map h3{font-size:1.65rem;margin:.4rem 0}.sheet fieldset{border:0;padding:0;margin:.8rem 0}.sheet legend{font-weight:bold;margin-bottom:.45rem}.photos{display:flex;gap:.65rem}.photos button{flex:1;padding:.35rem;overflow:hidden}.photos img{width:100%;height:clamp(4.3rem,13vw,7.4rem);object-fit:cover;border-radius:4px}.photos span{display:block;padding:.3rem}.fields{align-items:start;margin:.5rem 0 .8rem}.fields label,.contactline label{flex:1;min-width:0}.map{padding:0;overflow:hidden}.map img{max-height:13rem;width:100%;object-fit:cover;border-radius:0}.map div{padding:.8rem 1rem}.map p{margin:.3rem 0}.contactline{align-items:end;flex-wrap:wrap}.contactline label{min-width:12rem}.contacts{margin:.4rem 0}.compose .actions{margin-top:.8rem}.record{padding-left:1.5rem}.record li{margin:.3rem}
@media(max-width:700px){.mast{padding:1rem;gap:.45rem}.tools{gap:.3rem}.tools a,.tools button{font-size:.82rem;padding:.45rem .6rem}.home{font-size:.95rem;gap:.22rem}.home span{font-size:1.4rem}.landscape{background-position:56% center}.story h1{font-size:clamp(3.65rem,13vw,5.6rem)}.mission h1,.epilogue h1{font-size:clamp(2.2rem,8vw,3.4rem)}#world{min-height:32rem;padding-bottom:4.1rem}.mission,.epilogue{max-width:100%}.story .lede{font-size:1.01rem}.station{left:24%;top:41%}.radio{left:77%;top:47%}.lookout{left:65%;top:16%}.spot{font-size:.86rem;padding:.55rem .72rem}.world-actions{gap:.4rem}.world-actions button{font-size:.87rem;padding:.6rem .8rem}.ocean::after{background:linear-gradient(180deg,#071b26b0,transparent 23%,transparent 45%,#061d2ac9 71%,#081d28)}}
@media(max-width:410px){.mast{align-items:flex-start;flex-wrap:wrap}.home{min-height:2rem}.tools{margin-left:auto}.story.lead h1{font-size:3.9rem}.station{left:24%;top:30%}.radio{left:72%;top:40%}.sheet{padding:1rem}.tabs{gap:.25rem}.fields{flex-wrap:wrap}.fields label{min-width:8rem}.file-list strong{overflow-wrap:anywhere}.windowbar{font-size:.84rem}.bench section{min-width:100%}dialog,dialog.wide{width:calc(100vw - .65rem);max-height:calc(100dvh - .65rem)}}
@media(max-height:620px) and (min-width:701px){#world{min-height:25rem}.station{top:12%}.radio{top:34%}.lookout{top:3%}.story.lead h1{font-size:4.6rem}.lede{margin:.6rem 0 1rem}}
@media(prefers-reduced-motion:no-preference){.story{animation:arrive .5s ease-out}.finale .landscape{animation:tide 12s ease-out both}@keyframes arrive{from{opacity:.5;transform:translateY(9px)}}@keyframes tide{from{transform:scale(1.035)}to{transform:scale(1)}}}
