/* ipadresimne.net — kurumsal, veri yoğun tasarım (beyaz zemin, lacivert metin, kurumsal mavi) */

/* ---------- Yazı tipleri (kendi sunucumuzda, OFL) ---------- */
@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/geist-mono-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tema değişkenleri ---------- */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-soft: #f6f8fa;
  --surface: #ffffff;
  --border: #e1e4e8;
  --border-strong: #cdd3dc;
  --text: #1b2536;
  --text-2: #3d4758;
  --muted: #667085;
  --brand: #0b5cd5;
  --brand-strong: #0947a8;
  --brand-soft: #eaf1fd;
  --brand-ring: rgba(11, 92, 213, 0.2);
  --btn: #0b5cd5;
  --btn-hover: #0947a8;
  --ok: #15803d;
  --ok-soft: #e7f6ec;
  --warn: #b45309;
  --warn-soft: #fdf2e3;
  --danger: #c81e1e;
  --danger-soft: #fdecec;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow-lg: 0 12px 32px -12px rgba(16, 24, 40, 0.18);
  --footer: #0b1b33;
  --font: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, "Liberation Mono", monospace;
  --container: 1200px;
  --header: 64px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b1220;
  --bg-soft: #0f1829;
  --surface: #0f1829;
  --border: #223049;
  --border-strong: #2f405e;
  --text: #e6ebf3;
  --text-2: #c3cddd;
  --muted: #8e9bb2;
  --brand: #5b9bff;
  --brand-strong: #7cb0ff;
  --brand-soft: rgba(91, 155, 255, 0.12);
  --brand-ring: rgba(91, 155, 255, 0.3);
  --btn: #2563eb;
  --btn-hover: #1d4ed8;
  --ok: #34d399;
  --ok-soft: rgba(52, 211, 153, 0.12);
  --warn: #fbbf24;
  --warn-soft: rgba(251, 191, 36, 0.12);
  --danger: #f87171;
  --danger-soft: rgba(248, 113, 113, 0.12);
  --shadow: none;
  --shadow-lg: 0 16px 40px -16px rgba(0, 0, 0, 0.7);
  --footer: #070d18;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0b1220;
    --bg-soft: #0f1829;
    --surface: #0f1829;
    --border: #223049;
    --border-strong: #2f405e;
    --text: #e6ebf3;
    --text-2: #c3cddd;
    --muted: #8e9bb2;
    --brand: #5b9bff;
    --brand-strong: #7cb0ff;
    --brand-soft: rgba(91, 155, 255, 0.12);
    --brand-ring: rgba(91, 155, 255, 0.3);
    --btn: #2563eb;
    --btn-hover: #1d4ed8;
    --ok: #34d399;
    --ok-soft: rgba(52, 211, 153, 0.12);
    --warn: #fbbf24;
    --warn-soft: rgba(251, 191, 36, 0.12);
    --danger: #f87171;
    --danger-soft: rgba(248, 113, 113, 0.12);
    --shadow: none;
    --shadow-lg: 0 16px 40px -16px rgba(0, 0, 0, 0.7);
    --footer: #070d18;
  }
}

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 16px);
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main { flex: 1; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
a { color: var(--brand); text-underline-offset: 3px; }
img, svg { vertical-align: middle; }
button, input { font: inherit; }
::selection { background: var(--brand-ring); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right));
}
.container--narrow { max-width: 860px; }
@media (min-width: 768px) { .container { padding-inline: 24px; } }

.icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  padding: 10px 14px; border-radius: 8px;
  background: var(--btn); color: #fff; font-weight: 600; text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); font-weight: 400; }
.break { overflow-wrap: anywhere; }

