/* Silence Cutter — style.css (v20261128c) */
* { box-sizing: border-box; }
/* The `hidden` attribute must win over class display rules (.btn,
   .wave-empty, canvas): without this, hidden buttons/placeholders stay
   visible — e.g. the waveform placeholder over the canvas and the
   keep-a-pause / MP3 buttons after a Pro unlock. */
[hidden] { display: none !important; }
body {
  margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #1c2130; background: #f4f6fb; line-height: 1.55;
}
.hero { background: #1f3864; color: #fff; padding: 28px 20px 24px; text-align: center; position: relative; }
.hero h1 { margin: 0 0 8px; font-size: 30px; line-height: 1.2; }
.hero .tagline { font-size: 17px; margin: 0 0 12px; opacity: .95; }
.hero .privacy { max-width: 760px; margin: 10px auto 0; font-size: 14px; line-height: 1.55; text-align: left; background: rgba(255,255,255,.1); border-radius: 10px; padding: 10px 14px; }
.lang-switch { position: absolute; top: 12px; right: 14px; display: flex; gap: 6px; }
.lang-switch button { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 5px 11px; font-size: 13px; cursor: pointer; }
.lang-switch button.active { background: #fff; color: #1f3864; font-weight: 700; }
main { max-width: 1020px; margin: 0 auto; padding: 20px 16px 40px; }
section { background: #fff; border-radius: 14px; padding: 20px 22px; margin: 0 0 18px; box-shadow: 0 1px 4px rgba(20,30,60,.08); }
h2 { margin: 0 0 12px; font-size: 21px; }
h3 { margin: 0 0 8px; font-size: 16px; }
.steps ol { margin: 0; padding-left: 8px; list-style: none; }
.steps li { margin: 8px 0; padding-left: 0; }
.steps .n { display: inline-block; width: 24px; height: 24px; line-height: 24px; text-align: center; border-radius: 50%; background: #2f6df6; color: #fff; font-size: 13px; font-weight: 700; margin-right: 8px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.btn { display: inline-block; padding: 9px 15px; border-radius: 9px; border: 1.5px solid #c6cad6; background: #fff; color: #1c2130; font-size: 14px; cursor: pointer; text-decoration: none; font-family: inherit; }
.btn:hover { border-color: #2f6df6; }
.btn.primary { background: #2f6df6; border-color: #2f6df6; color: #fff; font-weight: 600; }
.btn.primary:hover { background: #2458cc; }
.btn.big { padding: 12px 22px; font-size: 16px; }
.btn.small { padding: 7px 11px; font-size: 13px; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn.active { background: #1f3864; border-color: #1f3864; color: #fff; }
.drop-zone {
  border: 2px dashed #c6cad6; border-radius: 12px; background: #fbfcfe;
  padding: 26px 18px; text-align: center; cursor: pointer; margin-bottom: 12px;
}
.drop-zone:hover { border-color: #2f6df6; }
.drop-zone.dragging { border-color: #2f6df6; background: #eef4ff; outline: 3px dashed #2f6df6; outline-offset: 4px; }
.drop-zone .dz-icon { font-size: 34px; line-height: 1; margin-bottom: 6px; }
.drop-zone p { margin: 4px 0 0; font-size: 14px; color: #5a6070; }
.file-info { font-size: 14px; color: #333947; margin: 0 0 4px; min-height: 20px; word-break: break-word; }
.tune-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 14px; }
.slider-row label { display: flex; justify-content: space-between; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.slider-row label output { font-weight: 600; color: #2f6df6; }
.slider-row input[type="range"] { width: 100%; accent-color: #2f6df6; }
.slider-row .hint { font-size: 13px; color: #5a6070; margin: 4px 0 0; }
.keep-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; padding: 12px 14px; border: 1.5px solid #e3e6ee; border-radius: 10px; }
.keep-row label { font-weight: 700; font-size: 14px; display: flex; gap: 8px; align-items: center; cursor: pointer; }
.keep-row input[type="checkbox"] { width: 18px; height: 18px; accent-color: #2f6df6; }
.keep-row .hint { font-size: 13px; color: #5a6070; margin: 0; flex-basis: 100%; }
.wave-wrap { position: relative; margin-top: 16px; }
.wave-wrap canvas { width: 100%; height: 160px; display: block; border: 1.5px solid #e3e6ee; border-radius: 10px; background: #fbfcfe; }
.wave-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #8a90a0; font-size: 14px; pointer-events: none; }
.wave-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
.view-toggle { display: inline-flex; border: 1.5px solid #c6cad6; border-radius: 9px; overflow: hidden; }
.view-toggle button { border: 0; background: #fff; padding: 8px 14px; font-size: 13.5px; cursor: pointer; font-family: inherit; color: #1c2130; }
.view-toggle button.active { background: #1f3864; color: #fff; font-weight: 600; }
.legend { font-size: 13px; color: #5a6070; margin-left: auto; }
.legend .swatch { display: inline-block; width: 12px; height: 12px; border-radius: 3px; background: rgba(217,164,0,.45); vertical-align: -1px; margin: 0 4px 0 10px; }
.play-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.stats-line { font-size: 16px; font-weight: 700; color: #1f6b2e; margin: 14px 0 0; min-height: 24px; }
.gaps-line { font-size: 13.5px; color: #5a6070; margin: 2px 0 0; }
.export-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 16px; }
.export-row select { padding: 10px 12px; font-size: 14px; border-radius: 9px; border: 1.5px solid #c6cad6; background: #fff; font-family: inherit; }
.fmt-label { font-weight: 700; font-size: 14px; }
.status { font-size: 14px; color: #1f6b2e; min-height: 20px; }
.fine { font-size: 13.5px; color: #5a6070; margin: 8px 0 0; }
.pro-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pro-box { border: 1.5px solid #e3e6ee; border-radius: 12px; padding: 14px 16px; }
.pro-box p { font-size: 14px; color: #444a58; margin: 0 0 12px; }
.pro-badge { background: #e6f4ea; border: 1px solid #a8d5b0; color: #1f6b2e; border-radius: 8px; padding: 9px 12px; font-size: 14px; }
.pro ul { margin: 0 0 14px; padding-left: 22px; }
.pro li { margin: 5px 0; }
.pay-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.batch-list { list-style: none; margin: 12px 0 0; padding: 0; }
.batch-list li { font-size: 14px; padding: 8px 10px; border: 1px solid #e3e6ee; border-radius: 8px; margin-bottom: 6px; background: #fbfcfe; word-break: break-word; }
.batch-list li.batch-empty { color: #5a6070; border-style: dashed; }
.how figure { margin: 16px 0 4px; }
.how svg { width: 100%; height: auto; display: block; border: 1px solid #e3e6ee; border-radius: 10px; background: #fbfcfe; }
.how figcaption { font-size: 13.5px; color: #5a6070; margin-top: 8px; }
.how ol { margin: 0; padding-left: 22px; }
.how li { margin: 8px 0; }
.honest-note { background: #fff7e0; border: 1px solid #f0d48a; color: #6b5200; border-radius: 8px; padding: 10px 12px; font-size: 13.5px; margin-top: 14px; }
.faq h3 { margin-top: 16px; }
.faq p { margin: 4px 0 0; color: #333947; }
footer { text-align: center; font-size: 13.5px; color: #5a6070; padding: 10px 16px 30px; }
footer a { color: #2f6df6; }
@media (max-width: 760px) {
  .tune-grid { grid-template-columns: 1fr; }
  .pro-features { grid-template-columns: 1fr; }
  .hero h1 { font-size: 24px; }
  .lang-switch { position: static; justify-content: center; margin-bottom: 10px; }
  .legend { margin-left: 0; flex-basis: 100%; }
}
