/* À tire d'ailes — carte augmentée. Mobile d'abord ; panneau latéral dès 960 px ou en paysage. */
*{margin:0;padding:0;box-sizing:border-box}
:root{
  --bg:#f4efe2; --paper:#fbf8ef; --wall:#e7e0d1;
  --ink:#2a281f; --muted:#5f584a; --faint:#8a7f63;
  --line:rgba(42,40,31,.12); --line-2:rgba(42,40,31,.2);
  --grenat:#7a1f1a; --grenat-hi:#c4624f; --grenat-lo:#420d0a; --grenat-ink:#8c2a22;
  --or:#c99a3e; --or-hi:#e8c877; --or-d:#7a5d1f;
  --olive-d:#454f2e;
  --shadow:0 -10px 34px rgba(42,40,31,.16);
  --card-shadow:0 1px 0 rgba(42,40,31,.04),0 8px 24px rgba(42,40,31,.08);
  --top-h:56px; --chips-h:50px;
  --f-title:'Fraunces',Georgia,serif; --f-body:'DM Sans',system-ui,-apple-system,sans-serif; --f-label:'Space Grotesk','DM Sans',system-ui,sans-serif;
  color-scheme:light dark;
}
@media (prefers-color-scheme:dark){:root{
  --bg:#1e2017; --paper:#262a20; --wall:#15170f;
  --ink:#f4efe2; --muted:rgba(244,239,226,.74); --faint:rgba(244,239,226,.5);
  --line:rgba(244,239,226,.12); --line-2:rgba(244,239,226,.22);
  --grenat-ink:#e08a74; --or-d:#e2c071;
  --shadow:0 -10px 34px rgba(0,0,0,.5);
  --card-shadow:0 8px 24px rgba(0,0,0,.35);
}}

html,body{height:100%}
body{font-family:var(--f-body);font-size:16px;line-height:1.5;color:var(--ink);background:var(--bg);
  height:100vh;height:100dvh;overflow:hidden;display:flex;flex-direction:column;
  -webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;overscroll-behavior:none}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
a{color:inherit}
svg{display:block}
[hidden]{display:none!important}
:focus-visible{outline:2px solid var(--or);outline-offset:2px;border-radius:6px}
h1,h2,h3{font-family:var(--f-title);font-weight:500;letter-spacing:-.01em;line-height:1.15}
.eyebrow{font-family:var(--f-label);font-size:.68rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--or-d)}

