:root { --bg: #eaf4ff; --panel: rgba(247, 251, 255, 0.93); --panel-strong: rgba(255, 255, 255, 0.95); --line: rgba(28, 93, 153, 0.16); --text: #10243a; --muted: #58718b; --accent: #2388e8; --accent-deep: #0e63b6; --shadow: 0 18px 50px rgba(9, 50, 94, 0.18); } * { box-sizing: border-box; } body { margin: 0; min-height: 100vh; font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; color: var(--text); background: linear-gradient(rgba(231, 244, 255, 0.78), rgba(205, 229, 250, 0.9)), url("/static/img/background.jpg"), linear-gradient(160deg, #eaf6ff 0%, #b9dcfb 48%, #74b4f1 100%); background-attachment: fixed; background-position: center; background-size: cover; } button, input { font: inherit; } button { border: 0; cursor: pointer; } input[type="text"], input[type="file"] { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, 0.8); color: var(--text); } .app-shell { max-width: 1180px; margin: 0 auto; padding: 10px 10px 188px; } .app-header, .content-section, .player-dock { background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); backdrop-filter: blur(16px); } .app-header { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 18px; } .header-copy h1, .content-section h2 { margin: 0; } .header-copy h1 { font-size: 1rem; } .eyebrow { margin: 0 0 4px; color: var(--accent); font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; } .subtext { margin: 0; color: var(--muted); line-height: 1.45; font-size: 0.86rem; } .header-pill { flex: 0 0 auto; padding: 7px 10px; border-radius: 999px; background: rgba(35, 136, 232, 0.12); color: var(--accent-deep); font-size: 0.82rem; } .page-content { margin-top: 12px; display: flex; flex-direction: column; gap: 14px; } .view-stack { display: flex; flex-direction: column; gap: 14px; } .is-hidden { display: none !important; } .content-section { border-radius: 24px; padding: 16px; } .slim-hero { display: flex; flex-direction: column; gap: 12px; padding: 14px 16px; } .hero-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .metric-card { padding: 12px; border-radius: 18px; background: rgba(255, 255, 255, 0.8); } .metric-card strong { display: block; font-size: 1.25rem; margin-bottom: 2px; } .metric-card span { color: var(--muted); font-size: 0.84rem; } .section-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; } .section-head h2 { font-size: 1rem; } .section-head span { color: var(--muted); font-size: 0.8rem; } .featured-list, .song-list, .ranking-list, .queue-list, .playlist-list { display: flex; flex-direction: column; gap: 10px; } .album-grid, .stack-section { display: grid; gap: 10px; } .album-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stack-section { grid-template-columns: 1fr; } .feature-card, .album-card, .song-row, .ranking-card, .playlist-item, .empty-state, .detail-header { border: 1px solid rgba(123, 104, 84, 0.12); background: var(--panel-strong); border-radius: 20px; } .feature-card { overflow: hidden; } .feature-card-inner { display: grid; grid-template-columns: 108px 1fr; min-height: 176px; } .album-cover, .feature-cover, .detail-cover-wrap { position: relative; overflow: hidden; background: linear-gradient(145deg, rgba(35, 136, 232, 0.95), rgba(14, 99, 182, 0.94)); color: #f7fbff; display: flex; align-items: center; justify-content: center; text-align: center; font-weight: 700; } .feature-cover { padding: 14px; } .album-cover { min-height: 118px; padding: 12px; border-bottom: 1px solid rgba(123, 104, 84, 0.12); } .cover-image, .detail-cover-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; } .cover-name, .detail-cover-fallback { position: relative; z-index: 1; line-height: 1.3; } .feature-body, .album-body { display: flex; flex-direction: column; gap: 10px; padding: 12px; } .feature-body h3, .album-body h3, .ranking-card h3, .track-name, .detail-copy h2 { margin: 0; } .meta-row, .track-path, .playlist-item p, .ranking-note { margin: 0; color: var(--muted); font-size: 0.84rem; word-break: break-word; } .card-actions, .track-actions { display: flex; flex-wrap: wrap; gap: 8px; } .album-card .card-actions { flex-wrap: nowrap; } .album-card .card-actions button { flex: 1 1 0; min-width: 0; padding: 7px 8px; font-size: 0.78rem; } .compact-actions { flex-wrap: nowrap; } .primary-btn, .secondary-btn, .text-btn, .back-btn { padding: 9px 13px; border-radius: 999px; } .primary-btn { background: linear-gradient(135deg, var(--accent), #5db8ff); color: #f7fbff; } .secondary-btn { background: rgba(35, 136, 232, 0.12); color: var(--accent-deep); } .text-btn, .back-btn { background: rgba(123, 104, 84, 0.08); color: var(--text); } .song-row, .ranking-card, .playlist-item { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px; } .compact-list .song-row { padding: 10px 12px; } .compact-list .track-name { font-size: 0.92rem; } .compact-list .track-path { font-size: 0.76rem; } .song-copy, .ranking-main { min-width: 0; flex: 1; } .queue-list .song-row.is-active { border-color: rgba(35, 136, 232, 0.5); box-shadow: inset 0 0 0 1px rgba(35, 136, 232, 0.16); } .rank-badge { width: 34px; height: 34px; flex: 0 0 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 14px; background: rgba(35, 136, 232, 0.12); color: var(--accent-deep); font-weight: 700; } .detail-header { display: grid; grid-template-columns: 1fr; gap: 14px; padding: 14px; } .detail-cover-wrap { width: 100%; aspect-ratio: 1 / 1; border-radius: 22px; } .detail-copy { display: flex; flex-direction: column; gap: 10px; } .field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; color: var(--muted); font-size: 0.9rem; } .empty-state { padding: 16px; text-align: center; color: var(--muted); } .player-dock { position: fixed; left: 8px; right: 8px; bottom: max(8px, env(safe-area-inset-bottom)); z-index: 999; padding: 12px 14px; border-radius: 24px; background: linear-gradient(180deg, rgba(247, 251, 255, 0.97), rgba(231, 243, 255, 0.99)), var(--panel); } .player-top { display: flex; align-items: center; gap: 12px; } .dock-cover-wrap { position: relative; width: 50px; height: 50px; flex: 0 0 50px; } .dock-cover-image, .dock-cover-fallback { width: 100%; height: 100%; border-radius: 16px; } .dock-cover-image { object-fit: cover; } .dock-cover-fallback { display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #45a6f5, #0e63b6); color: #f7fbff; font-size: 1rem; font-weight: 700; } .dock-copy { min-width: 0; } .dock-copy strong, .dock-copy p { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .dock-copy p { margin: 3px 0 0; color: var(--muted); font-size: 0.82rem; } .player-progress { display: grid; grid-template-columns: 40px 1fr 40px; gap: 8px; align-items: center; margin-top: 10px; color: var(--muted); font-size: 0.76rem; } input[type="range"] { width: 100%; accent-color: var(--accent); } .icon-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; } .icon-btn { width: 42px; height: 42px; border-radius: 50%; background: rgba(123, 104, 84, 0.08); color: var(--text); position: relative; flex: 0 0 42px; display: inline-flex; align-items: center; justify-content: center; } .icon-btn.active { background: rgba(35, 136, 232, 0.12); color: var(--accent-deep); } .play-toggle { width: 54px; height: 54px; flex-basis: 54px; background: linear-gradient(135deg, var(--accent), #5db8ff); color: #f7fbff; } .small-icon-btn { width: 30px; height: 30px; flex-basis: 30px; } .icon-btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; } .small-icon-btn svg { width: 16px; height: 16px; stroke-width: 2.1; } .play-toggle svg { width: 26px; height: 26px; } .play-toggle .icon-play { margin-left: 2px; } .play-toggle svg path { fill: currentColor; stroke: none; } .icon-toast { position: fixed; left: 50%; bottom: 152px; transform: translateX(-50%); z-index: 1200; padding: 8px 12px; border-radius: 999px; background: rgba(44, 34, 24, 0.88); color: #fffaf5; font-size: 0.78rem; white-space: nowrap; } audio { display: none; } @media (min-width: 760px) { .app-shell { padding: 12px 14px 184px; } .stack-section { grid-template-columns: repeat(2, minmax(0, 1fr)); } .featured-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .detail-header { grid-template-columns: 120px 1fr; align-items: start; } .detail-cover-wrap { width: 120px; } }