/* ============================================================
   REV7 INTERACT — interaction upgrade layer (loads after site.css).
   Andrew's order 2026-10-15: obvious download buttons, play
   everywhere, sound boards, listen sessions, dwell/discovery.
   Rules kept: vertical scroll only, no fake counters, no dark
   patterns, no autoplay with sound, >=44px targets, focus-visible.
   ============================================================ */

/* ---------- 1. OBVIOUS CTAs ---------- */
a.btn.r7-bigcta{
  font-size:1.06rem;font-weight:700;letter-spacing:.02em;
  padding:17px 26px;min-height:56px;
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  box-shadow:0 12px 34px rgba(232,196,118,.35),inset 0 1px 0 rgba(255,255,255,.16);
}
.card .foot a.btn.r7-bigcta{width:100%;box-sizing:border-box}
a.btn.r7-bigcta .r7-dl{font-weight:800;font-size:1.12em;line-height:1}
a.free-claim.r7-claim{
  color:var(--gold-pop);font-weight:800;letter-spacing:.04em;
  text-decoration:none;white-space:nowrap;
}
.sheet a.btn.r7-bigcta{width:100%;box-sizing:border-box}

/* Card play button: bigger, always obvious */
.card .art-play{
  width:58px;height:58px;font-size:1.05rem;
  background:var(--cta-bg);color:var(--cta-ink);
  border:1px solid rgba(255,255,255,.25);
  box-shadow:0 10px 26px rgba(0,0,0,.5),0 4px 14px rgba(232,98,44,.35);
}
.card.playing .art-play{animation:r7pulse 1.6s ease-in-out infinite}
@keyframes r7pulse{
  0%,100%{box-shadow:0 10px 26px rgba(0,0,0,.5),0 0 0 0 rgba(232,196,118,.45)}
  50%{box-shadow:0 10px 26px rgba(0,0,0,.5),0 0 0 12px rgba(232,196,118,0)}
}
/* Card progress bar (mirrors the dock progress while this card plays) */
.r7-cardprog{
  position:absolute;left:0;right:0;bottom:0;height:5px;z-index:4;
  background:rgba(255,255,255,.14);display:none;
}
.card.playing .r7-cardprog{display:block}
.r7-cardprog i{display:block;height:100%;width:0%;
  background:linear-gradient(90deg,var(--accent-bright),var(--accent))}
/* Pack play-all pill inside the card playlist head */
.r7-packplay{
  margin-left:auto;display:inline-flex;align-items:center;gap:6px;cursor:pointer;
  background:var(--cta-bg);color:var(--cta-ink);border:0;border-radius:999px;
  font-size:.72rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;
  padding:8px 14px;min-height:36px;box-sizing:border-box;flex:none;
  transition:transform var(--dur-fast) var(--ease);
}
.r7-packplay:active{transform:scale(.96)}
.playlist .pl-head{flex-wrap:wrap;row-gap:8px}

/* Card art video (visuals lane) */
.r7-artvid{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:2;
  background:#0A0A0B;
}
.card .art{position:relative}

/* ---------- 2. FREE SHELF FRONT DOOR ---------- */
.r7-freestrip{
  margin:26px 0 6px;padding:18px 20px;border-radius:var(--radius-lg);
  border:1px solid rgba(232,196,118,.4);background:rgba(232,196,118,.06);
  display:flex;align-items:center;gap:18px;flex-wrap:wrap;
}
.r7-freestrip .r7-fs-main{flex:1;min-width:220px}
.r7-freestrip .r7-fs-title{font-size:1.12rem;font-weight:800;line-height:1.3;margin:0}
.r7-freestrip .r7-fs-sub{color:var(--muted-light);font-size:.9rem;line-height:1.45;margin:4px 0 0}
.r7-bigplay{
  display:inline-flex;align-items:center;gap:10px;cursor:pointer;flex:none;
  background:var(--cta-bg);color:var(--cta-ink);border:0;border-radius:999px;
  font-size:1rem;font-weight:800;letter-spacing:.01em;
  padding:16px 26px;min-height:56px;box-sizing:border-box;
  box-shadow:0 12px 30px rgba(232,196,118,.3);
  transition:transform var(--dur-fast) var(--ease);
}
.r7-bigplay:active{transform:scale(.97)}
.free-row .r7-rowplay{
  flex:none;width:40px;height:40px;border-radius:999px;cursor:pointer;
  background:transparent;color:var(--gold-pop);
  border:1px solid rgba(232,196,118,.6);font-size:.8rem;
  display:inline-flex;align-items:center;justify-content:center;
  transition:background var(--dur-fast) var(--ease),color var(--dur-fast) var(--ease);
}
.free-row .r7-rowplay:active{transform:scale(.94)}
@media (hover:hover){.free-row .r7-rowplay:hover{background:var(--accent);color:var(--cta-ink)}}

