/* Platform proportions. Loaded after the existing homepage styles.
   Retain the shared grid cell, visibility rules and existing motion effects. */
#features .pp-showcase-wrapper { zoom: 1; }
#features #features-title.pp-platform-heading-accessible {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
#features .pp-panel-preview,
#features .pp-panel-preview > div { min-width: 0; }
#features .pp-panel-preview { max-width: 490px; margin: 0 auto; }

@media (min-width: 961px) {
  html body #features { padding-bottom: 48px !important; }
  html body #features .bento-12-container {
    max-width: 1338px !important;
    padding-left: 32px !important;
    padding-right: 32px !important;
  }
  #features .pp-showcase-wrapper { grid-template-columns: 252px minmax(0, 1fr); gap: 32px; }
  #features .pp-showcase-nav { height: 420px; max-width: 252px; gap: 18px; }
  #features .pp-showcase-tab { min-height: 54px; padding: 12px 18px; }
  #features .pp-tab-left { gap: 12px; min-width: 0; }
  #features .pp-tab-label { font-size: 17.5px; }
  #features .pp-tab-icon,
  #features .pp-tab-icon svg { width: 20px; height: 20px; }
  #features .pp-showcase-card { min-height: 495px; }
  #features .pp-showcase-panel,
  #features .pp-showcase-panel.active {
    grid-template-columns: minmax(0, .43fr) minmax(0, .57fr);
    gap: 32px;
  }
  #features .pp-panel-left { padding: 39px 0 39px 43px; }
  #features .pp-panel-visual { padding: 39px 43px 39px 0; }
  #features .pp-panel-title { font-size: 39px; line-height: 1.12; }
  #features .pfv-title-link svg { width: 21px; height: 21px; }
  #features .pp-panel-desc { margin-top: 18px; max-width: 379px; font-size: 17.5px; line-height: 1.55; }
  #features .pfv-benefits { gap: 16px; margin-top: 28px; }
  #features .pfv-benefits li { font-size: 15px; }
  #features .pfv-benefits svg { width: 22px; height: 22px; flex-basis: 22px; }
  #features .pp-panel-preview,
  #features .pp-panel-preview > div { min-height: 0; }
  #features .pp-panel-preview,
  #features .pfv-graphic { max-width: 476px; }
  #features .pfv-pair { gap: 18px; }
  #features .pfv-outcome { gap: 9px; padding: 19px; }
  #features .pfv-outcome strong { font-size: 16px; }
  #features .pfv-outcome b { font-size: 35px; }
  #features .pfv-outcome small { font-size: 15px; }
  #features .pfv-outcome .pfv-book { font-size: 16px; }
  #features .pfv-join { height: 33px; margin-bottom: 14px; }
  #features .pfv-result { gap: 8px; padding: 17px; }
  #features .pfv-result > span { font-size: 15px; }
  #features .pfv-result > strong { font-size: 39px; }
  #features .pfv-result small { font-size: 14px; line-height: 1.4; }
  #features #panel-arbitrage .pfv-result { gap: 6px; padding: 14px 17px; }
  #features #panel-arbitrage .pfv-result > strong { font-size: 27px; }
  #features .pfv-convert { grid-template-columns: minmax(0, 1fr) 38px minmax(0, 1fr); gap: 11px; padding-bottom: 25px; }
  #features .pfv-ticket,
  #features .pfv-cash { gap: 12px; padding: 25px 11px; }
  #features .pfv-ticket svg,
  #features .pfv-cash svg,
  #features .pfv-convert-arrow svg { width: 38px; height: 38px; }
  #features .pfv-ticket > span,
  #features .pfv-cash > span { font-size: 15px; }
  #features .pfv-ticket strong,
  #features .pfv-cash strong { font-size: 35px; }
  #features .pfv-price-pair { gap: 16px; }
  #features .pfv-price-pair > span { padding: 14px 16px; }
  #features .pfv-price-pair i { font-size: 15px; }
  #features .pfv-price-pair b { font-size: 22px; }
  #features .pfv-note { margin-top: 16px; font-size: 14px; }
  #features .pfv-score { padding-bottom: 33px; gap: 11px; }
  #features .pfv-score > span { font-size: 15px; }
  #features .pfv-score strong { font-size: 50.5px; }
  #features .pfv-status-pair > div { gap: 8px; padding: 18px 8px; }
  #features .pfv-status-pair svg { width: 31px; height: 31px; }
  #features .pfv-status-pair span { font-size: 14px; }
  #features .pfv-status-pair strong { font-size: 16px; }
  #features .pfv-result-amber > strong { font-size: 31px; }
  #features .pfv-price-tile { gap: 10px; padding: 18px 11px; }
  #features .pfv-book { font-size: 19px; }
  #features .pfv-price-tile small,
  #features .pfv-price-tile > span:last-child { font-size: 14px; }
  #features .pfv-price-tile > strong { font-size: 35px; }
  #features #panel-positive-ev .pp-panel-preview > div {
    min-height: 320px; height: 320px; max-width: 476px; margin: 0 auto;
  }
  #features .pp-ev-value-price { top: 16px; min-width: 156px; padding: 14px 16px 12px; gap: 6px 11px; }
  #features .pp-ev-value-label { font-size: 10px; }
  #features .pp-ev-value-price strong { font-size: 29px; }
  #features .pp-ev-value-price em { font-size: 10px; }
  #features .pp-ev-fair-label { font-size: 10px; padding: 10px 16px; }
  #features .pp-ev-fair-label strong { font-size: 17px; }
  #features .pp-ev-market-price { font-size: 14px; min-width: 63px; min-height: 37px; padding: 7px 11px; }
  #features #panel-bet-tracker .pp-bet-history { max-width: 476px; }
  #features #panel-bet-tracker .pp-bet-history-summary > span { font-size: 15px; }
  #features #panel-bet-tracker .pp-bet-history-total { font-size: 24px; }
  #features #panel-bet-tracker .pp-bet-history-chart { padding: 26px 0; }
  #features #panel-bet-tracker .pp-bet-history-chart svg { height: 150px; }
  #features #panel-bet-tracker .pp-bet-history-axis { font-size: 11px; margin-top: 10px; }
  #features #panel-bet-tracker .pp-bet-history-stats { gap: 16px; padding-top: 25px; }
  #features #panel-bet-tracker .pp-bet-history-stats > div { gap: 11px; }
  #features #panel-bet-tracker .pp-bet-history-stats > div + div { padding-left: 19px; }
  #features #panel-bet-tracker .pp-bet-history-stats > div > span { font-size: 12px; }
  #features #panel-bet-tracker .pp-bet-history-stats strong { font-size: 19px; }
  #features .pp-mid-cta { display: none; }
}

