/* Classic-liman refinement. CSS art/layout only; no generated/repainted raster assets. */
:root{--muted:#665237;color-scheme:light}
body{background-color:#0c191b}
.shell{width:min(1080px,calc(100% - 40px));margin-top:22px;outline:1px solid #2b2114;outline-offset:4px}
.masthead{background:radial-gradient(ellipse at 50% 70%,#80633124,transparent 60%),linear-gradient(90deg,#100d09b5,#241b1050,#100d09b5)}
.masthead:before,.masthead:after{content:'◆';position:absolute;bottom:28px;font-size:15px;color:#93754b;text-shadow:0 1px #000}
.masthead:before{left:28px}.masthead:after{right:28px}
.logo{width:min(295px,48%);max-height:145px}
.edition{font-size:10px;letter-spacing:3px;bottom:15px;color:#dcc389}
.topnav{background:#17140e;padding:0;border-bottom:3px double #b38a45}
.topnav button{background-image:linear-gradient(#0000,#171209a8),url('/assets/original/navigation.jpg');background-position:center;min-height:46px;border-right:1px solid #81704b78}
.topnav button.active{background:linear-gradient(#65734b,#324324);box-shadow:inset 0 2px #c9be7b50}
.wallet{background:linear-gradient(#18140bbb,#2a2113c9),url('/assets/original/panel.jpg') center;border-top:1px solid #a98a4959;border-bottom:3px double #987544;min-height:64px;padding:0}
/* The archived resource-bar image already contains icons; using it here duplicated the live icons. */
.wallet .price{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:8px 12px;width:100%;max-width:820px}
.wallet .money{display:grid;grid-template-columns:26px minmax(0,max-content);grid-template-rows:auto auto;column-gap:9px;row-gap:3px;align-items:center;justify-content:center;padding:2px 16px;color:#f4e4be;font-size:15px;min-width:0;border-right:1px solid #bfa1653d}
.wallet .money:last-child{border-right:0}.wallet .money b{font-weight:bold;line-height:1.2}.wallet .money>span:not(.icon){font-size:11px;letter-spacing:.5px;color:#cbb58a;line-height:1.2}
.wallet .icon{grid-row:1/3;width:26px;height:26px}.wallet .symbol{border:0;background:none;color:#dfc672;font-size:26px}
.body-grid{padding:17px;gap:15px;grid-template-columns:180px minmax(0,1fr)}
.sidebar .side-title{font-size:18px;text-shadow:0 1px #000;padding-left:12px}
.sidebar nav button{min-height:36px;border:1px solid transparent}
.sidebar nav button:hover{border-color:#84704666;background:#80603633}
.sidebar nav button.active{border-color:#a48a5359;box-shadow:inset 2px 0 #c9a154}
.sidebar .status button.link{color:#e0c596}
.paper{padding:26px;background-color:#e5d3ad;border:3px double #a88a54;box-shadow:inset 0 0 45px #9d732628,0 3px 8px #0008}
.page-head{border-bottom:3px double #b89a62;padding-bottom:14px;margin-bottom:20px}
.page-head .kicker{font-size:10px;color:#806130}
h1{color:#3b2b17;font-size:27px;text-shadow:0 1px #fff7}
h2{font-size:20px;color:#574021}
.page-head p,.tiny,.subline,.date{line-height:1.55}
.page-head p{color:#665237}
.notice{color:#544025;background:#f8edce65}
.paper .tiny,.paper .subline{color:#6a5433;font-size:12px}
.paper th{font-weight:bold;color:#69502d;background:#ad8a4433}
.paper td{line-height:1.45}.item-name strong{font-size:14px}.item-name small{font-size:12px;color:#6f5938}
.actions button{min-height:31px}
.box,.tile,.slot{box-shadow:inset 0 1px #fff5;background:linear-gradient(135deg,#fff7e329,#c3a3641a)}
.tile button{margin-top:2px}.tiles{margin-bottom:20px}
.summary-actions{margin-top:13px}.ship-art{flex-direction:column;gap:10px;border-right:1px solid #ad915862;background:radial-gradient(ellipse,#b7986338,transparent 68%)}
.ship-art .icon.large{width:110px;height:110px}
.stat-list>div{gap:12px}.stat-list dt{min-width:0}.stat-list dd{white-space:nowrap}
.harbor-banner{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr);min-height:204px;margin-bottom:22px;background:#28302a;border:1px solid #967748;color:#f7e7bd;box-shadow:inset 0 0 40px #0304037a}
.harbor-copy{padding:25px;align-self:stretch;align-content:center;position:relative;z-index:1;background:linear-gradient(90deg,#1c221bf5 0%,#263028ed 48%,#2630288a 70%,#26302812)}
.harbor-copy h2{color:#f4d994;font-size:29px;margin:8px 0;text-shadow:0 2px 2px #0006;overflow-wrap:anywhere}
.harbor-copy p{color:#d0c3a1;font-size:13px;margin-bottom:18px}
.eyebrow{font-size:10px;letter-spacing:2px;color:#ccb17b}
.harbor-picture{position:absolute;right:0;top:0;height:100%;width:44%;object-fit:cover;object-position:center 45%;opacity:.9}
.harbor-banner .flex{gap:8px}.harbor-banner button{font-size:12px}
.quick-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:22px}
.quick-links button{display:flex;gap:7px;align-items:center;text-shadow:none;padding:9px 8px;color:#59401e;background:linear-gradient(#f2e3bb80,#b8965142);border-color:#a68b5c;box-shadow:inset 0 1px #fffa;min-height:52px}
.quick-links button:hover{background:#f4e7c580}.quick-links .icon{width:27px;height:27px}.quick-links button>span:last-child{margin-left:auto;font-size:22px;color:#98743b}
.gem-toolbar{margin-bottom:18px;font-size:13px}
.gem-slots{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-bottom:25px}
.gem-slot{text-align:center;border:1px solid #a88a5a;padding:13px 8px;min-height:201px;background:linear-gradient(#efe1bd60,#d6be9140);position:relative}
.gem-type{font-size:11px;letter-spacing:.5px;color:#805d2c}
.gem-emblem{display:flex;justify-content:center;align-items:center;width:57px;height:57px;border:2px double #a18c68;border-radius:50%;margin:12px auto;background:radial-gradient(#fff5,#553b1f35);box-shadow:0 2px 5px #72583030}
.gem-emblem .icon{width:33px;height:33px}.gem-slot.offensive .gem-emblem{border-color:#9e5947;background:radial-gradient(#e9b7a480,#612c2640)}
.gem-slot.defensive .gem-emblem{border-color:#547d8a;background:radial-gradient(#b3d4da90,#25485440)}
.gem-slot.special .gem-emblem{border-color:#a18839;background:radial-gradient(#efd98590,#72601940)}
.gem-slot.pet .gem-emblem{border-color:#87709b;background:radial-gradient(#d6c2e490,#58426340)}
.gem-slot h3{font-size:13px;line-height:1.5;margin:8px 0}.gem-slot p{font-size:11px;line-height:1.45;min-height:34px;color:#715633}
.gem-slot button{font-size:11px;padding:6px 7px;min-height:31px}
.pet-slots{grid-template-columns:repeat(2,minmax(0,1fr));max-width:460px}.pet-slots .gem-slot{min-height:175px}
progress{appearance:none;width:100%;height:7px;border:1px solid #aa925f;background:#bdab82;margin:0 0 15px;display:block}
progress::-webkit-progress-bar{background:#bdab82}progress::-webkit-progress-value{background:linear-gradient(#7e9455,#4f6934)}progress::-moz-progress-bar{background:#637a3f}
dialog{max-height:calc(100dvh - 40px);overflow:auto;border:3px double #a98746}
.modal-head{position:sticky;top:0;z-index:1;border-bottom:1px solid #bca15e;box-shadow:0 2px 8px #39291433}
.modal-head>button{width:32px;height:32px;line-height:28px;color:#f3dfb4;border:1px solid #8e7645;border-radius:2px}
.modal-price{min-height:50px;display:flex;flex-wrap:wrap;gap:9px;align-items:center;background:#d5bf8b38}
.auth-paper{border:3px double #a88a54;box-shadow:inset 0 0 40px #a47d2730}.auth-shell{max-width:720px;margin-top:5vh}
.auth-form input{min-height:43px;box-shadow:inset 0 1px 3px #634a221f}
.auth-paper h1{font-size:26px}.auth-form button[type=submit]{min-height:43px}
.auth-bottom{line-height:1.7;padding:14px 20px}
.footer{color:#ceb992}.footer a{color:#eedaa9}
@media(max-width:900px){.body-grid{grid-template-columns:160px minmax(0,1fr);padding:12px}.paper{padding:20px}.gem-slots{grid-template-columns:repeat(3,minmax(0,1fr))}.quick-links{grid-template-columns:repeat(2,minmax(0,1fr))}.ship-summary{grid-template-columns:105px 1fr}.stat-list{grid-template-columns:1fr}.gem-slot{min-height:175px}}
@media(max-width:600px){.shell{width:100%;margin:0;outline:0}.body-grid{display:block;padding:9px}.paper{padding:18px 13px;border-width:2px}.logo{width:min(210px,49%)}.masthead:before,.masthead:after{display:none}.captain-badge{max-width:46%}.captain-badge strong{overflow-wrap:anywhere}.edition{font-size:9px;letter-spacing:1.5px}.wallet .price{gap:12px 18px;padding:7px 5px}.wallet .money{font-size:12px}.wallet .money .icon{width:20px;height:20px}.wallet .money>span{font-size:11px}.sidebar nav button{min-height:37px}.sidebar nav button.active:before{content:''}.harbor-banner{grid-template-columns:1fr;min-height:192px}.harbor-copy{padding:20px 16px;padding-right:76px;background:linear-gradient(90deg,#1c221bf5,#263028d6 78%,#26302865)}.harbor-copy h2{font-size:23px}.harbor-picture{width:110px}.harbor-copy button{padding:7px 9px;font-size:11px}.harbor-banner .flex{margin-right:-40px}.ship-summary{grid-template-columns:1fr}.ship-art{border-right:0;border-bottom:1px solid #ad915862;min-height:90px;flex-direction:row;justify-content:center}.ship-art .icon.large{width:75px;height:75px}.stat-list{grid-template-columns:1fr 1fr;gap:0 12px}.stat-list>div{gap:6px;font-size:12px}.stat-list dd{white-space:normal;text-align:right}.gem-slots{grid-template-columns:repeat(2,minmax(0,1fr))}.gem-slot.special{grid-column:1/-1;min-height:150px}.gem-slot.special p{min-height:0}.gem-slot.special .gem-emblem{margin:9px auto}.gem-slots .gem-slot h3{font-size:13px}.gem-slot button{font-size:12px}.paper .tiny,.paper .subline{font-size:12px}.paper h1{font-size:24px}.auth-shell{margin:12px 8px}.auth-shell .logo{width:235px}.modal-body{padding:18px 15px}.topnav button{min-width:104px}}
@media(pointer:coarse){button.small,.actions button{min-height:38px}button{min-height:40px}.gem-slot button{min-height:38px}.modal-head button{min-height:32px}}
/* Layout corrections verified against the live panel, not only source renderers. */
.paper{min-width:0}.table-wrap{max-width:100%;overscroll-behavior-inline:contain;scrollbar-color:#9c7b42 #decca6}
.item-name>div{min-width:0}.item-name strong{line-height:1.4}.item-name small{line-height:1.5}
.modal-body input[aria-invalid=true]{border-color:#903f2d;background:#fae7d9}
.modal-head h2{color:#f1dcad;line-height:1.4;min-width:0}.modal-head>button{flex:none}
@media(min-width:601px) and (max-width:900px){.slots{grid-template-columns:repeat(2,minmax(0,1fr))}.slots>.slot:last-child:nth-child(odd){grid-column:1/-1}}
@media(max-width:600px){
 .wallet{min-height:100px;padding:0}
 .wallet .price{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 0;padding:10px 12px}
 .wallet .money{grid-template-columns:24px minmax(0,max-content);column-gap:8px;row-gap:3px;padding:2px 8px;font-size:14px}
 .wallet .money:nth-child(even){border-right:0}.wallet .money>.icon{width:24px;height:24px}
 .wallet .money>span:not(.icon){font-size:11px}
 .harbor-picture{width:44%}.harbor-copy{padding-right:18px;background:linear-gradient(90deg,#1c221bf5,#263028e8 55%,#26302873)}
 .harbor-banner .flex{margin-right:0}.harbor-copy h2{max-width:78%}
 .stat-list{grid-template-columns:1fr}.stat-list>div{font-size:13px;padding:8px 0}.stat-list dd{white-space:nowrap}
 .table-wrap table{min-width:520px}.table-wrap:focus-visible{outline:3px solid #387e93;outline-offset:3px}
 .table-wrap::before{content:'Tablonun tamamı için yana kaydır →';display:block;font-size:11px;line-height:1.5;color:#72542b;padding:5px 0 9px}
 .skill-row{grid-template-rows:auto auto}.skill-row>.points{grid-row:2}.skill-row>button{grid-row:1/3}
}
