/* ═══════════════════════════════════════════════════════════════════
   Powered by The Art of Jumping — co-brand layer (loads after theme-app.css)
   VolleyElite blue (#1ca0ef) stays the primary brand: logo, navigation, main buttons, the score ring.
   AOJ Blue #233DFF, Deep Navy #050819 and White are the accent colours: the Powered-by lockup,
   film checks, cue boxes, the three diagnostic lenses and coach reports.
   AOJ Blue is a FILL colour (white text on it passes AA). For AOJ-coloured text on dark we use --aoj-ink.
   ═══════════════════════════════════════════════════════════════════ */
:root { --aoj-blue: #233DFF; --aoj-blue-2: #3F57FF; --aoj-navy: #050819; --aoj-white: #FFFFFF;
  --aoj-mark: url(/img/aoj-mark-white.png); }
:root, [data-theme="dark"] { --aoj-ink: #94A0FF; --aoj-soft: rgba(35, 61, 255, .16); --aoj-soft2: rgba(35, 61, 255, .26);
  --aoj-edge: rgba(110, 126, 255, .42); --aoj-surface: #070C2A; --aoj-badge: #050819; --aoj-badge-edge: rgba(110, 126, 255, .38); }
[data-theme="light"] { --aoj-ink: #233DFF; --aoj-soft: rgba(35, 61, 255, .07); --aoj-soft2: rgba(35, 61, 255, .13);
  --aoj-edge: rgba(35, 61, 255, .3); --aoj-surface: #EEF0FF; --aoj-badge: #050819; --aoj-badge-edge: transparent; }

/* The AOJ jumper mark, coloured by `color` (mask), and the blue tile from Ty's letter squares */
.aoj-mark { display: inline-block; width: 1.2em; height: 1em; background: currentColor; flex-shrink: 0; vertical-align: -0.12em;
  -webkit-mask: var(--aoj-mark) center / contain no-repeat; mask: var(--aoj-mark) center / contain no-repeat; }
.aoj-tile { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; flex-shrink: 0;
  background: var(--aoj-blue); color: #fff; }
.aoj-tile .aoj-mark { width: 19px; height: 16px; }

/* ── App bar lockup: VE mark | Jump Analyzer / Powered by AOJ ── */
.app-logo.app-lockup { gap: 10px; }
.app-lockup .lk-t { display: flex !important; flex-direction: column; justify-content: center; gap: 3px; padding-left: 10px; border-left: 1px solid var(--a-line);
  font: inherit; color: inherit; white-space: nowrap; min-width: 0; }
.app-lockup .lk-t span { border-left: 0; padding-left: 0; }   /* the base bar gives every logo span a divider; the lockup wants exactly one */
.app-lockup .lk-name { font: 700 13.5px/1.05 var(--a-font); color: var(--a-ink); letter-spacing: -.01em; }
.app-lockup .lk-by { display: flex; align-items: center; gap: 5px; font: 600 9.5px/1.1 var(--a-font); letter-spacing: .08em; text-transform: uppercase; color: var(--a-ink3); }
.app-lockup .lk-by small { font: inherit; }
.app-lockup .lk-aoj { display: inline-flex; align-items: center; gap: 4px; color: var(--a-ink); font-weight: 800; }
.app-lockup .lk-aoj .aoj-mark { color: var(--aoj-ink); width: 13px; height: 11px; }
/* Phones: the bar is tight, so it reads VE | Powered by / The Art of Jumping (the product name sits on the page itself) */
@media (max-width: 430px) {
  .app-lockup .lk-name { display: none; }
  .app-lockup .lk-by { flex-direction: column; align-items: flex-start; gap: 2px; }
  .app-lockup .lk-by small { font: 600 8.5px/1 var(--a-font); letter-spacing: .14em; color: var(--a-ink3); }
  .app-lockup .lk-aoj { font: 800 12.5px/1.05 var(--a-font); letter-spacing: -.005em; text-transform: none; color: var(--a-ink); }
  .app-lockup .lk-aoj .aoj-mark { width: 15px; height: 12px; }
}

/* ── Powered-by badge: navy chip, blue tile, white type ── */
.aoj-pb { display: inline-flex; align-items: center; gap: 9px; padding: 6px 13px 6px 6px; border-radius: 99px; background: var(--aoj-badge);
  border: 1px solid var(--aoj-badge-edge); color: #fff; text-decoration: none; max-width: 100%; }
.aoj-pb .aoj-tile { width: 24px; height: 24px; border-radius: 99px; }
.aoj-pb .aoj-tile .aoj-mark { width: 16px; height: 13px; }
.aoj-pb > span:last-child { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.aoj-pb small { font: 600 9px var(--a-font); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.aoj-pb b { font: 800 12px var(--a-font); letter-spacing: .06em; text-transform: uppercase; color: #fff; white-space: nowrap; }
.aoj-pb.lg { padding: 8px 18px 8px 8px; gap: 12px; }
.aoj-pb.lg .aoj-tile { width: 32px; height: 32px; }
.aoj-pb.lg .aoj-tile .aoj-mark { width: 21px; height: 17px; }
.aoj-pb.lg small { font-size: 10px; }
.aoj-pb.lg b { font-size: 14px; }
.app-h1 + .aoj-pb, .hero .aoj-pb { margin: 12px 0 2px; }
/* Desktop home is a two-column grid: keep the badge beside the title instead of letting it auto-place (and stretch) at the bottom */
.hero > .aoj-pb { justify-self: start; }
@media (min-width: 1024px) { .hero > .app-date { grid-row: 1; } .hero > .app-h1 { grid-row: 2; } .hero > .aoj-pb { grid-column: 2; grid-row: 2; justify-self: end; align-self: start; margin: 6px 0 0; } }

/* ── Co-brand footer: both marks, both names ── */
.co-foot { max-width: var(--a-col); margin: 34px auto 0; padding: 18px 20px 6px; display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-align: center; border-top: 1px solid var(--a-line); }
.co-foot .co-row { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.co-foot .co-ve { display: inline-flex; align-items: center; gap: 8px; font: 700 12.5px var(--a-font); color: var(--a-ink); }
.co-foot .co-ve img { height: 16px; width: auto; display: block; }
[data-theme="light"] .co-foot .co-ve img { filter: brightness(0); }
.co-foot .co-x { width: 1px; height: 20px; background: var(--a-line); }
.co-foot .co-aoj { display: inline-flex; align-items: center; gap: 8px; font: 600 12px var(--a-font); color: var(--a-ink2); }
.co-foot .co-aoj b { color: var(--a-ink); font-weight: 800; }
.co-foot .co-aoj .aoj-tile { width: 22px; height: 22px; border-radius: 6px; }
.co-foot .co-aoj .aoj-tile .aoj-mark { width: 15px; height: 12px; }
.co-foot p { margin: 0; font: 500 11.5px/1.45 var(--a-font); color: var(--a-ink3); max-width: 380px; }

/* ── Film check: Ty's blue callout (a question to answer on your own video) ── */
.aoj-check { display: block; margin: 14px 0 2px; padding: 13px 16px 14px; border-radius: 16px; background: var(--aoj-blue); color: #fff;
  box-shadow: 0 10px 26px rgba(35, 61, 255, .22); }
.aoj-check > span { display: flex; align-items: center; gap: 6px; font: 800 10.5px var(--a-font); letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255, 255, 255, .82); }
.aoj-check > span .aoj-mark { color: #fff; width: 14px; height: 12px; }
.aoj-check > b { display: block; margin-top: 5px; font: 700 16.5px/1.3 var(--a-font); letter-spacing: -.01em; color: #fff; }
[data-theme="light"] .aoj-check { box-shadow: 0 8px 22px rgba(35, 61, 255, .18); }

/* ── Coaching cue (the cue box in each fix) ── */
.p-cue.aoj-cue { border-left: 3px solid var(--aoj-blue) !important; background: var(--aoj-soft) !important; }
.p-cue.aoj-cue > span:first-child { display: flex !important; align-items: center; gap: 6px; margin-bottom: 6px; color: var(--aoj-ink) !important; }
.p-cue.aoj-cue > span:first-child .aoj-mark { width: 14px; height: 12px; }

/* ── Report header badge (under the score) and section badges ── */
.rp-pb { display: flex; justify-content: center; margin: 14px 0 4px; }
.aoj-sec { display: inline-flex; align-items: center; gap: 6px; font: 800 10.5px var(--a-font); letter-spacing: .14em; text-transform: uppercase; color: var(--aoj-ink); }
.aoj-sec .aoj-mark { width: 14px; height: 12px; }

/* ── Loading screen credit ── */
.ld-pb { display: flex; justify-content: center; margin-top: 18px; }

/* ── Buttons in AOJ blue (for AOJ education / Overhaul links) ── */
.aoj-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 99px; border: 0;
  background: var(--aoj-blue); color: #fff !important; font: 700 14.5px var(--a-font); text-decoration: none; cursor: pointer; }
.aoj-btn:hover { background: var(--aoj-blue-2); }
.aoj-btn:active { transform: scale(.98); }
.aoj-btn .aoj-mark { color: #fff; width: 16px; height: 13px; }

/* Print (report PDF via browser) keeps the brand colours */
@media print { .aoj-check, .aoj-pb, .aoj-tile { -webkit-print-color-adjust: exact; print-color-adjust: exact; } }

/* Compact badge (report score card, top right) */
.aoj-pb.sm { padding: 4px 10px 4px 4px; gap: 7px; }
.aoj-pb.sm .aoj-tile { width: 20px; height: 20px; }
.aoj-pb.sm .aoj-tile .aoj-mark { width: 13px; height: 11px; }
.aoj-pb.sm small { font-size: 7.5px; letter-spacing: .14em; }
.aoj-pb.sm b { font-size: 10px; letter-spacing: .05em; }
.a-score-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }

@media (max-width: 430px) {
  .co-foot .co-row { flex-direction: column; gap: 8px; }
  .co-foot .co-x { display: none; }
}

/* Very tight bars (small phones, or signed in with the avatar showing): just the two marks, VE | AOJ tile */
.app-lockup .lk-tile { display: none; width: 24px; height: 24px; border-radius: 7px; }
.app-lockup .lk-tile .aoj-mark { width: 16px; height: 13px; }
@media (max-width: 365px) { .app-lockup .lk-by { display: none; } .app-lockup .lk-tile { display: inline-grid; } }
@media (max-width: 400px) {
  .app-top-in:has(.app-avatar:not([hidden])) .app-lockup .lk-by { display: none; }
  .app-top-in:has(.app-avatar:not([hidden])) .app-lockup .lk-tile { display: inline-grid; }
}

/* ── Plans page: badge + Coach Tier teaser ── */
.g-plans-head .aoj-pb { margin-top: 14px; }
.g-coach-tier { margin-top: 14px; padding: 20px; border-radius: 24px; color: #fff;
  background: radial-gradient(120% 120% at 100% 0%, rgba(35, 61, 255, .55), transparent 60%), linear-gradient(160deg, #0b1650, var(--aoj-navy) 72%);
  box-shadow: inset 0 0 0 1px rgba(110, 126, 255, .28); }
.g-ct-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.g-coach-tier .g-eyebrow { color: #9fb0ff; }
.g-coach-tier .aoj-sec { color: #c6cfff; }
.g-coach-tier .aoj-sec .aoj-mark { color: #fff; }
.g-coach-tier h3 { font: 750 22px var(--a-font); margin: 10px 0 6px; color: #fff; }
.g-coach-tier p { font: 500 14.5px/1.5 var(--a-font); color: rgba(255, 255, 255, .84); margin: 0; }
.g-ct-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0 4px; }
.g-ct-plans > div { padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .08); display: flex; flex-direction: column; gap: 2px; }
.g-ct-plans b { font: 750 15px var(--a-font); color: #fff; }
.g-ct-plans span { font: 600 12.5px var(--a-font); color: rgba(255, 255, 255, .7); }
.g-coach-tier .g-cta { background: var(--aoj-blue); color: #fff; }

/* ── Filming guide + challenge pages ── */
.fg-page-top .app-lockup { color: var(--a-ink); text-decoration: none; }
.fg-page-top .app-lockup img { height: 22px; }
.fg-pb { margin-top: 14px; }
.fg-standalone .co-foot { margin-top: 26px; }
.ch-top .app-lockup { color: var(--a-ink); text-decoration: none; }
.ch-top .app-lockup img { height: 22px; }
.ch-pb { display: flex; justify-content: center; margin-top: 18px; }
.ch-pb .aoj-pb { background: rgba(5, 8, 25, .72); }
.ch-foot-aoj { display: inline-flex; align-items: center; gap: 5px; color: var(--a-ink2); }
.ch-foot-aoj .aoj-mark { color: var(--aoj-ink); width: 13px; height: 11px; }
/* Filming guide bar has a long button: marks-only lockup on phones (the hero badge right below spells it out) */
@media (max-width: 430px) { .fg-page-top .app-lockup .lk-by { display: none; } .fg-page-top .app-lockup .lk-tile { display: inline-grid; } }
