/* Deprem.news — «al ve turkuaz»: antet carmin, accente turcoaz de faianță de İznik, cifre în Barlow Semi Condensed.
   Tema deschisă e deschisă peste tot; suprafețele închise apar doar în tema întunecată. */

:root {
  --hd: #a5182d; --hd-2: #8a1124; --hd-3: #740d1d;
  --brand: #a5182d; --brand-soft: #fbeef0;
  --turq: #19a7a8; --accent: #0a7377; --turq-soft: #e4f3f2; --turq-line: #bfe2e0;
  --band: #dcefee;
  --amber: #ffc928;
  --bg: #f4f8f8; --surface: #fff; --surface-2: #eff4f4; --surface-3: #dfe8e9;
  --ink: #13212b; --ink-2: #3c4c57; --muted: #60707a; --line: #dbe5e6; --line-2: #c2d0d2;
  --m1: #b3c2c7; --m2: #35b3b0; --m3: #f1c232; --m4: #f28c28; --m5: #e2492b; --m6: #b3162e; --m7: #5c0f3d;
  --lv0: #e6edee; --lv1: #c3e6e5; --lv2: #86d1cf; --lv3: #35b3b0; --lv4: #0a7377;
  --sans: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --disp: 'Barlow Semi Condensed', 'Source Sans 3', system-ui, 'Segoe UI', Arial, sans-serif;
  --mono: var(--disp);
  --radius: 16px;
  --shadow: 0 1px 2px rgba(19, 33, 43, .05), 0 6px 22px rgba(19, 33, 43, .06);
  --shadow-lg: 0 14px 44px rgba(19, 33, 43, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --motif: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='8'%3E%3Crect width='32' height='8' fill='%23740d1d'/%3E%3Cpath d='M8 .8 12.2 4 8 7.2 3.8 4z' fill='%2319a7a8'/%3E%3Cpath d='M24 1.8 26.9 4 24 6.2 21.1 4z' fill='%23fff'/%3E%3Cpath d='M16 3 17.3 4 16 5 14.7 4zM0 3 1.3 4 0 5-1.3 4zM32 3 33.3 4 32 5 30.7 4z' fill='%23ffc928'/%3E%3C/svg%3E");
  color-scheme: light;
}
[data-theme="dark"] {
  --hd: #7c1223; --hd-2: #650d1b; --hd-3: #540a16;
  --brand: #e5546a; --brand-soft: #2a171b;
  --accent: #5cd6d2; --turq-soft: #12292b; --turq-line: #1f4a4b;
  --band: #10262a;
  --bg: #0b1316; --surface: #131d21; --surface-2: #18252a; --surface-3: #22333a;
  --ink: #e9f1f2; --ink-2: #c2cfd3; --muted: #8a9aa1; --line: #22323a; --line-2: #33474f;
  --lv0: #1c2a30; --lv1: #1d4a4b; --lv2: #1f7374; --lv3: #2ba6a4; --lv4: #6fe0dc;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 22px rgba(0, 0, 0, .28);
  --shadow-lg: 0 14px 44px rgba(0, 0, 0, .55);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --hd: #7c1223; --hd-2: #650d1b; --hd-3: #540a16;
    --brand: #e5546a; --brand-soft: #2a171b;
    --accent: #5cd6d2; --turq-soft: #12292b; --turq-line: #1f4a4b;
    --band: #10262a;
    --bg: #0b1316; --surface: #131d21; --surface-2: #18252a; --surface-3: #22333a;
    --ink: #e9f1f2; --ink-2: #c2cfd3; --muted: #8a9aa1; --line: #22323a; --line-2: #33474f;
    --lv0: #1c2a30; --lv1: #1d4a4b; --lv2: #1f7374; --lv3: #2ba6a4; --lv4: #6fe0dc;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 22px rgba(0, 0, 0, .28);
    --shadow-lg: 0 14px 44px rgba(0, 0, 0, .55);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4 { margin: 0; font-family: var(--disp); font-weight: 700; line-height: 1.12; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-underline-offset: 2px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
img, svg { max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--turq); outline-offset: 2px; border-radius: 4px; }
.ic { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.16em; }
.mono, .num { font-family: var(--mono); }
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 22px; }
main { display: block; padding-bottom: 72px; }

/* ---------- Büyüklük renkleri ---------- */
.m1 { --c: var(--m1); --ci: #161a20; } .m2 { --c: var(--m2); --ci: #082524; } .m3 { --c: var(--m3); --ci: #2a2000; } .m4 { --c: var(--m4); --ci: #2b1400; }
.m5 { --c: var(--m5); --ci: #fff; } .m6 { --c: var(--m6); --ci: #fff; } .m7 { --c: var(--m7); --ci: #fff; }
.mb { display: inline-grid; place-items: center; flex: none; min-width: 48px; height: 44px; padding: 0 6px; border-radius: 11px; background: var(--c, var(--m1)); color: var(--ci, #161a20); font: 700 20px/1 var(--disp); font-variant-numeric: tabular-nums; }
.mb.sm { min-width: 36px; height: 34px; border-radius: 9px; font-size: 16px; }
.mb.xs { min-width: 28px; height: 22px; border-radius: 6px; font-size: 13.5px; font-style: normal; margin-right: 6px; }
.mb.lg { min-width: 78px; height: 78px; border-radius: 16px; font-size: 36px; font-weight: 800; }
.tag-ts { display: inline-block; margin-left: 6px; padding: 0 7px; border-radius: 999px; background: var(--accent); color: var(--surface); font: 600 11.5px/1.7 var(--sans); vertical-align: 2px; }

/* ---------- Üst bant ---------- */
.hd { display: contents; }
.hd-top { position: sticky; top: 0; z-index: 1000; background: var(--hd); color: #fff; }
.hd-in { display: flex; align-items: center; gap: 22px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; flex: none; }
.brand { gap: 9px; }
.brand .mark { width: 40px; height: 40px; flex: none; }
.brand-w { font: 800 29px/1 var(--disp); letter-spacing: -.015em; }
.brand-w em { font-style: normal; font-weight: 600; opacity: .78; }
.find { position: relative; flex: 1 1 320px; max-width: 460px; margin: 0 auto; display: flex; align-items: center; height: 42px; border-radius: 999px; background: rgba(255, 255, 255, .15); border: 1px solid rgba(255, 255, 255, .26); transition: background .15s; }
.find > .ic { position: absolute; left: 14px; width: 18px; height: 18px; opacity: .9; pointer-events: none; }
.find input { flex: 1; min-width: 0; height: 100%; padding: 0 8px 0 42px; background: none; border: 0; outline: 0; color: #fff; font-size: 16px; }
.find input::placeholder { color: rgba(255, 255, 255, .78); }
.find input::-webkit-calendar-picker-indicator { display: none !important; }
.find button { flex: none; width: 34px; height: 34px; margin-right: 4px; border: 0; border-radius: 50%; background: #fff; color: #a5182d; display: grid; place-items: center; }
.find:focus-within { background: #fff; border-color: #fff; }
.find:focus-within input { color: #161a20; }
.find:focus-within input::placeholder { color: #687080; }
.find:focus-within > .ic { color: #a5182d; }
.find:focus-within button { background: #a5182d; color: #fff; }
.hd-r { display: flex; align-items: center; gap: 10px; flex: none; margin-left: auto; }
.readout { display: inline-flex; align-items: center; gap: 9px; max-width: 330px; padding: 4px 14px 4px 4px; border-radius: 999px; background: rgba(0, 0, 0, .2); color: #fff; text-decoration: none; font-size: 14.5px; line-height: 1.2; }
.readout b { display: grid; place-items: center; min-width: 38px; height: 32px; padding: 0 6px; border-radius: 999px; background: var(--c); color: var(--ci); font: 700 16px/1 var(--disp); }
.readout .ro-p { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.readout .ro-t { opacity: .8; white-space: nowrap; font-size: 13.5px; }
.readout:hover { background: rgba(0, 0, 0, .3); }
.sos { padding: 6px 13px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .4); color: #fff; text-decoration: none; font-size: 14.5px; white-space: nowrap; }
.sos b { font: 800 17px/1 var(--disp); margin-left: 3px; }
.sos:hover { background: #fff; color: #a5182d; }
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; color: inherit; }
.icon-btn .ic { width: 22px; height: 22px; }
.icon-btn:hover { background: rgba(255, 255, 255, .16); }
.i-sun { display: none; }
[data-theme="dark"] .i-sun { display: block; } [data-theme="dark"] .i-moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .i-sun { display: block; } :root:not([data-theme="light"]) .i-moon { display: none; } }
.menu-btn { display: none; }

.hd-nav { background: var(--hd-2); color: #fff; position: relative; z-index: 900; }
.hd-nav-in { display: flex; align-items: stretch; gap: 2px; }
.hd-nav a { display: inline-flex; align-items: center; gap: 5px; padding: 11px 13px; color: rgba(255, 255, 255, .88); text-decoration: none; font: 600 17px/1.2 var(--disp); letter-spacing: .005em; white-space: nowrap; }
.hd-nav-in > a:first-child { padding-left: 0; }
.hd-nav a:hover { color: #fff; }
.hd-nav-in > a[aria-current], .nav-dd > a[aria-current] { color: #fff; box-shadow: inset 0 -3px 0 var(--amber); }
.dd-ic { width: 13px; height: 13px; opacity: .8; }
.nav-dd { position: static; display: flex; }
.mega { position: absolute; left: 0; right: 0; top: 100%; display: none; padding: 0 22px; }
.nav-dd:hover .mega, .nav-dd:focus-within .mega { display: block; }
.mega-in { max-width: 1236px; margin: 0 auto; display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px 18px; padding: 18px 22px 22px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 16px 16px; box-shadow: var(--shadow-lg); }
.mega-in a { display: block; padding: 3px 0; color: var(--ink-2); font: 400 15px/1.35 var(--sans); white-space: normal; }
.mega-in a:hover { color: var(--accent); text-decoration: underline; }
.mega-in a.mega-h { margin-bottom: 6px; padding-bottom: 6px; border-bottom: 2px solid var(--brand); color: var(--ink); font: 700 17px/1.2 var(--disp); }
.mega-sm .mega-in { grid-template-columns: 1fr; max-width: 420px; margin-left: 300px; }
.motif { height: 8px; background: var(--hd-3) var(--motif) repeat-x center / auto 8px; }

.alert-bar { display: block; background: var(--amber); color: #1a1300; text-decoration: none; font-size: 16px; }
.alert-bar .wrap { display: flex; align-items: center; gap: 12px; padding-top: 9px; padding-bottom: 9px; }
.alert-bar b { flex: none; padding: 3px 10px; border-radius: 6px; background: #161a20; color: var(--amber); font: 700 14.5px/1.2 var(--disp); text-transform: uppercase; }
.alert-bar span > span, .alert-bar .wrap > span { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.alert-bar i { margin-left: auto; flex: none; font-style: normal; font-size: 14px; opacity: .8; }
.alert-bar:hover span { text-decoration: underline; }

.ticker { background: var(--surface); border-bottom: 1px solid var(--line); font-size: 14.5px; }
.ticker-in { display: flex; align-items: center; gap: 16px; height: 40px; }
.tk-l { flex: none; display: inline-flex; align-items: center; gap: 8px; font: 700 15px/1 var(--disp); color: var(--brand); }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brand); animation: live 2s ease-out infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(165, 24, 45, .5); } 70% { box-shadow: 0 0 0 8px rgba(165, 24, 45, 0); } 100% { box-shadow: 0 0 0 0 rgba(165, 24, 45, 0); } }
.tk-v { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent); }
.tk-run { display: flex; width: max-content; animation: tk 90s linear infinite; }
.tk-v:hover .tk-run { animation-play-state: paused; }
@keyframes tk { to { transform: translateX(-50%); } }
.tk-set { display: flex; }
.tk-set a { display: inline-flex; align-items: center; gap: 8px; padding: 0 20px; color: var(--ink-2); text-decoration: none; white-space: nowrap; border-right: 1px solid var(--line); line-height: 40px; }
.tk-set a:hover { color: var(--ink); }
.tk-set i { font-size: 13.5px; font-variant-numeric: tabular-nums; font-style: normal; color: var(--muted); }
.tk-set b { display: inline-grid; place-items: center; min-width: 32px; height: 22px; padding: 0 5px; border-radius: 6px; background: var(--c); color: var(--ci); font: 700 14px/1 var(--disp); }
.is-map .ticker, .is-map .motif, .is-map .alert-bar { display: none; }

/* ---------- Çekmece (mobil menü) ve alt sekmeler ---------- */
.drawer { position: fixed; inset: 0; z-index: 3000; background: rgba(8, 10, 13, .5); opacity: 0; transition: opacity .25s; }
.drawer[hidden] { display: none; }
.drawer.open { opacity: 1; }
.drawer-in { position: absolute; inset: 0 0 0 auto; width: min(100%, 460px); display: flex; flex-direction: column; background: var(--bg); color: var(--ink); transform: translateX(24px); transition: transform .3s var(--ease); }
.drawer.open .drawer-in { transform: none; }
.dw-top { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px 10px 18px; background: var(--hd); color: #fff; }
.dw-body { flex: 1; overflow-y: auto; padding: 16px 18px 24px; -webkit-overflow-scrolling: touch; }
.dw-body .find { max-width: none; margin: 0 0 14px; background: var(--surface); border-color: var(--line-2); }
.dw-body .find input { color: var(--ink); } .dw-body .find input::placeholder { color: var(--muted); }
.dw-body .find > .ic { color: var(--brand); }
.dw-body .find button { background: var(--hd); color: #fff; }
.dw-last { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; color: inherit; text-decoration: none; }
.dw-last > span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dw-last small { color: var(--muted); font-size: 13px; }
.dw-last b { font: 700 18px/1.2 var(--disp); }
.dw-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.dw-tiles a { display: grid; gap: 2px; padding: 13px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; color: inherit; text-decoration: none; }
.dw-tiles a[aria-current] { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.dw-ic { color: var(--brand); } .dw-ic .ic { width: 24px; height: 24px; }
.dw-tiles b { font: 700 18px/1.2 var(--disp); }
.dw-tiles small { color: var(--muted); font-size: 13px; line-height: 1.3; }
.dw-sec { border-top: 1px solid var(--line); padding: 4px 0; }
.dw-sec summary { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; font: 700 18px/1.2 var(--disp); cursor: pointer; list-style: none; }
.dw-sec summary::-webkit-details-marker { display: none; }
.dw-sec[open] summary .ic { transform: rotate(180deg); }
.dw-regs { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 12px; }
.dw-regs a { padding: 7px 13px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 600; }
.dw-more { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 12px; font-weight: 600; }
.dw-group { border-top: 1px solid var(--line); padding: 12px 0 4px; }
.dw-t { margin: 0 0 4px; color: var(--muted); font-size: 13.5px; font-weight: 600; }
.dw-group a { display: flex; align-items: center; gap: 12px; padding: 10px 0; color: var(--ink); text-decoration: none; font-size: 16.5px; }
.dw-group a .ic { width: 20px; height: 20px; color: var(--brand); }
.dw-foot { display: flex; align-items: center; gap: 10px; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface); }
.dw-sos, .dw-theme, .dw-src { display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px; border-radius: 999px; border: 1px solid var(--line-2); background: none; color: var(--ink); text-decoration: none; font-size: 15px; }
.dw-sos { background: var(--hd); border-color: var(--hd); color: #fff; } .dw-sos b { font: 800 17px var(--disp); }
.dw-src { margin-left: auto; border: 0; color: var(--accent); }
.tabbar { display: none; }

/* ---------- Sayfa iskeleti: turkuaz bant + bantın üzerine binen beyaz pano ---------- */
.band, .crumbs, .page-h, .qhead { background: var(--band); box-shadow: 0 0 0 100vmax var(--band); clip-path: inset(0 -100vmax); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; padding: 14px 0 0; color: var(--ink-2); font-size: 14.5px; }
.crumbs a { color: inherit; text-decoration: none; } .crumbs a:hover { color: var(--accent); text-decoration: underline; }
.crumbs .ic { width: 11px; height: 11px; opacity: .55; }
.crumbs > span:last-child { color: var(--muted); }
.page-h { padding: 22px 0 34px; margin-bottom: 30px; }
.page-h h1 { font-size: clamp(34px, 4.6vw, 58px); font-weight: 800; line-height: 1; letter-spacing: -.012em; }
.kicker { margin: 0 0 8px; color: var(--accent); font-size: 16px; font-weight: 600; }
.kicker a { color: inherit; }
.lead { margin: 14px 0 0; color: var(--ink-2); font-size: 19px; line-height: 1.58; }
.lead strong { color: var(--ink); }
.has-plate { display: flex; align-items: flex-start; gap: 24px; }
.plate { flex: none; display: inline-grid; grid-template-columns: auto auto; margin-top: 26px; border: 2.5px solid #13212b; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.plate i { display: grid; align-items: end; padding: 0 5px 5px; background: #1d4ea3; color: #fff; font: 700 11px/1 var(--sans); font-style: normal; }
.plate b { padding: 3px 14px 5px; color: #13212b; font: 800 44px/1 var(--disp); letter-spacing: .02em; }
@supports selector(:has(a)) {
  .page-h:has(+ .stat-row) { padding-bottom: 66px; margin-bottom: 0; }
  .page-h + .stat-row { margin-top: -40px; margin-bottom: 30px; }
}
.sec { margin-top: 60px; }
.sec-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px 20px; flex-wrap: wrap; margin-bottom: 16px; }
.sec-h h2, .feed-h h2, .today-txt h2, .today-side h2 { font-size: 31px; font-weight: 800; }
/* Küçük kilim şeridi: üst banttaki motifin başlıklardaki yankısı */
.sec-h h2::before, .feed-h h2::before, .today-txt h2::before, .today-side h2::before, .manual-faq h2::before { content: ""; display: block; width: 48px; height: 6px; margin-bottom: 11px; border-radius: 3px; background: var(--hd-3) var(--motif) left center / auto 6px; }
.sec-h h2 a { color: inherit; text-decoration: none; }
.sec-h > p { margin: 0 0 4px; color: var(--muted); font-size: 15.5px; }
.more { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 4px; font-size: 16px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.more:hover { text-decoration: underline; }
.grid-main { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.grid-main > * { min-width: 0; }
.grid-main > aside { display: grid; gap: 34px; grid-template-columns: minmax(0, 1fr); }
.grid-main > aside > * { margin-top: 0 !important; margin-bottom: 0 !important; }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* ---------- Bileşenler ---------- */
/* Pano: ana sütundaki liste, tablo ve haritalar. Yan sütundaki modüller düz kalır. */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.card-pad { padding: 20px 22px; }
.card-h { margin-bottom: 12px; font-size: 21px; font-weight: 700; }
.card-h small { margin-left: 8px; color: var(--muted); font: 400 14.5px var(--sans); }
.grid-main > aside .card { background: none; border: 0; border-top: 1px solid var(--line-2); border-radius: 0; box-shadow: none; overflow: visible; padding-top: 16px; }
.grid-main > aside .card-pad { padding: 0 !important; }
.grid-main > aside .card > .card-pad:first-child { margin-bottom: 4px; }
.grid-main > aside > :first-child { border-top: 0; padding-top: 0; }
.empty { padding: 26px 22px; color: var(--muted); font-size: 16.5px; }
.empty .ic { display: none; }
.chips { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 22px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 0 5px; border: 0; border-bottom: 3px solid transparent; background: none; color: var(--ink-2); font-size: 16.5px; font-weight: 600; line-height: 1.3; text-decoration: none; white-space: nowrap; }
.chip:hover { color: var(--ink); border-bottom-color: var(--line-2); }
.chip[aria-pressed="true"], .chip.on { color: var(--ink); border-bottom-color: var(--brand); }
a.chip { color: var(--accent); }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); overflow: hidden; }
.seg button { padding: 6px 15px; border: 0; background: none; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--surface); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 19px; border: 0; border-radius: 10px; background: var(--hd); color: #fff; font-weight: 600; font-size: 16px; text-decoration: none; }
.btn:hover { background: var(--hd-2); }

/* Deprem listesi: saat · büyüklük · yer · derinlik */
.ql { list-style: none; margin: 0; padding: 0; container-type: inline-size; }
.ql li { border-bottom: 1px solid var(--line); }
.ql li:last-child { border-bottom: 0; }
.qrow { display: grid; grid-template-columns: 66px 52px minmax(0, 1fr) auto; align-items: center; column-gap: 16px; padding: 11px 22px; color: inherit; text-decoration: none; }
.qrow:hover { background: var(--surface-2); }
.q-t { display: flex; flex-direction: column; color: var(--ink); font: 700 20px/1.1 var(--disp); font-variant-numeric: tabular-nums; }
.q-t small { margin-top: 2px; color: var(--muted); font: 400 13px/1.25 var(--sans); white-space: nowrap; }
.q-m { display: grid; place-items: center; min-width: 52px; height: 40px; border-radius: 10px; background: var(--c); color: var(--ci); font: 800 21px/1 var(--disp); font-variant-numeric: tabular-nums; }
.ql li.m1 .q-m { background: var(--surface-3); color: var(--ink-2); }
.ql li.m2 .q-m { background: var(--turq-line); color: var(--ink); }
.q-p { display: flex; flex-direction: column; min-width: 0; }
.qrow .pl { font-weight: 600; font-size: 17px; line-height: 1.25; overflow-wrap: anywhere; }
.qrow .sub { color: var(--muted); font-size: 14.5px; line-height: 1.35; }
.qrow .sub b { color: var(--accent); font-weight: 600; }
.qrow .sd { display: none; }
.q-d { color: var(--muted); font-size: 14.5px; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.qrow:hover .pl { color: var(--accent); }
.ql li.big .pl { font-weight: 700; font-size: 18px; }
.ql li.big .q-m { height: 44px; font-size: 23px; }
.ql li.fresh { animation: fresh 5s ease-out; }
@keyframes fresh { from { background: var(--turq-soft); } to { background: transparent; } }
.grid-main > aside .qrow { padding-left: 0; padding-right: 0; }
.grid-main > aside .qrow:hover { background: none; }
@container (max-width: 430px) {
  .qrow { grid-template-columns: 50px minmax(0, 1fr) auto; column-gap: 12px; }
  .q-m { grid-column: 1; grid-row: 1; min-width: 50px; }
  .q-p { grid-column: 2; grid-row: 1; }
  .q-t { grid-column: 3; grid-row: 1; align-items: flex-end; text-align: right; font-size: 18px; }
  .q-d { display: none; }
  .qrow .sd { display: inline; }
  .qrow .pl { font-size: 16.5px; }
}

/* Dört sayı: bantın alt kenarına binen pano */
.stat-row { position: relative; display: flex; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.stat { flex: 1 1 0; display: flex; flex-direction: column; gap: 3px; padding: 16px 24px 15px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat .v { font: 800 38px/1 var(--disp); font-variant-numeric: tabular-nums; }
.stat .k { color: var(--muted); font-size: 15px; }
.stat:first-child .v { color: var(--brand); }

.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
:not(.card) > .tbl-wrap:not(.card) { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.tbl { width: 100%; border-collapse: collapse; font-size: 16px; }
.tbl th { padding: 12px 22px; border-bottom: 1px solid var(--line); background: var(--surface-2); color: var(--ink-2); font-size: 14px; font-weight: 600; text-align: left; white-space: nowrap; }
.tbl td { padding: 11px 22px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl .mono { font-variant-numeric: tabular-nums; }
.tbl-reg .reg-n { font: 800 23px/1.2 var(--disp); color: var(--ink); text-decoration: none; }
.tbl-reg .reg-n:hover { color: var(--accent); }
.tbl-sub { margin-top: 5px; display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: 15px; }
.tbl-sub small { color: var(--muted); font-size: 12.5px; margin-left: -8px; }
.grid-main > aside .tbl th, .grid-main > aside .tbl td { padding-left: 0; padding-right: 12px; background: none; }

.idx, .prov-grid { columns: 3 230px; column-gap: 40px; }
.idx a, .idx .idx-row, .prov-grid > a, .prov-grid > span { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line-2); break-inside: avoid; color: var(--ink); text-decoration: none; font-size: 16.5px; }
.idx a:hover, .prov-grid > a:hover { color: var(--accent); }
.idx a span, .idx .idx-row span, .prov-grid span span { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }

.il-board { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 8px; }
.il-board a { display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; }
.il-board a:hover { border-color: var(--turq); box-shadow: var(--shadow); }
.il-board i { flex: none; min-width: 36px; padding: 4px 5px 4px 4px; border: 1.5px solid #13212b; border-left: 6px solid #1d4ea3; border-radius: 5px; background: #fff; color: #13212b; font: 700 15px/1 var(--disp); font-style: normal; text-align: center; }
.il-board b { flex: 1; min-width: 0; font-size: 16px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.il-board span { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.il-board a.hot span { color: var(--accent); font-weight: 700; }
.il-board em { font-style: normal; font-weight: 700; padding: 0 5px; border-radius: 5px; background: var(--c); color: var(--ci); }

.side-list { display: flex; flex-direction: column; }
.side-list a, .side-list .sl-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 16.5px; }
.side-list > :last-child { border-bottom: 0; padding-bottom: 0; }
.side-list a:hover span:first-child { color: var(--accent); text-decoration: underline; }
.side-list a > span + span, .side-list .sl-row > span + span { color: var(--muted); font-size: 14.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.side-box { padding-top: 16px; border-top: 1px solid var(--line-2); }
.side-t { margin-bottom: 12px; font-size: 21px; font-weight: 700; }
.side-t small { margin-left: 6px; color: var(--muted); font: 400 14.5px var(--sans); }
.rank { list-style: none; margin: 0; padding: 0; }
.rank li { position: relative; }
.rank li::before { content: ""; position: absolute; inset: 3px auto 3px 0; width: calc(var(--w) * 1%); min-width: 4px; background: var(--turq-line); border-radius: 6px; }
.rank a { position: relative; display: flex; justify-content: space-between; gap: 10px; padding: 7px 10px; color: var(--ink); text-decoration: none; font-size: 16.5px; }
.rank a:hover span { text-decoration: underline; }
.rank b { font: 700 16px var(--disp); }
.side-more { display: inline-block; margin-top: 10px; font-size: 16px; font-weight: 600; }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 8px 14px; margin: 0; font-size: 16.5px; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; text-align: right; font-weight: 600; }
.bars { display: flex; align-items: flex-end; gap: 2px; height: 96px; }
.bars span { flex: 1; min-width: 2px; background: var(--turq-line); border-radius: 2px 2px 0 0; }
.bars span:hover { background: var(--turq); }
.bars span.hi { background: var(--brand); }
.bars-axis { display: flex; justify-content: space-between; margin-top: 6px; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.hbar { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; font-size: 16px; }
.hbar .tr { grid-column: 1 / -1; height: 7px; margin-bottom: 9px; background: var(--surface-3); border-radius: 4px; overflow: hidden; }
.hbar .tr i { display: block; height: 100%; background: var(--turq); border-radius: 4px; }
.hbar .mono { font-variant-numeric: tabular-nums; }
.hist { list-style: none; margin: 0; padding: 0; }
.hist li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 16.5px; }
.hist li:last-child { border-bottom: 0; }
.hist .yr { flex: none; width: 46px; color: var(--muted); font: 700 16px var(--disp); }
.hist a { flex: 1; min-width: 0; color: var(--ink); text-decoration: none; } .hist a:hover { color: var(--accent); text-decoration: underline; }
.hist > li > .ic { width: 14px; height: 14px; color: var(--muted); }
.hist-long li { align-items: flex-start; gap: 20px; padding: 16px 0; }
.hist-long li:first-child { padding-top: 4px; } .hist-long li:last-child { padding-bottom: 4px; }
.hist-long .yr { width: 62px; padding-top: 0; color: var(--brand); font: 800 28px/1.05 var(--disp); }
.hist-long b { font: 700 21px/1.2 var(--disp); }

.feat-card { padding: 18px 20px; }
.grid-main > aside .feat-card { padding: 16px 0 0; }
.label-row { margin-bottom: 10px; color: var(--muted); font-size: 14.5px; }
.feature { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; }
.feature h3 { font-size: 22px; margin-bottom: 3px; }
.feature h3 a { color: var(--ink); text-decoration: none; } .feature h3 a:hover { color: var(--accent); }
.facts { display: flex; flex-wrap: wrap; gap: 5px 16px; margin-top: 9px; color: var(--ink-2); font-size: 15px; }
.facts span { display: inline-flex; align-items: center; gap: 6px; } .facts .ic { width: 16px; height: 16px; color: var(--muted); } .facts b { font-weight: 600; }

.news-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-card { display: flex; flex-direction: column; gap: 9px; padding: 20px 22px; color: inherit; text-decoration: none; }
.news-card:hover { border-color: var(--turq); } .news-card:hover h3 { color: var(--accent); }
.news-card h3 { font-size: 23px; line-height: 1.15; }
.news-card p { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.news-card .mb { align-self: flex-start; }
.news-meta { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14.5px; margin-top: auto; }
.news { display: flex; flex-direction: column; }
.news-item { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.news-item:first-child { padding-top: 0; } .news-item:last-child { border-bottom: 0; padding-bottom: 0; }
.news-item h2, .news-item h3 { font-size: 23px; line-height: 1.15; margin-bottom: 5px; } .news-item:hover h2, .news-item:hover h3 { color: var(--accent); }
.news-item p { margin: 0 0 6px; color: var(--ink-2); font-size: 16px; }
.qa { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; border-top: 1px solid var(--line-2); }
.qa > div { padding: 20px 0; border-bottom: 1px solid var(--line-2); }
.qa h3 { margin-bottom: 7px; font: 700 19px/1.3 var(--sans); letter-spacing: 0; }
.qa h3 a { color: inherit; }
.qa p { margin: 0; color: var(--ink-2); font-size: 17px; line-height: 1.62; }

.board { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.brow { display: grid; grid-template-columns: minmax(0, 1fr) 76px 76px 76px 18px; align-items: center; gap: 12px; padding: 15px 22px; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.brow:last-child { border-bottom: 0; }
.brow:hover { background: var(--surface-2); } .brow:hover .b-name b { color: var(--accent); }
.b-name { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.b-name b { font: 700 22px/1.2 var(--disp); }
.b-name small { color: var(--muted); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b-n { display: flex; flex-direction: column; align-items: flex-end; color: var(--muted); font-size: 13px; line-height: 1.25; }
.b-n b { color: var(--ink); font: 700 24px/1.1 var(--disp); font-variant-numeric: tabular-nums; }
.brow > .ic { color: var(--muted); width: 16px; height: 16px; }

/* ---------- Ana sayfa ---------- */
.hero-band { padding: 34px 0 96px; }
.hero-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; }
.hero h1 { font-size: clamp(44px, 5.8vw, 76px); font-weight: 800; line-height: .94; letter-spacing: -.018em; }
.hero-date { margin: 0; color: var(--ink-2); font-size: 16.5px; }
.hero-date b { color: var(--ink); font: 700 19px/1 var(--disp); font-variant-numeric: tabular-nums; }
.hero-sub { margin: 16px 0 0; color: var(--ink-2); font-size: 20px; line-height: 1.5; }
.hero-sub b { color: var(--ink); font: 800 24px/1 var(--disp); }
.hero-sub a { font-weight: 600; }
.hero-find { display: none; }
.pano { position: relative; margin-top: -70px; padding-top: 16px; }
.pano-h { display: flex; align-items: center; justify-content: space-between; gap: 14px 28px; flex-wrap: wrap; padding: 0 2px 16px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.now { display: flex; align-items: center; gap: 16px; min-width: 0; color: inherit; text-decoration: none; }
.now-m { flex: none; display: grid; place-items: center; min-width: 76px; height: 68px; padding: 0 10px; border-radius: 16px; background: var(--c); color: var(--ci); font: 800 40px/1 var(--disp); font-variant-numeric: tabular-nums; }
.now-b { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.now-b small { color: var(--muted); font-size: 15px; }
.now-b small::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 7px; border-radius: 50%; background: var(--brand); animation: live 2s ease-out infinite; }
.now-b strong { font: 800 30px/1.08 var(--disp); overflow-wrap: anywhere; }
.now-b i { color: var(--ink-2); font-size: 15px; font-style: normal; }
.now:hover strong { color: var(--accent); }
.pano-ctl { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.pano-ctl > span { color: var(--muted); font-size: 14.5px; }
.pano-links { display: flex; flex-wrap: wrap; gap: 6px 28px; margin: 14px 4px 0; font-size: 16px; font-weight: 600; }
.pano-links a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; } .pano-links a:hover { text-decoration: underline; }
.ilmap .ilmap-f path { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 6 4; stroke-opacity: .5; stroke-linecap: round; vector-effect: non-scaling-stroke; pointer-events: stroke; }
.ilmap-q .qd { fill: var(--ink); stroke: var(--surface); stroke-width: 1.2; vector-effect: non-scaling-stroke; cursor: pointer; }
.ilmap-q .qd.m1 { fill: var(--ink-2); fill-opacity: .8; }
.ilmap-q .qd.m3 { fill: var(--m3); stroke: #13212b; } .ilmap-q .qd.m4 { fill: var(--m4); stroke: #13212b; } .ilmap-q .qd.m5 { fill: var(--m5); stroke: #13212b; } .ilmap-q .qd.m6 { fill: var(--m6); } .ilmap-q .qd.m7 { fill: var(--m7); }
.ilmap-q .qd.hl, .ilmap-q a:hover .qd { stroke: var(--amber); stroke-width: 4; }
.ilmap-q .qp { fill: none; stroke: var(--brand); stroke-width: 2; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; animation: qp 1.8s ease-out infinite; pointer-events: none; }
@keyframes qp { from { transform: scale(.7); opacity: 1; } to { transform: scale(3); opacity: 0; } }
.ilmap-q .ql-t { fill: var(--ink); font-family: var(--sans); font-weight: 600; paint-order: stroke; stroke: var(--surface); stroke-width: 4px; stroke-linejoin: round; pointer-events: none; }
.ilmap-q .ql-t tspan { font-family: var(--disp); font-weight: 800; }
.ilmap-q .me-d { fill: #1d4ea3; stroke: #fff; stroke-width: 2; vector-effect: non-scaling-stroke; }
.ilmap-q .me-r { fill: #1d4ea3; fill-opacity: .06; stroke: #1d4ea3; stroke-width: 1.4; stroke-dasharray: 5 5; vector-effect: non-scaling-stroke; pointer-events: none; }
.ilmap-leg .lg-q i { width: 11px; height: 11px; border-radius: 50%; background: var(--ink); }
.ilmap-leg .lg-q i.q3 { background: var(--m3); box-shadow: inset 0 0 0 1px #13212b; } .ilmap-leg .lg-q i.q4 { background: var(--m4); box-shadow: inset 0 0 0 1px #13212b; }
.ilmap-leg .lg-fl i { width: 20px; height: 0; border-top: 2px dashed var(--ink-2); border-radius: 0; background: none; }

.feed { margin-top: 44px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.feed-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px 28px; flex-wrap: wrap; padding: 22px 24px 8px; }
.feed .card { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.feed-rows .ql { columns: 2 440px; column-gap: 0; column-rule: 1px solid var(--line); }
.feed-rows .ql li { break-inside: avoid; }
.feed-rows .ql li:last-child { border-bottom: 1px solid var(--line); }
.feed li.hl { background: var(--turq-soft); }
.near-out { margin: 0 24px 14px; padding: 11px 15px; border-radius: 10px; background: var(--turq-soft); font-size: 16px; line-height: 1.45; }
.filters + .near-out { margin-left: 0; margin-right: 0; }
.live-all { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px; background: var(--surface-2); font-weight: 600; font-size: 16.5px; text-decoration: none; }
.live-all:hover { background: var(--turq-soft); }
.filters { margin-bottom: 14px; }

.ilmap-box { padding: 16px 18px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.ilmap { display: block; width: 100%; height: auto; }
.ilmap path { fill: var(--lv0); stroke: var(--surface); stroke-width: 1.1; stroke-linejoin: round; transition: fill .15s; cursor: pointer; }
.ilmap path.lv1 { fill: var(--lv1); } .ilmap path.lv2 { fill: var(--lv2); } .ilmap path.lv3 { fill: var(--lv3); } .ilmap path.lv4 { fill: var(--lv4); }
.ilmap path.big { stroke: var(--brand); stroke-width: 2.2; }
.ilmap a:hover path, .ilmap a:focus path { fill: var(--amber); }
.ilmap-t text { fill: var(--ink); fill-opacity: .62; font: 600 10px var(--mono); text-anchor: middle; pointer-events: none; }
.ilmap-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px 24px; flex-wrap: wrap; margin-top: 8px; }
.ilmap-leg { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 0; color: var(--muted); font-size: 13.5px; }
.ilmap-leg span { display: inline-flex; align-items: center; gap: 5px; }
.ilmap-leg i { width: 16px; height: 12px; border-radius: 3px; background: var(--lv0); }
.ilmap-leg i.lv1 { background: var(--lv1); } .ilmap-leg i.lv2 { background: var(--lv2); } .ilmap-leg i.lv3 { background: var(--lv3); } .ilmap-leg i.lv4 { background: var(--lv4); }
.ilmap-leg i.big { background: var(--lv0); box-shadow: inset 0 0 0 2px var(--brand); }
.ilmap-tip { margin: 0; color: var(--ink-2); font-size: 15px; }

.today { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.today-txt h2 { margin-bottom: 14px; }
.today-txt p { margin: 0 0 .8em; color: var(--ink-2); font-size: 19px; line-height: 1.65; }
.today-txt p:last-child { margin: 0; }
.today-txt strong { color: var(--ink); }
.today-side h2 { margin-bottom: 14px; font-size: 25px; }
.today-side h2 small { display: block; margin-top: 3px; color: var(--muted); font: 400 15px var(--sans); letter-spacing: 0; }

.edu2 { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.edu-text h3 { margin: 24px 0 6px; font: 700 19.5px/1.3 var(--sans); letter-spacing: 0; }
.edu-text h3:first-child { margin-top: 0; }
.edu-text p { margin: 0; color: var(--ink-2); font-size: 17.5px; line-height: 1.65; }
.vsec { position: sticky; top: 84px; margin: 0; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.vsec svg { display: block; width: 100%; height: auto; }
.vsec figcaption { margin-top: 10px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.vg { stroke: var(--line); stroke-width: 1; } .vs { stroke: var(--ink-2); stroke-width: 1.2; } .vt { fill: var(--muted); font: 500 11.5px var(--sans); } .vb { stroke: var(--ink); stroke-width: 1; }

/* ---------- Deprem sayfası ---------- */
.qhead { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 30px; align-items: center; padding: 22px 0 72px; }
.qh-mag { display: grid; place-content: center; gap: 4px; width: 164px; height: 164px; border-radius: 28px; background: var(--c); color: var(--ci); text-align: center; box-shadow: var(--shadow-lg); }
.qh-mag b { font: 800 84px/.86 var(--disp); font-variant-numeric: tabular-nums; }
.qh-mag small { font-size: 15px; font-weight: 600; opacity: .85; }
.qhead h1 { font-size: clamp(30px, 4.2vw, 56px); font-weight: 800; line-height: 1; letter-spacing: -.012em; }
.when { margin: 14px 0 0; color: var(--ink-2); font-size: 19px; }
.when b { font: 700 21px/1 var(--disp); font-variant-numeric: tabular-nums; color: var(--ink); }
.qh-long { margin: 4px 0 0; color: var(--muted); font-size: 16.5px; }
.bulletin { position: relative; display: flex; flex-wrap: wrap; margin-top: -40px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); font-size: 16px; color: var(--ink-2); overflow: hidden; }
.bulletin span { flex: 1 1 auto; padding: 15px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; white-space: nowrap; }
.bulletin b { color: var(--ink); font: 700 19px/1 var(--disp); font-variant-numeric: tabular-nums; }
.revs { margin: 12px 4px 0; color: var(--muted); font-size: 14.5px; }
.prose p { margin: 0 0 .9em; font-size: 19px; line-height: 1.68; }
.prose p:last-child { margin-bottom: 0; }
.felt { padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.felt fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.felt legend { padding: 0; margin-bottom: 12px; font-weight: 700; font-size: 17.5px; }
.felt-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.felt-opts label { position: relative; display: flex; padding: 11px 12px 11px 19px; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; cursor: pointer; background: var(--surface); font-size: 15px; line-height: 1.3; }
.felt-opts label > span { display: flex; flex-direction: column; gap: 3px; }
.felt-opts label::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 7px; background: var(--c); }
.felt-opts input { position: absolute; opacity: 0; }
.felt-opts small { color: var(--muted); font-size: 13.5px; }
.felt-opts label:has(input:checked) { border-color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); background: var(--turq-soft); }
.felt-opts label:has(input:focus-visible) { outline: 3px solid var(--turq); outline-offset: 2px; }
.felt-loc { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 16px; }
.felt-loc select { flex: 1 1 180px; min-width: 0; max-width: 100%; padding: 11px 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); border-radius: 10px; }
.felt-out { margin: 12px 0 0; color: var(--muted); font-size: 14.5px; }
.felt.sent .felt-opts, .felt.sent .felt-loc { opacity: .5; pointer-events: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.wave-ctrl { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-bottom: 14px; }
.wave-ctrl .mono, .sim-form .mono { font-variant-numeric: tabular-nums; }
.mycity { margin: 12px 0 0; font-size: 16px; }
.int { display: inline-grid; place-items: center; min-width: 36px; height: 24px; padding: 0 6px; border-radius: 6px; border: 1px solid rgba(0, 0, 0, .14); color: #16181b; font: 700 14.5px var(--disp); }
.int-legend { display: flex; flex-wrap: wrap; gap: 4px 11px; margin-top: 10px; color: var(--ink-2); font: 700 14.5px var(--disp); }
.int-legend i { display: inline-block; width: 13px; height: 13px; margin-right: 4px; border-radius: 3px; border: 1px solid rgba(0, 0, 0, .16); vertical-align: -2px; }

/* ---------- Harita ---------- */
.map { position: relative; z-index: 0; background: var(--surface-2); }
.qmap { height: 480px; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
/* Fayansele gri ale altlığın turkuaza çekilmesi: haritalar sitenin paletine uyar */
.leaflet-tile-pane { filter: sepia(1) hue-rotate(128deg) saturate(.5) brightness(1.03); }
div.qmap > .map { border-radius: inherit; }
.leaflet-container { font: inherit; background: var(--surface-2); }
.leaflet-container a { color: var(--accent); }
.leaflet-bar { border: 1px solid var(--line-2) !important; border-radius: 10px !important; box-shadow: var(--shadow) !important; overflow: hidden; }
.leaflet-bar a { background: var(--surface) !important; color: var(--ink) !important; border-color: var(--line) !important; }
.leaflet-control-attribution { background: color-mix(in srgb, var(--surface) 82%, transparent) !important; color: var(--muted) !important; font-size: 10.5px !important; }
.leaflet-popup-content-wrapper { background: var(--surface); color: var(--ink); border-radius: 12px; box-shadow: var(--shadow-lg); }
.leaflet-popup-tip { background: var(--surface); }
.leaflet-popup-content { margin: 12px 14px; font-size: 15px; line-height: 1.35; }
.leaflet-tooltip { background: var(--ink); color: var(--bg); border: 0; border-radius: 7px; box-shadow: none; font: 600 12.5px/1.3 var(--sans); padding: 4px 8px; }
.leaflet-tooltip::before { display: none; }
.pop { display: flex; align-items: center; gap: 11px; min-width: 200px; }
.pop a { color: var(--ink); font-weight: 700; text-decoration: none; } .pop a:hover { color: var(--accent); text-decoration: underline; }
.pop .t { margin-top: 2px; color: var(--muted); font-size: 13px; }
.ro-tip { background: var(--ink); color: var(--bg); border: 0; border-radius: 7px; padding: 4px 9px; font: 600 12.5px/1.25 var(--sans); white-space: nowrap; box-shadow: none; }
.ro-tip b { color: var(--amber); font-family: var(--disp); font-size: 14.5px; }
.pulse { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--c, #a5182d); animation: ring 1.8s ease-out infinite; }
@keyframes ring { from { transform: scale(.6); opacity: 1; } to { transform: scale(3.2); opacity: 0; } }
.map-legend { position: absolute; left: 12px; bottom: 12px; z-index: 500; display: flex; align-items: center; gap: 10px; padding: 6px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); color: var(--ink-2); font: 700 14px var(--disp); pointer-events: none; }
.map-legend span { display: inline-flex; align-items: center; gap: 5px; }
.map-legend i { width: 10px; height: 10px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .35); }
.map-legend .lg-f { font-family: var(--sans); } .map-legend .lg-f i { width: 18px; height: 0; border: 0; border-top: 2px dashed var(--ink-2); border-radius: 0; }
.map-btns { position: absolute; right: 12px; top: 12px; z-index: 500; display: flex; border: 1px solid var(--line-2); border-radius: 10px; box-shadow: var(--shadow); background: var(--surface); overflow: hidden; }
.map-btn { padding: 7px 12px; border: 0; background: none; color: var(--ink-2); font-size: 14px; font-weight: 600; }
.map-btn + .map-btn { border-left: 1px solid var(--line); }
.map-btn.on { background: var(--ink); color: var(--surface); }
.map-hint { position: absolute; inset: auto 0 16px 0; margin: 0 auto; width: max-content; z-index: 550; padding: 7px 13px; background: var(--ink); color: var(--bg); border-radius: 999px; font-size: 13.5px; font-weight: 600; pointer-events: none; opacity: .94; transition: opacity .3s; }
.map-hint.off { opacity: 0; }
.map-full { position: relative; height: calc(100vh - 110px); height: calc(100dvh - 110px); }
.is-map main { padding-bottom: 0; }
.is-map .ft { display: none; }
.map-panel { position: absolute; top: 14px; left: 14px; z-index: 600; width: 380px; max-height: calc(100% - 28px); display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; }
.map-panel .hd { display: block; padding: 15px 16px; border-bottom: 1px solid var(--line); }
.map-panel .hd h1 { font-size: 23px; }
.map-full > .map-legend { left: 410px; }
.sim-epi { width: 22px; height: 22px; border-radius: 50%; background: var(--brand); border: 3px solid #fff; box-shadow: 0 0 0 2px #161a20, 0 2px 8px rgba(0, 0, 0, .4); cursor: grab; }

/* ---------- Sismogram ---------- */
.drum { padding: 14px 0 6px; }
.trace { position: relative; }
.trace-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--muted); font-size: 13.5px; }
.trace-head b { color: var(--ink); font: 700 15.5px var(--disp); }
.trace-svg { display: block; width: 100%; height: 104px; overflow: visible; cursor: crosshair; }
.trace-svg .base { stroke: var(--line-2); stroke-width: 1; }
.trace-svg .tick { stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 4; }
.trace-svg .tlabel { fill: var(--muted); font: 500 10.5px var(--mono); }
.trace-svg .sig { fill: none; stroke: var(--brand); stroke-width: 1.3; stroke-linejoin: round; }
.trace-svg .spike-lbl { fill: var(--ink); font: 700 12.5px var(--disp); }
.trace-svg .spike-lbl-sub { fill: var(--muted); font: 500 11px var(--sans); }
.trace-svg .now { stroke: var(--ink); stroke-width: 1.5; }
.trace-tip { position: absolute; display: none; z-index: 5; padding: 6px 10px; background: var(--ink); color: var(--bg); border-radius: 8px; font-size: 13px; white-space: nowrap; pointer-events: none; transform: translate(-50%, -100%); }

/* ---------- Yazılar, rehber ---------- */
.article { padding-top: 26px; }
.article + aside { padding-top: 30px; }
.article h1 { font-size: clamp(30px, 4.2vw, 50px); font-weight: 800; line-height: 1.04; }
.dek { margin: 14px 0 22px; color: var(--ink-2); font-size: 20.5px; line-height: 1.5; }
.article .body { font-size: 18px; line-height: 1.68; }
.article .body h2 { margin: 36px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line-2); font-size: 28px; }
.article .body h3 { margin: 24px 0 6px; font: 700 19.5px/1.3 var(--sans); letter-spacing: 0; }
.article .body p { margin: 0 0 1em; }
.article .body ul, .article .body ol { margin: 0 0 1.1em; padding-left: 1.3em; }
.article .body li { margin-bottom: .45em; }
.article .body li::marker { color: var(--brand); font-weight: 700; }
.guide { max-width: 860px; }
.manual { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 46px; align-items: start; }
.toc { position: sticky; top: 84px; display: flex; flex-direction: column; margin-top: 34px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.toc b { margin-bottom: 8px; font: 700 18px var(--disp); }
.toc a { padding: 6px 0; border-top: 1px solid var(--line); color: var(--ink-2); text-decoration: none; font-size: 15.5px; }
.toc a:hover { color: var(--accent); }
.rule-box { margin: 6px 0 30px; padding: 22px 26px 24px; background: var(--band); border-radius: 16px; }
.rule-t { margin: 0 0 14px; font-weight: 700; font-size: 17.5px; }
.rule { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 0; }
.rule dt { color: var(--accent); font: 800 36px/1 var(--disp); }
.rule dd { margin: 7px 0 0; color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.kitlist { border-top: 1px solid var(--line); }
.kitlist label { display: flex; gap: 11px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 16.5px; cursor: pointer; }
.kitlist input { accent-color: var(--hd); width: 18px; height: 18px; flex: none; transform: translateY(3px); }
.kitlist label span { color: var(--ink-2); } .kitlist label b { color: var(--ink); }
.kitlist input:checked + span, .kitlist input:checked + span b { color: var(--muted); text-decoration: line-through; }
.kit-progress { display: flex; align-items: center; gap: 10px; margin: 10px 0; color: var(--muted); font: 500 14px var(--mono); }
.kit-progress span:first-child { color: var(--ink); }
.kit-track { flex: 1; max-width: 280px; height: 6px; background: var(--surface-3); border-radius: 3px; overflow: hidden; }
.kit-track i { display: block; height: 100%; width: 0; background: var(--turq); transition: width .3s; }
.manual-faq { margin-top: 40px; }
.manual-faq h2 { margin-bottom: 6px; padding-bottom: 8px; border-bottom: 1px solid var(--line-2); font-size: 28px; }
.manual-faq h3 { margin: 20px 0 6px; font: 700 19px/1.3 var(--sans); letter-spacing: 0; }
.manual-faq p { margin: 0; color: var(--ink-2); font-size: 17.5px; line-height: 1.62; }
.read-bar { position: fixed; left: 0; top: 0; z-index: 2000; height: 3px; width: 0; background: var(--amber); }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal a, .cal span { aspect-ratio: 1; display: grid; place-items: center; border-radius: 6px; background: var(--surface-2); color: var(--ink-2); font: 500 12px var(--mono); text-decoration: none; }
.cal a:hover { outline: 2px solid var(--ink); outline-offset: -1px; }
.cal a.l1 { background: var(--lv1); color: var(--ink); } .cal a.l2 { background: var(--m4); color: #2b1400; } .cal a.l3 { background: var(--m6); color: #fff; }
.cal .dow { aspect-ratio: auto; background: none; color: var(--muted); font-size: 11px; }
.sim-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 24px; padding: 20px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.sim-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.sim-form label b { color: var(--ink); font-family: var(--mono); }
.sim-form select { padding: 9px 10px; border: 1px solid var(--line-2); border-radius: 9px; background: var(--surface); color: var(--ink); max-width: 100%; }
.sim-form input[type=range] { width: 190px; accent-color: var(--hd); }
.sim-sum { margin: 14px 2px; font-size: 17px; color: var(--ink-2); }
.sim .grid-main { margin-top: 4px; }

/* ---------- Alt bilgi ---------- */
.ft { margin-top: 30px; background: var(--surface); border-top: 1px solid var(--line); }
.ft-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 64px; align-items: start; padding-top: 40px; padding-bottom: 34px; }
.ft .brand { color: var(--ink); }
.ft .brand .mark { color: var(--brand); }
.ft .brand-w em { color: var(--brand); opacity: 1; }
.ft-lead { margin: 14px 0 0; color: var(--ink-2); font-size: 17px; }
.ft-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ft-t { margin: 0 0 8px; font: 700 18px/1.2 var(--disp); color: var(--ink); }
.ft-cols a { display: block; padding: 4px 0; color: var(--ink-2); text-decoration: none; font-size: 15.5px; }
.ft-cols a:hover { color: var(--accent); text-decoration: underline; }
.ft-sos { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; font-size: 14.5px; }
.ft-sos span { padding: 5px 13px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink-2); }
.ft-sos b { margin-left: 4px; color: var(--brand); font: 800 17px/1 var(--disp); }
.ft-index { padding-top: 26px; padding-bottom: 10px; border-top: 1px solid var(--line); }
.ft-index .ft-t { margin: 0 0 10px; }
.fp-list { columns: 2 380px; column-gap: 40px; margin-bottom: 22px; }
.fp-list p { margin: 0 0 9px; break-inside: avoid; font-size: 14.5px; line-height: 1.75; }
.fp-list b { flex: 0 0 100%; } .fp-list b a { color: var(--ink); font: 700 16px var(--disp); }
.fp-list p, .fp-row { display: flex; flex-wrap: wrap; gap: 0 13px; }
.fp-list a, .fp-row a { color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.fp-list a:hover, .fp-row a:hover { color: var(--accent); text-decoration: underline; }
.fp-row { margin: 0 0 22px; font-size: 14.5px; line-height: 1.9; }
.fine { display: flex; justify-content: space-between; gap: 24px; padding-top: 18px; padding-bottom: 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.fine p { margin: 0; } .fine span { white-space: nowrap; }

/* ---------- Duyarlı düzen ---------- */
@media (max-width: 1180px) {
  .readout .ro-p { max-width: 150px; }
  .sos { display: none; }
  .hd-nav a { padding: 11px 10px; font-size: 16px; }
  .mega-in { grid-template-columns: repeat(4, 1fr); }
  .mega-sm .mega-in { margin-left: 200px; }
}
@media (max-width: 1024px) {
  html { scroll-padding-top: 66px; }
  .hd-in { height: 56px; gap: 12px; }
  .hd-in > .find, .hd-nav { display: none; }
  .menu-btn { display: grid; }
  #theme-btn { display: none; }
  .brand .mark { width: 34px; height: 34px; } .brand-w { font-size: 25px; }
  .readout { padding-right: 12px; max-width: 46vw; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1500; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(22, 26, 32, .08); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 3px 2px; color: var(--muted); text-decoration: none; font-size: 11.5px; font-weight: 600; line-height: 1.2; }
  .tabbar .ti .ic { width: 23px; height: 23px; }
  .tabbar a.on { color: var(--brand); }
  .tabbar a.fab .ti { display: grid; place-items: center; width: 52px; height: 52px; margin-top: -24px; background: var(--hd); color: #fff; border: 4px solid var(--surface); border-radius: 18px; box-shadow: var(--shadow-lg); }
  .tabbar a.fab .ti .ic { width: 25px; height: 25px; }
  .hero-find { display: block; margin-top: 18px; }
  .hero-find .find { max-width: none; margin: 0; background: var(--surface-2); border-color: var(--line-2); height: 48px; }
  .hero-find .find input { color: var(--ink); } .hero-find .find input::placeholder { color: var(--muted); }
  .hero-find .find > .ic { color: var(--brand); } .hero-find .find button { background: var(--hd); color: #fff; width: 38px; height: 38px; }
  .pano-ctl > span { display: none; }
  .grid-main { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .today { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .edu2 { grid-template-columns: minmax(0, 1fr); gap: 28px; } .vsec { position: static; }
  .manual { grid-template-columns: minmax(0, 1fr); gap: 0; } .toc { position: static; margin-top: 20px; }
  .ft-top { grid-template-columns: 1fr; gap: 26px; }
  .map-full { height: calc(100dvh - 56px - 64px - env(safe-area-inset-bottom)); }
  .map-panel { left: 8px; right: 8px; top: auto; bottom: 8px; width: auto; max-height: 44%; }
  .map-full > .map-legend { left: 8px; bottom: auto; top: 8px; }
  .ilmap-t { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .sec { margin-top: 48px; }
  .sec-h h2, .feed-h h2, .today-txt h2, .today-side h2 { font-size: 26px; }
  .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr) !important; gap: 36px; }
  .stat-row { display: grid; grid-template-columns: 1fr 1fr; }
  .stat { padding: 13px 18px; }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stat .v { font-size: 32px; }
  .page-h { padding-bottom: 28px; }
  .card-pad { padding: 16px 16px; }
  .qrow { padding-left: 14px; padding-right: 14px; }
  .tbl th, .tbl td { padding-left: 14px; }
  .feed-h { padding: 18px 16px 6px; } .near-out { margin: 0 16px 12px; }
  .brow { padding-left: 16px; padding-right: 14px; }
  .felt { padding: 18px 16px; }
  .hero-band { padding: 24px 0 84px; }
  .news-cards { grid-template-columns: 1fr; gap: 28px; }
  .qa { grid-template-columns: 1fr; }
  .hero h1 { font-size: 46px; }
  .hero-sub { font-size: 18px; }
  .pano { padding: 12px 8px 10px; margin: -66px -8px 0; }
  .pano-h { padding: 0 4px 12px; }
  .pano-ctl { margin-left: 0; width: 100%; } .pano-ctl .seg { width: 100%; } .pano-ctl .seg button { flex: 1; }
  .now-m { min-width: 62px; height: 58px; font-size: 32px; border-radius: 12px; }
  .now-b strong { font-size: 23px; }
  .ilmap-f path { stroke-width: 1.1; }
  .feed { margin: 34px -8px 0; }
  .qmap { height: 340px; }
  .il-board { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
  .brow { grid-template-columns: minmax(0, 1fr) 58px 58px 14px; gap: 8px; } .brow .b-mx { display: none; } .b-name b { font-size: 19px; }
  .today-txt p { font-size: 17.5px; }
  .rule { grid-template-columns: 1fr; gap: 14px; }
  .has-plate { flex-direction: column; gap: 4px; } .plate { margin-top: 0; } .plate b { font-size: 30px; padding: 2px 10px 4px; }
  .qhead { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 16px 0 64px; }
  .qh-mag { grid-auto-flow: column; align-items: baseline; justify-content: start; width: auto; height: auto; padding: 12px 22px 10px; gap: 12px; justify-self: start; border-radius: 20px; } .qh-mag b { font-size: 60px; }
  .when { font-size: 17.5px; }
  .bulletin span { flex: 1 1 40%; white-space: normal; padding: 12px 16px; }
  .prose p { font-size: 17.5px; }
  .felt-opts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tbl th, .tbl td { padding-right: 12px; }
  .news-cards { gap: 14px; }
  .idx, .prov-grid { columns: 1; }
  .fine { flex-direction: column; gap: 10px; }
  .ft-cols { grid-template-columns: 1fr 1fr; }
  .alert-bar { font-size: 15px; } .alert-bar i { display: none; }
  .readout .ro-p { display: none; }
  .trace-expl { display: none; } .trace-svg { height: 84px; }
  .map-btn { padding: 7px 9px; font-size: 13px; }
  .sim-form input[type=range] { width: 100%; } .sim-form label { flex: 1 1 100%; }
}
@media (max-width: 400px) {
  .brand-w { font-size: 23px; }
  .hero h1 { font-size: 40px; }
  .il-board b { font-size: 14.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .tk-run, .live-dot, .pulse, .ql li.fresh, .ilmap-q .qp { animation: none; }
  .drawer, .drawer-in { transition: none; }
}
@media print {
  .hd-top, .hd-nav, .motif, .ticker, .alert-bar, .tabbar, .drawer, .ft, .map, .qmap { display: none !important; }
  body { background: #fff; }
}
