/* V9 final: desktop/tablet density and explicit units. Values and writers stay original. */
body.presale-page .v9-final-oracle-unit,
body.presale-page .v9-final-token-unit { display:none; }
@media (min-width:600px) and (max-width:767.98px) {
  body.presale-page.v7-mobile main.container #v7-information .v8-details #v8-allocation-statistics { display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:20px; }
  body.presale-page.v7-mobile main.container #v7-information .v8-details #v8-allocation-statistics > h3,
  body.presale-page.v7-mobile main.container #v7-information .v8-details #v8-allocation-statistics > .mainnet-economics-card:last-child { grid-column:1/-1; }
}
@media (min-width:768px) {
  body.presale-page main.container #advanced-presale { padding:20px 24px!important; margin:16px auto!important; }
  body.presale-page main.container #advanced-presale > :is(.micro-label,.launch-title,#adv-source),
  body.presale-page main.container #advanced-presale #presale-usd-card > .presale-command-head { display:none!important; }
  body.presale-page main.container #advanced-presale .countdown-meter-shell { margin:0!important; }
  body.presale-page main.container #advanced-presale #presale-usd-card {
    grid-template-areas:'stats visual' 'market market' 'fill fill' 'actions stamp' 'state state'!important;
    gap:14px 22px!important;
  }
  body.presale-page main.container #advanced-presale #presale-usd-card #mainnet-presale-preview-economics > div:first-child { margin:0 0 10px!important; }
  body.presale-page main.container #advanced-presale #presale-usd-card #mainnet-presale-preview-economics > div:first-child > div:first-child > div:not(#mainnet-economics-title),
  body.presale-page main.container #advanced-presale #presale-usd-card #mainnet-presale-preview-economics .mainnet-economics-row-label { display:none!important; }
  body.presale-page main.container #advanced-presale #presale-usd-card #mainnet-presale-preview-economics .mainnet-economics-card { padding:10px 0 12px!important; gap:4px!important; }
  body.presale-page main.container #advanced-presale #presale-usd-card #mainnet-presale-preview-economics .mainnet-economics-disclosure { margin-top:12px!important; }
  /* The visible ring is decorative to assistive technology. Keep this original
     current-stage amount available to screen readers beside the cumulative total. */
  body.presale-page main.container #advanced-presale #presale-usd-card #mainnet-presale-preview-economics #presale-current-stage-usd {
    display:block!important; position:absolute!important; width:1px!important; height:1px!important;
    min-height:0!important; padding:0!important; margin:-1px!important; overflow:hidden!important;
    clip:rect(0,0,0,0)!important; clip-path:inset(50%)!important; white-space:nowrap!important; border:0!important;
  }
  body.presale-page main.container #advanced-presale #presale-usd-card > .presale-command-main.bbai-elite-target-card { min-height:300px!important; padding:18px 12px!important; gap:0!important; }
  body.presale-page main.container #advanced-presale #presale-usd-card .presale-command-amount-wrap { display:none!important; }
  body.presale-page main.container #advanced-presale #presale-usd-card > .presale-command-stats { display:block!important; padding:14px 0!important; }
  body.presale-page main.container #advanced-presale #presale-usd-card > .presale-command-stats :is(.presale-price-chip--price,.presale-price-chip--remaining) { display:none!important; }
  body.presale-page main.container #advanced-presale #presale-usd-card > .presale-command-stats .presale-price-chip--eth {
    display:grid!important; grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    grid-template-areas:'oracle tokenunit' 'oracleunit tokenvalue'!important; gap:4px 24px!important; align-items:center!important;
  }
  body.presale-page main.container #advanced-presale #presale-usd-card > .presale-command-stats #public-eth-usd-quote-label { grid-area:oracle!important; font-size:14px!important; letter-spacing:.01em!important; }
  body.presale-page main.container #advanced-presale #presale-usd-card .v9-final-oracle-unit,
  body.presale-page main.container #advanced-presale #presale-usd-card .v9-final-token-unit { display:block!important; color:#cce6f4!important; -webkit-text-fill-color:currentColor!important; font-size:12px!important; line-height:1.5!important; letter-spacing:0!important; text-transform:none!important; }
  body.presale-page main.container #advanced-presale #presale-usd-card .v9-final-oracle-unit { grid-area:oracleunit!important; }
  body.presale-page main.container #advanced-presale #presale-usd-card .v9-final-token-unit { grid-area:tokenunit!important; font-size:13px!important; font-weight:750!important; }
  body.presale-page main.container #advanced-presale #presale-usd-card > .presale-command-stats .presale-price-chip--eth > .value { grid-area:tokenvalue!important; }
  body.presale-page main.container #advanced-presale #presale-usd-card .bbai-allocation-filled-top { display:none!important; }
}
@media (min-width:768px) and (max-width:1024px) {
  body.presale-page main.container #advanced-presale { padding:18px!important; }
  body.presale-page main.container #advanced-presale #presale-usd-card {
    grid-template-columns:minmax(0,1fr) 220px!important;
    grid-template-areas:'stats visual' 'market market' 'fill fill' 'actions stamp' 'state state'!important;
    gap:14px 16px!important;
  }
  body.presale-page main.container #advanced-presale #presale-usd-card #mainnet-presale-preview-economics .mainnet-economics-grid { column-gap:14px!important; }
  body.presale-page main.container #advanced-presale #presale-usd-card #mainnet-presale-preview-economics #mainnet-economics-stage { font-size:28px!important; }
  body.presale-page main.container #advanced-presale #presale-usd-card > .presale-command-main.bbai-elite-target-card { min-height:228px!important; padding:12px 10px!important; }
  body.presale-page main.container #advanced-presale #presale-usd-card .presale-meter-radial-shell { width:188px!important; height:188px!important; }
  body.presale-page main.container #advanced-presale #presale-usd-card .presale-meter-radial-center { inset:23px!important; padding:0!important; border:0!important; }
  body.presale-page main.container #advanced-presale #presale-usd-card #presale-radial-percent { font-size:32px!important; }
  body.presale-page main.container #advanced-presale #presale-usd-card .presale-meter-radial-kicker { font-size:10px!important; }
  body.presale-page main.container #advanced-presale #presale-usd-card #presale-radial-secured { max-width:120px!important; font-size:12px!important; }
}
