.s2b-flagmast{color:#133b49}.s2b-flagmast h2,.s2b-flagmast h3{font-size:1.15rem;margin:0 0 10px}.s2b-mast-note{color:#59717a;font-size:13px;margin:0 0 16px}.s2b-mast-pole{position:relative;border-left:3px solid #647b80;margin:12px 4px 18px 6px;padding:0 0 0 17px}.s2b-mast-pole:before{content:'';position:absolute;top:-4px;left:-6px;width:9px;height:9px;border-radius:50%;background:#dab54c}.s2b-mast-partner{display:flex;gap:12px;align-items:center;min-height:64px;padding:8px 0;color:#133b49;text-decoration:none}.s2b-mast-partner:hover strong{text-decoration:underline}.s2b-mast-partner strong,.s2b-mast-partner small{display:block;overflow-wrap:anywhere}.s2b-mast-partner small{font-size:12px;color:#59717a}.s2b-digital-flag{width:70px;height:42px;display:flex;align-items:center;justify-content:center;flex:0 0 auto;clip-path:polygon(0 0,100% 0,86% 50%,100% 100%,0 100%);background:#eff5f4;color:#24665e;border:1px solid #cbded9;padding:5px 12px 5px 6px;font-weight:700}.s2b-digital-flag img{max-width:100%;max-height:100%;object-fit:contain}.s2b-flagmast-compact{display:inline-flex!important;align-items:center;justify-content:center;min-width:44px;min-height:44px;border:0!important;border-radius:5px!important;background:transparent!important;padding:3px!important;cursor:pointer}.s2b-flagmast-compact .s2b-digital-flag{width:42px;height:29px;padding:3px 7px 3px 4px;font-size:11px}.s2b-mast-map-badge.leaflet-tooltip{padding:0;background:#fff;border:1px solid #cbded9;border-radius:6px;box-shadow:0 2px 8px #123b4920;pointer-events:auto;white-space:normal}.s2b-mast-map-badge:before{display:none}.s2b-mast-ship{display:flex;align-items:center;gap:12px;border-bottom:1px solid #d7e3e2;padding-bottom:12px;margin-bottom:16px}.s2b-mast-ship>div{display:grid;gap:3px;min-width:0}.s2b-mast-ship strong{font-size:15px}.s2b-mast-ship span,.s2b-mast-ship small{font-size:12px;white-space:normal}.s2b-mast-photo{width:95px;min-width:95px;margin:0;position:relative;line-height:1}.s2b-mast-photo>img:first-child{width:95px;height:65px;object-fit:cover;border-radius:7px}.s2b-mast-photo .s2b-mast-watermark{position:absolute;bottom:16px;right:3px;width:28px;height:auto;max-height:24px;object-fit:contain}.s2b-mast-photo figcaption{font-size:9px;line-height:1.3;margin-top:3px;white-space:normal;color:#59717a}.s2b-mast-hover{position:fixed;z-index:10050;border:1px solid #cbded9;border-radius:12px;background:#fff;color:#133b49;padding:16px;box-shadow:0 8px 30px #123b4933;max-height:calc(100dvh - 16px);overflow:auto;font-family:inherit}.s2b-mast-hover h3{font-size:16px;margin:0 0 5px}.s2b-mast-dialog{width:min(440px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 24px);overflow:auto;border:1px solid #cbded9;border-radius:14px;padding:22px;background:#fff;color:#133b49;margin:auto;box-shadow:0 12px 44px #123b4933}.s2b-mast-dialog::backdrop{background:#113b4977;backdrop-filter:blur(3px)}.s2b-mast-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.s2b-mast-dialog h2{font-size:21px;margin:0}.s2b-mast-dialog>header>button{width:44px;height:44px;border:1px solid #cbded9;border-radius:8px;background:#eff5f4;color:#133b49;font-size:24px}.ais-vessel-hover-content .s2b-mast-ship{max-width:340px}.ais-vessel-hover-content .s2b-mast-pole{max-width:300px}.ais-vessel-hover-tooltip{max-width:380px!important;white-space:normal!important}.s2b-mast-tab-empty{color:#59717a;padding:12px}.v4-controls>.s2b-flagmast-compact{margin-left:2px}
@media(max-width:480px){.s2b-mast-dialog{padding:16px}.s2b-mast-dialog .s2b-mast-ship{align-items:flex-start}.s2b-mast-photo{width:75px;min-width:75px}.s2b-mast-photo>img:first-child{width:75px;height:58px}}

.v4-tabs>button.v4-tab.s2b-mast-tab{flex:0 0 92px!important;min-width:92px!important;width:92px!important;white-space:nowrap}

.v4-data-heading:has(.s2b-mast-invite-link){flex-wrap:wrap;gap:6px}.v4-data-heading .s2b-mast-invite-link{margin:0 0 0 auto;padding:6px 8px;min-height:32px;display:inline-flex;align-items:center;font-size:12px;line-height:1.3;text-decoration:underline;max-width:100%;white-space:normal}.s2b-mast-actions{margin-top:14px}
