:root {
    --bg: #100b10;
    --bg2: #160f14;
    --panel: #1d1419;
    --line: #34232a;
    --line2: #4e3238;
    --pk: #ff8a1f;
    --pk-l: #ffb347;
    --pk-d: #b8420a;
    --blood: #8f2418;
    --wood: #5a3418;
    --wood-d: #2e1a0b;
    --moss: #8a9a3a;
    --moss-d: #4f5a1c;
    --plum: #2a1a3a;
    --paper: #d9c6a0;
    --ink: #2a1a10;
    --text: #efe4d0;
    --muted: #ab9990;
    --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --serif: Georgia, "Times New Roman", serif;
    accent-color: var(--pk);
    caret-color: var(--pk);
    -webkit-tap-highlight-color: transparent;
    color-scheme: dark
}

*,
*::before,
*::after {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
    scrollbar-color: var(--wood) var(--bg);
    scrollbar-width: thin;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 16px/1.6 var(--sans);
    font-variant-numeric: tabular-nums;
    -webkit-font-smoothing: antialiased;
    overflow-wrap: break-word;
    overflow-x: hidden;
    overflow-x: clip;
    padding-top: env(safe-area-inset-top, 0px)
}

::selection {
    background: var(--pk);
    color: #1a0a00
}

::-moz-selection {
    background: var(--pk);
    color: #1a0a00
}

::-webkit-scrollbar {
    width: 12px;
    height: 12px
}

::-webkit-scrollbar-track {
    background: var(--bg)
}

::-webkit-scrollbar-thumb {
    background: var(--wood);
    border: 3px solid var(--bg)
}

::-webkit-scrollbar-thumb:hover {
    background: var(--pk-d)
}

::marker {
    color: var(--pk)
}

h1,
h2,
h3 {
    text-wrap: balance;
    line-height: 1.1;
    margin: 0
}

p,
li {
    text-wrap: pretty
}

a {
    color: inherit
}

a:not([class]),
.hl a,
.back,
.fcol a {
    text-decoration: underline dashed;
    text-decoration-color: var(--pk-d);
    text-decoration-thickness: 2px;
    text-underline-offset: .22em;
    transition: text-decoration-color .15s, color .15s
}

a:not([class]):hover,
.hl a:hover,
.back:hover,
.fcol a:hover {
    text-decoration-color: var(--pk);
    color: var(--pk-l)
}

:focus-visible {
    outline: 3px solid var(--pk-l);
    outline-offset: 2px
}

:focus:not(:focus-visible) {
    outline: 0
}

button {
    font-family: inherit;
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none
}

.wrap {
    position: relative;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px
}

.pix {
    image-rendering: pixelated
}

.sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap
}

.skip {
    position: fixed;
    left: 12px;
    top: -64px;
    z-index: 100;
    background: var(--pk);
    color: #1a0a00;
    padding: 10px 14px;
    font-weight: 800;
    text-decoration: none
}

.skip:focus {
    top: 12px
}

main:focus {
    outline: 0
}

main>section {
    position: relative
}

main>section:not([hidden]) {
    animation: enter .35s steps(6, end)
}

@keyframes enter {
    from {
        opacity: 0;
        transform: translateY(12px)
    }
}

[hidden] {
    display: none !important
}

#leaves {
    position: fixed;
    inset: 0;
    z-index: 22;
    pointer-events: none;
    overflow: hidden
}

.lf {
    position: absolute;
    top: -24px;
    left: var(--x);
    width: var(--z);
    height: var(--z);
    background: var(--c);
    box-shadow: inset -2px -2px 0 rgba(0, 0, 0, .28);
    opacity: .85;
    will-change: transform;
    animation: fall var(--d) linear infinite;
    animation-delay: var(--dl)
}

@keyframes fall {
    to {
        transform: translate3d(var(--s), 112vh, 0) rotate(540deg)
    }
}

.gbat {
    position: absolute;
    top: 24%;
    left: 0;
    width: 36px;
    height: 16px;
    z-index: 23;
    pointer-events: none;
    animation: cross 38s linear infinite 12s;
    opacity: 0
}

.gbat svg,
.bat svg {
    display: block;
    width: 100%;
    height: auto;
    animation: flap .4s steps(2) infinite
}

@keyframes cross {
    0% {
        opacity: 1;
        transform: translate(-60px, 0)
    }

    9% {
        opacity: 1;
        transform: translate(calc(100vw + 60px), -90px)
    }

    10%,
    100% {
        opacity: 0;
        transform: translate(-60px, 0)
    }
}

@keyframes flap {
    50% {
        transform: scaleY(.55)
    }
}

#torch {
    position: fixed;
    left: 0;
    top: 0;
    width: 520px;
    height: 520px;
    margin: -260px 0 0 -260px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 21;
    opacity: 0;
    transition: opacity .3s;
    will-change: transform;
    background: radial-gradient(closest-side, rgba(255, 138, 31, .11), rgba(255, 138, 31, .04) 55%, transparent)
}

#torch.on {
    opacity: 1
}

#alert {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    padding: 8px 16px;
    background: var(--pk);
    color: #1a0a00;
    font-size: 14px;
    font-weight: 700;
    text-align: center
}

#alert a {
    text-decoration: underline;
    text-underline-offset: .2em
}

