/*
 * VCAD Webstats - Neon Vice page styles (top bar, redesigned pages).
 * Loaded by nv_layout.php after style/style.css, whose :root tokens and base styles it builds on.
 * Bump NVW_CSS_VERSION in nv_layout.php after editing.
 */

/* ---------- Layout ---------- */
.nvw-wrap { box-sizing: border-box; width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; text-align: left; }
.nvw-main { padding: 8px 20px 72px; }
.nvw-dim { color: var(--text-dim); }
.is-red { color: #FF6B96; }
.is-blue { color: #5CE4F6; }
.is-good { color: var(--success); font-weight: 600; }
.is-bad { color: var(--danger); font-weight: 600; }
.nvw-main code, .nvw-hero code, .nvw-empty code {
	padding: 2px 7px;
	border-radius: 6px;
	background: rgba(255, 255, 255, .06);
	color: #fff;
	font: 500 .92em/1.4 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

/* ---------- Top bar ---------- */
.nvw-top {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(11, 10, 26, 0.84);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	backdrop-filter: blur(14px) saturate(140%);
	border-bottom: 1px solid var(--border);
	box-shadow: 0 1px 0 rgba(255, 46, 136, 0.16), 0 10px 30px rgba(0, 0, 0, 0.3);
	text-align: left;
}
.nvw-top__in {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 22px;
	max-width: 1320px;
	height: var(--nav-h);
	margin: 0 auto;
	padding: 0 20px;
}
.nvw-brand, .nvw-brand:visited { display: flex; flex-shrink: 0; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.nvw-brand:hover { color: #fff; text-decoration: none; }
.nvw-brand img { display: block; width: 34px; height: 34px; transition: transform .25s var(--ease); }
.nvw-brand:hover img { transform: rotate(-4deg) scale(1.05); }
.nvw-brand__text { display: flex; flex-direction: column; line-height: 1; }
.nvw-brand__text strong { color: #fff; font: 700 18px/1 var(--font-head); letter-spacing: .08em; text-transform: uppercase; }
.nvw-brand__text small { margin-top: 4px; color: var(--accent-cyan); font: 600 10px/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; }

.nvw-nav { display: flex; flex: 1 1 auto; align-items: center; justify-content: space-between; gap: 16px; min-width: 0; }
.nvw-nav__main, .nvw-nav__side { display: flex; align-items: center; gap: 2px; }
.nvw-nav__side { gap: 8px; }
.nvw-nav__main a, .nvw-nav__main a:visited {
	position: relative;
	padding: 9px 11px;
	border-radius: 999px;
	color: var(--text-secondary);
	font: 600 14px/1 var(--font-head);
	letter-spacing: .09em;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
	transition: color .15s, background-color .15s;
}
.nvw-nav__main a:hover { color: #fff; background: rgba(255, 255, 255, .06); text-decoration: none; }
.nvw-nav__main a::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 2px;
	width: 0;
	height: 2px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--attack), var(--defense));
	transform: translateX(-50%);
	transition: width .25s var(--ease);
}
.nvw-nav__main a:hover::after { width: 55%; }
.nvw-nav__main a.is-active { color: #fff; }
.nvw-nav__main a.is-active::after { width: 70%; box-shadow: 0 0 10px rgba(255, 46, 136, .6); }

/* Pills and buttons */
.nvw-pill, .nvw-pill:visited {
	display: inline-flex;
	align-items: center;
	padding: 8px 14px;
	border: 1px solid var(--border-strong);
	border-radius: 999px;
	color: var(--text-soft);
	font: 600 13px/1 var(--font-head);
	letter-spacing: .09em;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
	transition: color .15s, border-color .15s, background-color .15s;
}
.nvw-pill:hover, .nvw-pill.is-active { border-color: rgba(34, 211, 238, .55); background: rgba(34, 211, 238, .08); color: #fff; text-decoration: none; }
.nvw-btn, .nvw-btn:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 42px;
	padding: 0 22px;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--accent-pink), #c21a6e);
	box-shadow: 0 8px 22px rgba(255, 46, 136, .28);
	color: #fff;
	cursor: pointer;
	font: 700 14px/1 var(--font-head);
	letter-spacing: .12em;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
	transition: filter .15s, box-shadow .15s;
}
.nvw-btn:hover { color: #fff; filter: brightness(1.08); box-shadow: 0 10px 30px rgba(255, 46, 136, .45); text-decoration: none; }
.nvw-btn--forum { min-height: 36px; padding: 0 18px; font-size: 13px; }

/* Phone menu toggle (checkbox, no script) */
.nvw-menu-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nvw-burger { display: none; margin: 0 0 0 auto; padding: 10px; border-radius: 10px; cursor: pointer; }
.nvw-burger span, .nvw-burger span::before, .nvw-burger span::after {
	display: block;
	position: relative;
	width: 22px;
	height: 2px;
	border-radius: 2px;
	background: #fff;
	transition: transform .2s var(--ease), background-color .2s;
}
.nvw-burger span::before, .nvw-burger span::after { content: ""; position: absolute; left: 0; }
.nvw-burger span::before { top: -7px; }
.nvw-burger span::after { top: 7px; }
.nvw-menu-toggle:focus-visible + .nvw-burger { outline: 2px solid var(--accent-cyan); }
.nvw-menu-toggle:checked + .nvw-burger span { background: transparent; }
.nvw-menu-toggle:checked + .nvw-burger span::before { transform: translateY(7px) rotate(45deg); }
.nvw-menu-toggle:checked + .nvw-burger span::after { transform: translateY(-7px) rotate(-45deg); }

/* Older pages: the new bar replaces their logo banner */
.nvw-top ~ center > .container:first-child, .nvw-top ~ center { display: block; }

/* ---------- Page header ---------- */
.nvw-hero {
	position: relative;
	padding: 54px 0 30px;
	overflow: hidden;
	text-align: left;
}
.nvw-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px) 0 0 / 44px 44px,
		linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px) 0 0 / 44px 44px;
	-webkit-mask-image: linear-gradient(180deg, #000 10%, transparent 95%);
	mask-image: linear-gradient(180deg, #000 10%, transparent 95%);
}
.nvw-hero--compact { padding: 38px 0 18px; }
.nvw-kicker {
	margin: 0 0 8px;
	color: var(--accent-cyan);
	font: 700 12.5px/1.3 var(--font-head);
	letter-spacing: .2em;
	text-transform: uppercase;
}
.nvw-title {
	margin: 0;
	color: #fff;
	font: 700 clamp(34px, 5vw, 54px)/1.02 var(--font-head);
	letter-spacing: .03em;
	text-transform: uppercase;
}
.nvw-lead { max-width: 640px; margin: 12px 0 0; color: var(--text-secondary); font-size: 16px; }
.nvw-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 18px; }
.nvw-live {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 7px 14px 7px 12px;
	border: 1px solid rgba(61, 220, 151, .35);
	border-radius: 999px;
	background: rgba(61, 220, 151, .09);
	color: #CFF7E4;
	font-size: 13.5px;
	font-weight: 600;
}
.nvw-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 0 rgba(61, 220, 151, .6); animation: nvw-pulse 2s infinite; }
.nvw-live.is-off { border-color: rgba(255, 84, 112, .35); background: rgba(255, 84, 112, .08); color: #FFD3DA; }
.nvw-live.is-off i { background: var(--danger); animation: none; }
@keyframes nvw-pulse { 70% { box-shadow: 0 0 0 8px rgba(61, 220, 151, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0); } }
.nvw-connect { color: var(--text-secondary); font-size: 13.5px; }

/* ---------- Cards, sections, tags ---------- */
.nvw-card {
	box-sizing: border-box;
	padding: 18px 20px;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 16px;
	box-shadow: var(--shadow-sm);
}
.nvw-card--flush { padding: 0; overflow: hidden; }
.nvw-card__title, html body .nvw-card__title {
	margin: 0 0 14px;
	color: #fff;
	font: 700 15px/1.2 var(--font-head);
	letter-spacing: .12em;
	text-transform: uppercase;
}
.nvw-card--flush > .nvw-card__title { margin: 0; padding: 15px 18px; border-bottom: 1px solid var(--border); }

.nvw-section { margin-top: 38px; }
.nvw-section__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 16px; }
.nvw-section__head h2, html body .nvw-section__head h2 {
	margin: 0;
	color: #fff;
	font: 700 26px/1.1 var(--font-head);
	letter-spacing: .06em;
	text-transform: uppercase;
}
.nvw-section__head h2::after {
	content: "";
	display: inline-block;
	width: 34px;
	height: 3px;
	margin: 0 0 6px 12px;
	border-radius: 3px;
	background: linear-gradient(90deg, var(--attack), var(--defense));
	vertical-align: middle;
}
.nvw-more, .nvw-more:visited { color: var(--text-secondary); font-size: 14px; font-weight: 600; text-decoration: none; }
.nvw-more:hover { color: #fff; }

.nvw-tag {
	display: inline-flex;
	align-items: center;
	padding: 3px 10px;
	border: 1px solid var(--border-strong);
	border-radius: 999px;
	background: rgba(255, 255, 255, .05);
	color: var(--text-soft);
	font: 600 12.5px/1.5 var(--font-body);
	white-space: nowrap;
}
.nvw-tag--red { background: var(--attack-soft); border-color: rgba(255, 46, 110, .45); color: #FFC2D3; }
.nvw-tag--blue { background: var(--defense-soft); border-color: rgba(34, 211, 238, .45); color: #BDF4FF; }
.nvw-tag--gold { background: rgba(255, 200, 87, .12); border-color: rgba(255, 200, 87, .4); color: #FFE2A6; }
.nvw-tag--green { background: rgba(61, 220, 151, .12); border-color: rgba(61, 220, 151, .4); color: #A8F0CF; }
.nvw-tag--cyan { background: rgba(34, 211, 238, .12); border-color: rgba(34, 211, 238, .4); color: #BDF4FF; }
.nvw-tag--dim { color: var(--text-dim); }

/* Player name links */
.nvw-name, .nvw-name:visited {
	display: inline-block;
	max-width: 100%;
	overflow: hidden;
	color: #EDE6FF;
	font-weight: 600;
	text-decoration: none;
	text-overflow: ellipsis;
	vertical-align: middle;
	white-space: nowrap;
	transition: color .15s;
}
.nvw-name:hover { color: #ff6fae; text-decoration: none; }
.nvw-name--red, .nvw-name--red:visited { color: #FF9CB8; }
.nvw-name--blue, .nvw-name--blue:visited { color: #8EEBFA; }
.nvw-name--red:hover, .nvw-name--blue:hover { color: #fff; }
.nvw-name--clan, .nvw-name--clan:visited { color: var(--accent-gold); }
.nvw-flag { width: 20px; height: 15px; margin-right: 7px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); object-fit: cover; vertical-align: -2px; }

.nvw-empty {
	margin: 18px 0;
	padding: 26px 22px;
	border: 1px dashed var(--border-strong);
	border-radius: 16px;
	color: var(--text-secondary);
	text-align: center;
}
.nvw-empty strong { display: block; color: #fff; font: 700 19px/1.3 var(--font-head); letter-spacing: .03em; }
.nvw-empty p { margin: 8px 0 0; }

/* ---------- Generic data table ---------- */
table.nvw-table, table.nvw-kv, table.nvw-bars, table.stats[data-nvw] {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	border-spacing: 0;
	background: transparent;
	color: var(--text-soft);
	font-size: 14px;
	font-variant-numeric: tabular-nums;
}
table.nvw-table th, table.stats[data-nvw] th, table.nvw-bars th {
	padding: 10px 14px;
	border-bottom: 1px solid var(--border-strong);
	background: rgba(255, 255, 255, .025);
	color: var(--text-dim);
	font: 700 11.5px/1.2 var(--font-head);
	letter-spacing: .14em;
	text-align: left;
	text-transform: uppercase;
	white-space: nowrap;
}
table.nvw-table td, table.stats[data-nvw] td, table.nvw-bars td {
	padding: 10px 14px;
	border-bottom: 1px solid var(--border);
	text-align: left;
	vertical-align: middle;
}
table.nvw-table tbody tr:last-child td, table.stats[data-nvw] tbody tr:last-child td, table.nvw-bars tbody tr:last-child td { border-bottom: 0; }
table.nvw-table tbody tr:hover td, table.stats[data-nvw] tbody tr:hover td { background: rgba(255, 255, 255, .03); }
table.nvw-table th:not(:first-child), table.nvw-table td:not(:first-child) { text-align: center; }
.nvw-scroll { overflow-x: auto; }

/* ---------- Home: totals as tiles ---------- */
table.nvw-totals { display: block; width: 100%; margin: 0; border: 0; background: none; }
table.nvw-totals tbody { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
table.nvw-totals tr {
	position: relative;
	display: flex;
	flex-direction: column-reverse;
	gap: 6px;
	padding: 16px 18px;
	overflow: hidden;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 14px;
}
table.nvw-totals tr::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--attack), transparent);
	opacity: .7;
}
table.nvw-totals td { display: block; padding: 0; border: 0; text-align: left; }
table.nvw-totals td:first-child { color: var(--text-dim); font: 700 11.5px/1.2 var(--font-head); letter-spacing: .14em; }
table.nvw-totals td:last-child { color: #fff; font: 700 28px/1.05 var(--font-head); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
table.nvw-totals .nvw-totals__live::before, table.nvw-totals .nvw-totals__survives::before, table.nvw-totals .nvw-totals__uptime::before { background: linear-gradient(90deg, var(--defense), transparent); }
table.nvw-totals .nvw-totals__live td:last-child { color: #A8F0CF; }
table.nvw-totals .nvw-totals__kills td:last-child { color: #FF9CB8; }

/* ---------- Home: latest rounds ---------- */
.nvw-round-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.nvw-round-card, .nvw-round-card:visited {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	padding: 15px 16px;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-left: 3px solid var(--border-strong);
	border-radius: 14px;
	color: var(--text-soft);
	text-decoration: none;
	transition: transform .2s var(--ease), border-color .2s, background-color .2s;
}
.nvw-round-card:hover { transform: translateY(-2px); background: var(--bg-elevated); color: var(--text-soft); text-decoration: none; }
.nvw-round-card--red { border-left-color: var(--attack); }
.nvw-round-card--blue { border-left-color: var(--defense); }
.nvw-round-card--admin { border-left-color: var(--accent-gold); }
.nvw-round-card strong { color: #fff; font: 700 18px/1.2 var(--font-head); letter-spacing: .02em; }
.nvw-round-card__id { color: var(--text-dim); font: 700 12px/1 var(--font-head); letter-spacing: .12em; }
.nvw-round-card__vs { color: var(--text-secondary); font-size: 13px; }
.nvw-round-card .nvw-tag { margin-top: 4px; }

/* ---------- Leaderboard cards (home and weapons) ---------- */
.nvw-boards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.nvw-board {
	box-sizing: border-box;
	min-width: 0;
	overflow: hidden;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 16px;
	box-shadow: var(--shadow-sm);
	scroll-margin-top: 130px;
}
.nvw-board > h3, html body .nvw-board > h3, .nvw-board__head h3, html body .nvw-board__head h3 {
	margin: 0;
	padding: 15px 16px 13px;
	color: #fff;
	font: 700 16px/1.2 var(--font-head);
	letter-spacing: .1em;
	text-align: left;
	text-transform: uppercase;
}
.nvw-board > h3 { border-bottom: 1px solid var(--border); }
.nvw-board--kills > h3 { box-shadow: inset 3px 0 0 var(--attack); }
.nvw-board--deaths > h3 { box-shadow: inset 3px 0 0 #8A86B5; }
.nvw-board--ratio > h3, .nvw-board--clan > h3 { box-shadow: inset 3px 0 0 var(--accent-gold); }
.nvw-board--number > h3, .nvw-board--hours > h3 { box-shadow: inset 3px 0 0 var(--defense); }
.nvw-board table.stats[data-nvw] td { padding: 8px 14px; }
.nvw-board table.stats[data-nvw] th:first-child, .nvw-board table.stats[data-nvw] td:first-child { width: 30px; padding-right: 0; text-align: center; }
.nvw-board table.stats[data-nvw] td:first-child { color: var(--text-dim); font: 700 14px/1 var(--font-head); }
.nvw-board table.stats[data-nvw] td:nth-child(2) { max-width: 0; width: 100%; }
.nvw-board table.stats[data-nvw] th:last-child, .nvw-board table.stats[data-nvw] td:last-child { text-align: right; white-space: nowrap; }
.nvw-board table.stats[data-nvw] td:last-child { color: #fff; font-weight: 600; }
/* Medals for the top three */
.nvw-rank { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; }
.nvw-board tr.is-top1 .nvw-rank { background: linear-gradient(135deg, #FFE08A, #F0A72E); box-shadow: 0 0 14px rgba(255, 200, 87, .45); color: #2A1A00; }
.nvw-board tr.is-top2 .nvw-rank { background: linear-gradient(135deg, #F1F4FA, #A9B3C6); color: #1A1D26; }
.nvw-board tr.is-top3 .nvw-rank { background: linear-gradient(135deg, #F2B48A, #B86B3A); color: #2A1305; }
.nvw-board table.stats[data-nvw] tr.is-top1 .nvw-name { color: #FFE2A6; }

/* Weapons page */
.nvw-board__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-right: 16px; }
.nvw-board__meta { color: var(--text-dim); font-size: 12.5px; white-space: nowrap; }
.nvw-share { height: 3px; margin: 0 16px 10px; border-radius: 3px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.nvw-share i { display: block; width: var(--w); height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--attack), var(--defense)); }
.nvw-board--weapon table.stats[data-nvw] thead { display: none; }
.nvw-board--weapon table.stats[data-nvw] tbody tr:first-child td { border-top: 1px solid var(--border); }
.nvw-jump {
	position: sticky;
	top: var(--nav-h);
	z-index: 20;
	display: flex;
	gap: 6px;
	margin: 0 -20px 18px;
	padding: 10px 20px;
	overflow-x: auto;
	background: rgba(11, 10, 26, .88);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	scrollbar-width: none;
}
.nvw-jump::-webkit-scrollbar { display: none; }
.nvw-jump a, .nvw-jump a:visited {
	flex-shrink: 0;
	padding: 6px 12px;
	border: 1px solid var(--border-strong);
	border-radius: 999px;
	color: var(--text-soft);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}
.nvw-jump a:hover { border-color: rgba(255, 46, 136, .55); background: rgba(255, 46, 136, .1); color: #fff; }

/* ---------- Forms ---------- */
.nvw-input, select.nvw-input, html body select.nvw-input {
	box-sizing: border-box;
	min-height: 44px;
	padding: 0 16px;
	border: 1px solid var(--border-strong);
	border-radius: 12px;
	background: var(--bg-input);
	color: #fff;
	font: 500 15px/1.2 var(--font-body);
	transition: border-color .15s, box-shadow .15s;
}
.nvw-input::placeholder { color: var(--text-dim); }
.nvw-input:focus { outline: 0; border-color: var(--accent-pink); box-shadow: 0 0 0 3px rgba(255, 46, 136, .18); }
.nvw-search { display: flex; gap: 10px; max-width: 620px; margin-top: 10px; }
.nvw-search .nvw-input { flex: 1 1 auto; min-width: 0; min-height: 50px; font-size: 16px; }
.nvw-search .nvw-btn { min-height: 50px; }
.nvw-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 22px 0 10px; }
.nvw-filters .nvw-input[type="search"] { flex: 1 1 260px; max-width: 360px; }
.nvw-count { margin: 0 0 12px; color: var(--text-dim); font-size: 13px; }

/* ---------- Player page ---------- */
.nvw-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.nvw-chip, .nvw-chip:visited {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 9px 14px;
	border: 1px solid var(--border);
	border-radius: 12px;
	background: var(--bg-card);
	color: #fff;
	text-decoration: none;
	transition: border-color .15s, background-color .15s;
}
.nvw-chip:hover { border-color: rgba(255, 46, 136, .5); background: var(--bg-elevated); color: #fff; text-decoration: none; }
.nvw-chip small { color: var(--text-dim); font-size: 12px; }

.nvw-profile { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 18px; align-items: start; margin-top: 8px; }
.nvw-profile__side, .nvw-profile__main { display: grid; gap: 18px; min-width: 0; }
.nvw-profile__side { position: sticky; top: calc(var(--nav-h) + 16px); }

.nvw-idcard { position: relative; overflow: hidden; padding: 24px 22px 20px; text-align: left; }
.nvw-idcard::before {
	content: "";
	position: absolute;
	top: -60px;
	right: -60px;
	width: 200px;
	height: 200px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 46, 136, .22), transparent 70%);
}
.nvw-avatar {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	margin-bottom: 16px;
	border-radius: 18px;
	background: linear-gradient(135deg, var(--accent-pink), #6A3BFF 55%, var(--accent-cyan));
	box-shadow: 0 10px 30px rgba(255, 46, 136, .3);
	color: #fff;
	font: 700 32px/1 var(--font-head);
}
.nvw-idcard .nvw-kicker { margin-bottom: 4px; color: var(--text-dim); letter-spacing: .14em; }
.nvw-idcard__name, html body .nvw-idcard__name {
	margin: 0;
	color: #fff;
	font: 700 30px/1.1 var(--font-head);
	letter-spacing: .02em;
	overflow-wrap: anywhere;
}
.nvw-idcard__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.nvw-idcard__rank {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-top: 18px;
	padding-top: 14px;
	border-top: 1px solid var(--border);
}
.nvw-idcard__rank span { color: var(--text-dim); font: 700 12px/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase; }
.nvw-idcard__rank strong { color: var(--accent-gold); font: 700 34px/1 var(--font-head); }

table.nvw-kv td { padding: 10px 18px; border-bottom: 1px solid var(--border); font-size: 14px; }
table.nvw-kv tr:last-child td { border-bottom: 0; }
table.nvw-kv td:first-child { color: var(--text-dim); font: 700 11.5px/1.3 var(--font-head); letter-spacing: .13em; white-space: nowrap; }
table.nvw-kv td:last-child { color: #fff; font-weight: 600; text-align: right; }

.nvw-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.nvw-tile {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 16px 18px;
	overflow: hidden;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 14px;
}
.nvw-tile span { color: var(--text-dim); font: 700 11.5px/1.2 var(--font-head); letter-spacing: .14em; text-transform: uppercase; }
.nvw-tile strong { color: #fff; font: 700 32px/1 var(--font-head); font-variant-numeric: tabular-nums; }
.nvw-tile--pink { border-color: rgba(255, 46, 110, .3); background: linear-gradient(135deg, rgba(255, 46, 110, .14), var(--bg-card) 70%); }
.nvw-tile--pink strong { color: #FF9CB8; }
.nvw-tile--cyan { border-color: rgba(34, 211, 238, .3); background: linear-gradient(135deg, rgba(34, 211, 238, .12), var(--bg-card) 70%); }
.nvw-tile--cyan strong { color: #8EEBFA; }
.nvw-tile--gold { border-color: rgba(255, 200, 87, .28); background: linear-gradient(135deg, rgba(255, 200, 87, .1), var(--bg-card) 70%); }
.nvw-tile--gold strong { color: #FFE2A6; }

table.nvw-bars th { background: none; padding: 0 10px 8px 0; border-bottom: 0; }
table.nvw-bars td { padding: 6px 10px 6px 0; border-bottom: 0; font-size: 13.5px; }
table.nvw-bars td:first-child { width: 130px; color: var(--text-soft); white-space: nowrap; }
table.nvw-bars td:nth-child(2) { width: 100%; }
table.nvw-bars td:last-child, table.nvw-bars th:last-child { padding-right: 0; color: #fff; font-weight: 600; text-align: right; white-space: nowrap; }
.nvw-bar {
	display: block;
	width: var(--w);
	min-width: 2px;
	height: 8px;
	border-radius: 8px;
	background: linear-gradient(90deg, var(--attack), #B04BFF);
	box-shadow: 0 0 12px rgba(255, 46, 136, .25);
}
.nvw-unused { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--border); color: var(--text-dim); font-size: 13px; }
.nvw-unused span { color: var(--text-secondary); font-weight: 600; }
table.nvw-bars--body td:first-child { width: 90px; }
table.nvw-bars--body .nvw-bar { background: linear-gradient(90deg, var(--defense-2), var(--defense)); box-shadow: 0 0 12px rgba(34, 211, 238, .2); }
table.nvw-bars--body tr.is-head td { color: #FFE2A6; }
table.nvw-bars--body tr.is-head .nvw-bar { background: linear-gradient(90deg, #F0A72E, #FFE08A); }

.nvw-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.nvw-streaks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.nvw-streak { display: flex; flex-direction: column; gap: 4px; padding: 12px; border: 1px solid var(--border); border-radius: 12px; background: rgba(255, 255, 255, .02); }
.nvw-streak strong { color: #fff; font: 700 24px/1 var(--font-head); }
.nvw-streak span { color: var(--text-secondary); font-size: 12px; }
.nvw-streak.is-zero strong { color: var(--text-dim); }

/* ---------- Rounds ---------- */
.nvw-winsplit { padding: 18px 20px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; }
.nvw-winsplit__labels { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; font-size: 14px; }
.nvw-winsplit__labels strong { font: 700 22px/1 var(--font-head); color: inherit; }
.nvw-winsplit__bar { position: relative; height: 10px; margin: 12px 0 10px; overflow: hidden; border-radius: 10px; background: linear-gradient(90deg, var(--defense-2), var(--defense)); }
.nvw-winsplit__bar i { position: absolute; top: 0; bottom: 0; left: 0; width: var(--red); background: linear-gradient(90deg, var(--attack-2), var(--attack)); box-shadow: 4px 0 12px rgba(0, 0, 0, .4); }
.nvw-winsplit__note { margin: 0; color: var(--text-dim); font-size: 12.5px; }

table.nvw-rounds td { padding: 12px 14px; }
table.nvw-rounds tbody tr { box-shadow: inset 3px 0 0 transparent; }
table.nvw-rounds tbody tr.is-red { box-shadow: inset 3px 0 0 var(--attack); }
table.nvw-rounds tbody tr.is-blue { box-shadow: inset 3px 0 0 var(--defense); }
table.nvw-rounds tbody tr.is-admin { box-shadow: inset 3px 0 0 var(--accent-gold); }
.nvw-id, .nvw-id:visited { color: #fff; font: 700 16px/1 var(--font-head); letter-spacing: .03em; text-decoration: none; }
.nvw-id:hover { color: #ff6fae; }
.nvw-when { display: block; color: var(--text-soft); white-space: nowrap; }
table.nvw-table small { display: block; margin-top: 2px; color: var(--text-dim); font-size: 12px; white-space: nowrap; }
table.nvw-table td .nvw-name + small { display: inline; margin: 0 0 0 4px; }
.nvw-rounds__base a, .nvw-rounds__base a:visited { color: #fff; font-weight: 600; text-decoration: none; }
.nvw-rounds__base a:hover { color: #ff6fae; }
.nvw-vs { color: var(--text-dim); white-space: nowrap; }
.nvw-vs span { font: 700 17px/1 var(--font-head); }
.nvw-rounds__go { text-align: right !important; }
.nvw-rounds__go .nvw-pill { padding: 7px 12px; font-size: 12px; }

.nvw-pages { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 22px 0 0; }
.nvw-pages a, .nvw-pages a:visited, .nvw-pages span {
	min-width: 40px;
	box-sizing: border-box;
	padding: 9px 12px;
	border: 1px solid var(--border);
	border-radius: 10px;
	background: var(--bg-card-solid);
	color: var(--text-soft);
	font-size: 14px;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
}
.nvw-pages a:hover { border-color: rgba(255, 46, 136, .5); color: #fff; }
.nvw-pages .is-current { border-color: transparent; background: linear-gradient(135deg, var(--accent-pink), #c21a6e); box-shadow: 0 0 16px rgba(255, 46, 136, .35); color: #fff; }
.nvw-pages .is-off { opacity: .4; }
.nvw-pages .is-gap { border-color: transparent; background: none; }
.nvw-pages--split { justify-content: space-between; margin-top: 30px; }

/* ---------- Round details ---------- */
.nvw-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.nvw-facts > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 14px 16px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; }
.nvw-facts span { color: var(--text-dim); font: 700 11.5px/1.2 var(--font-head); letter-spacing: .14em; text-transform: uppercase; }
.nvw-facts strong { overflow: hidden; color: #fff; font: 700 20px/1.2 var(--font-head); text-overflow: ellipsis; white-space: nowrap; }
.nvw-facts strong a, .nvw-facts strong a:visited { color: #fff; text-decoration: none; }
.nvw-facts strong a:hover { color: #ff6fae; }
.nvw-facts em { font-style: normal; }
.nvw-facts em.is-red { color: #FF6B96; }
.nvw-facts em.is-blue { color: #5CE4F6; }
.nvw-facts small { color: var(--text-dim); font-size: 13px; }
.nvw-facts .nvw-name { font-size: 16px; }

.nvw-teams { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; }
.nvw-team__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 15px 18px; }
.nvw-team__head h2, html body .nvw-team__head h2 { margin: 0; font: 700 22px/1.1 var(--font-head); letter-spacing: .05em; text-transform: uppercase; }
.nvw-team--red { border-color: rgba(255, 46, 110, .3); }
.nvw-team--red .nvw-team__head { background: linear-gradient(135deg, rgba(255, 46, 110, .26), rgba(255, 90, 78, .08)); }
.nvw-team--red .nvw-team__head h2 { color: #FFC2D3; }
.nvw-team--blue { border-color: rgba(34, 211, 238, .3); }
.nvw-team--blue .nvw-team__head { background: linear-gradient(135deg, rgba(34, 211, 238, .22), rgba(59, 130, 246, .08)); }
.nvw-team--blue .nvw-team__head h2 { color: #BDF4FF; }
.nvw-team--red.is-winner { box-shadow: 0 0 0 1px rgba(255, 46, 110, .35), 0 18px 50px rgba(255, 46, 110, .16); }
.nvw-team--blue.is-winner { box-shadow: 0 0 0 1px rgba(34, 211, 238, .35), 0 18px 50px rgba(34, 211, 238, .14); }
.nvw-team table.nvw-table td:first-child { max-width: 0; width: 100%; }
.nvw-survived { color: var(--success); font-weight: 700; }

.nvw-feed { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.nvw-feed li {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 12px;
	padding: 9px 14px;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-left: 3px solid var(--border-strong);
	border-radius: 10px;
	font-size: 14px;
}
.nvw-feed--red { border-left-color: var(--attack) !important; }
.nvw-feed--blue { border-left-color: var(--defense) !important; }
.nvw-feed time { min-width: 38px; color: var(--text-dim); font: 600 13px/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.nvw-feed__wep {
	padding: 2px 9px;
	border-radius: 6px;
	background: rgba(255, 255, 255, .06);
	color: var(--text-secondary);
	font-size: 12.5px;
	white-space: nowrap;
}
.nvw-feed__wep::after { content: " \2192"; color: var(--text-dim); }
.nvw-feed__meta { margin-left: auto; color: var(--text-dim); font-size: 12.5px; white-space: nowrap; }
.nvw-feed__meta.is-head { color: #FFE2A6; }
.nvw-feed__event { opacity: .75; }
.nvw-feed__event span:last-child { color: var(--text-secondary); font-style: italic; }

/* ---------- Footer ---------- */
.nvw-footer { margin-top: 40px; padding: 26px 0 34px; border-top: 1px solid var(--border); color: var(--text-dim); font-size: 13px; }
.nvw-footer__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; }
.nvw-footer p { margin: 0; }
.nvw-heart { color: var(--accent-pink); }
.nvw-footer__links { display: flex; gap: 16px; }
.nvw-footer__links a, .nvw-footer__links a:visited { color: var(--text-secondary); text-decoration: none; }
.nvw-footer__links a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.nvw-round-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nvw-profile { grid-template-columns: 300px minmax(0, 1fr); }
	.nvw-split { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 980px) {
	.nvw-burger { display: block; }
	.nvw-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 14px;
		max-height: calc(100vh - var(--nav-h));
		padding: 12px 16px 18px;
		overflow-y: auto;
		background: rgba(11, 10, 26, .97);
		border-bottom: 1px solid var(--border-strong);
		box-shadow: 0 20px 40px rgba(0, 0, 0, .5);
	}
	.nvw-menu-toggle:checked ~ .nvw-nav { display: flex; }
	.nvw-nav__main { flex-direction: column; align-items: stretch; gap: 2px; }
	.nvw-nav__main a, .nvw-nav__main a:visited { padding: 13px 12px; border-radius: 10px; font-size: 16px; }
	.nvw-nav__main a::after { display: none; }
	.nvw-nav__main a.is-active { background: rgba(255, 46, 136, .12); box-shadow: inset 3px 0 0 var(--accent-pink); }
	.nvw-nav__side { flex-wrap: wrap; }
	.nvw-nav__side > * { flex: 1 1 auto; justify-content: center; min-height: 42px; }

	.nvw-profile { grid-template-columns: minmax(0, 1fr); }
	.nvw-profile__side { position: static; }
}

@media (max-width: 720px) {
	.nvw-wrap { padding: 0 16px; }
	.nvw-main { padding: 4px 16px 56px; }
	.nvw-top__in { padding: 0 12px 0 16px; }
	.nvw-hero { padding: 34px 0 20px; }
	.nvw-lead { font-size: 15px; }
	.nvw-section { margin-top: 30px; }
	.nvw-section__head h2 { font-size: 22px; }
	table.nvw-totals tbody { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	table.nvw-totals tr { padding: 13px 14px; }
	table.nvw-totals td:last-child { font-size: 22px; }
	.nvw-round-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.nvw-round-card { padding: 12px 13px; }
	.nvw-round-card strong { font-size: 16px; }
	.nvw-boards { grid-template-columns: minmax(0, 1fr); }
	.nvw-jump { top: var(--nav-h); margin: 0 -16px 14px; padding: 10px 16px; }
	.nvw-search { flex-direction: column; }
	.nvw-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nvw-tile strong { font-size: 26px; }
	.nvw-streaks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	table.nvw-bars td:first-child { width: 104px; }
	.nvw-filters .nvw-input { flex: 1 1 100%; max-width: none; }
	.nvw-filters .nvw-input[type="search"] { max-width: none; }
	.nvw-teams { grid-template-columns: minmax(0, 1fr); }
	.nvw-feed li { font-size: 13px; }
	.nvw-feed__meta { margin-left: 50px; }
	.nvw-pages--split { justify-content: center; }
	.nvw-footer__in { flex-direction: column; text-align: center; }

	/* Rounds table becomes stacked cards */
	table.nvw-rounds, table.nvw-rounds tbody { display: block; }
	table.nvw-rounds thead { display: none; }
	table.nvw-rounds tr {
		display: grid;
		grid-template-columns: auto 1fr auto;
		gap: 4px 12px;
		align-items: center;
		padding: 13px 16px;
		border-bottom: 1px solid var(--border);
	}
	table.nvw-rounds tbody tr:last-child { border-bottom: 0; }
	table.nvw-rounds td { display: block; padding: 0 !important; border: 0 !important; text-align: left !important; }
	table.nvw-rounds td:nth-child(1) { grid-column: 1; grid-row: 1; }
	table.nvw-rounds td:nth-child(3) { grid-column: 2; grid-row: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	table.nvw-rounds td:nth-child(6) { grid-column: 3; grid-row: 1; }
	table.nvw-rounds td:nth-child(2) { grid-column: 1 / 3; grid-row: 2; }
	table.nvw-rounds td:nth-child(2) .nvw-when { display: inline; }
	table.nvw-rounds td:nth-child(2) small { display: inline; margin-left: 6px; }
	table.nvw-rounds td:nth-child(4) { grid-column: 3; grid-row: 2; text-align: right !important; }
	table.nvw-rounds td:nth-child(5) { grid-column: 1 / 4; grid-row: 3; font-size: 13px; }
	table.nvw-rounds td:nth-child(5):has(.nvw-dim) { display: none; }
	table.nvw-rounds td:nth-child(7) { display: none; }
	.nvw-scroll { overflow: visible; }
}

@media (max-width: 420px) {
	.nvw-brand__text small { display: none; }
	.nvw-tiles { gap: 8px; }
	.nvw-tile { padding: 13px 14px; }
}

@media (prefers-reduced-motion: reduce) {
	.nvw-live i { animation: none; }
	.nvw-round-card, .nvw-brand img { transition: none; }
}

/* ---------- Admin and user panels ---------- */
.nvw-dash { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.nvw-dash__tile, .nvw-dash__tile:visited {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 18px;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 16px;
	color: var(--text-soft);
	text-decoration: none;
	transition: transform .2s var(--ease), border-color .2s;
}
.nvw-dash__tile:hover { transform: translateY(-2px); border-color: rgba(255, 46, 136, .45); color: var(--text-soft); text-decoration: none; }
.nvw-dash__tile span { color: var(--text-dim); font: 700 12px/1.2 var(--font-head); letter-spacing: .14em; text-transform: uppercase; }
.nvw-dash__tile strong { color: #fff; font: 700 36px/1 var(--font-head); }
.nvw-dash__tile small { color: var(--text-secondary); font-size: 13px; }
.nvw-dash__tile.nvw-tile--pink strong { color: #FF9CB8; }
.nvw-dash__tile.nvw-tile--cyan strong { color: #8EEBFA; }
.nvw-dash__tile.nvw-tile--gold strong { color: #FFE2A6; }

.nvw-tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.nvw-tool, .nvw-tool:visited { display: flex; flex-direction: column; gap: 6px; color: var(--text-secondary); text-decoration: none; transition: border-color .2s, background-color .2s; }
.nvw-tool:hover { border-color: rgba(34, 211, 238, .45); background: var(--bg-elevated); color: var(--text-secondary); text-decoration: none; }
.nvw-tool strong { color: #fff; font: 700 18px/1.2 var(--font-head); letter-spacing: .03em; }
.nvw-tool strong::after { content: " \2192"; color: var(--accent-cyan); }
.nvw-tool span { font-size: 14px; }
.nvw-tool.is-locked { opacity: .6; }
.nvw-tool.is-locked strong::after { content: " \1F512"; font-size: 13px; }
.nvw-note { margin: 18px 0 0; color: var(--text-dim); font-size: 13px; }
.nvw-tiles--wide { grid-template-columns: repeat(6, minmax(0, 1fr)); }

/* Older panel pages: tidy their legacy markup */
.nvw-top ~ center h3 { max-width: 760px; margin-left: auto; margin-right: auto; line-height: 1.5; }
.nvw-top ~ center h3 a, .nvw-top ~ center h3 a:visited { font-size: 14px; letter-spacing: .1em; }
.nvw-top ~ center .padd { padding-right: 6px; }
.nvw-top ~ center button.accept a, .nvw-top ~ center button.deny a { display: block; }
.nvw-top ~ center textarea { width: min(46%, 520px) !important; max-height: none !important; min-height: 90px; margin: 4px; font: 13px/1.4 ui-monospace, "SF Mono", Menlo, Consolas, monospace; }

@media (max-width: 1100px) {
	.nvw-tiles--wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
	.nvw-tiles--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nvw-dash { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nvw-dash__tile strong { font-size: 28px; }
	.nvw-top ~ center textarea { width: 100% !important; }
}

/* ---------- Player search: suggestions and results ---------- */
.nvw-suggest { position: relative; flex: 1 1 auto; min-width: 0; }
.nvw-suggest .nvw-input { width: 100%; }
.nvw-suggest__list {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	z-index: 50;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: var(--bg-card-solid);
	border: 1px solid var(--border-strong);
	border-radius: 14px;
	box-shadow: var(--shadow);
}
.nvw-suggest__list[hidden] { display: none; }
.nvw-suggest__list a, .nvw-suggest__list a:visited {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding: 9px 12px;
	border-radius: 9px;
	color: #fff;
	text-decoration: none;
}
.nvw-suggest__list a:hover, .nvw-suggest__list a.is-active { background: rgba(255, 46, 136, .14); color: #fff; }
.nvw-suggest__list strong { overflow: hidden; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.nvw-suggest__list small { flex-shrink: 0; color: var(--text-dim); font-size: 12px; }
.nvw-section--first { margin-top: 12px; }
/* The search header must not clip the suggestion list */
.nvw-hero--compact { position: relative; z-index: 5; overflow: visible; }
table.nvw-results td:first-child { max-width: 0; width: 60%; }
table.nvw-results td { padding: 11px 14px; }
@media (max-width: 720px) {
	.nvw-search .nvw-suggest { width: 100%; }
	table.nvw-results th:last-child, table.nvw-results td:last-child { display: none; }
}

/* ---------- Events (tournament stats from the forum match logs) ---------- */
.nvw-evtabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 22px; padding: 5px; width: fit-content; max-width: 100%; box-sizing: border-box; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; }
.nvw-evtabs a, .nvw-evtabs a:visited { padding: 8px 14px; border-radius: 8px; color: var(--text-secondary); font-size: 14px; font-weight: 600; text-decoration: none; }
.nvw-evtabs a:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.nvw-evtabs a.is-active { color: #fff; background: linear-gradient(135deg, rgba(255, 46, 136, .32), rgba(176, 75, 255, .22)); }

.nvw-evlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.nvw-evcard, .nvw-evcard:visited { display: flex; flex-direction: column; gap: 10px; color: inherit; text-decoration: none; transition: border-color .15s, transform .15s; }
.nvw-evcard:hover { border-color: rgba(255, 46, 136, .45); transform: translateY(-2px); }
.nvw-evcard h2 { margin: 0; color: #fff; font: 700 26px/1.1 var(--font-head); }
.nvw-evcard .nvw-kicker { margin: 0; }
.nvw-evcard.is-cancelled { opacity: .78; }
.nvw-evcard__champ { margin: 0; color: #fff; font-weight: 600; }
.nvw-evcard__nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 4px 0 0; }
.nvw-evcard__nums div { padding: 10px; border: 1px solid var(--border); border-radius: 10px; background: rgba(255, 255, 255, .02); min-width: 0; }
.nvw-evcard__nums dt { color: var(--text-dim); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.nvw-evcard__nums dd { margin: 4px 0 0; color: #fff; font: 700 18px/1.15 var(--font-head); overflow-wrap: anywhere; }
.nvw-evcard__nums dd small { color: var(--text-dim); font-size: 13px; }
.nvw-evcard .nvw-more { margin-top: auto; }
.nvw-evcard__nums { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nvw-evcard__top { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.nvw-evcard__top dd { margin: 0; font-size: 16px; }

.nvw-evmatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.nvw-evmatch, .nvw-evmatch:visited { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; color: inherit; text-decoration: none; transition: border-color .15s; }
.nvw-evmatch:hover { border-color: rgba(34, 211, 238, .45); }
.nvw-evmatch__stage { color: var(--text-dim); font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.nvw-evmatch__teams { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; color: var(--text-secondary); font: 600 17px/1.25 var(--font-head); }
.nvw-evmatch__teams strong { font-weight: 600; }
.nvw-evmatch__teams strong.is-winner { color: #fff; }
.nvw-evmatch__teams strong.is-winner::after { content: " \2605"; color: #FFC857; font-size: .8em; }
.nvw-evmatch__score { padding: 2px 8px; border-radius: 6px; background: rgba(255, 255, 255, .06); color: #fff; font-style: normal; font-weight: 700; white-space: nowrap; }
.nvw-evmatch__meta { color: var(--text-dim); font-size: 13px; }

.nvw-split--wide { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); margin: 26px 0 18px; }
.nvw-split--wide .nvw-team__head { border-bottom: 1px solid var(--border); }
.nvw-split--wide .nvw-team__head h2 { margin: 0; color: #fff; font: 700 20px/1.2 var(--font-head); }
.nvw-card__title--gap { margin-top: 22px !important; }
table.nvw-evtable td, table.nvw-evtable th, html body table.nvw-evtable td, html body table.nvw-evtable th { white-space: nowrap; text-align: center; }
html body table.nvw-evtable .nvw-l { text-align: left; }
table.nvw-evtable td.nvw-l { white-space: nowrap; }
table.nvw-evtable .nvw-dim { font-size: .9em; }
.nvw-evmore { display: none; }
.nvw-evmore:target { display: table-row-group; }
.nvw-evtoggle { margin: 12px 0 0; text-align: center; }
html body .nvw-scroll--keep { overflow-x: auto; }
html body table.nvw-table th.nvw-l, html body table.nvw-table td.nvw-l { text-align: left; }
.nvw-search--inline { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; }
.nvw-search--inline .nvw-input { flex: 1 1 260px; }
.nvw-team table.nvw-evtable td.nvw-l, .nvw-team table.nvw-evtable th.nvw-l { max-width: none; width: auto; }
html body .nvw-title { overflow-wrap: anywhere; }
.nvw-facts { overflow-wrap: anywhere; }
.nvw-evscore { padding: 2px 10px; border-radius: 8px; background: rgba(255, 255, 255, .08); color: #fff; font-weight: 700; }
.nvw-section:has(.nvw-evmore:target) .nvw-evtoggle { display: none; }
.nvw-evmore:target ~ tbody, tbody.nvw-evmore:target { display: table-row-group; }
.nvw-evteam, .nvw-evteam:visited { color: #fff; font-weight: 600; text-decoration: none; }
.nvw-evteam:hover { color: #8EEBFA; }
.nvw-team__head .nvw-evteam { font: inherit; }

.nvw-evlong { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 13.5px; }
.nvw-evlong li { color: var(--text-soft); }
.nvw-evlong a, .nvw-evlong a:visited { display: inline-block; min-width: 64px; color: #8EEBFA; text-decoration: none; }

.nvw-evrounds { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 16px; }
.nvw-evround { scroll-margin-top: 90px; }
.nvw-evround:target { border-color: rgba(255, 200, 87, .55); }
.nvw-evround__head { margin-bottom: 12px; }
.nvw-evround__head h3 { margin: 6px 0 4px; color: #fff; font: 700 20px/1.2 var(--font-head); }
.nvw-evround__head p { margin: 0; color: var(--text-secondary); font-size: 13.5px; }
.nvw-evround__head strong { color: #fff; }
.nvw-evside--red { color: #FF6B96; font-weight: 600; }
.nvw-evside--blue { color: #5CE4F6; font-weight: 600; }
.nvw-evround .nvw-feed li { padding: 7px 12px; font-size: 13.5px; }

@media (max-width: 900px) {
	.nvw-split--wide { grid-template-columns: minmax(0, 1fr); }
	.nvw-evrounds { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
	.nvw-evlist, .nvw-evmatches { grid-template-columns: minmax(0, 1fr); }
	.nvw-evtabs { width: 100%; }
	.nvw-evtabs a { flex: 1 1 auto; text-align: center; padding: 8px 10px; }
}
