
        :root { --primary: #4D698E; --primary-hover: #3F5A7A; --primary-light: hsl(214.15, 29.68%, 93%); --success: #58a400; --text: var(--text-color, #111); --text-muted: hsl(214.15, 15%, 50%); --card: #fff; --border: #e8ecf3; --radius: 4px;
            --audio-border: #f0f0f0; --audio-border-2: #f8f8f8; --audio-text: #333; --audio-muted: #667c99; --audio-muted-2: #999; --audio-soft: #f8f9fa; }

        .breadcrumb-wrap { padding: 36px 0; color: #fff; margin-bottom: 0; background: var(--primary); position: relative; overflow: hidden; }
        .breadcrumb-wrap::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(circle at 30% 50%, rgba(255,255,255,.1) 0%, transparent 60%); pointer-events: none; }
        .breadcrumb-inner { margin: 0 auto; padding: 0 20px; text-align: center; position: relative; z-index: 1; width: auto; max-width: 100%; }
        .breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.8); margin-bottom: 16px; }
        .breadcrumb a { color: rgba(255,255,255,.9); text-decoration: none; transition: color .2s; }
        .breadcrumb a:hover { color: #fff; }
        .breadcrumb .sep { color: rgba(255,255,255,.5); }
        .hero-tags { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 18px; }
        .hero-tag { display: inline-block; padding: 5px 14px; border-radius: 20px; font-size: 12px; font-weight: 500; color: #fff; background: rgba(255,255,255,.2); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.3); transition: all .2s; }
        .hero-tag:hover { background: rgba(255,255,255,.3); transform: translateY(-1px); }
        .hero-title { font-size: 30px; font-weight: 600; color: #fff; margin: 0; line-height: 1.3; letter-spacing: -0.5px; text-shadow: 0 2px 4px rgba(0,0,0,.1); }

        .product-page { margin: 24px auto 48px; padding: 0 15px; width: auto; max-width: 100%; }
        .product-grid { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
        .main-col { min-width: 0; }

        /* Clean Audio Player */
        .audio-player-card { background: #fff; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,.06); overflow: hidden; border: 1px solid #f0f0f0; display: flex; align-items: stretch; }
        .ap-cover { width: 160px; flex-shrink: 0; background: var(--primary-light); display: flex; align-items: center; justify-content: center; min-height: 160px; position: relative; }
        .ap-cover-icon { font-size: 48px; color: rgba(77,105,142,.25); transition: transform .3s; }
        .audio-player-card.playing .ap-cover-icon { animation: coverPulse 1.5s ease-in-out infinite; }
        @keyframes coverPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.08); } }
        .ap-main { flex: 1; padding: 24px 28px; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
        .ap-track-title { font-size: 18px; font-weight: 600; color: #111; margin: 0 0 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .ap-track-artist { font-size: 13px; color: #8596ad; margin-bottom: 14px; }
        .ap-ctrl-row { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
        .ap-btn { width: 36px; height: 36px; border: none; border-radius: 50%; background: #f0f2f5; color: #667c99; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 13px; transition: all .15s; flex-shrink: 0; font-family: inherit; }
        .ap-btn:hover { background: #e0e3e8; color: #333; }
        .ap-btn-main { width: 46px; height: 46px; background: var(--primary); color: #fff; font-size: 17px; box-shadow: 0 3px 10px rgba(77,105,142,.3); }
        .ap-btn-main:hover { background: var(--primary-hover); transform: scale(1.06); }
        .ap-btn-main.playing { background: var(--primary); box-shadow: 0 3px 10px rgba(77,105,142,.3); }
        .ap-volume-wrap { display: flex; align-items: center; gap: 4px; margin-left: auto; flex-shrink: 1; min-width: 0; }
        .ap-vol-btn { width: 28px; height: 28px; border: none; border-radius: 50%; background: transparent; color: #8596ad; cursor: pointer; font-size: 13px; display: flex; align-items: center; justify-content: center; font-family: inherit; }
        .ap-vol-btn:hover { color: #333; }
        .ap-vol-range { width: 70px; height: 4px; -webkit-appearance: none; appearance: none; background: #e0e3e8; border-radius: 2px; outline: none; cursor: pointer; flex-shrink: 1; min-width: 42px; }
        .ap-vol-range::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: var(--primary); cursor: pointer; box-shadow: 0 1px 3px rgba(0,0,0,.15); }
        .ap-speed { background: #f0f2f5; border: none; color: #667c99; border-radius: 10px; padding: 4px 10px; font-size: 11px; cursor: pointer; font-family: inherit; outline: none; }
        .ap-speed:hover { background: #e0e3e8; }
        .ap-prog-row { display: flex; align-items: center; gap: 10px; }
        .ap-time { font-size: 11px; color: #999; font-variant-numeric: tabular-nums; font-family: "SF Mono","Consolas",monospace; min-width: 36px; text-align: center; }
        .ap-prog-wrap { flex: 1; height: 5px; background: #e8ecf3; border-radius: 3px; cursor: pointer; position: relative; }
        .ap-prog-bar { height: 100%; background: linear-gradient(90deg, var(--primary), var(--primary)); border-radius: 3px; width: 0%; position: relative; transition: width .1s linear; }
        .ap-prog-bar::after { content: ''; position: absolute; right: -5px; top: 50%; transform: translateY(-50%); width: 12px; height: 12px; border-radius: 50%; background: var(--primary); box-shadow: 0 1px 3px rgba(0,0,0,.2); opacity: 0; transition: opacity .15s; }
        .ap-prog-wrap:hover .ap-prog-bar::after { opacity: 1; }

        /* Dark mode */
        html.dark .audio-player-card { background: #1e1e32; border-color: #2a2a3e; }
        html.dark .ap-cover { background: linear-gradient(135deg, #2a2a3e, #1e1e32); }
        html.dark .ap-track-title { color: #e0e0e0; }
        html.dark .ap-track-artist { color: #8899aa; }
        html.dark .ap-btn { background: #2a2a3e; color: #8899aa; }
        html.dark .ap-btn:hover { background: #333; color: #ccc; }
        html.dark .ap-vol-btn { color: #8899aa; }
        html.dark .ap-vol-btn:hover { color: #ccc; }
        html.dark .ap-vol-range { background: #2a2a3e; }
        html.dark .ap-speed { background: #2a2a3e; color: #8899aa; }
        html.dark .ap-speed:hover { background: #333; }
        html.dark .ap-prog-wrap { background: #2a2a3e; }

        /* Info card */
        .audio-info-card { background: #fff; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,.08); padding: 28px; margin-top: 20px; border: 1px solid #f0f0f0; }
        .tabs { display: flex; border-bottom: 2px solid #f0f0f0; }
        .tab-btn { padding: 10px 18px; border: none; background: none; font-size: 14px; color: #667c99; cursor: pointer; position: relative; font-family: inherit; transition: color .2s; }
        .tab-btn:hover { color: var(--primary); }
        .tab-btn.active { color: var(--primary); font-weight: 600; }
        .tab-btn.active::after { content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 2px; background: var(--primary); border-radius: 1px; }
        .tab-content { display: none; padding: 18px 0; }
        .tab-content.active { display: block; }
        .desc-text { font-size: 15px; color: #333; line-height: 1.8; }
        .desc-text code { background: #f5f5f5; padding: 2px 6px; border-radius: 4px; font-size: 13px; font-family: "SF Mono","Consolas",monospace; color: var(--primary); }
        .desc-text pre { background: #1e1e2e; color: #cdd6f4; padding: 16px 20px; border-radius: 8px; overflow-x: auto; margin-bottom: 12px; font-size: 13px; line-height: 1.6; position: relative; }
        .desc-text pre code { background: none; padding: 0; color: inherit; font-size: inherit; }
        .info-table { width: 100%; }
        .info-table tr { border-bottom: 1px solid #f0f0f0; }
        .info-table td { padding: 12px 0; font-size: 14px; }
        .info-table td:first-child { color: #667c99; width: 100px; font-weight: 500; }
        .file-info-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; padding-top: 12px; border-top: 1px solid #f0f0f0; }
        .info-pill { padding: 4px 12px; background: #f8f9fa; color: #667c99; border-radius: 12px; font-size: 12px; border: 1px solid #eee; }

        /* Sidebar */
        .sidebar { position: sticky; top: 68px; }
        .purchase-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.1); border: 1px solid #f0f0f0; margin-bottom: 20px; }
        .pc-header { background: var(--primary); padding: 32px 24px 28px; text-align: center; color: #fff; }
        .pc-header.purchased { background: var(--success); }
        .pc-header .price-tag { font-size: 2.8rem; font-weight: 300; letter-spacing: -1px; }
        .pc-header .price-tag .currency { font-size: 16px; vertical-align: top; margin-right: 2px; opacity: .9; }
        .pc-header .price-note { font-size: 13px; opacity: .9; margin-top: 6px; }
        .pc-body { padding: 24px; }
        .pc-features { list-style: none; margin-bottom: 18px; }
        .pc-features li { display: flex; align-items: center; gap: 10px; padding: 10px 0; font-size: 14px; color: #555; border-bottom: 1px solid #f8f8f8; }
        .pc-features li:last-child { border-bottom: none; }
        .pf-icon { color: #58a400; font-size: 16px; }
        .btn-buy { display: block; width: 100%; padding: 14px 16px; border: none; border-radius: 6px; font-size: 15px; font-weight: 600; cursor: pointer; background: var(--primary); color: #fff; text-align: center; line-height: 20px; text-decoration: none; font-family: inherit; box-shadow: 0 4px 12px rgba(77, 105, 142, 0.3); transition: all 0.2s ease; }
        .btn-buy:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(77, 105, 142, 0.4); }
        .btn-login { display: block; width: 100%; padding: 12px 16px; border: none; border-radius: 6px; font-size: 14px; font-weight: 600; cursor: pointer; background: #fff; color: var(--primary); border: 1px solid var(--primary); text-align: center; line-height: 20px; text-decoration: none; font-family: inherit; transition: all 0.2s; }
        .btn-login:hover { background: #f8f9fa; }
        .btn-dl { display: block; width: 100%; padding: 12px 16px; border: none; border-radius: 6px; font-size: 14px; font-weight: 600; cursor: pointer; background: var(--success); color: #fff; text-align: center; line-height: 20px; text-decoration: none; font-family: inherit; box-shadow: 0 4px 12px rgba(88, 164, 0, 0.3); transition: all 0.2s; }
        .purchased-badge { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px; background: #e8f5e9; color: #2e7d32; border-radius: 6px; font-weight: 500; font-size: 14px; margin-bottom: 14px; }
        .access-link-box { display: flex; background: #f8f9fa; border: 1px solid #f0f0f0; border-radius: 6px; overflow: hidden; margin-bottom: 12px; }
.access-link-box .link-label { display: flex; align-items: center; background: var(--primary); color: #fff; font-size: 12px; padding: 8px 12px; white-space: nowrap; flex-shrink: 0; }
        .access-link-box .link-text { flex: 1; padding: 10px 12px; font-size: 14px; color: #333; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
        .access-link-box .link-text a { color: var(--primary); text-decoration: none; }
        .access-label { font-size: 14px; color: #667c99; margin-bottom: 4px; font-weight: 500; }
        .btn-copy { padding: 10px 14px; background: var(--primary); color: #fff; border: none; cursor: pointer; font-size: 14px; white-space: nowrap; font-family: inherit; font-weight: 600; transition: background .2s; }
        .btn-copy:hover { background: var(--primary-hover); }

        /* Cloud panel */
        .cloud-panel { background: #f8f9fa; border: 1px solid #f0f0f0; border-radius: 6px; padding: 2px 14px; }
        .cloud-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; font-size: 13px; }
        .cloud-row + .cloud-row { border-top: 1px dashed #e0e0e0; }
        .cloud-ic { flex-shrink: 0; font-size: 15px; line-height: 1; }
        .cloud-url { flex: 1; color: var(--primary); text-decoration: none; word-break: break-all; overflow-wrap: anywhere; line-height: 1.4; }
        .cloud-url:hover { text-decoration: underline; }
        .cloud-key { flex: 1; min-width: 0; font-weight: 600; letter-spacing: 1px; word-break: normal; overflow-wrap: anywhere; font-family: monospace; color: #333; line-height: 1.4; }
        .cloud-row .btn-copy { padding: 5px 12px; border-radius: 4px; font-size: 12px; flex-shrink: 0; white-space: nowrap; }
        .btn-copy.copied { background: #58a400; }
        .pc-footer { padding: 0 24px 20px; text-align: center; font-size: 12px; color: #999; }
        .sidebar-stats { background: #fff; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,.08); border: 1px solid #f0f0f0; margin-top: 16px; overflow: hidden; }
        .sidebar-stat-item { display: flex; align-items: center; gap: 10px; padding: 12px 18px; font-size: 13px; color: #666; border-bottom: 1px solid #f8f8f8; }
        .sidebar-stat-item:last-child { border-bottom: none; }
        .sidebar-stat-item span:first-child { font-size: 16px; width: 24px; text-align: center; flex-shrink: 0; }
        /* 下载链接/网盘信息展示 */
        .stat-link-item { flex-wrap: wrap; align-items: flex-start; }
        .stat-link { flex: 1; min-width: 0; word-break: break-all; }
        .stat-link a { color: var(--primary); text-decoration: none; }
        .stat-key { background: #f4f6f9; padding: 2px 8px; border-radius: 4px; letter-spacing: 1px; font-weight: 600; color: #e17055; font-size: 12px; }

        /* Author tooltip */
        .author-wrap { cursor: pointer; position: relative; z-index: 150; }
        .author-popup { display: none; position: absolute; top: calc(100% + 12px); left: 0; width: 280px; background: #fff; border-radius: 10px; box-shadow: 0 6px 30px rgba(0,0,0,.18); padding: 0; z-index: 250; border: 1px solid #e8ecf3; text-align: left; cursor: default; animation: popIn .18s ease; }
        @keyframes popIn { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:translateY(0); } }

        /* Modal */
        .modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(77,105,142,.9); z-index: 1040; align-items: center; justify-content: center; backdrop-filter: blur(4px); }
        .modal-overlay.show { display: flex; }
        .modal { background: #fff; border-radius: 8px; padding: 0; width: 440px; max-width: 92vw; box-shadow: 0 2px 6px rgba(0,0,0,.35); overflow: hidden; }
        .modal-header { padding: 18px 24px 14px; border-bottom: 1px solid #e8ecf3; }
        .modal-header h3 { font-size: 18px; margin: 0; }
        .modal-body { padding: 18px 24px; }
        .modal-footer { padding: 0 24px 18px; display: flex; gap: 8px; justify-content: flex-end; }
        .pay-methods { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
        .pay-method { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid #e8ecf3; border-radius: 8px; cursor: pointer; transition: all .15s; }
        .pay-method:hover { border-color: #c5cdd8; }
        .pay-method.selected { border-color: var(--primary); background: var(--primary-light); }
        .pay-method .pm-radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #c5cdd8; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
        .pay-method.selected .pm-radio { border-color: var(--primary); }
        .pay-method.selected .pm-radio::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
        .order-summary { background: #e8ecf3; border-radius: 8px; padding: 10px 14px; margin-bottom: 12px; }
        .os-row { display: flex; justify-content: space-between; padding: 3px 0; font-size: 14px; }
        .os-total { font-weight: bold; border-top: 1px solid #e8ecf3; margin-top: 4px; padding-top: 6px; }
        .toast { position: fixed; top: 20px; right: 20px; padding: 10px 18px; border-radius: 4px; color: #fff; font-size: 14px; z-index: 1060; animation: slideToast .3s ease; box-shadow: 0 2px 6px rgba(0,0,0,.35); }
        .toast-success { background: #58a400; }
        .toast-error { background: #d83e3e; }
        @keyframes slideToast { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
        .error-page { text-align: center; padding: 80px 20px; }

        /* Comments */
        .comments-wrap { margin-top: 40px; }
        .comments-header { padding: 0 0 18px; margin-bottom: 24px; border-bottom: 2px solid #f5f5f5; }
        .comments-header h3 { font-size: 18px; font-weight: 600; color: #333; }
        .comment-form-wrap { display: flex; gap: 16px; background: #fafafa; border-radius: 8px; padding: 20px; margin-bottom: 24px; border: 1px solid #f0f0f0; }
        .comment-form-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: bold; color: var(--primary); flex-shrink: 0; }
        .comment-form-body textarea { width: 100%; padding: 12px 14px; border: 1px solid #e0e0e0; border-radius: 6px; font-size: 14px; font-family: inherit; color: #333; background: #fff; outline: none; resize: vertical; min-height: 80px; }
        .comment-form-body textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(77, 105, 142, 0.1); }
        .comments-list { background: #fff; border-radius: 8px; border: 1px solid #f0f0f0; overflow: hidden; }
        .comment-item { display: flex; gap: 16px; padding: 20px 22px; border-bottom: 1px solid #f5f5f5; transition: background .15s; }
        .comment-item:hover { background: #fafafa; }
        .comment-item:last-child { border-bottom: none; }
        .comment-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: bold; flex-shrink: 0; }
        .comment-body { flex: 1; min-width: 0; }
        .comment-header { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
        .comment-author { font-size: 14px; font-weight: 600; color: #333; }
        .comment-time { font-size: 12px; color: #999; }
        .comment-content { font-size: 14px; color: #444; line-height: 1.7; word-break: break-word; }
        .comments-empty { text-align: center; padding: 40px 20px; color: #999; font-size: 14px; }
        /* ====== Flarum PostStream 评论风格 ====== */
        .PostStream-item { padding: 16px 0; border-bottom: 1px solid #f0f0f0; }
        .PostStream-item:last-child { border-bottom: none; }
        .CommentPost .Post-container { display: flex; gap: 14px; }
        .Post-side { flex-shrink: 0; }
        .Post-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--primary-light, #e4ecf5); color: var(--primary, #4d698e); display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; flex-shrink: 0; }
        .Post-main { flex: 1; min-width: 0; }
        .Post-header { margin-bottom: 4px; }
        .Post-header ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
        .PostUser-name { font-size: 14px; font-weight: 600; color: #333; margin: 0; }
        .PostUser-name .username { color: inherit; }
        .PostMeta { font-size: 12px; color: #999; }
        .Post-body { font-size: 14px; color: #444; line-height: 1.7; word-break: break-word; }
        .Post-body p { margin: 0 0 8px; }
        .Post-body p:last-child { margin-bottom: 0; }
        .Post-actions { margin-top: 6px; }
        .Post-actions ul { list-style: none; margin: 0; padding: 0; }
        .Post-actions .Button--link { background: none; border: none; color: #999; font-size: 12px; cursor: pointer; padding: 2px 6px; border-radius: 4px; font-family: inherit; }
        .Post-actions .Button--link:hover { color: var(--primary, #4d698e); background: var(--control-bg, #f0f0f0); }
        .ReplyPlaceholder { display: block; width: 100%; text-align: left; background: transparent; border: 1px dashed #d0d0d0; border-radius: 8px; padding: 12px 14px; margin: 4px 0 18px; cursor: pointer; font-family: inherit; transition: border-color .15s, background .15s; }
        .ReplyPlaceholder:hover { border-color: var(--primary, #4d698e); background: var(--control-bg-light, #f7f7f7); }
        .ReplyPlaceholder .Post-container { display: flex; gap: 12px; align-items: center; }
        .ReplyPlaceholder .Post-avatar { width: 32px; height: 32px; font-size: 13px; }
        .ReplyPlaceholder .Post-header { color: #999; font-size: 14px; margin: 0; }
        .comment-editor { display: none; margin: 4px 0 18px; }
        .comment-editor.open { display: block; }
        .comment-editor .Post-container { display: flex; gap: 14px; }
        .comment-editor textarea { width: 100%; padding: 12px 14px; border: 1px solid #e0e0e0; border-radius: 8px; font-size: 14px; font-family: inherit; color: #333; background: #fff; outline: none; resize: vertical; min-height: 80px; transition: border-color .2s, box-shadow .2s; }
        .comment-editor textarea:focus { border-color: var(--primary, #4d698e); box-shadow: 0 0 0 3px rgba(77,105,142,.1); }
        .comment-editor-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 8px; }
        html.dark .PostStream-item { border-color: #2a2a3e; }
        html.dark .PostUser-name { color: #e0e0e0; }
        html.dark .Post-body { color: #ccc; }
        html.dark .ReplyPlaceholder { border-color: #444; }
        html.dark .comment-editor textarea { background: #1e1e32; border-color: #2a2a3e; color: #e0e0e0; }

        /* Dark mode */
        html.dark .audio-info-card { background: #1e1e32; color: #ccc; border-color: #2a2a3e; }
        html.dark .info-table td:first-child { color: #8899aa; }
        html.dark .desc-text { color: #ccc; }
        html.dark .tabs { border-color: #2a2a3e; }
        html.dark .tab-btn { color: #8899aa; }
        html.dark .tab-btn.active { color: #8ea4f0; }
        html.dark .tab-btn.active::after { background: #8ea4f0; }
        html.dark .info-pill { background: rgba(255,255,255,.06); color: #8899aa; }
        html.dark .file-info-pills { border-color: #2a2a3e; }
        html.dark .info-table tr { border-color: #2a2a3e; }
        html.dark .author-popup { background: #2a2a2a; border-color: #444; }

        /* Dark — 变量（供模板内联颜色引用） */
        html.dark { --audio-border: #2a2a3e; --audio-border-2: #242433; --audio-text: #e0e0e0; --audio-muted: #8899aa; --audio-muted-2: #7a8794; --audio-soft: rgba(255,255,255,.05); }

        /* Dark — 信息卡 / 购买卡 / 侧栏 / 弹窗 / 评论区 补全 */
        html.dark .desc-text code { background: #2a2a3e; color: #8ea4f0; }
        html.dark .purchase-card { background: #1e1e32; border-color: #2a2a3e; }
        html.dark .pc-features li { color: #ccc; border-bottom-color: #242433; }
        html.dark .btn-login { background: #242433; color: #8ea4f0; border-color: #3a4a68; }
        html.dark .btn-login:hover { background: #2a2a3e; }
        html.dark .purchased-badge { background: rgba(88,164,0,.15); color: #8fe08f; }
        html.dark .access-link-box { background: #242433; border-color: #2a2a3e; }
        html.dark .access-link-box .link-text { color: #e0e0e0; }
        html.dark .cloud-panel { background: #242433; border-color: #2a2a3e; }
        html.dark .cloud-key { color: #e0e0e0; }
        html.dark .cloud-row + .cloud-row { border-top-color: #2a2a3e; }
        html.dark .sidebar-stats { background: #1e1e32; border-color: #2a2a3e; }
        html.dark .sidebar-stat-item { color: #ccc; border-bottom-color: #242433; }
        html.dark .stat-key { background: #242433; color: #e17055; }
        html.dark .modal { background: #1e1e32; }
        html.dark .modal-header { border-bottom-color: #2a2a3e; }
        html.dark .modal-header h3 { color: #e0e0e0; }
        html.dark .modal-body { color: #ccc; }
        html.dark .modal-body p { color: #ccc; }
        html.dark .order-summary { background: #242433; }
        html.dark .os-row { color: #ccc; }
        html.dark .os-total { border-top-color: #2a2a3e; }
        html.dark .pay-method { border-color: #2a2a3e; background: transparent; }
        html.dark .pay-method:hover { border-color: #4a5870; }
        html.dark .comments-list { background: #1e1e32; border-color: #2a2a3e; }
        html.dark .comment-item { border-bottom-color: #242433; }
        html.dark .comment-item:hover { background: #242433; }
        html.dark .comment-author { color: #e0e0e0; }
        html.dark .comment-content { color: #ccc; }
        html.dark .comment-form-wrap { background: #242433; border-color: #2a2a3e; }
        html.dark .comment-form-body textarea { background: #1e1e32; border-color: #2a2a3e; color: #e0e0e0; }
        html.dark .comments-header { border-bottom-color: #2a2a3e; }
        html.dark .comments-header h3 { color: #e0e0e0; }
        html.dark .Post-avatar { background: #2a2a3e; color: #8ea4f0; }

        /* ====== PC 端优化（≥768px，与移动端隔离） ====== */
        @media (min-width: 768px) {
            .audio-info-card { border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
            .ap-cover { background: linear-gradient(135deg, var(--primary), var(--primary-hover)); }
            .ap-cover-icon { color: rgba(255,255,255,.55); }
            .comments-wrap .audio-info-card { padding: 28px 32px; }
            .comments-wrap .PostStream-item { padding: 20px 0; }
            .comments-wrap .Post-avatar { width: 42px; height: 42px; font-size: 16px; }
            .comments-wrap .composer-avatar { width: 42px; height: 42px; font-size: 16px; }
            .post-actions { margin-top: 4px; }
            .purchase-card { border-radius: 12px; }
            .sidebar-stats { border-radius: 12px; }
            .desc-text { font-size: 15px; }
            .comments-wrap { margin-top: 44px; }
        }

        /* ====== 响应式 — 四层断点 ====== */

        /* Desktop Large (>=1200px) — 侧边栏 340px，封面 180px */
        @media (min-width: 1600px) {
            .product-page, .breadcrumb-inner { max-width: 1300px; }
            .product-page { width: 1300px; }
        }
        @media (min-width: 2000px) {
            .product-page, .breadcrumb-inner { max-width: 1500px; }
            .product-page { width: 1500px; }
        }
        @media (min-width: 1200px) and (max-width: 1599.98px) {
            .product-page, .breadcrumb-inner { max-width: 1400px; }
            .product-page { width: 100%; }
            .product-grid { grid-template-columns: 1fr 360px; gap: 36px; }
            .ap-cover { width: 180px; min-height: 180px; }
            .ap-main { padding: 28px 32px; }
            .ap-track-title { font-size: 20px; }
            .hero-title { font-size: 32px; }
            .ap-btn { width: 36px; height: 36px; font-size: 13px; }
            .ap-btn-main { width: 46px; height: 46px; font-size: 17px; }
            .ap-vol-range { width: 70px; }
            .ap-time { min-width: 36px; font-size: 11px; }
            .ap-speed { padding: 4px 10px; font-size: 11px; }
        }

        /* Desktop (992px - 1199px) — 默认样式适配 */
        @media (min-width: 992px) and (max-width: 1199.98px) {
            .product-page { max-width: 900px; padding: 0 15px; }
            .product-grid { grid-template-columns: 1fr 320px; gap: 28px; }
            .ap-cover { width: 140px; min-height: 140px; }
            .ap-main { padding: 18px 20px; }
            .ap-track-title { font-size: 16px; }
            .ap-btn { width: 32px; height: 32px; font-size: 11px; }
            .ap-btn-main { width: 40px; height: 40px; font-size: 15px; }
            .ap-vol-range { width: 50px; }
            .ap-time { min-width: 32px; font-size: 10px; }
            .ap-speed { padding: 3px 7px; font-size: 10px; }
        }

        /* Tablet (768px - 991px) — 两栏窄版，侧栏吸顶 */
        @media (min-width: 768px) and (max-width: 991.98px) {
            .product-page { max-width: 760px; padding: 0 16px; margin-top: 20px; }
            .product-grid { grid-template-columns: 1fr 280px; gap: 20px; }
            .sidebar { position: sticky; top: 68px; }
            .ap-cover { width: 130px; min-height: 130px; }
            .ap-cover-icon { font-size: 38px; }
            .ap-main { padding: 18px; }
            .ap-track-title { font-size: 15px; }
            .ap-btn { width: 30px; height: 30px; font-size: 11px; }
            .ap-btn-main { width: 38px; height: 38px; font-size: 14px; }
            .ap-vol-range { width: 44px; }
            .ap-time { min-width: 30px; font-size: 9px; }
            .ap-speed { padding: 3px 6px; font-size: 9px; }
            .audio-info-card { padding: 20px; }
            .hero-title { font-size: 24px; }
            .breadcrumb-wrap { padding: 28px 0; }
            .hero-tag { padding: 4px 10px; font-size: 11px; }
            .purchase-card { margin-bottom: 16px; }
            .pc-header { padding: 24px 20px; }
            .pc-header .price-tag { font-size: 2.2rem; }
            .pc-body { padding: 18px 20px; }
        }

        /* Mobile (< 768px) — 完全单列，播放器竖排堆叠 */
        @media (max-width: 767.98px) {
            .product-page { max-width: 100%; padding: 0 12px; margin-top: 16px; }
            .product-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
            .main-col { min-width: 0; }
            .sidebar { position: static; }
            .audio-player-card { flex-direction: column; }
            .ap-cover { width: 100%; min-height: 100px; }
            .ap-cover-icon { font-size: 32px; }
            .ap-main { padding: 14px 16px; }
            .ap-track-title { font-size: 15px; }
            .ap-track-artist { font-size: 12px; margin-bottom: 10px; }
            .ap-ctrl-row { flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
            .ap-btn { width: 32px; height: 32px; font-size: 12px; }
            .ap-btn-main { width: 40px; height: 40px; font-size: 15px; }
            .ap-volume-wrap { margin-left: 0; }
            .ap-vol-range { width: 50px; }
            .ap-speed { font-size: 10px; padding: 3px 7px; }
            .ap-time { font-size: 10px; min-width: 30px; }
            .audio-info-card { padding: 14px 16px; }
            .tabs { gap: 0; }
            .tab-btn { padding: 8px 12px; font-size: 13px; }
            .hero-title { font-size: 20px; }
            .breadcrumb-wrap { padding: 20px 0; }
            .breadcrumb { font-size: 12px; gap: 4px; margin-bottom: 10px; }
            .hero-tags { gap: 4px; margin-bottom: 12px; }
            .hero-tag { padding: 3px 8px; font-size: 10px; }
            .breadcrumb-inner { padding: 0 12px; }
            .purchase-card { margin-bottom: 12px; }
            .pc-header { padding: 20px 16px; }
            .pc-header .price-tag { font-size: 1.8rem; }
            .pc-body { padding: 14px 16px; }
            .pc-features li { font-size: 13px; padding: 8px 0; }
            .btn-buy, .btn-login, .btn-dl { font-size: 13px; padding: 12px 14px; }
            .sidebar-stats { margin-top: 12px; }
            .sidebar-stat-item { padding: 10px 14px; font-size: 12px; justify-content: center; text-align: center; }
            .info-table td { padding: 8px 0; font-size: 13px; }
            .info-table td:first-child { width: 70px; }
            .desc-text { font-size: 14px; }
            .file-info-pills { gap: 4px; }
            .info-pill { padding: 3px 8px; font-size: 11px; }
            .comments-wrap { margin-top: 24px; }
            .comment-form-wrap { padding: 14px; gap: 10px; flex-direction: column; }
            .comment-item { padding: 12px; gap: 10px; }
            .comment-avatar { width: 30px; height: 30px; font-size: 12px; }
            .author-popup { left: -10px; width: 260px; }
            .btn-copy { font-size: 12px; padding: 8px 12px; }
            .access-link-box .link-text { font-size: 12px; padding: 8px 10px; }
        }

        /* Small Mobile (< 480px) — 极窄屏微调 */
        @media (max-width: 479.98px) {
            .ap-track-title { font-size: 14px; }
            .hero-title { font-size: 18px; }
            .ap-prog-row { gap: 6px; }
            .ap-time { min-width: 28px; font-size: 9px; }
            .pc-header .price-tag { font-size: 1.5rem; }
            .modal { max-width: 100%; border-radius: 12px 12px 0 0; }
            .modal-header { padding: 14px 16px 10px; }
            .modal-body { padding: 14px 16px; }
            .modal-footer { padding: 0 16px 14px; }
            .toast { top: auto; bottom: 12px; right: 8px; left: 8px; text-align: center; font-size: 12px; }
        }
    
        /* 两栏撑满屏幕：左右各留 24px，最宽 1400px（右侧栏固定，左侧自适应） */
        @media (min-width: 768px) {
            .product-page, .breadcrumb-inner { width: min(calc(100vw - 48px), 1400px) !important; max-width: min(calc(100vw - 48px), 1400px) !important; }
        }

/* 详情页左侧抽屉（hover 左上角返回按钮打开，参考目标站讨论列表） */
.cat-drawer-mask {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 1580;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}
.cat-drawer-mask.active { opacity: 1; visibility: visible; }
.cat-drawer {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 320px;
    max-width: 86vw;
    background: #fff;
    color: #333;
    z-index: 1590;
    transform: translateX(-100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    box-shadow: 2px 0 28px rgba(0,0,0,.18);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.cat-drawer.open { transform: translateX(0); }
.cat-drawer-header {
    padding: 18px 22px 14px;
    border-bottom: 1px solid #eee;
    background: #fafbfc;
    flex-shrink: 0;
}
.cat-drawer-title { font-size: 16px; font-weight: 600; color: #333; margin: 0 0 3px; }
.cat-drawer-sub { font-size: 12px; color: #999; }
.cat-drawer-list { list-style: none; margin: 0; padding: 8px 0; flex: 1; overflow-y: auto; }
.cat-drawer-list li { margin: 0; }
.cat-drawer-list a {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 22px; color: #333; text-decoration: none;
    font-size: 14px; transition: background .15s; border-left: 3px solid transparent;
}
.cat-drawer-list a:hover { background: #f5f7fa; border-left-color: var(--primary); color: var(--primary); }
.cat-drawer-list a.active {
    background: rgba(77,105,142,.08); border-left-color: var(--primary);
    color: var(--primary); font-weight: 500;
}
.cat-drawer-list .nav-icon {
    width: 30px; height: 30px; border-radius: 6px; background: #f0f2f5;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; color: #4D698E; flex-shrink: 0; font-weight: 600;
}
.cat-drawer-list .nav-title { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1.4; }
.cat-drawer-list .nav-meta { font-size: 11px; color: #999; flex-shrink: 0; }
.category-nav-empty { padding: 24px; text-align: center; color: #999; font-size: 14px; }
html.dark .cat-drawer { background: #1e1f24; color: #d5d7dc; }
html.dark .cat-drawer-header { background: #23242a; border-bottom-color: #33353d; }
html.dark .cat-drawer-title { color: #e2e4e9; }
html.dark .cat-drawer-list a { color: #c9ccd2; }
html.dark .cat-drawer-list a:hover { background: #262830; color: #7ea6de; }
html.dark .cat-drawer-list a.active { background: rgba(90,125,170,.16); color: #8fb2e8; }
html.dark .cat-drawer-list .nav-icon { background: #2b2d35; color: #8fb2e8; }
html.dark .cat-drawer-list .nav-meta { color: #7a7e88; }
@media (max-width: 767.98px) { .cat-drawer { width: 86vw; } }
    /* 返回按钮贴最左（PC 详情页，目标站 Back to Discussion List 贴 x8；absolute 不占位，不挤站点名/导航） */
    @media (min-width: 769px) {
        .navbar-back-btn {
        position: absolute;
        left: 8px;
        top: 50%;
        transform: translateY(-50%);
        margin-left: 0;
        z-index: 5;
        }
    }

        /* 详情页：站点名称/导航整体右移，给贴左返回按钮留出间距（仅详情页生效） */

/* ===== 代码块统一（与 detail.css 一致：14px 字号 + 顶部紧凑 6px + macOS 标题栏 + 行号） ===== */
.desc-text pre, .post-content pre { background: #fff; color: #24292e; padding: 0; border-radius: 6px; border: 1px solid #e1e4e8; }
.desc-text pre > .code-body, .Post-body pre > .code-body, .post-content pre > .code-body, .discussion-post pre > .code-body {
    display: flex; align-items: flex-start; overflow: auto; max-height: max(50vh, 250px);
}
.desc-text pre > .code-body .code-lines, .Post-body pre > .code-body .code-lines, .post-content pre > .code-body .code-lines, .discussion-post pre > .code-body .code-lines {
    flex: none; position: sticky; left: 0; z-index: 1; min-width: 38px; padding: 6px 0 16px; text-align: right;
    color: #9ca3af; background: #f6f8fa; border-right: 1px solid #e1e4e8; user-select: none;
}
.desc-text pre > .code-body .code-lines span, .post-content pre > .code-body .code-lines span {
    display: block; padding: 0 10px 0 6px; font-size: 14px; line-height: 1.6;
    font-family: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
.desc-text pre > .code-body code, .post-content pre > .code-body code {
    flex: 1; overflow: visible; max-height: none; background: none; color: inherit; padding: 6px 16px 16px 16px; display: block; border-radius: 0; font-size: 14px; line-height: 1.6; font-family: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
.desc-text pre > .code-header, .post-content pre > .code-header {
    display: flex; align-items: center; gap: 5px; padding: 7px 12px;
    background: #f3f4f6; border-bottom: 1px solid #e1e4e8; border-radius: 5px 5px 0 0; line-height: 1;
}
.desc-text pre > .code-header .dot, .post-content pre > .code-header .dot { width: 11px; height: 11px; border-radius: 50%; flex: none; }
.desc-text pre > .code-header .dot.red, .post-content pre > .code-header .dot.red { background: #ff5f57; }
.desc-text pre > .code-header .dot.yellow, .post-content pre > .code-header .dot.yellow { background: #febc2e; }
.desc-text pre > .code-header .dot.green, .post-content pre > .code-header .dot.green { background: #28c840; }
.desc-text pre > .code-header .code-lang, .post-content pre > .code-header .code-lang {
    margin-left: 8px; font-size: 11px; text-transform: uppercase; letter-spacing: .6px; color: #6b7280;
    font-family: -apple-system, "PingFang SC", "Helvetica Neue", sans-serif; flex: 1;
}
.desc-text pre > .code-header .copy-btn, .post-content pre > .code-header .copy-btn {
    position: static; opacity: 1; padding: 3px 9px; font-size: 11px; color: #6b7280;
    background: rgba(0,0,0,.05); border: 1px solid rgba(0,0,0,.12); border-radius: 4px; cursor: pointer; transition: background .15s;
}
.desc-text pre > .code-header .copy-btn:hover, .post-content pre > .code-header .copy-btn:hover { background: rgba(0,0,0,.1); }
.desc-text pre > .code-header .copy-btn.copied { color: #16a34a; border-color: rgba(22,163,74,.4); }
.hl-keyword { color: #cf222e; }
.hl-string { color: #0a3069; }
.hl-comment { color: #6e7781; font-style: italic; }
.hl-number { color: #0550ae; }
.hl-function { color: #8250df; }
.desc-text pre code.hljs, .post-content pre code.hljs { background: none; padding: 6px 16px 16px 16px; font-size: 14px; }
.hljs { color: #24292e; background: transparent; }
.hljs-keyword, .hljs-literal, .hljs-selector-tag, .hljs-name { color: #cf222e; }
.hljs-string, .hljs-regexp, .hljs-addition, .hljs-selector-attr { color: #0a3069; }
.hljs-comment, .hljs-quote { color: #6e7781; font-style: italic; }
.hljs-number, .hljs-symbol, .hljs-bullet { color: #0550ae; }
.hljs-title, .hljs-section, .hljs-function .hljs-title { color: #8250df; }
.hljs-attr, .hljs-attribute, .hljs-variable, .hljs-template-variable { color: #953800; }
.hljs-built_in, .hljs-type, .hljs-class .hljs-title { color: #116329; }
.hljs-meta, .hljs-meta .hljs-keyword { color: #cf222e; }
.hljs-emphasis { font-style: italic; } .hljs-strong { font-weight: bold; }
/* 夜间模式适配 */
html.dark .desc-text pre, html.dark .post-content pre { background: #1e1f24; border-color: #33353d; }
html.dark .desc-text pre > .code-header, html.dark .post-content pre > .code-header { background: #262830; border-bottom-color: #33353d; }
html.dark .desc-text pre > .code-header .copy-btn, html.dark .post-content pre > .code-header .copy-btn { color: #a0a6b2; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
html.dark .desc-text pre > .code-body .code-lines, html.dark .post-content pre > .code-body .code-lines { background: #262830; border-right-color: #33353d; }
html.dark .desc-text pre > .code-body code, html.dark .post-content pre > .code-body code { color: #d5d7dc; }
html.dark .hljs { color: #d5d7dc; }
html.dark .hljs-keyword, html.dark .hl-keyword { color: #ff7b72; }
html.dark .hljs-string, html.dark .hl-string { color: #a5d6ff; }
html.dark .hljs-comment, html.dark .hl-comment { color: #8b949e; }
html.dark .hljs-number, html.dark .hl-number { color: #79c0ff; }
html.dark .hljs-title, html.dark .hljs-section, html.dark .hl-function { color: #d2a8ff; }
html.dark .hljs-attr, html.dark .hljs-attribute, html.dark .hljs-variable { color: #ffa657; }
html.dark .hljs-built_in, html.dark .hljs-type, html.dark .hljs-class .hljs-title { color: #7ee787; }
