/* ==========================================================================
   FurryBox — 设计系统
   --------------------------------------------------------------------------
   参考 yunamo.com 的设计语言（不是照抄配色，而是同一套做法）：
     · 深黑实色底 + 实色卡片分层，不用半透明玻璃
     · 1px 极细描边，靠 line 色区分层次
     · 单一强调色（薄荷绿），不用渐变
     · 等宽字体用于域名与数值
     · 圆角分层：10 / 16 / 20

   三个站点（www / id / my）共用。
   ========================================================================== */

/* 字体：Geist / Geist Mono 本地自托管（latin 子集，可变字体）
   Space Grotesk 只用于品牌字 FurryBox
   中文回落到系统字体，不加载中文字体文件 */
/* Geist / Geist Mono — latin 子集，本地自托管（可变字体，单文件覆盖全部字重） */

@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/Geist-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/Geist-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/GeistMono-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/GeistMono-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Space Grotesk — 品牌字，latin 子集，本地自托管（可变字体） */

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/SpaceGrotesk-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/SpaceGrotesk-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}


:root {
  /* ---- 底色与面 ---- */
  --bg: #0a0b0d;
  --surface: #111316;
  --surface-2: #1a1d21;
  --surface-3: #22262b;

  /* ---- 线 ---- */
  --line: #22262b;
  --line-strong: #2a2e35;

  /* ---- 文字 ---- */
  --text: #ededed;
  --muted: #9aa0a8;
  --faint: #6b7179;

  /* ---- 强调色 ---- */
  --mint: #3ee6b4;
  --mint-deep: #0b8f6a;
  --mint-text: #3ee6b4;
  --on-mint: #04110c;

  /* ---- 状态 ---- */
  --ok: #3ee6b4;
  --warn: #f2c14e;
  --danger: #ff5a52;
  --danger-text: #ff8a84;
  --info: #7ab8ff;

  /* ---- 圆角 ---- */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 20px;
  --r-pill: 9999px;
  --dot-rgb: 255 255 255;

  /* ---- 字体 ---- */
  --font-sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC",
    system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", SFMono-Regular, Menlo,
    Consolas, "PingFang SC", "Microsoft YaHei", monospace;
  /* 品牌字：几何感强，用于 FurryBox 字样 */
  --font-brand: "Space Grotesk", "Geist", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "tnum" 1;
}

/* ---------------------------------------------------------------- 背景 */

/* yunamo 控制台几乎纯黑。这里用极淡的径向渐变，不抢内容。 */
.fbx-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 80% 50% at 50% -10%,
      rgba(62, 230, 180, 0.05),
      transparent 60%
    ),
    radial-gradient(
      ellipse 60% 40% at 90% 100%,
      rgba(122, 184, 255, 0.025),
      transparent 60%
    );
}

/* 噪点极轻，只让纯黑不发死 */
.fbx-noise {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------------- 外壳 */

.fbx-shell {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 0 clamp(16px, 4vw, 40px) 40px;
}

/* ---------------------------------------------------------------- 顶栏 */

.fbx-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex: none;
  height: 62px;
  border-bottom: 1px solid var(--line);
}

.fbx-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  flex: none;
  font-family: var(--font-brand);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.038em;
  line-height: 1;
}

.fbx-brand b {
  font-weight: 700;
  color: var(--mint);
}

/* 右侧动作区：扁平，不用浮岛 */
.fbx-island {
  display: flex;
  align-items: center;
  gap: 2px;
}

.fbx-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: 13px;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.fbx-pill:hover {
  background: var(--surface-2);
  color: var(--text);
  border-color: var(--line);
}

.fbx-pill svg {
  width: 15px;
  height: 15px;
  flex: none;
}

.fbx-pill b {
  color: var(--mint-text);
  font-weight: 600;
  font-family: var(--font-mono);
  font-size: 13px;
}

.fbx-island .fbx-sep {
  width: 1px;
  height: 18px;
  background: var(--line);
  margin: 0 6px;
  flex: none;
}

