/* ============================================================
   【0919f】分站 · 字号放大（用户反馈：商品详情页的商品介绍/购买数量/支付方式，
   以及订单记录、售后申请、充值中心这些页面的文字和图标都太小）。
   独立文件，由 deploy/patch_0919f_*.php 在 4 个页头的 branch.css 后面插一行引入；
   不改任何页面模板。选择器都限定在「商品详情页的区块」和「会员中心面板 .uc-panel」里，首页不受影响。
   这些页面原样式大量使用 !important 与行内 style，所以这里也得用 !important。
   ============================================================ */

/* ---------------- 一、商品详情页 ---------------- */
html body .breadcrumb-bar { font-size: .92rem !important; }
html body .meta-row { font-size: .92rem !important; gap: 12px !important; }
html body .stock-badge { font-size: .9rem !important; }
html body .price-label,
html body .price-member { font-size: .95rem !important; }
html body .price-tag { font-size: .8rem !important; }

/* 商品介绍 / 选项卡 */
html body .detail-tab { font-size: 1.02rem !important; padding: 13px 20px !important; }
html body .desc-content { font-size: 1.02rem !important; line-height: 1.9 !important; }
html body .desc-content p,
html body .desc-content li,
html body .desc-content span,
html body .desc-content div { font-size: inherit; line-height: inherit; }
html body .desc-content table { font-size: .96rem !important; }
html body .format-box-title { font-size: .95rem !important; }

/* 右侧下单区：购买数量 / 联系方式 / 支付方式 */
html body .sb-label { font-size: 1rem !important; margin-bottom: 8px !important; gap: 8px !important; }
html body .sb-label i { font-size: 1.05rem !important; }
html body .sb-input { font-size: 1rem !important; height: 44px !important; }
html body .amount-label { font-size: 1rem !important; }
html body .qty-stepper { height: 46px !important; }
html body .qty-stepper-btn { font-size: 1.4rem !important; width: 50px !important; min-width: 50px !important; }
html body .qty-stepper input { font-size: 1.1rem !important; }
html body .pay-grid { gap: 10px !important; }
html body .pay-btn { font-size: .95rem !important; padding: 13px 8px !important; gap: 8px !important; }
html body .pay-btn img { height: 24px !important; }
html body .pay-btn i { font-size: 1.15rem !important; }
html body .pay-recommend-badge { font-size: .7rem !important; }
html body .buy-now-btn { font-size: 1.1rem !important; height: 52px !important; }

@media (max-width: 768px) {
    html body .detail-tab { font-size: .98rem !important; padding: 12px 14px !important; }
    html body .desc-content { font-size: 1rem !important; }
    html body .meta-row { font-size: .88rem !important; }
    html body .pay-btn { font-size: .92rem !important; padding: 12px 8px !important; }
    html body .pay-btn img { height: 22px !important; }
}

/* 详情页其余小字：订单金额标签、徽标、库存、联系方式提示、「继续选购」、结算订单标题 */
html body .amount-row .amount-top .amount-label,
html body .sidebar-card .amount-label { font-size: 1rem !important; }
html body .sidebar-card .sidebar-head,
html body .sidebar-card .sidebar-head span { font-size: 1.08rem !important; }
html body .price-tags .price-tag,
html body .price-tags .price-tag span { font-size: .9rem !important; }
html body #p-stock-wrap,
html body #p-stock-wrap > span { font-size: 1rem !important; }
html body #p-stock-wrap .stock-badge { font-size: 1rem !important; }
html body .sidebar-body .sb-section > div[style*="font-size"] { font-size: .9rem !important; line-height: 1.6 !important; }
html body .hd-right .hd-btn,
html body .hd-right .hd-btn span { font-size: .95rem !important; }

/* ---------------- 二、会员中心各页（订单记录 / 售后 / 充值中心…都在 .uc-panel 里） ---------------- */
html body .uc-panel .content-header,
html body .uc-panel .aftersale-header .header-title { font-size: 1.15rem !important; }
html body .uc-panel .content-header i,
html body .uc-panel .aftersale-header i { font-size: 1.1rem !important; }
html body .uc-panel .content-body { font-size: 16px !important; }

