#acArtR53{--art-navy:#061f60;--art-gold:#cda46a;--art-line:#d9dfe8;color:var(--art-navy);background:#fff;border-radius:24px;padding:clamp(18px,3vw,40px);font-family:Hellix,system-ui,sans-serif}#acArtR53[hidden]{display:none!important}#acArtR53 *{box-sizing:border-box}#acArtR53 button,#acArtR53 input,#acArtR53 select{font:inherit;min-height:44px;border-radius:14px;border:1px solid var(--art-line);padding:10px 14px;background:#fff;color:var(--art-navy)}#acArtR53 button{cursor:pointer;transition:background .18s,border-color .18s,transform .18s}#acArtR53 button:hover{background:#f5f7fb;border-color:#6e83ab}#acArtR53 button:focus-visible,#acArtR53 input:focus-visible,#acArtR53 select:focus-visible{outline:3px solid #5b81c3;outline-offset:3px}#acArtR53 button:disabled{opacity:.45;cursor:default}#acArtR53 .art-primary{background:var(--art-navy);color:#fff;border-color:var(--art-navy)}#acArtR53 .art-primary:hover{background:#123477}#acArtR53 h2{font-family:Atacama,Georgia,serif;font-size:clamp(30px,3vw,46px);font-weight:500;margin:8px 0}#acArtR53 h3{font-size:18px;margin:12px 0 4px}#acArtR53 p{line-height:1.55}#acArtR53 .art-intro{max-width:680px;color:#54617b;margin:12px 0 24px}#acArtR53 .art-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:28px;align-items:start}#acArtR53 .art-preview{position:relative;background:#07152d;overflow:hidden;border-radius:18px;aspect-ratio:16/9}#acArtR53 .art-stage{position:absolute;inset:0}#acArtR53 .art-wall{position:absolute;inset:0;display:grid;pointer-events:none}#acArtR53 .art-wall i{border:1px solid rgba(255,255,255,.6)}#acArtR53 .art-controls{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:12px 0}#acArtR53 .art-controls input[type=range]{padding:0;flex:1;min-width:100px;accent-color:var(--art-navy);border:0}#acArtR53 .art-now{display:flex;justify-content:space-between;gap:12px;align-items:baseline}#acArtR53 .art-now small{color:#54617b}#acArtR53 .art-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:24px}#acArtR53 .art-card{min-width:0}#acArtR53 .art-thumb{aspect-ratio:16/10;border-radius:16px;overflow:hidden;position:relative;background:#07152d}#acArtR53 .art-thumb>div{width:100%;height:100%}#acArtR53 .art-type{font-size:12px;color:#68758b;margin:5px 0 12px}#acArtR53 .art-card-actions{display:flex;gap:6px}#acArtR53 .art-card-actions button{padding:8px 10px;flex:1;font-size:13px}#acArtR53 .art-composer{position:sticky;top:20px;background:#f8f9fb;border:1px solid var(--art-line);border-radius:20px;padding:20px;max-height:calc(100vh - 40px);overflow:auto}#acArtR53 .art-composer h3{margin-top:0;font-size:21px}#acArtR53 label{display:grid;gap:6px;font-size:13px;font-weight:600;margin:12px 0}#acArtR53 label input,#acArtR53 label select{width:100%;min-width:0;font-size:14px;font-weight:400}#acArtR53 .art-dimensions{display:grid;grid-template-columns:1fr 1fr;gap:10px}#acArtR53 .art-dimensions label{margin:4px 0}#acArtR53 .art-list{display:grid;gap:12px;margin:18px 0;padding:0;list-style:none;max-height:330px;overflow:auto}#acArtR53 .art-list li{border:1px solid var(--art-line);padding:12px;border-radius:14px;background:#fff}#acArtR53 .art-list strong{font-size:14px;display:block}#acArtR53 .art-row{display:flex;gap:6px;align-items:center}#acArtR53 .art-row button{padding:6px;min-width:44px}#acArtR53 .art-note{font-size:12px;color:#54617b;line-height:1.55}#acArtR53 .art-save{width:100%}#acArtR53 #artR53Status{font-size:14px;min-height:24px}#acArtR53 #artR53Status[data-error=true]{color:#a42f32}#acArtR53 .art-toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-top:24px}#acArtR53 .art-toolbar h3{margin:0}#acArtR53 .art-toolbar select{max-width:190px}#acArtR53 .art-empty{border:1px dashed #a8b4c9;border-radius:14px;padding:16px;color:#54617b;font-size:14px}#acArtR53 .art-advanced summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-size:14px;color:#54617b}#acArtR53 .art-stamp{border-radius:99px;background:#eef2fa;color:#54617b;font-size:12px;padding:5px 10px}
@media(min-width:1700px){#acArtR53 .art-layout{grid-template-columns:minmax(0,1fr) 330px}}@media(max-width:1100px){#acArtR53 .art-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#acArtR53 .art-layout{grid-template-columns:minmax(0,1fr) 270px;gap:20px}}@media(max-width:760px){#acArtR53 .art-layout{display:flex;flex-direction:column}#acArtR53 .art-content,#acArtR53 .art-composer{width:100%}#acArtR53 .art-composer{position:static;max-height:none}#acArtR53 .art-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}#acArtR53 .art-card-actions{flex-direction:column}#acArtR53 .art-toolbar{align-items:start;flex-direction:column}#acArtR53 .art-now{align-items:start;flex-direction:column;gap:0}}@media(prefers-reduced-motion:reduce){#acArtR53 button{transition:none}}

#acArtR53 .art-row button svg{display:block;margin:auto}

#acArtR53 ::selection{background:#ead6b8;color:#061f60}#acArtR53 input{caret-color:#061f60}#acArtR53 *{scrollbar-width:thin;scrollbar-color:#a2adc1 #f1f3f7}#acArtR53 output{font-variant-numeric:tabular-nums}#acArtR53 .art-discovery{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:12px 0}#acArtR53 .art-discovery label{margin:0;flex:1;min-width:190px}#acArtR53 .art-discovery button{display:flex;align-items:center;justify-content:center;gap:8px}#acArtR53 [aria-pressed=true]{background:#e9eef8;border-color:#061f60}#acArtR53 .art-heart{position:absolute;top:10px;right:10px;width:44px;padding:10px;background:#fff}#acArtR53 .art-heart[aria-pressed=true] svg{fill:#061f60}#acArtR53 .art-type{color:#54617b}#acArtR53 .art-no-results{grid-column:1/-1}#acArtR53 #artR54Jump{display:none}#acArtR53 .art-screen:is(:fullscreen, .art-screen-expanded){background:#080e1b;display:flex;flex-direction:column;padding:20px;gap:8px;color:#fff}#acArtR53 .art-screen:is(:fullscreen, .art-screen-expanded) .art-preview{flex:1;min-height:0;aspect-ratio:auto}#acArtR53 .art-screen:is(:fullscreen, .art-screen-expanded) .art-controls{flex:none}#acArtR53 .art-screen:is(:fullscreen, .art-screen-expanded) h3{color:#fff}#acArtR53 .art-screen:is(:fullscreen, .art-screen-expanded) .art-controls input{accent-color:#f8c784;background:transparent}#acArtR53 .art-screen:is(:fullscreen, .art-screen-expanded) .art-controls output{color:#fff}#acArtR53 .art-screen:is(:fullscreen, .art-screen-expanded) .art-stamp{display:none}
@media(max-width:760px){#acArtR53{padding-bottom:86px}#acArtR53 #artR54Jump{display:block;position:fixed;bottom:18px;right:18px;z-index:40;box-shadow:0 8px 28px rgba(6,31,96,.18)}#acArtR53 .art-discovery label{min-width:100%;width:100%}#acArtR53 .art-discovery button{flex:1}#acArtR53 .art-screen:is(:fullscreen, .art-screen-expanded){padding:12px}}

/* Keep the complete artwork and its single transport close in every format. */
#acArtR53 .art-preview{--art-preview-limit:clamp(180px,calc(100dvh - 410px),620px);width:min(100%,calc(var(--art-preview-limit)*var(--art-ratio,1.777778)));margin-inline:auto}
#acArtR53 .art-screen:is(:fullscreen, .art-screen-expanded) .art-preview{width:100%;max-height:none}
@media(max-width:760px){#acArtR53 .art-preview{--art-preview-limit:clamp(180px,calc(100dvh - 480px),500px)}}

#acArtR53 .art-fullscreen-dialog {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  border: 0;
  padding: 0;
  background: #080e1b;
}
#acArtR53 .art-screen-expanded {
  height: 100%;
  padding-block: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-bottom));
  padding-inline: max(12px, env(safe-area-inset-left)) max(12px, env(safe-area-inset-right));
}
#acArtR53 .art-screen-expanded .art-controls { margin-block: 0; }

