/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@import url('fonts.css');
@layer properties;
:root {
  --bg: #fdfdfc;
  --ink: #212124;
  --muted: #75757c;
  --faint: #97979e;
  --line: #ececef;
  --soft: #f6f6f4;
  --online: #2e8b3d;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", -apple-system, "Segoe UI", system-ui, sans-serif;
  --human1: #a32626;
  --human2: #26518f;
  --orc1: #2f5230;
  --orc2: #3d4440;
  --dwarf1: #5a5f66;
  --dwarf2: #5b3f26;
  --elf1: #1f6e5c;
  --elf2: #8a6d1f;
  --undead1: #5b3a7e;
  --undead2: #44484c;
  --a1: #9a9aa0;
  --a2: #6f6f76;
}
body:has(#r-human:checked) {
  --a1: var(--human1);
  --a2: var(--human2);
}
body:has(#r-orc:checked) {
  --a1: var(--orc1);
  --a2: var(--orc2);
}
body:has(#r-dwarf:checked) {
  --a1: var(--dwarf1);
  --a2: var(--dwarf2);
}
body:has(#r-elf:checked) {
  --a1: var(--elf1);
  --a2: var(--elf2);
}
body:has(#r-undead:checked) {
  --a1: var(--undead1);
  --a2: var(--undead2);
}
body:has(.shrine.human:hover) {
  --a1: var(--human1);
  --a2: var(--human2);
}
body:has(.shrine.orc:hover) {
  --a1: var(--orc1);
  --a2: var(--orc2);
}
body:has(.shrine.dwarf:hover) {
  --a1: var(--dwarf1);
  --a2: var(--dwarf2);
}
body:has(.shrine.elf:hover) {
  --a1: var(--elf1);
  --a2: var(--elf2);
}
body:has(.shrine.undead:hover) {
  --a1: var(--undead1);
  --a2: var(--undead2);
}
body {
  --a1x: var(--a1);
  --a2x: var(--a2);
}
body:has(#dark:checked) {
  --bg: #131416;
  --ink: #dddee1;
  --muted: #9ca1a8;
  --faint: #7f838b;
  --line: #25272b;
  --soft: #1d1f22;
  --online: #57b967;
  --a1x: var(--a1);
  @supports (color: color-mix(in lab, red, red)) {
    --a1x: color-mix(in srgb, var(--a1), #fff 46%);
  }
  --a2x: var(--a2);
  @supports (color: color-mix(in lab, red, red)) {
    --a2x: color-mix(in srgb, var(--a2), #fff 46%);
  }
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  background: var(--bg);
  color: var(--ink);
  font: 400 13.5px/1.65 var(--sans);
  font-variant-numeric: tabular-nums;
  -webkit-text-size-adjust: 100%;
}
body::before {
  content: "";
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(to bottom, var(--human1) 0%, var(--human2) 9%, var(--orc1) 20%, var(--orc2) 29%, var(--dwarf1) 40%, var(--dwarf2) 49%, var(--elf1) 60%, var(--elf2) 69%, var(--undead1) 80%, var(--undead2) 89%, var(--human1) 100%);
  background-size: 100% 1000%;
}
@media (prefers-reduced-motion: no-preference) {
  body::before {
    animation: march 40s linear infinite;
  }
  @keyframes march {
    to {
      background-position: 0 -1000%;
    }
  }
}
body:has(input[name="race"]:checked)::before {
  animation: none;
  background: linear-gradient(to bottom, var(--a1) 0 50%, var(--a2) 50% 100%);
}
a {
  color: var(--a2x);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ctl {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.app {
  max-width: 900px;
  margin: 0 auto;
  padding: 26px 24px 72px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand-group {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
}
.ea-badge {
  font: 600 9px/1 var(--sans);
  --tw-tracking: 0.6px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  cursor: default;
  margin-top: -3px;
  transform: translateX(3px);
}
.brand {
  font: 600 20px/1 var(--serif);
  --tw-tracking: 3.5px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--ink);
}
.brand:visited, .brand:hover {
  color: var(--ink);
  text-decoration: none;
}
.brand::first-letter {
  color: #c22b2b;
}
body:has(#dark:checked) .brand::first-letter {
  color: #ff6b6b;
}
.brand {
  display: inline-flex;
  align-items: center;
}
.brand-logo {
  display: block;
  height: 26px;
  width: auto;
}
.brand-logo-dark {
  display: none;
}
body:has(#dark:checked) .brand-logo-light {
  display: none;
}
body:has(#dark:checked) .brand-logo-dark {
  display: block;
}
label[for="dark"].icon-btn {
  cursor: pointer;
  border: 1px solid var(--line);
  color: var(--ink);
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
label[for="dark"] .icon-moon {
  display: none;
}
body:has(#dark:checked) label[for="dark"] .icon-sun {
  display: none;
}
body:has(#dark:checked) label[for="dark"] .icon-moon {
  display: inline-flex;
}
.opening {
  margin-top: 72px;
  text-align: center;
}
.realm-line {
  font-size: 10px;
  font-weight: 600;
  --tw-tracking: 2.6px;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: var(--faint);
}
.realm-line i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--online);
  margin: 0 6px 0 8px;
  vertical-align: 1px;
}
h1 {
  font: 600 44px/1.05 var(--serif);
  margin: 14px 0 10px;
}
h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--a1x);
}
.opening .sub {
  color: var(--muted);
  font-size: 13px;
}
.act {
  margin-top: 84px;
  text-align: center;
}
.act-n {
  font: 600 20px/1 var(--serif);
  color: var(--a1x);
}
.act-t {
  font-size: 10.5px;
  font-weight: 600;
  --tw-tracking: 2.4px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--faint);
  margin: 6px 0 30px;
}
.shrines {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  text-align: center;
}
.shrine {
  position: relative;
  padding: 26px 8px 20px;
  cursor: pointer;
  border-radius: 12px;
  transition: background 0.2s ease;
}
.shrine:has(.ctl:checked) {
  background: rgba(0, 0, 0, 0.05);
}
body:has(#dark:checked) .shrine:has(.ctl:checked) {
  background: rgba(255, 255, 255, 0.07);
}
.shrine::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--line);
  transition: background 0.2s ease;
}
.shrine.human:hover::before, body:has(#r-human:checked) .shrine.human::before {
  background: linear-gradient(to right, var(--human1), var(--human2));
}
.shrine.orc:hover::before, body:has(#r-orc:checked) .shrine.orc::before {
  background: linear-gradient(to right, var(--orc1), var(--orc2));
}
.shrine.dwarf:hover::before, body:has(#r-dwarf:checked) .shrine.dwarf::before {
  background: linear-gradient(to right, var(--dwarf1), var(--dwarf2));
}
.shrine.elf:hover::before, body:has(#r-elf:checked) .shrine.elf::before {
  background: linear-gradient(to right, var(--elf1), var(--elf2));
}
.shrine.undead:hover::before, body:has(#r-undead:checked) .shrine.undead::before {
  background: linear-gradient(to right, var(--undead1), var(--undead2));
}
.shrine .icon {
  display: inline-block;
  color: var(--faint);
  transition: color 0.2s ease, transform 0.25s ease;
}
.shrine .icon svg {
  display: block;
  width: 34px;
  height: 34px;
}
.shrine:hover .icon {
  transform: translateY(-3px);
}
.shrine .name {
  display: block;
  font: 600 18px/1.1 var(--serif);
  margin-top: 11px;
  color: var(--muted);
  transition: color 0.2s ease;
}
.shrine .motto {
  display: block;
  margin-top: 3px;
  font: italic 500 11.5px/1.35 var(--serif);
  color: var(--faint);
}
.shrine:hover .name {
  color: var(--ink);
}
.shrine:hover .icon {
  color: var(--a1x);
}
body:has(#r-human:checked) .shrine.human .icon, body:has(#r-orc:checked) .shrine.orc .icon, body:has(#r-dwarf:checked) .shrine.dwarf .icon, body:has(#r-elf:checked) .shrine.elf .icon, body:has(#r-undead:checked) .shrine.undead .icon {
  color: var(--a1x);
}
body:has(#r-human:checked) .shrine.human .name, body:has(#r-orc:checked) .shrine.orc .name, body:has(#r-dwarf:checked) .shrine.dwarf .name, body:has(#r-elf:checked) .shrine.elf .name, body:has(#r-undead:checked) .shrine.undead .name {
  color: var(--a1x);
  font-style: italic;
}
.herald {
  margin-top: 26px;
  font: italic 500 14px/1.4 var(--serif);
  color: var(--faint);
}
.herald::after {
  content: "The heralds wait in silence.";
}
body:has(#r-human:checked) .herald::after {
  content: "The heralds cry: a Human lord rises in Westfall.";
}
body:has(#r-orc:checked) .herald::after {
  content: "The heralds cry: an Orc warband gathers in Westfall.";
}
body:has(#r-dwarf:checked) .herald::after {
  content: "The heralds cry: a Dwarf hold opens its gates in Westfall.";
}
body:has(#r-elf:checked) .herald::after {
  content: "The heralds cry: an Elf house wakes in Westfall.";
}
body:has(#r-undead:checked) .herald::after {
  content: "The heralds whisper: something stirs in Westfall.";
}
body:has(input[name="race"]:checked) .herald {
  color: var(--a1x);
}
.charter {
  position: relative;
  text-align: left;
  border: 1px solid var(--line);
  padding: 44px 56px 38px;
  background: var(--soft);
}
.charter::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid var(--line);
  pointer-events: none;
}
.charter .proclaim {
  font: 500 18px/2.1 var(--serif);
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.charter .proclaim::first-letter {
  float: none;
  font: inherit;
  color: inherit;
  padding: 0;
}
.lord-name-line {
  display: block;
  margin: 10px 0 8px;
}
.lord-name-line .blank {
  display: block;
  width: min(100%, 20em);
  margin: 0 auto;
  text-align: center;
  font-size: 24px;
  --tw-leading: 1.35;
  line-height: 1.35;
  border-bottom-width: 2px;
  border-bottom-color: var(--a1x);
  padding: 4px 10px 6px;
  --tw-tracking: 0.2px;
  letter-spacing: 0.2px;
}
.lord-name-line .blank::placeholder {
  color: var(--muted);
  font-size: 15px;
  --tw-tracking: 1px;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.9;
}
.lord-name-line .blank:focus {
  outline: none;
  border-bottom-color: var(--a1x);
}
.blank {
  display: inline-block;
  width: 11em;
  font: italic 500 18px/1.4 var(--serif);
  color: var(--ink);
  text-align: center;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--muted);
  border-radius: 0;
  padding: 0 4px 1px;
}
.blank::placeholder {
  color: var(--faint);
  font-size: 14px;
  --tw-tracking: 0.5px;
  letter-spacing: 0.5px;
}
.fill {
  font-style: italic;
  color: var(--a1x);
}
.fill.words {
  font-size: 1.14em;
}
.fill.racename::after {
  content: "unsworn blood";
  color: var(--faint);
}
body:has(#r-human:checked) .fill.racename::after {
  content: "Human blood";
  color: var(--a1x);
}
body:has(#r-orc:checked) .fill.racename::after {
  content: "Orc blood";
  color: var(--a1x);
}
body:has(#r-dwarf:checked) .fill.racename::after {
  content: "Dwarf blood";
  color: var(--a1x);
}
body:has(#r-elf:checked) .fill.racename::after {
  content: "Elf blood";
  color: var(--a1x);
}
body:has(#r-undead:checked) .fill.racename::after {
  content: "Undead blood";
  color: var(--a1x);
}
.fill.words::after {
  content: "words yet unspoken";
  color: var(--faint);
}
body:has(#r-human:checked) .fill.words::after {
  content: '"By fire and oath"';
  color: var(--a1x);
}
body:has(#r-orc:checked) .fill.words::after {
  content: '"Blood pays for blood"';
  color: var(--a1x);
}
body:has(#r-dwarf:checked) .fill.words::after {
  content: '"The mountain endures"';
  color: var(--a1x);
}
body:has(#r-elf:checked) .fill.words::after {
  content: '"Leaves fall, we do not"';
  color: var(--a1x);
}
body:has(#r-undead:checked) .fill.words::after {
  content: '"Death is a door"';
  color: var(--a1x);
}
.records {
  margin: 34px auto 0;
  max-width: 680px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 32px;
  text-align: left;
}
.records .lead {
  grid-column: 1 / -1;
  font-size: 11px;
  --tw-tracking: 1.6px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--faint);
}
.field.wide {
  grid-column: 1 / -1;
}
.field label {
  display: block;
  font-size: 9.5px;
  font-weight: 600;
  --tw-tracking: 1.8px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 3px;
}
.field input {
  width: 100%;
  font: 400 14px/1.4 var(--sans);
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 4px 0 6px;
  border-radius: 0;
}
.field input::placeholder {
  color: var(--faint);
}
.sealing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.terms {
  display: flex;
  align-items: baseline;
  gap: 9px;
  font-size: 12px;
  color: var(--muted);
}
.terms input {
  accent-color: var(--a1);
}
.seal {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.25s ease;
}
.seal svg {
  width: 46px;
  height: 46px;
}
.seal span {
  font: 600 9px/1 var(--sans);
  --tw-tracking: 2.4px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}
