/* 游友通移动端视觉系统
 * 只覆盖视觉与响应式表现，不改变页面结构、接口或业务行为。
 */
:root {
    --yyt-ink: #17323a;
    --yyt-muted: #6a7d82;
    --yyt-brand: #0b6b6f;
    --yyt-brand-deep: #084f53;
    --yyt-brand-soft: #e7f3f0;
    --yyt-accent: #f39b5d;
    --yyt-danger: #df5c63;
    --yyt-bg: #f6f9f8;
    --yyt-card: #ffffff;
    --yyt-line: #dce7e5;
    --yyt-shadow: 0 12px 34px rgba(20, 66, 69, .09);
    --yyt-shadow-soft: 0 5px 18px rgba(20, 66, 69, .07);
    --yyt-radius: 20px;
    --yyt-radius-sm: 14px;
}

html { background: var(--yyt-bg); -webkit-text-size-adjust: 100%; }
body {
    color: var(--yyt-ink) !important;
    background: var(--yyt-bg) !important;
    font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}
body::before {
    content: "";
    position: fixed;
    inset: 0 0 auto;
    height: 220px;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(155deg, rgba(214, 240, 232, .72), rgba(247, 234, 215, .35) 62%, transparent);
}
* { box-sizing: border-box; }
a { color: inherit; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, [role="button"], a { touch-action: manipulation; }

/* 通用页面骨架 */
.container, .page-container, .content, .main-content, main {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}
.header, .top-bar, .navbar, .page-header, .detail-header, .chat-header {
    color: var(--yyt-ink) !important;
    background: rgba(255, 255, 255, .92) !important;
    border-color: var(--yyt-line) !important;
    box-shadow: 0 4px 18px rgba(20, 66, 69, .05) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.header h1, .header h2, .page-title, .title { color: var(--yyt-ink) !important; }

/* 卡片与列表 */
.card, .order-card, .guide-card, .info-card, .profile-card, .account-card,
.address-card, .message-item, .menu-card, .form-card, .detail-card,
.section-card, .setting-item, .collection-item, .post-card, .stat-card {
    background: var(--yyt-card) !important;
    border-color: var(--yyt-line) !important;
    border-radius: var(--yyt-radius) !important;
    box-shadow: var(--yyt-shadow-soft) !important;
}
.list-item, .menu-item, .info-row, .form-row, .order-item {
    border-color: #e9f0ee !important;
}
.section-title, .card-title, h1, h2, h3 { color: var(--yyt-ink); }
.subtitle, .desc, .description, .hint, .tip, .time, .meta, .empty-tip,
.form-text, .text-muted { color: var(--yyt-muted) !important; }

/* 表单 */
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
select, textarea, .form-control, .form-select, .input, .form-input {
    color: var(--yyt-ink) !important;
    background-color: #fbfdfc !important;
    border: 1px solid var(--yyt-line) !important;
    border-radius: 13px !important;
    min-height: 46px;
    outline: none !important;
    box-shadow: none !important;
}
textarea { min-height: 100px; }
input:focus, select:focus, textarea:focus, .form-control:focus, .form-select:focus {
    border-color: #65aaa4 !important;
    box-shadow: 0 0 0 4px rgba(11, 107, 111, .10) !important;
}
input::placeholder, textarea::placeholder { color: #9aabaa !important; }
label, .form-label { color: #405c61 !important; font-weight: 650; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--yyt-brand); }

/* 按钮与状态 */
.btn, button, .action-btn, .submit-btn, .save-btn, .confirm-btn, .pay-btn,
.login-button, .primary-btn, .search-btn, .btn-submit, .btn-primary {
    border-radius: 13px !important;
}
.btn-primary, .primary-btn, .submit-btn, .save-btn, .confirm-btn, .pay-btn,
.login-button, .btn-submit, .search-btn {
    color: #fff !important;
    background: var(--yyt-brand) !important;
    border-color: var(--yyt-brand) !important;
    box-shadow: 0 8px 20px rgba(11, 107, 111, .20) !important;
}
.btn-primary:hover, .primary-btn:hover, .submit-btn:hover, .save-btn:hover,
.confirm-btn:hover, .pay-btn:hover, .login-button:hover, .search-btn:hover {
    background: var(--yyt-brand-deep) !important;
    border-color: var(--yyt-brand-deep) !important;
}
.btn-secondary, .secondary-btn, .cancel-btn {
    color: var(--yyt-brand) !important;
    background: var(--yyt-brand-soft) !important;
    border-color: transparent !important;
}
.btn-danger, .danger-btn, .delete-btn { background: #fff0f0 !important; color: var(--yyt-danger) !important; border-color: #f4d4d5 !important; }
.badge, .tag, .status-tag, .guide-tag-chip, .chip {
    border-radius: 999px !important;
}

/* 弹窗 */
.modal, .popup, .dialog-mask { background-color: rgba(6, 32, 34, .55) !important; }
.modal-content, .dialog, .popup-content, .modal-dialog > * {
    border: 0 !important;
    border-radius: 24px !important;
    box-shadow: 0 22px 65px rgba(6, 43, 45, .20) !important;
}

/* 首页 */
.search-bar {
    background: rgba(246, 249, 248, .92) !important;
    border: 0 !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}
.search-input { background: #fff !important; border-color: var(--yyt-line) !important; }
.rule-banner { height: 150px !important; margin-top: 8px !important; }
.rule-banner .swiper-slide { border-radius: 22px !important; box-shadow: var(--yyt-shadow-soft); }
.game-cate { border-radius: 20px !important; box-shadow: var(--yyt-shadow-soft); }
.cate-icon { background: var(--yyt-brand-soft) !important; border-radius: 15px !important; }
.game-item.cate-active .cate-icon { background: var(--yyt-brand) !important; box-shadow: 0 8px 18px rgba(11, 107, 111, .18); }
.game-item.cate-active .game-name, .tab-item.active, .guide-distance { color: var(--yyt-brand) !important; }
.tab-item.active { border-color: var(--yyt-brand) !important; }
.guide-list { gap: 14px !important; }
.guide-card { overflow: hidden; border: 1px solid rgba(220, 231, 229, .8) !important; }
.guide-img { border: 0 !important; }
.guide-price { color: var(--yyt-brand) !important; }
.guide-tag-chip { color: var(--yyt-brand) !important; background: #edf6f4 !important; border-color: #d5e9e5 !important; }

/* 登录入口 */
body:has(.login-title) { padding: 22px 14px !important; }
body:has(.login-title) > .container {
    max-width: 430px !important;
    padding: 38px 26px !important;
    border: 1px solid rgba(220, 231, 229, .9);
    border-radius: 28px !important;
    box-shadow: var(--yyt-shadow) !important;
}
.login-title { color: var(--yyt-ink) !important; font-size: 27px !important; letter-spacing: -.7px; }
.login-sub { color: var(--yyt-muted) !important; }
.role-tip { padding: 10px 14px; background: var(--yyt-brand-soft); border-radius: 13px; color: #49666a !important; }
.role-tip b, .agreement-note a, .seller-entry a { color: var(--yyt-brand) !important; }
.btn-wechat { min-height: 50px; border-radius: 14px !important; box-shadow: 0 9px 22px rgba(7, 193, 96, .18); }
.seller-entry { border-color: var(--yyt-line) !important; }
.dev-panel { border-color: #ebcf99 !important; border-radius: 16px !important; box-shadow: var(--yyt-shadow) !important; }
.dev-toggle { min-height: 36px !important; width: 36px !important; height: 36px !important; }

/* 管理后台登录也沿用同一品牌语言 */
body:has(.logo .dot) {
    background: linear-gradient(155deg, #e4f3ef 0%, #f8f2e8 55%, #f6f9f8 100%) !important;
}
body:has(.logo .dot) .wrap {
    background: rgba(255, 255, 255, .92) !important;
    color: var(--yyt-ink) !important;
    border: 1px solid rgba(220, 231, 229, .95) !important;
    border-radius: 26px !important;
    box-shadow: var(--yyt-shadow) !important;
}
body:has(.logo .dot) .logo .dot { background: linear-gradient(145deg, #16a085, var(--yyt-brand)) !important; }
body:has(.logo .dot) .logo h1 { color: var(--yyt-ink) !important; }
body:has(.logo .dot) .sub, body:has(.logo .dot) .tip { color: var(--yyt-muted) !important; }
body:has(.logo .dot) .field label { color: #486368 !important; }
body:has(.logo .dot) .btn { background: var(--yyt-brand) !important; box-shadow: 0 8px 20px rgba(11,107,111,.2) !important; }

/* 底部导航 */
.bottom-fixed-wrapper, .bottom-nav, .tabbar, .bottom-bar {
    background: rgba(255, 255, 255, .96) !important;
    border-color: var(--yyt-line) !important;
    box-shadow: 0 -8px 26px rgba(20, 66, 69, .07) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.nav-item { color: #708487 !important; }
.nav-item.active { color: var(--yyt-brand) !important; font-weight: 700; }
.nav-item .nav-svg, .bottom-nav .nav-svg, .nav-icon .nav-svg, .icon .nav-svg {
    width: 21px; height: 21px; display:block; margin:auto;
    fill: none; stroke: currentColor; stroke-width: 1.8;
    stroke-linecap: round; stroke-linejoin: round;
}
.nav-item.active, .bottom-nav .active { color: var(--yyt-brand) !important; }

/* 聊天 */
.message-bubble, .bubble { border-radius: 18px !important; box-shadow: 0 3px 12px rgba(20, 66, 69, .05); }
.message.sent .message-bubble, .message-self .bubble, .bubble.mine { background: var(--yyt-brand) !important; color: #fff !important; }
.chat-input, .input-area, .message-input-area { background: rgba(255, 255, 255, .96) !important; border-color: var(--yyt-line) !important; }

/* 管理端保留信息密度，但统一品牌 */
.admin-sidebar, .sidebar { background: #123f43 !important; }
.admin-sidebar a, .sidebar a { color: #d7e8e6; }
.admin-sidebar .active, .sidebar .active { background: rgba(255, 255, 255, .12) !important; color: #fff !important; }
table { border-color: var(--yyt-line) !important; }
th { color: #496368 !important; background: #edf5f3 !important; }
td { border-color: #e8efed !important; }

@media (min-width: 761px) {
    body:not(:has(.admin-layout)):not(:has(.admin-container)) { padding-left: 20px; padding-right: 20px; }
    .bottom-nav, .bottom-fixed-wrapper, .tabbar { max-width: 760px; left: 50% !important; right: auto !important; width: 100%; transform: translateX(-50%); }
}

@media (max-width: 760px) {
    body { min-width: 0 !important; }
    .container, .page-container, .content, .main-content, main { width: 100%; }
    .header, .top-bar, .navbar, .page-header, .detail-header, .chat-header {
        min-height: 56px;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
    .card, .order-card, .info-card, .profile-card, .account-card, .address-card,
    .message-item, .menu-card, .form-card, .detail-card, .section-card {
        border-radius: 18px !important;
    }
    .modal { align-items: flex-end !important; padding: 0 !important; }
    .modal-content, .dialog, .popup-content, .modal-dialog > * {
        width: 100% !important;
        max-width: none !important;
        max-height: 90vh;
        overflow-y: auto;
        border-radius: 24px 24px 0 0 !important;
        padding-bottom: env(safe-area-inset-bottom);
    }
    input, select, textarea { font-size: 16px !important; }
    button, .btn, a.btn { min-height: 42px; }
    .bottom-nav, .tabbar, .bottom-bar { padding-bottom: env(safe-area-inset-bottom) !important; }
    .rule-banner { height: 132px !important; }
    .guide-list { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; padding-left: 12px !important; padding-right: 12px !important; }
    .guide-card { min-width: 0 !important; }
    .guide-img { height: 132px !important; }
    .table-responsive, .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    table { min-width: 640px; }
    .admin-layout, .admin-container { min-width: 0 !important; }
    .admin-sidebar, .sidebar { width: 100% !important; position: static !important; }
}

@media (max-width: 380px) {
    .guide-list { gap: 10px !important; }
    .guide-img { height: 112px !important; }
    body:has(.login-title) > .container { padding: 32px 20px !important; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ===== 核心业务页面色调统一 ===== */

/* 发现页 */
body:has(#merchantList) .header { padding:14px 16px !important; }
body:has(#merchantList) .search-box { background:#edf4f2 !important; border-radius:15px !important; }
body:has(#merchantList) .search-box input { background:transparent !important; border:0 !important; box-shadow:none !important; }
body:has(#merchantList) .search-btn { color:#fff !important; background:var(--yyt-brand) !important; }
body:has(#merchantList) .categories { gap:8px !important; padding:12px 14px !important; overflow-x:auto; scrollbar-width:none; }
body:has(#merchantList) .category-item { flex:0 0 auto; color:#5b7276 !important; background:#fff !important; border:1px solid var(--yyt-line) !important; border-radius:999px !important; padding:8px 14px !important; }
body:has(#merchantList) .category-item.active { color:#fff !important; background:var(--yyt-brand) !important; border-color:var(--yyt-brand) !important; }
body:has(#merchantList) .merchant-list { padding:10px 13px 88px !important; }
body:has(#merchantList) .merchant-item { border:1px solid rgba(220,231,229,.9) !important; border-radius:19px !important; box-shadow:var(--yyt-shadow-soft) !important; margin-bottom:12px !important; }
body:has(#merchantList) .avatar-placeholder { background:var(--yyt-brand-soft) !important; color:var(--yyt-brand) !important; }
body:has(#merchantList) .tag-hot { background:#fff2e8 !important; color:#c87438 !important; }
body:has(#merchantList) .tag-certified { background:#e8f5f1 !important; color:var(--yyt-brand) !important; border-color:#c8e3dd !important; }
body:has(#merchantList) .progress-bar, body:has(#merchantList) .status-bar { background:var(--yyt-brand) !important; }
body:has(#merchantList) .service-status { color:var(--yyt-brand) !important; }
body:has(#merchantList) .action-btn { color:#fff !important; background:var(--yyt-brand) !important; border-radius:11px !important; }

/* 商家详情页 */
body:has(.bottom-contact) .top-bar { background:rgba(255,255,255,.94) !important; }
body:has(.bottom-contact) .back-btn, body:has(.bottom-contact) .collect-icon { color:var(--yyt-brand) !important; }
body:has(.bottom-contact) .guide-info,
body:has(.bottom-contact) .guide-desc,
body:has(.bottom-contact) .guide-safe,
body:has(.bottom-contact) .comment-section { margin:12px !important; border:1px solid var(--yyt-line) !important; border-radius:20px !important; box-shadow:var(--yyt-shadow-soft) !important; }
body:has(.bottom-contact) .guide-price { color:var(--yyt-brand) !important; }
body:has(.bottom-contact) .guide-address { color:#5d777a !important; }
body:has(.bottom-contact) .tag-item { color:var(--yyt-brand) !important; background:var(--yyt-brand-soft) !important; border-radius:999px !important; }
body:has(.bottom-contact) .safe-item { color:#426065 !important; background:#edf6f4 !important; border-radius:12px !important; }
body:has(.bottom-contact) .bottom-contact { background:rgba(255,255,255,.96) !important; border-color:var(--yyt-line) !important; box-shadow:0 -8px 24px rgba(20,66,69,.07) !important; }
body:has(.bottom-contact) .contact-btn { border-radius:14px !important; }
body:has(.bottom-contact) .btn-call:first-of-type { color:var(--yyt-brand) !important; background:var(--yyt-brand-soft) !important; border-color:transparent !important; }
body:has(.bottom-contact) .btn-call:last-of-type { color:#fff !important; background:var(--yyt-brand) !important; border-color:var(--yyt-brand) !important; }

/* 消息列表 */
body:has(#chatListContainer) .header { min-height:58px; padding:0 16px !important; }
body:has(#chatListContainer) .header h1,
body:has(#chatListContainer) .header .title { color:var(--yyt-ink) !important; }
body:has(#chatListContainer) .icon-btn { color:var(--yyt-brand) !important; background:var(--yyt-brand-soft) !important; border-radius:12px !important; }
body:has(#chatListContainer) .bell-dot,
body:has(#chatListContainer) .unread-badge { background:var(--yyt-accent) !important; }
body:has(#chatListContainer) .chat-list { padding:10px 12px 88px !important; }
body:has(#chatListContainer) .chat-item,
body:has(#chatListContainer) .swipe-content { background:#fff !important; border-radius:18px !important; border-color:var(--yyt-line) !important; }
body:has(#chatListContainer) .chat-item { margin-bottom:9px; box-shadow:var(--yyt-shadow-soft) !important; overflow:hidden; }
body:has(#chatListContainer) .avatar { background:var(--yyt-brand-soft) !important; color:var(--yyt-brand) !important; }
body:has(#chatListContainer) .swipe-delete { background:var(--yyt-danger) !important; }

/* 聊天详情 */
body:has(#chat-window) { background:#edf3f1 !important; }
body:has(#chat-window) #username { color:var(--yyt-ink) !important; background:rgba(255,255,255,.96) !important; border-color:var(--yyt-line) !important; }
body:has(#chat-window) .back-btn { color:var(--yyt-brand) !important; }
body:has(#chat-window) .chat-window { background:#edf3f1 !important; }
body:has(#chat-window) .message.sent .bubble,
body:has(#chat-window) .message-right .message-content,
body:has(#chat-window) .my-message .message-content { background:var(--yyt-brand) !important; color:#fff !important; }
body:has(#chat-window) .input-area { background:rgba(255,255,255,.97) !important; border-color:var(--yyt-line) !important; }
body:has(#chat-window) .send-btn { background:var(--yyt-brand) !important; }

/* 个人中心 */
body:has(.user-info-section) .top-bar { background:rgba(255,255,255,.94) !important; color:var(--yyt-ink) !important; }
body:has(.user-info-section) .setting-btn { color:var(--yyt-brand) !important; background:var(--yyt-brand-soft) !important; border-radius:12px !important; }
body:has(.user-info-section) .user-info-section { background:linear-gradient(145deg,#0b6b6f,#155d62) !important; border-radius:0 0 28px 28px !important; }
body:has(.user-info-section) .balance-coupon-bar,
body:has(.user-info-section) .release-service-row,
body:has(.user-info-section) .func-list { border-color:var(--yyt-line) !important; box-shadow:var(--yyt-shadow-soft) !important; }
body:has(.user-info-section) .balance-number,
body:has(.user-info-section) .coupon-value { color:var(--yyt-brand) !important; }
body:has(.user-info-section) .release-btn { background:var(--yyt-brand) !important; color:#fff !important; border-radius:12px !important; }
body:has(.user-info-section) .online-switch.on,
body:has(.user-info-section) .switch-on { background:var(--yyt-brand) !important; }
body:has(.user-info-section) .func-item .icon { color:var(--yyt-brand) !important; background:var(--yyt-brand-soft) !important; border-radius:12px !important; }
body:has(.user-info-section) .setting-popup { border:1px solid var(--yyt-line) !important; border-radius:16px !important; box-shadow:var(--yyt-shadow) !important; overflow:hidden; }

/* 个人中心合并式头卡 */
body:has(.profile-hero) .profile-hero {
    position:relative;
    margin:12px 12px 14px;
    padding:8px 10px 16px;
    color:#fff;
    background:
        radial-gradient(circle at 92% 8%, rgba(255,255,255,.18), transparent 30%),
        linear-gradient(145deg,#0b6b6f 0%,#155d62 100%);
    border-radius:16px;
    box-shadow:0 15px 32px rgba(11,107,111,.18);
}
body:has(.profile-hero) .profile-hero .top-bar {
    min-height:0;
    height:0;
    padding:0 !important;
    color:#fff !important;
    background:transparent !important;
    box-shadow:none !important;
    backdrop-filter:none !important;
    display:flex;
    align-items:center;
    justify-content:flex-end;
}
body:has(.profile-hero) .profile-title-wrap { display:flex; flex-direction:column; gap:2px; }
body:has(.profile-hero) .profile-eyebrow {
    font-size:9px;
    font-weight:700;
    line-height:1;
    letter-spacing:1.6px;
    color:rgba(255,255,255,.62);
}
body:has(.profile-hero) .profile-hero .top-bar .title {
    position:static;
    transform:none;
    font-size:21px;
    font-weight:800;
    letter-spacing:.5px;
}
body:has(.profile-hero) .profile-hero .setting-btn {
    position:absolute;
    top:10px;
    right:10px;
    width:40px;
    height:40px;
    min-height:40px;
    padding:0;
    display:grid;
    place-items:center;
    color:#fff !important;
    background:rgba(255,255,255,.14) !important;
    border:1px solid rgba(255,255,255,.22) !important;
    border-radius:13px !important;
    backdrop-filter:blur(8px);
}
body:has(.profile-hero) .profile-hero .setting-btn svg {
    width:20px;
    height:20px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.7;
    stroke-linecap:round;
    stroke-linejoin:round;
}
body:has(.profile-hero) .profile-hero .user-info-section {
    padding:2px 0 0 !important;
    color:#fff;
    background:transparent !important;
    border-radius:0 !important;
    align-items:flex-start !important;
    gap:12px !important;
}
body:has(.profile-hero) .profile-hero .avatar {
    width:72px;
    height:72px;
    border:3px solid rgba(255,255,255,.88) !important;
    box-shadow:0 8px 22px rgba(0,36,38,.2);
}
body:has(.profile-hero) .profile-hero .avatar-mask { width:72px; height:72px; border-radius:50%; }
body:has(.profile-hero) .profile-hero .name { color:#fff !important; font-size:18px; font-weight:750; }
body:has(.profile-hero) .profile-hero .role { margin-top:8px; color:rgba(255,255,255,.72) !important; }
body:has(.profile-hero) .profile-hero .cert-badge {
    padding:4px 9px !important;
    color:#fff !important;
    background:rgba(255,255,255,.13) !important;
    border:1px solid rgba(255,255,255,.25) !important;
    border-radius:999px !important;
    text-decoration:none !important;
}
body:has(.profile-hero) .setting-popup { top:56px !important; right:14px !important; }

/* 发现页搜索栏与首页保持一致 */
body:has(#merchantList) .header { padding:8px 12px 10px !important; background:rgba(247,250,249,.92) !important; box-shadow:none !important; }
body:has(#merchantList) .discovery-search {
    display:grid !important;
    grid-template-columns:38px minmax(0,1fr) 66px !important;
    margin:0 !important;
    padding:6px !important;
    background:rgba(255,255,255,.96) !important;
    border:1px solid var(--yyt-line) !important;
    border-radius:17px !important;
    box-shadow:0 8px 24px rgba(25,75,72,.09) !important;
}
body:has(#merchantList) .discovery-search input { height:44px !important; margin:0 !important; padding:0 6px !important; }
body:has(#merchantList) .discovery-search .search-btn {
    width:66px !important;
    height:42px !important;
    min-height:42px !important;
    padding:0 !important;
    color:#fff !important;
    background:var(--yyt-brand) !important;
    border:0 !important;
    border-radius:12px !important;
}

@media (max-width:380px) {
    body:has(.profile-hero) .profile-hero { margin-left:8px; margin-right:8px; padding-left:14px; padding-right:14px; }
    body:has(.profile-hero) .profile-hero .avatar,
    body:has(.profile-hero) .profile-hero .avatar-mask { width:64px; height:64px; }
}

/* ===== 个人中心改造（按优化稿落地） ===== */
body:has(.user-info-section) .user-info-section .name-row { align-items:center !important; gap:8px !important; flex-wrap:wrap; }
body:has(.user-info-section) .user-info-section .cert-row { margin-top:0 !important; }
body:has(.user-info-section) .user-info-section .name { font-size:18px !important; font-weight:750 !important; }
body:has(.user-info-section) .user-info-section .cert-badge {
    padding:4px 9px !important;
    color:#0F6E56 !important;
    background:#E1F5EE !important;
    border:1px solid #9FE1CB !important;
    border-radius:999px !important;
    font-size:12px !important;
}
body:has(.user-info-section) .user-info-section .role {
    display:inline-block; margin-top:6px !important;
    padding:3px 10px !important;
    color:#E1F5EE !important;
    background:rgba(255,255,255,.16) !important;
    border-radius:999px !important;
    font-size:12px !important;
}
body:has(.user-info-section) .avatar-tip-bar { margin:10px 12px 0 !important; padding:0 !important; overflow:hidden; }
body:has(.user-info-section) .avatar-tip-bar.collapsed .avatar-tip-text { display:none !important; }
body:has(.user-info-section) .avatar-tip-head { display:flex; align-items:center; gap:8px; padding:10px 12px !important; cursor:pointer; font-size:12px; }
body:has(.user-info-section) .avatar-tip-brief { flex:1; color:#8a6d3b; }
body:has(.user-info-section) .avatar-tip-more { color:#0F6E56; font-weight:500; }
body:has(.user-info-section) .avatar-tip-bar:not(.collapsed) .avatar-tip-text { display:block !important; padding:0 12px 10px !important; }
body:has(.user-info-section) .balance-coupon-bar {
    margin:10px 12px 0 !important; padding:14px 10px !important;
    background:#fff !important; border:1px solid #E5E3DC !important;
    border-bottom:none !important; border-radius:14px !important;
}
body:has(.user-info-section) .balance-col { border-right:1px solid #E5E3DC !important; padding:0 !important; }
body:has(.user-info-section) .balance-title,
body:has(.user-info-section) .coupon-label { font-size:12px !important; color:#888780 !important; }
body:has(.user-info-section) .balance-number,
body:has(.user-info-section) .coupon-value { font-size:20px !important; font-weight:500 !important; color:#0F6E56 !important; margin-top:4px !important; }
body:has(.user-info-section) .eye-btn { display:inline-flex; align-items:center; padding:0 0 0 4px !important; border:none !important; background:none !important; }
body:has(.user-info-section) .icon-eye { width:17px; height:17px; fill:none; stroke:#888780; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
body:has(.user-info-section) .icon-eye .eye-slash { display:none; }
body:has(.user-info-section) .icon-eye.off .eye-slash { display:block; stroke:#B4B2A9; }
body:has(.user-info-section) .action-card {
    margin:10px 12px 0 !important; padding:12px !important;
    background:#fff !important; border:1px solid #E5E3DC !important; border-radius:14px !important;
}
body:has(.user-info-section) .action-row { display:flex; align-items:center; gap:10px; margin-bottom:10px; }
body:has(.user-info-section) .action-row .release-btn { flex:1; height:44px !important; border-radius:10px !important; background:#0F6E56 !important; color:#fff !important; font-size:14px !important; }
body:has(.user-info-section) .action-card .switch-wrap { flex:0 0 auto; display:flex; align-items:center; gap:8px; font-size:13px; color:#444441; }
body:has(.user-info-section) .action-card .release-btn.ghost {
    height:42px !important; border-radius:10px !important;
    background:#fff !important; color:#0F6E56 !important;
    border:1px solid #0F6E56 !important; font-size:14px !important;
}
body:has(.user-info-section) .online-switch { width:44px !important; height:24px !important; border:none !important; box-shadow:none !important; background:#D3D1C7 !important; }
body:has(.user-info-section) .online-switch.on { background:#0F6E56 !important; }
body:has(.user-info-section) .online-switch .switch-knob { width:18px !important; height:18px !important; top:3px !important; left:3px !important; box-shadow:none !important; }
body:has(.user-info-section) .online-switch.on .switch-knob { left:23px !important; }
body:has(.user-info-section) .online-switch .switch-text { font-size:0 !important; }
body:has(.user-info-section) .func-list {
    background:#fff !important; margin:10px 12px 0 !important;
    padding:4px 0 !important; border:1px solid #E5E3DC !important; border-radius:14px !important;
}
body:has(.user-info-section) .func-list .func-item { border-bottom:1px solid #F1EFE8 !important; padding:12px 14px !important; }
body:has(.user-info-section) .func-list .func-item:last-child { border-bottom:none !important; }
body:has(.user-info-section) .func-item .icon {
    width:34px !important; height:34px !important; flex:0 0 34px;
    border-radius:9px !important; background:#E1F5EE !important;
    display:flex !important; align-items:center; justify-content:center;
    font-size:0 !important; color:#0F6E56 !important;
}
body:has(.user-info-section) .func-item .icon .nav-svg { width:18px; height:18px; fill:none; stroke:#0F6E56; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
body:has(.user-info-section) .func-item .arrow { color:#B4B2A9 !important; font-size:16px !important; }

/* ===== 我的账户页改造（按优化稿） ===== */
body:has(.acc-page) { background:#f8f8f8; }
body:has(.acc-page) .acc-hero {
    margin:12px 12px 0; padding:16px 14px; border-radius:16px;
    background:linear-gradient(145deg,#0b6b6f 0%,#155d62 100%);
    color:#fff; box-shadow:0 15px 32px rgba(11,107,111,.18);
}
body:has(.acc-page) .acc-hero-row { display:flex; align-items:center; gap:10px; }
body:has(.acc-page) .acc-hero .back-btn {
    width:32px; height:32px; flex:0 0 32px; border-radius:50%;
    background:rgba(255,255,255,.18); border:none; color:#fff; font-size:18px; cursor:pointer; line-height:1;
}
body:has(.acc-page) .acc-hero-title { font-size:17px; font-weight:500; color:#fff; }
body:has(.acc-page) .acc-hero-sub { font-size:11px; color:#9FE1CB; margin-top:4px; }
body:has(.acc-page) .acc-card {
    margin:10px 12px 0; padding:14px; background:#fff;
    border:1px solid #E5E3DC; border-radius:14px;
}
body:has(.acc-page) .acc-overview { display:flex; align-items:center; }
body:has(.acc-page) .acc-ov-col { flex:1; text-align:center; padding:4px 0; }
body:has(.acc-page) .acc-ov-col + .acc-ov-col { border-left:1px solid #E5E3DC; }
body:has(.acc-page) .acc-ov-label { font-size:11px; color:#888780; }
body:has(.acc-page) .acc-ov-value { font-size:20px; font-weight:500; color:#0F6E56; margin-top:4px; }
body:has(.acc-page) .acc-card-head {
    display:flex; align-items:center; justify-content:space-between;
    padding-bottom:10px; border-bottom:1px solid #F1EFE8;
}
body:has(.acc-page) .acc-card-title { font-size:13px; font-weight:500; color:#2C2C2A; }
body:has(.acc-page) .acc-card-extra { font-size:11px; color:#888780; }
body:has(.acc-page) .income-item { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:11px 0; border-bottom:1px solid #F1EFE8; }
body:has(.acc-page) .income-item:last-child { border-bottom:none; }
body:has(.acc-page) .income-main { min-width:0; flex:1; }
body:has(.acc-page) .income-name { font-size:13px; color:#2C2C2A; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
body:has(.acc-page) .income-sub { font-size:11px; color:#888780; margin-top:3px; display:flex; gap:8px; flex-wrap:wrap; }
body:has(.acc-page) .income-amount { font-size:15px; font-weight:500; color:#E24B4A; white-space:nowrap; }
body:has(.acc-page) .income-empty { padding:18px 0 6px; text-align:center; font-size:11px; color:#888780; }
body:has(.acc-page) .income-empty-ico { width:24px; height:24px; fill:none; stroke:#B4B2A9; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; margin-bottom:6px; }
body:has(.acc-page) .acc-dep-head { display:flex; align-items:center; gap:10px; }
body:has(.acc-page) .acc-dep-icon { width:34px; height:34px; flex:0 0 34px; border-radius:9px; background:#E1F5EE; display:flex; align-items:center; justify-content:center; }
body:has(.acc-page) .acc-dep-icon svg { width:18px; height:18px; fill:none; stroke:#0F6E56; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
body:has(.acc-page) .acc-dep-title { font-size:13px; font-weight:500; color:#2C2C2A; }
body:has(.acc-page) .acc-dep-desc { font-size:11px; color:#888780; margin-top:2px; }
body:has(.acc-page) .acc-dep-amount { font-size:20px; font-weight:500; color:#0F6E56; margin:12px 0 10px; }
body:has(.acc-page) .acc-dep-info { background:#E1F5EE; color:#0F6E56; font-size:11px; padding:8px 10px; border-radius:8px; line-height:1.5; }
body:has(.acc-page) .acc-dep-btn { width:100%; height:40px; margin-top:12px; border:none; border-radius:10px; background:#0F6E56; color:#fff; font-size:14px; cursor:pointer; }
body:has(.acc-page) .acc-notice { margin:10px 12px 20px; border-radius:10px; background:#FAEEDA; overflow:hidden; cursor:pointer; }
body:has(.acc-page) .acc-notice-head { display:flex; align-items:center; gap:8px; padding:10px 12px; font-size:11px; }
body:has(.acc-page) .acc-notice-title { font-weight:500; color:#854F0B; }
body:has(.acc-page) .acc-notice-brief { flex:1; color:#BA7517; }
body:has(.acc-page) .acc-notice-more { color:#0F6E56; font-weight:500; }
body:has(.acc-page) .acc-notice.collapsed .acc-notice-body { display:none; }
body:has(.acc-page) .acc-notice:not(.collapsed) .acc-notice-body { display:block; padding:0 12px 10px; font-size:11px; color:#854F0B; line-height:1.6; }
