/* =========================================================
   AI 大事记 · 样式
   整页只有深色一种主题：背景随年代换色，强调色走 --accent / --accent-2
   ========================================================= */

@property --accent {
	syntax: "<color>";
	inherits: true;
	initial-value: #e3a857;
}
@property --accent-2 {
	syntax: "<color>";
	inherits: true;
	initial-value: #f4d9a6;
}

:root {
	color-scheme: dark;
	--bg: #05060a;
	--bg-2: #0a0c13;
	--ink: #eef0f6;
	--ink-2: rgba(238, 240, 246, 0.8);
	--ink-3: rgba(238, 240, 246, 0.52);
	--ink-4: rgba(238, 240, 246, 0.14);
	--line: rgba(255, 255, 255, 0.08);
	--card: rgba(13, 15, 23, 0.66);
	--accent: #e3a857;
	--accent-2: #f4d9a6;
	--sans: "Inter", "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
	--serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
	--mono: "JetBrains Mono", "Cascadia Code", "SF Mono", ui-monospace, Menlo, Consolas, "Liberation Mono", monospace;
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--rail-w: 176px;
	transition:
		--accent 1.4s ease,
		--accent-2 1.4s ease;
}

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

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

a {
	color: inherit;
}

button {
	font: inherit;
	color: inherit;
}

::selection {
	background: color-mix(in oklab, var(--accent) 45%, transparent);
	color: #fff;
}

.skip {
	position: absolute;
	left: -999px;
	top: 8px;
	z-index: 100;
	padding: 8px 14px;
	border-radius: 8px;
	background: var(--accent);
	color: #000;
}
.skip:focus {
	left: 12px;
}

:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}

/* ---------------------------------------------------------
   背景层：图片/插画交叉淡入 + 年代光晕 + 天气 + 颗粒 + 暗角
   --------------------------------------------------------- */
.bg {
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
}

.bg-slot {
	position: absolute;
	inset: -6%;
	opacity: 0;
	transition: opacity 1.6s ease;
	display: grid;
	place-items: center;
}
.bg-slot.is-on {
	opacity: 1;
	animation: drift 28s ease-in-out infinite alternate;
}
.bg-slot img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: blur(4px) saturate(1.05) brightness(0.42);
}
.bg-slot img.is-invert {
	object-fit: contain;
	filter: invert(1) hue-rotate(180deg) blur(1.5px) brightness(0.55);
	opacity: 0.55;
}
.bg-slot .art-svg {
	width: min(130vw, 1500px);
	height: auto;
	opacity: 0.16;
	filter: blur(1px);
}

@keyframes drift {
	from {
		transform: scale(1.02) translate3d(-1%, -1%, 0);
	}
	to {
		transform: scale(1.1) translate3d(1.5%, 1%, 0);
	}
}

.bg-glow {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(60% 55% at 82% 12%, color-mix(in oklab, var(--accent) 20%, transparent), transparent 70%),
		radial-gradient(55% 60% at 8% 92%, color-mix(in oklab, var(--accent-2) 12%, transparent), transparent 70%),
		linear-gradient(180deg, rgba(5, 6, 10, 0.55), rgba(5, 6, 10, 0.2) 40%, rgba(5, 6, 10, 0.7));
}

.bg-fx {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.bg-scan {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1.2s ease;
	background: repeating-linear-gradient(180deg, rgba(0, 0, 0, 0) 0 2px, rgba(0, 0, 0, 0.28) 2px 3px);
	mix-blend-mode: multiply;
}
body[data-mood="crt"] .bg-scan {
	opacity: 1;
	animation: flicker 5s steps(1) infinite;
}
@keyframes flicker {
	0%,
	100% {
		opacity: 1;
	}
	47% {
		opacity: 0.86;
	}
	48% {
		opacity: 1;
	}
}

.bg-grain {
	position: absolute;
	inset: -50%;
	opacity: 0.07;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
	transition: opacity 1.2s ease;
}
body[data-mood="paper"] .bg-grain {
	opacity: 0.13;
}

.bg-vignette {
	position: absolute;
	inset: 0;
	background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(0, 0, 0, 0.75));
}

/* ---------------------------------------------------------
   顶栏
   --------------------------------------------------------- */
.topbar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 30;
	display: flex;
	align-items: center;
	gap: 16px;
	height: 56px;
	padding: 0 max(16px, env(safe-area-inset-left));
	transition:
		background 0.4s ease,
		border-color 0.4s ease;
	border-bottom: 1px solid transparent;
}
.topbar.is-solid {
	background: rgba(6, 7, 12, 0.62);
	backdrop-filter: blur(14px) saturate(1.3);
	-webkit-backdrop-filter: blur(14px) saturate(1.3);
	border-bottom-color: var(--line);
}
.home {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	font-size: 14px;
	color: var(--ink-2);
	white-space: nowrap;
	padding: 6px 10px 6px 6px;
	border-radius: 999px;
	transition:
		color 0.2s,
		background 0.2s;
}
.home:hover {
	color: var(--ink);
	background: rgba(255, 255, 255, 0.06);
}
.home svg {
	width: 18px;
	height: 18px;
}
.now {
	flex: 1;
	min-width: 0;
	text-align: center;
	font-size: 13px;
	letter-spacing: 0.04em;
	color: var(--ink-3);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	opacity: 0;
	transition: opacity 0.4s;
}
.topbar.is-solid .now {
	opacity: 1;
}
.now b {
	color: var(--accent);
	font-weight: 600;
}
.tools {
	display: flex;
	gap: 8px;
}
.chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 32px;
	padding: 0 14px;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: rgba(255, 255, 255, 0.04);
	font-size: 13px;
	cursor: pointer;
	white-space: nowrap;
	transition:
		border-color 0.2s,
		background 0.2s,
		color 0.2s;
}
.chip:hover {
	border-color: color-mix(in oklab, var(--accent) 60%, transparent);
}
.chip[aria-pressed="true"] {
	background: color-mix(in oklab, var(--accent) 20%, transparent);
	border-color: var(--accent);
	color: var(--ink);
}
.chip .dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--accent);
	box-shadow: 0 0 10px var(--accent);
}
.progress {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 2px;
}
.progress i {
	display: block;
	height: 100%;
	width: 100%;
	transform-origin: 0 50%;
	transform: scaleX(0);
	background: linear-gradient(90deg, var(--accent-2), var(--accent));
	box-shadow: 0 0 12px var(--accent);
}

