:root {
  --swp-gold: #ddb061;
  --swp-gold-bright: #f1d195;
  --swp-ink: #05080e;
  --swp-night: #09111a;
  --swp-paper: #e8dbc3;
  --swp-muted: #9d9489;
  --swp-line: rgba(221, 176, 97, .25);
}

.swp-launcher {
  --swp-progress: 0deg;
  position: fixed;
  z-index: 440;
  left: max(18px, env(safe-area-inset-left));
  bottom: max(18px, env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: 48px auto;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 5px 18px 5px 5px;
  border: 1px solid rgba(225, 181, 101, .46);
  border-radius: 999px;
  color: var(--swp-paper);
  background: linear-gradient(135deg, rgba(16, 22, 31, .97), rgba(4, 7, 12, .98));
  box-shadow: 0 14px 42px rgba(0, 0, 0, .48), inset 0 0 0 1px rgba(255, 255, 255, .025);
  backdrop-filter: blur(14px);
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  text-align: left;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease, opacity .2s ease;
}

.swp-launcher:hover,
.swp-launcher:focus-visible {
  border-color: rgba(241, 209, 149, .82);
  box-shadow: 0 18px 52px rgba(0, 0, 0, .58), 0 0 28px rgba(221, 176, 97, .12);
  transform: translateY(-2px);
  outline: 2px solid transparent;
}

.swp-launcher__emblem {
  position: relative;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--swp-gold-bright);
  background:
    radial-gradient(circle at 50% 50%, #182433 0 45%, transparent 47%),
    conic-gradient(var(--swp-gold) var(--swp-progress), rgba(221, 176, 97, .14) 0);
  box-shadow: inset 0 0 0 1px rgba(239, 200, 131, .28), 0 0 18px rgba(221, 176, 97, .14);
  font: 22px/1 Georgia, "Times New Roman", serif;
}

.swp-launcher__emblem::before,
.swp-launcher__emblem::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 23px;
  height: 1px;
  background: rgba(238, 202, 137, .56);
  transform: translate(-50%, -50%) rotate(45deg);
}

.swp-launcher__emblem::after { transform: translate(-50%, -50%) rotate(-45deg); }
.swp-launcher__emblem > span { position: relative; z-index: 2; }

.swp-launcher__copy { display: grid; gap: 4px; }
.swp-launcher__copy small {
  color: #a79477;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .16em;
  line-height: 1;
  text-transform: uppercase;
}
.swp-launcher__copy strong {
  color: #eadfc9;
  font: 400 15px/1.1 Georgia, "Times New Roman", serif;
}

body.menu-open .swp-launcher,
body.atlas-open .swp-launcher,
body.excerpt-open .swp-launcher,
body.lightbox-open .swp-launcher,
body.lc-perfume-active .swp-launcher,
body.is-leaving .swp-launcher {
  opacity: 0;
  pointer-events: none;
}

.swp-dialog {
  width: min(1080px, calc(100vw - 34px));
  max-width: none;
  max-height: min(92svh, 920px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(226, 180, 98, .46);
  color: var(--swp-paper);
  background: #060b12;
  box-shadow: 0 45px 150px rgba(0, 0, 0, .88), inset 0 0 0 7px #050910, inset 0 0 0 8px rgba(221, 176, 97, .1);
  font-family: Arial, Helvetica, sans-serif;
}

.swp-dialog:not([open]) { display: none; }
.swp-dialog::backdrop {
  background: rgba(1, 4, 8, .88);
  backdrop-filter: blur(14px);
}

.swp-dialog.swp-fallback-open {
  position: fixed;
  z-index: 2147480000;
  inset: 17px;
  display: block;
}

.swp-shell {
  position: relative;
  max-height: min(92svh, 920px);
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-color: #9a6c37 #090e15;
  background:
    radial-gradient(circle at 50% -10%, rgba(104, 75, 39, .28), transparent 34%),
    radial-gradient(circle at 15% 68%, rgba(30, 62, 78, .25), transparent 31%),
    linear-gradient(145deg, #0b111a, #070b12 62%, #05080d);
}

.swp-shell::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(221, 176, 97, .09);
  pointer-events: none;
}

.swp-close {
  position: absolute;
  z-index: 8;
  right: 27px;
  top: 25px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(226, 183, 106, .42);
  border-radius: 50%;
  background: rgba(4, 8, 13, .72);
  cursor: pointer;
}

.swp-close::before,
.swp-close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 19px;
  height: 1px;
  background: var(--swp-gold);
  transform: translate(-50%, -50%) rotate(45deg);
}
.swp-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.swp-close:hover { background: rgba(221, 176, 97, .09); transform: rotate(7deg); }
.swp-close:focus-visible,
.swp-dialog a:focus-visible,
.swp-dialog button:focus-visible { outline: 2px solid var(--swp-gold-bright); outline-offset: 3px; }

.swp-masthead {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: end;
  padding: 58px 92px 34px 62px;
  border-bottom: 1px solid var(--swp-line);
}

