/* Final visual-quality corrections validated against the v3.7 screenshot matrix. */

/*
 * Sector markers are positioned HTML rather than SVG shapes, because the track
 * SVG stretches with preserveAspectRatio="none" and would otherwise squash the
 * circles into ellipses. Grid placement of the labels stays physically LTR and
 * each label then takes its own locale direction, which avoids double-mirroring
 * in RTL.
 */
.progression-labels {
  direction: ltr;
}

.progression-label {
  position: relative;
  direction: ltr;
  overflow: visible;
}

html[dir="rtl"] .progression-label {
  direction: rtl;
}

/* Canvas geometry should retain the logical HiDPI transform even when legacy
 * feedback layers use local transforms. This class also makes visual intent
 * explicit for QA without changing gameplay coordinates. */
#game-canvas {
  image-rendering: auto;
}

@media (max-width: 900px) and (orientation: landscape) {
  .progression-node {
    width: 8px;
    height: 8px;
    border-width: 1px;
    box-shadow: 0 0 0 2px rgba(5, 10, 22, 0.8);
  }

  .progression-node.is-current {
    width: 11px;
    height: 11px;
    border-width: 1.5px;
  }

  .progression-bullet {
    width: 11px;
    height: 11px;
  }
}
