/* SQWADSY App · formularul comun de căutare: Găsește meciuri (#/games) și Locații (#/venues) · lot 3, 14.10.2026.
 * Structura landing-ului Marketing (R20): un card, câmpuri cu icon și etichetă deasupra valorii, separatoare, căutarea
 * la capăt (R17–R18). Desktop: varianta A, un rând. Mobil (≤ 800 px): varianta B compactă (D4): linia de căutare cu
 * „Caută” la capăt, apoi un rând de selecții. Butoane într-o singură formă: 40 px, 14/600, rază 10 (R21). Inter (D10).
 * Tokenuri din booking-tokens.css (Light/Dark). Selectoare cu prefix #id: stilurile vechi ale câmpurilor (venues-v2.css,
 * player-experience.css, interaction-polish.css, temele v3.4) sunt mai specifice și altfel ar câștiga. */
:root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-phead { display: flex !important; flex-direction: row !important; align-items: center !important; justify-content: space-between !important; gap: 16px !important; margin: 0 0 18px !important; }
:root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-phead h1 { margin: 0 !important; }
:root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-phead > div { min-width: 0; }

/* ---------------------------------------------------------------- buttons */
:root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-btn { display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 8px !important;
  height: 40px !important; min-height: 40px !important; padding: 0 14px !important; margin: 0 !important; border-radius:3px!important; border: 1px solid var(--line) !important;
  background: var(--surface) !important; color: var(--ink) !important; font: 500 14px/1 'Inter',system-ui,sans-serif !important; letter-spacing: 0 !important; text-transform: none !important;
  white-space: nowrap !important; text-decoration: none !important; box-shadow: none !important; cursor: pointer; width: auto !important; flex: none; }
:root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-btn svg { width: 18px; height: 18px; flex: none; }
:root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-btn:hover { background: var(--surface-2) !important; }
:root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-btn.accent { background: var(--mint-soft) !important; border-color: var(--mint-line) !important; color: var(--mint-text) !important; }
:root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-btn.primary { background: var(--mint) !important; border-color: var(--mint) !important; color: var(--mint-ink) !important; font-weight: 700 !important; }
:root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-btn:is([aria-pressed="true"], [aria-expanded="true"]) { background: var(--mint-soft) !important; border-color: var(--mint-line) !important; color: var(--mint-text) !important; }
:root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-btn:focus-visible { outline: 3px solid var(--prop-dot) !important; outline-offset: 2px !important; }
:root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius:6px; background: var(--ink); color: var(--bg); font: 700 12px/20px 'Inter',system-ui,sans-serif; text-align: center; }
:root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-count[hidden] { display: none; }

/* ---------------------------------------------------------------- the search card */
:root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-sform { display: flex !important; align-items: stretch !important; flex-wrap: nowrap !important; gap: 0 !important; grid-template-columns: none !important;
  margin: 0 !important; padding: 0 !important; background: var(--surface) !important; border: 1px solid var(--line) !important; border-radius:6px!important; box-shadow: 0 10px 30px rgba(11,35,32, .08) !important; }