.seal:hover {
  background: linear-gradient(135deg, var(--a1) 0 50%, var(--a2) 50% 100%);
  border-color: transparent;
  color: #fdfdfc;
  transform: rotate(-4deg) scale(1.04);
}
body:not(:has(input[name="race"]:checked)) .seal {
  opacity: 0.35;
  pointer-events: none;
}
.seal-hint {
  font-size: 11.5px;
  color: var(--faint);
}
.seal-hint::after {
  content: "The seal waits for your blood to be chosen.";
}
body:has(input[name="race"]:checked) .seal-hint::after {
  content: "Press your seal into the wax.";
}
.alt {
  font-size: 12px;
  color: var(--muted);
}
.error-box {
  margin-top: 4px;
  color: #c22b2b;
  font-size: 12px;
  max-width: 560px;
}
.error-box ul {
  margin: 0;
  padding-left: 18px;
}
footer {
  margin-top: 96px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  --tw-tracking: 0.4px;
  letter-spacing: 0.4px;
  color: var(--faint);
  display: flex;
  justify-content: center;
}
.footer-love {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}
@media (max-width: 620px) {
  body::before {
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    width: auto;
    height: 4px;
    background: linear-gradient(to right, var(--human1) 0%, var(--human2) 9%, var(--orc1) 20%, var(--orc2) 29%, var(--dwarf1) 40%, var(--dwarf2) 49%, var(--elf1) 60%, var(--elf2) 69%, var(--undead1) 80%, var(--undead2) 89%, var(--human1) 100%);
    background-size: 1000% 100%;
  }
  .app {
    padding: 22px 18px 56px;
  }
  .opening {
    margin-top: 44px;
  }
  h1 {
    font-size: 32px;
  }
  .act {
    margin-top: 64px;
  }
  .shrines {
    grid-template-columns: repeat(2, 1fr);
  }
  .shrine:last-child {
    grid-column: 1 / -1;
  }
  .charter {
    padding: 28px 22px 26px;
  }
  .charter .proclaim {
    font-size: 16px;
    --tw-leading: 2.15;
    line-height: 2.15;
    max-width: 100%;
  }
  .records {
    max-width: 100%;
  }
  .lord-name-line .blank {
    width: 100%;
    font-size: 20px;
  }
  .blank {
    width: 9em;
    font-size: 16px;
  }
  .records {
    grid-template-columns: 1fr;
  }
  .field.wide {
    grid-column: auto;
  }
}
.google-gate {
  width: 100%;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}
.google-gate.top {
  margin-top: 46px;
}
.google-gate.top .google-or {
  margin: 16px 0 0;
}
.google-or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  color: var(--faint);
  font-size: 10px;
  --tw-tracking: 2px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.google-or::before, .google-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 20px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--bg);
  font: 600 11px/1 var(--sans);
  --tw-tracking: 1.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: border-color .2s ease, background-color .2s ease;
}
.google-btn:hover {
  text-decoration: none;
  border-color: var(--a1x);
  background: var(--soft);
}
.google-btn .g-icon {
  flex: none;
  display: block;
}
.linkish {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--a2x);
  cursor: pointer;
}
.linkish:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
@property --tw-tracking {
  syntax: "*";
  inherits: false;
}
@property --tw-leading {
  syntax: "*";
  inherits: false;
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-tracking: initial;
      --tw-leading: initial;
    }
  }
}