/* Keep a compact, interactive preview in view while the catalogue scrolls. */
#acArtR53 .art-screen:not(:fullscreen, .art-screen-expanded){position:sticky;top:var(--art-pin-offset,0px);z-index:4;background:#fff;padding:8px 0 2px;box-shadow:0 7px 11px #fff}
#acArtR53 .art-screen:not(:fullscreen, .art-screen-expanded) .art-preview{--art-preview-limit:clamp(84px,32dvh,400px)}
#acArtR53 .art-content :is(.art-discovery button,.art-discovery input,.art-discovery select,.art-grid button){scroll-margin-top:calc(var(--art-pin-offset,0px) + 32dvh + 126px)}
@media(max-width:760px){
 #acArtR53 .art-screen:not(:fullscreen, .art-screen-expanded) .art-preview{--art-preview-limit:clamp(72px,23dvh,280px)}
 #acArtR53 .art-screen:not(:fullscreen, .art-screen-expanded) .art-controls{margin:7px 0}
 #acArtR53 .art-content :is(.art-discovery button,.art-discovery input,.art-discovery select,.art-grid button){scroll-margin-top:calc(var(--art-pin-offset,0px) + 23dvh + 162px)}
}

/* The portal measures this surface and owns the scroll. */
body[data-art-gallery-embed] #artConnected :is(.ac-header, #r31-network) {
  display: none !important;
}

