/* =========================================================
   Fotky hráčů – hraci.kubaejj.cz
   Tokeny a typografie převzaté z webu kubaejj.cz (Portfolio-new/src/styles/global.css)
   ========================================================= */

/* Fonty: stejné soubory jako na kubaejj.cz (Inter Tight, Inter, JetBrains Mono) */
@font-face { font-family: "Inter Tight"; src: url("/assets/fonts/inter-tight-latin.woff2") format("woff2"); font-weight: 500 700; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter Tight"; src: url("/assets/fonts/inter-tight-latin-ext.woff2") format("woff2"); font-weight: 500 700; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin.woff2") format("woff2"); font-weight: 400 600; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin-ext.woff2") format("woff2"); font-weight: 400 600; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/fonts/jetbrains-mono-latin.woff2") format("woff2"); font-weight: 500 700; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/fonts/jetbrains-mono-latin-ext.woff2") format("woff2"); font-weight: 500 700; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --font-display: "Inter Tight";
  --font-body: "Inter";
  --font-mono: "JetBrains Mono";

  --paper: #ffffff;
  --paper-soft: #f2f5fa;
  --paper-sink: #eaeef6;
  --ink: #0e1a2b;
  --ink-70: rgba(14, 26, 43, 0.7);
  --ink-55: rgba(14, 26, 43, 0.55);
  --ink-40: rgba(14, 26, 43, 0.4);
  --accent: #2a6af7;
  --accent-dark: #1b52d0;
  --accent-wash: rgba(42, 106, 247, 0.08);
  --accent-btn: #2258d8;
  --accent-btn-hover: #1a45ab;
  --line: rgba(14, 26, 43, 0.12);
  --line-soft: rgba(14, 26, 43, 0.07);

  --shell: min(1280px, 100% - 2 * var(--gutter));
  --gutter: 1rem;

  --step--1: clamp(0.8rem, 0.76rem + 0.2vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --step-3: clamp(2rem, 1.6rem + 2vw, 3rem);
  --step-4: clamp(2.3rem, 1.7rem + 3.2vw, 4.25rem);

  --radius: 4px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (min-width: 48rem) {
  :root { --gutter: 2.5rem; }
}

/* ============================ Reset ============================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 5.5rem;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-body), system-ui, sans-serif;
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

body > main { flex: 1 0 auto; }

[hidden] { display: none !important; }

img, picture, svg, video { display: block; max-width: 100%; }

button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display), system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--accent); color: #fff; }

.shell { width: var(--shell); margin-inline: auto; }

.section { padding-block: clamp(3rem, 2rem + 5vw, 6rem); }
.section--sink { background: var(--paper-soft); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  padding: 0.75rem 1.25rem; background: var(--ink); color: #fff;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

.ikona { flex-shrink: 0; }

/* ============================ Typografie ============================ */
.kicker {
  font-family: var(--font-mono), monospace;
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.lead { font-size: var(--step-1); color: var(--ink-70); line-height: 1.5; }

.section-head {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between;
  gap: 1rem 2rem; margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}
.section-head__title { font-size: var(--step-3); margin-top: 0.35rem; }

/* ============================ Tlačítka ============================ */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.75rem 1.25rem; min-height: 2.875rem;
  border: 1px solid var(--btn-bd); border-radius: var(--radius);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: var(--step--1); letter-spacing: 0.01em; white-space: nowrap;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.55; cursor: default; transform: none; }
.btn--accent { --btn-bg: var(--accent-btn); --btn-bd: var(--accent-btn); }
.btn--accent:hover { --btn-bg: var(--accent-btn-hover); --btn-bd: var(--accent-btn-hover); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line); }
.btn--ghost:hover { --btn-bd: var(--ink); --btn-bg: var(--paper-soft); }

