:root {
  color-scheme: dark;
  --text: #fbf4e5;
  --soft: #c7bcaa;
  --gold: #e6c782;
  --line: #453b29;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(12px, 4vw, 48px);
  color: var(--text);
  background: radial-gradient(ellipse at 50% 0, #292215, #121110 54%, #0c0c0b);
  font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}
.card {
  width: min(100%, 456px);
  padding: 24px clamp(16px, 5vw, 30px) 22px;
  background: radial-gradient(ellipse at 50% 0, #262016, transparent 52%), #171614;
  border: 1px solid #655336;
  border-radius: 24px;
  box-shadow: 0 18px 75px #0008;
}
.identity { text-align: center; }
.crest { display: block; margin: 0 auto 8px; object-fit: contain; }
.brand {
  margin: 0 0 11px;
  color: var(--gold);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .24em;
  padding-inline-start: .24em;
}
h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(2rem, 8vw, 2.7rem);
  line-height: 1.12;
}
.role {
  margin: 6px 0 18px;
  color: var(--soft);
  font-size: .81rem;
  line-height: 1.52;
}
.action {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 55px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  background: #211e19;
  text-decoration: none;
  cursor: pointer;
}
.action:hover { border-color: #a88c56; background: #2d271c; }
.action:focus-visible, .specialty a:focus-visible { outline: 2px solid #ffe2a0; outline-offset: 3px; }
.action svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.action strong { display: block; font-size: .9rem; line-height: 1.35; }
.primary {
  justify-content: center;
  min-height: 56px;
  margin-bottom: 10px;
  border-color: #efcf89;
  color: #211909;
  background: linear-gradient(105deg, #d6ac62, #f1d59d 57%, #dcb574);
}
.primary:hover { background: #f0d49a; }
.primary svg { stroke: currentColor; }
.channels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.wechat summary { list-style: none; }
.wechat summary::-webkit-details-marker { display: none; }
.wechat summary::after { content: "+"; color: var(--soft); margin-inline-start: auto; }
.wechat[open] summary::after { content: "−"; }
.wechat[open], .wechat[open] + .action { grid-column: 1 / -1; }
.wechat-panel { margin: 9px 0 3px; text-align: center; }
.wechat-panel p { margin: 0 0 8px; color: var(--soft); font-size: .81rem; line-height: 1.45; }
.wechat-qr {
  display: block;
  width: min(100%, 300px);
  height: auto;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
}
.specialty {
  text-align: center;
  margin-top: 17px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: .78rem;
  line-height: 1.45;
}
.specialty p { margin: 0; }
.specialty a { display: inline-block; margin-top: 6px; color: var(--gold); text-underline-offset: 3px; }
@media (max-width: 340px) {
  .action { padding-inline: 8px; gap: 7px; }
  .action svg { width: 17px; height: 17px; flex-basis: 17px; }
}
