/* The quick class player in the look of the class builder's own player (v3), in the Sigh Club colours (2026-10-18). The pieces are laid
   out by player-v3.js; main.js and player.js still play the class. v3's language: a light field whose colour follows the part (calm =
   mint, balance periwinkle, a strong part rose; multicolours again since 2026-10-19), the breathing cloud spread softly behind everything, the title in the serif, round
   pills, the class's curve the whole width, each part in its own colour, a white card with the line being said, The parts beside it.
   One radius family (12 / 20 / 28 and round pills), one soft plum shadow family, 8 px steps. */

.player.opt-v3 { --r1: 12px; --r2: 20px; --r3: 28px;
  --sh1: 0 8px 18px -12px rgba(59,33,64,.38); --sh2: 0 16px 32px -18px rgba(59,33,64,.45);
  --fc: #DDF1E4; --fc2: #EFF8F2; --fl: #FFFFFF;
  color: var(--ink); background: var(--page); padding: 0; display: block; overflow-y: auto; overscroll-behavior: contain; }
.player.opt-v3[data-level="2"], .player.opt-v3[data-level="3"] { --fc: #DAD8FA; --fc2: #EEEDFC; }
.player.opt-v3[data-level="4"], .player.opt-v3[data-level="5"] { --fc: #FBD3E2; --fc2: #FDE9F0; }
@property --fc { syntax: '<color>'; inherits: true; initial-value: #DDF1E4; }
@property --fc2 { syntax: '<color>'; inherits: true; initial-value: #EFF8F2; }
.player.opt-v3 { transition: --fc 5s ease, --fc2 5s ease; }
/* the field and the cloud behind everything */
.player.opt-v3 .field { position: fixed; inset: 0; z-index: 0; background: radial-gradient(90% 60% at 18% 0%, var(--fl) 0%, transparent 70%), linear-gradient(170deg, var(--fc) 0%, var(--fc2) 38%, var(--page) 78%); }
.player.opt-v3 .halo { display: none; }
.player.opt-v3 .player__stage { display: block; }
.player.opt-v3 .breath { position: fixed; left: 66%; top: 70%; width: 118vmax; height: 118vmax; transform: translate(-50%, -50%); opacity: .42; z-index: 0; pointer-events: none; }
.player.opt-v3 .breath__ring, .player.opt-v3 .breath__core { display: none; }
.player.opt-v3 .player__top, .player.opt-v3 .player__bottom, .player.opt-v3 .player__controls, .player.opt-v3 .player__meta { display: contents; }
.player.opt-v3 .player__phase, .player.opt-v3 .player__label, .player.opt-v3 .player__dl, .player.opt-v3 .player__close, .player.opt-v3 .flen { display: none; }

.pv-wrap { position: relative; z-index: 1; max-width: 1440px; margin: 0 auto; padding: 32px 64px 72px; display: grid; gap: 24px; }
/* the top line: Back to the page, then the class's own words in the quiet serif */
.pv-top { display: flex; align-items: baseline; gap: 16px; font: 400 17px/1.2 var(--serif); color: rgba(59,33,64,.66); min-height: 40px; }
.pv-back { font: 500 15px/1 var(--sans); color: var(--ink); background: none; border: 0; padding: 10px 0; cursor: pointer; text-decoration: underline; text-decoration-color: rgba(59,33,64,.2); text-underline-offset: 5px; }
.pv-back:hover { text-decoration-color: var(--ink); }
/* the title and the pills */
.pv-titlerow { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.pv-title { margin: 0; font: 400 clamp(40px, 4.4vw, 60px)/1 var(--serif); letter-spacing: -.02em; color: var(--ink); }
.pv-pills { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.player.opt-v3 .player__btn { height: 48px; min-width: 112px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--plum); color: var(--page); font: 600 16px/1 var(--sans); letter-spacing: 0; text-transform: none; box-shadow: var(--sh2); cursor: pointer; }
.player.opt-v3 .player__btn:hover { background: var(--plum-deep); }
.player.opt-v3 .player__pill { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px 0 20px; border: 0; border-radius: 999px; background: rgba(255,255,255,.82); color: var(--ink); font: 500 15px/1 var(--sans); letter-spacing: 0; text-transform: none; box-shadow: var(--sh1); opacity: 1; cursor: pointer; }
.player.opt-v3 .player__pill i { order: 2; position: relative; width: 36px; height: 22px; border-radius: 999px; background: rgba(59,33,64,.16); border: 0; transition: background .22s; }
.player.opt-v3 .player__pill i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(59,33,64,.3); transition: transform .22s; }
.player.opt-v3 .player__pill.is-on i { background: var(--plum); }
.player.opt-v3 .player__pill.is-on i::after { transform: translateX(14px); }
/* the curve: each part in its family's colour, the part playing lit; the times under it in the numbers' font */
.pv-curve { display: grid; gap: 4px; }
.player.opt-v3 .flow { display: block; width: 100%; height: 170px; margin: 0; opacity: 1; overflow: visible; }
.player.opt-v3 .flow .fl-line { fill: none; stroke-width: 3; stroke-linejoin: round; }   /* each part in its family's colour (main.js) */
.player.opt-v3 .flow .fl-area { transition: opacity .6s; }
.player.opt-v3 .flow .fl-floor { stroke: rgba(59,33,64,.12); stroke-width: 1; }
.player.opt-v3 .flow .fl-dot { stroke-width: 2.5; cursor: pointer; transition: r .3s, fill .3s; }
.player.opt-v3 .flow .fl-ph { stroke: var(--plum-deep); stroke-width: 1.5; }
.player.opt-v3 .flow .fl-pill { fill: var(--plum-deep); } .player.opt-v3 .flow .fl-pill-t { font: 500 11px var(--mono); fill: var(--page); }
.pv-times { display: flex; justify-content: space-between; font: 400 13px/1 var(--mono); color: rgba(59,33,64,.6); }
.player.opt-v3 .player__time { opacity: 1; letter-spacing: 0; }
/* the card and the parts */
.pv-main { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr); gap: 32px; align-items: start; }
.pv-card > *, .pv-card .breath__text { grid-area: auto !important; }   /* the old look's grid areas (head, text, next) must not place anything here */
.pv-card { background: rgba(255,255,255,.86); border-radius: var(--r3); box-shadow: var(--sh2); padding: 32px 40px 36px; display: grid; gap: 18px; min-height: 340px; align-content: start; }
.player.opt-v3 .phead { display: grid; margin: 0; gap: 4px; color: var(--ink); font: 400 14px/1.5 var(--sans); }
.player.opt-v3 .phead__name { font: 400 34px/1.1 var(--serif); margin: 0 0 2px; color: var(--ink); }
.player.opt-v3 .phead__how { opacity: 1; color: rgba(59,33,64,.66); }
.player.opt-v3 .phead__next { order: 9; opacity: 1; color: rgba(59,33,64,.5); }
.pv-cue .breath__text { position: static; transform: none; display: flex; align-items: baseline; gap: 14px; width: auto; max-width: none; text-align: left; }
.player.opt-v3 .breath__cue { font: 400 26px/1 var(--serif); letter-spacing: 0; text-transform: none; color: var(--plum); padding: 0; }
.player.opt-v3 .breath__count { font: 400 26px/1 var(--mono); color: var(--plum); text-shadow: none; min-height: 0; }
.player.opt-v3 .breath__sub { font: 400 14px/1.4 var(--sans); color: rgba(59,33,64,.6); opacity: 1; min-height: 0; }
.player.opt-v3 .player__next { margin: 0; max-width: 30ch; font: 400 clamp(26px, 2.4vw, 34px)/1.24 var(--serif); letter-spacing: -.01em; color: var(--ink); text-align: left; min-height: 2.5em; }
.pv-parts__h { margin: 0 0 12px 14px; font: 400 26px/1.1 var(--serif); color: var(--ink); }
.pv-parts__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.pv-parts__list button { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto 56px; align-items: center; gap: 12px; padding: 10px 14px; border: 0; border-radius: var(--r1); background: none; font: 500 15px/1.2 var(--sans); color: var(--ink); text-align: left; cursor: pointer; transition: background .2s; }
.pv-parts__list button:hover { background: rgba(255,255,255,.5); }
.pv-parts__list button.on { background: #fff; box-shadow: var(--sh1); }
.pv-p__m { font-size: 13px; font-weight: 400; color: rgba(59,33,64,.6); }
.pv-p__t { font: 400 14px/1 var(--mono); text-align: right; }

/* phones: one column, the curve shorter, the parts after the card */
@media (max-width: 760px) {
  .pv-wrap { padding: 20px 18px 40px; gap: 18px; }
  .pv-top { font-size: 15px; flex-wrap: wrap; gap: 4px 12px; min-height: 0; }
  .pv-titlerow { gap: 14px; }
  .pv-title { font-size: 36px; }
  .player.opt-v3 .player__btn, .player.opt-v3 .player__pill { height: 42px; }
  .pv-pills { gap: 6px; flex-wrap: nowrap; }
  .player.opt-v3 .player__btn { min-width: 0; padding: 0 18px; font-size: 15px; }
  .player.opt-v3 .player__pill { padding: 0 8px 0 12px; gap: 7px; font-size: 13.5px; }
  .player.opt-v3 .player__pill i { width: 32px; height: 20px; } .player.opt-v3 .player__pill i::after { width: 14px; height: 14px; } .player.opt-v3 .player__pill.is-on i::after { transform: translateX(12px); }
  .player.opt-v3 .flow { height: 120px; }
  .pv-main { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .pv-card { padding: 24px 22px 26px; min-height: 0; border-radius: var(--r2); }
  .player.opt-v3 .player__next { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) { .player.opt-v3 { transition: none; } }

/* ---------- the front page phone (#live): a small copy of this player, as the rule asks (Olga, 2026-10-11: when the player's look
   changes, the phone changes in the same round). As v3's player on a phone: Back to the class, the title, Pause and the switches, the
   curve with its times, then the card: the part, how to breathe, the In/Out word, the line in the serif, what comes next faint.
   assist.js still drives it by id. ---------- */
.phone--v3 .phone__screen { --pf: #DDF1E4; --pf2: #EFF8F2; background: radial-gradient(90% 46% at 20% 0%, #FFFFFF 0%, transparent 70%), linear-gradient(170deg, var(--pf) 0%, var(--pf2) 42%, var(--page) 82%);
  color: var(--ink); padding: 34px 16px 18px; gap: 0; align-items: stretch; text-align: left; }
.phone--v3 .phone__screen[data-level="2"], .phone--v3 .phone__screen[data-level="3"] { --pf: #DAD8FA; --pf2: #EEEDFC; }
.phone--v3 .phone__screen[data-level="4"], .phone--v3 .phone__screen[data-level="5"] { --pf: #FBD3E2; --pf2: #FDE9F0; }
.phone--v3 .phone__back { position: relative; z-index: 1; margin: 0; font: 500 10px/1 var(--sans); color: var(--ink); text-decoration: underline; text-decoration-color: rgba(59,33,64,.25); text-underline-offset: 3px; }
.phone--v3 .phone__title { position: relative; z-index: 1; margin: 12px 0 0; font: 400 28px/1 var(--serif); letter-spacing: -.02em; color: var(--ink); }
.phone--v3 .phone__top { position: relative; z-index: 1; margin-top: 12px; display: flex; align-items: center; gap: 5px; font: 500 9.5px/1 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); }
.phone--v3 .phone__play { width: auto; height: 26px; padding: 0 14px; border-radius: 999px; background: var(--plum); box-shadow: 0 8px 16px -10px rgba(59,33,64,.5); font-size: 0; line-height: 0; color: transparent; }
.phone--v3 .phone__play::before { display: none; }
.phone--v3 .phone__play::after { content: 'Pause'; font: 600 10.5px/1 var(--sans); color: var(--page); }
.phone--v3 .phone__play.is-paused::after { content: 'Play'; }
.phone--v3 .phone__sw { display: inline-flex; align-items: center; height: 26px; padding: 0 6px 0 9px; border-radius: 999px; background: rgba(255,255,255,.85); box-shadow: 0 4px 10px -6px rgba(59,33,64,.4); gap: 5px; flex-direction: row-reverse; }
.phone--v3 .phone__sw i { width: 18px; height: 11px; border: 0; background: rgba(59,33,64,.16); }
.phone--v3 .phone__sw i::after { top: 1.5px; left: 1.5px; width: 8px; height: 8px; background: #fff; }
.phone--v3 .phone__sw.is-on i { background: var(--plum); } .phone--v3 .phone__sw.is-on i::after { transform: translateX(7px); background: #fff; }
.phone--v3 .phone__nav { margin-top: 12px; height: 58px; }
.phone--v3 .phone__land .lv-line { stroke-width: 2; }
.phone--v3 .phone__land .lv-floor { stroke: rgba(59,33,64,.12); }
.phone--v3 .phone__land .lv-ph line { stroke: var(--plum-deep); } .phone--v3 .phone__land .lv-ph rect { fill: var(--plum-deep); } .phone--v3 .phone__land .lv-ph text { fill: var(--page); }
.phone--v3 .phone__times { position: relative; z-index: 1; display: flex; justify-content: space-between; margin-top: 4px; }
.phone--v3 .phone__time { font: 400 9px/1 var(--mono); opacity: .6; letter-spacing: 0; }
.phone--v3 .phone__cloud { opacity: .3; top: 70%; }
.phone--v3 .phone__card { position: relative; z-index: 1; flex: 1; margin-top: 14px; padding: 18px 16px; border-radius: 18px; background: rgba(255,255,255,.82); box-shadow: 0 12px 24px -16px rgba(59,33,64,.45); display: flex; flex-direction: column; gap: 10px; }
.phone--v3 .phone__hl { margin: 0; font: 400 10.5px/1.45 var(--sans); color: rgba(59,33,64,.66); }
.phone--v3 .phone__hl b { display: block; margin-bottom: 3px; font: 400 22px/1.05 var(--serif); color: var(--ink); }
.phone--v3 .phone__count { position: static; transform: none; display: flex; align-items: baseline; gap: 8px; width: auto; }
.phone--v3 .phone__count small { font: 400 17px/1 var(--serif); letter-spacing: 0; text-transform: none; color: var(--plum); }
.phone--v3 .phone__count b { font: 400 17px/1 var(--mono); color: var(--plum); text-shadow: none; min-height: 0; }
.phone--v3 .phone__line { margin: 0; max-width: none; min-height: 3.7em; font: 400 19px/1.22 var(--serif); color: var(--ink); }
.phone--v3 .phone__hn { margin: auto 0 0; font: 400 10.5px/1.4 var(--sans); color: rgba(59,33,64,.5); }
.phone--v3 .phone__hn b { font-weight: 500; }

/* the save and welcome-back screens: their mascot as the one-colour line mark in plum, like login and the seal (2026-10-18; the colour
   sticker mascots left the site on 2026-10-17) */
.getscreen__mascot--line { display: block; height: 130px; background: var(--plum-deep); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }

/* ---------- the Ahhpp in plum (Olga, 2026-10-19: "Make Ahhpp mostly plum"), the same as the front page phone (ahhpp.css) ---------- */
.player.opt-v3 { color: var(--page); background: var(--plum-deep); }
.player.opt-v3 .field { background: radial-gradient(90% 60% at 18% 0%, rgba(255,247,238,.10) 0%, transparent 70%), linear-gradient(170deg, #5B2E5E 0%, #4A2550 46%, #3B2140 88%); }
.player.opt-v3[data-level="2"] .field, .player.opt-v3[data-level="3"] .field { background: radial-gradient(70% 50% at 70% 35%, rgba(127,122,230,.24) 0%, transparent 70%), linear-gradient(170deg, #5B2E5E 0%, #4A2550 46%, #3B2140 88%); }
.player.opt-v3[data-level="4"] .field, .player.opt-v3[data-level="5"] .field { background: radial-gradient(70% 50% at 70% 35%, rgba(243,166,198,.26) 0%, transparent 70%), linear-gradient(170deg, #5B2E5E 0%, #4A2550 46%, #3B2140 88%); }
.player.opt-v3 .pv-top { color: rgba(255,247,238,.66); }
.player.opt-v3 .pv-back { color: var(--page); text-decoration-color: rgba(255,247,238,.35); }
.player.opt-v3 .pv-back:hover { text-decoration-color: var(--page); }
.player.opt-v3 .pv-title { color: var(--page); }
.player.opt-v3 .player__btn { background: var(--page); color: var(--plum-deep); box-shadow: none; }
.player.opt-v3 .player__btn:hover { background: var(--rose-light); }
.player.opt-v3 .player__pill { background: rgba(255,247,238,.12); color: var(--page); box-shadow: none; }
.player.opt-v3 .player__pill i { background: rgba(255,247,238,.25); }
.player.opt-v3 .player__pill.is-on i { background: var(--rose); } .player.opt-v3 .player__pill.is-on i::after { background: var(--plum-deep); }
.player.opt-v3 .flow .fl-floor { stroke: rgba(255,247,238,.18); }
.player.opt-v3 .flow .fl-ph { stroke: var(--page); }
.player.opt-v3 .flow .fl-pill { fill: var(--page); } .player.opt-v3 .flow .fl-pill-t { fill: var(--plum-deep); }
.pv-times { color: rgba(255,247,238,.6); }
.pv-card { background: rgba(255,247,238,.07); box-shadow: inset 0 0 0 1px rgba(255,247,238,.12); }
.player.opt-v3 .phead { color: var(--page); }
.player.opt-v3 .phead__name { color: var(--page); }
.player.opt-v3 .phead__how { color: rgba(255,247,238,.68); }
.player.opt-v3 .phead__next { color: rgba(255,247,238,.5); }
.player.opt-v3 .breath__cue, .player.opt-v3 .breath__count { color: var(--rose); }
.player.opt-v3 .breath__sub { color: rgba(255,247,238,.6); }
.player.opt-v3 .player__next { color: var(--page); }
.pv-parts__h { color: var(--page); }
.pv-parts__list button { color: var(--page); }
.pv-parts__list button:hover { background: rgba(255,247,238,.08); }
.pv-parts__list button.on { background: rgba(255,247,238,.12); box-shadow: none; }
.pv-p__m { color: rgba(255,247,238,.6); }

/* ---------- the bloom in the player (Olga, 2026-10-19: screen 2 of five, after "It needs a central accent and exciting design"): the card
   holds the petals on the left (the count inside, Breathe in / out under them) and the words on the right; petals: ahhpp.css ---------- */
.pv-card { grid-template-columns: 280px minmax(0, 1fr); align-items: center; column-gap: 36px; }
.pv-bloom { position: relative; height: 300px; }
.pv-bloom .petals { top: 46%; }
.pv-bloom .pv-cue { position: absolute; inset: 0; }
.pv-bloom .breath__text, .pv-cue.pv-cue .breath__text { position: absolute; left: 0; right: 0; top: 46%; height: 0; display: grid; place-items: center; transform: none; gap: 0; width: auto; }
.player.opt-v3 .pv-bloom .breath__count { position: relative; font: 400 60px/1 var(--serif); color: var(--plum-deep); }
.player.opt-v3 .pv-bloom .breath__cue { position: absolute; top: 132px; left: 0; right: 0; text-align: center; font: italic 400 22px/1 var(--serif); color: var(--page); }
.player.opt-v3 .pv-bloom .breath__sub { position: absolute; top: 162px; left: 0; right: 0; text-align: center; }
.pv-words-col { display: grid; gap: 18px; align-content: center; }
@media (max-width: 760px) {
  .pv-card { grid-template-columns: minmax(0, 1fr); }
  .pv-bloom { height: 280px; }
}
.pv-words-col > * { grid-area: auto !important; }   /* the old look's areas (head, next) must not reorder the words */
.player.opt-v3 .pv-words-col .player__next { font-size: clamp(22px, 1.9vw, 28px); line-height: 1.28; min-height: 0; max-width: 34ch; }
.pv-card { min-height: 0; padding: 28px 36px 28px 20px; }

/* the count in a solid plum circle at the bloom's heart, as on the phone (Olga, 2026-10-19: "cant read the number") */
.player.opt-v3 .pv-bloom .breath__count { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--plum-deep); color: var(--page);
  font: 400 46px/1 var(--serif); box-shadow: 0 0 0 4px rgba(255,247,238,.55), 0 10px 22px -8px rgba(36,18,42,.6); }
.player.opt-v3 .pv-bloom .breath__count:empty { display: none; }
.player.opt-v3 .flow .fl-dot { r: 7; stroke-width: 3; }
