/* BN HLL RCON – fælles mørkt design (roster, header, serverliste) */
.bnhr-v {
	--bg: #17130f; --panel: #1f1a15; --panel2: #262019; --line: #3a3128; --line2: #2d261f;
	--txt: #ece3cf; --muted: #9c8f78; --gold: #d6b46a; --al: #5d8fd6; --ax: #d65d5d;
	background: var(--bg); color: var(--txt); border-radius: 10px; padding: 16px;
	font-family: inherit; line-height: 1.35; box-sizing: border-box;
}
.bnhr-v *, .bnhr-v *::before, .bnhr-v *::after { box-sizing: border-box; }
.bnhr-v h2, .bnhr-v h3 { color: var(--txt); margin: 0; }

/* AAR header */
.bnhr-aar { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px; margin-bottom: 14px; }
.bnhr-aar-top { display: flex; gap: 18px; align-items: center; }
.bnhr-aar-img { flex: 0 0 150px; height: 86px; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); }
.bnhr-aar-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bnhr-mapph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
	background: radial-gradient(circle at 30% 30%, #5a6a3a, #2a3020 70%), #2a3020; }
.bnhr-mapph span { font-size: 40px; font-weight: 800; color: rgba(255,255,255,.35); }
.bnhr-kicker { color: var(--gold); text-transform: uppercase; letter-spacing: .12em; font-size: 11px; font-weight: 700; }
.bnhr-aar-title { font-size: 24px !important; text-transform: uppercase; letter-spacing: .02em; font-weight: 800; margin: 2px 0 4px !important; line-height: 1.1; }
.bnhr-aar-sub { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.bnhr-srv { text-decoration: underline; text-underline-offset: 3px; color: var(--txt); }
.bnhr-aar-meta { color: var(--muted); font-size: 12px; margin-top: 4px; }
.bnhr-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 10px; background: var(--panel2); border: 1px solid var(--line); }
.bnhr-tag.live i { width: 7px; height: 7px; border-radius: 50%; background: #e04848; box-shadow: 0 0 0 3px rgba(224,72,72,.25); animation: bnhrpulse 1.6s infinite; }
.bnhr-tag.wait { color: #f0c36a; }
.bnhr-tag.wait i { width: 7px; height: 7px; border-radius: 50%; background: #f0c36a; }
.bnhr-tag.lock { color: #f0c36a; }
.bnhr-tag.open { color: #8fd18f; }
@keyframes bnhrpulse { 50% { box-shadow: 0 0 0 6px rgba(224,72,72,0); } }

.bnhr-aar-score { display: grid; grid-template-columns: 70px 1fr auto auto auto 1fr 70px; align-items: center; gap: 14px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line2); }
.bnhr-aar-emb { color: #f2ede0; display: flex; justify-content: center; }
.bnhr-aar-team { font-weight: 700; }
.bnhr-aar-team.r { text-align: right; }
.bnhr-aar-team span { display: block; }
.bnhr-aar-team em { font-style: normal; color: var(--gold); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.bnhr-aar-num { font-size: 40px; font-weight: 800; font-family: ui-monospace, Menlo, Consolas, monospace; }
.bnhr-aar-mid { text-align: center; min-width: 110px; }
.bnhr-aar-mid small { display: block; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: 10px; }
.bnhr-aar-mid b { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 17px; }
.bnhr-aar-mid.wait b { font-family: inherit; font-size: 14px; color: #f0c36a; }

/* teams */
.bnhr-teams-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bnhr-tm { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.bnhr-tm.none { margin-top: 14px; }
.bnhr-tm-h { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--panel2); }
.bnhr-tm.allies .bnhr-tm-h { box-shadow: inset 4px 0 0 var(--al); }
.bnhr-tm.axis .bnhr-tm-h { box-shadow: inset 4px 0 0 var(--ax); }
.bnhr-tm-emb { color: #f2ede0; display: flex; }
.bnhr-tm-name { flex: 1; min-width: 0; }
.bnhr-tm-name small { display: block; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.bnhr-tm.allies .bnhr-tm-name small { color: var(--al); } .bnhr-tm.axis .bnhr-tm-name small { color: var(--ax); }
.bnhr-tm-name b { font-size: 16px; text-transform: uppercase; }
.bnhr-tm-stats { display: flex; gap: 12px; }
.bnhr-tm-stats span { text-align: center; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.bnhr-tm-stats b { display: block; font-size: 14px; color: var(--txt); font-family: ui-monospace, Menlo, Consolas, monospace; }
.bnhr-tm-score { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--line); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 17px; font-family: ui-monospace, Menlo, Consolas, monospace; }

.bnhr-sec { padding: 10px 10px 4px; }
.bnhr-sec-h { color: #8fb0d8; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin: 0 2px 8px; }
.bnhr-tm.axis .bnhr-sec-h { color: #d89a8f; }
.bnhr-sq { border: 1px solid var(--line2); border-radius: 6px; margin-bottom: 8px; overflow: hidden; background: #1a1612; }
.bnhr-sq-h { display: flex; align-items: center; gap: 7px; padding: 7px 10px; font-weight: 800; text-transform: uppercase; font-size: 12px; letter-spacing: .05em; background: var(--panel2); border-bottom: 1px solid var(--line2); }
.bnhr-sq-star { color: var(--muted); }
.bnhr-sq-n { margin-left: auto; color: var(--muted); font-weight: 600; }
.bnhr-pl { display: flex; align-items: center; gap: 9px; padding: 6px 10px; border-top: 1px solid var(--line2); border-left: 3px solid #6aa35a; font-size: 13px; }
.bnhr-sq-h + .bnhr-pl { border-top: 0; }
.bnhr-pl.c-lead { border-left-color: var(--gold); }
.bnhr-pl.c-med { border-left-color: #3fb5a3; }
.bnhr-pl.c-red { border-left-color: #c9504a; }
.bnhr-pl.c-sup { border-left-color: #c98f3a; }
.bnhr-pl.c-blue { border-left-color: #5d8fd6; }
.bnhr-pl.click { cursor: pointer; }
.bnhr-pl.click:hover { background: #2a231b; }
.bnhr-pl-ic { width: 20px; height: 20px; flex: 0 0 20px; border: 1px solid var(--line); border-radius: 3px; display: flex; align-items: center; justify-content: center; color: #d8cfb9; }
.bnhr-pl.c-lead .bnhr-pl-ic { color: var(--gold); }
.bnhr-pl-nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.bnhr-pl-nm b { color: var(--gold); }
.bnhr-pl-tk { font-size: 10px; background: #4a1f1c; color: #f0a49d; padding: 1px 5px; border-radius: 3px; }
.bnhr-pl-lv { font-size: 11px; color: var(--muted); min-width: 26px; text-align: right; }
.bnhr-pl-kd { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11px; color: var(--muted); white-space: nowrap; }
.bnhr-empty { color: var(--muted); padding: 14px; margin: 0; }
.bnhr-empty.big { text-align: center; padding: 30px; grid-column: 1 / -1; }

/* serverliste */
.bnhr-sl { width: 100%; border-collapse: collapse; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.bnhr-sl th { text-align: left; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); padding: 10px 12px; background: var(--panel2); border-bottom: 1px solid var(--line); }
.bnhr-sl td { padding: 11px 12px; border-bottom: 1px solid var(--line2); vertical-align: middle; }
.bnhr-sl tr:last-child td { border-bottom: 0; }
.bnhr-sl > tbody > tr.click { cursor: pointer; }
.bnhr-sl tr.click:hover td { background: #2a231b; }
.bnhr-sl tr.open td { background: #241e17; }
.bnhr-sl td > b, .bnhr-sl-name b { display: block; }
.bnhr-sl td > small, .bnhr-sl-name small { color: var(--muted); font-size: 11px; display: block; }
.bnhr-sl-name { display: flex; align-items: center; gap: 10px; }
.bnhr-dot { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 10px; background: #666; }
.bnhr-dot.on { background: #3ccf5a; box-shadow: 0 0 0 3px rgba(60,207,90,.2); }
.bnhr-dot.off { background: #d65d5d; }
.bnhr-sl-bar { height: 5px; background: #3a3128; border-radius: 3px; overflow: hidden; margin: 4px 0 2px; width: 110px; }
.bnhr-sl-bar span { display: block; height: 100%; background: var(--gold); }
.bnhr-sl-sc { white-space: nowrap; }
.bnhr-sl-sc b { display: inline-block; margin: 0 6px; font-family: ui-monospace, Menlo, Consolas, monospace; vertical-align: middle; }
.bnhr-sl-sc .emb { display: inline-flex; vertical-align: middle; color: #f2ede0; }
.bnhr-sl-time b { font-family: ui-monospace, Menlo, Consolas, monospace; }
.bnhr-sl-time.wait b { font-family: inherit; color: #f0c36a; }
.bnhr-sl-off { color: var(--muted); }
.bnhr-sl-detail td { padding: 0; background: var(--bg) !important; cursor: default; }
.bnhr-sl-detail .bnhr-v { border-radius: 0; }

@media (max-width: 900px) {
	.bnhr-teams-wrap { grid-template-columns: 1fr; }
	.bnhr-aar-score { grid-template-columns: 44px 1fr auto auto auto 1fr 44px; gap: 8px; }
	.bnhr-aar-emb svg { width: 40px; height: 40px; }
	.bnhr-aar-num { font-size: 28px; }
	.bnhr-sl-time, .bnhr-sl th.t-time { display: none; }
}
@media (max-width: 560px) {
	.bnhr-v { padding: 10px; }
	.bnhr-aar { padding: 12px; }
	.bnhr-aar-score { grid-template-columns: 1fr auto auto 1fr; gap: 8px 10px; }
	.bnhr-aar-emb { display: none; }
	.bnhr-aar-mid { grid-column: 1 / -1; order: -1; }
	.bnhr-aar-title { font-size: 19px !important; }
	.bnhr-tm-h { gap: 8px; }
	.bnhr-sl-detail .bnhr-v { padding: 8px; }
	.bnhr-aar-top { flex-direction: column; align-items: flex-start; }
	.bnhr-aar-img { width: 100%; flex-basis: auto; height: 110px; }
	.bnhr-aar-team span { font-size: 12px; }
	.bnhr-aar-mid { min-width: 0; }
	.bnhr-tm-stats { display: none; }
	.bnhr-sl-map, .bnhr-sl th.t-map, .bnhr-sl-sc, .bnhr-sl th.t-sc { display: none; }
}
.bnhr-pub-note { color: var(--muted); font-size: 12px; margin: 10px 0 0; }
.bnhr-v .bnhr-vtitle { font-size: 20px; text-transform: uppercase; font-weight: 800; }
.bnhr-pub-list, .bnhr-pub-one { margin: 20px 0; }
.bnhr-sl td.bnhr-sl-sc > b { display: inline-block; }

.bnhr-admin-note { background: #3a2f17; border: 1px dashed #d6b46a; color: #f1e2b8; padding: 10px 14px; border-radius: 6px; margin: 0; font-size: 13px; }
.bnhr-admin-note a { color: #d6b46a; }
