/* ============================================================
   Solar Eclipse — player's guide
   ============================================================ */

:root {
  --bg:        #08080f;
  --bg-alt:    #0d0d1a;
  --panel:     #14142400;
  --panel-2:   #151527;
  --border:    #262640;
  --border-2:  #33334f;
  --text:      #dcdcea;
  --text-dim:  #a0a0bb;
  --muted:     #7d7d99;
  --corona:    #f7b955;
  --corona-2:  #ff9b3d;
  --violet:    #8f7ce8;
  --radius:    14px;
  --wrap:      1160px;
  --font-body: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Cascadia Mono", "SF Mono", Consolas, "Liberation Mono", Menlo, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.68;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; }

a { color: var(--corona); text-decoration: none; border-bottom: 1px solid rgba(247,185,85,.35); }
a:hover { color: #ffd486; border-bottom-color: #ffd486; }

code {
  font-family: var(--font-mono);
  font-size: .88em;
  background: rgba(143,124,232,.13);
  border: 1px solid rgba(143,124,232,.22);
  border-radius: 5px;
  padding: .1em .38em;
  color: #c9bdf7;
  white-space: nowrap;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--corona); color: #14100a; padding: 10px 16px; z-index: 100; border: 0;
}
.skip:focus { left: 8px; top: 8px; }

/* ---------------------------------------------------------- hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 110px 0 96px;
  background:
    radial-gradient(90% 120% at 50% -10%, #1b1636 0%, #0b0b16 55%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 22px;
  text-align: center;
}

.eclipse {
  position: absolute;
  top: -140px; left: 50%;
  width: 460px; height: 460px;
  margin-left: -230px;
  border-radius: 50%;
  background: radial-gradient(circle,
      rgba(255,190,90,0) 45%,
      rgba(255,175,70,.42) 49%,
      rgba(255,140,60,.16) 55%,
      rgba(150,110,255,.10) 68%,
      rgba(0,0,0,0) 78%);
  filter: blur(.5px);
  z-index: 1;
  pointer-events: none;
}
.eclipse .disc {
  position: absolute;
  inset: 22.5%;
  border-radius: 50%;
  background: #06060c;
  box-shadow: 0 0 44px 10px rgba(255,170,70,.28);
}

.kicker {
  margin: 0 0 10px;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--corona);
  font-weight: 600;
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(2.9rem, 9vw, 5.2rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.02em;
  background: linear-gradient(180deg, #fff8ea 20%, var(--corona) 70%, var(--corona-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  max-width: 720px;
  margin: 0 auto;
  color: var(--text-dim);
  font-size: 1.08rem;
}

/* ---------------------------------------------------------- connect box */

.connect {
  max-width: 620px;
  margin: 36px auto 0;
  padding: 24px 26px 22px;
  text-align: left;
  background: rgba(21,21,39,.72);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px rgba(247,185,85,.08), 0 18px 50px -22px rgba(0,0,0,.9);
}

.connect-label {
  margin: 0 0 10px;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--violet);
  font-weight: 700;
}

