/* ui-v16.css — v16 纯净版视觉层（Slate/Zinc + 克制 Sage 绿，白卡细边框，无草地装饰）
   仅覆盖主题变量与少量组件样式，不改变业务结构与路由。 */
:root {
  --theme-bg: #f8fafc !important;
  --theme-text: #0f172a !important;
  --theme-primary: #2d6a4f !important;
  --theme-secondary: #84a98c !important;
  --theme-gradient: linear-gradient(135deg, #2d6a4f 0%, #40916c 100%) !important;
  --app-bg: #f8fafc !important;
  --surface-1: #ffffff !important;
  --surface-2: #f8fafc !important;
  --surface-3: #f1f5f9 !important;
  --surface-border: #f1f5f9 !important;
  --surface-border-strong: #e2e8f0 !important;
  --surface-shadow: 0 1px 2px rgba(15, 23, 42, .05) !important;
  --surface-shadow-soft: 0 1px 2px rgba(15, 23, 42, .04) !important;
  --muted-text: #64748b !important;
  --input-bg: #ffffff !important;
  --panel-glow: rgba(45, 106, 79, .07) !important;
}

/* 去掉动漫主题的天空装饰层 */
html .anime-deco, html .deco-cloud, html .deco-star { display: none !important; }
html body, html .app-root, html .anime-content { background: #f8fafc !important; }
html .w-screen.flex.overflow-hidden { background: #f8fafc !important; }

/* 卡片：白底、1px 细边、12px 圆角、极轻阴影 */
html .ui-card {
  border-radius: 12px !important;
  border: 1px solid #f1f5f9 !important;
  background: #ffffff !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04) !important;
}
html .glass-panel {
  border-radius: 12px !important;
  border: 1px solid #f1f5f9 !important;
  background: #ffffff !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04) !important;
  backdrop-filter: none !important;
}
html .rounded-3xl, html [class*="rounded-3xl"] { border-radius: 16px !important; }
html h1, html h2, html h3, html .text-2xl, html .text-xl { color: #0f172a; }
html .i-carbon-chart-pie, html .nav-icon { color: inherit; }

/* ============ 桌面端（>=1024px）：248px 平铺侧栏 ============ */
@media (min-width: 1024px) {
  html body .btm-tab { display: none !important; }
  html .w-screen.flex.overflow-hidden { padding-left: 248px !important; }
  html aside.hidden { display: none !important; }
}
#ui16-side { display: none; }
@media (min-width: 1024px) {
  #ui16-side {
    position: fixed; left: 0; top: 0; bottom: 0; width: 248px; z-index: 45;
    display: flex; flex-direction: column;
    background: #ffffff; border-right: 1px solid #f1f5f9;
    padding: 14px 12px 12px; font-family: "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
  }
}
#ui16-side .u16-brand { display: flex; align-items: center; gap: 10px; padding: 2px 6px 12px; }
#ui16-side .u16-brand img { width: 30px; height: 30px; border-radius: 8px; }
#ui16-side .u16-brand .t1 { font-size: 13.5px; font-weight: 700; color: #0f172a; line-height: 1.25; }
#ui16-side .u16-brand .t2 { font-size: 9.5px; letter-spacing: .08em; color: #94a3b8; font-family: ui-monospace, monospace; }
#ui16-side .u16-user {
  display: flex; align-items: center; gap: 9px; padding: 9px 10px; margin: 2px 0 10px;
  border: 1px solid #f1f5f9; border-radius: 10px; background: #fff;
}
#ui16-side .u16-user .av { width: 26px; height: 26px; border-radius: 50%; background: #f4f9f6; color: #1b4332; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
#ui16-side .u16-user .n { font-size: 13px; font-weight: 600; color: #0f172a; line-height: 1.2; }
#ui16-side .u16-user .s { font-size: 11px; color: #94a3b8; line-height: 1.35; }
#ui16-side .u16-sync {
  display: flex; width: 100%; align-items: center; justify-content: center; gap: 6px;
  height: 34px; margin-bottom: 12px; border: 1px solid #e2e8f0; border-radius: 10px;
  background: #fff; color: #0f172a; font-size: 12.5px; font-weight: 600; cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
#ui16-side .u16-sync:hover { background: #f8fafc; border-color: #cbd5e1; }
#ui16-side .u16-group { margin: 0 0 4px; }
#ui16-side .u16-label { padding: 8px 8px 4px; font-size: 10.5px; letter-spacing: .04em; color: #94a3b8; }
#ui16-side a.u16-nav {
  display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 8px; margin: 1px 0;
  border-radius: 9px; color: #334155; font-size: 13px; font-weight: 500; text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
#ui16-side a.u16-nav .ico, #ui16-drawer a.u16-nav .ico { width: 17px; height: 17px; flex: none; display: grid; place-items: center; color: #64748b; }
#ui16-side a.u16-nav .ico > *, #ui16-drawer a.u16-nav .ico > * { width: 17px !important; height: 17px !important; font-size: 17px !important; line-height: 1 !important; }
#ui16-side a.u16-nav:hover { background: #f8fafc; color: #0f172a; }
#ui16-side a.u16-nav.on { background: #f4f9f6; color: #1b4332; font-weight: 600; }
#ui16-side a.u16-nav.on .ico { color: #2d6a4f; }
#ui16-side .u16-foot { margin-top: auto; padding-top: 10px; border-top: 1px solid #f1f5f9; }
#ui16-side .u16-foot .row { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: #94a3b8; padding: 2px 6px 8px; }
#ui16-side .u16-foot .row b { color: #64748b; font-weight: 600; }
#ui16-side .u16-renew {
  width: 100%; height: 34px; border: 1px solid #e2e8f0; border-radius: 10px; background: #fff;
  color: #0f172a; font-size: 12.5px; font-weight: 600; cursor: pointer;
}

/* ============ 手机端（<1024px）：260px 抽屉 ============ */
#ui16-burger { display: none; }
@media (max-width: 1023px) {
  #ui16-burger {
    display: grid; place-items: center; position: fixed; left: 10px; top: 18px; z-index: 60;
    width: 36px; height: 36px; border-radius: 10px; border: 1px solid #f1f5f9; background: #fff;
    color: #0f172a; cursor: pointer; box-shadow: 0 1px 2px rgba(15, 23, 42, .06);
  }
  html body .btm-tab { display: none !important; }
  html body header.glass-panel.h-16 { margin-left: 52px !important; justify-content: flex-end !important; }
  html body header.glass-panel.h-16 > div:first-child { display: none !important; }
}
#ui16-drawer {
  position: fixed; left: 0; top: 0; bottom: 0; width: 260px; z-index: 80;
  background: #ffffff; border-right: 1px solid #f1f5f9;
  transform: translateX(-102%); transition: transform .22s cubic-bezier(.4, 0, .2, 1);
  display: flex; flex-direction: column; padding: 12px 10px; overflow-y: auto;
  font-family: "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
}
#ui16-drawer.open { transform: translateX(0); box-shadow: 0 12px 40px rgba(15, 23, 42, .16); }
#ui16-drawer .u16-dhead { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 10px; }
#ui16-drawer .u16-dhead .n { font-size: 13px; font-weight: 700; color: #0f172a; }
#ui16-drawer .u16-dhead button { width: 28px; height: 28px; border: 0; background: transparent; color: #94a3b8; font-size: 18px; cursor: pointer; }
#ui16-drawer a.u16-nav { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 8px; border-radius: 9px; color: #334155; font-size: 13.5px; text-decoration: none; }
#ui16-drawer a.u16-nav.on { background: #f4f9f6; color: #1b4332; font-weight: 600; }
#ui16-drawer .u16-label { padding: 10px 8px 4px; font-size: 10.5px; color: #94a3b8; }
#ui16-backdrop { position: fixed; inset: 0; background: rgba(15, 23, 42, .28); z-index: 79; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
#ui16-backdrop.open { opacity: 1; pointer-events: auto; }

