:root {
  color-scheme: dark;
  --bg: #100e0c;
  --surface: #1b1713;
  --text: #e9dfcd;
  --muted: #b7aa96;
  --line: #443725;
  --accent: #d3b078;
  --max: 1160px;
  --serif: "Noto Serif TC", "PMingLiU", "Songti TC", serif;
  font: 16px/1.7 "Microsoft JhengHei", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--text); background: radial-gradient(ellipse at 15% 65%, #38271924, transparent 50%), var(--bg); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, summary { cursor: pointer; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid #e6c68f; outline-offset: 5px; }
[hidden] { display: none !important; }
.container { width: min(var(--max), calc(100% - 80px)); margin-inline: auto; }
.site-header { background: #100d0bf5; border-bottom: 1px solid #81633a70; position: sticky; top: 0; z-index: 10; box-shadow: 0 5px 20px #0005; }
.header-inner { min-height: 82px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 1.5rem; font-weight: 700; letter-spacing: .14em; color: #e3c68d; }
.brand-mark { object-fit: contain; flex-shrink: 0; }
.brand-label { padding-left: 20px; margin-left: 8px; border-left: 1px solid var(--line); font: .875rem "Microsoft JhengHei", sans-serif; color: var(--muted); letter-spacing: .12em; }
nav { display: flex; gap: 38px; font-size: .9375rem; letter-spacing: .1em; }
nav a { padding: 14px 0; color: #cebea5; }
nav a:hover { color: #ffe3aa; }
.hero { min-height: 655px; position: relative; isolation: isolate; background: #19130f url("assets/castle-knight.png") center 43% / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #0e0c0b8c, transparent 67%), linear-gradient(0deg, #100e0c, transparent 29%, #100e0c15 75%, #100e0c55); }
.hero-inner { display: flex; align-items: center; min-height: 655px; padding-block: 42px 62px; }
.hero-copy { width: 54%; text-align: center; }
.hero-emblem { display: flex; justify-content: center; align-items: center; gap: 22px; margin-bottom: 17px; }
.hero-emblem span { width: 80px; height: 1px; background: linear-gradient(90deg, transparent, #9d7749); }
.hero-emblem span:last-child { transform: rotate(180deg); }
.eyebrow { color: var(--accent); font-size: .875rem; letter-spacing: .23em; margin: 0 0 14px; }
.hero .eyebrow { color: #e0c6a0; letter-spacing: .45em; padding-left: .45em; }
h1 { font-family: var(--serif); font-weight: 900; font-size: clamp(3.4rem, 6.3vw, 5.4rem); letter-spacing: .12em; line-height: 1.3; margin: 0; color: #e2c284; background: linear-gradient(#fff1cd 10%, #dbb675 48%, #9c6d36 74%, #edd8a8 94%); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 4px 4px #000); }
.hero-english { font: .875rem/1.4 Georgia, serif; letter-spacing: .42em; padding-left: .42em; color: #c4a575; margin: 8px 0 25px; }
.hero-tagline { font-family: var(--serif); font-size: 1.5rem; letter-spacing: .2em; margin: 0 0 15px; color: #f0dfc2; text-shadow: 0 2px 6px #000; }
.hero-description { font-size: 1rem; color: #c4b8a6; line-height: 1.95; margin: 0 0 25px; text-shadow: 0 2px 5px #000; }
.hero-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.button { min-height: 51px; padding: 11px 27px; display: inline-flex; justify-content: center; align-items: center; font-size: 1rem; letter-spacing: .08em; border: 1px solid #ad8750; border-radius: 1px; transition: filter .2s, transform .2s; box-shadow: inset 0 0 0 3px #17100c66, 0 4px 14px #0005; }
.primary { background: linear-gradient(#966c39, #68451f); color: #fff0ce; border-color: #d3ae6e; }
.secondary { background: linear-gradient(#211a16e8, #130f0ce8); color: #d6bd90; border-color: #80633c; }
.button:hover { filter: brightness(1.22); transform: translateY(-2px); }
.hero-note { margin: 19px 0 0; font-size: .875rem; color: #b3a591; }
.hero-bottom { display: flex; align-items: center; justify-content: center; gap: 18px; position: absolute; bottom: 0; width: 100%; color: #a88047; font-size: .875rem; }
.hero-bottom span { width: 43%; height: 1px; background: linear-gradient(90deg, transparent, #82613b); }
.hero-bottom span:last-child { transform: rotate(180deg); }
.quick-info { display: grid; grid-template-columns: repeat(4, 1fr); margin: 27px 0 0; padding: 23px 0; border: 1px solid #665032; background: linear-gradient(110deg, #211b14, #17130f 60%, #211a13); box-shadow: inset 0 0 0 4px #100e0c, inset 0 0 0 5px #3d3020, 0 8px 20px #0002; }
.quick-item { padding: 0 28px; text-align: center; border-right: 1px solid var(--line); }
.quick-item:last-child { border: 0; }
dt { font-size: .875rem; color: var(--muted); }
dd { margin: 5px 0 0; color: #e1c799; font-size: 1rem; }
.section { padding-block: 66px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 28px; position: relative; }
.section-heading::after { content: ""; position: absolute; bottom: -3px; left: 0; width: 5px; height: 5px; background: #b08b52; transform: rotate(45deg); }
.section-heading .eyebrow { font-family: Georgia, serif; font-size: .8125rem; margin-bottom: 5px; letter-spacing: .16em; }
h2 { font-family: var(--serif); font-size: 2rem; letter-spacing: .15em; line-height: 1.5; margin: 0; color: #e3c695; }
.section-note { color: var(--muted); font-size: .875rem; padding-bottom: 5px; }
.news-layout { display: grid; grid-template-columns: 270px 1fr; gap: 30px; }
.news-intro { text-align: center; padding: 26px; border: 1px solid #664c32; outline: 1px solid #32251b; outline-offset: -6px; background: radial-gradient(ellipse at top, #5833206b, transparent 70%), linear-gradient(135deg, #251b14, #15110e); position: relative; }
.notice-crest { filter: drop-shadow(0 3px 6px #0008); }
.news-intro h3 { font: 700 1.5rem/1.7 var(--serif); letter-spacing: .1em; margin: 14px 0 13px; color: #e1c698; }
.news-intro p { font-size: 1rem; color: var(--muted); margin: 0; }
.intro-label { display: block; border-top: 1px solid #54402b; margin-top: 23px; padding-top: 14px; font-size: .875rem; color: #b79668; }
.news-content { min-width: 0; }
.filters { display: flex; gap: 7px; margin-bottom: 7px; flex-wrap: wrap; }
.filters button { padding: 8px 18px; min-height: 42px; border: 1px solid transparent; background: transparent; color: var(--muted); font-size: .875rem; }
.filters button[aria-pressed=true] { color: #efcf98; border-color: #735331; background: linear-gradient(#3c2c1b, #261c13); box-shadow: inset 0 0 0 2px #1c140d; }
.filters button:hover { color: #f1d8ad; }
.news-item { border-bottom: 1px solid var(--line); }
.news-summary { list-style: none; display: flex; align-items: center; gap: 20px; padding: 23px 2px; }
.news-summary::-webkit-details-marker { display: none; }
.news-summary-body { flex: 1; min-width: 0; }
.news-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; font-size: .875rem; }
.category { color: #d5b078; }
.pinned { background: #51241d; color: #e3b59e; border: 1px solid #784237; padding: 0 8px; font-size: .8125rem; }
.news-date { margin-left: auto; color: var(--muted); font-size: .8125rem; }
.news-summary h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.6; margin: 0 0 7px; color: #e7d8be; }
.news-summary:hover h3 { color: #f3ca84; }
.news-excerpt { font-size: 1rem; margin: 0; color: var(--muted); }
.expand-icon { font-size: 1.5rem; color: #bd955b; flex-shrink: 0; width: 28px; text-align: center; }
.news-details { padding: 0 38px 18px 2px; line-height: 1.9; color: #c8baa4; }
.news-details p { margin: 0 0 12px; }
.empty-state { padding: 35px 20px; border: 1px dashed #5b472e; color: var(--muted); }
.info-section { border-block: 1px solid #3d2f21; background: radial-gradient(ellipse at 50% 0, #37281a50, transparent 75%), #14110e; }
.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.info-card { padding: 25px 22px; border: 1px solid #59442c; background: linear-gradient(135deg, #261e16, #19140f); position: relative; box-shadow: inset 0 0 0 4px #15110d, inset 0 0 0 5px #33271c; }
.info-card::before, .info-card::after { content: ""; position: absolute; height: 12px; width: 12px; border-color: #b28a4c; border-style: solid; pointer-events: none; }
.info-card::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.info-card::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }
.info-card-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 24px; }
.info-icon { color: #cba165; display: flex; }
.info-icon svg { width: 28px; height: 28px; }
.info-status { color: #b5a58d; font-size: .8125rem; }
.info-card h3 { font: 700 1.3rem/1.5 var(--serif); color: #e4c694; letter-spacing: .08em; margin: 0 0 12px; }
.info-description { font-size: 1rem; color: var(--muted); margin: 0 0 23px; min-height: 55px; }
.specs { border-top: 1px solid var(--line); padding-top: 13px; margin: 0; }
.specs>div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 9px; }
.specs dt, .specs dd { font-size: .875rem; }
.specs dd { color: #d4c3a5; margin: 0; text-align: right; }
.notice { display: flex; align-items: center; gap: 15px; padding: 17px 22px; margin-top: 26px; background: #281b14; border: 1px solid #5d412b; }
.notice>span { font-size: 1.5rem; color: #c0955c; }
.notice p { margin: 0; font-size: 1rem; color: #bfae94; }
.notice strong { color: #dfc69e; margin-right: 8px; font-weight: 600; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 28px; }
.footer .brand { font-size: 1.2rem; }
.footer p, .footer>a { color: var(--muted); font-size: .875rem; }
.footer>a:hover { color: var(--accent); }
.skip-link { position: fixed; top: -100px; left: 16px; padding: 12px; background: #dfbf85; color: #17100c; z-index: 30; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.noscript { padding-block: 24px; }
@media (min-width: 1550px) { .hero { background-position: center 48%; } .hero, .hero-inner { min-height: 720px; } }
@media (max-width: 1050px) {
  .container { width: calc(100% - 48px); }
  .brand-label { display: none; }
  .hero-copy { width: 58%; }
  .hero { background-position: 58% center; }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .info-description { min-height: 0; }
  .news-layout { grid-template-columns: 240px 1fr; gap: 24px; }
  .quick-item { padding-inline: 18px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 85px; }
  .container { width: calc(100% - 36px); }
  .header-inner { min-height: 72px; gap: 12px; }
  .brand { gap: 8px; font-size: 1.15rem; letter-spacing: .08em; }
  .brand-mark { width: 29px; height: 36px; }
  nav { gap: 17px; font-size: .875rem; letter-spacing: 0; }
  .hero, .hero-inner { min-height: 645px; }
  .hero { background-position: 65% center; }
  .hero::before { background: linear-gradient(0deg, #100e0c, #100e0c35 50%, #100e0c25), linear-gradient(90deg, #100e0cba, #100e0c45); }
  .hero-inner { padding-block: 38px 48px; }
  .hero-copy { width: 100%; }
  .hero-emblem { margin-bottom: 20px; }
  h1 { font-size: clamp(2.8rem, 11vw, 4.5rem); letter-spacing: .09em; }
  .hero-english { font-size: .8125rem; letter-spacing: .3em; margin-top: 12px; }
  .hero-tagline { font-size: 1.3rem; letter-spacing: .15em; }
  .hero-description { color: #dacdbb; }
  .hero-note { color: #c6b8a1; }
  .button { padding-inline: 21px; }
  .quick-info { grid-template-columns: repeat(2, 1fr); padding: 5px 18px; margin-top: 18px; }
  .quick-item { padding: 16px 9px; }
  .quick-item:nth-child(2) { border-right: 0; }
  .quick-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section { padding-block: 44px; }
  .section-heading { margin-bottom: 23px; padding-bottom: 15px; }
  h2 { font-size: 1.7rem; }
  .section-note { display: none; }
  .news-layout { grid-template-columns: 1fr; gap: 0; }
  .news-intro { display: none; }
  .news-summary { padding-block: 21px; gap: 10px; }
  .news-summary h3 { font-size: 1.0625rem; }
  .news-meta { gap: 9px; }
  .filters button { padding-inline: 14px; }
  .info-grid { grid-template-columns: 1fr; gap: 18px; }
  .info-card { padding: 24px; }
  .info-card-top { margin-bottom: 17px; }
  .info-description { margin-bottom: 18px; }
  .notice { align-items: flex-start; padding: 16px; }
  .notice strong { display: block; }
  .footer { flex-wrap: wrap; gap: 8px; padding-block: 24px; }
  .footer p { order: 3; width: 100%; margin: 5px 0 0; }
  .footer>a { margin-left: auto; }
}
@media (max-width: 360px) { nav { gap: 12px; } .brand { font-size: 1rem; } .button { padding-inline: 16px; font-size: .9375rem; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
