@font-face {
  font-family: Inter;
  src: url("/fonts/InterVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #f5f5f0;
  --surface: #fffffc;
  --surface-alt: #edf0e9;
  --ink: #24312b;
  --muted: #606d65;
  --soft-ink: #788178;
  --line: #e0e5dc;
  --waveform-color: #7a8b80;
  --control-line: #8a958c;
  --accent: #0f766e;
  --accent-dark: #0b5752;
  --accent-rgb: 15 118 110;
  --accent-wash: #edf5f1;
  --on-accent: #ffffff;
  --danger: #9f4023;
  --disabled: #e6e9e1;
  --shadow: 0 2px 6px rgb(36 49 43 / 3%), 0 12px 36px rgb(36 49 43 / 8%);
  --radius: 8px;
  --launcher-height: 96px;
  --keyboard-offset: 0px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-height: 100%; background: var(--bg); scrollbar-gutter: stable; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--ink);
  background: var(--bg);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: default; }
button, input { border-radius: var(--radius); }
button:focus-visible, summary:focus-visible, a:focus-visible, [role="slider"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
svg { display: block; width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
p, h1, h2, h3 { margin: 0; }
button svg, a svg { pointer-events: none; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.app-shell {
  width: min(100%, 720px);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: max(16px, env(safe-area-inset-top)) 20px calc(var(--launcher-height) + 40px + env(safe-area-inset-bottom));
}
.app-header { display: flex; align-items: center; justify-content: space-between; min-height: 48px; gap: 16px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.language-menu { position: relative; }
.language-toggle { display: flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 8px; border: 1px solid transparent; border-radius: var(--radius); color: var(--muted); font-size: 12px; font-weight: 550; cursor: pointer; list-style: none; }
.language-toggle::-webkit-details-marker { display: none; }
.language-toggle:hover, .language-menu[open] .language-toggle { background: var(--surface-alt); color: var(--ink); }
.language-flag { display: block; width: 21px; height: 14px; overflow: hidden; border-radius: 2px; flex: 0 0 auto; stroke: none; box-shadow: 0 0 0 1px rgb(36 49 43 / 12%); }
.language-chevron svg { width: 14px; height: 14px; }
.language-menu[open] .language-chevron { transform: rotate(180deg); }
.language-options { position: absolute; top: calc(100% + 8px); right: 0; z-index: 20; width: 196px; padding: 6px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.language-options button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid transparent; background: transparent; text-align: left; }
.language-options button:hover { background: var(--surface-alt); }
.language-options button[aria-pressed="true"] { background: var(--accent-wash); color: var(--accent-dark); border-color: var(--line); }
.language-name { flex: 1; font-size: 13px; }
.language-abbreviation { color: var(--muted); font-size: 11px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 26px; font-weight: 650; letter-spacing: -1.2px; line-height: 1; }
.brand-mark { display: grid; place-items: center; width: 28px; height: 32px; color: var(--accent); }
.brand-mark svg { width: 26px; height: 26px; stroke-width: 1.8; }
.icon-button {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
.icon-button:hover { color: var(--ink); background: var(--surface-alt); }
.icon-button:disabled { color: var(--soft-ink); opacity: .45; }
.profile-link { position: relative; background: var(--surface); border-color: var(--line); color: var(--ink); }
.activity-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 10px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 0 0 3px var(--bg);
}
.content { margin-top: 28px; }
.feed-intro { margin: 0 0 28px; }
.eyebrow { color: var(--muted); font-size: 12px; line-height: 1.5; font-weight: 450; letter-spacing: .02em; }
.feed-intro h1 { margin-top: 8px; font-size: clamp(26px, 5vw, 32px); line-height: 1.18; letter-spacing: -1.2px; font-weight: 550; }
.intro-copy { margin-top: 4px; color: var(--muted); font-size: 16px; font-weight: 400; line-height: 1.5; }
.audience-notice { margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.first-use-guide { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-top: 20px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.first-use-guide h2 { font-size: 13px; line-height: 1.5; font-weight: 550; }
.first-use-guide p { margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.first-use-guide .guide-prompt { margin-top: 8px; color: var(--ink); }
.guide-dismiss { flex: 0 0 auto; width: 32px; height: 32px; margin: -4px -4px 0 0; }
.guide-dismiss svg { width: 16px; height: 16px; }
.demo-banner { margin-top: 20px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-alt); color: var(--muted); font-size: 12px; line-height: 1.5; }
.demo-badge { display: inline-block; width: fit-content; padding: 2px 6px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-alt); color: var(--muted); font-size: 10px; line-height: 1.4; font-weight: 500; }
.author-meta .demo-badge { margin-left: 8px; }
.profile-title .demo-badge { margin-top: 8px; }
.feed-tools { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; margin-bottom: 8px; }
.feed-section-title { font-size: 13px; font-weight: 550; line-height: 1.4; }
.feed-status { display: flex; align-items: center; gap: 4px; }
.status { font-size: 12px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.refresh-button { width: 36px; height: 36px; }
.refresh-button svg { width: 16px; height: 16px; }
.view-status { margin: 0 0 12px; color: var(--muted); font-size: 13px; }
.feed { display: grid; gap: 12px; }
.post, .reply {
  min-width: 0;
  padding: 12px 16px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 160ms ease, background-color 160ms ease;
}
.post.is-playing, .reply.is-playing { border-color: rgb(var(--accent-rgb) / .45); background: var(--surface); }
.post-head { display: grid; grid-template-columns: 32px minmax(0, 1fr) 36px; align-items: center; gap: 10px; min-height: 36px; }
.avatar { display: inline-grid; place-items: center; flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; background: var(--surface-alt); color: var(--muted); font-size: 13px; font-weight: 500; }
.author-meta { min-width: 0; }
.author {
  display: block;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 550;
  line-height: 1.45;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
}
.meta { color: var(--muted); font-size: 12px; line-height: 1.4; font-weight: 400; }
.post > audio, .reply > audio, .preview-media { display: none; }
.player-row { margin: 12px 0 4px; }
.audio-player { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-width: 0; width: 100%; min-height: 44px; }
.play-button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface-alt);
  color: var(--ink);
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}
.play-button svg { width: 19px; height: 19px; stroke-width: 1.8; }
.play-button:hover { background: var(--line); }
.play-button.playing { color: var(--on-accent); background: var(--accent); border-color: var(--accent); }
.play-button:disabled { opacity: .45; cursor: default; }
.waveform { position: relative; min-width: 0; width: 100%; height: 40px; border-radius: 4px; cursor: pointer; color: var(--muted); outline-offset: 4px; }
.waveform-renderer { position: absolute; inset: 0; overflow: hidden; }
.waveform-fallback { position: absolute; top: calc(50% - 3px); right: 0; left: 0; height: 6px; overflow: hidden; border: 1px solid var(--control-line); border-radius: 4px; background: var(--surface); }
.playback-progress-fill { display: block; width: 0%; height: 100%; background: var(--accent); }
.waveform[aria-disabled="true"] { cursor: default; }
.player-time { color: var(--muted); font-size: 11px; line-height: 1.5; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.player-current, .player-time-separator { display: none; }
.is-playing .player-current, .is-playing .player-time-separator, .audio-player--preview .player-current, .audio-player--preview .player-time-separator { display: inline; }
.post-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; min-height: 40px; padding-left: 48px; }
.post-actions button, .text-button, .back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 8px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 450;
  line-height: 1.4;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease;
}
.post-actions button svg { width: 15px; height: 15px; stroke-width: 1.6; }
.post-actions button:hover, .text-button:hover, .back-button:hover { color: var(--ink); background: var(--surface-alt); }
.post-actions button:disabled, .text-button:disabled { opacity: .65; cursor: default; }
.like-button.liked { color: var(--accent); }
.like-button.liked svg { fill: rgb(var(--accent-rgb) / .08); }
.reply-button { margin-left: auto; }
.listened-label { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; color: var(--muted); font-size: 10px; }
.listened-label svg { width: 12px; height: 12px; }
.more-menu { position: relative; justify-self: end; }
.more-menu summary { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--muted); cursor: pointer; list-style: none; }
.more-menu summary::-webkit-details-marker { display: none; }
.more-menu summary svg { width: 18px; height: 18px; }
.more-menu[open] summary { color: var(--ink); background: var(--surface-alt); }
.menu-action {
  position: absolute;
  top: 40px;
  right: 0;
  z-index: 4;
  display: block;
  min-width: 136px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
  text-align: left;
  font-size: 13px;
  white-space: nowrap;
}
.danger-action { color: var(--danger); }
.replies { display: grid; gap: 8px; margin: 4px 0 8px 16px; padding: 8px 0 0 16px; border-left: 1px solid var(--line); }
.reply { padding: 8px 12px; background: var(--bg); }
.reply .avatar { width: 28px; height: 28px; font-size: 12px; }
.reply .post-head { grid-template-columns: 28px minmax(0, 1fr) 32px; gap: 8px; }
.reply .audio-player { gap: 8px; }
.reply .player-row { margin: 8px 0; }
.reply .play-button { width: 40px; height: 40px; }
.reply .post-actions { display: none; }
.reply-load-more { justify-self: start; }
.quiet-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); background: var(--surface); font-size: 13px; font-weight: 500; }
.quiet-button svg { width: 16px; height: 16px; }
.load-more { display: flex; margin: 20px auto 0; }
.install-entry { display: flex; justify-content: center; margin-top: 20px; }
.install-entry .text-button { min-height: 44px; font-size: 12px; text-align: center; }
.install-guide { width: min(520px, calc(100% - 24px)); max-height: calc(100dvh - 32px); margin: auto; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); background: var(--surface); box-shadow: var(--shadow); overflow-y: auto; overscroll-behavior: contain; overflow-wrap: anywhere; }
.install-guide::backdrop { background: rgb(36 49 43 / .28); backdrop-filter: blur(3px); }
.install-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.install-heading h2 { margin-top: 4px; font-size: 22px; font-weight: 550; line-height: 1.25; letter-spacing: -.5px; }
.install-heading .icon-button { margin: -8px -8px 0 0; }
.install-intro { margin-top: 12px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.install-platforms { margin-top: 20px; }
.install-platforms details { border-top: 1px solid var(--line); }
.install-platforms details:last-child { border-bottom: 1px solid var(--line); }
.install-platforms summary { min-height: 44px; padding: 12px 0; font-size: 13px; font-weight: 550; cursor: pointer; }
.install-platforms ol { margin: 0 0 16px; padding-left: 20px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.install-platforms li + li { margin-top: 8px; }
.install-notice { margin-top: 16px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--muted); background: var(--surface-alt); font-size: 12px; line-height: 1.6; }
.install-footnote { margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.install-continue { display: flex; width: 100%; margin-top: 20px; white-space: normal; }
.empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 228px; padding: 32px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-align: center; }
.empty > .state-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 8px; border-radius: 50%; background: var(--surface-alt); color: var(--muted); }
.empty > .state-icon svg { width: 24px; height: 24px; stroke-width: 1.4; }
.empty strong { font-size: 18px; font-weight: 500; letter-spacing: -.4px; line-height: 1.4; }
.empty > span:not(.state-icon) { max-width: 256px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.empty .retry-button { margin-top: 12px; }
.empty.error-state .state-icon { color: var(--danger); }
.invite-panel { width: min(100%, 440px); margin: 32px auto 0; padding: 32px 28px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.invitation-mark { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 28px; border-radius: 50%; color: var(--accent); background: var(--accent-wash); }
.invitation-mark svg { width: 26px; height: 26px; }
.invite-panel h1 { margin-top: 8px; font-size: 32px; font-weight: 550; letter-spacing: -1.2px; line-height: 1.2; }
.invite-description { margin: 16px 0 28px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.field { display: grid; min-width: 0; gap: 8px; color: var(--muted); font-size: 12px; font-weight: 450; }
.field input { width: 100%; min-width: 0; min-height: 48px; padding: 0 12px; border: 1px solid var(--control-line); color: var(--ink); background: var(--surface); font-size: 16px; line-height: 1.4; font-weight: 400; outline: 0; transition: border-color 160ms ease, box-shadow 160ms ease; }
.field input::placeholder { color: var(--muted); opacity: 1; }
.field input:focus-visible { border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: 3px; }
.field input:disabled { opacity: .55; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 16px; border: 1px solid var(--accent); color: var(--on-accent); background: var(--accent); border-radius: var(--radius); font-size: 13px; line-height: 1.4; font-weight: 550; white-space: nowrap; transition: background-color 160ms ease, border-color 160ms ease; }
.primary-button:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.primary-button:disabled { background: var(--disabled); border-color: var(--disabled); color: var(--muted); cursor: default; }
.primary-button svg { width: 18px; height: 18px; }
.invite-panel > .primary-button { justify-content: space-between; width: 100%; margin-top: 16px; }
.invite-message { min-height: 20px; margin-top: 12px; color: var(--danger); font-size: 12px; line-height: 1.5; }

.profile-panel { min-width: 0; margin-bottom: 24px; }
.back-button { justify-content: flex-start; margin: -8px 0 20px -8px; padding: 0 8px; font-size: 13px; }
.back-button svg { width: 16px; height: 16px; }
.profile-heading { display: flex; align-items: center; gap: 16px; min-width: 0; }
.profile-avatar { width: 56px; height: 56px; font-size: 24px; font-weight: 450; background: var(--surface); border: 1px solid var(--line); }
.profile-title { min-width: 0; }
.profile-title h1 { margin-top: 4px; overflow-wrap: anywhere; font-size: 24px; font-weight: 550; line-height: 1.2; letter-spacing: -.7px; }
#profileHint { margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.edit-profile-button { margin: 8px 0 0 64px; font-size: 12px; }
.edit-profile-button svg { width: 14px; height: 14px; }
.profile-stats { display: flex; gap: 32px; margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.profile-stats > div { display: flex; flex-direction: column; gap: 2px; }
.profile-stats dd, .profile-stats dt { margin: 0; }
.profile-stats dd { font-size: 24px; line-height: 1.3; font-weight: 550; font-variant-numeric: tabular-nums; }
.profile-stats dt { color: var(--muted); font-size: 12px; font-weight: 400; line-height: 1.5; }

.record-launcher { position: fixed; right: 16px; bottom: max(12px, env(safe-area-inset-bottom)); left: 16px; z-index: 6; display: flex; align-items: center; justify-content: space-between; gap: 16px; width: min(680px, calc(100% - 32px)); min-height: 80px; margin: 0 auto; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.launcher-copy { display: flex; flex: 1; flex-direction: column; gap: 3px; min-width: 0; overflow-wrap: anywhere; }
.launcher-eyebrow { font-size: 12px; line-height: 1.4; font-weight: 500; }
.launcher-hint { color: var(--muted); font-size: 11px; line-height: 1.5; }
.launcher-button { flex: 0 1 auto; min-width: 0; max-width: 60%; min-height: 48px; padding: 0 14px; font-size: 12px; white-space: normal; text-align: center; }
.launcher-button svg { width: 17px; height: 17px; }
.record-launcher.is-locked { box-shadow: none; }
.global-message { position: fixed; bottom: calc(var(--launcher-height) + 32px + env(safe-area-inset-bottom)); left: 50%; z-index: 8; width: max-content; max-width: min(420px, calc(100% - 40px)); transform: translateX(-50%); padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); box-shadow: var(--shadow); font-size: 13px; line-height: 1.5; text-align: center; }
.global-message.error { color: var(--danger); }

.composer {
  position: fixed;
  inset: auto 8px calc(max(8px, env(safe-area-inset-bottom)) + var(--keyboard-offset));
  width: min(560px, calc(100% - 16px));
  height: fit-content;
  max-height: calc(100dvh - var(--keyboard-offset) - max(24px, env(safe-area-inset-top)));
  margin: 0 auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 8px 24px rgb(36 49 43 / 8%), 0 32px 80px rgb(36 49 43 / 14%);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.composer:not([open]) { display: none; }
.composer[open] { animation: sheet-enter 160ms ease; }
.composer::backdrop { background: rgb(36 49 43 / .28); backdrop-filter: blur(3px); }
.sheet-handle { width: 32px; height: 3px; margin: 10px auto 0; border-radius: 2px; background: var(--line); }
.composer-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 24px 0; }
.composer-heading h2 { margin-top: 6px; font-size: 24px; line-height: 1.25; letter-spacing: -.7px; font-weight: 550; }
.close-composer { margin: -8px -8px 0 0; }
.composer-body { padding: 24px; }
.identity-editor { padding: 0 0 16px; }
.identity-editor h3 { font-size: 16px; font-weight: 500; line-height: 1.5; letter-spacing: -.2px; }
.identity-editor > p { margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.name-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin-top: 16px; }
.identity-button { min-height: 48px; font-size: 12px; }
.reply-banner { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; padding: 12px 12px 12px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--accent-wash); }
.reply-banner-copy { min-width: 0; }
.reply-banner-copy > span { display: inline; color: var(--muted); font-size: 12px; }
.reply-banner-copy strong { font-size: 12px; font-weight: 550; overflow-wrap: anywhere; }
.reply-banner-copy small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.reply-banner .icon-button { width: 32px; height: 32px; }
.reply-banner .icon-button svg { width: 16px; height: 16px; }
.record-scene { display: flex; flex-direction: column; align-items: center; padding: 4px 0 8px; }
.record-time { display: flex; align-items: baseline; gap: 10px; font-variant-numeric: tabular-nums; }
.timer { font-size: 40px; font-weight: 450; line-height: 1.2; letter-spacing: -1.5px; }
.record-limit { color: var(--muted); font-size: 20px; font-weight: 400; line-height: 1.2; letter-spacing: -.5px; }
.meter { width: min(100%, 256px); height: 3px; margin-top: 16px; overflow: hidden; border-radius: 2px; background: var(--line); }
.meter-fill { width: 0%; height: 100%; background: var(--accent); transition: width 160ms ease; }
.input-level { display: flex; align-items: center; gap: 12px; width: min(100%, 256px); margin-top: 16px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.input-level-track { flex: 1; height: 8px; overflow: hidden; border: 1px solid var(--control-line); border-radius: 4px; background: var(--surface-alt); }
.input-level-track > span { display: block; width: 100%; height: 100%; transform: scaleX(0); transform-origin: left; background: var(--accent); transition: transform 160ms ease; }
.input-level[data-state="unavailable"] { justify-content: center; }
.input-level[data-state="unavailable"] .input-level-track { display: none; }
.silence-hint { max-width: 280px; margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.5; text-align: center; }
.capture-caption { margin-top: 16px; color: var(--muted); font-size: 12px; line-height: 1.5; text-align: center; }
.record-button { display: grid; place-items: center; width: 64px; height: 64px; margin-top: 24px; padding: 0; border: 1px solid var(--accent); border-radius: 50%; background: var(--accent); color: var(--on-accent); transition: background-color 160ms ease, border-color 160ms ease; }
.record-button svg { width: 24px; height: 24px; }
.record-button.recording { border-color: var(--ink); background: var(--ink); }
.record-button:disabled { border-color: var(--disabled); background: var(--disabled); color: var(--muted); }
.record-action-label { margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.preview-section { padding-top: 0; }
.preview-heading { margin-bottom: 20px; font-size: 16px; font-weight: 450; line-height: 1.5; letter-spacing: -.3px; }
.audio-player--preview { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; padding: 16px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.audio-player--preview .player-time { font-size: 10px; }
.audio-player--preview .waveform { height: 48px; }
.draft-status { min-height: 18px; margin-top: 12px; color: var(--muted); font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.preview-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; }
.discard-button { margin-left: -8px; font-size: 12px; }
.discard-button svg { width: 16px; height: 16px; }
.publish-button { min-width: 148px; white-space: normal; }
.message { margin-top: 20px; color: var(--muted); font-size: 12px; line-height: 1.55; overflow-wrap: anywhere; }
.message:empty { display: none; }
.message.error { color: var(--danger); }
.message.active { color: var(--accent-dark); }
.message.success { color: var(--muted); }
.day-hint { margin-top: 8px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.composer-audience { margin-top: 8px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.composer[data-mode="name"] .identity-editor { padding-bottom: 0; }
.composer[data-mode="name"] .message { margin-top: 12px; }

@keyframes sheet-enter {
  from { opacity: .7; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (min-width: 760px) {
  .app-shell { padding-top: 28px; padding-right: 32px; padding-left: 32px; }
  .content { margin-top: 48px; }
  .feed-intro { margin-bottom: 36px; }
  .feed-intro h1 { font-size: 36px; }
  .intro-copy { font-size: 17px; }
  .feed-section-title { font-size: 14px; }
  .post { padding-right: 20px; padding-left: 20px; }
  .record-launcher { bottom: 24px; width: min(656px, calc(100% - 64px)); padding: 16px 20px; }
  .composer { inset: 0; margin: auto; max-height: calc(100dvh - 64px); }
  .sheet-handle { display: none; }
  .composer-heading { padding-top: 28px; }
  .invite-panel { margin-top: 56px; padding: 40px 36px 28px; }
}
@media (max-width: 370px) {
  .app-shell { padding-right: 16px; padding-left: 16px; }
  .record-launcher { right: 12px; left: 12px; width: calc(100% - 24px); gap: 10px; padding-right: 12px; padding-left: 12px; }
  .launcher-button { padding-right: 12px; padding-left: 12px; font-size: 11px; }
  .launcher-hint { font-size: 10px; }
  .post, .reply { padding-right: 12px; padding-left: 12px; }
  .audio-player { gap: 8px; }
  .post-actions { padding-left: 44px; }
  .composer-heading { padding-right: 20px; padding-left: 20px; }
  .composer-body { padding: 20px; }
  .invite-panel { padding-right: 20px; padding-left: 20px; }
}
@media (max-height: 640px) {
  .composer-heading { padding-top: 12px; }
  .composer-body { padding-top: 16px; padding-bottom: 16px; }
  .record-scene { padding-top: 0; }
  .record-button { margin-top: 16px; }
  .capture-caption { margin-top: 12px; }
  .message { margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
