:root {
  color-scheme: light;
  --ink: #1d2c28;
  --muted: #677067;
  --line: #d8cdbb;
  --line-strong: #b9aa92;
  --paper: #f4efe4;
  --surface: #fffdf8;
  --surface-alt: #eee6d8;
  --forest: #123d2f;
  --forest-2: #1f513f;
  --gold: #d3946d;
  --red: #934d3f;
  --blue: #5f7864;
  --green: #496b52;
  --saddle: #9b5738;
  --saddle-dark: #79402a;
  --field-sage: #5f7864;
  --copper: #d3946d;
  --primary-soft: #f3e6dd;
  --primary-border: #cfa68f;
  --secondary-soft: #e7eee8;
  --secondary-border: #a8b9aa;
  --ceremony-art: url("design/assets/ceremonial/pantheon-coronation.jpg");
  --pos-qb: #c65345;
  --pos-rb: #5f7864;
  --pos-wr: #287da8;
  --pos-te: #875d91;
  --pos-def: #145842;
  --pos-pick: #d98a14;
  --pos-other: #7d8581;
  --pending-pick: var(--pos-other);
  --pending-pick-text: var(--pos-rb);
  --pending-pick-soft: #ecefeb;
  --pending-pick-border: #b1b8b3;
  --pending-pick-ink: #5e6560;
  --you-accent: #123d2f;
  --you-surface: #e7eee8;
  --you-surface-strong: #dce8df;
  --you-border: #a8b9aa;
  --you-ink: #123d2f;
  --shadow: 0 8px 24px rgba(41, 35, 26, 0.07);
  --time-capsule-art: url("design/assets/ceremonial/oracle-time-capsule.jpg");
}

.ceremony-art-pantheon {
  --ceremony-art: url("design/assets/ceremonial/pantheon-coronation.jpg");
}

.ceremony-art-heisman {
  --ceremony-art: url("design/assets/ceremonial/heisman-leather-helmet.jpg");
}

.ceremony-art-quarterback {
  --ceremony-art: url("design/assets/ceremonial/quarterback-release.jpg");
}

.ceremonial-compact.ceremony-art-quarterback {
  --ceremony-compact-y: 20%;
}

.ceremony-art-ascent {
  --ceremony-art: url("design/assets/ceremonial/champion-ascent.jpg");
}

.ceremony-art-olympus {
  --ceremony-art: url("design/assets/ceremonial/mount-olympus-lone-champion.jpg");
}

body {
  background:
    radial-gradient(circle at 82% 2%, rgba(211, 148, 109, 0.08), transparent 27rem),
    linear-gradient(rgba(18, 61, 47, 0.024) 1px, transparent 1px),
    var(--paper);
  background-size: auto, 100% 34px, auto;
  color: var(--ink);
  font-family: "DM Sans", ui-sans-serif, system-ui, sans-serif;
}

/*
 * Pressed cotton A2 rollout.
 * Roll back to the original Almanac background by removing
 * data-paper-stock="cotton" from index.html.
 */
html[data-paper-stock="cotton"] body {
  background:
    radial-gradient(circle, rgba(105, 83, 54, 0.046) 0 0.45px, transparent 0.7px) 0 0 / 9px 11px,
    radial-gradient(circle, rgba(255, 255, 255, 0.296) 0 0.5px, transparent 0.8px) 2px 3px / 13px 15px,
    repeating-linear-gradient(11deg, transparent 0 6px, rgba(121, 96, 63, 0.01) 6px 7px, transparent 7px 13px),
    radial-gradient(ellipse at 18% 16%, rgba(255, 255, 255, 0.58), transparent 34%),
    radial-gradient(ellipse at 82% 76%, rgba(142, 112, 74, 0.055), transparent 39%),
    linear-gradient(106deg, rgba(255, 255, 255, 0.14), rgba(151, 119, 77, 0.025)),
    var(--paper);
}

h1,
h2,
h3,
h4,
.landing-title,
.kpi-value,
.team-stat strong,
.fact-value,
.story-value {
  font-family: "Literata", Charter, Georgia, serif;
  letter-spacing: -0.018em;
}

.app-shell {
  grid-template-columns: 238px minmax(0, 1fr);
}

.sidebar {
  gap: 24px;
  padding: 22px 16px;
  background: #123d2f;
  border-right: 1px solid #285444;
  color: #fffaf0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(211, 148, 109, 0.58);
  border-radius: 7px;
  background: #1b4a3b;
  color: #e3aa87;
  font-family: "Literata", Charter, Georgia, serif;
  font-size: 16px;
  letter-spacing: 0.02em;
  box-shadow: none;
}

.brand-mark img {
  border-radius: 6px;
}

