/* "Like this" (r2/likes.js): one square button beside the work in focus, the count at the end of Hire me, and the
   picture that flies there. Sharp corners; black until pressed, then the brief's own pink */
.lk { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 11px; background: #000; color: #F3E7D3;
  font: 600 14px/1 'Albert Sans', system-ui, sans-serif; white-space: nowrap; pointer-events: auto; width: max-content; flex: none; justify-self: start; align-self: start; transition: background-color .16s, color .16s; }
.lk[hidden] { display: none; }
.lk i { position: relative; width: 12px; height: 12px; flex: none; }
.lk i::before, .lk i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: currentColor; transition: transform .2s cubic-bezier(0.23, 1, 0.32, 1); }
.lk i::after { transform: rotate(90deg); }
.lk[aria-pressed="true"] { background: #F25BA9; color: #000; }
.lk[aria-pressed="true"] i::before { transform: translate(-3px, 2px) rotate(45deg) scaleX(.5); } /* the plus folds into a tick */
.lk[aria-pressed="true"] i::after { transform: translate(2px, 0) rotate(-45deg) scaleX(.9); }
.lk:focus-visible { outline: 3px solid #2F5BFF; outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .lk:not([aria-pressed="true"]):hover { background: #F25BA9; color: #000; } }
.lk-n { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin: 0 -8px 0 9px; padding: 0 5px; box-sizing: border-box; background: #F25BA9; color: #000; font: 700 12px/1 'Albert Sans', system-ui, sans-serif; font-style: normal; }
.lk-n[hidden] { display: none; }
.lk-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.lk-fly { position: fixed; z-index: 2147483000; pointer-events: none; object-fit: cover; background: #F25BA9; box-shadow: 0 2px 3px rgba(0, 0, 0, .25), 0 18px 28px -14px rgba(0, 0, 0, .5); will-change: transform; }
/* on Motion's black ground it turns over: cream, black type */
#motion .lk:not([aria-pressed="true"]) { background: #f3f1ec; color: #000; }
/* the rail's own buttons style every button in its row; the mark keeps its own shape there */
.rail-info .row .lk { display: inline-flex; align-items: center; gap: 8px; padding: 0 14px 0 11px; }
.rail-info .row .lk[hidden] { display: none; }
/* in the Motion caption it sits on the title's line */
.tv-now .lk-pair { align-self: center; margin-left: auto; }
@media (max-width: 760px) { .tv-now .lk-pair { margin: 12px 0 0; } .lk { height: 44px; } .lk-n { margin-right: -6px; } }
@media (prefers-reduced-motion: reduce) { .lk, .lk i::before, .lk i::after { transition: none; } }

/* the pair: Like this and Share, side by side, the way the interface sets its blocks */
.lk-pair { display: inline-flex; align-items: flex-start; gap: 6px; width: max-content; max-width: 100%; justify-self: start; align-self: start; pointer-events: auto; }
.lk-pair[hidden], .lk[hidden] { display: none; }
/* Share: an arrow leaving a square, drawn with two borders; once pressed it says what happened, in the pink */
.lk-sh i::before { width: 9px; height: 9px; margin: -4px 0 0 -6px; background: none; border: 0 solid currentColor; border-width: 2px 0 0 2px; transform: rotate(45deg) translate(2px, 2px); }
.lk-sh i::after { width: 2px; height: 14px; margin: -7px 0 0 -1px; transform: none; }
.lk-sh.done { background: #F25BA9; color: #000; }
.lk-sh:not(.done):not([aria-pressed="true"]) { background: #000; }
#motion .lk-sh.done, .lk-sh.done { background: #F25BA9; color: #000; }
@media (hover: hover) and (pointer: fine) { .lk-sh:not(.done):hover { background: #F25BA9; color: #000; } }
.rail-info .row .lk-pair { margin-right: 6px; }

/* One like this (r2/likes.js): the way straight to the brief with this work, first in the row, white on any paper */
.lk-pair { flex-wrap: wrap; }
.lk.lk-ask { background: #fff; color: #000; box-shadow: inset 0 0 0 2px #000; gap: 10px; padding: 0 14px; font-weight: 700; }
.lk.lk-ask b { font: 600 17px/1 'Albert Sans', system-ui, sans-serif; transition: transform .25s cubic-bezier(.23, 1, .32, 1); }
@media (hover: hover) and (pointer: fine) { .lk.lk-ask:hover { background: #000; color: #fff; } .lk.lk-ask:hover b { transform: translateX(3px); } }
@media (max-width: 760px) { .lk.lk-ask { box-shadow: none; } /* filled, no frame on a phone (2026-11-15) */ .lk-pair:has(.lk-ask:not([hidden])) { width: 100%; } .lk-pair .lk.lk-ask { flex: 1 0 100%; max-width: 100%; justify-content: space-between; } }

/* Music (Omer, 2026-11-15): no Like this; one row: the ask, the platforms (Listen with the logo for one link, the space
   split into logos for two or three), and Share as a square; each platform in its own colours */
.lk-mu > .lk:not(.lk-ask):not(.lk-sh) { display: none !important; }
.lk-mu { flex-wrap: nowrap; align-items: stretch; }
.lk-mu .lk.lk-ask { flex: 1 1 auto; min-width: 0; }
.mu-plat { display: flex; gap: 4px; flex: 0 0 auto; width: 132px; }
.mu-plat[hidden] { display: none; }
.mu-pl { flex: 1 1 0; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 100%; min-height: 40px; background: var(--pb); color: var(--pf); text-decoration: none; font: 700 15px/1 'Albert Sans', system-ui, sans-serif; pointer-events: auto; transition: filter .16s; }
.mu-pl svg { width: 22px; height: 22px; flex: none; }
.mu-pl:focus-visible { outline: 3px solid #2F5BFF; outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .mu-pl:hover { filter: brightness(1.08); } }
@media (max-width: 760px) { .music.mu-queue .mu-cap { right: var(--pad, 16px); max-width: none; }
  .music.mu-queue .mu-cap, .music.mu-queue .mu-steps { translate: 0 calc(var(--mu-up, 0px) * -1); transition: translate .35s cubic-bezier(.23, 1, .32, 1), opacity .25s cubic-bezier(.23, 1, .32, 1); }
  .music .mu-cap em:empty { display: none; }
  .music.mu-queue .mu-cap > b { font-size: 30px; letter-spacing: -.02em; line-height: 1; margin-bottom: 2px; } /* the site's own caption face, a size up (Omer, 2026-11-15: Anton here was ugly) */
  .music.mu-queue .mu-cap > span { font-size: 15px; margin-bottom: 8px; }
  .lk-mu { width: 100%; } .lk-mu .lk.lk-ask { height: 52px; font-size: 15px; padding: 0 14px; } .lk-mu .lk.lk-ask b { display: none; }
  .lk-mu > .lk-sh { width: 52px; height: 52px; padding: 0; justify-content: center; } .lk-mu > .lk-sh span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .mu-plat { width: 34%; } .mu-pl { height: 52px; } }
/* the opened album's sheet keeps the platforms as a full row */
.mu-detail .mu-plat { width: auto; } .mu-detail .mu-pl { height: 52px; }