/* ---------- Üst menü ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.site-header__inner { display: flex; align-items: center; gap: 20px; height: var(--header); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  color: var(--text);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand__tld { color: var(--muted); font-weight: 500; }
.logo {
  width: 30px;
  height: 30px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #0b5cd5;
}
.logo svg { width: 30px; height: 30px; fill: #fff; }

.hsearch { position: relative; flex: 0 1 300px; min-width: 0; }
.hsearch__icon { position: absolute; left: 11px; top: 50%; width: 16px; height: 16px; color: var(--muted); transform: translateY(-50%); pointer-events: none; }
.hsearch__input {
  width: 100%;
  height: 38px;
  padding: 0 34px 0 34px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-soft);
  color: var(--text);
  font-size: 14px;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.hsearch__input::placeholder { color: var(--muted); }
.hsearch__input::-webkit-search-cancel-button { display: none; }
.hsearch__input:focus { outline: none; border-color: var(--brand); background: var(--surface); box-shadow: 0 0 0 3px var(--brand-ring); }
.hsearch__kbd {
  position: absolute;
  right: 9px;
  top: 50%;
  transform: translateY(-50%);
  min-width: 20px;
  padding: 0 5px;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  background: var(--surface);
  color: var(--muted);
  font: 600 11px/18px var(--mono);
  text-align: center;
  pointer-events: none;
}
.hsearch__input:focus + .hsearch__kbd { display: none; }

.nav { display: flex; gap: 2px; margin-left: auto; }
.nav__link {
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--text-2);
  font-size: 14.5px;
  font-weight: 550;
  text-decoration: none;
  white-space: nowrap;
}
.nav__link:hover { background: var(--bg-soft); color: var(--text); }
.nav__link[aria-current="page"] { color: var(--brand); }

.site-header__tools { display: flex; align-items: center; gap: 8px; flex: none; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 11px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-2);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.lang-switch .icon { width: 15px; height: 15px; color: var(--muted); }
.lang-switch:hover { border-color: var(--border-strong); color: var(--brand); }

.icon-btn {
  width: 36px;
  height: 36px;
  flex: none;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text-2);
  cursor: pointer;
  transition: color .15s, border-color .15s;
}
.icon-btn:hover { border-color: var(--border-strong); color: var(--brand); }
.icon-btn:active { transform: scale(0.95); }
.icon-btn .icon { width: 17px; height: 17px; }
.icon-btn--sm { width: 30px; height: 30px; border-radius: 6px; }
.icon-btn--sm .icon { width: 14px; height: 14px; }
.icon-btn.is-copied { border-color: var(--ok); color: var(--ok); }
.icon-btn[hidden] { display: none; }

.theme-toggle__sun { display: none; }
:root[data-theme="dark"] .theme-toggle__sun { display: block; }
:root[data-theme="dark"] .theme-toggle__moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle__sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle__moon { display: none; }
}

/* Masaüstü "Araçlar" açılır menüsü ve mobil menü (<details>: JS'siz de çalışır) */
.drop { position: relative; }
.drop__toggle { display: inline-flex; align-items: center; gap: 4px; list-style: none; cursor: pointer; user-select: none; }
.drop__toggle::-webkit-details-marker, .mnav__toggle::-webkit-details-marker { display: none; }
.drop__chevron { width: 15px; height: 15px; transition: transform .15s; }
.drop[open] .drop__chevron { transform: rotate(180deg); }
.drop[open] .drop__toggle, .nav__link[aria-current="true"] { color: var(--brand); }
.drop__panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 60;
  width: 580px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  transform: translateX(-50%);
}

.menu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; margin: 0; padding: 0; list-style: none; }
.menu-grid--plain { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 6px; }
.menu-item { display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px; border-radius: 8px; color: var(--text); text-decoration: none; }
.menu-item:hover { background: var(--bg-soft); }
.menu-item[aria-current="page"] { background: var(--brand-soft); }
.menu-item__icon { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 8px; background: var(--brand-soft); color: var(--brand); }
.menu-item__icon .icon { width: 18px; height: 18px; }
.menu-item__text { display: grid; gap: 1px; min-width: 0; }
.menu-item__name { font-size: 14.5px; font-weight: 650; }
.menu-item__desc { color: var(--muted); font-size: 13px; line-height: 1.4; }

