:root {
  color-scheme: dark;
  --bg: #070a12;
  --panel: rgba(13, 20, 34, 0.82);
  --panel-strong: #101827;
  --text: #f4f7ff;
  --muted: #8d9bb5;
  --line: rgba(148, 163, 184, 0.16);
  --line-strong: rgba(125, 211, 252, 0.28);
  --accent: #7dd3fc;
  --accent-2: #a78bfa;
  --accent-3: #34d399;
  --danger: #fb7185;
  --ok: #34d399;
  --warn: #fbbf24;
  --shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
}

html, body {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  overflow: hidden;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background:
    radial-gradient(1000px 700px at 0% 0%, rgba(125, 211, 252, 0.12), transparent 55%),
    radial-gradient(900px 700px at 100% 12%, rgba(167, 139, 250, 0.14), transparent 55%),
    radial-gradient(800px 600px at 50% 112%, rgba(52, 211, 153, 0.07), transparent 60%),
    var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 78%);
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 20% 30%, rgba(125, 211, 252, 0.23), transparent 62%),
    radial-gradient(ellipse 65% 60% at 82% 58%, rgba(167, 139, 250, 0.21), transparent 62%),
    radial-gradient(ellipse 60% 55% at 52% 92%, rgba(251, 113, 133, 0.1), transparent 62%);
  background-size: 210% 210%;
  animation: ambientFlow 19s ease-in-out infinite alternate;
  will-change: background-position;
}

.aurora {
  position: absolute;
  width: 52vw;
  height: 52vw;
  min-width: 440px;
  min-height: 440px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.32;
  mix-blend-mode: screen;
}

.aurora-one {
  top: -30vh;
  left: -22vw;
  background: radial-gradient(circle, rgba(125, 211, 252, 0.56), transparent 68%);
  animation: auroraFloatOne 17s ease-in-out infinite alternate;
}

.aurora-two {
  right: -18vw;
  top: 10vh;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.5), transparent 68%);
  animation: auroraFloatTwo 19s ease-in-out infinite alternate;
}

.aurora-three {
  right: 4vw;
  bottom: 2vh;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.24), rgba(125, 211, 252, 0.18) 42%, transparent 72%);
  animation: auroraFloatThree 16s ease-in-out infinite alternate;
}

.ambient-particles {
  position: absolute;
  inset: 0;
  opacity: 0.34;
  background-image:
    radial-gradient(circle, rgba(125, 211, 252, 0.42) 0 1px, transparent 1.7px),
    radial-gradient(circle, rgba(167, 139, 250, 0.3) 0 1px, transparent 1.5px);
  background-size: 190px 190px, 260px 260px;
  background-position: 10px 20px, 90px 130px;
  mask-image: radial-gradient(ellipse at center, black 18%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 18%, transparent 78%);
  animation: particleDrift 70s linear infinite;
}

.ambient-particles::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.7) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(125, 211, 252, 0.45) 0 1px, transparent 1.6px);
  background-size: 310px 310px, 430px 430px;
  background-position: 120px 60px, 40px 210px;
  animation: starTwinkle 6s ease-in-out infinite alternate;
}

.assistant-shell {
  position: relative;
  z-index: 1;
  width: min(1360px, 100%);
  height: 100dvh;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 52px) clamp(18px, 4vw, 52px);
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(440px, 1.28fr);
  gap: clamp(26px, 4.2vw, 68px);
  align-items: center;
}

.voice-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 4vh, 44px);
  min-width: 0;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  align-self: center;
  text-align: center;
}

.brand-mark {
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  border-radius: 16px;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.4), transparent 35%),
    linear-gradient(140deg, var(--accent), var(--accent-2));
  box-shadow:
    0 12px 30px rgba(125, 211, 252, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 14px 16px;
  border-left: 3px solid #fff;
  border-right: 3px solid #fff;
  border-radius: 6px;
  opacity: 0.9;
}

.brand-copy {
  min-width: 0;
  text-align: center;
}

