| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591 |
- :root {
- --bg: #f6efe6;
- --panel: rgba(255, 249, 242, 0.94);
- --panel-strong: #fffaf5;
- --line: rgba(95, 73, 45, 0.12);
- --text: #2c2218;
- --muted: #7b6854;
- --accent: #d76434;
- --accent-deep: #b6481c;
- --shadow: 0 18px 50px rgba(88, 55, 26, 0.14);
- }
- * {
- 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:
- radial-gradient(circle at top left, rgba(215, 100, 52, 0.18), transparent 28%),
- radial-gradient(circle at top right, rgba(255, 200, 127, 0.18), transparent 22%),
- linear-gradient(180deg, #faf3e8 0%, #f4ebde 45%, #efe4d5 100%);
- }
- 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(215, 100, 52, 0.1);
- 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(215, 100, 52, 0.94), rgba(169, 65, 29, 0.92));
- color: #fff7f0;
- 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;
- }
- .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), #ea9660);
- color: #fff7f1;
- }
- .secondary-btn {
- background: rgba(215, 100, 52, 0.1);
- 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(215, 100, 52, 0.5);
- box-shadow: inset 0 0 0 1px rgba(215, 100, 52, 0.15);
- }
- .rank-badge {
- width: 34px;
- height: 34px;
- flex: 0 0 34px;
- display: inline-flex;
- align-items: center;
- justify-content: center;
- border-radius: 14px;
- background: rgba(215, 100, 52, 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(255, 250, 244, 0.97), rgba(246, 237, 226, 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, #de8552, #b54c22);
- color: #fff8f2;
- 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(215, 100, 52, 0.12);
- color: var(--accent-deep);
- }
- .play-toggle {
- width: 54px;
- height: 54px;
- flex-basis: 54px;
- background: linear-gradient(135deg, var(--accent), #e98f58);
- color: #fff8f2;
- }
- .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;
- }
- }
|