/* ============================ Hlavička ============================ */
.hd {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.hd__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; }
.hd__brand { display: inline-flex; align-items: center; gap: 0.6rem; min-width: 0; }
.hd__logo { width: 1.6rem; height: auto; }
.hd__name {
  font-family: var(--font-display), sans-serif; font-weight: 600; font-size: 1.15rem;
  letter-spacing: -0.02em; white-space: nowrap;
}
.hd__tag {
  font-family: var(--font-mono), monospace; font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
  padding: 0.2rem 0.45rem; border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  border-radius: var(--radius);
}
.hd__actions { display: flex; align-items: center; gap: 0.25rem; }
.hd__web {
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.375rem; padding: 0.35rem 0.8rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  font-size: var(--step--1); font-weight: 600; color: var(--ink);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}
.hd__web:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-wash); }
@media (max-width: 39.99rem) { .hd__tag { display: none; } }
.hd__ig {
  display: grid; place-items: center; width: 2.625rem; height: 2.625rem;
  border-radius: var(--radius); color: var(--ink-70);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.hd__ig:hover { color: var(--accent); background: var(--accent-wash); }

/* ============================ Úvod ============================ */
.hero { padding-block: clamp(2.5rem, 1.5rem + 5vw, 5.5rem) clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }
.hero__title { font-size: var(--step-4); margin-top: 0.75rem; max-width: 16ch; }
.hero__lead { margin-top: 1rem; max-width: 46ch; }
.hero__back { margin-top: 2rem; }
.hero--404 { padding-bottom: 6rem; }

/* ============================ Vyhledávání ============================ */
.search { position: relative; margin-top: 1.75rem; max-width: 36rem; }
.search__icon {
  position: absolute; left: 0.95rem; top: 1.625rem; transform: translateY(-50%);
  color: var(--ink-55); pointer-events: none;
}
.search__input {
  width: 100%; min-height: 3.25rem; padding: 0.75rem 1rem 0.75rem 2.9rem;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper);
  font-size: var(--step-0);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.search__input::placeholder { color: var(--ink-40); }
.search__input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-wash); }
.search--sm { margin-top: 0; flex: 1 1 14rem; max-width: 22rem; }
.search--sm .search__input { min-height: 2.875rem; font-size: var(--step--1); padding-left: 2.6rem; }
.search--sm .search__icon { left: 0.85rem; top: 1.4375rem; }

.results {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 20;
  list-style: none; padding: 0.35rem; margin-top: 0.5rem;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper);
  box-shadow: 0 18px 40px -18px rgba(14, 26, 43, 0.25);
  max-height: min(26rem, 60vh); overflow-y: auto;
}
.results__item a {
  display: flex; align-items: center; gap: 0.85rem; padding: 0.5rem 0.6rem; border-radius: var(--radius);
}
.results__item a:hover, .results__item a:focus-visible, .results__item[aria-selected="true"] a { background: var(--paper-soft); }
.results__img { width: 2.5rem; height: 3.1rem; object-fit: cover; border-radius: 2px; background: var(--paper-sink); flex-shrink: 0; }
.results__name { font-weight: 600; display: block; line-height: 1.3; }
.results__meta { font-size: var(--step--1); color: var(--ink-55); display: block; }
.results__empty { padding: 0.75rem; color: var(--ink-55); font-size: var(--step--1); }

/* ============================ Týmy ============================ */
.teams {
  list-style: none; padding: 0; display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
}
.team {
  display: flex; flex-direction: column; height: 100%;
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius);
  overflow: hidden; transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.team:hover { border-color: var(--ink-40); transform: translateY(-2px); }