.top {
    position: sticky;
    top: 0;
    z-index: 30;
    background: var(--bg);
    border-bottom: 4px solid var(--line)
}

.top::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    height: 4px;
    width: calc(var(--p, 0)*100%);
    background: repeating-linear-gradient(90deg, var(--pk) 0 14px, transparent 14px 16px)
}

.bar {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 64px
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: .01em
}

.brand svg {
    width: 30px;
    height: 30px
}

#tabs {
    display: flex;
    gap: 2px;
    margin-left: 14px
}

#tabs a {
    position: relative;
    padding: 8px 13px;
    color: var(--muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color .15s
}

#tabs a:hover {
    color: var(--text)
}

#tabs a.on {
    color: #fff
}

#tabs a.on::after {
    content: "";
    position: absolute;
    left: 13px;
    right: 13px;
    bottom: -10px;
    height: 4px;
    background: var(--pk)
}

.hr {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px
}

.pl,
.cc {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    font: 700 14px var(--mono);
    border: 3px solid var(--line2);
    background: var(--panel)
}

.pl svg,
.cc svg {
    width: 18px;
    height: 16px
}

.ipb {
    display: none;
    align-items: stretch;
    padding: 0;
    border: 4px solid var(--pk-d);
    background: #0c0709;
    color: var(--text);
    cursor: pointer;
    font-family: var(--mono)
}

.ipb b {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    font-size: 14px;
    color: var(--pk-l)
}

.ipb span {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    background: var(--pk);
    color: #1a0a00;
    font: 800 13px var(--sans);
    transition: background .12s
}

.ipb.on {
    display: flex;
    animation: ipin .45s steps(5)
}

@keyframes ipin {
    from {
        opacity: 0;
        transform: translateY(-14px) scale(.8)
    }

    60% {
        transform: translateY(3px) scale(1.04)
    }
}

.ipb:hover span {
    background: var(--pk-l)
}

.ipb:active {
    transform: translateY(2px)
}

.copy {
    font: 800 16px var(--sans);
    padding: 0 20px;
    min-width: 128px;
    background: var(--pk);
    color: #1a0a00;
    border: 4px solid var(--pk-d);
    cursor: pointer;
    transition: background .12s
}

.copy:hover {
    background: var(--pk-l)
}

.copy:active {
    transform: translateY(2px)
}

.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(#0a060d 0 36%, #130a18 36% 58%, #1d0f1d 58% 78%, #2a151b 78%)
}

.stars,
.fog,
.land {
    position: absolute;
    pointer-events: none
}

.stars {
    inset: 0;
    background: var(--st) 0 0/400px 300px
}

.stars.s2 {
    background-image: var(--st2);
    animation: tw 4s steps(1) infinite
}

@keyframes tw {
    50% {
        opacity: 0
    }
}

.moon {
    position: absolute;
    top: 34px;
    right: 8%;
    width: 120px;
    height: 120px;
    filter: drop-shadow(0 0 30px rgba(255, 138, 31, .45));
    animation: bob 9s ease-in-out infinite
}

@keyframes bob {
    50% {
        transform: translateY(8px)
    }
}

.bat {
    position: absolute;
    top: var(--t);
    left: 0;
    width: 36px;
    animation: fly var(--d) linear infinite;
    animation-delay: var(--dl);
    pointer-events: none
}

@keyframes fly {
    from {
        transform: translate(-60px, 0)
    }

    to {
        transform: translate(calc(100vw + 60px), var(--dy))
    }
}

.land {
    left: 0;
    right: 0;
    bottom: 0;
    height: 224px;
    background: var(--land) repeat-x left bottom/auto 224px;
    image-rendering: pixelated
}

.fog {
    left: 0;
    right: 0;
    bottom: 120px;
    height: 80px;
    background: var(--fog) repeat-x 0 0/720px 80px;
    opacity: .4;
    image-rendering: pixelated;
    animation: drift 120s linear infinite
}

@keyframes drift {
    to {
        background-position-x: -720px
    }
}

.lan {
    position: absolute;
    top: 0;
    width: 32px;
    transform-origin: 50% 0;
    animation: sway 5s ease-in-out infinite;
    pointer-events: none
}

