*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#1a1a1a;color:#f0f0f0;font:1.05rem/1.6 Georgia,'Times New Roman',serif}a{color:#ffd700;text-decoration:none}a:hover{color:#fff200}a:focus-visible,.map-scroll:focus-visible{outline:3px solid #ffd700;outline-offset:3px}.workspace{display:grid;grid-template-columns:300px minmax(0,1fr) 300px;gap:1rem;padding:1rem;min-height:100svh;align-items:stretch}.sidebar{background:#252525;border:1px solid #665a3c;border-radius:12px;padding:1.25rem;min-width:0;overflow-wrap:anywhere}.eyebrow{font: .78rem/1.5 system-ui,sans-serif;letter-spacing:.1em;color:#d1bf8a}h1{font-size:2.7rem;color:#e5c100;line-height:1.1;margin:.8rem 0 1.2rem}h2{font-size:1.3rem;color:#e5c100;line-height:1.3}p{margin:.8rem 0 1.2rem}nav{display:grid;gap:.6rem;margin:1.5rem 0}nav a{padding:.65rem;border:1px solid #665a3c;border-radius:6px;min-height:44px}nav a:hover{background:#383329}.small,.status{font-size:.9rem;color:#c8bea3}.status{font-style:italic}.map-panel{min-width:0;min-height:0}.map-scroll{height:100%;overflow:auto;border:1px solid #665a3c;border-radius:12px;background:#222720}.map-art{position:relative;width:max(100%,calc((100svh - 2rem)*1.5));min-height:100%;aspect-ratio:3/2}.map-art img{display:block;width:100%;height:auto}.marker{position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%);color:#302619;background:#fff3d4f2;box-shadow:0 3px 12px #0006;border:2px solid #725b29;border-radius:8px;padding:.5rem .7rem;text-align:center;font-weight:bold;font-size:clamp(.9rem,1.1vw,1.1rem);min-height:44px;max-width:230px;line-height:1.25}.marker span{display:block;font-size:.75rem;font-weight:normal;margin-top:.25rem}.marker:hover{color:#302619;background:#ffe49b;outline:3px solid #ffd700}.discoveries section{border-top:1px solid #665a3c;padding:.6rem 0;scroll-margin-top:1rem}.discoveries section:target{background:#403824;border-radius:6px;outline:2px solid #e5c100;padding:.6rem}.discoveries section:focus{outline:2px solid #e5c100}@media(max-width:1199px){.workspace{grid-template-columns:1fr}.map-scroll{height:auto;max-height:75svh}.map-art{width:max(100%,900px);min-height:0}.sidebar{width:100%}nav{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:600px){.workspace{padding:.6rem;gap:.6rem}.sidebar{padding:1rem}nav{grid-template-columns:1fr}.map-art{width:900px}h1{font-size:2.2rem}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* Coordinates belong to the image, independent of sidebar content height. */
.map-art{min-height:0}

/* Highlight the current destination, matching the regional-map navigation convention. */
nav a[aria-current="page"] {
  background: #e5c100;
  border-color: #e5c100;
  color: #252525;
  font-weight: bold;
}
nav a[aria-current="page"]:hover {
  background: #f0ce24;
  border-color: #f0ce24;
  color: #252525;
}

/* Keep labels inside the artwork; preserve the illustrated map's scale. */
.map-art { container-type:inline-size; }
.marker {
  width:max-content;
  max-width:23%;
  font-size:clamp(.7rem,1.4cqw,1.1rem);
  padding:.45em .6em;
}
.marker span { font-size:.75em; }

/* An illustrated vignette on the Graphoria regional map. */
.clover-vignette {
  position: relative;
  width: min(100%, 16rem);
  aspect-ratio: 10 / 13;
  margin: .85rem auto 0;
}
.clover-vignette::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("tethered-meadow/meadow.jpg") 46% center / cover;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20130%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3Cfilter%20id%3D%22feather%22%3E%3CfeGaussianBlur%20stdDeviation%3D%222%22%2F%3E%3C%2Ffilter%3E%3C%2Fdefs%3E%3Cpath%20filter%3D%22url%28%23feather%29%22%20d%3D%22M13%2024Q16%2013%2028%2012Q36%205%2047%209Q59%203%2068%209Q80%207%2084%2017Q94%2019%2092%2031Q98%2040%2093%2050Q99%2062%2094%2072Q98%2083%2092%2091Q94%20103%2084%20111Q82%20120%2069%20121Q59%20128%2048%20123Q36%20128%2027%20120Q17%20121%2014%20110Q5%20105%209%2093Q2%2084%207%2072Q2%2062%208%2050Q3%2039%2010%2032Z%22%2F%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat;
}
.clover-vignette img {
  position: absolute;
  top: 56%;
  left: 50%;
  width: 78%;
  height: 68%;
  object-fit: contain;
  transform: translate(-50%, -50%);
}

@media (min-width: 1200px) {
  body[data-regional-map] .discoveries {
    display: flex;
    flex-direction: column;
  }
  body[data-regional-map] .clover-vignette {
    flex: 0 0 auto;
    width: min(100%, 16rem, 28dvh);
    margin-block: auto;
  }
}
