/* Shop (reward packs, showcase) and responsible play (30 oct 2026); the saved strategy status (31 oct 2026) */
.sh-secs { flex-wrap: wrap; }
.rmt-note { margin: 0; padding: 8px 12px; border-left: 3px solid var(--soft); background: var(--glass); color: var(--fg); font-size: 13px; }
.sh-odds { color: var(--muted) !important; font-size: 12px !important; line-height: 1.5; }
.sh-bar { display: flex; flex-wrap: wrap; gap: 8px 18px; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 14px; color: var(--flag); }
.sh-block { margin: 0; color: var(--medium); }
/* Reward packs: one tile per OVR range */
.rw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.rw-tier { display: flex; flex-direction: column; gap: 4px; padding: 14px; border: 1px solid var(--line); border-top: 3px solid var(--rar); background: var(--panel); }
.rw-tier.out { opacity: .55; }
.rw-tier > span:not(.rw-range) { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 13px; }
.rw-price { font-family: var(--mono); font-size: 15px; color: var(--fg); }
.rw-left { font-size: 12px; color: var(--medium); }
.rw-left.mut { color: var(--muted); }
.rw-tier .go { margin-top: 6px; }
/* Showcase: sealed packs with their cards in view */
.sw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.sw-pack { display: flex; flex-direction: column; gap: 10px; padding: 14px; border: 1px solid var(--line); border-left: 3px solid var(--c); background: var(--panel); }
.sw-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.sw-head b { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .03em; font-size: 17px; }
.sw-head small { color: var(--muted); font-size: 12px; }
.sw-cards { display: flex; flex-wrap: wrap; gap: 8px; }
.sw-card { display: flex; flex-direction: column; min-width: 76px; padding: 8px 10px; border: 1px solid var(--rar); background: var(--glass); }
.sw-card b { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 28px; line-height: 1; color: var(--rar); }
.sw-card span { font-size: 13px; font-weight: 600; }
.sw-card small { font-size: 12px; color: var(--muted); }
.sw-card i { font-style: normal; color: var(--rar); }
.sw-pack .go { align-self: flex-start; }
.pack.done { opacity: .6; }
/* Settings · Responsible play */
.rg-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; }
.rg-row input { width: 110px; }
.sh-dialog h2 { margin: 0; font-family: var(--display); font-style: italic; text-transform: uppercase; font-size: 26px; }
.sh-dialog p { margin: 0; }
/* Saved strategy (31 oct 2026): the status above the race editor, always in view, and the Garage tag */
.strat-bar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; padding: 10px 14px; background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--sb); --sb: var(--muted); }
.strat-bar.saved { --sb: var(--ok); }
.strat-bar.dirty { --sb: var(--edit); }
.strat-bar .sb-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--sb); flex: none; }
.strat-bar .sb-txt { font-family: var(--display); font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .03em; color: var(--sb); }
.strat-bar.none .sb-txt { color: var(--fg); }
.strat-bar #stratSave { margin-left: auto; }
.h2-strat { font-family: var(--display); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.h2-strat.ok { color: var(--ok); }
.h2-strat.miss { color: var(--edit); }

/* Paddock passes v3 in the shop (3 nov 2026): the CSS of docs/diseno/FDM-diseno-pases-v3.md, as is */
/* ---- FDM store passes v3 (extends the existing .pass-* styles) ---- */
.pass-big { position: relative; width: 150px; aspect-ratio: 5 / 7.6; margin: 44px auto 0; }
.pass-big .pass-face { position: absolute; inset: 0; border-radius: 12px; justify-content: center; padding: 14px 0 34px; gap: 5px; }
.pass-big .pass-strap { top: -44px; }
.pass-face .pass-logo.sm { font-size: 20cqw; }
/* role chip on the access label */
.pass-face .pass-access.role-driver { background: #eef1f6; }
.pass-face .pass-access.role-staff { background: #0a0d14; color: #eef1f6; box-shadow: inset 0 0 0 .6cqw rgba(255,255,255,.7); }
/* OVR range: the hero of a reward pass */
.pass-ovr { position: relative; font-family: var(--display, inherit); font-weight: 800; font-style: italic; font-size: 19cqw; line-height: .9; letter-spacing: -.02em; text-shadow: 0 1cqw 0 rgba(0,0,0,.35); }
.pass-ovr small { display: block; font-size: 4.2cqw; font-style: normal; letter-spacing: .3em; opacity: .8; margin-bottom: 1cqw; }
.pass-rar { position: relative; font-family: var(--display, inherit); font-weight: 800; text-transform: uppercase; letter-spacing: .18em; font-size: 5.4cqw; padding: .8cqw 3.5cqw; border-radius: 1cqw; background: #0a0d14; color: color-mix(in srgb, var(--c) 40%, #fff); box-shadow: inset 0 0 0 .6cqw color-mix(in srgb, var(--c) 60%, #fff); }
/* tier ticks: which half of the rarity this range is (low / high) */
.pass-ticks { position: relative; display: flex; gap: 1.6cqw; }
.pass-ticks i { width: 7cqw; height: 1.6cqw; border-radius: 1cqw; background: rgba(255,255,255,.28); }
.pass-ticks i.on { background: #fff; box-shadow: 0 0 2cqw rgba(255,255,255,.7); }
/* bottom band with the pack name, like the printed footer of a real lanyard pass */
.pass-foot { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.4cqw 0 2.8cqw; font-family: var(--display, inherit); font-weight: 700; font-size: 4.6cqw; letter-spacing: .2em; text-transform: uppercase; background: rgba(5,8,16,.45); color: rgba(255,255,255,.9); }
.pass-foot b { color: #fff; }
/* barcode strip: printed detail of paddock credentials */
.pass-code { position: absolute; left: 7cqw; right: 7cqw; bottom: 13cqw; height: 4cqw; opacity: .35; background: repeating-linear-gradient(90deg, #fff 0 .5cqw, transparent .5cqw 1.2cqw, #fff 1.2cqw 1.6cqw, transparent 1.6cqw 2.6cqw, #fff 2.6cqw 3.6cqw, transparent 3.6cqw 4.2cqw); }
/* limited stock (75+): holo foil sheen + stock seal in the corner */
.pass-face.holo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; mix-blend-mode: soft-light; opacity: .55;
  background: linear-gradient(125deg, #ff9ad5, #9ad8ff 25%, #b3ffb0 45%, #fff59a 65%, #ffb38a 85%); }
.pass-stock { position: absolute; top: 3cqw; right: 3cqw; z-index: 2; font-family: var(--display, inherit); font-weight: 800; font-size: 4cqw; line-height: 1.05; letter-spacing: .06em; padding: 1.2cqw 2cqw; border-radius: 1.4cqw; background: #e5243b; color: #fff; box-shadow: 0 1cqw 2cqw rgba(0,0,0,.4); }
.pass-stock b { display: block; font-size: 6cqw; }
/* champion: metal edge on top of the colour */
.pass-face.edge { box-shadow: inset 0 0 0 2px rgba(255,255,255,.55), inset 0 0 0 3px rgba(0,0,0,.25), 0 16px 36px rgba(0,0,0,.55); }
/* random packs: "?" seal so they read as a lucky draw */
.pass-face .pass-seal.q span { font-size: 12cqw; font-style: italic; }
/* showcase: a clear plastic window that shows the exact card you buy */
.pass-face.showcase { background: linear-gradient(160deg, #2a313d, #0b0e14); }
.pass-window { position: relative; width: 56cqw; aspect-ratio: 5 / 7; border-radius: 2.5cqw; margin-top: 1cqw; overflow: hidden;
  background: linear-gradient(160deg, var(--card, #3b7bff), color-mix(in srgb, var(--card, #3b7bff) 40%, #050810));
  box-shadow: inset 0 0 0 .7cqw rgba(255,255,255,.55), 0 1.5cqw 4cqw rgba(0,0,0,.5); display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 3cqw; }
.pass-window::before { content: ""; position: absolute; left: 50%; top: 14%; width: 30cqw; height: 34cqw; margin-left: -15cqw; border-radius: 15cqw 15cqw 6cqw 6cqw; background: rgba(5,8,16,.45); }
.pass-window::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.45), transparent 35%, transparent 70%, rgba(255,255,255,.15)); }
.pass-window b { position: relative; font-family: var(--display, inherit); font-weight: 800; font-style: italic; font-size: 9cqw; text-shadow: 0 .8cqw 0 rgba(0,0,0,.4); }
.pass-window small { position: relative; font-size: 3.4cqw; letter-spacing: .14em; opacity: .85; }
/* new players: silver pass with the welcome stamp */
.pass-face .pass-seal.welcome { background: radial-gradient(circle at 35% 30%, #ffffff, #b9c2ce 45%, #5f6977); animation: none; }
.pass-face .pass-seal.welcome span { font-size: 4.4cqw; letter-spacing: .06em; }
/* Shop tiles: the pass on top, then the name, price, stock and button. 2 columns on a phone */
.ps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.ps-tile { display: flex; flex-direction: column; gap: 10px; padding: 0 14px 14px; border: 1px solid var(--line); background: var(--panel); }
.ps-tile.done { opacity: .6; }
.ps-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ps-body h3 { margin: 0; font-size: 17px; }
.ps-body p { margin: 0; color: var(--muted); font-size: 13px; }
.ps-body small { color: var(--medium); font-size: 12px; }
.ps-body button { align-self: flex-start; }
.ps-pass .pass-big { width: min(150px, 100%); }
.rw-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.rw-tier { padding-top: 0; }
.sw-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.sw-pack { padding-top: 0; }
@media (max-width: 760px) {
  .ps-grid, .rw-grid, .sw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ps-tile, .rw-tier, .sw-pack { padding-left: 8px; padding-right: 8px; }
  .ps-body button, .rw-tier .go, .sw-pack .go { align-self: stretch; font-size: 14px; padding-left: 6px; padding-right: 6px; }
  .sw-card { min-width: 0; flex: 1 1 60px; padding: 6px; }
}