.lan::before {
    content: "";
    display: block;
    width: 4px;
    height: var(--h);
    margin: 0 auto;
    background: repeating-linear-gradient(#3a3a3a 0 6px, #1a1a1a 6px 8px)
}

.lan svg {
    display: block;
    width: 32px;
    height: auto;
    filter: drop-shadow(0 0 16px rgba(255, 138, 31, .6))
}

.l1 {
    left: 7%;
    --h: 80px
}

.l2 {
    right: 20%;
    --h: 130px;
    animation-delay: -2s
}

@keyframes sway {
    50% {
        transform: rotate(3deg)
    }

    0%,
    100% {
        transform: rotate(-3deg)
    }
}

.web {
    position: absolute;
    width: 64px;
    height: 64px;
    background: var(--web) 0 0/100% 100%;
    opacity: .5;
    pointer-events: none;
    image-rendering: pixelated
}

.web.wl {
    top: 0;
    left: 0
}

.web.wr {
    top: 0;
    right: 0;
    transform: scaleX(-1)
}

.hc>div {
    min-width: 0
}

.hc {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 44px;
    align-items: center;
    padding-top: 36px;
    padding-bottom: 200px
}

.logo {
    margin: 0;
    filter: drop-shadow(0 0 36px rgba(255, 138, 31, .28))
}

.logo img {
    display: block;
    width: min(100%, 420px);
    height: auto;
    margin: 0 auto;
    animation: float 7s steps(7) infinite
}

@keyframes float {
    50% {
        transform: translateY(-8px)
    }
}

.tg {
    font-size: 20px;
    max-width: 26em;
    margin: 0 0 18px
}

.plaque {
    max-width: 480px;
    padding: 12px 14px 14px;
    background: var(--wood);
    border: 4px solid var(--wood-d);
    box-shadow: inset 4px 4px 0 rgba(255, 255, 255, .1), inset -4px -4px 0 rgba(0, 0, 0, .3), 6px 8px 0 rgba(0, 0, 0, .4)
}

.plaque small {
    display: block;
    margin-bottom: 8px;
    font: 700 11px var(--mono);
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #e8d5b0
}

.pr {
    display: flex
}

.pr code {
    flex: 1;
    padding: 10px 14px;
    background: #0c0709;
    border: 4px solid var(--wood-d);
    border-right: 0;
    font: 700 24px var(--mono);
    color: var(--pk-l)
}

.hl {
    display: flex;
    gap: 18px;
    margin: 14px 0 0;
    font: 14px var(--mono)
}

.hl a {
    color: var(--pk-l)
}

.evchip {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
    padding: 8px 16px 8px 10px;
    background: rgba(10, 6, 13, .72);
    border: 4px solid var(--line2);
    text-decoration: none;
    transition: border-color .15s
}

.evchip:hover {
    border-color: var(--pk)
}

.evchip svg {
    width: 32px;
    height: 32px;
    margin: 0
}

.evchip b {
    display: block;
    font-size: 15px
}

.evchip span {
    display: block;
    font: 12px var(--mono);
    color: var(--muted)
}

.chap {
    position: relative;
    padding: 76px 0 84px
}

.chap::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -47px;
    height: 48px;
    background: var(--e) repeat-x left bottom/960px 48px;
    image-rendering: pixelated;
    pointer-events: none
}

.chap.a {
    background: var(--bg2);
    --e: var(--eA)
}

.chap.b {
    background: var(--bg);
    --e: var(--eB)
}

.hero+.chap::before {
    display: none
}

.chap h2 {
    font-size: clamp(26px, 4vw, 36px)
}

.ch {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 30px
}

.ch p {
    margin: 0;
    color: var(--muted);
    max-width: 30em
}

.row {
    display: grid;
    grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
    gap: 56px;
    align-items: center
}

.pw {
    filter: drop-shadow(6px 8px 0 rgba(0, 0, 0, .45));
    transform: rotate(-2deg);
    justify-self: center;
    width: 100%;
    max-width: 380px
}

.poster {
    position: relative;
    padding: 40px 28px 28px;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--serif);
    clip-path: polygon(0 1%, 6% 0, 12% 1.2%, 19% 0, 27% 1%, 35% 0, 44% 1.2%, 52% 0, 61% 1%, 70% 0, 79% 1.2%, 88% 0, 95% 1%, 100% 0, 100% 99%, 94% 100%, 86% 98.8%, 78% 100%, 69% 99%, 60% 100%, 50% 98.8%, 41% 100%, 32% 99%, 22% 100%, 13% 98.8%, 6% 100%, 0 99%)
}

.pin {
    position: absolute;
    top: 12px;
    left: 50%;
    width: 14px;
    height: 14px;
    margin-left: -7px;
    background: #c0301f;
    box-shadow: inset -3px -3px 0 var(--blood), 0 3px 0 rgba(0, 0, 0, .4)
}

.poster small {
    display: block;
    font: 700 12px var(--mono);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--blood)
}

.poster h2 {
    font-size: 34px;
    margin: 6px 0 10px;
    color: #1a0f08
}

.poster p {
    margin: 0 0 10px;
    font-size: 17px
}

.pd {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 14px 0 4px;
    padding-top: 12px;
    border-top: 3px dashed rgba(42, 26, 16, .4)
}

.pd b {
    font: 800 40px var(--mono);
    color: var(--blood);
    line-height: 1
}

.pd span {
    font: 700 14px var(--mono)
}

.ps {
    font: 700 15px var(--mono)
}

.ps b {
    display: block;
    font-size: 26px;
    color: var(--blood)
}

.tl {
    position: relative;
    height: 14px;
    margin: 12px 0 18px;
    background: #3a2812;
    border: 3px solid #2a1a10
}

.tl i {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--w, 0%);
    background: repeating-linear-gradient(90deg, var(--pk-d) 0 10px, transparent 10px 12px)
}

.tl b {
    position: absolute;
    left: 93.75%;
    top: 12px;
    transform: translateX(-100%);
    font: 700 11px var(--mono);
    white-space: nowrap
}

.trail {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0 0 0 0;
    counter-reset: t
}

.trail h3 {
    margin-bottom: 18px;
    font-size: 22px
}

.trail ol {
    list-style: none;
    margin: 0;
    padding: 0 0 0 62px;
    position: relative
}

.trail ol::before {
    content: "";
    position: absolute;
    left: 21px;
    top: 10px;
    bottom: 10px;
    border-left: 4px dashed var(--line2)
}

