/* Assist sitting popup — screenshot analog. Not Mesh. Not Parchment. */
.hub-assist-sitting {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 10, 18, 0.55);
}
.hub-assist-sitting-card {
  width: min(420px, 92vw);
  background: #14141c;
  border-radius: 16px;
  padding: 16px 16px 12px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}
.hub-assist-sitting-kicker {
  text-align: center;
  font: 600 13px Geist, system-ui, sans-serif;
  color: #e2e8f0;
  margin-bottom: 12px;
}
.hub-assist-sitting-phone {
  background: #1a1a24;
  border-radius: 12px;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  flex-direction: column;
}
.hub-assist-sitting-bar {
  background: #0b1018;
  color: #00e5ff;
  font: 700 14px Geist, system-ui, sans-serif;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(0, 229, 255, 0.35);
}
.hub-assist-sitting-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #0b1018;
  border: 2px solid #00e5ff;
}
.hub-assist-sitting-replica {
  flex: 1;
  background: #e8edf2;
  color: #0f172a;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  min-height: 280px;
}
.hub-assist-sitting-codewrap {
  padding: 8px 0 4px;
}
.hub-assist-sitting-ph {
  margin: 8px 16px 0;
  font-size: 13px;
  color: #64748b;
  text-align: center;
}
.hub-assist-sitting-code {
  margin: 8px 16px;
  font: 800 28px/1.1 ui-monospace, monospace;
  letter-spacing: 0.16em;
  text-align: center;
  color: #1e1b4b;
}
.hub-assist-sitting-copy {
  display: block;
  margin: 8px auto 8px;
  padding: 8px 14px;
  border: 1px solid rgba(0, 229, 255, 0.5);
  border-radius: 8px;
  background: transparent;
  color: #0b1018;
  font: 600 13px Geist, system-ui, sans-serif;
  cursor: pointer;
}
.hub-assist-sitting.is-docked .hub-assist-sitting-replica {
  display: grid;
  grid-template-columns: 1fr min(300px, 36%);
  grid-template-rows: auto 1fr auto;
  min-height: 0;
}
.hub-assist-sitting.is-docked .hub-assist-sitting-codewrap {
  grid-column: 1 / -1;
}
.hub-assist-sitting.is-docked .hub-assist-sitting-view {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  min-height: 280px;
}
.hub-assist-sitting.is-docked .hub-assist-chat {
  grid-column: 2;
  grid-row: 2 / span 2;
}
.hub-assist-sitting.is-docked .hub-assist-sitting-status {
  grid-column: 1;
}
.hub-assist-sitting-view {
  position: relative;
  flex: 1;
  min-height: 160px;
  margin: 4px 12px 8px;
  background: #0b1018;
  border-radius: 8px;
  overflow: hidden;
  cursor: crosshair;
}
.hub-assist-chat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 180px;
  padding: 10px 10px 12px;
  background: #101018;
  border-top: 1px solid rgba(102, 216, 238, 0.2);
  color: #e2e8f0;
}
.hub-assist-sitting.is-docked .hub-assist-chat {
  border-top: 0;
  border-left: 1px solid rgba(102, 216, 238, 0.2);
  min-height: 0;
}
.hub-assist-chat-kicker {
  margin: 0;
  font: 600 10px Geist, system-ui, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #66d8ee;
}
.hub-assist-chat-log {
  flex: 1;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 80px;
}
.hub-assist-chat-msg {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font: 13px Geist, system-ui, sans-serif;
}
.hub-assist-chat-msg small {
  color: #66d8ee;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hub-assist-chat-msg.is-me small {
  color: #94a3b8;
}
.hub-assist-chat-msg.is-secret .hub-assist-chat-text {
  filter: blur(5px);
  user-select: none;
}
.hub-assist-chat-msg.is-secret:hover .hub-assist-chat-text {
  filter: none;
  user-select: text;
}
.hub-assist-chat-msg button {
  align-self: flex-start;
  margin-top: 2px;
  padding: 2px 8px;
  border: 0;
  background: #2a2a36;
  color: #e2e8f0;
  font: 600 10px Geist, system-ui, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.hub-assist-chat-input {
  width: 100%;
  resize: vertical;
  min-height: 52px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #fff;
  font: 13px Geist, system-ui, sans-serif;
}
.hub-assist-chat-input:focus {
  outline: 0;
  border-bottom-color: #66d8ee;
}
.hub-assist-chat-sendrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: #94a3b8;
}
.hub-assist-chat-sendrow button,
.hub-assist-chat-files button {
  padding: 6px 10px;
  border: 0;
  background: #66d8ee;
  color: #0c0c0c;
  font: 600 11px Geist, system-ui, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.hub-assist-chat-files {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hub-assist-chat-inbox {
  font-size: 12px;
  color: #66d8ee;
}
.hub-assist-chat-inbox a {
  color: #fff;
}
.hub-assist-sitting-page {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  display: block;
  opacity: 0;
  z-index: 1;
}
.hub-assist-sitting.has-page .hub-assist-sitting-page {
  opacity: 1;
}
.hub-assist-sitting.has-page .hub-assist-sitting-codewrap {
  display: none;
}
.hub-assist-sitting-waitshare {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  text-align: center;
  color: #66d8ee;
  font: 500 14px Geist, system-ui, sans-serif;
  pointer-events: none;
  background: radial-gradient(circle at 50% 38%, rgba(102, 216, 238, 0.14), transparent 62%);
}
.hub-assist-sitting-waitshare p {
  margin: 0;
}
.hub-assist-sitting-waitshare b {
  color: #fff;
}
.hub-assist-sitting.is-live:not(.has-page) .hub-assist-sitting-waitshare {
  display: flex;
}
.hub-assist-sitting.has-page .hub-assist-sitting-waitshare {
  display: none;
}
.hub-assist-sitting.is-live .hub-assist-sitting-codewrap {
  display: none;
}
.hub-assist-sitting.is-live .hub-assist-sitting-card {
  width: min(520px, 94vw);
}
.hub-assist-sitting.is-live .hub-assist-sitting-replica {
  background: #0c0c0c;
  color: #e2e8f0;
}
.hub-assist-sitting.is-live .hub-assist-sitting-view {
  margin: 0;
  min-height: 320px;
  border-radius: 0;
  background: #0c0c0c;
}
.hub-assist-sitting.is-live .hub-assist-sitting-status {
  color: #66d8ee;
  margin: 10px 12px;
}
.hub-assist-fly-ball,
.hub-assist-sitting-cursor {
  pointer-events: none;
  opacity: 0;
  will-change: transform;
  border-radius: 50%;
}
.hub-assist-sitting.is-docked {
  position: relative;
  inset: auto;
  background: transparent;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  height: 100%;
  min-height: 420px;
  z-index: 1;
}
.hub-assist-sitting.is-docked .hub-assist-sitting-card {
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  min-height: 420px;
}
.hub-assist-sitting.is-docked .hub-assist-sitting-phone {
  flex: 1;
}
.hub-assist-sitting.is-popout {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: #0b1018;
}
.hub-assist-fly-ball {
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  z-index: 1000;
  mix-blend-mode: normal;
  background: radial-gradient(circle, #fff 0 14%, #66d8ee 22% 42%, rgba(102, 216, 238, 0) 70%);
  box-shadow: 0 0 28px 10px rgba(102, 216, 238, 0.55);
}
.hub-assist-sitting-cursor {
  position: absolute;
  left: 0;
  top: 0;
  width: 14px;
  height: 14px;
  background: #0f172a;
  border: 2px solid #fff;
}
.hub-assist-fly-ball.is-on {
  opacity: 1;
}
.hub-assist-sitting-cursor.is-on {
  opacity: 0.9;
}

.hub-assist-sitting-status {
  margin: 0 16px 12px;
  font-size: 12px;
  color: #475569;
  text-align: center;
}
.hub-assist-sitting-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: #94a3b8;
  font: 12px ui-monospace, monospace;
}
.hub-assist-sitting-strip button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: #2a2a36;
  color: #e2e8f0;
  cursor: default;
}
.hub-assist-sitting-strip button.is-hang {
  background: #dc2626;
  cursor: pointer;
}
.hub-assist-sitting-strip button.is-ptr {
  cursor: pointer;
}
.hub-assist-sitting-strip button.is-on {
  background: #0e7490;
  color: #00e5ff;
}
.hub-assist-sitting-strip button.is-rec {
  cursor: pointer;
}
.hub-assist-sitting-strip button.is-rec.is-on {
  background: #dc2626;
  color: #fff;
}
.hub-assist-tape-intake {
  margin: 8px 0 0;
  padding: 8px 10px;
  border: 1px solid #334155;
  border-radius: 8px;
  background: #111827;
  color: #e2e8f0;
  font: 12px Geist, system-ui, sans-serif;
}
.hub-assist-tape-intake select {
  max-width: 280px;
}
.hub-assist-sitting-consent {
  margin: 8px 4px 0;
  font: 500 11px Geist, system-ui, sans-serif;
  color: #64748b;
  text-align: center;
}
.hub-assist-sitting-time { margin-right: auto; }
