/* Exkave Cave + Planche reprise — scoped to the three review pages. */
:root {
  --reprise-black: #070706;
  --reprise-graphite: #12110f;
  --reprise-paper: #eee8d8;
  --reprise-gold: #d8b765;
  --reprise-line: rgba(216, 183, 101, .25);
  --reprise-content-gutter: clamp(24px, 3vw, 44px);
}

/* Bibliothèque — grille vivante de pressages.
   Le rythme vient des objets et de leur échelle, pas de respirations vides. */
body.library-page[data-ex-biblio] {
  --library-page: #080807;
  --library-sidebar: #10100e;
  --library-results: #141310;
  --library-card: #1a1916;
  --library-card-raised: #211f1a;
  --library-ivory: #fffdf7;
  --library-brass: #d1b56f;
}

body.library-page[data-ex-biblio] #catalog-layout:not(.is-neutral) {
  padding-top: 32px;
  background: var(--library-page);
}

body.library-page[data-ex-biblio] #catalog-layout:not(.is-neutral) > .album-panel {
  margin: 0 var(--reprise-content-gutter, 44px) 24px;
  padding: 22px 24px;
  background: var(--library-results);
}

body.library-page[data-ex-biblio] #catalog-layout:not(.is-neutral) > .album-panel .panel-head {
  margin-bottom: 18px;
}

body.library-page[data-ex-biblio] #catalog-layout:not(.is-neutral) > .album-panel .panel-title {
  font-size: clamp(25px, 2.4vw, 34px);
}

body.library-page[data-ex-biblio] #catalog-layout:not(.is-neutral) > .album-panel .album-rail-shell {
  grid-template-columns: 24px minmax(0,1fr) 24px;
}

body.library-page[data-ex-biblio] #catalog-layout:not(.is-neutral) > .album-panel .album-rail {
  grid-auto-columns: 112px;
  gap: 14px;
  min-height: 0;
  padding: 2px 4px 4px;
}

body.library-page[data-ex-biblio] #catalog-layout:not(.is-neutral) > .album-panel .album-rail .result,
body.library-page[data-ex-biblio] #catalog-layout:not(.is-neutral) > .album-panel .album-rail .result.active {
  transform: none;
}

body.library-page[data-ex-biblio] #catalog-layout:not(.is-neutral) > .album-panel .album-rail .cover-placeholder,
body.library-page[data-ex-biblio] #catalog-layout:not(.is-neutral) > .album-panel .album-rail .result.active .cover-placeholder {
  width: 112px;
  height: 112px;
}

body.library-page[data-ex-biblio] #catalog-layout:not(.is-neutral) > .album-panel .album-rail .result h3 {
  margin-top: 9px;
  font-size: 14px;
}

body.library-page[data-ex-biblio] #selected-album-summary {
  margin: 0 var(--reprise-content-gutter, 44px) 22px;
  padding: 18px 24px;
  border: 0;
  background: #0f0e0c;
}

body.library-page[data-ex-biblio] .selected-album-heading h2 {
  margin-top: 4px;
  font-size: clamp(24px, 2.2vw, 32px);
}

body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .detail {
  margin: 0 var(--reprise-content-gutter, 44px);
  padding: 0;
  background: transparent;
}

body.library-page[data-ex-biblio] .pressing-card-heading {
  margin-bottom: 18px;
}

body.library-page[data-ex-biblio] .pressing-card-heading span {
  display: block;
  color: var(--library-brass);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
}

body.library-page[data-ex-biblio] .pressing-card-heading h4 {
  margin: 5px 0 0;
  color: var(--library-ivory);
  font-family: var(--font-display);
  font-size: clamp(21px, 1.8vw, 28px);
  font-weight: 400;
  line-height: 1.04;
}

