/* ==========================================================================
   Mastering auto (www/auto-mastering), 11/11/2026 : s'appuie sur booking-page.css (bk-*), mastering-page.css (ms-*),
   demo-page.css (bandeau dm-an) et analyzer-page.css (zone de dépôt, note, boutons an-*). Angles droits.
   ========================================================================== */
.amp-free { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin: 4px 0 22px; padding: 16px 20px; background: linear-gradient(120deg, #1f3a2a, #1b1b1b 70%); border: 1px solid #3fb871; }
.amp-free b { font-size: 20px; color: #3fb871; letter-spacing: .02em; }
.amp-free span { font-size: 14px; color: #d6d6d6; }
.amp-tool { margin-bottom: 10px; }
.amp-set { margin-top: 16px; padding: 18px 20px; background: var(--bk-surface); border: 1px solid var(--bk-line); }
.amp-style { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-weight: 700; }
.amp-style select { padding: 7px 10px; font: inherit; font-weight: 400; color: #fff; background: #111; border: 1px solid var(--bk-line); border-radius: 0; }
.amp-warn { margin-top: 12px !important; padding: 10px 12px; font-size: 13px !important; color: #fff !important; background: #2c2c2c; border-left: 3px solid #d9a441; }
.amp-first { margin: 12px 0 14px !important; padding: 10px 12px; font-size: 13px !important; color: #d6d6d6 !important; background: #222; border-left: 3px solid #fff; }
.amp-out { margin-top: 18px; padding: 20px; background: var(--bk-surface); border: 1px solid var(--bk-line); }
.am-head { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 18px; align-items: center; }
.am-head .an-score { width: 110px; height: 110px; border-width: 5px; } .am-head .an-score b { font-size: 34px; }
.am-head h3 { margin: 4px 0; font-size: 22px; } .am-head p { font-size: 14px; color: #d6d6d6; }
.am-ab { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0 8px; font-size: 13px; }
.am-ab .an-btn.is-on { color: #0d0e0d; background: #fff; border-color: #fff; }
.am-seg { display: inline-flex; } .am-seg .an-btn + .an-btn { border-left: 0; }
.am-match, .am-orig { display: inline-flex; align-items: center; gap: 5px; color: #d6d6d6; cursor: pointer; }
.am-orig { padding: 6px 10px; font-weight: 700; color: #fff; border: 1px solid var(--bk-line); } .am-orig:has(input:checked) { background: #2c2c2c; border-color: #fff; }
#am-seek { flex: 1; min-width: 160px; accent-color: #fff; }
.am-wmnote { margin: 4px 0 0 !important; padding: 8px 12px; font-size: 13px !important; color: #fff !important; background: #2c2c2c; border-left: 3px solid #d9a441; }
.am-cmp { width: auto; margin: 14px 0; border-collapse: collapse; font-size: 13px; }
.am-cmp th, .am-cmp td { padding: 6px 14px 6px 0; text-align: left; border-bottom: 1px solid var(--bk-line); color: #d6d6d6; }
.am-cmp td.b { color: #fff; font-weight: 700; }
.am-adj { margin: 14px 0; padding: 14px 16px; background: #222; border: 1px solid var(--bk-line); }
.am-adj p { margin: 0 0 8px; font-size: 14px; } .am-adj small { color: var(--bk-muted); }
.am-adj-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 6px 0; }
.am-adj-l { width: 74px; font-size: 13px; font-weight: 700; } .am-adj-row .an-btn { min-width: 150px; } .am-adj-v { min-width: 24px; font-weight: 700; color: #d08a45; }
.am-dl { margin-top: 16px; padding: 16px 18px; background: #2c2c2c; border: 1px solid #fff; }
.am-dl h4 { font-size: 17px; } .am-dl p { margin-top: 8px; font-size: 14px; color: #d6d6d6; } .am-dl .bk-btn { margin: 6px 8px 0 0; }
.am-dl-btns { display: flex; flex-wrap: wrap; gap: 8px; } .am-free { color: #3fb871 !important; font-size: 13px !important; }
.amp-prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.amp-price { position: relative; padding: 34px 20px 20px; background: var(--bk-surface); border: 1px solid var(--bk-line); }
.amp-price.is-best { border-color: #fff; }
.amp-badge { position: absolute; top: 0; left: 0; right: 0; padding: 5px 10px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-align: center; color: #0d0e0d; background: #3fb871; }
.amp-price h4 { font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
.amp .amp-amount { margin: 10px 0 0 !important; font-size: 34px !important; line-height: 1.1; font-weight: 700; color: #fff; text-decoration: line-through; text-decoration-color: rgba(63, 184, 113, .9); text-decoration-thickness: 2px; }
.amp-ht { margin: 2px 0 10px !important; font-size: 12px !important; color: var(--bk-muted) !important; }
.amp .amp-price p:not(.amp-amount):not(.amp-ht) { font-size: 13px; line-height: 1.55; color: #d6d6d6; }
.amp-vat { margin-top: 12px; font-size: 12px; line-height: 1.6; color: var(--bk-muted); }
@media (max-width: 900px) { .amp-prices { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .am-head { grid-template-columns: 1fr; } .am-head .an-score { width: 90px; height: 90px; } .am-adj-row .an-btn { min-width: 0; flex: 1; } .am-adj-l { width: 100%; } }
/* bandeau « mastering à l'oreille » : sans la note à gauche (2 colonnes au lieu de 3) */
.amp .dm-an { grid-template-columns: minmax(0, 1fr) auto; }
@media (max-width: 1023px) { .amp .dm-an { grid-template-columns: 1fr; } }
/* abonnements (1.1, 11/11/2026) */
.amp-cta { margin-top: 14px; } .amp-cta .bk-btn { width: 100%; justify-content: center; }
.amp-cta small { display: block; margin-top: 8px; font-size: 11px; line-height: 1.5; color: var(--bk-muted); }
.amp .amp-soon { margin-top: 14px !important; font-size: 12px !important; color: #3fb871 !important; }
.amp .amp-mine { margin-top: 14px !important; padding: 8px 10px; font-size: 13px !important; font-weight: 700; text-align: center; color: #0d0e0d !important; background: #3fb871; }
.amp-substate { margin: 0 0 14px; padding: 14px 18px; background: #1f3a2a; border: 1px solid #3fb871; }
.amp-substate p { margin: 0 0 10px !important; font-size: 14px !important; line-height: 1.6; color: #fff !important; }
.amp .amp-late { color: #ffb4a8 !important; }
/* mode EP / album (1.2, 12/11/2026) */
.amp-mode { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 0 12px; }
.amp-mode button { display: flex; flex-direction: column; gap: 3px; padding: 12px 16px; font: inherit; text-align: left; color: #d6d6d6; background: var(--bk-surface); border: 1px solid var(--bk-line); border-radius: 0; cursor: pointer; transition: border-color .2s, background .2s; }
.amp-mode button b { font-size: 15px; color: #fff; } .amp-mode button small { font-size: 12px; color: #a7a8a7; }
.amp-mode button:hover { border-color: #8a8b8a; }
.amp-mode button.is-on { background: #1f3a2a; border-color: #3fb871; } .amp-mode button.is-on small { color: #cfe9d8; }
.amp-eplist { margin: 14px 0 6px; padding: 0 0 0 22px; font-size: 14px; color: #d6d6d6; }
.amp-eplist li { margin: 4px 0; } .amp-eplist b { color: #fff; font-weight: 700; } .amp-eplist span { margin-left: 8px; font-size: 12px; color: #a7a8a7; }
.am-epnow { margin: 4px 0 6px !important; font-size: 13px !important; color: #a7a8a7 !important; } .am-epnow b { color: #fff; }
.am-ep { width: 100%; } .am-ep tr.is-cur td { background: #1f3a2a; } .am-ep td b { color: #fff; }
.am-ep-n { max-width: 260px; overflow-wrap: anywhere; color: #fff !important; }
.am-ep-a { white-space: nowrap; text-align: right !important; } .am-ep-a .an-btn { margin-left: 4px; padding: 5px 9px; font-size: 12px; }
@media (max-width: 700px) {
  .amp-mode { grid-template-columns: 1fr; }
  .am-ep, .am-ep tbody, .am-ep tr, .am-ep td { display: block; } .am-ep tr:first-child { display: none; }
  .am-ep tr { padding: 10px 0; border-bottom: 1px solid var(--bk-line); } .am-ep td { padding: 2px 0 !important; border: 0 !important; }
  .am-ep-a { white-space: normal; text-align: left !important; } .am-ep-a .an-btn { margin: 6px 6px 0 0; }
}
/* historique des masters (1.3, 12/11/2026) */
.amp-again { margin: 12px 0 0 !important; padding: 12px 14px; font-size: 14px !important; color: #fff !important; background: #1f3a2a; border-left: 3px solid #3fb871; }
.amp-again .bk-btn { margin: 8px 8px 0 0; } .amp-again small { color: #cfe9d8; }
.amp-hist { margin: 10px 0 40px; }
.amp-hist-p { margin: -4px 0 12px !important; font-size: 13px !important; color: #a7a8a7 !important; }
.am-hist { width: 100%; } .am-hist small { display: block; font-size: 11px; color: #a7a8a7; }
@media (max-width: 700px) {
  .am-hist, .am-hist tbody, .am-hist tr, .am-hist td { display: block; } .am-hist tr:first-child { display: none; }
  .am-hist tr { position: relative; padding: 10px 40px 10px 0; border-bottom: 1px solid var(--bk-line); } .am-hist td { padding: 1px 0 !important; border: 0 !important; }
  .am-hist .am-ep-a { position: absolute; top: 8px; right: 0; }
}
.am-share-p { margin: 10px 0 0 !important; } .am-share { font-weight: 700; }
/* progression (1.5, 12/11/2026) : barre rayée qui défile en continu = « ça travaille » */
.amp-prog { margin: 10px 0 4px; }
.amp-prog-bar { position: relative; height: 10px; overflow: hidden; background: #262726; }
.amp-prog-bar i { position: absolute; inset: 0 auto 0 0; width: 3%; background: repeating-linear-gradient(-45deg, #3fb871 0 12px, #2c7f50 12px 24px); background-size: 34px 34px; transition: width .6s ease; animation: ampStripes .8s linear infinite; }
@keyframes ampStripes { from { background-position: 0 0; } to { background-position: 34px 0; } }
.amp-prog p { margin: 7px 0 0 !important; font-size: 13px !important; color: #fff !important; }
.amp-eplist li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; padding: 3px 0; }
.amp-eplist .am-st { margin-left: auto; font-style: normal; font-size: 12px; color: #a7a8a7; }
.amp-eplist li.is-run .am-st, .amp-eplist li.is-fix .am-st { color: #fff; } .amp-eplist li.is-run .am-st::before, .amp-eplist li.is-fix .am-st::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 6px; border: 2px solid #3fb871; border-right-color: transparent; border-radius: 50%; vertical-align: -1px; animation: ampSpin .7s linear infinite; }
@keyframes ampSpin { to { transform: rotate(360deg); } }
.amp-eplist li.is-run b { color: #3fb871; } .amp-eplist li.is-ok .am-st { color: #3fb871; font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .amp-prog-bar i, .amp-eplist .am-st::before { animation: none; } }
/* écoute de l'EP (1.6) : bouton du titre en cours */
.am-ep-a .an-btn.is-on { color: #0d0e0d; background: #fff; border-color: #fff; font-weight: 700; }
.am-ep-a .an-btn.is-wait { color: #fff; border-color: #3fb871; }
/* Préparer son prémaster (15/11/2026) : deux colonnes « à faire » / « à éviter » */
.amp-prep { margin: 6px 0 10px; }
.amp .amp-prep-lead { margin: 0 0 14px !important; font-size: 14px; line-height: 1.6; color: #d6d6d6; }
.amp-prep-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.amp-prep-col { padding: 20px 20px 18px; background: var(--bk-surface); border: 1px solid var(--bk-line); border-top: 4px solid #3fb871; }
.amp-prep-col.is-dont { border-top-color: #d9a441; }
.amp-prep-col h4 { font-size: 15px; letter-spacing: .06em; text-transform: uppercase; }
.amp-prep-col ul { margin: 14px 0 0; padding: 0; list-style: none; }
.amp-prep-col li { position: relative; margin-top: 12px; padding-left: 26px; }
.amp-prep-col li::before { content: '✓'; position: absolute; left: 0; top: 0; font-weight: 700; color: #3fb871; }
.amp-prep-col.is-dont li::before { content: '✕'; color: #d9a441; }
.amp-prep-col li b { display: block; font-size: 14px; line-height: 1.4; color: #fff; }
.amp-prep-col li span { display: block; margin-top: 2px; font-size: 13px; line-height: 1.5; color: #d6d6d6; }
@media (max-width: 760px) { .amp-prep-cols { grid-template-columns: 1fr; } }