/* ---------------------------------------------------------
   左侧年代轨道（宽屏）
   --------------------------------------------------------- */
.rail {
	position: fixed;
	left: 22px;
	top: 50%;
	z-index: 20;
	width: var(--rail-w);
	transform: translateY(-50%);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.5s;
}
body.in-timeline .rail {
	opacity: 1;
	pointer-events: auto;
}
.rail ol {
	list-style: none;
	margin: 0;
	padding: 0 0 0 16px;
	position: relative;
}
.rail ol::before,
.rail-fill {
	content: "";
	position: absolute;
	left: 3px;
	top: 6px;
	bottom: 6px;
	width: 1px;
	background: var(--ink-4);
}
.rail-fill {
	background: var(--accent);
	box-shadow: 0 0 8px var(--accent);
	transform-origin: 50% 0;
	transform: scaleY(0);
}
.rail a {
	position: relative;
	display: flex;
	align-items: baseline;
	gap: 8px;
	padding: 5px 0;
	text-decoration: none;
	font-size: 12.5px;
	color: var(--ink-3);
	transition: color 0.3s;
}
.rail a::before {
	content: "";
	position: absolute;
	left: -16px;
	top: 50%;
	width: 7px;
	height: 7px;
	margin-top: -3.5px;
	border-radius: 50%;
	background: var(--bg);
	border: 1px solid var(--ink-3);
	transition:
		background 0.3s,
		border-color 0.3s,
		transform 0.3s;
}
.rail a em {
	font-style: normal;
	font-family: var(--mono);
	font-size: 10.5px;
	opacity: 0.6;
}
.rail a:hover {
	color: var(--ink);
}
.rail a.is-past::before {
	background: var(--ink-3);
}
.rail a.is-active {
	color: var(--ink);
}
.rail a.is-active::before {
	background: var(--accent);
	border-color: var(--accent);
	transform: scale(1.5);
	box-shadow: 0 0 10px var(--accent);
}

/* ---------------------------------------------------------
   右侧参数量标尺（宽屏）
   --------------------------------------------------------- */
.gauge {
	position: fixed;
	right: 26px;
	top: 50%;
	z-index: 20;
	width: 128px;
	transform: translateY(-50%);
	opacity: 0;
	transition: opacity 0.5s;
	font-size: 11px;
	color: var(--ink-3);
}
body.in-timeline .gauge.has-value {
	opacity: 1;
}
.g-title {
	letter-spacing: 0.12em;
	margin-bottom: 10px;
}
.g-track {
	position: relative;
	height: 240px;
	width: 6px;
	border-radius: 3px;
	background: var(--ink-4);
	margin-left: 4px;
}
.g-fill {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 0;
	border-radius: 3px;
	background: linear-gradient(0deg, var(--accent-2), var(--accent));
	box-shadow: 0 0 14px var(--accent);
	transition: height 1.1s var(--ease);
}
.g-tick {
	position: absolute;
	left: 14px;
	transform: translateY(50%);
	font-family: var(--mono);
	font-size: 10px;
	white-space: nowrap;
}
.g-tick::before {
	content: "";
	position: absolute;
	left: -14px;
	top: 50%;
	width: 10px;
	height: 1px;
	background: var(--ink-4);
}
.g-val {
	margin-top: 14px;
	font-family: var(--mono);
	font-size: 15px;
	color: var(--ink);
	line-height: 1.3;
}
.g-name {
	margin-top: 2px;
	color: var(--accent);
}

/* ---------------------------------------------------------
   左下角年份里程表
   --------------------------------------------------------- */
.year {
	position: fixed;
	left: calc(var(--rail-w) + 44px);
	bottom: 18px;
	z-index: 1;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.6s;
}
body.in-timeline .year {
	opacity: 1;
}
.year-digits {
	display: flex;
	font-family: var(--mono);
	font-weight: 200;
	font-size: clamp(72px, 11vw, 170px);
	line-height: 1;
	letter-spacing: -0.04em;
	color: transparent;
	-webkit-text-stroke: 1px color-mix(in oklab, var(--accent) 55%, transparent);
}
.year-digits .d {
	display: block;
	height: 1em;
	overflow: hidden;
}
.year-digits .d span {
	display: flex;
	flex-direction: column;
	transform: translateY(calc(var(--n, 0) * -1em));
	transition: transform 1s var(--ease);
}
.year-digits .d i {
	display: block;
	height: 1em;
	font-style: normal;
}
.year-sub {
	margin: 6px 0 0 6px;
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--ink-3);
}

/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */
main {
	position: relative;
	z-index: 2;
}

