:root { color-scheme: dark; font: 100%/1.55 system-ui, sans-serif; background: #101313; color: #e1e0d4; }
* { box-sizing: border-box; }
body { max-width: 58rem; margin: auto; padding: 2rem clamp(1.2rem, 5vw, 4rem) 4rem; }
header { border-bottom: 1px solid #414841; padding-bottom: 1rem; }
header a { color: inherit; text-decoration: none; font-weight: 650; }
a { color: #dac09d; text-underline-offset: .18em; }
h1, h2 { font: 400 clamp(1.65rem, 4vw, 2.2rem)/1.15 Georgia, serif; margin: 0 0 1.3rem; }
section { padding: 2rem 0; border-bottom: 1px solid #343c38; }
dl, dd, p { margin: 0; }
dl > div { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; margin-bottom: 1.5rem; }
dl > div:last-child { margin-bottom: 0; }
dt, dd span, .record-meta { color: #adb4ab; }
dd span, iframe { display: block; }
ul { margin: .45rem 0 0; padding-left: 1.2rem; }
iframe { border: 0; width: min(100%, 400px); }
@media (max-width: 36rem) { dl > div { grid-template-columns: 1fr; gap: .25rem; } }
.badge-details {
  --badge-scale: 1;
  width: calc(400px * var(--badge-scale));
  max-width: 100%;
  padding-top: 1.5rem;
}
.profile-tagline { margin-top: 1.75rem; color: #b8c9aa; font: 600 clamp(.9rem, 2.2vw, 1.1rem)/1.5 Consolas, "Courier New", monospace; }
.thm-badge {
  width: 400px; height: 172px; transform: scale(var(--badge-scale)); transform-origin: top left;
  margin-bottom: calc(172px * (var(--badge-scale) - 1));
}
@media (max-width: 40rem) { .badge-details { --badge-scale: .82; } }
@media (max-width: 33rem) { .badge-details { --badge-scale: .72; } }
@media (max-width: 26rem) { .badge-details { --badge-scale: .62; } }
@media (max-width: 23rem) { .badge-details { --badge-scale: .53; } }
