/* =============================================================================
   status.buyukweb.com — tek sayfa durum paneli
   Harici font/CDN yok: durum sayfası, ağ bozukken de eksiksiz açılmalı.
   ========================================================================== */

:root {
  --bg:            #070910;
  --bg-soft:       #0a0d15;
  --surface:       #0f131c;
  --surface-2:     #131824;
  --surface-hover: #171d2a;
  --border:        rgba(255, 255, 255, .075);
  --border-strong: rgba(255, 255, 255, .14);

  --text:  #e9edf5;
  --muted: #8b95a8;
  --faint: #59637a;

  --ok:      #2fd9a0;
  --ok-dim:  rgba(47, 217, 160, .14);
  /* Soluk yeşil: hizmet ayakta ama paket kaybı/yavaşlama var.
     Kırmızıya çevirmek yanıltıcı olurdu — bağlantı çalışmaya devam ediyor. */
  --deg:      #7cba9d;
  --deg-dim:  rgba(124, 186, 157, .16);
  /* Dolgu soluk kalmalı ama metin okunur olmalı; ikisi ayrı ton. */
  --deg-text: #7cba9d;
  --warn:    #f5b13d;
  --warn-dim:rgba(245, 177, 61, .14);
  --down:    #ff5f6d;
  --down-dim:rgba(255, 95, 109, .14);
  --unknown: #48526a;
  --unknown-dim: rgba(120, 133, 160, .12);
  --accent:  #5b9dff;

  --radius:    16px;
  --radius-sm: 10px;
  --shadow:    0 1px 2px rgba(0,0,0,.4), 0 12px 32px -12px rgba(0,0,0,.6);

  --mono: ui-monospace, "SF Mono", SFMono-Regular, "JetBrains Mono", "Cascadia Mono",
          Menlo, Consolas, "Liberation Mono", monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", sans-serif;

  --wrap: 1140px;
}

:root[data-theme="light"] {
  --bg:            #f4f6fa;
  --bg-soft:       #eef1f7;
  --surface:       #ffffff;
  --surface-2:     #f7f9fc;
  --surface-hover: #f0f3f9;
  --border:        rgba(12, 22, 44, .10);
  --border-strong: rgba(12, 22, 44, .18);

  --text:  #0e1523;
  --muted: #5b6678;
  --faint: #8891a3;

  --ok:      #08a06d;
  --ok-dim:  rgba(8, 160, 109, .12);
  --deg:      #63b591;
  --deg-dim:  rgba(99, 181, 145, .18);
  --deg-text: #2c7d5b;
  --warn:    #b7791f;
  --warn-dim:rgba(183, 121, 31, .13);
  --down:    #dc3545;
  --down-dim:rgba(220, 53, 69, .12);
  --unknown: #97a0b2;
  --unknown-dim: rgba(151, 160, 178, .16);
  --accent:  #2563eb;

  --shadow: 0 1px 2px rgba(16,28,54,.06), 0 12px 28px -16px rgba(16,28,54,.22);
}

/* ------------------------------------------------------------------- temel */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { margin: 0; font-weight: 650; letter-spacing: -.015em; line-height: 1.25; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }
.muted { color: var(--muted); font-size: 13.5px; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }

/* Arka plandaki yumuşak ışıma — sayfaya derinlik verir, içeriği etkilemez. */
.aurora {
  position: fixed;
  inset: -30% -10% auto -10%;
  height: 70vh;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(46% 52% at 22% 0%, rgba(91, 157, 255, .16), transparent 70%),
    radial-gradient(40% 46% at 78% 6%, rgba(47, 217, 160, .12), transparent 72%);
  filter: blur(14px);
}
:root[data-theme="light"] .aurora { opacity: .75; }

/* ----------------------------------------------------------------- üst bar */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--border);
}
.topbar__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 62px;
}

.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand:hover { color: inherit; }
.brand__mark { width: 30px; height: 30px; color: var(--accent); flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text b { font-size: 15.5px; letter-spacing: -.02em; }
.brand__sub { font-size: 11.5px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }

.topnav { display: flex; gap: 4px; margin-left: auto; }
.topnav a {
  padding: 7px 11px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--muted);
  transition: background .15s, color .15s;
}
.topnav a:hover { background: var(--surface-hover); color: var(--text); }

