/* =========================================================
   至尊棋牌新版 · 共享站点样式 /assets/site.css
   墨底黑 · 鎏金 · 朱砂 · 青玉
   ========================================================= */

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

html {
  color-scheme: dark;
  background: #0B0B0D;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body,
h1,
h2,
h3,
h4,
h5,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

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

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

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

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

hr {
  border: 0;
}

/* ---------- Design tokens ---------- */
:root {
  --ink-0: #0B0B0D;
  --ink-1: #131317;
  --ink-2: #1C1C22;
  --gold: #C9A227;
  --gold-hi: #E8C86A;
  --cinnabar: #B33A2B;
  --jade: #2F6E63;
  --ivory: #E8E3D8;
  --mist: #9A9488;
  --rule: #3A3A42;

  --font-display: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, "JetBrains Mono", "Roboto Mono", "SFMono-Regular", Menlo, Consolas, monospace;

  --fs-display: clamp(40px, 7.4vw, 92px);
  --fs-h1: clamp(32px, 5.2vw, 64px);
  --fs-h2: clamp(26px, 3.6vw, 44px);
  --fs-h3: clamp(21px, 2.4vw, 32px);
  --fs-h4: 24px;
  --fs-lead: clamp(16px, 1.5vw, 18px);
  --fs-body: 16px;
  --fs-sm: 13px;
  --fs-xs: 12px;

  --gap: 24px;
  --gap-s: 16px;
  --gap-l: clamp(32px, 5vw, 72px);
  --pad-x: clamp(16px, 3vw, 32px);
  --shell: 1440px;

  --radius: 2px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 180ms;
}

/* ---------- Base / 中文排版 ---------- */
body {
  min-height: 100vh;
  background: var(--ink-0);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--ivory);
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); font-weight: 700; letter-spacing: 0; }

strong,
b {
  color: var(--gold-hi);
  font-weight: 700;
}

::selection {
  background: var(--gold);
  color: var(--ink-0);
}

:focus-visible {
  outline: 2px solid var(--gold-hi);
  outline-offset: 2px;
}

/* ---------- Utilities ---------- */
.sk-container {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.sk-prose {
  max-width: 72ch;
}

.sk-prose p + p {
  margin-top: 1.2em;
}

.sk-lead {
  font-size: var(--fs-lead);
  line-height: 1.9;
  color: var(--ivory);
  max-width: 64ch;
}

.sk-mono {
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}

.sk-mist {
  color: var(--mist);
}

.sk-rule {
  height: 1px;
  background: var(--rule);
  margin: clamp(24px, 4vw, 48px) 0;
}

/* ---------- Skip link ---------- */
.sk-skip {
  position: absolute;
  left: var(--pad-x);
  top: -96px;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 12px 20px;
  background: var(--gold-hi);
  color: var(--ink-0);
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  letter-spacing: 0.1em;
  transition: top var(--dur) var(--ease);
}

.sk-skip:focus,
.sk-skip:focus-visible {
  top: 10px;
}

/* ---------- Header / 命令栏 ---------- */
.sk-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 11, 13, 0.94);
  border-bottom: 1px solid var(--rule);
  color: var(--ivory);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.sk-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 24px);
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad-x);
  height: 64px;
  transition: height 240ms var(--ease);
}

.sk-header[data-shrunk] .sk-header__inner {
  height: 48px;
}

.sk-brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  flex: 0 0 auto;
  min-height: 44px;
  padding-right: 2px;
}

.sk-brand__mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  line-height: 1.1;
  letter-spacing: 0.16em;
  color: var(--ivory);
}

.sk-brand__sub {
  max-height: 18px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  transition: max-height 200ms var(--ease), opacity 200ms var(--ease);
}

.sk-header[data-shrunk] .sk-brand__sub {
  opacity: 0;
  max-height: 0;
}

.sk-batch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 6px 10px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--ink-1);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  line-height: 1.4;
  letter-spacing: 0.05em;
  color: var(--gold-hi);
  white-space: nowrap;
}

.sk-batch__dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  background: var(--cinnabar);
}

.sk-nav {
  margin-left: auto;
  min-width: 0;
}

.sk-nav__list {
  display: flex;
  align-items: center;
  gap: 0;
}

.sk-nav__item {
  display: flex;
}

.sk-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 11px;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0.08em;
  color: var(--mist);
  white-space: nowrap;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.sk-nav__link:hover {
  color: var(--gold-hi);
  background: rgba(201, 162, 39, 0.08);
}

.sk-nav__link:focus-visible {
  outline-offset: -3px;
}

.sk-nav__link[aria-current="page"] {
  color: var(--gold-hi);
}

.sk-nav__link[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 20px;
  margin-top: -10px;
  background: var(--cinnabar);
}