.connect-addr {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px 10px;
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: clamp(1rem, 3.4vw, 1.34rem);
  font-weight: 600;
  line-height: 1.3;
  word-break: break-all;
}
.connect-addr .host { color: #fff; }
.connect-addr .sep  { color: var(--muted); }
.connect-addr .port { color: var(--corona); }

.copy {
  margin-left: auto;
  flex: 0 0 auto;
  background: transparent;
  border: 1px solid var(--border-2);
  color: var(--text-dim);
  border-radius: 7px;
  padding: 5px 13px;
  font-size: .78rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  transition: .15s;
}
.copy:hover { border-color: var(--corona); color: var(--corona); }

.connect-note { margin: 0; font-size: .93rem; color: var(--text-dim); }

.connect-more { margin-top: 14px; }
.connect-more summary {
  cursor: pointer;
  list-style: none;
  font-size: .86rem;
  font-weight: 650;
  color: var(--corona);
}
.connect-more summary::-webkit-details-marker { display: none; }
.connect-more summary::before { content: "+ "; font-family: var(--font-mono); }
.connect-more[open] summary::before { content: "\2212 "; }
.connect-more p {
  margin: 10px 0 0;
  font-size: .9rem;
  color: var(--text-dim);
  border-left: 2px solid var(--border-2);
  padding-left: 13px;
}

.connect-flag {
  margin: 14px 0 0;
  font-size: .8rem;
  color: var(--muted);
}

.hero-cta { margin: 34px 0 0; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 650;
  font-size: .97rem;
  background: linear-gradient(135deg, var(--corona), var(--corona-2));
  color: #1a1206;
  border: 1px solid transparent;
}
.btn:hover { color: #1a1206; filter: brightness(1.08); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-2);
}
.btn-ghost:hover { color: #fff; border-color: var(--corona); }

/* ---------------------------------------------------------- nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8,8,15,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-brand {
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--corona);
  white-space: nowrap;
  padding: 14px 0;
}
.nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav ul::-webkit-scrollbar { display: none; }
.nav a {
  display: block;
  padding: 15px 13px;
  font-size: .93rem;
  font-weight: 550;
  color: var(--text-dim);
  border: 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.nav a:hover { color: var(--text); }
.nav a.active { color: var(--corona); border-bottom-color: var(--corona); }

/* ---------------------------------------------------------- sections */

.section { padding: 84px 0; border-bottom: 1px solid var(--border); }
.section.alt { background: var(--bg-alt); }

.eyebrow {
  margin: 0 0 8px;
  font-size: .74rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--violet);
  font-weight: 650;
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(1.9rem, 4.5vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: -.015em;
  font-weight: 750;
}

h3 { font-size: 1.15rem; line-height: 1.35; margin: 0 0 10px; font-weight: 650; color: #fff; }

h3.sub {
  margin: 46px 0 14px;
  font-size: 1.35rem;
  color: var(--corona);
}
h3.sub:first-child { margin-top: 0; }

.section-lede {
  max-width: 780px;
  color: var(--text-dim);
  font-size: 1.03rem;
  margin: 0 0 34px;
}

p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

.note {
  font-size: .93rem;
  color: var(--muted);
  border-left: 2px solid var(--border-2);
  padding-left: 14px;
  margin-top: 18px;
}

.meta {
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--violet);
  margin: -4px 0 12px;
  font-weight: 600;
}

/* ---------------------------------------------------------- cards */

.cards {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
}
.cards.two { grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); }

.card {
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 26px 28px;
  position: relative;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, var(--corona), transparent 70%);
  opacity: .55;
}
.card h3 { color: var(--corona); }
.card p { font-size: .97rem; color: var(--text-dim); }
.card p strong { color: var(--text); }

.panel {
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin-bottom: 20px;
}
.panel:last-child { margin-bottom: 0; }
.panel h3.sub { margin-top: 0; font-size: 1.1rem; }

.split {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  align-items: start;
}

/* ---------------------------------------------------------- lists */

ul.tick { list-style: none; margin: 0 0 4px; padding: 0; }
ul.tick li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 11px;
  font-size: .96rem;
  color: var(--text-dim);
}
ul.tick li::before {
  content: "";
  position: absolute;
  left: 4px; top: .62em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--corona);
  opacity: .8;
}
ul.tick li strong { color: var(--text); }

ul.ladder { list-style: none; margin: 0 0 8px; padding: 0; font-size: .95rem; }
ul.ladder li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
  color: var(--text-dim);
}
ul.ladder li:last-child { border-bottom: 0; }
ul.ladder span {
  flex: 0 0 74px;
  font-family: var(--font-mono);
  font-size: .85rem;
  color: var(--corona);
  font-weight: 600;
}

/* ---------------------------------------------------------- tables */

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

table { border-collapse: collapse; width: 100%; font-size: .94rem; min-width: 480px; }
caption {
  text-align: left;
  color: var(--muted);
  font-size: .85rem;
  padding-bottom: 10px;
}
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
thead th {
  color: var(--corona);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 650;
  border-bottom-color: var(--border-2);
}
tbody tr:hover { background: rgba(143,124,232,.06); }
td { color: var(--text-dim); }
.rewards td:first-child {
  font-family: var(--font-mono);
  color: var(--corona);
  white-space: nowrap;
  font-weight: 600;
}
.rewards td:nth-child(2) { color: var(--text); font-weight: 550; }
.promo { min-width: 0; }
.promo td:nth-child(2) { color: var(--text); }
.promo td:last-child { font-family: var(--font-mono); color: var(--corona); }