.brand-block h1 {
  color: #fffaf0;
  font-family: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-block p,
.source-note {
  color: #aec1b9;
}

.sidebar-toggle {
  color: #e3aa87;
  background: rgba(211, 148, 109, 0.08);
  border-color: rgba(211, 148, 109, 0.38);
  border-radius: 6px;
}

.nav-list {
  gap: 2px;
}

.nav-item {
  position: relative;
  min-height: 42px;
  padding: 10px 11px;
  border-radius: 5px;
  color: #c8d5d0;
  font-size: 13px;
  font-weight: 700;
}

.nav-icon {
  color: #9db1a9;
}

.nav-item:hover,
.nav-item:focus-visible {
  background: rgba(255, 250, 240, 0.06);
}

.nav-item.is-active {
  background: rgba(211, 148, 109, 0.13);
  color: #f1c3a6;
}

.nav-item.is-active::before {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 0;
  width: 2px;
  background: #d3946d;
  content: "";
}

.nav-item:hover .nav-icon,
.nav-item:focus-visible .nav-icon,
.nav-item.is-active .nav-icon {
  color: #d3946d;
}

.content-area {
  max-width: 1500px;
  width: 100%;
  margin: 0 auto;
  padding: 30px 38px 58px;
}

.topbar {
  padding-bottom: 20px;
  border-color: var(--line-strong);
}

.topbar h2 {
  color: #123d2f;
  font-size: clamp(29px, 3vw, 40px);
  font-weight: 600;
}

.crumbs,
.eyebrow,
.small-label,
.kpi-label,
th {
  color: #9b5738;
  letter-spacing: 0.12em;
}

.crumb-link,
.crumb-current {
  color: #9b5738;
}

.account-chip,
.identity-chip {
  border-color: var(--line-strong);
  border-radius: 6px;
  background: rgba(255, 253, 248, 0.76);
  color: var(--ink);
  box-shadow: none;
}

.account-chip-dot {
  border-radius: 3px;
  background: #b9aa92;
}

.account-chip:hover,
.account-chip:focus-visible,
.account-chip.is-signed-in,
.identity-chip:hover,
.identity-chip:focus-visible {
  border-color: #9b5738;
}

.view-region {
  padding-top: 30px;
}

.landing-hero {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  padding: 38px 38% 34px 0;
  border-bottom: 1px solid var(--line-strong);
}

.landing-hero::after {
  position: absolute;
  right: 3%;
  bottom: -42px;
  color: rgba(18, 61, 47, 0.055);
  font-family: "Literata", Charter, Georgia, serif;
  font-size: 190px;
  font-weight: 700;
  line-height: 1;
  content: "DY";
  pointer-events: none;
}

.landing-title {
  max-width: 720px;
  color: #123d2f;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 600;
  line-height: 0.98;
}

.landing-sub {
  max-width: 700px;
  color: #5e6961;
  font-size: 15px;
  line-height: 1.7;
}

.app-shell.is-landing {
  display: block;
}

.app-shell.is-landing .sidebar {
  position: sticky;
  z-index: 20;
  height: auto;
  padding: 14px 28px;
  background: #123d2f;
  border-right: 0;
  border-bottom: 3px solid #d3946d;
}

.app-shell.is-landing .sidebar-header {
  width: 100%;
}

.landing-feature-nav {
  display: none;
}

.app-shell.is-league-picker .brand-block {
  flex: 0 0 auto;
}

.app-shell.is-league-picker .landing-feature-nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.landing-feature-nav > a,
.landing-feature-nav-more > summary {
  padding: 8px 9px;
  border-radius: 4px;
  color: #c8d5d0;
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.landing-feature-nav > a:hover,
.landing-feature-nav > a:focus-visible,
.landing-feature-nav-more > summary:hover,
.landing-feature-nav-more > summary:focus-visible,
.landing-feature-nav-more[open] > summary {
  background: rgba(255, 250, 240, 0.11);
  color: #fffaf0;
  outline: none;
}

.landing-feature-nav-more {
  position: relative;
  flex: 0 0 auto;
}

.landing-feature-nav-more > summary {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  list-style: none;
}

.landing-feature-nav-more > summary::-webkit-details-marker {
  display: none;
}

.landing-feature-nav-more > summary::after {
  content: "⌄";
  font-size: 10px;
  line-height: 1;
  transform: translateY(-1px);
}

.landing-feature-nav-menu {
  position: absolute;
  z-index: 50;
  top: calc(100% + 11px);
  right: 0;
  display: grid;
  width: 250px;
  gap: 4px;
  padding: 7px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: var(--surface);
  box-shadow: 0 18px 42px rgba(24, 34, 29, 0.22);
}

.landing-feature-nav-menu::before {
  position: absolute;
  top: -8px;
  right: 18px;
  width: 14px;
  height: 14px;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
  background: var(--surface);
  content: "";
  transform: rotate(45deg);
}

.landing-feature-nav-menu a {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2px;
  padding: 10px 11px;
  border-radius: 4px;
  color: var(--forest);
  text-decoration: none;
}

.landing-feature-nav-menu a:hover,
.landing-feature-nav-menu a:focus-visible {
  background: var(--secondary-soft);
  outline: none;
}

.landing-feature-nav-menu strong {
  font-size: 11px;
}

.landing-feature-nav-menu span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.35;
}

.app-shell.is-league-picker .account-chip {
  border-color: #c9bba3;
  background: #fffdf8;
}

.landing-league-row {
  border-color: var(--secondary-border);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 4px 12px rgba(41, 35, 26, 0.05);
}

.landing-league-copy strong {
  color: var(--forest);
}

.landing-league-copy span {
  color: var(--muted);
}

.landing-league-row:hover,
.landing-league-row:focus-visible {
  border-color: var(--forest);
  background: var(--secondary-soft);
  box-shadow: 0 0 0 3px rgba(18, 61, 47, 0.1);
}

.app-shell.is-landing .sidebar-toggle {
  display: none;
}

.app-shell.is-landing .content-area {
  max-width: 1180px;
}

@media (max-width: 1020px) {
  .app-shell.is-league-picker .brand-block p {
    display: none;
  }

  .app-shell.is-league-picker .landing-feature-nav {
    gap: 2px;
  }

  .landing-feature-nav > a,
  .landing-feature-nav-more > summary {
    padding-inline: 7px;
    font-size: 10px;
  }
}

@media (max-width: 780px) {
  .app-shell.is-landing .sidebar {
    padding: 12px 14px 10px;
  }

  .app-shell.is-landing .sidebar-header {
    flex-wrap: wrap;
  }

  .app-shell.is-league-picker .brand-block {
    flex: 1 1 auto;
  }

  .app-shell.is-league-picker .landing-feature-nav {
    order: 3;
    flex-basis: 100%;
    justify-content: flex-start;
    margin-inline: -4px;
    padding-top: 3px;
  }

  .app-shell.is-league-picker .landing-header-actions {
    order: 2;
  }
}

@media (max-width: 420px) {
  .landing-feature-nav > a,
  .landing-feature-nav-more > summary {
    padding-inline: 5px;
    font-size: 9px;
  }

  .landing-feature-nav-menu {
    right: -4px;
    width: min(250px, calc(100vw - 28px));
  }
}

.section-heading {
  align-items: flex-start;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.section-heading h3 {
  color: #123d2f;
  font-size: 24px;
  font-weight: 600;
}

.section-heading p {
  color: var(--muted);
}

.kpi-card,
.tile,
.trade-card,
.vote-card,
.story-card,
.fact-card,
.facts-insight-card,
.facts-highlight-card,
.facts-deep-dive,
.startup-survivors-summary,
.team-card-button,
.title-card,
.pick-card,
.time-capsule-card,
.trophy-case-group,
.draft-resume-stat,
.draft-resume-story,
.edition-stat-card,
.edition-market-notes article,
.edition-number-card,
.edition-draft-lead {
  background: rgba(255, 253, 248, 0.92);
  border-color: var(--line);
  border-radius: 5px;
  box-shadow: var(--shadow);
}

.time-capsule-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: clamp(340px, 38vw, 500px);
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: clamp(34px, 5vw, 68px);
  border: 1px solid #8f7a63;
  border-left: 5px solid var(--saddle);
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(7, 24, 18, 0.98) 0%, rgba(7, 24, 18, 0.94) 40%, rgba(7, 24, 18, 0.58) 68%, rgba(7, 24, 18, 0.16) 100%) center / cover no-repeat,
    var(--time-capsule-art) right center / cover no-repeat;
  box-shadow: 0 14px 34px rgba(41, 35, 26, 0.16);
  color: #fffaf0;
}

