/* HOH888 — 黑红鎏金主题 */
:root {
  --bg: #0a0205;
  --bg-2: #170409;
  --panel: rgba(36, 6, 12, 0.72);
  --panel-solid: #22060c;
  --line: rgba(245, 197, 66, 0.28);
  --crimson: #7a0c1c;
  --red: #d4142f;
  --gold: #f5c542;
  --gold-hi: #fff1b8;
  --gold-lo: #a8740c;
  --text: #fbefd8;
  --muted: #c6a98d;
  --ok: #4ade80;
  --err: #ff6b6b;
  --radius: 18px;
  --gold-grad: linear-gradient(180deg, #fff6c9 0%, #ffd863 30%, #e8a91c 55%, #fff0a6 72%, #b97d0a 100%);
  --font-display: 'Cinzel', 'Times New Roman', serif;
  --font-num: 'Orbitron', 'Consolas', monospace;
  --font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { color-scheme: dark; overflow-x: clip; } /* 装饰性光效/粒子越界时不产生横向滚动（iOS 上 hidden 不可靠） */
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(1200px 600px at 50% -10%, rgba(212, 20, 47, 0.45), transparent 60%),
    radial-gradient(800px 500px at 100% 40%, rgba(122, 12, 28, 0.35), transparent 60%),
    radial-gradient(800px 500px at 0% 80%, rgba(122, 12, 28, 0.3), transparent 60%),
    repeating-linear-gradient(45deg, rgba(245, 197, 66, 0.025) 0 2px, transparent 2px 18px);
  background-attachment: fixed;
  overflow-x: hidden;
}
a { color: inherit; }
button, input, select { font: inherit; }

/* 漂浮金粉 */
.particles { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.particles i {
  position: absolute;
  bottom: -20px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold-hi);
  box-shadow: 0 0 8px 2px rgba(245, 197, 66, 0.7);
  opacity: 0;
  animation: rise linear infinite;
}
@keyframes rise {
  0% { transform: translate(0, 0) scale(0.6); opacity: 0; }
  10% { opacity: 0.9; }
  100% { transform: translate(var(--dx, 30px), -110vh) scale(1.1); opacity: 0; }
}

.wrap { position: relative; z-index: 1; width: min(1080px, 100% - 32px); margin: 0 auto; }

/* ---------- 顶部 ---------- */
.site-header { position: relative; padding: 28px 0 8px; text-align: center; }
.lang-toggle {
  position: absolute;
  top: 18px; right: 0;
  z-index: 2;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(23, 4, 9, 0.7);
  color: var(--gold);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: 0.2s;
}
.lang-toggle:hover { color: #3a0610; background: var(--gold-grad); border-color: transparent; }
.lang-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* 背景音乐开关 */
.bgm-toggle {
  position: fixed;
  right: 18px; bottom: 18px;
  z-index: 20;
  display: grid; place-items: center;
  width: 52px; height: 52px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(23, 4, 9, 0.85);
  color: var(--muted);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  transition: 0.2s;
}
.bgm-toggle svg { width: 24px; height: 24px; }
.bgm-toggle .wave, .bgm-toggle .eq { display: none; }
.bgm-toggle.on { color: #3a0610; background: var(--gold-grad); border-color: transparent; box-shadow: 0 8px 24px rgba(245, 197, 66, 0.35); }
.bgm-toggle.on .wave { display: inline; }
.bgm-toggle.on .cross { display: none; }
.bgm-toggle:hover { border-color: var(--gold); color: var(--gold-hi); }
.bgm-toggle.on:hover { color: #3a0610; filter: brightness(1.08); }
.bgm-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
/* 播放时的小均衡器 */
.bgm-toggle.on .eq { position: absolute; bottom: 7px; display: flex; gap: 2px; align-items: flex-end; height: 7px; }
.bgm-toggle .eq i { width: 3px; height: 100%; border-radius: 2px; background: #5a0a14; animation: eq 0.9s ease-in-out infinite; }
.bgm-toggle .eq i:nth-child(2) { animation-delay: -0.3s; }
.bgm-toggle .eq i:nth-child(3) { animation-delay: -0.6s; }
@keyframes eq { 0%, 100% { transform: scaleY(0.3); } 50% { transform: scaleY(1); } }
.bgm-toggle .eq i { transform-origin: bottom; }

/* 英文排版：收紧中文用的大字距，另一语言的小字用正文字体 */
html[lang='en'] .prize-rank { letter-spacing: 0.12em; text-transform: uppercase; }
html[lang='en'] .section-title { letter-spacing: 0.2em; text-transform: uppercase; }
html[lang='en'] .waiting h2 { letter-spacing: 0.12em; text-indent: 0.12em; text-transform: uppercase; }
html[lang='en'] .countdown small { letter-spacing: 0.15em; }
html[lang='en'] .prize-rank small,
html[lang='en'] .section-title small { font-family: var(--font-body); letter-spacing: 0.2em; }
html[lang='en'] .h-num small { letter-spacing: 0.05em; }
.brand { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; position: relative; }
.brand::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 520px; height: 520px;
  translate: -50% -50%;
  background: conic-gradient(from 0deg, transparent 0 8deg, rgba(245, 197, 66, 0.10) 8deg 12deg, transparent 12deg 30deg);
  mask: radial-gradient(circle, #000 0 30%, transparent 65%);
  animation: spin 40s linear infinite;
  pointer-events: none;
  z-index: -1;
}
@keyframes spin { to { rotate: 360deg; } }
.brand-emblem { width: 88px; height: 88px; filter: drop-shadow(0 6px 18px rgba(245, 197, 66, 0.45)); }
.brand-name {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(44px, 9vw, 84px);
  letter-spacing: 0.06em;
  line-height: 1;
  background: var(--gold-grad);
  background-size: 100% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 3px 0 #5a0a14) drop-shadow(0 10px 24px rgba(212, 20, 47, 0.55));
  position: relative;
}
.brand-name::after {
  content: attr(data-text);
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.85) 50%, transparent 65%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 4.5s ease-in-out infinite;
}
@keyframes shine { 0% { background-position: 150% 0; } 60%, 100% { background-position: -100% 0; } }
.brand-sub {
  margin-top: 10px;
  font-family: var(--font-display), var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.32em;
  color: var(--gold);
  text-indent: 0.32em;
}
/* 兴旺发 印章 */
.brand-seal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}
.brand-seal::before, .brand-seal::after {
  content: '';
  width: clamp(28px, 8vw, 64px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.brand-seal::before { margin-right: 8px; }
.brand-seal::after { margin-left: 8px; background: linear-gradient(90deg, var(--gold), transparent); }
.brand-seal i {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  font-family: 'Noto Serif SC', 'Songti SC', 'SimSun', serif;
  font-style: normal;
  font-weight: 900;
  font-size: 21px;
  color: #ffe9a0;
  background: radial-gradient(circle at 35% 30%, #e3243d, #8f1022 70%, #5a0a14);
  border: 1.5px solid #f5c542;
  border-radius: 50%;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 220, 150, 0.4);
  text-shadow: 0 1px 0 #5a0a14;
}
.brand-sub b { color: var(--text); font-weight: 700; }

.nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 22px 0 6px; }
.nav a {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(23, 4, 9, 0.6);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
  transition: 0.2s;
}
.nav a:hover { color: var(--gold-hi); border-color: var(--gold); }
.nav a[aria-current='page'] {
  color: #3a0610;
  background: var(--gold-grad);
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(245, 197, 66, 0.35);
}

/* ---------- 通用面板 ---------- */
.panel {
  position: relative;
  margin: 22px 0;
  padding: clamp(18px, 3vw, 32px);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(60, 8, 18, 0.75), rgba(20, 3, 8, 0.8));
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 230, 160, 0.15);
  backdrop-filter: blur(6px);
}
.panel::before {
  content: '';
  position: absolute; inset: 6px;
  border-radius: calc(var(--radius) - 6px);
  border: 1px dashed rgba(245, 197, 66, 0.14);
  pointer-events: none;
}

.draw-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-bottom: 22px; }
.draw-date { font-size: clamp(18px, 3vw, 24px); font-weight: 900; letter-spacing: 0.05em; }
.draw-date small { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--muted); letter-spacing: 0.15em; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.15em;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.3);
  color: var(--gold);
}
.badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.badge.live { color: var(--ok); }
.badge.wait::before { animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: 0.2; } }

