@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
:root{color-scheme:dark;--bg:#020c16;--panel:#061320;--line:#20374c;--text:#eff6ff;--muted:#94abc3;--blue:#2f7bff;--cyan:#24c8ff;--green:#27f49b}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:13px Inter,system-ui,sans-serif;overflow:hidden}button,input,select{font:inherit;color:inherit}button,a,select{touch-action:manipulation}a{color:inherit;text-decoration:none}button{cursor:pointer}button:disabled,input:disabled{cursor:not-allowed;opacity:.42}button,a,input,select{outline-offset:3px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--cyan)}button,select{border:1px solid var(--line);background:linear-gradient(145deg,#0a1d2e,#030e19);border-radius:10px}button:hover,a:hover{border-color:#477a9c}button svg,i svg{width:19px;height:19px;vertical-align:middle}i{display:inline-flex;font-style:normal}input{background:none;border:0;min-width:0;outline:none}.market-header{height:64px;display:flex;gap:22px;align-items:center;padding:0 23px;border-bottom:1px solid #173044;background:#020c16}.brand{display:flex;align-items:center;gap:12px;font-size:24px;letter-spacing:-.7px}.brand svg{width:34px;height:34px;fill:none;stroke:#28aaff;stroke-width:4;stroke-linecap:round}.market-header nav{display:flex;height:100%;align-items:center;gap:26px;margin-left:18px;white-space:nowrap}.market-header nav a{height:100%;display:grid;align-items:center;position:relative;font-size:12px;color:#c3d4e7}.market-header nav a.active{color:#23caff}.market-header nav a.active:after{content:'';height:2px;background:#1abaff;position:absolute;bottom:0;left:-8px;right:-8px;box-shadow:0 0 10px #168bff}.global-search{display:flex;align-items:center;gap:10px;flex:1;min-width:160px;max-width:390px;height:40px;padding:0 12px;border:1px solid #2b4660;border-radius:24px;color:#9cb2cb}.global-search input{width:100%;font-size:11px}.global-search kbd{white-space:nowrap;background:#112033;border:1px solid #2b4158;padding:3px;border-radius:4px;font-size:9px}.portfolio{display:grid;gap:3px;font-variant-numeric:tabular-nums;white-space:nowrap}.portfolio small{font-size:10px;color:var(--muted)}.portfolio b{font-size:14px}.portfolio span{color:var(--green);font-size:12px;font-weight:700}.header-spark{width:76px;fill:none;stroke:#24eed4;stroke-width:1.4}.market-status{background:none;border:0;border-left:1px solid var(--line);border-radius:0;padding-left:18px;display:grid;grid-template-columns:8px 1fr;gap:4px 10px;white-space:nowrap;text-align:left;color:#25e7cd;font-size:12px}.market-status small{grid-column:2;color:var(--muted);font-size:10px}.live-dot{width:7px;height:7px;border-radius:50%;background:#18e6c8;margin-top:4px}.header-icon{border-left:1px solid var(--line);padding-left:15px}.avatar{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(140deg,#277ad2,#123371);border:1px solid #398ee1}.icon-rail{position:fixed;top:64px;left:0;bottom:0;width:76px;display:flex;flex-direction:column;border-right:1px solid #172d40;background:#030d18;padding-top:10px;gap:5px}.icon-rail a,.icon-rail button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;height:80px;min-height:62px;border:0;background:none;font-size:11px;color:#a8bfd7;border-radius:15px}.icon-rail i svg{width:23px;height:23px}.icon-rail .active{background:linear-gradient(90deg,#073d76,#06213d);color:white;border-left:3px solid #1fa7ff}.icon-rail .active i{color:#24c8ff}.icon-rail .rail-bottom{margin-top:auto}.markets-workspace{height:calc(100dvh - 64px);margin-left:76px;display:grid;grid-template-columns:minmax(0,1fr) 402px;gap:0;min-width:0}.world-workspace{position:relative;min-width:0;overflow:hidden;border:1px solid #233c51;border-radius:22px 22px 0 0;background:#03121e}.world-workspace #worldMap{position:absolute;inset:0}.map-shade{position:absolute;inset:0;pointer-events:none;background:linear-gradient(0deg,#020c1666,transparent 35%,transparent 85%,#020c1633)}.map-toolbar{position:absolute;top:20px;left:16px;right:20px;display:flex;align-items:center;gap:8px;z-index:5;flex-wrap:wrap}.port-search{display:flex;align-items:center;gap:9px;border:1px solid var(--line);background:#03111de6;border-radius:12px;padding:0 12px;height:38px;width:274px;color:#afc6dd}.port-search input{font-size:11px;width:100%}.map-toolbar select,.map-toolbar>button{height:38px;font-size:11px;padding:0 12px;display:flex;align-items:center;gap:6px}.view-modes{margin-left:auto;display:flex;background:#03101ce6;border:1px solid var(--line);border-radius:12px}.view-modes button{height:36px;display:flex;gap:8px;align-items:center;border:1px solid transparent;background:none;padding:0 14px;font-size:11px}.view-modes .active{border-color:#21c8ff;background:#005eac33;box-shadow:inset 0 0 18px #197de52b}.glass{background:linear-gradient(120deg,#071625e8,#02101cec);border:1px solid #29445d;border-radius:16px;box-shadow:0 6px 28px #0005;backdrop-filter:blur(10px)}#cardLayer{position:absolute;inset:0;pointer-events:none;overflow:hidden}.port-card{position:absolute;width:170px;min-height:78px;display:grid;grid-template-columns:25px 1fr 54px;text-align:left;gap:4px 7px;padding:10px;background:linear-gradient(125deg,#092239ee,#03111de8);border:1px solid #416682;border-radius:13px;color:white;pointer-events:auto;box-shadow:0 8px 22px #0008;transition:border-color .16s}.port-card .anchor{grid-row:1/4;background:#008cff;border:1px solid #5bcaff;border-radius:50%;width:24px;height:24px;display:grid;place-items:center;box-shadow:0 0 10px #006cff80}.port-card .anchor svg{width:18px;height:18px}.port-card .name{font-size:12px;white-space:nowrap;grid-column:2/4}.port-card .ticker{font-size:9px;color:#9db8d0;grid-column:2/4}.port-card .price{font-weight:600;grid-column:2}.port-card .change{font-size:11px;color:var(--green);grid-column:2}.port-card svg.spark{grid-column:3;grid-row:3/5;width:54px;height:28px;fill:none;stroke:#24edb2;stroke-width:1.4}.port-card.selected{width:168px;min-height:86px;background:linear-gradient(115deg,#075696e8,#06335bd9);border:2px solid #24c8ff;box-shadow:0 0 12px #079aff88,inset 0 0 17px #008cff36}.port-card.selected .anchor{height:42px;width:32px;border-radius:12px}.port-card.selected .ticker,.port-card.selected .spark{display:none}.port-card.selected .name{font-weight:700}.port-card.selected .price{font-size:18px}.port-card.selected .change{font-size:15px}.ocean{position:absolute;color:#67849d;letter-spacing:2px;font-size:13px;text-align:center;line-height:1.5;pointer-events:none}.atlantic{left:30%;top:29%}.pacific{left:5%;top:53%}.indian{left:64%;top:61%}.southern{left:48%;bottom:21%;letter-spacing:4px}.bottom-left{position:absolute;left:14px;bottom:24px;z-index:4;max-width:calc(100% - 280px)}.legend{display:flex;gap:16px;padding:13px 11px;font-size:10px;white-space:nowrap;width:max-content;max-width:100%;flex-wrap:wrap;margin-bottom:16px}.legend span{display:flex;align-items:center;gap:6px}.dot{width:9px;height:9px;border-radius:50%;display:inline-block}.green{background:#22ec85}.amber{background:#ffb425}.red{background:#ff3e5b}.line{width:23px;height:2px;background:#009bff}.line.dotted{background:none;border-top:1px dashed #72b7e4}.market-summary{width:430px;max-width:100%;padding:17px 19px 10px}.market-summary header{display:flex;justify-content:space-between;border-bottom:1px solid #203547;padding-bottom:10px;font-size:13px}.market-summary strong,.positive{color:var(--green)}.market-summary>div{display:grid;grid-template-columns:1fr 1fr 1fr;margin-top:13px}.market-summary p{margin:0;display:grid;gap:5px;border-right:1px solid #263e53;padding-left:20px}.market-summary p:first-child{padding-left:0}.market-summary p:last-child{border:0}.market-summary p>b{font-size:17px}.market-summary p>span{font-size:11px;color:#a6bed5}.market-summary>small{display:block;font-size:8px;color:#7992a9;margin-top:11px}.layer-panel{position:absolute;right:13px;bottom:24px;width:244px;padding:12px 17px;z-index:5}.layer-panel>button{display:flex;justify-content:space-between;width:100%;border:0;background:none;padding:0 0 12px;font-size:13px}.layer-panel label{display:flex;align-items:center;gap:10px;font-size:11px;margin-bottom:8px;flex-wrap:wrap}.layer-panel label small{font-size:8px;color:#7890a6;margin-left:29px;margin-top:-7px}.layer-panel input{accent-color:#087cff;width:18px;height:18px;margin:0}.layer-panel #layerOptions>small{font-size:8px;color:#7890a6}.map-utilities{position:absolute;bottom:26px;right:274px;display:flex;gap:5px}.map-utilities button{height:37px;width:34px;font-size:21px;border-radius:50%;background:#031320b8}.port-panel{min-width:0;margin:0 2px 10px 0;border:1px solid #233c51;border-radius:21px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#2a4862 transparent;background:linear-gradient(145deg,#081624,#020c16)}.port-photo{height:148px;margin:9px 9px 0;position:relative;overflow:hidden;border-radius:13px}.port-photo img{width:100%;height:100%;object-fit:cover;filter:brightness(.76) saturate(.9)}.major-badge{position:absolute;top:16px;left:16px;font-size:10px;display:flex;align-items:center;gap:5px;padding:5px 8px;background:#07527b66;border:1px solid #2780a96b;border-radius:8px}.major-badge svg{width:14px;height:14px;color:cyan}.port-photo button{position:absolute;right:10px;top:12px;font-size:20px;width:27px;height:27px;padding:0;border-radius:8px;background:#021321a8}.panel-content{padding:10px 20px 13px}h1{font-size:20px;line-height:1.4;margin:0 0 3px;font-weight:700;letter-spacing:-.6px}h1 small{font-size:12px;font-weight:400;letter-spacing:0;color:#9eb4cc}.port-location{font-size:11px;color:#b7cce0;margin:4px 0 17px}.selected-price{display:flex;gap:13px;align-items:center;font-variant-numeric:tabular-nums}.selected-price>b{font-size:42px;letter-spacing:-1px}.selected-price>strong{font-size:17px;color:var(--green)}.chart-periods{display:flex;margin:12px 0 3px;justify-content:space-between}.chart-periods button{border:0;background:transparent;font-size:10px;padding:5px 15px;color:#9ab1ca;border-radius:5px}.chart-periods .active{background:linear-gradient(#17425e,#0a263c);color:white;box-shadow:inset 0 -1px #54e2fd}.chart-box{height:105px;position:relative}.chart-box svg{width:100%;height:95px}.chart-box small{font-size:7px;color:#68849e;position:absolute;bottom:0;left:0}.port-description{font-size:12px;line-height:1.65;color:#b7c9db;margin:17px 0 15px}.trade-actions{display:flex;gap:10px}.trade-button{display:flex;justify-content:center;align-items:center;gap:20px;flex:1;min-height:42px;border:1px solid #42b9ff;border-radius:10px;background:linear-gradient(120deg,#0a9aff,#0345ff);font-weight:600}.trade-button[aria-disabled=true]{background:#15283c;border-color:#30435a;pointer-events:none;color:#90a4b8}.trade-button span{margin-left:auto;padding-right:10px}.trade-actions>button{width:42px;color:#ffbb38}.market-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-top:17px;padding-bottom:13px;border-bottom:1px solid #203347}.market-stats p{margin:0;display:grid;gap:7px}.market-stats small{font-size:10px;color:#829ab3}.market-stats b{font-size:12px}dl{font-size:10px;margin:10px 0 19px;display:grid;grid-template-columns:45% 55%;row-gap:9px}dt{color:#91a9c3;display:flex;align-items:center;gap:10px}dt svg{width:14px;height:14px}dd{margin:0;text-align:right;line-height:1.35}.panel-footer{display:flex;gap:8px;align-items:stretch}.panel-footer a,.panel-footer button{display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid #344c65;background:#081727;border-radius:9px;padding:11px;font-size:10px;white-space:nowrap}.panel-footer a{flex:1}.panel-footer svg{width:15px;height:15px}.data-note{display:block;font-size:8px;color:#6e879e;line-height:1.5;margin-top:9px}#mapStatus{position:absolute;bottom:2px;left:10px;z-index:7;font-size:9px;background:#03111ee0;padding:5px;border-radius:5px;max-width:65%}#noResults{position:absolute;top:90px;left:25px;background:#0c243c;padding:16px;border-radius:10px;z-index:8}dialog{background:#071827;color:#edf6ff;border:1px solid #315473;border-radius:16px;max-width:min(460px,90vw);padding:24px}dialog::backdrop{background:#0009}dialog p{line-height:1.6;color:#afc5da}dialog button{padding:10px 18px}#toast{position:fixed;left:50%;bottom:25px;transform:translateX(-50%);z-index:50;background:#0c2943;border:1px solid #3273a2;padding:12px 20px;border-radius:10px;max-width:90vw}.maplibregl-ctrl-attrib{background:#03111edb!important;color:#7892aa!important;font-size:8px!important}.maplibregl-ctrl-attrib a{color:inherit!important}[hidden]{display:none!important}.markets-workspace.panel-closed{grid-template-columns:1fr}.markets-workspace.panel-closed .port-panel{display:none}
@media(min-width:1500px){.map-toolbar{flex-wrap:nowrap}.map-toolbar .port-search{flex:1;min-width:185px}.map-toolbar select{max-width:112px}.map-toolbar button{white-space:nowrap}}
@media(max-width:1450px){.market-header{gap:13px;padding:0 16px}.market-header nav{gap:17px;margin-left:0}.header-spark{display:none}.markets-workspace{grid-template-columns:minmax(0,1fr) 360px}.view-modes{margin-left:auto}.map-toolbar{right:12px;left:12px;top:13px}.port-search{width:220px}.market-summary{width:360px}.legend{gap:10px}.bottom-left{max-width:calc(100% - 225px)}.layer-panel{width:200px;padding:12px}.map-utilities{right:224px}.panel-content{padding:10px 14px}.selected-price>b{font-size:36px}.selected-price>strong{font-size:15px}}
@media(max-width:1150px){.market-header nav a:nth-child(n+4){display:none}.portfolio,.market-status small{display:none}.markets-workspace{grid-template-columns:minmax(0,1fr) 325px}.market-summary{width:300px}.legend{display:none}.layer-panel{width:175px}.bottom-left{max-width:calc(100% - 190px)}.map-utilities{right:194px;bottom:200px}.port-card{width:145px;grid-template-columns:23px 1fr}.port-card .spark{display:none!important}.port-card.selected{width:150px}.selected-price>strong{font-size:13px}.market-summary p{padding-left:7px}.market-summary p>span{font-size:9px}}
@media(max-width:800px){body{overflow:auto}.market-header{position:sticky;top:0;z-index:20;height:60px}.market-header nav,.market-status,.header-icon{display:none}.brand{font-size:20px}.global-search{margin-left:auto}.icon-rail{top:60px;width:56px}.icon-rail a,.icon-rail button{font-size:9px;height:68px;gap:7px}.icon-rail i svg{width:20px;height:20px}.markets-workspace{margin-left:56px;height:auto;min-height:calc(100dvh - 60px);grid-template-columns:1fr}.world-workspace{height:720px;border-radius:14px}.port-panel{margin:8px;border-radius:14px;max-height:none}.port-photo{height:190px}.map-toolbar{gap:6px}.port-search{width:100%}.map-toolbar select,.map-toolbar>button{padding:0 8px;font-size:10px;height:32px}.view-modes{margin-left:0}.view-modes button{font-size:10px;padding:0 10px}.bottom-left{left:8px;bottom:25px;max-width:calc(100% - 16px)}.market-summary{width:100%;padding:12px}.layer-panel{bottom:155px;right:8px;width:174px}.map-utilities{right:8px;bottom:365px}.ocean{font-size:10px}.port-card{width:130px;min-height:62px;padding:7px;gap:2px 5px}.port-card.selected{width:138px;min-height:70px}.port-card .name{font-size:10px}.port-card .ticker{font-size:8px}.port-card .price{font-size:12px}.port-card.selected .price{font-size:16px}.port-card.selected .change{font-size:12px}.port-panel h1{font-size:23px}.panel-content{padding:15px}.selected-price>b{font-size:40px}.selected-price>strong{font-size:17px}.data-note{font-size:10px}.port-description{font-size:13px}.chart-box{height:125px}.chart-box svg{height:115px}.market-stats small,dl{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
#cardLayer.mobile-cards{inset:155px 0 auto;height:94px;display:flex;overflow-x:auto;gap:8px;padding:8px;pointer-events:auto;scrollbar-width:thin;background:#03101d55}#cardLayer.mobile-cards .port-card{align-self:flex-start}.port-panel .port-photo:has(img[hidden]){height:70px;background:linear-gradient(120deg,#0a2d49,#061521)}
.reference-vessel{color:#f6dfc3;filter:drop-shadow(0 0 3px #26afff);pointer-events:none}.reference-vessel svg{width:16px;height:16px}