/* 切换过渡：以点击起点扩散的圆形遮罩 */
#ui16-ripple { position: fixed; inset: 0; z-index: 200; pointer-events: none; background: #f8fafc; clip-path: circle(0 at 50% 50%); opacity: 0; }
#ui16-ripple.run { opacity: 1; animation: ui16-spread .34s cubic-bezier(.4, 0, .2, 1) forwards; }
@keyframes ui16-spread { from { clip-path: circle(0 at var(--ox) var(--oy)); } to { clip-path: circle(var(--or) at var(--ox) var(--oy)); } }
@media (prefers-reduced-motion: reduce) {
  #ui16-ripple, #ui16-ripple.run { display: none !important; }
  #ui16-drawer { transition: none !important; }
}

/* ---- 牧场页（独立静态应用）---- */
html body .u16-ranch-switch {
  position: fixed;
  z-index: 60;
  top: 14px;
  left: 14px;
  height: 36px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #0f172a;
  font-size: 13px;
  font-weight: 550;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
  cursor: pointer;
  transition: all .2s ease;
}
html body .u16-ranch-switch:hover { border-color: #c7e0d3; color: #1b4332; }
@media (max-width: 1023px) {
  html body .u16-ranch-switch { top: 10px; left: 10px; height: 32px; padding: 0 11px; font-size: 12px; }
}

/* ---- 桌面端弹窗宽度：mobile-fixes.css 的 .qq-mobile-panel 把 max-width 拉到满视口，
       桌面下弹窗会横跨整页。这里按 v16 收窄到表单宽度，手机端保持原样。 ---- */
@media (min-width: 1024px) {
  #app .qq-mobile-panel {
    max-width: min(560px, calc(100vw - 320px)) !important;
  }
  #app [class*="fixed inset-0"] { padding-left: 248px; }
  #app [class*="fixed inset-0"] > .qq-mobile-panel { margin-left: auto; margin-right: auto; }
}

