/* ============================================================
   亚星游戏主站 · 共享样式 /assets/site.css
   夜场数据台：夜幕蓝底 + 青柠绿数据 + 暖橙红行动点
   ============================================================ */

/* ---------- 1. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body { margin: 0; }

img, svg, video { display: block; max-width: 100%; }

h1, h2, h3, h4, h5, h6, p, figure, blockquote, address { margin: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; color: inherit; }

button { background: none; border: 0; padding: 0; cursor: pointer; }

table { border-collapse: collapse; width: 100%; }

address { font-style: normal; }

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

/* ---------- 2. 设计令牌 ---------- */
:root {
  --night: #0B1B33;
  --cabin: #10294A;
  --slate: #33404F;
  --cream: #F2EFE6;
  --lime: #B6F03C;
  --ember: #FF5B3A;
  --moss: #5C8C4A;
  --clay: #C4694A;
  --cyan: #4FD1D9;
  --ink: #060E1A;

  --bg: var(--night);
  --bg-2: var(--cabin);
  --bg-3: var(--ink);
  --text: var(--cream);
  --text-soft: rgba(242, 239, 230, 0.72);
  --text-mute: #8C9AAC;
  --line: rgba(242, 239, 230, 0.14);
  --line-soft: rgba(242, 239, 230, 0.07);
  --grid-line: rgba(242, 239, 230, 0.14);
  --grid-soft: rgba(242, 239, 230, 0.05);

  --accent: var(--lime);
  --accent-ink: #0B1B33;
  --hot: var(--ember);
  --hot-ink: #FFF6F2;
  --header-bg: rgba(11, 27, 51, 0.95);

  --shell: 1220px;
  --gutter: clamp(18px, 4vw, 44px);
  --cut: 14px;

  --f-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", "Courier New", monospace;
}

html[data-theme="day"] {
  --bg: #E8E4D8;
  --bg-2: #F2EFE6;
  --bg-3: #DAD5C6;
  --text: #0B1B33;
  --text-soft: rgba(11, 27, 51, 0.76);
  --text-mute: #5D6A79;
  --line: rgba(11, 27, 51, 0.16);
  --line-soft: rgba(11, 27, 51, 0.08);
  --grid-line: rgba(11, 27, 51, 0.12);
  --grid-soft: rgba(11, 27, 51, 0.06);
  --accent: #3E6B12;
  --accent-ink: #F2EFE6;
  --header-bg: rgba(242, 239, 230, 0.95);
}

/* ---------- 3. 基础排版 ---------- */
body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--f-sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (max-width: 900px) {
  body {
    font-size: 16px;
    padding-bottom: calc(46px + env(safe-area-inset-bottom, 0px));
  }
}

