/* Clips — additions on top of the shared Soundheart base (base.css, from Mock). */
.nav-note { color: var(--muted); font-size: 14px; }

/* Hero mockup: a chat message with an unfurled clip */
.frame.chat .frame-body { gap: 16px; }
.msg { display: flex; gap: 12px; align-items: flex-start; }
.msg.faded { opacity: .55; }
.avatar { flex: none; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #2A2F55, #6A45A0); box-shadow: inset 0 0 0 2px #F0B83C; }
.avatar.two { background: var(--sage); box-shadow: none; }
.msg-main { min-width: 0; flex: 1; }
.msg-head { display: flex; align-items: baseline; gap: 8px; }
.msg-head strong { font-size: 14px; }
.msg-head small { color: var(--muted); font-size: 12px; }
.bot { font-size: 10px; font-weight: 600; background: #5865F2; color: #fff; border-radius: 4px; padding: 1px 5px; }
.msg p { margin: 4px 0 0; font-size: 14px; }
.msg .link { color: #2F6FD6; text-decoration: underline; text-underline-offset: 2px; word-break: break-all; }
.unfurl { margin-top: 8px; border-left: 4px solid var(--terracotta); background: var(--canvas); border-radius: 6px; padding: 10px 12px 12px; max-width: 420px; }
.unfurl small { display: block; color: var(--muted); font-size: 12px; }
.unfurl strong { display: block; font-size: 14px; margin: 2px 0 8px; color: #2F6FD6; }
.player { position: relative; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden;
  background:
    radial-gradient(circle at 30% 40%, rgba(166, 77, 255, .55), transparent 38%),
    radial-gradient(circle at 70% 70%, rgba(240, 184, 60, .5), transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(63, 224, 208, .35), transparent 28%),
    #0B0E1C; }
.play { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: rgba(0, 0, 0, .55); }
.play::after { content: ""; position: absolute; left: 21px; top: 16px; border-style: solid; border-width: 11px 0 11px 17px; border-color: transparent transparent transparent #fff; }
.time { position: absolute; right: 8px; bottom: 8px; font-size: 11px; color: #fff; background: rgba(0, 0, 0, .6); border-radius: 4px; padding: 1px 6px; }

/* Clip page */
.viewer { padding: 8px 16px 48px; }
.screen { background: #000; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.screen video { display: block; width: 100%; height: auto; max-height: 78vh; background: #000; }
.clip-meta h1 { font-size: clamp(22px, 3vw, 30px); margin: 20px 0 6px; }
.clip-meta .desc { margin: 0 0 8px; color: #4A4D47; max-width: 44em; }
.clip-meta .facts { margin: 0; color: var(--muted); font-size: 14px; }

@media (max-width: 760px) {
  .nav-note { display: none; }
}