.eyebrow {
  margin: 0 0 5px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(32px, 3.2vw, 46px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  background: linear-gradient(105deg, #f8fbff 6%, #8fe3ff 30%, #c4b5fd 58%, #f8fbff 90%);
  background-size: 230% auto;
  filter: drop-shadow(0 0 26px rgba(125, 211, 252, 0.12));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: titleShine 12s linear infinite;
}

@supports not (background-clip: text) {
  h1 {
    color: var(--text);
    -webkit-text-fill-color: currentColor;
  }
}

.subtitle {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.01em;
}

.orb-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  position: relative;
  isolation: isolate;
}

.orb-zone::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 122%;
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(125, 211, 252, 0.16), transparent 58%),
    radial-gradient(circle at 65% 70%, rgba(167, 139, 250, 0.12), transparent 55%);
  filter: blur(24px);
  opacity: 0.9;
}

.voice-orb {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  background-color: transparent !important;
  width: clamp(250px, 26vw, 350px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: 50%;
  color: var(--text);
  font: inherit;
  cursor: pointer;
  user-select: none;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
  background:
    radial-gradient(circle at 33% 25%, rgba(255, 255, 255, 0.16), transparent 30%),
    radial-gradient(circle at 72% 76%, rgba(167, 139, 250, 0.2), transparent 55%),
    linear-gradient(145deg, rgba(125, 211, 252, 0.14), rgba(17, 25, 43, 0.96)),
    linear-gradient(#0d1422, #0d1422);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -28px 60px rgba(3, 7, 18, 0.35),
    0 30px 80px rgba(0, 0, 0, 0.48),
    0 0 0 10px rgba(125, 211, 252, 0.035);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.voice-orb[data-state="armed"] {
  border-color: rgba(52, 211, 153, 0.32);
}

.voice-orb[data-state="thinking"] {
  border-color: rgba(251, 191, 36, 0.42);
}

.voice-orb[data-state="speaking"] {
  border-color: rgba(167, 139, 250, 0.48);
}

.voice-orb[data-state="error"] {
  border-color: rgba(251, 113, 133, 0.42);
}

.voice-visualizer {
  position: absolute;
  inset: -54px;
  z-index: 0;
  width: calc(100% + 108px);
  height: calc(100% + 108px);
  pointer-events: none;
}

.orb-progress {
  --progress: 0%;
  position: absolute;
  inset: -8px;
  z-index: 0;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  background: conic-gradient(from -90deg, var(--progress-color, var(--accent)) var(--progress), transparent 0);
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  transition: opacity 0.2s ease;
}

.orb-progress.active {
  opacity: 1;
}

.voice-orb.recording .orb-progress {
  --progress-color: var(--danger);
}

.voice-orb.wake-pulse::after {
  animation: wakeRing 0.9s ease-out;
}

.voice-orb::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  pointer-events: none;
  border: 1px solid rgba(125, 211, 252, 0.12);
  background: conic-gradient(from 0deg, transparent, rgba(125, 211, 252, 0.12), transparent 38%);
  animation: orbit 14s linear infinite;
}

.voice-orb::after {
  content: "";
  position: absolute;
  inset: -38px;
  border-radius: 50%;
  pointer-events: none;
  border: 1px dashed rgba(167, 139, 250, 0.14);
}

.voice-orb:hover {
  border-color: rgba(125, 211, 252, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -28px 60px rgba(3, 7, 18, 0.35),
    0 34px 90px rgba(0, 0, 0, 0.5),
    0 0 0 12px rgba(125, 211, 252, 0.05);
}

.voice-orb:active {
  transform: none;
}

.voice-orb:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 9px;
}

.voice-orb:disabled {
  cursor: wait;
  opacity: 0.62;
}

.voice-orb.recording {
  border-color: rgba(251, 113, 133, 0.7);
  background:
    radial-gradient(circle at 33% 25%, rgba(255, 255, 255, 0.18), transparent 30%),
    radial-gradient(circle at 72% 76%, rgba(251, 113, 133, 0.2), transparent 55%),
    linear-gradient(145deg, rgba(251, 113, 133, 0.18), rgba(30, 16, 32, 0.96)),
    linear-gradient(#1e1020, #1e1020);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -28px 60px rgba(3, 7, 18, 0.35),
    0 30px 90px rgba(251, 113, 133, 0.18),
    0 0 0 12px rgba(251, 113, 133, 0.06);
}

.voice-orb.recording::before {
  border-color: rgba(251, 113, 133, 0.28);
  background: conic-gradient(from 0deg, transparent, rgba(251, 113, 133, 0.3), transparent 38%);
  animation: orbit 4s linear infinite, softPulse 1.5s ease-in-out infinite;
}

.voice-orb.recording::after {
  border-color: rgba(251, 113, 133, 0.22);
}

.orb-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  pointer-events: none;
}

.mic-icon {
  width: clamp(42px, 5vw, 56px);
  height: clamp(42px, 5vw, 56px);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.92;
  filter: drop-shadow(0 0 18px rgba(125, 211, 252, 0.35));
}

.voice-orb.recording .mic-icon {
  color: #ffe4e6;
  filter: drop-shadow(0 0 22px rgba(251, 113, 133, 0.5));
}

.orb-label {
  font-size: clamp(18px, 1.9vw, 24px);
  font-weight: 650;
  letter-spacing: -0.02em;
}

.orb-sub {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.voice-orb.recording .orb-sub {
  color: #fda4af;
}

.timer {
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.14em;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-3px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.timer.active {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.voice-notes {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 390px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.status-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.1);
}

.status[data-kind="recording"] .status-dot {
  background: var(--danger);
  box-shadow: 0 0 0 4px rgba(251, 113, 133, 0.12);
  animation: pulse 1.1s ease-in-out infinite;
}

.status[data-kind="thinking"] .status-dot {
  background: var(--warn);
  box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.12);
  animation: pulse 1.1s ease-in-out infinite;
}

.status[data-kind="error"] .status-dot {
  background: var(--danger);
  box-shadow: 0 0 0 4px rgba(251, 113, 133, 0.12);
}

.hint {
  margin: 0;
  max-width: 360px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.hint:empty {
  display: none;
}

.wake-control {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-height: 74px;
  width: min(344px, 100%);
  margin-top: 2px;
}

.wake-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.wake-toggle {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 222px;
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background-color: rgba(13, 20, 34, 0.92) !important;
  background-image: linear-gradient(rgba(13, 20, 34, 0.92), rgba(13, 20, 34, 0.92)) !important;
  color: #c9d5e8 !important;
  -webkit-text-fill-color: currentColor;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
  -webkit-tap-highlight-color: transparent;
}

.wake-toggle:hover {
  border-color: rgba(125, 211, 252, 0.4);
  color: var(--text);
}

.wake-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.wake-toggle:disabled {
  cursor: wait;
  opacity: 0.62;
}

.wake-toggle[aria-pressed="true"] {
  border-color: rgba(52, 211, 153, 0.38);
  background-color: rgba(18, 45, 38, 0.94) !important;
  background-image: linear-gradient(rgba(18, 45, 38, 0.94), rgba(18, 45, 38, 0.94)) !important;
  color: #b9f6d6 !important;
}

.wake-toggle-icon {
  display: inline-flex;
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  color: #c9d5e8;
}

#wakeToggleLabel {
  color: #dbe7f7 !important;
}

.wake-toggle[aria-pressed="true"] #wakeToggleLabel {
  color: #d1fae5 !important;
}

.wake-toggle-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
}

.wake-toggle[aria-pressed="true"] .wake-toggle-icon {
  color: var(--accent-3);
}

.wake-toggle[aria-pressed="true"] .wake-toggle-icon svg {
  stroke: currentColor;
}

.profiles-toggle {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background-color: rgba(13, 20, 34, 0.92) !important;
  background-image: linear-gradient(rgba(13, 20, 34, 0.92), rgba(13, 20, 34, 0.92)) !important;
  color: #c9d5e8 !important;
  -webkit-text-fill-color: currentColor;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
  -webkit-tap-highlight-color: transparent;
}

.profiles-toggle-icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: #c4b5fd;
  -webkit-text-fill-color: currentColor;
}