.h-display {
  font-size: clamp(34px, 6.2vw, 80px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.02em;
  transform: rotate(-1.5deg);
  transform-origin: left center;
}

.h-2 {
  font-size: clamp(24px, 3.4vw, 40px);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.h-3 {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.lead {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.8;
  color: var(--text-soft);
  max-width: 34em;
}

.body-text {
  color: var(--text-soft);
  line-height: 1.75;
  max-width: 68ch;
}

.annotation {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.annotation--v {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: 0.3em;
}

.num {
  font-family: var(--f-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: -0.01em;
}

.num--xl {
  font-size: clamp(36px, 7vw, 72px);
  font-weight: 700;
  line-height: 1;
}

.num--accent { color: var(--accent); }
.num--hot { color: var(--hot); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 4. 布局骨架 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.shell--narrow { max-width: 820px; }

.section { padding: clamp(40px, 6vw, 88px) 0; }

.grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 28px);
}

.grid--7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.grid--5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .grid--7-5,
  .grid--5-7,
  .grid--3 { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .grid--2,
  .grid--4 { grid-template-columns: minmax(0, 1fr); }
}

.panel {
  position: relative;
  background-color: var(--bg-2);
  border: 1px solid var(--line);
  clip-path: polygon(
    var(--cut) 0,
    100% 0,
    100% calc(100% - var(--cut)),
    calc(100% - var(--cut)) 100%,
    0 100%,
    0 var(--cut)
  );
}

.panel--flat { background-color: transparent; }
.panel--hot { border-color: rgba(255, 91, 58, 0.5); }

.tilt,
.tilt--r {
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.tilt { transform: rotate(-2deg); }
.tilt--r { transform: rotate(2deg); }

@media (hover: hover) {
  .tilt:hover,
  .tilt--r:hover {
    transform: rotate(0deg);
    box-shadow: 0 18px 40px rgba(6, 14, 26, 0.46);
  }
}

.band {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.band__no { color: var(--accent); }

.band__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}

.band__meta {
  margin-left: auto;
  letter-spacing: 0.18em;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.crumbs li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.crumbs li + li::before {
  content: "/";
  color: var(--line);
}

.crumbs a { color: var(--text-soft); }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current="page"] { color: var(--accent); }

/* ---------- 5. 按钮 / 标签 / 展签 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text);
  background-color: transparent;
  border: 1px solid var(--line);
  clip-path: polygon(
    9px 0,
    100% 0,
    100% calc(100% - 9px),
    calc(100% - 9px) 100%,
    0 100%,
    0 9px
  );
  transition: background-color 0.2s ease, color 0.2s ease,
    border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  background-color: var(--bg-2);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--accent);
}

.btn--hot {
  background-color: var(--hot);
  border-color: var(--hot);
  color: var(--hot-ink);
}

.btn--hot:hover {
  background-color: #FF7355;
  border-color: #FF7355;
  color: #0B1B33;
}

.btn--lime {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.btn--lime:focus-visible {
  box-shadow: inset 0 0 0 2px var(--accent-ink);
}

.btn--sm {
  padding: 9px 14px;
  font-size: 13px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--text-soft);
  border: 1px solid var(--line);
}

.tag--lime {
  background-color: rgba(182, 240, 60, 0.12);
  border-color: rgba(182, 240, 60, 0.4);
  color: var(--accent);
}

.tag--hot {
  background-color: rgba(255, 91, 58, 0.14);
  border-color: rgba(255, 91, 58, 0.42);
  color: var(--hot);
}

.tag--moss {
  background-color: rgba(92, 140, 74, 0.2);
  border-color: rgba(92, 140, 74, 0.46);
  color: #9CC98A;
}

.tag--cyan {
  background-color: rgba(79, 209, 217, 0.12);
  border-color: rgba(79, 209, 217, 0.4);
  color: var(--cyan);
}

/* ---------- 6. 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background-color: var(--header-bg);
  background-image: linear-gradient(90deg, var(--grid-soft) 1px, transparent 1px);
  background-size: 56px 100%;
  border-bottom: 1px solid var(--line);
}

.skip-link {
  position: absolute;
  left: 14px;
  top: -70px;
  z-index: 120;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-ink);
  background-color: var(--accent);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

.masthead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 16px var(--gutter) 12px;
}

.masthead__rail {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.masthead__rail--right { justify-content: flex-end; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--text-soft);
  border: 1px solid var(--line);
  clip-path: polygon(
    6px 0,
    100% 0,
    100% calc(100% - 6px),
    calc(100% - 6px) 100%,
    0 100%,
    0 6px
  );
}

.chip__key {
  font-family: var(--f-sans);
  letter-spacing: 0.2em;
  color: var(--text-mute);
}

.chip__val { color: var(--accent); }

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--hot);
  animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 91, 58, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(255, 91, 58, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 91, 58, 0); }
}

.live-text {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--text-mute);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 0 12px;
}

.brand__cn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: clamp(19px, 2.4vw, 26px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
}

.brand__cn::before {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  background-color: var(--accent);
  transform: rotate(45deg);
}

.brand__latin {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.night-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  color: var(--text-soft);
  border: 1px solid var(--line);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.night-toggle:hover {
  border-color: var(--accent);
  color: var(--text);
}

.night-toggle__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent);
  box-shadow: 0 0 9px rgba(182, 240, 60, 0.6);
}

html[data-theme="day"] .night-toggle__dot {
  background-color: var(--hot);
  box-shadow: 0 0 9px rgba(255, 91, 58, 0.5);
}

.masthead__cta { white-space: nowrap; }

.nav {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.nav__head { display: none; }

.nav__list {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: clamp(6px, 2vw, 28px);
}

.nav__list a {
  display: block;
  padding: 9px 4px 13px;
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--text-soft);
  border-bottom: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.nav__list a:hover { color: var(--text); }

.nav__list a[aria-current="page"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.data-orb { display: none; }
.statusbar { display: none; }

/* ---------- 7. 页脚 ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  color: var(--text-soft);
  background-color: var(--bg-3);
  border-top: 1px solid var(--line);
}

.site-footer__ridge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 190px;
  opacity: 0.55;
  pointer-events: none;
  background-image: linear-gradient(180deg, rgba(92, 140, 74, 0.24), rgba(196, 105, 74, 0.06));
  clip-path: polygon(
    0 78%, 7% 62%, 16% 74%, 26% 44%, 34% 60%, 44% 32%, 53% 55%,
    62% 38%, 72% 63%, 81% 47%, 90% 68%, 100% 52%, 100% 100%, 0 100%
  );
}

html[data-theme="day"] .site-footer__ridge { opacity: 0.28; }

.site-footer__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.3fr 0.9fr;
  gap: clamp(22px, 3vw, 44px);
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(38px, 5vw, 68px) var(--gutter) 0;
}

.foot-col { min-width: 0; }

.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text);
}

.foot-brand::before {
  content: "";
  width: 9px;
  height: 9px;
  background-color: var(--accent);
  transform: rotate(45deg);
}

.foot-line {
  margin-top: 10px;
  max-width: 22em;
  font-size: 14px;
  color: var(--text-soft);
}

.foot-line--dim {
  font-size: 13px;
  color: var(--text-mute);
}

.foot-title {
  margin-bottom: 14px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.foot-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.foot-list a {
  display: inline-block;
  padding-bottom: 1px;
  font-size: 14.5px;
  color: var(--text-soft);
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.foot-list a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.foot-contact {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 12px;
  margin-top: 18px;
  font-size: 12.5px;
}

.foot-contact__k {
  font-family: var(--f-mono);
  letter-spacing: 0.14em;
  color: var(--text-mute);
}

.foot-contact__v {
  font-size: 12.5px;
  color: var(--text);
  word-break: break-all;
}

.site-footer__base {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  max-width: var(--shell);
  margin: clamp(30px, 4vw, 52px) auto 0;
  padding: 16px var(--gutter) 28px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--text-mute);
  border-top: 1px solid var(--line);
}

/* ---------- 8. 图片容器基础规则 ---------- */
.frame {
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(150deg, var(--bg-2) 0%, var(--ink) 100%);
  border: 1px solid var(--line);
  clip-path: polygon(
    var(--cut) 0,
    100% 0,
    100% calc(100% - var(--cut)),
    calc(100% - var(--cut)) 100%,
    0 100%,
    0 var(--cut)
  );
}

.frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.5;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    linear-gradient(180deg, var(--grid-line) 1px, transparent 1px);
  background-size: 28px 28px;
}

.frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frame--16-9 { aspect-ratio: 16 / 9; }
.frame--4-3 { aspect-ratio: 4 / 3; }
.frame--1-1 { aspect-ratio: 1 / 1; }
.frame--wide { aspect-ratio: 21 / 9; }

.frame__cap {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  padding: 8px 14px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #F2EFE6;
  background-color: rgba(6, 14, 26, 0.74);
}

/* ---------- 9. 动效与状态 ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 100;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background-image: linear-gradient(90deg, var(--accent), var(--hot));
}

html.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

html.has-js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 10. 移动端头部形态 ---------- */
@media (max-width: 900px) {
  .masthead {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 12px var(--gutter);
  }

  .masthead__rail--left { display: none; }

  .brand {
    align-items: flex-start;
    padding: 0;
  }

  .brand__latin { display: none; }

  .masthead__rail--right { gap: 8px; }

  .night-toggle { padding: 7px 10px; letter-spacing: 0.1em; }

  .nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    max-height: 78vh;
    overflow-y: auto;
    padding: 20px var(--gutter) calc(26px + env(safe-area-inset-bottom, 0px));
    background-color: var(--bg-2);
    border-top: 1px solid var(--line);
    box-shadow: 0 -18px 44px rgba(6, 14, 26, 0.5);
    transform: translateY(103%);
    visibility: hidden;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.28s;
    clip-path: polygon(0 22px, 22px 0, 100% 0, 100% 100%, 0 100%);
  }

  .nav[data-open] {
    transform: translateY(0);
    visibility: visible;
  }

  .nav__head {
    display: block;
    margin-bottom: 14px;
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--text-mute);
  }

  .nav__list {
    flex-direction: column;
    gap: 0;
  }

  .nav__list li { border-bottom: 1px solid var(--line-soft); }

  .nav__list a {
    padding: 14px 2px;
    font-size: 16px;
    letter-spacing: 0.1em;
    border-bottom: 0;
  }

  .nav__list a[aria-current="page"] { color: var(--accent); }

  .nav__list a[aria-current="page"]::before {
    content: "●";
    margin-right: 10px;
    font-size: 9px;
    vertical-align: middle;
  }

  .data-orb {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    right: 16px;
    bottom: calc(60px + env(safe-area-inset-bottom, 0px));
    z-index: 80;
    width: 58px;
    height: 58px;
    line-height: 1;
    text-align: center;
    color: var(--hot-ink);
    background-color: var(--hot);
    border-radius: 50%;
    box-shadow: 0 10px 26px rgba(255, 91, 58, 0.36);
    transition: transform 0.22s ease, background-color 0.22s ease, color 0.22s ease;
  }

  .data-orb__num {
    font-size: 19px;
    font-weight: 700;
  }

  .data-orb__txt {
    margin-top: 3px;
    font-size: 9px;
    letter-spacing: 0.18em;
  }

  .data-orb[aria-expanded="true"] {
    color: var(--accent-ink);
    background-color: var(--accent);
    box-shadow: 0 10px 26px rgba(182, 240, 60, 0.32);
  }

  .data-orb[aria-expanded="true"] .data-orb__num { display: none; }

  .data-orb[aria-expanded="true"] .data-orb__txt {
    margin-top: 0;
    font-size: 15px;
    letter-spacing: 0.06em;
  }

  .statusbar {
    display: flex;
    align-items: center;
    gap: 10px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    height: calc(46px + env(safe-area-inset-bottom, 0px));
    padding: 0 var(--gutter) env(safe-area-inset-bottom, 0px);
    font-family: var(--f-mono);
    font-size: 11.5px;
    letter-spacing: 0.16em;
    color: var(--text-mute);
    background-color: var(--bg-3);
    border-top: 1px solid var(--line);
  }

  .statusbar__live { color: var(--hot); }
  .statusbar__sep { color: var(--line); }
}

/* ---------- 11. 页脚响应式 ---------- */
@media (max-width: 1024px) {
  .site-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .site-footer__inner { grid-template-columns: minmax(0, 1fr); }
  .site-footer__base { flex-direction: column; }
  .site-footer__ridge { height: 120px; }
}

/* ---------- 12. 减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .live-dot { animation: none; box-shadow: 0 0 0 3px rgba(255, 91, 58, 0.28); }

  html.has-js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .tilt,
  .tilt--r { transform: none; }
}
