/* v53 herkese açık durum sayfası (/durum) — bağımsız, site stillerine bağlı değil */
:root {
  --bg: #f6f7f9; --surface: #ffffff; --surface-2: #f1f3f6; --border: #e4e7ec; --text: #14171f; --muted: #667085;
  --brand: #1a6bff; --ok: #12a150; --ok-soft: #e3f6ea; --warn: #e08a00; --warn-soft: #fff3dc; --bad: #e5383b; --bad-soft: #fde8e8;
  --maint: #1a6bff; --maint-soft: #e6efff; --none: #d0d5dd; --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 1px 3px rgba(16, 24, 40, .06);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1115; --surface: #171a21; --surface-2: #1e222b; --border: #2a2f3a; --text: #eef0f4; --muted: #98a2b3;
    --brand: #5b95ff; --ok: #34c472; --ok-soft: #10291b; --warn: #f5a524; --warn-soft: #2e2309; --bad: #ff6b6b; --bad-soft: #3a1717;
    --maint: #5b95ff; --maint-soft: #142540; --none: #353b47; --shadow: none;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.5 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
.st-wrap { max-width: 880px; margin: 0 auto; padding: 0 16px; }

.st-ok { --c: var(--ok); --c-soft: var(--ok-soft); }
.st-warn { --c: var(--warn); --c-soft: var(--warn-soft); }
.st-bad { --c: var(--bad); --c-soft: var(--bad-soft); }
.st-maint { --c: var(--maint); --c-soft: var(--maint-soft); }
.st-none { --c: var(--none); --c-soft: var(--surface-2); }

.st-top { background: var(--surface); border-bottom: 1px solid var(--border); }
.st-top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.st-brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 1.05rem; min-width: 0; }
.st-brand:hover { text-decoration: none; }
.st-brand img { border-radius: 8px; }
.st-brand small { color: var(--muted); font-weight: 500; font-size: .85rem; padding-inline-start: 10px; border-inline-start: 1px solid var(--border); white-space: nowrap; }
.st-sub { position: relative; }
.st-sub summary { list-style: none; display: inline-flex; align-items: center; gap: 7px; cursor: pointer; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--surface); font-weight: 600; font-size: .86rem; color: var(--text); white-space: nowrap; }
.st-sub summary::-webkit-details-marker { display: none; }
.st-sub summary:hover { background: var(--surface-2); }
.st-sub-pop { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); width: 270px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  box-shadow: 0 12px 32px rgba(16, 24, 40, .14); padding: 12px; z-index: 10; }
.st-sub-pop p { margin: 0 0 8px; color: var(--muted); font-size: .84rem; }
.st-sub-pop a { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; color: var(--text); font-size: .88rem; font-weight: 500; }
.st-sub-pop a:hover { background: var(--surface-2); text-decoration: none; }

.st-main { padding-top: 32px; padding-bottom: 48px; }
.st-hero { display: flex; align-items: center; gap: 18px; padding: 26px 24px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
  border-top: 4px solid var(--c); }
.st-hero-ic { width: 56px; height: 56px; flex: 0 0 56px; border-radius: 99px; display: grid; place-items: center; background: var(--c); color: #fff; box-shadow: 0 0 0 8px var(--c-soft); }
.st-hero h1 { margin: 0; font-size: 1.5rem; letter-spacing: -.02em; line-height: 1.25; }
.st-hero p { margin: 4px 0 0; color: var(--muted); }

.st-section { margin-top: 36px; }
.st-section > h2, .st-sec-h h2 { font-size: 1.05rem; margin: 0 0 12px; letter-spacing: -.01em; }
.st-sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.st-sec-h a { font-size: .86rem; font-weight: 600; }
.st-range { color: var(--muted); font-size: .84rem; }
.st-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }

.st-group + .st-group { border-top: 1px solid var(--border); }
.st-group > summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 16px 20px; cursor: pointer; flex-wrap: wrap; }
.st-group > summary::-webkit-details-marker { display: none; }
.st-group > summary:hover { background: var(--surface-2); }
.st-group > summary b { font-size: .98rem; }
.st-count { color: var(--muted); font-size: .82rem; }
.st-up { margin-inline-start: auto; color: var(--muted); font-size: .82rem; font-weight: 500; }
.st-chev { color: var(--muted); transition: transform .15s; }
.st-group:not([open]) .st-chev { transform: rotate(-90deg); }
[dir=rtl] .st-group:not([open]) .st-chev { transform: rotate(90deg); }
.st-dot { width: 10px; height: 10px; flex: 0 0 10px; border-radius: 99px; background: var(--c); box-shadow: 0 0 0 3px var(--c-soft); display: inline-block; }

