:root {
  --papier: #f2e3c6; --papier2: #fbf5e6; --tus: #1e1c1a; --rumelka: #c0452d;
  --okrova: #e5a93c; --modra: #2b5b84; --odtlacok: #8a6a4a; --siva: #5a5148;
}
* { box-sizing: border-box; }
html { background: var(--papier); }
body {
  margin: 0; background: var(--papier); color: var(--tus);
  font-family: Fraunces, Georgia, serif; font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-size: 18px; line-height: 1.55; overflow-x: hidden;
}
#padanie { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 5; }
.obal {
  max-width: 1180px; margin: 0 auto; padding: 20px clamp(16px, 4vw, 48px) 40px;
  display: flex; flex-direction: column; gap: clamp(32px, 5vw, 56px);
}
h1, h2 { font-family: Fraunces, Georgia, serif; font-weight: 800; margin: 0; line-height: 1.08; }
a { color: inherit; }

.uvod { display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; }
.hlavicka { width: 100%; display: flex; justify-content: space-between; align-items: center; }
.logo { display: block; line-height: 0; }
.logo img { height: clamp(40px, 6vw, 58px); width: auto; display: block; }
.obraz-vietor { position: relative; width: 100%; padding: 5% 7%; }
.obraz-vietor .vrypy { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.obraz {
  position: relative; display: block; width: 100%; aspect-ratio: 1044 / 748;
  box-shadow: 8px 8px 0 var(--odtlacok); cursor: pointer; transition: transform .15s; will-change: transform; transform: translateZ(0);
}
.obraz:hover, .obraz:focus-visible { transform: translate(-2px, -2px); box-shadow: 10px 10px 0 var(--odtlacok); }
.obraz:focus-visible { outline: 3px solid var(--modra); outline-offset: 6px; }
.obraz .foto { position: absolute; left: 2.1%; top: 2.9%; width: 95.8%; height: 94.2%; object-fit: cover; display: block; }
/* Živé okno do hry: hra má rozmer 16:9 a rám z nej ukazuje len stred (ako pôvodný rám v hre),
   takže lietajúce veci prichádzajú spoza okraja rámu. */
.obraz .orez { z-index: 0; overflow: hidden; pointer-events: none; }
.obraz .zive { position: absolute; left: -27.9%; top: -11.35%; width: 155.7%; height: 122.7%;
  border: 0; pointer-events: none; background: transparent; }
/* fotka leží nad živou hrou, kým sa hra nenačíta; potom sa rozplynie (hra sama nikdy nie je priehľadná) */
.obraz #obrazImg { z-index: 1; transition: opacity .9s ease; }
.obraz.zivo #obrazImg { opacity: 0; }
.obraz .ram { z-index: 2;  position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
h1 { font-size: clamp(34px, 5vw, 58px); }
.vryp { width: 240px; max-width: 60%; height: 16px; margin-top: -6px; }
.klikni {
  margin: 0; display: flex; gap: 12px; align-items: center; justify-content: center;
  font-family: Caveat, cursive; font-weight: 700; font-size: clamp(30px, 4.4vw, 50px); line-height: 1.1;
}
.klikni svg { width: 28px; height: 42px; flex: none; fill: var(--rumelka); }
.klikni .zrkadlo { transform: scaleX(-1); }

.dvere-rad { display: flex; flex-wrap: wrap; justify-content: center; gap: 36px; align-items: stretch; }
.dvere {
  position: relative; flex: 1 1 260px; max-width: 330px; min-height: 500px; padding: 72px 44px 40px 38px;
  display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center;
}
.dvere > * { position: relative; margin: 0; }
.dvere .dvere-obr { position: absolute; left: 0; top: 0; width: 101.95%; height: 101.5%; pointer-events: none; }
.dvere .ikona { width: 72px; height: 45px; display: block; }
.dvere h2 { font-size: 32px; }
.dvere p { font-size: 16px; line-height: 1.45; }
.rucne { font-family: Caveat, cursive; font-weight: 700; font-size: 28px !important; line-height: 1.1 !important; margin-top: 6px !important; }
.rumelka { color: var(--rumelka); }
.okrova { color: #b06f1c; }
.dvere .rucne { min-height: 2.2em; display: flex; align-items: center; justify-content: center; margin-top: 2px !important; }
.modra { color: var(--modra); }
.dvere .dole { margin-top: auto; }
.prepinac { display: flex; flex-direction: column; gap: 12px; width: 100%; margin-top: 4px !important; }
.prepinac button {
  font: inherit; font-size: 20px; font-weight: 700; width: 100%; padding: 11px 8px;
  border: 3px solid var(--tus); box-shadow: 4px 4px 0 var(--odtlacok);
  background: var(--papier2); color: var(--tus); cursor: pointer;
  display: flex; gap: 10px; align-items: center; justify-content: center;
}
.prepinac button svg { width: 26px; height: 26px; }
.prepinac .zima svg { color: var(--modra); }
.prepinac .vietor[aria-pressed="true"] { background: var(--rumelka); color: #fffaf0; }
.prepinac .zima[aria-pressed="true"] { background: var(--modra); color: #fffaf0; }
.prepinac .zima[aria-pressed="true"] svg { color: #fffaf0; }
.prepinac button:focus-visible, .tlacidlo:focus-visible { outline: 3px solid var(--modra); outline-offset: 3px; }
.tlacidlo {
  margin-top: auto !important; display: block; width: 100%; background: var(--papier2); color: var(--tus);
  font-weight: 700; padding: 10px; border: 3px solid var(--tus); box-shadow: 4px 4px 0 var(--odtlacok); text-decoration: none;
}
.tlacidlo:hover { background: #fffaf0; }

.ulica-sekcia { display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; }
.ulica-sekcia h2 { font-size: clamp(24px, 3vw, 32px); }
.ulica-sekcia .vryp { width: 200px; max-width: 50%; height: 14px; margin-top: -8px; }
.ulica-obal { position: relative; width: 100%; }
.ulica { width: 100%; height: auto; display: block; }
.ulica-cesta { position: absolute; inset: 0; width: 100%; height: 100%; }
.cyklista { position: absolute; top: 29%; width: 22.8%; height: 56%; left: 25%; }
.tlacidlo-rozok {
  display: inline-block; background: var(--rumelka); color: #fffaf0; font-weight: 700; font-size: 19px;
  padding: 12px 26px; border: 3px solid var(--tus); box-shadow: 4px 4px 0 var(--odtlacok); text-decoration: none;
}
.tlacidlo-rozok:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--odtlacok); }
.ulica-sekcia p { margin: 0; max-width: 680px; }

.novinky { display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center; }
.novinky h2 { font-size: clamp(22px, 2.6vw, 28px); }
.novinky-form { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; width: 100%; max-width: 560px; }
.novinky-form input[type=email] {
  flex: 1 1 240px; font: inherit; font-size: 18px; padding: 11px 14px; border: 3px solid var(--tus);
  background: var(--papier2); color: var(--tus); box-shadow: 4px 4px 0 var(--odtlacok);
}
.novinky-form button {
  font: inherit; font-weight: 700; font-size: 18px; padding: 11px 22px; border: 3px solid var(--tus);
  background: var(--modra); color: #fffaf0; cursor: pointer; box-shadow: 4px 4px 0 var(--odtlacok);
}
.novinky-form input:focus-visible, .novinky-form button:focus-visible { outline: 3px solid var(--rumelka); outline-offset: 3px; }
.novinky-stav { margin: 0; min-height: 1.4em; font-family: Caveat, cursive; font-size: 26px; font-weight: 700; }
.drobne { margin: 0; max-width: 560px; font-size: 14px; color: var(--siva); }
.drobne a { color: var(--siva); }
.skryte, .pasca { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.paticka {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  font-size: 15px; color: var(--siva); border-top: 1px solid var(--odtlacok); padding-top: 16px;
}

/* podstránky */
.podstranka { max-width: 760px; }
.podstranka .spat { font-family: Caveat, cursive; font-size: 26px; font-weight: 700; text-decoration: none; }
.podstranka h1 { font-size: clamp(34px, 6vw, 54px); }
.podstranka .rucne { font-size: 34px !important; }
.podstranka p { margin: 0; }

/* ===== Moje mesto ===== */
.mm .hlavicka { gap: 16px; }
.mm-hore { font-family: Caveat, cursive; font-size: 24px; font-weight: 700; color: var(--rumelka); text-decoration: none; white-space: nowrap; }
.mm h1 { font-size: clamp(36px, 6vw, 62px); }
.mm h2 { font-size: clamp(26px, 3.4vw, 36px); }
.mm-uvod { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 32px; align-items: center; }
.mm-uvod-text { display: flex; flex-direction: column; gap: 14px; }
.mm-uvod .vryp { margin-top: -8px; }
.mm-otazka { margin: 0; font-family: Caveat, cursive; font-weight: 700; font-size: clamp(26px, 3vw, 34px); color: var(--rumelka); }
.mm-velky { margin: 0; font-size: 19px; max-width: 640px; }
.mm-akcie { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.mm-tichy { color: var(--modra); font-weight: 700; }
.mm-predpo { display: flex; align-items: center; justify-content: center; gap: 6px; }
.mm-mobil { width: 92px; height: 170px; border: 6px solid var(--tus); border-radius: 18px; background: #d8d2c6; padding: 14px 10px; display: flex; flex-direction: column; gap: 10px; box-shadow: 6px 6px 0 var(--odtlacok); flex: none; }
.mm-mobil span { display: block; height: 18px; background: #bdb5a7; border-radius: 3px; }
.mm-sipka { width: 90px; flex: none; }
.mm-oblukdvere { width: min(280px, 52vw); aspect-ratio: 3 / 4; border: 9px solid var(--tus); border-radius: 999px 999px 0 0; overflow: hidden; box-shadow: 8px 8px 0 var(--odtlacok); flex: none; outline: 3px solid var(--okrova); outline-offset: -14px; }
.mm-oblukdvere img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mm-sekcia { display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; }
.mm-sekcia > * { margin: 0; }
.mm-styri { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px; width: 100%; }
.mm-dvierka { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px 16px 18px; background: var(--papier2); border: 4px solid var(--tus); border-radius: 120px 120px 0 0; box-shadow: 5px 5px 0 var(--odtlacok); text-decoration: none; color: var(--tus); }
.mm-dvierka svg { width: 60px; height: 38px; }
.mm-dvierka b { font-size: 22px; }
.mm-dvierka span { font-size: 15px; line-height: 1.4; }
.mm-dvierka:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--odtlacok); }
.mm-kroky { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; width: 100%; counter-reset: k; }
.mm-kroky li { counter-increment: k; background: var(--papier2); border: 3px solid var(--tus); box-shadow: 4px 4px 0 var(--odtlacok); padding: 18px; display: flex; flex-direction: column; gap: 6px; text-align: left; }
.mm-kroky li::before { content: counter(k); font-family: Caveat, cursive; font-size: 44px; font-weight: 700; color: var(--rumelka); line-height: .8; }
.mm-kroky b { font-size: 20px; }
.mm-kroky img { width: 100%; height: auto; display: block; border: 3px solid var(--tus); background: var(--papier2); order: -1; margin-bottom: 4px; }
.mm-vetva { padding-top: 10px; border-top: 2px dashed var(--odtlacok); }
.mm-vetva .rucne { font-size: 32px !important; }
.mm-ziska { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.mm-ziska li { background: var(--papier2); border: 2px solid var(--tus); border-radius: 99px; padding: 6px 16px; font-weight: 700; }
.mm-ceny { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; width: 100%; align-items: stretch; margin-top: 18px !important; }
.mm-jedna { max-width: 360px; grid-template-columns: 1fr; }
.mm-cena { position: relative; font: inherit; color: var(--tus); cursor: pointer; text-align: center; align-items: center; background: var(--papier2); border: 3px solid var(--tus); box-shadow: 5px 5px 0 var(--odtlacok); padding: 24px 18px 18px; display: flex; flex-direction: column; gap: 6px; }
.mm-cena:hover { background: #fffaf0; }
.mm-cena[aria-checked="true"] { outline: 5px solid var(--rumelka); outline-offset: -2px; background: #fffaf0; }
.mm-cena:focus-visible { outline: 3px solid var(--modra); outline-offset: 3px; }
.mm-riadky { line-height: 1.7; }
.mm-check { position: absolute; top: 10px; left: 10px; width: 22px; height: 22px; border: 3px solid var(--tus); border-radius: 50%; background: var(--papier2); }
.mm-cena[aria-checked="true"] .mm-check { background: var(--rumelka); box-shadow: inset 0 0 0 4px var(--papier2); }
.mm-cena b { font-size: 21px; }
.mm-cena p { margin: 0; line-height: 1.7; }
.mm-cena small { color: var(--siva); }
.mm-suma { font-family: Fraunces, Georgia, serif; font-size: 44px; font-weight: 800; line-height: 1; }
.mm-odporucame { }
.mm-stitok { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); background: var(--rumelka); color: #fffaf0; font-weight: 700; font-size: 14px; padding: 4px 14px; border: 2px solid var(--tus); white-space: nowrap; }
.mm-darcek { display: flex; flex-wrap: wrap; gap: 18px 32px; justify-content: space-between; align-items: center; text-align: left; width: 100%; max-width: 760px; background: var(--papier2); border: 4px solid var(--modra); box-shadow: 5px 5px 0 var(--odtlacok); padding: 22px 26px; }
.mm-darcek b { font-size: 22px; }
.mm-darcek p { margin: 6px 0; line-height: 1.7; }
.mm-darcek small { color: var(--siva); }
.mm-darcek .mm-suma { display: flex; flex-direction: column; align-items: center; }
.mm-darcek .mm-suma small { font-family: Georgia, serif; font-size: 15px; font-weight: 400; }
.mm-dva { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; width: 100%; }
.mm-karta { background: var(--papier2); border: 3px solid var(--tus); box-shadow: 4px 4px 0 var(--odtlacok); padding: 18px 20px; text-align: left; }
.mm-karta b { font-size: 20px; }
.mm-karta p { margin: 6px 0 0; }
.mm-male .rucne { font-size: 28px !important; }
.mm-otazky details { width: 100%; max-width: 720px; text-align: left; border-bottom: 2px solid var(--tus); padding: 10px 4px; }
.mm-otazky summary { font-weight: 700; cursor: pointer; font-size: 19px; }
.mm-otazky details p { margin: 8px 0 4px; }
.mm-sponzor { flex-direction: row; flex-wrap: wrap; justify-content: center; text-align: left; gap: 26px; }
.mm-sponzor > div:last-child { max-width: 520px; display: flex; flex-direction: column; gap: 10px; }
.mm-polica { display: flex; align-items: flex-end; gap: 4px; padding: 0 10px; border-bottom: 8px solid var(--tus); height: 120px; }
.mm-polica span { width: 18px; height: 90px; background: var(--rumelka); border: 3px solid var(--tus); }
.mm-polica span:nth-child(2n) { height: 76px; background: var(--okrova); }
.mm-polica span:nth-child(3n) { height: 100px; background: var(--modra); }
.mm-polica span.v { width: 30px; height: 112px; background: var(--papier2); border-radius: 15px 15px 0 0; }
.mm-kto { font: inherit; font-size: 17px; padding: 11px 10px; border: 3px solid var(--tus); background: var(--papier2); color: var(--tus); box-shadow: 4px 4px 0 var(--odtlacok); }
@media (max-width: 600px) {
  .mm-predpo { gap: 2px; }
  .mm-mobil { width: 64px; height: 120px; border-width: 5px; padding: 10px 7px; gap: 7px; }
  .mm-mobil span { height: 12px; }
  .mm-sipka { width: 54px; }
  .mm-oblukdvere { width: 46vw; border-width: 7px; }
  .mm-hore { font-size: 20px; }
  .mm-dvierka { padding: 18px 10px 14px; gap: 4px; }
  .mm-dvierka b { font-size: 18px; }
  .mm-dvierka span { font-size: 13px; }
}
.mm-kupit { font: inherit; font-weight: 700; font-size: 19px; cursor: pointer; }
