
/* ============================================================
   bbsyx.cn UI Polish · 2026-11-27
   统一按钮高度、字号层级、横屏容器与大屏留白。
   仅做视觉层，不改任何业务结构与交互。
   ============================================================ */

:root{
  --ui-btn-h:48px;
  --ui-btn-h-lg:52px;
  --ui-radius:14px;
  --ui-focus:#2f6fed;
}

/* ---------- 公共营销页：容器与顶部导航 ---------- */
body.product .shell,
body.download-hub .shell,
body.cs-download .shell{width:min(1680px,calc(100% - 64px))}
body.account .shell{width:min(1480px,calc(100% - 64px))}

body.product .topbar,
body.download-hub .topbar,
body.cs-download .topbar,
body.account .topbar{height:92px;gap:24px}

body.product .brand,
body.download-hub .brand,
body.cs-download .brand,
body.account .brand{gap:14px;font-size:17.5px;letter-spacing:0}
body.product .brand img,
body.download-hub .brand img,
body.cs-download .brand img,
body.account .brand img{width:48px;height:48px;border-radius:16px}
body.product .brand small,
body.download-hub .brand small,
body.cs-download .brand small,
body.account .brand small{font-size:10.5px;letter-spacing:.13em}

body.product .nav,
body.download-hub .nav,
body.cs-download .nav,
body.account .nav{font-size:15.5px;gap:8px}
body.product .nav a,
body.download-hub .nav a,
body.cs-download .nav a,
body.account .nav a{padding:11px 16px}
body.product .nav .login,
body.download-hub .nav .login,
body.cs-download .nav .login,
body.account .nav .login{display:inline-flex;align-items:center;min-height:46px;padding:0 22px;font-size:15.5px}

body.product .btn,
body.download-hub .btn,
body.cs-download .btn{min-height:50px;padding:0 24px;border-radius:var(--ui-radius);font-size:15.5px}
body.home .btn{min-height:48px;padding:11px 20px;font-size:15.5px}
body.product .btn:focus-visible,
body.download-hub .btn:focus-visible,
body.cs-download .btn:focus-visible,
body.account .btn:focus-visible,
body.home .btn:focus-visible{outline:2px solid rgba(47,111,237,.5);outline-offset:3px}

/* ---------- 内容生成台产品页 ---------- */
body.product .product-page{padding:64px 0 56px;grid-template-columns:.95fr 1.05fr;gap:64px}
body.product .big-icon{width:88px;height:88px;border-radius:26px;font-size:36px}
body.product .eyebrow{padding:9px 15px;font-size:14px}
body.product h1{font-size:clamp(52px,4.6vw,78px);letter-spacing:-.052em}
body.product .lead{max-width:700px;font-size:18px;line-height:1.95}
body.product .hero-actions{gap:12px;margin-top:30px}
body.product .download-panel{padding:42px;border-radius:34px}
body.product .download-panel h2{font-size:30px;letter-spacing:-.03em}
body.product .download-panel p{font-size:15px!important;line-height:1.8!important}
body.product .big-download{min-height:62px;margin-top:26px;border-radius:18px;font-size:18.5px;letter-spacing:.01em}
body.product .meta{gap:12px;margin-top:20px}
body.product .meta-box{padding:14px 16px;border-radius:14px;font-size:13px}
body.product .meta-box b{font-size:16.5px;margin-top:4px}
body.product .hash{padding:12px 14px;border-radius:12px;font-size:12px;line-height:1.65}
body.product .alt{gap:10px;margin-top:18px}
body.product .alt .btn{min-height:44px;padding:0 16px;font-size:14.5px}

body.product .section{padding:48px 0}
body.product .section-head{margin-bottom:26px}
body.product .section-head h2{font-size:clamp(32px,2.8vw,44px)}
body.product .section-head p{max-width:660px;font-size:16.5px;line-height:1.8}
body.product .feature-list{gap:16px;margin-top:32px}
body.product .feature-chip{padding:22px 24px;border-radius:20px;font-size:15.5px;line-height:1.75}
body.product .feature-chip b{font-size:17px;margin-bottom:5px}
body.product .steps{gap:16px}
body.product .step{padding:26px;border-radius:22px}
body.product .step b{width:36px;height:36px;margin-bottom:14px;font-size:14px}
body.product .step h4{font-size:18px;letter-spacing:-.01em}
body.product .step p{margin-top:6px;font-size:14.5px;line-height:1.7}

