/* ==========================================================================
   COPPER LINUX — custom stylesheet
   One theme, black & yellow:
     - near-black surfaces (#0a0a0a), one loud accent (#ffd400)
     - big type: 17px base, oversized display headings
     - quiet scroll-reveal motion (progressive, reduced-motion aware)
     - no custom cursors, no gimmicks
   Space Grotesk for display/body, IBM Plex Mono for labels & code,
   JetBrains Mono for the wordmark.
   ========================================================================== */

:root {
	--yl:        #ffd400;   /* primary yellow */
	--yl-bright: #ffe666;   /* yellow, hover */
	--yl-deep:   #c9a400;   /* yellow, borders/pressed */
	--yl-glow:   rgba(255, 212, 0, 0.16);
	--bg:        #0a0a0a;   /* page background */
	--bg-soft:   #111111;   /* cards / panels */
	--bg-sink:   #0d0d0d;   /* headings, wells */
	--line:      #262626;   /* borders */
	--line-hi:   #3d3d3d;   /* borders on hover */
	--dim:       #9b9b9b;   /* muted text */
	--soft:      #cfcfcf;   /* secondary text */
	--txt:       #f4f4f4;   /* main text */
	--red:       #ff4d4d;   /* warnings only */
	--green:     #6ae400;   /* "works" status only */

	--font-body:  'Space Grotesk', system-ui, sans-serif;
	--font-mono:  'IBM Plex Mono', 'Courier New', monospace;
	--font-brand: 'JetBrains Mono', 'IBM Plex Mono', monospace;
	--font-display: 'Cinzel Decorative', 'Space Grotesk', Georgia, serif;

	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

html, body {
	height: 100%;
}

body {
	padding-top: 46px;
	background-color: var(--bg);
	color: var(--txt);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	scrollbar-color: #333 var(--bg);
	scrollbar-width: thin;
}

p { margin-bottom: 14px; }
.list-group-item p:last-child { margin-bottom: 0; }

::selection {
	background: var(--yl);
	color: #0a0a0a;
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2e2e2e; border-radius: 6px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #444; }

a {
	color: var(--yl);
	text-decoration: none;
	transition: color 0.2s var(--ease);
}

a:hover, a:focus {
	color: var(--yl-bright);
}

p a:not(.btn),
.list-group-item > a:not(.btn),
.section-sub a {
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-color: rgba(255, 212, 0, 0.5);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
.btn:focus-visible {
	outline: 2px solid var(--yl);
	outline-offset: 2px;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar-copper {
	background: #0d0d0d;
	border-bottom: 2px solid var(--yl);
	min-height: 46px;
	transition: transform 0.25s var(--ease);
	will-change: transform;
}

/* auto-hide: slides away on scroll down, back in on scroll up */
.navbar-copper.navbar-hidden {
	transform: translateY(-100%);
}

.navbar-copper .navbar-nav > li > a {
	color: var(--dim);
	font-family: var(--font-mono);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	line-height: 100%;
	white-space: nowrap;
	padding: 13px 11px;
	transition: color 0.2s var(--ease);
}

.navbar-copper .navbar-nav > li > a i {
	margin-right: 7px;
	color: var(--yl);
	opacity: 0.9;
	vertical-align: -1px;
}

.navbar-copper .navbar-nav > li > a:hover,
.navbar-copper .navbar-nav > li > a:focus {
	color: var(--yl);
	background: transparent;
}

.navbar-copper .navbar-nav > .active > a,
.navbar-copper .navbar-nav > .active > a:hover,
.navbar-copper .navbar-nav > .active > a:focus {
	color: var(--yl);
	background: transparent;
	box-shadow: inset 0 -3px 0 var(--yl);
}

.navbar-copper .navbar-toggle {
	border-color: var(--line-hi);
}

.navbar-copper .navbar-toggle .icon-bar {
	background: var(--yl);
}

.navbar-copper .navbar-collapse {
	border-color: var(--line);
}

/* Logo */
.cl-logo_link {
	margin-right: 12px;
	display: inline-block;
	padding-top: 4px;
}

.cl-logo_link:hover {
	text-decoration: none;
}

.cl-logo {
	display: inline-block;
	width: 34px;
	height: 34px;
	line-height: 34px;
	text-align: center;
	border-radius: 4px;
	background: var(--yl);
	color: #0a0a0a;
	font-family: var(--font-brand);
	font-weight: 700;
	font-size: 13px;
	vertical-align: middle;
	transition: background 0.2s var(--ease);
}

.cl-logo_link:hover .cl-logo {
	background: var(--yl-bright);
}

.cl-wordmark {
	display: inline-block;
	margin-left: 10px;
	color: #fff;
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 15px;
	letter-spacing: 3px;
	vertical-align: middle;
}

@media (max-width: 1200px) {
	.cl-wordmark { display: none; }
}

/* Both editions live in the same theme; this only adds a small cue
   on the security pages so the mode switch reads as "you are here". */
body.deadlight .page-header-title {
	border-bottom-color: var(--yl);
}

/* ==========================================================================
   HERO (homepage)
   ========================================================================== */
.hero {
	position: relative;
	overflow: hidden;
	padding: clamp(64px, 11vh, 130px) 0 clamp(48px, 8vh, 88px);
	background:
		radial-gradient(ellipse 55% 65% at 12% -5%, var(--yl-glow), transparent 65%),
		linear-gradient(180deg, #0f0f0f 0%, var(--bg) 100%);
}

/* faint engineering grid behind the headline */
/* Grid is painted directly and faded with a gradient layer instead of a
   mask — masked layers get re-rasterised while scrolling and that shows
   up as lag. */
.hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
		linear-gradient(180deg, rgba(10, 10, 10, 0) 55%, #0a0a0a 100%);
	background-size: 56px 56px, 56px 56px, 100% 100%;
	pointer-events: none;
}

.hero .container {
	position: relative;
	z-index: 1;
}

.hero-kicker {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-family: var(--font-mono);
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--dim);
}

.kicker-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--yl);
	box-shadow: 0 0 12px var(--yl-glow);
	flex: 0 0 9px;
}

.hero-title {
	margin: 22px 0 26px;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(3.4rem, 13vw, 9.5rem);
	line-height: 0.92;
	letter-spacing: -0.01em;
	text-transform: uppercase;
	color: #fff;
}

.hero-title-accent {
	color: var(--yl);
}

.hero-sub {
	max-width: 640px;
	margin-bottom: 34px;
	font-size: 19px;
	color: var(--soft);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 34px;
}

.hero-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.hero-chip {
	font-family: var(--font-mono);
	font-size: 12.5px;
	color: var(--dim);
	background: #0f0f0f;
	border: 1px solid var(--line-hi);
	border-radius: 999px;
	padding: 6px 14px;
}

.hero-chip a {
	font-weight: 600;
}

.hero-chip-dim {
	border-style: dashed;
}

/* signature hazard band under the hero */
.hazard-strip {
	height: 14px;
	background: repeating-linear-gradient(-45deg, var(--yl) 0 16px, #0a0a0a 16px 32px);
}

/* ==========================================================================
   STAT STRIP
   ========================================================================== */
.stat-strip {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	margin: 48px 0 8px;
	background: var(--bg-soft);
	border: 1px solid var(--line);
}

.stat {
	padding: 26px 28px;
	border-left: 1px solid var(--line);
}

.stat:first-child {
	border-left: none;
}

.stat-num {
	display: block;
	font-family: var(--font-display);
	font-size: clamp(2.6rem, 5vw, 4rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0;
	color: var(--yl);
}

.stat-label {
	display: block;
	margin-top: 12px;
	font-family: var(--font-mono);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--dim);
}

/* ==========================================================================
   SECTION HEADINGS
   ========================================================================== */
.section-head {
	margin: 56px 0 24px;
}

.section-head h2 {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.9rem, 3.6vw, 2.9rem);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0;
	line-height: 1.05;
	color: #fff;
}

.section-head h2::after {
	content: '';
	display: block;
	width: 64px;
	height: 6px;
	margin-top: 16px;
	background: var(--yl);
}

.section-sub {
	margin: 18px 0 0;
	max-width: 720px;
	font-size: 17px;
	color: var(--dim);
}

/* ==========================================================================
   EDITION CARDS (homepage)
   ========================================================================== */
.edition-card {
	height: 100%;
	margin-bottom: 24px;
	padding: 32px;
	background: var(--bg-soft);
	border: 1px solid var(--line);
	border-top: 4px solid var(--yl);
	transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.edition-card:hover {
	transform: translateY(-4px);
	border-color: var(--line-hi);
	border-top-color: var(--yl-bright);
}

.edition-card-alt {
	border-top: none;
	padding-top: 36px;
	background-image: repeating-linear-gradient(-45deg, var(--yl) 0 10px, #0a0a0a 10px 20px);
	background-size: 100% 5px;
	background-repeat: no-repeat;
	background-position: top left;
}

.edition-card-alt:hover {
	border-top: none;
	border-color: var(--line-hi);
}

.edition-kicker {
	margin: 0;
	font-family: var(--font-mono);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	color: var(--yl);
}

.edition-card h3 {
	margin: 12px 0 14px;
	font-family: var(--font-display);
	font-size: clamp(2rem, 4vw, 2.8rem);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0;
	line-height: 1;
	color: #fff;
}

.edition-card > p:not(.edition-kicker) {
	color: var(--soft);
}

/* ==========================================================================
   RELEASE CARDS (homepage, live from github)
   ========================================================================== */
.release-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.release-card {
	display: flex;
	gap: 26px;
	padding: 26px 28px;
	background: var(--bg-soft);
	border: 1px solid var(--line);
	transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.release-card:hover {
	border-color: var(--line-hi);
	transform: translateY(-3px);
}

.release-version {
	align-self: flex-start;
	flex: 0 0 auto;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(1.4rem, 3vw, 2.1rem);
	letter-spacing: 0.02em;
	color: var(--yl);
	background: #0a0a0a;
	border: 1px solid var(--line);
	border-radius: 4px;
	padding: 14px 18px;
	white-space: nowrap;
}

.release-body {
	min-width: 0;
}

.release-head {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
}

.release-head h3 {
	margin: 0;
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.3;
	color: #fff;
}

.release-badge {
	font-family: var(--font-mono);
	font-size: 10.5px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	padding: 3px 8px;
	border: 1px solid var(--yl);
	border-radius: 3px;
	color: var(--yl);
}

.release-badge-stable {
	border-color: var(--green);
	color: var(--green);
}

.release-date {
	margin: 8px 0 0;
	font-family: var(--font-mono);
	font-size: 12.5px;
	color: var(--dim);
}

.release-excerpt {
	margin: 12px 0 14px;
	max-width: 70ch;
	color: var(--soft);
}

.release-link {
	font-family: var(--font-mono);
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

/* ==========================================================================
   PAGE HEADER + BREADCRUMB
   ========================================================================== */
.page-header {
	margin: 44px 0 20px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--line);
	font-family: var(--font-display);
	font-size: clamp(1.7rem, 3.2vw, 2.4rem);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0;
	line-height: 1.15;
	color: #fff;
}

.page-header-title {
	border-bottom: 1px solid var(--line);
	padding-bottom: 16px;
	margin: 36px 0 24px;
}

.page-header-title h1 {
	display: block;
	margin: 0;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(2.6rem, 6vw, 4.2rem);
	letter-spacing: -0.01em;
	line-height: 1;
	text-transform: uppercase;
	color: var(--yl);
}

.page-header-title h2 {
	display: inline-block;
	margin: 12px 0 0 2px;
	font-family: var(--font-mono);
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: var(--dim);
}

.breadcrumb {
	margin-bottom: 8px;
	padding: 8px 14px;
	background: #0f0f0f;
	border: 1px solid var(--line);
	border-radius: 4px;
	font-family: var(--font-mono);
	font-size: 12.5px;
}

.breadcrumb a { color: var(--yl); }
.breadcrumb a:hover { color: var(--yl-bright); }
.breadcrumb > .active { color: var(--dim); }
.breadcrumb > li + li::before { color: #555; }

/* ==========================================================================
   PANELS
   ========================================================================== */
.panel {
	position: relative;
	margin: 0 0 24px 0;
	border: 1px solid var(--line);
	border-radius: 4px;
	box-shadow: none;
}

.panel::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 3px;
	background: var(--yl);
	border-radius: 4px 0 0 4px;
}

.panel-default {
	background-color: var(--bg-soft);
	border-color: var(--line);
}

.panel-default > .panel-heading {
	color: var(--yl);
	border: none;
	background: var(--bg-sink);
	font-family: var(--font-mono);
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	padding: 12px 18px;
}

.panel-default > .panel-heading b {
	color: inherit;
	font-weight: 600;
}

/* ==========================================================================
   LIST GROUPS
   ========================================================================== */
.list-group-item {
	background-color: var(--bg-soft);
	border-color: var(--line);
	color: var(--txt);
}

.list-group-item:first-child,
.list-group-item:last-child {
	background-color: var(--bg-soft);
	border-color: var(--line);
	border-radius: 0;
}

ul.list-group > li.list-group-item {
	background-color: var(--bg-sink);
}

.list-group-item i {
	margin-right: 8px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
	font-family: var(--font-mono);
	font-size: 13.5px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	border-radius: 4px;
	padding: 11px 20px;
	transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease),
	            color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn-xs {
	padding: 5px 11px;
	font-size: 12px;
}

.btn-default {
	color: var(--yl);
	background-color: transparent;
	border-color: var(--line-hi);
}

.btn-default:hover,
.btn-default:focus,
.btn-default:active,
.btn-default.active {
	color: #0a0a0a;
	background-color: var(--yl);
	border-color: var(--yl);
}

.btn-hero {
	color: #0a0a0a;
	background: var(--yl);
	border: 1px solid var(--yl);
	font-size: 15px;
	padding: 15px 28px;
}

.btn-hero:hover,
.btn-hero:focus {
	color: #0a0a0a;
	background: var(--yl-bright);
	border-color: var(--yl-bright);
	transform: translateY(-2px);
}

.btn-hero-ghost {
	color: #fff;
	background: transparent;
	border: 1px solid var(--line-hi);
	font-size: 15px;
	padding: 15px 28px;
}

.btn-hero-ghost:hover,
.btn-hero-ghost:focus {
	color: var(--yl);
	background: transparent;
	border-color: var(--yl);
	transform: translateY(-2px);
}

/* ==========================================================================
   CONTRIBUTE BAND (homepage call-out, inverted yellow)
   ========================================================================== */
.contribute-band {
	position: relative;
	margin: 8px 0 44px;
	padding: clamp(30px, 5vw, 54px);
	background: var(--yl);
	color: #0a0a0a;
	border-radius: 4px;
	overflow: hidden;
}

.contribute-band::after {
	content: '';
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(-45deg, rgba(10, 10, 10, 0.06) 0 12px, transparent 12px 24px);
	pointer-events: none;
}

.contribute-band > * {
	position: relative;
	z-index: 1;
}

.band-kicker {
	margin: 0;
	font-family: var(--font-mono);
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: rgba(10, 10, 10, 0.65);
}

.contribute-band h2 {
	margin: 14px 0 16px;
	font-family: var(--font-display);
	font-size: clamp(2.1rem, 5vw, 3.6rem);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0;
	line-height: 1.05;
	color: #0a0a0a;
}

.band-sub {
	max-width: 760px;
	margin: 0;
	font-size: 18px;
	color: rgba(10, 10, 10, 0.82);
}

.contribute-steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	margin: 34px 0 32px;
}

.step {
	background: rgba(10, 10, 10, 0.06);
	border: 1px solid rgba(10, 10, 10, 0.18);
	border-radius: 4px;
	padding: 22px;
}

.step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #0a0a0a;
	color: var(--yl);
	font-family: var(--font-mono);
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 14px;
}

.step h3 {
	margin: 0 0 8px;
	font-family: var(--font-mono);
	font-size: 14.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #0a0a0a;
}

.step p {
	margin: 0;
	font-size: 15.5px;
	color: rgba(10, 10, 10, 0.78);
}

.band-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.btn-band {
	color: var(--yl);
	background: #0a0a0a;
	border: 1px solid #0a0a0a;
}

.btn-band:hover,
.btn-band:focus {
	color: #0a0a0a;
	background: transparent;
	border-color: #0a0a0a;
	transform: translateY(-2px);
}

.btn-band-ghost {
	color: #0a0a0a;
	background: transparent;
	border: 1px solid rgba(10, 10, 10, 0.55);
}

.btn-band-ghost:hover,
.btn-band-ghost:focus {
	color: var(--yl);
	background: #0a0a0a;
	border-color: #0a0a0a;
	transform: translateY(-2px);
}

/* ==========================================================================
   TOOLS TABLE
   ========================================================================== */
#tbl-minimalist {
	margin: 14px 0;
	font-size: 15.5px;
	border-collapse: collapse;
	text-align: left;
	font-family: var(--font-body);
}

#tbl-minimalist th {
	color: var(--dim);
	font-family: var(--font-mono);
	font-size: 11.5px;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	border-bottom: 1px solid var(--line-hi);
	padding: 10px 14px;
}

#tbl-minimalist td {
	border-bottom: 1px solid var(--line);
	padding: 11px 14px;
}

