
html, body { margin: 0; background: #1a120d; overscroll-behavior: none; touch-action: none; user-select: none; -webkit-user-select: none; }
#screen > .lay { position: absolute; left: 0; top: 0; width: 390px; height: 100%; }
#ml { visibility: visible; }
#grund, #still, #welt { image-rendering: pixelated; image-rendering: crisp-edges; }
#still { display: none; object-fit: none; object-position: left top; }

#screen > #credit { left: 4px; top: auto; width: auto; height: auto; bottom: calc(var(--sb) + 92px); padding: 3px 6px 4px; font: 600 12px/14px "Lato", sans-serif; color: #1a120d; background: rgba(246, 236, 210, .88); pointer-events: none; }
#credit span { display: block; white-space: nowrap; }      
.speed { position: absolute; left: 76px; right: 76px; top: calc(var(--st) + 150px); padding: 8px 10px; text-align: center; font: 600 13px/1.35 "Lato", sans-serif; color: #1a120d; background: rgba(246, 236, 210, .92); display: none; }

.rd .lk16, .rd.big .lk16 { position: absolute; left: auto; top: auto; right: 0; bottom: 0; width: 16px; height: 16px; margin: 0; }

.tbtn { position: absolute; left: 8px; bottom: calc(var(--sb) + 150px); width: 52px; height: 30px; font: 600 11px/26px "Lato", sans-serif; letter-spacing: .1em; text-align: center; color: var(--bone); background: var(--lift); border: 2px solid var(--ink); box-shadow: inset 0 2px 0 var(--hi), inset 0 -3px 0 var(--shade); }
.tmenu { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 12px calc(12px + var(--sb)); background: var(--leather); border-top: 2px solid var(--ink); box-shadow: inset 0 2px 0 var(--bronze); display: none; z-index: 20; }
.tmenu.open { display: block; }
.tmenu h3 { margin: 0 0 8px; font: 800 15px/1 "Cinzel", serif; letter-spacing: .08em; color: var(--bone); }
.tmenu .row { display: grid; grid-template-columns: 62px 1fr; gap: 8px; align-items: center; margin: 0 0 8px; }
.tmenu .row > span { font: 600 11px/1 "Lato", sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.tmenu .opts { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.tmenu .btn { height: 38px; font-size: 11px; letter-spacing: .06em; padding: 0 4px 2px; }
.tmenu input[type=range] { width: 100%; accent-color: #d9a03c; height: 30px; }

.kampf { background: var(--deep); z-index: 10; --ky: min(0px, calc(100dvh - 844px)); }
body.sim .kampf { --ky: 0px; }
.kampf .scene2, .kampf .fb, .kampf .zahl, .kampf .zreihe { transform: translateY(var(--ky)); }
.kampf .acts2 { top: calc(600px + var(--ky)); }
.kampf .btn, .kampf .bst, .vorschau .btn, .tbtn, .tmenu .btn { cursor: pointer; }
.kampf .notches i.use { background: var(--gold-hi); box-shadow: inset 0 0 0 2px #fff4dc, inset 0 0 0 4px var(--gold); }
.zahl { position: absolute; z-index: 5; margin-left: -40px; width: 80px; text-align: center; font: 600 18px/1 "Lato", sans-serif; pointer-events: none; animation: steigt .85s steps(9) forwards; }
.zahl.crit { font-size: 24px; color: #ffe08a; } .zahl.weak { color: #ffe08a; } .zahl.ward { color: #e8b95a; } .zahl.heal { color: #b8e58f; }
.zahl.txt { font: 600 12px/1 "Lato", sans-serif; letter-spacing: .1em; text-transform: uppercase; }
@keyframes steigt { from { margin-top: 0; } 70% { margin-top: -26px; } to { margin-top: -26px; } }
.sheet.ende, .sheet.vorschau { z-index: 30; text-align: center; }
.sheet.ende .t-title, .sheet.vorschau .t-title { font: 800 22px/1.2 "Cinzel", serif; letter-spacing: .08em; text-transform: uppercase; color: var(--bone); }
.sheet.vorschau .t-cap { margin: 4px 0 12px; font: 600 12px/1.3 "Lato", sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.sheet.ende .t-flav { margin: 6px 0 12px; font: italic 400 16px/1.3 "EB Garamond", serif; color: var(--bone); }
.sheet .wahl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.sheet.code { z-index: 40; text-align: center; }
.sheet.code .t-title { font: 800 22px/1.2 "Cinzel", serif; letter-spacing: .08em; text-transform: uppercase; color: var(--bone); }
.sheet.code .t-flav { margin: 6px 0 10px; font: italic 400 16px/1.3 "EB Garamond", serif; color: var(--bone); }
.sheet.code input { display: block; width: 100%; box-sizing: border-box; height: 46px; margin: 0 0 8px; padding: 0 10px; text-align: center; font: 600 18px/1 "Lato", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--bone); background: #241a15; border: 2px solid var(--ink); border-radius: 0; box-shadow: inset 2px 2px 0 #17100c, inset -2px -2px 0 #3a2c23; outline: none; -webkit-appearance: none; }
.sheet .fehler { min-height: 0; margin: 0 0 8px; font: 600 12px/1.3 "Lato", sans-serif; letter-spacing: .04em; color: #f0a08a; }
.sheet .fehler:empty { display: none; }

.speed.hinweis { top: calc(var(--st) + 150px); z-index: 6; pointer-events: none; }

#screen.nacht .hud .rd span, #screen.nacht .hud .rd small { color: #f3e9cf; text-shadow: 1px 0 0 #0c0805, -1px 0 0 #0c0805, 0 1px 0 #0c0805, 0 -1px 0 #0c0805; }

#screen.nacht .hud .rd.lockd > small { color: #f3e9cf !important; }

.sheet.vorschau.v2 { text-align: left; padding-top: 12px; }
.sheet.v2 h1 { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet.v2 h1.lang { font-size: 18px; line-height: 24px; }      
.sheet.v2 .close { cursor: pointer; text-decoration: none; flex: none; }
.sheet.v2 .sub { margin: 4px 0 8px 24px; font-size: 13px; color: #d9c8aa; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet.v2 .sub b.fern { color: #f0a08a; }
.sheet.v2 .body { grid-template-columns: 100px 1fr; align-items: center; }
.sheet.v2 .port { width: 100px; height: 100px; padding-bottom: 10px; background: #c3b48d; box-shadow: inset 0 -26px 0 #efe6cb, inset 0 -28px 0 #a39468; }
.sheet.v2 .port img { width: 72px; height: 72px; }
.sheet.v2 .facts { margin: 0; grid-template-columns: 78px 1fr; font-size: 14px; }
.sheet.v2 .facts dt { font-size: 12px; color: #cdbb9d; }
.sheet.v2 .facts dd { margin: 0; min-height: 17px; }

.sheet.v2 .say { margin: 8px 0 8px; height: 40px; overflow: hidden; color: var(--bone); font: italic 500 17px/19.5px "EB Garamond", serif; }
.sheet.v2 > .btn { margin-top: 8px; }

.sheet.v2 .wardhint { margin: 8px 0 0; padding: 2px 0 2px 10px; border-left: 3px solid var(--ward); font: 600 13px/17px "Lato", sans-serif; color: #d9c8aa; }

.kampf .fb.gk { width: 40px; } .kampf .fb.gk .row { grid-template-columns: 40px; height: 8px; margin: 0; } .kampf .fb.gk .bar { height: 8px; }
.kampf .fb.gz, .kampf .fb.gk, .kampf .zielpfeil { pointer-events: none; }
.kampf .zielpfeil { position: absolute; width: 14px; height: 8px; margin-left: -7px; background: var(--gold); clip-path: polygon(0 0, 100% 0, 100% 2px, 12px 2px, 12px 4px, 10px 4px, 10px 6px, 8px 6px, 8px 8px, 6px 8px, 6px 6px, 4px 6px, 4px 4px, 2px 4px, 2px 2px, 0 2px); filter: drop-shadow(0 2px 0 #0c0805) drop-shadow(1px 0 0 #0c0805) drop-shadow(-1px 0 0 #0c0805); }
.kampf .log2.breit { width: 130px; }
.kampf .turns.zwei { display: grid; grid-template-columns: repeat(5, 24px); gap: 2px; justify-content: end; }
.kampf .turns.zwei i { width: 24px; height: 24px; }
.kampf .turns.zwei i img { width: 20px; height: 20px; }
.kampf .turns.zwei i.spaeter { opacity: .55; }
.kampf .turns.zwei i.ziel { border-color: #e0503c; }

.kampf .last.verlauf { left: 12px; top: calc(var(--st) + 70px); width: 214px; margin-left: 0; padding: 3px 8px 4px; text-align: left; }
.kampf .verlauf .zl { display: grid; grid-template-columns: 24px minmax(0, 1fr) 24px auto; column-gap: 6px; align-items: center; height: 26px; }

.kampf .verlauf .zl.selbst { grid-template-columns: 24px minmax(0, 1fr) auto; }
.kampf .verlauf .zl .was { min-width: 0; margin: 0; }
.kampf .verlauf .zl.mehr .was { grid-column: 2 / -1; }
.kampf .verlauf .zl small { display: none; }
.kampf .verlauf .zl img { width: 24px; height: 24px; }

.kampf span.kopf { display: block; width: 24px; height: 24px; background-repeat: no-repeat; background-size: 200% 200%; background-position: 50% 0; image-rendering: pixelated; image-rendering: crisp-edges; }
.kampf .turns.zwei i span.kopf { width: 20px; height: 20px; }
.kampf .verlauf .zl b { display: block; font: 600 12px/1 "Lato", sans-serif; letter-spacing: .02em; color: #cdbb9d; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kampf .verlauf .zl em { font: 600 12px/1 "Lato", sans-serif; font-style: normal; text-align: right; color: #cdbb9d; white-space: nowrap; }
.kampf .verlauf .zl em.krit { color: var(--gold-hi); }
.kampf .verlauf .zl.neu { margin: 0 -8px; padding: 0 8px; background: #2b201a; box-shadow: inset 4px 0 0 var(--gold); }
.kampf .verlauf .zl.neu b, .kampf .verlauf .zl.neu em { font-size: 14px; color: var(--bone); }
.kampf .verlauf .zl.neu em.krit { color: var(--gold-hi); }
.kampf .verlauf .zl.zwei { height: auto; min-height: 26px; padding-top: 4px; padding-bottom: 4px; }
.kampf .verlauf .zl.zwei small { display: block; margin-top: 3px; font: 600 11px/1 "Lato", sans-serif; letter-spacing: .02em; color: #cdbb9d; white-space: nowrap; }
.kampf .verlauf .zl.zwei small.krit { color: var(--gold-hi); }

.kampf .verlauf .zl.klein b { font-size: 11px; }
.kampf .verlauf .zl.neu.klein b { font-size: 12px; }
.kampf .verlauf .zl.neu.ganz em { font-size: 12px; }

.kampf .nametief .last.verlauf { top: calc(var(--st) + 90px); }

.kampf .log2 em { height: calc(3 * 1.2em); }
.kampf .tempo { position: absolute; right: 12px; width: 124px; text-align: right; }
.kampf .tempo span { display: block; margin-bottom: 3px; font: 600 12px/1.3 "Lato", sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--bone); text-shadow: 1px 0 0 #0c0805, -1px 0 0 #0c0805, 0 1px 0 #0c0805, 0 -1px 0 #0c0805; }
.kampf .tempo div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.kampf .tempo a { height: 32px; font: 600 12px/28px "Lato", sans-serif; letter-spacing: .06em; text-transform: uppercase; text-align: center; text-shadow: none; color: #cdbb9d; background: var(--shade); border: 2px solid var(--ink); cursor: pointer; }
.kampf .tempo a.on { color: var(--ink); background: var(--gold-pale); box-shadow: inset 0 -2px 0 var(--bronze); }

.kampf .sieg { z-index: 40; }
.kampf .imsieg > :not(.fb), .kampf .imsieg > .fb[data-g] { display: none; }
.kampf .sieg .tafel { position: absolute; left: 50%; top: calc(var(--st) + 20px); width: 276px; margin-left: -138px; padding: 12px 14px 13px; text-align: center; z-index: 30; background: var(--deep); }
.kampf .sieg .tafel h1 { font: 800 26px/1.1 "Cinzel", serif; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-pale); }
.kampf .sieg .tafel p { margin-top: 5px; font: 600 13px/1.3 "Lato", sans-serif; letter-spacing: .04em; color: #d9c8aa; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kampf .sheet.beute { z-index: 30; min-height: calc(210px + var(--sb)); padding-top: 13px; display: flex; flex-direction: column; }
.kampf .beute .lohn { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; row-gap: 6px; }
.kampf .beute .lohn .z { display: flex; align-items: center; gap: 8px; min-height: 22px; min-width: 0; }
.kampf .beute .lohn .z.breit { grid-column: 1 / -1; }
.kampf .beute .lohn .lab { flex: none; font: 600 12px/1.2 "Lato", sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #cdbb9d; }
.kampf .beute .lohn b { flex: none; font: 600 16px/1 "Lato", sans-serif; color: var(--bone); }
.kampf .beute .lohn .von { flex: none; font: 600 13px/1 "Lato", sans-serif; color: #d9c8aa; }
.kampf .beute .lohn .bar { flex: 1; display: flex; gap: 0; }
.kampf .beute .lohn .bar > i.neu { background: var(--gold-hi); box-shadow: inset 0 2px 0 #fff4dc; }
.kampf .beute .auf { position: relative; overflow: hidden; grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; margin: -2px -14px 0; padding: 6px 14px 7px; background: #2b201a; box-shadow: inset 4px 0 0 var(--gold); }
.kampf .beute .auf b { font: 800 15px/1.2 "Cinzel", serif; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-hi); }
.kampf .beute .fund { margin: 8px -14px 0; padding: 0 14px 2px; background: var(--deep); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.kampf .beute .sec { margin: 6px 0 0; }
.kampf .beute .sec span { font-size: 12px; color: #cdbb9d; }
.kampf .beute .it { padding: 4px 0; }

.kampf .beute .it .nm b { font-size: 15px; white-space: normal; }
.kampf .beute .it .nm span { font-size: 12px; color: #cdbb9d; }
.kampf .beute .it .val { font-size: 14px; color: var(--bone); }
.kampf .beute .it.klein { padding: 0; min-height: 38px; }

.kampf .beute .it.klein > img { width: 32px; height: 32px; margin: 0 6px; }
.kampf .beute .it.klein .val { font-size: 15px; }
.kampf .beute .luft { flex: 1; min-height: 8px; }
.kampf .beute > .btn { margin-top: auto; }

.kampf .siegfx { position: absolute; left: 0; top: 0; width: 390px; height: 844px; z-index: 60; pointer-events: none; image-rendering: pixelated; }

.kampf .siegwort { position: absolute; width: max-content; white-space: nowrap; transform: translateX(-50%); text-align: center; z-index: 61; opacity: 0; pointer-events: none; font: 800 24px/1 "Cinzel", serif; letter-spacing: .06em; text-transform: uppercase; color: #fff4dc;
  text-shadow: 2px 0 0 #0c0805, -2px 0 0 #0c0805, 0 2px 0 #0c0805, 0 -2px 0 #0c0805, 2px 2px 0 #0c0805, -2px -2px 0 #0c0805, 2px -2px 0 #0c0805, -2px 2px 0 #0c0805, 0 0 10px #f3d268; }
.kampf .sieggla, .kampf .siegglr { position: absolute; top: 0; bottom: 0; left: -80px; pointer-events: none; }
.kampf .sieggla { width: 60px; background: linear-gradient(90deg, rgba(255,244,220,0), rgba(255,244,220,.75), rgba(255,244,220,0)); }
.kampf .siegglr { width: 70px; z-index: 0; }

.kampf .beute .fund .it .slot, .kampf .beute .fund .it .nm, .kampf .beute .fund .it .val { position: relative; z-index: 1; }

.sheet.v2.gruppe h1 .gruppenmarke { display: inline-block; vertical-align: 4px; height: 18px; min-width: 28px; margin-left: 10px; padding: 0 4px; font: 600 12px/14px "Lato", sans-serif; letter-spacing: 0; text-transform: none; text-align: center; color: var(--bone); background: var(--deep); border: 2px solid var(--ink); }
.sheet.v2.gruppe .body { display: block; height: 100px; }
.sheet.v2.gruppe .glied { display: grid; grid-template-columns: 28px 1fr auto; column-gap: 10px; align-items: center; height: 26px; }
.sheet.v2.gruppe .glied img { width: 24px; height: 24px; }
.sheet.v2.gruppe .glied b { font: 600 14px/1 "Lato", sans-serif; color: var(--bone); white-space: nowrap; }
.sheet.v2.gruppe .glied span { font: 600 12px/1 "Lato", sans-serif; color: #cdbb9d; }
.sheet.v2.gruppe.zweispaltig .glieder2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; }
.sheet.v2.gruppe.zweispaltig .glied { grid-template-columns: 28px 1fr; }
.sheet.v2.gruppe .summe { display: grid; grid-template-columns: 28px auto 1fr auto; column-gap: 10px; align-items: center; height: 22px; font: 600 14px/1 "Lato", sans-serif; color: var(--bone); }
.sheet.v2.gruppe .summe span { grid-column: 2; font: 600 12px/1.2 "Lato", sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #cdbb9d; }
.tmenu .mess { font: 600 12px/1.3 "Lato", sans-serif; letter-spacing: .04em; color: var(--bone); }

.rd.komp { position: absolute; right: 8px; bottom: calc(var(--sb) + 230px); display: none; cursor: pointer; z-index: 5; }
.rd.komp canvas { position: absolute; left: 50%; top: 50%; width: 32px; height: 32px; margin: -16px 0 0 -16px; image-rendering: pixelated; image-rendering: crisp-edges; }
#screen.nacht .rd.komp span { color: #f3e9cf; text-shadow: 1px 0 0 #0c0805, -1px 0 0 #0c0805, 0 1px 0 #0c0805, 0 -1px 0 #0c0805; }

.kampf .foe2 { max-width: 294px; }
.kampf .foe2 b { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kampf .foe2 b.zweizeilig { white-space: normal; }

.kampf .grid6 .btn small.warum { color: #f0a08a; }

.kampf .btn.hold.fuellt { background: linear-gradient(90deg, #7a3328 0, #7a3328 var(--voll, 0%), var(--lift) var(--voll, 0%), var(--lift) 100%); }
.kampf .btn.hold.getippt { box-shadow: inset 0 0 0 3px #fff4dc, inset 9px 0 0 var(--blood); }
.zahl.rp { color: var(--violet-hi); }

.kampf .zreihe { position: absolute; z-index: 4; display: flex; height: 18px; cursor: pointer; }
.kampf .zreihe img { box-sizing: content-box; width: 16px; height: 16px; border: 1px solid var(--ink); background: #1f1714; image-rendering: pixelated; image-rendering: crisp-edges; }

.kampf .sheet.zust { z-index: 30; height: calc(296px + var(--sb)); padding-top: 14px; }
.kampf .sheet.zust .top { margin-top: 0; }
.kampf .sheet.zust h1 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kampf .sheet.zust .sub { margin: 4px 0 8px 0; font: 600 13px/1.3 "Lato", sans-serif; color: #d9c8aa; }
.kampf .sheet.zust .z { display: grid; grid-template-columns: 44px 1fr auto; column-gap: 10px; align-items: center; height: 60px; border-top: 2px solid var(--shade); }
.kampf .sheet.zust .z:first-of-type { border-top: 2px solid var(--ink); }
.kampf .sheet.zust .z p { margin: 0; min-width: 0; }
.kampf .sheet.zust .z .slot img { image-rendering: pixelated; image-rendering: crisp-edges; }
.kampf .sheet.zust .z b { display: block; font: 600 15px/1.2 "Lato", sans-serif; color: var(--bone); }
.kampf .sheet.zust .z span { display: block; font: 600 12px/1.3 "Lato", sans-serif; color: #cdbb9d; }
.kampf .sheet.zust .z em { font: 600 14px/1.2 "Lato", sans-serif; font-style: normal; color: var(--bone); white-space: nowrap; }

.kampf .sheet.sachen { z-index: 30; height: calc(320px + var(--sb)); padding-top: 14px; }
.kampf .sheet.sachen .top { margin-top: 0; }
.kampf .sheet.sachen .sub { margin: 4px 0 8px; height: 17px; font: 600 13px/17px "Lato", sans-serif; color: #d9c8aa; white-space: nowrap; }
.kampf .sheet.sachen .sub.voll { color: var(--gold-hi); }

:lang(de) .kampf .sheet.sachen .sub { height: 34px; white-space: normal; }
.kampf .sheet.sachen .liste { margin: 0 -14px; padding: 0 14px; height: 226px; overflow-y: auto; scrollbar-width: none; background: var(--deep); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.kampf .sheet.sachen .z { display: grid; grid-template-columns: 44px 1fr auto; column-gap: 10px; align-items: center; height: 50px; border-top: 2px solid var(--shade); cursor: pointer; }
.kampf .sheet.sachen .z:first-child { border-top: 0; }
.kampf .sheet.sachen .z p { margin: 0; min-width: 0; }
.kampf .sheet.sachen .z b { display: block; font: 600 15px/1.2 "Lato", sans-serif; color: var(--bone); }
.kampf .sheet.sachen .z span { display: block; font: 600 12px/1.25 "Lato", sans-serif; color: #cdbb9d; }
.kampf .sheet.sachen .z em { min-width: 30px; text-align: right; font: 600 14px/1.2 "Lato", sans-serif; font-style: normal; color: var(--bone); white-space: nowrap; }
.kampf .sheet.sachen .z.aus { cursor: default; }
.kampf .sheet.sachen .z.aus .slot img { opacity: .45; }
.kampf .sheet.sachen .z.aus b, .kampf .sheet.sachen .z.aus em { color: #cdbb9d; }

.kampf .bst.zeige { box-shadow: 0 0 0 2px var(--gold-hi), 0 0 0 4px var(--ink); }

.kampf .btn.zaehmen { box-shadow: inset 0 0 0 2px var(--gold-hi), inset 0 -4px 0 var(--shade); }
.kampf .grid6 .btn.zaehmen small { color: var(--gold-hi); }

.lay.sieg .fund.neu .it .slot { position: relative; overflow: hidden; }
.lay.sieg .fund.neu .it .slot img.fig { position: absolute; left: 0; top: 0; width: 48px; height: 48px; }

.erst { position: absolute; inset: 0; z-index: 40; background: var(--leather); }
.erst .weg { position: absolute; left: 14px; right: 14px; top: calc(var(--st) + 14px); height: 16px; display: grid; grid-template-columns: 1fr 1fr 1fr auto; column-gap: 6px; align-items: center; }
.erst .weg i { height: 8px; background: var(--shade); border: 2px solid var(--ink); }
.erst .weg i.on { background: var(--gold); }
.erst .weg span { margin-left: 8px; font: 600 12px/1 "Lato", sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #cdbb9d; }
.erst h1 { position: absolute; left: 14px; right: 14px; top: calc(var(--st) + 44px); margin: 0; font: 800 24px/1.15 "Cinzel", serif; letter-spacing: .04em; text-transform: uppercase; color: var(--gold-pale); white-space: nowrap; }
.erst .sub { position: absolute; left: 14px; right: 14px; top: calc(var(--st) + 78px); height: 57px; margin: 0; font: 600 14px/19px "Lato", sans-serif; color: #d9c8aa; }
.erst .inhalt { position: absolute; left: 0; right: 0; top: calc(var(--st) + 142px); bottom: calc(var(--sb) + 68px); padding: 0 14px; overflow: hidden; }
.erst .inhalt.wahl { padding: 0; background: var(--deep); border-top: 2px solid var(--ink); overflow-y: auto; scrollbar-width: none; }
.erst .unten { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--sb) + 68px); padding: 11px 14px 0; display: grid; grid-template-columns: 104px 1fr; column-gap: 8px; align-content: start; 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); }
.erst .unten.eins { grid-template-columns: 1fr; }
.erst .unten .btn { cursor: pointer; }
.erst .hinw { margin: 10px 0 0; font: 600 13px/1.35 "Lato", sans-serif; color: #cdbb9d; }
.erst .hinw.falsch { color: #f0a08a; }
.erst .feld { display: block; padding: 8px 12px 10px; background: #241a15; border: 2px solid var(--ink); box-shadow: inset 2px 2px 0 #17100c, inset -2px -2px 0 #3a2c23; }
.erst .feld span { display: block; font: 600 12px/1.3 "Lato", sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #cdbb9d; }
.erst .feld input { display: block; width: 100%; margin-top: 2px; padding: 0; font: 600 22px/1.3 "Lato", sans-serif; color: var(--bone); background: transparent; border: 0; outline: 0; }
.erst .karte { display: grid; grid-template-columns: 104px 1fr; column-gap: 12px; height: 188px; padding: 12px 14px; border-bottom: 2px solid var(--shade); cursor: pointer; }
.erst .karte.on { background: #2b201a; box-shadow: inset 4px 0 0 var(--gold); }
.erst .karte .stand { height: 124px; padding-bottom: 14px; box-shadow: inset 0 -30px 0 #3a3528, inset 0 -32px 0 var(--ink); }
.erst .wer { min-width: 0; }
.erst .kopfz { display: flex; justify-content: space-between; align-items: center; height: 28px; }
.erst .kopfz h2 { margin: 0; font: 800 20px/1.1 "Cinzel", serif; letter-spacing: .05em; text-transform: uppercase; color: var(--gold-pale); }
.erst .kopfz em { font: 600 12px/1 "Lato", sans-serif; font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-hi); }
.erst .wer p { margin: 0; font: 600 13px/1.35 "Lato", sans-serif; }
.erst .rolle { color: var(--bone); }
.erst .plus { margin-top: 4px !important; color: var(--moss); }
.erst .minus { color: #e58a80; }
.erst .probe { display: grid; grid-template-columns: 32px 1fr; column-gap: 8px; align-items: center; margin-top: 8px; }
.erst .probe img { width: 32px; height: 32px; }
.erst .probe p b { display: block; font: 600 13px/1.25 "Lato", sans-serif; color: var(--bone); }
.erst .probe p span { display: block; font: 600 12px/1.3 "Lato", sans-serif; color: #cdbb9d; }
.erst .gestalt { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 12px 14px 0; }
.erst .gestalt > span { font: 600 12px/1 "Lato", sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #cdbb9d; }
.erst .gestalt .sets { margin-top: 0; grid-template-columns: 1fr 1fr; }
.erst .gestalt .sets a { cursor: pointer; }
.erst .zweck { display: grid; grid-template-columns: 32px 1fr; column-gap: 12px; align-items: center; padding: 14px 14px 15px; }
.erst .zweck img { width: 32px; height: 32px; }
.erst .zweck p { margin: 0; font: 600 14px/19px "Lato", sans-serif; color: var(--bone); }
.erst .acht { margin: 12px -14px 0; padding: 9px 14px 10px; font: 800 15px/1.2 "Cinzel", serif; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-hi); background: #2b201a; box-shadow: inset 4px 0 0 var(--gold); }

.journal { position: absolute; inset: 0; z-index: 40; background-color: var(--deep); image-rendering: pixelated;
  background-image: linear-gradient(rgba(31, 23, 20, .85), rgba(31, 23, 20, .85)), url(../hg/journal_grund.png);
  background-size: auto, 390px 600px; background-position: 0 0, 0 100%; background-repeat: no-repeat, no-repeat; }
.journal .kopf { position: absolute; left: 0; right: 0; top: 0; height: calc(var(--st) + 58px); padding: var(--st) 12px 0; display: grid; grid-template-columns: 1fr 36px; column-gap: 14px; align-items: center; background: var(--leather); border-bottom: 2px solid var(--ink); image-rendering: auto; }
.journal .kopf h1 { margin: 0; font: 800 22px/1.1 "Cinzel", serif; letter-spacing: .05em; text-transform: uppercase; color: var(--gold-pale); }
.journal .kopf p { margin: 3px 0 0; font: 600 12px/1.2 "Lato", sans-serif; letter-spacing: .04em; color: #cdbb9d; }
.journal .zu { 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); cursor: pointer; }
.journal .inhalt { position: absolute; left: 0; right: 0; top: calc(var(--st) + 58px); bottom: var(--sb); padding: 0 12px; overflow-y: auto; scrollbar-width: none; image-rendering: auto; }
.journal .sec { margin: 12px 0 2px; }
.journal .meldung { margin: 10px -12px 0; padding: 8px 12px 9px; font: 600 13px/1.35 "Lato", sans-serif; color: var(--gold-hi); background: #2b201a; box-shadow: inset 4px 0 0 var(--gold); }
.journal .hinw { margin: 12px 0 0; font: 600 13px/1.35 "Lato", sans-serif; color: #cdbb9d; }
.journal .schritt { display: grid; grid-template-columns: 24px 1fr auto; column-gap: 10px; align-items: center; height: 58px; border-top: 2px solid var(--shade); cursor: pointer; }
.journal .schritt:first-child { border-top: 0; }
.journal .schritt .haken { position: relative; width: 24px; height: 24px; background: #241a15; border: 2px solid var(--ink); box-shadow: inset 2px 2px 0 #17100c, inset -2px -2px 0 #3a2c23; }
.journal .schritt.fertig .haken { background: var(--gold); box-shadow: inset 0 2px 0 var(--gold-hi), inset 0 -2px 0 var(--gold-lo); }
.journal .schritt.fertig .haken::after { content: ""; position: absolute; left: 6px; top: 1px; width: 5px; height: 11px; border: solid var(--ink); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.journal .schritt .nm { min-width: 0; }
.journal .schritt .nm b { display: block; font: 600 15px/1.2 "Lato", sans-serif; color: var(--bone); }
.journal .schritt .nm span { display: block; margin-top: 3px; font: 600 12px/1.3 "Lato", sans-serif; color: #cdbb9d; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.journal .schritt.fertig .nm b, .journal .schritt.gesperrt .nm b { color: #cdbb9d; }
.journal .schritt .pfeil, .wegweiser .pfeil { display: inline-block; width: 14px; height: 14px; margin: -3px 6px -2px 0; background: var(--gold-hi); clip-path: polygon(50% 0, 100% 50%, 68% 50%, 68% 100%, 32% 100%, 32% 50%, 0 50%); transform: rotate(var(--w, 0deg)); }
.journal .schritt .schloss { display: inline-block; width: 16px; height: 16px; margin: -4px 4px -3px 0; vertical-align: baseline; }
.journal .schritt .lohn { display: flex; align-items: center; gap: 5px; }
.journal .schritt .lohn img { width: 16px; height: 16px; image-rendering: pixelated; }
.journal .schritt .lohn b { min-width: 30px; font: 600 14px/1 "Lato", sans-serif; color: var(--bone); }

.wegweiser { position: absolute; z-index: 6; display: none; transform: translateX(-50%); padding: 3px 8px 4px; white-space: nowrap; pointer-events: none;
  font: 600 13px/1.2 "Lato", sans-serif; color: var(--bone); background: rgba(31, 23, 20, .88); border: 2px solid var(--ink); }
.wegweiser .pfeil { width: 16px; height: 16px; margin: -3px 6px -3px 0; }
.wegring { position: absolute; z-index: 5; display: none; width: 44px; height: 44px; margin: -30px 0 0 -22px; pointer-events: none; border: 3px solid var(--gold-hi); border-radius: 50%; box-shadow: 0 0 0 2px var(--ink); animation: wegring 1.2s steps(6) infinite; }
@keyframes wegring { 0% { transform: scale(.7); opacity: 1; } 100% { transform: scale(1.3); opacity: .2; } }

.sheet.v2.ort .sub { margin-left: 0; }
.sheet.v2.ort .port { overflow: hidden; padding: 0; align-items: center; background: #c3b48d; box-shadow: none; }
.sheet.v2.ort .port img { flex: none; width: 128px; height: 128px; margin: -14px; }
.sheet.v2.ort .facts dd.gut { color: var(--gold-hi); }
.sheet.v2.ort .facts dd.warn { color: #f0a08a; }
.sheet.v2.ort.verlies .schwere { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.sheet.v2.ort.verlies .schwerekarte { display: block; height: 66px; padding: 6px 10px; background: var(--shade); border: 2px solid var(--ink); cursor: pointer; }
.sheet.v2.ort.verlies .schwerekarte.on { background: #2b201a; box-shadow: inset 0 0 0 2px var(--gold); }
.sheet.v2.ort.verlies .schwerekarte.gesperrt { cursor: default; }
.sheet.v2.ort.verlies .schwerekarte b { display: flex; align-items: center; gap: 4px; font: 800 15px/1.2 "Cinzel", serif; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-pale); }
.sheet.v2.ort.verlies .schwerekarte b img { width: 16px; height: 16px; }
.sheet.v2.ort.verlies .schwerekarte span { display: block; margin-top: 2px; font: 600 12px/1.3 "Lato", sans-serif; color: #d9c8aa; white-space: nowrap; }
.sheet.v2.ort.verlies .schwerekarte.gesperrt b, .sheet.v2.ort.verlies .schwerekarte.gesperrt span { color: #cdbb9d; }
.sheet.v2.ort.verlies .zeile { margin: 10px 0 2px; height: 38px; font: 600 14px/19px "Lato", sans-serif; color: #d9c8aa; }
.sheet.v2.ort.verlies .zeile.warn { color: #f0a08a; }
.sheet.v2.ort.verlies > .btn { cursor: pointer; }

.btn.gold.hold { box-shadow: inset 0 2px 0 var(--gold-hi), inset 0 -4px 0 var(--gold-lo), inset 6px 0 0 var(--blood); }
.btn.gold.hold.fuellt { background: linear-gradient(90deg, #fff4dc 0, #fff4dc var(--voll, 0%), var(--gold) var(--voll, 0%), var(--gold) 100%); }
.btn.gold.hold.getippt { box-shadow: inset 0 0 0 3px #fff4dc, inset 9px 0 0 var(--blood); }

.kampf .log2 .lauf { display: block; margin-top: 6px; font: 600 12px/1.3 "Lato", sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #ffe08a; }
.kampf .log2 .lauf + .rnd { margin-top: 0; }

.kampf .sheet.beute.lauf { height: calc(339px + var(--sb)); min-height: 0; }
.kampf .beute.lauf .rast { margin-top: 8px; font: 600 13px/1.35 "Lato", sans-serif; color: #d9c8aa; }

.klassenfigur { display: inline-block; flex: none; background-repeat: no-repeat; background-position: 0 0; image-rendering: pixelated; image-rendering: crisp-edges; }
.klassenfigur.schleife { animation: klassenschleife var(--dauer, 1s) steps(var(--bilder, 1)) infinite; }
.tempo-off .klassenfigur.schleife { animation: none; }

.gegenstand.schleife { display: block; background-repeat: no-repeat; background-size: calc(var(--bilder, 1) * 100%) 100%; image-rendering: pixelated; image-rendering: crisp-edges; animation: gegenstandschleife var(--dauer, 1s) steps(var(--bilder, 1)) infinite; }
.tempo-off .gegenstand.schleife { animation: none; }
@keyframes gegenstandschleife { from { background-position: 0% 0; } to { background-position: var(--ende, 100%) 0; } }
.slot i.gegenstand { position: absolute; left: 4px; top: 4px; width: 32px; height: 32px; }
@keyframes klassenschleife { from { background-position: 0 0; } to { background-position: var(--weg, 0) 0; } }

.kampf .rastet .fb .bar > i { transition: width var(--fuell, 1.2s) steps(12); }
.kampf .beute.lauf .zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.kampf .beute.lauf .zwei .btn { height: 40px; font-size: 12px; cursor: pointer; }
.kampf .beute.lauf .btn { cursor: pointer; }
.kampf .beute.frage .warn { font: 800 20px/1.2 "Cinzel", serif; letter-spacing: .05em; text-transform: uppercase; color: #f0a08a; }
.kampf .beute.frage .was { margin-top: 8px; font: 600 14px/1.35 "Lato", sans-serif; color: var(--bone); }
.kampf .beute.frage .gehen { margin-top: 14px; height: 44px; font-size: 12px; color: #fff4dc; background: var(--blood); box-shadow: inset 0 2px 0 #e0574d, inset 0 -4px 0 #8e2019; }
.kampf .beute.frage .bleibt { margin-top: 10px; font: 600 13px/1.35 "Lato", sans-serif; color: #d9c8aa; }

.kampf .sheet.beute.stufe { height: calc(339px + var(--sb)); min-height: 0; }
.kampf .beute .lohn img.muenze { flex: none; width: 32px; height: 32px; margin: -4px -6px -4px -6px; }
.kampf .ende .truhe { display: grid; grid-template-columns: 72px 1fr 84px; column-gap: 10px; align-items: center; margin: 0 -14px; padding: 8px 14px; background: #2b201a; box-shadow: inset 4px 0 0 var(--gold); }

.kampf .ende .truhe .slot { width: 72px; height: 72px; }
.kampf .ende .truhe .slot img { left: 2px; top: 2px; width: 64px; height: 64px; }
.kampf .ende .truhe .nm b { display: block; font: 800 15px/1.25 "Cinzel", serif; letter-spacing: .04em; text-transform: uppercase; color: var(--gold-hi); }
.kampf .ende .truhe .nm span { display: block; margin-top: 3px; font: 600 13px/1.3 "Lato", sans-serif; color: #d9c8aa; }
.kampf .ende .truhe .btn { height: 40px; cursor: pointer; }
.kampf .ende .lohn.sum { margin-top: 10px; }
.kampf .ende .lohn.sum.eng { margin-top: 0; row-gap: 2px; }
.kampf .ende .fund.rollen { position: relative; height: 196px; overflow-y: auto; scrollbar-width: none; }
.kampf .ende .beute .btn { cursor: pointer; }
.kampf .beute .danach { margin-top: 10px; font: 600 13px/1.35 "Lato", sans-serif; color: #d9c8aa; }
.kampf .beute .danach b { margin-right: 6px; font: 600 12px/1.35 "Lato", sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-hi); }
.kampf .sheet.sachen .leer { margin: 14px 0; font: 600 13px/1.35 "Lato", sans-serif; color: #cdbb9d; }

.kampf .sheet.sachen .z em.warum { color: #f0a08a; font-size: 13px; }
.kampf .sheet.sachen .z .slot .punkt, .kampf .btn.vomstueck .punkt { position: absolute; width: 16px; height: 16px; image-rendering: pixelated; }
.kampf .sheet.sachen .z .slot .punkt { left: -4px; top: -4px; z-index: 1; }
.kampf .btn.vomstueck { position: relative; }
.kampf .btn.vomstueck .punkt { left: 28px; top: 4px; }
