/* ==========================================================================
   Analyseur de master (www/analyzer), 09/11/2026
   S'appuie sur booking-page.css (bk-*) et mastering-page.css (ms-card) ; angles droits comme le reste du site.
   ========================================================================== */

.an-main { padding-bottom: 40px; }
.an-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 8px 0 28px; padding: 0; list-style: none; }
.an-feats li { padding: 16px 18px; background: var(--bk-surface); border: 1px solid var(--bk-line); }
.an-feats strong { display: block; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.an-feats span { display: block; margin-top: 6px; font-size: 13px; line-height: 1.55; color: #d6d6d6; }

/* --- Accès --- */
.an-gate { margin: 0 0 28px; padding: 34px 24px; text-align: center; background: var(--bk-surface); border: 1px solid var(--bk-line); }
.an-gate h3 { font-size: 22px; }
.an-gate p { max-width: 620px; margin: 10px auto 0; font-size: 14px; line-height: 1.6; color: #d6d6d6; }
.an-gate-wait { color: var(--bk-muted) !important; }
.an-lock { width: 46px; height: 46px; margin: 0 auto 14px; color: #fff; }
.an-lock svg { width: 100%; height: 100%; }
.an-gate-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }

/* --- Outil --- */
.an-drop { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 44px 20px; text-align: center; border: 2px dashed var(--bk-line); cursor: pointer; transition: border-color .25s, background-color .25s; }
.an-drop b { font-size: 18px; letter-spacing: .04em; }
.an-drop span { font-size: 13px; color: var(--bk-muted); }
.an-drop:hover, .an-drop.is-over { border-color: #fff; background: rgba(255, 255, 255, .04); }
.an-status { min-height: 1.4em; margin: 12px 0 0; font-size: 14px; color: #d6d6d6; }
.an-private { margin: 4px 0 0; font-size: 12px; color: var(--bk-muted); }

.an-top { display: grid; grid-template-columns: 150px minmax(0, 1fr) 280px; gap: 22px; align-items: start; margin: 22px 0 16px; padding: 22px; background: var(--bk-surface); border: 1px solid var(--bk-line); }
.an-score { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 140px; height: 140px; border: 6px solid var(--c); }
.an-score b { font-size: 46px; line-height: 1; color: var(--c); }
.an-score span { color: var(--bk-muted); }
.an-name { margin: 0; font-size: 12px; color: var(--bk-muted); word-break: break-word; }
.an-style { margin: 8px 0 0; font-size: 13px; }
.an-style select { margin-left: 6px; padding: 5px 8px; font: inherit; color: #fff; background: #111; border: 1px solid var(--bk-line); border-radius: 0; }
.an-style small { display: block; margin-top: 4px; color: var(--bk-muted); }
.an-verdict h3 { margin: 12px 0 6px; font-size: 22px; }
.an-verdict p { font-size: 14px; line-height: 1.6; color: #d6d6d6; }
.an-ok h3, .an-mixlight h3 { color: #3fb871; }
.an-master h3 { color: #d08a45; }
.an-mix h3 { color: #4f8fd1; }
.an-both h3 { color: #a46be0; }
.an-cta { margin-top: 16px !important; }
.an-cta .bk-btn { white-space: normal; text-align: left; }
.an-cta small { display: block; margin-top: 8px; font-size: 12px; color: var(--bk-muted); }
.an-cat { position: relative; margin-bottom: 11px; }
.an-cat span { display: block; padding-right: 64px; font-size: 12px; color: #d6d6d6; }
.an-cat b { position: absolute; top: 0; right: 0; font-size: 12px; }
.an-cat i { display: block; height: 6px; margin-top: 4px; background: #333; }
.an-cat i::before { content: ''; display: block; width: var(--p); height: 100%; background: #c98a4b; }

.an-nums { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-bottom: 22px; }
.an-num { padding: 10px 12px; background: var(--bk-surface); border: 1px solid var(--bk-line); border-left: 4px solid #555; }
.an-num span { display: block; font-size: 11px; color: var(--bk-muted); }
.an-num b { display: block; font-size: 17px; }
.an-num small { display: block; font-size: 11px; color: #8c8d8c; }
.an-num.ok { border-left-color: #3fb871; }
.an-num.warn { border-left-color: #d9a441; }
.an-num.bad { border-left-color: #e0524f; }

.an-h { margin: 26px 0 10px; font-size: 16px; }
.an-h small { display: block; margin-top: 4px; font-size: 12px; font-weight: 400; line-height: 1.5; color: var(--bk-muted); }
.an-graph { display: block; width: 100%; height: auto; cursor: crosshair; }
.an-player { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; font-size: 13px; }
#an-hover { margin-left: auto; font-size: 12px; color: var(--bk-muted); }
.an-btn { padding: 7px 12px; font: inherit; font-size: 13px; color: #fff; background: transparent; border: 1px solid var(--bk-line); border-radius: 0; cursor: pointer; }
.an-btn:hover { border-color: #fff; }
.an-btn-s { padding: 3px 8px; font-size: 12px; }

.an-issues { margin: 0; padding: 0; list-style: none; }
.an-iss { margin: 0 0 10px; padding: 14px 16px; background: var(--bk-surface); border: 1px solid var(--bk-line); border-left: 4px solid #555; }
.an-iss.sev3 { border-left-color: #e0524f; }
.an-iss.sev2 { border-left-color: #d9a441; }
.an-iss.sev1 { border-left-color: #8c8d8c; }
.an-iss-h { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.an-iss p { margin: 8px 0 0; font-size: 14px; line-height: 1.6; color: #d6d6d6; }
.an-kind { padding: 2px 8px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--k); }
.an-sev { font-size: 11px; color: var(--bk-muted); }
.an-fix { color: #fff !important; }
.an-at .an-btn { margin: 2px 4px 0 0; }
.an-again { margin-top: 18px; text-align: center; }

.an-more-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.an-more-grid a { color: #fff; text-decoration: underline; }

@media (max-width: 1023px) {
    .an-top { grid-template-columns: 1fr; }
    .an-score { width: 120px; height: 120px; }
}
@media (max-width: 700px) {
    .an-feats, .an-more-grid { grid-template-columns: 1fr; }
    .an-top { padding: 16px; }
    .an-drop { padding: 32px 14px; }
    #an-hover { display: none; }
}

/* Choix master / mix (09/11/2026) */
.an-mode { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 14px; padding: 0; border: 0; }
.an-mode legend { grid-column: 1 / -1; margin-bottom: 8px; padding: 0; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--bk-muted); }
.an-mode-opt { position: relative; display: block; padding: 14px 16px 14px 44px; background: var(--bk-surface); border: 1px solid var(--bk-line); cursor: pointer; transition: border-color .2s, background-color .2s; }
.an-mode-opt input { position: absolute; top: 16px; left: 16px; width: 16px; height: 16px; margin: 0; accent-color: #fff; }
.an-mode-opt b { display: block; font-size: 15px; }
.an-mode-opt span { display: block; margin-top: 4px; font-size: 12px; line-height: 1.5; color: var(--bk-muted); }
.an-mode-opt:hover { border-color: #8a8b8a; }
.an-mode-opt:has(input:checked) { border-color: #fff; background: #2c2c2c; }
.an-modetag { margin: 10px 0 0 !important; font-size: 11px !important; letter-spacing: .18em; text-transform: uppercase; color: var(--bk-muted) !important; }
.an-hint { margin-top: 10px !important; padding: 10px 12px; font-size: 13px !important; color: #fff !important; background: #2c2c2c; border-left: 3px solid #d9a441; }
.an-hint .an-btn { margin-left: 6px; }
@media (max-width: 700px) { .an-mode { grid-template-columns: 1fr; } }

/* 1.2 (11/11) : version courte (page Démo) + vue sans compte */
.an-lite { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 18px; align-items: start; margin-top: 14px; padding: 16px; background: var(--bk-surface); border: 1px solid var(--bk-line); }
.an-lite .an-score { width: 110px; height: 110px; border-width: 5px; } .an-lite .an-score b { font-size: 34px; }
.an-top3 { margin: 8px 0 0; padding-left: 18px; font-size: 14px; line-height: 1.6; color: #d6d6d6; }
.an-sent { margin-top: 10px !important; font-size: 13px !important; color: #3fb871 !important; } .an-sent a { color: #fff; }
.an-more-card { margin: 18px 0 0; padding: 18px 20px; background: #2c2c2c; border: 1px solid #fff; }
.an-more-card h4 { font-size: 17px; } .an-more-card p { margin-top: 8px; font-size: 14px; color: #d6d6d6; } .an-more-card .bk-btn { margin: 6px 8px 0 0; }
.an-mode-s { margin-bottom: 10px; } .an-mode-s .an-mode-opt { padding: 10px 14px 10px 40px; } .an-mode-s .an-mode-opt input { top: 12px; }
.dm-check-body { min-width: 0; } /* une seule case de la grille de l’étape (colonne de droite), comme .bk-fields */
.dm-check .an-drop { padding: 26px 16px; }
@media (max-width: 600px) { .an-lite { grid-template-columns: 1fr; } .an-lite .an-score { width: 90px; height: 90px; } }
