/* ============================================================
   OW · 设备监控矩阵控制台
   独立主题：赛博 / 矩阵 HUD 风格 + 丰富动效
   ============================================================ */

:root {
  --ow-bg: #04070a;
  --ow-bg2: #060d10;
  --ow-panel: rgba(9, 20, 16, 0.62);
  --ow-panel-solid: #0a1512;
  --ow-line: rgba(34, 227, 122, 0.18);
  --ow-line-strong: rgba(34, 227, 122, 0.45);
  --ow-green: #22e37a;
  --ow-green-bright: #4dffa0;
  --ow-cyan: #00e0ff;
  --ow-danger: #ff4d6d;
  --ow-warn: #ffcc44;
  --ow-purple: #b98cff;
  --ow-text: #d6f5e6;
  --ow-text-dim: #6f9c88;
  --ow-text-faint: #47695b;
  --ow-glow: 0 0 18px rgba(34, 227, 122, 0.35);
  --ow-font: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  --ow-mono: 'JetBrains Mono', 'Cascadia Code', 'Consolas', ui-monospace, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: #090a0f;
  color: var(--ow-text);
  font-family: var(--ow-font);
  -webkit-font-smoothing: antialiased;
}

body.ow {
  position: relative;
  overflow-x: hidden;
}

/* ============ 登录 ============ */
.ow-login {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.ow-login__card {
  position: relative;
  width: min(400px, 92vw);
  padding: 40px 34px 34px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(11, 24, 18, 0.96), rgba(6, 13, 10, 0.98));
  border: 1px solid var(--ow-line-strong);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  animation: ow-card-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.ow-login__inner { position: relative; z-index: 1; }

@keyframes ow-spin { to { transform: rotate(360deg); } }

.ow-login__logo {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 28px;
  color: #04140c;
  background: linear-gradient(135deg, var(--ow-green-bright), #00b894);
  box-shadow: 0 0 14px rgba(34, 227, 122, 0.25);
}

.ow-login__title {
  margin: 0 0 4px;
  text-align: center;
  font-size: 22px;
  letter-spacing: 2px;
  color: var(--ow-green-bright);
}
.ow-login__sub {
  margin: 0 0 26px;
  text-align: center;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ow-text-dim);
}

.ow-login__checking {
  margin: 0;
  text-align: center;
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--ow-text-dim);
}
.ow-login__checking::after {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 8px;
  border: 2px solid rgba(34, 227, 122, 0.25);
  border-top-color: var(--ow-green);
  border-radius: 50%;
  vertical-align: -2px;
  animation: ow-spin 0.8s linear infinite;
}
.ow-login.is-checking .ow-login__form { display: none !important; }
.ow-login:not(.is-checking) #loginChecking { display: none; }

.ow-field {
  position: relative;
  margin-bottom: 18px;
}
.ow-field input {
  width: 100%;
  padding: 14px 14px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--ow-line);
  border-radius: 10px;
  color: var(--ow-text);
  font-family: var(--ow-mono);
  font-size: 15px;
  letter-spacing: 2px;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.ow-field input:focus {
  border-color: var(--ow-green);
  box-shadow: 0 0 0 3px rgba(34, 227, 122, 0.15), var(--ow-glow);
}
.ow-field input::placeholder { color: var(--ow-text-faint); letter-spacing: 1px; }

.ow-login__error {
  display: none;
  margin: -6px 0 14px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  color: #ffd7de;
  background: rgba(255, 77, 109, 0.12);
  border: 1px solid rgba(255, 77, 109, 0.4);
  animation: ow-shake 0.4s;
}
@keyframes ow-shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

/* ============ 通用按钮 ============ */
.ow-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 16px;
  border: 1px solid var(--ow-line);
  border-radius: 9px;
  background: rgba(9, 22, 17, 0.7);
  color: var(--ow-text);
  font-family: var(--ow-font);
  font-size: 13px;
  letter-spacing: 0.5px;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.15s, border-color 0.25s, color 0.25s, box-shadow 0.25s;
  white-space: nowrap;
}
.ow-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s;
}
.ow-btn:hover::before { left: 130%; }
.ow-btn:hover {
  border-color: var(--ow-line-strong);
  box-shadow: var(--ow-glow);
  transform: translateY(-2px);
}
.ow-btn:active { transform: translateY(0) scale(0.97); }

.ow-btn--primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--ow-green), #00b894);
  color: #04140c;
  font-weight: 700;
}
.ow-btn--primary:hover { box-shadow: 0 0 24px rgba(34, 227, 122, 0.55); }

