:root {
  --dw-bg: #050506; --dw-fg: #d9d6cc; --dw-accent: #9ff5d0; --dw-panel: rgba(8, 8, 10, .96);
  --dw-font-body: 'Courier Prime', 'Courier New', monospace; --display: 'Major Mono Display', 'Courier New', monospace;
  --mint: #9ff5d0; --violet: #c9a8ff; --line: #ffffff14; --x: 50%; --y: 40%; --r: 150px;
}
body { overflow-x: hidden; }
::selection { background: var(--mint); color: #050506; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: .02em; margin: 0 0 .6em; }

.wall { position: relative; min-height: 100svh; overflow: hidden; cursor: crosshair; touch-action: pan-y; display: grid; }
.mural-box { position: absolute; left: 50%; top: 50%; width: max(100%, calc(100svh * 1.791)); aspect-ratio: 1800 / 1005; transform: translate(-50%, -50%); }
@media (max-width: 700px) { .mural-box { transform: translate(-57%, -50%); } }
.mural { width: 100%; height: 100%; }
.dark { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: #050506;
  -webkit-mask-image: radial-gradient(circle var(--r) at var(--x) var(--y), transparent 0, transparent 45%, rgba(0,0,0,.85) 80%, #000 100%);
          mask-image: radial-gradient(circle var(--r) at var(--x) var(--y), transparent 0, transparent 45%, rgba(0,0,0,.85) 80%, #000 100%); transition: opacity .8s; }
.wall.lights-on .dark { opacity: 0; }
.wh { position: absolute; z-index: 2; transform: translate(-50%, -50%); width: 6%; aspect-ratio: 1; border-radius: 50%; border: 1px dashed transparent; background: transparent; color: var(--mint); }
.wh:focus-visible { border-color: var(--mint); z-index: 6; }
.wh.is-found { border-color: #9ff5d055; }
.wh-keyhole { left: 45.8%; top: 41%; width: 4%; } .wh-eye { left: 64%; top: 48%; width: 9%; } .wh-moth { left: 53.5%; top: 29%; width: 5%; } .wh-maze { left: 71%; top: 62%; width: 8%; }
.wh-psst { left: 90%; top: 92%; width: auto; aspect-ratio: auto; border-radius: 4px; font-family: var(--dw-font-body); font-size: .75rem; padding: .2em .5em; opacity: .55; }
.claim { position: relative; z-index: 4; align-self: center; justify-self: center; text-align: center; padding: 0 16px; pointer-events: none; }
.claim h1 { font-size: clamp(1.1rem, 3vw, 1.8rem); color: #8b887f; text-transform: lowercase; }
.period { pointer-events: auto; font: inherit; color: inherit; background: none; border: 0; padding: 0 .1em; cursor: default; border-radius: 3px; }
.period:focus-visible { outline: 1px dashed var(--mint); }
.note { font-size: .82rem; color: #5d5b55; max-width: 44ch; margin: 0 auto; }

.nothing { padding: clamp(80px, 14vw, 180px) clamp(16px, 5vw, 64px); max-width: 780px; margin: 0 auto; color: #6f6c64; }
.nothing h2 { font-size: 1.1rem; color: #4d4b46; }
.ink { color: var(--dw-bg); cursor: text; }
.ink::selection { color: #050506; }
.ink.is-found { color: #2c2b28; }
.riddles { list-style: none; padding: 0; margin: 4rem 0 0; display: grid; gap: .5rem; font-size: .8rem; color: #2f2e2b; }
.riddles li:hover { color: #8b887f; }

.ledger { max-width: 780px; margin: 0 auto; padding: 40px 16px 80px; }
.ledger h2 { font-size: 1.4rem; color: var(--mint); }
.found { color: var(--mint); }
.journal li { margin: .6em 0; font-size: .95rem; }
.reward { padding: 1rem 1.2rem; border: 1px dashed var(--violet); border-radius: 6px; margin: 1rem 0; }
.list { margin-top: 3rem; border-top: 1px solid var(--line); padding-top: 2rem; }
.list h3 { color: var(--violet); font-size: 1.2rem; }
.dw-optin button[type=submit] { background: var(--mint); color: #050506; font-family: var(--display); }
.offer-note { margin: 0; color: var(--mint); }
.maybe { margin-top: 2.4rem; font-size: .92rem; }
.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.offer { display: grid; text-align: left; font: inherit; color: var(--dw-fg); background: #0c0c0f; border: 1px dashed #ffffff33; border-radius: 6px; padding: .9em 1em; cursor: pointer; }
.offer small { opacity: .65; font-size: .85rem; }
.offer:hover, .offer:focus-visible { border-color: var(--mint); color: var(--mint); }
.ghost-secret { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; border: 0; padding: 0; }

.foot { position: relative; padding: 30px 16px 16px; text-align: center; border-top: 1px solid var(--line); }
.more { font-size: .85rem; color: #6f6c64; }
.more a { color: #8b887f; }
.pixel { position: absolute; right: 4px; bottom: 4px; width: 6px; height: 6px; padding: 0; border: 0; border-radius: 50%; background: #1d1d20; cursor: pointer; }
.pixel:hover, .pixel:focus-visible { background: var(--mint); }

.lost-main { min-height: 100svh; display: grid; place-content: center; text-align: center; padding: 16px; gap: .4rem; max-width: 640px; margin: 0 auto; }
.lost-main h1 { font-size: clamp(1.2rem, 3.6vw, 2rem); color: var(--mint); }
.note-card { background: #0d0d10; border: 1px dashed var(--violet); padding: 1rem 1.2rem; border-radius: 6px; text-align: left; }
[hidden] { display: none !important; }
