/* Muve — Muve Reviews. Art that exists only here: the text thread with a star answer (hero), the timing track with its
   kinds of work, the needs-you alert, the reply queue, the monthly tally. Shared kit: fx.css. */
.phero .crumb { padding-top: 0; margin-bottom: clamp(16px, 3vh, 28px); }
@media (pointer: coarse) { .crumb a { display: inline-flex; align-items: center; min-height: 44px; } }
.rv-hero { padding-bottom: clamp(36px, 7vw, 120px); }
.rv-hero .phero__grid { align-items: center; }
.rv-hero .phero__art { max-width: 430px; width: 100%; justify-self: end; }
.rv-when .t-h2, .rv-first .t-h2, .rv-replies .t-h2, .rv-month .t-h2, .rv-faq .t-h2 { font-size: clamp(2rem, 1.25rem + 2.4vw, 3.4rem); line-height: 1.06; }
.rv-first__copy > .label, .rv-month__copy > .label, .rv-faq__head .label { display: block; margin-bottom: 18px; color: var(--hue-ink); }
[data-thread] [hidden], [data-rq] [hidden] { display: none; }

/* ---------- hero: the text thread ---------- */
.thread { border-radius: 22px; background: var(--white); box-shadow: inset 0 0 0 1px rgba(11, 27, 51, .08), var(--sh-2); overflow: hidden; font-size: .9375rem; line-height: 1.4; }
.thread__bar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid rgba(11, 27, 51, .1); }
.thread__bar b { display: block; font-weight: 500; }
.thread__bar small { font-size: .75rem; color: var(--ink-2); }
.thread__av { display: grid; place-items: center; width: 38px; height: 38px; background: linear-gradient(135deg, var(--green), var(--cyan)); color: var(--navy); font-weight: 500; }
.thread__body { display: grid; gap: 10px; padding: 16px; background: linear-gradient(180deg, var(--paper), color-mix(in srgb, var(--amber) 6%, var(--paper))); min-height: 300px; align-content: start; }
.bub { max-width: 86%; padding: 10px 14px; border-radius: 16px; }
.bub--out { justify-self: start; background: var(--white); border-bottom-left-radius: 4px; box-shadow: inset 0 0 0 1px rgba(11, 27, 51, .08); }
.bub--in { justify-self: end; background: var(--blue-ink); color: #ffffff; border-bottom-right-radius: 4px; }
.bub__link { display: block; margin-top: 6px; font: 500 .8125rem/1.3 var(--mono); color: var(--blue-ink); text-decoration: underline; text-underline-offset: 3px; }
.bub--stars { padding: 6px 8px; }
.stars { display: flex; gap: 2px; }
.star { position: relative; width: 44px; height: 44px; border-radius: 8px; color: #ffffff; transition: background-color var(--t-hover) var(--ease-out); }
.star::before { content: ""; position: absolute; inset: 9px; background: rgba(255, 253, 248, .35); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); transition: background-color var(--t-hover) var(--ease-out), scale var(--t-panel) var(--ease-out); }
.star.is-lit::before { background: var(--amber); }
@media (hover: hover) and (pointer: fine) { .star:hover { background: rgba(255, 253, 248, .16); } .star:hover::before { scale: 1.12; } }
.star:focus-visible { outline: 2px solid #ffffff; outline-offset: -2px; background: rgba(255, 253, 248, .16); }
.thread__next .bub { animation: bub-in 600ms var(--ease-out) both; }
@keyframes bub-in { from { opacity: 0; translate: 0 10px; scale: .97; } }
.thread__foot { padding: 12px 16px; border-top: 1px solid rgba(11, 27, 51, .1); font: 500 .75rem/1.4 var(--mono); letter-spacing: .04em; color: var(--ink-2); }
.thread[data-mood="bad"] .thread__foot { color: var(--pink-ink); }
.thread[data-mood="good"] .thread__foot { color: var(--green-ink); }

/* ---------- the right moment ---------- */
.when { position: relative; display: grid; gap: 18px; padding: clamp(18px, 2.4vw, 32px); overflow: hidden; }
.when .wash::before { inset: -40% -20% 60% -20%; }
.when__top { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.when__q { font-size: var(--text-lg); }
.when__chips { position: relative; display: flex; flex-wrap: wrap; gap: 8px; }
.when__chip { min-height: 44px; padding: 0 18px; border-radius: var(--r-pill); background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(11, 27, 51, .35); transition: background-color var(--t-hover) var(--ease-out), color var(--t-hover) var(--ease-out), box-shadow var(--t-hover) var(--ease-out); }
.when__chip[aria-pressed="true"] { background: var(--cyan-ink); color: #ffffff; box-shadow: inset 0 0 0 1px var(--cyan-ink); }
@media (hover: hover) and (pointer: fine) { .when__chip[aria-pressed="false"]:hover { background: var(--ink); color: var(--paper); } }
.when__chip:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.when__chip[aria-pressed="false"]:focus-visible { background: var(--ink); color: var(--paper); }
.when__track { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.when__track::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: linear-gradient(90deg, var(--green), var(--amber), var(--pink), var(--violet)); }
.when__track li { position: relative; display: grid; gap: 6px; align-content: start; }
.when__k { width: 20px; height: 20px; background: var(--hue); box-shadow: 0 0 0 4px var(--paper); margin-bottom: 8px; }
.when__track b { font-size: var(--text-xl); font-weight: 400; letter-spacing: -.02em; line-height: 1.15; }
.when__track li > span:last-child { color: var(--ink-2); }
.when__track.is-swap li { animation: when-swap 520ms var(--ease-out) both; animation-delay: calc(var(--n, 0) * 70ms); }
.when__track li:nth-child(2) { --n: 1; } .when__track li:nth-child(3) { --n: 2; } .when__track li:nth-child(4) { --n: 3; }
@keyframes when-swap { from { opacity: .2; translate: 0 8px; } }
@media (max-width: 760px) {
  .when__track { grid-template-columns: 1fr; gap: 16px; padding-left: 4px; }
  .when__track::before { left: 13px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(180deg, var(--green), var(--amber), var(--pink), var(--violet)); }
  .when__track li { grid-template-columns: 20px 1fr; column-gap: 14px; }
  .when__k { grid-row: 1 / span 2; margin: 2px 0 0; }
}

/* ---------- problems come to you ---------- */
.rv-first__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.rv-first__copy > * + * { margin-top: 20px; }
.rv-first__copy .t-body { color: var(--ink-2); max-width: 54ch; padding-left: 14px; border-left: 3px solid var(--pink); }
.alert { display: grid; gap: 12px; padding: 16px; border-radius: 16px; background: linear-gradient(160deg, color-mix(in srgb, var(--pink) 16%, var(--white)), var(--white) 60%); box-shadow: inset 0 0 0 1px rgba(11, 27, 51, .08), var(--sh-2); font-size: .9375rem; line-height: 1.4; }
.alert__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.alert__bar b { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--pink-ink); }
.alert__bar b::before { content: ""; width: 10px; height: 10px; background: var(--pink); animation: al-pulse 1.6s var(--ease-io) infinite; }
@keyframes al-pulse { 50% { opacity: .3; } }
.alert__card { display: grid; gap: 10px; padding: 14px; border-radius: 10px; background: var(--white); border-left: 3px solid var(--pink); box-shadow: var(--sh-1); }
.alert__who { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.alert__who b { font-weight: 500; }
.alert__who > span:last-child { font-size: .8125rem; color: var(--ink-2); }
.alert__score { display: inline-flex; gap: 2px; }
.alert__score i { width: 12px; height: 12px; background: var(--amber); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.alert__score i.off { background: rgba(11, 27, 51, .2); }
.alert__said { font-size: 1.0625rem; }
.alert__tip { padding: 8px 10px; border-radius: 6px; background: color-mix(in srgb, var(--amber) 14%, var(--white)); outline: 1.5px dashed var(--amber-ink); outline-offset: -1px; }
.alert.is-done .alert__tip { background: color-mix(in srgb, var(--green) 14%, var(--white)); outline-color: var(--green-ink); color: var(--green-ink); font-weight: 500; }
.alert__acts { display: flex; flex-wrap: wrap; gap: 8px; }
.alert__btn { flex: 1 1 140px; min-height: 44px; padding: 0 14px; border-radius: var(--r-pill); background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink-3); font: 500 .75rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; transition: background-color var(--t-hover) var(--ease-out), color var(--t-hover) var(--ease-out), box-shadow var(--t-hover) var(--ease-out); }
.alert__btn--go, .alert__btn.is-next { background: var(--ink); color: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); }
.alert__btn:disabled { background: var(--paper-2); color: var(--ink-2); box-shadow: none; cursor: default; }
@media (hover: hover) and (pointer: fine) { .alert__btn:not(:disabled):hover { background: var(--pink-ink); color: #ffffff; box-shadow: inset 0 0 0 1px var(--pink-ink); } }
.alert__btn:not(:disabled):focus-visible { background: var(--pink-ink); color: #ffffff; box-shadow: inset 0 0 0 1px var(--pink-ink); outline: 2px solid var(--ink); outline-offset: 2px; }
.alert__log { display: grid; gap: 4px; padding: 0 4px; font: 400 .8125rem/1.4 var(--mono); color: var(--ink-2); }
.alert__log li { animation: bub-in 500ms var(--ease-out) both; }
@media (max-width: 900px) { .rv-first__grid { grid-template-columns: 1fr; } .rv-first__art { order: 2; } }

/* ---------- reply queue (diagonal band) ---------- */
.rv-replies { --skew-bg: linear-gradient(180deg, color-mix(in srgb, var(--violet) 14%, var(--white)), color-mix(in srgb, var(--amber) 8%, var(--white))); margin-block: var(--skew); }
.rq { display: grid; gap: 14px; }
.rq__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 4px; color: var(--ink-2); }
.rq__bar b { color: var(--ink); font-weight: 500; }
.rq__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); align-items: start; }
.rq__item { display: grid; gap: 10px; padding: 18px; border-radius: var(--r); background: var(--white); border-top: 4px solid var(--violet); box-shadow: inset 0 0 0 1px rgba(11, 27, 51, .08), var(--sh-1); transition: border-color var(--t-panel) var(--ease-out), translate var(--t-panel) var(--ease-out); }
.rq__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: .875rem; }
.rq__meta b { font-weight: 500; }
.rq__meta > span:last-child { color: var(--ink-2); }
.rq__stars { color: var(--amber-ink); letter-spacing: .08em; }
.rq__stars .off { color: rgba(11, 27, 51, .2); }
.rq__rev { font-size: 1.0625rem; line-height: 1.4; }
.rq__draft { padding: 10px 12px; border-radius: 8px; background: color-mix(in srgb, var(--violet) 8%, var(--white)); outline: 1.5px dashed var(--violet-ink); outline-offset: -1px; font-size: .9375rem; line-height: 1.45; color: var(--ink); }
.rq__draft::before { content: "Your reply"; display: block; margin-bottom: 4px; font: 500 .6875rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--violet-ink); }
.rq__draft.is-swap { animation: bub-in 420ms var(--ease-out) both; }
.rq__acts { display: flex; gap: 8px; }
.rq__ok, .rq__re { min-height: 44px; padding: 0 14px; border-radius: var(--r-pill); font: 500 .75rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; transition: background-color var(--t-hover) var(--ease-out), color var(--t-hover) var(--ease-out), box-shadow var(--t-hover) var(--ease-out); }
.rq__ok { flex: 1; background: var(--ink); color: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); }
.rq__re { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink-3); }
@media (hover: hover) and (pointer: fine) { .rq__ok:hover { background: var(--violet-ink); color: #ffffff; box-shadow: inset 0 0 0 1px var(--violet-ink); } .rq__re:hover { background: var(--ink); color: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); } }
.rq__ok:focus-visible { background: var(--violet-ink); color: #ffffff; box-shadow: inset 0 0 0 1px var(--violet-ink); }
.rq__re:focus-visible { background: var(--ink); color: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); }
.rq__item.is-posted { border-top-color: var(--green); }
.rq__item.is-posted .rq__draft { background: color-mix(in srgb, var(--green) 10%, var(--white)); outline-color: var(--green-ink); }
.rq__item.is-posted .rq__draft::before { content: "Posted"; color: var(--green-ink); }
.rq__posted { display: flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; color: var(--green-ink); }
.rq__posted::before { content: ""; width: 10px; height: 10px; background: var(--green); }
.rq__clear { padding: 14px 16px; border-radius: 10px; background: var(--white); font-weight: 500; color: var(--green-ink); box-shadow: inset 0 0 0 1px rgba(11, 27, 51, .08); }
@media (max-width: 960px) { .rq__list { grid-template-columns: 1fr; } }

/* ---------- monthly tally ---------- */
.rv-month__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.rv-month__copy > * + * { margin-top: 20px; }
.tally { display: grid; gap: 16px; padding: clamp(18px, 2.2vw, 28px); border-radius: 16px; background: var(--white); box-shadow: inset 0 0 0 1px rgba(11, 27, 51, .08), var(--sh-2); border-top: 4px solid var(--green); }
.tally__bar { display: flex; justify-content: space-between; align-items: center; }
.tally__bar b { font-size: var(--text-xl); font-weight: 300; letter-spacing: -.02em; }
.tally__weeks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: end; height: 150px; padding-bottom: 4px; border-bottom: 1px solid rgba(11, 27, 51, .12); }
.tally__w { display: grid; gap: 6px; justify-items: center; align-content: end; }
.tally__col { display: flex; flex-direction: column-reverse; gap: 3px; width: 100%; max-width: 54px; }
.tally__col i { display: block; height: 12px; background: var(--green); }
.tally__col i:nth-child(n+5) { background: var(--cyan); }
.tally__w small { font: 500 .6875rem/1 var(--mono); color: var(--ink-2); }
.js .tally.reveal.is-in .tally__col i { animation: tally-up 500ms var(--ease-out) both; animation-delay: calc(var(--n) * 120ms + 200ms); }
@keyframes tally-up { from { opacity: 0; scale: 1 0; } }
.tally__dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; }
.tally__dl div { padding: 10px; border-radius: 8px; background: var(--paper); }
.tally__dl dt { font: 500 .6875rem/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.tally__dl dd { margin: 4px 0 0; font-weight: 500; line-height: 1.3; }
.tally__said { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.tally__said .label { margin-right: 4px; color: var(--ink-2); }
.chip { padding: 6px 10px; border-radius: var(--r-pill); background: color-mix(in srgb, var(--green) 14%, var(--white)); color: var(--green-ink); font-size: .8125rem; font-weight: 500; }
.chip--warn { background: color-mix(in srgb, var(--amber) 18%, var(--white)); color: var(--amber-ink); }
@media (max-width: 900px) { .rv-month__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .tally__dl { grid-template-columns: 1fr; } }

/* ---------- questions ---------- */
.rv-faq__head { max-width: 900px; margin-bottom: var(--sp-head); }
.rv-faq__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 4.6vw, 72px); align-items: start; }
.rv-faq__side { display: grid; gap: 14px; }
.rv-side { position: relative; display: grid; gap: 8px; padding: clamp(18px, 2vw, 26px); overflow: hidden; text-decoration: none; color: var(--ink); }
.rv-side .label { position: relative; color: var(--hue-ink); }
.rv-side b { position: relative; font-weight: 400; }
.rv-side .t-body { position: relative; color: var(--ink-2); }
.rv-side__go { position: relative; display: inline-flex; align-items: center; gap: 10px; margin-top: 4px; font: 500 .75rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--hue-ink); }
@media (hover: hover) and (pointer: fine) { .rv-side:hover .rv-side__go .arrow { width: 22px; } .rv-side:hover b { color: var(--hue-ink); } }
.rv-side:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.rv-side:focus-visible .rv-side__go .arrow { width: 22px; }
.rv-faq__next { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; margin-top: var(--sp-head); }
@media (max-width: 900px) { .rv-faq__grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .star, .star::before, .when__chip, .alert__btn, .rq__ok, .rq__re, .rq__item { transition: none; }
  .thread__next .bub, .when__track.is-swap li, .alert__bar b::before, .alert__log li, .rq__draft.is-swap, .js .tally.reveal.is-in .tally__col i { animation: none; }
}
.gly { width: 18px; height: 18px; margin-right: 4px; vertical-align: -3px; color: var(--hue-ink); flex: none; }
.thread__bar small .gly { width: 13px; height: 13px; margin-right: 4px; vertical-align: -2px; color: var(--ink-2); }
.when__q .gly { color: var(--cyan-ink); }
.alert__bar b .gly { color: var(--pink-ink); margin: 0 0 0 4px; }
.rq__bar .gly { color: var(--violet-ink); }
.tally__bar .gly { color: var(--green-ink); width: 22px; height: 22px; }
.rv-side b .gly { width: 22px; height: 22px; }
