@font-face { font-family: "Benton Modern"; src: url(fonts/BentonModernD-SemiBold.woff2?v=7) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Crimson Text"; src: url(fonts/CrimsonText-Regular.woff2?v=7) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Crimson Text"; src: url(fonts/CrimsonText-SemiBold.woff2?v=7) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Crimson Text"; src: url(fonts/CrimsonText-Bold.woff2?v=7) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Diablo"; src: url(fonts/Diablo-Heavy.woff2?v=7) format("woff2"); font-weight: 900; font-display: swap; }

:root {
  --ink: #111;
  --paper: #fafaf8;
  --panel: #efeeeb;
  --muted: #6d6a64;
  --line: #dcdad5;
  --sold: #9b2c2c;
  --display: "Benton Modern", "Times New Roman", serif;
  --body: "Crimson Text", Georgia, serif;
  --label: "Diablo", "Arial Black", sans-serif;
  --tab-h: 76px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
/* katalog działa jak aplikacja: bez gestu "przeciągnij w dół, żeby odświeżyć" i bez gumowego
   odbijania strony, przez które dolne menu i ekran startowy rozjeżdżały się na telefonie */
html, body { overscroll-behavior-y: none; }
body {
  font: 20px/1.5 var(--body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  font-kerning: normal;
  font-synthesis: none;            /* żadnych sztucznych pogrubień i kursyw */
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
svg .fill { fill: currentColor; stroke: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.label {
  font: 900 13px/1.3 var(--label);
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* Przyciski */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 28px;
  border-radius: 999px;
  font: 600 22px/1 var(--display);
  letter-spacing: .02em;
}
.btn--primary { background: var(--ink); color: #fff; }
.btn--ghost { border: 1.5px solid var(--ink); background: rgba(255,255,255,.7); }
.btn--block { display: flex; width: 100%; }
.btn:active { transform: scale(.98); }
.icon-btn { display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 12px; }
.icon-btn--light { background: #fff; color: var(--ink); }

/* Start */
.view-start { min-height: calc(100svh - var(--tab-h) - var(--safe-b)); display: flex; flex-direction: column; }
@supports (height: 100dvh) { .view-start { min-height: calc(100dvh - var(--tab-h) - var(--safe-b)); } }
.start-bar {
  background: var(--ink); color: #fff;
  padding: calc(14px + env(safe-area-inset-top, 0px)) 16px 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.start-bar .label { font-size: clamp(14px, 4.4vw, 18px); line-height: 1.5; letter-spacing: .1em; }
.address-top span { display: block; white-space: nowrap; }
.start-actions { display: flex; gap: 10px; flex-shrink: 0; }
.start-hero {
  position: relative; flex: 1; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 48px 24px 32px; text-align: center;
}
.start-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  /* zdjęcie jest przycięte do wnętrza maski (pion na telefon, poziom na komputer),
     więc przy dowolnych proporcjach ekranu nie widać tła wokół maski */
  mix-blend-mode: multiply;  /* jasne tło zdjęcia zlewa się z tłem strony */
}
.start-logo, .start-cta { position: relative; }
.start-logo h1 { letter-spacing: -.005em; font: 600 clamp(54px, 17.5vw, 96px)/.9 var(--display); text-transform: uppercase; letter-spacing: -.01em; }
.start-logo .label { font-size: 23px; letter-spacing: .26em; padding-left: .26em; margin-top: 10px; } /* padding równoważy odstęp za ostatnią literą */
.start-cta { display: grid; gap: 12px; max-width: 340px; width: 100%; margin: 0 auto; }
.start-meta { color: var(--muted); font-size: 25px; margin-top: 4px; }

/* Gorny pasek */
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 8px;
  min-height: 60px; padding: env(safe-area-inset-top, 0px) 16px 0;
  background: rgba(250,250,248,.94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
/* nagłówki zakładek w Diablo, jak menu — Benton zostaje dla tytułów prac i dłuższych tekstów */
.topbar-title {
  flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font: 900 clamp(17px, 5.4vw, 22px)/1.2 var(--label); letter-spacing: .14em; text-transform: uppercase;
}
.back { display: grid; place-items: center; width: 44px; height: 44px; margin-left: -12px; }

/* Filtry */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 12px 16px 4px; scrollbar-width: none; scroll-padding: 16px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0; min-height: 44px; padding: 0 18px;
  border: 1.5px solid var(--line); border-radius: 999px;
  font-size: 18px; font-weight: 600; white-space: nowrap; background: #fff;
}
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.count { padding: 8px 16px 0; color: var(--muted); font-size: 17px; }

/* Siatka prac */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; padding: 12px 16px 32px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { display: block; }
.card-img {
  aspect-ratio: 4 / 5; background: var(--panel); border-radius: 6px; overflow: hidden;
  display: grid; place-items: center; position: relative;
}
/* każda praca widoczna w całości, na tym samym tle */
.card-img img { width: 100%; height: 100%; object-fit: contain; padding: 10%; filter: drop-shadow(0 4px 10px rgba(0,0,0,.12)); }
.placeholder { font: 600 15px/1.2 var(--display); color: var(--muted); text-align: center; padding: 12px; }
.badge { position: absolute; top: 8px; left: 8px; max-width: calc(100% - 16px); background: var(--sold); color: #fff; border-radius: 4px; padding: 4px 7px 3px; font-size: 11px; letter-spacing: .1em; white-space: nowrap; }
.card-title { font-weight: 700; font-size: 19px; line-height: 1.2; margin-top: 8px; }
.card-artist { color: var(--muted); font-size: 17px; line-height: 1.25; }
.card-price { font-size: 17px; font-weight: 600; margin-top: 2px; }
.card-price.is-sold { color: var(--sold); }

/* Lista artystow */
.artist-list { padding: 4px 16px 24px; }
.artist-row { display: flex; align-items: center; gap: 14px; min-height: 84px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.artist-row img, .artist-row .avatar-empty { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--panel); flex-shrink: 0; }
.artist-row .avatar-empty { display: grid; place-items: center; font: 600 24px/1 var(--display); color: var(--muted); }
.artist-row .name { font: 600 25px/1.15 var(--display); }
.artist-row .meta { color: var(--muted); font-size: 17px; }
.artist-row .chev { margin-left: auto; color: var(--muted); flex-shrink: 0; }

/* Strona artysty */
.artist-head { padding: 16px 16px 0; }
.ig-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; }
.ig-link span { border-bottom: 1.5px solid currentColor; }
.bio { margin-top: 8px; }
.bio p + p, .desc p + p { margin-top: .8em; }
/* zwinięty długi tekst: kilka linii, zanikających ku dołowi */
.is-clamped { max-height: 9.2em; overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.more { display: block; margin-top: 4px; font-weight: 700; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; }

/* Strona pracy */
.view-work { padding-bottom: 72px; }
.topbar--float {
  position: fixed; left: 0; right: 0; top: 0;
  background: transparent; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none;
  justify-content: space-between; pointer-events: none; padding-top: calc(8px + env(safe-area-inset-top, 0px));
}
.topbar--float > * { pointer-events: auto; }
.topbar--float .back { margin-left: 0; background: rgba(255,255,255,.92); border-radius: 50%; box-shadow: 0 1px 6px rgba(0,0,0,.15); }
.pos { background: rgba(255,255,255,.92); border-radius: 999px; padding: 6px 12px; font-size: 17px; font-weight: 600; box-shadow: 0 1px 6px rgba(0,0,0,.15); }
.carousel { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; background: var(--panel); scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.slide { background: var(--panel); flex: 0 0 100%; scroll-snap-align: center; height: min(60svh, 560px); display: grid; place-items: center; padding: 68px 16px 12px; cursor: zoom-in; }
.slide img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 16px rgba(0,0,0,.15)); }
.slide .placeholder { font-size: 22px; }
.dots { display: flex; justify-content: center; gap: 8px; background: var(--panel); padding-bottom: 14px; min-height: 14px; }
.dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.dots span.on { background: var(--ink); }
.work-info { background: var(--panel); padding: 20px 16px 28px; }
.work-info > .label { color: var(--muted); }
.work-title { font: 600 38px/1.05 var(--display); letter-spacing: -.01em; margin-top: 6px; }
.work-artist { display: inline-block; margin-top: 4px; font-size: 22px; min-height: 44px; padding-top: 6px; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin-top: 10px; font-size: 19px; }
.specs dt { color: var(--muted); }
.price { font: 600 34px/1.1 var(--display); margin-top: 20px; }
.price.is-sold { color: var(--sold); }
.note { color: var(--muted); font-style: italic; margin-top: 4px; }
.note:empty, .desc:empty { display: none; }
.desc { margin-top: 20px; }
.desc h3 { font: 900 13px/1.3 var(--label); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 8px; }
.work-info .btn { margin-top: 24px; font-size: 21px; }
.pager {
  position: fixed; left: 0; right: 0; bottom: calc(var(--tab-h) + var(--safe-b)); z-index: 20;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line); border-top: 1px solid var(--line);
}
.pager-btn { display: flex; align-items: center; gap: 6px; min-height: 56px; padding: 0 16px; background: var(--paper); font-weight: 600; font-size: 19px; }
.pager-btn--next { justify-content: flex-end; }
.pager-btn[aria-disabled="true"] { color: var(--line); pointer-events: none; }

/* O galerii */
.about { padding: 20px 16px; }
.about h3 { font: 600 34px/1.1 var(--display); letter-spacing: -.01em; margin-bottom: 12px; }
.about p + p { margin-top: .8em; }
.address { font: 600 28px/1.25 var(--display); margin: 6px 0 16px; }
.space { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 16px; scroll-padding: 16px; scrollbar-width: none; }
.space::-webkit-scrollbar { display: none; }
.space img { flex: 0 0 82%; height: 260px; object-fit: cover; border-radius: 6px; scroll-snap-align: start; cursor: zoom-in; }

/* Powiekszenie */
.lightbox { position: fixed; inset: 0; z-index: 100; background: #000; }
.lightbox-scroll { width: 100%; height: 100%; overflow: auto; display: grid; place-items: center; }
.lightbox-scroll img { max-width: 100vw; max-height: 100svh; object-fit: contain; }
.lightbox.is-zoomed .lightbox-scroll { place-items: start; }
.lightbox.is-zoomed .lightbox-scroll img { max-width: none; max-height: none; width: 250vw; }
.lightbox-close { position: absolute; top: calc(12px + env(safe-area-inset-top, 0px)); right: 12px; z-index: 2; }
.lightbox-hint { position: absolute; bottom: calc(16px + var(--safe-b)); width: 100%; text-align: center; color: rgba(255,255,255,.6); font-size: 17px; pointer-events: none; }
.lightbox.is-zoomed .lightbox-hint { display: none; }

/* Menu dolne */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  transform: translateZ(0);  /* osobna warstwa: menu nie "pływa" przy przewijaniu i chowaniu paska adresu */
  display: grid; grid-template-columns: repeat(5, 1fr);
  height: calc(var(--tab-h) + var(--safe-b)); padding-bottom: var(--safe-b);
  background: var(--ink); color: rgba(255,255,255,.55);
}
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font: 900 11px/1 var(--label); letter-spacing: .05em; text-transform: uppercase; }
.tabbar a[aria-current="page"] { color: #fff; }

/* Na komputerze katalog ma szerokosc telefonu */

.about-ig { margin-top: 10px; font-size: 21px; }
#about-map { margin-top: 0; }
/* @ z Crimson Text: w Benton jest zbyt cienka obok liter */
.at { font-family: var(--body); font-weight: 700; }
.tabbar svg { width: 30px; height: 30px; }
.icon-btn svg { width: 32px; height: 32px; }
/* dzielenie wyrazów w dłuższych tekstach (lang="pl") */
.desc p, .bio p, .about p { hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 7 3 3; }
.desc, .bio, .about p { text-wrap: pretty; }
.work-title, .card-title, .topbar-title, .artist-row .name { text-wrap: balance; }

/* Wyszukiwarka */
.search { position: relative; margin: 12px 16px 0; }
.search > svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input {
  width: 100%; min-height: 52px; padding: 0 48px 0 46px;
  font: 400 19px/1 var(--body); color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 999px;
  -webkit-appearance: none; appearance: none;
}
.search input::placeholder { color: var(--muted); }
.search input:focus { outline: none; border-color: var(--ink); }
.search input::-webkit-search-cancel-button { display: none; }
.search-clear { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; display: grid; place-items: center; color: var(--muted); }
.empty { padding: 24px 16px 40px; text-align: center; color: var(--muted); font-size: 19px; }

/* Przesuwanie między pracami */
.view-work { transition: opacity .14s ease, transform .14s ease; }
.view-work.leave-left { opacity: 0; transform: translateX(-24px); }
.view-work.leave-right { opacity: 0; transform: translateX(24px); }
.swipe-hint { background: var(--panel); color: var(--muted); text-align: center; font-size: 16px; padding: 10px 16px 0; }
@media (prefers-reduced-motion: reduce) { .view-work { transition: none; } }

/* Nagłówek strony artysty */
.artist-hero { display: flex; align-items: center; gap: 16px; }
.artist-avatar {
  width: 88px; height: 88px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  background: var(--panel); display: grid; place-items: center;
  font: 600 32px/1 var(--display); color: var(--muted);
}
.artist-avatar img { width: 100%; height: 100%; object-fit: cover; }
.artist-count { color: var(--muted); font-size: 18px; }
.artist-hero .ig-link { min-height: 40px; }

/* Wejście ekranu startowego */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes mask-in { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: none; } }
.start-bg { animation: mask-in 1.6s cubic-bezier(.2, .7, .2, 1) both; }
.start-logo h1 { animation: rise .9s .15s cubic-bezier(.2, .7, .2, 1) both; }
.start-logo .label { animation: rise .9s .35s cubic-bezier(.2, .7, .2, 1) both; }
.start-cta { animation: rise .9s .55s cubic-bezier(.2, .7, .2, 1) both; }
@media (prefers-reduced-motion: reduce) {
  .start-bg, .start-logo h1, .start-logo .label, .start-cta { animation: none; }
}

/* ===================== WERSJA KOMPUTEROWA (od 960 px) =====================
   Ten sam adres i ta sama treść; układ zmienia się sam według szerokości ekranu. */
.tabbar .tabbar-brand { display: none; }
@media (min-width: 960px) {
  :root { --tab-h: 88px; --wrap: 1240px; }
  body { padding: var(--tab-h) 0 0; }

  /* menu u góry zamiast na dole */
  .tabbar {
    top: 0; bottom: auto; height: var(--tab-h); padding: 0 max(32px, calc((100vw - var(--wrap)) / 2));
    display: flex; align-items: center; justify-content: flex-end; gap: clamp(18px, 3vw, 44px);
  }
  .tabbar a { flex-direction: row; gap: clamp(8px, .8vw, 12px); font-size: clamp(14px, 1.2vw, 17px); white-space: nowrap; }
  .tabbar svg { width: clamp(22px, 2vw, 28px); height: clamp(22px, 2vw, 28px); }
  .tabbar a:hover { color: #fff; }
  .tabbar .tabbar-brand {
    display: block; margin-right: auto; color: #fff;
    font: 600 clamp(32px, 3.1vw, 44px)/1 var(--display); letter-spacing: 0; text-transform: uppercase; flex-shrink: 0;
  }

  /* treść na środku, z marginesami */
  .view:not(.view-start) { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
  .topbar { top: var(--tab-h); margin: 0 -32px; padding: 0 32px; min-height: 76px; }
  .topbar-title { font-size: 28px; letter-spacing: .16em; }
  .search { max-width: 560px; margin: 20px 0 0; }
  .chips { flex-wrap: wrap; overflow: visible; padding: 16px 0 4px; }
  .count { padding: 10px 0 0; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 40px 24px; padding: 20px 0 64px; }
  .card:hover .card-img img { transform: scale(1.03); }
  .card-img img { transition: transform .4s ease; }
  .empty { padding: 48px 0; }

  /* strona startowa na cały ekran */
  .view-start { min-height: calc(100vh - var(--tab-h)); }
  .start-bar { padding: 18px max(32px, calc((100vw - var(--wrap)) / 2)); }
  .start-bar .label { font-size: 21px; }
  .start-bar { padding-top: 24px; padding-bottom: 24px; }
  .start-bar .icon-btn { width: 66px; height: 66px; }
  .start-bar .icon-btn svg { width: 36px; height: 36px; }
  .address-top span { display: inline; }
  .address-top span + span::before { content: " · "; }
  .start-hero { justify-content: center; gap: 48px; }
  .start-logo h1 { font-size: clamp(96px, 11vw, 168px); }
  .start-logo .label { font-size: 30px; }
  .start-meta { font-size: 28px; }

  /* artyści w kolumnach */
  .artist-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 0 40px; padding: 16px 0 64px; }
  .artist-row:hover .name { text-decoration: underline; text-underline-offset: 4px; }
  .artist-head { padding: 28px 0 0; max-width: 820px; }
  .artist-avatar { width: 120px; height: 120px; font-size: 42px; }

  /* strona pracy: zdjęcie po lewej, opis po prawej */
  .view-work { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(360px, 1fr); gap: 0 56px; padding-top: 24px; padding-bottom: 64px; align-items: start; }
  .topbar--float { position: absolute; left: auto; right: auto; top: calc(var(--tab-h) + 36px); margin-left: 12px; }
  .pos { display: none; }
  .work-media { position: sticky; top: calc(var(--tab-h) + 24px); }
  .carousel, .dots { background: var(--panel); border-radius: 8px; }
  .dots { border-radius: 0 0 8px 8px; margin-top: -8px; padding-top: 8px; }
  .slide { height: calc(100vh - var(--tab-h) - 96px); min-height: 480px; padding: 40px; }
  .swipe-hint { display: none; }
  .work-info { background: none; padding: 8px 0 0; }
  .work-title { font-size: 52px; }
  .work-info .btn { display: inline-flex; width: auto; }
  .pager { position: static; margin-top: 40px; background: none; border: 0; gap: 12px; }
  .pager-btn { border: 1.5px solid var(--line); border-radius: 999px; background: #fff; min-height: 52px; }
  .pager-btn:hover { border-color: var(--ink); }

  /* galeria: zdjęcia w siatce zamiast przewijania w bok */
  .about { max-width: 760px; padding: 32px 0; }
  .about h3 { font-size: 44px; }
  .space { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; padding: 0; overflow: visible; }
  .space img { height: 340px; width: 100%; }
  .about--contact { max-width: 480px; }

  a, button { cursor: pointer; }
}

/* Barber */
.barber > .label { color: var(--muted); margin-bottom: 8px; }
.barber-rating { margin-top: 14px; font-size: 19px; }
.barber-rating strong { font: 600 26px/1 var(--display); }
.services { margin: 16px 0 6px; border-top: 1px solid var(--line); }
.services li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 19px; }
.services li span:last-child { font-weight: 600; white-space: nowrap; }
.barber .about-ig { margin-top: 12px; }
.barber-addr { margin-top: 28px; color: var(--muted); }

/* ===== Układ jak w aplikacji =====
   Strona sama się nie przewija; przewija się tylko #app. Dolne menu stoi poza obszarem
   przewijania, więc gest "przeciągnij w dół" i gumowe odbijanie na iPhonie go nie ruszają. */
html, body { height: 100%; overflow: hidden; }
#app {
  position: fixed; left: 0; right: 0; top: 0;
  bottom: calc(var(--tab-h) + var(--safe-b));
  overflow-y: auto; overflow-x: hidden;
  -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
}
.view-start { min-height: 100%; }
@supports (height: 100dvh) { .view-start { min-height: 100%; } }
.pager { bottom: calc(var(--tab-h) + var(--safe-b)); }
@media (min-width: 960px) {
  #app { top: var(--tab-h); bottom: 0; }
  body { padding: 0; }
  .topbar { top: 0; }
  .topbar--float { top: 36px; }
  .work-media { top: 24px; }
  .slide { height: calc(100vh - var(--tab-h) - 96px); }
}

/* Podpowiedź przewijania (tylko telefon) */
.scroll-hint {
  position: fixed; left: 0; right: 0; z-index: 25;
  bottom: calc(var(--tab-h) + var(--safe-b));
  height: 104px; padding-bottom: 12px; pointer-events: none;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 2px;
  background: linear-gradient(to bottom, rgba(250, 250, 248, 0), rgba(250, 250, 248, .96) 70%);
  color: var(--ink); visibility: hidden;
}
/* bez płynnego przejścia: na Androidzie potrafiło utknąć na przezroczystości */
.scroll-hint.is-on { visibility: visible; }
.scroll-hint button { pointer-events: auto; display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: -9px; }  /* duże pole dotyku wokół kółka */
.scroll-hint .label { font-size: 11px; letter-spacing: .28em; padding-left: .28em; margin-bottom: 4px; }
.scroll-hint svg {
  width: 38px; height: 38px; padding: 8px; border-radius: 50%;
  background: var(--ink); color: #fff; stroke-width: 2.6;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
  animation: hint-bob 1.6s ease-in-out infinite;
}
@keyframes hint-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
/* na stronie pracy nad przyciskami Poprzednia/Następna, w kolorze panelu z opisem */
body[data-view="work"] .scroll-hint {
  bottom: calc(var(--tab-h) + var(--safe-b) + 57px);
  background: linear-gradient(to bottom, rgba(239, 238, 235, 0), rgba(239, 238, 235, .96) 70%);
}
@media (prefers-reduced-motion: reduce) { .scroll-hint svg { animation: none; } }
@media (min-width: 960px) { .scroll-hint { display: none; } }

/* Pasek artystów: zanikanie przy krawędzi + strzałka, gdy w bok jest jeszcze więcej */
.chips-wrap { position: relative; }
.chips-wrap::after {
  content: ""; position: absolute; top: 12px; right: 0; bottom: 4px; width: 72px; pointer-events: none;
  background: linear-gradient(to right, rgba(250, 250, 248, 0), var(--paper) 75%);
}
.chips-more {
  position: absolute; right: 8px; top: calc(50% + 4px); transform: translateY(-50%); z-index: 1;
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: #fff; box-shadow: 0 3px 10px rgba(0, 0, 0, .18);
}
.chips-more svg { width: 20px; height: 20px; stroke-width: 2.6; }
.chips-wrap.at-end::after, .chips-wrap.at-end .chips-more,
.chips-wrap.no-overflow::after, .chips-wrap.no-overflow .chips-more { display: none; }
.chips { padding-right: 56px; }
@media (min-width: 960px) { .chips { padding-right: 0; } }