.section-title {
  display: flex; align-items: center; gap: 14px;
  margin: 28px 0 14px;
  font-size: 15px; font-weight: 900; letter-spacing: 0.35em;
  color: var(--gold);
}
.section-title::before, .section-title::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); }
.section-title span small { margin-left: 8px; font-family: var(--font-display); font-size: 11px; letter-spacing: 0.2em; color: var(--muted); }

/* ---------- 头三奖 ---------- */
.top3 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.prize {
  --base: 0ms;
  position: relative;
  padding: 18px 16px 16px;
  border-radius: 16px;
  text-align: center;
  background: linear-gradient(180deg, rgba(120, 14, 30, 0.6), rgba(40, 5, 12, 0.8));
  border: 1px solid var(--line);
  overflow: hidden;
}
.prize--1 {
  grid-column: 1 / -1;
  padding: 26px 16px 22px;
  background:
    radial-gradient(400px 160px at 50% 0%, rgba(245, 197, 66, 0.28), transparent 70%),
    linear-gradient(180deg, #8f1022, #3d0610);
  border: 1px solid rgba(245, 197, 66, 0.6);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4), 0 0 40px rgba(245, 197, 66, 0.18), inset 0 0 40px rgba(0, 0, 0, 0.35);
}
.prize--2 { --base: 450ms; }
.prize--3 { --base: 700ms; }
.prize-rank { display: inline-flex; align-items: baseline; gap: 8px; margin-bottom: 14px; font-weight: 900; font-size: 18px; letter-spacing: 0.3em; color: var(--gold-hi); }
.prize--1 .prize-rank { font-size: 24px; }
.prize-rank small { font-family: var(--font-display); font-size: 11px; letter-spacing: 0.2em; color: var(--muted); }
.prize-rank::before, .prize-rank::after { content: '✦'; font-size: 12px; color: var(--gold); }

