:root {
  --ink: #080909;
  --panel: #101212;
  --panel-2: #151817;
  --line: rgba(255, 255, 255, .11);
  --muted: #9da4a2;
  --paper: #f2f4ef;
  --orange: #f36b21;
  --gold: #ffb13b;
  --cyan: #48d9d0;
  --green: #79db78;
  --display: "Barlow Condensed", Impact, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--paper); background: var(--ink); font-family: var(--body); line-height: 1.6; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; z-index: -3; background: radial-gradient(circle at 75% 10%, rgba(243, 107, 33, .13), transparent 28rem), radial-gradient(circle at 10% 55%, rgba(72, 217, 208, .06), transparent 32rem), #080909; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
.page-noise { position: fixed; inset: 0; z-index: 20; pointer-events: none; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E"); }
.site-width { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 110px 0; }
.kicker, .eyebrow { color: var(--orange); font: 700 .78rem/1 var(--body); letter-spacing: .17em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 32px; height: 2px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); line-height: .95; letter-spacing: -.025em; }
h1 { font-size: clamp(4rem, 8vw, 7.8rem); margin: 25px 0 28px; text-transform: uppercase; }
h1 em { color: var(--orange); font-style: normal; }
h2 { font-size: clamp(2.8rem, 5vw, 5.2rem); margin: 12px 0 0; }
h3 { font-size: clamp(2rem, 3vw, 3rem); }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 28px; padding: 0 20px; border: 1px solid var(--line); border-radius: 7px; font-weight: 700; transition: transform .2s, color .2s, background .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #111; background: linear-gradient(120deg, var(--gold), var(--orange)); border-color: transparent; box-shadow: 0 12px 40px rgba(243, 107, 33, .2); }
.button-ghost:hover { color: var(--orange); border-color: var(--orange); background: rgba(243, 107, 33, .06); }
.text-link { display: inline-flex; gap: 20px; padding-bottom: 5px; border-bottom: 1px solid var(--orange); font-weight: 700; }
.text-link span { color: var(--orange); }