@media (min-width: 981px) {
  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] #detail > .master {
    display: grid;
    grid-template-columns: 238px minmax(0,1fr);
    gap: 28px;
    align-items: start;
  }

  body.library-page[data-ex-biblio] .pressing-filter-shell {
    position: sticky;
    top: 92px;
    z-index: 24;
    display: block;
    margin: 0;
    padding: 26px 22px 24px;
    background: var(--library-sidebar);
  }

  body.library-page[data-ex-biblio] .pressing-filter-toggle {
    display: block;
    width: 100%;
    margin: 0 0 24px;
    padding: 0 0 14px;
    border-bottom: 1px solid rgba(255,253,247,.12);
    color: var(--library-ivory);
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-filter-bar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-filter-field {
    display: grid;
    gap: 7px;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-filter-field > span {
    color: rgba(255,253,247,.48);
    font-size: 10px;
    letter-spacing: .12em;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-filter-field :is(input,select) {
    min-height: 40px;
    padding-inline: 0;
    border: 0;
    border-bottom: 1px solid rgba(255,253,247,.18);
    background: transparent;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-filter-submit {
    min-height: 42px;
    margin-top: 4px;
    border: 0;
    background: var(--library-brass);
    color: #15120b;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .field-clear {
    justify-self: start;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .lineage-branch {
    min-width: 0;
    padding: 26px;
    background: var(--library-results);
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressings-head {
    margin-bottom: 24px;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    grid-auto-flow: dense;
    gap: 18px;
    align-items: stretch;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing,
  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing:nth-child(even),
  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing:nth-child(3n + 2),
  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing:nth-child(3n) {
    position: relative;
    display: flex;
    width: auto;
    min-width: 0;
    max-width: none;
    min-height: 500px;
    margin: 0;
    padding: 0 0 66px;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: var(--library-card);
    box-shadow: none;
    opacity: 1;
    transform: none;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing.is-featured-pressing {
    grid-column: span 2;
    display: grid;
    grid-template-columns: minmax(0,1.15fr) minmax(230px,.85fr);
    min-height: 500px;
    background: var(--library-card-raised);
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing > .pressing-cover {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing.is-featured-pressing > .pressing-cover {
    height: 100%;
    min-height: 500px;
    aspect-ratio: auto;
    background: #0c0b09;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing.is-featured-pressing > .pressing-cover img {
    object-fit: contain;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-card-data {
    min-width: 0;
    padding: 20px;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing.is-featured-pressing .pressing-card-data {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px 28px 74px;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-facts-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 14px 16px;
    margin: 0;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-facts-grid .pressing-fact strong,
  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-facts-grid .pressing-fact:nth-child(1) strong,
  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-facts-grid .pressing-fact:nth-child(2) strong {
    font-size: 14px;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-runout-grid {
    position: absolute;
    inset: auto 0 0;
    z-index: 5;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 72px 20px 62px;
    border: 0;
    background: linear-gradient(180deg, transparent, rgba(8,8,7,.96) 34%);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .28s ease, transform .28s ease;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing:hover .pressing-runout-grid,
  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing:focus-visible .pressing-runout-grid {
    opacity: 1;
    transform: none;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing::before {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 8;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    padding: 0;
    border-radius: 50%;
    color: #15120b;
    background: var(--library-brass);
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing::after {
    right: auto;
    bottom: 22px;
    left: 20px;
    z-index: 9;
    border-bottom-color: rgba(209,181,111,.52);
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing > .pressing-card-flags {
    top: 14px;
    right: 14px;
    bottom: auto;
    z-index: 9;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-add-cta {
    grid-column: 1 / -1;
    margin-top: 28px;
  }
}

@media (min-width: 761px) and (max-width: 980px) {
  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 16px;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing,
  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing:nth-child(even),
  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing:nth-child(3n + 2),
  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing:nth-child(3n) {
    display: flex;
    min-height: 0;
    padding: 0 0 74px;
    background: var(--library-card);
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing.is-featured-pressing {
    grid-column: span 2;
    display: grid;
    grid-template-columns: minmax(0,1.1fr) minmax(240px,.9fr);
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing > .pressing-cover {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-card-data {
    padding: 18px;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing.is-featured-pressing .pressing-card-data {
    padding: 26px 22px 76px;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-runout-grid {
    padding-inline: 0;
  }
}

@media (max-width: 760px) {
  body.library-page[data-ex-biblio] #catalog-layout:not(.is-neutral) > .album-panel,
  body.library-page[data-ex-biblio] #selected-album-summary,
  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .detail {
    margin-inline: 8px;
  }

  body.library-page[data-ex-biblio] #catalog-layout:not(.is-neutral) > .album-panel .album-rail {
    grid-auto-columns: 112px;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing,
  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing:nth-child(even),
  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing:nth-child(3n + 2),
  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing:nth-child(3n) {
    display: flex;
    min-height: 0;
    padding: 0 0 72px;
    background: var(--library-card);
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing > .pressing-cover {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-card-data {
    padding: 18px;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-runout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px 0 0;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing::before {
    top: 12px;
    left: 12px;
    z-index: 6;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing::after {
    bottom: 20px;
    left: 18px;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing > .pressing-card-flags {
    top: 12px;
    right: 12px;
    bottom: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-runout-grid {
    transition: none;
  }
}

/* Contribution — document a physical object, not a four-kilometre form. */
html:has(body.submit-page) {
  overflow-x: clip;
}

body.submit-page {
  --submit-gutter: var(--reprise-content-gutter);
  background-color: var(--reprise-black);
  overflow-x: clip;
}

body.submit-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .055;
  background-image: url("/brand/grain.svg");
  mix-blend-mode: screen;
}

body.submit-page > .wrap {
  width: min(1380px, calc(100vw - 44px));
  padding-top: 28px;
}

body.submit-page .exkave-depth-far,
body.submit-page .exkave-depth-near {
  opacity: .16 !important;
}

body.submit-page .product-mark {
  display: none;
}

body.submit-page .hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, .78fr) minmax(540px, 1.22fr);
  gap: clamp(44px, 7vw, 110px);
  align-items: center;
  min-height: 660px;
  margin: 0 0 clamp(110px, 12vw, 180px);
  padding: 40px var(--submit-gutter) 70px;
  overflow: visible;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.submit-page .submit-hero-copy {
  position: relative;
  z-index: 2;
}

body.submit-page .hero h1 {
  max-width: 610px;
  margin: 12px 0 24px;
  font-size: clamp(48px, 5vw, 64px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.05em;
}

body.submit-page .hero .lead {
  max-width: 540px;
  color: rgba(238, 232, 216, .7);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
}

body.submit-page .submit-hero-object {
  position: relative;
  min-height: 560px;
  isolation: isolate;
}

body.submit-page .submit-hero-sleeve,
body.submit-page .submit-hero-vinyl {
  position: absolute;
  display: block;
  overflow: hidden;
  box-shadow: 0 34px 70px rgba(0, 0, 0, .58);
}

body.submit-page .submit-hero-sleeve {
  z-index: 2;
  top: 34px;
  left: 0;
  width: min(470px, 76%);
  aspect-ratio: 1;
  transform: rotate(-2.2deg);
  background: #181713;
}

body.submit-page .submit-hero-vinyl {
  z-index: 1;
  top: 62px;
  right: -3%;
  width: min(490px, 78%);
  aspect-ratio: 1;
  border-radius: 50%;
  filter: brightness(.72) contrast(1.18);
}

body.submit-page .submit-hero-sleeve img,
body.submit-page .submit-hero-vinyl img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

body.submit-page .submit-hero-caption {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 22px;
  padding-top: 9px;
  border-top: 1px solid var(--reprise-gold);
  color: var(--reprise-gold);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
}

body.submit-page .grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, .28fr);
  gap: clamp(30px, 4vw, 64px);
  align-items: start;
  isolation: isolate;
}

body.submit-page .grid::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -42px -22px -80px;
  background: linear-gradient(90deg, rgba(7, 7, 6, .93), rgba(10, 10, 8, .82) 70%, rgba(7, 7, 6, .68));
}

body.submit-page #submitForm,
body.submit-page .grid > aside.card {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.submit-page #submitForm {
  min-width: 0;
  padding: 0;
}

body.submit-page #submitForm > h2 {
  margin: 0 0 24px;
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 400;
  letter-spacing: -.035em;
}

body.submit-page .readiness {
  margin: 0 0 96px;
  padding: 18px 0;
  overflow: hidden;
  border: 0 !important;
  border-block: 1px solid var(--reprise-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.submit-page .readiness-head {
  align-items: baseline;
}

body.submit-page .readiness-score {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--reprise-gold);
  font-size: 24px;
  font-weight: 400;
}

body.submit-page .readiness-bar {
  height: 2px;
  margin: 12px 0;
  background: rgba(238, 232, 216, .12);
}

body.submit-page .readiness-copy {
  max-width: 680px;
}

body.submit-page .pill-grid {
  display: flex !important;
  gap: 7px;
  margin-top: 14px;
  padding-bottom: 5px;
  overflow-x: auto !important;
  flex-wrap: nowrap !important;
  scrollbar-width: thin;
}

body.submit-page .pill-grid > * {
  flex: 0 0 auto;
  border-radius: 0 !important;
  background: transparent !important;
  font-size: 10px;
}

body.submit-page .asset-section {
  margin: 0 0 104px;
  padding: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.submit-page .asset-head {
  display: grid;
  grid-template-columns: minmax(200px, .72fr) minmax(340px, 1.28fr);
  gap: 32px;
  align-items: start;
  margin-bottom: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--reprise-line);
}

body.submit-page .asset-head label {
  margin: 0;
  font-size: 12px;
}

body.submit-page .asset-head p {
  max-width: 660px;
  margin: 0;
  line-height: 1.55;
}

body.submit-page .drop-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(180px, auto);
  gap: 12px;
}

body.submit-page .drop {
  position: relative;
  min-height: 180px;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 18px;
  overflow: hidden;
  border: 0 !important;
  border-top: 1px solid rgba(216, 183, 101, .42) !important;
  border-radius: 0 !important;
  background: linear-gradient(145deg, rgba(238,232,216,.065), rgba(238,232,216,.012)) !important;
  box-shadow: none !important;
  text-align: left;
}

body.submit-page .drop::before {
  content: "";
  position: absolute;
  top: 20px;
  right: 20px;
  width: 62px;
  aspect-ratio: 1;
  border: 1px solid rgba(216, 183, 101, .42);
  opacity: .72;
}

body.submit-page .drop[data-guide-shape="circle"]::before,
body.submit-page .drop[data-guide-shape="runout"]::before {
  border-radius: 50%;
}

body.submit-page .drop[data-guide-shape="runout"]::after {
  content: "";
  position: absolute;
  top: 34px;
  right: 34px;
  width: 34px;
  aspect-ratio: 1;
  border: 1px dashed rgba(216, 183, 101, .34);
  border-radius: 50%;
}

body.submit-page .drop-grid:not(.optional) .drop:first-child {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 372px;
}

body.submit-page .drop-grid:not(.optional) .drop:first-child::before {
  width: 148px;
}

body.submit-page .drop b {
  position: static;
  margin-bottom: auto;
  border: 0;
  background: transparent;
  color: rgba(238, 232, 216, .44);
  font-size: 9px;
  letter-spacing: .16em;
}

body.submit-page .drop span {
  max-width: 80%;
  font-size: 14px;
}

body.submit-page .drop small {
  color: rgba(216, 183, 101, .72);
  font-size: 11px;
}

body.submit-page #submitForm > .row,
body.submit-page .physical-row,
body.submit-page .runout-pair {
  gap: 18px;
  margin: 0;
  padding: 24px 0;
  border-top: 1px solid var(--reprise-line);
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.submit-page #submitForm > .asset-section + .row {
  position: relative;
  margin-top: 96px;
}

body.submit-page #submitForm > .asset-section + .row::before {
  content: "IDENTITÉ DU PRESSAGE";
  position: absolute;
  top: -55px;
  left: 0;
  color: var(--reprise-gold);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .16em;
}

body.submit-page #submitForm input,
body.submit-page #submitForm textarea,
body.submit-page #submitForm select {
  border: 0;
  border-bottom: 1px solid rgba(238, 232, 216, .24);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.submit-page #submitForm input:focus,
body.submit-page #submitForm textarea:focus,
body.submit-page #submitForm select:focus {
  border-bottom-color: var(--reprise-gold);
  box-shadow: none;
}

body.submit-page .physical-card,
body.submit-page .runout-tools,
body.submit-page .price-code-tools,
body.submit-page .runout-import-details {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.submit-page .runout-pair {
  margin-top: 76px;
  padding: 42px 0;
  border-block: 1px solid rgba(216, 183, 101, .35);
}

body.submit-page .runout-pair::before {
  content: "RUNOUTS · PREUVE TECHNIQUE";
  position: absolute;
  margin-top: -67px;
  color: var(--reprise-gold);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .15em;
}

body.submit-page .runout-tools {
  margin: 16px 0 52px;
  padding: 18px 0;
  border-bottom: 1px solid var(--reprise-line) !important;
}

body.submit-page #notes {
  min-height: 110px;
}

body.submit-page .drop-grid.optional {
  display: flex;
  gap: 12px;
  padding-bottom: 14px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
}

body.submit-page .drop-grid.optional .drop {
  flex: 0 0 min(230px, 72vw);
  scroll-snap-align: start;
}

body.submit-page .actions {
  align-items: center;
  margin-top: 34px;
  padding: 28px 0 70px;
  border-top: 1px solid var(--reprise-line);
}

body.submit-page .actions button {
  min-height: 48px;
}

body.submit-page .grid > aside.card {
  position: sticky;
  top: 112px;
  padding: 22px 0;
  border-top: 1px solid var(--reprise-gold) !important;
}

body.submit-page .grid > aside.card h2 {
  margin: 0 0 28px;
  font-size: 25px;
  font-weight: 400;
  letter-spacing: -.025em;
}

body.submit-page .plain-list {
  display: block;
}

body.submit-page .plain-list > div {
  padding: 18px 0;
  border: 0;
  border-top: 1px solid var(--reprise-line);
  border-radius: 0;
  background: transparent;
}

body.submit-page .plain-list span {
  color: rgba(238, 232, 216, .58);
}

@media (max-width: 980px) {
  body.submit-page > .wrap {
    width: min(100%, calc(100vw - 28px));
  }

  body.submit-page .hero {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  body.submit-page .grid {
    grid-template-columns: 1fr;
  }

  body.submit-page .grid::before {
    inset-inline: -20px;
  }

  body.submit-page .grid > aside.card {
    position: static;
    order: -1;
    display: grid;
    grid-template-columns: .35fr 1fr;
    gap: 24px;
  }

  body.submit-page .plain-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 620px) {
  body.submit-page {
    --submit-gutter: var(--reprise-content-gutter);
  }

  body.submit-page > .wrap {
    width: 100%;
    padding-inline: 6px;
  }

  body.submit-page .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    margin-bottom: 92px;
    padding: 34px 10px 0;
  }

  body.submit-page .grid::before {
    inset-inline: -16px;
  }

  body.submit-page .hero h1 {
    font-size: 43px;
  }

  body.submit-page .submit-hero-object {
    min-height: 360px;
  }

  body.submit-page .submit-hero-sleeve {
    width: 72%;
  }

  body.submit-page .submit-hero-vinyl {
    width: 73%;
  }

  body.submit-page .submit-hero-caption {
    bottom: 5px;
  }

  body.submit-page #submitForm > h2 {
    padding-inline: 10px;
  }

  body.submit-page .readiness {
    margin-bottom: 72px;
    padding-inline: 10px;
  }

  body.submit-page .grid > aside.card {
    display: block;
    margin-inline: 10px;
  }

  body.submit-page .plain-list {
    display: grid;
    grid-template-columns: 1fr;
  }

  body.submit-page .asset-section {
    margin-bottom: 82px;
    padding-inline: 10px;
  }

  body.submit-page .asset-head {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  body.submit-page .drop-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: minmax(155px, auto);
  }

  body.submit-page .drop-grid:not(.optional) .drop:first-child {
    grid-column: 1 / -1;
    min-height: 290px;
  }

  body.submit-page #submitForm > .row,
  body.submit-page .runout-tools,
  body.submit-page #submitForm > label,
  body.submit-page #submitForm > textarea,
  body.submit-page #submitForm > .hint,
  body.submit-page #submitForm > .actions,
  body.submit-page #submitForm > .status {
    margin-inline: 10px;
  }

  body.submit-page #submitForm > .row {
    grid-template-columns: 1fr;
  }

  body.submit-page #submitForm > .asset-section + .row {
    margin-top: 76px;
  }

  body.submit-page .runout-pair {
    margin-top: 72px !important;
  }

  body.submit-page .drop-grid.optional {
    display: flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.submit-page .submit-hero-sleeve,
  body.submit-page .submit-hero-vinyl {
    transform: none;
  }
}

body.library-page,
body.marketplace-page,
body.news-page {
  --reprise-section-gutter: var(--reprise-content-gutter);
  background-color: var(--reprise-black);
}

body.library-page::after,
body.marketplace-page::after,
body.news-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .08;
  background-image: url("/brand/grain.svg");
  mix-blend-mode: screen;
}

/* Bibliothèque — search first, then a physical contact sheet. */
body.library-page .exb-entree {
  --reprise-hero-gutter: var(--reprise-content-gutter);
  width: min(100%, 1380px);
  margin: 20px auto 0;
  padding: var(--reprise-hero-gutter);
  border: 0;
  background:
    radial-gradient(circle at 78% 10%, rgba(216, 183, 101, .12), transparent 32%),
    linear-gradient(120deg, rgba(27, 26, 22, .92), rgba(8, 8, 7, .7));
}

body.library-page .hero {
  min-height: 0;
  padding: 0 0 28px;
  background: none;
}

body.library-page .base-title {
  max-width: 720px;
  font-size: clamp(42px, 5vw, 68px);
  letter-spacing: -.045em;
}

body.library-page .search-panel {
  display: grid;
  grid-template-columns: minmax(300px, .34fr) minmax(0, 1fr);
  gap: 18px 48px;
  align-items: center;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}

body.library-page .search-title {
  max-width: 360px;
  font-size: clamp(30px, 3vw, 42px);
  line-height: .98;
}

body.library-page .search-form {
  min-height: 76px;
  border: 1px solid rgba(216, 183, 101, .55);
  border-radius: 0;
  background: #0b0a09;
  box-shadow: 14px 16px 0 rgba(0, 0, 0, .25);
}

body.library-page #search-clear[hidden] {
  display: none !important;
}

body.library-page .examples,
body.library-page .search-guide {
  grid-column: 1 / -1;
}

body.library-page .search-guide {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--reprise-line);
}

body.library-page .exb-planche {
  width: calc(100% + var(--reprise-hero-gutter) + var(--reprise-hero-gutter));
  margin: clamp(36px, 5vw, 68px) calc(0px - var(--reprise-hero-gutter)) calc(0px - var(--reprise-hero-gutter));
  padding-bottom: 0;
  border-bottom: 0;
  transform: rotate(-1deg);
}

body.library-page .exb-bande-vues {
  min-height: clamp(220px, 22vw, 340px);
}

body.library-page .workspace {
  width: min(100%, 1380px);
  min-height: 0;
  margin: 0 auto 32px;
}

body.library-page .artist-stage {
  min-height: 190px;
  padding: clamp(24px, 3vw, 40px) var(--reprise-section-gutter);
  border: 0;
  border-top: 1px solid var(--reprise-line);
  border-radius: 0;
  background: linear-gradient(90deg, rgba(216, 183, 101, .08), transparent 46%);
}

body.library-page .artist-stage h2 {
  max-width: 660px;
  font-size: clamp(34px, 4.2vw, 56px);
}

body.library-page .artist-stage-copy {
  box-sizing: border-box;
  padding-inline-start: var(--reprise-section-gutter);
}

body.library-page .artist-stage-route {
  margin-inline-end: var(--reprise-section-gutter);
}

body.library-page .artist-stage:not([data-has-artist]) {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  min-height: 0;
  padding: 0 0 24px;
}

body.library-page .artist-stage:not([data-has-artist]) .artist-stage-visual {
  display: none;
}

body.library-page .artist-stage:not([data-has-artist]) .artist-stage-copy {
  grid-column: 1 / 13;
  min-height: 116px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 20px var(--reprise-section-gutter);
  border-bottom: 1px solid rgba(216, 183, 101, .2);
  background: linear-gradient(90deg, rgba(216, 183, 101, .09), transparent 64%);
  text-align: left;
}

body.library-page .artist-stage:not([data-has-artist]) .artist-stage-route {
  display: none;
}

body.library-page .artist-discovery {
  grid-column: 1 / 13;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(4, minmax(86px, auto));
  gap: 0 clamp(16px, 2vw, 30px);
  min-width: 0;
  min-height: 520px;
  margin: 28px var(--reprise-section-gutter) 0;
}

body.library-page .artist-stage:not([data-has-artist]) .artist-stage-kicker {
  margin: 0 0 6px;
}

body.library-page .artist-stage:not([data-has-artist]) h2 {
  margin: 0 0 6px;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1;
}

body.library-page .artist-stage:not([data-has-artist]) .artist-stage-meta {
  margin: 0;
  line-height: 1.35;
}

body.library-page .artist-discovery[hidden] {
  display: none;
}

body.library-page .artist-pick {
  position: relative;
  min-width: 0;
  min-height: 96px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  color: #fffdf7;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  text-align: left;
}

body.library-page .artist-pick.is-primary {
  grid-column: 7 / 13;
  grid-row: 1 / 5;
  min-height: 500px;
  background: #0a0a09;
}

body.library-page .artist-pick.is-secondary {
  align-self: center;
  overflow: visible;
  border-top: 1px solid rgba(216, 183, 101, .34);
  transition: border-color 240ms ease, translate 420ms cubic-bezier(.2,.7,.2,1);
}

body.library-page .artist-pick.is-secondary:nth-child(2) {
  grid-column: 1 / 6;
  grid-row: 1;
}

body.library-page .artist-pick.is-secondary:nth-child(3) {
  grid-column: 2 / 7;
  grid-row: 2;
}

body.library-page .artist-pick.is-secondary:nth-child(4) {
  grid-column: 1 / 5;
  grid-row: 3;
}

body.library-page .artist-pick.is-secondary:nth-child(5) {
  grid-column: 3 / 7;
  grid-row: 4;
}

body.library-page .artist-pick-media {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
}

body.library-page .artist-pick img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1) contrast(1.08) brightness(.72);
  transform: scale(1.01);
  transition: filter 420ms ease, transform 650ms cubic-bezier(.2,.7,.2,1);
}

body.library-page .artist-pick::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.88));
  pointer-events: none;
}

body.library-page .artist-pick-copy {
  position: absolute;
  z-index: 1;
  right: 14px;
  bottom: 14px;
  left: 14px;
  display: grid;
  gap: 3px;
}

body.library-page .artist-pick.is-secondary .artist-pick-copy {
  position: static;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 4px 12px;
  align-items: baseline;
  padding: 17px 0 15px;
}

body.library-page .artist-pick-index {
  color: var(--reprise-gold);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .15em;
}

body.library-page .artist-pick-arrow {
  color: var(--reprise-gold);
  font-size: 17px;
}

body.library-page .artist-pick-copy strong {
  color: #fffdf7;
  font-size: clamp(16px, 1.35vw, 21px);
  line-height: 1.05;
  letter-spacing: -.025em;
}

body.library-page .artist-pick-copy small {
  overflow: hidden;
  color: rgba(255,255,255,.62);
  font-size: 11px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.library-page .artist-pick.is-secondary .artist-pick-copy strong {
  font-size: clamp(22px, 2.25vw, 32px);
  font-weight: 400;
}

body.library-page .artist-pick.is-secondary .artist-pick-copy small {
  grid-column: 2 / 4;
}

body.library-page .artist-pick:hover img,
body.library-page .artist-pick:focus-visible img {
  filter: grayscale(0) contrast(1.02) brightness(.9);
  transform: scale(1.045);
}

body.library-page .artist-pick.is-secondary:hover,
body.library-page .artist-pick.is-secondary:focus-visible {
  border-top-color: var(--reprise-gold);
  translate: 12px 0;
}

body.library-page .artist-pick.is-image-missing .artist-pick-media {
  display: none;
}

body.library-page .artist-pick.is-image-missing.is-primary {
  background: linear-gradient(145deg, rgba(216,183,101,.12), rgba(8,8,7,.94));
}

body.library-page .artist-pick:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

body.library-page .artist-discovery-fallback {
  grid-column: 1 / -1;
  max-width: 520px;
  margin: 12px 0 28px;
  color: var(--reprise-muted);
  font-size: 17px;
  line-height: 1.6;
}

/* Bibliothèque — un seul langage d'image à la fois.
   L'entrée reste typographique; les pochettes n'apparaissent qu'au niveau
   Albums. Une fois un album choisi, sa pochette quitte le rail et devient
   l'ancre unique au-dessus des variantes de pressage. */
body.library-page .artist-stage:not([data-has-artist]) {
  min-height: 0;
}

body.library-page .artist-discovery {
  min-height: 300px;
  grid-template-rows: repeat(5, minmax(62px, auto));
  margin-top: 28px;
}

body.library-page .artist-pick.is-primary,
body.library-page .artist-pick.is-secondary {
  min-height: 0;
  align-self: center;
  overflow: visible;
  border-top: 1px solid rgba(216, 183, 101, .34);
  background: transparent;
  transition: border-color 240ms ease, translate 420ms cubic-bezier(.2,.7,.2,1);
}

body.library-page .artist-pick.is-primary {
  grid-column: 1 / 8;
  grid-row: 1;
}

body.library-page .artist-pick.is-secondary:nth-child(2) {
  grid-column: 3 / 10;
  grid-row: 2;
}

body.library-page .artist-pick.is-secondary:nth-child(3) {
  grid-column: 6 / 13;
  grid-row: 3;
}

body.library-page .artist-pick.is-secondary:nth-child(4) {
  grid-column: 2 / 8;
  grid-row: 4;
}

body.library-page .artist-pick.is-secondary:nth-child(5) {
  grid-column: 5 / 12;
  grid-row: 5;
}

body.library-page .artist-pick .artist-pick-copy,
body.library-page .artist-pick.is-secondary .artist-pick-copy {
  position: static;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 4px 12px;
  align-items: baseline;
  padding: 14px 0 13px;
}

body.library-page .artist-pick .artist-pick-copy strong,
body.library-page .artist-pick.is-secondary .artist-pick-copy strong {
  font-size: clamp(22px, 2.25vw, 32px);
  font-weight: 400;
}

body.library-page .artist-pick .artist-pick-copy small {
  grid-column: 2 / 4;
}

body.library-page .artist-pick::after {
  display: none;
}

body.library-page .workspace[data-desktop-layout="catalog-flow"] .album-rail .result.active {
  min-height: 220px;
  align-content: end;
  padding: 22px;
  border-left: 2px solid var(--reprise-gold);
  background: linear-gradient(135deg, rgba(216,183,101,.13), rgba(8,8,7,.25));
  transform: none;
}

body.library-page .workspace[data-desktop-layout="catalog-flow"] .album-rail .result.active .cover-placeholder {
  display: none;
}

body.library-page .workspace[data-desktop-layout="catalog-flow"] .detail {
  margin-top: clamp(110px, 11vw, 170px);
}

body.library-page .workspace[data-desktop-layout="catalog-flow"] .master-top {
  grid-template-columns: clamp(210px, 24vw, 330px) minmax(0, 1fr);
  gap: clamp(42px, 7vw, 108px);
  min-height: 420px;
  align-items: center;
  padding: clamp(32px, 5vw, 72px);
  border-inline: 0;
  border-radius: 0;
}

body.library-page .workspace[data-desktop-layout="catalog-flow"] .master-cover {
  width: min(100%, 330px);
  height: auto;
  aspect-ratio: 1;
}

body.library-page .workspace[data-desktop-layout="catalog-flow"] .lineage-branch {
  margin-top: clamp(90px, 9vw, 140px);
}

body.library-page .workspace[data-desktop-layout="catalog-flow"] .pressings-head {
  margin-bottom: 36px;
}

body.library-page .workspace[data-desktop-layout="catalog-flow"] .pressing-grid,
body.library-page .workspace[data-desktop-layout="catalog-flow"] .review-pressing-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: auto;
  gap: 0;
  counter-reset: pressing-variant;
}

body.library-page .workspace[data-desktop-layout="catalog-flow"] .pressing {
  counter-increment: pressing-variant;
  width: min(100%, 1120px);
  min-height: 0;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  grid-template-rows: auto;
  gap: clamp(18px, 3vw, 46px);
  align-items: start;
  margin: 0;
  padding: 30px 0 34px;
  border: 0;
  border-top: 1px solid rgba(216,183,101,.25);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.library-page .workspace[data-desktop-layout="catalog-flow"] .pressing:nth-child(3n + 2) {
  width: min(94%, 1040px);
  margin-left: 6%;
}

body.library-page .workspace[data-desktop-layout="catalog-flow"] .pressing:nth-child(3n) {
  width: min(88%, 980px);
  margin-left: 12%;
}

body.library-page .workspace[data-desktop-layout="catalog-flow"] .pressing::before {
  content: counter(pressing-variant, decimal-leading-zero);
  grid-column: 1;
  color: var(--reprise-gold);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .16em;
}

body.library-page .workspace[data-desktop-layout="catalog-flow"] .pressing:hover,
body.library-page .workspace[data-desktop-layout="catalog-flow"] .pressing:focus-visible,
body.library-page .workspace[data-desktop-layout="catalog-flow"] .pressing.selected,
body.library-page .workspace[data-desktop-layout="catalog-flow"] .pressing.is-comparison-pinned {
  border-color: var(--reprise-gold);
  background: linear-gradient(90deg, rgba(216,183,101,.06), transparent 62%);
  box-shadow: none;
  transform: none;
}

body.library-page .workspace[data-desktop-layout="catalog-flow"] .pressing > .pressing-cover {
  display: none;
}

body.library-page .workspace[data-desktop-layout="catalog-flow"] .pressing-card-data {
  grid-column: 2;
}

body.library-page .workspace[data-desktop-layout="catalog-flow"] .pressing-facts-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px 26px;
}

body.library-page .workspace[data-desktop-layout="catalog-flow"] .pressing-label-fact {
  grid-column: auto;
}

body.library-page .workspace[data-desktop-layout="catalog-flow"] .pressing-evidence {
  margin-top: 22px;
}

body.library-page .workspace[data-desktop-layout="catalog-flow"] .pressing-runout-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  border: 0;
  background: transparent;
}

body.library-page .workspace[data-desktop-layout="catalog-flow"] .pressing > .proofs {
  grid-column: 3;
  align-self: start;
}

@media (min-width: 901px) and (max-width: 1200px) {
  body.library-page .search-title {
    font-size: 1.29rem;
  }
}

/* Marketplace — one real listing leads; rails feel like crates, not a dashboard. */
body.marketplace-page {
  background:
    linear-gradient(180deg, rgba(5, 5, 5, .2), #070706 62%),
    url("/fond.png") center top / cover fixed,
    #070706;
}

body.marketplace-page .market-shell {
  width: min(1380px, calc(100vw - 44px));
  padding-top: 34px;
}

body.marketplace-page .hero {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(430px, 1.18fr);
  gap: clamp(40px, 7vw, 110px);
  min-height: 580px;
  align-items: center;
  padding: clamp(36px, 6vw, 84px) var(--reprise-section-gutter);
  border: 0;
}

body.marketplace-page .hero-copy {
  max-width: 590px;
}

body.marketplace-page h1 {
  max-width: 600px;
  font-size: clamp(46px, 5vw, 62px);
  line-height: .98;
  letter-spacing: -.045em;
}

.market-hero-stage {
  position: relative;
  min-height: 520px;
  display: grid;
  align-content: center;
  isolation: isolate;
}

.market-hero-record {
  position: relative;
  width: min(82%, 470px);
  aspect-ratio: 1;
  margin-left: 4%;
}

.market-hero-record.is-missing {
  width: min(78%, 440px);
}

.market-hero-record.is-missing .market-hero-photo {
  inset: 13% 9% 13% 2%;
  border-color: rgba(216, 183, 101, .28);
  background:
    linear-gradient(145deg, rgba(216, 183, 101, .12), transparent 50%),
    repeating-linear-gradient(0deg, rgba(238, 232, 216, .035) 0 1px, transparent 1px 5px),
    #12110f;
}

.market-hero-vinyl {
  position: absolute;
  inset: 4% -24% 4% 24%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: rgba(216, 183, 101, .75);
  background:
    radial-gradient(circle, #d8b765 0 8%, #161513 8.4% 10%, transparent 10.4%),
    repeating-radial-gradient(circle, #111 0 2px, #050505 3px 7px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
}

.market-hero-vinyl span {
  transform: translateX(21%);
  font-size: 11px;
  letter-spacing: .16em;
}

.market-hero-photo {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(238, 232, 216, .22);
  color: rgba(238, 232, 216, .58);
  background:
    linear-gradient(135deg, rgba(216, 183, 101, .14), transparent 42%),
    #161512;
  box-shadow: 24px 36px 90px rgba(0, 0, 0, .48);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11px;
  line-height: 1.7;
}

.market-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.market-hero-caption {
  position: relative;
  z-index: 2;
  width: min(76%, 440px);
  margin: -24px 0 0 auto;
  padding: 18px 22px;
  border-left: 2px solid var(--reprise-gold);
  background: rgba(7, 7, 6, .92);
}

.market-hero-caption span,
.market-hero-caption small {
  display: block;
  color: var(--reprise-gold);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .11em;
}

.market-hero-caption strong {
  display: block;
  margin: 7px 0;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.05;
}

body.marketplace-page .section {
  margin-top: clamp(90px, 10vw, 150px);
  padding: 34px var(--reprise-section-gutter) 54px;
  border-top-color: var(--reprise-line);
  background: rgba(14, 13, 11, .86);
}

body.marketplace-page .section-head h2 {
  font-size: clamp(30px, 3.2vw, 38px);
}

body.marketplace-page .dashboard {
  grid-template-columns: 1fr;
  gap: 54px;
}

body.marketplace-page .rail {
  border: 0;
  background: transparent;
}

body.marketplace-page .rail-title {
  padding: 0 0 14px;
  border-bottom-color: var(--reprise-line);
}

body.marketplace-page .mini-grid,
body.marketplace-page .listing-grid {
  gap: 24px 14px;
  padding: 18px 0 0;
}

body.marketplace-page .mini-grid {
  display: flex;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(216, 183, 101, .5) transparent;
}

body.marketplace-page .mini-grid .listing-card {
  flex: 0 0 clamp(220px, 22vw, 286px);
  scroll-snap-align: start;
}

body.marketplace-page .listing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 28px;
}

body.marketplace-page .listing-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
}

body.marketplace-page .listing-grid .listing-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  grid-template-rows: 1fr;
  min-height: 168px;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid rgba(216, 183, 101, .18);
}

body.marketplace-page .listing-card:hover {
  transform: translateY(-8px);
}

body.marketplace-page .listing-photo {
  aspect-ratio: 1;
  border: 1px solid rgba(238, 232, 216, .14);
  background:
    radial-gradient(circle at 58% 50%, #d8b765 0 7%, #171613 7.5% 10%, transparent 10.5%),
    repeating-radial-gradient(circle at 58% 50%, #151513 0 2px, #070706 3px 7px);
}

body.marketplace-page .listing-grid .listing-photo {
  width: 132px;
  align-self: start;
}

body.marketplace-page .listing-photo.is-photo-missing {
  display: grid;
  place-items: center;
  border-color: rgba(216, 183, 101, .2);
}

body.marketplace-page .missing-photo-copy {
  position: relative;
  z-index: 1;
  padding: 12px;
  color: rgba(238, 232, 216, .72);
  background: rgba(7, 7, 6, .74);
  font-size: 10px;
  line-height: 1.55;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
}

body.marketplace-page .listing-body {
  padding: 11px 0;
  background: transparent;
}

body.marketplace-page .listing-grid .listing-body {
  min-width: 0;
  padding: 0;
}

body.marketplace-page .listing-grid .listing-title {
  font-size: 17px;
}

body.marketplace-page .listing-grid .seller-line {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.marketplace-page .listing-title,
body.marketplace-page .listing-artist,
body.marketplace-page .listing-meta,
body.marketplace-page .seller-line {
  color: var(--reprise-paper);
}

body.marketplace-page .listing-meta,
body.marketplace-page .seller-line {
  color: rgba(238, 232, 216, .63);
}

body.marketplace-page .condition-pills {
  gap: 4px;
}

body.marketplace-page .filters {
  padding: 24px;
  border-left: 2px solid var(--reprise-gold);
  background: rgba(18, 17, 15, .78);
}

/* News — magazine hierarchy: lead image, asymmetric stories, compact vinyl rail. */
body.news-page .page {
  width: min(1380px, calc(100vw - 44px));
  padding-top: 34px;
}

body.news-page .news-hero,
body.news-page .news-section {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

html[data-theme="light"] body.news-page,
html[data-theme="light"] body.news-page .news-section,
html[data-theme="light"] body.news-page .news-grid,
html[data-theme="light"] body.news-page .vinyl-grid {
  background: var(--reprise-black);
  color: var(--reprise-paper);
}

body.news-page .news-hero {
  min-height: 620px;
  grid-template-columns: minmax(0, .72fr) minmax(480px, 1.28fr);
  gap: clamp(38px, 7vw, 100px);
  align-items: center;
  padding: clamp(36px, 5vw, 72px) var(--reprise-section-gutter);
}

body.news-page .news-hero h1 {
  max-width: 560px;
  font-size: clamp(46px, 5vw, 60px);
  line-height: .96;
  letter-spacing: -.05em;
}

body.news-page .news-hero p {
  max-width: 540px;
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 400;
  line-height: 1.45;
}

.news-hero-visual {
  min-height: 520px;
  background:
    linear-gradient(180deg, transparent 58%, rgba(7, 7, 6, .76)),
    var(--news-hero-image, linear-gradient(135deg, #1c1b17, #080807)) center / cover no-repeat;
  filter: saturate(.9) contrast(1.05);
  box-shadow: 24px 34px 80px rgba(0, 0, 0, .45);
}

body.news-page .news-section {
  margin-top: 72px;
  padding: 30px var(--reprise-section-gutter) 100px;
  border-top: 1px solid var(--reprise-line);
}

body.news-page .section-head h2 {
  font-size: clamp(30px, 3.2vw, 38px);
}

body.news-page .news-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 26px 18px;
}

body.news-page .article-card,
body.news-page .feature-card,
body.news-page .vinyl-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.news-page .article-card {
  grid-column: span 5;
  height: auto;
  min-width: 0;
  min-height: 460px;
  grid-template-rows: 270px auto;
}

body.news-page .article-card:first-child {
  grid-column: span 7;
  grid-template-rows: 430px auto;
}

body.news-page .article-card:nth-child(2) {
  grid-column: span 5;
}

body.news-page .article-card:nth-child(3) {
  grid-column: span 5;
}

body.news-page .article-card:nth-child(4) {
  grid-column: span 7;
}

body.news-page .article-body,
body.news-page .feature-body,
body.news-page .vinyl-body {
  padding: 18px 0;
  background: transparent;
}

body.news-page .article-body,
body.news-page .vinyl-body,
html[data-theme="light"] body.news-page .article-body,
html[data-theme="light"] body.news-page .vinyl-body {
  color: var(--reprise-paper);
  background: transparent;
}

body.news-page .article-body p,
body.news-page .article-body .source,
body.news-page .vinyl-body p,
body.news-page .vinyl-body .source,
html[data-theme="light"] body.news-page .article-body p,
html[data-theme="light"] body.news-page .article-body .source,
html[data-theme="light"] body.news-page .vinyl-body p,
html[data-theme="light"] body.news-page .vinyl-body .source {
  color: rgba(238, 232, 216, .66);
}

body.news-page .article-card h3,
body.news-page .feature-card h3,
body.news-page .vinyl-card h3 {
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -.025em;
}

body.news-page .article-card:first-child h3,
body.news-page .feature-card h3 {
  font-size: clamp(24px, 2.2vw, 30px);
}

body.news-page .vinyl-card h3 {
  font-size: clamp(19px, 1.55vw, 23px);
}

body.news-page .read-link {
  width: auto;
  justify-self: start;
  padding: 0 0 4px;
  border: 0;
  border-bottom: 1px solid var(--reprise-gold);
  border-radius: 0;
  background: transparent;
  color: var(--reprise-gold);
  text-align: left;
}

body.news-page .feature-card:empty {
  display: none;
}

body.news-page .feature-card {
  grid-template-columns: 1.15fr .85fr;
  height: auto;
  min-height: 420px;
  margin: 84px 0;
}

body.news-page .feature-body,
html[data-theme="light"] body.news-page .feature-body {
  align-content: center;
  padding: clamp(32px, 5vw, 72px);
  background: #151411;
  color: var(--reprise-paper);
}

body.news-page .feature-body p,
body.news-page .feature-body .source,
html[data-theme="light"] body.news-page .feature-body p,
html[data-theme="light"] body.news-page .feature-body .source {
  color: rgba(238, 232, 216, .66);
}

body.news-page .vinyl-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

body.news-page .vinyl-card {
  grid-template-columns: 1fr;
  grid-template-rows: 220px auto;
  height: auto;
  min-height: 390px;
}

body.news-page .vinyl-grid:empty {
  display: none;
}

@media (max-width: 900px) {
  body.library-page,
  body.marketplace-page,
  body.news-page {
    --reprise-section-gutter: var(--reprise-content-gutter);
  }

  body.library-page .exb-entree,
  body.library-page .workspace,
  body.marketplace-page .market-shell,
  body.news-page .page {
    width: min(100% - 24px, 1380px);
  }

  body.library-page .search-panel,
  body.marketplace-page .hero,
  body.news-page .news-hero {
    grid-template-columns: 1fr;
  }

  body.library-page .artist-stage {
    min-height: 220px;
  }

  body.library-page .artist-stage-route {
    position: static;
    width: 100%;
    margin-top: 28px;
  }

  body.library-page .search-form {
    min-height: 62px;
    box-shadow: none;
  }

  body.library-page .exb-planche {
    transform: none;
  }

  body.marketplace-page .hero {
    min-height: 0;
    padding: 40px var(--reprise-section-gutter) 70px;
  }

  body.news-page .news-hero {
    min-height: 0;
    padding: 40px var(--reprise-section-gutter) 70px;
  }

  .market-hero-stage,
  .news-hero-visual {
    min-height: 360px;
  }

  body.marketplace-page .mini-grid,
  body.news-page .vinyl-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.marketplace-page .listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.news-page .news-grid {
    grid-template-columns: 1fr;
  }

  body.news-page .article-card,
  body.news-page .article-card:first-child,
  body.news-page .article-card:nth-child(2),
  body.news-page .article-card:nth-child(3),
  body.news-page .article-card:nth-child(4) {
    grid-column: auto;
    grid-column-start: auto;
    min-height: 0;
    grid-template-rows: 250px auto;
  }

  body.news-page .feature-card {
    grid-template-columns: 1fr;
    margin: 72px 0;
  }
}

@media (max-width: 520px) {
  body.library-page .exb-entree {
    --reprise-hero-gutter: var(--reprise-content-gutter);
    padding: 22px var(--reprise-hero-gutter) 0;
  }

  body.library-page .hero {
    padding-bottom: 18px;
  }

  body.library-page .artist-stage {
    min-height: 0;
    height: auto;
    padding: 24px 18px 30px;
  }

  body.library-page #artist-stage:not([data-has-artist]) {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 18px;
  }

  body.library-page #artist-stage:not([data-has-artist]) .artist-stage-copy,
  body.library-page #artist-stage:not([data-has-artist]) .artist-stage-route,
  body.library-page #artist-stage:not([data-has-artist]) .artist-discovery {
    grid-column: 1;
  }

  body.library-page #artist-stage:not([data-has-artist]) .artist-stage-route {
    width: auto;
    margin-top: 0;
  }

  body.library-page .artist-stage h2 {
    font-size: 36px;
  }

  body.library-page .artist-stage-copy {
    padding-inline-start: var(--reprise-section-gutter);
  }

  body.library-page .artist-stage-route {
    margin-inline-end: var(--reprise-section-gutter);
  }

  body.library-page .artist-discovery {
    display: flex;
    gap: 10px;
    min-height: 0;
    margin: 38px -18px 0;
    padding: 0 18px 8px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }

  body.library-page .artist-discovery::-webkit-scrollbar {
    display: none;
  }

  body.library-page .artist-pick.is-primary {
    flex: 0 0 82vw;
    min-height: 350px;
    scroll-snap-align: start;
  }

  body.library-page .artist-pick.is-secondary {
    flex: 0 0 68vw;
    min-height: 190px;
    padding: 22px;
    border-top: 1px solid rgba(216, 183, 101, .34);
    background: rgba(12, 12, 10, .76);
    scroll-snap-align: start;
  }

  body.library-page .artist-pick.is-secondary .artist-pick-copy {
    padding: 0;
  }

  body.library-page .base-title,
  body.marketplace-page h1,
  body.news-page .news-hero h1 {
    font-size: 42px;
  }

  body.library-page .search-guide {
    display: none;
  }

  body.library-page .exb-planche {
    width: calc(100% + var(--reprise-hero-gutter) + var(--reprise-hero-gutter));
    margin: 28px calc(0px - var(--reprise-hero-gutter)) 0;
    padding: 16px var(--reprise-hero-gutter) 18px;
    background: rgba(5, 5, 5, .42);
  }

  body.library-page .exb-planche-maitre {
    display: none;
  }

  body.library-page .exb-bande-vues .exb-vue:first-child {
    display: block;
  }

  body.library-page .exb-bande-vues .exb-vue {
    flex-basis: 132px;
    width: 132px;
  }

  body.marketplace-page .mini-grid,
  body.news-page .vinyl-grid {
    grid-template-columns: 1fr;
  }

  body.news-page .vinyl-grid {
    display: flex;
    gap: 12px;
    margin-inline: -18px;
    padding-inline: 18px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }

  body.news-page .vinyl-grid::-webkit-scrollbar {
    display: none;
  }

  body.news-page .vinyl-card {
    flex: 0 0 78vw;
    scroll-snap-align: start;
  }

  body.marketplace-page .listing-grid {
    display: flex;
    gap: 12px;
    margin-inline: -18px;
    padding: 18px 18px 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }

  body.marketplace-page .listing-grid .listing-card {
    flex: 0 0 82vw;
    grid-template-columns: 112px minmax(0, 1fr);
    min-height: 142px;
    gap: 14px;
    scroll-snap-align: start;
  }

  body.marketplace-page .listing-grid::-webkit-scrollbar {
    display: none;
  }

  body.marketplace-page .listing-grid .listing-photo {
    width: 112px;
  }

  body.marketplace-page .listing-card:not(.is-compact) .condition-pills {
    display: none;
  }

  .market-hero-stage,
  .news-hero-visual {
    min-height: 300px;
  }

  .market-hero-record {
    width: 78%;
  }

  body.news-page .article-card,
  body.news-page .article-card:first-child {
    grid-template-rows: 210px auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.library-page .artist-pick img {
    transition: none;
  }

  body.marketplace-page .listing-card {
    transition: none;
  }
}

/* Collection — a personal crate led by owned records, not by management panels. */
body.collection-page {
  --reprise-section-gutter: var(--reprise-content-gutter);
  background-color: var(--reprise-black);
}

body.collection-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .07;
  background-image: url("/brand/grain.svg");
  mix-blend-mode: screen;
}

body.collection-page .collection-shell {
  width: min(1380px, calc(100vw - 44px));
  gap: 0;
  padding-top: 34px;
}

body.collection-page .collection-head,
body.collection-page .metrics,
body.collection-page .collection-board,
body.collection-page .wishlist-panel {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.collection-page .collection-head {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(340px, .78fr) minmax(560px, 1.22fr);
  align-items: center;
  gap: clamp(36px, 6vw, 96px);
  min-height: 520px;
  padding: clamp(38px, 5vw, 74px) var(--reprise-section-gutter);
  overflow: hidden;
  background-color: #050505;
}

body.collection-page .collection-head::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(4, 4, 4, .97) 0%, rgba(4, 4, 4, .9) 28%, rgba(4, 4, 4, .52) 51%, rgba(4, 4, 4, .16) 76%, rgba(4, 4, 4, .42) 100%),
    linear-gradient(180deg, rgba(4, 4, 4, .18), rgba(4, 4, 4, .08) 58%, rgba(4, 4, 4, .62)),
    url("/assets/exkave-collection-hifi-hero-v1.webp") center / cover no-repeat;
  pointer-events: none;
}

body.collection-page .collection-head::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-block: 1px solid rgba(216, 183, 101, .2);
  background: radial-gradient(circle at 78% 42%, transparent 0 24%, rgba(0, 0, 0, .18) 68%, rgba(0, 0, 0, .48) 100%);
  pointer-events: none;
}

body.collection-page .collection-head-copy {
  position: relative;
  z-index: 3;
  align-self: center;
}

body.collection-page .collection-head h1 {
  max-width: 620px;
  font-size: clamp(46px, 5vw, 62px);
  line-height: .96;
  letter-spacing: -.045em;
  font-weight: 400;
}

body.collection-page .head-copy {
  max-width: 520px;
  margin-top: 22px;
  font-size: clamp(16px, 1.3vw, 19px);
  font-weight: 400;
  line-height: 1.55;
}

body.collection-page .member-pill {
  min-height: auto;
  margin-top: 28px;
  padding: 0 0 5px;
  border: 0;
  border-bottom: 1px solid var(--reprise-gold);
  border-radius: 0;
  background: transparent;
  font-weight: 400;
}

body.collection-page .member-pill::before {
  display: none;
}

body.collection-page .collection-head-stage {
  position: relative;
  z-index: 2;
  min-height: 520px;
  isolation: isolate;
}

body.collection-page .collection-head-record {
  position: absolute;
  display: block;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #090909;
  box-shadow: 22px 28px 70px rgba(0, 0, 0, .62);
  transition: transform .45s cubic-bezier(.2, .75, .25, 1), filter .45s ease;
}

body.collection-page .collection-head-record:hover,
body.collection-page .collection-head-record:focus-visible {
  z-index: 5;
  filter: saturate(1.08);
}

body.collection-page .collection-head-record-1 {
  top: 4%;
  left: 5%;
  width: min(27vw, 370px);
  aspect-ratio: 1;
  z-index: 3;
  transform: rotate(-2.5deg);
}

body.collection-page .collection-head-record-1:hover,
body.collection-page .collection-head-record-1:focus-visible {
  transform: rotate(-1deg) translateY(-8px);
}

body.collection-page .collection-head-record-2,
body.collection-page .collection-head-record-3 {
  width: min(15vw, 210px);
  aspect-ratio: 1;
  z-index: 2;
}

body.collection-page .collection-head-record-2 {
  right: 0;
  top: 17%;
  transform: rotate(5deg);
}

body.collection-page .collection-head-record-3 {
  right: 10%;
  bottom: 1%;
  transform: rotate(-4deg);
}

body.collection-page .collection-head-record-2:hover,
body.collection-page .collection-head-record-2:focus-visible,
body.collection-page .collection-head-record-3:hover,
body.collection-page .collection-head-record-3:focus-visible {
  transform: rotate(0) translateY(-7px);
}

body.collection-page .collection-head-cover,
body.collection-page .collection-head-cover > .cover-art {
  display: block;
  width: 100%;
  height: 100%;
}

body.collection-page .collection-head-cover .collection-cover-temp-badge {
  right: 12px;
  bottom: 12px;
  left: 12px;
}

body.collection-page .collection-head-caption {
  position: absolute;
  right: 1%;
  bottom: 7%;
  z-index: 6;
  display: grid;
  width: min(320px, 42%);
  gap: 4px;
  padding: 18px 20px;
  border-left: 2px solid var(--reprise-gold);
  background: rgba(7, 7, 6, .86);
  backdrop-filter: blur(14px);
}

body.collection-page .collection-head-caption span {
  color: var(--reprise-gold);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body.collection-page .collection-head-caption strong {
  color: var(--reprise-paper);
  font-size: 20px;
  font-weight: 400;
}

body.collection-page .collection-head-caption small {
  color: rgba(238, 232, 216, .66);
  font-size: 12px;
}

body.collection-page .collection-head-empty {
  position: absolute;
  inset: 20% 8%;
  display: grid;
  place-content: center;
  gap: 8px;
  border-block: 1px solid var(--reprise-line);
  color: rgba(238, 232, 216, .66);
  text-align: center;
}

body.collection-page .collection-head-empty strong {
  color: var(--reprise-paper);
  font-size: 24px;
}

body.collection-page .metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 10px var(--reprise-section-gutter) 0;
  border-block: 1px solid var(--reprise-line);
}

body.collection-page .metric {
  min-height: 104px;
  border-right: 1px solid var(--reprise-line);
  padding: 22px clamp(12px, 2vw, 30px);
}

body.collection-page .metric:last-child {
  border-right: 0;
}

body.collection-page .metric i {
  display: none;
}

body.collection-page .metric strong {
  color: var(--reprise-gold);
  font-size: clamp(25px, 2.5vw, 36px);
  font-weight: 400;
}

body.collection-page .metric span {
  color: rgba(238, 232, 216, .62);
  font-size: 12px;
  font-weight: 400;
}

body.collection-page .collection-toolbar {
  z-index: 8;
  margin: 48px var(--reprise-section-gutter) 0;
  padding: 0 0 22px;
  border: 0;
  border-bottom: 1px solid var(--reprise-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.collection-page .collection-toolbar .search-field {
  min-height: 58px;
  border: 1px solid rgba(216, 183, 101, .3);
  background: rgba(7, 7, 6, .7);
}

body.collection-page .collection-toolbar .search-field > span:first-child {
  font-size: 24px;
  line-height: 1;
}

body.collection-page .collection-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin-top: 0;
}

body.collection-page .collection-board,
body.collection-page .wishlist-panel {
  width: 100%;
  min-width: 0;
  padding: 72px var(--reprise-section-gutter) 94px;
  border-bottom: 1px solid var(--reprise-line);
}

body.collection-page .collection-board {
  grid-template-columns: minmax(0, 1fr);
  overflow: clip;
  border: 1px solid rgba(216, 183, 101, .22);
  border-radius: 22px;
  background-color: #0b0b0a;
  background-image: linear-gradient(145deg, #121210 0%, #0b0b0a 58%, #080808 100%);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255, 253, 247, .025);
}

body.collection-page .category-form {
  max-width: 680px;
  margin: 0 0 40px;
  padding: 0 0 0 18px;
  border: 0;
  border-left: 2px solid var(--reprise-gold);
  border-radius: 0;
  background: transparent;
}

body.collection-page .category-form > div {
  grid-template-columns: minmax(0, 1fr) auto;
}

html body.collection-page .category-form button[type="submit"] {
  min-width: 172px;
  padding-inline: 22px;
  border: 1px solid #e3c56f !important;
  background: linear-gradient(135deg, #f1d77f, #b98b2e) !important;
  color: #090806 !important;
  box-shadow: 0 12px 32px rgba(185, 139, 46, .2) !important;
  white-space: nowrap;
}

body.collection-page .crate-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0 0 18px;
  overflow: visible;
  scrollbar-width: none;
  width: 100%;
  max-width: 100%;
}

body.collection-page .crate-row::-webkit-scrollbar,
body.collection-page .album-strip::-webkit-scrollbar,
body.collection-page .wishlist-list::-webkit-scrollbar {
  display: none;
}

body.collection-page .crate {
  flex: 1 1 clamp(172px, calc((100% - 32px) / 5), 240px);
  width: auto;
  min-width: 172px;
  max-width: 240px;
  min-height: 84px;
  border: 0;
  border-top: 1px solid rgba(216, 183, 101, .28);
  border-radius: 0;
  background: linear-gradient(180deg, rgba(216, 183, 101, .045), transparent 72%);
  box-shadow: none;
}

body.collection-page .crate strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  -webkit-line-clamp: unset;
}

@media (min-width: 521px) and (max-width: 900px) {
  body.collection-page .crate {
    flex: 0 1 calc((100% - 16px) / 3);
    width: calc((100% - 16px) / 3);
    min-width: 0;
    max-width: calc((100% - 16px) / 3);
  }
}

body.collection-page .crate.is-active {
  border-color: var(--reprise-gold);
  background: linear-gradient(180deg, rgba(216, 183, 101, .12), transparent);
}

body.collection-page .crate-open {
  min-height: 64px;
  padding: 10px 8px;
}

body.collection-page .crate-icon {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
}

body.collection-page .crate-actions {
  opacity: .28;
  transition: opacity .25s ease;
}

body.collection-page .crate:hover .crate-actions,
body.collection-page .crate:focus-within .crate-actions {
  opacity: 1;
}

body.collection-page .crate-drawer {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin-top: 42px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

body.collection-page .drawer-title {
  font-size: clamp(30px, 3.2vw, 38px);
  font-weight: 400;
}

body.collection-page .drawer-title span {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 400;
}

body.collection-page .album-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(176px, 1fr));
  align-items: start;
  gap: clamp(24px, 2.4vw, 38px) clamp(16px, 1.8vw, 28px);
  width: 100%;
  max-width: 100%;
  margin: 34px 0 0;
  padding: 0;
  overflow: visible;
}

body.collection-page .album-card {
  width: 100%;
  min-width: 0;
  height: auto;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: transform .35s cubic-bezier(.2, .75, .25, 1);
}

body.collection-page .album-card:hover,
body.collection-page .album-card:focus-within {
  transform: translateY(-8px);
}

body.collection-page .album-card-open {
  display: grid;
  grid-template-rows: auto auto;
  height: auto;
}

html body.collection-page button.album-card-open {
  border-color: transparent !important;
  background: transparent !important;
  color: var(--reprise-paper) !important;
  box-shadow: none !important;
}

body.collection-page .album-cover {
  aspect-ratio: 1;
  min-height: 0;
  border: 1px solid rgba(216, 183, 101, .28);
  border-radius: 0;
  box-shadow: 0 18px 38px rgba(0, 0, 0, .34), 0 2px 0 rgba(216, 183, 101, .16);
}

body.collection-page .album-info {
  gap: 4px;
  padding: 14px 0 0;
  background: linear-gradient(180deg, rgba(216, 183, 101, .045), transparent 70%);
  color: var(--reprise-paper);
  text-shadow: none;
}

body.collection-page .album-info strong {
  color: var(--reprise-paper);
  font-size: 17px;
  font-weight: 400;
  overflow-wrap: anywhere;
}

body.collection-page .album-info,
body.collection-page .album-info span {
  min-width: 0;
  overflow-wrap: anywhere;
}

body.collection-page .album-info span,
body.collection-page .album-artist {
  color: rgba(238, 232, 216, .66) !important;
  font-weight: 400;
}

body.collection-page .pressing-tag {
  min-height: 0;
  border: 0;
  border-radius: 0;
  padding: 0 8px 0 0;
  background: transparent;
  color: var(--reprise-gold) !important;
  font-weight: 400;
}

body.collection-page .pressing-code,
body.collection-page .pressing-runout {
  color: rgba(238, 232, 216, .52) !important;
  font-weight: 400;
}

body.collection-page .album-remove {
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(216, 183, 101, .45);
  background: rgba(7, 7, 6, .82);
  color: var(--reprise-paper);
}

body.collection-page .collection-pagination {
  display: grid;
  grid-template-columns: auto auto minmax(110px, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-top: clamp(36px, 5vw, 64px);
  padding-top: 22px;
  border-top: 1px solid var(--reprise-line);
}

body.collection-page .collection-pagination[hidden] {
  display: none;
}

body.collection-page .collection-page-numbers {
  display: flex;
  align-items: center;
  gap: 7px;
}

html body.collection-page .collection-page-button {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid rgba(216, 183, 101, .42) !important;
  border-radius: 999px;
  background: rgba(7, 7, 6, .72) !important;
  color: var(--reprise-gold) !important;
  box-shadow: none !important;
  font: 400 13px/1 var(--mono, monospace);
}

html body.collection-page .collection-page-button:hover,
html body.collection-page .collection-page-button:focus-visible,
html body.collection-page .collection-page-button.is-current {
  border-color: var(--reprise-gold) !important;
  background: var(--reprise-gold) !important;
  color: #080806 !important;
}

html body.collection-page .collection-page-button[disabled] {
  opacity: .32;
  cursor: default;
}

body.collection-page .collection-page-status {
  justify-self: end;
  color: rgba(238, 232, 216, .62);
  font: 400 12px/1.2 var(--mono, monospace);
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.collection-page .collection-page-ellipsis {
  color: rgba(238, 232, 216, .5);
}

body.collection-page .wishlist-panel {
  margin-top: 0;
  background: #11100e;
}

body.collection-page .wishlist-panel h2 {
  font-size: clamp(30px, 3.2vw, 38px);
  font-weight: 400;
}

body.collection-page .wishlist-list {
  display: flex;
  gap: 18px;
  margin: 32px calc(0px - var(--reprise-section-gutter)) 0;
  padding: 0 var(--reprise-section-gutter) 20px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline proximity;
  scrollbar-width: none;
  width: calc(100% + var(--reprise-section-gutter) + var(--reprise-section-gutter));
  max-width: none;
}

body.collection-page #wishlistList > .empty-state {
  box-sizing: border-box;
  padding-inline: 10px;
}

body.collection-page .wish-item {
  flex: 0 0 clamp(220px, 20vw, 300px);
  display: grid;
  grid-template-columns: 1fr;
  scroll-snap-align: start;
  border: 0;
  border-radius: 0;
  background: transparent;
}

body.collection-page .wish-cover {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 0;
}

body.collection-page .wishlist-action {
  width: auto;
  margin-top: 28px;
  padding: 0 0 5px;
  border: 0;
  border-bottom: 1px solid var(--reprise-gold);
  border-radius: 13px;
  background: transparent;
  color: var(--reprise-gold);
}

@media (max-width: 900px) {
  body.collection-page .collection-shell {
    width: min(100% - 24px, 1380px);
  }

  body.collection-page .collection-head {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 26px;
    padding: 42px 18px 18px;
  }

  body.collection-page .collection-head-stage {
    min-height: 460px;
  }

  body.collection-page .collection-head-record-1 {
    width: min(60vw, 370px);
  }

  body.collection-page .collection-head-record-2,
  body.collection-page .collection-head-record-3 {
    width: min(30vw, 180px);
  }

  body.collection-page .collection-stage {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  body.collection-page {
    --reprise-section-gutter: var(--reprise-content-gutter);
  }

  body.collection-page .collection-head h1 {
    font-size: 43px;
  }

  body.collection-page .head-copy {
    font-size: 16px;
  }

  body.collection-page .collection-head-stage {
    min-height: 350px;
  }

  body.collection-page .collection-head-record-1 {
    top: 2%;
    left: 0;
    width: 70vw;
  }

  body.collection-page .collection-head-record-2 {
    top: 8%;
    right: -8%;
    width: 33vw;
  }

  body.collection-page .collection-head-record-3 {
    right: 0;
    bottom: 2%;
    width: 30vw;
  }

  body.collection-page .collection-head-caption {
    right: 0;
    bottom: 4%;
    width: 58%;
    padding: 12px 14px;
  }

  body.collection-page .collection-head-caption strong {
    font-size: 16px;
  }

  body.collection-page .metrics {
    display: flex;
    margin-inline: 16px;
    overflow-x: auto;
    scroll-snap-type: inline mandatory;
  }

  body.collection-page .metric {
    flex: 0 0 52vw;
    min-height: 90px;
    scroll-snap-align: start;
  }

  body.collection-page .collection-toolbar {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  body.collection-page .collection-board,
  body.collection-page .wishlist-panel {
    padding-block: 52px 68px;
  }

  body.collection-page .collection-board {
    border-radius: 16px;
  }

  body.collection-page .category-form > div {
    grid-template-columns: 1fr;
  }

  html body.collection-page .category-form button[type="submit"] {
    width: 100%;
  }

  body.collection-page .category-form {
    margin-bottom: 30px;
  }

  body.collection-page .crate {
    flex-basis: calc(50% - 4px);
    width: calc(50% - 4px);
    min-width: 0;
    max-width: calc(50% - 4px);
  }

  body.collection-page .drawer-head {
    align-items: flex-start;
    gap: 18px;
  }

  body.collection-page .drawer-tools {
    width: 100%;
  }

  body.collection-page .album-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 14px;
  }

  body.collection-page .collection-pagination {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  body.collection-page .collection-page-numbers {
    grid-column: 2;
    grid-row: 1;
    justify-content: center;
  }

  body.collection-page .collection-page-arrow:first-child {
    grid-column: 1;
    grid-row: 1;
  }

  body.collection-page .collection-page-arrow:last-child {
    grid-column: 3;
    grid-row: 1;
  }

  body.collection-page .collection-page-status {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
  }

  body.collection-page .wish-item {
    flex-basis: 72vw;
  }
}

@media (max-width: 340px) {
  body.collection-page .album-strip {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.collection-page .collection-head-record,
  body.collection-page .album-card {
    transition: none;
  }
}

/* Guide — a visual field manual, composed around physical evidence. */
body.guide-page {
  --reprise-section-gutter: var(--reprise-content-gutter);
  background-color: var(--reprise-black);
  overflow-x: clip;
}

body.guide-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .07;
  background-image: url("/brand/grain.svg");
  mix-blend-mode: screen;
}

body.guide-page > .wrap {
  width: min(1380px, calc(100vw - 44px));
  padding-top: 34px;
}

body.guide-page .product-mark {
  display: none;
}

body.guide-page .hero {
  display: grid;
  grid-template-columns: minmax(360px, .76fr) minmax(560px, 1.24fr);
  gap: clamp(38px, 6vw, 90px);
  align-items: center;
  min-height: 680px;
  padding: clamp(40px, 5vw, 72px) var(--reprise-section-gutter);
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.guide-page .hero-copy,
body.guide-page .mission-card,
body.guide-page .panel,
body.guide-page .quick-nav,
body.guide-page .term-card,
body.guide-page .step-card,
body.guide-page .myth-card {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none;
}

body.guide-page .hero-copy {
  min-height: 0;
  padding: 0;
  overflow: visible;
}

body.guide-page .hero-copy::before {
  display: none;
}

body.guide-page .hero h1 {
  max-width: 600px;
  margin-top: 12px;
  font-size: clamp(46px, 5vw, 62px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.045em;
}

body.guide-page .hero .lead {
  max-width: 570px;
  margin-top: 24px;
  font-size: clamp(16px, 1.35vw, 19px);
  font-weight: 400;
  line-height: 1.55;
}

body.guide-page .hero-actions {
  justify-content: flex-start;
  margin-top: 30px;
}

html body.guide-page .hero-actions .btn {
  min-height: auto;
  padding: 0 0 5px;
  border: 0 !important;
  border-bottom: 1px solid rgba(216, 183, 101, .48) !important;
  border-radius: 0;
  background: transparent !important;
  color: rgba(238, 232, 216, .72) !important;
  box-shadow: none !important;
  font-weight: 400;
}

html body.guide-page .hero-actions .btn.primary {
  color: var(--reprise-gold) !important;
  border-bottom-color: var(--reprise-gold) !important;
}

body.guide-page .mission-card {
  position: relative;
  display: flex;
  min-height: 600px;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(28px, 4vw, 54px);
  overflow: hidden;
  isolation: isolate;
  color: var(--reprise-paper);
}

body.guide-page .guide-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: #11100e;
}

body.guide-page .guide-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 6, 5, .18), rgba(6, 6, 5, .52) 48%, rgba(6, 6, 5, .97) 88%);
}

body.guide-page .guide-hero-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(.82) contrast(1.08);
  transform: scale(1.04);
}

body.guide-page .mission-card h2 {
  max-width: 520px;
  margin: 6px 0 12px;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.04;
}

body.guide-page .mission-card > p {
  max-width: 580px;
  color: rgba(238, 232, 216, .72);
  font-size: 15px;
}

body.guide-page .score-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 24px;
  border-block: 1px solid rgba(216, 183, 101, .35);
}

body.guide-page .score {
  padding: 15px 10px;
  border: 0;
  border-right: 1px solid rgba(216, 183, 101, .22);
  background: transparent;
}

body.guide-page .score:last-child {
  border-right: 0;
}

body.guide-page .score strong {
  font-size: 25px;
  font-weight: 400;
}

body.guide-page .score span {
  font-size: 10px;
}

body.guide-page .quick-nav {
  gap: 8px 18px;
  margin-top: 22px;
  padding: 0;
}

body.guide-page .quick-nav a {
  padding: 0 0 3px;
  border: 0;
  border-bottom: 1px solid rgba(238, 232, 216, .32);
  border-radius: 0;
  background: transparent;
  color: rgba(238, 232, 216, .74);
  font-weight: 400;
}

body.guide-page .section {
  margin-top: clamp(110px, 12vw, 180px);
  padding: 64px var(--reprise-section-gutter) 40px;
  border: 0 !important;
  border-top: 1px solid var(--reprise-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.guide-page .steps,
body.guide-page .diagram-grid,
body.guide-page .label-demo,
body.guide-page .term-grid,
body.guide-page .myth-grid {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.guide-page .section-head {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(360px, 1.14fr);
  gap: clamp(30px, 7vw, 110px);
  align-items: start;
  margin-bottom: clamp(44px, 6vw, 84px);
}

body.guide-page .section-head h2 {
  max-width: 620px;
  font-size: clamp(30px, 3.3vw, 40px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.035em;
}

body.guide-page .section-head > p {
  max-width: 600px;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
}

body.guide-page .steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

body.guide-page .step-card {
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 22px;
  min-height: 230px;
  padding: 24px 8px 20px 0;
  border-top: 1px solid rgba(216, 183, 101, .36);
}

body.guide-page .step-num {
  width: auto;
  height: auto;
  place-items: initial;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  color: var(--reprise-gold);
  font-size: 34px;
  font-weight: 400;
}

body.guide-page .step-card strong,
body.guide-page .term-card strong,
body.guide-page .myth-card strong {
  color: var(--reprise-paper);
  font-size: 19px;
  font-weight: 400;
}

body.guide-page .step-card p,
body.guide-page .term-card p,
body.guide-page .myth-card p {
  color: rgba(238, 232, 216, .66);
  font-weight: 400;
  line-height: 1.5;
}

body.guide-page .diagram-grid {
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, .5fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
}

body.guide-page .record-demo {
  min-height: 720px;
  padding: 0;
  overflow: visible;
}

body.guide-page .record-demo .vinyl {
  width: min(56vw, 690px);
  max-width: 100%;
  box-shadow: 34px 44px 100px rgba(0, 0, 0, .68);
}

body.guide-page .record-demo .callout {
  max-width: 300px;
  padding: 16px 18px;
  border: 0;
  border-left: 2px solid var(--reprise-gold);
  border-radius: 0;
  background: rgba(7, 7, 6, .86);
  backdrop-filter: blur(12px);
}

body.guide-page .diagram-grid > .panel:not(.record-demo) {
  padding: 28px 0 28px 28px;
  border-left: 1px solid var(--reprise-line);
  background: transparent !important;
}

body.guide-page .diagram-grid > .panel:not(.record-demo) h3 {
  margin-top: 16px;
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 400;
}

body.guide-page .legend-list {
  gap: 0;
  margin-top: 28px;
}

body.guide-page .legend-list > div {
  padding: 18px 0;
  border: 0;
  border-top: 1px solid rgba(216, 183, 101, .24);
  border-radius: 0;
  background: transparent;
}

body.guide-page .label-demo {
  grid-template-columns: minmax(480px, 1.15fr) minmax(360px, .85fr);
  gap: clamp(44px, 7vw, 110px);
  align-items: center;
  padding: 0;
}

body.guide-page .paper-label {
  width: min(48vw, 620px);
  box-shadow: 28px 38px 90px rgba(0, 0, 0, .58);
}

body.guide-page .term-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 24px;
}

body.guide-page .term-card {
  min-height: 170px;
  padding: 22px 0;
  border-top: 1px solid rgba(216, 183, 101, .28);
  background: transparent !important;
}

body.guide-page .myth-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 24px;
}

body.guide-page .myth-card,
body.guide-page .myth-card.good {
  min-height: 180px;
  padding: 24px 0;
  border-top: 1px solid rgba(216, 183, 101, .28);
  background: transparent !important;
}

@media (max-width: 900px) {
  body.guide-page > .wrap {
    width: min(100% - 24px, 1380px);
  }

  body.guide-page .hero,
  body.guide-page .section-head,
  body.guide-page .diagram-grid,
  body.guide-page .label-demo {
    grid-template-columns: 1fr;
  }

  body.guide-page .hero {
    min-height: 0;
    padding: 42px 18px 20px;
  }

  body.guide-page .mission-card {
    min-height: 560px;
  }

  body.guide-page .steps,
  body.guide-page .term-grid,
  body.guide-page .myth-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.guide-page .paper-label,
  body.guide-page .record-demo .vinyl {
    width: min(82vw, 640px);
    margin-inline: auto;
  }
}

@media (max-width: 520px) {
  body.guide-page {
    --reprise-section-gutter: var(--reprise-content-gutter);
  }

  body.guide-page .hero h1 {
    font-size: 43px;
  }

  body.guide-page .hero-actions {
    display: flex;
    gap: 10px 18px;
    overflow: visible;
    padding-bottom: 6px;
    flex-wrap: wrap;
  }

  body.guide-page .hero-actions .btn {
    flex: 0 0 auto;
  }

  body.guide-page .mission-card {
    min-height: 500px;
    padding: 24px 20px;
  }

  body.guide-page .score-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.guide-page .score:nth-child(2) {
    border-right: 0;
  }

  body.guide-page .section {
    margin-top: 100px;
    padding-top: 46px;
  }

  body.guide-page .section-head {
    margin-bottom: 42px;
  }

  body.guide-page .section-head h2 {
    font-size: 32px;
  }

  body.guide-page .steps,
  body.guide-page .term-grid,
  body.guide-page .myth-grid {
    grid-template-columns: 1fr;
  }

  body.guide-page .step-card,
  body.guide-page .term-card,
  body.guide-page .myth-card,
  body.guide-page .myth-card.good {
    min-height: 0;
  }

  body.guide-page .record-demo {
    min-height: 620px;
  }

  body.guide-page .record-demo .vinyl,
  body.guide-page .paper-label {
    width: 100%;
  }

  body.guide-page .record-demo .callout {
    max-width: 78%;
  }

  body.guide-page .diagram-grid > .panel:not(.record-demo) {
    padding-left: 18px;
  }
}

/* Profile — a member space with identity, preferences and activity. */
body.profile-page,
body.payment-page {
  --reprise-section-gutter: var(--reprise-content-gutter);
  background-color: var(--reprise-black);
  overflow-x: clip;
}

body.profile-page .exkave-depth-far,
body.profile-page .exkave-depth-near,
body.payment-page .exkave-depth-far,
body.payment-page .exkave-depth-near {
  opacity: .14 !important;
}

body.profile-page :is(.hero, .card, .panel),
body.payment-page :is(.hero, .card, .panel) {
  translate: 0 !important;
  opacity: 1 !important;
  filter: none !important;
  visibility: visible !important;
}

body.profile-page > .wrap,
body.payment-page > .wrap {
  width: min(1380px, calc(100vw - 44px));
  padding-top: 30px;
}

html[data-exkave-theme] body.profile-page main.wrap .hero,
html[data-theme] body.profile-page main.wrap .hero,
body.profile-page main.wrap .hero {
  position: relative;
  min-height: 408px;
  margin: 0 0 64px;
  padding: 64px var(--reprise-section-gutter);
  overflow: hidden;
  border: 1px solid rgba(216,183,101,.24) !important;
  border-radius: 30px !important;
  background:
    linear-gradient(90deg, rgba(5,5,5,.98) 0%, rgba(5,5,5,.86) 38%, rgba(5,5,5,.34) 70%, rgba(5,5,5,.12) 100%),
    url("/assets/exkave-collection-hifi-hero-v1.webp") center 46% / cover no-repeat !important;
  box-shadow: 0 28px 72px rgba(0,0,0,.38) !important;
}

body.profile-page .hero::before,
body.profile-page .hero::after {
  content: none;
  display: none;
}

html[data-exkave-theme] body.profile-page main.wrap .hero::before,
html[data-theme] body.profile-page main.wrap .hero::before,
body.profile-page main.wrap .hero::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0 auto 0 0;
  width: min(760px, 70%);
  background: linear-gradient(90deg, rgba(3,3,3,.96) 0%, rgba(3,3,3,.82) 58%, rgba(3,3,3,.18) 100%) !important;
  pointer-events: none;
}

body.profile-page .hero::after {
  right: calc(9% + 146px);
  top: 170px;
  width: 68px;
  aspect-ratio: 1;
  border: 1px solid var(--reprise-gold);
  background: rgba(216,183,101,.12);
}

body.profile-page .hero h1 {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 12px 0 22px;
  font-size: clamp(52px, 6vw, 68px);
  font-weight: 400;
  line-height: .96;
  letter-spacing: -.055em;
}

body.profile-page .hero .lead {
  position: relative;
  z-index: 1;
  max-width: 620px;
  color: rgba(238,232,216,.68);
  font-size: 18px;
  line-height: 1.55;
}

body.profile-page .profile-hero-object {
  display: none;
}

body.profile-page .profile-hero-disc {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(216,183,101,.42);
  border-radius: 50%;
  background: repeating-radial-gradient(circle, #0a0a09 0 5px, #12110f 6px 7px);
  box-shadow: 0 34px 70px rgba(0,0,0,.48), inset 0 0 0 120px rgba(7,7,6,.32);
}

body.profile-page .profile-hero-disc b {
  display: grid;
  width: 76px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--reprise-gold);
  border-radius: 50%;
  background: #17140e;
  color: var(--reprise-paper);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: .06em;
}

body.profile-page .profile-hero-object small {
  position: absolute;
  right: 0;
  bottom: 20px;
  padding-top: 8px;
  border-top: 1px solid var(--reprise-gold);
  color: var(--reprise-gold);
  font-size: 10px;
  letter-spacing: .15em;
}

body.profile-page .profile-grid {
  display: block;
}

body.profile-page #profileForm,
body.profile-page #abonnement,
body.profile-page #marketplaceSellerPanel,
body.profile-page #workPanel {
  border: 0 !important;
  border-radius: 0 !important;
  background: rgba(7,7,6,.76) !important;
  box-shadow: none !important;
}

body.profile-page #profileForm {
  padding: 0 var(--reprise-section-gutter) 48px;
}

body.profile-page #profileForm > h2 {
  margin: 0 0 16px;
  padding-top: 22px;
  border-top: 1px solid var(--reprise-gold);
  font-size: clamp(32px, 3vw, 42px);
  font-weight: 400;
  letter-spacing: -.04em;
}

body.profile-page .profile-head {
  display: grid;
  grid-template-columns: 160px minmax(0,1fr);
  gap: 30px;
  align-items: end;
  margin-bottom: 38px;
  padding: 12px 0 32px;
  border-bottom: 1px solid var(--reprise-line);
}

body.profile-page .avatar {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(216,183,101,.46) !important;
  border-radius: 50% !important;
  background: radial-gradient(circle, rgba(216,183,101,.16), rgba(238,232,216,.025) 64%) !important;
  color: var(--reprise-paper) !important;
  font-size: 44px;
  font-weight: 400;
}

body.profile-page .photo-input {
  width: 100%;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid rgba(238,232,216,.25);
  border-radius: 0;
  background: transparent;
}

body.profile-page .google-auth-block {
  display: grid;
  grid-template-columns: minmax(190px, .85fr) minmax(300px, 1.15fr);
  gap: 28px;
  align-items: center;
  width: min(760px, 100%);
  margin: 0 auto 52px;
  padding: 20px 0;
  border: 0;
  border-block: 1px solid var(--reprise-line);
  border-radius: 0;
  background: transparent;
  text-align: center;
}

body.profile-page .google-auth-block .google-button {
  justify-self: center;
}

body.profile-page #profileForm > .row,
body.profile-page .captcha {
  gap: 22px;
  margin: 0;
  padding: 24px 0;
  border-top: 1px solid rgba(216,183,101,.16);
}

body.profile-page #profileForm input,
body.profile-page #profileForm select,
body.profile-page #profileForm textarea {
  border: 1px solid rgba(238,232,216,.58);
  border-radius: 12px;
  background: rgba(19,19,18,.92);
  color: #fffdf7;
  box-shadow: inset 0 1px 0 rgba(255,253,247,.05);
}

body.profile-page #profileForm .recovery .row > input {
  border: 1px solid rgba(238,232,216,.62) !important;
  border-radius: 12px !important;
  background: rgba(19,19,18,.96) !important;
  box-shadow: inset 0 1px 0 rgba(255,253,247,.06) !important;
}

body.profile-page #profileForm input::placeholder,
body.profile-page #profileForm textarea::placeholder {
  color: rgba(255,253,247,.64);
  opacity: 1;
}

body.profile-page #profileForm label {
  color: #e8ca73;
}

body.profile-page #profileForm input:focus,
body.profile-page #profileForm select:focus,
body.profile-page #profileForm textarea:focus {
  border-color: #f1d77f;
  box-shadow: 0 0 0 3px rgba(241,215,127,.18);
}

body.profile-page #profileForm > label[for="notes"] {
  margin-top: 30px;
}

body.profile-page #notes {
  min-height: 110px;
}

