/* One button system for the whole site (Omer, 2026-11-15: "no black frames; if there is white it is white everywhere, if
   grey then grey everywhere; not a billion light shades"; icons and words centred in their boxes).
   Loaded last. Light buttons are #fff, dark ones #000, nothing is outlined, and every button centres what it holds. */
:root { --btn-light: #fff; --btn-dark: #000; }

/* centred contents, one line height, so a glyph sits in the middle of its box */
.pill, .lk, .mu-pl, .mu-next, .bo-next, .px-prev, .px-next, .mu-d-nav button, .mu-d-act > *, .mu-x, .wb-pill, .project-next, .wb-next, .motion-next, .so-next {
  display: inline-flex; align-items: center !important; line-height: 1 !important; box-sizing: border-box; } /* display without !important: a hidden one stays hidden */
.pill:not(.coll .pill), #muPrev, #muNext, .px-prev, .px-next { justify-content: center !important; }
.pill .kt-w, .lk .kt-w, .mu-pl .kt-w { line-height: 1 !important; }

/* the light ones: white, no frame, no frost */
.pill:not(.coll .pill), .lk.lk-ask, .mu-d-act > button, .mu-d-act > a, .mu-d-nav button:not([data-go="1"]), .mu-next, .bo-next, .px-prev, .px-next, .ghost,
#motion .lk:not([aria-pressed="true"]):not(.lk-sh):not(.lk-ask) {
  background: var(--btn-light) !important; color: #000 !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; opacity: 1 !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.music-stage.lg .mu-steps .pill, .music-stage.lg .mu-next { background: var(--btn-light) !important; color: #000 !important; }
#motion .lk.lk-ask { background: var(--btn-light) !important; color: #000 !important; }
.mu-d-nav button[disabled] { opacity: .4 !important; }
/* the dark ones stay pure black with the paper's cream type */
.lk.lk-sh:not(.done), .mu-d-nav button[data-go="1"] { background: var(--btn-dark) !important; border: 0 !important; box-shadow: none !important; }
@media (hover: hover) and (pointer: fine) { .pill:not(.coll .pill):hover, .mu-next:hover, .bo-next:hover, .px-prev:hover, .px-next:hover { background: #000 !important; color: #fff !important; } }

/* Share: Omer's own icon (r2/media/share-icon.svg), drawn in the button's ink */
.lk-sh i { width: 18px !important; height: 18px !important; background: currentColor; -webkit-mask: url(media/share-icon.svg) center / contain no-repeat; mask: url(media/share-icon.svg) center / contain no-repeat; }
.lk-sh i::before, .lk-sh i::after { display: none !important; }

/* streaming: never narrower than square; Apple Music in its own gradient */
.mu-pl { flex: 0 0 auto !important; min-width: 0; aspect-ratio: 1; height: 40px; padding: 0 !important; }
.mu-plat:has(> .mu-pl:only-child) .mu-pl { aspect-ratio: auto; padding: 0 14px !important; }
.mu-plat { width: auto !important; flex: 0 0 auto !important; }
.mu-pl[title="Apple Music"] { background: linear-gradient(180deg, #FB5C74 0%, #FA233B 100%) !important; }
.mu-detail .mu-plat { flex: 1 1 auto !important; } .mu-detail .mu-pl { flex: 1 1 0 !important; aspect-ratio: auto; height: 52px; }
@media (max-width: 760px) {
  /* the whole row fits a 360px screen with three platforms: squares of 48, gaps of 4, the ask takes what is left */
  .lk-mu { gap: 4px !important; } .lk-mu .mu-plat { gap: 4px; }
  .lk-mu .lk.lk-ask { flex: 1 1 0 !important; min-width: 0; height: 48px !important; padding: 0 10px !important; font-size: 14px !important; justify-content: flex-start; }
  .mu-pl { height: 48px; } .mu-pl svg { width: 24px; height: 24px; }
  .lk-mu > .lk-sh, .lk-pair.lk-mu .lk.lk-sh { flex: 0 0 48px !important; width: 48px !important; height: 48px !important; }
}
/* the brief's choices: white until picked, black when picked, no outline */
.bf-chip { background: var(--btn-light) !important; box-shadow: none !important; }
.bf-chip[aria-pressed="true"] { background: var(--btn-dark) !important; }
@media (hover: hover) and (pointer: fine) { .bf-chip:not([aria-pressed="true"]):hover { background: #000 !important; color: #F3E7D3 !important; } }
.so-next.f-btn { box-shadow: none !important; border: 0 !important; }
/* left alone on purpose: the TV's own knobs and power button (part of the object), and the liquid glass over the poster wall */

/* Like this is gone from the whole site (Omer, 2026-11-15); "Want one like this?" adds the work to the brief anyway.
   Share is the icon alone, in a black square as tall as the buttons beside it. */
.lk-pair > .lk:not(.lk-ask):not(.lk-sh) { display: none !important; }
.lk.lk-sh { aspect-ratio: 1; width: auto; padding: 0 !important; justify-content: center !important; gap: 0 !important; }
.lk.lk-sh span { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.lk.lk-sh i { width: 20px !important; height: 20px !important; }
.lk-pair { flex-wrap: nowrap !important; align-items: stretch; }
@media (max-width: 760px) { .lk-pair:has(.lk-ask:not([hidden])) { width: 100%; } .lk-pair .lk.lk-ask { flex: 1 1 0 !important; height: 52px; } .lk-pair .lk.lk-sh { height: 52px; flex: 0 0 52px !important; } }

/* Web design on a phone: the name, its description right under it, then the buttons: the ask and Share, then Visit and
   Full screen side by side (Omer, 2026-11-15). The line of what I did is left out here: the description says it. */
.wp .ww-foot { display: flex !important; flex-wrap: wrap; gap: 6px; }
.wp .ww-foot > * { margin: 0 !important; }
.wp .ww-info { order: 0; flex: 1 0 100%; } .wp .ww-info span { display: none !important; }
.wp .ww-about { order: 1; flex: 1 0 100%; margin: 4px 0 10px !important; }
.wp .lk-ww { order: 2; flex: 1 0 100%; }
.wp .ww-visit, .wp .ww-full { order: 3; flex: 1 1 0; height: 52px; justify-content: center !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; font: 600 15px/1 'Albert Sans', system-ui, sans-serif !important; }
.wp .ww-visit { background: var(--btn-light) !important; color: #000 !important; }
.wp .ww-full { background: var(--btn-dark) !important; color: #fff !important; }
.wp .ww-visit[hidden], .wp .ww-full[hidden] { display: none !important; }
@media (max-width: 760px) { /* the ask may take two lines when three platforms leave it little room */
  .lk-mu .lk.lk-ask, .lk-mu .lk.lk-ask > span { white-space: normal !important; overflow-wrap: normal; text-align: left; line-height: 1.12 !important; }
  .lk-mu .lk.lk-ask kt-w { white-space: nowrap; line-height: 1.12 !important; } }
@media (max-width: 760px) { .lk-pair.lk-mu { max-width: calc(100vw - 2 * var(--pad, 16px)); } }
/* the caption's own type rules (lab3.css .mu-cap span / b) must not reach the buttons inside it */
.mu-cap .lk > span { margin: 0 !important; font-size: inherit !important; font-family: inherit !important; }
.mu-cap .lk > b { margin: 0 !important; font: 600 17px/1 'Albert Sans', system-ui, sans-serif !important; text-transform: none !important; }

/* desktop: the caption ends well above the album (Omer, 2026-11-15: it touched the album's top edge). The "Music" kicker
   goes (the bar already names the section) and Turn to back sits on the same row as the other buttons. */
@media (min-width: 761px) {
  .music .mu-cap { display: flex !important; flex-wrap: wrap; align-items: stretch; column-gap: 6px; row-gap: 4px; }
  .music .mu-cap > .kicker { display: none !important; }
  .music .mu-cap > b, .music .mu-cap > span, .music .mu-cap > em { flex: 1 0 100%; }
  .music .mu-cap > em:empty { display: none; }
  .music .mu-cap > span { margin-bottom: 10px; }
  .music .mu-cap > #muFlip { height: 40px; margin: 0 !important; }
}
@media (min-width: 761px) { .music .mu-cap { max-width: min(640px, 60vw) !important; } .music .mu-cap .lk-pair { width: max-content; } .lk-mu .lk.lk-ask { flex: none !important; min-width: max-content; } }
@media (min-width: 761px) { .music .mu-cap { width: min(640px, 60vw); } .music .mu-cap > span { text-align: left; unicode-bidi: plaintext; } }
/* Events: the file tags are white or black like every other button; the word says what the file is */
.r2-tag:not(.photo) { background: var(--btn-light) !important; box-shadow: none !important; outline: 0 !important; }
.bf-back { background: var(--btn-light) !important; box-shadow: none !important; justify-content: center; }

/* the chapter cards' names in the tall face again (Omer, 2026-11-15: the section names stay in Anton; the sweep to Albert Sans had reached them) */
.s3-cw { font-family: Anton, 'Albert Sans', sans-serif !important; font-weight: 400 !important; text-transform: uppercase; letter-spacing: 0 !important; line-height: .92 !important; font-size: clamp(76px, 15vw, 250px); }
.s3-ch .s3-cw { font-size: clamp(76px, 13vw, 230px); }