.site-header { position: fixed; z-index: 15; top: 14px; left: 50%; transform: translateX(-50%); width: min(1240px, calc(100% - 28px)); height: 72px; padding: 0 12px 0 20px; display: flex; align-items: center; border: 1px solid rgba(255,255,255,.13); border-radius: 12px; background: rgba(9, 10, 10, .73); backdrop-filter: blur(18px); transition: background .25s, box-shadow .25s; }
.site-header.scrolled { background: rgba(9,10,10,.94); box-shadow: 0 15px 40px rgba(0,0,0,.36); }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand img { width: 43px; height: 43px; object-fit: contain; }
.brand span { display: grid; line-height: 1; }
.brand strong { color: var(--orange); font: 800 1.4rem/1 var(--display); letter-spacing: .06em; }
.brand small { margin-top: 4px; color: #a9afad; font-size: .56rem; letter-spacing: .12em; text-transform: uppercase; }
.site-nav { display: flex; align-self: stretch; align-items: center; gap: 6px; }
.site-nav a { position: relative; padding: 12px 15px; color: #bdc2c0; font-size: .86rem; font-weight: 600; }
.site-nav a::after { content: ""; position: absolute; left: 15px; right: 15px; bottom: 3px; height: 2px; background: var(--orange); transform: scaleX(0); transition: transform .2s; }
.site-nav a:hover, .site-nav a.active { color: #fff; }
.site-nav a.active::after { transform: scaleX(1); }
.header-cta { margin-left: 12px; padding: 12px 15px; display: flex; align-items: center; gap: 8px; border-radius: 7px; color: #111; background: var(--paper); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.status-pulse, .live i, .signal-dot { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(121,219,120,.1); }
.menu-toggle { display: none; color: #fff; background: none; border: 0; }

.hero { position: relative; min-height: 820px; height: 100svh; display: flex; align-items: center; padding-top: 95px; overflow: hidden; }
.hero::after { content: "DFW"; position: absolute; z-index: -1; left: -2vw; bottom: -13vw; color: rgba(255,255,255,.017); font: 800 33vw/1 var(--display); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(420px, .97fr); gap: 60px; align-items: center; }
.hero-copy > p { max-width: 635px; color: #bac0bd; font-size: clamp(1rem, 1.4vw, 1.16rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 35px; }
.hero-stats { margin-top: 55px; display: flex; gap: 0; }
.hero-stats > div { min-width: 140px; padding-right: 25px; border-right: 1px solid var(--line); }
.hero-stats > div + div { padding-left: 25px; }
.hero-stats > div:last-child { border: 0; }
.hero-stats strong { display: block; color: #fff; font: 700 1.75rem/1 var(--display); }
.hero-stats span { color: #7e8784; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.hero-stage { position: relative; min-height: 560px; display: grid; place-items: center; isolation: isolate; }
.stage-grid { position: absolute; inset: 8%; z-index: -3; transform: perspective(500px) rotateX(60deg) translateY(30%); background-image: linear-gradient(rgba(243,107,33,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(243,107,33,.12) 1px, transparent 1px); background-size: 38px 38px; mask-image: linear-gradient(to bottom, transparent, #000 30%, transparent 90%); }
.stage-orbit { position: absolute; z-index: -2; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.stage-orbit::before { content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 18px var(--orange); }
.orbit-one { width: 450px; aspect-ratio: 1; animation: spin 28s linear infinite; }
.orbit-one::before { left: 55px; top: 50px; }
.orbit-two { width: 330px; aspect-ratio: 1; border-color: rgba(72,217,208,.16); animation: spin 19s linear infinite reverse; }
.orbit-two::before { right: 20px; top: 105px; background: var(--cyan); box-shadow: 0 0 18px var(--cyan); }
.hero-logo { width: min(76%, 400px); filter: drop-shadow(0 30px 45px rgba(0,0,0,.7)) drop-shadow(0 0 35px rgba(243,107,33,.14)); animation: float 6s ease-in-out infinite; }
.signal-card { position: absolute; min-width: 142px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 8px; background: rgba(14,16,16,.87); backdrop-filter: blur(10px); }
.signal-card small { display: block; color: #777f7c; font-size: .58rem; letter-spacing: .15em; }
.signal-card strong { font: 700 1rem var(--display); letter-spacing: .07em; }
.signal-top { top: 20%; right: 1%; }
.signal-top .signal-dot { margin-right: 7px; }
.signal-bottom { bottom: 17%; left: 0; border-left: 2px solid var(--orange); }
.scroll-cue { position: absolute; left: 50%; bottom: 25px; transform: translateX(-50%); display: flex; gap: 12px; color: #717976; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; }
.scroll-cue i { color: var(--orange); font-style: normal; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-12px); } }

.worlds { border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.018), transparent); }
.section-heading { margin-bottom: 45px; display: grid; grid-template-columns: 1fr .7fr; align-items: end; gap: 50px; }
.section-heading p { margin-bottom: 5px; color: var(--muted); }
.world-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.world-card { min-height: 560px; display: grid; grid-template-rows: 285px 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); transition: transform .3s, border-color .3s; }
.world-card:hover { transform: translateY(-6px); border-color: rgba(243,107,33,.55); }
.world-art { position: relative; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle, rgba(243,107,33,.19), transparent 60%), linear-gradient(135deg, #1b1510, #0b0d0d 70%); }
.world-valheim .world-art { background: radial-gradient(circle, rgba(72,217,208,.17), transparent 60%), linear-gradient(135deg, #0e1c1b, #0b0d0d 70%); }
.world-art::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(120deg, transparent 0 18px, rgba(255,255,255,.015) 18px 19px); }
.world-art img { position: relative; z-index: 1; width: 175px; height: 175px; object-fit: contain; filter: drop-shadow(0 20px 20px rgba(0,0,0,.65)); }
.world-number { position: absolute; top: 16px; left: 20px; color: rgba(255,255,255,.2); font: 800 3.5rem/1 var(--display); }
.world-body { padding: 28px 30px 30px; display: flex; flex-direction: column; }
.world-meta { display: flex; gap: 10px; color: #89918e; font-size: .65rem; text-transform: uppercase; letter-spacing: .09em; }
.world-meta span { padding: 5px 9px; border: 1px solid var(--line); border-radius: 20px; }
.world-meta .live { color: #b8e8b7; }
.world-meta .live i { width: 5px; height: 5px; margin-right: 6px; }
.world-body h3 { margin: 20px 0 12px; }
.world-body p { color: var(--muted); font-size: .92rem; }
.world-actions { margin-top: auto; padding-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); }
.world-actions a { color: var(--orange); font-size: .8rem; font-weight: 800; text-transform: uppercase; }
.world-actions > span { color: var(--orange); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.world-actions code { color: #adb4b1; font-size: .72rem; }

.manifesto { overflow: hidden; }
.manifesto-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
.manifesto-mark { position: relative; height: 475px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); background: repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 1px, transparent 1px 18px); }
.manifesto-mark::after { content: "DOWN FOR WHATEVER"; position: absolute; right: -93px; transform: rotate(90deg); color: var(--orange); font: 700 .66rem var(--body); letter-spacing: .27em; }
.manifesto-mark span { font: 800 clamp(7rem, 13vw, 12rem)/.7 var(--display); letter-spacing: -.1em; -webkit-text-stroke: 1px rgba(255,255,255,.32); color: transparent; }
.manifesto-mark span:nth-child(2) { color: var(--orange); -webkit-text-stroke: 0; transform: translateY(26px); }
.manifesto-copy h2 { margin-bottom: 28px; }
.manifesto-copy p { max-width: 500px; color: var(--muted); }
.manifesto-copy .text-link { margin-top: 20px; }
.sound-preview { padding-top: 30px; }
.sound-strip { padding: 34px 38px; display: grid; grid-template-columns: 110px 1fr auto; align-items: center; gap: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(100deg, rgba(243,107,33,.12), rgba(255,255,255,.025)); }
.sound-strip h2 { margin: 7px 0; font-size: clamp(2rem, 4vw, 3.4rem); }
.sound-strip p { margin: 0; color: var(--muted); }
.sound-icon { height: 76px; display: flex; align-items: center; justify-content: center; gap: 5px; }
.sound-icon span { width: 5px; height: 25%; border-radius: 4px; background: var(--orange); animation: wave 1s ease-in-out infinite alternate; }
.sound-icon span:nth-child(2), .sound-icon span:nth-child(4) { animation-delay: -.5s; }
.sound-icon span:nth-child(3) { animation-delay: -.8s; }
@keyframes wave { to { height: 90%; } }
.final-cta { padding: 150px 0; text-align: center; background: linear-gradient(rgba(8,9,9,.72), rgba(8,9,9,.9)), radial-gradient(circle at center, rgba(243,107,33,.3), transparent 45%); border-top: 1px solid var(--line); }
.final-cta h2 { margin: 14px auto 38px; font-size: clamp(3.5rem, 8vw, 7.2rem); }

.page-hero { min-height: 520px; padding: 175px 0 90px; display: flex; align-items: end; border-bottom: 1px solid var(--line); background: linear-gradient(115deg, rgba(243,107,33,.12), transparent 44%), repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), rgba(255,255,255,.025) calc(10% - 1px) 10%); }
.page-hero.compact { min-height: 430px; }
.page-hero .site-width { position: relative; }
.page-hero h1 { max-width: 930px; margin-bottom: 20px; font-size: clamp(4rem, 9vw, 8rem); }
.page-hero p { max-width: 650px; margin: 0; color: var(--muted); font-size: 1.05rem; }
.server-list > .site-width { display: grid; gap: 34px; }
.server-detail { position: relative; padding: 38px; display: grid; grid-template-columns: 160px 1fr 330px; gap: 34px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(120deg, var(--panel), #0b0c0c); overflow: hidden; }
.server-detail::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--orange); }
.server-detail.valheim::before { background: var(--cyan); }
.server-icon { height: 150px; display: grid; place-items: center; background: rgba(255,255,255,.025); border: 1px solid var(--line); border-radius: 12px; }
.server-icon img { width: 115px; height: 115px; object-fit: contain; }
.server-copy h2 { margin: 10px 0; font-size: 3rem; }
.server-copy p { color: var(--muted); }
.modifier-panel { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.modifier-heading { margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.modifier-heading > span { color: #fff; font: 700 .7rem var(--body); letter-spacing: .1em; text-transform: uppercase; }
.modifier-heading small { color: #69716e; font-size: .62rem; }
.modifier-heading small::before { content: ""; width: 5px; height: 5px; margin-right: 6px; display: inline-block; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px rgba(72,217,208,.7); }
.modifier-list { display: flex; flex-wrap: wrap; gap: 7px; }
.modifier-chip { padding: 6px 9px; display: inline-flex; gap: 5px; border: 1px solid rgba(72,217,208,.2); border-radius: 5px; background: rgba(72,217,208,.045); color: #aeb6b3; font-size: .67rem; }
.modifier-chip b { color: var(--cyan); font-weight: 700; }
.modifier-loading { color: #777f7c; font-size: .7rem; }
.modifier-panel.unavailable .modifier-heading small::before { background: var(--orange); box-shadow: none; }
.server-tags, .game-tags, .tag-row { display: flex; flex-wrap: wrap; gap: 7px; }
.server-tags span, .game-tags span, .tag-row span { padding: 5px 9px; border: 1px solid var(--line); border-radius: 4px; color: #adb4b1; font-size: .65rem; text-transform: uppercase; letter-spacing: .06em; }
.connection-panel, .connect-panel { padding: 23px; border-radius: 12px; background: #090a0a; border: 1px solid var(--line); }
.connection-panel > span, .connect-panel > small { display: block; color: #7f8784; font-size: .65rem; text-transform: uppercase; letter-spacing: .12em; }
.connect-panel > a { margin-top: 17px; display: inline-flex; gap: 12px; color: var(--orange); font-size: .73rem; font-weight: 800; text-transform: uppercase; }
.connect-panel > small:not(:first-child) { margin-top: 17px; }
.copy-row { margin-top: 8px; display: flex; gap: 8px; }
.copy-row code { min-width: 0; flex: 1; padding: 10px; overflow: hidden; text-overflow: ellipsis; color: #fff; background: #151817; border-radius: 5px; font-size: .78rem; white-space: nowrap; }
.copy-button { padding: 0 12px; color: #141414; background: var(--orange); border: 0; border-radius: 5px; font-size: .67rem; font-weight: 800; cursor: pointer; }
.copy-address { width: 100%; margin-top: 8px; padding: 0; display: flex; align-items: stretch; color: inherit; background: #151817; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; cursor: pointer; }
.copy-address code { min-width: 0; flex: 1; padding: 12px; overflow: hidden; text-align: left; text-overflow: ellipsis; color: #fff; white-space: nowrap; }
.copy-address span { padding: 0 12px; display: grid; place-items: center; color: #141414; background: var(--orange); font-size: .67rem; font-weight: 800; text-transform: uppercase; }
.password-link { margin-top: 8px; padding: 11px 12px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border: 1px solid rgba(243,107,33,.42); border-radius: 6px; background: rgba(243,107,33,.08); transition: border-color .2s, background .2s; }
.password-link:hover { border-color: var(--orange); background: rgba(243,107,33,.14); }
.password-link strong { color: #fff; font-size: .78rem; }
.password-link span { color: var(--orange); font-size: .66rem; font-weight: 800; text-transform: uppercase; white-space: nowrap; }
.map-link { margin-top: 8px !important; padding: 11px 12px; display: flex !important; align-items: center; justify-content: space-between; gap: 14px !important; border: 1px solid rgba(72,217,208,.35); border-radius: 6px; background: rgba(72,217,208,.06); transition: border-color .2s, background .2s; }
.map-link:hover { border-color: var(--cyan); background: rgba(72,217,208,.12); }
.map-link strong { color: #fff; font-size: .78rem; }
.map-link span { color: var(--cyan); font-size: .66rem; font-weight: 800; text-transform: uppercase; white-space: nowrap; }
.connection-password { margin: 17px 0 0; color: #929a97; font-size: .78rem; }
.connection-password code { color: #fff; }
.server-note { padding: 24px 28px; display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; border: 1px dashed rgba(255,255,255,.18); border-radius: 12px; color: var(--muted); }
.server-note strong { color: var(--paper); }
.server-note span { color: var(--orange); font: 800 1.7rem var(--display); }
.server-note p { margin: 0; }
.server-icon span { color: #8e9693; font: 700 .7rem var(--body); }

.map-hero { position: relative; min-height: 830px; padding: 155px 0 100px; display: flex; align-items: center; overflow: hidden; background: radial-gradient(circle at 76% 48%, rgba(72,217,208,.14), transparent 25rem), radial-gradient(circle at 73% 45%, rgba(243,107,33,.09), transparent 37rem); }
.map-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .3; background: repeating-radial-gradient(circle at 75% 48%, transparent 0 55px, rgba(255,255,255,.035) 56px 57px); }
.map-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(390px, .8fr); gap: 80px; align-items: center; }
.map-copy p { max-width: 660px; color: var(--muted); }
.map-copy h1 { margin-top: 28px; }
.map-back { margin-bottom: 45px; display: block; color: #8d9692; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.map-back:hover { color: var(--cyan); }
.map-console { position: relative; padding: 28px; min-height: 560px; display: flex; flex-direction: column; justify-content: flex-end; border: 1px solid rgba(72,217,208,.24); border-radius: 18px; background: linear-gradient(155deg, rgba(19,32,31,.96), rgba(7,9,9,.98) 70%); box-shadow: 0 35px 90px rgba(0,0,0,.45); overflow: hidden; }
.map-console::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .3; background: repeating-linear-gradient(0deg, transparent 0 6px, rgba(72,217,208,.025) 6px 7px); }
.map-console-head { position: absolute; z-index: 1; top: 24px; left: 28px; right: 28px; display: flex; justify-content: space-between; color: #76817d; font-size: .61rem; letter-spacing: .1em; text-transform: uppercase; }
.map-console-head span { color: #aee5cc; }
.map-console-head i { width: 6px; height: 6px; margin-right: 7px; display: inline-block; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.map-orb { position: absolute; top: 80px; left: 50%; width: 300px; aspect-ratio: 1; transform: translateX(-50%); border: 1px solid rgba(72,217,208,.16); border-radius: 50%; }
.map-orb::before, .map-orb::after { content: ""; position: absolute; border: 1px solid rgba(72,217,208,.15); border-radius: 50%; }
.map-orb::before { inset: 25px; }
.map-orb::after { inset: 65px; }
.map-orb div { position: absolute; inset: 45px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, rgba(72,217,208,.5), rgba(20,71,68,.3) 38%, #07100f 70%); box-shadow: inset -25px -20px 45px #020404, 0 0 55px rgba(72,217,208,.2); }
.map-orb div::after { content: ""; position: absolute; inset: 22%; border-radius: 48% 52% 43% 57%; border: 12px dotted rgba(190,224,174,.2); transform: rotate(-18deg); }
.map-console > small { position: relative; z-index: 1; color: #7f8c87; font-size: .65rem; letter-spacing: .13em; text-transform: uppercase; }
.seed-copy { position: relative; z-index: 1; width: 100%; margin: 8px 0 14px; padding: 0; display: flex; align-items: stretch; color: inherit; background: rgba(0,0,0,.35); border: 1px solid rgba(72,217,208,.25); border-radius: 7px; overflow: hidden; cursor: pointer; }
.seed-copy code { flex: 1; padding: 14px; color: #fff; text-align: left; font-size: 1rem; letter-spacing: .08em; }
.seed-copy span { padding: 0 14px; display: grid; place-items: center; color: #07100f; background: var(--cyan); font-size: .67rem; font-weight: 800; text-transform: uppercase; }
.map-launch { position: relative; z-index: 1; width: 100%; }
.map-sync { position: relative; z-index: 1; margin: 12px 0 0; color: #697570; font-size: .64rem; text-align: center; }
.map-waiting { position: relative; z-index: 1; margin-bottom: 18px; padding: 16px; border: 1px solid rgba(243,107,33,.25); border-radius: 7px; background: rgba(243,107,33,.06); }
.map-waiting strong { color: var(--orange); }
.map-waiting p { margin: 5px 0 0; color: var(--muted); font-size: .78rem; }
.map-runes { position: absolute; inset: 0; pointer-events: none; }
.map-runes span { position: absolute; color: rgba(72,217,208,.08); font: 500 3rem var(--display); }
.map-runes span:nth-child(1) { left: 4%; top: 24%; }.map-runes span:nth-child(2) { left: 15%; bottom: 12%; }.map-runes span:nth-child(3) { right: 4%; top: 21%; }.map-runes span:nth-child(4) { right: 10%; bottom: 14%; }.map-runes span:nth-child(5) { left: 49%; top: 16%; }
.map-info { border-top: 1px solid var(--line); background: rgba(255,255,255,.015); }
.map-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.map-info-grid > div { padding: 30px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.map-info-grid span { color: var(--cyan); font: 800 .7rem var(--body); letter-spacing: .15em; }
.map-info-grid h2 { margin: 35px 0 12px; font-size: 2.2rem; }
.map-info-grid p { margin: 0; color: var(--muted); font-size: .84rem; }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value-card { padding: 34px; min-height: 275px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.value-index, .value-card > span { color: var(--orange); font: 800 .75rem var(--body); letter-spacing: .16em; }
.value-card h2, .value-card h3 { margin: 55px 0 15px; font-size: 2.5rem; }
.value-card p { color: var(--muted); font-size: .9rem; }
.game-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.game-chip { min-height: 170px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.022); transition: transform .2s, border-color .2s; }
.game-chip:hover { transform: translateY(-4px); border-color: rgba(243,107,33,.5); }
.game-chip img { width: 65px; height: 65px; object-fit: contain; }
.game-chip strong, .game-chip span { font: 700 1.35rem var(--display); }

.album-panel { padding: 44px; display: grid; grid-template-columns: 330px 1fr; gap: 55px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.album-art { aspect-ratio: 1; display: grid; place-items: center; border-radius: 14px; background: radial-gradient(circle, rgba(243,107,33,.25), transparent 55%), #090a0a; border: 1px solid var(--line); }
.album-art img { width: 72%; filter: drop-shadow(0 20px 25px #000); }
.album-art span { margin-top: -50px; color: var(--orange); font: 800 .7rem var(--body); letter-spacing: .2em; }
.album-panel > div:nth-child(2) h2 { margin: 8px 0 16px; font-size: 3.7rem; }
.album-panel > div:nth-child(2) > p { color: var(--muted); }
.album-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.album-meta span { padding: 5px 9px; border: 1px solid var(--line); border-radius: 20px; color: #a5aca9; font-size: .65rem; text-transform: uppercase; }
.track-list { margin-top: 28px; display: grid; }
.track { padding: 16px 0; display: grid; grid-template-columns: 34px minmax(140px, 1fr) 55px minmax(220px, 320px); gap: 15px; align-items: center; border-top: 1px solid var(--line); }
.track > span { color: #68706d; font: 700 .7rem var(--body); }
.track-title { display: grid; }
.track-title strong { font: 600 .9rem var(--body); }
.track-title small { color: #717976; font-size: .66rem; }
.track audio { width: 100%; height: 34px; }

.site-footer { padding: 65px 0 35px; border-top: 1px solid var(--line); background: #060707; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px; }
.footer-brand img { width: 80px; margin-bottom: 18px; }
.footer-brand p, .footer-signoff p { color: #757d7a; font-size: .75rem; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 8px; }
.footer-grid a { color: #969e9b; font-size: .8rem; }
.footer-grid a:hover { color: var(--orange); }
.footer-label { margin-bottom: 8px; color: #fff; font: 700 .65rem var(--body); text-transform: uppercase; letter-spacing: .14em; }
.footer-signoff { text-align: right; }
.footer-signoff span { color: var(--green); font: 700 .65rem var(--body); letter-spacing: .12em; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .hero { height: auto; min-height: 850px; padding: 145px 0 95px; }
  .hero-grid { grid-template-columns: 1fr .82fr; gap: 25px; }
  .hero-stage { min-height: 450px; }
  .orbit-one { width: 380px; } .orbit-two { width: 280px; }
  .server-detail { grid-template-columns: 125px 1fr; }
  .connection-panel { grid-column: 1 / -1; }
  .game-grid { grid-template-columns: repeat(3, 1fr); }
  .map-hero-grid { gap: 35px; }
}

@media (max-width: 820px) {
  .site-width { width: min(100% - 32px, 680px); }
  .site-header { top: 9px; height: 64px; }
  .brand img { width: 38px; height: 38px; }
  .brand small { display: none; }
  .menu-toggle { width: 45px; height: 45px; margin-left: auto; display: grid; place-content: center; gap: 4px; cursor: pointer; }
  .menu-toggle span { width: 21px; height: 2px; display: block; background: #fff; transition: transform .2s, opacity .2s; }
  .menu-toggle b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .site-nav { position: absolute; top: calc(100% + 8px); left: 0; right: 0; padding: 12px; display: grid; border: 1px solid var(--line); border-radius: 10px; background: rgba(9,10,10,.98); opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .2s, transform .2s; }
  .site-nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .site-nav a { padding: 13px; }
  .site-nav a::after { display: none; }
  .site-nav a.active { color: var(--orange); background: rgba(243,107,33,.07); }
  .header-cta { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { position: relative; z-index: 2; }
  .hero-stage { min-height: 390px; margin-top: -30px; opacity: .85; }
  .scroll-cue { display: none; }
  .section { padding: 80px 0; }
  .section-heading, .manifesto-grid { grid-template-columns: 1fr; gap: 28px; }
  .world-grid { grid-template-columns: 1fr; }
  .manifesto-mark { height: 330px; }
  .sound-strip { grid-template-columns: 70px 1fr; padding: 28px; }
  .sound-strip .button { grid-column: 1 / -1; }
  .value-grid { grid-template-columns: 1fr; }
  .value-card { min-height: 220px; }
  .value-card h2, .value-card h3 { margin-top: 35px; }
  .game-grid { grid-template-columns: repeat(2, 1fr); }
  .album-panel { grid-template-columns: 1fr; padding: 28px; }
  .album-art { max-width: 330px; width: 100%; margin-inline: auto; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-signoff { grid-column: 1 / -1; text-align: left; }
  .map-hero { min-height: auto; padding-top: 135px; }
  .map-hero-grid { grid-template-columns: 1fr; }
  .map-console { min-height: 530px; }
  .map-info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 570px) {
  .site-width { width: calc(100% - 26px); }
  h1 { font-size: clamp(3.55rem, 18vw, 5.4rem); }
  .hero { padding-top: 125px; }
  .hero-actions { display: grid; }
  .hero-stats { margin-top: 38px; display: grid; grid-template-columns: repeat(3, 1fr); }
  .hero-stats > div { min-width: 0; padding-right: 10px; }
  .hero-stats > div + div { padding-left: 10px; }
  .hero-stats span { font-size: .57rem; }
  .hero-stage { min-height: 315px; }
  .orbit-one { width: 295px; } .orbit-two { width: 215px; }
  .signal-card { min-width: 112px; padding: 9px; }
  .signal-top { right: -4px; } .signal-bottom { left: -4px; }
  .world-card { grid-template-rows: 230px 1fr; }
  .world-art img { width: 145px; height: 145px; }
  .world-body { padding: 23px; }
  .world-actions { align-items: flex-start; flex-direction: column; }
  .manifesto-mark span { font-size: 7rem; }
  .sound-strip { grid-template-columns: 1fr; text-align: center; }
  .sound-icon { height: 55px; }
  .sound-strip .button { grid-column: auto; }
  .page-hero { min-height: 420px; padding-top: 145px; }
  .server-detail { padding: 24px; grid-template-columns: 1fr; gap: 22px; }
  .server-icon { height: 130px; }
  .connection-panel { grid-column: auto; }
  .game-grid { grid-template-columns: 1fr 1fr; }
  .game-chip { min-height: 140px; padding: 17px; }
  .track { grid-template-columns: 26px 1fr 45px; }
  .track audio { grid-column: 1 / -1; }
  .server-note { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px; }
  .footer-brand, .footer-signoff { grid-column: 1 / -1; }
  .map-hero { padding-bottom: 70px; }
  .map-back { margin-bottom: 30px; }
  .map-console { min-height: 500px; padding: 20px; }
  .map-console-head { left: 20px; right: 20px; }
  .map-console-head b { display: none; }
  .map-orb { width: 255px; }
  .seed-copy code { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

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

/* Self-hosted Valheim world map */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.world-map-page { min-height: 100vh; padding-bottom: 100px; background: radial-gradient(circle at 78% 12%, rgba(72,217,208,.12), transparent 32rem), linear-gradient(180deg, #080b0b, #060808); }
.world-map-header { padding: 145px 0 48px; }
.world-map-header .map-back { margin-bottom: 34px; }
.world-map-heading { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); align-items: end; gap: 55px; }
.world-map-heading h1 { margin: 14px 0 0; font-size: clamp(4.2rem, 8vw, 7.2rem); line-height: .78; }
.world-map-heading h1 em { color: var(--cyan); font-style: normal; }
.world-map-heading p { margin: 0 0 4px; color: var(--muted); font-size: .94rem; }
.world-map-workspace { min-height: 760px; display: grid; grid-template-columns: 315px minmax(0, 1fr); border: 1px solid rgba(72,217,208,.2); border-radius: 16px; background: #081011; box-shadow: 0 38px 100px rgba(0,0,0,.45); overflow: hidden; }
.world-map-sidebar { position: relative; z-index: 2; padding: 24px; display: flex; flex-direction: column; border-right: 1px solid rgba(255,255,255,.09); background: linear-gradient(180deg, #0c1212, #080b0b); }
.map-side-section + .map-side-section { margin-top: 24px; padding-top: 23px; border-top: 1px solid rgba(255,255,255,.09); }
.map-side-label, .map-side-title > span { display: block; color: #9ba5a1; font-size: .63rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.map-side-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.map-side-title button { padding: 0; color: var(--cyan); background: none; border: 0; font-size: .6rem; font-weight: 800; text-transform: uppercase; cursor: pointer; }
.map-filter-search { position: relative; margin-top: 11px; display: block; }
.map-filter-search::before { content: "⌕"; position: absolute; left: 10px; top: 50%; color: #68736f; font-size: .85rem; transform: translateY(-52%); }
.map-filter-search input { width: 100%; padding: 9px 10px 9px 28px; color: #d9dfdc; background: #070a0a; border: 1px solid rgba(255,255,255,.1); border-radius: 5px; outline: 0; font-size: .65rem; }
.map-filter-search input:focus { border-color: rgba(72,217,208,.5); }
.map-seed-form { margin-top: 9px; display: grid; grid-template-columns: minmax(0, 1fr) auto; border: 1px solid rgba(72,217,208,.27); border-radius: 6px; overflow: hidden; }
.map-seed-form input { min-width: 0; padding: 11px 10px; color: #fff; background: #050808; border: 0; outline: 0; font: 700 .78rem ui-monospace, SFMono-Regular, Consolas, monospace; }
.map-seed-form button { padding: 0 10px; color: #061010; background: var(--cyan); border: 0; font-size: .61rem; font-weight: 900; text-transform: uppercase; cursor: pointer; }
.map-seed-form button:disabled { opacity: .5; cursor: wait; }
.map-copy-seed { width: 100%; margin-top: 7px; padding: 8px 10px; display: flex; align-items: center; justify-content: space-between; color: #8c9692; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.08); border-radius: 5px; font-size: .64rem; font-weight: 800; text-transform: uppercase; cursor: pointer; }
.map-copy-seed:hover:not(:disabled) { color: #fff; border-color: rgba(72,217,208,.3); }
.map-copy-seed:disabled { opacity: .35; cursor: default; }
.map-copy-seed b { color: var(--cyan); }
.map-seed-sync { margin: 9px 0 0; color: #65706c; font-size: .61rem; line-height: 1.5; }
.map-seed-warning { color: #bd7b55; }
.map-filter-list { margin-top: 12px; display: grid; gap: 5px; }
.map-filter-group { min-width: 0; border-radius: 5px; }
.map-filter-group[hidden] { display: none; }
.map-filter-row { display: grid; grid-template-columns: minmax(0, 1fr) 31px; gap: 0; overflow: hidden; border: 1px solid transparent; border-radius: 5px; background: rgba(255,255,255,.02); transition: background .15s, border-color .15s; }
.map-filter-row:hover { background: rgba(255,255,255,.04); }
.map-filter-row:has(.map-filter > input:checked) { border-color: rgba(255,255,255,.1); background: rgba(255,255,255,.045); }
.map-filter { position: relative; min-width: 0; padding: 9px 10px; display: grid; grid-template-columns: 9px minmax(0, 1fr) auto; align-items: center; gap: 9px; border: 1px solid transparent; border-radius: 5px; color: #848e8a; background: rgba(255,255,255,.02); font-size: .7rem; cursor: pointer; transition: color .15s, background .15s, border-color .15s; }
.map-filter:hover { color: #fff; background: transparent; }
.map-filter:has(input:checked) { color: #fff; border-color: transparent; background: transparent; }
.map-filter input { position: absolute; opacity: 0; pointer-events: none; }
.map-filter i { width: 8px; height: 8px; border: 2px solid #4b5551; border-radius: 50%; }
.map-filter:has(input:checked) i { border-color: currentColor; background: currentColor; box-shadow: 0 0 8px currentColor; }
.map-filter.spawn i { color: #f7ca64; }.map-filter.bosses i { color: #ff6b37; }.map-filter.traders i { color: #48d9d0; }.map-filter.dungeons i { color: #b48cff; }.map-filter.locations i { color: #d7dedb; }
.map-filter b { color: #59635f; font-size: .6rem; font-weight: 700; }
.map-filter[hidden] { display: none; }
.map-filter.pending { opacity: .45; cursor: wait; }
.map-filter.pending b { color: var(--cyan); }
.map-filter.dvergr i { color: #45b8df; }.map-filter.runestones i { color: #f0d46c; }.map-filter.graves i { color: #c2c8c5; }.map-filter.ruins i { color: #ad8068; }.map-filter.natural i { color: #70c27a; }.map-filter.camps i { color: #e79b52; }.map-filter.mysteries i { color: #a070d0; }
.map-filter-expand { display: grid; place-items: center; color: #65706c; background: transparent; border: 0; border-left: 1px solid rgba(255,255,255,.055); cursor: pointer; transition: color .15s, background .15s; }
.map-filter-expand:hover:not(:disabled) { color: var(--cyan); background: rgba(72,217,208,.07); }
.map-filter-expand:disabled { opacity: .16; border-left-color: transparent; cursor: default; }
.map-filter-expand span { width: 6px; height: 6px; display: block; overflow: hidden; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; font-size: 0; transform: translateY(-2px) rotate(45deg); transition: transform .18s ease; }
.map-filter-expand[aria-expanded="true"] span { transform: translateY(2px) rotate(225deg); }
.map-subfilter-list { margin: 4px 0 4px 13px; padding: 3px 0 3px 9px; display: grid; gap: 2px; border-left: 1px solid rgba(72,217,208,.16); }
.map-subfilter-list[hidden] { display: none; }
.map-subfilter { position: relative; min-width: 0; padding: 7px 8px; display: grid; grid-template-columns: 7px minmax(0,1fr) auto; align-items: center; gap: 8px; color: #68736f; border-radius: 4px; font-size: .62rem; cursor: pointer; transition: color .15s, background .15s; }
.map-subfilter:hover { color: #dbe3df; background: rgba(255,255,255,.035); }
.map-subfilter:has(input:checked) { color: #aeb8b4; }
.map-subfilter input { position: absolute; opacity: 0; pointer-events: none; }
.map-subfilter i { width: 7px; height: 7px; border: 1px solid #4b5551; border-radius: 50%; }
.map-subfilter:has(input:checked) i { border-color: var(--cyan); background: var(--cyan); box-shadow: 0 0 6px rgba(72,217,208,.55); }
.map-subfilter span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.map-subfilter b { color: #4f5955; font-size: .56rem; }
.map-subfilter[hidden] { display: none; }
.map-filter-progress { position: absolute; z-index: 5; top: 18px; left: 18px; max-width: calc(100% - 215px); margin: 0; padding: 8px 11px 8px 25px; color: #a1aca8; border: 1px solid rgba(255,255,255,.12); border-radius: 5px; background: rgba(4,9,9,.82); font: 600 .6rem/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; backdrop-filter: blur(10px); pointer-events: none; }
.map-filter-progress::before { content: ""; position: absolute; top: 50%; left: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 9px var(--cyan); transform: translateY(-50%); animation: mapStatusPulse 1.2s ease-in-out infinite alternate; }
.map-key { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 10px; }
.map-key .map-side-label { grid-column: 1 / -1; margin-bottom: 4px; }
.map-key div { display: flex; align-items: center; gap: 7px; color: #7e8884; font-size: .61rem; }
.map-key i { width: 8px; height: 8px; border-radius: 2px; }
.map-key .meadows { background: #71883b; }.map-key .forest { background: #2e4f23; }.map-key .swamp { background: #55402d; }.map-key .mountain { background: #d7dfdf; }.map-key .plains { background: #ca8e43; }.map-key .mistlands { background: #695b65; }.map-key .ashlands { background: #59251c; }.map-key .north { background: #b9cdcf; }
.map-engine-credit { margin: auto 0 0; padding-top: 28px; color: #4d5753; font-size: .56rem; line-height: 1.55; }
.map-stage { position: relative; min-width: 0; min-height: 760px; overflow: hidden; isolation: isolate; background: #071113; touch-action: none; }
.map-stage::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; box-shadow: inset 0 0 80px 12px rgba(0,0,0,.48); }
.map-stage:fullscreen { width: 100vw; height: 100vh; }
.map-stage:fullscreen .map-canvas { width: 100%; height: 100%; }
.map-canvas { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; cursor: grab; }
.map-stage.dragging .map-canvas { cursor: grabbing !important; }
.map-loading { position: absolute; inset: 0; z-index: 7; padding: 30px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #84908b; background: radial-gradient(circle, rgba(23,62,59,.58), rgba(5,10,10,.97) 55%); text-align: center; }
.map-loading[hidden] { display: none; }
.map-loading-rune { width: 92px; height: 92px; margin-bottom: 22px; display: grid; place-items: center; color: var(--cyan); border: 1px solid rgba(72,217,208,.38); border-radius: 50%; font: 500 2.8rem var(--display); box-shadow: 0 0 45px rgba(72,217,208,.15), inset 0 0 25px rgba(72,217,208,.08); animation: mapPulse 1.6s ease-in-out infinite alternate; }
.map-loading strong { color: #fff; font: 700 1.9rem var(--display); }
.map-loading span { max-width: 440px; margin-top: 8px; font-size: .72rem; }
.map-loading-bar { width: min(270px, 70%); height: 2px; margin-top: 25px; overflow: hidden; background: rgba(255,255,255,.08); }
.map-loading-bar i { width: 42%; height: 100%; display: block; background: var(--cyan); animation: mapLoad 1.4s ease-in-out infinite; }
.map-loading[data-mode="error"] .map-loading-rune { color: var(--orange); border-color: rgba(243,107,33,.4); animation: none; }
.map-loading[data-mode="error"] .map-loading-bar { display: none; }
@keyframes mapPulse { to { transform: scale(1.06) rotate(8deg); box-shadow: 0 0 65px rgba(72,217,208,.28), inset 0 0 32px rgba(72,217,208,.12); } }
@keyframes mapLoad { from { transform: translateX(-110%); } to { transform: translateX(340%); } }
@keyframes mapStatusPulse { to { opacity: .38; } }
.map-toolbar { position: absolute; z-index: 5; top: 18px; right: 18px; display: grid; grid-template-columns: repeat(4, 38px); border: 1px solid rgba(255,255,255,.16); border-radius: 7px; background: rgba(4,9,9,.86); backdrop-filter: blur(12px); overflow: hidden; }
.map-toolbar button { width: 38px; height: 38px; color: #dbe2df; background: transparent; border: 0; border-left: 1px solid rgba(255,255,255,.1); font-size: 1rem; cursor: pointer; }
.map-toolbar button:first-child { border-left: 0; }
.map-toolbar button:hover { color: #061010; background: var(--cyan); }
.map-coordinate { position: absolute; z-index: 5; left: 18px; bottom: 18px; padding: 8px 10px; color: #94a09b; border: 1px solid rgba(255,255,255,.12); border-radius: 5px; background: rgba(4,9,9,.82); font: 600 .62rem ui-monospace, SFMono-Regular, Consolas, monospace; backdrop-filter: blur(10px); }
.map-brand { position: absolute; z-index: 5; right: 18px; bottom: 18px; display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.35); font-size: .56rem; letter-spacing: .12em; }
.map-brand span { color: rgba(72,217,208,.7); font: 800 1rem var(--display); }
.map-tooltip { position: absolute; z-index: 8; width: 205px; padding: 10px 12px; pointer-events: none; color: #fff; border: 1px solid rgba(72,217,208,.32); border-radius: 6px; background: rgba(4,9,9,.94); box-shadow: 0 12px 30px rgba(0,0,0,.4); }
.map-tooltip[hidden] { display: none; }
.map-tooltip strong, .map-tooltip span { display: block; }
.map-tooltip strong { overflow: hidden; font-size: .72rem; text-overflow: ellipsis; white-space: nowrap; }
.map-tooltip span { margin-top: 4px; color: #85918c; font-size: .57rem; }

/* Public 7 Days to Die world map */
.d7-map-page { background: radial-gradient(circle at 78% 12%, rgba(243,107,33,.13), transparent 34rem), linear-gradient(180deg, #0b0908, #070605); }
.d7-map-page .world-map-heading h1 em, .d7-map-page .map-side-title button, .d7-map-page .map-copy-seed b, .d7-map-page .map-brand span { color: var(--orange); }
.d7-map-page .world-map-workspace { border-color: rgba(243,107,33,.25); background: #100b09; }
.d7-map-page .world-map-sidebar { background: linear-gradient(180deg, #15100d, #0a0807); }
.d7-map-page .map-stage { background: #090705; }
.d7-map-page .map-filter-search input:focus, .d7-map-page .map-copy-seed:hover { border-color: rgba(243,107,33,.55); }
.d7-map-page .map-filter-progress::before, .d7-map-page .map-loading-bar i { background: var(--orange); box-shadow: 0 0 9px var(--orange); }
.d7-map-page .map-loading { background: radial-gradient(circle, rgba(93,42,18,.56), rgba(10,7,5,.97) 57%); }
.d7-map-page .map-loading-rune { color: var(--orange); border-color: rgba(243,107,33,.42); border-radius: 8px; box-shadow: 0 0 45px rgba(243,107,33,.17), inset 0 0 25px rgba(243,107,33,.08); }
.d7-map-page .map-toolbar button:hover { color: #160803; background: var(--orange); }
.d7-map-page .map-tooltip { border-color: rgba(243,107,33,.38); background: rgba(10,7,5,.95); }
.d7-map-page .map-filter:has(input:checked) i, .d7-map-page .map-subfilter:has(input:checked) i { color: var(--marker-color); border-color: var(--marker-color); background: var(--marker-color); box-shadow: 0 0 7px color-mix(in srgb, var(--marker-color), transparent 35%); }
.d7-map-page .map-filter-expand:hover { color: var(--orange); background: rgba(243,107,33,.08); }
.d7-map-page .map-subfilter-list { max-height: 320px; overflow: auto; border-left-color: rgba(243,107,33,.22); scrollbar-width: thin; scrollbar-color: rgba(243,107,33,.35) transparent; }
.d7-world-card > strong { margin-top: 9px; display: block; color: #fff; font: 700 1.35rem var(--display); }
.d7-world-card dl { margin: 15px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.d7-world-card dl div { min-width: 0; padding: 8px; border: 1px solid rgba(255,255,255,.075); border-radius: 4px; background: rgba(255,255,255,.02); }
.d7-world-card dt { color: #6f6863; font-size: .51rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.d7-world-card dd { margin: 3px 0 0; overflow: hidden; color: #dad5d1; font: 700 .61rem ui-monospace, SFMono-Regular, Consolas, monospace; text-overflow: ellipsis; }
.d7-biome-key .d7-forest { background: #1f492b; }.d7-biome-key .d7-desert { background: #af8946; }.d7-biome-key .d7-snow { background: #aabbbd; }.d7-biome-key .d7-burnt { background: #5b3740; }.d7-biome-key .d7-waste { background: #564231; }.d7-biome-key .d7-road { background: #b0743e; }
.d7-map-link { border-color: rgba(243,107,33,.35); background: rgba(243,107,33,.06); }
.d7-map-link:hover { border-color: var(--orange); background: rgba(243,107,33,.12); }
.d7-map-link span { color: var(--orange); }

@media (max-width: 720px) {
  .d7-map-page .world-map-sidebar { order: 2; }
  .d7-map-page .map-stage { order: 1; }
  .d7-map-page .map-filter-list { max-height: 390px; padding-right: 3px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(243,107,33,.35) transparent; }
}

@media (max-width: 950px) {
  .world-map-heading { grid-template-columns: 1fr; gap: 22px; }
  .world-map-heading p { max-width: 650px; }
  .world-map-workspace { grid-template-columns: 1fr; overflow: visible; }
  .world-map-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.09); border-radius: 16px 16px 0 0; }
  .map-side-section + .map-side-section { margin: 0; padding: 0; border: 0; }
  .map-key, .map-engine-credit { display: none; }
  .map-stage { min-height: min(78vh, 760px); border-radius: 0 0 16px 16px; }
}

@media (max-width: 620px) {
  .world-map-page { padding-bottom: 60px; }
  .world-map-header { padding: 125px 0 32px; }
  .world-map-header .map-back { margin-bottom: 24px; }
  .world-map-heading h1 { font-size: clamp(3.7rem, 18vw, 5.6rem); }
  .world-map-heading p { font-size: .83rem; }
  .world-map-workspace { width: 100%; border-right: 0; border-left: 0; border-radius: 0; }
  .world-map-sidebar { padding: 18px 14px; grid-template-columns: 1fr; border-radius: 0; }
  .map-filter-list { grid-template-columns: 1fr; }
  .map-filter { padding: 8px; }
  .map-stage { min-height: 69vh; border-radius: 0; }
  .map-toolbar { top: 10px; right: 10px; grid-template-columns: repeat(4, 36px); }
  .map-toolbar button { width: 36px; height: 36px; }
  .map-filter-progress { top: 56px; right: 10px; left: 10px; max-width: none; }
  .map-coordinate { left: 10px; bottom: 10px; }
  .map-brand { right: 10px; bottom: 14px; }
  .map-brand b { display: none; }
  .map-loading { padding: 20px; }
  .map-loading strong { font-size: 1.55rem; }
}

@media (max-width: 430px) {
  .map-filter-list { grid-template-columns: 1fr; }
}
