/* ============================================================
   ProxyShop.shop — constructeur de liste
   ============================================================ */

.builder-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 380px;
  gap:30px;
  align-items:start;
}

/* ---------- recherche ---------- */
.search-box{ position:relative; }

.search-field{
  width:100%;
  background:rgba(245,241,232,.05);
  border:1px solid var(--line);
  border-radius:14px;
  padding:1em 1.1em 1em 2.9em;
  color:var(--ivory);
  font-family:var(--sans);
  font-size:1rem;
  transition:border-color .16s, background .16s;
}
.search-field::placeholder{ color:var(--muted); }
.search-field:focus{
  outline:none;
  border-color:rgba(245,241,232,.45);
  background:rgba(245,241,232,.08);
}
.search-icon{
  position:absolute; left:1.05em; top:50%; transform:translateY(-50%);
  color:var(--muted); font-size:1.05rem; pointer-events:none;
}

/* ---------- suggestions ---------- */
.suggestions{
  position:absolute; top:calc(100% + 8px); left:0; right:0; z-index:40;
  background:#15151F;
  border:1px solid var(--line);
  border-radius:14px;
  box-shadow:0 24px 60px rgba(0,0,0,.6);
  max-height:340px; overflow-y:auto;
  display:none;
}
.suggestions.show{ display:block; }
.suggestion{
  display:flex; align-items:center; gap:10px;
  padding:.72em 1em; cursor:pointer; font-size:.94rem;
  border-bottom:1px solid rgba(245,241,232,.06);
  transition:background .12s;
}
.suggestion:last-child{ border-bottom:0; }
.suggestion:hover, .suggestion.active{ background:rgba(179,107,255,.16); }
.suggestion .ico{ color:var(--muted); font-size:.8rem; }
.sug-status{
  padding:.9em 1em; font-size:.85rem; color:var(--muted); text-align:center;
}

/* ---------- grille d'arts 3x3 ---------- */
.arts-panel{
  margin-top:26px;
  border:1px solid var(--line);
  border-radius:18px;
  padding:22px;
  background:linear-gradient(180deg,rgba(245,241,232,.05),rgba(245,241,232,.015));
  display:none;
}
.arts-panel.show{ display:block; }

.arts-head{
  display:flex; justify-content:space-between; align-items:baseline;
  gap:14px; flex-wrap:wrap; margin-bottom:6px;
}
.arts-head h3{ margin:0; font-size:1.18rem; }
.arts-count{ font-size:.8rem; color:var(--muted); }
.arts-hint{ font-size:.86rem; color:var(--muted); margin:0 0 18px; }

.art-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}

