/* Approved Orbitron typography: buttons/home 500, card ranks 600.
   Orbitron 2.001 by Matt McInerney, SIL OFL 1.1; license in assets/fonts. */
@font-face {
  font-family: "Ponder Orbitron";
  src: url('/assets/fonts/Orbitron-wght.ttf?v=20260922-orbitron-grid-01') format('truetype');
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}
html:root.ponder-orbitron body.action-ui-v1 #actions.action-right-panel :is(.v1-action-label,.v1-action-number,.v1-action-unit,.v1-preset-label),
html:root.ponder-orbitron body.action-ui-v1 #checkFoldToggleBtn .cf-label,
html:root.ponder-orbitron body #ponderSwipeGuidance .swipe-guidance-link > strong,
html:root.ponder-orbitron body #actionV1UtilityButtons .action-v1-utility-label,
html:root.ponder-orbitron body #appHomeScreen :is(.ponder-card-cta,.ranked-queue-status,.home-mode-cta),
html:root.ponder-orbitron body #appHomeScreen .ponder-bottom-nav button > span {
  font-family: "Ponder Orbitron","Noto Sans JP",Arial,sans-serif !important;
  font-weight: 500 !important;
  font-synthesis: none !important;
  font-size-adjust: none !important;
  letter-spacing: .015em !important;
}
/* Preserve the existing arrow icon typography inside HOME CTAs. */
html:root.ponder-orbitron body #appHomeScreen .home-mode-cta {
  letter-spacing:.06em !important;
}
html:root.ponder-orbitron body #appHomeScreen .home-mode-cta > span {
  font-family:var(--font-display) !important;
  font-weight:400 !important;
  letter-spacing:inherit !important;
}
/* Presets have their own font:inherit!important owner; leaf-only override keeps
   their em-based padding/hit box identical. */
html:root.ponder-orbitron body.action-ui-v1.app-view-table #actions.action-right-panel #raiseQuickButtons .v1-preset-label {
  font-family:"Ponder Orbitron","Noto Sans JP",Arial,sans-serif !important;
  font-weight:500 !important;
  font-synthesis:none !important;
  font-size-adjust:none !important;
  font-size:min(.82em,24cqw) !important;
  letter-spacing:0 !important;
}
html:root.ponder-orbitron body :is(.card-rank,.profile-v2-drilldown-card-rank,.history-card-rank,.result-v2-card-rank) {
  font-family:"Ponder Orbitron","Noto Sans JP",Arial,sans-serif !important;
  font-weight:600 !important;
  font-synthesis:none !important;
  font-size-adjust:none !important;
  letter-spacing:0 !important;
  /* User-approved refinement: preserve height, narrow rank glyphs 15%. */
  scale:.85 1;
  transform-box:fill-box;
  transform-origin:center;
}
html:root.ponder-orbitron body #appHomeScreen :is(.ponder-card-title,.home-custom-title,.ponder-card-kicker,.ponder-live-board-kicker) {
  font-family:"Ponder Orbitron","Noto Sans JP",Arial,sans-serif !important;
  font-weight:500 !important;
  font-synthesis:none !important;
  font-size-adjust:none !important;
  letter-spacing:.025em !important;
}
/* Keep the desktop card face unchanged. Compact/touch cards need a separate
   lower suit area: platform symbol fonts can fill much more of their line box
   than desktop Arial. Uniform scaling preserves the suit shape and card size. */
@media (max-width:900px), (max-height:520px), (pointer:coarse) {
  html:root.ponder-orbitron body #table :is(#seat6,.seat,#boardDisplay) .card-ui > .card-suit {
    top:68% !important;
    transform:translate(-50%,-50%) scale(.84) !important;
  }
}
