/* Official black and gold theme. Invert the paper shell; keep the layout. */
body.theme-gold {
  --y: #f0d78a;
  --ink: #14110d;
  --sand: #1c1814;
  --rule: rgba(232, 195, 122, 0.3);
  --muted: #b89a62;
  background-color: #0c0b09;
  background-image: none;
  color: #f0d78a;
}

body.theme-gold {
  background-color: #110f0c;
  isolation: isolate;
}

.theme-gold-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
body.theme-gold > .site-header,
body.theme-gold > main,
body.theme-gold > .site-footer {
  position: relative;
  z-index: 1;
}

.theme-gold-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(45deg, #f8bd1d 1px, transparent 1px),
    linear-gradient(-45deg, #f8bd1d 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.03;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 28% 72%, #000 100%);
  mask-image: linear-gradient(90deg, #000 0%, transparent 28% 72%, #000 100%);
}

.theme-gold-drift {
  position: absolute;
  display: none;
  color: rgba(248, 189, 29, 0.06);
}
.theme-gold-drift--left {
  left: -10rem;
  top: 25%;
  width: 34rem;
  height: 34rem;
  animation: theme-gold-drift 18s ease-in-out infinite;
}
.theme-gold-drift--right {
  right: -12rem;
  bottom: -6rem;
  width: 38rem;
  height: 38rem;
  animation: theme-gold-drift 22s ease-in-out infinite reverse;
}
@keyframes theme-gold-drift {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-24px) rotate(4deg); }
}

.theme-gold-spark {
  position: absolute;
  display: none;
  color: rgba(248, 189, 29, 0.08);
}
.theme-gold-spark--a {
  right: 7%;
  top: 22%;
  width: 24px;
  height: 24px;
}
.theme-gold-spark--b {
  left: 9%;
  bottom: 12%;
  width: 20px;
  height: 20px;
}

.theme-gold-rail {
  position: absolute;
  top: 0;
  bottom: 0;
  display: none;
  width: calc((100vw - 1200px) / 2);
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 96px 0;
  box-sizing: border-box;
}
.theme-gold-rail--left { left: 0; }
.theme-gold-rail--right { right: 0; }
.theme-gold-rail-mark {
  width: 32px;
  height: 32px;
  color: rgba(248, 189, 29, 0.15);
}
.theme-gold-rail-text {
  writing-mode: vertical-rl;
  letter-spacing: 0.4em;
  font: 400 12px/1 var(--mono, ui-monospace, "SFMono-Regular", Menlo, monospace);
  color: rgba(161, 158, 152, 0.25);
  white-space: nowrap;
}
.theme-gold-rail-text--flip { transform: rotate(180deg); }
.theme-gold-rail-dots {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.theme-gold-rail-dots i {
  width: 8px;
  height: 8px;
  background: rgba(248, 189, 29, 0.10);
  transform: rotate(45deg);
}

@media (min-width: 1280px) {
  .theme-gold-drift,
  .theme-gold-spark,
  .theme-gold-rail { display: flex; }
  .theme-gold-drift,
  .theme-gold-spark { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  .theme-gold-drift--left,
  .theme-gold-drift--right { animation: none; }
}



.theme-gold .site-header {
  background: #14110d;
  border-bottom-color: #c4a056;
}
.theme-gold .nav-band,
.theme-gold .site-nav a,
.theme-gold .site-nav button,
.theme-gold .chain-id {
  border-color: #c4a05666;
}
.theme-gold .button-header,
.theme-gold .button-accent,
.theme-gold .site-nav .active {
  background: #e8c37a;
  border-color: #e8c37a;
  color: #14110d;
}
.theme-gold .button-header:hover,
.theme-gold .button-accent:hover {
  background: #f3d78e;
  color: #14110d;
}
.theme-gold .icon {
  border-color: #e8c37a;
  color: #e8c37a;
}
.theme-gold .account-nav {
  background: #14110d;
}

.theme-gold .icon img {
  /* SVGs used as <img> do not inherit currentColor; they render black. */
  filter: invert(86%) sepia(28%) saturate(700%) hue-rotate(8deg) brightness(1.08);
}
.theme-gold .button-outline:hover,
.theme-gold .icon:hover,
.theme-gold .site-nav a:hover,
.theme-gold .site-nav button:hover,
.theme-gold .board-tabs button:hover,
.theme-gold .profile-tabs button:hover {
  background: #e8c37a;
  color: #14110d;
}
.theme-gold .icon:hover img { filter: none; }
.theme-gold .skip-link:focus { background: #14110d; color: #f0d78a; }

.theme-gold .hero,
.theme-gold .invite-section,
.theme-gold .pricing-section,
.theme-gold .faq-section,
.theme-gold .spec-section,
.theme-gold .rank-section,
.theme-gold .mint-section,
.theme-gold .launch-stage {
  background-color: transparent;
  background-image: none;
  background-size: auto;
  border-top-color: #c4a05644;
}
.theme-gold .section-heading {
  border-bottom-color: #e8c37a;
}
.theme-gold .section-heading:after {
  background: repeating-linear-gradient(90deg, #e8c37a 0 1px, transparent 1px 24px);
}
.theme-gold .outline-type {
  -webkit-text-stroke-color: #e8c37a;
}
.theme-gold .status-dot { background: #e8c37a; }

.theme-gold .mint-body,
.theme-gold .mint-command,
.theme-gold .order-form,
.theme-gold #profile-dialog {
  background-color: #16130f;
}
.theme-gold .invite-levels {
  background: #181510;
  box-shadow: 7px 7px 0 rgba(0, 0, 0, 0.35);
}
.theme-gold .invite-levels .panel-heading {
  border-bottom-color: #c4a056;
}
.theme-gold .invite-levels .level-reward,
.theme-gold .invite-levels .panel-heading small,
.theme-gold .podium-score,
.theme-gold .invite-podium .podium-heading small {
  color: #e8c37a;
}
.theme-gold .invite-levels .data-table tbody tr.level-row--gold {
  background: rgba(232, 195, 122, 0.12);
}
.theme-gold .invite-levels .data-table tbody tr.level-row--platinum {
  background: rgba(210, 226, 236, 0.10);
}
.theme-gold .invite-levels .data-table tbody tr.level-row--glory {
  background: rgba(232, 195, 122, 0.18);
}
.theme-gold .text-input,
.theme-gold .invite-link-field,
.theme-gold .mint-command-field {
  background: #100e0c;
  color: #f0d78a;
  border-color: #c4a056;
}
.theme-gold dialog {
  background: #16130f;
  color: #f0d78a;
  box-shadow: 8px 8px 0 #0008;
}
.theme-gold .policy-card {
  background: #16130f;
  border-color: #c4a056;
}
.theme-gold .level-avatar {
  background: #2a2218;
}
.theme-gold .podium-place.is-empty .podium-name {
  color: #b89a62;
}
.theme-gold .hero::before,
.theme-gold .hero-actions::after,
.theme-gold .faq-section::before,
.theme-gold .invite-levels::after {
  content: none !important;
  background: none !important;
}

.theme-gold .hero .tags span:first-of-type {
  background-color: transparent;
}
.theme-gold .tags {
  flex-wrap: wrap;
  overflow: visible;
}
.theme-gold .tags > * {
  white-space: nowrap;
}