.time-capsule-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(211, 148, 109, 0.08), transparent 32%, rgba(0, 0, 0, 0.2)),
    repeating-linear-gradient(11deg, transparent 0 7px, rgba(255, 250, 240, 0.015) 7px 8px, transparent 8px 14px);
  content: "";
  pointer-events: none;
}

.time-capsule-hero > * {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.time-capsule-hero .eyebrow {
  color: #e2aa84;
}

.time-capsule-hero h3 {
  color: #fffaf0;
  font-family: "Literata", Charter, Georgia, serif;
  font-size: clamp(28px, 3.65vw, 42px);
  font-weight: 600;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.34);
}

.time-capsule-hero .muted {
  max-width: 640px;
  color: rgba(255, 250, 240, 0.8);
  font-size: 17px;
  line-height: 1.6;
}

.vote-summary {
  margin-bottom: 18px;
}

.vote-summary-grid {
  gap: 14px;
}

.vote-summary-card {
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--line-strong);
  border-radius: 6px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: var(--shadow);
}

.vote-summary-card.approved {
  border-color: var(--secondary-border);
  border-left-color: var(--field-sage);
  background: linear-gradient(180deg, rgba(231, 238, 232, 0.86), rgba(255, 253, 248, 0.97));
}

.vote-summary-card.rejected {
  border-color: var(--primary-border);
  border-left-color: var(--red);
  background: linear-gradient(180deg, rgba(243, 230, 221, 0.88), rgba(255, 253, 248, 0.97));
}

.vote-summary-card.other {
  border-color: var(--line);
  border-left-color: var(--line-strong);
  background: linear-gradient(180deg, rgba(238, 230, 216, 0.74), rgba(255, 253, 248, 0.97));
}

.vote-summary-card h4 {
  margin-bottom: 12px;
  color: var(--forest);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.vote-summary-card.rejected h4 {
  color: var(--red);
}

.vote-summary-card.other h4 {
  color: var(--saddle-dark);
}

.vote-summary-card li + li {
  padding-top: 10px;
  border-top: 1px solid rgba(185, 170, 146, 0.52);
}

.vote-summary-card strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.vote-summary-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.kpi-card {
  min-height: 116px;
  padding: 18px;
  border-top: 3px solid #123d2f;
}

.kpi-card:nth-child(2n) {
  border-top-color: #9b5738;
}

.ceremonial-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero-card.ceremonial-compact {
  border-color: #b9aa92;
  border-top-color: #123d2f;
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.98) 0%, rgba(255, 253, 248, 0.9) 58%, rgba(238, 230, 216, 0.7) 100%),
    var(--ceremony-art) 72% var(--ceremony-compact-y, center) / cover no-repeat;
  box-shadow: 0 10px 26px rgba(41, 35, 26, 0.1);
}

.hero-card.ceremonial-compact .hero-person strong {
  color: #123d2f;
  font-family: "Literata", Charter, Georgia, serif;
  font-weight: 600;
}

.ceremonial-mark {
  position: absolute;
  z-index: 0;
  top: 11px;
  right: 13px;
  color: rgba(155, 87, 56, 0.55);
  font-size: 18px;
}

.kpi-value {
  color: #123d2f;
  font-size: 38px;
  font-weight: 600;
}

.story-card,
.fact-card {
  background: rgba(255, 253, 248, 0.92);
}

.blockbuster-side {
  background: #f3e6dd;
  border-color: #cfa68f;
  border-left: 3px solid #9b5738;
}

.blockbuster-side:nth-child(even) {
  background: #e7eee8;
  border-color: #a8b9aa;
  border-left-color: #5f7864;
}

.blockbuster-side .story-team-button {
  color: #9b5738;
}

.blockbuster-side:nth-child(even) .story-team-button {
  color: #48614d;
}

.blockbuster-side span {
  color: #66727a;
}

.blockbuster-side .story-team-button:hover,
.blockbuster-side .story-team-button:focus-visible {
  color: #123d2f;
}

.story-meter {
  height: 8px;
  border-radius: 2px;
  background: #e5dccd;
  box-shadow: inset 0 0 0 1px rgba(117, 96, 65, 0.08);
}

.story-meter span {
  border-radius: 2px;
  background: #9b5738;
}

.trade-story-grid.compact .story-card:nth-child(2) .story-bar-row:nth-child(1) .story-meter span {
  background: #5f7864;
}

.trade-story-grid.compact .story-card:nth-child(2) .story-bar-row:nth-child(2) .story-meter span {
  background: #9b5738;
}

.trade-story-grid.compact .story-card:nth-child(2) .story-bar-row:nth-child(3) .story-meter span {
  background: #123d2f;
}

.title-timeline {
  position: relative;
}

.title-timeline::before {
  position: absolute;
  top: 48px;
  right: 6%;
  left: 6%;
  height: 1px;
  background: #c7b89f;
  content: "";
}

.title-card {
  position: relative;
  border-top: 3px solid #d3946d;
}

.title-card.ceremonial-archive {
  border-top-color: #123d2f;
  background: linear-gradient(180deg, rgba(238, 230, 216, 0.72), rgba(255, 253, 248, 0.96) 46%);
}

.title-card.ceremonial-archive::after {
  position: absolute;
  top: 10px;
  right: 11px;
  color: rgba(155, 87, 56, 0.62);
  content: "★";
  font-size: 11px;
}

.title-card:hover,
.title-card:focus-visible {
  background: #fffaf0;
  border-color: #9b5738;
}

.title-card.is-you {
  background: var(--you-surface);
  border-color: var(--you-border);
  box-shadow: inset 0 3px 0 var(--you-accent);
}

.title-year {
  color: #9b5738;
}

.team-avatar {
  color: #fffaf0;
  background: #5f7864;
  border: 2px solid #fffdf8;
  border-radius: 10px;
  box-shadow: 0 0 0 1px #b9aa92;
}

.team-avatar.large {
  border-radius: 14px;
}

.team-card-button {
  min-height: 154px;
  padding: 18px;
  background: rgba(255, 253, 248, 0.94);
  border-top: 3px solid #123d2f;
}

.team-card-button:hover,
.team-card-button:focus-visible {
  background: #fffaf0;
  border-color: #9b5738;
}

.team-card-copy strong {
  color: #123d2f;
  font-family: "Literata", Charter, Georgia, serif;
  font-size: 22px;
  font-weight: 600;
}

.library-card-badge {
  border-color: #c9bba3;
  border-radius: 3px;
  background: #f3ecdf;
  color: #677067;
}

.team-card-name {
  gap: 8px;
}

.team-card-name .you-badge {
  flex: 0 0 auto;
  margin-left: 0;
  padding: 2px 6px;
  border: 1px solid #a8b9aa;
  border-radius: 3px;
  background: #e7eee8;
  color: #123d2f;
  font-family: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: 9px;
  line-height: 1.2;
  vertical-align: 0;
}