/* ---------------------------------------------------------- area browser */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  align-items: flex-end;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 260px; max-width: 360px; }
.field span {
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.field input {
  background: var(--panel-2);
  border: 1px solid var(--border-2);
  border-radius: 9px;
  color: var(--text);
  padding: 10px 13px;
  font-size: .96rem;
  font-family: inherit;
  width: 100%;
}
.field input:focus { outline: 2px solid var(--corona); outline-offset: 1px; border-color: transparent; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; flex: 2 1 340px; }
.chip {
  background: transparent;
  border: 1px solid var(--border-2);
  color: var(--text-dim);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: .85rem;
  font-family: inherit;
  cursor: pointer;
  transition: .15s;
}
.chip:hover { border-color: var(--corona); color: var(--text); }
.chip[aria-pressed="true"] {
  background: var(--corona);
  border-color: var(--corona);
  color: #171104;
  font-weight: 650;
}

.count { flex: 1 1 100%; margin: 0; font-size: .88rem; color: var(--muted); }

.area-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
}

.area {
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
}
.area.featured { border-color: rgba(247,185,85,.42); }

.area-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
}
.area h4 { margin: 0; font-size: 1.04rem; font-weight: 650; color: #fff; }
.area .lv {
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--corona);
  white-space: nowrap;
  background: rgba(247,185,85,.1);
  border: 1px solid rgba(247,185,85,.24);
  border-radius: 999px;
  padding: 2px 10px;
}
.area .terrain {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
  font-weight: 600;
}
.area p.blurb { font-size: .94rem; color: var(--text-dim); margin: 0; }
.area details { margin-top: 12px; }
.area summary {
  cursor: pointer;
  font-size: .84rem;
  color: var(--corona);
  font-weight: 600;
  letter-spacing: .02em;
  list-style: none;
}
.area summary::-webkit-details-marker { display: none; }
.area summary::before { content: "+ "; font-family: var(--font-mono); }
.area details[open] summary::before { content: "\2212 "; }
.area details p {
  margin: 10px 0 0;
  font-size: .92rem;
  color: var(--text-dim);
  border-left: 2px solid var(--border-2);
  padding-left: 13px;
}

.empty { grid-column: 1 / -1; color: var(--muted); padding: 30px 0; }

/* ---------------------------------------------------------- Thera plates */

.thera-plate {
  margin: 0 0 26px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.thera-plate > .map-link,
.thera-inline {
  display: block;
  border-bottom: 1px solid var(--border);
  background: #0b0b14;
  line-height: 0;
}
.thera-plate img,
.thera-inline svg {
  display: block;
  width: 100%;
  height: auto;
}
.thera-inline {
  min-height: 180px;
  background: #efe0c0;
  position: relative;
}
.thera-inline:not(.loaded)::after {
  content: "Drawing the continent\2026";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: .9rem;
  color: #6b5233;
  line-height: 1.5;
}
.thera-plate figcaption { padding: 20px 24px 22px; }
.thera-plate h4 {
  margin: 0 0 4px;
  font-size: 1.12rem;
  font-weight: 650;
  color: var(--corona);
}

/* ---------------------------------------------------------- map plates */

.maps {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(430px, 1fr));
  margin-bottom: 8px;
}