.profiles-toggle-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
}

.profiles-toggle:hover {
  border-color: rgba(167, 139, 250, 0.42);
  background-color: rgba(22, 33, 54, 0.95) !important;
  background-image: linear-gradient(rgba(22, 33, 54, 0.95), rgba(22, 33, 54, 0.95)) !important;
  color: var(--text) !important;
}

.profiles-toggle:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}

.wake-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 18px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
}

.wake-indicator-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent-3);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.09);
}

.wake-indicator[data-state="loading"] .wake-indicator-dot,
.wake-indicator[data-state="processing"] .wake-indicator-dot {
  background: var(--warn);
  box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.1);
  animation: pulse 1.1s ease-in-out infinite;
}

.wake-indicator[data-state="recording"] .wake-indicator-dot,
.wake-indicator[data-state="error"] .wake-indicator-dot {
  background: var(--danger);
  box-shadow: 0 0 0 4px rgba(251, 113, 133, 0.1);
}

.wake-indicator[data-state="speaking"] .wake-indicator-dot {
  background: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(167, 139, 250, 0.1);
}

.wake-indicator[data-state="paused"] .wake-indicator-dot {
  background: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(167, 139, 250, 0.1);
  animation: pulse 1.3s ease-in-out infinite;
}

.wake-indicator[data-state="recording"] .wake-indicator-dot {
  animation: pulse 1.1s ease-in-out infinite;
}

