:root {
  --bg: #070b09;
  --panel: #0f1512;
  --panel-2: #171e1a;
  --panel-3: #1f2823;
  --line: rgba(255, 255, 255, 0.09);
  --text: #eef2ef;
  --muted: #9aa6a0;

  --accent: #e62924;        /* the crest of the woodpecker */
  --accent-bright: #ff5348;
  --orange: #ff6a1f;        /* the Action button */

  --blue: #4da3ff;          /* running */
  --amber: #ffb020;         /* needs your answer */
  --green: #34d17c;         /* done */
  --red: #ff5a52;           /* failed */
  --gray: #7d8782;          /* queued, cancelled */
}

* { box-sizing: border-box; }

html { color-scheme: dark; }

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(1100px 620px at 50% -8%, #13241c 0%, var(--bg) 62%) fixed, var(--bg);
  color: var(--text);
  font: 15px/1.5 system-ui, -apple-system, "PingFang SC", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
}

button:focus-visible,
input:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ---------- Page ---------- */

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 22px 24px 4px;
}

.brand { display: flex; align-items: center; gap: 12px; }

.brand-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  flex: none;
  background: radial-gradient(circle at 34% 28%, #fff 0, #f1ecdf 34%, #c4bcaa 70%, #8c8676 100%);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.25);
}

.brand h1 { margin: 0; font-size: 19px; line-height: 1.2; letter-spacing: 0.01em; }
.brand p { margin: 0; font-size: 13px; color: var(--muted); }

.lang {
  display: flex;
  padding: 3px;
  border-radius: 999px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  flex: none;
}

.lang button {
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
}

