@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&family=Instrument+Sans:wght@300;400;500;600&family=Space+Mono:wght@400;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
	--serif: 'Cormorant Garamond', Georgia, serif;
	--sans: 'Instrument Sans', sans-serif;
	--mono: 'Space Mono', monospace;

	--gold: #c9a84c;
	--gold2: #e8c96a;
	--red: #c8352a;
	--tr: 0.3s ease;

	/* Kategorie-Akzentfarben */
	--c-ki: #5a8fd4;
	--c-design: #c87a5a;
	--c-tools: #5aaa7a;
	--c-business: #a07ac8;
	--c-os: #c8a85a;
	--c-infra: #5aaac8;
	--c-strategie: #c85a8a;
	--c-cms: #c9a84c;
	--c-frontend: #5a8fd4;
	--c-automation: #5aaa7a;
	--c-typo: #a07ac8;
	--c-ref: #8a8278;
}

/* Night mode (default) */
:root, .night {
	--bg: #0a0906;
	--bg2: #111008;
	--surface: rgba(255,255,255,0.03);
	--border: rgba(255,255,255,0.07);
	--border2: rgba(201,168,76,0.2);
	--ink: #f5f0e8;
	--ink2: rgba(245,240,232,0.55);
	--ink3: rgba(245,240,232,0.18);
	--fog: #8a8278;
}

.day {
	--bg: #faf7f2;
	--bg2: #f0e8d8;
	--surface: rgba(0,0,0,0.02);
	--border: rgba(0,0,0,0.08);
	--border2: rgba(160,120,40,0.25);
	--ink: #1a1410;
	--ink2: rgba(26,20,16,0.55);
	--ink3: rgba(26,20,16,0.18);
	--fog: #7a6f65;
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--bg);
	color: var(--ink);
	font-family: var(--sans);
	transition: background var(--tr), color var(--tr);
}

/* ── NAV ── */
.nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 24px;
	border-bottom: 1px solid var(--border);
	background: var(--bg);
	position: sticky;
	top: 0;
	z-index: 100;
	transition: background var(--tr), border-color var(--tr);
}
.nav-wordmark {
	font-family: var(--serif);
	font-size: 22px;
	font-weight: 300;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink);
	text-decoration: none;
	transition: color var(--tr);
}
.nav-wordmark sup { color: var(--gold); font-size: 11px; }
.nav-links { display: flex; gap: 16px; }
.nav-link {
	font-family: var(--mono);
	font-size: 8px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--fog);
	text-decoration: none;
	transition: color 0.15s;
}
.nav-link:hover { color: var(--gold); }
.nav-right { display: flex; align-items: center; gap: 14px; }

/* Toggle */
.tog-wrap { display: flex; align-items: center; gap: 7px; cursor: pointer; }
.tog-lbl {
	font-family: var(--mono);
	font-size: 8px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--fog);
	transition: color var(--tr);
}
.tog {
	width: 40px; height: 21px;
	border-radius: 10px;
	border: 1px solid var(--border2);
	position: relative; flex-shrink: 0;
	transition: background var(--tr);
	cursor: pointer;
}
.night .tog { background: rgba(201,168,76,0.15); }
.day .tog { background: rgba(160,120,40,0.1); }
.tok {
	width: 15px; height: 15px;
	border-radius: 50%;
	position: absolute; top: 2px; left: 3px;
	display: flex; align-items: center; justify-content: center;
	font-size: 9px;
	transition: transform var(--tr), background var(--tr);
}
.night .tok { background: var(--gold); transform: translateX(0); }
.day .tok { background: var(--ink); transform: translateX(17px); }

.nav-cta {
	background: var(--gold);
	color: #0a0906;
	font-family: var(--mono);
	font-size: 8px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 7px 16px;
	border: none; cursor: pointer;
	transition: background 0.15s;
	text-decoration: none;
	display: inline-block;
}
.nav-cta:hover { background: var(--gold2); }

