/* TENIMPER v55.25.137.16 — final public beauty pass: footer, empty states, 404 only. */

.ti13716-footer {
  --ti13716-ink: rgba(245, 235, 218, .86);
  --ti13716-muted: rgba(219, 202, 180, .58);
  --ti13716-line: rgba(184, 128, 56, .24);
  --ti13716-gold: #b98543;
  --ti13716-bg: linear-gradient(180deg, rgba(23, 15, 13, .98), rgba(16, 11, 10, .99));
  position: relative;
  isolation: isolate;
  background: var(--ti13716-bg) !important;
  border-top: 1px solid var(--ti13716-line) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.015);
  color: var(--ti13716-ink) !important;
}

.ti13716-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(700px 220px at 14% 0%, rgba(166, 108, 46, .08), transparent 66%),
    linear-gradient(90deg, transparent 0 9%, rgba(188, 132, 62, .045) 9.1%, transparent 9.2% 100%);
}

.ti13716-footer a {
  color: var(--ti13716-muted) !important;
  text-decoration: none !important;
  text-decoration-thickness: 1px;
  text-underline-offset: .28em;
  transition: color .18s ease, text-decoration-color .18s ease, opacity .18s ease;
}

.ti13716-footer a:hover,
.ti13716-footer a:focus-visible {
  color: var(--ti13716-ink) !important;
  text-decoration: underline !important;
  text-decoration-color: rgba(185,133,67,.48) !important;
}

.ti13716-footer .ti13716-footer-heading,
.ti13716-footer h2,
.ti13716-footer h3,
.ti13716-footer h4 {
  color: var(--ti13716-gold) !important;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: .78rem !important;
  font-style: normal !important;
  font-weight: 600 !important;
  letter-spacing: .16em !important;
  text-transform: uppercase;
}

.ti13716-footer p,
.ti13716-footer li,
.ti13716-footer small,
.ti13716-footer span {
  color: var(--ti13716-muted);
}

.ti13716-footer-primary {
  position: relative;
}

.ti13716-footer-last {
  border-top-color: var(--ti13716-line) !important;
}

.ti13716-empty-state {
  --ti13716-empty-ink: rgba(236, 222, 202, .72);
  --ti13716-empty-line: rgba(179, 124, 56, .22);
  position: relative;
  box-sizing: border-box;
  width: min(100%, 720px);
  margin-inline: auto !important;
  padding: 2.7rem 2.2rem 2.35rem !important;
  border: 0 !important;
  border-top: 1px solid var(--ti13716-empty-line) !important;
  border-bottom: 1px solid var(--ti13716-empty-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--ti13716-empty-ink) !important;
  text-align: center !important;
}

.ti13716-empty-state::before {
  content: '影';
  display: block;
  width: fit-content;
  margin: 0 auto 1.05rem;
  color: rgba(184, 128, 56, .64);
  font-family: 'Songti SC', 'STSong', 'SimSun', serif;
  font-size: 1.05rem;
  line-height: 1;
  letter-spacing: 0;
}

.ti13716-error-page {
  min-height: 100vh;
}

.ti13716-error-card {
  --ti13716-error-ink: rgba(245, 234, 217, .9);
  --ti13716-error-muted: rgba(221, 203, 181, .64);
  --ti13716-error-line: rgba(183, 127, 57, .28);
  position: relative;
  box-sizing: border-box;
  width: min(calc(100% - 32px), 860px) !important;
  min-height: min(62vh, 560px);
  margin: clamp(2rem, 8vh, 6.5rem) auto !important;
  padding: clamp(3rem, 8vw, 6.5rem) clamp(1.5rem, 7vw, 5.5rem) !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  border: 1px solid var(--ti13716-error-line) !important;
  border-radius: 2px !important;
  background:
    linear-gradient(135deg, rgba(177, 121, 52, .055), transparent 38%),
    rgba(24, 16, 14, .82) !important;
  box-shadow: 0 28px 80px rgba(0,0,0,.16) !important;
  color: var(--ti13716-error-ink) !important;
  overflow: hidden;
}

