/* Extracted from vrcstatus.php block 1 */
/* Overlap fix stays, but remove the visual "black bars" completely. */
:root{
    --ww-safe-top: 18px;
    --ww-safe-bot: 26px;
    --ww-header-h: 0px;
    --ww-footer-h: 0px;
}

main.ww-vrcstatus{
    margin-top: 0;
    min-height: 100vh;
    padding: calc(var(--ww-nav-height, 78px) + 24px) 0 48px;
    background:
        radial-gradient(760px 420px at 12% 8%, rgba(56,189,248,0.13), transparent 62%),
        radial-gradient(720px 420px at 88% 0%, rgba(244,114,182,0.10), transparent 60%),
        linear-gradient(180deg, #050711 0%, #090b16 48%, #050711 100%);
    color: rgba(255,255,255,0.88);
    text-align: left;
}

/* IMPORTANT: These were causing the black bars.
   Your global theme likely paints .hero-overlay and/or the video section full-height.
   We keep the video background, but ensure the overlay does not "fill" the top/bottom spacing area.
*/
.ww-vrcstatus .hero-wrapper{
    position: static !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow: visible;
    background: transparent;
}
.ww-vrcstatus .hero-overlay{
    /* keep your overlay effect, but make it sit behind content only */
    pointer-events: none;
    display: none;
    background: transparent;
}

.ww-vrcstatus .hero-video{
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.13;
    filter: saturate(0.85) brightness(0.65);
    pointer-events: none;
    z-index: 0;
}

.ww-vrcstatus .hero-content{
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: 100%;
    padding: 0;
    color: inherit;
    text-align: left;
    z-index: 1;
}

/* Use your existing background video if you want it.
   If this video section is what's creating the bars, set display:none below. */
/*
.ww-vrcstatus .hero-video{ display:none; }
*/

.ww-status-wrap{
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.ww-status-card{
    background: rgba(6, 9, 20, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 22px 80px rgba(0,0,0,0.48);
    border-radius: 2px;
    overflow: hidden;
    backdrop-filter: blur(16px);
}

.ww-status-head{
    display:flex;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.10);
    background:
        linear-gradient(135deg, rgba(20,184,166,0.10), rgba(59,130,246,0.06)),
        rgba(0,0,0,0.14);
}

.ww-status-title{
    display:flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.ww-status-title h1{
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    line-height: 1.2;
    margin: 0;
    color: #f9fafb;
    letter-spacing: 0.2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ww-status-title .sub{
    font-size: 13px;
    color: rgba(249,250,251,0.70);
    line-height: 1.45;
}

.ww-status-actions{
    display:flex;
    gap: 10px;
    align-items:center;
    flex-wrap: wrap;
    justify-content:flex-end;
}
.ww-btn{
    display:inline-flex;
    align-items:center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 2px;
    border: 1px solid rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.90);
    text-decoration:none;
    background: rgba(0,0,0,0.20);
    transition: transform .08s ease, background .15s ease, border-color .15s ease;
    font-size: 13px;
    user-select:none;
}
.ww-btn:hover{
    transform: translateY(-1px);
    background: rgba(0,0,0,0.32);
    border-color: rgba(255,255,255,0.22);
}
.ww-btn:active{ transform: translateY(0); }

.ww-kbd{
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 2px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(0,0,0,0.18);
    color: rgba(255,255,255,0.84);
}

.ww-status-body{ padding: 18px 22px 22px; }
.ww-system-overview{
    display:grid;
    gap: 14px;
    margin-bottom: 16px;
}
.ww-status-metrics{
    display:grid;
    grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
    gap: 14px;
    margin-bottom: 14px;
}
.ww-vrc-days-card,
.ww-player-card{
    min-width:0;
    padding: 16px;
    border-radius: 2px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.045);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.ww-vrc-days-card{
    position:relative;
    overflow:hidden;
    min-height: 318px;
    padding: 22px 18px 24px;
    background:
        radial-gradient(420px 220px at 50% 58%, rgba(99,102,241,0.10), transparent 72%),
        linear-gradient(135deg, rgba(242,211,32,0.15), rgba(242,211,32,0.035) 46%, rgba(255,255,255,0.045));
}
.ww-vrc-days-card::before,
.ww-vrc-days-card::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    height:9px;
    background: repeating-linear-gradient(135deg, rgba(245,220,38,0.80) 0 13px, rgba(5,6,9,0.82) 13px 25px);
}
.ww-vrc-days-card::before{ top:0; }
.ww-vrc-days-card::after{ bottom:0; }
.ww-vrc-days-inner{
    position:relative;
    z-index:1;
    min-height: 272px;
    height: 100%;
    display:grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    justify-items:center;
    align-items:center;
    gap:14px;
    text-align:center;
}
.ww-vrc-days-label{
    color: rgba(255,255,255,0.88);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .09em;
    line-height:1.3;
    text-transform:uppercase;
    text-shadow: 0 2px 10px rgba(0,0,0,0.42);
}
.ww-vrc-days-live{
    width: min(100%, 370px);
    margin-top: 0;
    color: rgba(255,105,105,0.94);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: clamp(1.05rem, 2.2vw, 1.45rem);
    font-weight: 900;
    line-height: 1.2;
    text-align:center;
    font-variant-numeric: tabular-nums;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.ww-vrc-days-number{
    display:grid;
    place-items:center;
    align-self:stretch;
    width: min(86%, 334px);
    min-height: 0;
    padding: 8px 22px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.70);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(229,231,235,0.94));
    color:#141414;
    font-size: clamp(8rem, 14vw, 13rem);
    font-weight: 950;
    line-height:1;
    text-align:center;
    font-variant-numeric: tabular-nums;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.96),
        inset 0 -10px 24px rgba(15,23,42,0.08),
        0 18px 40px rgba(0,0,0,0.24);
    text-shadow: 0 1px 0 rgba(255,255,255,0.20);
}
.ww-player-head{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:10px;
    margin-bottom:12px;
}
.ww-player-counts{
    display:grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width:100%;
    text-align:left;
}
.ww-player-count-item{
    display:grid;
    gap: 4px;
    min-width:0;
    padding: 9px 10px;
    border-radius: 2px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(0,0,0,0.16);
}
.ww-player-count-item span{
    color: rgba(255,255,255,0.56);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.15;
    text-transform: uppercase;
}
.ww-player-count-item strong{
    color:#fff;
    font-size: clamp(1.2rem, 2.2vw, 1.9rem);
    font-weight: 950;
    line-height:1;
    font-variant-numeric: tabular-nums;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.ww-player-count-estimate strong{
    color:#a7f3d0;
}
.ww-player-label{
    margin-top: 4px;
    color: rgba(255,255,255,0.56);
    font-size: 12px;
    line-height: 1.35;
}
.ww-player-graph-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 10px;
    margin-bottom: 7px;
}
.ww-player-legend{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap: 8px 14px;
    min-width:0;
}
.ww-player-legend-item{
    display:inline-flex;
    align-items:center;
    gap: 6px;
    color: rgba(255,255,255,0.72);
    font-size: 12px;
    font-weight: 900;
    line-height:1.2;
    text-transform:uppercase;
}
.ww-player-legend-item::before{
    content:"";
    display:block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}