#tbl-minimalist tbody tr { transition: background-color 0.25s var(--ease); }

#tbl-minimalist tbody tr:hover {
	background-color: rgba(255, 212, 0, 0.055);
}

#tbl-minimalist tbody tr:hover > .tbl-name,
#tbl-minimalist tbody tr:hover > .tbl-homepage { color: #fff; }

#tbl-minimalist tbody tr:hover > .vcat { color: var(--green); }
#tbl-minimalist tbody tr:hover .dcat { color: #e6e6e6; }
#tbl-minimalist tbody tr:hover > .tbl-categorie > a.hcat { color: var(--yl-bright); }

.tbl-name, .tbl-version, .tbl-dversion {
	max-width: 140px;
	word-wrap: break-word;
}

.tbl-homepage { text-align: center; }

.tbl-version, .tbl-dversion { padding-right: 10px; }

.tbl-description, .tbl-ddescription { padding-right: 30px; }

a.hcat { color: var(--yl); }
.vcat  { color: var(--green); }
.dcat  { color: var(--dim); }

.tool-status {
	font-family: var(--font-mono);
	font-size: 11px;
	padding: 2px 7px;
	border: 1px solid;
	border-radius: 3px;
	white-space: nowrap;
	margin-right: 6px;
}

.status-included { border-color: var(--green); color: var(--green); }
.status-planned  { border-color: var(--yl); color: var(--yl); }
.status-testing  { border-color: #d0d0d0; color: #d0d0d0; }

#searchTools {
	width: 30%;
	float: right;
	background-color: #0f0f0f;
	color: var(--txt);
	font-size: 15px;
	font-family: var(--font-mono);
	border: 1px solid var(--line);
	border-radius: 4px;
	padding: 9px 12px;
	margin: 0 0 12px 0;
	transition: border-color 0.2s var(--ease);
}

