/* Season pass v3 (docs/superpowers/specs/2026-10-20-monetization-v2-design.md section A): the level
   medallion in the meters, the pass screen, the seal shop and the claim reveal. */
.meter-pass { position:relative; width:42px; height:42px; flex:none; border:0; padding:3px; border-radius:50%; cursor:pointer;
  background:conic-gradient(#ffc53d calc(var(--lvl,0) * 1%), #ffffff26 0); display:grid; place-items:center; }
.meter-pass img { width:36px; height:36px; border-radius:50%; background:#0b2f66; object-fit:contain; }
.meter-pass b { position:absolute; bottom:-5px; left:50%; transform:translateX(-50%); min-width:18px; padding:1px 5px;
  border-radius:8px; background:#0b2f66; color:#fff; font-size:11px; line-height:14px; text-align:center; box-shadow:0 1px 0 #0006; }
.meter-pass__dot { position:absolute; top:-4px; right:-4px; min-width:17px; height:17px; padding:0 4px; border-radius:9px;
  background:#e5484d; color:#fff; font-size:10px; font-weight:800; display:grid; place-items:center; }
.meter-pass.has-ready { animation:pass-pulse 1.6s ease-in-out infinite; }
.meter-pass.active { box-shadow:0 0 0 2px #fff; }
@keyframes pass-pulse { 50% { box-shadow:0 0 0 6px #ffc53d40; } }

.track-entry { width:100%; display:grid; grid-template-columns:auto 1fr auto; gap:12px; align-items:center; text-align:left;
  color:inherit; cursor:pointer; font:inherit; }
.track-entry__medal { width:56px; height:56px; }
.track-entry__body { display:grid; gap:6px; min-width:0; }
.track-entry__body small { opacity:.85; }
.track-entry__go { transform:rotate(-90deg); opacity:.7; }
.track-entry.has-ready .track-entry__medal { animation:pass-pulse 1.6s ease-in-out infinite; border-radius:50%; }

.pass-screen { padding-bottom:110px; }
.pass-head { display:grid; grid-template-columns:auto 1fr auto; gap:12px; align-items:center; }
.pass-head__medal { width:68px; height:68px; }
.pass-head h1 { margin:2px 0; }
.pass-head__timer { display:inline-flex; gap:4px; align-items:center; font-size:13px; opacity:.9; }
.pass-head__lvl { text-align:center; line-height:1; }
.pass-head__lvl b { display:block; font-size:30px; }
.pass-head__lvl small { opacity:.7; }
.pass-progress { display:grid; gap:4px; margin:10px 0 14px; }
.pass-catchup { justify-self:start; padding:3px 9px; border-radius:10px; background:#2fbf71; color:#043b1d; font-size:12px; font-weight:800; }
.pass-prev { display:grid; grid-template-columns:1fr auto; gap:4px 10px; align-items:center; margin-bottom:12px; padding:12px;
  border-radius:14px; background:#ffc53d1f; box-shadow:inset 0 0 0 1px #ffc53d55; }
.pass-prev small { grid-column:1; opacity:.8; }
.pass-prev .btn { grid-row:1 / span 2; grid-column:2; }

.pass-offer { margin-bottom:14px; }
.pass-hook { margin:0 0 6px; font-weight:800; }
.pass-chips { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:10px; }
.pass-chip { display:inline-flex; align-items:center; gap:4px; padding:4px 9px; border-radius:10px; background:#ffffff1a; }
.pass-chip__img, .pass-chip .ui-icon, .pass-chip .icon { width:22px; height:22px; }
.pass-cards { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.pass-cards.is-single { grid-template-columns:1fr; }
.pass-buy { position:relative; display:grid; gap:6px; align-content:start; padding:12px; border-radius:16px; background:#ffffff12; text-align:center; }
.pass-buy.is-elite { background:linear-gradient(160deg,#5b2bb85c,#ffd36b26); box-shadow:inset 0 0 0 2px #b57bff99; }
.pass-buy .store-badge { position:absolute; top:-8px; right:10px; }
.pass-buy__art { width:96px; height:auto; justify-self:center; }
.pass-buy h3 { margin:0; }
.pass-buy ul { list-style:none; margin:0; padding:0; display:grid; gap:3px; text-align:left; font-size:13px; }
.pass-buy li { display:flex; gap:6px; align-items:flex-start; }
.pass-buy li .icon { width:16px; height:16px; flex:none; margin-top:2px; color:#2fbf71; }
.pass-buy__btn { margin-top:auto; }
.pass-buy__why { font-size:12px; opacity:.75; }
.pass-early { margin:8px 0 0; }

.pass-tabs { display:grid; grid-template-columns:1fr 1fr; gap:6px; margin:6px 0 10px; }
.pass-tabs button { padding:10px; border:0; border-radius:12px; background:#ffffff12; color:inherit; font:inherit; font-weight:800; cursor:pointer; }
.pass-tabs button.is-on { background:#ffffff33; }
.pass-count { display:inline-grid; place-items:center; min-width:18px; height:18px; margin-left:4px; padding:0 4px; border-radius:9px;
  background:#e5484d; color:#fff; font-size:11px; }

.pass-track { display:grid; gap:6px; margin-top:8px; }
.pass-track__head { display:grid; grid-template-columns:1fr 44px 1fr; text-align:center; font-size:12px; opacity:.7; }
.pass-row { display:grid; grid-template-columns:1fr 44px 1fr; gap:6px; align-items:stretch; }
.pass-node { position:relative; display:grid; place-items:center; }
.pass-node::before { content:""; position:absolute; top:-7px; bottom:-7px; width:4px; border-radius:2px; background:#ffffff26; }
.pass-row.is-reached .pass-node::before { background:#ffc53d; }
.pass-node b { position:relative; width:30px; height:30px; border-radius:50%; display:grid; place-items:center; background:#0b2f66; font-size:13px; }
.pass-row.is-reached .pass-node b { background:#ffc53d; color:#3a2300; }
.pass-row.is-next .pass-node b { box-shadow:0 0 0 2px #ffc53d; }
.pass-row.is-major .pass-node b { width:38px; height:38px; font-size:15px; box-shadow:0 0 14px #ffc53d88; }
.pass-cell { position:relative; display:flex; align-items:center; gap:6px; min-width:0; min-height:54px; padding:8px; border:0; border-radius:12px;
  background:#ffffff10; color:inherit; font:inherit; font-size:12px; text-align:left; cursor:pointer; }
.pass-cell:disabled { cursor:default; }
.pass-cell > span { overflow:hidden; text-overflow:ellipsis; }
.pass-cell.is-paid { background:#ffc53d17; }
.pass-cell.is-ready { box-shadow:inset 0 0 0 2px #ffc53d; animation:pass-pulse 1.6s ease-in-out infinite; }
.pass-cell.is-claimed { opacity:.55; }
.pass-cell.is-locked { filter:saturate(.55); }
.pass-cell .egg-art, .pass-cell .spark-img, .pass-cell .ui-icon { width:28px; height:28px; flex:none; }
.pass-cell__mark { position:absolute; top:4px; right:5px; }
.pass-cell__mark .icon { width:14px; height:14px; }
.pass-cell__open { position:absolute; right:6px; bottom:3px; font-size:10px; font-style:normal; font-weight:800; color:#ffc53d; }

.pass-levels { display:grid; grid-template-columns:auto 1fr auto; gap:8px 10px; align-items:center; margin-top:16px; padding:12px;
  border-radius:14px; background:#ffffff10; }
.pass-levels h3 { grid-column:1 / -1; margin:0; }
.pass-levels small { grid-column:1 / -1; opacity:.75; }
.pass-stepper { display:inline-flex; gap:10px; align-items:center; }
.pass-stepper b { min-width:22px; text-align:center; font-size:18px; }

.pass-shop { display:grid; gap:8px; }
.pass-seals { display:grid; grid-template-columns:auto auto 1fr; gap:8px; align-items:center; padding:10px 12px; border-radius:14px; background:#ffffff10; }
.pass-seals b { font-size:24px; }
.seal-img { width:28px; height:28px; }
.seal-row .btn { display:inline-flex; gap:4px; align-items:center; }
.seal-row .seal-img { width:22px; height:22px; }
.seal-row.is-off { opacity:.6; }

.pass-claim { position:sticky; bottom:calc(env(safe-area-inset-bottom,0px) + 76px); z-index:3; margin-top:12px; }
.pass-reveal { text-align:center; }
.pass-reveal__grid { display:grid; width:100%; max-width:420px; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin:10px auto 14px; }
.pass-reveal__card { margin:0; padding:10px; border-radius:14px; background:#ffffff14; display:grid; gap:4px; justify-items:center; font-size:12px;
  animation:pass-pop .45s cubic-bezier(.2,1.4,.4,1) both; animation-delay:calc(var(--i) * 90ms); }
.pass-reveal__card.is-paid { box-shadow:inset 0 0 0 2px #ffc53d88; }
.pass-reveal__card .egg-art, .pass-reveal__card .spark-img, .pass-reveal__card .ui-icon { width:44px; height:44px; }
.pass-reveal__card figcaption { opacity:.75; }
@keyframes pass-pop { from { transform:scale(.4); opacity:0; } }

.store-pass.is-elite { box-shadow:inset 0 0 0 2px #b57bff99; background:linear-gradient(160deg,#5b2bb847,#ffd36b1f); position:relative; }
.store-pass.is-elite .store-badge { position:absolute; top:-8px; right:10px; }
.store-pass-open { margin-top:8px; }

@media (max-width:360px) { .pass-cards { grid-template-columns:1fr; } .pass-cell { font-size:11px; } }
@media (prefers-reduced-motion:reduce) { .meter-pass.has-ready, .track-entry.has-ready .track-entry__medal, .pass-cell.is-ready, .pass-reveal__card { animation:none; } }
/* The medallion takes its own column in the meters grid (profile.css: avatar + n resource tiles). */
#meters.has-medal, body.game-mode #meters.has-medal { grid-template-columns:auto auto minmax(0,1fr); }
@media (max-width:380px) { .meter-pass { width:38px; height:38px; } .meter-pass img { width:32px; height:32px; } }
.seal-row { display:grid; grid-template-columns:auto 1fr auto; gap:10px; align-items:center; }
.seal-row__art { width:34px; height:34px; }
