/* ============================================================
   LifeScribe V2 — Social Pages Shared Styles
   Used by: Instagram.html, Facebook.html, X.html, Social.html
   ============================================================ */

@import url('./colors_and_type.css');

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: var(--bg-2); color: var(--fg-2); font-family: var(--font-body); }
img { max-width: 100%; display: block; }

/* ---------- Page chrome ---------- */
.soc-shell { max-width: 1240px; margin: 0 auto; padding: 56px 32px 96px; }
@media (max-width: 700px) { .soc-shell { padding: 32px 18px 64px; } }

.soc-pageheader { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid var(--rule); margin-bottom: 40px; }
.soc-pageheader-eyebrow { font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; }
.soc-pageheader h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(34px, 4vw, 48px); line-height: 1.1; color: var(--fg-1); margin: 0; letter-spacing: -0.6px; }
.soc-pageheader p { font-family: var(--font-quote); font-style: italic; font-size: 17px; color: var(--fg-3); margin: 12px 0 0; max-width: 520px; line-height: 1.6; }
.soc-pageheader-nav { display: flex; gap: 6px; align-items: center; }
.soc-pageheader-nav a { font-family: var(--font-body); font-size: 13px; font-weight: 500; color: var(--fg-2); text-decoration: none; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--rule); background: var(--color-white); transition: all 200ms ease; }
.soc-pageheader-nav a:hover { border-color: var(--brand); color: var(--brand); }
.soc-pageheader-nav a.is-current { background: var(--color-ink); color: #fff; border-color: var(--color-ink); }

/* ---------- Section blocks ---------- */
.soc-section { margin-bottom: 64px; }
.soc-section-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.soc-section-num { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 22px; color: var(--accent); flex: 0 0 auto; }
.soc-section-head h2 { font-family: var(--font-display); font-weight: 600; font-size: 24px; color: var(--fg-1); margin: 0; letter-spacing: -0.3px; }
.soc-section-head .soc-section-sub { font-family: var(--font-body); font-size: 13px; color: var(--fg-3); margin-left: auto; }

/* ---------- Mockup frame ---------- */
.soc-mock-frame {
  background: linear-gradient(180deg, #f6f1e6 0%, var(--color-cream) 100%);
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: 36px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.soc-mock-frame::before {
  content: ""; position: absolute; inset: 12px;
  border: 1px dashed rgba(26, 95, 122, 0.15);
  border-radius: 12px; pointer-events: none;
}
.soc-mock-frame-label {
  position: absolute; top: 18px; left: 24px;
  font-family: var(--font-body); font-size: 10px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-3);
}
@media (max-width: 700px) { .soc-mock-frame { padding: 18px; } .soc-mock-frame::before { inset: 6px; } }

/* ---------- Asset card grid ---------- */
.soc-asset-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .soc-asset-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .soc-asset-grid { grid-template-columns: 1fr; } }
.soc-asset { background: var(--color-white); border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; }
.soc-asset-canvas { aspect-ratio: 1 / 1; background: var(--color-cream-dark); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.soc-asset-canvas--wide { aspect-ratio: 16 / 9; }
.soc-asset-canvas--story { aspect-ratio: 9 / 16; }
.soc-asset-canvas--banner { aspect-ratio: 3 / 1; }
.soc-asset-body { padding: 14px 16px 16px; }
.soc-asset-name { font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--fg-1); margin: 0 0 4px; }
.soc-asset-spec { font-family: var(--font-body); font-size: 11px; letter-spacing: 0.08em; color: var(--fg-3); margin: 0; text-transform: uppercase; }

/* ---------- Spec table ---------- */
.soc-spec { background: var(--color-white); border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; }
.soc-spec-row { display: grid; grid-template-columns: 220px 1fr; border-top: 1px solid var(--rule); }
.soc-spec-row:first-child { border-top: 0; }
.soc-spec-row > div { padding: 14px 20px; font-size: 14px; }
.soc-spec-row > div:first-child { background: var(--color-page); font-family: var(--font-body); font-weight: 600; color: var(--fg-2); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.soc-spec-row code { font-family: 'SF Mono', Menlo, Monaco, monospace; background: var(--color-cream); padding: 2px 6px; border-radius: 4px; font-size: 12.5px; color: var(--color-burgundy); }
@media (max-width: 700px) { .soc-spec-row { grid-template-columns: 1fr; } }

/* ---------- Copy / voice cards ---------- */
.soc-copy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 800px) { .soc-copy-grid { grid-template-columns: 1fr; } }
.soc-copy-card { background: var(--color-white); border: 1px solid var(--rule); border-radius: 8px; padding: 22px 24px; }
.soc-copy-card-label { font-family: var(--font-body); font-size: 10px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; }
.soc-copy-card-body { font-family: var(--font-quote); font-style: italic; font-size: 15.5px; line-height: 1.65; color: var(--fg-1); margin: 0; }
.soc-copy-card-meta { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--rule); font-family: var(--font-body); font-size: 12px; color: var(--fg-3); }