/* ---------- 软件下载中心 / 完整版本页 ---------- */
body.download-hub .dl-hero,
body.cs-download .dl-hero{padding:56px 0 38px;gap:48px}
body.download-hub .dl-kicker,
body.cs-download .dl-kicker{padding:9px 15px;font-size:13.5px}
body.download-hub .dl-hero h1,
body.cs-download .dl-hero h1{font-size:clamp(46px,4.4vw,68px);margin:22px 0 18px}
body.download-hub .dl-hero .lead,
body.cs-download .dl-hero .lead{max-width:700px;font-size:18px;line-height:1.95}
body.download-hub .dl-badges,
body.cs-download .dl-badges{gap:10px;margin-top:24px}
body.download-hub .dl-badges span,
body.cs-download .dl-badges span{padding:8px 14px;font-size:13.5px}
body.download-hub .dl-help{padding:34px;border-radius:30px}
body.download-hub .dl-help h2{margin-bottom:18px;font-size:22px}
body.download-hub .dl-help ol{gap:14px}
body.download-hub .dl-help li{gap:12px;font-size:15px;line-height:1.7}
body.download-hub .dl-help b{width:30px;height:30px;font-size:13.5px}

body.download-hub .dl-grid,
body.cs-download .dl-grid{gap:26px;padding:12px 0 26px}
body.download-hub .dl-card,
body.cs-download .dl-card{padding:34px;border-radius:32px;gap:15px}
body.download-hub .dl-icon,
body.cs-download .dl-icon{width:62px;height:62px;border-radius:20px;font-size:27px}
body.download-hub .dl-card h3,
body.cs-download .dl-card h3{font-size:26px}
body.download-hub .dl-card .sub,
body.cs-download .dl-card .sub{margin-top:4px;font-size:14px}
body.download-hub .dl-ver,
body.cs-download .dl-ver{padding:7px 12px;font-size:13px}
body.download-hub .dl-meta,
body.cs-download .dl-meta{gap:12px;margin-top:4px}
body.download-hub .dl-meta div,
body.cs-download .dl-meta div{padding:13px 15px;border-radius:14px;font-size:13px}
body.download-hub .dl-meta b,
body.cs-download .dl-meta b{margin-top:4px;font-size:15.5px}
body.download-hub .dl-btn,
body.cs-download .dl-btn{min-height:58px;border-radius:16px;font-size:17.5px}
body.download-hub .dl-includes,
body.cs-download .dl-includes{gap:7px;margin-top:4px}
body.download-hub .dl-includes span,
body.cs-download .dl-includes span{padding:7px 11px;font-size:12.5px}
body.download-hub .dl-links,
body.cs-download .dl-links{gap:9px}
body.download-hub .dl-links a,
body.cs-download .dl-links a{padding:9px 14px;font-size:13.5px}
body.download-hub .dl-hash,
body.cs-download .dl-hash{padding:11px 14px;font-size:11.5px;line-height:1.65}
body.download-hub .dl-note,
body.cs-download .dl-note{padding:24px 26px;border-radius:24px;font-size:15px;line-height:1.85}
body.download-hub .dl-sync{font-size:12.5px}

body.cs-download .dl-section{padding:34px 0}
body.cs-download .dl-section-head{margin-bottom:22px}
body.cs-download .dl-section-head h2{font-size:clamp(30px,2.6vw,42px)}
body.cs-download .dl-section-head p{max-width:660px;font-size:16px}
body.cs-download .dl-notes li{font-size:15px;line-height:1.75}
body.cs-download .dl-notes i{width:22px;height:22px;font-size:12px}
body.cs-download .dl-features{gap:16px}
body.cs-download .dl-feature{padding:24px;border-radius:20px;font-size:15px;line-height:1.75}
body.cs-download .dl-feature b{margin-bottom:6px;font-size:17px}
body.cs-download .dl-steps{gap:16px}
body.cs-download .dl-step{padding:24px;border-radius:20px}
body.cs-download .dl-step b{width:36px;height:36px;margin-bottom:13px;font-size:14px}
body.cs-download .dl-step h4{font-size:17px}
body.cs-download .dl-step p{margin-top:5px;font-size:14.5px;line-height:1.7}

