/**
 * turnitin123 · FreeAi — interaction + chrome polish
 * Footer placeholders, CS float, motion, focus, density.
 */

/* ===== Footer: placeholders, no legacy logo ===== */
.footer-container,
.ewm-list {
  background:
    radial-gradient(700px 220px at 50% 0%, rgba(37, 99, 235, 0.06), transparent 70%),
    #f8fafc !important;
}

.ewm-list {
  display: flex !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: 28px !important;
  padding: 40px 20px 28px !important;
  margin: 0 !important;
  list-style: none !important;
}

.ewm-list li {
  margin: 0 !important;
  width: 160px !important;
  text-align: center !important;
}

.ewm-list li p {
  margin: 0 0 12px !important;
  font-family: "Manrope", "PingFang SC", sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #475569 !important;
  letter-spacing: 0.01em;
}

.qr-placeholder--filled .qr-placeholder__hint {
  display: none !important;
}

.ewm-list li picture,
.ewm-list li img,
.qr-placeholder img {
  width: 140px !important;
  height: 140px !important;
  object-fit: cover !important;
  border-radius: 14px !important;
  border: 1px solid #bfdbfe !important;
  background: #eff6ff !important;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.08) !important;
}

.qr-placeholder {
  position: relative;
  display: inline-grid;
  place-items: center;
}

.qr-placeholder__hint {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.55);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  pointer-events: none;
  white-space: nowrap;
}

.foot {
  padding: 14px 24px !important;
  background: #fff !important;
  border-top: 1px solid #e2e8f0 !important;
}

.foot .foot-content {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap;
  gap: 10px 20px !important;
  color: #64748b !important;
  font-size: 13px !important;
}

.foot-logo:not(.foot-logo-img) {
  display: none !important;
}

.foot-logo-link img.foot-logo-img {
  display: block !important;
  height: 40px !important;
  width: auto !important;
  max-width: 220px;
  object-fit: contain;
}

.foot-brand,
a.foot-logo-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  text-decoration: none !important;
  color: inherit !important;
}

.foot-brand.foot-logo-link::before,
.foot-brand.foot-logo-link::after {
  content: none !important;
  display: none !important;
}

.foot-brand__mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #1d4ed8, #2563eb 48%, #3b82f6);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28);
  flex-shrink: 0;
}

.foot-brand__text {
  font-family: "Sora", "Manrope", sans-serif !important;
  font-weight: 700 !important;
  font-size: 1.05rem !important;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #1d4ed8, #2563eb 48%, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.foot .beian,
.footer-company-name,
.footer-company-toggle {
  color: #64748b !important;
  text-decoration: none !important;
}

.foot .beian:hover,
.footer-company-toggle:hover {
  color: #2563eb !important;
}

.footer-company-profile {
  color: #94a3b8 !important;
}

/* ===== Floating CS (replace coral PNG) ===== */
.float-right {
  right: 22px !important;
  bottom: 28px !important;
  display: grid !important;
  gap: 10px !important;
  padding: 0 !important;
  margin: 0 !important;
}

.float-right li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
}

.float-right li:first-child {
  display: none !important;
}

.float-right li img,
.float-right .float-cs-btn {
  width: 56px !important;
  height: 56px !important;
  border-radius: 50% !important;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.32) !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease !important;
  display: block !important;
  margin: 0 auto !important;
}

.float-right li:hover img,
.float-right li:hover .float-cs-btn {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.4) !important;
}

.float-right li p {
  margin: 8px 0 0 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #2563eb !important;
  letter-spacing: 0.02em;
}

.float-right-expand {
  background: #2563eb !important;
  color: #fff !important;
  border-radius: 999px 0 0 999px !important;
  bottom: 120px !important;
  font-weight: 700 !important;
}

/* CS modal */
.fa-cs-panel[hidden] {
  display: none !important;
}

.fa-cs-panel {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: grid;
  place-items: center;
  padding: 20px;
}

.fa-cs-panel__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(3px);
}

.fa-cs-panel__dialog {
  position: relative;
  width: min(440px, 100%);
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.22);
  overflow: hidden;
  animation: fa-cs-in 0.22s ease;
}

@keyframes fa-cs-in {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.fa-cs-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 12px;
  border-bottom: 1px solid #e2e8f0;
}