.ww-player-legend-total{ color:#9eefff; }
.ww-player-legend-steam{ color:#fb923c; }
.ww-player-graph-head strong{
    color:#fff;
    font-size: 16px;
    line-height:1;
    font-variant-numeric: tabular-nums;
    white-space:nowrap;
}
.ww-player-chart{
    width:100%;
    min-height: 126px;
    border-radius: 2px;
    border: 1px solid rgba(255,255,255,0.10);
    background:
        linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px),
        rgba(0,0,0,0.18);
    background-size: 100% 33%, 20% 100%, auto;
    padding: 10px;
}
.ww-player-chart svg{
    display:block;
    width:100%;
    height:92px;
    overflow:visible;
}
.ww-player-line{
    fill:none;
    stroke:#fb923c;
    stroke-width:0.2;
    stroke-linecap:round;
    stroke-linejoin:round;
    filter: drop-shadow(0 0 8px rgba(251,146,60,0.28));
}
.ww-player-line-total{
    stroke:#9eefff;
    filter: drop-shadow(0 0 8px rgba(158,239,255,0.32));
}
.ww-player-line-steam{
    stroke:#fb923c;
    filter: drop-shadow(0 0 8px rgba(251,146,60,0.28));
}
.ww-player-dot-total{
    fill:#9eefff;
}
.ww-player-dot-steam{
    fill:#fb923c;
}
.ww-player-chart-meta{
    display:flex;
    justify-content:space-between;
    gap:12px;
    margin-top:6px;
    color: rgba(255,255,255,0.54);
    font-size: 11px;
    line-height: 1.25;
}
.ww-player-chart-meta span{
    flex:1;
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.ww-player-chart-meta span:nth-child(2){ text-align:center; }
.ww-player-chart-meta span:nth-child(3){ text-align:right; }
.ww-overview-top{
    display:grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
    gap: 12px;
}
.ww-overview-panel{
    min-width: 0;
    padding: 16px;
    border-radius: 2px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.045);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.ww-overview-heading{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 10px;
    margin-bottom: 10px;
}
.ww-overview-title{
    margin:0;
    color: rgba(255,255,255,0.92);
    font-size: 15px;
    line-height: 1.25;
}
.ww-overview-sub{
    color: rgba(255,255,255,0.64);
    font-size: 12px;
    line-height: 1.45;
}
.ww-check-grid{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
}
.ww-check{
    min-width:0;
    padding: 12px;
    border-radius: 2px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(0,0,0,0.18);
}
.ww-check-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 10px;
}
.ww-check-name{
    color: rgba(255,255,255,0.90);
    font-size: 13px;
    font-weight: 800;
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.ww-check-status{
    display:inline-flex;
    align-items:center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 2px;
    font-size: 12px;
    border: 1px solid rgba(255,255,255,0.14);
    white-space:nowrap;
}
.ww-check-dot{
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: currentColor;
}
.ww-check-ok .ww-check-status{ color: #86efac; background: rgba(34,197,94,0.10); border-color: rgba(134,239,172,0.24); }
.ww-check-warn .ww-check-status{ color: #fde68a; background: rgba(245,158,11,0.10); border-color: rgba(253,230,138,0.24); }
.ww-check-bad .ww-check-status{ color: #fca5a5; background: rgba(239,68,68,0.10); border-color: rgba(252,165,165,0.24); }
.ww-check-info .ww-check-status{ color: #bfdbfe; background: rgba(59,130,246,0.10); border-color: rgba(191,219,254,0.24); }
.ww-check-meta{
    margin-top: 8px;
    color: rgba(255,255,255,0.62);
    font-size: 12px;
    line-height: 1.4;
}
.ww-latency-grid{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 10px;
    margin-top: 0;
}
.ww-latency-panel .ww-overview-heading{
    margin-bottom: 12px;
}
.ww-latency-card{
    min-width:0;
    padding: 12px;
    border-radius: 2px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(0,0,0,0.16);
}
.ww-latency-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap: 10px;
    margin-bottom: 8px;
}
.ww-latency-head h3{
    margin:0;
    color: rgba(255,255,255,0.88);
    font-size: 13px;
    line-height: 1.25;
}
.ww-latency-head div div{
    margin-top: 3px;
    color: rgba(255,255,255,0.55);
    font-size: 11px;
    line-height: 1.25;
}
.ww-latency-head strong{
    color: #f8fafc;
    font-size: 18px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    white-space:nowrap;
}
.ww-latency-chart{
    width:100%;
    height: 74px;
    border-radius: 2px;
    border: 1px solid rgba(255,255,255,0.09);
    background:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px),
        rgba(255,255,255,0.035);
    background-size: 100% 33%, 25% 100%, auto;
    padding: 7px;
}
.ww-latency-chart svg{
    display:block;
    width:100%;
    height:100%;
    overflow:visible;
}
.ww-latency-line{
    fill:none;
    stroke:#a7f3d0;
    stroke-width:0.2;
    stroke-linecap:round;
    stroke-linejoin:round;
    filter: drop-shadow(0 0 6px rgba(167,243,208,0.25));
}
.ww-latency-fill{
    fill: rgba(167,243,208,0.09);
}
.ww-latency-stats,
.ww-latency-time{
    display:flex;
    justify-content:space-between;
    gap: 8px;
    margin-top: 7px;
    color: rgba(255,255,255,0.58);
    font-size: 11px;
    line-height: 1.2;
}
.ww-latency-stats span,
.ww-latency-time span{
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.ww-latency-stats span:nth-child(2){ text-align:center; }
.ww-latency-stats span:nth-child(3),
.ww-latency-time span:nth-child(2){ text-align:right; }
.ww-component-groups{
    display:grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.ww-component-group{
    min-width:0;
    padding: 12px;
    border-radius: 2px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(0,0,0,0.16);
}
.ww-component-group h3{
    margin: 0 0 9px;
    color: rgba(255,255,255,0.90);
    font-size: 13px;
    line-height: 1.25;
}
.ww-component-group-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 10px;
    margin-bottom: 9px;
}
.ww-component-group-head h3{
    margin: 0;
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.ww-component-list{
    display:grid;
    gap: 8px;
}
.ww-component-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 10px;
}
.ww-component-name{
    min-width:0;
    color: rgba(255,255,255,0.76);
    font-size: 13px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.ww-mini-list{
    display:grid;
    gap: 8px;
}
.ww-mini-item{
    padding: 10px;
    border-radius: 2px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(0,0,0,0.16);
}
.ww-mini-title{
    color: rgba(255,255,255,0.88);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
}
.ww-mini-meta{
    margin-top: 4px;
    color: rgba(255,255,255,0.62);
    font-size: 12px;
    line-height: 1.45;
}
.ww-outage-graph{
    display:grid;
    gap: 10px;
}
.ww-outage-row{
    display:grid;
    grid-template-columns: minmax(150px, 0.55fr) minmax(0, 1fr);
    gap: 12px;
    align-items:center;
    padding: 10px;
    border-radius: 2px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.04);
}
.ww-outage-row.is-active{
    border-color: rgba(252,165,165,0.22);
    background: rgba(127,29,29,0.14);
}
.ww-outage-date{
    color: rgba(255,255,255,0.78);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
}
.ww-outage-bar-track{
    min-width:0;
}
.ww-outage-bar-line{
    position:relative;
    height: 16px;
    border-radius: 2px;
    overflow:hidden;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.10);
}
.ww-outage-bar-fill{
    display:block;
    height:100%;
    width: var(--outage-width);
    min-width: 8px;
    border-radius: 2px;
    background: linear-gradient(90deg, rgba(248,113,113,0.72), rgba(251,191,36,0.82));
}
.ww-outage-row.is-active .ww-outage-bar-fill{
    background: linear-gradient(90deg, rgba(239,68,68,0.92), rgba(251,113,133,0.86));
}
.ww-outage-details{
    margin-top: 6px;
    color: rgba(255,255,255,0.64);
    font-size: 12px;
    line-height: 1.45;
}
.ww-outage-duration{
    color: rgba(255,255,255,0.88);
    font-weight: 900;
}
.ww-status-grid{ display: grid; grid-template-columns: 1fr; gap: 10px; }

.ww-entry{
    padding: 14px 16px;
    border-radius: 2px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.045);
    display:grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items:start;
}
.ww-entry:hover{
    border-color: rgba(255,255,255,0.18);
    background: rgba(0,0,0,0.26);
}
.ww-entry-main{ min-width: 0; flex: 1; }
.ww-entry-top{
    display:flex;
    gap: 10px;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 6px;
}
.ww-entry-title{
    font-size: 15px;
    margin: 0;
    color: rgba(255,255,255,0.92);
    line-height: 1.35;
    letter-spacing: 0.1px;
    flex: 1;
    min-width: 0;
}
.ww-entry-title a{ color: inherit; text-decoration: none; }
.ww-entry-title a:hover{ text-decoration: underline; }

.ww-entry-meta{
    display:flex;
    gap: 10px;
    align-items:center;
    flex-wrap: wrap;
    justify-content:flex-end;
    color: rgba(255,255,255,0.68);
    font-size: 12px;
}
.ww-entry-text{
    color: rgba(255,255,255,0.78);
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: anywhere;
}

.ww-badge{
    display:inline-flex;
    align-items:center;
    padding: 5px 10px;
    border-radius: 2px;
    font-size: 12px;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.88);
    white-space: nowrap;
}
.ww-badge-ok{ border-color: rgba(80,255,170,0.28); background: rgba(80,255,170,0.10); }
.ww-badge-warn{ border-color: rgba(255,204,102,0.30); background: rgba(255,204,102,0.10); }
.ww-badge-bad{ border-color: rgba(255,102,102,0.30); background: rgba(255,102,102,0.10); }
.ww-badge-info{ border-color: rgba(140,170,255,0.30); background: rgba(140,170,255,0.10); }

.ww-error{
    padding: 12px 14px;
    border-radius: 2px;
    border: 1px solid rgba(255, 102, 102, 0.30);
    background: rgba(255, 102, 102, 0.08);
    color: rgba(255,255,255,0.90);
    font-size: 13px;
}

.ww-muted{ color: rgba(255,255,255,0.66); font-size: 13px; }
.ww-divider{ height: 1px; background: rgba(255,255,255,0.10); margin: 14px 0; }
@media (max-width: 860px){
    main.ww-vrcstatus{ padding-top: calc(var(--ww-nav-height, 72px) + 42px); }
    .ww-overview-top,
    .ww-status-metrics,
    .ww-component-groups,
    .ww-check-grid,
    .ww-latency-grid{ grid-template-columns: 1fr; }
    .ww-vrc-days-number{
        width: min(62vw, 240px);
        min-height: 0;
        aspect-ratio: 1 / 1;
        font-size: clamp(7.5rem, 28vw, 11rem);
    }
    .ww-outage-row{ grid-template-columns: 1fr; }
    .ww-status-head{ align-items:flex-start; flex-direction:column; }
    .ww-status-title h1{ white-space:normal; }
    .ww-status-actions{ justify-content:flex-start; }
    .ww-player-counts{ grid-template-columns: 1fr; }
    .ww-status-body,
    .ww-status-head{ padding-left: 14px; padding-right: 14px; }
    .ww-entry{ grid-template-columns: 1fr; }
    .ww-entry-meta{ justify-content:flex-start; }
}