.team__cover { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; background: var(--paper-sink); }
.team__cover--prazdny { display: block; }
.team__body { display: flex; align-items: center; gap: 0.9rem; padding: 1rem 1.1rem; }
.team__logo {
  display: grid; place-items: center; width: 3rem; height: 3rem; flex-shrink: 0;
  border-radius: var(--radius); background: var(--ink); color: #fff; overflow: hidden;
}
.team__logo img { width: 100%; height: 100%; object-fit: contain; }
.team__logo:has(img) { background: none; border-radius: 0; }
.team__logo--lg { width: 4rem; height: 4rem; }
.mono { font-family: var(--font-mono), monospace; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.06em; }
.team__logo--lg .mono { font-size: 1rem; }
.team__text { flex: 1; min-width: 0; }
.team__name { display: block; font-family: var(--font-display), sans-serif; font-weight: 600; font-size: var(--step-1); letter-spacing: -0.02em; line-height: 1.2; }
.team__meta { display: block; font-size: var(--step--1); color: var(--ink-55); margin-top: 0.15rem; }
.team__arrow { color: var(--ink-40); transition: color 0.2s var(--ease), transform 0.25s var(--ease); }
.team:hover .team__arrow { color: var(--accent); transform: translateX(3px); }

/* ============================ Hlavička stránky ============================ */
.page-head { padding-block: clamp(1.5rem, 1rem + 2vw, 2.75rem) clamp(1.25rem, 1rem + 1vw, 2rem); }
.crumbs {
  display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center;
  font-size: var(--step--1); color: var(--ink-55); margin-bottom: 1.25rem;
}
.crumbs a { transition: color 0.2s var(--ease); }
.crumbs a:hover { color: var(--accent); }
.crumbs span:last-child { color: var(--ink); font-weight: 500; }

.team-head { display: flex; align-items: center; gap: 1.1rem; }
.page-title { font-size: var(--step-3); }
.page-meta { color: var(--ink-55); font-size: var(--step--1); margin-top: 0.4rem; font-family: var(--font-mono), monospace; letter-spacing: 0.02em; }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-top: 1.75rem; }
.toolbar__zip { margin-left: auto; }
@media (max-width: 40rem) {
  .search--sm { max-width: none; flex-basis: 100%; }
  .toolbar__zip { margin-left: 0; width: 100%; }
}

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips--odsazene { margin-top: 1.75rem; }
.chip {
  display: inline-flex; align-items: center; min-height: 2.25rem; padding: 0.35rem 0.95rem;
  border: 1px solid var(--line); border-radius: 100px;
  font-size: var(--step--1); font-weight: 500; font-variant-numeric: tabular-nums;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}
.chip:hover { border-color: var(--accent); background: var(--accent-wash); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ============================ Karty hráčů ============================ */
.players { padding-bottom: clamp(3rem, 2rem + 4vw, 5rem); }
.cards {
  list-style: none; padding: 0; display: grid; gap: 1.25rem 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 40rem) { .cards { grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); } }
@media (min-width: 48rem) { .cards { gap: 2rem 1.25rem; } }
.alba { margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); }
.alba__title { font-size: var(--step-2); padding-bottom: 0.75rem; margin-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.card__link { display: block; }
.card__img {
  display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius);
  background: var(--paper-sink);
}
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card__link:hover .card__img img { transform: scale(1.04); }
.card__body { display: block; padding-top: 0.65rem; }
.card__name {
  display: block; font-family: var(--font-display), sans-serif; font-weight: 600;
  font-size: var(--step-0); letter-spacing: -0.015em; line-height: 1.25;
  transition: color 0.2s var(--ease);
}
.card__link:hover .card__name { color: var(--accent); }
.card__meta { display: flex; gap: 0.5rem; font-size: var(--step--1); color: var(--ink-55); margin-top: 0.15rem; }
.card__num { font-family: var(--font-mono), monospace; font-weight: 700; color: var(--ink-70); }
.empty { color: var(--ink-55); padding: 2rem 0; }

/* ============================ Hráč ============================ */
.player-head { display: grid; gap: 1.25rem; align-items: end; }
.player-head__img { width: 7.5rem; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--paper-sink); }
@media (min-width: 40rem) {
  .player-head { grid-template-columns: auto 1fr; gap: 2rem; }
  .player-head__img { width: 11rem; }
}
.actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.25rem; }
.note { margin-top: 1rem; font-size: var(--step--1); color: var(--ink-55); max-width: 52ch; }
.note a { color: var(--accent); font-weight: 500; }
.note a:hover { text-decoration: underline; }