body.profile-page #profileForm > .btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 30px 0 18px;
  border-top: 1px solid var(--reprise-line);
}

body.profile-page .profile-account-status {
  display: block;
  width: min(760px, 100%);
  gap: 24px;
  margin: 0 auto 70px;
  padding: 16px 0;
  border-bottom: 1px solid var(--reprise-line);
  text-align: center;
}

body.profile-page .profile-account-status .status {
  display: none;
}

body.profile-page .recovery,
body.profile-page .profile-theme-panel {
  margin-top: 0;
  padding: 34px 0;
  border: 0;
  border-top: 1px solid var(--reprise-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.profile-page .profile-theme-panel {
  margin-top: 24px;
  padding: 32px clamp(24px, 3vw, 40px);
  border: 1px solid rgba(216,183,101,.28);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255,253,247,.055), rgba(255,253,247,.02));
}

body.profile-page #abonnement,
body.profile-page #marketplaceSellerPanel,
body.profile-page #workPanel {
  margin-top: 88px !important;
  padding: 42px var(--reprise-section-gutter);
  border-top: 1px solid var(--reprise-gold) !important;
}

body.profile-page #abonnement {
  margin-top: 48px !important;
}

body.profile-page .subscription-head {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(220px,.35fr);
  gap: 52px;
  align-items: start;
}

