/* statistics page: the rules of the site theme (css/neon.css) that belong to it, taken out for the demo */
:root { --bg: #07070D; --bg-secondary: #090A12; --surface: #10111A; --surface-hover: #141522; --surface-2: #141522; --border: rgba(255, 255, 255, .08); --border-strong: rgba(255, 255, 255, .13); --text: #F5F5F8; --text-2: #C4C6D4; --text-muted: #8E91A3; --text-faint: #666A7C; --accent: #B78CFF; --accent-2: #A678F5; --accent-light: #D1B5FF; --accent-dark: #6E4BC1; --accent-soft: rgba(183, 140, 255, .13); --accent-border: rgba(183, 140, 255, .42); --accent-glow: rgba(183, 140, 255, .20); --btn-grad: linear-gradient(135deg, #B28AF8 0%, #8660E0 100%); --gold: #F5B83D; --shadow: 0 14px 34px rgba(0, 0, 0, .5); --radius-sm: 8px; --radius-md: 12px; --radius-lg: 16px; --transition: 220ms cubic-bezier(.22, 1, .36, 1); --header-bg: rgba(7, 7, 13, .86); --badge-bg: rgba(7, 7, 13, .74); --font: "NxSite", "Noto Sans Georgian", "Inter", "BPG Arial", "Sylfaen", system-ui, -apple-system, "Segoe UI", sans-serif; --wrap: 1460px; --pad: 28px; --header-h: 58px; --wrap: 1700px; --pad: 32px; --sky: #38BDF8; --sky-2: #0EA5E9; --sky-soft: rgba(56, 189, 248, .12); --sky-border: rgba(56, 189, 248, .55); --sky-glow: rgba(56, 189, 248, .28); }
.nx { font-family: "Noto Sans Georgian", "Inter", system-ui, sans-serif; font-size: 14px; line-height: 1.5; color: var(--text); }
.nx-wrap { width: 100%; max-width: 1240px; margin: 0 auto; }
@keyframes nxStpLive { 70% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0) } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0) } }
@keyframes nxStpGrow { from { transform: scaleY(0) } }
@keyframes nxStpLoad { to { background-position: -200% 0 } }
@keyframes nxStpBlink { 50% { opacity: .55; } }
.nx-stp { padding: 28px 0 56px; }
.nx-stp-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.nx-stp-eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 12px; font-weight: 800; letter-spacing: .14em; color: var(--sky); }
.nx-stp-live { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: nxStpLive 1.8s infinite; }
.nx-stp-head h1 { margin: 0; font-size: clamp(26px, 4vw, 40px); line-height: 1.1; color: var(--text); }
.nx-stp-sub { margin: 8px 0 0; max-width: 560px; color: var(--text-muted); font-size: 14px; line-height: 1.55; }
.nx-stp-online { position: relative; min-width: 210px; padding: 16px 18px 14px; border-radius: var(--radius-lg); border: 1px solid var(--sky-border); background: radial-gradient(120% 90% at 100% 0%, var(--sky-soft), transparent 65%), var(--surface); box-shadow: 0 0 30px var(--sky-glow); overflow: hidden; }
.nx-stp-online b { display: block; font-size: 44px; font-weight: 800; line-height: 1; color: var(--sky); font-variant-numeric: tabular-nums; }
.nx-stp-online span { font-size: 13px; color: var(--text-muted); }
.nx-stp-online svg { display: block; width: 100%; height: 32px; margin-top: 8px; }
.nx-stp-online path { fill: none; stroke: var(--sky); stroke-width: 2; vector-effect: non-scaling-stroke; }
.nx-stp-kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.nx-stp-kpi, .nx-stp-card { border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); }
.nx-stp-kpi { padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.nx-stp-kpi span { font-size: 12px; color: var(--text-muted); }
.nx-stp-kpi b { font-size: 26px; font-weight: 800; line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; }
.nx-stp-kpi em { font-style: normal; font-size: 12px; color: var(--text-faint); min-height: 1em; }
.nx-stp-kpi:first-child { border-color: var(--sky-border); }
.nx-stp-kpi:first-child b { color: var(--sky); }
.nx-stp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.nx-stp-wide { grid-column: 1 / -1; }
.nx-stp-card { padding: 16px 18px 18px; min-width: 0; }
.nx-stp-card > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.nx-stp-card h2 { margin: 0; font-size: 15px; font-weight: 700; color: var(--text); }
.nx-stp-legend { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-muted); }
.nx-stp-legend i, .nx-stp-tip i, .nx-stp-devices i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-left: 6px; }
.nx-stp-chart { position: relative; height: 220px; cursor: crosshair; }
.nx-stp-chart svg { display: block; width: 100%; height: 100%; overflow: visible; }
.nx-stp-gridl line { stroke: var(--border); stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; }
.nx-stp-uv { fill: none; stroke: var(--sky); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.nx-stp-pv { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 5 4; vector-effect: non-scaling-stroke; opacity: .85; }
.nx-stp-mark { position: absolute; top: 0; bottom: 22px; width: 1px; background: var(--sky-border); pointer-events: none; opacity: 0; transition: opacity .15s; }
.nx-stp-chart:hover .nx-stp-mark { opacity: 1; }
.nx-stp-axis { display: flex; justify-content: space-between; margin-top: 6px; font-size: 11px; color: var(--text-faint); }
.nx-stp-chart.is-bars { height: 200px; }
.nx-stp-bars { display: flex; align-items: flex-end; gap: 3px; height: calc(100% - 22px); }
.nx-stp-bars i { flex: 1; height: calc(var(--h) * 100%); min-height: 2px; border-radius: 4px 4px 1px 1px; background: linear-gradient(var(--sky), var(--sky-2)); opacity: .75; transform-origin: bottom; animation: nxStpGrow .7s cubic-bezier(.22, 1, .36, 1) both; }
.nx-stp-bars i.is-now { opacity: 1; box-shadow: 0 0 14px var(--sky-glow); }
.nx-stp-bars i.is-future { background: var(--border); opacity: 1; }
.nx-stp-devices { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.nx-stp-ring { --p: 50; position: relative; width: 132px; height: 132px; border-radius: 50%; background: conic-gradient(var(--sky) calc(var(--p) * 1%), var(--accent) 0); display: grid; place-content: center; text-align: center; }
.nx-stp-ring::before { content: ""; position: absolute; top: 14px; right: 14px; bottom: 14px; left: 14px; inset: 14px; border-radius: 50%; background: var(--surface); }
.nx-stp-ring b, .nx-stp-ring span { position: relative; }
.nx-stp-ring b { font-size: 24px; font-weight: 800; color: var(--text); }
.nx-stp-ring span { font-size: 11px; color: var(--text-muted); }
.nx-stp-devices ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; color: var(--text-2); }
.nx-stp-devices li b { margin-right: 6px; color: var(--text); }
.nx-stp-devices li i { margin: 0 0 0 8px; }
.nx-stp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; counter-reset: nxs; }
.nx-stp-list li { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px 8px 34px; border-radius: 9px; font-size: 13.5px; counter-increment: nxs; overflow: hidden; }
.nx-stp-list li::before { content: ""; position: absolute; top: 0; right: auto; bottom: 0; left: 0; inset: 0 auto 0 0; width: var(--w); background: var(--sky-soft); border-radius: 9px; }
.nx-stp-list li::after { content: counter(nxs); position: absolute; left: 10px; font-size: 12px; font-weight: 700; color: var(--sky); }
.nx-stp-list a, .nx-stp-list span { position: relative; color: var(--text); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.nx-stp-list a:hover { color: var(--sky); }
.nx-stp-list b { position: relative; font-variant-numeric: tabular-nums; color: var(--text-2); font-size: 13px; }
.nx-stp-list .is-empty { color: var(--text-muted); padding-left: 10px; }
.nx-stp-list .is-empty::after { content: none; }
.nx-stp-site { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.nx-stp-site div { padding: 12px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); }
.nx-stp-site b { display: block; font-size: 22px; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }
.nx-stp-site span { font-size: 12px; color: var(--text-muted); }
.nx-stp-foot { margin: 16px 0 0; font-size: 12px; color: var(--text-faint); text-align: center; }
.nx-stp-tip { position: fixed; z-index: 9999; left: 0; top: 0; pointer-events: none; padding: 8px 11px; border-radius: 10px; background: var(--surface); border: 1px solid var(--sky-border); box-shadow: var(--shadow); font-size: 12px; color: var(--text-2); display: grid; gap: 3px; white-space: nowrap; }
.nx-stp-tip b { color: var(--text); font-size: 12.5px; }
.nx-stp-tip i { margin: 0 0 0 6px !important; }
.nx-stp:not(.is-ready) .nx-stp-chart { background: linear-gradient(90deg, transparent, var(--sky-soft), transparent) 0 0 / 200% 100%; animation: nxStpLoad 1.4s linear infinite; border-radius: 12px; }
@media (max-width: 1100px) {
  .nx-stp-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nx-stp-site { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .nx-stp { padding-top: 18px; }
  .nx-stp-online { flex: 1 1 100%; }
  .nx-stp-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .nx-stp-kpi b { font-size: 22px; }
  .nx-stp-grid { grid-template-columns: 1fr; }
  .nx-stp-chart { height: 180px; }
  .nx-stp-site { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.nx-stp-chart.is-bars[data-chart="days"] { height: 240px; }
.nx-stp-pairs { display: flex; align-items: flex-end; justify-content: space-around; gap: 6px; height: calc(100% - 22px); border-bottom: 1px solid var(--border); }
.nx-stp-pairs > span { flex: 1 1 0; max-width: 64px; height: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 3px; }
.nx-stp-pairs i { flex: 1; max-width: 26px; height: calc(var(--h) * 100%); min-height: 2px; border-radius: 5px 5px 1px 1px; transform-origin: bottom; animation: nxStpGrow .7s cubic-bezier(.22, 1, .36, 1) both; }
.nx-stp-pairs i.is-pv { background: linear-gradient(var(--accent), var(--accent-dark)); opacity: .55; }
.nx-stp-pairs i.is-uv { background: linear-gradient(var(--sky), var(--sky-2)); }
.nx-stp-pairs .is-now i.is-uv { box-shadow: 0 0 16px var(--sky-glow); }
.nx-stp-pairs .is-now i { background-size: 100% 100%; outline: 1px dashed var(--sky-border); outline-offset: 2px; }
.nx-stp2 .nx-stp-chart { cursor: default; }
.nx-stp2 .nx-stp-mark { display: none; }
.nx-stp-online small { display: block; margin-top: 6px; font-size: 11.5px; color: var(--text-faint); }
.nx-stp-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 14px; padding: 10px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
.nx-stp-ranges { display: flex; flex-wrap: wrap; gap: 6px; }
.nx-stp-ranges button { height: 36px; padding: 0 15px; border-radius: 11px; border: 1px solid var(--border-strong); background: transparent; color: var(--text-2); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; transition: background var(--transition), color var(--transition), border-color var(--transition); }
.nx-stp-ranges button:hover { border-color: var(--sky-border); color: var(--text); }
.nx-stp-ranges button.is-on { background: linear-gradient(135deg, var(--sky), var(--sky-2)); border-color: transparent; color: #fff; box-shadow: 0 6px 18px var(--sky-glow); }
.nx-stp-dates { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.nx-stp-dates label { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-muted); }
.nx-stp-dates input { height: 36px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--border-strong); background: var(--bg); color: var(--text); font: inherit; font-size: 13px; color-scheme: dark; }
.nx-stp-dates button { height: 36px; padding: 0 14px; border-radius: 10px; border: 0; background: var(--btn-grad); color: #fff; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.nx-stp-plabel { margin: 0 0 0 auto; font-size: 13px; font-weight: 700; color: var(--sky); }
.nx-stp2.is-loading .nx-stp-kpis, .nx-stp2.is-loading .nx-stp-grid { opacity: .55; transition: opacity .2s; }
.nx-stp-kpi em.is-up { color: #22C55E; font-weight: 700; }
.nx-stp-kpi em.is-down { color: #F43F5E; font-weight: 700; }
.nx-stp-bars2 { display: flex; align-items: flex-end; gap: 4px; height: calc(100% - 22px); border-bottom: 1px solid var(--border); }
.nx-stp-bars2 > span { flex: 1 1 0; height: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 2px; min-width: 0; padding: 0 1px; border-radius: 6px 6px 0 0; cursor: pointer; transition: background .15s; }
.nx-stp-bars2 > span:hover, .nx-stp-bars2 > span.is-on { background: rgba(56, 189, 248, .08); }
.nx-stp-bars2 i { flex: 1; max-width: 26px; height: calc(var(--h) * 100%); min-height: 2px; border-radius: 4px 4px 1px 1px; transform-origin: bottom; animation: nxStpGrow .6s cubic-bezier(.22, 1, .36, 1) both; }
.nx-stp-bars2 i.b-uv { background: linear-gradient(var(--sky), var(--sky-2)); }
.nx-stp-bars2 i.b-pv { background: linear-gradient(var(--accent), var(--accent-dark)); opacity: .6; }
.nx-stp-bars2 .is-now i.b-uv { box-shadow: 0 0 14px var(--sky-glow); }
.nx-stp-chart.is-hover .nx-stp-bars2 > span:not(.is-on) i { opacity: .45; }
.nx-stp-tip { transition: transform .12s ease-out; }
.nx-stp-list li b small { margin-left: 4px; font-size: 11px; font-weight: 600; color: var(--text-faint); }
.nx-stp-list li[style*="--c"]::before { background: color-mix(in srgb, var(--c) 22%, transparent); }
.nx-stp-list.is-plain li::after { content: none; }
.nx-stp-list.is-plain li { padding-left: 12px; }
.nx-stp-list.is-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; }
.nx-stp-list em { display: inline-block; margin-right: 7px; padding: 1px 7px; border-radius: 6px; font-style: normal; font-size: 10.5px; font-weight: 800; vertical-align: 1px; }
.nx-stp-list em.k-series { background: rgba(56, 189, 248, .18); color: #7DD3FC; }
.nx-stp-list em.k-movie { background: rgba(183, 140, 255, .2); color: #D8C4FF; }
.nx-stp-list em.k-anime { background: rgba(255, 122, 176, .2); color: #FFB3CF; }
.nx-stp-list em.k-other { display: none; }
.nx-stp2 .nx-stp-ring { width: 128px; height: 128px; }
.nx-stp2 .nx-stp-devices ul li { display: flex; align-items: center; gap: 7px; }
.nx-stp2 .nx-stp-devices ul li i { margin: 0; width: 10px; height: 10px; border-radius: 3px; }
.nx-stp2 .nx-stp-devices ul small { color: var(--text-faint); font-size: 11.5px; }
@media (max-width: 760px) {
  .nx-stp-filter { padding: 8px; }
  .nx-stp-ranges { width: 100%; }
  .nx-stp-ranges button { flex: 1 1 auto; padding: 0 8px; font-size: 12px; }
  .nx-stp-dates { width: 100%; }
  .nx-stp-dates label { flex: 1 1 40%; }
  .nx-stp-dates input { flex: 1; min-width: 0; }
  .nx-stp-plabel { margin: 0; }
  .nx-stp-list.is-cols { grid-template-columns: 1fr; }
}
.nx-stp-legend .is-ghost { width: 10px; height: 10px; border-radius: 3px; }
.nx-stp-hsum { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 14px; }
.nx-stp-hsum > div { display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 11px; background: var(--surface-2); border: 1px solid var(--border); font-size: 12.5px; color: var(--text-muted); }
.nx-stp-hsum b { display: inline-flex; align-items: center; gap: 6px; color: var(--text); font-weight: 800; }
.nx-stp-hsum b.is-live { color: var(--sky); }
.nx-stp-hsum b.is-live i { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: nxStpLive 1.6s infinite; }
.nx-stp-hsum b.is-up { color: #22C55E; }
.nx-stp-hsum b.is-down { color: #F43F5E; }
.nx-stp-hours { position: relative; height: 230px !important; }
.nx-stp-hgrid { position: absolute; left: 0; right: 0; top: 0; bottom: 26px; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
.nx-stp-hgrid i { display: block; border-top: 1px dashed var(--border); }
.nx-stp-bars2.is-hours { position: relative; height: calc(100% - 26px); gap: 3px; }
.nx-stp-bars2.is-hours > span { position: relative; align-items: flex-end; padding: 0; }
.nx-stp-bars2.is-hours .b-ghost { position: absolute; left: 12%; right: 12%; bottom: 0; height: calc(var(--h) * 100%); max-width: none; min-height: 2px; border: 1.5px dashed rgba(183, 140, 255, .55); border-bottom: 0; border-radius: 5px 5px 0 0; background: linear-gradient(180deg, rgba(183, 140, 255, .12), rgba(183, 140, 255, .02)); animation: nxStpGrow .7s cubic-bezier(.22, 1, .36, 1) both; }
.nx-stp-bars2.is-hours .b-uv { position: relative; z-index: 1; width: 64%; flex: 0 0 64%; max-width: 22px; margin: 0 auto; border-radius: 5px 5px 1px 1px; }
.nx-stp-bars2.is-hours > span:nth-child(odd) .b-uv { animation-delay: .04s; }
.nx-stp-bars2.is-hours .is-future .b-ghost { opacity: .45; }
.nx-stp-bars2.is-hours .is-future { cursor: help; }
.nx-stp-bars2.is-hours .is-now .b-uv { background: linear-gradient(180deg, #7DD3FC, var(--sky-2)); animation: nxStpGrow .7s both, nxStpNow 1.6s ease-in-out infinite; }
.nx-stp-bars2.is-hours .is-peak .b-uv { background: linear-gradient(180deg, #FFB3CF, #FF4D8D 55%, #B78CFF); box-shadow: 0 0 14px rgba(255, 77, 141, .45); }
.nx-stp-livedot, .nx-stp-peak { position: absolute; z-index: 2; bottom: calc(var(--top, 100%) + 4px); left: 50%; transform: translateX(-50%); padding: 1px 6px; border-radius: 6px; font-style: normal; font-size: 9.5px; font-weight: 800; white-space: nowrap; pointer-events: none; }
.nx-stp-livedot { top: -2px; bottom: auto; color: #fff; background: #22C55E; box-shadow: 0 0 10px rgba(34, 197, 94, .6); animation: nxStpBlink 1.6s ease-in-out infinite; }
.nx-stp-peak { top: -2px; bottom: auto; color: #fff; background: linear-gradient(135deg, #FF4D8D, #B78CFF); }
.nx-stp-hticks { position: relative; height: 22px; margin-top: 4px; }
.nx-stp-hticks span { position: absolute; top: 4px; transform: translateX(-50%); font-size: 11px; color: var(--text-faint); font-variant-numeric: tabular-nums; }
.nx-stp-tip .is-ghost { display: inline-block; width: 9px; height: 9px; margin: 0 6px 0 0 !important; border-radius: 3px; }
@media (max-width: 760px) {
  .nx-stp-hours { height: 190px !important; }
  .nx-stp-hticks span:nth-child(even) { display: none; }
  .nx-stp-livedot, .nx-stp-peak { font-size: 8px; padding: 1px 4px; }
}
.nx-stp-bars2.is-hours .b-uv .nx-stp-livedot, .nx-stp-bars2.is-hours .b-uv .nx-stp-peak { top: auto; bottom: calc(100% + 5px); }
.nx-stp2 .nx-stp-list li { position: relative; padding: 9px 12px 12px 36px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); overflow: hidden; }
.nx-stp2 .nx-stp-list.is-plain li { padding-left: 14px; }
.nx-stp2 .nx-stp-list li::before { top: auto; right: auto; bottom: 0; left: 0; inset: auto auto 0 0; height: 3px; width: var(--w); border-radius: 0 3px 3px 0; background: linear-gradient(90deg, var(--sky-2), var(--sky)); }
.nx-stp2 .nx-stp-list li[style*="--c"]::before { background: var(--c); }
.nx-stp2 .nx-stp-list li::after { top: 50%; transform: translateY(-50%); left: 12px; width: 18px; text-align: center; }
.nx-stp2 .nx-stp-list li:hover { border-color: var(--sky-border); }
.nx-stp2 .nx-stp-list a, .nx-stp2 .nx-stp-list span { flex: 1 1 auto; }
.nx-stp2 .nx-stp-list b { flex: 0 0 auto; }
.nx-stp2 .nx-stp-list.is-cols { grid-auto-flow: column; grid-template-rows: repeat(var(--rows, 8), auto); }
@media (max-width: 760px) {
  .nx-stp2 .nx-stp-list.is-cols { grid-auto-flow: row; grid-template-rows: none; }
}
.nx-stp-chart > .nx-stp-tip { position: absolute; z-index: 5; transition: none !important; }
