@font-face { font-family: "Outfit"; src: url("/a/outfit.3f66efa418.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
/* Tokens: the landing page's (website/styles.css), fixed light theme like aerlore.io. */
:root {
  color-scheme: light;
  --paper: #ffffff; --surface: #ffffff; --ink: #263e5d; --muted: #60748c; --line: #dce7f1; --pale: #f1f7fc;
  --gold: #ffd477; --gold-hover: #ffca56; --gold-edge: #d6a344; --blue: #315e96; --link: #2a62a8;
  --font: "Outfit", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 130px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.65 var(--font); }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }
img { max-width: 100%; }
h1, h2, h3 { font-weight: 600; line-height: 1.2; text-wrap: balance; margin: 0 0 .5em; }
h1 { font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -1px; }
h2 { font-size: 22px; letter-spacing: -.3px; margin-top: 1.4em; }
.card > h2:first-child { margin-top: 0; }
p { margin: 0 0 .9em; }
:focus-visible { outline: 3px solid #3677c7; outline-offset: 3px; }
.wrap { width: min(1152px, calc(100% - 48px)); margin-inline: auto; }
.wrap.wide { width: min(1400px, calc(100% - 48px)); }
.muted { color: var(--muted); }
.small { font-size: 13px; color: var(--muted); }
.lead { font-size: 17px; color: var(--muted); max-width: 760px; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 20; background: var(--surface); padding: 12px 20px; transform: translateY(-160%); }
.skip-link:focus { transform: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: #ffffffee; backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; flex-shrink: 0; }
.brand:hover { text-decoration: none; }
.brand img { width: 132px; height: 44px; object-fit: contain; }
.brand span { font-size: 13px; padding: 2px 8px; border-radius: 6px; background: var(--pale); border: 1px solid var(--line); color: var(--blue); }
.actions { display: flex; align-items: center; gap: 18px; margin-left: auto; font-size: 14px; font-weight: 500; }
.nav-discord { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); min-height: 44px; }
.icon { width: 20px; height: 20px; }
.m-search { display: none; color: var(--ink); }
.tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; }
.tabs a { padding: 6px 12px; border-radius: 9px; color: var(--ink); font-size: 14px; font-weight: 500; white-space: nowrap; }
.tabs a:hover { background: var(--pale); text-decoration: none; }
.tabs a[aria-current] { background: var(--pale); color: var(--blue); box-shadow: inset 0 -2px 0 var(--gold-edge); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 10px 24px; border: 1px solid var(--gold-edge); border-radius: 12px; background: linear-gradient(180deg, #ffdf94, var(--gold)); color: #354568; box-shadow: 0 3px 0 #c9983e, inset 0 1px 0 #fff0c9; font: 600 15px/1.4 var(--font); white-space: nowrap; transition: box-shadow 180ms, transform 180ms; }
.button:hover { text-decoration: none; background: var(--gold-hover); transform: translateY(-1px); box-shadow: 0 4px 0 #c9983e, 0 7px 18px #ccac6230; }
.button:active { transform: translateY(2px); box-shadow: 0 1px 0 #c9983e; }
.button-small { min-height: 38px; padding: 6px 20px; border-radius: 10px; font-size: 14px; }

/* Search */
.search { position: relative; flex: 1; max-width: 460px; }
.search input { width: 100%; height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--pale); font: inherit; font-size: 14px; color: var(--ink); }
.search input:focus { background: #fff; border-color: #9cbde0; outline: none; box-shadow: 0 0 0 3px #3677c733; }
.search.big { max-width: 560px; margin-top: 22px; }
.search.big input { height: 54px; font-size: 16px; border-radius: 12px; background: #fff; box-shadow: 0 6px 24px #315e9618; }
.results { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 36px #263e5d26; max-height: 70vh; overflow-y: auto; z-index: 30; padding: 6px; }
.results.open { position: static; box-shadow: none; max-height: none; margin-top: 16px; }
.results a { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 8px; color: var(--ink); font-size: 14px; }
.results a:hover, .results a.sel { background: var(--pale); text-decoration: none; }
.results .k { margin-left: auto; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.results .none { padding: 10px; color: var(--muted); font-size: 14px; }

/* Main */
main { padding: 26px 0 60px; min-height: 60vh; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--muted); }
.crumbs span { margin: 0 4px; opacity: .6; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; margin: 18px 0; }
section.card h2 .count { font-size: 14px; color: var(--muted); font-weight: 500; margin-left: 4px; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
ul.cols2 { columns: 2; padding-left: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 6px; }
.chips a { padding: 5px 12px; border-radius: 999px; background: var(--pale); border: 1px solid var(--line); font-size: 13px; color: var(--ink); }

/* Tables */
.scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th { text-align: left; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data td { padding: 7px 10px; border-bottom: 1px solid #edf2f7; vertical-align: middle; }
table.data tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: #f7fbfe; }
table.list { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.chance { font-weight: 600; font-variant-numeric: tabular-nums; }
.ilink { display: inline-flex; align-items: center; gap: 8px; }
.ico { width: 32px; height: 32px; image-rendering: pixelated; border-radius: 6px; background: #f1f6fb; flex-shrink: 0; display: inline-block; }
.ico.mon { image-rendering: auto; object-fit: contain; background: none; }
.ico.ph { background: var(--pale); border: 1px dashed var(--line); }
.glow { text-shadow: 0 0 1px #6b5200, 0 0 2px #6b5200; }
.el { display: inline-block; padding: 1px 8px; border-radius: 6px; font-size: 12px; font-weight: 600; }
.el-fire { background: #ffe3dc; color: #b3361b; } .el-water { background: #dceeff; color: #1d5c9e; }
.el-electricity { background: #fff3c4; color: #8a6a00; } .el-wind { background: #e2f7e6; color: #2b7a3b; }
.el-earth { background: #f1e6d8; color: #7b5326; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 14px 0; padding: 12px; background: var(--pale); border: 1px solid var(--line); border-radius: 14px; font-size: 14px; }
.filters input, .filters select { height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: 9px; background: #fff; font: inherit; font-size: 14px; color: var(--ink); }
.filters input[type=search] { flex: 1; min-width: 180px; }
.filters input[type=number] { width: 72px; }
.filters label { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.filters .shown { margin-left: auto; color: var(--muted); font-size: 13px; }

/* Tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin: 12px 0 8px; }
.tile { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); transition: box-shadow 180ms, transform 180ms, border-color 180ms; }
.tile:hover { text-decoration: none; border-color: #bcd3ea; box-shadow: 0 8px 22px #315e961a; transform: translateY(-1px); }
.tile b { font-weight: 600; }
.tile span { margin-left: auto; font-size: 13px; color: var(--muted); }
.tile.big, .tile.wide { flex-direction: column; align-items: flex-start; gap: 4px; padding: 18px 20px; }
.tile.big b { font-size: 19px; }
.tile.big span, .tile.wide span { margin-left: 0; }

/* Entity heads */
.hero-item { display: grid; grid-template-columns: auto 1fr minmax(220px, 300px); gap: 22px; align-items: start; background: linear-gradient(180deg, #f4faff, #fff 70%); }
.big-icon { width: 96px; height: 96px; display: grid; place-items: center; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: inset 0 0 0 4px var(--pale); }
.big-icon .ico { width: 64px; height: 64px; background: none; }
.big-icon.mon img { width: 88px; height: 88px; object-fit: contain; }
.hero-item h1 { margin-bottom: 6px; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: 14px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; }
.quest-head .facts { max-width: 760px; }
.stats { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.stats li { padding: 3px 10px; border-radius: 8px; background: #eaf7ee; color: #1f6d36; font-size: 14px; font-weight: 500; }
ul.rewards { list-style: none; padding: 0; display: grid; gap: 8px; }
.set .pieces { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 6px; }
.set .pieces li.here { background: #fff7df; border-radius: 8px; }
.set .bonus th { text-transform: none; font-size: 14px; color: var(--ink); width: 110px; }

/* Maps */
.mapbox { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #cfe6f7; }
.mapbox img { position: absolute; inset: 0; width: 100%; height: 100%; }
.pin { position: absolute; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 1px 3px #0006; display: inline-block; }
.pin.npc { background: #f2b632; } .pin.mob { background: #d9473a; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; }
.pin.you { background: #2a62a8; width: 18px; height: 18px; margin: -9px 0 0 -9px; animation: pulse 1.4s ease-in-out infinite; }
.legend .pin { position: static; margin: 0 4px 0 12px; vertical-align: middle; animation: none; }
.maplabel { position: absolute; transform: translate(-50%, -50%); font-size: clamp(9px, 1vw, 13px); font-weight: 600; color: #fff; text-shadow: 0 0 3px #000, 0 0 2px #000; white-space: nowrap; pointer-events: none; }
@keyframes pulse { 50% { transform: scale(1.35); } }
.mapgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.mapcard { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; color: var(--ink); background: #fff; }
.mapcard:hover { text-decoration: none; box-shadow: 0 8px 22px #315e961a; }
.mapcard img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.mapcard b { padding: 10px 14px 0; } .mapcard span { padding: 0 14px 12px; font-size: 13px; color: var(--muted); }

/* Events */
.evhead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.evhead h2 { margin: 0; }
.badge { padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--pale); }
.b-scheduled { background: #e2f7e6; color: #1f6d36; } .b-gm { background: #fff3c4; color: #7a5d00; }
.b-disabled { background: #f1f1f1; color: #777; } .b-always { background: #dceeff; color: #1d5c9e; }
.event .facts { margin: 10px 0; }

/* Guides & prose */
.guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.guide-card { display: flex; flex-direction: column; gap: 4px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; color: var(--ink); background: #fff; padding-bottom: 14px; }
.guide-card:hover { text-decoration: none; box-shadow: 0 8px 22px #315e961a; }
.guide-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.guide-card b, .guide-card span { padding: 0 16px; } .guide-card b { padding-top: 12px; }
.guide-card span { font-size: 14px; color: var(--muted); }
.prose { max-width: 780px; }
.prose figure { margin: 20px 0; } .prose figure img, .guide-hero { border-radius: 16px; border: 1px solid var(--line); display: block; }
.prose figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }
.prose blockquote { margin: 16px 0; padding: 12px 18px; border-left: 4px solid var(--gold-edge); background: #fffaf0; border-radius: 0 12px 12px 0; }
.prose code { background: var(--pale); padding: 1px 6px; border-radius: 5px; font-size: .92em; }
.prose pre { background: var(--pale); padding: 14px; border-radius: 12px; overflow-x: auto; }

/* Home */
.home-hero { position: relative; border-radius: 22px; overflow: hidden; min-height: 400px; display: flex; align-items: center; margin-bottom: 18px; }
.home-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.home-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #f4fafff7, #f4faffd0 40%, #f4faff00 75%); }
.home-copy { position: relative; z-index: 2; padding: 40px 44px; max-width: 640px; }
.hero-intro { font-size: 14px; font-weight: 500; color: #4d6b8a; }
.home-copy h1 { font-size: clamp(36px, 4.4vw, 58px); letter-spacing: -1.8px; line-height: 1.05; }
.home-copy > p { color: #4c6380; max-width: 470px; }
.welcome { display: flex; gap: 28px; align-items: center; background: var(--pale); }
.welcome img { border-radius: 16px; width: 280px; height: auto; }

.site-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; padding-block: 32px; border-top: 1px solid var(--line); }
.site-footer p { margin: 0; color: var(--muted); font-size: 12px; flex: 1; min-width: 260px; }
.site-footer nav { display: flex; gap: 16px; font-size: 13px; }

@media (max-width: 900px) {
  .hero-item { grid-template-columns: auto 1fr; }
  .hero-item .facts { grid-column: 1 / -1; }
  .cols { grid-template-columns: 1fr; }
  .search:not(.big) { display: none; }
  .m-search { display: inline-flex; align-items: center; min-height: 44px; }
}
@media (max-width: 640px) {
  .wrap, .wrap.wide { width: calc(100% - 32px); }
  .bar { height: 60px; gap: 12px; }
  .brand img { width: 108px; height: 36px; }
  .nav-discord span { display: none; }
  .card { padding: 16px; border-radius: 14px; }
  .hero-item { grid-template-columns: 1fr; }
  .big-icon { width: 80px; height: 80px; }
  .home-hero { min-height: 0; }
  .home-hero > img { opacity: .35; }
  .home-copy { padding: 28px 20px; }
  .welcome { flex-direction: column; align-items: flex-start; }
  .welcome img { width: 100%; }
  ul.cols2 { columns: 1; }
  .filters input[type=search] { min-width: 100%; }
  table.data { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .tile, .button { transition: none; } .pin.you { animation: none; } }
