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

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #2a1608;
  background: #fdf3e1;
}

a {
  color: #7a1b1b;
}

.lg-top {
  position: sticky;
  top: 0;
  padding: 12px 16px;
  background: #7a1b1b;
}

.lg-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  color: #fff3c4;
  text-decoration: none;
}

.lg {
  max-width: 680px;
  margin: 0 auto;
  padding: 20px 16px 32px;
}

.lg h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1.25;
  color: #7a1b1b;
}

.lg h2 {
  margin: 26px 0 6px;
  font-size: 18px;
  color: #7a1b1b;
}

.lg-updated {
  margin: 4px 0 18px;
  font-size: 14px;
  color: #6b5a50;
}

.lg ul {
  padding-left: 20px;
}

.lg li {
  margin: 0 0 8px;
}

.lg-card {
  margin: 16px 0;
  padding: 4px 16px;
  border: 1px solid #e3c99a;
  border-radius: 14px;
  background: #fffaf1;
}

.lg-card div {
  padding: 12px 0;
  border-bottom: 1px solid #f0e0c2;
}

.lg-card div:last-child {
  border-bottom: 0;
}

.lg-card dt {
  font-size: 14px;
  font-weight: 700;
  color: #6b5a50;
}

.lg-card dd {
  margin: 2px 0 0;
  font-size: 17px;
  overflow-wrap: anywhere;
}

.lg-foot {
  padding: 20px 16px 32px;
  text-align: center;
  font-size: 14px;
  color: #6b5a50;
  border-top: 1px solid #ecd2a6;
}

.lg-foot nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 18px;
  margin-bottom: 8px;
}

.lg-foot nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