.trail li {
    counter-increment: t;
    position: relative;
    padding: 0 0 26px
}

.trail li:last-child {
    padding-bottom: 0
}

.trail li::before {
    content: counter(t);
    position: absolute;
    left: -62px;
    top: 0;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: var(--pk-d);
    box-shadow: inset 4px 4px 0 var(--pk), inset -4px -4px 0 #7a2a06;
    font: 800 20px var(--mono);
    /* color: #1a0a00 */
}

.trail li b {
    display: block;
    font-size: 19px
}

.trail li p {
    margin: 2px 0 0;
    color: var(--muted)
}

.beam {
    position: absolute;
    /* z-index: 2; */
    height: 22px;
    margin: 0 -20px;
    background: var(--wood);
    border: 4px solid var(--wood-d);
    box-shadow: inset 0 4px 0 rgba(255, 255, 255, .12);
    width: 100%;
    top: 4.5vh;
}

.beam2 {
    position: relative;
    z-index: 2;
    height: 22px;
    margin: 0 -20px;
    background: var(--wood);
    border: 4px solid var(--wood-d);
    box-shadow: inset 0 4px 0 rgba(255, 255, 255, .12);
}

.banners {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    padding: 0 6px
}

.bn {
    position: relative;
    display: block;
    min-height: 310px;
    padding: 46px 18px 70px;
    color: #fff;
    text-decoration: none;
    background: var(--c);
    transform-origin: 50% 0;
    animation: sway2 6s ease-in-out infinite;
    animation-delay: var(--d);
    transition: filter .15s;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 30px), 0 100%)
}

.bn::before {
    content: "";
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 0 4px var(--c2);
    pointer-events: none
}

.bn::after {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    width: 12px;
    height: 12px;
    margin-left: -6px;
    background: #2a2a2a;
    box-shadow: inset -3px -3px 0 #111
}

.bn:hover {
    animation-play-state: paused;
    filter: brightness(1.15)
}

@keyframes sway2 {

    0%,
    100% {
        transform: rotate(-1.2deg)
    }

    50% {
        transform: rotate(1.2deg)
    }
}

.bn svg {
    width: 56px;
    height: 56px;
    display: block;
    margin-bottom: 14px
}

.bn h3 {
    font-size: 22px;
    margin-bottom: 6px
}

.bn p {
    margin: 0;
    font-size: 14px;
    opacity: .9
}

.bn em {
    display: block;
    margin-top: 12px;
    font: 700 12px var(--mono);
    font-style: normal;
    letter-spacing: .08em;
    text-transform: uppercase
}

.board {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 46px 34px 52px;
    background: #2a1b12 repeating-linear-gradient(0deg, transparent 0 38px, rgba(0, 0, 0, .25) 38px 42px);
    border: 8px solid var(--wood);
    box-shadow: inset 0 0 0 4px #1c120a, 0 10px 0 rgba(0, 0, 0, .4)
}

.note {
    position: relative;
    display: block;
    padding: 34px 18px 20px;
    background: var(--p);
    color: var(--ink);
    font-family: var(--serif);
    text-decoration: none;
    transform: rotate(var(--r));
    box-shadow: 5px 6px 0 rgba(0, 0, 0, .4);
    transition: transform .15s
}

.note:hover {
    transform: rotate(0) translateY(-5px)
}

.note::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    width: 12px;
    height: 12px;
    margin-left: -6px;
    background: #c0301f;
    box-shadow: inset -3px -3px 0 var(--blood)
}

.note small {
    font: 700 11px var(--mono);
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--blood)
}

.note time {
    display: block;
    font: 12px var(--mono);
    margin: 2px 0 8px;
    opacity: .7
}

.note h3 {
    font-size: 20px;
    margin-bottom: 6px;
    color: #1a0f08
}

.note p {
    margin: 0;
    font-size: 15px
}

.book {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 900px;
    margin: 0 auto;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--serif);
    border: 8px solid #4a2c14;
    border-radius: 6px 6px 16px 16px;
    box-shadow: 0 12px 0 rgba(0, 0, 0, .4)
}

.book>div {
    position: relative;
    padding: 34px 34px 26px
}

.book>div:first-child {
    border-right: 2px solid rgba(42, 26, 16, .35);
    box-shadow: inset -16px 0 16px -16px rgba(0, 0, 0, .35)
}

.book h3 {
    font-size: 22px;
    margin: 0 0 4px;
    color: #1a0f08
}

.book p {
    margin: 0 0 18px;
    font-size: 17px
}

.book .key {
    background: #3a2412;
    color: #f3e3c0;
    border-color: #1c120a
}

.book h2 {
    font-size: 15px;
    font: 700 12px var(--mono);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--blood);
    margin-bottom: 16px
}

.wall {
    position: relative;
    padding: 84px 24px 80px;
    background: #241810 repeating-linear-gradient(90deg, transparent 0 118px, rgba(0, 0, 0, .3) 118px 122px);
    border-top: 8px solid var(--wood);
    border-bottom: 8px solid var(--wood)
}

.pic {
    display: block;
    width: 100%;
    padding: 0;
    background: #1a1008;
    border: 8px solid var(--wood);
    box-shadow: inset 0 0 0 4px #3a2614, 0 0 0 4px #120a05, 6px 8px 0 4px rgba(0, 0, 0, .4);
    cursor: zoom-in;
    transition: border-color .15s
}