#searchTools:focus {
	border-color: var(--yl);
	outline: none;
}

#searchTools::placeholder { color: var(--dim); }

/* ==========================================================================
   TEAM TABLE
   ========================================================================== */
#developers {
	table-layout: fixed;
	width: 100%;
	font-size: 15.5px;
}

#developers th {
	color: var(--dim);
	font-family: var(--font-mono);
	font-size: 11.5px;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	border-bottom: 1px solid var(--line-hi);
	padding: 10px 8px;
	text-align: left;
}

#developers td {
	padding: 12px 8px;
	text-align: left;
	border-bottom: 1px solid var(--line);
}

#developers tbody tr {
	transition: background-color 0.25s var(--ease);
}

#developers tbody tr:hover {
	background: rgba(255, 212, 0, 0.055);
}

.avatar-ph {
	display: inline-block;
	width: 42px;
	height: 42px;
	line-height: 42px;
	text-align: center;
	background: rgba(255, 212, 0, 0.12);
	border: 1px solid var(--line-hi);
	border-radius: 50%;
	color: var(--yl);
	font-weight: 700;
	font-size: 16px;
}

.team-avatar {
	display: inline-block;
	width: 42px;
	height: 42px;
	border: 1px solid var(--line);
	border-radius: 50%;
	vertical-align: middle;
	background: #0a0a0a;
}

