:root {
  color-scheme: dark;
  --bg: #080706;
  --ink: #f4efe3;
  --muted: #b9ad9a;
  --soft: rgba(244, 239, 227, 0.68);
  --panel: rgba(16, 15, 16, 0.76);
  --line: rgba(222, 190, 128, 0.22);
  --ornate-line: rgba(217, 151, 62, 0.72);
  --ornate-line-soft: rgba(242, 212, 139, 0.28);
  --ornate-purple: rgba(105, 44, 142, 0.42);
  --ornate-frame: rgba(219, 143, 44, 0.92);
  --ornate-frame-hot: rgba(255, 209, 111, 0.86);
  --frame-top-left: 35%;
  --frame-top-right: 35%;
  --frame-bottom-left: 35%;
  --frame-bottom-right: 35%;
  --frame-top-notch: 50%;
  --frame-bottom-notch: 50%;
  --frame-top-notch-size: 42px;
  --frame-bottom-notch-size: 42px;
  --gold: #d9b66d;
  --gold-strong: #f2d48b;
  --purple: #6c45ad;
  --rain: #62b7ff;
  --night: #4e466b;
  --day: #d9a83e;
  --danger: #f06868;
  --max: 1180px;
  --pad: clamp(16px, 3vw, 36px);
  font-family: "Noto Sans", "Segoe UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: #080706;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.scene,
.scene::before,
.scene::after {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.scene {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(16, 10, 8, 0.86), rgba(8, 7, 8, 0.5) 42%, rgba(10, 8, 14, 0.86)),
    radial-gradient(circle at 20% 28%, rgba(255, 218, 142, 0.28), transparent 18rem),
    radial-gradient(circle at 78% 30%, rgba(118, 78, 190, 0.32), transparent 20rem),
    linear-gradient(180deg, #29221d 0%, #090807 52%, #050505 100%);
}

.scene::before {
  content: "";
  z-index: -1;
  opacity: 0.34;
  background:
    linear-gradient(110deg, transparent 0 26%, rgba(255, 244, 211, 0.16) 26.2% 26.5%, transparent 26.8%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, 72px 72px, 72px 72px;
  mask-image: radial-gradient(ellipse at 50% 18%, black 0 46%, transparent 78%);
}

.scene::after {
  content: "";
  background:
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.42) 58%, rgba(0, 0, 0, 0.92) 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.026) 0 1px, transparent 1px 180px);
}

.scene__light {
  position: absolute;
  left: 50%;
  top: 132px;
  width: min(62vw, 760px);
  height: min(62vw, 760px);
  border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(242, 212, 139, 0.16), transparent 62%);
  filter: blur(6px);
}

.scene__rain {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image: linear-gradient(115deg, transparent 0 48%, rgba(150, 205, 255, 0.42) 49%, transparent 51%);
  background-size: 92px 92px;
  animation: drift 16s linear infinite;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px var(--pad);
  border-bottom: 1px solid rgba(217, 182, 109, 0.2);
  background: rgba(5, 5, 6, 0.82);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 auto;
  width: clamp(190px, 24vw, 320px);
  min-width: 0;
}

.topbar__meta > span,
.label,
h1,
h2 {
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.header-logo {
  display: block;
  width: 100%;
  height: auto;
  filter:
    drop-shadow(0 8px 16px rgba(0, 0, 0, 0.62))
    drop-shadow(0 0 14px rgba(217, 182, 109, 0.16))
    saturate(1.04);
  mix-blend-mode: screen;
}

.brand__tagline {
  margin-top: -4px;
  color: rgba(244, 239, 227, 0.68);
  font-size: clamp(8px, 0.72vw, 11px);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.25;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-align: center;
  text-transform: uppercase;
  white-space: normal;
}

.topbar__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  color: var(--soft);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.topbar__meta > span {
  position: relative;
  padding: 8px 10px;
  border: 1px solid rgba(217, 151, 62, 0.34);
  background:
    linear-gradient(135deg, rgba(255, 244, 211, 0.07), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(9, 8, 9, 0.78);
  box-shadow:
    inset 0 0 0 1px rgba(255, 232, 179, 0.035),
    0 0 18px rgba(105, 44, 142, 0.12);
}

.topbar-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 11px;
  border: 1px solid rgba(217, 151, 62, 0.54);
  background:
    linear-gradient(135deg, rgba(255, 244, 211, 0.08), transparent 40%),
    linear-gradient(180deg, rgba(217, 182, 109, 0.18), rgba(217, 182, 109, 0.06)),
    rgba(9, 8, 9, 0.78);
  box-shadow:
    inset 0 0 0 1px rgba(255, 232, 179, 0.04),
    0 0 20px rgba(105, 44, 142, 0.14);
  color: var(--gold-strong);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.topbar-link:hover,
.topbar-link:focus-visible {
  border-color: rgba(98, 183, 255, 0.72);
  color: #d8f0ff;
  box-shadow:
    inset 0 0 0 1px rgba(255, 232, 179, 0.05),
    0 0 22px rgba(105, 44, 142, 0.2),
    0 0 14px rgba(98, 183, 255, 0.12);
  outline: none;
}

.topbar-link--download {
  border-color: rgba(98, 183, 255, 0.82);
  background:
    linear-gradient(135deg, rgba(255, 247, 218, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(98, 183, 255, 0.32), rgba(98, 183, 255, 0.11)),
    radial-gradient(120% 140% at 50% 100%, rgba(105, 44, 142, 0.3), transparent 58%),
    rgba(9, 8, 9, 0.86);
  box-shadow:
    inset 0 0 0 1px rgba(255, 232, 179, 0.08),
    0 0 20px rgba(98, 183, 255, 0.18),
    0 0 28px rgba(217, 151, 62, 0.12);
  color: #eaf7ff;
}

.topbar-link--download::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--gold-strong);
  box-shadow:
    0 0 10px rgba(242, 212, 139, 0.6),
    0 0 18px rgba(98, 183, 255, 0.24);
}

.topbar-link--download:hover,
.topbar-link--download:focus-visible {
  border-color: rgba(242, 212, 139, 0.92);
  color: #fff7e6;
  box-shadow:
    inset 0 0 0 1px rgba(255, 232, 179, 0.12),
    0 0 26px rgba(98, 183, 255, 0.24),
    0 0 22px rgba(217, 151, 62, 0.2);
}

.visit-stats {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 320px);
  padding: 9px 14px;
  border: 1px solid rgba(217, 151, 62, 0.42);
  background:
    linear-gradient(135deg, rgba(255, 244, 211, 0.06), transparent 42%),
    rgba(255, 255, 255, 0.035);
  box-shadow:
    inset 0 0 0 1px rgba(255, 232, 179, 0.035),
    0 0 20px rgba(105, 44, 142, 0.12);
  color: #fff3cf;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.notify-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 172px;
  min-height: 34px;
  padding: 7px 9px 7px 12px;
  border: 1px solid rgba(217, 151, 62, 0.58);
  background:
    linear-gradient(135deg, rgba(255, 244, 211, 0.08), transparent 40%),
    linear-gradient(180deg, rgba(217, 182, 109, 0.2), rgba(217, 182, 109, 0.08)),
    rgba(9, 8, 9, 0.78);
  box-shadow:
    inset 0 0 0 1px rgba(255, 232, 179, 0.04),
    0 0 20px rgba(105, 44, 142, 0.16);
  color: var(--gold-strong);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.notify-btn:hover,
.notify-btn:focus-visible {
  border-color: rgba(242, 212, 139, 0.78);
  box-shadow:
    inset 0 0 0 1px rgba(255, 232, 179, 0.06),
    0 0 22px rgba(105, 44, 142, 0.22),
    0 0 16px rgba(217, 151, 62, 0.12);
  outline: none;
}

.notify-btn.is-active {
  border-color: rgba(98, 183, 255, 0.72);
  color: #d8f0ff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 40%),
    rgba(98, 183, 255, 0.14);
}

.notify-btn__text {
  flex: 1 1 auto;
  overflow: hidden;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notify-switch {
  position: relative;
  display: inline-flex;
  width: 38px;
  height: 20px;
  flex: 0 0 38px;
  border: 1px solid rgba(244, 239, 227, 0.18);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.34);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.45);
  transition: background 0.18s ease, border-color 0.18s ease;
}

