/* Shared by the landing (index.html) and the personal page: tokens, base rules, buttons, the gallery card,
   the preview sheet (sheet.js) and small controls. Page-only rules stay in each page. Light theme only. */
:root {
  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --surface: #ffffff;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #a1a1a6;
  --hair: rgba(0, 0, 0, .08);
  --hair-2: rgba(0, 0, 0, .14);
  --btn: #1d1d1f;
  --btn-ink: #ffffff;
  --focus: #0a66ff;
  --danger: #d92d20;
  --scrim: rgba(0, 0, 0, .42);
  --veil: color-mix(in srgb, var(--scrim) 25%, transparent); /* the one light blurred scrim under menus and the sheet */
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --t-hero: clamp(2.9rem, 8.4vw, 6.75rem);
  --t-h2: clamp(2.1rem, 5.2vw, 4rem);
  --t-lead: clamp(1.125rem, 1.9vw, 1.375rem);
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.5 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 40; background: var(--bg); }
body.locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
::selection { background: rgba(10, 102, 255, .18); }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--btn); color: var(--btn-ink); font-weight: 500; font-size: .9375rem; cursor: pointer; transition: transform .15s ease, opacity .15s ease; white-space: nowrap; }
.btn:hover { opacity: .88; }
.btn:active { transform: scale(.98); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--hair-2); }
.btn.ghost:hover { opacity: 1; box-shadow: inset 0 0 0 1px var(--ink); }
.btn.sm { height: 34px; padding: 0 14px; font-size: .8125rem; }
.selfrow { display: flex; gap: 8px; }
.selfrow input { flex: 1; min-width: 0; height: 40px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--surface); color: var(--ink); font: 400 .9375rem var(--sans); box-shadow: inset 0 0 0 1px var(--hair-2); }
.selfrow input:focus { outline: none; box-shadow: inset 0 0 0 1px var(--ink); }
.selfrow .btn { height: 40px; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* page scaffold: nav with the mark, headings, sections, the big number */
.center { text-align: center; }
.eyebrow { font-size: 1.0625rem; font-weight: 500; color: var(--ink-2); margin-bottom: 14px; }
h2 { font-size: var(--t-h2); font-weight: 600; letter-spacing: -0.045em; line-height: 1.02; text-wrap: balance; }
.lead { font-size: var(--t-lead); color: var(--ink-2); line-height: 1.45; letter-spacing: -0.012em; text-wrap: balance; }
.dim { color: var(--ink-3); }
h2 .dim { display: inline-block; } /* its box is its own lines, so the grey second line stays inside the heading's box */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px); border-bottom: .5px solid var(--hair); }
.nav .wrap { height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.mark { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; letter-spacing: -0.03em; font-size: 1.0625rem; }
section { padding-block: clamp(96px, 13vw, 160px); }
.sec-head { max-width: 780px; margin: 0 auto 56px; }
.sec-head .lead { margin-top: 20px; }
.soft { background: var(--bg-2); }
.big-price { font-size: clamp(5rem, 16vw, 11rem); font-weight: 600; letter-spacing: -0.07em; line-height: 1; margin-top: 36px; font-variant-numeric: tabular-nums; }
.big-price small { font-size: .16em; letter-spacing: -0.01em; font-weight: 500; color: var(--ink-2); vertical-align: .25em; margin-left: .3em; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 820px) { .gallery { grid-template-columns: minmax(0, 1fr); } }
.g-card { border: 0; padding: 0; margin: 0; text-align: left; cursor: pointer; border-radius: 24px; background: var(--surface); box-shadow: 0 0 0 .5px var(--hair-2); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.g-card:hover { transform: translateY(-3px); box-shadow: 0 0 0 .5px var(--hair-2), 0 30px 60px -30px rgba(0,0,0,.3); }
.g-stage { position: relative; background: #ffffff; padding: 48px 28px; min-height: 204px; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; overflow: hidden; }
.g-stage.dark { background: #0b0b0f; }
.g-stage.tint { background: linear-gradient(180deg, #fbfaf8, #f4f1ec); }
.peek { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 999px; background: rgba(255,255,255,.88); color: #1d1d1f; font-size: .75rem; font-weight: 500; box-shadow: 0 0 0 .5px rgba(0,0,0,.12), 0 6px 16px -8px rgba(0,0,0,.3); backdrop-filter: blur(8px); transition: transform .25s ease, background .25s ease; }
.g-card:hover .peek { transform: translateY(-2px); background: #1d1d1f; color: #fff; }
.peek i { width: 6px; height: 6px; border-radius: 50%; background: #28c840; animation: ping 1.8s ease-out infinite; }
.g-meta { padding: 18px 24px 20px; border-top: .5px solid var(--hair); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.g-meta h3 { font-size: .9375rem; font-weight: 600; letter-spacing: -0.01em; }
.g-meta p { font-size: .8125rem; color: var(--ink-3); }
.g-gif { display: block; width: 400px; max-width: 100%; height: auto; } /* a GIF's frame (designs.js FRAME), the showcase's too */
.mailv .sigbox .g-gif, .cmp .g-gif { width: 400px; }

/* ====== modal: mail + wizytówka ====== */
.sheet { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: var(--veil); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: fade .2s ease both; }
@keyframes fade { from { opacity: 0; } }
.sheet-box { width: min(880px, 100%); max-height: 100%; overflow: auto; border-radius: 24px; background: var(--surface); box-shadow: 0 40px 120px -20px rgba(0,0,0,.35); animation: rise .3s ease both; }
#sheetBody { transition: opacity .2s ease; }
#sheetBody.leaving { opacity: 0; } /* another tab (sheet.js showTab): out, the box resizes, in */
/* closing (sheet.js closeSheet): the box sinks and fades, the veil fades, then the sheet is hidden */
.sheet.closing { animation: fade-out .2s ease forwards; }
.sheet.closing .sheet-box { animation: sink .2s ease forwards; }
@keyframes fade-out { to { opacity: 0; } }
@keyframes sink { to { opacity: 0; transform: translateY(8px) scale(.985); } }
.sheet-top { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 14px 20px; background: color-mix(in srgb, var(--surface) 90%, transparent); backdrop-filter: blur(14px); border-bottom: .5px solid var(--hair); }
.tabs { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--bg-2); }
.tabs a { display: inline-flex; align-items: center; white-space: nowrap; }
.tabs button, .tabs a { border: 0; background: transparent; height: 32px; padding: 0 16px; border-radius: 999px; font-size: .8125rem; font-weight: 500; color: var(--ink-2); cursor: pointer; transition: background-color .2s ease, color .2s ease, box-shadow .2s ease; }
.tabs button[aria-selected="true"], .tabs a[aria-current] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 0 0 .5px var(--hair-2); }
.x { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--bg-2); cursor: pointer; display: grid; place-items: center; color: var(--ink-2); }
/* phones: the sheet's two tabs share the row equally, a long label (de, it, es, fr) takes two lines */
@media (max-width: 480px) { .sheet-top .tabs { flex: 1 1 auto; min-width: 0; } .sheet-top .tabs button { flex: 1 1 0; min-width: 0; height: auto; min-height: 32px; padding: 6px 10px; line-height: 1.25; text-wrap: balance; } }
.x:hover { color: var(--ink); }

.mailv { padding: 28px clamp(20px, 4vw, 40px) 40px; }
.mailv .subj { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.025em; }
.mailv .from { display: flex; gap: 12px; align-items: center; margin: 18px 0 24px; }
.mailv .from img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.mailv .from b { font-weight: 600; font-size: .9375rem; }
.mailv .from span { color: var(--ink-3); font-size: .8125rem; display: block; }
.mailv .from time { margin-left: auto; font-size: .8125rem; color: var(--ink-3); }
.mailv .txt { font-size: .9875rem; line-height: 1.65; color: var(--ink); max-width: 36em; margin-bottom: 28px; }
.mailv .sigbox { display: inline-block; max-width: 100%; position: relative; border-radius: 16px; padding: 20px 22px; background: #fff; cursor: pointer; box-shadow: 0 0 0 .5px rgba(0,0,0,.08); transition: box-shadow .2s ease; }
.mailv .sigbox.dark { background: #0b0b0f; }
.mailv .sigbox:hover { box-shadow: 0 0 0 2px var(--focus); }
.tapme { position: absolute; left: 50%; bottom: -18px; transform: translateX(-50%); display: inline-flex; gap: 8px; align-items: center; white-space: nowrap; height: 32px; padding: 0 14px; border-radius: 999px; background: #1d1d1f; color: #fff; font-size: .8125rem; font-weight: 500; box-shadow: 0 10px 24px -10px rgba(0,0,0,.5); animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translate(-50%, -4px); } }
.mailv .note { margin-top: 44px; font-size: .8125rem; color: var(--ink-3); }

.cardv { display: grid; grid-template-columns: 300px minmax(0, 1fr); }
@media (max-width: 760px) { .cardv { grid-template-columns: minmax(0, 1fr); } }
.cardv.solo { grid-template-columns: minmax(0, 1fr); } /* a customer's own card with nothing for the second column (sheet.js) */
.cardv.solo .cv-side { align-items: center; text-align: center; padding: 40px 28px; }
.cardv.solo .cv-acts { width: min(100%, 320px); }
.cv-side { padding: 32px 28px; background: var(--bg-2); display: flex; flex-direction: column; gap: 14px; }
.cv-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px var(--surface), 0 0 0 5.5px var(--acc); }
.cv-side h3 { font-size: 1.75rem; font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; margin-top: 6px; }
.cv-side .r { color: var(--ink-2); font-size: .9375rem; margin-top: -6px; }
.cv-acts { display: grid; gap: 8px; margin-top: 6px; }
.cv-acts span { height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .875rem; font-weight: 500; background: var(--surface); box-shadow: inset 0 0 0 .5px var(--hair-2); }
.cv-acts span:first-child { background: var(--acc); color: #fff; box-shadow: none; }
.cv-soc { display: flex; gap: 8px; margin-top: 4px; }
.cv-soc i { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--surface); box-shadow: inset 0 0 0 .5px var(--hair-2); color: var(--ink); }
.cv-soc i svg { width: 16px; height: 16px; }
.cv-main { padding: 32px clamp(20px, 4vw, 36px) 36px; display: grid; gap: 28px; align-content: start; }
.cv-main h4 { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.cv-about { font-size: 1.0625rem; line-height: 1.55; letter-spacing: -0.01em; text-wrap: pretty; }
.tagrow { display: flex; flex-wrap: wrap; gap: 6px; }
.tagrow span { font-size: .8125rem; padding: 6px 12px; border-radius: 999px; background: var(--bg-2); color: var(--ink); }
.ask-me { display: grid; gap: 8px; }
.ask-me span { font-size: .9375rem; padding: 11px 14px; border-radius: 14px; background: var(--bg-2); display: flex; gap: 10px; }
.ask-me span::before { content: "„"; color: var(--acc); font-weight: 700; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
@media (max-width: 560px) { .two-col { grid-template-columns: minmax(0, 1fr); } }
.hours { display: grid; gap: 6px; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.hours div { display: flex; flex-wrap: wrap; justify-content: space-between; column-gap: 12px; } /* a narrow column puts the value under its label */
.hours div span:first-child { color: var(--ink-2); }
.hours div span:last-child { white-space: nowrap; text-align: right; }
.hours .open { color: #1a9a4b; font-size: .8125rem; font-weight: 500; display: flex; align-items: center; gap: 6px; }
.hours .open::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #28c840; animation: ping 1.8s ease-out infinite; }
.map { position: relative; height: 170px; border-radius: 16px; overflow: hidden; background: #e8ecef; }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map .pin { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -100%); width: 34px; height: 34px; border-radius: 50% 50% 50% 0; rotate: -45deg; background: var(--acc); box-shadow: 0 6px 14px rgba(0,0,0,.3); display: grid; place-items: center; }
.map .pin::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.map .pulse { position: absolute; left: 50%; top: 46%; width: 60px; height: 22px; transform: translate(-50%, -30%); border-radius: 50%; background: color-mix(in srgb, var(--acc) 35%, transparent); animation: mapp 2s ease-out infinite; }
@keyframes mapp { from { transform: translate(-50%, -30%) scale(.4); opacity: 1; } to { transform: translate(-50%, -30%) scale(1.6); opacity: 0; } }
.addr { font-size: .9375rem; margin-top: 10px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.addr a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--hair-2); }

/* footer of every page: the operator and the legal links (lib/legal.js, pageFooter). It starts below the fold, so a
   page that builds its content in the browser (the personal page) does not push it down in view. */
body > main { min-height: calc(100dvh - 56px); }
footer { border-top: .5px solid var(--hair); padding-block: 28px calc(28px + env(safe-area-inset-bottom, 0px)); font-size: .8125rem; color: var(--ink-3); }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 8px 16px; flex-wrap: wrap; }
/* each dot sits in the gap before its link; before a line's first link it falls left of the list, where the clip hides
   it, so a wrapped line never starts with a dot (the footer's five links wrap on phones) */
.legal-links { display: flex; flex-wrap: wrap; column-gap: 19px; clip-path: inset(-8px -8px -8px -3px); }
.legal-links a { position: relative; padding-block: 4px; color: var(--ink-2); transition: color .15s ease; }
.legal-links a:hover { color: var(--ink); }
.legal-links a::before { content: "·"; position: absolute; left: -12px; width: 5px; text-align: center; color: var(--ink-3); }

.swatches { display: flex; gap: 12px; }
.swatches button { width: 30px; height: 30px; border-radius: 50%; border: 0; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); transition: transform .15s ease, box-shadow .15s ease; }
.swatches button:hover { transform: scale(1.08); }
.swatches button[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--surface), 0 0 0 4.5px var(--ink); }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--surface); margin-top: 32px; box-shadow: inset 0 0 0 .5px var(--hair-2); }
.seg button { border: 0; background: transparent; height: 34px; padding: 0 18px; border-radius: 999px; font-size: .875rem; font-weight: 500; color: var(--ink-2); cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.seg button[aria-pressed="true"] { background: var(--btn); color: var(--btn-ink); }
/* as wide as its words up to a line of about 70 characters (one or two lines), the screen less 16 px a side on a phone:
   at left 50% an auto width would shrink to half the screen, a narrow, tall column (the owner, 2026-11-09) */
.toast { position: fixed; left: 50%; bottom: calc(28px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 16px); background: var(--btn); color: var(--btn-ink); padding: 11px 18px; border-radius: 21px; font-size: .875rem; opacity: 0; pointer-events: none; transition: .25s ease; z-index: 90; width: max-content; max-width: min(560px, calc(100vw - 32px)); text-wrap: pretty; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.act { display: flex; align-items: center; gap: 12px; width: max-content; padding: 6px 6px 6px 18px; text-align: left; } /* max-content: at left 50% it would shrink to half the screen */
.toast.act.show { pointer-events: auto; }
.toast button { flex: none; white-space: nowrap; height: 32px; padding: 0 14px; border: 0; border-radius: 999px; background: rgba(255,255,255,.16); color: inherit; font-weight: 500; cursor: pointer; transition: background .15s ease; }
.toast button:hover { background: rgba(255,255,255,.26); }

/* motion helpers from common.js (fadeText, morph) and the reveal: nothing on a page changes as an instant cut */
.swap { transition: opacity .2s ease; }
.swap.swapping { opacity: 0; }
.morph { transition: height .3s ease; }
.morph > * { transition: opacity .2s ease; }
.morph.morph-out > * { opacity: 0; }
.morph.morphing { overflow: hidden; }
.reveal { display: grid; grid-template-rows: 0fr; opacity: 0; transition: opacity .2s ease, grid-template-rows .3s ease .2s; }
.reveal.open { grid-template-rows: 1fr; opacity: 1; transition: grid-template-rows .3s ease, opacity .2s ease .25s; }
.reveal > * { overflow: hidden; min-height: 0; }
/* a button busy with its request (common.js busy): its spinner fades in */
.spin { width: 14px; height: 14px; border: 1.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn:has(> .spin) { position: relative; }
.btn > .spin { position: absolute; left: 16px; top: calc(50% - 7px); opacity: 0; transition: opacity .2s ease; }
.btn[aria-busy="true"] > .spin { opacity: 1; }
.btn:disabled { opacity: .6; cursor: progress; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* a checkbox of our own (the consents under the personal page's register form): the box fills, the tick draws itself */
.ticks { margin: 4px 0 6px; }
.tick { position: relative; display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; margin: 0 0 12px; font-size: .875rem; line-height: 20px; color: var(--ink-2); text-align: left; cursor: pointer; }
.tick input { position: absolute; top: 0; left: 0; width: 20px; height: 20px; margin: 0; opacity: 0; cursor: pointer; }
.tick-box { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--hair-2); color: #fff; transition: background-color .2s ease, box-shadow .2s ease; }
.tick-box svg { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 16; stroke-dashoffset: 16; transition: stroke-dashoffset .25s ease .05s; }
.tick:hover .tick-box { box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.tick input:checked + .tick-box { background: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.tick input:checked + .tick-box svg { stroke-dashoffset: 0; }
.tick input:focus-visible + .tick-box { outline: 2px solid var(--focus); outline-offset: 2px; }
.tick a { display: inline-block; color: var(--ink); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--hair-2); } /* moves to the next line whole, and a link longer than the line (ru "Политику конфиденциальности" at 320px) wraps inside its own box */
.tick a:hover { text-decoration-color: var(--ink); }

/* "Usuń moje dane" at the foot of the personal page (erase.js): quiet, it rises in once mounted */
.erase-row { padding-block: 8px 56px; text-align: center; }
.erase-row:not(:empty) { animation: erase-in .35s ease both; } /* its own name: main > * already ran "rise" on it */
@keyframes erase-in { from { opacity: 0; transform: translateY(8px); } }
.erase-box { max-width: 400px; margin: 4px auto 0; }
.erase-box > p { font-size: .9375rem; line-height: 1.5; color: var(--ink-2); overflow-wrap: anywhere; }
.erase-box .btn { margin-top: 14px; }
.erase-box .error { padding-top: 10px; font-size: .875rem; color: var(--danger); }

/* "Add photo" over a signature's photo slot (photo-slot.js): a soft dark veil in the slot's own shape and size with a
   camera and the words (the camera alone on a small slot), gliding with the slot when the design changes, fading away
   once the photo is in; busy, the camera turns into a spinner */
.add-photo { position: absolute; z-index: 3; left: 0; top: 0; display: grid; place-content: center; justify-items: center; gap: 3px; padding: 6px; border: 0;
  background: rgba(29, 29, 31, .58); color: #fff; font: 600 .6875rem/1.15 var(--sans); text-align: center; cursor: pointer; overflow: hidden;
  -webkit-backdrop-filter: blur(1.5px); backdrop-filter: blur(1.5px);
  transition: left .3s ease, top .3s ease, width .3s ease, height .3s ease, border-radius .3s ease, opacity .25s ease, background .2s ease, scale .25s ease; }
.add-photo:hover { background: rgba(29, 29, 31, .72); }
.add-photo:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.add-photo.gone { opacity: 0; scale: .92; pointer-events: none; }
.add-photo.small .words { display: none; }
.add-photo .ic { display: grid; width: 18px; height: 18px; }
.add-photo .ic > * { grid-area: 1 / 1; transition: opacity .2s ease; }
.add-photo .spin { width: 16px; height: 16px; margin: 1px; opacity: 0; }
.add-photo[aria-busy="true"] .ic > svg { opacity: 0; }
.add-photo[aria-busy="true"] .spin { opacity: 1; }
/* a refused photo's message under the slot (photo-slot.js): stays until the next try, fades in and out */
.add-photo-err { position: absolute; z-index: 4; left: 0; top: 0; margin: 0; width: max-content; max-width: min(300px, calc(100% - 16px)); padding: 8px 12px;
  border-radius: 12px; background: #fff; color: var(--danger); font: 500 .8125rem/1.35 var(--sans); text-align: left;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12), 0 0 0 .5px var(--hair-2); transition: opacity .2s ease, translate .2s ease; }
.add-photo-err.gone { opacity: 0; translate: 0 -4px; pointer-events: none; }
