.tborder.gtborder {
font-size:15px;
}
.rules-list li {
	padding:5px;
}

/* CSS for Breeds in Guidebook */
.breed-image {
      width: 700px;
    margin: auto;
    display: block;
}
.breed-title {
  font-family:"Open Sans", sans serif;
  font-size:40px;
  color:#f7f7f7;
  text-transform:uppercase;
  text-align:right;
  background-color: #111010;
opacity: 1;
background: repeating-linear-gradient( 45deg, #1c1716, #1c1716 2px, #111010 2px, #111010 10px );
}
.test {
width:100%;
}
.breed-left{
  background-color:#161414;
  color:#82726b;
  padding:5px;
	width:50%;
  height:150px;
}
.breed-minititle {
  font-family:"Open Sans", sans serif;
  font-size:25px;
  color:#d4b483;
  text-transform:uppercase;
  background-color:#5d2824;
  padding:2px;
  text-align:left;
}
.mini-desc {
background-color: #111010;
opacity: 1;
background: repeating-linear-gradient( 45deg, #1c1716, #1c1716 2px, #111010 2px, #111010 10px );
  color:#daad9c;
  font-size:14px;
  text-transform:uppercase;
  padding:2px;
}
.mini-list {
  height:100px;
  overflow-y:scroll;
  overflow-x:hidden;
}
.breed-right{
  background-color:#161414;
  color:#82726b;
  padding:5px;
	width:50%;
  height:150px;
}
div.mini-list ul {
  float:left;
  margin-left:5px;
}
.desc-wrap {
  background-color:#161414;
  color:#82726b;
  padding:5px;
}
.breed-desc {
  font-family:"Open Sans", sans serif;
  font-size:25px;
  color:#d4b483;
  text-transform:uppercase;
	background-color: #111010;
	opacity: 1;
	background: repeating-linear-gradient( 45deg, #1c1716, #1c1716 2px, #111010 2px, #111010 10px );
  padding:2px;
  height:100%;
  border-top:10px solid #5d2824;
}
/* End of CSS for Breeds in Guidebook */

/* ---------- 1. Variables: change the look here ---------- */
.sv-combat {
  --text:      #e2d8cc;   /* body text */
  --muted:     #b3a597;   /* secondary text */
  --cream:     #f4e6d4;   /* bold text, titles inside cards */
  --red:       #d9604c;   /* section headings */
  --gold:      #e0a95a;   /* accents, labels, links */
  --gold-hi:   #f2c27c;   /* link hover */
  --maroon:    #4a1d1a;   /* table headers, step numbers */
  --card:      #1c1514;   /* normal card */
  --card-hi:   #2a1311;   /* highlighted card */
  --note:      #241a14;   /* example / rule boxes */
  --code:      #0e0b0b;   /* post-template boxes */
  --line:      #3b2824;   /* normal borders */
  --line-hi:   #5a2420;   /* highlighted card border */
  --line-note: #5a4326;   /* note border */
  --ink:       #1a1110;   /* dark text on gold badges */
  --display:   'Rock Salt', Georgia, serif;
  --body:      'Inter', system-ui, sans-serif;
  --radius:    6px;
}

.sv-main {
  --text:      #e2d8cc;   /* body text */
  --muted:     #b3a597;   /* secondary text */
  --cream:     #f4e6d4;   /* bold text, titles inside cards */
  --red:       #d9604c;   /* section headings */
  --gold:      #e0a95a;   /* accents, labels, links */
  --gold-hi:   #f2c27c;   /* link hover */
  --maroon:    #4a1d1a;   /* table headers, step numbers */
  --card:      #1c1514;   /* normal card */
  --card-hi:   #2a1311;   /* highlighted card */
  --note:      #241a14;   /* example / rule boxes */
  --code:      #0e0b0b;   /* post-template boxes */
  --line:      #3b2824;   /* normal borders */
  --line-hi:   #5a2420;   /* highlighted card border */
  --line-note: #5a4326;   /* note border */
  --ink:       #1a1110;   /* dark text on gold badges */
  --display:   'Rock Salt', Georgia, serif;
  --body:      'Inter', system-ui, sans-serif;
  --radius:    6px;
}

/* ---------- 2. Page frame ---------- */
.sv-combat {
  width: 100%;
  box-sizing: border-box;
  color: var(--text);
  font: 16px/1.65 var(--body);
}
.sv-combat *, .sv-combat *::before, .sv-combat *::after { box-sizing: border-box; }
.sv-stripe {
  height: 14px;
  background: repeating-linear-gradient(135deg, #231817 0 6px, #141010 6px 12px);
}
.sv-page {
  display: flex;
  flex-direction: column;
  gap: 64px;
  padding: clamp(20px, 4vw, 56px) clamp(12px, 3vw, 32px) clamp(40px, 8vw, 112px);
}
.sv-section { display: flex; flex-direction: column; gap: 20px; }
.sv-stack   { display: flex; flex-direction: column; gap: 16px; }

/* ---------- 3. Type ---------- */
.sv-combat h1,
.sv-combat h2,
.sv-combat h3,
.sv-tagline,
.sv-acc-title,
.sv-step-num {
  font-family: var(--display);
  font-weight: 700;
  margin: 0;
}
.sv-combat h1 { font-size: clamp(40px, 7vw, 68px); line-height: 1.05; color: var(--red); }
.sv-combat h2 { font-size: 34px; line-height: 1.15; color: var(--red); }
.sv-combat h3 { font-size: 22px; color: var(--cream); }
.sv-tagline   { font-weight: 500; font-size: 26px; color: var(--gold); }

.sv-combat p      { margin: 0; }
.sv-combat strong { color: var(--cream); font-weight: 600; }
.sv-combat a      { color: var(--gold); }
.sv-combat a:hover { color: var(--gold-hi); }
.sv-muted { color: var(--muted); }
.sv-small { color: var(--muted); font-size: 15px; }
.sv-key   { color: var(--gold); font-weight: 600; }   /* inline lead-in words */
.sv-eyebrow {                                        /* small caps label above a box */
  color: var(--gold);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sv-header { display: flex; flex-direction: column; gap: 10px; }
.sv-header .sv-muted { max-width: 60ch; }

/* ---------- 4. Lists ---------- */
.sv-list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.sv-list--tight { gap: 6px; font-size: 15px; }
.sv-numbered { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }

/* ---------- 5. Cards ---------- */
.sv-grid { display: flex; flex-wrap: wrap; gap: 16px; }
.sv-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}
.sv-card--hi { background: var(--card-hi); border-color: var(--line-hi); }

/* method picker cards */
.sv-method {
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
}
.sv-method h3 { font-size: 26px; }
.sv-method .sv-link { margin-top: auto; font-weight: 600; }
.sv-title-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }

/* the four steps */
.sv-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 16px; }
.sv-step {
  flex: 1 1 380px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
}
.sv-step-num {
  flex: 0 0 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--maroon);
  color: var(--cream);
  font-size: 20px;
}
.sv-step > span:last-child { min-width: 0; }

/* small gold badge */
.sv-badge {
  flex: 0 0 auto;
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
  font-size: 12px;
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 8px;
  border-radius: 3px;
}

/* ---------- 6. Accordions ---------- */
.sv-acc-group { border-top: 1px solid var(--line); }
.sv-acc { border-bottom: 1px solid var(--line); }
.sv-acc summary {
  display: block;
  list-style: none;
  cursor: pointer;
  padding: 20px 4px;
}
.sv-acc summary::-webkit-details-marker { display: none; }
.sv-acc summary::after {
  content: "+";
  float: right;
  font: 500 26px/1 var(--body);
  color: var(--gold);
}
.sv-acc[open] > summary::after { content: "\2013"; }
.sv-acc summary:focus-visible,
.sv-combat a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sv-acc-title { font-size: 24px; color: var(--cream); }
.sv-acc-body  { display: flex; flex-direction: column; gap: 16px; padding: 0 4px 28px; }

/* ---------- 7. Tables ---------- */
.sv-scroll { overflow-x: auto; }
.sv-combat table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.sv-combat th {
  background: var(--maroon);
  color: var(--cream);
  text-align: left;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 10px 14px;
}
.sv-combat td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }

/* ---------- 8. Notes, rules and code boxes ---------- */
.sv-note {
  background: var(--note);
  border: 1px solid var(--line-note);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.sv-rule {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
}
.sv-rule .sv-badge { margin-top: 3px; }
.sv-rule > span:last-child { min-width: 0; }

.sv-code {
  background: var(--code);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  overflow-x: auto;
}
.sv-code pre {
  margin: 0;
  font: 14px/1.65 ui-monospace, Menlo, Consolas, monospace;
  white-space: pre-wrap;
  word-break: break-word;
}
.sv-template { display: flex; flex-direction: column; gap: 8px; }

/* ---------- 9. Fight-type rows ---------- */
.sv-rows { border-top: 1px solid var(--line); }
.sv-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.sv-row h3 { flex: 0 0 150px; }
.sv-row-body { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }

/* ---------- 10. Defender Clause box ---------- */
.sv-clause { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px; }
.sv-clause h3 { font-size: 24px; color: var(--gold); }

Extra · CSS
/* ---------- Intro page additions (paste at the end of your stylesheet) ---------- */
.sv-hero { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; }
.sv-hero .sv-badge { font-size: 16px; padding: 8px 12px; }
.sv-fact { flex: 1 1 180px; display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; }
.sv-fact-big { font-family: var(--display); font-weight: 700; font-size: 28px; line-height: 1.1; color: var(--gold); }
.sv-lead { max-width: 75ch; }
 .sv-lead2 { max-width: 150ch; }

/* -------- SV - MAIN ------------ */
.sv-main {
  width: 100%;
  box-sizing: border-box;
  color: var(--text);
  font: 16px/1.65 var(--body);
}
.sv-main h1 { font-size: clamp(50px, 5vw, 50px); line-height: 1.7; color: var(--red); }
.sv-main *, .sv-main *::before, .sv-main *::after { box-sizing: border-box; }
.sv-main h1,
.sv-main h2,
.sv-main h3 {
  font-family: var(--display);
  font-weight: 700;
  margin: 0;
}
.sv-main h1 { font-size: clamp(30px, 5vw, 50px); line-height: 1.75; color: var(--red); }
.sv-main h2 { font-size: 34px; line-height: 1.15; color: var(--red); }
.sv-main h3 { font-size: 22px; color: var(--cream); }

.sv-main p      { margin: 0; }
.sv-main strong { color: var(--cream); font-weight: 600; }
.sv-main a      { color: var(--gold); }
.sv-main a:hover { color: var(--gold-hi); }
.sv-hero2 { display: flex; align-items: center; gap: 12px 20px; }

/* ---------- Rules page additions (paste at the end of your stylesheet) ---------- */
.sv-jump { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; }
.sv-jump a { font-weight: 600; text-decoration: none; }
.sv-jump a:hover { text-decoration: underline; }

.sv-ruleitem { display: flex; align-items: flex-start; gap: 16px; padding: 18px 20px; }
.sv-ruleitem .sv-step-num { margin-top: 2px; }
.sv-ruleitem-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 6px; }