.team-card-stats span {
  min-height: 36px;
  border-radius: 3px;
  background: #eee6d8;
  color: #4e5d65;
}

.team-hero {
  padding: 8px 0 2px;
}

.team-hero-main h3 {
  color: #123d2f;
  font-size: 44px;
  font-weight: 600;
}

.team-section-nav {
  gap: 0;
  border-bottom: 1px solid var(--line-strong);
}

.team-section-pill {
  min-height: 38px;
  padding: 8px 14px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: #52636c;
}

.team-section-pill:hover,
.team-section-pill:focus-visible {
  background: transparent;
  border-color: #9b5738;
  color: #9b5738;
}

.team-stat-strip {
  background: #fffdf8;
  border: 1px solid #c9bba3;
  border-top: 3px solid #9b5738;
  border-radius: 5px;
  box-shadow: 0 8px 22px rgba(16, 45, 61, 0.06);
}

.team-stat {
  border-color: #d8cdbb;
}

.team-stat p {
  color: #9b5738;
}

.team-stat span {
  color: #66727a;
}

.team-stat strong {
  color: #123d2f;
}

.trophy-case-group {
  background: rgba(255, 253, 248, 0.9);
}

.performance-metric,
.trophy-case-card {
  background: #f5efe4;
  border-color: #d8cdbb;
  border-radius: 4px;
}

.trophy-case-card.ceremonial-compact {
  border-color: #c9bba3;
  border-top: 3px solid #123d2f;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.91), rgba(238, 230, 216, 0.88)),
    var(--ceremony-art) 72% var(--ceremony-compact-y, center) / cover no-repeat;
  box-shadow: 0 8px 18px rgba(41, 35, 26, 0.08);
}

.performance-metric strong,
.trophy-case-card strong {
  color: #123d2f;
}

.trade-card {
  padding: 20px 20px 46px;
  border: 1px solid #d8cdbb;
  border-left: 4px solid #123d2f;
  background: #eee6d8;
  box-shadow: 0 8px 22px rgba(41, 35, 26, 0.08);
}

.trade-title {
  color: #1d2c28;
  font-size: 24px;
  font-weight: 600;
}

.trade-side {
  padding: 16px;
  background: #fffdf8;
  border-color: #d8cdbb;
  border-radius: 4px;
}

.trade-side:nth-child(2n) {
  border-top: 3px solid #123d2f;
}

.trade-side:nth-child(2n + 1) {
  border-top: 3px solid #9b5738;
}

.trade-side h4 {
  color: #1d2c28;
  font-size: 17px;
  font-weight: 600;
}

.trade-detail-modal .modal-tabs {
  border-color: #d8cdbb;
  background: #eee6d8;
}

.modal-tab,
.tree-manager-pill,
.chain-tool-button {
  border-color: #b9aa92;
  border-radius: 5px;
  background: #fffdf8;
  color: #53616a;
}

.modal-tab:hover,
.modal-tab:focus-visible,
.tree-manager-pill:hover,
.tree-manager-pill:focus-visible,
.chain-tool-button:hover,
.chain-tool-button:focus-visible {
  border-color: #9b5738;
  color: #79402a;
}

.modal-tab.is-active,
.tree-manager-pill.is-active {
  border-color: #123d2f;
  background: #123d2f;
  color: #fffaf0;
}

.trade-detail-modal .modal-body {
  background: #f4efe4;
  color: #1d2c28;
}

