/* The profile picture tool (USER_STORIES_WEB W44), on top of viewer.css. */
.pp-card { padding: 14px; }
.pp-frame { position: relative; margin: 0; border-radius: 18px; overflow: hidden; background: var(--panel-2); aspect-ratio: 1; max-width: 520px; }
.pp-frame > a { display: block; width: 100%; height: 100%; }
.pp-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pp-frame.pp-tiny > a { display: grid; place-items: center; }
.pp-frame.pp-tiny img { width: auto; height: auto; max-width: 100%; border-radius: 50%; }
.pp-size { position: absolute; left: 10px; bottom: 10px; display: inline-flex; gap: 6px; align-items: center; font-size: 12.5px; font-weight: 700; color: #fff; background: rgba(10, 6, 14, 0.62); border-radius: 999px; padding: 4px 10px; backdrop-filter: blur(6px); pointer-events: none; }
.pp-size .sv-i { width: 14px; height: 14px; stroke: #fff; fill: none; stroke-width: 2.2; }
.pp-id { display: flex; align-items: center; gap: 12px; margin: 14px 4px 0; }
.pp-flag { display: flex; gap: 10px; align-items: flex-start; margin: 14px 4px 0; padding: 12px 14px; border-radius: 14px; background: var(--panel-2); color: var(--tx-2); font-size: 14.5px; }
.pp-flag b { color: var(--tx); }
.pp-flag .sv-i { width: 18px; height: 18px; flex: none; margin-top: 2px; stroke: currentColor; fill: none; stroke-width: 2; color: var(--tx); }
.pp-acts { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 4px 2px; }
.pp-acts .sv-btn { margin-top: 0; flex: 1 1 auto; justify-content: center; }
.pp-acts .sv-i { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }
.pp-acts .pp-save { background: var(--tx); color: var(--bg); border-color: var(--tx); }
.pp-acts .pp-save:hover { opacity: 0.9; }
.pp-note { margin: 12px 4px 0; font-size: 13.5px; color: var(--tx-3); }
@media (min-width: 900px) {
  .pp-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px 26px; align-items: center; padding: 18px; }
  .pp-acts .sv-btn { flex: 0 0 auto; }
}
.pp-state { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: center; }
.pp-state .pp-small { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; border: 3px solid var(--line); }
.pp-state .pp-small svg { width: 100%; height: 100%; display: block; }
.pp-state h3 { margin: 0; font-size: 18px; letter-spacing: -0.02em; display: flex; gap: 8px; align-items: center; }
.pp-state h3 .sv-i { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; flex: none; }
.pp-state p { margin: 4px 0 0; color: var(--tx-2); font-size: 14.5px; }
.prose .pp-steps { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); padding: 0; margin: 18px 0 0; list-style: none; counter-reset: s; }
.prose .pp-steps li { counter-increment: s; margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; color: var(--tx-2); }
.pp-steps li::before { content: counter(s); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--panel-2); color: var(--tx); font-weight: 800; margin-bottom: 8px; }
.pp-steps b { color: var(--tx); display: block; margin-bottom: 2px; }