.fbx-avatar {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--surface-3);
  display: grid;
  place-items: center;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--mint-text);
  border: 1px solid var(--line);
  flex: none;
}

/* ---------------------------------------------------------------- 按钮 */

.fbx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
  text-decoration: none;
  color: var(--text);
}

.fbx-btn svg {
  width: 15px;
  height: 15px;
  flex: none;
}

.fbx-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* 主按钮 = yunamo 的 .y-btn-ink-block：反色白胶囊，不是薄荷绿实心 */
.fbx-btn-primary {
  background: var(--text);
  color: var(--bg);
  border-color: transparent;
  border-radius: 9999px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.fbx-btn-primary:hover:not(:disabled) {
  background: #fff;
  border-color: transparent;
}

.fbx-btn-ghost {
  background: var(--surface);
  border-color: var(--line);
  color: var(--text);
}

.fbx-btn-ghost:hover:not(:disabled) {
  background: var(--surface-2);
  border-color: var(--line-strong);
}

.fbx-btn-quiet {
  background: transparent;
  color: var(--muted);
  padding: 9px 11px;
}

.fbx-btn-quiet:hover:not(:disabled) {
  color: var(--text);
  background: var(--surface-2);
}

.fbx-btn-danger {
  background: transparent;
  color: var(--faint);
}

.fbx-btn-danger:hover:not(:disabled) {
  color: var(--danger-text);
  background: rgba(255, 90, 82, 0.08);
}

/* ---------------------------------------------------------------- 表单 */

.fbx-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.fbx-label {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.fbx-input,
.fbx-select {
  width: 100%;
  padding: 11px 13px;
  border-radius: var(--r-sm);
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}

.fbx-input::placeholder {
  color: var(--faint);
}

.fbx-input:focus,
.fbx-select:focus {
  border-color: var(--mint-deep);
  background: var(--surface);
}

.fbx-input.mono {
  font-family: var(--font-mono);
  font-size: 13px;
}

.fbx-select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%236b7179' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

.fbx-select option {
  background: var(--surface-2);
  color: var(--text);
}

.fbx-hint {
  font-size: 12px;
  color: var(--faint);
  line-height: 1.55;
}

.fbx-hint.error {
  color: var(--danger-text);
}

.fbx-hint.ok {
  color: var(--mint-text);
}

/* ---------------------------------------------------------------- 状态 */

.fbx-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  white-space: nowrap;
}

.fbx-status .fbx-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: none;
}

.fbx-status.ok {
  color: var(--mint-text);
}
.fbx-status.ok .fbx-dot {
  background: var(--mint);
  box-shadow: 0 0 10px rgba(62, 230, 180, 0.7);
}

.fbx-status.warn {
  color: var(--warn);
}
.fbx-status.warn .fbx-dot {
  background: var(--warn);
  box-shadow: 0 0 10px rgba(242, 193, 78, 0.6);
}

.fbx-status.bad {
  color: var(--danger-text);
}
.fbx-status.bad .fbx-dot {
  background: var(--danger);
  box-shadow: 0 0 10px rgba(255, 90, 82, 0.6);
}

/* ---------------------------------------------------------------- 面板 */

.fbx-panel {
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}

.fbx-tile {
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}

/* ---------------------------------------------------------------- 表格 */

.fbx-table {
  width: 100%;
  border-collapse: collapse;
}

.fbx-table thead th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.fbx-table thead th.r {
  text-align: right;
}

.fbx-table tbody td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  font-size: 13.5px;
}

.fbx-table tbody tr:last-child td {
  border-bottom: none;
}

.fbx-table tbody tr {
  transition: background 0.12s;
}

.fbx-table tbody tr:hover {
  background: var(--surface-2);
}

.fbx-table td.r {
  text-align: right;
}

/* ---------------------------------------------------------------- 提示条 */

.fbx-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 15px;
  border-radius: var(--r-sm);
  font-size: 13px;
  line-height: 1.6;
  border: 1px solid;
}

.fbx-alert svg {
  width: 15px;
  height: 15px;
  flex: none;
  margin-top: 2px;
}