/* ---------- Voice rules ---------- */
.soc-rules { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 700px) { .soc-rules { grid-template-columns: 1fr; } }
.soc-rule { background: var(--color-white); border: 1px solid var(--rule); border-radius: 8px; padding: 22px 24px; }
.soc-rule h4 { font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--fg-1); margin: 0 0 8px; display: flex; align-items: center; gap: 8px; }
.soc-rule h4::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.soc-rule.is-dont h4::before { background: var(--color-burgundy); }
.soc-rule p { font-size: 14px; line-height: 1.6; color: var(--fg-2); margin: 0; }
.soc-rule ul { margin: 8px 0 0; padding: 0 0 0 18px; font-size: 14px; color: var(--fg-2); line-height: 1.7; }

/* ---------- How-to (numbered steps) ---------- */
.soc-steps { counter-reset: step; display: flex; flex-direction: column; gap: 14px; }
.soc-step { background: var(--color-white); border: 1px solid var(--rule); border-radius: 8px; padding: 20px 24px 20px 70px; position: relative; }
.soc-step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 22px; top: 18px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--color-ink); color: #fff;
  font-family: var(--font-body); font-weight: 600; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.soc-step h4 { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--fg-1); margin: 0 0 6px; }
.soc-step p { font-size: 14px; line-height: 1.65; color: var(--fg-2); margin: 0 0 6px; max-width: 720px; }
.soc-step code { font-family: 'SF Mono', Menlo, monospace; background: var(--color-cream); padding: 2px 6px; border-radius: 4px; font-size: 12.5px; color: var(--color-burgundy); }

/* ---------- Color swatches ---------- */
.soc-swatches { display: flex; gap: 12px; flex-wrap: wrap; }
.soc-swatch { width: 130px; background: var(--color-white); border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; }
.soc-swatch-chip { height: 70px; }
.soc-swatch-body { padding: 10px 12px; }
.soc-swatch-name { font-family: var(--font-body); font-size: 12px; font-weight: 600; color: var(--fg-1); margin: 0; }
.soc-swatch-hex { font-family: 'SF Mono', Menlo, monospace; font-size: 11px; color: var(--fg-3); margin: 2px 0 0; }

/* ---------- Caption-style copyable code blocks ---------- */
.soc-snippet {
  background: #1A1A1A; color: #f3eee2;
  border-radius: 8px; padding: 18px 22px;
  font-family: 'SF Mono', Menlo, monospace; font-size: 13px; line-height: 1.7;
  white-space: pre-wrap; word-break: break-word;
  border-left: 3px solid var(--accent);
  margin: 0;
}

