/* ============================================
   AI论文助手 — AIGC降重页 全新设计 v3
   排版：Hero强度卡片 + 全宽输入区 + 全宽对比结果区
   兼容：百度APP WebKit 537.36 / Chrome 97
   注意：全部使用 margin 替代 gap，不使用 gap 属性
   ============================================ */

.aigc-page { background: #06061a; min-height: 100vh; }

/* ---- 背景 ---- */
.ag-bg { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.ag-orb { position: absolute; border-radius: 50%; -webkit-filter: blur(80px); filter: blur(80px); opacity: .5; }
.ag-orb1 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(8,145,178,.5), transparent 70%); top: -150px; right: -100px; }
.ag-orb2 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(13,148,136,.4), transparent 70%); bottom: 100px; left: -80px; }
.ag-orb3 { width: 350px; height: 350px; background: radial-gradient(circle, rgba(124,58,237,.3), transparent 70%); top: 300px; left: 40%; }
.ag-grid { position: absolute; top:0;right:0;bottom:0;left:0; background-image: linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px); background-size: 60px 60px; }

/* ---- 导航teal变体 ---- */
.btn-nav-teal { background: -webkit-linear-gradient(135deg, #0891B2, #0D9488); background: linear-gradient(135deg, #0891B2, #0D9488); }

/* ---- Hero区 ---- */
.ag-hero { position: relative; z-index: 1; text-align: center; padding: 110px 24px 40px; }
.ag-hero-badge { display: -webkit-inline-box; display: -webkit-inline-flex; display: inline-flex; -webkit-box-align: center; -webkit-align-items: center; align-items: center; background: rgba(8,145,178,.15); border: 1px solid rgba(8,145,178,.3); color: rgba(34,211,238,.9); font-size: 13px; padding: 6px 16px; border-radius: 20px; margin-bottom: 20px; }
.ag-badge-dot { width: 6px; height: 6px; background: #22D3EE; border-radius: 50%; -webkit-animation: agPulse 2s infinite; animation: agPulse 2s infinite; display: inline-block; vertical-align: middle; margin-right: 8px; }
@-webkit-keyframes agPulse { 0%,100%{opacity:1;-webkit-transform:scale(1);transform:scale(1)} 50%{opacity:.5;-webkit-transform:scale(1.3);transform:scale(1.3)} }
@keyframes agPulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.3)} }
.ag-hero-title { font-size: 48px; font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: 16px; letter-spacing: -1px; }
.ag-hl { background: -webkit-linear-gradient(135deg, #22D3EE, #34D399); background: linear-gradient(135deg, #22D3EE, #34D399); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.ag-hero-sub { font-size: 16px; color: rgba(255,255,255,.55); max-width: 560px; margin: 0 auto 36px; line-height: 1.7; }

/* 三档强度卡片 — 使用 margin 替代 gap */
.ag-level-row { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center; -webkit-flex-wrap: wrap; flex-wrap: wrap; margin-left: -8px; margin-right: -8px; }
.ag-lv-card { position: relative; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 20px 24px; min-width: 160px; text-align: center; -webkit-transition: all .3s; transition: all .3s; cursor: default; margin: 8px; -webkit-box-sizing: border-box; box-sizing: border-box; }
.ag-lv-card.ag-lv-active { background: rgba(8,145,178,.12); border-color: rgba(34,211,238,.35); box-shadow: 0 0 24px rgba(8,145,178,.2); }
.ag-lv-badge { position: absolute; top: -10px; left: 50%; -webkit-transform: translateX(-50%); transform: translateX(-50%); background: -webkit-linear-gradient(135deg, #0891B2, #0D9488); background: linear-gradient(135deg, #0891B2, #0D9488); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 10px; border-radius: 10px; white-space: nowrap; }
.ag-lv-num { font-size: 22px; font-weight: 800; color: #22D3EE; margin-bottom: 4px; }
.ag-lv-card:not(.ag-lv-active) .ag-lv-num { color: rgba(255,255,255,.5); }
.ag-lv-name { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.8); margin-bottom: 6px; }
.ag-lv-desc { font-size: 12px; color: rgba(255,255,255,.4); line-height: 1.5; }

/* ---- 输入区 ---- */
.ag-input-wrap { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; padding: 0 24px 24px; }
.ag-input-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 20px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.4); }

/* 顶部控制行 — 使用 margin 替代 gap */
.ag-input-top { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; -webkit-align-items: center; align-items: center; -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid rgba(255,255,255,.06); -webkit-flex-wrap: wrap; flex-wrap: wrap; }
.ag-input-title { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; -webkit-align-items: center; align-items: center; font-size: 15px; font-weight: 600; color: rgba(255,255,255,.8); margin-bottom: 8px; }
.ag-input-title svg { width: 18px; height: 18px; margin-right: 8px; }
.ag-input-controls { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; -webkit-align-items: center; align-items: center; -webkit-flex-wrap: wrap; flex-wrap: wrap; }
.ag-ctrl-group { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; -webkit-align-items: center; align-items: center; margin-right: 16px; }
.ag-ctrl-group:last-child { margin-right: 0; }
.ag-ctrl-label { font-size: 13px; color: rgba(255,255,255,.45); white-space: nowrap; margin-right: 8px; }
.ag-sel-wrap { position: relative; }
.ag-select { background: #0c1a2e; border: 1px solid rgba(255,255,255,.15); border-radius: 8px; padding: 7px 28px 7px 12px; color: #fff; font-size: 13px; outline: none; -webkit-appearance: none; appearance: none; cursor: pointer; -webkit-transition: border-color .2s; transition: border-color .2s; }
.ag-select:focus { border-color: rgba(34,211,238,.4); }
.ag-select option { background: #0c1a2e; color: #fff; }
.ag-sel-wrap::after { content: ''; position: absolute; right: 10px; top: 50%; -webkit-transform: translateY(-50%); transform: translateY(-50%); border: 4px solid transparent; border-top-color: rgba(255,255,255,.4); margin-top: 2px; pointer-events: none; }
.ag-char-cnt { font-size: 12px; color: rgba(255,255,255,.3); background: rgba(255,255,255,.05); padding: 5px 12px; border-radius: 6px; white-space: nowrap; }

/* 文本框 */
.ag-textarea { display: block; width: 100%; min-height: 200px; background: transparent; border: none; padding: 20px 24px; color: rgba(255,255,255,.85); font-size: 15px; line-height: 1.8; resize: vertical; outline: none; -webkit-box-sizing: border-box; box-sizing: border-box; font-family: inherit; }
.ag-textarea::-webkit-input-placeholder { color: rgba(255,255,255,.2); }

/* 底部操作行 — 使用 margin 替代 gap */
.ag-input-bottom { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; -webkit-align-items: center; align-items: center; -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; padding: 16px 24px; border-top: 1px solid rgba(255,255,255,.06); -webkit-flex-wrap: wrap; flex-wrap: wrap; }
.ag-input-tips { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; }
.ag-tip-item { display: -webkit-inline-box; display: -webkit-inline-flex; display: inline-flex; -webkit-box-align: center; -webkit-align-items: center; align-items: center; font-size: 13px; color: rgba(255,255,255,.4); margin-right: 16px; margin-bottom: 4px; }
.ag-tip-item svg { width: 13px; height: 13px; -webkit-flex-shrink: 0; flex-shrink: 0; margin-right: 5px; }
.ag-reduce-btn { display: -webkit-inline-box; display: -webkit-inline-flex; display: inline-flex; -webkit-box-align: center; -webkit-align-items: center; align-items: center; padding: 13px 36px; background: -webkit-linear-gradient(135deg, #0891B2, #0D9488); background: linear-gradient(135deg, #0891B2, #0D9488); color: #fff; border: none; border-radius: 12px; font-size: 16px; font-weight: 700; cursor: pointer; -webkit-transition: opacity .2s, -webkit-transform .15s; transition: opacity .2s, transform .15s; box-shadow: 0 8px 32px rgba(8,145,178,.4); }
.ag-reduce-btn:hover { opacity: .9; -webkit-transform: translateY(-1px); transform: translateY(-1px); }
.ag-reduce-btn:active { -webkit-transform: translateY(0); transform: translateY(0); }
.ag-reduce-btn:disabled { opacity: .5; cursor: not-allowed; -webkit-transform: none; transform: none; }
.ag-reduce-btn svg { width: 18px; height: 18px; margin-right: 10px; }

/* ---- 结果区 ---- */
.ag-result-wrap { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; padding: 0 24px 60px; }

/* 空状态 */
.ag-empty { text-align: center; padding: 48px 24px 60px; }
.ag-empty-icon { margin-bottom: 20px; }
.ag-empty-icon svg { width: 80px; height: 80px; }
.ag-empty-title { font-size: 20px; font-weight: 700; color: rgba(255,255,255,.6); margin-bottom: 8px; }
.ag-empty-desc { font-size: 14px; color: rgba(255,255,255,.35); }

/* 进度状态 */
.ag-progress { padding: 40px 0; }
.ag-prog-center { text-align: center; margin-bottom: 32px; }
.ag-prog-anim { position: relative; width: 80px; height: 80px; margin: 0 auto 20px; }
.ag-prog-ring { position: absolute; border-radius: 50%; border: 2px solid transparent; }
.ag-prog-ring1 { top:0;right:0;bottom:0;left:0; border-top-color: #22D3EE; -webkit-animation: agSpin 1.2s linear infinite; animation: agSpin 1.2s linear infinite; }
.ag-prog-ring2 { top:10px;right:10px;bottom:10px;left:10px; border-right-color: #34D399; -webkit-animation: agSpin 1.8s linear infinite reverse; animation: agSpin 1.8s linear infinite reverse; }
.ag-prog-ring3 { top:20px;right:20px;bottom:20px;left:20px; border-bottom-color: rgba(34,211,238,.4); -webkit-animation: agSpin 2.4s linear infinite; animation: agSpin 2.4s linear infinite; }
@-webkit-keyframes agSpin { to { -webkit-transform: rotate(360deg); transform: rotate(360deg); } }
@keyframes agSpin { to { transform: rotate(360deg); } }
.ag-prog-icon { position: absolute; top:0;right:0;bottom:0;left:0; display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; -webkit-align-items: center; align-items: center; -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center; }
.ag-prog-icon svg { width: 32px; height: 32px; -webkit-animation: agSpin 1.2s linear infinite; animation: agSpin 1.2s linear infinite; }
.ag-prog-title { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.ag-prog-sub { font-size: 14px; color: rgba(255,255,255,.45); }
/* 进度条 — 使用 margin 替代 gap */
.ag-prog-bar-wrap { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; -webkit-align-items: center; align-items: center; margin-bottom: 28px; }
.ag-prog-bar-track { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; height: 6px; background: rgba(255,255,255,.08); border-radius: 3px; overflow: hidden; margin-right: 14px; }
.ag-prog-bar-fill { height: 100%; background: -webkit-linear-gradient(90deg, #0891B2, #22D3EE, #34D399); background: linear-gradient(90deg, #0891B2, #22D3EE, #34D399); border-radius: 3px; width: 0%; -webkit-transition: width .4s ease; transition: width .4s ease; }
.ag-prog-pct { font-size: 13px; font-weight: 700; color: #22D3EE; min-width: 38px; text-align: right; }
/* 进度步骤 — 使用 margin 替代 gap */
.ag-prog-steps { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; -webkit-align-items: center; align-items: center; -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center; -webkit-flex-wrap: wrap; flex-wrap: wrap; }
.ag-pstep { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; flex-direction: column; -webkit-box-align: center; -webkit-align-items: center; align-items: center; margin: 0 8px 6px; }
.ag-pstep-icon { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; -webkit-align-items: center; align-items: center; -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center; font-size: 12px; font-weight: 700; color: rgba(255,255,255,.4); -webkit-transition: all .3s; transition: all .3s; margin-bottom: 6px; }
.ag-pstep-label { font-size: 12px; color: rgba(255,255,255,.35); }
.ag-pstep.on .ag-pstep-icon { background: rgba(8,145,178,.3); border-color: #22D3EE; color: #22D3EE; box-shadow: 0 0 12px rgba(34,211,238,.4); }
.ag-pstep.on .ag-pstep-label { color: #22D3EE; }
.ag-pstep.done .ag-pstep-icon { background: rgba(13,148,136,.3); border-color: #34D399; color: #34D399; }
.ag-pstep.done .ag-pstep-label { color: #34D399; }
.ag-pstep-arrow { font-size: 16px; color: rgba(255,255,255,.2); margin-bottom: 18px; }

/* 统计栏 — 使用 margin 替代 gap */
.ag-stats-bar { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; -webkit-align-items: center; align-items: center; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 14px 14px 0 0; padding: 16px 24px; -webkit-flex-wrap: wrap; flex-wrap: wrap; }
.ag-stat { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; flex-direction: column; margin-right: 12px; }
.ag-stat-label { font-size: 11px; color: rgba(255,255,255,.35); margin-bottom: 2px; }
.ag-stat-val { font-size: 15px; font-weight: 700; color: rgba(255,255,255,.8); }
.ag-stat-green { color: #34D399; }
.ag-stat-teal { color: #22D3EE; }
.ag-stat-sep { width: 1px; height: 32px; background: rgba(255,255,255,.08); -webkit-align-self: center; align-self: center; margin-right: 12px; }
.ag-stat-actions { margin-left: auto; display: -webkit-box; display: -webkit-flex; display: flex; }
.ag-act-btn { display: -webkit-inline-box; display: -webkit-inline-flex; display: inline-flex; -webkit-box-align: center; -webkit-align-items: center; align-items: center; padding: 7px 14px; border-radius: 8px; font-size: 13px; font-weight: 500; cursor: pointer; border: 1px solid transparent; -webkit-transition: all .2s; transition: all .2s; margin-left: 8px; }
.ag-act-btn svg { width: 14px; height: 14px; margin-right: 5px; }
.ag-copy-btn { background: rgba(8,145,178,.15); border-color: rgba(34,211,238,.25); color: #22D3EE; }
.ag-copy-btn:hover { background: rgba(8,145,178,.25); }
.ag-reset-btn { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); color: rgba(255,255,255,.5); }
.ag-reset-btn:hover { background: rgba(255,255,255,.1); color: rgba(255,255,255,.8); }

/* 对比区 */
.ag-compare { display: -webkit-box; display: -webkit-flex; display: flex; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); border-top: none; border-radius: 0 0 14px 14px; min-height: 320px; }
.ag-compare-col { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; flex-direction: column; min-width: 0; }
.ag-col-header { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; -webkit-align-items: center; align-items: center; padding: 14px 20px; border-bottom: 1px solid rgba(255,255,255,.06); }
.ag-col-dot { width: 8px; height: 8px; border-radius: 50%; -webkit-flex-shrink: 0; flex-shrink: 0; margin-right: 8px; }
.ag-dot-gray { background: rgba(255,255,255,.3); }
.ag-dot-teal { background: #22D3EE; box-shadow: 0 0 8px rgba(34,211,238,.5); }
.ag-col-title { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.7); }
.ag-col-wc { font-size: 12px; color: rgba(255,255,255,.3); margin-left: auto; }
.ag-col-body { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; padding: 20px; font-size: 14px; line-height: 1.9; color: rgba(255,255,255,.65); white-space: pre-wrap; word-break: break-all; overflow-y: auto; }
.ag-col-res .ag-col-body { color: rgba(255,255,255,.85); }
.ag-compare-sep { width: 1px; background: rgba(255,255,255,.06); display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; flex-direction: column; -webkit-box-align: center; -webkit-align-items: center; align-items: center; -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center; -webkit-flex-shrink: 0; flex-shrink: 0; }
.ag-sep-line { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; width: 1px; background: rgba(255,255,255,.06); }
.ag-sep-arrow { padding: 8px 0; }
.ag-sep-arrow svg { width: 24px; height: 24px; display: block; }

/* 错误状态 */
.ag-error { text-align: center; padding: 48px 24px; }
.ag-error-icon { margin-bottom: 16px; }
.ag-error-icon svg { width: 48px; height: 48px; }
.ag-error-msg { font-size: 15px; color: rgba(255,255,255,.5); margin-bottom: 20px; }
.ag-retry-btn { padding: 11px 28px; background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.25); color: #f87171; border-radius: 10px; font-size: 14px; cursor: pointer; -webkit-transition: all .2s; transition: all .2s; }
.ag-retry-btn:hover { background: rgba(239,68,68,.22); }

.hidden { display: none !important; }

/* ---- 响应式 ---- */
@media(max-width: 768px) {
  .ag-hero { padding: 90px 16px 32px; }
  .ag-hero-title { font-size: 32px; }
  .ag-hero-sub { font-size: 14px; word-break: break-all; }
  /* 强度卡片：移动端3列 */
  .ag-level-row { margin-left: -6px; margin-right: -6px; }
  .ag-lv-card { min-width: 0; width: calc(33.3333% - 12px); margin: 6px; padding: 16px 10px; }
  .ag-lv-num { font-size: 18px; }
  .ag-lv-name { font-size: 13px; }
  .ag-lv-desc { font-size: 11px; }
  .ag-input-top { -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; flex-direction: column; -webkit-box-align: stretch; -webkit-align-items: stretch; align-items: stretch; padding: 14px 16px; }
  .ag-input-title { margin-bottom: 10px; }
  .ag-input-controls { -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; }
  .ag-input-bottom { -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; flex-direction: column; -webkit-box-align: stretch; -webkit-align-items: stretch; align-items: stretch; padding: 14px 16px; }
  .ag-input-tips { margin-bottom: 12px; }
  .ag-reduce-btn { width: 100%; -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center; }
  .ag-compare { -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; flex-direction: column; }
  .ag-compare-sep { width: 100%; height: 1px; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -webkit-flex-direction: row; flex-direction: row; }
  .ag-sep-line { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; height: 1px; width: auto; }
  .ag-stats-bar { padding: 12px 16px; }
  .ag-stat-actions { margin-left: 0; width: 100%; margin-top: 8px; }
  .ag-act-btn:first-child { margin-left: 0; }
}

/* ---- 教授评价区块 ---- */
.ag-review-wrap { max-width: 1100px; margin: 20px auto 0; padding: 0 24px 0; }
.ag-review-header { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; -webkit-align-items: center; align-items: center; background: rgba(245,158,11,.06); border: 1px solid rgba(245,158,11,.18); border-radius: 14px 14px 0 0; padding: 16px 20px; }
.ag-review-avatar { width: 40px; height: 40px; -webkit-flex-shrink: 0; flex-shrink: 0; margin-right: 14px; }
.ag-review-avatar svg { width: 40px; height: 40px; display: block; }
.ag-review-title-wrap { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; margin-right: 14px; }
.ag-review-title { display: block; font-size: 15px; font-weight: 700; color: #F59E0B; }
.ag-review-subtitle { display: block; font-size: 12px; color: rgba(245,158,11,.5); margin-top: 2px; }
.ag-review-btn { display: -webkit-inline-box; display: -webkit-inline-flex; display: inline-flex; -webkit-box-align: center; -webkit-align-items: center; align-items: center; padding: 9px 20px; background: rgba(245,158,11,.12); border: 1px solid rgba(245,158,11,.3); color: #F59E0B; border-radius: 9px; font-size: 13px; font-weight: 600; cursor: pointer; -webkit-transition: all .2s; transition: all .2s; white-space: nowrap; }
.ag-review-btn:hover { background: rgba(245,158,11,.22); }
.ag-review-btn:disabled { opacity: .5; cursor: not-allowed; }
.ag-review-btn svg { width: 14px; height: 14px; margin-right: 6px; }
.ag-review-body { background: rgba(255,255,255,.02); border: 1px solid rgba(245,158,11,.12); border-top: none; border-radius: 0 0 14px 14px; min-height: 80px; }
.ag-review-placeholder { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; -webkit-align-items: center; align-items: center; padding: 24px 20px; color: rgba(255,255,255,.25); font-size: 13px; }
.ag-review-placeholder svg { width: 18px; height: 18px; -webkit-flex-shrink: 0; flex-shrink: 0; margin-right: 10px; }
.ag-review-loading { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; -webkit-align-items: center; align-items: center; padding: 24px 20px; color: rgba(245,158,11,.6); font-size: 13px; }
.ag-review-spinner { width: 18px; height: 18px; border: 2px solid rgba(245,158,11,.2); border-top-color: #F59E0B; border-radius: 50%; -webkit-animation: ag-spin .8s linear infinite; animation: ag-spin .8s linear infinite; -webkit-flex-shrink: 0; flex-shrink: 0; margin-right: 12px; }
@-webkit-keyframes ag-spin { to { -webkit-transform: rotate(360deg); transform: rotate(360deg); } }
@keyframes ag-spin { to { -webkit-transform: rotate(360deg); transform: rotate(360deg); } }
.ag-review-content { padding: 20px 24px; font-size: 14px; line-height: 1.9; color: rgba(255,255,255,.75); white-space: pre-wrap; word-break: break-all; border-left: 3px solid rgba(245,158,11,.4); margin: 0; }
@media(max-width: 768px) {
  .ag-review-header { -webkit-flex-wrap: wrap; flex-wrap: wrap; }
  .ag-review-title-wrap { width: 100%; margin-right: 0; margin-bottom: 10px; }
  .ag-review-btn { width: 100%; -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center; }
}

/* ---- 页脚备案 ---- */
.ag-footer {
  text-align: center;
  padding: 16px 20px 20px;
  margin-top: 24px;
}
.ag-footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,.3);
  margin: 0 0 4px;
}
.ag-footer-beian a {
  font-size: 12px;
  color: rgba(255,255,255,.25);
  text-decoration: none;
}
.ag-footer-beian a:hover { color: rgba(255,255,255,.5); }