/* ── TICKER ── */
.ticker {
	overflow: hidden;
	padding: 9px 0;
	border-bottom: 1px solid var(--border);
	background: var(--surface);
}
.ticker-track {
	display: flex;
	white-space: nowrap;
	animation: tick 32s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
	font-family: var(--mono);
	font-size: 8px;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--fog);
	padding: 0 24px;
	border-right: 1px solid var(--border);
	display: inline-flex;
	align-items: center;
	gap: 7px;
}
.ticker-hot { color: var(--gold); }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── MODE BAR ── */
.mode-bar {
	display: flex;
	border-bottom: 2px solid var(--border);
	padding: 0 24px;
	transition: border-color var(--tr);
}
.mode-btn {
	font-family: var(--mono);
	font-size: 10px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	padding: 20px 28px;
	cursor: pointer;
	color: var(--fog);
	background: none;
	border: none;
	border-bottom: 3px solid transparent;
	margin-bottom: -2px;
	transition: all 0.2s;
	display: flex;
	align-items: center;
	gap: 8px;
}
.mode-btn.active { color: var(--gold); border-bottom-color: var(--gold); }
.mode-btn:hover { color: var(--ink); }
.mode-dot {
	width: 6px; height: 6px;
	border-radius: 50%;
	background: currentColor;
	opacity: 0.4;
}
.mode-btn.active .mode-dot { opacity: 1; background: var(--gold); }
.mode-count { font-size: 8px; opacity: 0.35; margin-left: 2px; }

/* ── HERO ── */
.hero {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	min-height: 320px;
	border-bottom: 1px solid var(--border);
}
.hero-left {
	padding: 32px 28px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	border-right: 1px solid var(--border);
	position: relative;
	overflow: hidden;
}
.night .hero-left { background: radial-gradient(ellipse at 20% 70%, rgba(201,168,76,0.07), transparent 55%); }
.day .hero-left { background: radial-gradient(ellipse at 20% 70%, rgba(160,120,40,0.04), transparent 55%); }
.hero-kicker {
	font-family: var(--mono);
	font-size: 8px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	gap: 7px;
}
.kicker-rule { width: 18px; height: 1px; background: var(--gold); }
.hero-headline {
	font-family: var(--serif);
	font-size: 38px;
	font-weight: 300;
	line-height: 1.08;
	color: var(--ink);
	margin-bottom: 12px;
	transition: color var(--tr);
}
.hero-headline em { font-style: italic; color: var(--gold); }
.hero-deck {
	font-size: 12px;
	font-weight: 300;
	line-height: 1.7;
	color: var(--ink2);
	max-width: 360px;
	margin-bottom: 20px;
	transition: color var(--tr);
}
.hero-btns { display: flex; gap: 12px; align-items: center; margin-bottom: 20px; }
.btn-primary {
	background: var(--gold);
	color: #0a0906;
	font-family: var(--mono);
	font-size: 8px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 10px 22px;
	border: none; cursor: pointer;
	text-decoration: none;
	display: inline-block;
	transition: all 0.2s;
}
.btn-primary:hover { background: var(--gold2); transform: translateY(-1px); }
.btn-ghost {
	background: transparent;
	color: var(--ink);
	font-family: var(--mono);
	font-size: 8px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 10px 0;
	border: none;
	border-bottom: 1px solid var(--border);
	cursor: pointer;
	text-decoration: none;
	transition: all 0.2s;
}
.btn-ghost:hover { color: var(--gold); border-color: var(--gold); }
.hero-stats { display: flex; gap: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.hstat { display: flex; flex-direction: column; gap: 2px; }
.hstat-n { font-family: var(--serif); font-size: 20px; color: var(--gold); line-height: 1; }
.hstat-l {
	font-family: var(--mono);
	font-size: 7px;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--fog);
}
.hero-right { position: relative; overflow: hidden; cursor: pointer; background: var(--bg2); transition: background var(--tr); }
.hero-right:hover .hero-img-zoom { transform: scale(1.04); }
.hero-img-zoom { width: 100%; height: 100%; transition: transform 0.5s ease; }
.hero-badge {
	position: absolute; top: 16px; left: 16px;
	background: var(--red); color: #fff;
	font-family: var(--mono); font-size: 7px;
	letter-spacing: 0.08em; text-transform: uppercase;
	padding: 3px 8px;
}
.hero-readtime {
	position: absolute; bottom: 14px; right: 16px;
	font-family: var(--mono); font-size: 8px; color: var(--fog);
}