.ti13716-error-card::before {
  content: '迷';
  position: absolute;
  right: clamp(1.2rem, 6vw, 4rem);
  top: 50%;
  transform: translateY(-52%);
  color: rgba(184, 128, 56, .07);
  font-family: 'Songti SC', 'STSong', 'SimSun', serif;
  font-size: clamp(8rem, 22vw, 17rem);
  line-height: 1;
  pointer-events: none;
}

.ti13716-error-card h1,
.ti13716-error-card h2,
.ti13716-error-card .error-code,
.ti13716-error-card .status-code {
  position: relative;
  z-index: 1;
  margin: 0 0 1rem !important;
  color: var(--ti13716-error-ink) !important;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400 !important;
  letter-spacing: -.025em;
}

.ti13716-error-card p {
  position: relative;
  z-index: 1;
  max-width: 560px;
  color: var(--ti13716-error-muted) !important;
  line-height: 1.8 !important;
}

.ti13716-error-card a,
.ti13716-error-card button {
  position: relative;
  z-index: 1;
}

html[data-theme='light'] .ti13716-footer,
html[data-site-theme='light'] .ti13716-footer,
body[data-theme='light'] .ti13716-footer,
.theme-light .ti13716-footer {
  --ti13716-ink: #493a31;
  --ti13716-muted: #7a685c;
  --ti13716-line: rgba(142, 93, 43, .17);
  --ti13716-gold: #98692e;
  --ti13716-bg: linear-gradient(180deg, #eee2d2, #e9dccb);
  box-shadow: inset 0 1px rgba(255,255,255,.45);
}

html[data-theme='light'] .ti13716-empty-state,
html[data-site-theme='light'] .ti13716-empty-state,
body[data-theme='light'] .ti13716-empty-state,
.theme-light .ti13716-empty-state {
  --ti13716-empty-ink: #6d594b;
  --ti13716-empty-line: rgba(142, 93, 43, .2);
}

html[data-theme='light'] .ti13716-error-card,
html[data-site-theme='light'] .ti13716-error-card,
body[data-theme='light'] .ti13716-error-card,
.theme-light .ti13716-error-card {
  --ti13716-error-ink: #47372e;
  --ti13716-error-muted: #756357;
  --ti13716-error-line: rgba(142, 93, 43, .22);
  background:
    linear-gradient(135deg, rgba(164, 105, 42, .06), transparent 40%),
    rgba(251, 247, 240, .9) !important;
  box-shadow: 0 28px 70px rgba(93, 66, 42, .09) !important;
}

@media (prefers-color-scheme: light) {
  html:not([data-theme='dark']):not([data-site-theme='dark']) .ti13716-footer {
    --ti13716-ink: #493a31;
    --ti13716-muted: #7a685c;
    --ti13716-line: rgba(142, 93, 43, .17);
    --ti13716-gold: #98692e;
    --ti13716-bg: linear-gradient(180deg, #eee2d2, #e9dccb);
  }
  html:not([data-theme='dark']):not([data-site-theme='dark']) .ti13716-empty-state {
    --ti13716-empty-ink: #6d594b;
    --ti13716-empty-line: rgba(142, 93, 43, .2);
  }
  html:not([data-theme='dark']):not([data-site-theme='dark']) .ti13716-error-card {
    --ti13716-error-ink: #47372e;
    --ti13716-error-muted: #756357;
    --ti13716-error-line: rgba(142, 93, 43, .22);
    background:
      linear-gradient(135deg, rgba(164, 105, 42, .06), transparent 40%),
      rgba(251, 247, 240, .9) !important;
  }
}

@media (max-width: 720px) {
  .ti13716-empty-state {
    padding: 2rem 1.1rem 1.8rem !important;
  }

  .ti13716-error-card {
    width: min(calc(100% - 24px), 860px) !important;
    min-height: 52vh;
    margin-block: 1.4rem !important;
    padding: 3.2rem 1.3rem !important;
  }

  .ti13716-error-card::before {
    right: -.15em;
    top: 54%;
    font-size: clamp(7rem, 42vw, 11rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ti13716-footer a { transition: none !important; }
}