.conversation-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: min(830px, calc(100dvh - 110px));
  min-width: 0;
}

.conversation-panel {
  position: relative;
  flex: 1 1 0;
  height: auto;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 32%),
    rgba(8, 14, 26, 0.35);
  box-shadow:
    var(--shadow),
    0 0 70px rgba(125, 211, 252, 0.055);
  backdrop-filter: blur(22px) saturate(140%) brightness(1.12);
  -webkit-backdrop-filter: blur(22px) saturate(140%) brightness(1.12);
}

.conversation-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  background: linear-gradient(145deg, rgba(125, 211, 252, 0.32), transparent 28%, transparent 68%, rgba(167, 139, 250, 0.24));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0.72;
  animation: panelBorderPulse 9s ease-in-out infinite alternate;
}

.conversation-panel::after {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  z-index: 2;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(125, 211, 252, 0.55), transparent);
}

.clock-panel {
  position: relative;
  flex: 0 0 132px;
  min-height: 132px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 10px 20px 16px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 38%),
    rgba(8, 14, 26, 0.35);
  box-shadow:
    var(--shadow),
    0 0 60px rgba(167, 139, 250, 0.05);
  backdrop-filter: blur(22px) saturate(130%);
  -webkit-backdrop-filter: blur(22px) saturate(130%);
}

.clock-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  background: linear-gradient(145deg, rgba(167, 139, 250, 0.26), transparent 30%, transparent 70%, rgba(125, 211, 252, 0.2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0.8;
}

.clock-time {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-variant-numeric: tabular-nums;
  line-height: 0.84;
  letter-spacing: -0.08em;
}

#clockHours,
#clockMinutes {
  font-size: clamp(30px, 4vw, 56px);
  font-weight: 650;
  background: linear-gradient(110deg, #f8fbff 8%, #8fe3ff 48%, #c4b5fd 92%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.clock-colon {
  color: var(--accent);
  font-size: clamp(24px, 3.2vw, 44px);
  font-weight: 500;
  animation: colonPulse 2s steps(2, end) infinite;
}

.clock-seconds {
  position: relative;
  z-index: 1;
  margin-left: 6px;
  color: var(--muted);
  font-size: clamp(12px, 1.4vw, 17px);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.clock-date {
  position: relative;
  z-index: 1;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: clamp(10px, 0.9vw, 12px);
  letter-spacing: 0.03em;
  text-align: center;
}

.clock-progress {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 10px;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(125, 211, 252, 0.15), rgba(167, 139, 250, 0.7), rgba(125, 211, 252, 0.12));
  transform: scaleX(var(--seconds, 0));
  transform-origin: left center;
  transition: transform 0.95s linear;
}

.panel-header {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 28px 22px;
  border-bottom: 1px solid var(--line);
}

.panel-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.panel-header .eyebrow {
  margin-bottom: 6px;
}

.panel-header h2 {
  margin: 0;
  font-size: clamp(23px, 2.3vw, 29px);
  line-height: 1.2;
  letter-spacing: -0.045em;
}

.panel-badge {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: 999px;
  background: rgba(125, 211, 252, 0.07);
  color: var(--accent);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.14em;
}

.speaker-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 210px;
  overflow: hidden;
  padding: 7px 11px;
  border: 1px solid rgba(52, 211, 153, 0.28);
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.08);
  color: #b9f6d6;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.speaker-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent-3);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.1);
}