.digits { display: flex; justify-content: center; gap: clamp(6px, 1.5vw, 12px); }
.digits span {
  display: grid; place-items: center;
  width: clamp(48px, 9vw, 66px);
  height: clamp(62px, 11.5vw, 86px);
  border-radius: 12px;
  font-family: var(--font-num);
  font-weight: 900;
  font-size: clamp(32px, 6.5vw, 50px);
  color: #3b0510;
  background: var(--gold-grad);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.7), inset 0 -4px 0 rgba(120, 70, 0, 0.45), 0 8px 18px rgba(0, 0, 0, 0.45);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  position: relative;
}
.digits span::after { content: ''; position: absolute; left: 6px; right: 6px; top: 50%; height: 1px; background: rgba(90, 40, 0, 0.25); }
.prize--1 .digits span { width: clamp(58px, 13vw, 96px); height: clamp(76px, 17vw, 124px); font-size: clamp(40px, 9.5vw, 74px); border-radius: 16px; }
.prize--1 .digits { gap: clamp(8px, 2vw, 16px); }

.zodiac {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 14px; padding: 5px 14px 5px 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
  font-weight: 700; letter-spacing: 0.15em; color: var(--gold-hi);
}
.zodiac i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(245, 197, 66, 0.15); font-style: normal; font-size: 18px; }

/* ---------- 特别奖 / 安慰奖 ---------- */
.grid-nums { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.chip {
  padding: 12px 6px;
  border-radius: 12px;
  text-align: center;
  font-family: var(--font-num);
  font-weight: 700;
  font-size: clamp(18px, 3.4vw, 24px);
  letter-spacing: 0.12em;
  color: var(--gold-hi);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(60, 8, 18, 0.6));
  border: 1px solid rgba(245, 197, 66, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 230, 160, 0.08);
}
.chip.empty { color: var(--muted); opacity: 0.6; }
.grid-nums.consolation .chip { color: var(--text); }