.sk-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.sk-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--cinnabar);
  border-radius: var(--radius);
  background: var(--cinnabar);
  color: var(--ivory);
  font-size: 14px;
  letter-spacing: 0.12em;
  white-space: nowrap;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.sk-cta:hover {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold-hi);
}

.sk-burger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--ink-2);
  cursor: pointer;
  transition: border-color var(--dur) var(--ease);
}

.sk-burger:hover {
  border-color: var(--gold);
}

.sk-burger__bar {
  display: block;
  width: 20px;
  height: 1px;
  background: var(--gold-hi);
  transition: transform 200ms var(--ease), opacity 140ms linear;
}

.sk-burger[aria-expanded="true"] .sk-burger__bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.sk-burger[aria-expanded="true"] .sk-burger__bar:nth-child(2) {
  opacity: 0;
}

.sk-burger[aria-expanded="true"] .sk-burger__bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.sk-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  overflow: hidden;
  pointer-events: none;
}

.sk-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--gold-hi);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

/* ---------- Footer / 铭牌区 ---------- */
.sk-footer {
  margin-top: clamp(56px, 8vw, 112px);
  background: var(--ink-1);
  border-top: 1px solid var(--rule);
  color: var(--ivory);
}

.sk-footer__inner {
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(36px, 5vw, 64px) var(--pad-x) clamp(28px, 4vw, 44px);
  display: grid;
  grid-template-columns: minmax(240px, 1.5fr) minmax(140px, 1fr) minmax(140px, 1fr) minmax(220px, 1.3fr);
  gap: clamp(24px, 3vw, 48px);
}

.sk-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.sk-footer__mark {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.12em;
  color: var(--ivory);
  max-width: none;
}

.sk-footer__sub {
  font-size: var(--fs-sm);
  line-height: 1.75;
  letter-spacing: 0.04em;
  color: var(--mist);
  max-width: none;
}

.sk-footer__batch {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: var(--gold-hi);
  max-width: none;
}

.sk-footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.sk-footer__title {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.sk-footer__list {
  display: grid;
  gap: 8px;
}

.sk-footer__item {
  display: block;
}

.sk-footer__link {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--mist);
  transition: color var(--dur) var(--ease);
}

.sk-footer__link:hover {
  color: var(--gold-hi);
}

.sk-footer__contact {
  display: flex;
  gap: 10px;
  font-size: var(--fs-sm);
  line-height: 1.8;
  color: var(--mist);
  max-width: none;
  word-break: break-word;
}

.sk-footer__key {
  flex: 0 0 auto;
  min-width: 34px;
  padding-left: 8px;
  border-left: 1px solid var(--jade);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.9;
  letter-spacing: 0.16em;
  color: var(--mist);
}

.sk-footer__legal {
  border-top: 1px solid var(--rule);
  background: var(--ink-0);
}

.sk-footer__legal-inner {
  max-width: var(--shell);
  margin-inline: auto;
  padding: 18px var(--pad-x) 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 28px;
}

.sk-footer__legal-line {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  line-height: 1.7;
  letter-spacing: 0.06em;
  color: var(--mist);
  max-width: none;
}

.sk-footer__note {
  max-width: 64ch;
  font-size: var(--fs-xs);
  line-height: 1.75;
  letter-spacing: 0.02em;
  color: var(--mist);
}

/* ---------- Buttons ---------- */
.sk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ivory);
  font-size: 15px;
  letter-spacing: 0.08em;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.sk-btn:hover {
  border-color: var(--gold);
  background: rgba(201, 162, 39, 0.08);
  color: var(--gold-hi);
}

.sk-btn--primary {
  border-color: var(--cinnabar);
  background: var(--cinnabar);
  color: var(--ivory);
}

.sk-btn--primary:hover {
  background: transparent;
  border-color: var(--cinnabar);
  color: var(--gold-hi);
}

.sk-btn--ghost {
  border-color: var(--gold);
  color: var(--gold-hi);
}

.sk-btn--ghost:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink-0);
}

.sk-btn--jade {
  border-color: var(--jade);
  background: rgba(47, 110, 99, 0.18);
  color: var(--ivory);
}

.sk-btn--jade:hover {
  background: var(--jade);
  border-color: var(--jade);
  color: var(--ivory);
}

/* ---------- Breadcrumb ---------- */
.sk-breadcrumb {
  padding-block: 18px;
}

.sk-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  line-height: 1.6;
  letter-spacing: 0.06em;
  color: var(--mist);
}

.sk-breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sk-breadcrumb__sep {
  color: var(--rule);
}

.sk-breadcrumb__link {
  color: var(--mist);
  transition: color var(--dur) var(--ease);
}

.sk-breadcrumb__link:hover {
  color: var(--gold-hi);
}