/* ---------- 登录 / 注册 ---------- */
body.account .auth-page{min-height:calc(100vh - 92px);padding:56px 0 72px;grid-template-columns:1.04fr .96fr;gap:48px}
body.account .auth-intro{padding:56px;border-radius:36px}
body.account .auth-intro .eyebrow{font-size:13.5px}
body.account .auth-intro h2{font-size:clamp(40px,3.3vw,58px);margin:20px 0 18px}
body.account .auth-intro p{font-size:17px;line-height:1.95}
body.account .auth-points{margin-top:24px}
body.account .auth-points li{font-size:15.5px;line-height:1.7;margin-top:14px}
body.account .auth-card{padding:44px;border-radius:34px}
body.account .auth-card h1{font-size:36px;letter-spacing:-.03em}
body.account .auth-card .sub{font-size:15.5px;line-height:1.7}
body.account .tabs{margin:28px 0 24px;padding:6px;border-radius:15px}
body.account .tabs button{padding:12px 10px;border-radius:11px;font-size:15.5px!important;white-space:nowrap}
body.account .field{gap:7px;margin-top:16px}
body.account .field label{font-size:14px!important}
body.account .field input{height:50px;padding:0 15px;border-radius:12px;font-size:15.5px!important}
body.account .auth-submit{height:54px;margin-top:24px;border-radius:14px;font-size:17px!important}
body.account .auth-foot{margin-top:22px;font-size:13.5px;line-height:1.7}
body.account .auth-qr-card{grid-template-columns:150px minmax(0,1fr);gap:18px;padding:16px;border-radius:26px}
body.account .auth-qr-frame{width:150px;height:150px;border-radius:22px;padding:9px}
body.account .auth-qr-side{gap:8px}
body.account .auth-qr-side>strong{font-size:20px!important}
body.account .auth-qr-side>p{font-size:14px!important}
body.account .auth-qr-expire{font-size:12.5px}
body.account .auth-qr-refresh{font-size:12.5px!important;white-space:nowrap}
body.account .auth-qr-channel{min-height:34px;font-size:12.5px!important;white-space:nowrap;flex-wrap:nowrap}
body.account .auth-qr-channel span{white-space:nowrap}
body.account .auth-qr-channel i{width:24px;height:24px;font-size:12px}
body.account .auth-qr-security{font-size:12px;line-height:1.7}

/* ---------- 用户后台 / 管理员后台 ---------- */
body.console{--console-rail:clamp(252px,18vw,284px)}
body.console .rail{width:var(--console-rail);padding:28px 20px}
body.console .main{margin-left:var(--console-rail);max-width:1680px;padding:32px clamp(24px,2.4vw,48px) 64px}
body.console .brand{padding:2px 4px 22px;gap:13px;font-size:17.5px}
body.console .brand img{width:48px;height:48px;border-radius:16px}
body.console .brand small{font-size:10.5px}
body.console .rail-nav{margin-top:18px;gap:6px}
body.console .rail-nav a{padding:12px 14px;border-radius:12px;gap:12px;font-size:15.5px}
body.console .rail-nav .nav-ico{width:34px;height:34px;border-radius:10px;font-size:15px}
body.console .rail-foot{padding:18px;border-radius:20px}
body.console .rail-user{gap:11px}
body.console .avatar{width:42px;height:42px;font-size:15px}
body.console .rail-user b{font-size:15.5px;max-width:150px}
body.console .rail-user span{font-size:13px}
body.console .rail-foot button{padding:10px;border-radius:10px;font-size:12.5px;margin-top:12px}

body.console .main-head{gap:24px;margin-bottom:28px}
body.console .kicker{font-size:12.5px;letter-spacing:.16em}
body.console .main-head h1{font-size:clamp(34px,2.6vw,46px);margin-top:7px}
body.console .main-head p{max-width:980px;font-size:15.5px;line-height:1.75;margin-top:8px}
body.console .head-actions{gap:10px}
body.console .btn{min-height:44px;padding:0 18px;border-radius:12px;font-size:15px}
body.console .head-actions .btn{min-height:46px}
body.console .btn:focus-visible,
body.console button:focus-visible{outline:2px solid rgba(47,111,237,.45);outline-offset:2px}

body.console .summary{gap:16px}
body.console .stat{padding:24px;border-radius:22px}
body.console .stat .icon{width:44px;height:44px;font-size:17px;margin-bottom:14px}
body.console .stat b{font-size:clamp(30px,2vw,38px)}
body.console .stat span{margin-top:5px;font-size:14px}

body.console .section{margin-top:36px}
body.console .section-title{gap:20px;margin-bottom:18px}
body.console .section-title h2{font-size:clamp(24px,2vw,30px)}
body.console .section-title p{margin-top:5px;font-size:15px;line-height:1.7}
body.console .notice{padding:16px 18px;border-radius:14px;font-size:14.5px;line-height:1.8;margin-bottom:18px}

body.console .plans{gap:18px}
body.console .plan{padding:26px;border-radius:24px}
body.console .plan .tag{font-size:12px;padding:5px 10px}
body.console .plan h3{font-size:21px}
body.console .plan .price{font-size:34px}
body.console .plan li{font-size:14px;line-height:1.75}

