/* Nightfall: скрыть скроллбар, прокрутка остаётся */
html, body {
  scrollbar-width: none !important;      /* Firefox */
  -ms-overflow-style: none !important;   /* old Edge */
}
html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
  background: transparent !important;
}

/* hide page scrollbar but keep scroll */
html{scrollbar-width:none}
html::-webkit-scrollbar{display:none;width:0;height:0}
body{overflow-y:scroll;scrollbar-width:none}
body::-webkit-scrollbar{display:none;width:0;height:0}
:root{--nf-bg:#080a13;--nf-border:rgba(255,77,0,.22);--nf-orange:#ff4d00;--nf-orange2:#ff7a33;--nf-text:#ece8f4;--nf-muted:#9aa0b4;--nf-radius:16px;--nf-shadow:0 14px 40px rgba(0,0,0,.38);--nf-display:Oswald,Impact,sans-serif}
body{background:var(--nf-bg)!important;color:var(--nf-text);font-family:Inter,system-ui,sans-serif}
.ph-stats{padding:36px 0 28px;border-top:1px solid rgba(255,77,0,.12);border-bottom:1px solid rgba(255,77,0,.1);background:linear-gradient(180deg,rgba(255,77,0,.05),transparent)}
.ph-stats-grid{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px}
@media (max-width:1100px){.ph-stats-grid{grid-template-columns:repeat(4,1fr)}}
@media (max-width:700px){.ph-stats-grid{grid-template-columns:repeat(2,1fr)}}
.ph-stat{text-align:center;padding:16px 10px;background:linear-gradient(160deg,rgba(24,27,38,.9),rgba(14,16,24,.95));border:1px solid rgba(255,77,0,.2);border-radius:14px}
.ph-stat:hover{border-color:rgba(255,77,0,.45);transform:translateY(-2px)}
.ph-stat-icon{font-size:1.25rem;margin-bottom:6px}
.ph-stat-val{font-family:var(--nf-display);font-size:clamp(1.15rem,2vw,1.55rem);font-weight:700;background:linear-gradient(180deg,#fff,var(--nf-orange2));-webkit-background-clip:text;background-clip:text;color:transparent}
.ph-stat-lbl{color:var(--nf-muted);font-size:.72rem;text-transform:uppercase;letter-spacing:.05em;margin-top:4px}
a.ph-stat-link{text-decoration:none;color:inherit;display:block}
.ph-card{background:linear-gradient(165deg,rgba(24,27,38,.95),rgba(14,16,24,.98));border:1px solid var(--nf-border);border-radius:var(--nf-radius);box-shadow:var(--nf-shadow);padding:20px;position:relative;overflow:hidden;height:100%;transition:.2s}
.ph-card::before{content:"";position:absolute;top:0;left:0;right:0;height:2px;background:linear-gradient(90deg,transparent,var(--nf-orange),var(--nf-orange2),transparent)}
.ph-card:hover{transform:translateY(-3px);border-color:rgba(255,77,0,.5)}
.ph-card-icon{width:46px;height:46px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:1.3rem;margin-bottom:12px;background:rgba(255,77,0,.12);border:1px solid rgba(255,77,0,.28)}
.ph-card h3{font-family:var(--nf-display);font-size:1.2rem;font-weight:700;margin:0 0 8px}
.ph-card p{color:var(--nf-muted);font-size:.93rem;line-height:1.6;margin:0 0 12px}
.ph-link{color:var(--nf-orange2)!important;font-weight:600;text-decoration:none}
.ph-blocks{padding:48px 0 32px}
.ph-top-list{list-style:none;margin:0;padding:0}
.ph-top-list li{display:flex!important;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid rgba(255,255,255,.06)}
.ph-top-rank{width:22px;font-weight:800;font-size:.85rem;color:var(--nf-orange2);text-align:center}
.ph-top-list img{width:36px!important;height:36px!important;border-radius:10px!important;object-fit:cover;border:1px solid rgba(255,77,0,.25)}
.ph-top-name{flex:1;font-weight:600;font-size:.9rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ph-top-val{font-size:.8rem;color:var(--nf-muted)}
.btn-primary{background:linear-gradient(135deg,#ff4d00,#c43500)!important;border:none!important;box-shadow:0 6px 20px rgba(255,77,0,.3)}
.ph-online-card{border-radius:14px;border:1px solid rgba(255,77,0,.18);background:linear-gradient(160deg,#12141c,#181b26)}
.news-item:hover{background:rgba(255,77,0,.06)}

/* layout fix 2026-10-03 */
.ph-stats .container{width:100%;max-width:1200px;margin:0 auto;padding:0 16px;box-sizing:border-box}
.ph-stats-grid{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:12px!important;width:100%!important}
.ph-blocks .row{display:flex!important;flex-wrap:wrap!important}
.ph-blocks .col-md-4{flex:0 0 33.333%!important;max-width:33.333%!important;padding:12px;box-sizing:border-box}
@media (max-width:900px){
  .ph-stats-grid{grid-template-columns:repeat(3,1fr)!important}
  .ph-blocks .col-md-4{flex:0 0 100%!important;max-width:100%!important}
}
@media (max-width:600px){.ph-stats-grid{grid-template-columns:repeat(2,1fr)!important}}