body.profile-page .subscription-head h2,
body.profile-page #marketplaceSellerPanel h2,
body.profile-page #workPanel h2 {
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 400;
  letter-spacing: -.035em;
}

body.profile-page .subscription-status {
  border: 0;
  border-radius: 11px !important;
  background: transparent;
  text-align: right;
}

body.profile-page .subscription-status strong {
  color: var(--reprise-gold);
  font-size: 42px;
  font-weight: var(--font-weight-emphasis) !important;
}

html[data-exkave-theme="light"] body.profile-page #profileForm input,
html[data-exkave-theme="light"] body.profile-page #profileForm select,
html[data-exkave-theme="light"] body.profile-page #profileForm textarea {
  border-color: rgba(17,17,19,.36);
  background: #fff;
  color: #111113;
}

html[data-exkave-theme="light"] body.profile-page #profileForm input::placeholder,
html[data-exkave-theme="light"] body.profile-page #profileForm textarea::placeholder {
  color: rgba(17,17,19,.62);
}

body.profile-page .plan-grid,
body.profile-page .marketplace-reputation,
body.profile-page .list {
  margin-top: 36px;
}

/* Payment — clarity and trust, while Plus remains explicitly unavailable. */
body.payment-page .hero {
  margin: 0;
  padding: 76px var(--reprise-section-gutter) 96px;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.payment-page .hero h1 {
  max-width: 680px;
  margin: 12px 0 22px;
  font-size: clamp(48px, 5vw, 64px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.05em;
}

body.payment-page .hero > p:last-child {
  max-width: 760px;
  color: rgba(238,232,216,.66);
  font-size: 17px;
  line-height: 1.6;
}

body.payment-page .layout {
  display: grid;
  grid-template-columns: minmax(320px,.72fr) minmax(520px,1.28fr);
  gap: clamp(50px,7vw,110px);
  align-items: start;
  padding: 44px var(--reprise-section-gutter) 110px;
  border-top: 1px solid var(--reprise-gold);
  background: rgba(7,7,6,.78);
}

body.payment-page .panel {
  translate: 0 !important;
  opacity: 1 !important;
  padding: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html:has(body.payment-page),
html:has(body.profile-page) {
  overflow-x: clip;
}

body.payment-page .panel h2 {
  margin-bottom: 34px;
  font-size: clamp(28px,3vw,38px);
  font-weight: 400;
  letter-spacing: -.035em;
}

body.payment-page .summary {
  border-block: 1px solid var(--reprise-line);
}

body.payment-page .summary > div {
  padding: 20px 0;
  border: 0;
}

body.payment-page .summary strong {
  font-size: 48px;
  font-weight: 400;
  letter-spacing: -.045em;
}

body.payment-page .notice {
  margin-top: 32px;
  padding: 20px 0;
  border: 0;
  border-top: 1px solid rgba(216,183,101,.4);
  border-radius: 0;
  background: transparent;
  color: rgba(238,232,216,.72);
  line-height: 1.6;
}

body.payment-page .method-grid {
  gap: 0;
  border-block: 1px solid var(--reprise-line);
}

body.payment-page .method {
  min-height: 82px;
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid var(--reprise-line);
  border-radius: 0;
  background: transparent;
}

body.payment-page .method:last-child {
  border-bottom: 0;
}

body.payment-page .checkout-copy,
body.payment-page .terms-panel {
  margin-top: 34px;
  padding: 28px 0;
  border: 0;
  border-top: 1px solid var(--reprise-line);
  border-radius: 0;
  background: transparent;
}

body.payment-page .terms-link {
  border-radius: 0;
  background: transparent;
}

body.payment-page .actions {
  padding-top: 26px;
  border-top: 1px solid var(--reprise-line);
}

@media (max-width: 820px) {
  body.profile-page > .wrap,
  body.payment-page > .wrap {
    width: min(100%, calc(100vw - 28px));
  }

  body.profile-page .hero::before,
  body.profile-page .hero::after {
    opacity: 1;
  }

  body.payment-page .layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  body.profile-page > .wrap,
  body.payment-page > .wrap {
    width: 100%;
    padding-inline: 6px;
  }

  body.profile-page .hero {
    min-height: 340px;
    margin-bottom: 82px;
    padding: 36px 16px;
  }

  body.profile-page .hero h1,
  body.payment-page .hero h1 {
    font-size: 43px;
  }

  body.profile-page .hero::before {
    inset: 0;
    width: 100%;
    background: linear-gradient(90deg, rgba(3,3,3,.94), rgba(3,3,3,.62) 68%, rgba(3,3,3,.16)) !important;
  }

  body.profile-page .profile-hero-object {
    top: 92px;
    right: -88px;
    width: 270px;
    opacity: .52;
  }

  body.profile-page .profile-hero-disc {
    box-shadow: inset 0 0 0 82px rgba(7,7,6,.32);
  }

  body.profile-page .hero::after {
    right: 14px;
    top: 192px;
  }

  body.profile-page #profileForm {
    padding-inline: 18px;
  }

  body.profile-page .profile-head {
    grid-template-columns: 112px minmax(0,1fr);
    gap: 20px;
  }

  body.profile-page .avatar {
    width: 112px;
    height: 112px;
    font-size: 28px;
  }

  body.profile-page .google-auth-block,
  body.profile-page .profile-account-status,
  body.profile-page .subscription-head {
    grid-template-columns: 1fr;
  }

  body.profile-page #profileForm > .row,
  body.profile-page .captcha {
    grid-template-columns: 1fr;
  }

  body.profile-page .subscription-status {
    text-align: left;
  }

  body.profile-page #abonnement,
  body.profile-page #marketplaceSellerPanel,
  body.profile-page #workPanel {
    margin-top: 64px !important;
    padding-inline: 18px;
  }

  body.profile-page #abonnement {
    margin-top: 42px !important;
  }

  body.payment-page .hero {
    padding: 42px 18px 72px;
  }

  body.payment-page .layout {
    gap: 74px;
    padding: 36px 18px 92px;
  }

  body.payment-page .summary strong {
    font-size: 38px;
  }
}

