    /* ── Page layout ── */
    .mint-wrap {
      max-width: 720px;
      margin: 0 auto;
      padding: 36px var(--page-px) 100px;
    }

    /* ── Hero ── */
    .mint-hero {
      margin-bottom: 44px;
      text-align: center;
    }
    .mint-hero__eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 11.5px;
      font-weight: 700;
      letter-spacing: 0.10em;
      text-transform: uppercase;
      color: var(--brand);
      background: var(--accent-dim);
      border: 1px solid rgba(37,65,49,0.16);
      border-radius: 20px;
      padding: 4px 12px;
      margin-bottom: 18px;
    }
    .mint-hero h1 {
      font-size: 34px;
      font-weight: 800;
      color: var(--text);
      letter-spacing: -0.7px;
      line-height: 1.2;
      margin-bottom: 12px;
    }
    .mint-hero__sub {
      font-size: 15px;
      color: var(--text-muted);
      line-height: 1.65;
      max-width: 520px;
      margin: 0 auto;
    }

    /* ── Rules list ── */
    .rules-list {
      display: flex;
      flex-direction: column;
      gap: 0;
      margin-bottom: 44px;
    }

    .rule-item {
      display: grid;
      grid-template-columns: 48px 1fr;
      gap: 0 20px;
      padding: 28px 0;
      border-bottom: 1px solid var(--border);
    }
    .rule-item:first-child { padding-top: 0; }
    .rule-item:last-child  { border-bottom: none; }

    .rule-item__num {
      font-size: 28px;
      font-weight: 800;
      color: var(--border);
      line-height: 1;
      padding-top: 3px;
      font-variant-numeric: tabular-nums;
      user-select: none;
    }

    .rule-item__body {}
    .rule-item__title {
      font-size: 16px;
      font-weight: 700;
      color: var(--text);
      letter-spacing: -0.2px;
      margin-bottom: 8px;
    }
    .rule-item__text {
      font-size: 13.5px;
      color: var(--text-muted);
      line-height: 1.72;
    }
    .rule-item__text b   { color: var(--text); font-weight: 600; }
    .rule-item__text em  { color: var(--brand); font-style: normal; font-weight: 600; }

    /* Sub-points inside a rule */
    .rule-sub {
      display: flex;
      flex-direction: column;
      gap: 8px;
      margin-top: 12px;
    }
    .rule-sub__item {
      display: flex;
      gap: 8px;
    }
    .rule-sub__badge {
      font-size: 13px;
      font-weight: 700;
      color: var(--text);
      white-space: nowrap;
      flex-shrink: 0;
    }
    .rule-sub__badge::after { content: " —"; font-weight: 400; color: var(--text-dim); }
    .rule-sub__text {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.6;
    }
    .rule-sub__text b { color: var(--text); font-weight: 600; }

    /* Badge style variant (Rule 2) */
    .rule-sub--card .rule-sub__item {
      background: var(--surface-active);
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 11px 14px;
      gap: 10px;
      align-items: flex-start;
    }
    .rule-sub--card .rule-sub__text {
      text-align: left;
    }
    .rule-sub--card .rule-sub__badge {
      font-size: 10px;
      font-weight: 800;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--brand);
      background: rgba(37,65,49,0.10);
      border-radius: 4px;
      padding: 2px 7px;
      height: fit-content;
      margin-top: 1px;
    }
    .rule-sub--card .rule-sub__badge::after { content: none; }

    /* Highlight pill */
    .pill {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      font-size: 12px;
      font-weight: 700;
      color: var(--brand);
      background: var(--accent-dim);
      border: 1px solid rgba(37,65,49,0.14);
      border-radius: 20px;
      padding: 2px 9px;
      white-space: nowrap;
    }

    /* ── Divider ── */
    .mint-divider {
      display: flex;
      align-items: center;
      gap: 14px;
      margin-bottom: 28px;
      margin-left: 68px;   /* align with rule body text (48px num + 20px gap) */
      color: var(--text-dim);
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }
    .mint-divider::before,
    .mint-divider::after {
      content: '';
      flex: 1;
      height: 1px;
      background: var(--border);
    }

    /* ── Mint card ── */
    .mint-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--card-radius);
      padding: 28px;
      margin-left: 68px;   /* align with rule body text (48px num + 20px gap) */
    }

    /* Note */
    .mint-card__note {
      margin-top: 14px;
      font-size: 12px;
      color: var(--text-dim);
      text-align: left;
      line-height: 1.5;
    }

    /* Price hero — top-left of card */
    .mint-card-header {
      margin-bottom: 20px;
      padding-bottom: 18px;
      border-bottom: 1px solid var(--border);
    }
    .mint-price-hero__val {
      font-size: 34px;
      font-weight: 600;
      color: var(--text);
      letter-spacing: -0.8px;
      line-height: 1.1;
    }
    .mint-price-hero__val span {
      color: var(--brand);
    }
    .mint-price-hero__sub {
      font-size: 11px;
      font-weight: 600;
      color: var(--text-dim);
      text-transform: uppercase;
      letter-spacing: 0.07em;
      margin-top: 4px;
    }

    /* Qty row label */
    .qty-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 12px;
    }
    .qty-label {
      font-size: 12px;
      font-weight: 600;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    /* Qty stepper */
    .qty-control {
      display: flex;
      align-items: center;
      gap: 4px;
    }
    .qty-control button {
      width: 28px;
      height: 28px;
      font-size: 18px;
      font-weight: 300;
      color: var(--text-dim);
      background: transparent;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      transition: color var(--t-fast), background var(--t-fast);
      flex-shrink: 0;
      line-height: 1;
    }
    .qty-control button:hover { color: var(--brand); background: var(--accent-dim); }
    .qty-control input {
      width: 40px;
      text-align: center;
      font-size: 17px;
      font-weight: 700;
      color: var(--text);
      background: transparent;
      border: none;
      outline: none;
      padding: 0;
      font-family: var(--font);
      pointer-events: none;
    }
    .qty-control input::-webkit-inner-spin-button,
    .qty-control input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
    .qty-control input[type=number] { -moz-appearance: textfield; }
    .qty-total {
      font-size: 15px;
      font-weight: 700;
      color: var(--brand);
      margin-left: auto;
    }
    .qty-total span { font-size: 12px; font-weight: 500; color: var(--text-dim); }

    /* Mint breakdown */
    .mint-breakdown {
      padding: 0;
      margin-bottom: 16px;
    }
    .mint-breakdown__row {
      display: flex;
      justify-content: space-between;
      font-size: 12.5px;
    }
    .mint-breakdown__row span:first-child { color: var(--text-muted); }
    .mint-breakdown__row span:last-child  { font-weight: 600; color: var(--text); }
    .mint-breakdown__row--total {
      padding-top: 10px;
      border-top: 1px solid var(--border);
      font-size: 15px;
    }
    .mint-breakdown__row--total span:last-child { color: var(--brand); font-size: 20px; font-weight: 700; }

    .mint-btn {
      width: 100%;
      padding: 13px;
      font-size: 15px;
      font-weight: 700;
      border-radius: var(--btn-radius);
      background: var(--brand);
      color: #fff;
      border: 1px solid var(--brand);
      cursor: pointer;
      transition: background var(--t-fast), border-color var(--t-fast);
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }
    .mint-btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

    .mint-note {
      font-size: 11.5px;
      color: var(--text-dim);
      text-align: center;
      margin-top: 12px;
      line-height: 1.5;
    }
    .mint-note a { color: var(--brand); font-weight: 600; }

    /* ── Whitelist notice (moved from inline to stylesheet) ── */
    .whitelist-notice {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      background: rgba(255, 180, 0, 0.07);
      border: 1px solid rgba(255, 180, 0, 0.28);
      border-radius: 9px;
      padding: 11px 13px;
      margin-bottom: 6px;
      font-size: 0.84rem;
      color: var(--text-muted);
      line-height: 1.55;
    }
    .whitelist-notice svg { color: rgb(210, 150, 0); margin-top: 1px; }
    .whitelist-notice[hidden] { display: none; }

    /* ── Qty value (right-side label in Your NFTs row) ── */
    .qty-value {
      font-size: 13px;
      font-weight: 600;
      color: var(--text);
    }

    /* ════════════════════════════════════════════════
       Tabbed NFT card
       ════════════════════════════════════════════════ */

    /* The outer card just needs top-padding removed
       so the tab bar sits flush at the top */
    .nft-card {
      padding-top: 0;
      overflow: hidden;  /* keep tabs inside card radius */
    }

    /* Tab bar — full-width strip at the top of the card */
    .nft-tabs {
      display: flex;
      background: var(--surface-active);
      /* Pull out to card edges (card has 28px horizontal padding) */
      margin: 0 -28px 24px;
      padding: 0 20px;
      border-bottom: 1px solid var(--border);
    }

    /* Each tab button */
    .nft-tab {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 13px 14px 11px;
      font-size: 13px;
      font-weight: 600;
      font-family: var(--font);
      color: var(--text-muted);
      background: transparent;
      border: none;
      /* The key trick: 2px bottom border overlaps the tab-bar border */
      border-bottom: 2px solid transparent;
      margin-bottom: -1px;
      cursor: pointer;
      transition: color var(--t-fast), border-color var(--t-fast);
      white-space: nowrap;
    }
    .nft-tab:hover:not(.is-active) { color: var(--text); }

    /* Active state: brand-green underline */
    .nft-tab.is-active {
      color: var(--brand);
      border-bottom-color: var(--brand);
    }

    /* Panel: hidden panels use display:none */
    .nft-panel[hidden] { display: none; }

    /* ── Responsive ── */
    @media (max-width: 600px) {
      .mint-hero h1 { font-size: 26px; }
      .rule-item { grid-template-columns: 36px 1fr; gap: 0 14px; }
      .rule-item__num { font-size: 22px; }
      .mint-divider { margin-left: 50px; }  /* 36px num + 14px gap */
      .mint-card    { margin-left: 50px; }
      .nft-tabs     { margin: 0 -20px 20px; padding: 0 12px; }
    }
    @media (max-width: 420px) {
      .qty-row { flex-wrap: wrap; }
    }
