/* LinSurf indirme istatistikleri sayfası (site.css üzerine) */
.stats-head { background: linear-gradient(180deg, #0b1230, var(--abyss) 60%, var(--abyss-2)); color: var(--white); padding: 0 0 48px; }
.stats-head__inner { display: flex; align-items: center; justify-content: space-between; padding-top: calc(16px + env(safe-area-inset-top, 0px)); padding-bottom: 36px; }
.stats-head h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
.stats-lead { color: rgba(255, 255, 255, 0.75); max-width: 62ch; margin: 14px 0 30px; }
.totals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; }
.totals div { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 16px; padding: 16px 18px; }
.totals dt { color: rgba(255, 255, 255, 0.65); font-size: 0.9rem; }
.totals dd { margin: 4px 0 0; font: 650 2.2rem/1.1 var(--display); font-variant-numeric: tabular-nums; }
.totals div:first-child dd { color: var(--sun); }

.stats-main { padding-top: 40px; padding-bottom: 80px; display: grid; gap: 22px; }
.stats-error { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 26px 28px; }
.stats-error h2 { font-size: 1.6rem; margin-bottom: 8px; }
.stats-error p { margin: 0; color: var(--ink-soft); }

.vcard { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 24px 26px 18px; --bar: var(--periwinkle); }
.vcard--linux { --bar: var(--lagoon); }
.vcard__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 30px; align-items: flex-end; }
.vcard h2 { font-size: 1.9rem; }
.vcard h2 span { font: 500 1.1rem var(--body); color: var(--ink-soft); margin-left: 6px; }
.vcard__file { margin: 4px 0 0; color: #8a91ad; font-size: 0.88rem; }
.vcard__nums { display: flex; gap: 26px; margin: 0; }
.vcard__nums dt { font-size: 0.82rem; color: #8a91ad; }
.vcard__nums dd { margin: 0; font: 650 1.5rem/1.2 var(--display); font-variant-numeric: tabular-nums; }

.chart { margin: 22px 0 0; }
.chart__bars { display: grid; grid-template-columns: repeat(30, minmax(0, 1fr)); gap: 4px; align-items: end; height: 150px; border-bottom: 1px solid var(--line); }
.chart__bar { position: relative; height: max(var(--h), 2px); background: var(--bar); border-radius: 4px 4px 0 0; opacity: 0.85; }
.chart__bar:last-child { opacity: 1; }
.chart__bar:hover { opacity: 1; filter: brightness(1.1); }
.chart__bar b { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); font: 500 0.7rem var(--body); color: var(--ink-soft); padding-bottom: 2px; white-space: nowrap; }
.chart__axis { display: flex; justify-content: space-between; color: #8a91ad; font-size: 0.8rem; margin-top: 6px; }

@media (max-width: 720px) {
  .totals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chart__bars { gap: 2px; height: 120px; }
  .chart__bar b { display: none; }
  .vcard__nums { gap: 18px; }
}

.status { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 20px 24px; }
.status h2 { font-size: 1.3rem; margin-bottom: 10px; }
.status ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.status li { position: relative; padding-left: 26px; color: var(--ink-soft); }
.status li::before { content: ""; position: absolute; left: 2px; top: 0.45em; width: 12px; height: 12px; border-radius: 50%; }
.status li.is-ok::before { background: #2bb673; }
.status li.is-wait::before { background: #f2a900; }
.status p { margin: 12px 0 0; font-size: 0.9rem; color: #8a91ad; }
