/* Season 1 Official Lore, Chronicles & 46-Commander Compendium */
.lore-s1-hero { padding: 34px 0 22px; border-bottom: 1px solid rgba(255,255,255,.09); }
.lore-s1-eyebrow {
  display: inline-block; padding: 4px 10px; border-radius: 999px; background: rgba(242, 103, 41, 0.18);
  border: 1px solid rgba(242, 103, 41, 0.45); color: #ffb592; font-family: var(--head, 'Barlow Condensed', sans-serif);
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 10px;
}
.lore-s1-hero h1 { margin: 0 0 10px; font-size: clamp(32px, 5vw, 52px); line-height: 1.02; }
.lore-s1-lead { font-size: 17px; color: #c3d2df; max-width: 720px; margin: 0 0 18px; line-height: 1.5; }
.lore-s1-pills { display: flex; flex-wrap: wrap; gap: 10px; }

.lore-premiere-card {
  margin: 26px 0; padding: 22px; border-radius: 18px;
  background: linear-gradient(165deg, rgba(24, 42, 62, 0.94), rgba(11, 20, 32, 0.97));
  border: 1px solid rgba(242, 103, 41, 0.44); box-shadow: 0 20px 48px rgba(0,0,0,.45);
}
.lore-prem-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 14px; }
.lore-prem-badge {
  background: #f26729; color: #0b141f; font-family: var(--head, 'Barlow Condensed', sans-serif);
  font-weight: 700; font-size: 13.5px; letter-spacing: .07em; text-transform: uppercase; padding: 4px 10px; border-radius: 6px;
}
.lore-prem-slot { font-size: 13.5px; color: #ffd79a; font-weight: 600; }
.lore-prem-versus {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; margin: 10px 0 16px;
}
@media (max-width: 720px) { .lore-prem-versus { grid-template-columns: 1fr; text-align: left; } }
.lore-prem-side {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px;
  background: rgba(8, 16, 26, 0.65); border: 1px solid rgba(255,255,255,.11);
}
.lore-prem-side.is-right { flex-direction: row-reverse; text-align: right; }
@media (max-width: 720px) { .lore-prem-side.is-right { flex-direction: row; text-align: left; } }
.lore-prem-side img.cmd-bust { width: 82px; height: 82px; border-radius: 12px; object-fit: cover; border: 2px solid rgba(255,255,255,.25); }
.lore-prem-side h3 { margin: 0; font-family: var(--head, 'Barlow Condensed', sans-serif); font-size: 24px; line-height: 1.05; }
.lore-prem-cmd { color: #ffd996; font-weight: 600; font-size: 15px; display: block; margin-top: 2px; }
.lore-prem-meta { color: #a9bccd; font-size: 13px; display: block; margin-top: 3px; }
.lore-prem-vs {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto;
  background: rgba(242, 103, 41, 0.18); border: 1px solid rgba(242, 103, 41, 0.5);
  font-family: var(--head, 'Barlow Condensed', sans-serif); font-weight: 700; color: #ffab84;
}
.lore-prem-copy { margin: 0; font-size: 15px; line-height: 1.55; color: #dce7f2; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.09); }

.lore-roster-bar {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin: 32px 0 16px;
}
.lore-roster-bar h2 { margin: 0; font-size: clamp(24px, 3.6vw, 34px); }
.lore-controls { display: flex; flex-wrap: wrap; gap: 10px; }
.lore-controls input, .lore-controls select {
  background: #0d1826; color: #f4f1ea; border: 1px solid rgba(255,255,255,.18); border-radius: 9px;
  padding: 8px 12px; font-size: 14px; min-height: 40px;
}

.lore-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 16px; margin-bottom: 36px;
}
.lore-card {
  border-radius: 16px; padding: 16px; background: linear-gradient(180deg, rgba(20, 35, 52, 0.9), rgba(10, 19, 30, 0.95));
  border: 1px solid rgba(255,255,255,.11); display: flex; flex-direction: column; gap: 10px;
  scroll-margin-top: 90px;
}
.lore-card:target { border-color: #f26729; box-shadow: 0 0 0 2px rgba(242, 103, 41, 0.35); }
.lore-card-top { display: flex; gap: 13px; align-items: center; }
.lore-card-bust {
  width: 80px; height: 80px; border-radius: 11px; object-fit: cover; flex: 0 0 auto;
  border: 2px solid var(--team-col, rgba(255,255,255,.28)); background: #0e1420;
}
.lore-card-title { flex: 1; min-width: 0; }
.lore-card-flagrow { display: flex; align-items: center; gap: 8px; margin-bottom: 3px; }
.lore-card-flagrow img { width: 30px; height: 20px; border-radius: 3px; object-fit: cover; border: 1px solid rgba(255,255,255,.25); }
.lore-card-yr { font-size: 12px; color: #9fb4c7; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.lore-card-title h3 { margin: 0; font-family: var(--head, 'Barlow Condensed', sans-serif); font-size: 23px; line-height: 1.05; color: #f5f1e8; }
.lore-card-ruler { display: block; color: #ffd996; font-family: var(--head, 'Barlow Condensed', sans-serif); font-size: 18px; font-weight: 600; margin-top: 2px; }
.lore-card-role { display: block; font-size: 12px; color: #9cb0c3; }
.lore-card-specs {
  display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 12.5px; color: #d7e3ee;
  padding: 8px 10px; border-radius: 8px; background: rgba(6, 13, 22, 0.6); border: 1px solid rgba(255,255,255,.06);
}
.lore-card-specs b { color: #ffab84; }
.lore-card-hook { margin: 0; font-size: 13.8px; line-height: 1.48; color: #d3e0ec; }
.lore-card-evidence summary {
  cursor: pointer; font-size: 12.5px; font-weight: 600; color: #9ec5ff; padding: 4px 0; user-select: none;
}
.lore-ev-list { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 7px; font-size: 12.5px; color: #b9cad9; }
.lore-ev-list li { background: rgba(7,15,24,.65); padding: 7px 9px; border-radius: 7px; border-left: 2px solid var(--team-col, #6ea8ff); }
.lore-ev-list strong { color: #f5f1e8; }

.lore-builder {
  padding: 24px; border-radius: 18px; background: rgba(14, 25, 38, 0.92);
  border: 1px solid rgba(255,255,255,.13); margin-bottom: 40px;
}
.lore-builder h2 { margin-top: 0; }
.lore-builder-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 12px; }
@media (max-width: 720px) { .lore-builder-grid { grid-template-columns: 1fr; } }
.lore-builder label { display: block; font-size: 13px; font-weight: 600; color: #cbd9e6; margin-bottom: 5px; }
.lore-builder select, .lore-builder input, .lore-builder textarea {
  width: 100%; background: #09121d; color: #f5f1e8; border: 1px solid rgba(255,255,255,.18);
  border-radius: 9px; padding: 9px 11px; font-size: 14px; font-family: inherit;
}
