﻿:root{--ink:#222438;--muted:#7d7e8f;--line:#e9e8ef;--violet:#6657e7;--violet-dark:#5345d0;--light-violet:#f1efff;--green:#4a9276;--bg:#f7f7f2;--white:#fff;--shadow:0 24px 80px rgba(48,39,96,.08),0 2px 10px rgba(40,32,88,.04);font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:320px}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}a{color:inherit;text-decoration:none}[hidden]{display:none!important}button:focus-visible,a:focus-visible,label:focus-visible{outline:3px solid #a99dff;outline-offset:3px}svg{display:block}p,h1,h2,h3{margin:0}.site-shell{max-width:1220px;padding:0 44px;margin:0 auto;position:relative;z-index:1}.page-orb{position:absolute;z-index:0;pointer-events:none;filter:blur(9px);border-radius:50%}.orb-one{width:520px;height:520px;top:58px;left:-235px;background:radial-gradient(circle,rgba(213,209,252,.48),rgba(235,233,255,0) 68%)}.orb-two{width:580px;height:580px;top:470px;right:-335px;background:radial-gradient(circle,rgba(217,239,224,.57),rgba(224,244,228,0) 70%)}
.site-header{height:104px;display:flex;justify-content:space-between;align-items:center}.brand{display:flex;align-items:center;gap:11px;font-weight:800;letter-spacing:-1.3px;font-size:23px}.brand-mark{display:grid;place-items:center;width:40px;height:40px;background:var(--violet);border-radius:13px;color:white;box-shadow:0 9px 19px rgba(102,87,231,.18)}.brand-mark svg{width:26px;height:26px}.brand-light{font-weight:500}.header-right{display:flex;align-items:center;gap:30px}.version-label{display:flex;align-items:center;gap:9px;font-size:12px;color:#6a6d7f;padding:8px 12px;border:1px solid #e5e7e6;border-radius:30px;background:rgba(255,255,255,.63)}.version-dot{width:7px;height:7px;background:#78ba90;border-radius:50%;box-shadow:0 0 0 3px rgba(120,186,144,.13)}.header-link{font-size:13px;font-weight:650;color:#52536c}.header-link span{font-size:16px;margin-left:4px}
.main-layout{display:grid;grid-template-columns:minmax(0,.89fr) minmax(0,1.11fr);gap:64px;align-items:center;padding:65px 0 95px}.intro-column{padding:0 0 36px}.eyebrow,.section-kicker{font-size:11px;letter-spacing:2.5px;font-weight:750;color:#8175d5}.eyebrow{display:flex;align-items:center;gap:12px;margin-bottom:27px}.eyebrow-line{display:block;width:24px;height:2px;background:#8e7ff5}.intro-column h1{font-size:clamp(43px,4.55vw,66px);letter-spacing:-3.9px;font-weight:800;line-height:1.19;margin:0 0 29px}.hero-emphasis{color:var(--violet)}.hero-copy{max-width:440px;font-size:16px;line-height:2.03;color:#75798b;letter-spacing:.1px}.feature-chips{display:flex;flex-wrap:wrap;gap:10px;margin-top:30px}.feature-chips>span{display:inline-flex;align-items:center;gap:7px;padding:9px 13px;border:1px solid #e8e7ee;border-radius:40px;background:rgba(255,255,255,.75);font-size:12px;font-weight:650;color:#626777}.feature-chips svg{width:15px;height:15px;color:#72a992}.phase-note{margin-top:76px;display:flex;align-items:flex-start;gap:15px;max-width:370px}.phase-icon{width:39px;height:39px;flex-shrink:0;display:grid;place-items:center;font-weight:800;color:#867bda;font-size:13px;background:#eae8fb;border-radius:12px}.phase-note strong{font-size:14px;display:block;margin:1px 0 8px}.phase-note span{display:block;color:#9a9baa;font-size:12px;line-height:1.8}
.studio-card{min-width:0;background:var(--white);border:1px solid rgba(234,232,244,.86);border-radius:27px;padding:30px;box-shadow:var(--shadow);position:relative}.studio-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:24px}.studio-heading h2{font-weight:800;letter-spacing:-.8px;font-size:24px;margin-top:7px}.studio-status{white-space:nowrap;display:flex;align-items:center;gap:8px;color:#8a8c9c;background:#f6f6f8;border-radius:30px;padding:8px 12px;font-size:11px;font-weight:600}.studio-status span{height:6px;width:6px;background:#b5b5c4;border-radius:50%}.studio-status.is-live{background:#fff0f1;color:#d84f66}.studio-status.is-live span{background:#ec5169;box-shadow:0 0 0 3px rgba(236,81,105,.12);animation:blink 1.3s infinite}.studio-status.is-ready{background:#edf8f1;color:#39916b}.studio-status.is-ready span{background:#57b48a}
.mode-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:5px;border-radius:15px;background:#f5f5f8}.mode-tab{border:0;border-radius:11px;background:transparent;color:#9697a6;padding:13px 5px;display:flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;font-size:12px;font-weight:700;transition:background .18s,color .18s,box-shadow .18s}.mode-tab svg{width:17px;height:17px;flex-shrink:0}.mode-tab.is-active{color:var(--violet);background:white;box-shadow:0 3px 8px rgba(30,20,80,.07)}.mode-tab:hover:not(.is-active){color:#655b9f}.mode-description{text-align:center;font-size:12px;line-height:1.7;min-height:43px;color:#9b9da9;padding:14px 0 4px}
.recorder-area{height:210px;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center}.sound-halo{pointer-events:none;border-radius:50%;position:absolute;left:50%;top:43%;transform:translate(-50%,-50%)}.halo-outer{width:178px;height:178px;border:1px solid #f1effe}.halo-inner{width:140px;height:140px;background:radial-gradient(circle,rgba(235,231,255,.7),rgba(245,243,255,.22) 66%,transparent 67%)}.record-button{height:91px;width:91px;position:relative;z-index:2;border:none;border-radius:50%;color:white;background:linear-gradient(150deg,#8874ff,#5d4ed9 75%);display:grid;place-items:center;box-shadow:0 14px 28px rgba(110,89,228,.28),inset 0 1px 1px rgba(255,255,255,.4);transition:transform .18s,box-shadow .18s}.record-button:hover{transform:translateY(-2px);box-shadow:0 18px 30px rgba(110,89,228,.3)}.record-button:active{transform:scale(.97)}.record-button svg{width:33px;height:33px}.stop-symbol{display:none}.record-button-hint{position:absolute;bottom:7px;color:#878999;font-size:12px;font-weight:650}.recorder-area.is-recording .record-button{background:linear-gradient(140deg,#ff6578,#e24262);box-shadow:0 12px 26px rgba(230,73,101,.26)}.recorder-area.is-recording .mic-symbol{display:none}.recorder-area.is-recording .stop-symbol{display:block}.recorder-area.is-recording .halo-outer{border-color:#ffdce3;animation:record-pulse 2s infinite}.recorder-area.is-recording .halo-inner{background:radial-gradient(circle,rgba(255,225,230,.8),rgba(255,242,245,.1) 70%)}.recorder-area.is-recording .record-button-hint{color:#da5f72}.recorder-area.is-busy .record-button{opacity:.7;cursor:progress}
.record-monitor{background:#fafafe;border:1px solid #f3f1fa;border-radius:17px;padding:16px 18px 13px}.monitor-top{display:flex;justify-content:space-between;align-items:center;color:#8c8e9e;font-size:11px;font-weight:600}.timer{font-size:14px;font-variant-numeric:tabular-nums;color:#3f4358;font-weight:750}.timer span{font-size:11px;color:#b1b2be;font-weight:500}.waveform{display:flex;justify-content:center;align-items:center;height:62px;gap:4px;overflow:hidden}.waveform span{display:block;flex:0 1 4px;width:4px;min-width:2px;height:var(--h);max-height:50px;border-radius:10px;background:#c9c5f5;transition:height .13s ease,background .2s ease}.waveform.is-live span{background:#897cf2}.progress-track{height:3px;background:#e9e7f3;border-radius:99px;overflow:hidden}.progress-track>div{width:0;height:100%;border-radius:99px;background:#796bed;transition:width .12s linear}.monitor-hint{text-align:center;margin-top:12px;color:#a2a3b0;font-size:11px;line-height:1.6}
.file-drop{border:1.5px dashed #cdc8ed;background:#fbfaff;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;gap:8px;border-radius:17px;height:234px;margin-top:10px;cursor:pointer;transition:background .18s,border-color .18s}.file-drop:hover,.file-drop.dragover{background:#f4f1ff;border-color:#8174ed}.file-drop-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:16px;background:#ede9ff;color:#6c5ce8;margin-bottom:5px}.file-drop-icon svg{width:26px;height:26px}.file-drop strong{font-size:15px}.file-drop span:not(.file-drop-icon){font-size:12px;color:#a2a0b1}.file-drop small{font-size:11px;color:#b3b3c2}.sound-type-picker{margin:23px 0 15px}.sound-type-picker>span{font-size:12px;font-weight:750;color:#65677a}.sound-types{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.sound-type{border:1px solid #eae9ee;background:white;border-radius:30px;padding:9px 12px;font-size:11px;color:#9293a1;font-weight:650}.sound-type.active{border-color:#c7bfff;color:var(--violet);background:#f2efff}
.audio-preview{margin-top:18px;padding:17px;background:#f8f8fc;border-radius:16px;border:1px solid #eeeef6}.preview-head{display:flex;align-items:flex-start;gap:10px;margin-bottom:15px}.preview-check{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#e1f5e8;color:#469d6c;font-weight:750;flex-shrink:0}.preview-details{flex:1;min-width:0}.preview-details h3{font-size:13px;margin-top:1px}.preview-details p{font-size:11px;color:#9598a8;margin-top:5px;line-height:1.6;word-break:break-word}.clear-audio{border:0;color:#aaa8b6;background:transparent;font-size:23px;line-height:1;width:26px;height:26px}.audio-preview audio{width:100%;height:40px;display:block;accent-color:var(--violet)}.audio-actions{display:grid;grid-template-columns:.85fr 1.15fr;gap:10px;margin-top:15px}.audio-actions button{min-height:43px;border-radius:10px;font-size:12px;font-weight:750;padding:9px}.secondary-action{background:white;color:#6a648c;border:1px solid #e6e3f6}.primary-action{background:var(--violet);color:white;border:1px solid var(--violet);display:flex;justify-content:center;align-items:center;gap:9px}.primary-action:hover{background:var(--violet-dark)}.local-notice{display:flex;justify-content:center;align-items:center;gap:5px;color:#a5a4b4;font-size:10px;margin-top:12px;line-height:1.5;text-align:center}.local-notice svg{width:15px;height:15px;flex-shrink:0}.inline-error{padding:12px 13px;border-radius:11px;background:#fff4f3;border:1px solid #ffdfde;color:#b74e4c;font-size:12px;line-height:1.7;margin-top:15px}.studio-footer{border-top:1px solid #f0eff4;margin-top:25px;padding-top:17px;color:#b0b0bc;font-size:11px;display:flex;align-items:center;justify-content:center;gap:6px;line-height:1.6;text-align:center}.studio-footer svg{width:15px;height:15px;flex-shrink:0}
.below-section{padding-bottom:65px}.below-heading{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:25px}.below-heading h2{font-size:29px;letter-spacing:-1px;margin-top:12px}.below-heading p{color:#9496a6;font-size:12px}.steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.step-card{background:#fff;border:1px solid #edecf1;border-radius:19px;padding:24px;min-height:214px;position:relative}.step-number{display:flex;justify-content:space-between;align-items:center;font-weight:800;font-size:21px;color:#796be3}.step-number span{font-weight:600;font-size:11px;color:#a4a2b2}.step-card h3{font-size:18px;margin-top:23px}.step-card p{font-size:12px;color:#9093a1;line-height:1.8;margin-top:10px;max-width:270px}.step-done,.step-pending{display:inline-block;color:#62a78a;background:#edf8f0;padding:6px 9px;border-radius:6px;font-size:10px;font-weight:700;margin-top:17px}.muted-step .step-number{color:#a2a1bb}.step-pending{background:#f3f3f7;color:#a1a1ac}.privacy-band{background:#edeee9;border-radius:18px;padding:24px 27px;display:flex;gap:16px;align-items:center;margin-bottom:30px}.privacy-band-icon{display:grid;place-items:center;border-radius:12px;background:#dfe9df;width:44px;height:44px;flex-shrink:0;color:#5d9275}.privacy-band-icon svg{width:25px;height:25px}.privacy-band strong{font-size:14px}.privacy-band p{font-size:11px;line-height:1.8;color:#8a908a;margin-top:5px}.page-footer{border-top:1px solid #e8e8e7;padding:27px 0 35px;display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:11px;color:#9ea0a9}
.service-dialog{width:min(440px,calc(100% - 32px));border:1px solid #eeebfc;border-radius:24px;padding:31px;background:white;box-shadow:0 24px 90px rgba(25,20,68,.2);color:var(--ink);max-height:calc(100dvh - 32px)}.service-dialog::backdrop{background:rgba(28,24,58,.42);backdrop-filter:blur(5px)}.dialog-top-icon{height:58px;width:58px;border-radius:18px;background:#ebe9ff;display:grid;place-items:center;color:var(--violet);margin-bottom:22px}.dialog-top-icon svg{width:34px;height:34px}.service-dialog h2{font-size:22px;line-height:1.4;letter-spacing:-.5px}.service-dialog>p{font-size:13px;color:#8c8da0;line-height:1.9;margin:12px 0 20px}.dialog-state{display:flex;gap:9px;align-items:center;color:#5d6f65;font-size:12px;padding:10px 0;border-bottom:1px solid #f1f0f6}.state-circle{display:block;width:7px;height:7px;border-radius:50%;background:#6fba8f}.dialog-check{margin-left:auto;font-weight:800;color:#63ae82}.dialog-state.upcoming{color:#8b8d9f;border-bottom:0}.upcoming .state-circle{background:#c4c4d2}.dialog-clock{margin-left:auto;font-size:11px;color:#aaa9b7}.service-dialog form button{border:none;background:var(--violet);color:white;border-radius:12px;width:100%;padding:13px;margin-top:24px;font-size:13px;font-weight:750}.toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);z-index:20;background:#2a2744;color:white;padding:12px 18px;border-radius:12px;font-size:12px;box-shadow:0 12px 32px rgba(30,25,57,.2);max-width:calc(100vw - 30px);text-align:center}
@keyframes blink{50%{opacity:.45}}@keyframes record-pulse{0%,100%{transform:translate(-50%,-50%) scale(1);opacity:1}50%{transform:translate(-50%,-50%) scale(1.14);opacity:.45}}
@media(max-width:1050px){.site-shell{padding:0 30px}.main-layout{gap:26px;grid-template-columns:minmax(0,.83fr) minmax(0,1.17fr)}.intro-column h1{font-size:49px;letter-spacing:-2.5px}.studio-card{padding:24px}.mode-tab{gap:4px;font-size:11px}.hero-copy{font-size:14px}}
@media(max-width:780px){.site-shell{padding:0 23px}.site-header{height:78px}.main-layout{display:flex;flex-direction:column;gap:30px;padding:24px 0 67px;align-items:stretch}.intro-column{padding:0}.intro-column h1{font-size:47px;letter-spacing:-2.5px;margin-bottom:17px}.intro-column .eyebrow{margin-bottom:19px}.hero-copy{max-width:560px;font-size:14px;line-height:1.8}.feature-chips{margin-top:20px}.phase-note{display:none}.studio-card{max-width:620px;width:100%;margin:auto;padding:25px}.steps{gap:11px}.step-card{padding:18px}.below-section{padding-bottom:38px}}
@media(max-width:520px){.site-shell{padding:0 16px}.site-header{height:69px}.brand{font-size:19px;gap:8px}.brand-mark{width:35px;height:35px;border-radius:11px}.brand-mark svg{width:24px;height:24px}.header-right{gap:9px}.header-link{display:none}.version-label{font-size:10px;padding:7px 10px}.main-layout{padding:25px 0 52px;gap:29px}.eyebrow{font-size:9px;letter-spacing:2px}.intro-column h1{font-size:clamp(38px,10vw,48px);letter-spacing:-2.3px;line-height:1.24}.hero-copy{font-size:13px;line-height:1.75}.feature-chips>span{font-size:11px;padding:7px 10px}.studio-card{padding:19px;border-radius:21px}.studio-heading{margin-bottom:20px}.studio-heading h2{font-size:22px}.studio-status{font-size:10px;padding:7px 9px}.section-kicker{font-size:10px;letter-spacing:2px}.mode-tabs{gap:3px;padding:4px}.mode-tab{flex-direction:column;gap:5px;font-size:11px;padding:11px 2px}.mode-tab svg{width:18px;height:18px}.mode-description{padding-top:13px;font-size:11px}.recorder-area{height:190px}.halo-outer{width:160px;height:160px}.halo-inner{width:130px;height:130px}.record-button{width:83px;height:83px}.record-button-hint{bottom:0}.record-monitor{padding:14px}.waveform{gap:3px}.waveform span{flex-basis:3px;width:3px}.audio-actions{grid-template-columns:1fr 1.2fr}.audio-actions button{font-size:11px;padding:8px}.studio-footer{font-size:10px}.below-heading{align-items:start;display:block}.below-heading h2{font-size:24px}.below-heading p{margin-top:9px}.steps{grid-template-columns:1fr;gap:10px}.step-card{min-height:0;padding:19px 20px}.step-card h3{margin-top:12px;font-size:16px}.step-card p{margin-top:6px}.step-done,.step-pending{margin-top:12px}.privacy-band{padding:17px;align-items:flex-start}.privacy-band p{font-size:10px}.page-footer{flex-direction:column;align-items:flex-start;gap:6px}.service-dialog{padding:25px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}

.play-recording{width:100%;margin-top:10px;min-height:43px;border:1px solid #dedaf5;border-radius:10px;background:#f4f2ff;color:#6254d8;font-size:12px;font-weight:750;cursor:pointer}.play-recording:active{transform:scale(.99)}.play-recording:disabled{opacity:.55;cursor:not-allowed}
.api-status{background:#f8f7ff;border:1px solid #e8e4ff;border-radius:13px;padding:14px;margin-bottom:18px;font-size:12px;line-height:1.8}.api-status-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.api-status-heading strong{font-size:12px}.api-status button{background:white;border:1px solid #ddd7fc;border-radius:8px;color:var(--violet);padding:5px 9px;font-size:11px;flex-shrink:0}.api-status p{color:#818197;font-size:11px;margin-top:6px;overflow-wrap:anywhere}.api-status summary{color:var(--violet);cursor:pointer;margin-top:8px}.api-status ol{margin:8px 0;padding-left:19px;color:#727186;font-size:11px}.api-status a,.song-candidate a{color:var(--violet);text-decoration:underline;text-underline-offset:3px}.recognition-result{padding:18px;margin-top:18px;border:1px solid #ded9fa;border-radius:15px;background:#fbfaff}.recognition-result>h3{font-size:16px}.recognition-result>p{font-size:12px;color:#878399;line-height:1.8;margin-top:7px}.song-candidate{padding:13px 0;border-top:1px solid #e8e4f8;margin-top:12px;overflow-wrap:anywhere}.song-candidate h4{margin:0 0 5px;font-size:17px}.song-candidate p,.song-candidate a{font-size:12px;line-height:1.8}.song-candidate p{color:#858095}.song-candidate a{display:inline-block;margin-top:7px}.dialog-actions{display:flex;gap:10px}.service-dialog .dialog-cancel{background:#f1eff8;color:#756b91}.service-dialog{overflow:auto}

.provider-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:10px;padding-top:10px;border-top:1px solid #ece7ff}
.provider-row label{font-size:11px;font-weight:750;color:#6a648c}
.provider-row select{flex:1 1 190px;min-width:0;background:white;border:1px solid #ddd7fc;border-radius:8px;color:#3f4358;font-size:11px;padding:6px 8px}
.provider-row select:disabled{opacity:.6}
.provider-modes{font-size:10px;color:#8a86a0}
.mode-tab:disabled{opacity:.45;cursor:not-allowed}
.sound-type:disabled{opacity:.45;cursor:not-allowed}
.candidate-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:9px}
.candidate-link{border:1px solid #e3def8;background:white;border-radius:20px;padding:5px 10px;font-size:11px;font-weight:650;text-decoration:none!important;color:var(--violet)}
.candidate-link:hover{background:#f4f1ff;border-color:#c7bfff}
.sound-type-hint{margin-top:9px;font-size:10px;line-height:1.7;color:#a3a1b2}
/* ---------- SongSnap shell：语言/主题/提示/分段 ---------- */
.header-right{display:flex;align-items:center;gap:10px}
.lang-toggle{display:flex;align-items:center;gap:2px;padding:4px;border:1px solid #e5e7e6;border-radius:30px;background:rgba(255,255,255,.63)}
.lang-toggle button{border:0;background:transparent;color:#8b8d9b;font-size:11px;font-weight:750;padding:6px 10px;border-radius:20px;line-height:1}
.lang-toggle button.active{background:var(--violet);color:#fff}
.theme-toggle{display:grid;place-items:center;width:36px;height:36px;border:1px solid #e5e7e6;border-radius:50%;background:rgba(255,255,255,.63);color:#6a6d7f;cursor:pointer}
.theme-toggle svg{width:17px;height:17px}
.theme-toggle .icon-moon{display:none}
html[data-theme="dark"] .theme-toggle .icon-sun{display:none}
html[data-theme="dark"] .theme-toggle .icon-moon{display:block}
.theme-toggle:hover{color:var(--violet);border-color:#cdc5fa}
.brand-text{white-space:nowrap}

/* 左侧标题在桌面端固定在视口垂直居中 */
@media (min-width:781px){
  .main-layout{align-items:start}
  .intro-column{position:sticky;top:calc(50vh - var(--intro-half, 254px));align-self:start;padding:0}
  .intro-inner{width:100%}
}

/* 说明文字：手机端直接显示，桌面端收进悬停提示 */
.hint-inline{display:block}
.hint-wrap{display:none;align-items:center;justify-content:center;width:15px;height:15px;margin-left:6px;border:1px solid #d9d2fb;border-radius:50%;background:#fff;color:#7a6ff0;font-size:10px;font-weight:700;font-style:normal;line-height:1;cursor:help;vertical-align:middle;position:relative;flex:0 0 auto}
.hint-wrap::after{content:attr(data-tip);position:absolute;left:50%;bottom:calc(100% + 9px);transform:translateX(-50%);width:max-content;max-width:270px;padding:8px 10px;border-radius:9px;background:#28263c;color:#fff;font-size:11px;font-weight:500;line-height:1.65;text-align:left;white-space:normal;box-shadow:0 10px 26px rgba(24,20,52,.22);opacity:0;pointer-events:none;transition:opacity .15s ease;z-index:40}
.hint-wrap:hover::after,.hint-wrap:focus-visible::after{opacity:1}
.retry-hint-tip{margin-left:4px}
@media (hover:hover) and (pointer:fine){
  .hint-inline{display:none}
  .hint-wrap{display:inline-flex}
  .sound-type-picker>span{display:inline-flex;align-items:center}
}

/* 结果分段重试 */
.retry-segment{margin-top:16px;padding:15px 16px;border:1px dashed #ddd6fa;border-radius:15px;background:#fbfaff}
.retry-segment[hidden]{display:none}
.retry-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.retry-head strong{font-size:12px;color:#4d4a63}
.segment-label{font-size:11px;font-variant-numeric:tabular-nums;color:#7a6ff0;font-weight:700}
.retry-segment input[type="range"]{width:100%;margin:12px 0 10px;accent-color:var(--violet);background:transparent}
.retry-segment button{width:100%;border:1px solid #d7cffb;background:#fff;color:var(--violet);border-radius:10px;padding:9px;font-size:12px;font-weight:700}
.retry-segment button:hover{background:#f2efff}
.retry-segment button:disabled{opacity:.55;cursor:progress}

/* 深色主题 */
html[data-theme="dark"]{color-scheme:dark}
html[data-theme="dark"] body{background:#121120;color:#eceaf6}
html[data-theme="dark"] .page-orb{opacity:.18}
html[data-theme="dark"] .lang-toggle,html[data-theme="dark"] .theme-toggle{background:rgba(255,255,255,.05);border-color:#2f2c46;color:#c9c5dc}
html[data-theme="dark"] .lang-toggle button{color:#b7b3c9}
html[data-theme="dark"] .lang-toggle button.active{background:var(--violet);color:#fff}
html[data-theme="dark"] .studio-card{background:#1a1829;border-color:#2b2842;box-shadow:0 24px 60px rgba(0,0,0,.45)}
html[data-theme="dark"] .api-status{background:#201d33;border-color:#332e52}
html[data-theme="dark"] .api-status p,html[data-theme="dark"] .api-status ol{color:#a8a4bd}
html[data-theme="dark"] .api-status button,html[data-theme="dark"] .provider-row select{background:#26233c;border-color:#3b3559;color:#d8d3f0}
html[data-theme="dark"] .mode-tabs{background:#201d33}
html[data-theme="dark"] .mode-tab{color:#948fb0}
html[data-theme="dark"] .mode-tab.is-active{background:#2c2846;color:#c8bfff;box-shadow:none}
html[data-theme="dark"] .mode-tab:hover:not(.is-active){color:#c8bfff}
html[data-theme="dark"] .mode-description{color:#9a95b3}
html[data-theme="dark"] .record-monitor{background:#201d33;border-color:#2f2b49}
html[data-theme="dark"] .monitor-top{color:#a29db8}
html[data-theme="dark"] .timer{color:#eceaf6}
html[data-theme="dark"] .timer span,html[data-theme="dark"] .monitor-hint{color:#8b86a3}
html[data-theme="dark"] .progress-track{background:#332e52}
html[data-theme="dark"] .file-drop{background:#1e1b30;border-color:#3d3660}
html[data-theme="dark"] .file-drop:hover{background:#262238}
html[data-theme="dark"] .file-drop small{color:#8f8aa8}
html[data-theme="dark"] .sound-type{background:#262238;border-color:#3a3556;color:#b5b0c9}
html[data-theme="dark"] .sound-type.active{background:#332c58;border-color:#7f6df0;color:#cfc7ff}
html[data-theme="dark"] .sound-type-hint,html[data-theme="dark"] .retry-hint{color:#8f8aa8}
html[data-theme="dark"] .audio-preview{background:#1e1b30;border-color:#2f2b49}
html[data-theme="dark"] .preview-details p{color:#a09bb8}
html[data-theme="dark"] .secondary-action{background:#262238;border-color:#3a3556;color:#c5c0dc}
html[data-theme="dark"] .primary-action{background:#6c5ce8;border-color:#6c5ce8}
html[data-theme="dark"] .local-notice,html[data-theme="dark"] .studio-footer{color:#8f8aa8}
html[data-theme="dark"] .inline-error{background:#3a1f2b;border-color:#5c2f3d;color:#f0aeb7}
html[data-theme="dark"] .recognition-result{background:#1e1b30;border-color:#37325a}
html[data-theme="dark"] .song-candidate,html[data-theme="dark"] .recognition-result>p{color:#b7b2cc}
html[data-theme="dark"] .candidate-link,html[data-theme="dark"] .retry-segment button{background:#262238;border-color:#3d3660;color:#cfc7ff}
html[data-theme="dark"] .retry-segment{background:#1c1930;border-color:#3d3660}
html[data-theme="dark"] .retry-head strong{color:#d8d3f0}
html[data-theme="dark"] .hint-wrap{background:#262238;border-color:#4a4372;color:#b7aef5}
html[data-theme="dark"] .hint-wrap::after{background:#e9e6f7;color:#26233c}
html[data-theme="dark"] .step-card{background:#1a1829;border-color:#2b2842}
html[data-theme="dark"] .step-card p,html[data-theme="dark"] .below-heading p{color:#a09bb8}
html[data-theme="dark"] .step-done{background:#22331f;color:#93c98a}
html[data-theme="dark"] .privacy-band{background:#1e1f1c}
html[data-theme="dark"] .privacy-band p{color:#a3a89f}
html[data-theme="dark"] .privacy-band-icon{background:#26342a;color:#8fbd9d}
html[data-theme="dark"] .page-footer{border-color:#2b2842;color:#8f8aa8}
html[data-theme="dark"] .service-dialog{background:#1a1829;border-color:#332e52;color:#eceaf6}
html[data-theme="dark"] .service-dialog>p,html[data-theme="dark"] .dialog-cancel{color:#a8a4bd}
html[data-theme="dark"] .service-dialog .dialog-cancel{background:#262238}
.orb-layer{position:fixed;inset:0;overflow:hidden;pointer-events:none;z-index:0}
html[data-theme="dark"] .feature-chips>span{background:#221f36;border-color:#322d4d;color:#c9c4dd}
html[data-theme="dark"] .studio-status{background:#26233c;color:#c2bcd8}
html[data-theme="dark"] .eyebrow{color:#9d97bb}
html[data-theme="dark"] .hero-copy{color:#b8b3cc}
html[data-theme="dark"] .phase-icon{background:#26233c;color:#b7aef5}
html[data-theme="dark"] .phase-note strong{color:#e6e2f5}
html[data-theme="dark"] .phase-note span{color:#9f9ab8}
html[data-theme="dark"] .section-kicker{color:#a99cf0}
html[data-theme="dark"] .below-heading h2{color:#eceaf6}
html[data-theme="dark"] .step-number{color:#a99cf0}
html[data-theme="dark"] .step-card h3{color:#e7e3f5}
@media (max-width:780px){
  .hint-inline{display:block}
  .hint-wrap{display:none}
  .retry-hint-tip{display:none}
}