.oath-roster {
  --or-ground: #171313;
  --or-ink: #f4e6cb;
  --or-gold: #dfbd80;
  --or-rule: #8a704e;
  --or-muted: #ded1b7;
  position: relative;
  isolation: isolate;
  background-color: var(--or-ground);
  color: var(--or-ink);
  scroll-margin-top: 12px;
}
.oath-roster:is([data-side="morok"], :not([data-ready]):has(#roster-morok:target), :not([data-ready]):has(.or-side[data-side="morok"] .or-profile:target)) {
  --or-ground: #11171b;
  --or-gold: #e0cda9;
  --or-rule: #79857d;
  --or-muted: #d4d9cf;
}
.oath-roster .or-wrap {
  --or-gutter: clamp(20px, 5vw, 76px);
  width: min(100%, 1440px);
  margin-inline: auto;
  padding-block: clamp(32px, 4.6vw, 68px) clamp(36px, 4.6vw, 68px);
}
.oath-roster :is(.or-heading, .or-strip) { margin-inline: var(--or-gutter); }
.oath-roster .or-marker {
  position: absolute;
  inset: 0 auto auto 0;
  width: 1px;
  height: 1px;
  scroll-margin-top: 12px;
}
.oath-roster .or-reader { position: absolute; inline-size: 1px; block-size: 1px; clip-path: inset(50%); overflow: hidden; }
.oath-roster .or-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 9px 24px;
  margin-bottom: clamp(20px, 2.6vw, 43px);
}
.oath-roster .or-heading h2 {
  margin: 0;
  color: var(--or-ink);
  font: 600 clamp(44px, 5.1vw, 81px)/.95 var(--folio);
  letter-spacing: -.04em;
  text-wrap: balance;
}
.oath-roster .or-sides { display: inline-flex; align-items: end; gap: 4px; }
.oath-roster .or-sides a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  gap: 6px;
  padding: 0 clamp(9px, 1.4vw, 21px) 3px;
  border-bottom: 1px solid var(--or-rule);
  color: var(--or-muted);
  font: 600 clamp(17px, 1.5vw, 23px)/1.15 var(--folio);
  text-decoration: none;
}
.oath-roster .or-sides img { width: 28px; height: 28px; object-fit: contain; }
.oath-roster .or-sides a[aria-current="true"],
.oath-roster:not([data-ready]):not(:has(#roster-morok:target, .or-side[data-side="morok"] .or-profile:target)) .or-sides [href="#roster-light"],
.oath-roster:not([data-ready]):has(#roster-morok:target, .or-side[data-side="morok"] .or-profile:target) .or-sides [href="#roster-morok"] {
  color: var(--or-gold);
  border-bottom: 2px solid var(--or-gold);
}
.oath-roster [hidden],
.oath-roster:not([data-ready]) .or-side[data-side="morok"],
.oath-roster:not([data-ready]) .or-profile:not(:first-child):not(:target),
.oath-roster:not([data-ready]) .or-profiles:has(.or-profile:target) .or-profile:not(:target),
.oath-roster:not([data-ready]):has(#roster-morok:target, .or-side[data-side="morok"] .or-profile:target) .or-side[data-side="light"] { display: none; }
.oath-roster:not([data-ready]):has(#roster-morok:target, .or-side[data-side="morok"] .or-profile:target) .or-side[data-side="morok"] { display: block; }
.oath-roster .or-profile {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(0, 1fr);
  align-items: center;
  margin: 0;
  scroll-margin-top: 20px;
}
.oath-roster .or-profile[hidden] { display: none; }
.oath-roster .or-art {
  position: relative;
  width: 100%;
  aspect-ratio: 1.64;
  background-image: var(--or-art);
  background-size: var(--or-size, cover);
  background-position: var(--or-position, 44% 36%);
  background-repeat: no-repeat;
}
.oath-roster .or-art::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to right, transparent 78%, var(--or-ground));
}
.oath-roster .or-story {
  min-width: 0;
  padding: clamp(10px, 1.7vw, 26px) var(--or-gutter) clamp(10px, 1.7vw, 26px) clamp(14px, 1.7vw, 26px);
}
.oath-roster .or-role {
  display: flex;
  margin: 0 0 clamp(7px, 1.35vw, 18px);
  align-items: center;
  gap: 9px;
  color: var(--or-gold);
  font: 550 14px/1.2 var(--body);
}
.oath-roster .or-role img { width: 24px; height: 24px; }
.oath-roster .or-bio h3 { margin: 0; color: var(--or-ink); font: 600 clamp(36px, 4.55vw, 69px)/.97 var(--folio); letter-spacing: -.035em; text-wrap: balance; overflow-wrap: anywhere; }
.oath-roster .or-origin { margin: 13px 0 0; color: var(--or-muted); font: 500 clamp(15px, 1.45vw, 22px)/1.28 var(--folio); }
.oath-roster .or-origin::first-letter { text-transform: uppercase; }
.oath-roster .or-lore { max-width: 38ch; margin: clamp(13px, 1.5vw, 22px) 0; color: var(--or-ink); font: 500 clamp(20px, 1.72vw, 28px)/1.27 var(--folio); }
.oath-roster .or-turns { display: flex; gap: 8px; }
.oath-roster .or-turn {
  display: grid;
  place-items: center;
  min-width: 48px;
  min-height: 44px;
  color: var(--or-gold);
  border: 1px solid var(--or-rule);
  background-color: rgb(17 16 20 / .72);
  text-decoration: none;
}
.oath-roster .or-turn svg { width: 25px; height: 18px; }
.oath-roster .or-prev svg { transform: rotate(180deg); }
.oath-roster .or-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(75px, 6.1vw, 92px);
  align-items: start;
  gap: 8px;
  margin-top: clamp(20px, 2.6vw, 35px);
  padding: 8px 4px 12px;
  border-top: 1px solid var(--or-rule);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-color: var(--or-rule) transparent;
  scrollbar-width: thin;
}
.oath-roster .or-token {
  display: grid;
  align-content: start;
  gap: 6px;
  min-height: 44px;
  color: var(--or-muted);
  scroll-snap-align: start;
  text-decoration: none;
  font: 500 12px/1.2 var(--body);
}
.oath-roster .or-token img { width: 100%; height: auto; display: block; aspect-ratio: 1.3; object-fit: cover; object-position: center 28%; border: 1px solid var(--or-rule); }
.oath-roster .or-token span { overflow-wrap: anywhere; }
.oath-roster .or-token[aria-current="true"] { color: var(--or-ink); }
.oath-roster .or-token[aria-current="true"] img { outline: 2px solid var(--or-gold); outline-offset: 1px; }
.oath-roster :is(.or-sides a,.or-turn,.or-token):focus-visible { outline: 2px solid var(--or-gold); outline-offset: 2px; }
@media (hover: hover) {
  .oath-roster :is(.or-sides a,.or-turn,.or-token):hover { color: #fff4dc; }
  .oath-roster .or-token:hover img, .oath-roster .or-turn:hover { border-color: var(--or-gold); }
}
@media (min-width: 1200px) {
  .oath-roster .or-strip { grid-auto-columns: minmax(0, 92px); }
}
@media (max-width: 720px) {
  .oath-roster .or-wrap { --or-gutter: clamp(16px, 4.6vw, 26px); }
  .oath-roster .or-heading { align-items: center; margin-bottom: 18px; }
  .oath-roster .or-heading h2 { font-size: clamp(37px, 8vw, 52px); }
  .oath-roster .or-sides { gap: 3px; }
  .oath-roster .or-sides a { padding-inline: 5px; font-size: 17px; }
  .oath-roster .or-sides img { width: 22px; height: 22px; }
  .oath-roster .or-profile { display: block; }
  .oath-roster .or-art { aspect-ratio: 1.43; }
  .oath-roster #oath-ilya .or-art { background-position: var(--or-position, 77% 36%); }
  .oath-roster #oath-vaino .or-art { background-position: var(--or-position, 85% 36%); }
  .oath-roster .or-art::after { background: linear-gradient(to bottom, transparent 84%, var(--or-ground)); }
  .oath-roster .or-story { position: relative; padding: 4px var(--or-gutter) 0; }
  .oath-roster .or-bio h3 { font-size: clamp(36px, 9.6vw, 54px); }
  .oath-roster .or-role { gap: 6px; min-height: 44px; margin-bottom: 7px; padding-right: 102px; font-size: 13px; }
  .oath-roster .or-role img { width: 21px; height: 21px; }
  .oath-roster .or-origin { margin-top: 6px; font-size: 15px; }
  .oath-roster .or-turns { position: absolute; top: 4px; right: var(--or-gutter); gap: 5px; }
  .oath-roster .or-turn { min-width: 44px; min-height: 44px; }
  .oath-roster .or-lore { margin: 10px 0 0; font-size: 22px; }
  .oath-roster .or-strip { margin-top: 18px; grid-auto-columns: 69px; }
}
@media (prefers-reduced-motion: no-preference) {
  .oath-roster { transition: background-color .28s ease; }
  .oath-roster[data-ready] .or-profile:not([hidden]) > * { animation: oath-scene-arrive .24s ease-out; }
  @keyframes oath-scene-arrive { from { opacity: .65; } to { opacity: 1; } }
}

#oath-ilya { --or-art: url("art/hero-scenes/ilya.webp"); }
#oath-dobrynya { --or-art: url("art/hero-scenes/dobrynya.webp"); }
#oath-alyosha { --or-art: url("art/hero-scenes/alyosha.webp"); }
#oath-vasilisa { --or-art: url("art/hero-scenes/vasilisa.webp"); }
#oath-ural { --or-art: url("art/hero-scenes/ural.webp"); }
#oath-nyurgun { --or-art: url("art/hero-scenes/nyurgun.webp"); }
#oath-vaino { --or-art: url("art/hero-scenes/vaino.webp"); }
#oath-geser { --or-art: url("art/hero-scenes/geser.webp"); }
#oath-alpamysh { --or-art: url("art/hero-scenes/alpamysh.webp"); }
#oath-sosruko { --or-art: url("art/hero-scenes/sosruko.webp"); }
#oath-batraz { --or-art: url("art/hero-scenes/batraz.webp"); }
#oath-hongor { --or-art: url("art/hero-scenes/hongor.webp"); }
#oath-maaday { --or-art: url("art/hero-scenes/maaday.webp"); }
#oath-yirkap { --or-art: url("art/hero-scenes/yirkap.webp"); }
#oath-koschei { --or-art: url("art/hero-scenes/koschei.webp"); }
#oath-tugarin { --or-art: url("art/hero-scenes/tugarin.webp"); }
#oath-solovey { --or-art: url("art/hero-scenes/solovey.webp"); }
#oath-shulgen { --or-art: url("art/hero-scenes/shulgen.webp"); }
#oath-louhi { --or-art: url("art/hero-scenes/louhi.webp"); }
#oath-erlik { --or-art: url("art/hero-scenes/erlik.webp"); }
#oath-shurale { --or-art: url("art/hero-scenes/shurale.webp"); }
#oath-yoma { --or-art: url("art/hero-scenes/yoma.webp"); }
#oath-joukahainen { --or-art: url("art/hero-scenes/joukahainen.webp"); }