/* ---------- Photo placeholder utility ---------- */
.soc-ph {
  width: 100%; height: 100%;
  background-size: cover; background-position: center;
  background-color: var(--color-cream-dark);
}
.soc-ph--stripe {
  background: repeating-linear-gradient(45deg, #ece4d3 0 12px, #e3d8c2 12px 24px);
  display: flex; align-items: center; justify-content: center;
  color: rgba(26,26,26,0.4);
  font-family: 'SF Mono', Menlo, monospace; font-size: 11px; letter-spacing: 0.1em;
  text-align: center; padding: 12px;
}

/* ---------- Tag pills ---------- */
.soc-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.soc-tag { font-family: var(--font-body); font-size: 12px; font-weight: 500; padding: 5px 12px; border-radius: 999px; background: var(--color-cream); color: var(--brand); border: 1px solid #e3d8c2; }
.soc-tag.is-accent { background: var(--color-gold-light); color: #8a6010; border-color: #ecdcb6; }

/* ============================================================
   PLATFORM-SPECIFIC MOCKUPS
   ============================================================ */

/* ---------- INSTAGRAM ---------- */
.ig-frame { background: #fff; border-radius: 6px; max-width: 935px; margin: 0 auto; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
.ig-topbar { display: flex; align-items: center; padding: 12px 18px; border-bottom: 1px solid #dbdbdb; gap: 16px; }
.ig-topbar-logo { font-family: 'Billabong', 'Brush Script MT', cursive; font-size: 26px; color: #262626; font-weight: 400; letter-spacing: 0.5px; }
.ig-topbar-search { flex: 1; max-width: 268px; background: #efefef; border-radius: 8px; padding: 7px 12px; color: #8e8e8e; font-size: 13px; }
.ig-topbar-icons { display: flex; gap: 18px; color: #262626; }
.ig-topbar-icons svg { width: 22px; height: 22px; }
.ig-profile-head { padding: 32px 28px; display: grid; grid-template-columns: 200px 1fr; gap: 80px; align-items: center; }
@media (max-width: 700px) { .ig-profile-head { grid-template-columns: 86px 1fr; gap: 24px; padding: 18px; } }
.ig-avatar { width: 168px; height: 168px; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-teal-dark) 100%); padding: 5px; box-sizing: border-box; }
.ig-avatar-inner { width: 100%; height: 100%; border-radius: 50%; background: var(--color-cream); display: flex; align-items: center; justify-content: center; padding: 10px; }
.ig-avatar-inner img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 700px) { .ig-avatar { width: 86px; height: 86px; padding: 3px; } .ig-avatar-inner { padding: 4px; } }
.ig-handle-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.ig-handle { font-size: 22px; font-weight: 300; color: #262626; font-family: -apple-system, system-ui, sans-serif; }
.ig-btn { font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 6px; background: #efefef; border: 0; color: #262626; cursor: pointer; }
.ig-btn--primary { background: #0095f6; color: #fff; }
.ig-stats { display: flex; gap: 32px; margin-bottom: 18px; font-size: 15px; color: #262626; font-family: -apple-system, system-ui, sans-serif; }
.ig-stats strong { font-weight: 600; }
.ig-bio { font-family: -apple-system, system-ui, sans-serif; font-size: 14px; color: #262626; line-height: 1.5; max-width: 480px; }
.ig-bio-name { font-weight: 600; margin-bottom: 4px; }
.ig-bio-cat { font-size: 13px; color: #737373; margin-bottom: 6px; }
.ig-bio-link { color: #00376b; font-weight: 500; }
.ig-highlights { display: flex; gap: 24px; padding: 24px 28px 8px; border-bottom: 1px solid #dbdbdb; overflow-x: auto; }
.ig-highlight { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 0 0 auto; }
.ig-highlight-circle { width: 72px; height: 72px; border-radius: 50%; border: 1px solid #dbdbdb; padding: 4px; box-sizing: border-box; }
.ig-highlight-circle-inner { width: 100%; height: 100%; border-radius: 50%; background: var(--color-cream); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); color: var(--brand); font-size: 22px; overflow: hidden; }
.ig-highlight-circle-inner.is-photo { padding: 0; }
.ig-highlight-circle-inner img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.ig-highlight-label { font-size: 12px; color: #262626; font-family: -apple-system, system-ui, sans-serif; }
.ig-tabs { display: flex; gap: 60px; justify-content: center; padding: 0 28px; border-bottom: 1px solid #dbdbdb; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; color: #8e8e8e; font-family: -apple-system, system-ui, sans-serif; }
.ig-tab { padding: 16px 0; text-transform: uppercase; display: flex; align-items: center; gap: 6px; }
.ig-tab.is-active { color: #262626; border-top: 1px solid #262626; margin-top: -1px; }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; background: #fff; }
.ig-tile { aspect-ratio: 1/1; background: var(--color-cream-dark); position: relative; overflow: hidden; }
.ig-tile-text { position: absolute; inset: 0; padding: 16px; display: flex; flex-direction: column; justify-content: center; text-align: center; }
.ig-tile-text-eyebrow { font-family: var(--font-body); font-size: 9px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.ig-tile-text-h { font-family: var(--font-display); font-weight: 600; font-size: clamp(13px, 1.6vw, 18px); color: var(--fg-1); line-height: 1.2; margin: 0; letter-spacing: -0.2px; }
.ig-tile-text-q { font-family: var(--font-quote); font-style: italic; font-size: clamp(12px, 1.4vw, 15px); color: var(--fg-1); line-height: 1.4; margin: 0; }
.ig-tile-photo { width: 100%; height: 100%; background-size: cover; background-position: center; }
.ig-tile-overlay { position: absolute; bottom: 8px; left: 8px; right: 8px; font-family: var(--font-body); font-size: 10px; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,0.6); display: flex; gap: 8px; }
.ig-tile.is-cream { background: var(--color-cream); }
.ig-tile.is-teal { background: var(--color-teal); color: #fff; }
.ig-tile.is-teal .ig-tile-text-h, .ig-tile.is-teal .ig-tile-text-q { color: #fff; }
.ig-tile.is-teal .ig-tile-text-eyebrow { color: var(--color-gold-warm); }
.ig-tile.is-gold { background: var(--color-gold-light); }
.ig-tile.is-ink { background: var(--color-ink); }
.ig-tile.is-ink .ig-tile-text-h, .ig-tile.is-ink .ig-tile-text-q { color: #fff; }
.ig-tile.is-ink .ig-tile-text-eyebrow { color: var(--color-gold-warm); }

/* ---------- FACEBOOK ---------- */
.fb-frame { background: #f0f2f5; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.08); max-width: 1100px; margin: 0 auto; }
.fb-topbar { background: #fff; border-bottom: 1px solid #dadde1; padding: 8px 16px; display: flex; align-items: center; gap: 14px; }
.fb-topbar-logo { width: 40px; height: 40px; border-radius: 50%; background: #1877f2; display: flex; align-items: center; justify-content: center; color: #fff; font-family: -apple-system, system-ui, sans-serif; font-weight: 800; font-size: 26px; }
.fb-topbar-search { flex: 1; max-width: 240px; background: #f0f2f5; padding: 9px 14px; border-radius: 999px; color: #65676b; font-size: 14px; }
.fb-topbar-icons { display: flex; gap: 10px; margin-left: auto; }
.fb-topbar-icon { width: 40px; height: 40px; border-radius: 50%; background: #e4e6eb; display: flex; align-items: center; justify-content: center; color: #050505; }
.fb-topbar-icon svg { width: 20px; height: 20px; }
.fb-cover { aspect-ratio: 820 / 312; background: linear-gradient(180deg, var(--color-teal) 0%, var(--color-teal-dark) 100%); position: relative; overflow: hidden; }
.fb-page-head { background: #fff; padding: 0 32px 16px; position: relative; }
@media (max-width: 700px) { .fb-page-head { padding: 0 18px 16px; } }
.fb-page-head-row { display: flex; align-items: flex-end; gap: 24px; margin-top: -36px; flex-wrap: wrap; }
.fb-page-avatar { width: 168px; height: 168px; border-radius: 50%; background: var(--color-cream); border: 4px solid #fff; display: flex; align-items: center; justify-content: center; padding: 18px; box-sizing: border-box; flex: 0 0 auto; }
.fb-page-avatar img { width: 100%; height: 100%; object-fit: contain; }
.fb-page-meta { flex: 1; min-width: 220px; padding-bottom: 12px; }
.fb-page-name { font-family: -apple-system, system-ui, sans-serif; font-weight: 700; font-size: 32px; color: #050505; margin: 0; line-height: 1.15; }
.fb-page-handle { font-family: -apple-system, system-ui, sans-serif; font-size: 15px; color: #65676b; margin: 4px 0 6px; }
.fb-page-stats { font-family: -apple-system, system-ui, sans-serif; font-size: 15px; color: #65676b; }
.fb-page-stats strong { color: #050505; font-weight: 600; }
.fb-page-actions { display: flex; gap: 8px; padding-bottom: 12px; flex-wrap: wrap; }
.fb-btn { font-family: -apple-system, system-ui, sans-serif; font-weight: 600; font-size: 15px; padding: 8px 16px; border-radius: 6px; border: 0; cursor: pointer; }
.fb-btn--primary { background: #1877f2; color: #fff; }
.fb-btn--secondary { background: #e4e6eb; color: #050505; }
.fb-tabs { background: #fff; border-bottom: 1px solid #dadde1; padding: 0 32px; display: flex; gap: 4px; overflow-x: auto; }
.fb-tab { font-family: -apple-system, system-ui, sans-serif; font-weight: 600; font-size: 15px; color: #65676b; padding: 14px 16px; border-bottom: 3px solid transparent; flex: 0 0 auto; }
.fb-tab.is-active { color: #1877f2; border-bottom-color: #1877f2; }
.fb-body { display: grid; grid-template-columns: 360px 1fr; gap: 16px; padding: 16px; align-items: start; }
@media (max-width: 900px) { .fb-body { grid-template-columns: 1fr; } }
.fb-card { background: #fff; border-radius: 8px; padding: 16px 18px; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.fb-card h3 { font-family: -apple-system, system-ui, sans-serif; font-weight: 700; font-size: 17px; color: #050505; margin: 0 0 10px; }
.fb-card p, .fb-card li { font-family: -apple-system, system-ui, sans-serif; font-size: 14px; color: #050505; line-height: 1.45; margin: 0 0 8px; }
.fb-info-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.fb-info-list li { display: flex; gap: 10px; align-items: flex-start; }
.fb-info-list svg { width: 18px; height: 18px; color: #65676b; flex: 0 0 auto; margin-top: 2px; }
.fb-feed { display: flex; flex-direction: column; gap: 14px; }
.fb-post { background: #fff; border-radius: 8px; padding: 14px 18px 0; box-shadow: 0 1px 2px rgba(0,0,0,0.05); overflow: hidden; }
.fb-post-head { display: flex; gap: 10px; align-items: center; padding-bottom: 10px; }
.fb-post-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--color-cream); display: flex; align-items: center; justify-content: center; padding: 6px; box-sizing: border-box; }
.fb-post-avatar img { width: 100%; height: 100%; object-fit: contain; }
.fb-post-meta { font-family: -apple-system, system-ui, sans-serif; font-size: 13px; color: #65676b; }
.fb-post-meta strong { color: #050505; font-size: 14px; font-weight: 600; display: block; line-height: 1.2; }
.fb-post-body { font-family: -apple-system, system-ui, sans-serif; font-size: 15px; line-height: 1.4; color: #050505; padding-bottom: 12px; }
.fb-post-image { margin: 0 -18px; aspect-ratio: 16/9; background: var(--color-cream); position: relative; overflow: hidden; }
.fb-post-actions { display: flex; gap: 4px; padding: 6px 0; border-top: 1px solid #ced0d4; margin-top: 6px; }
.fb-post-actions span { flex: 1; text-align: center; padding: 8px; font-family: -apple-system, system-ui, sans-serif; font-size: 14px; font-weight: 600; color: #65676b; }

/* ---------- X / TWITTER ---------- */
.x-frame { background: #000; border-radius: 12px; overflow: hidden; max-width: 800px; margin: 0 auto; box-shadow: 0 8px 30px rgba(0,0,0,0.18); }
.x-topbar { display: flex; align-items: center; gap: 24px; padding: 12px 16px; border-bottom: 1px solid #2f3336; }
.x-topbar-back { color: #e7e9ea; }
.x-topbar-back svg { width: 20px; height: 20px; }
.x-topbar-title { font-family: -apple-system, system-ui, sans-serif; font-weight: 800; font-size: 20px; color: #e7e9ea; }
.x-topbar-title-sub { font-family: -apple-system, system-ui, sans-serif; font-size: 13px; color: #71767b; font-weight: 400; }
.x-banner { aspect-ratio: 3/1; background: linear-gradient(180deg, var(--color-teal-dark) 0%, var(--color-ink) 100%); position: relative; overflow: hidden; }
.x-profile-head { padding: 12px 16px 0; position: relative; }
.x-profile-head-row { display: flex; justify-content: space-between; align-items: flex-start; margin-top: -64px; }
.x-avatar { width: 134px; height: 134px; border-radius: 50%; background: var(--color-cream); border: 4px solid #000; padding: 14px; box-sizing: border-box; }
.x-avatar img { width: 100%; height: 100%; object-fit: contain; }
.x-follow { margin-top: 70px; background: #eff3f4; color: #0f1419; font-family: -apple-system, system-ui, sans-serif; font-weight: 700; font-size: 15px; padding: 8px 18px; border-radius: 999px; border: 0; cursor: pointer; }
.x-id { padding: 14px 0 0; }
.x-name { font-family: -apple-system, system-ui, sans-serif; font-weight: 800; font-size: 20px; color: #e7e9ea; display: flex; align-items: center; gap: 6px; }
.x-name .x-verified { color: #1d9bf0; }
.x-name .x-verified svg { width: 18px; height: 18px; vertical-align: -2px; }
.x-handle { font-family: -apple-system, system-ui, sans-serif; font-size: 15px; color: #71767b; margin-top: 2px; }
.x-bio { font-family: -apple-system, system-ui, sans-serif; font-size: 15px; color: #e7e9ea; line-height: 1.4; margin: 12px 0; }
.x-bio a { color: #1d9bf0; }
.x-meta { display: flex; gap: 16px; flex-wrap: wrap; font-family: -apple-system, system-ui, sans-serif; font-size: 14px; color: #71767b; padding-bottom: 12px; }
.x-meta-item { display: inline-flex; align-items: center; gap: 4px; }
.x-meta-item svg { width: 16px; height: 16px; }
.x-counts { display: flex; gap: 18px; padding-bottom: 14px; font-family: -apple-system, system-ui, sans-serif; font-size: 14px; color: #71767b; border-bottom: 1px solid #2f3336; }
.x-counts strong { color: #e7e9ea; font-weight: 700; }
.x-tabs { display: flex; padding: 0 16px; border-bottom: 1px solid #2f3336; }
.x-tab { flex: 1; text-align: center; font-family: -apple-system, system-ui, sans-serif; font-weight: 500; font-size: 15px; color: #71767b; padding: 16px 0; position: relative; }
.x-tab.is-active { color: #e7e9ea; font-weight: 700; }
.x-tab.is-active::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: 0; width: 56px; height: 4px; border-radius: 4px; background: #1d9bf0; }
.x-feed { display: flex; flex-direction: column; }
.x-tweet { padding: 14px 16px; border-bottom: 1px solid #2f3336; display: grid; grid-template-columns: 44px 1fr; gap: 12px; }
.x-tweet.is-pinned { background: rgba(29, 155, 240, 0.04); }
.x-tweet-pinned-label { grid-column: 1 / -1; font-family: -apple-system, system-ui, sans-serif; font-size: 13px; font-weight: 700; color: #71767b; display: flex; align-items: center; gap: 8px; padding-left: 28px; margin-bottom: -4px; }
.x-tweet-pinned-label svg { width: 14px; height: 14px; }
.x-tweet-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--color-cream); padding: 4px; box-sizing: border-box; }
.x-tweet-avatar img { width: 100%; height: 100%; object-fit: contain; }
.x-tweet-head { font-family: -apple-system, system-ui, sans-serif; font-size: 14px; color: #71767b; line-height: 1.3; margin-bottom: 2px; }
.x-tweet-head strong { color: #e7e9ea; font-weight: 700; }
.x-tweet-body { font-family: -apple-system, system-ui, sans-serif; font-size: 15px; color: #e7e9ea; line-height: 1.4; white-space: pre-line; }
.x-tweet-body a { color: #1d9bf0; }
.x-tweet-card { margin-top: 10px; border: 1px solid #2f3336; border-radius: 14px; overflow: hidden; }
.x-tweet-card-image { aspect-ratio: 16/9; background: var(--color-cream); position: relative; overflow: hidden; }
.x-tweet-card-meta { padding: 10px 14px; font-family: -apple-system, system-ui, sans-serif; font-size: 13px; color: #71767b; }
.x-tweet-card-meta strong { color: #e7e9ea; font-weight: 600; display: block; font-size: 14px; margin-bottom: 2px; }
.x-tweet-actions { display: flex; justify-content: space-between; max-width: 420px; margin-top: 10px; color: #71767b; font-family: -apple-system, system-ui, sans-serif; font-size: 13px; }
.x-tweet-actions span { display: inline-flex; align-items: center; gap: 6px; }
.x-tweet-actions svg { width: 16px; height: 16px; }

/* ---------- Generic post hero (used across mockups) ---------- */
.brand-post {
  width: 100%; height: 100%;
  background: var(--color-cream);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 28px 30px;
  position: relative;
  overflow: hidden;
}
.brand-post--teal { background: var(--color-teal); color: #fff; }
.brand-post--ink { background: var(--color-ink); color: #fff; }
.brand-post--gold { background: var(--color-gold-light); }
.brand-post--cream { background: var(--color-cream); }
.brand-post-eyebrow { font-family: var(--font-body); font-size: 10px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); }
.brand-post--teal .brand-post-eyebrow, .brand-post--ink .brand-post-eyebrow { color: var(--color-gold-warm); }
.brand-post-headline { font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 2.4vw, 30px); line-height: 1.15; letter-spacing: -0.4px; color: inherit; margin: 8px 0 0; }
.brand-post-quote { font-family: var(--font-quote); font-style: italic; font-size: clamp(16px, 2vw, 22px); line-height: 1.45; margin: 0; color: inherit; }
.brand-post-foot { display: flex; align-items: center; gap: 8px; font-family: var(--font-body); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; }
.brand-post-foot .brand-post-mark { width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,0.9); display: flex; align-items: center; justify-content: center; padding: 3px; }
.brand-post--cream .brand-post-mark, .brand-post--gold .brand-post-mark { background: var(--color-teal); }
.brand-post-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-post-rule { width: 32px; height: 2px; background: var(--accent); margin: 0; border: 0; }
.brand-post--teal .brand-post-rule, .brand-post--ink .brand-post-rule { background: var(--color-gold-warm); }

/* ---------- LINKEDIN ---------- */
.li-frame { background: #f4f2ee; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.08); max-width: 1100px; margin: 0 auto; }
.li-topbar { background: #fff; padding: 6px 24px; display: flex; align-items: center; gap: 14px; border-bottom: 1px solid #e0dfdc; }
.li-logo { width: 32px; height: 32px; border-radius: 4px; background: #0a66c2; color: #fff; font-family: -apple-system, system-ui, sans-serif; font-weight: 800; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.li-search { flex: 0 0 280px; background: #edf3f8; padding: 7px 12px; border-radius: 4px; color: #66758b; font-size: 13px; font-family: -apple-system, system-ui, sans-serif; }
.li-topnav { display: flex; gap: 22px; margin-left: auto; font-family: -apple-system, system-ui, sans-serif; font-size: 12px; color: #666; }
.li-cover { aspect-ratio: 4/1; background: linear-gradient(180deg, var(--color-teal) 0%, var(--color-teal-dark) 100%); position: relative; overflow: hidden; }
.li-page-head { background: #fff; padding: 0 24px 24px; }
.li-page-head-row { display: flex; align-items: flex-end; gap: 24px; margin-top: -56px; }
.li-page-avatar { width: 132px; height: 132px; border-radius: 12px; background: var(--color-cream); border: 4px solid #fff; padding: 14px; box-sizing: border-box; flex: 0 0 auto; }
.li-page-avatar img { width: 100%; height: 100%; object-fit: contain; }
.li-page-meta { padding-bottom: 8px; flex: 1; }
.li-page-name { font-family: -apple-system, system-ui, sans-serif; font-weight: 600; font-size: 26px; color: #000; margin: 0; line-height: 1.15; }
.li-page-tag { font-family: -apple-system, system-ui, sans-serif; font-size: 16px; color: #000; margin: 8px 0 6px; line-height: 1.4; }
.li-page-stats { font-family: -apple-system, system-ui, sans-serif; font-size: 14px; color: #666; }
.li-page-stats a { color: #0a66c2; }
.li-page-actions { display: flex; gap: 8px; padding-top: 14px; flex-wrap: wrap; }
.li-btn { font-family: -apple-system, system-ui, sans-serif; font-weight: 600; font-size: 15px; padding: 6px 22px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; }
.li-btn--primary { background: #0a66c2; color: #fff; }
.li-btn--secondary { background: transparent; color: #0a66c2; border-color: #0a66c2; }
.li-tabs { background: #fff; padding: 0 24px; display: flex; gap: 0; border-bottom: 1px solid #e0dfdc; overflow-x: auto; }
.li-tab { font-family: -apple-system, system-ui, sans-serif; font-size: 14px; color: rgba(0,0,0,0.6); padding: 12px 16px; border-bottom: 2px solid transparent; flex: 0 0 auto; }
.li-tab.is-active { color: #b24020; border-bottom-color: #b24020; font-weight: 600; }
.li-body { display: grid; grid-template-columns: 1fr 320px; gap: 16px; padding: 16px 24px 24px; }
@media (max-width: 900px) { .li-body { grid-template-columns: 1fr; } }
.li-card { background: #fff; border-radius: 8px; padding: 18px 22px; box-shadow: 0 0 0 1px rgba(0,0,0,0.08); }
.li-card h3 { font-family: -apple-system, system-ui, sans-serif; font-weight: 600; font-size: 18px; color: #000; margin: 0 0 12px; }
.li-card p { font-family: -apple-system, system-ui, sans-serif; font-size: 14px; color: rgba(0,0,0,0.9); line-height: 1.5; margin: 0 0 8px; }
.li-card-meta { font-family: -apple-system, system-ui, sans-serif; font-size: 13px; color: rgba(0,0,0,0.6); }
.li-post { background: #fff; border-radius: 8px; padding: 14px 18px 0; box-shadow: 0 0 0 1px rgba(0,0,0,0.08); margin-bottom: 12px; }
.li-post-head { display: flex; gap: 10px; align-items: center; padding-bottom: 10px; }
.li-post-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--color-cream); padding: 6px; box-sizing: border-box; }
.li-post-avatar img { width: 100%; height: 100%; object-fit: contain; }
.li-post-meta { font-family: -apple-system, system-ui, sans-serif; font-size: 12px; color: rgba(0,0,0,0.6); }
.li-post-meta strong { color: #000; font-size: 14px; font-weight: 600; display: block; line-height: 1.2; }
.li-post-body { font-family: -apple-system, system-ui, sans-serif; font-size: 14px; line-height: 1.5; color: rgba(0,0,0,0.9); padding-bottom: 12px; white-space: pre-line; }
.li-post-image { margin: 0 -18px; aspect-ratio: 1.91/1; background: var(--color-cream); position: relative; overflow: hidden; }
.li-post-actions { display: flex; gap: 4px; padding: 4px 0 6px; border-top: 1px solid #e0dfdc; margin-top: 8px; }
.li-post-actions span { flex: 1; text-align: center; padding: 8px; font-family: -apple-system, system-ui, sans-serif; font-size: 13px; font-weight: 600; color: rgba(0,0,0,0.6); }

/* ---------- TIKTOK ---------- */
.tt-frame { background: #000; color: #fff; border-radius: 12px; overflow: hidden; max-width: 880px; margin: 0 auto; box-shadow: 0 8px 30px rgba(0,0,0,0.18); }
.tt-topbar { display: flex; align-items: center; padding: 12px 20px; border-bottom: 1px solid #2f2f2f; gap: 24px; }
.tt-topbar-logo { font-family: -apple-system, system-ui, sans-serif; font-weight: 800; font-size: 22px; color: #fff; letter-spacing: -0.5px; }
.tt-topbar-search { flex: 0 0 280px; background: #2f2f2f; padding: 8px 14px; border-radius: 999px; color: #888; font-size: 13px; }
.tt-profile { padding: 32px 24px 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.tt-avatar { width: 116px; height: 116px; border-radius: 50%; background: var(--color-cream); padding: 14px; box-sizing: border-box; margin-bottom: 14px; }
.tt-avatar img { width: 100%; height: 100%; object-fit: contain; }
.tt-name { font-family: -apple-system, system-ui, sans-serif; font-weight: 700; font-size: 24px; color: #fff; margin: 0; display: flex; align-items: center; gap: 6px; justify-content: center; }
.tt-handle { font-family: -apple-system, system-ui, sans-serif; font-size: 16px; color: #aaa; margin: 4px 0 14px; }
.tt-actions { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; justify-content: center; }
.tt-btn { font-family: -apple-system, system-ui, sans-serif; font-weight: 700; font-size: 15px; padding: 8px 24px; border-radius: 4px; border: 0; cursor: pointer; }
.tt-btn--primary { background: #fe2c55; color: #fff; }
.tt-btn--secondary { background: #2f2f2f; color: #fff; }
.tt-stats { display: flex; gap: 32px; padding-bottom: 14px; font-family: -apple-system, system-ui, sans-serif; }
.tt-stats-num { font-weight: 700; font-size: 18px; color: #fff; }
.tt-stats-label { font-size: 14px; color: #aaa; }
.tt-bio { max-width: 440px; font-family: -apple-system, system-ui, sans-serif; font-size: 14px; color: #fff; line-height: 1.55; margin: 0 0 8px; white-space: pre-line; }
.tt-link { color: #fff; font-family: -apple-system, system-ui, sans-serif; font-size: 14px; font-weight: 600; padding: 6px 0; display: inline-flex; align-items: center; gap: 6px; margin-bottom: 18px; }
.tt-tabs { display: flex; border-top: 1px solid #2f2f2f; border-bottom: 1px solid #2f2f2f; }
.tt-tab { flex: 1; text-align: center; font-family: -apple-system, system-ui, sans-serif; font-weight: 700; font-size: 14px; color: #777; padding: 14px 0; }
.tt-tab.is-active { color: #fff; border-bottom: 2px solid #fff; margin-bottom: -1px; }
.tt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 8px; background: #000; }
.tt-vid { aspect-ratio: 9/16; background: var(--color-cream); position: relative; overflow: hidden; border-radius: 4px; }
.tt-vid-meta { position: absolute; left: 8px; bottom: 8px; right: 8px; font-family: -apple-system, system-ui, sans-serif; font-size: 11px; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,0.7); display: flex; justify-content: space-between; }
.tt-vid-views { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; }

/* ---------- PINTEREST ---------- */
.pi-frame { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.08); max-width: 1100px; margin: 0 auto; }
.pi-topbar { background: #fff; padding: 8px 16px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid #efefef; }
.pi-logo { width: 40px; height: 40px; border-radius: 50%; background: #e60023; color: #fff; font-family: 'Georgia', serif; font-weight: 900; font-style: italic; font-size: 22px; display: flex; align-items: center; justify-content: center; }
.pi-pill { background: #111; color: #fff; font-family: -apple-system, system-ui, sans-serif; font-weight: 600; font-size: 14px; padding: 8px 16px; border-radius: 999px; }
.pi-pill--quiet { background: transparent; color: #111; }
.pi-search { flex: 1; background: #efefef; padding: 12px 16px; border-radius: 999px; color: #767676; font-size: 14px; font-family: -apple-system, system-ui, sans-serif; }
.pi-icons { display: flex; gap: 6px; color: #767676; }
.pi-icons svg { width: 22px; height: 22px; padding: 6px; }
.pi-profile { padding: 36px 24px 24px; text-align: center; max-width: 760px; margin: 0 auto; }
.pi-avatar { width: 120px; height: 120px; border-radius: 50%; background: var(--color-cream); padding: 14px; box-sizing: border-box; margin: 0 auto 18px; border: 1px solid #efefef; }
.pi-avatar img { width: 100%; height: 100%; object-fit: contain; }
.pi-name { font-family: -apple-system, system-ui, sans-serif; font-weight: 700; font-size: 36px; color: #111; margin: 0; letter-spacing: -0.6px; line-height: 1.1; }
.pi-handle { font-family: -apple-system, system-ui, sans-serif; font-size: 14px; color: #767676; margin: 8px 0 14px; }
.pi-handle .pi-handle-icon { display: inline-block; width: 14px; height: 14px; vertical-align: -3px; }
.pi-bio { font-family: -apple-system, system-ui, sans-serif; font-size: 16px; color: #111; line-height: 1.55; margin: 0 auto 14px; max-width: 560px; }
.pi-link { font-family: -apple-system, system-ui, sans-serif; font-size: 14px; font-weight: 600; color: #111; }
.pi-stats { font-family: -apple-system, system-ui, sans-serif; font-size: 14px; color: #767676; margin: 10px 0 18px; }
.pi-stats strong { color: #111; }
.pi-actions { display: flex; gap: 8px; justify-content: center; margin-bottom: 24px; flex-wrap: wrap; }
.pi-btn { font-family: -apple-system, system-ui, sans-serif; font-weight: 700; font-size: 15px; padding: 10px 22px; border-radius: 999px; border: 0; cursor: pointer; }
.pi-btn--primary { background: #e60023; color: #fff; }
.pi-btn--secondary { background: #efefef; color: #111; }
.pi-tabs { display: flex; gap: 28px; justify-content: center; padding: 0 24px; border-bottom: 1px solid #efefef; }
.pi-tab { font-family: -apple-system, system-ui, sans-serif; font-weight: 700; font-size: 16px; color: #767676; padding: 14px 0; border-bottom: 3px solid transparent; }
.pi-tab.is-active { color: #111; border-bottom-color: #111; }
.pi-boards { padding: 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 800px) { .pi-boards { grid-template-columns: repeat(2, 1fr); } }
.pi-board { display: flex; flex-direction: column; gap: 10px; }
.pi-board-cover { aspect-ratio: 1/1; background: var(--color-cream); border-radius: 12px; overflow: hidden; display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px; }
.pi-board-cover > * { background-size: cover; background-position: center; background-color: var(--color-cream-dark); }
.pi-board-cover > *:first-child { grid-row: 1 / 3; }
.pi-board-name { font-family: -apple-system, system-ui, sans-serif; font-weight: 600; font-size: 16px; color: #111; margin: 0; }
.pi-board-meta { font-family: -apple-system, system-ui, sans-serif; font-size: 13px; color: #767676; margin: 0; }