/* ---------- 3. SOUND BOARDS ---------- */
.r7-board{
  margin-top:30px;padding:20px;border-radius:var(--radius-lg);
  border:var(--hairline-warm);background:rgba(255,255,255,.025);
}
.r7-board-head{display:flex;align-items:flex-end;gap:16px;flex-wrap:wrap;margin-bottom:6px}
.r7-board-head h3{font-size:1.25rem;letter-spacing:var(--track-headline);margin:0;line-height:1.2}
.r7-board-head .r7-board-sub{color:var(--muted-light);font-size:.9rem;margin:4px 0 0;line-height:1.45}
.r7-board-cta{margin-left:auto;display:flex;gap:10px;flex-wrap:wrap}
.r7-board-cta .btn{min-width:0;padding:12px 20px;font-size:.92rem}
.r7-padgroup{
  font-size:.72rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase;
  color:var(--muted-light);margin:18px 0 8px;
}
.r7-pads{display:grid;grid-template-columns:repeat(auto-fill,minmax(82px,1fr));gap:8px}
.r7-pad{
  appearance:none;cursor:pointer;border-radius:var(--radius-md);
  border:1px solid rgba(232,196,118,.28);background:var(--navy-800);color:var(--ink-light);
  min-height:64px;padding:10px 6px;box-sizing:border-box;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;
  font-family:inherit;text-align:center;
  transition:background .12s var(--ease),transform .12s var(--ease),border-color .12s var(--ease);
  -webkit-tap-highlight-color:transparent;touch-action:manipulation;user-select:none;
}
.r7-pad .r7-pad-name{font-size:.86rem;font-weight:800;line-height:1.15}
.r7-pad .r7-pad-sub{font-size:.64rem;font-weight:600;letter-spacing:.06em;color:var(--muted-light);line-height:1.2}
.r7-pad.on,.r7-pad:active{background:var(--accent);color:var(--cta-ink);border-color:var(--accent-bright);transform:scale(.97)}
.r7-pad.on .r7-pad-sub,.r7-pad:active .r7-pad-sub{color:rgba(10,8,6,.65)}
.r7-pad.loading{opacity:.45;pointer-events:none}
.r7-board-note{color:var(--muted-light);font-size:.8rem;margin:12px 0 0}