.notify-switch__knob {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(244, 239, 227, 0.86);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
  transition: transform 0.18s ease, background 0.18s ease;
}

.notify-btn.is-active .notify-switch {
  border-color: rgba(98, 183, 255, 0.72);
  background: rgba(98, 183, 255, 0.28);
}

.notify-btn.is-active .notify-switch__knob {
  transform: translateX(18px);
  background: #d8f0ff;
}

.notify-btn:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.notify-btn::after {
  content: attr(data-tooltip);
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 20;
  width: min(320px, calc(100vw - 32px));
  padding: 10px 12px;
  border: 1px solid rgba(217, 182, 109, 0.4);
  background: rgba(12, 11, 12, 0.96);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.42);
  color: var(--soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  text-align: left;
  text-transform: none;
  transform: translateY(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
  white-space: normal;
}

.notify-btn:hover::after,
.notify-btn:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.settings-open {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  padding: 8px 11px;
  border: 1px solid rgba(217, 151, 62, 0.54);
  background:
    linear-gradient(135deg, rgba(255, 244, 211, 0.08), transparent 40%),
    linear-gradient(180deg, rgba(217, 182, 109, 0.18), rgba(217, 182, 109, 0.06)),
    rgba(9, 8, 9, 0.78);
  box-shadow:
    inset 0 0 0 1px rgba(255, 232, 179, 0.04),
    0 0 20px rgba(105, 44, 142, 0.14);
  color: var(--gold-strong);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.settings-open svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.settings-open:hover,
.settings-open:focus-visible,
.settings-open.has-active-settings {
  border-color: rgba(98, 183, 255, 0.72);
  color: #d8f0ff;
  outline: none;
}

.settings-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(0, 0, 0, 0.48);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.settings-backdrop.is-open {
  opacity: 1;
}

.settings-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 31;
  display: flex;
  width: min(390px, calc(100vw - 22px));
  height: 100vh;
  flex-direction: column;
  gap: 18px;
  padding: 22px;
  border-left: 1px solid rgba(219, 143, 44, 0.5);
  background:
    radial-gradient(120% 85% at 50% 100%, rgba(105, 44, 142, 0.24), transparent 62%),
    linear-gradient(135deg, rgba(255, 244, 211, 0.08), transparent 34%),
    rgba(10, 10, 12, 0.96);
  box-shadow:
    -20px 0 60px rgba(0, 0, 0, 0.52),
    inset 1px 0 0 rgba(255, 232, 179, 0.06);
  transform: translateX(104%);
  transition: transform 0.2s ease;
}

.settings-panel.is-open {
  transform: translateX(0);
}

.settings-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(217, 182, 109, 0.2);
}

.settings-panel__head h2 {
  margin: 4px 0 0;
  font-size: 22px;
}

.settings-close {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(244, 239, 227, 0.18);
  background: rgba(255, 255, 255, 0.045);
  color: var(--soft);
  cursor: pointer;
  font: inherit;
  font-size: 22px;
  line-height: 1;
}

.settings-close:hover,
.settings-close:focus-visible {
  border-color: rgba(242, 212, 139, 0.74);
  color: var(--gold-strong);
  outline: none;
}

.settings-field,
.settings-row {
  border: 1px solid rgba(217, 151, 62, 0.26);
  background:
    linear-gradient(135deg, rgba(255, 244, 211, 0.055), transparent 44%),
    rgba(255, 255, 255, 0.032);
  box-shadow: inset 0 0 0 1px rgba(255, 232, 179, 0.025);
}

.settings-field {
  display: grid;
  gap: 8px;
  padding: 13px;
  color: var(--gold-strong);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.settings-field select,
.settings-field input[type="range"] {
  width: 100%;
}

.settings-field select {
  color-scheme: dark;
  min-height: 38px;
  border: 1px solid rgba(244, 239, 227, 0.18);
  background: #0b0a0b;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.settings-field select option {
  background: #0b0a0b;
  color: var(--ink);
}

.settings-field select option:checked {
  background: rgba(98, 183, 255, 0.34);
  color: #ffffff;
}

.settings-field select:focus-visible,
.settings-field input[type="range"]:focus-visible {
  outline: 1px solid rgba(98, 183, 255, 0.82);
  outline-offset: 2px;
}

.settings-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 13px;
}

.settings-row strong {
  display: block;
  color: var(--gold-strong);
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-transform: uppercase;
}

.settings-row small {
  display: block;
  margin-top: 5px;
  color: var(--soft);
  font-size: 12px;
  line-height: 1.35;
}