.topbar__right { display: flex; align-items: center; gap: 10px; }

.live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px 5px 9px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  color: var(--muted);
  background: var(--surface);
  white-space: nowrap;
}
.live__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--unknown);
  box-shadow: 0 0 0 0 transparent;
}
.live[data-state="live"] .live__dot { background: var(--ok); animation: pulse 2.4s ease-out infinite; }
.live[data-state="live"] { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 32%, transparent); }
.live[data-state="offline"] .live__dot { background: var(--down); }
.live[data-state="offline"] { color: var(--down); border-color: color-mix(in srgb, var(--down) 32%, transparent); }

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 55%, transparent); }
  70%  { box-shadow: 0 0 0 7px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.iconbtn {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.iconbtn:hover { background: var(--surface-hover); color: var(--text); border-color: var(--border-strong); }
.iconbtn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; }
:root[data-theme="dark"] .icon-sun { display: block; }
:root[data-theme="dark"] .icon-moon { display: none; }
:root[data-theme="light"] .icon-sun { display: none; }
:root[data-theme="light"] .icon-moon { display: block; }

/* -------------------------------------------------------------------- ana */

main { position: relative; z-index: 1; padding-bottom: 72px; }

.section { margin-top: 52px; }
.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.section__head h2 { font-size: 19px; display: flex; align-items: center; gap: 9px; }

.tag {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent);
}
.tag--alt {
  background: var(--ok-dim);
  color: var(--ok);
  border-color: color-mix(in srgb, var(--ok) 28%, transparent);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.empty { padding: 30px 22px; text-align: center; color: var(--faint); font-size: 14px; }

/* --------------------------------------------------------------- hero alanı */

.hero { margin-top: 34px; }

.hero__banner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 24px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--st, var(--unknown)) 9%, var(--surface)), var(--surface));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero__banner::before {
  content: "";
  position: absolute; inset: 0 auto 0 0;
  width: 3px;
  background: var(--st, var(--unknown));
}
.hero__banner[data-status="operational"] { --st: var(--ok); }
.hero__banner[data-status="degraded"]    { --st: var(--deg); }
.hero__banner[data-status="down"]        { --st: var(--down); }
.hero__banner[data-status="unknown"]     { --st: var(--unknown); }

.hero__pulse { position: relative; width: 42px; height: 42px; flex: none; display: grid; place-items: center; }
.hero__pulse i {
  position: absolute; border-radius: 50%; background: var(--st);
}
.hero__pulse i:first-child { width: 13px; height: 13px; }
.hero__pulse i:last-child {
  width: 13px; height: 13px; opacity: .55;
  animation: ripple 2.6s cubic-bezier(.2,.6,.3,1) infinite;
}
@keyframes ripple {
  0%   { transform: scale(1); opacity: .5; }
  80%  { transform: scale(3.1); opacity: 0; }
  100% { transform: scale(3.1); opacity: 0; }
}

.hero__copy { flex: 1 1 280px; }
.hero__copy h1 { font-size: 23px; }
.hero__copy p { color: var(--muted); font-size: 14px; margin-top: 4px; }

.hero__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; text-align: right; }
.hero__updated { font-size: 12.5px; color: var(--muted); font-family: var(--mono); }
.hero__domain { font-size: 12px; color: var(--faint); }

/* istatistik kutucukları */
.tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.tile {
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  min-height: 92px;
}
.tile__label {
  font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase;
  color: var(--faint); font-weight: 600;
}
.tile__value {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.1;
}
.tile__value small { font-size: 14px; font-weight: 500; color: var(--muted); margin-left: 2px; }
.tile__hint { margin-top: 4px; font-size: 12px; color: var(--muted); }
.tile--ok .tile__value { color: var(--ok); }
.tile--warn .tile__value { color: var(--warn); }
.tile--down .tile__value { color: var(--down); }

/* ------------------------------------------------------------- monitör kartı */

.monitors { display: grid; gap: 12px; }

