﻿/* 万能解析：沿用直播助手官网暖白与橙红视觉 */
.parser-hero { padding-bottom: 86px; }
.parser-hero .product-hero-grid { align-items: center; }
.parser-hero-card { position: relative; overflow: hidden; min-height: 300px; display: flex; flex-direction: column; justify-content: center; padding: 42px; color: #fff; background: radial-gradient(circle at 72% 24%, rgba(255,101,0,.35), transparent 35%), linear-gradient(145deg,#1c1d24,#11131a); border: 1px solid rgba(255,255,255,.13); border-radius: 24px; box-shadow: 0 35px 90px rgba(0,0,0,.38); }
.parser-hero-card::before, .parser-hero-card::after { content: ""; position: absolute; border: 1px solid rgba(255,122,31,.22); border-radius: 50%; }
.parser-hero-card::before { width: 190px; height: 190px; right: -45px; top: -55px; box-shadow: 0 0 0 30px rgba(255,101,0,.04), 0 0 0 62px rgba(255,101,0,.025); }
.parser-hero-card::after { width: 8px; height: 8px; right: 100px; top: 86px; background: #ff8a3d; box-shadow: 0 0 18px #ff6500; }
.parser-hero-card span { color: #ffad77; font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.parser-hero-card strong { margin-top: 20px; font-size: clamp(24px,3vw,40px); letter-spacing: -.04em; }
.parser-hero-card p { margin: 9px 0 0; color: rgba(255,255,255,.46); font-size: 12px; }
.parser-workspace { padding-top: 78px; background: #fbf8f4; }
.parser-panel { max-width: 980px; margin: 0 auto; padding: 28px; background: #fff; border: 1px solid #ebe4dc; border-radius: 22px; box-shadow: 0 22px 60px rgba(59,37,20,.08); }
.parser-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.parser-panel-head h2 { margin: 7px 0 0; font-size: clamp(24px,3vw,34px); letter-spacing: -.04em; }
.parser-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.parser-chips span { padding: 5px 9px; color: #a34b12; font-size: 10px; background: #fff2e9; border-radius: 99px; }
#shareText { display: block; width: 100%; min-height: 170px; resize: vertical; padding: 18px; color: #f7f7f8; background: #11141b; border: 1px solid #252a35; border-radius: 15px; outline: none; font: inherit; line-height: 1.75; transition: border-color .2s ease, box-shadow .2s ease; }
#shareText:focus { border-color: #ff7a1f; box-shadow: 0 0 0 4px rgba(255,101,0,.11); }
.parser-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 15px; }
.parser-actions .parser-shortcut { margin-left: auto; color: #91877e; font-size: 10px; }
.parser-clear { color: #6f665f; background: #f4f0eb; border: 1px solid #e8e0d7; }
.parser-clear:hover { color: #d95300; background: #fff2e9; }
#status { display: none; margin-top: 16px; padding: 11px 14px; border-radius: 11px; font-size: 13px; line-height: 1.65; }
#status.loading { display: block; color: #9a4b13; background: #fff2e9; }
#status.error { display: block; color: #a62727; background: #fff1f1; }
#status.ok { display: block; color: #19724a; background: #eefaf4; }
.parser-hint { margin: 13px 0 0; color: #8b8178; font-size: 11px; line-height: 1.7; }
#result { display: none; max-width: 980px; margin: 28px auto 0; padding: 28px; background: #fff; border: 1px solid #ebe4dc; border-radius: 22px; box-shadow: 0 22px 60px rgba(59,37,20,.07); }
#result.is-visible { display: block; }
.result-head { display: flex; align-items: center; flex-wrap: wrap; gap: 11px; padding-bottom: 15px; border-bottom: 1px solid #eee7df; }
.result-head h2 { margin: 0; font-size: 23px; letter-spacing: -.03em; }
.platform-badge { padding: 5px 10px; color: #c34e00; font-size: 11px; font-weight: 700; background: #fff2e9; border-radius: 99px; }
.meta { padding-top: 13px; color: #837970; font-size: 12px; line-height: 1.9; }
.meta b { color: #292b31; }
.video-wrap { margin-top: 16px; overflow: hidden; background: #000; border: 1px solid #eee7df; border-radius: 15px; }
.video-wrap video { display: block; width: 100%; max-height: 65vh; background: #000; }
.cover { display: block; max-width: 100%; max-height: 520px; margin-top: 16px; object-fit: contain; background: #08090d; border-radius: 14px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill,minmax(145px,1fr)); gap: 10px; margin-top: 16px; }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: #08090d; border: 1px solid #eee7df; border-radius: 12px; }
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 17px; }
.notice { margin: 18px 0 0; padding: 12px 14px; color: #8a5a16; font-size: 11px; line-height: 1.7; background: #fff8e8; border-radius: 10px; }
@media (max-width: 760px) {
  .parser-panel-head { flex-direction: column; }
  .parser-panel, #result { padding: 20px; }
  .parser-actions .parser-shortcut { width: 100%; margin-left: 0; }
  .parser-actions .button { flex: 1 1 calc(50% - 6px); }
  .parser-actions .parser-clear { flex-basis: 100%; }
}