.settings-switch {
  position: relative;
  display: inline-flex;
  width: 46px;
  height: 24px;
  flex: 0 0 auto;
  border: 1px solid rgba(244, 239, 227, 0.2);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.34);
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.settings-switch__knob {
  position: absolute;
  left: 4px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(244, 239, 227, 0.86);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
  transition: transform 0.18s ease, background 0.18s ease;
}

.settings-switch.is-active {
  border-color: rgba(98, 183, 255, 0.76);
  background: rgba(98, 183, 255, 0.28);
}

.settings-switch.is-active .settings-switch__knob {
  transform: translateX(22px);
  background: #d8f0ff;
}

.settings-switch:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

.settings-field--volume span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.settings-field input[type="range"] {
  accent-color: var(--rain);
  cursor: pointer;
}

.guild-callout {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  width: min(calc(var(--max) - (var(--pad) * 2)), calc(100% - (var(--pad) * 2)));
  margin: 12px auto 0;
  padding: 12px 48px 12px 16px;
  border: 1px solid rgba(219, 143, 44, 0.18);
  background:
    radial-gradient(120% 90% at 50% 100%, rgba(105, 44, 142, 0.2), transparent 58%),
    linear-gradient(135deg, rgba(255, 244, 211, 0.07), transparent 32%),
    linear-gradient(90deg, rgba(217, 182, 109, 0.13), rgba(73, 138, 184, 0.07) 54%, rgba(217, 182, 109, 0.08)),
    rgba(12, 12, 14, 0.9);
  box-shadow:
    0 14px 42px rgba(0, 0, 0, 0.32),
    0 0 24px rgba(105, 44, 142, 0.22),
    inset 0 0 0 1px rgba(255, 232, 179, 0.055);
  transition: padding 0.18s ease;
}

.guild-callout.is-hidden,
.guild-callout[hidden] {
  display: none;
}

.guild-callout.is-expanded {
  align-items: start;
}

.guild-callout::before,
.guild-callout::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.guild-callout::before {
  inset: -1px;
  background:
    linear-gradient(90deg, var(--ornate-frame-hot), var(--ornate-frame)) top left / var(--frame-top-left) 1px no-repeat,
    linear-gradient(90deg, var(--ornate-frame), var(--ornate-frame-hot)) top right / var(--frame-top-right) 1px no-repeat,
    linear-gradient(90deg, var(--ornate-frame), var(--ornate-frame-hot), var(--ornate-frame)) var(--frame-top-notch) 0 / var(--frame-top-notch-size) 1px no-repeat,
    linear-gradient(90deg, var(--ornate-frame), var(--ornate-frame-hot)) bottom left / var(--frame-bottom-left) 1px no-repeat,
    linear-gradient(90deg, var(--ornate-frame-hot), var(--ornate-frame)) bottom right / var(--frame-bottom-right) 1px no-repeat,
    linear-gradient(90deg, var(--ornate-frame), var(--ornate-frame-hot), var(--ornate-frame)) var(--frame-bottom-notch) 100% / var(--frame-bottom-notch-size) 1px no-repeat,
    linear-gradient(180deg, var(--ornate-frame-hot), var(--ornate-frame)) left top / 1px 100% no-repeat,
    linear-gradient(180deg, var(--ornate-frame-hot), var(--ornate-frame)) right top / 1px 100% no-repeat,
    linear-gradient(135deg, transparent 0 11px, rgba(255, 209, 111, 0.72) 11px 12px, transparent 12px) top left / 18px 18px no-repeat,
    linear-gradient(225deg, transparent 0 11px, rgba(255, 209, 111, 0.72) 11px 12px, transparent 12px) top right / 18px 18px no-repeat,
    linear-gradient(45deg, transparent 0 11px, rgba(255, 209, 111, 0.64) 11px 12px, transparent 12px) bottom left / 18px 18px no-repeat,
    linear-gradient(315deg, transparent 0 11px, rgba(255, 209, 111, 0.64) 11px 12px, transparent 12px) bottom right / 18px 18px no-repeat;
  filter:
    drop-shadow(0 0 5px rgba(219, 143, 44, 0.22))
    drop-shadow(0 0 10px rgba(105, 44, 142, 0.26));
}

.guild-callout::after {
  inset: 6px;
  background:
    linear-gradient(90deg, rgba(242, 212, 139, 0.12), transparent 58px, transparent calc(100% - 58px), rgba(242, 212, 139, 0.12)) top / 100% 1px no-repeat,
    linear-gradient(90deg, transparent, rgba(105, 44, 142, 0.54), transparent) bottom / 100% 1px no-repeat;
  box-shadow: inset 0 -18px 28px rgba(105, 44, 142, 0.11);
}

.guild-callout__copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.guild-callout__icon {
  position: relative;
  z-index: 1;
  display: block;
  width: clamp(52px, 5.4vw, 62px);
  height: clamp(52px, 5.4vw, 62px);
  object-fit: contain;
  filter:
    drop-shadow(0 6px 14px rgba(0, 0, 0, 0.48))
    drop-shadow(0 0 10px rgba(242, 156, 65, 0.16));
}

.guild-callout__label {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
  font-size: clamp(11px, 0.9vw, 12px);
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.guild-callout p {
  color: rgba(244, 239, 227, 0.86);
  font-size: clamp(12px, 1.12vw, 14px);
  font-weight: 700;
  line-height: 1.45;
}

.guild-callout__details-toggle,
.guild-callout__collapse {
  border: 0;
  background: none;
  color: var(--gold-strong);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}

.guild-callout p.guild-callout__summary {
  font-size: clamp(13px, 1.18vw, 15px);
  line-height: 1.42;
}

.guild-callout__details-toggle {
  display: flex;
  grid-column: 1 / -1;
  justify-self: center;
  width: max-content;
  margin: -2px auto 0;
  padding: 0 0 1px;
  border-bottom: 1px solid rgba(242, 212, 139, 0.54);
  text-shadow: 0 0 14px rgba(217, 151, 62, 0.24);
}

.guild-callout__details-toggle[hidden],
.guild-callout__details[hidden] {
  display: none;
}

.guild-callout__details-toggle:hover,
.guild-callout__details-toggle:focus-visible,
.guild-callout__collapse:hover,
.guild-callout__collapse:focus-visible {
  color: #fff3cf;
  outline: none;
}

.guild-callout__details {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  margin-top: 4px;
  padding: 14px 8px 2px 78px;
  border-top: 1px solid rgba(242, 212, 139, 0.14);
}

.guild-callout__details-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 12px 18px;
}