.gallery { padding-bottom: clamp(3rem, 2rem + 4vw, 5rem); }
.season + .season { margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); }
.season__title { font-size: var(--step-2); padding-bottom: 0.75rem; border-bottom: 1px solid var(--line); }
.match { margin-top: 1.75rem; }
.match__title {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.85rem;
  font-family: var(--font-mono), monospace; font-weight: 500; font-size: var(--step--1);
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-70);
  margin-bottom: 0.75rem;
}
.match__vs { color: var(--accent); font-weight: 700; }
.match__count { color: var(--ink-40); margin-left: auto; text-transform: none; letter-spacing: 0.02em; }

/* Justified mřížka čistě v CSS: šířka podle poměru stran, řádek má stejnou výšku */
.jg { --jg-h: 9rem; --jg-gap: 4px; display: flex; flex-wrap: wrap; gap: var(--jg-gap); }
@media (min-width: 40rem) { .jg { --jg-h: 13rem; --jg-gap: 6px; } }
@media (min-width: 75rem) { .jg { --jg-h: 16rem; } }
.jg::after { content: ""; flex-grow: 1000000; }
@media (max-width: 39.99rem) {
  .jg { display: block; columns: 2; column-gap: var(--jg-gap); }
  .jg::after { display: none; }
  .jg .ph { display: block; margin-bottom: var(--jg-gap); break-inside: avoid; }
}
.ph {
  position: relative; flex-grow: calc(var(--r) * 100); flex-basis: calc(var(--r) * var(--jg-h));
  background: var(--paper-sink); overflow: hidden; border-radius: 2px;
}
.ph__link { display: block; cursor: zoom-in; }
.ph img { width: 100%; height: auto; aspect-ratio: var(--r); object-fit: cover; transition: transform 0.5s var(--ease), opacity 0.3s; }
.ph:hover img { transform: scale(1.025); }
.ph__dl {
  position: absolute; right: 0.4rem; bottom: 0.4rem;
  display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%;
  background: rgba(14, 26, 43, 0.62); color: #fff; backdrop-filter: blur(6px);
  opacity: 0; transform: translateY(4px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), background 0.2s var(--ease);
}
.ph:hover .ph__dl, .ph__dl:focus-visible { opacity: 1; transform: none; }
.ph__dl:hover { background: var(--accent-btn); }
@media (hover: none) {
  .ph__dl { opacity: 0.9; transform: none; width: 2rem; height: 2rem; right: 0.3rem; bottom: 0.3rem; }
  .ph__dl .ikona { width: 16px; height: 16px; }
}

/* ============================ Dialog ZIP ============================ */
.dlg {
  margin: auto; inset: 0; max-height: calc(100dvh - 2rem);   /* reset * { margin: 0 } by dialog jinak přilepil vlevo nahoru */
  border: 0; padding: 0; border-radius: var(--radius); width: min(30rem, 100% - 2rem);
  color: var(--ink); background: var(--paper); box-shadow: 0 30px 80px -20px rgba(14, 26, 43, 0.45);
}
.dlg::backdrop { background: rgba(14, 26, 43, 0.55); backdrop-filter: blur(3px); }
.dlg__box { position: relative; padding: 1.75rem 1.5rem 1.5rem; }
.dlg__x { position: absolute; top: 0.75rem; right: 0.75rem; width: 2.5rem; height: 2.5rem; display: grid; place-items: center; color: var(--ink-55); border-radius: var(--radius); }
.dlg__x:hover { color: var(--ink); background: var(--paper-soft); }
.dlg__title { font-size: var(--step-2); margin-top: 0.4rem; padding-right: 2rem; }
.dlg__info { margin-top: 0.75rem; font-family: var(--font-mono), monospace; font-size: var(--step--1); font-weight: 500; color: var(--ink-70); }
.dlg__note { margin-top: 0.75rem; font-size: var(--step--1); color: var(--ink-55); }
.dlg__progress { margin-top: 1.1rem; display: grid; gap: 0.4rem; font-size: var(--step--1); color: var(--ink-70); }
.dlg__progress progress { width: 100%; height: 6px; appearance: none; border: 0; border-radius: 3px; background: var(--paper-sink); overflow: hidden; }
.dlg__progress progress::-webkit-progress-bar { background: var(--paper-sink); }
.dlg__progress progress::-webkit-progress-value { background: var(--accent); transition: width 0.3s; }
.dlg__progress progress::-moz-progress-bar { background: var(--accent); }
.dlg__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.6rem; margin-top: 1.5rem; }
@media (max-width: 30rem) { .dlg__actions .btn { flex: 1; } }

