/**
 * Dark Shazam B ?? final cascade layer (load LAST in every DAPP page head)
 * Beats ui-*-preview.css, ui-sapphire-marketing.css, and inline light locks
 */

/* ???? beat ui-dapp-white-pages end block ???? */
html[data-aum-theme="dark"].aum-dapp-white-pages {
    --bg-page: #000000;
    --bg-card: #1C1C1E;
    --bg-input: #2C2C2E;
    --text-title: #FFFFFF;
    --text-body: #EBEBF5;
    --text-secondary: #AEAEB2;
    --text-muted: #8E8E93;
    --text-weak: #8E8E93;
    --border-card: rgba(0, 122, 255, 0.16);
    --border-divider: rgba(255, 255, 255, 0.06);
    --border-input: rgba(0, 122, 255, 0.18);
    --brand-primary: #007AFF;
    --brand-hover: #0062CC;
    --brand-light: rgba(0, 122, 255, 0.14);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.45);
    --shadow-btn: 0 4px 20px rgba(0, 122, 255, 0.28);
    --gradient-brand: linear-gradient(155deg, #5AC8FA 0%, #007AFF 52%, #5856D6 100%);
    --gradient-gem: linear-gradient(95deg, #5AC8FA 0%, #007AFF 42%, #5856D6 78%, #64D2FF 100%);
    --topbar-bg: rgba(10, 9, 14, 0.94);
    --topbar-border: rgba(0, 122, 255, 0.12);
    --text-on-brand: #FFFFFF;
}

html[data-aum-theme="dark"].aum-dapp-white-pages body {
    background-color: #000000 !important;
    color: #EBEBF5 !important;
}

/* ???? whitepaper + marketing surfaces ???? */
html[data-aum-theme="dark"].aum-page-whitepaper.aum-dapp-white-pages {
    --sapphire: #007AFF;
    --sapphire-light: #5AC8FA;
    --sapphire-dark: #0062CC;
    --bg-deep: #000000;
    --bg-card: #1C1C1E;
    --bg-input: #2C2C2E;
    --text-primary: #FFFFFF;
    --text-body: #EBEBF5;
    --text-muted: #AEAEB2;
    --text-faint: #8E8E93;
    --border-card: rgba(0, 122, 255, 0.16);
    --border-divider: rgba(255, 255, 255, 0.06);
    --surface-soft: #1C1C1E;
    --surface-group: #1C1C1E;
    --accent-violet: #007AFF;
    --gradient-brand: linear-gradient(155deg, #5AC8FA 0%, #007AFF 52%, #5856D6 100%);
    --gradient-cta: linear-gradient(155deg, #5AC8FA 0%, #007AFF 52%, #5856D6 100%);
}

html[data-aum-theme="dark"].aum-page-whitepaper body {
    background: #000000 !important;
    color: #EBEBF5 !important;
}

html[data-aum-theme="dark"].aum-page-whitepaper .top-bar,
html[data-aum-theme="dark"].aum-page-whitepaper .topbar-shell {
    background: var(--topbar-bg) !important;
    border-bottom-color: var(--topbar-border) !important;
}

html[data-aum-theme="dark"].aum-page-whitepaper #backHomeBtn,
html[data-aum-theme="dark"].aum-page-whitepaper .back-home#backHomeBtn {
    background: var(--gradient-brand) !important;
    color: var(--text-on-brand) !important;
    box-shadow: var(--shadow-btn) !important;
}

html[data-aum-theme="dark"].aum-page-whitepaper #backHomeBtn span,
html[data-aum-theme="dark"].aum-page-whitepaper #backHomeBtn i {
    color: var(--text-on-brand) !important;
}

html[data-aum-theme="dark"].aum-page-whitepaper .section {
    background: transparent !important;
    border-top-color: rgba(0, 122, 255, 0.12) !important;
}

html[data-aum-theme="dark"].aum-page-whitepaper .section h2,
html[data-aum-theme="dark"].aum-page-whitepaper .section h3 {
    color: #FFFFFF !important;
}

html[data-aum-theme="dark"].aum-page-whitepaper .section p,
html[data-aum-theme="dark"].aum-page-whitepaper .section li,
html[data-aum-theme="dark"].aum-page-whitepaper .section-lead {
    color: #EBEBF5 !important;
}

html[data-aum-theme="dark"].aum-page-whitepaper .hl {
    color: #007AFF !important;
}

html[data-aum-theme="dark"].aum-page-whitepaper .token-grid {
    background: #1C1C1E !important;
    border: 1px solid rgba(0, 122, 255, 0.16) !important;
}

html[data-aum-theme="dark"].aum-page-whitepaper .token-row {
    background: transparent !important;
    border-bottom-color: rgba(0, 122, 255, 0.12) !important;
}

html[data-aum-theme="dark"].aum-page-whitepaper .token-row span:first-child {
    color: #AEAEB2 !important;
}

html[data-aum-theme="dark"].aum-page-whitepaper .token-row span:last-child {
    color: #EBEBF5 !important;
}

html[data-aum-theme="dark"].aum-page-whitepaper .contract-copy {
    background: #2C2C2E !important;
    border-color: rgba(0, 122, 255, 0.28) !important;
    color: #007AFF !important;
}

html[data-aum-theme="dark"].aum-page-whitepaper .phase-table-wrap {
    background: #1C1C1E !important;
    border: 1px solid rgba(0, 122, 255, 0.16) !important;
}

html[data-aum-theme="dark"].aum-page-whitepaper .phase-table th {
    color: #007AFF !important;
    background: rgba(0, 122, 255, 0.08) !important;
}

html[data-aum-theme="dark"].aum-page-whitepaper .phase-table td {
    color: #EBEBF5 !important;
    border-bottom-color: rgba(0, 122, 255, 0.10) !important;
}

html[data-aum-theme="dark"].aum-page-whitepaper .phase-card {
    background: #1C1C1E !important;
    border-left-color: #007AFF !important;
}

html[data-aum-theme="dark"].aum-page-whitepaper .wp-foot-x {
    background: #1C1C1E !important;
    border-color: rgba(0, 122, 255, 0.20) !important;
    color: #007AFF !important;
}

html[data-aum-theme="dark"].aum-page-whitepaper .wp-glow-footer {
    color: #AEAEB2 !important;
}

html[data-aum-theme="dark"].aum-page-whitepaper .top-badge {
    color: #AEAEB2 !important;
}

/* trade dark colors → ui-trade-neon-dark.css (layout stays trade.html inline) */

html[data-aum-theme="dark"].aum-creator-preview .loading-screen,
html[data-aum-theme="dark"].aum-creator-preview .error-box {
    background: rgba(0, 0, 0, 0.92) !important;
    color: #AEAEB2 !important;
}

/* ???? create (ui-create-preview) ???? */
html[data-aum-theme="dark"].aum-create-preview {
    --bg-page: #000000;
    --bg-card: #1C1C1E;
    --bg-input: #2C2C2E;
    --text-title: #FFFFFF;
    --text-body: #EBEBF5;
    --text-secondary: #AEAEB2;
    --text-muted: #8E8E93;
    --border-card: rgba(0, 122, 255, 0.16);
    --border-input: rgba(0, 122, 255, 0.18);
    --brand-primary: #007AFF;
    --brand-hover: #0062CC;
    --brand-light: rgba(0, 122, 255, 0.14);
    --vx-surface: #1C1C1E;
    --vx-bg: #000000;
    --vx-text: #FFFFFF;
    --vx-text-2: #EBEBF5;
    --vx-text-3: #AEAEB2;
    --vx-indigo: #007AFF;
    --vx-grad: linear-gradient(155deg, #5AC8FA 0%, #007AFF 52%, #5856D6 100%);
    --vx-grad-warm: linear-gradient(155deg, #5AC8FA 0%, #007AFF 52%, #5856D6 100%);
    --vx-line: rgba(0, 122, 255, 0.16);
}

html[data-aum-theme="dark"].aum-create-preview,
html[data-aum-theme="dark"].aum-page-create.aum-create-preview body,
html[data-aum-theme="dark"].aum-page-create.aum-create-preview #app,
html[data-aum-theme="dark"].aum-page-create.aum-create-preview .chat-list-page,
html[data-aum-theme="dark"].aum-page-create.aum-create-preview .chat-detail,
html[data-aum-theme="dark"].aum-page-create.aum-create-preview .chat-detail-body,
html[data-aum-theme="dark"].aum-page-create.aum-create-preview .chat-messages {
    background: #000000 !important;
    color: #EBEBF5 !important;
}

html[data-aum-theme="dark"].aum-create-preview .header {
    background: rgba(10, 9, 14, 0.94) !important;
    border-bottom-color: rgba(0, 122, 255, 0.12) !important;
}

html[data-aum-theme="dark"].aum-create-preview .chat-item,
html[data-aum-theme="dark"].aum-create-preview .msg-bubble,
html[data-aum-theme="dark"].aum-create-preview .card,
html[data-aum-theme="dark"].aum-create-preview .panel,
html[data-aum-theme="dark"].aum-create-preview .sheet-panel,
html[data-aum-theme="dark"].aum-create-preview .composer-bar {
    background: #1C1C1E !important;
    border-color: rgba(0, 122, 255, 0.16) !important;
    color: #EBEBF5 !important;
}

html[data-aum-theme="dark"].aum-create-preview input,
html[data-aum-theme="dark"].aum-create-preview textarea,
html[data-aum-theme="dark"].aum-create-preview select {
    background: #2C2C2E !important;
    border-color: rgba(0, 122, 255, 0.18) !important;
    color: #FFFFFF !important;
}

html[data-aum-theme="dark"].aum-create-preview .btn-primary,
html[data-aum-theme="dark"].aum-create-preview .send-btn {
    background: var(--gradient-brand) !important;
    color: #FFFFFF !important;
}

/* ???? vision pages (inline light styles) ???? */
html[data-aum-theme="dark"].aum-page-vision body,
html[data-aum-theme="dark"].aum-page-vision-history body,
html[data-aum-theme="dark"].aum-page-vision-result body {
    background: #000000 !important;
    color: #EBEBF5 !important;
}

html[data-aum-theme="dark"].aum-page-vision .vision-topbar-shell,
html[data-aum-theme="dark"].aum-page-vision-history .vision-topbar-shell,
html[data-aum-theme="dark"].aum-page-vision-result .vision-topbar-shell {
    background: rgba(10, 9, 14, 0.96) !important;
}

html[data-aum-theme="dark"].aum-page-vision .top-bar,
html[data-aum-theme="dark"].aum-page-vision-history .top-bar,
html[data-aum-theme="dark"].aum-page-vision-result .top-bar {
    background: rgba(10, 9, 14, 0.96) !important;
    border-bottom-color: rgba(0, 122, 255, 0.12) !important;
}

html[data-aum-theme="dark"].aum-page-vision .tab-bar,
html[data-aum-theme="dark"].aum-page-vision .card {
    background: #1C1C1E !important;
    border-color: rgba(0, 122, 255, 0.16) !important;
}

html[data-aum-theme="dark"].aum-page-vision .tab-btn.active,
html[data-aum-theme="dark"].aum-page-vision .ratio-item.active,
html[data-aum-theme="dark"].aum-page-vision .chip.active {
    border-color: #007AFF !important;
    background: rgba(0, 122, 255, 0.12) !important;
    color: #007AFF !important;
}

html[data-aum-theme="dark"].aum-page-vision .ratio-label {
    color: #EBEBF5 !important;
}

html[data-aum-theme="dark"].aum-page-vision .ratio-px,
html[data-aum-theme="dark"].aum-page-vision .hint,
html[data-aum-theme="dark"].aum-page-vision .fee-line {
    color: #AEAEB2 !important;
}

html[data-aum-theme="dark"].aum-page-vision .fee-line strong,
html[data-aum-theme="dark"].aum-page-vision .gen-timer {
    color: #007AFF !important;
}

html[data-aum-theme="dark"].aum-page-vision .btn-primary,
html[data-aum-theme="dark"].aum-page-vision .hdr-btn-prominent {
    background: linear-gradient(155deg, #5AC8FA 0%, #007AFF 52%, #5856D6 100%) !important;
    color: #FFFFFF !important;
    border-color: transparent !important;
}

html[data-aum-theme="dark"].aum-page-vision textarea,
html[data-aum-theme="dark"].aum-page-vision input {
    background: #2C2C2E !important;
    border-color: rgba(0, 122, 255, 0.18) !important;
    color: #FFFFFF !important;
}

html[data-aum-theme="dark"].aum-page-vision .gen-spinner {
    border-color: rgba(0, 122, 255, 0.14) !important;
    border-top-color: #007AFF !important;
}

/* ???? song detail ???? */
html[data-aum-theme="dark"].aum-song-preview body,
html[data-aum-theme="dark"].aum-page-song body {
    background: #000000 !important;
    color: #EBEBF5 !important;
}

html[data-aum-theme="dark"].aum-song-preview .topbar-shell,
html[data-aum-theme="dark"].aum-page-song .topbar-shell {
    background: rgba(10, 9, 14, 0.94) !important;
    border-bottom-color: rgba(0, 122, 255, 0.12) !important;
}

html[data-aum-theme="dark"].aum-song-preview .lyrics-panel,
html[data-aum-theme="dark"].aum-song-preview .lyrics-zone,
html[data-aum-theme="dark"].aum-page-song .lyrics-panel,
html[data-aum-theme="dark"].aum-page-song .lyrics-zone {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

html[data-aum-theme="dark"].aum-song-preview .player-card,
html[data-aum-theme="dark"].aum-song-preview .meta-card {
    background: #1C1C1E !important;
    border-color: rgba(42, 107, 255, 0.16) !important;
}

/* ???? profile ???? */
html[data-aum-theme="dark"].aum-page-profile body {
    background: #121212 !important;
    color: #EBEBF5 !important;
}

html[data-aum-theme="dark"].aum-page-profile .topbar-shell,
html[data-aum-theme="dark"].aum-page-profile .profile-card,
html[data-aum-theme="dark"].aum-page-profile .panel {
    background: #1C1C1E !important;
    border-color: rgba(0, 122, 255, 0.16) !important;
}

/* copyright → ui-copyright-neon-dark.css + token 块 */
html[data-aum-theme="dark"].aum-page-copyright body {
    background: var(--bg-mesh) !important;
    background-color: var(--bg-page) !important;
    color: var(--text-body) !important;
}

/* 版权中心 · Neon Suno 真源（盖 Shazam B #007AFF） */
html[data-aum-theme="dark"].aum-page-copyright.aum-copyright-preview.aum-dapp-white-pages {
    --bg-page: #101012;
    --bg-mesh: radial-gradient(ellipse 90% 55% at 50% -15%, rgba(253, 66, 156, 0.18), transparent 55%), radial-gradient(circle at 85% 90%, rgba(245, 217, 7, 0.10), transparent 45%), #101012;
    --bg-card: #17171A;
    --bg-card-elevated: #1F1F23;
    --bg-input: #1F1F23;
    --text-title: #F7F4EF;
    --text-body: #C2C2C1;
    --text-secondary: #9A9A99;
    --text-muted: #6E6E6D;
    --text-weak: #6E6E6D;
    --border-card: rgba(255, 255, 255, 0.08);
    --border-divider: rgba(255, 255, 255, 0.06);
    --brand-primary: #FD429C;
    --brand-hover: #E03588;
    --brand-light: rgba(253, 66, 156, 0.14);
    --brand-muted: rgba(253, 66, 156, 0.08);
    --grad-brand: linear-gradient(90deg, #FD429C, #F5D907);
    --gradient-brand: linear-gradient(90deg, #FD429C, #F5D907);
    --gradient-cta: linear-gradient(90deg, #FD429C, #F5D907);
    --gradient-gem: linear-gradient(90deg, #FD429C, #FF6B35 42%, #F5D907);
    --shadow-btn: 0 6px 28px rgba(253, 66, 156, 0.45);
    --topbar-bg: rgba(16, 16, 18, 0.94);
    --topbar-border: rgba(255, 255, 255, 0.08);
    --text-on-brand: #101012;
    --gd-grad: linear-gradient(90deg, #FD429C, #F5D907);
}

/* ???? creator / verify / share / audit / creator-circle ???? */
html[data-aum-theme="dark"].aum-page-creator body,
html[data-aum-theme="dark"].aum-page-verify body,
html[data-aum-theme="dark"].aum-page-share body,
html[data-aum-theme="dark"].aum-page-audit body,
html[data-aum-theme="dark"].aum-page-circle body {
    background: var(--bg-mesh) !important;
    background-color: var(--bg-page) !important;
    color: var(--text-body) !important;
}

html[data-aum-theme="dark"].aum-page-circle .cc-post-body a,
html[data-aum-theme="dark"].aum-page-circle .cc-link {
    color: var(--brand-primary) !important;
}

html[data-aum-theme="dark"].aum-creator-preview .topbar-shell,
html[data-aum-theme="dark"].aum-verify-preview .topbar-shell,
html[data-aum-theme="dark"].aum-page-creator-circle .cc-topbar-shell {
    background: var(--topbar-bg) !important;
    border-bottom-color: var(--topbar-border) !important;
}

html[data-aum-theme="dark"].aum-page-creator-circle .cc-topbar-shell .top-bar {
    background: transparent !important;
    color: var(--text-title) !important;
}

html[data-aum-theme="dark"].aum-creator-preview .card,
html[data-aum-theme="dark"].aum-verify-preview .card,
html[data-aum-theme="dark"].aum-page-creator-circle .cc-card {
    background: #1C1C1E !important;
    border-color: rgba(0, 122, 255, 0.16) !important;
}

html[data-aum-theme="dark"].aum-page-creator-circle .cc-tab.active {
    border-color: #FD429C !important;
    color: #FD429C !important;
}

/* 创作圈 · Neon Suno 真源（必须在本文件 Shazam B #007AFF 块之后 · 盖回粉黄） */
html[data-aum-theme="dark"].aum-page-circle.aum-dapp-white-pages,
html[data-aum-theme="dark"].aum-page-circle.aum-sapphire-dapp {
    --bg-page: #101012;
    --bg-mesh: radial-gradient(ellipse 90% 55% at 50% -15%, rgba(253, 66, 156, 0.18), transparent 55%), radial-gradient(circle at 85% 90%, rgba(245, 217, 7, 0.10), transparent 45%), #101012;
    --bg-card: #17171A;
    --bg-card-elevated: #1F1F23;
    --bg-input: #1F1F23;
    --text-title: #F7F4EF;
    --text-body: #C2C2C1;
    --text-secondary: #9A9A99;
    --text-muted: #6E6E6D;
    --border-card: rgba(255, 255, 255, 0.08);
    --border-divider: rgba(255, 255, 255, 0.06);
    --border-input: rgba(255, 255, 255, 0.10);
    --brand-primary: #FD429C;
    --brand-hover: #E03588;
    --brand-light: rgba(253, 66, 156, 0.14);
    --brand-muted: rgba(253, 66, 156, 0.08);
    --brand-blue: #FD429C;
    --grad-brand: linear-gradient(90deg, #FD429C, #F5D907);
    --gradient-brand: linear-gradient(90deg, #FD429C, #F5D907);
    --gradient-cta: linear-gradient(90deg, #FD429C, #F5D907);
    --gradient-gem: linear-gradient(90deg, #FD429C, #FF6B35 42%, #F5D907);
    --shadow-btn: 0 6px 28px rgba(253, 66, 156, 0.45);
    --topbar-bg: rgba(16, 16, 18, 0.94);
    --topbar-border: rgba(255, 255, 255, 0.08);
    --text-on-brand: #101012;
}

/* 个人中心 · Neon Suno 真源（盖 Shazam B #007AFF） */
html[data-aum-theme="dark"].aum-page-profile.aum-dapp-white-pages,
html[data-aum-theme="dark"].aum-page-profile.aum-sapphire-dapp {
    --bg-page: #101012;
    --bg-mesh: radial-gradient(ellipse 90% 55% at 50% -15%, rgba(253, 66, 156, 0.18), transparent 55%), radial-gradient(circle at 85% 90%, rgba(245, 217, 7, 0.10), transparent 45%), #101012;
    --bg-card: #17171A;
    --bg-card-elevated: #1F1F23;
    --bg-input: #1F1F23;
    --text-title: #F7F4EF;
    --text-body: #C2C2C1;
    --text-secondary: #9A9A99;
    --text-muted: #6E6E6D;
    --border-card: rgba(255, 255, 255, 0.08);
    --border-divider: rgba(255, 255, 255, 0.06);
    --border-input: rgba(255, 255, 255, 0.10);
    --brand-primary: #FD429C;
    --brand-hover: #E03588;
    --brand-light: rgba(253, 66, 156, 0.14);
    --brand-muted: rgba(253, 66, 156, 0.08);
    --brand-blue: #FD429C;
    --text-brand: #FD429C;
    --grad-brand: linear-gradient(90deg, #FD429C, #F5D907);
    --gradient-brand: linear-gradient(90deg, #FD429C, #F5D907);
    --gradient-cta: linear-gradient(90deg, #FD429C, #F5D907);
    --gradient-gem: linear-gradient(90deg, #FD429C, #FF6B35 42%, #F5D907);
    --shadow-btn: 0 6px 28px rgba(253, 66, 156, 0.45);
    --topbar-bg: rgba(16, 16, 18, 0.94);
    --topbar-border: rgba(255, 255, 255, 0.08);
    --text-on-brand: #101012;
}

/* b229 · 创作圈交互色字面量（本文件最后加载 · 盖 Shazam 蓝） */
html[data-aum-theme="dark"].aum-ui-premium.aum-page-circle.aum-sapphire-dapp .cc-back-btn,
html[data-aum-theme="dark"].aum-ui-premium.aum-page-circle.aum-sapphire-dapp .cc-back-btn i {
    color: #FD429C !important;
}

html[data-aum-theme="dark"].aum-ui-premium.aum-page-circle.aum-sapphire-dapp .moment-ft button.liked,
html[data-aum-theme="dark"].aum-ui-premium.aum-page-circle.aum-sapphire-dapp .moment-ft button.liked i,
html[data-aum-theme="dark"].aum-ui-premium.aum-page-circle.aum-sapphire-dapp .cc-cm-like.liked,
html[data-aum-theme="dark"].aum-ui-premium.aum-page-circle.aum-sapphire-dapp .cc-cm-like.liked i {
    color: #FD429C !important;
}

html[data-aum-theme="dark"].aum-ui-premium.aum-page-circle.aum-sapphire-dapp .cc-cm-reply,
html[data-aum-theme="dark"].aum-ui-premium.aum-page-circle.aum-sapphire-dapp .cc-link-inline.cc-link-live,
html[data-aum-theme="dark"].aum-ui-premium.aum-page-circle.aum-sapphire-dapp .cc-link-pending-text,
html[data-aum-theme="dark"].aum-ui-premium.aum-page-circle.aum-sapphire-dapp .cc-cm-open,
html[data-aum-theme="dark"].aum-ui-premium.aum-page-circle.aum-sapphire-dapp .cc-text-expand,
html[data-aum-theme="dark"].aum-page-circle .cc-post-body a,
html[data-aum-theme="dark"].aum-page-circle .cc-link {
    color: #FD429C !important;
}

html[data-aum-theme="dark"].aum-ui-premium.aum-page-circle.aum-sapphire-dapp .cc-cm-author-tag {
    color: #FD429C !important;
    background: rgba(253, 66, 156, 0.14) !important;
}

/* ========== 全站「复制下载链接」次要按钮 · Aurora / Neon ========== */
html.aum-dapp-white-pages .aum-btn-copy-link,
html.aum-dapp-white-pages .work-tile-dl,
html.aum-dapp-white-pages .cc-pay-copy,
html.aum-dapp-white-pages .hist-download,
html.aum-dapp-white-pages .dl-confirm.secondary,
html.aum-dapp-white-pages .dl-record-actions button[data-dl-copy] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 10px 12px !important;
    border-radius: var(--radius-btn, 12px) !important;
    border: 1px solid rgba(42, 107, 255, 0.35) !important;
    background: rgba(42, 107, 255, 0.08) !important;
    color: #2A6BFF !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    cursor: pointer;
    text-align: center;
    -webkit-tap-highlight-color: transparent !important;
    outline: none !important;
    box-shadow: none !important;
}

html.aum-dapp-white-pages .work-tile-dl {
    width: 100%;
    margin-top: 8px;
}

html.aum-dapp-white-pages .aum-btn-copy-link:active,
html.aum-dapp-white-pages .work-tile-dl:active,
html.aum-dapp-white-pages .cc-pay-copy:active,
html.aum-dapp-white-pages .hist-download:active,
html.aum-dapp-white-pages .dl-confirm.secondary:active,
html.aum-dapp-white-pages .dl-record-actions button[data-dl-copy]:active {
    transform: scale(0.96);
    opacity: 0.9;
}

html[data-aum-theme="dark"].aum-dapp-white-pages .aum-btn-copy-link,
html[data-aum-theme="dark"].aum-dapp-white-pages .work-tile-dl,
html[data-aum-theme="dark"].aum-dapp-white-pages .cc-pay-copy,
html[data-aum-theme="dark"].aum-dapp-white-pages .hist-download,
html[data-aum-theme="dark"].aum-dapp-white-pages .dl-confirm.secondary,
html[data-aum-theme="dark"].aum-dapp-white-pages .dl-record-actions button[data-dl-copy] {
    border-color: rgba(253, 66, 156, 0.38) !important;
    background: rgba(253, 66, 156, 0.10) !important;
    color: #FD429C !important;
}

/* ============================================================
   全站交互铁律：圆角按钮/控件点击禁止矩形 focus / tap 高亮
   （用户 2026-07-01 定稿 · 见 .cursor/rules/aum-ui-design.mdc）
   ============================================================ */
html.aum-dapp-white-pages button,
html.aum-dapp-white-pages [role="button"],
html.aum-dapp-white-pages a.btn,
html.aum-dapp-white-pages .btn,
html.aum-dapp-white-pages input[type="button"],
html.aum-dapp-white-pages input[type="submit"],
html.aum-dapp-white-pages input[type="range"],
html.aum-dapp-white-pages .back,
html.aum-dapp-white-pages .share-play-btn,
html.aum-dapp-white-pages .share-cta,
html.aum-dapp-white-pages .share-wallet-pick {
    -webkit-tap-highlight-color: transparent !important;
    tap-highlight-color: transparent;
    outline: none !important;
}

html.aum-dapp-white-pages button:focus,
html.aum-dapp-white-pages button:focus-visible,
html.aum-dapp-white-pages [role="button"]:focus,
html.aum-dapp-white-pages [role="button"]:focus-visible,
html.aum-dapp-white-pages a.btn:focus,
html.aum-dapp-white-pages a.btn:focus-visible,
html.aum-dapp-white-pages .btn:focus,
html.aum-dapp-white-pages .btn:focus-visible,
html.aum-dapp-white-pages input[type="button"]:focus,
html.aum-dapp-white-pages input[type="button"]:focus-visible,
html.aum-dapp-white-pages input[type="submit"]:focus,
html.aum-dapp-white-pages input[type="submit"]:focus-visible,
html.aum-dapp-white-pages input[type="range"]:focus,
html.aum-dapp-white-pages input[type="range"]:focus-visible,
html.aum-dapp-white-pages .back:focus,
html.aum-dapp-white-pages .back:focus-visible {
    outline: none !important;
}

/* 全站按压反馈（无矩形 focus · 有 scale/opacity 触感） */
html.aum-dapp-white-pages button:not(:disabled),
html.aum-dapp-white-pages [role="button"],
html.aum-dapp-white-pages a.btn,
html.aum-dapp-white-pages .btn,
html.aum-dapp-white-pages .back,
html.aum-dapp-white-pages .share-play-btn,
html.aum-dapp-white-pages .share-cta,
html.aum-dapp-white-pages .share-wallet-pick,
html.aum-dapp-white-pages input[type="button"],
html.aum-dapp-white-pages input[type="submit"] {
    transition: transform 0.1s ease, opacity 0.1s ease, filter 0.1s ease;
}

html.aum-dapp-white-pages button:not(:disabled):active,
html.aum-dapp-white-pages [role="button"]:active,
html.aum-dapp-white-pages a.btn:active,
html.aum-dapp-white-pages .btn:active,
html.aum-dapp-white-pages .back:active,
html.aum-dapp-white-pages .share-cta:active,
html.aum-dapp-white-pages .share-wallet-pick:active,
html.aum-dapp-white-pages input[type="button"]:active,
html.aum-dapp-white-pages input[type="submit"]:active {
    transform: scale(0.96);
    opacity: 0.9;
    filter: brightness(0.94);
}

/* 分享页封面播放钮居中 transform 不能被 scale 覆盖，否则会「跑位」 */
html.aum-dapp-white-pages .share-play-btn:active {
    transform: translate(-50%, -50%) scale(0.96) !important;
    opacity: 0.9;
    filter: brightness(0.94);
}

html.aum-dapp-white-pages input[type="text"]:focus,
html.aum-dapp-white-pages input[type="search"]:focus,
html.aum-dapp-white-pages textarea:focus {
    outline: none;
}

/* 迷你播放器页底留白：对齐真实播放器高度，避免 phantom gap（b19.40） */
html.aum-dapp-white-pages {
    --aum-mini-player-clearance: 72px;
}
html.aum-dapp-white-pages.aum-index-preview body {
    padding-bottom: calc(var(--aum-mini-player-clearance) + env(safe-area-inset-bottom, 0px)) !important;
}

/* Bitget dock 贴底 → 见 ui-bitget-dock-fix.css（各页最后加载） */

/* ── 钱包 WebView 贴底 / 键盘 / phantom safe-area（b19.75 · Ave/Bitget/TP） ── */
html.aum-wallet-lite {
    --aum-safe-bottom: 0px;
}

html.aum-wallet-lite.aum-dapp-white-pages.aum-index-preview body {
    padding-bottom: var(--aum-mini-player-clearance, 72px) !important;
}

html.aum-wallet-lite.aum-index-preview .bottom-player {
    bottom: 0 !important;
    padding-bottom: 0 !important;
}

html.aum-wallet-lite.aum-index-preview .bottom-player .bp-shell,
html.aum-bitget-webview.aum-index-preview .bottom-player .bp-shell {
    padding-bottom: 0 !important;
}

html.aum-wallet-lite.aum-page-create #app {
    height: 100% !important;
    max-height: 100dvh !important;
    display: flex !important;
    flex-direction: column !important;
}

html.aum-wallet-lite.aum-page-create .chat-detail.active {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}

html.aum-wallet-lite.aum-page-create .chat-detail-body {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}

html.aum-wallet-lite.aum-page-create .chat-messages {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 12px !important;
}

html.aum-wallet-lite.aum-page-create .chat-input-area,
html.aum-wallet-lite.aum-page-create .chat-post-song-bar {
    flex-shrink: 0 !important;
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    padding-bottom: 8px !important;
}

html.aum-wallet-lite.aum-page-create.aum-kb-open .chat-input-area,
html.aum-wallet-lite.aum-page-create.aum-kb-open .chat-post-song-bar {
    padding-bottom: calc(8px + var(--aum-kb-composer-gap, 12px)) !important;
}

html.aum-wallet-lite.aum-page-circle.aum-sapphire-dapp .cc-bottom-player {
    padding-bottom: 0 !important;
    bottom: 0 !important;
}

html.aum-wallet-lite.aum-page-circle.aum-sapphire-dapp .cc-comment-dock {
    padding: 8px 12px 8px !important;
}

html.aum-bitget-webview.aum-page-circle.aum-sapphire-dapp .cc-comment-dock {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    transform: none !important;
}

html.aum-wallet-lite.aum-page-circle.aum-sapphire-dapp .cc-feed {
    padding-bottom: 88px !important;
}

html.aum-wallet-lite.aum-page-circle.aum-sapphire-dapp body.cc-compose-open .cc-feed {
    padding-bottom: 120px !important;
}

html.aum-wallet-lite.aum-page-official body {
    min-height: 100dvh;
}

html.aum-wallet-lite.aum-page-official .shell {
    padding-bottom: 28px;
}

html.aum-wallet-lite.aum-kb-open .cc-comment-dock:not(.hidden),
html.aum-wallet-lite.aum-kb-open .comment-dock:not(.hidden) {
    bottom: var(--aum-kb-composer-gap, 12px) !important;
    padding-bottom: 8px !important;
}

html.aum-wallet-lite.aum-page-circle.aum-kb-open #publishSheet.show {
    bottom: var(--aum-kb-composer-gap, 12px) !important;
    max-height: calc(100dvh - var(--aum-kb-composer-gap, 12px)) !important;
}

html.aum-wallet-lite.aum-kb-open .modal-overlay,
html.aum-wallet-lite.aum-kb-open .creator-tip-overlay {
    padding-bottom: var(--aum-kb-composer-gap, 12px) !important;
}

html.aum-kb-obstruction.aum-wallet-lite .msg-reply-box.open {
    transform: translateY(calc(-1 * var(--aum-kb-obstruction, 0px)));
}

html.aum-song-tip-modal-open .comment-dock {
    display: none !important;
}

html.aum-song-tip-modal-open body {
    overflow: hidden;
}

html.aum-page-circle body.cc-sheet-open,
html.aum-page-circle.cc-sheet-open body {
    overflow: hidden;
    touch-action: manipulation;
}

html.aum-page-circle #publishSheet.show {
    display: flex !important;
    flex-direction: column !important;
    max-height: 100dvh !important;
    bottom: 0 !important;
}

html.aum-page-circle #publishSheet.show .cc-sheet-body {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain;
    touch-action: pan-y;
}

html.aum-wallet-lite.aum-page-song .comment-dock:not(.hidden) {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 420 !important;
    transform: none !important;
    padding-bottom: 10px !important;
}

html.aum-wallet-lite.aum-page-song .song-scroll {
    padding-bottom: 72px !important;
}

html.aum-kb-obstruction.aum-wallet-lite #tipModal .download-modal,
html.aum-kb-obstruction.aum-wallet-lite #tipModal .tip-modal,
html.aum-kb-obstruction.aum-wallet-lite .creator-tip-overlay .creator-tip-sheet {
    max-height: calc(100dvh - var(--aum-kb-obstruction, 0px) - 24px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
}

html.aum-wallet-lite .tip-pay-status {
    font-size: 0.82rem;
    color: #5a7a9a;
    text-align: center;
    margin: 8px 0 4px;
    min-height: 1.2em;
}

html.aum-song-preview .song-dl-pay-overlay.cc-pay-overlay,
html.aum-creator-preview .creator-tip-flow-overlay.cc-pay-overlay {
    z-index: 100010 !important;
}

html.aum-creator-preview .creator-tip-flow-overlay .vision-modal {
    width: min(92vw, 360px);
    margin: auto;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 40px rgba(11, 20, 38, 0.18);
    overflow: hidden;
}

html.aum-creator-preview .creator-tip-flow-overlay .vision-modal-hd {
    padding: 14px 16px;
    background: linear-gradient(95deg, #2A6BFF, #1A4FD9);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
}

html.aum-creator-preview .creator-tip-flow-overlay .cc-pay-prep-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 36px 24px 40px;
    min-height: 120px;
}

html.aum-creator-preview .creator-tip-flow-overlay .cc-pay-prep-spinner {
    width: 22px;
    height: 22px;
    border: 2.5px solid rgba(42, 107, 255, 0.18);
    border-top-color: #2a6bff;
    border-radius: 50%;
    animation: cc-pay-spin 0.75s linear infinite;
}

html.aum-creator-preview .creator-tip-flow-overlay .cc-pay-prep-status {
    font-size: 0.9rem;
    color: #1a2a3a;
    text-align: center;
    line-height: 1.45;
}

/* 个人主页：加载完成前隐藏全球发行 sheet · 防进页闪出 */
html.aum-page-profile.aum-sapphire-dapp .gd-detail-overlay:not(.open),
html.aum-page-profile.aum-sapphire-dapp .gd-env-overlay:not(.open) {
    pointer-events: none !important;
}

html.aum-page-profile.aum-sapphire-dapp .gd-detail-overlay.open {
    pointer-events: auto;
}

html.aum-page-profile.aum-sapphire-dapp body:not(.profile-ui-ready) .gd-apply-sheet,
html.aum-page-profile.aum-sapphire-dapp body:not(.profile-ui-ready) .gd-detail-sheet,
html.aum-page-profile.aum-sapphire-dapp body:not(.profile-ui-ready) .gd-apply-overlay,
html.aum-page-profile.aum-sapphire-dapp body:not(.profile-ui-ready) .gd-detail-overlay,
html.aum-page-profile.aum-sapphire-dapp body:not(.profile-ui-ready) .gd-env-overlay {
    visibility: hidden !important;
    pointer-events: none !important;
}

html.aum-page-profile.aum-sapphire-dapp .gd-apply-sheet:not(.open),
html.aum-page-profile.aum-sapphire-dapp .gd-detail-sheet:not(.open) {
    visibility: hidden;
    pointer-events: none;
}

html.aum-page-profile.aum-sapphire-dapp .gd-apply-sheet.open,
html.aum-page-profile.aum-sapphire-dapp .gd-detail-sheet.open {
    visibility: visible;
    pointer-events: auto;
}

html.aum-wallet-lite.aum-page-profile.aum-sapphire-dapp .gd-agreement-sheet,
html.aum-wallet-lite.aum-page-profile.aum-sapphire-dapp .gd-apply-sheet-body {
    padding-bottom: 16px !important;
}

html.aum-wallet-lite.aum-page-profile.aum-sapphire-dapp .gd-detail-sheet {
    padding-bottom: 0 !important;
}

@keyframes cc-pay-spin {
    to {
        transform: rotate(360deg);
    }
}

/* 歌曲详情 · 钱包 WebView 底 sheet 贴底（小米 phantom safe-area / 评论栏漏出） */
html.aum-wallet-lite.aum-page-song:not(.aum-kb-open) .modal-overlay,
html.aum-wallet-lite.aum-page-song:not(.aum-kb-open) .song-share-overlay {
    position: fixed !important;
    inset: 0 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    max-height: none !important;
    padding-bottom: 0 !important;
    z-index: 100000 !important;
}

html.aum-wallet-lite.aum-page-song .modal-overlay .download-modal,
html.aum-wallet-lite.aum-page-song .song-share-overlay .song-share-card {
    padding-bottom: 16px !important;
    margin-bottom: 0 !important;
    flex-shrink: 0;
}

html.aum-wallet-lite.aum-page-song body.aum-song-sheet-open .comment-dock {
    visibility: hidden !important;
    pointer-events: none !important;
}

/* wallet WebView · 歌曲详情楼中楼：头像框裁剪 + 名字正文收紧（对齐创作圈） */
html.aum-wallet-lite.aum-page-song .reply-item .reply-av {
    height: 28px !important;
    max-height: 28px !important;
    overflow: hidden !important;
    contain: layout style;
    align-self: flex-start;
}

html.aum-wallet-lite.aum-page-song .reply-item .reply-av .comment-av-btn,
html.aum-wallet-lite.aum-page-song .reply-item .reply-av .aum-avatar-wrap {
    width: 28px !important;
    height: 28px !important;
    max-height: 28px !important;
    overflow: hidden !important;
}

html.aum-wallet-lite.aum-page-song .reply-item .reply-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

html.aum-wallet-lite.aum-page-song .reply-item .comment-head {
    margin-bottom: 0 !important;
    line-height: 1.25 !important;
    align-items: center !important;
}

html.aum-wallet-lite.aum-page-song .reply-item .comment-text {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.45 !important;
}
