/* CV Mojo app (v2 preview): success stories, the story form, a post with its comments
   and the post composer, ps- classes. */

/* Shared pieces ----------------------------------------------------------- */
.ps-you { display: inline-block; margin-left: 4px; padding: 1px 8px; font-size: 11px; font-weight: 800; line-height: 1.5; color: var(--navy); vertical-align: 2px; background: var(--yellow); border-radius: 999px; }
.ps-badge { display: inline-block; padding: 1px 8px; font-size: 11px; font-weight: 800; line-height: 1.5; color: var(--navy); vertical-align: 1px; background: var(--cyan); border-radius: 999px; }
.ps-kicker { font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ps-req { color: #b42318; }
.ps-opt { font-size: 12px; font-weight: 600; color: var(--muted); }
.ps-tone--like { --tone: var(--indigo); --tone-soft: #e4e7fb; }
.ps-tone--insightful { --tone: var(--amber); --tone-soft: var(--amber-soft); }
.ps-tone--celebrate { --tone: #2a7d00; --tone-soft: var(--ok-soft); }
.ps-tone--support { --tone: #b42318; --tone-soft: #fdecea; }
.ps-loading { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 10px 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.ps-dots { display: inline-flex; gap: 4px; }
.ps-dots i { width: 7px; height: 7px; background: var(--indigo); border-radius: 50%; animation: ps-blink 1s ease-in-out infinite; }
.ps-dots i:nth-child(2) { animation-delay: .15s; }
.ps-dots i:nth-child(3) { animation-delay: .3s; }
.ps .ap-input[aria-invalid="true"], .ps .ap-textarea[aria-invalid="true"] { border-color: #b42318; }
.ps .ap-error ul { margin: 6px 0 0; padding-left: 18px; font-weight: 500; }
.ps .btn.ps-danger { background: #b42318; box-shadow: none; }
.ps .btn.ps-danger:hover { background: #8f1b13; }

/* Facts (role, months, salary ...) and the CV Score jump --------------------- */
.ps-facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ps-facts li { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 5px 11px; font-size: 13px; font-weight: 600; color: var(--navy); background: var(--mist); border-radius: 999px; }
.ps-facts li span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ps-facts svg { flex: none; color: var(--indigo); }
.ps-jump { display: inline-flex; align-self: flex-start; align-items: center; gap: 7px; margin: 0; padding: 5px 12px; font-size: 13px; font-weight: 700; color: #2a7d00; background: var(--ok-soft); border-radius: 999px; }
.ps-jump > span { color: var(--navy); }
.ps-jump b { padding: 1px 8px; font-size: 12px; color: var(--navy); background: var(--yellow); border-radius: 999px; }
.ps-jump--up { padding-right: 6px; }

/* Story cards ------------------------------------------------------------- */
.ps-bar { display: grid; gap: 10px; }
.ps-bar[hidden] { display: none; }
.ps-shown { margin: 0; font-size: 13.5px; color: var(--muted); }
.ps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.ps-card { --tone: var(--yellow); --tone-soft: var(--yellow-soft); position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 26px 22px 16px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 1px 2px rgba(25, 29, 59, .05), 0 2px 8px rgba(25, 29, 59, .04); transition: transform .2s ease, box-shadow .2s ease; animation: db-in .45s ease backwards; }
.ps-card::before { content: ''; position: absolute; left: -1px; right: -1px; top: -1px; height: 6px; background: var(--tone); border-radius: 22px 22px 0 0; }
.ps-tone-cyan { --tone: var(--cyan); --tone-soft: var(--cyan-soft); }
.ps-tone-channel { --tone: var(--channel); --tone-soft: var(--channel-soft); }
.ps-grid > .ps-card:nth-child(2) { animation-delay: .05s; }
.ps-grid > .ps-card:nth-child(3) { animation-delay: .1s; }
.ps-grid > .ps-card:nth-child(4) { animation-delay: .15s; }
.ps-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(25, 29, 59, .1), 0 2px 6px rgba(25, 29, 59, .05); }
.ps-card-sticker { top: -12px; right: 20px; }
.ps-landed { display: grid; gap: 2px; padding: 12px 14px; background: var(--tone-soft); border-radius: 14px; }
.ps-landed b { font-size: 15.5px; line-height: 1.3; color: var(--navy); overflow-wrap: anywhere; }
.ps-landed > span:last-child:not(.ps-kicker) { font-size: 14px; font-weight: 600; color: var(--text); overflow-wrap: anywhere; }
.ps-card-title { margin: 0; font-size: 1.1rem; font-weight: 800; letter-spacing: -.015em; line-height: 1.3; color: var(--navy); overflow-wrap: anywhere; }
.ps-card-title a { color: var(--navy); text-decoration: none; }
.ps-card:hover .ps-card-title a { color: var(--indigo); }
.ps-stretch::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: 22px; }
.ps-stretch:focus-visible { outline: none; }
.ps-stretch:focus-visible::after { outline: 3px solid var(--indigo); outline-offset: 3px; }
.ps-card-ex { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--text); overflow-wrap: anywhere; }
.ps-card-foot { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); }
.ps-card-foot .ap-av { width: 32px; height: 32px; font-size: 13px; }
.ps-card-by { flex: 1; min-width: 0; }
.ps-card-by b { display: block; overflow: hidden; font-size: 14px; color: var(--navy); white-space: nowrap; text-overflow: ellipsis; }
.ps-card-by span { font-size: 12.5px; color: var(--muted); }
.ps-count-ic { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--muted); }
.ps-card.is-preview { animation: none; }
.ps-card.is-preview:hover { transform: none; box-shadow: 0 1px 2px rgba(25, 29, 59, .05), 0 2px 8px rgba(25, 29, 59, .04); }

.ps-more { display: grid; justify-items: center; gap: 10px; }
.ps-more:empty { display: none; }
.ps-more-msg { margin: 0; font-size: 14px; color: var(--muted); }

/* The "share yours" band under the stories */
.ps-band { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; padding: 26px 28px; overflow: hidden; color: #c9cdea; background: radial-gradient(360px 220px at 100% 0%, rgba(58, 250, 244, .14), transparent 60%), linear-gradient(150deg, var(--indigo), var(--navy)); border-radius: 22px; }
.ps-band[hidden] { display: none; }
.ps-band-ic { flex: none; display: grid; place-items: center; width: 58px; height: 58px; color: var(--navy); background: var(--yellow); border-radius: 18px; transform: rotate(-6deg); }
.ps-band-text { flex: 1 1 280px; min-width: 0; }
.ps-band h2 { margin: 0 0 4px; font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.ps-band p { margin: 0; font-size: 15px; line-height: 1.55; }

/* Forms (story and post) --------------------------------------------------- */
.ps-form { display: grid; gap: 18px; min-width: 0; }
.ps-panel { --tone: var(--yellow); --tone-soft: var(--yellow-soft); display: grid; gap: 16px; min-width: 0; margin: 0; padding: 24px; background: var(--tone-soft); border: 0; border-radius: 22px; }
.ps-panel--cyan { --tone: var(--cyan); --tone-soft: var(--cyan-soft); }
.ps-panel--channel { --tone: var(--channel); --tone-soft: var(--channel-soft); }
.ps-panel .ap-field + .ap-field { margin-top: 0; }
.ps-panel .ap-input, .ps-panel .ap-textarea { background: #fff; }
.ps-legend { float: left; display: flex; align-items: center; gap: 10px; width: 100%; margin: 0; padding: 0; font-size: 1.05rem; font-weight: 800; letter-spacing: -.01em; color: var(--navy); }
.ps-step { display: grid; place-items: center; width: 30px; height: 30px; font-size: 14px; font-weight: 800; color: var(--navy); background: var(--tone); border-radius: 10px; transform: rotate(-6deg); }
.ps-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ps-row--scores { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; }
.ps-scores { display: grid; gap: 12px; padding: 16px; background: rgba(255, 255, 255, .55); border-radius: 16px; }
.ps-scores-h { margin: 0; font-size: 14px; color: var(--navy); }
.ps-scores-h .ap-hint { display: inline-block; margin-top: 2px; }
.ps-scores-arrow { padding-bottom: 12px; color: var(--muted); }
.ps-prompts { display: flex; flex-wrap: wrap; gap: 6px; }
.ps-prompt { display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; font: inherit; font-size: 13px; font-weight: 700; color: var(--navy); background: #fff; border: 1.5px dashed #b9bff0; border-radius: 999px; cursor: pointer; transition: border-color .15s ease, color .15s ease; }
.ps-prompt:hover { color: var(--indigo); border-style: solid; border-color: var(--indigo); }
.ps-story-input { min-height: 240px; }
.ps-form-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.ps-form > .ap-error { margin: 0; }

.ps-aside-h { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ps-note { display: flex; gap: 10px; margin: 0; padding: 14px 16px; font-size: 13.5px; line-height: 1.5; color: var(--muted); background: var(--mist); border-radius: 14px; }
.ps-note svg { flex: none; margin-top: 2px; color: var(--indigo); }

/* Image picker */
.ps-file { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); opacity: 0; }
.ps-drop { display: flex; align-items: center; gap: 14px; padding: 16px 18px; color: var(--navy); background: #fff; border: 2px dashed #b9bff0; border-radius: 16px; cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.ps-drop:hover, .ps-drop.is-over { background: #fbfcff; border-color: var(--indigo); }
.ps-drop.is-full { cursor: default; opacity: .75; }
.ps-drop.is-full:hover { background: #fff; border-color: #b9bff0; }
.ps-file:focus-visible + .ps-drop { outline: 3px solid var(--indigo); outline-offset: 2px; }
.ps-drop-ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; color: var(--navy); background: var(--cyan); border-radius: 14px; transform: rotate(-4deg); }
.ps-drop-text { min-width: 0; }
.ps-drop-text b { display: block; font-size: 15px; }
.ps-drop-text span { font-size: 13px; color: var(--muted); }
.ps-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.ps-thumbs[hidden] { display: none; }
.ps-thumb { position: relative; display: grid; gap: 4px; min-width: 0; }
.ps-thumb-media { display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; color: var(--muted); background: #fff; border-radius: 12px; box-shadow: 0 2px 6px rgba(25, 29, 59, .08); }
.ps-thumb-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ps-thumb-name { overflow: hidden; font-size: 12px; color: var(--muted); white-space: nowrap; text-overflow: ellipsis; }
.ps-thumb-x { position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 30px; height: 30px; color: #fff; background: rgba(25, 29, 59, .78); border: 0; border-radius: 50%; cursor: pointer; }
.ps-thumb-x:hover { background: #b42318; }

/* Post preview */
.ps-mini { position: relative; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 1px 2px rgba(25, 29, 59, .05), 0 2px 8px rgba(25, 29, 59, .04); }
.ps-mini-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.ps-mini-title { margin: 0 0 6px; font-size: 1.05rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.3; color: var(--navy); overflow-wrap: anywhere; }
.ps-mini-body { font-size: 14px; line-height: 1.6; color: var(--text); overflow-wrap: anywhere; }
.ps-mini-body p { margin: 0 0 .6em; }
.ps-mini .is-empty, .ps-mini .is-empty p { color: #9a9db8; }

/* A post ------------------------------------------------------------------ */
.ps-back { justify-self: start; display: inline-flex; align-items: center; gap: 6px; margin-bottom: 4px; font-size: 14px; font-weight: 700; color: var(--muted); text-decoration: none; border-radius: 8px; }
.ps-back:hover { color: var(--indigo); text-decoration: none; }
.ps-post-body { display: grid; gap: 16px; }
.ps-main { display: grid; gap: 20px; min-width: 0; }
.ps-article { --bar: var(--channel); padding: 30px 32px 16px; animation: db-in .45s ease backwards; }
.ps-article::before { content: ''; position: absolute; left: -1px; right: -1px; top: -1px; height: 6px; background: var(--bar); border-radius: 22px 22px 0 0; }
.ps-article--story, .ps-article--pinned { --bar: var(--yellow); }
.ps-article--review { --bar: var(--ok); }
.ps-sticker { top: -13px; right: 24px; }
.ps-head { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 18px; }
.ps-author { display: flex; flex: 1; min-width: 0; align-items: center; gap: 12px; color: inherit; text-decoration: none; border-radius: 12px; }
.ps-author:hover { color: inherit; text-decoration: none; }
.ps-author:hover b { color: var(--indigo); }
.ps-author .ap-av { width: 46px; height: 46px; font-size: 16px; }
.ps-author-text { min-width: 0; }
.ps-author-text b { display: block; overflow: hidden; font-size: 15px; color: var(--navy); white-space: nowrap; text-overflow: ellipsis; }
.ps-author-text > span { display: block; font-size: 13px; color: var(--muted); }
.ps-kind { margin: 0 0 8px; }
.ps-title { max-width: 40ch; margin: 0 0 16px; font-size: clamp(1.55rem, 2.6vw, 2.1rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; color: var(--navy); overflow-wrap: anywhere; }
.ps-title:focus { outline: none; }
.ps-prose { max-width: 70ch; font-size: 16.5px; line-height: 1.75; color: var(--text); overflow-wrap: anywhere; }
.ps-prose p { margin: 0 0 1em; }
.ps-prose a { font-weight: 600; }

/* The result of a success story */
.ps-result { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin: 0 0 22px; padding: 20px 22px; background: var(--yellow-soft); border-radius: 18px; }
.ps-result-main { display: grid; flex: 1 1 260px; gap: 6px; min-width: 0; }
.ps-result .ps-kicker { display: inline-flex; align-items: center; gap: 6px; margin: 0; color: var(--navy); }
.ps-result-role { margin: 0; font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; color: var(--navy); overflow-wrap: anywhere; }
.ps-result-role span { font-weight: 600; color: var(--text); }
.ps-result .ps-facts { margin-top: 6px; }
.ps-result .ps-facts li { background: #fff; }
.ps-result-score { flex: none; display: grid; justify-items: center; gap: 6px; padding: 14px 18px 12px; background: #fff; border-radius: 16px; box-shadow: 0 8px 18px rgba(25, 29, 59, .08); transform: rotate(1.5deg); }
.ps-rings { display: flex; align-items: center; gap: 10px; }
.ps-ring { display: grid; justify-items: center; gap: 4px; }
.ps-ring .cvm-ring--sm { width: 54px; height: 54px; }
.ps-ring .cvm-ring b { font-size: 17px; }
.ps-ring small { font-size: 11.5px; font-weight: 700; color: var(--muted); }
.ps-ring-arrow { color: var(--muted); }
.ps-result-label { margin: 0; font-size: 13px; font-weight: 800; color: var(--navy); }
.ps-result-label b { padding: 1px 8px; background: var(--yellow); border-radius: 999px; }

/* Images */
.ps-imgs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; max-width: 760px; margin: 6px 0 10px; overflow: hidden; border-radius: 16px; }
.ps-imgs--1 { grid-template-columns: minmax(0, 1fr); }
.ps-imgs--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ps-imgs a, .ps-imgs > span { display: block; background: var(--mist); }
.ps-imgs img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ps-imgs--1 img { max-height: 520px; aspect-ratio: auto; object-fit: contain; }
.ps-imgs a:focus-visible { outline: 3px solid var(--indigo); outline-offset: -3px; }

/* Reactions and sharing */
.ps-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 18px -6px 0; padding-top: 14px; border-top: 1px dashed var(--line); }
.ps-foot.is-busy .ps-react { cursor: progress; }
.ps-reacts { display: flex; flex-wrap: wrap; gap: 6px; }
.ps-react { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 7px 14px; font: inherit; font-size: 14px; font-weight: 700; color: var(--navy); background: #fff; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; transition: background-color .15s ease, border-color .15s ease; }
.ps-react svg { color: var(--tone); }
.ps-react b { font-weight: 800; }
.ps-react:hover { background: var(--tone-soft); border-color: var(--tone); }
.ps-react.is-on { background: var(--tone-soft); border-color: var(--tone); box-shadow: inset 0 0 0 1px var(--tone); }
.ps-react.is-pop svg { animation: ps-bounce .45s ease; }
.ps-foot-side { display: flex; flex-wrap: wrap; gap: 2px; margin-left: auto; }
.ps-who { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 8px 12px; font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); background: none; border: 0; border-radius: 999px; cursor: pointer; }
.ps-who:hover { color: var(--navy); background: var(--mist); }

/* Inline confirmations */
.ps-confirm { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 12px 0 4px; padding: 12px 14px; font-size: 14px; font-weight: 600; color: var(--navy); background: #fdecea; border-radius: 14px; }
.ps-confirm > span { flex: 1 1 200px; }
.ps-confirm .btn, .ps-inline .btn { min-height: 38px; padding: 7px 14px; font-size: 13.5px; }
.ps-confirm--sm { margin: 0; padding: 10px 12px; }

/* Editing a post */
.ps-edit { display: grid; gap: 14px; margin-bottom: 6px; }
.ps-edit .ap-field + .ap-field { margin-top: 0; }
.ps-edit .ap-error { margin: 0; }
.ps-edit-title { font-size: 1.1rem; font-weight: 700; }
.ps-edit-note { display: flex; gap: 8px; margin: 0; padding: 10px 14px; font-size: 13.5px; color: var(--navy); background: var(--yellow-soft); border-radius: 12px; }
.ps-edit-note svg { flex: none; margin-top: 2px; }

/* Comments */
.ps-comments { padding: 26px 28px; }
.ps-comments-h { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 1.2rem; font-weight: 800; letter-spacing: -.01em; color: var(--navy); }
.ps-comments-h:focus { outline: none; }
.ps-none { margin: 0; padding: 14px 16px; font-size: 14.5px; color: var(--muted); background: var(--mist); border-radius: 14px; }
.ps-none[hidden] { display: none; }
.ps-thread, .ps-replies { display: grid; margin: 0; padding: 0; list-style: none; }
.ps-thread:empty, .ps-replies:empty { display: none; }
.ps-c { display: flex; gap: 12px; padding: 12px 0; }
.ps-thread > .ps-c + .ps-c { border-top: 1px solid var(--line); }
.ps-c .ap-av { width: 38px; height: 38px; font-size: 14px; }
.ps-c--reply { padding: 8px 0 8px 14px; }
.ps-c--reply .ap-av { width: 30px; height: 30px; font-size: 12px; }
.ps-c-av { flex: none; text-decoration: none; }
.ps-c-main { flex: 1; min-width: 0; }
.ps-c-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.ps-c-name { font-size: 14.5px; font-weight: 800; color: var(--navy); text-decoration: none; overflow-wrap: anywhere; }
a.ps-c-name:hover { color: var(--indigo); text-decoration: underline; text-underline-offset: 3px; }
.ps-c-meta { font-size: 12.5px; color: var(--muted); }
.ps-c-body { width: fit-content; max-width: 100%; margin-top: 4px; padding: 10px 14px; font-size: 15px; line-height: 1.6; color: var(--text); background: var(--mist); border-radius: 4px 16px 16px 16px; overflow-wrap: anywhere; }
.ps-c-body[hidden] { display: none; }
.ps-c-body p { margin: 0 0 .5em; }
.ps-c-body p:last-child { margin-bottom: 0; }
.ps-c-body a { font-weight: 600; }
.ps-c-acts { display: flex; flex-wrap: wrap; gap: 2px; margin: 4px 0 0 -6px; }
.ps-c-act { display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 5px 9px; font: inherit; font-size: 13px; font-weight: 700; color: var(--muted); background: none; border: 0; border-radius: 999px; cursor: pointer; }
.ps-c-act:hover { color: var(--navy); background: var(--mist); }
.ps-c-act--danger:hover { color: #b42318; background: #fdecea; }
.ps-c-slot { margin-top: 8px; }
.ps-c-slot:empty { display: none; }
.ps-replies { margin-top: 6px; border-left: 2px solid var(--line); }
.ps-inline { display: grid; gap: 8px; }
.ps-inline .ap-textarea { min-height: 84px; }
.ps-inline .ap-error { margin: 0; }
.ps-composer { display: flex; gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--line); }
.ps-composer > .ap-av { width: 38px; height: 38px; }
.ps-composer-main { display: grid; flex: 1; gap: 8px; min-width: 0; }
.ps-composer-input { min-height: 96px; }
.ps-composer .ap-error { margin: 0; }
.ps-composer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.ps-guest { display: grid; justify-items: start; gap: 12px; margin-top: 18px; padding: 18px; background: var(--channel-soft); border-radius: 16px; }
.ps-guest p { margin: 0; color: var(--navy); }

/* Side card on a post */
.ps-cta { display: grid; justify-items: start; gap: 12px; padding: 26px; }
.ps-cta h2 { margin: 0; font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; }
.ps-cta p { margin: 0; font-size: 14.5px; line-height: 1.55; }
.ps-cta-ic { display: grid; place-items: center; width: 48px; height: 48px; color: var(--navy); background: var(--yellow); border-radius: 14px; transform: rotate(-6deg); }
.ps-cta-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: #fff; text-decoration: underline; text-underline-offset: 3px; border-radius: 6px; }
.ps-cta-link:hover { color: var(--yellow); }

/* Who reacted */
.ps-dialog { width: min(460px, calc(100% - 32px)); max-width: none; max-height: calc(100% - 48px); padding: 0; color: var(--text); background: #fff; border: 0; border-radius: 22px; box-shadow: 0 30px 60px rgba(25, 29, 59, .25); }
.ps-dialog::backdrop { background: rgba(13, 15, 30, .5); }
.ps-dialog.is-fallback { position: fixed; inset: 0; z-index: 500; height: fit-content; margin: auto; box-shadow: 0 0 0 100vmax rgba(13, 15, 30, .5); }
.ps-dialog[open] { animation: ps-pop .2s ease; }
.ps-dialog-box { display: grid; gap: 14px; padding: 22px 22px 18px; }
.ps-dialog-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ps-dialog-h h2 { margin: 0; font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; color: var(--navy); }
.ps-chip-n { font-weight: 800; opacity: .7; }
.ps-who-list { display: grid; gap: 2px; max-height: min(60vh, 460px); margin: 0 -8px; padding: 0; overflow-y: auto; list-style: none; }
.ps-who-row { gap: 12px; padding: 8px; }
.ps-who-type { flex: none; display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; font-size: 12px; font-weight: 700; color: var(--navy); background: var(--tone-soft); border-radius: 999px; }
.ps-who-type svg { color: var(--tone); }
.ps-who-msg { display: grid; justify-items: start; gap: 10px; padding: 8px 0; }
.ps-who-msg p { margin: 0; color: var(--muted); }

/* Focus -------------------------------------------------------------------- */
.ps-react:focus-visible, .ps-who:focus-visible, .ps-c-act:focus-visible, .ps-prompt:focus-visible, .ps-thumb-x:focus-visible,
.ps-author:focus-visible, .ps-back:focus-visible, .ps-c-name:focus-visible, .ps-card-title a:focus-visible { outline: 3px solid var(--indigo); outline-offset: 2px; }
.ps-cta-link:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* Motion ------------------------------------------------------------------- */
@keyframes ps-bounce { 40% { transform: scale(1.3) rotate(-8deg); } }
@keyframes ps-pop { from { opacity: 0; transform: translateY(8px) scale(.97); } }
@keyframes ps-blink { 50% { opacity: .25; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) {
  .ps-card, .ps-article, .ps-react.is-pop svg, .ps-dots i, .ps-dialog[open] { animation: none; }
  .ps-card, .ps-react, .ps-drop, .ps-prompt { transition: none; }
  .ps-card:hover { transform: none; }
}

/* Small screens ------------------------------------------------------------ */
@media (max-width: 760px) {
  .ps-article { padding: 24px 18px 12px; }
  .ps-article::before { border-radius: 18px 18px 0 0; }
  .ps-sticker { right: 16px; }
  .ps-comments { padding: 20px 16px; }
  .ps-panel { padding: 20px 16px; border-radius: 18px; }
  .ps-row { grid-template-columns: minmax(0, 1fr); }
  .ps-row--scores { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; }
  .ps-thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ps-prose { font-size: 16px; }
  .ps-result { padding: 16px; }
  .ps-result-score { transform: none; }
  .ps-band { padding: 22px 20px; }
  .ps-foot { margin: 14px -4px 0; }
}
@media (max-width: 480px) {
  .ps-grid { grid-template-columns: minmax(0, 1fr); }
  .ps-card { padding: 24px 18px 14px; }
  .ps-form-actions .btn { flex: 1; }
  .ps-composer > .ap-av { display: none; }
  .ps-react { padding: 7px 12px; }
  .ps-c { gap: 10px; }
  .ps-c-body { padding: 9px 12px; }
  .ps-c--reply { padding-left: 10px; }
}
/* Posts from CV Mojo staff accounts (author_official): a small navy "Official" label next to the name. */
.ps-official { display: inline-block; margin-left: 4px; padding: 1px 8px; font-size: 11px; font-weight: 800; line-height: 1.5; color: #fff; vertical-align: 2px; background: var(--navy); border-radius: 999px; }