.ow-btn--danger {
  border-color: rgba(255, 77, 109, 0.4);
  color: #ffb3c1;
}
.ow-btn--danger:hover { box-shadow: 0 0 18px rgba(255, 77, 109, 0.4); border-color: var(--ow-danger); }

.ow-btn--block { width: 100%; padding: 14px; font-size: 15px; letter-spacing: 3px; }
.ow-btn--sm { padding: 6px 11px; font-size: 12px; }
.ow-btn--icon { padding: 8px 10px; }

/* ============ 控制台外壳 ============ */
.ow-console {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s, transform 0.5s;
}
.ow-console.is-visible { opacity: 1; transform: none; }
[hidden] { display: none !important; }

/* 顶栏 */
.ow-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 22px;
  background: linear-gradient(180deg, rgba(5, 12, 9, 0.92), rgba(5, 12, 9, 0.6));
  border-bottom: 1px solid var(--ow-line);
  backdrop-filter: blur(10px);
}
.ow-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.ow-brand__logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: #04140c;
  background: linear-gradient(135deg, var(--ow-green-bright), #00b894);
  box-shadow: var(--ow-glow);
}
.ow-brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.ow-brand__name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--ow-green-bright);
}
.ow-brand__sub {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ow-text-dim);
}
.ow-clock {
  font-family: var(--ow-mono);
  font-size: 13px;
  color: var(--ow-cyan);
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(0, 224, 255, 0.4);
}
.ow-topbar__spacer { flex: 1; }
.ow-topbar__actions { display: flex; align-items: center; gap: 10px; }

/* 搜索框 */
.ow-search {
  position: relative;
  display: flex;
  align-items: center;
}
.ow-search input {
  width: 230px;
  padding: 8px 12px 8px 32px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--ow-line);
  border-radius: 9px;
  color: var(--ow-text);
  font-size: 13px;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s, width 0.3s;
}
.ow-search input:focus {
  border-color: var(--ow-green);
  box-shadow: 0 0 0 3px rgba(34, 227, 122, 0.12);
  width: 260px;
}
.ow-search__icon {
  position: absolute;
  left: 11px;
  color: var(--ow-text-dim);
  font-size: 13px;
  pointer-events: none;
}

/* 自动刷新开关 */
.ow-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ow-text-dim);
  cursor: pointer;
  user-select: none;
}
.ow-toggle input { display: none; }
.ow-toggle__track {
  position: relative;
  width: 42px;
  height: 22px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--ow-line);
  transition: background 0.3s, border-color 0.3s;
}
.ow-toggle__track::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ow-text-dim);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s;
}
.ow-toggle input:checked + .ow-toggle__track {
  background: rgba(34, 227, 122, 0.2);
  border-color: var(--ow-green);
}
.ow-toggle input:checked + .ow-toggle__track::after {
  transform: translateX(20px);
  background: var(--ow-green-bright);
  box-shadow: 0 0 10px var(--ow-green);
}

/* 刷新按钮旋转 */
.ow-btn.is-spinning .ow-refresh-icon { animation: ow-spin 0.7s ease; }

/* ============ 统计条 ============ */
.ow-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 20px 22px 8px;
}
.ow-stat {
  position: relative;
  padding: 16px 18px;
  border-radius: 13px;
  background: var(--ow-panel);
  border: 1px solid var(--ow-line);
  overflow: hidden;
  animation: ow-card-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.ow-stat:nth-child(1) { animation-delay: 0.02s; }
.ow-stat:nth-child(2) { animation-delay: 0.08s; }
.ow-stat:nth-child(3) { animation-delay: 0.14s; }
.ow-stat:nth-child(4) { animation-delay: 0.2s; }
.ow-stat::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--stat-color, var(--ow-green));
}
.ow-stat__label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ow-text-dim);
}
.ow-stat__value {
  margin-top: 6px;
  font-family: var(--ow-mono);
  font-size: 30px;
  font-weight: 700;
  color: var(--stat-color, var(--ow-green-bright));
  line-height: 1;
}

/* ============ 设备网格 ============ */
.ow-main { flex: 1; padding: 14px 22px 40px; }
.ow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.ow-node {
  position: relative;
  padding: 18px;
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(11, 24, 18, 0.85), rgba(6, 14, 11, 0.9));
  border: 1px solid var(--ow-line);
  overflow: hidden;
  animation: ow-card-in 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
  transition: transform 0.25s, border-color 0.3s, box-shadow 0.3s;
  --accent: var(--ow-green);
}
.ow-node:hover {
  transform: translateY(-3px);
  border-color: var(--ow-line-strong);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}