.sv-tier { flex: 1 1 300px; display: flex; flex-direction: column; gap: 14px; padding: 22px; }
.sv-tier h3 { font-size: 22px; }
.sv-tier-effect { font-weight: 600; color: var(--gold); }
.sv-tier .sv-eyebrow { margin-bottom: -6px; }

/* ---------- Character creation additions (paste at the end of your stylesheet) ---------- */
/* Requirements checklist */
.sv-fields { counter-reset: field; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.sv-field { display: flex; flex-wrap: wrap; gap: 4px 24px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.sv-field-name { flex: 0 0 210px; min-width: 0; font-weight: 600; color: var(--cream); }
.sv-field-name::before { counter-increment: field; content: counter(field) ". "; color: var(--gold); }
.sv-field-note { flex: 1 1 320px; min-width: 0; }

/* Breed cards */
.sv-breed { display: flex; flex-wrap: wrap; gap: 24px; padding: 24px; }
.sv-breed-art {
  flex: 1 1 280px; min-width: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--code); border-radius: var(--radius); padding: 16px;
}
.sv-breed-art img { display: block; max-width: 100%; max-height: 380px; height: auto; }
.sv-breed-info { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.sv-breed-head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
.sv-breed-head h3 { font-size: 28px; }
.sv-traits { display: flex; flex-wrap: wrap; gap: 16px 24px; }
.sv-traits > div { flex: 1 1 180px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.sv-breed .sv-acc-group { border-top: 1px solid var(--line); }
.sv-breed .sv-acc:last-child { border-bottom: 0; }
.sv-breed .sv-acc summary { padding: 14px 4px; }
.sv-breed .sv-acc-title { font-size: 20px; }

/* ---------- Timeline (paste at the end of your stylesheet) ---------- */
.sv-tl-scroll { overflow-x: auto; padding: 8px 0 20px; scrollbar-color: var(--maroon) transparent; }
.sv-tl-events { list-style: none; margin: 0; padding: 0; display: flex; min-width: max-content; }
.sv-tl-event, .sv-tl-era { position: relative; flex: 0 0 190px; display: flex; flex-direction: column; align-items: center; }
.sv-tl-era { flex-basis: 170px; }

/* the line: each item draws its own segment, so together they join up */
.sv-tl-event::before, .sv-tl-era::before {
  content: ""; position: absolute; left: 0; right: 0; top: 52px; height: 2px;
  background: linear-gradient(90deg, var(--line-note), var(--gold) 50%, var(--line-note));
}
.sv-tl-era::before { background: var(--gold); }

.sv-tl-node {
  position: relative; z-index: 1; width: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  background: none; border: 0; padding: 0 10px; color: inherit; font: inherit; cursor: pointer; text-align: center;
}
.sv-tl-date { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); height: 20px; margin-top: 16px; }
.sv-tl-diamond {
  width: 16px; height: 16px; margin: 3px 0 0; transform: rotate(45deg);
  background: var(--gold); border: 2px solid var(--gold);
  transition: transform .15s, background .15s;
}
.sv-tl-era .sv-tl-diamond { width: 26px; height: 26px; margin-top: -2px; background: var(--bg-era, #141010); }
.sv-tl-event .sv-tl-title { font-weight: 600; color: var(--cream); line-height: 1.3; }
.sv-tl-era .sv-tl-title { font-family: var(--display); font-weight: 700; font-size: 20px; line-height: 1.6; color: var(--red); margin-top: 6px; }
.sv-tl-node:hover .sv-tl-diamond { transform: rotate(45deg) scale(1.25); }
.sv-tl-node:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 4px; }
.sv-tl-event.is-active .sv-tl-diamond { background: var(--red); border-color: var(--gold); transform: rotate(45deg) scale(1.35); }
.sv-tl-event.is-active .sv-tl-title { color: var(--gold); }
.sv-tl-text { display: none; }

/* detail panel (desktop, JS on) */
.sv-tl-panel { padding: 22px 24px; display: none; flex-direction: column; gap: 8px; }
.sv-tl-panel h3 { font-size: 24px; }

@media (min-width: 701px) {
  .sv-tl.js .sv-tl-panel { display: flex; }
}

/* phone, and no-JS: vertical timeline with the text shown inline */
@media (max-width: 700px) {
  .sv-tl-scroll { overflow: visible; }
  .sv-tl-events { flex-direction: column; min-width: 0; }
  .sv-tl-event, .sv-tl-era { flex: none; align-items: stretch; padding-bottom: 20px; }
  .sv-tl-event::before, .sv-tl-era::before { left: 11px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: var(--line-note); }
  .sv-tl-node { display: grid; grid-template-columns: 24px 1fr; column-gap: 16px; row-gap: 2px; text-align: left; padding: 0; }
  .sv-tl-diamond { grid-column: 1; grid-row: 1 / span 2; justify-self: center; margin-top: 8px; }
  .sv-tl-date { grid-column: 2; grid-row: 1; margin-top: 0; height: auto; }
  .sv-tl-title { grid-column: 2; grid-row: 2; }
  .sv-tl-era .sv-tl-diamond { grid-row: 1 / span 2; }
  .sv-tl-text { display: block; margin: 6px 0 0 40px; color: var(--muted); font-size: 15px; }
}

/* ---------- Timeline containment: keeps the track inside its container ---------- */
.sv-combat, .sv-page, .sv-section, .sv-tl { min-width: 0; max-width: 100%; }
.sv-tl-scroll { width: 100%; max-width: 100%; overflow-x: auto; contain: inline-size; }

/* ---------- Lore pages additions (paste at the end of your stylesheet) ---------- */
/* Long-form story text */
.sv-story { max-width: 75ch; display: flex; flex-direction: column; gap: 16px; }
.sv-story h3 { margin-top: 12px; color: var(--gold); font-size: 22px; line-height: 1.6; }
.sv-story h3:first-child { margin-top: 0; }

/* Long-form story text, longer width */
.sv-story2 { max-width: 150ch; display: flex; flex-direction: column; gap: 16px; }
.sv-story2 h3 { margin-top: 12px; color: var(--gold); font-size: 22px; line-height: 1.6; }
.sv-story2 h3:first-child { margin-top: 0; }

/* Big quote line */
.sv-pull {
  margin: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--gold);
  font-family: var(--display); font-size: clamp(20px, 3vw, 28px); line-height: 1.7; color: var(--gold);
}

/* Glossary cards */
.sv-term { flex: 1 1 240px; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.sv-term h3 { font-size: 18px; color: var(--gold); line-height: 1.5; }

/* Empty state */
.sv-empty { border: 1px dashed var(--line-note); border-radius: var(--radius); padding: 28px 20px; text-align: center; color: var(--muted); }

/* Achievement cards */
.sv-ach { flex: 1 1 320px; display: flex; gap: 16px; padding: 18px 20px; }
.sv-ach-icon { flex: 0 0 56px; width: 56px; height: 56px; object-fit: contain; border-radius: var(--radius); background: var(--code); }
.sv-ach-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.sv-ach-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.sv-ach-head h3 { font-size: 18px; line-height: 1.5; }

/* ---------- Flora & Fauna additions (paste at the end of your stylesheet) ---------- */
.sv-compact .sv-acc-group { border-top: 1px solid var(--line); }
.sv-compact .sv-acc:last-child { border-bottom: 0; }
.sv-compact .sv-acc summary { padding: 12px 4px; }
.sv-compact .sv-acc-title { font-size: 18px; line-height: 1.5; }
.sv-compact .sv-acc-body { padding-bottom: 18px; }
.sv-list-acc { border-top: 1px solid var(--line); }   /* a standalone accordion list (beasts) */
.sv-list-acc .sv-acc summary { padding: 14px 4px; }
.sv-list-acc .sv-acc-title { font-size: 20px; line-height: 1.5; }

/* Herb cards */
.sv-herbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 16px; }
.sv-herb { display: flex; flex-direction: column; gap: 14px; padding: 20px; }
.sv-herb-head { display: flex; align-items: center; gap: 14px; }
.sv-herb-img { flex: 0 0 72px; width: 72px; height: 72px; object-fit: contain; border-radius: var(--radius); background: var(--code); }
.sv-herb-head h3 { font-size: 22px; line-height: 1.5; }
.sv-herb-head .sv-badge { margin-top: 4px; display: inline-block; }
.sv-herb .sv-eyebrow { display: block; margin-bottom: 6px; }

/* Type badges (the base .sv-badge is gold = medicinal) */
.sv-badge--edible { background: var(--cream); }
.sv-badge--toxic { background: var(--maroon); color: var(--cream); box-shadow: inset 0 0 0 1px var(--red); }

/* Location chips */
.sv-chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.sv-chip { font-size: 13px; line-height: 1; padding: 6px 10px; border: 1px solid var(--line-note); border-radius: 999px; color: var(--text); background: var(--note); }

/* Wild encounters comparison */
.sv-rate { flex: 1 1 320px; display: flex; flex-direction: column; gap: 12px; padding: 22px; }
.sv-rate-num { font-family: var(--display); font-weight: 700; font-size: 34px; line-height: 1.4; color: var(--gold); }