@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');
:root{color-scheme:dark;--gold:#d9b77a;--line:#bba67733;--ink:#e8e5dc}*{box-sizing:border-box}body{margin:0;overflow:hidden;background:#082733;color:var(--ink);font-family:Inter,Arial,sans-serif;font-size:12px}#sea{position:fixed;inset:0}#sea canvas{display:block}.vignette{position:fixed;inset:0;pointer-events:none;box-shadow:inset 0 0 150px #00141c70}.glass{background:linear-gradient(135deg,#102832eb,#0a1c26e8);border:1px solid var(--line);box-shadow:0 8px 28px #0003;backdrop-filter:blur(12px)}header{position:fixed;top:0;left:0;right:0;height:89px;display:flex;align-items:center;justify-content:space-between;padding:0 30px;background:linear-gradient(#061b27e8,transparent);pointer-events:none}.brand{display:flex;align-items:center;gap:13px;font:600 26px 'Cormorant Garamond',Georgia,serif;letter-spacing:4px;color:var(--gold)}.brand small{display:block;font:9px Inter,Arial;letter-spacing:4px;color:#b2c5ca;margin-top:4px}.mark{font-size:48px;font-weight:400}.zone{color:#d3e5e5;display:flex;gap:10px;align-items:center}.dot{width:6px;height:6px;background:#80c6ad;border-radius:50%;box-shadow:0 0 9px #8ee0ae}.tag{color:#8babb7;font-size:8px;border:1px solid #8babb745;padding:5px 7px;letter-spacing:1px}#connection{color:#9ab7c0;font-size:10px}.captain{position:fixed;top:110px;left:26px;width:260px;padding:19px}.eyebrow{font-size:9px;letter-spacing:2px;color:var(--gold)}h2,h3{font-family:'Cormorant Garamond',Georgia,serif;font-weight:600}h2{font-size:28px;margin:7px 0 15px}h3{font-size:23px;margin:8px 0}.health{height:5px;background:#243e46}.health i{display:block;width:100%;height:100%;background:linear-gradient(90deg,#4c9b89,#9ad4b1);transition:width .2s}.stats{display:flex;justify-content:space-between;margin-top:9px;color:#b1c6ca;font-size:10px}.stats b{color:var(--gold)}#status{border-top:1px solid var(--line);padding-top:12px;margin-top:15px;color:#9eb9bc;font-size:10px;line-height:1.6}.target{position:fixed;top:285px;left:26px;width:260px;padding:18px}.enemy i{background:linear-gradient(90deg,#973f35,#e88f6e)}.target p{font-size:11px;color:#aac2c8}.target button{width:100%;font-size:10px}.compass{position:fixed;right:92px;top:110px;text-align:center;color:#bba879;font-size:10px}.compass span{display:block;font-size:65px;line-height:65px}.map{position:fixed;right:26px;bottom:110px;width:206px;padding:12px}.map canvas{display:block;width:180px;height:160px}.map small{font-size:9px;color:#aac8c9}.map em{color:#d47e66;font-style:normal}footer{position:fixed;bottom:24px;left:26px;right:26px;display:flex;align-items:end;justify-content:space-between;gap:14px}.hint{padding:15px 18px;max-width:490px}.hint b{display:block;color:var(--gold);font-size:9px;letter-spacing:2px;margin-bottom:8px}.hint span{color:#9cb6bd;font-size:10px}.actions{display:flex;gap:8px}button{font:500 11px Inter,Arial;cursor:pointer;background:#122e3aeb;border:1px solid #bba67755;color:#e5dcc8;padding:13px 17px;transition:background .15s}button:hover{background:#2d4650;border-color:#d9b77a}button:disabled{opacity:.5;cursor:wait}kbd{margin-left:12px;color:var(--gold);font-size:10px}button:focus-visible,input:focus-visible{outline:2px solid var(--gold);outline-offset:3px}.overlay{position:fixed;inset:0;background:#03172275;backdrop-filter:blur(4px);display:grid;place-items:center}.welcome{padding:44px;width:430px;border-top:2px solid #d9b77a}h1{font:600 64px 'Cormorant Garamond',Georgia;letter-spacing:7px;color:#e5ca91;margin:18px 0}.welcome p{font:26px/1.3 'Cormorant Garamond',Georgia;color:#b6ccce}.welcome label{display:block;font-size:9px;letter-spacing:2px;color:#b8c5be;margin:28px 0 9px}.welcome input{background:#061f2c;border:1px solid #8babb754;padding:13px;color:#e6e5dc;width:100%;font:14px Inter,Arial}.primary{width:100%;margin-top:12px;background:#c6a165;color:#14252c;font-weight:700;font-size:13px;display:flex;justify-content:space-between}.primary:hover{background:#dfbe86}.welcome small{display:block;text-align:center;font-size:9px;line-height:1.8;color:#84a2ac;margin-top:22px}.welcome .error{font:12px/1.5 Inter;color:#e7a490;margin-bottom:0}.toast{position:fixed;left:50%;bottom:125px;transform:translateX(-50%);padding:12px 20px;background:#102a35ed;border:1px solid var(--line);pointer-events:none;opacity:0;transition:opacity .2s;color:#eed3a0}.toast.show{opacity:1}dialog{max-width:980px;width:90vw;background:#0c2430;color:var(--ink);border:1px solid #bba67766;padding:30px;box-shadow:0 20px 100px #0008}dialog::backdrop{background:#00131cb0;backdrop-filter:blur(5px)}.dialoghead{display:flex;align-items:start;justify-content:space-between}dialog p{color:#a2bac2;line-height:1.6}#shipCards{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:25px}.shipcard{padding:18px;background:#102e3b;border:1px solid #77949d33}.shipcard.selected{border-color:var(--gold)}.shipcard .sail{font-size:36px;color:var(--gold);margin:8px 0 18px}.shipcard h3{margin:4px 0 9px}.shipcard p{font-size:10px;min-height:45px}.shipcard dl{font-size:10px;color:#a5bbc0;line-height:2}.shipcard dt{float:left}.shipcard dd{text-align:right;color:#e1d7c3}.shipcard button{width:100%;padding:10px 7px}@media(max-width:850px){.zone,.hint,.compass{display:none}.captain{width:205px;left:14px;top:90px}.target{width:205px;left:14px;top:265px}.map{right:14px;width:156px;bottom:100px}.map canvas{width:130px;height:115px}.map small{font-size:7px}header{padding:0 14px}.brand{font-size:20px}footer{left:14px;right:14px;bottom:15px}.actions{width:100%;justify-content:center}button{padding:12px 10px;font-size:10px}#shipCards{grid-template-columns:repeat(2,1fr)}.welcome{width:min(430px,92vw);padding:28px}.welcome h1{font-size:52px}} 
.shipcard .sail{height:110px;font-size:0;background-image:url(gemi-konseptleri.png);background-size:200% 200%;border:1px solid #9ab7b433}.shipcard:nth-child(1) .sail{background-position:0 0}.shipcard:nth-child(2) .sail{background-position:100% 0}.shipcard:nth-child(3) .sail{background-position:0 100%}.shipcard:nth-child(4) .sail{background-position:100% 100%}
/* Brass, dark timber and parchment: a classic naval combat interface. */
:root{--gold:#d5b374;--line:#b48b4d88;--ink:#eee0bf}.glass{background:linear-gradient(110deg,#251e16f5,#171b1bf0);border:1px solid #8c7145;box-shadow:inset 0 0 0 2px #151512,inset 0 0 0 3px #b78b4233,0 8px 22px #0007;backdrop-filter:blur(5px)}header{height:75px;padding:0 24px;background:linear-gradient(#1c1915fa,#171a18ed);border-bottom:3px double #a0804c;box-shadow:0 4px 22px #0007}.brand{font-size:27px;letter-spacing:5px;text-shadow:0 2px 3px #000}.brand small{font-size:8px;color:#af9e7a}.mark{font-size:43px}.zone{font-family:Georgia,serif;font-size:14px;color:#e1cca3}.tag{color:#c2a370;border-color:#8c7145}.captain{top:95px;left:18px;width:235px;padding:16px 18px;border-top:3px double #c9a462}.captain:before,.target:before{content:'◆';position:absolute;right:12px;top:10px;color:#b28b4c;font-size:10px}.eyebrow{color:#c3a46a;letter-spacing:1.8px;font-size:8px}h2{font-size:27px;text-shadow:0 2px 3px #000}.health{height:9px;border:1px solid #090d0c;box-shadow:0 0 0 1px #8c714555;background:#070c0b}.health i{background:linear-gradient(#77a248,#405f27)}.enemy i{background:linear-gradient(#bd6240,#7e2e23)}.stats{color:#c1b292}#status{color:#b7aa8c;border-color:#826b414d}.target{top:268px;left:18px;width:235px}.map{right:18px;bottom:103px;background:linear-gradient(130deg,#332c20f5,#201f18f5);border:3px double #ab8c51;padding:11px;box-shadow:inset 0 0 24px #0009,0 5px 15px #0008}.map canvas{background:#152f32bb;border:1px solid #927c4d55;margin:9px 0}.map small{color:#c4b48d}.compass{top:95px;color:#d1b47a;text-shadow:0 3px 4px #000}.chartLabel{position:fixed;top:95px;left:50%;transform:translateX(-50%);text-align:center;color:#d2c3a1;text-shadow:0 2px 4px #0008;pointer-events:none}.chartLabel span{display:block;font-size:8px;letter-spacing:2px}.chartLabel b{display:block;font:25px Georgia;margin:7px}.chartLabel small{font-size:8px;letter-spacing:2px;color:#a3b4ac}footer{bottom:18px;left:18px;right:18px;align-items:end}.hint{padding:12px 17px;border-left:3px solid #b69455;background:#1b211ee8}.hint b{font-family:Georgia;font-size:11px;color:#d6ba80}.hint span{color:#c0b497}button{background:linear-gradient(#50412c,#2a251b);border:1px solid #a48247;box-shadow:inset 0 0 0 2px #1b1c17,0 3px 9px #0006;color:#ead9b5;text-shadow:0 1px 2px #000;padding:14px 19px}button:hover{background:linear-gradient(#73603c,#3e3523);border-color:#e3c584}.actions{gap:6px}.actions button{min-height:49px}.actions button:first-child{border-color:#d0ab63}.toast{background:#242419f2;border:1px solid #b09054;color:#e4c68a}.welcome{background:radial-gradient(at top,#3a3325ed,#101b1ff7)}.welcome h1{color:#e4c388}.welcome label{color:#c1ad7f}.welcome input{background:#111b1c;border-color:#7d704f}.primary{background:linear-gradient(#d3b16b,#9d793e);color:#18201c;text-shadow:none}.shipcard{background:linear-gradient(#30291f,#1a2424);border-color:#7d6b4766}.shipcard.selected{box-shadow:inset 0 0 18px #d7ae6320}.shipcard .sail{height:145px}dialog{background:linear-gradient(120deg,#24251f,#152125);border:3px double #b18c4a}dialog p{color:#c5b796}.vignette{box-shadow:inset 0 0 160px #00141c99}#connection{color:#b6b292;font-size:9px}@media(max-width:850px){header{height:66px;padding:0 12px}.brand{font-size:18px;letter-spacing:3px}.brand small{letter-spacing:2px;font-size:7px}.mark{font-size:34px}.captain{top:80px;left:10px;width:174px;padding:12px}.captain h2{font-size:24px;margin:6px 0 12px}.captain .eyebrow{font-size:7px}.captain #status{font-size:9px;margin-top:10px;padding-top:8px}.target{left:10px;top:246px;width:174px;padding:12px}.chartLabel{top:85px;left:auto;right:12px;transform:none;text-align:right}.chartLabel span{font-size:6px;letter-spacing:1px}.chartLabel b{font-size:20px;margin:7px 0}.chartLabel small{font-size:6px;letter-spacing:1px}.map{right:10px;width:142px;padding:8px;bottom:91px}.map canvas{width:120px;height:106px}.map .eyebrow{font-size:7px;letter-spacing:1px}.map small{font-size:6px}footer{left:10px;right:10px;bottom:12px}.actions button{font-size:9px;padding:11px 9px;min-height:46px}.shipcard{padding:12px}.shipcard .sail{height:110px}.shipcard h3{font-size:21px}.toast{bottom:100px;max-width:90vw;width:max-content;font-size:10px}.welcome h1{font-size:42px;letter-spacing:3px}.welcome .eyebrow{line-height:1.8}.welcome p{font-size:24px}}
.ammoBar{position:fixed;bottom:92px;left:50%;transform:translateX(-50%);padding:12px 14px;width:430px}.ammoTitle{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.ammoTitle small{font-size:8px;color:#b4a783}#ammoChoices{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}#ammoChoices button{position:relative;padding:9px 3px 6px;display:flex;flex-direction:column;align-items:center;gap:4px;font-size:9px;border-color:#75613e}#ammoChoices button.active{border-color:#f3ce81;background:linear-gradient(#655035,#30281c);box-shadow:inset 0 0 10px #ddaf5225,0 0 7px #d3a95240}#ammoChoices button strong{color:#e9cf99;font-size:12px}#ammoChoices kbd{position:absolute;top:4px;right:5px;font-size:7px;margin:0;color:#b5a47f}.ballIcon{display:block;width:21px;height:21px;border-radius:50%;background:radial-gradient(at 32% 26%,#fff9,var(--ammo) 24%,#111 88%);box-shadow:0 2px 3px #0008}#ammoInfo{font-size:9px;color:#d3bc8a;margin:9px 0 0;text-align:center}.toast{bottom:245px}@media(max-width:850px){.ammoBar{width:calc(100% - 20px);bottom:76px;padding:8px;max-width:430px}.ammoTitle{margin-bottom:6px}#ammoChoices button{padding:7px 2px 4px;font-size:8px;gap:3px}.ballIcon{width:16px;height:16px}#ammoChoices button strong{font-size:10px}#ammoInfo{font-size:8px;margin-top:5px}.map{bottom:226px}.toast{bottom:230px}.ammoTitle small{font-size:7px}}
.equipment{position:fixed;right:18px;top:94px;z-index:5;display:flex;flex-direction:row-reverse;gap:10px;align-items:flex-start;pointer-events:none}.equipmentTabs{padding:5px;width:95px;display:flex;flex-direction:column;gap:4px;pointer-events:auto}.equipmentTabs button{padding:11px 4px;font-size:10px;box-shadow:inset 0 0 0 1px #191b16;min-height:54px;border-color:#77603b;background:linear-gradient(#393226,#24241d)}.equipmentTabs button span{display:block;font-size:18px;margin-bottom:4px;color:#d2b478}.equipmentTabs button[aria-selected=true]{background:linear-gradient(#76603b,#3a3020);border-color:#e2bd72;color:#ffe4a6}.equipmentPanel{width:330px;padding:18px;max-height:calc(100dvh - 205px);overflow-y:auto;pointer-events:auto;scrollbar-width:thin;scrollbar-color:#9b7f49 #171e1c}.equipmentHead{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:1px solid #a3834644;margin-bottom:14px}.equipmentHead h2{font-size:26px;margin:7px 0 12px}.equipmentHead button{padding:6px 9px}.equipmentNote{color:#b7aa8c;font-size:10px;line-height:1.7;margin:12px 0}.equipmentPanel [role=tabpanel]:focus-visible{outline:1px solid #dab270;outline-offset:4px}.equipmentPanel .ammoBar{position:static;transform:none;width:auto;padding:10px}.equipmentPanel #ammoChoices{grid-template-columns:repeat(3,1fr)}.equipmentPanel #shipCards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}.equipmentPanel .shipcard{padding:10px}.equipmentPanel .shipcard .sail{height:90px;margin:6px 0 10px}.equipmentPanel .shipcard h3{font-size:19px}.equipmentPanel .shipcard p{font-size:9px;min-height:48px}.equipmentPanel .shipcard dl{font-size:9px}.equipmentPanel .shipcard button{padding:9px 3px;font-size:9px}.equipmentStats{display:grid;grid-template-columns:1fr 1fr;gap:15px;font-size:11px;margin:22px 0}.equipmentStats dt{color:#b4a88e}.equipmentStats dd{margin:0;text-align:right;color:#eed8a5}.equipmentItem{border:1px solid #95774755;padding:14px;margin:12px 0;background:#20271f88}.equipmentItem b{font:17px Georgia;color:#dfc795}.equipmentItem p{font-size:10px;line-height:1.7;color:#b6ad94}.equipmentItem button{width:100%}.compass{right:150px}#pane-hull>button,#pane-cannons>button{width:100%}.equipmentPanel[hidden]{display:none}@media(max-width:850px){.equipment{top:80px;right:8px;gap:6px}.equipmentTabs{width:67px;padding:3px;gap:3px}.equipmentTabs button{font-size:8px;min-height:44px;padding:6px 2px}.equipmentTabs button span{font-size:15px;margin-bottom:3px}.equipmentPanel{width:min(295px,calc(100vw - 94px));padding:12px;max-height:calc(100dvh - 170px)}.equipmentPanel .equipmentHead h2{font-size:23px}.equipmentPanel #shipCards{grid-template-columns:1fr}.equipmentPanel .shipcard .sail{height:130px}.equipmentPanel .shipcard p{min-height:0}.chartLabel{right:90px}.map{bottom:226px}.equipmentPanel .ammoBar{padding:6px}.equipmentPanel #ammoChoices{grid-template-columns:repeat(2,1fr)}}
.toast{bottom:95px}@media(max-width:850px){.map{bottom:91px}.toast{bottom:85px}}
.actions[hidden]{display:none}
.repairTool{position:absolute;right:0;top:310px;width:95px;display:flex;flex-direction:column;align-items:center;padding:6px;pointer-events:auto}.repairTool svg{width:36px;height:36px}.repairTool span{font-size:10px}.repairTool:disabled{opacity:.65;cursor:not-allowed;filter:saturate(.3)}@media(max-width:850px){.repairTool{width:67px;top:255px}.repairTool svg{width:30px;height:30px}.repairTool span{font-size:8px}}
/* Compact naval battle dock, with inset brass trim and jewel-like quick slots. */
.captain.battleDock{position:fixed;left:16px;bottom:14px;top:auto;width:420px;padding:7px 9px 5px;background:linear-gradient(100deg,#141713f7,#29261bf5 48%,#111815f7);border:3px double #b59655;box-shadow:inset 0 0 0 2px #080e0c,inset 0 0 16px #000,0 5px 20px #0008;z-index:6}.captain.battleDock:before{display:none}.dockTop{display:flex;align-items:center;gap:8px;padding-bottom:7px;border-bottom:1px solid #836a3f88}.dockCrest{display:grid;place-items:center;flex:0 0 43px;height:43px;border:2px ridge #bfa168;border-radius:6px;background:radial-gradient(#544a2a,#141a17);color:#d5b568;font:36px Georgia;box-shadow:inset 0 0 5px #000}.dockVitals{flex:1;min-width:0}.dockShip{display:flex;align-items:center;justify-content:space-between;margin-bottom:5px;font:12px Georgia;color:#e3cea0}.dockGold{font:10px Arial;color:#cfb267}.hpOrnament.health{position:relative;height:19px;border-radius:8px;border:2px ridge #a38d52;box-shadow:0 0 0 1px #080e0b,inset 0 1px 4px #000;background:#111c12;overflow:hidden}.hpOrnament.health i{background:linear-gradient(#89b64b 0%,#397321 43%,#204d15 52%,#658e35 100%);height:100%;box-shadow:inset 0 1px #c2db81}.hpOrnament span{position:absolute;inset:0;text-align:center;font:bold 10px/15px Georgia;color:#f8f1c8;text-shadow:1px 1px #000,-1px -1px #263213;white-space:nowrap}.dockRepair{flex:0 0 44px;padding:2px;background:linear-gradient(#31352a,#131a14);min-height:43px;border:2px ridge #947a47;display:flex;flex-direction:column;align-items:center}.dockRepair svg{width:25px;height:25px;display:block}.dockRepair small{font-size:7px}.dockSlots{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;padding-top:7px}.dockSlots button{position:relative;padding:4px 2px 3px;min-height:49px;background:linear-gradient(#293429,#111a15);border:2px ridge #8b7748;box-shadow:inset 0 0 8px #000;display:flex;flex-direction:column;align-items:center;gap:3px}.dockSlots button:hover{background:linear-gradient(#4a5637,#1c2c20);border-color:#e6c679}.dockSlots button>span:not(.dockOrb){font:23px Georgia;color:#d2bc7d;line-height:24px;text-shadow:0 1px 4px #000}.dockSlots small{font-size:8px;color:#e6d4ae}.dockSlots kbd{position:absolute;right:3px;top:2px;font:7px Arial;margin:0}.dockOrb{width:23px;height:23px;border-radius:50%;background:radial-gradient(at 30% 25%,#eee 0%,var(--orb,#9fa9a7) 25%,#142123 85%);box-shadow:0 0 6px #a6b5a344;border:1px solid #857f66}.captain.battleDock #status{border:0;padding:5px 0 0;margin:0;color:#b9b593;font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.4}.target{top:95px}.hint{display:none}.equipment{top:89px}.equipmentPanel{max-height:calc(100dvh - 120px)}.map{bottom:18px}.toast{bottom:190px}.compass{right:145px}@media(max-width:850px){.captain.battleDock{left:8px;bottom:8px;width:min(380px,calc(100vw - 16px));padding:6px}.dockTop{gap:6px}.dockCrest{flex-basis:36px;height:36px;font-size:29px}.dockShip{font-size:11px}.dockRepair{min-height:38px;flex-basis:40px}.dockSlots{gap:5px;padding-top:6px}.dockSlots button{min-height:44px}.dockSlots small{font-size:7px}.captain.battleDock #status{font-size:7px}.target{top:80px}.equipment{top:80px}.equipmentPanel{max-height:calc(100dvh - 270px)}.map{bottom:184px;width:130px}.map canvas{width:108px;height:96px}.map small{font-size:6px}.toast{bottom:185px;z-index:8}}@media(min-width:851px){.chartLabel{top:94px}.equipmentPanel{width:350px}}
.captain.battleDock{left:50%;right:auto;transform:translateX(-50%);bottom:10px;width:470px;padding:5px 7px 4px;border-radius:5px;background:linear-gradient(110deg,#111710fa,#2b281bf7 48%,#101710fa)}.battleDock .dockTop{gap:7px;padding-bottom:5px}.battleDock .dockCrest{flex-basis:42px;height:38px}.battleDock .dockSlots{gap:5px;padding-top:5px}.battleDock .dockSlots button{min-height:43px;padding:3px 2px}.battleDock .dockSlots button>span:not(.dockOrb){font-size:21px;line-height:21px}.battleDock .dockOrb{width:21px;height:21px}.battleDock .dockRepair{min-height:38px}.captain.battleDock #status{padding-top:4px;font-size:7px}.toast{bottom:165px}@media(max-width:850px){.captain.battleDock{left:50%;bottom:8px;width:min(470px,calc(100vw - 16px));padding:5px 6px}.battleDock .dockSlots button{min-height:43px}.battleDock .dockCrest{flex-basis:36px;height:36px}.toast{bottom:165px}.map{bottom:165px}}
.battleDock .dockShip{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:6px;margin-bottom:4px}.defenseLabel{font:9px Georgia;text-align:right;color:#d8b3ed}.defenseLabel b{color:#edd8fc}#centerShip{padding:2px 8px;font:10px Georgia;background:linear-gradient(#393725,#1b251a);box-shadow:none;color:#e7d19d;border:1px solid #867746}.defenseOrnament.health{height:17px;border:2px ridge #a38d52;border-radius:7px;position:relative;overflow:hidden;background:#140e1e;margin-bottom:4px}.defenseOrnament i{background:linear-gradient(#bd6bec,#7c28b4 45%,#581580 55%,#a34bd1);box-shadow:inset 0 1px #e3a0ff}.defenseOrnament span{position:absolute;inset:0;text-align:center;font:bold 10px/13px Georgia;color:#f5e7ff;text-shadow:1px 1px #000}.battleDock .dockRepair{align-self:stretch;justify-content:center}.battleDock .dockTop{gap:7px}.battleDock .dockGold{text-align:left}.toast{bottom:195px}@media(max-width:850px){.map{bottom:190px}.toast{bottom:195px}#centerShip{font-size:9px;padding:3px 5px}.defenseLabel{font-size:8px}}
.battleDock .dockTop{display:grid;grid-template-columns:minmax(0,1fr) 43px minmax(0,1fr);gap:6px;align-items:center}.dockBarColumn{display:flex;flex-direction:column;gap:4px;min-width:0}.battleDock #centerShip{height:42px;width:43px;padding:0;font:35px/38px Georgia;border:2px ridge #d1b570;border-radius:5px;background:radial-gradient(#5d5934,#18201a);box-shadow:inset 0 0 5px #000;color:#f1d995}.battleDock .health,.scoreOrnament{position:relative;height:17px;min-height:17px;border:2px ridge #a38d52;border-radius:7px;margin:0;overflow:hidden;background:#101e20;box-shadow:0 0 0 1px #080e0b}.battleDock .health span,.scoreOrnament span{position:absolute;inset:0;text-align:center;font:bold 9px/13px Georgia;color:#f5f1cf;text-shadow:1px 1px #000;white-space:nowrap}.battleDock .defenseOrnament i{background:linear-gradient(#61cae5,#087ba6 48%,#055879 52%,#309bb4);box-shadow:inset 0 1px #b9effb}.xpOrnament i{background:linear-gradient(#cd8fea,#8436c6 48%,#5d1b95 52%,#a051d2)}.scoreOrnament{background:linear-gradient(#32467c,#15294e 50%,#243765);color:#e3edff}.dockMeta{display:flex;justify-content:space-between;align-items:center;margin-top:4px}.battleDock .dockMeta .dockRepair{min-height:20px;display:flex;flex-direction:row;gap:4px;padding:1px 5px;flex-basis:auto;align-self:auto;border-width:1px}.dockMeta .dockRepair svg{width:17px;height:17px}.dockMeta #dockRepairIcon{display:block}.dockMeta .dockGold{font-size:8px}.captain.battleDock{width:470px}.captain.battleDock #status{padding-top:2px;font-size:7px}@media(max-width:850px){.captain.battleDock{width:min(470px,calc(100vw - 16px))}.battleDock .dockTop{grid-template-columns:minmax(0,1fr) 38px minmax(0,1fr);gap:5px}.battleDock #centerShip{width:38px;height:40px;font-size:31px}.battleDock .health span,.scoreOrnament span{font-size:8px}.map{bottom:200px}}
@media(min-width:851px){.repairTool{top:350px}}
.navalHeader{height:44px;padding:0 12px;background:linear-gradient(#120706,#421a13 55%,#1e100c);border-bottom:3px ridge #b28c51;box-shadow:0 2px 5px #000a;z-index:10;pointer-events:auto}.topPurse{display:flex;gap:7px;align-items:center;min-width:85px;font:11px Georgia;color:#eee1b8}.topPurse>span{color:#d9b94e}.topNav{position:absolute;left:50%;transform:translateX(-50%);top:0;display:flex;align-items:flex-start;gap:4px;height:42px}.topDrop{position:relative}.topDrop summary{height:36px;width:48px;display:flex;align-items:center;justify-content:center;gap:4px;cursor:pointer;list-style:none;background:linear-gradient(#15170f,#080b08);border:1px solid #85733d;color:#e1cb78;font:23px Georgia}.topDrop summary::-webkit-details-marker{display:none}.topDrop summary small{font:8px Arial;align-self:flex-end;margin-bottom:4px}.topDrop[open] summary,.topDrop summary:hover{background:linear-gradient(#5b532e,#242b18)}.topDropList{position:absolute;top:38px;left:0;width:174px;padding:3px;border:1px solid #a68a4c;background:#10150ff5;box-shadow:0 8px 22px #000a;display:flex;flex-direction:column;gap:2px}.topDropList button{text-align:left;padding:9px 10px;font-size:10px;background:#1c2419;border-color:#73603b;box-shadow:none}.marketCrest{width:108px;height:52px;padding:2px 8px;display:flex;align-items:center;justify-content:center;flex-direction:column;border:3px ridge #c29c52;border-radius:0 0 35% 35%;background:linear-gradient(#e2ae61,#a55723 48%,#6b321b 52%,#c38c37);box-shadow:inset 0 0 0 2px #5b341b,0 3px 9px #0009;color:#ffdc82}.marketCrest svg{width:28px;height:25px}.marketCrest span{font:bold 8px Georgia;letter-spacing:1px}.marketCrest:hover{background:linear-gradient(#efc680,#bc7432 48%,#8f4d20 52%,#dcab52)}.marketWindow{padding:0;width:min(660px,92vw);max-height:80dvh;overflow:auto;border:3px ridge #ac8d50;background:linear-gradient(110deg,#141d17,#24281e);box-shadow:inset 0 0 0 2px #070e09,0 15px 80px #000b}.marketTitle{display:flex;justify-content:space-between;align-items:center;background:linear-gradient(#54251d,#28120e);border-bottom:2px ridge #947841;padding:8px 13px}.marketTitle h2{font:20px Georgia;color:#f1deba;margin:0}.marketTitle button{padding:4px 8px;font-size:11px;border-radius:50%;background:#171e13}.marketWindow #marketCategories{display:flex;gap:4px;padding:12px;border-bottom:1px solid #806d3b66;flex-wrap:wrap}.marketWindow #marketCategories button{padding:9px 15px;font-size:10px}.marketWindow #marketCategories button[aria-pressed=true]{background:linear-gradient(#83703d,#41361e);border-color:#edc87e}.marketEmpty{min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#aa9f7d}.marketEmpty>span{font:48px Georgia;color:#998d58}.marketEmpty h3{font-size:24px;color:#d6c496;margin-bottom:5px}.marketEmpty p{font-size:11px;margin:0}.marketBalance{border-top:1px solid #806d3b66;padding:12px;color:#d9ba6b;font-size:11px}.ballIcon,.dockOrb{background:radial-gradient(#3c4b39,#0b140d);border-radius:2px;border:0;box-shadow:none}.ballIcon svg,.dockOrb svg{width:100%;height:100%;display:block}.ballIcon{width:31px;height:31px}.dockOrb{width:29px!important;height:29px!important}.equipmentTabs #tab-ammo>span{width:26px;height:26px;margin:0 auto 3px}.equipmentTabs #tab-ammo svg{width:100%;height:100%;display:block}.equipment{top:65px}.target{top:65px}.battleDock .dockSlots button{min-height:47px}.battleDock .dockSlots button small{font-size:8px}.battleDock .dockSlots{gap:4px}.captain.battleDock{border-radius:3px}.welcome{z-index:15}@media(max-width:850px){.navalHeader{height:41px;padding-left:8px}.topPurse{font-size:9px;min-width:60px}.topNav{gap:2px}.topDrop summary{width:34px;height:33px;font-size:19px}.marketCrest{width:79px;height:47px}.topDropList{width:155px}.topDrop:last-child .topDropList{left:auto;right:0}.equipment{top:61px}.target{top:61px}.ballIcon{width:25px;height:25px}.topNav{left:54%}.dockSlots small{font-size:7px}.equipmentTabs button{min-height:44px}.equipmentTabs #tab-ammo>span{width:19px;height:19px}.repairTool{top:263px}}
.battleDock .dockSlots{grid-template-columns:repeat(8,minmax(0,1fr));gap:4px}.captain.battleDock{width:540px}.battleDock .dockSlots button{min-height:47px;padding:3px 1px}.battleDock .dockSlots small{font-size:7px;white-space:nowrap}.battleDock .dockSlots .attackGlyph{color:#ec653e!important}.battleDock .dockSlots .stopGlyph{color:#d6504a!important}.floatingMenu .equipmentPanel{position:fixed;left:50%;transform:translateX(-50%);bottom:180px;top:auto;width:min(570px,calc(100vw - 24px));max-height:calc(100dvh - 250px);padding:10px}.floatingMenu .equipmentHead h2{font:15px Georgia;margin:5px 0 8px}.floatingMenu .equipmentHead .eyebrow{display:none}.floatingMenu .equipmentHead{background:linear-gradient(#4c4930,#1a2319);margin:-9px -9px 9px;padding:3px 8px}.floatingMenu #ammoChoices{grid-template-columns:repeat(5,minmax(0,1fr))}.inventoryEmpty{display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:160px;color:#bfb18c;text-align:center;padding:15px}.inventoryEmpty>span{font:38px Georgia;color:#c3a766;margin-bottom:12px}.inventoryEmpty b{font:17px Georgia}.inventoryEmpty p{font-size:10px;line-height:1.6;max-width:330px}@media(max-width:850px){.captain.battleDock{width:min(540px,calc(100vw - 12px))}.floatingMenu .equipmentPanel{bottom:181px;max-height:calc(100dvh - 240px)}.floatingMenu #ammoChoices{grid-template-columns:repeat(5,minmax(0,1fr))}.battleDock .dockSlots{gap:3px}.battleDock .dockSlots small{font-size:6px}.battleDock .dockSlots button>span:not(.dockOrb){font-size:20px}.battleDock .dockSlots .dockOrb{width:25px!important;height:25px!important}}
#harpoonChoices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}#harpoonChoices button{display:flex;flex-direction:column;align-items:center;gap:9px;padding:15px 8px;min-width:0}#harpoonChoices button.active{border-color:#eed28b;background:linear-gradient(#655831,#28331f)}#harpoonChoices b{font:13px Georgia}#harpoonChoices small{font-size:9px;color:#bfb394}.harpoonArt{display:block;width:55px;height:55px;background:radial-gradient(#394732,#10170e);border:1px solid #7e7249}.harpoonArt svg,#dockHarpoonIcon svg{width:100%;height:100%;display:block}.battleDock #dockHarpoonIcon{width:28px;height:28px;display:block}@media(max-width:500px){#harpoonChoices{gap:5px}#harpoonChoices button{padding:10px 3px}#harpoonChoices b{font-size:11px}#harpoonChoices small{font-size:8px}.harpoonArt{width:45px;height:45px}}
#marketProducts{padding:10px;display:grid;gap:7px}.productRow{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px;background:#172016;border:1px solid #72643b}.productArt{width:40px;height:40px;display:grid;place-items:center;font:27px Georgia;color:#d5ba76;background:radial-gradient(#34402b,#121a12);border:1px solid #8c7746}.productArt svg{width:36px;height:36px}.productRow b{font:15px Georgia;color:#e5d6ac}.productRow small{display:block;font-size:9px;line-height:1.5;color:#ada88b;margin-top:5px}.productRow button{font-size:10px;padding:9px;white-space:nowrap}.economyNote{font-size:9px;line-height:1.7;color:#a69f84;margin:5px}.gunInventory{display:grid;grid-template-columns:1fr 27px 27px;align-items:center;gap:4px;padding:8px 0;border-bottom:1px solid #76603b55}.gunInventory span{font-size:9px;line-height:1.6;color:#cfbf98}.gunInventory button{padding:5px;font-size:13px}#rangeToggle{font-size:8px;padding:3px 5px;box-shadow:none}#rangeToggle[aria-pressed=true]{border-color:#ddba6a}#rangeInfo{font-size:7px;color:#bdc9c0}.marketEmpty[hidden]{display:none}.diamond{color:#79d3e5}.marketBalance{display:flex;justify-content:space-between}.floatingMenu #ammoChoices{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:500px){.productRow{grid-template-columns:32px minmax(0,1fr) auto;gap:6px;padding:6px}.productArt{width:31px;height:31px}.productRow b{font-size:12px}.productRow small{font-size:8px}.productRow button{padding:7px 5px;font-size:9px}#rangeInfo{font-size:6px}.topPurse{gap:3px}.topNav{left:60%}}
.health.friendly i{background:linear-gradient(#7de3b2,#258962)}
.equipmentPanel{max-height:calc(100dvh - 250px)}@media(max-width:850px){.equipmentPanel{max-height:calc(100dvh - 270px)}}
/* Small inventory selectors: one item per row, above the combat shortcuts. */
.compactSelector .equipmentPanel{width:235px;padding:5px;max-height:calc(100dvh - 245px);left:calc(50% - 8px);bottom:180px;transform:translateX(-50%)}.compactSelector .equipmentHead{margin:-4px -4px 4px;padding:2px 5px}.compactSelector .equipmentHead h2{font:12px Georgia;margin:3px 0}.compactSelector .equipmentHead button{padding:2px 5px;font-size:9px}.compactSelector .equipmentNote{font-size:8px;line-height:1.4;margin:5px 2px}.compactSelector .ammoTitle{display:none}.compactSelector .ammoBar{padding:0;border:0;box-shadow:none;background:none}.compactSelector #ammoChoices{display:flex;flex-direction:column;gap:3px}.compactSelector #ammoChoices button{display:grid;grid-template-columns:37px minmax(0,1fr) auto;grid-template-rows:16px 15px;padding:4px 5px;gap:0 6px;min-height:45px;text-align:left;border:1px solid #7b6d42;box-shadow:inset 0 0 9px #0007;background:linear-gradient(110deg,#151c13,#2c2c1b)}.compactSelector #ammoChoices .ballIcon{grid-row:1 / 3;grid-column:1;width:34px;height:34px}.compactSelector #ammoChoices button>span:nth-child(2){grid-column:2 / 4;font:12px Georgia;color:#ded1ac;align-self:center}.compactSelector #ammoChoices strong{grid-row:2;grid-column:2;font:10px Georgia;color:#a9ac90;align-self:center}.compactSelector #ammoChoices strong:before{content:'Değer: '}.compactSelector #ammoChoices kbd{display:none}.compactSelector #ammoChoices .ammoStock{grid-row:2;grid-column:3;font:9px Georgia;color:#c8bc95;align-self:center}.compactSelector #ammoInfo{font:8px/1.5 Arial;margin:5px 2px}.compactSelector #harpoonChoices{display:flex;flex-direction:column;gap:3px}.compactSelector #harpoonChoices button{display:grid;grid-template-columns:37px minmax(0,1fr);grid-template-rows:17px 16px;min-height:46px;text-align:left;padding:4px 5px;gap:0 6px;background:linear-gradient(110deg,#151c13,#2c2c1b)}.compactSelector .harpoonArt{grid-row:1 / 3;grid-column:1;width:34px;height:34px}.compactSelector #harpoonChoices b{font:12px Georgia;grid-column:2;grid-row:1;align-self:center}.compactSelector #harpoonChoices small{font:9px Georgia;grid-column:2;grid-row:2;align-self:center}.compactSelector .equipmentHead .eyebrow{display:none}@media(max-width:500px){.compactSelector .equipmentPanel{width:min(235px,calc(100vw - 20px));bottom:180px}.compactSelector #ammoChoices button{font-size:10px}.compactSelector #harpoonChoices button{padding:4px 5px}}
.targetBars{display:flex;flex-direction:column;gap:5px}.targetBars .health{position:relative;height:17px;border:2px ridge #a38d52;border-radius:7px;margin:0;overflow:hidden;background:#101e20}.targetBars .health span{position:absolute;inset:0;text-align:center;font:bold 9px/13px Georgia;color:#f5f1cf;text-shadow:1px 1px #000;white-space:nowrap}.targetBars .hpOrnament i{background:linear-gradient(#8bc965,#408627 48%,#235715 52%,#65a641)}.targetBars .defenseOrnament i{background:linear-gradient(#61cae5,#087ba6 48%,#055879 52%,#309bb4)}.targetBars [hidden]{display:none}
.target.glass{width:210px;padding:9px 10px;background:linear-gradient(#18201be6,#101712de);border:1px solid #8d794b;box-shadow:0 2px 8px #0006;backdrop-filter:none}.target #targetName{font:600 13px Georgia;margin:0 0 6px;color:#e9dfc1}.target .eyebrow,.target #targetInfo,.target #stopFire{display:none}.targetBars .health{height:15px}.targetBars .health span{font-size:8px;line-height:11px}
.target::before,.target::after{display:none}
#combatTrackers{position:fixed;left:18px;top:24%;width:210px;max-height:60vh;overflow:auto;z-index:4;display:flex;flex-direction:column;gap:14px;scrollbar-width:thin}#combatTrackers .target{position:static;width:100%;flex-shrink:0}#incomingCombatBars{display:flex;flex-direction:column;gap:6px}#incomingCombatBars[hidden]{display:none}.incomingCombatRow{padding:7px 10px;background:linear-gradient(#242420eb,#101712e8);border:1px solid #aaa28b;border-radius:5px;box-shadow:0 2px 5px #0008}.combatName{font:600 13px Georgia;color:#e9dfc1;margin-bottom:5px}.incomingCombatRow .health{position:relative;height:15px;margin:0;border:2px ridge #a38d52;border-radius:7px;overflow:hidden;background:#101e20}.incomingCombatRow .health i{background:linear-gradient(#8bc965,#408627 48%,#235715 52%,#65a641)}.incomingCombatRow .health span{position:absolute;inset:0;text-align:center;font:bold 8px/11px Georgia;color:#f5f1cf;text-shadow:1px 1px #000}
.worldMapGrid{display:grid;grid-template-columns:1fr 1fr;gap:2px;margin:5px 0;font:10px Georgia;text-align:center}.worldMapGrid span{padding:3px;background:#0b1a1d;border:1px solid #776540}.worldMapGrid .active{background:#736031;color:#fff2bf;border-color:#d2bb7e}#mapExits{position:fixed;left:50%;top:58px;transform:translateX(-50%);z-index:15;display:flex;gap:7px}#mapExits[hidden]{display:none}#mapExits button{padding:10px 18px;border:2px ridge #c6a66b;color:#ffedb5;background:linear-gradient(#6d4825,#291b10);font:bold 13px Georgia;box-shadow:0 3px 12px #0009}
.map.nauticalMap{position:fixed;right:26px;top:92px;bottom:auto;width:178px;height:186px;padding:16px 14px 27px;border:6px ridge #86754b;border-radius:48% 48% 45% 45%;background:radial-gradient(ellipse at 40% 35%,#5c573c,#343225 62%,#191d17);box-shadow:inset 0 0 0 2px #25251a,inset 0 0 15px #000,3px 5px 10px #0009;backdrop-filter:none;z-index:7;overflow:visible}.nauticalMap canvas#minimap{width:138px;height:129px;border:2px solid #5b5138;border-radius:3px;background:#133344;box-shadow:inset 0 0 10px #000;display:block}.mapRibbon{position:absolute;top:-13px;left:-5px;right:-5px;height:25px;padding:3px;text-align:center;color:#372616;font:italic bold 14px Georgia;background:linear-gradient(#d1b58a,#efdab0 48%,#bb9666);border:2px solid #98784d;box-shadow:0 2px 3px #0007;clip-path:polygon(0 0,100% 0,97% 50%,100% 100%,0 100%,3% 50%)}.mapCoordinateDock{position:absolute;bottom:0;left:13px;right:12px;height:27px;display:flex;align-items:center;justify-content:center;gap:3px}.mapCoordinateDock span{min-width:26px;text-align:center;background:#1c1b13;border:2px ridge #99805a;font:14px Georgia;color:#d5c19b;padding:1px 2px}.mapCoordinateDock #worldMapToggle{position:absolute;left:-32px;bottom:-2px;width:31px;height:31px;display:grid;place-items:center;padding:2px;border:3px ridge #ac9450;border-radius:50%;background:radial-gradient(#615523,#191b0b);color:#e9cf70;box-shadow:0 2px 5px #000b}.mapCoordinateDock svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.5}#worldMapToggle[aria-expanded=true]{box-shadow:0 0 8px #ebd080}#worldMapPanel{position:absolute;right:193px;top:-7px;width:250px;padding:8px;background:linear-gradient(125deg,#dac79e,#f0e2bb 48%,#c6ae7e);border:4px ridge #9b7e4e;box-shadow:0 5px 20px #0009;color:#362c1e}#worldMapPanel[hidden]{display:none}.worldMapTitle{font:bold 12px Georgia;letter-spacing:1px;display:flex;align-items:center;justify-content:space-between;padding:0 0 6px}.worldMapTitle button{padding:0 5px;min-height:20px;background:#453623;color:#e1cc9d;border:1px solid #91713d}.nauticalMap .worldMapGrid{gap:2px;margin:0;grid-template-columns:1fr 1fr}.nauticalMap .worldMapGrid span{height:69px;display:grid;place-items:center;font:bold 19px Georgia;color:#5b4c31;border:1px solid #806c46;background:repeating-linear-gradient(0deg,transparent 0 15px,#927c4920 15px 16px),repeating-linear-gradient(90deg,#d7c89855 0 18px,#927c4920 18px 19px)}.nauticalMap .worldMapGrid span.active{color:#f7ebc5;background-color:#48788788;border:2px solid #446b77;box-shadow:inset 0 0 9px #244c5a55}@media(max-width:600px){.map.nauticalMap{right:15px;top:70px;transform:scale(.85);transform-origin:top right}#worldMapPanel{right:0;top:190px;width:230px}}
@media(min-width:601px){.map.nauticalMap{right:132px}}
.topNav .equipmentTabs{position:static;display:flex;flex-direction:row;gap:2px;width:auto;height:38px;padding:0;background:transparent;border:0;box-shadow:none;backdrop-filter:none}.topNav .equipmentTabs button{min-height:36px;min-width:64px;padding:3px 6px;font:9px Georgia;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:1px solid #8c7446}.topNav .equipmentTabs button span{font-size:16px;line-height:17px;margin:0}.topNav .equipmentTabs button svg{width:17px;height:17px}.equipment .repairTool{position:fixed;right:18px;top:310px;width:76px;min-height:62px}.battleDock #dockRepair[hidden]{display:none}.equipment.topOpened #equipmentPanel{position:fixed;left:50%;right:auto;top:59px;bottom:auto;transform:translateX(-50%);max-height:calc(100dvh - 255px);width:350px;z-index:12}.equipment.topOpened.compactSelector #equipmentPanel{width:235px}.equipment.topOpened{z-index:12}.equipment.topOpened #equipmentPanel .equipmentHead h2{font-size:19px}@media(max-width:650px){.topNav .equipmentTabs button{min-width:44px;padding:2px;font-size:7px}.equipment .repairTool{right:12px;width:58px}.equipment.topOpened #equipmentPanel{max-width:calc(100vw - 20px)}}
#openShipWindow{height:37px;padding:1px 12px;display:flex;flex-direction:column;align-items:center;color:#dbc481;background:linear-gradient(#393226,#191b17);border:1px solid #8c7446;font:20px Georgia}#openShipWindow small{font:9px Georgia}#shipWindow{width:min(960px,96vw);max-height:90dvh;padding:0;color:#e5d5b1;background:linear-gradient(115deg,#171e1bef,#071519f5);border:5px ridge #b39555;box-shadow:0 0 0 2px #20180e,0 12px 60px #000c;font:12px Georgia}#shipWindow::backdrop{background:#00101955}.shipWindowHead{display:flex;justify-content:space-between;align-items:center;background:linear-gradient(#3f1711,#1b0d09);border-bottom:3px double #9e854c;padding:5px 8px}.shipWindowHead nav{display:flex;gap:3px;margin:auto}.shipWindowHead button{padding:5px 10px;background:#121813;color:#d7c8a9;border:1px solid #827047;font:12px Georgia}.shipWindowHead button.active{background:linear-gradient(#79623d,#302b1d);color:#fff1c4}#shipCapacityStrip{text-align:center;padding:8px;background:#351c15bb;border-bottom:3px double #948250;white-space:pre-wrap;color:#d6c9a6}.shipWindowBody{display:grid;grid-template-columns:170px minmax(0,1fr) 210px;gap:6px;padding:8px;min-height:410px}.shipPortrait{position:relative;min-height:380px;display:flex;flex-direction:column;justify-content:space-between;align-items:center;padding:10px;border:2px ridge #947543;background:radial-gradient(ellipse at 30% 20%,#e7c78466,transparent 55%),linear-gradient(155deg,#647c74,#283b35 55%,#49351c);box-shadow:inset 0 0 30px #0009}.shipPortrait svg{width:100%;height:280px;filter:drop-shadow(2px 5px 4px #0008)}#shipCaptain{align-self:stretch;text-align:center;padding:4px;background:#111a17a8;font-size:13px}.shipPortrait b{text-align:center;font-size:15px;color:#e8d6a6}.shipCategory{display:flex;align-items:center;gap:6px;padding:7px 0;color:#cdbb90}.shipCategory select{flex:1;min-width:0;background:#0b1413;color:#e0d1ad;border:1px solid #927d4c;padding:6px}.shipCategory input{width:43px;background:#0b1413;color:#e0d1ad;border:1px solid #927d4c;padding:5px}.shipInventoryColumns{display:grid;grid-template-columns:1fr 1fr;gap:6px;min-height:300px}.shipInventoryColumns>section{padding:5px;border:1px solid #99824d;background:#030b0db3;display:flex;flex-direction:column}.shipInventoryColumns h3{margin:0 0 8px;padding:5px;border-bottom:1px solid #847246;text-align:center;font:12px Georgia;color:#ddd0af}.shipItemGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;align-content:start;flex:1;max-height:330px;overflow:auto}.shipItem{position:relative;min-width:0;height:85px;padding:4px 2px 15px;background:linear-gradient(#43514b,#111918);border:2px ridge #8d7b50;color:#e5d2a4;display:flex;flex-direction:column;align-items:center;gap:3px}.shipItem svg{width:45px;height:34px}.shipItem small{font:8px/10px Georgia;text-align:center}.shipItem b{position:absolute;bottom:1px;left:0;right:0;font:bold 11px Georgia;background:#101410bd}.shipItem:hover{border-color:#f0cf7d}.shipItem:disabled{opacity:.45}.shipEmpty{grid-column:1/-1;color:#9e9f88;font:11px/1.6 Georgia}.shipValuePanel{border:3px ridge #ac915b;padding:10px;background:linear-gradient(115deg,#89713c44,#071317 60%);display:flex;flex-direction:column}.shipValuePanel h3{margin:2px 0 12px;text-align:center;font:14px Georgia;color:#e4ca8e}.shipValuePanel dl,#shipOverviewStats{margin:0;display:grid;grid-template-columns:1fr auto;gap:0}.shipValuePanel dt,.shipValuePanel dd{padding:15px 0;border-bottom:1px solid #83734066;margin:0;font-size:11px}.shipValuePanel dt{color:#c59b4b}.shipValuePanel dd{text-align:right;color:#e5dcc2}#shipWindowMarket,#shipClearEquipment,#shipCustomizeLink{margin-top:auto;padding:8px 5px;border:2px ridge #ad8c4f;color:#f4deb0;background:linear-gradient(#315374,#172a3d);font:12px Georgia}#shipClearEquipment{margin-top:10px;background:linear-gradient(#6f3029,#361410);width:100%}#shipEquipHint{color:#baad8c;font:10px/1.6 Georgia;margin:8px 0}#shipOverview{padding:16px}#shipOverview h2{font:24px Georgia;color:#dfc38b}#shipOverviewStats{gap:15px}#shipOverviewStats dd{margin:0;text-align:right}#shipOverview p{line-height:1.7;color:#aca890}#shipCustomize[hidden],#shipOverview[hidden],#shipEquippedColumn[hidden]{display:none}#shipWindow:has([data-ship-view="storage"].active) .shipInventoryColumns{grid-template-columns:1fr}@media(max-width:760px){.shipWindowBody{grid-template-columns:minmax(0,1fr) 170px}.shipPortrait{display:none}.shipItemGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.shipWindowHead button{font-size:10px;padding:5px}.shipValuePanel{padding:6px}.shipCategory{flex-wrap:wrap}}@media(max-width:460px){.shipWindowBody{grid-template-columns:1fr}.shipValuePanel dl{grid-template-columns:1fr 1fr}.shipValuePanel dt,.shipValuePanel dd{padding:6px}.shipValuePanel{min-height:220px}}
.designPreview{display:block;width:100%;height:145px;object-fit:contain;background:radial-gradient(ellipse at 50% 65%,#34504b99,#0a171a22 70%);margin:3px 0 7px}.equipment.designGallery #equipmentPanel{position:fixed;left:50%;right:auto;top:74px;bottom:auto;transform:translateX(-50%);width:min(1000px,94vw);max-height:calc(100dvh - 100px);padding:16px}.designGallery #shipCards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.designGallery .shipcard{min-width:0;padding:12px;background:linear-gradient(#26332be8,#101a18);border:1px solid #7e7048}.designGallery .shipcard.selected{border:2px solid #d7b764;background:linear-gradient(#3c442c,#15231a)}.designGallery .shipcard h3{font-size:22px;margin:5px 0}.designGallery .shipcard p{min-height:34px;font-size:10px;line-height:1.5;color:#bcbca8}.designGallery .shipcard dl{display:grid;grid-template-columns:1fr auto;gap:8px;margin:14px 0;font-size:11px}.designGallery .shipcard dd{margin:0;text-align:right;color:#e6cf9b}.designGallery .shipcard button{width:100%;padding:9px 4px;font-size:10px}.designGallery .equipmentHead h2{font-size:23px}@media(max-width:800px){.designGallery #shipCards{grid-template-columns:repeat(2,minmax(0,1fr))}.designPreview{height:130px}}@media(max-width:440px){.designGallery #shipCards{grid-template-columns:1fr}}
#marketDialog.marketWindow{width:min(940px,95vw);padding:0;border:4px ridge #b39555;background:linear-gradient(120deg,#20271cef,#071419f7);max-height:90dvh;overflow:auto}#marketDialog .marketTitle{padding:8px 14px;background:linear-gradient(#411a13,#1a0b08);border-bottom:3px double #9d814b;margin:0}#marketDialog .marketTitle h2{font:20px Georgia;margin:0}#marketSections{display:flex;justify-content:center;gap:3px;padding:7px;border-bottom:1px solid #8b7044;background:#231914}#marketSections button{min-width:130px;padding:7px 18px;background:#111b18;border:1px solid #9a8351;color:#d7c6a0;font:13px Georgia}#marketSections button[aria-selected=true]{background:linear-gradient(#8c7448,#40341f);color:#ffedc1;box-shadow:inset 0 0 4px #d9c490}#marketSectionNote{margin:10px 14px;font:11px/1.6 Georgia;color:#c8ba94}.marketShopLayout{display:grid;grid-template-columns:160px minmax(0,1fr);gap:12px;padding:0 14px 14px}.marketShopLayout:has(#marketCategories[hidden]){grid-template-columns:1fr}#marketCategories{display:flex;flex-direction:column;align-items:stretch;gap:5px;padding:8px;background:#09120f99;border:1px solid #846e40;justify-content:flex-start;margin:0}#marketCategories[hidden]{display:none}#marketCategories button{padding:10px 8px;text-align:left;font:12px Georgia}#marketProducts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-height:58dvh;overflow:auto;align-content:start}.marketWindow .productRow{display:flex;flex-direction:column;align-items:stretch;text-align:center;padding:10px;gap:8px;background:linear-gradient(#263328,#0e1916);border:1px solid #816f43;min-width:0}.marketWindow .productArt{width:100%;height:100px;background:radial-gradient(#65705666,#15201b00);display:grid;place-items:center;font-size:53px;border:0}.marketWindow .productArt svg{width:94px;height:80px}.marketWindow .productRow b{font:14px Georgia;color:#ead5a6}.marketWindow .productRow small{font:10px/1.6 Georgia;min-height:34px;margin-top:5px;display:block;color:#b2b5a1}.marketWindow .productRow>button{margin-top:auto;padding:8px 5px;background:linear-gradient(#325571,#132b3a);border:2px ridge #b3965f;font:11px Georgia}.marketWindow .economyNote{grid-column:1/-1;margin:4px 0;font-size:9px}.marketWindow .marketBalance{padding:9px 14px;background:#251b10;border-top:2px ridge #8a7544;font:12px Georgia;text-align:right}@media(max-width:720px){#marketProducts{grid-template-columns:repeat(2,minmax(0,1fr))}.marketShopLayout{grid-template-columns:110px 1fr;padding:0 8px 8px;gap:7px}#marketSections button{min-width:85px;padding:7px 12px}}@media(max-width:430px){#marketProducts{grid-template-columns:1fr}.marketShopLayout{grid-template-columns:90px 1fr}.marketWindow .productArt{height:65px}.marketWindow .productArt svg{height:58px}}
.extraUse{display:flex;align-items:center;gap:10px;width:100%;margin:6px 0;padding:9px;background:linear-gradient(#28382c,#111d18);border:1px solid #8f7b4c;text-align:left}.extraIcon{font:31px Georgia;color:#e7c986;min-width:38px;text-align:center}.extraUse b{font:13px Georgia;color:#e9d3a2;display:block}.extraUse small{display:block;font:10px/1.6 Georgia;color:#b5baa7}.extraUse em{font:10px Georgia;color:#d6b66e;display:block;margin-top:5px;font-style:normal}.extraUse.active{border-color:#b1d076;background:linear-gradient(#394e2c,#172818)}.extraUse:disabled{opacity:.7;cursor:default}#activeExtras{display:flex;gap:6px;margin-top:5px;flex-wrap:wrap}#activeExtras[hidden]{display:none}#activeExtras span{font:9px Georgia;color:#e4ce8f;padding:3px 5px;border:1px solid #796e40;background:#293524}.marketWindow[data-section="Öğeler"] .productArt{color:#d7bc77}
.extraBuyQuantity{font:11px Georgia;color:#c8bd9b;display:flex;align-items:center;justify-content:center;gap:8px}.extraBuyQuantity input{width:70px;background:#101b17;border:1px solid #8e7c4d;color:#ecdbb0;padding:5px}.topPurse{gap:5px}.marketWindow .marketBalance{flex-wrap:wrap;gap:10px}
.topNav.iconNavigation{gap:3px;align-items:flex-start}.iconNavigation .iconDrop{position:relative}.iconNavigation .iconDrop>summary{height:35px;width:49px;display:flex;align-items:center;justify-content:center;gap:5px;padding:0;border:1px solid #87703d;background:linear-gradient(#25291a,#10130d);color:#dfcc7f;list-style:none}.iconNavigation .iconDrop>summary::-webkit-details-marker{display:none}.iconNavigation .iconDrop>summary>span{font:25px/30px Georgia}.iconNavigation .iconDrop>summary small{font:8px Georgia;align-self:flex-end;margin-bottom:4px}.iconNavigation .iconDrop[open]>summary{background:radial-gradient(#9c8c45,#34371b);box-shadow:inset 0 0 7px #d1bd6d;color:#fff2b2}.iconNavigation .topDropList{position:absolute;left:0;right:auto;top:36px;width:49px;min-width:49px;padding:0;gap:0;border:1px solid #8a7542;background:#080d09f5;box-shadow:0 5px 9px #0008;z-index:20}.iconNavigation .topDropList button{position:relative;display:flex;align-items:center;justify-content:center;width:47px;height:35px;padding:0;background:#0c110b;border:0;border-bottom:1px solid #7a663855;color:#e1c875}.iconNavigation .topDropList button>span:first-child{font:23px Georgia}.iconNavigation .topDropList button>span:last-child{position:absolute;left:50px;top:0;min-width:160px;text-align:left;white-space:nowrap;background:#0b1009f5;border:1px solid #8a7542;padding:9px 12px;font:12px Georgia;color:#eddeb1;opacity:0;pointer-events:none}.iconNavigation .topDropList button:hover>span:last-child,.iconNavigation .topDropList button:focus-visible>span:last-child{opacity:1}.iconNavigation .topDropList button:hover{background:#413d21}.navInfoWindow{width:min(640px,94vw);padding:0;border:4px ridge #ad9254;background:linear-gradient(115deg,#273025f5,#081517f5);color:#e0d2af;box-shadow:0 10px 40px #000b}.navInfoWindow::backdrop{background:#00101555}.navWindowHead{display:flex;justify-content:space-between;align-items:center;padding:6px;background:linear-gradient(#441c14,#1c0b08);border-bottom:3px double #977b43}.navWindowHead nav{display:flex;gap:3px;margin:auto}.navWindowHead button{font:12px Georgia;padding:5px 12px;border:1px solid #8c7848;background:#101710;color:#d6c7a0}.navWindowHead button.active{background:linear-gradient(#826b3c,#352d1a);color:#fae7b0}.navInfoWindow>section,.navInfoWindow #captainInfoContent{padding:22px}.navInfoWindow>section[hidden]{display:none}.navInfoWindow h3{font:20px Georgia;margin:0 0 18px;color:#dfc28a}.navInfoWindow label{display:flex;align-items:center;gap:10px;padding:12px 0;font:13px Georgia;border-bottom:1px solid #76633d55}.navInfoWindow input{accent-color:#bd9d54}.navInfoWindow select{margin-left:auto;padding:6px 18px;border:1px solid #8a7548;background:#15221b;color:#dfd2af}.navInfoWindow dl{display:grid;grid-template-columns:1fr 1fr;gap:15px;font:13px Georgia;margin:0}.navInfoWindow dd{margin:0;text-align:right;color:#dbc28d}.settingsFooter{border-top:1px solid #7f704444;padding:9px 18px;color:#a5a78f;font:10px Georgia}.keyGuide{display:grid;grid-template-columns:1fr auto;gap:12px;font:12px Georgia}.keyGuide kbd{margin:0;color:#e3c98d;font:12px Georgia}.captainListRow{padding:12px;background:#17281e;border:1px solid #7f6e4255;font:12px Georgia}#shipSupports{padding:14px}#shipSupports[hidden]{display:none}#shipSupports p{color:#aaa88c;font:11px/1.7 Georgia}.shipSupportRow{display:block;width:100%;margin:8px 0;padding:12px;text-align:left;background:#1b2b1d;border:1px solid #8e7a44;font:12px/1.7 Georgia}.shipSupportRow[aria-pressed=true]{background:#3b4c26;border-color:#cfbb74}.shipStoredRecord{grid-column:1/-1;padding:10px;border:1px solid #8b754a;background:#18251d;color:#decaa0;font:12px Georgia}.nauticalMap[hidden]{display:none}@media(max-width:600px){.iconNavigation .iconDrop>summary{width:34px}.iconNavigation .iconDrop>summary>span{font-size:21px}.iconNavigation .topDropList{width:38px;min-width:38px}.iconNavigation .topDropList button{width:36px}.iconNavigation .topDropList button>span:last-child{left:39px;min-width:130px}.navWindowHead button{font-size:10px;padding:5px 7px}}
/* Shared market and equipment controls. */
#marketFleetTabs{display:flex;gap:5px;margin:0 14px 10px;border-bottom:1px solid #8b7044;padding-bottom:8px}#marketFleetTabs[hidden]{display:none}#marketFleetTabs button{min-width:115px;padding:7px 18px;background:#101b18;border:1px solid #8c7848;color:#d6c7a0;font:13px Georgia}#marketFleetTabs button[aria-pressed=true]{background:linear-gradient(#826b3c,#352d1a);color:#fae7b0}
.marketTools{display:flex;align-items:center;gap:10px;margin:0 14px 12px;padding:8px;background:#051316;border:1px solid #7e6b42}.marketSearch{display:flex;gap:8px;align-items:center;flex:1;font-size:22px;color:#cfb878}.marketSearch input{width:100%;min-width:0;border:0;background:transparent;padding:5px;color:#e9d8b6;font:12px Georgia}.marketSearch input:focus{outline:1px solid #a88c50}#marketResults{font:10px Georgia;color:#a7b7ac;white-space:nowrap}#marketToShip,#shipChangeDesign{background:linear-gradient(#315374,#172a3d);border:2px ridge #ad8c4f;color:#f4deb0;padding:7px 12px;font:11px Georgia}.marketWindow .productArt{height:132px}.productArt img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 5px 4px #0008)}.marketWindow .productRow[hidden],.shipItemGrid>[hidden],.marketNoResults[hidden]{display:none}.marketWindow .eliteProduct{border-color:#c6a75e;background:radial-gradient(ellipse at top,#7b613b55,transparent 75%),#111e1b}.marketWindow .currentShipProduct{box-shadow:inset 0 0 0 1px #9daa73}.marketNoResults,.designUnlock{grid-column:1/-1;text-align:center;padding:30px 18px;color:#baad8c;font:13px/1.8 Georgia}.designUnlock>span{display:block;font-size:58px;color:#d8ba72}.designUnlock h3{font:22px Georgia;color:#e5cca0}.designUnlock small{font:11px Georgia;color:#9eaa9c}
#shipPortraitPreview{width:100%;height:285px;object-fit:contain;filter:drop-shadow(0 6px 5px #0009)}#shipInventorySearch{box-sizing:border-box;width:100%;padding:7px 9px;margin:0 0 8px;color:#e3d2af;background:#071517;border:1px solid #897442;font:11px Georgia}#shipChangeDesign{display:block;margin-top:12px}.shipStoredRecord{display:flex;gap:12px;align-items:center}.storedIcon{display:grid;place-items:center;width:42px;height:40px;color:#d7bc6e;font-size:28px}.storedIcon svg{width:38px;height:38px}@media(max-width:600px){.marketTools{flex-wrap:wrap}.marketSearch{flex-basis:70%}#marketToShip{margin-left:auto}.marketWindow .productArt{height:105px}}

#marketDialog.marketWindow[open]{display:flex;flex-direction:column;height:min(760px,90dvh);overflow:hidden}#marketDialog .marketTitle,#marketSections,#marketFleetTabs,.marketTools,.marketBalance{flex-shrink:0}#marketDialog .marketShopLayout{min-height:0;flex:1;overflow:hidden}#marketDialog #marketProducts{max-height:none;min-height:0;overflow:auto}#marketDialog .productArt{height:105px}#marketDialog .marketBalance{margin-top:auto}.marketNoResults[hidden]{display:none}

#marketDialog[data-section="Market"] .productRow{padding:8px;gap:6px}#marketDialog[data-section="Market"] .productArt{height:92px}#marketDialog[data-section="Market"] .productRow small{min-height:16px}#marketDialog[data-section="Market"] .productRow>button{min-height:30px}

#marketDialog .productArt img{display:block;min-width:0;min-height:0;width:100%;height:92px;max-height:92px;object-fit:contain}

.productArt[role="button"]{cursor:zoom-in}.productArt[role="button"]:focus-visible{outline:2px solid #d7bb73;outline-offset:2px}#marketProductDetail{width:min(560px,92vw);max-height:88dvh;padding:0;color:#e5d5b1;background:linear-gradient(120deg,#24322a,#071419);border:4px ridge #b39555;box-shadow:0 10px 70px #000c;overflow:auto}#marketProductDetail::backdrop{background:#00101877;backdrop-filter:blur(3px)}#marketProductDetail .marketTitle{display:flex;align-items:center;justify-content:space-between;margin:0;padding:10px 15px;background:linear-gradient(#411a13,#1a0b08);border-bottom:3px double #9d814b}#marketProductDetail h2{font:21px Georgia;margin:0}#marketProductDetail button{padding:8px 14px;font:12px Georgia;border:1px solid #a08a54}#marketProductDetail .productDetailBody{padding:18px;text-align:center}#productDetailArt{height:240px;display:grid;place-items:center;background:radial-gradient(ellipse,#6d795055,transparent 70%);font:100px Georgia;color:#dfbd73}#productDetailArt img{width:100%;height:240px;object-fit:contain;filter:drop-shadow(0 8px 5px #0008)}#productDetailArt svg{width:180px;height:170px}#productDetailDescription{font:14px/1.7 Georgia;color:#e5d5b1}#productDetailNotice{font:11px/1.6 Georgia;color:#bbb69a}#marketProductDetail footer{display:flex;justify-content:space-between;gap:10px;padding:12px;background:#181e15;border-top:1px solid #7d7047}#detailBuy{background:linear-gradient(#355b74,#162f3f);color:#fae3b2}.designUnlock button{display:block;margin:18px auto 0;padding:8px 18px;font:12px Georgia}.productRow .productArt:hover{background:radial-gradient(#a5905055,transparent 75%)}

#marketProductDetail footer{position:static;inset:auto;transform:none;width:auto;height:auto;margin:0;box-sizing:border-box;box-shadow:none;flex-wrap:wrap}#marketProductDetail footer button{flex:1}

.shipItem .cannonPreview{display:block;width:100%;height:49px;object-fit:contain;filter:drop-shadow(0 3px 2px #0008)}.shipItem:has(.cannonPreview){height:94px}.shipItem:has(.cannonPreview) small{font-size:9px;line-height:11px}#productDetailArt .cannonPreview{max-width:100%;object-fit:contain}

.shipItem .itemPreview{display:block;width:100%;height:49px;object-fit:contain;filter:drop-shadow(0 3px 2px #0008)}.shipItem:has(.itemPreview){height:94px}.shipItem:has(.itemPreview) small{font-size:9px;line-height:11px}.ballIcon .itemPreview,.dockOrb .itemPreview,.equipmentTabs .itemPreview{width:100%;height:100%;object-fit:contain;display:block}.extraIcon{display:grid;place-items:center;width:56px;height:50px;flex-shrink:0}.extraIcon .itemPreview{width:56px;height:50px;object-fit:contain}.storedIcon .itemPreview{width:42px;height:40px;object-fit:contain}.shipSupportRow{display:flex;align-items:center;gap:10px}.supportThumb{flex:0 0 56px;height:50px;display:grid;place-items:center}.supportThumb .itemPreview{width:56px;height:50px;object-fit:contain}#activeExtras .itemPreview{width:26px;height:26px;object-fit:contain;vertical-align:middle}#productDetailArt .itemPreview{max-width:100%;object-fit:contain}.dockSlots .dockOrb:has(.itemPreview){background:radial-gradient(ellipse,#a28c4330,transparent 75%);border:0;box-shadow:none}

#fleetTravelNotice{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:10px 0;padding:10px;background:#142520;border:1px solid #b29657;color:#dfc992;font:12px/1.6 Georgia}#fleetTravelNotice span{flex:1;min-width:200px}#fleetTravelNotice button{font:11px Georgia;padding:8px 12px}.designGallery .shipcard .shipSwitchReason{font:10px/1.5 Georgia;color:#e0b883;min-height:0;padding:6px;background:#49301e55}.designGallery .shipcard:focus{outline:2px solid #d6bb75;outline-offset:2px}.designGallery .shipcard button:disabled{opacity:.65;cursor:default}

#fleetTravelNotice{position:sticky;top:0;z-index:3;background:#142520f5;box-shadow:0 4px 12px #0008}

#crewMarketTabs{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:0 14px 10px;padding:8px;background:#0d1c19;border:1px solid #867345}#crewMarketTabs[hidden]{display:none}#crewMarketTabs button{font:12px Georgia;padding:7px 12px}#crewMarketTabs button[aria-pressed=true]{background:linear-gradient(#897344,#3b321e)}#crewMarketTabs label{margin-left:auto;font:11px Georgia;color:#d9c8a0}#crewMarketTabs label[hidden]{display:none}#officerTerm{background:#0c1918;color:#e3cca0;border:1px solid #9b824c;padding:6px}.officerProduct .productArt{height:115px!important}#marketDialog .officerProduct .productArt img{height:110px;max-height:110px}.officerItem{height:165px!important;padding:4px 3px 30px}.officerItem .itemPreview{height:75px!important}.officerItem small{font:10px/1.3 Georgia!important}.officerItem>span{font:9px Georgia;color:#b8c7b5}.officerItem>b{font:9px/1.4 Georgia;padding:4px;white-space:normal}.officerSlot{grid-column:1/-1;display:grid;grid-template-columns:44px 1fr auto;gap:6px;padding:8px;border:1px solid #7f7045;background:#14251f}.officerSlot>strong{grid-column:1/-1;font:12px Georgia;color:#e0c48a}.officerSlot>span{font:10px/1.5 Georgia;color:#c5ceb8}.officerSlotIcon img{width:44px;height:56px;object-fit:contain}.officerSlot>button{align-self:center;padding:5px;font:10px Georgia}.shipValuePanel dt,.shipValuePanel dd{padding:10px 0}

#damageFeedback{position:fixed;inset:0;pointer-events:none;z-index:35;overflow:hidden}.floatingDamage{position:absolute;white-space:nowrap;text-align:center;will-change:transform,opacity;filter:drop-shadow(0 2px 2px #000);font-family:Georgia,serif;color:#ffe29b}.floatingDamage b{display:block;font-size:27px;font-weight:900;-webkit-text-stroke:.35px #3d2207;text-shadow:0 0 5px #000,1px 2px #000}.floatingDamage small{display:block;font:700 11px Arial;color:#ffe6be;text-shadow:0 1px 3px #000}.floatingDamage.incoming{color:#ff7773}.floatingDamage.healing{color:#78ffc3}.floatingDamage.powdered b{color:#ffb14b}.floatingDamage.incoming.powdered b{color:#ff7660}.floatingDamage.armored b::before{content:'⛨ ';font-size:18px;color:#9de3ff}.floatingDamage.powdered small{color:#ffc677}.floatingDamage.armored small{color:#b5e7ff}
#crewMarketTabs{flex-wrap:wrap}.shipMeasurements{overflow:auto;padding:12px;grid-column:2/4}.shipMeasurements table{width:100%;border-collapse:collapse;font-size:12px}.shipMeasurements th,.shipMeasurements td{padding:9px 6px;border-bottom:1px solid #645438;text-align:left}.shipMeasurements th{color:#dac08b}.shipMeasurements p{font-size:12px;line-height:1.7;color:#cbd4cf}.shipMeasurements label{display:flex;gap:12px;align-items:center}

#marketDialog:is([data-category="Toplar"],[data-category="Gülleler"],[data-category="Ekstralar"]) #marketProducts{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}#marketDialog:is([data-category="Toplar"],[data-category="Gülleler"],[data-category="Ekstralar"]) .productArt{height:66px}#marketDialog:is([data-category="Toplar"],[data-category="Gülleler"],[data-category="Ekstralar"]) .productArt img{height:60px;max-height:60px}#marketDialog:is([data-category="Toplar"],[data-category="Gülleler"],[data-category="Ekstralar"]) .productRow{padding:6px;gap:5px}.shipItem:has(.cannonPreview),.shipItem:has(.itemPreview):not(.officerItem){height:78px}.shipItem .cannonPreview,.shipItem:not(.officerItem) .itemPreview{height:36px}.extraIcon,.extraIcon .itemPreview{width:36px;height:34px}.supportThumb{flex-basis:36px;height:34px}.supportThumb .itemPreview{width:36px;height:34px}.shipSupportRow{padding:8px}.compactSelector #ammoChoices button{grid-template-columns:31px minmax(0,1fr) auto;min-height:39px;padding:3px 4px}.compactSelector #ammoChoices .ballIcon{width:28px;height:28px}.compactSelector #ammoChoices button>span:nth-child(2){font-size:11px}#officerRole{background:#0c1918;color:#e3cca0;border:1px solid #9b824c;padding:6px}#shipMeasurements[hidden]{display:none}@media(max-width:650px){#marketDialog:is([data-category="Toplar"],[data-category="Gülleler"],[data-category="Ekstralar"]) #marketProducts{grid-template-columns:repeat(2,minmax(0,1fr))}.shipMeasurements{grid-column:1/-1}.shipMeasurements table{font-size:10px}}

.shipValuePanel[hidden]{display:none}.shipMeasurements{min-width:0;max-height:540px}.floatingDamage[hidden]{display:none}

.harpoonArt .itemPreview{width:100%;height:100%;object-fit:contain}.compactSelector #harpoonChoices button{grid-template-rows:16px 14px 13px;min-height:52px}.compactSelector #harpoonChoices .harpoonArt{grid-row:1/4;width:34px;height:38px}.compactSelector #harpoonChoices .harpoonStock{grid-column:2;grid-row:3;font:9px Georgia;color:#dcc58f}#buyHarpoons{width:100%;padding:6px;margin-top:5px;font:11px Georgia}#marketDialog[data-category="Zıpkınlar"] #marketProducts{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}#marketDialog[data-category="Zıpkınlar"] .productArt{height:72px}#marketDialog[data-category="Zıpkınlar"] .productArt img{height:68px;max-height:68px}@media(max-width:650px){#marketDialog[data-category="Zıpkınlar"] #marketProducts{grid-template-columns:repeat(2,minmax(0,1fr))}}

.dockSlots #dockHarpoonIcon{display:grid;place-items:center;height:28px}.dockSlots #dockHarpoonIcon .itemPreview{display:block;width:30px;height:28px;object-fit:contain}

#ammoMarketTools{flex-shrink:0;margin:0 14px 9px;padding:8px;background:#0d1c19;border:1px solid #867345;font:12px Georgia;color:#d9c8a0}#ammoMarketTools[hidden]{display:none}#ammoMarketPack{margin-left:10px;background:#0c1918;color:#e3cca0;border:1px solid #9b824c;padding:5px 18px}

.compactSelector #ammoChoices{max-height:min(420px,calc(100dvh - 330px));overflow-y:auto;scrollbar-width:thin;scrollbar-color:#9b7f49 #171e1c}
.topDropList:has(.topEmpty){width:170px;min-width:170px}.topEmpty{margin:0;padding:13px 10px;font:11px Georgia;color:#b9ac84;text-align:center}.battleDock .dockSlots button>span:has(.actionIcon3d){display:grid;place-items:center;width:100%;height:35px}.battleDock .actionIcon3d{width:39px;height:39px;object-fit:contain;filter:drop-shadow(0 2px 2px #000b)}.battleDock #centerShip .actionIcon3d{width:38px;height:38px}.battleDock .dockSlots button{background:radial-gradient(ellipse at 50% 30%,#34404899,#111b1bbf 72%),linear-gradient(#382e1c,#101a1c);box-shadow:inset 0 1px #d7bc6a55,inset 0 -2px #000b,0 1px 2px #0009}.battleDock .dockSlots button:hover{background:radial-gradient(#74613b,#283129);box-shadow:inset 0 0 7px #d8bf6666,0 0 4px #9e884f77}.battleDock .dockSlots button:active{transform:translateY(1px);box-shadow:inset 0 2px 6px #000b}.islandOpen{position:absolute;right:0;top:186px;min-width:120px;padding:6px 9px;border:2px ridge #ad9459;background:linear-gradient(#3b443a,#182b2d);font:11px Georgia;color:#e0d2a8;white-space:nowrap}.islandWindow{width:min(790px,94vw);max-height:85vh;padding:0;background:linear-gradient(130deg,#1e302e,#0d1d24);color:#e5dbc0;border:4px ridge #b0985b;box-shadow:0 12px 50px #000b}.islandWindow::backdrop{background:#00151c55}.islandWindow>header{display:flex;align-items:center;justify-content:space-between;padding:12px 18px;border-bottom:1px solid #958154;background:linear-gradient(#472b22,#221d18)}.islandWindow h2{margin:0;font:21px Georgia}.islandWindow>header button{font-size:22px;padding:0 7px}.islandWindow>section{padding:12px 18px}.islandWindow p{font:12px/1.6 Georgia;margin:5px 0;color:#d7ccb0}.islandWindow .islandBonus{color:#b5d899}.islandWindow .islandHint{color:#a7b8b5;font-size:11px}.islandTowerRows{padding:0 12px 14px}.islandTowerRow{display:grid;grid-template-columns:72px minmax(130px,1fr) 235px;align-items:center;gap:12px;padding:9px 6px;border-top:1px solid #b39c5d44}.islandTowerRow>img{width:68px;height:80px;object-fit:contain}.islandTowerRow b{font:13px Georgia}.islandTowerRow small{display:block;font:10px/1.7 Arial;color:#aebfba}.islandTowerControls{display:grid;grid-template-columns:1fr 1fr;gap:5px}.islandTowerControls select{grid-column:1/-1;padding:5px;background:#14272b;color:#e1d5b8;border:1px solid #9e894e;font:11px Georgia}.islandTowerControls button{padding:6px;font:10px Georgia}.islandTowerHealth{height:7px;background:#102123;border:1px solid #998a55;margin:7px 0;overflow:hidden}.islandTowerHealth i{display:block;height:100%;background:linear-gradient(#9bd478,#39784a)}#minimap:focus-visible{outline:2px solid #edd78e;outline-offset:3px}@media(max-width:600px){.islandTowerRow{grid-template-columns:55px 1fr;gap:8px}.islandTowerRow>img{width:50px;height:65px}.islandTowerControls{grid-column:1/-1;grid-template-columns:1fr 1fr}.islandTowerControls select{grid-column:1/-1}.islandOpen{font-size:10px}}
.clanWindow{width:min(760px,94vw);max-height:87vh;padding:0;background:linear-gradient(130deg,#223130,#0d1c24);color:#e4dcc3;border:4px ridge #ae965b;box-shadow:0 12px 50px #000b}.clanWindow::backdrop{background:#00151c66}.clanWindow>header{display:flex;align-items:center;justify-content:space-between;padding:13px 20px;background:linear-gradient(#462b22,#221c18);border-bottom:1px solid #958354}.clanWindow h2{margin:0;font:22px Georgia}.clanWindow>header button{font-size:22px;padding:0 8px}.clanContent{padding:16px}.clanNotice{font:11px/1.7 Arial;color:#b5c5c0;margin:0 0 17px}.clanPanel{padding:16px;background:#182a2b;border:1px solid #7d754844;margin-bottom:14px}.clanPanel h3{margin:0 0 13px;font:16px Georgia;color:#dcc68e}.clanPanel p,.clanPanel small{font:11px/1.7 Arial;color:#aebfbb;display:block}.clanForm{display:grid;grid-template-columns:1fr 1fr;gap:10px 14px;align-items:end}.clanForm h3,.clanForm p,.clanForm small{grid-column:1/-1;margin:0}.clanForm label{display:grid;gap:6px;font:11px Arial;color:#bcc9bf}.clanForm input{padding:9px;background:#102123;color:#e6d9b7;border:1px solid #8e8050;font:13px Georgia;min-width:0}.clanForm button{padding:9px;font:12px Georgia}.clanStats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:16px}.clanStats>div{padding:13px;border:1px solid #aa915244;font:11px Arial;color:#afbfbb}.clanStats b{display:block;font:22px Georgia;color:#e9ce86;margin-top:8px}.clanListRow{display:flex;align-items:center;gap:8px;border-bottom:1px solid #ac945233;padding:11px 0}.clanListRow>div,.clanListRow>b{flex:1}.clanListRow b{font:13px Georgia}.clanListRow button{font:10px Georgia;padding:6px 8px}.clanLedgerRow{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:9px 0;border-bottom:1px solid #8b7b4e33;font:11px Arial}.clanLedgerRow b{text-align:right;color:#ddca95}.clanLedgerRow small{grid-column:1/-1;color:#8ea9aa;font-size:10px}@media(max-width:560px){.clanForm{grid-template-columns:1fr}.clanStats{gap:5px}.clanStats>div{padding:8px}.clanStats b{font-size:18px}.clanListRow{flex-wrap:wrap}.clanListRow>div{flex-basis:100%}}
.clanWindow>header,.islandWindow>header{position:sticky;inset:auto;top:0;height:auto;min-height:54px;pointer-events:auto;z-index:2;gap:12px}.clanWindow>header h2,.islandWindow>header h2{overflow-wrap:anywhere}.clanWindow>header button,.islandWindow>header button{flex:none}.clanWindow,.islandWindow{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#998350 #14272b}

.clanTabs{display:flex;gap:8px;margin:0 0 18px}.clanTabs button{padding:9px 15px}.clanTabs button[aria-pressed=true]{background:linear-gradient(#695733,#342d1f);border-color:#c4a964;color:#ffe3a0}.ledgerTotals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:14px 0 18px}.ledgerTotals>div{padding:11px;background:#14272b;border:1px solid #8a774a66;font:11px Arial;color:#afc0ba}.ledgerTotals b{display:block;font:20px Georgia;color:#e6ce8f;margin-top:8px}.ledgerFilters{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:14px}.ledgerFilters label{display:grid;gap:6px;font:11px Arial;color:#bcc9bf}.ledgerFilters select{padding:8px;background:#102123;color:#e6d9b7;border:1px solid #8e8050}.ledgerTableWrap{overflow-x:auto;border:1px solid #8a774a66}.ledgerTable{width:100%;min-width:650px;border-collapse:collapse;font:11px/1.5 Arial}.ledgerTable th{text-align:left;padding:10px 8px;background:#203431;color:#d8c593;white-space:nowrap}.ledgerTable td{padding:11px 8px;border-top:1px solid #8a774a44;vertical-align:top;color:#bfcfc7}.ledgerTable td:first-child{width:118px}.ledgerTable td:nth-last-child(-n+2){white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums}.ledgerTable td small{display:block;color:#93aaa4;font-size:10px;margin-top:4px}.ledgerTable td.ledgerIncome{color:#a9d9a3}.ledgerTable td.ledgerExpense{color:#e7a18e}.ledgerPaging{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:14px;font:11px Arial}.ledgerPaging button{padding:8px}.ledgerNote{color:#d7ba80!important;font-size:11px!important}@media(max-width:560px){.ledgerTotals{grid-template-columns:repeat(2,minmax(0,1fr))}.ledgerPaging{flex-wrap:wrap}.ledgerTotals b{font-size:18px}.clanTabs button{flex:1;padding:9px 8px}}

#conquestAnnouncement{position:fixed;top:72px;left:50%;transform:translateX(-50%);z-index:28;width:max-content;max-width:calc(100vw - 32px);padding:13px 24px;border:2px ridge #d6b566;background:linear-gradient(#263c40f5,#12292df5);box-shadow:0 4px 24px #0009;color:#ffe3a2;font:bold 17px Georgia;text-align:center;pointer-events:none}#conquestAnnouncement[hidden]{display:none}.nauticalMap .worldMapGrid span{gap:3px;align-content:center}.nauticalMap .worldMapGrid small{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:8px Arial}.islandOpen{white-space:normal;line-height:1.5}

.accountTool{position:fixed;right:18px;bottom:18px;z-index:12;padding:7px 12px;font:11px Georgia}.accountWindow{width:min(430px,90vw);max-height:90vh;overflow:auto;background:#152a2d;color:#e7d9b7;border:3px ridge #ad9459;padding:24px}.accountWindow::backdrop{background:#00151c99}.accountWindow p{font:13px/1.6 Georgia}.accountWindow form,.accountWindow label{display:grid;gap:8px}.accountWindow form{gap:15px;margin:18px 0}.accountWindow input{padding:10px;background:#102123;color:#ead9ae;border:1px solid #9e894e}.accountWindow button{padding:9px;margin:5px}.welcome #loginPassword{margin-bottom:12px}.welcome #accountMode{display:block;width:100%;margin-top:10px;padding:8px;font-size:12px}.welcome{max-height:95vh;overflow:auto}

#welcome{z-index:100;background:#00151c88;padding:16px;overflow:auto}.welcome{width:min(430px,94vw);padding:25px 30px;max-height:94dvh}.welcome h1{font-size:48px;line-height:1.1;margin:12px 0}.welcome>p{font-size:18px;margin:12px 0}.welcome label{margin-top:12px}.welcome input{padding:11px}.welcome .primary{margin-top:6px;padding:13px}.welcome small{display:block;margin-top:14px;font-size:10px;line-height:1.6}.welcome .error{font-size:12px;line-height:1.5}

.currencyIcon,.currencyValue::before,.productRow[data-currency]>button::before{display:inline-block;width:27px;height:27px;background:var(--currency-gold) center/contain no-repeat;vertical-align:middle;flex-shrink:0}.currency-rubies,.currency-rubies::before,.productRow[data-currency=rubies]>button::before{background-image:var(--currency-rubies)}.currency-gold{background-image:var(--currency-gold)}.currencyValue::before,.productRow[data-currency]>button::before{content:"";margin-right:5px}.topPurse{align-items:center;gap:5px}.topPurse .currencyIcon{width:25px;height:25px}.marketBalance{display:flex;align-items:center;gap:14px}.floatingDamage.poisoned{color:#a4ed59;text-shadow:0 0 8px #407f13}.ammoBar [hidden]{display:none!important}

.marketBalance{justify-content:space-between}.walletValue{display:inline-flex;align-items:center;gap:6px}
.productRow>button{white-space:normal;min-width:0;max-width:100%;font-size:10px;line-height:1.4;padding:8px 5px}

.repairDock{position:static!important}.repairDock svg{width:30px;height:30px}.repairDock #repairLabel{font:9px Georgia!important;display:block!important;height:auto!important}.teleportMaps{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:18px 0}.extraUse em{white-space:normal}.extraUse .extraIcon img{max-width:52px}
.battleDock .dockSlots{grid-template-columns:repeat(8,minmax(0,1fr))}.equipmentPanel:has(#pane-extras:not([hidden])),.equipmentPanel:has(#pane-buffs:not([hidden])){max-height:calc(100dvh - 350px)}
.floatingMenu .equipmentPanel:has(#pane-extras:not([hidden])),.floatingMenu .equipmentPanel:has(#pane-buffs:not([hidden])){bottom:215px}

/* Active effects sit below the currency display. */
#activeExtras{position:fixed;top:54px;left:12px;z-index:7;margin:0;max-width:min(320px,calc(100vw - 24px));gap:5px;align-items:center;pointer-events:none}#activeExtras>span{display:inline-flex;align-items:center;gap:3px;pointer-events:auto;box-shadow:0 2px 5px #0007}

#activeExtras>span{position:relative;padding:0;border:0;background:transparent;box-shadow:none;cursor:help}#activeExtras .itemPreview{width:36px;height:36px;filter:drop-shadow(0 2px 2px #0009)}#activeExtras>span::after{content:attr(data-details);position:absolute;left:0;top:100%;padding:6px 8px;background:#0a1a22ed;color:#f3dfae;border:1px solid #aa905b;font:11px/1.5 Georgia;white-space:normal;width:max-content;max-width:230px;display:none;pointer-events:none}#activeExtras>span:hover::after,#activeExtras>span:focus-visible::after{display:block}

#activeExtras .effectCount{position:absolute;bottom:-2px;right:-4px;font:bold 9px/12px Arial;color:#fff4c7;text-shadow:1px 1px 2px #000,-1px -1px 2px #000;pointer-events:none}#activeExtras>span::after{z-index:2}
.battleDock .dockSlots button>.weaponReload{position:absolute;top:0;left:50%;transform:translateX(-50%);width:42px;height:42px;pointer-events:none;display:block;font-size:7px;line-height:1}.weaponReload svg{display:block;width:42px;height:42px;transform:rotate(-90deg)}.weaponReload circle{fill:none;stroke-width:2.5}.weaponReload .reloadTrack{stroke:#101a20b0}.weaponReload .reloadArc{stroke:#e6bb64;stroke-dasharray:119.3805;stroke-linecap:round}.weaponReload.ready .reloadArc{stroke:#8dcc83}.battleDock .dockSlots .weaponReload .reloadState{position:absolute;top:29px;left:0;right:0;text-align:center;font:bold 7px/9px Arial;color:#ffe3a0;text-shadow:0 1px 2px #000;background:#091b20c9;white-space:nowrap}.weaponReload.ready .reloadState{color:#bdebae}.weaponReload[hidden]{display:none!important}

/* Müzayede salonu */
#logoutCountdown,#teleportCountdown{position:fixed;top:62px;left:50%;transform:translateX(-50%);z-index:20;font:bold 22px Georgia;color:#ffdf92;text-shadow:0 2px 4px #000;pointer-events:none}.extraIcon{position:relative}.extraCooldownRing{position:absolute;inset:-3px;border-radius:50%;background:conic-gradient(#d3b168 var(--progress),#14242ccc 0);mask:none;display:grid;place-items:center;color:white;font:bold 10px Arial;text-shadow:0 1px 3px black;opacity:.82}.extraCooldownRing:empty{display:none}.clanStats .currencyValue{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:14px}.clanStats .currencyValue::before{position:static;width:34px;height:34px;flex:0 0 34px}.clanStats .currencyValue b{margin-left:auto;font-size:20px}#auctionSalon{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:0 14px 14px;scrollbar-color:#b39555 #102128;scrollbar-width:auto}.auctionHeading{display:flex;justify-content:space-between;align-items:center;gap:12px}.auctionHeading h3{font:23px Georgia;color:#e4ca8c;margin:8px 0}.auctionClock{font:15px Georgia;color:#f4d279}.auctionRules{padding:12px;border:1px solid #9a7949;background:#34271d;color:#e6cf9f;font:12px/1.6 Georgia}.auctionStatus{font:11px Georgia;color:#b9c7c0}.auctionLots{display:grid;gap:8px}.auctionLot{display:grid;grid-template-columns:74px minmax(150px,1fr) 178px;gap:14px;align-items:center;border:1px solid #897343;background:linear-gradient(100deg,#2b251e,#102128);padding:12px}.auctionArt img{width:72px;height:72px;object-fit:contain;filter:drop-shadow(0 4px 3px #0008)}.auctionLot h4{font:16px Georgia;color:#ead5a4;margin:0 0 5px}.auctionLot p{font:11px/1.5 Georgia;margin:3px 0;color:#c4c6b3}.auctionLot .auctionLeader{color:#f0cf82}.auctionLot .auctionLock{color:#e5aa7d}.auctionLot form{display:grid;gap:6px}.auctionLot label{font:10px Georgia;color:#d6bc85}.auctionLot input{box-sizing:border-box;width:100%;padding:7px;margin-top:4px;border:1px solid #aa9253;background:#0c1b21;color:#f2dfad;font:14px Georgia}.auctionLot button{padding:8px;font:12px Georgia;background:linear-gradient(#7b5930,#33271d)}.auctionLot form small{font:9px Georgia;color:#c8b18a}.auctionResults{margin-top:18px;border-top:1px solid #8e784e;padding-top:8px}.auctionResults h4{font:16px Georgia;color:#dccc9d}.auctionResults p{font:11px Georgia;color:#bbc4bc}.marketShopLayout[hidden],#auctionSalon[hidden],.marketTools[hidden]{display:none!important}#marketSections{flex-wrap:wrap}@media(max-width:620px){.auctionHeading{align-items:flex-start;flex-direction:column;gap:0}.auctionLot{grid-template-columns:52px minmax(0,1fr);gap:8px;padding:9px}.auctionArt img{width:50px;height:50px}.auctionLot form{grid-column:1/-1;grid-template-columns:1fr auto;align-items:end}.auctionLot form small{grid-column:1/-1}.auctionRules{font-size:11px}}

.worldMapGrid .mapClosed{opacity:.45;filter:grayscale(1);position:relative}.worldMapGrid .mapClosed::after{content:"Kapalı";display:block;font:9px Georgia;color:#f6b98c}.teleportMaps button:disabled{opacity:.4}

/* Named cosmetic collection, independent of ship statistics. */
.skinCollection{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;grid-column:1/-1}.skinCard{padding:12px;border:1px solid #806d41;background:linear-gradient(145deg,#142930,#09181e);display:flex;flex-direction:column;gap:8px;min-width:0}.skinCard.selected{border-color:#eed080;box-shadow:inset 0 0 0 1px #eed080}.skinCard img{width:100%;height:190px;object-fit:contain;background:radial-gradient(ellipse,#27444b,#09181e 75%)}.skinCard h3{margin:0;color:#e9ce91;font:18px Georgia}.skinCard p{margin:0;color:#c0c6bc;font:12px/1.5 Georgia}.skinCard small{color:#a9b5ad;font:11px/1.5 Georgia}.skinCard button{margin-top:auto;padding:9px;color:#f5dc9d;background:linear-gradient(#4a665a,#1e352d);border:1px solid #b69957}.skinCard a{color:#d2bd85;text-align:center;font:12px Georgia}.skinCard button:disabled{opacity:.6}#shipDesigns[hidden]{display:none!important}#shipDesigns{grid-column:2/-1;min-width:0}#shipDesigns>.skinCollection{max-height:57dvh;overflow:auto;padding:3px 9px 8px 0;scrollbar-color:#af9252 #0c1b20}.shipWindowHead nav{flex-wrap:wrap}#shipWindow.showSkinDesigns .shipPortrait{min-height:300px}#shipPortraitPreview{object-fit:contain;max-width:100%;height:270px}@media(max-width:760px){#shipDesigns{grid-column:1/-1}}

.keyGuide label{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:5px}.keyGuide button{min-width:110px}.keyGuide{max-height:55dvh;overflow:auto}

.extraCooldownRing{background:none;isolation:isolate}.extraCooldownRing::before{content:"";position:absolute;inset:0;border-radius:50%;background:conic-gradient(#e6c47c var(--progress),#14242cbb 0);mask:radial-gradient(transparent 58%,#000 61%);z-index:-1}

.topPurse{position:relative;padding-bottom:10px}.topPurse .topBattleScore{position:absolute;left:0;bottom:-3px;white-space:nowrap;color:#e4d4a7;font:10px Georgia}.topBattleScore b{color:#fff0c5}
.eventDrawer{position:fixed;left:0;top:24%;z-index:16;max-width:calc(100vw - 24px);pointer-events:auto}.eventToggle{border-radius:0 6px 6px 0;padding:9px 13px;background:linear-gradient(#49381f,#1b201b);border:1px solid #a98a49;color:#f4dda0;box-shadow:0 2px 8px #0008}.eventDrawer section{width:260px;max-width:calc(100vw - 24px);max-height:48vh;overflow-y:auto;background:#101c1ef2;border:1px solid #9e8248;padding:14px;box-shadow:4px 6px 18px #0006;color:#e8dfc8}.eventDrawer section[hidden]{display:none}.eventDrawer h2{font:20px Georgia;margin:0 0 12px}.eventDrawer h3{font:13px Georgia;color:#d6b66b;margin-top:20px}.eventDrawer p{font:12px/1.5 Georgia}.eventFeed p{border-top:1px solid #74633e66;padding-top:8px}

/* Raised world chart and clear ownership tags */
#worldMapPanel{width:340px;background:linear-gradient(135deg,#f2ddb0,#bb965f);border:3px ridge #d8b578;box-shadow:8px 10px 22px #0008,inset 0 0 20px #77562b44;border-radius:7px}.nauticalMap .worldMapGrid span{min-height:76px;opacity:1;color:#2c2114;background:linear-gradient(145deg,#faebc8,#c7a572);border:2px outset #e8cb91;box-shadow:3px 4px 5px #4d361d66,inset 0 1px 2px #fff8;text-shadow:0 1px #fff8;font-size:20px}.nauticalMap .worldMapGrid small{font:bold 10px Arial;color:#38220c;text-shadow:0 1px #fff9;opacity:1}.nauticalMap .worldMapGrid span.active{color:#fff3c8;background:linear-gradient(145deg,#447d85,#193d4c);box-shadow:0 0 7px #d4ac54}.nauticalMap .worldMapGrid span.active small{color:#fff1bf;text-shadow:0 1px #000}.worldMapGrid .mapClosed{opacity:1;filter:none}.iconNavigation .iconDrop summary{min-width:55px}.iconNavigation .iconDrop summary:after{content:attr(aria-label);font:10px Georgia;display:block}.rankingWindow{max-height:80vh;overflow:auto}.rankingRows p{padding:12px;border-bottom:1px solid #b49a5355}#shipExpansions{display:grid;grid-template-columns:1fr 1fr;gap:14px;overflow:auto;max-height:65vh}#shipExpansions[hidden]{display:none}#shipExpansions article{border:1px solid #a78a50;text-align:center;background:#13252b}#shipExpansions img{width:100%;height:130px;object-fit:contain}#islandAttackAlert,#sparkleNotice{position:fixed;top:105px;left:50%;transform:translateX(-50%);z-index:30;max-width:80vw;text-align:center;color:#ffe5a4;font:bold 16px Georgia;text-shadow:0 2px 3px #000,1px 0 #000;pointer-events:none}#sparkleNotice{top:150px;color:#cfffdf}#islandAttackAlert[hidden],#sparkleNotice[hidden]{display:none}

#marketDialog[data-section="Genişletmeler"] #marketProducts{grid-template-columns:repeat(2,minmax(0,1fr))}#marketDialog[data-section="Genişletmeler"] .productRow{min-height:240px}#marketDialog[data-section="Genişletmeler"] .productArt{height:100px}#health{max-width:100%}@media(max-width:600px){#worldMapPanel{width:280px}.iconNavigation .iconDrop summary{min-width:36px}.iconNavigation .iconDrop summary:after{font-size:8px}}
.iconNavigation .iconDrop>summary{width:62px;min-width:62px;flex-direction:column;gap:0;height:38px}.iconNavigation .iconDrop>summary>span{font:21px/23px Georgia}.iconNavigation .iconDrop>summary small{display:none}.iconNavigation .iconDrop>summary:after{font:10px/12px Georgia;white-space:nowrap}.iconNavigation .topDropList{top:39px}@media(max-width:600px){.iconNavigation .iconDrop>summary{width:38px;min-width:38px}.iconNavigation .iconDrop>summary:after{font-size:8px}}
.worldMapGrid .protectedWorldMap{background:linear-gradient(145deg,#426e58,#193d35);color:#e1ffe8;border-color:#82b897;box-shadow:inset 0 1px 3px #c4f5ce66,0 2px 5px #0005}.worldMapGrid .protectedWorldMap small{color:#dcffe4;font-weight:bold;opacity:1}
#worldMapPanel .worldMapGrid span.protectedWorldMap{background:linear-gradient(145deg,#426e58,#193d35);color:#e1ffe8;border-color:#82b897}

#minimap{width:160px;height:160px;transform:none;clip-path:none}.mapCoordinateDock input{width:31px;padding:3px 1px;text-align:center;background:#172d30;color:#ffe4aa;border:1px solid #ae945d;text-transform:uppercase}.mapCoordinateDock #coordinateGo{width:auto;padding:5px;font-size:11px}.battleDock{overflow:visible}#battleDockToggle{position:absolute;bottom:100%;left:50%;transform:translateX(-50%);border:1px solid #bca267;border-radius:8px 8px 0 0;background:linear-gradient(#624b2c,#202d29);color:#ffe7af;padding:6px 18px;white-space:nowrap}.battleDock.folded{padding:0!important;border:0!important;background:none!important;box-shadow:none!important;height:0!important;min-height:0!important}.battleDock.folded>:not(#battleDockToggle){display:none!important}#mapExits button{min-width:210px;min-height:48px;padding:10px 28px;font-size:16px}#marketDialog[data-section="Genişletmeler"] .productRow{height:auto;min-height:270px}#marketDialog[data-section="Genişletmeler"] .productRow p{margin:5px 0}
/* Saved equipment, world coordinates and waterline labels */
.battleDock .dockMeta,.battleDock #status{display:none!important}
#quickBars{position:fixed;z-index:21;bottom:153px;left:50%;transform:translateX(-50%);display:flex;flex-direction:column;gap:5px;max-width:calc(100vw - 12px)}
#quickBars[hidden]{display:none}.quickBar{display:flex;align-items:stretch;gap:4px;justify-content:flex-end;min-height:48px}.quickSlotList{display:flex;gap:3px;padding:4px;background:linear-gradient(#30281b,#0a171b);border:1px solid #ab8742;box-shadow:inset 0 0 0 2px #080c0c,0 2px 5px #0008;border-radius:3px}
.quickSlot{position:relative;width:46px;height:46px;padding:2px;background:#071216;border:1px solid #6b5b36;touch-action:manipulation}.quickSlot img,.quickSlot svg{width:100%;height:100%;object-fit:contain;pointer-events:none}.quickSlot kbd{position:absolute;right:2px;top:0;color:#e9d290;background:#141515aa;font-size:9px}.quickCount{position:absolute;bottom:0;left:0;right:0;text-align:center;color:white;text-shadow:0 1px 2px black;background:#0005;font-size:10px}.quickSlot.selected{border-color:#bce184;box-shadow:inset 0 0 8px #77b47966}.quickSlot.emptyStock img{opacity:.3}.quickFold,.quickLock{padding:3px;min-width:19px;background:linear-gradient(#48371c,#111714);border:1px solid #b79751;color:#eee0bb;border-radius:5px}.quickFold:disabled{opacity:.5}.quickLock{align-self:flex-start;font-size:13px}.quickBar.collapsed .quickSlotList{display:none}.quickPicker{max-width:680px;width:90vw;color:#ead8ae;background:#0c1d23;border:2px solid #a88c50}.quickPickerList{display:grid;grid-template-columns:repeat(auto-fill,minmax(90px,1fr));gap:6px;max-height:55vh;overflow:auto}.quickPickerList button{display:flex;flex-direction:column;align-items:center;font-size:11px}.quickPickerList img,.quickPickerList svg{height:54px;width:64px;object-fit:contain}.quickPickerList [hidden]{display:none}
#mapOverlays{position:fixed;inset:0;pointer-events:none;z-index:4;overflow:hidden}.coordinateTop span,.coordinateLeft span{position:absolute;top:0;left:0;color:#e5edf1;font:11px Arial;text-shadow:0 1px 3px #000}.coordinateTop span{margin-left:-7px}.captainName{position:absolute;left:0;top:0;color:#fff;font:bold 12px Arial;white-space:nowrap;text-shadow:0 1px 3px #000,1px 0 2px #000}.captainName[hidden],#mapOverlays[hidden]{display:none}
@media(max-width:650px){.quickSlot{width:calc((100vw - 76px)/10);height:38px}.quickSlotList{gap:1px;padding:2px}#quickBars{bottom:145px}.quickCount{font-size:8px}}
.quickSlot.emptyStock img{visibility:hidden}
.quickBar{display:grid;grid-template-columns:19px minmax(0,1fr) 24px;width:550px;max-width:calc(100vw - 12px)}.quickFold{grid-column:1}.quickSlotList{grid-column:2}.quickLock{grid-column:3}.quickBar.collapsed .quickLock{grid-column:3}.quickSlot{flex:1;min-width:0}

/* Temporary range control: remove this rule and #rangeToggle when retired. */
.temporaryRangeToggle{position:fixed;left:12px;top:76px;z-index:24;width:36px;height:36px;padding:0;font-size:25px;border:1px solid #b99a50;border-radius:50%;background:#152c30;color:#e9d393;cursor:pointer}.temporaryRangeToggle[aria-pressed="true"]{background:#57461d;box-shadow:0 0 7px #e8c56f}.temporaryRangeToggle[aria-pressed="false"]{color:#9ba7a8}

/* Movable web panels and quick bars. */
dialog h2,dialog h3,.marketTitle,.shipWindowHead,.equipment.floatingMenu h2{cursor:move;touch-action:none}
#quickBars{pointer-events:none}#quickBars button,#quickBars .quickSlotList{pointer-events:auto}#quickBars .collapsed .quickSlotList{pointer-events:none}.equipment.floatingMenu{z-index:40}.quickPositionTools{display:flex;gap:4px;pointer-events:auto;align-self:flex-start}.quickPositionTools button{width:25px;height:24px;padding:0;touch-action:none}#quickBars.vertical{width:auto;display:flex;flex-direction:row;align-items:flex-start}#quickBars.vertical .quickBar{display:flex;flex-direction:column}#quickBars.vertical .quickSlotList{display:grid;grid-template-columns:44px;max-height:75vh;overflow-y:auto}#quickBars.floating{position:fixed!important;bottom:auto!important;transform:none!important}#quickBars.floating .quickBar{width:auto}.equipment.floatingMenu #equipmentPanel{max-height:65vh} @media(min-width:951px){#shipWindow{width:min(900px,94vw)}#marketDialog{width:min(880px,94vw)}}

#quickBars.vertical .quickBar{width:56px;flex:none}#quickBars.vertical .quickSlotList{width:54px;box-sizing:border-box;grid-template-columns:44px;max-height:calc(100vh - 190px)}#quickBars.vertical .quickBar.collapsed .quickSlotList{display:none}#quickBars.vertical .quickSlot{flex:none;width:44px;height:44px}#quickBars.vertical .quickFold{width:54px}#quickBars.vertical .quickPositionTools{flex-direction:column}

#rangeToggle.temporaryRangeToggle{font-size:25px;padding:0}#rangeToggle.temporaryRangeToggle[aria-pressed="true"]{box-shadow:0 0 7px #e8c56f}.floatingMenu .equipmentPanel{z-index:40}

/* 25 October compact inventory and single treasury icons */
.clanStats .currencyValue{background-repeat:no-repeat!important;background-size:42px 42px!important;background-position:12px center!important;padding-left:64px!important;min-height:64px;box-sizing:border-box}.clanStats .currencyValue:before,.clanStats .currencyValue:after{display:none!important}
#pane-extras .extraUse,#pane-buffs .extraUse{min-height:48px;padding:6px;gap:8px}#pane-extras .extraIcon,#pane-buffs .extraIcon{width:36px;height:36px;flex:0 0 36px}#pane-extras .extraUse b,#pane-buffs .extraUse b{font-size:13px}#pane-extras .extraUse em,#pane-buffs .extraUse em{font-size:11px}.equipmentPanel:has(#pane-extras:not([hidden])),.equipmentPanel:has(#pane-buffs:not([hidden])){width:min(270px,calc(100vw - 24px))!important}
#respawnChoice{box-sizing:border-box;width:min(380px,calc(100vw - 24px));max-height:90dvh;padding:18px;background:linear-gradient(145deg,#183137,#0a1b20);border:1px solid #9a8357;border-radius:9px;color:#f0e2c6}
#respawnChoice .repairHeading{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
#respawnChoice h2{margin:0;font:23px Georgia,serif}
#closeRespawn{width:32px;height:32px;padding:0;background:transparent;border:0;color:#d4c7ab;font-size:23px;box-shadow:none}
.repairOptions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#respawnChoice .repairOptions button{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:6px;margin:0;padding:14px 5px;min-height:145px;background:#192f33;border:1px solid #8c7954;border-radius:6px;color:#f1e5cb}
#respawnChoice .repairOptions button:hover,#respawnChoice .repairOptions button:focus-visible{background:#263f42;border-color:#eac887}
.repairOptions svg{width:40px;height:40px;margin-bottom:4px}
.repairOptions strong{font:600 17px Georgia,serif}
.repairOptions small{font-size:12px;color:#bed0ca}
.repairPrice{display:flex;align-items:center;gap:4px;color:#f1b5be;font-size:12px}
.repairPrice .currencyIcon{width:14px;height:14px}
.topPurse #rubyMarket{display:inline-grid;place-items:center;pointer-events:auto;width:20px;height:20px;margin-left:1px;padding:0;border:1px solid #b49458;border-radius:50%;background:#302b23;color:#f3d99a;font:bold 16px/1 Arial;cursor:pointer}
.officerItem span{font-size:11px;line-height:1.4}.officerItem{min-height:140px}.actorHealth{display:block;width:70px;height:5px;background:#102126;border:1px solid #07151b;margin:3px auto 0}.actorHealth i{display:block;height:100%}.captainName.towerName .actorHealth{width:45px}.captainName{white-space:nowrap;text-align:center}.specialMapCard{padding:12px;border:1px solid #8b7546;margin:8px 0}.clanPermissions{display:flex;flex-wrap:wrap;gap:8px}.clanPermissions label{font-size:12px}

#worldMapPanel{max-height:calc(100dvh - 105px);overflow:auto}.nauticalMap .worldMapGrid span{min-height:54px;height:54px;font-size:17px}
/* Captain log, cauldron and compact special maps */
.captainExtrasWindow{width:min(560px,90vw);max-height:78vh;overflow:auto;background:#142b2b;color:#ecdcae;border:1px solid #b99748;padding:16px}.captainExtrasWindow .captainExtrasHead{display:flex;align-items:center;justify-content:space-between;gap:16px}.captainExtrasWindow h3{margin:0 0 12px}.captainExtrasWindow button{margin:4px;padding:8px 12px}.captainExtrasWindow select{padding:7px;background:#102222;color:#ecdcae;width:100%}.journalEntries{padding:0;list-style:none}.journalEntries li{padding:10px 0;border-bottom:1px solid #ab985c55}.journalEntries small{color:#afbdb9}.journalEntries p{margin:5px 0}.captainNavButton{width:58px;font-size:23px}.equipment.compactMaps .equipmentPanel{width:240px!important;max-width:90vw;max-height:65vh}.equipment.compactMaps .equipmentBody{padding:8px}.fermanCard{display:flex;flex-direction:column;width:100%;gap:4px;padding:10px!important;margin:5px 0!important;text-align:left}.fermanCard small{font-size:12px}#yavuzCountdown{position:fixed;top:90px;left:50%;transform:translateX(-50%);background:#103c28ed;color:#f4e5b8;padding:8px 14px;border:1px solid #b59c54;z-index:35;text-align:center}#yavuzCountdown button{display:block;margin:0 auto 6px}#yavuzCountdown[hidden]{display:none}
.topNav .captainNavButton{height:40px;min-height:40px;padding:2px 5px;display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:18px}.captainNavButton small{font:9px Georgia}.equipment.compactMaps .equipmentPanel{width:220px!important}.fermanCard{gap:2px;padding:6px!important;font-size:11px;line-height:14px}.fermanCard small{font-size:11px;line-height:13px}
.accountWindow form[hidden]{display:none}
#yavuzCountdown{top:62px;z-index:20;font:bold 22px Georgia;color:#ffdf92;text-shadow:0 2px 4px #000;pointer-events:none;background:none;border:0;padding:0}

#worldMapPanel.choosingDestination [data-world-map]:not(.mapClosed){cursor:pointer}
#worldMapPanel.choosingDestination [data-world-map]:is(:hover,:focus-visible):not(.mapClosed){outline:2px solid #fff1ae;outline-offset:-3px;filter:brightness(1.12)}

#gameSettingsWindow .settingsFooter{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.topNav #settingsLogout{background:linear-gradient(#853c34,#53221e);border-color:#c57a64;color:#fff1df;cursor:pointer}
#settingsLogout span{font:18px system-ui}

dialog.powderRoom{position:fixed;inset:0;box-sizing:border-box;width:100%;max-width:none;height:100%;height:100dvh;max-height:none;margin:0;padding:max(10px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));border:0;background:radial-gradient(ellipse at 38% 25%,#29403a,#152522 55%,#101915);color:#f1deac;overflow:auto}
dialog.powderRoom[open]{display:flex;flex-direction:column}
.powderRoom::backdrop{background:#101915}
.powderRoom .captainExtrasHead{border-bottom:1px solid #8c774c;padding:0 0 6px}
.powderRoom .captainExtrasHead h3{margin:0;color:#f4dfa8;font:small-caps bold clamp(22px,3vw,38px) Georgia,serif}
.powderLayout{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1.85fr) minmax(215px,1fr);gap:clamp(10px,2vw,32px);align-items:center;width:min(100%,1580px);margin:auto}
.powderForge{min-height:0;min-width:0}
.powderForge .cannonDeck{width:min(100%,max(240px,calc((100dvh - 210px)*1.5)));margin:4px auto 0;box-shadow:0 6px 24px #070f0c}
.forgeConsole{text-align:center;padding:8px;color:#f6e6bb}
.forgeStores,.forgePacks{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:4px 14px}
.forgeStores span{display:inline-flex;align-items:center;gap:6px}.forgeBall{width:14px;height:14px;border-radius:50%;background:radial-gradient(at 32% 24%,#ded9ba,#586360 42%,#192124 75%);box-shadow:0 0 0 1px #a58d5f}
.powderRoom button{border:1px solid #af925a;border-radius:4px;color:#ffe9b0;background:linear-gradient(#534530,#2d231b);font:600 14px Georgia,serif;box-shadow:inset 0 0 0 2px #31281c;cursor:pointer}
.powderRoom button:focus-visible{outline:2px solid #ffdf87;outline-offset:2px}.powderRoom button:disabled{cursor:default;filter:saturate(.55);color:#cfc4a6}
.powderRoom .forgeTrigger{padding:10px 34px;margin:7px;background:linear-gradient(#42694f,#203d32);border:2px ridge #d1ad65;letter-spacing:.03em}.forgeTrigger span{color:#edd08c}
.forgeConsole small{display:block}.forgePacks button{margin:2px}
.powderLedger{box-sizing:border-box;align-self:center;display:flex;flex-direction:column;max-height:92%;min-height:min(58vh,350px);padding:clamp(14px,2.5vw,42px);border:5px double #8b663d;border-left:9px ridge #78532e;color:#38291d;background:linear-gradient(92deg,#ae8958,#e2c99b 5%,#f0deb6 14%,#e3c895 95%,#c3a273);box-shadow:4px 5px 0 #695039,6px 7px 0 #31231b,0 12px 28px #050a0788}
.powderLedger header{text-align:center;border-bottom:1px solid #927447}.powderLedger header small{letter-spacing:.18em;font-size:10px}.powderLedger h4{margin:4px 0 0;font:italic bold clamp(22px,3vw,38px) Georgia,serif;color:#50331e}
.powderLedger ol{margin:0;padding:0;overflow-y:auto;list-style:none}.powderLedger li{padding:8px 0;border-bottom:1px dotted #9c7d52}.powderLedger p{margin:6px 0;line-height:1.45}.powderLedger [data-note]{font-style:italic}.ledgerFoot{margin-top:auto;padding-top:12px;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px}
@media(max-height:530px) and (orientation:landscape){.powderLayout{align-items:stretch;padding-top:6px}.powderForge{display:grid;grid-template-columns:minmax(90px,1.2fr) minmax(135px,1fr);align-items:center}.powderForge .cannonDeck{width:100%}.powderLedger{max-height:100%;min-height:0;align-self:stretch}.forgePacks{gap:2px}.forgeConsole{padding:4px}.powderRoom .forgeTrigger{padding:8px}.forgePacks button{padding:6px}.powderRoom .captainExtrasHead h3{font-size:20px}}
@media(max-width:590px) and (orientation:portrait){.powderLayout{display:block}.powderLedger{max-height:55vh;margin:10px 0}.powderForge .cannonDeck{width:min(100%,460px)}}
dialog.powderRoom{
 --gunmetal:#112329;--brass:#c9a268;--ivory:#ffedc5;
 background:radial-gradient(ellipse at 20% 0%,#31494b 0,transparent 53%),repeating-linear-gradient(93deg,#19262a 0,#19262a 76px,#172125 77px,#202b2d 80px);
 color:var(--ivory);
}
.powderRoom .captainExtrasHead{border-bottom:3px double #ad905f;padding-inline:clamp(6px,2vw,30px)}
.powderRoom .captainExtrasHead h3{color:#e7c898;text-shadow:0 2px 0 #17120d}
.powderForge{border:1px solid #8c714b;border-radius:5px;padding:5px;background:linear-gradient(100deg,#31241c,#51412e 46%,#292019);box-shadow:inset 0 0 0 2px #1d1814,0 8px 24px #10171a}
.powderForge .cannonDeck{position:relative;isolation:isolate;overflow:hidden;container-type:inline-size;width:min(100%,max(240px,calc((100dvh - 245px)*1.778)));aspect-ratio:16/9;background:#25434a url('/serpent-deck.jpg') center/cover no-repeat;border:1px solid #9d8258;border-radius:2px;margin:0 auto}
.cannonRig{position:absolute;left:9%;width:59%;bottom:9%;aspect-ratio:3/2}
.cannonRig:before{content:"";position:absolute;left:1%;bottom:-.5%;width:75%;height:11%;background:radial-gradient(ellipse,#160f0ae6,transparent 72%);transform:skewX(-20deg)}
.cannonRig img{width:100%;height:auto;display:block;position:relative;transform-origin:28% 89%}
.cannonMouth{position:absolute;left:94%;top:20%;width:0;height:0;pointer-events:none;transform:rotate(-16deg)}
.cannonMouth i{position:absolute;display:block;opacity:0;pointer-events:none}
.gunplate{position:absolute;bottom:2.5%;right:2%;padding:3px 8px;color:#f5deab;background:#202529e6;border:1px solid #9c8356;font:600 clamp(8px,1.4cqw,13px) Georgia,serif;letter-spacing:.08em}.gunplate b{color:#c39452}
.muzzleBlast{width:23cqw;height:12cqw;top:-6cqw;left:-1cqw;background:radial-gradient(ellipse at 20% 50%,#fffde1 6%,#fff3a7 24%,#ffb243 44%,#fa5913a6 58%,transparent 74%);clip-path:polygon(0 42%,30% 23%,52% 31%,70% 2%,67% 32%,100% 20%,77% 50%,96% 75%,63% 64%,74% 98%,39% 72%,16% 77%,0 57%);transform-origin:left center}
.shotBall{width:2.7cqw;height:2.7cqw;top:-1.35cqw;border-radius:50%;background:radial-gradient(at 28% 20%,#ffeab3,#6b5541 35%,#171c20 72%);box-shadow:-1cqw 0 1cqw #ffd47a}
.shotSmoke{left:0;top:-5cqw;width:22cqw;height:12cqw;transform-origin:left center;background:radial-gradient(ellipse at 25% 58%,#d6ccad 0,transparent 45%),radial-gradient(ellipse at 44% 35%,#aaa99a 0,transparent 48%),radial-gradient(ellipse at 65% 55%,#595957 0,transparent 43%);filter:blur(1px)}
.shotSparks{width:.5cqw;height:.5cqw;border-radius:50%;background:#fff1a1;box-shadow:4cqw -2cqw #ffd77a,8cqw 2cqw #ff9746,13cqw -.5cqw #ffca56,6cqw -3cqw #ffb441}
.firing .cannonRig img{animation:gunKick .65s ease-out}
.firing .muzzleBlast{animation:gunFlash .23s ease-out}
.firing .shotBall{animation:gunFlight .42s .04s linear}
.firing .shotSmoke{animation:gunSmoke 1.05s .06s ease-out}
.firing .shotSparks{animation:gunSparks .48s ease-out}
@keyframes gunKick{0%,100%{transform:none}12%{transform:translate(-5%,1.8%) rotate(-1deg)}45%{transform:translate(-2%,.6%)}}
@keyframes gunFlash{0%{opacity:0;transform:scale(.16)}18%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1.25,.65)}}
@keyframes gunFlight{0%{opacity:1;transform:translateX(0)}95%{opacity:1}100%{opacity:0;transform:translateX(20.3cqw) scale(.6)}}
@keyframes gunSmoke{0%{opacity:.05;transform:scale(.25)}20%{opacity:.85}100%{opacity:0;transform:translate(7cqw,-4cqw) scale(1.7)}}
@keyframes gunSparks{10%{opacity:1}100%{opacity:0;transform:translate(17cqw,-1cqw) scale(1.7)}}
.powderRoom .forgeConsole{background:linear-gradient(100deg,#16272b,#24393c,#14242a);border-top:2px ridge var(--brass)}
.powderRoom .forgeTrigger{background:linear-gradient(#d5aa65,#9a7038);color:#251c12;box-shadow:inset 0 0 0 2px #74542c,0 2px 4px #101716}
.powderRoom .forgeDrill{background:linear-gradient(#334950,#1a2d34);color:#ffe9bf}
.powderLedger{border-left-color:#633f27;box-shadow:inset 4px 0 8px #74552d44,3px 4px 0 #936d43,6px 7px 0 #34251e,0 10px 24px #09121588}
@media(max-height:530px) and (orientation:landscape){.powderForge .cannonDeck{width:100%}.forgeConsole{max-height:100%;overflow:auto}.powderRoom .forgeDrill{font-size:12px;padding:5px}.powderRoom .forgeTrigger{margin:3px}}
@media(prefers-reduced-motion:reduce){.firing .cannonRig img,.firing .cannonMouth i{animation:none}.firing .gunplate{border-color:#fff0ad;color:white}}
/* The drill is a private simulation. Its log and its controls share no live actions. */
.powderRoom [hidden],.practiceMode [data-results],.practiceMode [data-note],.practiceMode [data-older],.practiceMode [data-fire],.practiceMode [data-packs],.practiceMode [data-hint]{display:none!important}
.powderRoom.practiceMode .cannonDeck{background-image:url('/kraken-cauldron.jpg');background-size:cover;background-position:center}
.practiceMode .cannonRig{inset:0;width:100%;height:100%;aspect-ratio:auto}
.practiceMode .cannonRig img,.practiceMode .cannonRig::before,.practiceMode .gunplate{display:none}
.practiceMode .cannonMouth{left:21%;top:47%;transform:rotate(-32deg)}
.practiceMode .cannonRig::after{content:"";position:absolute;inset:0;background:url('/kraken-cauldron.jpg') center/cover;clip-path:polygon(0 60%,5% 57%,14% 41%,19% 40%,24% 48%,26% 55%,22% 60%,26% 67%,27% 76%,21% 83%,4% 94%,0 89%);pointer-events:none;z-index:-1}
.practiceMode .cannonRig{isolation:isolate}
.practiceMode .firing .cannonRig::after{animation:smallGunKick .48s ease-out}
@keyframes smallGunKick{12%{transform:translate(-.6%,.7%)}100%{transform:none}}
.impactFx{pointer-events:none;position:absolute;left:84%;top:25.4%;width:0;height:0}
.practiceMode .impactFx{left:52%;top:13%}
.impactFx i,.impactFx b{pointer-events:none;position:absolute;opacity:0;display:block;width:36cqw;height:36cqw;left:-18cqw;top:-18cqw;border-radius:50%}
.impactFx i{background:radial-gradient(circle,#474046 0%,#fff3c4 9%,#ffd27d 16%,#fff2b9ab 24%,#ee9e3888 38%,#d06a2966 50%,transparent 70%)}
.impactFx b{background:radial-gradient(ellipse at 42% 51%,#d0b49990,transparent 59%),radial-gradient(ellipse at 57% 42%,#b3b2aa88,transparent 55%)}
.firing .impactFx i{animation:deckImpact .76s .28s ease-out}
.firing .impactFx b{animation:deckCloud .85s .31s ease-out}
@keyframes deckImpact{0%{opacity:0;transform:scale(.12)}15%{opacity:1;transform:scale(.55)}55%{opacity:.85;transform:scale(1)}100%{opacity:0;transform:scale(1.32)}}
@keyframes deckCloud{10%{opacity:.75;transform:scale(.4)}100%{opacity:0;transform:translateY(-7%) scale(1.4)}}
.practiceMode .firing .shotBall{animation:drillFlight .34s linear}
@keyframes drillFlight{0%{opacity:1;transform:none}85%{opacity:1}100%{opacity:0;transform:translateX(36cqw) scale(2)}}
.powderRoom .shotCards{position:absolute;left:6%;right:6%;top:8%;bottom:8%;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-content:center;gap:1cqw;pointer-events:none}
.powderRoom .shotCards.single{display:flex;align-items:center;justify-content:center}
.shotCards>div{padding:1.2cqw .5cqw;min-width:0;text-align:center;display:grid;align-content:center;gap:.35cqw;min-height:8cqw;border:1px solid #c6a05f;border-radius:1cqw;color:#ffedc3;background:linear-gradient(145deg,#38281a,#151414 90%);box-shadow:0 3px 9px #0b0b0aab;font:600 clamp(9px,1.8cqw,15px) Georgia,serif;animation:cardDeal .22s ease-out}
.shotCards.single>div{width:30%;min-height:12cqw}.shotCards i{color:#ffd171;font:normal 3.5cqw Georgia}.shotCards small{font-size:.85em;color:#dfceaa}.shotCards div:nth-child(n+6){animation-duration:.34s}
@keyframes cardDeal{from{opacity:0;transform:translateY(6px) scale(.96)}to{opacity:1;transform:none}}
.drillBanner{background:linear-gradient(90deg,#96793e,#e5c67d,#a5864a);padding:4px;border:1px solid #655027;color:#221a13;font-weight:700;font-size:12px}
.drillConsole p{margin:4px}.drillConsole details{margin:4px 0}.drillConsole summary{cursor:pointer;color:#efd396}.drillConsole [data-table]{display:grid;grid-template-columns:repeat(auto-fit,minmax(95px,1fr));max-height:94px;overflow:auto;gap:3px;margin-top:4px}.drillConsole [data-table] span{font-size:12px;padding:3px;background:#16262a}
.practiceMode .forgeConsole{max-height:36dvh;overflow-y:auto}.practiceCaption{color:#68491c;letter-spacing:.12em;text-align:center;margin-top:5px}.powderLedger [data-practice]:empty::after{content:"İlk talim atışının sonucu burada görünecek.";font-style:italic;display:block;margin-top:8px}
@media(max-height:530px) and (orientation:landscape){.practiceMode .forgeConsole{max-height:100%}.practiceMode .powderForge{grid-template-columns:minmax(120px,1.5fr) minmax(128px,1fr)}}
@media(prefers-reduced-motion:reduce){.firing .impactFx i,.firing .impactFx b,.practiceMode .firing .cannonRig::after,.practiceMode .firing .shotBall,.shotCards>div{animation:none}}
.powderLedger header{position:static;display:block;height:auto;padding:0;background:transparent;box-shadow:none;border:0;border-bottom:1px solid #927447}
.powderRoom .powderLedger p{color:#47301e}.powderRoom .powderLedger li small{color:#62472a}
.practiceMode .forgeConsole .forgeStores{margin-bottom:4px}
@media(max-height:530px) and (orientation:landscape){.powderRoom .powderLedger{padding:9px 12px}.powderRoom .powderLedger header small,.powderRoom .powderLedger header span{display:none}.powderRoom .powderLedger header h4{font-size:22px;margin:0 0 3px}.powderRoom .shotCards>div{font-family:system-ui,sans-serif}}
/* Level exams stay inside the task drawer, including on compact screens. */
.eventHeading{display:flex;align-items:center;justify-content:space-between;gap:12px}.eventHeading h2{margin:0}.eventHeading button{flex:none}.levelExam button{width:100%;min-height:38px}.levelExam details p{margin:6px 0}.eventDrawer section{box-sizing:border-box;width:min(380px,calc(100vw - 24px));max-height:65vh}.eventDrawer nav{display:flex;gap:4px;margin-top:10px}
