:root {
  --ivory: #fffaf1;
  --paper: #ffffff;
  --blush: #e9b8b9;
  --blush-soft: #f8dedc;
  --charcoal: #24211f;
  --muted: #756d68;
  --gold: #b8914f;
  --gold-soft: #ead8ae;
  --line: rgba(36, 33, 31, 0.12);
  --shadow: 0 22px 70px rgba(51, 39, 32, 0.12);
  --radius: 22px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--charcoal);
  background:
    radial-gradient(circle at 92% 8%, rgba(233, 184, 185, 0.34), transparent 28rem),
    linear-gradient(180deg, var(--ivory) 0%, #fff 46%, #fbf3ee 100%);
  line-height: 1.75;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: var(--charcoal);
  color: #fff;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(255, 250, 241, 0.84);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.brand img {
  display: block;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(184, 145, 79, 0.22);
}

.brand strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-link {
  min-width: 96px;
  text-align: center;
  padding: 0.62rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.52);
}

.hero,
.content-section,
.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 3rem;
  align-items: center;
  padding: 4rem 0 3rem;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.45;
}

.entity-definition {
  margin: 1.6rem 0 1.4rem;
  max-width: 760px;
  font-size: clamp(1.04rem, 2vw, 1.28rem);
  color: #403a36;
}

.summary-panel,
.empty-state,
.article-card,
.detail-preview-card,
.faq-item {
  border: 1px solid rgba(36, 33, 31, 0.1);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
}

.summary-panel {
  display: grid;
  gap: 0.75rem;
  padding: 1.35rem;
  border-radius: var(--radius);
}

.summary-panel p,
.section-heading p,
.empty-state p,
.card-body p,
.detail-summary,
.detail-list,
.faq-item p,
.site-footer p {
  margin: 0;
  color: var(--muted);
}

.hero-visual {
  min-height: 430px;
  border-radius: 32px;
  position: relative;
  background:
    linear-gradient(135deg, rgba(36, 33, 31, 0.88), rgba(70, 53, 48, 0.72)),
    radial-gradient(circle at 35% 20%, rgba(248, 222, 220, 0.72), transparent 16rem);
  overflow: hidden;
  box-shadow: 0 34px 90px rgba(36, 33, 31, 0.2);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 11%;
  border: 1px solid rgba(234, 216, 174, 0.5);
  border-radius: 50%;
  transform: rotate(-16deg);
}

.hero-visual::after {
  content: "";
  position: absolute;
  width: 76%;
  height: 76%;
  left: 12%;
  bottom: -30%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(248, 222, 220, 0.68), rgba(184, 145, 79, 0.18) 48%, transparent 72%);
}

.orbital-card {
  position: absolute;
  right: 2rem;
  bottom: 2rem;
  width: min(260px, calc(100% - 4rem));
  padding: 1.4rem;
  border-radius: 18px;
  color: #fffaf1;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 250, 241, 0.24);
  backdrop-filter: blur(14px);
}

.orbital-card p {
  margin: 0.7rem 0 0;
  color: rgba(255, 250, 241, 0.78);
}

.orbital-card strong {
  display: block;
  font-size: 5rem;
  line-height: 1;
}

.orbital-card small {
  color: rgba(255, 250, 241, 0.78);
}

.gold-line {
  display: block;
  width: 72px;
  height: 3px;
  border-radius: 999px;
  background: var(--gold-soft);
}

.content-section {
  padding: 4.6rem 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 1.8rem;
}

.section-heading p:last-child {
  margin-top: 0.85rem;
}

.empty-state {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1.3rem;
  border-radius: var(--radius);
  margin-bottom: 1.4rem;
}

.compact-empty {
  margin-top: 1.2rem;
  margin-bottom: 0;
  box-shadow: none;
}

.empty-mark {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--charcoal);
  font-weight: 900;
  background: linear-gradient(135deg, var(--blush-soft), var(--gold-soft));
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.4rem;
}

