/* PsyLab — Le Vestiaire V80
   High-fidelity implementation of the approved desktop + mobile mockup.
   Only the two challenge CTAs are interactive overlays; visuals are exported at exact ratios.
*/
html,body{background:#09090a!important}
body.ps-vestiaire-v80{margin:0;min-height:100vh;color:#fff;overflow-x:hidden}
.ps-vestiaire-v80 .ps-app{min-height:100vh;background:#09090a}

.ps-v80-topbar{height:70px!important;min-height:70px!important;padding:0 clamp(24px,4vw,66px)!important;background:#0a0a0b!important;border-bottom:1px solid rgba(255,255,255,.08)!important;box-shadow:none!important;color:#f7f0e7!important;display:grid!important;grid-template-columns:auto 1fr auto!important;align-items:center!important;gap:26px!important;position:relative!important;z-index:40!important}
.ps-v80-brand{display:flex;align-items:center;gap:10px;color:#fff!important;text-decoration:none;font-family:Georgia,'Times New Roman',serif;font-size:2rem;line-height:1;font-weight:700;white-space:nowrap}
.ps-v80-brand svg{width:39px;height:39px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.ps-v80-brand small{display:block;margin-top:6px;font:700 .44rem/1.1 Arial,sans-serif;letter-spacing:.17em;color:#d3c6b9}
.ps-v80-nav{justify-self:center;display:flex;align-items:stretch;height:70px;gap:30px}
.ps-v80-nav a{display:flex;align-items:center;position:relative;color:#f2ece6!important;text-decoration:none;font:650 .83rem/1 Arial,sans-serif;white-space:nowrap}
.ps-v80-nav a.active{color:#ef5571!important}
.ps-v80-nav a.active::after{content:"";position:absolute;left:0;right:0;bottom:9px;height:2px;background:#ef5571;border-radius:3px}
.ps-v80-actions{display:flex;align-items:center;gap:16px}
.ps-v80-search{width:38px;height:38px;display:grid;place-items:center;border-left:1px solid rgba(255,255,255,.15);padding-left:15px}
.ps-v80-search svg{width:20px;height:20px;fill:none;stroke:#fff;stroke-width:1.6}
.ps-v80-avatar{width:43px;height:43px;border-radius:50%;background:#9d0028;color:#fff!important;display:grid;place-items:center;text-decoration:none;font:700 1rem Arial,sans-serif;overflow:hidden}
.ps-v80-avatar img{width:100%;height:100%;object-fit:cover}
.ps-v80-menu{display:none;position:relative}
.ps-v80-menu summary{list-style:none;width:40px;height:40px;display:grid;place-content:center;gap:5px;cursor:pointer}
.ps-v80-menu summary::-webkit-details-marker{display:none}.ps-v80-menu summary span{width:22px;height:2px;background:#fff;display:block;border-radius:2px}
.ps-v80-menu nav{position:absolute;right:0;top:48px;width:205px;padding:10px;background:#111;border:1px solid rgba(255,255,255,.13);border-radius:13px;box-shadow:0 18px 46px rgba(0,0,0,.45);display:grid}
.ps-v80-menu nav a{padding:12px 13px;border-radius:9px;color:#fff;text-decoration:none;font:650 .82rem Arial,sans-serif}.ps-v80-menu nav a.active{background:#9d0028}

.ps-v80-stage{width:100%;background:#09090a;line-height:0}
.ps-v80-desktop{position:relative;width:min(100%,1672px);margin:0 auto;overflow:hidden;background:#050506}
.ps-v80-desktop>img{display:block;width:100%;height:auto}
.ps-v80-hotspot{position:absolute;display:block;z-index:5;border-radius:14px;outline:0;cursor:pointer}
.ps-v80-hotspot:focus-visible{outline:3px solid #fff;outline-offset:4px;box-shadow:0 0 0 7px rgba(197,41,72,.65)}
/* Coordinates are percentages of the approved 1672 × 870 body artwork. */
.ps-v80-hotspot-blouse{left:15.1%;top:74.0%;width:24.0%;height:9.0%}
.ps-v80-hotspot-page{left:62.9%;top:78.8%;width:22.1%;height:8.0%}
.ps-v80-hotspot:hover{background:rgba(255,255,255,.045)}
.ps-v80-mobile{display:none}

@media (min-width:1673px){.ps-v80-stage{padding-bottom:30px}}

@media(max-width:820px){
  .ps-v80-topbar{height:64px!important;min-height:64px!important;padding:0 16px!important;grid-template-columns:1fr auto!important;gap:12px!important;position:sticky!important;top:0!important}
  .ps-v80-brand{font-size:1.55rem;gap:8px}.ps-v80-brand svg{width:31px;height:31px}.ps-v80-brand small{display:none}
  .ps-v80-nav,.ps-v80-search{display:none!important}.ps-v80-actions{gap:8px}.ps-v80-avatar{width:39px;height:39px}.ps-v80-menu{display:block}
  .ps-v80-desktop{display:none}
  .ps-v80-mobile{display:block;width:100%;max-width:520px;margin:0 auto;background:#07090b;padding-bottom:max(18px,env(safe-area-inset-bottom))}
  .ps-v80-mobile>img,.ps-v80-mobile-panel>img{width:100%;height:auto;display:block}
  .ps-v80-mobile-head{border-bottom:1px solid rgba(255,255,255,.08)}
  .ps-v80-mobile-panel{position:relative;overflow:hidden;border-top:1px solid rgba(255,255,255,.10)}
  .ps-v80-mobile-hotspot{position:absolute;display:block;z-index:5;border-radius:12px;cursor:pointer}
  .ps-v80-mobile-hotspot.blouse{left:30.2%;top:69.1%;width:49.0%;height:11.4%}
  .ps-v80-mobile-hotspot.page{left:28.0%;top:75.0%;width:45.0%;height:10.3%}
  .ps-v80-mobile-hotspot:focus-visible{outline:3px solid #fff;outline-offset:-3px}
  .ps-v80-mobile-panel.page{border-top:10px solid #07090b}
}

@media(max-width:380px){.ps-v80-brand{font-size:1.35rem}.ps-v80-brand svg{width:28px;height:28px}.ps-v80-topbar{padding-inline:12px!important}}

/* V80.3 — MOBILE STRUCTURE RESET
   Uses three dedicated portrait-composition exports from the approved mobile mockup.
   No desktop image is reused or cropped on mobile. */
@media (max-width:820px){
  body.ps-vestiaire-v80,
  body.ps-vestiaire-v80 .ps-app,
  .ps-v80-stage{width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:hidden!important;background:#07090b!important}

  .ps-v80-desktop{display:none!important}
  .ps-v80-mobile{
    display:block!important;
    width:100%!important;
    max-width:520px!important;
    min-width:0!important;
    margin:0 auto!important;
    padding:0 0 max(16px,env(safe-area-inset-bottom))!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
    line-height:0!important;
    background:#07090b!important;
  }

  .ps-v80-mobile-head-wrap,
  .ps-v80-mobile-panel{
    position:relative!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
    background:#07090b!important;
  }

  .ps-v80-mobile-head-wrap img,
  .ps-v80-mobile-panel>img{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    object-fit:contain!important;
    object-position:center center!important;
    transform:none!important;
  }

  /* The black margins and rounded card edges are already part of the approved exports. */
  .ps-v80-mobile-panel.page,
  .ps-v80-mobile-panel.ps-v80-mobile-page{
    border:0!important;
    margin:0!important;
  }

  /* Exact CTA locations inside the approved mobile artwork. */
  .ps-v80-mobile-hotspot{
    position:absolute!important;
    z-index:20!important;
    display:block!important;
    margin:0!important;
    padding:0!important;
    background:transparent!important;
    border:0!important;
    transform:none!important;
    cursor:pointer!important;
    touch-action:manipulation!important;
    -webkit-tap-highlight-color:transparent!important;
  }
  .ps-v80-mobile-hotspot.blouse{
    left:16.2%!important;
    top:82.1%!important;
    width:67.0%!important;
    height:13.0%!important;
  }
  .ps-v80-mobile-hotspot.page{
    left:22.5%!important;
    top:78.4%!important;
    width:53.7%!important;
    height:12.2%!important;
  }
  .ps-v80-mobile-hotspot:focus-visible{
    outline:3px solid #fff!important;
    outline-offset:-4px!important;
    border-radius:10px!important;
  }
}