.monitor { padding: 18px 20px 16px; }

.monitor__head { display: flex; align-items: flex-start; gap: 12px; }
.monitor__title { flex: 1 1 auto; min-width: 0; }
.monitor__title h3 { font-size: 15.5px; }
.monitor__title p { font-size: 12.5px; color: var(--muted); margin-top: 2px; }

.dot {
  width: 9px; height: 9px; border-radius: 50%; flex: none; margin-top: 6px;
  background: var(--unknown);
  box-shadow: 0 0 0 4px var(--unknown-dim);
}
.dot--operational { background: var(--ok);      box-shadow: 0 0 0 4px var(--ok-dim); }
.dot--degraded    { background: var(--deg);     box-shadow: 0 0 0 4px var(--deg-dim); }
.dot--down        { background: var(--down);    box-shadow: 0 0 0 4px var(--down-dim); }

.monitor__now { display: flex; align-items: center; gap: 12px; flex: none; }
.monitor__rtt { font-family: var(--mono); font-size: 19px; font-weight: 600; letter-spacing: -.03em; }
.monitor__rtt small { font-size: 11.5px; color: var(--muted); margin-left: 1px; font-weight: 500; }
.monitor__rtt.is-good { color: var(--ok); }
.monitor__rtt.is-warn { color: var(--warn); }
.monitor__rtt.is-bad  { color: var(--down); }

.badge {
  font-size: 11.5px; font-weight: 600;
  padding: 4px 10px; border-radius: 999px;
  background: var(--unknown-dim); color: var(--muted);
  white-space: nowrap;
}
.badge--operational { background: var(--ok-dim);   color: var(--ok); }
.badge--degraded    { background: var(--deg-dim);  color: var(--deg-text); }
.badge--down        { background: var(--down-dim); color: var(--down); }

.monitor__spark { margin: 12px 0 2px; height: 34px; }
.monitor__spark svg { display: block; width: 100%; height: 34px; overflow: visible; }

/* 90 günlük uptime şeridi */
.uptime { margin-top: 10px; }
.uptime__bars {
  display: flex;
  align-items: stretch;
  gap: 2px;
  height: 30px;
}
.uptime__bars span {
  flex: 1 1 0;
  min-width: 2px;
  border-radius: 2px;
  background: var(--unknown-dim);
  transition: transform .12s ease, filter .12s ease;
  cursor: default;
}
.uptime__bars span[data-s="operational"] { background: var(--ok); }
.uptime__bars span[data-s="degraded"]    { background: var(--deg); }
.uptime__bars span[data-s="down"]        { background: var(--down); }
.uptime__bars span:hover { transform: scaleY(1.14); filter: brightness(1.2); }

.uptime__legend {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 8px;
  font-size: 11.5px; color: var(--faint);
}
.uptime__legend b { color: var(--muted); font-weight: 600; font-family: var(--mono); }
.uptime__legend::before, .uptime__legend::after { content: none; }

.kv {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  gap: 2px 18px;
  margin: 14px 0 0;
  padding-top: 13px;
  border-top: 1px solid var(--border);
}
.kv div { display: flex; flex-direction: column; gap: 1px; }
.kv dt { font-size: 11px; color: var(--faint); letter-spacing: .03em; text-transform: uppercase; }
.kv dd { margin: 0; font-family: var(--mono); font-size: 13.5px; font-weight: 550; }

/* ------------------------------------------------------------------ paneller */

.panel { padding: 4px 0 0; overflow: hidden; }

.panelgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--border);
  border-bottom: 1px solid var(--border);
}
.panelgrid > div { background: var(--surface); padding: 16px 20px; }
.panelgrid .tile__value { font-size: 22px; margin-top: 6px; }

.tablewrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 640px; }
thead th {
  text-align: left;
  font-size: 11px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 600;
  padding: 11px 20px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
tbody td { padding: 11px 20px; border-bottom: 1px solid var(--border); vertical-align: middle; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: var(--surface-2); }
td.n { font-family: var(--mono); font-variant-numeric: tabular-nums; }
td.peer { font-family: var(--mono); font-weight: 600; }

.state {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600;
  padding: 3px 9px; border-radius: 999px;
}
.state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.state--up   { background: var(--ok-dim);   color: var(--ok); }
.state--down { background: var(--down-dim); color: var(--down); }
.state--idle { background: var(--warn-dim); color: var(--warn); }

.subhead {
  padding: 13px 20px 11px;
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.subhead .muted { font-size: 12px; text-transform: none; letter-spacing: 0; }

.notice {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 16px 20px 20px;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  background: var(--warn-dim);
  border: 1px solid color-mix(in srgb, var(--warn) 28%, transparent);
  color: var(--warn);
  font-size: 13px;
}
.notice b { display: block; margin-bottom: 2px; }
.notice span { color: var(--muted); }
.notice--ok {
  background: var(--ok-dim);
  border-color: color-mix(in srgb, var(--ok) 28%, transparent);
  color: var(--ok);
}
.notice--down {
  background: var(--down-dim);
  border-color: color-mix(in srgb, var(--down) 32%, transparent);
  color: var(--down);
}
.notice code {
  font-family: var(--mono);
  font-size: .92em;
  padding: 1px 5px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--text) 8%, transparent);
}

/* XDP eylem dağılımı */
.actions { padding: 16px 20px 20px; display: grid; gap: 11px; }
.action { display: grid; grid-template-columns: 92px 1fr 160px; align-items: center; gap: 12px; }
.action__name { font-size: 12.5px; font-weight: 600; font-family: var(--mono); }
.action__track { display: block; height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; border: 1px solid var(--border); }
/* Blok olmalı: satır içi (inline) bir span'a genişlik/yükseklik uygulanmaz. */
.action__fill { display: block; height: 100%; border-radius: 999px; transition: width .5s cubic-bezier(.2,.7,.3,1); }
.action__val { font-family: var(--mono); font-size: 12.5px; text-align: right; color: var(--muted); white-space: nowrap; }
.action--PASS     .action__fill { background: var(--ok); }
.action--PASS     .action__name { color: var(--ok); }
.action--DROP     .action__fill { background: var(--down); }
.action--DROP     .action__name { color: var(--down); }
.action--ABORTED  .action__fill { background: var(--warn); }
.action--ABORTED  .action__name { color: var(--warn); }
.action--TX       .action__fill { background: var(--accent); }
.action--REDIRECT .action__fill { background: #a78bfa; }

.ifaces { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1px; background: var(--border); }
.iface { background: var(--surface); padding: 16px 20px; }
.iface__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.iface__name { font-family: var(--mono); font-weight: 650; font-size: 14px; }
.iface__rows { margin-top: 11px; display: grid; gap: 5px; font-size: 12.5px; }
.iface__row { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); }
.iface__row b { font-family: var(--mono); font-weight: 550; color: var(--text); }

/* --------------------------------------------------------------- grafikler */

.chartcontrols { display: flex; gap: 8px; flex-wrap: wrap; }
.rangebtns { display: flex; gap: 3px; padding: 3px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; }
.rangebtns button {
  padding: 5px 12px;
  border: 0; border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font: inherit; font-size: 12.5px;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.rangebtns button:hover { color: var(--text); }
.rangebtns button.is-active { background: var(--surface-hover); color: var(--text); box-shadow: inset 0 0 0 1px var(--border); }

.chartcard { padding: 18px 20px 16px; }
.chart { height: 260px; position: relative; }
.chart svg { display: block; width: 100%; height: 100%; overflow: visible; }
.chart__grid line { stroke: var(--border); stroke-width: 1; }
.chart__axis text { fill: var(--faint); font-size: 10.5px; font-family: var(--mono); }
.chart__line { fill: none; stroke-width: 1.9; stroke-linejoin: round; stroke-linecap: round; }
.chart__area { opacity: .10; }
.chart__cursor { stroke: var(--border-strong); stroke-width: 1; stroke-dasharray: 3 3; }
.chart__gap { stroke: var(--down); stroke-width: 1.5; opacity: .5; }

.chart__legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--border); }
.legenditem { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--muted); cursor: pointer; user-select: none; }
.legenditem i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.legenditem b { font-family: var(--mono); color: var(--text); font-weight: 550; }
.legenditem.is-off { opacity: .35; }