body.console .serials{gap:16px}
body.console .serial-card{padding:24px;border-radius:22px}
body.console .serial-top{gap:18px}
body.console .serial-name{font-size:18px}
body.console .serial-badges{gap:7px;margin-top:8px}
body.console .badge{padding:5px 10px;font-size:12px}
body.console .serial-code{margin-top:14px;padding:12px 14px;border-radius:11px;font-size:14px;line-height:1.6}
body.console .serial-code button{padding:4px 9px;font-size:12px;border-radius:8px}
body.console .serial-meta{gap:12px;margin-top:14px}
body.console .meta-box{padding:12px 14px;border-radius:12px;font-size:12.5px}
body.console .meta-box b{margin-top:4px;font-size:14.5px}
body.console .devices{gap:8px;margin-top:12px}
body.console .device{padding:10px 12px;border-radius:11px;font-size:13.5px}
body.console .device code{font-size:13px}
body.console .device .btn{padding:7px 10px;border-radius:9px;font-size:12.5px}
body.console .serial-actions{gap:10px;margin-top:14px}
body.console .serial-actions .btn{font-size:14px}
body.console .empty{padding:36px;font-size:14.5px;border-radius:20px}
body.console .table-wrap{border-radius:20px}
body.console table{font-size:14.5px}
body.console th{padding:13px 16px;font-size:12.5px}
body.console td{padding:14px 16px}
body.console .status{padding:4px 9px;font-size:12px}
body.console .help{padding:26px;border-radius:24px;gap:20px}
body.console .help b{font-size:17px}
body.console .help p{margin-top:5px;font-size:14.5px;line-height:1.75}
body.console .footer-note{padding-top:34px;font-size:12.5px}
body.console .loading{font-size:14px}
body.console dialog{border-radius:22px}
body.console .dialog-inner{padding:28px}
body.console .dialog-inner h3{font-size:22px}
body.console .dialog-inner p{font-size:14.5px;line-height:1.8}
body.console .dialog-actions{gap:10px;margin-top:24px}
body.console .toast{padding:13px 20px;font-size:14px;border-radius:13px}

/* 管理员后台：表单与列表 */
html.admin-ready body.console .issue-grid{gap:28px;margin-top:18px}
html.admin-ready body.console .field{font-size:14px;gap:8px}
html.admin-ready body.console .field input,
html.admin-ready body.console .field select{min-height:48px;padding:12px 14px;border-radius:12px;font-size:15px}
html.admin-ready body.console .user-results{gap:9px;margin-top:12px}
html.admin-ready body.console .user-row{padding:12px 14px;border-radius:13px}
html.admin-ready body.console .user-row b{font-size:15px}
html.admin-ready body.console .user-row small{margin-top:3px;font-size:13px}
html.admin-ready body.console .serial-tag{padding:5px 10px;font-size:12px}
html.admin-ready body.console .selected-user{padding:14px 16px;border-radius:13px;font-size:14px}
html.admin-ready body.console .selected-user b{font-size:15.5px}
html.admin-ready body.console .selected-user button{font-size:13px}
html.admin-ready body.console .issue-actions{gap:10px}
html.admin-ready body.console .issue-actions .btn{min-width:140px}
html.admin-ready body.console .admin-table-head{padding:12px 6px 13px;font-size:12.5px}
html.admin-ready body.console .admin-row{padding:20px 8px}
html.admin-ready body.console .admin-owner{margin-bottom:4px;font-size:13px}
html.admin-ready body.console .serial-name{font-size:18px}
html.admin-ready body.console .admin-meta{gap:10px}
html.admin-ready body.console .admin-meta .meta-box{padding:12px 14px;border-radius:11px;font-size:12.5px}
html.admin-ready body.console .admin-meta .meta-box b{margin-top:3px;font-size:14.5px}
html.admin-ready body.console .admin-usage{padding:12px 14px;border-radius:11px;font-size:13.5px;line-height:1.6}
html.admin-ready body.console .admin-actions{gap:8px}
html.admin-ready body.console .admin-actions .btn{padding:9px 12px;border-radius:9px;font-size:13px;min-height:38px}
html.admin-ready body.console .admin-edit summary{font-size:13.5px}
html.admin-ready body.console .admin-edit form{padding:15px;border-radius:13px;gap:12px;margin-top:12px}
html.admin-ready body.console .admin-edit .field{font-size:12.5px}
html.admin-ready body.console .admin-edit .field input,
html.admin-ready body.console .admin-edit .field select{min-height:42px;padding:9px 12px;font-size:14px}
html.admin-ready body.console .admin-empty{padding:36px;font-size:14.5px;border-radius:16px}
html.admin-ready body.console .rail-actions{gap:8px;margin-top:12px}
html.admin-ready body.console .rail-actions a,
html.admin-ready body.console .rail-actions button{padding:9px 6px;border-radius:10px;font-size:12.5px}