.fa-cs-panel__eyebrow {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2563eb;
}

.fa-cs-panel__head h2 {
  margin: 0;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.fa-cs-panel__close {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: #f1f5f9;
  color: #475569;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.fa-cs-panel__close:hover {
  background: #dbeafe;
  color: #1d4ed8;
}

.fa-cs-panel__body {
  padding: 18px 20px 22px;
}

.fa-cs-panel__hint {
  margin: 0 0 16px;
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

.fa-cs-panel__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.fa-cs-panel__slot {
  margin: 0;
  text-align: center;
}

.fa-cs-panel__slot img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
}

.fa-cs-panel__slot figcaption {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
}

html.fa-cs-open,
html.fa-cs-open body {
  overflow: hidden;
}

/* ===== Shared interaction polish ===== */
button,
.btn,
.login-btn,
.unified-btn,
.el-button,
a.login-btn {
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.15s ease, background 0.2s ease !important;
}

button:active:not(:disabled),
.btn:active:not(:disabled),
.login-btn:active,
.unified-btn:active {
  transform: translateY(1px) scale(0.99);
}

:focus-visible {
  outline: 2px solid #3b82f6 !important;
  outline-offset: 2px !important;
}

.feature-card,
.card:not([data-v-5f6bc25f]),
.panel,
.pricing-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
}

.item,
.menu-item,
.nav-item,
.head-nav-list a {
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease !important;
}

input,
textarea,
.input-field,
.el-input__inner {
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease !important;
}

@media (max-width: 768px) {
  .ewm-list {
    gap: 12px !important;
    padding: 28px 12px 20px !important;
  }

  .ewm-list li {
    width: 30% !important;
    min-width: 96px;
  }

  .ewm-list li img,
  .qr-placeholder img {
    width: 88px !important;
    height: 88px !important;
  }

  .float-right {
    right: 12px !important;
    bottom: 88px !important;
  }

  .float-right li p {
    display: none !important;
  }

  .fa-cs-panel__grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}


/* Real logo in footer / nav — wide wordmark logonew.svg */
.foot-logo-img,
.site-logo-img {
  display: block !important;
  height: 44px !important;
  width: auto !important;
  max-width: 240px;
  object-fit: contain;
}
.foot-brand:has(.foot-logo-img) .foot-brand__mark,
.foot-brand:has(.foot-logo-img) .foot-brand__text {
  display: none !important;
}
.head-nav .nav .site-logo img.site-logo-img {
  display: block !important;
  height: 44px !important;
  width: auto !important;
  max-width: 240px;
}
.head-nav .nav .site-logo:has(img.site-logo-img)::before,
.head-nav .nav .site-logo:has(img.site-logo-img)::after {
  display: none !important;
  content: none !important;
}

/* SPA brand title is inside brand-link → /V4/ */
.brand-link {
  text-decoration: none !important;
  cursor: pointer;
}
.brand-link .title,
.brand .title {
  cursor: pointer;
}

/* ===== Detection workspace (Turnitin查重) — blue system, aligned tip ===== */
.workspace.card {
  border: 1px solid #bfdbfe !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.08) !important;
  background: #fff !important;
}

