:root {
  color-scheme: light;
  --bg: #f3f0e8;
  --bg-ink: rgba(20, 30, 38, 0.045);
  --surface: #fffdf7;
  --surface-2: #f8f5ee;
  --surface-3: #efebe1;
  --text: #172026;
  --text-strong: #0c1116;
  --muted: #6f746f;
  --muted-2: #8d9189;
  --border: #d8d2c3;
  --border-strong: #aaa390;
  --primary: #9bcfc4;
  --primary-dark: #6aa89c;
  --primary-soft: #e4f3ef;
  --primary-ink: #173f3a;
  --accent: #596aa3;
  --accent-soft: #e3e5f1;
  --ok: #267455;
  --warn: #94620b;
  --error: #a33a32;
  --record: #b9413d;
  --record-soft: #f5dfdc;
  --shadow: 0 20px 46px rgba(23, 32, 38, 0.12);
  --shadow-soft: 0 12px 30px rgba(23, 32, 38, 0.08);
  --radius-xl: 26px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  background:
    linear-gradient(90deg, var(--bg-ink) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(180deg, var(--bg-ink) 1px, transparent 1px) 0 0 / 28px 28px,
    radial-gradient(circle at 12% 10%, rgba(155, 207, 196, 0.22), transparent 28rem),
    radial-gradient(circle at 82% 12%, rgba(76, 92, 150, 0.12), transparent 24rem),
    var(--bg);
  color: var(--text);
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

.app-shell {
  height: 100vh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(8px, 1.1vh, 12px);
  padding: clamp(8px, 1.2vh, 14px);
}

.app-header {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: stretch;
  padding: clamp(10px, 1.5vh, 16px) 18px;
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.94), rgba(248, 245, 238, 0.90)),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.app-header::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
}

.header-copy,
.title-block {
  min-width: 0;
}