.mnav { display: none; }
.mnav__toggle { list-style: none; }
.mnav__close, .mnav[open] .mnav__open { display: none; }
.mnav[open] .mnav__close { display: block; }
.mnav__panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 60;
  max-height: calc(100vh - var(--header));
  max-height: calc(100dvh - var(--header));
  overflow-y: auto;
  padding: 4px 0 20px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.mnav__title { margin: 14px 0 6px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.mnav__links { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.mnav__links a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; color: var(--text); font-weight: 600; text-decoration: none; }
.mnav__links a:hover, .mnav__links a[aria-current="page"] { background: var(--bg-soft); }
.mnav__links .icon { color: var(--brand); }

@media (max-width: 1023px) {
  .nav { display: none; }
  .mnav { display: block; }
  .site-header__tools { margin-left: auto; }
}
@media (max-width: 859px) {
  :root { --header: 108px; }
  .site-header__inner { height: auto; flex-wrap: wrap; row-gap: 10px; padding-block: 12px; }
  .hsearch { order: 3; flex: 1 1 100%; }
}
@media (max-width: 559px) {
  .mnav .menu-grid { grid-template-columns: minmax(0, 1fr); }
}
/* "/" kısayolu dokunmatik cihazlarda anlamsız */
@media (hover: none), (pointer: coarse) {
  .hsearch__kbd { display: none; }
}

/* ---------- Butonlar, rozetler ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn--lg { height: 48px; padding: 0 22px; }
.btn--primary { color: #fff; background: var(--btn); }
.btn--primary:hover { background: var(--btn-hover); }
.btn--ghost { color: var(--text); background: var(--surface); border-color: var(--border-strong); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn .icon { width: 17px; height: 17px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 0 6px; padding: 0; list-style: none; }
.tag {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-2);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.tag--hosting, .tag--proxy { border-color: color-mix(in srgb, var(--warn) 40%, transparent); background: var(--warn-soft); color: var(--warn); }
.tag--tor { border-color: color-mix(in srgb, var(--danger) 40%, transparent); background: var(--danger-soft); color: var(--danger); }
.tag--mobile { border-color: color-mix(in srgb, var(--brand) 35%, transparent); background: var(--brand-soft); color: var(--brand); }

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 1px 9px;
  border-radius: 5px;
  font-size: 12.5px;
  font-weight: 600;
  background: var(--brand-soft);
  color: var(--brand);
}
.pill--isp { background: var(--ok-soft); color: var(--ok); }
.pill--hosting, .pill--proxy { background: var(--warn-soft); color: var(--warn); }
.pill--tor { background: var(--danger-soft); color: var(--danger); }

.state { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.state .icon { width: 16px; height: 16px; }
.state--ok { color: var(--ok); }
.state--warn { color: var(--warn); }

.flag {
  width: 20px;
  height: auto;
  margin-right: 7px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(16, 24, 40, 0.12);
  vertical-align: -2px;
}

/* ---------- Üst şerit (breadcrumb) ---------- */
.strip { border-bottom: 1px solid var(--border); background: var(--bg-soft); font-size: 13.5px; }
.strip__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; min-height: 46px; padding-block: 7px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--muted); min-width: 0; }
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }
.crumbs [aria-current] { color: var(--text); font-weight: 600; overflow-wrap: anywhere; }
.crumbs__sep { color: var(--border-strong); }
.strip__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.strip__item { display: inline-flex; align-items: center; color: var(--text-2); font-weight: 600; }
.strip__asn a { font-weight: 700; text-decoration: none; }
.seg { display: inline-flex; overflow: hidden; border: 1px solid var(--border-strong); border-radius: 6px; background: var(--surface); }
.seg__item { padding: 2px 10px; color: var(--muted); font-size: 12.5px; font-weight: 700; text-decoration: none; }
.seg__item + .seg__item { border-left: 1px solid var(--border-strong); }
.seg__item.is-active { background: var(--bg-soft); color: var(--text); }
a.seg__item:hover { color: var(--brand); }

