/* The CORE purchase card laid out like an exchange order form: what you pay, what you get, how you pay, one button.
   Loaded after the older purchase styles; the card's inner parts use their own classes, so only its frame is overridden. */
.round-lounge .calculator.core-buy {
  position: relative; padding: 28px; border: 1px solid #8f9cff3d; border-radius: 24px;
  background: radial-gradient(120% 55% at 100% 0%, #3b44a838, transparent 62%), linear-gradient(165deg, #111a33eb, #0a1122f2);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: inset 0 1px 0 #ffffff14, 0 40px 90px -30px #000d;
}
/* A thin light along the top edge, as on the exchange's panels. */
.round-lounge .calculator.core-buy::before { display: block; content: ''; position: absolute; inset: -1px 16% auto; height: 1px; background: linear-gradient(90deg, transparent, #a7b0ff, transparent); }

.core-buy__head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.core-buy__title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.core-buy__title img { width: 34px; height: 34px; flex-shrink: 0; }
.core-buy__title strong { display: block; color: #f4f6ff; font: 700 20px/1.1 var(--heading); letter-spacing: .2px; }
.core-buy__title small { display: block; margin-top: 5px; color: #aeb9d6; font-size: 13px; }
.core-buy__account { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; min-height: 44px; padding: 6px 12px; border: 1px solid #8f9cff33; border-radius: 12px; background: #0b1328b3; color: #e9edff; white-space: nowrap; transition: border-color .2s; }
.core-buy__account small { color: #aab4d8; font-size: 11px; }
.core-buy__account strong { font-size: 14px; font-weight: 600; }
.core-buy__account:hover { border-color: #a7b0ff80; }

.core-buy__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 14px; border: 1px solid #8f9cff26; border-radius: 14px; background: #060c1c99; }
.core-buy__tabs button { min-height: 40px; padding: 8px; border: 0; border-radius: 10px; background: none; color: #aeb9d6; font-size: 14px; font-weight: 600; transition: background .2s, color .2s; }
.core-buy__tabs button:hover { color: #fff; }
.core-buy__tabs button[aria-selected=true] { background: #5b6bff33; color: #fff; box-shadow: inset 0 0 0 1px #a0aaff59; }

/* Fields: the amount you pay on a dark well, the CORE you get on a lit one. */
.core-buy__field { position: relative; padding: 16px 18px 18px; border: 1px solid #8f9cff26; border-radius: 18px; background: #070d1fb8; transition: border-color .2s, box-shadow .2s; }
.core-buy__pay:focus-within, .core-buy__profit:focus-within { border-color: #a5afffb3; box-shadow: 0 0 0 3px #6a76ed26; }
.core-buy__field-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; color: #aeb9d6; font-size: 13px; line-height: 1.4; }
.round-lounge .core-buy label { display: inline; margin: 0; color: inherit; font-size: inherit; line-height: inherit; }
.core-buy__amount { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; }
.core-buy__amount > span { color: #8f9bd0; font: 700 30px/1.25 var(--heading); }
.core-buy__amount input { flex: 1; width: 100%; min-width: 0; padding: 0; border: 0; outline: none; background: none; color: #fff; font: 700 38px/1.25 var(--heading); letter-spacing: -.5px; }
.core-buy__presets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.core-buy__presets button { min-height: 32px; padding: 5px 13px; border: 1px solid #8f9cff33; border-radius: 99px; background: #111b38; color: #c9d1f2; font-size: 13px; font-weight: 600; transition: border-color .2s, background .2s, color .2s; }
.core-buy__presets button:hover { border-color: #a7b0ff80; color: #fff; }
.core-buy__presets button[aria-pressed=true] { border-color: #a0aaffb3; background: #5b6bff40; color: #fff; }
.core-buy .field-error { margin: 8px 4px 0; }

.core-buy__arrow { position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; margin: -10px auto; border: 4px solid #0e1630; border-radius: 13px; background: #1c2652; color: #c9d0ff; }
.core-buy__arrow svg { width: 17px; height: 17px; rotate: 90deg; }

.core-buy__get { border-color: #a0aaff40; background: linear-gradient(135deg, #222c6ab8, #0c1434b8); box-shadow: inset 0 1px 0 #ffffff12; }
.core-buy__core { display: flex; align-items: baseline; gap: 10px; margin-top: 4px; color: #fff; font: 700 38px/1.25 var(--heading); letter-spacing: -.5px; overflow-wrap: anywhere; }
.core-buy__core > span { color: #c9d0ff; font-size: 22px; letter-spacing: 0; }
.core-buy__core img { align-self: center; width: 36px; height: 36px; margin-left: auto; filter: drop-shadow(0 4px 14px #6f7cff66); }
.core-buy__share { margin-top: 6px; color: #aeb9d6; font-size: 13px; line-height: 1.5; }
.core-buy__share span:not(.separator) { color: #eef1ff; font-weight: 600; }

.core-buy__options { display: grid; gap: 10px; margin-top: 18px; }
.core-buy__option { display: grid; grid-template-columns: 62px minmax(0, 1fr); align-items: center; gap: 10px; }
.core-buy__option > span { color: #aeb9d6; font-size: 13px; }
.core-buy__option > div { display: flex; flex-wrap: wrap; gap: 6px; }
.core-buy__chip { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 6px 13px 6px 8px; border: 1px solid #8f9cff2e; border-radius: 99px; background: #0b1328; color: #c9d1f2; font-size: 13px; font-weight: 600; white-space: nowrap; transition: border-color .2s, background .2s, color .2s; }
.core-buy__chip img { width: 20px; height: 20px; border-radius: 50%; }
.core-buy__chip:hover:not(:disabled) { border-color: #a7b0ff80; color: #fff; }
.core-buy__chip[aria-pressed=true] { border-color: #a0aaffb3; background: #5b6bff33; color: #fff; }

.core-buy__summary { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid #8f9cff1f; }
.core-buy__summary div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.core-buy__summary dt { color: #aeb9d6; font-size: 14px; }
.core-buy__summary dd { margin: 0; color: #fff; font-size: 17px; font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.core-buy__rate { margin-top: 4px; color: #8f9bc0; font-size: 12px; line-height: 1.5; }

.round-lounge .core-buy__cta { width: 100%; min-height: 58px; margin-top: 16px; padding: 14px 20px; border-radius: 16px; font-size: 17px; gap: 12px; }
.core-buy__cta span:empty { display: none; }
.core-buy__demo { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; color: #aab4d8; font-size: 12px; }
.core-buy__demo span { width: 6px; height: 6px; border-radius: 50%; background: #9b9cff; }
.core-buy .purchase-notification { text-align: center; }

.core-buy__profit { margin-top: 10px; }
.core-buy input[type=range] { width: 100%; height: 5px; margin: 16px 0 6px; accent-color: #7d86ff; }
.core-buy__range { display: flex; justify-content: space-between; color: #8f9bc0; font-size: 11px; }
.core-buy__note { margin-top: 12px; color: #8f9bc0; font-size: 12px; line-height: 1.6; }

.core-buy__meta { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 16px; padding-top: 14px; border-top: 1px solid #8f9cff1f; color: #8f9bc0; font-size: 12px; line-height: 1.5; }
.core-buy__meta .purchase-text-button { flex-shrink: 0; min-height: 32px; font-size: 13px; }

/* Round progress beside the card. */
.round-progress { max-width: 440px; margin-top: 14px; }
.round-progress__bar { height: 8px; overflow: hidden; border-radius: 99px; background: #ffffff14; box-shadow: inset 0 0 0 1px #ffffff0d; }
.round-progress__bar i { display: block; width: 0; min-width: 8px; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #4b5cff, #8d98ff); box-shadow: 0 0 16px #6f7cffaa; transition: width .8s cubic-bezier(.2, .7, .2, 1); }
.round-progress p { margin-top: 8px; color: #c0cce3; font-size: 14px; }
.round-progress b { color: #fff; }
.round-progress p span { color: #8f9bc0; }
/* The progress line takes about 50px, so the coin below the figures moves down by as much. */
@media (min-width: 951px) { .lounge-coin { top: calc(calc(31.2 * var(--vw, 1vw)) + 50px + max(0px, (1440px - 100vw) * .07)); } }
@media (max-width: 950px) { .lounge-copy { min-height: 670px; } .lounge-coin { top: 430px; } }
@media (min-width: 501px) and (max-width: 950px) { .lounge-copy { min-height: 694px; } .lounge-coin { top: 414px; } }
/* Touch screens wider than a phone still get finger-sized choices. */
@media (max-width: 767px) {
  .core-buy__presets button, .core-buy__chip, .core-buy__tabs button { min-height: 40px; }
  .core-buy__meta .purchase-text-button { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .round-progress__bar i, .core-buy__field, .core-buy__chip, .core-buy__presets button, .core-buy__tabs button { transition: none; }
}

/* Early-round bonus: the round bar is split into three tiers of 5 000 CORE. */
.round-progress__bar { position: relative; }
.round-progress__bar s { position: absolute; top: 0; bottom: 0; left: 33.333%; width: 2px; margin-left: -1px; background: #0a0d1f; }
.round-progress__bar s + s { left: 66.667%; }
/* Early-buyer bonus in the page's own language (owner, 2026-11-06): big heading-face figures with an accent «%», thin dividers
   like the supply shares, no boxes. Figures shrink as the bonus falls; the current step is green with a live dot. Until round
   data arrives (and in the public build, which does not load it) nothing is sold, so the first step is current. */
.round-bonus { max-width: 520px; margin-top: 14px; }
.round-bonus__title { color: #9aaaf3; font-size: var(--f115, 11.5px); font-weight: 600; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; }
.round-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 520px; margin: 10px 0 0; padding: 0; list-style: none; }
.round-tiers li { position: relative; display: grid; align-content: end; gap: 5px; min-width: 0; padding: 0 12px 0 18px; border-left: 1px solid #476a9c99; color: #9aa6c8; font-size: 12px; line-height: 1.35; }
.round-tiers li:first-child { padding-left: 0; border: 0; }
.round-tiers b { color: #eef1ff; font: 700 30px/1 var(--heading); letter-spacing: -.6px; white-space: nowrap; }
.round-tiers b i { color: #6f7cff; font-style: normal; }
.round-tiers li:nth-child(2) b { font-size: 24px; }
.round-tiers li:nth-child(3) b { color: #c4cbe6; font-size: 16px; letter-spacing: 0; }
.round-tiers li.is-current b, .round-tiers:not(:has(.is-current, .is-past)) li:first-child b { color: #2fd39a; text-shadow: 0 0 22px #2fd39a59; }
.round-tiers li.is-current b i, .round-tiers:not(:has(.is-current, .is-past)) li:first-child b i { color: #2fd39a; }
.round-tiers li.is-current span, .round-tiers:not(:has(.is-current, .is-past)) li:first-child span { display: flex; align-items: center; gap: 7px; color: #eef1ff; }
.round-tiers li.is-current span::before, .round-tiers:not(:has(.is-current, .is-past)) li:first-child span::before { content: ''; flex-shrink: 0; width: 7px; height: 7px; border-radius: 50%; background: #2fd39a; box-shadow: 0 0 0 3px #2fd39a24; animation: live-pulse 2s ease-in-out infinite; }
.round-tiers li.is-past { opacity: .45; }
@media (max-width: 650px) { .round-tiers li { padding: 0 8px 0 12px; } .round-tiers b { font-size: 24px; } .round-tiers li:nth-child(2) b { font-size: 20px; } .round-tiers li:nth-child(3) b { font-size: 14px; } }
@media (prefers-reduced-motion: reduce) { .round-tiers span::before { animation: none !important; } }
.core-buy__bonus { margin-top: 4px; color: #aeb9d6; font-size: 13px; line-height: 1.45; }
.core-buy__bonus b { color: #2fd39a; font-weight: 700; }
/* The price line and the round status share one row under the bonus track (2026-11-06). */
.round-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; margin-top: calc(.8 * var(--vw, 1vw)); }
.round-lounge .round-meta .round-offer, .round-lounge .round-meta .launch-status { margin: 0; }
@media (max-width: 950px) { .round-meta { margin-top: 12px; } }
@media (max-width: 650px) { .round-meta { margin-right: calc(-1 * var(--coin-space, 0px)); } }
/* The bonus track (2026-11-06) is about 30px taller than the old one-line tiers; the coin moves down by as much. */
@media (min-width: 951px) { .lounge-coin { top: calc(calc(31.2 * var(--vw, 1vw)) + 80px + max(0px, (1440px - 100vw) * .07)); } }
@media (max-width: 950px) { .lounge-copy { min-height: 697px; } .lounge-coin { top: 457px; } }
@media (min-width: 501px) and (max-width: 950px) { .lounge-copy { min-height: 721px; } .lounge-coin { top: 441px; } }
/* The amount panel itself shows focus (rounded glow above); no square outline inside it (review 2026-11-06). */
.core-buy .core-buy__amount input:focus-visible, .core-buy__profit input:focus-visible { outline: none; }