.lang button[aria-pressed="true"] { background: #fff; color: #000; font-weight: 600; }

.layout {
  display: grid;
  grid-template-columns: minmax(240px, 280px) minmax(330px, 1fr) minmax(260px, 320px);
  gap: 26px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 14px 24px 44px;
  align-items: start;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
}

.panel h2 { margin: 0 0 4px; font-size: 16px; }

.panel h3 {
  margin: 18px 0 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.note { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.45; }

/* Left panel */

.chips { display: grid; gap: 6px; }

.chip {
  text-align: left;
  padding: 9px 12px;
  border-radius: 13px;
  background: var(--panel-2);
  border: 1px solid transparent;
  font-size: 14px;
  line-height: 1.35;
  transition: background 0.15s, border-color 0.15s;
}

.chip:hover { background: var(--panel-3); border-color: var(--line); }
.chip:active { transform: scale(0.99); }

.own { display: flex; gap: 6px; }

.own input {
  flex: 1;
  min-width: 0;
  padding: 9px 12px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--text);
  font: inherit;
  font-size: 14px;
}

.own button {
  padding: 9px 15px;
  border-radius: 13px;
  background: #fff;
  color: #000;
  font-size: 14px;
  font-weight: 600;
}

.linkbtn {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.linkbtn:hover { color: var(--text); }

/* Right panel */

.hw-list { display: grid; gap: 6px; margin-top: 12px; }

.hw-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 8px;
  align-items: center;
  text-align: left;
  padding: 9px 12px;
  border-radius: 13px;
  background: var(--panel-2);
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s;
}

.hw-row:hover { background: var(--panel-3); border-color: var(--line); }
.hw-row.flash { border-color: rgba(255, 255, 255, 0.7); background: var(--panel-3); }

.hw-name { font-size: 14px; font-weight: 600; }
.hw-desc { grid-column: 1 / -1; font-size: 12.5px; color: var(--muted); line-height: 1.4; }

.tagb {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.tagb.ok { color: var(--green); background: rgba(52, 209, 124, 0.14); }
.tagb.no { color: var(--red); background: rgba(255, 90, 82, 0.14); }
.tagb.mid { color: var(--amber); background: rgba(255, 176, 32, 0.14); }

.limits { margin: 0; padding-left: 18px; font-size: 13px; color: var(--muted); line-height: 1.45; }
.limits li + li { margin-top: 4px; }

.log { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; font-size: 12.5px; min-height: 60px; }
.log li { display: grid; grid-template-columns: 52px 1fr; gap: 8px; align-items: baseline; color: var(--muted); }
.log li:first-child { color: var(--text); }
.log .empty { display: block; }

.ltag {
  font-size: 10.5px;
  font-weight: 700;
  text-align: center;
  padding: 1px 0;
  border-radius: 6px;
}

.ltag.in { color: var(--green); background: rgba(52, 209, 124, 0.14); }
.ltag.sys { color: var(--red); background: rgba(255, 90, 82, 0.14); }
.ltag.srv { color: var(--blue); background: rgba(77, 163, 255, 0.16); }

/* ---------- Watch: the case ---------- */

.stage {
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: sticky;
  top: 10px;
}

.watch {
  position: relative;
  width: 304px;
  height: 366px;
  margin: 92px 0 92px;
  flex: none;
}

.watch.haptic { animation: haptic 0.3s linear; }

.band {
  position: absolute;
  left: 52px;
  width: 200px;
  height: 130px;
  background: linear-gradient(90deg, #141b17, #232d27 50%, #141b17);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.band-top { top: -92px; border-radius: 22px 22px 0 0; }
.band-bottom { bottom: -92px; border-radius: 0 0 22px 22px; }

.case {
  position: relative;
  z-index: 2;
  width: 304px;
  height: 366px;
  padding: 16px;
  border-radius: 82px;
  background: linear-gradient(140deg, #dad4c8 0%, #aaa497 28%, #8b8579 56%, #c2bcb0 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.4),
    inset 0 -3px 6px rgba(0, 0, 0, 0.3),
    0 30px 60px rgba(0, 0, 0, 0.55);
}

.guard {
  position: absolute;
  z-index: 1;
  right: -11px;
  top: 92px;
  width: 22px;
  height: 172px;
  border-radius: 4px 13px 13px 4px;
  background: linear-gradient(90deg, #8b8579, #c9c3b7 70%, #a09a8e);
}

.hw { position: absolute; }
.hw::after { content: ""; position: absolute; inset: -10px -12px; }
.hw.flash { filter: brightness(1.7); }

.hw-crown {
  z-index: 3;
  right: -23px;
  top: 108px;
  width: 21px;
  height: 64px;
  border-radius: 7px;
  border-left: 4px solid var(--orange);
  background: repeating-linear-gradient(180deg, #e7e1d5 0 1.5px, #6e685d 1.5px 4px);
  box-shadow: inset -3px 0 4px rgba(0, 0, 0, 0.35), 2px 0 6px rgba(0, 0, 0, 0.4);
  cursor: ns-resize;
  touch-action: none;
}

.hw-side {
  z-index: 3;
  right: -17px;
  top: 198px;
  width: 9px;
  height: 52px;
  border-radius: 5px;
  background: linear-gradient(90deg, #8f897d, #d5cfc3);
  box-shadow: 1px 0 3px rgba(0, 0, 0, 0.4);
}

.hw-side:active, .hw-action:active { transform: scaleX(0.7); }

.hw-action {
  z-index: 1;
  left: -9px;
  top: 140px;
  width: 14px;
  height: 86px;
  border-radius: 6px 0 0 6px;
  background: linear-gradient(90deg, #ff8a45, #e8540a);
  box-shadow: -1px 0 3px rgba(0, 0, 0, 0.4);
}

.callout {
  position: absolute;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  line-height: 1;
}

.callout::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 16px;
  height: 1px;
  background: rgba(255, 255, 255, 0.28);
}

.callout-left { right: calc(100% + 34px); top: 177px; }
.callout-left::after { left: calc(100% + 6px); }
.callout-right { left: calc(100% + 48px); }
.callout-right::after { right: calc(100% + 6px); }
.c-crown { top: 134px; }
.c-side { top: 218px; }

@container (max-width: 560px) {
  .callout { display: none; }
}

.under { display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 330px; text-align: center; }

.pillbtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
}

.pillbtn:hover { background: var(--panel-3); }
.hint { margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.45; }

/* ---------- Watch: the screen ---------- */

.screen {
  position: relative;
  width: 272px;
  height: 334px;
  border-radius: 64px;
  background: #000;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 0 0 7px #050505;
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, system-ui, "PingFang SC", sans-serif;
  color: #fff;
  user-select: none;
  -webkit-user-select: none;
}

.screen.touch-flash::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 20;
  border-radius: inherit;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.8);
  pointer-events: none;
  animation: fadeout 0.5s forwards;
}

.statusbar {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 5;
  height: 36px;
  display: flex;
  align-items: center;
  padding: 12px 31px 0 30px;
  font-size: 15px;
  font-weight: 600;
  background: linear-gradient(#000 78%, transparent);
}

.sb-back {
  width: 20px;
  height: 22px;
  margin-left: -7px;
  display: grid;
  place-items: center;
  color: var(--accent-bright);
  flex: none;
}

.sb-back[hidden] { display: none; }
.sb-title { flex: 1; color: var(--accent-bright); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-time { font-variant-numeric: tabular-nums; flex: none; }

.view {
  position: absolute;
  inset: 36px 0 0 0;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.34s cubic-bezier(0.2, 0.85, 0.25, 1), opacity 0.22s;
}

.view.is-active { transform: none; opacity: 1; pointer-events: auto; }
.view.is-behind { transform: translateX(-28%); }

.scroll {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 2px 10px 56px;
  scrollbar-width: none;
}

.scroll::-webkit-scrollbar { display: none; }

/* Home */

#view-home { display: flex; flex-direction: column; align-items: center; }

.orbstage { position: relative; width: 100%; height: 170px; flex: none; }

.guide {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 140px;
  height: 140px;
  margin: -70px 0 0 -70px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.13);
  transition: opacity 0.3s;
}

.orb {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 84px;
  height: 84px;
  margin: -42px 0 0 -42px;
  border-radius: 50%;
}

.orb-body {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(circle at 34% 28%, #fff 0, #f3eee2 30%, #cbc3b1 66%, #8a8474 100%);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.22), inset -6px -9px 16px rgba(0, 0, 0, 0.3);
  animation: breathe 4.2s ease-in-out infinite;
}

.orb-body::after {
  content: "";
  position: absolute;
  inset: -20%;
  opacity: 0;
  background: conic-gradient(from 0deg, transparent 0 55%, rgba(255, 255, 255, 0.95) 78%, transparent 100%);
  mix-blend-mode: overlay;
}

.orb-wave {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--accent-bright);
  opacity: 0;
}

.orb.is-focus::before {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.orb[data-state="listening"] .orb-body {
  animation: pulse 0.9s ease-in-out infinite;
  box-shadow: 0 0 34px rgba(255, 83, 72, 0.55), inset -6px -9px 16px rgba(0, 0, 0, 0.3);
}

.orb[data-state="listening"] .orb-wave { animation: ripple 1.6s ease-out infinite; }
.orb[data-state="listening"] .w2 { animation-delay: 0.8s; }

.orb[data-state="thinking"] .orb-body { animation: none; transform: scale(0.94); }
.orb[data-state="thinking"] .orb-body::after { opacity: 1; animation: spin 1.1s linear infinite; }

.orb[data-state="speaking"] .orb-body {
  animation: talk 1.1s ease-in-out infinite;
  box-shadow: 0 0 44px rgba(255, 255, 255, 0.5), inset -6px -9px 16px rgba(0, 0, 0, 0.3);
}

.dot {
  position: absolute;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  transition: transform 0.2s, opacity 0.3s, left 0.3s, top 0.3s;
  animation: pop 0.45s cubic-bezier(0.3, 1.6, 0.5, 1) backwards;
}

.dot::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; }
.dot i { position: absolute; inset: 0; border-radius: 50%; }

.dot[data-status="queued"] i { border: 2px solid var(--gray); }

.dot[data-status="running"] i {
  background: conic-gradient(var(--blue) calc(var(--p, 0) * 1%), rgba(77, 163, 255, 0.3) 0);
  -webkit-mask: radial-gradient(farthest-side, transparent 40%, #000 45%);
  mask: radial-gradient(farthest-side, transparent 40%, #000 45%);
}

.dot[data-status="waiting"] i { background: var(--amber); animation: halo 1.4s ease-out infinite; }
.dot[data-status="done"] i { background: var(--green); }
.dot[data-status="failed"] i { background: var(--red); }
.dot[data-status="cancelled"] i { background: var(--gray); opacity: 0.5; }

.dot.is-focus { transform: scale(1.6); z-index: 2; }

.dot.is-focus::before {
  content: "";
  position: absolute;
  inset: -3.5px;
  border-radius: 50%;
  border: 1.2px solid #fff;
}

#view-home.convo .dot { opacity: 0.28; }
#view-home.convo .guide { opacity: 0.4; }

.caption {
  width: 100%;
  height: 58px;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
  flex: none;
}

.cap-main {
  font-size: 14px;
  line-height: 1.28;
  font-weight: 600;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.cap-sub {
  max-width: 100%;
  font-size: 12px;
  color: #9ba5a0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.caption[data-tone="hint"] .cap-main { color: rgba(255, 255, 255, 0.6); font-weight: 500; }
.caption[data-tone="said"] .cap-main { color: rgba(255, 255, 255, 0.72); font-weight: 500; }
.caption[data-tone="task"] .cap-main { -webkit-line-clamp: 1; }
.caption[data-status="running"] .cap-sub { color: var(--blue); }
.caption[data-status="waiting"] .cap-sub { color: var(--amber); }
.caption[data-status="done"] .cap-sub { color: var(--green); }
.caption[data-status="failed"] .cap-sub { color: var(--red); }

.bottombar {
  position: absolute;
  left: 17px;
  right: 17px;
  bottom: 13px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.round {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.15);
  pointer-events: auto;
}

.round:active { transform: scale(0.94); }
.round.primary { background: var(--accent); }

.badge {
  position: absolute;
  top: -3px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--blue);
  color: #000;
  font-size: 11.5px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}

.badge.amber { background: var(--amber); }
.badge[hidden] { display: none; }

/* Status glyph */

.g {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  color: #000;
}

.g-ring {
  background: conic-gradient(var(--blue) calc(var(--p, 0) * 1%), rgba(77, 163, 255, 0.28) 0);
  -webkit-mask: radial-gradient(farthest-side, transparent 54%, #000 59%);
  mask: radial-gradient(farthest-side, transparent 54%, #000 59%);
}

.g-hollow { border: 2px dashed var(--gray); }
.g-green { background: var(--green); }
.g-amber { background: var(--amber); }
.g-red { background: var(--red); }
.g-gray { background: var(--gray); }

/* Tasks */

.group {
  margin: 8px 6px 5px;
  font-size: 11.5px;
  font-weight: 700;
  color: #9ba5a0;
  letter-spacing: 0.02em;
}

.group:first-child { margin-top: 2px; }

.row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 50px;
  margin-bottom: 6px;
  padding: 8px 12px 8px 11px;
  border-radius: 17px;
  background: #1b1f1d;
  text-align: left;
}

.row:active { background: #2a302d; }
.row-text { min-width: 0; flex: 1; }
.row-title, .row-sub { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-title { font-size: 14.5px; font-weight: 600; line-height: 1.25; }
.row-sub { font-size: 12px; color: #9ba5a0; line-height: 1.3; }
.row[data-status="waiting"] .row-sub { color: var(--amber); }
.row[data-status="failed"] .row-sub { color: var(--red); }

.empty-tasks { margin: 64px 16px 0; text-align: center; font-size: 14px; color: #9ba5a0; line-height: 1.35; }

/* One task */

.d-head { display: flex; align-items: center; justify-content: space-between; margin: 2px 5px 7px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px 3px 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  font-size: 12px;
  font-weight: 700;
}

.pill .g { width: 16px; height: 16px; font-size: 10px; }
.pill .g svg { width: 10px; height: 10px; }
.d-time { font-size: 12px; color: #9ba5a0; font-variant-numeric: tabular-nums; }
.d-title { margin: 0 5px 3px; font-size: 17px; line-height: 1.2; font-weight: 700; }
.d-said { margin: 0 5px 9px; font-size: 12px; line-height: 1.3; color: #9ba5a0; }

.card { margin-bottom: 8px; padding: 10px 12px 11px; border-radius: 17px; background: #1b1f1d; }
.card-label { display: block; margin-bottom: 2px; font-size: 11.5px; font-weight: 700; }
.card p { margin: 0; font-size: 14px; line-height: 1.3; }
.card.ask { background: rgba(255, 176, 32, 0.15); }
.card.ask .card-label { color: var(--amber); }
.card.result .card-label { color: var(--green); }
.card.error .card-label { color: var(--red); }

.btn {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  font-size: 14.5px;
  font-weight: 600;
  text-align: center;
}

.btn:active { transform: scale(0.98); }
.btn.primary { background: #fff; color: #000; }
.card.ask .btn.primary { background: var(--amber); }
.btn.danger { background: rgba(255, 90, 82, 0.16); color: var(--accent-bright); }
.dt-flash { animation: dtflash 0.55s; }

.steps { list-style: none; margin: 6px 0 8px; padding: 0 5px; }

.step {
  position: relative;
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 9px;
  padding: 5px 0;
  font-size: 13.5px;
  line-height: 1.3;
}

.step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 7.5px;
  top: 24px;
  bottom: -4px;
  width: 1px;
  background: #343b37;
}

.sg {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800;
  color: #000;
}

.sg svg { width: 10px; height: 10px; }
.step.is-done .sg { background: var(--green); }
.step.is-failed .sg { background: var(--red); }
.step.is-todo { color: #7d8782; }
.step.is-todo .sg { border: 2px solid #4a524e; }
.step.is-current .sg { border: 2px solid rgba(77, 163, 255, 0.3); border-top-color: var(--blue); animation: spin 0.9s linear infinite; }

.bar { display: block; height: 4px; margin-top: 6px; border-radius: 2px; background: rgba(255, 255, 255, 0.15); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: 2px; background: var(--blue); transition: width 0.12s linear; }

/* Scroll and volume indicator beside the Digital Crown */

.edge {
  position: absolute;
  z-index: 7;
  right: 5px;
  top: 80px;
  width: 5px;
  height: 46px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.22);
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}

.edge.show { opacity: 1; }
.edge i { position: absolute; left: 0; right: 0; border-radius: 3px; background: #fff; }
.edge.vol i { background: var(--green); }

/* Notification */

.banner {
  position: absolute;
  z-index: 8;
  left: 9px;
  right: 9px;
  top: 9px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px 11px 12px;
  border-radius: 28px;
  background: rgba(38, 45, 41, 0.97);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.7);
  text-align: left;
  transform: translateY(-150%);
  transition: transform 0.42s cubic-bezier(0.2, 0.9, 0.3, 1.08);
}

.banner.show { transform: none; }
.b-text { min-width: 0; flex: 1; }
.b-kind, .b-title { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b-kind { font-size: 11.5px; font-weight: 700; color: #9ba5a0; }
.b-title { font-size: 14px; font-weight: 600; line-height: 1.25; }
.banner[data-status="waiting"] .b-kind { color: var(--amber); }
.banner[data-status="done"] .b-kind { color: var(--green); }
.banner[data-status="failed"] .b-kind { color: var(--red); }

/* The system takes the press */

.sys {
  position: absolute;
  inset: 0;
  z-index: 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 28px;
  text-align: center;
  background: rgba(0, 0, 0, 0.9);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.sys.show { opacity: 1; pointer-events: auto; }
.sys-art { display: grid; grid-template-columns: repeat(3, 24px); gap: 7px; margin-bottom: 8px; }
.sys-art i { height: 24px; border-radius: 50%; background: rgba(255, 255, 255, 0.24); }
.sys-art.cc i { border-radius: 9px; }
.sys-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; color: #9ba5a0; }
.sys-name { font-size: 19px; font-weight: 700; line-height: 1.2; }
.sys-note { font-size: 12.5px; line-height: 1.32; color: #9ba5a0; }

/* ---------- Motion ---------- */

@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.045); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes talk { 0%, 100% { transform: scale(1); } 18% { transform: scale(1.09); } 36% { transform: scale(0.98); } 58% { transform: scale(1.12); } 80% { transform: scale(1.02); } }
@keyframes ripple { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.75); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { from { transform: scale(0); } }
@keyframes halo { 0% { box-shadow: 0 0 0 0 rgba(255, 176, 32, 0.75); } 100% { box-shadow: 0 0 0 9px rgba(255, 176, 32, 0); } }
@keyframes fadeout { to { opacity: 0; } }
@keyframes dtflash { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.95); } 100% { box-shadow: 0 0 0 12px rgba(255, 255, 255, 0); } }
@keyframes haptic { 0%, 100% { transform: none; } 20% { transform: translateX(-1.5px); } 40% { transform: translateX(1.5px); } 60% { transform: translateX(-1px); } 80% { transform: translateX(1px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Narrow screens ---------- */

@media (max-width: 1000px) {
  .layout { grid-template-columns: 1fr; padding: 8px 16px 36px; gap: 18px; }
  .stage { order: -1; position: static; }
  .watch { margin: 70px 0 74px; }
  .band-top { top: -70px; height: 100px; }
  .band-bottom { bottom: -70px; height: 100px; }
  .top { padding: 16px 16px 0; }
}

@media (min-width: 620px) and (max-width: 1000px) {
  .chips { grid-template-columns: 1fr 1fr; }
}
