:root{color-scheme:dark;--bg:#080b12;--panel:#111823;--panel2:#131d2a;--line:#293343;--muted:#94a3b8;--text:#f6f8ff;--cyan:#45ebd4;--blue:#7ba9ff;--red:#ff6b83;font-family:Inter,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;background:var(--bg);color:var(--text);line-height:1.65;overflow-x:hidden}button,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.7}a{color:inherit}a:hover{color:var(--cyan)}.sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.bg-blob{position:absolute;pointer-events:none;border-radius:50%;filter:blur(100px);opacity:.14;z-index:0}.bg-blob.a{width:380px;height:380px;top:40px;left:-180px;background:#05b9a8}.bg-blob.b{width:430px;height:430px;top:180px;right:-230px;background:#4175ef}
.shell{max-width:1120px;margin:0 auto;padding:0 30px;position:relative;z-index:1}.nav{height:99px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #212b3b}.brand{display:flex;align-items:center;gap:13px;font-size:20px;font-weight:850;letter-spacing:1.4px;text-decoration:none;line-height:1.25}.brand:hover{color:var(--text)}.brand-icon{display:grid;place-items:center;width:43px;height:43px;border:1px solid #2fbcba;border-radius:13px;background:linear-gradient(140deg,#125d67,#13273a);color:var(--cyan);font-size:26px}.brand-soft{font-weight:450;color:#c5d3e6}.brand small{display:block;font-size:10px;color:#7d90a8;letter-spacing:3px;margin-top:3px}.top-tag{color:#b6c6da;font-size:12px;border:1px solid #2a3847;padding:8px 12px;border-radius:999px;background:#111923}.live-dot{display:inline-block;width:7px;height:7px;background:var(--cyan);border-radius:50%;margin-right:7px;box-shadow:0 0 12px var(--cyan)}
.hero{text-align:center;padding-top:83px}.eyebrow{display:flex;align-items:center;justify-content:center;gap:14px;color:#69dcca;font-size:11px;font-weight:750;letter-spacing:3px}.eyebrow-line{width:32px;height:1px;background:#448c91}.hero h1{font-size:clamp(36px,5.5vw,65px);line-height:1.25;letter-spacing:-2.8px;margin:22px 0 20px;font-weight:850}.hero h1 span{color:var(--cyan)}.subheading{max-width:660px;margin:0 auto;color:#9aaec3;font-size:15px;line-height:1.95}.panel{text-align:left;margin:47px auto 0;background:linear-gradient(125deg,rgba(26,37,51,.95),rgba(14,23,34,.98));border:1px solid #304050;border-radius:20px;padding:26px;box-shadow:0 16px 55px #0006}.panel-top,.form-bottom,.form-actions,.panel-top .section-title,.how-head,.result-title{display:flex;align-items:center}.panel-top,.form-bottom{justify-content:space-between}.section-title{gap:12px;font-size:16px;font-weight:750}.number{display:inline-grid;place-items:center;color:#65ddcd;font-weight:800;font-size:11px;width:27px;height:27px;border-radius:8px;background:#153a40;border:1px solid #28636a;flex-shrink:0}.secure-label,.hint{font-size:12px;color:#8399ad}textarea{width:100%;display:block;min-height:164px;resize:vertical;margin:20px 0 19px;border-radius:13px;border:1px solid #314255;background:#090f1a;outline:none;padding:19px 20px;color:var(--text);font-size:14px;line-height:1.9;box-shadow:inset 0 2px 12px #0003;transition:border-color .2s}textarea::placeholder{color:#627589}textarea:focus{border-color:#4bcdbd;box-shadow:0 0 0 3px #3af0d01a}.form-actions{gap:12px}.ghost{border:1px solid #3a4759;background:transparent;color:#b9c8d9;padding:11px 25px;border-radius:10px}.ghost:hover{background:#243447}.primary{border:0;background:linear-gradient(110deg,#3ae0c5,#57d5e9);color:#052426;border-radius:10px;padding:12px 25px;font-size:14px;font-weight:800;box-shadow:0 4px 19px #24cbb92b}.primary:hover{filter:brightness(1.06)}.btn-arrow{margin-left:20px;font-size:20px;line-height:0;vertical-align:-2px}
.result{margin:32px auto 0;scroll-margin-top:25px}.result[hidden]{display:none}.result-card{background:linear-gradient(140deg,#141f2c,#101822);border:1px solid #30445b;border-radius:19px;padding:25px}.result-title{gap:13px}.result-title h2{font-size:21px;margin:0}.status-line{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:24px}.state{border-radius:999px;padding:6px 12px;font-size:12px;font-weight:700}.state.success{color:#8af4d7;background:#123e36}.state.partial{color:#ffcf9c;background:#483525}.status-caption{color:#a9bdce;font-size:13px}.room-box{margin-top:25px;background:#0b1420;border:1px solid #273747;padding:18px;border-radius:13px}.room-box-head{display:flex;align-items:center;justify-content:space-between;gap:15px}.room-box-head strong{font-size:14px}.room-url{display:block;overflow-wrap:anywhere;color:#77d8ee;font-size:14px;margin:10px 0 15px}.copy-button{border:1px solid #3b616b;color:#91f4e2;background:#103038;border-radius:8px;padding:7px 11px;font-size:12px;white-space:nowrap;flex-shrink:0}.copy-button:hover{background:#1a4751}.metadata{display:flex;flex-wrap:wrap;gap:12px 24px}.meta-item{display:flex;gap:9px;font-size:12px;min-width:180px}.meta-key{color:#8ca1b5}.meta-value{color:#edf6ff;overflow-wrap:anywhere}.stream-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:29px 0 15px}.stream-section-head h3{font-size:17px;margin:0}.stream-section-head span{color:#8da3b8;font-size:12px}.stream-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.stream-card{min-width:0;padding:17px;background:#0c1622;border:1px solid #2e4051;border-radius:12px}.stream-head,.stream-left,.stream-field{display:flex;align-items:center}.stream-head{justify-content:space-between}.stream-left{gap:10px}.stream-left strong{font-size:14px}.format-badge{border-radius:6px;padding:3px 7px;font-size:11px;font-weight:800}.format-badge.hls{color:#8eb6ff;background:#1e315d}.format-badge.flv{color:#74e6ce;background:#163e42}.stream-index{color:#627e95;font-size:11px;font-family:monospace}.stream-field{gap:10px;margin:13px 0 9px}.stream-field code{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:#080d16;color:#9db4d1;border:1px solid #273646;padding:10px;border-radius:6px;font-size:12px;min-width:0;flex:1}.stream-note{font-size:11px;color:#718a9e}.result-notes{margin-top:18px;padding:15px 18px;background:#211f20;border:1px solid #524333;border-radius:10px;color:#ddbea4;font-size:12px}.result-notes p{margin:5px 0}.next-hint{font-size:13px;color:#b8d0da;margin:19px 0 0}.error-message{color:#f7acb6;font-size:14px}.loading{animation:pulse 1.3s ease-in-out infinite alternate}.loading p{color:#99acbf}@keyframes pulse{from{opacity:.7}to{opacity:1}}
.how{margin-top:83px}.how-head{gap:12px}.how-head h2{font-size:21px;margin:0}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:22px}.step{background:#111a26;border:1px solid #263445;border-radius:15px;padding:23px 22px}.step>span{color:#53dfce;font-size:13px;font-family:monospace;font-weight:800}.step h3{font-size:16px;margin:15px 0 9px}.step p{font-size:13px;color:#8da1b5;line-height:1.9;margin:0}.notice{margin:31px 0 63px;display:flex;align-items:start;gap:12px;padding:17px 19px;background:#181e27;border:1px solid #323d49;border-radius:12px;color:#96a7b8;font-size:12px;line-height:1.9}.notice-icon{display:grid;place-items:center;width:19px;height:19px;border-radius:100%;border:1px solid #748da4;color:#bdd1e6;font-weight:800;flex-shrink:0}.notice p{margin:0}.notice strong{color:#e0e8f2}footer{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #253141;padding:22px 0 35px;color:#677d8f;font-size:11px}
@media(max-width:730px){.shell{padding:0 17px}.nav{height:78px}.top-tag{font-size:10px;padding:6px 8px}.brand{font-size:17px;gap:8px}.brand-icon{width:34px;height:34px;font-size:20px}.brand small{font-size:8px}.hero{padding-top:67px}.hero h1{letter-spacing:-1px;font-size:38px}.eyebrow{font-size:9px;letter-spacing:2px}.eyebrow-line{width:13px}.subheading{font-size:13px}.panel{margin-top:35px;padding:18px;border-radius:15px}.panel-top{gap:10px;align-items:flex-start}.secure-label{font-size:10px;text-align:right}.form-bottom{align-items:stretch;flex-direction:column;gap:13px}.form-actions{justify-content:flex-end}.form-actions button{flex:1}.hint{font-size:11px}.steps{grid-template-columns:1fr}.how{margin-top:60px}.step{padding:18px}.step h3{margin:7px 0}.stream-grid{grid-template-columns:1fr}.result-card{padding:19px}.room-box-head{align-items:flex-start}.room-box-head strong{line-height:2}.metadata{flex-direction:column;gap:7px}footer{flex-direction:column;gap:6px}.stream-section-head{align-items:flex-start}.stream-section-head span{max-width:150px;text-align:right}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.loading{animation:none}}

/* V1.1 API diagnostic hints */
.diagnostic-detail{font-size:12px;color:#9cb2c5;line-height:1.8;overflow-wrap:anywhere}.diagnostic-link{color:#72e4df;text-decoration:underline;text-underline-offset:3px;margin-left:5px}.diagnostic-link:hover{color:#c1ffff}