.hero {
	position: relative;
	min-height: 100vh;
	min-height: 100svh;
	display: grid;
	place-items: center;
	text-align: center;
	padding: 90px 16px 60px;
	overflow: hidden;
}
.hero canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}
.hero-inner {
	position: relative;
	max-width: 980px;
}
.hero-kicker {
	font-family: var(--mono);
	font-size: 12px;
	letter-spacing: 0.4em;
	text-transform: uppercase;
	color: var(--accent);
	margin: 0 0 18px;
}
.hero h1 {
	margin: 0;
	font-size: clamp(64px, 14vw, 188px);
	line-height: 0.95;
	font-weight: 900;
	letter-spacing: -0.03em;
}
/* 渐变放在每个字上：带 transform 动画的子元素不会继承父元素的 background-clip: text */
.hero h1 span {
	background: linear-gradient(180deg, #fff 30%, color-mix(in oklab, var(--accent) 70%, #fff) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	display: inline-block;
	animation: rise 1.2s var(--ease) both;
	animation-delay: calc(var(--i) * 0.08s + 0.1s);
}
@keyframes rise {
	from {
		opacity: 0;
		transform: translateY(0.3em) scale(0.96);
		filter: blur(8px);
	}
	to {
		opacity: 1;
		transform: none;
		filter: blur(0);
	}
}
.hero-en {
	margin: 18px 0 0;
	font-family: var(--serif);
	font-style: italic;
	font-size: clamp(18px, 2.6vw, 28px);
	color: var(--ink-2);
}
.hero-tag {
	margin: 12px auto 0;
	max-width: 36em;
	font-size: clamp(15px, 1.8vw, 18px);
	color: var(--ink-3);
}
.hero-span {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 42px auto 0;
	max-width: 560px;
	font-family: var(--mono);
	font-size: 15px;
	color: var(--ink-2);
}
.hero-span i {
	position: relative;
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, var(--ink-4), var(--accent), var(--ink-4));
}
.hero-span i::after {
	content: "";
	position: absolute;
	top: -3px;
	left: 0;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--accent);
	box-shadow: 0 0 12px var(--accent);
	animation: travel 4.5s ease-in-out infinite;
}
@keyframes travel {
	0% {
		left: 0;
	}
	50% {
		left: calc(100% - 7px);
	}
	100% {
		left: 0;
	}
}
.hero-stats {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 28px;
	margin: 26px 0 0;
	padding: 0;
	list-style: none;
	font-size: 13px;
	color: var(--ink-3);
}
.hero-stats b {
	display: block;
	font-family: var(--mono);
	font-size: 26px;
	font-weight: 500;
	color: var(--ink);
	line-height: 1.2;
}
.hero-cta {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	margin-top: 46px;
	font-size: 13px;
	color: var(--ink-3);
	text-decoration: none;
	letter-spacing: 0.1em;
}
.hero-cta::after {
	content: "";
	width: 1px;
	height: 46px;
	background: linear-gradient(180deg, var(--accent), transparent);
	animation: drip 2s ease-in-out infinite;
	transform-origin: 50% 0;
}
@keyframes drip {
	0% {
		transform: scaleY(0);
		opacity: 1;
	}
	70% {
		transform: scaleY(1);
		opacity: 1;
	}
	100% {
		transform: scaleY(1);
		opacity: 0;
	}
}
.hero-keys {
	margin-top: 18px;
	font-size: 12px;
	color: var(--ink-3);
	opacity: 0.8;
}
kbd {
	display: inline-block;
	min-width: 20px;
	padding: 0 5px;
	border: 1px solid var(--line);
	border-bottom-width: 2px;
	border-radius: 5px;
	font-family: var(--mono);
	font-size: 11px;
	line-height: 18px;
	color: var(--ink-2);
	background: rgba(255, 255, 255, 0.04);
}

/* ---------------------------------------------------------
   时间线：年代章节
   --------------------------------------------------------- */
.timeline {
	position: relative;
	padding: 0 16px;
}
.era {
	position: relative;
	max-width: 1080px;
	margin: 0 auto;
	padding-bottom: 40px;
}
.era-head {
	position: relative;
	min-height: 78vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 120px 0 80px;
	max-width: 760px;
	margin: 0 auto;
	text-align: center;
}
.era-no {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin: 0 0 22px;
	font-family: var(--mono);
	font-size: 12px;
	letter-spacing: 0.36em;
	color: var(--accent);
}
.era-no::before,
.era-no::after {
	content: "";
	width: 48px;
	height: 1px;
	background: currentColor;
	opacity: 0.5;
}
.era-head h2 {
	margin: 0;
	font-size: clamp(40px, 7.4vw, 92px);
	line-height: 1.05;
	font-weight: 800;
	letter-spacing: -0.02em;
}
.era-en {
	margin: 14px 0 0;
	font-family: var(--serif);
	font-style: italic;
	font-size: clamp(17px, 2.2vw, 24px);
	color: var(--ink-2);
}
.era-range {
	margin: 18px 0 0;
	font-family: var(--mono);
	font-size: 15px;
	color: var(--accent);
	letter-spacing: 0.1em;
}
.era-intro {
	margin: 26px auto 0;
	max-width: 34em;
	font-size: clamp(15px, 1.7vw, 17.5px);
	color: var(--ink-2);
	line-height: 1.9;
}