.pic:hover {
    border-color: #7a5230
}

.pic img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: var(--ar, 16/9);
    object-fit: cover
}

.ph .pic {
    display: grid;
    place-items: center;
    aspect-ratio: var(--ar, 16/9);
    cursor: default;
    color: #6a5646;
    font: 13px var(--mono)
}

footer {
    position: relative;
    /* background: #0d090d var(--stone) 0 0/64px 64px; */
    padding: 84px 0 36px;
    color: var(--muted);
    font-size: 15px
}

footer::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -47px;
    height: 48px;
    background: var(--eS) repeat-x left bottom/960px 48px;
    image-rendering: pixelated
}

.fg {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 28px;
    position: relative;
    grid-auto-flow: column;
}

.fg h4 {
    margin: 0 0 10px;
    font: 700 12px var(--mono);
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text)
}

.fcol {
    display: grid;
    gap: 6px;
    align-content: start
}

.fcol a {
    width: fit-content
}

.fb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 18px;
    color: var(--text);
    margin-bottom: 8px
}

.fb svg {
    width: 32px;
    height: 32px
}

.torch {
    position: absolute;
    top: -30px;
    width: 20px;
    animation: flick 2.4s steps(1) infinite
}

.torch svg {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 14px rgba(255, 138, 31, .7))
}

@keyframes flick {
    0% {
        filter: none
    }

    35% {
        filter: brightness(.8)
    }

    60% {
        filter: brightness(1.15)
    }

    85% {
        filter: brightness(.9)
    }
}

.fine {
    margin-top: 30px;
    padding-top: 16px;
    border-top: 4px solid var(--line);
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: space-between;
    font-size: 13px;
    position: relative
}

.f3 {
    font-family: var(--mono)
}

.sign {
    display: inline-block;
    color: #f3e6cf;
    font-weight: 800;
    margin-bottom: 28px
}

.s-arrow {
    padding: 14px 52px 14px 24px;
    background: var(--wood);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1;
    box-shadow: inset 0 4px 0 rgba(255, 255, 255, .14), inset 0 -4px 0 rgba(0, 0, 0, .3);
    clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 50%, calc(100% - 28px) 100%, 0 100%)
}

.s-hang {
    position: relative;
    padding: 14px 34px;
    margin-top: 34px;
    background: var(--wood);
    border: 4px solid var(--wood-d);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1
}

.s-hang::before,
.s-hang::after {
    content: "";
    position: absolute;
    top: -34px;
    width: 4px;
    height: 34px;
    background: repeating-linear-gradient(#3a3a3a 0 6px, #1a1a1a 6px 8px)
}

.s-hang::before {
    left: 22px
}

.s-hang::after {
    right: 22px
}

.s-note {
    padding: 18px 30px 14px;
    background: var(--paper);
    color: var(--ink);
    font: 800 clamp(28px, 4vw, 40px)/1 var(--serif);
    transform: rotate(-1.5deg);
    box-shadow: 5px 6px 0 rgba(0, 0, 0, .4);
    position: relative
}

.s-note::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    width: 12px;
    height: 12px;
    margin-left: -6px;
    background: #c0301f
}

.s-post {
    position: relative;
    padding: 14px 30px;
    background: var(--wood);
    border: 4px solid var(--wood-d);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1;
    margin-bottom: 46px
}

.s-post::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    width: 16px;
    height: 30px;
    margin-left: -8px;
    background: var(--wood-d)
}

.sub {
    color: var(--muted);
    margin: 0 0 28px;
    max-width: 40em
}

.page {
    padding: 48px 0 96px;
    min-height: 70vh
}

section[data-p="galeria"] .page {
    min-height: 0;
}

.zig {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    counter-reset: z
}

.zig::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    border-left: 4px dashed var(--line2)
}

.zig li {
    counter-increment: z;
    position: relative;
    width: calc(50% - 48px);
    padding: 12px 0 30px
}

.zig li:nth-child(even) {
    margin-left: calc(50% + 48px)
}

.zig li::before {
    content: counter(z);
    position: absolute;
    top: 12px;
    right: -72px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background: var(--pk-d);
    box-shadow: inset 4px 4px 0 var(--pk), inset -4px -4px 0 #7a2a06;
    font: 800 22px var(--mono);
    /* color: #1a0a00 */
}

.zig li:nth-child(even)::before {
    right: auto;
    left: -72px
}

.zig b {
    display: block;
    font-size: 20px;
    margin-bottom: 2px
}

.zig p {
    margin: 0;
    color: var(--muted)
}

.faq {
    margin-top: 34px;
    max-width: 720px
}

.faq h2 {
    font-size: 22px;
    margin-bottom: 6px
}

.faq details {
    border-bottom: 2px dashed var(--line2);
    padding: 12px 0
}

.faq summary {
    cursor: pointer;
    font-weight: 700;
    list-style: none
}

.faq summary::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 12px;
    border-right: 4px solid var(--pk);
    border-bottom: 4px solid var(--pk);
    transform: rotate(-45deg);
    transition: transform .15s
}

.faq details[open] summary::before {
    transform: rotate(45deg)
}

