
@font-face { font-family: "Cinzel"; src: url("../fonts/Cinzel-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: block; }
@font-face { font-family: "Cinzel"; src: url("../fonts/Cinzel-Regular.ttf") format("truetype"); font-weight: 400; font-display: block; }
@font-face { font-family: "EB Garamond"; src: url("../fonts/EBGaramond-Variable.ttf") format("truetype"); font-weight: 400 800; font-style: normal; font-display: block; }
@font-face { font-family: "EB Garamond"; src: url("../fonts/EBGaramond-Italic-Variable.ttf") format("truetype"); font-weight: 400 800; font-style: italic; font-display: block; }
@font-face { font-family: "Lato"; src: url("../fonts/Lato-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: block; }

:root {
  --ink: #1a120d; --deep: #1f1714; --leather: #35271f; --lift: #4b382b; --hi: #67503d; --shade: #2a1e17;
  --bronze: #9c7240; --gold: #d9a03c; --gold-hi: #f3d268; --gold-lo: #94601c; --gold-pale: #ecd3a2;
  --bone: #eddcbf; --dim: #b39d82; --off: #7d6d60;
  --violet: #a874de; --violet-hi: #cfaef5; --blood: #c8342b; --blood-hi: #e2574a; --moss: #a0d07f; --ward: #e8b95a; --flame: #e0782a;
  --r-common: #eddcbf; --r-runed: #86a2f2; --r-rare: #f3d268; --r-unique: #f08a3a; --r-set: #7fcf6a; --r-crafted: #b88cf0;
  --calum: #4a68a0; --dorneval: #a03a50; --vargheim: #4c535b;
  --st: env(safe-area-inset-top, 0px); --sb: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: #0e0805; height: 100%; }
body { font: 600 14px/1.3 "Lato", system-ui, sans-serif; color: var(--bone); -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; font-variant-numeric: tabular-nums lining-nums; }
a { color: inherit; text-decoration: none; }
img { display: block; }
.px, .px img { image-rendering: pixelated; image-rendering: crisp-edges; }
.screen { position: relative; width: 390px; height: 100dvh; min-height: 640px; max-height: 844px; margin: 0 auto; overflow: hidden; background: var(--deep); }
body.sim { --st: 47px; --sb: 34px; }
body.sim .screen { height: 844px; }

.cut { clip-path: polygon(2px 0, calc(100% - 2px) 0, calc(100% - 2px) 2px, 100% 2px, 100% calc(100% - 2px), calc(100% - 2px) calc(100% - 2px), calc(100% - 2px) 100%, 2px 100%, 2px calc(100% - 2px), 0 calc(100% - 2px), 0 2px, 2px 2px); }
.cut2 { clip-path: polygon(4px 0, calc(100% - 4px) 0, calc(100% - 4px) 2px, calc(100% - 2px) 2px, calc(100% - 2px) 4px, 100% 4px, 100% calc(100% - 4px), calc(100% - 2px) calc(100% - 4px), calc(100% - 2px) calc(100% - 2px), calc(100% - 4px) calc(100% - 2px), calc(100% - 4px) 100%, 4px 100%, 4px calc(100% - 2px), 2px calc(100% - 2px), 2px calc(100% - 4px), 0 calc(100% - 4px), 0 4px, 2px 4px, 2px 2px, 4px 2px); }

.plate { background: var(--leather); border: 2px solid var(--ink); box-shadow: inset 2px 2px 0 var(--lift), inset -2px -2px 0 var(--shade); }
.plate.framed { box-shadow: inset 0 0 0 2px var(--bronze), inset 0 0 0 4px var(--ink), inset 6px 6px 0 var(--lift); }
.stitch { position: relative; }
.stitch::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 6px; height: 2px; background: repeating-linear-gradient(90deg, var(--hi) 0 4px, transparent 4px 8px); }

.t-title { font: 800 18px/1.1 "Cinzel", serif; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-pale); }
.t-name { font: 800 15px/1.15 "Cinzel", serif; letter-spacing: .03em; }
.t-cap { font: 600 11px/1.2 "Lato", sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.t-flav { font: italic 400 15px/1.3 "EB Garamond", serif; color: var(--dim); }
.num { font: 600 14px/1 "Lato", sans-serif; }
.up { color: var(--moss); } .down { color: #e58a80; } .same { color: var(--dim); }
.c-common { color: var(--r-common); } .c-runed { color: var(--r-runed); } .c-rare { color: var(--r-rare); } .c-unique { color: var(--r-unique); } .c-set { color: var(--r-set); } .c-crafted { color: var(--r-crafted); }

.btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 10px 2px; font: 600 13px/1 "Lato", sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--bone); background: var(--lift); border: 2px solid var(--ink); box-shadow: inset 0 2px 0 var(--hi), inset 0 -4px 0 var(--shade); }
.btn.gold { color: var(--ink); background: var(--gold); box-shadow: inset 0 2px 0 var(--gold-hi), inset 0 -4px 0 var(--gold-lo); }
.btn.hold { box-shadow: inset 0 2px 0 var(--hi), inset 0 -4px 0 var(--shade), inset 6px 0 0 var(--blood); }

.btn.off { color: #a39382; background: #2e231c; box-shadow: inset 0 2px 0 #3a2c23, inset 0 -4px 0 #241a14; }
.btn small { font: 600 11px/1 "Lato", sans-serif; letter-spacing: .06em; color: inherit; opacity: 1; }
.badge { position: absolute; min-width: 18px; height: 18px; padding: 0 4px; font: 600 11px/14px "Lato", sans-serif; text-align: center; color: var(--ink); background: var(--gold); border: 2px solid var(--ink); }

.bar { height: 12px; background: #120b08; border: 2px solid var(--ink); }
.bar > i { display: block; height: 100%; background: var(--blood); box-shadow: inset 0 2px 0 var(--blood-hi); }
.bar.rp > i { background: var(--violet); box-shadow: inset 0 2px 0 var(--violet-hi); }
.bar.ward > i { background: var(--ward); box-shadow: inset 0 2px 0 #f6dc9c; }
.bar.xp > i { background: var(--gold); box-shadow: inset 0 2px 0 var(--gold-hi); }
.bar.thin { height: 8px; }

.slot { position: relative; width: 44px; height: 44px; background: #241a15; border: 2px solid var(--ink); box-shadow: inset 2px 2px 0 #17100c, inset -2px -2px 0 #3a2c23; flex: none; }
.slot img { position: absolute; left: 4px; top: 4px; width: 32px; height: 32px; }
.slot::before, .slot::after { content: ""; position: absolute; width: 6px; height: 6px; border: 0 solid var(--rc, transparent); }
.slot::before { left: 0; top: 0; border-width: 2px 0 0 2px; box-shadow: 30px 0 0 -100px transparent; }
.slot::after { right: 0; bottom: 0; border-width: 0 2px 2px 0; }
.slot.runed { --rc: var(--r-runed); } .slot.rare { --rc: var(--r-rare); } .slot.unique { --rc: var(--r-unique); } .slot.set { --rc: var(--r-set); } .slot.crafted { --rc: var(--r-crafted); } .slot.common { --rc: #8a7a66; }
.slot.sel { border-color: var(--gold); box-shadow: inset 0 0 0 2px var(--ink), inset 4px 4px 0 #17100c; }

.scene { position: absolute; left: 0; top: 0; width: 390px; height: 844px; }
.tap { position: absolute; }
.area { position: absolute; left: 50%; top: calc(var(--st) + 6px); width: 216px; margin-left: -108px; padding: 6px 8px 8px; text-align: center; }
.area::before, .area::after { content: ""; position: absolute; top: 10px; width: 10px; height: 34px; background: var(--shade); border: 2px solid var(--ink); z-index: -1; }
.area::before { left: -8px; } .area::after { right: -8px; }
.area .kind { display: block; font: 600 11px/1.2 "Lato", sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.area b { display: block; font: 800 19px/1.15 "Cinzel", serif; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-pale); }
.area .held { display: inline-flex; align-items: center; gap: 6px; font: 600 11px/1.2 "Lato", sans-serif; color: var(--bone); margin-top: 2px; }
.flag { display: inline-block; width: 10px; height: 10px; border: 2px solid var(--ink); background: var(--calum); }
.quest { position: absolute; left: 50%; top: calc(var(--st) + 76px); width: 176px; margin-left: -88px; height: 26px; display: flex; align-items: center; justify-content: space-between; padding: 0 8px; font: 600 11px/1 "Lato", sans-serif; letter-spacing: .06em; background: var(--deep); border: 2px solid var(--ink); box-shadow: inset 4px 0 0 var(--gold); }
.quest span { padding-left: 6px; text-transform: uppercase; color: var(--bone); } .quest b { color: var(--gold-hi); font-weight: 600; }
.col { position: absolute; display: flex; flex-direction: column; gap: 8px; }
.col.left { left: 8px; top: calc(var(--st) + 8px); }
.col.right { right: 8px; top: calc(var(--st) + 8px); align-items: flex-end; }
.col.low { right: 8px; bottom: calc(var(--sb) + 86px); }
.col.lowleft { left: 8px; bottom: calc(var(--sb) + 86px); }
.sq { position: relative; width: 56px; height: 60px; display: block; text-align: center; }
.sq img { width: 32px; height: 32px; margin: 4px auto 0; }
.sq span { display: block; font: 600 11px/1 "Lato", sans-serif; letter-spacing: .04em; text-transform: uppercase; color: var(--bone); margin-top: 3px; }
.sq .badge { right: -6px; top: -6px; }
.osm { position: absolute; right: 70px; bottom: calc(var(--sb) + 92px); font: 600 11px/1 "Lato", sans-serif; color: #5a4c38; letter-spacing: .02em; }
.dusk .osm { color: #c9c7a8; }
.bar5 { position: absolute; left: 0; right: 0; bottom: 0; height: calc(72px + var(--sb)); padding: 0 4px var(--sb); display: grid; grid-template-columns: 1fr 1fr 84px 1fr 1fr; background: var(--leather); border-top: 2px solid var(--ink); box-shadow: inset 0 2px 0 var(--bronze), inset 0 4px 0 var(--ink), inset 0 6px 0 var(--lift); }
.bar5 .b { position: relative; display: block; padding-top: 10px; text-align: center; }
.bar5 .b img { width: 32px; height: 32px; margin: 0 auto; }
.bar5 .b span { display: block; font: 600 11px/1 "Lato", sans-serif; letter-spacing: .08em; text-transform: uppercase; margin-top: 3px; color: var(--bone); }
.bar5 .b small { display: block; font: 600 11px/1 "Lato", sans-serif; letter-spacing: .02em; margin-top: 3px; color: var(--off); }
.bar5 .b .badge { left: 50%; margin-left: 8px; top: 6px; }
.heroplate { position: absolute; left: 50%; bottom: calc(var(--sb) + 8px); width: 76px; height: 94px; margin-left: -38px; padding: 6px 8px 0; background: var(--shade); border: 2px solid var(--ink); box-shadow: inset 0 0 0 2px var(--gold), inset 0 0 0 4px var(--ink); }
.heroplate img.fig { width: 48px; height: 48px; margin: 2px auto 2px; }
.heroplate .bar { height: 8px; margin: 0 2px 2px; }
.heroplate .lv { position: absolute; left: -8px; top: -8px; width: 26px; height: 22px; font: 600 12px/18px "Lato", sans-serif; text-align: center; color: var(--ink); background: var(--gold); border: 2px solid var(--ink); }

.veil { position: absolute; inset: 0; background: rgba(14, 9, 6, .62); }
.pick { position: absolute; }
.pick img { width: 48px; height: 48px; }
.pick::before, .pick::after { content: ""; position: absolute; width: 10px; height: 10px; border: 0 solid var(--gold-hi); }
.pick::before { left: -8px; top: -8px; border-width: 2px 0 0 2px; box-shadow: 54px 0 0 -100px transparent; }
.pick::after { right: -8px; bottom: -6px; border-width: 0 2px 2px 0; }
.pick i { position: absolute; width: 10px; height: 10px; border: 0 solid var(--gold-hi); }
.pick i.a { right: -8px; top: -8px; border-width: 2px 2px 0 0; } .pick i.b { left: -8px; bottom: -6px; border-width: 0 0 2px 2px; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 14px calc(14px + var(--sb)); background: var(--leather); border-top: 2px solid var(--ink); box-shadow: inset 0 2px 0 var(--bronze), inset 0 4px 0 var(--ink), inset 0 6px 0 var(--lift); }
.sheet .top { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.sheet .sign { width: 14px; height: auto; }
.sheet h1 { flex: 1; font: 800 22px/1.1 "Cinzel", serif; letter-spacing: .05em; text-transform: uppercase; color: var(--gold-pale); }
.sheet .close { width: 36px; height: 36px; font: 600 18px/30px "Lato", sans-serif; text-align: center; color: var(--bone); background: var(--lift); border: 2px solid var(--ink); box-shadow: inset 0 2px 0 var(--hi), inset 0 -2px 0 var(--shade); }
.sheet .sub { font: 600 12px/1.3 "Lato", sans-serif; letter-spacing: .04em; color: var(--dim); margin: 2px 0 12px 24px; }
.sheet .sub b { color: var(--moss); font-weight: 600; }
.sheet .body { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: start; }
.sheet .port { width: 76px; height: 76px; background: #57634d; border: 2px solid var(--ink); box-shadow: inset 0 -22px 0 #938b6e, inset 0 -24px 0 #333c2e; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 8px; }
.sheet .port img { width: 48px; height: 48px; }
.facts { display: grid; grid-template-columns: 74px 1fr; row-gap: 7px; align-items: center; font: 600 13px/1.2 "Lato", sans-serif; }
.facts dt { font: 600 11px/1.2 "Lato", sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.facts dd { color: var(--bone); display: flex; align-items: center; gap: 8px; }
.facts dd .bar { flex: 1; }
.sheet .say { margin: 12px 0 14px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.row2 .btn img, .btn img { width: 32px; height: 32px; margin: -8px 0 -6px -4px; }

.mhead { position: absolute; left: 0; right: 0; top: 0; height: calc(var(--st) + 40px); padding: var(--st) 12px 0; display: flex; align-items: center; justify-content: space-between; background: var(--deep); }
.cur { display: flex; align-items: center; gap: 4px; font: 600 14px/1 "Lato", sans-serif; }
.cur img { width: 32px; height: 32px; margin: 0 -2px 0 -6px; } .cur b { font-weight: 600; margin-right: 14px; color: var(--bone); }
.mail { position: relative; display: flex; align-items: center; gap: 2px; height: 32px; padding: 0 10px 0 2px; font: 600 11px/1 "Lato", sans-serif; letter-spacing: .1em; text-transform: uppercase; background: var(--lift); border: 2px solid var(--ink); box-shadow: inset 0 2px 0 var(--hi), inset 0 -2px 0 var(--shade); }
.mail img { width: 32px; height: 32px; margin: -4px 0; } .mail .badge { right: -6px; top: -8px; }
.tabs { position: absolute; left: 0; right: 0; top: calc(var(--st) + 40px); height: 72px; display: grid; grid-template-columns: repeat(6, 1fr); background: var(--leather); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); box-shadow: inset 0 2px 0 var(--lift); }
.tabs a { position: relative; display: block; text-align: center; padding-top: 6px; color: var(--dim); }
.tabs a img { width: 32px; height: 32px; margin: 0 auto; opacity: 1; }
.tabs a span { display: block; font: 600 11px/1 "Lato", sans-serif; letter-spacing: .06em; text-transform: uppercase; margin-top: 3px; }
.tabs a small { display: block; font: 600 11px/1 "Lato", sans-serif; letter-spacing: 0; margin-top: 3px; color: var(--off); }
.tabs a.on { color: var(--gold-pale); background: var(--deep); box-shadow: inset 0 4px 0 var(--gold), inset 2px 0 0 var(--ink), inset -2px 0 0 var(--ink); }

.content { position: absolute; left: 0; right: 0; top: calc(var(--st) + 112px); bottom: calc(var(--sb) + 38px); padding: 0 12px; overflow: hidden; }
.botbar { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--sb) + 38px); background: var(--leather); border-top: 2px solid var(--ink); box-shadow: inset 0 2px 0 var(--bronze), inset 0 4px 0 var(--ink), inset 0 6px 0 var(--lift); }
.tomap { position: absolute; left: 50%; bottom: 0; width: 132px; margin-left: -66px; height: calc(52px + var(--sb)); padding: 0 0 var(--sb); display: flex; align-items: center; justify-content: center; gap: 4px; font: 600 12px/1 "Lato", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--bone); background: var(--lift); border: 2px solid var(--ink); border-bottom: 0; box-shadow: inset 0 2px 0 var(--bronze), inset 0 4px 0 var(--ink), inset 0 6px 0 var(--hi); }
.tomap img { width: 32px; height: 32px; margin-left: -8px; }
.sec { display: flex; align-items: baseline; justify-content: space-between; margin: 14px 0 8px; padding-left: 10px; box-shadow: inset 4px 0 0 var(--gold); }
.sec h2 { font: 800 15px/1.2 "Cinzel", serif; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-pale); }
.sec span { font: 600 11px/1.2 "Lato", sans-serif; color: var(--dim); letter-spacing: .04em; }

.sets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.sets a { height: 30px; font: 600 11px/26px "Lato", sans-serif; letter-spacing: .1em; text-transform: uppercase; text-align: center; color: var(--dim); background: var(--shade); border: 2px solid var(--ink); }
.sets a.on { color: var(--ink); background: var(--gold-pale); box-shadow: inset 0 -2px 0 var(--bronze); }
.doll { position: relative; height: 186px; margin-top: 10px; display: grid; grid-template-columns: 1fr 112px 1fr; gap: 8px; }
.doll .side { display: grid; grid-template-rows: repeat(3, 1fr); gap: 6px; }
.gear { display: grid; grid-template-columns: 44px 1fr; gap: 8px; align-items: center; min-width: 0; }
.gear.r { grid-template-columns: 1fr 44px; text-align: right; } .gear.r .slot { order: 2; }
.gear .what { min-width: 0; }
.gear .t-cap { display: block; }
.gear b { display: block; font: 600 12px/1.15 "Lato", sans-serif; }
.gear i { font-style: normal; font: 600 11px/1.2 "Lato", sans-serif; color: var(--dim); }
.stand { position: relative; background: #2b2a22; border: 2px solid var(--ink); box-shadow: inset 0 -52px 0 #3a3528, inset 0 -54px 0 var(--ink); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 30px; }
.stand img { width: 96px; height: 96px; }
.stand .t-cap { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; color: var(--bone); }
.cmp { margin-top: 10px; padding: 10px 12px 12px; }
.cmp .heads { display: grid; grid-template-columns: 1fr 20px 1fr; gap: 6px; align-items: start; }
.cmp .heads .arrow { font: 600 16px/34px "Lato", sans-serif; color: var(--gold); text-align: center; }
.cmp .who { min-width: 0; } .cmp .who .t-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.cmp .who span { font: 600 11px/1.3 "Lato", sans-serif; color: var(--dim); }
.cmp table { width: 100%; border-collapse: collapse; margin-top: 8px; font: 600 13px/1 "Lato", sans-serif; }
.cmp td { padding: 5px 0; border-top: 2px solid var(--shade); }
.cmp td:nth-child(1) { width: 34%; color: var(--dim); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.cmp td:nth-child(2) { width: 22%; text-align: right; } .cmp td:nth-child(3) { width: 22%; text-align: right; } .cmp td:nth-child(4) { width: 22%; text-align: right; }
.cmpacts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.cmpacts .btn { height: 40px; }
.sock { display: inline-block; width: 10px; height: 10px; border: 2px solid var(--dim); margin-left: 4px; vertical-align: -1px; transform: none; } .sock.full { background: var(--violet); border-color: var(--violet-hi); }
.list { margin-top: 0; }
.it { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; padding: 6px 0; border-top: 2px solid var(--shade); }
.it:first-child { border-top: 0; }
.it .nm { min-width: 0; } .it .nm b { display: block; font: 600 14px/1.2 "Lato", sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.it .nm span { font: 600 11px/1.3 "Lato", sans-serif; color: var(--dim); }
.it .val { text-align: right; font: 600 14px/1.2 "Lato", sans-serif; } .it .val small { display: block; font: 600 11px/1.2 "Lato", sans-serif; }
.it.cur-sel { background: #2b201a; box-shadow: inset 4px 0 0 var(--gold); margin: 0 -12px; padding-left: 12px; padding-right: 12px; }

.camp { position: relative; height: 128px; margin: 10px -12px 0; background: #1d2420; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); box-shadow: inset 0 -36px 0 #57523f, inset 0 -38px 0 #474334; overflow: hidden; }
.camp .ridge { position: absolute; left: 0; right: 0; bottom: 36px; height: 44px; background: #273024; clip-path: polygon(0 40%, 8% 40%, 8% 10%, 20% 10%, 20% 55%, 34% 55%, 34% 0, 47% 0, 47% 35%, 60% 35%, 60% 60%, 72% 60%, 72% 20%, 86% 20%, 86% 45%, 100% 45%, 100% 100%, 0 100%); }
.camp img { position: absolute; bottom: 12px; }
.who2 { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 10px; }
.who2 h1 { font: 800 22px/1.1 "Cinzel", serif; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-pale); }
.who2 p { font: 600 12px/1.4 "Lato", sans-serif; color: var(--bone); letter-spacing: .03em; }
.who2 .lvl { text-align: right; font: 600 11px/1.3 "Lato", sans-serif; color: var(--dim); letter-spacing: .08em; text-transform: uppercase; }
.who2 .lvl b { display: block; font: 800 22px/1 "Cinzel", serif; color: var(--gold-hi); letter-spacing: 0; }
.xp { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; margin-top: 8px; font: 600 11px/1 "Lato", sans-serif; color: var(--dim); }
.four { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 12px; }
.four a { display: block; text-align: center; padding: 4px 0 8px; font: 600 11px/1.2 "Lato", sans-serif; letter-spacing: .04em; text-transform: uppercase; }
.four a img { width: 32px; height: 32px; margin: 0 auto 2px; }
.path { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 2px; }
.node { position: relative; text-align: center; padding-top: 24px; font: 600 11px/1.25 "Lato", sans-serif; color: var(--dim); }
.node::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: var(--hi); }
.node:first-child::before { left: 50%; } .node:last-child::before { right: 50%; }
.node::after { content: ""; position: absolute; left: 50%; top: 2px; width: 16px; height: 16px; margin-left: -8px; background: var(--shade); border: 2px solid var(--hi); }
.node.done::after { background: var(--gold); border-color: var(--ink); box-shadow: 0 0 0 2px var(--gold-hi); } .node.done::before { background: var(--gold); }
.node.next::after { border-color: var(--gold); }
.node b { display: block; font: 800 12px/1.15 "Cinzel", serif; color: var(--bone); letter-spacing: .02em; } .node.done b { color: var(--gold-hi); }
.node small { display: block; font: 600 11px/1.3 "Lato", sans-serif; letter-spacing: .02em; }
.attr { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
.attr div { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 0; border-top: 2px solid var(--shade); font: 600 14px/1 "Lato", sans-serif; }
.attr div span { font: 600 11px/1 "Lato", sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.attr div em { font-style: normal; color: var(--moss); font-size: 12px; margin-right: 6px; }

.shophead { position: absolute; left: 0; right: 0; top: 0; height: calc(var(--st) + 92px); padding: calc(var(--st) + 8px) 12px 0; display: grid; grid-template-columns: 72px 1fr auto; gap: 10px; align-items: center; background: var(--deep); }
.shophead .sign { width: 72px; height: 72px; background: #57634d; border: 2px solid var(--ink); box-shadow: inset 0 -14px 0 #938b6e, inset 0 -16px 0 #333c2e; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 2px; }
.shophead .sign img { width: 64px; height: 64px; }
.shophead .where { font: 600 11px/1.4 "Lato", sans-serif; color: var(--dim); letter-spacing: .03em; }
.shophead .cur b { margin-right: 0; }
.modes { position: absolute; left: 12px; right: 12px; top: calc(var(--st) + 98px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.modes a { height: 34px; font: 600 12px/30px "Lato", sans-serif; letter-spacing: .12em; text-transform: uppercase; text-align: center; color: var(--dim); background: var(--shade); border: 2px solid var(--ink); }
.modes a.on { color: var(--ink); background: var(--gold-pale); box-shadow: inset 0 -2px 0 var(--bronze); }
.shop { position: absolute; left: 0; right: 0; top: calc(var(--st) + 140px); bottom: calc(var(--sb) + 38px); padding: 0 12px; overflow: hidden; }
.offer { padding: 10px 12px 12px; margin-top: 4px; }
.offer .line { display: grid; grid-template-columns: 44px 1fr; gap: 10px; align-items: center; margin-top: 8px; }
.offer .stats { display: flex; gap: 14px; margin-top: 8px; font: 600 13px/1 "Lato", sans-serif; }
.offer .stats span { color: var(--dim); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; margin-right: 4px; }
.offer .buyrow { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.price { display: flex; align-items: center; font: 600 15px/1 "Lato", sans-serif; color: var(--gold-hi); }
.price img { width: 32px; height: 32px; margin: -6px -2px -6px -8px; } .price.no { color: #e58a80; }
.ware { display: grid; grid-template-columns: 44px 1fr auto 76px; gap: 10px; align-items: center; padding: 6px 0; border-top: 2px solid var(--shade); }
.ware .nm { min-width: 0; } .ware .nm b { display: block; font: 600 14px/1.2 "Lato", sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .ware .nm span { font: 600 11px/1.3 "Lato", sans-serif; color: var(--dim); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ware .nm em { font-style: normal; }
.ware .btn, .offer .btn { height: 36px; width: 76px; font-size: 12px; }

.mid2 { display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: center; height: 136px; margin-top: 12px; padding: 0 16px 0 10px; background: #2b2a22; border: 2px solid var(--ink); box-shadow: inset 0 0 0 2px var(--bronze), inset 0 0 0 4px var(--ink), inset 0 -40px 0 #3a3528; }
.mid2 img { width: 96px; height: 96px; margin: 8px auto 0; }
.mid2 b { display: block; font: 800 22px/1.1 "Cinzel", serif; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-pale); }
.mid2 span { display: block; font: 600 12px/1.5 "Lato", sans-serif; letter-spacing: .03em; color: var(--bone); }
.mid2 .bar { margin-top: 8px; } .mid2 small { display: block; font: 600 11px/1 "Lato", sans-serif; letter-spacing: .06em; color: var(--dim); margin-top: 5px; }
.eight { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
.entry { display: grid; grid-template-columns: 32px 1fr; gap: 10px; align-items: center; height: 48px; padding: 0 10px; font: 600 12px/1.2 "Lato", sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.entry img { width: 32px; height: 32px; } .entry small { display: block; font: 600 11px/1.2 "Lato", sans-serif; letter-spacing: .02em; text-transform: none; color: var(--dim); margin-top: 1px; }
.lockd img { filter: grayscale(1) brightness(.6); } .lockd, .lockd small { color: var(--off) !important; }
.world { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.world a { position: relative; display: block; text-align: center; padding: 6px 0 8px; font: 600 11px/1.2 "Lato", sans-serif; letter-spacing: .04em; text-transform: uppercase; }
.world a img { width: 32px; height: 32px; margin: 0 auto 4px; } .world a small { display: block; font: 600 11px/1.3 "Lato", sans-serif; letter-spacing: .01em; text-transform: none; color: var(--dim); }
.foot3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; }
.foot3 .btn { height: 38px; font-size: 11px; }
.ver { text-align: center; font: 600 11px/1 "Lato", sans-serif; color: var(--off); letter-spacing: .08em; margin-top: 10px; }

.foe { position: absolute; left: 0; right: 0; top: 0; padding: calc(var(--st) + 8px) 12px 0; height: calc(var(--st) + 104px); background: var(--deep); }
.foe .top { display: flex; align-items: center; gap: 8px; }
.foe .top img.sign { width: 14px; height: auto; }
.foe h1 { flex: 1; font: 800 20px/1.1 "Cinzel", serif; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-pale); }
.foe .lv { font: 600 12px/1 "Lato", sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.foe .hp { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; margin-top: 8px; font: 600 13px/1 "Lato", sans-serif; }
.foe .hp .bar { height: 14px; }
.foe .log { margin-top: 8px; display: flex; justify-content: space-between; align-items: baseline; }
.foe .log .rnd { font: 600 11px/1 "Lato", sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.stagebox { position: absolute; left: -1px; top: calc(var(--st) + 104px); width: 392px; height: 248px; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); overflow: hidden; }
.stagebox canvas { width: 392px; height: 248px; display: block; image-rendering: pixelated; image-rendering: crisp-edges; }
.me { position: absolute; left: 0; right: 0; top: calc(var(--st) + 352px); height: 78px; padding: 8px 12px; background: var(--leather); border-bottom: 2px solid var(--ink); box-shadow: inset 0 2px 0 var(--lift); display: grid; grid-template-columns: 1fr 116px; gap: 14px; }
.me .name { display: flex; justify-content: space-between; align-items: baseline; }
.me .name b { font: 800 14px/1 "Cinzel", serif; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-pale); } .me .name span { font: 600 11px/1 "Lato", sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.me .ln { display: grid; grid-template-columns: 34px 1fr 58px; gap: 6px; align-items: center; margin-top: 5px; font: 600 11px/1 "Lato", sans-serif; }
.me .ln span { font: 600 11px/1 "Lato", sans-serif; letter-spacing: .04em; color: var(--dim); } .me .ln b { text-align: right; font-weight: 600; }
.me .ln .bar { height: 10px; }
.me .pal { border-left: 2px solid var(--shade); padding-left: 12px; }
.me .pal .ln { grid-template-columns: 1fr; } .me .pal .who { display: flex; align-items: center; gap: 2px; font: 600 11px/1 "Lato", sans-serif; letter-spacing: .06em; text-transform: uppercase; } .me .pal .who img { width: 32px; height: 32px; margin: -6px 0 -6px -6px; }
.acts { position: absolute; left: 0; right: 0; top: calc(var(--st) + 430px); bottom: 0; padding: 10px 12px calc(var(--sb) + 10px); background: var(--deep); display: flex; flex-direction: column; gap: 8px; }
.boost { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; height: 52px; padding: 0 10px; }
.boost .lab { font: 600 11px/1.2 "Lato", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-pale); } .boost .lab small { display: block; font: 600 11px/1.2 "Lato", sans-serif; letter-spacing: .04em; text-transform: none; color: var(--dim); }
.notches { display: flex; gap: 6px; }
.notches i { width: 22px; height: 22px; background: #17100c; border: 2px solid var(--ink); box-shadow: inset 0 0 0 2px var(--hi); }
.notches i.on { background: var(--flame); box-shadow: inset 0 0 0 2px var(--gold-hi), inset 0 0 0 4px var(--flame); }
.quick { display: flex; gap: 6px; }
.quick .slot .badge { right: -4px; bottom: -4px; min-width: 18px; height: 18px; line-height: 14px; font-size: 11px; }
.grid6 { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr 1fr; gap: 8px; min-height: 0; }
.grid6 .btn { height: auto; flex-direction: column; gap: 4px; font-size: 13px; text-align: center; line-height: 1.15; padding: 0 6px 4px; }
.grid6 .btn img { width: 32px; height: 32px; margin: 0 0 2px; }
.grid6 .btn small { letter-spacing: .06em; text-transform: none; font-size: 11px; color: var(--dim); }
.grid6 .btn.gold small { color: #5a3a12; }
.grid6 .btn.gold { font-size: 15px; }

.index { padding: calc(var(--st) + 22px) 16px 20px; height: 100%; overflow: auto; }
.index h1 { font: 800 24px/1.1 "Cinzel", serif; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-pale); }
.index p { font: 400 16px/1.4 "EB Garamond", serif; color: var(--dim); margin: 6px 0 14px; }
.index a.go { display: grid; grid-template-columns: 32px 1fr auto; gap: 10px; align-items: center; height: 52px; padding: 0 10px; margin-top: 8px; font: 600 13px/1.2 "Lato", sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.index a.go img { width: 32px; height: 32px; } .index a.go small { font: 600 11px/1 "Lato", sans-serif; color: var(--dim); letter-spacing: .04em; text-transform: none; }

.lk { position: absolute; width: 14px; height: 12px; background: var(--dim); border: 2px solid var(--ink); }
.lk::before { content: ""; position: absolute; left: 1px; top: -8px; width: 8px; height: 8px; border: 2px solid var(--dim); border-bottom: 0; }
.bar5 .b .lk { left: 50%; margin-left: 4px; top: 28px; } .tabs a .lk { left: 50%; margin-left: 4px; top: 24px; } .world a .lk { left: 50%; margin-left: 4px; top: 24px; }
.shophead { height: calc(var(--st) + 92px); }
