/* Generic, unbranded app mock-ups for the pfp preview tool (loaded only on /tools/pfp-preview/).
   Neutral greys and placeholder bars only: no logos, brand colours or copied interface, just where an avatar sits. */

.tool__grid--preview { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
@media (max-width: 900px) { .tool__grid--preview { grid-template-columns: minmax(0, 1fr); } }

.fit-note { width: min(480px, 100%); border-radius: 16px; padding: 12px 16px; font-weight: 600; font-size: var(--s-small); line-height: 1.45; }
.fit-note.is-ok { background: var(--mint); }
.fit-note.is-warn { background: var(--coral); }
.editor #fix { width: min(480px, 100%); }

.previews__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.previews h2 { font-size: var(--s-lead); line-height: 1.15; letter-spacing: -0.02em; }
.previews .mode-switch button { padding: 10px 18px; min-height: 44px; }
.previews__note { margin-top: 8px; }

/* ---------- the mock-ups ---------- */
.mockups {
  --m-bg: #ffffff; --m-soft: #f1f1f4; --m-line: #e4e4ea; --m-bar: #d6d6dd; --m-bar-strong: #9c9ca8; --m-media: #cfcfd8; --m-video: #2c2c34;
  list-style: none; margin: 20px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 16px; align-items: start;
}
.mockups[data-theme="dark"] { --m-bg: #17171c; --m-soft: #222229; --m-line: #2d2d35; --m-bar: #3a3a44; --m-bar-strong: #6f6f7d; --m-media: #2f2f39; --m-video: #0e0e12; }
.mk__label { font-weight: 700; font-size: var(--s-small); margin-bottom: 8px; }
.mk__frame {
  background: var(--m-bg); border: 1px solid var(--m-line); border-radius: 18px; padding: 14px; overflow: hidden;
  display: grid; gap: 12px; transition: background-color var(--t-hover) ease, border-color var(--t-hover) ease;
}

/* avatars: the user's picture, cropped by the platform's shape from platforms.json */
.mk-av { flex: none; display: block; width: var(--s); height: var(--s); object-fit: cover; border-radius: 50%; background: var(--m-media); }
.mk--square .mk-av { border-radius: 4px; }
.mk--rounded .mk-av { border-radius: 22%; }
.mk-other { background: var(--m-bar); }
.mk-av--lift { margin-top: calc(var(--s) / -2); outline: 4px solid var(--m-bg); }
.mk-av--ring { outline: 2px solid var(--m-bar-strong); outline-offset: 3px; margin: 5px; }

/* placeholder text */
.mk-lines { flex: 1; min-width: 0; display: grid; gap: 7px; align-content: center; }
.mk-t { display: block; width: var(--w); height: 8px; border-radius: 4px; background: var(--m-bar); }
.mk-t--b { height: 10px; background: var(--m-bar-strong); }
.mk-t--s { height: 6px; }
.mk-row { display: flex; align-items: flex-start; gap: 10px; }
.mk-row--mid { align-items: center; }
.mk-time { flex: none; width: 26px; height: 6px; border-radius: 3px; background: var(--m-bar); margin-top: 4px; }

/* profile pages */
.mk-banner { height: 70px; margin: -14px -14px 0; background: var(--m-media); }
.mk-banner--short { height: 54px; }
.mk-lift { display: flex; align-items: flex-start; justify-content: space-between; height: 32px; }
.mk-pill { width: 74px; height: 26px; border-radius: 999px; border: 1px solid var(--m-bar); }
.mk-stats { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mk-stats span { display: grid; gap: 6px; justify-items: center; }

/* chat */
.mk-input { height: 34px; border-radius: 10px; background: var(--m-soft); }

/* short video: the avatar sits in a column over the video */
.mk-video { position: relative; height: 300px; margin: -14px; padding: 14px; background: var(--m-video); display: flex; align-items: flex-end; }
.mk-video .mk-lines { max-width: 70%; }
.mk-video .mk-t { background: rgba(255, 255, 255, 0.35); }
.mk-video .mk-t--b { background: rgba(255, 255, 255, 0.6); }
.mk-side { position: absolute; right: 12px; bottom: 70px; display: grid; justify-items: center; gap: 16px; }
.mk-follow { position: relative; display: block; }
.mk-follow .mk-av { outline: 2px solid #fff; }
.mk-plus { position: absolute; left: 50%; bottom: -7px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: #fff; }
.mk-dot { display: block; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, 0.4); }

/* video feed */
.mk-thumb { aspect-ratio: 16 / 9; margin: -14px -14px 0; background: var(--m-media); }