/* 每个年代的标题各有性格 */
.era--paper h2 {
	font-family: var(--serif);
	font-weight: 700;
	color: var(--accent-2);
}
.era--paper .era-intro {
	font-family: var(--serif);
}
.era--snow h2 {
	background: linear-gradient(180deg, #fff 20%, var(--accent) 110%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	filter: drop-shadow(0 0 22px color-mix(in oklab, var(--accent) 45%, transparent));
}
.era--snow .era-head::before {
	content: "❄";
	display: block;
	align-self: center;
	font-size: 28px;
	color: var(--accent);
	margin-bottom: 14px;
	animation: spin 14s linear infinite;
}
.era--crt h2 {
	font-family: var(--mono);
	font-weight: 600;
	font-size: clamp(30px, 5.4vw, 64px);
	color: var(--accent);
	text-shadow:
		0 0 8px color-mix(in oklab, var(--accent) 70%, transparent),
		0 0 28px color-mix(in oklab, var(--accent) 35%, transparent);
}
.era--crt h2::after {
	content: "▌";
	margin-left: 6px;
	animation: blink 1s steps(2) infinite;
}
.era--crt .era-intro {
	font-family: var(--mono);
	font-size: 14.5px;
	color: color-mix(in oklab, var(--accent) 60%, var(--ink-2));
}
.era--neon h2 {
	color: #fff;
	text-shadow:
		0 0 12px color-mix(in oklab, var(--accent) 80%, transparent),
		0 0 40px color-mix(in oklab, var(--accent) 45%, transparent),
		0 0 80px color-mix(in oklab, var(--accent-2) 30%, transparent);
}
.era--aurora h2 {
	background: linear-gradient(100deg, var(--accent), var(--accent-2), #fff, var(--accent));
	background-size: 300% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	animation: aurora 9s ease-in-out infinite alternate;
}
@keyframes aurora {
	to {
		background-position: 100% 0;
	}
}

/* ---------------------------------------------------------
   时间线：事件
   --------------------------------------------------------- */
.events {
	position: relative;
	list-style: none;
	margin: 0;
	padding: 0;
}
.events::before {
	content: "";
	position: absolute;
	left: 50%;
	top: -40px;
	bottom: -40px;
	width: 1px;
	background: linear-gradient(180deg, transparent, var(--ink-4) 6%, var(--ink-4) 94%, transparent);
}

.ev {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 76px;
	align-items: center;
	margin: 0 0 56px;
	opacity: 0;
	transform: translateY(46px);
	transition:
		opacity 0.9s var(--ease),
		transform 0.9s var(--ease);
}
.ev.is-in {
	opacity: 1;
	transform: none;
}
.ev::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 1;
	width: 11px;
	height: 11px;
	margin: -5.5px 0 0 -5.5px;
	border-radius: 50%;
	background: var(--bg);
	border: 1.5px solid var(--ink-3);
	transition:
		transform 0.4s var(--ease),
		background 0.4s,
		border-color 0.4s,
		box-shadow 0.4s;
}
.ev.is-active::before {
	transform: scale(1.5);
	background: var(--accent);
	border-color: var(--accent);
	box-shadow:
		0 0 0 6px color-mix(in oklab, var(--accent) 18%, transparent),
		0 0 18px var(--accent);
}
.ev-date {
	font-family: var(--mono);
	color: var(--ink-3);
	line-height: 1.2;
}
.ev-date b {
	display: block;
	font-size: 34px;
	font-weight: 300;
	color: var(--ink-2);
	letter-spacing: -0.02em;
	transition: color 0.4s;
}
.ev-date small {
	font-size: 12px;
	letter-spacing: 0.1em;
}
.ev.is-active .ev-date b {
	color: var(--accent);
}
.ev.is-left .card {
	grid-column: 1;
	grid-row: 1;
	justify-self: end;
}
.ev.is-left .ev-date {
	grid-column: 2;
	grid-row: 1;
}
.ev.is-right .card {
	grid-column: 2;
	grid-row: 1;
}
.ev.is-right .ev-date {
	grid-column: 1;
	grid-row: 1;
	text-align: right;
}

/* 卡片 */
.card {
	position: relative;
	width: 100%;
	max-width: 440px;
	border-radius: 18px;
	background: var(--card);
	border: 1px solid var(--line);
	backdrop-filter: blur(12px) saturate(1.2);
	-webkit-backdrop-filter: blur(12px) saturate(1.2);
	overflow: hidden;
	transition:
		border-color 0.4s,
		transform 0.4s var(--ease),
		box-shadow 0.4s;
}
.card:hover {
	transform: translateY(-4px);
	border-color: color-mix(in oklab, var(--accent) 50%, transparent);
	box-shadow: 0 18px 50px -20px color-mix(in oklab, var(--accent) 45%, transparent);
}
.ev.is-active .card {
	border-color: color-mix(in oklab, var(--accent) 38%, transparent);
}
.card-link {
	position: absolute;
	inset: 0;
	z-index: 3;
	border-radius: inherit;
}
.card-link:focus-visible {
	outline-offset: -2px;
}
.card-art {
	position: relative;
	aspect-ratio: 16 / 10;
	background:
		radial-gradient(90% 90% at 50% 50%, color-mix(in oklab, var(--accent) 7%, transparent), transparent),
		rgba(255, 255, 255, 0.015);
	border-bottom: 1px solid var(--line);
	overflow: hidden;
}
.card-art > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 1.2s var(--ease);
}
.card:hover .card-art > img {
	transform: scale(1.05);
}
.card-art > img.is-invert,
.d-hero img.is-invert {
	object-fit: contain;
	filter: invert(1) hue-rotate(180deg) brightness(0.92);
	padding: 10px;
}
.card-art .photo-tag {
	position: absolute;
	right: 10px;
	bottom: 8px;
	z-index: 1;
	padding: 1px 8px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.55);
	font-size: 10.5px;
	color: var(--ink-2);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}