/* 地域位置 */
.ow-node__loc {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: -4px 0 12px;
  font-size: 12px;
  color: var(--ow-text-dim);
  flex-wrap: wrap;
}
.ow-node__loc-icon { color: var(--ow-cyan); font-size: 13px; flex-shrink: 0; }
.ow-node__loc-main { color: var(--ow-text); letter-spacing: 0.3px; }
.ow-node__loc-isp {
  font-size: 10.5px;
  color: var(--ow-text-faint);
  padding: 1px 7px;
  border-radius: 5px;
  border: 1px solid var(--ow-line);
  background: rgba(255, 255, 255, 0.04);
}
.ow-node__loc-badge {
  font-size: 9.5px;
  letter-spacing: 0.5px;
  color: var(--ow-text-faint);
  padding: 1px 6px;
  border-radius: 5px;
  border: 1px solid var(--ow-line);
}
.ow-node__loc-badge--gps {
  color: #04140c;
  background: var(--ow-green);
  border-color: var(--ow-green);
  font-weight: 700;
}
.ow-node__loc--unknown { color: var(--ow-text-faint); }
/* HUD 角标 */
.ow-node__corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid var(--accent);
  opacity: 0.5;
  transition: opacity 0.3s, width 0.3s, height 0.3s;
}
.ow-node:hover .ow-node__corner { opacity: 1; width: 18px; height: 18px; }
.ow-node__corner--tl { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.ow-node__corner--tr { top: 8px; right: 8px; border-left: 0; border-bottom: 0; }
.ow-node__corner--bl { bottom: 8px; left: 8px; border-right: 0; border-top: 0; }
.ow-node__corner--br { bottom: 8px; right: 8px; border-left: 0; border-top: 0; }

.ow-node--offline { opacity: 0.62; --accent: var(--ow-text-faint); }
.ow-node--offline:hover { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); }

/* 头部：机型 + 在线状态 */
.ow-node__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.ow-node__brand {
  flex-shrink: 0;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #04140c;
  letter-spacing: 0.5px;
}
.ow-node__model { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.ow-node__model strong { font-size: 14px; color: var(--ow-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ow-node__model code { font-family: var(--ow-mono); font-size: 10.5px; color: var(--ow-text-faint); }
.ow-node__live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--ow-text-dim);
  flex-shrink: 0;
}
.ow-led {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ow-text-faint);
  flex-shrink: 0;
}
.ow-led--on {
  background: var(--ow-green);
  box-shadow: 0 0 7px var(--ow-green);
}

/* 直播间大号 */
.ow-node__room {
  position: relative;
  padding: 14px;
  border-radius: 11px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--ow-line);
  margin-bottom: 14px;
  text-align: center;
  overflow: hidden;
}
.ow-node__room-label {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ow-text-dim);
}
.ow-node__room-id {
  margin: 5px 0 3px;
  font-family: var(--ow-mono);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--ow-green-bright);
  word-break: break-all;
}
.ow-node__room-id.is-empty { font-size: 15px; color: var(--ow-text-faint); letter-spacing: 1px; }
a.ow-node__room-id {
  display: inline-block;
  text-decoration: none;
  border-bottom: 1px solid rgba(74, 222, 128, 0.35);
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}
a.ow-node__room-id:hover {
  color: #86efac;
  border-bottom-color: #86efac;
}
.ow-node__room-title {
  font-size: 12px;
  color: var(--ow-text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ow-node__room-title a {
  color: inherit;
  text-decoration: none;
}
.ow-node__room-title a:hover { color: var(--ow-green-bright); }
.ow-room-preview { margin-top: -4px; }
.ow-room-preview a { color: var(--ow-green-bright); }

/* 状态药丸 */
.ow-node__pills { display: flex; gap: 8px; margin-bottom: 12px; }
.ow-pill {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 11.5px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--ow-line);
  color: var(--ow-text-dim);
}
.ow-pill--on { color: var(--ow-cyan); border-color: rgba(0, 224, 255, 0.4); background: rgba(0, 224, 255, 0.08); }
.ow-pill--ai { color: var(--ow-green-bright); border-color: var(--ow-line-strong); background: rgba(34, 227, 122, 0.1); }
.ow-pill__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* 监控行 */
.ow-node__monitor {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  margin-bottom: 12px;
  border-radius: 8px;
  font-size: 11.5px;
  color: var(--ow-text-dim);
  background: rgba(0, 0, 0, 0.2);
  border: 1px dashed var(--ow-line);
}
.ow-node__monitor--on { color: var(--ow-warn); border-color: rgba(255, 204, 68, 0.35); border-style: solid; }

/* 云端开播探测进度 */
.ow-probe {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 10px;
  margin-bottom: 12px;
  border-radius: 8px;
  font-size: 11.5px;
  color: var(--ow-text-dim);
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--ow-line);
}
.ow-probe--live {
  color: var(--ow-green-bright);
  border-color: rgba(34, 227, 122, 0.35);
  background: rgba(34, 227, 122, 0.08);
}
.ow-probe--idle {
  color: var(--ow-text-dim);
  border-color: rgba(255, 255, 255, 0.12);
}
.ow-probe--wait {
  color: var(--ow-warn);
  border-color: rgba(255, 204, 68, 0.28);
}
.ow-probe__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}
.ow-probe__k {
  opacity: 0.75;
  flex-shrink: 0;
}
.ow-probe__v,
.ow-probe__next,
.ow-probe__status {
  font-family: var(--ow-mono);
  text-align: right;
}
.ow-probe__action {
  margin-top: 2px;
  padding-top: 4px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  opacity: 0.9;
}