/* ---------- 4. LISTEN STRIP (session + keep-listening) ---------- */
#r7Strip{
  position:fixed;left:0;right:0;bottom:var(--dock-h,0px);z-index:59;
  display:none;padding:10px 14px calc(10px + var(--safe-b));
  background:rgba(12,10,6,.94);border-top:1px solid rgba(232,196,118,.45);
  -webkit-backdrop-filter:saturate(160%) blur(18px);backdrop-filter:saturate(160%) blur(18px);
  box-shadow:0 -10px 30px rgba(0,0,0,.45);
}
#r7Strip.on{display:block}
.r7-strip-in{max-width:980px;margin:0 auto;display:flex;align-items:center;gap:12px}
.r7-strip-in img{width:44px;height:44px;border-radius:8px;object-fit:cover;flex:none;border:1px solid rgba(255,255,255,.14)}
.r7-strip-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.r7-strip-eyebrow{font-size:.66rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase;color:var(--gold-pop);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.r7-strip-name{font-size:.92rem;font-weight:700;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.r7-strip-btn{
  flex:none;display:inline-flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;
  border-radius:999px;min-height:44px;box-sizing:border-box;font-family:inherit;
  font-size:.8rem;font-weight:800;letter-spacing:.04em;padding:10px 16px;
  background:var(--cta-bg);color:var(--cta-ink);border:1px solid var(--gold-pop);text-decoration:none;
}
.r7-strip-btn.ghosty{background:transparent;color:var(--gold-pop)}
.r7-strip-btn:active{transform:scale(.96)}
@media (max-width:560px){
  .r7-strip-in{gap:8px}
  .r7-strip-in img{display:none}
  .r7-strip-btn{padding:10px 12px;font-size:.76rem}
  .r7-strip-cta{display:none}
}

/* ---------- 5. RECENTLY PLAYED ---------- */
.r7-recent-sec{display:none}
.r7-recent-sec.on{display:block}
.r7-recent-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}
.r7-recent-chip{
  display:flex;align-items:center;gap:12px;padding:10px 12px;flex:1 1 260px;min-width:0;
  border:var(--hairline-warm);border-radius:var(--radius-md);background:rgba(255,255,255,.025);
}
.r7-recent-chip img{width:48px;height:48px;border-radius:8px;object-fit:cover;flex:none}
.r7-recent-chip .r7-rc-main{flex:1;min-width:0}
.r7-recent-chip .r7-rc-name{font-size:.9rem;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.r7-recent-chip .r7-rc-meta{font-size:.76rem;color:var(--muted-light)}
.r7-recent-chip .r7-rc-play{
  flex:none;width:44px;height:44px;border-radius:999px;cursor:pointer;
  background:var(--cta-bg);color:var(--cta-ink);border:0;font-size:.85rem;
  display:inline-flex;align-items:center;justify-content:center;
}
.r7-recent-chip .r7-rc-get{flex:none;font-size:.8rem;font-weight:800;color:var(--gold-pop);text-decoration:none;white-space:nowrap}

/* ---------- 6. MOBILE BOTTOM BAR ---------- */
.r7-mobilebar{
  display:none;position:fixed;left:0;right:0;bottom:0;z-index:58;
  padding:8px 12px calc(8px + var(--safe-b));
  background:rgba(9,9,11,.92);border-top:1px solid rgba(232,196,118,.3);
  -webkit-backdrop-filter:saturate(160%) blur(18px);backdrop-filter:saturate(160%) blur(18px);
  gap:10px;
}
.r7-mobilebar a,.r7-mobilebar button{
  flex:1;display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:48px;border-radius:999px;font-size:.92rem;font-weight:800;cursor:pointer;
  font-family:inherit;text-decoration:none;box-sizing:border-box;
}
.r7-mobilebar .r7-mb-free{background:var(--cta-bg);color:var(--cta-ink);border:1px solid var(--gold-pop)}
.r7-mobilebar .r7-mb-listen{background:transparent;color:var(--gold-pop);border:1px solid rgba(232,196,118,.6)}
@media (max-width:700px){
  .r7-mobilebar{display:flex}
  body::after{content:"";display:block;height:66px}
}
body:has(.dock.on) .r7-mobilebar,
body:has(.sheet-backdrop.on) .r7-mobilebar,
body.r7-strip-on .r7-mobilebar{display:none}
@media (max-width:700px){ body.r7-strip-on::after{height:0} }

/* Now-playing video thumb (visuals lane) */
#r7NpVid{
  width:44px;height:44px;border-radius:8px;object-fit:cover;flex:none;
  border:1px solid rgba(255,255,255,.12);background:#0A0A0B;
}
@media (max-width:560px){ #r7NpVid{display:none} }

/* Focus visibility for every REV7 control */
.r7-bigplay:focus-visible,.r7-packplay:focus-visible,.r7-pad:focus-visible,
.r7-rowplay:focus-visible,.r7-strip-btn:focus-visible,.r7-rc-play:focus-visible,
.r7-mobilebar a:focus-visible,.r7-mobilebar button:focus-visible,
a.btn.r7-bigcta:focus-visible{
  outline:2px solid var(--gold-pop);outline-offset:2px;
}
@media (prefers-reduced-motion: reduce){
  .card.playing .art-play{animation:none}
  .r7-pad,.r7-bigplay,.r7-strip-btn{transition:none}
}

/* ================= REV7 — B5 integration block =================
   Styles for the surfaces B5 wires: B2 engine hooks (card waves, dock CTA,
   listen toggle), sheet mounts, compare rows. Tokens only (B1 system). */
[data-card-wave]{padding:10px 18px 2px}
canvas.card-wave{display:block;width:100%;height:36px}
#npCta{flex:none;align-self:center;margin-left:10px;background:var(--cta-bg);color:var(--cta-ink);
  font-size:.78rem;font-weight:800;letter-spacing:.02em;padding:9px 14px;border-radius:999px;
  text-decoration:none;white-space:nowrap}
#npCta[hidden]{display:none}
#pListen{flex:none;align-self:center;margin-left:8px;background:transparent;color:var(--muted-light);
  border:var(--hairline-warm);border-radius:999px;font-family:inherit;font-size:.72rem;
  font-weight:800;letter-spacing:.08em;text-transform:uppercase;padding:8px 12px;min-height:36px;cursor:pointer}