.card-body {
	padding: 16px 20px 20px;
}
.card-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin-bottom: 8px;
	font-size: 11.5px;
	color: var(--ink-3);
}
.card-meta time {
	font-family: var(--mono);
	color: var(--accent);
	margin-right: 4px;
}
.tag {
	display: inline-flex;
	align-items: center;
	height: 20px;
	padding: 0 8px;
	border-radius: 999px;
	border: 1px solid var(--line);
	font-size: 11px;
	line-height: 1;
}
.tag--open {
	border-color: color-mix(in oklab, var(--accent-2) 50%, transparent);
	color: var(--accent-2);
}
.tag--paper {
	color: var(--ink-2);
}
.card h3 {
	margin: 0;
	font-size: 20px;
	line-height: 1.35;
	font-weight: 700;
	letter-spacing: 0.01em;
}
.card-en {
	margin: 4px 0 0;
	font-family: var(--serif);
	font-style: italic;
	font-size: 14px;
	line-height: 1.45;
	color: var(--ink-3);
}
.card-line {
	margin: 10px 0 0;
	font-size: 14.5px;
	color: var(--ink-2);
	line-height: 1.75;
}
.card-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 14px;
	font-size: 12.5px;
	color: var(--accent);
	letter-spacing: 0.04em;
}
.card-more::after {
	content: "→";
	transition: transform 0.3s var(--ease);
}
.card:hover .card-more::after {
	transform: translateX(4px);
}

/* 里程碑（level 1）：横跨中轴的大卡片 */
.ev--m1 {
	display: block;
	margin: 110px 0;
}
.ev--m1::before {
	top: -38px;
	width: 15px;
	height: 15px;
	margin: 0 0 0 -7.5px;
	border-color: var(--accent);
	animation: ring 2.6s ease-out infinite;
}
@keyframes ring {
	0% {
		box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 60%, transparent);
	}
	100% {
		box-shadow: 0 0 0 18px transparent;
	}
}
.ev--m1 .card {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	max-width: none;
	border-radius: 24px;
	border-color: color-mix(in oklab, var(--accent) 28%, transparent);
	box-shadow: 0 30px 80px -40px color-mix(in oklab, var(--accent) 55%, transparent);
}
.ev--m1 .card-art {
	aspect-ratio: auto;
	min-height: 330px;
	border-bottom: 0;
	border-right: 1px solid var(--line);
}
.ev--m1 .card-body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 34px 38px;
}
.ev--m1 h3 {
	font-size: clamp(24px, 3vw, 34px);
	line-height: 1.25;
}
.ev--m1 .card-en {
	font-size: 16px;
	margin-top: 8px;
}
.ev--m1 .card-line {
	font-size: 16px;
	margin-top: 16px;
}
.ev--m1 .ev-date {
	display: none;
}
.badge-m {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	align-self: flex-start;
	margin-bottom: 14px;
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 11.5px;
	letter-spacing: 0.16em;
	color: #0a0b10;
	background: var(--accent);
	box-shadow: 0 0 22px color-mix(in oklab, var(--accent) 55%, transparent);
}
.badge-m::before {
	content: "★";
	font-size: 10px;
}
.ev--m1.is-flip .card {
	grid-template-columns: 1fr 1.15fr;
}
.ev--m1.is-flip .card-art {
	order: 2;
	border-right: 0;
	border-left: 1px solid var(--line);
}

/* 划时代（level 2）：整屏舞台 */
.ev--m2 {
	display: block;
	margin: 140px calc(50% - 50vw);
	padding: 0 16px;
	min-height: 100vh;
	min-height: 100svh;
}
.ev--m2::before {
	display: none;
}
.stage {
	position: relative;
	min-height: 100vh;
	min-height: 100svh;
	display: grid;
	place-items: center;
	text-align: center;
	isolation: isolate;
}
.stage-year {
	position: absolute;
	inset: 0;
	z-index: -1;
	display: grid;
	place-items: center;
	font-family: var(--mono);
	font-weight: 800;
	font-size: clamp(140px, 30vw, 440px);
	line-height: 1;
	letter-spacing: -0.05em;
	color: transparent;
	-webkit-text-stroke: 1px color-mix(in oklab, var(--accent) 22%, transparent);
	user-select: none;
}
.stage-inner {
	position: relative;
	max-width: 980px;
	width: 100%;
}
.stage-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 26px;
	padding: 6px 16px;
	border-radius: 999px;
	border: 1px solid color-mix(in oklab, var(--accent) 55%, transparent);
	font-family: var(--mono);
	font-size: 12px;
	letter-spacing: 0.3em;
	color: var(--accent);
	background: color-mix(in oklab, var(--accent) 10%, transparent);
}
.stage-art {
	position: relative;
	width: min(760px, 100%);
	aspect-ratio: 16 / 10;
	margin: 0 auto;
	filter: drop-shadow(0 0 24px color-mix(in oklab, var(--accent) 35%, transparent));
}
.stage-en {
	margin: 30px 0 0;
	font-family: var(--serif);
	font-style: italic;
	font-size: clamp(26px, 4.4vw, 58px);
	line-height: 1.12;
	color: #fff;
	text-shadow: 0 0 40px color-mix(in oklab, var(--accent) 40%, transparent);
}
.stage h3 {
	margin: 14px 0 0;
	font-size: clamp(18px, 2.4vw, 26px);
	font-weight: 600;
	color: var(--accent-2);
}
.stage-line {
	margin: 18px auto 0;
	max-width: 36em;
	font-size: clamp(15px, 1.8vw, 18px);
	color: var(--ink-2);
	line-height: 1.85;
}
.stage-btn {
	position: relative;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 30px;
	height: 46px;
	padding: 0 26px;
	border-radius: 999px;
	border: 1px solid var(--accent);
	background: color-mix(in oklab, var(--accent) 16%, transparent);
	color: var(--ink);
	text-decoration: none;
	font-size: 15px;
	transition:
		background 0.3s,
		box-shadow 0.3s;
}
.stage-btn:hover {
	background: color-mix(in oklab, var(--accent) 30%, transparent);
	box-shadow: 0 0 34px color-mix(in oklab, var(--accent) 45%, transparent);
}
.stage-who {
	margin-top: 18px;
	font-size: 12.5px;
	color: var(--ink-3);
}