/* 规格 chips */
.ow-node__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.ow-chip {
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 10.5px;
  font-family: var(--ow-mono);
  color: var(--ow-text-dim);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--ow-line);
}
.ow-chip--tts { color: var(--ow-purple); border-color: rgba(185, 140, 255, 0.35); background: rgba(185, 140, 255, 0.08); }
.ow-chip--dh { color: #7ee0c8; border-color: rgba(126, 224, 200, 0.35); background: rgba(126, 224, 200, 0.08); }

/* 底部 meta */
.ow-node__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 11px;
  color: var(--ow-text-dim);
}
.ow-node__fp { font-family: var(--ow-mono); font-size: 10px; color: var(--ow-text-faint); }
.ow-node__batt { display: inline-flex; align-items: center; gap: 4px; font-family: var(--ow-mono); }
.ow-node__batt-shell {
  position: relative;
  width: 26px;
  height: 12px;
  border: 1px solid var(--ow-text-dim);
  border-radius: 3px;
  padding: 1px;
}
.ow-node__batt-fill { display: block; height: 100%; border-radius: 1px; background: var(--ow-green); transition: width 0.5s; }
.ow-node__batt-fill--mid { background: var(--ow-warn); }
.ow-node__batt-fill--low { background: var(--ow-danger); }

/* 操作按钮组 */
.ow-node__actions { display: flex; flex-direction: column; gap: 8px; }
.ow-node__actions-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ow-node__actions .ow-btn { width: 100%; }

/* ============ 弹窗 ============ */
.ow-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(2, 6, 4, 0.7);
  backdrop-filter: blur(6px);
  animation: ow-fade 0.25s ease;
}
.ow-modal.is-open { display: flex; }
@keyframes ow-fade { from { opacity: 0; } to { opacity: 1; } }