.faq p {
    margin: 8px 0 0 24px;
    color: var(--muted)
}

.md {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 40px;
    align-items: start
}

.mb {
    position: relative;
    padding: 36px 16px 60px;
    background: var(--c);
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 30px), 0 100%);
    box-shadow: inset 0 0 0 4px var(--c2)
}

.mb svg {
    width: 96px;
    height: 96px
}

.md h1 {
    font-size: clamp(34px, 5vw, 52px);
    margin-bottom: 10px
}

.lead {
    font-size: 19px;
    max-width: 34em;
    margin: 0 0 22px;
    color: #e6d9c2
}

.tag {
    display: inline-block;
    font: 700 11px var(--mono);
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 2px 8px;
    background: var(--pk-d);
    color: #fff;
    margin-bottom: 10px
}

.flist {
    list-style: none;
    margin: 0 0 8px;
    padding: 0;
    max-width: 640px
}

.flist li {
    position: relative;
    padding: 11px 0 11px 30px;
    border-bottom: 2px dashed var(--line2)
}

.flist li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 19px;
    width: 12px;
    height: 12px;
    background: var(--pk);
    box-shadow: inset -3px -3px 0 var(--pk-d)
}

.perks {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 6px;
    padding: 0;
    list-style: none
}

.perks li {
    padding: 5px 10px;
    background: #241820;
    border: 2px solid var(--line2);
    font-size: 14px
}

.md h2 {
    font-size: 19px;
    margin: 26px 0 10px
}

.pn {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 48px;
    flex-wrap: wrap
}

.pn a {
    display: block;
    padding: 12px 40px 12px 20px;
    background: var(--wood);
    color: #f3e6cf;
    text-decoration: none;
    font-weight: 800;
    box-shadow: inset 0 4px 0 rgba(255, 255, 255, .14);
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%);
    transition: filter .15s
}

.pn a.pv {
    padding: 12px 20px 12px 40px;
    clip-path: polygon(20px 0, 100% 0, 100% 100%, 20px 100%, 0 50%)
}

.pn a:hover {
    filter: brightness(1.2)
}

.pn small {
    display: block;
    font: 11px var(--mono);
    letter-spacing: .1em;
    text-transform: uppercase;
    opacity: .7
}

.back {
    display: inline-block;
    margin-bottom: 22px;
    color: var(--pk-l);
    font: 14px var(--mono)
}

.ev2 {
    display: grid;
    grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
    gap: 56px;
    align-items: start
}

.cal {
    max-width: 360px
}

.cal h3 {
    font-size: 18px;
    margin-bottom: 10px;
    text-transform: capitalize
}

.cg {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px
}

.cg i {
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    font: 600 13px var(--mono);
    font-style: normal;
    background: #1d1419;
    color: var(--muted)
}

.cg i.h {
    background: none;
    font-size: 11px;
    aspect-ratio: auto;
    color: var(--pk-l)
}

.cg i.p {
    opacity: .4
}

.cg i.t {
    outline: 3px solid var(--pk-l);
    color: #fff
}

.cg i.e {
    background: var(--pk-d);
    color: #1a0a00
}

.cg i svg {
    width: 70%;
    height: 70%
}

.hunt {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 14px 0 0
}

.hunt i {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    background: #0c0709;
    border: 4px solid var(--line2)
}

.hunt i svg {
    width: 28px;
    height: 21px
}

.hunt i:not(.on) svg {
    display: none
}

.soon {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px dashed var(--line2);
    max-width: 560px
}

.soon h3 {
    margin-bottom: 4px;
    font-size: 19px
}

.soon p {
    margin: 0;
    color: var(--muted)
}

.signs {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    align-items: flex-start;
    margin-bottom: 40px
}

.sg {
    position: relative;
    display: block;
    padding: 14px 30px;
    background: var(--wood);
    border: 4px solid var(--wood-d);
    color: #f3e6cf;
    font-weight: 800;
    font-size: 20px;
    text-decoration: none;
    margin-top: 34px;
    transition: transform .15s
}

.sg::before,
.sg::after {
    content: "";
    position: absolute;
    top: -34px;
    width: 4px;
    height: 34px;
    background: repeating-linear-gradient(#3a3a3a 0 6px, #1a1a1a 6px 8px)
}

.sg::before {
    left: 20px
}

.sg::after {
    right: 20px
}

.sg:hover {
    transform: rotate(-1.5deg)
}

.sg small {
    display: block;
    font: 600 12px var(--mono);
    color: #e0cba5
}

.fire {
    display: inline-block;
    width: 56px;
    margin-top: 6px;
    animation: flick 1.8s steps(1) infinite
}

.fire svg {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 14px rgba(255, 138, 31, .6))
}

.nf {
    text-align: center;
    padding-top: 80px
}

.nf svg {
    width: 72px;
    height: 72px;
    margin: 0 auto 14px;
    display: block
}

.key {
    display: inline-grid;
    place-items: center;
    min-width: 30px;
    height: 30px;
    padding: 0 8px;
    font: 800 15px var(--mono);
    background: #2a1c20;
    border: 4px solid var(--line2);
    border-bottom-width: 6px;
    color: #fff;
    vertical-align: middle
}

.key.hint {
    animation: press 3.4s steps(1) infinite
}

