:root{color-scheme:dark;--bg:#0a1019;--pane:#141e2c;--pane2:#192537;--line:#314154;--line-soft:#243347;--text:#f0f4fa;--muted:#9baec5;--gold:#e4b872;--cyan:#70c4c5;--green:#6fd5a4;--red:#ec8894;--shadow:0 22px 60px rgba(0,0,0,.23)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(ellipse 700px 400px at 4% 4%,rgba(209,163,99,.08),transparent 80%),radial-gradient(ellipse 550px 400px at 94% 1%,rgba(68,123,160,.07),transparent 80%),var(--bg);color:var(--text);font:14px/1.65 'Plus Jakarta Sans',Inter,system-ui,sans-serif;-webkit-font-smoothing:antialiased}a{text-decoration:none;color:inherit}a:hover{color:var(--gold)}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #f2c485;outline-offset:3px}button,input,select,textarea{font:inherit}button{cursor:pointer}h1,h2,h3,h4{letter-spacing:-.035em;line-height:1.23}p{color:var(--muted)}.container{max-width:1210px;width:calc(100% - 52px);margin:auto}.eyebrow{text-transform:uppercase;letter-spacing:.17em;font-weight:800;font-size:.69rem;color:var(--gold)}.soft{color:var(--muted)}.strong{color:var(--text);font-weight:800}.site-header{position:sticky;top:0;z-index:50;backdrop-filter:blur(18px);background:rgba(11,18,28,.87);border-bottom:1px solid #283648}.site-header .inner{min-height:82px;display:flex;justify-content:space-between;align-items:center;gap:20px}.brand{display:flex;gap:13px;align-items:center}.brand img{width:47px;height:47px;object-fit:cover;border:1px solid #766442;border-radius:50%}.brand-text{display:flex;flex-direction:column;line-height:1.24}.brand-text b{font-size:1.05rem;letter-spacing:-.03em}.brand-text small{color:#d6b279;font-size:.61rem;font-weight:800;letter-spacing:.14em}.header-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.header-actions a{color:#afbed1;font-size:.8rem;font-weight:750}.header-actions a:hover{color:white}.pill-link{padding:10px 16px;background:#223045;border:1px solid #415069;border-radius:10px;color:white!important}.pill-link:hover{border-color:#b89b67}.btn{border:1px solid transparent;border-radius:11px;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:45px;padding:11px 17px;font-weight:800;font-size:.85rem;transition:background .15s,transform .15s,box-shadow .15s}.btn:hover{transform:translateY(-1px)}.btn-primary{background:linear-gradient(135deg,#ebc387,#d5a768);border-color:#efcb95;color:#1c1b1b!important}.btn-discord{background:#5d78db;border-color:#7288e9;color:#fff!important}.btn-outline{background:#172435;border-color:#40556c;color:#e3eaf3}.btn-quiet{background:#202c3a;border-color:#34495d;color:#e8eef7}.btn-danger{background:#40252c;border-color:#71434c;color:#f4a5a8}.btn-sm{font-size:.75rem;min-height:35px;padding:7px 12px;border-radius:8px}.hero{padding:108px 0 90px;display:grid;grid-template-columns:minmax(0,1.16fr) minmax(340px,.84fr);gap:74px;align-items:center}.hero h1{font-size:clamp(2.7rem,4.6vw,4.8rem);font-weight:850;margin:19px 0 23px;line-height:1.08;max-width:760px}.hero h1 span{color:#e8bd7d}.hero .lead{font-size:1.04rem;line-height:1.9;max-width:630px}.hero-buttons{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}.hero-meta{display:flex;gap:24px;flex-wrap:wrap;margin-top:35px;color:#8fa8c2;font-size:.74rem}.hero-meta span:before{content:'✓';color:var(--green);font-weight:800;margin-right:8px}.hero-panel{border:1px solid #3b5065;background:linear-gradient(150deg,#1d2b3b,#121d2a);border-radius:24px;padding:30px;box-shadow:var(--shadow)}.hero-panel .micro{color:#e3bd82;text-transform:uppercase;letter-spacing:.16em;font-size:.65rem;font-weight:850}.hero-panel h2{font-size:1.55rem;margin:9px 0 22px}.mock-row{display:flex;align-items:center;gap:13px;padding:15px 0;border-bottom:1px solid #314255}.mock-icon{width:36px;height:36px;display:grid;place-items:center;background:#29394b;border:1px solid #496074;border-radius:9px;color:#eec489;font-weight:900}.mock-row strong{font-size:.86rem}.mock-row small{display:block;color:#9aafc4;font-size:.74rem}.mock-state{font-size:.66rem;color:#80d8b4;border:1px solid #3e886c;border-radius:8px;padding:4px 8px;margin-left:auto;white-space:nowrap}.mock-footer{display:flex;justify-content:space-between;align-items:center;padding-top:22px;color:#b7c6d8;font-size:.78rem}.mock-footer b{color:#e7bb7d;font-size:1.25rem}.section{padding:85px 0;border-top:1px solid #253548}.section-head{max-width:720px;margin-bottom:33px}.section-head h2{font-size:clamp(1.8rem,3vw,2.55rem);margin:11px 0}.section-head p{font-size:.91rem;line-height:1.85;margin:0}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.feature-card{padding:26px;border-radius:15px;border:1px solid #34465a;background:#14202e;min-height:224px}.feature-card .feature-icon{width:43px;height:43px;display:grid;place-items:center;background:#27374a;border-radius:11px;font-size:1.3rem;color:#edc68b}.feature-card h3{font-size:1.03rem;margin:19px 0 10px}.feature-card p{font-size:.82rem;line-height:1.8;margin:0}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.step{padding:24px;border:1px solid #35495d;background:#182536;border-radius:14px}.step .no{font-size:.72rem;font-weight:900;color:#ebc385;letter-spacing:.14em}.step h3{font-size:.98rem;margin:14px 0 8px}.step p{font-size:.79rem;line-height:1.8;margin:0}.cta{border:1px solid #67593f;border-radius:19px;padding:48px;background:linear-gradient(120deg,#1e2d3d,#262a2c);display:flex;justify-content:space-between;align-items:center;gap:30px}.cta h2{font-size:2rem;margin:7px 0}.cta p{margin:0}.footer{padding:31px 0;border-top:1px solid #28374a;color:#93a7bc;font-size:.72rem}.footer .inner{display:flex;justify-content:space-between;gap:14px}.footer a{color:#c4af8b}.page-hero{padding:62px 0 37px}.page-hero h1{font-size:clamp(2rem,3.3vw,2.95rem);margin:11px 0}.page-hero p{max-width:760px}.panel-layout{padding:26px 0 84px;display:grid;grid-template-columns:240px minmax(0,1fr);gap:27px}.sidepanel{border:1px solid #2e4055;background:#14202e;border-radius:15px;padding:20px;height:max-content;position:sticky;top:105px}.identity{display:flex;align-items:center;gap:11px;padding:5px 0 19px;border-bottom:1px solid #324354;margin-bottom:15px}.identity img{width:48px;height:48px;border-radius:12px;object-fit:cover;background:#243447;border:1px solid #42546b}.identity small{display:block;color:#8da2b8;font-size:.68rem}.identity b{font-size:.88rem}.sidepanel a{padding:11px 12px;border-radius:9px;color:#a9bdd0;font-size:.81rem;display:block;font-weight:700;margin:5px 0}.sidepanel a:hover,.sidepanel a.active{background:#2b394b;color:#f0c786}.side-foot{padding-top:17px;margin-top:16px;border-top:1px solid #314357;color:#8198b0;font-size:.69rem}.content-stack{display:flex;flex-direction:column;gap:20px;min-width:0}.panel{background:#152132;border:1px solid #34475c;border-radius:16px;overflow:hidden}.panel-top{padding:22px 26px;border-bottom:1px solid #304257;display:flex;justify-content:space-between;align-items:center;gap:13px}.panel-top h2{font-size:1.13rem;margin:0}.panel-top p{margin:5px 0 0;font-size:.78rem}.panel-body{padding:24px 26px}.panel-body p:first-child{margin-top:0}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.stat{padding:19px;border:1px solid #384a60;border-radius:13px;background:#1c2a3d}.stat small{color:#9eb2c9;font-size:.7rem;text-transform:uppercase;letter-spacing:.1em}.stat b{display:block;font-size:1.85rem;line-height:1.3;margin-top:10px;letter-spacing:-.05em}.stat p{font-size:.71rem;margin:4px 0 0}.status{display:inline-flex;align-items:center;gap:6px;border:1px solid #635847;background:#2c2b29;color:#e9bf7f;font-size:.7rem;font-weight:800;border-radius:100px;padding:6px 11px}.status.is-live{background:#1e3631;border-color:#42715e;color:#8adfb7}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.field{display:flex;flex-direction:column;gap:7px}.field label{font-size:.76rem;font-weight:800;color:#dfebf8}.field input,.field select,.field textarea{width:100%;border-radius:10px;border:1px solid #455972;background:#0f1926;color:#f0f6ff;padding:11px 13px;min-height:43px;outline:none}.field input:focus,.field select:focus,.field textarea:focus{border-color:#d5af70;box-shadow:0 0 0 3px rgba(224,178,107,.13)}.field textarea{resize:vertical;min-height:110px}.field .hint{color:#809ab4;font-size:.71rem}.field.wide{grid-column:1/-1}.panel-actions{display:flex;gap:9px;justify-content:flex-end;align-items:center;flex-wrap:wrap;margin-top:22px}.note{background:#213249;border:1px solid #3c5974;padding:14px 16px;border-radius:11px;font-size:.79rem;color:#b8cce0;line-height:1.8}.note.error{border-color:#845661;background:#392a34;color:#f1b1b9}.note.success{border-color:#3e7966;background:#203b35;color:#92dfbb}.subtle{color:#8197ae;font-size:.75rem}.form-section{margin-bottom:23px}.form-section h3{margin:0 0 14px;font-size:.91rem}.form-section .helper{font-size:.79rem}.stepslist{display:grid;gap:12px}.stepslist .item{display:flex;gap:13px;align-items:flex-start}.stepslist .num{flex:0 0 27px;height:27px;display:grid;place-items:center;background:#2b3b50;border:1px solid #53657b;border-radius:8px;font-size:.76rem;color:#e3ba7b;font-weight:800}.stepslist b{display:block;font-size:.83rem}.stepslist p{margin:3px 0 0;font-size:.77rem}.divider{height:1px;background:#32475d;margin:26px 0}.logo-block{display:flex;align-items:center;gap:20px}.logo-block img{width:90px;height:90px;border-radius:15px;object-fit:cover;border:1px solid #55677b;background:#28384b}.chip{display:inline-flex;border:1px solid #42556d;background:#202f43;border-radius:6px;padding:5px 9px;font-size:.71rem;font-weight:800;color:#cbd9e9}.mini-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.kbd{background:#0b1521;border:1px solid #43566f;border-radius:5px;padding:2px 6px;color:#efcf9e;font-family:ui-monospace,monospace;font-size:.79rem}.empty{padding:18px;color:#b1c2d2;text-align:center}.account-form{max-width:570px;margin:0 auto 90px}.account-form .panel-body{padding:35px}.account-form .intro{margin-bottom:25px}.account-form .intro h1{font-size:2.1rem;margin:8px 0}.account-form .intro p{font-size:.9rem}.alert{border:1px solid #79515a;background:#422c32;color:#fac6ce;padding:13px;border-radius:10px;margin:14px 0}.avatar-circle{display:grid;place-items:center;width:48px;height:48px;border-radius:100%;border:1px solid #4f6072;background:#2c3b4d;color:#e8be7d;font-weight:800}.muted-label{font-size:.69rem;text-transform:uppercase;letter-spacing:.09em;color:#a0b4ca}.hintline{font-size:.73rem;color:#94a9be;line-height:1.8;margin-top:7px}.anchor{scroll-margin-top:100px}
@media(max-width:1100px){.hero{gap:35px;grid-template-columns:1fr 420px}.steps{grid-template-columns:repeat(2,1fr)}}
@media(max-width:850px){.hero{grid-template-columns:1fr;padding:68px 0}.hero-panel{max-width:580px}.feature-grid{grid-template-columns:repeat(2,1fr)}.panel-layout{grid-template-columns:1fr}.sidepanel{position:static}.sidepanel .links{display:flex;gap:4px;overflow:auto}.sidepanel .links a{white-space:nowrap}.side-foot{display:none}.stat-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:600px){.container{width:calc(100% - 28px)}.header-actions{gap:9px}.header-actions .optional{display:none}.site-header .inner{min-height:72px}.brand img{width:41px;height:41px}.brand-text b{font-size:.9rem}.brand-text small{font-size:.55rem}.hero{padding:56px 0}.hero h1{font-size:clamp(2.3rem,10vw,3.1rem)}.hero .lead{font-size:.92rem}.hero-panel{padding:21px}.feature-grid,.steps,.field-grid,.mini-grid,.stat-grid{grid-template-columns:1fr}.section{padding:58px 0}.cta{padding:28px;flex-direction:column;align-items:start}.panel-top,.panel-body{padding:18px}.field.wide{grid-column:auto}.page-hero{padding:37px 0 14px}.footer .inner{display:block}.account-form .panel-body{padding:24px}.logo-block{align-items:flex-start;flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}

body[data-accent=blue]{--gold:#8db9ff}body[data-accent=green]{--gold:#8ed9bb}body[data-accent=purple]{--gold:#c4aaff}
.table-wrap{overflow:auto}.table-ui{width:100%;border-collapse:collapse;text-align:left}.table-ui th{font-size:.68rem;text-transform:uppercase;letter-spacing:.08em;color:#8fa7c0;border-bottom:1px solid #364b63;padding:14px 18px;background:#1a2a3c}.table-ui td{border-bottom:1px solid #2d4056;padding:15px 18px;color:#dce7f5;font-size:.8rem}.table-ui tr:hover td{background:#1b2b3d}.table-ui td a{color:#e7bd7d;font-weight:750}.pages{display:flex;gap:7px;align-items:center;justify-content:flex-end;margin-top:18px}.pages a{border:1px solid #40566e;padding:8px 12px;border-radius:8px;background:#192839}.transcript{display:grid;gap:17px}.transcript-item{display:flex;gap:12px;border-bottom:1px solid #2c3e50;padding-bottom:15px}.transcript-avatar{width:38px;height:38px;display:grid;place-items:center;background:#28394d;border:1px solid #465e77;border-radius:50%;font-weight:850;color:#d6b882;flex:none}.transcript-copy{min-width:0;flex:1}.transcript-copy header{display:flex;gap:10px;align-items:baseline;flex-wrap:wrap}.transcript-copy header strong{font-size:.83rem}.transcript-copy header time{color:#8ba1ba;font-size:.69rem}.transcript-copy p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.82rem;color:#cbd8e7;margin:5px 0 0}.transcript-attachments{display:flex;gap:7px;flex-wrap:wrap;margin-top:9px}.transcript-attachments a{border:1px solid #47617d;border-radius:7px;padding:6px 9px;background:#23364b;font-size:.72rem}
/* Écrans étroits : empêcher les champs/IDs Discord d'imposer la largeur min-content du grid. */
.panel-layout>*{min-width:0}
.panel,.panel-body,.panel-top,.content-stack,.field,.stepslist,.stepslist .item>div,.logo-block>div{min-width:0}
.field input,.field select,.field textarea{max-width:100%}
@media(max-width:850px){.panel-layout{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){.logo-block{flex-direction:column}.logo-block input[type=file]{max-width:100%;width:100%}.panel-top{flex-wrap:wrap}.header-actions{flex-wrap:nowrap}.sidepanel .links{max-width:100%}}

/* =====================================================================
   Ludus Bot V16 — Ergonomie mobile / web-app installable
   Les tableaux client deviennent des fiches sur téléphone ; pas de JS
   nécessaire pour les formulaires ni pour les commandes sensibles.
   ===================================================================== */
:root{--touch-size:44px}
html{min-width:320px;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{min-width:320px}
img,video,svg{max-width:100%}
.panel,.panel-body,.panel-top,.hero-panel,.hero,.hero>*,.feature-grid>*,.steps>*,.field-grid>*,.mini-grid>*{min-width:0}
.field input,.field select,.field textarea,.hintline,.kbd,.note,.stat,.step,.feature-card,.table-ui td{overflow-wrap:anywhere}
button:disabled,.btn[disabled]{opacity:.53;cursor:not-allowed;transform:none}
.btn:active{transform:translateY(0) scale(.99)}
.mobile-menu,.mobile-app-nav{display:none}
.ticket-state{display:inline-flex;align-items:center;border:1px solid #596273;background:#233044;padding:4px 10px;border-radius:100px;font-size:.72rem;font-weight:800;white-space:nowrap}
.ticket-state.open{border-color:#3e775f;background:#17382b;color:#9ee2c0}
.ticket-state.closed{border-color:#5d6680;color:#b8c8df}
.install-help{display:flex;justify-content:space-between;align-items:center;gap:22px;padding:28px 34px;margin-bottom:35px;background:#182537;border:1px solid #35485f;border-radius:17px}
.install-help h2{margin:7px 0;font-size:1.35rem}
.install-help p{max-width:750px;font-size:.81rem;line-height:1.7;margin:0}
.pwa-install[hidden]{display:none!important}

@media(max-width:960px){
  .site-header .inner{gap:12px}
  .header-actions{gap:12px}
  .hero{grid-template-columns:minmax(0,1fr);gap:32px}
  .hero-panel{max-width:none}
  .hero h1{max-width:720px}
  .panel-layout{grid-template-columns:minmax(0,1fr);gap:20px}
  .sidepanel{position:static}
  .sidepanel .links{display:flex;overflow:auto;scrollbar-width:thin;gap:5px}
  .sidepanel .links a{flex:0 0 auto;white-space:nowrap}
  .step{padding:21px}
}

/* Sur tablette, menus accessibles au doigt et largeurs souples. */
@media(max-width:740px){
  .header-actions{display:none}
  .mobile-menu{display:block;position:relative;flex:0 0 auto}
  .mobile-menu summary{list-style:none;display:flex;align-items:center;justify-content:center;gap:9px;min-height:var(--touch-size);padding:9px 13px;border:1px solid #46586d;background:#233246;border-radius:11px;color:#e4edf7;font-size:.84rem;font-weight:800;cursor:pointer;user-select:none}
  .mobile-menu summary::-webkit-details-marker{display:none}
  .mobile-menu summary:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
  .menu-bars{display:grid;gap:4px}
  .menu-bars i{display:block;width:17px;height:2px;border-radius:3px;background:currentColor}
  .mobile-menu[open] summary{border-color:#bc9d64;color:#f0c783}
  .mobile-menu nav{position:absolute;top:calc(100% + 12px);right:0;z-index:100;display:grid;gap:4px;width:min(302px,calc(100vw - 28px));border:1px solid #405672;background:#172334;box-shadow:0 18px 45px rgba(0,0,0,.55);border-radius:15px;padding:10px}
  .mobile-menu nav a{display:flex;align-items:center;min-height:46px;border-radius:9px;padding:11px 13px;font-size:.87rem;font-weight:750;color:#d3e1ef}
  .mobile-menu nav a:hover,.mobile-menu nav a:focus-visible{background:#27384d;color:#f0c783}
  .mobile-menu nav .is-primary{background:#dcb476;color:#1a1e24}
  .site-header .inner{min-height:70px}
  .brand{min-width:0;gap:10px}
  .brand-text{min-width:0}
  .brand-text b{display:block;max-width:min(47vw,270px);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
  .brand-text small{font-size:.55rem}
  .steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  .install-help{padding:22px;align-items:flex-start;flex-direction:column}
  .section{padding:64px 0}
  .panel-top{flex-wrap:wrap}
  .panel-top .chip{max-width:100%}
  .hero-meta{gap:12px 18px}
}

@media(max-width:620px){
  :root{--touch-size:46px}
  .site-header .container{width:calc(100% - 28px)}
  .container{width:calc(100% - 28px)}
  .site-header .inner{min-height:66px}
  .brand img{width:40px;height:40px;flex:none}
  .brand-text b{font-size:.88rem;max-width:46vw}
  .brand-text small{letter-spacing:.06em;font-size:.52rem}
  .mobile-menu summary{padding:10px 12px}
  .page-hero{padding:32px 0 20px}
  .page-hero h1{font-size:clamp(1.75rem,7vw,2.35rem);overflow-wrap:anywhere}
  .page-hero .btn{margin-top:8px}
  .hero{padding:52px 0 47px}
  .hero h1{font-size:clamp(2.08rem,9.5vw,3rem);line-height:1.14}
  .hero .lead{line-height:1.68}
  .hero-buttons{display:grid;grid-template-columns:1fr;gap:10px}
  .hero-buttons .btn{width:100%}
  .hero-panel{padding:19px}
  .hero-panel h2{font-size:1.3rem}
  .mock-row{gap:10px}
  .mock-row strong{font-size:.76rem}
  .mock-row small{font-size:.69rem}
  .mock-state{display:none}
  .hero-meta{gap:10px 16px}
  .section{padding:48px 0}
  .section-head h2{font-size:1.8rem}
  .feature-grid,.steps{grid-template-columns:1fr}
  .feature-card{min-height:0;padding:21px}
  .step{padding:20px}
  .cta{padding:24px;align-items:stretch}
  .cta h2{font-size:1.65rem}
  .cta .btn{width:100%}
  .panel-layout{padding:9px 0 24px;gap:15px}
  /* La navigation fixe remplace la seconde barre de liens du dashboard. */
  .panel-layout .sidepanel{display:none}
  .content-stack{gap:14px}
  .panel{border-radius:13px}
  .panel-top,.panel-body{padding:18px}
  .panel-top h2{font-size:1.02rem}
  .panel-top p{font-size:.77rem}
  .panel-body p{line-height:1.65}
  .panel-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;justify-content:stretch}
  .panel-actions .btn,.panel-actions button{width:100%;min-height:46px}
  .field-grid,.mini-grid{grid-template-columns:minmax(0,1fr)}
  .field{min-width:0}
  .field.wide{grid-column:1}
  .field input,.field select,.field textarea{font-size:16px!important;min-height:46px;padding:12px 13px}
  .field input[type=file]{padding:8px}
  .field textarea{min-height:128px}
  .field label{font-size:.81rem}
  .field .hint{font-size:.76rem}
  .btn{min-height:46px}
  .btn-sm{min-height:42px}
  .logo-block{flex-direction:row;align-items:flex-start;gap:14px}
  .logo-block img{width:68px;height:68px;flex:0 0 68px}
  .logo-block>div{flex:1 1 170px}
  .logo-block input[type=file]{max-width:100%;width:100%;font-size:13px}
  .logo-block .btn{width:100%}
  .stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .stat{padding:15px}
  .stat b{font-size:1.65rem}
  .stat small{font-size:.62rem;letter-spacing:.055em}
  .stat:last-child{grid-column:1/-1}
  .stepslist .item{gap:11px}
  .stepslist .num{flex:0 0 26px}
  .stepslist p{overflow-wrap:anywhere}
  .note{font-size:.78rem}
  .account-form{margin-bottom:35px}
  .account-form .panel-body{padding:19px}
  .account-form .intro h1{font-size:1.7rem}
  .footer{padding:28px 0}
  .footer .inner{display:grid;gap:10px}
  .anchor{scroll-margin-top:86px}
  /* Barre de navigation mobile, compatible avec le safe area iPhone. */
  body:has(.mobile-app-nav){padding-bottom:calc(73px + env(safe-area-inset-bottom,0px))}
  .mobile-app-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));position:fixed;left:0;right:0;bottom:0;z-index:90;min-height:69px;padding:5px 7px calc(7px + env(safe-area-inset-bottom,0px));background:rgba(13,22,34,.98);border-top:1px solid #3b4d62;box-shadow:0 -12px 28px rgba(0,0,0,.32);backdrop-filter:blur(14px)}
  .mobile-app-nav a{display:grid;place-items:center;align-content:center;gap:3px;min-height:53px;padding:5px 2px;border-radius:10px;color:#adbed2;font-size:.65rem;font-weight:800;white-space:nowrap}
  .mobile-app-nav a svg{width:21px;height:21px;flex:none}
  .mobile-app-nav a[aria-current=page],.mobile-app-nav a:hover{background:#25384c;color:#f1c78a}
  .mobile-app-nav a:focus-visible{outline:2px solid var(--gold);outline-offset:-2px}
  /* Mobile: les tables restent accessibles sans défilement horizontal. */
  .table-wrap{overflow:visible;padding:11px}
  .mobile-cards{display:block;width:100%;border-spacing:0}
  .mobile-cards thead{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
  .mobile-cards tbody{display:grid;gap:12px}
  .mobile-cards tr{display:grid;gap:0;border:1px solid #374c62;background:#1a2a3d;border-radius:12px;overflow:hidden;min-width:0}
  .mobile-cards td{display:grid;grid-template-columns:minmax(82px,.42fr) minmax(0,1fr);align-items:center;gap:7px;border-bottom:1px solid #2b3e54!important;padding:11px 12px!important;min-width:0;font-size:.81rem}
  .mobile-cards td:last-child{border-bottom:0!important}
  .mobile-cards td::before{content:attr(data-label);font-size:.66rem;letter-spacing:.04em;text-transform:uppercase;font-weight:850;color:#9aafc5}
  .mobile-cards td[data-label="Accès"] a,.mobile-cards td[data-label="Lecture"] a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;max-width:100%;border:1px solid #a48756;background:#423827;border-radius:9px;padding:8px 11px;font-size:.76rem;text-align:center}
  .mobile-cards td.empty-row{grid-template-columns:1fr;min-height:90px;display:grid;place-items:center}
  .mobile-cards td.empty-row::before{display:none}
  .pages{justify-content:center;gap:7px;flex-wrap:wrap;margin:16px 0 24px}
  .pages a{min-height:44px;display:flex;align-items:center;padding:9px 12px}
  .pages span{font-size:.8rem}
  .transcript{gap:12px}
  .transcript-item{gap:9px}
  .transcript-avatar{width:31px;height:31px;font-size:.75rem}
  .transcript-copy header{gap:3px 9px}
  .transcript-copy p{font-size:.84rem;line-height:1.65}
  .transcript-attachments a{min-height:42px;display:flex;align-items:center}
  .install-help{padding:19px;margin-bottom:26px}
}

@media(max-width:360px){
  .mobile-menu summary span:last-child{display:none}
  .brand-text b{max-width:52vw}
  .mobile-cards td{grid-template-columns:minmax(72px,.4fr) minmax(0,1fr);padding:10px!important}
  .stat-grid{grid-template-columns:1fr}
  .stat:last-child{grid-column:auto}
  .hero h1{font-size:2.05rem}
}

@media(display-mode:standalone){
  .site-header{background:#101a27}
  body:has(.mobile-app-nav){overscroll-behavior-y:contain}
}
@media(hover:none){.btn:hover{transform:none}}

/* V17 · Abonnements VIP et modules SaaS */
.vip-link{color:#f0c888!important;font-weight:800!important}
.vip-current{margin-bottom:22px}
.vip-current .panel-body,.vip-manage,.vip-bar{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}
.vip-bar h2{font-size:1.25rem;margin:12px 0 6px}.vip-bar p{margin:0}
.quick-modules{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
.quick-modules a{color:#e2c18f;font-size:.83rem;font-weight:800;border:1px solid #3a4b5d;border-radius:9px;padding:10px 12px;text-decoration:none}
.quick-modules a:hover{background:#253a50}
.bot-switch{min-width:min(100%,300px);width:100%;max-width:550px;background:#101a28;color:#fff;border:1px solid #405875;border-radius:10px;min-height:48px;padding:10px 12px;margin-top:9px;font-size:16px}
.pricing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:24px 0 30px}
.pricing-card{display:flex;flex-direction:column;min-width:0;border:1px solid #37475a;background:linear-gradient(148deg,#1c293a,#131f2d);padding:26px 22px;border-radius:16px;box-shadow:0 12px 28px rgba(0,0,0,.12)}
.pricing-card.featured{border-color:#d9ad74;box-shadow:0 0 0 1px rgba(213,173,108,.25),0 20px 42px rgba(0,0,0,.17)}
.pricing-card .pricing-kicker{font-size:.7rem;letter-spacing:.12em;font-weight:900;color:#ddb97f}
.pricing-card h2{font-size:1.65rem;margin:13px 0 5px}.pricing-amount{margin:7px 0 17px}.pricing-amount strong{font-size:2rem;color:#f5e5ca}.pricing-amount span{color:#9eafc2;font-size:.8rem}
.pricing-card ul{margin:0 0 24px;padding:0;list-style:none;flex:1;display:grid;align-content:start;gap:11px}
.pricing-card li{font-size:.87rem;color:#c3d0de;line-height:1.5}.pricing-card li:before{content:'✓';color:#70dcb5;font-weight:900;margin-right:10px}
.pricing-card .btn{text-align:center;justify-content:center;min-height:45px;align-items:center}
.plan-caption{font-size:.8rem;line-height:1.5;color:#aebed0}
.resource-list{display:grid;gap:10px}.resource-row{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:15px;border:1px solid #364a60;border-radius:12px;background:#19283a;min-width:0}
.resource-row>div:first-child{min-width:0;overflow-wrap:anywhere}.resource-row strong{display:block;color:#eaf2fa}.resource-row .subtle{font-size:.8rem;margin:5px 0 0;overflow-wrap:anywhere}.resource-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
@media(max-width:980px){.pricing-grid{gap:10px}.pricing-card{padding:20px 14px}.pricing-amount strong{font-size:1.6rem}}
@media(max-width:720px){.pricing-grid{grid-template-columns:minmax(0,1fr);gap:13px}.pricing-card{padding:21px 19px}.vip-current .panel-body,.vip-manage,.vip-bar{align-items:stretch;flex-direction:column}.quick-modules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.quick-modules a{text-align:center}.resource-row{align-items:flex-start;flex-direction:column}.resource-actions{width:100%}.resource-actions form,.resource-actions button{flex:1}.resource-actions button{min-height:44px}.mobile-app-nav{grid-template-columns:repeat(5,minmax(0,1fr))}.mobile-app-nav a{font-size:.58rem}}

/* V18 — Mise en avant des avantages de compte VIP / VIP+ */
.plan-badge{display:inline-flex;align-items:center;gap:4px;vertical-align:middle;white-space:nowrap;font-size:.61rem;font-weight:900;letter-spacing:.045em;line-height:1;border:1px solid rgba(222,180,111,.52);background:#3b3025;color:#f5cf94;padding:5px 7px;border-radius:6px;flex-shrink:0;text-transform:uppercase}
.plan-badge span{font-size:.76rem}.plan-badge-plus{background:#2e2948;border-color:#7167a6;color:#d8cafa}.plan-badge-vip{background:#392c20}
.title-with-tier{display:flex;align-items:center;gap:11px;flex-wrap:wrap}
.title-with-tier .plan-badge{font-size:.58rem;letter-spacing:.07em}
.side-link-tier{display:flex!important;justify-content:space-between;align-items:center;gap:8px}
.side-link-tier .plan-badge{font-size:.55rem;padding:4px 6px}
.benefits-hub{border:1px solid #536071;border-radius:18px;overflow:hidden;background:linear-gradient(126deg,#1a2838 0%,#172336 62%,#1c2236 100%);box-shadow:0 12px 34px rgba(0,0,0,.11)}
.benefits-heading{padding:23px 25px 20px;display:flex;align-items:flex-start;justify-content:space-between;gap:18px;border-bottom:1px solid rgba(180,195,215,.16)}
.benefits-heading>div{min-width:0}
.benefits-heading h2{font-size:1.38rem;margin:6px 0}
.benefits-heading p{margin:5px 0 0;font-size:.8rem;max-width:660px}
.benefits-heading .btn{flex-shrink:0}
.benefits-title-line{display:flex;align-items:center;gap:11px;flex-wrap:wrap}
.benefits-title-line h2{margin:6px 0}
.account-plan{display:inline-flex;align-items:center;border:1px solid #46566c;border-radius:100px;padding:5px 10px;background:#243349;color:#d7e3f1;font-size:.67rem;font-weight:850;white-space:nowrap}
.account-plan-free{background:#202c3c}
.account-plan-vip{border-color:#846841;background:#433526;color:#f1cb8c}
.account-plan-plus{border-color:#7466ae;background:#302b4b;color:#d9c7ff}
.benefit-tiers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;padding:18px 21px 17px}
.benefit-tier{display:flex;flex-direction:column;gap:11px;min-width:0;padding:19px;background:#172536;border:1px solid #4a5260;border-radius:12px}
.benefit-tier.is-subscribed{border-color:#a88751;box-shadow:inset 0 1px 0 rgba(250,220,170,.09)}
.benefit-tier-plus{background:linear-gradient(145deg,#24283c,#1c2538);border-color:#625781}
.benefit-tier-plus.is-subscribed{border-color:#9883ca}
.benefit-tier-top{display:flex;align-items:center;gap:11px}
.benefit-crown{display:grid;place-items:center;flex:0 0 37px;height:37px;font-size:1.2rem;color:#f2cf96;background:#3b3027;border:1px solid #786044;border-radius:10px}
.benefit-tier-plus .benefit-crown{color:#d6c5ff;background:#3c3157;border-color:#71628a}
.benefit-tier-top>div{min-width:0;flex:1}
.benefit-kicker{display:block;color:#a9b6c8;letter-spacing:.05em;text-transform:uppercase;font-weight:800;font-size:.61rem}
.benefit-tier h3{display:flex;justify-content:space-between;align-items:baseline;gap:5px;flex-wrap:wrap;font-size:1.09rem;margin:2px 0 0}
.benefit-tier h3>span{color:#f2cd9a;font-size:1.07rem;white-space:nowrap}
.benefit-tier-plus h3>span{color:#d3c3f9}
.benefit-tier h3 small{font-size:.64rem;color:#a5b6c9;font-weight:500}
.benefit-tier ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 13px;margin:0;padding:0;list-style:none}
.benefit-tier li{font-size:.73rem;line-height:1.65;color:#b7c8d9;padding-left:16px;position:relative}
.benefit-tier li:before{content:'✓';color:#84d7b8;font-size:.76rem;position:absolute;left:0;font-weight:900}
.benefit-tier li strong{color:#e5edf6}
.benefit-status,.benefit-cta{margin-top:auto;display:inline-flex;align-items:center;gap:7px;align-self:flex-start;font-size:.76rem;font-weight:800}
.benefit-status.is-active{color:#9ae3be}
.benefit-status.is-included{color:#c5b9e7}
.benefit-cta{color:#f3ca8d;border-bottom:1px solid rgba(243,202,141,.5);padding-bottom:2px}
.benefit-tier-plus .benefit-cta{color:#d6c7fa;border-color:#756799}
.benefit-usage{border-top:1px solid rgba(180,195,215,.16);padding:16px 21px 19px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
.benefit-usage-item{display:flex;flex-direction:column;gap:5px;border:1px solid #3a4b61;border-radius:10px;background:#172435;padding:13px;min-width:0}
.benefit-usage-item:hover{background:#1f3045;color:white;border-color:#65738b}
.benefit-usage-item>span:first-child{font-size:.66rem;color:#9eb4ca;font-weight:800;line-height:1.4}
.benefit-usage-item strong{font-size:1.17rem;letter-spacing:-.04em}
.usage-separator{color:#8197b0;font-weight:500}
.usage-track{height:5px;background:#303f54;border-radius:20px;overflow:hidden;display:block;width:100%}
.usage-track>span{display:block;height:100%;background:linear-gradient(90deg,#e8bd80,#9caaea);border-radius:20px}
.quick-modules-enhanced{margin-top:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.quick-modules-enhanced a{display:flex;justify-content:space-between;align-items:center;gap:6px;min-width:0;color:#e5edf8;font-size:.75rem;background:#172536;padding:12px;border:1px solid #35475d}
.quick-modules-enhanced .plan-badge{font-size:.55rem;padding:4px 6px}
.feature-upgrade-nudge{display:flex;align-items:center;gap:12px;justify-content:space-between;flex-wrap:wrap;margin-top:17px;padding:13px 15px;background:linear-gradient(100deg,rgba(232,187,128,.1),rgba(132,117,177,.09));border:1px solid #5c5360;border-radius:11px;font-size:.78rem;color:#bfcee0}
.feature-upgrade-nudge strong{color:#f3d39f}
.feature-upgrade-nudge a{color:#eecf9f;font-weight:900;white-space:nowrap}
.vip-account-summary{min-height:115px}
.vip-usage-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:24px}
.vip-usage-card{display:flex;flex-direction:column;gap:7px;border:1px solid #34475e;border-radius:12px;background:#182639;padding:17px;min-width:0}
.vip-usage-card>span{font-size:.71rem;font-weight:850;color:#aabed3}
.vip-usage-card>strong{font-size:1.7rem;letter-spacing:-.045em;line-height:1.2}
.vip-usage-card>strong small{color:#93a7c0;font-size:.87rem}
.vip-usage-card>small{font-size:.68rem;color:#9eb3c9}
.vip-story{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0 0 26px}
.vip-story>div{padding:20px 23px;background:#1a2839;border:1px solid #4b5063;border-radius:13px}
.vip-story>div:last-child{background:#22263a;border-color:#615778}
.vip-story h2{font-size:1.07rem;margin:12px 0 7px}
.vip-story p{font-size:.8rem;margin:0;line-height:1.8}
.vip-story .plan-badge{font-size:.69rem}
.pricing-card.is-current{border-color:#6f9b89;box-shadow:0 0 0 1px rgba(107,207,165,.16)}
.plan-active-small{font-size:.61rem!important;color:#a0dfbb;background:#244036;border:1px solid #537f69;border-radius:40px;padding:5px 9px;vertical-align:middle;white-space:nowrap;letter-spacing:0}
.pricing-card{scroll-margin-top:120px}
@media(max-width:1100px){.benefit-tier ul{grid-template-columns:1fr}.quick-modules-enhanced{grid-template-columns:repeat(2,minmax(0,1fr))}.benefit-usage{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.benefits-heading{padding:19px 17px;align-items:stretch;flex-direction:column}.benefits-heading h2{font-size:1.22rem}.benefits-heading .btn{align-self:flex-start}.benefit-tiers{grid-template-columns:1fr;padding:12px;gap:10px}.benefit-tier{padding:16px}.benefit-tier ul{grid-template-columns:repeat(2,minmax(0,1fr))}.benefit-usage{padding:12px;gap:9px}.benefit-usage-item{padding:11px}.benefit-usage-item>strong{font-size:1.1rem}.quick-modules-enhanced{gap:8px}.quick-modules-enhanced a{font-size:.72rem;padding:11px}.vip-usage-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.vip-usage-card{padding:14px}.vip-story{grid-template-columns:1fr;gap:10px}.vip-story>div{padding:17px}.feature-upgrade-nudge{align-items:flex-start;flex-direction:column;gap:6px}.title-with-tier{gap:8px}}
@media(max-width:390px){.benefit-tier ul{grid-template-columns:1fr}.quick-modules-enhanced{grid-template-columns:1fr 1fr}.quick-modules-enhanced a{flex-wrap:wrap}.benefit-usage-item strong{font-size:1rem}}

/* V19 — rôle fondateur, visibilité des avantages. */
.founder-entitlement{display:flex;gap:8px;flex-wrap:wrap;align-items:baseline;padding:14px 17px;margin:16px 0;border:1px solid rgba(229,182,105,.5);border-radius:12px;background:linear-gradient(130deg,rgba(210,153,69,.12),rgba(22,35,49,.68));color:#e8eef7}
.founder-entitlement strong{font-size:.85rem;color:#f2cf91}.founder-entitlement span{font-size:.77rem;color:#b6c7da;line-height:1.6}

/* V20 — Séparation espace commercial / configuration d'un bot */
.ms-account{padding-bottom:96px}
.ms-account .page-hero{margin-bottom:22px}
.account-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 22px}
.account-kpi{display:flex;flex-direction:column;gap:8px;min-width:0;padding:23px;background:linear-gradient(145deg,#202e40,#172335);border:1px solid #3f5065;border-radius:15px}
.account-kpi>span{font-size:.73rem;letter-spacing:.06em;text-transform:uppercase;font-weight:800;color:#a8bdd3}
.account-kpi strong{font-size:clamp(1.1rem,2vw,1.65rem);line-height:1.25;color:#f5f8fd;overflow-wrap:anywhere}
.account-kpi small{font-size:.76rem;color:#b2c3d6;line-height:1.45}
.ms-account>.panel{margin-bottom:20px}
.account-offers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.account-offer{padding:20px;border:1px solid #4a5365;background:#192638;border-radius:13px;min-width:0}
.account-offer-plus{background:linear-gradient(145deg,#25283e,#1b293e);border-color:#6a6187}
.account-offer h3{font-size:1.4rem;margin:12px 0 8px;letter-spacing:-.02em}
.account-offer h3 small{font-size:.77rem;font-weight:500;color:#adbed0}
.account-offer p{line-height:1.7;font-size:.82rem;min-height:44px;color:#c5d3e2}
.account-offer>a{display:inline-flex;padding:8px 0;color:#ebc793;font-size:.8rem;font-weight:800}
.account-bot-list{display:grid;gap:12px}
.account-bot{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 18px;background:#172536;border:1px solid #3c4d60;border-radius:12px}
.account-bot-details{display:flex;align-items:center;gap:12px;min-width:0}
.account-bot-details>div{min-width:0;overflow-wrap:anywhere}
.account-bot-details strong{display:block;color:#f2f6fa;font-size:.92rem}
.account-bot-details p{margin:4px 0 0;color:#9ab1c9;font-size:.78rem}
.account-bot-icon{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;background:#273950;border:1px solid #52657c;border-radius:12px;color:#ecd0a6;font-size:1.4rem}
.account-help .panel-body{display:flex;align-items:center;justify-content:space-between;gap:20px}
.account-help h2{font-size:1rem;margin-bottom:7px}.account-help p{font-size:.8rem;margin:0}
.bot-work-nav{display:flex;align-items:center;gap:16px;justify-content:space-between;flex-wrap:wrap;padding:13px 16px;margin:0 0 17px;border:1px solid #3c4b60;border-radius:13px;background:#182637;min-width:0}
.bot-work-label{display:flex;gap:9px;align-items:center;min-width:0;flex-wrap:wrap}
.bot-work-label strong{font-size:.81rem;max-width:180px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}
.bot-work-label small{font-size:.67rem;color:#90a9c0}
.bot-work-glyph{display:grid;place-items:center;width:26px;height:26px;background:#30374c;color:#efcc95;border-radius:7px}
.bot-work-links{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.bot-work-links>a{display:inline-flex;border:1px solid transparent;border-radius:8px;padding:9px 10px;text-decoration:none;white-space:nowrap;color:#c6d6e7;font-size:.73rem;font-weight:800}
.bot-work-links>a.is-active,.bot-work-links>a:hover{background:#33445b;border-color:#54657a;color:#fff}
.bot-work-back{font-size:.73rem;color:#ddbb8d;font-weight:800;white-space:nowrap}
@media(max-width:1000px){.bot-work-nav{align-items:stretch;flex-direction:column;gap:10px}.bot-work-links{display:flex;overflow-x:auto;flex-wrap:nowrap;padding-bottom:3px}.bot-work-links>a{flex-shrink:0}.bot-work-back{align-self:flex-start}}
@media(max-width:720px){.account-overview{grid-template-columns:1fr;gap:10px}.account-kpi{padding:16px 18px}.account-offers{grid-template-columns:1fr}.account-offer p{min-height:0}.account-bot{flex-direction:column;align-items:stretch;gap:12px}.account-bot>a{align-self:stretch;text-align:center}.account-help .panel-body{flex-direction:column;align-items:stretch}.account-help .btn{justify-content:center;text-align:center}.bot-work-nav{margin-bottom:14px}.bot-work-label small{display:none}}

/* MS Bot Studio V21 — avantages contextualisés, logo de plateforme. */
.feature-perks{margin:18px 0 26px;border:1px solid #35465b;border-radius:17px;background:linear-gradient(145deg,#182536,#142132);overflow:hidden}
.feature-perks-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:24px 26px 13px}
.feature-perks-header h2,.bot-perks-overview h2{font-size:1.25rem;margin:6px 0 7px;letter-spacing:-.028em;color:#f3f6fb}
.feature-perks-header p,.bot-perks-intro p{font-size:.79rem;line-height:1.65;color:#aec0d3;max-width:680px;margin:0}
.feature-perks-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:12px 24px 20px}
.feature-perk{position:relative;min-width:0;display:flex;flex-direction:column;gap:11px;border:1px solid #34485f;border-radius:12px;padding:18px;background:#111d2c;min-height:210px}
.feature-perk.is-active{border-color:#cca66d;background:#20283a;box-shadow:inset 0 0 0 1px #cca66d28}
.feature-perk-heading{display:flex;justify-content:space-between;gap:7px;align-items:center;flex-wrap:wrap}
.feature-perk-tier{font-size:.78rem;font-weight:850;color:#e7eef9}
.feature-perk.is-active .feature-perk-tier{color:#f0c589}
.feature-perk-heading small{font-size:.65rem;color:#9dafc3}
.feature-perk-value{font-size:1.43rem;color:#f6f8fd;letter-spacing:-.035em;line-height:1.3}
.feature-perk p{font-size:.73rem;line-height:1.55;color:#b0c2d6;margin:0;flex:1}
.feature-perk-state{display:inline-flex;align-items:center;gap:5px;width:fit-content;font-size:.7rem;font-weight:800;line-height:1.4;border-radius:7px;padding:7px 9px;text-decoration:none}
.feature-perk-state.is-active{color:#f6d7a9;background:#5d493026}
.feature-perk-state.is-included{color:#a7d9c9;background:#28554266}
.feature-perk-state.is-upgrade{background:#293c53;border:1px solid #416184;color:#cbe2ff}
.feature-perk-state.is-upgrade:hover{background:#354f6c;color:#fff}
.feature-perks-footer{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;padding:14px 25px;border-top:1px solid #324459;font-size:.75rem;color:#ccdaec}
.feature-perks-footer small{color:#90a7c0;font-size:.69rem}
.bot-perks-overview{margin:20px 0;border:1px solid #364a60;border-radius:15px;padding:22px 24px;background:#172637}
.bot-perks-intro{display:flex;align-items:center;justify-content:space-between;gap:16px}
.bot-perks-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:17px 0 10px}
.bot-perks-links a{display:flex;flex-direction:column;gap:7px;border:1px solid #3e536a;border-radius:10px;background:#111e2d;padding:15px;color:#d9e7f5;font-size:.77rem;font-weight:700}
.bot-perks-links a:hover{border-color:#c9a673}
.bot-perks-links strong{font-size:.78rem;color:#f0c78c}
.bot-perks-overview>small{font-size:.68rem;color:#91a7bd}
.site-header .brand>img{object-fit:contain;border-radius:11px}
@media(max-width:820px){.feature-perks-header{align-items:flex-start;flex-wrap:wrap}.feature-perks-grid{gap:8px;padding:10px 14px 16px}.feature-perk{padding:13px;min-height:220px}.feature-perk-value{font-size:1.23rem}.feature-perks-header{padding:20px 17px 12px}}
@media(max-width:650px){.feature-perks-grid,.bot-perks-links{grid-template-columns:1fr}.feature-perk{min-height:0;gap:8px;padding:15px}.feature-perk p{flex:auto}.feature-perk-heading{align-items:center}.feature-perks-footer{padding:14px 16px}.bot-perks-intro{align-items:flex-start;flex-wrap:wrap}.bot-perks-overview{padding:17px}}

/* V22 – passerelle des installations Discord historiques (fondateur uniquement) */
.legacy-panel{border-color:rgba(64,220,193,.22)}
.legacy-panel .panel-top{gap:12px;flex-wrap:wrap}
.legacy-bot-summary{display:flex;align-items:center;gap:14px;padding:2px 0 16px}
.legacy-bot-symbol{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:rgba(43,213,191,.1);color:#4bd9c5;font-size:26px;flex:none}
.legacy-bot-summary strong{display:block;font-size:17px}
.legacy-bot-summary p{margin:3px 0 0}
.legacy-guild-list{display:grid;gap:10px}
.legacy-guild-row{display:flex;gap:12px;align-items:center;min-width:0;padding:13px 14px;border:1px solid rgba(150,170,200,.18);border-radius:12px;background:rgba(255,255,255,.02)}
.legacy-guild-icon{width:42px;height:42px;border-radius:12px;object-fit:cover;flex:none}
.legacy-guild-fallback{display:grid;place-items:center;background:#203247;color:#81d8ce;font-size:20px}
.legacy-guild-title{flex:1;min-width:0;display:grid;gap:3px}
.legacy-guild-title strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.legacy-guild-title small{color:#9caac0}
.legacy-note{margin:15px 0 0;color:#95a8ba;font-size:13px;line-height:1.6}
@media(max-width:600px){.legacy-guild-row{flex-wrap:wrap}.legacy-guild-title{flex-basis:calc(100% - 60px)}.legacy-guild-row .btn{width:100%;min-height:44px}}

/* MS Bot Studio V23 — visibilité du bot historique */
.legacy-small-tag{display:inline-flex;vertical-align:middle;margin-left:8px;padding:3px 8px;border:1px solid #2d6770;border-radius:999px;background:rgba(13,185,194,.10);font-size:11px;font-weight:700;color:#6ee6e7;letter-spacing:.02em}
.legacy-panel .panel-top{gap:14px;flex-wrap:wrap}
.legacy-panel .panel-body>.note{line-height:1.7}
@media(max-width:600px){.legacy-small-tag{margin-top:5px}.legacy-panel .panel-top .chip{margin-top:7px}}

/* V24 : l'onglet actif reflète la page réellement consultée. */
.header-actions a.is-current{color:#f9e2ba!important;background:#26354a;border:1px solid #ac8b5a;border-radius:10px;padding:10px 16px;box-shadow:inset 0 0 0 1px #ad8b5922}
.header-actions .pill-link:not(.is-current){background:transparent;border-color:transparent;color:#afbed1!important;box-shadow:none}
.header-actions .pill-link:not(.is-current):hover{background:#1b293b;border-color:#40536b;color:#fff!important}
.mobile-menu nav a[aria-current="page"]{background:#26384d;border-left:3px solid #deba83;color:#fff}
.legacy-guild-action{margin:0;flex:0 0 auto}
.legacy-guild-locked{font-size:.76rem;color:#e8b5ad;border:1px solid #806056;border-radius:8px;padding:8px 12px;white-space:nowrap}
@media(max-width:650px){.legacy-guild-row{flex-wrap:wrap}.legacy-guild-action,.legacy-guild-action button{width:100%}.legacy-guild-locked{width:100%;text-align:center}}