/* ── STATS BAR ── */
.stats-bar {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	border-bottom: 1px solid var(--border);
}
.stat {
	height: 120px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	padding: 0 28px;
	border-right: 1px solid var(--border);
	transition: background 0.2s, border-color var(--tr);
}
.stat:last-child { border-right: none; }
.stat:hover { background: var(--surface); }
.stat-n {
	font-family: var(--serif);
	font-size: 38px;
	font-weight: 300;
	color: var(--gold);
	line-height: 1;
	display: block;
}
.stat-l {
	font-family: var(--mono);
	font-size: 7px;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--fog);
	margin-top: 6px;
	display: block;
}
.stat-d { font-family: var(--mono); font-size: 8px; color: #6aaa7a; margin-top: 3px; display: block; }

/* ── GENRE TABS ── */
.genre-tabs {
	display: flex;
	padding: 0 24px;
	border-bottom: 1px solid var(--border);
	overflow-x: auto;
}
.genre-tab {
	font-family: var(--mono);
	font-size: 8px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 17px 16px;
	cursor: pointer;
	color: var(--fog);
	background: none;
	border: none;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
	white-space: nowrap;
	transition: all 0.2s;
}
.genre-tab:hover { color: var(--ink); }
.genre-tab.active { color: var(--gold); border-bottom-color: var(--gold); }

/* ── TRENDING STRIP ── */
.trending-strip {
	border-bottom: 1px solid var(--border);
	padding: 16px 24px;
	background: var(--surface);
}
.trending-label {
	font-family: var(--mono);
	font-size: 8px;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 14px;
	display: flex;
	align-items: center;
	gap: 8px;
}
.trending-label::after { content: ''; flex: 1; height: 1px; background: var(--border2); }
.trending-label-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.8)} }

.trending-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.trending-item {
	display: flex;
	gap: 14px;
	padding: 10px 16px 10px 0;
	cursor: pointer;
	border-right: 1px solid var(--border);
	transition: background 0.15s;
	align-items: flex-start;
	position: relative;
}
.trending-item:last-child { border-right: none; padding-right: 0; }
.trending-item:hover .trending-title { color: var(--gold); }
.trending-rank {
	font-family: var(--serif);
	font-size: 44px;
	font-weight: 300;
	color: var(--border);
	line-height: 1;
	min-width: 40px;
	margin-top: -4px;
	transition: color var(--tr);
	flex-shrink: 0;
}
.trending-item:hover .trending-rank { color: var(--border2); }
.trending-content { flex: 1; }
.trending-genre {
	font-family: var(--mono);
	font-size: 7px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ac, var(--gold));
	margin-bottom: 4px;
}
.trending-title {
	font-family: var(--serif);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.3;
	color: var(--ink);
	margin-bottom: 8px;
	transition: color 0.15s;
}
.trending-bar-wrap {
	display: flex;
	align-items: center;
	gap: 8px;
}
.trending-bar {
	flex: 1;
	height: 2px;
	background: var(--border);
	border-radius: 1px;
	overflow: hidden;
}
.trending-bar-fill {
	height: 100%;
	background: var(--ac, var(--gold));
	border-radius: 1px;
	opacity: 0.7;
}
.trending-views {
	font-family: var(--mono);
	font-size: 8px;
	color: var(--fog);
	white-space: nowrap;
}

/* ── MAIN GRID ── */
.main-grid {
	display: grid;
	grid-template-columns: 2fr 1fr;
	border-bottom: 1px solid var(--border);
}
.main-left { border-right: 1px solid var(--border); }

