/* THE WORLD KIT (Wave 98) — one set of rooms every relic can fill.
 * scene · instrument · serial · play · record. Each world page sets its own
 * colours through --w-accent / --w-accent2; the structure is shared. */
.world-nav { position: sticky; top: 58px; z-index: 50; display: flex; justify-content: center; flex-wrap: wrap; gap: 0.2rem 1.4rem; padding: 0.7rem 1rem; background: rgba(8,7,5,0.92); border-bottom: 1px solid #3a3428; backdrop-filter: blur(10px); font-family: var(--f-num, 'Courier Prime', monospace); font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase; }
.world-nav a { color: #8b7a5c; text-decoration: none; padding: 0.2rem 0; border-bottom: 1px solid transparent; }
.world-nav a:hover, .world-nav a.is-here { color: var(--w-accent2, #f0a820); border-bottom-color: var(--w-accent2, #f0a820); }
.world-nav .wn-name { color: var(--w-accent2, #f0a820); }
.world-room { max-width: 900px; margin: 0 auto; padding: 4.5rem 3rem 2rem; scroll-margin-top: 110px; }
.world-room-head { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.6rem; }
.world-room-head .wr-no { font-family: var(--f-label, 'Bebas Neue', sans-serif); font-size: 2.6rem; line-height: 1; color: #3a3428; }
.world-room-head h2 { font-family: var(--f-label, 'Bebas Neue', sans-serif); font-weight: 400; font-size: 1.6rem; letter-spacing: 0.18em; color: var(--w-accent2, #f0a820); }
.world-room-head p { margin-left: auto; font-size: 0.66rem; letter-spacing: 0.14em; color: #6a6050; text-transform: uppercase; text-align: right; }
.world-lede { color: #a39a86; font-style: italic; font-size: 0.92rem; line-height: 1.85; max-width: 62ch; margin-bottom: 2rem; }
/* the serial */
.ws-chapter { display: grid; grid-template-columns: 4.2rem 1fr; gap: 1rem; padding: 1.3rem 0; border-top: 1px dashed #2a241a; }
.ws-chapter:first-child { border-top: 0; }
.ws-no { font-family: var(--f-display, 'Cinzel Decorative', serif); font-size: 1.1rem; color: var(--w-accent, #c97d0a); }
.ws-no small { display: block; font-family: var(--f-num, 'Courier Prime', monospace); font-size: 0.58rem; letter-spacing: 0.14em; color: #6a6050; margin-top: 0.2rem; }
.ws-body { font-size: 0.9rem; line-height: 1.85; color: #e0d8c8; white-space: pre-line; }
.ws-body.is-closed { max-height: 9.5em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.ws-more { margin-top: 0.5rem; font: inherit; font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; background: none; border: 0; color: var(--w-accent2, #f0a820); cursor: pointer; padding: 0; }
.ws-more a { color: inherit; text-decoration: none; border-bottom: 1px dotted currentColor; margin-left: 1rem; }
.ws-empty { color: #6a6050; font-style: italic; font-size: 0.86rem; }
.ws-count { font-size: 0.66rem; letter-spacing: 0.12em; color: #6a6050; margin-bottom: 1rem; }
.world-record-head { text-align: center; padding: 4rem 1.5rem 0; font-family: var(--f-num, 'Courier Prime', monospace); font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase; color: #6a6050; scroll-margin-top: 110px; }
.world-record-head b { color: var(--w-accent2, #f0a820); font-weight: 400; }
@media (max-width: 700px) {
  .world-nav { top: 52px; gap: 0.2rem 0.9rem; font-size: 0.56rem; }
  .world-room { padding: 3.2rem 16px 1.5rem; }
  .world-room-head p { display: none; }
  .ws-chapter { grid-template-columns: 3rem 1fr; }
}
/* Wave 102 — the relic's own ledger */
.wl-row { display: grid; grid-template-columns: 3.4rem 1fr 9rem; gap: 1rem; align-items: center; padding: 0.42rem 0; border-top: 1px dashed #221d15; font-family: var(--f-num, 'Courier Prime', monospace); font-size: 0.7rem; color: #a39a86; }
.wl-head { border-top: 0; font-size: 0.56rem; letter-spacing: 0.2em; text-transform: uppercase; color: #6a6050; }
.wl-track { position: relative; height: 12px; background: linear-gradient(90deg, transparent calc(50% - 0.5px), #3a3428 calc(50% - 0.5px), #3a3428 calc(50% + 0.5px), transparent calc(50% + 0.5px)); }
.wl-bar { position: absolute; top: 4px; height: 4px; background: rgba(201,125,10,0.45); }
.wl-dot { position: absolute; top: 1px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #c9583a; }
.wl-dot.is-up { background: var(--w-accent2, #f0a820); }
.wl-track.is-set-aside { background: repeating-linear-gradient(90deg, #3a3428 0 2px, transparent 2px 6px) center / 100% 1px no-repeat; }
.wl-vol { display: flex; align-items: center; gap: 0.4rem; white-space: nowrap; }
.wl-vol i { display: inline-block; height: 6px; background: var(--w-accent, #c97d0a); max-width: 4rem; flex: 0 0 auto; }
@media (max-width: 700px) { .wl-row { grid-template-columns: 2.8rem minmax(0, 1fr) auto; gap: 0.6rem; } .wl-vol i { max-width: 2.4rem; } }  /* 110g: four-figure days overflowed a fixed 6rem column */
/* Wave 103 — the stepper (shared; the Ogre's vault set the look) */
[data-world-steps] { max-width: 640px; text-align: center; margin: 0 auto; }
[data-world-steps] .vt-eq { font-family: var(--f-label, 'Bebas Neue', sans-serif); font-size: clamp(1.8rem, 5.5vw, 3.2rem); letter-spacing: 0.06em; color: var(--w-accent2, #f0a820); line-height: 1.1; }
[data-world-steps] .vt-note { margin: 0.8rem auto 1.4rem; max-width: 52ch; font-size: 0.9rem; line-height: 1.8; color: #cfc6b0; font-style: italic; }
[data-world-steps] .vt-pull { font: inherit; font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--w-accent2, #f0a820); background: #100e0b; border: 1px solid #3a3428; padding: 0.8rem 1.4rem; cursor: pointer; }
[data-world-steps] .vt-pull:hover, [data-world-steps] .vt-pull:focus-visible { border-color: var(--w-accent2, #f0a820); outline: none; }
[data-world-steps] .vt-trail { list-style: none; margin-top: 1.4rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.3rem 0.9rem; font-size: 0.64rem; color: #6a6050; }
[data-world-steps] .vt-trail li + li::before { content: '→ '; color: #3a3428; }
/* Wave 104 — the fence and the work */
[data-world-fence] svg { display: block; width: 100%; max-width: 680px; height: auto; margin: 0 auto 0.6rem; }
[data-pow] { max-width: 640px; text-align: center; margin: 0 auto; }
[data-pow] .vt-pull { font: inherit; font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--w-accent2, #f0a820); background: #100e0b; border: 1px solid #3a3428; padding: 0.8rem 1.4rem; cursor: pointer; }
[data-pow] .vt-pull[disabled] { opacity: 0.6; cursor: progress; }
.pw-live { margin-top: 1rem; font-family: var(--f-num, 'Courier Prime', monospace); font-size: 0.8rem; color: #a39a86; }
.pw-hash { margin-top: 1.2rem; font-family: var(--f-num, 'Courier Prime', monospace); font-size: 0.74rem; word-break: break-all; color: var(--w-accent2, #f0a820); }
.pw-proof { margin-top: 0.6rem; font-size: 0.8rem; color: #cfc6b0; }
.pw-seal { display: inline-block; height: 1em; vertical-align: middle; background: #000; }
