:root{--bg:#020d17;--panel:#071b2a;--ink:#edf7ff;--muted:#94b0c6;--cyan:#00dfff;--line:#174b62;--gold:#ffce74;--green:#3ff68a;--red:#ff795c;--width:1390px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:320px;background:var(--bg);color:var(--ink);font-family:Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased;line-height:1.38}button,input{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}a:hover{color:var(--cyan)}.shell{width:min(calc(100% - 26px),var(--width));margin:auto}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.cyan{color:var(--cyan)}.gold{color:var(--gold)}.green{color:var(--green)}.red{color:var(--red)}.muted{color:var(--muted)}
.icon{width:21px;height:21px;vertical-align:middle;display:inline-block;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:none}.btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:37px;padding:0 20px;background:#041523e6;border:1px solid #39bfe9;border-radius:6px;color:#fff;font-size:clamp(11px,.99vw,14px);font-weight:800;box-shadow:inset 0 0 1px #bcf4ff;white-space:nowrap;transition:.18s ease}.btn:hover{color:#fff;transform:translateY(-1px);box-shadow:0 0 20px #00dfff61}.btn.primary{color:#002331;border-color:#03dcff;background:linear-gradient(115deg,#03eeff,#09bdfa);box-shadow:0 0 15px #02cfff85,inset 0 1px 2px #aaffff}.btn.primary:hover{color:#002331;background:#70f5ff;box-shadow:0 0 27px #02dfff9c}.btn.sm{min-height:29px;padding:0 15px}.clickable{cursor:pointer}.clickable:focus-visible,.btn:focus-visible,a:focus-visible{outline:2px solid #ffe394;outline-offset:3px}
/* Navigation: faithfully retains original wordmark */
.topbar{position:relative;z-index:20;min-height:clamp(44px,4.65vw,63px);background:#020c15;border-bottom:1px solid #1a698a;box-shadow:0 1px 17px #00bfff18}.topbar .inner{min-height:clamp(44px,4.65vw,63px);display:flex;gap:clamp(15px,2.5vw,38px);align-items:center}.logo{display:flex;width:clamp(210px,23.6vw,320px);align-items:center;flex:none;overflow:hidden}.logo img{display:block;width:100%;mix-blend-mode:screen;filter:drop-shadow(0 0 4px #49bdfd2e)}.nav{display:flex;align-items:center;gap:clamp(20px,2.55vw,39px);flex:1}.nav a{font-size:clamp(11px,1.05vw,15px);font-weight:700;white-space:nowrap}.nav a:hover{color:var(--cyan)}.actions{display:flex;gap:10px;margin-left:auto;align-items:center}.mobile-nav-button{display:none;background:none;border:1px solid #408ba5;color:white;border-radius:5px;width:38px;height:36px;align-items:center;justify-content:center}
/* Hero */
.hero{position:relative;isolation:isolate;height:clamp(315px,33.8vw,460px);overflow:hidden;background:radial-gradient(circle at 32% 11%,#143154 0,transparent 24%),#031624}.hero::before{content:"";position:absolute;z-index:-2;inset:0;background:radial-gradient(ellipse at 70% 23%,#0a3f63 0,transparent 45%),radial-gradient(circle at 36% 15%,#7645b544 0,transparent 27%),radial-gradient(#64a9ce95 .6px,transparent .9px);background-size:auto,auto,23px 23px;opacity:.8}.hero-art{position:absolute;z-index:-1;right:0;top:0;bottom:clamp(41px,4.65vw,62px);width:66.8%;background:url('../assets/site/hero.webp') center center/100% 100% no-repeat;filter:saturate(1.13) brightness(1.15)}.hero::after{content:"";position:absolute;z-index:-1;left:0;top:0;bottom:clamp(42px,4.65vw,62px);width:58%;background:linear-gradient(90deg,#031321 0%,#031321f2 40%,#03132177 77%,transparent 100%);pointer-events:none}.hero-content{padding:clamp(26px,3vw,40px) clamp(20px,3.15vw,46px);width:100%;max-width:var(--width);margin:0 auto;position:relative;z-index:1}.strap{display:inline-flex;gap:9px;align-items:center;border:1px solid #2f6d87;border-radius:5px;background:#061e2c99;padding:2px 9px;font-size:clamp(9px,.85vw,12px);letter-spacing:.3px;color:#bcdcec}.strap b{color:#ffc04c;font-size:19px;line-height:1;font-weight:400}.hero h1{margin:13px 0 10px;font-weight:1000;font-style:italic;line-height:.98;font-size:clamp(41px,4.55vw,62px);letter-spacing:-1.5px;text-shadow:0 2px 10px #000a}.hero h1 span{display:block;color:#44d6f8;text-shadow:0 0 24px #11d7ff72}.hero p{max-width:clamp(320px,33vw,455px);font-size:clamp(12px,1.18vw,16px);line-height:1.38;margin:14px 0 20px;text-shadow:0 2px 4px #011018}.hero .buttons{display:flex;gap:12px}.hero .buttons .btn{min-width:clamp(155px,16.5vw,215px);min-height:clamp(35px,3.6vw,48px)}
.features{position:absolute;bottom:0;left:0;right:0;z-index:2;height:clamp(42px,4.65vw,62px);display:grid;grid-template-columns:repeat(6,minmax(0,1fr));align-items:center;background:#03121df2;border-bottom:1px solid #17516b}.features>.shell{display:contents}.feature{height:50%;display:flex;align-items:center;justify-content:center;gap:10px;padding:0 9px;border-right:1px solid #1c5066}.feature:last-child{border:0}.feature .icon{height:25px;width:25px;color:#38d5fc}.feature strong{display:block;font-size:clamp(10px,1vw,13px);line-height:1.2}.feature small{display:block;font-size:clamp(8px,.81vw,11px);color:#b0c4d2;white-space:nowrap;margin-top:2px}
/* Live KPIs */
.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(10px,1.25vw,18px);margin:clamp(11px,1.25vw,18px) 0 clamp(13px,1.4vw,22px)}.stat{display:flex;gap:clamp(9px,1.3vw,17px);align-items:center;height:clamp(70px,7.2vw,99px);border:1px solid #277493;border-radius:8px;background:linear-gradient(115deg,#082334 0,#071727 76%);box-shadow:0 1px 12px #0008,inset 0 1px #1f506966;padding:8px clamp(10px,1.3vw,18px);overflow:hidden}.stat:nth-child(2){background:linear-gradient(115deg,#0a2b3d,#071726)}.stat:nth-child(4){background:linear-gradient(115deg,#131c2b,#071727)}.stat-icon{flex:none;color:#47d7fc;display:grid;place-items:center;width:clamp(38px,4.3vw,58px);height:clamp(38px,4.3vw,58px);border-radius:50%;background:#03314d70;filter:drop-shadow(0 0 6px #0080c988)}.stat-icon svg{width:75%;height:75%}.stat:nth-child(2) .stat-icon{color:#ffc942;background:#493c1329}.stat:nth-child(3) .stat-icon{color:#ff7858;background:#5b24172d}.stat:nth-child(4) .stat-icon{color:#ff8a71;background:#55291e30}.stat .label{color:#c0dbea;font-weight:800;font-size:clamp(9px,.85vw,12px);letter-spacing:.25px;white-space:nowrap}.stat .amount{font-size:clamp(15px,1.75vw,24px);font-weight:900;white-space:nowrap;line-height:1.14;margin-top:2px}.stat .detail{font-size:clamp(9px,.85vw,12px);font-weight:800;margin-top:3px;white-space:nowrap}
/* Shared sections */
.section{border-top:1px solid #1a526b;position:relative;margin-top:clamp(14px,1.55vw,23px);padding-top:clamp(10px,1.25vw,18px);scroll-margin-top:80px}.section:before{content:"";display:block;position:absolute;top:-1px;left:0;width:42%;max-width:450px;height:2px;background:linear-gradient(90deg,#00dcff,transparent);box-shadow:0 0 12px #00dfff}.heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:clamp(9px,1.1vw,15px)}.heading .hgroup{display:flex;align-items:start;gap:10px}.heading .emblem{display:block;color:#19d6fa;filter:drop-shadow(0 0 6px #00b8ff);margin-top:3px}.heading .emblem svg{height:clamp(23px,2.7vw,36px);width:clamp(23px,2.7vw,36px)}.heading h2{font-size:clamp(23px,2.45vw,33px);font-weight:1000;line-height:1.03;font-style:italic;letter-spacing:.2px;margin:0}.heading p{margin:2px 0 0;color:#aac4d5;font-size:clamp(10px,.96vw,13px)}.section-link{font-size:clamp(10px,.94vw,13px);font-weight:700;color:#64dfff;white-space:nowrap}.section-link:hover{text-decoration:underline}.section-link:after{content:' ›';font-size:18px;vertical-align:middle}
/* Leaderboards */
.leaders{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(11px,1.2vw,17px)}.leader{overflow:hidden;border:1px solid #2586aa;border-radius:9px;background:#031929;box-shadow:0 7px 17px #0005}.leader.hunter{border-color:#906475}.leader.pirate{border-color:#a367be}.leader-head{position:relative;isolation:isolate;display:flex;align-items:center;gap:12px;height:clamp(60px,6.25vw,85px);padding:0 clamp(11px,1.5vw,20px);background:linear-gradient(90deg,#082d40,#092334)}.leader-head:before{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,#042332ee 2%,#092334b1 52%,#031d2811),url('../assets/site/leader-trade.webp') 100% center/55% 100% no-repeat;opacity:.93}.hunter .leader-head:before{background-image:linear-gradient(90deg,#2b1929e6,#331a29aa 52%,transparent),url('../assets/site/leader-hunt.webp')}.pirate .leader-head:before{background-image:linear-gradient(90deg,#2a1438ef,#241b39aa 52%,transparent),url('../assets/site/leader-pirates.webp')}.leader-head svg{color:var(--cyan);height:32px;width:32px}.hunter .leader-head svg{color:#ff8a69}.pirate .leader-head svg{color:#db98ff}.leader-head h3{font-size:clamp(12px,1.18vw,16px);font-weight:900;margin:0 0 2px;white-space:nowrap}.leader-head p{font-size:clamp(8px,.77vw,10px);color:#b8cfdf;margin:0}.leader-label,.leader-row{display:grid;grid-template-columns:27px minmax(80px,1fr) minmax(95px,auto);gap:7px;align-items:center;padding:0 12px}.leader-label{height:clamp(21px,2.35vw,30px);font-size:clamp(8px,.75vw,10px);background:#020f1b;color:#b5c9d9;font-weight:700}.leader-label span:last-child{text-align:right}.leader-row{min-height:clamp(29px,3.03vw,42px);background:linear-gradient(90deg,#071e2f,#041725);border-bottom:1px solid #16364c;font-size:clamp(10px,.9vw,12px);transition:background .2s}.leader-row:hover{background:#123c53}.leader-row:last-child{border-bottom:0}.rank{font-weight:800;text-align:center;color:#b4c9d9}.rank.first{color:#ffc047}.rank.second{color:#c6ddf5}.rank.third{color:#ffa363}.pilot{display:flex;align-items:center;gap:8px;min-width:0}.face{width:clamp(19px,2vw,26px);height:clamp(19px,2vw,26px);border:1px solid #568aa4;border-radius:50%;display:grid;place-items:center;color:#e5f8ff;font-size:clamp(9px,.95vw,12px);font-weight:800;background:radial-gradient(circle at 45% 30%,#476275,#0b2038 70%);flex:none}.name{font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.number{font-weight:800;text-align:right;color:#ffd480;white-space:nowrap}.leader.hunter .number{color:#ffd18a}.leader.pirate .number{color:#ffdc84}
/* News */
.newsfilters{display:flex;align-items:center;border:1px solid #274b60;border-radius:7px;overflow:hidden;max-width:100%;background:#051827}.filter{border:none;border-right:1px solid #244458;min-height:28px;padding:3px 14px;background:none;color:#c0d9e8;font-size:clamp(10px,.94vw,13px)}.filter:last-child{border:0}.filter.active{color:#001e2f;font-weight:900;background:linear-gradient(115deg,#4ce9ff,#08b9e9);box-shadow:0 0 12px #00c9ffad}.filter:hover:not(.active){color:#fff;background:#123951}.news-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(12px,1.35vw,19px);align-items:stretch}.featured{border:1px solid #2b88aa;border-radius:9px;overflow:hidden;background:linear-gradient(160deg,#09253a,#041521);box-shadow:0 8px 19px #0006}.featured-art{height:clamp(135px,14.45vw,197px);position:relative;background:linear-gradient(0deg,#06182922,transparent),url('../assets/news/featured.webp') center center/cover no-repeat}.featured-badge{position:absolute;top:11px;left:13px;background:#f9bd38;color:#151b20;font-size:clamp(10px,.98vw,13px);font-weight:900;border-radius:3px;padding:2px 7px}.featured-content{padding:clamp(10px,1.4vw,19px) clamp(13px,1.7vw,23px)}.featured-content h3{margin:0 0 7px;font-size:clamp(17px,1.83vw,25px);line-height:1.15}.featured-content p{color:#d1e1ed;font-size:clamp(10px,1.01vw,14px);line-height:1.28;margin:0 0 10px}.social{display:flex;gap:18px;align-items:center;color:#c0deed;font-size:clamp(10px,.9vw,13px)}.social button{display:inline-flex;gap:5px;align-items:center;background:none;border:none;color:inherit;padding:0}.social button:hover,.social button.pressed{color:#4de9ff}.social .icon{height:16px;width:16px}.social .when{margin-left:auto;font-size:10px;white-space:nowrap}.news-list{display:grid;grid-template-rows:repeat(4,minmax(0,1fr));gap:7px}.news-item{display:grid;grid-template-columns:clamp(110px,14.4vw,196px) minmax(0,1fr) 20px;gap:11px;align-items:center;padding:0 9px 0 0;min-height:0;overflow:hidden;border:1px solid #183f54;border-radius:7px;background:linear-gradient(90deg,#091f33,#041524)}.news-item:hover{background:#0e2b41;border-color:#2a829e}.news-item img{height:100%;width:100%;object-fit:cover;display:block}.news-item h3{font-size:clamp(11px,1.08vw,15px);line-height:1.17;margin:0 0 4px;font-weight:800}.news-item p{font-size:clamp(9px,.9vw,12px);color:#b4cfe0;line-height:1.18;margin:0}.news-item .age{display:block;white-space:nowrap;color:#7dacc0;font-size:clamp(8px,.73vw,10px);margin-top:2px}.news-item .icon{color:#2eeaff;width:18px}.news-item:nth-child(3) .icon{color:#fd956a}.news-item[hidden],.featured[hidden]{display:none}.empty{display:none;text-align:center;color:var(--muted);padding:30px}.empty.show{display:block}
/* Battle records */
.battles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(10px,1.3vw,18px)}.battle{overflow:hidden;border:1px solid #244454;border-radius:7px;background:#081b2a;transition:transform .18s,border .18s}.battle:hover{transform:translateY(-2px);border-color:#31b8e5}.battle-photo{position:relative;height:clamp(55px,6.35vw,84px);background-position:center;background-size:cover;background-repeat:no-repeat}.battle .result{position:absolute;top:6px;left:8px;font-size:clamp(9px,.82vw,11px);line-height:1;border:1px solid #2bf970;color:#73ffa4;background:#073d1bb5;font-weight:900;padding:3px 5px;border-radius:2px}.battle.lost .result{color:#ffb5aa;border-color:#ff573b;background:#3b0b0a9c}.battle-body{padding:clamp(8px,1vw,14px)}.battle h3{margin:0 0 7px;font-size:clamp(10px,.95vw,13px);line-height:1.17}.battle-meta,.battle-desc{font-size:clamp(9px,.83vw,11px);line-height:1.22;color:#afc7d8}.battle-earn{font-weight:900;color:#59fe8d;font-size:clamp(10px,.9vw,12px);float:right}.lost .battle-earn{color:#ff8670}.battle-desc{clear:both;margin:9px 0 0;min-height:27px}.battle-time{color:#82a3b6;text-align:right;font-size:clamp(8px,.8vw,11px);margin-top:5px}
/* Economy */
.economy{border-top:1px solid #1f6686;margin-top:clamp(14px,1.5vw,22px);display:grid;grid-template-columns:50% 50%;min-height:clamp(228px,25vw,345px);background:linear-gradient(110deg,#0d2a3a,#041829);box-shadow:0 -2px 16px #008bc330}.economy-image{background:url('../assets/site/hangar.webp') center center/cover no-repeat;min-height:clamp(228px,25vw,345px)}.economy-copy{padding:clamp(17px,2.4vw,34px) clamp(17px,2.45vw,36px);display:flex;flex-direction:column;justify-content:center}.economy-title{display:flex;gap:10px;align-items:center}.economy-title .icon{width:37px;height:37px;color:#ffc14d;filter:drop-shadow(0 0 10px #ffa700)}.economy h2{font-weight:1000;font-style:italic;letter-spacing:-.6px;font-size:clamp(23px,2.55vw,36px);line-height:1.09;margin:0}.economy p{font-size:clamp(11px,1.13vw,15px);line-height:1.31;margin:clamp(13px,1.35vw,19px) 0}.economy-perks{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:0 0 18px}.perk{display:flex;align-items:center;gap:9px}.perk .icon{width:30px;height:30px;color:#ffce66;border:1px solid #b58029;border-radius:50%;padding:5px}.perk strong{font-size:clamp(10px,1vw,13px);color:#ffd879;display:block}.perk small{font-size:clamp(9px,.85vw,11px);color:#c2d2e1;display:block}.economy .buttons{display:flex;gap:11px}.economy .buttons .btn{min-width:clamp(135px,16vw,220px)}
/* Footer */
.footer{border-top:1px solid #24607b;background:linear-gradient(150deg,#061825,#020e19);padding:clamp(20px,2.6vw,36px) 0 15px}.footer-inner{display:grid;grid-template-columns:1.4fr repeat(5,1fr) 1.15fr;gap:clamp(16px,2.4vw,34px)}.foot-logo img{display:block;width:clamp(135px,16vw,220px);mix-blend-mode:screen;margin-bottom:8px}.foot-col strong{display:block;font-size:clamp(11px,1vw,14px);margin:0 0 9px}.foot-col a{display:block;color:#adc7d8;font-size:clamp(9px,.86vw,12px);margin:0 0 7px}.foot-col a:hover{color:var(--cyan)}.foot-social{display:flex;flex-direction:column;justify-content:space-between;align-items:flex-end;gap:15px}.foot-social .icons{display:flex;gap:15px;font-size:22px;font-weight:900}.status{white-space:nowrap;font-size:clamp(9px,.85vw,11px)}.status:before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:#35f66e;margin-right:7px;box-shadow:0 0 8px #35f66e}.foot-bottom{font-size:10px;color:#5d8194;border-top:1px solid #13374c;margin-top:22px;padding-top:10px;display:flex;justify-content:space-between;gap:12px}
/* Modal demo interactions */
.overlay[hidden]{display:none}.overlay{position:fixed;z-index:100;inset:0;background:#010814cc;display:grid;place-items:center;padding:16px;backdrop-filter:blur(9px)}.dialog{width:min(100%,510px);max-height:90vh;overflow:auto;border:1px solid #277996;border-radius:13px;background:linear-gradient(140deg,#0d2a40,#041523);box-shadow:0 18px 85px #000b,0 0 27px #00a5d01b;padding:24px}.dialoghead{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:16px}.dialog h2{margin:0;font-size:24px;font-style:italic}.close{background:transparent;color:#bbd8e8;border:1px solid #356a84;border-radius:5px;width:32px;height:32px;font-size:21px}.dialog p{color:#b9d2e2;font-size:13px}.dialog input{display:block;width:100%;background:#031525;border:1px solid #32728f;color:#fff;padding:11px;border-radius:6px;margin:6px 0 14px;outline:none}.dialog label{font-size:12px;color:#d9eefa}.packages{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:15px 0 18px}.package{color:#edfcff;background:#071d2e;border:1px solid #356a81;border-radius:9px;padding:15px}.package strong,.package small{display:block}.package strong{font-size:22px}.package small{color:#ffcf83}.package.selected{border-color:#07e8ff;box-shadow:inset 0 0 15px #04dcff31}.note{margin-top:14px;font-size:11px!important;color:#80a7be!important}.notice{display:none;color:#a9fff3!important;border:1px solid #1d8f9c;padding:10px;border-radius:6px;margin-top:12px}.notice.show{display:block}.profilepic{width:54px;height:54px;border:1px solid #41b3e2;border-radius:50%;background:#12384d;display:grid;place-items:center;font-size:24px;color:#6bdeff}
@media(max-width:1030px){.nav{gap:17px}.actions{gap:6px}.hero .buttons .btn{min-width:0}.news-item{grid-template-columns:29% minmax(0,1fr) 15px;gap:8px}.news-item p{font-size:9px}.feature{gap:6px}.feature .icon{height:20px;width:20px}.stat{gap:8px}.stat-icon{width:35px;height:35px}.footer-inner{gap:15px}}
@media(max-width:800px){.shell{width:min(calc(100% - 26px),670px)}.topbar{min-height:62px}.topbar .inner{min-height:62px}.logo{width:230px}.mobile-nav-button{display:inline-flex}.nav{display:none;position:absolute;top:62px;left:0;right:0;background:#041827;border-bottom:1px solid #2a738d;padding:18px 24px;flex-direction:column;align-items:stretch;gap:0;box-shadow:0 14px 27px #000b}.nav.show{display:flex}.nav a{padding:12px 4px;border-bottom:1px solid #163c51;font-size:14px}.actions .btn.sm{display:none}.actions{margin-left:auto}.hero{height:525px}.hero-art{width:100%;height:345px;bottom:auto;opacity:.87;background-size:cover;background-position:65% top}.hero:after{width:100%;bottom:0;background:linear-gradient(90deg,#021321d9 0%,#0213213b 90%),linear-gradient(0deg,#021421 0%,#02142169 40%,transparent 70%)}.hero-content{padding:48px 23px}.hero h1{font-size:clamp(43px,8.2vw,66px)}.hero p{font-size:14px;max-width:380px}.hero .buttons{flex-wrap:wrap}.features{height:112px;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(2,1fr)}.feature{height:60%;padding:0 5px}.feature:nth-child(3){border:0}.feature .icon{height:23px;width:23px}.feature strong{font-size:12px}.feature small{font-size:9px}.stat-grid{grid-template-columns:repeat(2,1fr);gap:10px;margin:15px 0 20px}.stat{height:78px}.stat .amount{font-size:20px}.stat .label{font-size:10px}.leaders{grid-template-columns:1fr;gap:12px}.leader-head{height:75px}.leader-label{height:29px}.leader-row{min-height:38px;font-size:12px}.heading h2{font-size:27px}.heading p{font-size:11px}.section{margin-top:21px}.news-grid{grid-template-columns:1fr}.featured-art{height:205px}.featured-content h3{font-size:22px}.featured-content p{font-size:13px}.news-list{grid-template-rows:repeat(4,85px)}.news-item{grid-template-columns:145px minmax(0,1fr) 22px}.news-item h3{font-size:13px}.news-item p{font-size:11px}.battles{grid-template-columns:repeat(2,1fr)}.battle-photo{height:110px}.battle h3{font-size:13px}.battle-meta,.battle-desc{font-size:11px}.economy{grid-template-columns:1fr}.economy-image{min-height:310px;background-position:center 34%}.economy-copy{padding:27px 22px}.economy h2{font-size:30px}.economy p{font-size:14px}.economy-perks{margin:7px 0 20px}.footer-inner{grid-template-columns:repeat(3,1fr);gap:24px}.foot-logo img{width:170px}.foot-social{align-items:flex-start}.footer{padding-top:30px}}
@media(max-width:510px){.shell{width:calc(100% - 22px)}.topbar .inner{gap:6px}.logo{width:183px}.hero{height:565px}.hero-art{height:365px;background-position:59% top}.hero-content{padding:40px 17px}.strap{font-size:8px;max-width:100%;white-space:normal}.hero h1{font-size:43px;margin:15px 0}.hero p{font-size:13px;max-width:280px}.hero .buttons{gap:9px}.hero .buttons .btn{min-height:40px;font-size:11px;padding:0 12px}.features{height:142px;grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(3,1fr)}.feature:nth-child(3){border-right:1px solid #1c5066}.feature:nth-child(even){border:0}.feature strong{font-size:11px}.feature small{font-size:9px}.stat-grid{gap:8px}.stat{padding:8px;height:75px}.stat-icon{width:31px;height:31px}.stat .amount{font-size:15px}.stat .label{font-size:8px}.stat .detail{font-size:9px}.heading{flex-wrap:wrap;align-items:start;gap:8px}.heading h2{font-size:23px}.heading p{font-size:10px}.heading .emblem svg{height:23px;width:23px}.section-link{font-size:10px}.leader-head{height:69px}.leader-head h3{font-size:14px}.leader-label,.leader-row{grid-template-columns:26px minmax(90px,1fr) minmax(98px,auto);padding:0 9px}.leader-row{min-height:34px;font-size:11px}.leader-label{font-size:9px}.newsfilters{width:100%;overflow-x:auto;order:3}.filter{flex:1;min-width:49px;padding:5px 7px}.featured-art{height:160px}.featured-content h3{font-size:18px}.featured-content p{font-size:11px}.news-list{grid-template-rows:repeat(4,96px)}.news-item{grid-template-columns:102px minmax(0,1fr) 15px;gap:7px}.news-item h3{font-size:11px}.news-item p{font-size:9px}.news-item .icon{width:14px}.battles{gap:9px}.battle-photo{height:72px}.battle-body{padding:8px}.battle h3{font-size:11px}.battle-meta,.battle-desc{font-size:9px}.battle-time{font-size:9px}.battle-earn{float:none;display:block}.economy-image{min-height:235px}.economy h2{font-size:25px}.economy p{font-size:12px}.economy-perks{gap:8px}.perk small{font-size:9px}.economy .buttons .btn{min-width:0;flex:1;padding:0 9px}.footer-inner{grid-template-columns:repeat(2,1fr);gap:23px}.footer .foot-logo{grid-column:span 2}.foot-social{grid-column:span 2;flex-direction:row;align-items:center}.foot-bottom{display:block;line-height:1.6}.actions .mobile-nav-button{width:34px}.topbar .inner{min-height:56px}.topbar{min-height:56px}.nav{top:56px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* ================================================================
   V3: One shared content grid, consistent across every page.
   Import /css/starline.css on any additional STARLINE FRONTIER page.
   News artwork is intentionally maintained in /assets/news/.
   ================================================================ */
:root { --width: 1390px; --page-gutter: clamp(11px, 2.2vw, 26px); }
html { width: 100%; max-width: 100%; }
body { width: 100%; max-width: 100%; }
main, .topbar, .footer { min-width: 0; }
.shell, .hero, .economy {
  box-sizing: border-box;
  width: min(calc(100% - (var(--page-gutter) * 2)), var(--width));
  max-width: var(--width);
  margin-inline: auto;
}
.hero { border-left: 1px solid #174054; border-right: 1px solid #174054; }
.hero-art { background-size: cover; background-position: center 45%; }
.hero-content { width: 100%; max-width: 100%; }
.hero::after { pointer-events: none; }
.stat-grid, .leaders, .news-grid, .battles, .footer-inner { min-width: 0; }
.stat-grid > *, .leaders > *, .news-grid > *, .battles > * { min-width: 0; }
.stat .amount { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.economy {
  margin-top: clamp(14px, 1.5vw, 22px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border: 1px solid #1e607c;
  border-radius: 10px;
  overflow: hidden;
}
.economy-image { min-width: 0; background-size: cover; background-position: 49% center; }
.economy-copy { min-width: 0; }
.economy-title { min-width: 0; }
.economy h2 { min-width: 0; overflow-wrap: anywhere; }
.economy-perks > * { min-width: 0; }
.news-list, .news-item, .featured { min-width: 0; }
.news-item > div { min-width: 0; }
.featured-art { background-size: cover; }
.battle-photo { background-size: cover; }
.footer { margin-top: 22px; }
.footer-inner > * { min-width: 0; }
/* Keep the desktop image visible without stretching across the whole monitor. */
@media (min-width: 801px) {
  .hero { height: clamp(365px, 30vw, 455px); }
  .hero-art { bottom: clamp(44px, 4.5vw, 60px); }
  .hero::after { bottom: clamp(44px, 4.5vw, 60px); }
  .hero-content { padding: clamp(28px, 3.1vw, 43px) clamp(22px, 3.1vw, 44px); }
  .features { height: clamp(44px, 4.5vw, 60px); }
  .feature { min-width: 0; }
  .feature > div { min-width: 0; }
  .feature small { white-space: normal; line-height: 1.1; }
}
@media (min-width: 801px) and (max-width: 1120px) {
  .logo { width: clamp(178px, 21vw, 230px); }
  .topbar .inner { gap: 12px; }
  .nav { gap: clamp(9px, 1.3vw, 18px); }
  .nav a { font-size: 11px; }
  .actions .btn { padding-inline: 10px; }
  .feature .icon { height: 19px; width: 19px; }
  .feature { gap: 5px; }
  .feature strong { font-size: 10px; }
  .feature small { font-size: 8px; }
  .stat { padding: 9px; gap: 7px; }
  .stat .amount { font-size: clamp(13px, 1.6vw, 18px); }
  .stat .label { font-size: 9px; }
  .stat-icon { width: 35px; height: 35px; }
}
@media (max-width: 800px) {
  .shell, .hero, .economy {
    width: calc(100% - var(--page-gutter) * 2);
    max-width: var(--width);
  }
  .hero { border-radius: 0; }
  .hero-art { background-size: cover; background-position: 62% 30%; }
  .economy { grid-template-columns: minmax(0, 1fr); }
  .economy-image { min-width: 0; aspect-ratio: 2.25 / 1; height: auto; min-height: 0; }
  .economy-copy { padding: 22px; }
  .economy h2 { font-size: clamp(23px, 4.4vw, 33px); }
  .economy .buttons { flex-wrap: wrap; }
  .footer { margin-top: 18px; }
}
@media (max-width: 510px) {
  .topbar .inner { gap: 5px; }
  .hero { height: 575px; }
  .hero-art { background-position: 61% 15%; }
  .hero-content { padding: 32px 16px; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stat { gap: 5px; }
  .stat > div:last-child { min-width: 0; }
  .stat-icon { width: 27px; height: 27px; }
  .stat .label { font-size: 8px; letter-spacing: 0; }
  .stat .amount { font-size: clamp(13px, 3.35vw, 16px); }
  .stat .detail { font-size: 9px; }
  .economy-image { aspect-ratio: 1.8 / 1; background-position: 48% center; }
  .economy-copy { padding: 19px 16px; }
  .economy h2 { font-size: 23px; }
  .economy p { font-size: 12px; }
  .news-grid > *, .battles > *, .leaders > * { max-width: 100%; }
  .news-item { min-width: 0; }
  .news-item h3, .news-item p { overflow-wrap: anywhere; }
  .footer-inner { min-width: 0; }
}
@media (max-width: 350px) {
  .logo { width: 155px; }
  .hero .buttons .btn { font-size: 10px; padding-inline: 8px; }
  .stat .label { font-size: 7px; }
  .stat .amount { font-size: 12px; }
  .stat .detail { font-size: 8px; }
  .stat { padding: 5px; }
  .stat-icon { width: 23px; height: 23px; }
  .feature .icon { width: 19px; height: 19px; }
}


/* Header artwork crops contain illustrations only, not overlaid mockup titles. */
.leader-head::before { background-size: auto, 42% auto; background-position: center, right center; background-repeat:no-repeat; }


/* ==========================================================================
   STARLINE FRONTIER V4 — high-resolution artwork and predictable responsive layout
   Shared stylesheet for this site and future subpages.
   Artwork is kept at native aspect ratio. No fixed-height image masks.
   ========================================================================== */
:root { --width: 1390px; --page-gutter: clamp(12px, 2.2vw, 28px); }
html { overflow-x: clip; scroll-padding-top: 95px; }
body { overflow-x: clip; }
.shell, .hero, .economy {width:min(calc(100% - 2 * var(--page-gutter)),var(--width));margin-inline:auto;max-width:var(--width)}
main {padding-top: 17px}
.topbar {box-shadow:0 4px 20px #00bfff17;border-bottom-color:#10516a}
.topbar .inner {max-width: var(--width)}
/* Stage artwork is an actual image, so no planet, ship, or station is
   inadvertently cropped by background-size:cover. The HUD is layered on top. */
.hero {height:auto; overflow:hidden; border:1px solid #256a87;border-radius:11px;background:#041728;isolation:isolate;box-shadow:0 0 26px #007fba1a}
.hero-stage {position:relative;isolation:isolate;min-width:0}
.hero-stage::after {content:'';position:absolute;inset:0;z-index:0;pointer-events:none;background:linear-gradient(90deg,#031321fc 0%,#041a2eea 22%,#05203785 44%,#06172507 65%)}
.hero-art {position:relative;inset:auto;z-index:0;display:block;width:100%;height:auto;filter:none;background:none}
.hero-art img {display:block;width:100%;height:auto;aspect-ratio:1916/821;object-fit:contain;max-width:none}
.hero::before, .hero::after {display:none}
.hero-content {position:absolute;z-index:2;top:0;left:0;width:100%;max-width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;padding:clamp(24px,3.2vw,49px) clamp(21px,3.3vw,49px)}
.hero-content .strap {align-self:flex-start}
.hero h1 {font-size:clamp(36px,4.5vw,66px);margin:20px 0 8px}
.hero p {font-size:clamp(12px,1.18vw,16px);max-width:440px;line-height:1.48}
.hero .buttons {flex-wrap:wrap}
.hero .buttons .btn {min-width:0; padding:0 24px;min-height:46px}
.features {position:relative;bottom:auto;left:auto;right:auto;height:auto;min-height:67px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));padding:8px 0;align-items:center;background:#03131fea;border-top:1px solid #1b6c87}
.feature {height:100%;padding:4px 8px;gap:9px;min-width:0}
.feature > div {min-width:0}
.feature .icon {width:24px;height:24px}
.feature small {white-space:normal}
.stat-grid {margin-top:19px;margin-bottom:23px}
.section {margin-top:20px}
/* Leader headers: right-hand art windows made from independent HQ files;
   text remains real HTML and will not be hidden underneath artwork. */
.leader-head {height:85px;overflow:hidden;background:linear-gradient(100deg,#062b40,#102332);isolation:isolate}
.leader-head::before {content:'';z-index:-1;inset:0;opacity:1;background:linear-gradient(90deg,#062a3ee8 0%,#072637ee 48%,#08203022 100%),url('../assets/site/leader-trade.webp') right center/auto 100% no-repeat!important}
.hunter .leader-head::before {background:linear-gradient(90deg,#2a1d2cee 0%,#2b2030ef 48%,#21182a33 100%),url('../assets/site/leader-hunt.webp') right center/auto 100% no-repeat!important}
.pirate .leader-head::before {background:linear-gradient(90deg,#271839ef 0%,#231a36f0 48%,#21162f18 100%),url('../assets/site/leader-pirates.webp') right center/auto 100% no-repeat!important}
.leader-head h3 {font-size:clamp(11px,1.05vw,15px)}
.leader-head p {font-size:10px}
/* News cards: complete artwork stays visible with image elements. */
.news-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:18px}
.featured {display:flex;flex-direction:column;min-width:0}
.featured-art {position:relative;display:block;width:100%;height:auto;min-height:0;background:none;aspect-ratio:1672/941;overflow:visible}
.featured-art img {display:block;width:100%;height:auto;aspect-ratio:1672/941;object-fit:contain}
.featured-badge {z-index:1;top:12px;left:13px}
.featured-content {flex:1;display:flex;flex-direction:column;padding:17px 21px}
.featured-content h3 {font-size:clamp(17px,1.65vw,23px);margin-bottom:9px}
.featured-content p {font-size:clamp(11px,1.03vw,14px);line-height:1.37}
.featured-content .social {margin-top:auto;padding-top:11px}
.news-list {display:grid;grid-template-rows:repeat(4,minmax(0,1fr));gap:9px;min-height:0}
.news-item {display:grid;grid-template-columns:clamp(120px,13vw,190px) minmax(0,1fr) 20px;gap:11px;align-items:center;padding:9px 10px;min-height:0;overflow:visible;border:1px solid #1e5068;background:#061b2c;min-width:0}
.news-item img {display:block;width:100%;height:auto;aspect-ratio:1672/941;object-fit:contain;border-radius:5px;min-width:0}
.news-item > div {min-width:0}
.news-item h3 {font-size:clamp(11px,1.03vw,14px);line-height:1.2}
.news-item p {font-size:clamp(10px,.85vw,12px);line-height:1.24}
.news-item .age {margin-top:4px}
.news-item .icon {width:18px}
/* Battle cards use natural-height images; previously fixed-height backgrounds
   caused only narrow image strips to be visible. */
.battles {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:stretch}
.battle {min-width:0;display:flex;flex-direction:column}
.battle-photo {position:relative;height:auto;min-height:0;background:none}
.battle-photo img {display:block;width:100%;height:auto;aspect-ratio:1672/941;object-fit:contain}
.battle-body {display:flex;flex-direction:column;flex:1;padding:13px 14px}
.battle h3 {font-size:clamp(11px,.96vw,14px);line-height:1.28;margin:0 0 10px}
.battle-earn {float:none;display:block;font-size:clamp(11px,.9vw,13px);margin-bottom:6px}
.battle-meta {margin-bottom:4px}
.battle-desc {margin:8px 0 0;min-height:0;clear:none}
.battle-time {margin-top:auto;padding-top:10px}
/* Economy artwork is preserved at its original 16:9 aspect ratio. */
.economy {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch;min-height:0;overflow:hidden;border:1px solid #21607c;border-radius:11px;margin-top:25px}
.economy-image {min-width:0;min-height:0;background:none;display:flex;align-items:center}
.economy-image img {display:block;width:100%;height:auto;aspect-ratio:1672/941;object-fit:contain}
.economy-copy {min-width:0;padding:25px clamp(19px,2.4vw,33px);justify-content:center}
.economy h2 {font-size:clamp(22px,2.36vw,33px)}
.economy p {font-size:clamp(12px,1.03vw,14px)}
.economy .buttons {flex-wrap:wrap}
.economy .buttons .btn {min-width:0;flex:1}
.footer {margin-top:23px}
@media (max-width:1080px) and (min-width:801px){
  .hero-content {padding:20px 25px}
  .hero h1 {font-size:clamp(36px,4.2vw,48px);margin:12px 0 6px}
  .hero p {max-width:380px;margin:9px 0 12px}
  .hero .buttons .btn {min-height:38px}
  .features {min-height:62px}
  .news-item {grid-template-columns:minmax(110px,31%) minmax(0,1fr) 15px;gap:8px}
  .news-item p {font-size:10px}
}
@media (max-width:800px){
  main {padding-top:10px}
  .hero {height:auto}
  .hero-stage {display:flex;flex-direction:column;background:#031a29}
  .hero-stage::after {display:none}
  .hero-art {height:auto;width:100%;opacity:1;filter:none}
  .hero-art img {display:block;width:100%;height:auto;max-height:none;object-fit:contain}
  .hero-content {position:relative;top:auto;left:auto;display:block;height:auto;width:100%;padding:22px 25px 25px;background:linear-gradient(140deg,#06243c,#031320)}
  .hero h1 {font-size:clamp(35px,6.8vw,52px);margin:10px 0}
  .hero p {font-size:14px;max-width:550px}
  .hero .buttons .btn {min-height:43px}
  .features {height:auto;min-height:0;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:none;gap:0;padding:8px 2px}
  .feature {height:auto;min-height:55px;justify-content:flex-start;padding:10px 11px}
  .feature:nth-child(3n) {border-right:0}
  .feature:nth-child(3) {border-right:0}
  .feature .icon {height:22px;width:22px}
  .news-grid {grid-template-columns:minmax(0,1fr)}
  .news-list {grid-template-rows:none;grid-auto-rows:auto}
  .news-item {grid-template-columns:145px minmax(0,1fr) 24px;padding:10px;min-height:112px}
  .news-item h3 {font-size:14px}
  .news-item p {font-size:12px}
  .battles {grid-template-columns:repeat(2,minmax(0,1fr))}
  .economy {grid-template-columns:1fr}
  .economy-image {height:auto;min-height:0;aspect-ratio:auto}
  .economy-image img {width:100%;height:auto;aspect-ratio:1672/941;object-fit:contain}
  .economy-copy {padding:27px}
  .leader-head {height:84px}
}
@media(max-width:510px){
  .hero {height:auto}
  .hero-art {height:auto}
  .hero-content {padding:22px 16px 24px}
  .hero p {max-width:100%;font-size:13px}
  .hero h1 {font-size:clamp(34px,9vw,46px)}
  .hero .buttons {display:grid;grid-template-columns:1fr 1fr;gap:9px}
  .hero .buttons .btn {width:100%;min-width:0;font-size:11px;min-height:43px;padding:0 6px;white-space:normal;text-align:center}
  .features {height:auto;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none}
  .feature {height:auto;min-height:53px;border-right:1px solid #1c5066}
  .feature:nth-child(odd) {border-right:1px solid #1c5066}
  .feature:nth-child(even) {border-right:0}
  .feature small {font-size:9px}
  .feature strong {font-size:11px}
  .news-grid {gap:12px}
  .featured-art {height:auto;aspect-ratio:1672/941}
  .featured-content {padding:13px 14px}
  .featured-content h3 {font-size:18px}
  .featured-content p {font-size:12px}
  .news-item {grid-template-columns:minmax(92px,34%) minmax(0,1fr);gap:9px;padding:8px;min-height:0}
  .news-item .icon {display:none}
  .news-item h3 {font-size:12px}
  .news-item p {font-size:10px}
  .news-item .age {font-size:9px}
  .battles {grid-template-columns:minmax(0,1fr);gap:12px}
  .battle-photo {height:auto}
  .battle h3 {font-size:14px}
  .battle-meta,.battle-desc {font-size:12px}
  .battle-body {padding:12px}
  .economy-image {height:auto;min-height:0;aspect-ratio:auto}
  .economy-copy {padding:20px 17px}
  .economy p {font-size:12px}
  .economy-perks {grid-template-columns:1fr;gap:12px}
}
@media (max-width:370px) { .news-item p {display:none} .news-item h3 {font-size:12px} }
/* Keep category buttons inside the news panel at tablet and phone widths. */
@media (max-width:800px) {
  #news > .heading {flex-wrap:wrap;}
  #news .newsfilters {flex:0 0 100%; width:100%; max-width:100%; overflow:visible;}
  #news .filter {flex:1 1 0; min-width:0; padding:6px 7px; white-space:nowrap;}
}
