/* The public site uses one shell, type scale and set of surfaces. */
:root {
  color-scheme: dark;
  --ink: #fff7f0;
  --petal: #f0c6e3;
  --dim: #c8bbc8;
  --ground: #151018;
  --panel: #221a25;
  --rule: #493949;
}
body.mingl-site {
  --bg: var(--ground); --surface: var(--panel); --surface-2: #2b202d;
  --line: var(--rule); --border: var(--rule); --line-hi: #675168;
  --text: var(--ink); --muted: var(--dim); --subtle: #b4a4b5;
  --card: var(--panel); --card-solid: #211921; --grad: var(--petal); --maxw: 1160px;
  margin: 0; color: var(--ink); font: 16px/1.55 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(ellipse 950px 600px at 17% 0%, #392535, transparent 78%), var(--ground);
}
.mingl-site *, .mingl-site *::before, .mingl-site *::after {box-sizing: border-box}
.mingl-site [hidden] {display: none !important}
.mingl-site :focus-visible {outline: 3px solid #f1c3df; outline-offset: 4px}
.mingl-site a {color: var(--petal)}
.mingl-site :is(h1,h2,h3) {color: var(--ink); text-wrap: balance}
.mingl-site :is(h1,h2) {letter-spacing: -.055em; line-height: 1.05}
.mingl-site .container, .mingl-site .main-pad {width: min(100%, 1160px); margin-inline: auto; padding-inline: clamp(18px,4vw,44px)}
.mingl-site .breadcrumbs {font-size: 13px; color: var(--dim); margin-bottom: 26px}
.skip-content {position: fixed; z-index: 99; top: 5px; left: 8px; padding: 10px 16px; background: #201720; transform: translateY(-160%)}
.skip-content:focus {transform: none}
.mingl-header {position: sticky; top: 0; z-index: 60; background: #19131cf5; border-bottom: 1px solid var(--rule); backdrop-filter: blur(15px)}
.mingl-nav, .footer-content, .footer-base {width: min(100%,1160px); margin: auto; padding-inline: clamp(18px,4vw,44px)}
.mingl-nav {height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 12px}
.mingl-site .mingl-wordmark {display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 23px; font-weight: 780; line-height: 1; letter-spacing: -.06em; text-decoration: none; white-space: nowrap}
.mingl-wordmark img {border-radius: 9px; display: block}
.wordmark-live {margin-left: 4px; font-family: Georgia, serif; font-weight: 400; font-style: italic; color: var(--petal)}
.nav-actions, .nav-desktop {display: flex; align-items: center; gap: clamp(12px,2.6vw,30px)}
.mingl-nav a, .site-menu summary {font-size: 14px; font-weight: 600; color: var(--dim); text-decoration: none}
.mingl-nav a:hover, .mingl-nav a[aria-current=page] {color: var(--ink)}
.mingl-nav .handle-link {color: #2b1929; background: var(--petal); white-space: nowrap; padding: 10px 16px; border-radius: 24px; font-weight: 750}
.site-menu {position: relative}
.site-menu summary {list-style: none; cursor: pointer; padding-block: 12px}
.site-menu summary::-webkit-details-marker {display: none}
.site-menu summary::after {content: "⌄"; margin-left: 5px}
.site-menu > div {position: absolute; right: 0; top: 100%; width: 192px; z-index: 2; padding: 6px; border: 1px solid var(--rule); background: #2d222e; border-radius: 14px; box-shadow: 0 15px 40px #0006}
.site-menu a {display: block; border-radius: 8px; padding: 9px 12px}
.site-menu a:hover, .site-menu a:focus {background: #443344}
.mingl-footer {background: #1c151e; border-top: 1px solid var(--rule); padding-block: 35px 20px; margin: 0}
.footer-content {display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 25px; align-items: start}
.mingl-footer nav {display: grid; gap: 6px}
.mingl-footer nav a, .footer-base a {color: var(--dim); font-size: 14px; text-decoration: none; width: fit-content; padding-block: 3px}
.mingl-footer a:hover {color: var(--ink); text-decoration: underline}
.footer-base {display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; align-items: baseline; font-size: 13px; color: var(--dim)}
.mingl-site .btn-primary, .mingl-site .move-button, .mingl-site .btn-primary:hover {background: var(--petal); border-color: transparent; color: #2b1929; font-weight: 750; box-shadow: none}
.mingl-site .btn-secondary, .mingl-site .chip-link {background: #2c222e; border-color: #645164; color: #faecf6; box-shadow: none}
.mingl-site .btn {min-height: 42px; border-radius: 12px}
.mingl-site .card, .mingl-site .claim-panel, .mingl-site .activate-panel {background: linear-gradient(150deg,#2b222d,#211a23 70%); border: 1px solid var(--rule); border-radius: 20px; box-shadow: none; min-width: 0}
.mingl-site .card-hi::before {display: none}
.mingl-site .text-grad, .gold-hero h1 em {background: none; color: var(--petal); -webkit-text-fill-color: currentColor; font-family: Georgia,serif; font-style: italic; font-weight: 400}
.mingl-site .stat, .mingl-site .answer-box, .mingl-site .callout, .mingl-site .subcard, .mingl-site .toc-panel, .mingl-site details.faq {background: #241c27; border-color: var(--rule); box-shadow: none}
.mingl-site .answer-box, .mingl-site .callout {border-left: 3px solid #b88da9}
.mingl-site .answer-label, .mingl-site .toc-title {color: var(--petal)}
.mingl-site .pill {letter-spacing: .055em; white-space: normal}
.mingl-site .section-head h2, .mingl-site .legal-section h2 {font-size: clamp(24px,3.1vw,37px)}
.mingl-site .lead {color: var(--dim)}

.interior-body .main-pad {padding-top: clamp(20px,3vw,40px); padding-bottom: 56px}
.mingl-site .hero-grid {align-items: start}
.mingl-site .hero-grid > * {min-width: 0}
.mingl-site .badge-preview-link {display: inline-flex; align-items: center; gap: 12px; font-weight: 620; font-size: 14px; color: var(--petal); text-decoration: none; margin: 3px 0 0}
.badge-preview-link:hover > span:last-child {text-decoration: underline}
.badge-fan {display: inline-flex; padding-left: 4px}
.badge-fan img {object-fit: contain; width: 38px; height: 38px; margin-left: -5px; filter: drop-shadow(1px 2px 2px #140e15)}
.mingl-site .move-hero {padding-top: clamp(26px,6vw,76px); padding-bottom: clamp(28px,5vw,65px)}
.mingl-site .tier-card {border-color: var(--rule)}
.mingl-site .guide-directory .card {display: flex; flex-direction: column}
.guide-directory .card > div:last-child {margin-top: auto !important; padding-top: 12px}
.mingl-site .legal-grid {align-items: start}
.legal-body .toc-panel {position: sticky; top: 82px; max-height: calc(100dvh - 100px); overflow: auto}
.legal-body .card > h1 {font-size: clamp(35px,5vw,60px); margin: 15px 0}
.legal-body .legal-section {scroll-margin-top: 84px}
.legal-body .toc-list a {padding-block: 4px}
.legal-body td, .legal-body th {overflow-wrap: anywhere}
.mingl-site input, .mingl-site select, .mingl-site textarea {color: var(--ink); accent-color: var(--petal)}
.mingl-site .table-wrap {min-width: 0; max-width: 100%}
@media (max-width: 760px) {
  .nav-desktop {display: none}
  .mingl-nav {height: 58px}
  .mingl-wordmark img {width: 32px; height: 32px}
  .footer-content {grid-template-columns: 1fr 1fr}
  .footer-content .mingl-wordmark {grid-column: 1/-1}
  .legal-body .legal-grid {display: flex; flex-direction: column}
  .legal-body .toc-panel {max-height: none; position: static; width: 100%}
  .legal-body .toc-list {max-height: 8.5em; overflow: auto}
  .mingl-site .move-hero {padding-top: 26px}
  .badge-fan img {width: 29px; height: 29px}
}
@media print {
  .mingl-header, .mingl-footer, .skip-content {display: none}
  body.mingl-site, .legal-body .card {background: white; color: black}
  .legal-body :is(h1,h2,h3,p,li) {color: black}
}
@media (prefers-reduced-motion: reduce) {html {scroll-behavior: auto}}

/* Gold shop */
.gold-hero {position: relative; isolation: isolate; display: grid; grid-template-columns: 1.15fr .85fr; align-items: stretch; overflow: hidden; border-radius: 23px; background: #261a23; border: 1px solid var(--rule); margin-bottom: clamp(23px,4vw,42px)}
.gold-hero > div {z-index: 1; align-self: center; padding: clamp(23px,4.8vw,58px); padding-right: 0}
.mingl-site .back-link {color: #e2bca8; font: 650 12px/1.4 ui-monospace,monospace; letter-spacing: .09em; text-transform: uppercase; text-decoration: none}
.gold-hero h1 {font-size: clamp(48px,6.5vw,82px); margin: 10px 0 12px}
.gold-hero h1 em {color: #f8cf8f}
.gold-hero p {margin: 0; max-width: 32em; color: #ddd0d8; font-size: clamp(15px,1.6vw,18px)}
.gold-art {width: 100%; height: 100%; min-height: 185px; max-height: 335px; object-fit: cover; object-position: 50% 54%; mask-image: linear-gradient(90deg,transparent,#000 25%)}
.gold-workspace {display: grid; grid-template-columns: minmax(0,1.5fr) minmax(270px,.85fr); gap: clamp(22px,4vw,46px); align-items: start}
.gold-workspace h2 {font-size: clamp(24px,2.9vw,35px); margin: 0 0 8px}
.gold-packs > p {margin: 0 0 17px; color: var(--dim)}
.pack-grid {display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px}
.pack-choice {display: grid; grid-template-columns: 1fr auto; gap: 4px 8px; padding: 16px; text-align: left; color: var(--ink); font: inherit; border: 1px solid var(--rule); border-radius: 14px; background: #251d28; cursor: pointer}
.pack-choice:hover {border-color: #947e92}
.pack-choice[aria-pressed=true] {border-color: #e5b77e; background: #35272c; box-shadow: inset 0 0 0 1px #e5b77e}
.pack-choice strong {font-size: clamp(17px,2.2vw,24px); line-height: 1.2; letter-spacing: -.04em}
.pack-choice small {grid-column: 1 / -1; font-size: 14px; color: #cdbdca}
.pack-choice::after {content: ""; width: 14px; height: 14px; align-self: center; border: 1px solid #8d798d; border-radius: 50%; grid-column: 2; grid-row: 1}
.pack-choice[aria-pressed=true]::after {background: #edc995; border: 3px solid #3d2e2a; outline: 1px solid #edc995; width: 12px; height: 12px}
.wallet-panel {padding: clamp(18px,2.8vw,30px); border: 1px solid var(--rule); border-radius: 18px; background: #281f2a}
#wallet-auth summary,.quiet-link {color: var(--petal); cursor: pointer; font-size: 14px; line-height: 1.45; font-weight: 650}
#wallet-auth {margin: 14px 0 16px}
#wallet-auth summary {padding-block: 6px; font-weight: 650}
#wallet-auth form {margin: 12px 0 8px}
#wallet-auth label {display: block; color: var(--ink); font-size: 14px; margin-bottom: 6px}
#wallet-auth :is(input,select) {width: 100%; padding: 11px 12px; margin-bottom: 10px; background: #19131c; border: 1px solid #746174; border-radius: 9px; font-size: 16px}
#wallet-auth .move-button {width: 100%; padding: 10px 15px; border-radius: 10px; cursor: pointer}
.quiet-link {font-family: inherit; font-size: 14px; border: none; background: none; padding: 5px 0; text-align: left; text-decoration: underline; text-underline-offset: 3px}
#wallet-account {display: grid; margin: 13px 0; gap: 2px}
#wallet-balance {color: var(--dim); font-size: 14px}
.order-line {display: flex; align-items: baseline; justify-content: space-between; gap: 10px; border-top: 1px solid var(--rule); padding: 9px 0; font-size: 15px; color: var(--dim)}
.order-line strong {color: var(--ink)}
.wallet-note,.wallet-help,#bridge-status {font-size: 14px; margin: 10px 0; color: var(--dim)}
.wallet-note:empty,.wallet-message:empty,#bridge-status:empty,#catalog-status:empty {display: none}
.mingl-site .checkout-button {display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 8px; width: 100%; min-height: 44px; border: 0; border-radius: 11px; background: #edc995; color: #2e201b; cursor: pointer; font-size: 15px; line-height: 1.35; font-family: inherit; font-weight: 700; text-decoration: none}
.checkout-button:disabled {opacity: .58; cursor: wait}
.wallet-help {margin-bottom: 0; text-align: center}
.wallet-message:not(:empty) {padding: 12px 14px; border: 1px solid var(--rule); border-radius: 12px; margin-top: 18px}
@media(max-width:760px) {
  .gold-workspace {grid-template-columns: 1fr}
  .gold-hero {grid-template-columns: 1.35fr .8fr; min-height: 170px}
  .gold-hero > div {padding: 18px 0 18px 17px}
  .gold-hero h1 {font-size: clamp(36px,8.2vw,54px)}
  .gold-hero p {font-size: 14px; line-height: 1.45}
  .gold-art {min-height: 100%; max-height: 230px}
  .pack-choice {padding: 12px 11px}
}
.doc-intro {max-width: 780px; padding: 5px 0 28px}
.doc-intro h1 {font-size: clamp(39px,6vw,72px); margin: 0 0 14px}
.doc-intro > p {max-width: 62ch; color: var(--dim); font-size: clamp(16px,2vw,19px); margin-bottom: 15px}
.doc-meta {display: flex; flex-wrap: wrap; gap: 5px 18px; color: var(--dim); font-size: 13px}
.doc-index summary {cursor: pointer; font-weight: 700; color: var(--petal)}
.doc-index ul {margin-top: 10px}
.legal-body .card .legal-section:first-child {border: 0; padding-top: 0; margin-top: 0}
.missing-card {max-width: 740px; margin: 28px auto; text-align: center}
@media(min-width: 761px) {.doc-index:not([open]) > ul {display: grid}}
@media(max-width: 760px) {.legal-body .doc-index[open] .toc-list {max-height: none}.legal-body .toc-panel {padding: 12px 16px}}
@media(max-width: 380px) {
  .mingl-nav {padding-inline: 14px; gap: 8px}
  .mingl-nav .mingl-wordmark {font-size: 20px; gap: 6px}
  .nav-actions {gap: 8px}
  .mingl-nav .handle-link {padding: 9px 11px; font-size: 13px}
  .mingl-nav .wordmark-live {display: none}
  .legal-body .grid-2 {grid-template-columns: minmax(0,1fr)}
  .legal-body :is(.card,.legal-section,.subcard) {overflow-wrap: anywhere}
}
.guide-claim {align-self: start; padding: clamp(22px,3vw,36px)}
.guide-badges {display: flex; align-items: center; gap: 3px; margin-bottom: 14px}
.guide-badges img {width: clamp(37px,5vw,58px); height: auto; aspect-ratio: 1; object-fit: contain}
