/* BLACK PIRATE KINGDOM V18.4 — Easy Start and stable world layout */
html.v184 body{overflow-x:hidden}
html.v184 body[data-page="world"] #app{width:100%;max-width:none!important;padding:8px 10px 12px!important;overflow:hidden}
html.v184 body[data-page="world"] #game{min-width:0}
html.v184 body[data-page="world"] #game>header{position:relative;z-index:70}
html.v184 #nav{min-width:0}
html.v184 .v17NavScroll{scrollbar-width:thin;gap:2px}
html.v184 .v17NavBtn{min-width:0;padding:5px 7px!important}
html.v184 .v17NavBtn span{font-size:9px!important;white-space:nowrap}
html.v184 .v17NavTools{flex:0 0 auto;gap:4px!important}
html.v184 .v17UtilityBtn{min-width:34px!important;padding:5px 7px!important}
html.v184 .v184Language select{max-width:58px;padding:4px!important}
html.v184 .v184RepairResource .v184KitGlyph{display:grid;place-items:center;width:17px;height:17px;border-radius:50%;background:#a33838;color:#fff;font-weight:900;font-size:11px}

html.v184 .v184World{display:grid;grid-template-columns:220px minmax(0,1fr) 272px;gap:9px;width:100%;min-width:0;align-items:start}
html.v184 .v184Side{display:grid;gap:8px;min-width:0;max-height:calc(100vh - 122px);overflow:auto;padding-right:2px;scrollbar-width:thin}
html.v184 .v184Center{min-width:0;display:grid;gap:7px}
html.v184 .v184WorldTop{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:58px;padding:8px 13px;border:1px solid #315661;border-radius:8px;background:linear-gradient(100deg,#071a21,#092a35)}
html.v184 .v184WorldTop h2{margin:2px 0!important;font-size:19px!important;line-height:1.15!important;color:#f2c25c!important}
html.v184 .v184WorldTop p{margin:2px 0 0!important;font-size:10px!important;line-height:1.35!important;color:#b8d0d5!important}
html.v184 .v184WorldNumbers{display:flex;gap:6px;flex:0 0 auto}
html.v184 .v184WorldNumbers span{display:grid;min-width:76px;padding:6px 8px;border:1px solid #2b5965;border-radius:7px;background:#03161d;text-align:center}
html.v184 .v184WorldNumbers small{font-size:7px;color:#83b9c4;letter-spacing:.08em}
html.v184 .v184WorldNumbers b{font-size:14px;color:#f1c35c}
html.v184 .v17MapToolbar{min-height:34px!important;margin:0!important;padding:4px 7px!important}
html.v184 .v17ControlHint{font-size:9px!important;line-height:1.25!important;text-align:right;color:#c8d8db!important}
html.v184 .v184MapFrame{position:relative;min-width:0;overflow:visible!important}
html.v184 .v184SeaViewport{position:relative;width:100%!important;height:clamp(560px,calc(100vh - 300px),750px)!important;min-width:0!important;min-height:560px!important;overflow:hidden!important;border-radius:0 0 7px 7px}
html.v184 .v184SeaStage{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-width:100%!important;min-height:100%!important;transform-origin:0 0!important;will-change:transform}
html.v184 .v17CoordinateHud{z-index:31!important;left:6px!important;top:6px!important;max-width:calc(100% - 75px);flex-wrap:wrap}
html.v184 .v17CoordinateHud span{padding:4px 6px!important;min-width:66px!important}
html.v184 .v17CoordinateHud small{font-size:6px!important}
html.v184 .v17CoordinateHud b{font-size:9px!important}
html.v184 .v183BossInvasion{top:3px!important;left:auto!important;right:54px!important;width:min(590px,calc(100% - 355px))!important;height:35px!important;z-index:30!important}
html.v184 .v183BossInvasion.idle{width:285px!important}
html.v184 .seaHint{max-width:720px!important;left:50%!important;transform:translateX(-50%)!important;bottom:4px!important;padding:3px 8px!important;font-size:8px!important;white-space:normal!important;text-align:center}
html.v184 .v17Compass{right:8px!important;top:8px!important;z-index:33!important}
html.v184 .v184SafePort{filter:drop-shadow(0 0 12px #61d5a688)}
html.v184 .v184SafePort small{color:#baf4d8!important}
html.v184 .v184Bottom{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:8px;min-width:0}
html.v184 .v17LogPanel{min-height:92px!important;max-height:112px!important;overflow:hidden}
html.v184 .v17SeaFeed{max-height:70px!important;overflow:auto}
html.v184 .v184EasyInfo{display:grid;align-content:center;grid-template-columns:58px 1fr;gap:8px;padding:10px;border:1px solid #80682b;border-radius:8px;background:linear-gradient(135deg,#142617,#07191d)}
html.v184 .v184EasyInfo b{display:grid;place-items:center;border-radius:50%;width:52px;height:52px;background:#d8a83d;color:#09141a;font:900 14px/1 Arial}
html.v184 .v184EasyInfo span{align-self:center;font-size:9px;line-height:1.4;color:#d4e2d7}

html.v184 .v17Panel{border-radius:8px!important}
html.v184 .v17PanelTitle{min-height:28px!important;padding:4px 7px!important}
html.v184 .v17PanelTitle span{font-size:9px!important;letter-spacing:.06em!important}
html.v184 .v17PanelTitle button{padding:3px 6px!important;font-size:8px!important}
html.v184 .v184ShipCard{text-align:center;padding-bottom:8px}
html.v184 .v184ShipCard>img{width:135px;height:74px;object-fit:contain;margin:4px auto -1px;filter:drop-shadow(0 8px 7px #0009)}
html.v184 .v184ShipCard h3{font-size:13px!important;margin:2px 6px 6px!important;color:#f0d18a!important}
html.v184 .v184ShipStats{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;padding:0 6px}
html.v184 .v184ShipStats span{display:grid;padding:5px 2px;border:1px solid #29505a;border-radius:6px;background:#041820}
html.v184 .v184ShipStats small{font-size:6px;color:#87b7c1;text-transform:uppercase}
html.v184 .v184ShipStats b{font-size:10px;color:#f0c65e}
html.v184 .v17DailyMini article{padding:5px!important;gap:5px!important}
html.v184 .v17DailyMini article span{width:17px!important;height:17px!important;font-size:8px!important}
html.v184 .v17DailyMini b{font-size:8px!important;line-height:1.2!important}
html.v184 .v17DailyMini small{font-size:7px!important}
html.v184 .v17Production>div{padding:3px 6px!important}
html.v184 .v17Production img{width:12px!important;height:12px!important}
html.v184 .v17Production span,html.v184 .v17Production b{font-size:8px!important}
html.v184 .v184BossCard{order:-1}
html.v184 #v184BossSummary{display:grid;gap:6px;padding:8px;font-size:9px;line-height:1.4;color:#c7d7db}
html.v184 #v184BossSummary>img{width:100%;height:72px;object-fit:contain}
html.v184 #v184BossSummary>div{display:grid;gap:4px}
html.v184 #v184BossSummary b{color:#f0c35d;font-size:11px}
html.v184 #v184BossSummary button{font-size:8px;padding:4px}
html.v184 .v17Inspect{min-height:275px!important;padding:10px!important;overflow:visible!important}
html.v184 .v17Inspect .eyebrow{font-size:8px!important;color:#84c8d5!important}
html.v184 .v17Inspect h2,html.v184 .v17Inspect h3{font-family:Arial,Helvetica,sans-serif!important;font-size:15px!important;line-height:1.2!important;margin:5px 0!important;color:#f3dfad!important;text-shadow:none!important}
html.v184 .v17Inspect p{font-family:Arial,Helvetica,sans-serif!important;font-size:10px!important;line-height:1.45!important;color:#d4e0e3!important}
html.v184 .v17Inspect .inspectType{font-size:8px!important;text-transform:uppercase;color:#86bdc8!important}
html.v184 .v17Inspect .inspectShip{width:100%!important;height:92px!important;object-fit:contain!important;margin:0!important}
html.v184 .inspectStats{gap:5px!important}
html.v184 .inspectStats div{padding:6px!important}
html.v184 .inspectStats b{font-size:11px!important}
html.v184 .inspectStats span{font-size:7px!important}
html.v184 .v184Difficulty{padding:5px 7px;border-radius:5px;font-size:8px;font-weight:800;text-align:center}
html.v184 .v184Difficulty.easy{border:1px solid #3a8760;background:#0b3324;color:#a9efca}
html.v184 .v184MouseHelp{padding:10px!important}
html.v184 .v184MouseHelp b{font-size:10px;color:#e9c467}
html.v184 .v184MouseHelp p{font-size:9px!important;line-height:1.45!important;color:#bfd1d5!important}

html.v184 .seaVessel>span{font-family:Arial,Helvetica,sans-serif!important;font-size:8px!important;font-weight:700!important;line-height:1.1!important;padding:3px 5px!important;border:1px solid #294c56!important;border-radius:4px!important;background:#031016e8!important;color:#eef5f6!important;text-shadow:0 1px 2px #000!important;white-space:nowrap!important}
html.v184 .seaVessel.v184TrainingNpc>span{border-color:#caa13f!important;background:#171508e8!important;color:#ffe7a1!important}
html.v184 .seaVessel.v184TrainingNpc{filter:drop-shadow(0 0 6px #e5be4a66)}
html.v184 .v184NpcLevel{position:absolute;left:50%;top:-11px;transform:translateX(-50%) rotate(var(--counter-heading,0deg));display:grid;place-items:center;min-width:26px;height:15px;padding:0 4px;border:1px solid #67858d;border-radius:9px;background:#031116;color:#d4eaee;font:800 7px Arial;z-index:6;pointer-events:none}
html.v184 .v184TrainingNpc .v184NpcLevel{border-color:#d9ac3c;background:#2d2107;color:#ffe6a1}
html.v184 .seaVessel.me>span{background:#06342fe8!important;border-color:#41b19a!important;color:#c6fff1!important}

html.v184 .v184Mission{display:grid;gap:8px;padding:11px;border:1px solid #b7882e;border-radius:9px;background:linear-gradient(145deg,#102c32,#06171d);box-shadow:inset 0 0 24px #e3aa2c0b,0 6px 18px #0005}
html.v184 .v184Mission.complete{border-color:#3d8568;background:linear-gradient(145deg,#0c3026,#061b19)}
html.v184 .v184MissionTop{display:grid;grid-template-columns:34px minmax(0,1fr);gap:8px;align-items:center}
html.v184 .v184MissionTop>span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#d6a23b;color:#061218;font:900 14px Arial}
html.v184 .v184Mission.complete .v184MissionTop>span{background:#49a67e;color:#fff}
html.v184 .v184MissionTop div{display:grid;gap:2px;min-width:0}
html.v184 .v184MissionTop small{font-size:7px;font-weight:900;letter-spacing:.08em;color:#88c1cc}
html.v184 .v184MissionTop b{font-family:Arial,Helvetica,sans-serif;font-size:12px;line-height:1.2;color:#f5d682}
html.v184 .v184Mission p{margin:0!important;font-size:9px!important;line-height:1.45!important;color:#d3e0e2!important}
html.v184 .v184MissionProgress{height:4px;border-radius:9px;background:#031014;overflow:hidden}
html.v184 .v184MissionProgress i{display:block;height:100%;background:linear-gradient(90deg,#5bb6c4,#e1ae3e)}
html.v184 .v184Mission button{padding:6px!important;font-size:9px!important}
html.v184 #v184MissionFloat{position:fixed;right:14px;bottom:14px;z-index:85;width:285px}
html.v184 #v184MissionFloat .v184Mission{box-shadow:0 14px 35px #000b}
html.v184 #v184MissionFloat .v184Mission.compact p{max-height:43px;overflow:hidden}

html.v184 .v184CaptainModal,html.v184 .v184GuideModal{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:20px;background:#01080de8;backdrop-filter:blur(8px)}
html.v184 .v184CaptainModal>section{width:min(1040px,95vw);padding:24px;border:1px solid #b98a32;border-radius:14px;background:radial-gradient(circle at 50% 0,#113744,#031217 68%);box-shadow:0 25px 80px #000}
html.v184 .v184CaptainModal header{text-align:center;max-width:700px;margin:0 auto 18px}
html.v184 .v184CaptainModal h2{font:700 34px/1.1 Georgia!important;color:#f1c45d!important;margin:7px 0!important}
html.v184 .v184CaptainModal header p{font-size:12px!important;line-height:1.55!important;color:#cadadd!important}
html.v184 .v184CaptainGrid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
html.v184 .v184CaptainGrid button{display:grid;grid-template-rows:62px auto minmax(58px,1fr) auto;gap:7px;min-height:220px;padding:16px;border:1px solid #345c66;border-radius:10px;background:linear-gradient(155deg,#0b2a34,#06161c);text-align:left;transition:.18s}
html.v184 .v184CaptainGrid button:hover{transform:translateY(-4px);border-color:#d5a33b;box-shadow:0 12px 30px #0008,inset 0 0 25px #e3ad2e12}
html.v184 .v184CaptainGrid button>span{font-size:42px;text-align:center;filter:drop-shadow(0 5px 8px #000)}
html.v184 .v184CaptainGrid b{font:700 18px/1.2 Georgia;color:#f2d586}
html.v184 .v184CaptainGrid small{font:10px/1.5 Arial;color:#bfd2d6}
html.v184 .v184CaptainGrid em{font:800 9px Arial;font-style:normal;color:#f0c65e;text-transform:uppercase;letter-spacing:.05em}
html.v184 .v184CaptainModal footer{margin-top:14px;padding:9px;border-top:1px solid #31535b;text-align:center;font-size:9px;color:#bed1d5}
html.v184 .v184CaptainModal footer b{color:#efc35e}
html.v184 .v184GuideModal>section{position:relative;width:min(490px,92vw);padding:28px;text-align:center;border:1px solid #c49538;border-radius:14px;background:radial-gradient(circle at 50% 0,#173c46,#04151b 70%);box-shadow:0 25px 70px #000}
html.v184 .v184ModalX{position:absolute;right:9px;top:9px;width:29px;height:29px;padding:0!important;border-radius:50%;font-size:18px!important}
html.v184 .v184ModalIcon{font-size:48px}
html.v184 .v184GuideModal h2{font:700 29px Georgia!important;color:#f2c35d!important;margin:8px!important}
html.v184 .v184GuideModal p{font:12px/1.6 Arial!important;color:#d5e0e2!important;margin:0 0 17px!important}

html.v184 .v184DockIntro{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:10px;padding:12px 15px;border:1px solid #a37a2f;border-radius:10px;background:linear-gradient(100deg,#0a2b34,#081a20)}
html.v184 .v184DockIntro h2{font-family:Arial,Helvetica,sans-serif!important;font-size:18px!important;margin:3px 0!important;color:#f0c35e!important}
html.v184 .v184DockIntro p{font-size:10px!important;margin:0!important;color:#c6d7da!important}
html.v184 .v184DockIntro>div:last-child{display:grid;gap:4px;text-align:right;white-space:nowrap}
html.v184 .v184DockIntro>div:last-child b{font-size:15px;color:#f0c35e}
html.v184 .v184DockIntro>div:last-child span{font-size:9px;color:#afe2d1}
html.v184 .v184ShipSelect{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0;padding:9px 11px;border:1px solid #35636d;border-radius:8px;background:#061d25}
html.v184 .v184ShipSelect.active{border-color:#4a9b77;background:#082a22}
html.v184 .v184ShipSelect>div{display:grid;gap:2px}
html.v184 .v184ShipSelect small{font-size:7px;color:#7ebac6;text-transform:uppercase}
html.v184 .v184ShipSelect b{font-size:12px;color:#f1d17d}
html.v184 .v184ShipSelect span{font-size:8px;color:#bfd1d4}
html.v184 .v184ShipSelect button{font-size:9px!important}
html.v184 .v184Pulse{animation:v184Pulse 1.35s infinite!important;position:relative;z-index:2}
@keyframes v184Pulse{0%,100%{box-shadow:0 0 0 0 #e2ad3e66}50%{box-shadow:0 0 0 7px #e2ad3e00}}

@media(max-width:1500px){
 html.v184 .v184World{grid-template-columns:205px minmax(0,1fr) 245px}
 html.v184 .v184SeaViewport{height:clamp(520px,calc(100vh - 290px),700px)!important;min-height:520px!important}
 html.v184 .v17NavBtn span{font-size:8px!important}
 html.v184 .v183BossInvasion{width:min(500px,calc(100% - 320px))!important}
}
@media(max-width:1250px){
 html.v184 .v184World{grid-template-columns:190px minmax(0,1fr)}
 html.v184 .v184Right{grid-column:1/-1;display:grid;grid-template-columns:1fr 1.4fr 1fr;max-height:none;overflow:visible}
 html.v184 .v184BossCard{order:0}
 html.v184 .v184SeaViewport{min-height:500px!important}
 html.v184 .v184CaptainGrid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:850px){
 html.v184 body[data-page="world"] #app{overflow:visible}
 html.v184 .v184World{grid-template-columns:1fr}
 html.v184 .v184Side{max-height:none;overflow:visible}
 html.v184 .v184Left{grid-template-columns:1fr}
 html.v184 .v184Right{grid-column:auto;grid-template-columns:1fr}
 html.v184 .v184Bottom{grid-template-columns:1fr}
 html.v184 .v184SeaViewport{height:520px!important;min-height:520px!important}
 html.v184 .v183BossInvasion{right:45px!important;left:5px!important;width:auto!important}
 html.v184 .v184CaptainGrid{grid-template-columns:1fr}
 html.v184 .v184CaptainModal>section{max-height:94vh;overflow:auto;padding:16px}
 html.v184 .v184CaptainGrid button{min-height:150px;grid-template-rows:42px auto auto auto}
 html.v184 .v184CaptainGrid button>span{font-size:31px}
 html.v184 #v184MissionFloat{right:8px;left:8px;bottom:8px;width:auto}
}
html.v184 .v184Handbook>section{width:min(680px,94vw);max-height:90vh;overflow:auto;text-align:left}
html.v184 .v184Handbook .v184ModalIcon{display:block;text-align:center}
html.v184 .v184Handbook h2{text-align:center}
html.v184 .v184Handbook ol{display:grid;gap:8px;margin:15px 0 18px;padding-left:28px;counter-reset:v184guide}
html.v184 .v184Handbook li{padding:8px 10px;border:1px solid #2d5660;border-radius:7px;background:#061b22;color:#d7e3e5;font:11px/1.5 Arial,Helvetica,sans-serif}
html.v184 .v184Handbook li::marker{color:#e5b445;font-weight:900}
html.v184 .v184Handbook>section>button:last-child{display:block;margin:0 auto}