.fbx-alert.error {
  background: rgba(255, 90, 82, 0.07);
  border-color: rgba(255, 90, 82, 0.28);
  color: var(--danger-text);
}

.fbx-alert.ok {
  background: rgba(62, 230, 180, 0.06);
  border-color: rgba(62, 230, 180, 0.25);
  color: var(--mint-text);
}

.fbx-alert.info {
  background: var(--surface);
  border-color: var(--line);
  color: var(--muted);
}

.fbx-alert.warn {
  background: rgba(242, 193, 78, 0.06);
  border-color: rgba(242, 193, 78, 0.25);
  color: var(--warn);
}

/* ---------------------------------------------------------------- 加载 */

.fbx-spinner {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
  border-top-color: var(--mint);
  animation: fbx-spin 0.7s linear infinite;
  flex: none;
}

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

.fbx-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 60px 20px;
  color: var(--faint);
  font-size: 13.5px;
}

/* ---------------------------------------------------------------- 工具 */

.fbx-mono {
  font-family: var(--font-mono);
}

.fbx-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* hidden 属性必须压过组件自身的 display */
[hidden] {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .fbx-spinner {
    animation: none;
  }
  * {
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   以下工具类逐项对齐 yunamo.com 的实现
   证据：_rebuild/mirror/assets/index-C8OdA-Aj.css
   ========================================================================== */

/* ---- 点阵背景（登录/控制台用） ---- */
.y-dot-grid {
  position: absolute;
  inset: 0;
  z-index: -20;
  background-image: radial-gradient(rgb(var(--dot-rgb) / 0.07) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 35%, transparent 78%);
  mask-image: radial-gradient(ellipse at center, #000 35%, transparent 78%);
}

/* ---- 中心光晕 ---- */
.y-glow {
  position: absolute;
  z-index: -10;
  background: radial-gradient(closest-side, rgb(62 230 180 / 0.16), transparent);
}

/* ---- 标题 ---- */
.y-headline {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.045em;
  line-height: 0.92;
  color: var(--text);
}

.y-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mint-text);
}

.y-container {
  margin-inline: auto;
  width: 100%;
  max-width: 1160px;
  padding-inline: 20px;
}

/* ---- 反色胶囊按钮（yunamo 的主 CTA 样式） ---- */
.y-btn-ink-block {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding-inline: 20px;
  border: none;
  border-radius: 9999px;
  background: var(--text);
  color: var(--bg);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: box-shadow 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.y-btn-ink-block:hover:not(:disabled) {
  box-shadow: 0 0 0 3px rgb(62 230 180 / 0.25);
}

/* ---- 链接瓦片 ---- */
.y-link-tile {
  display: block;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  transition: color 0.15s, background-color 0.15s, border-color 0.15s;
}

/* ---- 小标签 ---- */
.y-label {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ---- 活点 ---- */
.y-dot-live {
  display: inline-block;
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 9999px;
  background: var(--mint);
  box-shadow: 0 0 10px rgb(62 230 180 / 0.7);
}

/* ==========================================================================
   FurryBox 控制台 (my.furry.box) — 页面级样式
   基础设计系统来自 design.css（构建时合并进 style.css）
   ========================================================================== */

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ---------------------------------------------------------------- 返回 */

.back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  width: fit-content;
  transition: color 0.15s;
}

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

.back svg {
  width: 14px;
  height: 14px;
}

/* ---------------------------------------------------------------- 页头 */

.pagehead {
  padding: 32px 0 22px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.pagehead .l h1 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text);
}

.pagehead .l p {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--muted);
}

.pagehead .l p b {
  color: var(--text);
  font-family: var(--font-mono);
  font-weight: 600;
}

.headmain {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.headmain .txt {
  min-width: 0;
}

.headmain h1 {
  font-family: var(--font-mono);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  word-break: break-all;
  color: var(--text);
}

.headmeta {
  margin-top: 7px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--faint);
}

.headmeta .sep {
  color: var(--line-strong);
}

.heaactions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}

/* ---------------------------------------------------------------- 统计条 */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.stat {
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 16px 18px;
}

