/* Analysis paralysis lesson. All rules scoped under .apz-* */
.apz-sc { position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.apz-hero img { width: 260px; max-width: 100%; max-height: 34vh; object-fit: contain; display: block; margin: 0 auto; filter: drop-shadow(0 18px 30px rgba(123,92,253,.3)); }
.apz-hero.wide img { width: 300px; }
.apz-hero.art img { width: 220px; }
.apz-note { font-size: 13px; color: var(--dim); text-align: center; max-width: 300px; }

/* the clock */
.apz-clock { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; max-width: 300px; }
.apz-ct { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 8px; border-radius: 14px; background: var(--raised); border: 1.5px solid var(--line); }
.apz-ct small { font: 700 12px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.apz-ct b { font: 700 26px var(--mono); color: var(--text); font-variant-numeric: tabular-nums; }
.apz-clock.hot .apz-cx { color: var(--red); }
.apz-out { min-height: 64px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.apz-roll { font: 700 22px var(--sans); color: var(--gold); animation: apzIn .25s ease-out both; }
.apz-sum { font-size: 15px; color: var(--dim); text-align: center; animation: apzIn .3s ease-out both; }
.apz-sum b { color: var(--gold); font-size: 17px; }
@keyframes apzIn { from { opacity: 0; transform: translateY(6px); } }

/* cards as the answers */
.choices.apz-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.choice.apz-card { flex-direction: column; justify-content: center; align-items: center; gap: 4px; min-height: 104px; padding: 10px 6px; text-align: center; }
.apz-cb { font: 700 22px var(--mono); color: var(--gold); }
.apz-cu { font-size: 13px; line-height: 1.25; color: var(--dim); }

/* the averages */
.apz-avgs { width: 100%; max-width: 340px; display: flex; flex-direction: column; gap: 8px; }
.apz-avg { display: grid; grid-template-columns: 84px 1fr 36px; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; background: var(--raised); border: 1.5px solid var(--line); }
.apz-ac { display: flex; flex-direction: column; font: 700 17px var(--mono); color: var(--gold); line-height: 1.15; }
.apz-ac small { font: 500 12px var(--sans); color: var(--dim); }
.apz-ap { display: flex; gap: 3px; }
.apz-ap i { font: 700 12px var(--mono); font-style: normal; min-width: 20px; padding: 3px 0; border-radius: 6px; text-align: center; background: var(--surface); color: var(--faint); border: 1px solid var(--line); }
.apz-ap i.g { background: rgba(252,192,80,.16); color: var(--gold); border-color: rgba(252,192,80,.5); }
.apz-avg > b { font: 700 20px var(--mono); color: var(--text); text-align: right; }

/* snack pairs */
.apz-pairs { width: 100%; max-width: 340px; display: flex; flex-direction: column; gap: 10px; }
.apz-pair { padding: 10px 12px; border-radius: 14px; background: var(--raised); border: 1.5px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.apz-pair small { font: 700 12px var(--sans); color: var(--dim); letter-spacing: .06em; text-transform: uppercase; }
.apz-pr { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.apz-pr span { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.apz-pr b { font: 700 16px var(--sans); color: var(--text); }
.apz-pr em { font-style: normal; font-size: 13px; color: var(--faint); }
.apz-h { color: #F36F8C; font-size: 15px; letter-spacing: 1px; }
.apz-h i { font-style: normal; color: var(--line-strong); }

/* each card wins at something */
.apz-tags { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; max-width: 340px; }
.apz-tc { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px; border-radius: 14px; background: var(--raised); border: 1.5px solid var(--line); text-align: center; }
.apz-tc em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--mint); line-height: 1.2; }

/* the jam: then and later */
.apz-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; max-width: 330px; }
.apz-stat { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 10px; border-radius: 14px; background: var(--raised); border: 1.5px solid var(--line); text-align: center; }
.apz-stat b { font: 700 38px var(--mono); color: var(--gold); line-height: 1; }
.apz-stat span { font-size: 13px; color: var(--dim); line-height: 1.3; }

/* the bar round */
.apz-bar { display: flex; align-items: baseline; gap: 10px; padding: 8px 16px; border-radius: 999px; border: 2px dashed var(--mint); }
.apz-bar small { font: 700 12px var(--sans); color: var(--mint); letter-spacing: .08em; text-transform: uppercase; }
.apz-bar b { font: 700 17px var(--sans); color: var(--text); }
.apz-slot { min-height: 76px; display: grid; place-items: center; }
.apz-one { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 26px; border-radius: 14px; background: var(--raised); border: 1.5px solid var(--line-strong); animation: apzIn .22s ease-out both; }
.apz-one b { font: 700 26px var(--mono); color: var(--gold); }
.apz-one span { font-size: 13px; color: var(--dim); }
.apz-seq { display: flex; gap: 8px; }
.apz-seq i { min-width: 36px; height: 28px; border-radius: 8px; border: 2px solid var(--line-strong); display: grid; place-items: center; font: 700 13px var(--mono); font-style: normal; color: var(--dim); }
.apz-seq i.now { border-color: var(--violet-bright); }
.apz-seq i.past { background: var(--surface); }
.apz-seq i.mine { border-color: var(--gold); color: var(--gold); background: rgba(252,192,80,.14); }
.apz-seq i.best { border-color: var(--mint); color: var(--mint); }

@media (max-height: 700px) {
  .apz-ct b { font-size: 22px; }
  .choice.apz-card { min-height: 92px; }
  .apz-hero img { max-height: 28vh; }
}

/* two shelves of phones */
.apz-shelves { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 330px; }
.apz-shelf { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border-radius: 14px; background: var(--raised); border: 1.5px solid var(--line); }
.apz-shelf small { font: 700 12px var(--sans); color: var(--dim); letter-spacing: .06em; text-transform: uppercase; }
.apz-phones { display: flex; gap: 6px; flex-wrap: wrap; }
.apz-phones i { width: 16px; height: 28px; border-radius: 4px; border: 2px solid var(--line-strong); background: var(--surface); }
.apz-phones i.star { border-color: var(--gold); background: rgba(252,192,80,.2); }
.apz-phones i.cam { border-color: var(--violet-bright); background: rgba(123,92,253,.2); }
.apz-phones i.bat { border-color: var(--mint); }
.apz-sn { font-size: 13px; color: var(--dim); }
.apz-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.apz-two span { padding: 10px 6px; border-radius: 10px; border: 2px solid var(--line-strong); text-align: center; font: 700 14px var(--sans); color: var(--text); }
.apz-avgs.apz-hid .apz-avg > b { visibility: hidden; }
.apz-bar.apz-max { border-color: var(--gold); }
.apz-bar.apz-max small { color: var(--gold); }