:root[data-theme="dark"] body.experience :is(#allGamesPage, #playerVenues) .sq-sform { box-shadow: none !important; }
:root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-picks { display: contents; }
:root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-sf { flex: 1 1 0; min-width: 0; display: flex !important; align-items: center; gap: 12px; padding: 12px 16px !important; margin: 0 !important;
  position: relative; cursor: text; border: 0 !important; border-left: 1px solid var(--line) !important; background: transparent !important; border-radius: 0 !important; }
:root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-sform > .sq-sf:first-child { border-left: 0 !important; }
:root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-sf.wide { flex: 1.7 1 0; }
:root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-sf:focus-within { box-shadow: inset 0 0 0 2px var(--prop-dot) !important; border-radius:6px!important; }
:root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-ic { display: inline-flex; color: var(--quiet); flex: none; }
:root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-ic svg { width: 20px; height: 20px; }
:root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-sfb { flex: 1; min-width: 0; display: block; }
:root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-sfl { display: block !important; margin: 0 0 3px !important; font: 500 12px/1.2 'Inter',system-ui,sans-serif !important; color: var(--quiet) !important; text-transform: none !important; letter-spacing: 0 !important; }
:root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-ctl { display: block !important; width: 100% !important; min-width: 0 !important; height: auto !important; min-height: 0 !important;
  margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; outline: none !important;
  font: 400 16px/1.3 'Inter',system-ui,sans-serif !important; color: var(--ink) !important; grid-column: auto !important; }
:root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-ctl::placeholder { color: var(--faint); opacity: 1; }
:root[data-theme] body.experience :is(#allGamesPage, #playerVenues) select.sq-ctl { cursor: pointer; appearance: auto; }
:root[data-theme] body.experience :is(#allGamesPage, #playerVenues) select.sq-ctl option { color: var(--ink); background: var(--surface); }
:root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-ctl.sq-date { margin-top: 4px !important; }
:root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-ctl.sq-date[hidden] { display: none !important; }
:root[data-theme="dark"] body.experience :is(#allGamesPage, #playerVenues) .sq-ctl { color-scheme: dark; }
:root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-go { align-self: center; height: 48px !important; min-height: 48px !important; padding: 0 20px !important; margin: 0 12px 0 4px !important; font-size: 15px !important; }
:root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-go .short { display: none; }

/* ---------------------------------------------------------------- under the card: Filtre + quick chips */
:root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-under { display: flex !important; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0 20px !important; }
:root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-under .l17-chips { display: contents !important; }
:root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-sep { width: 1px; height: 24px; background: var(--line); margin: 0 4px; }
:root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-panel:not([hidden]) { margin: -6px 0 18px !important; }
/* the old under-hero chip/explanation rows are replaced by .sq-under */
:root[data-theme] body.experience #allGamesPage .p2-chips { display: none !important; }

/* ---------------------------------------------------------------- mobile: variant B (compact) */
@media (max-width: 800px) {
  :root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-phead { margin-bottom: 14px !important; }
  :root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-phead h1 { font-size: 28px !important; font-style: italic !important; font-weight: 800 !important; }
  :root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-create span { display: none; }
  :root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-create::after { content: attr(data-short); }
  :root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-sform { flex-wrap: wrap !important; padding: 6px 6px 0 !important; }
  :root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-sform > .sq-sf.wide { flex: 1 1 0; order: 0; padding: 4px 8px !important; }
  :root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-sform > .sq-sf.wide .sq-sfl { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  :root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-go { order: 1; height: 44px !important; min-height: 44px !important; margin: 0 !important; padding: 0 14px !important; }
  :root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-go .long, :root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-go [aria-hidden] { display: none; }
  :root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-go .short { display: inline; }
  :root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-picks { order: 2; display: flex !important; flex-wrap: wrap; flex-basis: 100%; gap: 8px; margin: 6px -6px 0; padding: 10px 12px 12px; border-top: 1px solid var(--line); }   /* all three pickers stay visible (they wrap) */
  :root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-picks::-webkit-scrollbar { display: none; }
  :root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-picks .sq-sf { flex: none !important; border: 1px solid var(--line) !important; border-radius:6px!important; padding: 0 10px !important; background: var(--surface-2) !important; gap: 6px; min-height: 40px; }
  :root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-picks .sq-sf .sq-sfl { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  :root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-picks .sq-ic svg { width: 16px; height: 16px; }
  :root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-picks .sq-ctl { font-size: 14px !important; font-weight: 500 !important; width: auto !important; }
  :root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-picks .sq-sf:focus-within { border-radius:6px!important; }
  :root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-under { flex-wrap: nowrap; overflow-x: auto; margin: 12px 0 16px !important; padding: 0 0 2px; scrollbar-width: none; } /* no negative bleed: the games page gutter is not 16 px, a bleed caused page scroll */
  :root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-under::-webkit-scrollbar { display: none; }
  :root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-under > *, :root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-under .l17-chips > * { flex: none; }
}

/* the map actions on Locații („Arată toate punctele”, „Extinde harta”) take the same button form as on Găsește meciuri (R21) */
:root[data-theme] body.experience #playerVenues .exp-map-controls button { display: inline-flex !important; align-items: center !important; justify-content: center !important; height: 40px !important; min-height: 40px !important;
  padding: 0 14px !important; border-radius:3px!important; border: 1px solid var(--line) !important; background: var(--surface) !important; color: var(--ink) !important;
  font: 500 14px/1 'Inter',system-ui,sans-serif !important; letter-spacing: 0 !important; text-transform: none !important; box-shadow: none !important; }
:root[data-theme] body.experience #playerVenues .exp-map-controls button:hover { background: var(--surface-2) !important; }
:root[data-theme] body.experience #playerVenues .exp-map-controls button[aria-expanded="true"] { background: var(--mint-soft) !important; border-color: var(--mint-line) !important; color: var(--mint-text) !important; }
@media (max-width: 800px) {
  /* compact pickers: as wide as their value (Chromium; elsewhere they fall back to wrapping), no icon */
  :root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-picks .sq-ctl { field-sizing: content; max-width: 100%; }
  :root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-picks .sq-ic { display: none; }
  :root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-picks { gap: 6px; }
  :root[data-theme] body.experience :is(#allGamesPage, #playerVenues) .sq-picks .sq-sf { padding: 0 12px !important; }
}


/* 15.10 (fx_g1oplkqsnocz, „câmp Dată exactă”): at 801–1439 px the App sidebar leaves the card 505–1143 px, so the five
 * cells of one row squeezed the three pickers to 8–143 px of control („mm/dd/yyy”, „T▾”; the values need 115–139 px;
 * measured: 110 px at 1279/1280, 144 px at 1440). In this range only, on
 * Găsește meciuri: the search and the button keep the first row, the three pickers take a second row of equal columns
 * (same pattern as the approved compact variant ≤ 800 px, desktop labels kept); the picker icons are dropped to give
 * the values their width. Order in the DOM (and keyboard) is unchanged. */
@media (min-width: 801px) and (max-width: 1439px) {
  :root[data-theme] body.experience #allGamesPage .sq-sform { flex-wrap: wrap !important; }
  :root[data-theme] body.experience #allGamesPage .sq-go { order: 1; }
  :root[data-theme] body.experience #allGamesPage .sq-picks { order: 2; display: flex !important; flex-basis: 100%; border-top: 1px solid var(--line); }
  :root[data-theme] body.experience #allGamesPage .sq-picks .sq-sf { flex: 1 1 0; padding: 12px 14px !important; }
  :root[data-theme] body.experience #allGamesPage .sq-picks > .sq-sf:first-child { border-left: 0 !important; }
  :root[data-theme] body.experience #allGamesPage .sq-picks .sq-ic { display: none; }
}