/* 只看里程碑 */
body.only-m .ev--m0 {
	display: none;
}
body.only-m .era-head {
	min-height: 0;
	padding: 90px 0 30px;
}
body.only-m .era-intro {
	display: none;
}

/* ---------------------------------------------------------
   原理插画（SVG 内部的配色与动画）
   --------------------------------------------------------- */
.art-svg {
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
}
.art-svg text {
	font-family: var(--mono);
}
.art-svg .sa {
	stroke: var(--accent);
	fill: none;
}
.art-svg .sb {
	stroke: var(--accent-2);
	fill: none;
}
.art-svg .sm {
	stroke: var(--ink-3);
	fill: none;
}
.art-svg .sd {
	stroke: var(--ink-4);
	fill: none;
}
.art-svg .fa {
	fill: var(--accent);
}
.art-svg .fb {
	fill: var(--accent-2);
}
.art-svg .fm {
	fill: var(--ink-3);
}
.art-svg .fd {
	fill: rgba(255, 255, 255, 0.045);
}
.art-svg .fi {
	fill: var(--ink);
}
.art-svg .fk {
	fill: #0b0d14;
}
.art-svg .tl {
	fill: var(--ink-2);
}
.art-svg .tm {
	fill: var(--ink-3);
}
.art-svg .ta {
	fill: var(--accent);
}
.art-svg .tb {
	fill: var(--accent-2);
}
.art-svg .ti,
.art-svg .tbig {
	fill: var(--ink);
}
.art-svg .tk {
	fill: #0a0b10;
}
.art-svg [class~="sa"][class~="fd"],
.art-svg [class~="sm"][class~="fd"],
.art-svg [class~="sb"][class~="fd"] {
	fill: rgba(255, 255, 255, 0.045);
}
.art-svg [class~="sa"][class~="fa"] {
	fill: var(--accent);
}

.art-svg .flow {
	stroke-dasharray: 5 7;
	animation: flow 1.4s linear infinite;
	animation-delay: calc(var(--i, 0) * -0.2s);
}
.art-svg .flow-r {
	stroke-dasharray: 5 7;
	animation: flow 1.4s linear infinite reverse;
}
.art-svg .pulse {
	animation: pulse 2.4s ease-in-out infinite;
	animation-delay: calc(var(--i, 0) * 0.16s);
}
.art-svg .pop {
	animation: pop 5.5s var(--ease) infinite backwards;
	animation-delay: calc(var(--i, 0) * 0.12s);
}
.art-svg .blink {
	animation: blink 1s steps(2) infinite;
}
.art-svg .spin {
	transform-box: fill-box;
	transform-origin: center;
	animation: spin 16s linear infinite;
}
.art-svg .scan {
	animation: scan 5s ease-in-out infinite;
}
.art-svg .grow {
	transform-box: fill-box;
	transform-origin: 0 50%;
	animation: grow 4s var(--ease) infinite;
}
.art-svg .draw {
	stroke-dasharray: 600;
	animation: draw 4.5s var(--ease) infinite;
}
.art-svg .eq {
	transform-box: fill-box;
	transform-origin: 50% 50%;
	animation: eq 1.1s ease-in-out infinite alternate;
	animation-delay: calc(var(--i, 0) * -0.09s);
}

@keyframes flow {
	to {
		stroke-dashoffset: -24;
	}
}
@keyframes pulse {
	0%,
	100% {
		opacity: 0.3;
	}
	50% {
		opacity: 1;
	}
}
@keyframes pop {
	0% {
		opacity: 0;
		transform: translateY(4px);
	}
	8%,
	82% {
		opacity: 1;
		transform: none;
	}
	94%,
	100% {
		opacity: 0;
	}
}
@keyframes blink {
	50% {
		opacity: 0;
	}
}
@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}
@keyframes scan {
	0% {
		transform: translate(24px, 70px);
	}
	25% {
		transform: translate(94px, 70px);
	}
	50% {
		transform: translate(94px, 140px);
	}
	75% {
		transform: translate(24px, 140px);
	}
	100% {
		transform: translate(24px, 70px);
	}
}
@keyframes grow {
	0% {
		transform: scaleX(0);
	}
	35%,
	100% {
		transform: scaleX(1);
	}
}
@keyframes draw {
	0% {
		stroke-dashoffset: 600;
	}
	50%,
	100% {
		stroke-dashoffset: 0;
	}
}
@keyframes eq {
	from {
		transform: scaleY(0.35);
	}
	to {
		transform: scaleY(1);
	}
}

/* 不在视口里的插画暂停动画；背景里的插画永远静止 */
.art-svg:not(.is-live) *,
.art-svg.still * {
	animation-play-state: paused !important;
}
.art-svg.still .pop,
.art-svg.still .grow,
.art-svg.still .draw {
	animation: none !important;
	opacity: 1;
}

/* ---------------------------------------------------------
   结尾
   --------------------------------------------------------- */
