:root {
  --ink: #26322e;
  --muted: #5e6b66;
  --green-950: #142a24;
  --green-900: #19352d;
  --green-800: #27483d;
  --green-700: #3d6255;
  --paper: #f8f6ef;
  --paper-2: #f0ede3;
  --white: #fffefa;
  --gold: #a87832;
  --gold-light: #d9bd78;
  --line: #d9d7cd;
  --line-dark: #c3c5bb;
  --sky: #dce9e9;
  --wild: #e1e8d5;
  --depth: #d9e6eb;
  --veil: #e8e1eb;
  --serif: "Gloock", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --shadow: 0 8px 24px rgba(30, 48, 41, .07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 18px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: #285d4b; text-decoration: none; }
a:hover { color: #8b6229; }
button, input { font: inherit; }
button { color: inherit; }
img, svg { display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -60px; left: 18px; z-index: 50; padding: 10px 15px; color: var(--ink); background: var(--white); border: 1px solid var(--line); }
.skip-link:focus { top: 12px; }
.reference-wrap, .header-inner { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }

/* Site chrome */
.site-header { height: 68px; color: #f6f4ed; background: var(--green-950); border-bottom: 1px solid rgba(255,255,255,.12); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 30px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; font: 24px var(--serif); letter-spacing: -.02em; white-space: nowrap; }
.brand:hover { color: var(--gold-light); }.brand i { font-size: .65em; font-weight: 400; opacity: .65; }.brand-mark { width: 28px; height: 28px; overflow: visible; }.brand-mark path { fill: none; stroke: currentColor; stroke-width: 1.5; }.brand-mark circle { fill: currentColor; }
.desktop-nav { display: flex; align-items: stretch; height: 100%; }
.desktop-nav a { display: flex; align-items: center; padding: 0 20px; color: rgba(255,255,255,.78); border-left: 1px solid rgba(255,255,255,.08); font-size: 14.4px; font-weight: 600; }
.desktop-nav a:last-child { border-right: 1px solid rgba(255,255,255,.08); }.desktop-nav a:hover { color: #fff; background: rgba(255,255,255,.05); }
.menu-button, .mobile-menu { display: none; }

/* Homepage introduction */
.reference-intro { color: #f5f2e8; background: radial-gradient(circle at 78% 30%, rgba(210,185,116,.14), transparent 24%), var(--green-900); border-bottom: 4px solid #c6a35d; }
.intro-grid { min-height: 420px; padding-block: 60px; display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: center; gap: 90px; }
.eyebrow, .section-label { margin: 0 0 9px; color: var(--gold); text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 700; }
.reference-intro .eyebrow { color: var(--gold-light); }
.reference-intro h1 { margin: 0; font: 400 clamp(52.8px, 6vw, 81.6px)/1.02 var(--serif); letter-spacing: -.04em; }.reference-intro h1 em { color: var(--gold-light); font-weight: 400; }
.intro-copy { max-width: 700px; margin: 20px 0 27px; color: rgba(245,242,232,.75); font-size: 19.2px; line-height: 1.7; }
.site-search { max-width: 690px; }.site-search > label, .index-search label { display: block; margin-bottom: 7px; font-size: 13.2px; font-weight: 700; }
.search-control { display: flex; align-items: center; height: 52px; padding-left: 15px; background: var(--white); border: 1px solid #b7b8af; }
.search-control svg { flex: 0 0 19px; width: 19px; fill: none; stroke: var(--green-700); stroke-width: 1.7; }.search-control input { flex: 1; min-width: 0; height: 100%; padding: 0 13px; color: var(--ink); background: transparent; border: 0; outline: 0; }.search-control button { height: 100%; padding: 0 24px; color: #fff; background: var(--green-700); border: 0; cursor: pointer; font-size: 14.4px; font-weight: 700; }.search-control button:hover { background: var(--gold); }
.search-status { min-height: 19px; margin: 6px 0 0; color: var(--gold-light); font-size: 13.2px; }
.index-sidebar .search-status { color: var(--gold); }
.intro-panel { position: relative; padding: 24px; color: var(--ink); background: rgba(255,254,250,.94); border-top: 4px solid var(--gold-light); box-shadow: var(--shadow); }.intro-panel h2 { margin: 0 0 13px; font: 28.8px var(--serif); }.intro-mark { position: absolute; top: 20px; right: 22px; color: var(--gold); }.intro-panel dl { margin: 0; }.intro-panel dl div { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; border-top: 1px solid var(--line); }.intro-panel dt { color: var(--muted); font-size: 14.4px; }.intro-panel dd { margin: 0; font-size: 14.4px; font-weight: 700; }

.quick-nav { background: var(--white); border-bottom: 1px solid var(--line); }
.quick-nav .reference-wrap { min-height: 47px; display: flex; align-items: center; flex-wrap: wrap; gap: 0; }.quick-nav strong { margin-right: 16px; font-size: 13.2px; }.quick-nav a { align-self: stretch; display: flex; align-items: center; padding: 0 15px; border-left: 1px solid var(--line); font-size: 13.2px; font-weight: 600; }.quick-nav a:last-child { border-right: 1px solid var(--line); }

/* General reference components */
.page-columns { display: grid; grid-template-columns: minmax(0, 1fr) 285px; gap: 36px; padding-block: 35px 60px; align-items: start; }
.primary-column { min-width: 0; }.reference-section { padding: 28px 0 38px; border-bottom: 1px solid var(--line); }.reference-section:first-child { padding-top: 10px; }
.reference-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 18px; }.reference-heading h2, .results-bar h2 { margin: 0; font: 36px/1.1 var(--serif); letter-spacing: -.025em; }.text-link { font-size: 13.2px; font-weight: 700; white-space: nowrap; }
.realm-tiles { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); background: var(--white); }
.realm-tiles a { min-width: 0; padding: 19px 16px; color: var(--ink); }.realm-tiles a + a { border-left: 1px solid var(--line); }.realm-tiles a:hover { background: var(--paper-2); }.realm-tiles .tile-icon { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 12px; color: var(--green-800); background: #e5ece6; border-radius: 50%; font: 21.6px var(--serif); }.realm-tiles strong, .realm-tiles small, .realm-tiles b { display: block; }.realm-tiles strong { margin-bottom: 5px; font: 21.6px var(--serif); }.realm-tiles small { min-height: 39px; color: var(--muted); font-size: 12px; line-height: 1.4; }.realm-tiles b { margin-top: 10px; color: var(--gold); font-size: 10.8px; text-transform: uppercase; letter-spacing: .1em; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; }.compact-filters { margin-bottom: 12px; }.filter { padding: 6px 12px; background: var(--white); border: 1px solid var(--line-dark); cursor: pointer; font-size: 12px; font-weight: 600; }.filter:hover { border-color: var(--green-700); }.filter.active { color: #fff; background: var(--green-700); border-color: var(--green-700); }
.table-scroll { width: 100%; overflow-x: auto; border: 1px solid var(--line); background: var(--white); }
.creature-table, .data-table, .facts-table, .mini-data { width: 100%; border-collapse: collapse; text-align: left; }.creature-table { min-width: 690px; }.creature-table th, .data-table th, .mini-data th { padding: 9px 12px; color: #fff; background: var(--green-800); border-right: 1px solid rgba(255,255,255,.14); font-size: 10.8px; text-transform: uppercase; letter-spacing: .08em; }.creature-table td, .data-table td { padding: 12px; border-top: 1px solid var(--line); font-size: 14.4px; vertical-align: middle; }.creature-table tbody tr:nth-child(even), .data-table tbody tr:nth-child(even) { background: #f5f4ee; }.creature-table tbody tr:hover, .data-table tbody tr:hover { background: #efeee6; }.creature-card[hidden] { display: none; }
.creature-table td:first-child > a, .inactive-entry, .data-table td:first-child > a { display: flex; align-items: center; gap: 10px; color: var(--ink); }.creature-table strong { display: block; font-size: 14.4px; }.creature-table em { display: block; margin-top: 1px; color: var(--muted); font: italic 12px Georgia, serif; }.table-symbol { flex: 0 0 31px; width: 31px; height: 31px; display: inline-grid; place-items: center; color: var(--green-800); background: var(--paper-2); border: 1px solid var(--line); border-radius: 50%; font: 19.2px var(--serif); }.table-symbol.saga-symbol { background: #715748; }.table-symbol.folklore-symbol { background: #66734b; }.table-symbol.literature-symbol { background: #645875; }.table-symbol.mythic-symbol { background: #3e6870; }
.data-tag, .neutral-tag { display: inline-block; padding: 3px 7px; border: 1px solid rgba(38,50,46,.14); font-size: 10.8px; font-weight: 700; white-space: nowrap; }.data-tag.saga { background: #e9ded5; }.data-tag.folklore { background: #e2e8d5; }.data-tag.literature { background: #e7e0eb; }.data-tag.mythic { background: #d9e9e9; }.neutral-tag { background: var(--paper-2); }.row-link { font-size: 12px; font-weight: 700; }.no-results { margin: 0; padding: 25px; text-align: center; color: var(--muted); background: var(--white); border: 1px solid var(--line); font-weight: 600; }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }.guide-grid > div { padding: 18px; background: var(--white); border: 1px solid var(--line); }.guide-grid span { float: right; color: var(--gold); font: 30px var(--serif); }.guide-grid h3 { margin: 0 0 7px; font: 21.6px var(--serif); }.guide-grid p { margin: 0; color: var(--muted); font-size: 13.2px; line-height: 1.55; }

/* Sidebars */
.sidebar, .index-sidebar, .record-sidebar { min-width: 0; }.side-box { margin-bottom: 16px; padding: 18px; background: var(--white); border: 1px solid var(--line); }.side-box h2 { margin: 0 0 13px; padding-bottom: 10px; border-bottom: 2px solid var(--green-700); font: 21.6px var(--serif); }.alphabet { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; }.alphabet a, .alphabet span { aspect-ratio: 1; display: grid; place-items: center; background: var(--paper-2); border: 1px solid var(--line); font-size: 12px; font-weight: 700; }.alphabet span { color: #a8ada8; background: #f7f6f1; }.alphabet a:hover { color: #fff; background: var(--green-700); }.fact-box { background: #f1ead9; border-color: #d6c8a7; }.fact-box h2 { border: 0; padding: 0; }.fact-box p:not(.section-label) { color: #535a53; font: 16.8px/1.65 Georgia, serif; }.updates-box ol { list-style: none; margin: 0; padding: 0; }.updates-box li + li { border-top: 1px solid var(--line); }.updates-box a { display: block; padding: 10px 0; }.updates-box span, .updates-box small { display: block; }.updates-box span { color: var(--ink); font-size: 13.2px; font-weight: 700; }.updates-box small { color: var(--muted); font-size: 10.8px; }
.about-strip { padding: 45px 0; background: var(--paper-2); border-top: 1px solid var(--line); }.about-strip .reference-wrap { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; align-items: start; }.about-strip h2 { margin: 0; font: 34.8px/1.2 var(--serif); }.about-strip > div > p { margin: 0; color: var(--muted); font-size: 15.6px; line-height: 1.75; }

/* Hub page headers and layouts */
.page-banner { padding: 33px 0 35px; color: #f6f3e9; background: var(--green-900); border-bottom: 4px solid #c6a35d; }.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 25px; color: rgba(255,255,255,.56); font-size: 12px; }.breadcrumbs a { color: rgba(255,255,255,.75); }.breadcrumbs a:hover { color: var(--gold-light); }.breadcrumbs span:nth-child(even) { color: var(--gold-light); }.banner-row { display: flex; align-items: end; justify-content: space-between; gap: 60px; }.banner-row h1 { margin: 0 0 9px; font: 52.8px/1.05 var(--serif); letter-spacing: -.03em; }.banner-row > div > p:last-child { max-width: 680px; margin: 0; color: rgba(255,255,255,.7); font-size: 15.6px; }.banner-stats { min-width: 360px; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid rgba(255,255,255,.2); }.banner-stats div { padding: 12px; }.banner-stats div + div { border-left: 1px solid rgba(255,255,255,.2); }.banner-stats dt { color: rgba(255,255,255,.55); font-size: 9.6px; text-transform: uppercase; letter-spacing: .08em; }.banner-stats dd { margin: 4px 0 0; font: 20.4px var(--serif); }
.index-layout { padding-block: 38px 65px; display: grid; grid-template-columns: 235px minmax(0, 1fr); gap: 30px; align-items: start; }.index-sidebar { position: sticky; top: 18px; }.index-search { margin-bottom: 14px; }.index-search input { width: 100%; height: 38px; padding: 0 10px; background: var(--paper); border: 1px solid var(--line-dark); outline: 0; }.index-search input:focus { border-color: var(--green-700); box-shadow: 0 0 0 2px rgba(61,98,85,.12); }.vertical-filters { display: block; }.vertical-filters .filter { width: 100%; display: flex; justify-content: space-between; margin-top: 5px; text-align: left; }.vertical-filters .filter span { opacity: .65; }.small-note p { color: var(--muted); font-size: 13.2px; }.results-bar { display: flex; align-items: end; justify-content: space-between; margin-bottom: 14px; }.results-bar > span { color: var(--muted); font-size: 12px; }.alphabet-wide { grid-template-columns: repeat(26, 1fr); gap: 2px; margin-bottom: 12px; }.alphabet-wide a, .alphabet-wide span { aspect-ratio: auto; min-height: 28px; }.index-table { min-width: 980px; }.reference-note { margin-top: 25px; padding: 18px 20px; background: #f1ead9; border-left: 4px solid var(--gold); }.reference-note h2 { margin: 0 0 5px; font: 21.6px var(--serif); }.reference-note p { margin: 0; color: var(--muted); font-size: 14.4px; }
.standard-page { padding-block: 20px 65px; }.standard-page .reference-section:first-child { padding-top: 25px; }.data-table { min-width: 760px; }.data-table td:first-child strong { font-size: 14.4px; }.data-table a { font-weight: 600; }
.realm-reference-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 35px 0; }.realm-reference { padding: 24px; background: var(--white); border: 1px solid var(--line); scroll-margin-top: 15px; }.realm-reference header { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }.realm-reference header p { margin: 0; color: var(--gold); font-size: 9.6px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }.realm-reference h2 { margin: 0; font: 27.6px var(--serif); }.realm-reference > p { min-height: 75px; color: var(--muted); font-size: 14.4px; }.realm-reference dl { margin: 17px 0; border-top: 1px solid var(--line); }.realm-reference dl div { display: grid; grid-template-columns: 135px 1fr; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 12px; }.realm-reference dt { color: var(--muted); }.realm-reference dd { margin: 0; font-weight: 600; }.button-link { display: inline-block; padding: 7px 10px; color: #fff; background: var(--green-700); font-size: 10.8px; font-weight: 700; }.button-link:hover { color: #fff; background: var(--gold); }

/* Sourced dragon guide */
.dragon-banner { background: linear-gradient(110deg, #162d27, #3c3327); }.realm-banner { background: linear-gradient(110deg, #172d29, #4c465a); }.source-policy { margin: 5px 0 10px; padding: 19px 22px; display: flex; gap: 16px; align-items: flex-start; color: #39463f; background: #f1ead9; border: 1px solid #d6c8a7; border-left: 4px solid var(--gold); }.source-policy > span { color: var(--gold); font-size: 24px; }.source-policy h2 { margin: 0 0 4px; font: 22.8px var(--serif); }.source-policy p { margin: 0; font-size: 14.4px; line-height: 1.65; }.dragon-table td:first-child a { display: flex; align-items: center; gap: 10px; white-space: nowrap; }.table-symbol { width: 34px; height: 34px; display: inline-grid; flex: 0 0 34px; place-items: center; color: #fff; background: var(--green-700); border-radius: 50%; font: 17px var(--serif); }.table-symbol.saga-symbol { background: #715748; }.table-symbol.folklore-symbol { background: #66734b; }.table-symbol.literature-symbol { background: #645875; }.table-symbol.mythic-symbol { background: #3e6870; }.dragon-fire { background: #94503f; }.dragon-earth { background: #69744b; }.dragon-water { background: #3e6870; }
.dragon-profile-grid { margin: 10px 0 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }.dragon-profile { padding: 21px; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); scroll-margin-top: 15px; }.dragon-profile header { display: flex; gap: 12px; align-items: center; margin-bottom: 15px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }.dragon-profile header p { margin: 0 0 2px; color: var(--gold); font-size: 10.8px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }.dragon-profile h2 { margin: 0; font: 27.6px var(--serif); }.dragon-profile > p { margin: 0 0 15px; color: var(--muted); font-size: 14.4px; line-height: 1.65; }.dragon-profile dl { margin: auto 0 17px; border-top: 1px solid var(--line); }.dragon-profile dl div { padding: 8px 0; display: grid; grid-template-columns: 105px 1fr; gap: 8px; border-bottom: 1px solid var(--line); font-size: 12px; }.dragon-profile dt { color: var(--muted); }.dragon-profile dd { margin: 0; font-weight: 600; }
.book-list { margin: 16px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.book-list li { min-width: 0; padding: 17px; display: grid; grid-template-columns: 34px 1fr; gap: 12px; background: var(--white); border: 1px solid var(--line); scroll-margin-top: 18px; }.book-list li > span { width: 30px; height: 30px; display: grid; place-items: center; color: #fff; background: var(--green-700); font-size: 12px; font-weight: 700; }.book-list cite { color: var(--ink); font: 18px/1.35 var(--serif); }.book-list p { margin: 7px 0; color: var(--muted); font-size: 13.2px; line-height: 1.55; }.book-list a { font-size: 12px; font-weight: 700; }.compact-book-list { grid-template-columns: 1fr; }.bibliography sup, .record-section sup { font: 10.8px var(--sans); }.record-section sup a { padding: 2px; font-weight: 700; }

/* Creature records */
.record-header { padding: 32px 0 38px; color: #f7f4ea; background: linear-gradient(110deg, var(--green-900), #24463c); border-bottom: 4px solid #c6a35d; }.grendel-record-header { background: linear-gradient(110deg, #18231f, #4b5140); }.jabberwock-record-header { background: linear-gradient(110deg, #222136, #62516d); }.dragon-record-header { background: linear-gradient(110deg, #201f1c, #674232); }.laidly-record-header { background: linear-gradient(110deg, #1b2d29, #53613f); }.kings-record-header { background: linear-gradient(110deg, #142e32, #365e66); }.record-header .breadcrumbs { margin-bottom: 28px; }.record-title-row { display: flex; justify-content: space-between; gap: 50px; align-items: end; }.record-code { margin-bottom: 7px; color: var(--gold-light); font-size: 10.8px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }.record-title-row h1 { margin: 0; font: 57.6px/1.05 var(--serif); letter-spacing: -.035em; }.scientific-name { margin: 3px 0 10px; color: var(--gold-light); font: italic 18px Georgia, serif; }.record-summary { max-width: 750px; margin: 0 0 16px; color: rgba(255,255,255,.72); font-size: 15.6px; }.record-tags { display: flex; gap: 6px; }.record-tags .neutral-tag { color: #f2f1ea; background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.2); }.record-updated { min-width: 160px; padding: 11px 13px; border: 1px solid rgba(255,255,255,.19); }.record-updated span, .record-updated strong { display: block; }.record-updated span { color: rgba(255,255,255,.55); font-size: 9.6px; text-transform: uppercase; letter-spacing: .08em; }.record-updated strong { margin-top: 3px; font-size: 12px; }
.record-layout { padding-block: 35px 65px; display: grid; grid-template-columns: 270px minmax(0, 780px); gap: 40px; align-items: start; }.record-sidebar { position: sticky; top: 18px; }.specimen-figure { margin: 0 0 16px; background: #e3e5dc; border: 1px solid var(--line-dark); }.grendel-figure { background: #e1e5dc; }.jabberwock-figure { background: #e6e0e9; }.specimen-figure svg { width: 100%; height: auto; }.specimen-figure svg path { fill: rgba(39,72,61,.04); stroke: var(--green-800); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }.specimen-figure .figure-moon { fill: rgba(255,254,250,.6); }.specimen-figure figcaption { padding: 10px 12px; color: var(--muted); background: var(--white); border-top: 1px solid var(--line); font-size: 10.8px; line-height: 1.45; }.record-tools a { display: block; padding: 8px 0; border-top: 1px solid var(--line); font-size: 12px; font-weight: 600; }.reading-note { background: #f1ead9; border-color: #d6c8a7; }.reading-note p { margin: 0; color: var(--muted); font-size: 13.2px; }
.record-content { min-width: 0; }.quick-answer { display: flex; gap: 16px; padding: 18px 20px; background: #edf1e8; border: 1px solid #c9d2c4; }.quick-answer > span { color: var(--gold); font-size: 21.6px; }.quick-answer h2 { margin: 0 0 4px; font: 22.8px var(--serif); }.quick-answer p { margin: 0; font-size: 15.6px; line-height: 1.6; }.record-section { padding: 30px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 15px; }.record-section > h2 { margin: 0 0 15px; padding-bottom: 8px; border-bottom: 2px solid var(--green-700); font: 31.2px var(--serif); }.record-section h3 { margin: 23px 0 8px; font: 21.6px var(--serif); }.record-section > p { margin: 11px 0; color: #414d48; font: 18px/1.75 Georgia, serif; }
.facts-table { background: var(--white); border: 1px solid var(--line); }.facts-table th, .facts-table td { padding: 9px 12px; border-top: 1px solid var(--line); vertical-align: top; font-size: 13.2px; }.facts-table tr:first-child th, .facts-table tr:first-child td { border-top: 0; }.facts-table th { width: 190px; color: var(--muted); background: #f0f0e9; font-weight: 600; text-align: left; }.check-list { margin: 10px 0; padding: 0; list-style: none; }.check-list li { position: relative; padding: 7px 10px 7px 28px; border-top: 1px solid var(--line); font-size: 14.4px; }.check-list li:last-child { border-bottom: 1px solid var(--line); }.check-list li::before { content: "✦"; position: absolute; left: 8px; color: var(--gold); font-size: 9.6px; }.caution-box, .source-note { padding: 13px 15px; color: #565a51 !important; background: #f1ead9; border-left: 3px solid var(--gold); font: 14.4px/1.6 var(--sans) !important; }.mini-data { margin-top: 17px; background: var(--white); border: 1px solid var(--line); }.mini-data td { padding: 8px 11px; border-top: 1px solid var(--line); font-size: 13.2px; }.sighting-record { background: var(--white); border: 1px solid var(--line); }.sighting-record dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; }.sighting-record dl div { padding: 10px 13px; border-bottom: 1px solid var(--line); }.sighting-record dl div:nth-child(odd) { border-right: 1px solid var(--line); }.sighting-record dt { color: var(--muted); font-size: 9.6px; text-transform: uppercase; letter-spacing: .08em; }.sighting-record dd { margin: 2px 0 0; font-size: 13.2px; font-weight: 600; }.sighting-record blockquote { margin: 0; padding: 18px 22px; color: var(--green-900); background: #f1ead9; font: italic 21.6px/1.55 var(--serif); }
.dragon-figure { background: #eee9dc; }.laidly-figure { background: #e5eadb; }.kings-figure { background: #dce9e9; }.source-summary dl { margin: 0; }.source-summary dl div { padding: 8px 0; border-top: 1px solid var(--line); }.source-summary dt { color: var(--muted); font-size: 10.8px; text-transform: uppercase; letter-spacing: .06em; }.source-summary dd { margin: 2px 0 0; font-size: 12px; font-weight: 600; line-height: 1.45; }.source-separation, .cultural-note { margin: 18px 0 4px; padding: 15px 17px; color: #50574f; background: #f1ead9; border-left: 4px solid var(--gold); font-size: 14.4px; line-height: 1.65; }.cultural-note { background: #e7efed; border-left-color: #52787b; }.source-separation strong, .cultural-note strong { color: var(--ink); }
.related-records > div { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }.related-records a { padding: 14px; background: var(--white); border: 1px solid var(--line); }.related-records span, .related-records strong, .related-records small { display: block; }.related-records span { color: var(--gold); font-size: 9.6px; text-transform: uppercase; letter-spacing: .08em; }.related-records strong { color: var(--ink); font: 19.2px var(--serif); }.related-records small { color: var(--muted); font-size: 10.8px; }
.entry-pagination { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); background: var(--white); }.entry-pagination a { min-height: 95px; padding: 20px max(20px, calc((100vw - 1160px) / 2)); display: flex; flex-direction: column; justify-content: center; color: var(--ink); font: 24px var(--serif); }.entry-pagination a + a { border-left: 1px solid var(--line); text-align: right; }.entry-pagination a:hover { background: var(--paper-2); }.entry-pagination span { margin-bottom: 3px; color: var(--gold); font: 9.6px var(--sans); text-transform: uppercase; letter-spacing: .1em; }

/* Footer */
footer { color: rgba(255,255,255,.72); background: var(--green-950); }.footer-inner { min-height: 115px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 25px; }.footer-inner > p { margin: 0; font-size: 12px; }.footer-inner > p:nth-child(2) { text-align: center; }.footer-inner .copyright { text-align: right; }.footer-brand { color: #f5f2e8; }

@media (max-width: 950px) {
  .intro-grid { grid-template-columns: 1fr 300px; gap: 45px; }
  .page-columns { grid-template-columns: 1fr; }.sidebar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }.side-box { margin: 0; }
  .realm-tiles { grid-template-columns: 1fr 1fr; }.realm-tiles a:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }.realm-tiles a:nth-child(4) { border-top: 1px solid var(--line); }
  .banner-stats { min-width: 300px; }.index-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 22px; }.alphabet-wide { grid-template-columns: repeat(13, 1fr); }
  .dragon-profile-grid { grid-template-columns: 1fr 1fr; }.dragon-profile:last-child { grid-column: 1 / -1; }
  .record-layout { grid-template-columns: 230px minmax(0, 1fr); gap: 30px; }
}

@media (max-width: 700px) {
  .reference-wrap, .header-inner { width: min(100% - 28px, 1200px); }
  .site-header { height: 60px; }.desktop-nav { display: none; }.brand { font-size: 20.4px; }.brand-mark { width: 25px; height: 25px; }
  .menu-button { display: flex; flex-direction: column; gap: 6px; width: 40px; height: 40px; justify-content: center; align-items: center; color: #fff; background: transparent; border: 0; }.menu-button span:not(.sr-only) { width: 19px; height: 1px; background: currentColor; }.mobile-menu { position: absolute; z-index: 20; top: 59px; left: 0; right: 0; padding: 8px; background: var(--green-900); border: 1px solid rgba(255,255,255,.15); box-shadow: var(--shadow); }.mobile-menu:not([hidden]) { display: block; }.mobile-menu a { display: block; padding: 10px; color: #fff; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 13.2px; }
  .intro-grid { min-height: auto; padding-block: 42px; grid-template-columns: 1fr; gap: 28px; }.reference-intro h1 { font-size: 51.6px; }.intro-copy { font-size: 16.8px; }.search-control input { font-size: 14.4px; }.search-control button { padding: 0 15px; }.intro-panel { padding: 18px; }
  .quick-nav { overflow-x: auto; }.quick-nav .reference-wrap { width: max-content; min-width: 100%; flex-wrap: nowrap; padding-inline: 14px; }.quick-nav a { min-height: 43px; white-space: nowrap; }
  .page-columns { padding-block: 20px 45px; gap: 25px; }.reference-section { padding: 23px 0 30px; }.reference-heading { display: block; }.reference-heading .text-link { display: inline-block; margin-top: 8px; }.realm-tiles { grid-template-columns: 1fr; }.realm-tiles a + a { border-left: 0; border-top: 1px solid var(--line); }.guide-grid { grid-template-columns: 1fr; }.sidebar { display: block; }.side-box { margin-bottom: 13px; }
  .about-strip { padding: 35px 0; }.about-strip .reference-wrap { grid-template-columns: 1fr; gap: 18px; }.about-strip h2 { font-size: 30px; }
  .page-banner { padding: 26px 0 30px; }.banner-row { display: block; }.banner-row h1 { font-size: 43.2px; }.banner-stats { min-width: 0; margin-top: 24px; }.banner-stats dd { font-size: 16.8px; }
  .index-layout { display: block; padding-block: 25px 45px; }.index-sidebar { position: static; margin-bottom: 25px; }.vertical-filters { display: flex; }.vertical-filters .filter { width: auto; }.alphabet-wide { grid-template-columns: repeat(13, 1fr); }
  .realm-reference-grid { grid-template-columns: 1fr; }.realm-reference > p { min-height: 0; }.realm-reference dl div { grid-template-columns: 115px 1fr; }
  .source-policy { padding: 16px; }.dragon-profile-grid, .book-list { grid-template-columns: 1fr; }.dragon-profile:last-child { grid-column: auto; }.dragon-table { min-width: 820px; }
  .record-header { padding: 25px 0 30px; }.record-title-row { display: block; }.record-title-row h1 { font-size: 45.6px; }.record-updated { width: max-content; margin-top: 20px; }.record-layout { display: block; padding-block: 25px 45px; }.record-sidebar { position: static; }.specimen-figure { max-width: 360px; }.record-tools { display: none; }.record-content { margin-top: 25px; }.facts-table th { width: 125px; }.record-section > h2 { font-size: 27.6px; }.sighting-record dl { grid-template-columns: 1fr; }.sighting-record dl div:nth-child(odd) { border-right: 0; }.related-records > div { grid-template-columns: 1fr; }.entry-pagination { grid-template-columns: 1fr; }.entry-pagination a { min-height: 85px; padding: 18px 14px; }.entry-pagination a + a { border-left: 0; border-top: 1px solid var(--line); text-align: left; }
  .footer-inner { padding-block: 28px; grid-template-columns: 1fr; text-align: center; gap: 12px; }.footer-inner .brand { justify-self: center; }.footer-inner .copyright, .footer-inner > p:nth-child(2) { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
