
@font-face { font-family: "Noto Serif"; src: url("fonts/NotoSerif-Regular.woff2?v=6d6ca905") format("woff2"), url("fonts/NotoSerif-Regular.ttf?v=9d7583b7") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Noto Serif"; src: url("fonts/NotoSerif-SemiBold.woff2?v=bf746e0d") format("woff2"), url("fonts/NotoSerif-SemiBold.ttf?v=357f81d5") format("truetype"); font-weight: 600; font-display: swap; }
:root {
  --ground: #181818;      
  --page: #202020;        
  --panel: #2e2e2e;       
  --well: #121212;        
  --line: #767676;        
  --line-soft: #444444;   
  --ink: #efe6d2;         
  --dim: #a8a296;         
  --head: #efe6d2;        
  --caption: #b5aea2;     
  --gold: #cfd1d4;        
  --gold-visited: #b5aea2; 
  --gold-hover: #eceef0;  
  --red: #e0907f;         
  --warn: #e6bf8a;        
  --accent: var(--gold); --bg: var(--ground); --blue: #cfd1d4; --green: #9fbf8a;  
  --serif: "Noto Serif", Georgia, serif;
  --sans: "Open Sans", "Segoe UI", system-ui, sans-serif;  
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--ground); color: var(--ink); }
body { font: 15px/1.6 var(--sans); }
a { color: var(--gold); text-decoration: underline; text-decoration-color: var(--line-soft); text-underline-offset: 3px; }
a:visited { color: var(--gold-visited); }
a:hover { color: var(--gold-hover); text-decoration-color: var(--gold-hover); }
.dim, .sub { color: var(--dim); } .sub { font-size: 13px; } code { font: 12.5px var(--mono); color: var(--dim); }
.src { font: 11.5px var(--mono); color: var(--dim); overflow-wrap: anywhere; }
.intro { margin: 0 0 12px; }


.infobox, .sidebar, .toc, .catlinks, .categories {
  background: var(--page); border: 1px solid var(--line); border-radius: 3px; box-shadow: inset 0 0 0 2px var(--well), inset 0 0 0 3px var(--line-soft); }


