/* JUCAT explore pages v1.4 (discover.html, venues.html, teams.html), on top of marketing-v1/v11.css (v1.3 tokens, header, footer).
   One result per card (8 px apart), compact search card + „Filtre” sheet, numbered pagination, map only on demand.
   No borders, white icons, green only for checkmarks/selected states already in use, inner padding everywhere, sizes reserved. */
main.ex{padding-bottom:24px;min-height:70vh}
.ex .hd{padding:12px 0}.ex h1{font-size:32px;line-height:1.08;font-weight:800;margin:0 0 6px}.ex .hd p{color:var(--mu);font-size:16px}
.ex .sc{display:grid;gap:12px}.ex .sr{display:flex;gap:8px}
.ex .fld{flex:1;display:flex;align-items:center;gap:10px;height:48px;padding:0 16px;border-radius:999px;background:var(--bg);min-width:0}
.ex .fld svg{color:#fff}.ex .fld input{flex:1;min-width:0;height:100%;border:0;background:transparent;font-size:16px;outline:0}
.ex .fld input::placeholder{color:var(--mu)}.ex .fld:focus-within{box-shadow:0 0 0 2px var(--y)}
.ex .sr .btn{flex:0 0 auto;padding:0 18px}.ex .fc{min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--ybg);color:var(--y);font-size:12px;display:inline-grid;place-items:center}
.ex .fc[hidden]{display:none}
.ex .chips{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;margin:0 -4px;padding:0 4px}.ex .chips::-webkit-scrollbar{display:none}
.ex .chips .chip{background:var(--sec-bg);height:34px;padding:0 13px;font-size:14px}
.ex .chip[aria-pressed=true],.sh .chip[aria-pressed=true]{background:var(--ybg);color:var(--y)}
.ex .rh{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0 8px;padding:0 4px;min-height:40px}
.ex .rh b{font-size:15px;color:var(--mu);font-weight:600;min-width:0}
.ex .rh .btn svg{color:#fff}
.xmap{height:320px;border-radius:20px;overflow:hidden;background:var(--card);margin:0 0 8px;position:relative;z-index:0}
.xmap[hidden]{display:none}.mapmsg{padding:16px;color:var(--mu);font-size:15px;margin:0;background:var(--card);border-radius:12px}
.xpin{display:grid!important;place-items:center;border-radius:50%;background:var(--y);color:var(--bg);font-weight:800;font-size:13px}
.rc{display:grid;gap:8px}
.xr{display:flex;align-items:center;gap:12px;min-height:72px;padding:12px 14px 12px 12px;color:var(--tx)}
.xr>svg{color:#fff;opacity:.8}
.xt{position:relative;flex:0 0 48px;width:48px;height:48px;border-radius:14px;background:var(--sec-bg);display:grid;place-items:center;overflow:hidden;font-weight:800;font-size:15px;color:var(--tx)}
.xt img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.xt.d{background:var(--ybg);color:var(--y);align-content:center;gap:1px}.xt.d b{font-size:18px;line-height:1}.xt.d small{font-size:11px;font-weight:700;text-transform:uppercase;line-height:1}
.xr .m{flex:1;min-width:0}.xr .m b{display:block;font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.xr .m span{display:block;font-size:14px;color:var(--mu);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.xr.sk .m i{display:block;height:14px;border-radius:7px;background:rgba(243,246,245,.07);width:60%}.xr.sk .m i+i{margin-top:8px;width:40%}
.emp{display:grid;gap:14px;justify-items:start;padding:20px}.emp b{font-size:17px}
.ex .pg{display:flex;justify-content:center;flex-wrap:wrap;gap:6px;margin-top:16px;min-height:40px}
.ex .pg button,.ex .pg span{width:40px;height:40px;border-radius:999px;display:grid;place-items:center;border:0;background:var(--sec-bg);color:var(--tx);font:700 15px/1 JucatUnified,sans-serif;cursor:pointer;padding:0}
.ex .pg button.on{background:var(--ybg);color:var(--y)}.ex .pg span{background:none;color:var(--mu);cursor:default}.ex .pg svg{color:#fff;width:18px;height:18px}
/* filter sheet */
.shb{position:fixed;inset:0;background:rgba(8,8,9,.62);z-index:40}.shb[hidden],.sh[hidden]{display:none}
.sh{position:fixed;left:0;right:0;bottom:0;z-index:41;max-height:86vh;overflow-y:auto;background:var(--card);border-radius:28px 28px 0 0;padding:10px 16px calc(20px + env(safe-area-inset-bottom))}
.sh .gr{width:40px;height:4px;border-radius:9px;background:rgba(243,246,245,.25);margin:0 auto 10px}
.sh .st{display:flex;align-items:center;justify-content:space-between}.sh .st h2{font-size:22px;font-weight:800}
.sh .g{margin-top:18px}.sh .g p{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--mu);margin:0 0 8px}
.sh .chips{display:flex;flex-wrap:wrap;gap:6px}.sh .chip{background:var(--sec-bg);height:36px;font-size:15px}
.sh .dt{display:flex;align-items:center;gap:8px;margin-top:8px}.sh .dt input{height:40px;border-radius:999px;border:0;background:var(--bg);color:var(--tx);padding:0 14px;font-size:15px;color-scheme:dark}
.sh .bt{display:grid;grid-template-columns:1fr 1.6fr;gap:8px;margin-top:24px}
/* detail views (venue, game, games at a venue) */
.x-detail .ex>.hd,.x-detail .ex>.sc,.x-detail .ex>.rh,.x-detail .ex>.xmap,.x-detail .ex>.rc,.x-detail .ex>.pg{display:none}
#x-detail{display:grid;gap:8px;min-height:60vh}#x-detail[hidden]{display:none}.x-detail #x-detail[hidden]{display:grid}
#x-detail .back{margin:4px 0 4px}#x-detail .back svg{color:#fff}
.xh{overflow:hidden;padding:0}.xh .xim{display:block;aspect-ratio:16/9;background:#1f2126}.xh .xim img{width:100%;height:100%;object-fit:cover}
.xh .b{padding:20px}.xh h1{font-size:30px;line-height:1.1;font-weight:800;margin:4px 0 6px}
.pills{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}.xh .ctas,.xd .ctas{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.xd{display:grid;gap:8px;padding:18px 20px}.xd h2{font-size:20px;font-weight:800}.xd .ctas{margin-top:8px}
.xf{display:flex;align-items:center;gap:10px}.xf svg{color:#fff}.xf a{text-decoration:underline}.xp{font-size:24px;font-weight:800}
@media (min-width:801px){
 .ex .hd{padding:24px 0 16px}.ex h1{font-size:44px}
 .ex .sc{grid-template-columns:minmax(0,1fr) auto;align-items:center;padding:14px}.ex .chips{margin:0}
 .rc{grid-template-columns:1fr 1fr}
 .xmap{height:420px}
 .sh{left:50%;right:auto;bottom:auto;top:50%;width:480px;border-radius:28px;transform:translate(-50%,-50%);padding:16px 20px 20px}.sh .gr{display:none}
 .xh{display:grid;grid-template-columns:1.1fr 1fr}.xh .xim{aspect-ratio:auto;min-height:320px}.xh .b{padding:32px;align-self:center}.xh h1{font-size:40px}
 #x-detail{grid-template-columns:1fr 1fr}#x-detail>.back,#x-detail>.xh,#x-detail>.hd,#x-detail>.rc,#x-detail>.emp{grid-column:1/-1}
}
/* r6v543 (owner): search row stays inside its card on phones; no coloured box behind the typed city */
.ex .sc{grid-template-columns:minmax(0,1fr)}.ex .sc>*{min-width:0}.ex .sr{min-width:0}.ex .sr .btn{padding:0 14px;white-space:nowrap}
.ex .fld input{-webkit-appearance:none;appearance:none;background:transparent!important;color:var(--tx)}.ex .fld input:-webkit-autofill,.ex .fld input:-webkit-autofill:focus{-webkit-box-shadow:0 0 0 40px var(--bg) inset!important;-webkit-text-fill-color:var(--tx);caret-color:var(--tx)}
@media (min-width:801px){.ex .sc{grid-template-columns:minmax(0,1fr) auto}}

/* 27 Nov 2026 fit fix: the result list and the detail column were implicit `auto` grid tracks, so a card's one-line (nowrap) name/meta
   pushed the track to its full text width and the cards ran off the right edge (and looked wider than the search card). One shrinkable
   column, children allowed to shrink, long words wrap: the search card, the result cards and the detail cards share the same width. */
.ex>.sc,.ex>.rc,.ex>.rh,.ex>.xmap,.ex>.pg,#x-detail{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
.rc,#x-detail{grid-template-columns:minmax(0,1fr)}
.rc>*,#x-detail>*,.ex .sc>*{min-width:0;max-width:100%;box-sizing:border-box}
.xr{width:100%}
.xd,.xh .b{overflow-wrap:anywhere}

/* 27 Nov 2026: „Filtre” sheet title row. v11.css's step card class .st (padding 24px !important, card background) also matched the
   sheet's .st title row, so „Filtre” sat further in than the section labels; the title now starts at the same left edge, × on the right. */
.sh .st{display:flex!important;align-items:center!important;justify-content:space-between;gap:12px!important;padding:0!important;background:none;border-radius:0}
.sh .st .ib{margin-right:-8px}
/* chosen city on the search card: the selected chip style, white × */
.ex .chips .xvc{gap:6px;padding-right:10px}.ex .chips .xvc svg{width:16px;height:16px;color:#fff;flex:0 0 auto}

/* r6v543 (owner): Oraș / Județ as the app's Locații „Filtre” rows (locatii-v2.js .u28-frow, u33.css): each row its own card, 8 px apart,
   label left, value right (gold when chosen) + gold chevron; the row opens its list in the same sheet, each option its own card
   (JUI.choiceSheet .u25-opt: bold name, venue count under it, the app's tick on the right). No borders, no visible scrollbars. */
.sh{scrollbar-width:none}.sh::-webkit-scrollbar{display:none}
.sh.picking>.st,.sh.picking>.g,.sh.picking>.bt{display:none!important}
.xpk[hidden]{display:none}
.sh .xfg{display:flex;flex-direction:column;gap:8px}
.xfr,.xop{display:flex;align-items:center;gap:12px;width:100%;box-sizing:border-box;margin:0;border:0;border-radius:20px;background:var(--bg);color:var(--tx);text-align:left;cursor:pointer;font-family:inherit;-webkit-tap-highlight-color:transparent}
.xfr{min-height:56px;padding:8px 14px;font-size:15px;line-height:1.3;font-weight:400}
.xfr .k{flex:1 1 auto;min-width:0}
.xfr .v{min-width:0;max-width:60%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--tx)}
.xfr .v.on{color:var(--y);font-weight:700}
.xfr .xch{flex:none;color:var(--y)}
.xpk .xops{display:flex;flex-direction:column;gap:8px;margin-top:18px}
.xop{min-height:64px;padding:12px 16px}
.xop .t{flex:1 1 auto;min-width:0;display:flex;flex-direction:column}
.xop .t b{font-size:16px;line-height:1.25;font-weight:700;overflow-wrap:anywhere}
.xop .t small{font-size:13px;color:var(--tx);margin-top:3px}
.xop .ck{flex:none;width:24px;height:24px;display:grid;place-items:center}
.xc2{display:block;overflow:visible}.xc2 circle{stroke:var(--tx)}.xc2.on circle{fill:var(--y);stroke:none}.xc2.on path{stroke:#2A1F00}
/* r6v543 „Alege data” = the app's calendar sheet (u27.css .u27c-cal + u33.css „Alege data (owner, 27 nov)”), with a gold dot for days with games */
.sh .xcal{margin-top:14px}
.sh .xcn{display:flex;align-items:center;justify-content:space-between;margin:0 0 6px}
.sh .xcn b{font:700 17px/1 JucatUnified,sans-serif;color:#F3F6F5}
.sh .xmb{flex:none;width:40px;height:40px;min-width:40px;min-height:40px;display:grid;place-items:center;padding:0;margin:0;border:0;border-radius:50%;background:#16171A;color:#F3F6F5;cursor:pointer;-webkit-tap-highlight-color:transparent}
.sh .xmb[aria-disabled=true]{cursor:default}.sh .xmb[aria-disabled=true] svg{opacity:.35}
.sh .xcg{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));row-gap:2px;text-align:center;background:#16171A;border-radius:20px;padding:8px}
.sh .xch{display:block;padding:8px 0;font:700 12px/1 JucatUnified,sans-serif;color:#F3F6F5}
.sh .xcc{position:relative;justify-self:center;align-self:center;width:44px;max-width:100%;height:40px;min-height:40px;padding:0;margin:0;border:0;border-radius:50%;background:transparent;color:#F3F6F5;font:600 15px/1 JucatUnified,sans-serif;cursor:pointer;-webkit-tap-highlight-color:transparent}
.sh .xcc.dis{opacity:.35;cursor:default}
.sh .xcc.on{height:32px;min-height:32px;border-radius:999px;background:rgba(245,170,0,.20);color:#E8C874}
.sh .xcc.has:not(.on)::after{content:"";position:absolute;left:50%;bottom:3px;width:5px;height:5px;margin-left:-2.5px;border-radius:50%;background:#E8C874}
.sh .xcnote{margin:10px 0 0;font:400 13px/1.45 JucatUnified,sans-serif;color:#F3F6F5}
/* r6v543: an open sheet covers the dev-only „DEV” label (no label on main, so nothing changes there) */
body:has(.sh:not([hidden])) [data-jucat-dev-badge]{display:none!important}
