/* The site's reading surfaces, navigation and sidebar use the same slate and brass details. */
.vh {
  --vh-slate: #172535;
  --vh-slate-deep: #101c29;
  --vh-edge: #927653;
  --vh-line-dark: #a88b5d43;
  --vh-paper: #f3ebdb;
  --vh-paper-light: #fcf7ec;
  --vh-ink: #232c35;
}

@media (min-width: 981px) {
  .vh-frame { grid-template-columns: 188px minmax(0, 1fr) 218px; gap: 15px; }
}

.vh a:focus-visible, .vh summary:focus-visible, .vh button:focus-visible {
  outline: 2px solid #daaa60;
  outline-offset: -2px;
}

/* Home: an illustrated entrance, shortcuts and the news index. */
.vh-welcome {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  border: 3px ridge #977a54;
  background: #ead7b3;
}
.vh-trail {
  grid-column: 2; grid-row: 1; position: relative; min-height: 176px;
  background: #486039 url('../../furias/assets/generated/scenes/hero-map.png') center / auto 224px;
  image-rendering: pixelated; border-inline-start: 3px ridge #967753;
}
.vh-trail img { position: absolute; width: 48px; height: 48px; object-fit: contain; top: 51%; }
.vh-trail-knight { right: 52%; }
.vh-trail-orc { left: 54%; }
.vh-welcome-copy { grid-column: 1; grid-row: 1; padding: clamp(14px, 2vw, 26px); align-self: center; }
.vh .vh-welcome h1 { margin: 0; font: bold clamp(22px, 2.3vw, 33px)/1.1 Georgia, serif; color: #432d20; }
.vh-welcome p { margin: 9px 0 15px; font: 13px/1.45 Verdana, sans-serif; color: #493728; }
.vh-welcome-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.vh-action {
  padding: 9px 13px;
  border: 1px solid #b19b77;
  background: #142334;
  color: #fff2d8;
  font-weight: 700;
  text-decoration: none;
}
.vh-action-primary { background: #ead2a3; color: #2d1f16; border-color: #ead2a3; }
.vh-action:hover { background: #fff1d2; color: #2d1f16; }

.vh-library-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--vh-paper);
  border: 1px solid var(--vh-edge);
}
.vh-library-links a {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 54px;
  padding: 9px 12px;
  color: #293747;
  text-decoration: none;
}
.vh-library-links a + a { border-inline-start: 1px solid #cbb998; }
.vh-library-links a:hover { background: var(--vh-paper-light); }
.vh-library-links img { object-fit: contain; image-rendering: pixelated; }
.vh-library-links a > span { color: #775536; }
.vh-news-empty { margin: 7px 8px; }
.vh .vnews-more { border-top: 1px solid #cbb998; padding: 8px 8px 0; }

/* A single navigation surface with sprite markers and a visible current route. */
.vh-entry, .vh-nav {
  margin: 0 0 12px;
  background: var(--vh-slate-deep);
  border: 1px solid var(--vh-edge);
}
.vh-entry .vh-play {
  margin: 0; display: flex; align-items: center; gap: 8px;
  min-height: 62px; padding: 8px 10px;
  background: #24354a; border: 0; box-shadow: none; color: #fbe7be;
}
.vh-entry .vh-play:hover { background: #2d4058; }
.vh-entry .vh-play b { font: bold 16px/1.2 Georgia, serif; }
.vh-entry .vh-play small { color: #e9d3a8; }
.vh-entry .vh-account-links {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0;
  margin: 0; padding: 0; border: 0; background: transparent;
}
.vh-entry .vh-account-links a {
  flex: 1 1 auto; padding: 8px; text-align: center;
  text-decoration: none; color: #f3dbab; border: 0;
}
.vh-entry .vh-account-links a + a { border-inline-start: 1px solid var(--vh-line-dark); }
.vh-entry .vh-account-links a:hover { background: #273748; text-decoration: underline; }
.vh-nav { gap: 0; }
.vh-nav .vh-cat, .vh-nav .vh-cat:last-child { background: none; border: 0; box-shadow: none; }
.vh-nav .vh-cat + .vh-cat { border-top: 1px solid var(--vh-line-dark); }
.vh-nav .vh-cat summary, .vh-nav .vh-cat.current summary {
  gap: 9px; padding: 7px 10px; min-height: 43px;
  background: var(--vh-slate); color: #f3dfba; text-shadow: none;
  font: bold 14px/1.2 Georgia, serif;
}
.vh-nav .vh-cat summary:hover { background: #283b50; filter: none; }
.vh-nav .vh-cat.current summary, .vh-nav .vh-cat[open] summary { background: #263649; filter: none; }
.vh-nav .vh-cat summary img { width: 25px; height: 25px; }
.vh-nav .vh-cat summary::after, .vh-nav .vh-cat[open] summary::after {
  content: ''; width: 5px; height: 5px; flex: none; margin-inline-end: 2px;
  border: solid #d4b386; border-width: 0 1px 1px 0; transform: rotate(45deg);
}
.vh-nav .vh-cat[open] summary::after { transform: rotate(225deg); }
.vh-nav .vh-links { border: 0; padding: 4px 0 6px; }
.vh-nav .vh-links a { padding: 5px 9px 5px 20px; line-height: 1.4; }
.vh-nav .vh-links a[aria-current] { background: #c4914a2b; border-inline-start-color: #d7ab6c; color: #ffdd9d; }

/* The three features have different compositions but share readable headings. */
.vh .vh-right .tbox {
  margin: 0 0 14px; padding: 0 0 8px;
  border: 1px solid var(--vh-edge); background: var(--vh-slate-deep);
}
.vh :is(.vbox, .tbox, .vbtn) { box-shadow: none; }
.vh :is(.vbox, .tbox)::before, .vh :is(.vbox, .tbox)::after { content: none; }
.vh .vh-right .tbox-h, .vh .vh-right .tbox.gold .tbox-h {
  display: block; margin: 0; padding: 9px 12px;
  text-align: left; min-height: 0; border-bottom: 1px solid var(--vh-line-dark);
  background: var(--vh-slate); color: #f7dfb6;
  font: bold 15px/1.2 Georgia, serif;
}
.vh .vh-creature-link {
  display: grid; justify-items: center; gap: 3px; padding: 0 0 5px;
  color: #f7dfb6; text-decoration: none;
}
.vh .vh-creature-stage {
  position: relative;
  min-height: 124px; margin: 0 0 6px; border: 0; overflow: hidden;
  width: 100%; display: grid; place-items: center; image-rendering: pixelated;
  background: #55493e url('../../../images/items/generated/413.gif') center / 32px repeat;
}
.vh-creature-stage::before {
  content: ''; position: absolute; inset: auto 0 0; height: 14px;
  background: linear-gradient(0deg, #111923c4, #18233140),
    url('../../../images/items/generated/413.gif') left bottom / 32px 32px repeat-x;
  image-rendering: pixelated;
}
.vh-creature-stage .vh-sprite { z-index: 1; }
.vh .vh-creature-link strong { font: bold 17px/1.2 Georgia, serif; color: #ffebc3; }
.vh .vh-creature-more { font-size: 11px; padding: 4px 0 1px; color: #ebca93; }
.vh .vh-creature-link:hover .vh-creature-more { text-decoration: underline; }
.vh .vh-level-list { margin: 0; padding: 0; list-style: none; }
.vh .vh-level-list a {
  display: grid; grid-template-columns: 20px 42px minmax(0, 1fr); align-items: center; gap: 6px;
  padding: 5px 9px; font-size: 12px; color: #f7dfb6; text-decoration: none;
}
.vh .vh-level-list a:hover { background: #253749; }
.vh .vh-level-list li + li { border-top: 1px solid var(--vh-line-dark); }
.vh .vh-level-place {
  display: grid; place-items: center; min-height: 22px;
  border: 1px solid #9e896974;
  color: #eedecc; background: #243547;
}
.vh-level-list li:first-child .vh-level-place { color: #2e2118; background: #dfb977; border-color: #dfb977; }
.vh .vh-level-list strong { overflow-wrap: anywhere; }
.vh .vh-level-list small { display: block; color: #ddcbb2; font-size: 10px; }
.vh .vh-hall-link {
  display: block; margin: 3px 9px 0; padding: 7px 0 0;
  border-top: 1px solid var(--vh-line-dark); color: #ebca93; text-align: center; font-size: 11px;
}

.vh .vh-champion {
  display: grid; justify-items: center; gap: 3px; margin: 4px 0 0;
  padding: 0 7px; text-decoration: none; text-align: center;
}
.vh .vh-champion:hover strong { text-decoration: underline; }
.vh-bench-stage { position: relative; display: block; width: 130px; height: 77px; }
.vh-bench, .vh .vh-champion-outfit { position: absolute; image-rendering: pixelated; }
.vh-bench { bottom: 1px; left: 13px; }
.vh .vh-champion-outfit { inset: auto auto 13px 48px; transform: none; }
.vh .vh-champion-name {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  padding: 4px 7px; max-width: 100%;
  color: #f8e6c8; font: bold 14px/1.2 Georgia, serif; overflow-wrap: anywhere;
}
.vh-champion-name img { flex: 0 0 28px; object-fit: contain; }
.vh .vh-shop { margin: 0; padding: 10px; color: #ebddc6; background: none; }
.vh .vh-shop b { color: #f7ddaa; }
.vh .vh-shop .vbtn { background: #293a4c; }
.vh .vh-shop .vbtn:hover { background: #374d63; }

/* Reading surfaces and catalogue controls use the same ink, paper and lines. */
.vh .vbox { margin: 0; border-color: var(--vh-edge); }
.vh .vbox > .vbox-h {
  padding: 10px 14px; color: #f6e6c9;
  background: var(--vh-slate);
  border-bottom: 2px solid var(--vh-edge);
  font: bold 19px/1.2 Georgia, serif;
}
.vh .vbox-b { background: var(--vh-paper); color: var(--vh-ink); }
.vh .vbox-b .parch { background: var(--vh-paper-light); border-color: #bfaa88; border-radius: 0; box-shadow: none; }
.vh .vbox-b .ph { background: var(--vh-slate); border: 0; color: #f6e6c9 !important; padding: 7px 10px; }
.vh .vbox-b :is(.catalogue-filters, .catalogue-city, .spell-filter-panel) {
  background: #e9dec8; border-color: #b7a180; border-radius: 0; box-shadow: none;
}
.vh .vbox-b :is(.catalogue-filters, .catalogue-city, .spell-filter-panel)::before,
.vh .vbox-b :is(.catalogue-filters, .catalogue-city, .spell-filter-panel)::after { content: none; }
.vh .vbox-b :is(.best-card, .house-estate, .item-grid > li, .sp-card, .library-detail-panel, .item-source-panel) {
  background: var(--vh-paper-light); border-color: #bda884;
  border-radius: 0; box-shadow: none; transform: none;
}
.vh .vbox-b :is(.best-card, .house-estate, .item-grid > li, .sp-card):hover { border-color: #6e543a; background: #fffaf0; }
.vh .vbox-b [data-item-cards] { gap: 11px; }
.vh .vbox-b [data-item-cards] li > a { min-height: 149px; padding: 10px 8px; gap: 9px; border: 0; background: transparent; }
.vh .vbox-b [data-item-cards] a > img {
  width: 46px; height: 46px; padding: 5px; background: #e9dec8;
  border: 1px solid #cbb998; filter: none;
}
.vh .vbox-b [data-item-cards] a > b { color: #293747; font: bold 16px/1.2 Georgia, serif; }
.vh .vbox-b [data-item-cards] a > small { padding-top: 5px; color: #655443; }
.vh .vbox-b :is(.tt th, table > thead > tr > th) { background: #304256 !important; }
.vh .vbox-b .tt tbody tr:nth-child(even) td { background: #eee1ca; }
.vh .vbox-b :is(.btn-gold, .btn-blue) { background: #304256; border-color: #304256; box-shadow: none; text-shadow: none; }
.vh .vbox-b :is(.btn-gold, .btn-blue):hover { background: #243749; }

@media (max-width: 560px) {
  .vh-welcome { grid-template-columns: 1fr; }
  .vh-trail { grid-column: 1; grid-row: 2; min-height: 100px; border-inline-start: 0; border-top: 2px ridge #967753; background-position: center 65%; }
  .vh-trail img { top: 35%; }
  .vh-library-links a { gap: 5px; padding: 7px 5px; grid-template-columns: 23px minmax(0, 1fr); font-size: 10px; }
  .vh-library-links img { width: 23px; height: 23px; }
  .vh-library-links a > span { display: none; }
}

/* In-game window materials and item-scale insignia. */
.vh-nav .vh-cat summary, .vh-nav .vh-cat.current summary, .vh-nav .vh-cat[open] summary,
.vh .vh-right .tbox-h, .vh .vh-right .tbox.gold .tbox-h, .vh .vbox > .vbox-h {
  background: linear-gradient(#24342fb8, #172522dd), var(--tex-stone) center / 96px, #26332b;
  border: 2px ridge #977d58; color: #ffebbf;
}
.vh-nav .vh-cat summary { min-height: 37px; padding: 2px 7px; }
.vh-nav .vh-cat summary img { width: 32px; height: 32px; image-rendering: pixelated; }
.vh-nav .vh-cat summary:hover { border-color: #d5af74; }
.vh .vh-right .tbox { border: 3px ridge #917755; background: #e7d5b0; color: #392a20; }
.vh .vh-right .tbox-h, .vh .vh-right .tbox.gold .tbox-h { text-align: center; padding: 5px; }
.vh .vh-creature-stage { width: 100%; display: grid; place-items: center; }
.vh .vh-creature-link strong, .vh .vh-level-list a, .vh .vh-shop b { color: #41291b; }
.vh .vh-level-list small, .vh .vh-creature-more, .vh .vh-hall-link, .vh .vh-shop { color: #503c29; }
.vh .vh-level-list li:nth-child(odd) { background: #d6c29d; }
.vh .vh-level-list a:hover { background: #f8e7c3; }
.vh .vh-champion-name { background: #662e24; color: #ffe5ac; border: 2px ridge #bb9156; padding: 1px 12px; }
/* Carved trim follows each surface without stretching the corners across the text. */
.vh-nav .vh-cat summary, .vh-nav .vh-cat.current summary, .vh-nav .vh-cat[open] summary {
  border: 7px solid #765839;
  border-image: url('../assets/enamel-clasp.svg') 8 25 fill / 8px 19px stretch;
  padding: 0 16px; min-height: 40px;
}
.vh .vh-right .tbox-h, .vh .vh-right .tbox.gold .tbox-h, .vh .vbox > .vbox-h {
  border: 7px solid #896640;
  border-image: url('../assets/enamel-clasp.svg') 8 25 fill / 8px 25px stretch;
  padding: 2px 16px; letter-spacing: .025em;
}
.vh .vh-right .tbox, .vh-welcome, .vh .vbox-b {
  background: linear-gradient(105deg, #ead7b4, #f8efdb 33%, #f4e8cf 76%, #e7d3ae);
}
.vh .vh-creature-stage {
  justify-self: center; width: min(100%, 160px); min-height: 112px;
  background: radial-gradient(ellipse at 50% 75%, transparent 10%, #201c18aa 95%),
    url('../../../images/items/generated/413.gif') center / 32px repeat;
  border: 3px ridge #94744b; margin: 8px 0 4px;
}
.vh .vh-creature-stage::before { content: none; }
.vh .vh-level-place { border-radius: 50% 50% 40% 40%; border: 2px ridge #ab926e; background: #62472e; color: #fff4d8; }
.vh .vh-level-list li:first-child .vh-level-place { background: #9a651e; color: white; }
.vh .vh-level-list li:nth-child(odd) { background: #8e67231a; }
.vh .vh-entry .vh-play, .vh .vh-action-primary {
  background: linear-gradient(#68382de6,#40221fe8),var(--tex-stone);
  border: 2px ridge #a6824c; color: #fff0c9;
}
.vh .vnews-h a { color: inherit; }
.vh .vh-champion-name { border-radius: 12px 3px; padding-inline: 13px; }
.vh .vh-champion-name {
  border: 6px solid #ac8652;
  border-image: url('../assets/enamel-clasp.svg') 8 25 fill / 6px 18px stretch;
  border-radius: 0; padding: 0 15px;
}