/* PADMARKET — feuille unique : base, connexion, tableau de bord, header. */
* { box-sizing: border-box; }
body { margin: 0; }
button, input { font: inherit; }
[hidden] { display: none !important; }

/* Connexion */
body.pm-login { font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#172842;background:#f3f6fb;font-synthesis:none }
:where(body.pm-login) * { box-sizing:border-box }
body.pm-login { margin:0 }
:where(body.pm-login) a { color:#1861c8;text-decoration:none }
:where(body.pm-login) main { max-width:1000px;margin:65px auto;padding:0 24px;display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center }
:where(body.pm-login) .eyebrow { font-size:12px;font-weight:750;letter-spacing:1.7px;color:#2868c9 }
:where(body.pm-login) h1 { font-size:43px;line-height:1.12;letter-spacing:-1.5px;margin:16px 0 }
:where(body.pm-login) aside p { color:#66748b;line-height:1.7;font-size:17px }
:where(body.pm-login) .benefits { padding:0;list-style:none;margin-top:30px }
:where(body.pm-login) .benefits li { margin:18px 0;font-size:15px }
:where(body.pm-login) .benefits span { display:inline-grid;place-items:center;background:#e2edff;color:#1f65cb;width:26px;height:26px;border-radius:50%;margin-right:10px }
:where(body.pm-login) .card { background:white;padding:32px;border:1px solid #e0e6f0;border-radius:22px;box-shadow:0 14px 45px #263d6510 }
:where(body.pm-login) h2 { font-size:25px;letter-spacing:-.6px;margin:0 0 8px }
:where(body.pm-login) .intro { font-size:14px;color:#718097;margin:0 0 26px;line-height:1.5 }
:where(body.pm-login) .field { margin:19px 0 }
:where(body.pm-login) label { display:block;font-size:14px;font-weight:650;margin-bottom:8px }
:where(body.pm-login) input { font:inherit;width:100%;padding:13px 14px;border:1px solid #cbd5e3;border-radius:10px;color:#172842;background:#fff }
:where(body.pm-login) input:focus { outline:3px solid #cfe1ff;border-color:#397cd6 }
:where(body.pm-login) input[aria-invalid=true] { border-color:#ce3e46 }
:where(body.pm-login) .password { position:relative }
:where(body.pm-login) .password input { padding-right:83px }
:where(body.pm-login) .toggle { position:absolute;right:6px;top:6px;bottom:6px;border:0;background:transparent;color:#2863b6;font-size:12px;cursor:pointer }
:where(body.pm-login) .hint, :where(body.pm-login) .error { font-size:12px;line-height:1.5;margin:7px 0 0 }
:where(body.pm-login) .hint { color:#718097 }
:where(body.pm-login) .error { color:#b72e37;min-height:18px }
:where(body.pm-login) .meter { height:5px;background:#edf0f5;border-radius:9px;margin-top:12px;overflow:hidden }
:where(body.pm-login) .meter div { height:100%;width:0;transition:width .2s;background:#d44848 }
:where(body.pm-login) .strength { font-size:12px;margin-top:7px;min-height:18px }
:where(body.pm-login) .submit { width:100%;padding:14px;border:0;border-radius:10px;background:#2469d1;color:white;font:inherit;font-weight:700;cursor:pointer;margin-top:6px }
:where(body.pm-login) .submit:hover { background:#1858b7 }
:where(body.pm-login) .submit:disabled { background:#b9c9df;cursor:not-allowed }
:where(body.pm-login) .login { text-align:center;font-size:13px;color:#718097;margin:20px 0 0 }
:where(body.pm-login) .steps { margin-top:25px;font-size:12px;color:#718097;line-height:1.6 }
:where(body.pm-login) .status { margin-top:18px;padding:14px;background:#edf4ff;border-radius:10px;font-size:14px;line-height:1.6 }
:where(body.pm-login) footer { text-align:center;color:#8490a3;font-size:12px;padding:20px }
:where(body.pm-login) .hidden { display:none }
@media(max-width:700px) {
:where(body.pm-login) main { display:block;margin:28px auto;padding:0 18px }
:where(body.pm-login) aside h1 { font-size:30px;max-width:400px }
:where(body.pm-login) aside p { font-size:15px;margin-bottom:24px }
:where(body.pm-login) .benefits { display:none }
:where(body.pm-login) .card { padding:25px 22px;border-radius:18px }
:where(body.pm-login) .eyebrow { font-size:11px }
:where(body.pm-login) .steps { margin-top:15px }
}
:where(body.pm-login) .result-main { display:block;max-width:580px }
:where(body.pm-login) .result-main p { line-height:1.65 }
:where(body.pm-login) .login-alert { background:#fff1f1;border:1px solid #f1c9cd;color:#a42c38;border-radius:10px;padding:12px 14px;font-size:14px;line-height:1.5;margin:0 0 20px }
:where(body.pm-login) .verification-help { font-size:13px;line-height:1.6 }
:where(body.pm-login) .account-email { overflow-wrap:anywhere }
:where(body.pm-login) .account-note { color:#718097;font-size:14px;line-height:1.6 }
:where(body.pm-login) .logout-button { background:transparent;border:1px solid #cbd5e3;border-radius:10px;padding:11px 17px;font:inherit;color:#2863b6;cursor:pointer }
:where(body.pm-login) .account-actions { display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin-top:24px }

/* Tableau de bord */
:root {
    --blue: #0964ff;
    --navy: #0c1837;
    --muted: #71809a;
    --border: #e3eaf3;
    --bg: #f7f9fc;
    --green: #009d66;
    --orange: #ff7900;
}

body {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system,
        BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--navy);
    background: var(--bg);
    font-synthesis: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

:where(body.pm-dashboard) * { box-sizing: border-box; }
body.pm-dashboard { margin: 0; }
:where(body.pm-dashboard) button, :where(body.pm-dashboard) input { font: inherit; }
:where(body.pm-dashboard) button, :where(body.pm-dashboard) a { -webkit-tap-highlight-color: transparent; }
:where(body.pm-dashboard) button { cursor: pointer; }
:where(body.pm-dashboard) a { color: inherit;
    text-decoration: none; }
:where(body.pm-dashboard) button:focus-visible, :where(body.pm-dashboard) a:focus-visible, :where(body.pm-dashboard) input:focus-visible { outline: 3px solid #92bcff;
    outline-offset: 3px; }
:where(body.pm-dashboard) .icon { height: 23px;
    width: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.85;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0; }
:where(body.pm-dashboard) .symbols { position: absolute;
    width: 0;
    height: 0;
    overflow: hidden; }
:where(body.pm-dashboard) .sidebar { width: 245px;
    position: fixed;
    left: 0;
    top: 78px;
    bottom: 0;
    background: #f8fafdf2;
    border-right: 1px solid var(--border);
    padding: 28px 17px;
    display: flex;
    flex-direction: column;
    z-index: 35; }
:where(body.pm-dashboard) .side-nav { display: flex;
    flex-direction: column;
    gap: 6px; }
:where(body.pm-dashboard) .side-nav a { display: flex;
    align-items: center;
    gap: 16px;
    padding: 15px 17px;
    border-radius: 11px;
    font-size: 14px;
    font-weight: 550;
    min-height: 54px; }
:where(body.pm-dashboard) .side-nav a:hover { background: #edf3ff; }
:where(body.pm-dashboard) .side-nav a.active { color: var(--blue);
    background: #e0ecff;
    font-weight: 750; }
:where(body.pm-dashboard) .side-nav a.active .icon { fill: var(--blue);
    stroke: var(--blue); }
:where(body.pm-dashboard) .side-nav .badge { margin-left: auto;
    background: var(--orange);
    color: white;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 12px; }
:where(body.pm-dashboard) .nav-divider { border: 0;
    border-top: 1px solid var(--border);
    margin: 20px 12px; }
:where(body.pm-dashboard) .sidebar-foot { margin-top: auto;
    color: #95a1b5;
    font-size: 11px;
    line-height: 1.6;
    padding: 16px; }
:where(body.pm-dashboard) .main { margin-left: 245px;
    padding: 30px;
    max-width: 1640px; }
:where(body.pm-dashboard) .page-heading h1 { font-size: 36px;
    letter-spacing: -1.3px;
    line-height: 1.2;
    margin: 0 0 5px;
    font-weight: 800; }
:where(body.pm-dashboard) .page-heading p { font-size: 20px;
    color: #7b879d;
    margin: 0; }
:where(body.pm-dashboard) .dashboard { display: grid;
    grid-template-columns: minmax(0,1fr) 330px;
    gap: 20px;
    align-items: start;
    margin-top: 23px; }
:where(body.pm-dashboard) .primary, :where(body.pm-dashboard) .secondary { display: grid;
    gap: 18px;
    min-width: 0; }
:where(body.pm-dashboard) .card { background: white;
    border: 1px solid var(--border);
    border-radius: 12px; }
:where(body.pm-dashboard) .welcome { display: flex;
    align-items: center;
    min-height: 224px;
    padding: 24px;
    overflow: hidden;
    gap: 8px; }
:where(body.pm-dashboard) .welcome-copy { flex: 1;
    position: relative;
    z-index: 1; }
:where(body.pm-dashboard) .welcome h2 { font-size: 24px;
    letter-spacing: -.7px;
    margin: 0 0 12px;
    line-height: 1.25; }
:where(body.pm-dashboard) .welcome h2 span { color: var(--blue); }
:where(body.pm-dashboard) .welcome p { font-size: 15px;
    line-height: 1.65;
    color: #53627c;
    max-width: 420px;
    margin: 0 0 24px; }
:where(body.pm-dashboard) .hero-art { width: 190px;
    height: 180px;
    object-fit: contain;
    flex-shrink: 0; }
:where(body.pm-dashboard) .btn { border: 0;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    font-size: 13px;
    font-weight: 700;
    min-height: 45px;
    padding: 12px 20px;
    color: #fff;
    background: var(--blue);
    transition: background .15s; }
:where(body.pm-dashboard) .btn:hover { background: #0053df; }
:where(body.pm-dashboard) .btn .icon { width: 21px;
    height: 21px; }
:where(body.pm-dashboard) .btn-outline { background: #edf4ff;
    border: 1px solid #a8c9ff;
    color: var(--blue); }
:where(body.pm-dashboard) .btn-outline:hover { background: #dfecff; }
:where(body.pm-dashboard) .stats { display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 10px; }
:where(body.pm-dashboard) .stat { padding: 17px 14px;
    display: flex;
    gap: 12px;
    align-items: center;
    text-align: left;
    color: var(--navy);
    width: 100%; }
:where(body.pm-dashboard) .stat:hover { border-color: #b7d1fb; }
:where(body.pm-dashboard) .stat-icon { width: 49px;
    height: 49px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #eaf3ff;
    color: var(--blue);
    flex-shrink: 0; }
:where(body.pm-dashboard) .stat.favorites .stat-icon { background: #fff0eb;
    color: #ff6c0c; }
:where(body.pm-dashboard) .stat.messages .stat-icon { background: #e2f8ef;
    color: #009d66; }
:where(body.pm-dashboard) .stat-copy { min-width: 0; }
:where(body.pm-dashboard) .stat-label { font-size: 11px;
    color: #728098;
    display: block;
    line-height: 1.35;
    white-space: normal; }
:where(body.pm-dashboard) .stat strong { font-size: 23px;
    display: block;
    margin-top: 5px;
    line-height: 1.1; }
:where(body.pm-dashboard) .stat>.icon { width: 15px;
    height: 15px;
    color: #9aa8bd;
    margin-left: auto; }
:where(body.pm-dashboard) .section { padding: 20px; }
:where(body.pm-dashboard) .section-heading { display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px; }
:where(body.pm-dashboard) .section-heading h2 { font-size: 19px;
    letter-spacing: -.4px;
    margin: 0; }
:where(body.pm-dashboard) .text-button { border: 0;
    background: transparent;
    color: var(--blue);
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px;
    font-weight: 550;
    text-align: right; }
:where(body.pm-dashboard) .text-button .icon { width: 16px;
    height: 16px; }
:where(body.pm-dashboard) .console-grid { display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 10px; }
:where(body.pm-dashboard) .console-card { border: 1px solid #e8edf5;
    border-radius: 10px;
    min-width: 0;
    padding: 10px;
    background: linear-gradient(#fff,#fbfcff); }
:where(body.pm-dashboard) .console-card img { display: block;
    width: 100%;
    height: 108px;
    object-fit: contain;
    mix-blend-mode: multiply;
    margin: 0 auto 10px; }
:where(body.pm-dashboard) .console-card h3 { font-size: 12px;
    margin: 0 0 5px;
    letter-spacing: -.2px;
    font-weight: 650; }
:where(body.pm-dashboard) .manufacturer { color: #8290a6;
    font-size: 9px;
    display: block;
    text-transform: uppercase;
    letter-spacing: .2px; }
:where(body.pm-dashboard) .console-meta { display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    margin-top: 12px; }
:where(body.pm-dashboard) .pill { background: #edf1f7;
    color: #68768e;
    border-radius: 99px;
    font-size: 9px;
    padding: 6px 9px;
    white-space: nowrap; }
:where(body.pm-dashboard) .more { border: 0;
    color: #67758d;
    background: transparent;
    display: grid;
    place-items: center;
    width: 22px;
    height: 26px;
    padding: 0; }
:where(body.pm-dashboard) .more .icon { width: 16px;
    height: 16px; }
:where(body.pm-dashboard) .empty { color: var(--muted);
    font-size: 14px;
    margin: 0;
    line-height: 1.7; }
:where(body.pm-dashboard) .profile { padding: 22px 20px; }
:where(body.pm-dashboard) .profile .section-heading { margin-bottom: 17px; }
:where(body.pm-dashboard) .percentage { color: var(--blue);
    font-size: 15px;
    font-weight: 750; }
:where(body.pm-dashboard) .progress { height: 13px;
    background: #e8edf4;
    border-radius: 20px;
    overflow: hidden; }
:where(body.pm-dashboard) .progress span { display: block;
    height: 100%;
    width: 70%;
    background: var(--blue);
    border-radius: 20px;
    transition: width .2s; }
:where(body.pm-dashboard) .profile-description { font-size: 13px;
    line-height: 1.7;
    color: #7b879b;
    margin: 16px 0; }
:where(body.pm-dashboard) .checklist { list-style: none;
    padding: 0;
    margin: 20px 0 25px;
    display: grid;
    gap: 17px; }
:where(body.pm-dashboard) .checklist li { display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    line-height: 1.5; }
:where(body.pm-dashboard) .check { display: grid;
    place-items: center;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background: var(--green);
    color: white;
    flex-shrink: 0; }
:where(body.pm-dashboard) .check .icon { width: 15px;
    height: 15px;
    stroke-width: 2.6; }
:where(body.pm-dashboard) .check.pending { background: transparent;
    border: 2px solid #bdc6d4;
    color: transparent; }
:where(body.pm-dashboard) .profile .btn { width: 100%;
    font-size: 13px; }
:where(body.pm-dashboard) .activity { padding: 20px; }
:where(body.pm-dashboard) .activity .section-heading { margin-bottom: 21px; }
:where(body.pm-dashboard) .activity-item { display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 0 0 20px;
    margin: 0 0 20px;
    border-bottom: 1px solid var(--border); }
:where(body.pm-dashboard) .activity-item:last-child { margin: 0;
    padding: 0;
    border: 0; }
:where(body.pm-dashboard) .game-cover { width: 66px;
    height: 87px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 3px; }
:where(body.pm-dashboard) .activity-copy { flex: 1;
    min-width: 0; }
:where(body.pm-dashboard) .activity-copy h3 { font-size: 13px;
    line-height: 1.4;
    margin: 3px 0 4px;
    letter-spacing: -.2px; }
:where(body.pm-dashboard) .activity-copy p { font-size: 11px;
    color: #8190a6;
    margin: 0 0 6px; }
:where(body.pm-dashboard) .activity-copy strong { font-size: 14px;
    display: block;
    margin-bottom: 8px; }
:where(body.pm-dashboard) .activity-copy small { font-size: 10px;
    color: #8794a8;
    line-height: 1.4;
    display: block; }
:where(body.pm-dashboard) .activity-status { display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 11px; }
:where(body.pm-dashboard) .status-online { color: #008757;
    background: #ddf8ed;
    font-size: 10px;
    font-weight: 750;
    border-radius: 20px;
    padding: 6px 8px;
    white-space: nowrap; }
:where(body.pm-dashboard) .mobile-nav { display: none; }
:where(body.pm-dashboard) .page-footer { font-size: 11px;
    color: #94a0b4;
    margin-top: 24px;
    text-align: center; }
:where(body.pm-dashboard) .scrim { display: none; }
:where(body.pm-dashboard) .toast { position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--navy);
    color: white;
    border-radius: 12px;
    box-shadow: 0 8px 25px #0b17372a;
    padding: 14px 20px;
    font-size: 13px;
    max-width: calc(100% - 32px);
    z-index: 100;
    line-height: 1.5; }
:where(body.pm-dashboard) .toast[hidden] { display: none; }
:where(body.pm-dashboard) dialog { border: 1px solid var(--border);
    border-radius: 17px;
    padding: 26px;
    max-width: 480px;
    width: calc(100% - 30px);
    box-shadow: 0 20px 80px #1024442a;
    color: var(--navy); }
:where(body.pm-dashboard) dialog::backdrop { background: #07193770;
    backdrop-filter: blur(3px); }
:where(body.pm-dashboard) .dialog-heading { display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px; }
:where(body.pm-dashboard) .dialog-heading h2 { font-size: 21px;
    margin: 0; }
:where(body.pm-dashboard) .dialog-copy { font-size: 13px;
    color: var(--muted);
    line-height: 1.6; }
:where(body.pm-dashboard) .console-options { display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 20px 0; }
:where(body.pm-dashboard) .console-options label { border: 1px solid var(--border);
    border-radius: 10px;
    padding: 15px 10px;
    display: flex;
    gap: 9px;
    align-items: center;
    font-size: 13px;
    cursor: pointer; }
:where(body.pm-dashboard) .console-options input { accent-color: var(--blue);
    width: 16px;
    height: 16px; }
:where(body.pm-dashboard) .dialog-actions { display: flex;
    justify-content: flex-end;
    gap: 10px; }
:where(body.pm-dashboard) .dialog-actions .btn { min-height: 41px;
    padding: 9px 16px; }
:where(body.pm-dashboard) .profile-field { display: block;
    font-size: 13px;
    font-weight: 600;
    margin: 18px 0; }
:where(body.pm-dashboard) .profile-field input { display: block;
    margin-top: 8px;
    border: 1px solid #cfd8e7;
    border-radius: 9px;
    padding: 11px 12px;
    width: 100%;
    color: var(--navy); }
@media(min-width:1500px) {
:where(body.pm-dashboard) .main { padding: 34px; }
:where(body.pm-dashboard) .dashboard { grid-template-columns: minmax(0,1fr) 370px; }
:where(body.pm-dashboard) .welcome { min-height: 255px;
        padding: 28px; }
:where(body.pm-dashboard) .hero-art { width: 240px;
        height: 205px; }
:where(body.pm-dashboard) .welcome h2 { font-size: 28px; }
:where(body.pm-dashboard) .welcome p { font-size: 16px; }
:where(body.pm-dashboard) .console-card img { height: 130px; }
:where(body.pm-dashboard) .console-card h3 { font-size: 14px; }
:where(body.pm-dashboard) .stat-label { font-size: 13px; }
:where(body.pm-dashboard) .stat { padding: 20px; }
:where(body.pm-dashboard) .sidebar { width: 270px; }
:where(body.pm-dashboard) .main { margin-left: 270px; }
:where(body.pm-dashboard) .section-heading h2 { font-size: 21px; }
}
@media(max-width:1180px) {
:where(body.pm-dashboard) .dashboard { grid-template-columns: minmax(0,1fr) 295px;
        gap: 16px; }
:where(body.pm-dashboard) .main { padding: 25px;
        margin-left: 215px; }
:where(body.pm-dashboard) .sidebar { width: 215px;
        padding-left: 12px;
        padding-right: 12px; }
:where(body.pm-dashboard) .side-nav a { padding: 13px 12px;
        gap: 12px;
        font-size: 13px; }
:where(body.pm-dashboard) .welcome { padding: 20px; }
:where(body.pm-dashboard) .welcome h2 { font-size: 23px; }
:where(body.pm-dashboard) .hero-art { width: 135px;
        height: 140px; }
:where(body.pm-dashboard) .welcome p { font-size: 13px; }
:where(body.pm-dashboard) .stat { padding: 14px 10px;
        gap: 8px; }
:where(body.pm-dashboard) .stat-icon { width: 35px;
        height: 42px; }
:where(body.pm-dashboard) .stat>.icon { display: none; }
:where(body.pm-dashboard) .console-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
:where(body.pm-dashboard) .console-card img { height: 110px; }
:where(body.pm-dashboard) .profile .section-heading h2 { font-size: 16px; }
:where(body.pm-dashboard) .section { padding: 17px; }
}
@media(max-width:960px) {
:where(body.pm-dashboard) .dashboard { grid-template-columns: 1fr; }
:where(body.pm-dashboard) .secondary { grid-template-columns: 1fr 1fr;
        align-items: start; }
:where(body.pm-dashboard) .console-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
:where(body.pm-dashboard) .hero-art { width: 190px;
        height: 160px; }
:where(body.pm-dashboard) .activity-item { gap: 9px; }
:where(body.pm-dashboard) .game-cover { width: 49px;
        height: 66px; }
:where(body.pm-dashboard) .activity-status .status-online { font-size: 9px;
        padding: 4px 6px; }
:where(body.pm-dashboard) .profile { padding: 20px 16px; }
:where(body.pm-dashboard) .activity { padding: 20px 16px; }
:where(body.pm-dashboard) .secondary .section-heading h2 { font-size: 16px; }
}
@media(max-width:740px) {
:where(body.pm-dashboard) .sidebar { top: 65px;
        width: 250px;
        transform: translateX(-100%);
        transition: transform .2s;
        background: white; }
:where(body.pm-dashboard) .sidebar.open { transform: translateX(0); }
:where(body.pm-dashboard) .scrim.open { display: block;
        position: fixed;
        inset: 65px 0 0;
        background: #10204055;
        z-index: 32; }
:where(body.pm-dashboard) .main { margin-left: 0;
        padding: 23px 16px 90px; }
:where(body.pm-dashboard) .page-heading h1 { font-size: 29px;
        letter-spacing: -.8px; }
:where(body.pm-dashboard) .page-heading p { font-size: 16px; }
:where(body.pm-dashboard) .dashboard { margin-top: 20px;
        gap: 16px; }
:where(body.pm-dashboard) .welcome { padding: 21px 18px;
        min-height: 200px;
        position: relative; }
:where(body.pm-dashboard) .welcome-copy { max-width: 76%; }
:where(body.pm-dashboard) .welcome h2 { font-size: 21px; }
:where(body.pm-dashboard) .welcome p { font-size: 12px;
        line-height: 1.65;
        margin-bottom: 17px; }
:where(body.pm-dashboard) .hero-art { position: absolute;
        right: -13px;
        top: 28px;
        width: 120px;
        height: 130px;
        opacity: .95; }
:where(body.pm-dashboard) .welcome .btn { font-size: 12px;
        padding: 11px 13px;
        gap: 8px;
        min-height: 42px; }
:where(body.pm-dashboard) .stats { gap: 8px; }
:where(body.pm-dashboard) .stat { display: block;
        padding: 13px 10px; }
:where(body.pm-dashboard) .stat-icon { height: 32px;
        width: 32px;
        margin-bottom: 9px;
        border-radius: 9px; }
:where(body.pm-dashboard) .stat-icon .icon { height: 19px;
        width: 19px; }
:where(body.pm-dashboard) .stat-label { font-size: 10px;
        min-height: 26px; }
:where(body.pm-dashboard) .stat strong { font-size: 21px;
        margin-top: 2px; }
:where(body.pm-dashboard) .secondary { grid-template-columns: 1fr; }
:where(body.pm-dashboard) .console-grid { grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 12px; }
:where(body.pm-dashboard) .console-card { padding: 12px; }
:where(body.pm-dashboard) .console-card img { height: 115px; }
:where(body.pm-dashboard) .console-card h3 { font-size: 13px; }
:where(body.pm-dashboard) .manufacturer { font-size: 10px; }
:where(body.pm-dashboard) .pill { font-size: 10px; }
:where(body.pm-dashboard) .section-heading h2, :where(body.pm-dashboard) .secondary .section-heading h2 { font-size: 18px; }
:where(body.pm-dashboard) .section-heading { margin-bottom: 16px; }
:where(body.pm-dashboard) .text-button { font-size: 11px;
        max-width: 145px; }
:where(body.pm-dashboard) .profile-description { font-size: 13px; }
:where(body.pm-dashboard) .checklist li { font-size: 13px; }
:where(body.pm-dashboard) .profile, :where(body.pm-dashboard) .activity, :where(body.pm-dashboard) .section { padding: 20px 16px; }
:where(body.pm-dashboard) .game-cover { width: 65px;
        height: 88px; }
:where(body.pm-dashboard) .activity-item { gap: 13px; }
:where(body.pm-dashboard) .activity-copy h3 { font-size: 14px; }
:where(body.pm-dashboard) .activity-copy p { font-size: 12px; }
:where(body.pm-dashboard) .activity-copy strong { font-size: 15px; }
:where(body.pm-dashboard) .activity-copy small { font-size: 11px; }
:where(body.pm-dashboard) .activity-status .status-online { font-size: 10px;
        padding: 6px 8px; }
:where(body.pm-dashboard) .mobile-nav { display: flex;
        justify-content: space-around;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fffffffa;
        border-top: 1px solid var(--border);
        z-index: 40;
        padding: 9px 4px calc(9px + env(safe-area-inset-bottom)); }
:where(body.pm-dashboard) .mobile-nav a { display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        color: #8290a6;
        font-size: 9px;
        min-width: 55px;
        padding: 3px; }
:where(body.pm-dashboard) .mobile-nav a.active { color: var(--blue); }
:where(body.pm-dashboard) .mobile-nav .icon { width: 21px;
        height: 21px; }
:where(body.pm-dashboard) .toast { bottom: 85px; }
:where(body.pm-dashboard) .page-footer { margin-top: 16px; }
:where(body.pm-dashboard) .sidebar-foot { padding-bottom: 90px; }
}
@media(prefers-reduced-motion:reduce) {
:where(body.pm-dashboard) * { transition: none!important;
        scroll-behavior: auto!important; }
}
:where(body.pm-dashboard) .icon-button { position: relative;
    display: grid;
    place-items: center;
    border: 0;
    background: transparent;
    color: var(--navy);
    padding: 9px;
    border-radius: 10px; }
@media (max-width: 380px) {
:where(body.pm-dashboard) .hero-art { display: none; }
:where(body.pm-dashboard) .welcome-copy { max-width: 100%; }
}
:where(body.pm-dashboard) .logout-button { padding: 10px 14px;
    border: 1px solid #cbd5e3;
    border-radius: 9px;
    background: white;
    color: var(--blue);
    font: inherit;
    font-size: 12px; }
:where(body.pm-dashboard) [hidden] { display: none !important; }
:where(body.pm-dashboard) #consoles-dialog { max-height: 85vh; overflow-y: auto; }
:where(body.pm-dashboard) .console-options { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
:where(body.pm-dashboard) .console-options label { display: flex; align-items: center; gap: 10px; }
:where(body.pm-dashboard) .console-options input { flex-shrink: 0; }
:where(body.pm-dashboard) .console-card .console-image { width: 149px;
 max-width: 100%;
 height: 131px;
 object-fit: contain;
 display: block;
 margin: 0 auto; }
:where(body.pm-dashboard) .console-placeholder { width: 64px; height: 64px; margin: 24px auto; display: block; }
@media (max-width: 600px) {
:where(body.pm-dashboard) .console-options { grid-template-columns: 1fr; }
}

/* Header commun */
/* HEADER PARTAGÉ : tous les sélecteurs sont limités à .pm-header. */

.pm-header {
    box-sizing: border-box;
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 30px;
    height: 78px;
    width: 100%;
    margin: 0;
    padding: 0 30px;
    background: #ffffffed;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e3eaf3;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    color: #0c1837;
}

.pm-header a {
    text-decoration: none;
}

.pm-header .pm-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #0c1837;
    font-size: 29px;
    font-weight: 850;
    letter-spacing: -1.3px;
    white-space: nowrap;
}

.pm-header .pm-logo span span {
    color: #0964ff;
}

.pm-header .pm-logo svg {
    width: 39px;
    height: 32px;
    flex-shrink: 0;
}

.pm-header .pm-icon {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.85;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pm-header .pm-links {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-left: 22px;
    font-size: 14px;
    font-weight: 650;
}

.pm-header .pm-links a {
    color: #0c1837;
}

.pm-header .pm-links a:hover {
    color: #0964ff;
}

.pm-header .pm-search {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    max-width: 520px;
    margin: 0 0 0 auto;
    padding: 12px 16px;
    border-radius: 18px;
    background: #f0f4f9;
    color: #7c89a0;
}

.pm-header .pm-search input {
    width: 100%;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #0c1837;
    font: inherit;
    font-size: 13px;
}

.pm-header .pm-search .pm-icon {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
}

.pm-header .pm-icon-button {
    position: relative;
    display: grid;
    place-items: center;
    padding: 9px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #0c1837;
    cursor: pointer;
}

.pm-header .pm-dot {
    position: absolute;
    top: 6px;
    right: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff7900;
    box-shadow: 0 0 0 3px white;
}

.pm-header .pm-account {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-left: 22px;
    border-left: 1px solid #e3eaf3;
    color: #0c1837;
    font-size: 14px;
    font-weight: 700;
}

.pm-header .pm-avatar {
    display: grid;
    place-items: center;
    width: 37px;
    height: 37px;
    border-radius: 50%;
    background: linear-gradient(145deg, #087aff, #074198);
    color: white;
    font-size: 13px;
}

.pm-header .pm-menu-toggle {
    display: none;
}

.pm-header .pm-auth-link {
    margin-left: auto;
    color: #1861c8;
    font-size: 14px;
}

.pm-header a:focus-visible, .pm-header button:focus-visible, .pm-header input:focus-visible {
    outline: 3px solid #92bcff;
    outline-offset: 3px;
}

@media (max-width: 1180px) {
    .pm-header {
        gap: 20px;
        padding: 0 22px;
    }
    .pm-header .pm-links {
        gap: 20px;
        margin-left: 10px;
    }
    .pm-header .pm-search {
        display: none;
    }
    .pm-header .pm-account {
        margin-left: auto;
    }
}

@media (max-width: 740px) {
    .pm-header {
        height: 65px;
        gap: 14px;
        padding: 0 16px;
    }
    .pm-header .pm-logo {
        gap: 7px;
        font-size: 24px;
    }
    .pm-header .pm-logo svg {
        width: 31px;
        height: 28px;
    }
    .pm-header .pm-links, .pm-header .pm-account {
        display: none;
    }
    .pm-header .pm-notification {
        margin-left: auto;
    }
    .pm-header .pm-menu-toggle {
        display: grid;
    }
}

/* Mes informations — styles intégrés à la feuille commune */
body.pm-infos { font-family: system-ui,-apple-system,"Segoe UI",sans-serif; color:#0c1837; background:#f7f9fc; }
.pm-infos .infos-main { max-width:760px; margin:38px auto 70px; padding:0 24px; }
.pm-infos .infos-back { display:inline-block; color:#1861c8; text-decoration:none; font-size:14px; margin-bottom:24px; }
.pm-infos .infos-heading h1 { font-size:32px; letter-spacing:-1px; margin:0 0 10px; }
.pm-infos .infos-heading p { color:#71809a; line-height:1.6; margin:0 0 26px; }
.pm-infos .infos-card { border:1px solid #e3eaf3; background:white; border-radius:18px; padding:30px; box-shadow:0 12px 38px #10244408; }
.pm-infos .infos-card h2 { margin:0 0 8px; font-size:22px; }
.pm-infos .infos-intro { margin:0 0 26px; color:#71809a; font-size:14px; line-height:1.6; }
.pm-infos .infos-field { margin:0 0 22px; }
.pm-infos .infos-field label { display:block; font-size:14px; font-weight:650; margin-bottom:9px; }
.pm-infos .infos-field select,.pm-infos .infos-field input[type=text] { width:100%; min-width:0; font:inherit; font-size:16px; padding:13px 14px; border:1px solid #cbd5e3; border-radius:10px; color:#172842; background:white; }
.pm-infos .infos-field select:disabled,.pm-infos .infos-field input:disabled { color:#7c89a0; background:#f3f6fb; cursor:not-allowed; }
.pm-infos .infos-help { font-size:13px; line-height:1.5; color:#71809a; margin:8px 0 0; }
.pm-infos #infos-search-status { min-height:20px; }
.pm-infos .infos-autocomplete { position:relative; }
.pm-infos .infos-options { position:absolute; top:80px; left:0; right:0; max-height:270px; overflow-y:auto; margin:0; padding:5px; list-style:none; border:1px solid #cbd5e3; border-radius:12px; background:white; box-shadow:0 12px 30px #10244420; z-index:50; }
.pm-infos .infos-options li { font-size:14px; line-height:1.5; padding:12px; cursor:pointer; border-radius:8px; overflow-wrap:anywhere; }
.pm-infos .infos-options li:hover,.pm-infos .infos-options li[aria-selected=true] { background:#e0ecff; color:#0755ce; }
.pm-infos .infos-submit { border:0; background:#0964ff; color:white; font:inherit; font-size:15px; font-weight:700; padding:14px 22px; border-radius:10px; cursor:pointer; }
.pm-infos .infos-submit:hover { background:#0053df; }
.pm-infos .infos-submit:disabled { background:#879dbb; cursor:wait; }
.pm-infos .infos-alert { padding:13px 16px; border-radius:10px; font-size:14px; line-height:1.6; margin:0 0 24px; }
.pm-infos .infos-alert-error { border:1px solid #f1c9cd; background:#fff1f1; color:#a42c38; }
.pm-infos .infos-alert-success { border:1px solid #b7e7d1; background:#e9f9f0; color:#087c4d; }
.pm-infos a:focus-visible,.pm-infos input:focus-visible,.pm-infos select:focus-visible,.pm-infos button:focus-visible { outline:3px solid #92bcff; outline-offset:3px; }
@media(max-width:600px) {
 .pm-infos .infos-main { margin:24px auto 40px; padding:0 16px; }
 .pm-infos .infos-card { padding:22px 18px; }
 .pm-infos .infos-heading h1 { font-size:28px; }
 .pm-infos .infos-submit { width:100%; }
}

/* Bloc à déplacer tel quel à la fin de padmarket.css si souhaité. */
.ad-main {
    max-width: 780px;
    margin: 32px auto;
    padding: 0 20px 50px;
}
.ad-main {
    color: var(--navy);
}

.ad-main button,
.ad-button {
    background: var(--blue);
}

.ad-main form,
.ad-panel {
    border-color: var(--border);
}

.ad-steps {
    color: var(--muted);
    border-bottom-color: var(--blue);
}

.ad-steps strong {
    color: var(--blue);
}
/* Déposer une annonce */

.ad-main {
    max-width: 780px;
    margin: 32px auto;
    padding: 0 20px 50px;
    color: var(--navy);
}

.ad-main * {
    box-sizing: border-box;
}

.ad-main > a {
    color: var(--blue);
    text-decoration: none;
}

.ad-main h1 {
    font-size: clamp(26px, 5vw, 36px);
}

.ad-main form,
.ad-panel {
    background: #fff;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 18px;
    margin: 20px 0;
}

.ad-main label,
.ad-main legend {
    font-weight: 650;
}

.ad-main input:not([type="radio"]):not([type="checkbox"]),
.ad-main select,
.ad-main textarea {
    font: inherit;
    width: 100%;
    padding: 13px;
    border: 1px solid #cbd2e4;
    border-radius: 10px;
    margin: 8px 0 18px;
    background: #fff;
    color: var(--navy);
}

.ad-main button,
.ad-button {
    display: block;
    border: 0;
    background: var(--blue);
    color: #fff;
    border-radius: 12px;
    padding: 15px 20px;
    font: inherit;
    font-weight: 650;
    cursor: pointer;
    width: 100%;
    margin-top: 15px;
    text-align: center;
    text-decoration: none;
}

.ad-main button:hover:not(:disabled),
.ad-button:hover {
    background: #0053df;
}

.ad-main button:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.ad-main :focus-visible {
    outline: 3px solid #92bcff;
    outline-offset: 3px;
}

.ad-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--muted);
    border-bottom: 3px solid var(--blue);
    padding: 12px 0;
}

.ad-steps strong {
    color: var(--blue);
}

.ad-covers {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.ad-cover {
    padding: 12px;
    border: 2px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
}

.ad-cover:has(input:checked) {
    border-color: var(--blue);
    background: #edf4ff;
}

.ad-cover img {
    width: 100%;
    height: 210px;
    object-fit: contain;
    display: block;
    margin: 10px 0;
}

.ad-cover small {
    display: block;
}

.ad-summary {
    display: flex;
    gap: 18px;
    align-items: center;
    margin: 20px 0;
}

.ad-summary img {
    width: 90px;
    height: 125px;
    object-fit: contain;
}

.ad-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.ad-row label {
    font-weight: 400;
}

.ad-main fieldset {
    border: 1px solid var(--border);
    border-radius: 10px;
    margin: 20px 0;
    padding: 15px;
}

.ad-alert {
    background: #fff0f0;
    color: #9b2020;
    padding: 16px;
    border-radius: 10px;
}

.ad-success {
    background: #e8faf2;
    padding: 18px;
    border-radius: 10px;
}

.ad-main .search {
    position: relative;
}

.ad-main #suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 5;
    background: #fff;
    border: 1px solid #cbd2e4;
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 320px;
    overflow: auto;
    box-shadow: 0 10px 25px #16244a20;
}

.ad-main #suggestions li {
    padding: 13px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.ad-main #suggestions li:hover,
.ad-main #suggestions [aria-selected="true"] {
    background: #edf4ff;
}

.ad-main [hidden] {
    display: none !important;
}

.ad-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.ad-photos img {
    max-width: 100%;
    height: 100px;
    object-fit: contain;
}

.ad-help {
    font-size: .9rem;
    color: var(--muted);
}

.ad-main textarea {
    resize: vertical;
}

@media (max-width: 500px) {
    .ad-main form {
        padding: 17px;
    }

    .ad-cover img {
        height: 155px;
    }

    .ad-row {
        flex-wrap: wrap;
    }
}
/* Mes annonces : toutes les annonces du compte connecté. */
.pm-myads .myads-main{max-width:1100px;margin:36px auto;padding:0 24px 60px;color:var(--navy,#0c1837)}
.pm-myads .myads-main *{box-sizing:border-box}
.pm-myads .myads-back{display:inline-block;margin-bottom:22px;color:var(--blue,#0964ff);text-decoration:none;font-size:14px}
.pm-myads .myads-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;margin-bottom:24px}
.pm-myads .myads-heading h1{font-size:clamp(28px,4vw,36px);letter-spacing:-1px;margin:0 0 8px;font-weight:800}
.pm-myads .myads-heading p{margin:0;color:var(--muted,#71809a);line-height:1.6}
.pm-myads .myads-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:12px 18px;background:var(--blue,#0964ff);color:#fff;text-decoration:none;font-size:14px;font-weight:650;border:1px solid transparent;border-radius:9px;line-height:1.3}
.pm-myads .myads-button:hover{background:#0053df}
.pm-myads .myads-summary{display:flex;flex-wrap:wrap;gap:12px 24px;margin:0 0 22px;padding:18px 20px;background:#fff;border:1px solid var(--border,#e3eaf3);border-radius:12px;color:var(--muted,#71809a);font-size:14px}
.pm-myads .myads-summary strong{color:var(--navy,#0c1837)}
.pm-myads .myads-list{display:grid;gap:16px}
.pm-myads .myads-card{display:grid;grid-template-columns:120px minmax(0,1fr) auto;gap:24px;align-items:center;border:1px solid var(--border,#e3eaf3);background:#fff;border-radius:14px;padding:20px}
.pm-myads .myads-visual{display:flex;align-items:center;justify-content:center;width:120px;height:140px;background:#f5f7fb;border-radius:9px;overflow:hidden;text-decoration:none}
.pm-myads .myads-visual img{width:100%;height:100%;object-fit:contain;display:block}
.pm-myads .myads-missing{font-size:12px;color:var(--muted,#71809a)}
.pm-myads .myads-platform{font-size:13px;color:var(--muted,#71809a);margin:0 0 8px}
.pm-myads .myads-copy{min-width:0}
.pm-myads .myads-copy h2{font-size:20px;margin:0 0 10px;line-height:1.35;overflow-wrap:anywhere;letter-spacing:-.3px}
.pm-myads .myads-copy h2 a{color:inherit;text-decoration:none}
.pm-myads .myads-copy h2 a:hover{color:var(--blue,#0964ff)}
.pm-myads .myads-condition{font-size:14px;margin:0 0 12px;color:#53627c}
.pm-myads .myads-date{font-size:12px;color:var(--muted,#71809a);margin:0;line-height:1.6}
.pm-myads .myads-actions{display:flex;flex-direction:column;align-items:flex-end;gap:12px}
.pm-myads .myads-price{font-size:23px;white-space:nowrap}
.pm-myads .myads-status{display:inline-block;font-size:12px;font-weight:650;padding:6px 10px;border-radius:7px;background:#edf0f5;color:#63708a}
.pm-myads .myads-status[data-state="active"]{background:#e3f8ef;color:#00794e}
.pm-myads .myads-status[data-state="reserved"]{background:#fff2df;color:#9b5d00}
.pm-myads .myads-status[data-state="sold"]{background:#edf3ff;color:#2454ac}
.pm-myads .myads-edit{background:#edf4ff;color:var(--blue,#0964ff);border-color:#cbdfff;min-height:40px;padding:9px 17px}
.pm-myads .myads-edit:hover{background:#dfecff}
.pm-myads .myads-empty{padding:36px;background:#fff;border:1px solid var(--border,#e3eaf3);border-radius:14px;text-align:center}
.pm-myads .myads-empty h2{font-size:22px;margin:0 0 12px}
.pm-myads .myads-empty p{color:var(--muted,#71809a);margin:0 0 24px;line-height:1.6}
.pm-myads .myads-alert{padding:20px;border-radius:12px;background:#fff0f0;color:#9b2020}
.pm-myads .myads-main a:focus-visible{outline:3px solid #92bcff;outline-offset:3px}
.pm-myads .myads-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.pm-myads .myads-main [hidden]{display:none!important}
@media(max-width:600px){
.pm-myads .myads-main{margin-top:24px;padding:0 14px 40px}
.pm-myads .myads-card{grid-template-columns:85px minmax(0,1fr);gap:14px;padding:16px}
.pm-myads .myads-visual{width:85px;height:110px}
.pm-myads .myads-copy h2{font-size:17px}
.pm-myads .myads-actions{grid-column:1/-1;flex-direction:row;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;border-top:1px solid var(--border,#e3eaf3);padding-top:14px}
.pm-myads .myads-price{font-size:20px}
.pm-myads .myads-summary{gap:12px 18px}
.pm-myads .myads-empty{padding:26px 18px}
}

.pm-myads .myads-metrics {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.pm-myads .myads-metrics div {
    padding: 10px 12px;
    background: #f7f9fc;
    border-radius: 8px;
}

.pm-myads .myads-metrics dt {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 6px;
}

.pm-myads .myads-metrics dd {
    margin: 0;
    font-size: 19px;
    font-weight: 750;
}

.pm-myads .myads-stats-note {
    font-size: 13px;
    line-height: 1.65;
    color: var(--muted);
    margin-bottom: 20px;
}

@media (max-width: 600px) {
    .pm-myads .myads-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pm-myads .myads-metrics div:last-child {
        grid-column: 1 / -1;
    }
}

/* Déclaration cookies : surfaces et texte cohérents en mode nuit.
   Sélecteurs ciblés pour primer sur les styles intégrés à la page. */
html[data-pm-theme="dark"] body.pm-cookies .cookie-panel {
    background:#1a2639; color:#e7eefb; border-color:#435570; box-shadow:none;
}
html[data-pm-theme="dark"] body.pm-cookies .cookie-panel h2 { color:#b4cfff; }
html[data-pm-theme="dark"] body.pm-cookies .cookie-panel :is(p,li,td,caption) { color:#e7eefb; }
html[data-pm-theme="dark"] body.pm-cookies :is(th,td) { border-color:#435570; }
html[data-pm-theme="dark"] body.pm-cookies th { background:#233650; color:#e7eefb; }
html[data-pm-theme="dark"] body.pm-cookies td { background:#1a2639; }
html[data-pm-theme="dark"] body.pm-cookies .cookie-note { background:#233650; color:#e7eefb; border-left-color:#8bb6ff; }
html[data-pm-theme="dark"] body.pm-cookies .cookie-panel a { color:#a9caff; }
html[data-pm-theme="dark"] body.pm-cookies .cookie-footer { color:#bdcbe0; }
html[data-pm-theme="dark"] body.pm-cookies .cookie-panel code { background:#233650; color:#e7eefb; }

/* Menu latéral : couleurs neutres */
html body .sidebar .side-nav a {
    color: #172842 !important;
}

html[data-pm-theme="dark"] body .sidebar .side-nav a {
    color: #edf3ff !important;
}

html body .sidebar .side-nav a .icon {
    color: inherit !important;
    stroke: currentColor !important;
}

html body .sidebar .side-nav a.active .icon {
    fill: currentColor !important;
}

/* Menu mobile en mode nuit : liens neutres, sans bleu d'accent. */
html[data-pm-theme="dark"] body .mobile-nav a,
html[data-pm-theme="dark"] body .mobile-nav a:link,
html[data-pm-theme="dark"] body .mobile-nav a:visited,
html[data-pm-theme="dark"] body .mobile-nav a:hover,
html[data-pm-theme="dark"] body .mobile-nav a:focus-visible {
    color: #d7e0ef !important;
}

html[data-pm-theme="dark"] body .mobile-nav a.active,
html[data-pm-theme="dark"] body .mobile-nav a.active:link,
html[data-pm-theme="dark"] body .mobile-nav a.active:visited {
    color: #f4f7ff !important;
}