.outro {
	position: relative;
	max-width: 900px;
	margin: 0 auto;
	padding: 160px 16px 80px;
	text-align: center;
}
.outro-kicker {
	font-family: var(--mono);
	font-size: 12px;
	letter-spacing: 0.36em;
	color: var(--accent);
}
.outro h2 {
	margin: 18px 0 0;
	font-size: clamp(40px, 7vw, 84px);
	line-height: 1.05;
	font-weight: 800;
}
.outro-gen {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 38px auto 0;
	font-family: var(--mono);
	font-size: clamp(14px, 2vw, 18px);
}
.outro-gen span {
	padding: 6px 12px;
	border-radius: 8px;
	border: 1px solid var(--line);
	background: rgba(255, 255, 255, 0.03);
	opacity: 0;
	transform: translateY(8px);
	transition:
		opacity 0.5s,
		transform 0.5s var(--ease);
	transition-delay: calc(var(--i) * 0.35s);
}
.outro.is-in .outro-gen span {
	opacity: 1;
	transform: none;
}
.outro-gen .cursor {
	border-color: var(--accent);
	color: var(--accent);
	animation: blink 1s steps(2) infinite;
}
.outro-note {
	margin: 40px auto 0;
	max-width: 38em;
	font-size: 14.5px;
	color: var(--ink-3);
	line-height: 1.9;
}
.outro-note a {
	color: var(--accent);
}
.credits {
	margin: 60px auto 0;
	max-width: 760px;
	text-align: left;
	font-size: 12.5px;
	color: var(--ink-3);
}
.credits summary {
	cursor: pointer;
	text-align: center;
	list-style: none;
	color: var(--ink-2);
}
.credits summary::-webkit-details-marker {
	display: none;
}
.credits summary::after {
	content: " ▾";
	color: var(--accent);
}
.credits[open] summary::after {
	content: " ▴";
}
.credits ul {
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 6px;
}
.credits li {
	padding: 8px 12px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.025);
}
.credits a {
	color: var(--ink-2);
}
.outro-home {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 48px;
	padding: 10px 22px;
	border-radius: 999px;
	border: 1px solid var(--line);
	text-decoration: none;
	color: var(--ink-2);
	transition:
		border-color 0.2s,
		color 0.2s;
}
.outro-home:hover {
	border-color: var(--accent);
	color: var(--ink);
}

/* ---------------------------------------------------------
   详情抽屉
   --------------------------------------------------------- */
.drawer-mask {
	position: fixed;
	inset: 0;
	z-index: 40;
	background: rgba(2, 3, 6, 0.55);
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
	opacity: 0;
	transition: opacity 0.4s;
}
.drawer-mask.is-open {
	opacity: 1;
}
.drawer {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 41;
	width: min(640px, 100vw);
	display: flex;
	flex-direction: column;
	background: linear-gradient(180deg, color-mix(in oklab, var(--accent) 7%, #0b0d14), #07080d 40%);
	border-left: 1px solid color-mix(in oklab, var(--accent) 25%, var(--line));
	box-shadow: -40px 0 120px -40px color-mix(in oklab, var(--accent) 40%, transparent);
	transform: translateX(104%);
	transition: transform 0.55s var(--ease);
}
.drawer.is-open {
	transform: none;
}
.drawer[hidden],
.drawer-mask[hidden] {
	display: none;
}
.d-close {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 3;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1px solid var(--line);
	background: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	cursor: pointer;
	font-size: 18px;
	line-height: 1;
	transition: border-color 0.2s;
}
.d-close:hover {
	border-color: var(--accent);
}
.d-scroll {
	flex: 1;
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: thin;
	scrollbar-color: var(--ink-4) transparent;
}
.d-hero {
	position: relative;
	aspect-ratio: 16 / 10;
	background: radial-gradient(80% 80% at 50% 50%, color-mix(in oklab, var(--accent) 10%, transparent), transparent);
	border-bottom: 1px solid var(--line);
}
.d-hero img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: #000;
}
/* 反色时背景也会被反，白底反过来才是黑底 */
.d-hero img.is-invert {
	background: #fff;
}
.d-hero .art-svg {
	padding: 18px;
}
.d-credit {
	margin: 0;
	padding: 8px 28px;
	font-size: 11.5px;
	color: var(--ink-3);
	border-bottom: 1px solid var(--line);
}
.d-credit a {
	color: var(--ink-2);
}
.d-body {
	padding: 26px 28px 40px;
}
.d-meta {
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 10px;
	align-items: center;
	font-size: 12.5px;
	color: var(--ink-3);
}
.d-meta time {
	font-family: var(--mono);
	color: var(--accent);
	font-size: 13px;
}
.drawer h2 {
	margin: 12px 0 0;
	font-size: clamp(24px, 3.4vw, 32px);
	line-height: 1.3;
	font-weight: 800;
}
.d-en {
	margin: 8px 0 0;
	font-family: var(--serif);
	font-style: italic;
	font-size: 16px;
	color: var(--ink-2);
	line-height: 1.5;
}
.d-who {
	margin: 8px 0 0;
	font-size: 13px;
	color: var(--ink-3);
}
.d-line {
	margin: 22px 0 0;
	padding: 16px 18px;
	border-left: 3px solid var(--accent);
	border-radius: 0 12px 12px 0;
	background: color-mix(in oklab, var(--accent) 8%, transparent);
	font-size: 16px;
	line-height: 1.8;
	color: var(--ink);
}
.d-sec {
	margin-top: 32px;
}
.d-sec h4 {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 12px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.24em;
	color: var(--accent);
}
.d-sec h4::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--line);
}
.d-sec p {
	margin: 0 0 14px;
	font-size: 15.5px;
	line-height: 1.95;
	color: var(--ink-2);
}
.d-figure {
	margin: 18px 0;
	border-radius: 14px;
	border: 1px solid var(--line);
	background: rgba(255, 255, 255, 0.02);
	aspect-ratio: 16 / 10;
	padding: 10px;
}
.d-figure-cap {
	margin: -8px 0 16px;
	font-size: 12px;
	color: var(--ink-3);
	text-align: center;
}
.d-formula,
.d-code {
	margin: 16px 0;
	padding: 14px 16px;
	border-radius: 12px;
	border: 1px solid var(--line);
	background: rgba(0, 0, 0, 0.4);
	font-family: var(--mono);
	font-size: 13px;
	line-height: 1.75;
	color: var(--ink);
	overflow-x: auto;
	white-space: pre;
	tab-size: 4;
}
.d-formula {
	border-color: color-mix(in oklab, var(--accent) 30%, var(--line));
	color: var(--accent-2);
	font-size: 14px;
}
.d-code .c {
	color: var(--ink-3);
}
.d-code .k {
	color: var(--accent);
}
.d-code .s {
	color: var(--accent-2);
}
.d-label {
	display: block;
	margin-bottom: -8px;
	font-size: 11px;
	letter-spacing: 0.16em;
	color: var(--ink-3);
}
.d-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 8px;
}
.d-links a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border-radius: 12px;
	border: 1px solid var(--line);
	background: rgba(255, 255, 255, 0.025);
	text-decoration: none;
	font-size: 14px;
	color: var(--ink-2);
	transition:
		border-color 0.2s,
		background 0.2s,
		color 0.2s;
}
.d-links a:hover {
	border-color: color-mix(in oklab, var(--accent) 60%, transparent);
	background: color-mix(in oklab, var(--accent) 8%, transparent);
	color: var(--ink);
}
.d-links .lt {
	flex: none;
	min-width: 44px;
	padding: 2px 8px;
	border-radius: 6px;
	font-size: 11px;
	text-align: center;
	background: rgba(255, 255, 255, 0.06);
	color: var(--ink-3);
}
.d-links .lt--paper {
	background: color-mix(in oklab, var(--accent) 22%, transparent);
	color: var(--accent);
}
.d-links .lt--code {
	background: color-mix(in oklab, var(--accent-2) 20%, transparent);
	color: var(--accent-2);
}
.d-links .lu {
	margin-left: auto;
	font-family: var(--mono);
	font-size: 11px;
	color: var(--ink-3);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 40%;
}
.d-bar {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
	border-top: 1px solid var(--line);
	background: rgba(5, 6, 10, 0.8);
}
.d-bar button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	max-width: 42%;
	height: 38px;
	padding: 0 14px;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: rgba(255, 255, 255, 0.04);
	font-size: 13px;
	cursor: pointer;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.d-bar button:hover:not(:disabled) {
	border-color: var(--accent);
}
.d-bar button:disabled {
	opacity: 0.35;
	cursor: default;
}
.d-bar button span {
	overflow: hidden;
	text-overflow: ellipsis;
}
.d-count {
	flex: 1;
	text-align: center;
	font-family: var(--mono);
	font-size: 12px;
	color: var(--ink-3);
}
body.drawer-open {
	overflow: hidden;
}