.asset-modal .modal-trade {
  border-color: var(--line);
  border-left: 4px solid var(--forest);
  background: var(--surface-alt);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.tree-manager-label {
  color: #677067;
}

.chain-ledger {
  border-color: #c9bba3;
  border-radius: 6px;
  background: #eee6d8;
  box-shadow: 0 8px 20px rgba(41, 35, 26, 0.07);
}

.chain-ledger .ledger-col {
  min-height: 100%;
  padding: 14px;
  border: 1px solid #d8cdbb;
  border-radius: 4px;
  background: #fffdf8;
}

.chain-ledger .ledger-col:first-child {
  border-top: 3px solid #9b5738;
}

.chain-ledger .ledger-col:last-child {
  border-top: 3px solid #123d2f;
}

.ledger-col h5 {
  color: #1d2c28;
}

.ledger-col li {
  border-color: #d8cdbb;
  color: #123d2f;
}

.ledger-arrow,
.chain-caret {
  color: #9b5738;
}

.ledger-note,
.chain-summary,
.chain-footnote {
  color: #677067;
}

/* The share receipt is a brand artifact built entirely from the Almanac design tokens. */
.trade-share-receipt {
  color: var(--surface);
  background:
    radial-gradient(circle at 7% 0%, color-mix(in srgb, var(--copper) 30%, transparent), transparent 44%),
    var(--forest);
  box-shadow: inset 0 3px 0 var(--copper);
}

.trade-share-receipt .trade-receipt-brand > b {
  background: var(--copper);
  color: var(--surface);
}

.trade-share-receipt .trade-receipt-brand strong,
.trade-share-receipt .trade-receipt-title-row h4,
.trade-share-receipt .trade-receipt-footer {
  color: var(--surface);
}

.trade-share-receipt .trade-receipt-brand small,
.trade-share-receipt .trade-receipt-title-row p,
.trade-share-receipt .trade-receipt-score small {
  color: var(--line);
}

.trade-share-receipt .trade-receipt-title-row h4 span,
.trade-share-receipt .trade-receipt-score,
.trade-share-receipt .trade-receipt-footer strong {
  color: var(--copper);
}

.trade-share-receipt .trade-receipt-score span {
  color: var(--line);
}

.trade-share-receipt .trade-receipt-number {
  border-color: color-mix(in srgb, var(--surface) 36%, transparent);
  color: var(--gold);
}

.trade-share-receipt .chain-ledger {
  border-color: var(--line-strong);
  border-radius: 4px;
  background: var(--surface-alt);
}

@media (max-width: 720px) {
  .trade-share-receipt .chain-ledger .ledger-col {
    padding: 8px;
  }

  .trade-share-receipt .ledger-col ul {
    gap: 6px;
  }

  .trade-share-receipt .ledger-col li {
    gap: 4px;
    padding-bottom: 6px;
    font-size: 12px;
    line-height: 1.18;
  }

  .trade-share-receipt .ledger-note {
    display: none;
  }

  .trade-share-receipt .chain-status.is-held {
    display: none;
  }

  .trade-share-receipt .position-marker {
    flex-basis: 7px;
    width: 7px;
    min-width: 7px;
    height: 22px;
  }

  .trade-share-receipt .ledger-col .chain-status {
    min-height: 11px;
    padding: 0 3px;
    border-radius: 3px;
    font-size: 7px;
    line-height: 1.1;
    letter-spacing: 0;
  }
}

.chain-status.is-held {
  border-color: #a8b9aa;
  background: #e7eee8;
  color: #315341;
}

.chain-status.is-pending {
  border-color: var(--pending-pick-border);
  background: var(--pending-pick-soft);
  color: var(--pending-pick-ink);
}

.chain-status.is-exited {
  border-color: #c8baa3;
  background: #eee6d8;
  color: #53616a;
}

.chain-status.is-neutral {
  border-color: #b9aa92;
  background: #fffdf8;
  color: #677067;
}

.trade-share-receipt .chain-status {
  min-height: 16px;
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 9px;
  line-height: 1.1;
  letter-spacing: 0;
}

.chain-node::before,
.chain-node::after {
  background: #b9aa92;
}

.chain-node-card {
  border-color: #d8cdbb;
  border-radius: 5px;
  background: #fffdf8;
  color: #1d2c28;
}

.chain-trade-card {
  border-color: #c9bba3;
  border-left: 4px solid #9b5738;
  background: #eee6d8;
  color: #1d2c28;
}

.chain-root-card {
  border-left-color: #123d2f;
  background: #f8f3e9;
}

.chain-asset-label.asset-pick.is-resolved {
  color: #123d2f;
  text-decoration-color: rgba(155, 87, 56, 0.45);
}

.chain-asset-label.asset-pick.is-pending {
  color: var(--pending-pick-text);
}

.chain-merge-card {
  border-color: #cfa68f;
  background: #f3e6dd;
  color: #677067;
}

.trade-number-badge,
.pill,
.asset-trade-count {
  border-color: #c8baa3;
  border-radius: 4px;
  background: #eee6d8;
  color: #53616a;
}

.team-draft-history-table .season-pill {
  border-color: var(--season-color);
  background: var(--surface);
  color: var(--season-color);
}

.filter-check:hover,
.filter-check:focus-within {
  border-color: #9b5738;
}

.filter-check:focus-within {
  outline-color: rgba(155, 87, 56, 0.18);
}

.filter-check.is-checked {
  border-color: #cfa68f;
  background: #f3e6dd;
  color: #9b5738;
}

.asset-label,
.asset-button.asset-player {
  color: #123d2f;
  text-decoration-color: rgba(155, 87, 56, 0.4);
}

.asset-label.asset-pick.is-resolved,
.asset-button.asset-pick.is-resolved {
  color: #123d2f;
}

.position-marker {
  width: 8px;
  height: 8px;
  flex-basis: 8px;
  box-shadow:
    0 0 0 2px #fffdf8,
    0 0 0 3px rgba(16, 45, 61, 0.16);
}

.dna-seg {
  color: #fffaf0;
}

.survivor-chip {
  border-color: #d8cdbb;
  background: #fffdf8;
  color: #123d2f;
  box-shadow: 0 2px 6px rgba(41, 35, 26, 0.04);
}

.survivor-meta {
  color: #677067;
}

.draft-result-badge {
  border-color: #c8baa3;
  background: #eee6d8;
  color: #53616a;
}

.draft-result-badge.is-superstar {
  border-color: #9b5738;
  background: #9b5738;
  color: #fffaf0;
}

.draft-result-badge.is-home_run {
  border-color: #123d2f;
  background: #123d2f;
  color: #fffaf0;
}

.draft-result-badge.is-star,
.draft-result-badge.is-starter {
  border-color: #a8b9aa;
  background: #e7eee8;
  color: #315341;
}

.draft-result-badge.is-major_miss {
  border-color: #d7aaa1;
  background: #f6e7e3;
  color: #934d3f;
}

.draft-result-badge.is-developing {
  border-color: #c8baa3;
  background: #f4efe4;
  color: #53616a;
}

.draft-analyzer-hero {
  border-color: #d8cdbb;
  border-radius: 6px;
  background: #fffdf8;
  box-shadow: 0 10px 26px rgba(41, 35, 26, 0.08);
}

.draft-analyzer-highlights article {
  border-color: #d8cdbb;
  border-radius: 5px;
  background: #fffdf8;
  color: #1d2c28;
  box-shadow: 0 4px 12px rgba(41, 35, 26, 0.05);
}

.draft-analyzer-highlights article:nth-child(4n + 1) {
  border-top: 3px solid #123d2f;
}

.draft-analyzer-highlights article:nth-child(4n + 2) {
  border-top: 3px solid #9b5738;
}

.draft-analyzer-highlights article:nth-child(4n + 3) {
  border-top: 3px solid #5f7864;
}

.draft-analyzer-highlights article:nth-child(4n) {
  border-top: 3px solid #934d3f;
}

.draft-analyzer-highlights span {
  color: #9b5738;
}

.draft-analyzer-highlights strong {
  color: #123d2f;
}

.draft-analyzer-highlights small,
.draft-analyzer-jump > span {
  color: #677067;
}

.draft-analyzer-jump {
  border-color: #d8cdbb;
}

.draft-analyzer-jump button {
  border-color: #b9aa92;
  border-radius: 5px;
  background: #fffdf8;
  color: #123d2f;
}

.draft-analyzer-jump button:hover,
.draft-analyzer-jump button:focus-visible {
  border-color: #9b5738;
  background: #f3e6dd;
  color: #79402a;
}

.draft-score-explainer {
  border-color: #c9bba3;
  border-left: 4px solid #123d2f;
  border-radius: 6px;
  background: #eee6d8;
  color: #1d2c28;
  box-shadow: 0 8px 20px rgba(41, 35, 26, 0.07);
}

.draft-score-explainer-intro h3 {
  color: #123d2f;
}

.draft-score-explainer-intro p:last-child,
.draft-score-explainer-grid span {
  color: #677067;
}

.draft-score-explainer-grid div {
  border-color: #d8cdbb;
  border-radius: 4px;
  background: #fffdf8;
}

.draft-score-explainer-grid strong {
  color: #1d2c28;
}

.draft-scope-section {
  border-color: #d8cdbb;
  border-radius: 6px;
  background: #fffdf8;
  box-shadow: 0 8px 22px rgba(41, 35, 26, 0.07);
}

.draft-scope-section.is-all-time {
  border-top: 3px solid #123d2f;
  background: #f8f3e9;
}

.draft-scope-section.is-class {
  border-top: 3px solid #9b5738;
  background: #fffdf8;
}

.draft-analyzer-table tr.is-you td {
  background: var(--you-surface);
}

.draft-metric-trigger:hover,
.draft-metric-trigger:focus-visible {
  background: #e7eee8;
  color: #123d2f;
  outline-color: rgba(18, 61, 47, 0.18);
}

.draft-metric-tooltip {
  border-color: #c9bba3;
  border-radius: 5px;
  background: #fffdf8;
  color: #1d2c28;
  box-shadow: 0 16px 38px rgba(41, 35, 26, 0.2);
}

.draft-metric-tooltip-heading {
  color: #9b5738;
}

.draft-metric-pick-detail,
.draft-metric-empty {
  color: #677067;
}

.draft-metric-pick-detail small {
  color: #123d2f;
}

.draft-methodology details {
  border-color: #c9bba3;
  border-radius: 6px;
  background: #eee6d8;
}

.draft-methodology summary {
  color: #123d2f;
}

.draft-methodology-grid div {
  border-color: #d8cdbb;
  border-radius: 4px;
  background: #fffdf8;
}

.draft-methodology-grid p {
  color: #677067;
}

.draft-board-scroll {
  padding: 10px;
  border: 1px solid #d8cdbb;
  border-radius: 6px;
  background: #eee6d8;
  box-shadow: 0 8px 22px rgba(41, 35, 26, 0.07);
}

.draft-board-corner,
.draft-round-label {
  border-color: #c9bba3;
  background: #eee6d8;
  color: #79402a;
}

.draft-slot {
  border-color: #d8cdbb;
  background: #fffdf8;
}

.draft-slot strong {
  color: #123d2f;
}

.draft-slot.is-you {
  border-color: var(--you-border);
  background: var(--you-surface);
  box-shadow: inset 0 -3px 0 var(--you-accent);
}

.draft-pick {
  border-color: #d8cdbb;
  border-top-width: 3px;
  background: #ece9e3;
  color: #1d2c28;
  box-shadow: none;
}

.draft-pick.pos-qb {
  border-top-color: var(--pos-qb);
  background: #f3e5e1;
}

.draft-pick.pos-rb {
  border-top-color: var(--pos-rb);
  background: #f3ead8;
}

.draft-pick.pos-wr {
  border-top-color: var(--pos-wr);
  background: #e5edf1;
}

.draft-pick.pos-te {
  border-top-color: var(--pos-te);
  background: #e8ede5;
}

.draft-pick.pos-def {
  border-top-color: var(--pos-def);
  background: #e2ebe7;
  box-shadow: none;
}

.draft-pick.pos-other {
  border-top-color: var(--pos-other);
  background: #ece9e3;
}

.draft-pick strong,
.draft-pick.pos-def strong {
  color: #123d2f;
}

.draft-player-meta,
.draft-pick.pos-def .draft-player-meta,
.draft-pick-no,
.draft-pick.pos-def .draft-pick-no {
  color: #677067;
}

.draft-pick.is-empty {
  border: 1px dashed #c9bba3;
  background: #f4efe4;
  box-shadow: none;
}

.draft-pick.is-traded {
  box-shadow: inset 0 0 0 1px rgba(155, 87, 56, 0.18);
}

.draft-pick-button:hover,
.draft-pick-button:focus-visible {
  outline-color: #9b5738;
}

.draft-trade-chip {
  border: 1px solid #c8baa3;
  background: #eee6d8;
  color: #53616a;
}

.capital-chip.is-own {
  border-color: #a8b9aa;
  background: #e7eee8;
  color: #315341;
}

.capital-chip.is-own .capital-pick-slot {
  color: #123d2f;
}

button.capital-chip.is-acquired {
  border-color: #5f7864;
  background: #dfe9e1;
  color: #123d2f;
}

button.capital-chip.is-acquired:hover,
button.capital-chip.is-acquired:focus-visible {
  border-color: #123d2f;
  background: #d2e1d5;
  color: #123d2f;
}

.capital-chip.is-acquired .capital-pick-slot {
  color: #123d2f;
}

.capital-chip.is-lost {
  border-color: #d7aaa1;
  background: #f6e7e3;
  color: #934d3f;
}

.capital-chip.is-lost .capital-pick-slot {
  color: #934d3f;
}

.bar-track {
  height: 7px;
  border-radius: 2px;
  background: #e5dccd;
}

.bar-fill {
  background: #9b5738;
}

.table-wrap {
  background: rgba(255, 253, 248, 0.92);
  border-color: #d8cdbb;
  border-radius: 4px;
}

th {
  background: #eee6d8;
  color: #9b5738;
  font-family: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: 10px;
}

th,
td {
  border-color: #ddd2c0;
}

tr:nth-child(even) td {
  background: rgba(238, 230, 216, 0.34);
}

.table-wrap .team-avatar {
  border-color: #fffdf8;
  background: #e5dccd;
  color: #123d2f;
}

input,
select,
textarea {
  border-color: #b9aa92;
  border-radius: 4px;
  background: #fffdf8;
  color: #152b38;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #9b5738;
  outline-color: rgba(155, 87, 56, 0.18);
}

.primary-button,
.secondary-button,
.danger-button,
.ghost-button,
.tab-button {
  min-height: 40px;
  border-radius: 6px;
}

.primary-button {
  background: #9b5738;
  color: #fffaf0;
}

.primary-button:hover {
  background: #79402a;
}

.secondary-button,
.tab-button {
  background: #fffdf8;
  color: #152b38;
  border-color: #b9aa92;
}

.tab-button.is-active {
  background: #123d2f;
  border-color: #123d2f;
  color: #fffaf0;
}

.yearbook-season-switcher {
  border-color: #d8cdbb;
  border-radius: 6px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 6px 18px rgba(41, 35, 26, 0.05);
}

.yearbook-live-hero {
  border-top-color: #123d2f;
  background:
    linear-gradient(110deg, rgba(255, 253, 248, 0.96), rgba(238, 230, 216, 0.88)),
    var(--ceremony-art) right center / 44% auto no-repeat;
}

.yearbook-live-copy h3,
.yearbook-live-status strong {
  color: #123d2f;
  font-family: "Literata", Charter, Georgia, serif;
  font-weight: 600;
}

.yearbook-live-status {
  border-color: #d8cdbb;
  border-radius: 5px;
  background: rgba(255, 253, 248, 0.9);
}

.yearbook-live-status > span {
  color: #496b52;
}

.yearbook-live-dot,
.yearbook-live-status i {
  box-shadow: 0 0 0 3px rgba(73, 107, 82, 0.16);
}

.yearbook-live-leaders .edition-stat-card {
  border-top-color: #123d2f;
}

.empty-state,
.alert,
.account-menu,
.asset-modal {
  background: #fffdf8;
  border-color: #c9bba3;
  border-radius: 5px;
  color: #152b38;
}

.ownership-automatic-note {
  border-color: var(--secondary-border);
  border-radius: 5px;
  background: var(--secondary-soft);
}

.ownership-optional-grid > div {
  border-color: #d8cdbb;
  border-radius: 5px;
  background: #f8f3e9;
}

.ownership-choice-button {
  border-radius: 6px;
}

.ownership-choice-button.is-owner {
  border-color: var(--saddle-dark);
  background: var(--saddle);
  color: #fffdf8;
}

.manager-picker-grid {
  gap: 12px;
}

.manager-picker-option {
  min-height: 112px;
  border-color: #d8cdbb;
  border-radius: 6px;
  background: #f8f3e9;
  color: #1d2c28;
  box-shadow: 0 4px 12px rgba(41, 35, 26, 0.04);
}

.manager-picker-option:hover,
.manager-picker-option:focus-visible {
  border-color: #9b5738;
  background: #fffdf8;
  box-shadow: 0 6px 16px rgba(41, 35, 26, 0.07);
  outline: none;
}

.manager-picker-option.is-current {
  border-color: #123d2f;
  background: #e7eee8;
  box-shadow: inset 3px 0 0 #123d2f;
}

.manager-picker-name {
  color: #1d2c28;
}

/* Season Recap: light editorial yearbook treatment. */
.edition-shell {
  max-width: 1180px;
  gap: 16px;
}

.edition-cover {
  grid-template-columns: minmax(0, 1.45fr) minmax(230px, 0.55fr);
  min-height: 470px;
  border: 1px solid #c9bba3;
  border-top: 4px solid #123d2f;
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(238, 230, 216, 0.98) 0%, rgba(238, 230, 216, 0.94) 38%, rgba(238, 230, 216, 0.68) 60%, rgba(18, 61, 47, 0.12) 100%),
    linear-gradient(180deg, rgba(255, 253, 248, 0.18), rgba(18, 61, 47, 0.08)),
    var(--ceremony-art) 54% center / cover no-repeat;
  box-shadow: 0 18px 42px rgba(41, 35, 26, 0.13);
}