.toast {
  position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%); z-index: 200;
  padding: 0.7rem 1.1rem; border-radius: var(--radius); background: var(--ink); color: #fff;
  font-size: var(--step--1); box-shadow: 0 12px 30px -10px rgba(14, 26, 43, 0.5);
}

/* ============================ PhotoSwipe ============================ */
.pswp { --pswp-bg: #0b1422; --pswp-placeholder-bg: #16243a; }
/* photoswipe.css se načítá až po tomhle souboru, proto vyšší specificita */
.pswp .pswp__button.pswp__button--stahnout { display: flex; align-items: center; justify-content: center; color: #fff; }
.pswp__button--stahnout .ikona { width: 26px; height: 26px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6)); }
.pswp__popis {
  position: absolute; left: 50%; bottom: 1rem; transform: translateX(-50%);
  font-family: var(--font-mono), monospace; font-size: 0.75rem; letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.75); text-transform: uppercase; white-space: nowrap; pointer-events: none;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* ============================ Patička ============================ */
.ft {
  padding-top: clamp(3rem, 2rem + 4vw, 4.5rem); padding-bottom: 1.75rem;
  background: var(--ink); color: rgba(255, 255, 255, 0.7);
}
.ft__inner { display: grid; gap: 2rem; padding-bottom: 2.5rem; font-size: var(--step--1); }
@media (min-width: 48rem) { .ft__inner { grid-template-columns: 1fr auto auto; gap: 3.5rem; } }
.ft__brand { display: block; }
.ft__nav { display: grid; gap: 0.6rem; align-content: start; }
.ft__logo { width: 2rem; height: auto; filter: brightness(0) invert(1); opacity: 0.9; }
.ft__name { margin-top: 0.875rem; font-family: var(--font-display), sans-serif; font-size: var(--step-1); font-weight: 600; letter-spacing: -0.02em; color: #fff; }
.ft__role { color: rgba(255, 255, 255, 0.5); }
.ft__text { display: grid; gap: 0.75rem; align-content: start; max-width: 40ch; }
.ft__text a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.35); text-underline-offset: 3px; }
.ft__reach { display: grid; gap: 0.6rem; align-content: start; }
.ft__ig { display: inline-flex; align-items: center; gap: 0.45rem; }
.ft a { transition: color 0.2s var(--ease); }
.ft a:hover { color: #fff; }
.ft__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem;
  padding-top: 1.75rem; border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-mono), monospace; font-size: 0.7rem; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.45);
}

/* ============================ Banner kubaejj.cz ============================ */
.promo {
  display: grid; gap: 1.5rem; align-items: center;
  padding: clamp(1.75rem, 1.25rem + 2.5vw, 3rem); border-radius: var(--radius);
  background: var(--ink); color: rgba(255, 255, 255, 0.75);
}
@media (min-width: 48rem) { .promo { grid-template-columns: 1fr auto; gap: 3rem; } }
.promo__kicker { color: #8fb0ff; }
.promo__title { font-size: var(--step-3); color: #fff; margin-top: 0.5rem; max-width: 20ch; }
.promo__lead { margin-top: 0.85rem; max-width: 46ch; }
.promo__cta { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.btn--svetle { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, 0.3); }
.btn--svetle:hover { --btn-bd: #fff; --btn-bg: rgba(255, 255, 255, 0.08); }