/* ---------------------------------------------------------
   ?gallery 调试页
   --------------------------------------------------------- */
.gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 16px;
	padding: 80px 16px 40px;
	max-width: 1400px;
	margin: 0 auto;
}
.gallery figure {
	margin: 0;
	border-radius: 14px;
	border: 1px solid var(--line);
	background: var(--card);
	padding: 10px;
}
.gallery figcaption {
	font-family: var(--mono);
	font-size: 12px;
	color: var(--accent);
	text-align: center;
}

/* ---------------------------------------------------------
   响应式
   --------------------------------------------------------- */
/* 宽屏两侧有年代导航和参数量标尺，时间线给它们让出位置 */
@media (min-width: 1321px) {
	.timeline {
		padding: 0 212px;
	}
}

@media (max-width: 1320px) {
	.rail,
	.gauge {
		display: none;
	}
	.year {
		left: 22px;
	}
}

@media (max-width: 860px) {
	.events::before {
		left: 14px;
	}
	.ev {
		display: block;
		padding-left: 38px;
		margin-bottom: 36px;
	}
	.ev::before {
		left: 14px;
		top: 26px;
	}
	.ev-date {
		display: none;
	}
	.card {
		max-width: none;
	}
	.ev--m1 {
		margin: 64px 0;
	}
	.ev--m1::before {
		top: 26px;
	}
	.ev--m1 .card,
	.ev--m1.is-flip .card {
		display: block;
	}
	.ev--m1 .card-art,
	.ev--m1.is-flip .card-art {
		aspect-ratio: 16 / 10;
		min-height: 0;
		border: 0;
		border-bottom: 1px solid var(--line);
	}
	.ev--m1 .card-body {
		padding: 22px 22px 24px;
	}
	.ev--m2 {
		margin: 80px calc(50% - 50vw);
		padding: 0 16px;
	}
	.era-head {
		min-height: 64vh;
		padding: 100px 0 50px;
	}
	.year {
		left: 12px;
		bottom: 10px;
	}
	.year-digits {
		font-size: 64px;
		-webkit-text-stroke-color: color-mix(in oklab, var(--accent) 35%, transparent);
	}
	.year-sub {
		display: none;
	}
	.hero-keys {
		display: none;
	}
	.now {
		text-align: left;
	}
}

@media (max-width: 520px) {
	.home span {
		display: none;
	}
	.chip {
		padding: 0 12px;
	}
	.card-body {
		padding: 14px 16px 18px;
	}
	.card h3 {
		font-size: 18px;
	}
	.d-body {
		padding: 22px 18px 34px;
	}
	.d-credit {
		padding: 8px 18px;
	}
	.d-links .lu {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	*,
	*::before,
	*::after {
		animation-duration: 0.001s !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001s !important;
	}
	.ev {
		opacity: 1;
		transform: none;
	}
	.art-svg .pop,
	.art-svg .grow,
	.art-svg .draw {
		opacity: 1;
		transform: none;
		stroke-dashoffset: 0;
	}
}