/* ── FEATURED CARD mit Bild + Akzentfarbe ── */
.fc {
	border-bottom: 1px solid var(--border);
	cursor: pointer;
	position: relative;
	overflow: hidden;
	transition: background 0.2s;
}
.fc:hover { background: var(--surface); }
.fc:hover .fc-title { color: var(--ac, var(--gold)); }
.fc::before {
	content: '';
	position: absolute; top: 0; left: 0; right: 0; height: 2px;
	background: var(--ac, var(--gold));
	opacity: 0.6;
}
.fc-image { width: 100%; aspect-ratio: 16 / 6; overflow: hidden; position: relative; }
.fc-body { padding: 18px 22px 20px; }
.fc-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.fc-genre {
	font-family: var(--mono);
	font-size: 8px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ac, var(--gold));
}
.fc-num {
	font-family: var(--serif);
	font-size: 44px;
	font-weight: 300;
	color: var(--ink3);
	line-height: 1;
	margin-top: -6px;
	transition: color var(--tr);
}
.fc-title {
	font-family: var(--serif);
	font-size: 20px;
	font-weight: 400;
	line-height: 1.22;
	color: var(--ink);
	margin-bottom: 6px;
	transition: color 0.2s;
}
.fc-title em { font-style: italic; }
.fc-deck {
	font-size: 11px;
	font-weight: 300;
	line-height: 1.65;
	color: var(--ink2);
	margin-bottom: 12px;
	transition: color var(--tr);
}
.fc-foot { display: flex; align-items: center; gap: 7px; }
.fc-views-badge {
	display: flex;
	align-items: center;
	gap: 5px;
	font-family: var(--mono);
	font-size: 7px;
	color: var(--ac, var(--gold));
	letter-spacing: 0.06em;
}
.views-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ac, var(--gold)); opacity: 0.7; }
.fc-readtime { font-family: var(--mono); font-size: 8px; color: var(--fog); margin-left: auto; }
.pill {
	font-family: var(--mono);
	font-size: 7px;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	padding: 2px 8px;
	border: 1px solid currentColor;
	opacity: 0.7;
}

/* ── SIDEBAR ── */
.sidebar { display: flex; flex-direction: column; }
.sidebar-section { padding: 18px; border-bottom: 1px solid var(--border); }
.sidebar-label {
	font-family: var(--mono);
	font-size: 7px;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--fog);
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	gap: 7px;
}
.sidebar-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.mini-card {
	display: flex;
	gap: 10px;
	padding: 10px 0;
	border-bottom: 1px solid var(--border);
	cursor: pointer;
	align-items: flex-start;
	transition: background 0.15s;
	position: relative;
}
.mini-card:last-child { border-bottom: none; }
.mini-card:hover .mini-title { color: var(--ac, var(--gold)); }
.mini-card::before {
	content: '';
	position: absolute; left: -18px; top: 0; bottom: 0; width: 2px;
	background: var(--ac, var(--gold));
	opacity: 0;
	transition: opacity 0.15s;
}
.mini-card:hover::before { opacity: 0.6; }
.mini-num {
	font-family: var(--serif);
	font-size: 22px;
	font-weight: 300;
	color: var(--ink3);
	line-height: 1;
	min-width: 22px;
	margin-top: 2px;
}
.mini-genre {
	font-family: var(--mono);
	font-size: 7px;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--ac, var(--fog));
	margin-bottom: 2px;
}
.mini-title {
	font-family: var(--serif);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.3;
	color: var(--ink);
	transition: color 0.15s;
}
.mini-meta { font-family: var(--mono); font-size: 7px; color: var(--ink3); margin-top: 3px; }
.mini-views {
	font-family: var(--mono);
	font-size: 7px;
	color: var(--ac, var(--gold));
	opacity: 0.7;
	margin-top: 2px;
}

