/* =========================================================
   Menu burger bersama (js/menu.js) — situs utama Info Sekitar & portal berita /news.
   Warna sama dengan css/info.css: aksen teal, netral slate (logo iB juga teal).
   ========================================================= */
.mn { --mn-accent: #0f766e; --mn-soft: #f0fdfa; --mn-text: #111827; --mn-text-2: #4b5563; --mn-muted: #6b7280; --mn-line: #e5e7eb;
  position: fixed; inset: 0; z-index: 200; visibility: hidden; font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
.mn.show { visibility: visible; }
.mn__backdrop { position: absolute; inset: 0; background: rgba(11,18,32,.5); opacity: 0; transition: opacity .22s; }
.mn.show .mn__backdrop { opacity: 1; }
.mn__panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(320px, 86vw); display: flex; flex-direction: column; background: #fff; color: var(--mn-text);
  box-shadow: 8px 0 32px rgba(11,18,32,.18); transform: translateX(-100%); transition: transform .25s ease; }
.mn.show .mn__panel { transform: none; }
.mn__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 60px; padding: 0 12px 0 16px; border-bottom: 1px solid var(--mn-line); flex: none; }
.mn__brand { display: inline-flex; align-items: center; gap: 10px; font-family: 'Source Serif 4', Georgia, serif; font-size: 23px; font-weight: 700; letter-spacing: -.5px; line-height: 1; color: var(--mn-text); text-decoration: none; }
.mn__brand b { font-weight: 700; color: var(--mn-accent); }
.mn__brand small { font-family: 'Inter', system-ui, sans-serif; font-size: .5em; font-weight: 600; letter-spacing: 0; color: var(--mn-muted); margin-left: 1px; }
.mn__mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--mn-accent); color: #fff; font-weight: 800; font-size: 14px; letter-spacing: -.5px; }
.mn__close { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 8px; border: 1px solid var(--mn-line); background: #fff; color: var(--mn-text-2); cursor: pointer; }
.mn__close:hover { color: var(--mn-text); background: #f3f4f6; }
.mn__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 6px 10px calc(20px + env(safe-area-inset-bottom)); }
.mn__label { margin: 16px 8px 6px; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mn-muted); }
.mn-link { display: flex; align-items: center; gap: 12px; padding: 10px 10px; border-radius: 8px; font-size: 14.5px; font-weight: 500; color: var(--mn-text-2); text-decoration: none; }
.mn-link svg { flex: none; color: var(--mn-muted); }
.mn-link:hover { background: #f3f4f6; color: var(--mn-text); }
.mn-link.is-on { background: var(--mn-soft); color: var(--mn-accent); font-weight: 600; }
.mn-link.is-on svg { color: var(--mn-accent); }
.mn-link--signal, .mn-link--signal svg { color: #d6282b; }
.mn__cats { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 8px 8px; }
.mn-cat { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--mn-line); font-size: 13px; font-weight: 500; color: var(--mn-text-2); text-decoration: none; }
.mn-cat i { width: 8px; height: 8px; border-radius: 3px; background: var(--c); }
.mn-cat:hover { border-color: var(--c); color: var(--mn-text); }
.mn-cat.is-on { border-color: var(--c); background: color-mix(in srgb, var(--c) 10%, #fff); color: var(--mn-text); font-weight: 600; }
html.mn-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .mn__backdrop, .mn__panel { transition: none; } }

/* Tombol burger — sama di header kedua situs, hanya di HP */
.mn-burger { display: none; place-items: center; flex: none; width: 38px; height: 38px; padding: 0; border-radius: 8px; border: 1px solid #d1d5db; background: #fff; color: #374151; cursor: pointer; }
.mn-burger:hover { background: #f3f4f6; color: #111827; }
@media (max-width: 768px) { .mn-burger { display: grid; } }
@media (max-width: 380px) { .mn-burger { width: 36px; height: 36px; } }

/* Bar atas bersama (tanggal, jam WIB, update terakhir) — sama di Info Sekitar, /news, dan SignalAI; diisi js/menu.js */
.ib-top { background: #0b1220; color: #cbd5e1; font: 400 12.5px/1 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
.ib-top__inner { display: flex; align-items: center; gap: 18px; height: 32px; min-width: 0; }
.ib-top__clock { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.ib-top__clock b { color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.ib-top__dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; flex: none; }
.ib-top__dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #22c55e; animation: ib-top-ping 1.8s ease-out infinite; }
@keyframes ib-top-ping { from { transform: scale(.5); opacity: .9; } to { transform: scale(1.4); opacity: 0; } }
.ib-top__updated { color: #5eead4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ib-top__links { margin-left: auto; display: flex; gap: 18px; white-space: nowrap; }
.ib-top__links a { color: #cbd5e1; text-decoration: none; }
.ib-top__links a:hover, .ib-top__links a.is-on { color: #fff; }
.ib-top .s { display: none; }
@media (max-width: 768px) { .ib-top__links { display: none; } .ib-top__updated { margin-left: auto; } }
@media (max-width: 520px) { .ib-top .l { display: none; } .ib-top .s { display: inline; } .ib-top__inner { gap: 10px; height: 30px; } .ib-top { font-size: 12px; } }
@media (orientation: landscape) and (max-height: 520px) { .ib-top__inner { height: 28px; } }
@media (prefers-reduced-motion: reduce) { .ib-top__dot::after { animation: none; } }
/* Penghitung pengunjung di bar atas */
.ib-top__visits { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; color: #e2e8f0; flex: none; }
.ib-top__visits:empty { display: none; }
.ib-top__visits svg { color: #94a3b8; }
.ib-top__on { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; margin-left: 4px; }
@media (max-width: 768px) { .ib-top__updated { margin-left: 0; } .ib-top__visits { margin-left: auto; } }