/* Admin — control workshop: pending work first, server telemetry second. */
body.admin-page,
body.admin-tool-page,
body.scan-page {
  --reprise-section-gutter: var(--reprise-content-gutter);
  background-color: var(--reprise-black);
  overflow-x: clip;
}

body.admin-page .exkave-depth-far,
body.admin-page .exkave-depth-near,
body.admin-tool-page .exkave-depth-far,
body.admin-tool-page .exkave-depth-near,
body.scan-page .exkave-depth-far,
body.scan-page .exkave-depth-near {
  opacity: .11 !important;
}

body.admin-page > .wrap,
body.admin-tool-page > .wrap,
body.scan-page > .wrap {
  width: min(1420px, calc(100vw - 36px));
  padding-top: 22px;
}

body.admin-page > .wrap {
  display: flex;
  flex-direction: column;
}

body.admin-page > .wrap > [data-exkave-menu] { order: 0; }
body.admin-page > .wrap > .hero { order: 1; }
body.admin-page > .wrap > .admin-tabs { order: 2; }
body.admin-page > .wrap > .draft-panel-full { order: 3; }
body.admin-page > .wrap > .metrics { order: 4; }
body.admin-page > .wrap > .dashboard-grid { order: 5; }
body.admin-page > .wrap > * { order: 10; }

body.admin-page :is(.hero,.panel,.chart-card,.metric),
body.admin-tool-page :is(.hero,.panel,.metric),
body.scan-page :is(.hero,.panel) {
  translate: 0 !important;
  opacity: 1 !important;
  filter: none !important;
  visibility: visible !important;
  box-shadow: none !important;
}

body.admin-page :is(section,article,.layout,.dashboard-grid),
body.admin-tool-page :is(section,article),
body.scan-page :is(section,article) {
  translate: 0 !important;
  opacity: 1 !important;
  filter: none !important;
  visibility: visible !important;
}

body.admin-page .hero,
body.admin-tool-page .hero {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 30px;
  align-items: end;
  min-height: 0;
  margin: 0;
  padding: 38px var(--reprise-section-gutter) 42px;
  border: 0 !important;
  border-bottom: 1px solid var(--reprise-gold) !important;
  border-radius: 0 !important;
  background: rgba(7,7,6,.7) !important;
}

body.admin-page .hero h1,
body.admin-tool-page .hero h1 {
  margin: 8px 0 12px;
  font-size: clamp(36px,4vw,48px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.045em;
}

body.admin-page .hero .muted,
body.admin-tool-page .hero .muted {
  max-width: 820px;
  margin: 0;
  line-height: 1.5;
}

body.admin-page .hero .status,
body.admin-tool-page .hero .status {
  max-width: 360px;
  margin: 0;
  padding: 10px 0;
  border: 0;
  border-top: 1px solid var(--reprise-line);
  border-radius: 0;
  background: transparent;
  font-size: 12px;
}

body.admin-page .admin-tabs {
  position: sticky;
  z-index: 30;
  top: 0;
  display: flex;
  gap: 0;
  margin: 0 0 52px;
  padding: 0 var(--reprise-section-gutter);
  overflow-x: auto;
  border: 0;
  border-bottom: 1px solid var(--reprise-line);
  border-radius: 0;
  background: rgba(7,7,6,.94);
  backdrop-filter: blur(16px);
}

body.admin-page .admin-tab {
  flex: 0 0 auto;
  padding: 17px 18px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: rgba(238,232,216,.58);
  font-size: 11px;
  letter-spacing: .08em;
}

body.admin-page .admin-tab.is-active {
  border-bottom-color: var(--reprise-gold);
  background: transparent;
  color: var(--reprise-paper);
}

body.admin-page .panel,
body.admin-page .draft-panel-full,
body.admin-tool-page .panel,
body.scan-page .panel {
  margin-top: 54px;
  padding: 30px clamp(20px,3vw,42px);
  border: 0 !important;
  border-top: 1px solid var(--reprise-line) !important;
  border-radius: 0 !important;
  background: rgba(7,7,6,.78) !important;
}

body.admin-page .draft-panel-full {
  margin-top: 0;
  padding-top: 26px;
  border-top-color: var(--reprise-gold) !important;
}

body.admin-page .draft-panel-full h2 {
  font-size: clamp(28px,3vw,38px);
  font-weight: 400;
  letter-spacing: -.035em;
}

body.admin-page .metrics {
  display: grid;
  grid-template-columns: repeat(7,minmax(0,1fr));
  gap: 0;
  margin: 56px 0 0;
  padding: 0 clamp(20px,3vw,42px);
  border-block: 1px solid var(--reprise-line);
}

body.admin-page .metric {
  min-height: 108px;
  padding: 22px 14px;
  border: 0;
  border-right: 1px solid var(--reprise-line);
  border-radius: 0;
  background: transparent;
}

body.admin-page .metric:last-child { border-right: 0; }
body.admin-page .metric strong { font-size: 30px; font-weight: 400; }

body.admin-page .dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0,1.35fr) minmax(300px,.65fr);
  gap: 42px;
  margin-top: 56px;
}

body.admin-page .dashboard-grid .panel {
  margin-top: 0;
}

body.admin-page .chart-grid {
  gap: 0;
  border-block: 1px solid var(--reprise-line);
}

body.admin-page .chart-card {
  padding: 20px;
  border: 0;
  border-right: 1px solid var(--reprise-line);
  border-radius: 0;
  background: transparent;
}

body.admin-page .chart-card:last-child { border-right: 0; }

body.admin-page .layout {
  gap: 34px;
}

body.admin-page table {
  border-collapse: collapse;
}

body.admin-page :is(th,td) {
  border-bottom: 1px solid rgba(216,183,101,.15);
}

/* Recognition tools — compact, deliberate benches rather than mini landing pages. */
body.admin-tool-page .panel {
  margin-top: 66px;
}

body.admin-tool-page .panel h2 {
  font-size: clamp(26px,3vw,34px);
  font-weight: 400;
  letter-spacing: -.035em;
}

body.admin-tool-page :is(.id-status,.seed-status) {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 0;
  margin-top: 24px;
  border-block: 1px solid var(--reprise-line);
}

body.admin-tool-page :is(.id-status,.seed-status) .metric {
  padding: 22px 16px;
  border: 0;
  border-right: 1px solid var(--reprise-line);
  border-radius: 0;
  background: transparent;
}

body.admin-tool-page :is(.id-status,.seed-status) .metric:last-child { border-right: 0; }

body.admin-tool-page .id-drop,
body.admin-tool-page .seed-drop {
  border: 0;
  border-top: 1px solid rgba(216,183,101,.4);
  border-radius: 0;
  background: linear-gradient(145deg,rgba(238,232,216,.06),rgba(238,232,216,.012));
}

body.identify-tool-page .zone-grid,
body.seed-tool-page .seed-drops {
  gap: 12px;
}

