@font-face {
  font-family: "Cormorant Garamond";
  src: url("/portals/cormorant-garamond.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Outfit;
  src: url("/portals/outfit-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Outfit;
  src: url("/portals/outfit-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
:root { color-scheme: dark; }
[hidden] { display: none !important; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; }
body {
  background:
    radial-gradient(ellipse at -8% 38%, rgba(46, 98, 188, 0.42), transparent 42%),
    radial-gradient(ellipse at 108% 58%, rgba(32, 74, 168, 0.38), transparent 46%),
    radial-gradient(ellipse at 50% -8%, #161d2e 0%, #07080d 56%),
    #05070c;
  color: #f4f6fb;
  font-family: Outfit, system-ui, sans-serif;
  line-height: 1.45;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
#pandora-root { display: none !important; }
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.phone {
  display: grid;
  width: min(28rem, 100%);
  margin: 0 auto;
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
}
.screen {
  grid-area: 1 / 1;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  transition: transform 0.62s cubic-bezier(0.22, 0.8, 0.24, 1);
  will-change: transform;
}
.screen-computer { overflow: auto; padding-bottom: calc(0.7rem + env(safe-area-inset-bottom)); }
body[data-screen="chat"] .screen-chat { transform: translate3d(0, 0, 0); }
body[data-screen="chat"] .screen-computer {
  transform: translate3d(100%, 0, 0);
  pointer-events: none;
}
body[data-screen="computer"] .screen-chat {
  transform: translate3d(-100%, 0, 0);
  pointer-events: none;
}
body[data-screen="computer"] .screen-computer { transform: translate3d(0, 0, 0); }
.screen-chat {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: 100%;
  min-height: 0;
  overflow: hidden;
}
.hero {
  flex: none;
  text-align: center;
  padding: calc(0.7rem + env(safe-area-inset-top)) 1.25rem 0.15rem;
}
.mascot {
  position: relative;
  border: 0;
  background: transparent;
  padding: 0;
  display: inline-flex;
  user-select: none;
  -webkit-touch-callout: none;
}
.bear-glow {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 18%;
  bottom: -12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(120, 176, 255, 0.55), rgba(48, 96, 190, 0.16) 48%, transparent 72%);
  filter: blur(12px);
  pointer-events: none;
}
.bear {
  position: relative;
  width: 132px;
  aspect-ratio: 495 / 604;
  height: auto;
  display: block;
}
.bear-figure {
  position: absolute;
  inset: 0;
  transform-origin: 50% 78%;
  animation: bear-life 7.2s ease-in-out infinite;
}
.bear-photo-wrap, .bear-stage {
  position: absolute;
  inset: 0;
}
.bear-stage {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}
.bear[data-rig="3d"] .bear-stage { opacity: 1; }
.bear[data-rig="3d"] .bear-photo-wrap { opacity: 0; }
.bear-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.belly-ring {
  position: absolute;
  left: 50%;
  top: 68%;
  width: 34px;
  height: 34px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(176, 224, 255, 0.45);
  box-shadow: 0 0 12px 4px rgba(110, 190, 255, 0.75), inset 0 0 10px rgba(190, 226, 255, 0.45);
  animation: ring-glow 2.4s ease-in-out infinite;
  pointer-events: none;
}
.sparkles { display: none; }
.sparkles i {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px 2px rgba(170, 214, 255, 0.95);
  animation: spark 2.6s ease-in-out infinite;
}
.sparkles i:nth-child(1) { left: 16%; top: 20%; }
.sparkles i:nth-child(2) { left: 78%; top: 16%; animation-delay: 0.4s; }
.sparkles i:nth-child(3) { left: 8%; top: 58%; animation-delay: 0.8s; }
.sparkles i:nth-child(4) { left: 84%; top: 62%; animation-delay: 1.1s; }
.sparkles i:nth-child(5) { left: 28%; top: 6%; animation-delay: 1.5s; }
.sparkles i:nth-child(6) { left: 68%; top: 78%; animation-delay: 0.2s; }
.blink {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.blink i {
  position: absolute;
  top: calc(174 / 604 * 100%);
  height: calc(49 / 604 * 100%);
  border-radius: 50%;
  background: #1a100c;
  transform: scaleY(0);
  transform-origin: center;
  animation: bear-blink 5.4s infinite;
}
.blink i:first-child {
  left: calc(152 / 495 * 100%);
  width: calc(45 / 495 * 100%);
}
.blink i:nth-child(2) {
  left: calc(296 / 495 * 100%);
  width: calc(48 / 495 * 100%);
}
.bear[data-mood="think"] .bear-figure { animation: bear-think 1.8s ease-in-out infinite; }
.bear[data-mood="talk"] .bear-figure { animation: bear-talk 0.42s ease-in-out infinite; }
.bear.mouth-open .bear-figure { animation-duration: 0.28s; }
@keyframes bear-life {
  0%, 100% { transform: translateY(0) scale(1, 1) rotate(0deg); }
  18% { transform: translateY(-2px) scale(1.012, 1.03) rotate(0deg); }
  40% { transform: translateY(0) scale(1, 1) rotate(0deg); }
  72% { transform: translateY(-1px) rotate(-2.5deg); }
  84% { transform: translateY(-1px) rotate(2deg); }
}
@keyframes bear-blink {
  0%, 42%, 48%, 100% { transform: scaleY(0); }
  45% { transform: scaleY(1); }
}
@keyframes bear-think {
  0%, 100% { transform: rotate(-6deg) translateY(-2px); }
  50% { transform: rotate(5deg) translateY(-6px); }
}
@keyframes bear-talk {
  0%, 100% { transform: translateY(0) scale(1, 1); }
  50% { transform: translateY(-7px) scale(1.02, 0.98); }
}
@keyframes ring-glow {
  0%, 100% { box-shadow: 0 0 8px 2px rgba(110, 190, 255, 0.45), inset 0 0 8px rgba(190, 226, 255, 0.35); }
  50% { box-shadow: 0 0 18px 6px rgba(150, 214, 255, 0.9), inset 0 0 12px rgba(214, 236, 255, 0.75); }
}
@keyframes spark {
  0%, 100% { opacity: 0.15; transform: scale(0.55); }
  50% { opacity: 1; transform: scale(1); }
}
h1, .computer-title, .mini-copy strong {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 500;
}
h1 {
  margin: 0.05rem 0 0;
  font-size: 3.15rem;
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero h1 {
  max-width: 22rem;
  margin: 0.15rem auto 0;
  font-size: clamp(2.85rem, 12vw, 3.35rem);
  line-height: 0.95;
}
.subtitle, .mini-copy span {
  margin: 0.15rem 0 0;
  color: #c5cedd;
  font-size: 0.98rem;
  letter-spacing: 0.045em;
  font-weight: 400;
}
.hero .subtitle {
  position: relative;
  height: 1.45rem;
  max-width: 22rem;
  margin: 0.28rem auto 0.1rem;
  padding: 0;
  letter-spacing: 0.01em;
  line-height: 1.45rem;
  font-size: 1.02rem;
  color: #b7c0ce;
}
#hero-sub span {
  position: absolute;
  left: 0;
  right: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}
#hero-sub span.is-on { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  #hero-sub span { transition: none; }
}
@media (max-height: 700px) {
  .bear { width: 104px; height: auto; }
  .belly-ring { width: 24px; height: 24px; top: 68%; }
  .hero { padding-top: calc(0.45rem + env(safe-area-inset-top)); }
  .hero h1 { font-size: 2.35rem; margin-top: 0.1rem; }
  .hero .subtitle { font-size: 0.95rem; margin-top: 0.15rem; }
}
.tool-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.8rem;
  margin: 0 0 0.8rem;
}
.studio-link {
  display: inline-block;
  margin: 0;
  color: #9fd0ff;
  font-size: 0.92rem;
  text-decoration: none;
}
.speak-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.28rem;
}
.speak-read, .speak-stop {
  min-height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #7eb6ff;
  font-size: 0.78rem;
}
.presence {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(22rem, 100%);
  margin: 0.35rem auto 0;
  color: #c5cad6;
  font-size: 0.92rem;
}
.presence-dot { justify-self: end; display: flex; margin-right: 0.42rem; }
.presence-label { white-space: nowrap; }
.status-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0.28rem auto 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #c5cad6;
  font-size: 0.95rem;
}
#speaker {
  justify-self: start;
  width: 28px;
  height: 28px;
  margin: 0 0 0 0.2rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #8b93a3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#speaker[aria-pressed="true"] { color: #8eb6ff; }
#speaker[aria-pressed="false"] .speaker-wave,
#speaker[aria-pressed="true"] .speaker-off { display: none; }
.dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #3b82f6;
  box-shadow: 0 0 8px #3b82f6;
}
.dot.off { background: #8b909a; box-shadow: none; }
#thread {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
  min-height: 0;
  overflow: auto;
  margin-top: 0.35rem;
  padding: 0 1.05rem calc(6.2rem + env(safe-area-inset-bottom));
}
#thread::before {
  content: "";
  flex: 1 1 auto;
}
#thread:empty { display: none; }
.bubble {
  margin: 0;
  max-width: 78%;
  padding: 0.72rem 0.95rem;
  border-radius: 18px;
  background: #2c313c;
  border: 0;
  color: #f4f6fb;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.bubble.you { align-self: flex-end; background: #3a404c; }
.bubble.reply { align-self: flex-start; background: #2a303b; }
.belly-link {
  align-self: flex-start;
  margin: -0.15rem 0 0.1rem;
  padding: 0.1rem 0.15rem;
  border: 0;
  background: transparent;
  color: #4aa3ff;
  font-size: 0.92rem;
  min-height: 36px;
  text-align: left;
}
.typing {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  min-height: 1.4rem;
  min-width: 3.2rem;
}
.typing span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #f4f6fb;
  animation: chat-blink 1s infinite ease-in-out;
}
.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes chat-blink {
  0%, 80%, 100% { opacity: 0.25; }
  40% { opacity: 1; }
}
#file-list, #composer-status {
  position: fixed;
  z-index: 6;
  left: 50%;
  bottom: calc(4.8rem + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(26rem, calc(100% - 1.5rem));
  margin: 0;
  color: #b7becc;
  font-size: 0.85rem;
  text-align: center;
  pointer-events: none;
}
#file-list:empty, #composer-status:empty { display: none; }
.attach-menu {
  position: fixed;
  z-index: 7;
  left: 50%;
  bottom: calc(5.4rem + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(16rem, calc(100% - 1.5rem));
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0;
  padding: 0.4rem;
  border-radius: 16px;
  background: #161922;
  border: 1px solid #2e3342;
}
.attach-menu[hidden] { display: none; }
.attach-menu button {
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  background: #222633;
  color: #f4f6fb;
}
.bubble-thumb {
  display: block;
  width: 7.5rem;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 0 0 0.35rem;
}
#double-check {
  align-self: center;
  margin: 0.45rem auto 0;
  min-height: 40px;
  padding: 0 0.9rem;
  border-radius: 999px;
  border: 1px solid #2e3342;
  background: #161922;
}
#composer {
  position: fixed;
  z-index: 5;
  left: 50%;
  bottom: calc(0.75rem + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(26rem, calc(100% - 1.4rem));
  display: flex;
  align-items: flex-end;
  gap: 0.15rem;
  margin: 0;
  padding: 0.28rem 0.28rem 0.28rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(18, 22, 32, 0.94);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
}
#prompt {
  flex: 1;
  display: block;
  width: 100%;
  border: 0;
  resize: none;
  min-height: 2.6rem;
  max-height: 6.5rem;
  background: transparent;
  padding: 0.55rem 0.2rem;
  font-size: 1rem;
}
#prompt:focus { outline: none; }
#prompt::placeholder { color: #8b93a3; }
#upload-button, #mic, #send {
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
#upload-button, #mic {
  border: 0;
  background: transparent;
  color: #e4e8f0;
  border-radius: 50%;
}
#upload-button { font-size: 1.55rem; line-height: 1; }
#send {
  width: 40px;
  height: 40px;
  margin: 2px;
  border: 0;
  border-radius: 50%;
  background: #3d9ef0;
  color: #fff;
}
.computer-top {
  padding: calc(0.55rem + env(safe-area-inset-top)) 0.85rem 0;
}
.computer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
#back-chat, #expand-computer {
  border: 0;
  background: transparent;
  color: #d5dbe6;
  min-height: 44px;
  padding: 0;
  font-size: 1rem;
}
#expand-computer {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
body[data-computer="full"] #expand-computer {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  font-weight: 600;
  color: #9fd0ff;
}
.cloud-corner { display: none; }
body[data-computer="full"] .cloud-corner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.1rem 0.6rem 0;
}
.cloud-pill,
.cloud-continuity {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  min-height: 28px;
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(12, 16, 28, 0.82);
  font-size: 0.72rem;
  line-height: 1.2;
  color: #d5deee;
}
.cloud-pill[data-state="online"] { color: #b6f3c8; }
.cloud-pill[data-state="offline"] { color: #f0c7c7; }
.cloud-continuity input { width: 1rem; height: 1rem; margin: 0; }
.cloud-soon { color: #aeb6c6; }
.mini-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 0.15rem;
}
.bear-mini { width: 58px; height: 70px; object-fit: contain; }
.mini-copy { margin: 0.05rem 0 0; line-height: 1.05; }
.mini-copy strong { display: block; font-size: 1.65rem; }
.mini-copy span { display: block; font-size: 0.92rem; margin-top: 0.12rem; color: #b7c0ce; letter-spacing: 0.01em; }
.computer-title {
  margin: 0.55rem 1rem 0;
  text-align: center;
  font-size: clamp(2.55rem, 9.4vw, 3.15rem);
  letter-spacing: -0.03em;
  line-height: 0.95;
}
.screen-frame {
  position: relative;
  margin: 0.85rem 1.05rem 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #10141c;
  min-height: 220px;
  aspect-ratio: 4 / 3.15;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
.open-shared {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.screen-frame iframe,
.screen-frame .desk-art {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  background: #10131a;
}
.computer-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
  margin: 0.95rem 1.15rem 0;
}
.control {
  display: inline-flex;
  flex: 0 1 15.5rem;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #1a2030;
  text-decoration: none;
  color: #f4f6fb;
  font-size: 1.02rem;
}
.control:disabled { opacity: 0.55; }
#keyboard, .round {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #1a2030;
  color: #e8edf5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.local-keys { margin: 0.75rem 1rem 0; }
.local-keys input {
  width: 100%;
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid #2a2e3a;
  background: #10131a;
  padding: 0 1rem;
}
.desk-voice {
  display: none;
  flex-direction: column;
  align-items: center;
  margin: 0.7rem 1rem 0;
}
.desk-caption {
  width: min(36rem, 100%);
  margin: 0;
  min-height: 1.25em;
  text-align: center;
  color: #d5deee;
  line-height: 1.35;
}
.desk-caption.reply { color: #9fd0ff; margin-top: 0.2rem; }
#desk-mic {
  width: min(100%, 28rem);
  min-height: 4.25rem;
  margin-top: 0.55rem;
  border: 0;
  border-radius: 999px;
  background: #4eb6f2;
  color: #0c1420;
  font-size: 1.15rem;
  font-weight: 650;
  white-space: nowrap;
  touch-action: manipulation;
}
#desk-mic[aria-pressed="true"] {
  background: #d7ecff;
  box-shadow: 0 0 0 6px rgba(78, 182, 242, 0.28);
}
#desk-note { margin-top: 0.35rem; }
body[data-computer="full"] .screen-computer {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-bottom: 0;
}
body[data-computer="full"] .mini-brand,
body[data-computer="full"] .computer-title,
body[data-computer="full"] .dose,
body[data-computer="full"] .caption {
  display: none;
}
body[data-computer="full"] .screen-frame {
  flex: 1;
  min-height: 0;
  aspect-ratio: auto;
  margin: 0.35rem 0.6rem 0;
}
body[data-computer="full"] .computer-actions { margin-top: 0.45rem; }
body[data-computer="full"] #desk-mic { min-height: 4.75rem; font-size: 1.25rem; }
body[data-computer="full"] .desk-voice {
  display: flex;
  margin-bottom: calc(0.4rem + env(safe-area-inset-bottom));
}
body[data-computer="full"] .desk-caption:empty { display: none; }
@media (max-height: 520px) {
  body[data-computer="full"] .computer-top { padding-top: calc(0.15rem + env(safe-area-inset-top)); }
  body[data-computer="full"] #back-chat,
  body[data-computer="full"] #expand-computer { min-height: 36px; }
  body[data-computer="full"] .status-line { margin-top: 0; font-size: 0.8rem; }
  body[data-computer="full"] #desk-note { display: none; }
  body[data-computer="full"] .desk-caption { min-height: 0; }
  body[data-computer="full"] .desk-voice { margin-top: 0.25rem; }
  body[data-computer="full"] #desk-mic { min-height: 3.15rem; margin-top: 0.3rem; font-size: 1rem; }
  body[data-computer="full"] .computer-actions { margin: 0.25rem 0.6rem 0; }
  body[data-computer="full"] .control { min-height: 44px; }
  body[data-computer="full"] #keyboard,
  body[data-computer="full"] .round { width: 44px; height: 44px; }
}
.caption {
  margin: 0.7rem 1rem 0.4rem;
  text-align: center;
  color: #8e97a8;
  font-size: 0.95rem;
}
.dose {
  display: none;
  margin: 0.7rem 1rem 0;
  padding: 0.85rem 0.9rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(16, 19, 28, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  text-align: left;
}
.dose h2 { margin: 0; font-size: 1.05rem; }
.dose label { display: flex; flex-direction: column; gap: 0.25rem; margin-top: 0.55rem; font-size: 0.82rem; color: #b7becc; }
.dose textarea {
  min-height: 2.6rem;
  border-radius: 12px;
  border: 1px solid #2e3342;
  background: #0c0e14;
  padding: 0.45rem 0.65rem;
  resize: vertical;
}
.who button, .switcher button, #at {
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid #2e3342;
  background: #161922;
}
.session { display: flex; justify-content: center; }
#portal-note:empty { display: none; }
#portal-note { margin: 0.8rem 0 0; text-align: center; color: #e6c36a; font-weight: 650; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin: 1rem 0 0; }
.chips .muted { margin: 0; color: #8d93a3; }
.chip, .enter {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.35rem 0.8rem;
  border: 1px solid #2c3140;
  border-radius: 999px;
  background: #10131a;
  text-decoration: none;
}
.limits { margin: 0 0 1rem; }
.limits h2 {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.limit-row { display: grid; gap: 0.2rem; margin: 0 0 0.7rem; }
.limit-row span { font-size: 0.92rem; }
.limit-row small { color: #b7becc; }
.limit-row meter { width: 100%; height: 0.6rem; }
.plan-people { display: grid; gap: 0.55rem; margin: 0.4rem 0 0.8rem; text-align: left; }
.plan-people label { display: grid; gap: 0.2rem; font-size: 0.92rem; }
.plan-people select {
  min-height: 44px;
  border: 1px solid #2c3140;
  border-radius: 10px;
  background: #10131a;
  padding: 0.35rem 0.5rem;
}
.app-card {
  align-self: stretch;
  border: 1px solid #2a2e3a;
  border-radius: 16px;
  padding: 0.85rem 0.95rem;
  background: #12141c;
}
.app-card h2 { margin: 0 0 0.35rem; font-size: 1rem; }
.app-card p { margin: 0 0 0.75rem; color: #d7dce8; }
.app-card a, .app-card button {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border: 1px solid #f4f6fb;
  border-radius: 999px;
  background: transparent;
  text-decoration: none;
}
.tools { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin-top: 0.8rem; }
#at {
  width: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#model {
  margin-left: auto;
  min-height: 44px;
  max-width: 14rem;
  border: 0;
  background: transparent;
  padding: 0 0.4rem;
}
.fine { margin: 0.55rem 0 0; color: #8d93a3; font-size: 0.82rem; text-align: center; }
#compute .compute-gpu { display: block; font-weight: 650; text-align: left; }
#whatsapp-aifred { text-align: left; }
#whatsapp-aifred .mark { margin: 0; font-weight: 800; }
#at-menu {
  position: fixed;
  z-index: 40;
  left: 50%;
  bottom: calc(4.8rem + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(26rem, calc(100% - 1.2rem));
  list-style: none;
  margin: 0;
  padding: 0.3rem;
  max-height: 40dvh;
  overflow: auto;
  border: 1px solid #2e3342;
  border-radius: 16px;
  background: #12141c;
}
#at-menu li { margin: 0; }
#at-menu button {
  width: 100%;
  text-align: left;
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  padding: 0 0.7rem;
}
#at-menu button[aria-selected="true"], #at-menu button:hover { background: #1c2230; }
#home-tools {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(28rem, 100%);
  max-height: min(82dvh, 100%);
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin: 0;
  padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom));
  border-radius: 24px 24px 0 0;
  background: rgba(14, 17, 26, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}
.switcher {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.switcher h2 { margin: 0; font-size: 0.95rem; font-weight: 650; text-align: center; }
.people { display: grid; grid-template-columns: 1fr; gap: 0.45rem; }
.people .card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
  width: 100%;
  min-height: 64px;
  padding: 0.7rem 0.9rem;
  border-radius: 16px;
  text-align: left;
}
.people .card[aria-selected="true"] { border-color: #f4f6fb; background: #1c2230; }
.card-name { font-weight: 700; }
.card-role { color: #aeb6c6; font-size: 0.82rem; line-height: 1.3; }
#picked, #choose-note { margin: 0; text-align: center; color: #f4f6fb; }
.switcher.cards-ready .user-field {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
@media (min-width: 640px) {
  .people { grid-template-columns: 1fr 1fr; }
}
.switcher label { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.85rem; color: #b7becc; }
.switcher input {
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid #2e3342;
  background: #0c0e14;
  padding: 0 0.8rem;
  font-size: 1rem;
}
.switcher .go { min-height: 48px; border-radius: 999px; border: 0; background: #f4f6fb; color: #111; font-weight: 700; }
:focus-visible { outline: 2px solid #8eb6ff; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .screen, .typing span, .bear-photo, .bear-figure, .blink i, .belly-ring, .sparkles i, .bear-stage, .bear-photo-wrap {
    animation: none;
    transition: none;
  }
  .bear[data-mood="think"] .bear-figure,
  .bear[data-mood="talk"] .bear-figure,
  .bear.mouth-open .bear-figure { transform: none; }
}
