/* AI 음원 만들기 — presentation only. Every selector stays inside this page. */
.sg-bg{background:#f6f5f1;position:relative;isolation:isolate}
.sg{--bg:#f6f5f1;--surface:#fff;--text:#202126;--text-sub:#64646b;--muted:#77777e;--line:#e6e5df;--accent:#ffd75b;--accent-weak:#fff9e6;--bad:#c64141;--y1:#fff8df;--y2:#f3e6bc;--font-main:'Pretendard',-apple-system,BlinkMacSystemFont,'Noto Sans KR',sans-serif;--font-mono:'Space Grotesk','Pretendard',sans-serif;max-width:1240px;margin:0 auto;padding:126px 28px 100px;color:var(--text);font-size:15px;line-height:1.6;letter-spacing:-.025em;text-align:left;-webkit-font-smoothing:antialiased}
.sg,.sg *{font-family:var(--font-main)!important}
.sg *,.sg *::before,.sg *::after{box-sizing:border-box}
.sg :is(h1,h2,h3,p){margin:0;color:inherit}
.sg section{text-align:left;display:block;min-width:0;padding:0;margin:0}
.sg button{appearance:none;-webkit-appearance:none;font:inherit;border:0;padding:0;background:none;color:inherit;cursor:pointer}
.sg a{color:inherit;text-decoration:none}
.sg svg{display:inline-block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;vertical-align:middle}
.sg :is(button,a,input,textarea):focus-visible{outline:2px solid #24252a;outline-offset:4px}
.sg .hide{display:none!important}
.sg .sg-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.sg .sg-eyebrow,.sg .sg-brand,.sg .sg-new,.sg .steps b,.sg .sg-step-copy small,.sg .sg-hero-art>span,.sg .sg-panel-number,.sg .rv,.sg .lyr .sec{font-family:var(--font-mono)!important}
.sg .sg-eyebrow{display:block;color:var(--muted);font-size:10px;font-weight:600;line-height:1.4;letter-spacing:.13em}
.sg .muted{color:var(--muted);font-size:13px;line-height:1.6;font-weight:400;letter-spacing:-.02em}

/* Identity and step navigation */
.sg .hero{position:relative;inset:auto;z-index:auto;display:flex;justify-content:space-between;align-items:center;gap:40px;width:auto;height:auto;padding:0;margin:0 0 40px;background:transparent;border:0;box-shadow:none}
.sg .sg-hero-copy{min-width:0}
.sg .badge{display:inline-flex;align-items:center;gap:10px;margin-bottom:20px;font-size:13px;font-weight:600;line-height:1.4;letter-spacing:0;color:var(--text)}
.sg .sg-brand{font-size:15px;font-weight:600;letter-spacing:-.04em}
.sg .badge i{display:block;width:3px;height:3px;border-radius:50%;background:#aaa99f}
.sg .sg-new{margin-left:2px;padding:4px 7px;background:var(--accent);border-radius:4px;font-size:9px;line-height:1;font-weight:700;letter-spacing:.05em}
.sg h1{font-size:clamp(34px,3.4vw,48px);font-weight:650;line-height:1.28;letter-spacing:-.055em;word-break:keep-all}
.sg h1 .hl{font:inherit!important;color:inherit!important;letter-spacing:inherit!important;background:linear-gradient(transparent 73%,#ffd75b 73%,#ffd75b 94%,transparent 94%)!important}
.sg .sub{max-width:570px;font-size:15px;font-weight:400;line-height:1.85;color:var(--text-sub);margin-top:18px;word-break:keep-all}
.sg .sg-hero-art{flex:0 0 262px;text-align:center;transform:rotate(-5deg);margin-right:28px}
.sg .sg-hero-art svg{width:262px;height:169px;stroke:none;filter:drop-shadow(0 10px 12px rgba(70,59,26,.045))}
.sg .sg-hero-art>span{display:block;margin-top:8px;font-size:9px;font-weight:500;letter-spacing:.19em;color:#7c7b72}
.sg .steps{position:static;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;height:auto;padding:7px;margin:0 0 46px;gap:6px;background:#eeede7;border:1px solid #e8e7df;border-radius:18px}
.sg .steps>span{display:flex;align-items:center;justify-content:center;gap:13px;padding:13px 14px;min-width:0;position:relative;border-radius:12px;color:#909087;transition:background .2s,color .2s,box-shadow .2s}
.sg .steps b{font-size:21px;font-weight:400;line-height:1;letter-spacing:-.06em;color:#afaea4}
.sg .sg-step-copy{display:flex;flex-direction:column;gap:3px}
.sg .sg-step-copy small{font-size:8px;line-height:1.25;letter-spacing:.1em;font-weight:500;opacity:.8}
.sg .sg-step-copy strong{font-size:13px;font-weight:600;line-height:1.5;letter-spacing:-.025em}
.sg .steps>span.on{background:var(--surface);color:var(--text);box-shadow:0 2px 6px rgba(39,38,23,.035)}
.sg .steps>span.on b{color:var(--text);position:relative}
.sg .steps>span.on::after{content:"";height:3px;width:22px;border-radius:3px;background:var(--accent);position:absolute;bottom:7px;left:50%;transform:translateX(-50%)}
.sg .steps>span.done,.sg .steps>span.done b{color:#66665e}
.sg:has(#sec1.hide) .hero{margin-bottom:27px}
.sg:has(#sec1.hide) .hero .sub,.sg:has(#sec1.hide) .sg-hero-art{display:none}
.sg:has(#sec1.hide) .hero h1{font-size:26px;line-height:1.5;letter-spacing:-.04em}
.sg:has(#sec1.hide) .hero h1 br{display:none}
.sg:has(#sec1.hide) .badge{margin-bottom:12px}

/* A calm hierarchy shared by all four screens */
.sg .sg-section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:24px}
.sg .sg-section-head .sg-eyebrow{margin-bottom:9px}
.sg .sg-section-head h2{font-size:27px;font-weight:650;line-height:1.4;letter-spacing:-.045em;word-break:keep-all}
.sg .sg-section-head>p{color:var(--muted);font-size:13px;line-height:1.6;text-align:right;padding-bottom:3px;word-break:keep-all}
.sg .grid{display:grid;gap:20px;min-width:0}
.sg .g3{grid-template-columns:repeat(3,minmax(0,1fr))}
.sg .g2{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}
.sg .card{position:relative;display:block;min-width:0;padding:30px;border:1px solid var(--line);border-radius:22px;background:var(--surface);box-shadow:0 3px 8px rgba(38,36,20,.015);text-align:left}
.sg .sg-panel-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}
.sg .sg-panel-head h2{display:flex;align-items:center;gap:9px;font-size:19px;font-weight:650;line-height:1.4;letter-spacing:-.035em;margin:0}
.sg .sg-panel-head p{font-size:12px;line-height:1.6;color:var(--muted);word-break:keep-all}
.sg .sg-panel-head .sg-eyebrow{margin-bottom:7px}
.sg .sg-panel-head>span.sg-eyebrow{margin:0}
.sg .btn{position:static;display:inline-flex;justify-content:center;align-items:center;gap:12px;flex-shrink:0;width:auto;min-height:50px;height:auto;padding:12px 23px;border:1px solid #deded7;border-radius:12px;background:#fff;color:var(--text);font-size:14px;font-weight:650;line-height:1.5;letter-spacing:-.02em;text-decoration:none;white-space:nowrap;transition:background .18s,border-color .18s,box-shadow .18s,transform .18s}
.sg .btn:hover{background:#f5f4ef;border-color:#babbb2;transform:translateY(-1px)}
.sg .btn:active{transform:translateY(0)}
.sg .btn.y{background:var(--accent);border-color:var(--accent);color:#22221b}
.sg .btn.y:hover{background:#ffdf7a;border-color:#ffdf7a;box-shadow:0 4px 14px rgba(216,176,36,.13)}
.sg .btn.k{background:var(--text);border-color:var(--text);color:#fff}
.sg .btn.k:hover{background:#3a3b3f;border-color:#3a3b3f}
.sg .btn.ghost{background:transparent;border-color:var(--line)}
.sg .btn.sm{min-height:34px;padding:7px 12px;gap:6px;font-size:12px;border-radius:8px}
.sg .btn[disabled]{color:#a5a49b;background:#e9e8e1;border-color:#e9e8e1;box-shadow:none;cursor:not-allowed;transform:none;opacity:1}
.sg .btn svg{width:18px;height:18px}
.sg .tag{display:inline-flex;align-items:center;justify-content:center;font-size:10px;font-weight:650;line-height:1.2;color:#fff;background:#292a2f;padding:5px 8px;border-radius:6px;letter-spacing:0;white-space:nowrap}
.sg .tag.y{color:#393021;background:var(--accent)}

/* Source selection */
.sg .pick{display:flex;flex-direction:column;align-items:flex-start;position:relative;min-width:0;min-height:230px;width:100%;padding:26px;background:#fff;border:1px solid var(--line);border-radius:22px;text-align:left;transition:border-color .18s,box-shadow .18s,background .18s,transform .18s}
.sg .pick:hover{border-color:#bbbcb0;transform:translateY(-2px);box-shadow:0 6px 18px rgba(31,32,27,.04)}
.sg .pick.on{background:#fffdf5;border-color:#d4b24b;box-shadow:inset 0 0 0 1px #d4b24b}
.sg .pick .ic{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:12px;background:#f4f3ee;margin-bottom:19px;color:#57584e}
.sg .pick .ic svg{width:23px;height:23px}
.sg .pick.on .ic{background:var(--accent);color:#2d2c23}
.sg .sg-choice-check{position:absolute;right:23px;top:24px;display:flex;align-items:center;justify-content:center;width:20px;height:20px;border:1px solid #ddded6;border-radius:50%;background:#fff}
.sg .sg-choice-check svg{width:12px;height:12px;stroke-width:2;opacity:0}
.sg .pick.on .sg-choice-check{background:#292a25;border-color:#292a25;color:#fff}
.sg .pick.on .sg-choice-check svg{opacity:1}
.sg .sg-pick-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:18px;font-weight:650;line-height:1.4;letter-spacing:-.04em}
.sg .sg-pick-desc{display:block;font-size:13px;font-weight:400;line-height:1.8;color:var(--text-sub);margin-top:9px;word-break:keep-all}
.sg .pick .foot{display:flex;align-items:center;justify-content:space-between;gap:10px;align-self:stretch;margin-top:auto;padding-top:24px;font-size:10px;font-weight:550;color:#818178;letter-spacing:.015em;line-height:1.4}
.sg .pick .foot svg{width:17px;height:17px;color:#78796f}
.sg .sg-duration{display:none;align-items:center;justify-content:space-between;gap:20px;margin-top:20px;padding:24px 30px;background:#fff;border:1px solid var(--line);border-radius:18px}
.sg:has(.pick[data-mode=only].on) .sg-duration{display:flex}
.sg .sg-duration strong{font-size:16px;font-weight:650;line-height:1.5}
.sg .sg-duration p{font-size:13px;color:var(--muted);margin-top:3px}
.sg .lenin{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.sg .lenin input{width:62px;height:46px;min-width:0;padding:0 5px;background:#f9f9f6;border:1px solid #dcddd4;border-radius:10px;color:var(--text);font-size:18px;font-weight:550;text-align:center}
.sg .lenin b{font-size:13px;font-weight:450;margin-right:7px;color:var(--text-sub)}
.sg .lenin .muted{font-size:11px;white-space:nowrap;margin-left:8px}
.sg .sg-source-panel{margin-top:24px}
.sg .vids{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:18px;min-width:0}
.sg .vid{min-width:0;position:relative;background:#fff;border:1px solid var(--line);border-radius:16px;padding:8px;cursor:pointer;transition:border-color .18s,box-shadow .18s,transform .18s}
.sg .vid:hover{border-color:#babcae;transform:translateY(-2px);box-shadow:0 5px 15px rgba(28,30,23,.04)}
.sg .vid.on{border-color:#cfab39;box-shadow:0 0 0 2px rgba(229,193,83,.35)}
.sg .vid .th{position:relative;aspect-ratio:16/10;border-radius:10px;background:#e9e8df center/cover no-repeat;overflow:hidden}
.sg .vid .th .tag{position:absolute;left:10px;top:10px;z-index:1}
.sg .vid .th .sel{display:none;left:auto;right:10px}
.sg .vid.on .th .sel{display:inline-flex}
.sg .vid .t{font-size:14px;font-weight:650;line-height:1.5;margin:13px 7px 5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:-.025em}
.sg .vid .d{font-size:11px;font-weight:400;color:var(--muted);line-height:1.6;margin:0 7px 9px;overflow-wrap:anywhere}
.sg .vids .empty{grid-column:1/-1}
.sg .empty{padding:48px 22px;text-align:center;border:1px dashed #d9dad1;border-radius:14px;background:#fafaf7;color:var(--muted);font-size:14px;line-height:1.8}
.sg .drop{display:flex;flex-direction:column;align-items:center;padding:42px 22px;border:1px dashed #cecec2;border-radius:16px;background:#fafaf6;text-align:center}
.sg .sg-upload-icon{display:flex;align-items:center;justify-content:center;width:56px;height:56px;margin-bottom:17px;border:1px solid #e8e6db;border-radius:17px;background:#fff;color:#7b796b}
.sg .sg-upload-icon svg{width:25px;height:25px}
.sg .drop b{font-size:18px;font-weight:600}
.sg .drop p{margin-top:7px}
.sg .sg-upload-actions{display:flex;flex-direction:column;align-items:center;gap:12px;margin-top:22px;max-width:100%}
.sg #up-name{overflow-wrap:anywhere}
.sg .drop .bar{width:100%;max-width:480px}
.sg .cost{display:flex;justify-content:space-between;align-items:center;gap:20px;min-width:0}
.sg .sg-selection-action{padding:20px 24px;margin-top:20px;background:#eae9e1;border-radius:16px}
.sg .sg-selection-summary{min-width:0}
.sg .sg-selection-summary .sg-eyebrow{font-size:9px;margin-bottom:5px;color:#8a897d}
.sg #pick-info{font-size:14px;color:#737367;word-break:keep-all;overflow-wrap:anywhere}
.sg #pick-info b{font-size:15px;font-weight:600;color:var(--text)}
.sg .sg-library{margin-top:62px;padding-top:34px;border-top:1px solid #ddded5}
.sg .sg-library .sg-panel-head h2{font-size:23px;line-height:1.4}
.sg .sg-library .vids{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}
.sg .mine .th{display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at center,transparent 9%,#c5b88e 9.4%,transparent 9.8%,transparent 24%,#d0c3a0 24.3%,transparent 24.8%,transparent 35%,#d8cdaf 35.3%,transparent 35.8%),linear-gradient(125deg,#f2e9d4,#e5d8b8)}
.sg .mine .th>svg{width:38px;height:38px;color:#635944;stroke-width:1.1}
.sg .mine .acts{display:flex;gap:6px;flex-wrap:wrap;margin:14px 7px 5px;padding-top:12px;border-top:1px solid #eeeee7}
.sg .mine .acts .btn:first-child{margin-right:auto}

/* Story and sound, with an optional full-width production panel */
.sg .sg-story-grid{align-items:stretch}
.sg .sg-panel-number{font-size:12px;font-weight:500;letter-spacing:0;color:#9a998e;margin-right:3px}
.sg .sg-story-grid .sg-panel-head{margin-bottom:6px}
.sg .sg-panel-intro{font-size:13px;line-height:1.7;color:var(--muted);margin-bottom:28px}
.sg .two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;min-width:0}
.sg .f{display:flex;flex-direction:column;gap:10px;min-width:0;margin-bottom:26px}
.sg .f label{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:13px;line-height:1.5;letter-spacing:-.02em;font-weight:600;color:#45463f}
.sg .f .opt{font-size:11px;line-height:1.5;font-weight:400;color:#919287}
.sg input[type=text],.sg textarea{display:block;width:100%;min-width:0;height:auto;margin:0;padding:14px 15px;border:1px solid #ddded5;border-radius:11px;background:#fcfcfa;color:#292a25;font-size:15px;font-weight:400;letter-spacing:-.02em;line-height:1.7;box-shadow:none;transition:border-color .18s,background .18s}
.sg input[type=text]{min-height:50px}
.sg input::placeholder,.sg textarea::placeholder{color:#a0a196;opacity:1;font-size:14px;font-weight:400}
.sg input[type=text]:focus,.sg textarea:focus{background:#fff;border-color:#adac9a;outline-color:#d9bc58}
.sg textarea{min-height:196px;resize:vertical}
.sg #pro-lyrics{min-height:146px}
.sg .sg-field-help{font-size:11px;color:#898a7e;line-height:1.8;word-break:keep-all}
.sg .sg-story-note{display:flex;align-items:center;gap:10px;border-top:1px solid #eeeee6;margin-top:3px;padding-top:20px;color:#8b8876;font-size:12px;line-height:1.6}
.sg .sg-story-note svg{width:18px;height:18px;color:#ad994e}
.sg .chips{display:flex;flex-wrap:wrap;gap:8px}
.sg .chip{display:inline-flex;justify-content:center;align-items:center;min-height:40px;padding:9px 15px;border:1px solid #e0e1d9;border-radius:9px;background:#fff;color:#686a5f;font-size:12px;font-weight:500;line-height:1.6;letter-spacing:-.025em;cursor:pointer;transition:color .18s,background .18s,border-color .18s}
.sg .chip:hover{border-color:#a6a896;background:#fafaf5}
.sg .chip.on{background:#292b25;border-color:#292b25;color:#fff;font-weight:550}
.sg #voice .chip{min-width:76px}
.sg .pro-toggle{display:flex;align-items:center;justify-content:space-between;gap:18px;width:100%;margin-top:8px;padding:18px;border:1px solid #e8e7da;border-radius:14px;background:#f8f7f0;text-align:left}
.sg .pro-toggle:hover{border-color:#c9c4ab}
.sg .pro-toggle .t{display:flex;align-items:center;gap:12px;min-width:0}
.sg .pro-toggle .t>svg{width:20px;height:20px;color:#8c8772}
.sg .pro-toggle strong{display:block;font-size:13px;font-weight:650;line-height:1.6}
.sg .pro-toggle small{display:block;font-size:11px;color:#909081;font-weight:400;line-height:1.6;margin-top:2px}
.sg .tg{position:relative;display:block;flex:0 0 38px;width:38px;height:23px;border-radius:20px;background:#d9d9ce;transition:background .18s}
.sg .tg::after{content:"";position:absolute;top:3px;left:3px;width:17px;height:17px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0001;transition:transform .18s}
.sg .pro-toggle.on .tg{background:#292b25}
.sg .pro-toggle.on .tg::after{transform:translateX(15px)}
.sg .pro{padding:30px 32px;margin-top:22px;border:1px solid #ddd5b5;border-radius:22px;background:#fffdf5}
.sg .pro .sg-panel-head{padding-bottom:22px;border-bottom:1px solid #ece5cf;margin-bottom:26px}
.sg .pro .two{gap:36px}
.sg .pro .f:last-child{margin-bottom:0}
.sg .pro>.two+.two,.sg .pro>.f+.two{margin-top:24px}
.sg .pro>.two+.f{margin-top:24px}
.sg .range{display:flex;align-items:center;gap:20px;min-height:40px}
.sg .range input{min-width:0;flex:1;height:6px;accent-color:#b3973c}
.sg .rv{font-size:13px;color:#8a7537;font-weight:600;min-width:36px;text-align:right;letter-spacing:0}
.sg .sg-story-action{padding-top:26px;margin-top:28px;border-top:1px solid #dcddd4}
.sg .sg-make-action{display:flex;align-items:center;gap:24px}
.sg .sg-price{text-align:right}
.sg .sg-price strong{display:block;font-size:16px;font-weight:600;line-height:1.5;letter-spacing:-.035em}
.sg .sg-price strong span{font-size:12px;font-weight:400;color:var(--text-sub)}
.sg .sg-price small{display:block;color:#898a7d;font-size:10px;line-height:1.6;margin-top:2px}
.sg .note{font-size:11px;line-height:1.8;color:#8a8c7f;word-break:keep-all;margin-top:16px}
.sg .sg-action-note{text-align:right;margin-top:13px}

/* Progress: the only meter is driven by the existing status response */
.sg section.sg-progress-card{max-width:700px;margin:0 auto;padding:42px 48px 34px;text-align:center}
.sg .sg-progress-card>.sg-eyebrow{color:#8e8b7c;font-size:10px}
.sg .sg-record{display:flex;align-items:center;justify-content:center;width:112px;height:112px;margin:26px auto;border-radius:50%;background:repeating-radial-gradient(circle at center,#30312f 0,#30312f 5px,#3b3c39 6px,#30312f 7px);box-shadow:0 7px 16px #35322216;animation:sg-turn 16s linear infinite}
.sg .sg-record>span{display:flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:50%;background:var(--accent);color:#403b28}
.sg .sg-record svg{width:22px;height:22px;stroke-width:1.5}
@keyframes sg-turn{to{transform:rotate(360deg)}}
.sg .sg-progress-card h2{display:block;font-size:23px;font-weight:600;line-height:1.5;letter-spacing:-.04em;word-break:keep-all;margin:0}
.sg .sg-progress-copy{color:#949488;font-size:12px;line-height:1.8;margin-top:9px}
.sg .bar{height:5px;border-radius:10px;background:#eeeee6;overflow:hidden;margin-top:24px}
.sg .bar i{display:block;width:0;height:100%;border-radius:inherit;background:var(--accent);transition:width .6s ease}
.sg .stage{display:flex;flex-direction:column;gap:3px;text-align:left;margin:22px 0 0}
.sg .stage .s{display:flex;align-items:center;gap:14px;min-height:55px;padding:12px 15px;color:#858678;font-size:13px;font-weight:450;line-height:1.5;border:1px solid transparent;border-radius:11px}
.sg .stage .s small{font-size:11px;color:#a5a597;margin-left:4px;white-space:nowrap}
.sg .stage .dot{display:flex;align-items:center;justify-content:center;flex:0 0 25px;width:25px;height:25px;border:1px solid #dedfd5;border-radius:50%;font-size:11px;font-weight:500;line-height:1;background:#fafaf7;color:#999b8c}
.sg .stage .s.now{background:#fff9e6;border-color:#eee3ba;color:#5f5539;font-weight:600}
.sg .stage .s.now .dot{border-color:#f0ce69;background:var(--accent);color:#524826}
.sg .stage .s.done{color:#595e4e}
.sg .stage .s.done .dot{position:relative;background:#3e4436;border-color:#3e4436;font-size:0;color:#fff}
.sg .stage .s.done .dot::after{content:"";width:8px;height:4px;border-bottom:1.5px solid currentColor;border-left:1.5px solid currentColor;transform:rotate(-45deg) translateY(-1px)}
.sg .sg-progress-note{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:6px;border-top:1px solid #edede4;padding-top:24px;margin-top:22px;font-size:11px;line-height:1.9;color:#929384}
.sg .sg-progress-note svg{width:15px;height:15px;margin-top:3px;color:#929384}
.sg .sg-progress-time{display:inline-flex;align-items:center;justify-content:center;gap:6px;max-width:100%;font-size:14px;line-height:1.6}
.sg .sg-progress-time>span{font-size:inherit;line-height:inherit}
.sg .sg-progress-note .sg-progress-time svg{margin:0}
.sg .sg-progress-resume{font-size:12px;line-height:1.8;text-align:center}
.sg .err{padding:14px 16px;margin-top:20px;border:1px solid #eed1cb;border-radius:12px;background:#fff4f0;color:#a64f41;font-size:13px;line-height:1.8;text-align:left}

/* Finished song */
.sg .sg-result-grid{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);align-items:start;gap:24px}
.sg .sg-result-left{display:grid;gap:22px;min-width:0}
.sg .sg-player-card{padding:20px}
.sg .sg-player-label{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:4px 3px 19px}
.sg .sg-player-label .sg-eyebrow{font-size:9px;letter-spacing:.1em}
.sg .sg-ready{display:inline-flex;align-items:center;gap:5px;color:#888878;font-size:10px;white-space:nowrap}
.sg .sg-ready i{width:4px;height:4px;border-radius:50%;background:#a7a88d}
.sg #out-media{overflow:hidden;border-radius:13px;background:#f5f2e9}
.sg video,.sg audio{display:block;width:100%;max-width:100%}
.sg #out-media video{aspect-ratio:16/9;background:#202126;object-fit:contain}
.sg #out-media>div{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;min-height:280px;padding:36px 24px!important;border-radius:13px!important}
.sg #out-media>div>div{font-size:21px;letter-spacing:-.04em}
.sg audio{height:50px;accent-color:#bd9b28}
.sg .sg-track-info{padding:23px 4px 24px}
.sg .out-title{font-size:23px;font-weight:650;line-height:1.4;letter-spacing:-.04em;word-break:keep-all}
.sg #out-meta{font-size:12px;margin-top:6px;color:#919083}
.sg .sg-downloads{display:flex;gap:10px}
.sg .sg-downloads .btn{flex:1;padding:12px 14px;min-width:0;font-size:13px}
.sg .sg-production-card{padding:26px 29px}
.sg .sg-production-card .sg-panel-head{margin-bottom:13px}
.sg .sg-production-card h2{font-size:15px;font-weight:600}
.sg .sg-production-card h2 svg{width:18px;height:18px;color:#9c946e}
.sg .sg-how{display:block!important;font-size:12px;color:#858574;line-height:2.05;letter-spacing:-.025em;overflow-wrap:anywhere}
.sg .sg-how b{color:#484d3d;font-weight:600}
.sg .sg-lyrics-card{padding:27px}
.sg .sg-lyrics-card h2{font-size:17px}
.sg .lyr{max-height:590px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#d8d6c8 transparent;border-radius:13px;background:#f8f8f3;padding:15px 24px 25px}
.sg .lyr .sec{color:#a1a190;font-size:9px;font-weight:500;line-height:1.4;letter-spacing:.13em;text-transform:uppercase;padding-top:24px;margin:0 0 12px}
.sg .lyr .sec:first-child{padding-top:9px}
.sg .lyr .ln{color:#5d604f;font-size:14px;font-weight:450;line-height:2.1;letter-spacing:-.025em;word-break:keep-all;overflow-wrap:anywhere}
.sg .lyr .ln em{font-style:normal;color:#35392d;font-weight:650;background:linear-gradient(transparent 60%,#ffe699 60%)}
.sg .sg-result-actions{padding-top:25px;margin-top:28px;border-top:1px solid #dcddd4}
.sg .sg-result-actions>div{display:flex;gap:10px;flex-wrap:wrap}

@media(min-width:1600px){.sg{padding-top:144px}}
@media(max-width:1100px){.sg{padding-top:116px}.sg .sg-hero-art{flex-basis:210px;margin-right:0}.sg .sg-hero-art svg{width:210px;height:135px}.sg .pick{padding:22px}.sg .sg-pick-title{font-size:16px}.sg .sg-choice-check{right:19px;top:21px}.sg .sg-section-head h2{font-size:24px}.sg .sg-section-head>p{max-width:230px}.sg .card{padding:24px}.sg .sg-player-card{padding:17px}.sg .sg-story-grid{grid-template-columns:1fr 1fr;gap:18px}.sg .two{gap:14px}.sg .chip{padding:9px 12px}.sg .sg-story-note{align-items:flex-start}.sg .sg-panel-intro{min-height:44px}.sg .sg-result-grid{grid-template-columns:1.15fr 1fr;gap:18px}.sg .lyr{padding:12px 17px 23px}}
@media(max-width:800px){.sg{padding:108px 22px 72px}.sg .hero{margin-bottom:28px;gap:15px}.sg h1{font-size:36px}.sg .sub{font-size:13px}.sg .sg-hero-art{flex-basis:166px}.sg .sg-hero-art svg{width:166px;height:107px}.sg .sg-hero-art>span{font-size:7px}.sg .steps{margin-bottom:34px;padding:6px;gap:3px;border-radius:15px}.sg .steps>span{gap:8px;padding:12px 7px}.sg .steps b{font-size:17px}.sg .sg-step-copy small{font-size:7px}.sg .sg-step-copy strong{font-size:12px}.sg .sg-section-head{gap:12px;margin-bottom:20px}.sg .sg-section-head h2{font-size:22px}.sg .sg-section-head>p{font-size:12px;max-width:195px}.sg .g3{gap:12px}.sg .pick{padding:18px;min-height:234px;border-radius:17px}.sg .pick .ic{width:37px;height:37px;margin-bottom:17px}.sg .sg-choice-check{width:16px;height:16px;top:18px;right:16px}.sg .sg-choice-check svg{width:10px;height:10px}.sg .sg-pick-title{font-size:15px;gap:5px}.sg .sg-pick-desc{font-size:12px;line-height:1.7}.sg .tag{font-size:9px;padding:4px 6px}.sg .pick .foot{font-size:9px}.sg .pick .foot svg{width:14px;height:14px}.sg .sg-story-grid,.sg .sg-result-grid{grid-template-columns:1fr}.sg .sg-panel-intro{min-height:0;margin-bottom:25px}.sg .sg-style-panel .f{margin-bottom:22px}.sg .sg-style-panel .chips{gap:9px}.sg .chip{font-size:13px;min-height:42px}.sg .sg-style-panel .pro-toggle{margin-top:24px}.sg .pro{padding:26px}.sg .pro .two{gap:24px}.sg .lyr{max-height:450px;padding:15px 24px 25px}.sg .sg-result-actions{align-items:flex-start}.sg .sg-result-actions>div{justify-content:flex-end}.sg .sg-result-actions>.muted{max-width:180px;font-size:12px}.sg section.sg-progress-card{padding:36px 34px 28px}}
@media(max-width:580px){.sg{padding:98px 20px 62px}.sg .hero{display:block;margin-bottom:29px}.sg .badge{font-size:11px;gap:8px;margin-bottom:17px}.sg .sg-brand{font-size:13px}.sg .sg-new{font-size:8px;padding:4px 6px}.sg h1{font-size:31px;line-height:1.32;letter-spacing:-.06em}.sg .sub{font-size:12px;line-height:1.85;margin-top:15px;max-width:350px}.sg .sg-desktop-break{display:none}.sg .sg-hero-art{display:none}.sg .steps{gap:2px;margin-bottom:31px;padding:5px;border-radius:13px}.sg .steps>span{flex-direction:column;gap:7px;padding:12px 3px 15px;border-radius:9px}.sg .steps b{font-size:16px}.sg .sg-step-copy small{display:none}.sg .sg-step-copy strong{font-size:10px;font-weight:550;white-space:nowrap;letter-spacing:-.04em}.sg .steps>span.on::after{bottom:6px;width:15px;height:2px}.sg .sg-section-head{display:block;margin-bottom:18px}.sg .sg-eyebrow{font-size:8px;letter-spacing:.11em}.sg .sg-section-head .sg-eyebrow{margin-bottom:8px}.sg .sg-section-head h2{font-size:21px;line-height:1.45;letter-spacing:-.04em}.sg .sg-section-head>p{max-width:none;padding:0;text-align:left;margin-top:7px;font-size:11px;line-height:1.7}.sg .g3{grid-template-columns:1fr;gap:10px}.sg .pick{display:grid;grid-template-columns:44px minmax(0,1fr);column-gap:14px;row-gap:0;min-height:0;padding:19px 18px;border-radius:16px}.sg .pick .ic{grid-column:1;grid-row:1/4;width:42px;height:42px;border-radius:12px;margin:1px 0 0}.sg .sg-pick-title{grid-column:2;padding-right:16px;font-size:15px;line-height:1.5;gap:7px}.sg .sg-pick-desc{grid-column:2;font-size:11px;line-height:1.65;margin-top:5px}.sg .sg-pick-desc br{display:none}.sg .pick .foot{grid-column:2;line-height:1.4;font-size:9px;padding-top:12px;margin:0;letter-spacing:0}.sg .pick .foot svg{display:none}.sg .sg-choice-check{right:16px;top:23px;width:15px;height:15px}.sg .sg-choice-check svg{width:9px;height:9px}.sg .card{padding:22px 18px;border-radius:18px}.sg .sg-source-panel{margin-top:20px}.sg .sg-panel-head{align-items:flex-start;gap:7px;flex-direction:column;margin-bottom:18px}.sg .sg-panel-head h2{font-size:17px}.sg .sg-panel-head p{font-size:10px;line-height:1.6}.sg .vids{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.sg .vid{padding:5px;border-radius:12px}.sg .vid .th{aspect-ratio:4/3;border-radius:8px}.sg .vid .th .tag{font-size:8px;padding:4px 5px;left:6px;top:6px;border-radius:4px}.sg .vid .th .sel{right:6px;left:auto}.sg .vid .t{font-size:12px;margin:10px 4px 4px}.sg .vid .d{font-size:9px;margin:0 4px 6px}.sg .sg-selection-action{align-items:stretch;flex-direction:column;padding:17px 18px;gap:17px;margin-top:15px;border-radius:14px}.sg .sg-selection-summary .sg-eyebrow{font-size:8px}.sg #pick-info{font-size:12px}.sg #pick-info b{font-size:13px}.sg #pick-info .muted{font-size:10px}.sg .btn{min-height:49px;padding:12px 18px;font-size:13px;border-radius:10px}.sg #btn-next1{width:100%;justify-content:space-between}.sg .sg-library{margin-top:42px;padding-top:27px}.sg .sg-library .sg-panel-head{gap:9px;margin-bottom:19px}.sg .sg-library .sg-panel-head h2{font-size:21px}.sg .sg-library .vids{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.sg .mine .acts{gap:5px;margin:11px 4px 4px;padding-top:10px}.sg .mine .acts .btn{min-height:31px;padding:6px 8px;font-size:9px;border-radius:6px}.sg .mine .acts .btn:first-child{width:100%;margin:0}.sg .empty{font-size:12px;padding:31px 15px;line-height:1.85}.sg .sg-duration{flex-direction:column;align-items:flex-start;padding:21px 20px;gap:18px}.sg .sg-duration strong{font-size:14px}.sg .sg-duration p{font-size:11px}.sg .lenin{gap:7px;width:100%}.sg .lenin input{width:54px;height:44px;font-size:17px}.sg .lenin b{margin-right:3px;font-size:12px}.sg .lenin .muted{font-size:10px;margin-left:auto}.sg .drop{padding:29px 14px}.sg .drop b{font-size:15px}.sg .drop p{font-size:11px}.sg .sg-upload-icon{width:48px;height:48px;margin-bottom:15px}.sg .note{font-size:10px;line-height:1.85;margin-top:13px}.sg .sg-story-grid{gap:16px}.sg .sg-story-grid .card{padding:24px 21px}.sg .sg-panel-intro{font-size:11px;margin-bottom:24px}.sg .sg-panel-number{font-size:10px}.sg .two{gap:14px}.sg .f{gap:9px;margin-bottom:23px}.sg .f label{font-size:12px;gap:6px}.sg .f .opt{font-size:10px}.sg input[type=text],.sg textarea{font-size:16px;line-height:1.7;padding:12px 13px;border-radius:9px}.sg input[type=text]{min-height:49px}.sg input::placeholder,.sg textarea::placeholder{font-size:12px}.sg textarea{min-height:204px}.sg .sg-field-help{font-size:10px;line-height:1.8}.sg .sg-story-note{font-size:10px;gap:8px;padding-top:17px}.sg .sg-story-note svg{width:16px;height:16px}.sg .chip{min-height:40px;padding:9px 12px;font-size:11px;border-radius:8px}.sg #voice .chip{min-width:66px}.sg .pro-toggle{padding:15px 12px;gap:9px;border-radius:12px}.sg .pro-toggle .t{gap:9px}.sg .pro-toggle .t>svg{width:17px;height:17px}.sg .pro-toggle strong{font-size:12px}.sg .pro-toggle small{font-size:9px}.sg .pro{padding:23px 21px;border-radius:18px;margin-top:16px}.sg .pro .sg-panel-head{padding-bottom:18px;margin-bottom:22px}.sg .pro .sg-panel-head h2{font-size:17px;word-break:keep-all}.sg .pro .two{grid-template-columns:1fr;gap:0}.sg .pro .two>.f{margin-bottom:22px}.sg .pro .two>.f:last-child{margin-bottom:0}.sg .pro>.two+.two,.sg .pro>.f+.two,.sg .pro>.two+.f{margin-top:22px}.sg .sg-story-action{align-items:flex-end;gap:12px;margin-top:23px;padding-top:20px}.sg .sg-story-action>.btn{padding:12px 13px;font-size:12px}.sg .sg-story-action>.btn svg{width:15px;height:15px}.sg .sg-make-action{flex-direction:column;align-items:flex-end;gap:12px}.sg .sg-price strong{font-size:15px}.sg .sg-price strong span{font-size:11px}.sg .sg-price small{font-size:9px}.sg .sg-make-action>.btn{padding:12px 20px;gap:22px}.sg .sg-action-note{text-align:right;font-size:9px}.sg section.sg-progress-card{padding:28px 20px 25px;border-radius:20px}.sg .sg-progress-card>.sg-eyebrow{font-size:8px}.sg .sg-record{width:96px;height:96px;margin:25px auto}.sg .sg-record>span{width:39px;height:39px}.sg .sg-record svg{width:20px;height:20px}.sg .sg-progress-card h2{font-size:19px;line-height:1.5}.sg .sg-progress-copy{font-size:10px;margin-top:9px}.sg .stage{margin-top:20px;gap:3px}.sg .stage .s{font-size:11px;gap:10px;padding:12px 9px;min-height:52px}.sg .stage .dot{width:22px;height:22px;flex-basis:22px;font-size:10px}.sg .stage .s small{display:block;font-size:9px;margin-left:0;margin-top:3px}.sg .sg-progress-note{padding-top:20px;margin-top:18px;font-size:9px;gap:6px}.sg .sg-progress-note svg{width:13px;height:13px;margin-top:2px}.sg .sg-result-grid{gap:18px}.sg .sg-result-left{gap:16px}.sg .sg-player-card{padding:14px}.sg .sg-player-label{gap:8px;padding:3px 2px 15px}.sg .sg-player-label .sg-eyebrow{font-size:8px;letter-spacing:.065em}.sg .sg-ready{font-size:8px;gap:4px}.sg #out-media{border-radius:10px}.sg #out-media>div{min-height:240px;padding:30px 15px!important}.sg #out-media>div>div{font-size:18px}.sg .sg-track-info{padding:20px 4px}.sg .out-title{font-size:21px}.sg #out-meta{font-size:11px}.sg .sg-downloads{gap:8px}.sg .sg-downloads .btn{min-height:47px;font-size:11px;padding:11px 10px;gap:8px}.sg .sg-downloads .btn svg{width:16px;height:16px}.sg .sg-production-card{padding:23px 22px}.sg .sg-production-card .sg-panel-head{margin-bottom:12px}.sg .sg-production-card h2{font-size:14px}.sg .sg-how{font-size:11px;line-height:2}.sg .sg-lyrics-card{padding:23px 21px}.sg .sg-lyrics-card .sg-panel-head{flex-direction:row;align-items:center}.sg .sg-lyrics-card h2{font-size:16px}.sg .lyr{padding:13px 18px 23px;max-height:440px}.sg .lyr .ln{font-size:13px;line-height:2.1}.sg .lyr .sec{font-size:8px}.sg .sg-result-actions{display:block;padding-top:20px;margin-top:23px}.sg .sg-result-actions>.muted{max-width:none;font-size:11px}.sg .sg-result-actions>div{display:flex;justify-content:stretch;margin-top:17px;gap:8px}.sg .sg-result-actions .btn{font-size:11px;padding:12px 13px;flex:1}.sg .sg-result-actions .btn svg{width:15px;height:15px}}
@media(max-width:359px){.sg{padding-left:16px;padding-right:16px}.sg h1{font-size:28px}.sg .sg-step-copy strong{font-size:9px}.sg .pick{padding:17px 14px;grid-template-columns:36px minmax(0,1fr);gap:0 11px}.sg .pick .ic{width:35px;height:35px;border-radius:10px}.sg .sg-pick-title{font-size:13px}.sg .sg-choice-check{right:12px;top:22px;width:13px;height:13px}.sg .sg-source-panel{padding:20px 14px}.sg .sg-library .vids{gap:8px}.sg .sg-story-grid .card,.sg .pro{padding:22px 17px}.sg .two{gap:10px}.sg .f label{font-size:11px}.sg .chip{padding:8px 10px;font-size:10px}.sg .sg-player-label .sg-eyebrow{font-size:7px}.sg .sg-ready{font-size:7px}.sg .sg-result-actions .btn{font-size:10px;padding:11px 9px}}
/* Keep supporting Korean copy readable, especially on a phone. */
.sg .sg-field-help,.sg .note{font-size:12px;color:#797b6f}
.sg .chip{font-size:13px}
@media(max-width:580px){.sg .sub{font-size:13px}.sg .sg-step-copy strong{font-size:11px}.sg .sg-pick-desc{font-size:12px}.sg .pick .foot{font-size:10px}.sg .sg-panel-head p,.sg .sg-section-head>p{font-size:12px}.sg .sg-panel-intro{font-size:12px}.sg .sg-field-help,.sg .note{font-size:11px}.sg .chip{font-size:12px;min-height:44px}.sg .f label{font-size:13px}.sg .sg-downloads .btn{font-size:12px}.sg .sg-how{font-size:12px}.sg .stage .s{font-size:12px}.sg .sg-progress-copy{font-size:11px}.sg .sg-result-actions .btn{font-size:12px}.sg .sg-result-actions>.muted{font-size:12px}.sg .pro-toggle small{font-size:10px}}

/* Professional production: presentation of the existing controls. */
.sg .pro-toggle{padding:19px 18px;border:1px solid #41434d;background:linear-gradient(115deg,#292b33,#202127);box-shadow:0 5px 13px #1b1c2410;color:#f8f7f1}
.sg .pro-toggle:hover{border-color:#8c7b48;background:#2b2d35}
.sg .pro-toggle .t{gap:12px}
.sg .pro-toggle .sg-pro-icon{display:flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;border:1px solid #55513e;border-radius:11px;background:#ffd75b12;color:#ffdc72}
.sg .pro-toggle .sg-pro-icon svg{width:24px;height:24px}
.sg .pro-toggle strong{display:flex;align-items:center;gap:7px;font-size:14px;color:#faf9f4}
.sg .pro-toggle .sg-pro-mark{font-family:var(--font-mono)!important;font-size:9px;font-weight:600;line-height:1;padding:4px 5px;border-radius:4px;background:#ffd75b;color:#25262c;letter-spacing:.04em}
.sg .pro-toggle small{font-size:11px;color:#bfc0c8;margin-top:4px}
.sg .pro-toggle .tg{background:#545660}
.sg .pro-toggle.on{border-color:#c1a451;box-shadow:0 0 0 1px #ffd75b22,0 5px 13px #1b1c2410}
.sg .pro-toggle.on .tg{background:#ffd75b}
.sg .pro-toggle.on .tg::after{background:#292b33}
.sg .pro-toggle:focus-visible{outline-color:#bd9d37}

.sg #pro{--studio-text:#f7f6f1;--studio-muted:#b8bbc5;--studio-line:#444650;--studio-accent:#ffdb70;padding:32px;margin-top:24px;border:1px solid #3d3f49;border-radius:24px;background:linear-gradient(145deg,#25272f,#1c1e24);box-shadow:0 16px 36px #1c1d2612;color:var(--studio-text);text-align:left}
.sg #pro .sg-studio-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 2px 27px;margin-bottom:24px;border-bottom:1px solid #45464e}
.sg #pro .sg-studio-kicker,.sg #pro .sg-studio-caption,.sg #pro .sg-studio-channel{font-family:var(--font-mono)!important}
.sg #pro .sg-studio-kicker{display:block;color:var(--studio-accent);font-size:10px;font-weight:500;letter-spacing:.14em;line-height:1.5;margin-bottom:9px}
.sg #pro h2{color:var(--studio-text);font-size:26px;font-weight:650;line-height:1.4;letter-spacing:-.04em;margin:0}
.sg #pro .sg-studio-heading p{font-size:13px;line-height:1.8;color:var(--studio-muted);margin-top:9px;word-break:keep-all}
.sg #pro .sg-studio-emblem{display:flex;align-items:center;justify-content:center;flex:0 0 70px;width:70px;height:70px;border:1px solid #665e42;border-radius:18px;background:#ffd75b0a;color:var(--studio-accent)}
.sg #pro .sg-studio-emblem svg{width:36px;height:36px;stroke-width:1.3}
.sg #pro .sg-studio-emblem svg rect{fill:#25272f}
.sg #pro .sg-studio-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:stretch}
.sg #pro .sg-studio-module{min-width:0;padding:25px;border:1px solid #454750;border-radius:17px;background:#2d2f38;box-shadow:inset 0 1px #ffffff03}
.sg #pro .sg-studio-module-head{display:flex;align-items:center;gap:12px;margin-bottom:25px}
.sg #pro .sg-studio-channel{display:flex;align-items:center;justify-content:center;flex:0 0 35px;width:35px;height:35px;border:1px solid #555344;border-radius:9px;background:#ffdb700c;color:var(--studio-accent);font-size:12px;line-height:1;font-weight:500;letter-spacing:0}
.sg #pro .sg-studio-caption{display:block;color:#a6aab8;font-size:9px;font-weight:500;line-height:1.3;letter-spacing:.13em;margin-bottom:4px}
.sg #pro h3{font-size:17px;font-weight:600;line-height:1.5;letter-spacing:-.025em;color:var(--studio-text);margin:0}
.sg #pro .sg-studio-fields{display:grid;gap:24px;min-width:0}
.sg #pro .f{margin:0;gap:10px;min-width:0}
.sg #pro .f label{font-size:13px;font-weight:500;color:#e2e3e9;gap:8px}
.sg #pro .f .opt{font-size:11px;line-height:1.5;color:#b2b6c3;font-weight:400}
.sg #pro .chips{gap:7px}
.sg #pro .chip{min-height:42px;padding:10px 15px;border:1px solid #575a66;border-radius:9px;background:#272931;color:#d5d8e2;font-size:13px;font-weight:450;line-height:1.6;white-space:normal;word-break:keep-all}
.sg #pro .chip:hover{border-color:#c7ad65;background:#383a43;color:#fff}
.sg #pro .chip.on{background:#ffda68;border-color:#ffda68;box-shadow:0 2px 8px #00000012;color:#25252b;font-weight:600}
.sg #pro #pro-tempo,.sg #pro #pro-key{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:5px;border:1px solid #484b56;border-radius:12px;background:#22242b}
.sg #pro #pro-tempo .chip,.sg #pro #pro-key .chip{padding:9px 6px;border-color:transparent;background:transparent;color:#d3d6e1;min-height:40px}
.sg #pro #pro-tempo .chip:hover,.sg #pro #pro-key .chip:hover{background:#333641}
.sg #pro #pro-tempo .chip.on,.sg #pro #pro-key .chip.on{background:#ffda68;color:#25252b;box-shadow:0 2px 5px #0002}
.sg #pro #pro-ins{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.sg #pro #pro-ins .chip{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-width:0;min-height:92px;padding:14px 7px 12px;border-radius:11px;text-align:center}
.sg #pro #pro-ins .chip svg{display:block;width:24px;height:24px;stroke-width:1.45;color:#bfc3d0}
.sg #pro #pro-ins .chip span{display:block;max-width:100%;font-size:12px;line-height:1.5;font-weight:inherit;color:inherit;word-break:keep-all}
.sg #pro #pro-ins .chip.on svg{color:#393526}
.sg #pro #pro-ins .chip.on::after{content:"";position:absolute;right:8px;top:8px;width:7px;height:4px;border-left:1.5px solid #454028;border-bottom:1.5px solid #454028;transform:rotate(-45deg)}
.sg #pro #pro-tone .chip{flex:1;padding-left:9px;padding-right:9px;white-space:nowrap}
.sg #pro .sg-studio-control-head{display:flex;align-items:center;justify-content:space-between;gap:14px}
.sg #pro .rv{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-width:64px;padding:5px 10px;border:1px solid #5f5840;border-radius:7px;background:#23252c;color:var(--studio-accent);font-size:18px;font-weight:500;line-height:1.5;letter-spacing:0;text-align:center}
.sg #pro .sg-studio-timeline{padding:15px 16px 11px;border:1px solid #484b56;border-radius:10px;background:#22242b}
.sg #pro .range{display:flex;align-items:center;min-height:28px;gap:0}
.sg #pro .range input{display:block;appearance:none;-webkit-appearance:none;width:100%;height:25px;min-height:0;padding:0;margin:0;background:transparent;border:0;border-radius:0;cursor:pointer;accent-color:#ffda68}
.sg #pro .range input::-webkit-slider-runnable-track{height:5px;border-radius:10px;background:#585d6a}
.sg #pro .range input::-webkit-slider-thumb{-webkit-appearance:none;width:13px;height:23px;margin-top:-9px;border:3px solid #ffda68;border-radius:4px;background:#ffe599;box-shadow:0 2px 5px #0003}
.sg #pro .range input::-moz-range-track{height:5px;border-radius:10px;background:#585d6a}
.sg #pro .range input::-moz-range-thumb{width:8px;height:18px;border:3px solid #ffda68;border-radius:4px;background:#ffe599;box-shadow:0 2px 5px #0003}
.sg #pro .sg-studio-ruler{display:flex;align-items:center;gap:10px;margin-top:5px;color:#a6acbc}
.sg #pro .sg-studio-ruler span{font-size:10px;line-height:1.5;color:inherit}
.sg #pro .sg-studio-ruler i{flex:1;height:5px;background:repeating-linear-gradient(90deg,#626775 0,#626775 1px,transparent 1px,transparent 12px)}
.sg #pro .sg-field-help{font-size:12px;line-height:1.8;color:var(--studio-muted)}
.sg #pro input[type=text],.sg #pro textarea{padding:13px 15px;border:1px solid #545866;border-radius:10px;background:#23252d;color:#f6f6f1;font-size:15px;line-height:1.7;box-shadow:inset 0 1px 4px #00000008}
.sg #pro input[type=text]{min-height:50px}
.sg #pro input::placeholder,.sg #pro textarea::placeholder{font-size:13px;line-height:1.8;color:#aab0bf;opacity:1}
.sg #pro input[type=text]:focus,.sg #pro textarea:focus{background:#272931;border-color:#c8ad5c}
.sg #pro :is(button,input,textarea):focus-visible{outline:2px solid #ffda68;outline-offset:3px}
.sg #pro .sg-studio-lyrics{grid-column:1/-1}
.sg #pro #pro-lyrics{min-height:185px;padding:17px 19px;font-size:15px;line-height:1.9;resize:vertical}

@media(max-width:1100px){.sg #pro{padding:26px}.sg #pro .sg-studio-module{padding:21px}.sg #pro #pro-ins{gap:6px}.sg #pro #pro-ins .chip{padding-left:5px;padding-right:5px}.sg #pro #pro-tone{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.sg #pro #pro-key .chip{font-size:12px}}
@media(max-width:800px){.sg #pro{padding:24px}.sg #pro .sg-studio-grid{grid-template-columns:1fr;gap:16px}.sg #pro .sg-studio-module{padding:24px}.sg #pro #pro-ins{gap:10px}.sg #pro #pro-tone{grid-template-columns:repeat(4,minmax(0,1fr))}.sg #pro .sg-studio-lyrics{grid-column:auto}}
@media(max-width:580px){.sg .pro-toggle{padding:17px 13px;gap:10px}.sg .pro-toggle .t{gap:10px}.sg .pro-toggle .sg-pro-icon{width:35px;height:35px;flex-basis:35px;border-radius:9px}.sg .pro-toggle .sg-pro-icon svg{width:21px;height:21px}.sg .pro-toggle strong{font-size:13px;gap:6px}.sg .pro-toggle small{font-size:10px}.sg .pro-toggle .sg-pro-mark{font-size:8px;padding:3px 4px}.sg #pro{padding:19px 15px;margin-top:18px;border-radius:18px}.sg #pro .sg-studio-heading{gap:12px;padding:2px 3px 23px;margin-bottom:17px;align-items:flex-start}.sg #pro .sg-studio-kicker{font-size:8px;letter-spacing:.09em;margin-bottom:9px}.sg #pro h2{font-size:23px}.sg #pro .sg-studio-heading p{font-size:12px;line-height:1.8;margin-top:9px}.sg #pro .sg-studio-emblem{width:42px;height:42px;flex-basis:42px;border-radius:11px;margin-top:3px}.sg #pro .sg-studio-emblem svg{width:25px;height:25px}.sg #pro .sg-studio-grid{gap:12px}.sg #pro .sg-studio-module{padding:20px 16px;border-radius:13px}.sg #pro .sg-studio-module-head{gap:10px;margin-bottom:23px}.sg #pro .sg-studio-channel{width:32px;height:32px;flex-basis:32px;font-size:11px;border-radius:8px}.sg #pro .sg-studio-caption{font-size:8px;letter-spacing:.1em}.sg #pro h3{font-size:16px}.sg #pro .sg-studio-fields{gap:22px}.sg #pro .f label{font-size:12px}.sg #pro .f .opt{font-size:10px}.sg #pro .chip{min-height:44px;font-size:12px}.sg #pro #pro-tempo,.sg #pro #pro-key{padding:4px;gap:4px}.sg #pro #pro-tempo .chip,.sg #pro #pro-key .chip{min-height:44px;font-size:12px;padding:8px 4px}.sg #pro #pro-ins{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.sg #pro #pro-ins .chip{min-height:88px;padding:13px 5px 11px;gap:9px;border-radius:9px}.sg #pro #pro-ins .chip svg{width:23px;height:23px}.sg #pro #pro-ins .chip span{font-size:11px}.sg #pro #pro-tone{grid-template-columns:repeat(2,minmax(0,1fr))}.sg #pro .rv{font-size:17px;min-width:58px;padding:4px 8px}.sg #pro .sg-studio-timeline{padding:13px 12px 10px}.sg #pro .sg-field-help{font-size:11px}.sg #pro input[type=text],.sg #pro textarea,.sg #pro #pro-lyrics{font-size:16px}.sg #pro input::placeholder,.sg #pro textarea::placeholder{font-size:12px}.sg #pro #pro-lyrics{min-height:205px;padding:14px;line-height:1.8}}

@media(prefers-reduced-motion:reduce){.sg *,.sg *::before,.sg *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* 가사 확인 단계 (JS 생성 마크업) */
.sg .lyr-edit{display:flex;flex-direction:column;gap:10px}
.sg .lyr-sec .sec{font-size:11px;font-weight:700;color:var(--muted);letter-spacing:.08em;margin:4px 0 6px;text-transform:uppercase}
.sg .lyr-ta{width:100%;border:1px solid var(--border-m);border-radius:12px;padding:10px 12px;font:inherit;font-size:15px;line-height:1.7;letter-spacing:-.01em;resize:vertical;background:#fff}
.sg .lyr-ta:focus{outline:0;border-color:var(--accent-d);box-shadow:0 0 0 4px var(--accent-glow)}

/* Keep the lyrics-review step in the shared step strip. */
.sg .steps:has(#stL){grid-template-columns:repeat(5,minmax(0,1fr))}
@media(max-width:359px){.sg .steps:has(#stL) .sg-step-copy strong{font-size:10px}}

/* Vocal mode and the two existing audio levels. */
.sg #vocal-mode{display:grid;grid-template-columns:1fr 1.35fr;gap:7px;padding:5px;background:#f1f0eb;border:1px solid #e4e3dc;border-radius:12px}
.sg #vocal-mode .chip{min-width:0;min-height:44px;border-color:transparent;background:transparent;padding:9px 8px;font-size:12px;word-break:keep-all}
.sg #vocal-mode .chip.on{background:#fff;border-color:#ddc781;box-shadow:0 2px 5px #29271c08;color:#292921;font-weight:650}
.sg .sg-voice-label{display:block;font-size:12px;color:var(--text-sub);margin-top:8px}
.sg .sg-vocal-field:has(#vocal-mode [data-v=inst].on) .sg-voice-label{opacity:.4}
.sg .sg-mix-panel{padding:19px 20px;background:#f8f7f3;border:1px solid #e9e7dd;border-radius:13px;gap:20px}
.sg .sg-volume-head{display:flex;justify-content:space-between;align-items:center;gap:14px}
.sg .sg-volume-head label{margin:0;font-size:12px}
.sg .sg-volume-head .rv{min-width:47px;padding:3px 7px;border:1px solid #e3dcc5;border-radius:6px;background:#fff;font-size:13px;font-weight:500;text-align:center;color:#5d5131}
.sg .sg-mix-panel .range{min-height:34px;gap:0}
.sg .sg-mix-panel input[type=range]{appearance:none;-webkit-appearance:none;display:block;width:100%;height:30px;padding:0;margin:0;border:0;background:transparent;cursor:pointer}
.sg .sg-mix-panel input[type=range]::-webkit-slider-runnable-track{height:4px;border-radius:4px;background:#dad6c9}
.sg .sg-mix-panel input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:16px;height:16px;margin-top:-6px;border:3px solid #292b30;border-radius:50%;background:#ffda68;box-shadow:0 1px 3px #0002}
.sg .sg-mix-panel input[type=range]::-moz-range-track{height:4px;border-radius:4px;background:#dad6c9}
.sg .sg-mix-panel input[type=range]::-moz-range-thumb{width:10px;height:10px;border:3px solid #292b30;border-radius:50%;background:#ffda68}
.sg .sg-mix-panel .sg-field-help{margin-top:0;font-size:11px}

/* Lyrics review shares the page shell; the editor remains a quiet writing surface. */
.sg #secL .sg-lyric-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,1fr);gap:24px;align-items:start}
.sg #secL .sg-lyric-sheet{padding:30px 32px}
.sg #secL .sg-lyric-sheet-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:23px;margin-bottom:25px;border-bottom:1px solid var(--line)}
.sg #secL .sg-lyric-sheet-head .sg-eyebrow{margin-bottom:7px}
.sg #secL h3{font-size:19px;font-weight:650;line-height:1.5;letter-spacing:-.035em}
.sg #secL .sg-lyric-editable{display:inline-flex;align-items:center;gap:6px;color:#79796e;font-size:11px;line-height:1.6;white-space:nowrap}
.sg #secL .sg-lyric-editable svg{width:15px;height:15px}
.sg #secL .sg-lyric-title-field{margin-bottom:27px}
.sg #secL #lyr-title{font-size:18px;font-weight:550;padding:15px 17px;background:#fffdf7;border-color:#e3dcc4}
.sg #secL .sg-lyric-editor-label{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:14px}
.sg #secL .sg-lyric-editor-label strong{font-size:13px;font-weight:600}
.sg #secL .sg-lyric-editor-label>span{font-size:11px;line-height:1.6;color:var(--muted)}
.sg #secL .lyr-edit{display:flex;flex-direction:column;gap:14px;counter-reset:lyric-section}
.sg #secL .lyr-sec{padding:17px 18px;background:#f8f7f3;border:1px solid #e8e6dd;border-radius:13px;min-width:0;counter-increment:lyric-section}
.sg #secL .lyr-sec .sec{display:flex;align-items:center;gap:9px;margin:0 0 12px;color:#68675d;font-family:var(--font-mono)!important;font-size:11px;font-weight:600;letter-spacing:.06em;line-height:1.6;overflow-wrap:anywhere}
.sg #secL .lyr-sec .sec::before{content:counter(lyric-section,decimal-leading-zero);display:inline-flex;align-items:center;justify-content:center;flex:0 0 24px;height:24px;border:1px solid #dfdace;border-radius:6px;background:#fff;color:#827759;font-size:10px;font-weight:500;letter-spacing:0}
.sg #secL .lyr-sec:not(:has(textarea)) .sec{margin-bottom:0}
.sg #secL .lyr-sec .sec .muted{font-size:11px;font-weight:400;letter-spacing:0;color:#858379}
.sg #secL .lyr-ta{display:block;width:100%;min-width:0;min-height:106px;border:1px solid #dedcd2;border-radius:9px;padding:13px 15px;font-size:15px;line-height:1.9;letter-spacing:-.015em;resize:vertical;background:#fff;color:var(--text);box-shadow:none}
.sg #secL .lyr-ta:focus{border-color:#b5a15d;box-shadow:0 0 0 3px #d6b9581a;outline:2px solid #c9ad4e;outline-offset:2px}
.sg #secL .risk{margin-top:11px;padding:11px 12px;border:1px solid #eddfba;border-radius:8px;background:#fff8e7;color:#71623e;font-size:11px;line-height:1.85;word-break:keep-all;overflow-wrap:anywhere}
.sg #secL .risk b{color:#856214!important;font-weight:650;margin-right:4px}
.sg #secL .risk:empty{display:none}
.sg #secL .sg-lyric-sidebar{display:grid;gap:18px;position:sticky;top:105px;min-width:0}
.sg #secL .sg-lyric-rewrite{padding:27px 26px}
.sg #secL .sg-lyric-tool-icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:12px;background:var(--accent);color:#45402d;margin-bottom:19px}
.sg #secL .sg-lyric-tool-icon svg{width:22px;height:22px}
.sg #secL .sg-lyric-rewrite>.sg-eyebrow{font-size:8px;letter-spacing:.12em;margin-bottom:8px}
.sg #secL .sg-lyric-intro{font-size:12px;line-height:1.8;color:var(--text-sub);margin-top:9px;word-break:keep-all}
.sg #secL #lyr-tools{display:flex;flex-wrap:wrap;gap:7px;margin-top:21px}
.sg #secL #lyr-tools .chip{min-height:42px;padding:9px 12px;border-radius:9px;font-size:12px;color:#615f54;background:#fffdf7;border-color:#e5deca}
.sg #secL #lyr-tools .chip:hover,.sg #secL #lyr-tools .chip.on{background:#fff1c4;border-color:#c5ad5e;color:#4a4126}
.sg #secL .sg-lyric-request{margin:24px 0 0;padding-top:22px;border-top:1px solid var(--line);gap:11px}
.sg #secL .sg-lyric-request label{font-size:12px}
.sg #secL #lyr-note{min-width:0;width:100%;font-size:14px;padding:13px 14px}
.sg #secL #lyr-note::placeholder{font-size:12px}
.sg #secL #btn-relyric{width:100%;min-height:47px;font-size:13px;margin-top:1px}
.sg #secL .sg-lyric-free{display:flex;align-items:flex-start;gap:6px;font-size:11px;line-height:1.75;color:#807861;margin-top:14px;word-break:keep-all}
.sg #secL .sg-lyric-free svg{width:14px;height:14px;margin-top:3px}
.sg #secL .sg-lyric-tips{padding:23px 26px;background:#f0efe8;border-color:#e4e2d7;box-shadow:none}
.sg #secL .sg-lyric-tips-head{display:flex;align-items:center;gap:8px;margin-bottom:18px}
.sg #secL .sg-lyric-tips-head svg{width:18px;height:18px;color:#868067}
.sg #secL .sg-lyric-tips h3{font-size:14px;font-weight:650}
.sg #secL .sg-lyric-tips ul{display:grid;gap:16px;margin:0;padding:0;list-style:none}
.sg #secL .sg-lyric-tips li{position:relative;padding-left:12px;word-break:keep-all}
.sg #secL .sg-lyric-tips li::before{content:"";position:absolute;left:0;top:8px;width:3px;height:3px;border-radius:50%;background:#a29b82}
.sg #secL .sg-lyric-tips strong{display:block;font-size:12px;font-weight:600;line-height:1.6;color:#5d5b50}
.sg #secL .sg-lyric-tips li span{display:block;margin-top:3px;font-size:11px;line-height:1.8;color:#828073}
.sg #secL .sg-lyric-actions{margin-top:28px;padding-top:25px;border-top:1px solid #dddbd1;gap:20px}
.sg #secL .sg-lyric-confirm{display:flex;align-items:center;gap:24px}
.sg #secL .sg-lyric-confirm p{font-size:13px;font-weight:550;line-height:1.7;text-align:right}
.sg #secL .sg-lyric-confirm small{display:block;font-size:11px;font-weight:400;color:var(--muted);margin-top:3px}

@media(max-width:1100px){.sg #secL .sg-lyric-layout{grid-template-columns:minmax(0,1.45fr) minmax(285px,1fr);gap:18px}.sg #secL .sg-lyric-sheet{padding:26px 24px}.sg #secL .sg-lyric-sheet-head{gap:12px;align-items:flex-start;flex-direction:column}.sg #secL .sg-lyric-rewrite,.sg #secL .sg-lyric-tips{padding:24px 22px}.sg #secL .sg-lyric-confirm{gap:18px}.sg #secL .sg-lyric-confirm p{max-width:245px}}
@media(max-width:800px){.sg #secL .sg-lyric-layout{grid-template-columns:1fr;gap:18px}.sg #secL .sg-lyric-sheet-head{flex-direction:row;align-items:center}.sg #secL .sg-lyric-sidebar{position:static;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:start}.sg #secL .sg-lyric-confirm{flex-direction:column;align-items:flex-end;gap:13px}.sg #secL .sg-lyric-confirm p{max-width:none}.sg #secL .sg-lyric-actions{align-items:flex-end}}
@media(max-width:580px){.sg .sg-mix-panel{padding:17px 16px;gap:19px}.sg #vocal-mode .chip{font-size:11px;padding:9px 5px}.sg .sg-volume-head label{font-size:12px}.sg .sg-mix-panel .sg-field-help{font-size:10px}.sg #secL .sg-lyric-sheet{padding:23px 18px}.sg #secL .sg-lyric-sheet-head{flex-direction:column;align-items:flex-start;gap:11px;padding-bottom:20px;margin-bottom:22px}.sg #secL h3{font-size:18px}.sg #secL .sg-lyric-editable{font-size:10px}.sg #secL #lyr-title{font-size:17px;padding:13px 14px}.sg #secL .sg-lyric-title-field{margin-bottom:24px}.sg #secL .sg-lyric-editor-label{align-items:flex-start;flex-direction:column;gap:4px;margin-bottom:13px}.sg #secL .sg-lyric-editor-label strong{font-size:12px}.sg #secL .sg-lyric-editor-label>span{font-size:10px}.sg #secL .lyr-sec{padding:14px 12px;border-radius:11px}.sg #secL .lyr-sec .sec{font-size:10px;gap:8px;margin-bottom:11px}.sg #secL .lyr-ta{min-height:107px;padding:12px;font-size:16px;line-height:1.8}.sg #secL .risk{font-size:10px;padding:10px}.sg #secL .sg-lyric-sidebar{grid-template-columns:1fr;gap:14px}.sg #secL .sg-lyric-rewrite{padding:24px 21px}.sg #secL #lyr-tools .chip{min-height:44px;font-size:12px}.sg #secL #lyr-note{font-size:16px}.sg #secL .sg-lyric-free{font-size:10px}.sg #secL .sg-lyric-tips{padding:22px 21px}.sg #secL .sg-lyric-actions{display:flex;flex-direction:column;align-items:stretch;margin-top:24px;padding-top:22px;gap:20px}.sg #secL #btn-backL{align-self:flex-start;min-height:44px;padding:10px 14px;font-size:12px}.sg #secL .sg-lyric-confirm{align-items:stretch;gap:12px}.sg #secL .sg-lyric-confirm p{text-align:left;font-size:12px}.sg #secL .sg-lyric-confirm small{font-size:10px;word-break:keep-all}.sg #secL #btn-confirm{width:100%;justify-content:space-between;min-height:52px}}

/* Duration-based token estimate; the existing JS owns values and availability. */
.sg .sg-story-action.sg-token-action{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:28px;row-gap:13px;align-items:center;margin-top:28px;padding:23px 25px;border:1px solid #e5ddc4;border-radius:18px;background:#fffdf6}
.sg .sg-token-summary{min-width:0;grid-column:1;grid-row:1}
.sg .sg-token-summary>.sg-eyebrow{margin-bottom:9px;font-family:var(--font-main)!important;font-size:11px;letter-spacing:0;color:#78715e}
.sg .sg-token-amount-row{display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px;min-width:0}
.sg #cost-tokens{font-size:14px;font-weight:450;line-height:1.8;color:#676355;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.sg #cost-tokens b{font-size:22px;font-weight:650;line-height:1.4;letter-spacing:-.035em;color:#25262b;white-space:nowrap}
.sg #cost-balance{display:inline-flex;align-items:center;min-height:29px;padding:4px 10px;border:1px solid #e8e0c8;border-radius:7px;background:#f6f1e3;color:#71654b;font-size:11px;font-weight:450;line-height:1.7;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.sg #cost-balance:empty{display:none}
.sg #cost-note{grid-column:1;grid-row:2;font-size:11px;line-height:1.85;color:#77715f;word-break:keep-all;overflow-wrap:anywhere;margin:0}
.sg .sg-token-buttons{grid-column:2;grid-row:1/3;display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0}
.sg .sg-token-buttons .btn.ghost{border-color:#e4dfd0;background:transparent}
.sg .sg-token-buttons #btn-make{min-height:52px;padding:13px 23px}
@media(max-width:1100px){.sg .sg-story-action.sg-token-action{column-gap:22px;padding:22px}.sg .sg-token-buttons{gap:8px}.sg .sg-token-buttons .btn{padding:12px 17px;font-size:13px}.sg .sg-token-buttons #btn-make{padding:13px 19px}.sg #cost-tokens{font-size:13px}.sg #cost-tokens b{font-size:20px}.sg #cost-note{font-size:10px}}
@media(max-width:800px){.sg .sg-story-action.sg-token-action{grid-template-columns:1fr;gap:13px}.sg .sg-token-buttons{grid-column:1;grid-row:3;justify-content:space-between;margin-top:5px;padding-top:18px;border-top:1px solid #e8e1cf}.sg #cost-note{grid-column:1;grid-row:2;max-width:none}.sg #cost-tokens{font-size:14px}.sg #cost-tokens b{font-size:22px}}
@media(max-width:580px){.sg .sg-story-action.sg-token-action{padding:21px 18px;margin-top:23px;border-radius:16px;gap:12px}.sg .sg-token-summary>.sg-eyebrow{font-size:10px;margin-bottom:8px}.sg .sg-token-amount-row{align-items:flex-start;flex-direction:column;gap:9px}.sg #cost-tokens{font-size:13px;line-height:1.8}.sg #cost-tokens b{font-size:21px}.sg #cost-balance{min-height:28px;font-size:11px;padding:4px 9px}.sg #cost-note{font-size:10px;line-height:1.9}.sg .sg-token-buttons{gap:10px;padding-top:17px;margin-top:3px}.sg .sg-token-buttons .btn.ghost{min-height:46px;padding:11px 12px;font-size:12px;gap:6px}.sg .sg-token-buttons .btn.ghost svg{width:15px;height:15px}.sg .sg-token-buttons #btn-make{min-height:49px;flex:1;max-width:210px;padding:12px 15px;font-size:12px;gap:14px}}