.category-tab {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.52rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--charcoal);
  font-weight: 800;
  text-decoration: none;
}

.category-tab.active {
  border-color: rgba(184, 145, 79, 0.42);
  background: var(--charcoal);
  color: #fffaf1;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.article-card {
  overflow: hidden;
  border-radius: var(--radius);
}

.cover-gradient {
  min-height: 190px;
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.2), rgba(233, 184, 185, 0.48)),
    repeating-linear-gradient(90deg, rgba(184, 145, 79, 0.18) 0 1px, transparent 1px 26px),
    linear-gradient(135deg, #fff7ef, #e9b8b9);
}

.cover-gradient.second {
  background:
    radial-gradient(circle at 72% 28%, rgba(234, 216, 174, 0.72), transparent 9rem),
    linear-gradient(135deg, #2f2926, #5c4742);
}

.card-body {
  padding: 1.3rem;
}

.card-body h3 a {
  color: inherit;
  text-decoration: none;
}

.card-body h3 a:hover,
.card-body h3 a:focus {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 0.22em;
}

.meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.meta-row span {
  padding: 0.26rem 0.6rem;
  border-radius: 999px;
  background: var(--blush-soft);
  color: #5d423f;
  font-weight: 700;
}

.text-link {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--charcoal);
  font-weight: 800;
  text-decoration-color: var(--gold);
  text-underline-offset: 0.25em;
}

.disabled-link {
  opacity: 0.55;
  cursor: not-allowed;
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.detail-preview-card {
  padding: 1.6rem;
  border-radius: var(--radius);
}

.detail-kicker {
  display: inline-flex;
  margin-bottom: 0.9rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(184, 145, 79, 0.16);
  color: #725b31;
  font-weight: 800;
  font-size: 0.85rem;
}

.detail-summary {
  margin-top: 0.7rem;
}

.article-detail {
  padding-top: 2rem;
}

.article-heading {
  max-width: 880px;
  margin-bottom: 1.4rem;
}

.article-heading h2 {
  margin-top: 0.6rem;
}

.article-meta {
  justify-content: flex-start;
  margin-bottom: 0;
}

.article-body {
  max-width: 880px;
}

.article-body p {
  margin: 0;
  color: #403a36;
}

.article-body p + p {
  margin-top: 1rem;
}

.article-body h3 {
  margin-top: 1.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  font-size: 1.32rem;
}

.detail-list {
  padding-left: 1.2rem;
  margin-top: 1rem;
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

caption {
  padding: 1rem 1rem 0;
  text-align: left;
  color: var(--muted);
  font-weight: 700;
}

th,
td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  color: var(--charcoal);
  background: #fff5eb;
}

tr:last-child td {
  border-bottom: 0;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  padding: 1.2rem;
  border-radius: 18px;
}

.faq-item p {
  margin-top: 0.5rem;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  gap: 1.2rem;
  align-items: start;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
}

.site-footer strong {
  letter-spacing: 0.08em;
}

.site-footer a {
  color: var(--charcoal);
  font-weight: 800;
}

@media (max-width: 860px) {
  .hero,
  .split-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 3rem;
  }

  .hero-visual {
    min-height: 360px;
  }

  .article-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .nav-shell {
    width: min(100% - 24px, 1120px);
    min-height: 70px;
  }

  .brand small {
    display: none;
  }

  .nav-link {
    min-width: 84px;
    padding-inline: 0.75rem;
  }

  .hero,
  .content-section,
  .site-footer {
    width: min(100% - 24px, 1120px);
  }

  h1 {
    font-size: clamp(2.8rem, 18vw, 4.3rem);
  }

  .summary-panel,
  .empty-state,
  .card-body,
  .detail-preview-card,
  .faq-item {
    padding: 1rem;
  }

  .empty-state {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 310px;
    border-radius: 24px;
  }

  .orbital-card {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    width: auto;
  }

  .meta-row {
    align-items: flex-start;
    flex-direction: column;
  }
}