/* ----------------------------------------------------------------- olaylar */

.incident { display: flex; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.incident:last-child { border-bottom: none; }
.incident__bar { width: 3px; border-radius: 3px; flex: none; background: var(--unknown); }
.incident--down .incident__bar { background: var(--down); }
.incident--degraded .incident__bar { background: var(--deg); }
.incident__body { flex: 1; min-width: 0; }
.incident__title { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.incident__meta { margin-top: 3px; font-size: 12.5px; color: var(--muted); font-family: var(--mono); }
.incident__detail { margin-top: 5px; font-size: 13px; color: var(--muted); }
.pill { font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; padding: 2px 8px; border-radius: 999px; }
.pill--resolved { background: var(--ok-dim); color: var(--ok); }
.pill--open { background: var(--down-dim); color: var(--down); }

.allclear { display: flex; align-items: center; gap: 12px; padding: 26px 22px; }
.allclear__icon { width: 34px; height: 34px; border-radius: 50%; background: var(--ok-dim); color: var(--ok); display: grid; place-items: center; flex: none; }
.allclear__icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.allclear b { display: block; font-size: 14.5px; }
.allclear span { font-size: 13px; color: var(--muted); }

/* ------------------------------------------------------------------- footer */

.footer { border-top: 1px solid var(--border); padding: 26px 0 34px; margin-top: 24px; position: relative; z-index: 1; }
.footer__inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.masked { filter: blur(5px); user-select: none; letter-spacing: 2px; }
.topbar__links { display: flex; gap: 14px; align-items: center; margin-left: auto; font-size: 13px; }
.topbar__links a { color: var(--muted); }
.topbar__links a:hover { color: var(--accent); }
@media (max-width: 720px) { .topbar__links { display: none; } }
.footer__seed { display: block; margin-top: 4px; opacity: .75; }
.footer a { color: var(--muted); border-bottom: 1px solid var(--border); }
.footer a:hover { color: var(--accent); border-color: currentColor; }
.footer__inner .muted { display: flex; gap: 10px; align-items: center; }

/* ------------------------------------------------------------------ ipucu */

.tooltip {
  position: fixed;
  z-index: 100;
  pointer-events: none;
  padding: 8px 11px;
  border-radius: 9px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  box-shadow: 0 10px 28px -10px rgba(0,0,0,.7);
  font-size: 12px;
  line-height: 1.45;
  white-space: nowrap;
  transform: translate(-50%, calc(-100% - 10px));
}
.tooltip b { font-family: var(--mono); }
.tooltip .t-date { color: var(--faint); display: block; font-size: 11px; margin-bottom: 2px; }

/* ---------------------------------------------------------------- iskelet */

.skeleton {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  min-height: 92px;
}
.skeleton--card { min-height: 168px; border-radius: var(--radius); }
.skeleton::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--text) 5%, transparent), transparent);
  animation: shimmer 1.5s infinite;
}
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* ------------------------------------------------------------- duyarlılık */

@media (max-width: 900px) {
  .topnav { display: none; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .action { grid-template-columns: 74px 1fr 138px; }
}

@media (max-width: 620px) {
  .wrap { padding-inline: 16px; }
  .hero__banner { padding: 20px; gap: 16px; }
  .hero__copy h1 { font-size: 20px; }
  .hero__meta { align-items: flex-start; text-align: left; }
  .monitor__head { flex-wrap: wrap; }
  .monitor__now { width: 100%; justify-content: space-between; padding-left: 21px; }
  .chart { height: 210px; }
  /* Dar ekranda son 45 güne düş: çubuklar okunabilir kalsın. */
  .uptime__bars span:nth-child(-n+45) { display: none; }
  .uptime__legend { --days: 45; }
  .section { margin-top: 40px; }
}

@media (max-width: 400px) {
  .tiles { grid-template-columns: 1fr; }
  .uptime__bars span:nth-child(-n+60) { display: none; }
}

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

@media print {
  .topbar, .aurora, .rangebtns, .iconbtn { display: none; }
  body { background: #fff; color: #000; }
}
