body{margin:0;padding:0}.app-container{min-height:100vh;background-color:#f5f5f5;padding:20px;display:flex;flex-direction:column;box-sizing:border-box}.app-card{display:flex;flex-direction:column}.app-card .ant-card-body{flex:1;display:flex;flex-direction:column;min-height:0}.song-grid{display:flex;flex-wrap:wrap;align-items:flex-start;align-content:flex-start;gap:12px;padding:8px}.song-button-container{position:relative;max-width:90%;min-width:80px}.song-btn{background:var(--song-bg-l)!important}html[data-theme=dark] .song-btn{background:var(--song-bg-d)!important}.hue-swatch{width:28px;height:28px;padding:0;border-radius:50%;border:2px solid transparent;cursor:pointer;transition:transform .15s,box-shadow .15s}.hue-swatch:hover{transform:scale(1.12)}.hue-swatch.is-selected{border-color:#1677ff;box-shadow:0 0 0 2px #1677ff40}.favorites-section{background:var(--fav-bg-l);border:1px solid var(--fav-border-l);transition:background-color .2s cubic-bezier(.645,.045,.355,1),border-color .2s cubic-bezier(.645,.045,.355,1)}.favorites-title{color:var(--fav-text-l);transition:color .2s cubic-bezier(.645,.045,.355,1)}html[data-theme=dark] .favorites-section{background:var(--fav-bg-d);border-color:var(--fav-border-d)}html[data-theme=dark] .favorites-title{color:var(--fav-text-d)}.green-dot{position:absolute;bottom:3px;right:3px;width:7px;height:7px;background-color:#389e0d;border-radius:50%;box-sizing:border-box}.delete-btn{background:#fff!important}html[data-theme=dark] .delete-btn{background:#404040!important}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;text-align:center;width:100%}.song-preview{margin-top:4px;border-radius:4px;overflow:hidden;box-shadow:0 2px 8px #0000001a}.preview-image{width:100%;height:60px;object-fit:cover;display:block}.ant-card{border-radius:8px;box-shadow:0 2px 8px #0000001a}.detail-container{padding:0!important}.detail-card{margin:0!important;border-radius:0!important;box-shadow:none!important;height:100vh;display:flex;flex-direction:column}.detail-card .ant-card-body{padding:0;flex:1;min-height:0;display:flex;flex-direction:column}.floating-bar{position:fixed;top:0;left:0;right:0;z-index:1000;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 12px;background:#fff;box-shadow:0 2px 8px #00000014;transition:opacity .3s ease,visibility .3s ease}.floating-bar-hidden{opacity:0;visibility:hidden;pointer-events:none}.floating-bar>*{pointer-events:auto}.floating-left{display:flex;align-items:center;gap:8px;min-width:0;flex-shrink:0}.floating-title{color:#1a1a1a;font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.floating-center{display:flex;align-items:center;gap:6px;flex:1;max-width:420px}.floating-right{flex-shrink:0}.floating-settings-btn{color:#555!important}.heart-btn-wrapper{display:inline-flex;position:relative}.heart-pop .ant-btn{animation:heart-bounce .6s ease}.heart-pop:before{content:"";position:absolute;top:2px;left:2px;width:28px;height:28px;border-radius:50%;background:#e8453c26;animation:heart-ripple .6s ease forwards;pointer-events:none}@keyframes heart-bounce{0%{transform:scale(1)}20%{transform:scale(1.4)}40%{transform:scale(.85)}60%{transform:scale(1.2)}80%{transform:scale(.95)}to{transform:scale(1)}}@keyframes heart-ripple{0%{transform:scale(.5);opacity:.6}to{transform:scale(2);opacity:0}}.floating-label{font-size:12px;color:#555;white-space:nowrap}.floating-slider-row{display:flex;align-items:center;gap:4px;flex:1;min-width:80px}.floating-slider{flex:1;min-width:0;width:100%}.floating-speed{font-size:12px;color:#555;font-variant-numeric:tabular-nums}.detail-card .ant-card-body .detail-body{display:flex;flex-direction:column;flex:1;min-height:0}.detail-body{overflow-y:auto}html[data-theme=dark]{color-scheme:dark;--bg: #141414;--bg-card: #1d1d1d;--bg-elevated: #262626;--text: #e5e5e5;--text-secondary: #999;--border: #303030}html[data-theme=dark],html[data-theme=dark] .app-container{background-color:var(--bg);color:var(--text)}html[data-theme=dark] .app-container span[style*="color:#666"],html[data-theme=dark] .app-container span[style*="color: #666"],html[data-theme=dark] .app-container p[style*="color:#666"],html[data-theme=dark] .app-container p[style*="color: #666"],html[data-theme=dark] .app-container div[style*="color:#999"],html[data-theme=dark] .app-container div[style*="color: #999"],html[data-theme=dark] .app-container span[style*="color:#999"],html[data-theme=dark] .app-container span[style*="color: #999"],html[data-theme=dark] .app-container p[style*="color:#999"],html[data-theme=dark] .app-container p[style*="color: #999"],html[data-theme=dark] .app-container span[style*="color:#1a1a1a"],html[data-theme=dark] .app-container span[style*="color: #1a1a1a"]{color:var(--text)!important}html[data-theme=dark] .detail-card{background:var(--bg-card)!important}html[data-theme=dark] .detail-card .ant-card-head,html[data-theme=dark] .floating-bar{background:var(--bg-elevated)!important;box-shadow:0 2px 8px #0000004d!important}html[data-theme=dark] .floating-title,html[data-theme=dark] .floating-label,html[data-theme=dark] .floating-speed,html[data-theme=dark] .floating-settings-btn,html[data-theme=dark] .ant-modal span[style*="color:#999"],html[data-theme=dark] .ant-modal span[style*="color: #999"],html[data-theme=dark] .ant-modal div[style*="color:#999"],html[data-theme=dark] .ant-modal div[style*="color: #999"],html[data-theme=dark] .ant-modal span[style*="color:#666"],html[data-theme=dark] .ant-modal span[style*="color: #666"],html[data-theme=dark] .ant-modal span[style*="color:#1a1a1a"],html[data-theme=dark] .ant-modal span[style*="color: #1a1a1a"]{color:var(--text)!important}html[data-theme=dark] .detail-container p{color:var(--text-secondary)!important}.xianji-logo{height:36px;display:block}html[data-theme=dark] .xianji-logo-black{display:none}html:not([data-theme=dark]) .xianji-logo-white{display:none}html[data-theme=dark] .sortable-item{background:var(--bg-elevated)!important;border-color:var(--border)!important}html[data-theme=dark] .detail-image{filter:invert(1) hue-rotate(180deg) grayscale(1)}.detail-card .ant-card-head{background:#fff;box-shadow:0 2px 8px #00000014;z-index:1}.react-transform-wrapper{width:100%;height:100%}.tabs-grid{display:flex;flex-wrap:wrap;justify-content:center;align-items:flex-start;gap:8px}.zoomable-wrapper{position:relative;overflow:hidden;width:100%}.candidate-image{width:200px;height:250px;object-fit:contain;cursor:pointer;display:block}.detail-image{width:100%;height:auto;display:block;object-fit:contain}.scrollable-container::-webkit-scrollbar{width:6px}.scrollable-container::-webkit-scrollbar-track{background:#f1f1f1;border-radius:6px}.scrollable-container::-webkit-scrollbar-thumb{background:#bbb;border-radius:6px}.scrollable-container::-webkit-scrollbar-thumb:hover{background:#999}.scrollable-container{scrollbar-width:thin;scrollbar-color:#bbb #f1f1f1}.ai-search-wrapper{position:relative;width:260px;flex-shrink:0;padding:2px;border-radius:8px;background:linear-gradient(60deg,#6366f1,#a855f7,#06b6d4,#6366f1,#8b5cf6);background-size:400% 400%;animation:ai-glow 4s ease infinite}@keyframes ai-glow{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}.ai-search-wrapper .control-search{width:100%!important}.ai-search-wrapper .ant-input-affix-wrapper{border:none!important;border-radius:6px!important;background:#fff!important}.ai-search-wrapper input{background:linear-gradient(60deg,#6366f1,#a855f7)!important;-webkit-background-clip:text!important;background-clip:text!important;-webkit-text-fill-color:transparent!important;caret-color:#6366f1;font-weight:600}.ai-search-wrapper input::placeholder{background:linear-gradient(60deg,#6366f1,#a855f7);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:#a855f7;opacity:1}html[data-theme=dark] .ai-search-wrapper input{caret-color:#a855f7}html[data-theme=dark] .ai-search-wrapper .ant-input-affix-wrapper{background:#1d1d1d!important}.ai-search-wrapper.no-ai{padding:0;background:none;animation:none}.ai-search-wrapper.no-ai .ant-input-affix-wrapper{border:1px solid #d9d9d9!important;border-radius:6px!important}.ai-search-wrapper.no-ai input{background:transparent!important;-webkit-background-clip:unset!important;background-clip:unset!important;-webkit-text-fill-color:unset!important;color:inherit!important;font-weight:400;caret-color:auto}.ai-search-wrapper.no-ai input::placeholder{background:none;-webkit-background-clip:unset;background-clip:unset;-webkit-text-fill-color:unset;color:#999;opacity:1}html[data-theme=dark] .ai-search-wrapper.no-ai .ant-input-affix-wrapper{border-color:#333!important}.ai-gradient-text{background:linear-gradient(60deg,#6366f1,#a855f7);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;font-weight:600}.ai-toast-border{padding:2px;border-radius:8px;background:linear-gradient(60deg,#6366f1,#a855f7,#06b6d4,#6366f1,#8b5cf6);background-size:400% 400%;animation:ai-glow 4s ease infinite}.ai-toast-body{display:flex;align-items:center;gap:10px;background:#fff;border-radius:6px;padding:9px 14px}html[data-theme=dark] .ai-toast-body{background:#262626}.ant-message-notice-content:has(.ai-toast-border){padding:0!important}.ant-message-custom-content:has(>.ai-toast-border){padding:0!important;background:none!important}.ai-toast-spinner{display:inline-block;width:16px;height:16px;border-radius:50%;background:conic-gradient(#6366f1,#a855f7,#6366f1);-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 3px),#fff calc(100% - 3px));mask:radial-gradient(farthest-side,transparent calc(100% - 3px),#fff calc(100% - 3px));animation:ai-spin .7s linear infinite;flex-shrink:0}@keyframes ai-spin{to{transform:rotate(360deg)}}.ai-loading-dots span{display:inline-block;font-size:32px;font-weight:700;background:linear-gradient(60deg,#6366f1,#a855f7);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;animation:ai-dot-bounce 1.4s ease-in-out infinite}.ai-loading-dots span:nth-child(2){animation-delay:.2s}.ai-loading-dots span:nth-child(3){animation-delay:.4s}@keyframes ai-dot-bounce{0%,80%,to{transform:translateY(0)}40%{transform:translateY(-8px)}}.control-bar{display:flex;gap:12px!important;margin-bottom:16px;flex-wrap:wrap;align-items:center}.control-bar .control-search{width:260px}.control-sort{min-width:140px}@media (max-width: 768px){.app-container{padding:0}.song-grid{gap:6px;padding:4px}.song-button-container{min-width:60px}.preview-image{height:44px}.control-bar{flex-wrap:wrap}.ai-search-wrapper,.control-bar .control-search{width:100%}.scrollable-container::-webkit-scrollbar{width:4px}.control-sort{flex:1}}@media (max-width: 600px){.candidate-image{width:140px;height:180px}}@media (max-width: 480px){.song-grid{gap:10px}.song-grid .ant-btn{font-size:14px;height:28px;padding:0 11px;line-height:1.8}.preview-image{height:36px}.floating-title,.floating-label{display:none}.floating-slider-row{min-width:60px}.floating-bar{padding:6px 8px;gap:24px}.floating-center{gap:4px}}