.guild-callout__lead,
.guild-callout__statement,
.guild-callout__pride,
.guild-callout__prime {
  color: rgba(244, 239, 227, 0.84);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.55;
}

.guild-callout__lead,
.guild-callout__pride {
  padding: 10px 12px;
  border: 1px solid rgba(242, 212, 139, 0.12);
  background: rgba(255, 255, 255, 0.035);
}

.guild-callout__lead {
  grid-column: 1 / -1;
}

.guild-callout__subhead {
  display: block;
  margin-bottom: 7px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.guild-callout__requirements {
  padding: 10px 12px;
  border-left: 1px solid rgba(217, 151, 62, 0.44);
  background: linear-gradient(90deg, rgba(217, 151, 62, 0.09), transparent 72%);
}

.guild-callout__requirements ol {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
  color: rgba(244, 239, 227, 0.82);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.guild-callout p.guild-callout__statement {
  align-self: stretch;
  display: grid;
  place-items: center;
  padding: 10px 12px;
  border: 1px solid rgba(98, 183, 255, 0.18);
  background: rgba(98, 183, 255, 0.055);
  color: var(--gold-strong);
  font-size: clamp(18px, 1.85vw, 24px);
  font-weight: 950;
  grid-column: 2;
  grid-row: 2 / span 2;
  min-height: 100%;
  line-height: 1.28;
  text-align: center;
  text-shadow: 0 0 16px rgba(217, 151, 62, 0.22);
}

.guild-callout__perks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 10px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(242, 212, 139, 0.12);
  background: rgba(0, 0, 0, 0.14);
  list-style: none;
}

.guild-callout__perks li {
  position: relative;
  padding-left: 20px;
  color: rgba(244, 239, 227, 0.86);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
}

.guild-callout__perks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #85f0a7;
  font-weight: 950;
  text-shadow: 0 0 10px rgba(133, 240, 167, 0.28);
}

.guild-callout__pride {
  grid-column: 1 / -1;
  border-color: rgba(217, 151, 62, 0.22);
  background:
    linear-gradient(90deg, rgba(217, 151, 62, 0.08), rgba(105, 44, 142, 0.08)),
    rgba(255, 255, 255, 0.025);
}

.guild-callout__prime {
  grid-column: 1 / -1;
  color: rgba(244, 239, 227, 0.9);
  text-align: center;
}

.guild-callout__prime strong {
  color: var(--gold-strong);
}

.guild-callout__collapse {
  display: flex;
  margin: 12px auto 0;
  padding: 5px 10px;
  border-bottom: 1px solid rgba(242, 212, 139, 0.42);
  transform: translateX(-35px);
}

.guild-callout__discord {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 9px 12px;
  border: 1px solid rgba(217, 151, 62, 0.54);
  background:
    linear-gradient(135deg, rgba(255, 244, 211, 0.1), transparent 40%),
    linear-gradient(180deg, rgba(88, 145, 208, 0.34), rgba(58, 96, 146, 0.16)),
    rgba(255, 255, 255, 0.04);
  color: #eaf5ff;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.guild-callout__discord:hover,
.guild-callout__discord:focus-visible {
  border-color: rgba(242, 212, 139, 0.84);
  box-shadow: 0 0 24px rgba(88, 145, 208, 0.2), 0 0 20px rgba(105, 44, 142, 0.2);
  transform: translateY(-1px);
}

.guild-callout__discord svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.guild-callout__close {
  position: absolute;
  z-index: 2;
  top: 8px;
  right: 8px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(244, 239, 227, 0.14);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(244, 239, 227, 0.72);
  cursor: pointer;
  font: inherit;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  transition: background 0.16s ease, color 0.16s ease;
}

.guild-callout__close:hover,
.guild-callout__close:focus-visible {
  background: rgba(217, 182, 109, 0.14);
  color: #fff7e6;
}

.page {
  width: min(var(--max), 100%);
  margin-inline: auto;
  padding: clamp(12px, 2vw, 22px) var(--pad) 44px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(360px, 520px) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 38px);
  align-items: stretch;
  padding: clamp(8px, 1.4vw, 16px) 0 16px;
}

.eyebrow,
.label {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 5.8vw, 62px);
  line-height: 0.96;
  letter-spacing: 0;
  text-shadow: 0 6px 34px rgba(0, 0, 0, 0.7);
}

h2 {
  color: #fff7e6;
  font-size: clamp(17px, 2.2vw, 24px);
}

.hero__text {
  max-width: 640px;
  margin-top: 16px;
  color: var(--soft);
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.55;
}

.now-panel,
.metric,
.timeline-card,
.schedule {
  position: relative;
  border: 1px solid rgba(219, 143, 44, 0.16);
  background:
    radial-gradient(120% 80% at 50% 100%, rgba(105, 44, 142, 0.16), transparent 58%),
    linear-gradient(135deg, rgba(255, 244, 211, 0.065), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.062), rgba(255, 255, 255, 0.018)),
    var(--panel);
  box-shadow:
    0 18px 60px rgba(0, 0, 0, 0.38),
    0 0 26px rgba(105, 44, 142, 0.18),
    inset 0 0 0 1px rgba(255, 232, 179, 0.052);
}

