:root {
    --ink: #0f1923; --ink2: #2d3f50; --muted: #7a8fa0; --bg: #f5f7f9;
    --card: #ffffff; --border: #e2e8ed; --green: #00a86b; --yellow: #f5a623;
    --red: #e8354a; --blue: #1a6ef5; --accent: #e8354a;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: var(--bg); color: var(--ink); min-height: 100vh; }
  header { background: var(--ink); padding: 0 20px; display: flex; align-items: center; justify-content: space-between; height: 56px; position: sticky; top: 0; z-index: 100; }
  .logo { display: flex; align-items: center; gap: 10px; }
  .logo-icon { width: 32px; height: 32px; background: var(--accent); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 16px; }
  .logo-text { font-size: 16px; font-weight: 700; color: #fff; letter-spacing: -0.3px; }
  .logo-sub { font-size: 10px; color: rgba(255,255,255,0.45); font-weight: 400; display: block; margin-top: -2px; }
  .lang-toggle { display: flex; background: rgba(255,255,255,0.08); border-radius: 6px; overflow: hidden; }
  .lang-btn { padding: 5px 10px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.5); cursor: pointer; border: none; background: transparent; transition: all 0.15s; }
  .lang-btn.active { background: var(--accent); color: #fff; }
  .hero { background: var(--ink); padding: 20px 20px 24px; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .hero-label { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
  .hero-title { font-size: 22px; font-weight: 800; color: #fff; line-height: 1.2; letter-spacing: -0.5px; }
  .hero-sub { font-size: 13px; color: rgba(255,255,255,0.45); margin-top: 4px; }
  .last-updated { display: inline-flex; align-items: center; gap: 5px; margin-top: 12px; font-size: 11px; color: rgba(255,255,255,0.35); background: rgba(255,255,255,0.05); padding: 4px 10px; border-radius: 20px; }
  .live-dot { width: 6px; height: 6px; background: var(--green); border-radius: 50%; animation: pulse 2s infinite; }
  @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
  main { max-width: 640px; margin: 0 auto; padding: 16px; }
  .weather-strip { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; margin-bottom: 16px; display: flex; align-items: center; justify-content: space-between; }
  .weather-main { display: flex; align-items: center; gap: 12px; }
  .weather-temp { font-size: 28px; font-weight: 800; color: var(--ink); letter-spacing: -1px; }
  .weather-details { display: flex; flex-direction: column; }
  .weather-feels { font-size: 12px; color: var(--muted); }
  .weather-wind { font-size: 12px; color: var(--muted); }
  .weather-advice { font-size: 12px; color: var(--ink2); font-weight: 500; max-width: 180px; text-align: right; line-height: 1.4; }
  .section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; margin-top: 20px; }
  .section-title { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
  .section-dir { font-size: 11px; color: var(--muted); background: var(--bg); padding: 3px 8px; border-radius: 4px; }
  .bridge-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 10px; overflow: hidden; }
  .bridge-header { padding: 12px 14px 10px; display: flex; align-items: flex-start; justify-content: space-between; }
  .bridge-name { font-size: 14px; font-weight: 700; color: var(--ink); }
  .bridge-hours { font-size: 11px; color: var(--muted); margin-top: 1px; }
  .bridge-status { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 20px; flex-shrink: 0; }
  .status-open { background: #dcfce7; color: #166534; }
  .status-closed { background: #fee2e2; color: #991b1b; }
  .lane-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border); }
  .lane-cell { padding: 10px 14px; border-right: 1px solid var(--border); }
  .lane-cell:last-child { border-right: none; }
  .lane-label { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted); margin-bottom: 4px; }
  .lane-time { font-size: 20px; font-weight: 800; letter-spacing: -0.5px; }
  .lane-unit { font-size: 10px; color: var(--muted); font-weight: 400; }
  .lane-lanes { font-size: 10px; color: var(--muted); margin-top: 1px; }
  .time-green { color: var(--green); } .time-yellow { color: var(--yellow); } .time-red { color: var(--red); } .time-na { color: var(--muted); font-size: 14px; }
  .construction-notice { padding: 8px 14px; font-size: 11px; color: #92400e; background: #fffbeb; border-top: 1px solid #fef3c7; line-height: 1.4; }
  .fastest-banner { background: linear-gradient(135deg, #00a86b, #00875a); border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; display: flex; align-items: center; justify-content: space-between; }
  .fastest-label { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.7); }
  .fastest-name { font-size: 15px; font-weight: 800; color: #fff; margin-top: 2px; }
  .fastest-time { font-size: 28px; font-weight: 800; color: #fff; letter-spacing: -1px; }
  .fastest-unit { font-size: 12px; color: rgba(255,255,255,0.7); }
  .southbound-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 10px; padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; }
  .sb-name { font-size: 13px; font-weight: 600; color: var(--ink); }
  .sb-note { font-size: 11px; color: var(--muted); margin-top: 2px; }
  .sb-status { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
  .sb-light { background: #dcfce7; color: #166534; } .sb-moderate { background: #fef9c3; color: #854d0e; }
  .sb-heavy { background: #fee2e2; color: #991b1b; } .sb-severe { background: #fce7f3; color: #9d174d; }
  .sb-mins { font-size: 18px; font-weight: 800; color: var(--ink); text-align: right; }
  .sb-mins-unit { font-size: 10px; color: var(--muted); font-weight: 400; }
  .subscribe-box { background: var(--card); border: 1.5px solid var(--border); border-radius: 12px; padding: 24px 20px; text-align: center; margin-top: 20px; }
  .subscribe-icon { font-size: 28px; margin-bottom: 8px; }
  .subscribe-title { font-size: 16px; font-weight: 800; color: var(--ink); margin-bottom: 4px; }
  .subscribe-sub { font-size: 13px; color: var(--muted); margin-bottom: 16px; line-height: 1.5; }
  .subscribe-form { display: flex; gap: 8px; max-width: 340px; margin: 0 auto 12px; }
  .subscribe-input { flex: 1; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 13px; outline: none; transition: border-color 0.15s; }
  .subscribe-input:focus { border-color: var(--blue); }
  .subscribe-btn { padding: 10px 16px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; border: none; border-radius: 8px; cursor: pointer; white-space: nowrap; }
  .subscribe-features { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
  .subscribe-feature { font-size: 11px; background: var(--bg); color: var(--ink2); padding: 4px 10px; border-radius: 20px; font-weight: 500; }
  .sb-locked { position: relative; }
  .sb-locked-overlay { position: absolute; inset: 0; backdrop-filter: blur(5px); background: rgba(245,247,249,0.7); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--muted); font-weight: 600; }
  .disclaimer { font-size: 11px; color: var(--muted); text-align: center; padding: 16px; line-height: 1.6; }
  .loading-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 32px; text-align: center; color: var(--muted); font-size: 13px; margin-bottom: 10px; }
  .spinner { width: 24px; height: 24px; border: 2px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.7s linear infinite; margin: 0 auto 10px; }
  @keyframes spin { to { transform: rotate(360deg); } }
  .error-card { background: #fef2f2; border: 1px solid #fecaca; border-radius: 12px; padding: 16px; text-align: center; color: var(--red); font-size: 13px; margin-bottom: 10px; }
  footer { text-align: center; padding: 24px 16px 32px; font-size: 11px; color: var(--muted); }
  .footer-logo { font-weight: 700; color: var(--ink); font-size: 13px; margin-bottom: 4px; }
.sponsor-bar{background:#e8354a;padding:7px 16px;display:flex;align-items:center;justify-content:center;gap:8px;}
.sponsor-label{font-size:9px;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:rgba(255,255,255,0.7);background:rgba(0,0,0,0.2);padding:2px 6px;border-radius:3px;white-space:nowrap;}
.sponsor-text{font-size:11px;font-weight:600;color:#fff;text-align:center;line-height:1.3;}
.header-main{padding:0 20px;display:flex;align-items:center;justify-content:space-between;height:56px;}
/* Add this single rule to styles.css, anywhere in the Northbound Queue
   Section block you pasted earlier (e.g. right after .nb-disclaimer) */

.nb-data-quality {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 10px;
}
