/* The CTA is a decorative span inside the full, clickable perk card. */
.stage[data-screen="manual"] .manual-card-choose {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 44px;
  padding: 8px 24px;
  background: none;
  border: 0;
  line-height: 1.25;
}
.stage[data-screen="manual"] .manual-card-choose::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  border: solid transparent;
  border-width: 14.4px 22.8px;
  border-image-source: var(--ui-button-primary);
  border-image-slice: 60 95 60 95 fill;
  border-image-width: 1;
  border-image-repeat: stretch;
}
/* A procedural icon already existed for the sixth tile family. Keep it
   procedural (no new asset/S credit), but make its compass semantics clear:
   concentric dial, eight tick marks, four-point rose and a north/south needle. */
.stage[data-screen="manual"] .manual-compass {
  background: radial-gradient(circle, #123e49 0 60%, transparent 61%),
    repeating-conic-gradient(from -1.5deg, #f4dda0 0deg 3deg, #123e49 3deg 45deg);
  border: 2px solid #b99443;
  box-shadow: inset 0 0 0 2px #123e49, 0 0 0 1px #fff3d3;
}
.stage[data-screen="manual"] .manual-compass::after {
  content: "";
  position: absolute;
  width: 78%;
  height: 78%;
  background: #bbd4c2;
  clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%);
}
.stage[data-screen="manual"] .manual-compass::before {
  z-index: 1;
  width: 28%;
  height: 70%;
  background: linear-gradient(#e9654c 0 50%, #fff3d3 50% 100%);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  transform: none;
}
.stage[data-screen="manual"] .manual-compass i {
  z-index: 2;
  width: 12%;
  height: 12%;
  border: 1px solid #123e49;
  background: #f2b632;
}
@media (orientation: landscape) and (max-height: 560px),
       (orientation: portrait) and (max-width: 639px) {
  .stage[data-screen="manual"] .manual-card-choose {
    min-height: 36px;
    padding: 6px 24px;
    font-size: 12px;
  }
}
/* Three full-card targets remain side by side in short landscape. Reserve
   the CTA row before art; long Chinese explanations must not push it out. */
@media (orientation: landscape) and (min-width: 640px) and (max-height: 560px) {
  .stage[data-screen="manual"] .manual-perk-card {
    gap: 4px;
    padding: 7px;
  }
  .stage[data-screen="manual"] .manual-perk-art {
    flex: 0 1 36px;
    max-height: 36px;
    min-height: 24px;
  }
  .stage[data-screen="manual"] .manual-perk-card h3 {
    font-size: 16px;
    line-height: 1.15;
  }
  .stage[data-screen="manual"] .manual-perk-card p {
    text-wrap: balance;
    font-size: 12px;
    line-height: 1.3;
  }
  .stage[data-screen="manual"] .manual-perk-card small {
    font-size: 11px;
    line-height: 1.3;
  }
  .stage[data-screen="manual"] .manual-card-choose { flex-shrink: 0; }
}
