.yn-st { --yn-ok: #16a34a; --yn-warn: #d97706; --yn-bad: #dc2626; }

/* ── Hero: durum halkası ── */
.yn-st-hero { padding-bottom: 120px; border-bottom: 0; }
.yn-st-orb {
    position: relative; width: 84px; height: 84px; margin: 0 auto 28px; border-radius: 50%;
    display: grid; place-items: center; font-size: 40px; color: #fff; background: var(--c);
    box-shadow: 0 12px 32px -8px var(--c);
}
.yn-st-orb.yn-st-up { --c: var(--yn-ok); }
.yn-st-orb.yn-st-warn { --c: var(--yn-warn); }
.yn-st-orb.yn-st-down { --c: var(--yn-bad); }
.yn-st-orb i { position: relative; z-index: 1; line-height: 1; }
.yn-st-orb-ring {
    position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--c);
    animation: yn-st-ping 2.8s cubic-bezier(.2, .6, .3, 1) infinite;
}
.yn-st-orb-ring--2 { animation-delay: 1.4s; }
@keyframes yn-st-ping { from { transform: scale(1); opacity: .55; } to { transform: scale(2.1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .yn-st-orb-ring { animation: none; opacity: 0; } }

/* ── Özet şeridi (hero'ya taşar) ── */
.yn-st-summary-wrap { position: relative; z-index: 2; margin-top: -64px; }
.yn-st-summary {
    display: grid; grid-template-columns: repeat(4, 1fr); background: var(--yn-surface);
    border: 1px solid var(--yn-border); border-radius: 20px; box-shadow: var(--yn-shadow-md);
}
.yn-st-summary > div { padding: 26px 28px; display: flex; flex-direction: column; gap: 4px; }
.yn-st-summary > div + div { border-left: 1px solid var(--yn-border); }
.yn-st-num { font-family: 'Fraunces', serif; font-weight: 900; font-size: 30px; line-height: 1.1; color: var(--yn-text); font-variant-numeric: tabular-nums; }
.yn-st-num small { font-size: 16px; font-weight: 300; color: var(--yn-text-faint); }
.yn-st-lbl { font-size: 12px; letter-spacing: .5px; color: var(--yn-text-muted); }

.yn-st-sechead { margin-bottom: 28px; }
.yn-st-services { background: none; }
.yn-st-services::before { display: none; }

/* ── Servis satırları ── */
.yn-st-list { background: var(--yn-surface); border: 1px solid var(--yn-border); border-radius: 20px; box-shadow: var(--yn-shadow-sm); overflow: hidden; }
.yn-st-row {
    display: grid; grid-template-columns: 200px 1fr 170px 110px; align-items: center; gap: 28px;
    padding: 22px 28px; transition: background .2s;
}
.yn-st-row + .yn-st-row { border-top: 1px solid var(--yn-border); }
.yn-st-row:hover { background: var(--yn-bg); }
.yn-st-id { display: flex; align-items: center; gap: 14px; min-width: 0; }
.yn-st-name { font-family: 'Fraunces', serif; font-weight: 700; font-size: 18px; color: var(--yn-text); }
.yn-st-type { font-size: 12px; letter-spacing: 1px; color: var(--yn-text-faint); margin-top: 2px; }

.yn-st-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--yn-text-faint); box-shadow: 0 0 0 4px rgba(148, 163, 184, .18); }
.yn-st-dot.yn-st-up { background: var(--yn-ok); box-shadow: 0 0 0 4px rgba(22, 163, 74, .15); }
.yn-st-dot.yn-st-warn { background: var(--yn-warn); box-shadow: 0 0 0 4px rgba(217, 119, 6, .17); }
.yn-st-dot.yn-st-down { background: var(--yn-bad); box-shadow: 0 0 0 4px rgba(220, 38, 38, .15); }

.yn-st-bars { display: flex; gap: 3px; height: 30px; min-width: 0; }
.yn-st-bars i { flex: 1; min-width: 2px; border-radius: 99px; background: var(--yn-text-faint); opacity: .85; transition: transform .15s, opacity .15s; }
.yn-st-bars i { max-width: 14px; }
.yn-st-bars i:hover { transform: scaleY(1.2); opacity: 1; }
.yn-st-bars i.yn-st-up { background: var(--yn-ok); }
.yn-st-bars i.yn-st-warn { background: var(--yn-warn); }
.yn-st-bars i.yn-st-down { background: var(--yn-bad); }

.yn-st-figs { display: flex; gap: 22px; justify-content: flex-end; }
.yn-st-figs span { display: flex; flex-direction: column; text-align: right; }
.yn-st-figs b { font-size: 14px; font-weight: 600; color: var(--yn-text); font-variant-numeric: tabular-nums; }
.yn-st-figs em { font-style: normal; font-size: 11px; color: var(--yn-text-faint); }

.yn-st-badge {
    justify-self: end; font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 99px; white-space: nowrap;
    background: rgba(15, 28, 63, .06); color: var(--yn-text-muted);
}
.yn-st-badge.yn-st-up { background: rgba(22, 163, 74, .1); color: var(--yn-ok); }
.yn-st-badge.yn-st-warn { background: rgba(217, 119, 6, .12); color: var(--yn-warn); }
.yn-st-badge.yn-st-down { background: rgba(220, 38, 38, .1); color: var(--yn-bad); }

/* ── Olaylar ── */
.yn-st-incs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.yn-st-inc {
    display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: var(--yn-bg);
    border: 1px solid var(--yn-border); border-left: 3px solid var(--yn-ok); border-radius: 14px;
}
.yn-st-inc.is-open { border-left-color: var(--yn-bad); }
.yn-st-date {
    flex: none; width: 58px; text-align: center; padding: 8px 0; border-radius: 10px; background: var(--yn-surface);
    border: 1px solid var(--yn-border); display: flex; flex-direction: column; line-height: 1.1;
}
.yn-st-date b { font-family: 'Fraunces', serif; font-weight: 900; font-size: 22px; color: var(--yn-text); }
.yn-st-date span { font-size: 10px; letter-spacing: .5px; color: var(--yn-text-muted); margin-top: 2px; }
.yn-st-inc-body { flex: 1; min-width: 0; }
.yn-st-inc .yn-st-name { font-size: 16px; }
.yn-st-report { margin: 6px 0 0; font-size: 13px; color: var(--yn-text-muted); }

.yn-st-powered { text-align: center; padding: 8px 0 48px; font-size: 13px; }
.yn-st-powered a { color: var(--yn-text-faint); text-decoration: none; transition: color .2s; }
.yn-st-powered a:hover { color: var(--yn-text); }
.yn-st-powered b { font-weight: 600; }

/* ── Responsive ── */
@media (max-width: 991px) {
    .yn-st-row { grid-template-columns: 1fr auto; gap: 16px 20px; }
    .yn-st-bars { grid-column: 1 / -1; order: 3; }
    .yn-st-figs { grid-column: 1 / -1; order: 4; justify-content: flex-start; }
    .yn-st-figs span { text-align: left; }
}
@media (max-width: 767px) {
    .yn-st-incs { grid-template-columns: 1fr; }
    .yn-st-hero { padding-bottom: 96px; }
    .yn-st-summary { grid-template-columns: 1fr 1fr; }
    .yn-st-summary > div { padding: 18px 20px; }
    .yn-st-summary > div:nth-child(3) { border-left: 0; }
    .yn-st-summary > div:nth-child(n+3) { border-top: 1px solid var(--yn-border); }
    .yn-st-row { padding: 18px 20px; }
}
