.vessel-body { background:#0f172a; margin:0; color:#f1f5f9; }
.vessel-page { max-width: 800px; margin: 60px auto; padding: 20px; font-family: Inter, Arial, sans-serif; }
.vessel-page h1 { font-size: 28px; font-weight: 800; margin: 0 0 8px; color: #f8fafc; }
.vessel-page .subtitle { color: #94a3b8; font-size: 14px; margin-bottom: 24px; }
.vessel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.vessel-card { background: #111827; border: 1px solid #1f2937; border-radius: 12px; padding: 14px; }
.vessel-card-label { font-size: 11px; color: #64748b; text-transform: uppercase; letter-spacing: .3px; }
.vessel-card-value { margin-top: 4px; font-size: 16px; font-weight: 700; color: #f8fafc; }
.back-link { display: inline-block; margin-bottom: 20px; color: #38bdf8; text-decoration: none; font-size: 14px; }
.back-link:hover { text-decoration: underline; }
.map-preview { width: 100%; height: 300px; border: 1px solid #1f2937; border-radius: 12px; overflow: hidden; margin-bottom: 24px; }
.map-cta { display: inline-block; background: #2563eb; color: #fff; padding: 12px 20px; border-radius: 10px; text-decoration: none; font-weight: 700; font-size: 14px; }
.map-cta:hover { background: #1d4ed8; }
.map-cta-secondary { background:#1e293b; color:#38bdf8; border-color:#334155; }
.vessel-silhouette-img { width:100%; max-width:480px; opacity:.6; display:block; margin:0 0 20px; }
.vessel-cta-row { margin-bottom:16px; display:flex; gap:10px; flex-wrap:wrap; }
.vessel-data-source { font-size:13px; color:#94a3b8; }
.vessel-h1-sub { color:#64748b; font-size:14px; margin:-4px 0 8px; }
.sanctions-badge { display:inline-flex; align-items:center; gap:6px; background:#3d0000; border:1px solid #7f1d1d; border-radius:8px; padding:6px 14px; margin-top:8px; margin-bottom:4px; }
.sanctions-icon { font-size:16px; }
.sanctions-title { color:#ef4444; font-weight:800; font-size:13px; text-transform:uppercase; letter-spacing:.5px; }
.sanctions-list { color:#f87171; font-size:12px; }
.sanctions-reason { color:#f87171; font-size:12px; margin-bottom:8px; }
.vessel-destination-card,.equasis-card { background:#0f1f35; border:1px solid #1e3a5f; border-radius:12px; padding:14px 16px; margin-bottom:20px; }
.vessel-destination-label,.equasis-title { font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:#475569; margin-bottom:10px; }
.vessel-destination-row { font-size:16px; display:flex; align-items:center; gap:8px; }
.vessel-destination-icon { font-size:18px; }
.vessel-destination-link { color:#38bdf8; font-weight:700; text-decoration:none; }
.vessel-destination-text { color:#f1f5f9; font-weight:600; }
.vessel-position-card { background:#111827; border:1px solid #1f2937; border-radius:12px; padding:14px; margin-bottom:20px; }
.vessel-position-title { font-size:13px; font-weight:700; text-transform:uppercase; color:#38bdf8; margin-bottom:6px; }
.vessel-position-value { font-size:16px; font-weight:700; color:#f8fafc; }
.vessel-position-actions { margin-top:10px; }
.vessel-position-link { color:#38bdf8; font-size:13px; font-weight:600; }
.equasis-table { width:100%; border-collapse:collapse; }
.equasis-label { color:#94a3b8; font-size:12px; padding:6px 0; white-space:nowrap; }
.equasis-value { color:#f1f5f9; font-weight:600; padding:6px 0 6px 16px; }
.equasis-status-service { color:#4ade80; }
.equasis-status-laid { color:#f59e0b; }
.equasis-status-other { color:#94a3b8; }
.equasis-source-note { color:#475569; font-size:11px; margin-top:8px; text-align:right; }
.port-call-destination { color:#94a3b8; }
.vessel-voyage-map { width:100%; height:280px; border-radius:12px; border:1px solid #1f2937; margin-bottom:16px; }
@media (max-width: 600px) {
  .vessel-page { margin: 12px auto 28px; padding: 16px; font-size: 15px; line-height: 1.55; }
  .vessel-page h1 { font-size: 25px; line-height: 1.15; }
  .vessel-page .subtitle, .back-link, .map-cta { font-size: 15px; }
  .back-link, .map-cta { min-height: 44px; display: inline-flex; align-items: center; box-sizing: border-box; }
  .vessel-grid { grid-template-columns: 1fr; gap: 10px; }
  .vessel-card { padding: 14px 15px; }
  .vessel-card-label { font-size: 12px; line-height: 1.35; }
  .vessel-card-value { font-size: 16px; line-height: 1.35; overflow-wrap: anywhere; }
  .section-title, .vessel-news-title { font-size: 16px; line-height: 1.35; }
  .port-calls-table { font-size: 14px; line-height: 1.4; }
  .port-calls-table th { font-size: 12px; padding: 10px 12px; }
  .port-calls-table td { padding: 11px 12px; }
  .call-type-badge { font-size: 12px; padding: 4px 8px; }
  .similar-name, .vessel-news-card-title { font-size: 15px; line-height: 1.35; }
  .similar-meta, .vessel-news-card-date { font-size: 13px; line-height: 1.4; }
  footer { font-size: 13px; line-height: 1.5; }
}
footer{background:#0c1322;border-top:1px solid #1e293b;padding:18px 24px;text-align:center;color:#475569;font-size:13px}
footer a{color:#475569;text-decoration:none}
.vessel-news { margin-top: 28px; }
.vessel-news-title { font-size: 15px; font-weight: 700; color: #f8fafc; margin-bottom: 12px; }
.vessel-news-card { display: block; background: #111827; border: 1px solid #1f2937; border-radius: 10px; padding: 12px 16px; margin-bottom: 8px; text-decoration: none; transition: border-color .15s, background .15s; }
.vessel-news-card:hover { background: #172033; border-color: #334155; }
.vessel-news-card-title { font-size: 14px; font-weight: 600; color: #f8fafc; margin-bottom: 3px; }
.vessel-news-card-date { font-size: 12px; color: #94a3b8; }
/* Port calls */
.section-title { font-size: 15px; font-weight: 700; color: #f8fafc; margin: 28px 0 12px; }
.port-calls-table { width: 100%; border-collapse: collapse; font-size: 13px; background: #111827; border: 1px solid #1f2937; border-radius: 12px; overflow: hidden; }
.port-calls-table th { text-align: left; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: #64748b; padding: 9px 14px; background: #0c1322; border-bottom: 1px solid #1f2937; }
.port-calls-table td { padding: 10px 14px; border-bottom: 1px solid #1f2937; color: #cbd5e1; vertical-align: middle; }
.port-calls-table tr:last-child td { border-bottom: none; }
.port-calls-table tr:hover td { background: #172033; }
.call-type-badge { display: inline-block; font-size: 9px; font-weight: 700; padding: 2px 7px; border-radius: 4px; text-transform: uppercase; letter-spacing: .3px; }
.call-arr { background: #dcfce7; color: #166534; }
.call-dep { background: #fee2e2; color: #991b1b; }
.call-in  { background: #eff6ff; color: #1d4ed8; }
.call-exp { background: #fef9c3; color: #854d0e; }
.port-link-cell { color: #38bdf8; text-decoration: none; font-weight: 500; }
.port-link-cell:hover { text-decoration: underline; }
/* Similar vessels */
.similar-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin-top: 0; }
.similar-card { background: #111827; border: 1px solid #1f2937; border-radius: 10px; padding: 12px 14px; text-decoration: none; display: block; transition: border-color .15s, background .15s; }
.similar-card:hover { background: #172033; border-color: #334155; }
.similar-name { font-size: 13px; font-weight: 700; color: #f8fafc; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.similar-meta { font-size: 11px; color: #94a3b8; }
@media (max-width: 600px) { .port-calls-table th:nth-child(n+3), .port-calls-table td:nth-child(n+3) { display: none; } }

/* Final mobile overrides live after the base rules so Yandex sees readable text. */
@media (max-width: 600px) {
  .vessel-page .call-type-badge { font-size: 12px !important; line-height: 18px !important; min-height: 24px; padding: 4px 9px !important; box-sizing: border-box; }
  .vessel-page .port-calls-table th { font-size: 12px !important; line-height: 1.35 !important; padding: 10px 12px !important; }
  .vessel-page .similar-meta { font-size: 13px !important; line-height: 1.45 !important; }
  .vessel-page .port-link-cell { display: inline-flex; align-items: center; min-height: 24px; line-height: 1.35; font-size: 14px; }
  .vessel-page .destination-label, .vessel-page [style*="font-size:11px"][style*="text-transform:uppercase"] { font-size: 13px !important; line-height: 1.35 !important; }
  .ssr-nav .topbar-support-btn, .ssr-nav .topbar-icon-btn, .ssr-nav #langToggle { min-height: 32px; min-width: 32px; font-size: 14px; line-height: 1.2; }
  .ssr-nav .ssr-nav-tab, .ssr-nav .topbar-tab { min-height: 32px; font-size: 13px; line-height: 1.2; }
}
