
:root {
  --bg: #07060d;
  --panel: rgba(12, 10, 18, 0.88);
  --line: rgba(214, 184, 112, 0.45);
  --line-soft: rgba(160, 140, 190, 0.22);
  --gold: #f0d48a;
  --gold-2: #c6a25a;
  --holy: #ffe7a8;
  --magic: #b794f6;
  --poison: #7dff9a;
  --earth: #c6d59a;
  --text: #efe4d2;
  --muted: #b3a48c;
  --green: #7dff9a;
  --red: #e07a6a;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 214, 120, 0.22), transparent 26%),
    radial-gradient(circle at 86% 14%, rgba(120, 190, 255, 0.16), transparent 24%),
    radial-gradient(circle at 74% 88%, rgba(255, 140, 70, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(6, 8, 5, 0.28), rgba(6, 8, 5, 0.5)),
    url("/static/world-bg.png") center/cover fixed;
  font-family: Verdana, "Segoe UI", Tahoma, sans-serif;
}
a { color: var(--gold); text-decoration: none; }
a:hover { color: #fff1c9; }
.wrap {
  display: flex;
  flex-direction: column;
  width: auto;
  max-width: none;
  margin: 12px 0 32px;
  box-sizing: border-box;
}
.topbar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 200px;
  padding: 10px 14px;
  background: linear-gradient(180deg, rgba(22, 19, 14, 0.7), rgba(12, 10, 8, 0.7));
  border: 1px solid var(--line);
  border-radius: 12px;
  position: relative;
  z-index: 5;
  overflow: visible;
}
.topbar .logo {
  font-family: Palatino, Georgia, serif;
  color: var(--gold);
  letter-spacing: 0.14em;
  font-size: 18px;
  font-weight: 700;
}
.topbar nav { display: flex; gap: 16px; flex: 1; flex-wrap: wrap; align-items: center; }
.catbox { position: relative; }
.topbar button.cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 4px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 400;
}
.topbar button.cat.on, .topbar button.cat:hover, .catbox.open button.cat { color: var(--holy); }
.topbar .arrow {
  width: 14px;
  height: 10px;
  image-rendering: pixelated;
  transition: transform 0.15s ease;
}
.catbox.open .arrow { transform: rotate(180deg); }
.drop {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: min(340px, 70vw);
  max-height: 380px;
  overflow: auto;
  padding: 6px;
  background: rgba(10, 8, 14, 0.7);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.45);
}
.catbox.open .drop { display: block; }
.drop a { display: block; padding: 8px 10px; border-radius: 5px; color: var(--text); }
.drop a:hover { background: rgba(240, 212, 138, 0.08); }
.drop strong { display: block; color: var(--gold); font-size: 13px; }
.drop span { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.online-count { color: var(--gold); font-size: 13px; white-space: nowrap; }
.topbar .enter { color: var(--text); font-size: 14px; }
.topbar a.gold {
  color: #2a1d0a;
  background: linear-gradient(#fff1c4, #e0b45a);
  border-radius: 8px;
  padding: 8px 14px;
  font-weight: 700;
}
.dash {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(240px, 0.85fr);
  gap: 12px;
  margin: 12px 260px;
  align-items: stretch;
}
.boost-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  height: 100%;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(214, 184, 112, 0.45);
  background: rgba(8, 8, 12, 0.7);
  overflow: auto;
}
.boost-col .boost-card { flex: 0 0 auto; }
.boost-block {
  padding-top: 8px;
  border-top: 1px solid var(--line-soft);
}
.boost-block h2 {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.boost-block p { margin: 0 0 6px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.boost-block .live { margin-bottom: 8px; }
.boost-block .status-pill { margin-bottom: 8px; display: inline-flex; }
.boost-rates div { color: var(--muted); font-size: 13px; line-height: 1.4; }
.calendar-band { grid-column: 1 / -1; }
.boost-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0 0 8px;
  box-shadow: none;
  border-bottom: 1px solid var(--line-soft);
}
.boost-card.boss { border: 0; border-bottom: 1px solid var(--line-soft); box-shadow: none; }
.boost-card h2 {
  margin: 0 0 2px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.boost-card p { margin: 0 0 2px; color: var(--muted); font-size: 13px; line-height: 1.35; }
.boost-card p:last-child { margin-bottom: 0; }
.look-sprite { height: 64px; width: auto; image-rendering: pixelated; }
.upcoming-under { margin-top: 8px; font-size: 11px; }
.upcoming-under li, .upcoming-under strong, .upcoming-under small, .upcoming-under .eta { font-size: 11px; }
.outfit-slot {
  min-height: 64px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 0;
  background:
    radial-gradient(circle at 50% 70%, rgba(214, 184, 112, 0.16), transparent 58%),
    rgba(6, 6, 10, 0.55);
  color: var(--muted);
  text-align: center;
  padding: 4px;
}
.boost-card.boss .outfit-slot {
  border-color: transparent;
  box-shadow: none;
}
.boost-copy {
  display: grid;
  align-content: center;
  gap: 2px;
  min-height: 0;
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
}
.boost-card.boss .boost-copy {
  border-color: transparent;
  box-shadow: none;
}
.calendar-band h2 { margin: 0 0 10px; }
.calendar-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.calendar-list li {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.28);
}
.upcoming li {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) auto;
  grid-template-areas: "dot name time" "dot detail detail";
  column-gap: 6px;
  row-gap: 0;
  align-items: center;
  padding: 3px 0;
  border-bottom: 1px solid var(--line-soft);
}
.upcoming li > .dot-kind { grid-area: dot; align-self: center; }
.upcoming li > strong { grid-area: name; line-height: 1.2; }
.upcoming li > .eta { grid-area: time; align-self: center; }
.upcoming li > small { grid-area: detail; }
.calendar-list small, .upcoming small { display: block; color: var(--muted); font-size: 10px; line-height: 1.25; }
.upcoming.upcoming-under, .upcoming.upcoming-under li, .upcoming.upcoming-under strong, .upcoming.upcoming-under small, .upcoming.upcoming-under .eta { font-size: 11px; }
.upcoming { list-style: none; margin: 0 0 12px; padding: 0; }
.upcoming h2, .calendar-list + h2 { margin-top: 0; }
.dot-kind { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.dot-kind.powiadomienie { background: #7dff9a; }
.dot-kind.event { background: #f0d48a; }
.dot-kind.najazd { background: #e07a6a; }
.dot-kind.boss { background: #b794f6; }
.dot-kind.boost { background: #7ec8ff; }
.dot-kind.task { background: #ff9a4a; }
.dot-kind.zapis { background: #ffe7a8; }
.eta { color: #ffe7a8; font-family: Consolas, "Courier New", monospace; font-size: 11px; }
.mini-cal, .month { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; align-items: center; }
.mini-cal span, .month-head span { text-align: center; color: var(--muted); font-size: 10px; line-height: 16px; }
.mini-cal b, .mini-cal i { display: block; text-align: center; font-size: 10px; line-height: 16px; padding: 0; border-radius: 3px; background: rgba(8, 8, 12, 0.7); }
.mini-cal i { background: transparent; }
.mini-cal b.today { color: #24180a; background: linear-gradient(#fff1c4, #e0b45a); }
.gcal { display: grid; grid-template-columns: 1fr; gap: 12px; }
.month-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.day { min-height: 64px; padding: 4px; border: 1px solid var(--line-soft); border-radius: 6px; background: rgba(8, 8, 12, 0.7); overflow: hidden; }
.day.off { background: transparent; border-color: transparent; }
.day.today { border-color: var(--gold); }
.day strong { display: block; font-size: 12px; }
.chip { display: block; margin-top: 2px; padding: 1px 3px; border-radius: 3px; background: rgba(198, 161, 90, 0.45); color: var(--text); font-size: 9px; line-height: 1.25; white-space: nowrap; overflow: hidden; }
.chip.powiadomienie { background: rgba(125, 255, 154, 0.28); }
@media (max-width: 900px) { .gcal { grid-template-columns: 1fr; } }
.serverbox {
  background: rgba(8, 8, 12, 0.7);
  border: 1px solid rgba(214, 184, 112, 0.4);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 11px;
  line-height: 1.3;
}
.serverbox h2 {
  margin: 8px 0 4px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.live { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 0 0 12px; padding: 0; list-style: none; }
.live li { text-align: center; padding: 6px 2px; border: 1px solid var(--line-soft); border-radius: 6px; background: rgba(0, 0, 0, 0.28); }
.live b { display: block; color: var(--gold); font-size: 16px; }
.live span { color: var(--muted); font-size: 11px; }
.serverbox p { margin: 4px 0 0; color: var(--muted); font-size: 11px; line-height: 1.3; }
.ranks { list-style: none; margin: 0; padding: 0; }
.ranks li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid var(--line-soft);
}
.ranks .pos { color: var(--gold); font-weight: 700; }
.ranks small { display: block; color: var(--muted); font-size: 11px; }
.ranks .lvl { color: var(--gold); font-weight: 700; text-align: right; }
.ranks .lvl small { font-weight: 500; }
.rankcard .button { display: block; width: 100%; text-align: center; margin-top: 10px; }
.hero {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 18px;
  align-items: center;
  min-height: 220px;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: 10px 10px 0 0;
  background:
    linear-gradient(90deg, rgba(8, 6, 16, 0.94) 0%, rgba(8, 6, 16, 0.72) 48%, rgba(18, 8, 28, 0.28) 100%),
    radial-gradient(circle at 82% 45%, rgba(130, 60, 210, 0.45), transparent 42%),
    url("/static/backdrop-knight.jpg") right center/cover;
  box-shadow: 0 0 36px rgba(90, 40, 160, 0.28), 0 16px 32px rgba(0, 0, 0, 0.4);
}
.brand { display: flex; gap: 14px; align-items: center; }
.crest { width: 62px; height: 70px; flex: none; }
.kicker { letter-spacing: 0.22em; font-size: 11px; color: var(--gold-2); }
.hero h1 {
  margin: 2px 0 4px;
  font-family: Palatino, Georgia, serif;
  font-size: 40px;
  letter-spacing: 0.08em;
  color: var(--gold);
}
.hero p { margin: 0; color: var(--muted); }
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #24180a;
  background: linear-gradient(#fff1c4, #e0b45a);
  box-shadow: 0 0 18px rgba(240, 200, 110, 0.45);
}
.status-pill.off { color: #2a1210; background: linear-gradient(#ffb0a6, #c45042); box-shadow: none; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #10321c; }
.nav {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 10px 14px;
  background: linear-gradient(90deg, rgba(16, 14, 24, 0.96), rgba(22, 16, 28, 0.96));
  border: 1px solid var(--line);
  border-top: 0;
}
.nav a {
  color: var(--text);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 10px;
}
.nav .spacer { flex: 1; }
.nav .gold, .nav .green { border-radius: 5px; font-weight: 700; }
.nav .gold { color: #2a1d0a; background: linear-gradient(#fff1c4, #c8963a); box-shadow: 0 0 12px rgba(240, 200, 110, 0.35); }
.nav .green { color: #06210f; background: linear-gradient(#c8ffd4, #3caf6d); box-shadow: 0 0 12px rgba(80, 220, 120, 0.28); }
.ticker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0 0 12px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-top: 0;
  background: rgba(10, 8, 16, 0.94);
  color: var(--muted);
  font-size: 13px;
}
.ticker span + span { padding-left: 18px; border-left: 1px solid var(--line-soft); }
.ticker strong { color: var(--gold); }
.grid {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 250px;
  gap: 12px;
  margin: 0 260px;
}
.span-all { grid-column: 1 / -1; }
.voc-band { margin-bottom: 0; }
.voc-band .voc-row { margin-top: 8px; }
.panel {
  background: linear-gradient(180deg, rgba(16, 13, 24, 0.7), rgba(10, 12, 16, 0.7));
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px 14px;
  margin-bottom: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(180, 140, 255, 0.06);
}
.panel h2, .menu h2 {
  margin: 0 0 8px;
  padding: 6px 8px;
  border-bottom: 0;
  border-left: 3px solid var(--gold);
  border-radius: 2px;
  color: var(--holy);
  font-family: Palatino, Georgia, serif;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: linear-gradient(90deg, rgba(240, 212, 138, 0.16), transparent 72%);
}
.menu a { display: block; color: var(--muted); padding: 4px 0 4px 10px; }
.menu a:hover, .menu a.on { color: var(--gold); }
.lead {
  font-family: Palatino, Georgia, serif;
  font-size: 28px;
  color: var(--gold);
  margin: 4px 0 8px;
}
.rates { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.rate {
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 4px 10px;
  color: #fff6d8;
  font-size: 12px;
  letter-spacing: 0.06em;
  background: rgba(28, 22, 14, 0.85);
}
.rate.knight { border-color: #7ea24a; color: var(--earth); }
.rate.paladin { border-color: var(--gold); color: var(--holy); }
.rate.sorcerer { border-color: #8d62e8; color: var(--magic); }
.rate.druid { border-color: #3ecf6a; color: var(--poison); }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.card {
  padding: 12px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(8, 8, 14, 0.55);
}
.card.knight { border-color: rgba(126, 162, 74, 0.7); box-shadow: inset 0 0 24px rgba(80, 120, 40, 0.18); }
.card.paladin { border-color: rgba(240, 212, 138, 0.7); box-shadow: inset 0 0 24px rgba(240, 200, 110, 0.14); }
.card.sorcerer { border-color: rgba(141, 98, 232, 0.75); box-shadow: inset 0 0 24px rgba(120, 60, 210, 0.2); }
.card.druid { border-color: rgba(62, 207, 106, 0.7); box-shadow: inset 0 0 24px rgba(40, 180, 80, 0.16); }
.mark {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.slot {
  display: block;
  margin: 0 0 8px;
  width: 64px;
  height: 64px;
  image-rendering: pixelated;
  object-fit: contain;
  background: #14110e url("/static/window.png");
  border: 1px solid var(--line);
  padding: 6px;
}
.voc-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}
.voc {
  position: relative;
  margin: 0;
  padding: 0 0 14px;
  overflow: hidden;
  border-radius: 10px;
  text-align: center;
  color: var(--text);
  background:
    radial-gradient(ellipse at 50% -10%, rgba(214, 184, 112, 0.16), transparent 46%),
    linear-gradient(180deg, #17141e 0%, #100e16 55%, #0b0a10 100%);
  border: 1px solid rgba(214, 184, 112, 0.4);
  box-shadow:
    inset 0 0 0 1px rgba(255, 232, 190, 0.05),
    0 14px 28px rgba(0, 0, 0, 0.4);
}
.voc .art {
  position: relative;
  margin: 8px 8px 0;
  overflow: hidden;
  border-radius: 7px;
  border: 1px solid rgba(214, 184, 112, 0.22);
  background: #0b0a10;
}
.voc .art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 12%;
  filter: saturate(0.78) contrast(1.04) brightness(0.86);
}
.voc .art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 10, 16, 0.34) 0%, rgba(12, 10, 16, 0.05) 34%, rgba(12, 10, 16, 0) 52%, rgba(12, 10, 16, 0.72) 86%, #100e16 100%);
  pointer-events: none;
}
.card .portrait {
  display: block;
  height: 132px;
  width: calc(100% + 24px);
  margin: -12px -12px 8px;
  object-fit: cover;
  object-position: center 18%;
}
.voc strong {
  display: block;
  margin-top: 8px;
  font-family: Palatino, Georgia, serif;
  font-size: 22px;
  letter-spacing: 0.04em;
}
.voc em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.voc em::after {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  margin: 8px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin: 10px 8px 0;
}
.stat { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.meter {
  width: 18px;
  height: 68px;
  border-radius: 9px;
  border: 1px solid currentColor;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.meter i {
  display: block;
  width: 100%;
  height: var(--fill);
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}
.stat b { font-size: 12px; line-height: 1; }
.stat small {
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.voc p {
  margin: 8px 10px 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
  text-align: left;
}
.voc.knight strong, .voc.knight .meter { color: #d5e2b4; }
.voc.paladin strong, .voc.paladin .meter { color: #ffe3a4; }
.voc.sorcerer strong, .voc.sorcerer .meter { color: #d2c0ff; }
.voc.druid strong, .voc.druid .meter { color: #b6f5c8; }
.voc.knight { box-shadow: inset 0 0 36px rgba(90, 120, 48, 0.16), 0 14px 28px rgba(0, 0, 0, 0.4); }
.voc.paladin { box-shadow: inset 0 0 36px rgba(210, 170, 70, 0.14), 0 14px 28px rgba(0, 0, 0, 0.4); }
.voc.sorcerer { box-shadow: inset 0 0 36px rgba(120, 70, 200, 0.2), 0 14px 28px rgba(0, 0, 0, 0.4); }
.voc.druid { box-shadow: inset 0 0 36px rgba(40, 160, 80, 0.16), 0 14px 28px rgba(0, 0, 0, 0.4); }
.card h3, .news h3 { margin: 0 0 4px; color: var(--gold); font-size: 15px; }
.card p, .news p { margin: 0; color: var(--muted); line-height: 1.45; }
.news { padding: 8px 0; border-bottom: 1px solid var(--line-soft); }
.news time { color: var(--gold-2); font-size: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; background: rgba(0, 0, 0, 0.28); }
th { text-align: left; color: var(--gold-2); font-weight: 600; font-size: 12px; letter-spacing: 0.06em; }
td, th { padding: 6px 4px; border-bottom: 1px solid var(--line-soft); }
tr:nth-child(even) { background: rgba(255, 236, 190, 0.05); }
.rank { color: var(--gold); width: 28px; }
form { display: flex; gap: 6px; }
input, select, button {
  font: inherit;
  color: var(--text);
  background: rgba(8, 8, 14, 0.85);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 8px 10px;
}
button, .button {
  display: inline-block;
  cursor: pointer;
  color: #2a1d0a;
  background: linear-gradient(#f0d48a, #b8893a);
  border: 0;
  border-radius: 5px;
  padding: 8px 12px;
  font-weight: 700;
}
.stack { display: grid; gap: 8px; }
.stack form, .stack input, .stack select, .stack button { width: 100%; }
.note { color: var(--green); }
.warn { color: #ffb4a8; }
.footer {
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  margin: 8px 200px 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(8, 6, 14, 0.7);
}
.stage {
  position: relative;
  height: 100%;
  min-height: 280px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(8, 8, 12, 0.35);
  overflow: hidden;
}
.stage-frame { position: absolute; inset: 0; }
.slide { display: none; margin: 0; }
.slide.on { display: block; position: absolute; inset: 0; }
.slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  image-rendering: pixelated;
  background: transparent;
}
.save-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.save-head span {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 10px;
  color: var(--gold);
}
.save-head strong {
  font-family: Consolas, "Courier New", monospace;
  font-size: 18px;
  color: #ffe7a8;
  letter-spacing: 0.04em;
}
.slide figcaption {
  position: absolute;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  margin: 0;
  padding: 6px 14px;
  max-width: 92%;
  background: rgba(8, 6, 14, 0.7);
  border: 1px solid var(--line);
  color: var(--holy);
  font-family: Palatino, Georgia, serif;
  letter-spacing: 0.08em;
  text-align: center;
  white-space: normal;
}
.slide figcaption small { display: block; margin-top: 4px; color: var(--gold); font-size: 11px; letter-spacing: 0; }
.stage .prev, .stage .next {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
}
.stage .prev { left: 12px; }
.stage .next { right: 12px; }
.dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border-radius: 50%;
  background: #5a5040;
  color: transparent;
}
.dots button.on { background: #f0d48a; }
@media (max-width: 1400px) {
  .topbar, .footer { margin-left: 80px; margin-right: 80px; }
  .dash, .grid { margin-left: 100px; margin-right: 100px; }
}
@media (max-width: 1100px) {
  .topbar, .footer { margin-left: 24px; margin-right: 24px; }
  .dash, .grid { margin-left: 24px; margin-right: 24px; }
  .dash { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .dash .serverbox { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .hero, .grid, .cards, .dash { grid-template-columns: 1fr; }
  .dash .serverbox { grid-column: auto; }
  .voc-row { grid-template-columns: 1fr 1fr; }
  .topbar { flex-wrap: wrap; border-radius: 12px 12px 0 0; }
  .nav { flex-wrap: wrap; }
  .hero h1 { font-size: 32px; }
  .ticker span + span { padding-left: 0; border-left: 0; }
}
