/* =========================================================
   艾尼 AI · 全站共用样式
   设计令牌与组件值均来自 design-spec.md v1.0（§2-§5）
   ========================================================= */

/* ---------- §2 配色 / §3 字体 / §4 间距：全局令牌 ---------- */
:root {
  /* 品牌色 */
  --primary: #4F46E5;
  --primary-hover: #4338CA;
  --primary-50: #EEF2FF;
  --violet: #7C3AED;
  --brand-gradient: linear-gradient(135deg, #4F46E5, #7C3AED);

  /* 语义色 */
  --success: #16A34A;       --success-bg: #F0FDF4;  --success-border: #BBF7D0; --success-text: #15803D;
  --warning: #D97706;       --warning-bg: #FFFBEB;  --warning-border: #FDE68A; --warning-text: #B45309;
  --error: #DC2626;         --error-bg: #FEF2F2;    --error-border: #FECACA;   --error-text: #B91C1C;
  --info: #2563EB;          --info-bg: #EFF6FF;     --info-border: #BFDBFE;    --info-text: #1D4ED8;

  /* 灰阶 */
  --gray-900: #111114;
  --gray-700: #3F3F46;
  --gray-500: #71717A;
  --gray-400: #A1A1AA;
  --gray-200: #E4E4E7;
  --gray-100: #F4F4F5;
  --gray-50: #FAFAFA;
  --white: #FFFFFF;

  /* 圆角 */
  --radius: 10px;
  --radius-lg: 14px;
  --radius-xl: 16px;

  /* 字体栈（MiSans 优先，系统字体兜底） */
  --font-sans: "MiSans", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Consolas, monospace;

  /* 间距令牌 */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-8: 48px; --space-10: 64px;
  --space-12: 80px; --space-16: 128px;

  /* 容器 */
  --container: 1120px;
  --container-wide: 1280px;
}

/* ---------- 基础重置 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-700);
  background: var(--gray-50);
  -webkit-font-smoothing: antialiased;
}
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--gray-900); }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(79,70,229,.35); }

/* 尊重减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ---------- §5.1 按钮（全站高度仅 44px / 36px 两档） ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  height: 44px;
  padding: 0 20px;
  transition: background .15s, transform .1s, border-color .15s, color .15s;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); color: #fff; }
.btn-secondary { background: var(--white); color: var(--gray-900); border: 1px solid var(--gray-200); }
.btn-secondary:hover { background: var(--gray-100); }
.btn-ghost { background: transparent; color: var(--gray-500); }
.btn-ghost:hover { background: var(--gray-100); color: var(--gray-900); }
.btn-danger { background: var(--error); color: #fff; }
.btn-danger:hover { background: #B91C1C; color: #fff; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn-block { width: 100%; }

/* 按钮 loading 态（旋转指示器由 JS 注入 .btn-spinner） */
.btn.is-loading { pointer-events: none; opacity: .75; }
.btn-spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Logo（艾尼 AI 标识） ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 17px;
  color: var(--gray-900);
  white-space: nowrap;
  flex-shrink: 0;
}
.logo-mark {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  background: url("logo.svg") center / contain no-repeat;
}