.swp-kicker {
  margin: 0 0 12px;
  color: #ad7d45;
  font-size: 10px;
  letter-spacing: .23em;
  line-height: 1.3;
  text-transform: uppercase;
}

.swp-masthead h2 {
  margin: 0;
  color: #f0dfc1;
  font: 400 clamp(38px, 5.1vw, 70px)/.96 Georgia, "Times New Roman", serif;
  letter-spacing: -.045em;
}

.swp-masthead h2 em { color: var(--swp-gold); font-weight: 400; }
.swp-intro {
  max-width: 690px;
  margin: 18px 0 0;
  color: #a9a096;
  font-size: 16px;
  line-height: 1.65;
}

.swp-progress {
  min-width: 150px;
  padding: 17px 19px;
  border: 1px solid rgba(221, 176, 97, .23);
  background: rgba(5, 9, 15, .5);
  text-align: center;
}
.swp-progress strong {
  display: block;
  color: var(--swp-gold-bright);
  font: 400 36px/1 Georgia, "Times New Roman", serif;
}
.swp-progress span {
  display: block;
  margin-top: 7px;
  color: #897d6b;
  font-size: 9px;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.swp-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 1px;
  background: rgba(221, 176, 97, .13);
}

.swp-seal {
  position: relative;
  min-height: 235px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  padding: 29px 27px 25px;
  overflow: hidden;
  color: inherit;
  background: linear-gradient(145deg, rgba(13, 20, 29, .98), rgba(6, 10, 16, .98));
  text-decoration: none;
  transition: background .25s ease, transform .25s ease;
}

.swp-seal::before {
  content: "";
  position: absolute;
  right: -52px;
  top: -52px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(221, 176, 97, .08);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(221, 176, 97, .018), 0 0 0 55px rgba(221, 176, 97, .01);
}

.swp-seal:hover,
.swp-seal:focus-visible {
  z-index: 2;
  background: radial-gradient(circle at 78% 16%, rgba(146, 98, 46, .17), transparent 35%), #0b1119;
}