body[data-art-gallery-embed] .dmain {
  padding: 0 !important;
  min-block-size: 0;
}

#acArtR53.art-browse {
  --gallery-paper: #fbf9f5;
  --gallery-muted: #495775;
  background: var(--gallery-paper);
  padding: clamp(16px, 3vw, 38px);
}

#acArtR53.art-browse [hidden],
#acArtR53.art-browse #artR54Jump {
  display: none !important;
}

body[data-art-gallery-embed] #artConnected {
  padding: 0 !important;
}

#acArtR53.art-browse .art-layout {
  display: block;
}

#acArtR53.art-browse .art-browser-panel {
  padding: 0;
}

#acArtR53 .art-browser-heading,
#acArtR53 .art-browser-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-block-end: 18px;
}

#acArtR53 .art-browser-heading h2 {
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.14;
  margin: 0;
}

#acArtR53 .art-browser-search {
  display: flex;
  align-items: end;
  gap: 10px;
  margin-block-end: 10px;
}

#acArtR53 .art-browser-search label {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}

#acArtR53 .art-browser-search input {
  min-height: 48px;
  font-size: 16px;
}

#acArtR53 .art-browser-search input::placeholder {
  color: var(--gallery-muted);
}

#acArtR53 .art-browser-search button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 7px;
}

#acArtR53 .art-browser-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

#acArtR53 .art-browser-details {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 1px solid var(--art-line);
  border-radius: 14px;
  background: #fff;
}

#acArtR53 .art-browser-details[open] {
  flex: 1 0 100%;
}

#acArtR53 .art-browser-details > summary {
  min-height: 44px;
  padding: 11px 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

#acArtR53 .art-browser-details > summary:focus-visible {
  outline: 3px solid #5b81c3;
  outline-offset: 3px;
  border-radius: 12px;
}

#acArtR53 .art-browser-details[open] > summary {
  border-bottom: 1px solid var(--art-line);
}

#acArtR53 .art-browser-details > :not(summary) {
  margin: 12px 14px;
}

#acArtR53 .art-browser-details > .art-discovery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#acArtR53 .art-browser-details .art-discovery label {
  min-width: 0;
}

#acArtR53 .art-browser-details .r57-eyebrow {
  display: none;
}

#acArtR53 .art-browser-results {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px 14px;
  margin-block: 16px 10px;
  color: var(--gallery-muted);
}

#acArtR53 .art-browser-results :is(p, span) {
  margin: 0;
  font-size: 13px;
}

#acArtR53.art-browse .art-grid {
  margin-block-start: 0;
  gap: clamp(14px, 2.1vw, 27px);
}

#acArtR53.art-browse .art-card {
  display: flex;
  flex-direction: column;
  scroll-margin-block-start: 12px;
}

#acArtR53.art-browse .art-thumb {
  border-radius: 14px;
  aspect-ratio: 4 / 3;
}

#acArtR53.art-browse .art-heart {
  inset-inline-end: 8px;
  inset-inline-start: auto;
}

#acArtR53.art-browse .art-card h3 {
  margin: 11px 0 3px;
  font: 500 clamp(17px, 2.1vw, 25px)/1.16 Atacama, Georgia, serif;
  overflow-wrap: anywhere;
}

#acArtR53.art-browse .art-card :is(.art-type, .r57-mini) {
  color: var(--gallery-muted);
}

#acArtR53.art-browse .art-card-actions {
  margin-block-start: auto;
  padding-block-start: 3px;
}