#pListen.on{color:var(--accent-bright);border-color:var(--accent)}
@media (max-width:700px){#pListen{display:none}}
.r7-sheet-board,.r7-sheet-dwell{margin-top:20px}
.dwell-pattern-card{margin-top:10px}
#dwell-passport:empty{display:none}
.comp-row{display:flex;justify-content:space-between;gap:10px;padding:7px 2px;
  border-bottom:var(--hairline-warm);font-size:.85rem}
.comp-row .t-dur{color:var(--muted-light);font-variant-numeric:tabular-nums}
.comp-play{margin-top:12px}

/* ================= PRETTY CARDS — BEAUTIFICATION LANE 2 (2026-10-16) =================
   Play-button finish (loads after site.css, same layer as the
   base .card .art-play rule above). Size stays 58px — the
   >=44px target law is untouched. The ring goes gold (the
   frame) so the button belongs to the cover system, and
   hover/focus get a small lift with a warm glow. Tokens only. */
.card .art-play{
  border:1px solid rgba(232,196,118,.65);
  box-shadow:0 10px 26px rgba(0,0,0,.5),0 4px 14px rgba(232,98,44,.35),inset 0 1px 0 rgba(255,255,255,.22);
  transition:transform var(--dur-fast) var(--ease),box-shadow var(--dur-fast) var(--ease),background var(--dur-fast) var(--ease),color var(--dur-fast) var(--ease);
}
@media (hover:hover){
  .card .art-play:hover{transform:scale(1.07)}
}
.card .art-play:focus-visible{
  outline:2px solid var(--gold-pop);outline-offset:3px;
}

/* Andrew brief upgrade (2026-10-16): satisfying play feedback.
   Hovering anywhere on the card warms the play button's glow;
   the press compresses it with a tighter shadow. The pulse
   while playing (r7pulse, above) is unchanged and overrides
   the shadow while it runs. */
@media (hover:hover){
  .card:hover .art-play{
    box-shadow:0 12px 30px rgba(0,0,0,.55),0 6px 20px rgba(232,98,44,.50),inset 0 1px 0 rgba(255,255,255,.25);
  }
}
.card .art-play:active{
  transform:scale(.92);
  box-shadow:0 4px 14px rgba(0,0,0,.5),0 2px 8px rgba(232,98,44,.35);
}
/* Pack play-all pill reaches the 44px target floor. */
.r7-packplay{min-height:44px;padding:10px 16px}
@media (prefers-reduced-motion:reduce){
  .card .art-play{transition:none}
}

/* ================================================================
   PRETTY-GLOBAL — Lane 4 (2026-10-16): dock chrome refinement.
   #pListen / #npCta live in this file, so they are refined here
   (append-only) instead of being fought from site.css. Changes:
   both reach the 44px tap minimum (were 36px), take the Oswald
   label voice, and the Listen toggle's .on state gains a soft
   accent wash. rev7's own calls stand: muted at rest, accent-
   bright when on, hidden at <=700px where the dock is crowded.
   ================================================================ */
#pListen{
  min-height:44px;padding:10px 16px;
  font-family:var(--font-label,'Oswald',-apple-system,BlinkMacSystemFont,"Helvetica Neue",Helvetica,Arial,sans-serif);
  font-size:.76rem;letter-spacing:.1em;
  transition:color var(--dur-fast,.3s) var(--ease,cubic-bezier(0.28,0.11,0.32,1)),border-color var(--dur-fast,.3s) var(--ease,cubic-bezier(0.28,0.11,0.32,1)),background var(--dur-fast,.3s) var(--ease,cubic-bezier(0.28,0.11,0.32,1));
}
#pListen.on{background:rgba(185,58,3,.14)}
@media (hover:hover){
  #pListen:hover{border-color:rgba(201,164,92,.55);color:var(--champagne)}
  #pListen.on:hover{color:var(--accent-bright)}
}
#npCta{
  min-height:44px;padding:10px 16px;
  display:inline-flex;align-items:center;
  font-family:var(--font-label,'Oswald',-apple-system,BlinkMacSystemFont,"Helvetica Neue",Helvetica,Arial,sans-serif);
  font-size:.8rem;letter-spacing:.06em;
  box-shadow:0 4px 18px rgba(232,98,44,.30),inset 0 1px 0 rgba(255,255,255,.16);
}
@media (prefers-reduced-motion:reduce){
  #pListen{transition:none}
}

/* PRETTY-GLOBAL 2 — ALIVE (2026-10-16): the dock's pack CTA gets
   the same friendly physics as the bar CTA — lift, then settle. */
#npCta{transition:transform var(--dur-fast,.3s) var(--ease,cubic-bezier(0.28,0.11,0.32,1)),box-shadow var(--dur-fast,.3s) var(--ease,cubic-bezier(0.28,0.11,0.32,1))}
@media (hover:hover){#npCta:hover{transform:translateY(-1px)}}
#npCta:active{transform:scale(.97)}
@media (prefers-reduced-motion:reduce){#npCta{transition:none}}