.edition-cover::before {
  display: block;
  z-index: 0;
  background:
    linear-gradient(rgba(18, 61, 47, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 61, 47, 0.025) 1px, transparent 1px);
  background-size: 100% 34px, 42px 100%;
  mask-image: linear-gradient(to right, black, rgba(0, 0, 0, 0.62) 55%, transparent 88%);
}

.edition-cover-topline {
  padding: 22px 28px;
  border-bottom: 1px solid rgba(185, 170, 146, 0.52);
  color: #677067;
}

.edition-cover-copy {
  align-self: center;
  max-width: 720px;
  padding: 94px 38px 44px;
}

.edition-kicker,
.edition-chapter-heading p,
.edition-stat-label {
  color: #9b5738;
}

.edition-cover-copy h3 {
  margin: 10px 0 18px;
  color: #123d2f;
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.edition-deck {
  max-width: 640px;
  color: #33433e;
  font-family: "Literata", Charter, Georgia, serif;
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.65;
}

.edition-cover-actions {
  margin-top: 24px;
}

.edition-champion-lockup {
  min-width: 220px;
  align-self: center;
  justify-self: center;
  padding: 28px 24px;
  border: 1px solid #d8cdbb;
  border-top: 4px solid #9b5738;
  border-radius: 6px;
  background: rgba(255, 253, 248, 0.91);
  box-shadow: 0 12px 30px rgba(41, 35, 26, 0.12);
  backdrop-filter: blur(3px);
}

.edition-champion-lockup.ceremonial-medallion {
  outline: 1px solid rgba(255, 253, 248, 0.7);
  outline-offset: -7px;
}

[data-copy-edition].is-copied {
  background: #123d2f;
}

.edition-champion-lockup .team-avatar.large {
  width: 72px;
  height: 72px;
  border-color: #fffdf8;
}

.edition-crown {
  margin-bottom: 10px;
  color: #d3946d;
  font-size: 20px;
}

.edition-champion-lockup p {
  margin: 14px 0 4px;
  color: #9b5738;
}

.edition-champion-lockup strong {
  color: #123d2f;
  font-family: "Literata", Charter, Georgia, serif;
  font-size: 24px;
  font-weight: 600;
}

.edition-champion-lockup > span:last-child {
  color: #677067;
}

.edition-season-switcher,
.edition-chapter-nav {
  border-color: #d8cdbb;
  border-radius: 6px;
  background: rgba(255, 253, 248, 0.94);
}

.edition-hook-card {
  border-color: #d8cdbb;
  border-top: 3px solid #123d2f;
  border-radius: 6px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 6px 18px rgba(41, 35, 26, 0.05);
}

.edition-hook-card > span,
.edition-hook-card small {
  color: #677067;
}

.edition-hook-card p {
  color: #123d2f;
  font-family: "Literata", Charter, Georgia, serif;
  font-weight: 600;
}

.edition-chapter-nav {
  top: 8px;
  box-shadow: 0 6px 18px rgba(41, 35, 26, 0.06);
}

.edition-chapter-nav button {
  color: #5e6961;
}

.edition-chapter-nav button:hover,
.edition-chapter-nav button:focus-visible {
  color: #9b5738;
}

.edition-chapter {
  padding: 32px;
  border-color: #d8cdbb;
  border-radius: 6px;
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 8px 24px rgba(41, 35, 26, 0.05);
}

.edition-chapter-heading > span {
  border-color: #cfa68f;
  border-radius: 4px;
  color: #9b5738;
}

.edition-chapter-heading h3 {
  color: #123d2f;
  font-family: "Literata", Charter, Georgia, serif;
  font-weight: 600;
}

.edition-podium-card {
  border-color: #d8cdbb;
  border-top: 3px solid #5f7864;
  border-radius: 6px;
  background: #f8f3e9;
  box-shadow: none;
}

.edition-podium-card.edition-place-1 {
  border-color: color-mix(in srgb, var(--podium-gold) 58%, #d8cdbb);
  border-top: 4px solid var(--podium-gold);
  background:
    linear-gradient(180deg, rgba(243, 230, 221, 0.92), rgba(255, 253, 248, 0.9)),
    var(--ceremony-art) 70% var(--ceremony-compact-y, center) / cover no-repeat;
  box-shadow: 0 10px 24px rgba(41, 35, 26, 0.09);
}

.edition-podium-card.edition-place-2 {
  border-color: color-mix(in srgb, var(--podium-silver) 68%, #d8cdbb);
  border-top-color: var(--podium-silver);
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--podium-silver) 30%, #f8f3e9),
    #f8f3e9
  );
}

.edition-podium-card.edition-place-3 {
  border-color: color-mix(in srgb, var(--podium-bronze) 58%, #d8cdbb);
  border-top-color: var(--podium-bronze);
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--podium-bronze) 22%, #f8f3e9),
    #f8f3e9
  );
}