.ow-modal__dialog {
  width: min(440px, 94vw);
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(11, 24, 18, 0.98), rgba(6, 14, 11, 0.99));
  border: 1px solid var(--ow-line-strong);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6), 0 0 30px rgba(34, 227, 122, 0.12);
  animation: ow-modal-in 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes ow-modal-in {
  from { opacity: 0; transform: translateY(24px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
.ow-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--ow-line);
}
.ow-modal__head h3 {
  margin: 0;
  font-size: 15px;
  letter-spacing: 1px;
  color: var(--ow-green-bright);
}
.ow-modal__close {
  width: 30px;
  height: 30px;
  border: 1px solid var(--ow-line);
  border-radius: 8px;
  background: transparent;
  color: var(--ow-text-dim);
  font-size: 18px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
}
.ow-modal__close:hover { color: var(--ow-danger); border-color: var(--ow-danger); transform: rotate(90deg); }
.ow-modal__body { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.ow-modal__foot { display: flex; justify-content: flex-end; gap: 10px; padding-top: 6px; }

.ow-label {
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--ow-text-dim);
  margin-bottom: -4px;
}
.ow-hint { font-size: 11.5px; color: var(--ow-text-faint); line-height: 1.5; margin: 0; }
.ow-input, .ow-select {
  width: 100%;
  padding: 11px 12px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--ow-line);
  border-radius: 9px;
  color: var(--ow-text);
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.ow-input:focus, .ow-select:focus { border-color: var(--ow-green); box-shadow: 0 0 0 3px rgba(34, 227, 122, 0.12); }
.ow-select { cursor: pointer; }
.ow-select optgroup { background: var(--ow-panel-solid); color: var(--ow-text-dim); }
.ow-select option { background: var(--ow-panel-solid); color: var(--ow-text); }
.ow-input[type="file"] { padding: 8px; font-size: 12px; }

.ow-tts-prosody {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 560px) {
  .ow-tts-prosody { grid-template-columns: 1fr; }
}

.ow-modal__dialog--wide {
  width: min(860px, 96vw);
  max-height: 88vh;
}
.ow-modal__dialog--gpu {
  width: min(1360px, 98vw);
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.ow-modal__dialog--gpu .ow-modal__head {
  flex-shrink: 0;
}
.ow-modal__dialog--gpu .ow-modal__body {
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.ow-modal__dialog--gpu .ow-gpu-grid {
  flex: none;
  max-height: none;
  min-height: 0;
  overflow: visible;
}
.ow-logs-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.ow-logs-list {
  max-height: min(520px, 58vh);
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 4px 2px 8px;
}
.ow-log-item {
  border: 1px solid var(--ow-line);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.28);
  padding: 10px 12px;
}
.ow-log-item__head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
  font-size: 11.5px;
  color: var(--ow-text-dim);
}
.ow-log-item__level {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ow-log-item__level--fatal,
.ow-log-item__level--error { color: #ff6b7a; }
.ow-log-item__level--warn { color: #ffcc66; }
.ow-log-item__level--info { color: var(--ow-cyan, #66e0ff); }
.ow-log-item__msg {
  font-size: 12.5px;
  color: var(--ow-text);
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}
.ow-log-item__meta {
  margin-top: 6px;
  font-size: 11px;
  color: var(--ow-text-faint);
  white-space: pre-wrap;
  word-break: break-word;
}

.ow-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ow-text);
  cursor: pointer;
}
.ow-check input { display: none; }
.ow-check__box {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1px solid var(--ow-line-strong);
  background: rgba(0, 0, 0, 0.4);
  display: grid;
  place-items: center;
  transition: background 0.2s, border-color 0.2s;
}
.ow-check__box::after {
  content: '✓';
  font-size: 13px;
  color: #04140c;
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.2s, transform 0.2s;
}
.ow-check input:checked + .ow-check__box { background: var(--ow-green); border-color: var(--ow-green); }
.ow-check input:checked + .ow-check__box::after { opacity: 1; transform: scale(1); }

/* 克隆音色区 */
.ow-clone {
  border: 1px solid var(--ow-line);
  border-radius: 11px;
  padding: 14px;
  background: rgba(0, 0, 0, 0.25);
}
.ow-clone__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.ow-clone__list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.ow-clone-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--ow-line);
  animation: ow-card-in 0.3s ease both;
}
.ow-clone-item__name { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--ow-text); }
.ow-clone-item__tag {
  font-size: 10px;
  color: var(--ow-text-faint);
  padding: 1px 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--ow-line);
  font-family: var(--ow-mono);
}
.ow-clone__new summary {
  cursor: pointer;
  font-size: 12.5px;
  color: var(--ow-cyan);
  padding: 6px 0;
  list-style: none;
}
.ow-clone__new summary::-webkit-details-marker { display: none; }
.ow-clone__new summary::before { content: '＋ '; }
.ow-clone__new[open] summary::before { content: '－ '; }
.ow-clone__new > *:not(summary) { margin-top: 8px; }