/* ============================================================
   饱巴适应用端：大屏容器、字号、店铺卡片
   ============================================================ */
body[data-app-view] .app-main > .page-section{max-width:1760px;margin-left:auto!important;margin-right:auto!important}
body[data-app-view="tasks"] .app-main > #tasks-view{max-width:1580px}
body[data-app-view="baobashiShop"] .app-main > #baobashi-shop-view{max-width:1760px}
body[data-app-view="lobby"] .app-main{padding-bottom:230px!important}

body[data-app-view] .nav-button{letter-spacing:.01em}
body[data-app-view] .profile-trigger-kicker{font-size:12px!important}
body[data-app-view] .profile-trigger-copy strong{font-size:15.5px!important}
body[data-app-view] .profile-trigger-id,
body[data-app-view] .profile-trigger-meta{font-size:12.5px!important}
body[data-app-view] .profile-trigger-wallet-cell small{font-size:12px!important}
body[data-app-view] .profile-trigger-balance{font-size:17px!important}

/* 大厅卡片：标题与辅助信息统一抬一档 */
body[data-app-view="lobby"] .lobby-feature-copy>strong{font-size:clamp(20px,1.28vw,23px)!important}
body[data-app-view="lobby"] .lobby-feature-copy>small{font-size:14.5px!important;line-height:1.55!important}
body[data-app-view="lobby"] .lobby-card-services b,
body[data-app-view="lobby"] .lobby-card-meta span,
body[data-app-view="lobby"] .lobby-online-pill{font-size:13.5px!important}
body[data-app-view="lobby"] .lobby-section-heading h2,
body[data-app-view="lobby"] .lobby-featured-heading h2{font-size:clamp(26px,1.8vw,32px)!important}
body[data-app-view="lobby"] .lobby-mini-card strong{font-size:15.5px!important}

/* 任务大厅 */
body[data-app-view="tasks"] #tasks-view .task-market-layout{grid-template-columns:minmax(0,1fr) 400px!important;gap:26px!important}
body[data-app-view="tasks"] .task-hall-hero{min-height:300px}
body[data-app-view="tasks"] .task-hall-hero h1{font-size:clamp(44px,3.5vw,62px)!important}
body[data-app-view="tasks"] .task-hall-hero p{max-width:620px;font-size:17px!important;line-height:1.8!important}
body[data-app-view="tasks"] .task-hall-hero .eyebrow{font-size:13px!important}
body[data-app-view="tasks"] .task-hall-hero-actions{gap:12px}
body[data-app-view="tasks"] .task-hall-hero-actions .button{min-height:48px;padding:0 20px;font-size:15px}
body[data-app-view="tasks"] .task-hall-stats{gap:10px}
body[data-app-view="tasks"] .task-hall-stats>div{min-width:68px;padding:8px 6px}
body[data-app-view="tasks"] .task-hall-stats strong{font-size:27px}
body[data-app-view="tasks"] .task-hall-stats span{font-size:13px}
body[data-app-view="tasks"] .task-board-heading h2{font-size:30px!important}
body[data-app-view="tasks"] .task-board-heading p{font-size:15px!important}
body[data-app-view="tasks"] .task-board-heading-actions .button{min-height:40px;font-size:13.5px}
body[data-app-view="tasks"] .task-filter-form .field>span{font-size:13.5px!important}
body[data-app-view="tasks"] .task-filter-form input,
body[data-app-view="tasks"] .task-filter-form select{min-height:48px;font-size:15px!important}
body[data-app-view="tasks"] .task-filter-quick-actions .button{min-height:48px;font-size:14.5px;padding:0 18px}
body[data-app-view="tasks"] .task-card h3{font-size:20px}
body[data-app-view="tasks"] .task-card-body>p{font-size:15px;line-height:1.7}
body[data-app-view="tasks"] .task-card-meta{font-size:13.5px}
body[data-app-view="tasks"] .task-card-actions .mini-button{min-height:38px;font-size:13.5px}
body[data-app-view="tasks"] .status-pill,
body[data-app-view="tasks"] .type-tag{font-size:12.5px!important}
body[data-app-view="tasks"] .task-market-side .button{min-height:48px;font-size:14.5px}