.stat .k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.stat .v {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.1;
}

.stat .v small {
  font-size: 13px;
  color: var(--faint);
  font-weight: 400;
  margin-left: 3px;
}

.stat .sub {
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}

/* ---------------------------------------------------------------- 工具条 */

.toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.seg {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--line);
}

.seg button {
  padding: 6px 12px;
  border-radius: 7px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 12.5px;
  cursor: pointer;
  transition: 0.15s;
  white-space: nowrap;
}

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

.seg button.on {
  background: var(--surface-3);
  color: var(--text);
  font-weight: 500;
}

.seg button span {
  opacity: 0.45;
  margin-left: 2px;
  font-family: var(--font-mono);
}

.search {
  flex: 1;
  min-width: 180px;
  max-width: 300px;
  position: relative;
}

.search svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  color: var(--faint);
  pointer-events: none;
}

.search input {
  width: 100%;
  padding: 9px 12px 9px 34px;
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: inherit;
  font-size: 13px;
  outline: none;
  transition: 0.15s;
}

.search input::placeholder {
  color: var(--faint);
}

.search input:focus {
  border-color: var(--mint-deep);
  background: var(--surface-2);
}

/* ---------------------------------------------------------------- 域名行 */

.dcell {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

/* yunamo 用单色 icon-tile，不用彩色渐变 */
.mark {
  border-radius: 9px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--mint-text);
}

.mark svg {
  width: 56%;
  height: 56%;
  display: block;
}

.dcell .txt {
  min-width: 0;
}

.dcell .nm {
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--text);
  font-weight: 500;
  letter-spacing: -0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dcell .sub {
  margin-top: 2px;
  font-size: 11.5px;
  color: var(--faint);
  font-family: var(--font-mono);
}

/* ---------------------------------------------------------------- 到期 */

.exp {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
}

.exp small {
  display: block;
  font-size: 11px;
  color: var(--faint);
  margin-top: 1px;
}

.exp.warn {
  color: var(--warn);
}

.exp.bad {
  color: var(--danger-text);
}

/* ---------------------------------------------------------------- 模式 */

.mode {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
}

.mode svg {
  width: 13px;
  height: 13px;
  color: var(--faint);
  flex: none;
}

/* ---------------------------------------------------------------- 按钮组 */

.act {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-content: flex-end;
}

.mini {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: inherit;
  font-size: 12.5px;
  cursor: pointer;
  transition: 0.15s;
  white-space: nowrap;
}

.mini:hover:not(:disabled) {
  background: var(--surface-3);
  border-color: var(--line-strong);
}

.mini:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.mini svg {
  width: 13px;
  height: 13px;
}

/* 行内主操作：yunamo 在列表里用中性胶囊，不抢 mint 强调色 */
.mini.primary {
  background: var(--text);
  border-color: transparent;
  color: var(--bg);
  font-weight: 600;
}

.mini.primary:hover:not(:disabled) {
  background: #fff;
  border-color: transparent;
}

/* ---------------------------------------------------------------- 空状态 */

.empty {
  padding: 64px 24px;
  text-align: center;
}

.empty .ic {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  border: 1px solid var(--line);
}

.empty .ic svg {
  width: 21px;
  height: 21px;
  color: var(--faint);
}

.empty h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--text);
}

.empty p {
  font-size: 13.5px;
  color: var(--muted);
  max-width: 40ch;
  margin: 0 auto 20px;
  line-height: 1.65;
}

/* ---------------------------------------------------------------- 底部提示 */

.note {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--faint);
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.note svg {
  width: 13px;
  height: 13px;
  flex: none;
}

/* ---------------------------------------------------------------- 预览地址 */

.previewbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  margin-bottom: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.previewbar .lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.previewbar .url {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--mint-text);
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  flex: 1;
}

.previewbar .url:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.previewbar .cp {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 7px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
  transition: 0.15s;
  flex: none;
}

.previewbar .cp:hover {
  background: var(--surface-3);
  color: var(--text);
}

.previewbar .cp svg {
  width: 12px;
  height: 12px;
}