.speaker-badge[data-state="guest"] {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
}

.speaker-badge[data-state="guest"]::before {
  background: var(--muted);
  box-shadow: none;
}

.conversation-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  scrollbar-color: rgba(148, 163, 184, 0.28) transparent;
  scrollbar-width: thin;
}

.conversation-scroll::-webkit-scrollbar {
  width: 8px;
}

.conversation-scroll::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.26);
  background-clip: padding-box;
}

.empty-state {
  position: relative;
  flex: 1;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 22px 18px;
  text-align: center;
}

.empty-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 54px;
  margin-bottom: 20px;
}

.empty-wave span {
  width: 5px;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), rgba(167, 139, 250, 0.5));
  opacity: 0.72;
  animation: wave 2.4s ease-in-out infinite;
}

.empty-wave span:nth-child(2) { animation-delay: -0.25s; height: 28px; }
.empty-wave span:nth-child(3) { animation-delay: -0.5s; height: 42px; }
.empty-wave span:nth-child(4) { animation-delay: -0.75s; height: 30px; }
.empty-wave span:nth-child(5) { animation-delay: -1s; height: 48px; }
.empty-wave span:nth-child(6) { animation-delay: -1.25s; height: 24px; }
.empty-wave span:nth-child(7) { animation-delay: -1.5s; height: 34px; }