.now-panel::before,
.metric::before,
.timeline-card::before,
.schedule::before,
.now-panel::after,
.metric::after,
.timeline-card::after,
.schedule::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.now-panel::before,
.metric::before,
.timeline-card::before,
.schedule::before {
  inset: -1px;
  background:
    linear-gradient(90deg, var(--ornate-frame-hot), var(--ornate-frame)) top left / var(--frame-top-left) 1px no-repeat,
    linear-gradient(90deg, var(--ornate-frame), var(--ornate-frame-hot)) top right / var(--frame-top-right) 1px no-repeat,
    linear-gradient(90deg, var(--ornate-frame), var(--ornate-frame-hot), var(--ornate-frame)) var(--frame-top-notch) 0 / var(--frame-top-notch-size) 1px no-repeat,
    linear-gradient(90deg, var(--ornate-frame), var(--ornate-frame-hot)) bottom left / var(--frame-bottom-left) 1px no-repeat,
    linear-gradient(90deg, var(--ornate-frame-hot), var(--ornate-frame)) bottom right / var(--frame-bottom-right) 1px no-repeat,
    linear-gradient(90deg, var(--ornate-frame), var(--ornate-frame-hot), var(--ornate-frame)) var(--frame-bottom-notch) 100% / var(--frame-bottom-notch-size) 1px no-repeat,
    linear-gradient(180deg, var(--ornate-frame-hot), var(--ornate-frame)) left top / 1px 100% no-repeat,
    linear-gradient(180deg, var(--ornate-frame-hot), var(--ornate-frame)) right top / 1px 100% no-repeat,
    linear-gradient(135deg, transparent 0 10px, rgba(255, 209, 111, 0.72) 10px 11px, transparent 11px) top left / 17px 17px no-repeat,
    linear-gradient(225deg, transparent 0 10px, rgba(255, 209, 111, 0.72) 10px 11px, transparent 11px) top right / 17px 17px no-repeat,
    linear-gradient(45deg, transparent 0 10px, rgba(255, 209, 111, 0.64) 10px 11px, transparent 11px) bottom left / 17px 17px no-repeat,
    linear-gradient(315deg, transparent 0 10px, rgba(255, 209, 111, 0.64) 10px 11px, transparent 11px) bottom right / 17px 17px no-repeat;
  filter:
    drop-shadow(0 0 5px rgba(219, 143, 44, 0.2))
    drop-shadow(0 0 10px rgba(105, 44, 142, 0.24));
}

.now-panel::after,
.metric::after,
.timeline-card::after,
.schedule::after {
  inset: 6px;
  background:
    linear-gradient(90deg, rgba(242, 212, 139, 0.11), transparent 54px, transparent calc(100% - 54px), rgba(242, 212, 139, 0.11)) top / 100% 1px no-repeat,
    linear-gradient(90deg, transparent, rgba(105, 44, 142, 0.48), transparent) bottom / 100% 1px no-repeat;
  box-shadow: inset 0 -18px 28px rgba(105, 44, 142, 0.1);
}

.now-panel > *,
.metric > *,
.timeline-card > *,
.schedule > * {
  position: relative;
  z-index: 1;
}

.now-panel {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  min-height: 170px;
  padding: 24px 28px;
}

.now-panel__icon {
  position: relative;
  display: grid;
  width: 82px;
  height: 82px;
  flex: 0 0 82px;
  place-items: center;
  border: 1px solid rgba(242, 212, 139, 0.28);
  background:
    radial-gradient(circle at 50% 50%, rgba(242, 212, 139, 0.12), transparent 58%),
    rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.now-panel__icon::before,
.now-panel__icon::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.now-panel__icon::before {
  opacity: 0.74;
  background: radial-gradient(circle at 50% 48%, rgba(255, 213, 74, 0.34), transparent 54%);
  animation: sunGlow 2.8s ease-in-out infinite;
}

.now-panel__icon::after {
  opacity: 0;
}

.now-panel__icon img {
  position: relative;
  z-index: 1;
  display: block;
  width: 74px;
  height: 74px;
  object-fit: contain;
  filter:
    drop-shadow(0 8px 16px rgba(0, 0, 0, 0.5))
    drop-shadow(0 0 14px rgba(217, 182, 109, 0.16));
  animation: sunShine 3.4s ease-in-out infinite;
}

.now-panel__icon.is-night::before {
  opacity: 0.68;
  background: radial-gradient(circle at 44% 42%, rgba(255, 242, 172, 0.3), transparent 48%);
  animation: moonFlicker 3.2s ease-in-out infinite;
}

.now-panel__icon.is-night img {
  animation: moonShimmer 3.8s ease-in-out infinite;
}

.now-panel__icon.is-rain::after {
  opacity: 0.58;
  background:
    linear-gradient(116deg, transparent 0 42%, rgba(119, 207, 255, 0.52) 44% 47%, transparent 49%),
    linear-gradient(116deg, transparent 0 36%, rgba(119, 207, 255, 0.36) 38% 40%, transparent 43%);
  background-size: 24px 24px, 34px 34px;
  animation: iconRain 0.9s linear infinite;
}

.now-panel__icon.is-rain img {
  animation: sunShine 3.4s ease-in-out infinite, rainBob 1.8s ease-in-out infinite;
}

.now-panel__icon.is-night.is-rain img {
  animation: moonShimmer 3.8s ease-in-out infinite, rainBob 1.8s ease-in-out infinite;
}

.now-panel strong {
  display: block;
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3.8vw, 46px);
  font-weight: 700;
  line-height: 1;
}

.now-panel p,
.metric small,
.footnote {
  color: var(--soft);
  line-height: 1.45;
}

.command-grid,
.schedule-grid {
  display: grid;
  gap: 16px;
}

.command-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 16px;
}

.metric {
  padding: 18px;
}

.metric strong {
  display: block;
  margin: 4px 0 6px;
  color: #fff7e6;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: clamp(30px, 3.4vw, 44px);
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.metric small {
  font-size: 13px;
}

.timeline-card,
.schedule {
  padding: 18px;
}

.schedule {
  min-height: 480px;
}

.timeline-card--hero {
  min-height: 170px;
}

.timeline-card--hero h2 {
  font-size: clamp(16px, 1.75vw, 21px);
  min-width: 0;
  overflow-wrap: anywhere;
  white-space: nowrap;
}

.timeline-card--hero .timeline {
  min-height: 82px;
}

.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  min-width: 0;
}

.legend {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: flex-end;
  min-width: 0;
  color: var(--muted);
  font-size: clamp(10px, 1vw, 12px);
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: normal;
}

.legend i {
  width: 10px;
  height: 10px;
}

.legend__day {
  background: var(--day);
}

.legend__night {
  background: var(--night);
}

.legend__rain {
  background: var(--rain);
}

.timeline {
  position: relative;
  display: flex;
  min-height: 72px;
  overflow: hidden;
  border: 1px solid rgba(244, 239, 227, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 38%),
    radial-gradient(circle at 50% 0%, rgba(242, 212, 139, 0.12), transparent 54%),
    rgba(0, 0, 0, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -20px 34px rgba(0, 0, 0, 0.24),
    0 12px 26px rgba(0, 0, 0, 0.22);
}

.timeline::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 42%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.28), transparent 8%, transparent 92%, rgba(0, 0, 0, 0.28));
  mix-blend-mode: screen;
}

.timeline__segment {
  position: relative;
  display: flex;
  min-width: 10px;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(0, 0, 0, 0.34);
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 900;
  isolation: isolate;
  overflow: hidden;
}