/* 店铺：宽屏双栏 + 玻璃信息板 */
@media (min-width:1100px){
  body[data-app-view="baobashiShop"] .shop-page-window-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:22px!important;padding:0!important}
  body[data-app-view="baobashiShop"] .shop-page-window-card{min-height:344px!important;border-radius:34px!important;box-shadow:0 26px 60px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.12)!important}
  body[data-app-view="baobashiShop"] .shop-page-window-card::before{border-radius:34px!important}
  body[data-app-view="baobashiShop"] .shop-page-window-card .shop-category-window-veil{background:linear-gradient(90deg,rgba(3,6,14,.92) 0%,rgba(3,6,14,.66) 30%,rgba(3,6,14,.10) 56%,rgba(3,6,14,.18) 72%,rgba(3,6,14,.44) 100%)!important}
  body[data-app-view="baobashiShop"] .shop-page-window-heading{left:34px!important;top:30px!important;width:min(42%,360px)!important;max-width:360px!important;gap:10px!important}
  body[data-app-view="baobashiShop"] .shop-page-window-heading strong{font-size:clamp(28px,2.15vw,40px)!important}
  body[data-app-view="baobashiShop"] .shop-page-window-heading>small{font-size:14.5px!important;line-height:1.55!important}
  body[data-app-view="baobashiShop"] .shop-page-window-heading .shop-category-window-kicker{padding:7px 13px!important;font-size:12px!important}
  body[data-app-view="baobashiShop"] .shop-page-window-card .shop-category-window-copy{right:22px!important;width:min(44%,360px)!important;gap:11px!important;padding:18px 20px!important;border:1px solid rgba(255,255,255,.17)!important;border-radius:22px!important;background:linear-gradient(135deg,rgba(10,14,26,.76),rgba(9,12,22,.46))!important;backdrop-filter:blur(16px) saturate(1.15)!important;-webkit-backdrop-filter:blur(16px) saturate(1.15)!important;box-shadow:0 16px 36px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.12)!important}
  body[data-app-view="baobashiShop"] .shop-page-window-card .shop-category-window-copy>small{font-size:14.5px!important;line-height:1.62!important;letter-spacing:.03em!important}
  body[data-app-view="baobashiShop"] .shop-page-window-card .shop-category-window-cta{width:100%!important;min-height:54px!important;padding:14px 20px!important;font-size:15.5px!important}
  body[data-app-view="baobashiShop"] .shop-page-window-card .shop-category-window-cta i{width:32px!important;height:32px!important;font-size:17px!important}
}
body[data-app-view="baobashiShop"] .shop-category-portal-head h2{font-size:clamp(28px,2vw,36px)!important}
body[data-app-view="baobashiShop"] .shop-category-portal-head p{font-size:15.5px!important}
body[data-app-view="baobashiShop"] .shop-section-heading h2{font-size:clamp(28px,1.9vw,34px)!important}
body[data-app-view="baobashiShop"] .shop-section-heading p{font-size:15px!important}
body[data-app-view="baobashiShop"] .shop-poster-label strong{font-size:clamp(22px,1.55vw,28px)!important}
body[data-app-view="baobashiShop"] .shop-poster-kicker{font-size:15px!important}
body[data-app-view="baobashiShop"] .shop-poster-action .shop-purple-button{min-height:54px;font-size:15.5px}

/* 应用内通用按钮触感 */
body[data-app-view] .button,
body[data-app-view] .mini-button,
body[data-app-view] .shop-purple-button{transition:transform .16s ease,filter .16s ease,box-shadow .16s ease}
body[data-app-view] .button:focus-visible,
body[data-app-view] .mini-button:focus-visible,
body[data-app-view] .shop-purple-button:focus-visible{outline:2px solid rgba(167,139,250,.65);outline-offset:3px}


/* 任务大厅在 2K 下不再锁 1380px */
body[data-app-view="tasks"] .task-hall-hero,
body[data-app-view="tasks"] .task-market-layout{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important}

/* 登录 / 注册页移动端为底部导航留出空间 */
@media (max-width:820px){
  body.account .auth-page{padding-bottom:104px!important}
}

