:root {
  color-scheme: light;
  --muciyu-bg: #f7f4ea;
  --muciyu-panel: #fffdf7;
  --muciyu-border: #d5c6a0;
  --muciyu-text: #2e2618;
  --muciyu-muted: #746650;
  --muciyu-accent: #8a3b12;
  --muciyu-soft: #fbf3df;
  --muciyu-shadow: 0 18px 40px rgba(54, 36, 12, 0.08);
}

main#quarto-document-content > header#title-block-header {
  display: none !important;
}

.page {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0 3rem;
  color: var(--muciyu-text);
}

.hero,
.demo-shell,
.doc-section {
  margin: 0 0 1.25rem;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-section,
.demo-shell,
.doc-section,
.card {
  background: var(--muciyu-panel);
  border: 1px solid var(--muciyu-border);
  border-radius: 8px;
  box-shadow: var(--muciyu-shadow);
}

.hero-section,
.demo-shell,
.doc-section {
  padding: 1.2rem;
}

.hero h1,
.hero h2,
.demo-shell h2,
.doc-section h2 {
  margin-top: 0;
}

.hero h1 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 6vw, 3.6rem);
  line-height: 1;
}

.intro,
.doc-section p {
  max-width: 74rem;
}

.intro,
.doc-section p,
.notes-list {
  line-height: 1.58;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

.mapping-table {
  width: 100%;
  border-collapse: collapse;
  background: #fffaf0;
}

.mapping-table th,
.mapping-table td {
  padding: 0.7rem 0.8rem;
  border: 1px solid #e3d3ad;
  text-align: left;
  vertical-align: top;
}

.mapping-table th {
  color: var(--muciyu-accent);
  white-space: nowrap;
}

.demo-shell {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.section-heading p {
  margin: 0;
}

.notes-list {
  margin-bottom: 0;
}

.demo-layout {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card {
  padding: 1rem;
}

.embed-card {
  background: linear-gradient(180deg, #fffdf7 0%, var(--muciyu-soft) 100%);
}

.muciyu-ime-embed {
  width: 100%;
  height: 920px;
  min-height: 920px;
  border: 0;
  display: block;
  background: var(--muciyu-bg);
  border-radius: 8px;
}

code {
  color: #75300f;
}

@media (max-width: 760px) {
  .page {
    width: min(100% - 1rem, 100%);
    padding-top: 1rem;
  }

  .hero-section,
  .demo-shell,
  .doc-section,
  .card {
    padding: 0.9rem;
  }

  .muciyu-ime-embed {
    height: 1120px;
    min-height: 1120px;
  }
}
