/* Project-specific additions. Keep this small. */

/* Phone message threads (Text theStacc) */
.phone-shell { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 22px; overflow: hidden; background: var(--bg); }
.ph-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--border); background: var(--surface); }
.ph-head .who { display: flex; flex-direction: column; gap: 0; flex: 1; min-width: 0; }
.ph-head .who .xs { color: var(--muted-fg); }
.phone-shell .chat { border-radius: 0; background: var(--bg); padding: 12px 10px 16px; }
.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; max-width: 82%; border-radius: 12px; overflow: hidden; }
.media-grid.me { align-self: flex-end; }
.media-grid.two { grid-template-columns: repeat(2, 1fr); }
.media-grid .ph { border-radius: 0; aspect-ratio: 1 / 1; min-height: 0; }
.media-grid .more { display: flex; align-items: center; justify-content: center; background: var(--muted); color: var(--muted-fg); font-size: 13px; font-weight: 600; aspect-ratio: 1 / 1; }
.link-card { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; padding: 8px 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); font-size: 12.5px; }
.link-card .u { color: var(--primary); font-size: 12px; }
.voice { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; }
.voice .wave { width: 120px; height: 18px; background: repeating-linear-gradient(90deg, currentColor 0 2px, transparent 2px 5px); opacity: .45; border-radius: 2px; }
.sys { align-self: center; font-size: 11.5px; color: var(--muted-fg); text-align: center; max-width: 90%; }
.bubble .pick { display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 5px; background: var(--muted); font-weight: 600; font-size: 12px; text-align: center; }
.bubble .post { display: block; margin-top: 6px; padding: 8px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); }
.bts { margin-top: 16px; }
.bts .card-head .eyebrow { margin: 0; }
.ph-sender { font-size: 11px; color: var(--muted-fg); margin: 4px 0 -4px 4px; }
.ph-sender.me { align-self: flex-end; margin: 4px 4px -4px 0; }
.phone-shell .bubble { background: #ecebe8; }
.phone-shell .bubble.me { background: color-mix(in oklab, var(--ok) 22%, var(--bg)); }
.phone-shell .bubble .post, .phone-shell .bubble .link-card { background: var(--bg); }
.bts .card-foot { flex-wrap: wrap; gap: 8px; }
.media-grid { width: 66%; }
.media-grid.one { width: 34%; grid-template-columns: 1fr; }

/* builder A */
.bubble .post .media-grid { width: 100%; max-width: none; margin-bottom: 6px; }

/* Published posts (journey H) */
.feed-post { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 12px; background: var(--bg); overflow: hidden; }
.fp-plat { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: var(--surface); border-bottom: 1px solid var(--border); font: 500 11px var(--font-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted-fg); }
.fp-head { display: flex; align-items: center; gap: 10px; padding: 12px 12px 6px; }
.fp-head .col { gap: 0; }
.fp-body { padding: 4px 12px 10px; font-size: 14px; line-height: 1.5; }
.fp-media { display: grid; gap: 2px; }
.fp-media.two { grid-template-columns: 1fr 1fr; }
.fp-media.three { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.fp-media.three > :first-child { grid-row: 1 / 3; }
.fp-media .ph { border-radius: 0; aspect-ratio: auto; min-height: 120px; height: 100%; }
.fp-actions { display: flex; justify-content: space-around; padding: 8px 12px; border-top: 1px solid var(--border); font-size: 12.5px; color: var(--muted-fg); }
.fp-cta { margin: 0 12px 12px; padding: 8px; text-align: center; border-radius: 8px; border: 1px solid var(--border); font-weight: 600; font-size: 13px; color: var(--primary); }
.browser { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--bg); }
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: var(--surface); border-bottom: 1px solid var(--border); }
.browser-bar .url { flex: 1; min-width: 0; padding: 4px 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--border); font: 12px var(--font-mono); color: var(--muted-fg); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser-body { padding: 20px; }
.quote-card { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; aspect-ratio: 1 / 1; padding: 24px; background: color-mix(in oklab, var(--primary) 14%, var(--bg)); font-size: 18px; line-height: 1.4; }
.story { aspect-ratio: 9 / 16; max-width: 220px; border-radius: 14px; overflow: hidden; position: relative; }
.story .ph { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.story .cap { position: absolute; left: 12px; right: 12px; bottom: 16px; z-index: 2; padding: 10px; border-radius: 10px; background: color-mix(in oklab, var(--bg) 88%, transparent); font-size: 13px; }

/* builder H */
.bubble .post .media-grid.one { width: 42%; }

/* builder I */
.link-card .u { overflow-wrap: anywhere; }