@keyframes press {

    0%,
    90% {
        transform: none;
        border-bottom-width: 6px
    }

    93%,
    97% {
        transform: translateY(2px);
        border-bottom-width: 4px
    }
}

.fab {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 35;
    width: 46px;
    height: 46px;
    font-size: 18px;
    cursor: pointer;
    color: var(--text);
    border-bottom-width: 8px
}

.fab:hover {
    border-color: var(--pk)
}

.candy {
    position: absolute;
    z-index: 5;
    width: 30px;
    height: 24px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    opacity: .75;
    animation: glint 3.2s steps(1) infinite
}

.candy svg {
    display: block;
    width: 100%;
    height: 100%
}

.candy:hover {
    opacity: 1;
    transform: scale(1.25) rotate(-8deg)
}

@keyframes glint {

    0%,
    92% {
        filter: none
    }

    94%,
    98% {
        filter: brightness(1.6)
    }
}

.orb {
    position: fixed;
    z-index: 90;
    width: 8px;
    height: 8px;
    margin: -4px;
    background: var(--pk);
    box-shadow: inset -2px -2px 0 var(--pk-d);
    pointer-events: none;
    animation: orb .7s steps(7) forwards
}

@keyframes orb {
    to {
        transform: translate(var(--dx), var(--dy));
        opacity: 0
    }
}

#toast {
    position: fixed;
    left: 50%;
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    transform: translate(-50%, 8px);
    z-index: 200;
    background: #150b0d;
    color: #f3e6cf;
    font: 600 15px var(--sans);
    padding: 8px 12px;
    border: 4px solid;
    border-color: #8a4a1a #4a2410 #4a2410 #8a4a1a;
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s, transform .15s
}

#toast.on {
    opacity: 1;
    transform: translate(-50%, 0)
}

#toast b {
    display: block;
    color: var(--pk-l);
    font-size: 14px
}

#toast span {
    color: var(--muted);
    font: 13px var(--mono)
}

dialog {
    padding: 0;
    border: 0;
    background: none;
    color: var(--text);
    width: min(420px, 92vw);
    overscroll-behavior: contain
}

dialog::backdrop {
    background: rgba(5, 3, 6, .86)
}

dialog[open] {
    animation: enter .22s steps(4)
}

#lb {
    width: min(1100px, 94vw)
}

#lb img {
    display: block;
    width: 100%;
    max-height: 86vh;
    object-fit: contain;
    border: 8px solid var(--wood);
    background: #000;
    cursor: zoom-out
}

.mn {
    padding: 18px;
    background: var(--panel);
    border: 4px solid var(--line2)
}

.mn h2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 12px;
    font-size: 20px
}

.mn .x {
    font: 700 12px var(--mono);
    background: #2a1c20;
    color: var(--muted);
    border: 3px solid var(--line2);
    padding: 3px 8px;
    cursor: pointer
}

.mi {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 6px;
    background: #241820;
    border: 3px solid var(--line2);
    color: var(--text);
    text-decoration: none;
    font: 600 16px var(--sans);
    cursor: pointer;
    text-align: left;
    transition: border-color .12s, background .12s, transform .12s
}

.mi:hover,
.mi:focus-visible {
    border-color: var(--pk);
    background: #2e1f26
}

.mi:active {
    transform: translateY(2px)
}

.mi kbd {
    font: 700 12px var(--mono);
    color: var(--pk-l)
}

.js .rv {
    opacity: 0
}

.js .rv.in {
    opacity: 1;
    transition: opacity .5s steps(5);
    transition-delay: calc(var(--i, 0)*70ms)
}

@media (max-width:980px) {
    .hc {
        gap: 24px
    }
}

@media (max-width:860px) {
    .banners {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 40px
    }

    .board {
        grid-template-columns: 1fr;
        gap: 34px
    }

    .row,
    .ev2,
    .md {
        grid-template-columns: 1fr;
        gap: 34px
    }

    .book {
        grid-template-columns: 1fr
    }

    .book>div:first-child {
        border-right: 0;
        border-bottom: 2px solid rgba(42, 26, 16, .35);
        box-shadow: none
    }

    .fg {
        grid-template-columns: 1fr 1fr
    }

    .mb {
        max-width: 180px
    }
}

