#rxobs {
  font-family: "Pretendard", "Noto Sans KR", system-ui, sans-serif;
  position: fixed;
  z-index: 10045;
  color: #f7f1e6;
}
#rxobs .rxo-fab {
  position: fixed;
  right: 78px;
  bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  min-width: 56px;
  height: 56px;
  padding: 0 12px;
  border: 0;
  border-radius: 28px;
  background: #2a323f;
  color: #f7f1e6;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  cursor: pointer;
}
#rxobs.is-live .rxo-fab {
  background: #c81e1e;
  animation: rxopulse 1.6s ease-in-out infinite;
}
@keyframes rxopulse {
  50% { filter: brightness(1.15); }
}
#rxobs.open .rxo-fab { display: none; }
#rxobs .rxo-panel {
  display: none;
  position: fixed;
  right: 10px;
  bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  width: min(100vw - 20px, 380px);
  background: #141821;
  border: 1px solid rgba(247, 241, 230, 0.12);
  border-radius: 16px;
  padding: 14px;
  gap: 10px;
}
#rxobs.open .rxo-panel {
  display: grid;
  max-height: min(78vh, 720px);
  overflow: auto;
}
#rxobs .rxo-labs {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #e6b35a;
  margin-top: 4px;
}
#rxobs .rxo-segs,
#rxobs .rxo-chats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
#rxobs .rxo-segs button,
#rxobs .rxo-chats button {
  border: 0;
  border-radius: 8px;
  min-height: 36px;
  padding: 0 10px;
  background: #2a323f;
  color: #f7f1e6;
  font-weight: 700;
  cursor: pointer;
}
#rxobs .rxo-chats button {
  width: 100%;
  text-align: left;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#rxobs .rxo-in {
  width: 100%;
  box-sizing: border-box;
  min-height: 36px;
  border: 0;
  border-radius: 8px;
  padding: 0 10px;
  background: #12161f;
  color: #f7f1e6;
}
#rxobs .on { outline: 2px solid #e6b35a; }
#rxobs .rxo-panel strong { font-size: 15px; }
#rxobs .rxo-panel p { margin: 0; font-size: 13px; color: #b7a894; line-height: 1.45; }
#rxobs .rxo-url {
  font-size: 11px;
  word-break: break-all;
  background: #12161f;
  border-radius: 10px;
  padding: 8px 10px;
  color: #e6b35a;
}
#rxobs .rxo-actions { display: flex; gap: 8px; flex-wrap: wrap; }
#rxobs .rxo-actions button {
  flex: 1;
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  font-weight: 800;
  cursor: pointer;
}
#rxobs .rxo-on { background: #c81e1e; color: #fff; }
#rxobs .rxo-off { background: #2a323f; color: #f7f1e6; }
#rxobs .rxo-copy { background: #e6b35a; color: #24180c; }
#rxobs .rxo-x {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: 0;
  color: #e6b35a;
  font-weight: 700;
  cursor: pointer;
}
#rxobs .rxo-keys {
  font-size: 11px !important;
  color: #8f8373 !important;
}
#rxobs .rxo-zoomrow {
  display: flex;
  gap: 8px;
}
#rxobs .rxo-zoomrow button {
  flex: 1;
  min-height: 40px;
  border: 0;
  border-radius: 10px;
  background: #2a323f;
  color: #f7f1e6;
  font-weight: 800;
  cursor: pointer;
}
#rxobs .rxo-zoomhud {
  position: fixed;
  right: 78px;
  bottom: calc(136px + env(safe-area-inset-bottom, 0px));
  padding: 6px 10px;
  border-radius: 8px;
  background: #e6b35a;
  color: #24180c;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  pointer-events: none;
}
@media (min-width: 901px) {
  #rxobs .rxo-fab { bottom: 24px; right: 86px; }
  #rxobs .rxo-panel { bottom: 24px; right: 86px; }
  #rxobs .rxo-zoomhud { bottom: 88px; right: 86px; }
}