/* ---------------------------------------------------------------- 记录类型 */

.tt {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 3px 8px;
  border-radius: 5px;
  background: var(--surface-3);
  color: var(--muted);
  border: 1px solid var(--line);
}

/* 只用薄荷绿/蓝/黄的深浅区分，不用彩虹色 */
.tt.a      { background: rgba(62,230,180,.13); color: #7ff0cd; border-color: rgba(62,230,180,.22); }
.tt.aaaa   { background: rgba(62,230,180,.10); color: #6ddcc0; border-color: rgba(62,230,180,.18); }
.tt.cname  { background: rgba(122,184,255,.12); color: #9ccdff; border-color: rgba(122,184,255,.22); }
.tt.mx     { background: rgba(242,193,78,.12); color: #f5d080; border-color: rgba(242,193,78,.22); }
.tt.txt    { background: rgba(154,160,168,.12); color: #b8bec6; border-color: rgba(154,160,168,.2); }
.tt.srv    { background: rgba(122,184,255,.09); color: #8abff5; border-color: rgba(122,184,255,.18); }
.tt.caa    { background: rgba(242,193,78,.09); color: #e8c773; border-color: rgba(242,193,78,.18); }
.tt.ns     { background: rgba(62,230,180,.08); color: #63d6b3; border-color: rgba(62,230,180,.16); }

.nm {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text);
}

.val {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
  word-break: break-all;
  line-height: 1.5;
}

.pri {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
}

.iconbtn {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--faint);
  cursor: pointer;
  transition: 0.15s;
}

.iconbtn:hover:not(:disabled) {
  background: var(--surface-3);
  color: var(--text);
  border-color: var(--line);
}

.iconbtn.del:hover:not(:disabled) {
  background: rgba(255, 90, 82, 0.1);
  color: var(--danger-text);
}

.iconbtn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.iconbtn svg {
  width: 14px;
  height: 14px;
}

/* ---------------------------------------------------------------- 添加记录 */

.addform {
  margin-top: 16px;
  padding: 20px;
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--line);
}

.addform h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}

.addform h3 svg {
  width: 15px;
  height: 15px;
  color: var(--mint-text);
}

.fields {
  display: grid;
  grid-template-columns: 130px minmax(120px, 1fr) minmax(200px, 2fr);
  gap: 10px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.addfoot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.addfoot .tip {
  font-size: 12px;
  color: var(--faint);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.addfoot .tip svg {
  width: 12px;
  height: 12px;
  flex: none;
}

/* ---------------------------------------------------------------- 弹窗 */

.modal-mask {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(4, 5, 7, 0.72);
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal {
  width: 100%;
  max-width: 440px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9);
  padding: 24px;
}

.modal h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.modal-foot {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 20px;
}

/* ---------------------------------------------------------------- 账户页 */

.acct-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.acct-card {
  padding: 22px;
}

.acct-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.acct-big {
  font-family: var(--font-mono);
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-top: 10px;
  color: var(--text);
}

.acct-mono {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-top: 12px;
  color: var(--mint-text);
  word-break: break-all;
}

.acct-sub {
  font-size: 12.5px;
  color: var(--faint);
  margin-top: 8px;
  line-height: 1.6;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.panel-head h2 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.mono-sm {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

.amt {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
}

.amt.pos {
  color: var(--mint-text);
}

.amt.neg {
  color: var(--danger-text);
}

/* ---------------------------------------------------------------- toast */

.fbx-toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 12px);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 16px;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  box-shadow: 0 20px 50px -16px rgba(0, 0, 0, 0.9);
  font-size: 13.5px;
  color: var(--text);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s, transform 0.18s;
  max-width: min(90vw, 520px);
}

.fbx-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.fbx-toast svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.fbx-toast.ok svg {
  color: var(--mint-text);
}

.fbx-toast.error svg {
  color: var(--danger-text);
}

.fbx-toast.info svg {
  color: var(--muted);
}

/* ---------------------------------------------------------------- 骨架屏 */

.sk {
  display: inline-block;
  border-radius: 6px;
  background: var(--surface-2);
  animation: sk-pulse 1.5s ease-in-out infinite;
}

@keyframes sk-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.sk-page {
  width: 100%;
  padding-top: 32px;
}

.sk-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 26px;
}

.sk-toolbar {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.sk-table {
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}

.sk-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.sk-row:last-child {
  border-bottom: none;
}

.sk-avatar {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  flex: none;
}

@media (prefers-reduced-motion: reduce) {
  .sk {
    animation: none;
  }
}

/* ---------------------------------------------------------------- 响应式 */

@media (max-width: 860px) {
  .hide-sm {
    display: none;
  }
}

@media (max-width: 700px) {
  .fields {
    grid-template-columns: 1fr;
  }

  .fbx-table thead {
    display: none;
  }

  .fbx-table tbody td {
    display: block;
    padding: 0;
    border: none;
  }

  .fbx-table tbody tr {
    display: block;
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
  }

  .fbx-table tbody tr:hover {
    background: transparent;
  }

  .dcell {
    margin-bottom: 12px;
  }

  .act {
    justify-content: flex-start;
    margin-top: 12px;
    width: 100%;
  }

  .act .mini {
    flex: 1;
  }

  .toolbar .seg {
    overflow-x: auto;
    max-width: 100%;
  }

  .search {
    max-width: 100%;
  }
}


/* ==========================================================================
   主从布局（yunamo 风格：左列表 + 右详情）
   取代原来的「域名列表页 → 跳转 DNS 页」两页结构
   ========================================================================== */

.console {
  display: grid;
  grid-template-columns: 272px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding-top: 24px;
  padding-bottom: 56px;
}

@media (max-width: 900px) {
  .console {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 16px;
  }
}

/* ---------------------------------------------------------------- 左侧 */

.console-side {
  position: sticky;
  top: 20px;
  display: flex;
  flex-direction: column;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  max-height: calc(100vh - 100px);
}

@media (max-width: 900px) {
  .console-side {
    position: static;
    max-height: none;
  }
}

.side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 14px 12px;
}

.side-head h2 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}

.side-new {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: none;
  border: none;
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.side-new:hover {
  background: var(--text);
  color: var(--bg);
}

.side-new svg {
  width: 15px;
  height: 15px;
}

.side-filter {
  padding: 0 10px 10px;
}

.side-search {
  width: 100%;
  height: 34px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 12.5px;
  outline: none;
  transition: border-color 0.15s;
}

.side-search::placeholder {
  color: var(--faint);
}

.side-search:focus {
  border-color: var(--mint);
}

.side-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0 6px 6px;
}

.side-item {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 8px 8px;
  margin-bottom: 1px;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: inherit;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s;
}

.side-item:hover {
  background: var(--surface-2);
}

.side-item.on {
  background: var(--surface-2);
}

.si-mark {
  display: inline-flex;
  flex: none;
}

.si-mark .mark {
  border-radius: 7px;
}

.si-txt {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 2px;
}

.si-name {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.side-item.on .si-name {
  color: var(--text);
}

.si-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--faint);
}

.si-dot {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--faint);
}

.si-dot.ok {
  background: #52d99b;
  box-shadow: 0 0 7px rgb(82 217 155 / 0.8);
}

.si-dot.warn {
  background: #f2c14e;
  box-shadow: 0 0 7px rgb(242 193 78 / 0.8);
}

.si-dot.bad {
  background: #ff6b6b;
  box-shadow: 0 0 7px rgb(255 107 107 / 0.8);
}

.side-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--faint);
}

