/* ================= Afet arsivi ================= */
.ar-narrow { max-width: 900px; }
.ar-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.ar-filter { padding: 8px 15px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text-secondary); font-size: 0.88rem; font-weight: 600; }
.ar-filter:hover { border-color: var(--border-strong); color: var(--text-primary); }
.ar-filter.on { border-color: var(--accent); color: var(--text-primary); background: var(--accent-weak); }

.ar-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.ar-card { --c: var(--accent); display: flex; flex-direction: column; gap: 8px; padding: 20px 22px; border-radius: var(--radius-md); border: 1px solid var(--border); border-top: 3px solid var(--c); background: var(--surface); color: inherit; transition: border-color 0.2s ease, transform 0.2s ease; }
.ar-card:hover { transform: translateY(-2px); border-color: var(--border-strong); border-top-color: var(--c); }
.ar-card.ar-deprem { --c: var(--c-quake); }
.ar-card.ar-sel { --c: var(--c-weather); }
.ar-card.ar-yangin { --c: var(--c-fire); }
.ar-card-type { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c); }
.ar-card b { font-size: 1.08rem; color: var(--text-primary); line-height: 1.3; }
.ar-card p { margin: 0; font-size: 0.9rem; line-height: 1.55; color: var(--text-secondary); }
.ar-card-more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 6px; font-size: 0.86rem; font-weight: 600; color: var(--text-primary); }