/* 订单记录（卡片式） */
html body .uc-panel .card-views,
html body .uc-panel .card-views .card-view { font-size: 16px !important; }
html body .uc-panel .card-views .card-view-title { font-size: 18px !important; }
html body .uc-panel .card-views .card-view-header .order-no { font-size: 16px !important; }
html body .uc-panel .card-views .card-view-header .order-time { font-size: 15px !important; }
html body .uc-panel .card-views .card-view-header .expand-icon { font-size: 16px !important; }
html body .uc-panel .card-views .card-view-details .detail-item,
html body .uc-panel .card-views .detail-label,
html body .uc-panel .card-views .detail-value { font-size: 16px !important; line-height: 1.9 !important; }
html body .uc-panel .acg-badge,
html body .uc-panel #bill .acg-badge,
html body #bill .acg-badge { font-size: 15px !important; padding: 3px 10px !important; }
html body .uc-panel .pagination-info { font-size: 15px !important; }
html body .uc-panel .card-views button,
html body .uc-panel .btn-copy-secret,
html body .uc-panel .btn-download-secret { font-size: 16px !important; padding: 10px 16px !important; }
html body .uc-panel .bl-livecheck { font-size: 15px !important; }

/* 表格 / 表单 / 按钮（售后列表、账单等走 layui 默认 12~14px） */
html body .uc-panel .layui-table th,
html body .uc-panel .layui-table td,
html body .uc-panel .layui-table-cell { font-size: 16px !important; }
html body .uc-panel .layui-table-cell { height: auto !important; line-height: 1.7 !important; padding-top: 8px !important; padding-bottom: 8px !important; }
html body .uc-panel .layui-form-label,
html body .uc-panel .layui-input,
html body .uc-panel .layui-textarea,
html body .uc-panel .layui-select,
html body .uc-panel select,
html body .uc-panel textarea,
html body .uc-panel input[type="text"],
html body .uc-panel input[type="number"] { font-size: 16px !important; }
html body .uc-panel .layui-input,
html body .uc-panel .layui-select { height: 42px !important; }
html body .uc-panel .layui-btn { font-size: 16px !important; height: 40px !important; line-height: 40px !important; padding: 0 18px !important; }
html body .uc-panel .layui-btn-sm { font-size: 15px !important; height: 34px !important; line-height: 34px !important; padding: 0 14px !important; }
html body .uc-panel .layui-btn-xs { font-size: 14px !important; height: 28px !important; line-height: 28px !important; padding: 0 10px !important; }
html body .uc-panel .layui-laypage a,
html body .uc-panel .layui-laypage span { font-size: 15px !important; }
html body .uc-panel .aftersale-header .btn-create { font-size: 16px !important; padding: 9px 18px !important; }

/* 售后：创建 / 详情 */
html body .uc-panel .order-select-item .order-info { font-size: 15px !important; }
html body .uc-panel .image-upload-area p { font-size: 16px !important; }
html body .uc-panel .image-upload-area .hint,
html body .uc-panel .required-hint { font-size: 14.5px !important; }
html body .uc-panel .chat-header h3 { font-size: 1.2rem !important; }
html body .uc-panel .chat-header .order-info { font-size: .95rem !important; }
html body .uc-panel .message .content,
html body .uc-panel .message .bubble,
html body .uc-panel .message .text { font-size: 16px !important; line-height: 1.75 !important; }
html body .uc-panel .message .sender { font-size: .9rem !important; }
html body .uc-panel .message .time { font-size: .84rem !important; }
html body .uc-panel .admin-tip { font-size: 15.5px !important; }

/* 充值中心 */
html body .uc-panel .pay-name { font-size: 16px !important; }
html body .uc-panel .pay-item img { height: auto; max-height: 40px; }
html body .uc-panel .pay-icon-fallback { font-size: 31px !important; }