.eyebrow,
.section-kicker,
.status-label,
.empty-code,
.panel-index,
.stage-label {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.eyebrow,
.section-kicker {
  margin: 0 0 6px;
  color: var(--primary-ink);
  font-size: 11px;
  font-weight: 760;
}

.app-header h1 {
  margin: 0;
  color: var(--text-strong);
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.app-header p:not(.eyebrow) {
  max-width: 760px;
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.header-status {
  display: grid;
  grid-template-columns: auto auto;
  gap: 10px;
  align-items: stretch;
  min-width: 300px;
}

.status-cluster {
  min-width: 126px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 8px;
  background: rgba(255, 253, 247, 0.72);
  border: 1px solid var(--border);
  border-radius: 18px;
}

.session-cluster {
  min-width: 190px;
}

.status-label {
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 780;
}

.badge,
.session-pill {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e5e0d4;
  color: var(--text);
  border: 1px solid #c9c1b1;
  font-size: 12px;
  font-weight: 760;
  line-height: 1.25;
  white-space: nowrap;
}

.session-pill {
  max-width: 360px;
  overflow: hidden;
  justify-content: flex-start;
  text-overflow: ellipsis;
}

.session-pill span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.badge.ok {
  background: #dceddf;
  border-color: rgba(38, 116, 85, 0.24);
  color: #18543d;
}

.badge.warn {
  background: #f6e8cc;
  border-color: rgba(148, 98, 11, 0.25);
  color: #6f4808;
}

.workspace {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(330px, 1.02fr) minmax(440px, 1.72fr);
  grid-template-rows: minmax(0, 1fr) clamp(250px, 29vh, 310px);
  gap: clamp(8px, 1vw, 12px);
}

.panel {
  position: relative;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(8px, 1vh, 12px);
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.96), rgba(250, 247, 240, 0.94)),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.panel::before {
  content: attr(data-panel);
  position: absolute;
  top: 14px;
  right: 16px;
  color: rgba(23, 32, 38, 0.05);
  font-family: var(--mono);
  font-size: 48px;
  font-weight: 800;
  line-height: 0.78;
  pointer-events: none;
}

.setup-panel {
  grid-column: 1;
  grid-row: 1;
}

.metrics-panel {
  grid-column: 1;
  grid-row: 2;
}

.camera-panel {
  grid-column: 2;
  grid-row: 1;
}

.output-panel {
  grid-column: 2;
  grid-row: 2;
}

.conversation-panel {
  grid-column: 3;
  grid-row: 1 / 3;
}

.panel-heading {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: flex-start;
  margin-bottom: 6px;
}

.panel-heading.compact {
  margin-bottom: 5px;
}

.conversation-heading {
  align-items: center;
}

.panel-index {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.72);
  font-size: 10px;
  font-weight: 760;
}

h2,
h3 {
  color: var(--text-strong);
}

h2 {
  margin: 0;
  font-size: 15px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h3 {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.3;
}

.panel-note,
.boundary-note {
  margin: 0 0 9px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.42;
}

.boundary-note {
  flex: 0 0 auto;
  margin: 7px 0 0;
  padding: 7px 9px;
  background: #f6efe5;
  border: 1px solid #e1d2bd;
  border-radius: 16px;
}

label {
  display: block;
  margin: 0;
  color: #394139;
  font-size: 12px;
  font-weight: 760;
}

input,
select,
textarea {
  width: 100%;
  margin-top: 4px;
  padding: 7px 9px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: rgba(255, 253, 247, 0.88);
  color: var(--text);
  font-size: 12px;
  outline: none;
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease, transform 140ms ease;
}

input:hover:not(:disabled),
select:hover:not(:disabled),
textarea:hover:not(:disabled) {
  border-color: var(--border-strong);
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(155, 207, 196, 0.32);
}

textarea {
  min-height: 58px;
  resize: none;
  line-height: 1.42;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  background: rgba(248, 245, 238, 0.72);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: #40483f;
  font-weight: 700;
  white-space: nowrap;
}

.checkbox input {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: var(--primary);
}

button {
  position: relative;
  border: 1px solid rgba(24, 70, 74, 0.16);
  border-radius: 11px;
  padding: 7px 10px;
  background: var(--primary);
  color: var(--primary-ink);
  font-size: 12px;
  font-weight: 780;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(106, 168, 156, 0.18);
  transition: transform 120ms ease, background 120ms ease, opacity 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

button:hover:not(:disabled) {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(106, 168, 156, 0.24);
}

button:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 8px 16px rgba(106, 168, 156, 0.16);
}

button:disabled {
  opacity: 0.46;
  cursor: not-allowed;
  box-shadow: none;
}

button.secondary {
  background: #ece6da;
  color: #2f3830;
  border-color: #d2c8b8;
  box-shadow: none;
}

button.secondary:hover:not(:disabled) {
  background: #e2dacb;
  border-color: #bfb4a2;
}

.setup-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.option-row,
.control-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}

.option-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.control-row.inline {
  flex-wrap: nowrap;
  justify-content: flex-end;
  margin-top: 0;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.metric-card,
.detail-card,
.voice-select-card,
.model-select-card {
  min-width: 0;
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.82), rgba(248, 245, 238, 0.76));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.metric-card {
  padding: 9px;
}

.metric-card span {
  display: block;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 780;
  letter-spacing: 0.04em;
}

.metric-card strong {
  display: block;
  margin-top: 5px;
  color: var(--text-strong);
  font-size: 18px;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.voice-select-card,
.model-select-card {
  display: block;
  margin-top: 8px;
  padding: 7px;
}

.output-panel {
  padding-bottom: 10px;
  overflow: hidden;
}

.output-grid {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  gap: 6px;
}

.output-panel .voice-select-card,
.output-panel .model-select-card {
  min-height: 0;
  margin-top: 0;
  overflow: hidden;
}

.voice-select-card select,
.model-select-card select {
  margin-top: 4px;
}

.voice-actions {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px;
  align-items: center;
  margin-top: 4px;
}

.voice-actions button {
  margin: 0;
  padding: 6px 8px;
  font-size: 11px;
}

.voice-preview-status,
.model-select-status {
  min-width: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.2;
}

.model-select-status {
  margin-top: 4px;
}

.detail-grid {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 8px;
  margin-top: 8px;
}

.detail-card {
  min-height: 72px;
  padding: 7px;
  overflow: visible;
}

.metrics-panel .latency-card {
  min-height: 72px;
}

.metrics-panel .evidence-card {
  min-height: 72px;
}

pre {
  margin: 0;
  min-height: 42px;
  max-height: none;
  overflow: visible;
  white-space: pre-wrap;
  color: #394139;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.5;
}

#evidence {
  min-height: 42px;
  max-height: none;
  margin: 0;
  padding-left: 18px;
  overflow: visible;
  color: #394139;
  font-size: 12px;
  line-height: 1.5;
}

#evidence:empty::before {
  content: "暂无线索说明";
  color: var(--muted);
}

.camera-panel {
  padding-bottom: 10px;
  gap: 6px;
}

.camera-stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  display: block;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
}