#acArtR53.art-browse [data-in-selection="true"] {
  color: #493616;
  border-color: #dcc7a3;
  background: #f2e5ce;
}

#acArtR53.art-browse .art-primary[data-in-selection="true"] {
  color: #fff;
  border-color: var(--art-navy);
  background: var(--art-navy);
}

#acArtR53 .art-browser-more {
  display: block;
  margin: 24px auto 0;
}

#acArtR53 .art-browser-preview {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(210px, 1fr);
  gap: 20px;
  align-items: start;
}

#acArtR53.art-browse .art-screen:not(:fullscreen, .art-screen-expanded) {
  position: static;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

#acArtR53.art-browse .art-screen:not(:fullscreen, .art-screen-expanded) .art-preview {
  --art-preview-limit: clamp(240px, 48vw, 500px);
}

#acArtR53.art-browse .art-controls input[type="range"] {
  min-width: 104px;
}

#acArtR53 .art-browser-preview-notes {
  min-width: 0;
  color: var(--gallery-muted);
}

#acArtR53.art-browse .r57-cartel {
  display: block;
  border: 0;
  border-top: 1px solid var(--art-line);
  padding: 14px 0 0;
}

#acArtR53.art-browse .r57-cartel button {
  margin-block: 6px;
}

#acArtR53.art-browse .art-composer {
  position: static;
  overflow: visible;
  max-height: none;
  width: min(100%, 720px);
  margin-inline: auto;
  background: white;
  padding: clamp(16px, 3vw, 28px);
}

#acArtR53.art-browse .art-composer > .art-browser-details {
  margin-block: 16px;
}

@media (min-width: 980px) {
  #acArtR53.art-browse .art-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  #acArtR53 .art-browser-preview {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  #acArtR53 .art-browser-heading {
    margin: 0;
  }

  #acArtR53 .art-browser-search {
    flex-wrap: wrap;
  }

  #acArtR53 .art-browser-search label {
    flex-basis: 100%;
  }

  #acArtR53 .art-browser-search button {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    padding-inline: 8px;
    text-align: center;
    overflow-wrap: anywhere;
  }

  #acArtR53 .art-browser-search button svg {
    flex-shrink: 0;
  }

  #acArtR53 .art-browser-heading h2 {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  #acArtR53 .art-browser-details > .art-discovery,
  #acArtR53.art-browse .r57-facets {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #acArtR53.art-browse .art-browser-results {
    margin: 0;
  }

  #acArtR53.art-browse .art-card h3 {
    font-size: 18px;
  }
}

#acArtR53.art-browse .art-primary,
#acArtR53.art-browse .art-primary[data-in-selection="true"] {
  background: #cda46a;
  border-color: #a57942;
  color: #261b11;
}
#acArtR53.art-browse .art-primary:hover {
  background: #ead3a6;
  color: #261b11;
}
#acArtR53 .art-browser-format label,
#acArtR53 .art-preview-format {
  display: grid;
  gap: 4px;
  margin: 0;
  font-size: 13px;
}
#acArtR53 .art-browser-format { min-inline-size: min(100%, 11rem); }
#acArtR53 .art-preview-format { margin-inline-end: auto; }
#acArtR53 .art-browser-panel-header:has(.art-preview-format) {
  justify-content: start;
  align-items: end;
}
#acArtR53 .art-preview-format select { min-height: 48px; }
#acArtR53.art-browse .art-publish:not([hidden]) {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid #a57942;
  border-radius: 12px;
  text-decoration: none;
}
body[data-art-gallery-public] { background: #f8f7f4; margin: 0; }
body[data-art-gallery-public] .edition-bar { display: none; }
body[data-art-gallery-public] #acArtR53 {
  width: min(100% - 24px, 1440px);
  margin: 12px auto 32px;
}
#acArtR53 .art-public-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
  border-bottom: 1px solid var(--art-line);
  margin: 0 0 18px;
}
#acArtR53 .art-public-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--art-navy);
}
@media (max-width: 560px) {
  #acArtR53 .art-browser-format { flex-basis: 100%; }
}

body[data-art-gallery-public] #artR53Preview::after {
  content: "ARTSTRIA · PREVIEW";
  position: absolute;
  inset: auto .7rem .7rem auto;
  z-index: 3;
  padding: .35rem .55rem;
  border-radius: 6px;
  background: #14213d;
  color: #fff;
  font: 700 .65rem/1.3 system-ui, sans-serif;
  pointer-events: none;
}
html[lang="fr"] body[data-art-gallery-public] #artR53Preview::after {
  content: "ARTSTRIA · APERÇU";
}