/* 揭晓动画 */
.reveal .digits span { animation: flip 0.7s cubic-bezier(0.2, 0.9, 0.3, 1.3) both; animation-delay: var(--base); }
.reveal .digits span:nth-child(2) { animation-delay: calc(var(--base) + 110ms); }
.reveal .digits span:nth-child(3) { animation-delay: calc(var(--base) + 220ms); }
.reveal .digits span:nth-child(4) { animation-delay: calc(var(--base) + 330ms); }
.reveal .chip { animation: pop 0.5s ease both; animation-delay: 1s; }
.reveal .grid-nums .chip:nth-child(3n + 2) { animation-delay: 1.08s; }
.reveal .grid-nums .chip:nth-child(3n + 3) { animation-delay: 1.16s; }
.reveal .grid-nums.consolation .chip { animation-delay: 1.3s; }
.reveal .prize--1::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 40%, rgba(255, 240, 180, 0.25) 50%, transparent 60%);
  background-size: 250% 100%;
  animation: sweep 3.5s ease-in-out 1.2s infinite;
  pointer-events: none;
}
@keyframes flip { from { transform: perspective(400px) rotateX(-90deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes pop { from { transform: scale(0.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes sweep { 0% { background-position: 150% 0; } 50%, 100% { background-position: -100% 0; } }

/* ---------- 等待中 ---------- */
.waiting { text-align: center; padding: 18px 0 8px; }
.orb {
  position: relative;
  width: 168px; height: 168px;
  margin: 6px auto 22px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #ffefb0, #e2a417 40%, #7a4a00 75%);
  box-shadow: 0 0 60px rgba(245, 197, 66, 0.45), inset 0 -10px 30px rgba(80, 30, 0, 0.6);
  animation: float 3s ease-in-out infinite;
}
.orb::before, .orb::after {
  content: '';
  position: absolute; inset: -14px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--gold);
  border-right-color: rgba(245, 197, 66, 0.3);
  animation: spin 1.8s linear infinite;
}
.orb::after { inset: -28px; border-top-color: var(--red); animation-duration: 3s; animation-direction: reverse; }
.orb b { font-family: var(--font-display); font-size: 44px; font-weight: 900; color: #5a0a14; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); }
@keyframes float { 50% { transform: translateY(-8px); } }
.waiting h2 { margin: 0; font-size: clamp(26px, 5vw, 38px); font-weight: 900; letter-spacing: 0.3em; text-indent: 0.3em; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.waiting p { margin: 10px 0 0; color: var(--muted); letter-spacing: 0.1em; }
.countdown { display: flex; justify-content: center; gap: 10px; margin-top: 22px; }
.countdown div { min-width: 82px; padding: 12px 8px 8px; border-radius: 14px; background: rgba(0, 0, 0, 0.45); border: 1px solid var(--line); }
.countdown b { display: block; font-family: var(--font-num); font-size: clamp(30px, 6vw, 44px); color: var(--gold-hi); text-shadow: 0 0 16px rgba(245, 197, 66, 0.5); }
.countdown small { font-size: 12px; letter-spacing: 0.3em; color: var(--muted); }

.empty-state { text-align: center; padding: 40px 0; color: var(--muted); letter-spacing: 0.1em; }
.loading { text-align: center; padding: 60px 0; color: var(--muted); letter-spacing: 0.3em; }
.loading::before { content: ''; display: block; width: 36px; height: 36px; margin: 0 auto 14px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--gold); animation: spin 0.9s linear infinite; }

/* ---------- 历史 ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.toolbar h2 { margin: 0; font-size: 20px; letter-spacing: 0.2em; color: var(--gold-hi); }
.toolbar form { display: flex; gap: 8px; flex-wrap: wrap; }
.input {
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.4);
  color: var(--text);
  min-width: 0;
}
.input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.btn {
  padding: 10px 20px;
  border: 0;
  border-radius: 12px;
  font-weight: 900;
  letter-spacing: 0.15em;
  cursor: pointer;
  color: #3a0610;
  background: var(--gold-grad);
  box-shadow: 0 6px 18px rgba(245, 197, 66, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: transform 0.15s, filter 0.15s;
}
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn:disabled { filter: grayscale(0.7) brightness(0.7); cursor: not-allowed; transform: none; }
.btn.ghost { color: var(--gold); background: transparent; border: 1px solid var(--line); box-shadow: none; }

.history-list { display: grid; gap: 12px; margin-top: 18px; }
.history-item { border-radius: 14px; border: 1px solid var(--line); background: rgba(0, 0, 0, 0.3); overflow: hidden; }
.history-item summary { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr) 24px; align-items: center; gap: 10px; padding: 14px 18px; cursor: pointer; list-style: none; }
.history-item summary::-webkit-details-marker { display: none; }
.history-item summary:hover { background: rgba(245, 197, 66, 0.06); }
.history-item summary::after { content: '▾'; font-size: 20px; color: var(--gold); transition: rotate 0.2s; justify-self: end; }
.history-item[open] summary::after { rotate: 180deg; }
.h-date b { display: block; font-weight: 900; }
.h-date small { color: var(--muted); font-size: 12px; }
.h-num { text-align: center; }
.h-num small { display: block; font-size: 11px; color: var(--muted); letter-spacing: 0.2em; }
.h-num b { font-family: var(--font-num); font-size: 20px; letter-spacing: 0.1em; color: var(--gold-hi); }
.history-item .board { padding: 4px 18px 20px; border-top: 1px dashed var(--line); }
.pager { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 22px; color: var(--muted); }

/* ---------- 页脚 ---------- */
.site-footer { position: relative; z-index: 1; padding: 30px 0 40px; text-align: center; font-size: 12px; letter-spacing: 0.15em; color: var(--muted); opacity: 0.8; }
.site-footer b { font-family: var(--font-display); color: var(--gold); }
.site-footer p { margin: 0; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-bottom: 14px; }
.foot-links a { color: var(--gold); text-decoration: none; font-weight: 700; letter-spacing: 0.1em; }
.foot-links a:hover, .foot-links a[aria-current='page'] { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 4px; }

/* 长文双语：整段按语言显示 */
html[lang='en'] [data-lang='zh'], html[lang='zh-CN'] [data-lang='en'] { display: none !important; }

/* ---------- 响应式 ---------- */
@media (max-width: 640px) {
  .top3 { gap: 10px; }
  .prize { padding: 14px 8px; }
  .prize-rank { font-size: 15px; letter-spacing: 0.2em; white-space: nowrap; }
  .prize:not(.prize--1) .prize-rank small { display: none; }
  .prize:not(.prize--1) .digits span { width: 34px; height: 46px; font-size: 24px; border-radius: 8px; }
  .prize:not(.prize--1) .digits { gap: 5px; }
  .prize:not(.prize--1) .zodiac { font-size: 13px; }
  .grid-nums { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .countdown div { min-width: 70px; }
  html[lang='en'] .prize:not(.prize--1) .prize-rank { font-size: 12px; letter-spacing: 0.04em; }
  .prize:not(.prize--1) .prize-rank::before, .prize:not(.prize--1) .prize-rank::after { display: none; }
  /* 摘要行：日期独占一行，三个号码排在下面 */
  .history-item summary { grid-template-columns: repeat(3, 1fr) 16px; padding: 12px; gap: 8px 6px; }
  .history-item .h-date { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 8px; }
  .history-item .h-date b { display: inline; }
  .history-item summary::after { grid-row: 2; grid-column: 4; }
  .history-item .board { padding: 4px 10px 16px; }
  .h-num b { font-size: 16px; }
  .brand::before { width: 340px; height: 340px; }
  .brand-emblem { width: 72px; height: 72px; }
  .brand-sub { font-size: 11px; letter-spacing: 0.2em; text-indent: 0.2em; }
  .brand-seal i { width: 30px; height: 30px; font-size: 18px; }
  .nav { gap: 6px; }
  .nav a { padding: 8px 12px; font-size: 13px; letter-spacing: 0.02em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .particles { display: none; }
}
