:root {
  --bg: #ffffff;
  --panel: #ffffff;
  --panel-2: #f4f5f7;
  --line: #e4e6ea;
  --text: #1d2330;
  --muted: #6b7280;
  --accent: #2563eb;
  --live: #e5484d;
  --top: 46px;
  --feed-w: 400px;
  --ticker-h: 36px;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text);
  font: 14px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, Tahoma, "Noto Sans Arabic", sans-serif; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

/* Yerleşim: solda harita (üstünde bölge sekmeleri), sağda tam boy haber sütunu */
.app { position: fixed; inset: 0; display: grid;
  grid-template-columns: minmax(0, 1fr) var(--feed-w); grid-template-rows: var(--top) minmax(0, 1fr) var(--ticker-h); }
.topbar { grid-column: 1; grid-row: 1; display: flex; align-items: center; gap: 14px; padding: 0 14px;
  border-bottom: 1px solid var(--line); min-width: 0; }
.mapwrap { grid-column: 1; grid-row: 2; position: relative; min-height: 0; }
#map { position: absolute; inset: 0; }
.feed { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-direction: column; min-height: 0;
  border-inline-start: 1px solid var(--line); background: var(--panel); }

/* Üst çubuk */
.logo { display: flex; align-items: center; gap: 8px; font-weight: 700; white-space: nowrap; }
/* Logo: yeşil ve sarı halka, ortada nabız gibi atan kırmızı nokta. Açık temada sarı koyulaşır. */
/* Amblem: mavi dünya (Gerdûn = dünya); daire maske köşelerdeki beyazı gizler. */
.logo-mark { width: 24px; height: 24px; flex: none; border-radius: 50%; object-fit: cover; display: block; }
/* Ad: "Gerdûn News" — logoyla aynı: kalın, tek renk, temaya göre açık/koyu. */
.brand-a, .brand-b { color: var(--text); font-weight: 800; }
.today { color: var(--muted); white-space: nowrap; font-size: 13px; }
.regions { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.regions::-webkit-scrollbar { display: none; }
.region { border: 0; background: none; padding: 6px 10px; border-radius: 6px; cursor: pointer; white-space: nowrap;
  color: var(--accent); font-weight: 600; }
.region:hover { background: #eef3fe; }
.region.active { background: var(--accent); color: #fff; }
.fin-btn { display: inline-flex; align-items: center; gap: 5px; }
/* Yer darsa önce kurlar küçülür: sığmayan fiyat alt satıra iner ve gizlenir, sekmeler hep görünür kalır. */
.fin-ticker { display: flex; flex-wrap: wrap; align-items: center; align-content: flex-start; column-gap: 14px; flex: 0 1000 auto; min-width: 0; height: 22px; line-height: 22px; overflow: hidden;
  border: 0; background: none; padding: 0 8px; border-radius: 6px;
  cursor: pointer; font: inherit; font-size: 12.5px; color: var(--text); white-space: nowrap; font-variant-numeric: tabular-nums; }
.fin-ticker[hidden] { display: none; }
.fin-ticker:hover { background: #eef3fe; }
.fin-ticker b { color: var(--muted); font-weight: 600; }
.fin-item { display: inline-flex; align-items: center; gap: 4px; }
.fin-ch { display: inline-flex; align-items: center; font-size: 11.5px; font-weight: 600; }
.fin-ch i { font-size: 13px; }
.fin-ch.up { color: #16803c; }
.fin-ch.down { color: #d92d20; }
.fin-group { margin: 10px 0 3px; font-size: 11.5px; font-weight: 700; color: var(--muted); }
.fin-group:first-child { margin-top: 0; }
.fin-table { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.fin-table th { text-align: start; font-weight: 500; }
.fin-table th, .fin-table td { padding: 4px 0; border-bottom: 1px solid var(--line); }
.fin-table td { text-align: end; padding-inline-start: 10px; white-space: nowrap; font-weight: 600; }
.notify-btn { margin-inline-start: auto; }
.notify-btn + .theme-btn { margin-inline-start: 0; }
.notify-btn.active { color: var(--accent); }
.notify-toggle { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; border: 0; border-radius: 8px; padding: 9px; cursor: pointer; font: inherit; font-weight: 600; background: var(--accent); color: #fff; }
.notify-toggle.on { background: var(--panel-2); color: var(--text); }
.tv-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #000; }
.tv-frame video { position: absolute; inset: 0; width: 100%; height: 100%; }
.tv-fail { display: grid; place-items: center; padding: 16px; text-align: center; font-size: 13px; color: #cbd5e6; }
.tv-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tv-list { display: flex; flex-wrap: wrap; gap: 5px; }
.tv-list button { border: 1px solid var(--line); background: none; color: var(--text); border-radius: 999px; padding: 4px 10px; cursor: pointer; font: inherit; font-size: 12px; }
.tv-list button:hover { border-color: var(--accent); }
.tv-list button.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.week-bars { display: flex; align-items: flex-end; gap: 4px; }
.week-bar { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; }
.week-bar b { font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; }
.week-bar span { width: 100%; max-width: 26px; border-radius: 4px 4px 0 0; background: var(--accent); }
.week-bar small { font-size: 10.5px; color: var(--muted); white-space: nowrap; }
.week-head { font-size: 11px; font-weight: 600 !important; color: var(--muted); }
.felt-btn { margin-top: 6px; }
.wx-chip { display: inline-flex; align-items: center; gap: 3px; border: 0; border-radius: 999px; padding: 2px 7px 2px 5px; cursor: pointer; font: 600 11.5px system-ui, sans-serif; background: rgba(15, 20, 32, 0.88); color: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.4); }
.wx-chip i { font-size: 14px; color: #ffd166; }
.wx-chip span { width: 8px; height: 8px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255,255,255,.5); }
.out-chip { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #c92a2a; color: #fff; text-decoration: none; box-shadow: 0 0 0 3px rgba(201,42,42,.35); }
.out-chip i { font-size: 16px; }
.about-text { margin: 0 0 6px; font-size: 13px; line-height: 1.55; }
.fin-note { margin: 10px 0 0; font-size: 11.5px; line-height: 1.4; color: var(--muted); }
@media (max-width: 1500px) { .today { display: none; } .region { padding: 6px 7px; } }
@media (max-width: 900px) { .fin-ticker { display: none; } }
.icon-btn { background: none; border: 0; font-size: 20px; cursor: pointer; padding: 4px 6px; margin-inline-start: auto; }
.mobile-only { display: none; }

/* Haber sütunu: sekmeler */
.feed-tabs { display: flex; height: var(--top); border-bottom: 1px solid var(--line); flex-shrink: 0; }
.ftab { flex: 1; border: 0; background: none; cursor: pointer; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 1px; font-size: 11px; color: var(--muted); border-bottom: 2px solid transparent; }
.ftab i { font-size: 18px; }
.ftab:hover { color: var(--text); }
.ftab.active { color: var(--accent); border-bottom-color: var(--accent); }

.feed-panel { padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--panel-2); display: grid; gap: 10px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 5px 12px; cursor: pointer; }
.seg button.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--muted); }
select { font: inherit; border: 1px solid var(--line); border-radius: 6px; padding: 4px 8px; background: #fff; color: var(--text); }

.feed-search { display: flex; align-items: center; gap: 8px; margin: 10px 14px 4px; padding: 0 10px;
  border: 1px solid var(--line); border-radius: 8px; color: var(--muted); }
.feed-search input { flex: 1; border: 0; outline: 0; padding: 8px 0; font: inherit; color: var(--text); background: none; min-width: 0; }
.status { padding: 2px 14px 8px; font-size: 12px; color: var(--muted); }
.topics { display: flex; gap: 6px; padding: 4px 14px 8px; overflow-x: auto; scrollbar-width: none; }
.topics::-webkit-scrollbar { display: none; }
.topics button { flex-shrink: 0; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 3px 11px;
  font-size: 12.5px; cursor: pointer; white-space: nowrap; }
.topics button.active { background: var(--text); border-color: var(--text); color: #fff; }

/* Haber kartları */
.list { list-style: none; margin: 0; padding: 0; overflow-y: auto; flex: 1; border-top: 1px solid var(--line); }
.item { padding: 14px 16px 14px 14px; border-bottom: 1px solid var(--line); cursor: pointer;
  border-inline-start: 3px solid transparent; }
.item:hover { background: #fafbfc; }
.item.active { border-inline-start-color: var(--live); background: #fff7f7; }
.item.new { border-inline-start-color: var(--live); }
.item .head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.item .when { color: var(--muted); font-size: 13px; }
.item .src { margin-inline-start: auto; font-weight: 600; color: var(--text); text-decoration: none; font-size: 13px;
  display: inline-flex; align-items: center; gap: 4px; max-width: 45%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item .src:hover { color: var(--accent); }
.item .row { display: flex; gap: 12px; align-items: flex-start; }
.item .title { flex: 1; min-width: 0; font-size: 15.5px; line-height: 1.45; overflow-wrap: anywhere; }
.item .thumb { width: 84px; height: 64px; object-fit: cover; border-radius: 6px; flex-shrink: 0; background: var(--panel-2); }
.item .meta { color: var(--muted); font-size: 12px; margin-top: 6px; }
.item .meta a { color: var(--accent); text-decoration: none; }
.badge { display: inline-block; margin-inline-end: 6px; padding: 0 5px; border-radius: 4px; background: var(--live);
  color: #fff; font-size: 10px; font-weight: 700; vertical-align: 2px; }

/* Kategori simgesi: renkli daire, beyaz kenar, beyaz piktogram */
.ico { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; color: #fff;
  font-size: 17px; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.35); }
.ico.sm { width: 22px; height: 22px; font-size: 13px; border-width: 1.5px; }

/* İşaret üzerine gelince çıkan küçük haber balonu (hover): başlık + zaman/yer/kaynak */
.hover-popup .maplibregl-popup-content { padding: 8px 10px; background: var(--panel); color: var(--text);
  border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 6px 20px rgba(0,0,0,.35); max-width: 260px; }
.hover-popup .maplibregl-popup-tip { display: none; }
.hv { display: flex; gap: 8px; align-items: flex-start; }
.hv-txt { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.hv-title { font-size: 13px; line-height: 1.3; font-weight: 600;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hv-meta { color: var(--muted); font-size: 11px; }

/* Küre: uzay arka planı */
#map { background: radial-gradient(ellipse at center, #0b1020 0%, #03050a 70%); }
.ico.iss { cursor: pointer; box-shadow: 0 0 0 4px rgba(112,72,232,.35), 0 1px 5px rgba(0,0,0,.6); }

/* Harita denetimleri (yakınlaştırma, küre, katmanlar, panel sıfırlama) */
.maplibregl-ctrl-group button { width: 34px; height: 34px; }
.maplibregl-ctrl-group button .ti { font-size: 18px; color: var(--text); }
.maplibregl-ctrl-group button.active .ti { color: var(--accent); }

/* Sürüklenebilir paneller */
.panel { position: absolute; z-index: 5; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.28); display: flex; flex-direction: column; max-height: calc(100% - 24px); overflow: hidden; }
.panel-head { display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 12px; border-bottom: 1px solid var(--line);
  font-weight: 600; font-size: 13px; cursor: grab; user-select: none; touch-action: none; flex-shrink: 0; }
.panel.dragging { opacity: .92; }
.panel.dragging .panel-head { cursor: grabbing; }
.panel-head > span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.panel-btn { border: 0; background: none; width: 26px; height: 26px; border-radius: 6px; display: grid; place-items: center;
  cursor: pointer; color: var(--muted); }
.panel-btn:hover { background: var(--panel-2); color: var(--text); }
.panel-body { overflow-y: auto; padding: 10px 12px; }
.panel.collapsed .panel-body { display: none; }
.panel.collapsed .panel-head { border-bottom: 0; }

.info-panel { top: 12px; inset-inline-start: 12px; width: 340px; }
/* Katman düğmesi her dilde sol altta; panel de onun yanında açılır. */
.layers-panel { bottom: 16px; left: 56px; width: 250px; }

/* Bilgi paneli içeriği */
.info-img { display: block; width: calc(100% + 24px); margin: -10px -12px 10px; max-height: 180px; object-fit: cover; }
.info-cat { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.info-cat .ico { width: 24px; height: 24px; font-size: 13px; border-width: 1.5px; }
.info-title { margin: 0 0 6px; font-size: 16px; line-height: 1.4; }
.info-orig { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.info-text { font-size: 13px; line-height: 1.5; margin: 0 0 8px; color: #374151; }
.info-facts { display: grid; grid-template-columns: 20px 1fr; gap: 5px 6px; margin: 8px 0; font-size: 12.5px; }
.info-facts dt { color: var(--muted); }
.info-facts dd { margin: 0; overflow-wrap: anywhere; }
.info-facts a, .info-open { color: var(--accent); text-decoration: none; }
.info-open { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 13px; }

.layer-list { display: grid; gap: 2px; }
.layer { display: flex; align-items: center; gap: 8px; padding: 4px 2px; cursor: pointer; font-size: 13px; }
.layer .n { margin-inline-start: auto; color: var(--muted); font-size: 12px; }
.check { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 8px; margin-top: 6px; }

@media (max-width: 900px) { :root { --feed-w: 340px; } .today { display: none; } }
@media (max-width: 760px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .logo #brandText { display: none; }
  .mobile-only { display: block; }
  .feed { grid-column: 1; grid-row: 2; position: relative; z-index: 1100; align-self: end; height: 50%;
    border-inline-start: 0; border-top: 1px solid var(--line); border-radius: 14px 14px 0 0; box-shadow: 0 -6px 20px rgba(0,0,0,.2); }
  .feed.hidden { display: none; }
  .info-panel { width: calc(100% - 24px); max-height: 45%; }
  .info-panel.page-mode { max-height: calc(100% - 130px); }
  .layers-panel { left: 56px; bottom: auto; top: 12px; }
}

/* Uçak bilgi paneli: fotoğraf, havayolu, kalkış → varış çubuğu, değer kutucukları */
.info-panel.air-mode { width: 370px; }
.air-photo { display: block; margin: -10px -12px 0; height: 190px; overflow: hidden; background: #111827; }
.air-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.air-photo.empty { display: grid; place-items: center; color: #fff; font-size: 64px;
  background: linear-gradient(135deg, var(--c), #1d2330); }
.credit { font-size: 10.5px; color: var(--muted); text-align: end; margin-top: 3px; }
.air-head { margin: 8px 0 10px; border-inline-start: 4px solid var(--c); padding-inline-start: 10px; }
.air-badge { font-size: 12px; color: var(--muted); }
.air-head h3 { margin: 1px 0 0; font-size: 22px; letter-spacing: .5px; }
.air-head h3 small { font-size: 13px; color: var(--muted); font-weight: 600; }
.route { display: flex; align-items: center; gap: 8px; background: var(--panel-2); border-radius: 10px; padding: 10px; margin-bottom: 10px; }
.apt { display: flex; flex-direction: column; min-width: 0; max-width: 32%; }
.apt b { font-size: 20px; letter-spacing: 1px; }
.apt span { font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.apt small { font-size: 10.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.route .apt:last-child { text-align: end; align-items: flex-end; }
.route-mid { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 60px; }
.route-track { position: relative; width: 100%; height: 4px; background: #d0d5dd; border-radius: 2px; }
.route-done { position: absolute; top: 0; bottom: 0; inset-inline-start: 0; background: #f59f00; border-radius: 2px; }
.route-track .ti { position: absolute; top: 50%; transform: translate(-50%, -50%) rotate(45deg); color: #f59f00;
  font-size: 18px; background: var(--panel-2); border-radius: 50%; }
[dir="rtl"] .route-track .ti { transform: translate(50%, -50%) rotate(-135deg); }
.route-mid small { font-size: 11px; color: var(--muted); }
.route-unknown { font-size: 12.5px; color: var(--muted); background: var(--panel-2); border-radius: 10px; padding: 10px;
  margin-bottom: 10px; text-align: center; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.tile { background: var(--panel-2); border-radius: 8px; padding: 7px 8px; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.tile .ti { color: var(--muted); font-size: 15px; }
.tile span { font-size: 10.5px; color: var(--muted); }
.tile b { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.air-foot { display: flex; justify-content: space-between; gap: 8px; margin-top: 10px; font-size: 11.5px; color: var(--muted); }
.air-foot a { color: var(--accent); text-decoration: none; font-weight: 600; white-space: nowrap; }
@media (max-width: 760px) { .info-panel.air-mode { width: calc(100% - 24px); } .air-photo { height: 150px; } }

/* Son dakika şeridi */
.ticker { grid-column: 1 / -1; grid-row: 3; display: flex; align-items: center; background: #111827; color: #e5e7eb;
  border-top: 1px solid #000; overflow: hidden; min-width: 0; }
.ticker-label { flex-shrink: 0; height: 100%; display: flex; align-items: center; gap: 6px; padding: 0 14px; background: var(--live);
  color: #fff; font-weight: 800; font-size: 12px; letter-spacing: .6px; white-space: nowrap; }
.ticker-label::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.ticker-viewport { flex: 1; overflow: hidden; height: 100%; display: flex; align-items: center; min-width: 0; }
.ticker-track { display: inline-flex; white-space: nowrap; animation: ticker 120s linear infinite; will-change: transform; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
[dir="rtl"] .ticker-track { animation-name: ticker-rtl; }
@keyframes ticker-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }
.tick { display: inline-flex; align-items: center; gap: 7px; padding: 0 18px; color: #e5e7eb; text-decoration: none; font-size: 13.5px;
  border-inline-end: 1px solid #374151; }
.tick:hover { color: #fff; text-decoration: underline; }
.tick .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.tick .when { color: #9ca3af; font-size: 12px; }
.tick .where { color: #9ca3af; font-size: 12px; }

/* Harita türü seçimi (Katmanlar paneli) */
.basemaps { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding-bottom: 8px; margin-bottom: 6px; border-bottom: 1px solid var(--line);
  font-size: 12px; color: var(--muted); }
.basemaps button { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 3px 9px; cursor: pointer; font-size: 12px; }
.basemaps button.active { background: var(--accent); border-color: var(--accent); color: #fff; }
@media (max-width: 760px) { :root { --ticker-h: 32px; } .ticker-label { padding: 0 8px; font-size: 11px; } }

/* Sokak fotoğrafları paneli ve haritadaki bakış oku */
.street-panel { right: 12px; bottom: 16px; width: 560px; }
[dir="rtl"] .street-panel { right: auto; left: 56px; }
.street-body { padding: 0; }
#streetViewer { position: relative; width: 100%; height: 340px; background: #000; }
.street-msg { padding: 12px 14px; font-size: 13px; color: var(--muted); }
.street-arrow { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #2bd44a; color: #fff;
  border: 2px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.5); font-size: 18px; }
/* Telefonda haber listesi ekranın altını kapladığı için panel üstte açılır. */
@media (max-width: 760px) { .street-panel { width: calc(100% - 24px); right: 12px; left: auto; top: 12px; bottom: auto; } #streetViewer { height: 240px; } }

/* İmralı yer imi: adanın üstünde altın sarısı işaret; tıklayınca önemli haberler listesi açılır. */
.imrali-mark { width: 34px; height: 34px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); border: 2px solid #b91c1c;
  background: #ffc61a; color: #7a1010; cursor: pointer; display: grid; place-items: center; padding: 0;
  box-shadow: 0 0 0 3px rgba(22, 128, 52, 0.85), 0 0 18px 6px rgba(255, 190, 30, 0.75); }
.imrali-mark i { transform: rotate(45deg); font-size: 18px; }
.imrali-mark:hover { filter: brightness(1.08); }
.imrali-ico { background: #ffc61a; color: #7a1010; }
.imrali-list { margin: 6px 0 0; padding-inline-start: 20px; font-size: 13px; line-height: 1.4; }
.imrali-list li { margin-bottom: 8px; }
.imrali-list a { color: inherit; text-decoration: none; font-weight: 600; }
.imrali-list a:hover { color: var(--accent); }
.imrali-list small { display: block; color: var(--muted); font-size: 11.5px; margin-top: 2px; }
.imrali-more { font-size: 12px; color: var(--muted); margin: 4px 0 0; }

/* ---------------- Uzay görünümü (space.js) ---------------- */
#space { position: fixed; inset: 0; z-index: 50; background: #000; color: #e8ecf4; opacity: 0; transition: opacity 0.45s; }
#space.show { opacity: 1; }
#space[hidden] { display: none; }
.sp-stage, .sp-stage canvas { position: absolute; inset: 0; }
.sp-labels { position: absolute; inset: 0; pointer-events: none; }
.sp-label { pointer-events: auto; border: 0; background: rgba(10, 14, 24, 0.55); color: #dfe6f3; font: 600 12.5px system-ui, sans-serif;
  padding: 3px 9px; border-radius: 999px; cursor: pointer; backdrop-filter: blur(3px); white-space: nowrap; }
.sp-label:hover { background: rgba(255, 196, 40, 0.85); color: #1a1205; }
.sp-label.earth { box-shadow: 0 0 0 1.5px #4dabf7; }
.sp-mark { pointer-events: auto; display: flex; align-items: center; gap: 5px; border: 0; padding: 3px 8px 3px 3px; border-radius: 999px;
  background: rgba(10, 14, 24, 0.7); color: #fff; font: 600 11.5px system-ui, sans-serif; cursor: pointer; white-space: nowrap; }
.sp-mark i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #ffc61a; color: #3a2400; font-size: 12px; }
.sp-mark:hover, .sp-mark.active { background: #ffc61a; color: #1a1205; }
.sp-mark.active i { background: #d62828; color: #fff; }
.sp-earth { display: none; }
.sp-bar { position: absolute; top: 14px; inset-inline-start: 14px; display: flex; gap: 8px; }
.sp-bar button, .sp-go, .sp-back { display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 10px; padding: 9px 14px;
  background: rgba(22, 28, 42, 0.85); color: #e8ecf4; font: 600 13.5px system-ui, sans-serif; cursor: pointer; }
.sp-bar button.primary, .sp-go { background: #1f6feb; color: #fff; }
.sp-bar button:hover, .sp-go:hover, .sp-back:hover { filter: brightness(1.15); }
.sp-card { position: absolute; top: 14px; bottom: 44px; inset-inline-end: 14px; width: 340px; overflow-y: auto; padding: 16px 18px;
  background: rgba(12, 16, 26, 0.86); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 14px; backdrop-filter: blur(6px);
  font: 13.5px/1.5 system-ui, sans-serif; }
.sp-card[hidden] { display: none; }
.sp-card h2 { margin: 0 0 6px; font-size: 22px; }
.sp-card h3 { margin: 16px 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: #ffc61a; }
.sp-card p { margin: 0 0 10px; color: #c9d1df; }
.sp-facts { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0; font-size: 13px; }
.sp-facts dt { color: #8b96a8; }
.sp-facts dd { margin: 0; font-weight: 600; }
.sp-hero { position: relative; margin: 8px 0 10px; border-radius: 10px; overflow: hidden; background: #05070c; }
.sp-hero img { display: block; width: 100%; max-height: 220px; object-fit: contain; }
.sp-hero figcaption { position: absolute; inset-inline-end: 6px; bottom: 4px; font-size: 10px; color: #cbd5e6; text-shadow: 0 1px 2px #000; }
.sp-video { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; }
.sp-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sp-note { font-size: 12px; line-height: 1.45; opacity: 0.8; margin: 6px 0; }
.sp-note a { color: #7fb0ff; white-space: nowrap; }
.sp-sun-now { display: block; width: 100%; border-radius: 10px; }
.sp-go { text-decoration: none; text-align: center; margin-top: 12px; width: 100%; justify-content: center; }
.sp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.sp-list button { display: flex; align-items: center; gap: 8px; width: 100%; border: 0; border-radius: 8px; padding: 7px 8px; text-align: start;
  background: rgba(255, 255, 255, 0.04); color: inherit; font: inherit; cursor: pointer; }
.sp-list button:hover { background: rgba(255, 198, 26, 0.15); }
.sp-list i { color: #ffc61a; font-size: 16px; }
.sp-back { padding: 6px 10px; font-size: 12.5px; margin-bottom: 10px; }
.sp-mark-head { display: flex; align-items: center; gap: 10px; }
.sp-mark-head i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #ffc61a; color: #3a2400; font-size: 20px; }
.sp-mark-head h2 { margin: 0; }
.sp-year { display: inline-block; margin: 8px 0; padding: 2px 10px; border-radius: 999px; background: #d62828; color: #fff; font-weight: 700; }
.sp-coord { color: #8b96a8; font-size: 12px; }
.sp-time { list-style: none; margin: 0; padding: 0; border-inline-start: 2px solid rgba(255, 198, 26, 0.5); }
.sp-time li { position: relative; padding: 0 0 12px 14px; padding-inline-start: 14px; }
.sp-time li::before { content: ''; position: absolute; inset-inline-start: -6px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: #ffc61a; }
.sp-time b { display: block; color: #ffd75e; font-size: 12.5px; }
.sp-time span { color: #c9d1df; }
.sp-live { font-size: 13px; }
.sp-kp { display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 8px; background: rgba(46, 170, 80, 0.18); }
.sp-kp.k1 { background: rgba(255, 170, 30, 0.2); }
.sp-kp.k2 { background: rgba(225, 35, 30, 0.25); }
.sp-sub { margin: 10px 0 4px; color: #8b96a8; font-size: 12px; }
.sp-flares { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.sp-flares li { display: flex; gap: 10px; align-items: center; }
.sp-flares b { min-width: 44px; text-align: center; border-radius: 6px; padding: 1px 6px; background: #3a4458; }
.sp-flares b.cM { background: #c77700; }
.sp-flares b.cX { background: #c62828; }
.sp-hint { position: absolute; bottom: 14px; inset-inline-start: 14px; inset-inline-end: 380px; color: #8b96a8; font: 12px system-ui, sans-serif; }
.sp-credit { position: absolute; bottom: 14px; inset-inline-end: 14px; color: #5f6b80; font: 11px system-ui, sans-serif; }
@media (max-width: 760px) {
  .sp-card { top: auto; bottom: 0; inset-inline: 0; width: auto; max-height: 48%; border-radius: 14px 14px 0 0; }
  .sp-hint { inset-inline-end: 64px; bottom: 30px; }
  .sp-card:not([hidden]) ~ .sp-hint, .sp-card:not([hidden]) ~ .sp-credit { display: none; }
  .sp-bar button span { display: none; }
  .sp-earth { display: grid; place-items: center; position: absolute; bottom: calc(var(--nav-h) + var(--ticker-h) + 12px); inset-inline-end: 10px; z-index: 3;
    width: 42px; height: 42px; border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 50%; background: #1f6feb; color: #fff; font-size: 22px;
    cursor: pointer; box-shadow: 0 2px 10px rgba(0, 0, 0, .4); }
  .sp-card:not([hidden]) ~ .sp-earth { display: none; }
}

/* Kaynak türü etiketi ve "N kaynak bildirdi" rozeti */
.st { display: inline-block; margin-inline-start: 4px; padding: 0 6px; border-radius: 999px; font-size: 10.5px; font-weight: 600;
  line-height: 16px; vertical-align: 1px; background: #eef1f6; color: #4b5563; }
.st-official { background: #fde8e8; color: #9b1c1c; }
.st-kurdish { background: #fff3cd; color: #7a5200; }
.st-independent { background: #e3f6e8; color: #1e6b35; }
.st-mainstream { background: #e8eefc; color: #2b4aa0; }
.st-international { background: #eef1f6; color: #4b5563; }
.more-src { display: inline-flex; align-items: center; gap: 3px; margin-inline-start: 6px; padding: 1px 7px; border-radius: 999px;
  background: #1f6feb; color: #fff; font-size: 11px; font-weight: 600; }
.info-sources { margin-top: 12px; padding-top: 10px; border-top: 1px solid #e5e7eb; font-size: 12.5px; }
.info-sources b { display: flex; align-items: center; gap: 5px; margin-bottom: 4px; }
.info-sources ul { margin: 0; padding-inline-start: 18px; }
.info-sources li { margin: 2px 0; }
.info-sources a { color: var(--accent); text-decoration: none; }
/* Paylaşma düğmeleri */
.share { display: flex; align-items: center; gap: 6px; margin-top: 12px; padding-top: 10px; border-top: 1px solid #e5e7eb; font-size: 12.5px; color: var(--muted); }
.share span { margin-inline-end: auto; }
.share a, .share button { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: #f1f3f7;
  color: #374151; font-size: 17px; cursor: pointer; text-decoration: none; }
.share a:hover, .share button:hover { background: #1f6feb; color: #fff; }
.share button.done { background: #2b9a3e; color: #fff; }

/* Özet şeridi: haritanın üstünde son 24 saatin sayaçları */
.summary { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; align-items: center; gap: 6px;
  max-width: calc(100% - 120px); overflow-x: auto; scrollbar-width: none; padding: 5px 6px; border-radius: 999px;
  background: rgba(15, 20, 32, 0.78); backdrop-filter: blur(6px); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35); }
.summary::-webkit-scrollbar { display: none; }
.summary .sum-title { padding: 0 6px; color: #9aa4b8; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.summary button { display: inline-flex; align-items: center; gap: 5px; border: 0; border-radius: 999px; padding: 5px 10px; white-space: nowrap;
  background: rgba(255, 255, 255, 0.07); color: #e6eaf2; font: 500 12.5px system-ui, sans-serif; cursor: pointer; }
.summary button b { font-weight: 700; }
.summary button:hover { background: rgba(255, 255, 255, 0.16); }
.summary button.active { background: #e5484d; color: #fff; }
/* Zaman kaydırıcısı */
.timeline { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; align-items: center; gap: 10px;
  width: min(560px, calc(100% - 140px)); padding: 8px 12px; border-radius: 14px; background: rgba(15, 20, 32, 0.85);
  backdrop-filter: blur(6px); color: #e6eaf2; font: 600 12.5px system-ui, sans-serif; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35); }
.timeline[hidden] { display: none; }
.timeline input { flex: 1; accent-color: #e5484d; }
.timeline button { display: grid; place-items: center; border: 0; border-radius: 999px; min-width: 32px; height: 32px; padding: 0 10px;
  background: rgba(255, 255, 255, 0.1); color: #fff; cursor: pointer; font: inherit; }
.timeline #tlLabel { min-width: 92px; text-align: center; white-space: nowrap; }
.timeline .tl-live.active { background: #e5484d; }
.maplibregl-ctrl-group button.active { background: #e7f0ff; color: #1f6feb; }
@media (max-width: 760px) {
  .summary { top: 8px; max-width: calc(100% - 16px); }
  .timeline { bottom: 8px; width: calc(100% - 70px); left: auto; right: 8px; transform: none; }
}

/* ---------------- Koyu tema ---------------- */
.theme-btn { margin-inline-start: auto; color: var(--muted); font-size: 19px; }
.theme-btn + .icon-btn { margin-inline-start: 0; }
:root[data-theme="dark"] { --bg: #0f1420; --panel: #131a27; --panel-2: #1b2333; --line: #263042; --text: #e6eaf2; --muted: #95a1b6;
  --accent: #6aa5ff; color-scheme: dark; }
:root[data-theme="dark"] .seg button, :root[data-theme="dark"] select, :root[data-theme="dark"] .topics button,
:root[data-theme="dark"] .basemaps button, :root[data-theme="dark"] .panel { background: var(--panel-2); }
:root[data-theme="dark"] .region:hover, :root[data-theme="dark"] .fin-ticker:hover { background: #1c2740; }
:root[data-theme="dark"] .fin-ch.up { color: #4ade80; }
:root[data-theme="dark"] .fin-ch.down { color: #f87171; }
:root[data-theme="dark"] .item:hover { background: #172032; }
:root[data-theme="dark"] .item.active { background: #2a1620; }
:root[data-theme="dark"] .info-text { color: #c5cddb; }
:root[data-theme="dark"] .info-sources, :root[data-theme="dark"] .share { border-top-color: var(--line); }
:root[data-theme="dark"] .share a, :root[data-theme="dark"] .share button { background: #232d40; color: #dbe2ee; }
:root[data-theme="dark"] .st { background: #253046; color: #b7c2d6; }
:root[data-theme="dark"] .st-official { background: #4a1d22; color: #ffb3b3; }
:root[data-theme="dark"] .st-kurdish { background: #4a3a10; color: #ffd978; }
:root[data-theme="dark"] .st-independent { background: #173d24; color: #9fe3b1; }
:root[data-theme="dark"] .st-mainstream { background: #1d2c52; color: #a9c3ff; }
:root[data-theme="dark"] .maplibregl-ctrl-group { background: #1b2333; }
:root[data-theme="dark"] .maplibregl-ctrl-group button { color: #dbe2ee; }
:root[data-theme="dark"] .maplibregl-ctrl-group button + button { border-top-color: #2b3549; }
:root[data-theme="dark"] .maplibregl-ctrl-icon { filter: invert(1) hue-rotate(180deg); }
:root[data-theme="dark"] .maplibregl-ctrl-group button.active { background: #24324d; color: #8bb8ff; }
:root[data-theme="dark"] .maplibregl-ctrl-attrib { background: rgba(19, 26, 39, 0.85); color: #95a1b6; }
:root[data-theme="dark"] .maplibregl-ctrl-attrib a { color: #b7c2d6; }

/* ---------------- Telefonda haber paneli (alttan çekilen) ---------------- */
.feed-handle { display: none; }
@media (max-width: 760px) {
  .feed-handle { display: block; flex-shrink: 0; height: 22px; cursor: grab; touch-action: none; position: relative; }
  .feed-handle::before { content: ''; position: absolute; top: 8px; left: 50%; width: 44px; height: 5px; margin-left: -22px; border-radius: 3px; background: var(--line); }
  .feed { transition: height 0.25s ease; }
  .feed.peek { height: calc(22px + var(--top)); overflow: hidden; }
  .feed.full { height: calc(100% - 8px); }
}
/* Uzaydaki diğer cisimlerin adları (uzay araçları, kuşaklar, kuyruklu yıldız, kara delik): gezegenlerden daha sade */
.sp-label.sp-extra { font-size: 11px; font-weight: 500; padding: 2px 8px; background: rgba(30, 45, 70, 0.55); color: #b9c8e0; }
.sp-label.sp-blackhole { background: rgba(80, 20, 10, 0.6); color: #ffcf9a; }
.sp-label.sp-comet { color: #cdeeff; }
/* Uzayda hızlı erişim şeridi: kara delik, kuyruklu yıldız, uzay araçları, kuşaklar */
.sp-chips { position: absolute; top: 62px; inset-inline-start: 14px; display: flex; flex-wrap: wrap; gap: 6px; max-width: min(640px, calc(100% - 400px)); }
.sp-chips button { display: inline-flex; align-items: center; gap: 5px; border: 0; border-radius: 999px; padding: 5px 10px; cursor: pointer;
  background: rgba(22, 28, 42, 0.75); color: #c9d4e6; font: 500 12px system-ui, sans-serif; }
.sp-chips button:hover { background: rgba(255, 198, 26, 0.85); color: #1a1205; }
@media (max-width: 760px) { .sp-chips { max-width: calc(100% - 28px); overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; } }

/* Masaüstünde sağ altta (kaynak (i) yazısının üstünde) belirgin Uzay düğmesi: Güneş Sistemi görünümünü açar. */
.d-space { position: absolute; bottom: 30px; inset-inline-end: 10px; z-index: 4; display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 13px 7px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--text);
  font: 600 13px system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; cursor: pointer; box-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
.d-space i { font-size: 18px; color: #4c6ef5; }
.d-space:hover { background: var(--panel-2); border-color: var(--muted); }

/* ---------------- Telefon görünümü: sade üst çubuk, alt gezinme çubuğu, tek katman düğmesi ---------------- */
.region-pick, .m-layers, .m-space, .bottom-nav { display: none; }
@media (max-width: 760px) {
  :root { --nav-h: 58px; }
  .app { grid-template-rows: var(--top) minmax(0, 1fr) var(--ticker-h) var(--nav-h); }
  .logo #brandText { display: inline; font-size: 16px; }
  .topbar { gap: 8px; padding: 0 10px; }
  .regions, .today, .fin-ticker, #notifyBtn, #aboutBtn, #themeBtn, #toggleFeed, .summary, .feed-tabs { display: none !important; }
  .maplibregl-ctrl-bottom-left .maplibregl-ctrl-group { display: none; }
  /* Kaynak yazısı (i) telefonda haritada gösterilmez; Hakkında sayfasında yer alır. Yerine uzay düğmesi. */
  .maplibregl-ctrl-attrib { display: none; }
  .d-space { display: none; } /* masaüstü Uzay düğmesi telefonda gizli (mobil m-space var) */
  .m-space { display: grid; place-items: center; position: absolute; bottom: 12px; inset-inline-end: 10px; z-index: 4; width: 42px; height: 42px;
    border: 1px solid var(--line); border-radius: 50%; background: var(--panel); color: var(--text); font-size: 22px; cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .3); }
  .region-pick { display: inline-flex; align-items: center; gap: 4px; margin-inline-start: auto; border: 1px solid var(--line); background: var(--panel-2);
    border-radius: 999px; padding: 5px 10px 5px 12px; font-weight: 600; font-size: 13px; cursor: pointer; max-width: 55%; }
  .region-pick span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .m-layers { display: grid; place-items: center; position: absolute; top: 10px; inset-inline-end: 10px; z-index: 4; width: 42px; height: 42px;
    border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--text); font-size: 21px; cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .3); }
  .layers-panel { top: 60px; bottom: auto; left: auto; inset-inline-end: 10px; inset-inline-start: auto; width: min(290px, calc(100% - 20px)); }
  .m-menu { position: absolute; top: 6px; inset-inline-end: 8px; z-index: 1200; width: min(290px, calc(100% - 16px)); max-height: calc(100% - 20px); overflow-y: auto;
    padding: 6px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
  .m-menu > button { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; background: none; border-radius: 10px; padding: 11px 12px;
    font-size: 15px; text-align: start; cursor: pointer; }
  .m-menu > button i { font-size: 20px; color: var(--muted); }
  .m-menu > button.active { background: var(--accent); color: #fff; }
  .more-menu { top: auto; bottom: 8px; }
  .m-sub { margin: 10px 12px 6px; font-size: 12px; font-weight: 600; color: var(--muted); }
  .m-menu .seg { padding: 0 8px 6px; }
  .bottom-nav { grid-column: 1 / -1; grid-row: 4; display: flex; background: var(--panel); border-top: 1px solid var(--line); z-index: 1150;
    padding-bottom: env(safe-area-inset-bottom); }
  .bottom-nav button { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border: 0; background: none;
    color: var(--muted); font-size: 11px; cursor: pointer; min-width: 0; }
  .bottom-nav button i { font-size: 22px; }
  .bottom-nav button span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 2px; }
  .bottom-nav button.active { color: var(--accent); }
  /* Haber paneli: kapalıyken sadece özet satırı ve ilk haber görünür; arama ve konular açılınca gelir. */
  .feed.peek { height: 178px; }
  .feed.peek .feed-search, .feed.peek .topics { display: none; }
  .feed.peek .list { overflow: hidden; }
  .status { padding-top: 0; }
  .item { padding: 10px 12px; }
  .item .head { margin-bottom: 5px; gap: 8px; }
  .item .head .ico { width: 24px; height: 24px; font-size: 13px; border-width: 1.5px; }
  .item .title { font-size: 14.5px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .item .thumb { width: 64px; height: 48px; }
  .item .meta { margin-top: 4px; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .info-panel { max-height: calc(100% - 200px); }
}

/* Hava durumu sayfası: üstte Windy haritası, altında şehir şehir anlık hava */
.wx-windy { display: block; width: 100%; height: 260px; border: 0; border-radius: 10px; background: #0b1220; }
.wx-note { font-size: 12px; color: var(--muted); margin: 6px 0; }
.wx-list { display: grid; gap: 6px; }
.wx-city { display: grid; grid-template-columns: 1fr auto auto; grid-template-areas: "name ico temp" "info info info"; align-items: center; gap: 2px 8px;
  width: 100%; text-align: start; border: 1px solid var(--line); border-radius: 10px; background: var(--panel-2); color: var(--text); padding: 7px 10px; cursor: pointer; font: inherit; }
.wx-city:hover, .wx-city.active { border-color: #1c7ed6; }
.wx-city .wx-name { grid-area: name; font-weight: 600; }
.wx-city i { grid-area: ico; font-size: 20px; color: #1c7ed6; }
.wx-city b { grid-area: temp; font-size: 17px; }
.wx-city small { grid-area: info; color: var(--muted); font-size: 11.5px; }

/* Panel tam ekran düğmesi: sadece sayfalarda (hava durumu, TV, hafta…) görünür. */
.panel-max { display: none; }
.info-panel.page-mode .panel-max { display: grid; }
.info-panel.maxed { inset: 8px !important; width: auto !important; max-height: none !important; z-index: 1150; }
.info-panel.maxed .panel-head { cursor: default; }
.info-panel.maxed .wx-windy { height: min(55vh, 520px); }
@media (min-width: 761px) {
  .info-panel.maxed .wx-list { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
}
.wx-search { margin: 0 0 8px; }
.wx-city .wx-name em { font-style: normal; font-weight: 400; font-size: 11.5px; color: var(--muted); }
.wx-page { display: flex; flex-direction: column; }
.wx-page > * { order: 2; }
.wx-page > .wx-search { order: 0; }
.wx-page.searching > #wxCities { order: 1; margin-bottom: 8px; }
@media (max-width: 760px) { .info-panel.maxed .wx-windy { height: 42vh; } }

/* Haberin altındaki "Çevir" düğmesi: başlığı olduğu yerde seçili dile çevirir. */
.tr-btn { display: inline-flex; align-items: center; gap: 3px; margin-inline-start: 4px; padding: 1px 7px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--panel-2); color: #1c7ed6; font: inherit; font-size: 11px; font-weight: 600; cursor: pointer; vertical-align: middle; }
.tr-btn:hover { border-color: #1c7ed6; }
.tr-btn:disabled { opacity: .6; cursor: default; }

/* İçeriği bildir / gizlilik bağlantısı (mağaza sürümü) */
.report-btn, .link-btn { background: none; border: 0; color: var(--muted, #8a94a6); font: inherit; cursor: pointer; padding: 6px 0; display: inline-flex; align-items: center; gap: 6px; }
.report-btn { margin-top: 8px; font-size: 13px; }
.report-btn:hover, .link-btn:hover { color: var(--fg, #e6ebf2); }
.report-btn[disabled] { color: var(--ok, #4caf50); cursor: default; }

/* İlk açılış içerik uyarısı (17+) */
.gate { position: fixed; inset: 0; z-index: 3000; background: rgba(8, 12, 20, .72); backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; padding: 24px; }
.gate-box { max-width: 420px; background: var(--panel, #1a2130); color: var(--fg, #e6ebf2); border: 1px solid var(--line, #2a3342); border-radius: 16px; padding: 22px; box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.gate-box h2 { margin: 0 0 10px; font-size: 18px; }
.gate-box p { margin: 0 0 18px; line-height: 1.5; color: var(--muted, #b4bccb); }
.gate-ok { width: 100%; padding: 12px; border: 0; border-radius: 10px; background: var(--accent, #c1121f); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