.timeline__segment:last-child {
  border-right: 0;
}

.timeline__segment::before,
.timeline__segment::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.timeline__segment::before {
  z-index: -2;
}

.timeline__segment::after {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 34%, rgba(0, 0, 0, 0.18)),
    radial-gradient(circle at 50% 24%, rgba(255, 255, 255, 0.1), transparent 42%);
}

.timeline__segment.is-day {
  background:
    linear-gradient(180deg, rgba(229, 179, 65, 0.48), rgba(79, 54, 17, 0.72)),
    linear-gradient(90deg, rgba(255, 218, 124, 0.22), transparent 48%, rgba(0, 0, 0, 0.18));
}

.timeline__segment.is-night {
  background:
    linear-gradient(180deg, rgba(83, 72, 128, 0.8), rgba(28, 24, 46, 0.88)),
    radial-gradient(circle at 50% 26%, rgba(154, 138, 217, 0.24), transparent 54%);
}

.timeline__segment.is-rain {
  background:
    repeating-linear-gradient(112deg, rgba(205, 235, 255, 0.18) 0 3px, transparent 4px 13px),
    linear-gradient(180deg, rgba(111, 191, 255, 0.66), rgba(31, 76, 112, 0.78)),
    radial-gradient(circle at 52% 24%, rgba(255, 255, 255, 0.2), transparent 44%);
  box-shadow:
    inset 0 0 18px rgba(118, 200, 255, 0.22),
    inset 0 -18px 24px rgba(0, 0, 0, 0.2);
}

.timeline__icon {
  position: relative;
  z-index: 2;
  width: clamp(26px, 4.4vw, 42px);
  height: clamp(26px, 4.4vw, 42px);
  object-fit: contain;
  filter:
    drop-shadow(0 5px 8px rgba(0, 0, 0, 0.46))
    drop-shadow(0 0 10px rgba(242, 212, 139, 0.18));
  opacity: 0.96;
}

.timeline-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  color: var(--muted);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 12px;
}

.schedule-grid {
  grid-template-columns: 1fr 1fr;
  margin-top: 16px;
}

.schedule__count {
  display: grid;
  min-width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(217, 182, 109, 0.36);
  color: var(--gold-strong);
  font-family: "Cascadia Code", Consolas, monospace;
  font-weight: 900;
}

.chips {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 9px;
}

.chip {
  min-height: 48px;
  padding: 10px 11px;
  border: 1px solid rgba(244, 239, 227, 0.12);
  background: rgba(255, 255, 255, 0.045);
}

.chip strong {
  display: block;
  color: #fff7e6;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 13px;
}

.chip span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chip.is-live {
  border-color: rgba(98, 183, 255, 0.68);
  background: rgba(98, 183, 255, 0.16);
}

.chip.is-next {
  border-color: rgba(242, 212, 139, 0.62);
  background: rgba(217, 182, 109, 0.13);
}

.empty {
  color: var(--muted);
  font-size: 14px;
}

.footnote {
  margin-top: 18px;
  padding-bottom: 12px;
  color: rgba(244, 239, 227, 0.52);
  font-size: 12px;
}

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 0 var(--pad) 34px;
}

.seo-summary {
  max-width: 820px;
  color: rgba(244, 239, 227, 0.54);
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
}

.seo-summary h2 {
  margin-bottom: 8px;
  color: rgba(255, 247, 230, 0.78);
  font-size: clamp(13px, 1.8vw, 16px);
  letter-spacing: 0.04em;
}

.seo-summary p + p {
  margin-top: 6px;
}

.overlay-landing {
  width: min(var(--max), 100%);
  margin-inline: auto;
  padding: clamp(14px, 2.4vw, 26px) var(--pad) 48px;
}

.overlay-hero {
  display: grid;
  grid-template-columns: minmax(310px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(18px, 4vw, 42px);
  align-items: center;
  min-height: clamp(360px, 48svh, 500px);
}

.overlay-hero__copy {
  max-width: 560px;
}

.overlay-hero h1 {
  margin-bottom: 16px;
  font-size: clamp(42px, 7vw, 86px);
}

.overlay-hero p,
.overlay-final-cta p {
  color: var(--soft);
  font-size: clamp(15px, 1.55vw, 18px);
  line-height: 1.55;
}

.overlay-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
  margin-top: 24px;
}

.overlay-download-option {
  display: grid;
  justify-items: center;
  gap: 7px;
}

.overlay-download-count {
  color: rgba(244, 239, 227, 0.6);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.overlay-shortcut-notice {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-top: 20px;
  padding: 12px 14px;
  border: 1px solid rgba(217, 151, 62, 0.52);
  background:
    linear-gradient(135deg, rgba(255, 244, 211, 0.1), transparent 38%),
    radial-gradient(100% 140% at 100% 100%, rgba(98, 183, 255, 0.13), transparent 64%),
    rgba(12, 11, 12, 0.9);
  box-shadow:
    inset 0 0 0 1px rgba(255, 232, 179, 0.04),
    0 0 22px rgba(217, 151, 62, 0.08);
}

.overlay-shortcut-notice::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-left: 1px solid rgba(98, 183, 255, 0.42);
  pointer-events: none;
}

.overlay-shortcut-notice__label {
  position: relative;
  color: var(--gold-strong);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.overlay-shortcut-notice p {
  margin: 0;
  color: rgba(244, 239, 227, 0.86);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.overlay-shortcut-keys {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  margin-left: 5px;
  color: rgba(242, 212, 139, 0.72);
  white-space: nowrap;
}

.overlay-shortcut-keys kbd {
  min-width: 28px;
  padding: 3px 6px;
  border: 1px solid rgba(98, 183, 255, 0.52);
  background: linear-gradient(180deg, rgba(98, 183, 255, 0.17), rgba(8, 8, 10, 0.92));
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.42);
  color: #eef8ff;
  font: inherit;
  font-size: 11px;
  line-height: 1;
  text-align: center;
}

.overlay-page .topbar {
  display: grid;
  grid-template-columns: auto minmax(300px, 560px) auto;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}

.overlay-page .topbar .overlay-shortcut-notice {
  margin: 0;
  padding: 11px 14px;
}

.overlay-page .topbar .overlay-shortcut-notice p {
  font-size: 14px;
  line-height: 1.4;
}

.overlay-page .topbar .overlay-shortcut-notice__label {
  font-size: 12px;
}

.overlay-page .topbar .overlay-shortcut-keys {
  margin-left: 6px;
}

.overlay-page .topbar .overlay-shortcut-keys kbd {
  min-width: 32px;
  padding: 4px 7px;
  font-size: 13px;
}

.overlay-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 12px 15px;
  border: 1px solid rgba(217, 151, 62, 0.54);
  background:
    linear-gradient(135deg, rgba(255, 244, 211, 0.08), transparent 38%),
    rgba(9, 8, 9, 0.78);
  color: var(--gold-strong);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.overlay-action:hover,
.overlay-action:focus-visible {
  border-color: rgba(242, 212, 139, 0.88);
  box-shadow: 0 0 24px rgba(105, 44, 142, 0.22), 0 0 18px rgba(217, 151, 62, 0.12);
  outline: none;
  transform: translateY(-1px);
}

.overlay-action--primary {
  border-color: rgba(98, 183, 255, 0.72);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(98, 183, 255, 0.32), rgba(98, 183, 255, 0.12)),
    rgba(9, 8, 9, 0.82);
  color: #eaf7ff;
}