.camera-stage::after {
  content: none;
}

.stage-label {
  position: absolute;
  z-index: 3;
  color: rgba(23, 32, 38, 0.42);
  font-size: 10px;
  font-weight: 760;
  pointer-events: none;
}

.stage-label.top-left {
  top: 12px;
  left: 16px;
}

.stage-label.bottom-right {
  right: 16px;
  bottom: 12px;
}

.camera-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: auto;
  height: auto;
  margin: 0;
  background: #f1ece2;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: none;
}

#camera {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  background: transparent;
  object-fit: cover;
  transform: scaleX(-1);
}

#faceOverlay {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: transparent;
}

.status-strip {
  flex: 0 0 calc(12px * 1.42 * 3 + 16px);
  width: 100%;
  height: calc(12px * 1.42 * 3 + 16px);
  margin-top: 0;
  overflow: hidden;
  background: #f7f3ea;
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 16px;
  padding: 8px 10px;
  color: #35403b;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.42;
}

.conversation-panel .panel-heading {
  flex: 0 0 auto;
}

audio {
  width: min(280px, 42%);
  height: 36px;
  filter: saturate(0.86);
}

.chat-log {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  background:
    linear-gradient(90deg, rgba(23, 32, 38, 0.038) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(180deg, rgba(23, 32, 38, 0.038) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(180deg, rgba(255, 253, 247, 0.94), rgba(248, 245, 238, 0.92));
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: auto;
}

.chat-empty {
  margin: auto;
  max-width: 440px;
  display: grid;
  gap: 10px;
  padding: 28px;
  color: var(--muted);
  text-align: center;
  line-height: 1.55;
  background: rgba(255, 253, 247, 0.82);
  border: 1px dashed var(--border-strong);
  border-radius: 22px;
}

.empty-code {
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 780;
}

.chat-empty strong {
  color: var(--text-strong);
  font-size: 17px;
}

.chat-turn {
  display: grid;
  gap: 8px;
}

.chat-bubble {
  max-width: min(84%, 780px);
  padding: 12px 14px;
  border-radius: 18px;
  line-height: 1.65;
  font-size: 14px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  box-shadow: 0 9px 22px rgba(23, 32, 38, 0.08);
}

.chat-bubble.user {
  justify-self: end;
  background: linear-gradient(135deg, #e7f5f1, #c7e6de);
  color: var(--primary-ink);
  border: 1px solid #acd5cc;
  border-bottom-right-radius: 6px;
}

.chat-bubble.assistant {
  justify-self: start;
  background: rgba(255, 253, 247, 0.96);
  color: var(--text);
  border: 1px solid var(--border);
  border-bottom-left-radius: 6px;
}

.chat-bubble.pending {
  opacity: 0.78;
}

.chat-bubble.error {
  background: #f9e3df;
  border-color: #d79991;
  color: #7a2822;
}

.chat-meta {
  margin-top: 8px;
  color: rgba(23, 63, 58, 0.62);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.45;
}

.chat-bubble.assistant .chat-meta,
.chat-bubble.error .chat-meta {
  color: var(--muted);
}

.latest-hidden {
  display: none;
}

.input-zone {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: minmax(170px, 0.46fr) minmax(320px, 1.54fr);
  gap: 8px;
  margin-top: 6px;
  padding: 8px;
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.88), rgba(242, 237, 227, 0.92));
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: inset 0 1px 0 rgba(255, 253, 247, 0.72);
}

.hold-button {
  position: relative;
  display: grid;
  min-height: 70px;
  grid-template-columns: 38px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 4px;
  align-content: center;
  align-items: center;
  justify-items: start;
  padding: 10px;
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.96), rgba(228, 243, 239, 0.92));
  color: var(--primary-ink);
  border: 1px solid #b8d8d0;
  border-radius: 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86), 0 12px 24px rgba(106, 168, 156, 0.12);
  text-align: left;
  user-select: none;
  touch-action: none;
  overflow: hidden;
}

.hold-button::after {
  content: "VOICE";
  position: absolute;
  right: 14px;
  bottom: 12px;
  color: rgba(23, 63, 58, 0.18);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.hold-button::before {
  content: "";
  grid-row: 1 / 3;
  width: 34px;
  height: 34px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.88), rgba(255, 253, 247, 0.20)),
    var(--primary);
  box-shadow: inset 0 0 0 13px rgba(255, 253, 247, 0.78), 0 10px 20px rgba(106, 168, 156, 0.22);
}

