/* Entity reference sheets. Load after legacy and catalogue styles. */
body.wiki-shell .wiki-content .wiki-detail.reference-detail .pattern-plan{display:grid;gap:14px;min-width:0}
body.wiki-shell .wiki-content .wiki-detail.reference-detail.pattern-entity #related{grid-column:1/-1}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .reward-table thead th{color:#fff5e6!important;background:#59674f!important}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-style-negative meter::-webkit-meter-optimum-value{background:#a35e4e}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-style-positive meter::-webkit-meter-optimum-value{background:#677855}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .style-bars{display:block}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .style-bar{grid-template-columns:105px minmax(0,1fr) 35px}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .style-bar-label{overflow-wrap:anywhere}

body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-hero{padding:0;border:0}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-layout{margin-top:0}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-body>section{margin:0}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-requirements{display:block}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .requirement-card{background:none;box-shadow:none;border:0;border-radius:0}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .client-commission-card{box-shadow:none;border-radius:0}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-style-list{display:block}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .style-bars .style-bar{background:none;border:0;border-bottom:1px solid #dcc7a8;border-radius:0}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-unlock-grid{display:block}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-unlock-card{background:none;border:0;box-shadow:none}

body.wiki-shell .wiki-content article.wiki-detail.reference-detail{font:15px/1.4 'Source Serif 4',Georgia,serif;color:#40352e}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-header{border:0;margin:0;padding:0}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-hero{display:grid;grid-template-columns:200px minmax(0,1fr) 220px;grid-template-rows:1fr auto;gap:16px 22px;align-items:start;margin:10px 0 18px;min-height:280px}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-hero>.entity-media{grid-row:1/3;width:200px;height:280px;aspect-ratio:auto;padding:5px;background:#e7d7bd;border:1px solid #ab8c67;box-shadow:inset 0 0 0 3px #f8eedc,2px 3px 0 #bfa17d55;transform:rotate(-1deg)}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-hero>.entity-media img{object-fit:contain;padding:0;width:100%;height:100%}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-summary{min-width:0;padding-top:4px}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-summary h1{font:700 39px/1.1 Georgia,serif;margin:3px 0 10px;overflow-wrap:anywhere}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-summary p{margin:9px 0;line-height:1.45}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-eyebrow{font:13px/1.3 Georgia,serif;color:#794737;letter-spacing:.04em;margin:0 0 4px}
body.wiki-shell .wiki-content .wiki-detail.reference-detail aside.entity-facts{grid-column:3;display:block;padding:10px 12px;margin:0;background:#f8efdc;border:1px solid #bda37d;border-radius:3px;box-shadow:inset 0 0 0 3px #eee1c9}
body.wiki-shell .wiki-content .wiki-detail.reference-detail aside.entity-facts h2{font:700 19px/1.2 Georgia,serif;border-bottom:1px dotted #bd826d;padding:0 0 6px;margin:0 0 5px}
body.wiki-shell .wiki-content .wiki-detail.reference-detail aside.entity-facts dl{display:grid;grid-template-columns:90px minmax(0,1fr);gap:0;font-size:13px;line-height:1.35;margin:0}
body.wiki-shell .wiki-content .wiki-detail.reference-detail aside.entity-facts :is(dt,dd){background:none;border:0;border-bottom:1px solid #d6c3a5;padding:5px 0;margin:0}
body.wiki-shell .wiki-content .wiki-detail.reference-detail aside.entity-facts dd{padding-left:7px}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .reference-stat-strip{grid-column:2/4;display:flex;align-self:end;min-height:61px;background:#f8efdc;border:1px solid #bda37d;border-radius:3px;padding:7px 0;box-shadow:inset 0 0 0 3px #eee1c9}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .reference-stat-strip>div{flex:1;min-width:0;padding:0 12px;border-right:1px solid #b97e68}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .reference-stat-strip>div:last-child{border:0}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .reference-stat-strip strong{display:block;font:700 24px/1.1 Georgia,serif}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .reference-stat-strip span{display:block;font-size:12px;margin-top:4px}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-layout{display:block}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-toc{position:static;display:flex;flex-wrap:wrap;align-items:end;gap:4px;padding:0;margin:0 0 13px;background:none;border:0;border-bottom:1px solid #bda37d}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-toc h2{display:none}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-toc ul{display:flex;flex-wrap:wrap;gap:4px;padding:0;margin:0;list-style:none}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-toc li{padding:0;margin:0;list-style:none}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-toc a{display:block;font-size:13px;line-height:1.3;margin:0;padding:8px 12px;border:1px solid #c3a883;border-bottom:0;border-radius:4px 4px 0 0;background:#eee2cb;color:#40352e;text-decoration:none}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-toc a:hover{background:#fbf3e2;color:#8b4437}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .reference-panel{display:block;min-width:0;margin:0;padding:0 12px 12px;background:#f8efdc;border:1px solid #c3a883;border-radius:3px;box-shadow:inset 0 0 0 3px #eee1c966;scroll-margin-top:76px}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .reference-panel>h2{display:flex;align-items:center;justify-content:space-between;gap:10px;font:700 20px/1.2 Georgia,serif;margin:0 -12px 10px;padding:7px 12px;border:0;border-bottom:1px solid #b39570;background:#e6d6bc;color:#352820;overflow-wrap:anywhere}
body.wiki-shell .wiki-content .wiki-detail.reference-detail h2 small{font:12px/1.2 Georgia,serif;white-space:nowrap}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .reference-panel p{margin:8px 0;font-size:14px;line-height:1.4}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .reference-record{display:flex;align-items:center;gap:10px;min-width:0;padding:7px 0;margin:0;border:0;border-bottom:1px solid #d2bda0;background:none;text-decoration:none;color:#40352e;line-height:1.3}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .reference-record>div{flex:1;min-width:0}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .reference-record strong{display:block;font-size:14px;overflow-wrap:anywhere}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .reference-record .entity-media{flex:none;width:58px;height:58px;aspect-ratio:1;background:#e9dbc3;border:1px solid #c3a883}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .reference-record .entity-media img{padding:2px;object-fit:contain}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .reference-record:hover strong{text-decoration:underline;color:#8b4437}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .record-meta{display:block;font-size:12px;margin:3px 0 0;color:#655543}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .client-commission-panels{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start;scroll-margin-top:76px}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .client-commission-cards{display:block}
body.wiki-shell .wiki-content .wiki-detail.reference-detail #story>h2{background:#965247;color:#fff6e5}
body.wiki-shell .wiki-content .wiki-detail.reference-detail #pigeon>h2{background:#526565;color:#fff6e5}
body.wiki-shell .wiki-content .wiki-detail.reference-detail #final>h2{background:#715847;color:#fff6e5}
body.wiki-shell .wiki-content .wiki-detail.reference-detail.client-entity #unlocks{grid-column:1/-1}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .client-star-unlocks{display:grid;grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:9px}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .profile-panel{min-width:0;background:#efe2cd;border:1px solid #cbb28e;padding:7px 9px}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .profile-panel h3{font:700 16px/1.3 Georgia,serif;margin:0 0 5px;padding-bottom:5px;border-bottom:1px dotted #bd826d}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .profile-panel h3 small{display:block;font:12px/1.3 Georgia,serif;color:#655543}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .star-patterns .reference-record{gap:6px;padding:6px 0}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .star-patterns .entity-media{width:44px;height:54px}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .star-patterns strong{font-size:12px}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-image-placeholder{min-height:0;height:100%;gap:3px;font-size:9px;text-align:center;padding:3px}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-image-placeholder .placeholder-art{width:55%;height:65%;padding:0;object-fit:contain}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-hero .entity-image-placeholder{font-size:13px;gap:12px}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-neighbours{grid-column:1/-1;margin-top:15px;padding-top:9px;font-size:13px}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-neighbours .reference-record{border:1px solid #c3a883;background:#f8efdc;padding:7px 10px;flex:1;max-width:48%}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-neighbours .entity-media{width:42px;height:52px}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .requirement-card{padding:10px 0;border-bottom:1px dotted #c1a582}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .requirement-card h3{font:700 15px/1.4 Georgia,serif;margin:0 0 5px}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-facts.entity-making-card{grid-template-columns:1fr 1.2fr;margin:10px 0;font-size:14px}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-style-list{padding:0;margin:7px 0;list-style:none}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-style-row{display:grid;grid-template-columns:105px minmax(0,1fr) 36px;gap:9px;align-items:center;margin:0;padding:4px 0;border-bottom:1px solid #e0cdb1;font-size:13px;list-style:none}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-style-row meter{width:100%;height:12px;accent-color:#677855}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-style-negative meter{accent-color:#a35e4e}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-style-value{text-align:right}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-style-zero .entity-style-value{grid-column:3}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-unlock-card{border-bottom:1px dotted #bda37d;padding:7px 0}
body.wiki-shell .wiki-content .wiki-detail.reference-detail #related ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 12px;padding:0;margin:0;list-style:none}
body.wiki-shell .wiki-content .wiki-detail.reference-detail #related li{padding:0;margin:0;list-style:none}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .style-bars{margin-top:12px}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .style-bar{display:grid;grid-template-columns:105px minmax(0,1fr) 35px;gap:9px;align-items:center;padding:5px 0;border-bottom:1px solid #dcc7a8;font-size:13px}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .style-bar-track{display:block;height:9px;background:#e5d5b9;border-radius:2px;overflow:hidden}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .style-bar-fill{display:block;height:100%;background:#657753}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .is-negative .style-bar-fill{background:#a85c4b}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .style-bar-value{text-align:right}
body.wiki-shell .wiki-content .wiki-detail.reference-detail #same-type{grid-column:1/-1}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-related-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-related-card{min-width:0}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-related-card>.entity-media{height:90px;aspect-ratio:auto}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-related-card h3{font-size:15px;margin:7px 0}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-related-card a{padding:0;border:0;background:none}
body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-related-card p{font-size:12px}
@media(max-width:1199px) and (min-width:761px){body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-hero{grid-template-columns:170px minmax(0,1fr);gap:14px}body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-hero>.entity-media{width:170px;height:250px;grid-row:1/3}body.wiki-shell .wiki-content .wiki-detail.reference-detail aside.entity-facts{grid-column:2}body.wiki-shell .wiki-content .wiki-detail.reference-detail .reference-stat-strip{grid-column:1/-1}body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-summary h1{font-size:32px}body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-related-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-hero{grid-template-columns:110px minmax(0,1fr);gap:12px;margin-top:5px}body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-hero>.entity-media{grid-row:1;width:110px;height:160px}body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-summary h1{font-size:29px}body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-summary p{font-size:14px}body.wiki-shell .wiki-content .wiki-detail.reference-detail aside.entity-facts{grid-column:1/-1}body.wiki-shell .wiki-content .wiki-detail.reference-detail aside.entity-facts dl{grid-template-columns:115px minmax(0,1fr)}body.wiki-shell .wiki-content .wiki-detail.reference-detail .reference-stat-strip{grid-column:1/-1;flex-wrap:wrap;row-gap:9px}body.wiki-shell .wiki-content .wiki-detail.reference-detail .reference-stat-strip>div{padding:0 9px;flex:1 1 28%}body.wiki-shell .wiki-content .wiki-detail.reference-detail .reference-stat-strip strong{font-size:21px}body.wiki-shell .wiki-content .wiki-detail.reference-detail .reference-stat-strip span{font-size:11px}body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-body,body.wiki-shell .wiki-content .wiki-detail.reference-detail .client-commission-panels{grid-template-columns:1fr}body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-toc a{font-size:12px;padding:7px 9px}body.wiki-shell .wiki-content .wiki-detail.reference-detail .client-star-unlocks{grid-template-columns:repeat(2,minmax(0,1fr))}body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-neighbours{flex-wrap:wrap}body.wiki-shell .wiki-content .wiki-detail.reference-detail .entity-neighbours .reference-record{max-width:none}body.wiki-shell .wiki-content .wiki-detail.reference-detail #related ul{grid-template-columns:1fr}}
