/* Standouts Tracker (standouts-tracker.html, Dec 3, 2026). Loaded after streetcars.css (page chrome, chips, search,
   Filter pill + sheet). Prefix .st-. Tier colours = the map pins / card frames (gold Rare, red Exotic, blue Standout). */
.page-tracker { --st-gold: #ffb347; --st-red: #ff4d6d; --st-blue: #5aa8ff; --st-green: #3ee08f; }
.page-tracker .sc-top .tag { max-width: 64ch; }

/* headline */
.st-head { margin: 0 0 12px; padding: 14px 16px 12px; border-radius: 18px; background: linear-gradient(160deg, #22164a, #17102b 70%); border: 1px solid var(--sc-line); box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.st-head-n { margin: 0; font: 600 1.02rem/1.3 var(--font, system-ui); color: var(--sc-ink); }
.st-head-n b { font-family: var(--display); font-weight: 400; font-size: 1.7rem; letter-spacing: .02em; color: #fff; }
.st-head-n b:first-child { color: var(--sc-mint); }
.st-prog { position: relative; height: 10px; margin: 10px 0 6px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
.st-prog i { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: linear-gradient(90deg, #22e3d3, #3b8cff); transition: width .4s ease; }
.st-head-sub { margin: 0; font-size: .76rem; line-height: 1.4; color: var(--sc-dim); }
.st-stat { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.st-pill { min-height: 34px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--sc-line); background: rgba(255,255,255,.04); color: #dfd3ee; font: 600 .76rem/1 var(--font, system-ui); cursor: pointer; display: inline-flex; align-items: center; gap: 5px; }
.st-pill b { font-weight: 800; color: #fff; }
.st-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: 0 0 auto; }
.st-pill.is-on { border-color: var(--sc-blue); background: rgba(47,123,255,.2); }
.st-you { display: flex; align-items: center; gap: 10px; margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--sc-line); }
.st-you-n { font: 700 .86rem/1 var(--font, system-ui); color: var(--sc-ink); white-space: nowrap; }
.st-you .st-prog { flex: 1; height: 6px; margin: 0; }
.st-you .st-prog i { background: linear-gradient(90deg, #3ee08f, #22e3d3); }
.st-you-reset { min-height: 32px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--sc-line); background: transparent; color: var(--sc-dim); font: 600 .72rem/1 var(--font, system-ui); cursor: pointer; }
.st-you-note { margin: 4px 0 0; font-size: .68rem; color: #8f7fa8; }

/* status colours (badges + pills) */
.s-pinned { color: var(--st-green); }
.s-one { color: var(--st-gold); }
.s-reward { color: #c79bff; }
.s-none { color: #ff8a9a; }

/* sticky tools */
.st-sticky { position: sticky; top: 0; z-index: 40; margin: 0 -14px 10px; padding: 8px 14px 4px; background: #0b0716; box-shadow: 0 8px 14px -6px rgba(0,0,0,.7); border-bottom: 1px solid var(--sc-line); }
.st-chip .n { margin-left: 4px; opacity: .65; font-weight: 700; }
.st-chip.is-unc { border-style: dashed; }
.st-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.st-expand { min-height: 32px; padding: 0 10px; border: 0; background: none; color: var(--sc-mint); font: 700 .74rem/1 var(--font, system-ui); cursor: pointer; white-space: nowrap; }

/* sections */
.st-list { display: flex; flex-direction: column; gap: 12px; }
.st-sec { border-radius: 18px; background: rgba(255,255,255,.025); border: 1px solid var(--sc-line); scroll-margin-top: 120px; }
.st-sec.is-unc { border-style: dashed; }
.st-sec-h { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 28px; gap: 6px 8px; width: 100%; padding: 12px 14px 11px; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; font: inherit; min-height: 56px; }
.st-sec-t { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; min-width: 0; }
.st-sec-t b { font-family: var(--display); font-weight: 400; font-size: 1.45rem; line-height: 1; letter-spacing: .02em; text-transform: uppercase; color: #fff; overflow-wrap: anywhere; }
.st-sec-n { font: 800 .82rem/1 var(--font, system-ui); color: var(--sc-mint); white-space: nowrap; }
.st-sec-h .st-bar { grid-column: 1; position: relative; height: 5px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
.st-sec-h .st-bar i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, #22e3d3, #3b8cff); border-radius: inherit; }
.st-sec-sub { grid-column: 1; font-size: .72rem; color: var(--sc-dim); }
.st-chev { grid-column: 2; grid-row: 1 / 4; align-self: center; justify-self: center; width: 10px; height: 10px; border-right: 2px solid var(--sc-dim); border-bottom: 2px solid var(--sc-dim); transform: rotate(-45deg); transition: transform .2s; }
.st-sec.is-open .st-chev { transform: rotate(45deg); }
.st-grid { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 0 10px 12px; }
.st-grid[hidden] { display: none; }
.st-none { margin: 0; padding: 8px 4px; color: var(--sc-dim); font-size: .8rem; }

/* tile (Street Cars card look, compact) */
.st-tile { --c: var(--st-blue); position: relative; display: grid; grid-template-columns: 104px minmax(0, 1fr); border-radius: 16px; background: var(--sc-card); border: 1px solid var(--sc-line); border-left: 3px solid var(--c); overflow: hidden; scroll-margin-top: 130px; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.st-tile.t-gold { --c: var(--st-gold); }
.st-tile.t-red { --c: var(--st-red); }
.st-tile.is-hit { border-color: var(--sc-mint); box-shadow: 0 0 0 2px rgba(34,227,211,.5); }
.st-tile.is-found .st-pic img { filter: saturate(.55) brightness(.8); }
.st-pic { position: relative; display: flex; align-items: center; justify-content: center; min-height: 96px; background: linear-gradient(165deg, color-mix(in srgb, var(--c) 70%, #fff 6%) 0%, color-mix(in srgb, var(--c) 45%, #000 55%) 65%, #0d0820 100%); overflow: hidden; }
.st-pic::before { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 55% at 50% 35%, rgba(255,255,255,.22), transparent 70%); pointer-events: none; }
.st-pic img { position: relative; width: 150%; max-width: none; aspect-ratio: 2 / 1; object-fit: cover; -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 52%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 52%, transparent 100%); }
.st-noimg { display: none; position: relative; padding: 0 6px; font: 600 .58rem/1.2 var(--font, system-ui); letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); text-align: center; }
.st-pic.is-noimg .st-noimg { display: block; }
.st-cls { position: absolute; left: 6px; bottom: 6px; padding: 2px 6px; border-radius: 5px; background: rgba(0,0,0,.55); color: #fff; font: 700 .54rem/1.2 var(--font, system-ui); letter-spacing: .14em; text-transform: uppercase; }
.st-body { min-width: 0; padding: 9px 10px 9px 11px; display: flex; flex-direction: column; gap: 3px; }
.st-top { display: flex; flex-wrap: wrap; gap: 5px; margin: 0; }
.st-tier, .st-badge { display: inline-flex; align-items: center; padding: 2px 7px; border-radius: 999px; font: 800 .6rem/1.3 var(--font, system-ui); letter-spacing: .05em; text-transform: uppercase; }
.st-tier.t-gold { background: rgba(255,179,71,.18); color: #ffb347; }
.st-tier.t-red { background: rgba(255,77,109,.18); color: #ff7a93; }
.st-tier.t-blue { background: rgba(90,168,255,.18); color: #8cc2ff; }
.st-badge { background: rgba(255,255,255,.06); border: 1px solid currentColor; gap: 4px; }
.st-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-brand { margin: 2px 0 0; font: 500 .72rem/1.1 var(--font, system-ui); color: var(--sc-dim); }
.st-name { margin: 0; font-family: var(--display); font-weight: 400; font-size: 1.22rem; line-height: 1.05; letter-spacing: .01em; color: #fff; text-transform: uppercase; overflow-wrap: anywhere; }
.st-where { margin: 0; font-size: .72rem; line-height: 1.3; color: var(--sc-dim); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.st-vals { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 2px 0 0; }
.st-val { display: inline-flex; align-items: baseline; gap: 4px; white-space: nowrap; }
.st-val small { font: 600 .62rem/1 var(--font, system-ui); letter-spacing: .06em; text-transform: uppercase; color: #8f7fa8; }
.st-val b { font: 700 .8rem/1 var(--font, system-ui); }
.st-keep b { color: var(--sc-orange); }
.st-sell b { color: var(--st-green); }
.st-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 5px 0 0; }
.st-go { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 999px; background: linear-gradient(180deg, #3b8cff, #2468e8); color: #fff; font: 700 .74rem/1 var(--font, system-ui); text-decoration: none; }
.st-go::before { content: "📍"; margin-right: 5px; font-size: .8rem; }
.page-tracker .st-ft { min-height: 32px; margin: 0; padding: 0 12px; border-radius: 999px; font-size: .74rem; }

/* sheet extras */
.st-opt-t i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 50%; }
.st-opt-t.t-gold i { background: var(--st-gold); } .st-opt-t.t-red i { background: var(--st-red); } .st-opt-t.t-blue i { background: var(--st-blue); }
.st-upd { margin: 6px 0 0; font-size: .72rem; color: #8f7fa8; }

@media (min-width: 769px) {
  .st-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0 14px 14px; }
  .st-tile { grid-template-columns: 140px minmax(0, 1fr); }
  .st-name { font-size: 1.4rem; }
  .st-sec-t b { font-size: 1.7rem; }
  .st-head-n { font-size: 1.15rem; }
  .st-head-n b { font-size: 2.1rem; }
}
@media (min-width: 1200px) { .st-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 360px) { .st-tile { grid-template-columns: 88px minmax(0, 1fr); } .st-name { font-size: 1.08rem; } }
@media (prefers-reduced-motion: reduce) { .st-prog i, .st-chev { transition: none; } }

/* Group filter in the Filter sheet (Dec 3, 2026, owner pt636u): one group at a time, All first; wraps inside the sheet */
.st-f-group .sc-opt { min-height: 38px; padding: 0 13px; font-size: .82rem; }
.st-f-group .sc-opt.is-unc { border-style: dashed; }
