/* Audio guestbook — recorder sheet (guests) and waveform player (hosts). Colours follow the event theme. */
.g-voice { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 14px; padding: 13px 16px; border-radius: 14px;
  border: 1.5px dashed var(--honey); background: var(--honey-soft); color: var(--honey-ink); font: inherit; font-weight: 650; font-size: 15.5px; cursor: pointer; }
.g-voice:hover { background: color-mix(in srgb, var(--honey-soft) 70%, var(--honey) 30%); }

.vsheet .vbody { padding: 20px 20px calc(24px + env(safe-area-inset-bottom)); text-align: center; overflow: auto; }
.vlead { margin: 0 auto 18px; max-width: 360px; color: var(--ink-2); line-height: 1.45; }
.vhint { margin: 16px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.verr { margin: 14px auto 0; max-width: 360px; font-size: 14px; color: var(--bad, #b3261e); }
.verr:empty { display: none; }
.vrec { width: 96px; height: 96px; border-radius: 50%; border: 0; cursor: pointer; display: inline-grid; place-items: center;
  background: var(--honey); color: var(--on-accent, #1f1b16); box-shadow: 0 8px 24px color-mix(in srgb, var(--honey) 45%, transparent), inset 0 -3px 0 rgba(0,0,0,.08);
  transition: transform .15s ease; -webkit-tap-highlight-color: transparent; }
.vrec:active { transform: scale(.95); }
.vrec.wait { opacity: .55; animation: vwait 1.4s ease-in-out infinite; cursor: default; }
@keyframes vwait { 50% { opacity: .9; } }
.vrec.live { background: #e5484d; color: #fff; box-shadow: 0 0 0 0 rgba(229,72,77,.5); animation: vpulse 1.6s ease-out infinite; }
@keyframes vpulse { 0% { box-shadow: 0 0 0 0 rgba(229,72,77,.45); } 100% { box-shadow: 0 0 0 22px rgba(229,72,77,0); } }
.vtimer { margin: 16px 0 0; color: var(--muted); font-variant-numeric: tabular-nums; }
.vtimer b { color: var(--ink); font-size: 18px; }
.vmeter { display: flex; align-items: center; justify-content: center; gap: 4px; height: 56px; margin: 0 0 18px; }
.vmeter i { width: 5px; height: 100%; border-radius: 3px; background: var(--honey); transform: scaleY(var(--h, .08)); transition: transform .09s linear; }
.vshare { display: flex; gap: 10px; align-items: flex-start; text-align: left; max-width: 380px; margin: 16px auto 0; font-size: 14.5px; color: var(--ink); cursor: pointer; }
.vshare input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--honey-2, var(--honey)); flex: none; }
.post .voice-slot { padding: 0 14px 4px; }
.vitem .shared-pill { display: inline-block; margin-left: 6px; font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--honey-soft); color: var(--honey-ink); vertical-align: 1px; }
.vitem .vshare-row { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); }
.vactions { display: flex; gap: 10px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }
.vdone .vheart { font-size: 44px; line-height: 1; }
.vdone h3 { font-family: var(--serif); font-size: 26px; margin: 10px 0 4px; }
.vdone p { color: var(--ink-2); margin: 0; }

.vplayer { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--surface-2, #f4efe7); }
.vp-btn { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: var(--honey); color: var(--on-accent, #1f1b16); }
.vp-btn svg { margin-left: 1px; }
.vplayer.playing .vp-btn svg { margin-left: 0; }
.vp-wave { flex: 1; min-width: 0; height: 36px; display: flex; align-items: center; gap: 2px; cursor: pointer; }
.vp-wave i { flex: 1; min-width: 2px; border-radius: 2px; height: calc(var(--h) * 100%); background: color-mix(in srgb, var(--ink) 22%, transparent); transition: background .15s; }
.vp-wave i.on { background: var(--honey-2, var(--honey)); }
.vp-time { flex: none; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; min-width: 34px; text-align: right; }

/* host dashboard list */
.vlist { display: grid; gap: 12px; }
.vitem { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 14px; }
.vitem .who { font-weight: 650; }
.vitem .when { font-size: 13px; color: var(--muted); }
.vitem .vplayer { grid-column: 1 / -1; }
.vitem .av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--honey-soft); color: var(--honey-ink); font-weight: 800; }
.vitem .acts { display: flex; gap: 6px; }

/* Overview "Latest uploads": a voice message tile */
.tile.voice-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-align: center; padding: 6px;
  background: var(--honey-soft); color: var(--honey-ink); text-decoration: none; }
.voice-tile svg { width: 24px; height: 24px; margin-bottom: 2px; }
.voice-tile b { font-size: 12px; line-height: 1.2; }
.voice-tile small { font-size: 11px; opacity: .8; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