@media (max-width:780px) {
    .bar {
        height: 56px
    }

    .brand span.bn2 {
        display: none
    }

    .hc {
        grid-template-columns: 1fr;
        padding-top: 24px;
        padding-bottom: 150px
    }

    .logo img {
        width: min(64%, 250px)
    }

    .tg {
        font-size: 18px
    }

    .land {
        height: 150px;
        background-size: auto 150px
    }

    .fog {
        bottom: 70px
    }

    .moon {
        width: 68px;
        height: 68px;
        right: 5%
    }

    .web {
        width: 44px;
        height: 44px
    }

    .hang {
        gap: 52px 0;
        padding: 0 6px
    }

    .hang .shot {
        width: 80% !important;
        margin: var(--dy) auto 0 0 !important
    }

    .hang .shot:nth-child(even) {
        margin: var(--dy) 0 0 auto !important
    }

    .hang .shot:nth-child(3n) {
        margin: var(--dy) auto 0 !important
    }

    .zig::before {
        left: 22px
    }

    .zig li,
    .zig li:nth-child(even) {
        width: auto;
        margin-left: 0;
        padding-left: 70px
    }

    .zig li::before,
    .zig li:nth-child(even)::before {
        left: 0;
        right: auto
    }

    .banners {
        grid-template-columns: 1fr 1fr;
        gap: 14px
    }

    .bn {
        min-height: 260px;
        padding: 42px 12px 60px
    }

    #tabs {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        margin: 0;
        gap: 3px;
        z-index: 40;
        background: #080507;
        border-top: 4px solid var(--line);
        padding: 4px 4px calc(4px + env(safe-area-inset-bottom, 0px))
    }

    #tabs a {
        flex: 1;
        text-align: center;
        padding: 10px 0;
        font-size: 12px;
        background: #241820;
        border: 3px solid var(--line)
    }

    #tabs a.on {
        border-color: #efe4d0;
        background: #2e1f26
    }

    #tabs a.on::after {
        display: none
    }

    body {
        padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px))
    }

    .fab {
        bottom: calc(76px + env(safe-area-inset-bottom, 0px))
    }

    #toast {
        bottom: calc(84px + env(safe-area-inset-bottom, 0px))
    }

    .ipb b {
        padding: 6px 8px;
        font-size: 12px
    }

    .ipb span {
        padding: 6px 8px
    }

    .top .pl {
        display: none
    }

    .fg {
        grid-template-columns: 1fr
    }

    .tl b {
        font-size: 10px
    }
}

@media (hover:none) {

    a.card:hover,
    .sg:hover,
    .note:hover {
        transform: none
    }

    #torch {
        display: none
    }
}

@media (forced-colors:active) {

    .plaque,
    .ipb,
    .copy,
    .mi {
        border: 2px solid CanvasText
    }
}

@media (prefers-contrast:more) {
    :root {
        --muted: #d6c8c0;
        --line: #6a4a52
    }
}

@media (prefers-reduced-motion:reduce) {

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important
    }

    #leaves,
    .gbat,
    .bat,
    #torch {
        display: none
    }

    html {
        scroll-behavior: auto
    }
}

.chap,
.wall,
footer,
.page {
    overflow-x: clip
}

#candybox {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 35;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    background: var(--wood);
    border: 4px solid var(--wood-d);
    box-shadow: inset 3px 3px 0 rgba(255, 255, 255, .14), inset -3px -3px 0 rgba(0, 0, 0, .3), 6px 8px 0 rgba(0, 0, 0, .35);
    font: 800 15px var(--mono);
    color: #f3e6cf;
    animation: lev 3.6s ease-in-out infinite
}

#candybox svg {
    display: block;
    width: 26px;
    height: 20px
}

@keyframes lev {
    50% {
        transform: translateY(-8px)
    }
}

@media (max-width:780px) {
    #candybox {
        bottom: calc(76px + env(safe-area-inset-bottom, 0px));
        left: 10px
    }
}

.hang {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 64px 30px;
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 12px
}

.hang .shot {
    position: relative;
    flex: 0 0 auto;
    width: var(--w);
    margin: var(--dy) 0 0 var(--dx);
    transform: rotate(var(--r, 0deg));
    transform-origin: 50% -30px;
    animation: swing var(--sd) ease-in-out infinite;
    animation-delay: var(--dl)
}

@keyframes swing {

    0%,
    100% {
        transform: rotate(calc(var(--r) - .6deg))
    }

    50% {
        transform: rotate(calc(var(--r) + .6deg))
    }
}

.hang .shot:hover {
    animation-play-state: paused;
    z-index: 2
}

.hang .shot::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -34px;
    width: 8px;
    height: 8px;
    margin-left: -4px;
    background: #8a8a8a;
    box-shadow: inset -2px -2px 0 #4a4a4a;
    z-index: 1
}

.str {
    position: absolute;
    left: 5%;
    right: 5%;
    top: -30px;
    height: 30px;
    background: #2a2118;
    clip-path: polygon(50% 0, 53% 0, 100% 100%, 96% 100%, 50% 12%, 4% 100%, 0 100%);
    pointer-events: none
}

.h-hook .str {
    left: 0;
    right: 0;
    clip-path: polygon(49% 0, 51% 0, 51% 100%, 49% 100%)
}

.h-pin {
    transform-origin: 50% 0
}

.h-pin .str {
    display: none
}

.h-pin::before {
    top: -9px !important;
    width: 12px !important;
    height: 12px !important;
    margin-left: -6px !important;
    background: #c0301f !important;
    box-shadow: inset -3px -3px 0 var(--blood) !important
}

.f-dark .pic {
    border: 6px solid #1c1218;
    box-shadow: inset 0 0 0 3px #4a3a40, 5px 7px 0 rgba(0, 0, 0, .4)
}

.f-dark .pic:hover {
    border-color: #34242a
}

.f-paper .pic {
    border: 0;
    padding: 10px 10px 34px;
    background: var(--paper);
    box-shadow: 4px 6px 0 rgba(0, 0, 0, .4)
}

.f-paper .pic:hover {
    border-color: transparent;
    filter: brightness(1.06)
}

.wb::after {
    content: "";
    position: absolute;
    left: -8px;
    top: -8px;
    width: 46px;
    height: 46px;
    background: var(--web) 0 0/100% 100%;
    opacity: .55;
    image-rendering: pixelated;
    pointer-events: none;
    z-index: 1
}