/* 公共页移动端字号与内边距，防止大字号把窄屏撑破 */
@media (max-width:640px){
  body.product h1{font-size:clamp(36px,10.2vw,44px)!important;letter-spacing:-.04em}
  body.product .product-page{grid-template-columns:1fr!important;gap:28px!important;padding:34px 0 36px!important}
  body.product .big-icon{width:70px!important;height:70px!important;border-radius:22px!important;font-size:28px!important}
  body.download-hub .dl-hero h1,
  body.cs-download .dl-hero h1{font-size:clamp(34px,9.4vw,42px)!important}
  body.product .lead,
  body.download-hub .dl-hero .lead,
  body.cs-download .dl-hero .lead{font-size:16.5px!important;line-height:1.8!important}
  body.product .download-panel{padding:24px!important;border-radius:24px!important}
  body.product .download-panel h2{font-size:24px!important}
  body.product .big-download{min-height:56px!important;font-size:16.5px!important}
  body.download-hub .dl-card,
  body.cs-download .dl-card{padding:22px!important;border-radius:24px!important}
  body.download-hub .dl-btn,
  body.cs-download .dl-btn{min-height:52px!important;font-size:16px!important}
  body.download-hub .dl-hero,
  body.cs-download .dl-hero{padding:30px 0 22px!important;gap:24px!important}
  body.download-hub .dl-help{padding:24px!important;border-radius:24px!important}
  body.product .section-head h2,
  body.cs-download .dl-section-head h2{font-size:clamp(25px,7.4vw,32px)!important}
  body[data-app-view="tasks"] .task-hall-hero h1{font-size:clamp(30px,8.2vw,38px)!important}
  body[data-app-view="tasks"] .task-hall-hero p{font-size:15px!important}
  body[data-app-view="tasks"] .task-hall-hero-actions{gap:8px!important}
  body[data-app-view="tasks"] .task-hall-hero-actions .button{min-height:44px!important;font-size:14px!important;padding:0 14px!important}
}

/* ---------- 窄屏回退：不改变移动端结构，只把过小的字号抬到可读 ---------- */
@media (max-width:980px){
  body[data-app-view="tasks"] #tasks-view .task-market-layout{grid-template-columns:1fr!important;gap:16px!important}
}
@media (max-width:820px){
  body.product .shell,
  body.download-hub .shell,
  body.cs-download .shell,
  body.account .shell{width:calc(100% - 28px)}
  body.product .topbar,
  body.download-hub .topbar,
  body.cs-download .topbar,
  body.account .topbar{height:72px}
  body.account .auth-page{padding:26px 0 44px;gap:20px}
  body.account .auth-intro{padding:28px;border-radius:26px}
  body.account .auth-card{padding:24px;border-radius:24px}
  body.account .auth-card h1{font-size:29px}
  body.account .auth-qr-card{grid-template-columns:112px minmax(0,1fr);gap:12px;padding:11px}
  body.account .auth-qr-frame{width:112px;height:112px}
  body.product .feature-list,
  body.product .steps{gap:10px}
  body[data-app-view] .app-main > .page-section{max-width:none}
}


/* ---------- 覆盖旧版 type-scale 的 !important 小字号 ---------- */
body.product .btn,
body.download-hub .btn,
body.cs-download .btn{font-size:15.5px!important}
body.home .btn{font-size:15.5px!important}
body.product .alt .btn{font-size:14.5px!important}
body.download-hub .dl-help li,
body.cs-download .dl-help li{font-size:15px!important}
body.download-hub .dl-note,
body.cs-download .dl-note{font-size:15px!important}
body.cs-download .dl-feature{font-size:15px!important}
body.cs-download .dl-feature b{font-size:17px!important}
body.cs-download .dl-step p{font-size:14.5px!important}
body.cs-download .dl-step h4{font-size:17px!important}
body.product .feature-chip{font-size:15.5px!important}
body.product .feature-chip b{font-size:17px!important}
body.product .step p{font-size:14.5px!important}
body.product .step h4{font-size:18px!important}
body.product .section-head p{font-size:16.5px!important}
body.download-hub .dl-section-head p{font-size:16px!important}

body.account .auth-intro p{font-size:17px!important}
body.account .auth-points li{font-size:15.5px!important}
body.account .auth-foot{font-size:13.5px!important}

