/* Medieval finish (tibia.com-like): one material system for every surface.
   - Frame: dark oak rim with a single gold hairline.
   - Title bar: dark leather band, gold serif text, left aligned.
   - Body: clean parchment with a soft grain (CSS only, no stretched images).
   Loaded last; selectors are prefixed with html body.vh to win over editorial.css. */

html body.vh {
  --m-oak: #24170d;
  --m-oak-2: #3a2614;
  --m-gold: #c79a4b;
  --m-gold-hi: #f1d595;
  --m-parch: #f0e3c6;
  --m-parch-2: #e6d4ae;
  --m-ink: #3a2616;
  --m-frame: 0 0 0 1px var(--m-oak), 0 0 0 2px var(--m-gold), 0 0 0 4px var(--m-oak), 0 8px 18px -6px #000d;
  --m-grain:
    radial-gradient(ellipse 80% 60% at 20% 0%, #fffaea99, transparent 70%),
    radial-gradient(ellipse 70% 80% at 100% 100%, #c8a76a33, transparent 70%),
    repeating-linear-gradient(0deg, #7a55280a 0 1px, transparent 1px 3px);
}
html body.vh ::selection { background: #c79a4b; color: #1a0f06; }

/* ---------- shared surface ---------- */
html body.vh .vbox,
html body.vh .vh-right .tbox,
html body.vh .vh-welcome,
html body.vh .vh-library-links {
  background: var(--m-grain), var(--m-parch);
  border: 0; border-radius: 0; padding: 0; margin: 4px;
  box-shadow: var(--m-frame);
}
html body.vh .vbox::before, html body.vh .vbox::after,
html body.vh .tbox::before, html body.vh .tbox::after { display: none; }

/* ---------- title bars ---------- */
html body.vh .vbox > .vbox-h,
html body.vh .vh-right .tbox-h, html body.vh .vh-right .tbox.gold .tbox-h {
  position: relative; margin: 0; border: 0; border-image: none; text-align: left;
  background: linear-gradient(180deg, #4a3019, var(--m-oak-2) 45%, var(--m-oak));
  box-shadow: inset 0 1px 0 #f1d59533, inset 0 -1px 0 var(--m-gold);
  font-family: 'Martel', Georgia, serif; font-weight: 800; letter-spacing: .01em;
  color: var(--m-gold-hi); text-shadow: 0 1px 0 #000;
}
html body.vh .vbox > .vbox-h { padding: 8px 16px 6px; font-size: 17px; }
html body.vh .vh-right .tbox-h, html body.vh .vh-right .tbox.gold .tbox-h { padding: 5px 10px 4px; font-size: 13px; text-align: center; }
html body.vh .vbox > .vbox-h::after, html body.vh .vh-right .tbox-h::after { content: none; }

/* ---------- bodies ---------- */
html body.vh .vbox > .vbox-b { border: 0; box-shadow: none; background: none; padding: 14px 16px 16px; margin: 0; color: var(--m-ink); }
html body.vh .vh-right .tbox > :not(.tbox-h) { margin-inline: 10px; }
html body.vh .vh-right .tbox > :last-child { margin-bottom: 10px; }
html body.vh .vh-right .tbox-b { border: 0; background: none; padding: 10px 0 0; }
html body.vh .vh-right .tbox > .tbox-h + * { margin-top: 10px; }

/* inner panels sit on the parchment as slightly lighter sheets */
html body.vh .vbox-b .parch {
  background: #f8efdb; border: 1px solid #c5a877; border-radius: 0;
  box-shadow: inset 0 1px 0 #fff8, 0 1px 0 #fff6;
}

/* ---------- home welcome + library shortcuts ---------- */
html body.vh .vh-welcome { overflow: hidden; }
html body.vh .vh-library-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
html body.vh .vh-library-links a { background: none; border: 0; border-inline-start: 1px solid #c5a877; color: var(--m-ink); font-family: 'Martel', Georgia, serif; font-weight: 800; }
html body.vh .vh-library-links a:first-child { border-inline-start: 0; }
html body.vh .vh-library-links a:hover { background: #fff7e3; }

/* ---------- left menu (tibia.com-like bars) ---------- */
html body.vh .vh-nav { gap: 0; margin: 4px; box-shadow: var(--m-frame); background: var(--m-oak); }
html body.vh .vh-nav .vh-cat { border: 0; box-shadow: none; background: none; }
html body.vh .vh-nav .vh-cat + .vh-cat { border-top: 1px solid #000; }
html body.vh .vh-nav .vh-cat summary, html body.vh .vh-nav .vh-cat.current summary, html body.vh .vh-nav .vh-cat[open] summary {
  border: 0; border-image: none; min-height: 38px; padding: 3px 10px 3px 6px; gap: 8px;
  background: linear-gradient(180deg, #3d2815, #2a1a0c 60%, #1f1308);
  box-shadow: inset 0 1px 0 #f1d59526;
  font: 800 13px/1.3 'Martel', Georgia, serif; letter-spacing: .01em; color: #ecd39a; text-shadow: 0 1px 0 #000;
}
html body.vh .vh-nav .vh-cat summary::before { content: none; }
html body.vh .vh-nav .vh-cat summary:hover { background: linear-gradient(180deg, #4d3319, #33200e 60%, #26170a); color: #fff0c4; filter: none; }
html body.vh .vh-nav .vh-cat.current summary { color: var(--m-gold-hi); box-shadow: inset 3px 0 0 var(--m-gold), inset 0 1px 0 #f1d59526; filter: none; }
html body.vh .vh-nav .vh-cat summary img { width: 32px; height: 32px; margin: -2px 0; padding: 0; background: none; border: 0; border-radius: 0; flex: none; }
html body.vh .vh-nav .vh-cat summary::after { color: var(--m-gold); }
html body.vh .vh-nav .vh-links {
  margin: 0; padding: 4px 0 6px; border: 0; border-top: 1px solid #000;
  background: #0f1c2e; box-shadow: inset 0 4px 6px #0007;
}
html body.vh .vh-nav .vh-links a { border-bottom: 0; color: #d8c8a6; font-size: 11.5px; }
html body.vh .vh-nav .vh-links a:hover { color: #fff; background: #ffffff0d; }
html body.vh .vh-nav .vh-links a[aria-current] { color: var(--m-gold-hi); background: #ffffff10; border-left-color: var(--m-gold); }

/* ---------- hall of fame: champion standing on game floor tiles ---------- */
html body.vh .vh-bench-stage {
  position: relative; width: min(100%, 160px); height: 100px; display: block; margin: 0 auto 6px;
  background: radial-gradient(ellipse at 50% 70%, transparent 30%, #1a1410bb 100%),
    url('../../../images/items/generated/413.gif') center / 32px repeat;
  border: 1px solid var(--m-oak); box-shadow: 0 0 0 1px var(--m-gold), inset 0 0 12px #000a;
}
html body.vh .vh-bench-stage::before, html body.vh .vh-bench-stage::after { content: none; }
html body.vh .vh-champion-outfit {
  position: absolute; width: 64px; height: 64px; inset: auto auto 16px 50%; transform: translateX(-50%);
  filter: drop-shadow(0 2px 2px #000a);
}
html body.vh .vh-creature-stage { border: 1px solid var(--m-oak); box-shadow: 0 0 0 1px var(--m-gold), inset 0 0 12px #000a; }

/* ---------- captions, tables, buttons ---------- */
html body.vh .vbox-b .ph, html body.vh .vbox-b :is(.tt th, table > thead > tr > th) {
  background: linear-gradient(180deg, #4a3019, var(--m-oak)) !important;
  border: 0; box-shadow: inset 0 -1px 0 var(--m-gold); color: var(--m-gold-hi) !important;
}
html body.vh .vbox-b .ph { font-family: 'Martel', Georgia, serif; }
html body.vh .vbtn { border-color: #0b0603; box-shadow: inset 0 1px 0 #ffffff44; }
html body.vh .vh-play b { font-family: 'Martel', Georgia, serif; font-weight: 800; }

/* ---------- ornament layer: bronze filigree corners with ruby studs ---------- */
html body.vh {
  --m-frame: 0 0 0 1px #0d0804, 0 0 0 3px #9c7333, 0 0 0 4px #e7c47a, 0 0 0 6px #2a1a0c, 0 0 0 7px #0d0804, 0 10px 20px -6px #000e;
}
html body.vh .vbox, html body.vh .vh-right .tbox, html body.vh .vh-welcome,
html body.vh .vh-library-links, html body.vh .vh-nav { position: relative; margin: 9px 8px; overflow: visible; }
html body.vh .vbox::before, html body.vh .vh-right .tbox::before, html body.vh .vh-welcome::before,
html body.vh .vh-library-links::before, html body.vh .vh-nav::before {
  content: ''; display: block; position: absolute; inset: -10px; z-index: 3; pointer-events: none;
  background:
    url('../assets/corner-tl.svg') left top / 40px no-repeat,
    url('../assets/corner-tr.svg') right top / 40px no-repeat,
    url('../assets/corner-bl.svg') left bottom / 40px no-repeat,
    url('../assets/corner-br.svg') right bottom / 40px no-repeat;
  transform: none; border: 0; box-shadow: none; width: auto; height: auto; top: -10px; left: -10px;
}
html body.vh .vh-right .tbox::before, html body.vh .vh-nav::before { background-size: 30px, 30px, 30px, 30px; inset: -9px; top: -9px; left: -9px; }
html body.vh .vh-welcome { overflow: visible; }
html body.vh .vh-welcome > * { overflow: hidden; }

/* ---------- title bars: centred, with flourished end caps and leather grain ---------- */
html body.vh .vbox > .vbox-h, html body.vh .vh-right .tbox-h, html body.vh .vh-right .tbox.gold .tbox-h {
  display: flex; align-items: center; justify-content: center; gap: 10px; text-align: center;
  background:
    repeating-linear-gradient(90deg, #ffffff05 0 1px, transparent 1px 4px),
    linear-gradient(180deg, #5a3a1d, #3a2614 45%, #24170d);
  box-shadow: inset 0 1px 0 #f1d59540, inset 0 -1px 0 #0d0804, inset 0 -3px 0 #9c7333, inset 0 -4px 0 #0d0804;
  padding-bottom: 9px;
}
html body.vh .vbox > .vbox-h::before, html body.vh .vbox > .vbox-h::after,
html body.vh .vh-right .tbox-h::before, html body.vh .vh-right .tbox-h::after {
  content: ''; flex: 0 1 60px; height: 16px; position: static; transform: none; border: 0; box-shadow: none;
  background: url('../assets/title-cap.svg') right center / 40px 16px no-repeat,
    linear-gradient(90deg, transparent, #d4a24c) left center / calc(100% - 38px) 1.4px no-repeat;
}
html body.vh .vbox > .vbox-h::before, html body.vh .vh-right .tbox-h::before { transform: scaleX(1); }
html body.vh .vbox > .vbox-h::after, html body.vh .vh-right .tbox-h::after { transform: scaleX(-1); }
html body.vh .vh-right .tbox-h::before, html body.vh .vh-right .tbox-h::after { flex-basis: 26px; background-size: 26px 12px, 0 0; }
html body.vh .vbox > .vbox-h { font-size: 18px; padding-top: 9px; }

/* ---------- menu: wood plank bars with brass rail and engraved hover ---------- */
html body.vh .vh-nav .vh-cat summary, html body.vh .vh-nav .vh-cat.current summary, html body.vh .vh-nav .vh-cat[open] summary {
  background:
    repeating-linear-gradient(180deg, #ffffff06 0 1px, transparent 1px 3px),
    linear-gradient(90deg, #00000040, transparent 30%, transparent 70%, #00000040),
    linear-gradient(180deg, #5a3a1d, #3a2614 50%, #24170d);
  box-shadow: inset 0 1px 0 #f1d59540, inset 0 -1px 0 #9c733366;
}
html body.vh .vh-nav .vh-cat summary img { filter: drop-shadow(0 1px 1px #000); }
html body.vh .vh-nav .vh-cat.current summary { box-shadow: inset 3px 0 0 #e7c47a, inset 0 1px 0 #f1d59540, inset 0 -1px 0 #9c733366; }
html body.vh .vh-nav .vh-links a::before { content: ''; display: inline-block; width: 5px; height: 5px; margin: 0 7px 1px 0; background: #9c7333; transform: rotate(45deg); }
html body.vh .vh-nav .vh-links a[aria-current]::before { background: #f1d595; }

/* ---------- showcase carousels: Hall of Fame + Creature of the Day ---------- */
html body.vh .vh-car-stage {
  position: relative; height: 168px; margin: 10px 10px 0; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(ellipse 60% 30% at 50% 74%, #f3d48a55, transparent 70%),
    radial-gradient(ellipse at 50% 60%, transparent 35%, #0d0804e6 100%),
    url('../../../images/items/generated/413.gif') center / 32px repeat;
  box-shadow: 0 0 0 1px #0d0804, 0 0 0 2px #9c7333, inset 0 0 18px #000c;
}
html body.vh .vh-beast-stage { background:
    radial-gradient(ellipse 60% 30% at 50% 74%, #ff6a3a40, transparent 70%),
    radial-gradient(ellipse at 50% 60%, transparent 35%, #0d0804e6 100%),
    url('../../../images/items/generated/413.gif') center / 32px repeat; }
/* light shafts from above */
html body.vh .vh-car-stage::before {
  content: ''; position: absolute; inset: -20% 20% 30%; z-index: 0; pointer-events: none;
  background: conic-gradient(from 180deg at 50% 0%, transparent 160deg, #fff3c822 172deg, #fff3c840 180deg, #fff3c822 188deg, transparent 200deg);
  animation: vh-shaft 6s ease-in-out infinite alternate;
}
@keyframes vh-shaft { to { transform: rotate(4deg) scaleX(1.15); opacity: .7; } }
html body.vh .vh-car-slide {
  position: absolute; inset: 0; z-index: 1; display: grid; grid-template-rows: auto 1fr auto; justify-items: center;
  padding: 8px 6px 8px; text-decoration: none; opacity: 0; visibility: hidden; pointer-events: none;
}
html body.vh .vh-car-slide.on { opacity: 1; visibility: visible; pointer-events: auto; }
html body.vh .vh-car-slide.on .vh-hall-hero, html body.vh .vh-car-slide.on .vh-beast { animation: vh-enter .7s cubic-bezier(.16, 1, .3, 1) both; }
html body.vh .vh-car-slide.on .vh-hall-plate { animation: vh-rise .6s .2s cubic-bezier(.16, 1, .3, 1) both; }
html body.vh .vh-car-slide.on .vh-hall-rank { animation: vh-drop .5s .1s cubic-bezier(.16, 1, .3, 1) both; }
html body.vh .vh-car-slide.off { visibility: visible; opacity: 1; animation: vh-leave .6s cubic-bezier(.7, 0, .84, 0) forwards; }
html body.vh .vh-beast-stage .vh-car-slide.on .vh-beast { animation-name: vh-stalk; animation-duration: 1.1s; }
@keyframes vh-enter { from { opacity: 0; transform: translateY(18px) scale(.6); filter: brightness(3) blur(2px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes vh-stalk { from { opacity: 0; transform: translateX(90px); } to { opacity: 1; transform: none; } }
@keyframes vh-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes vh-drop { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes vh-leave { to { opacity: 0; transform: translateX(-30px); filter: blur(2px); } }

html body.vh .vh-hall-rank {
  padding: 1px 10px; font: 800 10.5px/1.6 'Martel', Georgia, serif; letter-spacing: .08em; text-transform: uppercase;
  color: #24170d; background: linear-gradient(180deg, #f6dd9c, #c79a4b); box-shadow: 0 0 0 1px #0d0804, 0 2px 4px #000a;
}
html body.vh .vh-hall-hero { align-self: end; margin-bottom: 4px; filter: drop-shadow(0 0 8px #f3d48aaa) drop-shadow(0 3px 2px #000); }
html body.vh .vh-hall-hero .vh-sprite { transform: scale(1.35); transform-origin: 50% 100%; }
html body.vh .vh-beast { align-self: end; width: 96px; height: 96px; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 4px 3px #000c); }
html body.vh .vh-hall-plate {
  display: grid; justify-items: center; min-width: 78%; padding: 3px 12px 4px;
  background: linear-gradient(180deg, #4a3019, #24170d); box-shadow: 0 0 0 1px #0d0804, 0 0 0 2px #9c7333, 0 3px 6px #000c;
}
html body.vh .vh-hall-plate strong { font: 800 13px/1.3 'Martel', Georgia, serif; color: #f6dd9c; text-shadow: 0 1px 0 #000; }
html body.vh .vh-hall-plate em { font: 700 10px/1.3 Verdana, sans-serif; font-style: normal; color: #d8c8a6; font-variant-numeric: tabular-nums; }
html body.vh .vh-car-slide:hover .vh-hall-plate strong, html body.vh .vh-car-slide:focus-visible .vh-hall-plate strong { color: #fff; text-decoration: underline; }

html body.vh .vh-car-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 3px; margin: 8px 10px 10px; }
html body.vh .vh-car-tabs button {
  display: grid; place-items: center; width: 28px; height: 28px; padding: 0; cursor: pointer;
  background: linear-gradient(180deg, #3a2614, #1d1108); border: 1px solid #0d0804; box-shadow: inset 0 0 0 1px #9c733366;
  transition: transform .15s ease-out, box-shadow .15s;
}
html body.vh .vh-car-tabs button img { width: 24px; height: 24px; object-fit: contain; image-rendering: pixelated; opacity: .6; transition: opacity .15s; }
html body.vh .vh-car-tabs button:hover { transform: translateY(-2px); }
html body.vh .vh-car-tabs button:hover img, html body.vh .vh-car-tabs button[aria-selected=true] img { opacity: 1; }
html body.vh .vh-car-tabs button[aria-selected=true] { box-shadow: inset 0 0 0 1px #f1d595, 0 0 8px #e7c47a99; }
html body.vh .vh-car-tabs button:focus-visible { outline: 2px solid #f1d595; outline-offset: 1px; }

/* ---------- welcome scene: heroes and monsters crossing the road ---------- */
html body.vh .vh-trail { position: relative; overflow: hidden; }
html body.vh .vh-trail > img:not(.vh-walker) { display: none; }
html body.vh .vh-sky { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, #f0e3c6 0, transparent 14%), radial-gradient(ellipse at 50% 120%, transparent 40%, #0d080466 100%); }
html body.vh .vh-walker {
  position: absolute; z-index: 1; width: 64px; height: 64px; image-rendering: pixelated; left: 0;
  filter: drop-shadow(0 3px 2px #0009); animation: 24s linear infinite; animation-delay: calc(var(--i) * -6s);
}
html body.vh .vh-walker.hero { top: 46%; animation-name: vh-march-e; }
html body.vh .vh-walker.foe { top: 58%; animation-name: vh-march-w; animation-duration: 30s; animation-delay: calc(var(--i) * -7.5s); }
@keyframes vh-march-e { from { transform: translateX(-80px); } to { transform: translateX(min(60vw, 520px)); } }
@keyframes vh-march-w { from { transform: translateX(min(60vw, 520px)); } to { transform: translateX(-80px); } }
html body.vh .vh-fireflies { position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background-image: radial-gradient(circle, #fff3b0 0 1.2px, transparent 2px), radial-gradient(circle, #ffe08a 0 1px, transparent 2px), radial-gradient(circle, #fff3b0 0 1px, transparent 2px);
  background-size: 120px 90px, 170px 130px, 90px 150px; background-position: 10px 20px, 60px 70px, 30px 5px;
  animation: vh-flies 14s linear infinite; opacity: .7; }
@keyframes vh-flies { to { background-position: 130px -70px, -110px -60px, 120px -145px; } }
html body.vh .vh-welcome h1 { animation: vh-rise .9s cubic-bezier(.16, 1, .3, 1) both; }

@media (prefers-reduced-motion: reduce) {
  html body.vh .vh-car-stage::before, html body.vh .vh-walker, html body.vh .vh-fireflies,
  html body.vh .vh-car-slide.on *, html body.vh .vh-car-slide.off, html body.vh .vh-welcome h1 { animation: none !important; }
  html body.vh .vh-walker.hero { transform: translateX(80px); }
  html body.vh .vh-walker.foe { transform: translateX(220px); }
}

/* ---------- account / panel blocks: side padding ---------- */
html body.vh .vbox-b :is(.aac-block-b, .pb) { padding: 12px 14px; }

/* ---------- creature of the day: single, 8-frame walking sprite ---------- */
html body.vh a.vh-beast-stage { display: block; text-decoration: none; }
html body.vh .vh-beast { width: auto; height: auto; align-self: end; margin-bottom: 6px; filter: drop-shadow(0 4px 3px #000c); }
html body.vh .vh-beast .vh-sprite { transform: scale(1.5); transform-origin: 50% 100%; }
html body.vh .vh-beast-stage .vh-car-slide { grid-template-rows: 1fr auto; }

/* ---------- hall of fame: one clear ranking selector ---------- */
html body.vh .vh-car-nav {
  display: grid; grid-template-columns: 30px minmax(0, 1fr) 30px; align-items: stretch; margin: 10px 10px 10px;
  box-shadow: 0 0 0 1px #0d0804, 0 0 0 2px #9c7333;
}
html body.vh .vh-car-nav button {
  padding: 0; border: 0; cursor: pointer; font: 700 22px/1 Georgia, serif; color: #f1d595;
  background: linear-gradient(180deg, #4a3019, #24170d); transition: color .15s, background .15s;
}
html body.vh .vh-car-nav button:hover { color: #fff; background: linear-gradient(180deg, #5d3d1f, #2e1d10); }
html body.vh .vh-car-nav button:focus-visible { outline: 2px solid #f1d595; outline-offset: -2px; }
html body.vh .vh-car-label {
  display: grid; grid-template-columns: 32px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 6px; align-items: center;
  padding: 4px 8px; background: linear-gradient(180deg, #f8efdb, #e8d6b0); border-inline: 1px solid #0d0804;
}
html body.vh .vh-car-label img { grid-row: 1 / 3; width: 32px; height: 32px; image-rendering: pixelated; }
html body.vh .vh-car-label b { font: 800 13px/1.2 'Martel', Georgia, serif; color: #3a2616; }
html body.vh .vh-car-label small { font: 700 10px/1.2 Verdana, sans-serif; color: #7a5a30; font-variant-numeric: tabular-nums; }
html body.vh .vh-car-nav.flip .vh-car-label > * { animation: vh-rise .45s cubic-bezier(.16, 1, .3, 1) both; }
html body.vh .vh-car-slide.on.back .vh-hall-hero { animation-name: vh-enter; }
html body.vh .vh-hall-stage .vh-car-slide { grid-template-rows: 1fr auto; }

/* ---------- menu open/close animation ---------- */
html body.vh .vh-nav .vh-cat summary::after { transition: transform .25s cubic-bezier(.16, 1, .3, 1); }
html body.vh .vh-nav .vh-links { display: grid; overflow: hidden; }
html body.vh .vh-nav .vh-cat.vh-anim > .vh-links { transition: height .32s cubic-bezier(.16, 1, .3, 1), padding .32s cubic-bezier(.16, 1, .3, 1); }
html body.vh .vh-nav .vh-cat[open] > .vh-links a { animation: vh-link-in .35s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(var(--n, 0) * 30ms); }
@keyframes vh-link-in { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html body.vh .vh-nav .vh-cat[open] > .vh-links a, html body.vh .vh-car-nav.flip .vh-car-label > * { animation: none; }
  html body.vh .vh-nav .vh-cat.vh-anim > .vh-links { transition: none; }
}
/* stage lighting: brighter centre so dark creatures read against the floor */
html body.vh .vh-car-stage, html body.vh .vh-beast-stage {
  height: 190px;
  background:
    radial-gradient(ellipse 55% 40% at 50% 58%, #fff1c455, transparent 75%),
    radial-gradient(ellipse at 50% 55%, transparent 45%, #0d0804d9 100%),
    url('../../../images/items/generated/413.gif') center / 32px repeat;
}
html body.vh .vh-beast .vh-sprite, html body.vh .vh-hall-hero .vh-sprite { transform: scale(1.6); }
html body.vh .vh-beast, html body.vh .vh-hall-hero { margin-bottom: 14px; filter: drop-shadow(0 0 1px #fff8) drop-shadow(0 0 10px #fff1c499) drop-shadow(0 4px 3px #000c); }

/* ---------- tables: no phantom vertical scroll, compact classic rows ---------- */
html body.vh .vbox-b .twrap { overflow-x: auto; overflow-y: hidden; }
html body.vh .vbox-b :is(.tt th, table > thead > tr > th) { padding: 6px 10px !important; font: 800 12px/1.3 'Martel', Georgia, serif !important; text-align: left; }
html body.vh .vbox-b .tt td { padding: 5px 10px; vertical-align: middle; border-bottom: 1px solid #c5a87766; }
html body.vh .vbox-b .tt tbody tr:nth-child(odd) td { background: #f8efdb; }
html body.vh .vbox-b .tt tbody tr:nth-child(even) td { background: #efe2c4; }
html body.vh .vbox-b .tt tbody tr:hover td { background: #fff7e3; }
html body.vh .vbox-b .tt td img { max-height: 32px; width: auto; vertical-align: middle; }

/* ---------- camera card: a live window onto the game world, edge to edge ---------- */
html body.vh .vh-right .tbox.vh-cam { padding: 0; overflow: hidden; }
html body.vh .vh-right .tbox.vh-cam > .tbox-h { margin: 0; }
html body.vh .vh-right .tbox.vh-cam > :not(.tbox-h) { margin-inline: 0; }
html body.vh .vh-right .tbox.vh-cam > .tbox-h + * { margin-top: 0; }
html body.vh .vh-cam .vh-car-stage, html body.vh .vh-cam .vh-beast-stage {
  height: 200px; margin: 0; box-shadow: inset 0 0 22px #0009, inset 0 -1px 0 #0d0804;
  background:
    radial-gradient(ellipse 50% 30% at 50% 72%, #00000055, transparent 70%),
    radial-gradient(ellipse at 50% 50%, transparent 55%, #0006 100%),
    url('../../../images/items/generated/4526.gif') 0 0 / 64px repeat;
  image-rendering: pixelated;
}
html body.vh .vh-cam .vh-car-stage::before { content: none; }
html body.vh .vh-cam .vh-car-slide { padding: 0 0 10px; grid-template-rows: 1fr auto; }
html body.vh .vh-cam .vh-beast, html body.vh .vh-cam .vh-hall-hero { margin-bottom: 18px; filter: drop-shadow(0 3px 2px #000a); }
html body.vh .vh-cam .vh-hall-plate { min-width: 0; padding: 3px 14px 4px; background: linear-gradient(180deg, #24170de6, #0d0804e6); }
html body.vh .vh-cam .vh-car-nav { margin: 0; box-shadow: none; border-top: 1px solid #9c7333; }
html body.vh .vh-right .tbox.vh-cam > :last-child { margin-bottom: 0; }
/* walkers keep one pixel scale: 128px sheets draw at 64, 64px sheets at 32; feet share a baseline */
html body.vh .vh-walker { width: var(--w, 64px); height: var(--w, 64px); top: auto; }
html body.vh .vh-walker.hero { bottom: 30%; }
html body.vh .vh-walker.foe { bottom: 17%; }

/* ---------- home: featured post (its header is the box title) ---------- */
html body.vh .vh-feature > .vh-feature-h { justify-content: flex-start; gap: 12px; text-align: left; padding: 9px 16px 11px; font-size: 18px; }
html body.vh .vh-feature > .vh-feature-h::before, html body.vh .vh-feature > .vh-feature-h::after { content: none; }
html body.vh .vh-feature-h img { width: 24px; height: 24px; image-rendering: pixelated; }
html body.vh .vh-feature-h time { flex: none; padding: 1px 8px; font: 700 11px/1.6 Verdana, sans-serif; color: #24170d; background: linear-gradient(180deg, #f6dd9c, #c79a4b); box-shadow: 0 0 0 1px #0d0804; }
html body.vh .vh-feature-h a { color: inherit; text-decoration: none; }
html body.vh .vh-feature-h a:hover b { text-decoration: underline; text-underline-offset: 3px; }
html body.vh .vh-feature .vnews-b { padding: 0; }

/* ---------- home: news list ---------- */
html body.vh .vh-news-list ul { margin: 0; padding: 0; list-style: none; }
html body.vh .vh-news-list li + li { border-top: 1px solid #c5a87766; }
html body.vh .vh-news-list li a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 6px; color: var(--m-ink); text-decoration: none; }
html body.vh .vh-news-list li a:hover { background: #fff7e3; }
html body.vh .vh-news-list time { font: 700 11px/1 Verdana, sans-serif; color: #7a5a30; font-variant-numeric: tabular-nums; }
html body.vh .vh-news-list b { font: 800 14px/1.3 'Martel', Georgia, serif; color: #24170d; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body.vh .vh-news-list li span { color: #9c7333; font-size: 18px; }
html body.vh .vh-news-list .vh-more { display: block; margin-top: 8px; text-align: right; font-weight: 700; }

/* ---------- home: wiki grid ---------- */
html body.vh .vh-wiki-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
html body.vh .vh-wiki-grid a {
  display: flex; align-items: center; gap: 10px; padding: 6px 8px; text-decoration: none; color: var(--m-ink);
  background: #f8efdb; border: 1px solid #c5a877; transition: background .15s, border-color .15s, transform .15s cubic-bezier(.16, 1, .3, 1);
}
html body.vh .vh-wiki-grid a:hover { background: #fff7e3; border-color: #9c7333; transform: translateY(-2px); }
html body.vh .vh-wiki-slot {
  display: grid; place-items: center; flex: none; width: 40px; height: 40px;
  background: radial-gradient(circle at 50% 40%, #4a3a2a, #1f160d); box-shadow: 0 0 0 1px #0d0804, 0 0 0 2px #9c7333, inset 0 0 8px #000a;
}
html body.vh .vh-wiki-slot img { width: 32px; height: 32px; image-rendering: pixelated; }
html body.vh .vh-wiki-grid b { font: 800 13px/1.2 'Martel', Georgia, serif; }
@media (max-width: 560px) { html body.vh .vh-wiki-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- welcome card: clean bronze seam instead of the faded edge ---------- */
html body.vh .vh-sky { background: radial-gradient(ellipse at 50% 120%, transparent 40%, #0d080466 100%); }
html body.vh .vh-trail { border-inline-start: 0 !important; box-shadow: inset 1px 0 0 #0d0804, inset 3px 0 0 #9c7333, inset 4px 0 0 #e7c47a, inset 5px 0 0 #0d0804, inset 14px 0 14px -10px #000a; }

/* ---------- launch post (stored in news; Valhalla theme styles) ---------- */
html body.vh .article .vl-hero {
  position: relative; display: grid; justify-items: center; gap: 4px; padding: 34px 16px 26px; margin: 0 0 14px; text-align: center; overflow: hidden;
  background: linear-gradient(180deg, #0a1324aa, #0a1324ee 85%), url('/templates/valhalla/assets/northern-gates.webp') center 30% / cover;
  box-shadow: 0 0 0 1px #0d0804, 0 0 0 3px #9c7333, 0 0 0 4px #0d0804;
}
html body.vh .article .vl-hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 40% 50% at 50% 30%, #f3d48a33, transparent 70%); animation: vh-shaft 5s ease-in-out infinite alternate; }
html body.vh .article .vl-emblem { width: 64px; height: 64px; filter: drop-shadow(0 0 12px #f3d48a99); }
html body.vh .article .vl-hero h3 { margin: 4px 0 6px; font: 900 clamp(24px, 3vw, 34px)/1.1 'Cinzel', Georgia, serif; letter-spacing: .04em; color: #f6dd9c; text-shadow: 0 2px 0 #000, 0 0 18px #c79a4b88; }
html body.vh .article .vl-date { display: inline-grid; margin: 0; padding: 6px 18px; background: linear-gradient(180deg, #4a3019, #24170d); box-shadow: 0 0 0 1px #0d0804, 0 0 0 2px #9c7333; }
html body.vh .article .vl-date b { font: 800 16px/1.3 'Martel', Georgia, serif; color: #f6dd9c; }
html body.vh .article .vl-date span { font: 700 11px/1.4 Verdana, sans-serif; color: #d8c8a6; }
html body.vh .article .vl-lead { margin: 0 auto 14px; max-width: 60ch; text-align: center; font: 15px/1.55 Georgia, serif; color: var(--m-ink); }
html body.vh .article .vl-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 14px; }
html body.vh .article .vl-cols section { padding: 10px 12px 12px; background: #f8efdb; border: 1px solid #c5a877; }
html body.vh .article .vl-cols h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font: 800 15px/1.2 'Martel', Georgia, serif; color: #24170d; }
html body.vh .article .vl-cols h4 img { width: 32px; height: 32px; image-rendering: pixelated; }
html body.vh .article .vl-cols ul { margin: 0; padding: 0; list-style: none; }
html body.vh .article .vl-cols li { position: relative; padding: 3px 0 3px 14px; font-size: 12px; line-height: 1.45; }
html body.vh .article .vl-cols li::before { content: ''; position: absolute; left: 1px; top: 9px; width: 5px; height: 5px; background: #9c7333; transform: rotate(45deg); }
html body.vh .article .vl-cta { margin: 0; padding: 10px 14px; text-align: center; background: #24170d; color: #ecd39a; box-shadow: 0 0 0 1px #9c7333; }
html body.vh .article .vl-cta b { color: #f6dd9c; }
@media (max-width: 640px) { html body.vh .article .vl-cols { grid-template-columns: 1fr; } }
html body.vh .vnews-b.article > p.vl-lead::first-letter { float: none !important; margin: 0 !important; font: inherit !important; line-height: inherit !important; color: inherit !important; }

/* ---------- top level: five per ranking, switchable ---------- */
html body.vh .vh-right .tbox.vh-top5 { padding: 0; overflow: hidden; }
html body.vh .vh-right .tbox.vh-top5 > .tbox-h { margin: 0; }
html body.vh .vh-right .tbox.vh-top5 > :not(.tbox-h) { margin: 0; }
html body.vh .vh-top5-stage { display: grid; }
html body.vh .vh-top5-stage > .vh-car-slide { position: static; grid-area: 1 / 1; display: block; padding: 6px 8px 4px; }
html body.vh .vh-top5 .vh-car-slide.on li { animation: vh-rise .45s cubic-bezier(.16, 1, .3, 1) both; }
html body.vh .vh-top5 .vh-car-slide.on li:nth-child(2) { animation-delay: 40ms; }
html body.vh .vh-top5 .vh-car-slide.on li:nth-child(3) { animation-delay: 80ms; }
html body.vh .vh-top5 .vh-car-slide.on li:nth-child(4) { animation-delay: 120ms; }
html body.vh .vh-top5 .vh-car-slide.on li:nth-child(5) { animation-delay: 160ms; }
html body.vh .vh-top5 .vh-level-list { margin: 0; padding: 0; list-style: none; }
html body.vh .vh-top5 .vh-level-list li { background: none !important; border-bottom: 1px solid #c5a87766; }
html body.vh .vh-top5 .vh-level-list a {
  display: grid; grid-template-columns: 20px 36px minmax(0, 1fr) auto; align-items: center; gap: 6px;
  padding: 2px 4px; text-decoration: none; color: #24170d;
}
html body.vh .vh-top5 .vh-level-list a:hover { background: #fff7e3; }
html body.vh .vh-top5 .vh-level-list strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 800 12px/1.2 'Martel', Georgia, serif; }
html body.vh .vh-top5 .vh-level-list em { font: 700 11px/1 Verdana, sans-serif; font-style: normal; color: #7a5a30; font-variant-numeric: tabular-nums; }
html body.vh .vh-top5 .vh-level-place { display: grid; place-items: center; width: 20px; height: 20px; font: 800 11px/1 Verdana, sans-serif; }
html body.vh .vh-top5 li:nth-child(1) .vh-level-place { background: radial-gradient(circle at 35% 30%, #fff1b8, #d4a24c 55%, #7a4f18); color: #24170d; }
html body.vh .vh-top5 li:nth-child(2) .vh-level-place { background: radial-gradient(circle at 35% 30%, #fff, #b8bcc4 55%, #5d626b); color: #1d1f24; }
html body.vh .vh-top5 li:nth-child(3) .vh-level-place { background: radial-gradient(circle at 35% 30%, #ffd8b0, #b06d34 55%, #5b3212); color: #fff; }
html body.vh .vh-top5 li:nth-child(n+4) .vh-level-place { background: #3a2614; color: #ecd39a; }
html body.vh .vh-top5 .vh-hall-link { display: block; padding: 4px 0 2px; border: 0; text-align: right; font-size: 11px; }
html body.vh .vh-top5 .vh-car-nav { margin: 0; box-shadow: none; border-top: 1px solid #9c7333; }

/* loja box: breathing room under the button */
html body.vh .vh-right .tbox.gold .tbox-b { padding-bottom: 12px; }

/* ---------- featured post header v2: date line over a large title ---------- */
html body.vh .vh-feature > .vh-feature-h {
  display: grid; grid-template-columns: auto; justify-items: start; gap: 2px; padding: 10px 20px 13px;
}
html body.vh .vh-feature-h > img { display: none; }
html body.vh .vh-feature-h time {
  padding: 0; background: none; box-shadow: none; text-transform: uppercase; letter-spacing: .14em;
  font: 700 10.5px/1.4 Verdana, sans-serif; color: #c79a4b;
}
html body.vh .vh-feature-h b { font: 800 21px/1.25 'Martel', Georgia, serif; color: #f6dd9c; text-shadow: 0 1px 0 #000; }

/* ---------- launch post body v2 ---------- */
html body.vh .article .vl-hero { margin-bottom: 18px; }
html body.vh .article .vl-lead { margin-bottom: 18px; font: italic 16px/1.6 Georgia, serif; color: #4a2a14; }
html body.vh .article .vl-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 18px; }
html body.vh .article .vl-pillars section { position: relative; display: grid; justify-items: center; gap: 6px; padding: 4px 18px; text-align: center; }
html body.vh .article .vl-pillars section + section::before {
  content: ''; position: absolute; left: 0; top: 8%; bottom: 8%; width: 1px;
  background: linear-gradient(180deg, transparent, #9c7333 20%, #9c7333 80%, transparent);
}
html body.vh .article .vl-seal {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #4a3a2a, #1f160d);
  box-shadow: 0 0 0 1px #0d0804, 0 0 0 3px #c79a4b, 0 0 0 4px #0d0804, 0 4px 8px #0006;
}
html body.vh .article .vl-seal img { width: 32px; height: 32px; image-rendering: pixelated; }
html body.vh .article .vl-pillars h4 { margin: 4px 0 0; font: 900 15px/1.2 'Cinzel', Georgia, serif; letter-spacing: .05em; color: #24170d; }
html body.vh .article .vl-pillars p { margin: 0; font-size: 12px; line-height: 1.55; color: #4a3626; }
html body.vh .article .vl-cta {
  display: grid; justify-items: center; gap: 10px; padding: 16px; margin: 0;
  background: linear-gradient(180deg, #0a1324ee, #0a1324), url('/templates/valhalla/assets/northern-gates.webp') center 70% / cover;
  box-shadow: 0 0 0 1px #0d0804, 0 0 0 3px #9c7333, 0 0 0 4px #0d0804; color: #d8c8a6;
}
html body.vh .article .vl-cta p { margin: 0; text-align: center; }
html body.vh .article .vl-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
html body.vh .article .vl-btn {
  padding: 7px 18px; font: 800 13px/1.3 'Martel', Georgia, serif; text-decoration: none; color: #24170d;
  background: linear-gradient(180deg, #f6dd9c, #c79a4b); box-shadow: 0 0 0 1px #0d0804, inset 0 1px 0 #fff8;
}
html body.vh .article .vl-btn.ghost { color: #f6dd9c; background: linear-gradient(180deg, #4a3019, #24170d); box-shadow: 0 0 0 1px #0d0804, 0 0 0 2px #9c7333; }
html body.vh .article .vl-btn:hover { filter: brightness(1.12); }
@media (max-width: 640px) {
  html body.vh .article .vl-pillars { grid-template-columns: 1fr; gap: 14px; }
  html body.vh .article .vl-pillars section + section::before { display: none; }
}

/* ---------- wiki v2: creature scene tile + leather tiles with descriptions ---------- */
html body.vh .vh-wiki-grid { grid-template-columns: 1.15fr repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(64px, auto); gap: 8px; }
html body.vh .vh-wiki-grid > a {
  position: relative; align-items: center; gap: 10px; padding: 8px 10px; overflow: hidden;
  background: linear-gradient(180deg, #3d2815, #24170d); border: 0;
  box-shadow: 0 0 0 1px #0d0804, inset 0 0 0 1px #9c733366, inset 0 1px 0 #f1d59526;
  color: #ecd39a;
}
html body.vh .vh-wiki-grid > a:hover { background: linear-gradient(180deg, #4d3319, #2c1c0e); box-shadow: 0 0 0 1px #0d0804, inset 0 0 0 1px #e7c47a, 0 6px 12px -4px #000a; }
html body.vh .vh-wiki-grid > a::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(105deg, transparent 35%, #fff3c822 50%, transparent 65%) -100% 0 / 200% 100% no-repeat;
}
html body.vh .vh-wiki-grid > a:hover::after { opacity: 1; animation: vh-sheen .7s ease-out forwards; }
@keyframes vh-sheen { to { background-position: 100% 0; } }
html body.vh .vh-wiki-text { display: grid; gap: 2px; min-width: 0; }
html body.vh .vh-wiki-grid b { font: 800 13px/1.2 'Martel', Georgia, serif; color: #f6dd9c; }
html body.vh .vh-wiki-grid small { font: 10.5px/1.35 Verdana, sans-serif; color: #c9b48e; }
html body.vh .vh-wiki-slot { box-shadow: 0 0 0 1px #0d0804, 0 0 0 2px #9c7333, inset 0 0 8px #000a; }
html body.vh .vh-wiki-grid > a.vh-wiki-monsters {
  grid-row: span 2; flex-direction: column; justify-content: flex-end; align-items: stretch; padding: 0;
  background: url('../../../images/items/generated/4526.gif') 0 0 / 64px repeat; image-rendering: pixelated;
}
html body.vh .vh-wiki-scene { flex: 1; display: grid; place-items: center; min-height: 92px; background: radial-gradient(ellipse at 50% 60%, transparent 40%, #0007 100%); }
html body.vh .vh-wiki-scene img { width: 96px; height: 96px; image-rendering: pixelated; filter: drop-shadow(0 4px 3px #000a); transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
html body.vh .vh-wiki-monsters:hover .vh-wiki-scene img { transform: scale(1.12); }
html body.vh .vh-wiki-monsters .vh-wiki-text { padding: 7px 10px; background: linear-gradient(180deg, #24170de6, #0d0804f2); border-top: 1px solid #9c7333; }
@media (max-width: 720px) {
  html body.vh .vh-wiki-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html body.vh .vh-wiki-grid > a.vh-wiki-monsters { grid-column: span 2; grid-row: auto; }
}

/* ---------- home news list v2: calendar seals, title + excerpt ---------- */
html body.vh .vh-news-list .vbox-b { padding: 10px 14px 12px; }
html body.vh .vh-news-list li + li { border-top: 0; margin-top: 6px; }
html body.vh .vh-news-list li a {
  grid-template-columns: 48px minmax(0, 1fr) 24px; gap: 14px; padding: 8px 10px;
  background: #f8efdb; border: 1px solid #c5a877; transition: background .15s, border-color .15s, transform .15s cubic-bezier(.16, 1, .3, 1);
}
html body.vh .vh-news-list li a:hover { background: #fff7e3; border-color: #9c7333; transform: translateX(3px); }
html body.vh .vh-cal {
  display: grid; justify-items: center; align-content: center; width: 48px; height: 50px;
  background: linear-gradient(180deg, #4a3019, #24170d); box-shadow: 0 0 0 1px #0d0804, inset 0 0 0 1px #9c7333;
}
html body.vh .vh-cal b { font: 800 20px/1 'Martel', Georgia, serif; color: #f6dd9c; white-space: normal; }
html body.vh .vh-cal small { font: 700 10px/1.3 Verdana, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #c79a4b; }
html body.vh .vh-news-t { display: grid; gap: 3px; min-width: 0; }
html body.vh .vh-news-t b { font: 800 15px/1.25 'Martel', Georgia, serif; color: #24170d; white-space: normal; }
html body.vh .vh-news-t small { font: 11.5px/1.45 Verdana, sans-serif; color: #5b4633; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
html body.vh .vh-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
html body.vh .vh-go { display: grid; place-items: center; width: 24px; height: 24px; font-size: 18px; color: #9c7333; }
html body.vh .vh-news-list .vh-more { margin-top: 10px; }

/* ---------- donate page (Valhalla presentation of the shared furias page) ---------- */
html body.vh .vbox-b .parch:has(.payment-checkout, .shopwin) { padding: 0 0 16px; overflow: hidden; }
html body.vh .vbox-b .parch:has(.payment-checkout, .shopwin) > :not(.ph) { margin-inline: 16px; }
html body.vh .vbox-b .parch:has(.payment-checkout, .shopwin) > .ph { margin: 0 0 14px; }
html body.vh .vbox-b .payment-environment {
  margin: 0 0 12px; padding: 6px 12px; text-align: center; font: 700 11px/1.4 Verdana, sans-serif; letter-spacing: .06em;
  color: #6b4a12; background: repeating-linear-gradient(135deg, #f6dd9c 0 10px, #efd08a 10px 20px); border: 1px solid #c79a4b;
}
/* packages: coin purses */
html body.vh .vbox-b .payment-packages { margin: 0; padding: 0; border: 0; min-width: 0; }
html body.vh .vbox-b .amts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
html body.vh .vbox-b .package-option { position: relative; display: block; cursor: pointer; }
html body.vh .vbox-b .package-option input { position: absolute; opacity: 0; pointer-events: none; }
html body.vh .vbox-b .package-option .amt {
  display: grid; justify-items: center; gap: 2px; padding: 12px 8px 10px; min-height: 0; width: auto;
  background: linear-gradient(180deg, #3d2815, #24170d); border: 0; border-radius: 0;
  box-shadow: 0 0 0 1px #0d0804, inset 0 0 0 1px #9c733366, inset 0 1px 0 #f1d59526;
  transition: box-shadow .15s, transform .15s cubic-bezier(.16, 1, .3, 1), background .15s;
}
html body.vh .vbox-b .package-option .amt b { font: 800 22px/1.1 'Martel', Georgia, serif; color: #f6dd9c; text-shadow: 0 1px 0 #000; }
html body.vh .vbox-b .package-option .amt small { font: 700 11px/1.3 Verdana, sans-serif; color: #c9b48e; font-variant-numeric: tabular-nums; }
html body.vh .vbox-b .package-option:hover .amt { transform: translateY(-2px); background: linear-gradient(180deg, #4d3319, #2c1c0e); }
html body.vh .vbox-b .package-option input:checked + .amt {
  background: linear-gradient(180deg, #6b4a1d, #3a2614);
  box-shadow: 0 0 0 1px #0d0804, 0 0 0 3px #e7c47a, 0 0 16px #e7c47a88, inset 0 1px 0 #fff3;
}
html body.vh .vbox-b .package-option input:focus-visible + .amt { outline: 2px solid #f1d595; outline-offset: 3px; }
/* payment methods */
html body.vh .vbox-b .payment-heading { margin: 20px 16px 10px; text-align: center; font: 900 16px/1.3 'Cinzel', Georgia, serif; letter-spacing: .05em; color: #24170d; }
html body.vh .vbox-b .payment-methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
html body.vh .vbox-b .payment-tile {
  display: grid; grid-template-columns: 56px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; align-items: center; text-align: left;
  width: auto; min-height: 0; padding: 12px 14px; cursor: pointer; border: 0; border-radius: 0;
  background: linear-gradient(180deg, #f8efdb, #ead9b4); box-shadow: 0 0 0 1px #0d0804, 0 0 0 3px #c79a4b, 0 0 0 4px #0d0804, 0 6px 12px -4px #0008;
  transition: transform .15s cubic-bezier(.16, 1, .3, 1), filter .15s;
}
html body.vh .vbox-b .payment-tile img { grid-row: 1 / 3; width: 56px; height: 56px; image-rendering: pixelated; }
html body.vh .vbox-b .payment-tile strong { font: 800 18px/1.2 'Martel', Georgia, serif; color: #24170d; }
html body.vh .vbox-b .payment-tile small { font: 11px/1.3 Verdana, sans-serif; color: #6b5238; }
html body.vh .vbox-b .payment-tile:not(:disabled):hover { transform: translateY(-2px); filter: brightness(1.05); }
html body.vh .vbox-b .payment-tile:disabled { cursor: not-allowed; filter: grayscale(.6); opacity: .65; }
html body.vh .vbox-b .payment-caption { margin-top: 10px; text-align: center; font-size: 11px; color: #6b5238; }
/* store preview: keep inside the card */
html body.vh .vbox-b .parch:has(.shopwin) > .pb { margin-top: 0; text-align: center; }
html body.vh .vbox-b .shopwin { max-width: calc(100% - 32px); box-sizing: border-box; margin-block: 10px 14px; }
html body.vh .vbox-b .parch:has(.shopwin) > .actions { display: flex; justify-content: center; gap: 10px; }
html body.vh .vbox-b .parch.r4 { padding-bottom: 14px; }
html body.vh .vbox-b .parch.r4 > .pb { padding: 0 16px; }
@media (max-width: 640px) {
  html body.vh .vbox-b .amts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html body.vh .vbox-b .payment-methods { grid-template-columns: 1fr; }
}
html body.vh .vbox-b .payment-checkout { max-width: none; width: auto; display: block; }
html body.vh .vbox-b .payment-methods { max-width: none; width: auto; margin-inline: 0; }
html body.vh .vbox-b .payment-tile { display: grid !important; }
html body.vh .vbox-b .payment-tile {
  grid-template-columns: 56px minmax(0, 1fr) !important; grid-template-rows: auto auto !important;
  grid-template-areas: "icon name" "icon note"; align-content: center; justify-items: start;
  height: auto !important; min-height: 84px !important; aspect-ratio: auto !important; gap: 2px 12px !important;
}
html body.vh .vbox-b .payment-tile img { grid-area: icon; align-self: center; margin: 0 !important; }
html body.vh .vbox-b .payment-tile strong { grid-area: name; align-self: end; margin: 0 !important; }
html body.vh .vbox-b .payment-tile small { grid-area: note; align-self: start; margin: 0 !important; }

/* ---------- donate v2: quiet sandbox notice, leather payment buttons ---------- */
html body.vh .vbox-b .payment-environment {
  display: flex; justify-content: center; align-items: center; gap: 10px; width: fit-content; margin: 0 auto 14px;
  padding: 4px 14px 4px 4px; background: #24170d; border: 0; box-shadow: 0 0 0 1px #9c7333;
  font: 11px/1.4 Verdana, sans-serif; letter-spacing: 0; color: #d8c8a6;
}
html body.vh .vbox-b .payment-environment::first-line { color: #d8c8a6; }
html body.vh .vbox-b .payment-tile {
  grid-template-columns: 52px minmax(0, 1fr) 20px !important; grid-template-areas: "icon name go" "icon note go";
  min-height: 76px !important; padding: 12px 16px !important; gap: 2px 14px !important;
  background: linear-gradient(180deg, #3d2815, #24170d); box-shadow: 0 0 0 1px #0d0804, inset 0 0 0 1px #9c733366, inset 0 1px 0 #f1d59526;
}
html body.vh .vbox-b .payment-tile::after { content: '›'; grid-area: go; align-self: center; font: 700 22px/1 Georgia, serif; color: #c79a4b; }
html body.vh .vbox-b .payment-tile img {
  width: 52px !important; height: 52px !important; padding: 8px; box-sizing: border-box; image-rendering: auto; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #f8efdb, #d9c296); box-shadow: 0 0 0 1px #0d0804, 0 0 0 3px #c79a4b, 0 0 0 4px #0d0804;
}
html body.vh .vbox-b .payment-tile strong { color: #f6dd9c; font-size: 17px; text-shadow: 0 1px 0 #000; }
html body.vh .vbox-b .payment-tile small { color: #c9b48e; }
html body.vh .vbox-b .payment-tile:not(:disabled):hover { box-shadow: 0 0 0 1px #0d0804, inset 0 0 0 1px #e7c47a, 0 0 14px #e7c47a55; filter: none; }
html body.vh .vbox-b .payment-tile:disabled { filter: none; opacity: .5; }
html body.vh .vbox-b .payment-methods .payment-tile, html body.vh .vbox-b .payment-methods .payment-tile:not(:disabled) { background: linear-gradient(180deg, #3d2815, #24170d) !important; border: 0 !important; }
html body.vh .vbox-b .payment-methods .payment-tile:not(:disabled):hover { background: linear-gradient(180deg, #4d3319, #2c1c0e) !important; }

/* top level switch: quick crossfade, rows slide in from the side that was pressed */
html body.vh .vh-top5 .vh-car-slide.off { animation: vh-fade-out .18s ease-in forwards; z-index: 0; }
html body.vh .vh-top5 .vh-car-slide.on { z-index: 1; }
html body.vh .vh-top5 .vh-car-slide.on li { animation: vh-row-in .38s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(120ms + var(--r, 0) * 45ms); }
html body.vh .vh-top5 .vh-car-slide.on.back li { animation-name: vh-row-in-back; }
html body.vh .vh-top5 li:nth-child(2) { --r: 1; } html body.vh .vh-top5 li:nth-child(3) { --r: 2; }
html body.vh .vh-top5 li:nth-child(4) { --r: 3; } html body.vh .vh-top5 li:nth-child(5) { --r: 4; }
html body.vh .vh-top5 .vh-car-slide.on li:nth-child(n) { animation-delay: calc(120ms + var(--r, 0) * 45ms); }
@keyframes vh-fade-out { to { opacity: 0; } }
@keyframes vh-row-in { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
@keyframes vh-row-in-back { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
html body.vh .vh-top5 .vh-car-slide.on .vh-hall-link { animation: vh-fade-in .3s .3s both; }
@keyframes vh-fade-in { from { opacity: 0; } }

/* ---------- wiki strip: one compact row of shortcuts ---------- */
html body.vh .vh-wiki-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); }
html body.vh .vh-wiki-strip a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 7px 4px 6px;
  border-inline-start: 1px solid #c5a877; text-decoration: none; color: var(--m-ink); transition: background .15s;
}
html body.vh .vh-wiki-strip a:first-child { border-inline-start: 0; }
html body.vh .vh-wiki-strip a:hover { background: #fff7e3; }
html body.vh .vh-wiki-strip img { width: 32px; height: 32px; image-rendering: pixelated; transition: transform .2s cubic-bezier(.16, 1, .3, 1); }
html body.vh .vh-wiki-strip a:hover img { transform: translateY(-2px) scale(1.1); }
html body.vh .vh-wiki-strip strong { font: 800 12px/1.2 'Martel', Georgia, serif; white-space: nowrap; }
@media (max-width: 720px) { html body.vh .vh-wiki-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } html body.vh .vh-wiki-strip a:nth-child(5) { border-inline-start: 0; } }

/* ---------- welcome v3: painted vista (road to Valhalla) behind the copy ---------- */
html body.vh .vh-welcome { position: relative; display: block; min-height: 230px; background: #0a1324; }
html body.vh .vh-welcome > .vh-vista { position: absolute; inset: 0; overflow: hidden; }
html body.vh .vh-vista > span { position: absolute; inset: 0; pointer-events: none; }
html body.vh .vh-vista-art {
  background: url('../assets/road-to-valhalla.webp') 78% 50% / cover no-repeat;
  transform-origin: 75% 60%; animation: vh-vista-zoom 32s ease-in-out infinite alternate;
}
html body.vh .vh-vista::after { /* legibility: darken the left, keep the walker bright */
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, #070d19f2 0, #070d19d9 34%, #070d1940 62%, transparent 80%), linear-gradient(0deg, #070d1999, transparent 40%);
}
html body.vh .vh-vista-mist {
  inset: 20% -40% -10% -40%; opacity: .35; mix-blend-mode: screen;
  background: url('../assets/valley-mist.webp') center bottom / 60% auto repeat-x;
  animation: vh-vista-mist 60s linear infinite;
}
html body.vh .vh-vista-lantern {
  inset: auto; left: 74.5%; top: 62%; width: 90px; height: 90px; margin: -45px 0 0 -45px; border-radius: 50%;
  background: radial-gradient(circle, #ffd27a88 0, #ffb24a33 35%, transparent 70%); mix-blend-mode: screen;
  animation: vh-flicker 2.4s steps(1, end) infinite, vh-flicker-soft 3.1s ease-in-out infinite alternate;
}
html body.vh .vh-vista-embers {
  background-image: radial-gradient(circle, #ffcf7a 0 1.2px, transparent 2px), radial-gradient(circle, #ff9a4a 0 1px, transparent 2px), radial-gradient(circle, #ffe3a0 0 1px, transparent 1.8px);
  background-size: 140px 160px, 190px 210px, 110px 230px; background-position: 30px 200px, 90px 150px, 10px 260px;
  opacity: .55; animation: vh-embers 18s linear infinite;
}
@keyframes vh-vista-zoom { from { transform: scale(1); } to { transform: scale(1.08) translateX(-1.5%); } }
@keyframes vh-vista-mist { to { transform: translateX(30%); } }
@keyframes vh-flicker { 0%, 100% { opacity: 1; } 37% { opacity: .82; } 41% { opacity: 1; } 73% { opacity: .9; } }
@keyframes vh-flicker-soft { to { transform: scale(1.12); } }
@keyframes vh-embers { to { background-position: 60px -120px, 50px -200px, 40px -200px; } }

html body.vh .vh-welcome > .vh-welcome-copy { position: relative; z-index: 1; max-width: 360px; padding: 28px 26px; overflow: visible; }
html body.vh .vh-welcome h1 { font: 900 clamp(24px, 2.6vw, 32px)/1.1 'Cinzel', Georgia, serif; letter-spacing: .03em; color: #f6dd9c; text-shadow: 0 2px 0 #000, 0 0 18px #000; }
html body.vh .vh-welcome p { margin: 10px 0 18px; font: 13px/1.55 Verdana, sans-serif; color: #e3d6bc; text-shadow: 0 1px 2px #000; }
html body.vh .vh-welcome .vh-action {
  padding: 8px 16px; font: 800 13px/1.3 'Martel', Georgia, serif; text-decoration: none; border: 0;
  color: #f6dd9c; background: linear-gradient(180deg, #4a3019, #24170d); box-shadow: 0 0 0 1px #0d0804, 0 0 0 2px #9c7333;
}
html body.vh .vh-welcome .vh-action-primary { color: #24170d; background: linear-gradient(180deg, #f6dd9c, #c79a4b); box-shadow: 0 0 0 1px #0d0804, inset 0 1px 0 #fff8; }
html body.vh .vh-welcome .vh-action:hover { filter: brightness(1.12); }
@media (max-width: 640px) {
  html body.vh .vh-vista::after { background: linear-gradient(0deg, #070d19f2 10%, #070d1999 60%, #070d1940); }
  html body.vh .vh-welcome > .vh-welcome-copy { max-width: none; padding-top: 120px; }
}
@media (prefers-reduced-motion: reduce) { html body.vh .vh-vista > span { animation: none !important; } }

/* ---------- highlights: Play Now and the Shop card ---------- */
html body.vh .vh-entry .vh-play {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, #7a2a1e, #4a1712 60%, #2e0e0b) !important; border: 0 !important;
  box-shadow: 0 0 0 1px #0d0804, 0 0 0 3px #c79a4b, 0 0 0 4px #0d0804, 0 0 18px #e7c47a55 !important;
  animation: vh-play-glow 2.6s ease-in-out infinite;
}
html body.vh .vh-entry .vh-play::before { /* light sweep */
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, #fff3c855 50%, transparent 65%) -150% 0 / 250% 100% no-repeat;
  animation: vh-sweep 3.8s ease-in-out infinite;
}
html body.vh .vh-entry .vh-play img { animation: vh-bob 2.6s ease-in-out infinite; filter: drop-shadow(0 0 6px #f3d48aaa); }
html body.vh .vh-entry .vh-play b { color: #fff0c4; }
html body.vh .vh-entry .vh-play:hover { filter: brightness(1.12); }
html body.vh .vh-entry .vh-play:hover img { animation-duration: .9s; }
@keyframes vh-play-glow { 50% { box-shadow: 0 0 0 1px #0d0804, 0 0 0 3px #f1d595, 0 0 0 4px #0d0804, 0 0 26px #e7c47aaa; } }
@keyframes vh-sweep { 0%, 55% { background-position: -150% 0; } 100% { background-position: 150% 0; } }
@keyframes vh-bob { 50% { transform: translateY(-2px) rotate(-4deg); } }

html body.vh .vh-right .tbox.gold { position: relative; overflow: hidden; }
html body.vh .vh-right .tbox.gold .vh-shop { position: relative; }
html body.vh .vh-right .tbox.gold .vh-shop::before { /* halo + sparkles behind the coin */
  content: ''; position: absolute; left: 50%; top: 0; width: 120px; height: 80px; margin-left: -60px; pointer-events: none;
  background:
    radial-gradient(circle, #fff7d0 0 1.3px, transparent 2px) 18px 10px / 34px 30px,
    radial-gradient(ellipse at 50% 45%, #f3d48a88, transparent 65%);
  animation: vh-twinkle 2.2s ease-in-out infinite alternate;
}
html body.vh .vh-right .tbox.gold .vh-shop img { position: relative; animation: vh-coin 5s cubic-bezier(.45, 0, .55, 1) infinite; filter: drop-shadow(0 4px 4px #0008); }
@keyframes vh-coin { 0%, 70% { transform: rotateY(0); } 85% { transform: rotateY(180deg) scale(1.08); } 100% { transform: rotateY(360deg); } }
@keyframes vh-twinkle { from { opacity: .45; } to { opacity: 1; } }
html body.vh .vh-right .tbox.gold .vbtn {
  position: relative; overflow: hidden; color: #24170d !important; text-shadow: none;
  background: linear-gradient(180deg, #f6dd9c, #c79a4b) !important; border: 0; box-shadow: 0 0 0 1px #0d0804, inset 0 1px 0 #fff8;
}
html body.vh .vh-right .tbox.gold .vbtn::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, #ffffffaa 50%, transparent 65%) -150% 0 / 250% 100% no-repeat;
  animation: vh-sweep 3.8s 1.2s ease-in-out infinite;
}
html body.vh .vh-right .tbox.gold .vbtn:hover { filter: brightness(1.08); transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) {
  html body.vh .vh-entry .vh-play, html body.vh .vh-entry .vh-play::before, html body.vh .vh-entry .vh-play img,
  html body.vh .vh-right .tbox.gold .vh-shop::before, html body.vh .vh-right .tbox.gold .vh-shop img, html body.vh .vh-right .tbox.gold .vbtn::after { animation: none !important; }
}
html body.vh .vh-feature > .vh-feature-h { padding: 8px 18px 10px; gap: 0; }
html body.vh .vh-feature-h b { font-size: 16px; line-height: 1.3; }
html body.vh .vh-feature-h time { font-size: 9.5px; }

/* ---------- login: one sheet only (the page box already frames it) ---------- */
html body.vh .vbox-b .account-login > .ph { display: none; }
html body.vh .vbox-b .account-login .auth-card {
  max-width: 400px; margin: 6px auto 4px; padding: 0; border: 0 !important; background: none !important; box-shadow: none !important;
}
html body.vh .vbox-b .account-login .auth-card::before, html body.vh .vbox-b .account-login .auth-card::after { content: none !important; }
html body.vh .vbox-b .auth-form { display: grid; gap: 12px; }
html body.vh .vbox-b .auth-form .pf label { display: block; margin-bottom: 4px; font: 800 13px/1.3 'Martel', Georgia, serif; color: #3a2616; }
html body.vh .vbox-b :is(.auth-form, .pform) :is(input[type=text], input[type=password], input[type=email], input[type=number], select, textarea) {
  width: 100%; min-height: 38px; padding: 7px 10px; border-radius: 0; font: 13px Verdana, sans-serif; color: #24170d;
  background: #fffaf0; border: 1px solid #9c7333; box-shadow: inset 0 2px 3px #6b4a2a26;
}
html body.vh .vbox-b :is(.auth-form, .pform) :is(input, select, textarea):focus { outline: 0; border-color: #24170d; box-shadow: inset 0 2px 3px #6b4a2a26, 0 0 0 2px #e7c47a; }
html body.vh .vbox-b .auth-options { display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
html body.vh .vbox-b .auth-options .check { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
html body.vh .vbox-b .auth-options input[type=checkbox] { accent-color: #9c7333; width: 15px; height: 15px; }
html body.vh .vbox-b .auth-alt { margin-top: 22px; text-align: center; }
html body.vh .vbox-b .auth-divider span { font: 900 12px/1 'Cinzel', Georgia, serif; letter-spacing: .1em; color: #7a5a30; }
html body.vh .vbox-b .auth-alt-text { margin: 8px 0 12px; font-size: 12.5px; color: #4a3626; }

/* ---------- default buttons: gold leaf (primary) and dark leather (secondary) ---------- */
html body.vh .vbox-b :is(.btn, .vbtn, button[type=submit]:not(.payment-tile):not(.cbtn), input[type=submit]) {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 8px 20px;
  border: 0 !important; border-radius: 0 !important; cursor: pointer; text-decoration: none !important;
  font: 800 13px/1.2 'Martel', Georgia, serif !important; letter-spacing: .02em; text-shadow: none !important;
  color: #f6dd9c !important; background: linear-gradient(180deg, #4a3019, #2c1c0e 60%, #1f140a) !important;
  box-shadow: 0 0 0 1px #0d0804, 0 0 0 2px #9c7333, 0 0 0 3px #0d0804, inset 0 1px 0 #f1d59533, 0 4px 8px -3px #000a !important;
  transition: filter .15s, transform .15s cubic-bezier(.16, 1, .3, 1);
}
html body.vh .vbox-b :is(.btn-gold, .auth-submit, button[type=submit]:not(.payment-tile):not(.cbtn):not(.btn-blue):not(.btn-ghost), input[type=submit]) {
  color: #24170d !important;
  background: linear-gradient(180deg, #fbe7ae, #e1b867 45%, #b98a3c 100%) !important;
  box-shadow: 0 0 0 1px #0d0804, 0 0 0 2px #7a5420, 0 0 0 3px #0d0804, inset 0 1px 0 #fff9, inset 0 -2px 0 #8a5f2299, 0 4px 8px -3px #000a !important;
}
html body.vh .vbox-b :is(.btn, .vbtn, button[type=submit]:not(.payment-tile):not(.cbtn), input[type=submit]):hover { filter: brightness(1.1); transform: translateY(-1px); }
html body.vh .vbox-b :is(.btn, .vbtn, button[type=submit]:not(.payment-tile):not(.cbtn), input[type=submit]):active { transform: translateY(1px); filter: brightness(.95); }
html body.vh .vbox-b :is(.btn, .vbtn, button[type=submit]):focus-visible { outline: 2px solid #f1d595; outline-offset: 3px; }
html body.vh .vbox-b .btn img { width: 24px; height: 24px; image-rendering: pixelated; }
html body.vh .vbox-b .auth-submit, html body.vh .vbox-b .auth-alt-button { width: 100%; }
html body.vh .vbox-b .account-login .auth-form { border: 0 !important; background: none !important; box-shadow: none !important; padding: 0 !important; }
html body.vh .vbox-b .account-login .auth-form::before, html body.vh .vbox-b .account-login .auth-form::after { content: none !important; }

/* ---------- character creation: the Oracle ---------- */
html body.vh .vbox-b .oracle { display: grid; gap: 14px; }
html body.vh .oracle-voice {
  display: grid; grid-template-columns: 84px minmax(0, 1fr); align-items: center; gap: 14px; padding: 14px 16px;
  background: radial-gradient(ellipse at 10% 50%, #3a2a5a 0, #120d1f 55%, #0a0812 100%);
  box-shadow: 0 0 0 1px #0d0804, 0 0 0 3px #9c7333, 0 0 0 4px #0d0804;
}
html body.vh .oracle-eye { position: relative; display: grid; place-items: center; width: 84px; height: 84px; }
html body.vh .oracle-eye::before {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  background: radial-gradient(circle, #b58cff66, transparent 65%); animation: vh-oracle-aura 3.2s ease-in-out infinite alternate;
}
html body.vh .oracle-eye img { position: relative; width: 72px; height: 72px; animation: vh-bob 3.2s ease-in-out infinite; filter: drop-shadow(0 0 10px #c9a2ffaa); }
@keyframes vh-oracle-aura { to { transform: scale(1.18); opacity: .6; } }
html body.vh .oracle-speech b { display: block; font: 900 13px/1.3 "Cinzel", Georgia, serif; letter-spacing: .08em; color: #d9c2ff; }
html body.vh .oracle-speech p { margin: 4px 0 0; font: italic 15px/1.5 Georgia, serif; color: #f1e6ff; text-shadow: 0 1px 2px #000; }
html body.vh .oracle-speech p.speak { animation: vh-oracle-say .6s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes vh-oracle-say { from { opacity: 0; filter: blur(3px); transform: translateY(4px); } }

html body.vh .oracle-runes { display: none; margin: 0; padding: 0; list-style: none; }
html body.vh .oracle.wizard .oracle-runes { display: flex; }
html body.vh .oracle-runes li { position: relative; flex: 1; display: grid; justify-items: center; gap: 6px; font: 700 10.5px/1.2 Verdana, sans-serif; color: #8a7458; }
html body.vh .oracle-runes li + li::before { content: ""; position: absolute; top: 12px; right: 50%; width: 100%; height: 2px; background: #c5a877; }
html body.vh .oracle-runes span {
  position: relative; z-index: 1; display: grid; place-items: center; width: 24px; height: 24px; transform: rotate(45deg);
  background: #efe2c4; box-shadow: 0 0 0 1px #9c7333; font: 800 11px/1 "Martel", Georgia, serif; color: #7a5a30;
}
html body.vh .oracle-runes span { font-size: 0; }
html body.vh .oracle-runes span::after { content: attr(data-n); font-size: 11px; transform: rotate(-45deg); }
html body.vh .oracle-runes li.done span, html body.vh .oracle-runes li.on span { background: linear-gradient(135deg, #f6dd9c, #c79a4b); color: #24170d; box-shadow: 0 0 0 1px #0d0804; }
html body.vh .oracle-runes li.on span { box-shadow: 0 0 0 1px #0d0804, 0 0 12px #e7c47a; }
html body.vh .oracle-runes li.done::before, html body.vh .oracle-runes li.on::before { background: #c79a4b; }
html body.vh .oracle-runes li.on { color: #24170d; }

html body.vh .oracle-form { display: grid; gap: 16px; }
html body.vh .oracle-step { margin: 0; padding: 0; border: 0; min-width: 0; }
html body.vh .oracle .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
html body.vh .oracle.wizard .oracle-step { display: none; }
html body.vh .oracle.wizard .oracle-step.on { display: block; animation: vh-row-in .45s cubic-bezier(.16, 1, .3, 1) both; }
html body.vh .oracle.wizard .oracle-step.on.in-back { animation-name: vh-row-in-back; }
html body.vh .oracle:not(.wizard) .oracle-step + .oracle-step { margin-top: 10px; }
html body.vh .oracle-name { display: grid; gap: 6px; max-width: 420px; margin: 6px auto; text-align: center; }
html body.vh .oracle-name input { text-align: center; font: 800 20px/1.2 "Martel", Georgia, serif !important; min-height: 48px !important; }
html body.vh .oracle-name .character-create-hint { font-size: 11px; color: #6b5238; }
html body.vh .oracle-choices { display: grid; gap: 12px; }
html body.vh .oracle-choices.two { grid-template-columns: repeat(2, minmax(0, 200px)); justify-content: center; }
html body.vh .oracle-choices.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
html body.vh .oracle-choices.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
html body.vh .oracle-card {
  position: relative; display: grid; justify-items: center; align-content: start; gap: 6px; padding: 12px 10px 14px; text-align: center; cursor: pointer;
  background: linear-gradient(180deg, #3d2815, #24170d); color: #ecd39a;
  box-shadow: 0 0 0 1px #0d0804, inset 0 0 0 1px #9c733366; transition: transform .2s cubic-bezier(.16, 1, .3, 1), box-shadow .2s;
}
html body.vh .oracle-card:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px #0d0804, inset 0 0 0 1px #e7c47a, 0 8px 14px -6px #000c; }
html body.vh .oracle-card input { position: absolute; opacity: 0; pointer-events: none; }
html body.vh .oracle-card:has(input:checked) { background: linear-gradient(180deg, #5d3d1f, #2e1d10); box-shadow: 0 0 0 1px #0d0804, 0 0 0 3px #e7c47a, 0 0 22px #e7c47a88; }
html body.vh .oracle-card:has(input:focus-visible) { outline: 2px solid #f1d595; outline-offset: 4px; }
html body.vh .oracle-card b { font: 800 15px/1.2 "Martel", Georgia, serif; color: #f6dd9c; }
html body.vh .oracle-card small { font: 11px/1.45 Verdana, sans-serif; color: #c9b48e; }
html body.vh .oracle-stage {
  display: grid; place-items: center; width: 96px; height: 96px;
  background: url("../../../images/items/generated/4526.gif") 0 0 / 64px; image-rendering: pixelated;
  box-shadow: 0 0 0 1px #0d0804, 0 0 0 2px #9c7333, inset 0 0 14px #000a;
}
html body.vh .oracle-stage img { width: 64px; height: 64px; image-rendering: pixelated; transform: scale(1.3); filter: drop-shadow(0 3px 2px #0009); }
html body.vh .oracle-card:has(input:checked) .oracle-stage img { animation: vh-bob 1.2s ease-in-out infinite; }
html body.vh .oracle-banner {
  display: grid; place-items: center; width: 64px; height: 76px; clip-path: polygon(0 0, 100% 0, 100% 82%, 50% 100%, 0 82%);
  background: linear-gradient(180deg, #8a2a1e, #4a1712); font: 900 34px/1 "Cinzel", Georgia, serif; color: #f6dd9c; text-shadow: 0 2px 0 #000;
}
html body.vh .oracle-step .account-field-hint { margin: 10px 0 0; text-align: center; font-size: 11.5px; color: #6b5238; }
html body.vh .oracle-summary { display: flex; justify-content: center; align-items: center; gap: 22px; padding: 6px; }
html body.vh .oracle-stage.big { width: 140px; height: 140px; }
html body.vh .oracle-stage.big img { transform: scale(1.8); }
html body.vh .oracle-summary dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; }
html body.vh .oracle-summary dt { font: 700 11px/1.6 Verdana, sans-serif; text-transform: uppercase; letter-spacing: .08em; color: #7a5a30; }
html body.vh .oracle-summary dd { margin: 0; font: 800 16px/1.4 "Martel", Georgia, serif; color: #24170d; }
html body.vh .oracle-nav { display: flex; justify-content: center; gap: 12px; }
html body.vh .oracle-nav [hidden] { display: none !important; }
html body.vh .oracle-nav button:disabled { opacity: .5; cursor: not-allowed; transform: none; }
@media (max-width: 720px) {
  html body.vh .oracle-choices.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html body.vh .oracle-choices.three { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html body.vh .oracle * { animation: none !important; } }

/* ---------- account status block: side padding ---------- */
html body.vh .vbox-b .aac-block > :not(.ph):not(.twrap) { margin-inline: 14px; }
html body.vh .vbox-b .aac-block { padding-bottom: 14px; }

/* ---------- single-block pages: the page box is the only frame (no card inside a card) ---------- */
html body.vh .vbox.page > .vbox-b > section:is(.parch, .aac-block):only-of-type { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; margin: 0 !important; }
html body.vh .vbox.page > .vbox-b > section:is(.parch, .aac-block):only-of-type > .ph { display: none; }
html body.vh .vbox.page > .vbox-b > section:is(.parch, .aac-block):only-of-type > :not(.ph) { margin-inline: 0; }
html body.vh .vbox.page > .vbox-b > section:is(.parch, .aac-block):only-of-type :is(.pform, .pb) { border: 0 !important; background: none !important; box-shadow: none !important; padding-inline: 0 !important; }
html body.vh .vbox.page > .vbox-b > section:is(.parch, .aac-block):only-of-type .pform::before,
html body.vh .vbox.page > .vbox-b > section:is(.parch, .aac-block):only-of-type .pform::after { content: none !important; }

/* ---------- account status (acc-hero) ---------- */
html body.vh .vbox-b .acc-hero { padding: 0 0 16px; }
html body.vh .vbox-b .acc-hero > :not(.ph) { margin-inline: 16px; }
html body.vh .vbox-b .acc-hero .coin-balance {
  position: relative; display: flex; align-items: center; gap: 16px; margin-top: 14px; padding: 14px 18px; overflow: hidden;
  background: linear-gradient(90deg, #0a1324f2, #0a1324c4), url("../assets/northern-gates.webp") center 40% / cover;
  border: 0; border-radius: 0; box-shadow: 0 0 0 1px #0d0804, 0 0 0 3px #9c7333, 0 0 0 4px #0d0804;
}
html body.vh .vbox-b .acc-hero .coin-balance img { width: 64px; height: 64px; filter: drop-shadow(0 0 10px #f3d48a99); animation: vh-coin 6s cubic-bezier(.45, 0, .55, 1) infinite; }
html body.vh .vbox-b .acc-hero .coin-balance span { display: grid; }
html body.vh .vbox-b .acc-hero .coin-balance small { font: 11px/1.4 Verdana, sans-serif; color: #c9b48e; }
html body.vh .vbox-b .acc-hero .coin-balance strong { font: 800 34px/1.05 "Martel", Georgia, serif; color: #f6dd9c; text-shadow: 0 2px 0 #000, 0 0 14px #c79a4b66; font-variant-numeric: tabular-nums; }
html body.vh .vbox-b .acc-hero .kv { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
html body.vh .vbox-b .acc-hero .kv > div {
  display: grid; grid-template-columns: 36px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 10px; align-items: center;
  padding: 10px 12px; background: linear-gradient(180deg, #3d2815, #24170d); border: 0; border-radius: 0;
  box-shadow: 0 0 0 1px #0d0804, inset 0 0 0 1px #9c733366, inset 0 1px 0 #f1d59526;
}
html body.vh .vbox-b .acc-hero .kv > div::before {
  content: ""; grid-row: 1 / 3; width: 36px; height: 36px; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #4a3a2a, #1f160d) center / cover;
  box-shadow: 0 0 0 1px #0d0804, 0 0 0 2px #9c7333;
}
html body.vh .vbox-b .acc-hero .kv > div:nth-child(1)::before { background: url("../../../images/items/generated/2128.gif") center / 32px no-repeat, radial-gradient(circle at 50% 40%, #4a3a2a, #1f160d); }
html body.vh .vbox-b .acc-hero .kv > div:nth-child(2)::before { background: url("../../../images/items/generated/1949.gif") center / 32px no-repeat, radial-gradient(circle at 50% 40%, #4a3a2a, #1f160d); }
html body.vh .vbox-b .acc-hero .kv > div:nth-child(3)::before { background: url("../../../images/items/generated/2342.gif") center / 32px no-repeat, radial-gradient(circle at 50% 40%, #4a3a2a, #1f160d); }
html body.vh .vbox-b .acc-hero .kv > div:nth-child(4)::before { background: url("../../../images/items/generated/2091.gif") center / 32px no-repeat, radial-gradient(circle at 50% 40%, #4a3a2a, #1f160d); }
html body.vh .vbox-b .acc-hero .kv small { align-self: end; font: 700 10px/1.3 Verdana, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #c9b48e; }
html body.vh .vbox-b .acc-hero .kv b { align-self: start; font: 800 18px/1.2 "Martel", Georgia, serif; color: #f6dd9c; }
html body.vh .vbox-b .acc-hero .kv b.on { color: #9fe07a; }
html body.vh .vbox-b .acc-hero .kv b.off { color: #ff9a7a; }
html body.vh .vbox-b .acc-hero .actions { display: flex; justify-content: center; gap: 12px; margin-top: 16px; }
@media (max-width: 720px) { html body.vh .vbox-b .acc-hero .kv { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* buttons: calm pressed state (no jump, no flash) */
html body.vh .vbox-b :is(.btn, .vbtn, button[type=submit]:not(.payment-tile):not(.cbtn), input[type=submit]):active {
  transform: none; filter: brightness(.92);
  box-shadow: 0 0 0 1px #0d0804, 0 0 0 2px #7a5420, 0 0 0 3px #0d0804, inset 0 2px 4px #0006 !important;
}
html body.vh .vbox-b :is(.btn, .vbtn, button[type=submit]):focus:not(:focus-visible) { outline: 0; }
html body.vh .vh-right .tbox.gold .vbtn:active { transform: none; filter: brightness(.92); box-shadow: 0 0 0 1px #0d0804, inset 0 2px 4px #0006; }
html body.vh .vh-right .tbox.gold .vbtn:focus:not(:focus-visible) { outline: 0; }

/* ---------- Oracle v2: one conversation, no steps bar (mobile first) ---------- */
html body.vh .oracle-shrine {
  position: relative; display: grid; place-items: center; height: 170px; overflow: hidden;
  background: radial-gradient(ellipse 45% 60% at 50% 70%, #f3d48a55, transparent 70%), radial-gradient(ellipse at 50% 100%, #2a2140, #0a0812 75%);
  box-shadow: 0 0 0 1px #0d0804, 0 0 0 3px #9c7333, 0 0 0 4px #0d0804;
}
html body.vh .oracle-statue { position: relative; z-index: 1; }
html body.vh .oracle-statue img { width: 128px; height: 128px; image-rendering: pixelated; filter: drop-shadow(0 0 14px #f3d48acc); animation: vh-oracle-float 4s ease-in-out infinite; }
@keyframes vh-oracle-float { 50% { transform: translateY(-6px); filter: drop-shadow(0 0 22px #fff1c4); } }
html body.vh .oracle-motes { position: absolute; inset: 0;
  background-image: radial-gradient(circle, #fff3c8 0 1.2px, transparent 2px), radial-gradient(circle, #d9c2ff 0 1px, transparent 2px);
  background-size: 90px 110px, 140px 90px; animation: vh-embers 14s linear infinite; opacity: .7; }

html body.vh .oracle-talk { display: grid; gap: 18px; }
html body.vh .oracle-turn { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 10px; }
html body.vh .oracle-turn[hidden] { display: none; }
html body.vh .oracle-says {
  position: relative; display: block; float: none; width: auto; max-width: 92%; margin: 0; padding: 10px 14px 11px 58px;
  font: italic 14.5px/1.5 Georgia, serif; color: #f1e6ff;
  background: linear-gradient(180deg, #2a1f3f, #171024); box-shadow: 0 0 0 1px #0d0804, inset 0 0 0 1px #8a6fc055;
}
html body.vh .oracle-says::before {
  content: ""; position: absolute; left: 8px; top: 50%; width: 40px; height: 40px; margin-top: -20px;
  background: url("../../../images/items/generated/1448.gif") center / 40px no-repeat; image-rendering: pixelated; filter: drop-shadow(0 0 4px #f3d48a99);
}
html body.vh .oracle-says b { display: block; font: 900 11px/1.3 "Cinzel", Georgia, serif; font-style: normal; letter-spacing: .08em; color: #d9c2ff; }
html body.vh .oracle-reply {
  justify-self: end; max-width: 80%; padding: 8px 14px; border: 0; cursor: pointer; text-align: right;
  font: 800 14px/1.3 "Martel", Georgia, serif; color: #24170d;
  background: linear-gradient(180deg, #f6dd9c, #c79a4b); box-shadow: 0 0 0 1px #0d0804, inset 0 1px 0 #fff8;
}
html body.vh .oracle-reply::after { content: " ✎"; font-size: 11px; opacity: .55; }
html body.vh .oracle-reply:hover { filter: brightness(1.06); }
html body.vh .oracle-reply[hidden] { display: none; }
html body.vh .oracle.talking .oracle-turn.done > .oracle-answer { display: none; }
html body.vh .oracle.talking .oracle-turn.open > .oracle-answer { animation: vh-rise .4s cubic-bezier(.16, 1, .3, 1) both; }
html body.vh .oracle-turn.arrive > .oracle-says { animation: vh-oracle-say .6s cubic-bezier(.16, 1, .3, 1) both; }
html body.vh .oracle-name { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; }
html body.vh .oracle-name input { flex: 1; min-width: 0; text-align: left; font: 800 18px/1.2 "Martel", Georgia, serif !important; min-height: 46px !important; }
html body.vh .oracle-name .btn { flex: none; min-height: 46px; }
html body.vh .oracle-answer > .character-create-hint { display: block; margin-top: 6px; text-align: center; font-size: 11px; color: #6b5238; }
html body.vh .oracle-answer .character-name-status { display: block; text-align: center; }
html body.vh .oracle-final .oracle-answer { display: grid; gap: 14px; }
html body.vh .oracle-runes, html body.vh .oracle-voice { display: none !important; }
@media (max-width: 560px) {
  html body.vh .oracle-shrine { height: 130px; }
  html body.vh .oracle-statue img { width: 96px; height: 96px; }
  html body.vh .oracle-says { max-width: 100%; }
  html body.vh .oracle-choices.two, html body.vh .oracle-choices.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html body.vh .oracle-card small { display: none; }
  html body.vh .oracle-summary { flex-direction: column; }
}
html body.vh .oracle [hidden] { display: none !important; }

/* ---------- server info ---------- */
html body.vh .vbox-b .si-sec, html body.vh .vbox-b .parch:has(.si-vocs) { padding: 0 0 16px; }
html body.vh .vbox-b :is(.si-sec, .parch:has(.si-vocs)) > :not(.ph) { margin-inline: 16px; }
html body.vh .vbox-b :is(.si-sec, .parch:has(.si-vocs)) > .ph { margin-bottom: 14px; }

/* rates: four leather plaques */
html body.vh .vbox-b .si-rates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-block: 0; padding: 0; list-style: none; }
html body.vh .vbox-b .si-card {
  display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: center; gap: 14px; padding: 14px 16px; text-align: left;
  background: linear-gradient(180deg, #3d2815, #24170d); border: 0; border-radius: 0;
  box-shadow: 0 0 0 1px #0d0804, inset 0 0 0 1px #9c733366, inset 0 1px 0 #f1d59526;
}
html body.vh .vbox-b .si-icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 0;
  background: radial-gradient(circle at 50% 40%, #4a3a2a, #1f160d); box-shadow: 0 0 0 1px #0d0804, 0 0 0 3px #c79a4b, 0 0 0 4px #0d0804;
}
html body.vh .vbox-b .si-icon img { width: 32px; height: 32px; image-rendering: pixelated; }
html body.vh .vbox-b .si-body { display: grid; gap: 2px; }
html body.vh .vbox-b .si-body small { font: 700 10.5px/1.3 Verdana, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #c9b48e; }
html body.vh .vbox-b .si-body b { font: 800 26px/1.1 "Martel", Georgia, serif; color: #f6dd9c; text-shadow: 0 2px 0 #000; font-variant-numeric: tabular-nums; }
html body.vh .vbox-b .si-body > span { font: 11px/1.45 Verdana, sans-serif; color: #d8c8a6; }
html body.vh .vbox-b .si-perk {
  display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 12px; padding: 8px 14px;
  background: linear-gradient(90deg, transparent, #c79a4b33 20%, #c79a4b33 80%, transparent); border: 0;
  font: 700 12px/1.4 Verdana, sans-serif; color: #4a2a14;
}

/* stages: heat-coloured rate chips and rows */
html body.vh .vbox-b .si-lead { max-width: 62ch; margin: 0 auto 14px !important; font-size: 12px; color: #5b4633; }
html body.vh .vbox-b .si-stage-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
html body.vh .vbox-b .si-stage-panel { min-width: 0; padding: 0; background: #f8efdb; box-shadow: 0 0 0 1px #c5a877; }
html body.vh .vbox-b .si-stage-wide { grid-column: 1 / -1; }
html body.vh .vbox-b .si-stage-h {
  display: flex; align-items: center; gap: 10px; margin: 0; padding: 8px 12px;
  font: 800 15px/1.2 "Martel", Georgia, serif; color: #f6dd9c; background: linear-gradient(180deg, #4a3019, #24170d); box-shadow: inset 0 -1px 0 #9c7333;
}
html body.vh .vbox-b .si-stage-h img { width: 32px; height: 32px; image-rendering: pixelated; }
html body.vh .vbox-b .si-stage-panel .twrap { margin: 0; }
html body.vh .vbox-b .si-stage-panel .catalogue-filters { margin: 0; padding: 8px 12px; background: #efe2c4 !important; border: 0 !important; border-bottom: 1px solid #c5a877 !important; }
html body.vh .vbox-b .si-stage-panel .catalogue-filters label { display: flex; align-items: center; gap: 8px; font: 700 12px/1 Verdana, sans-serif; color: #4a3626; }
html body.vh .vbox-b .si-stage-panel .catalogue-filters input { width: 110px !important; min-height: 30px !important; }
html body.vh .vbox-b .si-stages { width: 100%; border: 0 !important; }
html body.vh .vbox-b .si-stages tbody tr > * { background: linear-gradient(90deg, rgb(199 154 75 / calc(var(--heat, 0) * .35)), transparent 70%) !important; }
html body.vh .vbox-b .si-stages tbody th { width: 90px; padding: 5px 12px; text-align: left; }
html body.vh .vbox-b .si-rate {
  display: inline-block; min-width: 42px; padding: 2px 8px; text-align: center; border-radius: 0;
  font: 800 12px/1.4 "Martel", Georgia, serif; color: #24170d;
  background: linear-gradient(180deg, #f6dd9c, #c79a4b); box-shadow: 0 0 0 1px #0d0804;
  filter: saturate(calc(.35 + var(--heat, 0) * .9)) brightness(calc(.85 + var(--heat, 0) * .2));
}
html body.vh .vbox-b .si-stages td.num { font: 700 13px/1.4 Verdana, sans-serif; color: #24170d; font-variant-numeric: tabular-nums; }
html body.vh .vbox-b .si-stage-note { margin: 0; padding: 8px 12px 10px; font-size: 11px; line-height: 1.45; color: #6b5238; border-top: 1px solid #c5a87766; }

/* world facts: tiles */
html body.vh .vbox-b .si-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-block: 0; padding: 0; list-style: none; }
html body.vh .vbox-b .si-facts li {
  display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 10px; padding: 10px 12px; border: 0;
  background: linear-gradient(180deg, #3d2815, #24170d); box-shadow: 0 0 0 1px #0d0804, inset 0 0 0 1px #9c733366;
}
html body.vh .vbox-b .si-facts img { width: 32px; height: 32px; padding: 4px; box-sizing: content-box; image-rendering: pixelated; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #4a3a2a, #1f160d); box-shadow: 0 0 0 1px #0d0804, 0 0 0 2px #9c7333; }
html body.vh .vbox-b .si-facts span { display: grid; }
html body.vh .vbox-b .si-facts small { font: 700 10px/1.3 Verdana, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #c9b48e; }
html body.vh .vbox-b .si-facts b { font: 800 15px/1.25 "Martel", Georgia, serif; color: #f6dd9c; }

/* vocations table + rules note */
html body.vh .vbox-b .si-vocs td, html body.vh .vbox-b .si-vocs th { white-space: nowrap; }
html body.vh .vbox-b .parch:has(.si-vocs) > .pb { margin-top: 10px; font-size: 12px; color: #5b4633; }
html body.vh .vbox-b .note.red {
  display: flex; align-items: center; gap: 12px; margin-top: 4px; padding: 12px 16px; border: 0; border-radius: 0;
  background: linear-gradient(180deg, #4a1712, #2e0e0b); color: #f3d6c8; box-shadow: 0 0 0 1px #0d0804, 0 0 0 2px #9c3a2a;
}
html body.vh .vbox-b .note.red a { color: #f6dd9c; font-weight: 700; }

@media (max-width: 720px) {
  html body.vh .vbox-b .si-rates, html body.vh .vbox-b .si-stage-grid { grid-template-columns: 1fr; }
  html body.vh .vbox-b .si-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html body.vh .vbox-b .si-body b { font-size: 22px; }
}

/* stage tables: compact header row */
html body.vh .vbox-b .si-stages thead th { padding: 0 !important; height: 32px; }
html body.vh .vbox-b .si-stages thead .table-sort { min-height: 0 !important; height: 32px; padding: 0 12px !important; width: 100%; justify-content: flex-start;
  background: none !important; box-shadow: none !important; color: #f6dd9c !important; font: 800 12px/1 "Martel", Georgia, serif !important; transform: none !important; }
html body.vh .vbox-b .si-stages thead th.num .table-sort { justify-content: center; }
html body.vh .vbox-b .si-stages td.num { text-align: center; }
html body.vh .vbox-b .si-facts li { align-items: center; }
html body.vh .vbox-b .si-facts b { font-size: 14px; }

/* buttons v3: one clean bronze edge instead of the triple ring */
html body.vh .vbox-b :is(.btn, .vbtn, button[type=submit]:not(.payment-tile):not(.cbtn):not(.table-sort), input[type=submit]) {
  min-height: 36px; padding: 8px 22px; letter-spacing: .03em;
  color: #f3dca0 !important; text-shadow: 0 1px 0 #000 !important;
  background: linear-gradient(180deg, #5a3d22 0%, #3a2614 48%, #2a1b0e 52%, #24170d 100%) !important;
  box-shadow: inset 0 0 0 1px #c79a4b88, inset 0 1px 0 #f1d59566, 0 0 0 1px #0d0804, 0 3px 6px -2px #000c !important;
}
html body.vh .vbox-b :is(.btn-gold, .auth-submit, button[type=submit]:not(.payment-tile):not(.cbtn):not(.btn-blue):not(.btn-ghost):not(.table-sort), input[type=submit]) {
  color: #2a1a0b !important; text-shadow: 0 1px 0 #f8e3a888 !important;
  background: linear-gradient(180deg, #f3d589 0%, #d9ad5c 48%, #c4923f 52%, #a87a2f 100%) !important;
  box-shadow: inset 0 0 0 1px #7a54208c, inset 0 1px 0 #fff4c8, inset 0 -1px 0 #6b4a1a66, 0 0 0 1px #3a2408, 0 3px 6px -2px #000c !important;
}
html body.vh .vbox-b :is(.btn, .vbtn, button[type=submit]:not(.payment-tile):not(.cbtn):not(.table-sort), input[type=submit]):hover { filter: brightness(1.08); transform: none; }
html body.vh .vbox-b :is(.btn, .vbtn, button[type=submit]:not(.payment-tile):not(.cbtn):not(.table-sort), input[type=submit]):active {
  filter: brightness(.94); box-shadow: inset 0 0 0 1px #0006, inset 0 2px 5px #0007, 0 0 0 1px #0d0804 !important;
}

/* ---------- Oracle v3: one centred column, consistent rhythm ---------- */
html body.vh .vbox-b .oracle { gap: 22px; max-width: 600px; margin: 4px auto 8px; }
html body.vh .oracle-shrine { height: 150px; }
html body.vh .oracle-talk { gap: 26px; }
html body.vh .oracle-turn { gap: 12px; }
html body.vh .oracle-says {
  max-width: 100%; padding: 12px 16px 13px 64px; border-radius: 0;
  font-size: 14px; line-height: 1.55;
}
html body.vh .oracle-says::before { left: 12px; width: 40px; height: 40px; margin-top: -20px; background-size: 40px; }
html body.vh .oracle-says::after { /* speech tail */
  content: ""; position: absolute; left: 30px; bottom: -8px; width: 14px; height: 14px; transform: rotate(45deg);
  background: #171024; box-shadow: 1px 1px 0 #0d0804;
}
html body.vh .oracle-turn.done .oracle-says, html body.vh .oracle-turn:has(.oracle-reply:not([hidden])) .oracle-says { opacity: .78; }
html body.vh .oracle-reply { position: relative; margin-top: 4px; padding: 9px 16px; font-size: 14px; }
html body.vh .oracle-reply::before {
  content: ""; position: absolute; right: 22px; top: -6px; width: 12px; height: 12px; transform: rotate(45deg);
  background: #f3d589; box-shadow: -1px -1px 0 #0d0804;
}
html body.vh .oracle-answer { display: grid; gap: 8px; }
html body.vh .oracle-name { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; max-width: none; width: 100%; margin: 0; }
html body.vh .oracle-name input { min-height: 44px !important; font-size: 17px !important; }
html body.vh .oracle-name .btn { min-height: 44px; padding-inline: 20px; }
html body.vh .oracle-answer > .character-create-hint { margin: 0; text-align: left; }
html body.vh .oracle-answer .character-name-status { text-align: left; }
html body.vh .oracle-choices { gap: 12px; width: 100%; }
html body.vh .oracle-choices.two { grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: stretch; }
html body.vh .oracle-choices.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
html body.vh .oracle-choices.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
html body.vh .oracle-card { padding: 14px 12px 16px; gap: 8px; }
html body.vh .oracle-card.voc { grid-template-columns: 96px minmax(0, 1fr); grid-template-rows: auto 1fr; justify-items: start; text-align: left; column-gap: 14px; align-items: center; }
html body.vh .oracle-card.voc .oracle-stage { grid-row: 1 / 3; }
html body.vh .oracle-card.voc b { align-self: end; }
html body.vh .oracle-card.voc small { align-self: start; }
html body.vh .oracle-final .oracle-summary { padding: 14px; background: #f8efdb; box-shadow: 0 0 0 1px #c5a877; }
html body.vh .oracle-final .oracle-nav { margin-top: 4px; }
@media (max-width: 560px) {
  html body.vh .vbox-b .oracle { gap: 16px; }
  html body.vh .oracle-talk { gap: 20px; }
  html body.vh .oracle-says { padding-left: 56px; font-size: 13.5px; }
  html body.vh .oracle-says::before { left: 8px; }
  html body.vh .oracle-name { grid-template-columns: 1fr; }
  html body.vh .oracle-choices.four { grid-template-columns: 1fr; }
  html body.vh .oracle-card.voc small { display: block; }
  html body.vh .oracle-choices.three { grid-template-columns: 1fr; }
  html body.vh .oracle-card.town { grid-template-columns: 52px minmax(0, 1fr); justify-items: start; text-align: left; column-gap: 12px; }
  html body.vh .oracle-card.town .oracle-banner { grid-row: 1 / 3; width: 48px; height: 58px; font-size: 26px; }
}
html body.vh .oracle-says { width: 100%; box-sizing: border-box; }

/* ---------- Oracle v4: whole form visible, the Oracle reacts beside it ---------- */
html body.vh .vbox-b .oracle.oracle-side { display: grid; grid-template-columns: 180px minmax(0, 1fr); align-items: start; gap: 22px; max-width: none; margin: 4px 0 6px; }
html body.vh .oracle-guide { position: sticky; top: 16px; display: grid; justify-items: center; gap: 0; }
html body.vh .oracle-guide .oracle-statue {
  display: grid; place-items: center; width: 150px; height: 150px; border-radius: 50%;
  background: radial-gradient(circle at 50% 60%, #f3d48a66, #2a2140 55%, #0a0812 75%); box-shadow: 0 0 0 1px #0d0804, 0 0 0 3px #9c7333, 0 0 0 4px #0d0804, 0 0 24px #b58cff44;
}
html body.vh .oracle-guide .oracle-statue img { width: 112px; height: 112px; }
html body.vh .oracle-bubble {
  position: relative; display: grid; gap: 4px; width: 100%; box-sizing: border-box; margin: 14px 0 0; padding: 11px 13px 12px; min-height: 92px;
  background: linear-gradient(180deg, #2a1f3f, #171024); box-shadow: 0 0 0 1px #0d0804, inset 0 0 0 1px #8a6fc066, 0 6px 14px -6px #000c;
  font: italic 13.5px/1.5 Georgia, serif; color: #f1e6ff;
}
html body.vh .oracle-bubble::before { content: ""; position: absolute; left: 50%; top: -7px; width: 14px; height: 14px; margin-left: -7px; transform: rotate(45deg); background: #2a1f3f; box-shadow: -1px -1px 0 #0d0804; }
html body.vh .oracle-bubble b { font: 900 11px/1.3 "Cinzel", Georgia, serif; font-style: normal; letter-spacing: .08em; color: #d9c2ff; }
html body.vh .oracle-guide.speak .oracle-bubble span { animation: vh-oracle-say .45s cubic-bezier(.16, 1, .3, 1) both; }
html body.vh .oracle-guide.speak .oracle-statue img { animation: vh-oracle-nod .5s ease-out, vh-oracle-float 4s ease-in-out .5s infinite; }
@keyframes vh-oracle-nod { 40% { transform: translateY(-8px) scale(1.04); filter: drop-shadow(0 0 22px #fff1c4); } }

html body.vh .oracle-sheet { min-width: 0; }
html body.vh .oracle-form { display: grid; gap: 20px; }
html body.vh .oracle-field { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 8px; }
html body.vh .oracle-label { padding: 0; font: 900 13px/1.3 "Cinzel", Georgia, serif; letter-spacing: .06em; color: #4a2a14; }
html body.vh .oracle-field input[type=text] { min-height: 44px !important; font: 800 17px/1.2 "Martel", Georgia, serif !important; }
html body.vh .oracle-field .character-create-hint { font-size: 11px; color: #6b5238; }
html body.vh .oracle-field.nudge { animation: vh-nudge .5s ease-in-out 2; }
@keyframes vh-nudge { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } 50% { filter: drop-shadow(0 0 8px #e7c47a); } }
html body.vh .oracle-side .oracle-choices.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
html body.vh .oracle-side .oracle-choices.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
html body.vh .oracle-side .oracle-choices.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
html body.vh .oracle-side .oracle-card, html body.vh .oracle-side .oracle-card.voc, html body.vh .oracle-side .oracle-card.town {
  display: grid; grid-template-columns: none; grid-template-rows: none; justify-items: center; text-align: center; padding: 12px 8px; gap: 8px;
}
html body.vh .oracle-side .oracle-card .oracle-stage { width: 80px; height: 80px; grid-row: auto; }
html body.vh .oracle-side .oracle-card.town .oracle-banner { grid-row: auto; width: 52px; height: 62px; font-size: 28px; }
html body.vh .oracle-side .account-field-hint { margin: 2px 0 0; font-size: 11px; color: #6b5238; }
html body.vh .oracle-side .oracle-nav { justify-content: flex-end; padding-top: 6px; border-top: 1px solid #c5a87788; }
html body.vh .oracle-nav [data-submit].ready { animation: vh-play-glow 2s ease-in-out infinite; }

@media (max-width: 760px) {
  html body.vh .vbox-b .oracle.oracle-side { grid-template-columns: 1fr; gap: 14px; }
  html body.vh .oracle-guide {
    top: 0; z-index: 5; grid-template-columns: 56px minmax(0, 1fr); align-items: center; gap: 10px; padding: 8px;
    background: #0a0812ee; box-shadow: 0 0 0 1px #0d0804, 0 0 0 2px #9c7333; margin-inline: -4px;
  }
  html body.vh .oracle-guide .oracle-statue { width: 56px; height: 56px; }
  html body.vh .oracle-guide .oracle-statue img { width: 48px; height: 48px; }
  html body.vh .oracle-bubble { margin: 0; min-height: 0; padding: 6px 10px; font-size: 12.5px; }
  html body.vh .oracle-bubble::before { left: -7px; top: 50%; margin: -7px 0 0; }
  html body.vh .oracle-side .oracle-choices.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html body.vh .oracle-side .oracle-choices.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  html body.vh .oracle-side .oracle-nav { justify-content: stretch; }
  html body.vh .oracle-side .oracle-nav > * { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { html body.vh .oracle-guide * , html body.vh .oracle-field.nudge { animation: none !important; } }

/* tables: row headers (tbody th) are ordinary cells, only thead is leather */
html body.vh .vbox-b .tt tbody th, html body.vh .vbox-b table > tbody > tr > th {
  background: #f8efdb !important; color: #24170d !important; box-shadow: none !important; border: 0 !important;
  border-bottom: 1px solid #c5a87766 !important; font: 700 12px/1.4 Verdana, sans-serif !important; text-align: left; vertical-align: middle; padding: 6px 10px !important;
}
html body.vh .vbox-b .tt tbody tr:nth-child(even) > th { background: #efe2c4 !important; }
html body.vh .vbox-b .tt tbody tr:hover > th { background: #fff7e3 !important; }
html body.vh .vbox-b .tt tbody th a { color: #24170d; font: 800 14px/1.3 "Martel", Georgia, serif; text-decoration: none; }
html body.vh .vbox-b .tt tbody th a:hover { color: #7a4f18; text-decoration: underline; text-underline-offset: 3px; }
html body.vh .vbox-b .tt tbody th small, html body.vh .vbox-b .tt tbody th .muted { color: #7a5a30 !important; font-weight: 700; }
html body.vh .vbox-b .tt td a { text-underline-offset: 3px; }
html body.vh .vbox-b .tt td, html body.vh .vbox-b .tt tbody th { border-inline: 0 !important; }
html body.vh .vbox-b .tt { box-shadow: 0 0 0 1px #c5a877; }

/* ---------- catalogue filter bars: one row, one field height ---------- */
html body.vh .vbox-b .catalogue-filters {
  display: flex !important; flex-wrap: wrap; align-items: flex-end; gap: 10px 12px; padding: 12px 14px !important;
  background: #efe2c4 !important; border: 0 !important; box-shadow: 0 0 0 1px #c5a877 !important; border-radius: 0 !important;
}
html body.vh .vbox-b .catalogue-filters > label { display: grid; gap: 4px; flex: 1 1 150px; min-width: 0; margin: 0;
  font: 900 11px/1.2 "Cinzel", Georgia, serif !important; letter-spacing: .06em; color: #4a2a14; }
html body.vh .vbox-b .catalogue-filters :is(input[type=search], input[type=number], input[type=text], select) {
  width: 100% !important; height: 38px !important; min-height: 38px !important; padding: 0 10px !important; box-sizing: border-box;
  font: 13px Verdana, sans-serif !important; color: #24170d; background: #fffaf0 !important;
  border: 1px solid #9c7333 !important; border-radius: 0 !important; box-shadow: inset 0 2px 3px #6b4a2a26 !important;
}
html body.vh .vbox-b .catalogue-filters .rpg-select { width: 100%; }
html body.vh .vbox-b .catalogue-filters .rpg-select-trigger {
  width: 100% !important; height: 38px !important; min-height: 38px !important; padding: 0 10px !important; justify-content: space-between !important;
  font: 13px Verdana, sans-serif !important; letter-spacing: 0 !important; text-shadow: none !important;
  color: #24170d !important; background: #fffaf0 !important; border: 1px solid #9c7333 !important; border-radius: 0 !important;
  box-shadow: inset 0 2px 3px #6b4a2a26 !important; transform: none !important; filter: none !important;
}
html body.vh .vbox-b .catalogue-filters .rpg-select-trigger .select-chevron { color: #9c7333; }
html body.vh .vbox-b .catalogue-filters .rpg-select-trigger[aria-expanded=true] { border-color: #24170d !important; box-shadow: inset 0 2px 3px #6b4a2a26, 0 0 0 2px #e7c47a !important; }
html body.vh .vbox-b .catalogue-filters > :is(.btn, button[type=submit]) { flex: none; height: 38px !important; min-height: 38px !important; padding: 0 18px !important; margin: 0 !important; }
html body.vh .vbox-b .catalogue-filters :focus-visible { outline: 2px solid #e7c47a; outline-offset: 1px; }
html body.vh .vbox-b .rpg-select-popup { border: 1px solid #9c7333 !important; border-radius: 0 !important; background: #fffaf0 !important; box-shadow: 0 8px 18px -6px #000a !important; }
html body.vh .vbox-b .catalogue-filters .rpg-select .rpg-select-trigger.rpg-select-trigger.rpg-select-trigger {
  color: #24170d !important; text-shadow: none !important; background: #fffaf0 !important;
  box-shadow: inset 0 2px 3px #6b4a2a26 !important; font: 13px Verdana, sans-serif !important;
}
html body.vh .vbox-b .catalogue-filters > label { flex-basis: 110px; }

/* ---------- Oracle v5: a scene on the game floor, one question at a time ---------- */
html body.vh .vbox-b .oracle.oracle-scene { display: grid; gap: 16px; max-width: 640px; margin: 2px auto 6px; grid-template-columns: none; }
html body.vh .scene {
  position: relative; height: 270px; overflow: hidden; image-rendering: pixelated;
  background:
    radial-gradient(ellipse 70% 55% at 50% 62%, transparent 30%, #0a0812d9 100%),
    linear-gradient(180deg, #0a0812cc 0, transparent 38%),
    url("../../../images/items/generated/4526.gif") 0 0 / 64px;
  box-shadow: 0 0 0 1px #0d0804, 0 0 0 3px #9c7333, 0 0 0 4px #0d0804, inset 0 0 30px #000a;
}
html body.vh .scene-light { position: absolute; inset: -30% 15% 25%; background: conic-gradient(from 180deg at 50% 0, transparent 160deg, #fff3c82e 175deg, #fff3c84d 180deg, #fff3c82e 185deg, transparent 200deg); animation: vh-shaft 6s ease-in-out infinite alternate; pointer-events: none; }
html body.vh .scene-oracle { position: absolute; left: 9%; bottom: 46px; }
html body.vh .scene-oracle img { width: 128px; height: 128px; filter: drop-shadow(0 0 14px #f3d48aaa) drop-shadow(0 6px 4px #000a); animation: vh-oracle-float 4s ease-in-out infinite; }
html body.vh .scene-bubble {
  position: absolute; left: 7%; top: 14px; width: min(56%, 330px); margin: 0; padding: 9px 12px 10px; z-index: 3;
  background: linear-gradient(180deg, #2a1f3fee, #171024ee); box-shadow: 0 0 0 1px #0d0804, inset 0 0 0 1px #8a6fc066, 0 6px 14px -6px #000c;
  font: italic 13px/1.45 Georgia, serif; color: #f1e6ff;
}
html body.vh .scene-bubble::after { content: ""; position: absolute; left: 60px; bottom: -7px; width: 13px; height: 13px; transform: rotate(45deg); background: #171024; box-shadow: 1px 1px 0 #0d0804; }
html body.vh .scene-bubble b { display: block; font: 900 10.5px/1.3 "Cinzel", Georgia, serif; font-style: normal; letter-spacing: .08em; color: #d9c2ff; }
html body.vh .scene-bubble.speak span { animation: vh-oracle-say .45s cubic-bezier(.16, 1, .3, 1) both; }
html body.vh .scene-hero { position: absolute; left: 60%; bottom: 34px; display: grid; justify-items: center; z-index: 2; }
html body.vh .scene-hero img { width: 64px; height: 64px; transform: scale(2.4); transform-origin: 50% 100%; filter: brightness(0) opacity(.35); transition: filter .5s; }
html body.vh .scene-hero.formed img { filter: drop-shadow(0 2px 1px #000a); animation: vh-hero-idle 1.8s ease-in-out infinite; }
html body.vh .scene-shadow { width: 90px; height: 14px; margin-top: -2px; border-radius: 50%; background: radial-gradient(#000a, transparent 70%); }
html body.vh .scene-name {
  position: relative; top: -98px; min-height: 18px; font: 700 13px/1 Verdana, sans-serif; color: #49ce3a; opacity: 0; transition: opacity .3s;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}
html body.vh .scene-hero.named .scene-name { opacity: 1; }
html body.vh .scene-hero.appear img { animation: vh-hero-appear .9s cubic-bezier(.16, 1, .3, 1); }
html body.vh .scene-hero.change::after, html body.vh .scene-hero.appear::after {
  content: ""; position: absolute; left: 50%; bottom: 20px; width: 160px; height: 160px; margin-left: -80px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, #fff6d0cc, #f3d48a55 35%, transparent 65%); animation: vh-burst .7s ease-out forwards;
}
@keyframes vh-hero-idle { 50% { transform: scale(2.4) translateY(-2px); } }
@keyframes vh-hero-appear { from { opacity: 0; transform: scale(2.4) translateY(10px); filter: brightness(4) blur(3px); } }
@keyframes vh-burst { from { opacity: 1; transform: scale(.3); } to { opacity: 0; transform: scale(1.4); } }
html body.vh .scene-banner {
  position: absolute; right: 9%; bottom: 40px; display: grid; justify-items: center; z-index: 1;
  width: 70px; height: 150px; background: linear-gradient(90deg, #5a3a1d, #2a1a0c) center bottom / 6px 100% no-repeat;
}
html body.vh .scene-banner b {
  display: grid; place-items: center; width: 70px; height: 84px; margin-top: 6px; clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%);
  background: linear-gradient(180deg, #8a2a1e, #4a1712); font: 900 13px/1.2 "Cinzel", Georgia, serif; color: #f6dd9c; text-align: center; text-shadow: 0 1px 0 #000;
  animation: vh-flag 3s ease-in-out infinite; transform-origin: 50% 0;
}
html body.vh .scene-banner.plant { animation: vh-plant .6s cubic-bezier(.16, 1, .3, 1); }
@keyframes vh-plant { from { transform: translateY(-60px); opacity: 0; } }
@keyframes vh-flag { 50% { transform: skewX(-4deg) scaleX(.97); } }
html body.vh .scene-banner[hidden] { display: none; }

html body.vh .oracle-steps { display: grid; gap: 14px; }
html body.vh .oracle-scene .oracle-step { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 8px; }
html body.vh .oracle-scene.staged .oracle-step { display: none; }
html body.vh .oracle-scene.staged .oracle-step.on { display: grid; animation: vh-rise .4s cubic-bezier(.16, 1, .3, 1) both; }
html body.vh .oracle-scene .oracle-label { padding: 0; text-align: center; font: 900 12px/1.3 "Cinzel", Georgia, serif; letter-spacing: .1em; color: #7a5a30; }
html body.vh .oracle-scene .oracle-name { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
html body.vh .oracle-scene .oracle-name input { min-height: 46px !important; text-align: center; font: 800 19px/1.2 "Martel", Georgia, serif !important; }
html body.vh .oracle-scene .character-create-hint, html body.vh .oracle-scene .character-name-status { text-align: center; font-size: 11px; color: #6b5238; }
html body.vh .oracle-scene .oracle-choices { display: grid; gap: 10px; }
html body.vh .oracle-scene .oracle-choices.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
html body.vh .oracle-scene .oracle-choices.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
html body.vh .oracle-scene .oracle-choices.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
html body.vh .oracle-pick { position: relative; cursor: pointer; }
html body.vh .oracle-pick input { position: absolute; opacity: 0; pointer-events: none; }
html body.vh .oracle-pick span {
  display: grid; place-items: center; min-height: 48px; padding: 6px 10px; text-align: center;
  font: 800 15px/1.2 "Martel", Georgia, serif; color: #f3dca0; text-shadow: 0 1px 0 #000;
  background: linear-gradient(180deg, #4a3019, #24170d); box-shadow: 0 0 0 1px #0d0804, inset 0 0 0 1px #9c733366, inset 0 1px 0 #f1d59533;
  transition: transform .15s cubic-bezier(.16, 1, .3, 1), box-shadow .15s;
}
html body.vh .oracle-pick:hover span { transform: translateY(-2px); box-shadow: 0 0 0 1px #0d0804, inset 0 0 0 1px #e7c47a, 0 6px 10px -4px #000a; }
html body.vh .oracle-pick input:checked + span { color: #24170d; text-shadow: none; background: linear-gradient(180deg, #f3d589, #c4923f); box-shadow: 0 0 0 1px #0d0804, 0 0 14px #e7c47a99; }
html body.vh .oracle-pick input:focus-visible + span { outline: 2px solid #f1d595; outline-offset: 3px; }
html body.vh .oracle-scene .account-field-hint { margin: 0; text-align: center; font-size: 11px; color: #6b5238; }
html body.vh .oracle-scene .oracle-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid #c5a87788; }
html body.vh .oracle-scene .oracle-nav [hidden] { display: none !important; }
html body.vh .oracle-dots { display: flex; gap: 8px; margin: 0 auto; padding: 0; list-style: none; }
html body.vh .oracle-dots li { width: 9px; height: 9px; transform: rotate(45deg); background: #e6d4ae; box-shadow: 0 0 0 1px #9c7333; }
html body.vh .oracle-dots li.done { background: #c79a4b; }
html body.vh .oracle-dots li.on { background: #f3d589; box-shadow: 0 0 0 1px #0d0804, 0 0 8px #e7c47a; }
html body.vh .oracle-scene.finale [data-submit] { animation: vh-play-glow 2s ease-in-out infinite; }
html body.vh .oracle-scene:not(.staged) .oracle-nav [data-prev] { display: none; }
@media (max-width: 560px) {
  html body.vh .scene { height: 230px; }
  html body.vh .scene-oracle { left: 2%; }
  html body.vh .scene-oracle img { width: 96px; height: 96px; }
  html body.vh .scene-bubble { left: 3%; width: 62%; font-size: 12px; }
  html body.vh .scene-hero { left: 52%; }
  html body.vh .scene-hero img { transform: scale(2); }
  html body.vh .scene-name { top: -78px; }
  html body.vh .scene-banner { right: 3%; transform: scale(.8); transform-origin: 50% 100%; }
  html body.vh .oracle-scene .oracle-choices.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html body.vh .oracle-scene .oracle-name { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html body.vh .oracle-scene * { animation: none !important; transition: none !important; } }
html body.vh .vbox-b .account-login .auth-card { margin-inline: auto !important; }

/* ---------- Oracle chronicle: a scroll of chapters beside a living stage ---------- */
html body.vh .vbox-b .chronicle { display: grid; grid-template-columns: minmax(0, 1fr) 220px; align-items: start; gap: 22px; margin: 4px 0 8px; }
html body.vh .chronicle-scroll { position: relative; order: 1; padding: 26px 22px 26px 18px;
  background: linear-gradient(90deg, #00000014, transparent 6%, transparent 94%, #00000014), #f6ebd2;
  box-shadow: 0 0 0 1px #b99a68, 0 10px 18px -10px #0008; }
html body.vh .chronicle-scroll::before, html body.vh .chronicle-scroll::after { /* rolled ends */
  content: ""; position: absolute; left: -8px; right: -8px; height: 16px; border-radius: 8px;
  background: linear-gradient(180deg, #8a6a3c, #e3c98f 35%, #9c7a46 70%, #5a3d1f); box-shadow: 0 2px 4px #0006;
}
html body.vh .chronicle-scroll::before { top: -8px; }
html body.vh .chronicle-scroll::after { bottom: -8px; }
html body.vh .chronicle-form { position: relative; display: grid; gap: 6px; }
html body.vh .chronicle-form::before { /* the thread of the story */
  content: ""; position: absolute; left: 19px; top: 20px; bottom: 20px; width: 2px;
  background: repeating-linear-gradient(180deg, #b48a46 0 6px, transparent 6px 10px);
}
html body.vh .chapter { position: relative; margin: 0; padding: 0; border: 0; min-width: 0; }
html body.vh .chapter-head {
  display: grid; grid-template-columns: 40px minmax(0, 1fr) auto auto; align-items: center; gap: 12px; width: 100%; padding: 6px 0; float: none; cursor: default;
}
html body.vh .chronicle.alive .chapter.done .chapter-head { cursor: pointer; }
html body.vh .chapter-seal {
  position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  font: 900 13px/1 "Cinzel", Georgia, serif; color: #f6dd9c; text-shadow: 0 1px 0 #000;
  background: radial-gradient(circle at 40% 35%, #c2463a, #7a1c15 60%, #4a0f0b); box-shadow: 0 0 0 2px #f6ebd2, 0 0 0 3px #9c7333, 0 3px 5px #0006;
  transition: transform .3s cubic-bezier(.16, 1, .3, 1), filter .3s;
}
html body.vh .chapter-head > span:nth-child(2) { display: grid; font: 900 16px/1.15 "Cinzel", Georgia, serif; letter-spacing: .04em; color: #3a2616; }
html body.vh .chapter-head small { font: 700 10px/1.4 Verdana, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #9c7333; }
html body.vh .chapter-head em { font: 800 14px/1.2 "Martel", Georgia, serif; font-style: normal; color: #7a1c15; }
html body.vh .chapter-edit { padding: 2px 6px; border: 0; background: none; cursor: pointer; font: 700 11px/1 Verdana, sans-serif; color: #9c7333; text-decoration: underline; text-underline-offset: 3px; }
html body.vh .chapter-body { display: grid; gap: 10px; margin: 4px 0 14px 52px; }
html body.vh .chapter-tale { margin: 0; font: italic 14px/1.55 Georgia, serif; color: #4a3626; }
html body.vh .chapter-tale::first-letter { font: 900 22px/1 "Cinzel", Georgia, serif; color: #7a1c15; }
html body.vh .chapter-note { margin: 0; font-size: 11px; color: #6b5238; }

/* states (only with the script) */
html body.vh .chronicle.alive .chapter-edit, html body.vh .chronicle.alive .chapter-head em { display: none; }
html body.vh .chronicle.alive .chapter.done .chapter-edit, html body.vh .chronicle.alive .chapter.done .chapter-head em { display: inline; }
html body.vh .chronicle.alive .chapter:not(.open) .chapter-body { display: none; }
html body.vh .chronicle.alive .chapter.open .chapter-body { animation: vh-unfurl .55s cubic-bezier(.16, 1, .3, 1) both; transform-origin: top; }
@keyframes vh-unfurl { from { opacity: 0; transform: scaleY(.6) translateY(-8px); clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
html body.vh .chronicle.alive .chapter.open .chapter-seal { transform: scale(1.12); box-shadow: 0 0 0 2px #f6ebd2, 0 0 0 3px #e7c47a, 0 0 14px #e7c47a; }
html body.vh .chronicle.alive .chapter.done .chapter-seal { background: radial-gradient(circle at 40% 35%, #f6dd9c, #c79a4b 60%, #7a5420); color: #3a2616; text-shadow: none; }
html body.vh .chronicle.alive .chapter.locked { opacity: .45; }
html body.vh .chronicle.alive .chapter.locked .chapter-seal { filter: grayscale(1); }
html body.vh .chronicle.alive .chapter.locked .chapter-head > span:nth-child(2)::after { content: attr(data-locked); }

/* inputs and picks */
html body.vh .chapter-name { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
html body.vh .chapter-name input { min-height: 44px !important; font: 800 18px/1.2 "Martel", Georgia, serif !important; }
html body.vh .chapter .character-create-hint, html body.vh .chapter .character-name-status { font-size: 11px; color: #6b5238; }
html body.vh .chapter-picks { display: grid; gap: 10px; }
html body.vh .chapter-picks.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
html body.vh .chapter-picks.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
html body.vh .chapter-picks.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
html body.vh .pick { position: relative; cursor: pointer; }
html body.vh .pick input { position: absolute; opacity: 0; pointer-events: none; }
html body.vh .pick > span {
  display: grid; justify-items: center; gap: 4px; padding: 8px 6px 10px; text-align: center;
  font: 800 13px/1.2 "Martel", Georgia, serif; color: #3a2616;
  background: #fbf3df; box-shadow: 0 0 0 1px #c5a877, 0 2px 0 #c5a87766; transition: transform .15s cubic-bezier(.16, 1, .3, 1), box-shadow .15s, background .15s;
}
html body.vh .pick > span img { width: 64px; height: 64px; image-rendering: pixelated; margin: -6px 0 -4px; }
html body.vh .pick:hover > span { transform: translateY(-2px); box-shadow: 0 0 0 1px #9c7333, 0 6px 10px -6px #0008; }
html body.vh .pick input:checked + span { background: linear-gradient(180deg, #fff3cf, #f3d589); box-shadow: 0 0 0 2px #9c7333, 0 0 0 3px #3a2616, 0 0 14px #e7c47a88; }
html body.vh .pick input:focus-visible + span { outline: 2px solid #9c7333; outline-offset: 3px; }
html body.vh .pick.town > span { padding: 10px 6px; }
html body.vh .pick.town i {
  display: grid; place-items: center; width: 34px; height: 40px; font: 900 18px/1 "Cinzel", Georgia, serif; font-style: normal; color: #f6dd9c;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 50% 100%, 0 78%); background: linear-gradient(180deg, #8a2a1e, #4a1712);
}
html body.vh .chapter-actions { display: flex; justify-content: flex-end; gap: 10px; }
html body.vh .chronicle.alive .chapter-oath.open [data-submit] { animation: vh-play-glow 2s ease-in-out infinite; }

/* the stage */
html body.vh .chronicle-stage { order: 2; position: sticky; top: 14px; display: grid; gap: 12px; }
html body.vh .stage-bubble {
  position: relative; margin: 0; padding: 10px 12px 11px; min-height: 84px;
  background: linear-gradient(180deg, #2a1f3f, #171024); box-shadow: 0 0 0 1px #0d0804, inset 0 0 0 1px #8a6fc066;
  font: italic 13px/1.5 Georgia, serif; color: #f1e6ff;
}
html body.vh .stage-bubble::after { content: ""; position: absolute; left: 44px; bottom: -7px; width: 13px; height: 13px; transform: rotate(45deg); background: #171024; box-shadow: 1px 1px 0 #0d0804; }
html body.vh .stage-bubble b { display: block; font: 900 10.5px/1.3 "Cinzel", Georgia, serif; font-style: normal; letter-spacing: .08em; color: #d9c2ff; }
html body.vh .stage-bubble.speak span { animation: vh-oracle-say .45s cubic-bezier(.16, 1, .3, 1) both; }
html body.vh .stage-floor {
  position: relative; height: 210px; overflow: hidden; image-rendering: pixelated;
  background: radial-gradient(ellipse 70% 60% at 50% 65%, transparent 35%, #0a0812d0 100%), url("../../../images/items/generated/4526.gif") 0 0 / 64px;
  box-shadow: 0 0 0 1px #0d0804, 0 0 0 3px #9c7333, 0 0 0 4px #0d0804;
}
html body.vh .stage-oracle { position: absolute; left: 4px; bottom: 28px; }
html body.vh .stage-oracle img { width: 96px; height: 96px; filter: drop-shadow(0 0 10px #f3d48a99); animation: vh-oracle-float 4s ease-in-out infinite; }
html body.vh .stage-hero { position: absolute; right: 22px; bottom: 26px; display: grid; justify-items: center; }
html body.vh .stage-hero img { width: 64px; height: 64px; transform: scale(1.7); transform-origin: 50% 100%; }
html body.vh .stage-name {
  position: absolute; bottom: 118px; white-space: nowrap; font: 700 12px/1 Verdana, sans-serif; color: #49ce3a; opacity: 0; transition: opacity .3s;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}
html body.vh .stage-hero.named .stage-name { opacity: 1; }
html body.vh .stage-ghost { position: absolute; bottom: -22px; width: 150px; text-align: center; font: italic 10px/1.3 Georgia, serif; color: #cfe6ff; text-shadow: 0 1px 2px #000; }
html body.vh .stage-hero.formed .stage-ghost { display: none; }
/* utana vid: a shimmering, nearly invisible figure */
html body.vh .stage-hero:not(.formed) img { opacity: .28; filter: grayscale(1) brightness(1.8) drop-shadow(0 0 6px #8fd0ff); animation: vh-utana 2.4s ease-in-out infinite; }
html body.vh .stage-hero:not(.formed) .stage-name { opacity: .55; }
@keyframes vh-utana { 0%, 100% { opacity: .22; transform: scale(1.7) skewX(0); } 50% { opacity: .38; transform: scale(1.7) skewX(-3deg) translateX(1px); } }
html body.vh .stage-hero.formed img { filter: drop-shadow(0 2px 1px #000a); animation: vh-hero-idle2 1.8s ease-in-out infinite; }
@keyframes vh-hero-idle2 { 50% { transform: scale(1.7) translateY(-2px); } }
html body.vh .stage-hero.reveal img { animation: vh-reveal 1s cubic-bezier(.16, 1, .3, 1); }
@keyframes vh-reveal { from { opacity: .3; filter: brightness(5) blur(3px) drop-shadow(0 0 12px #fff); transform: scale(1.7) translateY(6px); } }
html body.vh .stage-hero.reveal::after, html body.vh .stage-hero.change::after {
  content: ""; position: absolute; left: 50%; bottom: 10px; width: 150px; height: 150px; margin-left: -75px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, #fff6d0cc, #f3d48a55 35%, transparent 65%); animation: vh-burst .7s ease-out forwards;
}
html body.vh .stage-town { display: grid; justify-items: center; gap: 6px; }
html body.vh .stage-town[hidden] { display: none; }
html body.vh .stage-town.unroll { animation: vh-rise .5s cubic-bezier(.16, 1, .3, 1); }
html body.vh .stage-town-map {
  position: relative; width: 190px; height: 190px; overflow: hidden; border-radius: 50%; background: #1a2a3a;
  box-shadow: 0 0 0 2px #0d0804, 0 0 0 4px #c79a4b, 0 0 0 5px #0d0804, inset 0 0 18px #000a;
}
html body.vh .stage-town-tiles { position: absolute; width: 768px; height: 768px; left: calc(50% - var(--cx, 384px)); top: calc(50% - var(--cy, 384px)); transform-origin: var(--cx, 384px) var(--cy, 384px); transform: scale(1.5); }
html body.vh .stage-town-tiles img { position: absolute; width: 256px; height: 256px; image-rendering: pixelated; }
html body.vh .stage-town-pin { position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #e33; box-shadow: 0 0 0 2px #fff, 0 0 10px #f55; animation: vh-pin 1.4s ease-in-out infinite; }
@keyframes vh-pin { 50% { box-shadow: 0 0 0 2px #fff, 0 0 0 8px #ff555533; } }
html body.vh .stage-town b { font: 900 14px/1.2 "Cinzel", Georgia, serif; letter-spacing: .06em; color: #3a2616; }

@media (max-width: 760px) {
  html body.vh .vbox-b .chronicle { grid-template-columns: 1fr; gap: 14px; }
  html body.vh .chronicle-stage { order: 0; top: 0; z-index: 5; grid-template-columns: minmax(0, 1fr) 120px; gap: 8px; padding: 8px; background: #f6ebd2f2; box-shadow: 0 0 0 1px #c5a877, 0 6px 10px -6px #0008; }
  html body.vh .stage-bubble { min-height: 0; font-size: 12px; align-self: start; }
  html body.vh .stage-bubble::after { left: auto; right: -7px; bottom: auto; top: 22px; }
  html body.vh .stage-floor { height: 120px; }
  html body.vh .stage-oracle { display: none; }
  html body.vh .stage-hero { right: 50%; transform: translateX(50%); bottom: 14px; }
  html body.vh .stage-hero img { transform: scale(1.3); }
  html body.vh .stage-name { bottom: 92px; }
  html body.vh .stage-ghost { display: none; }
  html body.vh .stage-town { grid-column: 1 / -1; grid-template-columns: 90px 1fr; justify-items: start; align-items: center; }
  html body.vh .stage-town-map { width: 90px; height: 90px; }
  html body.vh .chapter-picks.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html body.vh .chapter-body { margin-left: 0; }
  html body.vh .chapter-name { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html body.vh .chronicle * { animation: none !important; } }
html body.vh .vbox-b .chapter-head .chapter-edit.chapter-edit.chapter-edit { min-height: 0 !important; padding: 2px 4px !important; background: none !important; box-shadow: none !important; color: #9c7333 !important; text-shadow: none !important; font: 700 11px/1 Verdana, sans-serif !important; text-decoration: underline !important; filter: none !important; }
html body.vh .stage-hero:not(.formed) img { opacity: .34; }

/* ---------- Oracle realm: the character is created inside one game scene ---------- */
html body.vh .vbox-b .realm {
  position: relative; display: grid; grid-template-rows: 470px auto; overflow: hidden; margin: -2px -4px 4px; isolation: isolate;
  background: #0b0a08; box-shadow: 0 0 0 1px #0d0804, 0 0 0 3px #9c7333, 0 0 0 4px #0d0804, 0 12px 22px -10px #000d;
}
html body.vh .realm-world {
  grid-area: 1 / 1; position: relative; overflow: hidden; image-rendering: pixelated;
  background: url("../../../images/items/generated/413.gif") 0 0 / 64px;
}
html body.vh .realm-world::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 62% 58% at 50% 52%, transparent 35%, #000c 100%), linear-gradient(180deg, #0008, transparent 22%, transparent 70%, #000a); }
html body.vh .realm-light { position: absolute; inset: -20% 25% 20%; z-index: 1; pointer-events: none;
  background: conic-gradient(from 180deg at 50% 0, transparent 165deg, #fff3c822 175deg, #fff3c840 180deg, #fff3c822 185deg, transparent 195deg); animation: vh-shaft 7s ease-in-out infinite alternate; }
html body.vh .realm-town { position: absolute; width: 768px; height: 768px; left: calc(50% - var(--cx, 384px)); top: calc(52% - var(--cy, 384px)); transform-origin: var(--cx, 384px) var(--cy, 384px); transform: scale(2.4); opacity: 0; transition: opacity .8s; }
html body.vh .realm-town img { position: absolute; width: 256px; height: 256px; image-rendering: pixelated; }
html body.vh .realm.in-town .realm-town { opacity: 1; }
html body.vh .realm-town.arrive { animation: vh-town-in 1.1s cubic-bezier(.16, 1, .3, 1); }
@keyframes vh-town-in { from { transform: scale(1.2); filter: blur(4px) brightness(1.6); } }

/* quest bar */
html body.vh .realm-quest { grid-area: 1 / 1; align-self: start; z-index: 3; display: flex; gap: 4px; margin: 0; padding: 10px 12px; list-style: none; background: linear-gradient(180deg, #000c, transparent); }
html body.vh .realm-quest li { flex: 1; display: grid; grid-template-columns: 26px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 7px; align-items: center; min-width: 0; color: #a99a80; }
html body.vh .realm-quest li[hidden] { display: none; }
html body.vh .realm-quest span { grid-row: 1 / 3; display: grid; place-items: center; width: 24px; height: 24px; transform: rotate(45deg); background: #2a1f14; box-shadow: 0 0 0 1px #9c7333; font: 900 9px/1 "Cinzel", Georgia, serif; color: #c9b48e; }
html body.vh .realm-quest b { font: 900 11px/1.2 "Cinzel", Georgia, serif; letter-spacing: .05em; color: inherit; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body.vh .realm-quest em { font: 700 10.5px/1.2 Verdana, sans-serif; font-style: normal; color: #f6dd9c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body.vh .realm-quest li.done { cursor: pointer; color: #e6d3a8; }
html body.vh .realm-quest li.done span { background: linear-gradient(135deg, #f6dd9c, #c79a4b); color: #24170d; }
html body.vh .realm-quest li.on { color: #fff3c8; }
html body.vh .realm-quest li.on span { background: linear-gradient(135deg, #c2463a, #7a1c15); color: #f6dd9c; box-shadow: 0 0 0 1px #f1d595, 0 0 12px #e7c47a; }
html body.vh .realm-quest li.locked { opacity: .45; }

/* actors */
html body.vh .realm-actors { grid-area: 1 / 1; position: relative; z-index: 2; pointer-events: none; }
html body.vh .realm-oracle { position: absolute; left: 14%; top: 34%; display: grid; justify-items: center; transition: opacity .8s, transform .8s; }
html body.vh .realm-oracle img { width: 128px; height: 128px; image-rendering: pixelated; filter: drop-shadow(0 0 16px #f3d48aaa) drop-shadow(0 6px 4px #000a); animation: vh-oracle-float 4s ease-in-out infinite; }
html body.vh .realm.in-town .realm-oracle { opacity: 0; transform: translateY(-20px); }
html body.vh .npc-say {
  position: absolute; bottom: 100%; left: 50%; width: 250px; margin: 0 0 4px -125px; text-align: center;
  font: 700 12px/1.35 Verdana, sans-serif; color: #f0de5a;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000, 0 0 6px #000;
}
html body.vh .npc-say.speak { animation: vh-npc-say .5s ease-out both; }
@keyframes vh-npc-say { from { opacity: 0; transform: translateY(6px); } }
html body.vh .realm.in-town .npc-say { position: fixed; opacity: 0; }
html body.vh .realm-hero { position: absolute; left: 50%; top: 52%; display: grid; justify-items: center; transform: translate(-50%, -88%); }
html body.vh .realm-hero img { width: 64px; height: 64px; image-rendering: pixelated; transform: scale(2.4); transform-origin: 50% 100%; }
html body.vh .realm-name {
  position: absolute; bottom: 148px; white-space: nowrap; font: 700 13px/1 Verdana, sans-serif; color: #49ce3a; opacity: 0; transition: opacity .3s;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}
html body.vh .realm-hero.named .realm-name { opacity: 1; }
html body.vh .realm-ghost { position: absolute; top: 100%; margin-top: 8px; white-space: nowrap; font: italic 700 11px/1 Verdana, sans-serif; color: #9fd8ff; text-shadow: 0 0 6px #5ab4ff, 0 1px 1px #000; letter-spacing: .08em; }
html body.vh .realm-hero.formed .realm-ghost { display: none; }
html body.vh .realm-hero:not(.formed) img { opacity: .3; filter: grayscale(1) brightness(1.9) drop-shadow(0 0 8px #8fd0ff); animation: vh-utana2 2.4s ease-in-out infinite; }
@keyframes vh-utana2 { 0%, 100% { opacity: .22; transform: scale(2.4); } 50% { opacity: .4; transform: scale(2.4) skewX(-3deg) translateX(1px); } }
html body.vh .realm-hero.formed img { filter: drop-shadow(0 3px 2px #000a); animation: vh-hero-idle3 1.8s ease-in-out infinite; }
@keyframes vh-hero-idle3 { 50% { transform: scale(2.4) translateY(-2px); } }
html body.vh .realm-hero.reveal img { animation: vh-reveal2 1.1s cubic-bezier(.16, 1, .3, 1); }
@keyframes vh-reveal2 { from { opacity: .3; filter: brightness(5) blur(3px) drop-shadow(0 0 14px #fff); transform: scale(2.4) translateY(8px); } }
html body.vh .realm-hero.reveal::after, html body.vh .realm-hero.change::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 220px; height: 220px; margin-left: -110px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, #fff6d0cc, #f3d48a55 35%, transparent 65%); animation: vh-burst .8s ease-out forwards;
}
html body.vh .realm-townname { position: absolute; left: 50%; top: 18%; transform: translateX(-50%); font: 900 26px/1 "Cinzel", Georgia, serif; letter-spacing: .12em; color: #f6dd9c; opacity: 0; text-shadow: 0 2px 0 #000, 0 0 16px #000; transition: opacity .8s .3s; }
html body.vh .realm.in-town .realm-townname { opacity: 1; }

/* the question window (client style), docked in the scene */
html body.vh .realm-window {
  grid-area: 1 / 1; align-self: end; justify-self: center; z-index: 4; position: relative; width: min(92%, 560px); margin: 0 0 14px; padding: 0 14px 12px;
  background: linear-gradient(180deg, #3b3a36, #2a2926); box-shadow: inset 0 0 0 1px #6f6a5f, inset 0 0 0 2px #151412, 0 0 0 1px #000, 0 10px 18px -6px #000;
}
html body.vh .realm-window .chapter { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 8px; }
html body.vh .realm.alive .realm-window .chapter:not(.open) { display: none; }
html body.vh .realm.alive .realm-window .chapter.open { animation: vh-rise .4s cubic-bezier(.16, 1, .3, 1) both; }
html body.vh .window-title {
  display: block; width: calc(100% + 28px); box-sizing: border-box; margin: 0 -14px 4px; padding: 6px 14px; float: none; text-align: center;
  font: 700 11px/1.2 Verdana, sans-serif; letter-spacing: .06em; color: #d7cfbd; background: linear-gradient(180deg, #4a4741, #2d2b27); box-shadow: inset 0 -1px 0 #151412, inset 0 1px 0 #7b7568;
}
html body.vh .realm:not(.alive) .realm-window .chapter + .chapter { margin-top: 12px; }
html body.vh .window-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
html body.vh .window-row.end { display: flex; justify-content: flex-end; }
html body.vh .realm-window input[type=text] {
  min-height: 40px !important; font: 700 16px/1.2 Verdana, sans-serif !important; color: #f0e6cf !important;
  background: #151412 !important; border: 1px solid #000 !important; box-shadow: inset 1px 1px 0 #000, 0 0 0 1px #6f6a5f !important;
}
html body.vh .realm-window input[type=text]:focus { box-shadow: inset 1px 1px 0 #000, 0 0 0 1px #e7c47a !important; }
html body.vh .realm-window .character-create-hint, html body.vh .realm-window .character-name-status, html body.vh .window-note { margin: 0; font-size: 11px; color: #b8ad96; }
html body.vh .realm-window .FormFieldError { color: #ff9a7a; }
html body.vh .window-picks { display: grid; gap: 8px; }
html body.vh .window-picks.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
html body.vh .window-picks.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
html body.vh .window-picks.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
html body.vh .slot-pick { position: relative; cursor: pointer; }
html body.vh .slot-pick input { position: absolute; opacity: 0; pointer-events: none; }
html body.vh .slot-pick > span {
  display: grid; justify-items: center; gap: 2px; padding: 6px 4px 8px; text-align: center; font: 700 12px/1.2 Verdana, sans-serif; color: #d7cfbd;
  background: #1d1c19; box-shadow: inset 1px 1px 0 #000, inset -1px -1px 0 #5b574d, 0 0 0 1px #000; transition: box-shadow .15s, color .15s;
}
html body.vh .slot-pick > span img { width: 64px; height: 64px; margin: -6px 0 -6px; image-rendering: pixelated; }
html body.vh .slot-pick:hover > span { color: #fff; box-shadow: inset 1px 1px 0 #000, inset -1px -1px 0 #5b574d, 0 0 0 1px #c79a4b; }
html body.vh .slot-pick input:checked + span { color: #f6dd9c; box-shadow: inset 0 0 0 1px #000, 0 0 0 2px #e7c47a, 0 0 12px #e7c47a88; background: #2a2417; }
html body.vh .slot-pick input:focus-visible + span { outline: 2px solid #f1d595; outline-offset: 2px; }
html body.vh .slot-pick.town > span { padding: 8px 4px; }
html body.vh .slot-pick.town i { display: grid; place-items: center; width: 30px; height: 36px; font: 900 16px/1 "Cinzel", Georgia, serif; font-style: normal; color: #f6dd9c; clip-path: polygon(0 0, 100% 0, 100% 78%, 50% 100%, 0 78%); background: linear-gradient(180deg, #8a2a1e, #4a1712); }
html body.vh .window-back { position: absolute; left: 6px; top: 3px; padding: 2px 6px; border: 0; background: none; cursor: pointer; font: 700 11px/1.4 Verdana, sans-serif; color: #c9b48e; }
html body.vh .window-back:hover { color: #fff; }
html body.vh .window-back[hidden] { display: none; }
html body.vh .realm.finale [data-submit] { animation: vh-play-glow 2s ease-in-out infinite; }
html body.vh .realm .character-create-limit { grid-area: 1 / 1; align-self: center; z-index: 5; }

@media (max-width: 640px) {
  html body.vh .vbox-b .realm { grid-template-rows: 330px auto; }
  html body.vh .realm-window { grid-area: 2 / 1; align-self: stretch; width: auto; margin: 0; }
  html body.vh .realm-quest { padding: 8px; gap: 2px; }
  html body.vh .realm-quest li { grid-template-columns: 22px; justify-items: center; }
  html body.vh .realm-quest b, html body.vh .realm-quest em { display: none; }
  html body.vh .realm-oracle { left: 2%; top: 32%; }
  html body.vh .realm-oracle img { width: 88px; height: 88px; }
  html body.vh .npc-say { width: 190px; margin-left: -60px; left: 40%; font-size: 11px; }
  html body.vh .realm-hero { left: 62%; }
  html body.vh .realm-hero img { transform: scale(1.8); }
  html body.vh .realm-name { bottom: 112px; }
  html body.vh .window-picks.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html body.vh .window-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html body.vh .realm * { animation: none !important; transition: none !important; } }
html body.vh .vbox-b .realm-window .window-back.window-back.window-back { min-height: 0 !important; padding: 2px 6px !important; background: none !important; box-shadow: none !important; color: #c9b48e !important; text-shadow: none !important; font: 700 11px/1.4 Verdana, sans-serif !important; filter: none !important; transform: none !important; }
html body.vh .vbox-b .realm-window .window-back[hidden] { display: none !important; }
html body.vh .realm-town { transform: scale(4); }
html body.vh .realm-townname { top: 15%; }
html body.vh .realm.in-town .realm-name { opacity: 1; }

/* ---------- registration: one sheet, centred, Tibia sprite icons ---------- */
html body.vh .vbox-b .account-registration > .ph { display: none; }
html body.vh .vbox-b .account-registration .auth-card {
  max-width: 460px; margin: 4px auto 4px !important; padding: 0; border: 0 !important; background: none !important; box-shadow: none !important;
}
html body.vh .vbox-b .account-registration .auth-card::before, html body.vh .vbox-b .account-registration .auth-card::after,
html body.vh .vbox-b .account-registration .auth-form::before, html body.vh .vbox-b .account-registration .auth-form::after { content: none !important; }
html body.vh .vbox-b .account-registration .auth-form { display: grid; gap: 10px; border: 0 !important; background: none !important; box-shadow: none !important; padding: 0 !important; }
html body.vh .vbox-b .account-registration .auth-intro { margin: 0 0 14px; text-align: center; font-size: 12.5px; color: #4a3626; }
html body.vh .vbox-b .account-registration label { font: 800 13px/1.3 "Martel", Georgia, serif; color: #3a2616; }
html body.vh .vbox-b .account-registration :is(input[type=text], input[type=email], input[type=password]) { min-height: 40px; }
html body.vh .vbox-b .account-registration .rpg-select .rpg-select-trigger.rpg-select-trigger.rpg-select-trigger {
  width: 100% !important; height: 40px !important; min-height: 40px !important; padding: 0 10px !important; justify-content: space-between !important;
  color: #24170d !important; text-shadow: none !important; background: #fffaf0 !important; border: 1px solid #9c7333 !important; border-radius: 0 !important;
  box-shadow: inset 0 2px 3px #6b4a2a26 !important; font: 13px Verdana, sans-serif !important; filter: none !important; transform: none !important;
}
html body.vh .vbox-b .account-registration .select-chevron { color: #9c7333; }
html body.vh .vbox-b .account-registration .account-consent { display: flex; align-items: center; gap: 8px; font: 700 12.5px/1.4 Verdana, sans-serif; }
html body.vh .vbox-b .account-registration .account-consent input { accent-color: #9c7333; width: 16px; height: 16px; }
html body.vh .vbox-b .account-registration .auth-submit, html body.vh .vbox-b .account-registration .auth-alt-button { width: 100%; }
html body.vh .vbox-b .account-registration .auth-alt { max-width: 460px; margin: 20px auto 0; }
/* Tibia sprites on the secondary actions */
html body.vh .vbox-b .account-registration .auth-alt-button img { content: url("../../../images/items/generated/2091.gif"); width: 28px; height: 28px; image-rendering: pixelated; }
html body.vh .vbox-b .account-login .auth-alt-button img { content: url("../../../images/items/generated/1949.gif"); width: 28px; height: 28px; image-rendering: pixelated; }
html body.vh .vbox-b .auth-submit::before { content: ""; width: 24px; height: 24px; margin: -4px 2px -4px -6px; background: url("../../../images/items/generated/2160.gif") center / 24px no-repeat; image-rendering: pixelated; }
html body.vh .vbox-b .account-login .auth-submit::before { background-image: url("../../../images/items/generated/2088.gif"); }
html body.vh .vbox-b :is(.account-registration, .account-login) .auth-alt .auth-alt-button { display: flex !important; width: 100% !important; box-sizing: border-box; }

/* ---------- Oracle scene v2: full bleed, Oracle ahead, the player below facing it ---------- */
html body.vh .vbox.page:has(.realm) > .vbox-b { padding: 0 !important; }
html body.vh .vbox.page:has(.realm) { padding-bottom: 0; }
html body.vh .vbox-b .realm { margin: 0 !important; box-shadow: none !important; grid-template-rows: 500px auto; }
html body.vh .realm-oracle { left: 50%; top: 13%; transform: translateX(-50%); }
html body.vh .realm-oracle img { width: 128px; height: 128px; }
html body.vh .npc-say { bottom: auto; top: 50%; left: 100%; width: 230px; margin: -28px 0 0 4px; text-align: left; }
html body.vh .realm.in-town .realm-oracle { transform: translate(-50%, -20px); }
html body.vh .realm-hero { top: 64%; }
html body.vh .realm-name { bottom: 150px; }

/* utana vid: the client draws an invisible creature as the looping blue sparkle (effect 13) */
html body.vh .realm-invisible, html body.vh .realm-poff { position: absolute; left: 50%; bottom: 0; width: 32px; height: 32px; margin-left: -16px; pointer-events: none; image-rendering: pixelated; transform-origin: 50% 100%; }
html body.vh .realm-invisible { display: none; background: url("../assets/effects/utana-vid.png") 0 0 / 160px 32px; transform: scale(4.4); bottom: 6px; animation: vh-fx-utana .75s steps(5) infinite; }
@keyframes vh-fx-utana { to { background-position: -160px 0; } }
html body.vh .realm-hero:not(.formed) .realm-invisible { display: block; }
html body.vh .realm-hero:not(.formed) img { visibility: hidden; animation: none; }
/* poff: the puff of a spell cast without mana, on every change of look */
html body.vh .realm-poff { opacity: 0; background: url("../assets/effects/poff.png") 0 0 / 128px 32px; transform: scale(4.4); bottom: 10px; }
html body.vh .realm-poff.puff { animation: vh-fx-poff .48s steps(4) 1 forwards; }
@keyframes vh-fx-poff { 0% { opacity: 1; background-position: 0 0; } 99% { opacity: 1; background-position: -128px 0; } 100% { opacity: 0; } }
html body.vh .realm-hero.reveal::after, html body.vh .realm-hero.change::after { content: none; }
html body.vh .realm-hero.reveal img, html body.vh .realm-hero.change img { animation: vh-hero-idle3 1.8s ease-in-out infinite; }

/* client window, rebuilt: compact, even spacing, Tibia slot cells */
html body.vh .realm-window { width: min(88%, 520px); margin: 0 0 18px; padding: 0 12px 12px; border-radius: 0;
  background: linear-gradient(180deg, #34322e, #262522); box-shadow: inset 0 0 0 1px #79736a, inset 0 0 0 2px #111, 0 0 0 1px #000, 0 12px 24px -8px #000; }
html body.vh .window-title { margin: 0 -12px 10px; width: calc(100% + 24px); padding: 5px 12px; font: 700 11px/1.3 Verdana, sans-serif; color: #e6dcc6;
  background: linear-gradient(180deg, #57534b, #34312c); box-shadow: inset 0 1px 0 #8a8377, inset 0 -1px 0 #111; }
html body.vh .realm-window .chapter { gap: 8px; }
html body.vh .window-row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: stretch; }
html body.vh .realm-window input[type=text] { min-height: 34px !important; height: 34px; padding: 0 10px !important; font: 700 14px/1 Verdana, sans-serif !important; }
html body.vh .realm-window .window-row .btn { min-height: 34px !important; height: 34px; padding: 0 16px !important; font-size: 12px !important; }
html body.vh .realm-window .character-create-hint { font-size: 10.5px; }
html body.vh .realm-window .character-name-status:empty, html body.vh .realm-window .character-name-status:has(.FormFieldError:empty) { display: none; }
html body.vh .window-picks { gap: 6px; }
html body.vh .slot-pick > span { grid-template-columns: 38px minmax(0, 1fr); justify-items: start; align-items: center; gap: 8px; padding: 4px 8px 4px 4px; text-align: left; font-size: 12px; background: #1b1a17; }
html body.vh .slot-pick > span img { width: 38px; height: 38px; margin: 0; padding: 1px; background: #2b2924; box-shadow: inset 1px 1px 0 #000, inset -1px -1px 0 #4e4a42; object-fit: contain; }
html body.vh .slot-pick.town > span { padding: 4px 8px 4px 4px; }
html body.vh .slot-pick.town i { width: 38px; height: 38px; font-size: 16px; clip-path: none; box-shadow: inset 1px 1px 0 #000; }
html body.vh .window-picks.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
html body.vh .realm-window .window-row.end { gap: 8px; }
html body.vh .realm-window .window-row.end .btn { height: 34px; min-height: 34px !important; padding: 0 18px !important; }
html body.vh .vbox-b .realm-window .window-back.window-back.window-back { top: 2px; left: 4px; padding: 1px 6px !important; font-size: 10.5px !important; }
html body.vh .realm-quest { padding: 10px 14px; background: linear-gradient(180deg, #000d, #0006 70%, transparent); }
@media (max-width: 640px) {
  html body.vh .vbox-b .realm { grid-template-rows: 360px auto; }
  html body.vh .realm-oracle { top: 12%; }
  html body.vh .realm-oracle img { width: 96px; height: 96px; }
  html body.vh .npc-say { left: 50%; top: auto; bottom: 100%; width: 260px; margin: 0 0 2px -130px; text-align: center; }
  html body.vh .realm-hero { top: 70%; }
  html body.vh .realm-hero img { transform: scale(2); }
  html body.vh .realm-invisible, html body.vh .realm-poff { transform: scale(3.6); }
  html body.vh .realm-window { width: auto; margin: 0; }
}

/* ---------- login / register inputs: Tibia sprite icons inside the fields ---------- */
html body.vh .vbox-b :is(.account-login, .account-registration) :is(input[type=text], input[type=email], input[type=password]) {
  padding-left: 42px !important; background-repeat: no-repeat !important; background-position: 6px center !important; background-size: 28px 28px !important; image-rendering: pixelated;
}
html body.vh .vbox-b .account-login #lp-acc, html body.vh .vbox-b .account-registration input[type=email], html body.vh .vbox-b .account-registration input[name=email] { background-image: url("../../../images/items/generated/2597.gif") !important; }
html body.vh .vbox-b .account-login #lp-pw, html body.vh .vbox-b .account-registration input[type=password] { background-image: url("../../../images/items/generated/2088.gif") !important; }
html body.vh .vbox-b .account-registration input[type=text] { background-image: url("../../../images/items/generated/1949.gif") !important; }

/* ---------- Cards / Table switch: a light segmented control ---------- */
html body.vh .vbox-b .item-view-tools { display: inline-flex; gap: 0; padding: 2px; background: #efe2c4; box-shadow: 0 0 0 1px #c5a877; }
html body.vh .vbox-b .item-view-tools .btn.btn {
  min-height: 28px !important; height: 28px; padding: 0 12px !important; gap: 6px; border: 0 !important;
  background: none !important; box-shadow: none !important; color: #7a5a30 !important; text-shadow: none !important;
  font: 700 11.5px/1 Verdana, sans-serif !important; letter-spacing: 0; filter: none !important; transform: none !important;
}
html body.vh .vbox-b .item-view-tools .btn.btn::before { content: ""; width: 12px; height: 12px; background: currentColor; opacity: .85; }
html body.vh .vbox-b .item-view-tools .btn.btn:first-child::before { mask: linear-gradient(#000 0 0) 0 0 / 5px 5px no-repeat, linear-gradient(#000 0 0) 7px 0 / 5px 5px no-repeat, linear-gradient(#000 0 0) 0 7px / 5px 5px no-repeat, linear-gradient(#000 0 0) 7px 7px / 5px 5px no-repeat; }
html body.vh .vbox-b .item-view-tools .btn.btn:last-child::before { mask: linear-gradient(#000 0 0) 0 1px / 12px 2px no-repeat, linear-gradient(#000 0 0) 0 5px / 12px 2px no-repeat, linear-gradient(#000 0 0) 0 9px / 12px 2px no-repeat; }
html body.vh .vbox-b .item-view-tools .btn.btn:hover { color: #3a2616 !important; }
html body.vh .vbox-b .item-view-tools .btn.btn[aria-pressed=true] { color: #f6dd9c !important; background: linear-gradient(180deg, #4a3019, #24170d) !important; box-shadow: inset 0 1px 0 #f1d59533 !important; }
html body.vh .realm-oracle { top: 9%; }
html body.vh .realm-hero { top: 69%; }
html body.vh .realm-window { margin-bottom: 14px; }
html body.vh .slot-pick > span img { object-fit: none; object-position: 100% 100%; }
html body.vh .slot-pick > span { grid-template-columns: 46px minmax(0, 1fr); }
html body.vh .slot-pick > span img { width: 46px; height: 46px; object-fit: contain; object-position: 50% 50%; }

/* ---------- Oracle as the game client: game window (8x8 tiles) + side panel ---------- */
html body.vh .vbox-b .realm {
  display: grid !important; grid-template-columns: minmax(0, 1fr) 260px !important; grid-template-rows: none !important; align-items: stretch;
  gap: 0; margin: 0 !important; background: #1b1a18; box-shadow: none !important; overflow: hidden;
}
/* game window: tile = 12.5% so every sprite sits on the 8x8 grid at the game's 2x scale */
html body.vh .realm-view {
  position: relative; aspect-ratio: 1; overflow: hidden; image-rendering: pixelated;
  background: url("../../../images/items/generated/413.gif") 0 0 / 12.5% 12.5%;
  box-shadow: inset 0 0 0 2px #111, inset 0 0 60px #000a;
}
html body.vh .realm-view::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 75% 70% at 50% 45%, transparent 45%, #000b 100%); }
html body.vh .realm-view .realm-light { position: absolute; inset: -10% 20% 30%; z-index: 1; }
html body.vh .realm-view .realm-oracle { position: absolute; left: 37.5%; top: 12.5%; width: 25%; transform: none; z-index: 2; display: block; }
html body.vh .realm-view .realm-oracle img { display: block; width: 100%; height: auto; }
html body.vh .realm-view .npc-say {
  position: absolute; z-index: 4; left: 50%; top: 2.5%; bottom: auto; width: 78%; margin: 0; transform: translateX(-50%); text-align: center;
  font: 700 clamp(10px, 1.6vw, 13px)/1.3 Verdana, sans-serif;
}
html body.vh .realm-view .realm-hero { position: absolute; left: 37.5%; top: 50%; width: 25%; aspect-ratio: 1; transform: none; display: block; z-index: 3; }
html body.vh .realm-view .realm-hero img { display: block; width: 100%; height: 100%; transform: none; }
html body.vh .realm-hero.formed img { animation: none; }
html body.vh .realm-view .realm-name { position: absolute; left: 75%; bottom: auto; top: 2%; transform: translateX(-50%); font-size: clamp(10px, 1.5vw, 13px); }
html body.vh .realm-view .realm-invisible, html body.vh .realm-view .realm-poff {
  position: absolute; left: 50%; top: 50%; bottom: auto; width: 50%; height: 50%; margin: 0; transform: none;
  background-size: 500% 100%; background-repeat: no-repeat;
}
html body.vh .realm-view .realm-poff { background-size: 400% 100%; }
@keyframes vh-fx-utana { from { background-position: 0 0; } to { background-position: 125% 0; } }
html body.vh .realm-view .realm-invisible { animation: vh-fx-utana2 .75s steps(1) infinite; }
@keyframes vh-fx-utana2 { 0% { background-position: 0 0; } 20% { background-position: 25% 0; } 40% { background-position: 50% 0; } 60% { background-position: 75% 0; } 80% { background-position: 100% 0; } }
html body.vh .realm-view .realm-poff.puff { animation: vh-fx-poff2 .44s steps(1) 1 forwards; }
@keyframes vh-fx-poff2 { 0% { opacity: 1; background-position: 0 0; } 25% { background-position: 33.333% 0; } 50% { background-position: 66.666% 0; } 75% { background-position: 100% 0; opacity: 1; } 100% { opacity: 0; } }

/* side panel, like the client's right column */
html body.vh .realm-panel { display: flex; flex-direction: column; gap: 8px; padding: 8px; min-width: 0; background: linear-gradient(180deg, #2f2d29, #24231f); box-shadow: inset 2px 0 0 #111, inset 3px 0 0 #5b574d; }
html body.vh .realm-minimap { position: relative; height: 150px; overflow: hidden; background: #0d1a26; box-shadow: inset 0 0 0 1px #000, 0 0 0 1px #6f6a5f; }
html body.vh .realm-minimap .realm-town { position: absolute; width: 768px; height: 768px; left: calc(50% - var(--cx, 384px)); top: calc(50% - var(--cy, 384px)); transform-origin: var(--cx, 384px) var(--cy, 384px); transform: scale(1.6); opacity: 1; transition: none; }
html body.vh .realm-minimap .realm-town img { position: absolute; width: 256px; height: 256px; image-rendering: pixelated; }
html body.vh .realm-minimap .realm-town.arrive { animation: vh-mini-in .6s ease-out; }
@keyframes vh-mini-in { from { opacity: 0; transform: scale(3); } }
html body.vh .realm-pin { position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; box-shadow: 0 0 0 1px #000; display: none; }
html body.vh .realm.in-town .realm-pin { display: block; animation: vh-blink 1s steps(1) infinite; }
@keyframes vh-blink { 50% { opacity: 0; } }
html body.vh .realm-minimap .realm-townname {
  position: absolute; left: 0; right: 0; bottom: 0; top: auto; transform: none; padding: 3px 6px; text-align: center; opacity: 1;
  font: 700 11px/1.2 Verdana, sans-serif; letter-spacing: .04em; color: #e6dcc6; background: #000a; text-shadow: none;
}
html body.vh .realm:not(.in-town) .realm-minimap .realm-townname { top: 0; display: grid; place-items: center; font: 900 40px/1 "Cinzel", Georgia, serif; color: #3a3833; background: none; }

html body.vh .realm-panel .realm-quest { position: static; display: grid; gap: 2px; margin: 0; padding: 0; background: none; list-style: none; }
html body.vh .realm-panel .realm-quest li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; grid-template-rows: none; align-items: center; gap: 8px; padding: 4px 6px; background: #1d1c19; box-shadow: inset 1px 1px 0 #000, inset -1px -1px 0 #4e4a42; color: #9c9384; }
html body.vh .realm-panel .realm-quest span { grid-row: auto; width: 16px; height: 16px; margin: 0 3px; font-size: 8px; }
html body.vh .realm-panel .realm-quest b { font: 700 11px/1.3 Verdana, sans-serif; letter-spacing: 0; }
html body.vh .realm-panel .realm-quest em { max-width: 90px; font: 700 10.5px/1.3 Verdana, sans-serif; }
html body.vh .realm-panel .realm-quest li.on { color: #fff3c8; box-shadow: inset 0 0 0 1px #c79a4b; }

html body.vh .realm-panel .realm-window {
  position: relative; grid-area: auto; align-self: stretch; justify-self: stretch; z-index: auto; flex: 1; width: auto; margin: 0; padding: 0 8px 10px;
  background: linear-gradient(180deg, #3a3834, #2a2926); box-shadow: inset 0 0 0 1px #6f6a5f, inset 0 0 0 2px #111;
}
html body.vh .realm-panel .window-title { margin: 0 -8px 8px; width: calc(100% + 16px); padding: 5px 8px; }
html body.vh .realm-panel .chapter { display: grid; gap: 8px; }
html body.vh .realm-panel .chapter > .btn, html body.vh .realm-panel .chapter > a.btn { width: 100%; height: 34px; min-height: 34px !important; padding: 0 12px !important; }
html body.vh .realm-panel input[type=text] { width: 100%; height: 34px; min-height: 34px !important; }
html body.vh .realm-panel .window-picks { display: grid; grid-template-columns: 1fr; gap: 4px; }
html body.vh .realm-panel .slot-pick > span { grid-template-columns: 34px minmax(0, 1fr); gap: 8px; padding: 3px 8px 3px 3px; }
html body.vh .realm-panel .slot-pick > span img { width: 34px; height: 34px; object-fit: contain; }
html body.vh .realm-panel .slot-pick.town i { width: 34px; height: 34px; }
html body.vh .realm-panel .window-note, html body.vh .realm-panel .character-create-hint { font-size: 10.5px; line-height: 1.4; }
html body.vh .vbox-b .realm-panel .window-back.window-back.window-back { position: absolute; top: 3px; left: 4px; }

@media (max-width: 720px) {
  html body.vh .vbox-b .realm { grid-template-columns: 1fr !important; }
  html body.vh .realm-panel { box-shadow: inset 0 2px 0 #111; }
  html body.vh .realm-minimap { height: 110px; }
  html body.vh .realm-panel .window-picks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- server info v2: fits the column, lighter ---------- */
html body.vh .vh-main > .vbox, html body.vh .vbox.page, html body.vh .vbox-b .si-card, html body.vh .vbox-b .si-stage-panel { min-width: 0; }
html body.vh .vbox-b .si-body > span, html body.vh .vbox-b .si-body small { white-space: normal; overflow-wrap: anywhere; }
html body.vh .vbox-b .si-rates { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
html body.vh .vbox-b .si-card { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 6px; padding: 12px 8px; }
html body.vh .vbox-b .si-icon { width: 44px; height: 44px; box-shadow: 0 0 0 1px #0d0804, 0 0 0 2px #c79a4b; }
html body.vh .vbox-b .si-body { justify-items: center; }
html body.vh .vbox-b .si-body b { font-size: 21px; }
html body.vh .vbox-b .si-body > span { font-size: 10.5px; line-height: 1.35; }
html body.vh .vbox-b .si-perk { margin-top: 10px; padding: 4px 10px; font-size: 11.5px; }
html body.vh .vbox-b .si-stage-panel { background: none; box-shadow: none; }
html body.vh .vbox-b .si-stage-h { padding: 0 0 6px; background: none; box-shadow: inset 0 -1px 0 #c5a877; color: #3a2616; font-size: 14px; }
html body.vh .vbox-b .si-stage-h img { width: 28px; height: 28px; }
html body.vh .vbox-b .si-stage-panel .catalogue-filters { display: none !important; }
html body.vh .vbox-b .si-stages tbody tr > * { background: transparent !important; }
html body.vh .vbox-b .si-stages tbody tr:nth-child(even) > * { background: #f2e6cc !important; }
html body.vh .vbox-b .si-stages thead th { height: 28px; }
html body.vh .vbox-b .si-stages thead .table-sort { height: 28px; }
html body.vh .vbox-b .si-stages { box-shadow: 0 0 0 1px #c5a877; }
html body.vh .vbox-b .si-stage-note { padding: 6px 2px 0; border: 0; }
html body.vh .vbox-b .si-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { html body.vh .vbox-b .si-rates { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { html body.vh .vbox-b .si-rates, html body.vh .vbox-b .si-facts { grid-template-columns: 1fr; } }
/* Oracle client v2 fixes */
html body.vh .realm-view .npc-say.speak { animation: vh-fade-up .45s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes vh-fade-up { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }
html body.vh .realm-view .realm-hero { top: 37.5%; }
html body.vh .realm-view .realm-name { top: 30%; left: 75%; }
html body.vh .realm-panel .realm-quest, html body.vh .realm-panel .realm-quest li { width: 100%; box-sizing: border-box; flex: none; }
html body.vh .realm-panel .realm-window .FormFieldError { color: #d7cfbd !important; font-weight: 400; }
html body.vh .realm-panel .character-name-status { display: flex; gap: 6px; align-items: flex-start; font-size: 10.5px; line-height: 1.4; }
html body.vh .realm-view .realm-name { top: -2%; left: 62%; }
/* Oracle: no growth on look change; explicit Back / Confirm per step */
html body.vh .realm-view .realm-hero.reveal img, html body.vh .realm-view .realm-hero.change img, html body.vh .realm-view .realm-hero.formed img { animation: none !important; transform: none !important; }
html body.vh .realm-panel .window-nav { display: grid; grid-template-columns: 1fr 1.4fr; gap: 6px; margin-top: 4px; }
html body.vh .realm-panel .window-nav .btn { width: 100%; height: 34px; min-height: 34px !important; padding: 0 10px !important; font-size: 12px !important; }
html body.vh .realm-panel .window-nav .btn:disabled { opacity: .45; cursor: not-allowed; filter: grayscale(.5) !important; }
html body.vh .realm-panel .chapter[data-chapter=name] .window-nav { display: none; }

/* ---------- recovery key: one centred sheet ---------- */
html body.vh .rk-sheet { display: grid; justify-items: center; gap: 8px; max-width: 420px; margin: 6px auto 4px; text-align: center; }
html body.vh .rk-seal { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #4a3a2a, #1f160d); box-shadow: 0 0 0 1px #0d0804, 0 0 0 3px #c79a4b, 0 0 0 4px #0d0804, 0 0 16px #e7c47a55; }
html body.vh .rk-seal img { width: 40px; height: 40px; image-rendering: pixelated; }
html body.vh .rk-sheet h2 { margin: 6px 0 0; font: 900 18px/1.2 "Cinzel", Georgia, serif; letter-spacing: .05em; color: #3a2616; }
html body.vh .rk-lead { margin: 0; font-size: 12.5px; line-height: 1.55; color: #4a3626; }
html body.vh .rk-cost { margin: 0; padding: 8px 12px; font: 700 12px/1.45 Verdana, sans-serif; color: #7a1c15; background: #f6e2c8; box-shadow: 0 0 0 1px #c9a07a; }
html body.vh .rk-form { display: grid; gap: 6px; width: 100%; margin-top: 8px; text-align: left; }
html body.vh .rk-form label { font: 800 13px/1.3 "Martel", Georgia, serif; color: #3a2616; }
html body.vh .rk-form input[type=password] { width: 100%; min-height: 40px; padding: 0 10px 0 42px !important; background: #fffaf0 url("../../../images/items/generated/2088.gif") 6px center / 28px no-repeat !important; image-rendering: pixelated; border: 1px solid #9c7333; box-shadow: inset 0 2px 3px #6b4a2a26; }
html body.vh .rk-actions { display: grid; grid-template-columns: 1fr 1.5fr; gap: 8px; margin-top: 8px; }
html body.vh .rk-actions .btn { width: 100%; }
html body.vh .cc-sheet { max-width: 520px; }
html body.vh .cc-name { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 4px; padding: 8px 12px; background: #f6ead3; box-shadow: 0 0 0 1px #c9a07a; }
html body.vh .cc-name span { font: 800 12px/1.3 "Martel", Georgia, serif; color: #6b5238; }
html body.vh .cc-name strong { font: 800 15px/1.3 "Martel", Georgia, serif; color: #3a2616; }
html body.vh .cc-form label.cc-check { display: flex; gap: 8px; align-items: center; font: 600 12.5px/1.4 Verdana, sans-serif; color: #4a3626; }
html body.vh .cc-form textarea { width: 100%; min-height: 150px; padding: 8px 10px; resize: vertical; font: 12.5px/1.5 Verdana, sans-serif; color: #2a1c10; background: #fffaf0; border: 1px solid #b08a5c; box-sizing: border-box; }
html body.vh .cc-hint { font-size: 11px; color: #6b5238; }

/* ---------- Oracle v4: wide game window over a fixed client console ---------- */
html body.vh .vbox-b .realm { grid-template-columns: 1fr !important; grid-template-rows: 360px 200px !important; }
html body.vh .realm-view { aspect-ratio: auto; height: 360px; background-size: 48px 48px; }
html body.vh .realm-view .realm-oracle { left: calc(50% - 48px); top: 52px; width: 96px; }
html body.vh .realm-view .realm-hero { left: calc(50% - 48px); top: 172px; width: 96px; height: 96px; aspect-ratio: auto; }
html body.vh .realm-view .realm-name { top: -14px; left: 70%; font-size: 12px; }
html body.vh .realm-view .npc-say { top: 14px; width: min(80%, 520px); font-size: 12.5px; }
html body.vh .realm-view .realm-light { inset: -20% 30% 25%; }
/* minimap in the corner, like the client */
html body.vh .realm-view .realm-minimap {
  position: absolute; z-index: 5; top: 12px; right: 12px; width: 132px; height: 132px; opacity: 0; transform: scale(.9); transition: opacity .4s, transform .4s;
  box-shadow: 0 0 0 1px #000, 0 0 0 2px #79736a, 0 0 0 3px #111, 0 6px 12px #000a;
}
html body.vh .realm.in-town .realm-view .realm-minimap { opacity: 1; transform: none; }
html body.vh .realm-view .realm-minimap .realm-town { transform: scale(1.3); }
html body.vh .realm-view .realm-minimap .realm-townname { font-size: 10.5px; }

/* console: chapters on the left, the current step on the right, fixed height */
html body.vh .realm-panel {
  display: grid !important; grid-template-columns: 190px minmax(0, 1fr); gap: 10px; padding: 10px; height: 200px; box-sizing: border-box;
  background: linear-gradient(180deg, #34322e, #262522); box-shadow: inset 0 2px 0 #111, inset 0 3px 0 #5b574d;
}
html body.vh .realm-panel .realm-quest { align-content: start; gap: 3px; }
html body.vh .realm-panel .realm-quest li { padding: 3px 6px; grid-template-columns: 22px minmax(0, 1fr) auto; }
html body.vh .realm-panel .realm-quest em { max-width: 78px; }
html body.vh .realm-panel .realm-window { display: block; height: 100%; padding: 0 10px 10px; overflow: hidden; }
html body.vh .realm-panel .realm-window .chapter.open { display: grid !important; grid-template-rows: auto 1fr auto; height: 100%; gap: 8px; }
html body.vh .realm-panel .window-title { margin: 0 -10px; width: calc(100% + 20px); }
/* name step: input, a reserved status line, then the button row */
html body.vh .realm-panel .chapter[data-chapter=name].open { grid-template-rows: auto auto auto 1fr auto; }
html body.vh .realm-panel .chapter[data-chapter=name] .character-create-hint { display: none; }
html body.vh .realm-panel .character-name-status { min-height: 30px; max-height: 30px; overflow: hidden; display: flex; align-items: flex-start; gap: 6px; font-size: 10.5px; line-height: 1.4; color: #b8ad96; }
html body.vh .realm-panel .character-name-status img { flex: none; margin-top: 2px; }
html body.vh .realm-panel .chapter[data-chapter=name] > [data-next] { align-self: end; justify-self: end; width: auto; min-width: 150px; }
/* every set of choices fits one row, so the console never changes height */
html body.vh .realm-panel .window-picks { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); grid-template-columns: none; gap: 6px; align-self: start; }
html body.vh .realm-panel .slot-pick > span { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 3px; padding: 6px 4px; height: 64px; box-sizing: border-box; }
html body.vh .realm-panel .slot-pick > span img, html body.vh .realm-panel .slot-pick.town i { width: 32px; height: 32px; }
html body.vh .realm-panel .window-note { display: none; }
html body.vh .realm-panel .window-nav { align-self: end; display: flex; justify-content: flex-end; gap: 8px; margin: 0; }
html body.vh .realm-panel .window-nav .btn { width: auto; min-width: 110px; }
html body.vh .realm-panel .chapter[data-chapter=final] .window-nav .btn-gold { min-width: 170px; }

@media (max-width: 720px) {
  html body.vh .vbox-b .realm { grid-template-rows: 300px auto !important; }
  html body.vh .realm-view { height: 300px; background-size: 40px 40px; }
  html body.vh .realm-view .realm-oracle { top: 46px; width: 80px; left: calc(50% - 40px); }
  html body.vh .realm-view .realm-hero { top: 148px; width: 80px; height: 80px; left: calc(50% - 40px); }
  html body.vh .realm-view .realm-minimap { width: 96px; height: 96px; }
  html body.vh .realm-panel { grid-template-columns: 1fr; height: auto; }
  html body.vh .realm-panel .realm-quest { grid-auto-flow: column; grid-auto-columns: 1fr; }
  html body.vh .realm-panel .realm-quest b, html body.vh .realm-panel .realm-quest em { display: none; }
  html body.vh .realm-panel .realm-quest li { grid-template-columns: 1fr; justify-items: center; }
  html body.vh .realm-panel .realm-window .chapter.open { height: auto; min-height: 150px; }
  html body.vh .realm-panel .window-picks { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
html body.vh .realm-view .realm-hero { top: 196px; }

/* ---------- Oracle v5: true game scale, console in the site's own materials ---------- */
/* outfit images are drawn at 2x (64 px for a 32 px tile): one tile = 48 px here, like the Oracle */
html body.vh .realm-view .realm-hero { left: calc(50% - 24px); top: 196px; width: 48px; height: 48px; }
html body.vh .realm-view .realm-invisible, html body.vh .realm-view .realm-poff { left: 0; top: 0; width: 100%; height: 100%; }
html body.vh .realm-view .realm-name { top: -18px; left: 50%; }

/* console: dark oak and leather, gold type, no grey client chrome */
html body.vh .realm-panel {
  grid-template-columns: 180px minmax(0, 1fr); gap: 14px; padding: 14px 16px;
  background: linear-gradient(180deg, #3a2614, #24170d 60%, #1b1108); box-shadow: inset 0 1px 0 #c79a4b, inset 0 2px 0 #0d0804, inset 0 12px 18px -12px #000c;
}
html body.vh .realm-panel .realm-quest { gap: 2px; }
html body.vh .realm-panel .realm-quest li { padding: 4px 4px; background: none; box-shadow: none; border-bottom: 1px solid #ffffff10; color: #a8936d; }
html body.vh .realm-panel .realm-quest li.on { color: #f6dd9c; box-shadow: none; background: linear-gradient(90deg, #c79a4b33, transparent); }
html body.vh .realm-panel .realm-quest li.done { color: #e6d3a8; }
html body.vh .realm-panel .realm-quest b { font: 700 12px/1.3 "Martel", Georgia, serif; }
html body.vh .realm-panel .realm-quest em { color: #f6dd9c; font: 700 11px/1.3 "Martel", Georgia, serif; }
html body.vh .realm-panel .realm-window { padding: 0; background: none; box-shadow: none; }
html body.vh .realm-panel .window-title {
  margin: 0; width: auto; padding: 0 0 8px; text-align: left; background: none; box-shadow: inset 0 -1px 0 #c79a4b55;
  font: 900 13px/1.2 "Cinzel", Georgia, serif; letter-spacing: .08em; color: #f6dd9c;
}
html body.vh .realm-panel input[type=text] {
  color: #24170d !important; background: #f8efdb !important; border: 1px solid #9c7333 !important;
  box-shadow: inset 0 2px 3px #6b4a2a33 !important; font: 800 15px/1 "Martel", Georgia, serif !important;
}
html body.vh .realm-panel .character-name-status, html body.vh .realm-panel .realm-window .FormFieldError { color: #d8c8a6 !important; }
html body.vh .realm-panel .slot-pick > span {
  height: 66px; background: linear-gradient(180deg, #4a3019, #2c1c0e); color: #ecd39a; font: 800 12.5px/1.2 "Martel", Georgia, serif;
  box-shadow: 0 0 0 1px #0d0804, inset 0 0 0 1px #9c733366, inset 0 1px 0 #f1d59526;
}
html body.vh .realm-panel .slot-pick > span img { background: none; box-shadow: none; }
html body.vh .realm-panel .slot-pick:hover > span { color: #fff3c8; box-shadow: 0 0 0 1px #0d0804, inset 0 0 0 1px #e7c47a; }
html body.vh .realm-panel .slot-pick input:checked + span { color: #24170d; background: linear-gradient(180deg, #f3d589, #c4923f); box-shadow: 0 0 0 1px #0d0804, 0 0 12px #e7c47a88; }
@media (max-width: 720px) {
  html body.vh .realm-view .realm-hero { top: 156px; left: calc(50% - 20px); width: 40px; height: 40px; }
}
/* the hero steps one tile north (towards the Oracle) after choosing a vocation */
html body.vh .realm-view .realm-hero { transition: top .45s linear; }
html body.vh .realm-view .realm-hero.stepped { top: 148px; }
html body.vh .realm-view .realm-hero.stepped:not(.turned) img { animation: vh-step-bob .45s steps(2) 1; }
@keyframes vh-step-bob { 50% { transform: translateY(-2px); } }
@media (max-width: 720px) { html body.vh .realm-view .realm-hero.stepped { top: 116px; } }

/* ---------- Oracle console: steps column | current step, over a fixed footer ---------- */
html body.vh .vbox-b .realm { grid-template-rows: 360px 236px !important; }
html body.vh .realm-panel { grid-template-columns: 200px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; gap: 0; padding: 0; height: 236px; }
html body.vh .realm-panel .realm-quest {
  grid-column: 1; grid-row: 1; align-content: start; gap: 0; padding: 10px 10px; background: #00000059; box-shadow: inset -1px 0 0 #c79a4b55, inset -2px 0 0 #0d0804;
}
html body.vh .realm-panel .realm-quest li { padding: 5px 6px; }
html body.vh .realm-panel .realm-window { grid-column: 2; grid-row: 1; padding: 12px 16px 10px; height: auto; }
html body.vh .realm-panel .realm-window .chapter.open { grid-template-rows: auto 1fr; }
html body.vh .realm-panel .chapter[data-chapter=name].open { grid-template-rows: auto auto auto 1fr; }
html body.vh .realm-panel .window-nav, html body.vh .realm-panel .chapter[data-chapter=name] > [data-next] { display: none !important; }
html body.vh .realm-footer {
  grid-column: 1 / -1; grid-row: 2; display: flex; justify-content: flex-end; align-items: center; gap: 8px; padding: 10px 16px;
  background: #0000004d; box-shadow: inset 0 1px 0 #c79a4b55, inset 0 2px 0 #0d0804;
}
html body.vh .realm-footer [hidden] { display: none !important; }
html body.vh .realm-footer .footer-captcha { display: none; position: relative; left: -6px; margin-right: auto; width: 304px; height: 78px; }
html body.vh .realm-footer:has([data-foot-submit]:not([hidden])) .footer-captcha { display: flex; align-items: flex-start; overflow: hidden; }
html body.vh .realm-footer .footer-captcha iframe { display: block; }
html body.vh .realm-footer .footer-captcha .furias-captcha { margin: 0; }
html body.vh .vbox-b .realm-footer .btn { min-width: 120px; height: 34px; min-height: 34px !important; padding: 0 16px !important; font-size: 12.5px !important; }
html body.vh .vbox-b .realm-footer [data-foot-submit] { min-width: 180px; }
html body.vh .vbox-b .realm-footer .btn:disabled { opacity: .45; cursor: not-allowed; }
html body.vh .realm.finale .realm-footer [data-foot-submit] { animation: vh-play-glow 2s ease-in-out infinite; }
@media (max-width: 720px) {
  html body.vh .vbox-b .realm { grid-template-rows: 300px auto !important; }
  html body.vh .realm-panel { grid-template-columns: 1fr; grid-template-rows: auto auto auto; height: auto; }
  html body.vh .realm-panel .realm-quest { grid-row: 1; box-shadow: inset 0 -1px 0 #c79a4b55; }
  html body.vh .realm-panel .realm-window { grid-column: 1; grid-row: 2; }
  html body.vh .realm-footer { grid-row: 3; }
  html body.vh .realm-footer .btn { flex: 1; min-width: 0; }
}
/* the Oracle leaves when the hero sets out for a city, and returns on the way back */
html body.vh .realm-view .realm-oracle { transition: opacity .6s ease, transform .6s cubic-bezier(.16, 1, .3, 1); }
html body.vh .realm.journey .realm-view .realm-oracle { opacity: 0; transform: translateY(-28px) scale(.92); }
html body.vh .realm-view .realm-hero.stepped:not(.turned) img, html body.vh .realm-view .realm-hero:not(.stepped) img { transition: none; }
html body.vh .realm-view .realm-hero img { animation: none; }
html body.vh .realm-view .realm-hero.walking img { animation: vh-step-bob .45s steps(2) 1; }
html body.vh .realm-panel .realm-quest { grid-auto-rows: 1fr; align-content: stretch; height: 100%; box-sizing: border-box; }
html body.vh .realm-panel .realm-quest li:not([hidden]) { align-self: stretch; }
/* choices fill the console's free height */
html body.vh .realm-panel .realm-window { display: flex; flex-direction: column; }
html body.vh .realm-panel .realm-window .chapter.open { flex: 1; min-height: 0; grid-template-rows: auto minmax(0, 1fr); }
html body.vh .realm-panel .window-picks { align-self: stretch; height: 100%; grid-auto-rows: 100%; }
html body.vh .realm-panel .slot-pick { display: block; height: 100%; }
html body.vh .realm-panel .slot-pick > span { height: 100%; align-content: center; gap: 6px; }
html body.vh .realm-panel .slot-pick > span img, html body.vh .realm-panel .slot-pick.town i { width: 48px; height: 48px; }
html body.vh .realm-panel .slot-pick.town i { font-size: 22px; }
html body.vh .realm-panel .realm-quest { padding-top: 14px; padding-bottom: 14px; }
html body.vh .realm-panel .realm-quest li:last-child { border-bottom: 0; }
html body.vh .realm-panel .realm-window .chapter.open:not([data-chapter=name]) { display: flex !important; flex-direction: column; gap: 8px; }
html body.vh .realm-panel .realm-window .chapter.open > .window-picks { flex: 1 1 auto; height: auto; min-height: 0; grid-auto-rows: 1fr; }
html body.vh .realm-panel .realm-window .chapter.open > .window-picks .slot-pick { height: auto; }

/* hero walking with the client's moving frames */
html body.vh .realm-view .realm-walk { display: none; position: absolute; inset: 0; background: 0 0 / 300% 100% no-repeat; image-rendering: pixelated; }
html body.vh .realm-view .realm-hero.posing .realm-walk { display: block; }
html body.vh .realm-view .realm-hero.posing img { visibility: hidden; }
html body.vh .realm-view .realm-walk.moving { animation: vh-walk-frames .3s steps(1) infinite; }
@keyframes vh-walk-frames { 0% { background-position: 50% 0; } 50% { background-position: 100% 0; } }
html body.vh .realm-view .realm-hero.walking img { animation: none; }

/* city cards: a patch of the real map around each temple */
html body.vh .realm-panel .slot-pick.town .town-thumb {
  position: relative; display: block; width: 64px; height: 48px; overflow: hidden; clip-path: none; background: #0d1a26;
  box-shadow: 0 0 0 1px #0d0804, 0 0 0 2px #9c7333;
}
html body.vh .realm-panel .slot-pick.town .town-thumb img { position: absolute; left: 50%; top: 50%; width: 256px; height: 256px; image-rendering: pixelated;
  transform-origin: 0 0; transform: scale(1.4) translate(var(--tx, -128px), var(--ty, -128px)); }
html body.vh .realm-panel .slot-pick.town .town-thumb::after { content: ""; position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; margin: -2px 0 0 -2px; background: #fff; box-shadow: 0 0 0 1px #000; }
html body.vh .realm-panel .slot-pick.town .town-thumb { background-repeat: no-repeat; image-rendering: pixelated; }

/* ---------- scene side panel: starter kit, then the city map ---------- */
html body.vh .realm-view .realm-side { position: absolute; z-index: 5; top: 12px; right: 12px; display: grid; gap: 10px; width: 168px; pointer-events: none; }
html body.vh .realm-side .side-card {
  padding: 8px; background: linear-gradient(180deg, #3a2614ee, #1b1108ee); box-shadow: 0 0 0 1px #0d0804, inset 0 0 0 1px #c79a4b66, 0 8px 16px -6px #000c;
  opacity: 0; transform: translateX(24px); max-height: 0; overflow: hidden; padding-block: 0;
  transition: opacity .45s ease, transform .5s cubic-bezier(.16, 1, .3, 1), max-height .5s cubic-bezier(.16, 1, .3, 1), padding .5s;
}
html body.vh .realm-side.has-kit .side-kit, html body.vh .realm-side.has-map .side-map { opacity: 1; transform: none; max-height: 200px; padding-block: 8px; }
html body.vh .realm-side .side-title { display: block; margin-bottom: 6px; font: 900 11px/1.2 "Cinzel", Georgia, serif; letter-spacing: .06em; color: #f6dd9c; }
html body.vh .realm-side .side-items { display: grid; grid-template-columns: repeat(4, 34px); gap: 4px; }
html body.vh .realm-side .side-items[hidden] { display: none; }
html body.vh .realm-side .side-slot { display: grid; place-items: center; width: 34px; height: 34px; background: #2b2924; box-shadow: inset 1px 1px 0 #000, inset -1px -1px 0 #5b574d; }
html body.vh .realm-side .side-slot img { width: 32px; height: 32px; image-rendering: pixelated; }
html body.vh .realm-side .side-items:not([hidden]) .side-slot { animation: vh-rise .35s cubic-bezier(.16, 1, .3, 1) both; }
html body.vh .realm-side .side-items .side-slot:nth-child(n+2) { animation-delay: 40ms; }
html body.vh .realm-side .side-items .side-slot:nth-child(n+4) { animation-delay: 80ms; }
html body.vh .realm-side .side-items .side-slot:nth-child(n+6) { animation-delay: 120ms; }
html body.vh .realm-side .side-map .realm-minimap { position: relative; top: auto; right: auto; width: 152px; height: 120px; opacity: 1; transform: none; box-shadow: inset 0 0 0 1px #000; }
html body.vh .realm.in-town .realm-side .side-map .realm-minimap { opacity: 1; transform: none; }
html body.vh .realm:not(.in-town) .realm-side .realm-minimap .realm-townname { font-size: 32px; }
@media (max-width: 720px) { html body.vh .realm-view .realm-side { width: 130px; } html body.vh .realm-side .side-items { grid-template-columns: repeat(3, 34px); } html body.vh .realm-side .side-map .realm-minimap { width: 114px; height: 90px; } }
/* walking frames are drawn on a 64 px canvas (sprite bottom-right); the still image is cropped to 39 px.
   Scale and anchor the frame so the body matches the still image exactly. */
html body.vh .realm-view .realm-walk { inset: auto; right: -5%; bottom: -10%; width: 164.1%; height: 164.1%; background-size: 300% 100%; }
/* city cards: the city flag sprite */
html body.vh .realm-panel .slot-pick.town .town-flag { width: 64px; height: 64px; margin: -8px 0 -6px; object-fit: none; image-rendering: pixelated; }
html body.vh .realm-view .realm-walk { right: 5%; bottom: 10.2%; }
/* NPC text: narrower column clear of the side panel, scene moved down to make room */
html body.vh .realm-view .npc-say { top: 16px; width: min(46%, 300px); left: calc(50% - 10px); line-height: 1.35; }
html body.vh .realm-view .realm-oracle { top: 96px; }
html body.vh .realm-view .realm-hero { top: 232px; }
html body.vh .realm-view .realm-hero.stepped { top: 184px; }
@media (max-width: 720px) {
  html body.vh .realm-view .npc-say { width: 52%; left: 30%; font-size: 11px; }
  html body.vh .realm-view .realm-oracle { top: 90px; }
  html body.vh .realm-view .realm-hero { top: 190px; }
  html body.vh .realm-view .realm-hero.stepped { top: 150px; }
}

/* Monster "Where to hunt": one-line headers (sort arrows included), numbers narrow. */
html body.vh .aac .monster-hunts .hunt-table thead th { white-space: nowrap; }
html body.vh .aac .monster-hunts .hunt-table thead th:first-child { width: auto; }
html body.vh .aac .monster-hunts .hunt-table thead th:nth-child(2), html body.vh .aac .monster-hunts .hunt-table thead th:nth-child(3) { width: 82px; }
html body.vh .aac .monster-hunts .hunt-table thead th:nth-child(4) { width: 150px; }