/* Gloss CTA */
.gloss-cta {
	margin: 14px;
	padding: 16px;
	border: 1px solid var(--border2);
	position: relative;
	overflow: hidden;
}
.night .gloss-cta { background: linear-gradient(135deg, rgba(201,168,76,0.08), rgba(201,168,76,0.02)); }
.day .gloss-cta { background: linear-gradient(135deg, rgba(160,120,40,0.06), rgba(160,120,40,0.01)); }
.gloss-cta::before {
	content: '';
	position: absolute; inset: 0;
	background: conic-gradient(from 0deg, transparent 70%, rgba(201,168,76,0.07) 80%, transparent 90%);
	animation: spin 10s linear infinite;
	pointer-events: none;
}
@keyframes spin { to { transform: rotate(360deg); } }
.gloss-title { font-family: var(--serif); font-size: 16px; color: var(--gold); margin-bottom: 4px; position: relative; }
.gloss-desc { font-size: 10px; font-weight: 300; line-height: 1.6; color: var(--ink2); margin-bottom: 10px; position: relative; }
.gloss-btn {
	font-family: var(--mono);
	font-size: 8px;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	background: var(--gold);
	color: #0a0906;
	padding: 6px 16px;
	border: none; cursor: pointer;
	position: relative;
	transition: background 0.15s;
}
.gloss-btn:hover { background: var(--gold2); }

/* ── RECENT LINKS ── */
.recent-section { border-top: 1px solid var(--border); padding: 28px 24px 32px; }
.recent-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
}
.recent-label {
	font-family: var(--mono);
	font-size: 8px;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--fog);
	display: flex;
	align-items: center;
	gap: 8px;
}
.recent-label::before { content: ''; width: 20px; height: 1px; background: var(--border); }
.recent-all {
	font-family: var(--mono);
	font-size: 8px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--gold);
	cursor: pointer;
	background: none;
	border: none;
	text-decoration: none;
}
.recent-all:hover { color: var(--gold2); }
.recent-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--border); }

/* ── LINK CARD ── */
.lk {
	display: flex;
	flex-direction: column;
	cursor: pointer;
	position: relative;
	overflow: hidden;
	transition: background 0.15s;
	border-right: 1px solid var(--border);
}
.lk:last-child { border-right: none; }
.lk:hover { background: var(--surface); }
.lk:hover .lk-title { color: var(--ac, var(--gold)); }
.lk::before {
	content: '';
	position: absolute; top: 0; left: 0; right: 0; height: 2px;
	background: var(--ac, var(--gold));
	opacity: 0.7; z-index: 1;
}
.lk-image { width: 100%; aspect-ratio: 16 / 7; overflow: hidden; position: relative; }
.lk-body { padding: 14px 14px 12px; flex: 1; display: flex; flex-direction: column; }
.lk-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.lk-genre {
	font-family: var(--mono);
	font-size: 7px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ac, var(--gold));
}
.lk-ext { font-family: var(--mono); font-size: 7px; color: var(--ink3); }
.lk-title {
	font-family: var(--serif);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.3;
	color: var(--ink);
	margin-bottom: 4px;
	transition: color 0.15s;
}
.lk-desc { font-size: 10px; font-weight: 300; line-height: 1.5; color: var(--ink2); margin-bottom: 8px; flex: 1; }
.lk-tags { display: flex; gap: 3px; flex-wrap: wrap; }
.lk-tag { font-family: var(--mono); font-size: 6px; padding: 2px 5px; border: 1px solid var(--border); color: var(--fog); }
.lk-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 8px;
	padding-top: 6px;
	border-top: 1px solid var(--border);
}
.lk-domain { font-family: var(--mono); font-size: 7px; color: var(--ink3); }
.lk-arrow { font-size: 10px; color: var(--ac, var(--gold)); opacity: 0; transition: opacity 0.15s; }
.lk:hover .lk-arrow { opacity: 1; }

