:root {
  /* Manual de marca Grup Stel: vermell 710C, blau 6101C (Roda de Berà), blau fosc 669C, verd 6179C, blanc i negre */
  --red: #E63154; --blue: #5C87C4; --navy: #3A3060; --green: #5E9E6E;
  --brand: var(--navy); --brand2: var(--blue); --accent: var(--red); --accent2: #EE5A77; --sea: var(--blue);
  --tint: #FDEBEF; --tint-blue: #E6EEF8; --tint-green: #E8F3EB; --soft: #E9EEF4;
  --bg: #ECF2F6; --card: #FFFFFF; --fg: #3A3060; --muted: #6E6A8C; --line: #DCE3EB; --ok: #3F7F50; --warn: #B7700E; --bad: #C8243F;
  --r: 18px; --sh: 0 6px 20px rgba(58, 48, 96, .10); --sh2: 0 2px 8px rgba(58, 48, 96, .07);
  --safe-b: env(safe-area-inset-bottom, 0px); --safe-t: env(safe-area-inset-top, 0px);
  color-scheme: light;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
@font-face { font-family: "Uncut Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url(fonts/UncutSans-Regular.woff2) format("woff2"), url(https://cdn.jsdelivr.net/fontsource/fonts/uncut-sans@latest/latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Uncut Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url(fonts/UncutSans-Medium.woff2) format("woff2"), url(https://cdn.jsdelivr.net/fontsource/fonts/uncut-sans@latest/latin-500-normal.woff2) format("woff2"); }
body { font-family: "Uncut Sans", system-ui, -apple-system, "Segoe UI", sans-serif; background: #DDE5EC; color: var(--fg); font-size: 15px; line-height: 1.4; -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
svg.i { width: 1.15em; height: 1.15em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }

#app { position: relative; max-width: 480px; margin: 0 auto; min-height: 100%; background: var(--bg); box-shadow: 0 0 40px rgba(0,0,0,.08); overflow-x: hidden; }
#view { padding-bottom: calc(96px + var(--safe-b)); min-height: 100vh; }
#view.enter { animation: vin .22s ease-out; }
@keyframes vin { from { opacity: .4; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---- barra inferior (pestanya activa elevada, com PortAventura) */
.tabbar { position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; width: 100%; max-width: 480px; z-index: 30; display: grid; grid-template-columns: repeat(5, 1fr);
  background: #fff; border-top: 1px solid var(--line); padding: 6px 4px calc(8px + var(--safe-b)); box-shadow: 0 -4px 18px rgba(38,33,63,.06); }
.tab { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; font-weight: 500; color: var(--muted); padding-top: 4px; position: relative; }
.tab .ti { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; transition: transform .2s, background .2s; }
.tab .ti svg { width: 22px; height: 22px; }
.tab[aria-current="page"] { color: var(--accent); }
.tab[aria-current="page"] .ti { background: var(--accent); color: #fff; width: 48px; height: 48px; transform: translateY(-18px); margin-bottom: -18px; box-shadow: 0 6px 14px rgba(230,49,84,.35); border: 4px solid #fff; }

/* ---- capçalera hero amb vora corba */
.hero { position: relative; height: 330px; color: #fff; background: url(img/pattern.png) 0 0/220px repeat, var(--blue); border-radius: 0 0 50% 50% / 0 0 34px 34px; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(58,48,96,.25) 0%, rgba(58,48,96,0) 40%, rgba(58,48,96,.35) 100%); }
.hero.photo { background: var(--navy) center/cover no-repeat; }
.hero.photo::after { background: linear-gradient(180deg, rgba(58,48,96,.55) 0%, rgba(58,48,96,0) 35%, rgba(58,48,96,.2) 60%, rgba(58,48,96,.8) 100%); }
.hero > * { position: relative; z-index: 1; }
.hero-top { display: flex; align-items: center; gap: 10px; padding: calc(14px + var(--safe-t)) 16px 0; }
.logo { display: block; width: 220px; }
.logo img { width: 100%; height: auto; display: block; }
.hero-top .sp { flex: 1; }
.round { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; position: relative; }
.round.light { background: #fff; color: var(--fg); box-shadow: var(--sh2); }
.round .dot { position: absolute; top: 8px; right: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--red); border: 2px solid #fff; }
.langbtn { height: 40px; padding: 0 12px; border-radius: 20px; background: rgba(255,255,255,.18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font-weight: 500; font-size: 13px; display: flex; align-items: center; gap: 6px; }
.hero-txt { position: absolute; left: 20px; right: 20px; bottom: 58px; }
.hero-txt h1 { font-size: 32px; line-height: 1.08; font-weight: 500; letter-spacing: -.015em; }
.hero-txt p { margin-top: 6px; font-size: 15px; opacity: .92; display: flex; align-items: center; gap: 6px; }

/* ---- targetes i seccions */
.wrap { padding: 0 16px; }
.lift { margin-top: -40px; position: relative; z-index: 2; }
.card { background: var(--card); border-radius: var(--r); box-shadow: var(--sh); }
.sec { margin-top: 26px; }
.sec-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding: 0 16px; margin-bottom: 12px; }
.sec-h h2 { font-size: 20px; font-weight: 500; letter-spacing: -.01em; }
.sec-h a, .sec-h button.lnk { color: var(--accent); font-weight: 500; font-size: 14px; white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

.hours { padding: 16px; }
.hours-h { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.hours-h .ic { width: 38px; height: 38px; border-radius: 12px; background: var(--tint); color: var(--accent); display: grid; place-items: center; }
.hours-h b { font-size: 16px; display: block; }
.hours-h small { color: var(--muted); font-size: 13px; }
.hrow { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.hrow:first-of-type { border-top: 0; }
.hrow .n { flex: 1; font-weight: 500; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hrow .t { font-weight: 500; font-variant-numeric: tabular-nums; font-size: 14px; text-align: right; }
.hrow .t.closed { color: var(--bad); }
.st { width: 8px; height: 8px; border-radius: 50%; background: #C3CAD6; flex: none; }
.st.on { background: var(--green); box-shadow: 0 0 0 3px rgba(94,158,110,.22); }
.hours-f { display: flex; justify-content: center; padding-top: 10px; border-top: 1px solid var(--line); margin-top: 4px; }
.hours-f a { color: var(--accent); font-weight: 500; font-size: 14px; display: flex; align-items: center; gap: 6px; }

/* carrusels horitzontals */
.hs { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 10px; scrollbar-width: none; }
.hs::-webkit-scrollbar { display: none; }
.hs > * { scroll-snap-align: start; flex: none; }

.xp { width: 150px; height: 168px; border-radius: var(--r); padding: 14px; color: #fff; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; box-shadow: var(--sh2); text-align: left; }
.xp .em { width: 44px; height: 44px; background: center/contain no-repeat; display: block; }
.xp b { font-size: 17px; line-height: 1.15; display: block; }
.xp small { font-size: 12.5px; opacity: .92; display: block; margin-top: 4px; }
.xp::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: rgba(255,255,255,.14); }

.feat { width: 280px; border-radius: var(--r); overflow: hidden; background: #fff; box-shadow: var(--sh); text-align: left; display: block; }
.feat .im { height: 160px; background: #ddd center/cover; position: relative; }
.feat .im .chip { position: absolute; left: 10px; top: 10px; }
.feat .im .time { position: absolute; right: 10px; bottom: 10px; background: rgba(58,48,96,.72); color: #fff; font-weight: 500; font-size: 13px; padding: 5px 10px; border-radius: 10px; backdrop-filter: blur(6px); }
.feat .bd { padding: 12px 14px 14px; }
.feat h3 { font-size: 17px; font-weight: 500; }
.feat .loc { color: var(--muted); font-size: 13px; margin-top: 3px; display: flex; align-items: center; gap: 4px; }
.feat .row { display: flex; gap: 8px; margin-top: 12px; }

.chip { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 13px; font-size: 12px; font-weight: 500; background: #fff; color: var(--fg); white-space: nowrap; }
.chip.c { color: #fff; }
.chip.soft { background: var(--soft); }

.btn { height: 40px; padding: 0 16px; border-radius: 20px; font-weight: 500; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--soft); color: var(--fg); white-space: nowrap; }
.btn.pri { background: var(--accent); color: #fff; box-shadow: 0 4px 12px rgba(230,49,84,.28); }
.btn.dark { background: var(--brand); color: #fff; }
.btn.out { background: #fff; border: 1.5px solid var(--line); }
.btn.on { background: var(--tint-green); color: var(--ok); }
.btn.sm { height: 34px; padding: 0 12px; font-size: 13px; }
.btn.full { width: 100%; height: 50px; border-radius: 25px; font-size: 16px; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn.grow { flex: 1; }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 16px; }
.tile { background: #fff; border-radius: 16px; padding: 14px 8px 12px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 12.5px; font-weight: 500; box-shadow: var(--sh2); line-height: 1.2; }
.tile .ti { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; }
.tile .ti svg { width: 24px; height: 24px; }

.rest { width: 220px; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh2); text-align: left; display: block; }
.rest .im { height: 120px; background: #ddd center/cover; }
.rest .bd { padding: 10px 12px 12px; }
.rest b { display: block; font-size: 15px; }
.rest .tg { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12.5px; color: var(--muted); }

/* capçalera de subpàgina */
.top { position: sticky; top: 0; z-index: 20; background: rgba(236,242,246,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: calc(10px + var(--safe-t)) 12px 10px; display: flex; align-items: center; gap: 10px; }
.top h1 { font-size: 20px; font-weight: 500; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top.big { padding-top: calc(18px + var(--safe-t)); }
.top.big h1 { font-size: 26px; }

/* dies i filtres */
.days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 16px 12px; scrollbar-width: none; }
.days::-webkit-scrollbar { display: none; }
.day { flex: none; width: 54px; height: 66px; border-radius: 16px; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; box-shadow: var(--sh2); }
.day small { font-size: 11px; font-weight: 500; color: var(--muted); text-transform: uppercase; }
.day b { font-size: 20px; font-weight: 500; }
.day[aria-pressed="true"] { background: var(--brand); color: #fff; }
.day[aria-pressed="true"] small { color: rgba(255,255,255,.75); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 0 16px 12px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.fchip { flex: none; height: 36px; padding: 0 14px; border-radius: 18px; background: #fff; border: 1.5px solid var(--line); font-weight: 500; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }
.fchip i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.fchip[aria-pressed="true"] { background: var(--fg); color: #fff; border-color: var(--fg); }

.seg { display: grid; grid-template-columns: 1fr 1fr; background: #DCE4EC; border-radius: 14px; padding: 4px; margin: 0 16px 14px; }
.seg button { height: 38px; border-radius: 11px; font-weight: 500; font-size: 14px; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 6px; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--fg); box-shadow: var(--sh2); }
.seg .n { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--accent); color: #fff; font-size: 11px; display: inline-grid; place-items: center; }

/* línia de temps per hores (El meu pla · Horaris) */
.tl { padding: 0 16px; }
.tl-g { display: grid; grid-template-columns: 52px 1fr; gap: 10px; margin-bottom: 14px; }
.tl-t { font-weight: 500; font-size: 15px; padding-top: 10px; position: relative; font-variant-numeric: tabular-nums; }
.tl-t::after { content: ""; position: absolute; left: 22px; top: 36px; bottom: -18px; width: 2px; background: var(--line); border-radius: 1px; }
.tl-g:last-child .tl-t::after { display: none; }
.tl-c { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ev { background: #fff; border-radius: var(--r); box-shadow: var(--sh2); overflow: hidden; display: block; text-align: left; width: 100%; }
.ev-im { height: 128px; background: #ddd center/cover; position: relative; }
.ev-im .chip { position: absolute; left: 10px; top: 10px; }
.ev-im .past { position: absolute; inset: 0; background: rgba(255,255,255,.55); }
.ev-bd { padding: 12px 14px 14px; }
.ev-bd h3 { font-size: 17px; font-weight: 500; }
.ev-m { display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--muted); font-size: 13px; margin-top: 5px; }
.ev-m span { display: inline-flex; align-items: center; gap: 4px; }
.ev-row { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.ev.past { opacity: .6; }
.cap { font-size: 12.5px; font-weight: 500; display: inline-flex; align-items: center; gap: 4px; }
.cap.ok { color: var(--ok); } .cap.warn { color: var(--warn); } .cap.bad { color: var(--bad); }

.empty { text-align: center; padding: 40px 28px; color: var(--muted); }
.empty .em { font-size: 44px; margin-bottom: 10px; }
.empty b { display: block; color: var(--fg); font-size: 17px; margin-bottom: 6px; }

/* llistes */
.list { background: #fff; border-radius: var(--r); box-shadow: var(--sh2); overflow: hidden; margin: 0 16px; }
.li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-top: 1px solid var(--line); width: 100%; text-align: left; }
.li:first-child { border-top: 0; }
.li .th { width: 58px; height: 58px; border-radius: 14px; background: #ddd center/cover; flex: none; }
.li .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--soft); color: var(--brand2); flex: none; }
.li .tx { flex: 1; min-width: 0; }
.li .tx b { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.li .tx small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.li .go { color: #AEB5C6; }
.li .badge { font-size: 12px; font-weight: 500; }

/* fitxa de detall */
.dhero { position: relative; height: 300px; background: var(--brand); }
.gal { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; height: 100%; scrollbar-width: none; }
.gal::-webkit-scrollbar { display: none; }
.gal > div { flex: none; width: 100%; height: 100%; background: center/cover; scroll-snap-align: start; }
.dhero .bar { position: absolute; left: 0; right: 0; top: 0; display: flex; justify-content: space-between; padding: calc(12px + var(--safe-t)) 14px; z-index: 2; }
.dhero .dots { position: absolute; bottom: 34px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.dhero .dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.55); }
.dhero .dots i.on { background: #fff; width: 18px; border-radius: 4px; }
.dbody { background: var(--bg); border-radius: 26px 26px 0 0; margin-top: -26px; position: relative; padding: 22px 16px 0; }
.dbody h1 { font-size: 26px; font-weight: 500; line-height: 1.15; letter-spacing: -.01em; }
.dloc { display: flex; align-items: center; gap: 5px; color: var(--muted); margin-top: 6px; font-size: 14px; }
.dtags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.fact { background: #fff; border-radius: 14px; padding: 10px 10px; box-shadow: var(--sh2); }
.fact small { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 11.5px; font-weight: 500; }
.fact b { display: block; font-size: 14.5px; margin-top: 3px; }
.dsec { margin-top: 22px; }
.dsec h2 { font-size: 18px; font-weight: 500; margin-bottom: 10px; }
.desc { white-space: pre-line; color: #4A4470; line-height: 1.55; }
.desc.clamp { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.more { color: var(--accent); font-weight: 500; margin-top: 6px; font-size: 14px; }
.sess { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
.sess::-webkit-scrollbar { display: none; }
.ses { flex: none; min-width: 92px; padding: 9px 12px; border-radius: 14px; background: #fff; border: 1.5px solid var(--line); text-align: left; }
.ses small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 500; }
.ses b { display: block; font-size: 15px; margin-top: 1px; }
.ses[aria-pressed="true"] { border-color: var(--accent); background: var(--tint); }
.ses.inp b::after { content: " ★"; color: var(--accent); }
.dact { position: fixed; left: 50%; transform: translateX(-50%); width: 100%; max-width: 480px; bottom: calc(70px + var(--safe-b)); z-index: 25; display: flex; gap: 10px; padding: 14px 16px 12px; background: linear-gradient(180deg, rgba(236,242,246,0), var(--bg) 35%); }
.dpad { height: 84px; }

.tabs2 { display: flex; gap: 22px; border-bottom: 1px solid var(--line); margin-top: 18px; }
.tabs2 button { padding: 10px 0; font-weight: 500; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabs2 button[aria-pressed="true"] { color: var(--fg); border-color: var(--accent); }
.wk { background: #fff; border-radius: var(--r); box-shadow: var(--sh2); overflow: hidden; }
.wk div { display: flex; justify-content: space-between; padding: 11px 14px; border-top: 1px solid var(--line); }
.wk div:first-child { border-top: 0; }
.wk div.td { background: var(--tint); font-weight: 500; }
.wk div span:last-child { font-variant-numeric: tabular-nums; text-transform: none; }

/* reserves */
.units { display: flex; gap: 8px; flex-wrap: wrap; }
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.slot { height: 44px; border-radius: 12px; background: #fff; border: 1.5px solid var(--line); font-weight: 500; font-variant-numeric: tabular-nums; }
.slot[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.slot[disabled] { background: var(--soft); color: #AEB5C6; text-decoration: line-through; border-color: transparent; }
.stepper { display: flex; align-items: center; gap: 10px; }
.stepper button { width: 34px; height: 34px; border-radius: 50%; background: var(--soft); font-size: 18px; font-weight: 500; }
.stepper b { min-width: 20px; text-align: center; }
.sum { background: var(--brand); color: #fff; border-radius: var(--r); padding: 16px; display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.sum .tx { flex: 1; }
.sum small { opacity: .75; display: block; font-size: 12.5px; }
.sum b { font-size: 22px; }
.svc { display: flex; gap: 14px; align-items: center; padding: 12px; background: #fff; border-radius: var(--r); box-shadow: var(--sh2); width: 100%; text-align: left; }
.svc .th { width: 76px; height: 76px; border-radius: 14px; background: #ddd center/cover; flex: none; }
.svc b { font-size: 16px; display: block; }
.svc small { color: var(--muted); display: block; font-size: 13px; margin-top: 2px; }
.stack { display: flex; flex-direction: column; gap: 10px; padding: 0 16px; }
.bk { background: #fff; border-radius: var(--r); box-shadow: var(--sh2); padding: 12px 14px; display: flex; gap: 12px; align-items: center; }
.bk .d { width: 52px; text-align: center; background: var(--tint); color: var(--accent); border-radius: 12px; padding: 6px 0; flex: none; }
.bk .d small { display: block; font-size: 11px; font-weight: 500; text-transform: uppercase; }
.bk .d b { font-size: 20px; line-height: 1.1; }
.bk .tx { flex: 1; min-width: 0; }
.bk .tx b { display: block; }
.bk .tx small { color: var(--muted); font-size: 13px; }

/* formularis */
.fld { display: block; margin-bottom: 12px; }
.fld > span { display: block; font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 6px; }
.fld input, .fld select, .fld textarea { width: 100%; height: 48px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; padding: 0 14px; font-size: 16px; outline: none; }
.fld textarea { height: auto; padding: 12px 14px; min-height: 90px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--accent); }
.chk { display: flex; gap: 10px; align-items: center; padding: 6px 0 12px; font-weight: 500; }
.chk input { width: 22px; height: 22px; accent-color: var(--accent); }
.sw { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-top: 1px solid var(--line); }
.sw:first-child { border-top: 0; }
.sw span { flex: 1; font-weight: 500; }
.sw input { appearance: none; -webkit-appearance: none; width: 48px; height: 28px; border-radius: 14px; background: #CBD3DE; position: relative; transition: background .2s; flex: none; }
.sw input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s; }
.sw input:checked { background: var(--green); }
.sw input:checked::after { transform: translateX(20px); }

/* perfil */
.ph { background: url(img/pattern.png) 0 0/220px repeat, var(--navy); color: #fff; padding: calc(22px + var(--safe-t)) 20px 60px; border-radius: 0 0 50% 50% / 0 0 30px 30px; }
.ph .av { width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; font-size: 24px; font-weight: 500; border: 2px solid rgba(255,255,255,.5); }
.ph h1 { font-size: 22px; margin-top: 10px; }
.ph p { opacity: .8; font-size: 14px; }
.pass { margin: -40px 16px 0; position: relative; padding: 16px; display: flex; gap: 14px; align-items: center; }
.pass .qr { width: 76px; height: 76px; border-radius: 12px; background: var(--soft); display: grid; place-items: center; color: var(--brand2); flex: none; }
.pass .qr svg { width: 40px; height: 40px; }

/* cupons */
.cp { display: flex; background: #fff; border-radius: var(--r); box-shadow: var(--sh2); overflow: hidden; }
.cp .l { width: 96px; display: grid; place-items: center; font-size: 36px; color: #fff; flex: none; position: relative; }
.cp .l::after { content: ""; position: absolute; right: -8px; top: 0; bottom: 0; width: 16px; background: radial-gradient(circle at 8px 10px, #fff 6px, transparent 6.5px) 0 0/16px 20px repeat-y; }
.cp .r { padding: 12px 14px 12px 18px; flex: 1; }
.cp .r b { display: block; font-size: 16px; }
.cp .r small { color: var(--muted); font-size: 12.5px; display: block; margin-top: 2px; }

/* mapa */
.mapbox { height: 52vh; min-height: 300px; position: relative; background: #DCE6EE; }
.mapbox iframe { width: 100%; height: 100%; border: 0; display: block; }
.mapbox .over { position: absolute; left: 0; right: 0; top: 0; padding: calc(12px + var(--safe-t)) 0 0; }

/* full inferior (bottom sheet) */
.sheet-bg { position: fixed; inset: 0; background: rgba(58,48,96,.45); z-index: 50; display: flex; align-items: flex-end; justify-content: center; animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.sheet { width: 100%; max-width: 480px; max-height: 88vh; overflow-y: auto; background: var(--bg); border-radius: 26px 26px 0 0; padding: 10px 16px calc(20px + var(--safe-b)); animation: up .25s ease-out; }
@keyframes up { from { transform: translateY(40px); opacity: .5; } }
.sheet .grab { width: 40px; height: 5px; border-radius: 3px; background: #C6CEDA; margin: 0 auto 14px; }
.sheet h2 { font-size: 21px; font-weight: 500; margin-bottom: 4px; }
.sheet .sub { color: var(--muted); margin-bottom: 16px; }
.done { text-align: center; padding: 10px 0 6px; }
.done .big { width: 72px; height: 72px; border-radius: 50%; background: var(--tint-green); color: var(--ok); display: grid; place-items: center; margin: 0 auto 12px; }
.done .big svg { width: 36px; height: 36px; stroke-width: 2.5; }
.langs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.langs button { height: 52px; border-radius: 14px; background: #fff; border: 1.5px solid var(--line); font-weight: 500; display: flex; align-items: center; gap: 10px; padding: 0 14px; }
.langs button[aria-pressed="true"] { border-color: var(--accent); background: var(--tint); }
.langs button span { font-size: 20px; }

.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0 16px; }
.pm { background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh2); text-align: left; }
.pm .ph2 { aspect-ratio: 1; background: #ddd center/cover; display: grid; place-items: center; font-size: 40px; font-weight: 500; color: #fff; }
.pm .bd { padding: 10px 12px 12px; }
.pm b { display: block; }
.pm small { color: var(--muted); font-size: 12.5px; }

.toast { position: fixed; left: 50%; bottom: calc(96px + var(--safe-b)); transform: translateX(-50%); background: var(--fg); color: #fff; padding: 11px 18px; border-radius: 22px; font-weight: 500; font-size: 14px; z-index: 60; box-shadow: var(--sh); max-width: 90%; animation: up .2s; }
.demo-pill { position: fixed; bottom: calc(84px + var(--safe-b)); left: 10px; z-index: 40; background: rgba(255,214,102,.95); color: #5A4300; font-size: 11px; font-weight: 500; padding: 3px 10px; border-radius: 10px; letter-spacing: .04em; text-transform: uppercase; pointer-events: none; }
.note { margin: 12px 16px 0; padding: 12px 14px; border-radius: 14px; background: var(--tint-blue); color: var(--navy); font-size: 13.5px; display: flex; gap: 8px; }
.load { display: grid; place-items: center; min-height: 100vh; }
.load .spin { width: 40px; height: 40px; border-radius: 50%; border: 4px solid #D6DEE7; border-top-color: var(--accent); animation: rot .8s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }
@media (min-width: 481px) { body { padding: 0; } }

/* pictogrames de marca */
.pic { display: inline-block; width: 1em; height: 1em; background: center/contain no-repeat; }
.empty .pic { width: 64px; height: 64px; filter: none; }
.empty .picw { width: 84px; height: 84px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; margin: 0 auto 14px; }
.brandmark { display: flex; justify-content: center; padding: 26px 0 6px; }
.brandmark img { width: 180px; height: auto; opacity: .9; }

/* wallet */
.wlink { background: #fff; border-radius: var(--r); box-shadow: var(--sh2); padding: 24px 18px; text-align: center; }
.wlink .picw { width: 84px; height: 84px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; margin: 0 auto 14px; }
.wlink h2 { font-size: 22px; font-weight: 500; }
.wlink p { color: var(--muted); margin-top: 6px; }
.wcard { position: relative; border-radius: 22px; padding: 16px 16px 14px; color: #fff; background: url(img/pattern.png) 0 0/180px repeat, var(--c); box-shadow: 0 10px 24px rgba(58,48,96,.18); overflow: hidden; }
.wtop { display: flex; align-items: center; gap: 8px; }
.wtop b { font-size: 17px; font-weight: 500; }
.wtop .sp { flex: 1; }
.wtop small { opacity: .85; font-size: 12.5px; display: inline-flex; gap: 4px; align-items: center; }
.wcard .wl { display: block; margin-top: 18px; opacity: .85; font-size: 13px; }
.wbal { font-size: 36px; font-weight: 500; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.wblk { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; background: rgba(0,0,0,.18); padding: 4px 10px; border-radius: 10px; font-size: 13px; }
.wact { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.wact .btn { background: #fff; color: var(--navy); }
.wbox { display: flex; flex-direction: column; }
.wbox .wcard { z-index: 1; }
.wps { margin: -18px 6px 0 !important; padding-top: 18px; border-radius: 0 0 20px 20px; }
.wps .li .ic.min { background: var(--green); color: #fff; }
.wtag { font-style: normal; font-size: 11.5px; font-weight: 500; padding: 1px 7px; border-radius: 8px; background: var(--tint); color: var(--muted); margin-left: 4px; vertical-align: 1px; }
.wtag.bad { background: rgba(230,49,84,.12); color: var(--red); }
.wmg { display: flex; gap: 5px; align-items: center; margin-top: 6px; opacity: .9; font-size: 12.5px; }
.wmg .i { width: 14px; height: 14px; }
.wblock { width: 100%; text-align: left; border-radius: 16px; background: var(--tint); }
.wblock.on { background: rgba(230,49,84,.1); }
.wh2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.wh2 label { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.wh2 input[type=time] { display: block; width: 100%; min-width: 0; max-width: 100%; box-sizing: border-box; -webkit-appearance: none; appearance: none; text-align: left; line-height: 46px; }
.wh2 input[type=time]::-webkit-date-and-time-value { text-align: left; }
.wpl { flex-wrap: wrap; overflow: visible !important; }
.wh2 small { color: var(--muted); font-size: 12.5px; }
.wact .btn.ghost { background: rgba(255,255,255,.18); color: #fff; }
.amt { font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.amt.pos { color: var(--ok); }
.amts { display: flex; gap: 8px; flex-wrap: wrap; }
.paylogos { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.paylogos span { font-size: 11.5px; font-weight: 500; padding: 4px 8px; border-radius: 6px; background: #fff; border: 1px solid var(--line); color: var(--navy); }
.paym .radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); flex: none; }
.paym[aria-pressed="true"] .radio { border: 7px solid var(--red); }
.paym[aria-pressed="true"] { background: var(--tint); }

/* fotos + pictogrames de marca */
.ev-im, .feat .im, .rest .im, .svc .th { position: relative; }
.pbadge { position: absolute; left: 10px; bottom: -14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 3px solid #fff; box-shadow: 0 3px 8px rgba(58,48,96,.25); z-index: 2; }
.pbadge i { width: 60%; height: 60%; background: center/contain no-repeat; }
.pbadge.sm { width: 26px; height: 26px; border-width: 2px; left: auto; right: -6px; bottom: -6px; }
.pbadge.big { width: 58px; height: 58px; left: auto; right: 18px; bottom: 6px; border-width: 4px; }
.ev-im .chip, .feat .im .chip { left: auto; right: 10px; }
.ev-bd, .feat .bd, .rest .bd { padding-top: 20px; }
.feat .im .time { right: 10px; bottom: 10px; }
.rest .im, .feat .im, .ev-im { overflow: visible; }
.rest, .feat, .ev { overflow: visible; }
.rest .im { border-radius: var(--r) var(--r) 0 0; }
.feat .im { border-radius: var(--r) var(--r) 0 0; }
.ev-im { border-radius: var(--r) var(--r) 0 0; }
.xp { justify-content: space-between; }
.xp .em { filter: drop-shadow(0 2px 6px rgba(0,0,0,.2)); }
.wlink { position: relative; overflow: hidden; padding-top: 0; }
.wlph { height: 150px; margin: 0 -18px 0; }
.wlink .picw { margin-top: -42px; position: relative; border: 4px solid #fff; }

/* portada: carrusel de destacats */
.hero.hcar { height: min(640px, 76vh); min-height: 480px; background: var(--navy); }
.hero.hcar::after { display: none; }
.hslides { position: absolute; inset: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; z-index: 0; }
.hslides::-webkit-scrollbar { display: none; }
.hsl { flex: none; width: 100%; height: 100%; position: relative; scroll-snap-align: start; scroll-snap-stop: always; cursor: default; }
.hsl[data-go], .hsl[data-a] { cursor: pointer; }
.hsl::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(58,48,96,.55) 0%, rgba(58,48,96,0) 30%, rgba(58,48,96,.15) 55%, rgba(58,48,96,.85) 100%); }
.hs-txt { position: absolute; left: 20px; right: 20px; bottom: 74px; z-index: 1; }
.hs-txt h1 { font-size: 32px; line-height: 1.08; font-weight: 500; letter-spacing: -.015em; }
.hs-txt h2 { font-size: 26px; line-height: 1.12; font-weight: 500; letter-spacing: -.01em; margin-top: 10px; }
.hs-txt p { margin-top: 6px; font-size: 15px; opacity: .94; display: flex; align-items: center; gap: 6px; }
.htag { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px 0 6px; border-radius: 14px; font-size: 12.5px; font-weight: 500; color: #fff; }
.htag i { width: 18px; height: 18px; background: center/contain no-repeat; }
.hcta { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; height: 34px; padding: 0 14px; border-radius: 17px; background: #fff; color: var(--navy); font-weight: 500; font-size: 14px; }
.hero.hcar .hero-top { position: absolute; left: 0; right: 0; top: 0; z-index: 2; pointer-events: none; }
.hero.hcar .hero-top > * { pointer-events: auto; }
.hdots { position: absolute; left: 0; right: 0; bottom: 50px; display: flex; justify-content: center; gap: 6px; z-index: 2; pointer-events: none; }
.hdots i { width: 7px; height: 7px; border-radius: 4px; background: rgba(255,255,255,.5); transition: width .25s, background .25s; }
.hdots i.on { width: 20px; background: #fff; }
.hero.hcar + .wrap.lift { margin-top: -34px; }

.hero.hcar .hero-top { align-items: flex-start; }
.hgreet { display: flex; flex-direction: column; gap: 8px; }
.hgreet b { font-size: 28px; font-weight: 500; letter-spacing: -.01em; text-shadow: 0 1px 8px rgba(0,0,0,.25); }
.hero.hcar .hs-txt { bottom: 84px; }
.hero.hcar .hs-txt h2 { font-size: 30px; }
.hero.hcar .hdots { bottom: 58px; }
.hero.hcar + .wrap.lift { margin-top: -40px; }
/* carrusels horitzontals: marge a l'esquerra i a la dreta (el «snap» no ha d'enganxar la targeta a la vora) */
.hs { scroll-padding-inline: 16px; padding-left: 16px; padding-right: 16px; }
.hs::after { content: ""; flex: 0 0 4px; }
.chips, .days { scroll-padding-inline: 16px; }

/* Activitats: vista en llista compacta */
.vtog { flex: none; display: inline-flex; background: #fff; border: 1.5px solid var(--line); border-radius: 18px; padding: 2px; height: 36px; }
.vtog button { width: 36px; border-radius: 15px; display: grid; place-items: center; color: var(--muted); }
.vtog button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.evl { margin: 0 16px 16px; }
.evr { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-top: 1px solid var(--line); cursor: pointer; }
.evr:first-child { border-top: 0; }
.evr.past { opacity: .5; }
.evr.ara { background: var(--tint); }
.evr-t { width: 44px; flex: none; display: flex; flex-direction: column; align-items: flex-start; font-variant-numeric: tabular-nums; }
.evr-t b { font-size: 15px; font-weight: 500; }
.evr-t small { font-size: 12px; color: var(--muted); }
.evr-th { width: 48px; height: 48px; border-radius: 12px; flex: none; position: relative; }
.evr-th i { position: absolute; right: -5px; bottom: -5px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; background: center/62% no-repeat; }
.evr-b { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.evr-b b { font-size: 15px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.evr-b small { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 4px; }
.evr-b .dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.evr-b .cap { font-size: 12px; }
.evr-now { font-size: 11px; background: var(--red); color: #fff; border-radius: 8px; padding: 1px 7px; vertical-align: 2px; }
.evr-pl { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; border: 1.5px solid var(--line); color: var(--navy); background: #fff; }
.evr-pl.on { background: var(--tint-green); border-color: transparent; color: var(--ok); }
.evr-pl[disabled] { opacity: .6; }

/* desplegable de sessions */
.sesdd { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #fff; border: 1.5px solid var(--line); border-radius: 16px; text-align: left; box-shadow: var(--sh2); }
.sesdd > svg { color: var(--red); width: 22px; height: 22px; }
.sesdd span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sesdd small { font-size: 12px; color: var(--muted); }
.sesdd b { font-size: 16px; font-weight: 500; }
.sesdd em { color: var(--ok); }
.sesdd i { color: var(--muted); transform: rotate(90deg); display: grid; }
.sesg { margin-bottom: 14px; }
.sesg > b { display: block; font-weight: 500; margin: 0 2px 6px; color: var(--muted); font-size: 13.5px; }
.sesopt .radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); flex: none; }
.sesopt[aria-pressed="true"] { background: var(--tint); }
.sesopt[aria-pressed="true"] .radio { border: 7px solid var(--red); }

.wsent { margin-top: 18px; padding: 16px; border-radius: 14px; background: var(--tint-blue); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.wsent > svg { width: 30px; height: 30px; color: var(--blue); }
.wsent b { font-size: 17px; font-weight: 500; }
.wsent p { color: var(--muted); font-size: 14px; margin-bottom: 6px; }
.hero.hcar .hgreet { margin-top: 26px; }
.hero.hcar .hero-top .round { margin-top: 18px; }

/* Sessions cancel·lades i avisos */
.ev.cx, .evr.cx { opacity: .72; }
.ev.cx h3, .evr.cx .evr-b > b { text-decoration: line-through; text-decoration-color: rgba(58,48,96,.45); }
.ev.cx .ev-im { filter: grayscale(.7); }
.evr.cx .evr-th { filter: grayscale(.7); }
.cxm { display: block; margin-top: 3px; font-size: 12.5px; color: var(--muted, #6E6890); }
.cxs { display: inline; color: var(--bad, #C8243F); font-weight: 500; }
.sesdd .cxs { display: block; font-size: 12px; }
.sesopt.cx b { text-decoration: line-through; opacity: .6; }
.cxbox { display: flex; gap: 12px; align-items: flex-start; margin: 12px 0 4px; padding: 14px 16px; border-radius: 16px; background: #FDE8EC; color: #8E1630; }
.cxbox .i { flex: none; width: 22px; height: 22px; margin-top: 1px; }
.cxbox b { display: block; font-size: 15.5px; }
.cxbox p { margin: 3px 0 0; font-size: 14px; line-height: 1.4; color: #6E2236; }
.avl { padding-top: 4px; }
.av { display: flex; gap: 12px; padding: 14px; border-radius: 18px; background: #fff; box-shadow: var(--sh1, 0 1px 3px rgba(58,48,96,.08)); position: relative; cursor: default; }
.av[data-go] { cursor: pointer; }
.av-ic { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: #E9EEF7; color: var(--blue, #5C87C4); }
.av.cx .av-ic { background: #FDE8EC; color: var(--red, #E63154); }
.av .tx { min-width: 0; }
.av .tx b { display: block; font-size: 15.5px; }
.av .tx p { margin: 3px 0 4px; font-size: 14px; line-height: 1.4; color: var(--fg); opacity: .85; }
.av .tx small { font-size: 12px; color: var(--muted, #6E6890); }
.av.imp { background: #FFF1F1; box-shadow: inset 0 0 0 1.5px rgba(205,23,25,.28); }
.av.imp .av-ic { background: #CD1719; color: #fff; }
.av-tag { display: inline-block; font-size: 11.5px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: #B01416; margin-bottom: 2px; }
.avb { display: flex; gap: 12px; align-items: flex-start; width: 100%; text-align: left; padding: 14px; margin-bottom: 12px; border-radius: 20px; background: #CD1719; color: #fff; box-shadow: 0 10px 24px rgba(205,23,25,.28); }
.avb-ic { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.2); }
.avb-ic .i { width: 24px; height: 24px; }
.avb-t { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.avb-t b { font-size: 17px; font-weight: 600; line-height: 1.25; }
.avb-t small { font-size: 14px; line-height: 1.4; opacity: .95; }
.avb-t em { font-style: normal; font-size: 12.5px; font-weight: 500; align-self: flex-start; background: rgba(0,0,0,.18); padding: 2px 9px; border-radius: 8px; margin-top: 3px; }
.av.nou::after { content: ""; position: absolute; top: 14px; right: 14px; width: 9px; height: 9px; border-radius: 50%; background: var(--red, #E63154); }

/* Quiz Stel */
.qzb { display: flex; align-items: center; gap: 12px; width: 100%; margin-bottom: 12px; padding: 12px 14px; border-radius: var(--r); background: var(--navy, #3A3060); color: #fff; text-align: left; box-shadow: var(--sh); }
.qzb-s { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; flex: none; }
.qzb-s i { width: 19px; height: 19px; border-radius: 5px; display: grid; place-items: center; }
.qzb-s .qz-s { width: 12px; height: 12px; color: #fff; }
.qzb-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.qzb-t b { font-size: 16px; } .qzb-t small { font-size: 13px; opacity: .8; }
.qzb > .i { opacity: .7; }
.qz-s { width: 1em; height: 1em; flex: none; }
.qz { min-height: calc(100dvh - 80px); background: radial-gradient(130% 80% at 20% 0%, #4A3F7E 0%, #3A3060 50%, #241D45 100%); color: #fff; display: flex; flex-direction: column; padding-bottom: 24px; }
.qzh { display: flex; align-items: center; gap: 10px; padding: calc(env(safe-area-inset-top, 0px) + 14px) 16px 10px; }
.qzh-t { font-size: 20px; } .qzh-t i { font-style: normal; color: #FF8FA6; }
.qzh-me { margin-left: auto; background: rgba(255,255,255,.14); border-radius: 99px; padding: 6px 12px; font-size: 14px; font-weight: 500; max-width: 55%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qz-in { flex: 1; display: flex; flex-direction: column; padding: 8px 20px; }
.qz-c { align-items: center; justify-content: center; text-align: center; gap: 10px; }
.qz h1 { margin: 0; font-size: 26px; line-height: 1.2; }
.qz p { margin: 0; opacity: .85; font-size: 16px; line-height: 1.4; }
.qz-join h1 { margin-top: 18px; text-align: center; } .qz-join .qz-in > p { text-align: center; margin-top: 6px; }
.qz-logo { align-self: center; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; transform: rotate(-6deg); }
.qz-logo span { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 28px; box-shadow: 0 4px 0 rgba(0,0,0,.2); }
.qz-form { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; background: #fff; color: var(--fg); border-radius: 22px; padding: 18px; }
.qz-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; color: var(--muted); }
.qz-form input { font: inherit; font-size: 20px; padding: 13px 14px; border: 2px solid var(--line); border-radius: 14px; background: #fff; color: var(--fg); }
.qz-form input:focus { outline: none; border-color: var(--blue); }
#qzPin { font-size: 30px; text-align: center; letter-spacing: .18em; font-variant-numeric: tabular-nums; }
.qz-err { color: var(--bad) !important; font-size: 14px !important; min-height: 1em; margin: -4px 0 !important; opacity: 1 !important; }
.btn.big { min-height: 54px; font-size: 18px; }
.qz-demo { margin-top: 14px !important; text-align: center; font-size: 13px !important; opacity: .7 !important; }
.qz-spin { width: 44px; height: 44px; border-radius: 50%; border: 4px solid rgba(255,255,255,.2); border-top-color: #fff; animation: qzSpin .8s linear infinite; }
@keyframes qzSpin { to { transform: rotate(360deg); } }
.qz-big { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.16); font-size: 46px; margin-bottom: 8px; animation: qzPop .4s ease-out; }
.qz-big.ok { background: var(--green, #5E9E6E); }
@keyframes qzPop { from { transform: scale(.5); opacity: 0; } }
.qz-dots { display: flex; gap: 8px; margin-top: 16px; }
.qz-dots i { width: 10px; height: 10px; border-radius: 50%; background: #fff; animation: qzDot 1.2s ease-in-out infinite; }
.qz-dots i:nth-child(2) { animation-delay: .2s; } .qz-dots i:nth-child(3) { animation-delay: .4s; }
@keyframes qzDot { 50% { opacity: .25; transform: scale(.7); } }
.qz-q { flex: 1; display: flex; flex-direction: column; padding: 4px 16px 0; gap: 12px; }
.qz-qn { display: flex; align-items: center; justify-content: space-between; font-size: 14px; opacity: .9; }
.qz-left { font-size: 22px; font-variant-numeric: tabular-nums; min-width: 2ch; text-align: right; }
.qz-bar { height: 8px; border-radius: 99px; background: rgba(255,255,255,.18); overflow: hidden; }
.qz-bar i { display: block; height: 100%; background: #fff; border-radius: inherit; transform-origin: left; animation: qzBar linear forwards; }
@keyframes qzBar { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.qz-q h2 { margin: 2px 0 4px; font-size: 22px; line-height: 1.25; background: #fff; color: #2A2350; border-radius: 18px; padding: 16px; text-align: center; }
.qz-ops { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; min-height: 300px; }
.qz-ops.n2 { grid-template-columns: 1fr; }
.qz-op { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; border-radius: 20px; background: var(--c); color: #fff; font-size: 18px; font-weight: 500; padding: 14px 10px; box-shadow: 0 6px 0 rgba(0,0,0,.25); text-align: center; line-height: 1.25; }
.qz-op .qz-s { font-size: 40px; }
.qz-op:active { transform: translateY(4px); box-shadow: 0 2px 0 rgba(0,0,0,.25); }
.qz-wait { flex: 1; display: flex; flex-direction: column; }
.qz-chosen { width: 84px; height: 84px; border-radius: 22px; display: grid; place-items: center; font-size: 44px; margin-bottom: 8px; box-shadow: 0 6px 0 rgba(0,0,0,.25); animation: qzPop .35s ease-out; }
.qz-res { flex: 1; margin: 6px 16px 0; border-radius: 26px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; padding: 30px 20px; }
.qz-res.ok { background: var(--green, #5E9E6E); } .qz-res.ko { background: #E63154; } .qz-res.na { background: rgba(255,255,255,.12); }
.qz-res h1 { font-size: 34px; }
.qz-pts { font-size: 40px; font-weight: 500; background: rgba(0,0,0,.18); border-radius: 16px; padding: 4px 18px; font-variant-numeric: tabular-nums; }
.qz-streak { font-weight: 500; }
.qz-pos { font-size: 17px !important; font-weight: 500; margin-top: 8px !important; }
.qz-rank { width: 110px; height: 110px; border-radius: 50%; background: #fff; color: #3A3060; display: grid; place-items: center; font-size: 52px; font-weight: 500; margin-bottom: 8px; animation: qzPop .4s ease-out; }
.qz-top { list-style: none; margin: 18px 0 0; padding: 0; width: 100%; display: flex; flex-direction: column; gap: 8px; }
.qz-top li { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.12); border-radius: 14px; padding: 10px 14px; font-size: 16px; text-align: left; }
.qz-top li.me { background: #fff; color: #3A3060; }
.qz-top li b { width: 1.4em; color: #FF8FA6; } .qz-top li.me b { color: #E63154; }
.qz-top li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qz-top li em { font-style: normal; font-variant-numeric: tabular-nums; }
.qz-fin .btn { margin-top: 18px; }
.qz-medal { width: 110px; height: 110px; border-radius: 50%; display: grid; place-items: center; font-size: 54px; font-weight: 500; box-shadow: inset 0 -6px 0 rgba(0,0,0,.15); animation: qzPop .5s ease-out; }
.qz-medal.m1 { background: #FFD666; color: #6A4D00; } .qz-medal.m2 { background: #DDE3EE; color: #3A3060; } .qz-medal.m3 { background: #F0B58A; color: #6A3610; }
.qzb-live { flex: none; display: inline-flex; align-items: center; gap: 6px; background: #E63154; color: #fff; font-size: 12px; font-weight: 500; padding: 4px 9px; border-radius: 99px; }
.qzb-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: qzDot 1.2s ease-in-out infinite; }
/* Destacats dels apartats (menús, massatges, descomptes) */
.prm-hs { padding-top: 2px; padding-bottom: 14px; }
.prm { width: 280px; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh2); display: flex; flex-direction: column; text-align: left; }
.prm.solo { width: calc(100vw - 32px); max-width: 520px; }
.prm[data-go], .prm[data-a] { cursor: pointer; }
.prm-im { position: relative; height: 140px; background-size: cover !important; background-position: center !important; }
.prm-im .htag { position: absolute; left: 10px; top: 10px; }
.prm-et { position: absolute; right: 10px; bottom: 10px; background: #fff; color: var(--red, #E63154); font-size: 20px; font-weight: 500; line-height: 1; padding: 8px 12px; border-radius: 12px; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.hs-et { position: static; display: inline-block; margin: 8px 0 2px; font-size: 18px; }
.prm-bd { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.prm-bd b { font-size: 16px; }
.prm-bd p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prm-go { margin-top: auto; padding-top: 6px; color: var(--accent); font-size: 13.5px; font-weight: 500; display: inline-flex; align-items: center; gap: 4px; }
.prm-h { margin-top: 4px; }
.prm-d { margin-top: 14px; margin-bottom: 6px; }
/* Plànol interactiu */
.mp { position: relative; height: calc(100dvh - 82px); display: flex; flex-direction: column; background: #EEF1F4; overflow: hidden; }
.mp-top { position: absolute; z-index: 5; left: 0; right: 0; top: 0; display: flex; gap: 10px; align-items: center; padding: calc(env(safe-area-inset-top, 0px) + 12px) 12px 8px; pointer-events: none; }
.mp-top > * { pointer-events: auto; }
.mp-search { flex: 1; display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 99px; padding: 0 14px; height: 44px; box-shadow: var(--sh2); color: var(--muted); }
.mp-search input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 16px; background: transparent; color: var(--fg); }
.mp-res { position: absolute; z-index: 6; left: 12px; right: 12px; top: calc(env(safe-area-inset-top, 0px) + 64px); background: #fff; border-radius: 18px; box-shadow: var(--sh); max-height: 50vh; overflow: auto; padding: 6px; }
.mp-ri { display: grid; grid-template-columns: 14px 1fr; column-gap: 10px; align-items: center; width: 100%; text-align: left; padding: 10px; border-radius: 12px; }
.mp-ri:hover { background: var(--tint); }
.mp-ri i { width: 14px; height: 14px; border-radius: 4px; grid-row: span 2; }
.mp-ri small { color: var(--muted); font-size: 13px; }
.mp-view { position: relative; flex: 1; overflow: hidden; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.mp-in { position: absolute; left: 0; top: 0; width: 2590px; height: 3282px; transform-origin: 0 0; }
.mp-in > img { width: 100%; height: 100%; display: block; pointer-events: none; }
.mp-tiles { position: absolute; inset: 0; pointer-events: none; }
.mp-tiles img { position: absolute; display: block; opacity: 0; transition: opacity .15s; pointer-events: none; }
.mp-tiles img.on { opacity: 1; }
.mp-marks { position: absolute; inset: 0; pointer-events: none; }
.mp-ov { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.mp-m { position: absolute; width: 40px; height: 40px; margin: -20px 0 0 -20px; display: grid; place-items: center; border-radius: 50%; }
.mp-m.sel { --d: max(40px, calc(38px * var(--s, 1) + 16px)); width: var(--d); height: var(--d); margin: calc(var(--d) / -2) 0 0 calc(var(--d) / -2); border: 4px solid #E63154; box-shadow: 0 0 0 4px rgba(255,255,255,.9), 0 0 0 12px rgba(230,49,84,.25); animation: mpPulse 1.4s ease-in-out infinite; }
.mp-m.ring { --d: max(22px, calc(38px * var(--s, 1) + 10px)); border: 3px solid #E63154; box-shadow: 0 0 0 3px rgba(255,255,255,.85); width: var(--d); height: var(--d); margin: calc(var(--d) / -2) 0 0 calc(var(--d) / -2); }
.mp-m.ring b { display: none; }
.mp-m.mine { width: 34px; height: 34px; margin: -40px 0 0 -17px; background: #E63154; color: #fff; border: 3px solid #fff; box-shadow: var(--sh2); border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); transform-origin: 50% 100%; }
.mp-m.mine .i { transform: rotate(45deg); width: 16px; height: 16px; }
@keyframes mpPulse { 50% { box-shadow: 0 0 0 4px rgba(255,255,255,.9), 0 0 0 18px rgba(230,49,84,.12); } }
.mp-ctl { position: absolute; right: 12px; bottom: 14px; display: flex; flex-direction: column; gap: 8px; z-index: 3; }
.mp-ctl button { width: 44px; height: 44px; border-radius: 14px; background: #fff; box-shadow: var(--sh2); display: grid; place-items: center; color: var(--fg); }
.mp-ctl button.mine { color: #E63154; }
.mp-load { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); }
.mp-sheet { position: relative; z-index: 4; background: #fff; border-radius: 22px 22px 0 0; box-shadow: 0 -6px 24px rgba(58,48,96,.12); padding: 10px 0 12px; max-height: 42dvh; display: flex; flex-direction: column; }
.mp-cats { padding-top: 2px; }
.mp-cat i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
#mpCard { overflow: auto; padding: 0 16px; }
.mp-hint { margin: 6px 0 4px; color: var(--muted); font-size: 14px; line-height: 1.4; }
.mp-row { display: flex; gap: 8px; margin-top: 8px; }
.mp-list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px 0; }
.mp-li { display: flex; align-items: center; gap: 8px; text-align: left; padding: 8px; border-radius: 12px; background: var(--tint); font-size: 14px; }
.mp-li small { margin-left: auto; color: var(--muted); }
.mp-num { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #1F7A9B; color: #fff; font-size: 13px; font-weight: 500; }
.mp-num.big { width: 46px; height: 46px; font-size: 18px; }
.mp-num.sq { border-radius: 12px; }
.mp-num.xl { background-image: repeating-linear-gradient(135deg, rgba(0,0,0,.08) 0 4px, transparent 4px 9px) !important; }
.mp-card { display: flex; align-items: center; gap: 12px; padding: 6px 0; }
.mp-card .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mp-card .tx b { font-size: 17px; }
.mp-card .tx small { color: var(--muted); font-size: 13.5px; display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.mp-card .st { display: inline-block; }
.mp-x { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--muted); }
/* Informació d'interès */
.inl { padding-bottom: 20px; }
.prm.inc.wide { width: auto; }
.prm.inc.wide .prm-im { height: 170px; }
.prm-bd p.full { -webkit-line-clamp: unset; display: block; }
/* Valoracions */
.val-ap.done { opacity: .7; }
.val-form { padding: 0 16px 28px; display: flex; flex-direction: column; gap: 14px; }
.val-q { background: #fff; border-radius: var(--r); box-shadow: var(--sh2); padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.val-q > b { font-size: 16px; } .val-q > b small { color: var(--muted); font-weight: 400; }
.val-stars { display: flex; gap: 6px; }
.val-stars button { width: 46px; height: 46px; display: grid; place-items: center; color: #D7D3E3; }
.val-stars button .i { width: 34px; height: 34px; fill: currentColor; }
.val-stars button[aria-pressed="true"] { color: #F2A93B; }
.val-faces { display: flex; justify-content: space-between; gap: 6px; }
.val-faces button { flex: 1; height: 52px; font-size: 30px; border-radius: 14px; background: var(--tint); filter: grayscale(1); opacity: .6; transition: transform .15s; }
.val-faces button[aria-pressed="true"] { filter: none; opacity: 1; background: #FFF4D6; transform: scale(1.08); }
.val-nps { display: grid; grid-template-columns: repeat(11, 1fr); gap: 3px; }
.val-nps button { height: 40px; border-radius: 8px; background: var(--tint); font-weight: 500; font-size: 14px; }
.val-nps button[aria-pressed="true"].lo { background: #E63154; color: #fff; } .val-nps button[aria-pressed="true"].mid { background: #E89A2C; color: #fff; } .val-nps button[aria-pressed="true"].hi { background: #5E9E6E; color: #fff; }
.val-npsl { display: flex; justify-content: space-between; color: var(--muted); }
.val-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.val-txt { font: inherit; font-size: 16px; border: 1px solid var(--line); border-radius: 14px; padding: 12px; resize: vertical; }
.val-err { color: var(--bad); margin: 0; }
.val-done { padding: 24px 20px; text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.val-done .big { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto; background: #FDE8EC; color: var(--red); }
.val-done .big .i { width: 40px; height: 40px; }
.val-done h2 { margin: 6px 0 0; } .val-done p { margin: 0; color: var(--muted); }
.val-g { background: #fff; border-radius: var(--r); box-shadow: var(--sh2); padding: 16px; display: flex; flex-direction: column; gap: 10px; margin: 8px 0; }
.valb { background: var(--red, #E63154); } .valb .qzb-s { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.2); }
/* Cupons */
.cpn { display: flex; background: #fff; border-radius: var(--r); box-shadow: var(--sh2); overflow: hidden; min-height: 108px; }
.cpn.off { opacity: .6; }
.cpn-l { flex: none; width: 104px; position: relative; display: grid; place-items: center; background-size: cover !important; background-position: center !important; }
.cpn-l::after { content: ""; position: absolute; right: -7px; top: 0; bottom: 0; width: 14px; background: radial-gradient(circle at 7px 7px, #fff 5px, transparent 5.5px) 0 0 / 14px 16px repeat-y; }
.cpn-l b { background: #fff; color: var(--red); font-size: 18px; font-weight: 500; padding: 6px 10px; border-radius: 10px; box-shadow: 0 3px 10px rgba(0,0,0,.18); max-width: 88px; text-align: center; line-height: 1.1; }
.cpn-r { flex: 1; min-width: 0; padding: 12px 14px 12px 18px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.cpn-r b { font-size: 16px; } .cpn-r small { color: var(--muted); font-size: 13px; }
.cpn-r .btn { margin-top: auto; }
.cpn-st { margin-top: auto; font-size: 13.5px; font-weight: 500; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.cpn-st.ok { color: var(--accent); }
.cpn-hint { padding: 14px 16px 0; font-size: 14px; display: flex; gap: 6px; align-items: flex-start; flex-wrap: wrap; }
.prm-list .prm-hs { padding: 0; }
.cpd { padding: 4px 16px 28px; }
.cpd-card { background: #fff; border-radius: 24px; box-shadow: var(--sh); overflow: hidden; }
.cpd-h { height: 120px; display: grid; place-items: center; background-size: cover !important; background-position: center !important; }
.cpd-h b { background: #fff; color: var(--red); font-size: 30px; font-weight: 500; padding: 8px 18px; border-radius: 14px; box-shadow: 0 4px 16px rgba(0,0,0,.2); }
.cpd-qr { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px 16px 16px; border-bottom: 2px dashed var(--line); }
.cpd-qr #cpQr { width: 220px; height: 220px; display: grid; place-items: center; }
.cpd-qr #cpQr img, .cpd-qr #cpQr canvas { display: block; }
.cpd-qr code { font-size: 24px; font-weight: 600; letter-spacing: .14em; color: var(--fg); }
.cpd-qr small { color: var(--muted); text-align: center; }
.cpd-qr.off #cpQr { opacity: .25; filter: grayscale(1); }
.cpd-st { color: var(--bad); font-weight: 500; }
.cpd-bd { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.cpd-bd h2 { margin: 0; font-size: 21px; } .cpd-bd p { margin: 0; color: var(--fg); line-height: 1.45; }
.cpd-kv { display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: 14px; }
.cpd-kv span { display: flex; gap: 8px; align-items: center; }
.cpd-cond { font-size: 13px; color: var(--muted) !important; }
/* Wallet · ajuda */
.top .round.light + .round.light { margin-left: 8px; }
.top .hw-q { margin-left: auto; font-size: 19px; font-weight: 600; color: var(--navy); }
.hwv { display: flex; flex-direction: column; min-height: 0; }
.hwv .hw { flex: 1; min-height: 0; }
.hw-s { min-height: 0; }
.hwv .hw-art { flex: 1; height: auto; min-height: 250px; }
.hw-in { display: flex; flex-direction: column; align-items: center; gap: 16px; scale: var(--k, 1); }
.hw { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.hw::-webkit-scrollbar { display: none; }
.hw-s { flex: 0 0 100%; scroll-snap-align: center; padding: 4px 16px 0; display: flex; flex-direction: column; gap: 22px; }
.hw-tx { flex: none; }
.hw-art { height: 250px; border-radius: 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; position: relative; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--c) 22%, #fff), color-mix(in srgb, var(--c) 8%, #fff)); }
.hw-tx { padding: 0 6px; }
.hw-tx small { color: var(--muted); font-size: 13px; font-weight: 500; }
.hw-tx h2 { font-size: 26px; line-height: 1.2; margin: 6px 0 10px; letter-spacing: -.01em; }
.hw-tx p { font-size: 17.5px; line-height: 1.5; color: var(--fg); opacity: .85; margin: 0; }
.hw-nav { display: flex; align-items: center; gap: 14px; padding: 20px 16px 18px; flex: none; }
.hw-dots { flex: 1; display: flex; justify-content: center; gap: 6px; }
.hw-dots i { width: 7px; height: 7px; border-radius: 4px; background: var(--line); transition: width .25s, background .25s; }
.hw-dots i.on { width: 22px; background: var(--red); }
#hwNext { min-width: 52px; height: 48px; padding: 0 16px; border-radius: 16px; }
#hwNext.wide { min-width: 120px; }
/* il·lustracions */
.hw-wc { background: url(img/pattern.png) 0 0/140px repeat, var(--blue); color: #fff; border-radius: 18px; padding: 14px 18px; min-width: 170px; box-shadow: 0 12px 26px rgba(58,48,96,.22); }
.hw-wc small { display: block; opacity: .85; font-size: 12px; }
.hw-wc b { font-size: 30px; font-weight: 500; letter-spacing: -.02em; }
.hw-wc.sm { min-width: 110px; padding: 12px 14px; }
.hw-wc.sm b { font-size: 22px; }
.hw-wc.alt { background: url(img/pattern.png) 0 0/140px repeat, var(--navy); }
.hw-row { display: flex; gap: 22px; }
.hw-av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-style: normal; font-weight: 600; box-shadow: 0 0 0 3px #fff; }
.hw-av.big { width: 64px; height: 64px; }
.hw-bands { display: flex; gap: 22px; margin-top: -10px; }
.hw-bands span { width: 40px; height: 10px; border-radius: 6px; background: var(--c); opacity: .55; }
.hw-amts { display: flex; gap: 10px; }
.hw-amts span { padding: 12px 16px; border-radius: 16px; background: #fff; font-weight: 600; font-size: 17px; box-shadow: 0 4px 12px rgba(58,48,96,.1); }
.hw-amts span.on { background: var(--navy); color: #fff; transform: scale(1.08); }
.hw-pay { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; padding: 0 16px; max-width: 280px; }
.hw-pay span { font-size: 12px; font-weight: 600; padding: 5px 9px; border-radius: 8px; background: rgba(255,255,255,.85); color: var(--navy); }
.hw-tap { display: flex; align-items: center; gap: 16px; }
.hw-band { width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #fff; box-shadow: 0 10px 22px rgba(0,0,0,.15); }
.hw-band .i { width: 30px; height: 30px; }
.hw-wave { width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--c); border-left-color: transparent; border-bottom-color: transparent; transform: rotate(45deg); opacity: .6; animation: hwPulse 1.6s ease-in-out infinite; }
@keyframes hwPulse { 50% { opacity: .15; transform: rotate(45deg) scale(.8); } }
.hw-pos { padding: 12px 16px; border-radius: 14px; background: #fff; font-weight: 600; font-size: 20px; color: var(--navy); box-shadow: 0 4px 12px rgba(58,48,96,.1); }
.hw-places { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; padding: 0 16px; max-width: 280px; }
.hw-places span { font-size: 13px; padding: 5px 10px; border-radius: 10px; background: rgba(255,255,255,.85); }
.hw-pl { display: flex; gap: 14px; align-items: center; background: #fff; padding: 16px 18px; border-radius: 20px; box-shadow: 0 8px 22px rgba(58,48,96,.12); }
.hw-pl b { font-size: 17px; }
.hw-chips { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.hw-chips span { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; padding: 4px 10px; border-radius: 10px; background: color-mix(in srgb, var(--c) 14%, #fff); color: var(--fg); align-self: flex-start; }
.hw-chips .i { width: 14px; height: 14px; }
.hw-lock { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hw-lock span { width: 92px; height: 92px; border-radius: 28px; display: grid; place-items: center; background: var(--c); color: #fff; box-shadow: 0 14px 30px rgba(205,23,25,.3); }
.hw-lock .i { width: 42px; height: 42px; }
.hw-lock b { padding: 5px 12px; border-radius: 10px; background: #fff; color: #B01416; font-size: 14px; }
.hw-two { display: flex; align-items: center; gap: 12px; }
.hw-arrow { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--navy); box-shadow: 0 4px 12px rgba(58,48,96,.12); }
.hw-share { display: flex; flex-direction: column; align-items: center; gap: 12px; position: relative; }
.hw-mail { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 16px; background: #fff; font-size: 15px; box-shadow: 0 4px 12px rgba(58,48,96,.1); }
.hw-ok { position: absolute; top: -4px; right: calc(50% - 46px); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; font-weight: 700; font-size: 14px; box-shadow: 0 0 0 3px #fff; }
.hw-ret { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hw-card { width: 200px; height: 120px; border-radius: 16px; padding: 14px; display: flex; align-items: flex-end; color: #fff; font-weight: 500; letter-spacing: .06em; background: linear-gradient(135deg, var(--navy), var(--blue)); box-shadow: 0 14px 30px rgba(58,48,96,.25); }
.hw-back { padding: 8px 14px; border-radius: 12px; background: var(--green); color: #fff; font-weight: 600; font-size: 18px; }
/* Promocions · Eurostel i cupons */
.eu { display: flex; flex-direction: column; gap: 12px; margin-bottom: 8px; }
.eu-card { position: relative; overflow: hidden; border-radius: 24px; padding: 18px 18px 20px; color: #fff; background: url(img/pattern.png) 0 0/180px repeat, linear-gradient(140deg, #2A2350 0%, var(--navy) 45%, var(--blue) 120%); box-shadow: 0 14px 30px rgba(42,35,80,.28); }
.eu-hd { display: flex; flex-direction: column; gap: 2px; margin-bottom: 16px; }
.eu-logo { font-size: 26px; font-weight: 700; letter-spacing: -.02em; background: linear-gradient(90deg, #FFE08A, #FFC24B); -webkit-background-clip: text; background-clip: text; color: transparent; align-self: flex-start; }
.eu-hd small { opacity: .85; font-size: 13.5px; }
.eu-n { display: flex; align-items: baseline; gap: 8px; }
.eu-n b { font-size: 38px; font-weight: 600; letter-spacing: -.02em; line-height: 1; }
.eu-n small { opacity: .85; font-size: 14px; }
.eu-bar { position: relative; height: 10px; border-radius: 6px; background: rgba(255,255,255,.2); margin: 14px 0 10px; overflow: hidden; }
.eu-bar i { position: absolute; inset: 0 auto 0 0; border-radius: 6px; background: linear-gradient(90deg, #FFE08A, #FFC24B); }
.eu-bar s { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: rgba(42,35,80,.35); text-decoration: none; }
.eu-in { margin: 0; font-size: 15px; line-height: 1.45; opacity: .95; }
.eu-btn { margin-top: 12px; background: #fff; color: var(--navy); }
.eu-prev { display: flex; align-items: baseline; justify-content: space-between; padding: 10px 14px; border-radius: 14px; background: rgba(255,255,255,.14); }
.eu-prev b { font-size: 24px; color: #FFE08A; }
.eu-prev small { font-size: 14px; opacity: .9; }
.eu-det { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.eu-det span { font-size: 12.5px; padding: 3px 9px; border-radius: 8px; background: rgba(255,255,255,.14); }
.eu-xec { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 20px; background: linear-gradient(120deg, #FFE08A, #FFC24B); color: #2A2350; box-shadow: 0 10px 24px rgba(232,154,44,.3); cursor: pointer; position: relative; }
.eu-xec::before, .eu-xec::after { content: ""; position: absolute; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: var(--bg, #EEF1F6); }
.eu-xec::before { left: -9px; } .eu-xec::after { right: -9px; }
.eu-xec > div { flex: 1; display: flex; flex-direction: column; gap: 1px; padding-left: 4px; }
.eu-xec small { font-size: 13px; font-weight: 600; opacity: .8; }
.eu-xec b { font-size: 32px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.eu-xec span { font-size: 13px; opacity: .85; }
.eu-qr { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #fff; flex: none; }
.eu-how { background: #fff; border-radius: 22px; padding: 18px; box-shadow: var(--sh1, 0 1px 3px rgba(58,48,96,.08)); }
.eu-how h3 { margin: 0 0 6px; font-size: 18px; }
.eu-txt { margin: 0 0 8px; color: var(--muted); line-height: 1.45; }
.eu-how ol { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.eu-how li { display: flex; gap: 14px; align-items: flex-start; }
.eu-how li b { font-size: 15.5px; }
.eu-how li p { margin: 2px 0 0; font-size: 14.5px; line-height: 1.45; color: var(--fg); opacity: .8; }
.eu-ic { position: relative; flex: none; width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: #EEF0FA; color: var(--navy); }
.eu-ic i { position: absolute; top: -5px; right: -5px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11.5px; font-weight: 700; background: #FFC24B; color: #2A2350; box-shadow: 0 0 0 2px #fff; }
.eu-foot { display: flex; gap: 8px; align-items: flex-start; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.eu-foot .i { flex: none; width: 16px; height: 16px; margin-top: 2px; }
.tk { display: flex; min-height: 118px; border-radius: 20px; background: #fff; box-shadow: var(--sh1, 0 1px 3px rgba(58,48,96,.08)); overflow: hidden; position: relative; }
.tk[data-go] { cursor: pointer; }
.tk-l { flex: none; width: 104px; display: grid; place-items: center; padding: 8px; background: url(img/pattern.png) 0 0/120px repeat, var(--c); background-size: 120px, auto; color: #fff; position: relative; }
.tk-l.ph { background-size: cover; background-position: center; }
.tk-l.ph::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.45)); }
.tk-l b { position: relative; font-size: 30px; font-weight: 700; letter-spacing: -.02em; text-align: center; line-height: 1.05; }
.tk-l b.sm { font-size: 19px; }
.tk-l::after { content: ""; position: absolute; right: -1px; top: 8px; bottom: 8px; border-right: 2px dashed rgba(255,255,255,.7); }
.tk-r { flex: 1; min-width: 0; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.tk-r > b { font-size: 16.5px; line-height: 1.3; }
.tk-m { display: flex; flex-direction: column; gap: 3px; }
.tk-m span { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.tk-m .i { width: 14px; height: 14px; flex: none; }
.tk-a { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font-size: 14px; font-weight: 600; color: var(--muted); }
.tk-a.ok { color: var(--red); }
.tk-get { margin-top: auto; align-self: flex-start; }
.tk.off { opacity: .55; }

/* Wallet · nom i color */
.wname { display: inline-flex; align-items: center; gap: 6px; color: inherit; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.wname .i { width: 15px; height: 15px; opacity: .75; }
.wprev { border-radius: 20px; padding: 16px 18px; margin: 4px 0 16px; color: #fff; background: url(img/pattern.png) 0 0/160px repeat, var(--c); display: flex; justify-content: space-between; align-items: center; transition: background-color .2s; }
.wprev b { font-size: 18px; font-weight: 500; }
.wprev span { font-size: 22px; font-weight: 500; }
.wsw { display: flex; flex-wrap: wrap; gap: 12px; }
.wsw button { width: 44px; height: 44px; border-radius: 50%; border: 0; box-shadow: 0 0 0 2px #fff, 0 2px 6px rgba(0,0,0,.15); cursor: pointer; }
.wsw button.on { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--fg); }

/* Wallet · llegir polsera */
.wread { width: calc(100% - 32px); box-sizing: border-box; text-align: left; margin: 14px 16px 0; border-radius: 18px; background: #fff; box-shadow: var(--sh1, 0 1px 3px rgba(58,48,96,.08)); }
.wread .tx small { white-space: normal; line-height: 1.4; }
.wnfc { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px 12px; margin-bottom: 14px; border-radius: 20px; background: var(--tint); border: 0; cursor: pointer; font: inherit; color: var(--fg); }
.wnfc-b { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; }
.wnfc-b .i { width: 28px; height: 28px; }
.wnfc-w { width: 34px; height: 34px; margin-top: -54px; margin-left: 110px; border-radius: 50%; border: 3px solid var(--red); border-left-color: transparent; border-bottom-color: transparent; transform: rotate(45deg); opacity: 0; }
.wnfc.on .wnfc-w { opacity: .7; animation: hwPulse 1.4s ease-in-out infinite; }
.wnfc b { font-size: 16px; margin-top: 4px; }
.wfound { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; background: rgba(94,158,110,.14); color: #2F6B3D; font-weight: 600; margin: 0 0 10px; }

/* Compte */
.acc-f { text-align: left; margin-top: 18px; }
.acc-sent { display: flex; gap: 8px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--tint); font-size: 14.5px; line-height: 1.45; margin: 0 0 14px; }
.acc-sent .i { flex: none; margin-top: 2px; }
.fld input.acc-code { font-size: 28px; letter-spacing: .5em; text-align: center; height: 60px; font-variant-numeric: tabular-nums; padding-left: .5em; }
.acc-row { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; }
.acc-in { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 30px 18px; background: #fff; border-radius: 24px; }
.acc-in > .i { width: 54px; height: 54px; padding: 12px; border-radius: 50%; background: var(--green); color: #fff; }
.acc-in b { font-size: 20px; margin-top: 6px; }
.acc-in p { color: var(--muted); margin: 0 0 14px; }
.acc-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; margin: 0; color: inherit; text-decoration: none; }
.acc-card .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.acc-card .tx small { color: var(--muted); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; }
.acc-card .go { color: var(--muted); }
.acc-av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--navy); flex: none; }
.acc-card.cta { background: var(--navy); color: #fff; }
.acc-card.cta small, .acc-card.cta .go { color: rgba(255,255,255,.8); }
.acc-card.cta .acc-av { background: rgba(255,255,255,.16); color: #fff; }

/* Estada i persones */
.card.pass.stay { align-items: flex-start; }
.card.pass .grow { flex: 1; min-width: 0; }
.st-ppl { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.st-ppl span { font-size: 13px; padding: 4px 10px; border-radius: 10px; background: var(--tint); }
.st-ppl span.jo { background: var(--navy); color: #fff; }
.st-sh { margin-top: 12px; }
.st-code { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.st-code small { color: var(--muted); }
.st-code b { font-size: 26px; letter-spacing: .12em; font-family: ui-monospace, Menlo, monospace; }
.ppl { display: flex; flex-direction: column; gap: 8px; }
.ppl-i { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; }
.ppl-i input { width: 20px; height: 20px; accent-color: var(--red); }
.ppl-i em { font-style: normal; font-size: 12px; color: var(--muted); margin-left: 4px; }
.ppl-i:has(input:checked) { border-color: var(--red); background: #FFF5F7; }

/* Prova de polseres */
.nft-go { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 26px 16px; border: 0; border-radius: 24px; background: var(--navy); color: #fff; font: inherit; cursor: pointer; }
.nft-go span { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); }
.nft-go span .i { width: 34px; height: 34px; }
.nft-go b { font-size: 17px; font-weight: 600; }
.nft-go.on span { animation: hwPulse 1.2s ease-in-out infinite; }
.nft-go[disabled] { opacity: .45; }
.nft-res { margin-top: 14px; padding: 16px; display: flex; flex-direction: column; gap: 6px; border: 2px solid transparent; }
.nft-res.ok { border-color: var(--green); } .nft-res.ko { border-color: var(--red); }
.nft-res small { color: var(--muted); font-size: 13px; }
.nft-uid { font-size: 26px; font-family: ui-monospace, Menlo, monospace; letter-spacing: .06em; word-break: break-all; }
.nft-kv { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; padding-top: 6px; border-top: 1px solid var(--line); }
.nft-kv span { color: var(--muted); flex: none; }
.nft-kv code { text-align: right; word-break: break-all; }
.nft-st { display: flex; align-items: center; gap: 8px; margin: 8px 0 0; font-weight: 600; }
.nft-st.ok { color: var(--green); } .nft-st.ko { color: var(--red); }
.nft-h { font-size: 15px; color: var(--muted); margin: 22px 0 8px; }
/* Eurostel · nivells */
.eu-lv { position: relative; margin: -4px 0 14px; padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,.12); border-left: 5px solid var(--lv); }
.eu-lv-h { display: flex; align-items: baseline; gap: 8px; }
.eu-lv-h small { opacity: .85; font-size: 13px; }
.eu-lv-h b { font-size: 20px; letter-spacing: .03em; text-transform: uppercase; }
.eu-lv p { margin: 4px 0 0; font-size: 14px; opacity: .95; }
.eu-lv .eu-lv-n { opacity: .8; font-size: 13.5px; }
.eu-lvs { margin-top: 14px; }
.eu-lvr { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--line); }
.eu-lvr:first-of-type { border-top: 0; }
.eu-lvr > b { flex: 0 0 auto; min-width: 86px; text-align: center; background: var(--lv); color: #fff; border-radius: 99px; padding: 5px 12px; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.eu-lvr div { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.eu-lvr small { color: var(--muted); }
.eu-lvbar { position: relative; height: 10px; border-radius: 99px; background: rgba(255,255,255,.22); overflow: hidden; margin: 10px 0 4px; }
.eu-lvbar i { position: absolute; inset: 0 auto 0 0; border-radius: 99px; background: var(--nx); box-shadow: 0 0 0 2px rgba(255,255,255,.35) inset; }
.eu-lv-c { font-size: 12.5px !important; opacity: .85; }
.eu-pf { display: block; margin-top: 12px; padding: 16px 16px 14px; color: #fff; text-decoration: none; border-radius: 22px; background: linear-gradient(140deg, #2A2350 0%, var(--navy) 55%, var(--lv) 140%); border-left: 6px solid var(--lv); }
.eu-pf-h { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.eu-pf-h .eu-logo { font-weight: 800; letter-spacing: .02em; }
.eu-pf-h small { opacity: .8; font-size: 13px; }
.eu-pf-h b { margin-left: auto; font-size: 22px; letter-spacing: .04em; text-transform: uppercase; }
.eu-pf-b { margin: 6px 0 0; font-size: 14px; opacity: .95; }
.eu-pf .eu-lv-n { margin: 4px 0 0; font-size: 13.5px; opacity: .85; }
.eu-pf-go { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; font-size: 13.5px; font-weight: 700; opacity: .95; }
.eu-pf-go svg { width: 16px; height: 16px; }

/* ---- Activitats: pàgina d'entrada abans del calendari */
.al { padding: 0 16px; display: flex; flex-direction: column; gap: 12px; }
.al-intro { color: var(--muted); font-size: 15px; line-height: 1.45; white-space: pre-line; }
.al-cta { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 14px; padding: 16px; border-radius: var(--r); background: linear-gradient(140deg, var(--blue), #4A71AD); color: #fff; box-shadow: var(--sh); }
.al-day { width: 58px; height: 62px; border-radius: 14px; background: #fff; color: var(--navy); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.al-day small { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--red); font-weight: 500; }
.al-day b { font-size: 26px; font-weight: 500; margin-top: 3px; }
.al-txt b { display: block; font-size: 17px; font-weight: 500; }
.al-txt small { display: block; font-size: 13.5px; opacity: .88; margin-top: 3px; }
.al-go { opacity: .7; }
.al-btn { grid-column: 1 / -1; margin-top: 12px; }
.al-mine { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-radius: 16px; background: #fff; box-shadow: var(--sh2); font-weight: 500; }
.al-mine .i { color: var(--red); } .al-mine .sp { flex: 1; } .al-mine > .i:last-child { color: #AEB5C6; }
.al-mine .n { background: var(--red); color: #fff; border-radius: 10px; font-size: 12px; padding: 1px 7px; }
.al-hint { color: var(--muted); font-size: 13.5px; padding: 0 16px; margin: -6px 0 10px; }
.al-pubs { display: flex; flex-direction: column; margin: 0 16px; background: #fff; border-radius: var(--r); box-shadow: var(--sh2); overflow: hidden; }
.al-pub { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-top: 1px solid var(--line); text-align: left; width: 100%; }
.al-pub:first-child { border-top: 0; }
.al-pub > i { width: 6px; align-self: stretch; min-height: 38px; border-radius: 3px; background: var(--c); flex: none; }
.al-pub .tx { flex: 1; min-width: 0; } .al-pub .tx b { display: block; font-size: 15.5px; font-weight: 500; } .al-pub .tx small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.al-n { font-size: 12.5px; color: var(--muted); white-space: nowrap; } .al-pub > .i { color: #AEB5C6; }
.al-dst .al-dc { width: 228px; background: #fff; border-radius: var(--r); box-shadow: var(--sh2); overflow: hidden; display: flex; flex-direction: column; }
.al-dc .im { height: 128px; background-size: cover; background-position: center; position: relative; }
.al-dc .im em { position: absolute; left: 10px; bottom: 10px; background: rgba(255,255,255,.95); color: var(--navy); font-style: normal; font-size: 12.5px; font-weight: 500; padding: 4px 9px; border-radius: 9px; }
.al-dc .bd { padding: 10px 12px 12px; } .al-dc b { display: block; font-size: 15px; font-weight: 500; } .al-dc small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.al-mus { display: flex; flex-direction: column; margin: 0 16px; background: #fff; border-radius: var(--r); box-shadow: var(--sh2); overflow: hidden; }
.al-mu { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-top: 1px solid var(--line); }
.al-mu:first-child { border-top: 0; }
.al-mu .mi { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--navy); color: #fff; }
.al-mu.sp .mi { background: #1DB954; } .al-mu .mi .i { width: 26px; height: 26px; }
.al-mu .tx { flex: 1; min-width: 0; } .al-mu b { display: block; font-size: 15.5px; font-weight: 500; } .al-mu small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.al-mu em { display: block; font-style: normal; font-size: 12.5px; font-weight: 500; color: #148A3E; margin-top: 3px; } .al-mu:not(.sp) em { color: var(--blue); } .al-mu > .i { color: #AEB5C6; }
.al-cats { display: flex; flex-direction: column; gap: 12px; padding: 0 16px; }
.al-cat { background: #fff; border-radius: var(--r); box-shadow: var(--sh2); overflow: hidden; border-left: 6px solid var(--c); padding: 14px 16px 0; }
.al-cat h3 { font-size: 16.5px; font-weight: 500; } .al-cat .rg { color: var(--c); font-weight: 500; font-size: 14px; margin-top: 2px; filter: brightness(.85); }
.al-cat .inf { margin-top: 8px; color: #4E4A6C; font-size: 14.5px; line-height: 1.5; white-space: pre-line; }
.al-catb { display: flex; align-items: center; gap: 8px; width: calc(100% + 32px); margin: 12px -16px 0; padding: 12px 16px; border-top: 1px solid var(--line); text-align: left; font-weight: 500; font-size: 14.5px; color: var(--blue); }
.al-catb span:first-child { flex: 1; } .al-catb > .i { color: #AEB5C6; }
.al-blocs { display: flex; flex-direction: column; gap: 12px; padding: 0 16px; }
.al-bloc { background: #fff; border-radius: var(--r); box-shadow: var(--sh2); overflow: hidden; }
.al-im { height: 150px; background-size: cover; background-position: center; }
.al-bd { padding: 14px 16px 16px; }
.al-bd h3 { font-size: 16.5px; font-weight: 500; display: flex; align-items: center; gap: 10px; }
.al-bd p { margin-top: 8px; color: #4E4A6C; font-size: 14.5px; line-height: 1.5; white-space: pre-line; }
.al-pic { width: 34px; height: 34px; border-radius: 10px; flex: none; display: grid; place-items: center; }
.al-pic i { width: 22px; height: 22px; background: center/contain no-repeat; }

/* ---- Reto Stel: capa dels minijocs */
html.jg-on, html.jg-on body { overflow: hidden; overscroll-behavior: none; }
.jg { position: fixed; inset: 0; z-index: 300; background: var(--jbg, #BFE6F5); display: flex; flex-direction: column; touch-action: none; user-select: none; -webkit-user-select: none; color: var(--ink, #26213F); max-width: 480px; margin: 0 auto; }
.jg-top { display: flex; align-items: center; gap: 8px; padding: calc(10px + var(--safe-t)) 12px 8px; position: relative; z-index: 3; }
.jg-x { width: 44px; height: 44px; border-radius: 14px; background: #fff; display: grid; place-items: center; flex: none; box-shadow: 0 2px 8px rgba(38,33,63,.12); }
.jg-x svg { width: 20px; height: 20px; stroke: #26213F; stroke-width: 2.6; stroke-linecap: round; fill: none; }
.jg-hud { flex: 1; display: flex; gap: 8px; justify-content: flex-end; min-width: 0; }
.jg-p { background: #fff; border-radius: 14px; padding: 5px 12px; display: flex; flex-direction: column; align-items: center; min-width: 64px; box-shadow: 0 2px 8px rgba(38,33,63,.12); }
.jg-p span { font-size: 10.5px; font-weight: 500; color: #6E6A8C; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }
.jg-p b { font-size: 21px; font-weight: 500; line-height: 1.1; color: #26213F; font-variant-numeric: tabular-nums; }
.jg-area { flex: 1; position: relative; overflow: hidden; min-height: 0; }
.jg-area.jg-col { display: flex; flex-direction: column; }
.jg-cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
.jg-col > .jg-cv { position: relative; flex: 1; min-height: 0; }
.jg-hint { text-align: center; padding: 8px 16px calc(12px + var(--safe-b)); font-size: 13px; font-weight: 500; color: #fff; background: rgba(38,33,63,.78); }
.jg-fl { position: absolute; pointer-events: none; font-weight: 500; animation: jgfl .9s ease-out forwards; text-shadow: 0 1px 0 rgba(255,255,255,.6); white-space: nowrap; z-index: 4; }
@keyframes jgfl { from { opacity: 1; transform: translateY(0) scale(1); } to { opacity: 0; transform: translateY(-44px) scale(1.15); } }
.jg-ban { position: absolute; left: 50%; top: 18%; transform: translateX(-50%); background: #26213F; color: #fff; padding: 10px 20px; border-radius: 999px; font-size: 20px; font-weight: 500; white-space: nowrap; z-index: 5; animation: jgban .25s ease-out; pointer-events: none; }
@keyframes jgban { from { transform: translateX(-50%) scale(.6); opacity: 0; } }
.jg-b { height: 52px; padding: 0 20px; border-radius: 16px; background: #FFB627; color: #26213F; font-size: 17px; font-weight: 500; display: inline-flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 3px 0 rgba(0,0,0,.12); }
.jg-b.big { height: 60px; font-size: 19px; flex: 1; }
.jg-b.alt { background: #fff; border: 2px solid #26213F; box-shadow: none; }
.jg-b:active { transform: translateY(2px); box-shadow: none; }
.jg-b[disabled] { opacity: .5; }
.jg-row { display: flex; gap: 10px; padding: 0 16px 16px; }
.jg-card { margin: 0 16px 12px; background: #fff; border-radius: 20px; padding: 14px 16px; box-shadow: 0 4px 14px rgba(38,33,63,.10); }
.jg-conf { position: absolute; inset: 0; z-index: 10; background: rgba(20,17,42,.55); display: grid; place-items: center; padding: 24px; }
.jg-conf > div { background: #fff; border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 10px; max-width: 340px; }
.jg-conf p { font-size: 16px; line-height: 1.4; margin-bottom: 6px; }
/* trampolí */
.jg-ctl { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 12px; background: #3FAFD3; }
.jg-gauge { position: relative; height: 34px; border-radius: 999px; background: #fff; overflow: hidden; box-shadow: inset 0 0 0 3px #26213F; }
.jg-gauge .z { position: absolute; top: 0; bottom: 0; background: #7FD39E; } .jg-gauge .p { position: absolute; top: 0; bottom: 0; background: #2F9E6A; }
.jg-gauge b { position: absolute; top: -2px; bottom: -2px; width: 6px; margin-left: -3px; background: #26213F; border-radius: 3px; }
/* flotador */
.fl-st { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 0; }
.fl-joc { font-size: 44px; font-weight: 500; line-height: 1; } .fl-st small { font-weight: 500; margin: 4px 0 6px; }
.fl-svg { width: min(68vw, 280px); height: auto; max-height: 46vh; overflow: visible; }
.fl-g { transform-origin: 140px 140px; transition: transform .15s ease-out; }
.fl-svg.pet .fl-g { animation: flpet .5s ease-out forwards; }
@keyframes flpet { 0% { transform: scale(1.1); } 30% { transform: scale(1.3); opacity: 1; } 100% { transform: scale(.2) rotate(40deg); opacity: 0; } }
.fl-h { display: flex; justify-content: space-between; font-size: 13px; font-weight: 500; margin-bottom: 8px; } .fl-w { color: #E63154; }
.fl-m { position: relative; height: 18px; border-radius: 999px; background: #DCE7EF; overflow: hidden; margin-bottom: 8px; }
.fl-m .v { position: absolute; left: 0; top: 0; bottom: 0; background: #FFB627; border-radius: 999px; transition: width .12s; }
.fl-m .d { position: absolute; right: 0; top: 0; bottom: 0; background: repeating-linear-gradient(45deg, #E63154 0 6px, #F07A90 6px 12px); opacity: .85; }
.fl-bar small { color: #6E6A8C; font-size: 12px; font-weight: 500; }
/* Simó */
.jg-area.sm { background: #10142B; color: #fff; }
.sm-st { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0 16px; }
.sm-st svg { width: 100%; height: 34px; } .sm-msg { font-size: 17px; font-weight: 500; min-height: 24px; text-align: center; }
.sm-dots { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; } .sm-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.25); } .sm-dots i.ok { background: #FFB627; }
.sm-grid { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 18px 22px 24px; align-content: center; }
.sm-f { aspect-ratio: 1; border-radius: 50%; background: var(--off); color: var(--on); display: grid; place-items: center; transition: background .08s, box-shadow .08s; max-height: 34vh; justify-self: center; width: 100%; }
.sm-f svg { width: 46%; height: 46%; } .sm-f.on { background: var(--on); color: #10142B; box-shadow: 0 0 40px var(--on); }
/* Qui falta */
.qf-msg { text-align: center; font-size: 17px; font-weight: 500; padding: 4px 16px 10px; min-height: 30px; }
.qf-tov { position: relative; margin: 0 22px; border-radius: 22px; padding: 14px; background: repeating-linear-gradient(90deg, #fff 0 26px, #F48FB1 26px 52px); box-shadow: 0 6px 18px rgba(38,33,63,.15); }
.qf-g { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.qf-c { aspect-ratio: 1; background: rgba(255,255,255,.88); border-radius: 14px; display: grid; place-items: center; }
.qf-c svg { width: 62%; height: 62%; }
.qf-tapa { position: absolute; inset: 0; border-radius: 22px; background: #3A3060; color: #fff; display: grid; place-items: center; font-size: 64px; font-weight: 500; }
.qf-tapa[hidden] { display: none; }
.qf-op { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 16px; margin-top: auto; }
.qf-b { min-height: 64px; border-radius: 16px; background: #fff; border: 2px solid #DCE3EB; display: flex; align-items: center; gap: 8px; padding: 6px 12px; font-size: 15px; font-weight: 500; text-align: left; }
.qf-b.ok { background: #2F9E6A; border-color: #2F9E6A; color: #fff; } .qf-b.ko { background: #E63154; border-color: #E63154; color: #fff; }
/* Laberint */
.lb-pad { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 10px 16px 14px; }
.lb-pad .jg-b { height: 54px; padding: 0; } .lb-pad svg { width: 24px; height: 24px; stroke: #26213F; stroke-width: 2.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
/* Parcel·la */
.pc-tray { display: flex; align-items: center; gap: 12px; padding: 10px 16px 14px; background: rgba(255,255,255,.7); }
.pc-cur { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 13px; font-weight: 500; } .pc-cur canvas { width: 120px; height: 82px; }
.pc-bt { flex: 1; display: flex; flex-direction: column; gap: 8px; } .pc-bt .jg-b { height: 46px; }
/* Diferències */
.df-n { flex: 1; display: flex; align-items: center; font-weight: 500; font-size: 15px; }
/* Foto del dia / Sons */
.ft-c { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 6px 16px 0; }
.ft-c canvas { border-radius: 18px; box-shadow: 0 6px 18px rgba(38,33,63,.15); background: #DCE3EB; }
.ft-bar { width: 100%; display: flex; justify-content: space-between; font-size: 13px; font-weight: 500; } .ft-p { color: var(--blue); }
.ft-m { width: 100%; height: 10px; border-radius: 999px; background: #DCE7EF; overflow: hidden; } .ft-m i { display: block; height: 100%; background: var(--blue); border-radius: 999px; transition: width .3s; }
.ft-op, .sn-op { margin-top: auto; }
.jg-area.sn { color: #fff; }
.sn-c { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 0 32px; }
.sn-play { position: relative; width: 150px; height: 150px; border-radius: 50%; background: #FFB627; color: #26213F; display: grid; place-items: center; }
.sn-play svg { width: 64px; height: 64px; position: relative; } .sn-play[disabled] { opacity: .5; }
.sn-play i { position: absolute; inset: 0; border-radius: 50%; border: 3px solid rgba(255,182,39,.6); opacity: 0; }
.sn-play.on i:first-child { animation: snw 1.4s ease-out infinite; } .sn-play.on i:nth-child(2) { animation: snw 1.4s .7s ease-out infinite; }
@keyframes snw { from { transform: scale(1); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }
.sn-l { font-size: 17px; font-weight: 500; min-height: 24px; } .sn-m { background: rgba(255,255,255,.2); } .sn-m i { background: #FFB627; transition: width .1s linear; }
.sn .qf-b { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); color: #fff; }
/* ---- Reto Stel: pantalles */
.rtb { background: linear-gradient(135deg, var(--red), #B8203F); } .rt-s { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.18); } .rt-s svg { width: 26px; height: 26px; }
.rt-card { overflow: hidden; } .rt-art { height: 140px; display: grid; place-items: center; } .rt-art svg { width: 84px; height: 84px; filter: drop-shadow(0 6px 10px rgba(38,33,63,.15)); }
.rt-bd { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; }
.rt-tag { align-self: flex-start; background: var(--navy); color: #fff; font-size: 11.5px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; border-radius: 999px; padding: 4px 10px; }
.rt-bd h2 { font-size: 24px; font-weight: 500; line-height: 1.1; } .rt-bd p { color: #4E4A6C; font-size: 14.5px; line-height: 1.45; }
.rt-kv { display: flex; gap: 8px; margin: 4px 0; } .rt-kv > div { flex: 1; background: var(--bg); border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 2px; }
.rt-kv span { font-size: 12px; color: var(--muted); font-weight: 500; } .rt-kv b { font-size: 18px; font-weight: 500; } .rt-kv b small { font-size: 13px; color: var(--muted); }
.rt-done { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 16px; background: var(--tint-green); color: var(--ok); font-weight: 500; padding: 8px 14px; text-align: center; }
.rt-pos { text-align: center; font-weight: 500; color: var(--blue); }
.rt-premi { margin-top: 12px; padding: 14px 16px; display: flex; align-items: center; gap: 14px; } .rt-premi .ic { width: 44px; height: 44px; border-radius: 14px; background: #FFE7B3; display: grid; place-items: center; color: var(--ink); flex: none; }
.rt-premi small { display: block; font-size: 13px; color: var(--muted); font-weight: 500; } .rt-premi b { font-weight: 500; font-size: 15.5px; }
.rt-rank { padding: 6px 0; } .rt-r { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-top: 1px solid var(--line); } .rt-r:first-child { border-top: 0; }
.rt-r i { width: 32px; height: 32px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; font-style: normal; font-weight: 500; font-size: 14px; flex: none; }
.rt-r i.m1 { background: #FFB627; } .rt-r i.m2 { background: #D5DCE4; } .rt-r i.m3 { background: #E3A877; }
.rt-r b { flex: 1; min-width: 0; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .rt-r b small { color: var(--muted); font-weight: 400; }
.rt-r span { font-weight: 500; font-size: 17px; font-variant-numeric: tabular-nums; } .rt-r.jo { background: var(--tint-blue); }
.rt-ahir { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: #fff; box-shadow: var(--sh2); font-size: 13.5px; display: flex; gap: 8px; align-items: center; color: #4E4A6C; }
.rt-dema { margin-top: 10px; padding: 12px 16px; border-radius: 14px; background: var(--navy); color: #fff; display: flex; justify-content: space-between; align-items: center; } .rt-dema span { font-size: 13px; opacity: .8; } .rt-dema b { font-weight: 500; }
.rt-foot { margin: 16px 4px 0; font-size: 13px; color: var(--muted); line-height: 1.45; }
.rt-sheet { text-align: center; padding: 8px 4px 4px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.rt-big { width: 72px; height: 72px; border-radius: 50%; background: var(--tint); color: var(--red); display: grid; place-items: center; margin-bottom: 4px; } .rt-big svg { width: 34px; height: 34px; }
.rt-sheet .sub { margin-bottom: 8px; } .rt-sheet .btn { margin-top: 8px; }
.rt-res small { color: var(--muted); font-weight: 500; } .rt-res h1 { font-size: 56px; font-weight: 500; line-height: 1; color: var(--navy); } .rt-res > span { font-weight: 500; }
.rt-rec { background: #FFE7B3; border-radius: 999px; padding: 6px 14px; font-weight: 500; display: flex; gap: 6px; align-items: center; font-size: 14px; } .rt-rec.alt { background: var(--bg); color: var(--muted); }
.rt-res .rt-kv { width: 100%; margin-top: 8px; } .rt-res .rt-kv > div { background: #fff; align-items: center; }
.rt-btns { width: 100%; display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
/* ---- Bingo Stel */
.bgb { background: linear-gradient(135deg, #5C87C4, #3A3060); } .bg-s { font-size: 22px; font-weight: 500; }
.bg-logo { display: flex; gap: 6px; justify-content: center; margin-bottom: 14px; } .bg-logo span { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 18px; font-weight: 500; box-shadow: inset 0 -4px 0 rgba(0,0,0,.18); }
.bg-in { padding: 6px 16px 24px; display: flex; flex-direction: column; gap: 14px; }
.bg-msg { text-align: center; display: flex; flex-direction: column; gap: 4px; } .bg-msg b { font-size: 22px; font-weight: 500; } .bg-msg span { opacity: .8; }
.bg-lbl { font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; opacity: .75; margin-bottom: -6px; }
.bg-carto { background: #fff; border-radius: 16px; padding: 6px; display: flex; flex-direction: column; gap: 4px; box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.bg-f { display: grid; grid-template-columns: repeat(9, 1fr); gap: 4px; }
.bg-n { aspect-ratio: 1 / 1.15; border-radius: 8px; display: grid; place-items: center; font-size: 17px; font-weight: 500; color: #26213F; background: #F2F6F9; font-variant-numeric: tabular-nums; transition: background .2s, color .2s; }
.bg-n.buit { background: repeating-linear-gradient(45deg, #E6EEF8 0 4px, #F2F6F9 4px 8px); }
.bg-n.on { background: #E63154; color: #fff; } .bg-n.ult { animation: bgpop .6s ease-out; box-shadow: 0 0 0 3px #FFB627; }
@keyframes bgpop { 0% { transform: scale(1.5); } 100% { transform: scale(1); } }
.bg-hint { font-size: 13px; opacity: .75; text-align: center; margin-top: -6px; }
.bg-premis { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; } .bg-premis > div { background: rgba(255,255,255,.12); border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.bg-premis span { font-size: 12px; opacity: .75; text-transform: uppercase; letter-spacing: .05em; } .bg-premis b { font-weight: 500; } .bg-premis em { font-style: normal; color: #FFB627; font-size: 13px; }
.bg-bola { display: flex; align-items: center; gap: 14px; } .bg-bola small { margin-left: auto; opacity: .75; font-size: 13px; text-align: right; }
.bg-b { width: 96px; height: 96px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0 18%, #FFE7B3 19% 100%); border: 6px solid #FFB627; color: #26213F; display: grid; place-items: center; font-size: 42px; font-weight: 500; flex: none; animation: bgpop .5s ease-out; }
.bg-rec { display: flex; gap: 6px; flex-wrap: wrap; } .bg-rec i { font-style: normal; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.16); display: grid; place-items: center; font-size: 14px; font-weight: 500; }
.bg-falt { display: flex; gap: 8px; } .bg-falt > div { flex: 1; background: rgba(255,255,255,.12); border-radius: 14px; padding: 10px 12px; display: flex; justify-content: space-between; align-items: center; } .bg-falt span { opacity: .8; font-size: 13px; } .bg-falt b { font-weight: 500; }
.bg-falt .a { background: #FFB627; color: #26213F; } .bg-falt .ok { background: #2F9E6A; }
.bg-ban { border-radius: 18px; padding: 14px 16px; background: rgba(255,255,255,.16); text-align: center; display: flex; flex-direction: column; gap: 4px; } .bg-ban b { font-size: 26px; font-weight: 500; } .bg-ban small { opacity: .9; }
.bg-ban.meu { background: #FFB627; color: #26213F; animation: bgpop .6s ease-out; }
.rt-steps { text-align: left; margin: 0 0 8px; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; line-height: 1.4; }
