:root { color-scheme: dark; font-family: Inter, "SF Pro Display", "PingFang SC", sans-serif; color: #f5f0f8; background: #0d0912; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 75% -8%, rgba(232, 90, 255, .18), transparent 34rem), radial-gradient(circle at 0 70%, rgba(255, 143, 72, .1), transparent 28rem), #0d0912; }
.page { width: min(980px, calc(100% - 32px)); margin: 0 auto; padding: 28px 0 70px; }
nav { display: flex; justify-content: space-between; align-items: center; color: #8f8498; font-size: 13px; }
nav a { color: #d1c7d8; text-decoration: none; }
#server-state.ready { color: #6cf0bc; }
#server-state.error { color: #ff8a8a; }
header { padding: 74px 0 40px; }
.kicker, .section-label { color: #f09cff; font-size: 11px; font-weight: 850; letter-spacing: .18em; }
h1 { max-width: 850px; margin: 13px 0 18px; font-size: clamp(45px, 7.8vw, 76px); line-height: .97; letter-spacing: -.06em; }
header > p { max-width: 720px; margin: 0; color: #a99caf; font-size: 17px; line-height: 1.8; }
.format-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; }
.format-row span { padding: 6px 9px; border: 1px solid #47364f; border-radius: 7px; color: #c9b8ce; font-size: 11px; font-weight: 800; letter-spacing: .06em; }
.format-row i { width: 1px; height: 22px; margin: 0 4px; background: #4a3b50; }
.qq-note { margin: -12px 0 20px; border: 1px solid rgba(255, 178, 93, .36); border-radius: 14px; background: rgba(73, 42, 20, .38); overflow: hidden; }
.qq-note summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 16px; cursor: pointer; list-style: none; }
.qq-note summary::-webkit-details-marker { display: none; }
.qq-note summary strong { color: #ffd09a; font-size: 14px; }
.qq-note summary span { color: #9d8269; font-size: 11px; }
.qq-note summary span::after { content: " ＋"; color: #ffd09a; }
.qq-note[open] summary span::after { content: " −"; }
.qq-note-body { padding: 0 16px 14px; border-top: 1px solid rgba(255,178,93,.12); }
.qq-note p { margin: 8px 0 0; color: #c8aa8a; font-size: 13px; line-height: 1.6; }
.qq-version-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 11px; }
.qq-version-buttons a { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; border: 1px solid rgba(255,178,93,.22); border-radius: 10px; background: rgba(255,178,93,.06); color: #efc18e; text-decoration: none; }
.qq-version-buttons a.recommended { border-color: rgba(116,231,190,.36); background: rgba(116,231,190,.07); }
.qq-version-buttons strong { color: inherit; font-size: 13px; }
.qq-version-buttons span { color: #9d8269; font-size: 11px; }
.qq-version-buttons a:hover { border-color: rgba(255,178,93,.52); background: rgba(255,178,93,.11); }
.drop-zone { position: relative; display: grid; place-items: center; min-height: 300px; padding: 40px; text-align: center; border: 1px dashed #59425f; border-radius: 24px; background: rgba(27, 17, 34, .8); transition: border-color .2s, background .2s; }
.drop-zone.dragging { border-color: #f09cff; background: rgba(55, 25, 60, .9); }
.drop-zone input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.mp3-mark { display: grid; place-items: center; width: 78px; height: 78px; border-radius: 22px; background: linear-gradient(145deg, #f09cff, #ff914d); color: #1a0b1f; font-size: 20px; font-weight: 950; box-shadow: 0 16px 45px rgba(229, 100, 255, .25); transform: rotate(-4deg); }
.drop-zone h2 { margin: 22px 0 5px; font-size: 26px; }
.drop-zone p { margin: 0; color: #93859a; }
.drop-zone small { margin-top: 20px; color: #6f6375; }
.queue-section { margin-top: 52px; }
.queue-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; }
.queue-head h2 { margin: 7px 0 0; font-size: 30px; }
.actions { display: flex; gap: 10px; }
button, .download { padding: 11px 16px; border: 1px solid #493650; border-radius: 10px; background: #211628; color: #f3eaf5; font: inherit; cursor: pointer; text-decoration: none; }
button.primary, .download { border-color: transparent; background: linear-gradient(135deg, #ef9cff, #ff9d5d); color: #241027; font-weight: 850; }
button:disabled { opacity: .4; cursor: wait; }
.track { height: 7px; margin: 20px 0; overflow: hidden; border-radius: 99px; background: #2b1c31; }
.track i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, #ef9cff, #ff9d5d); transition: width .25s ease; }
.queue { display: grid; gap: 10px; }
.job { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 17px 18px; border: 1px solid #34233a; border-radius: 14px; background: #17101d; }
.job h3 { overflow: hidden; margin: 0 0 6px; font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
.job p { margin: 0; color: #897a90; font-size: 13px; }
.job .state { color: #efb7ff; }
.job.success .state { color: #67e9b7; }
.job.error .state { color: #ff8585; }
.job audio { width: min(360px, 100%); height: 32px; margin-top: 10px; }
.notice { min-height: 24px; margin-top: 18px; color: #ff9d6d; }
.download-dialog { width: min(460px, calc(100vw - 28px)); max-width: none; padding: 0; border: 0; border-radius: 22px; background: transparent; color: #f8f2fa; }
.download-dialog::backdrop { background: rgba(7, 4, 12, .78); backdrop-filter: blur(8px); }
.download-dialog-card { position: relative; padding: 34px 30px 28px; border: 1px solid #513a59; border-radius: 22px; background: linear-gradient(145deg, #211329, #15101d 70%); box-shadow: 0 24px 90px rgba(0, 0, 0, .55); }
.download-dialog-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border-radius: 50%; font-size: 25px; line-height: 1; }
.download-dialog-kicker { color: #67e9b7; font-size: 10px; font-weight: 900; letter-spacing: .18em; }
.download-dialog h2 { max-width: 330px; margin: 15px 42px 25px 0; font-size: 24px; line-height: 1.45; letter-spacing: -.02em; }
.reward-link { display: block; width: 100%; padding: 14px 18px; border: 0; border-radius: 12px; background: linear-gradient(135deg, #ef9cff, #ff9d5d); color: #241027; font-size: 16px; font-weight: 900; text-align: center; text-decoration: none; }
.reward-link:hover { filter: brightness(1.06); }
.reward-dialog { width: min(680px, calc(100vw - 28px)); max-width: none; padding: 0; border: 0; border-radius: 22px; background: transparent; color: #f8f2fa; }
.reward-dialog::backdrop, .tip-dialog::backdrop { background: rgba(7, 4, 12, .82); backdrop-filter: blur(8px); }
.reward-dialog-card { position: relative; padding: 32px 28px 28px; border: 1px solid #513a59; border-radius: 22px; background: linear-gradient(145deg, #211329, #15101d 70%); box-shadow: 0 24px 90px rgba(0, 0, 0, .55); }
.reward-dialog h2 { margin: 12px 44px 24px 0; font-size: 30px; }
.dialog-close { position: absolute; top: 14px; right: 14px; z-index: 2; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border-radius: 50%; font-size: 25px; line-height: 1; }
.support-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.support-panel button { display: flex; justify-content: space-between; align-items: center; min-height: 58px; padding: 13px 15px; border: 1px solid rgba(255,255,255,.12); border-radius: 13px; background: rgba(255,255,255,.045); color: #fff; font: inherit; font-weight: 800; cursor: pointer; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.support-panel button:hover { transform: translateY(-2px); border-color: rgba(103,233,183,.55); }
.support-panel button span { color: #9aa6b7; font-size: 12px; font-weight: 500; }
.support-panel .wechat-tip-open { grid-column: 1 / -1; border-color: rgba(88,219,137,.4); background: linear-gradient(135deg, rgba(29,184,96,.14), rgba(255,255,255,.045)); }
.support-panel .wechat-tip-open span { color: #83dfa7; }
.tip-dialog { width: min(500px, calc(100vw - 40px)); height: min(860px, calc(100dvh - 40px)); max-width: none; max-height: none; padding: 0; border: 0; border-radius: 24px; background: transparent; color: #fff; overflow: hidden; }
.tip-dialog-card { position: relative; display: flex; flex-direction: column; width: 100%; height: 100%; padding: 24px; border: 1px solid rgba(255,255,255,.14); border-radius: 24px; background: linear-gradient(145deg, #142725, #181224); box-shadow: 0 28px 90px rgba(0,0,0,.52); overflow: hidden; }
.tip-dialog-card h2 { margin: 9px 44px 4px 0; font-size: 25px; }
.tip-dialog-card > p { margin: 0 0 18px; color: #aeb8c5; font-size: 13px; }
.tip-dialog-image { flex: 1 1 auto; width: 100%; min-height: 0; border-radius: 17px; background: #f4f6fa center / contain no-repeat; }
.tip-dialog-card .tip-dialog-hint { flex: 0 0 auto; margin: 13px 0 7px; color: #8794a7; line-height: 1.55; }
.tip-dialog-open-image { flex: 0 0 auto; align-self: flex-start; color: #67e9b7; font-size: 12px; font-weight: 700; text-underline-offset: 4px; }
@media (max-width: 680px) { header { padding-top: 55px; } nav span { display: none; } .qq-note summary { align-items: flex-start; flex-direction: column; gap: 3px; } .qq-version-buttons { grid-template-columns: 1fr; } .queue-head { align-items: stretch; flex-direction: column; } .job { grid-template-columns: 1fr; } .download { text-align: center; } .format-row i { display: none; } .download-dialog-card { padding: 30px 22px 22px; } .download-dialog h2 { margin-top: 14px; font-size: 21px; } .reward-dialog-card { padding: 28px 18px 20px; } .reward-dialog h2 { font-size: 25px; } .support-panel { grid-template-columns: 1fr; } .support-panel .wechat-tip-open { grid-column: auto; } .tip-dialog { width: calc(100vw - 16px); height: calc(100dvh - 16px); border-radius: 18px; } .tip-dialog-card { padding: 18px 12px 14px; border-radius: 18px; } .tip-dialog-card h2 { font-size: 20px; } .tip-dialog-card > p { margin-bottom: 12px; font-size: 12px; } .tip-dialog-image { border-radius: 11px; } .tip-dialog-card .tip-dialog-hint { margin-top: 10px; font-size: 11px; } }
