:root{font-family:Trebuchet MS,Arial,sans-serif;color:#fff6da;background:#071b30;font-synthesis:none;font-weight:800;--ink:#192539;--navy:#102b3c;--cream:#fff2ce;--gold:#ffc756;--teal:#24d1cb;--coral:#ff735b;--muted:#8faeb9;--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px)}*{box-sizing:border-box}html,body,#app{width:100%;height:100%;margin:0;overflow:hidden}body{overscroll-behavior:none}button,input,select{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible{outline:3px solid #fff;outline-offset:5px}button:disabled{cursor:not-allowed}button svg{flex-shrink:0}#game-canvas,canvas{display:block;width:100%;height:100%;touch-action:none}.ui-root{position:absolute;inset:0;z-index:5;pointer-events:none}.ui-root button,.ui-root input,.ui-root a{pointer-events:auto}.screen{position:absolute;inset:0;pointer-events:auto;overflow:auto;background:#102d42}.screen::selection{background:#fec450;color:#152539}.screen-title{overflow:hidden;background:#112b44}.key-art{position:absolute;inset:0;background:var(--key-art) center center/cover no-repeat;transform:scale(1.012);animation:art-drift 20s ease-in-out infinite alternate}.title-shade{position:absolute;inset:0;background:linear-gradient(180deg,transparent 48%,rgba(3,20,35,.16) 65%,rgba(3,20,35,.93) 100%)}.title-top{position:absolute;top:26px;left:32px;right:32px;display:flex;justify-content:space-between;align-items:center}.stamp{font-size:11px;font-weight:1000;letter-spacing:2.4px;text-transform:uppercase;display:inline-flex;gap:8px;align-items:center;text-shadow:0 2px 5px #07182b}.stamp-dot{height:7px;width:7px;border-radius:50%;background:#57edd3;box-shadow:0 0 12px #4de6d9}.title-dock{position:absolute;left:6vw;right:6vw;bottom:max(5vh,var(--safe-bottom));display:flex;align-items:flex-end;justify-content:space-between;gap:24px}.title-copy{max-width:390px}.eyebrow{font-size:11px;line-height:1.3;text-transform:uppercase;letter-spacing:2.5px;font-weight:1000;color:var(--gold)}.title-copy h1{font-size:clamp(24px,3.2vw,46px);line-height:1.08;letter-spacing:-1.5px;margin:9px 0 11px;text-shadow:0 3px 18px #092236}.title-copy p{font-size:14px;line-height:1.6;color:#d8e8e7;margin:0;max-width:355px}.title-actions{width:290px;display:grid;gap:12px}.title-actions .primary-button{min-height:72px;font-size:24px}.title-secondary{display:flex;justify-content:center;align-items:center;gap:22px}.link-button{border:0;background:transparent;color:#dcebee;font-size:12px;font-weight:900;padding:6px 0}.link-button:hover{color:#ffce70}.title-meta{font-size:10px;letter-spacing:1.3px;color:#b7d2d7;text-transform:uppercase;text-align:center;margin:0}.primary-button,.secondary-button,.danger-button{min-height:50px;padding:13px 22px;border:2px solid #ffcb65;border-radius:13px;display:inline-flex;align-items:center;justify-content:center;gap:10px;text-decoration:none;font-weight:1000;letter-spacing:.4px;position:relative;transition:transform .15s,filter .15s,box-shadow .15s;box-shadow:0 5px #092333,0 7px #d4a23f,inset 0 2px #ffffff4d;background:linear-gradient(#24b6ab,#087f79);color:#fff5d6;text-shadow:0 2px 0 #005758}.primary-button:hover,.secondary-button:hover,.danger-button:hover{filter:brightness(1.12);transform:translateY(-2px)}.primary-button:active,.secondary-button:active,.danger-button:active{transform:translateY(3px);box-shadow:0 2px #092333,0 3px #d4a23f,inset 0 2px #ffffff2b}.primary-button:disabled,.secondary-button:disabled{filter:saturate(.25);opacity:.48;transform:none}.secondary-button{background:linear-gradient(#ffe6ad,#e9bd70);color:#283144;text-shadow:none;border-color:#a5783d;box-shadow:0 5px #654322,inset 0 2px #fff6d3}.danger-button{background:linear-gradient(#e67550,#a93936);border-color:#e7a25c;color:#fff1da;text-shadow:0 2px 0 #80332a}.compact-button{min-height:40px;padding:9px 16px;font-size:12px;border-radius:10px}.icon-button{border:1px solid #a9cad44d;background:#0d283dcc;color:#e7f2e8;display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:12px;transition:background .15s,transform .15s}.icon-button:hover{background:#1b4c5d;transform:translateY(-1px)}.icon-button[aria-pressed=true]{color:var(--gold);border-color:#d8a94e}.icon{width:22px;height:22px;display:inline-block;vertical-align:middle}.small-icon{width:16px;height:16px}.big-icon{width:32px;height:32px}.screen-menu{background:radial-gradient(ellipse at 25% 15%,#25697980,transparent 55%),radial-gradient(ellipse at 90% 80%,#074653,transparent 45%),#102b40}.screen-menu:before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.12;background-image:repeating-linear-gradient(0deg,transparent 0 67px,#a8d4c0 68px 69px),repeating-linear-gradient(90deg,transparent 0 67px,#a8d4c0 68px 69px);mask-image:linear-gradient(#000,#0000)}.menu-shell{position:relative;margin:0 auto;max-width:1300px;padding:28px 42px 34px;min-height:100%;display:flex;flex-direction:column}.menu-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.brand-word{font-weight:1000;font-size:24px;letter-spacing:-.8px;color:var(--gold);text-shadow:0 2px 0 #7d5324;display:inline-flex;align-items:center;gap:10px}.brand-word .icon{width:27px;height:27px}.header-right{display:flex;align-items:center;gap:12px}.coin-badge{display:inline-flex;align-items:center;gap:8px;padding:10px 15px;border:1px solid #d9b56566;background:#071f318c;color:#ffd76f;border-radius:100px;font-size:14px;font-variant-numeric:tabular-nums}.coin-badge .icon{width:19px;height:19px}.menu-title-row{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:26px}.menu-title-row h1{font-size:clamp(27px,3.5vw,44px);letter-spacing:-1.4px;line-height:1.05;margin:6px 0 8px;color:var(--cream)}.menu-title-row p{font-size:13px;color:#b4d0d5;line-height:1.5;margin:0}.voyage-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(310px,.85fr);gap:26px;flex:1;align-items:start}.chart-panel{position:relative;padding:24px;background:linear-gradient(125deg,#f8e3ac,#eac88c);border:3px solid #bb8a4a;box-shadow:0 10px 30px #0003,inset 0 0 0 2px #ffeac1,inset 0 0 40px #a2713736;border-radius:24px;color:#32394a;overflow:hidden}.chart-panel:before{content:"";position:absolute;inset:10px;border:1px solid #a9834a57;border-radius:15px;pointer-events:none}.chart-topline{position:relative;display:flex;justify-content:space-between;align-items:center;margin-bottom:19px;color:#866034;font-size:10px;text-transform:uppercase;letter-spacing:2px;font-weight:1000}.chart-compass{position:absolute;right:19px;top:13px;color:#977443;opacity:.42}.chart-compass .icon{width:72px;height:72px}.sea-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;position:relative}.sea-card{position:relative;border:2px solid #8c6b4780;border-radius:15px;min-height:132px;padding:0;overflow:hidden;text-align:left;background:#172e3c;color:var(--cream);box-shadow:0 3px #775537;transition:transform .18s,border-color .18s,box-shadow .18s}.sea-card:hover:not(:disabled){transform:translateY(-3px);border-color:#058c8c;box-shadow:0 6px #775537}.sea-card.selected{border:3px solid #f9de6b;box-shadow:0 0 0 3px #138c91,0 5px #775537}.sea-card.locked{filter:saturate(.38);opacity:.78}.sea-art{position:absolute;inset:0;background-image:var(--sea-art);background-size:300% 200%;background-repeat:no-repeat;transform:scale(1.02)}.sea-art-0{background-position:0% 0%}.sea-art-1{background-position:50% 0%}.sea-art-2{background-position:100% 0%}.sea-art-3{background-position:0% 100%}.sea-art-4{background-position:50% 100%}.sea-art-5{background-position:100% 100%}.sea-card .sea-art{inset:-32px -5px -35px}.sea-card:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 0%,#081c3099 52%,#07192cf7)}.sea-card-content{position:absolute;z-index:1;inset:0;padding:11px 13px;display:flex;flex-direction:column;justify-content:flex-end}.sea-card-number{position:absolute;top:10px;left:10px;background:#112335e6;border:1px solid #ddc48a77;border-radius:8px;min-width:25px;height:25px;display:grid;place-items:center;color:#ffe9a9;font-size:11px}.sea-card-status{position:absolute;right:10px;top:10px;color:#fff2c7;background:#071a2bd9;border-radius:30px;padding:4px 7px;font-size:9px;display:inline-flex;align-items:center;gap:4px}.sea-card-status .icon{width:12px;height:12px}.sea-card-name{font-size:14px;font-weight:1000;line-height:1.1}.sea-card-caption{font-size:9px;color:#ccdbdb;margin-top:5px;letter-spacing:.7px;text-transform:uppercase}.chart-footer{position:relative;display:flex;justify-content:space-between;align-items:center;font-size:10px;line-height:1.5;color:#886740;margin-top:17px}.chart-footer strong{color:#71532b}.detail-panel{border:1px solid #b7cfa52e;border-radius:23px;background:linear-gradient(#193d4a,#0c273d);box-shadow:0 12px 35px #00182940;overflow:hidden}.detail-hero{height:193px;position:relative;overflow:hidden;border-bottom:1px solid #d5c17a42}.detail-hero .sea-art{inset:-39px -8px -35px;background-size:300% 200%;transform:scale(1.025)}.detail-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 35%,#0e2b3dd9)}.detail-hero-label{position:absolute;z-index:1;left:24px;bottom:19px;font-size:11px;color:#ffe5a4;letter-spacing:2px;text-transform:uppercase}.detail-body{padding:20px 24px 25px}.detail-body h2{font-size:26px;letter-spacing:-.7px;line-height:1.05;margin:0 0 10px}.detail-body>p{font-size:12px;line-height:1.65;color:#bdd4d4;margin:0 0 16px}.detail-facts{display:flex;gap:18px;padding:13px 0;border-top:1px solid #c0d2aa26;border-bottom:1px solid #c0d2aa26;margin:16px 0;font-size:11px;color:#d6e3dc}.detail-facts span{display:flex;align-items:center;gap:6px}.detail-facts .icon{color:var(--gold);width:17px;height:17px}.captain-label{display:flex;justify-content:space-between;align-items:center;font-size:10px;letter-spacing:1.6px;text-transform:uppercase;color:#a5c8cb;margin-bottom:9px}.captain-options{display:flex;gap:8px;margin-bottom:15px}.captain-choice{min-width:0;flex:1;background:#091e32;border:1px solid #769faa4d;border-radius:10px;display:flex;flex-direction:column;align-items:center;color:#bed4d9;padding:7px 5px;font-size:10px;gap:2px;transition:border-color .15s,background .15s}.captain-choice.selected{border-color:#f5cc70;background:#395450;color:#ffe7a4;box-shadow:inset 0 0 0 1px #f4b84f66}.captain-choice .icon{width:22px;height:22px;margin-bottom:2px}.captain-choice small{font-size:8px;opacity:.7;font-weight:700}.detail-body .primary-button{width:100%;margin-top:5px}.difficulty-selector{display:flex;align-items:center;gap:7px;font-size:10px;color:#a8c4ca;margin-bottom:12px}.difficulty-selector label{flex:1;text-transform:uppercase;letter-spacing:1px}.difficulty-selector button{border:1px solid #668d9959;border-radius:7px;background:#0b2639;color:#b9d2d8;padding:7px 9px;font-size:10px}.difficulty-selector button.selected{border-color:#e3b85c;color:#ffe3a0;background:#574b32}.difficulty-selector button:disabled{opacity:.33}.menu-footer{display:flex;justify-content:space-between;align-items:center;color:#7fa5b3;font-size:10px;margin-top:24px;gap:15px}.menu-footer span{display:flex;align-items:center;gap:6px}.keyboard-key{display:inline-grid;min-width:21px;height:21px;padding:0 4px;place-items:center;border:1px solid currentColor;border-bottom-width:2px;border-radius:5px;opacity:.65;font-size:10px}.overlay{position:absolute;inset:0;pointer-events:auto;display:flex;align-items:center;justify-content:center;padding:28px;background:#03101dbd;backdrop-filter:blur(7px);overflow:auto}.modal-panel{position:relative;width:min(450px,100%);padding:31px;background:linear-gradient(150deg,#214755,#0d283e);border:2px solid #d6b269;border-radius:22px;box-shadow:0 22px 90px #0007,inset 0 0 0 5px #133246;color:#fff2cd;animation:panel-in .22s ease-out}.modal-panel h1,.modal-panel h2{font-size:32px;letter-spacing:-.8px;line-height:1.1;margin:7px 0 12px}.modal-panel>p{color:#bbd2d6;font-size:13px;line-height:1.6}.modal-close{position:absolute;right:17px;top:17px}.modal-actions{display:grid;gap:13px;margin-top:25px}.modal-actions.two{grid-template-columns:1fr 1fr}.settings-row{display:flex;justify-content:space-between;align-items:center;gap:20px;border-top:1px solid #9ab9b633;padding:18px 0}.settings-row strong{font-size:13px;display:block}.settings-row p{font-size:11px;line-height:1.5;color:#9ec0c8;margin:4px 0 0}.toggle{border:1px solid #6798a3;background:#071d31;border-radius:100px;height:28px;width:49px;padding:3px;display:flex;align-items:center;flex-shrink:0}.toggle:before{content:"";display:block;width:20px;height:20px;border-radius:100px;background:#a1bcc3;transition:transform .16s,background .16s}.toggle.on{background:#097e75;border-color:#77ead0}.toggle.on:before{transform:translate(20px);background:#fff1b5}.cutscene{background:#061827;overflow:hidden;display:flex;flex-direction:column}.cutscene-art{position:absolute;inset:0;overflow:hidden;animation:cinema-drift 15s ease-out both}.cutscene-art .sea-art{background-size:300% 200%;inset:-6%}.cutscene-art:after{content:"";position:absolute;inset:0;background:linear-gradient(#06142699 0%,transparent 25%,#06182780 65%,#061827 94%)}.cutscene-letterbox{position:absolute;inset:0;border-top:clamp(38px,8vh,95px) solid #06121d;border-bottom:clamp(34px,6vh,70px) solid #06121d;pointer-events:none}.cutscene-top{position:relative;display:flex;align-items:center;justify-content:space-between;padding:26px 5vw;z-index:2}.cutscene-bottom{position:relative;z-index:2;margin-top:auto;padding:30px 7vw max(8vh,50px);display:grid;grid-template-columns:1fr auto;gap:50px;align-items:end}.cutscene-text{max-width:580px}.cutscene-text h1{font-size:clamp(38px,6vw,80px);line-height:.95;letter-spacing:-2px;margin:13px 0 22px;text-shadow:0 4px 16px #081a28}.cutscene-text .story{font-family:Georgia,serif;font-size:18px;line-height:1.65;font-weight:400;color:#e9efe2;text-shadow:0 2px 6px #061827}.cutscene-text .speaker{display:flex;gap:10px;align-items:center;font-size:10px;letter-spacing:2px;color:#ffe09b;text-transform:uppercase;margin-top:20px}.cutscene-control{display:grid;gap:17px;min-width:240px}.control-guide{display:grid;grid-template-columns:1fr 1fr;gap:11px;color:#b4d1d2;font-size:10px}.control-guide div{display:flex;align-items:center;gap:7px}.control-guide .keyboard-key{opacity:1;color:#eed897}.hud{position:absolute;inset:0;pointer-events:none;--hud-edge:22px}.hud-top{position:absolute;left:var(--hud-edge);right:var(--hud-edge);top:calc(var(--hud-edge) + var(--safe-top));display:grid;grid-template-columns:1fr auto 1fr;gap:15px;align-items:start}.hud-vitals{width:235px;filter:drop-shadow(0 3px 0 #04182780)}.hud-hull-row{display:flex;justify-content:space-between;align-items:center;font-size:10px;margin-bottom:5px;text-shadow:0 2px 2px #001523}.hud-hull-label{display:flex;gap:6px;align-items:center;letter-spacing:1px;color:#e4ede4}.hud-hull-label .icon{width:15px;height:15px;color:#f5c772}.hud-hull-value{color:#fff0ce;font-variant-numeric:tabular-nums}.hull-track{height:15px;border:2px solid #e7c47d;border-radius:7px;background:#142539;box-shadow:0 2px #0b1529,inset 0 2px 3px #0008;padding:2px;overflow:hidden}.hull-fill{height:100%;width:100%;background:linear-gradient(#9af0c8,#39b29e);border-radius:3px;transition:width .15s}.hull-fill.low{background:linear-gradient(#ffca78,#ed625a)}.xp-row{display:flex;align-items:center;gap:7px;margin-top:6px}.level-badge{font-size:9px;font-weight:1000;color:#ffebba;white-space:nowrap;letter-spacing:1px}.xp-track{flex:1;height:5px;background:#071e32;border-radius:3px;overflow:hidden;border:1px solid #5c8c9d99}.xp-fill{height:100%;background:#70e5df;transition:width .15s}.hud-location{text-align:center;min-width:170px;padding:10px 24px 12px;background:linear-gradient(#fbe7b5,#dfbc7d);border:2px solid #916638;border-radius:4px 4px 15px 15px;color:#293044;box-shadow:0 3px #172c39,0 5px 14px #00152942;position:relative}.hud-location:before,.hud-location:after{content:"";position:absolute;top:5px;bottom:10px;width:4px;background:#ad7b42;border-radius:3px}.hud-location:before{left:4px}.hud-location:after{right:4px}.hud-timer{font-size:23px;line-height:1.05;font-variant-numeric:tabular-nums;font-weight:1000;letter-spacing:1px}.hud-sea{font-size:8px;letter-spacing:1.4px;text-transform:uppercase;margin-top:5px}.hud-right{display:flex;justify-content:flex-end;align-items:center;gap:9px}.hud-counter{background:#081e31ed;border:1px solid #c5b478a6;border-radius:10px;padding:9px 12px;display:flex;align-items:center;gap:7px;min-width:66px;color:#ffd671;font-size:14px;font-variant-numeric:tabular-nums;box-shadow:0 3px #04172566}.hud-counter .icon{width:16px;height:16px}.hud-counter.kills{color:#fff0d0}.hud-pause{height:37px;width:37px;border-color:#c5b478a6;border-radius:10px}.hud-bottom{position:absolute;bottom:calc(20px + var(--safe-bottom));left:var(--hud-edge);right:var(--hud-edge);display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.weapon-tray{display:flex;gap:6px}.weapon-slot{position:relative;width:48px;height:53px;background:linear-gradient(#102b40,#091b2c);border:1px solid #f0d29794;border-radius:10px;display:flex;align-items:center;justify-content:center;box-shadow:0 3px #031625ab}.weapon-slot.empty{opacity:.45;border-color:#8eabb266}.weapon-slot .icon{width:25px;height:25px;color:#fbd783}.weapon-slot .slot-level{position:absolute;bottom:-4px;right:-3px;background:#fff0be;color:#1f3440;font-size:9px;border:2px solid #112c3e;border-radius:5px;min-width:18px;text-align:center}.weapon-slot .slot-name{position:absolute;left:50%;bottom:63px;white-space:nowrap;transform:translate(-50%);padding:6px 9px;background:#061a2ce8;border:1px solid #d7bf8277;border-radius:6px;font-size:10px;opacity:0;transition:opacity .15s}.weapon-slot:hover .slot-name{opacity:1}.ability-tray{display:flex;gap:12px}.ability{width:64px;height:64px;position:relative;display:flex;align-items:center;justify-content:center;border-radius:50%;border:2px solid #eed09c;background:radial-gradient(circle at 50% 30%,#257286,#0a344c 65%);color:#6cf2e6;box-shadow:0 4px #041727,0 0 0 4px #091f32cc;transition:transform .15s}.ability.burst{background:radial-gradient(circle at 50% 30%,#b77a37,#5b3a26 65%);color:#ffdf74}.ability:hover{transform:scale(1.05)}.ability .icon{width:33px;height:33px}.ability.cooling{filter:saturate(.4)}.ability-key{position:absolute;bottom:-9px;left:50%;transform:translate(-50%);height:22px;min-width:23px;padding:0 5px;display:grid;place-items:center;border:1px solid #cbbf9d;border-radius:5px;background:#10283c;font-size:10px;color:#fff2d3}.ability-cooldown{position:absolute;inset:0;display:grid;place-items:center;background:#071b30a8;border-radius:50%;font-size:21px;color:#fff3d9;text-shadow:0 2px 5px #000}.ability-cooldown:empty{display:none}.hud-combo{position:absolute;right:26px;top:110px;text-align:right;color:#ffde83;text-shadow:0 3px 0 #7f422c,0 4px 10px #0a1834;transform:rotate(-4deg);font-size:30px;font-weight:1000}.hud-combo small{display:block;font-size:9px;letter-spacing:2px;color:#fff2d0;text-shadow:0 2px 3px #091b29}.boss-health{position:absolute;top:112px;left:50%;transform:translate(-50%);width:min(440px,50vw);text-align:center}.boss-name{color:#ffe1b1;text-transform:uppercase;font-size:10px;letter-spacing:2px;text-shadow:0 2px 4px #08162c;margin-bottom:7px}.boss-track{height:11px;padding:2px;border:1px solid #f9ae778f;border-radius:5px;background:#131c34;box-shadow:0 3px #09162988}.boss-fill{height:100%;background:linear-gradient(90deg,#e35871,#ffa366);border-radius:2px;transition:width .15s}.run-tip{position:absolute;left:50%;bottom:calc(100px + var(--safe-bottom));transform:translate(-50%);background:#071e31dc;border:1px solid #c6d6bb3b;border-radius:100px;color:#cee5dc;font-size:11px;padding:9px 17px;text-align:center;max-width:calc(100% - 40px);white-space:nowrap;animation:tip-in .4s ease-out}.run-tip:empty{display:none}.toast{position:absolute;left:50%;top:96px;transform:translate(-50%);padding:10px 17px;background:#102f40f2;border:1px solid #f0c56c;border-radius:10px;color:#ffedbd;font-size:12px;box-shadow:0 7px 20px #0004;animation:tip-in .25s ease-out;max-width:80vw;text-align:center;pointer-events:none;z-index:30}.upgrade-overlay{background:#041629c9;backdrop-filter:blur(5px)}.upgrade-content{width:min(910px,100%);text-align:center;padding:8px 0 20px}.loot-emblem{display:inline-flex;align-items:center;justify-content:center;width:66px;height:66px;border-radius:50%;color:#ffcf55;background:radial-gradient(#735e31,#253e40);border:2px solid #e2bb5c;box-shadow:0 0 35px #f2b6493d;margin-bottom:9px}.loot-emblem .icon{width:39px;height:39px}.upgrade-content h1{font-size:clamp(32px,4.5vw,52px);letter-spacing:-1.5px;line-height:1;margin:6px 0 10px;color:#ffd76f;text-shadow:0 3px 0 #725229}.upgrade-subtitle{font-size:13px;color:#b6d5d8;margin:0 0 26px}.upgrade-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.upgrade-card{position:relative;text-align:left;padding:0;background:linear-gradient(135deg,#ffefc7,#e7c283);color:#253141;border:3px solid #b68a4b;border-radius:18px;overflow:hidden;box-shadow:0 7px #67452a,0 10px 24px #0004;transition:transform .2s,box-shadow .2s;animation:card-in .35s both}.upgrade-card:nth-child(2){animation-delay:.07s}.upgrade-card:nth-child(3){animation-delay:.14s}.upgrade-card:hover{transform:translateY(-9px) rotate(-.5deg);box-shadow:0 10px #67452a,0 15px 36px #ffc65035}.upgrade-card.rare{border-color:#63dfd5;box-shadow:0 7px #176975,0 0 20px #48e1d824}.upgrade-card.legendary{border-color:#ffd466;box-shadow:0 7px #ac6c26,0 0 25px #f8b84b45}.upgrade-card:before{content:"";pointer-events:none;position:absolute;inset:5px;border:1px solid #b48b526b;border-radius:10px;z-index:1}.rarity-label{display:flex;align-items:center;justify-content:space-between;padding:12px 17px;background:#8c653026;color:#765029;font-size:10px;letter-spacing:1.8px;text-transform:uppercase}.rare .rarity-label{background:#53c6bc33;color:#0b777b}.legendary .rarity-label{background:#eeb33561;color:#966018}.upgrade-picture{height:110px;display:grid;place-items:center;position:relative;background:radial-gradient(ellipse,#fff9d788,transparent 69%);color:#544737}.upgrade-picture:before{content:"";width:100px;height:100px;border:1px dashed currentColor;border-radius:50%;opacity:.2;position:absolute}.upgrade-picture .icon{width:69px;height:69px;filter:drop-shadow(0 5px 0 #ad7d3733);color:#2c5660}.upgrade-picture .weapon-image{width:110px;height:100px;object-fit:contain;filter:drop-shadow(0 5px 0 #ac79392b)}.upgrade-card-body{padding:4px 19px 20px;min-height:127px}.upgrade-card h2{font-size:20px;line-height:1.05;margin:0 0 9px;letter-spacing:-.5px}.upgrade-card p{font-size:12px;line-height:1.5;font-weight:700;margin:0;color:#6b5945}.upgrade-level{margin-top:13px;font-size:11px;color:#926129;font-weight:1000}.upgrade-choose{border-top:1px solid #ac804866;padding:12px 19px;display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#77512b;background:#ffedb838}.upgrade-footer{display:flex;justify-content:center;gap:23px;align-items:center;margin-top:28px;color:#8eafb9;font-size:11px}.upgrade-footer .secondary-button{font-size:12px;min-height:40px;padding:9px 16px}.boss-intro{position:absolute;inset:0;pointer-events:none;display:flex;align-items:center;justify-content:center;background:linear-gradient(transparent,#130f284d,transparent);z-index:12}.boss-splash{position:relative;width:100%;background:linear-gradient(90deg,#35172900,#411d35ed 20%,#25162df5 80%,#35172900);border-top:2px solid #f6a46399;border-bottom:2px solid #f6a46399;text-align:center;padding:25px 40px;transform:rotate(-3deg);box-shadow:0 0 60px #020c2099;animation:boss-in .35s cubic-bezier(.2,.8,.1,1)}.boss-splash .eyebrow{color:#ff9e6b}.boss-splash h2{font-size:clamp(36px,6vw,78px);line-height:1;margin:10px 0;color:#ffe8af;letter-spacing:-2px;text-shadow:0 4px 0 #8b4341}.boss-splash p{font-size:12px;letter-spacing:2px;text-transform:uppercase;color:#f0b9a6;margin:12px 0 0}.shipyard-intro{display:grid;grid-template-columns:1fr 1fr;gap:25px;margin-bottom:25px}.shipyard-ship{height:220px;background:#eed19a;border:2px solid #b18a55;border-radius:22px;overflow:hidden;position:relative}.shipyard-ship:before{content:"";position:absolute;inset:-440px -335px -44px;background:var(--ship-art) 80% 46%/100% auto no-repeat}.shipyard-ship:after{content:"";position:absolute;inset:0;box-shadow:inset 0 0 30px #9b6c3344}.shipyard-note{border:1px solid #789eaa55;border-radius:20px;padding:25px;background:#08263966;display:flex;flex-direction:column;justify-content:center}.shipyard-note h2{font-size:26px;margin:0 0 12px;letter-spacing:-.5px}.shipyard-note p{font-size:13px;line-height:1.6;color:#adced2;margin:0}.shipyard-note .eyebrow{margin-bottom:8px}.shop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.shop-card{border:1px solid #a0bdbc4d;background:linear-gradient(145deg,#214a53,#0f2d41);border-radius:17px;padding:21px;display:flex;flex-direction:column;gap:11px}.shop-card-header{display:flex;align-items:center;justify-content:space-between;color:#ffe0a1}.shop-card-header .icon{width:29px;height:29px}.shop-level{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:#a3c6c9}.shop-card h2{font-size:18px;margin:0;line-height:1.1}.shop-card p{font-size:12px;line-height:1.55;color:#a9c8cb;margin:0;flex:1}.upgrade-pips{display:flex;gap:4px}.upgrade-pips i{display:block;width:18px;height:4px;background:#35525e;border-radius:3px}.upgrade-pips i.filled{background:#e7c071}.shop-card button{margin-top:3px;min-height:39px;padding:7px 13px;font-size:12px}.result-panel{width:min(760px,100%);padding:0;overflow:hidden;border-radius:23px}.result-top{position:relative;text-align:center;padding:28px 30px 26px;background:radial-gradient(ellipse at 50% 0,#7d76405c,transparent 80%),linear-gradient(#254955,#143344);border-bottom:1px solid #d6b26955}.result-top .loot-emblem{width:74px;height:74px}.result-top h1{font-size:48px;letter-spacing:-1.5px;margin:5px 0 7px;color:#ffd771;text-shadow:0 3px 0 #725b32}.result-top p{font-size:13px;color:#c2d7d7;margin:0}.result-body{padding:24px 30px 30px}.result-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:22px}.result-stat{text-align:center;border-right:1px solid #9db4a933;padding:3px 8px}.result-stat:last-child{border:0}.result-stat strong{display:block;font-size:27px;line-height:1.2;color:#fff0c5;font-variant-numeric:tabular-nums}.result-stat span{display:block;font-size:9px;letter-spacing:1.4px;text-transform:uppercase;color:#93b5bd;margin-top:6px}.result-unlock{display:flex;align-items:center;gap:14px;background:#104f4c80;border:1px solid #74d6b74d;padding:14px 17px;border-radius:12px;margin-bottom:23px}.result-unlock>.icon{color:#ffe09c;width:28px;height:28px}.result-unlock strong{font-size:13px;color:#d8f3d9}.result-unlock p{font-size:11px;color:#99c6c4;margin:4px 0 0}.result-actions{display:grid;grid-template-columns:1fr 1fr;gap:15px}.result-share{display:flex;align-items:center;justify-content:center;gap:22px;margin-top:20px}.result-share .link-button{color:#b8d1d6;font-size:11px;display:flex;align-items:center;gap:6px}.result-share .icon{width:15px;height:15px}.credits-text{font-size:12px;color:#9bbbca;line-height:1.7}.credits-text strong{color:#ffe0a5}.joystick-zone{position:absolute;bottom:95px;left:0;width:45%;height:42%;touch-action:none;pointer-events:auto;display:none}.joystick-base{position:absolute;width:96px;height:96px;bottom:30px;left:35px;border-radius:50%;border:1px solid #d0ecd249;background:#092e4659;display:flex;justify-content:center;align-items:center}.joystick-knob{width:37px;height:37px;border:1px solid #d9e6c699;border-radius:50%;background:#bacfb83b;box-shadow:0 2px 10px #08253f33}.touch-hint{font-size:8px;letter-spacing:1.5px;text-transform:uppercase;color:#c6dbd3a3;position:absolute;left:34px;bottom:15px}.empty-state{color:#bed6d9;font-size:13px;line-height:1.6}.screen-out{animation:fade-out .2s both}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@keyframes art-drift{0%{transform:scale(1.01) translateY(0)}to{transform:scale(1.055) translateY(-.4%)}}@keyframes cinema-drift{0%{transform:scale(1.02)}to{transform:scale(1.11)}}@keyframes panel-in{0%{transform:translateY(15px) scale(.97);opacity:0}to{transform:none;opacity:1}}@keyframes card-in{0%{transform:translateY(25px) rotate(3deg);opacity:0}to{transform:none;opacity:1}}@keyframes tip-in{0%{opacity:0;margin-top:5px}to{opacity:1;margin-top:0}}@keyframes boss-in{0%{transform:translate(-100%) rotate(-3deg)}to{transform:translate(0) rotate(-3deg)}}@keyframes fade-out{to{opacity:0}}.reduced-motion *,.reduced-motion *:before,.reduced-motion *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}@media(min-width:1500px){.key-art{background-size:cover;background-position:center 43%}.title-dock{left:8vw;right:8vw;bottom:6vh}.title-copy{max-width:430px}.title-actions{width:330px}.title-actions .primary-button{min-height:80px}}@media(max-width:1000px){.menu-shell{padding:22px 25px 26px}.voyage-layout{gap:20px;grid-template-columns:minmax(0,1.1fr) minmax(290px,.9fr)}.chart-panel{padding:20px}.sea-grid{gap:12px}.sea-card{min-height:128px}.detail-body{padding:19px 20px 23px}.hud{--hud-edge:16px}.hud-vitals{width:190px}.hud-counter{font-size:12px;padding:9px;min-width:53px}.title-dock{left:5vw;right:5vw}.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.menu-shell{padding:18px 18px 25px}.menu-header{margin-bottom:21px}.brand-word{font-size:20px}.header-right{gap:8px}.coin-badge{font-size:12px;padding:8px 11px}.menu-title-row{margin-bottom:20px;align-items:start}.menu-title-row p{font-size:12px}.menu-title-row .secondary-button{font-size:11px;padding:9px 13px;min-height:39px}.voyage-layout{grid-template-columns:1fr;gap:22px}.chart-panel{padding:20px}.sea-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.sea-card{min-height:130px}.sea-card-content{padding:10px}.sea-card-name{font-size:12px}.sea-card-caption{font-size:8px;letter-spacing:.2px}.sea-card-status{font-size:0;padding:4px}.detail-panel{display:grid;grid-template-columns:42% 1fr}.detail-hero{height:auto;min-height:300px;border-bottom:0;border-right:1px solid #d5c17a42}.detail-hero .sea-art{inset:0 -30%;background-size:300% 200%}.detail-hero-label{font-size:9px;left:18px;bottom:18px}.detail-body h2{font-size:25px}.detail-facts{gap:14px}.detail-body>p{font-size:11px}.title-dock{bottom:5vh}.title-copy{max-width:300px}.title-copy h1{font-size:30px}.title-copy p{font-size:12px}.title-actions{width:240px}.title-actions .primary-button{font-size:22px;min-height:63px}.hud-top{gap:8px;grid-template-columns:1fr auto 1fr}.hud-vitals{width:160px}.hud-location{min-width:135px;padding:8px 16px 10px}.hud-timer{font-size:20px}.hud-sea{font-size:7px;letter-spacing:.8px}.hud-right{gap:6px}.hud-counter{padding:8px 7px;gap:4px;min-width:0;font-size:11px}.hud-counter .icon{width:13px;height:13px}.hud-pause{width:33px;height:33px}.hud-pause .icon{width:18px;height:18px}.boss-health{top:100px}.weapon-slot{width:41px;height:46px}.weapon-slot .icon{width:22px;height:22px}.ability{width:57px;height:57px}.ability .icon{width:29px;height:29px}.upgrade-content{max-width:660px}.upgrade-cards{gap:12px}.upgrade-picture{height:90px}.upgrade-picture .icon{width:56px;height:56px}.upgrade-card-body{padding:4px 13px 15px;min-height:128px}.upgrade-card h2{font-size:18px}.upgrade-card p{font-size:11px}.rarity-label{padding:10px 12px;font-size:8px;letter-spacing:1.2px}.upgrade-choose{padding:10px 12px;font-size:10px}.cutscene-bottom{grid-template-columns:1fr;gap:24px;padding:25px 7vw 8vh}.cutscene-text{max-width:520px}.cutscene-text .story{font-size:16px}.cutscene-control{grid-template-columns:1fr 1fr;align-items:center}.cutscene-control .primary-button{grid-column:2;grid-row:1}.control-guide{grid-column:1;grid-row:1}.shipyard-intro{grid-template-columns:1fr 1fr;gap:16px}.shipyard-ship{height:200px}.shipyard-note{padding:20px}.shipyard-note h2{font-size:22px}.shipyard-note p{font-size:12px}.hud-combo{top:98px;font-size:25px}.hud-combo small{font-size:8px}.toast{top:86px}}@media(max-width:540px){.screen-title .key-art{background-size:auto 74%;background-position:50% 0;transform:none;animation:none}.title-shade{background:linear-gradient(180deg,transparent 0 39%,#0c2b4080 56%,#0b273d 71% 100%)}.title-top{top:17px;left:20px;right:20px}.title-top .stamp{font-size:8px;letter-spacing:1.4px;background:#0b2b438c;padding:7px 9px;border-radius:30px}.title-top .icon-button{width:34px;height:34px}.title-dock{left:25px;right:25px;bottom:max(4vh,var(--safe-bottom));display:block;text-align:center}.title-copy{max-width:none;margin:0 auto 22px}.title-copy .eyebrow{font-size:9px;letter-spacing:2px}.title-copy h1{font-size:30px;letter-spacing:-.7px;margin:8px 0 11px}.title-copy p{font-size:12px;line-height:1.6;max-width:290px;margin:0 auto}.title-actions{width:100%;max-width:330px;margin:0 auto;gap:13px}.title-actions .primary-button{min-height:59px;font-size:22px}.title-meta{font-size:8px}.title-secondary{gap:30px}.link-button{font-size:11px}.menu-shell{padding:16px 15px 24px}.menu-header{margin-bottom:22px}.brand-word{font-size:19px;gap:7px}.brand-word .icon{width:23px;height:23px}.header-right .icon-button{width:33px;height:33px}.header-right .icon-button .icon{width:17px;height:17px}.coin-badge{padding:8px 10px;gap:5px;font-size:11px}.coin-badge .icon{width:15px;height:15px}.menu-title-row{gap:10px;margin-bottom:17px}.menu-title-row .eyebrow{font-size:8px;letter-spacing:1.7px}.menu-title-row h1{font-size:30px;letter-spacing:-.9px;margin-top:7px}.menu-title-row p{font-size:11px;max-width:230px}.menu-title-row .secondary-button{white-space:nowrap;margin-top:21px;padding:8px 11px;font-size:10px;gap:5px}.menu-title-row .secondary-button .icon{width:15px;height:15px}.chart-panel{padding:17px 15px;border-radius:18px}.chart-topline{font-size:8px;letter-spacing:1.5px;margin-bottom:16px}.chart-compass .icon{width:53px;height:53px}.sea-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.sea-card{min-height:116px}.sea-card-name{font-size:13px}.sea-card-content{padding:11px}.sea-card-caption{font-size:8px}.chart-footer{font-size:8px;margin-top:15px}.detail-panel{display:block;border-radius:18px}.detail-hero{height:155px;min-height:0;border-right:0;border-bottom:1px solid #d5c17a42}.detail-hero .sea-art{inset:-38px -4px -35px}.detail-body{padding:21px}.detail-body h2{font-size:28px}.detail-body>p{font-size:12px}.detail-facts{font-size:11px}.captain-choice{padding:9px 6px;font-size:11px}.captain-choice small{font-size:9px}.difficulty-selector{font-size:10px}.detail-body .primary-button{font-size:18px}.menu-footer{font-size:8px;margin-top:22px;align-items:start}.menu-footer .keyboard-hint{display:none}.hud{--hud-edge:11px}.hud-top{display:grid;grid-template-columns:1fr 1fr;gap:12px 9px;top:calc(12px + var(--safe-top))}.hud-vitals{width:100%;max-width:182px}.hud-hull-row{font-size:8px}.hud-hull-label{letter-spacing:.5px}.hud-hull-label .icon{width:12px;height:12px}.hull-track{height:13px}.xp-row{gap:5px;margin-top:5px}.level-badge{font-size:8px}.hud-location{grid-row:2;grid-column:1/-1;justify-self:center;min-width:122px;padding:6px 15px 8px}.hud-timer{font-size:18px}.hud-sea{font-size:6px;letter-spacing:.7px;margin-top:4px}.hud-right{grid-row:1;grid-column:2;align-self:center;gap:5px}.hud-counter{padding:8px 6px;gap:4px;font-size:10px;border-radius:8px}.hud-counter .icon{width:12px;height:12px}.hud-pause{width:31px;height:31px;border-radius:8px}.hud-pause .icon{width:16px;height:16px}.hud-bottom{bottom:calc(18px + var(--safe-bottom));gap:8px}.weapon-tray{gap:4px;flex-wrap:wrap;max-width:150px}.weapon-slot{width:37px;height:40px;border-radius:8px}.weapon-slot .icon{width:19px;height:19px}.weapon-slot .slot-level{font-size:8px;min-width:15px;bottom:-3px;right:-2px}.weapon-slot.empty{display:none}.ability-tray{gap:11px;margin-right:3px}.ability{width:54px;height:54px}.ability .icon{width:27px;height:27px}.ability-key{font-size:8px;height:18px;bottom:-6px;min-width:21px}.ability-cooldown{font-size:17px}.boss-health{top:129px;width:66vw}.boss-name{font-size:8px;letter-spacing:1.2px;margin-bottom:5px}.boss-track{height:9px}.hud-combo{top:132px;right:13px;font-size:21px}.hud-combo small{font-size:6px;letter-spacing:1px}.run-tip{font-size:9px;padding:8px 12px;white-space:normal;width:max-content;max-width:85vw;bottom:calc(104px + var(--safe-bottom))}.toast{top:118px;font-size:11px;width:max-content;max-width:90vw}.overlay{padding:17px}.modal-panel{padding:27px 23px;border-radius:18px}.modal-panel h1,.modal-panel h2{font-size:30px}.modal-actions.two{grid-template-columns:1fr}.upgrade-overlay{padding:20px 14px}.upgrade-content{padding:5px 0 15px}.loot-emblem{width:48px;height:48px;margin-bottom:8px}.loot-emblem .icon{width:29px;height:29px}.upgrade-content h1{font-size:35px;margin:4px 0 8px}.upgrade-subtitle{font-size:11px;margin-bottom:18px}.upgrade-cards{display:flex;flex-direction:column;gap:11px}.upgrade-card{display:grid;grid-template-columns:84px 1fr 35px;grid-template-rows:auto 1fr;border-radius:13px;border-width:2px;box-shadow:0 4px #67452a}.upgrade-card:before{inset:3px;border-radius:8px}.rarity-label{grid-column:2;grid-row:1;padding:10px 12px 3px 5px;background:none!important;font-size:8px;letter-spacing:1.3px;justify-content:start;gap:9px}.rarity-label .keyboard-key{display:none}.upgrade-picture{grid-column:1;grid-row:1/3;height:100%;min-height:100px}.upgrade-picture:before{width:64px;height:64px}.upgrade-picture .icon{width:46px;height:46px}.upgrade-picture .weapon-image{width:74px;height:78px}.upgrade-card-body{grid-column:2;grid-row:2;min-height:0;padding:2px 7px 13px 5px}.upgrade-card h2{font-size:17px;margin-bottom:6px}.upgrade-card p{font-size:10px;line-height:1.35}.upgrade-level{font-size:9px;margin-top:7px}.upgrade-choose{grid-column:3;grid-row:1/3;display:flex;align-items:center;justify-content:center;border:0;padding:0 7px 0 0;background:transparent}.upgrade-choose span{display:none}.upgrade-choose .icon{width:21px;height:21px}.upgrade-footer{gap:15px;margin-top:22px;font-size:9px}.upgrade-footer .secondary-button{font-size:10px;min-height:35px;padding:8px 12px}.cutscene-top{padding:21px}.cutscene-top .stamp{font-size:9px;letter-spacing:1.5px}.cutscene-top .link-button{font-size:10px}.cutscene-bottom{padding:22px 27px 8vh;gap:25px}.cutscene-text h1{font-size:43px;letter-spacing:-1.5px;margin:12px 0 19px}.cutscene-text .eyebrow{font-size:9px}.cutscene-text .story{font-size:16px;line-height:1.6}.cutscene-text .speaker{font-size:9px;letter-spacing:1.5px}.cutscene-control{display:flex;flex-direction:column-reverse;align-items:stretch;gap:20px}.control-guide{font-size:10px;gap:11px}.cutscene-control .primary-button{font-size:18px}.cutscene-art .sea-art{inset:0 -55%;background-size:300% 200%}.shipyard-intro{display:block}.shipyard-ship{height:180px;margin-bottom:15px}.shipyard-ship:before{inset:-450px -370px -25px}.shipyard-note{padding:18px 20px}.shipyard-note h2{font-size:22px;margin-bottom:8px}.shipyard-note p{font-size:12px}.shop-grid{grid-template-columns:1fr 1fr;gap:12px}.shop-card{padding:16px 13px;gap:10px;border-radius:14px}.shop-card-header .icon{width:25px;height:25px}.shop-level{font-size:8px;letter-spacing:.5px}.shop-card h2{font-size:16px}.shop-card p{font-size:10px}.shop-card button{font-size:11px;min-height:37px;padding:7px}.shop-card button .icon{width:15px;height:15px}.upgrade-pips{gap:3px}.upgrade-pips i{width:15px}.result-panel{padding:0}.result-top{padding:23px 20px}.result-top h1{font-size:40px}.result-top p{font-size:11px}.result-top .loot-emblem{width:58px;height:58px}.result-body{padding:22px 20px 25px}.result-stats{gap:7px;grid-template-columns:repeat(2,1fr);row-gap:19px;margin-bottom:22px}.result-stat:nth-child(2){border:0}.result-stat strong{font-size:25px}.result-stat span{font-size:8px;margin-top:5px}.result-unlock{padding:12px;gap:11px}.result-unlock strong{font-size:12px}.result-unlock p{font-size:10px}.result-unlock>.icon{width:23px;height:23px}.result-actions{gap:12px;grid-template-columns:1fr}.result-actions .primary-button,.result-actions .secondary-button{font-size:15px;min-height:47px}.result-share{gap:22px;margin-top:21px}.result-share .link-button{font-size:10px}.boss-splash{padding:23px 20px}.boss-splash h2{font-size:38px;letter-spacing:-1px}.boss-splash p{font-size:9px;letter-spacing:1.2px}.boss-splash .eyebrow{font-size:9px}}@media(pointer:coarse){.joystick-zone{display:block}.weapon-slot:hover .slot-name{opacity:0}.keyboard-hint{display:none}.ability-key{font-size:8px}.hud-bottom{pointer-events:none}.hud-bottom button{pointer-events:auto}.title-meta{font-size:0}.title-meta:after{content:"DRAG TO SAIL · WEAPONS FIRE AUTOMATICALLY";font-size:8px}}@media(max-height:620px)and (min-width:541px){.title-dock{bottom:5vh}.title-copy h1{font-size:28px}.title-copy p{font-size:11px}.title-actions .primary-button{min-height:57px;font-size:21px}.title-top{top:16px}.menu-shell{padding-top:16px}.menu-header{margin-bottom:15px}.menu-title-row{margin-bottom:18px}.menu-title-row h1{font-size:30px}.menu-title-row p{font-size:11px}.sea-card{min-height:110px}.detail-hero{height:120px;min-height:0}.detail-body{padding:17px 20px}.detail-body h2{font-size:23px}.detail-body>p{margin-bottom:11px;font-size:11px}.detail-facts{margin:12px 0;padding:10px 0}.captain-choice{padding:6px 5px}.detail-body .primary-button{min-height:43px;font-size:14px;padding:9px 16px}.cutscene-bottom{padding-bottom:7vh;grid-template-columns:1fr 220px;gap:35px}.cutscene-text h1{font-size:40px;margin:10px 0 15px}.cutscene-text .story{font-size:14px}.cutscene-control{display:grid;grid-template-columns:1fr}.cutscene-control .primary-button,.control-guide{grid-column:1;grid-row:auto}.cutscene-text .speaker{margin-top:12px}.upgrade-content{padding:0}.upgrade-content .loot-emblem{display:none}.upgrade-content h1{font-size:32px;margin:4px 0 7px}.upgrade-subtitle{margin-bottom:16px;font-size:11px}.upgrade-picture{height:70px}.upgrade-picture .icon{width:47px;height:47px}.upgrade-picture:before{height:62px;width:62px}.upgrade-card-body{min-height:102px}.upgrade-card h2{font-size:17px}.upgrade-card p{font-size:10px}.rarity-label,.upgrade-choose{padding:9px 13px}.upgrade-footer{margin-top:22px}.result-top{padding:19px 25px}.result-top .loot-emblem{display:none}.result-top h1{font-size:38px}.result-body{padding:20px 27px}.result-stats{margin-bottom:17px}.result-stat strong{font-size:23px}.result-unlock{padding:11px 15px;margin-bottom:17px}.result-share{margin-top:16px}.result-actions button{min-height:43px;padding:10px 18px}.hud-location{padding-top:6px;padding-bottom:8px}.hud-timer{font-size:18px}.hud-combo{top:91px}.boss-health{top:89px}.hud-bottom{bottom:14px}.ability{width:52px;height:52px}.weapon-slot{width:40px;height:42px}.joystick-zone{bottom:70px;height:50%}.joystick-base{width:78px;height:78px;bottom:12px}.touch-hint{bottom:0}.run-tip{bottom:80px;font-size:10px}}.boss-overlay{background:#07152877;backdrop-filter:blur(2px)}.boss-continue{position:absolute;bottom:max(13vh,70px);left:50%;transform:translate(-50%);text-align:center;min-width:240px;z-index:14}.boss-continue .primary-button{width:100%}.boss-continue p{color:#e4cac5;font-size:11px;margin-top:19px;white-space:nowrap}.joystick-zone{pointer-events:none}.ability-tray{gap:10px}.ability.dash{background:radial-gradient(circle at 50% 30%,#547773,#193d50 65%);color:#e2f0d4}.detail-facts span:last-child{min-width:0;font-size:10px}.detail-facts{gap:14px}.captain-label span:last-child{font-size:8px;letter-spacing:.7px}.difficulty-selector label{flex:0 0 auto;margin-right:3px}.difficulty-selector>span{margin-left:auto;font-size:9px;white-space:nowrap}.difficulty-selector button{padding:5px 7px;min-height:28px;min-width:26px}.difficulty-selector button .icon{width:12px;height:12px}.title-top .icon-button{backdrop-filter:blur(8px)}.result-overlay{background:radial-gradient(ellipse at 50% 30%,#153f55eb,#061829e8);backdrop-filter:blur(7px)}@media(max-width:540px){.ability-tray{gap:9px}.ability{width:46px;height:46px}.ability .icon{width:24px;height:24px}.weapon-tray{max-width:128px;gap:4px}.weapon-slot{width:29px;height:35px}.weapon-slot .icon{width:17px;height:17px}.weapon-slot .slot-level{font-size:7px;min-width:13px}.boss-continue{bottom:19vh}.boss-continue p{font-size:9px;white-space:normal;width:230px}.captain-label span:last-child{font-size:8px}.result-share{gap:12px;flex-wrap:wrap}.result-share .link-button{font-size:9px}}#game{position:absolute;inset:0;overflow:hidden;touch-action:none}#ui{position:absolute;inset:0}.sea-art{background-size:320% 330%}.sea-art-0{background-position:1.8% 15%}.sea-art-1{background-position:50% 15%}.sea-art-2{background-position:98.2% 15%}.sea-art-3{background-position:1.8% 87%}.sea-art-4{background-position:50% 87%}.sea-art-5{background-position:98.2% 87%}.sea-card .sea-art{inset:0;transform:none}.detail-hero .sea-art{inset:0;background-size:320% 330%;transform:none}.cutscene-art .sea-art{background-size:320% 330%}@media(min-width:761px){.menu-shell{padding-top:24px;padding-bottom:24px}.menu-header{margin-bottom:18px}.menu-title-row{margin-bottom:22px}.chart-panel{padding:20px}.sea-card{min-height:115px}.chart-topline{margin-bottom:17px}.chart-footer{margin-top:15px}.detail-hero{height:145px}.detail-body{padding:18px 23px 21px}.detail-body>p{margin-bottom:12px}.detail-facts{margin:12px 0;padding:10px 0}.captain-options{margin-bottom:12px}.detail-body .primary-button{min-height:46px;padding:10px 17px}.menu-footer{margin-top:20px}}@media(max-width:540px){.screen-title .key-art{background-size:auto 62%;background-position:50% 0}.screen-title .key-art:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 20%,#0b273d00 40%,#0b273d 64%)}.title-dock{bottom:max(5vh,var(--safe-bottom))}.title-copy h1{font-size:30px}.title-copy{margin-bottom:22px}}.key-art{background-position:center top}.sea-art-0{background-position:1.8% 20.5%}.sea-art-1{background-position:50% 20.5%}.sea-art-2{background-position:98.2% 20.5%}.sea-art-3{background-position:1.8% 92%}.sea-art-4{background-position:50% 92%}.sea-art-5{background-position:98.2% 92%}.shipyard-ship:before{inset:0 auto 0 50%;width:360px;height:220px;transform:translate(-50%);background:var(--ship-art) -625px -283px/1075px auto no-repeat}.chart-mobile-launch{display:none}@media(max-width:540px){.shipyard-ship{height:220px}.screen-chart .menu-shell{padding-bottom:105px}.chart-mobile-launch{display:block;position:fixed;bottom:0;left:0;right:0;padding:14px 19px calc(17px + var(--safe-bottom));background:linear-gradient(#0c283c00,#0c283c 25%);z-index:6}.chart-mobile-launch .primary-button{width:100%;min-height:48px;font-size:15px}.title-top .stamp{max-width:290px}.screen-chart .menu-footer{margin-bottom:5px}}@media(max-height:450px)and (min-width:541px){.upgrade-overlay{padding:12px 22px}.upgrade-content h1{font-size:27px;line-height:1;margin:0 0 5px}.upgrade-content>.eyebrow{font-size:8px;letter-spacing:1.5px;margin-bottom:5px}.upgrade-subtitle{font-size:10px;margin-bottom:12px}.upgrade-picture{height:51px}.upgrade-picture .icon{height:39px;width:39px}.upgrade-picture:before{height:47px;width:47px}.rarity-label{padding:6px 12px;font-size:8px}.rarity-label .keyboard-key{height:16px;min-width:17px;font-size:8px}.upgrade-card-body{min-height:83px;padding:4px 13px 10px}.upgrade-card h2{font-size:16px;margin-bottom:6px}.upgrade-card p{font-size:10px;line-height:1.35}.upgrade-level{margin-top:8px;font-size:9px}.upgrade-choose{padding:6px 12px;font-size:9px}.upgrade-choose .icon{width:17px;height:17px}.upgrade-footer{margin-top:17px}.upgrade-footer .secondary-button{min-height:31px;padding:6px 13px;font-size:10px}.result-overlay{padding:13px}.result-top{padding:15px 24px}.result-top h1{font-size:31px;margin:5px 0}.result-top .eyebrow{font-size:9px}.result-top p{font-size:11px}.result-body{padding:14px 24px 16px}.result-stat strong{font-size:21px}.result-stat span{font-size:8px;margin-top:4px}.result-stats{margin-bottom:13px}.result-unlock{padding:8px 13px;margin-bottom:13px}.result-unlock strong{font-size:11px}.result-unlock p{font-size:10px}.result-actions button{min-height:37px;padding:8px 15px;font-size:13px}.result-share{margin-top:12px}.result-share .link-button{font-size:10px}}.chart-panel{background:radial-gradient(ellipse at 16% 30%,#fff2cf6e,transparent 55%),repeating-linear-gradient(0deg,transparent 0 34px,#b1895010 35px 36px),repeating-linear-gradient(90deg,transparent 0 34px,#b1895010 35px 36px),linear-gradient(125deg,#f8e3ac,#eac88c);border-style:ridge;border-width:5px;border-radius:18px;box-shadow:0 8px #5c442947,0 14px 30px #0003,inset 0 0 0 2px #ffeac1,inset 0 0 40px #a2713736}.chart-topline span:first-child{font-family:Georgia,serif;font-size:17px;font-weight:900;letter-spacing:1px;color:#6b4d2f;text-shadow:0 1px #fff3cb}.chart-topline{margin-bottom:16px}.chart-route{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;fill:none;stroke:#aa6240;stroke-width:4;stroke-linecap:round;stroke-dasharray:8 13}.sea-card{border-radius:11px;box-shadow:0 3px #775537}.chart-compass{top:8px;right:18px}.captain-portrait{display:block;width:26px;height:26px;background-image:var(--ship-art);background-size:960% 640%;background-position:1.6% 92%;border-radius:50%;border:1px solid #e7bb68;box-shadow:0 2px #071a2f88;margin-bottom:2px}.weapon-illustration{display:block;width:180px;height:110px;background-image:var(--weapon-art);background-size:768% 731%;background-repeat:no-repeat;mask-image:radial-gradient(ellipse at center,#000 52%,transparent 73%);transform:scale(1.2)}.weapon-illustration-cannon{background-position:3.7% 25.3%}.weapon-illustration-chain{background-position:19.5% 25.3%}.weapon-illustration-harpoon{background-position:50.9% 25.3%}.weapon-illustration-lantern{background-position:66.3% 25.3%}.weapon-illustration-flame{background-position:81.7% 25.3%}.weapon-illustration-gulls{background-position:19.5% 70.1%}.weapon-illustration-mortar{background-position:50.9% 70.1%}.weapon-illustration.evolved{background-position-y:43.9%}.weapon-illustration-gulls.evolved,.weapon-illustration-mortar.evolved{background-position-y:88.1%}@media(max-width:540px){.chart-topline span:first-child{font-size:15px}.chart-topline{font-size:8px;letter-spacing:1.3px}.weapon-illustration{width:75px;height:69px;transform:scale(1.07)}.chart-panel{border-width:4px}.captain-portrait{width:28px;height:28px}.chart-footer strong{display:none}}@media(max-height:450px)and (min-width:541px){.weapon-illustration{width:105px;height:52px;transform:scale(1.1)}}.sea-art,.detail-hero .sea-art,.cutscene-art .sea-art{background-size:320% 366%}.sea-art-0{background-position:1.8% 17.5%}.sea-art-1{background-position:50% 17.5%}.sea-art-2{background-position:98.2% 17.5%}.sea-art-3{background-position:1.8% 86.3%}.sea-art-4{background-position:50% 86.3%}.sea-art-5{background-position:98.2% 86.3%}.shipyard-ship:before{width:300px;background-position:-490px -46px;mask-image:radial-gradient(ellipse at 50% 55%,#000 44%,#000b 63%,transparent 75%)}.touch-control-note{display:none}@media(pointer:coarse){.cutscene-control .control-guide,.pause-control-guide{display:none}.touch-control-note{display:block;color:#cce0dc;font-size:11px;line-height:1.65;text-align:center;margin:0;max-width:320px}.pause-touch-note{margin:25px auto 0}.ability-key{font-size:0}.ability[data-ability=dash] .ability-key:after{content:"SAIL";font-size:7px}.ability[data-ability=board] .ability-key:after{content:"BOARD";font-size:7px}.ability[data-ability=broadside] .ability-key:after{content:"BURST";font-size:7px}}@media(max-height:450px)and (min-width:541px){.boss-intro{transform:translateY(-45px)}.boss-continue{bottom:22px}.boss-splash{padding:19px 30px}.boss-splash h2{font-size:43px}.boss-splash p{font-size:10px;letter-spacing:1.5px}.boss-splash .eyebrow{font-size:9px}.boss-continue .primary-button{min-height:44px;padding:10px 20px}.boss-continue p{margin-top:12px;font-size:10px}.cutscene-control{gap:10px}.touch-control-note{font-size:10px}}.cinema-live{background:transparent;overflow:hidden}.cinema-vignette{position:absolute;inset:0;background:linear-gradient(180deg,#061b2e8c 0,transparent 22%,transparent 43%,#071d32bd 70%,#071d32f5 100%);pointer-events:none}.cinema-live .cutscene-letterbox{background:none;border-top:18px solid #071b2d;border-bottom:18px solid #071b2d;box-shadow:none;pointer-events:none}.cinema-chapter{position:absolute;top:24%;left:6vw;display:flex;align-items:center;gap:15px;writing-mode:vertical-rl;color:#fff1cba6;font-size:9px;font-weight:900;letter-spacing:5px}.cinema-chapter i{height:64px;width:1px;background:linear-gradient(#efd098,transparent)}.cinema-live .cutscene-bottom{position:absolute;bottom:0;left:0;right:0;align-items:end;grid-template-columns:minmax(0,1fr) 285px;padding:28px 6vw max(42px,7vh);gap:7vw}.cinema-live .cutscene-text{max-width:640px;animation:cinema-dialogue .65s both}.cinema-live .cutscene-text h1{font-family:Georgia,serif;font-weight:800;font-size:clamp(32px,4.4vw,63px);letter-spacing:-1.7px;line-height:1.02;margin:9px 0 14px;text-shadow:0 4px 25px #071b2d}.cinema-live .story{font-family:Georgia,serif;font-size:clamp(14px,1.4vw,19px);line-height:1.55;color:#f7ecd1;max-width:570px}.cinema-live .speaker{display:flex;align-items:center;gap:8px;color:#efc675;font-size:10px;margin-top:17px}.cinema-live .speaker span{color:#bdd4d8;letter-spacing:.3px;text-transform:none}.cinema-live .control-guide{font-size:10px;color:#bcd1d5;gap:11px}.cinema-live .cutscene-control{gap:18px}.cinema-live .cutscene-top{padding:34px 6vw}.cinema-live .cutscene-top .link-button{border:1px solid #fff3;padding:8px 12px;border-radius:30px;background:#09263866}.cinema-guardian{background:linear-gradient(180deg,#04152730 0,transparent 37%,#07172bac 80%,#07172be8);backdrop-filter:none}.cinema-guardian .boss-intro{position:absolute;inset:auto auto 11vh 5vw;width:min(62%,710px);transform:none}.cinema-guardian .boss-splash{transform:none;background:none;border:none;box-shadow:none;text-align:left;padding:0;animation:cinema-dialogue .65s both}.cinema-guardian .boss-splash h2{font-family:Georgia,serif;letter-spacing:-1.5px;font-size:clamp(35px,5vw,66px);line-height:1.05;color:#ffdf90;margin:12px 0;text-shadow:0 4px 18px #041527}.cinema-guardian .boss-splash p{letter-spacing:2px;text-align:left}.cinema-guardian .boss-continue{position:absolute;left:auto;right:5vw;bottom:10vh;transform:none;width:260px}.cinema-guardian .boss-continue .primary-button{width:100%}.cinema-guardian .boss-continue p{font-size:10px;line-height:1.6;color:#c5d3d8}.cinema-guardian .eyebrow{display:flex;align-items:center;gap:8px;color:#ff9b8f}@keyframes cinema-dialogue{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}@media(max-width:540px){.cinema-live .cutscene-top{padding:24px 20px}.cinema-chapter{top:15%;left:20px}.cinema-live .cutscene-bottom{display:flex;flex-direction:column;align-items:stretch;padding:20px 24px max(32px,5vh);gap:17px}.cinema-live .cutscene-text h1{font-size:35px;margin:9px 0 12px}.cinema-live .story{font-size:14px;line-height:1.5}.cinema-live .speaker{font-size:8px;letter-spacing:.8px;margin-top:13px}.cinema-live .speaker span{display:none}.cinema-live .cutscene-control{gap:10px}.cinema-live .control-guide{display:none}.cinema-live .touch-control-note{font-size:10px;line-height:1.4;max-width:none}.cinema-guardian .boss-intro{left:24px;right:24px;bottom:23vh;width:auto}.cinema-guardian .boss-splash h2{font-size:38px}.cinema-guardian .boss-continue{left:24px;right:24px;bottom:7vh;width:auto}.cinema-guardian .boss-continue p{max-width:260px;margin:12px auto 0}.cinema-guardian .boss-splash p,.cinema-guardian .eyebrow{font-size:9px}}@media(max-height:450px)and (min-width:541px){.cinema-live .cutscene-bottom{grid-template-columns:1fr 225px;padding:15px 5vw 22px;gap:4vw}.cinema-live .cutscene-text h1{font-size:31px;margin:6px 0 8px}.cinema-live .story{font-size:12px;line-height:1.4}.cinema-live .speaker{margin-top:9px;font-size:8px}.cinema-live .cutscene-top{padding:22px 5vw}.cinema-live .control-guide,.cinema-live .touch-control-note{display:none}.cinema-guardian .boss-intro{bottom:12vh;left:5vw;width:56%}.cinema-guardian .boss-splash h2{font-size:35px}.cinema-guardian .boss-continue{width:225px;right:5vw;bottom:10vh}.cinema-chapter{display:none}}.sea-sailing-note{display:flex;align-items:flex-start;gap:9px;padding:12px 13px;margin:15px 0;background:#113c43aa;border:1px solid #c1d9bc30;border-radius:9px;color:#d1ddd0;font-size:11px;line-height:1.55}.sea-sailing-note>.icon{color:#efcc82;width:16px;height:16px;margin-top:2px;flex-shrink:0}.hud-weather{position:absolute;left:var(--hud-edge,22px);top:103px;max-width:280px;font-size:9px;letter-spacing:1.1px;font-weight:900;padding:8px 10px;color:#d4fff2;background:#07293fc9;border-left:2px solid #77d8d4;border-radius:0 7px 7px 0}.hud-weather[data-phase=warning]{color:#ffe0a5;border-color:#ffc073}.hud-weather[hidden],.hud-synergies[hidden]{display:none}.hud-synergies{position:absolute;left:var(--hud-edge,22px);bottom:96px;display:flex;gap:6px;flex-wrap:wrap;max-width:360px}.hud-synergies>span{display:inline-flex;align-items:center;gap:5px;color:var(--pair-color);background:#07273ecc;border:1px solid #accdc12d;padding:5px 8px;border-radius:7px;font-size:9px;font-weight:800}.hud-synergies .icon{width:12px;height:12px}.upgrade-pair{border-top:1px solid #af885748;margin-top:12px;padding-top:10px;color:#645644;line-height:1.4;font-size:10px}.upgrade-pair strong{display:flex;gap:5px;align-items:center;font-size:8px;letter-spacing:.45px;color:#716552;margin-bottom:5px}.upgrade-pair .icon{width:12px;height:12px}.upgrade-pair.ready strong{color:#137765}.upgrade-pair.ready{border-color:#519b7c88}.upgrade-card-body{min-height:165px}.upgrade-pair span{display:block}@media(max-width:540px){.hud-weather{top:158px;left:11px;max-width:190px;font-size:7px;padding:6px 8px;letter-spacing:.4px}.hud-synergies{left:11px;bottom:72px;max-width:170px;gap:4px}.hud-synergies>span{font-size:7px;padding:3px 5px}.hud-synergies .icon{width:9px;height:9px}.upgrade-card-body{min-height:0}.upgrade-pair{margin-top:7px;padding-top:6px;font-size:9px}.upgrade-pair strong{font-size:7px;letter-spacing:0}.upgrade-pair .icon{width:10px;height:10px}.sea-sailing-note{font-size:10px}}@media(max-height:450px)and (min-width:541px){.hud-weather{top:87px;font-size:7px;padding:5px 8px}.hud-synergies{bottom:72px}.upgrade-pair span{display:none}.upgrade-pair{margin-top:6px;padding-top:6px}.upgrade-card-body{min-height:120px}}.hud-objective{position:absolute;top:150px;left:24px;display:flex;gap:12px;align-items:center;padding:11px 15px;background:#0d2530e6;border:1px solid #eec68188;border-radius:12px;box-shadow:0 4px 15px #061a2740;max-width:265px;color:#ffe4ad;pointer-events:none}.hud-objective[hidden],.hud-rig[hidden]{display:none}.objective-bearing{font-size:26px;display:block;line-height:1}.hud-objective strong{display:block;font-size:12px}.hud-objective small{display:block;font-size:10px;color:#c0d8d2;margin-top:4px}.objective-track{height:3px;background:#ffffff1c;margin-top:7px;border-radius:2px}.objective-track i{display:block;background:#ffdb83;height:100%;border-radius:2px;transition:width .1s}.hud-rig{position:absolute;bottom:160px;left:24px;font-size:10px;font-weight:800;letter-spacing:.6px;color:#d5e7dd;background:#143747db;border:1px solid #82b6b680;border-radius:6px;padding:7px 10px}.hud-rig[data-ready=true]{color:#ffe5a2;border-color:#f0c475;background:#59462aeb}.rig-symbol{height:88px;display:grid;place-items:center;color:#95672f}.rig-symbol .icon{width:55px;height:55px;stroke-width:1.2}.rig-card .rig-cost{font-size:12px;color:#71503d;border-top:1px solid #8d633d44;padding-top:12px;margin-top:14px;line-height:1.55}.rig-card .upgrade-card-body{padding-top:0}.rig-card .rarity-label{font-size:10px}@media(max-width:700px){.hud-objective{top:117px;left:10px;max-width:230px;padding:8px 10px;gap:8px}.hud-objective strong{font-size:10px}.hud-objective small{font-size:9px}.objective-bearing{font-size:20px}.hud-rig{left:10px;bottom:175px;max-width:220px;font-size:8px}.rig-symbol{height:40px}.rig-symbol .icon{width:32px;height:32px}.rig-card .rig-cost{font-size:10px;margin-top:7px;padding-top:7px}.rig-overlay h1{font-size:27px}.rig-overlay .upgrade-subtitle{font-size:12px}}@media(max-height:540px)and (min-width:701px){.hud-objective{top:96px;padding:7px 10px}.hud-rig{bottom:110px}.rig-symbol{height:32px}.rig-symbol .icon{width:28px;height:28px}.rig-card .rig-cost{font-size:10px;margin-top:7px;padding-top:7px}.rig-overlay h1{font-size:28px}.rig-overlay .upgrade-subtitle{margin-bottom:12px}}.boss-fill.exposed{background:linear-gradient(90deg,#efbe56,#fff0a2);box-shadow:0 0 16px #ffe08799}.voyage-plan{margin:14px 0 18px}.voyage-plan .captain-label{margin-bottom:8px}.plan-options{display:grid;grid-template-columns:1fr 1fr;gap:7px}.plan-options button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:43px;border:1px solid #799a9b50;border-radius:8px;padding:8px 6px;background:#123444;color:#b8cfd1;font-size:10px;font-weight:850;line-height:1.35}.plan-options button.selected{background:#174c54;border-color:#edc176;color:#ffe1a2;box-shadow:inset 0 0 0 1px #edc17630}.voyage-plan>p{margin:9px 0 0;font-size:10px;line-height:1.5;color:#c1d3d4}.pause-voyage{display:grid;gap:6px;padding:13px 15px;border:1px solid #90b5b638;border-radius:9px;background:#10373c80;margin:16px 0}.pause-voyage strong{color:#ffdd96;font-size:13px}.pause-voyage span{font-size:11px;line-height:1.5;color:#c7dbd8}.mastery-card{border:1px solid #c99a5740;background:#17384180;border-radius:11px;margin:0 0 19px;padding:13px 15px}.mastery-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}.mastery-title strong{color:#ffdfaa;font-size:12px}.mastery-title>span{font-size:9px;color:#b0c8c8}.mastery-metrics{display:flex;gap:22px;justify-content:space-between}.mastery-metrics>div{display:grid;gap:5px}.mastery-metrics span{font-size:9px;color:#bfd6d5}.mastery-metrics strong{font-size:21px;color:#fff0cd}.mastery-metrics small{font-size:9px;font-weight:500;color:#b6ced0}.mastery-metrics em{font-size:9px;font-style:normal;color:#ecd5a0}@media(max-width:540px){.mastery-card{padding:12px}.mastery-title{align-items:start}.mastery-title>span{font-size:8px;text-align:right;max-width:120px}.mastery-metrics{gap:10px;flex-wrap:wrap}.mastery-metrics strong{font-size:19px}.mastery-metrics span,.mastery-metrics em{font-size:8px}}@media(max-width:540px){.hud-objective{top:196px;max-width:216px}.hud-objective small{line-height:1.35}}@media(max-height:540px)and (min-width:701px){.hud-objective{top:119px}}.hud-objective .objective-hint{font-size:9px;line-height:1.45;color:#dcca9f;max-width:190px}.hud-objective .objective-hint:empty{display:none}@media(max-width:540px){.hud-objective .objective-hint{font-size:8px;max-width:150px}}.cinema-victory{position:absolute;inset:0;pointer-events:none;text-align:center;color:var(--cream,#fff2cf);background:linear-gradient(#09273766,transparent 23%,transparent 82%,#09273755)}.victory-crest{display:flex;align-items:center;justify-content:center;gap:12px;margin:24px auto 0;font-size:clamp(18px,3vw,30px);font-weight:900;letter-spacing:.11em;text-shadow:0 2px 8px #082739;animation:victory-arrive .3s ease-out both}.victory-crest svg{width:32px;height:32px;color:#ffd176}.cinema-victory p{margin:8px 0 0;font-size:13px;letter-spacing:.08em;text-shadow:0 2px 6px #082739}.victory-pause{position:absolute;top:22px;right:22px;pointer-events:auto}@keyframes victory-arrive{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}@media(max-width:600px){.victory-crest{margin-top:44px;font-size:19px;gap:7px}.victory-crest svg{width:26px;height:26px}.victory-pause{top:10px;right:10px}.cinema-victory p{font-size:11px}}.reduced-motion .victory-crest{animation:none}.save-notice{display:flex;align-items:flex-start;gap:10px;margin:0 0 20px;padding:12px 14px;border:1px solid #b9945459;border-left:3px solid #d4aa66;border-radius:9px;background:#102d3c;color:#deebe2;text-align:left}.save-notice>.icon{flex:0 0 16px;width:16px;height:16px;margin-top:2px;color:#ebc889}.save-notice>div{min-width:0}.save-notice strong{display:block;font-size:12px;line-height:1.5;color:#f3d99f;font-weight:900}.save-notice p{margin:3px 0 0;font-size:13px;line-height:1.5;color:#deebe2;overflow-wrap:break-word}.settings-overlay{align-items:flex-start}.settings-panel{margin-top:auto;margin-bottom:auto}.settings-panel .save-notice{margin-top:8px;margin-bottom:0}@media(max-width:540px){.save-notice{padding:11px 12px;gap:9px;margin-bottom:18px}}.title-actions>.fullscreen-button{min-height:46px;padding:10px 18px;font-size:15px;background:#102f43e6;color:#fff0c5;border-color:#d4aa66}.header-right .fullscreen-button{flex-shrink:0;min-width:44px;min-height:44px}.pause-overlay,.fullscreen-help{align-items:flex-start}.pause-panel,.fullscreen-help>.modal-panel{margin-top:auto;margin-bottom:auto}.fullscreen-help{z-index:60}.fullscreen-help p{line-height:1.55}.fullscreen-help p+p{margin-top:16px}.fullscreen-help a{margin-top:18px;text-decoration:none}@media(max-width:540px){.header-right{gap:6px}.menu-header .brand-word{font-size:18px}.header-right .coin-badge{max-width:92px;overflow:hidden}.title-actions{gap:10px}.title-actions>.fullscreen-button{min-height:44px;font-size:14px}.title-secondary .link-button{min-height:32px}}@media(max-height:500px)and (min-width:600px){.title-actions{gap:6px}.title-actions>.fullscreen-button{min-height:40px;padding:7px 15px}.title-meta{margin:0}.title-secondary .link-button{min-height:26px}}.board-ready{border-color:#81fff0!important;box-shadow:0 0 0 3px #45bbaa45,0 0 22px #37e0c877!important;background:#166e71!important}.hull-tier{font-size:8px;letter-spacing:1px;color:#bce7dc;align-self:center;max-width:65px;line-height:1.5}.weapon-slot.available{display:flex!important;font-size:22px;color:#8baeb8;border-style:dashed}.damage-bearing{position:absolute;left:50%;top:50%;width:70px;height:70px;transform:translate(-50%,-50%) rotate(var(--bearing));pointer-events:none;z-index:5}.damage-bearing:after{content:"";position:absolute;right:-30px;top:0;height:100%;width:10px;border-radius:50%;background:#ffd9bb;box-shadow:5px 0 16px #f7442c}.shipyard-ship:before{inset:0;background:var(--ship-art) 50% 0/cover no-repeat}.brand-word{letter-spacing:-.7px}.title-copy h1{font-size:clamp(32px,4vw,58px)}@media(max-width:540px){.hull-tier{font-size:6px;max-width:58px}.weapon-tray{max-width:145px}.brand-word{font-size:16px}.screen-title .key-art{background-size:auto 63%;background-position:50% 0}.title-copy h1{font-size:28px}.shipyard-ship:before{inset:0;background-size:cover}.damage-bearing{width:58px;height:58px}}.bow-emblem{position:relative;display:grid;place-items:center;width:108px;height:108px;color:#794816;filter:drop-shadow(0 3px 0 #fff5)}.bow-emblem>.icon{width:76px;height:76px;stroke-width:1.6}.bow-emblem.fire{color:#b44820}.bow-emblem.piercing{color:#20748c}.bow-emblem .arrow-kind{position:absolute;right:-2px;bottom:3px;width:28px;height:28px;background:#fff3d2;border:1px solid currentColor;border-radius:50%;padding:4px}.bow-emblem.fire .arrow-kind{background:#ffdaa0}@media(max-width:540px){.screen-title .key-art{background-image:var(--phone-art);background-size:100% auto;background-position:center top}.screen-title .key-art:after{background:linear-gradient(180deg,transparent 35%,#0b273d00 47%,#0b273d 69%)}.bow-emblem{width:66px;height:76px}.bow-emblem>.icon{width:52px;height:52px}.bow-emblem .arrow-kind{width:22px;height:22px;bottom:8px;right:-1px}.screen-title .title-shade{background:linear-gradient(180deg,transparent 0 35%,#0b273d00 46%,#0b273d 72%)}}@media(max-width:540px)and (max-height:600px){.screen-title .title-copy>.eyebrow{display:none}.screen-title .title-shade{background:linear-gradient(180deg,transparent 0 30%,#0b273d52 35%,#0b273de6 43%,#0b273d 62% 100%)}}.sailing-pointer-active .joystick-zone{opacity:0}@media(pointer:coarse){.touch-hint{bottom:132px}}@media(pointer:coarse)and (max-height:620px)and (min-width:541px){.touch-hint{bottom:96px}}
