/* Konfigurátor mapy – náhled desky ve dřevě + formulář */
.konf { display: grid; gap: 40px; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: start; }
@media (max-width: 880px) { .konf { grid-template-columns: 1fr; gap: 24px; } }

/* portrét: automatická úprava fotky, ruční doladění schované */
.auto-uprava { margin: 0 0 8px; }
.dolad { margin: 4px 0 10px; }
.dolad summary { cursor: pointer; color: var(--accent); font-size: 15px; font-weight: 600; padding: 6px 0; }
.dolad[open] summary { margin-bottom: 6px; }
.odkaz-tl { background: none; border: 0; padding: 4px 0; color: var(--accent); font: 500 14px var(--sans); cursor: pointer; text-decoration: underline; }

/* vánoční lišta nad cenou (deska.js) */
.uzaverka { margin: 0 0 14px; padding: 12px 16px; border-radius: 12px; background: var(--card); border: 1px solid var(--line);
            border-left: 4px solid var(--accent); font-size: 15px; }
.uzaverka.po-uzaverce { border-left-color: var(--muted); color: var(--muted); }

/* náhled desky */
.stage { position: sticky; top: 80px; display: flex; flex-direction: column; align-items: center; padding: 28px 28px 16px;
         background: radial-gradient(circle at 50% 35%, #fff 0, var(--bg2) 72%); border-radius: var(--r); }
@media (max-width: 880px) { .stage { position: relative; top: 0; padding: 14px 14px 12px; } }
/* aspect-ratio: výška desky ještě před JS (Deska.vykresli ji upřesní) – jinak se při načtení skriptů posune celý formulář (CLS) */
/* 19. 11. Martin „návrh i s textem useknutý“: na notebooku (768 px) byla deska 772 px vysoká → šířka se řídí i výškou okna
   (--pomer = šířka/výška desky z Deska.vykresli), aby byla celá deska s textem vidět; aspoň 260 px, ať není drobná */
.deska { --nad-deskou: 175px; /* hlavička + okraj stránky nad deskou; mapa má navíc přepínač režimu */
         position: relative; width: min(100%, max(230px, calc((100svh - var(--nad-deskou)) * var(--pomer, .7)))); max-width: 560px;
         aspect-ratio: 140 / 200; background: var(--drevo); overflow: hidden;
         box-shadow: 0 2px 3px rgba(60,35,15,.25), 0 18px 40px -12px rgba(60,35,15,.45); }
/* 19. 11. Martin „celý náhled i s textem pod tím – přiblížení atd.“: rezerva = nad deskou + ovládání pod deskou
   (změřeno: portrét 143 px pod deskou – nápověda, psaní na desce, přiblížení, Otočit; mapa 152 px; obloha 77 px) */
.stage:has(#platno) .deska { --nad-deskou: 322px; }
.stage:has(.rezimy) .deska { --nad-deskou: 392px; }
.stage:has(#nebe) .deska { --nad-deskou: 255px; }
.zrno { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: multiply; opacity: .55; z-index: 3;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.004 0.09' numOctaves='3' seed='11'/%3E%3CfeColorMatrix values='0 0 0 0 0.62  0 0 0 0 0.45  0 0 0 0 0.27  0.9 0 0 0 -0.32'/%3E%3C/filter%3E%3Crect width='600' height='600' filter='url(%23f)'/%3E%3C/svg%3E");
        background-size: 600px 600px; }
.okno { position: absolute; overflow: hidden; z-index: 1; }
.okno.vrstvy { box-shadow: inset 1px 2px 4px rgba(40,20,5,.55); }
#map { position: absolute; inset: 0; }
.srdce { position: absolute; z-index: 2; pointer-events: none; filter: blur(.25px); }
/* popisky v mm desky (viewBox = rozměr kusu), vykresluje konfigurator.js */
.popisky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; transition: opacity .15s; }
.popisky text { font-family: "Gelasio", "DP Emoji", Georgia, serif; fill: var(--paleni); filter: blur(.12px); }
.deska.rezim-mapa .popisky { display: none; }
.lista { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; z-index: 2; }
.texty { flex: 1; text-align: center; color: var(--paleni); min-width: 0; filter: blur(.2px); }
.t-nadpis { font-family: "Gelasio", "DP Emoji", Georgia, serif; font-style: italic; line-height: 1.1; white-space: nowrap; overflow: hidden; }
/* psaní přímo na desce: nadpis a 2. řádek v liště, vlastní štítek na mapě */
.t-nadpis[contenteditable], .t-podnadpis[contenteditable] { cursor: text; outline: none; border-radius: 4px; min-height: 1em;
  transition: background .15s; }
.t-nadpis[contenteditable]:hover, .t-podnadpis[contenteditable]:hover { background: rgba(122, 75, 39, .08); }
.t-nadpis[contenteditable]:focus, .t-podnadpis[contenteditable]:focus { background: rgba(255, 253, 249, .55); box-shadow: 0 0 0 1px var(--accent); }
.t-nadpis[contenteditable]:empty::before, .t-podnadpis[contenteditable]:empty::before { content: attr(data-prazdne); opacity: .6; }
/* 22. 11.: prázdný nadpis/2. řádek = výzva v tečkovaném rámečku (nevypadá jako vypálený text) */
.t-nadpis[contenteditable]:empty, .t-podnadpis[contenteditable]:empty { outline: 1px dashed rgba(122, 75, 39, .55); outline-offset: -1px; }
.popisky .stitek-upravit { pointer-events: auto; cursor: text; }
.skryte-popisky { margin: -4px 0 0 28px; font-size: 13px; color: var(--muted); }
.vratit-popisek { font: inherit; color: var(--accent); background: none; border: 1px solid currentColor; border-radius: 999px;
  padding: 1px 8px; margin: 2px 2px 0 0; cursor: pointer; }
#stitekNaMape { position: absolute; z-index: 6; border: 0; border-radius: 999px; padding: 0 .4em; text-align: center;
  font-family: "Gelasio", "DP Emoji", Georgia, serif; color: var(--paleni); background: #fffdf9; box-shadow: 0 0 0 2px var(--accent); }
.hint-psani { margin: 4px auto 0; text-align: center; font-size: 13px; color: var(--muted); }
.t-podnadpis { font-family: "Gelasio", "DP Emoji", Georgia, serif; letter-spacing: .18em; text-transform: uppercase; margin-top: .35em; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; }
/* nápověda prázdného 2. řádku se nikdy nesmí vylít z lišty do QR ani mimo desku (Martin 18. 10.) */
.t-podnadpis[contenteditable]:empty::before { letter-spacing: .08em; }
.t-souradnice { font-family: "Gelasio", "DP Emoji", Georgia, serif; letter-spacing: .16em; margin-top: .45em; white-space: nowrap; }
.t-souradnice:empty { display: none; }
.qr { flex: none; opacity: .9; filter: blur(.2px); }
.qr svg { display: block; width: 100%; height: 100%; }
/* nápověda POD deskou, nikdy přes náhled (dřív zakrývala lištu s věnováním a srdce) */
.napoveda { margin: 10px auto 0; max-width: 92%; text-align: center; font-size: 13px; line-height: 1.4; color: var(--muted);
            pointer-events: none; transition: opacity .4s; }
.zdroj { margin: 10px 0 0; text-align: center; font-size: 10px; line-height: 1.4; color: var(--muted); }
.zdroj a { color: inherit; }
.ovladani-mapy { display: flex; gap: 8px; margin-top: 14px; }
.ovladani-mapy button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--card);
                        font: 400 22px/1 var(--sans); color: var(--ink); cursor: pointer; }

/* formulář */
.konf form { display: grid; gap: 20px; }
.konf h1 { font-size: clamp(34px, 4.4vw, 52px); }
.konf .perex { margin: 10px 0 4px; font-size: 17px; }
.krok { font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
label.pole { display: grid; gap: 7px; font-weight: 600; font-size: 15px; }
.hint { font-weight: 400; color: var(--muted); font-size: 13px; }
/* Martin 16. 10.: výslovně říct, že popisky na mapě jdou upravit (šedá nápověda pod deskou se přehlédne) */
.poznamka-popisky { display: flex; gap: 10px; align-items: flex-start; margin: -6px 0 0; padding: 10px 14px; font-size: 14px;
  line-height: 1.45; background: rgba(224, 168, 116, .16); border-left: 3px solid var(--accent); border-radius: 8px; }
.poznamka-popisky > span:first-child { color: var(--accent); font-size: 17px; line-height: 1.2; }
/* text se nevejde do lišty v plné velikosti (Deska.presahTextu) – upozornění u pole a podtržení na desce */
.presah-hlaska { font-weight: 600; font-size: 13px; color: #a3341f; }
/* chyba pod polem po kliknutí na Vložit do košíku (Deska.ukazChyby, Martin 18. 10.) */
.chyba-pole { margin: 0; font-weight: 600; font-size: 13px; color: #a3341f; }
.chyba-kosik { margin: 6px 0 0; text-align: right; font-weight: 600; }
.konf textarea[aria-invalid=true], .konf select[aria-invalid=true], .konf .nahrani:has(+ .chyba-pole:not([hidden])) { border-color: #a3341f; }
.konf input[aria-invalid=true] { border-color: #a3341f; }
.t-nadpis.presah, .t-podnadpis.presah { text-decoration: underline wavy #a3341f; text-decoration-thickness: 1px; }
.konf input[type=text], .konf input[type=url], .konf input[type=search], .konf input[type=date], .konf input[type=time], .konf input[type=email] {
  font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card);
  width: 100%; color: var(--ink); }
/* datum a čas (obloha): bez nativního vzhledu, stejná výška jako textové pole; iOS zarovná hodnotu vlevo */
.konf input[type=date], .konf input[type=time] { appearance: none; -webkit-appearance: none; min-width: 0; min-height: 51px;
  line-height: 1.6; color-scheme: light; }
.konf input[type=date]::-webkit-date-and-time-value, .konf input[type=time]::-webkit-date-and-time-value { text-align: left; }
.konf input[type=date]::-webkit-calendar-picker-indicator, .konf input[type=time]::-webkit-calendar-picker-indicator {
  cursor: pointer; opacity: .6; width: 20px; height: 20px; }
.konf input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.hledat { display: flex; gap: 8px; }
.btn2 { padding: 0 18px; background: var(--ink); color: #fff; border: 0; border-radius: 12px; font: 600 15px var(--sans); cursor: pointer; }
.konf fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.konf legend { font-weight: 600; font-size: 15px; margin-bottom: 7px; padding: 0; }
.volby { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; }
.volba { position: relative; cursor: pointer; }
.volba input { position: absolute; opacity: 0; }
.volba > span { display: block; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); font-size: 14px; height: 100%; }
.volba > span b { display: block; font-size: 15px; }
.volba > span small { color: var(--muted); }
.volba input:checked + span { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); background: #fbf4ec; }
.volba input:focus-visible + span { outline: 2px solid var(--accent); }
.prepinac { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.volba-domy { display: grid; gap: 6px; }
.volba-domy-nadpis { font-weight: 600; font-size: 15px; }
.prepinac input { width: 18px; height: 18px; accent-color: var(--accent); }
/* fotka stojánku u volby (Martin 16.–18. 10.), vpravo, ať nezakrývá text */
.prepinac-foto { align-items: center; }
.prepinac-foto .stojanek-foto { margin-left: auto; flex: none; width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: var(--bg2); }
.souhrn { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0 0; border-top: 1px solid var(--line); }
.cena { font: 600 32px/1 var(--serif); }
.zaruky { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--muted); }
.zaruky span::before { content: "✓ "; color: var(--accent); font-weight: 700; }
.konf pre { background: var(--dark); color: var(--dark-ink); padding: 14px; border-radius: 12px; font-size: 12px; overflow: auto; display: none; margin: 0; }
.chyba { color: #a3341b; font-size: 13px; font-weight: 400; }
.chyba:empty { display: none; }
.vysledky { display: grid; gap: 4px; font-weight: 400; }
/* našeptávač míst (deska.js naseptavac, 15. 11. 2026) */
.naseptavac { display: grid; margin-top: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 10px;
              overflow: hidden; box-shadow: 0 6px 18px rgba(60, 36, 16, .12); }
.naseptavac[hidden] { display: none; }
.naseptavac button { display: grid; gap: 1px; text-align: left; padding: 10px 12px; min-height: 44px; background: none; border: 0;
                     border-top: 1px solid var(--line); font: inherit; color: inherit; cursor: pointer; }
.naseptavac button:first-child { border-top: 0; }
.naseptavac button span { font-size: .85em; opacity: .7; }
.naseptavac button[aria-selected="true"], .naseptavac button:hover { background: #fbf4ec; }
.vysledky button { text-align: left; padding: 8px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 10px;
                   font: 13px var(--sans); color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
.vysledky button.akt { border-color: var(--accent); background: #fbf4ec; }
@media (max-width: 880px) {
  .lepkava { position: sticky; bottom: 0; background: var(--bg); padding-bottom: 12px; z-index: 5; }
}

/* přepínač Ve dřevě / Mapa s názvy */
.rezimy { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 16px; background: var(--card); border: 1px solid var(--line);
          border-radius: 999px; }
.rezimy button { border: 0; background: transparent; padding: 8px 16px; border-radius: 999px; font: 600 14px var(--sans);
                 color: var(--muted); cursor: pointer; }
.rezimy button[aria-selected="true"] { background: var(--ink); color: #fff; }
/* v mapě s názvy: bez dřevěné textury a srdce zvýrazněné, ať je vidět, kam míří */
.deska.rezim-mapa .zrno { display: none; }
.deska.rezim-mapa .srdce path { fill: #c0392b; }

/* portrét z fotky */
.okno-foto { cursor: grab; touch-action: none; background: var(--drevo); }
.okno-foto:active { cursor: grabbing; }
.okno-foto.pretahuji { outline: 3px dashed var(--accent); outline-offset: -6px; }
#platno { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.posuvnik-zoom { display: flex; align-items: center; gap: 10px; margin-top: 14px; width: min(320px, 100%); color: var(--muted); font-size: 20px; }
.posuvnik-zoom input { flex: 1; }
.konf input[type=range] { accent-color: var(--accent); }
.posuvnik { display: grid; grid-template-columns: 90px 1fr; align-items: center; gap: 12px; font-size: 15px; }
.konf .pole { display: grid; gap: 8px; font-weight: 600; font-size: 15px; }
.nahrani { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.nahrani .hint { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.ukazky { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 400; }
.ukazky button { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card);
                 font: 500 14px var(--sans); color: var(--ink); cursor: pointer; }
.ukazky button[aria-pressed="true"] { border-color: var(--accent); background: #fbf4ec; }
.varovani { color: #9a5a00; font-size: 13px; font-weight: 400; }
.varovani:empty { display: none; }
/* tipy k nahrané fotce (portrét, 4. 11.): rada, ne chyba – nákup neblokují */
.tip-foto { display: block; padding: 6px 10px; font-size: 13px; font-weight: 400; line-height: 1.45; color: #6b4a2b;
            background: #f7efe3; border-left: 3px solid #d6b48a; border-radius: 6px; }
/* 19. 11. 2026: „Pošlete si návrh e-mailem“ pod tlačítkem košíku (portret.js odesliNavrh, inc/navrh.php) */
.navrh-email { margin: 14px 0 0; padding: 14px 16px; border: 1px dashed var(--line); border-radius: 14px; background: var(--card); }
.navrh-email[hidden] { display: none; }
.navrh-email p { margin: 0 0 10px; font-size: 14px; }
.navrh-email-radek { display: flex; gap: 8px; flex-wrap: wrap; }
.navrh-email-radek input { flex: 1 1 180px; }
.navrh-email-radek .tl { padding: 10px 18px; font-size: 14px; }
.navrh-email .hint { margin: 8px 0 0; font-size: 12px; }
.navrh-email.odeslano .navrh-email-radek { display: none; }
.tip-foto:empty, .tip-foto[hidden] { display: none; } /* 19. 11.: jen jeden tip najednou (portret.js jedenTip) */
/* nabídka ruční úpravy pod náhledem – stejný vzhled jako řádek pomoci z mu-pluginu maestro-pomoc (.dp-pomoc-radek) */
.dp-pomoc-radek { margin: 14px 0 0; font-size: 14.5px; line-height: 1.5; color: #7a6656; }
.dp-pomoc-radek a { color: #8a4b22; font-weight: 600; }
.stage .pomoc-rucne { margin: 10px 0 0; text-align: center; }
/* zrcadlo náhledu pro Clarity (Deska.zrcadlo): pod canvasem okna, živě ho canvas zakryje, v nahrávce (prázdný canvas) je vidět */
.okno > .zrcadlo { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; user-select: none; }

/* písnička v QR kódu */
.volby-qr { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 520px) { .volby-qr { grid-template-columns: 1fr; } }
.volby-qr .volba:first-child > span { border-color: #e6c9a6; background: #fbf1e4; }
.volby-qr .volba:first-child input:checked + span { border-color: var(--accent); }
.pisen-pole { display: grid; gap: 14px; padding: 18px; border-radius: 14px; background: #fbf4ec; border: 1px solid #ecd9c2; }
.pisen-uvod { margin: 0; font-size: 14px; color: var(--muted); }
.konf textarea, .konf select { font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px;
                               background: var(--card); width: 100%; color: var(--ink); resize: vertical; }
.pisen-vic summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--accent); }
.pisen-vic-obsah { display: grid; gap: 12px; margin-top: 12px; }
/* styl a hlas písničky viditelně (Martin 16. 10.: pisennamiru je potřebuje k výrobě) */
.pisen-styl-hlas { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .pisen-styl-hlas { grid-template-columns: 1fr; } }
.pisen-styl-hlas select { width: 100%; min-width: 0; }
.qr-volba > .hint { margin: -2px 0 4px; }

/* potvrzení po vánoční uzávěrce / při plné kapacitě */
.potvrzeni { display: grid; gap: 10px; padding: 16px 18px; border-radius: 14px; background: #fff6e5; border: 1px solid #f0d49a; }
.potvrzeni p { margin: 0; font-size: 15px; }
.potvrzeni .tl { justify-self: start; }
.konf #koupit:disabled { opacity: .7; cursor: progress; }

/* ovládací prvky nad lepkavou lištou s cenou: při posunu na prvek (klávesnice, odkaz, chyba) nezajede pod lištu */
#form :is(input, select, textarea, label, button) { scroll-margin-bottom: 140px; }

/* odkaz s ?misto=: do nalezení místa skrýt výchozí mapu i popisky */
.okno.nacitani #map, .okno.nacitani ~ .popisky { visibility: hidden; }

/* Mobil (Martin 30. 10.: „krátký text nahoře“; Clarity: každý pátý odešel z 1. obrazovky s prázdným náhledem):
   nadpis, perex a 1. krok (místo / fotka) nad náhledem, zbytek formuláře pod ním. Pořadí v DOM (a na počítači) beze změny.
   Všechny tři generátory (obloha, mapa, portrét). */
@media (max-width: 880px) {
  .konf { display: flex; flex-direction: column; align-items: stretch; }
  .konf > div:not(.stage), .konf #form { display: contents; }
  .konf h1 { order: 1; }
  .konf .perex { order: 2; margin: -16px 0 0; }
  .konf #form > * { order: 5; }
  .konf #form > .pole:first-child { order: 3; }
  .konf > .stage { order: 4; }
}

/* 23. 11. 2026: odstranění pozadí + ruční úprava pod deskou portrétu (viditelně, Martin) */
.pozadi-panel { margin: 10px 0 4px; padding: 12px 14px; border-radius: 14px; background: var(--bg2); border: 1px solid var(--line); display: grid; gap: 8px; }
.pozadi-panel .prepinac { margin: 0; }
.pozadi-polozky { display: grid; gap: 8px; }
.pozadi-panel .prepinac { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: start; }
.pozadi-panel .prepinac input { margin-top: 3px; }
.pozadi-panel .prepinac .hint { display: block; font-weight: 400; }
.pozadi-polozky[hidden] { display: none; }
.pozadi-panel .vyrazny { font-weight: 600; color: var(--ink); }
.pozadi-panel textarea { width: 100%; box-sizing: border-box; font: inherit; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.pozadi-panel #pozadiStav { margin: 0; }

/* 23. 11. 2026: okno „neodcházejte“ v generátoru portrétu (portret.html #odchod, portret.js) */
.odchod { width: min(460px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; box-sizing: border-box; padding: 26px 22px 20px;
  border: 0; border-radius: 18px; background: var(--card, #fff); color: var(--ink, #2b1d12); box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.odchod::backdrop { background: rgba(30, 20, 10, .45); }
.odchod h2 { margin: 0 28px 8px 0; font-size: 22px; line-height: 1.25; }
.odchod > p { margin: 0 0 14px; font-size: 15px; }
.odchod .navrh-email-radek { display: flex; gap: 8px; flex-wrap: wrap; }
.odchod .navrh-email-radek input { flex: 1 1 180px; min-width: 0; font: inherit; padding: 10px 12px; border: 1px solid var(--line, #d8c9b8); border-radius: 999px; }
.odchod-zavrit { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%;
  background: transparent; color: inherit; cursor: pointer; }
.odchod-zavrit:hover, .odchod-zavrit:focus-visible { background: var(--bg2, #f4ede4); }
.odchod-rucni { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: start; margin: 14px 0 0; }
.odchod-rucni input { margin-top: 3px; }
.odchod-rucni .hint { display: block; font-weight: 400; }
.odchod-rucni[hidden] { display: none; }
.odchod #odchodStav { margin: 10px 0 0; }
.odchod-anketa { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line, #e6dccf); }
.odchod-anketa > p { margin: 0 0 8px; font-weight: 600; }
.odchod-anketa > p .hint { font-weight: 400; }
.odchod-volby { display: flex; flex-wrap: wrap; gap: 6px; }
.odchod-volby button { font: inherit; font-size: 14px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line, #d8c9b8);
  background: var(--bg2, #f7f1ea); color: inherit; cursor: pointer; }
.odchod-volby button[aria-pressed="true"] { background: #8a4b20; border-color: #8a4b20; color: #fff; }
.odchod #odchodDiky { margin: 8px 0 0; }

/* 23. 11.: průběh odstranění pozadí přes náhled desky (Martin: „vypadá to, že se nic neděje“) */
.pozadi-prubeh { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: rgba(246, 241, 234, .72); color: var(--ink); font-weight: 600; font-size: 15px; }
.pozadi-prubeh[hidden] { display: none; }
.pozadi-prubeh .kolecko { width: 38px; height: 38px; border-radius: 50%; border: 4px solid rgba(138, 75, 34, .25); border-top-color: var(--accent);
  animation: pozadi-toc .9s linear infinite; }
@keyframes pozadi-toc { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .pozadi-prubeh .kolecko { animation-duration: 2.5s; } }