/* ---------- En-tête ---------- */
.top{flex:none;height:calc(var(--top-h) + env(safe-area-inset-top));padding:env(safe-area-inset-top) 12px 0 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--bg);position:relative;z-index:30}
.brand{display:flex;align-items:center;gap:10px;min-width:0}
.brand-home{flex:none;display:block;border-radius:50%}
.brand-mark{width:30px;height:30px;flex:none}
.brand-mark .ring{color:var(--or)}
.brand-mark .bead{fill:var(--grenat)}
.brand-txt{display:flex;flex-direction:column;min-width:0}
.brand-txt b{font-family:var(--f-title);font-weight:500;font-size:1.22rem;line-height:1.1;letter-spacing:-.01em;white-space:nowrap;padding-bottom:3px}
/* Le nom de l'artiste, partout cliquable vers son site : souligné d'or */
.artist{color:inherit;text-decoration:underline;text-decoration-color:var(--or);text-decoration-thickness:1.5px;text-underline-offset:3px;transition:color .2s}
.artist:hover{color:var(--grenat-ink)}
.brand-txt .artist{font-style:italic;font-weight:400;position:relative}
.brand-txt .artist::after{content:"";position:absolute;inset:-12px -6px}  /* zone tactile confortable sans changer la mise en page */
.brand-txt small{font-family:var(--f-label);font-size:.66rem;letter-spacing:.12em;text-transform:uppercase;color:var(--faint);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.icon-btn{display:inline-flex;align-items:center;gap:6px;height:38px;padding:0 12px 0 9px;border:1px solid var(--line-2);border-radius:999px;background:var(--paper);font-size:.86rem;font-weight:500;transition:border-color .2s}
.icon-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.icon-btn:hover{border-color:var(--or)}
/* Petits écrans : le titre et le nom de l'artiste passent avant le libellé du bouton */
@media (max-width:430px){
  .top .icon-btn{width:38px;padding:0;justify-content:center}
  .top .icon-btn span{display:none}
  .brand-txt b{font-size:1.08rem}
}
@media (max-width:360px){
  .top{padding-left:12px;padding-right:10px}
  .brand{gap:8px}
  .brand-mark{width:26px;height:26px}
  .brand-txt b{font-size:.94rem}
}

/* ---------- Filtres ---------- */
.chips{flex:none;height:var(--chips-h);display:flex;align-items:center;gap:8px;padding:0 14px 8px;overflow-x:auto;scrollbar-width:none;background:var(--bg);position:relative;z-index:30;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 14px,#000 calc(100% - 28px),transparent);mask-image:linear-gradient(90deg,transparent 0,#000 14px,#000 calc(100% - 28px),transparent)}
.chips::-webkit-scrollbar{display:none}
.chips::after{content:"";flex:none;width:14px;height:1px}
.chip{flex:none;display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 13px 0 10px;border-radius:999px;border:1px solid var(--line-2);background:var(--paper);font-size:.86rem;font-weight:500;white-space:nowrap;transition:background .2s,color .2s,border-color .2s}
.chip svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;opacity:.85}
.chip .n{font-family:var(--f-label);font-size:.72rem;font-weight:600;color:var(--faint)}
.chip[aria-pressed="true"]{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.chip[aria-pressed="true"] .n{color:inherit;opacity:.7}

/* ---------- Œuvre ---------- */
.stage{flex:1;position:relative;overflow:hidden;background:var(--wall);touch-action:none;user-select:none;-webkit-user-select:none;cursor:grab}
.stage.dragging{cursor:grabbing}
.art{position:absolute;left:0;top:0;width:1400px;height:934px;transform-origin:0 0;will-change:transform;
  box-shadow:0 2px 6px rgba(0,0,0,.18),0 18px 40px rgba(0,0,0,.18);background:#cdbf97}
.art-hd{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.art img{display:block;width:100%;height:100%;-webkit-user-drag:none;pointer-events:none}

.pins{position:absolute;inset:0;pointer-events:none;--ps:10px}
.pin{position:absolute;left:0;top:0;width:0;height:0;will-change:transform;transition:opacity .35s}
/* L'œuvre d'abord : sans survol ni toucher, seules restent la perle choisie et celles du filtre demandé */
.pins:not(.reveal) .pin:not(.keep){opacity:0}
.pin.hover{z-index:6}
.pin.hover .dot{transform:scale(1.3)}
.pin.hover .lbl{opacity:1}
.stage.on-pin{cursor:pointer}
.pin .dot{position:absolute;left:calc(var(--ps) / -2);top:calc(var(--ps) / -2);width:var(--ps);height:var(--ps);border-radius:50%;
  background:radial-gradient(circle at 34% 30%,var(--grenat-hi) 0,var(--grenat) 46%,var(--grenat-lo) 100%);
  box-shadow:0 0 0 1.5px rgba(255,250,240,.92),0 1px 3px rgba(0,0,0,.5);
  transition:transform .25s cubic-bezier(.3,1.4,.5,1),opacity .25s}
.pin.lieu .dot{--s:calc(var(--ps) + 8px);left:calc(var(--s) / -2);top:calc(var(--s) / -2);width:var(--s);height:var(--s);
  background:radial-gradient(circle at 50% 50%,var(--grenat) 0 38%,transparent 40%),radial-gradient(circle at 34% 30%,var(--or-hi),var(--or) 55%,var(--or-d));
  box-shadow:0 0 0 1.5px rgba(255,250,240,.9),0 1px 4px rgba(0,0,0,.5)}
.pin.ajout .dot{background:radial-gradient(circle,var(--grenat) 0 34%,rgba(255,250,240,.55) 36%);box-shadow:none;outline:2px dashed var(--or);outline-offset:-1px}
.pin.ici .dot::after{content:"";position:absolute;inset:-7px;border-radius:50%;border:2px solid var(--or);animation:halo 2.4s ease-out infinite}
.pin.dim .dot{opacity:.16;transform:scale(.75)}
.pin.sel{z-index:5}
.pin.sel .dot{transform:scale(1.55);box-shadow:0 0 0 2px #fffaf0,0 0 0 6px rgba(201,154,62,.55),0 2px 8px rgba(0,0,0,.5)}
.pin .lbl{position:absolute;left:0;bottom:calc(var(--ps) / 2 + 9px);transform:translateX(-50%);padding:4px 9px 4px;border-radius:999px;background:rgba(30,32,23,.9);color:#f6f1e4;
  font-size:.74rem;font-weight:600;line-height:1.2;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .2s;box-shadow:0 2px 8px rgba(0,0,0,.3)}
.pin .lbl small{display:block;font-family:var(--f-label);font-size:.58rem;letter-spacing:.12em;text-transform:uppercase;color:var(--or-hi);font-weight:600}
.pin.show-lbl .lbl{opacity:1}
.pin.sel .lbl{bottom:calc(var(--ps) * .78 + 12px)}
.pin.lbl-g .lbl{left:auto;right:-14px;transform:none}
.pin.lbl-d .lbl{left:-14px;transform:none}
@keyframes halo{0%{transform:scale(.7);opacity:.9}100%{transform:scale(1.9);opacity:0}}

.flight{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible;z-index:2}
.flight-path{fill:none;stroke:var(--or);stroke-width:2.4;stroke-linecap:round;stroke-dasharray:.1 7;filter:drop-shadow(0 1px 1.5px rgba(0,0,0,.55))}
.flight-tag rect{fill:rgba(30,32,23,.9)}
.flight-tag text{fill:#f6f1e4;font:600 11px var(--f-label);letter-spacing:.04em;text-anchor:middle}

.hint{position:absolute;z-index:4;left:50%;top:12px;transform:translateX(-50%);display:flex;align-items:center;gap:7px;padding:7px 14px 7px 10px;border-radius:999px;background:rgba(30,32,23,.82);color:#f6f1e4;font-size:.8rem;font-weight:500;white-space:nowrap;pointer-events:none;transition:opacity .5s,transform .5s;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.hint svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.hint.off{opacity:0;transform:translate(-50%,-8px)}

.zoom-ctl{position:absolute;z-index:4;right:12px;bottom:calc(var(--cover,0px) + 14px);display:flex;flex-direction:column;border-radius:14px;background:var(--paper);box-shadow:var(--card-shadow);border:1px solid var(--line);overflow:hidden;transition:bottom .38s cubic-bezier(.2,.8,.2,1),opacity .25s}
.zoom-ctl button{width:42px;height:42px;display:grid;place-items:center}
.zoom-ctl button+button{border-top:1px solid var(--line)}
.zoom-ctl svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.zoom-ctl.hide{opacity:0;pointer-events:none}
/* Réalité augmentée : proposée seulement sur les écrans tactiles (téléphones, tablettes) */
.ar-fab{position:absolute;z-index:4;right:12px;bottom:calc(var(--cover,0px) + 14px);display:inline-flex;align-items:center;gap:7px;height:40px;padding:0 14px 0 11px;border-radius:999px;
  background:rgba(30,32,23,.86);color:#f6f1e4;text-decoration:none;font-size:.82rem;font-weight:600;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);box-shadow:0 4px 14px rgba(0,0,0,.25);
  transition:bottom .38s cubic-bezier(.2,.8,.2,1),opacity .25s}
.ar-fab svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.ar-fab.hide{opacity:0;pointer-events:none}
.btn-ar svg{width:20px;height:20px}
@media (hover:hover) and (pointer:fine){.ar-fab,.btn-ar{display:none!important}}
/* Sur écran tactile on pince pour zoomer : seul « tout voir » reste, en haut à droite, quand on a zoomé */
@media (pointer:coarse){
  .zoom-ctl{top:12px;bottom:auto;border-radius:12px}
  .zoom-ctl [data-zoom="in"],.zoom-ctl [data-zoom="out"]{display:none}
  .zoom-ctl button{width:40px;height:40px}
  .zoom-ctl.at-fit{opacity:0;pointer-events:none}
}

/* ---------- Panneau (bottom sheet sur mobile) ---------- */
.sheet{position:fixed;left:0;right:0;bottom:0;z-index:20;height:var(--full,80vh);display:flex;flex-direction:column;background:var(--paper);border-radius:20px 20px 0 0;box-shadow:var(--shadow);
  transform:translateY(calc(var(--full,80vh) - var(--vis,50vh)));transition:transform .38s cubic-bezier(.2,.8,.2,1);will-change:transform;touch-action:pan-y}
.sheet.dragging{transition:none}
.grip{flex:none;height:22px;display:flex;justify-content:center;touch-action:none;cursor:grab}
.grip-bar{width:100%;height:22px;display:flex;align-items:center;justify-content:center}
.grip-bar span{width:40px;height:5px;border-radius:3px;background:var(--line-2)}
.pane{display:none;flex:1;min-height:0;flex-direction:column}
.sheet[data-mode="intro"] .pane-intro,.sheet[data-mode="card"] .pane-card,.sheet[data-mode="list"] .pane-list{display:flex}
.pane-head{flex:none;padding:0 18px 12px;touch-action:none}
.pane-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:0 18px calc(24px + env(safe-area-inset-bottom))}
.sheet[data-state="peek"] .pane-body{overflow:hidden}

/* Accueil */
.pane-intro h1{font-size:1.42rem;margin-top:4px;max-width:22ch}
.lead{color:var(--muted);font-size:.98rem}
.lead strong{color:var(--ink);font-weight:600}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:16px 0 14px}
.stats div{padding:11px 10px 10px;border-radius:14px;background:var(--bg);border:1px solid var(--line)}
.stats dt{font-family:var(--f-title);font-size:1.6rem;line-height:1;font-weight:500;color:var(--grenat-ink)}
.stats dt small{font-size:.9rem;margin-left:2px}
.stats dd{font-size:.74rem;line-height:1.25;color:var(--muted);margin-top:5px}
.legend{list-style:none;display:grid;gap:8px;margin:4px 0 18px}
.legend li{display:flex;align-items:center;gap:11px;font-size:.86rem;color:var(--muted)}
.legend b{color:var(--ink);font-weight:600;margin-right:4px}
.lg{flex:none;width:16px;height:16px;border-radius:50%;display:block}
.lg-bead{background:radial-gradient(circle at 34% 30%,var(--grenat-hi),var(--grenat) 46%,var(--grenat-lo));box-shadow:0 0 0 1.5px var(--paper),0 0 0 2.5px var(--line-2)}
.lg-ring{background:radial-gradient(circle,var(--grenat) 0 36%,transparent 39%),radial-gradient(circle at 34% 30%,var(--or-hi),var(--or) 55%,var(--or-d))}
.lg-dash{border:2px dashed var(--or);background:radial-gradient(circle,var(--grenat) 0 30%,transparent 33%)}
.legend-lg li{align-items:flex-start}
.legend-lg .lg{margin-top:3px}
.cta-row{display:flex;flex-wrap:wrap;gap:8px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 18px;border-radius:14px;font-weight:600;font-size:.95rem;text-decoration:none;transition:transform .15s,background .2s,border-color .2s}
.btn:active{transform:scale(.98)}
.btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.btn-primary{background:var(--ink);color:var(--bg);flex:1 1 220px}
.btn-ghost{border:1px solid var(--line-2);background:transparent}
.btn-ghost:hover{border-color:var(--or)}

/* Fiche */
.card-head{flex:none;padding:0 14px 12px 18px;touch-action:none}
.card-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.kind{display:inline-flex;align-items:center;gap:7px;min-width:0;font-family:var(--f-label);font-size:.7rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--c-d,var(--muted))}
.kind .ic{flex:none;width:28px;height:28px;border-radius:9px;display:grid;place-items:center;background:var(--c-bg,var(--bg));color:var(--c-d,var(--ink))}
.kind .ic svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.kind span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.x{flex:none;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:var(--bg);border:1px solid var(--line)}
.x svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.card-head h2{font-size:1.5rem;margin-top:8px;line-height:1.12}
.where{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;margin-top:6px;font-size:.88rem;color:var(--muted)}
.where span{display:inline-flex;align-items:center;gap:5px}
.where svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;opacity:.8}
.where .km{color:var(--grenat-ink);font-weight:600}
.note{display:flex;gap:9px;align-items:flex-start;margin:2px 0 12px;padding:10px 12px;border-radius:12px;background:var(--bg);border:1px dashed var(--or);font-size:.84rem;color:var(--muted)}
.note svg{flex:none;width:18px;height:18px;margin-top:1px;fill:none;stroke:var(--or-d);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.desc{font-size:1rem;line-height:1.55;margin-bottom:12px}
.desc.empty{color:var(--faint);font-size:.9rem}
.tags{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:16px;list-style:none}
.tags li{font-size:.78rem;font-weight:500;padding:4px 10px;border-radius:999px;background:var(--bg);border:1px solid var(--line)}
.tags li.label{border-color:var(--olive-d);color:var(--olive-d);font-weight:600}
@media (prefers-color-scheme:dark){.tags li.label{border-color:#a3bf7f;color:#b9d394}}
.actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(70px,1fr));gap:8px;margin-bottom:12px}
.act{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:64px;padding:8px 4px;line-height:1.15;border-radius:14px;border:1px solid var(--line-2);text-decoration:none;font-size:.8rem;font-weight:600;text-align:center;transition:border-color .2s,background .2s}
.act svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.act.main{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.act:hover{border-color:var(--or)}
.addr{font-size:.82rem;color:var(--faint);margin-bottom:14px}
.see-also{width:100%;display:flex;align-items:center;gap:11px;padding:10px 12px;margin:0 0 14px;border-radius:14px;border:1px dashed var(--or);text-align:left;transition:background .2s}
.see-also:hover{background:var(--bg)}
.see-also .ic{flex:none;width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:var(--c-bg);color:var(--c-d)}
.see-also .ic svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.see-also>span:nth-child(2){flex:1;min-width:0;font-weight:600;font-size:.92rem;line-height:1.25}
.see-also small{display:block;font-family:var(--f-label);font-size:.62rem;letter-spacing:.12em;text-transform:uppercase;color:var(--or-d);font-weight:600}
.see-also>svg{flex:none;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;opacity:.6}
.about p a{color:var(--grenat-ink);font-weight:600}
.card-nav{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:12px;border-top:1px solid var(--line)}
.card-nav button{display:inline-flex;align-items:center;gap:4px;height:40px;padding:0 10px;border-radius:12px;font-size:.86rem;font-weight:600}
.card-nav button:hover{background:var(--bg)}
.card-nav button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.card-nav p{font-size:.78rem;color:var(--faint);text-align:center;line-height:1.25}

/* Liste */
.search{display:flex;align-items:center;gap:8px;height:46px;padding:0 14px;border-radius:14px;background:var(--bg);border:1px solid var(--line-2)}
.search:focus-within{border-color:var(--or)}
.search svg{flex:none;width:19px;height:19px;fill:none;stroke:var(--faint);stroke-width:1.8;stroke-linecap:round}
.search input{flex:1;min-width:0;height:100%;border:0;background:none;font:inherit;font-size:16px;color:var(--ink);outline:none}
.search input::placeholder{color:var(--faint)}
.list-meta{font-size:.78rem;color:var(--faint);margin-top:8px}
.group{margin-top:6px}
.group h3{position:sticky;top:0;z-index:1;display:flex;align-items:baseline;justify-content:space-between;padding:12px 0 6px;background:var(--paper);font-size:1.05rem}
.group h3 small{font-family:var(--f-label);font-size:.72rem;font-weight:600;color:var(--faint);letter-spacing:.06em}
.row{width:100%;display:flex;align-items:center;gap:12px;padding:10px 4px;border-bottom:1px solid var(--line);text-align:left;border-radius:10px;transition:background .15s}
.row:hover{background:var(--bg)}
.row .ic{flex:none;width:36px;height:36px;border-radius:11px;display:grid;place-items:center;background:var(--c-bg);color:var(--c-d)}
.row .ic svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.row .t{flex:1;min-width:0}
.row b{display:block;font-weight:600;font-size:.95rem;line-height:1.25}
.row small{display:block;font-size:.8rem;color:var(--faint);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.row .k{flex:none;font-family:var(--f-label);font-size:.78rem;font-weight:600;color:var(--grenat-ink);text-align:right}
.row .k em{display:block;font-style:normal;font-size:.62rem;letter-spacing:.08em;text-transform:uppercase;color:var(--faint);font-weight:500}
.empty-list{padding:28px 4px;color:var(--faint);text-align:center;font-size:.92rem}

/* ---------- À propos ---------- */
.about{position:fixed;inset:0;z-index:50;background:var(--bg);display:flex;flex-direction:column;animation:rise .35s cubic-bezier(.2,.8,.2,1)}
.about-bar{flex:none;padding:calc(10px + env(safe-area-inset-top)) 12px 10px;border-bottom:1px solid var(--line)}
.about-scroll{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch}
.about-in{max-width:640px;margin:0 auto;padding:26px 20px calc(40px + env(safe-area-inset-bottom))}
.about h2{font-size:2.4rem;margin-top:8px}
.about-by{font-family:var(--f-title);font-style:italic;font-size:1.15rem;color:var(--muted);margin-top:2px}
.about-img{width:100%;height:auto;border-radius:6px;margin:20px 0 6px;box-shadow:0 10px 30px rgba(0,0,0,.18)}
.about h3{font-size:1.25rem;margin:26px 0 8px}
.about p{color:var(--muted);margin-bottom:10px}
.about p em{font-style:italic;color:var(--ink)}
.about-cta{display:flex;flex-wrap:wrap;gap:8px;margin:28px 0 22px}
.about-cta .btn-primary{flex-basis:100%}
.credits{font-size:.78rem!important;color:var(--faint)!important;border-top:1px solid var(--line);padding-top:14px}
@keyframes rise{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
.noscript{padding:24px;text-align:center}

/* ---------- Grands écrans et paysage : panneau latéral ---------- */
@media (min-width:960px),(orientation:landscape) and (max-height:520px){
  body{display:grid;grid-template-columns:min(420px,40vw) 1fr;grid-template-rows:auto auto 1fr}
  .top,.chips{grid-column:1/-1}
  .stage{grid-column:2;grid-row:3}
  .sheet{position:relative;grid-column:1;grid-row:3;height:auto;min-height:0;transform:none!important;border-radius:0;box-shadow:none;border-right:1px solid var(--line);transition:none}
  .grip{display:none}
  .pane-head,.card-head{padding-top:16px;touch-action:auto}
  .sheet[data-state="peek"] .pane-body{overflow-y:auto}
  .zoom-ctl{bottom:16px}
}
@media (orientation:landscape) and (max-height:520px){
  :root{--top-h:46px;--chips-h:44px}
  .brand-txt small{display:none}
  .pane-intro h1{font-size:1.2rem}
  .stats{display:none}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important}
}