.topbar { display: flex; align-items: center; gap: 24px; padding: 8px 24px; background: var(--well); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.brand { display: flex; align-items: center; gap: 10px; font: 600 22px/1 var(--serif); font-variant: small-caps; letter-spacing: .5px; color: var(--head) !important; text-decoration: none !important; white-space: nowrap; }
.brand { font-size: 0 !important; gap: 8px; }  
.brand::before { content: ""; width: 150px; height: 40px; background: url("img/brand/logo.png") left center / contain no-repeat; }
.brand span, .brand .brand-sub { font: 400 15px var(--serif); font-variant: small-caps; letter-spacing: 1px; color: var(--caption); }
.brand span, .brand-sub { color: var(--caption); font-weight: 400; }
.search { display: flex; flex: 1; max-width: 520px; margin-left: auto; }
.search input { width: 100%; background: var(--well); color: var(--ink); border: 1px solid var(--line-soft); border-radius: 3px; padding: 7px 12px; font: inherit; }
.search input:focus { outline: none; border-color: var(--line); box-shadow: 0 0 0 1px var(--gold-hover); }
.search button { margin-left: 6px; background: var(--panel); color: var(--ink); border: 1px solid var(--line); border-radius: 3px; padding: 6px 14px; font: 600 14px var(--sans); cursor: pointer; }
.search button:hover { background: #3a3a3a; }


.frame, .shell { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 18px; max-width: 1340px; margin: 0 auto; padding: 18px 20px; }
.sidebar { align-self: start; position: sticky; top: 72px; padding: 14px 10px; }
.sidebar h3 { font: 600 11.5px var(--sans); color: var(--caption); text-transform: uppercase; letter-spacing: 1.4px; margin: 14px 8px 6px; }
.sidebar h3:first-child { margin-top: 2px; }
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar a { display: block; padding: 6px 10px; border-radius: 3px; color: var(--ink); text-decoration: none; font: 16px/1.3 var(--serif); }
.sidebar a:hover { background: var(--panel); color: var(--gold-hover); }
.sidebar a.on { background: var(--panel); box-shadow: inset 2px 0 0 var(--gold); color: var(--head); }
.content { background: var(--page); border: 1px solid var(--line-soft); border-radius: 3px; min-height: calc(100vh - 110px); padding: 22px 30px 40px; }
.footer, .foot { max-width: 1340px; margin: 0 auto; padding: 4px 24px 30px; color: var(--dim); font-size: 12.5px; }


.page-title, .content h1 { font: 600 30px/1.2 var(--serif); font-variant: small-caps; letter-spacing: .4px; color: var(--head); margin: 0; padding-bottom: 8px; border-bottom: 1px solid var(--line-soft); }
.page-sub { color: var(--caption); margin-top: 4px; }
.page-body { margin-top: 14px; } .page-body::after { content: ""; display: block; clear: both; }
.lead { margin: 0 0 12px; }
h2 { font: 600 19px/1.3 var(--serif); font-variant: small-caps; letter-spacing: 1px; color: var(--head); margin: 24px 0 8px; padding-bottom: 5px; border-bottom: 1px solid var(--line-soft); }
h3 { font: 600 12.5px var(--sans); text-transform: uppercase; letter-spacing: 1.2px; color: var(--caption); margin: 16px 0 6px; }
section > p, .lead p { margin: 0 0 10px; }
ul { padding-left: 20px; } li { margin: 2px 0; } li::marker { color: var(--line); }
table.wikitable { border-collapse: collapse; margin: 8px 0 14px; font-size: 14px; }
table.wikitable th, table.wikitable td { border: 1px solid var(--line-soft); padding: 5px 9px; text-align: left; vertical-align: top; }
table.wikitable th { background: var(--panel); color: var(--caption); font-weight: 600; }
blockquote { margin: 10px 0 14px; padding: 6px 16px; border-left: 2px solid var(--line); color: var(--ink); font: italic 15px/1.6 var(--serif); }
ul.cols, .cols { columns: 3 220px; column-gap: 28px; padding-left: 18px; }


.infobox { float: right; clear: right; width: 300px; margin: 0 0 16px 22px; padding: 3px; font-size: 14px; }
.ib-title { font: 600 17px var(--serif); font-variant: small-caps; letter-spacing: .5px; color: var(--head); text-align: center; padding: 8px 10px; border-bottom: 1px solid var(--line-soft); }
.ib-image { margin: 0; padding: 10px; text-align: center; background: var(--well); border-bottom: 1px solid var(--line-soft); }
.ib-image img { max-width: 100%; max-height: 300px; }
.ib-image:not(:has(img)) { display: none; }
.ib-image figcaption { color: var(--dim); font-size: 12.5px; margin-top: 4px; }
.infobox table { width: 100%; border-collapse: separate; border-spacing: 0 4px; padding: 2px 6px 4px; }
.infobox th, .infobox td { padding: 6px 9px; vertical-align: top; text-align: left; background: var(--panel); }
.infobox th { width: 38%; color: var(--caption); font: 600 11.5px/1.6 var(--sans); text-transform: uppercase; letter-spacing: .8px; border-radius: 3px 0 0 3px; }
.infobox td { border-radius: 0 3px 3px 0; }
.infobox tr.ib-group th { text-align: center; background: none; color: var(--caption); letter-spacing: 1.4px; padding-top: 10px; }


.infobox tr.ib-stats td { background: none; padding: 2px 0 4px; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.stat { background: var(--panel); border: 1px solid var(--line-soft); border-radius: 3px; padding: 4px 6px; text-align: center; }
.stat-label { display: block; color: var(--caption); font: 600 10.5px/1.4 var(--sans); text-transform: uppercase; letter-spacing: .6px; }
.stat-value { display: block; color: var(--head); font: 600 15px/1.3 var(--serif); }


.navbox { clear: both; margin-top: 22px; background: var(--page); border: 1px solid var(--line); border-radius: 3px; box-shadow: inset 0 0 0 2px var(--well), inset 0 0 0 3px var(--line-soft); padding: 3px; font-size: 14px; }
.navbox-title { text-align: center; font: 600 16px var(--serif); font-variant: small-caps; letter-spacing: .6px; color: var(--head); padding: 6px; background: var(--panel); border-radius: 2px; }
.navbox table { width: 100%; border-collapse: separate; border-spacing: 0 3px; margin-top: 3px; }
.navbox th { width: 150px; text-align: right; vertical-align: top; padding: 5px 10px; color: var(--caption); font: 600 11.5px/1.6 var(--sans); text-transform: uppercase; letter-spacing: .6px; background: var(--panel); border-radius: 3px 0 0 3px; }
.navbox td { padding: 5px 10px; background: var(--well); border-radius: 0 3px 3px 0; line-height: 1.7; }
.navbox td .sep { color: var(--line); }
.navbox a.self { color: var(--head); font-weight: 600; text-decoration: none; }


.statblock { clear: both; max-width: 640px; margin: 4px 0 18px; background: var(--page); border: 1px solid var(--line); border-radius: 3px; padding: 4px 4px 2px;
  box-shadow: inset 0 0 0 2px var(--well), inset 0 0 0 3px var(--line-soft); }
.sb-top { background: var(--panel); border-radius: 2px; padding: 8px 12px 7px; }
.sb-name { margin: 0; border: 0; padding: 0; color: var(--head); font: 600 22px/1.2 var(--serif); font-variant: small-caps; letter-spacing: .5px; }
.sb-kind { color: var(--caption); font: italic 14px var(--serif); }
.sb-core { display: grid; grid-template-columns: 1fr 1fr 2fr 1fr; gap: 4px; margin: 4px 0; }
.sb-face, .sb-ab { background: var(--well); border: 1px solid var(--line-soft); border-radius: 3px; padding: 5px 6px; text-align: center; }
.sb-face span, .sb-ab-k { display: block; color: var(--caption); font: 600 10.5px/1.4 var(--sans); text-transform: uppercase; letter-spacing: .6px; }
.sb-face b { display: block; color: var(--head); font: 600 17px/1.3 var(--serif); }
.sb-face i { display: block; color: var(--caption); font: 12px var(--sans); }
.sb-abilities { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin-bottom: 4px; }
.sb-ab-v { display: block; color: var(--head); font: 600 19px/1.2 var(--serif); }
.sb-ab-m { display: block; color: var(--text); font: 600 13px var(--sans); }
.sb-ab-s { display: block; color: var(--caption); font: 11px var(--sans); margin-top: 2px; border-top: 1px solid var(--line-soft); padding-top: 2px; }
.sb-lines { background: var(--well); border-radius: 3px; padding: 6px 12px; font-size: 14px; line-height: 1.65; }
.sb-line b { color: var(--head); font-weight: 600; }
.sb-text { padding: 6px 12px 4px; font-size: 14.5px; line-height: 1.55; }
.sb-head { margin: 10px 0 4px; padding-bottom: 2px; border-bottom: 1px solid var(--line); color: var(--head); font: 600 16px var(--serif); font-variant: small-caps; letter-spacing: .5px; }
.sb-entry { margin: 0 0 7px; } .sb-entry b i { color: var(--head); }
.sb-src { padding: 3px 12px 6px; color: var(--caption); font: 11.5px var(--mono); }
@media (max-width: 760px) { .sb-core { grid-template-columns: 1fr 1fr; } .sb-abilities { grid-template-columns: repeat(3, 1fr); } }


.srd-quote { margin: 4px 0 14px; padding: 10px 16px 8px; background: var(--well); border: 1px solid var(--line-soft); border-left: 3px solid var(--line); border-radius: 3px;
  font: 15.5px/1.6 var(--serif); color: var(--text); position: relative; }
.srd-quote p { margin: 0 0 8px; }
.srd-tag, .house-tag { display: inline-block; margin-bottom: 6px; padding: 1px 7px; border: 1px solid var(--line); border-radius: 3px; background: var(--panel);
  color: var(--caption); font: 600 10.5px/1.6 var(--sans); text-transform: uppercase; letter-spacing: .7px; }
.srd-quote footer, .house-box footer { color: var(--caption); font: 11.5px var(--mono); }
ul.engine-fns { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 3px; }
ul.engine-fns li { background: var(--well); border-radius: 3px; padding: 4px 10px; }
ul.engine-fns code { color: var(--head); }
ul.said-list li { color: var(--caption); font-size: 14px; }
.house-box { margin: 4px 0 12px; padding: 10px 16px 8px; background: var(--panel); border: 1px solid var(--warn, #e6bf8a); border-radius: 3px;
  box-shadow: inset 0 0 0 2px var(--page); }
.house-box .house-tag { border-color: var(--warn, #e6bf8a); color: var(--warn, #e6bf8a); }
.house-box p { margin: 0 0 6px; }


.section-page .lead { margin-bottom: 14px; }
.sbanner { position: relative; display: block; margin: 0 0 16px; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; background: var(--well); }
.sbanner img { display: block; width: 100%; max-height: 340px; object-fit: cover; }
.sbanner span { position: absolute; left: 12px; bottom: 10px; padding: 3px 10px; background: rgba(18, 18, 18, .85); border: 1px solid var(--line); border-radius: 3px;
  color: var(--head); font: 600 14px var(--serif); font-variant: small-caps; }
.jump { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; }
.jump a { display: inline-flex; gap: 6px; align-items: center; padding: 4px 10px; background: var(--panel); border: 1px solid var(--line-soft); border-radius: 3px;
  color: var(--text); font: 600 13px var(--sans); text-decoration: none; }
.jump a:hover, .jump a:focus-visible { border-color: var(--line); color: var(--head); outline: none; }
.jump .n, .sgroup-n { color: var(--caption); font-weight: 400; }
.sgroup { margin: 0 0 26px; } .sgroup h2 { display: flex; align-items: baseline; gap: 10px; } .sgroup-n { font: 14px var(--sans); }
.sgroup-intro { color: var(--caption); margin-top: -4px; }
.filters { display: grid; gap: 6px; margin: 0 0 14px; padding: 8px 10px; background: var(--well); border: 1px solid var(--line-soft); border-radius: 3px; }
.filter { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.filter-label { min-width: 70px; color: var(--caption); font: 600 11px var(--sans); text-transform: uppercase; letter-spacing: .6px; }
.fbtn { padding: 3px 10px; background: var(--panel); color: var(--text); border: 1px solid var(--line-soft); border-radius: 3px; font: 13px var(--sans); cursor: pointer; }
.fbtn:hover, .fbtn:focus-visible { border-color: var(--line); outline: none; }
.fbtn.on { background: var(--head); color: #181818; border-color: var(--head); font-weight: 600; }
.filter-none { color: var(--caption); font-style: italic; }


.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.tile { display: flex; gap: 10px; align-items: flex-start; padding: 7px; background: var(--panel); border: 1px solid var(--line-soft); border-radius: 3px;
  color: var(--text); text-decoration: none !important; transition: border-color .12s, background .12s; }
.tile:hover, .tile:focus-visible { border-color: var(--line); background: var(--panel-hi, #2e2e2e); outline: none; }
.tile[hidden], .ccard[hidden], .wtable tr[hidden], .sgroup[hidden] { display: none; }
.tile-pic { flex: none; width: 72px; height: 72px; display: grid; place-items: center; background: var(--well); border: 1px solid var(--line-soft); border-radius: 3px; overflow: hidden; }
.tile-pic img { width: 100%; height: 100%; object-fit: contain; }
.tile-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tile-name { color: var(--head); font: 600 15px/1.25 var(--serif); }
.tile-line { color: var(--caption); font: 13px/1.35 var(--sans); }
.tile-facts { display: flex; flex-wrap: wrap; gap: 2px 10px; font: 12.5px var(--sans); }
.fact-k { color: var(--caption); font: 600 10.5px var(--sans); text-transform: uppercase; letter-spacing: .5px; }
.tile-badges { display: flex; flex-wrap: wrap; gap: 4px; }


.ccards { display: grid; gap: 12px; }
.ccard { display: grid; grid-template-columns: 200px 1fr 220px; gap: 16px; padding: 10px; background: var(--page); border: 1px solid var(--line); border-radius: 3px;
  box-shadow: inset 0 0 0 2px var(--well), inset 0 0 0 3px var(--line-soft); }
.ccard-pic { display: block; aspect-ratio: 1; background: var(--well); border: 1px solid var(--line-soft); border-radius: 3px; overflow: hidden; }
.ccard-pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s; }
.ccard-pic:hover img { transform: scale(1.04); }
.ccard-name { margin: 2px 0 0; border: 0; padding: 0; font: 600 24px/1.2 var(--serif); font-variant: small-caps; letter-spacing: .5px; }
.ccard-name a { color: var(--head); text-decoration: none; }
.ccard-kicker { color: var(--caption); font: italic 15px var(--serif); margin-bottom: 8px; }
.ccard-facts { display: grid; grid-template-columns: max-content 1fr; gap: 3px 12px; margin: 0 0 8px; font-size: 14px; }
.ccard-facts dt { color: var(--caption); font: 600 11px/1.9 var(--sans); text-transform: uppercase; letter-spacing: .5px; }
.ccard-facts dd { margin: 0; }
.ccard-wants ul { margin: 2px 0 8px 18px; padding: 0; font-size: 14px; }
.card-map { position: relative; display: block; align-self: start; border: 1px solid var(--line-soft); border-radius: 3px; overflow: hidden; }
.card-map img { display: block; width: 100%; }
.card-map-dot { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #ffd940; box-shadow: 0 0 0 2px #0d0a05, 0 0 10px #ffd940; }
@media (max-width: 900px) { .ccard { grid-template-columns: 120px 1fr; } .card-map { grid-column: 1 / -1; } }


.chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 3px; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 1px 8px; background: var(--well); border: 1px solid var(--line-soft); border-radius: 10px;
  color: var(--text); font: 12.5px/1.6 var(--sans); text-decoration: none !important; white-space: nowrap; }
a.chip:hover, a.chip:focus-visible { border-color: var(--line); color: var(--head); outline: none; }
.chip img { width: 16px; height: 16px; border-radius: 50%; object-fit: cover; }
.wb { display: inline-block; padding: 0 6px; border: 1px solid currentColor; border-radius: 3px; font: 600 10.5px/1.6 var(--sans); text-transform: uppercase; letter-spacing: .5px; white-space: nowrap; }
.wb-common { color: #c9ccd2; } .wb-uncommon { color: #7fc48a; } .wb-rare { color: #7fa8d6; } .wb-very_rare { color: #b096dc; }
.wb-legendary { color: #e8794f; } .wb-artifact { color: #e0907f; } .wb-varies { color: var(--caption); }
.wb-giver { color: #ffbf26; } .wb-dm { color: var(--danger, #e0907f); } .wb-house { color: var(--warn, #e6bf8a); } .wb-cr { color: var(--text); } .wb-attune { color: #8cc9bf; }
.rar-common { color: #c9ccd2; } .rar-uncommon { color: #7fc48a; } .rar-rare { color: #7fa8d6; } .rar-very_rare { color: #b096dc; } .rar-legendary { color: #e8794f; }


.wb-front { color: #e0907f; } .wb-healer { color: #a9c4a0; } .wb-ranged { color: #7fa8d6; } .wb-caster { color: #b096dc; } .wb-skills { color: #e6bf8a; }
.wtable td.portrait { width: 64px; padding: 4px 8px; background: none !important; } .wtable td.portrait img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; display: block;
  box-shadow: 0 0 0 2px #767676, 0 0 0 4px #0d0a05; }
.wtable td .likes { color: #a9c4a0; } .wtable td .dislikes { color: #e0907f; } .wtable td .lk { display: block; font-size: 13px; line-height: 1.5; }

.wtable-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 3px; }
table.wtable { width: 100%; border-collapse: collapse; font-size: 14px; }
.wtable th { position: sticky; top: 0; background: var(--panel); color: var(--caption); font: 600 11px var(--sans); text-transform: uppercase; letter-spacing: .6px;
  text-align: left; padding: 7px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.wtable th[data-col] { cursor: pointer; } .wtable th[data-col]:hover, .wtable th[data-col]:focus-visible { color: var(--head); outline: none; }
.wtable th[aria-sort="ascending"]::after { content: " \25B4"; } .wtable th[aria-sort="descending"]::after { content: " \25BE"; }
.wtable td { padding: 6px 10px; border-top: 1px solid var(--line-soft); vertical-align: middle; }
.wtable tbody tr:nth-child(even) td { background: rgba(255, 255, 255, .018); }
.wtable tbody tr:hover td { background: var(--panel); }
.wtable td.ic, .wtable th.ic { width: 44px; padding: 4px 6px; text-align: center; }
.wtable td.name a { color: var(--head); font: 600 14.5px var(--serif); }
.wtable td.dim { color: var(--caption); font-size: 13px; }
.wicon { width: 36px; height: 36px; object-fit: contain; display: block; margin: auto; background: var(--well); border: 1px solid var(--line-soft); border-radius: 3px; }
.wicon.none { display: block; }


:root { --g-fond: #202020f0; --g-steel: #2e2e2e; --g-inset: #121212; --g-pen: #767676; --g-frost: #efe6d2; --g-dim: #a8a296;
  --g-gold: #b5aea2; --g-or: #cfd1d4; --g-title: #efe6d2; --g-hp: #8fb08a; --g-hp-back: #3a3333;
  --rar-common: #d9d1b8; --rar-uncommon: #66bf66; --rar-rare: #598cf2; --rar-very_rare: #b366e6; --rar-legendary: #ff9933; --rar-artifact: #ff4d33; }
.g-frame { border: 22px solid transparent; border-image: url("img/skin/skin_frame.png?v=3375aefc") 22 fill / 22px stretch; }
.g-tooltip { border: 22px solid transparent; border-image: url("img/skin/skin_tooltip.png?v=2c6e673c") 22 fill / 22px stretch; }
.g-slot { border: 7px solid transparent; border-image: url("img/skin/skin_slot.png?v=3c288b65") 7 fill / 7px stretch; }
a.g-slot:hover, a.g-slot:focus-visible { border-image-source: url("img/skin/skin_slot_hover.png?v=02cbe738"); outline: none; }
.g-plaque { border: 9px solid transparent; border-image: url("img/skin/skin_plaque.png?v=59682b96") 9 fill / 9px stretch; background: none; color: var(--g-frost);
  font: 15px var(--serif); padding: 0 4px; cursor: pointer; line-height: 1.2; }
.g-plaque:hover, .g-plaque:focus-visible { border-image-source: url("img/skin/skin_plaque_hover.png?v=d5e8e807"); outline: none; }
.g-plaque.on { border-image-source: url("img/skin/skin_plaque_pressed.png?v=60acdaf4"); color: var(--g-or); font-weight: 600; }
.rar-common { --rar: var(--rar-common); } .rar-uncommon { --rar: var(--rar-uncommon); } .rar-rare { --rar: var(--rar-rare); }
.rar-very_rare { --rar: var(--rar-very_rare); } .rar-legendary { --rar: var(--rar-legendary); } .rar-artifact { --rar: var(--rar-artifact); }


.g-card { width: 300px; text-align: center; color: var(--g-frost); }
.g-card-name { font: 600 22px/1.2 var(--serif); color: var(--rar, var(--g-or)); margin: -4px 0 6px; }
.g-card-name a { color: inherit; text-decoration: none; }
.g-card-pics { display: flex; justify-content: center; gap: 6px; margin: 0 0 6px; }
.g-card-icon { width: 78px; height: 78px; display: grid; place-items: center; }
.g-card-worn { width: 78px; height: 104px; display: grid; place-items: center; }
.g-card-worn img { max-width: 64px; max-height: 92px; object-fit: contain; }
.g-card:has(.g-card-worn) { width: 340px; }
.g-card-icon img { width: 64px; height: 64px; object-fit: contain; }
.g-card-line { color: var(--rar, var(--g-dim)); font: 13px/1.35 var(--sans); margin-bottom: 6px; }
.g-card-effect { font: 13px/1.5 var(--sans); margin-bottom: 8px; }
.g-card-facts { display: grid; grid-template-columns: max-content 1fr; gap: 2px 10px; text-align: left; margin: 0; padding-top: 6px; border-top: 1px solid var(--line-soft); font: 13px var(--sans); }
.g-card-facts dt { color: var(--g-gold); } .g-card-facts dd { margin: 0; }


.g-bag-wrap { position: relative; }
.g-view { display: flex; gap: 6px; justify-content: flex-end; margin-bottom: 6px; }
.g-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin: -6px 0 10px; }
.g-grid { display: grid; grid-template-columns: repeat(auto-fill, 72px); gap: 4px; justify-content: start; }
.g-cell { position: relative; width: 72px; height: 72px; display: grid; place-items: center; text-decoration: none !important; }
.g-cell::after { content: ""; position: absolute; inset: -3px; border: 2px solid var(--rar, transparent); border-radius: 4px; pointer-events: none; }
.g-cell img { width: 52px; height: 52px; object-fit: contain; }
.g-cell[hidden] { display: none; }
.g-qty { position: absolute; right: 1px; bottom: -3px; color: var(--g-or); font: 600 13px var(--sans); text-shadow: 0 0 3px #000, 0 0 3px #000; }
.g-tip { position: absolute; left: calc(100% + 10px); top: -10px; z-index: 20; display: none; pointer-events: none;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .7)); }
.g-cell:hover .g-tip, .g-cell:focus-visible .g-tip { display: block; }
.g-cell.tip-left .g-tip { left: auto; right: calc(100% + 10px); } .g-cell.tip-up .g-tip { top: auto; bottom: -10px; }
.g-bag-table[hidden], .g-bag[hidden] { display: none; }


.g-party { display: grid; grid-template-columns: 132px 1fr; gap: 6px 16px; align-items: start; color: var(--g-frost); }
.g-portrait { grid-row: span 2; width: 132px; height: 132px; border-radius: 50%; overflow: hidden; background: var(--g-inset);
  box-shadow: 0 0 0 3px var(--g-pen), 0 0 0 6px #0d0a05, 0 4px 12px rgba(0, 0, 0, .6); }
.g-portrait img { width: 100%; height: 100%; object-fit: cover; }
.g-party-head h3 { margin: 0; border: 0; padding: 0; font: 600 24px/1.2 var(--serif); }
.g-party-head h3 a { color: var(--g-title); text-decoration: none; }
.g-party-line { color: var(--g-gold); font: 15px var(--serif); margin: 2px 0 8px; }
.g-party-stats { display: flex; gap: 10px; align-items: center; }
.g-hp { position: relative; width: 190px; height: 20px; border-radius: 5px; background: var(--g-hp-back); box-shadow: inset 0 0 0 2px var(--g-pen); overflow: hidden; }
.g-hp span { position: absolute; inset: 2px auto 2px 2px; border-radius: 4px; background: var(--g-hp); }
.g-hp b { position: relative; display: block; text-align: center; font: 600 12px/20px var(--sans); color: #fff; text-shadow: 0 0 3px #000; }
.g-ac { display: flex; align-items: baseline; gap: 5px; padding: 0 10px; border: 9px solid transparent; border-image: url("img/skin/skin_plaque.png?v=59682b96") 9 fill / 9px stretch; }
.g-ac span { color: var(--g-gold); font: 600 11px var(--sans); } .g-ac b { font: 600 17px var(--serif); }
.g-party-facts { display: grid; grid-template-columns: max-content 1fr; gap: 3px 12px; margin: 0; font-size: 14px; }
.g-party-facts dt { color: var(--g-gold); font: 600 11px/1.9 var(--sans); text-transform: uppercase; letter-spacing: .5px; } .g-party-facts dd { margin: 0; }
.g-party .chips { grid-column: 2; }


.g-journal { display: grid; grid-template-columns: 1fr 1.6fr; padding: 10px; background: url("img/skin/skin_leather.png?v=6bbd253e") center / 100% 100%; border-radius: 4px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .6); margin: 0 0 18px; }
.g-page { background: url("img/skin/skin_page.png?v=46c4f562") right / 100% 100%; padding: 20px 22px; min-height: 260px; }
.g-left { transform: scaleX(1); background: linear-gradient(to left, rgba(0, 0, 0, .16), transparent 40px), var(--g-fond); border-right: 1px solid var(--line-soft); }
.g-right { background: linear-gradient(to right, rgba(0, 0, 0, .16), transparent 40px), var(--g-fond); }
.g-jtitle { margin: 0 0 4px; border: 0; padding: 0; font: 600 26px/1.2 var(--serif); color: var(--g-title); }
.g-jsub { color: var(--g-dim); font-size: 14px; margin-bottom: 10px; }
.g-quests, .g-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.g-quests li, .g-steps li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; color: var(--g-frost); font: 15px/1.5 var(--sans); }
.g-quests li.done, .g-steps li.done { color: var(--g-dim); }
.g-quests a { color: inherit; text-decoration: none; } .g-quests li.on a { color: var(--g-or); font-weight: 600; }
.g-mark { color: var(--g-gold); text-align: center; } .done .g-mark { color: #a9c4a0; }
.g-note { display: block; color: var(--g-dim); font-size: 13px; }
@media (max-width: 760px) { .g-journal { grid-template-columns: 1fr; } .g-party { grid-template-columns: 90px 1fr; } .g-portrait { width: 90px; height: 90px; } }


.toc { display: inline-block; padding: 10px 18px 12px 14px; margin: 4px 0 12px; font-size: 14px; }
.toc-title { font: 600 11.5px var(--sans); text-transform: uppercase; letter-spacing: 1.4px; color: var(--caption); margin-bottom: 6px; }
.toc ol { list-style: none; margin: 0; padding-left: 0; } .toc ol ol { padding-left: 18px; } .tocnum { color: var(--dim); margin-right: 4px; }
.catlinks, .categories { clear: both; margin-top: 26px; padding: 8px 12px; font-size: 13.5px; }
.catlinks a, .categories a { margin-left: 4px; } .catlinks a + a::before { content: "·"; color: var(--dim); margin-right: 6px; }
.source { margin-top: 8px; color: var(--dim); font-size: 12px; } .source code { font-size: 11.5px; }



.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.main-page { max-width: 1180px; margin: 0 auto; }
.mp-hero { position: relative; margin: -22px -30px 14px; border-bottom: 1px solid var(--line); overflow: hidden; }
.mp-tagline { position: absolute; left: 0; right: 0; top: 63%; margin: 0; text-align: center; color: var(--g-frost, #efe6d2); font: italic 20px/1.3 var(--serif);
  letter-spacing: .4px; text-shadow: 0 1px 6px #000, 0 0 2px #000; }  
.mp-hero img { display: block; width: 100%; aspect-ratio: 2560 / 900; object-fit: cover; object-position: 50% 30%; }
.mp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 0 0 14px; } .mp-row.one { grid-template-columns: 1fr 1fr; }
.mp-sec h2 { margin: 0 0 8px; padding-bottom: 3px; }
.mp-welcome p { margin: 0 0 8px; font: 16.5px/1.6 var(--serif); }
.mp-world { position: relative; display: block; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.mp-world img { display: block; width: 100%; aspect-ratio: 16 / 7; object-fit: cover; transition: transform .25s; }
.mp-world:hover img { transform: scale(1.03); }
.mp-world span { position: absolute; left: 10px; bottom: 8px; padding: 2px 9px; background: rgba(18, 18, 18, .85); border: 1px solid var(--line); border-radius: 3px; color: var(--head); font: 600 14px var(--serif); font-variant: small-caps; }
.big-icons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 6px; }  
.big-icon { display: flex; flex-direction: column; align-items: center; gap: 5px; text-align: center; text-decoration: none !important; }
.big-pic { width: 96px; height: 96px; display: grid; place-items: center; }
.big-pic img { max-width: 96px; max-height: 96px; object-fit: contain; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .6)); transition: transform .15s; }
.big-icon:hover .big-pic img, .big-icon:focus-visible .big-pic img { transform: scale(1.08); }
.big-label { color: #d9b44a;   font: 600 15.5px var(--serif); font-variant: small-caps; letter-spacing: .4px; }
.big-icon:hover .big-label, .big-icon:focus-visible .big-label { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 820px) { .big-icons { grid-template-columns: repeat(2, 1fr); } .mp-row { grid-template-columns: 1fr; } .mp-hero { margin: -16px -16px 12px; } }
.mp-box { margin-top: 8px; }
.icon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 10px; }
.icon-cell { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 12px 6px 10px; color: var(--ink) !important; text-decoration: none !important;
  background: var(--panel); border: 1px solid var(--line-soft); border-radius: 3px; }
.icon-cell:hover { border-color: var(--line); background: #353535; }
.icon-cell .icon { width: 64px; height: 64px; display: grid; place-items: center; background: var(--well); border: 1px solid var(--line-soft); border-radius: 3px; }
.icon-cell .icon img { max-width: 56px; max-height: 56px; }
.icon-cell .caption, .portrait .caption, .act .caption { margin-top: 8px; font: 600 15px var(--serif); font-variant: small-caps; letter-spacing: .4px; color: var(--head); }
.glyph { font: 600 30px var(--serif); color: var(--caption); }
.portrait-row { display: flex; flex-wrap: wrap; gap: 14px; }
.portrait { display: flex; flex-direction: column; align-items: center; width: 96px; text-align: center; text-decoration: none !important; }
.portrait .frame-img { width: 84px; height: 84px; border: 1px solid var(--line); border-radius: 50%; box-shadow: inset 0 0 0 2px var(--well); display: grid; place-items: center; overflow: hidden; background: var(--panel); }
.portrait .frame-img img { width: 100%; height: 100%; object-fit: cover; }
.acts { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.act { display: flex; flex-direction: column; text-decoration: none !important; background: var(--panel); border: 1px solid var(--line-soft); border-radius: 3px; padding: 6px; }
.act img { width: 100%; border-radius: 2px; }
.rules-box .rule-list { columns: 2 280px; column-gap: 28px; padding-left: 18px; margin: 4px 0; }


.world { position: relative; width: 100%; border: 1px solid var(--line); border-radius: 3px; background: var(--well); overflow: hidden; }
.world img { display: block; width: 100%; height: 100%; }
.world-missing { position: absolute; inset: 0; display: none; place-items: center; color: var(--dim); pointer-events: none; }
.world:not(:has(img)) .world-missing, .world.no-picture .world-missing { display: grid; }
.world:not(:has(img)) { aspect-ratio: 16 / 10; }
.marker { position: absolute; transform: translate(-50%, -50%); text-decoration: none !important; }
.marker .pin { display: block; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); border: 2px solid var(--well); box-shadow: 0 0 0 1px var(--line); }
.marker .tip-label { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); white-space: nowrap; background: var(--page); color: var(--head); border: 1px solid var(--line); border-radius: 3px; padding: 2px 8px; font: 600 13px var(--serif); font-variant: small-caps; opacity: 0; pointer-events: none; transition: opacity .15s; }
.marker:hover .tip-label, .marker:focus .tip-label { opacity: 1; } .marker:hover .pin { background: var(--gold-hover); }

.place-map { --pm-enemy: #f24033; --pm-person: #e0d6bd; --pm-giver: #e0d6bd; --pm-chest: #9ec7db; --pm-exit: #cfd1d4; --pm-quest: #ffbf26; margin: 0 0 18px; }
.pm-map { box-shadow: inset 0 0 40px rgba(0, 0, 0, .55); }
.pm { position: absolute; transform: translate(-50%, -50%); text-decoration: none !important; z-index: 1; display: grid; place-items: center; width: 30px; height: 30px; }
.pm:hover, .pm:focus-visible { z-index: 3; outline: none; }
.pm-dot { display: block; width: 16px; height: 16px; border-radius: 50%; background: var(--k); box-shadow: 0 0 0 3px #0d0a05, 0 1px 5px rgba(0, 0, 0, .7);
  transition: transform .12s; box-sizing: border-box; }
.pm-enemy { --k: var(--pm-enemy); } .pm-person { --k: var(--pm-person); } .pm-giver { --k: var(--pm-giver); }
.pm-chest { --k: var(--pm-chest); } .pm-exit { --k: var(--pm-exit); }
.pm-enemy .pm-dot { width: 18px; height: 18px; }
.pm-person .pm-dot { width: 13px; height: 13px; }
.pm-giver .pm-dot { width: 15px; height: 15px; box-shadow: 0 0 0 3px #0d0a05, 0 0 0 5px var(--pm-quest), 0 0 10px 4px rgba(255, 191, 38, .5); }
.pm-chest .pm-dot { width: 11px; height: 11px; border-radius: 1px; }
.place-map { --pm-creature: #8a8a8a; --pm-door: #805c3d; --pm-readable: #cceeff; --pm-light: #ffdb73; }
.pm-creature { --k: var(--pm-creature); } .pm-door { --k: var(--pm-door); } .pm-readable { --k: var(--pm-readable); } .pm-light { --k: var(--pm-light); }
.pm-creature .pm-dot { width: 15px; height: 15px; background: #2a2a2a; box-shadow: 0 0 0 3px var(--pm-creature), 0 0 0 5px #0d0a05; }
.pm-door .pm-dot { width: 14px; height: 6px; border-radius: 1px; }
.pm-readable .pm-dot { width: 9px; height: 11px; border-radius: 1px; }
.pm-light .pm-dot { width: 9px; height: 9px; box-shadow: 0 0 0 2px #0d0a05, 0 0 10px 4px rgba(255, 219, 115, .55); }
.pm-switches { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin: 0 0 6px; }
.pm-switch { display: flex; gap: 4px; }
.pm-map[hidden] { display: none; }
.pm-exit .pm-dot { width: 14px; height: 14px; border-radius: 2px; }
.pm-quest_step .pm-dot { width: 30px; height: 30px; border-radius: 0; background: none; box-shadow: none; }
.pm-quest_step .pm-dot img { width: 100%; height: 100%; display: block; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .8)); }
.pm:hover .pm-dot, .pm:focus-visible .pm-dot { transform: scale(1.35); }
.pm-count { position: absolute; right: -9px; top: -8px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--pm-enemy);
  color: #fff; font: 700 11px/17px var(--sans); text-align: center; box-shadow: 0 0 0 1.5px #0d0a05; box-sizing: border-box; }
.pm-card { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); min-width: 150px; max-width: 260px; width: max-content;
  background: var(--page); border: 1px solid var(--line); border-radius: 3px; padding: 7px 11px; opacity: 0; pointer-events: none; transition: opacity .12s; text-align: left;
  box-shadow: inset 0 0 0 2px var(--well), inset 0 0 0 3px var(--line-soft), 0 4px 14px rgba(0, 0, 0, .6); }
.pm-card.left { left: auto; right: -6px; transform: none; } .pm-card.below { bottom: auto; top: calc(100% + 8px); }
.pm-card b { display: block; color: var(--head); font: 600 15px/1.3 var(--serif); border-bottom: 1px solid var(--line-soft); padding-bottom: 3px; margin-bottom: 3px; }
.pm-card span { display: block; color: var(--caption); font: 13px/1.4 var(--sans); }
.pm:hover .pm-card, .pm:focus-visible .pm-card { opacity: 1; }
.pm-legend { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px; margin-top: 6px; background: var(--well); border: 1px solid var(--line-soft); border-radius: 3px; }
.pm-key { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px 4px 5px; background: var(--panel); color: var(--text); border: 1px solid var(--line-soft);
  border-radius: 3px; font: 600 13px var(--sans); cursor: pointer; }
.pm-key .pm-dot { flex: none; margin: 0 3px; } .pm-key.pm-quest_step .pm-dot { width: 22px; height: 22px; }
.pm-key:hover, .pm-key:focus-visible { border-color: var(--line); outline: none; }
.pm-key[aria-pressed="false"] { opacity: .45; } .pm-key[aria-pressed="false"] .pm-dot { filter: grayscale(1); }
.pm-n { color: var(--caption); font-weight: 400; }
.place-map.hide-enemy .pm.pm-enemy { display: none; }
.place-map.hide-person .pm.pm-person { display: none; }
.place-map.hide-giver .pm.pm-giver { display: none; }
.place-map.hide-chest .pm.pm-chest { display: none; }
.place-map.hide-exit .pm.pm-exit { display: none; }
.place-map.hide-quest_step .pm.pm-quest_step { display: none; }
.place-map.hide-creature .pm.pm-creature { display: none; }
.place-map.hide-door .pm.pm-door { display: none; }
.place-map.hide-readable .pm.pm-readable { display: none; }
.place-map.hide-light .pm.pm-light { display: none; }
.place-map[data-set-on] .pm[data-set] { display: none; }
.place-map[data-set-on="all"] .pm[data-set="all"] { display: grid; }
.place-map[data-set-on="day"] .pm[data-set="day"] { display: grid; }
.place-map[data-set-on="night"] .pm[data-set="night"] { display: grid; }
.place-map[data-set-on].hide-enemy .pm.pm-enemy { display: none; }
.place-map[data-set-on].hide-creature .pm.pm-creature { display: none; }
.place-map[data-set-on].hide-person .pm.pm-person { display: none; }
.place-map[data-set-on].hide-giver .pm.pm-giver { display: none; }
.place-map[data-set-on].hide-chest .pm.pm-chest { display: none; }
.place-map[data-set-on].hide-door .pm.pm-door { display: none; }
.place-map[data-set-on].hide-readable .pm.pm-readable { display: none; }
.place-map[data-set-on].hide-light .pm.pm-light { display: none; }
.place-map[data-set-on].hide-exit .pm.pm-exit { display: none; }
.place-map[data-set-on].hide-quest_step .pm.pm-quest_step { display: none; }

.world-scroll { overflow-x: auto; }  
.mbox { position: absolute; display: block; border: 2px solid transparent; border-radius: 4px; text-decoration: none !important; }
.mbox:hover, .mbox:focus-visible { border-color: var(--gold-hover); background: rgba(239, 230, 210, .06); outline: none; }
.mbox .tip-label { position: absolute; left: 50%; bottom: calc(100% + 4px); transform: translateX(-50%); white-space: nowrap; background: var(--page);
  color: var(--head); border: 1px solid var(--line); border-radius: 3px; padding: 2px 8px; font: 600 13px var(--serif); font-variant: small-caps; opacity: 0; pointer-events: none; transition: opacity .15s; }
.mbox:hover .tip-label, .mbox:focus-visible .tip-label { opacity: 1; }

.loading, .error { padding: 40px; text-align: center; color: var(--dim); } .error { color: var(--red); }


@media (max-width: 820px) {
  .topbar { flex-wrap: wrap; gap: 8px; padding: 8px 16px; } .search { max-width: none; flex-basis: 100%; }
  .frame, .shell { grid-template-columns: 1fr; padding: 10px 12px; gap: 10px; }
  .sidebar { position: static; padding: 6px; } .sidebar ul { display: flex; flex-wrap: wrap; gap: 2px 4px; } .sidebar h3 { display: none; }
  .sidebar a { padding: 4px 8px; font-size: 15px; }
  .content { padding: 16px; }
  .infobox { float: none; width: 100%; margin: 0 0 14px; }
  .navbox th { width: auto; display: block; text-align: left; border-radius: 3px 3px 0 0; } .navbox td { display: block; border-radius: 0 0 3px 3px; }
  .world-scroll .world { min-width: 820px; }
}


a:hover { text-decoration: underline; }
.sub { font-size: 12px; }

#page-map .bar, #page-difficulty .bar, #page-whatsnew .bar { margin: 4px 0 8px; color: var(--dim); }
#page-map .bar b, #page-difficulty .bar b, #page-whatsnew .bar b { color: var(--ink); }
#page-map .bar button { background: var(--panel); color: var(--ink); border: 1px solid var(--line); border-radius: 6px; padding: 3px 10px; cursor: pointer; }
#page-map .bar select, #page-difficulty .bar select { padding: 2px 6px; }
#page-difficulty .bar label { margin-left: 14px; }
#page-map .intro { font-style: italic; max-width: 70ch; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-bottom: 8px; color: var(--dim); font-size: 12px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 5px; vertical-align: -1px; }
.legend i.mk.foe { background: #e0483c }
.legend i.mk.person { background: #e8c14a }
.legend i.mk.thing { background: #a9b0bb }
.legend i.mk.exit { background: #4aa3e8; border-radius: 2px }
.legend i.mk.start { background: #7ee07a }
.edge { stroke: #586172; stroke-width: 1.6; }
.edge.inside { stroke-dasharray: 4 3; stroke: #444b58; }
.edge.link { stroke-dasharray: 4 3; stroke: #6a7383; }
.edge.road { stroke: #8a7556; stroke-width: 2.2; }
.edge:hover { stroke: var(--accent); stroke-width: 3; }
.node text { fill: var(--ink); opacity: .8; font-size: 15px; paint-order: stroke; stroke: var(--panel); stroke-width: 4px; text-anchor: middle; pointer-events: none; }
.node circle { stroke: #0b0c0f; stroke-width: 1.5; }
.node.full circle { stroke: var(--accent); stroke-width: 2.5; }
.node.full { cursor: pointer; }
.node:hover circle { stroke: #fff; }
canvas.board { display: block; max-width: 100%; border: 1px solid var(--line); border-radius: 8px; cursor: crosshair; }
.tip { position: fixed; z-index: 9; max-width: 420px; background: #0f1115; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; pointer-events: none; box-shadow: 0 6px 22px rgba(0,0,0,.5); }
.tip h3 { margin: 0 0 2px; font-size: 15px; }
.tip h4 { margin: 8px 0 2px; font-size: 12px; color: var(--accent); text-transform: uppercase; letter-spacing: .04em; }
.tip ul { margin: 0; padding-left: 16px; }
.tip .sub, .tip .people { color: var(--dim); font-size: 12px; }
.tip .cr { color: #f08a7e; font-size: 11px; }
.tip .hint { margin-top: 6px; color: var(--accent); font-size: 11px; }
#page-map .src { display: block; margin-top: 6px; }
#page-map .bar .src { display: inline; }
table.diff { border-collapse: collapse; width: 100%; }
.diff th { text-align: left; color: var(--dim); font-weight: 600; border-bottom: 1px solid var(--line); padding: 4px 6px; position: sticky; top: 46px; background: var(--bg); }
.diff td { padding: 3px 6px; vertical-align: top; border-bottom: 1px solid #1a1d23; }
.diff tr.map td { border-top: 2px solid var(--line); font-weight: 600; }
.diff tr.enc td { font-size: 13px; }
.diff .num { text-align: right; font-variant-numeric: tabular-nums; }
.diff .sub { font-weight: 400; }
.diff .cr { color: #f08a7e; font-size: 11px; }
.diff td.b0 { color: #6f7785; }
.diff td.b1 { color: #8fc78a; }
.diff td.b2 { color: #e8c14a; }
.diff td.b3 { color: #f0964a; }
.diff td.b4 { color: #fff; background: #7a2420; }
#page-whatsnew { max-width: 1100px; }
#page-whatsnew h3 { margin: 18px 0 4px; font-size: 15px; border-bottom: 1px solid var(--line); padding-bottom: 3px; }
#page-whatsnew h3 .sub { font-weight: 400; }
ul.changes { list-style: none; margin: 0; padding: 0; }
ul.changes > li { padding: 4px 0; border-bottom: 1px solid #1a1d23; }
ul.changes ul { margin: 2px 0 0; padding-left: 20px; color: var(--dim); font-size: 13px; }
.added, li.added > b { color: #8fc78a; }
.removed, li.removed > b { color: #f08a7e; }
.changed, li.changed > b { color: #e8c14a; }
.was { color: #f08a7e; text-decoration: line-through; }
.now { color: #8fc78a; }
#page-whatsnew code { color: var(--ink); }

#page-characters .bar, #page-dialogues .bar { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; align-items: start; }

.card { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.check { font: 12px var(--mono); color: var(--blue); background: #18222e; border-radius: 4px; padding: 0 5px; }
.card.full { max-width: 760px; }
.card header { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.card h3 { margin: 0; font-size: 17px; color: var(--gold); }
.role { color: var(--dim); font-size: 13px; text-align: right; }
.card .desc, .desc { color: var(--dim); font-size: 13px; margin: 6px 0; }
.card dl { display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; margin: 8px 0; font-size: 14px; }
.card dt { color: var(--dim); }
.card dd { margin: 0; overflow-wrap: break-word; }
.card ul { margin: 0; padding-left: 16px; }

.card .src { margin-top: 4px; padding-top: 6px; font-size: 12px; color: var(--dim); overflow-wrap: anywhere; }

.split { display: grid; grid-template-columns: 260px 1fr; gap: 16px; }
nav.list { display: flex; flex-direction: column; gap: 2px; max-height: calc(100vh - 110px); overflow: auto; position: sticky; top: 60px; }
nav.list input { margin-bottom: 6px; width: 100%; }
nav.list a { padding: 4px 8px; border-radius: 5px; color: var(--ink); }
nav.list a.on { background: var(--line); }
.view h2 { margin-top: 0; }
.draft { font-size: 12px; color: var(--bg); background: var(--gold); border-radius: 4px; padding: 1px 6px; vertical-align: middle; }
ul.tree, ul.tree ul { list-style: none; padding-left: 18px; margin: 2px 0; border-left: 1px solid var(--line); }
ul.tree { padding-left: 0; border-left: 0; }
.line { padding: 3px 0; }
.line code { color: var(--dim); font-size: 12px; }
.say { cursor: help; }
.opt > .say { color: var(--blue); }
.cond { font: 12px var(--mono); color: var(--gold); background: #2a2618; border-radius: 4px; padding: 0 5px; }
.set { font: 12px var(--mono); color: var(--green); }
.eff { font: 12px var(--mono); color: var(--dim); }
.end { color: var(--dim); font-style: italic; }
.back { color: var(--dim); }
.broken { color: var(--red); }
h3.dead { color: var(--red); }
ul.dead { opacity: .75; }

#page-audit h1, #page-quests h1 { font-size: 18px; margin: 0 0 8px; color: var(--accent); }
#page-quests h2 { font-size: 15px; margin: 18px 0 6px; color: var(--accent); }
.audit-head { color: var(--dim); margin: 0 0 8px; }
.audit-summary { columns: 2; margin: 0 0 12px; padding-left: 18px; }
#page-audit select { padding: 4px 6px; margin-bottom: 8px; max-width: 100%; }
table.audit { border-collapse: collapse; width: 100%; }
table.audit th, table.audit td { border-bottom: 1px solid var(--line); padding: 4px 6px; text-align: left; vertical-align: top; }
table.audit th { color: var(--dim); font-weight: 600; position: sticky; top: 46px; background: var(--bg); }
table.audit td.rule { white-space: nowrap; color: var(--dim); width: 1%; }
table.audit a.go { font-size: 12px; margin-left: 4px; }
details.quest { border-bottom: 1px solid var(--line); padding: 6px 0; }
details.quest summary { cursor: pointer; }
details.quest ol { margin: 6px 0 6px 18px; padding: 0; }
details.quest li { margin: 4px 0; }
@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; } nav.list { position: static; max-height: 240px; }
  .audit-summary { columns: 1; } svg.world { height: 60vh; } .diff th, table.audit th { position: static; }
  header.site, nav.tabs, main { padding-left: 16px; padding-right: 16px; }
}
#page-places .bar, #page-items .bar, #page-bestiary .bar { margin: 4px 0 10px; color: var(--dim); }
#page-places .bar b, #page-items .bar b, #page-bestiary .bar b { color: var(--ink); }
.zones { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px 24px; }
.zone h3 { margin: 10px 0 4px; font-size: 15px; color: var(--accent); }
ul.maps { margin: 0; padding-left: 18px; }
ul.maps li { margin: 2px 0; }
#page-places h3, #page-bestiary h3 { font-size: 15px; margin: 16px 0 4px; }
#page-places ul { margin: 0; padding-left: 18px; }
#page-places li { margin: 4px 0; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 10px; }
.filters label { color: var(--dim); }
table.items, table.bestiary { border-collapse: collapse; width: 100%; }
table.items th, table.bestiary th { text-align: left; color: var(--dim); font-weight: 600; border-bottom: 1px solid var(--line); padding: 4px 6px; position: sticky; top: 46px; background: var(--bg); }
table.items td, table.bestiary td { padding: 4px 6px; border-bottom: 1px solid #1a1d23; vertical-align: top; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.badge { display: inline-block; font: 12px var(--mono); border-radius: 4px; padding: 0 6px; border: 1px solid var(--line); color: var(--ink); }
.badge.cA { color: var(--green); border-color: var(--green); }
.badge.cB { color: var(--accent); border-color: var(--accent); }
.badge.cD { color: var(--red); border-color: var(--red); }
.item-top { display: flex; gap: 14px; align-items: flex-start; }
.item-img { width: 128px; height: 128px; object-fit: contain; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; flex: none; }
.cr { color: #f08a7e; font-size: 11px; }
@media (max-width: 760px) { .item-top { flex-direction: column; } table.items th, table.bestiary th { position: static; } }
.source { margin-top: 8px; font: 11px/1.4 var(--mono); color: #6f7785; }
ul.cols { columns: 3; column-gap: 24px; }
ul.cols li { break-inside: avoid; }



.mp-tagline { margin: 10px 0 0; text-align: center; font-family: "Noto Serif", Georgia, serif; font-style: italic; font-size: 18px; color: var(--ink); }
.foot-counts { color: var(--dim); font-size: 11px; }


.ib-worn, .g-worn { display: flex; gap: 6px; flex-wrap: wrap; }
.ib-worn img { width: calc(50% - 3px); background: var(--panel2, #2a2a2a); border-radius: 4px; }
.g-worn img { width: 96px; height: 96px; object-fit: contain; }


.glance-face { width: 40px; height: 40px; object-fit: cover; border-radius: 50%; }




:root { --scene: url("img/places/robertsfort_view.webp?v=219b4b25"); --accent2: #d9b44a; --accent2-soft: rgba(217, 180, 74, .35); }
html { background: #0e0e0e; } body { background: transparent; }  
body::before { content: ""; position: fixed; inset: -24px; z-index: -1; background: linear-gradient(rgba(10, 10, 12, .42), rgba(10, 10, 12, .66)), var(--scene) center / cover no-repeat;
  filter: blur(5px) saturate(.9); }
.content { background: rgba(24, 24, 24, .9); border: 1px solid rgba(118, 118, 118, .6); box-shadow: 0 10px 40px rgba(0, 0, 0, .55), inset 0 0 0 2px rgba(0, 0, 0, .5);
  backdrop-filter: blur(2px); }
.sidebar { background: rgba(24, 24, 24, .86); border-radius: 3px; }
.topbar { background: rgba(14, 14, 14, .88); backdrop-filter: blur(4px); }

a { color: #e3c773; text-decoration-color: rgba(227, 199, 115, .35); }
a:hover { color: #f2dc9a; text-decoration-color: #f2dc9a; }
h2 { border-bottom: 1px solid var(--accent2-soft); }
.page-title { border-bottom: 1px solid var(--accent2-soft); }
.infobox { border: 1px solid var(--accent2); border-radius: 3px; background: rgba(20, 20, 20, .92); box-shadow: 0 6px 20px rgba(0, 0, 0, .5); padding: 0; }
.ib-title { background: var(--accent2); color: #1a1408; border-bottom: 0; font-size: 18px; padding: 9px 12px; }
.infobox tr.ib-group th { background: rgba(217, 180, 74, .85); color: #1a1408; border-radius: 2px; padding: 4px 9px; }

.infobox { width: 360px; }
.ib-image { padding: 14px; background: radial-gradient(closest-side, rgba(217, 180, 74, .26), rgba(217, 180, 74, .06) 70%, transparent), #141414; border-bottom: 1px solid var(--accent2-soft); }
.ib-image img { width: 100%; max-width: 330px; max-height: 360px; object-fit: contain; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .65)); }

.sidebar::before { content: ""; display: block; height: 70px; margin: 2px 4px 10px; background: url("img/brand/logo.png") center / contain no-repeat;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .8)); }
.topbar { padding-top: 4px; padding-bottom: 4px; }
.brand::before { display: none; }
.brand { font-size: 0 !important; }

.wquote { position: relative; margin: 6px 0 16px; padding: 14px 22px 12px 54px; background: rgba(217, 180, 74, .07); border: 1px solid var(--accent2-soft);
  border-left: 3px solid var(--accent2); border-radius: 3px; }
.wquote::before { content: "\201C"; position: absolute; left: 12px; top: -6px; font: 72px/1 var(--serif); color: var(--accent2); opacity: .8; }
.wquote blockquote { margin: 0; padding: 0; border: 0; font: italic 16.5px/1.6 var(--serif); color: var(--head); }
.wquote figcaption { margin-top: 6px; color: var(--caption); font-size: 13px; text-align: right; }
.wquote figcaption::before { content: "\2014  "; }
.wgallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.wgallery figure { margin: 0; background: #141414; border: 1px solid var(--line-soft); border-radius: 3px; overflow: hidden; }
.wgallery img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; transition: transform .25s; }  
.wgallery figure:hover img { transform: scale(1.04); }
.wgallery figcaption { padding: 6px 10px; color: var(--caption); font-size: 13px; border-top: 1px solid var(--line-soft); }
@media (max-width: 820px) { .infobox { width: 100%; } body::before { filter: blur(3px); } }



html.has-topnav .sidebar { display: none; }
html.has-topnav .frame { grid-template-columns: minmax(0, 1fr); max-width: 1240px; padding: 22px 24px 40px; }
.topbar { gap: 18px; padding: 0 24px; min-height: 64px; }
html.has-topnav .brand::before { display: block; width: 168px; height: 46px; }
html.has-topnav .brand span, html.has-topnav .brand .brand-sub { display: none; }
.topnav { flex: 1; display: flex; align-items: center; min-width: 0; }
.nav-main { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-main > li > a, .nav-more > button { display: block; padding: 20px 13px; color: var(--head); font: 600 15.5px var(--serif); font-variant: small-caps; letter-spacing: .6px;
  text-decoration: none; background: none; border: 0; border-bottom: 2px solid transparent; cursor: pointer; }
.nav-main > li > a:hover, .nav-main > li > a:focus-visible, .nav-more > button:hover, .nav-more.open > button { color: #f2dc9a; border-bottom-color: var(--accent2); outline: none; }
.nav-main a.on { color: var(--accent2); border-bottom-color: var(--accent2); }
.nav-more { position: relative; }
.nav-more > button::after { content: " \25BE"; font-size: 12px; }
.nav-drop { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; list-style: none; margin: 0; padding: 6px; background: rgba(20, 20, 20, .97);
  border: 1px solid var(--accent2-soft); border-radius: 8px; box-shadow: 0 12px 30px rgba(0, 0, 0, .6); z-index: 20; }
.nav-more:hover .nav-drop, .nav-more.open .nav-drop, .nav-more:focus-within .nav-drop { display: block; }
.nav-drop a { display: block; padding: 8px 12px; border-radius: 5px; color: var(--head); text-decoration: none; font-size: 15px; }
.nav-drop a:hover, .nav-drop a:focus-visible { background: rgba(217, 180, 74, .14); color: #f2dc9a; outline: none; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; margin: 5px 0; background: var(--head); }
.topbar .search { margin-left: auto; max-width: 300px; }


body { font-size: 17px; line-height: 1.65; }
.page-body > p, .page-body section > p, .lead p, .page-body li, .page-body section > ul { max-width: 72ch; }
.content { border-radius: 10px; padding: 28px 36px 48px; }
h2 { font-size: 22px; margin-top: 32px; }
.page-title { font-size: 34px; }


.hero { position: relative; margin: -28px -36px 22px; min-height: 260px; display: flex; align-items: flex-end; gap: 22px; padding: 22px 36px;
  border-radius: 10px 10px 0 0; overflow: hidden; background: linear-gradient(180deg, rgba(14, 14, 14, .05) 30%, rgba(14, 14, 14, .92)), var(--hero) center 40% / cover no-repeat; }
.hero .page-title { margin: 0; border: 0; padding: 0; font-size: 42px; text-shadow: 0 2px 10px #000; }
.hero .page-sub { color: var(--head); text-shadow: 0 1px 6px #000; }
.hero-portrait { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; background: #121212; flex: none;
  box-shadow: 0 0 0 3px var(--accent2), 0 0 0 6px #0d0a05, 0 10px 24px rgba(0, 0, 0, .7); }


.tile, .ccard, .g-party, .navbox, .sx-card, .wgallery figure { border-radius: 10px; }
.tiles { gap: 14px; } .ccards { gap: 18px; }
.tile, .ccard, .wgallery figure { transition: transform .15s, box-shadow .15s, border-color .15s; }
.tile:hover, .tile:focus-visible, .ccard:hover, .wgallery figure:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0, 0, 0, .55), 0 0 0 1px var(--accent2-soft); }
.big-icon .big-pic img { transition: transform .15s, filter .15s; }
.big-icon:hover .big-pic img { filter: drop-shadow(0 6px 14px rgba(217, 180, 74, .35)); }


@media (min-width: 1300px) { .page-body .toc { float: right; clear: right; width: 360px; margin: 0 0 16px 22px; box-sizing: border-box; } }


@media (max-width: 980px) {
  .nav-toggle { display: block; order: 2; }
  .nav-main { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 8px 16px 14px;
    background: rgba(16, 16, 16, .98); border-bottom: 1px solid var(--accent2-soft); }
  .topnav.open .nav-main { display: flex; }
  .nav-main > li > a, .nav-more > button { padding: 10px 6px; }
  .nav-drop { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 12px; background: none; }
  .topbar { flex-wrap: wrap; position: sticky; }
  .topbar .search { order: 3; flex-basis: 100%; max-width: none; padding-bottom: 8px; }
  .content { padding: 18px 16px 32px; border-radius: 6px; } .hero { margin: -18px -16px 16px; padding: 16px; min-height: 180px; }
  .hero .page-title { font-size: 30px; } .hero-portrait { width: 96px; height: 96px; }
  body { font-size: 16px; }
}
@media (max-width: 980px) {  
  html.has-topnav .frame { padding: 12px 10px 28px; }
  .infobox { box-sizing: border-box; width: 100% !important; float: none; margin: 0 0 14px !important; }
  .ib-image img { max-width: 100%; }
  .content { min-width: 0; overflow-wrap: anywhere; }
}


ul.cols { columns: 2 220px; column-gap: 28px; }


.mech-intro { margin: 0 0 8px; color: var(--caption); font-size: 15px; }
.mech-body { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; }
.mech-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 18px; }
.mech-list li { break-inside: avoid; margin: 0 0 4px; }
.mech-list a { display: flex; align-items: center; gap: 9px; padding: 3px 4px; border-radius: 5px; color: #e3c773; text-decoration: none; font: 15.5px var(--serif); }
.mech-list a:hover, .mech-list a:focus-visible { background: rgba(217, 180, 74, .1); outline: none; }
.mech-list img { width: 26px; height: 26px; object-fit: contain; flex: none; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .6)); }
.mech-dot { width: 8px; height: 8px; margin: 0 9px; border-radius: 50%; background: var(--accent2); flex: none; box-shadow: 0 0 6px rgba(217, 180, 74, .6); }
.mech-big img { width: 128px; height: 128px; object-fit: contain; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .6)); }
@media (max-width: 980px) { .mech-body { grid-template-columns: 1fr; } .mech-big { display: none; } }


.as-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.as-tab { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 20px; background: rgba(255, 255, 255, .04); color: var(--head);
  border: 1px solid var(--line-soft); font: 600 15px var(--serif); font-variant: small-caps; letter-spacing: .5px; cursor: pointer; }
.as-tab span { color: var(--caption); font: 13px var(--sans); }
.as-tab.on, .as-tab:hover, .as-tab:focus-visible { border-color: var(--accent2); color: #f2dc9a; background: rgba(217, 180, 74, .1); outline: none; }
.as-cat[hidden] { display: none; }
.as-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.as-card { display: flex; flex-direction: column; gap: 4px; padding: 10px; border-radius: 10px; background: rgba(20, 20, 20, .85); border: 1px solid var(--line-soft);
  text-decoration: none !important; transition: transform .15s, box-shadow .15s, border-color .15s; }
.as-card:hover, .as-card:focus-visible { transform: translateY(-3px); border-color: var(--accent2-soft); box-shadow: 0 10px 24px rgba(0, 0, 0, .55); outline: none; }
.as-pic { aspect-ratio: 1; display: grid; place-items: center; border-radius: 7px; background: radial-gradient(closest-side, rgba(217, 180, 74, .14), transparent), #141414; }
.as-pic img { width: 88%; height: 88%; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .6)); }
.as-name { color: var(--head); font: 600 15.5px/1.25 var(--serif); }
.as-meta { color: var(--caption); font-size: 12.5px; }
.as-strip { display: flex; flex-wrap: wrap; gap: 10px; }
.as-strip figure { margin: 0; width: 128px; text-align: center; }
.as-strip img { width: 128px; height: 128px; object-fit: contain; border-radius: 8px; background: #141414; border: 1px solid var(--line-soft); }
.as-strip figcaption { color: var(--caption); font-size: 13px; margin-top: 3px; }
.footprint { margin: 0; display: inline-block; }
.footprint .fp-cell { fill: #161616; stroke: #2e2e2e; stroke-width: 1; }
.footprint .fp-on { fill: rgba(217, 180, 74, .55); stroke: var(--accent2); stroke-width: 1.5; }
.footprint .fp-arrow { fill: #1a1408; }
.footprint figcaption { color: var(--caption); font-size: 13px; margin-top: 4px; }
.as-rules { display: flex; flex-wrap: wrap; gap: 6px; }
.as-rules .wb { font-size: 12px; padding: 2px 9px; }


.ct-wrap { overflow-x: auto; margin: 4px 0 18px; }
.class-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.class-table th { color: var(--g-gold, #b5aea2); font: 600 11.5px var(--sans); text-transform: uppercase; letter-spacing: .7px; text-align: left; padding: 7px 10px;
  border-bottom: 1px solid var(--accent2-soft); white-space: nowrap; }
.class-table td { padding: 7px 10px; border-top: 1px solid rgba(255, 255, 255, .05); vertical-align: top; }
.class-table tr:nth-child(even) td { background: rgba(255, 255, 255, .025); }
.class-table td.ct-lv { color: var(--head); font: 600 17px var(--serif); width: 52px; text-align: center; }
.class-table .ct-slot { text-align: center; width: 44px; }
.class-table td.ct-feat a { color: #e3c773; }
.class-table tr.ct-later td { opacity: .55; }
.ct-note { margin: 8px 2px 0; color: var(--caption); font-size: 13px; font-style: italic; }
.feat-level h3 { margin: 18px 0 6px; color: var(--accent2); font: 600 18px var(--serif); font-variant: small-caps; letter-spacing: .6px; }
.feat { margin: 0 0 10px; padding: 8px 12px; border-left: 2px solid var(--accent2-soft); background: rgba(255, 255, 255, .025); border-radius: 0 6px 6px 0; max-width: 78ch; }
.feat b { color: var(--head); font: 600 16px var(--serif); }
.feat-level.ct-later { opacity: .6; }


.kit { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; margin: 4px 0 16px; }
.kit-opt { flex: 1 1 220px; max-width: 340px; padding: 10px 14px; border-radius: 10px; background: rgba(20, 20, 20, .85); border: 1px solid var(--line-soft); }
.kit-head { color: var(--accent2); font: 600 15px var(--serif); font-variant: small-caps; letter-spacing: .5px; margin-bottom: 4px; }
.kit-opt ul { margin: 0; padding-left: 18px; } .kit-opt li { margin: 2px 0; }
.kit-n { color: var(--caption); }
.kit-gp { margin-top: 6px; color: #e3c773; font: 600 15px var(--serif); }
.kit-or { align-self: center; color: var(--caption); font: italic 15px var(--serif); }


.nav-main > li > a, .nav-more > button { white-space: nowrap; }
@media (min-width: 981px) and (max-width: 1500px) { .nav-main > li > a, .nav-more > button { padding-left: 9px; padding-right: 9px; font-size: 14.5px; } .topbar .search { max-width: 220px; } }


.ag-fams { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.ag-fam { display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 12px; background: rgba(20, 20, 20, .85); border: 1px solid var(--line-soft);
  text-decoration: none !important; transition: transform .15s, box-shadow .15s, border-color .15s; }
.ag-fam:hover, .ag-fam:focus-visible { transform: translateY(-3px); border-color: var(--accent2-soft); box-shadow: 0 10px 24px rgba(0, 0, 0, .55); outline: none; }
.ag-pic { height: 150px; display: grid; place-items: center; border-radius: 8px; background: radial-gradient(closest-side, rgba(217, 180, 74, .16), transparent), #141414; }
.ag-pic img { max-width: 80%; max-height: 136px; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .6)); }
.ag-name { display: flex; justify-content: space-between; align-items: baseline; color: var(--head); font: 600 19px var(--serif); font-variant: small-caps; letter-spacing: .5px; }
.ag-n { color: var(--accent2); font: 600 15px var(--sans); }
.ag-what { color: var(--caption); font-size: 14px; line-height: 1.45; }
.ag-how { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; }
.ag-ex { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 10px; background: rgba(20, 20, 20, .85); border: 1px solid var(--line-soft); }
.ag-ex > img { width: 140px; height: 140px; object-fit: contain; }
.ag-legend { display: grid; grid-template-columns: max-content 1fr; gap: 8px 14px; margin: 0; max-width: 62ch; }
.ag-legend dt { display: flex; align-items: center; gap: 8px; color: var(--head); font: 600 15px var(--serif); }
.ag-legend dd { margin: 0; color: var(--text); font-size: 15px; }
.ag-cell { display: inline-block; width: 16px; height: 16px; border-radius: 3px; background: #161616; border: 1px solid #2e2e2e; }
.ag-cell.on { background: rgba(217, 180, 74, .55); border-color: var(--accent2); }
.ag-arrow, .ag-h { color: var(--accent2); font: 600 13px var(--sans); width: 16px; text-align: center; }
.ag-rules { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 8px 18px; }
.ag-rule { display: flex; gap: 10px; align-items: baseline; font-size: 14.5px; }
.ag-rule .wb { flex: none; min-width: 120px; text-align: center; }
@media (max-width: 760px) { .ag-how { grid-template-columns: 1fr; } }

.lv-strip { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 4px 0 16px; padding: 0; }
.lv-strip a { display: flex; flex-direction: column; min-width: 110px; max-width: 200px; padding: 7px 12px; border-radius: 10px; background: rgba(20, 20, 20, .85);
  border: 1px solid var(--line-soft); text-decoration: none !important; }
.lv-strip a:hover, .lv-strip a:focus-visible { border-color: var(--accent2); outline: none; }
.lv-strip b { color: var(--accent2); font: 600 20px var(--serif); }
.lv-strip b::before { content: "Level "; font-size: 13px; color: var(--caption); font-weight: 400; }
.lv-strip span { color: var(--text); font-size: 13.5px; line-height: 1.35; }
.lv-strip li.chosen a { border-color: var(--accent2-soft); box-shadow: inset 0 0 0 1px var(--accent2-soft); }
.lv-strip li.later a { opacity: .55; }
.ag-ex .footprint svg { width: 150px; height: auto; }


.pm-from { color: var(--dim); font-size: 12px; margin: 4px 0 12px; }


.feat-choice ul { margin: 6px 0 0; padding-left: 18px; }
.feat-choice li { margin: 0 0 6px; }
.feat-choice li b { color: var(--head); font: 600 15.5px var(--serif); }
.feat-choice li.default b { color: var(--accent2); }
.ch-def { margin-left: 6px; padding: 0 7px; border: 1px solid var(--accent2-soft); border-radius: 3px; color: var(--accent2); font: normal 600 10.5px/1.7 var(--sans); text-transform: uppercase; letter-spacing: .5px; }


.held-note { display: inline-block; padding: 2px 8px; border: 1px solid var(--accent2, #c9a24a); border-radius: 4px; color: var(--accent2, #c9a24a); font-size: 13px; }
.as-guide-link { margin: -4px 0 10px; font: 600 15px var(--serif); }


.wb-held { color: #8cc9bf; }
.held-line { padding: 8px 12px; border-left: 3px solid #8cc9bf; background: rgba(140, 201, 191, .07); border-radius: 0 6px 6px 0; }
.held-line .wb { margin-right: 8px; }

.hero.no-picture { min-height: 0; background: none; padding: 0; margin: 0 0 14px; }
.hero.no-picture .page-title { font-size: 34px; text-shadow: none; border-bottom: 1px solid var(--accent2-soft); }


.as-card { height: 252px; box-sizing: border-box; overflow: hidden; }
.as-card .as-pic { flex: none; }
.as-card .as-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
.as-card .as-meta { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.as-card.no-pic { justify-content: flex-end; }


.tile-pic, .ccard-pic { position: relative; }
.shared-look { position: absolute; left: 0; right: 0; bottom: 0; padding: 1px 4px; background: rgba(14, 14, 14, .82); color: var(--caption);
  font: 600 9.5px/1.5 var(--sans); text-transform: uppercase; letter-spacing: .4px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ccard-pic .shared-look { font-size: 11px; padding: 3px 6px; }
.shared-look-cap { margin-top: 6px; color: var(--caption); font-size: 12.5px; line-height: 1.4; }
.shared-look-cap b { color: var(--text); font-weight: 600; }
.tile-shared { color: var(--caption); font: italic 12.5px/1.3 var(--sans); }


.wquote, .held-line, .feat, .item-head, .srd-quote, .house-box, .kit, .g-journal, .statblock, .lv-strip { display: flow-root; }
.kit { display: flex; }  


.place-map { --pm-way: #cfd1d4; }
.pm-way { --k: var(--pm-way); }
.pm-way .pm-dot { position: relative; width: 16px; height: 16px; border-radius: 2px; }
.pm-way .pm-dot::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.pm-way[data-dir="up"] .pm-dot::after { border: 5px solid transparent; border-bottom: 6px solid #0d0a05; border-top-width: 0; margin-top: -1px; }
.pm-way[data-dir="down"] .pm-dot::after { border: 5px solid transparent; border-top: 6px solid #0d0a05; border-bottom-width: 0; margin-top: 1px; }
.pm-way[data-dir="inside"] .pm-dot::after { width: 6px; height: 6px; background: #0d0a05; border-radius: 1px; }
.pm-key.pm-way .pm-dot::after { border: 4px solid transparent; border-bottom: 5px solid #0d0a05; border-top-width: 0; }
.place-map.hide-way .pm.pm-way { display: none; }
.place-map[data-set-on].hide-way .pm.pm-way { display: none; }


code.ref { font: 12.5px var(--mono); color: var(--caption); background: rgba(255, 255, 255, .04); padding: 0 3px; border-radius: 3px; }


.page-title .title-dis { display: block; font-size: .5em; letter-spacing: .5px; color: var(--caption); font-variant: normal; text-transform: none; margin-top: 2px; }
.ib-title .title-dis { display: block; font-size: .72em; font-variant: normal; }


.how-steps { font-size: 16.5px; }
.how-verdict { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: baseline; }


.g-slot { position: relative; }
.g-status { position: absolute; top: 2px; left: 3px; min-width: 15px; height: 15px; padding: 0 2px; border-radius: 8px; display: grid; place-items: center;
  font: 700 11px/1 var(--sans); background: rgba(10, 10, 10, .85); border: 1px solid currentColor; z-index: 2; pointer-events: none; }
.g-stats .g-status { position: static; display: inline-grid; margin-right: 5px; vertical-align: -2px; }
.g-stats { align-items: center; margin-top: -4px; }
.g-stats-k { color: var(--caption); font-size: 12px; text-transform: uppercase; letter-spacing: .6px; margin-right: 6px; }
.st-works { color: #8fd18f; } .st-partly { color: #e6bf8a; } .st-fail { color: #e0907f; } .st-read { color: #8cc9bf; } .st-left { color: #9a9a9a; }


tr.row-link { cursor: pointer; }
tr.row-link:hover td, tr.row-link:focus-visible td { background: rgba(217, 180, 74, .07); }
tr.row-link:focus-visible { outline: 1px solid var(--accent2-soft); }


.footer p { max-width: 90ch; margin: 0 auto; line-height: 1.5; }
.footer a[rel="license"] { color: var(--caption); }


.ccards.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.ccards.grid .ccard { display: flex; flex-direction: column; margin: 0; height: 100%; transition: transform .15s, box-shadow .15s, border-color .15s; }
.ccards.grid .ccard:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0, 0, 0, .55); border-color: var(--accent2-soft); }
.ccards.grid .ccard-pic { width: 100%; height: 220px; display: grid; place-items: center; background: radial-gradient(closest-side, rgba(217, 180, 74, .16), transparent), #141414; }
.ccards.grid .ccard-pic img { max-height: 210px; max-width: 90%; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .6)); }
.ccards.grid .ccard-body { padding: 12px 14px 14px; }
.ccards.grid .ccard-name { margin: 0 0 4px; font-size: 22px; }
@media (max-width: 560px) { .ccards.grid { grid-template-columns: 1fr; } .ccards.grid .ccard-pic { height: 240px; } }


@media (max-width: 560px) { .frame, .content, .page, .page-body, .section-page { min-width: 0; max-width: 100%; } .content { overflow-x: hidden; } .lead { max-width: 100%; } }


.mp-hero.photo { position: relative; overflow: hidden; border-radius: 10px; }
.mp-hero.photo > img { display: block; width: 100%; aspect-ratio: 16 / 7; object-fit: cover; object-position: center 60%; }
.mp-hero.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 35%, rgba(0, 0, 0, .78)); pointer-events: none; }
.mp-hero-words { position: absolute; left: 0; right: 0; bottom: 6%; z-index: 1; text-align: center; padding: 0 16px; }
.mp-title { margin: 0; color: #f3e9d2; font: 700 clamp(40px, 7vw, 88px)/1 var(--serif); letter-spacing: 1px; text-shadow: 0 4px 22px rgba(0, 0, 0, .8); }
.mp-hero.photo .mp-tagline { position: static; margin: 10px 0 0; text-shadow: 0 2px 10px rgba(0, 0, 0, .9); }
.mp-shot-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 12px; }
.mp-shot { margin: 0; border-radius: 8px; overflow: hidden; background: #111; border: 1px solid var(--line-soft); }
.mp-shot img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .2s; }
.mp-shot a:hover img, .mp-shot a:focus-visible img { transform: scale(1.03); }
.mp-shot figcaption { padding: 6px 10px; color: var(--caption); font-size: 14px; }


.front-page .mp-hero.photo { margin-bottom: 18px; }
.mk-pitch { max-width: 70ch; margin: 0 auto 26px; text-align: center; }
.mk-pitch p { font: 19px/1.6 var(--serif); color: var(--text); margin: 0 0 16px; }
.mk-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.mk-cta { padding: 11px 22px; border-radius: 8px; border: 1px solid var(--accent2-soft); color: var(--head); text-decoration: none !important; font: 600 16px var(--serif);
  letter-spacing: .4px; background: rgba(20, 20, 20, .85); transition: transform .15s, box-shadow .15s; }
.mk-cta.main { background: linear-gradient(180deg, #e2c062, #b8922c); color: #1b1408; border-color: #e2c062; }
.mk-cta:hover, .mk-cta:focus-visible { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, .5); outline: none; }
.mk-friends { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 22px; align-items: center; margin: 0 0 28px; padding: 16px; border-radius: 12px;
  background: rgba(20, 20, 20, .85); border: 1px solid var(--line-soft); }
.mk-friends img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; display: block; }
.mk-friends h2 { margin: 0 0 8px; font: 700 28px var(--serif); font-variant: small-caps; color: var(--head); border: 0; }
.mk-friends p { margin: 0; font-size: 17px; line-height: 1.6; }
.mk-feats { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 14px; margin: 0 0 28px; }
.mk-feat { display: flex; flex-direction: column; border-radius: 10px; overflow: hidden; background: rgba(20, 20, 20, .85); border: 1px solid var(--line-soft);
  text-decoration: none !important; transition: transform .15s, box-shadow .15s, border-color .15s; }
.mk-feat:hover, .mk-feat:focus-visible { transform: translateY(-3px); border-color: var(--accent2-soft); box-shadow: 0 10px 24px rgba(0, 0, 0, .55); outline: none; }
.mk-feat-pic { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #111; }
.mk-feat-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mk-feat-title { padding: 12px 14px 4px; color: var(--head); font: 700 19px var(--serif); }
.mk-feat-text { padding: 0 14px 14px; color: var(--caption); font-size: 15px; line-height: 1.5; }
@media (max-width: 760px) { .mk-friends { grid-template-columns: 1fr; } .mk-pitch p { font-size: 17px; } }


@media (min-width: 981px) { .topbar.player .search { flex: 0 1 190px; max-width: 190px; } .topbar.player .search input { min-width: 0; width: 100%; } }
@media (min-width: 981px) and (max-width: 1360px) { .topbar.player .nav-main > li > a { padding-left: 7px; padding-right: 7px; font-size: 14px; } }


.ct-scroll { overflow-x: auto; max-width: 100%; -webkit-overflow-scrolling: touch; }
.ct-wrap { max-width: 100%; box-sizing: border-box; }


.wtable td, .wtable th, .class-table td, .class-table th { overflow-wrap: normal; word-break: normal; hyphens: manual; }
@media (max-width: 600px) { .wtable .minor { display: none; } }


@media (max-width: 600px) {
  .mp-hero:not(.photo) .mp-tagline { position: static; padding: 10px 14px 12px; background: #0b0f1c; font-size: 17px; }
  .mp-hero.photo > img { aspect-ratio: 4 / 3; }
  .mp-hero.photo .mp-hero-words { bottom: 4%; }
}

.page-body .answer, .answer { font-size: 1.12em; font-weight: 600; margin: 0 0 .6em; }
.not-in { color: #e0b46a; font-weight: 600; }
.srd-credit { font-size: .85em; opacity: .8; margin-top: 1.4em; border-top: 1px solid rgba(255,255,255,.12); padding-top: .6em; }

.srd-table { margin: .6em 0 1em; }


.brand{font-size:22px!important}.brand::before{content:none!important;display:none!important}.sidebar::before{content:none!important;display:none!important;background:none!important}