/* ============ 空 / 加载 / 错误 ============ */
.ow-empty, .ow-error {
  grid-column: 1 / -1;
  padding: 60px 20px;
  text-align: center;
  color: var(--ow-text-dim);
  font-size: 14px;
  letter-spacing: 1px;
}
.ow-error { color: #ffb3c1; }
.ow-empty__icon { font-size: 46px; opacity: 0.3; margin-bottom: 12px; }

.ow-skeleton {
  grid-column: 1 / -1;
  height: 160px;
  border-radius: 14px;
  background: linear-gradient(100deg, rgba(255,255,255,0.02) 30%, rgba(34,227,122,0.06) 50%, rgba(255,255,255,0.02) 70%);
  background-size: 200% 100%;
  animation: ow-shimmer 1.4s infinite;
}
@keyframes ow-shimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

/* ============ Toast ============ */
.ow-toast-wrap {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ow-toast {
  min-width: 220px;
  max-width: 340px;
  padding: 13px 16px;
  border-radius: 11px;
  font-size: 13px;
  color: var(--ow-text);
  background: linear-gradient(165deg, rgba(11, 24, 18, 0.96), rgba(6, 14, 11, 0.98));
  border: 1px solid var(--ow-line);
  border-left: 3px solid var(--ow-green);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transform: translateX(120%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s;
}
.ow-toast.is-visible { transform: none; opacity: 1; }
.ow-toast--success { border-left-color: var(--ow-green); box-shadow: 0 10px 30px rgba(0,0,0,.5), 0 0 16px rgba(34,227,122,.2); }
.ow-toast--error { border-left-color: var(--ow-danger); box-shadow: 0 10px 30px rgba(0,0,0,.5), 0 0 16px rgba(255,77,109,.2); }
.ow-toast--info { border-left-color: var(--ow-cyan); }

@keyframes ow-card-in {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

/* ============ 响应式 ============ */
@media (max-width: 900px) {
  .ow-stats { grid-template-columns: repeat(2, 1fr); }
  .ow-search input { width: 150px; }
  .ow-search input:focus { width: 170px; }
  .ow-clock { display: none; }
}
@media (max-width: 560px) {
  .ow-grid { grid-template-columns: 1fr; }
  .ow-brand__text { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.05s !important; }
}

.ow-platform-tabs {
  display: inline-flex;
  gap: 4px;
  margin-right: 10px;
  padding: 3px;
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}
.ow-api-btn {
  margin-right: 2px;
  letter-spacing: 0.4px;
}
.ow-platform-tab {
  border: 0;
  background: transparent;
  color: var(--ow-text-muted);
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
}
.ow-platform-tab.is-active {
  background: rgba(34,227,122,.14);
  color: var(--ow-green);
}

.ow-chip--root,
.ow-btn--root {
  border-color: rgba(255, 196, 72, .35);
  color: #ffc448;
}
.ow-chip--ota {
  border-color: rgba(34, 227, 122, .45);
  color: #7dffa8;
  background: rgba(34, 227, 122, .08);
}
.ow-root-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.ow-root-tab {
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  color: var(--ow-text-muted);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12px;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}
.ow-root-tab:hover { transform: translateY(-1px); color: var(--ow-text); }
.ow-root-tab.is-active {
  color: var(--ow-green);
  border-color: rgba(34,227,122,.35);
  background: rgba(34,227,122,.1);
}
.ow-root-pane {
  animation: none;
}
.ow-root-pane.is-enter {
  animation: ow-pane-in .32s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes ow-pane-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.ow-root-status__row {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: 13px;
}
.ow-root-status__k {
  width: 88px;
  flex-shrink: 0;
  color: var(--ow-text-muted);
}
.ow-root-status__v { color: var(--ow-text); word-break: break-word; }
.ow-root-slot {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 10px;
}
.ow-root-slot__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.ow-root-slot__times {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0;
}
.ow-root-slot__times .ow-input {
  width: 64px;
  min-width: 64px;
}
.ow-root-slot__row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
  flex-wrap: wrap;
}
.ow-root-slot__row .ow-input {
  width: 64px;
  min-width: 64px;
}
.ow-root-slot__hint {
  margin: 0;
  color: #ffc448;
}
.ow-root-section-title {
  margin: 16px 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ow-text);
}
.ow-textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.45;
  font-family: inherit;
}
.ow-root-settings-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 8px 0 10px;
}
@media (max-width: 720px) {
  .ow-root-settings-grid { grid-template-columns: 1fr; }
}
.ow-root-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 14px;
}
.ow-chip-btn {
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: var(--ow-text);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  cursor: pointer;
}
.ow-chip-btn.is-on {
  border-color: rgba(34,227,122,.45);
  background: rgba(34,227,122,.16);
  color: var(--ow-green);
}
.ow-chip-x {
  border: 0;
  background: transparent;
  color: #ff6b6b;
  cursor: pointer;
  margin-left: 4px;
  font-size: 14px;
}
.ow-root-dates-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.ow-root-dates-add {
  display: flex;
  gap: 8px;
  align-items: center;
}
.ow-root-login-qr-wrap {
  margin-top: 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  background: rgba(255,255,255,.03);
  padding: 14px;
  text-align: center;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ow-root-login-qr {
  width: min(260px, 72vw);
  height: auto;
  image-rendering: pixelated;
  background: #fff;
  border-radius: 8px;
  padding: 10px;
}
.ow-root-sysbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 12px;
  align-items: center;
}
.ow-root-sysbar__sep {
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,.15);
  margin: 0 2px;
}
.ow-root-shot-wrap {
  margin-top: 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  overflow: hidden;
  background: #05080c;
  text-align: center;
  position: relative;
  min-height: min(56vh, 480px);
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.ow-root-shot-wrap.is-loading {
  border-color: rgba(34, 227, 122, 0.22);
  box-shadow: inset 0 0 0 1px rgba(34, 227, 122, 0.06), 0 0 28px rgba(34, 227, 122, 0.08);
}
.ow-root-shot-wrap.is-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(34, 227, 122, 0.06) 50%, transparent 60%);
  background-size: 220% 100%;
  animation: ow-shimmer 1.6s ease-in-out infinite;
}
@keyframes ow-shimmer {
  0% { background-position: 120% 0; }
  100% { background-position: -120% 0; }
}
.ow-root-shot-empty {
  min-height: min(56vh, 480px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}
.ow-root-live {
  max-width: 100%;
  width: 100%;
  max-height: 72vh;
  min-height: min(56vh, 480px);
  height: auto;
  background: #000;
  cursor: crosshair;
  display: block;
  object-fit: contain;
  pointer-events: none;
  opacity: 0;
  transition: opacity .42s ease;
}
.ow-root-live.is-ready {
  opacity: 1;
}
.ow-root-loading {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px 16px;
  /* 必须不透底，避免下方 video 未就绪时露出黑屏 */
  background:
    radial-gradient(ellipse at center, rgba(14, 24, 36, 1), rgba(5, 8, 12, 1) 70%),
    #05080c;
  opacity: 0;
  pointer-events: none;
  transition: opacity .36s ease;
}
.ow-root-loading.is-on {
  opacity: 1;
  pointer-events: auto;
}
.ow-root-loading[hidden] {
  display: none !important;
}
.ow-root-loading__text {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(245, 245, 245, 0.72);
  animation: ow-loading-pulse 1.4s ease-in-out infinite;
}
@keyframes ow-loading-pulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}
/* From Uiverse.io by gagan-gv */
.ow-root-loading .spinner {
  height: 50px;
  width: max-content;
  max-width: 100%;
  font-size: clamp(14px, 3.2vw, 18px);
  font-weight: 600;
  font-family: monospace;
  letter-spacing: 0.55em;
  padding-right: 0.55em;
  color: #f5f5f5;
  filter: drop-shadow(0 0 10px rgba(34, 227, 122, 0.45));
  display: flex;
  justify-content: center;
  align-items: center;
}
.ow-root-loading .spinner span {
  animation: loading6454 1.75s ease infinite;
  display: inline-block;
}
.ow-root-loading .spinner span:nth-child(2) { animation-delay: 0.25s; }
.ow-root-loading .spinner span:nth-child(3) { animation-delay: 0.5s; }
.ow-root-loading .spinner span:nth-child(4) { animation-delay: 0.75s; }
.ow-root-loading .spinner span:nth-child(5) { animation-delay: 1s; }
.ow-root-loading .spinner span:nth-child(6) { animation-delay: 1.25s; }
.ow-root-loading .spinner span:nth-child(7) { animation-delay: 1.5s; }
@keyframes loading6454 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.ow-root-shot-wrap:focus {
  outline: 2px solid rgba(61, 139, 253, 0.55);
}
.ow-root-gesture {
  position: absolute;
  left: 0; top: 0;
  width: 0; height: 0;
  border: 2px solid rgba(34,227,122,.85);
  border-radius: 999px;
  background: rgba(34,227,122,.18);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 2;
}

