:root {
  --red: #b3121a;
  --red-deep: #7a0a10;
  --red-dark: #2a0a0b;
  --red-soft: #f6e4df;
  --gold: #c9a24a;
  --gold-light: #ecd08a;
  --gold-pale: #f7ecd0;
  --paper: #f6f0e4;
  --paper-2: #efe6d4;
  --card: #fffdf8;
  --ink: #1e1412;
  --ink-2: #4a3a34;
  --ink-3: #8a776e;
  --line: #e2d4bd;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Source Han Serif CN", "Songti SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", -apple-system, sans-serif;
  --wrap: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 18px 40px -22px rgba(60, 10, 10, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 16px/1.85 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.mourn { filter: grayscale(1); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 900; line-height: 1.3; margin: 0; }
p { margin: 0; }
button { font: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }
.serif { font-family: var(--serif); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.ph { background: linear-gradient(135deg, var(--red-deep), var(--red)); color: var(--gold-light); display: grid; place-items: center; font-family: var(--serif); font-size: 42px; font-weight: 900; }

.utility { background: var(--red-dark); color: #cdb3a6; font-size: 13px; }
.utility .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 34px; gap: 12px; }
.utility b { color: var(--gold-light); font-weight: 600; }
.utility a:hover { color: var(--gold-light); }
@media (max-width: 640px) { .utility .u-right { display: none; } }

.topbar { position: sticky; top: 0; z-index: 60; transition: transform .4s var(--ease); }
body.home .topbar { position: fixed; left: 0; right: 0; }
.header { background: rgba(122, 10, 16, .97); transition: background .3s, box-shadow .3s; }
.topbar.scrolled .header { box-shadow: 0 8px 30px rgba(0, 0, 0, .25); }
body.home .header { background: linear-gradient(180deg, rgba(20, 2, 4, .55), transparent); }
body.home .topbar.scrolled .header { background: rgba(122, 10, 16, .97); }
.topbar.scrolled .utility, .topbar.scrolled .day-banner { display: none; }
.header .wrap { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 14px; color: #fff; flex: none; position: relative; z-index: 2; }
.seal { width: 48px; height: 48px; flex: none; display: block; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .35)); }
.seal .logo-svg { width: 100%; height: 100%; display: block; }
.brand-text { line-height: 1.25; }
.brand-text strong { display: block; font: 900 21px var(--serif); letter-spacing: .12em; }
.brand-text small { display: block; font-size: 11px; letter-spacing: .32em; color: var(--gold-light); opacity: .85; }
.nav { display: flex; margin-left: auto; gap: 2px; }
.nav a { position: relative; color: #f7e6d2; padding: 8px 12px; font-size: 15px; letter-spacing: .04em; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--gold-light); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav a:hover::after, .nav a.on::after { transform: scaleX(1); }
.nav a.on { color: var(--gold-light); }
.nav-toggle { display: none; position: relative; z-index: 2; margin-left: auto; width: 44px; height: 44px; background: none; border: 1px solid rgba(236, 208, 138, .5); border-radius: 6px; cursor: pointer; padding: 12px 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--gold-light); margin: 4px 0; transition: transform .3s, opacity .3s; }
@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(320px, 86vw); flex-direction: column; gap: 0; padding: 110px 28px 28px; background: var(--red-dark); transform: translateX(100%); transition: transform .4s var(--ease); z-index: 1; overflow-y: auto; }
  .nav.open { transform: none; box-shadow: -20px 0 60px rgba(0, 0, 0, .4); }
  .nav a { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid rgba(236, 208, 138, .12); }
  .nav a::after { display: none; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}
@media (max-width: 480px) { .brand-text small { display: none; } .brand-text strong { font-size: 18px; letter-spacing: .06em; } .seal { width: 40px; height: 40px; } }

.day-banner { background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold)); color: var(--red-dark); text-align: center; padding: 9px 16px; font-size: 15px; }
.day-banner strong { font-family: var(--serif); margin-right: 10px; }