.st-comp { padding: 14px 20px 16px 40px; border-top: 1px solid var(--border); }
[dir=rtl] .st-comp { padding: 14px 40px 16px 20px; }
.st-comp-h { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 10px; }
.st-name { font-weight: 500; font-size: .92rem; }
.st-state { display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; font-weight: 600; color: var(--c); white-space: nowrap; }
.st-state .st-dot { width: 8px; height: 8px; flex-basis: 8px; box-shadow: none; }
.st-bars { display: grid; grid-template-columns: repeat(90, minmax(0, 1fr)); gap: 2px; height: 32px; }
.st-bars i { display: block; border-radius: 2px; background: var(--c); transition: opacity .1s; }
.st-bars i.st-ok { opacity: .8; }
.st-bars:hover i { opacity: .55; }
.st-bars i:hover { opacity: 1; }
.st-bars-f { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: .74rem; margin-top: 6px; }
.st-note { color: var(--muted); font-size: .78rem; margin: 10px 2px 0; }

.st-inc { background: var(--surface); border: 1px solid var(--border); border-inline-start: 4px solid var(--c); border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow); }
.st-inc + .st-inc { margin-top: 12px; }
.st-inc header { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.st-inc h3 { margin: 0; font-size: 1rem; }
.st-inc h3 a { color: var(--text); }
.st-badge { display: inline-block; padding: 2px 9px; border-radius: 99px; font-size: .74rem; font-weight: 700; background: var(--c-soft); color: var(--c); }
.st-affected { margin: 8px 0 0; color: var(--muted); font-size: .84rem; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.st-updates { list-style: none; margin: 12px 0 0; padding: 0; }
.st-updates li { position: relative; padding-inline-start: 18px; padding-bottom: 12px; }
.st-updates li::before { content: ""; position: absolute; inset-inline-start: 3px; top: 7px; width: 8px; height: 8px; border-radius: 99px; background: var(--c); }
.st-updates li + li::after { content: ""; position: absolute; inset-inline-start: 6.5px; top: -12px; height: 18px; border-inline-start: 1px solid var(--border); }
.st-updates b { font-size: .86rem; }
.st-updates p { margin: 2px 0; font-size: .9rem; overflow-wrap: anywhere; }
.st-updates time { color: var(--muted); font-size: .76rem; }
.st-more { font-size: .84rem; font-weight: 600; }
.st-empty { color: var(--muted); background: var(--surface); border: 1px dashed var(--border); border-radius: 14px; padding: 18px; text-align: center; margin: 0; }
.st-back { display: inline-block; font-size: .88rem; font-weight: 600; margin-bottom: 14px; }
.st-h1 { font-size: 1.6rem; letter-spacing: -.02em; margin: 0 0 8px; }

.st-foot { border-top: 1px solid var(--border); background: var(--surface); }
.st-foot-in { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; color: var(--muted); font-size: .84rem; }
.st-foot nav { display: flex; gap: 16px; flex-wrap: wrap; }
.st-foot a { color: var(--muted); }

.st-tip { position: absolute; z-index: 20; transform: translate(-50%, -100%); background: var(--text); color: var(--bg); padding: 7px 10px; border-radius: 8px; font-size: .78rem;
  line-height: 1.35; pointer-events: none; opacity: 0; transition: opacity .1s; white-space: nowrap; }
.st-tip.on { opacity: 1; }

@media (max-width: 640px) {
  .st-brand small { display: none; }
  .st-sub summary span { display: none; }
  .st-hero { padding: 20px 18px; gap: 14px; }
  .st-hero-ic { width: 44px; height: 44px; flex-basis: 44px; box-shadow: 0 0 0 6px var(--c-soft); }
  .st-hero h1 { font-size: 1.2rem; }
  .st-group > summary { padding: 14px 16px; }
  .st-comp, [dir=rtl] .st-comp { padding: 12px 16px 14px; }
  /* Telefonda son 30 gün (çubuklar okunur kalsın) */
  .st-bars { grid-template-columns: repeat(30, minmax(0, 1fr)); gap: 2px; height: 28px; }
  .st-bars i:nth-child(-n+60) { display: none; }
  .st-bars-f span:first-child { visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) { .st-chev, .st-bars i, .st-tip { transition: none; } }