/* ---- 牧场页 v16 外壳（桌面 248px 侧栏 / 手机 260px 抽屉）---- */
.u16-side {
  position: fixed; z-index: 40; inset: 0 auto 0 0; width: 248px;
  display: none; flex-direction: column; gap: 4px; padding: 18px 14px 14px;
  background: #ffffff; border-right: 1px solid #f1f5f9;
}
.u16-brand { display: flex; align-items: center; gap: 10px; padding: 2px 8px 14px; }
.u16-logo { width: 28px; height: 28px; border-radius: 9px; background: #f4f9f6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232d6a4f' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M7 17c0-5 4-9 10-10 1 6-3 11-8 11-1 0-2-.4-2-1z'/%3E%3Cpath d='M4 20c3-3 5-5 7-8'/%3E%3C/svg%3E") center/16px no-repeat; border: 1px solid #c7e0d3; }
.u16-name { font-size: 15px; font-weight: 650; color: #0f172a; letter-spacing: .01em; }
.u16-side .u16-sync, .u16-drawer .u16-sync {
  margin: 0 0 10px; height: 34px; border-radius: 9px; border: 1px solid #e5e7eb; background: #fff;
  color: #0f172a; font-size: 13px; font-weight: 550; cursor: pointer; transition: all .2s ease;
}
.u16-side .u16-sync:hover, .u16-drawer .u16-sync:hover { border-color: #c7e0d3; background: #f4f9f6; color: #1b4332; }
.u16-cap { padding: 12px 10px 6px; font-size: 11px; font-weight: 600; letter-spacing: .06em; color: #94a3b8; }
.u16-navs { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; }
.u16-nav {
  display: flex; align-items: center; height: 36px; padding: 0 10px; border-radius: 9px;
  font-size: 13.5px; color: #4f5462; text-decoration: none; transition: all .2s ease;
}
.u16-nav:hover { background: #f8fafc; color: #0f172a; }
.u16-nav.on { background: #f4f9f6; color: #1b4332; font-weight: 600; }
.u16-foot { border-top: 1px solid #f1f5f9; padding-top: 10px; margin-top: 8px; }
.u16-ws { font-size: 11.5px; color: #94a3b8; padding: 0 10px 8px; }
.u16-renew { display: block; height: 34px; line-height: 34px; text-align: center; border-radius: 9px; border: 1px solid #e5e7eb; font-size: 12.5px; color: #4f5462; text-decoration: none; }
.u16-renew:hover { border-color: #c7e0d3; color: #1b4332; background: #f4f9f6; }

.u16-burger {
  position: fixed; z-index: 50; top: 12px; left: 12px; width: 36px; height: 36px; display: none;
  align-items: center; justify-content: center; border-radius: 10px; border: 1px solid #e5e7eb;
  background: #fff; color: #0f172a; font-size: 16px; cursor: pointer; box-shadow: 0 1px 2px rgba(16,24,40,.05);
}
.u16-backdrop { position: fixed; z-index: 60; inset: 0; background: rgba(15,23,42,.32); display: none; }
.u16-backdrop.open { display: block; }
.u16-drawer {
  position: fixed; z-index: 61; top: 0; bottom: 0; left: 0; width: 260px; display: flex; flex-direction: column;
  gap: 4px; padding: 16px 14px; background: #fff; border-right: 1px solid #f1f5f9;
  transform: translateX(-100%); transition: transform .22s ease; overflow-y: auto;
}
.u16-drawer.open { transform: translateX(0); }
.u16-close { margin-left: auto; width: 30px; height: 30px; border: 0; background: transparent; font-size: 20px; color: #94a3b8; cursor: pointer; }

@media (min-width: 1024px) {
  html body .u16-side { display: flex; }
  html body .u16-burger { display: none !important; }
  html body #app > .n-config-provider { padding-left: 248px; }
  html body .adapter-tabs { display: none !important; }
  html body .adapter-bottom { display: none !important; }
  html body #u16-ranch-switch { left: 262px; }
}
@media (max-width: 1023px) {
  html body .u16-side { display: none !important; }
  html body .u16-burger { display: inline-flex; }
  html body .adapter-bottom { display: none !important; }
  html body .adapter-brand { padding-left: 56px !important; }
  html body #u16-ranch-switch { top: 10px; left: auto; right: 10px; height: 32px; padding: 0 11px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .u16-drawer { transition: none; }
}

/* ---- 牧场页沿用自身 CSS 变量（--ui-primary-fill 等）与 Naive UI，这里统一收到 v16 色板 ---- */
html body {
  --ui-primary-fill: #2d6a4f !important;
  --ui-bg-glow: rgba(199, 224, 211, .45) !important;
  --ui-bg-glow-2: rgba(226, 232, 240, .5) !important;
  --ui-bg: #f8fafc !important;
  --ui-bg-soft: #f4f9f6 !important;
  --chrome-bg: #ffffff !important;
  --app-bg: #f8fafc !important;
  --theme-bg: #f8fafc !important;
  --input-bg: #ffffff !important;
  --n-color-primary: #2d6a4f !important;
  --n-color-primary-hover: #245a42 !important;
  --n-color-primary-pressed: #1b4332 !important;
  --n-color-primary-focus: #2d6a4f !important;
}
html body .n-tabs-tab.n-tabs-tab--active .n-tabs-tab__label,
html body .n-tabs-tab.n-tabs-tab--active { color: #1b4332 !important; }
html body .n-tabs-bar { background-color: #2d6a4f !important; }
html body .n-tabs .n-tabs-tab:hover { color: #1b4332 !important; }

/* 牧场页沿用旧蓝色（.adapter-tabs 选中态、--ui-primary、--theme-primary-rgb）统一收口 */
html body {
  --ui-primary: #2d6a4f !important;
  --ui-primary-soft: #f4f9f6 !important;
  --ui-surface: #ffffff !important;
  --theme-primary-rgb: 45, 106, 79 !important;
}
html body .adapter-tabs { background: #ffffff !important; border-color: #f1f5f9 !important; }
html body .adapter-tabs button[aria-pressed="true"] { background: #2d6a4f !important; color: #ffffff !important; }
html body .adapter-tabs button[aria-pressed="false"] { color: #4f5462 !important; }

/* 桌面端顶部栏不再重复品牌（侧栏已有），只留右侧账号区 */
@media (min-width: 1024px) {
  html.ui16 main header,
  html.ui16 header.glass-panel {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    height: 56px !important;
    padding: 0 16px !important;
    margin: 8px 12px 0 !important;
    border-radius: 12px !important;
  }
  html.ui16 header.glass-panel > div:first-child { display: none !important; }
}

/* 牧场页 Naive UI 按钮 / 链接统一到 v16 主色 */
html body .ranch-adapter .n-button {
  --n-color: #2d6a4f;
  --n-color-hover: #245a42;
  --n-color-pressed: #1b4332;
  --n-color-focus: #2d6a4f;
  --n-text-color: #2d6a4f;
  --n-text-color-hover: #1b4332;
  --n-text-color-pressed: #1b4332;
  --n-text-color-focus: #1b4332;
  --n-border: 1px solid #e5e7eb;
  --n-border-hover: 1px solid #c7e0d3;
  --n-border-focus: 1px solid #c7e0d3;
  --n-border-pressed: 1px solid #c7e0d3;
}
html body .ranch-adapter .n-button--primary-type {
  --n-text-color: #ffffff;
  --n-text-color-hover: #ffffff;
  --n-text-color-pressed: #ffffff;
  --n-text-color-focus: #ffffff;
  --n-border: 1px solid #2d6a4f;
  --n-border-hover: 1px solid #245a42;
}

/* 落地页淡出遮罩：配合圆形扩散，避免跳转白屏 */
#ui16-reveal { position: fixed; inset: 0; z-index: 199; pointer-events: none; background: #f8fafc; opacity: 1; transition: opacity .22s ease-out; }
@media (prefers-reduced-motion: reduce) { #ui16-reveal { display: none !important; } }

/* ================= v16.1 布局收口：农场 hero 合并 / 牧场顶栏 / 跨页圆形展开 ================= */

/* 跨文档圆形展开：点击页把起点写进 sessionStorage，目标页 head 内联脚本还原为 --u16-* 变量。
   旧页保持可见，新页以圆从点击处展开；浏览器不支持时自然退化为直接跳转。 */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: none; opacity: 1; }
::view-transition-new(root) {
  animation: ui16-vt-circle .38s cubic-bezier(.4, 0, .2, 1) both;
  transform-origin: center;
}
@keyframes ui16-vt-circle {
  from { clip-path: circle(0 at var(--u16-ox, 50%) var(--u16-oy, 50%)); }
  to { clip-path: circle(var(--u16-or, 150vmax) at var(--u16-ox, 50%) var(--u16-oy, 50%)); }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
}

/* 顶部面包屑（农场 / 牧场共用） */
html .u16-crumb { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13px; color: #64748b; }
html .u16-crumb .root { color: #64748b; white-space: nowrap; }
html .u16-crumb .sep { color: #cbd5e1; }
html .u16-crumb .here { color: #0f172a; font-weight: 600; white-space: nowrap; }
html body .ranch-adapter .u16-crumb { flex: 0 0 auto; }
html .u16-crumb .sep { margin: 0 6px; color: #cbd5e1; }

/* ---- 农场桌面：顶部 56px 满宽白条 + 单张 hero 卡 ---- */
@media (min-width: 1024px) {
  html.ui16 main > header.glass-panel {
    display: flex !important; align-items: center !important; justify-content: space-between !important;
    height: 56px !important; min-height: 56px !important; margin: 0 !important; padding: 0 20px !important;
    border: 0 !important; border-bottom: 1px solid #f1f5f9 !important; border-radius: 0 !important;
    background: #ffffff !important; box-shadow: none !important; backdrop-filter: none !important;
    position: sticky !important; top: 0 !important; z-index: 30 !important;
  }
  html.ui16 main > header.glass-panel > div:first-child { display: none !important; }
  html.ui16 main > header.glass-panel .u16-crumb { margin-right: auto; }

  /* 内容列：前四块拼成一张 hero 白卡 */
  html.ui16 main .custom-scrollbar > div.flex.flex-col { gap: 0 !important; padding-bottom: 4px; }
  html.ui16 main .custom-scrollbar > div.flex.flex-col > section:nth-of-type(1) {
    border: 1px solid #f1f5f9 !important; border-bottom: 0 !important; border-radius: 14px 14px 0 0 !important;
    box-shadow: none !important; background: #ffffff !important; padding: 20px 22px 14px !important;
  }
  html.ui16 main .custom-scrollbar > div.flex.flex-col > section:nth-of-type(1) > div[class*="absolute"] { display: none !important; }
  html.ui16 main .custom-scrollbar > div.flex.flex-col > #qqfarm-user-membership-overview {
    display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 10px !important;
    background: #fff !important; padding: 0 22px 14px !important;
    border-left: 1px solid #f1f5f9 !important; border-right: 1px solid #f1f5f9 !important;
  }
  html.ui16 #qqfarm-user-membership-overview .qq-info-card {
    background: #fafafa !important; border: 0 !important; border-radius: 10px !important; padding: 10px 14px !important;
    box-shadow: none !important;
  }
  html.ui16 main .custom-scrollbar > div.flex.flex-col > section:nth-of-type(2) {
    background: #fff !important; padding: 0 22px 14px !important; gap: 10px !important;
    border-left: 1px solid #f1f5f9 !important; border-right: 1px solid #f1f5f9 !important;
  }
  html.ui16 main .custom-scrollbar > div.flex.flex-col > section:nth-of-type(2) > .ui-card {
    background: #fafafa !important; border: 0 !important; border-radius: 10px !important; box-shadow: none !important;
    padding: 12px 14px !important;
  }
  html.ui16 main .custom-scrollbar > div.flex.flex-col > section:nth-of-type(2) > .ui-card img { display: none !important; }
  html.ui16 main .custom-scrollbar > div.flex.flex-col > section:nth-of-type(2) > .ui-card > div:nth-child(2) { font-size: 22px !important; line-height: 1.2; }
  html.ui16 main .custom-scrollbar > div.flex.flex-col > section:nth-of-type(2) > .ui-card:nth-child(1) > div:nth-child(2) { color: #b45309 !important; }
  html.ui16 main .custom-scrollbar > div.flex.flex-col > section:nth-of-type(2) > .ui-card:nth-child(2) > div:nth-child(2) { color: #047857 !important; }
  html.ui16 main .custom-scrollbar > div.flex.flex-col > section:nth-of-type(2) > .ui-card:nth-child(3) > div:nth-child(2) { color: #0e7490 !important; }
  html.ui16 main .custom-scrollbar > div.flex.flex-col > section:nth-of-type(2) > .ui-card:nth-child(4) > div:nth-child(2) { color: #a16207 !important; }
  html.ui16 main .custom-scrollbar > div.flex.flex-col > section:nth-of-type(3) {
    border: 1px solid #f1f5f9 !important; border-top: 1px solid #f8fafc !important;
    border-radius: 0 0 14px 14px !important; box-shadow: none !important; background: #fff !important;
    padding: 10px 22px 14px !important; margin-bottom: 16px !important;
  }
  html.ui16 main .custom-scrollbar > div.flex.flex-col > section:nth-of-type(3) h3 { font-size: 12px !important; color: #64748b !important; margin: 0 0 8px !important; }
  html.ui16 main .custom-scrollbar > div.flex.flex-col > section:nth-of-type(3) .ui-subtle-panel { background: transparent !important; padding: 0 !important; text-align: left !important; }
  html.ui16 main .custom-scrollbar > div.flex.flex-col > section:nth-of-type(4) { margin-bottom: 16px !important; }
  html.ui16 main .custom-scrollbar > div.flex.flex-col > section:nth-of-type(5) { border-radius: 14px !important; }
  html.ui16 main .custom-scrollbar div[style*="conic-gradient"] { background: #f1f5f9 !important; }
}

/* ---- 牧场：56px 顶栏 + 朴素内容，去掉旧品牌条/返回条/大标题 ---- */
html body .ranch-adapter .adapter-brand { display: none !important; }
html body .ranch-adapter .adapter-back { display: none !important; }
html body .ranch-adapter .adapter-main { padding: 0 0 24px !important; }
html body .ranch-adapter .adapter-heading {
  position: sticky !important; top: 0 !important; z-index: 30 !important;
  display: flex !important; align-items: center !important; gap: 12px !important;
  height: 56px !important; min-height: 56px !important; margin: 0 !important; padding: 0 20px !important;
  background: #ffffff !important; border: 0 !important; border-bottom: 1px solid #f1f5f9 !important;
}
html body .ranch-adapter .adapter-heading h1,
html body .ranch-adapter .adapter-heading p { display: none !important; }
html body .ranch-adapter .adapter-heading > label { margin-left: auto !important; font-size: 11px !important; color: #94a3b8 !important; }
html body .ranch-adapter .adapter-heading select {
  height: 32px !important; flex: 0 0 auto !important; align-self: center !important; width: 168px !important;
  margin-left: 8px; padding: 0 28px 0 10px !important;
  border: 1px solid #e2e8f0 !important; border-radius: 8px !important; background: #fff !important;
  font-size: 12.5px !important; color: #0f172a !important; outline: none;
}
html body .ranch-adapter .page-stack { padding: 16px 20px !important; }
html body .ranch-adapter .n-tabs-tab [class*="i-carbon-"] { display: none !important; }
html body .ranch-adapter .n-tabs-tab { font-size: 13.5px !important; color: #64748b !important; }
html body .ranch-adapter .n-tabs-tab.n-tabs-tab--active { color: #1b4332 !important; font-weight: 600 !important; }

@media (max-width: 1023px) {
  html body .ranch-adapter .adapter-heading { padding: 0 14px 0 56px !important; flex-wrap: nowrap !important; }
  html body .ranch-adapter .adapter-heading > div:nth-child(2) { display: none !important; }
  html body .ranch-adapter .u16-crumb { min-width: 0; overflow: hidden; }
  html body .ranch-adapter .u16-crumb .here { overflow: hidden; text-overflow: ellipsis; }
  html body .ranch-adapter .adapter-heading h1 {
    display: none !important; margin: 0 !important; font-size: 15px !important; font-weight: 650 !important; color: #0f172a !important;
  }
  html body .ranch-adapter .adapter-heading > label {
    display: flex !important; flex: 0 0 auto !important; align-items: center !important; justify-content: flex-end !important;
    margin-left: auto !important; width: auto !important; max-width: 132px !important;
    font-size: 0 !important; color: transparent !important;
  }
  html body .ranch-adapter .adapter-heading select { height: 32px !important; flex: 0 0 auto !important; align-self: center !important; box-sizing: border-box !important; width: 108px !important; margin-left: auto; }
  html body .ranch-adapter .adapter-tabs { display: none !important; }
  html body .ranch-adapter .page-stack { padding: 12px 14px !important; }
  /* 四段页签在 390 宽不能横向溢出：缩字号、去图标、收内边距 */
  html body .ranch-adapter .n-tabs-tab { font-size: 13px !important; padding: 0 6px !important; }
  html body .ranch-adapter .n-tabs-tab .n-icon { display: none !important; }
  html body .ranch-adapter .n-tabs-tab [class*="i-carbon-"] { display: none !important; }
  html body .ranch-adapter .n-tabs-tab .n-tabs-tab-pad { display: none !important; }
  html body .ranch-adapter .n-tabs-nav-scroll-content { gap: 0 !important; }
  html body .ranch-adapter .n-tabs-tab + .n-tabs-tab { margin-left: 0 !important; }
}

/* ---- 农场手机：56px 满宽顶栏 + 收敛的状态卡/指标卡 ---- */
@media (max-width: 1023px) {
  html.ui16 main > header.glass-panel {
    margin: 0 !important; height: 56px !important; min-height: 56px !important;
    padding: 0 12px 0 56px !important; border: 0 !important; border-bottom: 1px solid #f1f5f9 !important;
    border-radius: 0 !important; background: #fff !important; box-shadow: none !important;
    justify-content: space-between !important; position: sticky !important; top: 0 !important; z-index: 30 !important;
  }
  html.ui16 main > header.glass-panel .u16-crumb .root,
  html.ui16 main > header.glass-panel .u16-crumb .sep { display: none !important; }
  html.ui16 main > header.glass-panel .u16-crumb { min-width: 0; overflow: hidden; margin-right: auto; }
  html.ui16 main > header.glass-panel .u16-crumb .here { font-size: 14px !important; font-weight: 600 !important; }
  html.ui16 main > header.glass-panel > div.relative { transform: scale(.88); transform-origin: right center; }

  html.ui16 main .custom-scrollbar { padding-left: 12px !important; padding-right: 12px !important; }
  html.ui16 main .custom-scrollbar > div.flex.flex-col { gap: 12px !important; }
  html.ui16 main .custom-scrollbar > div.flex.flex-col > section:nth-of-type(1) {
    border: 1px solid #f1f5f9 !important; border-radius: 14px !important; box-shadow: none !important;
    background: #fff !important; padding: 16px !important;
  }
  html.ui16 main .custom-scrollbar > div.flex.flex-col > section:nth-of-type(1) > div[class*="absolute"] { display: none !important; }
  html.ui16 #qqfarm-user-membership-overview .qq-info-card {
    background: #fff !important; border: 1px solid #f1f5f9 !important; border-radius: 12px !important; box-shadow: none !important;
  }
  html.ui16 main .custom-scrollbar > div.flex.flex-col > section:nth-of-type(2) > .ui-card {
    background: #fff !important; border: 1px solid #f1f5f9 !important; border-radius: 12px !important; box-shadow: none !important;
  }
  html.ui16 main .custom-scrollbar > div.flex.flex-col > section:nth-of-type(2) > .ui-card img { display: none !important; }
  html.ui16 main .custom-scrollbar > div.flex.flex-col > section:nth-of-type(2) > .ui-card:nth-child(1) > div:nth-child(2) { color: #b45309 !important; }
  html.ui16 main .custom-scrollbar > div.flex.flex-col > section:nth-of-type(2) > .ui-card:nth-child(2) > div:nth-child(2) { color: #047857 !important; }
  html.ui16 main .custom-scrollbar > div.flex.flex-col > section:nth-of-type(2) > .ui-card:nth-child(3) > div:nth-child(2) { color: #0e7490 !important; }
  html.ui16 main .custom-scrollbar > div.flex.flex-col > section:nth-of-type(2) > .ui-card:nth-child(4) > div:nth-child(2) { color: #a16207 !important; }
  html.ui16 main .custom-scrollbar div[style*="conic-gradient"] { background: #f1f5f9 !important; }
}

/* 独立页（购买/代理）在右侧内容框内打开，外壳与地址栏保持不变 */
#u16-embed{position:fixed;top:64px;right:0;bottom:0;left:248px;z-index:30;background:#f8fafc;border-top:1px solid #f1f5f9}
#u16-embed iframe{display:block;width:100%;height:100%;border:0;background:#fff}
html.u16-embedding main .custom-scrollbar{overflow:hidden}
@media (max-width:1023px){#u16-embed{left:0;top:56px}}

/* 硬编码的旧绿色按钮/标签统一到 v16 主色 */
html.ui16 :is(button,a)[style*="#16a34a"],
html.ui16 :is(button,a)[style*="#22c55e"],
html.ui16 :is(button,a)[style*="#10b981"],
html.ui16 :is(button,a)[style*="#059669"],
html.ui16 :is(button,a)[style*="rgb(34, 197, 94)"] {
  background: #2d6a4f !important; color: #fff !important; border-color: transparent !important;
}
html.ui16 :is(button,a)[style*="#16a34a"]:hover,
html.ui16 :is(button,a)[style*="#22c55e"]:hover,
html.ui16 :is(button,a)[style*="#10b981"]:hover,
html.ui16 :is(button,a)[style*="#059669"]:hover { background: #245741 !important; }
/* 旧页面也铺在 v16 的中性底上，避免整块彩色背景 */
html.ui16 main { background: transparent; }
html.ui16 main .custom-scrollbar { background: transparent; }

/* 旧业务页里的高饱和实心按钮统一收成白卡按钮，主色只保留给 v16 自己的主操作 */
html.ui16 main :is(button,a)[class*="bg-blue-"],
html.ui16 main :is(button,a)[class*="bg-indigo-"],
html.ui16 main :is(button,a)[class*="bg-violet-"],
html.ui16 main :is(button,a)[class*="bg-purple-"],
html.ui16 main :is(button,a)[class*="bg-fuchsia-"],
html.ui16 main :is(button,a)[class*="bg-pink-"],
html.ui16 main :is(button,a)[class*="bg-rose-"],
html.ui16 main :is(button,a)[class*="bg-red-"],
html.ui16 main :is(button,a)[class*="bg-orange-"],
html.ui16 main :is(button,a)[class*="bg-amber-"],
html.ui16 main :is(button,a)[class*="bg-yellow-"],
html.ui16 main :is(button,a)[class*="bg-lime-"],
html.ui16 main :is(button,a)[class*="bg-green-"],
html.ui16 main :is(button,a)[class*="bg-emerald-"],
html.ui16 main :is(button,a)[class*="bg-teal-"],
html.ui16 main :is(button,a)[class*="bg-cyan-"],
html.ui16 main :is(button,a)[class*="bg-sky-"] {
  background: #fff !important; color: #334155 !important; border: 1px solid #e2e8f0 !important;
  box-shadow: none !important;
}
html.ui16 main :is(button,a)[class*="bg-blue-"]:hover,
html.ui16 main :is(button,a)[class*="bg-indigo-"]:hover,
html.ui16 main :is(button,a)[class*="bg-violet-"]:hover,
html.ui16 main :is(button,a)[class*="bg-purple-"]:hover,
html.ui16 main :is(button,a)[class*="bg-fuchsia-"]:hover,
html.ui16 main :is(button,a)[class*="bg-pink-"]:hover,
html.ui16 main :is(button,a)[class*="bg-rose-"]:hover,
html.ui16 main :is(button,a)[class*="bg-red-"]:hover,
html.ui16 main :is(button,a)[class*="bg-orange-"]:hover,
html.ui16 main :is(button,a)[class*="bg-amber-"]:hover,
html.ui16 main :is(button,a)[class*="bg-yellow-"]:hover,
html.ui16 main :is(button,a)[class*="bg-lime-"]:hover,
html.ui16 main :is(button,a)[class*="bg-green-"]:hover,
html.ui16 main :is(button,a)[class*="bg-emerald-"]:hover,
html.ui16 main :is(button,a)[class*="bg-teal-"]:hover,
html.ui16 main :is(button,a)[class*="bg-cyan-"]:hover,
html.ui16 main :is(button,a)[class*="bg-sky-"]:hover { background: #f8fafc !important; }

/* 页面标题区（逐页版式第一层） */
.u16-pagehead { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; padding:6px 4px 14px; }
.u16-pagehead h1 { margin:0; font-size:20px; line-height:1.3; font-weight:700; color:#1e293b; letter-spacing:-.01em; }
.u16-pagehead p { margin:4px 0 0; font-size:13px; color:#64748b; }
@media (max-width:1023px){ .u16-pagehead{ padding:2px 2px 10px; } .u16-pagehead h1{ font-size:17px; } .u16-pagehead p{ font-size:12px; } }

/* 有页面标题区时隐藏页面自带的同名标题，避免重复 */
html.u16 main .custom-scrollbar > div > h1:first-of-type,
html.u16 main .custom-scrollbar > div > div > h1:first-child { display:none; }

/* ---- r6 批次 1：设置页与个人页版式 ---- */
html[data-u16route="/settings"] .settings-page { display:flex; flex-direction:column; gap:14px; }
html[data-u16route="/settings"] .settings-page > .u16-pagehead { order:-3; }
html[data-u16route="/settings"] .settings-page > div.mb-4 { display:none; }
html[data-u16route="/settings"] .settings-page > section {
  order:9; margin:0; background:#fff; border:1px solid #f1f5f9; border-radius:14px;
  padding:18px 20px; box-shadow:0 1px 2px rgba(15,23,42,.03);
}
html[data-u16route="/settings"] .settings-page > section h3 { margin:0 0 6px; font-size:15px; font-weight:650; color:#1e293b; }
html[data-u16route="/settings"] .settings-page > section p { margin:0 0 14px; font-size:12.5px; color:#64748b; line-height:1.6; }
html[data-u16route="/settings"] .settings-page > section label { display:inline-flex; flex-direction:column; gap:6px; margin:0 14px 0 0; font-size:12.5px; color:#475569; }
html[data-u16route="/settings"] .settings-page > section input {
  width:132px; height:36px; padding:0 12px; border:1px solid #e2e8f0; border-radius:9px;
  background:#fff; color:#0f172a; font-size:13px; outline:none;
}
html[data-u16route="/settings"] .settings-page > section input:focus { border-color:#2d6a4f; box-shadow:0 0 0 3px rgba(45,106,79,.10); }
html[data-u16route="/settings"] .settings-page > section > button {
  margin-top:14px; height:36px; padding:0 16px; border-radius:9px; border:1px solid #2d6a4f;
  background:#2d6a4f; color:#fff; font-size:13px; font-weight:600; cursor:pointer;
}
html[data-u16route="/settings"] .settings-page > section > button:hover { background:#245741; }
html[data-u16route="/settings"] .settings-page > .border.rounded-lg { order:0; border:1px solid #f1f5f9 !important; border-radius:14px; overflow:hidden; box-shadow:0 1px 2px rgba(15,23,42,.03); }
html[data-u16route="/settings"] .settings-page > .border.rounded-lg > .border-b nav { display:flex; gap:4px; padding:10px 14px 0; background:#fff; }
html[data-u16route="/settings"] .settings-page > .border.rounded-lg > .border-b nav button {
  border-radius:8px 8px 0 0; padding:8px 14px; font-size:13px; color:#64748b; background:transparent;
}
html[data-u16route="/settings"] .settings-page > .border.rounded-lg > .border-b nav button.text-white { background:#eef6f1 !important; color:#2d6a4f !important; box-shadow:inset 0 -2px 0 #2d6a4f; }
html[data-u16route="/personal"] main .custom-scrollbar > div { display:flex; flex-direction:column; gap:14px; }
html[data-u16route="/personal"] main .custom-scrollbar > div > .mb-4.flex.space-x-2 {
  width:fit-content; padding:4px; gap:2px; background:#f1f5f9; border-radius:10px;
}
html[data-u16route="/personal"] main .custom-scrollbar > div > .mb-4.flex.space-x-2 > button {
  border-radius:8px; padding:6px 14px; font-size:13px; color:#64748b; background:transparent; border:0;
}
html[data-u16route="/personal"] main .custom-scrollbar > div > .mb-4.flex.space-x-2 > button.text-white { background:#fff !important; color:#0f172a !important; box-shadow:0 1px 2px rgba(15,23,42,.08); }
html[data-u16route="/personal"] main .custom-scrollbar > div > .flex-1 {
  background:#fff; border:1px solid #f1f5f9; border-radius:14px; box-shadow:0 1px 2px rgba(15,23,42,.03);
}

/* ---- r6 批次 1B：个人页内容态 ---- */
html[data-u16route="/personal"] .u16-vue-hidden { display:none !important; }
#u16-lands { display:flex; flex-direction:column; gap:14px; }
.u16-lands-head { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:20px 22px; background:#fff; border:1px solid #f1f5f9; border-radius:14px; }
.u16-lands-head h2 { margin:0; font-size:16px; font-weight:650; color:#1e293b; }
.u16-lands-head p { margin:5px 0 0; font-size:12.5px; color:#64748b; }
.u16-lands-actions { display:flex; gap:8px; flex-wrap:wrap; }
.u16-btn { height:36px; padding:0 14px; border-radius:9px; border:1px solid #e2e8f0; background:#fff; color:#334155; font-size:13px; font-weight:550; cursor:pointer; transition:all .2s; }
.u16-btn:hover { border-color:#cbd5e1; background:#f8fafc; }
.u16-btn.primary { background:#2d6a4f; border-color:#2d6a4f; color:#fff; }
.u16-btn.primary:hover { background:#245741; }
.u16-btn.danger { color:#b91c1c; border-color:#fecaca; }
.u16-gift { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:16px 20px; background:#f0f7f2; border:1px solid #d9ece0; border-radius:14px; }
.u16-gift b { display:block; font-size:14px; color:#1e293b; }
.u16-gift span { display:block; margin-top:4px; font-size:12.5px; color:#64748b; }
.u16-gift-actions { display:flex; gap:8px; }
.u16-land-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.u16-land-card { display:flex; flex-direction:column; gap:8px; padding:14px 16px 16px; background:#fff; border:1px solid #f1f5f9; border-radius:14px; transition:all .2s; }
.u16-land-card:hover { border-color:#dbe3ea; box-shadow:0 3px 10px rgba(15,23,42,.05); }
.u16-land-card .lc-top { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.u16-land-card .lc-id { font-size:12px; color:#64748b; }
.u16-land-card .lc-st { font-size:11.5px; padding:2px 8px; border-radius:999px; background:#f1f5f9; color:#475569; }
.u16-land-card .lc-st.ok { background:#e6f4ec; color:#2d6a4f; }
.u16-land-card .lc-st.warn { background:#fef3e2; color:#b45309; }
.u16-land-card .lc-st.grow { background:#eef6f1; color:#2d6a4f; }
.u16-land-card .lc-crop { display:flex; align-items:baseline; gap:6px; font-size:15px; font-weight:650; color:#1e293b; }
.u16-land-card .lc-lv { font-size:11px; font-weight:500; color:#94a3b8; }
.u16-land-card .lc-sub { min-height:18px; font-size:12px; color:#64748b; }
.u16-lands-note { margin:0; padding:12px 14px; font-size:12px; color:#94a3b8; background:#fff; border:1px dashed #e2e8f0; border-radius:12px; }
@media (max-width:1023px){ .u16-land-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); } .u16-lands-head{ flex-direction:column; align-items:flex-start; } .u16-gift{ flex-direction:column; align-items:flex-start; } }

/* 侧栏沿用纯文字排版，隐藏装饰图标字体，避免缺字方块 */
#ui16-side [class*="i-carbon-"], #ui16-drawer [class*="i-carbon-"] { display:none !important; }
html[data-u16route="/personal"] main .custom-scrollbar > div > .mb-4.flex.space-x-2 > button [class*="i-carbon-"] { display:none !important; }
html[data-u16route="/personal"] main .custom-scrollbar > div > .mb-4.flex.space-x-2 > button { white-space:nowrap; }
@media (max-width:1023px){
  html[data-u16route="/personal"] main .custom-scrollbar > div > .mb-4.flex.space-x-2 { width:100%; }
  html[data-u16route="/personal"] main .custom-scrollbar > div > .mb-4.flex.space-x-2 > button { flex:1 1 0; padding:7px 6px; font-size:12.5px; }
}
.u16-land-card .lc-st{white-space:nowrap}
.u16-btn[disabled]{opacity:.55;cursor:not-allowed;background:#f8fafc;color:#94a3b8;border-color:#e2e8f0}
.u16-land-card .lc-chips { display:flex; flex-wrap:wrap; gap:6px; }
.u16-land-card .u16-land-open { margin-top:auto; height:32px; padding:0 10px; font-size:12px; }
.u16-toast { position:fixed; left:50%; bottom:36px; transform:translate(-50%,12px); z-index:120; max-width:min(520px,88vw); padding:10px 16px; border-radius:10px; background:#0f172a; color:#fff; font-size:13px; opacity:0; pointer-events:none; transition:all .2s; }
.u16-toast.show { opacity:1; transform:translate(-50%,0); }
.u16-noacct { padding:12px 16px; border:1px solid #fde68a; background:#fffbeb; color:#92400e; border-radius:12px; font-size:13px; }
#u16-vue-card.u16-flash { outline:2px solid #2d6a4f; outline-offset:3px; }
/* 设置页：顶部四页签 + 三列；站点设置卡留在原位，仅用网格定位（13 号稿） */
html[data-u16route="/settings"] .settings-page{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.75fr) minmax(0,1.05fr);column-gap:14px;row-gap:16px;align-items:start}
.settings-page > *{margin-top:0!important;min-width:0}
.settings-page > #u16-pagehead{grid-column:1/-1}
.settings-page > .mb-4{display:none!important}
.settings-page > div.border.rounded-lg{grid-column:2;border:1px solid #eef1f0!important;border-radius:14px!important;box-shadow:none!important;overflow:hidden}
.settings-page > div.border.rounded-lg > div.border-b{display:none!important}
.settings-page > div.border.rounded-lg .farm-settings-with-extensions>.space-y-5>.grid{grid-template-columns:1fr!important;gap:10px!important}
#u16-set4{grid-column:1/-1;display:flex;flex-direction:column;gap:12px}
#u16-s4-left{grid-column:1}
#u16-s4-right{grid-column:3}
#u16-s4-sechost{grid-column:1/-1;display:flex;flex-direction:column;gap:10px}
#u16-s4-sechost > section{margin:0!important}
#u16-s4-sechost:empty{display:none}
.u16-set4-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.u16-set4-pills{display:flex;gap:6px;flex:1 1 auto;min-width:0;flex-wrap:wrap}
.u16-set4-pill{display:inline-flex;align-items:center;gap:7px;height:36px;padding:0 13px;border:1px solid transparent;border-radius:10px;background:transparent;color:#64748b;font-size:12.5px;font-weight:500;cursor:pointer;transition:all .2s;white-space:nowrap;font-family:inherit}
.u16-set4-pill i{width:18px;height:18px;border-radius:999px;background:#eef2f1;color:#64748b;font-style:normal;font-size:10.5px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;flex:none}
.u16-set4-pill em{font-style:normal;font-size:10.5px;color:#94a3b8;font-weight:400}
.u16-set4-pill:hover{background:#f6f8f7;color:#334155}
.u16-set4-pill.on{background:#fff;border-color:#e6ece9;color:#14532d;box-shadow:0 1px 2px rgba(15,23,42,.04)}
.u16-set4-pill.on i{background:#2d6a4f;color:#fff}
.u16-set4-pill.on em{color:#2d6a4f;opacity:.8}
.s4-pane{background:#fff;border:1px solid #eef1f0;border-radius:14px;padding:16px;display:flex;flex-direction:column;gap:14px;min-width:0}
.s4-sec+.s4-sec{padding-top:12px;border-top:1px solid #f1f5f4}
.s4-sec h4{margin:0 0 10px;font-size:12.5px;font-weight:600;color:#0f172a;letter-spacing:.01em}
.s4-kv{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:#64748b;padding:3px 0}
.s4-kv b{color:#0f172a;font-weight:500;text-align:right;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.s4-k{color:#94a3b8;font-size:10px;width:22px;flex:none}
.s4-link{border:0;background:none;color:#2d6a4f;font-size:11px;cursor:pointer;padding:0;font-family:inherit}
.s4-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}
.s4-btn{height:30px;padding:0 11px;font-size:12px;border:1px solid #e6ece9;border-radius:8px;background:#fff;color:#334155;cursor:pointer;transition:all .2s;font-family:inherit}
.s4-btn:hover{border-color:#cfdcd5;color:#14532d}
.s4-btn.primary{background:#2d6a4f;border-color:#2d6a4f;color:#fff}
.s4-btn.primary:hover{background:#245c43}
.s4-code{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:10px;padding-top:10px;border-top:1px dashed #eef2f1;font-size:12px;color:#64748b}
.s4-code b{margin-left:auto;color:#0f172a;font-weight:500}
.s4-warn{margin-top:10px;padding:9px 11px;border-radius:9px;background:#f8fafc;border:1px solid #eef2f1;color:#94a3b8;font-size:11px;line-height:1.55}
.u16-focus-ring{outline:2px solid #2d6a4f!important;outline-offset:2px;border-radius:8px}
@media (max-width:1279px){.settings-page{grid-template-columns:minmax(0,.9fr) minmax(0,1.6fr) minmax(0,1fr)}}
@media (max-width:1023px){
 html[data-u16route="/settings"] .settings-page{display:grid!important;grid-template-columns:minmax(0,1fr)!important;row-gap:14px}
 .settings-page > #u16-pagehead,.settings-page > #u16-set4,.settings-page > #u16-s4-left,.settings-page > #u16-s4-right,.settings-page > #u16-s4-sechost,.settings-page > div.border.rounded-lg{grid-column:1!important}
 .settings-page > #u16-pagehead{order:1!important}
 #u16-set4{order:2!important}
 .settings-page > div.border.rounded-lg{order:3!important}
 #u16-s4-left{order:4!important}
 #u16-s4-right{order:5!important}
 #u16-s4-sechost{order:6!important}
 .u16-set4-head{flex-direction:column;align-items:stretch;width:100%;min-width:0}
 .u16-set4-pills{width:100%;max-width:100%;flex-wrap:nowrap;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}
 .u16-set4-pills::-webkit-scrollbar{display:none}
}