/* Public scan — the camera/proof stage is the primary object. */
body.scan-page .scan-hero {
  min-height: 430px;
  margin: 0 0 100px;
  padding: 68px var(--reprise-section-gutter);
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.scan-page .scan-hero h1 {
  max-width: 620px;
  font-size: clamp(48px,5vw,62px);
  font-weight: 400;
  letter-spacing: -.05em;
}

body.scan-page .scan-hero .lead { max-width: 650px; }

body.scan-page .scan-hero .cta-row {
  display: flex;
  gap: 18px;
  margin-top: 28px;
}

html body.scan-page .scan-hero .cta-row .btn {
  min-height: auto;
  padding: 0 0 5px;
  border: 0 !important;
  border-bottom: 1px solid var(--reprise-gold) !important;
  border-radius: 0;
  background: transparent !important;
  color: var(--reprise-paper) !important;
  box-shadow: none !important;
}

body.scan-page .panel {
  margin-top: 0;
  padding-inline: clamp(24px,5vw,70px);
}

body.scan-page .panel > h2 {
  font-size: clamp(28px,3vw,38px);
  font-weight: 400;
}

body.scan-page .seg {
  display: flex;
  gap: 0;
  overflow-x: auto;
  border-block: 1px solid var(--reprise-line);
}

body.scan-page .seg button {
  flex: 0 0 auto;
  border: 0;
  border-right: 1px solid var(--reprise-line);
  border-radius: 0;
  background: transparent;
}

body.scan-page .capture {
  min-height: 430px;
  margin-top: 34px;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 34px;
  border: 0;
  border-top: 1px solid var(--reprise-gold);
  border-radius: 0;
  background: radial-gradient(circle at 76% 42%,rgba(216,183,101,.12),transparent 22%),repeating-radial-gradient(circle at 76% 42%,rgba(238,232,216,.09) 0 1px,transparent 1px 9px),#0b0b09;
  text-align: left;
}

body.scan-page .capture .cam {
  margin-bottom: auto;
  font-size: 54px;
  color: var(--reprise-gold);
}

body.scan-page .proof-grid {
  gap: 12px;
  margin-top: 12px;
}

body.scan-page .more {
  margin-top: 72px;
  padding-top: 28px;
  border: 0;
  border-top: 1px solid var(--reprise-line);
  border-radius: 0;
  background: transparent;
}

html:has(body.admin-page),
html:has(body.admin-tool-page),
html:has(body.scan-page) { overflow-x: clip; }

@media (max-width: 760px) {
  body.admin-page > .wrap,
  body.admin-tool-page > .wrap,
  body.scan-page > .wrap {
    width: 100%;
    padding-inline: 6px;
  }

  body.admin-page .hero,
  body.admin-tool-page .hero {
    grid-template-columns: 1fr;
    padding: 30px 18px;
  }

  body.admin-page .admin-tabs {
    padding-inline: 6px;
  }

  body.admin-page .metrics {
    display: flex;
    padding-inline: 0;
    overflow-x: auto;
  }

  body.admin-page .metric { flex: 0 0 150px; }

  body.admin-page .dashboard-grid,
  body.admin-page .layout {
    grid-template-columns: 1fr;
  }

  body.admin-page .panel,
  body.admin-page .draft-panel-full,
  body.admin-tool-page .panel,
  body.scan-page .panel {
    padding-inline: 18px;
  }

  body.admin-tool-page :is(.id-status,.seed-status) {
    grid-template-columns: 1fr 1fr;
  }

  body.scan-page .scan-hero {
    min-height: 420px;
    margin-bottom: 74px;
    padding: 44px 18px;
  }

  body.scan-page .scan-hero h1 { font-size: 43px; }
  body.scan-page .capture { min-height: 350px; padding: 22px; }
}

/* Bibliothèque — adaptation mobile du parcours album → variantes. */
@media (max-width: 760px) {
  body.library-page[data-ex-biblio] .artist-stage:not([data-has-artist]) {
    min-height: 0;
    padding-bottom: 52px;
  }

  body.library-page[data-ex-biblio] .artist-discovery {
    display: flex;
    min-height: 0;
    margin: 42px var(--reprise-section-gutter) 0;
    padding-bottom: 8px;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  body.library-page[data-ex-biblio] .artist-pick.is-primary,
  body.library-page[data-ex-biblio] .artist-pick.is-secondary {
    flex: 0 0 78vw;
    scroll-snap-align: start;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .detail {
    margin-top: 88px;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .master-top {
    min-height: 0;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 20px;
    padding: 24px 18px;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .master-cover {
    width: 104px;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .lineage-branch {
    margin-top: 74px;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing,
  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing:nth-child(3n + 2),
  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing:nth-child(3n) {
    width: 100%;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 14px;
    margin-left: 0;
    padding: 24px 0 28px;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-facts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-runout-grid {
    grid-template-columns: 1fr;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing > .proofs {
    grid-column: 2;
  }
}

/* Bibliothèque — pivot court : chercher, voir l'album, comparer. */
body.library-page[data-ex-biblio] .exb-entree {
  margin-top: 12px;
  padding: 28px var(--reprise-section-gutter) 34px;
  background:
    radial-gradient(circle at 82% 20%, rgba(216,183,101,.09), transparent 30%),
    linear-gradient(120deg, rgba(25,24,20,.86), rgba(8,8,7,.56));
}

body.library-page[data-ex-biblio] .hero {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  min-height: 0;
  padding: 0 0 24px;
}

body.library-page[data-ex-biblio] .base-title {
  font-size: clamp(38px, 4vw, 56px);
}

body.library-page[data-ex-biblio] .search-panel {
  display: block;
  padding: 0;
}

body.library-page[data-ex-biblio] .search-head,
body.library-page[data-ex-biblio] .examples,
body.library-page[data-ex-biblio] .search-guide {
  display: none;
}

body.library-page[data-ex-biblio] .search-form {
  width: 100%;
  min-height: 66px;
  box-shadow: 0 18px 48px rgba(0,0,0,.25);
}

body.library-page[data-ex-biblio] #artist-stage[data-has-artist] {
  display: none;
}

body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .detail {
  margin-top: 42px;
}

body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .master-top {
  min-height: 260px;
  grid-template-columns: 188px minmax(0,1fr);
  gap: clamp(34px, 5vw, 72px);
  padding: 32px clamp(28px, 4vw, 54px);
}

body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .master-cover {
  width: 188px;
}

body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .master h2 {
  font-size: clamp(34px, 3.5vw, 48px);
}

body.library-page[data-ex-biblio] #selected-album-summary + .album-panel {
  display: grid;
  grid-template-columns: minmax(170px,.24fr) minmax(260px,.76fr);
  gap: 14px 34px;
  align-items: end;
  margin: 38px 0 30px;
  padding: 16px 0 18px;
  border-block: 1px solid rgba(216,183,101,.2);
}

body.library-page[data-ex-biblio] #selected-album-summary + .album-panel .panel-head {
  align-self: center;
  padding: 0;
  min-height: 0;
  margin: 0;
  border-bottom: 0;
}

body.library-page[data-ex-biblio] #selected-album-summary + .album-panel .panel-title {
  font-size: 22px;
}

body.library-page[data-ex-biblio] #selected-album-summary + .album-panel .panel-meta {
  margin-top: 5px;
  font-size: 11px;
}

body.library-page[data-ex-biblio] #selected-album-summary + .album-panel .album-controls {
  justify-self: end;
  width: min(100%, 390px);
  padding: 0;
  margin: 0;
}

body.library-page[data-ex-biblio] #selected-album-summary + .album-panel .panel-filter {
  min-height: 42px;
}

body.library-page[data-ex-biblio] #selected-album-summary + .album-panel .album-rail-shell {
  grid-column: 1 / -1;
  grid-template-columns: 26px minmax(0,1fr) 26px;
  margin-top: 4px;
  padding-block: 0;
}

body.library-page[data-ex-biblio] #selected-album-summary + .album-panel .album-rail-shell > .rail-nav {
  min-height: 0;
}

body.library-page[data-ex-biblio] #selected-album-summary + .album-panel .album-rail {
  grid-auto-columns: 88px;
  gap: 14px;
  padding-block: 0;
  align-items: start;
}

body.library-page[data-ex-biblio] #selected-album-summary + .album-panel .album-rail .result {
  min-height: 0;
  gap: 5px;
}

body.library-page[data-ex-biblio] #selected-album-summary + .album-panel .album-rail .result.active {
  min-height: 108px;
  padding: 10px;
}

body.library-page[data-ex-biblio] #selected-album-summary + .album-panel .album-rail .cover-placeholder {
  width: 88px;
  height: auto;
  aspect-ratio: 1;
}

body.library-page[data-ex-biblio] #selected-album-summary + .album-panel .album-rail .result h3 {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.library-page[data-ex-biblio] #selected-album-summary + .album-panel .album-rail .artist,
body.library-page[data-ex-biblio] #selected-album-summary + .album-panel .album-rail .album-range,
body.library-page[data-ex-biblio] #selected-album-summary + .album-panel .album-rail .result-kind {
  font-size: 10px;
}

body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-filter-bar {
  margin: 0 0 62px;
  padding: 14px 0;
  border: 0;
  border-block: 1px solid rgba(255,253,247,.12);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .lineage-branch {
  margin-top: 0;
}

body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressings-head {
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(216,183,101,.22);
}

body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressings-head h3 {
  font-size: clamp(28px, 3vw, 38px);
}

body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing {
  width: 100%;
  max-width: none;
  min-height: 176px;
  margin: 0 0 12px;
  padding: 28px 30px 30px;
  border: 1px solid rgba(216,183,101,.16);
  border-left: 4px solid rgba(216,183,101,.72);
  background:
    radial-gradient(circle at 8% 18%, rgba(216,183,101,.13), transparent 24%),
    linear-gradient(105deg, #1c1914 0%, #131210 44%, #0d0d0c 100%);
  box-shadow: 0 18px 46px rgba(0,0,0,.18);
}

body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing:nth-child(even) {
  width: 100%;
  margin-left: 0;
  background:
    radial-gradient(circle at 92% 82%, rgba(216,183,101,.1), transparent 22%),
    linear-gradient(105deg, #171511 0%, #11110f 58%, #0c0c0b 100%);
}

body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing:nth-child(3n + 2),
body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing:nth-child(3n) {
  width: 100%;
  margin-left: 0;
  border-left: 4px solid rgba(216,183,101,.72);
}

body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing::before {
  align-self: start;
  padding-top: 2px;
  color: #e3c46f;
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .08em;
}

body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing:hover,
body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing:focus-visible,
body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing.selected {
  border-color: rgba(227,196,111,.58);
  background:
    radial-gradient(circle at 10% 18%, rgba(227,196,111,.18), transparent 26%),
    linear-gradient(105deg, #211d16 0%, #15130f 48%, #0e0e0d 100%);
}

body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-fact small,
body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-runout-grid small {
  color: rgba(227,196,111,.82);
}

body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-facts-grid {
  max-width: none;
  margin: 0 0 18px;
  padding: 15px 18px;
  border: 1px solid rgba(255,253,247,.52);
  border-left: 7px solid #d2ad50;
  background:
    linear-gradient(100deg, rgba(255,255,255,.38), transparent 28%),
    #e5dbc3;
  box-shadow: 0 8px 22px rgba(0,0,0,.2);
}

body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-facts-grid .pressing-fact small {
  color: #6d5726;
}

body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-facts-grid .pressing-fact strong,
body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-facts-grid .pressing-fact:nth-child(1) strong,
body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-facts-grid .pressing-fact:nth-child(2) strong {
  color: #15130f;
}

body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-fact strong {
  font-size: 15px;
}

body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-fact:nth-child(1) strong,
body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-fact:nth-child(2) strong {
  font-size: 18px;
}

body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing::after {
  grid-column: 3;
  grid-row: 1;
  align-self: center;
  margin-top: 0;
  padding: 10px 18px;
  background: rgba(216,183,101,.07);
}

body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing > .proofs {
  grid-column: 3;
  grid-row: 2;
  align-self: end;
  justify-self: end;
  margin-top: 14px;
}

body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .barcode-presence {
  display: grid;
  width: 58px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255,247,221,.68);
  border-radius: 2px;
  background: linear-gradient(135deg, #f3e4b6, #cba64b);
  color: #17130b;
  box-shadow: 0 8px 22px rgba(0,0,0,.34);
}

body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .barcode-presence svg {
  width: 42px;
  height: 28px;
}

@media (max-width: 760px) {
  body.library-page[data-ex-biblio] .exb-entree {
    padding: 22px 18px 26px;
  }

  body.library-page[data-ex-biblio] .hero {
    padding-bottom: 18px;
  }

  body.library-page[data-ex-biblio] .search-form {
    min-height: 58px;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .detail {
    margin-top: 28px;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .master-top {
    grid-template-columns: 92px minmax(0,1fr);
    gap: 16px;
    padding: 20px 16px;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .master-cover {
    width: 92px;
  }

  body.library-page[data-ex-biblio] #selected-album-summary + .album-panel {
    display: block;
    margin: 34px 0 30px;
    padding: 16px 0 20px;
  }

  body.library-page[data-ex-biblio] #selected-album-summary + .album-panel .album-controls {
    display: none;
  }

  body.library-page[data-ex-biblio] #selected-album-summary + .album-panel .album-rail-shell {
    margin-top: 14px;
    padding-bottom: 12px;
  }

  body.library-page[data-ex-biblio] #selected-album-summary + .album-panel .album-rail {
    grid-auto-columns: 42vw;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-filter-bar {
    margin-bottom: 48px;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing,
  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing:nth-child(3n + 2),
  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing:nth-child(3n) {
    min-height: 0;
    margin: 0 0 12px;
    padding: 24px 16px 28px;
    border-left-width: 3px;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing::before {
    font-size: 20px;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing::after {
    content: attr(data-exb-action) " →";
    grid-column: 2;
    grid-row: auto;
    justify-self: start;
    margin-top: 14px;
    padding: 9px 14px;
    border: 1px solid rgba(216,183,101,.4);
    color: var(--reprise-gold);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: .12em;
    text-transform: uppercase;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-facts-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(68px, .65fr);
    padding: 14px;
    border-left-width: 5px;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-facts-grid .pressing-fact:first-child strong {
    white-space: nowrap;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing > .proofs {
    grid-column: 2;
    grid-row: auto;
    justify-self: start;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .barcode-presence {
    width: 62px;
    height: 44px;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .barcode-presence svg {
    width: 46px;
    height: 30px;
  }
}

/* Bibliothèque — parcours court : recherche, artiste, album, pressages. */
body.library-page[data-ex-biblio] .exb-entree {
  min-height: 0;
  padding: 46px clamp(28px, 4vw, 56px) 34px;
  background: #0d0c0a;
}

body.library-page[data-ex-biblio] .hero {
  min-height: 0;
  padding: 0 0 20px;
}

body.library-page[data-ex-biblio] .base-title {
  font-size: clamp(34px, 4vw, 54px);
}

body.library-page[data-ex-biblio] .exb-stat {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

body.library-page[data-ex-biblio] .exb-stat span {
  color: rgba(255,253,247,.48);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body.library-page[data-ex-biblio] .search-panel {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

body.library-page[data-ex-biblio] .search-panel::after {
  content: "Artistes · Albums · Pressages";
  display: block;
  margin-top: 16px;
  color: rgba(255,253,247,.48);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
}

body.library-page[data-ex-biblio] .search-form {
  min-height: 62px;
  border-color: rgba(216,183,101,.5);
}

body.library-page[data-ex-biblio] #catalog-layout:not(.is-neutral) {
  padding-top: 64px;
}

body.library-page[data-ex-biblio] #catalog-layout:not(.is-neutral) > .album-panel {
  display: block;
  margin: 0;
  padding: 28px clamp(28px, 4vw, 56px) 54px;
  border: 0;
  background: #151412;
}

body.library-page[data-ex-biblio] #catalog-layout:not(.is-neutral) > .album-panel .panel-head {
  display: block;
  min-height: 0;
  margin: 0 0 30px;
  padding: 0;
  border: 0;
}

body.library-page[data-ex-biblio] #catalog-layout:not(.is-neutral) > .album-panel .panel-title {
  color: #fffdf7;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1;
}

body.library-page[data-ex-biblio] #catalog-layout:not(.is-neutral) > .album-panel .panel-meta {
  margin-top: 10px;
  color: rgba(255,253,247,.56);
  font-size: 12px;
}

body.library-page[data-ex-biblio] #catalog-layout:not(.is-neutral) > .album-panel .album-controls,
body.library-page[data-ex-biblio] #catalog-layout:not(.is-neutral) > .album-panel .album-rail-hint {
  display: none;
}

body.library-page[data-ex-biblio] #catalog-layout:not(.is-neutral) > .album-panel .album-rail-shell {
  display: grid;
  grid-template-columns: 30px minmax(0,1fr) 30px;
  margin: 0;
  padding: 0;
}

body.library-page[data-ex-biblio] #catalog-layout:not(.is-neutral) > .album-panel .album-rail {
  grid-auto-columns: clamp(180px, 16vw, 220px);
  gap: clamp(18px, 2.2vw, 34px);
  padding: 10px 8px 18px;
  align-items: start;
}

body.library-page[data-ex-biblio] #catalog-layout:not(.is-neutral) > .album-panel .album-rail .result,
body.library-page[data-ex-biblio] #catalog-layout:not(.is-neutral) > .album-panel .album-rail .result.active {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

body.library-page[data-ex-biblio] #catalog-layout:not(.is-neutral) > .album-panel .album-rail .result.active {
  transform: scale(1.045);
  transform-origin: center bottom;
}

body.library-page[data-ex-biblio] #catalog-layout:not(.is-neutral) > .album-panel .album-rail .cover-placeholder,
body.library-page[data-ex-biblio] #catalog-layout:not(.is-neutral) > .album-panel .album-rail .result.active .cover-placeholder {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
}

body.library-page[data-ex-biblio] #catalog-layout:not(.is-neutral) > .album-panel .album-rail .result-kind,
body.library-page[data-ex-biblio] #catalog-layout:not(.is-neutral) > .album-panel .album-rail .artist,
body.library-page[data-ex-biblio] #catalog-layout:not(.is-neutral) > .album-panel .album-rail .result-side {
  display: none;
}

body.library-page[data-ex-biblio] #catalog-layout:not(.is-neutral) > .album-panel .album-rail .result h3 {
  margin: 14px 0 4px;
  padding: 0;
  border: 0;
  font-size: 16px;
  white-space: normal;
}

body.library-page[data-ex-biblio] #selected-album-summary {
  margin: 80px clamp(28px, 4vw, 56px) 40px;
  padding: 0 0 34px;
  border: 0;
  border-bottom: 1px solid rgba(216,183,101,.24);
  background: transparent;
}

body.library-page[data-ex-biblio] .selected-album-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

body.library-page[data-ex-biblio] .selected-album-kicker {
  color: #d8b765;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

body.library-page[data-ex-biblio] .selected-album-heading h2 {
  margin: 8px 0 5px;
  color: #fffdf7;
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1;
  text-transform: uppercase;
}

body.library-page[data-ex-biblio] .selected-album-heading p,
body.library-page[data-ex-biblio] .selected-album-genres {
  margin: 0;
  color: rgba(255,253,247,.66);
  font-size: 15px;
}

body.library-page[data-ex-biblio] .selected-album-genres {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

body.library-page[data-ex-biblio] .selected-album-genres i {
  color: #d8b765;
  font-style: normal;
}

body.library-page[data-ex-biblio] .selected-album-heading > strong {
  color: #d8b765;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .detail {
  margin-top: 0;
  padding-top: 0;
  background: #0b0b0a;
}

body.library-page[data-ex-biblio] .pressing-filter-shell {
  display: grid;
  grid-template-columns: 90px minmax(0,1fr);
  gap: 26px;
  align-items: center;
  margin: 0 0 80px;
}

body.library-page[data-ex-biblio] .pressing-filter-toggle {
  border: 0;
  background: transparent;
  color: #d8b765;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .16em;
  text-align: left;
  text-transform: uppercase;
}

body.library-page[data-ex-biblio] .pressing-filter-sheet-close {
  display: none;
}

body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-filter-bar {
  display: grid;
  grid-template-columns: .8fr .65fr 1fr 1fr 1.2fr auto auto;
  gap: 18px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-filter-field {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-filter-submit {
  min-width: 86px;
  background: transparent;
  color: #d8b765;
}

body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .lineage-branch {
  padding-top: 0;
}

body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressings-head {
  margin-bottom: 34px;
  padding-bottom: 18px;
}

body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing,
body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing:nth-child(even),
body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing:nth-child(3n + 2),
body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing:nth-child(3n) {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: 150px;
  margin: 0 0 30px;
  padding: 26px 6px 28px;
  border: 0;
  border-top: 1px solid rgba(255,253,247,.13);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing > .pressing-card-flags {
  position: absolute;
  right: 6px;
  bottom: 28px;
  margin: 0;
}

body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing::before {
  content: none;
  display: none;
}

body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-facts-grid {
  max-width: none;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-facts-grid .pressing-fact small {
  color: rgba(255,253,247,.42);
}

body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-facts-grid .pressing-fact strong,
body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-facts-grid .pressing-fact:nth-child(1) strong,
body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-facts-grid .pressing-fact:nth-child(2) strong {
  color: #fffdf7;
  font-size: 17px;
  font-weight: 400;
}

body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-runout-grid {
  grid-template-columns: repeat(2, minmax(0,1fr));
  max-width: none;
  padding-top: 14px;
}

body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-runout-grid strong {
  font-size: 14px;
}

body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing::after {
  content: attr(data-exb-action) " →";
  position: absolute;
  left: 54px;
  bottom: 28px;
  align-self: end;
  margin: 0;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid rgba(216,183,101,.5);
  background: transparent;
  font-size: 12px;
}

@media (min-width: 901px) {
  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing::after {
    right: 6px;
    left: auto;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing > .pressing-card-flags {
    right: 170px;
  }
}

body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .barcode-presence {
  width: 64px;
  height: 46px;
  border-color: rgba(216,183,101,.42);
  background: rgba(216,183,101,.1);
  color: #d8b765;
  box-shadow: none;
}

body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-add-cta {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 40px;
  margin: 120px 0 0;
  padding: 64px clamp(28px, 4vw, 56px);
  border: 0;
  background: #1a1712;
}

body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-add-cta strong {
  font-size: clamp(24px, 2.4vw, 34px);
  text-transform: uppercase;
}

body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-add-cta p {
  max-width: 460px;
  margin-top: 10px;
  font-size: 16px;
}

@media (max-width: 760px) {
  body.library-page[data-ex-biblio] .exb-entree {
    padding: 28px 18px 26px;
  }

  body.library-page[data-ex-biblio] .base-title {
    font-size: 32px;
  }

  body.library-page[data-ex-biblio] .search-form {
    min-height: 58px;
  }

  body.library-page[data-ex-biblio] #catalog-layout:not(.is-neutral) {
    padding-top: 50px;
  }

  body.library-page[data-ex-biblio] #catalog-layout:not(.is-neutral) > .album-panel {
    padding: 24px 18px 42px;
  }

  body.library-page[data-ex-biblio] #catalog-layout:not(.is-neutral) > .album-panel .panel-title {
    font-size: 30px;
  }

  body.library-page[data-ex-biblio] #catalog-layout:not(.is-neutral) > .album-panel .album-rail-shell {
    display: block;
  }

  body.library-page[data-ex-biblio] #catalog-layout:not(.is-neutral) > .album-panel .rail-nav {
    display: none;
  }

  body.library-page[data-ex-biblio] #catalog-layout:not(.is-neutral) > .album-panel .album-rail {
    grid-auto-columns: 48vw;
    gap: 18px;
    padding-inline: 2px 24px;
  }

  body.library-page[data-ex-biblio] #selected-album-summary {
    margin: 72px 18px 36px;
    padding-bottom: 28px;
  }

  body.library-page[data-ex-biblio] .selected-album-heading {
    display: block;
  }

  body.library-page[data-ex-biblio] .selected-album-heading > strong {
    display: block;
    margin-top: 22px;
  }

  body.library-page[data-ex-biblio] .pressing-filter-shell {
    display: block;
    margin: 0 0 72px;
  }

  body.library-page[data-ex-biblio] .pressing-filter-toggle {
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid rgba(216,183,101,.4);
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-filter-bar {
    display: none;
  }

  body.library-page[data-ex-biblio] .pressing-filter-shell.is-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 1190;
    background: rgba(0,0,0,.68);
  }

  body.library-page[data-ex-biblio] .pressing-filter-shell.is-open .pressing-filter-bar {
    position: fixed;
    inset: auto 0 0;
    z-index: 1200;
    display: grid;
    max-height: 82vh;
    overflow-y: auto;
    grid-template-columns: 1fr 1fr;
    gap: 18px 14px;
    margin: 0;
    padding: 56px 20px 26px;
    border-top: 1px solid rgba(216,183,101,.42);
    background: #171511;
    box-shadow: 0 -24px 60px rgba(0,0,0,.56);
  }

  body.library-page[data-ex-biblio] .pressing-filter-sheet-close {
    position: absolute;
    top: 14px;
    right: 18px;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(216,183,101,.32);
    background: transparent;
    color: #fffdf7;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing,
  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing:nth-child(even),
  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing:nth-child(3n + 2),
  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing:nth-child(3n) {
    width: 100%;
    margin: 0 0 28px;
    padding: 24px 0 82px;
    border-left: 0;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing::after {
    left: 42px;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-facts-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px 18px;
    padding: 0;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-facts-grid .pressing-fact:first-child strong {
    white-space: normal;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-runout-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-add-cta {
    display: block;
    margin-top: 100px;
    padding: 46px 20px;
  }
}

@media (max-width: 900px) {
  :root {
    --reprise-content-gutter: 18px;
  }
}

@media (min-width: 761px) and (max-width: 900px) {
  body.library-page[data-ex-biblio] #catalog-layout:not(.is-neutral) > .album-panel .album-rail-shell {
    display: block;
  }

  body.library-page[data-ex-biblio] #catalog-layout:not(.is-neutral) > .album-panel .rail-nav {
    display: none;
  }

  body.library-page[data-ex-biblio] #catalog-layout:not(.is-neutral) > .album-panel .album-rail {
    grid-auto-columns: 200px;
    gap: 24px;
    padding-inline: 4px 28px;
  }

  body.library-page[data-ex-biblio] .pressing-filter-shell {
    display: block;
    margin-bottom: 72px;
  }

  body.library-page[data-ex-biblio] .pressing-filter-toggle {
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid rgba(216,183,101,.4);
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-filter-bar {
    display: none;
  }

  body.library-page[data-ex-biblio] .pressing-filter-shell.is-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 1190;
    background: rgba(0,0,0,.68);
  }

  body.library-page[data-ex-biblio] .pressing-filter-shell.is-open .pressing-filter-bar {
    position: fixed;
    inset: auto 0 0;
    z-index: 1200;
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 18px;
    margin: 0;
    padding: 58px 28px 30px;
    border-top: 1px solid rgba(216,183,101,.42);
    background: #171511;
  }

  body.library-page[data-ex-biblio] .pressing-filter-sheet-close {
    position: absolute;
    top: 14px;
    right: 20px;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid rgba(216,183,101,.32);
    background: transparent;
    color: #fffdf7;
  }

  body.library-page[data-ex-biblio] .workspace .pressing-rail-shell,
  body.library-page[data-ex-biblio] .workspace .pressing-rail-content,
  body.library-page[data-ex-biblio] .workspace .pressing-grid {
    display: block;
    overflow: visible;
    padding: 0;
  }

  body.library-page[data-ex-biblio] .workspace .pressing-rail-nav {
    display: none;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing,
  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing:nth-child(even),
  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing:nth-child(3n + 2),
  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing:nth-child(3n) {
    display: grid;
    grid-template-columns: 42px minmax(0,1fr);
    width: 100%;
    margin: 0 0 30px;
    padding: 26px 0 82px;
    border: 0;
    border-top: 1px solid rgba(255,253,247,.13);
    background: transparent;
    box-shadow: none;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing::after {
    left: 42px;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-card-data,
  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing::after,
  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing > .proofs {
    grid-column: 2;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing::after,
  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing > .proofs {
    justify-self: start;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-facts-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 18px 32px;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-fact strong,
  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .country-mark {
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  body.library-page[data-ex-biblio] .workspace[data-desktop-layout="catalog-flow"] .pressing-runout-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

/* Compte V2 — shell personnel inspiré de la clarté fonctionnelle Resacours,
   transposé dans le langage Exkave et branché sur les contrôles existants. */
body.profile-page .profile-app-shell {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  gap: clamp(24px, 3vw, 44px);
  align-items: start;
}

body.profile-page .profile-app-sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 22px;
  padding: 24px 18px;
  border: 1px solid rgba(216,183,101,.22);
  border-radius: 24px;
  background: linear-gradient(155deg, rgba(20,19,16,.98), rgba(7,7,6,.96));
  box-shadow: 0 24px 64px rgba(0,0,0,.3);
}

body.profile-page .profile-sidebar-back,
body.profile-page .profile-sidebar-nav a {
  display: grid;
  grid-template-columns: 28px minmax(0,1fr);
  gap: 10px;
  align-items: center;
  min-height: 46px;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 13px;
  color: rgba(255,253,247,.72);
  font-size: 14px;
  line-height: 1.2;
}

body.profile-page .profile-sidebar-back {
  border-color: rgba(216,183,101,.24);
  color: var(--reprise-paper);
}

body.profile-page .profile-sidebar-caption {
  margin: 0;
  padding: 0 12px;
  color: var(--reprise-gold);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

body.profile-page .profile-sidebar-nav { display: grid; gap: 4px; }
body.profile-page .profile-sidebar-nav a:hover,
body.profile-page .profile-sidebar-nav a:focus-visible {
  border-color: rgba(216,183,101,.25);
  color: var(--reprise-paper);
  background: rgba(216,183,101,.06);
}
body.profile-page .profile-sidebar-nav a.is-active {
  border-color: rgba(216,183,101,.48);
  color: #090908;
  background: linear-gradient(135deg, #f3df9b, #b78629);
  box-shadow: 0 14px 34px rgba(216,183,101,.16);
}
body.profile-page .profile-sidebar-nav a > span:first-child,
body.profile-page .profile-sidebar-back > span:first-child {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  font-size: 17px;
}

body.profile-page .profile-app-content { min-width: 0; }

html[data-exkave-theme] body.profile-page .profile-app-content > .hero,
html[data-theme] body.profile-page .profile-app-content > .hero,
body.profile-page .profile-app-content > .hero {
  min-height: 286px;
  margin-bottom: 24px;
  padding: 48px clamp(30px, 4vw, 58px);
  border-radius: 24px !important;
}
body.profile-page .profile-app-content > .hero h1 {
  max-width: 560px;
  font-size: clamp(42px, 5vw, 60px);
}
body.profile-page .profile-app-content > .hero .lead {
  max-width: 580px;
  margin-bottom: 0;
}

body.profile-page #profileForm {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  column-gap: clamp(24px, 3vw, 40px);
  row-gap: 0;
  padding: clamp(24px, 3vw, 38px) !important;
  border: 1px solid rgba(216,183,101,.22) !important;
  border-radius: 24px !important;
  background: linear-gradient(150deg, rgba(18,17,15,.94), rgba(7,7,6,.95)) !important;
  box-shadow: 0 26px 70px rgba(0,0,0,.28) !important;
}
body.profile-page #profileForm > * { grid-column: 2; min-width: 0; }
body.profile-page #profileForm > h2 {
  grid-column: 1 / -1;
  margin-bottom: 28px;
  padding-top: 0;
  border-top: 0;
  font-size: clamp(34px, 4vw, 48px);
}
body.profile-page #profileForm > .profile-head,
body.profile-page #profileForm > .profile-security-row,
body.profile-page #profileForm > .recovery,
body.profile-page #profileForm > .profile-theme-panel {
  grid-column: 1;
  align-self: start;
  margin: 0 0 18px !important;
  padding: 20px !important;
  border: 1px solid rgba(216,183,101,.2) !important;
  border-radius: 20px !important;
  background: rgba(255,253,247,.035) !important;
}
body.profile-page #profileForm > .profile-head {
  grid-row: 2;
  grid-template-columns: 96px minmax(0,1fr);
  gap: 16px;
  align-items: center;
}
body.profile-page #profileForm > .profile-security-row {
  grid-row: 3;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px !important;
}
body.profile-page #profileForm > .recovery { grid-row: 4; }
body.profile-page #profileForm > #resetPanel { grid-row: 4; }
body.profile-page #profileForm > .profile-theme-panel { grid-row: 5; }
body.profile-page #profileForm > .profile-head .avatar {
  width: 96px;
  height: 96px;
  font-size: 32px;
}
body.profile-page #profileForm > .profile-head label { margin-top: 0; }
body.profile-page #profileForm > .profile-head .photo-input {
  width: 100%;
  max-width: 100%;
  font-size: 12px;
}
body.profile-page #profileForm > .profile-security-row > div { min-width: 0; }
body.profile-page #profileForm > .google-auth-block {
  width: 100%;
  margin: 0 0 8px;
}
body.profile-page #profileForm > .row:not(.profile-security-row),
body.profile-page #profileForm > .captcha {
  padding: 20px 0;
}
body.profile-page #profileForm > .btns {
  justify-content: stretch;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
}
body.profile-page #profileForm > .btns > button:first-child { grid-column: 1 / -1; }
body.profile-page #profileForm > .profile-account-status {
  width: 100%;
  margin: 0;
  text-align: left;
}
body.profile-page #abonnement,
body.profile-page #marketplaceSellerPanel,
body.profile-page #workPanel {
  margin-top: 24px !important;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid rgba(216,183,101,.2) !important;
  border-radius: 24px !important;
  background: rgba(7,7,6,.86) !important;
}

