body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Inter', sans-serif;
  background: #f7f3ea;
  color: #1f241f;
  line-height: 1.75;
}

.legal-shell {
  width: min(860px, calc(100% - 36px));
  margin: 0 auto;
  padding: 32px 0 64px;
}

.legal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(31, 36, 31, 0.12);
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.legal-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #1f241f;
  font-weight: 700;
  font-family: 'Songti SC', 'Noto Serif SC', Georgia, serif;
  font-size: 18px;
}

.legal-brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.legal-nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13.5px;
}

.legal-nav a {
  color: #1e4d3b;
  text-decoration: none;
  font-weight: 600;
}

.legal-nav a:hover {
  text-decoration: underline;
}

.legal-lang-select {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(31, 36, 31, 0.22);
  background: #fffdf8;
  color: #1e4d3b;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}

.support-direct-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  background: #efe8da;
  border-inline-start: 4px solid #c59b5f;
  border-radius: 12px;
  padding: 14px 18px;
  margin: 18px 0 22px;
}

.support-direct-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.support-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(30, 77, 59, 0.35);
  background: #fffdf8;
  color: #1e4d3b;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.support-btn-outline:hover {
  background: #f0ece2;
}

.ticket-receipt.is-warn {
  background: rgba(197, 155, 95, 0.16);
  border-color: #c59b5f;
}

.legal-card {
  background: #fffdf8;
  border: 1px solid rgba(31, 36, 31, 0.12);
  border-radius: 22px;
  padding: 36px;
  box-shadow: 0 12px 34px rgba(38, 30, 18, 0.06);
}

.legal-card h1 {
  font-family: 'Songti SC', 'Noto Serif SC', Georgia, serif;
  font-size: clamp(26px, 3vw, 34px);
  margin: 0 0 8px;
}

.legal-meta {
  font-size: 13px;
  color: #7c837a;
  margin-bottom: 26px;
}

.legal-card h2 {
  font-family: 'Songti SC', 'Noto Serif SC', Georgia, serif;
  font-size: 20px;
  margin: 28px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(31, 36, 31, 0.08);
  color: #1e4d3b;
}

.legal-card p,
.legal-card li {
  font-size: 14.5px;
  color: #363d36;
}

.legal-callout {
  background: #efe8da;
  border-left: 4px solid #c59b5f;
  border-radius: 10px;
  padding: 14px 16px;
  margin: 16px 0;
  font-size: 14px;
}

.support-form {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.support-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 5px;
}

.support-form input,
.support-form select,
.support-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid rgba(31, 36, 31, 0.2);
  background: #f7f3ea;
  font-family: inherit;
  font-size: 14px;
}

.support-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: 0;
  background: #1e4d3b;
  color: #fffdf8;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  width: fit-content;
}

.support-btn:hover {
  background: #163b2d;
}

.ticket-receipt {
  display: none;
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(94, 154, 139, 0.14);
  border: 1px solid #5e9a8b;
  font-size: 14px;
}

@media (max-width: 640px) {
  .legal-card {
    padding: 22px;
  }
}