/* Hook 更新 */
.ow-hook-form {
  display: grid;
  gap: 8px;
  margin: 12px 0 18px;
}
.ow-hook-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
}
.ow-hook-list-head h4 {
  margin: 0;
  font-size: 14px;
  letter-spacing: 1px;
}
.ow-hook-table {
  max-height: 280px;
  overflow: auto;
  border: 1px solid var(--ow-line);
  border-radius: 10px;
  background: rgba(0,0,0,.2);
}
.ow-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.ow-data-table th,
.ow-data-table td {
  padding: 8px 10px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  text-align: left;
  vertical-align: top;
}
.ow-data-table th {
  position: sticky;
  top: 0;
  background: rgba(8, 16, 24, .95);
  color: var(--ow-muted);
  font-weight: 600;
}
.ow-truncate {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ow-silent-ota-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 14px;
}
.ow-silent-ota-pick {
  display: grid;
  gap: 8px;
  max-height: 180px;
  overflow: auto;
  margin-bottom: 14px;
  padding: 10px;
  border: 1px solid var(--ow-line);
  border-radius: 10px;
  background: rgba(0,0,0,.18);
}
.ow-silent-ota-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  color: var(--ow-text);
  cursor: pointer;
}
.ow-silent-ota-progress {
  display: grid;
  gap: 10px;
}
.ow-silent-ota-row {
  padding: 10px 12px;
  border: 1px solid var(--ow-line);
  border-radius: 10px;
  background: rgba(0,0,0,.2);
}
.ow-silent-ota-row.is-active {
  border-color: rgba(34, 227, 122, .55);
  box-shadow: 0 0 18px rgba(34, 227, 122, .12);
}
.ow-silent-ota-row.is-pending-consent {
  border-color: rgba(255, 204, 68, .55);
  box-shadow: 0 0 14px rgba(255, 204, 68, .12);
}
.ow-silent-ota-row.is-done {
  border-color: rgba(60, 180, 110, .45);
}
.ow-silent-ota-row.is-failed {
  border-color: rgba(220, 80, 80, .45);
}
.ow-silent-ota-row__head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  margin-bottom: 8px;
}
.ow-silent-ota-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
}
.ow-silent-ota-bar > i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #00b894, var(--ow-green));
  transition: width .35s ease;
}
.ow-silent-ota-row__meta {
  margin-top: 6px;
  font-size: 11px;
  color: var(--ow-muted);
}