.overlay-action--ghost {
  color: rgba(244, 239, 227, 0.78);
}

.overlay-hero__visual {
  position: relative;
  margin: 0;
  padding: clamp(12px, 2vw, 18px);
  border: 1px solid rgba(219, 143, 44, 0.16);
  background:
    radial-gradient(120% 80% at 50% 100%, rgba(105, 44, 142, 0.16), transparent 58%),
    linear-gradient(135deg, rgba(255, 244, 211, 0.065), transparent 30%),
    var(--panel);
  box-shadow:
    0 18px 60px rgba(0, 0, 0, 0.38),
    0 0 26px rgba(105, 44, 142, 0.18),
    inset 0 0 0 1px rgba(255, 232, 179, 0.052);
}

.overlay-hero__visual::before,
.overlay-hero__visual::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.overlay-hero__visual::before {
  inset: -1px;
  background:
    linear-gradient(90deg, var(--ornate-frame-hot), var(--ornate-frame)) top left / var(--frame-top-left) 1px no-repeat,
    linear-gradient(90deg, var(--ornate-frame), var(--ornate-frame-hot)) top right / var(--frame-top-right) 1px no-repeat,
    linear-gradient(90deg, var(--ornate-frame), var(--ornate-frame-hot)) bottom left / var(--frame-bottom-left) 1px no-repeat,
    linear-gradient(90deg, var(--ornate-frame-hot), var(--ornate-frame)) bottom right / var(--frame-bottom-right) 1px no-repeat,
    linear-gradient(180deg, var(--ornate-frame-hot), var(--ornate-frame)) left top / 1px 100% no-repeat,
    linear-gradient(180deg, var(--ornate-frame-hot), var(--ornate-frame)) right top / 1px 100% no-repeat;
  filter: drop-shadow(0 0 8px rgba(219, 143, 44, 0.18));
}

.overlay-hero__visual::after {
  inset: 8px;
  background:
    linear-gradient(90deg, rgba(242, 212, 139, 0.12), transparent 64px, transparent calc(100% - 64px), rgba(242, 212, 139, 0.12)) top / 100% 1px no-repeat,
    linear-gradient(90deg, transparent, rgba(105, 44, 142, 0.54), transparent) bottom / 100% 1px no-repeat;
}

.overlay-hero__visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.42));
}

.overlay-hero__visual figcaption {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  color: rgba(244, 239, 227, 0.58);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.overlay-feature-band,
.overlay-safe,
.overlay-final-cta {
  position: relative;
  border: 1px solid rgba(219, 143, 44, 0.16);
  background:
    radial-gradient(120% 80% at 50% 100%, rgba(105, 44, 142, 0.14), transparent 58%),
    linear-gradient(135deg, rgba(255, 244, 211, 0.055), transparent 30%),
    var(--panel);
  box-shadow:
    0 18px 60px rgba(0, 0, 0, 0.3),
    inset 0 0 0 1px rgba(255, 232, 179, 0.04);
}

.overlay-feature-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 6px;
}

.overlay-feature-band > div {
  padding: clamp(16px, 2vw, 22px);
  background: rgba(255, 255, 255, 0.025);
}

.overlay-feature-band strong {
  display: block;
  margin-bottom: 7px;
  color: #fff7e6;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.05;
}

.overlay-feature-band p,
.overlay-safe li,
.overlay-presets__note,
.overlay-preset p {
  color: var(--soft);
  font-size: 13px;
  line-height: 1.45;
}

.overlay-presets {
  margin-top: clamp(28px, 5vw, 58px);
}

.overlay-presets .section-head {
  align-items: end;
}

.overlay-presets__note {
  max-width: 430px;
  text-align: right;
}

.overlay-preset-list {
  display: grid;
  gap: 14px;
}

.overlay-preset {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(190px, 0.34fr);
  gap: clamp(14px, 2vw, 22px);
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(217, 151, 62, 0.18);
  background:
    linear-gradient(90deg, rgba(255, 244, 211, 0.045), transparent 54%),
    rgba(255, 255, 255, 0.03);
}

.overlay-preset--rain {
  grid-template-columns: 190px minmax(190px, 1fr);
}

.overlay-preset img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.overlay-preset--rain img {
  width: 172px;
  justify-self: center;
}

.overlay-preset h3 {
  margin: 0 0 7px;
  color: #fff7e6;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1;
}

.overlay-safe {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(18px, 4vw, 38px);
  align-items: center;
  margin-top: clamp(28px, 5vw, 58px);
  padding: clamp(18px, 3vw, 30px);
}

.overlay-safe ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.overlay-safe li {
  position: relative;
  padding-left: 20px;
  font-weight: 800;
}

.overlay-safe li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #85f0a7;
}

.overlay-final-cta {
  margin-top: clamp(28px, 5vw, 58px);
  padding: clamp(22px, 4vw, 38px);
  text-align: center;
}

.overlay-final-cta h2 {
  margin-bottom: 10px;
  font-size: clamp(28px, 4vw, 46px);
}

.overlay-final-cta p {
  max-width: 720px;
  margin-inline: auto;
}

.overlay-final-cta .overlay-actions {
  justify-content: center;
}

.overlay-download-integrity {
  display: grid;
  gap: 5px;
  max-width: 780px;
  margin: 18px auto 0;
  color: rgba(244, 239, 227, 0.66);
  font-size: 11px;
  line-height: 1.45;
}

