
:root{--ink:#182338;--muted:#788398;--line:#e6e9ef;--bg:#f5f6f9;--white:#fff;--gold:#f5a623;--dark:#182338;--radius:18px}
*{box-sizing:border-box} body{margin:0;color:var(--ink);background:var(--bg);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:15px}button,a{font:inherit}button{cursor:pointer}a{text-decoration:none;color:inherit}
.wrap{display:grid;grid-template-columns:244px minmax(0,1fr);min-height:100vh}.sidebar{background:#fff;border-right:1px solid var(--line);padding:30px 18px;display:flex;flex-direction:column;gap:32px}.brand{padding:0 13px;font-size:25px;font-weight:900;letter-spacing:-1.3px}.brand span{color:var(--gold)}.tiny{font-size:11px;color:var(--muted);letter-spacing:.12em;text-transform:uppercase;font-weight:800}.nav{display:grid;gap:7px}.nav a{display:flex;align-items:center;gap:12px;border-radius:13px;padding:13px 14px;color:#647087;font-weight:650}.nav a svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.8}.nav a.active{background:#fff6e7;color:#ad660c}.nav a:hover{background:#f5f6f9}.sidebar-bottom{margin-top:auto;border:1px solid #e9edf2;border-radius:16px;padding:17px}.sidebar-bottom strong{display:block;font-size:15px;margin-bottom:6px}.sidebar-bottom p{color:var(--muted);font-size:12px;line-height:1.6;margin:0 0 12px}.sidebar-bottom a{color:#ae6c14;font-weight:700}
.main{padding:38px clamp(20px,4.7vw,72px) 80px;max-width:1500px;width:100%;margin:auto}.topline{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:28px}.eyebrow{font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#b2751d}.avatar{width:38px;height:38px;display:grid;place-items:center;border-radius:13px;background:#dce6f4;font-weight:900;color:#3a5d84}.user{display:flex;align-items:center;gap:10px;color:#576277;font-size:13px}.user strong{color:var(--ink);display:block}.kicker{display:inline-block;border:1px solid #f4dda9;color:#996309;background:#fff8ea;font-size:11px;font-weight:800;border-radius:99px;padding:7px 11px;letter-spacing:.03em}.heading{display:flex;justify-content:space-between;align-items:end;gap:22px;margin-bottom:30px}.heading h1{font-size:clamp(29px,3.1vw,45px);letter-spacing:-.055em;line-height:1.13;margin:10px 0 8px}.heading p{font-size:14px;line-height:1.6;color:var(--muted);margin:0;max-width:610px}.primary{border:0;border-radius:13px;background:var(--dark);color:white;font-weight:750;padding:14px 19px;display:inline-flex;gap:9px;align-items:center;justify-content:center;white-space:nowrap}.primary:hover{background:#2b3e5d}.primary svg{width:17px;height:17px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 15px}.tabs{display:flex;gap:4px;background:#eceef3;padding:4px;border-radius:12px}.tabs button{border:0;background:transparent;color:#747f91;border-radius:9px;font-weight:750;padding:9px 14px;font-size:13px}.tabs button.active{background:#fff;color:#1c2940;box-shadow:0 1px 5px #18233810}.subtle{font-size:12px;color:#9aa3b2}.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:25px;box-shadow:0 8px 28px #233b6406}.card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.identity{display:flex;align-items:center;gap:13px}.logo-circle{border-radius:14px;width:47px;height:47px;display:grid;place-items:center;flex:0 0 auto}.fb{background:#e7f1ff;color:#1165c9}.ig{background:#fde8f4;color:#b8328a}.logo-circle svg{width:22px;height:22px}.identity strong{font-size:16px;display:block;letter-spacing:-.02em}.identity small{font-size:12px;color:var(--muted);display:block;margin-top:5px}.status{border-radius:99px;padding:6px 10px;color:#22855c;background:#eaf9f0;font-size:11px;font-weight:800;white-space:nowrap}.sublabel{color:#929eaf;text-transform:uppercase;letter-spacing:.11em;font-size:11px;font-weight:800;margin:30px 0 6px}.number{font-size:38px;letter-spacing:-.06em;font-weight:850;line-height:1.1}.number span{font-size:14px;color:#a0a9b7;letter-spacing:normal;font-weight:600;margin-left:7px}.card-line{height:1px;background:var(--line);margin:23px 0 18px}.card-footer{display:flex;align-items:center;justify-content:space-between;gap:10px}.card-footer p{color:var(--muted);font-size:12px;margin:0;line-height:1.4}.ghost{border:1px solid #e5e9ef;background:#fff;color:#35435b;border-radius:10px;padding:10px 15px;font-size:12px;font-weight:800}.ghost:hover{background:#f8f9fc}.add{display:flex;align-items:center;justify-content:center;min-height:265px;border:2px dashed #dce1e9;background:transparent;text-align:center;flex-direction:column;gap:9px}.add .add-icon{display:grid;place-items:center;background:#fff;border:1px solid #e4e8f0;border-radius:17px;font-size:26px;width:54px;height:54px}.add strong{font-size:15px;margin-top:8px}.add p{margin:0;max-width:230px;font-size:13px;line-height:1.5;color:var(--muted)}.bottom-panel{display:flex;align-items:center;gap:19px;margin-top:25px;border-radius:16px;padding:21px 25px;background:#edf1f6;border:1px solid #e2e8f1}.bottom-panel .glyph{width:42px;height:42px;background:#fff;border-radius:13px;display:grid;place-items:center;color:#456582;font-size:20px;flex-shrink:0}.bottom-panel strong{font-size:14px}.bottom-panel p{font-size:12px;color:#77859a;line-height:1.55;margin:4px 0 0}.bottom-panel a{margin-left:auto;white-space:nowrap;font-size:13px;font-weight:800;color:#355370}.demo-ribbon{position:fixed;bottom:16px;right:16px;background:#172339;color:white;border-radius:12px;padding:11px 15px;font-size:11px;font-weight:750;box-shadow:0 10px 35px #0f183133;z-index:4}.modal-backdrop{position:fixed;inset:0;background:#15243999;display:none;align-items:center;justify-content:center;padding:18px;z-index:10}.modal-backdrop.visible{display:flex}.modal{background:white;border-radius:22px;padding:28px;max-width:450px;width:100%;box-shadow:0 22px 80px #05080f33}.modal h2{font-size:22px;margin:0 0 9px;letter-spacing:-.035em}.modal p{line-height:1.55;font-size:14px;color:var(--muted)}.modal-grid{display:grid;gap:12px;margin:19px 0}.modal-grid button{display:flex;align-items:center;gap:13px;text-align:left;border:1px solid #e0e6ee;background:#fff;border-radius:12px;padding:16px;font-weight:750}.modal-grid button:hover{border-color:#f2a329;background:#fffbf5}.modal .ghost{width:100%}.mobile-brand{display:none}
@media(max-width:1000px){.wrap{grid-template-columns:76px minmax(0,1fr)}.sidebar{padding:24px 12px}.brand{padding:0 5px;font-size:21px;overflow:hidden;white-space:nowrap}.brand span{display:none}.nav a{justify-content:center;padding:13px 0}.nav .nav-text,.sidebar-bottom,.tiny{display:none}.main{padding:30px 26px 70px}.cards{gap:12px}.card{padding:20px}}
@media(max-width:720px){.wrap{display:block}.sidebar{display:none}.mobile-brand{display:block;font-weight:850;font-size:22px;letter-spacing:-1px}.mobile-brand span{color:var(--gold)}.main{padding:20px 17px 80px}.topline{margin-bottom:22px}.eyebrow{display:none}.heading{display:block}.heading h1{font-size:34px}.heading .primary{width:100%;margin-top:19px}.cards{grid-template-columns:1fr}.toolbar{align-items:start;flex-direction:column}.card{padding:22px}.bottom-panel{align-items:flex-start;flex-wrap:wrap;padding:18px}.bottom-panel a{margin-left:60px}.demo-ribbon{bottom:8px;right:8px;font-size:10px}}

/* V2 : informations de formule et documents légaux — zone de gestion uniquement */
.social-mark{display:grid;place-items:center;width:49px;height:49px;flex:0 0 auto}
.social-mark svg{display:block;width:37px;height:37px}
.membership{display:flex;align-items:center;justify-content:space-between;gap:25px;margin:-6px 0 28px;padding:23px 26px;background:linear-gradient(105deg,#fff 0%,#fff 55%,#fff9ed 100%);border:1px solid #f0e3ce;border-radius:19px;box-shadow:0 8px 28px #233b6407}
.membership-main{display:flex;align-items:center;gap:15px;min-width:0}.membership-icon{width:48px;height:48px;display:grid;place-items:center;flex-shrink:0;border-radius:14px;background:#fff1d5;color:#a96d1a;font-size:24px}
.membership-main h2{font-size:21px;margin:1px 0 2px;letter-spacing:-.035em}.membership-main p{margin:0;font-size:12px;line-height:1.5;color:var(--muted);max-width:405px}
.membership-progress{width:205px;flex-shrink:0}.membership-progress strong{font-size:16px;display:block}.membership-progress span{display:block;color:#8b95a5;font-size:12px;margin-top:4px}.membership-progress .progress-track{height:7px;background:#ece4d8;border-radius:20px;margin-top:12px;overflow:hidden}.progress-track i{display:block;background:#ed9f22;height:100%;width:57%;border-radius:inherit;transition:width .3s}
.membership-link{font-size:12px;font-weight:800;border-radius:12px;padding:12px 14px;background:#1c293f;color:white;text-align:center;white-space:nowrap}
.preview-controls{display:flex;align-items:center;gap:8px;margin:-12px 0 29px;font-size:12px;color:#8a95a6;flex-wrap:wrap}.preview-controls label{font-weight:650}.preview-controls select{padding:7px 10px;border:1px solid #e1e6ee;background:white;border-radius:9px;color:var(--ink);font:inherit;font-weight:700}.preview-controls small{font-size:11px}
.network-type{color:var(--muted);font-size:12px;margin-top:5px;display:block}
.legal-footer{display:flex;align-items:center;justify-content:space-between;gap:13px;flex-wrap:wrap;margin:27px 0 4px;padding-top:22px;border-top:1px solid #e0e5ec;color:#7a879a;font-size:12px}.legal-footer nav{display:flex;gap:8px 20px;flex-wrap:wrap}.legal-footer button{border:0;background:none;color:#536783;font-size:12px;padding:4px 0;font-weight:650;text-decoration:underline;text-decoration-color:#c1cbdb;text-underline-offset:4px;cursor:pointer}.legal-footer button:hover{color:#182338}
.legal-info{background:#fff7e9;border:1px solid #f7deb8;border-radius:11px;padding:12px 14px;color:#8a5d22;font-size:12px;line-height:1.55}.legal-modal{max-width:550px}.legal-modal ul{font-size:13px;line-height:1.7;color:#556276;padding-left:22px}.legal-modal li+li{margin-top:5px}
@media(max-width:1100px){.membership{flex-wrap:wrap}.membership-link{margin-left:64px}}
@media(max-width:720px){.membership{display:grid;gap:17px;padding:19px;margin:0 0 20px}.membership-progress{width:100%}.membership-link{margin-left:0}.membership-main h2{font-size:20px}.preview-controls{margin:-3px 0 23px}.legal-footer{gap:14px}.legal-footer nav{gap:6px 14px}.legal-footer button{font-size:11px}}

/* Limites d’abonnement réelles */
.locked-by-plan{display:none!important}
.add.plan-locked{cursor:default;opacity:.94;border-color:#ecdab9;background:#fffaf1;min-height:228px}
.add.plan-locked .add-icon{color:#ad721a;background:#ffedc9;border-color:#f6d99b}
@media(max-width:720px){.demo-ribbon{position:static;display:table;margin:0 17px 16px auto;box-shadow:none;max-width:calc(100% - 34px);text-align:right}}

/* Production PHP : data lives in the existing database, never in demo JS */
.nav .nav-text{white-space:nowrap}
.nav a.active{background:#fff6e7;color:#ad660c}
.brand{text-decoration:none}
.empty-text{padding:22px 0;color:var(--muted);line-height:1.65}
.membership-progress .progress-track i{transition:none}
.stat-state{color:#7f899a;font-size:12px;line-height:1.55}
.stat-label{color:#8c99a9;font-size:11px;text-transform:uppercase;letter-spacing:.11em;font-weight:800;margin-top:8px}
.no-action{opacity:.55;pointer-events:none}
.card-footer .ghost{display:inline-block;text-decoration:none}
.hint{color:#7e8b9f;line-height:1.5;font-size:12px;margin-top:9px}
.system-notice{background:#fff9e9;border:1px solid #edd7ab;color:#8a601c;padding:12px 15px;border-radius:12px;margin:0 0 20px;font-size:13px}
.system-notice a{text-decoration:underline}
.legal-footer a{color:#536783;font-weight:650;text-decoration:underline;text-decoration-color:#c1cbdb;text-underline-offset:4px}
.mobile-actions{display:none}
.sr-only{position:absolute;overflow:hidden;clip:rect(0,0,0,0);width:1px;height:1px;white-space:nowrap}
.plan-details{color:#707d8c;font-size:12px}
@media(max-width:720px){.mobile-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:14px}.mobile-actions a{font-size:12px;font-weight:800;color:#536783;text-decoration:underline}.card-head{flex-wrap:wrap}.identity{min-width:0}.identity strong{overflow-wrap:anywhere}.membership-link{white-space:normal}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Funkylike V2 : diffusion et bibliothèque d'écrans */
.fk-status-paused{color:#91631c;background:#fff2d8}
.fk-card-explainer{font-size:12px;color:#6d7b90}
.fk-visibility-form{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:15px}
.fk-visibility-form button{cursor:pointer;font-family:inherit}
.fk-visibility-help{font-size:11px;color:#8390a1}
.fk-disable{color:#8b512e;border-color:#e8cfb8}
.fk-enable{color:#236347;border-color:#a9ddc5;background:#f2fcf6}
.fk-screen-types{margin-top:28px}
.fk-screen-heading h2{font-size:24px;margin:5px 0}.fk-screen-heading p{margin:0 0 17px;color:#798699;font-size:13px}
.fk-screen-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.fk-screen-type{display:flex;flex-direction:column;align-items:flex-start;gap:9px;background:#fff;border:1px solid #e2e7ef;border-radius:18px;padding:22px;min-height:205px}
.fk-screen-type strong{font-size:15px;color:#25344e}.fk-screen-type p{font-size:12px;line-height:1.55;color:#7b879a;margin:0 0 auto}
.fk-screen-icon{display:grid;place-items:center;background:#eef2f8;border-radius:12px;width:42px;height:42px;font-size:23px;color:#48617d}
.fk-screen-ready{border-color:#f0d9ad;background:#fffdf8}.fk-screen-ready .fk-screen-icon{background:#fff0d0;color:#ac711c}
.fk-coming,.fk-screen-muted{font-size:11px;font-weight:750;background:#f0f2f5;color:#77859a;padding:8px 11px;border-radius:9px}
@media(max-width:720px){.fk-screen-grid{grid-template-columns:1fr}}


/* Funkylike V2 — aperçu fidèle aux choix enregistrés et navigation commune */
[hidden]{display:none!important}
.fk-workspace-tabs{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:0 0 22px;padding:5px;background:#eaedf3;border-radius:13px;width:max-content;max-width:100%}
.fk-workspace-tabs a{font-size:13px;font-weight:850;color:#63738b;padding:11px 15px;border-radius:10px;text-decoration:none}
.fk-workspace-tabs a.active{background:#fff;color:#1c2940;box-shadow:0 3px 9px #1c29400c}
.fk-screen-selector{margin:0 0 25px;padding:20px;background:#fff;border:1px solid #e6eaf0;border-radius:17px}
.fk-screen-selector-title{display:flex;align-items:center;gap:15px;justify-content:space-between;flex-wrap:wrap;margin-bottom:15px}
.fk-screen-selector-title strong{font-size:14px;color:#253752}
.fk-screen-selector-title span{font-size:12px;color:#8291a6}
.fk-screen-tabs{flex-wrap:wrap;width:fit-content;max-width:100%}
.fk-screen-tabs button{white-space:normal}
.fk-screen-coming{padding:22px;border:1px dashed #e7d2aa;background:#fffaf0;color:#805b23;border-radius:13px;font-size:13px;font-weight:750;margin:16px 0 0;line-height:1.6}
.fk-counter-card{min-width:0}
.fk-counter-preview{height:188px;min-height:160px;margin:20px 0 10px;background:linear-gradient(120deg,#243a57,#152438);border-radius:16px;position:relative;overflow:hidden;display:grid;place-items:center;isolation:isolate}
.fk-counter-preview-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-1}
.fk-counter-preview:before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#10213966,#10213919);z-index:0;pointer-events:none}
.fk-counter-preview-content{padding:18px;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;text-align:center;position:relative;z-index:1;overflow-wrap:anywhere;text-shadow:0 1px 4px #0006}
.fk-counter-preview-before,.fk-counter-preview-after{font-size:13px;line-height:1.35;max-width:100%;font-weight:750}
.fk-counter-preview-value{font-variant-numeric:tabular-nums;font-size:clamp(35px,4vw,53px);font-weight:900;line-height:1.1;letter-spacing:-.05em}
.fk-counter-preview-paused:after{content:"";position:absolute;inset:0;background:#12223755;pointer-events:none}
.fk-preview-paused{position:absolute;bottom:10px;right:10px;z-index:2;background:#fff;color:#7f5524;padding:6px 9px;border-radius:9px;font-size:11px;font-weight:850}
.fk-preview-caption{font-size:11px;color:#8190a4;margin:0 0 10px;line-height:1.5}
.fk-card-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:16px}
.fk-card-actions a{flex:1;text-align:center;min-width:115px}
.fk-empty-counters{padding:23px;background:#fff;border:1px dashed #dce3ec;border-radius:14px;margin:0 0 15px}
.fk-empty-counters p{color:#8190a4;font-size:13px;line-height:1.55}
.fk-add-another{margin:18px 0 0}
.fk-add-another a{display:inline-flex}
.fk-settings-filter{margin-bottom:19px}
@media(max-width:720px){.fk-workspace-tabs{width:100%}.fk-workspace-tabs a{flex:1;text-align:center;padding:11px 8px}.fk-counter-preview{height:180px}.fk-screen-selector{padding:16px}}

.fk-counter-preview-light{background:linear-gradient(130deg,#f5f7fc,#dde8f2)}
.fk-counter-preview-light:before{background:linear-gradient(0deg,#dae5ee44,#ffffff00)}
.fk-counter-preview-light .fk-counter-preview-content{text-shadow:none}
.fk-counter-preview-bg{z-index:0}
.fk-counter-preview:before{z-index:1}
.fk-counter-preview-content{z-index:2}
.fk-preview-paused{z-index:4}
.fk-counter-preview-paused:after{z-index:3}

/* Funkylike V2 — filtres unifiés, limite d'abonnement et bibliothèque à venir. */
.fk-unified-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 18px}
.fk-unified-filters{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:5px;width:auto;max-width:100%;overflow-x:auto;scrollbar-width:thin;overscroll-behavior-inline:contain}
.fk-unified-filters button{white-space:nowrap;min-height:38px;flex:0 0 auto}
.fk-limit-card{padding:28px 18px}
.fk-limit-card .add-icon{line-height:1}
.fk-limit-card strong{font-size:16px}
.fk-upgrade-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:11px 14px;border:0;border-radius:11px;background:#192b46;color:#fff;font-size:12px;font-weight:850;text-align:center;text-decoration:none}
.fk-upgrade-button:hover{background:#2a456b;color:#fff}
.fk-other-screens{margin:8px 0 25px}
.fk-other-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:0 0 19px}
.fk-other-heading h2{margin:5px 0 6px;font-size:25px;letter-spacing:-.04em}
.fk-other-heading p{margin:0;max-width:560px;font-size:13px;color:#7b8899;line-height:1.6}
.fk-model-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.fk-model-card{min-height:220px;gap:11px}
.fk-model-card .fk-screen-icon{width:45px;height:45px}
.fk-screen-icon svg{width:25px;height:25px;display:block}
.fk-model-card strong{font-size:16px}
.fk-model-card p{margin-bottom:auto}
.fk-model-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;width:100%}
.fk-model-premium-label{font-size:11px;color:#7b879a}
.fk-future-notice{font-size:12px;line-height:1.6;color:#7a899e;margin:15px 0 0}
@media(max-width:1180px){.fk-model-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.fk-unified-toolbar{align-items:flex-start;flex-direction:column}.fk-unified-filters{width:100%;justify-content:flex-start}.fk-unified-filters button{font-size:12px;padding:10px 11px}.fk-model-grid{grid-template-columns:1fr}.fk-other-heading{align-items:flex-start}}

/* Lot V2 — gestion, suppression sûre, bibliothèque Premium et stabilité des filtres */
.fk-screen-stage,.fk-settings-stage{position:relative;overflow-anchor:none;min-height:320px}
.fk-screen-stage [hidden],.fk-settings-stage [hidden]{display:none!important}
.fk-premium-banner{display:flex;gap:16px;align-items:center;background:linear-gradient(120deg,#1c2c47,#354b6b);color:#fff;padding:22px 24px;border-radius:17px;margin:14px 0 20px;border:1px solid #2d405f}
.fk-premium-symbol{font-size:26px;color:#ffca75;flex:0 0 auto;align-self:flex-start}
.fk-premium-banner>div:nth-child(2){flex:1;min-width:0}
.fk-premium-eyebrow{font-size:10px;font-weight:900;letter-spacing:.11em;text-transform:uppercase;color:#ffcf7d}
.fk-premium-banner h2{font-size:22px;color:#fff;margin:4px 0 7px;letter-spacing:-.035em}
.fk-premium-banner p{font-size:12px;color:#dbe3ef;line-height:1.6;margin:0;max-width:620px}
.fk-premium-banner .fk-upgrade-button{background:#f4b34d;color:#1b2b43;white-space:nowrap}
.fk-premium-access{font-size:12px;font-weight:850;border:1px solid #92aac3;background:#415775;padding:11px;border-radius:10px;white-space:nowrap;color:#fff}
.fk-remove-details{border-top:1px solid #e9edf2;margin-top:14px;padding-top:11px;font-size:12px}
.fk-remove-details summary{display:inline-flex;cursor:pointer;color:#8d4050;font-weight:750;padding:7px 0;list-style:none;text-decoration:underline;text-decoration-color:#d7b8bf;text-underline-offset:3px}
.fk-remove-details summary::-webkit-details-marker{display:none}
.fk-remove-details summary::marker{content:''}
.fk-remove-confirm{background:#fff7f7;border:1px solid #efd5d7;border-radius:12px;padding:15px;color:#3b2931}
.fk-remove-confirm strong{font-size:13px}
.fk-remove-confirm p{font-size:12px;color:#795b62;line-height:1.5;margin:7px 0 12px}
.fk-remove-button{padding:10px 13px;border:1px solid #b74953;background:#fff;color:#933741;font-size:12px;font-weight:800;border-radius:9px;cursor:pointer}
.fk-remove-button:hover{background:#f9e4e5}
.fk-diffuser-button{display:inline-flex!important;justify-content:center;align-items:center;gap:8px}
.fk-diffuser-button svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.fk-unified-filters button:focus-visible,.fk-remove-details summary:focus-visible,.fk-remove-button:focus-visible{outline:3px solid #e1a039;outline-offset:2px}
@media(max-width:720px){.fk-premium-banner{flex-wrap:wrap;padding:19px}.fk-premium-banner .fk-upgrade-button{width:100%}.fk-premium-banner h2{font-size:19px}}

/* Actions de suppression des compteurs : accès discret et clairement identifié. */
.fk-counter-card{position:relative}
.fk-card-head-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.fk-card-head-actions .status{flex:0 0 auto}
.fk-remove-details{position:relative;flex:0 0 auto;margin:0}
.fk-remove-icon-trigger{display:grid;place-items:center;cursor:pointer;list-style:none;width:36px;height:36px;border-radius:10px;border:1px solid #e9dfe0;background:#fff;color:#ad5257;transition:background-color .15s,border-color .15s}
.fk-remove-icon-trigger::-webkit-details-marker{display:none}
.fk-remove-icon-trigger::marker{content:""}
.fk-remove-icon-trigger svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}
.fk-remove-icon-trigger:hover,.fk-remove-details[open] .fk-remove-icon-trigger{background:#fff1f1;border-color:#e9acb0}
.fk-remove-icon-trigger:focus-visible{outline:3px solid #f0b94b;outline-offset:2px}
.fk-remove-details[open] .fk-remove-confirm{position:absolute;top:calc(100% + 10px);right:0;width:min(330px,calc(100vw - 46px));z-index:30;background:#fff;border:1px solid #ebd4d5;border-radius:14px;padding:18px;box-shadow:0 18px 50px #17263a29}
.fk-counter-card:has(.fk-remove-details[open]){z-index:4}
@media(max-width:420px){.fk-card-head-actions{gap:5px}.fk-remove-icon-trigger{width:34px;height:34px}.fk-card-head .identity{gap:7px}.fk-card-head .identity strong{font-size:14px}}

/* Sur la carte, ces règles remplacent l'ancien panneau de retrait placé en bas. */
.fk-remove-details{border:0;padding:0;margin:0}
.fk-remove-details .fk-remove-icon-trigger{display:grid;padding:0;text-decoration:none;color:#a34652;width:36px;height:36px}
.fk-remove-details .fk-remove-confirm{margin:0}

/* Compteurs historiques à reconnecter : visibles et retirable sans action sur Meta. */
.fk-status-legacy{background:#fff2df!important;color:#955d12!important}
.fk-legacy-notice{border-color:#efd6ae;background:#fff9ec;color:#754c1b}
.fk-legacy-message{margin:14px 0 0;padding:13px 15px;border-radius:12px;
  background:#fff9ed;border:1px solid #f0dfc1;color:#735329;font-size:12px;line-height:1.65}
/* Une carte masquée par les filtres ne doit pas continuer à occuper la grille. */
.fk-counter-card[hidden], .fk-screen-stage section[hidden]{display:none!important}
