/* Play my briefing (partials/mw-briefing.hbs): the desk's hero moment. One big play mark in the site blue, the
   edition in Playfair, a line of segments (one per piece, its length its duration) that fills as you listen. */
.mw-bf { margin-top: 2rem; padding: 1.6rem 0 1.4rem; border-top: 1px solid rgba(212, 175, 55, 0.35); border-bottom: 1px solid var(--mw-line); }
.mw-bf [hidden] { display: none !important; }
.mw-bf__main { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1.5rem; }
.mw-bf__play {
    position: relative; display: inline-flex; align-items: center; justify-content: center; width: 76px; height: 76px; border: 0; border-radius: 50%;
    background: var(--csi-on, #0071e3); color: var(--pure-white); cursor: pointer; box-shadow: 0 0 0 1px rgba(0, 163, 255, 0.6), 0 12px 34px rgba(0, 113, 227, 0.35);
    transition: transform 0.2s ease, background-color 0.2s ease;
}
.mw-bf__play:hover { background: var(--accent-hover, #0077ed); transform: scale(1.04); }
.mw-bf__play:focus-visible { outline: 2px solid var(--accent-glow); outline-offset: 4px; }
.mw-bf__play .csi-i { width: 28px; height: 28px; }
.mw-bf__play .mw-bf__i-play { margin-inline-start: 4px; }
.mw-bf__i-pause, .mw-bf[data-state="playing"] .mw-bf__i-play { display: none; }
.mw-bf[data-state="playing"] .mw-bf__i-pause { display: block; }
.mw-bf[data-state="playing"] .mw-bf__play::after { content: ""; position: absolute; inset: -7px; border: 1px solid rgba(0, 163, 255, 0.45); border-radius: 50%; animation: mw-bf-breathe 2.4s ease-in-out infinite; }
.mw-bf__title { margin-top: 0.35rem; font: 700 clamp(1.7rem, 3vw, 2.3rem)/1.1 var(--font-display); letter-spacing: -0.01em; }
.mw-bf__meta { display: flex; flex-wrap: wrap; align-items: center; margin-top: 0.5rem; color: var(--mw-text-2); font-size: 0.9rem; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.mw-bf__meta > span + span:not([hidden])::before { content: "\00B7"; margin: 0 0.6rem; color: var(--mw-text-3); }
.mw-bf__meta b { color: var(--pure-white); font-weight: 600; }
.mw-bf__skip { display: flex; gap: 0.5rem; }
.mw-bf__line { display: flex; gap: 3px; margin-top: 1.4rem; list-style: none; }
.mw-bf__seg { flex: 1 1 0; min-width: 10px; }
.mw-bf__seg button { position: relative; display: block; width: 100%; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; }
.mw-bf__seg button::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.14); }
.mw-bf__seg.is-played button::before { background: var(--noble-gold); }
.mw-bf__fill { position: absolute; left: 0; top: 10px; width: 0; height: 3px; border-radius: 2px; background: var(--accent-glow); }
.mw-bf__seg:not(.is-current) .mw-bf__fill { display: none; }
.mw-bf__seg button:hover::before { background: rgba(255, 255, 255, 0.32); }
.mw-bf__seg.is-played button:hover::before { background: var(--noble-gold-light); }
.mw-bf__seg button:focus-visible { outline: 2px solid var(--accent-glow); outline-offset: 2px; border-radius: 4px; }
.mw-bf__seg button:disabled { cursor: default; opacity: 0.4; }
.mw-bf__now { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem 0.8rem; margin-top: 0.6rem; font-size: 0.86rem; letter-spacing: 0; }
.mw-bf__nowk { color: var(--accent-glow); font-weight: 600; font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; }
.mw-bf__now .mw-pmark { color: var(--noble-gold-light); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.mw-bf__nowt { flex: 1; min-width: 12rem; color: var(--pure-white); font: 700 1rem/1.35 var(--font-display); text-decoration: none; }
.mw-bf__nowt:hover { color: var(--accent-glow); }
.mw-bf__clock { color: var(--mw-text-3); font-variant-numeric: tabular-nums; }
.mw-bf__empty { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; color: var(--mw-text-2); font-size: 0.95rem; line-height: 1.55; letter-spacing: 0; }
.mw-bf__empty .mw-kicker { display: block; margin-bottom: 0.35rem; }
.mw-bf__empty p { max-width: 40rem; }
@keyframes mw-bf-breathe { 0%, 100% { opacity: 0.25; transform: scale(1); } 50% { opacity: 0.9; transform: scale(1.06); } }
@media (max-width: 600px) {
    .mw-bf__main { grid-template-columns: auto minmax(0, 1fr); gap: 1rem 1.1rem; }
    .mw-bf__play { width: 64px; height: 64px; }
    .mw-bf__skip { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .mw-bf__play { transition: none; } .mw-bf[data-state="playing"] .mw-bf__play::after { animation: none; opacity: 0.6; } }

/* Continue reading on the desk (mw-reading.js): compact rows with how far you got */
.mw-cr { margin-top: 1.6rem; }
.mw-cr__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.mw-cr__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem 2rem; margin-top: 0.6rem; list-style: none; }
.mw-cr__item { position: relative; display: flex; align-items: center; gap: 0.5rem; padding: 0.6rem 0; border-bottom: 1px solid var(--mw-line); }
.mw-cr__link { display: flex; flex: 1; align-items: center; gap: 0.9rem; min-width: 0; color: var(--pure-white); text-decoration: none; }
.mw-cr__img { flex-shrink: 0; width: 96px; height: 54px; border-radius: 4px; object-fit: cover; }
.mw-cr__text { display: grid; gap: 0.35rem; min-width: 0; }
.mw-cr__title { overflow: hidden; font: 700 0.98rem/1.3 var(--font-display); text-overflow: ellipsis; white-space: nowrap; }
.mw-cr__link:hover .mw-cr__title { color: var(--accent-glow); }
.mw-cr__bar { position: relative; display: block; width: 100%; max-width: 14rem; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.mw-cr__bar i { position: absolute; inset: 0 auto 0 0; border-radius: 2px; background: var(--accent-glow); }
.mw-cr__meta { color: var(--mw-text-3); font-size: 0.76rem; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.mw-cr__go { color: var(--noble-gold-light); font-weight: 600; }
.mw-cr__x { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; color: var(--mw-text-3); cursor: pointer; }
.mw-cr__x:hover { color: var(--pure-white); background: rgba(255, 255, 255, 0.06); }
.mw-cr__link:focus-visible, .mw-cr__x:focus-visible { outline: 2px solid var(--accent-glow); outline-offset: 2px; border-radius: 6px; }
@media (max-width: 760px) { .mw-cr__list { grid-template-columns: minmax(0, 1fr); } }

/* Favorites (mw-favorites.js): starred pieces at the top of the desk, image-led, a row you can scroll on phones */
.mw-favs { margin-top: 1.8rem; }
.mw-favs__title { display: flex; align-items: center; gap: 0.45rem; }
.mw-favs__title .csi-i { color: var(--noble-gold); }
.mw-favs__list { display: grid; grid-auto-flow: column; grid-auto-columns: 264px; gap: 1.25rem; margin-top: 0.8rem; overflow-x: auto; scroll-snap-type: x mandatory; list-style: none; padding-bottom: 0.4rem; }
.mw-fav { scroll-snap-align: start; }
.mw-fav__link { display: grid; gap: 0.45rem; color: var(--pure-white); text-decoration: none; }
.mw-fav__img { width: 100%; aspect-ratio: 16 / 9; height: auto; border-radius: 6px; object-fit: cover; }
.mw-fav__product .mw-pmark { color: var(--noble-gold-light); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.mw-fav__title { font: 700 0.98rem/1.3 var(--font-display); }
.mw-fav__link:hover .mw-fav__title { color: var(--accent-glow); }
.mw-fav__link:focus-visible { outline: 2px solid var(--accent-glow); outline-offset: 3px; border-radius: 6px; }
@media (max-width: 760px) { .mw-favs__list { grid-auto-columns: 72%; } }

/* Recently read: private, compact */
.mw-rr { margin: 1.6rem 0 2rem; }
.mw-rr__tools { display: flex; align-items: center; gap: 1rem; }
.mw-rr__private { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--mw-text-3); font-size: 0.74rem; letter-spacing: 0; }
.mw-rr__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; margin-top: 0.4rem; list-style: none; }
.mw-rr__item { display: flex; align-items: center; gap: 0.7rem; min-height: 48px; border-bottom: 1px solid var(--mw-line); }
.mw-rr__icon { display: inline-flex; flex-shrink: 0; width: 18px; color: var(--noble-gold-light); }
.mw-rr__icon svg { width: 17px; height: 17px; }
.mw-rr__title { flex: 1; min-width: 0; overflow: hidden; color: var(--pure-white); font: 600 0.92rem/1.3 var(--font-body); text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.mw-rr__title:hover { color: var(--accent-glow); }
.mw-rr__when { flex-shrink: 0; color: var(--mw-text-3); font-size: 0.76rem; letter-spacing: 0; }
@media (max-width: 760px) { .mw-rr__list { grid-template-columns: minmax(0, 1fr); } }

/* The star beside the save mark: gold, filled when it is a favorite */
.mw-star[aria-pressed="true"] { color: var(--noble-gold-light); border-color: var(--noble-gold); background: rgba(212, 175, 55, 0.14); }
.mw-star[aria-busy="true"] { cursor: progress; opacity: 0.7; }
.mw-coll__favname { display: inline-flex; align-items: center; gap: 0.45rem; }
.mw-coll__favname .csi-i { color: var(--noble-gold-light); }
