/* The Tempest: blackened timber, iron fittings and worn brass. */
.mission-panel{background-image:linear-gradient(135deg,#242620ed,#12212aec),url('assets/deck-grain.svg')}
.audio-notice{width:calc(100% - 40px);max-width:1440px;margin:14px auto}
:root{--ink:#eeeae0;--muted:#b8b4aa;--gold:#d8b67b;--teal:#b4cabd;--line:#b79c6d42;--danger:#f6a38c;--green:#add0b4;--wood:#201d19;--iron:#141b1e;--brass-edge:#8e744b}
body{background:#0d151a;color:var(--ink)}
.topbar{background:linear-gradient(#11191df2,#10181be6);backdrop-filter:blur(12px);border-bottom:1px solid #c3a1694d;min-height:88px;height:88px}
.brand{font-size:22px;letter-spacing:-.025em;gap:12px}.brand>svg{width:40px;height:40px;stroke-width:1.25;color:var(--gold)}.brand small{color:#b9b7ac;font-size:11px;letter-spacing:.04em}.event-label{font-size:13px;letter-spacing:.03em;color:#bfb9a8}.icon-btn{border-color:#b2a0844d;background:#060c113b}.nav-rank{font-weight:650;color:#e1c798}
.environment-shade{background:linear-gradient(90deg,#091217f2 0%,#0c161bd1 28%,#10191e32 55%,transparent 100%),linear-gradient(0deg,#0a1219f0,transparent 55%)}
.hero-copy{max-width:510px;padding-bottom:36px}.lobby{padding-top:46px}.hero-copy>.eyebrow{font-size:12px;letter-spacing:.15em;color:#dbb678}.hero-copy>.eyebrow i{width:7px;height:7px;background:#b9864e;border:1px solid #e2c28e;transform:rotate(45deg);border-radius:0}.chapter-label{color:#bfb9aa;font-size:14px;letter-spacing:.025em;margin:19px 0 15px}
.hero-copy h1{font-size:clamp(70px,7.5vw,112px);font-weight:900;line-height:.91;letter-spacing:-.065em}.hero-copy h1>span{color:#ddc08b;text-shadow:0 2px 0 #695230,0 8px 28px #0008}.hero-copy h1>em{font-size:21px;line-height:1.55;font-weight:650;letter-spacing:-.01em;margin-top:24px}.hero-description{font-size:16px;line-height:1.8;color:#c8c8be;max-width:380px;margin:20px 0}.facts{margin:24px 0;gap:24px}.facts>span,.facts b{font-size:14px}.facts b{font-weight:750}.facts>span{color:#d3c9b3}
#start-form{position:relative;background:linear-gradient(145deg,#26231fef,#151a1dea),url('assets/deck-grain.svg');border:1px solid #ae8e584f;border-top:2px solid #c3a26c;padding:22px;max-width:410px;box-shadow:0 14px 45px #0005,inset 0 1px #e4d3af18}#start-form:before,#start-form:after{content:'';position:absolute;top:8px;width:4px;height:4px;background:#958161;box-shadow:0 1px #000;border-radius:50%}#start-form:before{left:8px}#start-form:after{right:8px}label[for=player-name]{font-size:15px;margin-bottom:12px}label[for=player-name] span{font-size:12px;color:#aaa99f;line-height:1.6}.name-wrap{border-radius:3px;background:#080f13b8;border:1px solid #9b8b6d73;box-shadow:inset 0 2px 6px #0006;min-height:56px}.name-wrap input{font-size:16px}.name-wrap:focus-within{border-color:#d8b67b;box-shadow:0 0 0 2px #d8b67b1a,inset 0 2px 6px #0006}
.primary{background:linear-gradient(#e0c18a,#b98c51);border:1px solid #e4c995;border-bottom:3px solid #78532e;color:#171915;box-shadow:inset 0 1px #f9e7bd,0 5px 14px #0004;border-radius:3px;letter-spacing:.005em;min-height:54px;font-size:16px}.primary:hover{background:linear-gradient(#efd4a2,#c99b5e);box-shadow:inset 0 1px #fff0d1,0 6px 18px #0005}.primary:active:not(:disabled){background:linear-gradient(#b48a50,#d7b477);transform:translateY(1px);box-shadow:inset 0 2px 5px #0003}.secondary{border-radius:3px;border-color:#9f947e80;background:#11191d88}.secondary:hover{background:#b3996520}.fineprint{font-size:12px;color:#b2b4a8;line-height:1.7}#start-form .fineprint{margin-bottom:0}#rules-btn{font-size:13px;margin-top:10px;color:#c7bdab}.world-caption{font-size:12px;letter-spacing:.14em}.world-caption>span:last-child{letter-spacing:0;font-size:11px}.coordinate{opacity:.6}.wind-badge{border-radius:2px;background:#10191bd9;border-color:#b8a1765c}.art-label{opacity:.7}
.voyage-strip{border:1px solid #b99c654d;border-top:2px solid #bda16b66;background:#12191ce6;border-radius:2px;padding:20px 24px}.voyage-strip>div{border-color:#a68c5d40}.voyage-strip p{font-size:15px;font-weight:650}.voyage-strip small{font-size:12px;color:#b5b9ad}.voyage-strip svg{color:#c5a367}.voyage-strip>div>span{color:#8e8f83}.text-button:hover{color:#edcf9b}
footer{background:#0a1218d9;border-top:1px solid #a38c5d30;color:#929b98}footer .storage-label{font-size:12px}
.play{padding-top:22px}.game-hud{border:1px solid #ac92614d;border-top:2px solid #b99a62;background:linear-gradient(110deg,#28241fe8,#111d23f5),url('assets/deck-grain.svg');border-radius:3px;box-shadow:0 6px 24px #0005,inset 0 1px #c4a36c1a;padding:14px 20px;gap:36px}.sailor>svg{width:22px;height:22px;color:#c0a06e}.sailor>span{font-size:16px;font-weight:750;color:#e3d9c4}.sailor small{font-size:11px;color:#9ba99e}.hud-stat small{color:#b5b8ab;font-size:12px}.hud-stat b{font-size:30px;letter-spacing:-.025em;color:#e7ca91}.hull b{display:flex;gap:6px;min-height:30px;align-items:center}.hull b span{display:block;position:relative;width:27px;height:9px;border:1px solid #c1b084;background:#d8c18a;box-shadow:inset 0 1px #efe0b3,0 1px 3px #0005;transform:skewX(-13deg);font-size:0}.hull b span.lost{background:#392822;border-color:#755348;opacity:.8;box-shadow:inset 0 2px 3px #0006}.game-hud #quit-btn{font-size:13px;color:#b4b8ad}
.stage-track{gap:0;margin:16px 0 20px;border-bottom:1px solid #a28e674d;background:#0b151b8c}.stage-track li{border:0;border-bottom:2px solid transparent;background:transparent;border-radius:0;padding:13px 18px;font-size:13px;gap:10px;box-shadow:none;backdrop-filter:none;position:relative;color:#909f9d}.stage-track li+li:before{content:'';position:absolute;left:0;top:13px;bottom:13px;width:1px;background:#a68c5d30}.stage-track li.active{background:linear-gradient(0deg,#b38d4030,transparent);border-color:#ddbb7e;color:#edcf94}.stage-track li.done{background:transparent;color:#b1c5af;border-color:#a0b09655}.stage-track li span{font-size:14px;font-weight:800}
.game-layout{gap:22px;border:0;border-radius:0;box-shadow:none;background:transparent;align-items:start;grid-template-columns:1.12fr 1fr;min-height:0}.scene-panel{border:1px solid #a28b614d;border-top:2px solid #c7a86c;border-radius:3px;box-shadow:0 14px 40px #0007,inset 0 0 0 4px #111a20;background:#101b22;min-height:580px}.scene-panel[data-stage=structure]{min-height:640px}.scene-topline{padding:16px 18px;font-size:13px;letter-spacing:.02em;color:#e5d8b9;background:linear-gradient(#0b121aee,#101c2380,transparent)}.live-mark{font-size:10px;color:#9bae9f;letter-spacing:.05em}.live-mark:before{content:'';display:inline-block;width:5px;height:5px;background:#a8c19e;border-radius:50%;margin-right:5px}.scene-bottom{height:40px;padding:10px 16px;border-color:#9b885e3d;background:#10191ef5;color:#abae9f;font-size:11px}.scene-bottom>span:last-child{font-size:11px}#game-scene{inset:0 0 40px;height:calc(100% - 40px)}.scene-legend{bottom:50px;left:14px;right:14px;font-size:12px;border:0;border-left:2px solid #b59561;background:#0c171ee8;padding:8px 12px;text-align:left}
.mission-panel{background:linear-gradient(135deg,#242624fa,#14212afa);border:1px solid #b49a664d;border-top:2px solid #b89a62;border-radius:3px;box-shadow:0 12px 36px #0005,inset 0 1px #e9d4aa0d;padding:26px 26px 18px;min-height:580px}.mission-panel:before{inset:7px;border-color:#bda47710}.mission-panel .eyebrow{font-size:12px;letter-spacing:.04em;color:#c8ab79}.mission-panel h2{font-size:29px;letter-spacing:-.035em;font-weight:800;line-height:1.45;margin:10px 0 12px;color:#f1e9d9}.mission-story{font-size:15px;line-height:1.8;color:#b6c0ba;margin-bottom:24px}.step-label{display:flex;align-items:center;font-size:12px;font-weight:650;letter-spacing:.03em;color:#c4ad82;gap:8px;margin-bottom:12px}.step-label:before{content:'';width:18px;height:1px;background:#a58b5a}.question{font-size:19px;line-height:1.7;color:#f0ede3;font-weight:700;margin-bottom:20px}
.choices{gap:10px}.choice{position:relative;background:linear-gradient(90deg,#10212bbf,#16242da6);border:1px solid #9e9c8057;border-left:3px solid #b39a645e;border-radius:3px;min-height:62px;padding:12px 15px;font-size:17px;gap:14px;box-shadow:inset 0 1px #c2c5af08}.choice .letter{width:29px;height:29px;border:1px solid #ad95685e;background:#292e29;color:#d6bd8a;border-radius:2px;font-size:13px;font-weight:800}.choice:hover:not(:disabled){background:linear-gradient(90deg,#3c3c2dc9,#233039);border-color:#d0ae70;box-shadow:inset 0 0 0 1px #d0ae7024}.choice:focus-visible{outline:2px solid #edcc90;outline-offset:3px}.choice.correct{background:#203f32;border-color:#8fbb98;border-left-color:#b2dfb3;color:#e0efdc}.choice.correct .letter{background:#b9d3aa;color:#162c22}.choice.wrong{background:#422b27;border-color:#b77966;border-left-color:#f0a188;color:#f4c4ad}.choice.wrong .letter{background:#5a3930;color:#f2bca3}.choice:disabled{opacity:.68}.choice.correct:disabled{opacity:1}
.mission-bottom{margin-top:24px;border-top:1px solid #b49a6630;gap:10px}.hint-btn{font-size:14px;color:#d6bc86}.hint-btn>span{color:#b7b6a7}.hint-content{background:#d2b2760d;border-left:2px solid #b39765;color:#d7d4c5;border-radius:0 3px 3px 0;padding:13px 15px;font-size:15px}.mission-panel #feedback{line-height:1.8;font-size:15px}.mission-panel #feedback.success,.mission-panel #feedback.error{padding:14px 15px;border:1px solid #73978070;border-left:3px solid #a3c9ac;background:#17322cc2;border-radius:3px;margin-top:18px;color:#cbe6ce}.mission-panel #feedback.error{border-color:#b0776066;border-left-color:#e5997e;background:#402a27bb;color:#ffc8ad}.mission-panel .continue-button{margin-top:14px;background:linear-gradient(#ddbf88,#b98c51);color:#19201c;border:1px solid #dfc693;border-bottom:3px solid #77562e;border-radius:3px;box-shadow:inset 0 1px #f8e7c4,0 3px 10px #0003}.mission-panel .primary{border-radius:3px;background:linear-gradient(#ddbf88,#b98c51);border-bottom:3px solid #77562e}.mission-panel .secondary{border-radius:3px;background:#0f1d25;color:#ddd8c4;border-color:#a69b7a66}.mission-panel .puzzle-note{font-size:12px;color:#a5b3a9;line-height:1.8}.game-note{font-size:12px;color:#b8c0b2}.game-note .tiny-dot{background:#aa8c57}
.angle-readout{padding:14px 16px;background:#101a1fc9;border:1px solid #9b8f684d;gap:12px;margin-bottom:16px}.angle-readout b{color:#e5c78b;font-size:45px;line-height:1.25}.angle-readout span{color:#8e9c92;font-size:11px;letter-spacing:.04em}.angle-controls button{min-height:48px;font-size:18px;box-shadow:inset 0 1px #cbba8e0a}.meter{height:8px;border:1px solid #7f8b6f59;background:#0d181e}.meter i{background:#b6cba6!important}.meter-label{color:#c1c9b9}.meter-label b{color:#d6ddba}.route-slots{gap:8px}.route-slot{border-radius:2px;border-style:solid;background:#101d25;border-color:#a0936b66;color:#dfc791}.route-buttons button{border-radius:3px;background:#172932;border-color:#a0926c70;min-height:80px;box-shadow:inset 0 1px #b2b7a50a}.route-buttons button>span{color:#d6bb81}.route-buttons button:hover:not(:disabled){background:#313c36;border-color:#d0b477}
.result{border:1px solid #b59a664d;border-top:3px solid #c7a46b;border-radius:3px;background:linear-gradient(140deg,#252722f7,#111f28fa);box-shadow:0 20px 65px #0008}.result-compass{border-radius:0;transform:rotate(45deg);border-color:#bda06b6e;background:#bc9d6010;width:58px;height:58px;margin-bottom:28px}.result-compass svg{transform:rotate(-45deg);width:34px;height:34px}.result h1{font-size:35px;font-weight:800;letter-spacing:-.04em}.result .eyebrow{font-size:12px;letter-spacing:.1em}.result-score{font-size:76px;font-weight:850;color:#e5c68b;text-shadow:0 2px #493e2e}.result-score small{color:#9fae9f}.result-subtitle{font-size:16px}.result-stats{padding:18px 0;border-top:1px solid #b0986830;border-bottom:1px solid #b0986830}.result-stats small{font-size:12px}.result-table th{font-size:12px;text-transform:none}.result-table td{font-size:14px;color:#d7d8c9}
dialog{background:linear-gradient(145deg,#282924,#111e27);border-color:#b99e6a73;border-top:2px solid #c9a66d;border-radius:4px;box-shadow:0 20px 100px #0009}.modal-top>.eyebrow{font-size:12px;letter-spacing:.06em;color:#c3ab80}.modal-top .icon-btn{border-color:#ad9a734d}dialog h2{font-size:28px;font-weight:800;letter-spacing:-.03em}dialog p,dialog li{color:#c3c9bb}.leader-table th{font-size:12px;letter-spacing:.03em;color:#a7b1a2}.leader-table td{font-size:15px;border-bottom-color:#b1996333}.leader-table tbody tr:nth-child(-n+3) td:first-child{font-size:19px;font-weight:800;color:#d3b378}.leader-table tr.current{background:#b798591c;color:#e4ce9a}.leader-note{color:#9dab9c!important}.rules-grid div{border-color:#aa956548;background:#0b1a2352;color:#d7bd88}.sound-previews button{border-color:#9e8c625c;background:#111d24}
.audio-notice{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px;padding:12px 14px;background:#3d3020;border:1px solid #bea16a;color:#e8d6ab;font-size:14px;line-height:1.6}.audio-notice button{flex-shrink:0;min-height:44px;background:#dac08c;color:#17201d;border:0;padding:8px 14px;font:700 14px var(--font-ui);border-radius:3px}#sound-btn[data-audio-state=playing]:after{content:'';position:absolute;right:1px;bottom:2px;width:6px;height:6px;border-radius:50%;background:#aac39c;border:2px solid #14201d;box-sizing:content-box}
@keyframes mission-arrive{from{opacity:.4;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.mission-panel.arrive #puzzle{animation:mission-arrive .24s ease-out}
@media(min-width:761px) and (max-width:1100px){.game-layout{gap:16px;grid-template-columns:1fr 1.1fr}.mission-panel{padding:24px 20px 18px}.question{font-size:18px}.scene-panel[data-stage=structure]{min-height:620px}.hero-copy h1{font-size:clamp(66px,8vw,84px)}#start-form{padding:18px}.game-hud{gap:22px}.stage-track li{padding:12px;font-size:13px}}
@media(max-width:760px), (max-width:1000px) and (max-height:500px){
 .topbar{height:auto;min-height:64px;padding:10px 16px;gap:10px;backdrop-filter:none}.brand{font-size:17px;gap:9px}.brand>svg{width:30px;height:30px}.brand small{font-size:10px;letter-spacing:0}.topbar nav{gap:8px}.topbar .icon-btn,.nav-rank{width:44px;min-width:44px;min-height:44px}.topbar svg{width:19px;height:19px}.event-label{display:none}
 .lobby{padding:30px 20px 0}.hero-copy{padding-bottom:24px}.hero-copy>.eyebrow{font-size:11px;letter-spacing:.1em}.chapter-label{font-size:13px;margin:15px 0 14px}.hero-copy h1{font-size:clamp(62px,17.3vw,92px);line-height:.93}.hero-copy h1>em{font-size:19px;margin-top:20px;font-weight:700}.hero-description{font-size:15px;line-height:1.8;margin:17px 0}.facts{margin:22px 0;gap:22px}.facts>span,.facts b{font-size:13px}.environment-shade{background:linear-gradient(90deg,#091217e9,#0b171e75),linear-gradient(0deg,#08121bf7 5%,#0d192091 58%,#07121c20)}
 #start-form{margin-top:25px;padding:20px 18px;border-radius:2px;background:linear-gradient(145deg,#26231fef,#121e25ed),url('assets/deck-grain.svg')}.name-wrap{min-height:55px}.name-wrap input{font-size:16px}label[for=player-name]{font-size:15px}label[for=player-name] span{font-size:12px}.primary,.secondary{min-height:53px;font-size:16px}.fineprint{font-size:12px}#rules-btn{font-size:13px;min-height:48px;margin-top:9px}.voyage-strip{padding:18px 14px;gap:18px 12px}.voyage-strip p{font-size:14px}.voyage-strip small{font-size:12px}.voyage-strip svg{width:21px;height:21px}footer{padding:14px 20px max(14px,env(safe-area-inset-bottom));gap:8px}footer .storage-label{font-size:11px}footer button{font-size:13px}
 .play{padding:10px 10px 0}.game-hud{padding:10px 12px;border-radius:2px;gap:7px 12px;top:0;box-shadow:0 5px 18px #0007;background:linear-gradient(105deg,#262520fb,#101d25fc);border-top-width:2px}.sailor>span{font-size:14px}.sailor>svg{width:18px;height:18px}.game-hud>#quit-btn{font-size:12px;min-height:36px}.hud-stat small{font-size:11px}.hud-stat b{font-size:26px}.hull b{min-height:30px;gap:5px}.hull b span{height:8px;width:22px}.stage-track{margin:10px 0 14px;border-color:#ad95613b}.stage-track li{padding:9px 2px;gap:2px;font-size:11px;line-height:1.4;min-height:53px;flex-direction:column}.stage-track li span{font-size:12px}.stage-track li+li:before{top:12px;bottom:12px}
 .game-layout{display:block;border:0;background:transparent}.mission-panel{padding:20px 17px 17px;border:1px solid #b49a664d;border-top:2px solid #b89a62;border-radius:3px;min-height:0;background:linear-gradient(140deg,#242823f7,#111f28fa);box-shadow:0 8px 28px #0005}.mission-panel:before{display:none}.mission-panel .eyebrow{font-size:11px;letter-spacing:.03em}.mission-panel h2{font-size:26px;line-height:1.4;margin:8px 0 10px}.mission-story{font-size:14px;line-height:1.75;margin-bottom:18px;color:#b9c3b8}.scene-toggle{display:none!important}
 .mission-panel .scene-panel{display:block;height:326px;min-height:0!important;border:1px solid #aa946350;border-top:2px solid #c2a06a;border-radius:2px;margin:0 -6px 22px;box-shadow:0 6px 20px #0005}.mission-panel .scene-panel[data-stage=structure]{height:305px}.scene-topline{padding:12px 13px;font-size:12px}.scene-bottom{height:31px;min-height:31px;padding:7px 11px;font-size:10px}.scene-bottom svg{width:15px;height:15px}#game-scene{inset:0 0 31px;height:calc(100% - 31px)}.scene-legend{font-size:11px;bottom:41px;left:9px;right:9px;line-height:1.6;padding:7px 9px}.scene-panel[data-stage=structure] .scene-legend{display:none}.scene-panel[data-stage=structure] .scene-bottom>span:first-of-type{font-size:10px}
 .step-label{font-size:12px;margin-bottom:12px}.question{font-size:18px;line-height:1.7;margin-bottom:18px}.choices{gap:10px}.choice{min-height:60px;font-size:17px;padding:12px 13px;gap:12px}.choice .letter{width:28px;height:28px;font-size:13px}.mission-bottom{margin-top:20px;gap:5px;padding-top:10px}.hint-btn{font-size:14px;min-height:46px}.hint-btn>span,#attempt-text{font-size:12px}#feedback,.hint-content{font-size:15px;line-height:1.8}.mission-panel #feedback.success,.mission-panel #feedback.error{padding:12px 13px}.continue-button{font-size:16px;min-height:53px}.puzzle-note{font-size:12px;line-height:1.8}.game-note{font-size:11px;line-height:1.7;padding:13px 3px}
 .angle-readout{padding:12px 14px;gap:8px}.angle-readout b{font-size:43px}.angle-readout span{font-size:10px}.angle-readout label{font-size:14px}.meter-label{font-size:14px}.route-buttons{gap:8px}.route-buttons button{font-size:14px;min-height:78px}.route-slot{font-size:15px}.route-actions>.primary{font-size:15px}.route-actions .secondary{padding-left:13px;padding-right:13px}
 .result{margin:14px 10px;padding:28px 18px;border-radius:3px}.result h1{font-size:28px;line-height:1.5}.result .eyebrow{font-size:11px}.result-score{font-size:67px}.result-score small{font-size:12px}.result-subtitle{font-size:15px}.result-stats{gap:16px;padding:15px 0}.result-stats small{font-size:11px}.result-stats>div{font-size:21px}.result-table th,.result-table td{font-size:12px;padding:12px 7px}
 dialog{border-radius:12px 12px 0 0;padding:20px 19px max(24px,env(safe-area-inset-bottom));border-top-width:2px}.modal-top>.eyebrow{font-size:11px}.modal-top .icon-btn{width:44px;height:44px}dialog h2{font-size:26px}dialog p,dialog li{font-size:15px}.leader-note{font-size:12px!important}.leader-table td{font-size:14px}.leader-table th{font-size:11px}.leader-table td,.leader-table th{padding:13px 6px}.leader-table tbody tr:nth-child(-n+3) td:first-child{font-size:17px}.operator-stat{font-size:13px}.rules-grid div{font-size:15px}.rules-grid small{font-size:13px}.audio-notice{font-size:13px;padding:10px 12px;align-items:flex-start}.audio-notice button{font-size:13px;padding:8px 11px;min-height:44px}
}
@media(max-width:359px){.brand{font-size:15px;gap:7px}.brand>svg{display:none}.brand small{font-size:9px}.topbar{padding-left:13px;padding-right:13px;gap:6px}.topbar nav{gap:6px}.lobby{padding-left:16px;padding-right:16px}#start-form{padding:18px 14px}.mission-panel{padding-left:14px;padding-right:14px}.stage-track li{font-size:10px}.mission-panel h2{font-size:24px}.route-buttons button{font-size:12px}}
@media(max-width:1000px) and (max-height:500px) and (orientation:landscape){.play{max-width:750px}.game-hud{position:relative}.mission-panel .scene-panel{height:330px}.mission-panel .scene-panel[data-stage=structure]{height:380px}.lobby{max-width:640px;margin:auto}.hero-copy h1{font-size:70px}}
@media(prefers-reduced-motion:reduce){.mission-panel.arrive #puzzle{animation:none}}

.mission-panel{background-image:linear-gradient(135deg,#242620ed,#12212aec),url('assets/deck-grain.svg')}
.audio-notice{width:calc(100% - 40px);max-width:1440px;margin:14px auto}

/* Black Sail title screen: a game menu rather than a registration landing page. */
.title-menu{display:flex;flex-direction:column;align-items:flex-start;max-width:540px;padding-top:0;padding-bottom:40px}.title-menu .eyebrow{font-size:11px;letter-spacing:.12em;margin:18px 0 14px;color:#c4ad7c}.pirate-crest{position:relative;display:grid;place-items:center;width:78px;height:78px;border:1px solid #b5995c8c;box-shadow:inset 0 0 0 5px #090e1266,0 5px 24px #0004;border-radius:50%;color:#ddc28a;background:radial-gradient(circle,#5c51364d,#18201f 70%)}.pirate-crest:before{content:'';position:absolute;inset:-6px;border:1px dashed #bb9b606b;border-radius:50%}.pirate-crest svg{width:43px;height:43px;stroke-width:1.25;filter:drop-shadow(0 2px 1px #000)}
.hero-copy.title-menu h1{font-family:var(--font-ui);font-size:clamp(80px,8.8vw,132px);font-weight:900;line-height:1.08;letter-spacing:-.075em;white-space:nowrap;color:#e1c58e;text-shadow:0 1px #faf0c5,0 4px #705932,1px 7px 0 #1b241f,0 16px 36px #0009;margin:0 0 22px}.hero-copy.title-menu h1>span{display:block;font-size:21px;font-weight:600;line-height:1.5;letter-spacing:.26em;color:#e2e0d2;text-shadow:0 2px 8px #000;margin:13px 0 0 5px}.logo-motto{font-size:17px;line-height:1.9;color:#c7cabe;margin:0 0 30px;letter-spacing:-.01em;text-shadow:0 2px 8px #000}.title-actions{width:320px;max-width:100%}.title-start{width:100%;min-height:61px;font-size:19px;font-weight:800;letter-spacing:.06em;gap:28px}.title-links{display:flex;align-items:center;justify-content:center;gap:20px;margin-top:11px}.title-links>span{color:#797f70;font-size:11px}.title-links button{font-size:14px;min-height:44px;font-weight:550;color:#c9c8b6}.title-links button:hover{color:#ebce8f}.title-menu .facts{border-top:1px solid #c0a36b3d;padding-top:17px;margin-top:27px;margin-bottom:0;gap:19px;flex-wrap:wrap}.title-menu .facts>span,.title-menu .facts b{font-size:12px;color:#a8b1a4}.title-menu .facts svg{width:15px;height:15px;color:#c1a36d}.title-menu .facts>span:last-child{font-size:11px;color:#8e9e94}.lobby{min-height:calc(100svh - 155px);padding-top:42px}.voyage-strip{display:none}.hero-world{min-height:650px}.art-label{bottom:8%}.brand{font-weight:800;font-size:24px}.brand small{font-size:11px;letter-spacing:.14em}.brand>svg{width:36px;height:36px}
#boarding-modal{max-width:510px;width:calc(100% - 32px);border-top:3px solid #c9a36a;background:linear-gradient(125deg,#2a2b23,#111d26);padding:24px 25px 28px}.boarding-heading{display:flex;align-items:center;gap:16px;margin:6px 0 24px}.boarding-heading>svg{width:40px;height:40px;color:#d6ba81;stroke-width:1.2}.boarding-heading h2{font-size:24px;margin:0 0 7px;line-height:1.45}.boarding-heading p{font-size:14px;color:#adb9a8;line-height:1.7;margin:0}#boarding-modal #start-form{background:none;border:0;box-shadow:none;padding:0;max-width:none;margin:0}#boarding-modal #start-form:before,#boarding-modal #start-form:after{display:none}#boarding-modal .start-button{margin-top:18px;min-height:56px;font-size:17px}#boarding-modal label[for=player-name]{font-size:14px}#boarding-modal .fineprint{font-size:12px;margin-top:14px}
body[data-screen=play] footer{display:none}.stage-track{position:relative;border:0;background:none;margin:18px 0 22px;gap:10px}.stage-track:before{content:'';position:absolute;top:18px;left:12%;right:12%;border-top:2px dotted #b3935c66}.stage-track li,.stage-track li.active,.stage-track li.done{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;padding:0 3px;gap:7px;border:0;background:none;position:relative;z-index:1;font-size:12px;line-height:1.5}.stage-track li+li:before{display:none}.stage-track li span{display:grid;place-items:center;width:36px;height:36px;border:1px solid #7f8b704d;border-radius:50%;background:#111c23;color:#96a58f;font-size:12px;box-shadow:0 3px 9px #0005}.stage-track li.active span{background:linear-gradient(#b3945c,#6c5a39);border-color:#d9bb7e;color:#f4e2b8;box-shadow:inset 0 0 0 3px #161d1c,0 0 0 1px #ddc18a40}.stage-track li.done span{background:#2a3d30;border-color:#9db18a80;color:#c6d5b8}.stage-track li.active{color:#ead19c}.stage-track li.done{color:#b7c8aa}.choice .letter{border-radius:50%;background:radial-gradient(circle at 30% 25%,#4b4934,#202b2c);border-color:#b397625c;box-shadow:inset 0 1px #d7bf871c}.choice.correct .letter{background:#90ae85;border-color:#bbd3a5}.choice.wrong .letter{background:#56362b;border-color:#c18c6c}.choice{border-left-width:2px;letter-spacing:-.01em}.mission-panel .eyebrow{font-size:11px;letter-spacing:.06em}.mission-panel h2{font-weight:800}.game-hud{border-top-width:1px;border-bottom:2px solid #9f865454}.hud-stat:first-of-type b{font-weight:800}
@media(max-width:760px), (max-width:1000px) and (max-height:500px){
 .topbar{min-height:62px}.brand{font-size:21px;letter-spacing:-.035em;gap:10px}.brand small{font-size:10px;letter-spacing:.08em}.brand>svg{width:29px;height:29px}.topbar nav{gap:8px}.lobby{min-height:calc(100svh - 120px);padding:35px 24px 20px;overflow:visible}.title-menu{align-items:center;text-align:center;padding:0 0 24px;max-width:none}.pirate-crest{width:66px;height:66px}.pirate-crest svg{width:37px;height:37px}.title-menu .eyebrow{font-size:10px;letter-spacing:.06em;margin:22px 0 12px}.hero-copy.title-menu h1{font-size:clamp(70px,21vw,92px);line-height:1.1;letter-spacing:-.08em;margin:0 0 24px}.hero-copy.title-menu h1>span{font-size:19px;font-weight:650;letter-spacing:.22em;margin:12px 0 0 4px}.logo-motto{font-size:15px;line-height:1.85;margin:0 0 28px;letter-spacing:-.02em}.title-actions{width:285px}.title-start{font-size:18px;min-height:59px;letter-spacing:.04em}.title-links{gap:22px;margin-top:10px}.title-links button{font-size:13px;min-height:44px}.title-menu .facts{justify-content:center;margin-top:23px;padding-top:17px;gap:15px;width:100%}.title-menu .facts>span,.title-menu .facts b{font-size:11px}.title-menu .facts>span:last-child{display:none}.hero-world{display:none}.environment-shade{background:linear-gradient(0deg,#08121cf5 0%,#0b1721c4 38%,#0c172271 72%,#101a2252 100%),linear-gradient(90deg,#08121d75,transparent 45%,#08121d40)}#ocean-film{object-position:58% 30%}.stage-track{margin:12px 0 16px;gap:5px}.stage-track:before{top:14px;left:12%;right:12%;border-top-width:2px}.stage-track li,.stage-track li.active,.stage-track li.done{font-size:11px;gap:5px;padding:0;min-height:53px}.stage-track li span{width:29px;height:29px;font-size:11px}.game-hud{gap:6px 12px;padding:10px 12px}.game-hud>#quit-btn{min-height:36px}.hud-stat small{font-size:10px}.hud-stat b{font-size:26px}.mission-panel{padding:18px 16px 16px}.mission-panel h2{font-size:25px}.mission-story{font-size:14px;line-height:1.75}.mission-panel .scene-panel{margin-left:-5px;margin-right:-5px}.audio-notice{width:calc(100% - 20px)}
 #boarding-modal{width:100%;max-width:none;padding:20px 21px max(25px,env(safe-area-inset-bottom));border-radius:12px 12px 0 0}.boarding-heading{gap:13px;margin:3px 0 23px}.boarding-heading>svg{width:33px;height:33px}.boarding-heading h2{font-size:23px}.boarding-heading p{font-size:13px}#boarding-modal .name-wrap{min-height:58px}#boarding-modal .start-button{min-height:56px;font-size:17px}#boarding-modal .fineprint{font-size:12px;line-height:1.8}
}
@media(max-width:359px){.topbar{padding-left:12px;padding-right:12px;gap:6px}.brand{font-size:19px;gap:6px}.brand>svg{display:none}.brand small{font-size:9px}.topbar nav{gap:6px}.lobby{padding-left:18px;padding-right:18px}.hero-copy.title-menu h1{font-size:70px}.title-start{min-height:56px}.logo-motto{font-size:14px}.stage-track li,.stage-track li.active,.stage-track li.done{font-size:10px}.boarding-heading h2{font-size:21px}}
@media(max-width:1000px) and (max-height:500px) and (orientation:landscape){.lobby{max-width:680px;margin:auto;padding-top:24px}.title-menu{padding-bottom:24px}.pirate-crest{width:52px;height:52px}.pirate-crest svg{width:30px;height:30px}.title-menu .eyebrow{margin-top:17px}.hero-copy.title-menu h1{font-size:68px}.title-actions{width:300px}.logo-motto{margin-bottom:20px}}