.ws-head {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 12px 16px !important;
  padding: 18px 22px !important;
  border-bottom: 1px solid #eff6ff !important;
  background: linear-gradient(180deg, #f8fbff 0%, #fff 100%) !important;
}

.ws-title-bar {
  background: linear-gradient(180deg, #2563eb, #1d4ed8) !important;
  width: 3px !important;
  height: 16px !important;
  border-radius: 2px !important;
}

.ws-title {
  color: #0f172a !important;
  font-weight: 700 !important;
}

.btn-upload {
  border: 1px solid #93c5fd !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #1d4ed8 !important;
  font-weight: 600 !important;
  padding: 8px 14px !important;
}

.btn-upload:hover {
  background: #eff6ff !important;
  border-color: #2563eb !important;
  color: #1e40af !important;
}

.ws-tip {
  flex: 1 1 220px !important;
  margin: 0 !important;
  color: #64748b !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
}

.page-title {
  font-family: "Sora", "Manrope", "PingFang SC", sans-serif !important;
  color: #0f172a !important;
  letter-spacing: -0.02em;
}

/* 定价页：销售站统一深蓝体系（去掉红/粉/紫撞色） */
.pricing-page {
  font-family: "Manrope", "PingFang SC", "Microsoft YaHei", sans-serif !important;
  --sales-ink: #0f172a;
  --sales-muted: #64748b;
  --sales-line: #e2e8f0;
  --sales-soft: #f1f5f9;
  --sales-brand: #1d4ed8;
  --sales-brand-2: #2563eb;
  --sales-tint: #eff6ff;
}
.pricing-page .header-section {
  margin-bottom: 28px !important;
}
.pricing-page .page-title {
  font-size: 22px !important;
  font-weight: 700 !important;
  color: var(--sales-ink) !important;
  margin: 0 0 8px !important;
}
.pricing-page .page-subtitle {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--sales-muted) !important;
  line-height: 1.55 !important;
  max-width: 36em;
  margin: 0 auto !important;
}

/* 品类 Tab：白底描边选中，不再红左边线 */
.pricing-page .tabs,
.pricing-panel .tabs {
  background: var(--sales-soft) !important;
  border: 1px solid var(--sales-line) !important;
  border-radius: 14px !important;
  padding: 5px !important;
  gap: 6px !important;
}
.pricing-page .tab-item,
.pricing-panel .tab-item {
  border: 1px solid transparent !important;
  border-left: 1px solid transparent !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 10px !important;
}
.pricing-page .tab-item.active,
.pricing-panel .tab-item.active {
  background: #fff !important;
  border-color: #bfdbfe !important;
  border-left-color: #2563eb !important;
  border-left-width: 3px !important;
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.08) !important;
}
.pricing-page .tab-item.active[style],
.pricing-panel .tab-item.active[style] {
  border-left-color: #2563eb !important;
}
.pricing-page .tab-item.active .tab-title,
.pricing-panel .tab-item.active .tab-title {
  color: var(--sales-brand) !important;
  font-weight: 700 !important;
}
.pricing-page .tab-item .tab-desc,
.pricing-panel .tab-item .tab-desc {
  color: var(--sales-muted) !important;
}
.pricing-page .tab-item svg,
.pricing-panel .tab-item svg {
  color: var(--sales-brand-2) !important;
}

/* 支付方式条 */
.pricing-page .payment-support-banner,
.pricing-panel .payment-support-banner {
  color: var(--sales-muted) !important;
  font-weight: 500 !important;
}

/* 价格卡 */
.pricing-page .card,
.pricing-panel .card {
  border: 1px solid var(--sales-line) !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05) !important;
  background: #fff !important;
}
.pricing-page .card:hover,
.pricing-panel .card:hover {
  border-color: #93c5fd !important;
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.12) !important;
  transform: translateY(-2px);
}
.pricing-page .card.highlight,
.pricing-panel .card.highlight {
  border: 1.5px solid var(--sales-brand-2) !important;
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.14) !important;
}
.pricing-page .plan-title,
.pricing-panel .plan-title,
.pricing-page .plan-name,
.pricing-panel .plan-name {
  color: var(--sales-ink) !important;
  font-weight: 700 !important;
}

