/* TTSAI Creative Hub 7.0 · Self-contained progressive UI */
.ch-main{position:relative;isolation:isolate;overflow:hidden;padding-bottom:80px;background:#071127;color:#f5f8ff}
.ch-main:before{content:"";position:absolute;inset:0 0 auto;height:700px;background:radial-gradient(ellipse at 70% 0%,rgba(96,74,204,.19),transparent 57%),radial-gradient(ellipse at 12% 13%,rgba(38,205,191,.11),transparent 44%);pointer-events:none;z-index:-1}.ch-orbit{position:absolute;border-radius:50%;filter:blur(70px);pointer-events:none;opacity:.4;z-index:-1;animation:ch-glow 10s ease-in-out infinite alternate}.ch-orbit-a{width:360px;height:360px;top:120px;right:-140px;background:#324cb1}.ch-orbit-b{width:290px;height:290px;top:680px;left:-210px;background:#119d9a;animation-delay:-4s}@keyframes ch-glow{to{transform:translateY(80px) scale(1.2);opacity:.22}}
.ch-intro{position:relative;min-height:370px;padding-top:78px;padding-bottom:58px;display:grid;grid-template-columns:1.3fr .65fr;align-items:center;gap:40px}.ch-kicker,.ch-small-kicker{font-size:10px;letter-spacing:2.2px;color:#6ee7d4;font-weight:800}.ch-kicker{display:flex;gap:10px;align-items:center}.ch-kicker i,.ch-dot,.ch-tag-live i{width:7px;height:7px;background:#68edd6;border-radius:50%;box-shadow:0 0 0 5px rgba(104,237,214,.12)}.ch-kicker span{color:#a6a2ff}.ch-intro h1{font-size:clamp(38px,4.3vw,61px);letter-spacing:-2.5px;margin:23px 0 20px;line-height:1.19}.ch-intro h1 span{color:#89eede;background:linear-gradient(105deg,#78ebd8,#a6bafc,#cba3ed);background-clip:text;-webkit-background-clip:text;color:transparent}.ch-intro p{max-width:650px;font-size:13px;line-height:2;letter-spacing:.04px}.ch-intro-points{display:flex;gap:17px;flex-wrap:wrap;margin-top:25px;color:#a8bbd8;font-size:10px;font-weight:650}.ch-intro-points span:first-letter{color:#64e2cf}.ch-hero-visual{position:relative;height:280px;display:flex;justify-content:center;align-items:center}.ch-disc{position:absolute;width:250px;height:250px;border-radius:50%;border:1px solid rgba(118,232,231,.27);box-shadow:0 0 55px rgba(71,235,202,.08),inset 0 0 45px rgba(112,94,225,.12);animation:ch-spin 19s linear infinite}.ch-disc-one:after{content:"";position:absolute;left:10px;top:11px;width:14px;height:14px;background:#64e7d1;box-shadow:0 0 22px #64e7d1;border-radius:50%}.ch-disc-two{width:180px;height:180px;transform:rotate(36deg);animation-direction:reverse;animation-duration:15s;border-style:dashed;border-color:rgba(169,169,255,.28)}.ch-hero-icon{font-size:85px;line-height:1;color:#8cf5e5;text-shadow:0 0 30px rgba(113,246,220,.5);animation:ch-pulse 4s ease-in-out infinite}.ch-hero-wave{position:absolute;display:flex;gap:3px;align-items:center;height:62px;bottom:32px;left:25%;right:25%;justify-content:center}.ch-hero-wave i,.ch-bars i{width:3px;border-radius:7px;background:linear-gradient(180deg,#a4a8ff,#60ecce);height:var(--bh);min-height:5px}.ch-hero-wave i{animation:ch-bar 1.5s ease-in-out infinite alternate;animation-delay:var(--delay)}.ch-visual-label{position:absolute;bottom:0;font-size:9px;letter-spacing:2px;color:#8ca3cd}@keyframes ch-bar{to{transform:scaleY(.38)}}@keyframes ch-pulse{50%{filter:brightness(1.5);transform:scale(1.07)}}@keyframes ch-spin{to{transform:rotate(360deg)}}
.ch-workspace{position:relative;border:1px solid rgba(157,191,247,.18);border-radius:26px;background:linear-gradient(158deg,rgba(19,32,61,.96),rgba(10,20,40,.97));padding:30px;box-shadow:0 40px 100px rgba(0,0,0,.23)}.ch-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:23px}.ch-topline h2{font-size:25px;margin:5px 0 0}.ch-work-info{font-size:10px;color:#aabbd6;display:flex;align-items:center;gap:10px}.ch-work-info a{margin-left:12px;color:#7cebd8}.ch-dot{width:6px;height:6px;flex:none}.ch-tabs{display:flex;gap:6px;border-bottom:1px solid rgba(169,197,242,.12);padding-bottom:10px;margin-bottom:20px}.ch-tabs button{background:transparent;color:#9caece;border:1px solid transparent;border-radius:12px;padding:10px 16px;font-weight:750;font-size:12px}.ch-tabs button[aria-selected=true]{background:rgba(104,232,208,.12);border-color:rgba(104,232,208,.23);color:#adffed}.ch-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:18px;align-items:start}.ch-panel{background:rgba(8,18,38,.64);border:1px solid rgba(170,190,238,.16);border-radius:20px;padding:24px}.ch-panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:24px}.ch-step{font-size:9px;letter-spacing:1.4px;font-weight:800;color:#69e7d5}.ch-panel-head h3{font-size:19px;margin:8px 0 0}.ch-tag{font-size:9px;white-space:nowrap;color:#9daae6;border:1px solid rgba(154,167,240,.23);padding:6px 10px;border-radius:20px;letter-spacing:.5px}.ch-tag-live{display:flex;align-items:center;gap:8px;color:#81eedc;border-color:rgba(94,230,209,.23)}.ch-tag-live i{width:5px;height:5px;box-shadow:none}
.ch-presets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:21px}.ch-preset{display:flex;align-items:center;justify-content:center;gap:7px;min-height:49px;border:1px solid rgba(146,167,215,.17);background:#111e37;color:#bdc9e0;border-radius:11px;font-size:11px;font-weight:750;transition:.2s}.ch-preset:hover,.ch-preset.active{background:rgba(103,230,205,.10);border-color:rgba(110,244,218,.45);color:#95f7e5;transform:translateY(-1px)}.ch-preset b{font-size:17px;font-weight:400}.ch-fields,.ch-two{display:grid;gap:14px}.ch-two{grid-template-columns:repeat(2,minmax(0,1fr))}.ch-field{display:grid;gap:7px;color:#bfcce6;font-size:11px;font-weight:750;line-height:1.5}.ch-field input,.ch-field select,.ch-audio-options select,.ch-turn-text,.ch-speaker-name,.ch-speaker-voice,.ch-turn-speaker,.ch-editor{color:#ecf6ff;background:#0b172e;border:1px solid rgba(149,182,236,.19);border-radius:10px;outline:none;min-width:0}.ch-field input,.ch-field select{width:100%;height:44px;padding:9px 12px;font-size:11px}.ch-field input::placeholder,.ch-editor::placeholder{color:#6e83a6}.ch-field input:focus,.ch-field select:focus,.ch-audio-options select:focus,.ch-turn-text:focus,.ch-speaker-name:focus,.ch-speaker-voice:focus,.ch-turn-speaker:focus,.ch-editor:focus{border-color:rgba(104,231,208,.65);box-shadow:0 0 0 3px rgba(104,231,208,.075)}.ch-panel-actions,.ch-output-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:22px}.ch-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:11px 15px;border-radius:10px;font-weight:750;font-size:11px;border:1px solid transparent;transition:transform .2s,background .2s}.ch-btn:hover{transform:translateY(-2px)}.ch-btn-main{background:linear-gradient(110deg,#6ce4d0,#a5e8df);color:#0a2533;border-color:#8de8da}.ch-btn-soft{background:#182843;color:#d7e3f7;border-color:rgba(167,197,237,.18)}.ch-btn-soft:hover{background:#213653}.ch-full{width:100%;margin-top:11px}.ch-honest{font-size:10px;color:#94a8c9;line-height:1.9;margin:19px 0 0}.ch-helper{font-size:11px;line-height:1.9;margin:-4px 0 17px}
.ch-title-field{margin-bottom:16px}.ch-editor-bar{display:flex;align-items:center;justify-content:space-between;color:#8095b8;font-size:9px;letter-spacing:1.2px;font-weight:800;border:1px solid rgba(149,182,236,.19);border-bottom:0;border-radius:11px 11px 0 0;background:#0d1a33;padding:9px 13px}.ch-editor{display:block;width:100%;resize:vertical;min-height:250px;border-radius:0 0 11px 11px;padding:18px;font-size:12px;line-height:2.1}.ch-audio-options{display:flex;gap:13px;margin-top:17px}.ch-audio-options label{flex:1;min-width:0;display:grid;gap:6px;font-size:10px;color:#a4b5d4;font-weight:750}.ch-audio-options label:last-child{flex:0 0 97px}.ch-audio-options select{width:100%;padding:10px 9px;font-size:10px;height:39px}.ch-audio-player{display:flex;align-items:center;gap:11px;border:1px solid rgba(106,232,207,.16);background:linear-gradient(105deg,rgba(34,63,78,.35),rgba(29,34,74,.3));border-radius:13px;padding:12px 13px;margin-top:14px}.ch-play{width:41px;height:41px;flex:none;background:#6ce8d0;border:0;border-radius:50%;color:#0b2531;font-weight:900;font-size:18px}.ch-bars{display:flex;gap:3px;align-items:center;justify-content:center;flex:1;overflow:hidden;height:38px}.ch-playing .ch-bars i{animation:ch-bar .45s ease-in-out infinite alternate;animation-delay:var(--delay)}.ch-audio-caption{font-size:9px;color:#92b9cb;flex:0 0 92px;line-height:1.5}.ch-to-studio{margin-top:13px;width:100%;min-height:49px;display:flex;align-items:center;justify-content:space-between;text-align:left;padding:13px 17px;font-size:12px;color:#6decda;background:rgba(87,218,195,.09);border:1px solid rgba(93,238,208,.24);border-radius:12px;font-weight:800}.ch-to-studio:hover{background:rgba(87,218,195,.16)}.ch-status{min-height:30px;font-size:10px;color:#a3b7d1;margin-top:14px;line-height:1.6}
.ch-speakers{display:grid;gap:11px}.ch-speaker{border:1px solid rgba(145,174,232,.20);border-radius:13px;padding:11px;background:#111e39}.ch-speaker-top{display:flex;gap:9px;align-items:center}.ch-speaker-avatar{border-radius:10px;width:37px;height:37px;display:grid;place-items:center;background:linear-gradient(135deg,#194c61,#454285);color:#c5fcf1;font-weight:900;flex:none}.ch-speaker-name{flex:1;width:70px;padding:9px 10px;font-size:11px}.ch-mini{border:1px solid rgba(149,174,212,.2);color:#b4c5dc;background:#192b48;border-radius:8px;padding:7px 10px;font-size:11px}.ch-mini:disabled{opacity:.35;cursor:not-allowed}.ch-speaker-voice{display:block;width:100%;margin-top:9px;padding:9px 10px;font-size:10px}.ch-turns{display:grid;gap:11px;margin-top:20px}.ch-turn{background:#10203c;border:1px solid rgba(149,178,236,.14);border-radius:13px;padding:12px}.ch-turn-top{display:flex;gap:8px;align-items:center;margin-bottom:8px}.ch-turn-label{color:#8fe5da;font-size:10px;font-weight:800;letter-spacing:1px;flex:none}.ch-turn-speaker{flex:1;min-width:0;padding:7px 8px;font-size:10px}.ch-turn-actions{display:flex;gap:5px}.ch-turn-actions button{padding:5px 7px}.ch-turn-text{display:block;width:100%;padding:10px 12px;resize:vertical;min-height:76px;font-size:11px;line-height:1.8}.ch-turn-empty{color:#9baed2;font-size:11px;padding:14px;border:1px dashed #364a66;border-radius:12px}
.ch-lower{display:grid;grid-template-columns:1fr 1.05fr;gap:35px;align-items:start;padding:90px 0}.ch-lower h2,.ch-outro h2{font-size:30px;max-width:460px;margin:13px 0 12px}.ch-lower p,.ch-outro p{font-size:12px;max-width:470px;line-height:2}.ch-history{border:1px solid rgba(150,182,231,.17);border-radius:19px;background:rgba(18,34,59,.65);padding:19px}.ch-history-head{display:flex;align-items:center;justify-content:space-between;font-size:12px;margin-bottom:13px}.ch-history-head span{font-size:10px;color:#88e5d4}.ch-history-list{display:grid;gap:8px}.ch-history-item{background:#101e37;border:1px solid rgba(151,176,222,.13);border-radius:11px;padding:12px;display:flex;align-items:center;gap:10px}.ch-history-item span{flex:1;min-width:0}.ch-history-item b,.ch-history-item small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ch-history-item b{font-size:11px}.ch-history-item small{font-size:9px;color:#8da5c6;margin-top:2px}.ch-history-item button{font-size:10px;padding:7px 10px}.ch-history-empty{color:#8fa2c0;font-size:11px;text-align:center;padding:17px}.ch-history-link{font-size:11px;color:#70e3d2;display:inline-block;margin-top:16px}.ch-outro{border:1px solid rgba(105,228,207,.21);border-radius:24px;padding:37px;display:flex;align-items:center;justify-content:space-between;gap:20px;background:linear-gradient(110deg,rgba(35,94,109,.24),rgba(49,45,104,.31))}.ch-outro h2{font-size:27px}.ch-outro>div:last-child{display:flex;gap:9px;flex-wrap:wrap}
@media(max-width:1000px){.ch-intro{grid-template-columns:1fr .45fr}.ch-hero-visual{height:230px}.ch-disc{width:180px;height:180px}.ch-disc-two{width:130px;height:130px}.ch-workspace{padding:20px}.ch-panel{padding:19px}.ch-grid{gap:12px}.ch-presets{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:750px){.ch-intro{padding:55px 0 45px;grid-template-columns:1fr;gap:0}.ch-intro h1{font-size:clamp(32px,7vw,48px)}.ch-intro p{font-size:12px}.ch-hero-visual{display:none}.ch-grid,.ch-lower{grid-template-columns:1fr}.ch-work-info{display:none}.ch-lower{padding:64px 0}.ch-outro{display:block}.ch-outro>div:last-child{margin-top:20px}}
@media(max-width:480px){.ch-intro h1{letter-spacing:-1.5px}.ch-intro-points{gap:10px;font-size:9px}.ch-workspace{padding:12px;border-radius:18px}.ch-panel{padding:14px}.ch-panel-head h3{font-size:16px}.ch-tag{font-size:8px;padding:6px}.ch-two{grid-template-columns:1fr}.ch-tabs{gap:4px}.ch-tabs button{font-size:10px;padding:9px 9px;flex:1}.ch-presets{gap:6px}.ch-preset{font-size:10px;min-height:43px}.ch-editor{min-height:200px}.ch-audio-caption{display:none}.ch-output-actions{display:grid;grid-template-columns:1fr 1fr}.ch-output-actions button{padding:10px 7px}.ch-turn-top{flex-wrap:wrap}.ch-turn-speaker{min-width:50%}.ch-outro{padding:24px}}
@media(prefers-reduced-motion:reduce){.ch-orbit,.ch-disc,.ch-hero-icon,.ch-hero-wave i,.ch-playing .ch-bars i{animation:none!important}.ch-btn:hover,.ch-preset:hover{transform:none}}