/* ==========================================================================
   TRACK — live commit feed
   ========================================================================== */
.track-status {
	font-family: var(--font-mono);
	font-size: 12.5px;
	color: var(--dim);
	margin: 0 0 8px 0;
	min-height: 18px;
}

.track-col > .panel {
	height: 100%;
	margin-bottom: 0;
}

.track-col .panel-heading {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.repo-link {
	font-family: var(--font-mono);
	font-size: 11.5px;
	color: var(--dim);
	margin-left: 6px;
}

.repo-link:hover { color: var(--yl); }

.branch-chip {
	display: inline-block;
	font-family: var(--font-mono);
	font-size: 10.5px;
	letter-spacing: 0;
	color: var(--yl);
	border: 1px solid var(--yl-deep);
	border-radius: 3px;
	padding: 1px 6px;
	margin-left: 8px;
	vertical-align: 1px;
	background: #0a0a0a;
	transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.branch-chip:hover { background: var(--yl); color: #0a0a0a; border-color: var(--yl); }

.commit-item {
	display: flex;
	align-items: center;
	padding: 10px 0;
	border-bottom: 1px solid var(--line);
}

.commit-item:last-child { border-bottom: none; }

.commit-avatar {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 1px solid var(--line);
	flex: 0 0 32px;
	background: #0a0a0a;
}

.commit-main {
	margin-left: 12px;
	min-width: 0;
}

.commit-msg {
	color: var(--txt);
	font-size: 15px;
	display: block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.commit-msg:hover { color: var(--yl); }

.commit-meta {
	font-family: var(--font-mono);
	font-size: 11.5px;
	color: var(--dim);
	margin-top: 2px;
}

.commit-meta code {
	background: #0a0a0a;
	color: var(--yl);
	border: none;
	padding: 1px 6px;
}

.dim-text { color: var(--dim); }

.track-warn { color: var(--yl); margin: 0 0 8px 0; }

.alert-rate {
	margin: 0 0 10px 0;
	padding: 12px 14px;
	border: 1px solid var(--yl);
	border-left: 4px solid var(--yl);
	background: rgba(255, 212, 0, 0.08);
	color: #fff;
	border-radius: 4px;
	font-family: var(--font-mono);
	font-size: 13.5px;
}

.alert-rate i {
	color: var(--yl);
	margin-right: 8px;
}

/* ==========================================================================
   INFO / BADGES
   ========================================================================== */
.info {
	max-width: 100%;
	width: 100%;
	margin: 8px 0 12px 0;
	padding: 12px 16px;
	background-color: var(--bg-sink);
	border: 1px solid var(--line);
	border-left: 4px solid var(--yl);
	border-radius: 4px;
	box-sizing: border-box;
	color: #fff;
}

.info p { max-width: 95%; margin: 0; }
.info i { margin-right: 8px; }

.blgreen  { color: #0a0a0a; background: var(--green); padding: 2px 7px; border-radius: 3px; font-weight: 600; }
.blyellow { color: #0a0a0a; background: var(--yl);     padding: 2px 7px; border-radius: 3px; font-weight: 600; }
.sb       { color: #fff;    background: #c62828;        padding: 2px 7px; border-radius: 3px; font-weight: 600; }

code {
	color: var(--yl);
	background: #0a0a0a;
	border: 1px solid var(--line);
	padding: 2px 6px;
	border-radius: 3px;
	font-family: var(--font-mono);
	font-size: 0.92em;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.cl-footer {
	position: relative;
	margin-top: 64px;
	background: var(--bg-sink);
	border-top: 1px solid var(--line);
	padding: 40px 0 24px;
	font-family: var(--font-body);
}

.cl-footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 6px;
	background: repeating-linear-gradient(-45deg, var(--yl) 0 14px, #0a0a0a 14px 28px);
}

.cl-footer-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
}

.cl-footer-monogram {
	display: inline-block;
	width: 36px;
	height: 36px;
	line-height: 36px;
	text-align: center;
	border-radius: 4px;
	background: var(--yl);
	color: #0a0a0a;
	font-family: var(--font-brand);
	font-weight: 700;
	font-size: 13px;
	vertical-align: middle;
}

.cl-footer-name {
	margin-left: 10px;
	font-family: var(--font-display);
	color: #fff;
	font-weight: 700;
	letter-spacing: 2px;
	font-size: 15px;
	vertical-align: middle;
}

.cl-footer-tagline {
	margin: 12px 0 0 0;
	color: var(--dim);
	font-size: 14px;
}

.cl-footer-social {
	text-align: right;
	padding-top: 6px;
}

.cl-footer-social a {
	display: inline-block;
	width: 42px;
	height: 42px;
	line-height: 42px;
	text-align: center;
	border: 1px solid var(--line-hi);
	border-radius: 50%;
	color: var(--dim);
	margin-left: 10px;
	transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}

.cl-footer-social a:hover {
	color: #0a0a0a;
	background: var(--yl);
	border-color: var(--yl);
}

.cl-footer-handles {
	margin: 12px 0 0;
	font-family: var(--font-mono);
	font-size: 13px;
	color: var(--dim);
}

.cl-footer-handles a { color: var(--dim); }
.cl-footer-handles a:hover { color: var(--yl); }

.cl-footer-bottom {
	margin-top: 26px;
	padding-top: 14px;
	border-top: 1px solid var(--line);
	color: var(--dim);
	font-size: 13px;
}

.cl-footer-bottom span {
	margin: 0 14px 0 0;
}

/* ==========================================================================
   SCROLL REVEAL
   Added by JS only when it can animate them back in, so content is
   never permanently hidden if scripts or observers fail.
   ========================================================================== */
#app .reveal {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

#app .reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* Scope layout + painting to each block so scrolling only repaints the
   piece that actually changed instead of the whole page. */
.panel,
.edition-card,
.release-card,
.stat-strip,
.contribute-band,
.hero {
	contain: layout paint;
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}

	#app .reveal {
		opacity: 1 !important;
		transform: none !important;
	}
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1300px) {
	.navbar-copper .navbar-nav > li > a {
		padding: 13px 8px;
		letter-spacing: 0.04em;
	}
}

@media (max-width: 1200px) {
	.navbar-copper .navbar-nav > li > a { padding: 13px 7px; font-size: 11.5px; }
	.navbar-copper .navbar-nav > li > a i { margin-right: 5px; }
}

@media (max-width: 992px) {
	#nav-github { display: none; }
}

@media (max-width: 991px) {
	#tbl-minimalist .tbl-categorie { display: none; }
	.cl-footer-social { text-align: left; margin-top: 14px; }
	.cl-footer-social a { margin: 0 10px 0 0; }
}

@media (max-width: 767px) {
	body { font-size: 16px; }
	.navbar-copper .navbar-nav > li > a { text-transform: none; }
	#searchTools { width: 100%; float: none; }

	.contribute-steps { grid-template-columns: 1fr; }
	.contribute-band { padding: 28px 22px; }

	.stat-strip { grid-template-columns: 1fr; }
	.stat { border-left: none; border-top: 1px solid var(--line); padding: 20px 22px; }
	.stat:first-child { border-top: none; }

	.hero-sub { font-size: 17px; }
	.hero-actions .btn { width: 100%; text-align: center; }
}

@media (max-width: 650px) {
	#developers tr td:nth-child(3), #developers tr td:nth-child(4) { display: none; }
	#tbl-minimalist .tbl-version { display: none; }

	.release-card { flex-direction: column; gap: 16px; padding: 22px; }
	.edition-card { padding: 24px; }
	.edition-card-alt { padding-top: 28px; }
}

@media (max-width: 450px) {
	#tbl-minimalist .tbl-description { display: none; }
	.hazard-strip { height: 10px; }
}

/* touch screens: sticky hover-lifts read as glitching while scrolling */
@media (hover: none) {
	.release-card:hover,
	.edition-card:hover,
	.btn-hero:hover,
	.btn-hero-ghost:hover,
	.btn-band:hover,
	.btn-band-ghost:hover {
		transform: none;
	}
}