/* ---------- IP raporu başlığı ---------- */
.rhead { padding: 28px 0 6px; }
.rhead__title { margin: 0 0 4px; color: var(--text-2); font-size: 1.15rem; font-weight: 650; letter-spacing: -0.01em; }
.rhead__kicker { margin: 0 0 4px; color: var(--muted); font-size: 14.5px; }
.rhead__kicker strong { color: var(--text); }
.rhead__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.rhead__ip {
  margin: 0;
  color: var(--text);
  font-size: clamp(2rem, 1.35rem + 2.8vw, 2.9rem);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.rhead__ip--v6 { font-size: clamp(1.3rem, 0.9rem + 1.7vw, 2rem); letter-spacing: -0.015em; }
.rhead__sub { margin: 10px 0 0; color: var(--muted); font-size: 15px; }
.rhead__sub strong { color: var(--text); font-weight: 600; overflow-wrap: anywhere; }
.rhead__others { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 12px 0 0; color: var(--muted); font-size: 13.5px; }
.rhead__others a, .lookup__examples a {
  padding: 2px 8px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--bg-soft);
  color: var(--text-2);
  font-family: var(--mono);
  font-size: 12.5px;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.rhead__others a:hover, .lookup__examples a:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- Rapor düzeni: bölümler + içindekiler ---------- */
.report { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 32px; padding-top: 18px; padding-bottom: 8px; }
.report--single { grid-template-columns: minmax(0, 1fr); }
.report__main { display: grid; align-content: start; gap: 20px; min-width: 0; }
.report__toc { position: sticky; top: calc(var(--header) + 20px); align-self: start; }
@media (max-width: 1023px) {
  .report { grid-template-columns: minmax(0, 1fr); }
  .report__toc { display: none; }
}

.toc { display: flex; flex-direction: column; border-left: 2px solid var(--border); }
.toc__title { margin: 0 0 6px; padding-left: 16px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.toc__link {
  margin-left: -2px;
  padding: 6px 14px;
  border-left: 2px solid transparent;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}
.toc__link:hover { color: var(--text); }
.toc__link.is-active { border-left-color: var(--brand); color: var(--text); font-weight: 600; }

.box {
  padding: 18px 20px 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  min-width: 0;
}
.box__title { margin: 0 0 12px; font-size: 1.2rem; font-weight: 650; letter-spacing: -0.015em; }
.box__note { display: flex; gap: 8px; margin: 14px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.box__note .icon { width: 15px; height: 15px; margin-top: 2px; }
.box__foot {
  margin: 16px -20px -20px;
  padding: 10px 20px;
  border-top: 1px solid var(--border);
  border-radius: 0 0 8px 8px;
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 13px;
}
.box__foot a { text-decoration: none; }
.box__foot a:hover { text-decoration: underline; }

/* Anahtar / değer tablosu (zebra) */
.kvt { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.kvt th, .kvt td { padding: 9px 12px; text-align: left; vertical-align: top; }
.kvt th { width: 32%; min-width: 120px; color: var(--text-2); font-weight: 500; }
.kvt td { color: var(--text); font-weight: 500; overflow-wrap: anywhere; }
.kvt tbody tr:nth-child(odd) { background: var(--bg-soft); }
.kvt td a { font-weight: 600; text-decoration: none; }
.kvt td a:hover { text-decoration: underline; }
.kvt td.mono { font-size: 14px; }
.kvt td .muted { font-family: var(--font); }
@media (max-width: 559px) {
  .kvt th { width: 40%; min-width: 0; }
  .kvt th, .kvt td { padding: 8px 10px; }
}

.geo { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.geo__map { margin: 0; }
.geo__map figcaption { margin-top: 8px; color: var(--text-2); font-size: 13px; font-weight: 600; text-align: center; }
@media (max-width: 719px) { .geo { grid-template-columns: minmax(0, 1fr); } }

.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.trio__item { display: grid; gap: 2px; align-content: start; padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px; }
.trio__icon { color: var(--brand); margin-bottom: 4px; }
.trio__icon .icon { width: 18px; height: 18px; }
.trio__label { color: var(--muted); font-size: 11.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.trio__value { color: var(--text); font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.trio--plain { margin: 0; }
.trio--plain .trio__item { padding: 0; border: 0; }
@media (max-width: 559px) { .trio { grid-template-columns: minmax(0, 1fr); } }

.asn { margin: 0 0 16px; font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.asn a { text-decoration: none; }
.asn a:hover { text-decoration: underline; }
.asn span { color: var(--text); }

/* Gizlilik tespitleri */
.detects { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.detect {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.detect__icon { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); background: var(--bg-soft); }
.detect__icon .icon { width: 15px; height: 15px; stroke-width: 2.5; }
.detect__label { color: var(--text); font-size: 14.5px; font-weight: 600; }
.detect__detail { display: block; color: var(--muted); font-size: 12.5px; font-weight: 400; overflow-wrap: anywhere; }
.detect__detail:empty { display: none; }
.detect__badge { padding: 3px 10px; border-radius: 999px; background: var(--bg-soft); color: var(--muted); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.detect[data-state="ok"] .detect__icon { color: var(--ok); background: var(--ok-soft); }
.detect[data-state="ok"] .detect__badge { color: var(--ok); background: var(--ok-soft); }
.detect[data-state="warn"] .detect__icon { color: var(--warn); background: var(--warn-soft); }
.detect[data-state="warn"] .detect__badge { color: #fff; background: var(--warn); }
.detect[data-state="pending"] .detect__icon { animation: blink 1.1s ease-in-out infinite; }
@media (max-width: 479px) {
  .detect { grid-template-columns: auto minmax(0, 1fr); }
  .detect__badge { grid-column: 2; justify-self: start; }
}

/* IP sürümleri */
.stack { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.stack__row {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 8px 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.stack__status { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.stack__row[data-state="ok"] .stack__status { background: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft); }
.stack__row[data-state="pending"] .stack__status { background: var(--muted); animation: blink 1.1s ease-in-out infinite; }
.stack__label { color: var(--text-2); font-size: 13px; font-weight: 700; }
.stack__value { overflow: hidden; color: var(--text); font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.stack__row[data-state="fail"] .stack__value,
.stack__row[data-state="pending"] .stack__value { color: var(--muted); font-family: var(--font); }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 14px; font-weight: 600; text-decoration: none; }
.link-arrow .icon { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* User-Agent */
.ua { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); }
.ua summary { color: var(--text-2); font-size: 14px; font-weight: 600; cursor: pointer; }
.ua__body { display: flex; align-items: flex-start; gap: 10px; margin-top: 10px; }
.ua code { flex: 1; padding: 10px 12px; border: 1px solid var(--border); border-radius: 6px; background: var(--bg-soft); color: var(--text-2); font-size: 12.5px; line-height: 1.55; }

/* Harita */
.map { position: relative; z-index: 0; min-height: 260px; overflow: hidden; border: 1px solid var(--border); border-radius: 8px; background: var(--bg-soft); }
.map__placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: 13px; }
.map.leaflet-container { font: inherit; font-size: 12px; background: var(--bg-soft); }
:root[data-theme="dark"] .map .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(0.9) contrast(0.88) saturate(0.4); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .map .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(0.9) contrast(0.88) saturate(0.4); }
}
.map .leaflet-control-attribution { background: color-mix(in srgb, var(--surface) 88%, transparent); color: var(--muted); font-size: 10.5px; }
.map .leaflet-control-attribution a { color: var(--text-2); }
.map .leaflet-bar { overflow: hidden; border: 1px solid var(--border); border-radius: 6px; box-shadow: var(--shadow); }
.map .leaflet-bar a { background: var(--surface); color: var(--text); border-bottom-color: var(--border); }
.map .leaflet-bar a:hover { background: var(--bg-soft); }
.map-circle { stroke: #0b5cd5; stroke-width: 1.5; fill: #0b5cd5; fill-opacity: 0.1; }
.map-pin__dot {
  position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px;
  border: 3px solid #fff; border-radius: 50%; background: #0b5cd5; box-shadow: 0 2px 8px rgba(11, 27, 51, 0.45);
}
.map-pin__pulse {
  position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border-radius: 50%; background: rgba(11, 92, 213, 0.35); animation: pin-pulse 2.2s ease-out infinite;
}

/* ---------- Sayfa başlığı (rapor dışı sayfalar) ---------- */
.phead { padding: 32px 0 8px; }
.phead__eyebrow { margin: 0 0 8px; color: var(--brand); font-size: 14px; font-weight: 700; }
.phead__title { margin: 0 0 8px; font-size: clamp(1.9rem, 1.5rem + 1.8vw, 2.6rem); font-weight: 750; line-height: 1.15; letter-spacing: -0.03em; }
.phead__lead { max-width: 700px; margin: 0; color: var(--muted); font-size: 1.05rem; }
.phead--center { padding-block: clamp(56px, 10vw, 110px); text-align: center; }
.phead--center .phead__lead { margin-inline: auto; }
.phead__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }

/* ---------- Bölümler, paneller ---------- */
.section { padding: clamp(28px, 4vw, 44px) 0; }
.section--tight { padding-top: 16px; }
.section--flush { padding-top: 0; }
.section__title { margin: 0 0 6px; font-size: clamp(1.3rem, 1.15rem + 0.7vw, 1.6rem); font-weight: 700; line-height: 1.25; letter-spacing: -0.025em; }
.section__desc { margin: 0; color: var(--muted); }

.panel { padding: clamp(20px, 3vw, 28px); border: 1px solid var(--border); border-radius: 10px; background: var(--surface); box-shadow: var(--shadow); }
.panel__head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.panel__icon {
  width: 40px; height: 40px; flex: none; display: inline-grid; place-items: center;
  margin-bottom: 10px; border-radius: 8px; background: var(--brand-soft); color: var(--brand);
}
.panel__head .panel__icon { margin: 0; }
.panel__icon .icon { width: 20px; height: 20px; }
.panel--search { max-width: 820px; margin-top: 22px; }
.panel--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; align-items: center; }
@media (max-width: 879px) { .panel--split { grid-template-columns: minmax(0, 1fr); gap: 22px; } }
.panel--contact { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 36px; }
.panel--contact .panel__icon { margin: 0; }
.panel--contact .section__desc { margin-bottom: 16px; }
@media (max-width: 519px) {
  .panel--contact { flex-direction: column; }
  .panel--contact .btn { width: 100%; }
}

.lookup { display: flex; gap: 10px; }
.lookup__field { position: relative; flex: 1; min-width: 0; }
.lookup__icon { position: absolute; left: 15px; top: 50%; width: 18px; height: 18px; color: var(--muted); transform: translateY(-50%); pointer-events: none; }
.lookup__input {
  width: 100%;
  height: 50px;
  padding: 0 14px 0 44px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-size: 16px;
  transition: border-color .15s, box-shadow .15s;
}
.lookup__input::placeholder { color: var(--muted); }
.lookup__input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-ring); }
.lookup__btn { height: 50px; padding: 0 22px; }
@media (max-width: 519px) {
  .lookup { flex-direction: column; }
  .lookup__btn { width: 100%; }
}
.lookup__examples { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 12px 0 0; color: var(--muted); font-size: 13.5px; }

.alert { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 16px; padding: 12px 14px; border-radius: 8px; font-size: 14.5px; line-height: 1.55; }
.alert p { margin: 0; }
.alert .icon { width: 19px; height: 19px; margin-top: 1px; }
.alert--error { border: 1px solid color-mix(in srgb, var(--danger) 25%, transparent); background: var(--danger-soft); color: var(--text); }
.alert--error .icon { color: var(--danger); }
.alert--info { border: 1px solid color-mix(in srgb, var(--brand) 20%, transparent); background: var(--brand-soft); color: var(--text-2); }
.alert--info .icon { color: var(--brand); }

/* Terminal */
.terminal { overflow: hidden; border: 1px solid #1c2e4d; border-radius: 10px; background: #0b1b33; color: #dbe4f1; }
.terminal__bar { display: flex; gap: 7px; padding: 11px 14px; border-bottom: 1px solid #1c2e4d; background: #0f2240; }
.terminal__bar span { width: 10px; height: 10px; border-radius: 50%; background: #2b4166; }
.terminal__body { margin: 0; padding: 16px 18px 18px; font-size: 13.5px; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; }
.terminal__prompt { color: #5b9bff; user-select: none; }
.terminal__out { color: #7fe0b5; }

.bullets { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.bullets li { color: var(--text-2); font-size: 14.5px; }

/* ---------- İçerik metni ---------- */
.prose { color: var(--text-2); font-size: 1.0625rem; line-height: 1.78; }
.prose h2 { margin: 2.1em 0 0.6em; color: var(--text); font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.65rem); line-height: 1.25; letter-spacing: -0.025em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.6em 0 0.4em; color: var(--text); font-size: 1.15rem; letter-spacing: -0.015em; }
.prose p { margin: 0 0 1em; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.prose li { margin: 0.4em 0; padding-left: 0.2em; }
.prose li::marker { color: var(--brand); }
.prose strong, .prose em { color: var(--text); }
.prose strong { font-weight: 650; }
.prose code, .bullets code, .faq__a code {
  padding: 2px 6px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg-soft);
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.86em;
  overflow-wrap: anywhere;
}
.table-wrap { margin: 1.3em 0 1.5em; overflow-x: auto; border: 1px solid var(--border); border-radius: 8px; }
.prose table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 0.95rem; line-height: 1.5; }
.prose th, .prose td { padding: 11px 16px; border-bottom: 1px solid var(--border); text-align: left; }
.prose thead th { background: var(--bg-soft); color: var(--muted); font-size: 0.8rem; letter-spacing: 0.05em; text-transform: uppercase; }
.prose tbody th { color: var(--text); font-weight: 600; }
.prose tr:last-child > * { border-bottom: 0; }

/* ---------- SSS ---------- */
.faq { display: grid; gap: 8px; margin-top: 18px; }
.faq__item { border: 1px solid var(--border); border-radius: 8px; background: var(--surface); }
.faq__item[open] { border-color: var(--border-strong); }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 18px; list-style: none; cursor: pointer; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q h3 { margin: 0; color: var(--text); font-size: 1rem; font-weight: 620; }
.faq__chevron { position: relative; width: 24px; height: 24px; flex: none; }
.faq__chevron::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 40%;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translate(-50%, -50%) rotate(45deg);
  transition: transform .2s;
}
.faq__item[open] .faq__chevron::before { top: 60%; border-color: var(--brand); transform: translate(-50%, -50%) rotate(225deg); }
.faq__a { padding: 0 18px 16px; color: var(--text-2); line-height: 1.7; }
.faq__a p { margin: 0; }

/* ---------- IPv6 testi ---------- */
.v6test { display: grid; gap: 14px; }
.v6test .btn { justify-self: start; }
.verdict { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg-soft); }
.verdict__icon { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--brand-soft); color: var(--brand); }
.verdict__icon .icon { width: 22px; height: 22px; }
.verdict[data-state="pending"] .verdict__icon .icon { animation: spin 1.1s linear infinite; }
.verdict[data-state="ok"] .verdict__icon { background: var(--ok-soft); color: var(--ok); }
.verdict[data-state="partial"] .verdict__icon { background: var(--warn-soft); color: var(--warn); }
.verdict__title { margin: 0; color: var(--text); font-size: 1.1rem; font-weight: 700; letter-spacing: -0.015em; }
.verdict__desc { margin: 2px 0 0; color: var(--muted); font-size: 14px; }

/* ---------- Reklam alanları ---------- */
.ad { display: block; margin-block: 24px 4px; text-align: center; }
.ad__label { display: block; margin-bottom: 6px; color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.ad ins.adsbygoogle { display: block; min-height: 100px; }
@media (max-width: 679px) { .ad ins.adsbygoogle { min-height: 250px; } }
.ad:has(ins.adsbygoogle[data-ad-status="unfilled"]) { display: none; }
.ad--placeholder {
  display: grid;
  place-content: center;
  gap: 4px;
  min-height: 100px;
  border: 1.5px dashed var(--border-strong);
  border-radius: 8px;
  background: var(--bg-soft);
  color: var(--muted);
}
.ad--placeholder .ad__label { margin: 0; }
.ad__hint { font-size: 12px; }

/* ---------- Alt bilgi ---------- */
.site-footer { margin-top: clamp(32px, 6vw, 64px); padding: 44px 0 32px; background: var(--footer); color: #aab8cf; font-size: 14px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 28px; }
.site-footer__title { margin: 0 0 4px; color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.site-footer__btn { padding: 0; border: 0; background: none; color: #e2e8f0; font: inherit; text-align: left; cursor: pointer; }
.site-footer__btn:hover { color: #fff; text-decoration: underline; }
.site-footer .brand { color: #fff; }
.site-footer .brand__tld { color: #aab8cf; }
.site-footer__brand p { max-width: 36ch; margin: 12px 0 0; }
.site-footer__links { display: grid; align-content: start; gap: 8px; }
.site-footer a { color: #e2e8f0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__meta p { margin: 0 0 8px; }
@media (max-width: 1023px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) { .site-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 22px; } }

/* ---------- Bildirim ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(22px + env(safe-area-inset-bottom));
  z-index: 100;
  max-width: calc(100% - 32px);
  padding: 10px 16px;
  border-radius: 8px;
  background: #0b1b33;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translate(-50%, 16px);
  transition: opacity .2s, transform .2s;
  pointer-events: none;
}
:root[data-theme="dark"] .toast { background: #e6ebf3; color: #0b1b33; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .toast { background: #e6ebf3; color: #0b1b33; }
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Araç ve rehber kartları ---------- */
.tool-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin: 18px 0 0; padding: 0; list-style: none; }
.tool-card, .guide-card {
  display: grid;
  align-content: start;
  gap: 4px;
  height: 100%;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s;
}
.tool-card:hover, .guide-card:hover { border-color: var(--brand); box-shadow: var(--shadow-lg); }
.tool-card__icon, .guide-card__icon { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 6px; border-radius: 8px; background: var(--brand-soft); color: var(--brand); }
.tool-card__name { font-size: 15.5px; font-weight: 700; }
.tool-card__desc { color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.guide-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin: 18px 0 0; padding: 0; list-style: none; }
.guide-card { gap: 6px; padding: 20px; }
.guide-card__title { font-size: 1.1rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.guide-card__desc { color: var(--text-2); font-size: 14.5px; line-height: 1.5; }
.guide-card__meta { margin-top: 4px; color: var(--muted); font-size: 13px; }
.guide__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0 0; color: var(--muted); font-size: 14px; }
.guide__meta .icon { width: 16px; height: 16px; }
.guide .report { padding-top: 8px; }
.guide__body { max-width: 780px; }

/* ---------- Araç sonuçları ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--text-2);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}
.chip span { color: var(--muted); font-weight: 500; }
a.chip:hover, .chip.is-active { border-color: var(--brand); color: var(--brand); }
.chip--empty { opacity: 0.5; }

.dns-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.dns-summary__item { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.dns-summary__item .icon { width: 16px; height: 16px; color: var(--brand); }
.dns-summary__item a { text-decoration: none; }
.dns-summary__types { display: flex; flex-wrap: wrap; gap: 6px; }
.box__hint { margin-left: 6px; color: var(--muted); font-size: 13.5px; font-weight: 500; letter-spacing: 0; }
.box--accent { border-color: color-mix(in srgb, var(--brand) 35%, var(--border)); }
.box__note--top { margin: 0 0 12px; }
.table-scroll { overflow-x: auto; }
.dtable { width: 100%; border-collapse: collapse; font-size: 14px; }
.dtable th { padding: 8px 12px; border-bottom: 1px solid var(--border); color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-align: left; text-transform: uppercase; }
.dtable td { padding: 9px 12px; color: var(--text); vertical-align: top; }
.dtable tbody tr:nth-child(odd) { background: var(--bg-soft); }
.dtable__num { width: 1%; white-space: nowrap; text-align: right; }
.dtable th.dtable__num { text-align: right; }
.dtable a { font-weight: 600; text-decoration: none; }
.dtable a:hover { text-decoration: underline; }
.soa { display: grid; gap: 4px; margin: 0; }
.soa div { display: grid; grid-template-columns: minmax(110px, 34%) minmax(0, 1fr); gap: 10px; }
.soa dt { color: var(--muted); font-family: var(--font); }
.soa dd { margin: 0; overflow-wrap: anywhere; }
.plain-list { margin: 0; padding-left: 1.2em; color: var(--text-2); font-size: 14.5px; }
.plain-list li { margin: 4px 0; overflow-wrap: anywhere; white-space: pre-line; }
.binary { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--border); }
.binary__title { margin: 0 0 8px; color: var(--muted); font-size: 12.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.binary dl { display: grid; gap: 6px; margin: 0; }
.binary div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 10px; font-size: 14px; }
.binary dt { color: var(--text-2); }
.binary dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 559px) { .binary div { grid-template-columns: minmax(0, 1fr); gap: 0; } }

.link-arrow--inline { margin-top: 0; }
.asn__links { margin: -6px 0 14px; }
.strip__link { font-weight: 700; text-decoration: none; }
.strip__link:hover { text-decoration: underline; }
.state--info { color: var(--brand); }
.tag--vpn { border-color: color-mix(in srgb, var(--warn) 40%, transparent); background: var(--warn-soft); color: var(--warn); }
.tag--relay { border-color: color-mix(in srgb, var(--brand) 35%, transparent); background: var(--brand-soft); color: var(--brand); }
.pill--vpn { background: var(--warn-soft); color: var(--warn); }
.pill--relay { background: var(--brand-soft); color: var(--brand); }
.detect__badge--btn { border: 1px solid var(--border-strong); background: var(--surface); color: var(--text-2); font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.detect__badge--btn:hover { border-color: var(--brand); color: var(--brand); }
.detect__badge--btn:disabled { cursor: default; }
.detect[data-state="info"] .detect__badge--btn:disabled { border-color: transparent; }

/* Kod blokları ve not kutuları (içerik ve ham WHOIS) */
.codeblock {
  margin: 1.2em 0;
  padding: 14px 16px;
  overflow-x: auto;
  border: 1px solid #1c2e4d;
  border-radius: 8px;
  background: #0b1b33;
  color: #dbe4f1;
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.65;
}
.codeblock code, .prose .codeblock code { padding: 0; border: 0; background: none; color: inherit; font-size: inherit; white-space: pre; overflow-wrap: normal; }
.codeblock--raw { max-height: 520px; margin: 0; }
.codeblock--raw code { white-space: pre-wrap; overflow-wrap: anywhere; }
.callout { margin: 1.2em 0; padding: 12px 16px; border-left: 3px solid var(--brand); border-radius: 0 8px 8px 0; background: var(--brand-soft); color: var(--text-2); }
.callout p { margin: 0; }
.callout p + p { margin-top: 0.6em; }
.callout--warn { border-left-color: var(--warn); background: var(--warn-soft); }

/* Port kontrolü, WebRTC testi */
.porttest, .rtctest { display: grid; gap: 14px; }
.porttest .alert, .rtctest .alert { margin: 0; }
.rtctest .btn { justify-self: start; }
.porttest__target { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; color: var(--text-2); }
.porttest__target strong { color: var(--text); font-size: 1.15rem; overflow-wrap: anywhere; }
.porttest__v4 { display: flex; gap: 8px; margin: 0; color: var(--muted); font-size: 13.5px; }
.porttest__v4 .icon { width: 15px; height: 15px; margin-top: 3px; }
.porttest__label { margin: 0 0 8px; color: var(--muted); font-size: 12.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.lookup__input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.lookup__input:disabled, .btn:disabled { opacity: 0.55; cursor: not-allowed; }
.verdict[data-state="info"] .verdict__icon { background: var(--bg-soft); color: var(--muted); }
.verdict[data-state="warn"] .verdict__icon { background: var(--warn-soft); color: var(--warn); }

/* Hız testi */
.speedtest { display: grid; gap: 18px; }
.meters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.meter { display: grid; gap: 2px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg-soft); transition: border-color .2s; }
.meter.is-active { border-color: var(--brand); }
.meter__label { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.meter__label .icon { width: 15px; height: 15px; color: var(--brand); }
.meter__value { color: var(--text); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); font-weight: 750; line-height: 1.15; letter-spacing: -0.02em; }
.meter__unit { color: var(--muted); font-size: 13px; font-weight: 600; }
@media (max-width: 719px) { .meters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.progress { height: 6px; overflow: hidden; border: 1px solid var(--border); border-radius: 999px; background: var(--bg-soft); }
.progress span { display: block; width: 0; height: 100%; background: var(--brand); transition: width .3s; }
.speedtest__status { margin: 8px 0 0; color: var(--text-2); font-size: 14px; }
.speedtest__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.speedtest__meta { color: var(--muted); font-size: 13.5px; }

/* API */
.endpoints { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.endpoints li { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); align-items: baseline; gap: 4px 16px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; }
.endpoints code { color: var(--text); font-family: var(--mono); font-size: 13.5px; overflow-wrap: anywhere; }
.endpoints span { color: var(--muted); font-size: 14px; }
@media (max-width: 719px) { .endpoints li { grid-template-columns: minmax(0, 1fr); } }
.api-try { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; }

/* ---------- Reklam çerezi onayı ---------- */
.consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 16px 0 calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 -12px 32px -16px rgba(16, 24, 40, 0.25);
}
.consent[hidden] { display: none; }
.consent__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.consent__text { flex: 1 1 520px; min-width: 0; }
.consent__title { margin: 0 0 4px; font-size: 1rem; font-weight: 700; }
.consent__text p { margin: 0; color: var(--text-2); font-size: 14px; line-height: 1.55; }
.consent__actions { display: flex; flex: none; gap: 10px; }
.consent__actions .btn { min-width: 128px; }
@media (max-width: 519px) {
  .consent__actions { width: 100%; }
  .consent__actions .btn { flex: 1; min-width: 0; }
}
.no-ads .ad { display: none; }

/* ---------- Animasyonlar ---------- */
@keyframes blink { 50% { opacity: 0.3; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pin-pulse { 0% { transform: scale(0.35); opacity: 0.9; } 100% { transform: scale(1.5); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