/* 模板里写死在 style="" 上的小字号：逐档抬高（!important 能压过行内样式） */
html body .uc-panel [style*="font-size:12px"],  html body .uc-panel [style*="font-size: 12px"]  { font-size: 15px !important; }
html body .uc-panel [style*="font-size:13px"],  html body .uc-panel [style*="font-size: 13px"]  { font-size: 15.5px !important; }
html body .uc-panel [style*="font-size:14px"],  html body .uc-panel [style*="font-size: 14px"]  { font-size: 16px !important; }
html body .uc-panel [style*="font-size:15px"],  html body .uc-panel [style*="font-size: 15px"]  { font-size: 17px !important; }
html body .uc-panel [style*="font-size:0.75rem"], html body .uc-panel [style*="font-size: 0.75rem"] { font-size: .95rem !important; }

/* 会员中心里的小图标一并放大一档 */
html body .uc-panel .fa,
html body .uc-panel .layui-icon { font-size: 1.08em; }

@media (max-width: 768px) {
    html body .uc-panel .content-body { font-size: 16px !important; }
    html body .uc-panel .layui-table th,
    html body .uc-panel .layui-table td,
    html body .uc-panel .layui-table-cell { font-size: 15.5px !important; }
    html body .uc-panel .card-views button,
    html body .uc-panel .btn-copy-secret,
    html body .uc-panel .btn-download-secret { padding: 10px 8px !important; font-size: 15.5px !important; }
}

/* 手机上宽表格（售后列表、账单）原来会把整个页面撑出横向滚动条 → 改为表格自己在面板里横向滑动 */
@media (max-width: 768px) {
    html body .uc-panel { max-width: 100% !important; overflow-x: hidden !important; }
    html body .uc-panel .content-body { max-width: 100% !important; overflow-x: auto !important; -webkit-overflow-scrolling: touch; }
    html body .uc-panel .layui-table-view { max-width: 100% !important; }
}

/* 手机：订单卡片里的四个操作按钮原来挤在一行（字被压成竖排）→ 两个一行 */
@media (max-width: 768px) {
    html body .uc-panel .card-views .card-view-details .detail-item { flex-wrap: wrap !important; }
    html body .uc-panel .card-views .card-view-details .detail-item > button,
    html body .uc-panel .card-views .card-view-details .detail-item > a.layui-btn {
        flex: 1 1 calc(50% - 6px) !important; min-width: 0 !important; white-space: nowrap !important;
        padding: 10px 2px !important; font-size: 14px !important; letter-spacing: 0 !important;
    }
    html body .uc-panel .card-views .card-view-details .detail-item { gap: 6px !important; }
    /* 卡片左侧「订单信息」标题列在手机上占掉三分之一宽度 → 收窄，让右边内容有地方放 */
    html body .uc-panel .card-views .card-view-title { font-size: 15px !important; }
}

/* ---------------- 三、会员页顶栏（订单 / 充值 / 售后这些页用的简版页头） ---------------- */
html body .header-bar .header-nav-links a,
html body .header-bar .hb-user { font-size: 1rem !important; white-space: nowrap !important; }
html body .header-bar .header-nav-links a i { font-size: 1.05rem !important; }
@media (max-width: 768px) {
    /* 原来站名和 5 个菜单挤在一行，菜单文字被压成一字一行 → 站名单独一行，菜单在下面一行横向滑动 */
    html body .header-bar > .container { flex-wrap: wrap !important; row-gap: 6px; }
    html body .header-bar .header-nav-links { width: 100%; flex-wrap: nowrap !important; overflow-x: auto; -webkit-overflow-scrolling: touch;
        scrollbar-width: none; gap: 2px !important; }
    html body .header-bar .header-nav-links::-webkit-scrollbar { display: none; }
    html body .header-bar .header-nav-links a,
    html body .header-bar .hb-user { flex-shrink: 0; font-size: .95rem !important; padding: 6px 10px !important; }
}