.side-foot a {
  color: var(--faint);
  text-decoration: none;
  transition: color 0.15s;
}

.side-foot a:hover {
  color: var(--mint);
}

/* ---------------------------------------------------------------- 右侧 */

.console-main {
  min-width: 0;
}

.detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 20px;
}

.dh-main {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.dh-txt {
  min-width: 0;
}

.dh-txt h1 {
  font-family: var(--font-mono);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--text);
  word-break: break-all;
}

.dh-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 7px;
  font-size: 12.5px;
  color: var(--faint);
}

.dh-meta .sep {
  color: var(--line-strong);
}

.dh-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  flex: none;
}

.dh-btn {
  min-height: 34px;
  padding: 6px 13px;
  font-size: 12.5px;
}

.dh-btn svg {
  width: 14px;
  height: 14px;
}

.dh-danger {
  color: #ff8585;
}

/* 续期窗口未开放：视觉上弱化，但仍然可点（点了会解释规则） */
.dh-btn-off {
  opacity: 0.72;
}

.dh-btn-off:hover:not(:disabled) {
  opacity: 1;
}

.dh-danger:hover:not(:disabled) {
  border-color: rgb(255 107 107 / 0.4);
  background: rgb(255 107 107 / 0.08);
}

/* 事实条 */
.detail-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--line);
  overflow: hidden;
  margin-bottom: 22px;
}