/* ── LINKS SCREEN ── */
.links-header { padding: 22px 24px 0; border-bottom: 1px solid var(--border); }
.links-title { font-family: var(--serif); font-size: 30px; font-weight: 300; color: var(--ink); margin-bottom: 5px; }
.links-title em { font-style: italic; color: var(--gold); }
.links-sub { font-size: 11px; color: var(--ink2); margin-bottom: 16px; }
.filter-chips { display: flex; gap: 6px; flex-wrap: wrap; padding-bottom: 14px; }
.filter-chip {
	font-family: var(--mono);
	font-size: 7px;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	padding: 5px 12px;
	border: 1px solid var(--border);
	color: var(--fog);
	cursor: pointer;
	background: transparent;
	transition: all 0.15s;
}
.filter-chip:hover { border-color: var(--gold); color: var(--gold); }
.filter-chip.active { background: var(--gold); color: #0a0906; border-color: var(--gold); }
.links-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border-top: 1px solid var(--border);
}
.links-grid .lk { border-bottom: 1px solid var(--border); }
.links-grid .lk:nth-child(3n) { border-right: none; }

/* ── DETAIL ── */
.progress-bar {
	height: 2px;
	background: var(--gold);
	width: 0%;
	transition: width 0.1s linear;
	position: sticky;
	top: 57px;
	z-index: 40;
}
.back-bar { padding: 10px 24px; border-bottom: 1px solid var(--border); }
.back-btn {
	display: flex;
	align-items: center;
	gap: 7px;
	font-family: var(--mono);
	font-size: 8px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--fog);
	cursor: pointer;
	background: none;
	border: none;
	text-decoration: none;
	transition: color 0.15s;
}
.back-btn:hover { color: var(--gold); }
.back-btn svg { width: 13px; height: 13px; }
.detail-hero { width: 100%; aspect-ratio: 21 / 7; position: relative; overflow: hidden; background: var(--bg2); }
.detail-hero-img { width: 100%; height: 100%; }
.detail-hero-grad {
	position: absolute; bottom: 0; left: 0; right: 0; height: 60%;
	background: linear-gradient(to top, var(--bg), transparent);
	pointer-events: none;
}
.detail-badges { position: absolute; top: 16px; left: 24px; display: flex; gap: 7px; }
.badge-red { background: var(--red); color: #fff; font-family: var(--mono); font-size: 7px; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; }
.badge-gold { background: transparent; border: 1px solid var(--gold); color: var(--gold); font-family: var(--mono); font-size: 7px; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; }
.detail-rt { position: absolute; bottom: 14px; right: 20px; font-family: var(--mono); font-size: 8px; color: var(--fog); }

.article { max-width: 640px; margin: 0 auto; padding: 36px 24px 56px; }
.article-genre { font-family: var(--mono); font-size: 8px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; display: flex; align-items: center; gap: 7px; }
.genre-rule { width: 16px; height: 1px; background: var(--gold); }
.article-title { font-family: var(--serif); font-size: 40px; font-weight: 300; line-height: 1.07; color: var(--ink); margin-bottom: 14px; }
.article-title em { font-style: italic; color: var(--gold); }
.article-deck { font-family: var(--serif); font-size: 17px; font-weight: 300; font-style: italic; line-height: 1.6; color: var(--ink2); border-left: 2px solid var(--gold); padding-left: 16px; margin-bottom: 22px; }
.article-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 30px; }
.meta-pill { font-family: var(--mono); font-size: 7px; letter-spacing: 0.07em; text-transform: uppercase; padding: 2px 8px; border: 1px solid var(--border2); color: var(--gold); }
.meta-pill.ai { border-color: rgba(44,95,138,0.3); color: #5a8fd4; }
.meta-pill.red { border-color: rgba(200,53,42,0.25); color: var(--red); }
.meta-sep { color: var(--ink3); font-size: 10px; }
.meta-txt { font-family: var(--mono); font-size: 8px; color: var(--fog); }
.read-progress-wrap { width: 44px; height: 2px; background: var(--border); border-radius: 1px; overflow: hidden; margin-left: auto; }
.read-progress-fill { width: 60%; height: 100%; background: var(--gold); }

.ai-summary { border: 1px solid rgba(44,95,138,0.2); padding: 18px 20px; margin-bottom: 30px; position: relative; overflow: hidden; }
.night .ai-summary { background: rgba(44,95,138,0.04); }
.day .ai-summary { background: rgba(44,95,138,0.03); }
.ai-summary::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%; background: rgba(44,95,138,0.5); }
.ai-summary-label { font-family: var(--mono); font-size: 7px; letter-spacing: 0.1em; text-transform: uppercase; color: #5a8fd4; margin-bottom: 10px; display: flex; align-items: center; gap: 5px; }
.ai-pulse { width: 5px; height: 5px; border-radius: 50%; background: #5a8fd4; animation: pulse 2s ease-in-out infinite; }
.ai-list { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.ai-list li { font-family: var(--sans); font-size: 11px; font-weight: 300; line-height: 1.6; color: var(--ink2); padding-left: 14px; position: relative; }
.ai-list li::before { content: '→'; position: absolute; left: 0; color: #5a8fd4; font-size: 9px; top: 1px; }

.article-body p { font-family: var(--serif); font-size: 17px; font-weight: 300; line-height: 1.85; color: var(--ink); margin-bottom: 20px; }
.article-body h3 { font-family: var(--serif); font-size: 24px; font-weight: 400; color: var(--ink); margin: 34px 0 14px; display: flex; align-items: center; gap: 10px; }
.article-body h3::before { content: ''; width: 16px; height: 1px; background: var(--gold); flex-shrink: 0; }
.pullquote { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 20px 0; margin: 30px 0; }
.pullquote p { font-family: var(--serif); font-size: 23px; font-weight: 300; font-style: italic; line-height: 1.4; color: var(--ink); margin: 0; }
.pullquote-src { font-family: var(--mono); font-size: 8px; text-transform: uppercase; color: var(--fog); margin-top: 10px; }
.inline-image { width: 100%; aspect-ratio: 16 / 6; border-radius: 2px; margin: 8px 0 5px; overflow: hidden; }
.inline-caption { font-family: var(--mono); font-size: 8px; color: var(--fog); font-style: italic; margin-bottom: 24px; }

.article-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 30px; padding-top: 16px; border-top: 1px solid var(--border); }
.article-tag { font-family: var(--mono); font-size: 7px; text-transform: uppercase; padding: 4px 10px; border: 1px solid var(--border); color: var(--fog); cursor: pointer; background: transparent; transition: all 0.15s; }
.article-tag:hover { border-color: var(--gold); color: var(--gold); }

.related-section { border-top: 2px solid var(--ink); padding: 26px 24px 40px; }
.related-label { font-family: var(--mono); font-size: 7px; text-transform: uppercase; letter-spacing: 0.13em; color: var(--fog); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.related-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--border); }
.related-card { padding: 16px; border-right: 1px solid var(--border); cursor: pointer; transition: background 0.15s; }
.related-card:last-child { border-right: none; }
.related-card:hover { background: var(--surface); }
.related-card:hover .related-title { color: var(--gold); }
.related-genre { font-family: var(--mono); font-size: 7px; text-transform: uppercase; color: var(--gold); margin-bottom: 5px; }
.related-title { font-family: var(--serif); font-size: 14px; font-weight: 400; line-height: 1.3; color: var(--ink); margin-bottom: 5px; transition: color 0.15s; }
.related-time { font-family: var(--mono); font-size: 7px; color: var(--fog); }

/* ── SCREENS ── */
.screen { display: none; }
.screen.active { display: block; }
.mode-content { display: none; }
.mode-content.active { display: block; }

/* Responsive */
@media (max-width: 768px) {
	.hero { grid-template-columns: 1fr; }
	.hero-right { display: none; }
	.stats-bar { grid-template-columns: repeat(2, 1fr); }
	.main-grid { grid-template-columns: 1fr; }
	.sidebar { display: none; }
	.trending-list { grid-template-columns: 1fr; }
	.recent-grid { grid-template-columns: repeat(2, 1fr); }
	.links-grid { grid-template-columns: repeat(2, 1fr); }
}