.map-plate {
  margin: 0;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.map-link {
  display: block;
  border: 0;
  position: relative;
  line-height: 0;
}
.map-link::after {
  content: "Open full size \2197";
  position: absolute;
  right: 10px;
  bottom: 12px;
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: .04em;
  line-height: 1;
  color: #3d2b16;
  background: rgba(239,224,192,.92);
  border: 1px solid rgba(61,43,22,.4);
  border-radius: 999px;
  padding: 5px 11px;
  opacity: 0;
  transition: opacity .16s;
}
.map-link:hover::after, .map-link:focus-visible::after { opacity: 1; }

.map-plate img {
  display: block;
  width: 100%;
  height: auto;
  background: #efe0c0;
  border-bottom: 1px solid var(--border);
}

.map-plate figcaption { padding: 20px 22px 22px; }

.map-plate h4 {
  margin: 0 0 4px;
  font-size: 1.15rem;
  font-weight: 650;
  color: var(--corona);
}

.map-caption {
  margin: 0 0 12px;
  font-size: .92rem;
  font-style: italic;
  color: var(--muted);
}

.map-area {
  margin: 0 0 12px;
  font-size: .86rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.map-area strong { color: var(--text); }
.map-area .lv {
  font-family: var(--font-mono);
  font-size: .76rem;
  color: var(--corona);
  background: rgba(247,185,85,.1);
  border: 1px solid rgba(247,185,85,.24);
  border-radius: 999px;
  padding: 2px 9px;
}

.map-note { margin: 0 0 10px; font-size: .93rem; color: var(--text-dim); }

.map-also {
  margin: 0 0 16px;
  font-size: .85rem;
  color: var(--muted);
  border-left: 2px solid var(--border-2);
  padding-left: 12px;
}

/* City plans are portrait-ish and text-dense; give them their own scale. */
.city-plate img { background: #f0e0bf; }
.city-plate .map-link { max-height: 460px; overflow: hidden; display: block; }
.city-plate .map-link img { object-fit: cover; object-position: top center; height: auto; }

.map-sheets {
  margin: 0 0 12px;
  font-size: .85rem;
  color: var(--muted);
}

.map-buy {
  margin: 0 0 16px;
  font-size: .83rem;
  color: var(--text-dim);
  background: rgba(143,124,232,.08);
  border: 1px solid rgba(143,124,232,.2);
  border-radius: 8px;
  padding: 8px 12px;
}
.map-buy.unobtainable {
  color: var(--muted);
  background: rgba(200,120,90,.07);
  border-color: rgba(200,120,90,.22);
}

.map-jump {
  background: transparent;
  border: 1px solid var(--border-2);
  color: var(--text-dim);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: .85rem;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: .15s;
}
.map-jump:hover { border-color: var(--corona); color: var(--corona); }

/* ---------------------------------------------------------- classes */

.classes { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); }

.klass {
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 28px 28px;
}
.klass-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.klass h3 { margin: 0; font-size: 1.3rem; color: var(--corona); }
.klass .promo-tag {
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--violet);
  font-weight: 650;
  border: 1px solid rgba(143,124,232,.32);
  border-radius: 999px;
  padding: 3px 11px;
}
.klass .stat {
  font-size: .8rem;
  color: var(--muted);
  font-family: var(--font-mono);
  margin: 0 0 14px;
}
.klass > p { font-size: .97rem; color: var(--text-dim); }
.klass h4 {
  margin: 20px 0 12px;
  font-size: .76rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 650;
}
.skill { margin-bottom: 16px; }
.skill:last-child { margin-bottom: 0; }
.skill strong { color: var(--text); display: block; font-size: .98rem; margin-bottom: 3px; }
.skill span { font-size: .94rem; color: var(--text-dim); }

/* ---------------------------------------------------------- footer */

.footer {
  padding: 46px 0 60px;
  background: var(--bg-alt);
  font-size: .92rem;
}
.footer p { margin: 0 0 10px; }
.footer .muted { color: var(--muted); font-size: .87rem; max-width: 700px; }

/* ---------------------------------------------------------- responsive */

@media (max-width: 900px) {
  .nav-brand { display: none; }
  .nav-inner { gap: 0; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .hero { padding: 76px 0 66px; }
  .eclipse { width: 300px; height: 300px; margin-left: -150px; top: -95px; }
  .section { padding: 60px 0; }
  .cards, .cards.two, .classes, .split, .area-grid, .maps { grid-template-columns: 1fr; }
  .map-plate figcaption { padding: 18px 20px 20px; }
  .card, .panel, .klass, .area { padding-left: 20px; padding-right: 20px; }
  .field { max-width: none; }
  h3.sub { margin-top: 36px; }
  .connect { padding: 20px; margin-top: 28px; }
  .copy { margin-left: 0; }
  table { min-width: 380px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
