/* společný základ všech mockupů; barvy a nálada se přepisují v každém zvlášť */
:root {
  --red: #d0101c;
  --ink: #8e0d18;
  --bg: #f6e9df;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Fraunces", Georgia, serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
#bg, #fx {
  position: fixed; inset: 0; width: 100vw; height: 100vh;
  display: block;
}
#bg { z-index: 0; }
#fx { z-index: 1; pointer-events: none; }

.col {
  position: relative; z-index: 2;
  width: 100%; max-width: 460px;
  margin: 0 auto;
  padding: 44px 22px 40px;
  display: flex; flex-direction: column; align-items: center;
  pointer-events: none;           /* klik propadne na pozadí… */
}
.col a, .col .ava { pointer-events: auto; }  /* …kromě odkazů */

.ava {
  position: relative; width: 116px; height: 116px; margin-bottom: 18px;
}
.ava img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border-radius: 50%; object-fit: cover; z-index: 1;
}
.ava canvas { position: absolute; z-index: 0; }

h1 {
  font-family: "Caprasimo", "Fraunces", serif;
  font-weight: 400;
  font-size: 42px; line-height: 1.05;
  color: var(--red);
  text-align: center;
}
.bio {
  margin-top: 10px;
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 13px; line-height: 1.5;
  text-align: center; color: var(--ink);
  max-width: 340px;
}
.bio .kw { color: var(--red); font-weight: 500; }

nav { width: 100%; margin-top: 34px; display: flex; flex-direction: column; gap: 22px; }

.lk {
  position: relative; display: flex; align-items: center; gap: 12px;
  min-height: 68px; padding: 10px 22px 10px 16px;
  text-decoration: none; color: var(--ink);
  -webkit-tap-highlight-color: transparent;
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
}
.lk canvas.paint { position: absolute; z-index: 0; pointer-events: none; }
.lk canvas.ico { position: relative; z-index: 1; width: 44px; height: 44px; flex: none; }
.lk .t { position: relative; z-index: 1; display: flex; flex-direction: column; line-height: 1.15; }
.lk b { font-weight: 650; font-size: 19px; }
.lk small { font-size: 13px; opacity: .78; font-style: italic; }
.lk:hover { transform: rotate(-1.2deg) scale(1.025); }
.lk:active { transform: scale(.97, .93); transition-duration: .08s; }
.lk:focus-visible { outline: 3px dashed var(--red); outline-offset: 6px; border-radius: 14px; }

.hint {
  margin-top: 34px; font-size: 12.5px; font-style: italic; opacity: .7; text-align: center;
}

/* plácnutý kus barvy po ťuknutí */
.spawn {
  position: fixed; z-index: 1; pointer-events: none;
  transform-origin: 50% 85%;
}
@media (prefers-reduced-motion: reduce) {
  .lk, .spawn { animation: none !important; transition: none !important; }
}