.edition-stat-card,
.edition-market-notes article,
.edition-number-card,
.edition-draft-lead,
.edition-movement-card {
  border-color: #d8cdbb;
  border-radius: 6px;
  background: #f8f3e9;
  box-shadow: none;
}

.edition-movement-card.is-rise {
  border-left-color: #5f7864;
}

.edition-movement-card.is-fall {
  border-left-color: #a34d3e;
}

.edition-movement-value,
.edition-subchapter-heading h4 {
  color: #123d2f;
  font-family: "Literata", Charter, Georgia, serif;
  font-weight: 600;
}

.edition-build-blueprint {
  border-color: #cfa68f;
  border-left-color: #9b5738;
  border-radius: 6px;
  background: linear-gradient(135deg, #eee6d8, #fffdf8);
}

.edition-build-story h4,
.edition-build-mix strong,
.edition-pillar-card > p {
  color: #123d2f;
  font-family: "Literata", Charter, Georgia, serif;
  font-weight: 600;
}

.edition-build-story > div > span,
.edition-pillar-card small {
  color: #677067;
}

.edition-build-mix > span,
.edition-pillar-card {
  border-color: #d8cdbb;
  border-radius: 4px;
  background: #fffdf8;
}

.edition-pillar-card.is-draft {
  border-top-color: #5f7864;
}

.edition-pillar-card.is-trade {
  border-top-color: #9b5738;
}

.edition-pillar-player .asset-button {
  color: #1d2c28;
}

.edition-origin-badge {
  border-color: #d8cdbb;
  color: #9b5738;
}

.edition-role-badge {
  border-color: #b8c5ba;
  color: #123d2f;
  background: #edf2ed;
}

.edition-pillar-card.is-draft .edition-origin-badge {
  color: #5f7864;
}

.edition-stat-value,
.edition-number-card strong {
  color: #123d2f;
  font-family: "Literata", Charter, Georgia, serif;
  font-weight: 600;
}

.edition-trade-feature {
  border-color: #d8cdbb;
  border-left: 4px solid #123d2f;
  border-radius: 6px;
  background: #eee6d8;
}

.edition-trade-sides > div {
  border-color: #d8cdbb;
  border-top: 3px solid #9b5738;
  border-radius: 4px;
  background: #fffdf8;
}

.edition-trade-sides > div:nth-child(even) {
  border-top-color: #123d2f;
}

.edition-trade-assets {
  border-top-color: #e2d8c8;
}

.edition-trade-assets li,
.edition-trade-side-head strong {
  color: #1d2c28;
}

.edition-trade-side-head small,
.edition-trade-method {
  color: #677067;
}

.edition-market-notes p {
  color: #9b5738;
}

.edition-draft-class-leader {
  border-color: #cfa68f;
  border-left: 4px solid #9b5738;
  border-radius: 6px;
  background: linear-gradient(135deg, #eee6d8, #fffdf8);
}

.edition-draft-class-score {
  color: #9b5738;
  font-family: "Literata", Charter, Georgia, serif;
  font-weight: 600;
}

.edition-draft-class-leader li {
  border-color: #d8cdbb;
  border-radius: 4px;
  background: #fffdf8;
}

.edition-draft-class-leader li small,
.edition-draft-class-leader > div > span {
  color: #677067;
}

.edition-next {
  min-height: 300px;
  border-color: #c9bba3;
  border-top: 4px solid #123d2f;
  border-radius: 6px;
  background: #eee6d8;
  box-shadow: 0 10px 28px rgba(41, 35, 26, 0.07);
}

.edition-next h3 {
  color: #123d2f;
  font-family: "Literata", Charter, Georgia, serif;
  font-weight: 600;
}

.edition-next > p:not(.edition-kicker) {
  color: #5e6961;
}

.edition-stake-card {
  border-color: #d8cdbb;
  border-top: 3px solid #123d2f;
  border-radius: 6px;
  background: rgba(255, 253, 248, 0.9);
}

.edition-stake-card h4 {
  color: #123d2f;
  font-family: "Literata", Charter, Georgia, serif;
  font-weight: 600;
}

.edition-stake-card > span {
  color: #677067;
}

@media (max-width: 980px) {
  .app-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .sidebar {
    padding: 10px 14px 8px;
    background: #123d2f;
    border-right: 0;
    border-bottom: 2px solid #d3946d;
  }

  .nav-item {
    min-height: 38px;
    border-radius: 2px;
  }

  .nav-item.is-active::before {
    top: auto;
    right: 8px;
    bottom: 0;
    left: 8px;
    width: auto;
    height: 2px;
  }

  .content-area {
    padding: 24px 22px 46px;
  }

  .landing-hero {
    padding-right: 22%;
  }

  .edition-cover {
    grid-template-columns: 1fr;
    min-height: 0;
    background:
      linear-gradient(90deg, rgba(238, 230, 216, 0.96), rgba(238, 230, 216, 0.78)),
      var(--ceremony-art) 68% center / cover no-repeat;
  }

  .edition-champion-lockup {
    width: min(340px, calc(100% - 72px));
    justify-self: start;
    margin: 0 36px 36px;
  }
}

@media (max-width: 620px) {
  .content-area {
    padding: 18px 14px 36px;
  }

  .topbar h2 {
    font-size: 32px;
  }

  .landing-hero {
    min-height: 0;
    padding: 26px 0 24px;
  }

  .time-capsule-hero {
    min-height: 400px;
    padding: 30px 24px;
    background:
      linear-gradient(90deg, rgba(7, 24, 18, 0.96) 0%, rgba(7, 24, 18, 0.86) 58%, rgba(7, 24, 18, 0.6) 100%) center / cover no-repeat,
      var(--time-capsule-art) 68% center / cover no-repeat;
  }

  .time-capsule-hero .muted {
    font-size: 15px;
  }

  .landing-hero::after {
    display: none;
  }

  .landing-title {
    font-size: 43px;
  }

  .team-hero-main h3 {
    font-size: 36px;
  }

  .team-stat-strip {
    background: #fffdf8;
  }

  .title-timeline::before {
    display: none;
  }

  .edition-cover-topline {
    position: relative;
    padding: 18px 20px;
  }

  .edition-cover-copy {
    padding: 38px 20px 28px;
  }

  .edition-cover-copy h3 {
    font-size: 40px;
  }

  .edition-champion-lockup {
    width: calc(100% - 40px);
    margin: 0 20px 22px;
  }

  .edition-chapter {
    padding: 22px 16px;
  }

  .edition-podium-card.edition-place-1 {
    order: 1;
  }

  .edition-podium-card.edition-place-2 {
    order: 2;
  }

  .edition-podium-card.edition-place-3 {
    order: 3;
  }
}