@media (min-width: 961px) and (max-width: 1200px) {
  html body #features .bento-12-container { padding-left: 24px !important; padding-right: 24px !important; }
  #features .pp-showcase-wrapper { grid-template-columns: 216px minmax(0, 1fr); gap: 24px; }
  #features .pp-showcase-nav { max-width: 216px; }
  #features .pp-showcase-tab { padding-left: 12px; padding-right: 12px; }
  #features .pp-tab-label { font-size: 16px; }
  #features .pp-showcase-card { min-height: 466px; }
  #features .pp-showcase-panel,
  #features .pp-showcase-panel.active { gap: 24px; }
  #features .pp-panel-left { padding-left: 24px; }
  #features .pp-panel-visual { padding-right: 24px; }
  #features .pp-panel-title { font-size: 33px; }
  #features .pp-panel-desc { font-size: 16.5px; }
}

/* Narrow desktop retains the same stacked grid cell for all six panels.
   A single inner column prevents compressed labels and examples. */
@media (min-width: 961px) and (max-width: 1100px) {
  #features .pp-showcase-panel,
  #features .pp-showcase-panel.active { grid-template-columns: minmax(0, 1fr); gap: 0; }
  #features .pp-panel-left { padding: 32px 28px 0; }
  #features .pp-panel-desc { max-width: none; }
  #features .pfv-benefits { gap: 12px; margin-top: 20px; }
  #features .pp-panel-visual { padding: 28px; }
}

@media (max-width: 960px) {
  #features .pp-panel-title { font-size: 28px; line-height: 1.15; }
  #features .pp-panel-desc { font-size: 16px; line-height: 1.55; }
  #features .pp-showcase-card { min-height: 0; }
  #features .pfv-graphic,
  #features #panel-bet-tracker .pp-bet-history { max-width: 490px; width: 100%; }
  #features #panel-positive-ev .pp-panel-preview > div { min-height: 0; }
}
