/* ===================================================================== LOGBOGEN (2026-11-25, brugerens ønske)
   #eventBox er en opslået logbog: venstre side fortællingen (titel, tekst, chips), højre side valgene (#evChoices) eller
   vragvalget (#lbSalv, 14c). Efter en sejr kan man blade om til mønstringsrullen (#rankBoard flyttes ind, 08c). Lige store sider.
   B = det høje præfiks (tre id'er) og alle erklæringer er !important: dialogen har ~300 ældre regler (06b-08). Genereret af lb.py */
html body #eventBox#eventBox#eventBox.lbBook { --lbH: min(calc(60vh * var(--lbU, 1)), calc(650px * var(--lbK, 1) * var(--lbU, 1)), 94vh); --lbS: clamp(calc(330px * var(--lbK, 1) * var(--lbU, 1)), calc(var(--lbW) * 0.44), calc(var(--lbH) - 1.6em)); --lbW: min(clamp(calc(820px * var(--lbK, 1)), 54vw, calc(1180px * var(--lbK, 1))), calc(100vw - 344px)); --ink: #2a180a; --ink2: #4a3018; --inkS: #6a4a2a; --inkL: #8a6a46; --red: #7a1c10; --gold: #b8892e; --teal: #1f6b66; position: fixed !important; top: auto !important; right: auto !important; bottom: clamp(10px, 2.4vh, 28px) !important; left: max(50vw, calc(316px + var(--lbW) / 2)) !important; transform: translateX(-50%) !important; transform-origin: 0 50% !important; width: var(--lbW) !important; max-width: none !important; min-width: 0 !important; height: auto !important; max-height: var(--lbH) !important; margin: 0 !important; padding: 0.62em 0.75em 0.8em !important; box-sizing: border-box !important; font-size: clamp(14.5px, 0.94vw, 19px) !important; font-family: "EB Garamond", Georgia, serif !important; color: var(--ink) !important; overflow: visible !important; display: block !important; clip-path: none !important; border: 0 !important; border-radius: 9px !important; outline: 0 !important; background: radial-gradient(ellipse 60% 90% at 15% 0%, rgba(255, 170, 120, 0.2), transparent 60%), var(--jn-grain, none), linear-gradient(180deg, #5e1d11, #350e07) !important; box-shadow: 0 0 0 1px #160604, inset 0 0 0 4px rgba(0, 0, 0, 0.18), inset 0 0 0 5px rgba(226, 187, 104, 0.55), inset 0 0 0 7px rgba(0, 0, 0, 0.2), inset 0 0 0 8px rgba(226, 187, 104, 0.28), 0 24px 44px rgba(0, 0, 0, 0.6) !important; animation: lbUp 0.55s cubic-bezier(0.16, 0.84, 0.3, 1) both !important; }
html body #eventBox#eventBox#eventBox.lbBook::before { content: "" !important; position: absolute !important; left: 4% !important; right: 4% !important; bottom: -14px !important; height: 28px !important; border-radius: 50% !important; background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.55), transparent 70%) !important; z-index: -1 !important; pointer-events: none !important; display: block !important; inset: auto 4% -14px 4% !important; width: auto !important; opacity: 1 !important; transform: none !important; }
html body #eventBox#eventBox#eventBox.lbBook::after { content: none !important; display: none !important; }
html body #eventBox#eventBox#eventBox.lbBook[hidden] { display: none !important; }
html body #eventBox#eventBox#eventBox.lbBook.acting { opacity: 0 !important; pointer-events: none !important; transition: opacity 0.2s ease !important; }
html body #eventBox#eventBox#eventBox.lbBook > .lbCorner { position: absolute !important; top: 2px !important; width: 26px !important; height: 26px !important; pointer-events: none !important; opacity: 0.85 !important; }
html body #eventBox#eventBox#eventBox.lbBook > .lbCorner.l { left: 2px !important; }
html body #eventBox#eventBox#eventBox.lbBook > .lbCorner.r { right: 2px !important; transform: scaleX(-1) !important; }
/* opslagene: to lige store sider; [data-sp] vælger hvilket */
html body #eventBox#eventBox#eventBox.lbBook .lbBody { position: relative !important; perspective: 2600px !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbSpread { position: relative !important; display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; grid-template-rows: minmax(0, 1fr) !important; height: var(--lbS) !important; max-height: calc(var(--lbH) - 1.6em) !important; border-radius: 3px !important; perspective: 2400px !important; box-shadow: 0 2px 0 #f0dc9c, 0 3px 0 #b8924a, 0 4px 0 #f0dc9c, 0 5px 0 #a8823c, 0 7px 5px rgba(0, 0, 0, 0.35) !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbSpread[hidden] { display: none !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbPg { position: relative !important; box-sizing: border-box !important; min-width: 0 !important; min-height: 0 !important; max-height: calc(var(--lbH) - 1.6em) !important; overflow-y: auto !important; overflow-x: hidden !important; scrollbar-width: thin !important; scrollbar-color: rgba(122, 90, 54, 0.45) transparent !important; display: flex !important; flex-direction: column !important; gap: 0.45em !important; background-color: #f0e2c0 !important; background-image: linear-gradient(rgba(244, 232, 204, 0.72), rgba(244, 232, 204, 0.72)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='p' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='5' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.35 0 0 0 0 0.24 0 0 0 0 0.12 0 0 0 0.55 -0.12'/%3E%3C/filter%3E%3Cfilter id='q' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.012' numOctaves='4' seed='9' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.45 0 0 0 0 0.3 0 0 0 0 0.12 0 0 0 0.9 -0.35'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url%28%23q%29'/%3E%3Crect width='100%25' height='100%25' filter='url%28%23p%29'/%3E%3C/svg%3E") !important; background-size: 100% 100%, 100% 100% !important; color: var(--ink) !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbPg.l { padding: 1.15em 2.2em 1.9em 2.4em !important; border-radius: 3px 0 0 3px !important; box-shadow: inset -2.4em 0 2.2em -1.2em rgba(90, 55, 20, 0.5), inset 0.7em 0 0.9em -0.55em rgba(255, 250, 235, 0.6) !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbPg.r { padding: 1em 2.2em 0.9em 2.2em !important; border-radius: 0 3px 3px 0 !important; box-shadow: inset 2.4em 0 2.2em -1.2em rgba(90, 55, 20, 0.45), inset -0.7em 0 0.9em -0.55em rgba(255, 250, 235, 0.6) !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbSpine { position: absolute !important; left: 50% !important; top: 0 !important; bottom: 0 !important; width: 3.4em !important; margin-left: -1.7em !important; pointer-events: none !important; z-index: 3 !important; background: linear-gradient(90deg, transparent, rgba(70, 40, 12, 0.25) 38%, rgba(30, 14, 4, 0.6) 50%, rgba(70, 40, 12, 0.25) 62%, transparent) !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbBand { position: absolute !important; left: 50% !important; top: -5px !important; width: 20px !important; height: 5px !important; margin-left: -10px !important; border-radius: 3px 3px 0 0 !important; background: repeating-linear-gradient(90deg, #8a1c10 0 3px, #e2bb68 3px 6px) !important; z-index: 3 !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbRib { position: absolute !important; right: 1.4em !important; top: -1em !important; width: 14px !important; height: 2.6em !important; z-index: 4 !important; pointer-events: none !important; background: linear-gradient(90deg, #5e1008, #b0301c 45%, #7a1a0c) !important; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 86%, 0 100%) !important; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.35)) !important; }
/* venstre side: hoved, titel, ornament, tekst, chips, underskrift */
html body #eventBox#eventBox#eventBox.lbBook .lbHead { display: flex !important; justify-content: space-between !important; align-items: baseline !important; gap: 1em !important; font-family: "IM Fell English SC", serif !important; font-size: 0.7em !important; letter-spacing: 0.16em !important; color: var(--inkL) !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbHead i { font-family: "IM Fell English", serif !important; font-style: italic !important; letter-spacing: 0.02em !important; font-size: 1.1em !important; }
html body #eventBox#eventBox#eventBox.lbBook h2#evTitle { all: unset !important; display: block !important; font-family: "EB Garamond", Georgia, serif !important; font-weight: 500 !important; font-size: 2.05em !important; line-height: 1.02 !important; letter-spacing: -0.01em !important; color: var(--ink) !important; text-align: left !important; text-shadow: none !important; text-wrap: balance !important; margin: 0.05em 0 0 !important; }
html body #eventBox#eventBox#eventBox.lbBook h2#evTitle::before, html body #eventBox#eventBox#eventBox.lbBook h2#evTitle::after { content: none !important; display: none !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbOrn { display: block !important; width: 7.5em !important; height: 0.6em !important; flex: none !important; background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 10'%3E%3Cg fill='none' stroke='%237a1c10' stroke-width='1.1'%3E%3Cpath d='M0 5h62M98 5h62M68 5c4-4 8-4 12 0s8 4 12 0'/%3E%3C/g%3E%3Ccircle cx='80' cy='5' r='1.6' fill='%237a1c10'/%3E%3C/svg%3E") !important; opacity: 0.9 !important; }
html body #eventBox#eventBox#eventBox.lbBook p#evText { all: unset !important; display: block !important; font-family: "IM Fell English", Georgia, serif !important; font-size: 1.04em !important; line-height: 1.48 !important; color: var(--ink2) !important; text-shadow: none !important; white-space: pre-line !important; max-height: none !important; }
html body #eventBox#eventBox#eventBox.lbBook p#evText::first-letter, html body #eventBox#eventBox#eventBox.lbBook .lbJour .ljX::first-letter { all: unset !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbSign { margin-top: auto !important; padding-top: 0.5em !important; padding-left: 8em !important; text-align: right !important; font-family: "IM Fell English", serif !important; font-style: italic !important; font-size: 0.78em !important; color: var(--inkS) !important; }
/* chips: blækstempler; på sejrsskærmen (med afsnit) en regnskabsliste */
html body #eventBox#eventBox#eventBox.lbBook #evFx { all: unset !important; display: flex !important; flex-wrap: wrap !important; gap: 0.38em 0.45em !important; margin: 0.15em 0 0 !important; justify-content: flex-start !important; }
html body #eventBox#eventBox#eventBox.lbBook #evFx > span { all: unset !important; position: relative !important; display: inline-flex !important; align-items: center !important; gap: 0.35em !important; padding: 0.16em 0.6em !important; border-radius: 2px !important; font-family: "IM Fell English SC", serif !important; font-size: 0.74em !important; letter-spacing: 0.05em !important; line-height: 1.35 !important; color: var(--ink2) !important; box-shadow: inset 0 0 0 1px rgba(90, 58, 28, 0.42) !important; background: rgba(255, 250, 235, 0.3) !important; transform: rotate(-0.6deg) !important; }
html body #eventBox#eventBox#eventBox.lbBook #evFx > span:nth-child(even) { transform: rotate(0.7deg) !important; }
html body #eventBox#eventBox#eventBox.lbBook #evFx > span.pos { color: #2f5a24 !important; box-shadow: inset 0 0 0 1px rgba(47, 90, 36, 0.45) !important; }
html body #eventBox#eventBox#eventBox.lbBook #evFx > span.neg { color: var(--red) !important; box-shadow: inset 0 0 0 1px rgba(122, 28, 16, 0.5) !important; }
html body #eventBox#eventBox#eventBox.lbBook #evFx > span.art { color: color-mix(in srgb, var(--rar, #5e3480) 30%, #2a180a) !important; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--rar, #5e3480) 60%, transparent) !important; }
html body #eventBox#eventBox#eventBox.lbBook #evFx > span::before, html body #eventBox#eventBox#eventBox.lbBook #evFx > span::after { content: none !important; display: none !important; }
html body #eventBox#eventBox#eventBox.lbBook #evFx .fxIco { all: unset !important; display: inline-flex !important; width: 1.25em !important; height: 1.25em !important; flex: none !important; }
html body #eventBox#eventBox#eventBox.lbBook #evFx .fxIco svg, html body #eventBox#eventBox#eventBox.lbBook #evFx .fxIco img { width: 100% !important; height: 100% !important; }
html body #eventBox#eventBox#eventBox.lbBook #evFx:has(.fxHead) { display: flex !important; flex-direction: row !important; flex-wrap: wrap !important; gap: 0.3em 0.4em !important; align-items: center !important; }
html body #eventBox#eventBox#eventBox.lbBook #evFx:has(.fxHead) > span:not(.fxHead) { transform: none !important; font-family: "EB Garamond", Georgia, serif !important; font-size: 0.86em !important; letter-spacing: 0 !important; padding: 0.08em 0.5em !important; }
html body #eventBox#eventBox#eventBox.lbBook #evFx > span.fxHead { transform: none !important; display: block !important; flex-basis: 100% !important; padding: 0.35em 0 0 !important; box-shadow: none !important; background: none !important; border: 0 !important; font-family: "IM Fell English SC", serif !important; font-size: 0.72em !important; letter-spacing: 0.15em !important; color: var(--red) !important; }
html body #eventBox#eventBox#eventBox.lbBook #evFx > span.fxHead.secTask { color: #7a4a00 !important; }
html body #eventBox#eventBox#eventBox.lbBook #evFx > span.fxHead.secRen { color: #5a2a8a !important; }
html body #eventBox#eventBox#eventBox.lbBook #evFx > span.fxHead.secBat { color: #34506a !important; }
html body #eventBox#eventBox#eventBox.lbBook #evFx > span.fxHead:first-child { padding-top: 0.1em !important; }
html body #eventBox#eventBox#eventBox.lbBook #evFx .icWhy { all: unset !important; font-style: italic !important; color: var(--inkS) !important; }
/* byttet (#haulBoard flyttes ind af lbHaulPlace): en regnskabsliste med optælling */
html body #eventBox#eventBox#eventBox.lbBook #lbHaul:empty { display: none !important; }
html body #eventBox#eventBox#eventBox.lbBook #haulBoard { all: unset !important; position: static !important; display: block !important; width: auto !important; margin: 0.2em 0 0.1em !important; opacity: 1 !important; translate: none !important; transform: none !important; animation: none !important; background: none !important; box-shadow: none !important; }
html body #eventBox#eventBox#eventBox.lbBook #haulBoard[hidden] { display: none !important; }
html body #eventBox#eventBox#eventBox.lbBook #haulBoard .hbHead { all: unset !important; display: flex !important; align-items: baseline !important; justify-content: space-between !important; font-family: "IM Fell English SC", serif !important; font-size: 0.72em !important; letter-spacing: 0.15em !important; color: var(--red) !important; }
html body #eventBox#eventBox#eventBox.lbBook #haulBoard .hbHead b { all: unset !important; font: inherit !important; color: inherit !important; }
html body #eventBox#eventBox#eventBox.lbBook #haulBoard .hbHead small { all: unset !important; font-family: "EB Garamond", Georgia, serif !important; font-size: 1.05em !important; letter-spacing: 0.02em !important; color: var(--inkL) !important; }
html body #eventBox#eventBox#eventBox.lbBook #haulBoard .hbBar { all: unset !important; display: block !important; position: relative !important; height: 2px !important; margin: 0.25em 0 0.2em !important; background: rgba(90, 58, 28, 0.15) !important; overflow: hidden !important; }
html body #eventBox#eventBox#eventBox.lbBook #haulBoard .hbBar i { all: unset !important; position: absolute !important; left: 0 !important; top: 0 !important; bottom: 0 !important; background: var(--red) !important; transition: width 0.5s ease !important; }
html body #eventBox#eventBox#eventBox.lbBook #haulBoard.done .hbBar { opacity: 0 !important; }
html body #eventBox#eventBox#eventBox.lbBook #haulBoard ul { all: unset !important; display: flex !important; flex-direction: column !important; gap: 0 !important; }
html body #eventBox#eventBox#eventBox.lbBook #haulBoard li { all: unset !important; position: relative !important; display: flex !important; align-items: center !important; gap: 0.55em !important; padding: 0.14em 0.1em !important; border-bottom: 1px dotted rgba(90, 58, 28, 0.38) !important; font-size: 1.02em !important; color: var(--ink) !important; animation: lbRow 0.4s ease both !important; background: none !important; box-shadow: none !important; }
html body #eventBox#eventBox#eventBox.lbBook #haulBoard li.bump { animation: lbRise 0.5s ease both !important; }
html body #eventBox#eventBox#eventBox.lbBook #haulBoard .hbIco { all: unset !important; display: inline-flex !important; width: 1.35em !important; height: 1.35em !important; flex: none !important; }
html body #eventBox#eventBox#eventBox.lbBook #haulBoard .hbIco svg, html body #eventBox#eventBox#eventBox.lbBook #haulBoard .hbIco img { width: 100% !important; height: 100% !important; }
html body #eventBox#eventBox#eventBox.lbBook #haulBoard .hbName { all: unset !important; flex: 1 !important; font-family: "EB Garamond", Georgia, serif !important; }
html body #eventBox#eventBox#eventBox.lbBook #haulBoard .hbName small { all: unset !important; margin-left: 0.45em !important; font-family: "IM Fell English", serif !important; font-style: italic !important; font-size: 0.82em !important; color: var(--inkL) !important; }
html body #eventBox#eventBox#eventBox.lbBook #haulBoard li b { all: unset !important; font-family: "EB Garamond", Georgia, serif !important; font-weight: 600 !important; font-variant-numeric: tabular-nums !important; color: var(--ink) !important; }
html body #eventBox#eventBox#eventBox.lbBook #haulBoard li b.cnt { color: var(--red) !important; }
html body #eventBox#eventBox#eventBox.lbBook #haulBoard li b.ok { color: #2f5a24 !important; }
html body #eventBox#eventBox#eventBox.lbBook #haulBoard li.neg, html body #eventBox#eventBox#eventBox.lbBook #haulBoard li.neg b { color: var(--red) !important; }
html body #eventBox#eventBox#eventBox.lbBook #haulBoard .hbAdd { all: unset !important; position: absolute !important; right: 2.6em !important; font-style: normal !important; font-size: 0.8em !important; font-weight: 600 !important; color: #2f5a24 !important; animation: lbRise 0.6s ease both !important; }
/* højre side: spørgsmålet og valgene */
html body #eventBox#eventBox#eventBox.lbBook .lbAsk { display: flex !important; align-items: center !important; gap: 0.7em !important; font-family: "IM Fell English", serif !important; font-style: italic !important; font-size: 0.92em !important; color: #7a5a36 !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbAsk[hidden] { display: none !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbAsk::after { content: "" !important; flex: 1 !important; height: 1px !important; background: linear-gradient(90deg, rgba(122, 90, 54, 0.45), transparent) !important; }
html body #eventBox#eventBox#eventBox.lbBook #evChoices { all: unset !important; display: flex !important; flex-direction: column !important; gap: 0 !important; counter-reset: lbc !important; margin: 0.1em 0 0 !important; }
html body #eventBox#eventBox#eventBox.lbBook #evChoices:empty { display: none !important; }
html body #eventBox#eventBox#eventBox.lbBook #evChoices > button.evc { all: unset !important; box-sizing: border-box !important; position: relative !important; counter-increment: lbc !important; display: grid !important; grid-template-columns: 1.9em auto minmax(0, 1fr) auto !important; grid-template-areas: "n i m c" !important; align-items: center !important; column-gap: 0.55em !important; width: 100% !important; min-height: 2.25em !important; padding: 0.32em 0.4em 0.36em 0.1em !important; cursor: pointer !important; border-bottom: 1px solid rgba(90, 58, 28, 0.16) !important; background: none !important; color: var(--ink) !important; transition: background 0.3s !important; clip-path: none !important; border-radius: 0 !important; box-shadow: none !important; opacity: 1 !important; animation: lbRow 0.5s cubic-bezier(0.16, 0.84, 0.3, 1) both !important; animation-delay: calc(var(--inkD, 0s) + 0.3s + var(--i, 0) * 0.07s) !important; }
html body #eventBox#eventBox#eventBox.lbBook #evChoices > button.evc:last-child { border-bottom: 0 !important; }
html body #eventBox#eventBox#eventBox.lbBook #evChoices > button.evc[hidden] { display: none !important; }
html body #eventBox#eventBox#eventBox.lbBook #evChoices > button.evc::before { content: counter(lbc, upper-roman) "." !important; grid-area: n !important; position: static !important; display: block !important; width: auto !important; height: auto !important; background: none !important; box-shadow: none !important; border-radius: 0 !important; font-family: "IM Fell English SC", serif !important; font-size: 0.92em !important; color: var(--red) !important; opacity: 1 !important; transform: none !important; transition: color 0.25s, transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) !important; }
html body #eventBox#eventBox#eventBox.lbBook #evChoices > button.evc::after { content: "" !important; display: block !important; position: absolute !important; left: 2.4em !important; right: 0.4em !important; bottom: -1px !important; top: auto !important; width: auto !important; height: 1.5px !important; background: linear-gradient(90deg, var(--red), rgba(122, 28, 16, 0.12)) !important; transform: scaleX(0) !important; transform-origin: left !important; transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) !important; border: 0 !important; box-shadow: none !important; opacity: 1 !important; animation: none !important; }
html body #eventBox#eventBox#eventBox.lbBook #evChoices > button.evc:is(:hover, :focus-visible) { background: linear-gradient(90deg, rgba(122, 28, 16, 0.08), rgba(122, 28, 16, 0) 85%) !important; transform: none !important; filter: none !important; }
html body #eventBox#eventBox#eventBox.lbBook #evChoices > button.evc:is(:hover, :focus-visible)::after { transform: scaleX(1) !important; }
html body #eventBox#eventBox#eventBox.lbBook #evChoices > button.evc:is(:hover, :focus-visible)::before { transform: translateX(0.18em) !important; }
html body #eventBox#eventBox#eventBox.lbBook #evChoices > button.evc:focus-visible { outline: 0 !important; }
html body #eventBox#eventBox#eventBox.lbBook #evChoices > button.evc .evIco { all: unset !important; grid-area: i !important; display: inline-flex !important; width: 1.45em !important; height: 1.45em !important; }
html body #eventBox#eventBox#eventBox.lbBook #evChoices > button.evc .evIco.dot { display: none !important; }
html body #eventBox#eventBox#eventBox.lbBook #evChoices > button.evc .evIco svg, html body #eventBox#eventBox#eventBox.lbBook #evChoices > button.evc .evIco img, html body #eventBox#eventBox#eventBox.lbBook #evChoices > button.evc .evIco canvas { width: 100% !important; height: 100% !important; }
html body #eventBox#eventBox#eventBox.lbBook #evChoices > button.evc .evIco::before, html body #eventBox#eventBox#eventBox.lbBook #evChoices > button.evc .evIco::after { content: none !important; display: none !important; }
html body #eventBox#eventBox#eventBox.lbBook #evChoices > button.evc .evMain { all: unset !important; grid-area: m !important; min-width: 0 !important; display: flex !important; flex-wrap: wrap !important; align-items: baseline !important; column-gap: 0.5em !important; row-gap: 0.05em !important; }
html body #eventBox#eventBox#eventBox.lbBook #evChoices > button.evc .evTxt { all: unset !important; order: 1 !important; display: inline-flex !important; align-items: center !important; gap: 0.4em !important; font-family: "EB Garamond", Georgia, serif !important; font-size: 1.06em !important; font-weight: 500 !important; line-height: 1.22 !important; color: inherit !important; text-shadow: none !important; }
html body #eventBox#eventBox#eventBox.lbBook #evChoices > button.evc .evTxt b, html body #eventBox#eventBox#eventBox.lbBook #evChoices > button.evc .evTxt strong { font-weight: 600 !important; }
html body #eventBox#eventBox#eventBox.lbBook #evChoices > button.evc .evTag { all: unset !important; order: 2 !important; font-family: "IM Fell English SC", serif !important; font-size: 0.7em !important; letter-spacing: 0.06em !important; color: var(--inkL) !important; text-shadow: none !important; white-space: nowrap !important; }
html body #eventBox#eventBox#eventBox.lbBook #evChoices > button.evc small { all: unset !important; order: 3 !important; flex-basis: 100% !important; font-family: "IM Fell English", serif !important; font-style: italic !important; font-size: 0.82em !important; line-height: 1.3 !important; color: var(--inkS) !important; }
html body #eventBox#eventBox#eventBox.lbBook #evChoices > button.evc small .artLore { display: none !important; }
html body #eventBox#eventBox#eventBox.lbBook #evChoices > button.evc .evFight, html body #eventBox#eventBox#eventBox.lbBook #evChoices > button.evc .evSw { all: unset !important; display: inline-flex !important; width: 1.05em !important; height: 1.05em !important; }
html body #eventBox#eventBox#eventBox.lbBook #evChoices > button.evc .evFight svg, html body #eventBox#eventBox#eventBox.lbBook #evChoices > button.evc .evSw svg { width: 100% !important; height: 100% !important; }
html body #eventBox#eventBox#eventBox.lbBook #evChoices > button.evc .evCost { all: unset !important; grid-area: c !important; display: flex !important; align-items: center !important; gap: 0.55em !important; white-space: nowrap !important; }
html body #eventBox#eventBox#eventBox.lbBook #evChoices > button.evc .evCost .cp { all: unset !important; display: inline-flex !important; align-items: center !important; gap: 0.15em !important; font-family: "EB Garamond", Georgia, serif !important; font-weight: 600 !important; font-size: 0.92em !important; color: var(--ink) !important; }
html body #eventBox#eventBox#eventBox.lbBook #evChoices > button.evc .evCost .cp svg, html body #eventBox#eventBox#eventBox.lbBook #evChoices > button.evc .evCost .cp img { width: 1.25em !important; height: 1.25em !important; }
html body #eventBox#eventBox#eventBox.lbBook #evChoices > button.evc.special { color: color-mix(in srgb, var(--spc, #1f6b66) 48%, #1a0e05) !important; background: linear-gradient(90deg, color-mix(in srgb, var(--spc, #1f6b66) 13%, transparent), transparent 75%) !important; }
html body #eventBox#eventBox#eventBox.lbBook #evChoices > button.evc.special::before { color: color-mix(in srgb, var(--spc, #1f6b66) 55%, #1a0e05) !important; }
html body #eventBox#eventBox#eventBox.lbBook #evChoices > button.evc.special .evTag { color: color-mix(in srgb, var(--spc, #1f6b66) 55%, #1a0e05) !important; }
html body #eventBox#eventBox#eventBox.lbBook #evChoices > button.evc.special small { color: color-mix(in srgb, var(--spc, #1f6b66) 40%, #3a2410) !important; }
html body #eventBox#eventBox#eventBox.lbBook #evChoices > button.evc.special::after { background: linear-gradient(90deg, color-mix(in srgb, var(--spc, #1f6b66) 85%, #1a0e05), transparent) !important; }
html body #eventBox#eventBox#eventBox.lbBook #evChoices > button.evc.artc .evTag { color: color-mix(in srgb, var(--rar, #5e3480) 45%, #1a0e05) !important; }
html body #eventBox#eventBox#eventBox.lbBook #evChoices > button.evc.infamy::before { color: #8a2414 !important; }
html body #eventBox#eventBox#eventBox.lbBook #evChoices > button.evc:disabled { cursor: default !important; opacity: 0.42 !important; }
html body #eventBox#eventBox#eventBox.lbBook #evChoices > button.evc:disabled .evTxt { text-decoration: line-through !important; text-decoration-color: rgba(42, 24, 10, 0.5) !important; }
html body #eventBox#eventBox#eventBox.lbBook #evChoices > button.evc:disabled:hover { background: none !important; }
html body #eventBox#eventBox#eventBox.lbBook #evChoices > button.evc:disabled::after { display: none !important; }
html body #eventBox#eventBox#eventBox.lbBook #evChoices .sideBar { margin: 0.5em 0 0 !important; width: 100% !important; max-width: 100% !important; min-width: 0 !important; box-sizing: border-box !important; font-size: 0.9em !important; }
html body #eventBox#eventBox#eventBox.lbBook #evChoices .sideBar { display: grid !important; grid-template-columns: minmax(0, 1fr) 6.6em minmax(0, 1fr) !important; }
html body #eventBox#eventBox#eventBox.lbBook #evChoices .sideBar .sbSide, html body #eventBox#eventBox#eventBox.lbBook #evChoices .sideBar .sbSide.s { min-width: 0 !important; flex-direction: column !important; text-align: center !important; gap: 0.35em !important; padding: 0.6em 0.4em !important; min-height: 0 !important; }
html body #eventBox#eventBox#eventBox.lbBook #evChoices .sideBar .sbShip { height: 5.2em !important; }
html body #eventBox#eventBox#eventBox.lbBook #evChoices .sideBar .sbTx { min-width: 0 !important; align-items: center !important; text-align: center !important; }
html body #eventBox#eventBox#eventBox.lbBook #evChoices .sideBar .sbTx small { display: none !important; }
html body #eventBox#eventBox#eventBox.lbBook #evChoices .sideBar .sbTx b { font-size: 1.15em !important; }
html body #eventBox#eventBox#eventBox.lbBook #evChoices .sideBar .sbTx em { white-space: nowrap !important; display: inline-block !important; width: auto !important; height: auto !important; padding: 0.15em 0.5em !important; line-height: 1.2 !important; }
html body #eventBox#eventBox#eventBox.lbBook #evChoices .sideBar .sbLant .lant { width: 1.5em !important; height: 1.5em !important; }
html body #eventBox#eventBox#eventBox.lbBook #evChoices .sideBar .sbFoot { display: none !important; }
/* bladet: vend siden (mønstringsrullen efter en sejr) */
html body #eventBox#eventBox#eventBox.lbBook .lbTurn { all: unset !important; position: absolute !important; bottom: 0 !important; right: 0 !important; z-index: 5 !important; cursor: pointer !important; display: flex !important; align-items: flex-end !important; justify-content: flex-end !important; width: 9em !important; height: 3.6em !important; padding: 0 0.9em 0.55em !important; box-sizing: border-box !important; font-family: "IM Fell English", serif !important; font-style: italic !important; font-size: 0.86em !important; font-weight: 500 !important; color: #8a2a10 !important; white-space: nowrap !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbTurn[hidden] { display: none !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbTurn.back { right: auto !important; left: 0 !important; justify-content: flex-start !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbTurn span { position: relative !important; margin-right: 2.8em !important; animation: lbGlow 2.6s ease-in-out infinite !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbTurn.back span { margin-right: 0 !important; margin-left: 2.8em !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbTurn .lbCurl { position: absolute !important; bottom: 0 !important; right: 0 !important; width: 2.1em !important; height: 2.1em !important; transition: width 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), height 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) !important; animation: lbCurlGl 2.6s ease-in-out infinite !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbTurn.back .lbCurl { right: auto !important; left: 0 !important; transform: scaleX(-1) !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbTurn::before { content: "" !important; position: absolute !important; bottom: -3.4em !important; right: -3.4em !important; width: 12em !important; height: 8em !important; pointer-events: none !important; background: radial-gradient(closest-side, rgba(255, 214, 140, 0.42), rgba(255, 214, 140, 0.14) 55%, rgba(255, 214, 140, 0)) !important; animation: lbHalo 2.6s ease-in-out infinite !important; display: block !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbTurn.back::before { right: auto !important; left: -3.4em !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbTurn:is(:hover, :focus-visible) .lbCurl { width: 3.2em !important; height: 3.2em !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbTurn:is(:hover, :focus-visible)::before { animation: none !important; opacity: 1 !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbTurn:is(:hover, :focus-visible) span { animation: none !important; filter: drop-shadow(0 0 6px rgba(255, 210, 130, 0.9)) !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbTurn:is(:hover, :focus-visible) .lbCurl { animation: none !important; filter: drop-shadow(-2px -2px 3px rgba(50, 25, 5, 0.35)) drop-shadow(0 0 6px rgba(255, 210, 130, 0.7)) !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbLeaf { position: absolute !important; top: 0 !important; bottom: 0 !important; width: 50% !important; z-index: 6 !important; display: block !important; backface-visibility: visible !important; border-radius: 0 3px 3px 0 !important; pointer-events: none !important; background-color: #efe0bd !important; background-image: linear-gradient(90deg, rgba(90, 55, 20, 0.28), transparent 26%, transparent 80%, rgba(90, 55, 20, 0.12)), repeating-linear-gradient(180deg, transparent 0 1.42em, rgba(74, 48, 24, 0.075) 1.42em calc(1.42em + 1px)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='p' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='5' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.35 0 0 0 0 0.24 0 0 0 0 0.12 0 0 0 0.55 -0.12'/%3E%3C/filter%3E%3Cfilter id='q' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.012' numOctaves='4' seed='9' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.45 0 0 0 0 0.3 0 0 0 0 0.12 0 0 0 0.9 -0.35'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url%28%23q%29'/%3E%3Crect width='100%25' height='100%25' filter='url%28%23p%29'/%3E%3C/svg%3E") !important; background-size: 100% 100%, 100% 100%, 100% 100% !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbLeaf::after { content: "" !important; position: absolute !important; inset: 0 !important; border-radius: inherit !important; background: linear-gradient(90deg, rgba(40, 20, 5, 0), rgba(40, 20, 5, 0.38)) !important; animation: lbLeafSh 0.62s ease-in-out both !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbLeaf.f { left: 50% !important; transform-origin: 0 50% !important; animation: lbFlipF 0.62s cubic-bezier(0.45, 0.05, 0.3, 1) both !important; box-shadow: -8px 0 22px rgba(60, 30, 10, 0.3) !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbLeaf.b { left: 0 !important; transform-origin: 100% 50% !important; animation: lbFlipB 0.62s cubic-bezier(0.45, 0.05, 0.3, 1) both !important; box-shadow: 8px 0 22px rgba(60, 30, 10, 0.3) !important; border-radius: 3px 0 0 3px !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbLeaf.b::after { background: linear-gradient(270deg, rgba(40, 20, 5, 0), rgba(40, 20, 5, 0.38)) !important; }
/* omslaget: slår op, når bogen åbnes (lbCover), og klapper i (.shut) */
html body #eventBox#eventBox#eventBox.lbBook .lbCover { position: absolute !important; top: -0.35em !important; bottom: -0.45em !important; left: 50% !important; width: calc(50% + 0.5em) !important; z-index: 8 !important; display: block !important; pointer-events: none !important; transform-style: preserve-3d !important; transform-origin: 0 50% !important; animation: lbCoverO 0.9s cubic-bezier(0.55, 0.05, 0.25, 1) both !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbCover.shut { animation: lbCoverS 0.5s cubic-bezier(0.5, 0, 0.6, 1) both !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbCover b, html body #eventBox#eventBox#eventBox.lbBook .lbCover s { position: absolute !important; inset: 0 !important; display: block !important; backface-visibility: hidden !important; border-radius: 0 8px 8px 0 !important; text-decoration: none !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbCover b { background: radial-gradient(ellipse 70% 60% at 40% 30%, rgba(255, 170, 120, 0.18), transparent 70%), linear-gradient(90deg, #2a0904, #5e1d11 12%, #4a140b 70%, #350e07) !important; box-shadow: inset 0 0 0 5px rgba(0, 0, 0, 0.2), inset 0 0 0 6px rgba(226, 187, 104, 0.6), inset 0 0 0 9px rgba(0, 0, 0, 0.18), inset 0 0 0 10px rgba(226, 187, 104, 0.3), 0 10px 30px rgba(0, 0, 0, 0.5) !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbCover b::after { content: "Ship's Log" !important; position: absolute !important; left: 0 !important; right: 0 !important; top: 50% !important; translate: 0 -50% !important; text-align: center !important; font-family: "IM Fell English SC", serif !important; font-size: 1.5em !important; letter-spacing: 0.2em !important; color: #e2bb68 !important; text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6) !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbCover s { transform: rotateY(180deg) !important; border-radius: 8px 0 0 8px !important; background: radial-gradient(circle at 20% 30%, rgba(30, 60, 90, 0.55), transparent 30%), radial-gradient(circle at 70% 60%, rgba(120, 30, 20, 0.5), transparent 35%), radial-gradient(circle at 40% 85%, rgba(200, 150, 70, 0.45), transparent 30%), linear-gradient(135deg, #3a2a3a, #6a3a2a 40%, #2a3a4a) !important; box-shadow: inset 0 0 0 0.6em #4a140b, inset 0 0 18px rgba(0, 0, 0, 0.5) !important; }
html body #eventBox#eventBox#eventBox.lbBook.lbShutting { pointer-events: none !important; }
html body #eventBox#eventBox#eventBox.lbBook.lbDrop { animation: lbDown 0.32s 0.3s cubic-bezier(0.5, 0, 0.75, 0) both !important; }
html body #eventBox#eventBox#eventBox.lbBook.lbReopen { animation: lbUp2 0.5s cubic-bezier(0.16, 0.84, 0.3, 1) both !important; }
html body #eventBox#eventBox#eventBox.lbBook.lbShut { visibility: hidden !important; pointer-events: none !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbBody.lbBump { animation: lbBump 0.32s ease !important; }
/* fanerne på bogens kant: journalen, tallene, luk */
html body #eventBox#eventBox#eventBox.lbBook .lbTabs { position: absolute !important; right: 3.6em !important; top: 1px !important; transform: translateY(-100%) !important; display: flex !important; gap: 0.35em !important; z-index: 1 !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbTab { all: unset !important; box-sizing: border-box !important; cursor: pointer !important; position: relative !important; display: inline-flex !important; align-items: center !important; gap: 0.45em !important; padding: 0.32em 0.85em 0.38em !important; border-radius: 6px 6px 0 0 !important; font-family: "IM Fell English SC", serif !important; font-size: 0.78em !important; letter-spacing: 0.08em !important; color: #f3dfae !important; background: linear-gradient(180deg, #82301c, #4a140b) !important; box-shadow: inset 0 1px 0 rgba(255, 210, 150, 0.35), inset 0 0 0 1px rgba(226, 187, 104, 0.32), 0 -3px 8px rgba(0, 0, 0, 0.3) !important; translate: 0 0.32em !important; transition: translate 0.28s cubic-bezier(0.2, 0.9, 0.3, 1.3), filter 0.25s, background 0.25s !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbTab[hidden] { display: none !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbTab b { font-weight: 400 !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbTab:is(:hover, :focus-visible) { translate: 0 0 !important; filter: brightness(1.2) !important; outline: 0 !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbTab.on { color: var(--red) !important; background: linear-gradient(180deg, #f6e9c8, #e8d6ac) !important; translate: 0 0.08em !important; box-shadow: inset 0 1px 0 #fff8e4, inset 0 0 0 1px rgba(122, 90, 54, 0.4), 0 -3px 8px rgba(0, 0, 0, 0.25) !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbTab.x { background: linear-gradient(180deg, #3e2816, #1f130a) !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbTab kbd { all: unset !important; font-family: "EB Garamond", Georgia, serif !important; font-size: 0.82em !important; line-height: 1.25 !important; padding: 0 0.35em !important; border-radius: 2px !important; box-shadow: inset 0 0 0 1px rgba(243, 223, 174, 0.4) !important; color: rgba(243, 223, 174, 0.75) !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbTab.on kbd { color: var(--inkS) !important; box-shadow: inset 0 0 0 1px rgba(122, 90, 54, 0.4) !important; }
html body #eventBox#eventBox#eventBox.lbBook.acting .lbTabs, html body #eventBox#eventBox#eventBox.lbBook.startGifts .lbTabs { visibility: hidden !important; }
/* stille hjørner (journalen, tidligere sider): lyser først, når musen er der */
html body #eventBox#eventBox#eventBox.lbBook .lbTurn.quiet span { animation: none !important; filter: none !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbTurn.quiet .lbCurl { animation: none !important; filter: drop-shadow(-1px -1px 1.5px rgba(50, 25, 5, 0.25)) !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbTurn.quiet span { color: var(--inkS) !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbTurn.quiet .lbCurl { width: 1.7em !important; height: 1.7em !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbTurn.quiet::before { animation: none !important; opacity: 0 !important; transition: opacity 0.3s !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbTurn.quiet:is(:hover, :focus-visible)::before { opacity: 0.75 !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbTurn.quiet:is(:hover, :focus-visible) span { color: #8a2a10 !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbTurn.quiet:is(:hover, :focus-visible) .lbCurl { width: 2.8em !important; height: 2.8em !important; }
html body #eventBox#eventBox#eventBox.lbBook #lbTurnJ { width: 11em !important; }
html body #eventBox#eventBox#eventBox.lbBook #lbTurnJ span { margin-left: 2.4em !important; }
/* blækket løber ind på dagens side */
html body #eventBox#eventBox#eventBox.lbBook.lbInk #lbSp0 .lbHead { animation: lbFade 0.5s var(--inkD, 0s) both !important; }
html body #eventBox#eventBox#eventBox.lbBook.lbInk h2#evTitle { animation: lbInkT 0.75s calc(var(--inkD, 0s) + 0.05s) cubic-bezier(0.2, 0.7, 0.2, 1) both !important; }
html body #eventBox#eventBox#eventBox.lbBook.lbInk #lbSp0 .lbOrn { animation: lbOrnD 0.6s calc(var(--inkD, 0s) + 0.3s) ease-out both !important; }
html body #eventBox#eventBox#eventBox.lbBook.lbInk p#evText { -webkit-mask-image: linear-gradient(180deg, #000 42%, transparent 58%) !important; mask-image: linear-gradient(180deg, #000 42%, transparent 58%) !important; -webkit-mask-size: 100% 260% !important; mask-size: 100% 260% !important; -webkit-mask-repeat: no-repeat !important; mask-repeat: no-repeat !important; animation: lbInkX 1.15s calc(var(--inkD, 0s) + 0.28s) cubic-bezier(0.3, 0.55, 0.4, 1) both !important; }
html body #eventBox#eventBox#eventBox.lbBook.lbInk .lbSign { animation: lbFade 0.7s calc(var(--inkD, 0s) + 1.1s) both !important; }
html body #eventBox#eventBox#eventBox.lbBook.lbInk .lbAsk { animation: lbFade 0.5s calc(var(--inkD, 0s) + 0.15s) both !important; }
html body #eventBox#eventBox#eventBox.lbBook.lbInk #evFx:not(:has(.fxHead)) > span { animation: lbStamp 0.36s calc(var(--inkD, 0s) + 0.62s + var(--i, 0) * 0.09s) cubic-bezier(0.2, 1.4, 0.4, 1) both !important; }
html body #eventBox#eventBox#eventBox.lbBook.lbInk #evFx:has(.fxHead) > span { animation: lbRow 0.45s calc(var(--inkD, 0s) + 0.4s + var(--i, 0) * 0.04s) ease both !important; }
/* valget: blækringen om tallet, de andre trækker sig */
html body #eventBox#eventBox#eventBox.lbBook #evChoices.lbChose > button.evc:not(.lbPicked) { opacity: 0.3 !important; filter: saturate(0.4) !important; transition: opacity 0.22s, filter 0.22s !important; }
html body #eventBox#eventBox#eventBox.lbBook #evChoices > button.evc.lbPicked { background: linear-gradient(90deg, rgba(122, 28, 16, 0.14), rgba(122, 28, 16, 0) 85%) !important; }
html body #eventBox#eventBox#eventBox.lbBook #evChoices > button.evc.lbPicked::after { transform: scaleX(1) !important; height: 2px !important; }
html body #eventBox#eventBox#eventBox.lbBook #evChoices > button.evc.lbPicked::before { transform: scale(1.12) !important; color: var(--red) !important; }
html body #eventBox#eventBox#eventBox.lbBook #evChoices .lbMark { position: absolute !important; left: -0.6em !important; top: 50% !important; width: 2.9em !important; height: 1.95em !important; translate: 0 -50% !important; pointer-events: none !important; display: block !important; }
html body #eventBox#eventBox#eventBox.lbBook #evChoices .lbMark svg { width: 100% !important; height: 100% !important; overflow: visible !important; }
html body #eventBox#eventBox#eventBox.lbBook #evChoices .lbMark path { fill: none !important; stroke: var(--red) !important; stroke-width: 1.5 !important; stroke-linecap: round !important; stroke-linejoin: round !important; stroke-dasharray: 1.02 1.02 !important; animation: lbDraw 0.26s ease-out both !important; }
/* journalens sider */
html body #eventBox#eventBox#eventBox.lbBook .lbJour .lbPg.l { padding-bottom: 2.4em !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbJour .lbPg.r { padding: 1.15em 2.2em 2.4em 2.4em !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbJour .ljT { all: unset !important; display: block !important; font-family: "EB Garamond", Georgia, serif !important; font-weight: 500 !important; font-size: 1.62em !important; line-height: 1.05 !important; letter-spacing: -0.01em !important; color: var(--ink) !important; text-wrap: balance !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbJour .lbOrn { width: 6em !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbJour .ljX { all: unset !important; display: block !important; font-family: "IM Fell English", Georgia, serif !important; font-size: 0.97em !important; line-height: 1.45 !important; color: var(--ink2) !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbJour .ljC { all: unset !important; display: block !important; margin-top: 0.15em !important; font-family: "IM Fell English", serif !important; font-style: italic !important; font-size: 0.97em !important; line-height: 1.35 !important; color: var(--red) !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbJour .ljC em { font-family: "IM Fell English SC", serif !important; font-style: normal !important; font-size: 0.78em !important; letter-spacing: 0.1em !important; color: var(--inkL) !important; margin-right: 0.55em !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbJour .ljF { display: flex !important; flex-wrap: wrap !important; gap: 0.3em 0.4em !important; margin-top: 0.15em !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbJour .ljF span { display: inline-block !important; padding: 0.1em 0.5em !important; border-radius: 2px !important; font-family: "IM Fell English SC", serif !important; font-size: 0.7em !important; letter-spacing: 0.04em !important; color: var(--ink2) !important; box-shadow: inset 0 0 0 1px rgba(90, 58, 28, 0.38) !important; transform: rotate(-0.5deg) !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbJour .ljF span:nth-child(even) { transform: rotate(0.6deg) !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbJour .ljF span.pos { color: #2f5a24 !important; box-shadow: inset 0 0 0 1px rgba(47, 90, 36, 0.42) !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbJour .ljF span.neg { color: var(--red) !important; box-shadow: inset 0 0 0 1px rgba(122, 28, 16, 0.45) !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbJour .ljF span.art { color: #4a2a6a !important; box-shadow: inset 0 0 0 1px rgba(94, 52, 128, 0.45) !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbJour .ljF .ljH { flex-basis: 100% !important; font-family: "IM Fell English SC", serif !important; font-weight: 400 !important; font-size: 0.66em !important; letter-spacing: 0.15em !important; color: var(--red) !important; padding-top: 0.2em !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbJour .ljN { position: absolute !important; left: 0 !important; right: 0 !important; bottom: 0.7em !important; text-align: center !important; font-family: "IM Fell English", serif !important; font-style: italic !important; font-size: 0.74em !important; color: var(--inkL) !important; pointer-events: none !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbJour .ljN::before { content: "— " !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbJour .ljN::after { content: " —" !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbJour .ljBlank { all: unset !important; display: block !important; margin: auto !important; padding: 0 2em !important; text-align: center !important; font-family: "IM Fell English", serif !important; font-style: italic !important; font-size: 0.95em !important; color: rgba(106, 74, 42, 0.62) !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbJour .ljFront { margin: auto !important; text-align: center !important; display: flex !important; flex-direction: column !important; align-items: center !important; gap: 0.25em !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbJour .ljFront small { font-family: "IM Fell English SC", serif !important; font-size: 0.8em !important; letter-spacing: 0.22em !important; color: var(--inkL) !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbJour .ljFront h3 { all: unset !important; display: block !important; font-family: "EB Garamond", Georgia, serif !important; font-weight: 500 !important; font-size: 2.7em !important; line-height: 1 !important; color: var(--ink) !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbJour .ljFront .lbOrn { width: 8em !important; margin: 0.2em 0 !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbJour .ljFront p { all: unset !important; display: block !important; font-family: "IM Fell English", serif !important; font-style: italic !important; font-size: 1em !important; line-height: 1.55 !important; color: var(--ink2) !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbJour .ljFront .ljEmb { width: 4.6em !important; height: auto !important; margin-bottom: 0.3em !important; opacity: 0.85 !important; filter: grayscale(1) sepia(1) saturate(1.6) brightness(0.55) contrast(1.3) !important; mix-blend-mode: multiply !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbJour .ljNo { margin-top: 0.7em !important; font-family: "IM Fell English SC", serif !important; font-size: 0.74em !important; letter-spacing: 0.14em !important; color: var(--red) !important; }
html body #eventBox#eventBox#eventBox.lbBook.lbReading .lbPg { animation: none !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbPg > .lbFadeB { display: none !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbPg.lbOver > .lbFadeB { display: block !important; position: sticky !important; bottom: -1.95em !important; flex: none !important; height: 4.4em !important; margin-top: -4.4em !important; margin-bottom: -1.9em !important; pointer-events: none !important; z-index: 2 !important; background: linear-gradient(180deg, rgba(240, 227, 195, 0), rgba(240, 227, 195, 0.9) 62%) !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbPg.r.lbOver > .lbFadeB { bottom: -0.95em !important; margin-bottom: -0.9em !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbJour .ljBlank::first-letter, html body #eventBox#eventBox#eventBox.lbBook .lbJour .ljC::first-letter, html body #eventBox#eventBox#eventBox.lbBook .lbJour .ljFront p::first-letter { all: unset !important; }
/* vragvalget som linjer (14c lbSalvRender) */
html body #eventBox#eventBox#eventBox.lbBook #lbSalv { display: flex !important; flex-direction: column !important; gap: 0 !important; }
html body #eventBox#eventBox#eventBox.lbBook #lbSalv:empty, html body #eventBox#eventBox#eventBox.lbBook #lbSalv[hidden] { display: none !important; }
html body #eventBox#eventBox#eventBox.lbBook #lbSalv .lsRow { all: unset !important; box-sizing: border-box !important; position: relative !important; display: grid !important; grid-template-columns: 2.5em minmax(0, 1fr) auto !important; align-items: center !important; column-gap: 0.7em !important; width: 100% !important; padding: 0.42em 0.3em 0.46em 0.1em !important; cursor: pointer !important; border-bottom: 1px solid rgba(90, 58, 28, 0.16) !important; transition: background 0.3s, opacity 0.3s, transform 0.4s !important; animation: lbRow 0.5s cubic-bezier(0.16, 0.84, 0.3, 1) both !important; animation-delay: calc(var(--inkD, 0s) + 0.3s + var(--i, 0) * 0.07s) !important; }
html body #eventBox#eventBox#eventBox.lbBook #lbSalv .lsRow::after { content: "" !important; position: absolute !important; left: 3.2em !important; right: 0.3em !important; bottom: -1px !important; height: 1.5px !important; background: linear-gradient(90deg, var(--red), rgba(122, 28, 16, 0.12)) !important; transform: scaleX(0) !important; transform-origin: left !important; transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) !important; }
html body #eventBox#eventBox#eventBox.lbBook #lbSalv .lsRow:is(:hover, :focus-visible) { background: linear-gradient(90deg, rgba(122, 28, 16, 0.08), transparent 85%) !important; }
html body #eventBox#eventBox#eventBox.lbBook #lbSalv .lsRow:is(:hover, :focus-visible)::after { transform: scaleX(1) !important; }
html body #eventBox#eventBox#eventBox.lbBook #lbSalv .lsRow:focus-visible { outline: 0 !important; }
html body #eventBox#eventBox#eventBox.lbBook #lbSalv .lsRow.burnt { cursor: default !important; opacity: 0.45 !important; }
html body #eventBox#eventBox#eventBox.lbBook #lbSalv .lsRow.special { background: linear-gradient(90deg, color-mix(in srgb, var(--spc) 13%, transparent), transparent 75%) !important; }
html body #eventBox#eventBox#eventBox.lbBook #lbSalv .lsIco { display: grid !important; place-items: center !important; width: 2.4em !important; height: 2.4em !important; border-radius: 3px !important; background: rgba(255, 250, 235, 0.55) !important; box-shadow: inset 0 0 0 1px rgba(90, 58, 28, 0.35) !important; overflow: hidden !important; }
html body #eventBox#eventBox#eventBox.lbBook #lbSalv .lsIco svg, html body #eventBox#eventBox#eventBox.lbBook #lbSalv .lsIco img { width: 78% !important; height: 78% !important; image-rendering: pixelated !important; }
html body #eventBox#eventBox#eventBox.lbBook #lbSalv .lsIco.wide svg, html body #eventBox#eventBox#eventBox.lbBook #lbSalv .lsIco.wide img { width: 100% !important; height: 100% !important; object-fit: contain !important; }
html body #eventBox#eventBox#eventBox.lbBook #lbSalv .lsRow.r-uncommon .lsIco { box-shadow: inset 0 0 0 1.5px #3f8a3a !important; }
html body #eventBox#eventBox#eventBox.lbBook #lbSalv .lsRow.r-rare .lsIco { box-shadow: inset 0 0 0 1.5px #2f6ab0 !important; }
html body #eventBox#eventBox#eventBox.lbBook #lbSalv .lsRow.r-exceptional .lsIco { box-shadow: inset 0 0 0 1.5px #7a4ab8, 0 0 8px rgba(160, 110, 230, 0.45) !important; }
html body #eventBox#eventBox#eventBox.lbBook #lbSalv .lsRow.r-unique .lsIco { box-shadow: inset 0 0 0 1.5px #c0641a, 0 0 9px rgba(240, 150, 60, 0.55) !important; }
html body #eventBox#eventBox#eventBox.lbBook #lbSalv .lsMain { min-width: 0 !important; display: flex !important; flex-direction: column !important; gap: 0.05em !important; }
html body #eventBox#eventBox#eventBox.lbBook #lbSalv .lsName { font-size: 1.04em !important; font-weight: 500 !important; line-height: 1.2 !important; color: var(--ink) !important; }
html body #eventBox#eventBox#eventBox.lbBook #lbSalv .lsName em { font-style: normal !important; font-family: "IM Fell English SC", serif !important; font-size: 0.68em !important; letter-spacing: 0.05em !important; color: var(--inkL) !important; margin-left: 0.4em !important; }
html body #eventBox#eventBox#eventBox.lbBook #lbSalv .lsRow.special .lsName em { color: color-mix(in srgb, var(--spc) 50%, #1a0e05) !important; }
html body #eventBox#eventBox#eventBox.lbBook #lbSalv .lsNote { font-family: "IM Fell English", serif !important; font-style: italic !important; font-size: 0.82em !important; line-height: 1.3 !important; color: var(--inkS) !important; display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important; overflow: hidden !important; }
html body #eventBox#eventBox#eventBox.lbBook #lbSalv .lsNote .artLore { display: none !important; }
html body #eventBox#eventBox#eventBox.lbBook #lbSalv .lsVal { font-weight: 600 !important; font-size: 0.9em !important; color: var(--ink) !important; white-space: nowrap !important; display: flex !important; align-items: center !important; gap: 0.5em !important; }
html body #eventBox#eventBox#eventBox.lbBook #lbSalv .lsRe { all: unset !important; cursor: pointer !important; display: inline-flex !important; align-items: center !important; gap: 0.2em !important; padding: 0.12em 0.45em !important; border-radius: 2px !important; font-family: "IM Fell English SC", serif !important; font-size: 0.78em !important; color: var(--red) !important; box-shadow: inset 0 0 0 1px rgba(122, 28, 16, 0.35) !important; transition: background 0.2s, box-shadow 0.2s !important; }
html body #eventBox#eventBox#eventBox.lbBook #lbSalv .lsRe svg { width: 1.15em !important; height: 1.15em !important; }
html body #eventBox#eventBox#eventBox.lbBook #lbSalv .lsRe:is(:hover, :focus-visible) { background: rgba(122, 28, 16, 0.08) !important; box-shadow: inset 0 0 0 1px var(--red) !important; }
html body #eventBox#eventBox#eventBox.lbBook #lbSalv .lsRe.no { opacity: 0.38 !important; cursor: not-allowed !important; }
html body #eventBox#eventBox#eventBox.lbBook #lbSalv .lsRow.sink { opacity: 0 !important; transform: translateY(0.4em) !important; }
html body #eventBox#eventBox#eventBox.lbBook #lbSalv .lsRow.rise { animation: lbRise 0.6s cubic-bezier(0.2, 0.9, 0.3, 1) both !important; }
html body #eventBox#eventBox#eventBox.lbBook #lbSalv .lsRow.chosen { background: linear-gradient(90deg, rgba(226, 187, 104, 0.35), transparent 85%) !important; }
html body #eventBox#eventBox#eventBox.lbBook #lbSalv .lsRow.chosen .lsIco { box-shadow: inset 0 0 0 2px var(--red), 0 0 10px rgba(226, 187, 104, 0.9) !important; }
html body #eventBox#eventBox#eventBox.lbBook #lbSalv .lsFoot { display: flex !important; flex-wrap: wrap !important; align-items: center !important; gap: 0.5em !important; margin-top: 0.7em !important; padding-right: 8.5em !important; }
html body #eventBox#eventBox#eventBox.lbBook #lbSalv .lsBtn { all: unset !important; cursor: pointer !important; display: inline-flex !important; align-items: center !important; gap: 0.4em !important; padding: 0.28em 0.7em !important; border-radius: 2px !important; font-family: "IM Fell English", serif !important; font-style: italic !important; font-size: 0.86em !important; color: var(--ink2) !important; box-shadow: inset 0 0 0 1px rgba(90, 58, 28, 0.38) !important; transition: background 0.25s, box-shadow 0.25s !important; }
html body #eventBox#eventBox#eventBox.lbBook #lbSalv .lsBtn b { font-style: normal !important; font-weight: 600 !important; color: var(--red) !important; }
html body #eventBox#eventBox#eventBox.lbBook #lbSalv .lsBtn svg, html body #eventBox#eventBox#eventBox.lbBook #lbSalv .lsBtn img { width: 1.15em !important; height: 1.15em !important; }
html body #eventBox#eventBox#eventBox.lbBook #lbSalv .lsBtn:is(:hover, :focus-visible) { background: rgba(122, 28, 16, 0.07) !important; box-shadow: inset 0 0 0 1px var(--red) !important; }
html body #eventBox#eventBox#eventBox.lbBook #lbSalv .lsBtn.no { opacity: 0.4 !important; cursor: not-allowed !important; }
html body #eventBox#eventBox#eventBox.lbBook #lbSalv .lsToks { display: inline-flex !important; align-items: center !important; gap: 0.15em !important; font-family: "IM Fell English SC", serif !important; font-size: 0.78em !important; color: var(--inkL) !important; }
html body #eventBox#eventBox#eventBox.lbBook #lbSalv .lsToks svg { width: 1.1em !important; height: 1.1em !important; }
/* mønstringsrullen på andet opslag (08c flytter #rankBoard ind) */
html body #eventBox#eventBox#eventBox.lbBook .lbMusL h2 { all: unset !important; display: block !important; font-family: "EB Garamond", Georgia, serif !important; font-weight: 500 !important; font-size: 2.15em !important; line-height: 1 !important; color: var(--ink) !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbMusL .lbBig { display: flex !important; gap: 1.6em !important; align-items: flex-end !important; margin-top: 0.2em !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbMusL .lbBig b { display: block !important; font-weight: 500 !important; font-size: 2.5em !important; line-height: 1 !important; color: var(--red) !important; font-variant-numeric: lining-nums !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbMusL .lbBig b.st { color: var(--gold) !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbMusL .lbBig small { display: block !important; font-family: "IM Fell English SC", serif !important; font-size: 0.72em !important; letter-spacing: 0.12em !important; color: var(--inkL) !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbMusL p::first-letter { all: unset !important; }
html body #eventBox#eventBox#eventBox.lbBook .lbMusL p { margin: 0.3em 0 0 !important; font-family: "IM Fell English", serif !important; font-size: 0.95em !important; line-height: 1.45 !important; color: var(--ink2) !important; }
html body #eventBox#eventBox#eventBox.lbBook #rankBoard { all: unset !important; position: static !important; display: flex !important; flex-direction: column !important; width: auto !important; max-width: none !important; max-height: none !important; background: none !important; box-shadow: none !important; border-radius: 0 !important; padding: 0 !important; translate: none !important; opacity: 1 !important; animation: none !important; font-family: "EB Garamond", Georgia, serif !important; color: var(--ink) !important; }
html body #eventBox#eventBox#eventBox.lbBook #rankBoard .rbHead, html body #eventBox#eventBox#eventBox.lbBook #rankBoard .rbFoot { display: none !important; }
html body #eventBox#eventBox#eventBox.lbBook #rankBoard .rbList { overflow: visible !important; gap: 0 !important; padding: 0 !important; }
html body #eventBox#eventBox#eventBox.lbBook #rankBoard .rbRow { background: none !important; box-shadow: none !important; border-radius: 0 !important; border-bottom: 1px solid rgba(90, 58, 28, 0.16) !important; padding: 0.42em 0 !important; grid-template-columns: 2.7em minmax(0, 1fr) 3.2em !important; gap: 0.75em !important; opacity: 1 !important; }
html body #eventBox#eventBox#eventBox.lbBook #rankBoard .rbRow:last-child { border-bottom: 0 !important; }
html body #eventBox#eventBox#eventBox.lbBook #rankBoard .rbPor { width: 2.6em !important; height: 2.6em !important; border: 0 !important; border-radius: 3px !important; box-shadow: 0 0 0 1px #3a2210, inset 0 0 0 2px #e2bb68 !important; background: #d8c49a !important; }
html body #eventBox#eventBox#eventBox.lbBook #rankBoard .rbRow.max .rbPor { box-shadow: 0 0 0 1px #3a2210, inset 0 0 0 2px #e2bb68, 0 0 10px rgba(226, 187, 104, 0.85) !important; }
html body #eventBox#eventBox#eventBox.lbBook #rankBoard .rbL1 b { font-family: "EB Garamond", Georgia, serif !important; font-weight: 600 !important; font-size: 1.02em !important; color: var(--ink) !important; }
html body #eventBox#eventBox#eventBox.lbBook #rankBoard .rbRole { font-family: "IM Fell English SC", serif !important; font-weight: 400 !important; font-size: 0.7em !important; letter-spacing: 0.05em !important; text-transform: none !important; color: var(--inkL) !important; }
html body #eventBox#eventBox#eventBox.lbBook #rankBoard .rbStars { font-size: 0.82em !important; }
html body #eventBox#eventBox#eventBox.lbBook #rankBoard .rbStars i { color: rgba(90, 58, 28, 0.22) !important; text-shadow: none !important; }
html body #eventBox#eventBox#eventBox.lbBook #rankBoard .rbStars i.on { color: var(--gold) !important; text-shadow: 0 0 4px rgba(226, 187, 104, 0.6) !important; }
html body #eventBox#eventBox#eventBox.lbBook #rankBoard .rbL2 { grid-template-columns: 6.2em minmax(0, 1fr) 4.4em !important; gap: 0.55em !important; }
html body #eventBox#eventBox#eventBox.lbBook #rankBoard .rbTrade { font-family: "IM Fell English SC", serif !important; font-weight: 400 !important; font-size: 0.72em !important; letter-spacing: 0.04em !important; text-transform: none !important; color: var(--inkS) !important; }
html body #eventBox#eventBox#eventBox.lbBook #rankBoard .rbBar { height: 5px !important; border-radius: 3px !important; background: rgba(90, 58, 28, 0.16) !important; box-shadow: none !important; }
html body #eventBox#eventBox#eventBox.lbBook #rankBoard .rbBase { background: #3a2210 !important; }
html body #eventBox#eventBox#eventBox.lbBook #rankBoard .rbFill { background: var(--red) !important; box-shadow: none !important; }
html body #eventBox#eventBox#eventBox.lbBook #rankBoard .rbShine { display: none !important; }
html body #eventBox#eventBox#eventBox.lbBook #rankBoard .rbNum { font-family: "EB Garamond", Georgia, serif !important; font-weight: 400 !important; font-size: 0.74em !important; color: var(--inkL) !important; }
html body #eventBox#eventBox#eventBox.lbBook #rankBoard .rbRow.max .rbNum { color: var(--gold) !important; }
html body #eventBox#eventBox#eventBox.lbBook #rankBoard .rbNote { font-family: "IM Fell English", serif !important; font-style: italic !important; font-weight: 400 !important; font-size: 0.76em !important; color: var(--inkS) !important; white-space: normal !important; }
html body #eventBox#eventBox#eventBox.lbBook #rankBoard .rbGain { font-family: "EB Garamond", Georgia, serif !important; font-weight: 600 !important; font-size: 1.12em !important; color: var(--red) !important; text-shadow: none !important; }
html body #eventBox#eventBox#eventBox.lbBook #rankBoard .rbPerk { color: var(--ink2) !important; background: rgba(226, 187, 104, 0.22) !important; box-shadow: inset 0 0 0 1px rgba(184, 137, 46, 0.5) !important; font-family: "EB Garamond", Georgia, serif !important; font-weight: 400 !important; font-size: 0.8em !important; }
html body #eventBox#eventBox#eventBox.lbBook #rankBoard .rbPerk b { color: #8a5a10 !important; }
html body #eventBox#eventBox#eventBox.lbBook #rankBoard .rbUpTag { left: 3.4em !important; bottom: auto !important; top: -0.2em !important; padding: 0 0.6em !important; border-radius: 2px !important; background: rgba(244, 232, 204, 0.9) !important; color: var(--red) !important; box-shadow: inset 0 0 0 1.5px var(--red) !important; font-family: "IM Fell English SC", serif !important; font-weight: 400 !important; font-size: 0.72em !important; letter-spacing: 0.06em !important; transform: rotate(-3deg) !important; text-shadow: none !important; }
html body #eventBox#eventBox#eventBox.lbBook #rankBoard .rbRow.up { animation: lbStar 1.5s ease-out !important; }
html body #eventBox#eventBox#eventBox.lbBook #rankBoard .rbRow.fallen { filter: grayscale(0.9) !important; }
/* smalle skærme: siderne under hinanden */
@media (max-width: 980px) {
  html body #eventBox#eventBox#eventBox.lbBook { --lbW: calc(100vw - 24px); left: 50vw !important; max-height: 78vh !important; }
  html body #eventBox#eventBox#eventBox.lbBook .lbSpread { grid-template-columns: minmax(0, 1fr) !important; grid-template-rows: none !important; height: auto !important; max-height: calc(78vh - 1.6em) !important; overflow-y: auto !important; }
  html body #eventBox#eventBox#eventBox.lbBook .lbPg.l, html body #eventBox#eventBox#eventBox.lbBook .lbPg.r { border-radius: 3px !important; overflow: visible !important; max-height: none !important; }
  html body #eventBox#eventBox#eventBox.lbBook .lbSpine, html body #eventBox#eventBox#eventBox.lbBook .lbBand { display: none !important; }
}
@keyframes lbUp { from { opacity: 0; translate: 0 70px; } }
@keyframes lbRow { from { opacity: 0; translate: -6px 0; } }
@keyframes lbRise { from { opacity: 0; translate: 0 10px; filter: blur(2px); } }
@keyframes lbFlipF { from { transform: rotateY(0); } 50% { transform: rotateY(-90deg) skewY(-1.5deg); } to { transform: rotateY(-180deg); } }
@keyframes lbFlipB { from { transform: rotateY(0); } 50% { transform: rotateY(90deg) skewY(1.5deg); } to { transform: rotateY(180deg); } }
@keyframes lbLeafSh { 0% { opacity: 0; } 50% { opacity: 1; } 100% { opacity: 0; } }
@keyframes lbCoverO { 0% { transform: rotateY(0); opacity: 1; } 78% { opacity: 1; } 100% { transform: rotateY(-180deg); opacity: 0; } }
@keyframes lbCoverS { 0% { transform: rotateY(-180deg); opacity: 0; } 25% { opacity: 1; } 100% { transform: rotateY(0); opacity: 1; } }
@keyframes lbDown { to { opacity: 0; translate: 0 60px; scale: 0.9; } }
@keyframes lbUp2 { from { opacity: 0; translate: 0 60px; scale: 0.94; } }
@keyframes lbBump { 30% { translate: -5px 0; } 65% { translate: 3px 0; } }
@keyframes lbInkT { from { opacity: 0; filter: blur(4px); translate: 0 3px; } 55% { opacity: 1; } to { filter: blur(0); translate: 0 0; } }
@keyframes lbOrnD { from { clip-path: inset(0 50% 0 50%); opacity: 0; } to { clip-path: inset(0 0 0 0); opacity: 0.9; } }
@keyframes lbInkX { from { -webkit-mask-position: 0 100%; mask-position: 0 100%; } to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
@keyframes lbFade { from { opacity: 0; } }
@keyframes lbStamp { 0% { opacity: 0; scale: 1.6; filter: blur(1.5px); } 60% { opacity: 1; scale: 0.95; filter: blur(0); } 100% { scale: 1; } }
@keyframes lbDraw { from { stroke-dashoffset: 1.02; } to { stroke-dashoffset: 0; } }
@keyframes lbGlow { 0%, 100% { filter: drop-shadow(0 0 2px rgba(255, 214, 140, 0.35)); } 50% { filter: drop-shadow(0 0 7px rgba(255, 200, 110, 0.85)) drop-shadow(0 0 2px rgba(255, 236, 190, 0.8)); } }
@keyframes lbCurlGl { 0%, 100% { filter: drop-shadow(-1px -1px 1.5px rgba(50, 25, 5, 0.28)) drop-shadow(0 0 1px rgba(255, 220, 150, 0.3)); } 50% { filter: drop-shadow(-1px -1px 1.5px rgba(50, 25, 5, 0.28)) drop-shadow(0 0 8px rgba(255, 205, 120, 0.85)); } }
@keyframes lbHalo { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
@keyframes lbShake { 0%, 100% { translate: 0 0; } 25% { translate: -4px 0; } 75% { translate: 4px 0; } }
@keyframes lbStar { 0% { background: rgba(226, 187, 104, 0.55); } 100% { background: transparent; } }
/* det lukkede bind, mens en dialog venter (lbTome, 12-voyage-events) */
html body #lbTome#lbTome { all: unset !important; box-sizing: border-box !important; position: fixed !important; z-index: 60 !important; bottom: clamp(14px, 2.8vh, 32px) !important; left: max(50vw, calc(316px + min(clamp(820px, 54vw, 1180px), calc(100vw - 344px)) / 2)) !important; translate: -50% 0 !important; display: block !important; cursor: pointer !important; font-size: clamp(14px, 0.92vw, 18px) !important; font-family: "IM Fell English", Georgia, serif !important; color: #f3dfae !important; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.5)) !important; animation: ltIn 0.45s cubic-bezier(0.2, 1.25, 0.35, 1) both !important; transition: translate 0.25s cubic-bezier(0.2, 0.9, 0.3, 1.3), filter 0.25s !important; }
html body #lbTome#lbTome[hidden], html body.menu #lbTome#lbTome { display: none !important; }
html body #lbTome#lbTome:is(:hover, :focus-visible) { translate: -50% -5px !important; filter: drop-shadow(0 14px 14px rgba(0, 0, 0, 0.5)) brightness(1.12) !important; outline: 0 !important; }
/* den lukkede logbog i lille format: samme læderomslag, guldramme, hjørner, titel, bånd og bogmærke; sidekanterne til højre og forneden */
/* det lille bind = .lbMini (v2, 11-26): samme markup i bindet og i flugten (.lbFly), alt i container-enheder, så bogen kan vokse uden at strække sig */
html body #lbTome .ltBook { position: relative !important; display: block !important; width: 4.5em !important; height: calc(4.5em / var(--ltAR, 0.95)) !important; transition: height 0.4s ease !important; }
html body #lbTome .ltBook > .lbMini { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; }
html body .lbFly { position: fixed !important; left: 0 !important; top: 0 !important; width: 0 !important; height: 0 !important; z-index: 2147483000 !important; pointer-events: none !important; will-change: transform !important; }
html body .lbFly > .lbMini { position: absolute !important; left: 0 !important; top: 0 !important; translate: -50% -50% !important; will-change: width, height !important; }
html body .lbMini { container-type: size !important; display: block !important; box-sizing: border-box !important; font-style: normal !important; }
html body .lbMini i { font-style: normal !important; }
html body .lbMini > i { position: absolute !important; display: block !important; }
html body .lbMini .lmShadow { inset: 6% 2% -1% 6% !important; border-radius: 8% !important; box-shadow: 0 calc(5cqmin + 4px) calc(10cqmin + 6px) rgba(0, 0, 0, 0.55) !important; }
html body .lbMini .lmBack { inset: 0 !important; translate: calc(2.6cqmin + 2.5px) calc(2.6cqmin + 2.5px) !important; border-radius: 2px calc(1.8cqmin + 3px) calc(1.8cqmin + 3px) 2px !important; background: linear-gradient(90deg, #1f0603, #3d1008 40%, #2a0904) !important; box-shadow: 0 0 0 1px #160604 !important; }
html body .lbMini .lmPages { inset: 1.5% 0 0 3% !important; translate: calc(1.6cqmin + 1.2px) calc(1.6cqmin + 1.2px) !important; border-radius: 0 calc(1.2cqmin + 2px) calc(1.2cqmin + 2px) 0 !important; background: repeating-linear-gradient(90deg, #f6e8c0 0 1px, #dcc48c 1px 2px) !important; overflow: hidden !important; }
html body .lbMini .lmPages::after { content: "" !important; position: absolute !important; left: 0 !important; right: 0 !important; bottom: 0 !important; height: calc(1.6cqmin + 1.6px) !important; background: repeating-linear-gradient(180deg, #f6e8c0 0 1px, #d6bd84 1px 2px) !important; }
html body .lbMini .lmRib { right: 24% !important; bottom: calc(-14cqmin - 2px) !important; width: calc(4.5cqmin + 2px) !important; height: calc(20cqmin + 3px) !important; background: linear-gradient(90deg, #5e1008, #b0301c 45%, #7a1a0c) !important; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%) !important; transform-origin: 50% 0 !important; transition: rotate 0.35s cubic-bezier(0.3, 1.4, 0.5, 1) !important; }
html body #lbTome#lbTome:is(:hover, :focus-visible) .lmRib { rotate: 9deg !important; }
html body .lbMini .lmCast { inset: 0 !important; opacity: 0 !important; border-radius: 0 calc(2cqmin + 3px) calc(2cqmin + 3px) 0 !important; background: linear-gradient(90deg, rgba(20, 6, 2, 0.6), rgba(20, 6, 2, 0.18) 55%, transparent 90%) !important; }
html body .lbMini .lmCov { inset: 0 !important; transform-origin: 0 50% !important; transform-style: preserve-3d !important; }
html body .lbMini :is(.lmF, .lmIn) { position: absolute !important; inset: 0 !important; display: block !important; backface-visibility: hidden !important; -webkit-backface-visibility: hidden !important; overflow: hidden !important; }
html body .lbMini .lmF { border-radius: calc(0.6cqmin + 1px) calc(2cqmin + 3px) calc(2cqmin + 3px) calc(0.6cqmin + 1px) !important; background: radial-gradient(ellipse 70% 60% at 42% 30%, rgba(255, 170, 120, 0.2), transparent 70%), linear-gradient(90deg, #2a0904, #5e1d11 14%, #4a140b 70%, #350e07) !important; box-shadow: inset 0 0 0 calc(2.4cqmin + 0.5px) rgba(0, 0, 0, 0.22), inset 0 0 0 calc(2.4cqmin + 1.6px) rgba(226, 187, 104, 0.62), inset 0 0 0 calc(4.6cqmin + 1.6px) rgba(0, 0, 0, 0.18), inset 0 0 0 calc(4.6cqmin + 2.5px) rgba(226, 187, 104, 0.3) !important; }
html body .lbMini .lmIn { transform: rotateY(180deg) !important; border-radius: 9px 0 0 9px !important; background: transparent !important; }
html body .lbMini .lmSh { position: absolute !important; inset: 0 !important; display: block !important; opacity: 0 !important; background: linear-gradient(90deg, rgba(10, 3, 1, 0.55), rgba(10, 3, 1, 0.85)) !important; }
html body .lbMini .lmIn .lmSh { background: linear-gradient(270deg, rgba(10, 3, 1, 0.35), rgba(10, 3, 1, 0.75)) !important; }
html body .lbMini .lmSp { position: absolute !important; display: block !important; left: 0 !important; top: 0 !important; bottom: 0 !important; width: calc(4cqw + 4px) !important; background: repeating-linear-gradient(180deg, transparent 0 11cqh, rgba(226, 187, 104, 0.55) 11cqh calc(11cqh + 1.2px), transparent calc(11cqh + 1.2px) 13cqh), linear-gradient(90deg, #1c0602, #4a140b 55%, #240703) !important; box-shadow: 1px 0 0 rgba(0, 0, 0, 0.45), 2px 0 0 rgba(255, 170, 120, 0.12) !important; }
html body .lbMini .lmF > b { position: absolute !important; left: calc(4cqw + 4px) !important; right: 0 !important; top: 50% !important; translate: 0 -50% !important; margin: 0 calc(8cqmin + 2px) !important; padding: calc(4cqmin + 1px) 0 !important; text-align: center !important; font-family: "IM Fell English SC", serif !important; font-weight: 400 !important; font-size: calc(11cqmin + 1.5px) !important; line-height: 1.05 !important; letter-spacing: 0.12em !important; color: #e2bb68 !important; text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6) !important; border-top: calc(0.5cqmin + 0.6px) solid rgba(226, 187, 104, 0.6) !important; border-bottom: calc(0.5cqmin + 0.6px) solid rgba(226, 187, 104, 0.6) !important; }
html body .lbMini .ltC { position: absolute !important; right: calc(2.4cqmin + 1px) !important; top: calc(2.4cqmin + 1px) !important; width: calc(15cqmin + 1px) !important; height: calc(15cqmin + 1px) !important; transform: scaleX(-1) !important; opacity: 0.9 !important; }
html body .lbMini .ltC.b { top: auto !important; bottom: calc(2.4cqmin + 1px) !important; transform: scale(-1, -1) !important; }
html body .lbMini .lmBand { left: 0 !important; top: calc(-1.4cqmin - 1.5px) !important; width: calc(4cqw + 4px) !important; height: calc(1.4cqmin + 1.5px) !important; border-radius: 2px 2px 0 0 !important; background: repeating-linear-gradient(90deg, #8a1c10 0 2px, #e2bb68 2px 4px) !important; }
html body #lbTome .ltBook kbd { all: unset !important; position: absolute !important; right: -0.55em !important; bottom: -0.45em !important; display: grid !important; place-items: center !important; width: 1.25em !important; height: 1.25em !important; border-radius: 50% !important; font-family: "EB Garamond", Georgia, serif !important; font-size: 0.78em !important; font-style: normal !important; color: #3a2008 !important; background: radial-gradient(circle at 35% 30%, #fbe7a8, #d6a64a 55%, #8a6220) !important; box-shadow: 0 0 0 1px #4a2c0a, 0 2px 3px rgba(0, 0, 0, 0.45) !important; }
/* et ventende opslag: et papirsblad stikker op af bogen */
html body #lbTome .ltSlip { position: absolute !important; left: 1.6em !important; top: -0.7em !important; width: 1.1em !important; height: 1.4em !important; display: block !important; opacity: 0 !important; translate: 0 0.7em !important; background: linear-gradient(180deg, #f6e9c4, #e4cf98) !important; box-shadow: inset 0 0 0 1px rgba(120, 80, 30, 0.35) !important; clip-path: polygon(0 8%, 30% 0, 62% 6%, 100% 1%, 100% 100%, 0 100%) !important; transition: opacity 0.3s, translate 0.45s cubic-bezier(0.2, 1.3, 0.4, 1) !important; }
html body #lbTome .ltSlip::after { content: "" !important; position: absolute !important; left: 22% !important; right: 22% !important; top: 0.35em !important; height: 0.45em !important; background: repeating-linear-gradient(180deg, rgba(74, 48, 24, 0.55) 0 1px, transparent 1px 0.15em) !important; }
html body #lbTome#lbTome.wait .ltSlip { opacity: 1 !important; translate: 0 0 !important; }
/* teksten står som et lille mærke over bogen, når man peger på den */
html body #lbTome > span { position: absolute !important; left: 50% !important; bottom: calc(100% + 0.9em) !important; translate: -50% 4px !important; display: flex !important; flex-direction: column !important; align-items: center !important; white-space: nowrap !important; line-height: 1.15 !important; padding: 0.35em 0.8em 0.4em !important; border-radius: 4px !important; background: linear-gradient(180deg, #5e1d11, #350e07) !important; box-shadow: 0 0 0 1px #160604, inset 0 0 0 2px rgba(226, 187, 104, 0.45) !important; opacity: 0 !important; pointer-events: none !important; transition: opacity 0.2s, translate 0.2s !important; }
html body #lbTome#lbTome:is(:hover, :focus-visible) > span { opacity: 1 !important; translate: -50% 0 !important; }
html body #lbTome span b { font-family: "IM Fell English SC", serif !important; font-weight: 400 !important; font-size: 1em !important; letter-spacing: 0.1em !important; color: #f3dfae !important; }
html body #lbTome small { display: flex !important; align-items: center !important; gap: 0.45em !important; font-style: italic !important; font-size: 0.78em !important; color: rgba(243, 223, 174, 0.8) !important; }
html body #lbTome span kbd { all: unset !important; font-style: normal !important; font-family: "EB Garamond", Georgia, serif !important; font-size: 0.95em !important; padding: 0 0.4em !important; border-radius: 2px !important; box-shadow: inset 0 0 0 1px rgba(243, 223, 174, 0.45) !important; }
/* bogen er på vej ned i bindet: bindet venter usynligt (målt, men ikke vist) */
html body #lbTome#lbTome#lbTome.await { opacity: 0 !important; animation: none !important; transition: none !important; }
/* fold-animationen (lbFold): omslaget drejes af scriptet; fanerne og hjørnerne holder sig væk imens */
html body #eventBox#eventBox#eventBox.lbBook .lbCover.lbFoldC { animation: none !important; }
@property --lbClipX { syntax: "<length>"; inherits: false; initial-value: 0px; }
html body #eventBox#eventBox#eventBox.lbBook.lbFolding { clip-path: inset(-48px -48px -48px var(--lbClipX)) !important; }
/* bogen kom flyvende fra bindet (lbFold): ingen indgangsglidning (lbUp/lbUp2), før den lukkes igen (lbOnClose) */
html body #eventBox#eventBox#eventBox.lbBook.lbFlown { animation: none !important; }
html body #eventBox#eventBox#eventBox.lbBook.lbFolding :is(.lbTabs, .lbReg, .lbTurn, .lbCorner.l) { opacity: 0 !important; pointer-events: none !important; transition: opacity 0.15s !important; }
@keyframes ltIn { from { opacity: 0; translate: -50% 24px; scale: 0.8; } }
@keyframes ltPulse { 0%, 100% { filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 0 rgba(255, 190, 90, 0)); } 50% { filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 12px rgba(255, 190, 90, 0.75)); } }
html.calm body #lbTome#lbTome, html.calm body #lbTome#lbTome.wait, html.calm body #lbTome#lbTome.catch { animation: none !important; }
html.calm body #eventBox#eventBox#eventBox.lbBook, html.calm body #eventBox#eventBox#eventBox.lbBook * { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) { html body #eventBox#eventBox#eventBox.lbBook, html body #eventBox#eventBox#eventBox.lbBook * { animation: none !important; transition: none !important; } }