.fact {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 13px 15px;
  background: var(--surface);
}

.fk {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.fv {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

/* 记录区 */
.records-sec {
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
}

.rec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
}

.rec-head h2 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.rec-count {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--faint);
}

.rec-table-wrap {
  overflow-x: auto;
}

.rec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.rec-table th {
  padding: 9px 16px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  white-space: nowrap;
}

.rec-table td {
  padding: 11px 16px;
  border-top: 1px solid var(--line);
  vertical-align: middle;
  color: var(--text);
}

.rec-table .mono {
  font-family: var(--font-mono);
  font-size: 12.5px;
}

.rec-table .dim {
  color: var(--faint);
}

.rec-table .ta-r {
  text-align: right;
}

.rec-val {
  max-width: 340px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rec-empty {
  padding: 40px 16px !important;
  text-align: center;
  color: var(--faint);
  font-size: 13px;
}

.rt {
  display: inline-block;
  flex: none;
  min-width: 44px;
  padding: 2px 7px;
  border-radius: 5px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.rt.a      { background: rgb(62 230 180 / 0.13); color: #7ff0cd; }
.rt.aaaa   { background: rgb(62 230 180 / 0.13); color: #7ff0cd; }
.rt.cname  { background: rgb(122 184 255 / 0.12); color: #9ccdff; }
.rt.mx     { background: rgb(242 193 78 / 0.12);  color: #f5d080; }
.rt.txt    { background: rgb(154 160 168 / 0.12); color: #b8bec6; }
.rt.srv    { background: rgb(186 140 255 / 0.12); color: #c9a9ff; }
.rt.caa    { background: rgb(242 193 78 / 0.09);  color: #e8c773; }
.rt.ns     { background: rgb(122 184 255 / 0.12); color: #9ccdff; }

/* 添加记录表单 */
.add-form {
  padding: 16px 18px 18px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.af-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.af-f {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.af-grow {
  flex: 1;
  min-width: 180px;
}

.af-lb {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.af-type {
  width: 96px;
}

.af-extra {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.af-bottom {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.af-bottom .fbx-btn {
  min-height: 38px;
  padding: 8px 16px;
  font-size: 13px;
}

.af-bottom .fbx-hint {
  flex: 1;
  min-width: 0;
  margin: 0;
}

/* NS 面板 */
.ns-panel {
  padding: 18px;
}

.ns-hint {
  margin-bottom: 14px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.ns-hint strong {
  color: var(--text);
}

.ns-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  list-style: none;
}

.ns-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 13px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--surface-2);
}

.ns-host {
  font-size: 12.5px;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ns-empty {
  font-size: 13px;
  color: var(--faint);
}

.mini.danger {
  color: #ff8585;
}

.mini.danger:hover:not(:disabled) {
  background: rgb(255 107 107 / 0.1);
  border-color: rgb(255 107 107 / 0.3);
}

/* 空状态 */
.console-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 96px 24px;
  text-align: center;
}

.ce-ic {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  color: var(--muted);
}

.ce-ic svg {
  width: 26px;
  height: 26px;
}

.console-empty h2 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.console-empty p {
  font-size: 13.5px;
  color: var(--muted);
}

.console-empty .fbx-btn {
  margin-top: 6px;
}