.swp-seal__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.swp-seal__number {
  color: #7f684a;
  font-size: 9px;
  letter-spacing: .2em;
}
.swp-seal__state {
  color: #7f776e;
  font-size: 9px;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.swp-seal__identity { display: grid; grid-template-columns: 58px 1fr; gap: 17px; align-items: center; }
.swp-seal__mark {
  position: relative;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(221, 176, 97, .25);
  border-radius: 50%;
  color: #8b744f;
  background: rgba(3, 7, 12, .55);
  font: 400 25px/1 Georgia, "Times New Roman", serif;
}
.swp-seal__mark::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px dashed rgba(221, 176, 97, .14);
  border-radius: 50%;
}
.swp-seal h3 {
  margin: 0 0 6px;
  color: #d8ccb9;
  font: 400 24px/1 Georgia, "Times New Roman", serif;
}
.swp-seal p {
  margin: 0;
  color: #8e8983;
  font-size: 14px;
  line-height: 1.52;
}
.swp-seal__route {
  color: #a77743;
  font-size: 9px;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.swp-seal__route::after { content: "  →"; }

.swp-seal.is-earned {
  background: radial-gradient(circle at 74% 13%, rgba(179, 123, 55, .22), transparent 37%), linear-gradient(145deg, #15170f, #090e13 72%);
}
.swp-seal.is-earned .swp-seal__mark {
  color: var(--swp-gold-bright);
  border-color: rgba(241, 209, 149, .7);
  box-shadow: 0 0 27px rgba(221, 176, 97, .2), inset 0 0 15px rgba(221, 176, 97, .08);
}
.swp-seal.is-earned .swp-seal__state { color: var(--swp-gold); }
.swp-seal.is-earned .swp-seal__route::before { content: "Return to "; }

.swp-completion {
  margin: 34px 36px 0;
  padding: clamp(34px, 5vw, 58px);
  border: 1px solid rgba(227, 184, 105, .38);
  background:
    radial-gradient(circle at 50% 15%, rgba(221, 176, 97, .2), transparent 27%),
    linear-gradient(145deg, rgba(28, 29, 23, .96), rgba(7, 12, 18, .98));
  text-align: center;
}
.swp-completion[hidden] { display: none !important; }
.swp-completion__sigil {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  margin: 0 auto 21px;
  border: 1px solid rgba(241, 209, 149, .65);
  border-radius: 50%;
  color: var(--swp-gold-bright);
  box-shadow: 0 0 0 12px rgba(221, 176, 97, .035), 0 0 40px rgba(221, 176, 97, .18);
  font: 38px/1 Georgia, "Times New Roman", serif;
}
.swp-completion h3 {
  margin: 0;
  color: #f2e1c3;
  font: 400 clamp(31px, 4vw, 50px)/1.05 Georgia, "Times New Roman", serif;
}
.swp-completion > p {
  max-width: 650px;
  margin: 15px auto 24px;
  color: #aaa095;
  font-size: 16px;
  line-height: 1.6;
}
.swp-personalize {
  width: min(100%, 490px);
  display: grid;
  gap: 8px;
  margin: 0 auto 24px;
  padding: 18px 20px;
  border: 1px solid rgba(221, 176, 97, .2);
  background: rgba(3, 8, 13, .46);
  text-align: left;
}
.swp-personalize > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #d9c5a2;
  font: 700 10px/1.2 Arial, Helvetica, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.swp-personalize > span em {
  color: #756d64;
  font-size: 8px;
  font-style: normal;
  font-weight: 400;
}
.swp-personalize input {
  width: 100%;
  min-height: 45px;
  padding: 10px 12px;
  border: 1px solid rgba(221, 176, 97, .32);
  border-radius: 0;
  outline: 0;
  color: #f0dfc1;
  background: rgba(3, 8, 13, .78);
  font: 18px/1.25 Georgia, "Times New Roman", serif;
}
.swp-personalize input::placeholder { color: #766f65; }
.swp-personalize input:focus {
  border-color: var(--swp-gold-bright);
  box-shadow: 0 0 0 2px rgba(221, 176, 97, .12);
}
.swp-personalize small {
  color: #756f67;
  font-size: 9px;
  line-height: 1.45;
}
.swp-completion__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.swp-completion__actions button,
.swp-completion__actions a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 17px;
  border: 1px solid rgba(221, 176, 97, .38);
  color: #dec9a5;
  background: rgba(5, 9, 14, .7);
  cursor: pointer;
  font: 10px/1.2 Arial, Helvetica, sans-serif;
  letter-spacing: .11em;
  text-decoration: none;
  text-transform: uppercase;
}
.swp-completion__actions button:first-child {
  color: #17120a;
  background: linear-gradient(135deg, #d3a451, #edcd8f);
}
.swp-completion__actions button:hover,
.swp-completion__actions a:hover { border-color: var(--swp-gold-bright); }

.swp-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 27px 38px 34px;
  color: #716b64;
  font-size: 11px;
  line-height: 1.5;
}
.swp-reset {
  padding: 7px 0;
  border: 0;
  border-bottom: 1px solid rgba(221, 176, 97, .2);
  color: #8f7656;
  background: transparent;
  cursor: pointer;
  font: 10px/1 Arial, Helvetica, sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.swp-toast {
  position: fixed;
  z-index: 2147481000;
  left: 50%;
  bottom: max(28px, env(safe-area-inset-bottom));
  width: min(520px, calc(100vw - 32px));
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px 19px;
  border: 1px solid rgba(240, 204, 139, .54);
  color: #e8dac1;
  background: rgba(6, 11, 17, .97);
  box-shadow: 0 22px 70px rgba(0, 0, 0, .74), 0 0 28px rgba(221, 176, 97, .1);
  font-family: Arial, Helvetica, sans-serif;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition: opacity .28s ease, transform .28s ease;
}
.swp-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.swp-toast__mark {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(241, 209, 149, .56);
  border-radius: 50%;
  color: var(--swp-gold-bright);
  font: 22px/1 Georgia, "Times New Roman", serif;
}
.swp-toast small { display: block; margin-bottom: 4px; color: #a97b45; font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
.swp-toast strong { color: #e9ddc8; font: 400 18px/1.2 Georgia, "Times New Roman", serif; }

.swp-status { min-height: 20px; margin: 15px 0 0; color: #bc9d6b; font-size: 12px; }

@media (max-width: 800px) {
  .swp-masthead { grid-template-columns: 1fr; padding: 62px 65px 30px 30px; }
  .swp-progress { width: 150px; }
  .swp-map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .swp-seal { min-height: 220px; }
}

@media (max-width: 540px) {
  .swp-launcher { grid-template-columns: 46px; min-width: 58px; padding: 5px; }
  .swp-launcher__emblem { width: 46px; height: 46px; }
  .swp-launcher__copy {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .swp-launcher::after {
    content: attr(data-swp-count);
    position: absolute;
    right: -4px;
    top: -5px;
    min-width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border: 1px solid #dcb369;
    border-radius: 50%;
    color: #1a1208;
    background: #e8c784;
    font: 700 10px/1 Arial, Helvetica, sans-serif;
  }
  .swp-dialog { width: calc(100vw - 12px); max-height: calc(100svh - 12px); }
  .swp-shell { max-height: calc(100svh - 12px); }
  .swp-close { right: 17px; top: 16px; width: 42px; height: 42px; }
  .swp-masthead { padding: 72px 24px 27px; }
  .swp-masthead h2 { font-size: 42px; }
  .swp-intro { font-size: 15px; }
  .swp-map { grid-template-columns: 1fr; }
  .swp-seal { min-height: 185px; padding: 24px 22px; }
  .swp-completion { margin: 24px 14px 0; padding: 35px 20px; }
  .swp-completion__actions { display: grid; }
  .swp-footer { display: grid; padding: 24px 22px 32px; }
  .swp-reset { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  .swp-launcher,
  .swp-seal,
  .swp-toast,
  .swp-close { transition: none !important; }
}

@media (forced-colors: active) {
  .swp-launcher,
  .swp-dialog,
  .swp-seal,
  .swp-progress,
  .swp-completion { border: 1px solid CanvasText; }
}
