@font-face{font-family:'YS Geo';src:url('./assets/ys-geo-regular.ttf');font-weight:400;font-display:swap}@font-face{font-family:'YS Geo';src:url('./assets/ys-geo-medium.ttf');font-weight:500;font-display:swap}@font-face{font-family:'YS Geo';src:url('./assets/ys-geo-light.ttf');font-weight:300;font-display:swap}@font-face{font-family:'YS Text';src:url('./assets/ys-text-regular.ttf');font-weight:400;font-display:swap}@font-face{font-family:'YS Text';src:url('./assets/ys-text-medium.ttf');font-weight:500;font-display:swap}
:root{font-family:'YS Geo',Arial,sans-serif;background:#080808;color:#fff;font-synthesis:none;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0}button,select{font:inherit}button{cursor:pointer;color:inherit;background:none;border:0}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #b9a3ff;outline-offset:4px}button:disabled{opacity:.35;cursor:default}img{display:block;object-fit:contain}button img{pointer-events:none}button:active{filter:brightness(.93)}[hidden]{display:none!important}.muted{color:#bebec3}.page-header{height:78px;margin:0 36px;display:flex;align-items:center;gap:32px;border-bottom:1px solid #ffffff13;font-size:15px}.brand{display:flex;align-items:center;gap:18px}.brand-mark{font-size:22px;font-weight:500;letter-spacing:-1.2px}.research-label{color:#d0d0d3;font-size:12px}.research-label:before{content:'';display:inline-block;background:#8e819f;width:5px;height:5px;border-radius:50%;margin-right:8px}.source-link{margin-left:auto;color:#e7e7e7;font-size:13px}.presentation{padding:16px 30px 0;display:flex;gap:20px;max-width:1860px;margin:auto}.preview{min-width:0;flex:1}.hardware-stage{height:calc(100dvh - 210px);min-height:400px;position:relative;--device-scale:.6;overflow:hidden}.hardware{width:1490.970947px;height:1160px;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) scale(var(--device-scale));transform-origin:center}.hardware-image{position:absolute;left:0;top:-250px;width:1490.970947px;height:1490.970947px}.screen-position{position:absolute;left:105.485474px;top:95.485474px;width:1280px;height:800px}.device{width:1280px;height:800px;position:relative;isolation:isolate;overflow:hidden;background:#000;border-radius:2px;font-size:24px;font-weight:500;user-select:none}.device button:focus-visible{outline:3px solid white}.wallpaper{position:absolute;inset:0;z-index:-2;overflow:hidden}.wallpaper>img{position:absolute;left:.43%;top:-.93%;width:99.57%;height:101.85%;object-fit:cover}.wallpaper>div{position:absolute;inset:0;background:#0003}.bottom-gradient{position:absolute;bottom:0;width:1280px;height:200px;z-index:-1}.home-widgets{position:absolute;bottom:24px;left:50%;transform:translateX(-50%);display:flex;align-items:end;gap:12px}.home-widgets>div{background:#000b;border-radius:24px;height:96px;overflow:hidden}.weather-widget{width:96px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;font-size:24px;line-height:28px}.recent-widget{display:flex;gap:8px;padding:8px}.recent-widget img{border-radius:16px;object-fit:cover}.menu-widget{padding:24px 12px;width:72px}

.hardware-stage { height: calc(100dvh - 174px); min-height: 290px; }
.playback-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 12px 0 20px;
}
.prompt-button {
  flex: 1 1 0;
  max-width: 286px;
  min-height: 48px;
  border-radius: 100px;
  padding: 10px 16px;
  background: #f1f1f2;
  color: #262626;
  font-size: 16px;
  font-weight: 500;
  text-wrap: balance;
}
.prompt-button:hover { background: white; }
.device {
  font-weight: 400;
  --agent-surface: rgb(255 255 255 / .1);
}
.home-date {
  position: absolute;
  left: 240px;
  top: 198px;
  width: 800px;
  text-align: center;
  font: 500 32px/40px 'YS Text';
}
.home-clock {
  position: absolute;
  left: 240px;
  top: 250px;
  width: 800px;
  text-align: center;
  font: 300 300px/300px 'YS Geo';
  font-variant-numeric: lining-nums tabular-nums;
}
.music-widget { position: relative; width: 400px; }
.music-widget .album { width: 96px; height: 96px; border-radius: 24px; }
.music-brand { position: absolute; left: 68px; top: 68px; }
.music-widget > span { position: absolute; left: 112px; top: 16px; display: flex; flex-direction: column; gap: 8px; }
.music-widget b { font-size: 24px; line-height: 28px; font-weight: 500; white-space: nowrap; }
.statusbar {
  position: absolute;
  z-index: 8;
  top: 0;
  width: 100%;
  height: 68px;
  pointer-events: none;
  transition: opacity 280ms ease-out, transform 360ms cubic-bezier(.2,.8,.25,1);
}
[data-alice-active=true] .statusbar {
  opacity: 0;
  transform: translateY(-18px) scale(.985);
}
[data-alice-active=true] .agent-chip { visibility: hidden; }
.system-statuses, .processes { display: flex; align-items: center; position: absolute; top: 12px; }
.system-statuses { left: 40px; gap: 8px; }
.processes { left: 50%; transform: translateX(-50%); gap: 12px; }
.status-pill, .agent-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 44px;
  height: 44px;
  border-radius: 24px;
  font: 500 22px/28px 'YS Geo';
}
.status-pill {
  background: rgb(255 255 255 / .1);
  backdrop-filter: blur(14px);
}
.clock-pill { width: 81px; font-variant-numeric: tabular-nums; }
.reminder-pill { width: max-content; padding: 0 10px; gap: 6px; }
.profile-pill {
  position: absolute;
  top: 12px;
  right: 36px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: conic-gradient(#55ffc2,#5daaf8,#7039fa,#c675ff,#55ffc2);
  border-radius: 50%;
}
.profile-pill img { object-fit: cover; border-radius: 50%; border: 2px solid #1c1c1c; }
.agent-chip, .bubble-shell {
  background: var(--agent-surface);
  backdrop-filter: blur(23.35px);
}
.agent-chip { width: max-content; padding: 0 16px; pointer-events: auto; }
.agent-chip.attention, .toast-header.attention {
  color: #ffd46f;
  animation: attention 1.65s ease-in-out infinite;
}
@keyframes attention {
  50% { color: #ffeab4; }
}
.shade { position: absolute; inset: 0; z-index: 5; }
.bubble-shell {
  position: absolute;
  z-index: 6;
  left: 0;
  top: 0;
  overflow: hidden;
  border-radius: 44px;
}
.agent-bubble { width: 680px; outline: none; }
.toast-header {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 56px;
  padding: 0 20px;
  white-space: nowrap;
  font: 500 24px/32px 'YS Geo';
}
#bubble-content { padding: 4px 24px 24px; }
.agent-bubble h1 {
  font: 500 36px/44px 'YS Text';
  margin: 0;
  text-align: center;
  text-wrap: balance;
}
.agent-bubble.progress-bubble { width: max-content; }
.bubble-note { color: #ffffffb8; font: 400 24px/32px 'YS Text'; text-align: center; margin: 12px 12px 0; text-wrap: balance; }
.bubble-actions { display: flex; gap: 16px; margin-top: 24px; }
.pill-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  min-height: 104px;
  padding: 12px 20px;
  border-radius: 100px;
  background: #ffffff1a;
  font: 400 37px/44px 'YS Geo';
  text-align: center;
  text-wrap: balance;
}
.pill-button.primary { background: white; color: black; }
.pill-button:hover { background: #ffffff2b; }
.pill-button.primary:hover { background: #ebe9ec; }
.secondary-action {
  display: block;
  margin: 14px auto 0;
  padding: 8px 18px;
  border-radius: 24px;
  font: 400 22px/28px 'YS Text';
  color: #ffffffa0;
}
.secondary-action:hover { background: #ffffff12; color: white; }
.call-transcript { margin: 22px 0 0; padding: 0 12px; }
.call-transcript > div { padding: 14px 0; border-top: 1px solid #ffffff20; }
.call-transcript > div:last-child { padding-bottom: 4px; }
.call-transcript dt { font: 500 18px/24px 'YS Text'; color: #ffffffa8; margin-bottom: 4px; }
.call-transcript .alice-turn dt { color: #d6c8ff; }
.call-transcript dd { font: 400 24px/32px 'YS Text'; margin: 0; text-wrap: pretty; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.device-mode .page-header { display: none; }
.device-mode .presentation { padding-top: 0; }
.device-mode .hardware-stage { height: 100dvh; }
.device-mode .playback-bar { display: none; }
.device-mode .hardware { width: 1280px; height: 800px; }
.device-mode .hardware-image { display: none; }
.device-mode .screen-position { left: 0; top: 0; }
@media (max-width: 680px) {
  .page-header { height: 62px; margin-inline: 16px; gap: 12px; }
  .brand { gap: 9px; font-size: 13px; }
  .research-label { display: none; }
  .presentation { padding: 6px 12px; }
  .playback-bar { gap: 8px; padding-bottom: 10px; }
  .prompt-button { padding-inline: 10px; }
  .hardware-stage { height: calc(100dvh - 182px); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Регулярная запись: обратный отсчёт, второстепенные ответы, пуш на телефоне */
.more-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 8px; margin-top: 14px; }
.more-actions .secondary-action { margin: 0; }
.countdown { height: 6px; margin: 20px 12px 0; border-radius: 3px; background: #ffffff1f; overflow: hidden; }
.countdown i { display: block; height: 100%; width: 100%; background: #ffd46f; transform-origin: left; animation: countdown linear forwards; }
@keyframes countdown { from { transform: scaleX(1); } to { transform: scaleX(0); } }
[data-ducked=true] .music-widget b { color: #ffffff8c; }
.phone-push {
  position: fixed;
  z-index: 20;
  right: 24px;
  bottom: 24px;
  width: min(380px, calc(100vw - 48px));
  padding: 18px 18px 16px;
  border-radius: 28px;
  background: rgb(40 40 44 / .92);
  backdrop-filter: blur(23px);
  box-shadow: 0 18px 48px #0009;
  font-family: 'YS Text', Arial, sans-serif;
  animation: phone-in 420ms cubic-bezier(.2,.8,.25,1);
}
@keyframes phone-in { from { opacity: 0; transform: translateY(24px); } }
.phone-app { color: #ffffff9a; font-size: 13px; margin-bottom: 6px; }
.phone-push h2 { margin: 0; font: 500 18px/24px 'YS Text'; text-wrap: balance; }
.phone-push p { margin: 6px 0 0; color: #ffffffc0; font-size: 15px; line-height: 20px; }
.phone-push .countdown { margin: 12px 0 0; }
.phone-actions { display: flex; gap: 8px; margin-top: 14px; }
.phone-button { flex: 1; min-height: 40px; border-radius: 20px; background: #ffffff1f; font-size: 15px; padding: 8px 10px; }
.phone-button:last-child { background: white; color: black; }
.phone-push .more-actions { justify-content: flex-start; margin-top: 10px; }
.phone-push .secondary-action { font-size: 14px; line-height: 20px; padding: 4px 10px; }

/* Слушание Алисы: настоящий спрайт кольца из прошивки Дуо (30 кадров, ~1 с на цикл). */
.alice-listening {
  position: absolute; left: 40px; top: 20px; z-index: 7; width: 104px; height: 104px;
  background: url(./assets/alice-listening.png) 0 0 / 3120px 104px no-repeat;
  opacity: 0; transform: scale(.6); pointer-events: none;
  transition: opacity .25s ease, transform .35s cubic-bezier(.2, 1.4, .4, 1);
}
.alice-listening[data-mode=listening] { opacity: 1; transform: scale(1); animation: alice-listening 1s steps(30) infinite; }
.enable-sound { position: absolute; z-index: 9; left: 40px; bottom: 28px; min-height: 48px; padding: 10px 20px; border-radius: 24px; background: #fff; color: #151515; font: 500 20px/28px 'YS Geo'; box-shadow: 0 8px 24px #0008; }
@keyframes alice-listening { to { background-position: -3120px 0; } }
@media (prefers-reduced-motion: reduce) { .alice-listening[data-mode=listening] { animation: none; } }