@media (max-width: 1100px) {
  body.profile-page .profile-app-shell { grid-template-columns: 210px minmax(0,1fr); gap: 20px; }
  body.profile-page #profileForm { grid-template-columns: 1fr; }
  body.profile-page #profileForm > * { grid-column: 1; grid-row: auto !important; }
  body.profile-page #profileForm > .profile-head,
  body.profile-page #profileForm > .profile-security-row,
  body.profile-page #profileForm > .recovery,
  body.profile-page #profileForm > .profile-theme-panel { grid-column: 1; }
}

@media (max-width: 760px) {
  body.profile-page > .wrap { width: min(100%, calc(100vw - 20px)); }
  body.profile-page .profile-app-shell { display: block; }
  body.profile-page .profile-app-sidebar {
    position: relative;
    top: auto;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 14px;
    padding: 12px;
    border-radius: 18px;
  }
  body.profile-page .profile-sidebar-caption { display: none; }
  body.profile-page .profile-sidebar-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: none;
  }
  body.profile-page .profile-sidebar-nav::-webkit-scrollbar { display: none; }
  body.profile-page .profile-sidebar-nav a {
    display: inline-flex;
    grid-template-columns: none;
    flex: 0 0 auto;
    min-height: 42px;
    white-space: nowrap;
  }
  body.profile-page .profile-sidebar-nav a > span:first-child { width: 22px; height: 22px; }
  html[data-exkave-theme] body.profile-page .profile-app-content > .hero,
  html[data-theme] body.profile-page .profile-app-content > .hero,
  body.profile-page .profile-app-content > .hero {
    min-height: 250px;
    padding: 34px 24px;
  }
  body.profile-page #profileForm { padding: 22px 16px !important; }
  body.profile-page #profileForm > .profile-head {
    grid-template-columns: 82px minmax(0,1fr);
    padding: 16px !important;
  }
  body.profile-page #profileForm > .profile-head .avatar { width: 82px; height: 82px; }
  body.profile-page #profileForm > .btns { grid-template-columns: 1fr; }
  body.profile-page #profileForm > .btns > button:first-child { grid-column: 1; }
}

/* Compte V3 — navigation fonctionnelle, une vue par tâche. */
body.profile-page [hidden] { display: none !important; }
body.profile-page > .wrap { width: min(1440px, calc(100vw - 40px)); padding-top: 22px; }
body.profile-page .profile-mobile-bar { display: none; }
body.profile-page .profile-app-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(30px, 4vw, 64px);
  align-items: start;
}
body.profile-page .profile-app-sidebar {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 12px;
  max-height: calc(100vh - 108px);
  padding: 20px 18px 24px;
  overflow-y: auto;
  border: 1px solid rgba(216,183,101,.2);
  border-radius: 20px;
  background: #0b0b0a;
  box-shadow: 0 24px 60px rgba(0,0,0,.32);
}
body.profile-page .profile-sidebar-identity {
  display: grid;
  grid-template-columns: 48px minmax(0,1fr);
  gap: 12px;
  align-items: center;
  padding: 0 6px 16px;
  border-bottom: 1px solid rgba(255,253,247,.1);
}
body.profile-page .profile-sidebar-avatar {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(216,183,101,.65);
  border-radius: 50%;
  background: #17140e center / cover no-repeat;
  color: #f0d477;
  font-weight: 400;
}
body.profile-page .profile-sidebar-identity strong,
body.profile-page .profile-sidebar-identity small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.profile-page .profile-sidebar-identity strong { color: #fffdf7; font-size: 15px; }
body.profile-page .profile-sidebar-identity small { margin-top: 4px; color: rgba(255,253,247,.5); font-size: 12px; }
body.profile-page .profile-sidebar-caption { margin: 10px 10px 2px; padding: 0; color: rgba(216,183,101,.72); font-size: 10px; letter-spacing: .17em; }
body.profile-page .profile-sidebar-nav { display: grid; gap: 3px; }
body.profile-page .profile-sidebar-back,
body.profile-page .profile-sidebar-nav :is(a,button) {
  display: grid;
  grid-template-columns: 28px minmax(0,1fr);
  gap: 10px;
  align-items: center;
  min-height: 44px;
  width: 100%;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent !important;
  color: rgba(255,253,247,.72) !important;
  font: inherit;
  font-size: 14px;
  text-align: left;
  box-shadow: none !important;
}
body.profile-page .profile-sidebar-back { margin-bottom: 4px; border-color: rgba(216,183,101,.18); color: #fffdf7; }
body.profile-page .profile-sidebar-nav :is(a,button):hover,
body.profile-page .profile-sidebar-nav :is(a,button):focus-visible { border-color: rgba(216,183,101,.26); background: rgba(216,183,101,.06); color: #fffdf7; }
body.profile-page .profile-sidebar-nav button.is-active {
  border-color: rgba(216,183,101,.62);
  background: linear-gradient(135deg, #f0d98c, #b9872d) !important;
  color: #090908 !important;
}
body.profile-page .profile-sidebar-nav :is(a,button) > span:first-child,
body.profile-page .profile-sidebar-back > span:first-child { display: grid; width: 28px; height: 28px; place-items: center; font-size: 18px; }
body.profile-page .profile-drawer-scrim { display: none; }
body.profile-page .profile-app-content { min-width: 0; }
body.profile-page .profile-page-heading { margin: 8px 0 28px; }
body.profile-page .profile-page-heading h1 { margin: 7px 0 10px; color: #fffdf7; font-size: clamp(42px,5vw,64px); line-height: 1; letter-spacing: -.05em; }
body.profile-page .profile-page-heading > p:last-child { max-width: 720px; margin: 0; color: rgba(255,253,247,.58); font-size: 17px; line-height: 1.5; }
body.profile-page .profile-grid { display: block; }
body.profile-page #profileForm,
body.profile-page #abonnement,
body.profile-page #workPanel {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.profile-page #profileForm [data-profile-panel][hidden],
body.profile-page #abonnement[hidden],
body.profile-page #workPanel[hidden] { display: none !important; }
body.profile-page .profile-view-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 18px;
}
body.profile-page .profile-view-head h2 { margin: 5px 0 6px; color: #fffdf7; font-size: clamp(28px,3vw,38px); letter-spacing: -.035em; }
body.profile-page .profile-view-head p:last-child { max-width: 640px; margin: 0; color: rgba(255,253,247,.55); }
body.profile-page .profile-state-pill { padding: 8px 12px; border: 1px solid rgba(216,183,101,.34); border-radius: 999px; color: #e6c766; font-size: 12px; white-space: nowrap; }
body.profile-page .profile-layout-grid { display: grid; grid-template-columns: 270px minmax(0,1fr); gap: 18px; align-items: start; }
body.profile-page .profile-identity-card,
body.profile-page .profile-form-card,
body.profile-page .profile-section-card,
body.profile-page .recovery,
body.profile-page .profile-theme-panel,
body.profile-page #abonnement > :not(.profile-view-head),
body.profile-page #workPanel .list {
  border: 1px solid rgba(216,183,101,.2);
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(19,18,16,.98), rgba(8,8,7,.98));
}
body.profile-page .profile-identity-card { position: sticky; top: 88px; padding: 24px; text-align: center; }
body.profile-page .profile-identity-card .profile-head { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 0 0 20px; padding: 0; border: 0; }
body.profile-page .profile-identity-card .avatar { width: 120px; height: 120px; margin: 0 auto; font-size: 34px; }
body.profile-page .profile-identity-card .photo-input { font-size: 11px; }
body.profile-page .profile-identity-card .photo-input::file-selector-button {
  margin-right: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(216,183,101,.34);
  border-radius: 8px;
  background: rgba(216,183,101,.08);
  color: #fffdf7;
}
body.profile-page .profile-identity-card > strong,
body.profile-page .profile-identity-card > small { display: block; }
body.profile-page .profile-identity-card > strong { color: #fffdf7; font-size: 19px; }
body.profile-page .profile-identity-card > small { margin-top: 5px; color: rgba(255,253,247,.5); }
body.profile-page .profile-form-card,
body.profile-page .profile-section-card { padding: clamp(22px,3vw,34px); }
body.profile-page .profile-form-card h3,
body.profile-page .profile-section-card h3 { margin: 0 0 22px; color: #fffdf7; font-size: 22px; }
body.profile-page #profileForm .google-auth-block { width: 100%; margin: 0 0 22px; }
body.profile-page #profileForm .row,
body.profile-page #profileForm .captcha { display: grid; gap: 16px; margin: 0; padding: 0 0 18px; border: 0; }
body.profile-page #profileForm .profile-account-row,
body.profile-page #profileForm .profile-security-row { grid-template-columns: repeat(2,minmax(0,1fr)); }
body.profile-page #profileForm .profile-account-row { grid-template-columns: minmax(0,1fr); }
body.profile-page .profile-current-password { max-width: calc(50% - 9px); margin-bottom: 18px; }
body.profile-page .profile-current-password[hidden] { display: none !important; }
body.profile-page .profile-password-rule { margin: 14px 0 8px; color: rgba(255,255,255,.7); }
body.profile-page #profileForm .profile-details-row { grid-template-columns: repeat(2,minmax(0,1fr)); }
body.profile-page #profileForm .profile-details-row > div:last-child { grid-column: 1 / -1; }
body.profile-page #profileForm .profile-preferences-row { grid-template-columns: repeat(2,minmax(0,1fr)); }
body.profile-page #profileForm label { margin: 0 0 8px; color: rgba(255,253,247,.78); font-size: 13px; font-weight: 400; }
body.profile-page #profileForm :is(input,select,textarea) { min-height: 50px; border-color: rgba(255,253,247,.19); background: rgba(255,255,255,.035); }
body.profile-page #profileForm .profile-main-actions { display: flex; justify-content: flex-start; gap: 10px; padding: 4px 0 0; border: 0; }
body.profile-page #profileForm .profile-main-actions button { min-height: 48px; }
body.profile-page .profile-account-status { width: 100%; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid rgba(255,253,247,.08); border-bottom: 0; text-align: left; }
body.profile-page .profile-section-card + .recovery { margin-top: 18px; }
body.profile-page .recovery,
body.profile-page .profile-theme-panel { margin: 18px 0 0 !important; padding: clamp(22px,3vw,34px) !important; }
body.profile-page #abonnement .subscription-head { padding: clamp(22px,3vw,34px); }
body.profile-page #abonnement .plan-grid { margin: 18px 0 0; }
body.profile-page #abonnement .subscription-actions,
body.profile-page #abonnement .subscription-note { margin-top: 18px; }
body.profile-page #workPanel > h2 { display: none; }
body.profile-page #workPanel .list { margin: 0; padding: 18px; }
body.profile-page.profile-connected #googleAuthBlock,
body.profile-page.profile-connected #loginProfile,
body.profile-page.profile-connected #resendVerification,
body.profile-page.profile-connected .captcha { display: none !important; }
body.profile-page.profile-connected #resetProfile { margin-left: auto; }
body.profile-page.profile-auth-gateway .profile-app-shell { grid-template-columns: minmax(0,820px); justify-content: center; }
body.profile-page.profile-auth-gateway .profile-app-sidebar,
body.profile-page.profile-auth-gateway .profile-mobile-bar,
body.profile-page.profile-auth-gateway .profile-state-pill { display: none !important; }
body.profile-page.profile-auth-gateway .profile-page-heading { text-align: center; }
body.profile-page.profile-auth-gateway .profile-page-heading h1 { font-size: clamp(40px,5vw,58px); }
body.profile-page.profile-auth-gateway .profile-layout-grid { grid-template-columns: 1fr; }

/* Compte V4 — une page de réglages, sans navigation secondaire. */
body.profile-page .profile-mobile-bar,
body.profile-page .profile-app-sidebar,
body.profile-page .profile-drawer-scrim { display: none !important; }
body.profile-page .profile-app-shell {
  display: block;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 72px;
}
body.profile-page .profile-app-content { min-width: 0; }
body.profile-page .profile-page-heading {
  max-width: 760px;
  padding: 42px 0 26px;
}
body.profile-page .profile-page-heading h1 {
  font-size: clamp(42px, 6vw, 72px);
  line-height: .96;
  letter-spacing: -.055em;
}
body.profile-page .profile-page-heading > p:last-child {
  max-width: 650px;
  margin: 15px 0 0;
  color: #a9a397;
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.55;
}
body.profile-page #profileForm.card {
  display: grid;
  gap: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
body.profile-page #profileForm > .profile-view,
body.profile-page #profileForm > .profile-account-exit {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(216,183,101,.28);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(24,23,20,.96), rgba(10,10,9,.98));
  box-shadow: 0 22px 58px rgba(0,0,0,.28);
}
body.profile-page #profileForm > [data-profile-panel="profile"] + [data-profile-panel="security"] {
  margin-top: 0;
}
body.profile-page .profile-security-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 28px);
  align-items: stretch;
}
body.profile-page #profileForm .profile-security-layout .profile-security-row { grid-template-columns: 1fr; }
body.profile-page .profile-security-layout .profile-current-password { max-width: none; }
body.profile-page .profile-security-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  overflow: hidden;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(216,183,101,.24);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(216,183,101,.08), rgba(0,0,0,.12)),
    repeating-linear-gradient(135deg, rgba(216,183,101,.08) 0 18px, transparent 18px 38px);
}
body.profile-page .profile-security-visual h3 {
  max-width: 380px;
  margin: 7px 0 10px;
  color: #fffdf7;
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.02;
  letter-spacing: -.035em;
}
body.profile-page .profile-security-visual p:last-child {
  max-width: 420px;
  margin: 0;
  color: #aaa397;
  line-height: 1.55;
}
body.profile-page .profile-security-orbit {
  position: relative;
  width: clamp(150px, 17vw, 210px);
  aspect-ratio: 1;
  margin: 0 auto clamp(28px, 4vw, 52px);
  border: 1px solid rgba(216,183,101,.28);
  border-radius: 50%;
  box-shadow: 0 0 0 22px rgba(216,183,101,.035), 0 0 70px rgba(216,183,101,.1);
}
body.profile-page .profile-security-disc {
  position: absolute;
  inset: 14%;
  border: 2px solid #d8b765;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, rgba(216,183,101,.2) 0 2px, transparent 2px 8px);
  animation: profile-security-spin 14s linear infinite;
}
body.profile-page .profile-security-disc::after {
  content: "";
  position: absolute;
  top: 8%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f3d984;
  box-shadow: 0 0 16px rgba(243,217,132,.8);
}
body.profile-page .profile-security-lock {
  position: absolute;
  z-index: 2;
  top: 46%;
  left: 50%;
  width: 46px;
  height: 38px;
  translate: -50% -34%;
  border: 3px solid #f0cf70;
  border-radius: 8px;
  background: rgba(8,8,7,.9);
}
body.profile-page .profile-security-lock::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 27px;
  width: 25px;
  height: 24px;
  translate: -50% 0;
  border: 3px solid #f0cf70;
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
}
body.profile-page .profile-security-lock::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  width: 5px;
  height: 12px;
  translate: -50% 0;
  border-radius: 999px;
  background: #f0cf70;
}
@keyframes profile-security-spin { to { rotate: 360deg; } }
@media (prefers-reduced-motion: reduce) {
  body.profile-page .profile-security-disc { animation: none; }
}
body.profile-page .profile-view-head {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,253,247,.09);
}
body.profile-page .profile-view-head h2,
body.profile-page .profile-account-exit h2 { margin-bottom: 6px; }
body.profile-page .profile-layout-grid {
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: stretch;
}
body.profile-page .profile-identity-card,
body.profile-page .profile-form-card,
body.profile-page .profile-section-card {
  padding: clamp(18px, 2.5vw, 28px);
  border: 1px solid rgba(255,253,247,.09);
  border-radius: 18px;
  background: rgba(0,0,0,.22);
}
body.profile-page .profile-identity-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
body.profile-page .profile-identity-card .profile-head {
  display: flex;
  flex-direction: column;
  margin: 0 0 16px;
}
body.profile-page .profile-identity-card label { margin-top: 6px; }
body.profile-page .profile-identity-card .photo-input {
  width: 100%;
  max-width: 230px;
  font-size: 12px;
}
body.profile-page .profile-photo-remove {
  width: auto;
  min-height: 38px;
  margin: 10px auto 0;
  padding: 8px 13px;
  border: 1px solid rgba(255,253,247,.16);
  border-radius: 999px;
  background: transparent;
  color: #d6d0c2;
  box-shadow: none;
  font-size: 13px;
}
body.profile-page .profile-account-row,
body.profile-page .profile-details-row,
body.profile-page .profile-security-row { grid-template-columns: 1fr; }
body.profile-page .profile-marketplace-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
}
body.profile-page #profileForm input:not(.photo-input),
body.profile-page #profileForm select,
body.profile-page #profileForm textarea,
body.profile-page #profileForm .password-field { width: 100%; max-width: none; }
body.profile-page .profile-main-actions { margin-top: 24px; }
body.profile-page .profile-main-actions button[type="submit"],
body.profile-page #changePassword {
  min-height: 50px;
  padding: 0 22px;
  border-radius: 12px;
  font-size: 16px;
}
body.profile-page.profile-connected #recoveryPanel,
body.profile-page.profile-connected #resetPanel { display: none !important; }
body.profile-page .profile-account-exit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
body.profile-page .profile-account-exit p { margin: 0; color: #a9a397; }
body.profile-page .profile-account-exit #resetProfile {
  min-width: 170px;
  min-height: 46px;
  border-radius: 999px;
}
body.profile-page.profile-connected #abonnement,
body.profile-page.profile-connected #marketplaceSellerPanel,
body.profile-page.profile-connected #workPanel { display: none !important; }