/* ---------- Section head / 展览标签 ---------- */
.sk-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  line-height: 1.4;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.sk-tag::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--gold);
}

.sk-index-num {
  flex: 0 0 auto;
  padding-top: 2px;
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.06em;
  color: var(--gold-hi);
}

.sk-section-head {
  display: flex;
  align-items: baseline;
  gap: clamp(10px, 1.4vw, 18px);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: clamp(20px, 3vw, 36px);
}

.sk-section-head h2,
.sk-section-head h3 {
  margin: 0;
  font-size: var(--fs-h3);
  line-height: 1.2;
}

.sk-section-head__note {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  line-height: 1.6;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.sk-vertical-note {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  line-height: 1;
  letter-spacing: 0.24em;
  color: var(--mist);
}

/* ---------- Grid ---------- */
.sk-grid {
  display: grid;
  gap: var(--gap);
}

.sk-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sk-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* ---------- Figure / 展品容器 ---------- */
.sk-figure {
  position: relative;
  margin: 0;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--ink-2);
  overflow: hidden;
}

.sk-figure__frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--ink-1);
  background-image: repeating-linear-gradient(45deg, rgba(201, 162, 39, 0.1) 0 1px, transparent 1px 14px);
}

.sk-figure__frame > img,
.sk-figure__frame > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.05) brightness(0.9);
}

.sk-figure__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201, 162, 39, 0.28);
  background: rgba(201, 162, 39, 0.08);
  pointer-events: none;
}

.sk-figure--wide .sk-figure__frame {
  aspect-ratio: 16 / 9;
}

.sk-figure--tall .sk-figure__frame {
  aspect-ratio: 3 / 4;
}

.sk-figure--square .sk-figure__frame {
  aspect-ratio: 1 / 1;
}

.sk-figure__caption {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 12px;
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  line-height: 1.7;
  letter-spacing: 0.06em;
  color: var(--mist);
}

.sk-figure__caption::before {
  content: "图注";
  flex: 0 0 auto;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold);
}

/* ---------- Fold / 折叠面板 ---------- */
.sk-fold {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--ink-2);
}

.sk-fold + .sk-fold {
  margin-top: -1px;
}

.sk-fold__summary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 12px 18px;
  list-style: none;
  cursor: pointer;
  font-size: var(--fs-body);
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--ivory);
  transition: color var(--dur) var(--ease);
}

.sk-fold__summary::-webkit-details-marker {
  display: none;
}

.sk-fold__summary::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-right: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  transform: rotate(-45deg);
  transition: transform 200ms var(--ease);
}

.sk-fold__summary:hover {
  color: var(--gold-hi);
}

.sk-fold[open] > .sk-fold__summary::before {
  transform: rotate(45deg);
}

.sk-fold__body {
  padding: 14px 18px 18px;
  border-top: 1px solid var(--rule);
  font-size: 15px;
  line-height: 1.85;
  color: var(--mist);
}

.sk-fold__body p {
  max-width: 68ch;
}

/* ---------- Reveal ---------- */
.sk-js [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.sk-js [data-reveal="in"] {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .sk-batch {
    display: none;
  }
}

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

  .sk-footer__brand {
    grid-column: 1 / -1;
  }
}

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

@media (max-width: 880px) {
  .sk-header__inner {
    height: 56px;
    gap: 10px;
  }

  .sk-header[data-shrunk] .sk-header__inner {
    height: 52px;
  }

  .sk-brand__mark {
    font-size: 17px;
    letter-spacing: 0.12em;
  }

  .sk-cta {
    display: none;
  }

  .sk-burger {
    display: flex;
  }

  .sk-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 6px var(--pad-x) 18px;
    display: none;
    background: var(--ink-1);
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55);
  }

  .sk-nav[data-open] {
    display: block;
  }

  .sk-nav__list {
    flex-direction: column;
    align-items: stretch;
  }

  .sk-nav__item {
    width: 100%;
  }

  .sk-nav__link {
    justify-content: flex-start;
    width: 100%;
    min-height: 52px;
    padding: 0 14px;
    border-bottom: 1px solid var(--rule);
    font-size: 15px;
    color: var(--ivory);
  }

  .sk-nav__link[aria-current="page"] {
    background: rgba(179, 58, 43, 0.16);
    color: var(--gold-hi);
  }

  .sk-nav__link[aria-current="page"]::before {
    height: 24px;
    margin-top: -12px;
  }

  .sk-section-head {
    flex-wrap: wrap;
  }

  .sk-section-head__note {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 600px) {
  .sk-footer__inner {
    grid-template-columns: 1fr;
  }

  .sk-footer__legal-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .sk-grid--2,
  .sk-grid--3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .sk-js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .sk-skip {
    transition: none;
  }
}
