/* One navigation model for every harbor page. No gameplay/account rules. */
.shell.harbor-shell{width:min(1280px,calc(100% - 32px))}
.harbor-navigation{position:relative;z-index:20;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-block:2px ridge #92723d;background:#0c0e0b}
.nav-group{position:relative;min-width:0;border-right:1px solid #665333}
.nav-group:last-child{border-right:0}
.nav-group>summary,.nav-group>.nav-direct-btn{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;height:100%;border:0;padding:14px 10px;cursor:pointer;list-style:none;color:#f6dfaa;background:linear-gradient(#44443c,#10110d 35%,#030604 78%,#383326);font:inherit;font-size:16px}
.nav-group>summary::-webkit-details-marker{display:none}
.nav-group>summary span{font-size:11px;color:#bfa56a}
.nav-group.current-group>summary,.nav-group[open]>summary,.nav-group.current-group>.nav-direct-btn{background:radial-gradient(ellipse at 50% 100%,#a07835a6,transparent 90%),#161711;color:#fff4d7;box-shadow:inset 0 -2px #bf9a53}
.nav-group[open]{z-index:1}
.nav-dropdown{position:absolute;top:100%;left:-1px;width:max(100%,245px);max-width:calc(100vw - 32px);padding:7px;background:linear-gradient(#212319f7,#0a100cfb);border:1px solid #b49a60;box-shadow:0 12px 24px #000b;max-height:min(65vh,520px);overflow-y:auto}
.nav-group:nth-last-child(-n+2) .nav-dropdown{left:auto;right:-1px}
.nav-dropdown>a{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:42px;padding:10px 13px;text-decoration:none;color:#efdbad;border-bottom:1px solid #8e75452e;font-size:14px}
.nav-dropdown>a:last-child{border:0}
.nav-dropdown>a:hover,.nav-dropdown>a[aria-current=page]{background:#b2964830;color:#fff3cf}
.nav-dropdown>a[aria-current=page]{box-shadow:inset 3px 0 #e4bd66}
.nav-group>summary:focus-visible,.nav-dropdown>a:focus-visible{outline:2px solid #f2d590;outline-offset:-3px}
.nav-count{background:#63542a;border:1px solid #aa935d;border-radius:3px;padding:0 6px;font-size:12px}
.harbor-location{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:11px 20px;border-bottom:1px solid #78643d;background:#0a100dcc;color:#c4b489;font-size:12px}
.harbor-location strong{color:#f3dfb4;font-weight:normal}
.harbor-ship-status{display:flex;align-items:center;gap:10px;font-size:11px}
.harbor-layout.body-grid.feature-layout{display:block;padding:18px}
/* One harbor background; page content must not add a second enclosing panel. */
.harbor-layout>.paper{width:100%;max-width:1280px;margin-inline:auto;min-width:0;padding:0;min-height:400px;border:0;background:none;box-shadow:none}
.harbor-layout .page-head{padding:9px 12px;margin-bottom:12px}
.harbor-layout .page-head h1{font-size:20px}
.harbor-layout .page-head p{font-size:13px;line-height:1.6}
.harbor-shell .wallet[aria-label=Kaynaklar]>.price{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));width:100%;max-width:none;gap:6px;padding:12px}
.harbor-shell .wallet[aria-label=Kaynaklar] .money{justify-content:center;min-width:0;flex-wrap:wrap;border-right:1px solid #8b713c55;padding:3px 8px;font-size:14px}
.harbor-shell .wallet[aria-label=Kaynaklar] .money:last-child{border:0}
.harbor-layout .equipment-board{grid-template-columns:1.35fr 1fr}
.harbor-layout .deck-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.harbor-layout .deck-card{min-width:0;padding:12px 9px;gap:5px}
.harbor-layout .deck-card .deck-art{width:136px;height:85px;max-width:100%}
.harbor-layout .deck-card h3{font-size:14px;margin:4px 0}
.harbor-layout .deck-card p{margin:4px 0;line-height:1.4}
.harbor-layout .deck-card .deck-benefits{font-size:13px}
.harbor-layout .deck-card .deck-next{font-size:12px}
.harbor-layout .equipment-store .gear-grid{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}
.harbor-layout .equipment-active .gear-grid{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}
.equipment-overview{padding:12px 16px;border:1px solid #806940;margin:14px 0;background:#080e0bd9}
.equipment-overview>summary{cursor:pointer;font-size:16px;color:#f3dfb4}
.equipment-overview>summary>span{font-size:12px;color:#b8bc98;margin-left:20px;line-height:1.7}
.equipment-overview .stat-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 26px;margin:16px 0}
.equipment-overview .stat-list>div{min-width:0;gap:12px;font-size:12px}
.harbor-layout .captain-cabin{grid-template-columns:1fr}
.harbor-layout .cabin-illustration{display:none}
.harbor-layout .ship-presentation{gap:12px;grid-template-columns:minmax(200px,28%) minmax(0,1fr)}
.harbor-layout .ship-presentation .ship-scene{min-height:220px}
.harbor-layout .ship-presentation .showcase-ship.icon{width:180px;height:165px}
.harbor-layout .ship-presentation .ship-landscape{height:165px}
@media(max-width:1000px){
 .harbor-layout .deck-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .nav-group>summary{font-size:13px;padding:12px 5px;gap:5px}
 .harbor-layout.body-grid.feature-layout{padding:12px}
 .equipment-overview .stat-list{grid-template-columns:repeat(2,minmax(0,1fr))}
 .harbor-shell .wallet[aria-label=Kaynaklar] .money{font-size:12px}
}
@media(max-width:760px){
 .harbor-layout .ship-presentation{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:700px){
 .harbor-layout .deck-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .shell.harbor-shell{width:100%;margin:0}
 .harbor-navigation{grid-template-columns:repeat(4,minmax(0,1fr))}
 .nav-group>summary{min-height:43px;font-size:12px}
 .nav-group:nth-child(4) .nav-dropdown{left:auto;right:0}
 .nav-group:nth-child(5) .nav-dropdown{left:0;right:auto}
 .nav-group{border-bottom:1px solid #665333}
 .nav-dropdown{width:235px}
 .harbor-location{padding:10px 12px;gap:6px}
 .harbor-layout.body-grid.feature-layout{padding:7px}
 .harbor-layout .page-head h1{font-size:20px}
 .harbor-shell .wallet[aria-label=Kaynaklar]>.price{grid-template-columns:repeat(3,minmax(0,1fr));padding:6px}
 .harbor-shell .wallet[aria-label=Kaynaklar] .money{font-size:11px;display:flex}
 .harbor-layout .equipment-board{grid-template-columns:1fr}
 .equipment-overview>summary>span{display:block;margin:8px 0 0}
 .equipment-overview .stat-list{grid-template-columns:1fr}
}
@media(max-width:420px){.harbor-layout .deck-grid{grid-template-columns:minmax(0,1fr)}}