.empty-title {
  margin: 0;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.empty-text {
  max-width: 360px;
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.thinking-state {
  flex: 1;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.thinking-state p {
  margin: 0;
}

.thinking-orbit {
  position: relative;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(251, 191, 36, 0.2);
  border-radius: 50%;
  animation: orbit 7s linear infinite;
}

.thinking-orbit span {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--warn);
  box-shadow: 0 0 14px rgba(251, 191, 36, 0.5);
  animation: thinkingPulse 1.25s ease-in-out infinite;
}

.thinking-orbit span:nth-child(1) { top: -4px; left: 25px; }
.thinking-orbit span:nth-child(2) { right: 2px; bottom: 9px; animation-delay: -0.4s; }
.thinking-orbit span:nth-child(3) { left: 2px; bottom: 9px; animation-delay: -0.8s; }

.results {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.results .message {
  animation: messageIn 0.38s cubic-bezier(0.22, 0.8, 0.3, 1) both;
}

.results .message:nth-child(2) {
  animation-delay: 0.08s;
}

.message {
  position: relative;
  padding: 18px 19px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.025);
}

.message-user {
  border-top-right-radius: 7px;
}

.message-agent {
  border-top-left-radius: 7px;
  border-color: rgba(167, 139, 250, 0.22);
  background:
    radial-gradient(500px 220px at 100% 0%, rgba(167, 139, 250, 0.1), transparent 65%),
    rgba(255, 255, 255, 0.028);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.message-agent.playing {
  border-color: rgba(167, 139, 250, 0.52);
  box-shadow:
    0 0 0 1px rgba(167, 139, 250, 0.08),
    0 0 34px rgba(167, 139, 250, 0.12);
}

.message-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 11px;
}

.message-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: 9px;
  background: rgba(125, 211, 252, 0.09);
  color: var(--accent);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.message-avatar-agent {
  border-color: rgba(167, 139, 250, 0.3);
  background: rgba(167, 139, 250, 0.12);
  color: #c4b5fd;
}

.message-label {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.message-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.audio-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.play-btn {
  appearance: none;
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: 11px;
  background: rgba(125, 211, 252, 0.08);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  padding: 10px 14px;
  cursor: pointer;
}

.play-btn:hover {
  border-color: rgba(125, 211, 252, 0.45);
  background: rgba(125, 211, 252, 0.12);
}

audio {
  width: 100%;
  height: 38px;
  flex: 1 1 220px;
  opacity: 0.92;
}

.error {
  margin: 0;
  padding: 13px 15px;
  border: 1px solid rgba(251, 113, 133, 0.3);
  border-radius: 14px;
  background: rgba(251, 113, 133, 0.08);
  color: #fecdd3;
  font-size: 14px;
  line-height: 1.45;
}

.panel-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.footer-dot {
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent-3);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.1);
}

.size-toggle {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 192px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(16, 24, 39, 0.9);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background 0.16s ease, border-color 0.16s ease;
  -webkit-tap-highlight-color: transparent;
}

.size-toggle:hover {
  border-color: rgba(125, 211, 252, 0.42);
  background: rgba(22, 33, 54, 0.94);
}

.size-toggle:active {
  transform: none;
}

.size-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.size-toggle[aria-pressed="true"] {
  border-color: rgba(125, 211, 252, 0.55);
  background: rgba(125, 211, 252, 0.12);
}

.size-toggle-icon {
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1;
}

.profiles-model {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 7px;
  min-height: 26px;
  margin: 16px 0 6px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.profiles-model[data-state="ready"] {
  border-color: rgba(52, 211, 153, 0.25);
  color: #b9f6d6;
}

.profiles-model[data-state="loading"] {
  border-color: rgba(251, 191, 36, 0.25);
  color: #fde68a;
}

.profiles-model[data-state="error"] {
  border-color: rgba(251, 113, 133, 0.28);
  color: #fecdd3;
}

.profiles-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0 4px;
  max-height: 220px;
  overflow-y: auto;
  scrollbar-color: rgba(148, 163, 184, 0.28) transparent;
  scrollbar-width: thin;
}

.profiles-empty {
  margin: 0;
  padding: 14px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.profile-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.profile-copy {
  min-width: 0;
}

.profile-name {
  overflow: hidden;
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-meta {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.profile-delete {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  padding: 6px 9px;
  border: 1px solid rgba(251, 113, 133, 0.2);
  border-radius: 9px;
  background: transparent;
  color: #fda4af;
  font: inherit;
  font-size: 10px;
  font-weight: 650;
  cursor: pointer;
}

.profile-delete:hover,
.profile-delete:focus-visible {
  background: rgba(251, 113, 133, 0.09);
  outline: none;
}

.profiles-form {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.profiles-label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.profiles-input {
  width: 100%;
  min-height: 44px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(5, 10, 20, 0.62);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  outline: none;
}

.profiles-input::placeholder {
  color: rgba(141, 155, 181, 0.7);
}

.profiles-input:focus {
  border-color: rgba(125, 211, 252, 0.52);
  box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.08);
}

.profiles-prompt {
  min-height: 34px;
  margin: 12px 0 8px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.45;
}

.profiles-progress {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.profiles-progress span {
  height: 4px;
  flex: 1;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.14);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.profiles-progress span.done {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 12px rgba(125, 211, 252, 0.25);
}

.profiles-progress span.active {
  background: var(--accent);
  animation: pulse 1s ease-in-out infinite;
}

.profiles-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.profiles-record,
.profiles-save {
  appearance: none;
  -webkit-appearance: none;
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid rgba(125, 211, 252, 0.3);
  border-radius: 999px;
  background: rgba(125, 211, 252, 0.1);
  color: #dff7ff;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.profiles-record:hover,
.profiles-save:hover,
.profiles-record:focus-visible,
.profiles-save:focus-visible {
  border-color: rgba(125, 211, 252, 0.6);
  background: rgba(125, 211, 252, 0.16);
  outline: none;
}

.profiles-record:disabled,
.profiles-save:disabled {
  cursor: wait;
  opacity: 0.5;
}

.profiles-save {
  border-color: rgba(52, 211, 153, 0.35);
  background: rgba(52, 211, 153, 0.1);
  color: #d1fae5;
}

.profiles-status {
  min-height: 18px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.profiles-status[data-kind="ok"] {
  color: #b9f6d6;
}

.profiles-status[data-kind="error"] {
  color: #fecdd3;
}

.profiles-note {
  margin: 18px 0 0;
  color: rgba(141, 155, 181, 0.78);
  font-size: 10px;
  line-height: 1.5;
}

.account-slot {
  display: flex;
  align-items: center;
  min-width: 0;
}

.account-menu {
  position: relative;
  display: flex;
  align-items: center;
}

.account-trigger {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 4px 8px 4px 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(13, 20, 34, 0.86);
  color: var(--text);
  font: inherit;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.account-trigger:hover,
.account-trigger:focus-visible {
  border-color: rgba(125, 211, 252, 0.4);
  background: rgba(22, 33, 54, 0.94);
  outline: none;
}

.account-avatar {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.account-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-avatar[data-empty="true"] img {
  display: none;
}

.account-label {
  max-width: 155px;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-chevron {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.account-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 40;
  width: 252px;
  padding: 13px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent 35%),
    rgba(10, 16, 30, 0.97);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.account-popover-head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.account-avatar-lg {
  width: 38px;
  height: 38px;
  font-size: 14px;
}

.account-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 2px;
}

.account-title,
.account-email,
.account-provider {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-title {
  color: var(--text);
  font-size: 12px;
  font-weight: 650;
}

.account-email {
  color: var(--muted);
  font-size: 10px;
}

.account-provider {
  color: rgba(141, 155, 181, 0.7);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.account-logout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 11px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  color: #fecdd3;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
}

.account-logout:hover,
.account-logout:focus-visible {
  color: #fff;
  outline: none;
}

[hidden] {
  display: none !important;
}

html.large-ui .voice-orb {
  width: clamp(250px, 27vw, 370px);
}

html.large-ui h1 {
  font-size: clamp(28px, 2.8vw, 39px);
}

html.large-ui .orb-label {
  font-size: clamp(21px, 2.2vw, 28px);
}

html.large-ui .orb-sub {
  font-size: 13px;
}

html.large-ui .timer {
  font-size: 19px;
}

html.large-ui .hint {
  font-size: 15px;
  max-width: 410px;
}

html.large-ui .panel-header h2 {
  font-size: clamp(23px, 2.3vw, 29px);
}

html.large-ui .empty-title {
  font-size: 22px;
}

html.large-ui .empty-text {
  font-size: 16px;
}

html.large-ui .message-text {
  font-size: 19px;
}

html.large-ui .message-label {
  font-size: 11px;
}

html.large-ui .wake-toggle {
  font-size: 13px;
}

html.large-ui .wake-indicator {
  font-size: 12px;
}

html.large-ui .panel-footer {
  font-size: 12px;
}

@keyframes orbit {
  to { transform: rotate(360deg); }
}

@keyframes softPulse {
  0%, 100% { opacity: 0.65; }
  50% { opacity: 1; }
}

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

@keyframes wave {
  0%, 100% { transform: scaleY(0.55); opacity: 0.55; }
  50% { transform: scaleY(1); opacity: 0.95; }
}

@keyframes auroraFloatOne {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(9vw, 7vh, 0) scale(1.12); }
}

@keyframes auroraFloatTwo {
  0% { transform: translate3d(0, 0, 0) scale(1.08); }
  100% { transform: translate3d(-8vw, -6vh, 0) scale(0.94); }
}

@keyframes particleDrift {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-40px, 26px, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

@keyframes thinkingPulse {
  0%, 100% { transform: scale(0.6); opacity: 0.45; }
  50% { transform: scale(1); opacity: 1; }
}

@keyframes messageIn {
  0% { opacity: 0; transform: translateY(10px) scale(0.99); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes wakeRing {
  0% { transform: scale(0.96); opacity: 0.5; }
  100% { transform: scale(1.14); opacity: 0; }
}

@keyframes titleShine {
  0% { background-position: 0% center; }
  100% { background-position: 220% center; }
}

@keyframes ambientFlow {
  0% {
    background-position: 0% 20%;
  }
  50% {
    background-position: 72% 55%;
  }
  100% {
    background-position: 100% 90%;
  }
}

@keyframes colonPulse {
  0%, 45% { opacity: 1; }
  55%, 100% { opacity: 0.22; }
}

@keyframes starTwinkle {
  0% { opacity: 0.2; }
  100% { opacity: 0.62; }
}

@keyframes auroraFloatThree {
  0% { transform: translate3d(-4vw, 2vh, 0) scale(0.9); }
  100% { transform: translate3d(5vw, -6vh, 0) scale(1.15); }
}

@keyframes panelBorderPulse {
  0% { opacity: 0.45; }
  100% { opacity: 0.9; }
}

@media (max-height: 820px) and (min-width: 901px) {
  .assistant-shell {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .voice-orb {
    width: clamp(220px, 21vw, 285px);
  }

  .voice-stage {
    gap: 18px;
  }
}

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

  .assistant-shell {
    height: auto;
    min-height: 100dvh;
    grid-template-columns: 1fr;
    align-items: start;
    padding: 26px 18px 26px;
    gap: 32px;
  }

  .voice-stage {
    gap: 26px;
  }

  .brand {
    align-self: center;
  }

  .conversation-column {
    height: auto;
    gap: 16px;
  }

  .conversation-panel {
    flex: none;
    height: auto;
    min-height: 0;
  }

  .clock-panel {
    flex: none;
    min-height: 132px;
  }

  .conversation-scroll {
    overflow: visible;
  }

  .empty-state {
    min-height: 280px;
  }
}

@media (max-width: 560px) {
  .assistant-shell {
    padding: 18px 12px 26px;
    gap: 28px;
  }

  .brand {
    align-self: center;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }

  .brand-mark::after {
    inset: 12px 14px;
  }

  h1 {
    font-size: 30px;
  }

  .voice-orb {
    width: min(245px, 70vw);
  }

  .voice-orb::after {
    inset: -28px;
  }

  .panel-header {
    padding: 20px 18px;
  }

  .panel-header-actions {
    gap: 7px;
  }

  .account-label {
    display: none;
  }

  .account-trigger {
    min-height: 34px;
    padding: 3px 6px 3px 4px;
  }

  .account-avatar {
    width: 27px;
    height: 27px;
    font-size: 11px;
  }

  .account-popover {
    width: min(252px, calc(100vw - 28px));
  }

  .conversation-scroll {
    padding: 18px;
  }

  .panel-footer {
    padding: 14px 18px;
  }

  .size-toggle {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    width: 160px;
    min-height: 46px;
    padding: 0 10px;
    font-size: 12px;
  }

  .size-toggle-icon {
    font-size: 14px;
  }

  .wake-actions {
    width: 100%;
    flex-direction: column;
  }

  .wake-toggle,
  .profiles-toggle {
    width: min(222px, 100%);
  }

  .profiles-toggle {
    min-height: 38px;
    padding: 7px 12px;
  }

  .speaker-badge {
    max-width: 130px;
  }

  .profiles-actions {
    flex-direction: column;
  }

  .profiles-record,
  .profiles-save {
    width: 100%;
  }

  html.large-ui .voice-orb {
    width: min(255px, 72vw);
  }

  html.large-ui h1 {
    font-size: 32px;
  }

  html.large-ui .orb-label {
    font-size: 21px;
  }

  html.large-ui .message-text {
    font-size: 18px;
  }

  html.large-ui .panel-header h2 {
    font-size: 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .voice-orb::before,
  .empty-wave span,
  .status-dot,
  .aurora,
  .ambient-particles,
  .thinking-orbit,
  .thinking-orbit span,
  .results .message,
  .voice-orb.wake-pulse::after,
  .ambient-particles::after,
  .conversation-panel::before,
  .clock-colon,
  h1,
  .ambient {
    animation: none !important;
  }
}