.hold-button:hover:not(:disabled) {
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.98), rgba(215, 236, 231, 0.96));
  color: #123a3d;
  border-color: #94c9bf;
}

.hold-main {
  position: relative;
  z-index: 1;
  font-size: 16px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.hold-sub {
  position: relative;
  z-index: 1;
  max-width: 190px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.42;
}

.hold-button.recording {
  background: linear-gradient(180deg, #fff7f4, var(--record-soft));
  color: #8f2e2a;
  border-color: #d5a09a;
  box-shadow: 0 0 0 6px rgba(185, 65, 61, 0.10), 0 16px 30px rgba(185, 65, 61, 0.15);
}

.hold-button.recording::before {
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.88), rgba(255, 253, 247, 0.16)),
    var(--record);
  box-shadow: inset 0 0 0 12px rgba(255, 253, 247, 0.78), 0 8px 18px rgba(185, 65, 61, 0.24), 0 0 0 9px rgba(185, 65, 61, 0.12);
  animation: pulse-record 960ms ease-in-out infinite;
}

.hold-button.recording .hold-sub {
  color: #8f2e2a;
}

.hold-button.sending {
  background: linear-gradient(180deg, #f4f1ea, #e5dfd3);
  color: #60665f;
}

@keyframes pulse-record {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.82;
  }
}

.text-compose {
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto minmax(58px, 1fr);
  gap: 8px;
  align-items: end;
  padding: 8px;
  background: rgba(255, 253, 247, 0.62);
  border: 1px solid rgba(216, 210, 195, 0.72);
  border-radius: 22px;
}

.text-compose label {
  grid-column: 1 / -1;
}

.text-compose textarea {
  height: 100%;
  margin-top: 0;
  background: rgba(255, 253, 247, 0.95);
  border-radius: 18px;
  border-color: #d7d0c0;
}

.text-compose button {
  height: 34px;
  align-self: end;
  border-radius: 13px;
  padding-inline: 12px;
}

code {
  background: rgba(23, 32, 38, 0.08);
  padding: 2px 4px;
  border-radius: 4px;
}

@media (max-height: 760px) and (min-width: 1101px) {
  .app-shell {
    gap: 10px;
    padding: 10px;
  }

  .app-header {
    padding: 12px 16px;
  }

  .app-header p:not(.eyebrow),
  .panel-note {
    display: none;
  }

  .panel {
    padding: 12px;
  }

  .panel::before {
    font-size: 52px;
  }

  .camera-stage {
    min-height: 180px;
    padding: 26px 10px;
  }

  .hold-button {
    min-height: 78px;
  }

  textarea {
    min-height: 62px;
  }

  .status-strip {
    min-height: 48px;
    max-height: 62px;
  }

  .boundary-note {
    padding: 8px 10px;
    font-size: 11px;
  }
}

@media (max-width: 1100px) {
  body {
    overflow: auto;
  }

  .app-shell {
    min-height: 100vh;
    height: auto;
  }

  .workspace {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
  }

  .setup-panel,
  .metrics-panel,
  .camera-panel,
  .output-panel,
  .conversation-panel {
    grid-column: 1;
    grid-row: auto;
  }

  .camera-stage {
    min-height: 340px;
  }

  .chat-log {
    min-height: 380px;
  }
}

@media (max-width: 820px) {
  .app-shell {
    padding: 10px;
  }

  .app-header,
  .header-status {
    grid-template-columns: 1fr;
  }

  .header-status {
    min-width: 0;
  }

  .status-cluster,
  .session-cluster {
    min-width: 0;
  }

  .panel-heading,
  .conversation-heading,
  .input-zone,
  .detail-grid,
  .option-row {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .control-row.inline {
    justify-content: flex-start;
  }

  audio {
    width: 100%;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .voice-actions {
    grid-template-columns: 1fr;
  }

  .text-compose {
    grid-template-columns: 1fr;
  }

  .text-compose button {
    width: 100%;
  }

  .chat-bubble {
    max-width: 94%;
  }
}

@media (max-width: 520px) {
  .app-header,
  .panel {
    border-radius: 20px;
  }

  .app-header h1 {
    font-size: 20px;
  }

  .camera-stage {
    min-height: 260px;
    padding: 28px 8px;
  }

  .camera-wrap {
    border-radius: 14px;
  }

  .stage-label.bottom-right {
    display: none;
  }

  .chat-log {
    min-height: 340px;
    padding: 12px;
  }

  .input-zone {
    padding: 9px;
  }
}