.art-cell{
  position:relative;
  aspect-ratio:63/88;
  border-radius:11px;
  overflow:hidden;
  cursor:pointer;
  border:1px solid rgba(245,241,232,.14);
  background:#101018;
  transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.art-cell:hover{
  transform:translateY(-4px) scale(1.015);
  border-color:rgba(245,241,232,.42);
  box-shadow:0 16px 34px rgba(0,0,0,.5);
}
.art-cell img{
  width:100%; height:100%; object-fit:cover; display:block;
}
.art-cell .art-meta{
  position:absolute; left:0; right:0; bottom:0;
  padding:22px 8px 7px;
  background:linear-gradient(to top,rgba(8,8,12,.94),transparent);
  font-size:.62rem; letter-spacing:.06em; text-transform:uppercase;
  color:#EDE9E0; display:flex; justify-content:space-between; gap:6px;
}
.art-cell.is-added{
  border-color:#B36BFF;
  box-shadow:0 0 0 2px rgba(179,107,255,.55);
}
.art-cell.is-added::after{
  content:"✓";
  position:absolute; top:7px; right:7px;
  width:24px; height:24px; border-radius:50%;
  background:var(--holo); color:#0B0B10;
  display:grid; place-items:center;
  font-size:.8rem; font-weight:800;
}

.more-wrap{ display:flex; justify-content:center; margin-top:20px; }

/* ---------- panneau liste ---------- */
.list-panel{
  border:1px solid var(--line);
  border-radius:18px;
  background:linear-gradient(180deg,rgba(245,241,232,.06),rgba(245,241,232,.02));
  padding:22px;
}

.list-head{
  display:flex; justify-content:space-between; align-items:baseline;
  gap:10px; margin-bottom:4px;
}
.list-head h3{ margin:0; font-size:1.15rem; }
.list-count{ font-size:.8rem; color:var(--muted); white-space:nowrap; }

.list-body{
  max-height:46vh; overflow-y:auto;
  margin:14px -6px 14px 0; padding-right:6px;
}

.list-empty{
  text-align:center; padding:34px 10px; color:var(--muted); font-size:.88rem;
}
.list-empty .big{ font-size:1.9rem; display:block; margin-bottom:10px; opacity:.5; }

.list-item{
  display:flex; gap:11px; align-items:center;
  padding:9px 0;
  border-bottom:1px solid rgba(245,241,232,.07);
}
.list-item:last-child{ border-bottom:0; }

.li-thumb{
  width:40px; aspect-ratio:63/88; border-radius:4px;
  object-fit:cover; flex:none; background:#101018;
  border:1px solid rgba(245,241,232,.12);
}
.li-main{ min-width:0; flex:1; }
.li-name{
  font-size:.84rem; color:var(--ivory); font-weight:500;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.li-code{ font-size:.68rem; color:var(--muted); letter-spacing:.05em; text-transform:uppercase; }

.qty{
  display:flex; align-items:center; gap:2px; flex:none;
  border:1px solid var(--line); border-radius:8px; overflow:hidden;
}
.qty button{
  background:none; border:0; color:var(--muted); cursor:pointer;
  width:22px; height:24px; font-size:.85rem; line-height:1;
  transition:color .12s, background .12s;
}
.qty button:hover{ color:var(--ivory); background:rgba(245,241,232,.1); }
.qty span{ font-size:.78rem; min-width:16px; text-align:center; color:var(--ivory); font-weight:600; }

.li-del{
  background:none; border:0; color:rgba(245,241,232,.3); cursor:pointer;
  font-size:1rem; padding:2px 4px; flex:none; transition:color .12s;
}
.li-del:hover{ color:#FF8A75; }

.list-total{
  display:flex; justify-content:space-between;
  font-size:.85rem; color:var(--muted);
  padding:12px 0; border-top:1px solid var(--line);
}

.list-fields{ display:grid; gap:11px; margin-top:6px; }
.list-fields input{
  width:100%;
  background:rgba(245,241,232,.05);
  border:1px solid var(--line);
  border-radius:10px;
  padding:.72em .9em;
  color:var(--ivory);
  font-family:var(--sans);
  font-size:.9rem;
}
.list-fields input:focus{
  outline:none; border-color:rgba(245,241,232,.42);
  background:rgba(245,241,232,.08);
}

.list-actions{ display:grid; gap:9px; margin-top:14px; }
.list-actions .btn{ width:100%; }

.mini-actions{ display:flex; gap:8px; }
.mini-actions .btn{ flex:1; font-size:.8rem; padding:.55em .7em; }

.builder-msg{
  display:none; margin-top:12px; padding:12px 14px;
  border-radius:10px; font-size:.84rem; line-height:1.5;
}
.builder-msg.show{ display:block; }
.builder-msg.ok{ background:rgba(111,185,138,.14); border:1px solid rgba(111,185,138,.42); color:#CBEFD8; }
.builder-msg.warn{ background:rgba(247,201,72,.11); border:1px solid rgba(247,201,72,.34); color:#F0DFB4; }
.builder-msg.bad{ background:rgba(232,103,79,.14); border:1px solid rgba(232,103,79,.42); color:#FFC4B8; }

/* ---------- toast ---------- */
.toast{
  position:fixed; left:50%; bottom:28px; transform:translate(-50%,20px);
  background:#EDE9E0; color:#0B0B10;
  padding:.72em 1.3em; border-radius:999px;
  font-size:.86rem; font-weight:600;
  box-shadow:0 14px 40px rgba(0,0,0,.5);
  opacity:0; pointer-events:none; transition:opacity .22s, transform .22s;
  z-index:200;
}
.toast.show{ opacity:1; transform:translate(-50%,0); }

/* ---------- export ---------- */
.export-preview{
  margin-top:16px;
  background:#0D0D14;
  border:1px solid var(--line);
  border-radius:10px;
  padding:12px;
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
  font-size:.72rem;
  color:var(--muted);
  white-space:pre-wrap;
  max-height:150px;
  overflow-y:auto;
  display:none;
}
.export-preview.show{ display:block; }

/* ---------- responsive ---------- */
@media (max-width:1080px){
  .builder-layout{ grid-template-columns:1fr; }
  .list-panel{ position:static; }
  .list-body{ max-height:none; }
}
@media (max-width:520px){
  .art-grid{ gap:9px; }
  .arts-panel{ padding:15px; }
  .list-panel{ padding:17px; }
}

/* ============================================================
   MODALE D'IMPORT
   ============================================================ */
.search-row{ display:flex; gap:10px; align-items:center; }
.search-row .search-box{ flex:1; min-width:0; }
.import-toggle{ flex:none; white-space:nowrap; }

.modal{
  position:fixed; inset:0; z-index:300;
  display:none; align-items:center; justify-content:center;
  padding:20px;
  background:rgba(5,5,9,.78);
  backdrop-filter:blur(7px); -webkit-backdrop-filter:blur(7px);
}
.modal.open{ display:flex; }

.modal-card{
  width:min(660px,100%);
  max-height:calc(100vh - 40px);
  overflow-y:auto;
  background:linear-gradient(180deg,#16161F,#101017);
  border:1px solid rgba(245,241,232,.16);
  border-radius:20px;
  box-shadow:0 40px 90px rgba(0,0,0,.7);
  padding:clamp(20px,3.4vw,30px);
  animation:modalIn .22s cubic-bezier(.2,.8,.2,1);
}
@keyframes modalIn{ from{ opacity:0; transform:translateY(14px) scale(.985); } }

.modal-head{
  display:flex; justify-content:space-between; align-items:flex-start;
  gap:16px; margin-bottom:18px;
}
.modal-head h3{
  margin:0 0 4px; font-size:1.28rem;
}
.modal-sub{
  margin:0; font-size:.85rem; color:var(--muted);
}
.modal-x{
  flex:none;
  background:rgba(245,241,232,.06);
  border:1px solid var(--line);
  color:var(--muted);
  width:32px; height:32px; border-radius:50%;
  font-size:1.1rem; line-height:1; cursor:pointer;
  display:grid; place-items:center;
  transition:color .16s, background .16s, border-color .16s;
}
.modal-x:hover{ color:var(--ivory); background:rgba(245,241,232,.13); border-color:rgba(245,241,232,.3); }

/* ---------- sélecteur segmenté ---------- */
.seg{
  display:grid; grid-template-columns:repeat(3,1fr); gap:4px;
  background:rgba(11,11,16,.62);
  border:1px solid var(--line);
  border-radius:12px; padding:4px;
  margin-bottom:20px;
}
.seg button{
  background:none; border:0; cursor:pointer;
  font-family:var(--sans); font-size:.86rem; font-weight:600;
  color:var(--muted);
  padding:.62em .4em; border-radius:9px;
  transition:color .16s, background .16s;
  display:flex; align-items:center; justify-content:center; gap:7px;
}
.seg button:hover{ color:var(--ivory); }
.seg button.is-active{
  color:#0B0B10;
  background:var(--holo);
  box-shadow:0 4px 14px rgba(179,107,255,.3);
}
.seg .sdot{
  width:6px; height:6px; border-radius:50%;
  background:currentColor; opacity:.55; flex:none;
}
.seg button.is-active .sdot{ opacity:.9; }

/* ---------- panneaux ---------- */
.pane{ display:none; }
.pane.is-active{ display:block; }

.pane-lead{
  font-size:.9rem; color:var(--muted); margin:0 0 12px; line-height:1.55;
}
.pane-lead strong{ color:var(--ivory); }

.field-input{
  width:100%;
  background:rgba(11,11,16,.7);
  border:1px solid var(--line);
  border-radius:11px;
  padding:.85em 1em;
  color:var(--ivory);
  font-family:var(--sans);
  font-size:.92rem;
  transition:border-color .16s, background .16s;
}
.field-input::placeholder{ color:rgba(169,164,184,.55); }
.field-input:focus{
  outline:none;
  border-color:rgba(179,107,255,.6);
  background:rgba(11,11,16,.92);
  box-shadow:0 0 0 3px rgba(179,107,255,.12);
}

.pane-note{
  font-size:.78rem; color:var(--muted);
  margin:10px 0 0; line-height:1.55;
}

/* ---------- zone de texte ---------- */
.deck-text{
  width:100%; min-height:150px; resize:vertical;
  background:rgba(11,11,16,.7);
  border:1px solid var(--line); border-radius:11px;
  padding:.85em 1em; color:var(--ivory);
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
  font-size:.8rem; line-height:1.7;
  transition:border-color .16s, background .16s;
}
.deck-text::placeholder{ color:rgba(169,164,184,.45); }
.deck-text:focus{
  outline:none; border-color:rgba(179,107,255,.6);
  background:rgba(11,11,16,.92);
  box-shadow:0 0 0 3px rgba(179,107,255,.12);
}

/* ---------- encadré format ---------- */
.fmt{
  margin-top:14px;
  border:1px solid rgba(179,107,255,.26);
  background:rgba(179,107,255,.06);
  border-radius:12px;
  padding:14px 16px;
}
.fmt-label{
  font-size:.68rem; letter-spacing:.17em; text-transform:uppercase;
  color:#C4A8FF; margin-bottom:10px; font-weight:600;
}
.fmt-schema{
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
  font-size:.76rem; color:#D9D3FF;
  margin-bottom:12px;
  display:flex; flex-wrap:wrap; gap:5px 7px; align-items:center;
}
.fmt-chip{
  background:rgba(179,107,255,.18);
  border:1px solid rgba(179,107,255,.3);
  border-radius:5px; padding:.22em .5em;
}
.fmt-lines{
  display:grid; gap:4px;
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
  font-size:.78rem;
  border-top:1px solid rgba(179,107,255,.18);
  padding-top:11px;
}
.fmt-lines>div{ display:flex; gap:7px; }
.fmt-q{ color:#FFD79A; font-weight:700; min-width:20px; }
.fmt-n{ color:#E8E3F2; }
.fmt-s{ color:#7FD3DA; }
.fmt-c{ color:#B7A6E8; }
.fmt-foot{
  font-size:.75rem; color:var(--muted);
  margin:11px 0 0; line-height:1.55;
  border-top:1px solid rgba(179,107,255,.18);
  padding-top:10px;
}
.fmt-foot code{
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
  font-size:.73rem; color:var(--ivory);
  background:rgba(245,241,232,.1);
  padding:.15em .42em; border-radius:4px;
}

/* ---------- pied de modale ---------- */
.modal-foot{
  display:flex; gap:10px; margin-top:22px;
  padding-top:20px; border-top:1px solid var(--line);
}
.modal-foot .btn-primary{ flex:1; }

.report{
  display:none; margin-top:16px;
  border-radius:11px; padding:13px 15px;
  font-size:.83rem; line-height:1.6;
}
.report.show{ display:block; }
.report.ok{ background:rgba(111,185,138,.13); border:1px solid rgba(111,185,138,.4); color:#CBEFD8; }
.report.warn{ background:rgba(247,201,72,.10); border:1px solid rgba(247,201,72,.32); color:#F0DFB4; }
.report.bad{ background:rgba(232,103,79,.13); border:1px solid rgba(232,103,79,.4); color:#FFC4B8; }
.report ul{ margin:8px 0 0; padding-left:19px; }
.report li{ margin:2px 0; }
.report em{ font-style:normal; opacity:.75; }

@media (max-width:560px){
  .search-row{ flex-direction:column; align-items:stretch; }
  .import-toggle{ width:100%; }
  .modal{ padding:0; align-items:flex-end; }
  .modal-card{
    border-radius:20px 20px 0 0;
    max-height:92vh;
  }
  .seg button{ font-size:.79rem; }
}

/* ============================================================
   DEVIS EN DIRECT
   ============================================================ */
.quote{
  margin-top:14px;
  border:1px solid rgba(179,107,255,.24);
  background:linear-gradient(180deg,rgba(179,107,255,.09),rgba(179,107,255,.02));
  border-radius:14px;
  padding:15px 16px 13px;
}

.quote-head{
  display:flex; justify-content:space-between; align-items:baseline;
  gap:10px; margin-bottom:12px;
  padding-bottom:11px;
  border-bottom:1px solid rgba(245,241,232,.11);
}
.quote-title{
  font-size:.72rem; letter-spacing:.15em; text-transform:uppercase;
  color:#C4A8FF; font-weight:600;
}
.quote-pages{ font-size:.78rem; color:var(--muted); white-space:nowrap; }
.quote-pages strong{ color:var(--ivory); font-size:.95rem; }

.quote-row{
  display:flex; justify-content:space-between; align-items:baseline;
  gap:12px; font-size:.82rem; color:var(--muted);
  padding:3px 0;
}
.quote-val{ color:var(--ivory); font-weight:500; white-space:nowrap; }
.quote-row-muted .quote-val{ color:var(--muted); font-weight:400; }

.quote-total{
  display:flex; justify-content:space-between; align-items:baseline;
  gap:12px; margin-top:11px; padding-top:12px;
  border-top:1px solid rgba(245,241,232,.14);
  font-size:.85rem; color:var(--muted);
}
.quote-total>span:last-child{
  font-family:var(--serif);
  font-size:1.42rem;
  color:var(--ivory);
  letter-spacing:.01em;
}

.quote-next{
  display:none;
  margin-top:10px; padding:8px 10px;
  border-radius:8px;
  background:rgba(111,185,138,.11);
  border:1px solid rgba(111,185,138,.28);
  font-size:.75rem; color:#CBEFD8; line-height:1.45;
}

.quote-note{ margin-top:11px; font-size:.71rem; line-height:1.5; }

/* ---------- feuilles incomplètes / DM / blocage ---------- */
.quote-missing{
  display:none;
  align-items:center; gap:8px;
  margin-top:11px; padding:9px 12px;
  border-radius:9px;
  background:rgba(247,201,72,.12);
  border:1px solid rgba(247,201,72,.34);
  font-size:.78rem; color:#F6E4B6; line-height:1.4;
}
.quote-missing strong{ color:#FFE9AE; font-size:.95rem; }
.quote-missing.is-ok{
  background:rgba(111,185,138,.12);
  border-color:rgba(111,185,138,.34);
  color:#CBEFD8;
}

.quote-dm{
  margin-top:11px; padding:12px 13px;
  border-radius:9px;
  background:rgba(179,107,255,.10);
  border:1px solid rgba(179,107,255,.32);
}
.quote-dm strong{
  display:block; font-size:.74rem; letter-spacing:.13em; text-transform:uppercase;
  color:#C4A8FF; margin-bottom:5px;
}
.quote-dm p{ margin:0; font-size:.78rem; color:var(--muted); line-height:1.5; }

/* message de blocage à l'envoi */
.builder-msg .bm-title{
  display:block; font-size:.9rem; margin-bottom:7px; color:#FFE9AE;
}
.builder-msg p{ margin:0 0 7px; font-size:.83rem; line-height:1.5; }
.builder-msg p:last-child{ margin-bottom:0; }
.builder-msg .bm-tip{
  margin-top:9px; padding-top:9px;
  border-top:1px solid rgba(247,201,72,.24);
  font-size:.79rem;
}

/* ============================================================
   PANNEAU DROIT FIXE — ne défile pas avec la page
   ============================================================ */
.builder-section{ padding-top:16px; padding-bottom:44px; }

/* la recherche reste accessible pendant qu'on descend les arts */
.search-row{
  position:sticky;
  top:calc(var(--panel-top, 74px) - 6px);
  z-index:45;
  padding:6px 0 10px;
  background:linear-gradient(to bottom, var(--ink) 68%, rgba(11,11,16,0));
}

/* colonne : réserve la place dans la grille */
.list-col{ min-width:0; }

/* le panneau vit dans le flux tant qu'on n'a pas dépassé sa position */
@media (min-width:1081px){
  .list-col{ position:relative; }

  /* une fois épinglé, il reste visible partout sur la page */
  .list-panel.is-fixed{
    position:fixed;
    z-index:44;
    display:flex;
    flex-direction:column;
    overflow:hidden;
    padding:18px 18px 14px;
    box-shadow:0 24px 60px rgba(0,0,0,.55);
    transition:opacity .22s ease;
  }
  .list-panel.is-fixed.is-hidden{
    opacity:0;
    pointer-events:none;
  }
}

/* mobile / tablette : panneau dans le flux */
@media (max-width:1080px){
  .list-panel{
    position:static;
    max-height:none;
    display:block;
    overflow:visible;
    box-shadow:none;
  }
}

.list-panel .list-head{ flex:0 0 auto; }

/* seule la liste des cartes défile */
.list-panel .list-body{
  flex:1 1 auto;
  min-height:64px;
  max-height:none;
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  margin:10px -6px 10px 0;
  padding-right:6px;
}
.list-panel .list-body::-webkit-scrollbar{ width:7px; }
.list-panel .list-body::-webkit-scrollbar-thumb{
  background:rgba(245,241,232,.2); border-radius:4px;
}
.list-panel .list-body::-webkit-scrollbar-track{ background:transparent; }

/* tout le reste reste visible, sans déborder */
.list-panel .list-total,
.list-panel .quote,
.list-panel .list-fields,
.list-panel .list-actions,
.list-panel #preview-label-wrap,
.list-panel .export-preview{ flex:0 0 auto; }

.list-panel .list-total{ padding:9px 0 8px; font-size:.82rem; }
.list-panel .quote{ margin-top:10px; padding:12px 13px 10px; border-radius:12px; }
.list-panel .quote-head{ margin-bottom:9px; padding-bottom:9px; }
.list-panel .quote-total>span:last-child{ font-size:1.3rem; }
.list-panel .quote-note{ display:none; }
.list-panel .list-fields{ margin-top:9px; gap:7px; }
.list-panel .list-fields input{ padding:.62em .8em; font-size:.86rem; }
.list-panel .list-actions{ margin-top:9px; gap:7px; }
.list-panel .mini-actions .btn{ font-size:.78rem; padding:.48em .6em; }
.list-panel #preview-label-wrap{ margin-top:8px; }

/* écrans très courts : le panneau entier défile, la liste garde une petite hauteur */
@media (max-height:760px){
  .list-panel{ overflow-y:auto; }
  .list-panel .list-body{ flex:0 1 auto; max-height:22vh; min-height:44px; }
}

/* mobile / tablette : retour au flux normal */
@media (max-width:1080px){
  .list-panel{
    position:static;
    max-height:none;
    display:block;
    overflow:visible;
  }
  .list-panel .list-body{ max-height:44vh; }
  .search-row{ position:static; background:none; padding:0; }
}

/* ============================================================
   MODALE D'ALERTE CENTRALE
   ============================================================ */
.modal-alert{ width:min(520px,100%); }

.alert-body{ font-size:.92rem; line-height:1.62; color:var(--muted); }
.alert-body p{ margin:0 0 10px; }
.alert-body p:last-child{ margin-bottom:0; }
.alert-body strong{ color:var(--ivory); }

.alert-body.is-warn .al-lead strong{ color:#FFE9AE; }
.alert-body .al-tip{
  margin-top:14px; padding-top:12px;
  border-top:1px solid rgba(247,201,72,.24);
  font-size:.85rem; color:#F0DFB4;
}
.alert-body .al-small{
  margin-top:12px; font-size:.8rem; opacity:.75;
}
.alert-body.is-ok .al-lead strong,
.alert-body.is-ok strong{ color:#CBEFD8; }

#alert-foot{ flex-wrap:wrap; }
#alert-foot .btn{ flex:1 1 auto; min-width:132px; }

/* ============================================================
   NAVIGATION CLAVIER
   ============================================================ */
/* suggestion sélectionnée au clavier : repère net */
.suggestion.active{
  background:rgba(179,107,255,.22);
  box-shadow:inset 3px 0 0 #B36BFF;
}
.suggestion.active .ico{ color:#D9C6FF; }

/* illustration sélectionnée au clavier */
.art-cell:focus-visible{
  outline:2px solid #B36BFF;
  outline-offset:2px;
  transform:translateY(-4px) scale(1.015);
  border-color:rgba(245,241,232,.45);
  box-shadow:0 16px 34px rgba(0,0,0,.5), 0 0 0 4px rgba(179,107,255,.18);
}
.art-cell:focus{ outline:none; }
.art-cell:focus-visible{ outline:2px solid #B36BFF; }

/* aide clavier sous la recherche */
.kbd-hint{
  display:flex; align-items:center; gap:8px; flex-wrap:wrap;
  margin:10px 0 0; font-size:.75rem; color:var(--muted);
}
.kbd-hint kbd{
  display:inline-block;
  font-family:var(--sans); font-size:.72rem; line-height:1;
  padding:.32em .5em; border-radius:5px;
  background:rgba(245,241,232,.09);
  border:1px solid rgba(245,241,232,.2);
  border-bottom-width:2px;
  color:var(--ivory);
}
@media (max-width:1080px){ .kbd-hint{ display:none; } }
