/* Skulltag chrome — util bar, header, mega-menu, breadcrumb, footer.
 *
 * Differences from the mockup (Rules v7 fixes baked in):
 *   - Util bar live-dot pulse removed (no fabricated counters; "coming soon" static).
 *   - lang locked to en (handled in PHP).
 *   - Discord link kept but marked "coming soon" until confirmed.
 */

/* ----- UTIL BAR ----- */
.util {
	background: var(--bg-2);
	border-bottom: 1px solid var(--line-soft);
	font-family: var(--font-m);
	font-size: 11.5px;
	letter-spacing: .05em;
	color: var(--ink-3);
}
.util .wrap { display: flex; align-items: center; justify-content: space-between; height: 32px; gap: 16px; }
.util .tag { color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.util .right { display: flex; gap: 18px; }
.util .right a:hover { color: var(--rust); }
.util .coming { color: var(--warn); }

/* ----- HEADER ----- */
header.site {
	position: sticky;
	top: 0;
	z-index: 50;
	background: oklch(0.165 0.013 54 / .9);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--line-soft);
}
header.site .wrap { display: flex; align-items: center; gap: 16px; height: var(--hdr); }

.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand .emblem {
	width: 34px; height: 34px;
	display: grid; place-items: center;
	flex-shrink: 0;
	background: linear-gradient(145deg, var(--rust), var(--rust-deep));
	clip-path: polygon(50% 0, 100% 27%, 100% 73%, 50% 100%, 0 73%, 0 27%);
	box-shadow: inset 0 0 0 1px oklch(0.8 0.12 55 / .35), 0 2px 8px rgba(0,0,0,.5);
}
.brand .emblem span { font-family: var(--font-d); font-weight: 700; font-size: 17px; color: #1a1411; }
.brand .wm { font-family: var(--font-d); font-weight: 700; font-size: 21px; letter-spacing: .02em; line-height: 1; }
.brand .wm b { color: var(--ink); }
.brand .wm i { font-style: normal; color: var(--rust); }
.brand .wm small {
	display: block;
	font-family: var(--font-m);
	font-size: 8.5px;
	letter-spacing: .28em;
	color: var(--ink-3);
	margin-top: 2px;
	font-weight: 400;
}

nav.main { display: flex; gap: 0; margin-left: 2px; }
nav.main > a {
	font-family: var(--font-d);
	font-weight: 500;
	font-size: 14px;
	padding: 9px 10px;
	color: var(--ink-2);
	border-radius: var(--r);
	white-space: nowrap;
	transition: color .15s, background .15s;
}
nav.main > a:hover,
nav.main > a.cur { color: var(--ink); background: var(--panel); }
nav.main > a.cur { color: var(--rust-hi); }

.hdr-tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.searchbtn {
	display: flex; align-items: center; gap: 9px;
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--r);
	padding: 8px 14px 8px 12px;
	color: var(--ink-3);
	font-family: var(--font-m);
	font-size: 12px;
	cursor: pointer;
	transition: border-color .15s, color .15s;
	min-width: 150px;
}
.searchbtn:hover { border-color: var(--rust); color: var(--ink-2); }
.searchbtn .ico {
	width: 14px; height: 14px;
	border: 1.6px solid currentColor;
	border-radius: 50%;
	position: relative;
	flex-shrink: 0;
}
.searchbtn .ico::after {
	content: "";
	position: absolute;
	width: 6px; height: 1.6px;
	background: currentColor;
	bottom: -2px; right: -3px;
	transform: rotate(45deg);
}
.searchbtn kbd {
	margin-left: auto;
	font-family: var(--font-m);
	font-size: 10px;
	border: 1px solid var(--line);
	border-radius: 3px;
	padding: 1px 5px;
}
.menu-toggle { display: none; }

/* ----- BREADCRUMB ----- */
.crumbs {
	border-bottom: 1px solid var(--line-soft);
	background: oklch(0.17 0.012 54 / .5);
}
.crumbs .wrap {
	display: flex;
	align-items: center;
	gap: 9px;
	height: 46px;
	font-family: var(--font-m);
	font-size: 12px;
	color: var(--ink-3);
	overflow-x: auto;
	white-space: nowrap;
}
.crumbs a { color: var(--ink-2); }
.crumbs a:hover { color: var(--rust-hi); }
.crumbs .sep { color: var(--ink-3); opacity: .5; }
.crumbs .here { color: var(--rust-hi); }

/* ----- FOOTER ----- */
footer.site {
	background: var(--bg-2);
	border-top: 1px solid var(--line);
	padding: 48px 0 30px;
	margin-top: 80px;
}
.fbottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-family: var(--font-m);
	font-size: 11.5px;
	color: var(--ink-3);
	flex-wrap: wrap;
	gap: 14px;
}
.fbottom .fl { display: flex; gap: 18px; }
.fbottom a:hover { color: var(--ink-2); }
.fbottom .brand .wm { font-size: 17px; }
.fdisclaimer {
	max-width: 760px;
	margin: 0 auto 18px;
	font-family: var(--font-m);
	font-size: 11px;
	line-height: 1.6;
	color: var(--ink-3);
	text-align: center;
	border-top: 1px solid var(--line-soft);
	padding-top: 22px;
}

/* ----- BREAKPOINTS ----- */
@media (max-width: 1040px) {
	nav.main, .searchbtn kbd { display: none; }
	.menu-toggle {
		display: grid;
		place-items: center;
		width: 40px; height: 40px;
		border: 1px solid var(--line);
		border-radius: var(--r);
		background: var(--panel);
		cursor: pointer;
		gap: 4px;
	}
	.menu-toggle i { width: 18px; height: 2px; background: var(--ink); display: block; }
}
@media (max-width: 680px) {
	.wrap { padding: 0 18px; }
	.util .right a:nth-child(n+2) { display: none; }
	.searchbtn { min-width: 0; width: 40px; justify-content: center; padding: 9px; }
	.searchbtn .lbl { display: none; }
}
