/* Arcade finder, the arcade-ONLY parts (inc/arcade-selector.php, docs/arcade-finder).
   Everything the two finders share (steps, tiles, buttons, result cards, badges, stock lines, toolbar,
   side-by-side table, step bar, share panel, the "Pick one" line, the two-card grid) is styled by
   css/handheld-selector.css through the same .ec-hs-* classes (owner 2026-11-16: "both share all style etc
   elements"); this file loads after it and only adds what handheld has no equivalent for. Tokens (--hs-*)
   come from .ec-hs there.
   Every <button> carries a class containing "btn-": Electro's base button rule (grey, black on hover)
   skips those (handheld finder TROUBLESHOOTING #8). */

/* Seven steps (six questions + matches): handheld's step bar reads --hs-steps (default 5) and fills from aria-current. */
.ec-as { --hs-steps: 7; }
@media (max-width: 599px) { .ec-as .ec-hs__seg-label { font-size: 8px; letter-spacing: .02em; } .ec-as .ec-hs__seg-num { display: block; } }

/* A four-tile step (play, screen, guns, budget) sits on one row on a wide screen, not 3 + 1. */
@media (min-width: 760px) { .ec-as .ec-hs-tiles:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Space between the result cards and what follows (the side-by-side table, the share row). The cards'
   CTA is their bottom edge, so without this the table's picture tiles sat right under it. */
.ec-as .ec-hs-cards { margin-bottom: 36px; }
.ec-as .ec-as-compare { margin: 0 0 36px; padding-top: 4px; }
.ec-as .ec-as-compare .ec-hs-sub { margin-top: 0; }
.ec-as .ec-hs-sharebox { margin-top: 0; }

/* One wide tile (the trackball toggle). */
.ec-as .ec-as-tiles--one { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .ec-as .ec-as-tiles--one { grid-template-columns: minmax(0, 340px); } }
.ec-as-check { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; cursor: pointer; }
.ec-as-check input { accent-color: var(--hs-accent); }

/* Result cards on a phone: picture on top, the text underneath and full width (owner 2026-11-18: the text
   sat in a narrow column to the right of the picture and was hard to read). Same stacking the desktop card uses.
   Arcade only: the handheld finder's short phone card keeps picture-left. */
@media (max-width: 639px) {
	.ec-as .ec-hs-card { grid-template-columns: minmax(0, 1fr); }
	.ec-as .ec-hs-card__img { margin: 0 -14px 4px; }
	.ec-as .ec-hs-card__body { padding-top: 10px; }
}

/* Light guns, what works */
.ec-as-gunpanel { margin: 0 0 18px; padding: 16px 18px; border-left: 3px solid var(--hs-accent); background: #fafafa; border-radius: 0 var(--hs-radius) var(--hs-radius) 0; }
.ec-as-gunpanel p { margin: 0 0 6px; font-size: 14px; }
.ec-as-gunpanel .ec-hs-kicker { margin-bottom: 10px; }
.ec-as-gunpanel a { color: var(--hs-accent-dim); font-weight: 600; }

/* Theme chips and edition pills */
.ec-as-themes { margin: 0 0 18px; }
.ec-as-chips, .ec-as-editions { display: flex; flex-wrap: wrap; gap: 8px; }
.ec-as-editions { margin: 0 0 12px; }
.ec-as .ec-as-chip { padding: 8px 14px; min-height: 0; border: 1px solid var(--hs-field); border-radius: 22px; background: #fff; color: var(--hs-title); font: 600 13px "Open Sans", sans-serif; cursor: pointer; }
.ec-as .ec-as-chip:hover { border-color: var(--hs-ink); }
.ec-as .ec-as-chip[aria-pressed="true"] { border-color: var(--hs-accent); box-shadow: inset 0 0 0 1px var(--hs-accent); color: var(--hs-accent-dim); }

/* Complete your setup: add-ons with a running total */
.ec-as-setup { margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid var(--hs-line); }
.ec-as-addon { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 8px; font-size: 13px; cursor: pointer; }
.ec-as-addon input { margin-top: 3px; accent-color: var(--hs-accent); }
.ec-as-addon__txt { display: block; }
.ec-as-addon__name { display: block; font-weight: 600; color: var(--hs-title); }
.ec-as-addon__why { display: block; color: var(--hs-muted); }
.ec-as-setup__total { margin: 8px 0 0; font-size: 14px; }

.ec-as-noscript { padding: 16px; background: var(--hs-panel); border-radius: var(--hs-radius); }