.ow-root-alias { margin-bottom: 14px; padding: 12px; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; background: rgba(0,0,0,.18); }
.ow-root-alias__row { display: flex; gap: 8px; align-items: center; margin-top: 6px; }
.ow-root-alias__row .ow-input { flex: 1; }
.ow-log-item--clickable { cursor: pointer; }
.ow-log-item--clickable:hover { border-color: rgba(0, 214, 143, .45); }
.ow-log-item__msg { white-space: pre-wrap; word-break: break-word; max-height: 280px; overflow: auto; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; line-height: 1.45; }

.ow-gpu-state { letter-spacing: 0.4px; }
.ow-gpu-state--running { color: var(--ow-green-bright); }
.ow-gpu-state--stopped { color: var(--ow-text-dim); }
.ow-gpu-state--busy { color: var(--ow-cyan); }
.ow-gpu-state--stopping { color: var(--ow-warn); }
.ow-gpu-node .ow-node__model code {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--ow-text-faint);
}
.ow-gpu-stats {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--ow-text-dim);
}
.ow-gpu-grid {
  max-height: min(62vh, 640px);
  overflow: auto;
  padding: 2px 2px 8px;
  grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
}
.ow-gpu-net {
  font-size: 12px;
  color: var(--ow-text-dim);
  line-height: 1.55;
  margin-top: 2px;
  word-break: break-all;
}
.ow-gpu-apps, .ow-gpu-sched, .ow-gpu-price {
  margin: 10px 0 8px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--ow-line);
  background: rgba(0, 0, 0, 0.22);
}
.ow-gpu-price__now {
  margin: 6px 0 8px;
  color: var(--ow-green-bright);
  font-size: 13.5px;
}
.ow-gpu-price__now strong { font-size: 18px; letter-spacing: 0.4px; }
.ow-gpu-price__now span { color: var(--ow-text-dim); font-size: 12px; }
.ow-gpu-apps .ow-node__chips { margin-top: 6px; }
.ow-gpu-sched__row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto auto;
  gap: 6px;
  align-items: center;
  margin-top: 8px;
}
.ow-gpu-sched__row > span {
  font-size: 12px;
  color: var(--ow-text-dim);
}
.ow-gpu-sched__time { padding: 7px 8px; font-size: 12px; }
.ow-gpu-sched__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.ow-gpu-plan .ow-root-section-title { margin-top: 12px; }
.ow-gpu-plan .ow-root-chips { margin: 8px 0; }
.ow-gpu-plan__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

/* 仅 /ow?embed=1 嵌入门户时生效；直接打开 /ow 不受影响 */
html.ow-embed .ow-brand,
html.ow-embed .ow-clock,
html.ow-embed .ow-embed-hide { display: none !important; }
html.ow-embed .ow-node--locked {
  filter: grayscale(1);
  opacity: 0.5;
  pointer-events: none;
}
html.ow-embed .ow-node__lock {
  margin-left: 6px;
  font-size: 11px;
  letter-spacing: 0.5px;
  color: #9aa3ad;
  border: 1px solid rgba(160, 170, 180, 0.35);
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