body.console .rail-nav a{font-size:15.5px!important}
body.console .rail-user b{font-size:15.5px!important}
body.console .rail-user span{font-size:13px!important}
body.console .rail-foot button{font-size:12.5px!important}
body.console .main-head p{font-size:15.5px!important}
body.console .btn{font-size:15px!important}
body.console .stat span{font-size:14px!important}
body.console .section-title p{font-size:15px!important}
body.console .notice{font-size:14.5px!important}
body.console .serial-name{font-size:18px!important}
body.console .serial-code{font-size:14px!important}
body.console .meta-box{font-size:12.5px!important}
body.console .meta-box b{font-size:14.5px!important}
body.console .device{font-size:13.5px!important}
body.console .help p{font-size:14.5px!important}
body.console .help b{font-size:17px!important}
body.console .footer-note{font-size:12.5px!important}
html.admin-ready body.console .field>span{font-size:13.5px!important}
html.admin-ready body.console .field input,
html.admin-ready body.console .field select{font-size:15px!important}
html.admin-ready body.console .user-row b{font-size:15px!important}
html.admin-ready body.console .user-row small{font-size:13px!important}
html.admin-ready body.console .admin-usage{font-size:13.5px!important}
html.admin-ready body.console .admin-actions .btn{font-size:13px!important}
html.admin-ready body.console .rail-actions a,
html.admin-ready body.console .rail-actions button{font-size:12.5px!important}

body[data-app-view] .task-hall-hero p{font-size:17px!important}
body[data-app-view] .task-hall-hero-actions .button{font-size:15px!important}
body[data-app-view] .task-filter-form input,
body[data-app-view] .task-filter-form select{font-size:15px!important}

/* 旧版 type-scale 对正文段落使用 !important，这里统一校正 */
body.product .lead{font-size:18px!important;line-height:1.95!important}
body.download-hub .dl-hero .lead,
body.cs-download .dl-hero .lead{font-size:18px!important;line-height:1.95!important}
body.console .main-head h1{font-size:clamp(34px,2.6vw,46px)!important}
body.console .section-title h2{font-size:clamp(25px,2.05vw,31px)!important}
body.console .stat b{font-size:clamp(30px,2.05vw,38px)!important}
body.console .help b{font-size:17px!important}
body.console .serial-badges .badge{font-size:12px!important}
body.console .device code{font-size:13px!important}

/* 首页产品入口与预览标签 */
body.home .product-gateway .gateway-copy small{font-size:13.5px!important}
body.home .product-gateway .gateway-copy strong{font-size:24px!important}
body.home .product-gateway .gateway-copy em{font-size:14.5px!important;line-height:1.6}
body.home .gateway-go{display:inline-flex!important;align-items:center;justify-content:center;min-height:44px!important;padding:0 20px!important;font-size:14px!important;border-radius:999px!important}
body.home .gateway-go i{font-size:15px}
body.home .showcase-tab b{font-size:14.5px!important}
body.home .showcase-tab small{font-size:12.5px!important}
body.home .showcase-thumb b{font-size:14.5px!important}
body.home .showcase-thumb small{font-size:12.5px!important}
body.home .showcase-caption{font-size:13.5px!important}

body.console .usage-state{font-size:12.5px!important}

/* 人物头像统一圆形，覆盖旧版圆角方形 */
.profile-trigger-avatar,
.personal-center-avatar,
.public-profile-avatar,
.companion-avatar,
.comment-avatar,
.user-search-avatar,
.referral-user-avatar,
.rail-user .avatar,
.account-identity-avatar{
  border-radius:50%!important;
}
.profile-trigger-avatar,
.companion-avatar,
.comment-avatar,
.user-search-avatar,
.referral-user-avatar{
  overflow:hidden!important;
}
.personal-center-avatar:not(.has-avatar-frame){
  overflow:hidden!important;
}

/* 账号卡在旧版 lobby/site-dock 里由 ID 选择器锁成圆角方形，需同优先级覆盖 */
html body[data-app-view] #account-home-button #account-avatar,
html body[data-app-view] #account-home-button:hover #account-avatar,
html body[data-app-view] #account-home-button:focus-visible #account-avatar,
html body[data-app-view] #account-home-button.is-active #account-avatar,
#account-avatar.profile-trigger-avatar,
.profile-trigger-avatar,
.profile-trigger-visual,
.account-identity-avatar,
.personal-center-avatar,
.public-profile-avatar,
.companion-avatar,
.comment-avatar,
.user-search-avatar,
.referral-user-avatar,
.rail-user .avatar,
.qr-avatar,
.auth-avatar,
.user-avatar,
.profile-avatar{
  border-radius:50%!important;
}
html body[data-app-view] #account-home-button #account-avatar,
html body[data-app-view] #account-home-button #account-avatar img,
.profile-trigger-avatar img,
.account-identity-avatar img,
.personal-center-avatar img,
.public-profile-avatar img,
.companion-avatar img,
.comment-avatar img,
.user-search-avatar img,
.referral-user-avatar img,
.rail-user .avatar img,
.qr-avatar img,
.auth-avatar img,
.user-avatar img,
.profile-avatar img{
  overflow:hidden!important;
  clip-path:circle(50% at 50% 50%);
}