/* 角标：统一蓝灰，去掉粉紫渐变 */
.pricing-page .tag,
.pricing-panel .tag {
  background: var(--sales-tint) !important;
  color: var(--sales-brand) !important;
  border: 1px solid #bfdbfe !important;
  box-shadow: none !important;
  font-weight: 600 !important;
}
.pricing-page .highlight .tag,
.pricing-panel .highlight .tag {
  background: linear-gradient(135deg, #1d4ed8, #2563eb) !important;
  color: #fff !important;
  border-color: transparent !important;
}

/* 价格：深蓝主价，不再大红 */
.pricing-page .amount,
.pricing-panel .amount,
.pricing-page .currency,
.pricing-panel .currency,
.pricing-page .plan-price,
.pricing-panel .plan-price,
.pricing-page .order-price,
.pricing-panel .order-price {
  color: var(--sales-ink) !important;
}
.pricing-page .usd-price,
.pricing-panel .usd-price,
.pricing-page .usd-symbol,
.pricing-panel .usd-symbol,
.pricing-page .usd-amount,
.pricing-panel .usd-amount {
  color: var(--sales-muted) !important;
}
.pricing-page .unit,
.pricing-panel .unit,
.pricing-page .usd-unit,
.pricing-panel .usd-unit,
.pricing-page .original-price,
.pricing-panel .original-price,
.pricing-page .original-price-word,
.pricing-panel .original-price-word {
  color: #94a3b8 !important;
}
.pricing-page .price-divider,
.pricing-panel .price-divider {
  background: #cbd5e1 !important;
}

/* 境外信用卡提示：中性描边，去掉粉红警示感 */
.pricing-page .foreign-card-tip,
.pricing-panel .foreign-card-tip {
  color: var(--sales-muted) !important;
  background: #f8fafc !important;
  border: 1px solid var(--sales-line) !important;
}

/* CTA：统一品牌蓝 */
.pricing-page .btn-buy,
.pricing-panel .btn-buy,
.pricing-page .single-card .btn-buy,
.pricing-panel .single-card .btn-buy,
.pricing-page .highlight .btn-buy,
.pricing-panel .highlight .btn-buy,
.pricing-page .single-card .highlight .btn-buy,
.pricing-panel .single-card .highlight .btn-buy {
  background: linear-gradient(135deg, #1d4ed8, #2563eb) !important;
  background-color: #2563eb !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.22) !important;
  font-weight: 700 !important;
}
.pricing-page .btn-buy:hover,
.pricing-panel .btn-buy:hover {
  filter: brightness(1.04);
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.28) !important;
}
.pricing-page .card-footer,
.pricing-panel .card-footer {
  color: var(--sales-muted) !important;
}
.pricing-page .card-footer .check-icon,
.pricing-panel .card-footer .check-icon {
  color: #059669 !important;
}

/* 底部说明：浅底深字，不再大块亮蓝 */
.pricing-page .tab-info-box,
.pricing-panel .tab-info-box,
.pricing-page .stdjiangai .tab-info-box,
.pricing-panel .stdjiangai .tab-info-box {
  background: linear-gradient(180deg, #f8fbff 0%, #f1f5f9 100%) !important;
  border: 1px solid #dbeafe !important;
  border-radius: 14px !important;
  box-shadow: none !important;
  color: var(--sales-ink) !important;
}
.pricing-page .tab-info-box .tab-info-list,
.pricing-panel .tab-info-box .tab-info-list,
.pricing-page .tab-info-box .tab-info-list li,
.pricing-panel .tab-info-box .tab-info-list li {
  color: #334155 !important;
}
.pricing-page .tab-info-box .pin,
.pricing-panel .tab-info-box .pin {
  background: #fff !important;
  color: var(--sales-brand) !important;
  border: 1px solid #bfdbfe !important;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}

/* 弹窗 / 支付确认：去掉红蓝渐变 */
.pricing-page .btn-confirm,
.pricing-panel .btn-confirm,
.pricing-page .btn-popover-refresh,
.pricing-panel .btn-popover-refresh,
.pricing-page .btn-stripe-pay,
.pricing-panel .btn-stripe-pay,
.pricing-page .h5-pay-btn,
.pricing-panel .h5-pay-btn {
  background: linear-gradient(135deg, #1d4ed8, #2563eb) !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.2) !important;
}
.pricing-page .coupon-link,
.pricing-panel .coupon-link,
.pricing-page .discount-tip,
.pricing-panel .discount-tip,
.pricing-page .modal-title .icon,
.pricing-panel .modal-title .icon {
  color: var(--sales-brand) !important;
}
.pricing-page .progress-fill,
.pricing-panel .progress-fill,
.pricing-page .gradient-1,
.pricing-panel .gradient-1,
.pricing-page .gradient-2,
.pricing-panel .gradient-2,
.pricing-page .gradient-3,
.pricing-panel .gradient-3 {
  background: linear-gradient(90deg, #1d4ed8, #3b82f6) !important;
}

/* 邀请条：可读对比度，销售向 CTA */
.promotion-banner {
  background: linear-gradient(90deg, #0f172a 0%, #1e3a8a 55%, #1d4ed8 100%) !important;
  color: #f8fafc !important;
  border: 0 !important;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18) !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
}
.promotion-banner a,
.promotion-banner .invite-link {
  color: #93c5fd !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  margin-left: 6px;
}
.promotion-banner a:hover {
  color: #fff !important;
}

.page-desc {
  color: #64748b !important;
}

.notes-card {
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  background: #fff !important;
}

.notes-title {
  color: #1d4ed8 !important;
}

.check-tag {
  border: 1px solid #e2e8f0 !important;
  background: #f8fafc !important;
  color: #64748b !important;
  border-radius: 10px !important;
}

.check-tag.active {
  background: #eff6ff !important;
  border-color: #93c5fd !important;
  color: #1d4ed8 !important;
}

.check-tag.active svg {
  color: #2563eb !important;
}

.footer .submit,
button.submit {
  background: linear-gradient(135deg, #1d4ed8, #2563eb) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.22) !important;
}

.usage-info .num {
  color: #2563eb !important;
}

.btn-buy {
  background: linear-gradient(135deg, #1d4ed8, #3b82f6) !important;
  border-radius: 12px !important;
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.2) !important;
}

.file-name,
.file-icon {
  color: #2563eb !important;
}

.modal-title {
  color: #0f172a !important;
}

.btn-confirm {
  background: linear-gradient(135deg, #1d4ed8, #2563eb) !important;
}

/* ===== Jiangai / detection: user comments fill width evenly ===== */
.reduce-main .reduce-user-comments {
  padding: 28px 0 40px !important;
}

.reduce-main .reduce-user-comments .main-content {
  width: min(1180px, calc(100% - 32px)) !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}

.reduce-main .reduce-user-comments .reduce-diff-title {
  margin: 0 0 18px !important;
}

.reduce-main .reduce-user-comments .reduce-comments-list {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px 16px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  flex-wrap: unset !important;
}

.reduce-main .reduce-user-comments .reduce-comments-list li {
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  min-height: 108px !important;
  margin: 0 !important;
  padding: 16px 16px 18px !important;
  border-radius: 12px !important;
  background: #f4faff !important;
  box-sizing: border-box !important;
  border: 1px solid #e8f2fb;
}

.reduce-main .reduce-user-comments .reduce-comments-list li .user-info {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 10px !important;
}

.reduce-main .reduce-user-comments .reduce-comments-list li .comments-content {
  margin-top: 10px !important;
  line-height: 1.55 !important;
  color: #475569 !important;
}

/* Case compare: less dead space, balanced columns */
@media (min-width: 769px) {
  .reduce-case-content .reduce-case-list.active {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0 72px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .reduce-case-content .reduce-case-list li {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
  }
}

@media (max-width: 1100px) and (min-width: 769px) {
  .reduce-main .reduce-user-comments .reduce-comments-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 768px) {
  .reduce-main .reduce-user-comments .reduce-comments-list {
    grid-template-columns: 1fr !important;
  }

  /* Jiangai SPA mobile: align with detection (stack, full-width actions) */
  .page .content-wrapper {
    height: auto !important;
    overflow: visible !important;
  }

  .page .content-wrapper > .grid {
    display: flex !important;
    flex-direction: column-reverse !important;
    height: auto !important;
    min-height: 0 !important;
    gap: 16px !important;
  }

  .page .content-wrapper > .grid:first-child,
  .page .content-wrapper > .grid:nth-child(2) {
    height: auto !important;
    min-height: 0 !important;
  }

  .page .title,
  .page .desc {
    max-width: 100% !important;
    word-break: break-word !important;
    padding: 0 4px !important;
  }

  .page .workspace.card,
  .page .notes-card {
    min-height: 0 !important;
    height: auto !important;
  }

  .page .workspace .editor {
    min-height: 220px !important;
  }

  .page .workspace .editor textarea.input,
  .page .workspace .editor textarea.textarea {
    min-height: 180px !important;
  }

  .page .workspace .footer {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    gap: 14px !important;
    height: auto !important;
    padding: 14px 16px !important;
  }

  .page .workspace .btn-group {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    align-items: stretch !important;
    gap: 12px !important;
  }

  .page .workspace .count {
    width: 100% !important;
    text-align: center !important;
    order: -1 !important;
  }

  .page .workspace .btn-buy,
  .page .workspace .btn.submit,
  .page .workspace label.upload {
    width: 100% !important;
    justify-content: center !important;
    margin: 0 !important;
    order: unset !important;
  }

  #t123-jiangai-file-card {
    margin: 0 12px 12px !important;
  }
}