/* ---------- §5.6 顶部公告条 ---------- */
.announce {
  background: var(--gray-900);
  color: #fff;
  font-size: 13px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 16px;
  text-align: center;
}
.announce a { color: #A5B4FC; text-decoration: underline; }

/* ---------- §5.4 导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 64px;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
}
.nav-inner { height: 64px; display: flex; align-items: center; gap: 16px; }
.nav-links { display: flex; gap: 2px; margin-left: 4px; min-width: 0; }
.nav-links a {
  font-size: 15px;
  color: var(--gray-700);
  padding: 8px 12px;
  border-radius: 8px;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--gray-900); background: var(--gray-100); }
.nav-links a.active { color: var(--primary); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }

/* 移动端汉堡菜单 */
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 40px; height: 40px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile {
  display: none;
  position: sticky;
  top: 64px;
  z-index: 49;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 12px 24px 20px;
}
.nav-mobile.is-open { display: block; }
.nav-mobile a {
  display: block;
  padding: 10px 12px;
  font-size: 15px;
  color: var(--gray-700);
  border-radius: 8px;
}
.nav-mobile a:hover { background: var(--gray-100); }
.nav-mobile a.active { color: var(--primary); font-weight: 600; }
.nav-mobile .nav-mobile-actions { display: flex; gap: 12px; margin-top: 12px; }
.nav-mobile .nav-mobile-actions .btn { flex: 1; }

/* ---------- 页头（内容页通用） ---------- */
.page-head { padding: 72px 0 40px; text-align: center; }
.page-head h1 { font-size: 40px; line-height: 1.2; font-weight: 700; color: var(--gray-900); letter-spacing: -0.02em; }
.page-head p { color: var(--gray-500); margin-top: 12px; font-size: 17px; }

/* ---------- 分区 ---------- */
.section { padding: var(--space-12) 0; }
.section--alt { background: var(--white); border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.section-head { text-align: center; max-width: 560px; margin: 0 auto 48px; }
.section-head .eyebrow { font-size: 13px; font-weight: 600; color: var(--primary); letter-spacing: .04em; }
.section-head h2 { font-size: 30px; line-height: 1.25; font-weight: 700; color: var(--gray-900); margin-top: 8px; }
.section-head p { margin-top: 12px; color: var(--gray-500); }

/* ---------- §5.2 卡片 ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 1px 2px rgba(17,17,20,.04);
  transition: box-shadow .2s, border-color .2s, transform .2s;
}
.card:hover {
  border-color: #C7C7CE;
  box-shadow: 0 4px 12px rgba(17,17,20,.06), 0 1px 2px rgba(17,17,20,.04);
}
.card--selected {
  border-color: var(--primary);
  background: var(--primary-50);
  box-shadow: 0 0 0 1px var(--primary);
}

/* ---------- §5.3 表单 ---------- */
.field { margin-bottom: 18px; }
.label { font-size: 13px; font-weight: 500; color: var(--gray-700); margin-bottom: 6px; display: block; }
.input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  background: var(--white);
  font-size: 15px;
  font-family: inherit;
  color: var(--gray-900);
  transition: border-color .15s, box-shadow .15s;
}
.input::placeholder { color: var(--gray-400); }
.input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79,70,229,.12); outline: none; }
.input--error { border-color: var(--error); }
.input--mono { font-family: var(--font-mono); letter-spacing: .06em; }
.form-error { font-size: 13px; color: var(--error-text); margin-top: 6px; }
.form-hint { font-size: 12px; color: var(--gray-400); margin-top: 6px; }

/* 登录/注册/兑换共用的表单卡片 */
.auth-card {
  width: 400px;
  max-width: calc(100vw - 32px);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  box-shadow: 0 8px 24px rgba(17,17,20,.06);
}
.auth-card h1 { font-size: 22px; font-weight: 700; color: var(--gray-900); }
.auth-card .sub { font-size: 14px; color: var(--gray-500); margin-top: 6px; margin-bottom: 28px; }
.auth-switch { font-size: 13px; color: var(--gray-500); text-align: center; margin-top: 20px; }
.auth-switch a { color: var(--primary); }
.auth-switch a:hover { text-decoration: underline; }

/* 认证页左右分栏布局（登录/注册/兑换共用） */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-brand {
  background: linear-gradient(160deg, #111114 0%, #1E1B4B 55%, #312E81 100%);
  color: #fff;
  padding: 48px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.auth-brand .logo { color: #fff; }
.auth-brand-body { margin: auto 0; max-width: 420px; }
.auth-brand-body h2 { font-size: 30px; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; }
.auth-brand-body p { color: rgba(255,255,255,.65); margin-top: 14px; font-size: 15px; }
.auth-deco {
  position: absolute;
  bottom: -120px;
  right: -80px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(124,58,237,.35), transparent);
  pointer-events: none;
}
.auth-side { display: flex; align-items: center; justify-content: center; padding: 48px 24px; }

/* ---------- §5.6 提示条 ---------- */
.alert {
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 14px;
  border: 1px solid;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  line-height: 1.6;
}
.alert--success { background: var(--success-bg); border-color: var(--success-border); color: var(--success-text); }
.alert--warning { background: var(--warning-bg); border-color: var(--warning-border); color: var(--warning-text); }
.alert--error   { background: var(--error-bg);   border-color: var(--error-border);   color: var(--error-text); }
.alert--info    { background: var(--info-bg);    border-color: var(--info-border);    color: var(--info-text); }

/* ---------- FAQ 折叠 ---------- */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  border: none;
  background: none;
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-900);
  text-align: left;
  font-family: inherit;
}
.faq-q:hover { background: var(--gray-50); }
.faq-q .chev { color: var(--gray-400); font-size: 12px; flex-shrink: 0; transition: transform .2s; }
.faq-item.is-open .chev { transform: rotate(180deg); }
.faq-a {
  display: none;
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--gray-500);
  white-space: pre-line;
}
.faq-item.is-open .faq-a { display: block; }