.hero { position: relative; height: 100vh; min-height: 640px; max-height: 1080px; overflow: hidden; background: var(--red-dark); color: #fff; }
.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.slide.on { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.slide.on img, .slide.out img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30, 4, 6, .6) 0%, rgba(50, 4, 8, .45) 40%, rgba(60, 6, 10, .55) 65%, rgba(30, 4, 6, .95) 100%), radial-gradient(ellipse at 50% 50%, rgba(90, 6, 12, .35) 0%, rgba(80, 6, 10, .55) 100%); pointer-events: none; }
.hero-inner { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 120px 16px 120px; }
.hero-kicker { font-size: 13px; letter-spacing: .5em; color: var(--gold-light); margin-bottom: 26px; opacity: 0; animation: fade 1s .2s forwards; }
.hero-kicker::before, .hero-kicker::after { content: ""; display: inline-block; width: 46px; height: 1px; background: var(--gold-light); vertical-align: middle; margin: 0 16px; opacity: .7; }
.hero-title { font: 900 clamp(40px, 7.6vw, 112px)/1.15 var(--serif); letter-spacing: .1em; color: #fff7e6; text-shadow: 0 6px 30px rgba(0, 0, 0, .45); margin: 0; }
.hero-title span { display: inline-block; opacity: 0; transform: translateY(30px); animation: rise .9s var(--ease) forwards; }
.hero-title span:nth-child(1) { animation-delay: .3s } .hero-title span:nth-child(2) { animation-delay: .38s } .hero-title span:nth-child(3) { animation-delay: .46s } .hero-title span:nth-child(4) { animation-delay: .54s }
.hero-title span:nth-child(6) { animation-delay: .7s } .hero-title span:nth-child(7) { animation-delay: .78s } .hero-title span:nth-child(8) { animation-delay: .86s } .hero-title span:nth-child(9) { animation-delay: .94s } .hero-title span:nth-child(10) { animation-delay: 1.02s }
.hero-title .gold { color: var(--gold-light); }
.hero-title .br { display: none; }
@media (max-width: 760px) { .hero-title .br { display: block; } }
.hero-sub { margin-top: 26px; font-size: clamp(13px, 1.6vw, 17px); letter-spacing: .26em; color: #f3dcc0; text-transform: uppercase; opacity: 0; animation: fade 1s 1.3s forwards; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 44px; opacity: 0; animation: fade 1s 1.6s forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fade { to { opacity: 1; } }
.hero-caption { position: absolute; z-index: 3; right: 28px; bottom: 34px; text-align: right; font-size: 13px; color: #f0d8c0; letter-spacing: .1em; }
.hero-caption b { display: block; font: 700 18px var(--serif); color: #fff; letter-spacing: .14em; }
.hero-dots { position: absolute; z-index: 3; left: 28px; bottom: 40px; display: flex; gap: 10px; }
.hero-dots button { width: 34px; height: 3px; border: 0; padding: 0; background: rgba(255, 255, 255, .35); cursor: pointer; position: relative; overflow: hidden; }
.hero-dots button.on::after { content: ""; position: absolute; inset: 0; background: var(--gold-light); animation: bar 7s linear forwards; transform-origin: left; }
@keyframes bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.scroll-hint { position: absolute; z-index: 3; left: 50%; bottom: 26px; transform: translateX(-50%); width: 24px; height: 38px; border: 2px solid rgba(255, 255, 255, .55); border-radius: 12px; }
.scroll-hint::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--gold-light); animation: hint 1.8s infinite; }
@keyframes hint { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
@media (max-width: 640px) { .hero-caption { right: 16px; bottom: 70px; } .hero-dots { left: 16px; bottom: 78px; } .scroll-hint { display: none; } }
@media (prefers-reduced-motion: reduce) { .hero-title span, .hero-kicker, .hero-sub, .hero-actions { animation: none; opacity: 1; transform: none; } .slide img, .slide.on img, .slide.out img { animation: none; transform: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 600 15px var(--sans); letter-spacing: .12em; padding: 13px 30px; border-radius: 2px; border: 1px solid transparent; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s; }
.btn svg { width: 18px; height: 18px; }
.btn-gold { background: var(--gold-light); color: var(--red-dark); }
.btn-gold:hover { background: #fff1c7; transform: translateY(-2px); }
.btn-line { border-color: rgba(255, 240, 210, .7); color: #fff7e6; background: rgba(20, 2, 4, .25); }
.btn-line svg { fill: currentColor; }
.btn-line:hover { background: rgba(255, 255, 255, .1); border-color: var(--gold-light); color: var(--gold-light); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-deep); }
.btn-ghost { border-color: var(--red); color: var(--red); background: transparent; }
.btn-ghost:hover { background: var(--red); color: #fff; }
.btn-sm { padding: 6px 14px; font-size: 13px; letter-spacing: .04em; }
.btn-block { width: 100%; }

.section { padding: 110px 0; position: relative; }
.section.tight { padding: 70px 0; }
.section.alt { background: var(--paper-2); }
.section.dark { background: var(--red-dark); color: #f3e3d3; }
@media (max-width: 760px) { .section { padding: 70px 0; } .section.tight { padding: 48px 0; } }
.head { margin-bottom: 56px; }
.head.center { text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; letter-spacing: .36em; color: var(--red); font-weight: 600; margin-bottom: 14px; }
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.head.center .kicker::after { content: ""; width: 28px; height: 2px; background: currentColor; }
.dark .kicker { color: var(--gold-light); }
.head h2 { font-size: clamp(30px, 4.4vw, 52px); letter-spacing: .06em; color: var(--ink); }
.dark .head h2 { color: #fff7e6; }
.head p { margin-top: 16px; color: var(--ink-3); font-size: 17px; max-width: 720px; }
.head.center p { margin-left: auto; margin-right: auto; }
.dark .head p { color: #c9ad9c; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.head-row .more { flex: none; white-space: nowrap; margin-bottom: 60px; }
@media (max-width: 760px) { .head-row .more { margin: -30px 0 36px; } }
.more { display: inline-flex; align-items: center; gap: 8px; color: var(--red); font-weight: 600; letter-spacing: .1em; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.more:hover { gap: 14px; }
.dark .more { color: var(--gold-light); }
.more, .more:hover { transition: gap .25s; }

.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

.motto { position: relative; background: var(--paper); padding: 90px 0; text-align: center; overflow: hidden; }
.motto::before { content: "寄"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font: 900 360px/1 var(--serif); color: rgba(179, 18, 26, .045); pointer-events: none; }
.motto-label { font-size: 13px; letter-spacing: .5em; color: var(--gold); }
.motto-text { position: relative; font: 900 clamp(28px, 4.6vw, 54px)/1.5 var(--serif); color: var(--red-deep); margin: 18px auto 14px; max-width: 1000px; letter-spacing: .08em; }
.motto-src { color: var(--ink-3); letter-spacing: .1em; }

.numbers { position: relative; color: #fff; overflow: hidden; }
.numbers-bg { position: absolute; inset: 0; }
.numbers-bg img { width: 100%; height: 100%; object-fit: cover; }
.numbers::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(90, 6, 12, .94), rgba(122, 10, 16, .82) 50%, rgba(90, 6, 12, .94)); }
.numbers .wrap { position: relative; z-index: 2; }
.numbers .head h2 { color: #fff7e6; }
.numbers .kicker { color: var(--gold-light); }
.num-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(236, 208, 138, .3); border-left: 1px solid rgba(236, 208, 138, .3); }
.num { padding: 34px 30px; border-right: 1px solid rgba(236, 208, 138, .3); border-bottom: 1px solid rgba(236, 208, 138, .3); }
.num-v { font: 900 clamp(40px, 5vw, 64px)/1 var(--serif); color: var(--gold-light); letter-spacing: .02em; }
.num-v small { font-size: .36em; margin-left: 6px; color: #f3dcc0; font-weight: 600; }
.num-l { margin-top: 14px; font-size: 18px; font-weight: 600; color: #fff7e6; }
.num-n { font-size: 13px; color: #d8b9a6; margin-top: 4px; }
@media (max-width: 860px) { .num-grid { grid-template-columns: 1fr 1fr; } .num { padding: 24px 18px; } }

.road { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 360px); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 20px; scrollbar-width: thin; scrollbar-color: var(--red) transparent; }
.road-card { scroll-snap-align: start; position: relative; background: var(--card); box-shadow: var(--shadow); }
.road-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--red-deep); }
.road-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.road-card:hover .road-img img { transform: scale(1.06); }
.road-body { padding: 22px 24px 28px; }
.road-year { font: 900 44px/1 var(--serif); color: var(--red); }
.road-body h3 { font-size: 21px; margin: 10px 0 8px; }
.road-body p { color: var(--ink-2); font-size: 15px; line-height: 1.75; }

.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 14px; }
.tile { position: relative; overflow: hidden; background: var(--red-dark); color: #fff; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.tile:hover img { transform: scale(1.07); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(20, 2, 4, .88)); }
.tile-cap { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 18px; }
.tile-cap small { display: block; font-size: 12px; letter-spacing: .3em; color: var(--gold-light); }
.tile-cap h3 { font-size: 23px; margin-top: 4px; }
.tile-cap p { font-size: 14px; color: #ead6c4; margin-top: 4px; max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.tile:hover .tile-cap p { max-height: 80px; }
.tile.w2 { grid-column: span 2; } .tile.h2 { grid-row: span 2; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; grid-auto-rows: 260px; } .tile.w2, .tile.h2 { grid-column: auto; grid-row: auto; } .tile::after { background: linear-gradient(180deg, transparent 50%, rgba(20, 2, 4, .85)); } }

.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.portrait { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #3a1214; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: top center; filter: grayscale(1) contrast(1.05) sepia(.15); transition: filter .8s, transform 1.2s var(--ease); }
.portrait:hover img { filter: none; transform: scale(1.05); }
.portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(20, 2, 4, .9)); }
.portrait figcaption { position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 12px; color: #fff; }
.portrait b { display: block; font: 900 19px var(--serif); letter-spacing: .1em; }
.portrait small { font-size: 12px; color: var(--gold-light); }
@media (max-width: 1000px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 70px; align-items: center; }
.split.rev .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow); }
.split-media::before { content: ""; position: absolute; left: -18px; top: -18px; width: 45%; height: 55%; border: 2px solid var(--gold); z-index: -1; }
.split-media .stack { position: absolute; right: -30px; bottom: -40px; width: 46%; border: 8px solid var(--paper); box-shadow: var(--shadow); }
.split-text p { color: var(--ink-2); font-size: 17px; margin-bottom: 16px; }
.dark .split-text p { color: #d9c2b2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 50px; } .split.rev .split-media { order: 0; } .split-media .stack { right: -6px; bottom: -26px; } }

.slogans { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 26px 0; }
.slogans div { background: var(--red); color: var(--gold-light); font: 900 clamp(17px, 2vw, 22px) var(--serif); letter-spacing: .12em; text-align: center; padding: 16px 8px; border: 1px solid var(--gold); }
@media (max-width: 520px) { .slogans { grid-template-columns: 1fr; } }

.tracks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.track { position: relative; background: #3a1012; color: #fff; overflow: hidden; cursor: pointer; text-align: left; border: 0; padding: 0; }
.track-cover { aspect-ratio: 1; overflow: hidden; position: relative; }
.track-cover img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) brightness(.75); transition: transform 1s var(--ease), filter .5s; }
.track:hover .track-cover img { transform: scale(1.06); filter: none; }
.track-play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px; border-radius: 50%; background: rgba(179, 18, 26, .9); border: 2px solid var(--gold-light); display: grid; place-items: center; transition: transform .3s; }
.track:hover .track-play { transform: scale(1.1); }
.track-play svg { width: 24px; height: 24px; fill: var(--gold-light); }



.track.playing { outline: 3px solid var(--gold-light); }
.track-body { padding: 16px 18px 20px; }
.track-body b { display: block; font: 900 19px var(--serif); letter-spacing: .06em; }
.track-body small { color: #d0b3a2; font-size: 13px; }
@media (max-width: 900px) { .tracks { grid-template-columns: 1fr 1fr; } }

.player { position: fixed; left: 20px; bottom: 20px; z-index: 70; display: flex; align-items: center; gap: 12px; background: rgba(42, 10, 11, .96); color: #fff; padding: 8px 18px 8px 8px; border-radius: 999px; border: 1px solid rgba(236, 208, 138, .4); box-shadow: 0 12px 40px rgba(0, 0, 0, .35); max-width: calc(100vw - 40px); }
.player-btn { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 0; background: var(--red); display: grid; place-items: center; cursor: pointer; }
.player-btn svg { width: 18px; height: 18px; fill: var(--gold-light); }
.player .i-pause { display: none; }
.player.playing .i-play { display: none; }
.player.playing .i-pause { display: block; }
.player-info { min-width: 0; line-height: 1.35; }
.player-info b { display: block; font: 700 14px var(--serif); letter-spacing: .06em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-info small { font-size: 11px; color: #c9ad9c; }
.player-bar { width: 120px; height: 3px; background: rgba(255, 255, 255, .2); border-radius: 2px; overflow: hidden; margin-top: 4px; }
.player-bar i { display: block; height: 100%; width: 0; background: var(--gold-light); }
.player-next { background: none; border: 0; cursor: pointer; padding: 4px; }
.player-next svg { width: 18px; height: 18px; fill: #e8cfb9; }
.eq { display: none; gap: 2px; align-items: flex-end; height: 14px; }
.player.playing .eq { display: flex; }
.eq i { width: 3px; background: var(--gold-light); animation: eq 1s infinite ease-in-out; }
.eq i:nth-child(2) { animation-delay: .2s } .eq i:nth-child(3) { animation-delay: .4s }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 14px; } }
@media (max-width: 560px) { .player { left: 12px; bottom: 12px; } .player-bar { width: 80px; } }

.cheer { position: relative; overflow: hidden; color: #fff; text-align: center; }
.cheer-bg { position: absolute; inset: 0; }
.cheer-bg img { width: 100%; height: 100%; object-fit: cover; }
.cheer::after { content: ""; position: absolute; inset: 0; background: rgba(110, 8, 14, .86); }
.cheer .wrap { position: relative; z-index: 2; }
.cheer h2 { font-size: clamp(30px, 4.6vw, 54px); letter-spacing: .12em; color: #fff7e6; }
.cheer p { color: #f0d8c0; margin-top: 12px; }
.like-btn { margin-top: 36px; display: inline-flex; align-items: center; gap: 14px; font: 900 22px var(--serif); letter-spacing: .14em; color: var(--red-dark); background: var(--gold-light); border: 0; padding: 18px 46px; cursor: pointer; box-shadow: 0 0 0 8px rgba(236, 208, 138, .2); transition: transform .2s, box-shadow .3s; }
.like-btn:hover { transform: translateY(-3px); box-shadow: 0 0 0 14px rgba(236, 208, 138, .15); }
.like-btn svg { width: 26px; height: 26px; fill: var(--red); }
.like-btn[disabled] { cursor: default; transform: none; }
.like-count { margin-top: 26px; font-size: 16px; color: #f0d8c0; }
.like-count b { font: 900 40px var(--serif); color: var(--gold-light); margin: 0 6px; vertical-align: -4px; }
.like-msg { min-height: 1.8em; color: var(--gold-light); margin-top: 6px; }
.countdown { display: inline-flex; align-items: center; gap: 22px; margin-top: 40px; padding: 18px 30px; border: 1px solid rgba(236, 208, 138, .45); }
.countdown .cd-n { font: 900 52px/1 var(--serif); color: var(--gold-light); }
.countdown .cd-t { text-align: left; font-size: 14px; color: #f0d8c0; line-height: 1.6; }
.countdown .cd-t b { display: block; font: 900 20px var(--serif); color: #fff; }

.notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .notes { grid-template-columns: 1fr; } }
.note { background: var(--card); padding: 28px 28px 24px; border-top: 3px solid var(--red); box-shadow: var(--shadow); position: relative; }
.note::before { content: "“"; position: absolute; right: 22px; top: 6px; font: 900 80px/1 var(--serif); color: rgba(179, 18, 26, .12); }
.note-body { font-size: 16px; white-space: pre-wrap; word-break: break-word; color: var(--ink); }
.note-meta { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--ink-3); }
.note-meta b { color: var(--red-deep); font-size: 15px; }
.note-reply { margin-top: 14px; background: var(--gold-pale); padding: 10px 14px; font-size: 14px; white-space: pre-wrap; word-break: break-word; border-left: 3px solid var(--gold); }
.note-reply b { color: var(--red); }

.page-hero { position: relative; height: 460px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--red-dark); }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kenburns 12s ease-out forwards; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(40, 4, 6, .35), rgba(60, 6, 10, .55) 50%, rgba(30, 4, 6, .92)); }
.page-hero .wrap { position: relative; z-index: 2; width: 100%; padding-bottom: 54px; }
.crumb { font-size: 13px; letter-spacing: .2em; color: var(--gold-light); margin-bottom: 14px; }
.crumb a:hover { text-decoration: underline; }
.page-hero h1 { font-size: clamp(40px, 6.4vw, 76px); letter-spacing: .14em; color: #fff7e6; }
.page-hero p { margin-top: 14px; max-width: 760px; font-size: 18px; color: #f0d8c0; }
@media (max-width: 640px) { .page-hero { height: 360px; } .page-hero p { font-size: 15px; } }

.era { position: relative; height: 340px; overflow: hidden; display: flex; align-items: center; color: #fff; margin: 0 0 90px; }
.era img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.era::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(90, 6, 12, .95) 0%, rgba(110, 8, 14, .7) 55%, rgba(110, 8, 14, .2)); }
.era .wrap { position: relative; z-index: 2; width: 100%; }
.era-no { font: 900 15px var(--serif); letter-spacing: .4em; color: var(--gold-light); }
.era h2 { font-size: clamp(36px, 5vw, 64px); letter-spacing: .14em; margin: 8px 0; }
.era p { color: #f0d8c0; max-width: 560px; font-size: 17px; }
.tl { position: relative; max-width: 1100px; margin: 0 auto 100px; }
.tl::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: linear-gradient(var(--gold), var(--red) 50%, var(--gold)); }
.ev { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 90px; margin-bottom: 80px; align-items: center; }
.ev::before { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px; background: var(--red); border: 4px solid var(--paper); box-shadow: 0 0 0 2px var(--gold); transform: rotate(45deg); }
.ev:nth-child(even) .ev-media { order: 2; }
.ev-media { position: relative; }
.ev-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; box-shadow: var(--shadow); }
.ev-media.tall img { aspect-ratio: 4 / 5; max-width: 80%; margin: 0 auto; }
.ev-media .ph { aspect-ratio: 3 / 2; }
.ev-text .ev-year { font: 900 64px/1 var(--serif); color: var(--red); letter-spacing: .02em; }
.ev-text .ev-date { font-size: 14px; color: var(--gold); letter-spacing: .2em; margin-top: 6px; }
.ev-text h3 { font-size: 30px; margin: 14px 0 12px; letter-spacing: .06em; }
.ev-text p { color: var(--ink-2); font-size: 17px; }
.ev.key .ev-text h3 { color: var(--red-deep); }
.ev.key .ev-text h3::after { content: "里程碑"; display: inline-block; vertical-align: middle; margin-left: 12px; font: 600 12px var(--sans); letter-spacing: .2em; color: #fff; background: var(--gold); padding: 2px 10px; }
@media (max-width: 860px) {
  .tl::before { left: 10px; }
  .ev { grid-template-columns: 1fr; gap: 20px; padding-left: 40px; margin-bottom: 56px; }
  .ev::before { left: 11px; top: 30px; }
  .ev:nth-child(even) .ev-media { order: 0; }
  .ev-text .ev-year { font-size: 46px; }
  .ev-text h3 { font-size: 24px; }
  .ev-media.tall img { max-width: 100%; }
}
.tl-end { text-align: center; font: 900 clamp(26px, 3.6vw, 40px) var(--serif); letter-spacing: .16em; color: var(--red-deep); padding: 30px 0 10px; }

.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin-bottom: 46px; border-bottom: 1px solid var(--line); }
.filters button { background: none; border: 0; padding: 12px 22px; cursor: pointer; font-size: 16px; color: var(--ink-3); letter-spacing: .14em; position: relative; }
.filters button::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: -1px; height: 3px; background: var(--red); transform: scaleX(0); transition: transform .3s var(--ease); }
.filters button.on { color: var(--red); font-weight: 700; }
.filters button.on::after, .filters button:hover::after { transform: scaleX(1); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid, .grid.g4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid, .grid.g4 { grid-template-columns: 1fr; } }
.card { background: var(--card); box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -26px rgba(60, 10, 10, .55); }
.card.hide { display: none; }
.card-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--red-deep); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card-img img { transform: scale(1.06); }
.card-img .ph { width: 100%; height: 100%; }
.card-tag { position: absolute; left: 0; top: 18px; background: var(--red); color: #fff; font-size: 12px; letter-spacing: .2em; padding: 4px 14px; }
.card-body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.card-meta { font-size: 13px; letter-spacing: .14em; color: var(--gold); font-weight: 700; }
.card-body h3 { font-size: 22px; margin: 8px 0 10px; letter-spacing: .04em; }
.card-body p { color: var(--ink-2); font-size: 15px; line-height: 1.8; }

.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
@media (max-width: 1100px) { .people { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .people { grid-template-columns: 1fr 1fr; gap: 16px; } }
.person { background: var(--card); box-shadow: var(--shadow); }
.person.hide { display: none; }
.person-img { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #3a1214; }
.person-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; filter: grayscale(.85) sepia(.15); transition: filter .8s, transform 1.2s var(--ease); }
.person:hover .person-img img { filter: none; transform: scale(1.04); }
.person-img .ph { width: 100%; height: 100%; font-size: 64px; }
.person-img .tag { position: absolute; left: 0; bottom: 0; background: var(--red); color: var(--gold-light); font-size: 12px; letter-spacing: .14em; padding: 4px 12px; }
.person-body { padding: 18px 20px 22px; }
.person-body h3 { font-size: 22px; letter-spacing: .1em; }
.person-body .years { font-size: 13px; color: var(--gold); letter-spacing: .1em; }
.person-body p { margin-top: 10px; font-size: 14px; color: var(--ink-2); line-height: 1.8; }
@media (max-width: 800px) { .person-body { padding: 14px; } .person-body h3 { font-size: 18px; } .person-body p { font-size: 13px; } }

.poems { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); background: var(--card); }
.poem { padding: 40px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; display: flex; flex-direction: column; align-items: center; }
.poem .lines { writing-mode: vertical-rl; font: 700 21px/2.1 var(--serif); letter-spacing: .24em; height: 290px; color: var(--ink); margin: 0 auto; }
.poem .by { margin-top: 22px; color: var(--red); font: 700 14px var(--serif); letter-spacing: .1em; }
.poem .seal-sm { display: inline-block; margin-top: 10px; border: 1.5px solid var(--red); color: var(--red); font: 700 12px var(--serif); padding: 2px 6px; letter-spacing: .2em; }
@media (max-width: 1000px) { .poems { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .poem .lines { height: 240px; font-size: 18px; } .poem { padding: 30px 10px; } }

.ethnic { display: grid; grid-template-columns: repeat(8, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.ethnic span { background: var(--card); text-align: center; padding: 16px 4px; font: 700 16px var(--serif); transition: background .3s, color .3s; }
.ethnic span:hover { background: var(--red); color: var(--gold-light); }
@media (max-width: 900px) { .ethnic { grid-template-columns: repeat(4, 1fr); } }

.songlist { border-top: 2px solid var(--red); }
.song { display: grid; grid-template-columns: 70px 1.2fr 1fr 2.4fr; gap: 20px; padding: 22px 8px; border-bottom: 1px solid var(--line); align-items: baseline; }
.song .no { font: 900 28px var(--serif); color: var(--gold); }
.song .t { font: 900 20px var(--serif); color: var(--red-deep); }
.song .a { color: var(--ink-3); font-size: 14px; }
.song .d { color: var(--ink-2); font-size: 15px; }
@media (max-width: 800px) { .song { grid-template-columns: 50px 1fr; gap: 4px 12px; } .song .a, .song .d { grid-column: 2; } }

.months { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1000px) { .months { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .months { grid-template-columns: 1fr; } }
.month { background: var(--card); box-shadow: var(--shadow); }
.month h3 { background: var(--red); color: var(--gold-light); padding: 12px 20px; font-size: 20px; letter-spacing: .2em; display: flex; justify-content: space-between; }
.month h3 small { font: 400 12px var(--sans); color: #f0c9b8; letter-spacing: .2em; align-self: center; }
.month ul { list-style: none; margin: 0; padding: 6px 20px 14px; }
.month li { display: grid; grid-template-columns: 38px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.month li:last-child { border-bottom: 0; }
.month li .d { font: 900 26px/1 var(--serif); color: var(--red); }
.month li b { display: block; font-size: 15px; color: var(--ink); }
.month li span { font-size: 13px; color: var(--ink-3); line-height: 1.6; display: block; margin-top: 2px; }
.month li.today { background: var(--gold-pale); margin: 0 -20px; padding: 12px 20px; }
.month li.mourn .d { color: #333; }
.month .none { color: var(--ink-3); font-size: 14px; padding: 14px 0; }

.prose { max-width: 820px; margin: 0 auto; font-size: 17px; color: var(--ink-2); }
.prose h2 { font-size: 30px; color: var(--ink); margin: 56px 0 18px; letter-spacing: .06em; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 16px; }
.prose ul { padding-left: 1.2em; }
.quote-block { border-left: 4px solid var(--gold); background: var(--gold-pale); padding: 22px 28px; font: 700 19px/1.9 var(--serif); color: var(--red-deep); margin: 28px 0; }

.credits { font-size: 13px; color: var(--ink-3); column-count: 2; column-gap: 40px; }
.credits li { break-inside: avoid; margin-bottom: 6px; }
.credits a { color: var(--red); }
@media (max-width: 700px) { .credits { column-count: 1; } }

.gb { display: grid; grid-template-columns: 400px 1fr; gap: 50px; align-items: start; }
@media (max-width: 900px) { .gb { grid-template-columns: 1fr; } }
.form-card { background: var(--card); padding: 36px 32px; box-shadow: var(--shadow); border-top: 4px solid var(--red); position: sticky; top: 100px; }
@media (max-width: 900px) { .form-card { position: static; padding: 28px 20px; } }
.form-card h2 { font-size: 28px; letter-spacing: .1em; }
.form-card .sub { color: var(--ink-3); font-size: 14px; margin-top: 6px; }
label { display: block; font-weight: 600; margin: 18px 0 6px; font-size: 15px; }
label small { color: var(--ink-3); font-weight: 400; }
input[type=text], input[type=password], textarea { width: 100%; font: inherit; padding: 11px 14px; border: 1px solid var(--line); background: #fffefb; border-radius: 2px; transition: border-color .2s, box-shadow .2s; }
input:focus, textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(179, 18, 26, .12); }
textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.captcha-row { display: flex; gap: 12px; align-items: center; }
.captcha-q { font: 900 22px var(--serif); color: var(--red); white-space: nowrap; background: var(--gold-pale); padding: 6px 14px; }
.form-card .btn { margin-top: 24px; }
.alert { padding: 12px 16px; margin: 16px 0 0; font-size: 15px; }
.alert.ok { background: #e9f4e4; color: #23661c; border-left: 3px solid #3c9a32; }
.alert.err { background: var(--red-soft); color: var(--red-deep); border-left: 3px solid var(--red); }
.rules { font-size: 13px; color: var(--ink-3); margin-top: 20px; line-height: 1.8; }
.wall { columns: 2; column-gap: 20px; }
.wall .note { break-inside: avoid; margin-bottom: 20px; }
@media (max-width: 1100px) { .wall { columns: 1; } }
.wall-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px; }
.wall-head h2 { font-size: 28px; letter-spacing: .1em; }
.wall-head span { color: var(--ink-3); }
.empty { text-align: center; color: var(--ink-3); padding: 60px 0; }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 30px; flex-wrap: wrap; }
.pager a, .pager span { padding: 6px 16px; border: 1px solid var(--line); background: var(--card); }
.pager span { background: var(--red); color: #fff; border-color: var(--red); }

.admin { padding: 50px 0 80px; }
.admin-bar { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-bottom: 30px; }
.admin-bar h1 { font-size: 32px; letter-spacing: .1em; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tabs a { padding: 8px 18px; background: var(--card); border: 1px solid var(--line); }
.tabs a.on { background: var(--red); color: #fff; border-color: var(--red); }
.admin-bar form { margin-left: auto; }
.badge { display: inline-block; min-width: 22px; padding: 0 6px; border-radius: 999px; background: var(--gold); color: var(--red-dark); font-size: 12px; text-align: center; margin-left: 6px; }
.adm-msg { background: var(--card); padding: 22px 24px; box-shadow: var(--shadow); margin-bottom: 18px; border-left: 4px solid var(--gold); }
.adm-head { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; font-size: 14px; color: var(--ink-3); }
.adm-head b { font-size: 17px; color: var(--red-deep); }
.adm-body { margin: 10px 0 0; white-space: pre-wrap; word-break: break-word; }
.adm-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; align-items: center; }
.adm-actions form { display: inline; }
.reply-form { display: flex; gap: 8px; margin-top: 12px; }
.reply-form input { flex: 1; }
.login-card { max-width: 420px; margin: 80px auto; }

.footer { background: var(--red-dark); color: #b99a8a; font-size: 14px; position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--red), var(--gold), var(--red)); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 50px; padding: 80px 0 50px; }
.footer-slogan { font: 900 clamp(26px, 3vw, 36px)/1.4 var(--serif); color: var(--gold-light); letter-spacing: .16em; }
.footer-top p { margin-top: 16px; line-height: 1.9; }
.footer h4 { color: #fff3e0; font-size: 16px; letter-spacing: .2em; margin-bottom: 18px; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.footer a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(236, 208, 138, .15); padding: 22px 0 90px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; }
.footer-bottom b { color: var(--gold-light); }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr; gap: 34px; padding: 60px 0 36px; } }

.notfound { text-align: center; padding: 140px 16px; }
.notfound .big { font: 900 140px/1 var(--serif); color: var(--red); }
.notfound p { color: var(--ink-3); margin: 14px 0 30px; }

[data-track] .i-pause { display: none; }
[data-track].playing .i-play { display: none; }
[data-track].playing .i-pause { display: block; }

.captcha-img { flex: none; width: 172px; height: 52px; cursor: pointer; border: 1px solid var(--line); image-rendering: auto; }
.captcha-row input { text-transform: uppercase; letter-spacing: .3em; font-weight: 700; }
.wall-empty { text-align: center; padding: 70px 30px; background: var(--card); box-shadow: var(--shadow); border-top: 3px solid var(--gold); }
.wall-empty-mark { width: 84px; height: 84px; margin: 0 auto 22px; display: grid; place-items: center; border: 2px solid var(--red); color: var(--red); font: 900 44px var(--serif); transform: rotate(-4deg); }
.wall-empty h2 { font-size: 28px; letter-spacing: .1em; }
.wall-empty p { color: var(--ink-3); margin: 10px 0 26px; }
.write-cta { text-align: center; padding: 70px 24px; background: var(--card); box-shadow: var(--shadow); border-top: 4px solid var(--red); position: relative; overflow: hidden; }
.write-cta::before { content: "言"; position: absolute; right: -20px; bottom: -70px; font: 900 260px/1 var(--serif); color: rgba(179, 18, 26, .05); }
.write-cta .kicker::after { content: ""; width: 28px; height: 2px; background: currentColor; }
.write-cta h2 { font-size: clamp(28px, 4vw, 44px); letter-spacing: .08em; }
.write-cta p { color: var(--ink-3); margin: 14px 0 30px; font-size: 17px; }
.write-cta .btn svg { width: 18px; height: 18px; stroke: currentColor; }

.lang-switch { display: inline-flex; gap: 6px; align-items: center; }
.lang-switch a { color: #e8cfb9; border-bottom: 1px dashed rgba(236, 208, 138, .5); }
.lang-switch b { color: var(--gold-light); }
@media (max-width: 640px) { .utility .wrap > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; } }
.brand-en strong { letter-spacing: .04em; font-size: 20px; }
.footer-slogan-en { font-size: clamp(20px, 2.2vw, 26px); letter-spacing: .04em; }
body.lang-en .hero-title { letter-spacing: .02em; font-size: clamp(34px, 5.6vw, 84px); }
body.lang-en .head h2, body.lang-en .page-hero h1, body.lang-en .era h2 { letter-spacing: .01em; }
body.lang-en .kicker { letter-spacing: .2em; }
body.lang-en .poem .en-line { font: italic 15px/1.7 Georgia, serif; color: var(--ink-2); margin-top: 16px; max-width: 220px; }
body.lang-en .ethnic span { font-size: 14px; }
body.lang-en .countdown .cd-t { max-width: 280px; }
.motto-en { font: italic 20px/1.7 Georgia, serif; color: var(--ink-2); max-width: 820px; margin: 0 auto 14px; }
body.lang-en .ev.key .ev-text h3::after { content: "MILESTONE"; letter-spacing: .12em; }
body.lang-en .motto-text { letter-spacing: .04em; }
.nav a { white-space: nowrap; }
body.lang-en .nav a { padding: 8px 9px; font-size: 14px; letter-spacing: 0; }
@media (min-width: 1181px) and (max-width: 1320px) {
  body.lang-en .nav-toggle { display: block; }
  body.lang-en .nav { position: fixed; inset: 0 0 0 auto; width: min(320px, 86vw); flex-direction: column; gap: 0; padding: 110px 28px 28px; background: var(--red-dark); transform: translateX(100%); transition: transform .4s var(--ease); z-index: 1; overflow-y: auto; }
  body.lang-en .nav.open { transform: none; box-shadow: -20px 0 60px rgba(0, 0, 0, .4); }
  body.lang-en .nav a { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid rgba(236, 208, 138, .12); }
  body.lang-en .nav a::after { display: none; }
}