.overlay-download-integrity strong {
  color: var(--gold-strong);
  font-size: 12px;
  text-transform: uppercase;
}

.overlay-download-integrity code {
  color: rgba(234, 247, 255, 0.78);
  font-family: Consolas, "Courier New", monospace;
  overflow-wrap: anywhere;
}

@keyframes drift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: -360px 360px;
  }
}

@keyframes sunGlow {
  0%,
  100% {
    opacity: 0.46;
    transform: scale(0.94);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.08);
  }
}

@keyframes sunShine {
  0%,
  100% {
    filter:
      drop-shadow(0 8px 16px rgba(0, 0, 0, 0.5))
      drop-shadow(0 0 10px rgba(217, 182, 109, 0.18))
      brightness(1);
  }
  50% {
    filter:
      drop-shadow(0 8px 16px rgba(0, 0, 0, 0.5))
      drop-shadow(0 0 18px rgba(242, 212, 139, 0.36))
      brightness(1.08);
  }
}

@keyframes moonFlicker {
  0%,
  100% {
    opacity: 0.42;
  }
  45% {
    opacity: 0.82;
  }
  62% {
    opacity: 0.58;
  }
}

@keyframes moonShimmer {
  0%,
  100% {
    filter:
      drop-shadow(0 8px 16px rgba(0, 0, 0, 0.5))
      drop-shadow(0 0 10px rgba(244, 231, 164, 0.18))
      brightness(1);
  }
  50% {
    filter:
      drop-shadow(0 8px 16px rgba(0, 0, 0, 0.5))
      drop-shadow(0 0 18px rgba(244, 231, 164, 0.34))
      brightness(1.07);
  }
}

@keyframes iconRain {
  from {
    background-position: 0 -28px, 8px -34px;
  }
  to {
    background-position: -28px 28px, -26px 34px;
  }
}

@keyframes rainBob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(1px);
  }
}

@media (max-width: 820px) {
  .topbar {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .topbar__meta {
    grid-column: 1;
    justify-content: center;
  }

  .overlay-page .topbar {
    grid-template-columns: 1fr;
  }

  .overlay-page .topbar > * {
    min-width: 0;
    max-width: 100%;
  }

  .overlay-page .topbar .overlay-shortcut-notice {
    box-sizing: border-box;
    width: min(100%, 620px);
    min-width: 0;
  }

  .overlay-page .topbar .overlay-shortcut-notice p {
    min-width: 0;
    font-size: 13px;
    overflow-wrap: anywhere;
  }

  .brand {
    grid-column: 1;
  }

  .guild-callout {
    grid-template-columns: 1fr;
    justify-items: start;
    padding-right: 44px;
  }

  .guild-callout__icon {
    position: absolute;
    left: 14px;
    top: 14px;
    width: 48px;
    height: 48px;
  }

  .guild-callout__copy {
    padding-left: 60px;
  }

  .guild-callout__details {
    padding: 13px 0 2px;
  }

  .guild-callout__collapse {
    transform: none;
  }

  .guild-callout__details-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .guild-callout p.guild-callout__statement {
    grid-column: auto;
    grid-row: auto;
    min-height: 0;
  }

  .guild-callout__perks {
    grid-template-columns: 1fr;
  }

  .hero,
  .schedule-grid {
    grid-template-columns: 1fr;
  }

  .command-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .overlay-hero,
  .overlay-safe {
    grid-template-columns: 1fr;
  }

  .overlay-hero {
    min-height: unset;
  }

  .overlay-feature-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .overlay-preset,
  .overlay-preset--rain {
    grid-template-columns: 1fr;
  }

  .overlay-presets__note {
    max-width: none;
    text-align: left;
  }

  .hero {
    min-height: unset;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .legend {
    flex-wrap: wrap;
    white-space: normal;
  }
}

@media (max-width: 980px) {
  .timeline-card--hero .section-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .timeline-card--hero .legend {
    justify-content: flex-start;
    width: 100%;
  }
}

@media (max-width: 520px) {
  .brand {
    width: min(300px, 78vw);
  }

  .settings-open {
    width: 38px;
    padding-inline: 10px;
  }

  .settings-open span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .topbar-link {
    min-height: 32px;
    padding: 8px 9px;
    font-size: 10px;
  }

  .topbar-link--overlay {
    width: 100%;
    justify-content: center;
  }

  .overlay-landing {
    padding-top: 20px;
  }

  .overlay-hero h1 {
    font-size: clamp(38px, 13vw, 58px);
  }

  .overlay-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .overlay-download-option {
    width: 100%;
  }

  .overlay-shortcut-notice {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .overlay-shortcut-notice p {
    font-size: 11px;
  }

  .overlay-shortcut-keys {
    margin: 7px 0 0;
  }

  .overlay-action {
    width: 100%;
  }

  .overlay-feature-band,
  .overlay-safe ul {
    grid-template-columns: 1fr;
  }

  .overlay-preset {
    padding: 10px;
  }

  .overlay-preset h3 {
    font-size: 24px;
  }

  .command-grid {
    gap: 6px;
  }

  .metric {
    padding: 10px 8px;
  }

  .metric strong {
    font-size: clamp(18px, 5vw, 22px);
  }

  .metric small {
    font-size: 11px;
    overflow-wrap: anywhere;
  }

  .label {
    font-size: 10px;
  }

  .guild-callout {
    gap: 10px;
    padding: 11px 42px 12px 12px;
  }

  .guild-callout__icon {
    left: 12px;
    top: 12px;
    width: 50px;
    height: 50px;
  }

  .guild-callout__copy {
    min-height: 52px;
    padding-left: 60px;
  }

  .guild-callout__details-toggle {
    margin-top: 4px;
  }

  .guild-callout__discord {
    width: 100%;
    max-width: 220px;
    justify-self: center;
    margin-left: 30px;
  }

  .now-panel {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 18px;
  }

  .now-panel strong {
    font-size: clamp(28px, 9vw, 38px);
  }

  .now-panel p {
    font-size: 13px;
  }

  .chips {
    grid-template-columns: 1fr;
  }

  .schedule {
    min-height: 620px;
  }
}

@media (max-width: 340px) {
  .command-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scene__rain,
  .now-panel__icon::before,
  .now-panel__icon::after,
  .now-panel__icon img {
    animation: none;
  }
}