/* ---------- §5.7 模态 ---------- */
.modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(17,17,20,.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 16px;
}
.modal-mask.is-open { display: flex; }
.modal {
  width: 100%;
  max-width: 480px;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: 0 16px 48px rgba(17,17,20,.2);
  animation: modal-in .2s ease-out;
}
@keyframes modal-in {
  from { transform: translateY(8px); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}
.modal h3 { font-size: 17px; font-weight: 700; color: var(--gray-900); }
.modal p { font-size: 14px; color: var(--gray-500); margin-top: 8px; }
.modal-actions { display: flex; gap: 10px; margin-top: 22px; }
.modal-actions .btn { flex: 1; }

/* ---------- 色块占位图（渐变，无外链图片） ---------- */
.thumb { border-radius: 10px; }
.t1 { background: linear-gradient(135deg, #DDD6FE, #C4B5FD); }
.t2 { background: linear-gradient(135deg, #BAE6FD, #A5F3FC); }
.t3 { background: linear-gradient(135deg, #FDE68A, #FDBA74); }
.t4 { background: linear-gradient(135deg, #C7D2FE, #99F6E4); }
.t5 { background: linear-gradient(135deg, #FBCFE8, #DDD6FE); }
.t6 { background: linear-gradient(135deg, #A7F3D0, #BAE6FD); }
.t7 { background: linear-gradient(135deg, #C4B5FD, #FBCFE8 60%, #FDE68A); }
.t8 { background: linear-gradient(135deg, #1E293B, #334155); }

/* ---------- §5.5 页脚 ---------- */
.footer { background: var(--gray-50); border-top: 1px solid var(--gray-200); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; }
.footer h5 { font-size: 13px; font-weight: 600; color: var(--gray-900); margin-bottom: 14px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 8px; }
.footer li a { font-size: 13px; color: var(--gray-500); }
.footer li a:hover { color: var(--gray-900); }
.footer-brand p { font-size: 13px; color: var(--gray-400); margin-top: 10px; max-width: 260px; }
.footer-note { font-size: 12px !important; color: var(--gray-400) !important; }
.footer-icp { white-space: nowrap; }
.footer-bottom {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
  font-size: 12px;
  color: var(--gray-400);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- §5.6 联系客服 ---------- */
.footer-contact p { font-size: 13px; color: var(--gray-400); margin-bottom: 16px; max-width: 300px; line-height: 1.7; }
.btn-contact { padding: 10px 24px; }

.contact-modal { position: fixed; inset: 0; z-index: 1200; display: flex; align-items: center; justify-content: center; padding: 24px; }
.contact-modal[hidden] { display: none; }
.contact-mask { position: absolute; inset: 0; background: rgba(17, 17, 20, .52); }
.contact-dialog {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-radius: 20px;
  padding: 32px 28px 26px;
  box-shadow: 0 24px 64px rgba(17, 17, 20, .24);
  text-align: center;
}
.contact-dialog h3 { font-size: 20px; font-weight: 700; color: var(--gray-900); }
.contact-sub { font-size: 13px; color: var(--gray-500); margin-top: 8px; line-height: 1.7; }
.contact-qrs { display: flex; justify-content: center; gap: 24px; margin: 24px 0 4px; flex-wrap: wrap; }
.contact-qrs figure { margin: 0; }
.contact-qrs img {
  display: block;
  width: 168px;
  height: 168px;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  background: var(--gray-50);
}
.contact-qrs figcaption { margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--gray-500); }
.contact-tip { font-size: 12px; color: var(--gray-400); margin-top: 18px; }
.contact-close {
  position: absolute;
  right: 12px;
  top: 10px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: none;
  font-size: 22px;
  line-height: 1;
  color: var(--gray-400);
  cursor: pointer;
}
.contact-close:hover { color: var(--gray-900); background: var(--gray-100); }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-contact { margin-top: 4px; }
}
@media (max-width: 520px) {
  .contact-qrs img { width: 132px; height: 132px; }
  .contact-dialog { padding: 28px 18px 22px; }
}

/* ---------- 顶栏登录态余额 pill（导航内） ---------- */
.balance-pill-nav {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-900);
  background: var(--gray-100);
  border-radius: 999px;
  padding: 5px 12px;
}
.balance-pill-nav:hover { background: var(--gray-200); }
.balance-pill-nav .num { color: var(--primary); }

/* ---------- 控制台共用布局（console/keys/usage 三页） ---------- */
.console-wrap {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 24px;
  align-items: start;
}
.console-side {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 16px 12px;
  position: sticky;
  top: 88px;
}
.console-side a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--gray-700);
  border-radius: 8px;
  margin-bottom: 2px;
}
.console-side a:hover { background: var(--gray-100); color: var(--gray-900); }
.console-side a.active {
  background: var(--primary-50);
  color: var(--primary);
  font-weight: 600;
}
.console-main { min-width: 0; }
.console-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.console-title-row h1 { font-size: 24px; font-weight: 700; color: var(--gray-900); }

/* 控制台通用表格 */
.data-table-wrap { overflow-x: auto; }
.data-table {
  width: 100%;
  min-width: 640px;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
}
.data-table th {
  background: var(--gray-50);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-500);
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-200);
  white-space: nowrap;
}
.data-table td {
  padding: 14px 16px;
  font-size: 14px;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
  vertical-align: middle;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table .mono { font-family: var(--font-mono); font-size: 13px; }

/* 状态小徽标 */
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 999px;
  padding: 2px 10px;
}
.status-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.status-chip--active { background: var(--success-bg); color: var(--success-text); }
.status-chip--disabled { background: var(--gray-100); color: var(--gray-500); }
.status-chip--expired { background: var(--error-bg); color: var(--error-text); }

/* 表格空态 / 加载态 */
.table-state {
  padding: 48px 24px;
  text-align: center;
  color: var(--gray-400);
  font-size: 14px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
}
.table-state .icon { font-size: 32px; display: block; margin-bottom: 8px; opacity: .5; }

/* 分页器 */
.pager { display: flex; align-items: center; gap: 8px; justify-content: flex-end; margin-top: 16px; font-size: 13px; color: var(--gray-500); }
.pager button {
  font-family: inherit;
  font-size: 13px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  border-radius: 8px;
  padding: 6px 12px;
  color: var(--gray-700);
}
.pager button:hover:not(:disabled) { background: var(--gray-100); }
.pager button:disabled { color: var(--gray-400); cursor: not-allowed; }
.pager .pager-info { margin-right: auto; }

/* 一次性 Key 展示 */
.key-reveal {
  font-family: var(--font-mono);
  font-size: 13px;
  word-break: break-all;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--gray-900);
  margin-top: 12px;
  user-select: all;
}

/* ---------- 响应式（§6） ---------- */
@media (max-width: 1023px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 899px) {
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-brand { display: none; }
  .auth-side { min-height: 100vh; align-items: flex-start; padding-top: 64px; }
}
/* 中等宽度：收窄导航间距，避免链接被挤成两行 */
@media (min-width: 768px) and (max-width: 1180px) {
  .nav-inner { gap: 10px; }
  .nav-links { gap: 0; margin-left: 0; }
  .nav-links a { font-size: 14px; padding: 8px 9px; }
  .nav-right { gap: 8px; }
  .nav-right .btn { padding-left: 12px; padding-right: 12px; }
}
@media (max-width: 767px) {
  .section { padding: 48px 0; }
  .page-head { padding: 48px 0 32px; }
  .page-head h1 { font-size: 30px; }
  .section-head h2 { font-size: 24px; }
  .footer { padding: 48px 0 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    /* 导航收成 Logo + 汉堡菜单 */
    .nav-links { display: none; }
    .nav-right { display: none; }
    .nav-toggle { display: inline-flex; }
    /* 控制台侧栏收为顶部横向条 */
    .console-wrap { grid-template-columns: 1fr; padding: 16px; gap: 16px; }
    .console-side { position: static; display: flex; gap: 4px; padding: 8px; overflow-x: auto; }
    .console-side a { white-space: nowrap; margin-bottom: 0; }
  }