@media (max-width: 760px) {
  body.profile-page .profile-app-shell { width: min(100% - 24px, 620px); margin-bottom: 48px; }
  body.profile-page .profile-page-heading { padding: 28px 4px 20px; }
  body.profile-page .profile-page-heading h1 { font-size: 44px; }
  body.profile-page #profileForm > .profile-view,
  body.profile-page #profileForm > .profile-account-exit { padding: 18px; border-radius: 19px; }
  body.profile-page .profile-layout-grid { grid-template-columns: 1fr; gap: 14px; }
  body.profile-page .profile-marketplace-fields { grid-template-columns: 1fr; }
  body.profile-page .profile-security-layout { grid-template-columns: 1fr; }
  body.profile-page .profile-security-visual { min-height: 430px; }
  body.profile-page .profile-identity-card { padding-block: 24px; }
  body.profile-page .profile-account-exit { align-items: stretch; flex-direction: column; }
  body.profile-page .profile-account-exit #resetProfile { width: 100%; }
}
body.profile-page.profile-auth-gateway .profile-identity-card { display: none; }
body.profile-page.profile-auth-gateway .profile-view-head { display: none; }

@media (max-width: 980px) {
  body.profile-page .profile-app-shell { grid-template-columns: 220px minmax(0,1fr); gap: 24px; }
  body.profile-page .profile-layout-grid { grid-template-columns: 220px minmax(0,1fr); }
  body.profile-page #profileForm :is(.profile-account-row,.profile-security-row,.profile-details-row,.profile-preferences-row) { grid-template-columns: 1fr; }
  body.profile-page .profile-current-password { max-width: none; }
  body.profile-page #profileForm .profile-details-row > div:last-child { grid-column: auto; }
}

@media (max-width: 760px) {
  body.profile-page > .wrap { width: 100%; padding: 12px 14px 60px; }
  body.profile-page .profile-mobile-bar {
    position: sticky;
    top: 66px;
    z-index: 80;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 54px;
    margin: 0 0 22px;
    padding: 8px 12px;
    border: 1px solid rgba(216,183,101,.22);
    border-radius: 14px;
    background: rgba(8,8,7,.96);
    backdrop-filter: blur(14px);
  }
  body.profile-page .profile-drawer-toggle { display: grid; grid-template-columns: 20px 1fr; grid-template-rows: repeat(3,4px); column-gap: 10px; align-items: center; padding: 7px; border: 0; background: transparent; box-shadow: none; color: #fffdf7; }
  body.profile-page .profile-drawer-toggle > span { grid-column: 1; display: block; width: 20px; height: 2px; border-radius: 2px; background: #d8b765; }
  body.profile-page .profile-drawer-toggle b { grid-column: 2; grid-row: 1 / 4; font-size: 14px; }
  body.profile-page .profile-mobile-location { color: rgba(255,253,247,.52); font-size: 13px; }
  body.profile-page .profile-app-shell { display: block; }
  body.profile-page .profile-app-sidebar {
    position: fixed;
    z-index: 120;
    inset: 123px auto 0 0;
    width: min(320px,88vw);
    max-height: none;
    padding: 24px 18px;
    border-radius: 0 20px 20px 0;
    translate: -105% 0;
    transition: translate .22s ease;
  }
  body.profile-page.profile-drawer-open .profile-app-sidebar { translate: 0 0; }
  html body.profile-page button.profile-drawer-scrim { position: fixed; z-index: 110; inset: 123px 0 0; width: 100%; height: auto; padding: 0; border: 0; border-radius: 0; background-color: rgba(0,0,0,.72) !important; background-image: none !important; box-shadow: none !important; opacity: 0; pointer-events: none; transition: opacity .22s ease; }
  body.profile-page.profile-drawer-open .profile-drawer-scrim { display: block; opacity: 1; pointer-events: auto; }
  body.profile-page .profile-page-heading { margin-bottom: 24px; }
  body.profile-page .profile-page-heading h1 { font-size: 42px; }
  body.profile-page .profile-page-heading > p:last-child { font-size: 15px; }
  body.profile-page .profile-view-head { display: block; }
  body.profile-page .profile-state-pill { display: inline-block; margin-top: 12px; }
  body.profile-page .profile-layout-grid { grid-template-columns: 1fr; }
  body.profile-page .profile-identity-card { position: static; display: grid; grid-template-columns: 94px minmax(0,1fr); gap: 14px; align-items: center; text-align: left; }
  body.profile-page .profile-identity-card .profile-head { grid-row: 1 / 3; margin: 0; }
  body.profile-page .profile-identity-card .avatar { width: 88px; height: 88px; }
  body.profile-page .profile-identity-card .profile-head > div:last-child { grid-column: 1 / -1; }
  body.profile-page .profile-form-card,
  body.profile-page .profile-section-card { padding: 20px 16px; }
  body.profile-page #profileForm .profile-main-actions { display: grid; grid-template-columns: 1fr; }
  body.profile-page.profile-connected #resetProfile { margin-left: 0; }
  body.profile-page #abonnement .subscription-head { grid-template-columns: 1fr; gap: 20px; }
  body.profile-page #abonnement .subscription-status { text-align: left; }
}

@media (max-width: 760px) {
  body.profile-page .profile-page-heading { padding: 72px 4px 20px; margin-bottom: 0; }
  body.profile-page .profile-identity-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
  }
  body.profile-page .profile-identity-card .profile-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 0 0 8px;
  }
  body.profile-page .profile-identity-card .profile-head > div:last-child { width: 100%; }
  body.profile-page .profile-identity-card .avatar { width: 96px; height: 96px; }
}

/* Compte V6 — réglages calmes, sans hero décoratif ni cartes imbriquées. */
body.profile-page .profile-app-content > .profile-page-heading {
  width: 100%;
  max-width: none;
  min-height: 0;
  margin: 22px auto 28px;
  padding: 26px 0 18px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
body.profile-page .profile-grid { display: block; }
body.profile-page #profileForm.card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  margin: 0 auto !important;
  gap: 24px !important;
}
body.profile-page #profileForm.card > * {
  grid-column: 1;
  min-width: 0;
}
body.profile-page #profileForm > .profile-view,
body.profile-page #profileForm > .profile-account-exit {
  padding: clamp(24px, 3vw, 38px);
  border-radius: 20px;
  box-shadow: none;
}
body.profile-page .profile-layout-grid {
  grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 46px);
}
body.profile-page .profile-identity-card,
body.profile-page .profile-form-card,
body.profile-page .profile-section-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
body.profile-page .profile-identity-card {
  justify-content: flex-start;
  padding-right: clamp(20px, 3vw, 38px);
  border-right: 1px solid rgba(255,253,247,.09);
}
body.profile-page .profile-marketplace-fields { gap: 18px 20px; }
body.profile-page .profile-subsection-head {
  margin: 32px 0 8px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,253,247,.1);
}
body.profile-page .profile-subsection-head h3 { margin: 5px 0 8px; font-size: 22px; }
body.profile-page .profile-subsection-head p:last-child { margin: 0; color: #9f998e; line-height: 1.5; }
body.profile-page .profile-address-field { grid-column: 1 / -1; }
body.profile-page .profile-seller-settings {
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,253,247,.1);
}
body.profile-page .profile-seller-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  border: 0;
}
body.profile-page .profile-seller-choice legend {
  grid-column: 1 / -1;
  margin-bottom: 8px;
  color: rgba(255,253,247,.72);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
body.profile-page .profile-seller-choice > label {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  min-height: 104px;
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(255,253,247,.13);
  border-radius: 14px;
  background: rgba(0,0,0,.18);
  cursor: pointer;
}
body.profile-page .profile-seller-choice input { width: 18px !important; min-height: 18px !important; margin-top: 2px; accent-color: #d8b765; }
body.profile-page .profile-seller-choice strong,
body.profile-page .profile-seller-choice small { display: block; }
body.profile-page .profile-seller-choice strong { color: #fffdf7; font-size: 16px; }
body.profile-page .profile-seller-choice small { margin-top: 7px; color: #9f998e; font-size: 13px; line-height: 1.45; }
body.profile-page .profile-professional-fields { margin-top: 26px; padding-top: 26px; border-top: 1px solid rgba(255,253,247,.09); }
body.profile-page .profile-form-notice { margin: 0 0 22px; padding: 14px 16px; border-left: 3px solid #d8b765; background: rgba(216,183,101,.06); color: #bbb4a7; line-height: 1.5; }
body.profile-page .profile-check-field { display: flex; grid-column: 1 / -1; gap: 10px; align-items: center; margin: 0 !important; }
body.profile-page .profile-check-field input { width: 18px !important; min-height: 18px !important; accent-color: #d8b765; }
body.profile-page .profile-professional-address { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 20px; margin-top: 20px; }
body.profile-page .profile-professional-address > div:first-child { grid-column: 1 / -1; }
body.profile-page .profile-security-layout { grid-template-columns: minmax(0, 680px); }
body.profile-page #profileForm .profile-security-layout .profile-security-row { grid-template-columns: repeat(2,minmax(0,1fr)); }
body.profile-page .profile-current-password { max-width: calc(50% - 10px); }
body.profile-page .profile-account-exit { border-color: rgba(255,253,247,.12) !important; background: #0b0b0a !important; }
body.profile-page .profile-account-exit #resetProfile { border-color: rgba(255,253,247,.2); background: transparent !important; color: #fffdf7; }
body.profile-page .profile-account-exit-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
body.profile-page .profile-delete-account {
  min-height: 46px;
  border-color: rgba(209,105,86,.46) !important;
  border-radius: 999px;
  background: rgba(112,35,29,.18) !important;
  color: #f0b6ac !important;
  box-shadow: none;
}
body.profile-page .profile-delete-status { min-height: 18px; margin-top: 10px !important; color: #e6a99e !important; font-size: 13px; }
body.profile-page.profile-delete-dialog-open { overflow: hidden; }
body.profile-page .profile-delete-overlay {
  position: fixed;
  inset: 0;
  z-index: 10020;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0,0,0,.82);
  backdrop-filter: blur(8px);
}
body.profile-page .profile-delete-overlay[hidden] { display: none !important; }
body.profile-page .profile-delete-dialog {
  width: min(100%, 580px);
  padding: clamp(26px,4vw,42px);
  border: 1px solid rgba(209,105,86,.48);
  border-radius: 24px;
  background: linear-gradient(145deg,#151311,#090909 62%);
  box-shadow: 0 26px 80px rgba(0,0,0,.72), inset 0 1px rgba(255,255,255,.04);
}
body.profile-page .profile-delete-dialog h2 { margin: 8px 0 14px; color: #fffdf7; font-size: clamp(28px,4vw,40px); line-height: 1.05; }
body.profile-page .profile-delete-dialog-copy { margin: 0 0 24px !important; color: #bdb6aa !important; font-size: 16px; line-height: 1.55; }
body.profile-page .profile-delete-dialog label { display: block; margin-bottom: 10px; color: #fffdf7; font-size: 14px; }
body.profile-page .profile-delete-dialog input { width: 100%; min-height: 54px; border-color: rgba(209,105,86,.5) !important; letter-spacing: .12em; text-transform: uppercase; }
body.profile-page .profile-delete-dialog-status { min-height: 22px; margin: 12px 0 0 !important; color: #e6a99e !important; font-size: 13px; }
body.profile-page .profile-delete-dialog-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 18px; }
body.profile-page .profile-delete-dialog-actions button { min-height: 48px; }
body.profile-page .profile-delete-dialog-actions .profile-delete-account:not(:disabled) { background: #8f3027 !important; color: #fff !important; }
body.profile-page .profile-delete-dialog-actions .profile-delete-account:disabled { opacity: .35; cursor: not-allowed; }
@media (max-width: 760px) {
  body.profile-page .profile-app-content > .profile-page-heading {
    margin: 12px 0 20px;
    padding: 18px 4px 12px;
  }
  body.profile-page .profile-layout-grid,
  body.profile-page .profile-seller-choice,
  body.profile-page .profile-professional-address,
  body.profile-page #profileForm .profile-security-layout .profile-security-row {
    grid-template-columns: 1fr;
  }
  body.profile-page .profile-identity-card { padding: 0 0 24px; border-right: 0; border-bottom: 1px solid rgba(255,253,247,.09); }
  body.profile-page .profile-current-password { max-width: none; }
  body.profile-page #profileForm > .profile-view,
  body.profile-page #profileForm > .profile-account-exit { padding: 20px 17px; }
  body.profile-page .profile-account-exit-actions { display: grid; grid-template-columns: 1fr; width: 100%; }
  body.profile-page .profile-account-exit-actions button { width: 100%; }
  body.profile-page .profile-delete-overlay { padding: 14px; }
  body.profile-page .profile-delete-dialog-actions { display: grid; grid-template-columns: 1fr; }
  body.profile-page .profile-delete-dialog-actions button { width: 100%; }
}

/* ===========================================================================
   MARQUEUR DE FIN DE FEUILLE — NE PAS DEPLACER, NE PAS SUPPRIMER
   Doit rester la DERNIERE regle du fichier. `deploy/verifier-css.sh` la cherche
   ici, et le smoke navigateur la cherche dans `cssRules` : si elle manque, la
   feuille a ete coupee en route et des regles sont ignorees en silence.
   Ajoute le 2026-08-18 : la garde refusait ces deux feuilles neuves, faute de
   marqueur. Aucune autre ligne de leur contenu n'est touchee.
   =========================================================================== */
:root { --ex-fin-exkave-ui-reprise: 1; }
