        html, body { touch-action: pan-y; -webkit-text-size-adjust: 100%; overscroll-behavior-y: none; }
        * { margin: 0; padding: 0; box-sizing: border-box; font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; -webkit-tap-highlight-color: transparent; }
        body { background-color: #f7f8fa; color: #333; overflow-x: hidden; }

        .app-container { max-width: 500px; margin: 0 auto; background: #fff; min-height: 100vh; position: relative; padding-bottom: 30px; box-shadow: 0 0 20px rgba(0,0,0,0.05); }

        /* ================= 灵动岛 (动态欢迎通知) ================= */
        .dynamic-island {
            position: fixed; top: 15px; left: 50%; transform: translateX(-50%) translateY(-60px) scale(0.8);
            background: rgba(0,0,0,0.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
            color: #fff; font-size: 13px; font-weight: bold; padding: 10px 20px; border-radius: 40px;
            display: flex; align-items: center; gap: 8px; box-shadow: 0 8px 24px rgba(0,0,0,0.25);
            z-index: 9999; opacity: 0; pointer-events: none; white-space: nowrap;
            transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
        }
        .dynamic-island.island-show { transform: translateX(-50%) translateY(0) scale(1); opacity: 1; }
        .island-icon { font-size: 15px; color: #f1c40f; }

        /* ================= 极简吸顶导航 ================= */
        .sticky-nav { position: fixed; top: 0; left: 50%; transform: translateX(-50%) translateY(-100%); width: 100%; max-width: 500px; height: 46px; background: rgba(255,255,255,0.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); z-index: 100; box-shadow: 0 1px 8px rgba(0,0,0,0.06); transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); box-sizing: border-box;}
        .sticky-nav.show { transform: translateX(-50%) translateY(0); }
        .sn-left { position: absolute; left: 12px; top: 0; bottom: 0; right: 92px; display: flex; align-items: center; gap: 8px; overflow: visible; }
        .sn-avatar { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; border: 1px solid #eee; flex-shrink: 0;}
        .sn-title { font-size: 13px; font-weight: bold; color: #333; white-space: nowrap; overflow: visible; text-overflow: clip; transform-origin: left center; }
        .sn-right { position: absolute; right: 12px; top: 0; bottom: 0; display: flex; align-items: center; gap: 8px; }
        .sn-btn-icon { width: 30px; height: 30px; background: #f4f6f9; border-radius: 50%; display: flex; justify-content: center; align-items: center; color: #333; font-size: 14px; flex-shrink: 0; cursor: pointer; transition: 0.2s;}
        .sn-btn-text { height: 30px; padding: 0 12px; background: #f4f6f9; border-radius: 15px; display: flex; justify-content: center; align-items: center; color: #333; text-decoration: none; font-size: 13px; font-weight: bold; gap: 5px; flex-shrink: 0; transition: 0.2s;}
        .sn-btn-icon:active, .sn-btn-text:active { background: #e4e6ea; text-decoration: none; color: #333;}

        /* ================= 头部区域 ================= */
        .header-bg { background: linear-gradient(180deg, #4480ff 0%, #598fff 100%); padding: 22px 15px 88px 15px; min-height: auto; height: auto; position: relative; color: #fff; overflow: visible; }
        .top-right-actions { position: absolute; top: 18px; right: 15px; display: flex; gap: 8px; z-index: 10; }
        .action-btn { background: rgba(255,255,255,0.2); color: #fff; padding: 6px 14px; border-radius: 20px; font-size: 13px; display: flex; align-items: center; gap: 5px; text-decoration: none; font-weight: bold; border: 1px solid rgba(255,255,255,0.15); cursor: pointer; transition: 0.2s;}
        .action-btn:hover { color: #fff; text-decoration: none; background: rgba(255,255,255,0.3); }
        .action-btn i { font-size: 14px; } 

        .header-top-row { display: flex; justify-content: flex-start; align-items: center; margin-top: 24px; margin-bottom: 8px; padding-right: 150px; min-width: 0;}
        .shop-info-left { display: flex; align-items: center; gap: 10px; width: 100%; min-width: 0; }
        .shop-logo { width: 48px; height: 48px; background: rgba(255,255,255,0.18); border-radius: 14px; border: 1px solid rgba(255,255,255,0.45); display: flex; justify-content: center; align-items: center; box-shadow: 0 8px 22px rgba(32,70,160,0.18); overflow: hidden; flex-shrink: 0;}
        .shop-logo img { width: 100%; height: 100%; object-fit: cover; }
        .shop-title-col { display: flex; flex-direction: column; justify-content: center; gap: 4px; flex: 1; min-width: 0; }
        .shop-title-row { display: flex; align-items: center; gap: 6px; min-width: 0; flex-wrap: nowrap; width: 100%; max-width: 100%; white-space: nowrap; overflow: visible; }
        .shop-name { display: inline-block; width: auto; font-size: 19px; font-weight: bold; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,0.2); white-space: nowrap; overflow: visible; text-overflow: clip; line-height: 1.25; word-break: keep-all; max-width: none; flex: 0 0 auto;}
        .auth-badge { background: linear-gradient(to right, #00c6ff, #0072ff); color: #fff; font-size: 10px; padding: 2px 6px; border-radius: 4px; font-weight: bold; box-shadow: 0 2px 5px rgba(0, 114, 255, 0.3); display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; flex: 0 0 auto; line-height: 1.35; transform: translateY(1px);}
        
        /* ================= 【高定版】数据展示区 ================= */
        .shop-stats { font-size: 11px; display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; margin-top: 4px; white-space: nowrap; min-width: 0; overflow: hidden;}
        .stat-item { display: inline-flex; align-items: center; gap: 5px; background: rgba(255, 255, 255, 0.16); padding: 4px 9px 4px 5px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.30); box-shadow: inset 0 1px 2px rgba(255,255,255,0.16), 0 6px 14px rgba(16,42,120,0.10); color: #fff; flex: 0 0 auto; white-space: nowrap; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);}
        .stat-icon { width: 21px; height: 21px; border-radius: 50%; display: inline-flex; justify-content: center; align-items: center; flex-shrink: 0; background: rgba(255,255,255,0.20); border: 1px solid rgba(255,255,255,0.28); box-shadow: 0 4px 10px rgba(12,34,90,0.14);}
        .stat-icon svg { width: 13px; height: 13px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 1px 1px rgba(0,0,0,0.18)); }
        .stat-icon-safe { background: linear-gradient(135deg, rgba(52,211,153,0.88) 0%, rgba(14,165,233,0.88) 100%); }
        .stat-icon-sales { background: linear-gradient(135deg, rgba(255,184,77,0.92) 0%, rgba(255,99,99,0.88) 100%); }
        .stat-text { opacity: 0.96; }
        .stat-num { font-weight: 800; font-family: Tahoma, Arial, sans-serif; letter-spacing: 0.4px; white-space: nowrap;}

        .shop-notice { font-size: 13px; line-height: 1.6; color: rgba(255,255,255,0.95); margin-top: 20px; white-space: pre-wrap; word-break: break-all; padding-bottom: 10px;}
        
        .contact-btn { position: absolute; right: 22px; bottom: 22px; background: #fff; color: #3b6fff; font-size: 12px; padding: 6px 14px; border-radius: 20px; font-weight: bold; box-shadow: 0 4px 12px rgba(0,0,0,0.15); display: flex; align-items: center; gap: 5px; cursor: pointer; z-index: 10; transition: 0.2s;}
        .contact-btn:active { transform: scale(0.95); }
        .contact-btn i { font-size: 14px; } 

        /* ================= 迷你音乐播放器 ================= */
        .mini-music-player { position: fixed; right: 14px; top: 146px; width: 136px; height: 42px; max-width: calc(100vw - 28px); padding: 6px 8px; border-radius: 999px; background: rgba(255,255,255,0.30); border: 1px solid rgba(255,255,255,0.48); box-shadow: 0 10px 24px rgba(26,64,160,0.18), inset 0 1px 0 rgba(255,255,255,0.38); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); z-index: 99; user-select: none; touch-action: none; cursor: grab; }
        .mini-music-player:active { cursor: grabbing; }
        .music-drag-bar { display: none; }
        .music-row { display: flex; align-items: center; gap: 7px; height: 100%; }
        .music-play-btn { width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.62); background: rgba(234,244,255,0.82); color: #4f8bff; display: flex; align-items: center; justify-content: center; box-shadow: 0 5px 12px rgba(44,99,190,0.14); outline: none; padding: 0; }
        .music-play-btn i { font-size: 11px; transform: translateX(1px); }
        .music-main { flex: 1; min-width: 0; padding-top: 1px; }
        .music-progress-wrap { height: 7px; display: flex; align-items: center; cursor: pointer; }
        .music-progress-track { width: 100%; height: 3px; border-radius: 999px; background: rgba(255,255,255,0.45); overflow: hidden; box-shadow: inset 0 1px 2px rgba(36,71,150,0.08); }
        .music-progress { width: 0%; height: 100%; border-radius: inherit; background: rgba(255,255,255,0.96); box-shadow: 0 0 6px rgba(255,255,255,0.45); }
        .music-time { display: flex; justify-content: space-between; align-items: center; margin-top: 3px; color: rgba(255,255,255,0.90); font-size: 9px; font-weight: 700; letter-spacing: 0.1px; line-height: 1; }
        .music-volume { display: none; }
        @media (max-width: 420px) { .mini-music-player { right: 12px; top: 142px; width: 128px; height: 40px; padding: 6px 7px; } .music-play-btn { width: 26px; height: 26px; flex-basis: 26px; } .music-time { font-size: 8.5px; } }
        @media (max-width: 360px) { .mini-music-player { width: 118px; right: 10px; top: 140px; } .music-row { gap: 6px; } }


        /* ================= 主体内容区域 ================= */
        .main-content { background: #fff; border-radius: 15px 15px 0 0; margin-top: -15px; position: relative; padding: 20px 15px; z-index: 5; min-height: 50vh;}
        .tab-wrapper { margin-bottom: 20px; display: flex; justify-content: space-between; border-bottom: 1px solid #f5f5f5;}
        .tab-item { font-size: 14px; font-weight: bold; color: #999; position: relative; padding-bottom: 8px; cursor: pointer; transition: 0.2s; flex: 1; text-align: center;}
        .tab-item.active { color: #333; }
        .tab-item.active::after { content: ''; position: absolute; bottom: -1px; left: 20%; width: 60%; height: 3px; background: #598fff; border-radius: 2px; }

        .cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 30px; }
        .cat-item { background: #f8f9fb; border-radius: 8px; padding: 12px; position: relative; overflow: hidden; border: 1px solid transparent; cursor: pointer; display: flex; align-items: center; gap: 10px;}
        .cat-item.active { background: linear-gradient(135deg, #5c8aff 0%, #406dff 100%); color: #fff; }
        .cat-img { width: 35px; height: 35px; border-radius: 6px; object-fit: cover; background: #fff;}
        .cat-text-box { flex: 1; }
        .cat-name { font-size: 14px; font-weight: bold; margin-bottom: 4px; color: #333; }
        .cat-desc { font-size: 11px; color: #999; }
        .cat-item.active .cat-name, .cat-item.active .cat-desc { color: #fff; }
        .cat-item.active::after { content: ''; position: absolute; right: -5px; bottom: -5px; width: 40px; height: 40px; background: rgba(255,255,255,0.2); border-radius: 50%; }
        .cat-item.active::before { content: '✔'; position: absolute; right: 8px; bottom: 6px; color: rgba(255,255,255,0.8); font-size: 16px; z-index: 2; transform: skewX(-10deg); }

        .section-title { font-size: 16px; font-weight: bold; margin-bottom: 15px; color: #333; }
        
        .goods-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
        .goods-card-text { border: 1px solid #f0f0f0; border-radius: 8px; padding: 15px; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.02); display: flex; flex-direction: column; justify-content: space-between; height: 90px; cursor: pointer; transition: 0.2s;}
        .goods-card-text:active { transform: scale(0.98); }
        .goods-card-text .goods-title { font-size: 14px; color: #333; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;}
        .goods-card-text .goods-bottom { display: flex; justify-content: space-between; align-items: center; }
        
        .goods-card-img { border: 1px solid #f0f0f0; border-radius: 8px; background: #fff; overflow: hidden; cursor: pointer; transition: 0.2s; padding-bottom: 10px;}
        .goods-card-img:active { transform: scale(0.98); }
        .goods-card-img .goods-pic { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #f8f9fa; }
        .goods-card-img .goods-title { font-size: 13px; color: #333; font-weight: 500; padding: 8px 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4; height: 44px;}
        .goods-card-img .goods-bottom { display: flex; justify-content: space-between; align-items: center; padding: 0 10px; margin-top: 5px;}
        .goods-stock-wrap { display: flex; align-items: center; justify-content: flex-end; min-width: 62px; }
        .goods-card-img .buy-btn-small { background: #598fff; color: #fff; font-size: 11px; padding: 3px 8px; border-radius: 4px;}

        .goods-price { color: #ff5000; font-size: 16px; font-weight: bold; }
        .goods-status { font-size: 11px; padding: 3px 7px; border-radius: 999px; font-weight: 600; white-space: nowrap; }
        .status-on { color: #2e7d32; background: #edf8f0; }
        .status-mid { color: #8a5b00; background: #fff7df; }
        .status-low { color: #d46b08; background: #fff0e6; }
        .status-off { color: #ff5000; background: #ffeeee; }
        .no-more { text-align: center; color: #bbb; font-size: 13px; margin-top: 40px; padding-bottom: 20px;}

        /* 文章 */
        #section-article { display: none; }

        /* 授权中心 */
        #section-auth { display: none; animation: fadeIn 0.3s; }
        .auth-center-wrap { background: transparent; border: 0; border-radius: 0; padding: 0; margin-bottom: 15px; }
        .auth-hero-card { position: relative; overflow: hidden; border-radius: 16px; padding: 16px; color: #1f2937; background: linear-gradient(180deg,#ffffff 0%,#f8fbff 100%); border: 1px solid #eef2f7; box-shadow: 0 8px 24px rgba(31,41,55,.05); margin-bottom: 12px; }
        .auth-hero-card::after { content: ''; position: absolute; right: -44px; top: -54px; width: 132px; height: 132px; border-radius: 50%; background: rgba(89,143,255,.08); pointer-events: none; }
        .auth-hero-top { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; padding-right: 42px; }
        .auth-hero-icon { width: 42px; height: 42px; border-radius: 14px; background: #f0f5ff; color: #3b6fff; border: 1px solid #e3ebff; display: flex; align-items: center; justify-content: center; font-size: 19px; flex: 0 0 42px; }
        .auth-hero-title { font-size: 18px; font-weight: 900; line-height: 1.25; color: #202938; }
        .auth-hero-sub { margin-top: 4px; font-size: 12px; color: #7b8494; letter-spacing: 1px; font-weight: 700; }
        .auth-notice-btn { position: absolute; z-index: 2; right: 14px; top: 14px; width: 34px; height: 34px; border: 1px solid #e8eefc; border-radius: 12px; background: #fff; color: #3b6fff; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 5px 14px rgba(59,111,255,.08); }
        .auth-form-card, .auth-download-card, .auth-steps-card { background: #fff; border: 1px solid #eef2f7; border-radius: 16px; box-shadow: 0 6px 18px rgba(31,41,55,.04); padding: 14px; margin-bottom: 12px; }
        .auth-form-label { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
        .auth-form-label strong { font-size: 14px; color: #202938; }
        .auth-form-label span { font-size: 11px; color: #9aa4b2; font-weight: 700; white-space: nowrap; }
        .auth-input-wrap { min-height: 48px; display: flex; align-items: center; border: 1.5px solid #e9edf5; border-radius: 14px; background: #fafbff; overflow: hidden; transition: .2s; }
        .auth-input-wrap:focus-within { border-color: #8fb1ff; box-shadow: 0 0 0 3px rgba(89,143,255,.10); background: #fff; }
        .auth-input-icon { width: 48px; height: 48px; background: transparent; color: #3b6fff; display: flex; align-items: center; justify-content: center; flex: 0 0 48px; font-size: 17px; }
        .auth-input { width: 100%; min-width: 0; height: 48px; border: 0; outline: none; padding: 0 13px 0 0; font-size: 14px; font-weight: 700; color: #202938; background: transparent; }
        .auth-input::placeholder { color: #a5adba; font-weight: 500; }
        .auth-tip { margin-top: 8px; color: #7b8494; font-size: 12px; line-height: 1.55; }
        .auth-submit-btn { width: 100%; height: 48px; margin-top: 12px; border: 0; border-radius: 14px; color: #fff; background: #3b6fff; box-shadow: 0 8px 18px rgba(59,111,255,.20); font-size: 15px; font-weight: 900; cursor: pointer; }
        .auth-submit-btn:disabled { opacity: .72; cursor: not-allowed; }
        .auth-download-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
        .auth-download-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
        .auth-download-icon { width: 40px; height: 40px; border-radius: 13px; background: #f5f7fb; color: #3b6fff; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; font-size: 17px; }
        .auth-download-title { color: #202938; font-size: 14px; font-weight: 900; margin-bottom: 4px; }
        .auth-download-desc { color: #8a93a3; font-size: 12px; line-height: 1.4; }
        .auth-download-btn { height: 38px; min-width: 78px; padding: 0 14px; border-radius: 12px; color: #fff; background: #202938; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; font-weight: 900; white-space: nowrap; flex: 0 0 auto; }
        .auth-download-btn:hover, .auth-download-btn:focus { color: #fff; text-decoration: none; }
        .auth-section-title { display: flex; align-items: center; gap: 8px; color: #202938; font-size: 14px; font-weight: 900; margin-bottom: 12px; }
        .auth-section-title i { color: #3b6fff; }
        .auth-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
        .auth-step { background: #fafbff; border: 1px solid #eef2f7; border-radius: 12px; padding: 10px; display: flex; gap: 8px; align-items: flex-start; min-width: 0; }
        .auth-step-icon { width: 26px; height: 26px; border-radius: 9px; background: #f0f5ff; color: #3b6fff; display: flex; align-items: center; justify-content: center; flex: 0 0 26px; font-size: 12px; }
        .auth-step-title { color: #202938; font-size: 12px; font-weight: 900; margin-bottom: 2px; }
        .auth-step-desc { color: #7b8494; font-size: 11px; line-height: 1.35; }
        .auth-result-list { display: grid; gap: 10px; margin-top: 15px; }
        .auth-result-card { background: #f8f9fb; border: 1px solid #f0f2f5; border-radius: 13px; padding: 13px; }
        .auth-result-label { color: #8b95a1; font-size: 12px; font-weight: 900; margin-bottom: 7px; }
        .auth-result-level { color: #222; font-size: 18px; font-weight: 900; word-break: break-word; }
        .auth-result-op { max-height: 150px; overflow: auto; color: #333; font-size: 12px; line-height: 1.65; word-break: break-all; user-select: text; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
        .auth-api-message { margin-top: 12px; padding: 11px 12px; border-radius: 12px; background: #f2f6ff; border: 1px solid #e3ebff; color: #315bbf; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
        .auth-api-message span { color: #7f8aa0; font-size: 12px; font-weight: 900; white-space: nowrap; }
        .auth-api-message strong { color: #274aae; font-size: 13px; font-weight: 900; text-align: right; word-break: break-word; }
        .auth-error-box { margin-top: 14px; padding: 13px; border-radius: 13px; background: #fff5f3; border: 1px solid #ffd6d1; color: #e5484d; font-size: 13px; line-height: 1.7; }
        .auth-copy-btn { width: 100%; height: 46px; margin-top: 14px; border: 0; border-radius: 13px; color: #fff; background: #202938; cursor: pointer; font-size: 14px; font-weight: 900; }
        .auth-notice-scroll { overflow-y: auto; max-height: 52vh; padding-right: 2px; display: grid; gap: 10px; }
        .auth-notice-block { padding: 12px; border-radius: 13px; background: #f8f9fb; border: 1px solid #f0f2f5; }
        .auth-notice-block h4 { color: #333; font-size: 14px; font-weight: 900; margin-bottom: 7px; }
        .auth-notice-block p { color: #667085; font-size: 13px; line-height: 1.65; word-break: break-word; }
        .auth-notice-code { margin-top: 6px; padding: 9px 10px; border-radius: 10px; background: #eef2ff; color: #34405c; font-size: 12px; line-height: 1.55; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; word-break: break-all; }
        .auth-loading { width: 36px; height: 36px; margin: 5px auto 16px; border-radius: 50%; border: 3px solid #e7edff; border-top-color: #598fff; animation: spinAuth .78s linear infinite; }
        @keyframes spinAuth { to { transform: rotate(360deg); } }
        @media (max-width: 420px) { .tab-wrapper { gap: 4px; } .tab-item { font-size: 13px; padding-bottom: 9px; } .auth-center-wrap { margin-left: -1px; margin-right: -1px; } .auth-hero-card, .auth-form-card, .auth-download-card, .auth-steps-card { border-radius: 14px; padding: 13px; } .auth-hero-title { font-size: 17px; } .auth-download-card { align-items: center; } .auth-api-message { align-items: flex-start; flex-direction: column; } .auth-api-message strong { text-align: left; } }
        @media (max-width: 360px) { .auth-steps { grid-template-columns: 1fr; } .auth-form-label { align-items: flex-start; flex-direction: column; gap: 4px; } .auth-download-desc { display: none; } }


        .art-content-scroll img, #art_content img { max-width: 100% !important; height: auto !important; display: block; margin: 10px auto; border-radius: 10px; }
        .art-content-scroll video, #art_content video { max-width: 100% !important; height: auto !important; display: block; margin: 10px auto; border-radius: 10px; }
        .art-content-scroll p, #art_content p { margin: 0 0 10px; }

        .article-item { display: flex; align-items: center; justify-content: space-between; padding: 15px 0; border-bottom: 1px dashed #eee; text-decoration: none; color: inherit; transition: background 0.2s; cursor: pointer;}
        .article-item:active { background: #fafafa; }
        .article-info { flex: 1; padding-right: 15px; }
        .article-title-wrap { display: flex; align-items: flex-start; margin-bottom: 8px; }
        .top-badge { flex-shrink: 0; background: #fff0eb; color: #ff5000; font-size: 10px; padding: 2px 5px; border-radius: 4px; font-weight: bold; margin-right: 6px; margin-top: 2px; border: 1px solid #ffd4c2;}
        .article-title { font-size: 15px; color: #333; font-weight: 500; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;}
        .article-meta { font-size: 12px; color: #999; display: flex; gap: 15px; align-items: center;}

        /* 卡密兑换 */
        #section-cardbuy { display: none; animation: fadeIn 0.3s; }
        .cardbuy-container { background: #f8f9fb; border-radius: 12px; padding: 20px; border: 1px solid #f0f2f5; margin-bottom: 15px;}
        .cb-title { font-size: 15px; font-weight: bold; color: #333; margin-bottom: 15px; display: flex; align-items: center; gap: 8px; }
        .cb-title i { color: #598fff; }

        /* 用户评价样式已拆分到 assets/css/jingpro_reviews.css */

        /* 导航 */
        #section-about { display: none; animation: fadeIn 0.3s; }
        .about-card { background: #fff; border-radius: 12px; margin-bottom: 15px; }
        .nav-link-item { display: flex; align-items: center; padding: 15px; background: #f8f9fb; border-radius: 12px; margin-bottom: 12px; text-decoration: none; color: inherit; transition: 0.2s; border: 1px solid transparent; box-shadow: 0 1px 3px rgba(0,0,0,0.02);}
        .nav-link-item:active { transform: scale(0.98); background: #f0f2f5; }
        .nav-icon-wrap { width: 42px; height: 42px; border-radius: 12px; display: flex; justify-content: center; align-items: center; margin-right: 15px; color: #fff; font-size: 20px; box-shadow: 0 2px 6px rgba(0,0,0,0.1);}
        .nav-info { flex: 1; }
        .nav-title { font-size: 15px; font-weight: bold; color: #333; margin-bottom: 4px; }
        .nav-sub { font-size: 12px; color: #999; }

        /* 弹窗及通用样式 */
        .overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 1000; opacity: 0; visibility: hidden; transition: 0.3s; }
        .overlay.show { opacity: 1; visibility: visible; }
        .modal-sheet { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%) translateY(100%); width: 100%; max-width: 500px; background: #fff; border-radius: 20px 20px 0 0; padding: 20px; display: flex; flex-direction: column; max-height: 85vh; transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
        .overlay.show .modal-sheet { transform: translateX(-50%) translateY(0); }

        .modal-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 15px; }
        .modal-title { font-size: 18px; font-weight: bold; color: #333; padding-right: 30px; line-height: 1.4;}
        .buy-modal-header { margin-bottom: 6px; align-items: flex-start; }
        .buy-title-wrap { min-width: 0; padding-right: 34px; }
        .buy-modal-main-title { display: inline-flex; align-items: center; gap: 6px; font-size: 19px; font-weight: 900; color: #202124; margin-bottom: 3px; letter-spacing: 0.2px; }
        .buy-modal-main-title i { color: #3b6fff; font-size: 15px; }
        .buy-product-title { font-size: 14px; color: #555; font-weight: 600; padding-right: 0; line-height: 1.32; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
        .close-icon { font-size: 24px; color: #999; cursor: pointer; position: absolute; right: 20px; top: 15px; font-family: Arial, sans-serif; font-weight: normal; line-height: 1; transition: 0.2s;}
        .close-icon:active { color: #333; }

        /* 搜索弹窗专属居中样式 */
        .center-modal { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.9); width: 88%; max-width: 400px; background: #fff; border-radius: 16px; padding: 20px; display: flex; flex-direction: column; max-height: 75vh; transition: 0.3s; opacity: 0; pointer-events: none;}
        .overlay.show .center-modal { transform: translate(-50%, -50%) scale(1); opacity: 1; pointer-events: auto;}
        .modal-header-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; width: 100%;}
        .close-circle-btn { width: 28px; height: 28px; background: #f0f2f5; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 16px; color: #999; cursor: pointer; transition: 0.2s; font-family: Arial, sans-serif;}
        
        .search-box-wrap { display: flex; gap: 8px; margin-top: 10px; margin-bottom: 15px; }
        .search-box-wrap input { flex: 1; border: 1.5px solid #eef0f4; border-radius: 8px; padding: 10px 15px; font-size: 14px; outline: none; transition: 0.2s;}
        .search-box-wrap input:focus { border-color: #3b6fff; }
        .search-box-wrap button { background: #3b6fff; color: #fff; border: none; border-radius: 8px; padding: 0 15px; font-weight: bold; font-size: 13px; cursor: pointer;}
        .search-res-scroll { overflow-y: auto; flex: 1; min-height: 100px;}

        /* 客服弹窗专属 UI */
        .kf-box { background: linear-gradient(180deg,#f7fbff 0%,#ffffff 100%); border-radius: 16px; padding: 25px 20px; text-align: center; margin-bottom: 15px; border: 1px solid #eef4ff; box-shadow: 0 10px 24px rgba(34,158,217,0.08); }
        .kf-avatar { width: 68px; height: 68px; border-radius: 18px; object-fit: cover; border: 3px solid #fff; box-shadow: 0 8px 18px rgba(34,158,217,0.18); margin-bottom: 12px; }
        .kf-name { font-size: 16px; font-weight: bold; color: #333; margin-bottom: 8px; }
        .kf-account { display: inline-flex; align-items: center; gap: 6px; background: #eef8ff; color: #229ED9; padding: 7px 16px; border-radius: 999px; font-size: 14px; font-weight: bold; text-decoration: none; transition: 0.2s; border: 1px solid #d9efff;}
        .kf-desc { font-size: 13px; color: #666; line-height: 1.6; text-align: center; padding: 0 10px; }

        .modal-tags { display: flex; gap: 8px; margin-bottom: 6px; }
        .tag-green { border: 1px solid rgba(46,171,102,0.3); color: #2eab66; font-size: 11px; padding: 2px 8px; border-radius: 4px; }
        .tag-blue { background: #eef2ff; color: #598fff; font-size: 11px; padding: 3px 8px; border-radius: 4px; }
        
        .modal-body-scroll { overflow-y: auto; flex: 1; padding-bottom: 80px; }
        .buy-modal-sheet { height: 62vh; max-height: 560px; min-height: 420px; overflow: hidden; padding: 14px 16px 0 16px; }
        .buy-modal-body { overflow: hidden; flex: 1; min-height: 0; display: flex; flex-direction: column; padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
        .desc-scroll-area { flex: 1 1 150px; min-height: 128px; overflow-y: auto; -webkit-overflow-scrolling: touch; padding-right: 2px; padding-bottom: 6px; margin-bottom: 7px; border-bottom: 1px solid #f5f5f5; }
        .buy-fixed-form { flex: 0 0 auto; background: #fff; }
        .desc-title { font-size: 14px; color: #333; margin-bottom: 5px; font-weight: bold;}
        .desc-content { font-size: 13px; color: #666; background: #fff; padding: 0 0 10px 0; word-break: break-all; line-height: 1.55;}
        .desc-scroll-area .desc-content { padding-bottom: 4px; }
        
        .input-group-custom { display: flex; align-items: center; border: 1.5px solid #eef0f4; border-radius: 9px; padding: 9px 12px; margin-bottom: 8px; background: #fff; transition: 0.2s;}
        .input-group-custom:focus-within { border-color: #598fff; box-shadow: 0 0 0 3px rgba(89,143,255,0.1); }
        .input-label { color: #333; font-size: 14px; display: flex; align-items: center; white-space: nowrap; margin-right: 15px; font-weight: bold;}
        .input-label span { color: #ff5000; margin-right: 2px; }
        .input-field { border: none; outline: none; flex: 1; font-size: 14px; color: #333; background: transparent; width: 100%;}
        
        .pay-methods { display: flex; gap: 8px; margin-bottom: 6px; flex-wrap: nowrap;}
        .pay-btn { flex: 1; justify-content: center; display: flex; align-items: center; gap: 6px; padding: 8px 10px; border: 1px solid #f0f0f0; border-radius: 10px; background: #fafafa; cursor: pointer; font-size: 13px; position: relative; overflow: hidden; transition: 0.2s;}
        .pay-btn.active { border-color: #598fff; background: #f5f8ff; }
        .pay-btn.active::after { content: ''; position: absolute; right: 0; bottom: 0; width: 0; height: 0; border-bottom: 20px solid #598fff; border-left: 20px solid transparent; }
        .pay-btn.active::before { content: '✔'; position: absolute; right: 2px; bottom: -1px; color: #fff; font-size: 10px; z-index: 2; }
        
        .icon-wx { color: #07c160; font-size: 18px; }
        .icon-zfb { display:inline-flex; justify-content:center; align-items:center; width:18px; height:18px; background:#1677ff; color:#fff; border-radius:50%; font-size:12px; font-weight:bold; font-family:Arial; }

        .bottom-action-bar { position: absolute; bottom: 0; left: 0; right: 0; background: #fff; padding: 8px 12px; border-top: 1px solid #f5f5f5; display: flex; justify-content: space-between; align-items: center; z-index: 10; padding-bottom: calc(8px + env(safe-area-inset-bottom)); border-radius: 0 0 20px 20px;}
        .price-display { color: #ff5000; font-size: 22px; font-weight: bold; }
        .price-display small { font-size: 14px; }
        
        .right-actions { display: flex; align-items: center; gap: 8px; }
        .qty-ctrl { display: flex; align-items: center; background: #f4f6f9; border-radius: 6px; overflow: hidden; padding: 2px;}
        .qty-btn { width: 28px; height: 28px; display: flex; justify-content: center; align-items: center; background: #fff; border: none; color: #666; font-size: 18px; cursor: pointer; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,0.05);}
        .qty-input { width: 35px; height: 28px; text-align: center; border: none; background: transparent; font-size: 14px; font-weight: bold; color: #333; }
        
        .submit-btn { background: #3b6fff; color: #fff; border: none; border-radius: 20px; padding: 8px 16px; font-size: 14px; font-weight: bold; box-shadow: 0 2px 8px rgba(59,111,255,0.3); cursor: pointer; transition: 0.2s;}
        .submit-btn:active { transform: scale(0.95); }
        .submit-btn-large { background: linear-gradient(135deg, #598fff 0%, #3b6fff 100%); width: 100%; border-radius: 10px; padding: 12px; font-size: 15px; margin-bottom: 10px; border:none; color:#fff; font-weight:bold; display: block; text-align: center; text-decoration: none;}

        @media (max-width: 420px) {
    .buy-modal-sheet { height: 64vh; max-height: 64vh; min-height: 420px; }
    .price-display { font-size: 19px; }
    .qty-ctrl { display: flex !important; }
    .qty-btn { width: 24px; height: 24px; font-size: 16px; }
    .qty-input { width: 30px; height: 24px; font-size: 13px; }
            .header-bg { padding-top: 18px; padding-bottom: 108px; min-height: auto; height: auto; }
            .header-top-row { margin-top: 48px; padding-right: 0; }
            .shop-title-row { max-width: 100%; }
            .shop-name { max-width: 100%; font-size: 18px; }
            .shop-stats { gap: 6px; font-size: 10.5px; }
            .stat-item { padding: 3px 6px 3px 4px; gap: 3px; }
            .right-actions { gap: 8px; }
            .submit-btn { padding-left: 18px; padding-right: 18px; }
        }


        /* v4：公告区域收紧 + TG客服按钮单独一行 */
        .header-bg { padding-bottom: 30px !important; min-height: auto !important; height: auto !important; overflow: visible !important; }
        .shop-notice { margin-top: 14px !important; padding-bottom: 0 !important; }
        .contact-btn { position: relative !important; right: auto !important; bottom: auto !important; margin: 12px 22px 0 auto !important; width: max-content !important; max-width: calc(100% - 44px) !important; white-space: nowrap !important; justify-content: center !important; }
        @media (max-width: 420px) { .header-bg { padding-top: 18px !important; padding-bottom: 28px !important; } .header-top-row { margin-top: 48px !important; } .shop-info-left { gap: 8px; } .shop-logo { width: 44px; height: 44px; border-radius: 13px; } .shop-title-row { gap: 5px; flex-wrap: nowrap !important; } .shop-name { width: auto !important; max-width: none !important; white-space: nowrap !important; font-size: clamp(14px, 4.2vw, 18px) !important; line-height: 1.22; } .auth-badge { font-size: 9.5px; padding: 2px 5px; border-radius: 4px; } .auth-badge i { font-size: 10px !important; } }
        @media (max-width: 360px) { .shop-logo { width: 40px; height: 40px; border-radius: 12px; } .shop-name { font-size: 14px !important; } .auth-badge { font-size: 9px; padding: 2px 4px; } }
        
        /* v4：文章详情图片强制自适应，避免后台上传/外链图片破版 */
        .art-content-scroll img, #art_content img { max-width: 100% !important; height: auto !important; display: block !important; margin: 10px auto !important; border-radius: 10px !important; object-fit: contain !important; }
        .art-content-scroll p, #art_content p { margin: 8px 0; }
        
        @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