.ar-anniv { margin: 14px 0 0; font-size: 0.9rem; color: var(--text-muted); }
.ar-facts dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px 22px; margin: 0; }
.ar-facts dt { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
.ar-facts dd { margin: 0; font-size: 0.98rem; font-weight: 600; color: var(--text-primary); line-height: 1.45; }
.ar-map { height: 340px; }
.ar-map-note { margin: 10px 0 0; }

.ar-body { margin: 6px 0 22px; font-size: 1.04rem; line-height: 1.75; color: var(--text-secondary); }
.ar-body h2 { font-size: 1.25rem; color: var(--text-primary); margin: 30px 0 10px; }
.ar-body p { margin: 0 0 14px; }
.ar-body ul { margin: 0; padding-left: 20px; }
.ar-body li { margin-bottom: 8px; }
.ar-advice { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; padding: 16px 18px; border-radius: var(--radius-sm); border: 1px solid color-mix(in srgb, var(--status-good) 35%, transparent); background: color-mix(in srgb, var(--status-good) 8%, transparent); color: var(--status-good); }
.ar-advice p { margin: 0; color: var(--text-secondary); font-size: 0.96rem; }
.ar-advice b { color: var(--text-primary); }
.ar-sources { padding-left: 20px; font-size: 0.9rem; }
.ar-sources a { color: var(--accent); word-break: break-word; }
.ar-list-sm { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.ar-list-sm .ar-card p { display: none; }

@media (max-width: 640px) {
  .ar-list { grid-template-columns: 1fr; }
  .ar-map { height: 280px; }
}

/* canlandirma oynaticisi (haritanin sol ustunde) */
.ar-map-wrap { position: relative; }
.ar-player { position: absolute; top: 12px; left: 12px; z-index: 500; width: min(320px, calc(100% - 70px)); display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; align-items: center; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--border-strong); background: color-mix(in srgb, var(--surface) 90%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: var(--shadow-soft); }
.ar-player .btn { white-space: nowrap; }
.ar-time { min-width: 0; display: flex; flex-direction: column; }
.ar-time b { font-size: 0.86rem; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ar-time span { font-size: 0.76rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ar-bar { grid-column: 1 / -1; height: 3px; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
.ar-bar i { display: block; width: 0; height: 100%; border-radius: 3px; background: var(--accent); }
.ar-data-note { margin: 6px 0 0; }
.ar-map { height: 420px; }
@media (max-width: 640px) { .ar-map { height: 340px; } }

.ar-sahne-hero { margin-bottom: 22px; }
.ar-sahne-tabs { margin-top: 0; }

/* gercek veriyle 3B canlandirma (olay3d.js) */
.olay3d { position: relative; }
.olay-stage { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); background: #0c1118; }
.olay-stage canvas { display: block; width: 100%; height: 100%; cursor: grab; touch-action: none; }
.olay-stage canvas:active { cursor: grabbing; }
.olay-poster { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #9fb0c4; font-size: 0.92rem; text-align: center; padding: 0 16px; }
.olay-hud { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 2px; padding: 8px 12px; border-radius: var(--radius-sm); background: rgba(10, 14, 20, 0.72); border: 1px solid rgba(255, 255, 255, 0.12); color: #e5e7eb; pointer-events: none; }
.olay-clock { font-size: 1rem; font-variant-numeric: tabular-nums; }
.olay-count { font-size: 0.8rem; color: #aab4c0; font-variant-numeric: tabular-nums; }
.olay-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 8px; font-size: 0.8rem; color: var(--text-secondary); }
.olay-legend span { display: flex; align-items: center; gap: 7px; }
.olay-legend i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.olay-legend .lg-front { width: 16px; height: 4px; border-radius: 2px; background: #ff6a1a; }
.olay-legend .lg-hot { background: #ffb347; box-shadow: 0 0 5px #ff6a1a; }
.olay-legend .lg-burn { background: #5a3b2c; border-radius: 2px; }
.olay-legend .lg-rupture { width: 16px; height: 4px; border-radius: 2px; background: #ff3b1f; box-shadow: 0 0 5px #ff3b1f; }
.olay-legend .lg-fault { width: 16px; height: 2px; border-radius: 1px; background: #e8c070; }
.olay-legend .lg-quake { background: #ff9426; }
.olay-legend .lg-wave { background: transparent; border: 2px solid #ffa060; }
.olay-legend .lg-flood { background: #6b5136; border-radius: 2px; }
.olay-legend .lg-rain { width: 3px; height: 12px; border-radius: 2px; background: #b8c4d4; transform: rotate(12deg); }
.olay-label-strong { font-size: 0.82rem; font-weight: 700; color: #fff; }
.olay-label-strong::before { background: #ff4060; width: 7px; height: 7px; left: -9px; top: 5px; }
.olay-labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.olay-label { position: absolute; left: 0; top: 0; margin: -9px 0 0 6px; font-size: 0.74rem; font-weight: 600; color: #f3f4f6; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 0 8px rgba(0, 0, 0, 0.6); white-space: nowrap; }
.olay-label::before { content: ""; position: absolute; left: -7px; top: 6px; width: 5px; height: 5px; border-radius: 50%; background: #f3f4f6; box-shadow: 0 0 3px rgba(0, 0, 0, 0.9); }
.olay-ui { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px; padding: 14px 2px 4px; }
.olay-ui .btn { white-space: nowrap; min-width: 132px; justify-content: center; }
.olay-track { position: relative; padding-top: 26px; }
.olay-hist { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 24px; }
.olay-range { display: block; width: 100%; margin: 0; accent-color: var(--c-fire); }
.olay-ticks { position: relative; height: 16px; margin-top: 2px; font-size: 0.7rem; color: var(--text-muted); }
.olay-ticks span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.olay-cap { margin: 10px 0 4px; min-height: 2.9em; font-size: 0.95rem; line-height: 1.45; color: var(--text-primary); }
.olay-credit { margin: 0; }
@media (max-width: 640px) {
  .olay-stage { aspect-ratio: 4 / 3; }
  .olay-hud { top: 8px; left: 8px; padding: 6px 9px; }
  .olay-clock { font-size: 0.86rem; }
  .olay-ui { grid-template-columns: 1fr; gap: 8px; }
  .olay-ticks .odd { display: none; }
  .olay-ui .btn { justify-self: start; }
  .olay-cap { font-size: 0.88rem; }
}
