/* Audio Silence Remover — ValSolution */
.asr-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 16px 56px;
}

.asr-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #0f3d3e 100%);
  color: #f8fafc;
  border-radius: 18px;
  padding: 28px 28px 24px;
  margin-bottom: 22px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
}
.asr-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.18);
  color: #6ee7b7;
  margin-bottom: 10px;
}
.asr-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(1.45rem, 2.6vw, 2.05rem);
  line-height: 1.22;
  color: #ffffff;
}
.asr-hero p {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.98rem;
  max-width: 780px;
  line-height: 1.55;
}

.asr-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 18px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.asr-dropzone {
  border: 2px dashed #94a3b8;
  border-radius: 14px;
  padding: 28px 18px;
  text-align: center;
  background: #f8fafc;
  transition: border-color 0.18s ease, background 0.18s ease;
  cursor: pointer;
}
.asr-dropzone.dragover {
  border-color: #0d9488;
  background: #f0fdfa;
}
.asr-drop-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 6px;
}
.asr-drop-sub {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0 0 14px;
}
.asr-drop-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.asr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 9px 15px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.asr-btn:hover:not(:disabled) {
  background: #f1f5f9;
  border-color: #94a3b8;
}
.asr-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.asr-btn-primary {
  background: #0d9488;
  border-color: #0d9488;
  color: #ffffff;
}
.asr-btn-primary:hover:not(:disabled) {
  background: #0f766e;
  border-color: #0f766e;
}
.asr-btn-dark {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}
.asr-btn-dark:hover:not(:disabled) {
  background: #1e293b;
  border-color: #1e293b;
}
.asr-btn-sm {
  padding: 6px 11px;
  font-size: 0.8rem;
  border-radius: 8px;
}

.asr-status {
  margin-top: 12px;
  padding: 9px 13px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  background: #f1f5f9;
  color: #334155;
  display: none;
}
.asr-status.show { display: block; }
.asr-status.ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.asr-status.warn { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.asr-status.err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

.asr-workspace[hidden] { display: none; }

.asr-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.asr-stat {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
}
.asr-stat-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  font-weight: 700;
  margin-bottom: 4px;
}
.asr-stat-val {
  font-size: 1.28rem;
  font-weight: 800;
  color: #0f172a;
}
.asr-stat-val.accent { color: #0d9488; }
.asr-stat-val.cut { color: #dc2626; }

.asr-presets {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.asr-presets-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #475569;
  margin-right: 4px;
}
.asr-preset-btn.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.asr-controls-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.asr-control {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
}
.asr-control-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-size: 0.83rem;
  font-weight: 700;
  color: #1e293b;
}
.asr-control-val {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #0d9488;
  font-weight: 700;
}
.asr-control input[type="range"] {
  width: 100%;
  accent-color: #0d9488;
  cursor: pointer;
}
.asr-control-hint {
  font-size: 0.74rem;
  color: #64748b;
  margin-top: 4px;
}

.asr-wave-box {
  background: #0f172a;
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 18px;
}
.asr-wave-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: #e2e8f0;
  font-size: 0.82rem;
}
.asr-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.asr-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.asr-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  display: inline-block;
}
.asr-dot.keep { background: #14b8a6; }
.asr-dot.cut { background: rgba(239, 68, 68, 0.72); }
.asr-canvas {
  width: 100%;
  height: 170px;
  display: block;
  border-radius: 8px;
  background: #0b1220;
  cursor: pointer;
}

.asr-players {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}
.asr-player-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
}
.asr-player-box h3 {
  margin: 0 0 8px;
  font-size: 0.9rem;
  color: #0f172a;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.asr-player-box audio {
  width: 100%;
  height: 38px;
}

.asr-export-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
}
.asr-export-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.asr-seg-table-wrap {
  max-height: 290px;
  overflow: auto;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}
.asr-seg-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}
.asr-seg-table th,
.asr-seg-table td {
  padding: 9px 12px;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}
.asr-seg-table th {
  position: sticky;
  top: 0;
  background: #f8fafc;
  font-weight: 700;
  color: #334155;
}
.asr-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
}
.asr-pill.keep { background: #ccfbf1; color: #115e59; }
.asr-pill.cut { background: #fee2e2; color: #991b1b; }

/* SEO Content Sections */
.asr-seo {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}
.asr-seo h2 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  color: #0f172a;
}
.asr-seo p, .asr-seo li {
  color: #334155;
  line-height: 1.65;
  font-size: 0.94rem;
}
.asr-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
}
.asr-benefit {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px;
}
.asr-benefit h3 {
  margin: 0 0 6px;
  font-size: 0.95rem;
  color: #0f172a;
}
.asr-benefit p {
  margin: 0;
  font-size: 0.86rem;
}
.asr-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.asr-related-card {
  display: block;
  text-decoration: none;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.asr-related-card:hover {
  border-color: #0d9488;
  transform: translateY(-2px);
}
.asr-related-card strong {
  display: block;
  color: #0f172a;
  margin-bottom: 4px;
  font-size: 0.94rem;
}
.asr-related-card span {
  display: block;
  color: #64748b;
  font-size: 0.83rem;
  line-height: 1.45;
}
.asr-faq details {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 10px;
  background: #f8fafc;
}
.asr-faq summary {
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  font-size: 0.93rem;
}
.asr-faq details p {
  margin: 8px 0 0;
  font-size: 0.89rem;
}

@media (max-width: 900px) {
  .asr-stats-grid,
  .asr-controls-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .asr-players,
  .asr-benefits-grid,
  .asr-related-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .asr-stats-grid,
  .asr-controls-grid {
    grid-template-columns: 1fr;
  }
  .asr-hero {
    padding: 22px 18px;
  }
}
