/* M06 — Optical cardstock camber, using EXISTING surfaces only.
   An intentionally subtle stationary impression of natural card bow.
   No clip-path, filter displacement, new DOM surface, shader, or animated geometry.
   All functionality and the 5:7 card bounding-box remain unchanged. */
html[data-camber="on"] .song.material-card {
  /* Tiny, deterministic irregularities instead of four identical corners. */
  border-radius: 9px 7px 10px 8px / 8px 10px 7px 9px;
}
html[data-camber="on"] .song.material-card:nth-child(3n+2) {
  border-radius: 8px 10px 8px 9px / 10px 8px 9px 7px;
}
html[data-camber="on"] .song.material-card:nth-child(3n) {
  border-radius: 10px 8px 9px 7px / 8px 9px 10px 8px;
}
/* The artwork and printed text aren't warped; existing coating simulates the surface bending. */
html[data-camber="on"] .song.material-card .mat-lacquer {
  background:
    radial-gradient(ellipse 33% 85% at 52% 50%, rgba(255,252,239,.075) 0%, rgba(255,255,255,.024) 55%, transparent 95%),
    radial-gradient(ellipse 11% 70% at 7% 51%, rgba(255,253,244,.072) 0%, transparent 98%),
    radial-gradient(ellipse 110% 78% at var(--m-x) var(--m-y), rgba(255,253,244,.19),rgba(255,255,255,.025) 39%,transparent 78%),
    linear-gradient(132deg,rgba(255,255,255,.11),rgba(255,255,255,0) 30%,transparent 65%,rgba(7,9,11,.08));
}
/* A curved falloff along each side makes the otherwise flat edge read as very slightly bowed. */
html[data-camber="on"] .song.material-card .mat-cut {
  background:
    radial-gradient(ellipse 13px 58% at 100% 47%,rgba(0,0,0,.105),rgba(0,0,0,.028) 45%,transparent 100%),
    radial-gradient(ellipse 11px 52% at 0% 56%,rgba(255,255,255,.052),transparent 100%);
}
/* The texture layers follow the corner outline without changing the subject crop. */
html[data-camber="on"] .song.material-card .mat-paper,
html[data-camber="on"] .song.material-card .mat-lacquer,
html[data-camber="on"] .song.material-card .mat-cut {
  border-radius: 3px 2px 4px 3px / 2px 3px 2px 4px;
}
/* Physical-material off should also turn optical camber off. */
html[data-material="off"] .song.material-card {border-radius:7px;}
/* Always accessible alongside ART and BACKGROUND controls, including in player view. */
.camber-toggle {right:196px;min-width:75px;white-space:nowrap;}
@media(max-width:360px) {
  .camber-toggle{right:188px;min-width:67px;padding:0 6px;font-size:9px;}
}
