/* Kabát aplikace banda!cz — jen v aplikaci na ploše (layout webu klubu ho načítá s media="(display-mode: standalone)",
   náhled v prohlížeči: ?nahled-aplikace=1). Stránky jsou tytéž jako na webu; téma a vlastní CSS webu klubu se v aplikaci
   nenačítají. Barvy jsou proměnné níž: výchozí banda!cz, placený tarif je přebije barvami klubu (vzhled_app_style(),
   migrace 050 — vlastní <style data-app-barvy> za tímto souborem). Napevno zůstávají jen zelená Přijdu / červená
   Nepřijdu, červený odznak počtu a mazání. Lišty a panel Více skládá app_kabat() (app/modules/pwa.php). */

@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  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"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  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;
}

/* proměnné club.css v barvách banda!cz (krém, káva, žlutá) */
:root {
  --dark: #191411; --cream: #FFF8ED; --panel: #fff; --text: #191411; --muted: #5C5046; --line: #EADCC6;
  --brand: #C0301A; --yellow: #FFD600; --radius: 14px; --sirka: 760px;
  --pismo: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --brand-text: #C0301A; --on-brand: #fff; --accent: #FFD600;
  --app-tab: 62px;
  /* odvozené odstíny (pro klub je spočítá vzhled_app_barvy()): text a linka na tmavé liště, podklady pilulek */
  --app-on-dark: #FFF8ED; --app-on-dark-2: #D9CFC3; --app-dark-linka: #3A302A;
  --app-yellow-pod: #FFF0A8; --app-yellow-pod-2: #FFF1B3; --app-na-yellow-pod: #5E4800; --app-yellow-jemna: #FFFBEF;
  --app-brand-pod: #FDE6E1; --app-pod: #F1E4CF; --app-pod-2: #E2D2B8;
}
html { -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; }
body.club { background: var(--cream); padding-bottom: calc(var(--app-tab) + env(safe-area-inset-bottom, 0px)); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--pismo); font-weight: 800; letter-spacing: -0.02em; }
a:hover { text-decoration: none; }

/* web klubu v aplikaci schovat: hlavička s menu, patička; sponzoři jen na přehledu Domů */
.c-top, .c-foot, .c-sponzori { display: none; }
body.c-prehled .c-sponzori { display: block; background: transparent; border: 0; padding: 0 0 12px; }
.c-main { padding: 16px 16px 28px; }
.c-hero { padding: 4px 0 8px; border-bottom: 0; margin-bottom: 12px; }
.c-hero h1 { font-size: 1.65rem; line-height: 1.2; }
h2 { font-size: 1.1rem; }
/* rám webu klubu v brandu banda!cz (club.css): proužek a pruh banda!cz, kruhy úvodu pryč; úvod stránky světlý (aplikace má
   vlastní hnědou lištu nahoře) */
.c-pruh, .c-znacka, .c-preskocit, .c-kruh, .c-prstenec, .c-uvod-tlacitka { display: none; }
.c-uvod { background: transparent; color: var(--text); overflow: visible; }
.c-uvod-in { display: block; padding: 16px 16px 0; }
.c-uvod h1 { font-size: 1.65rem; color: var(--text); }
.c-uvod .c-nadt { color: var(--brand-text); }
.c-uvod .c-perex, .c-podhlava-radek p, .c-uvod .c-drobky, .c-uvod .c-drobky a { color: var(--muted); }
.c-uvod .od-badge { background: var(--app-brand-pod); color: var(--brand-text); }
/* velká dlaždice data v úvodu (detail akce) zůstává hnědá se žlutým dnem jako všude (club.css, majitel 2. 10.) — světlé
   pozadí tu dřív dělalo s bílým textem nečitelnou růžovou dlaždici (majitel 10. 10.) */
.c-karta-akce, .c-pruvodce { margin-top: 14px; box-shadow: none; border: 1px solid var(--line); }
.c-pruvodce-gekon, .c-popis-chybi { display: none; }
body.s-uvodem .c-main { padding-top: 16px; }

/* ---------- horní lišta v hnědé banda!cz (jako hlavička portálu): logo, vpravo klub (klepnutí = přepnout bandu) ---------- */
.app-top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 56px; padding: calc(8px + env(safe-area-inset-top, 0px)) 14px 8px 16px; background: var(--dark); color: var(--app-on-dark); }
.app-top-logo { display: block; flex: 0 0 auto; }
.app-top-logo img { display: block; height: 26px; width: auto; }
.app-top-klub { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 3px 3px 3px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid var(--app-dark-linka); color: var(--app-on-dark); font-size: .88rem; font-weight: 700; }
.app-top-klub:hover { color: var(--app-on-dark); border-color: var(--yellow); }
.app-top :focus-visible { outline-color: var(--yellow) !important; }
.app-top-klub-nazev { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 42vw; }
.app-top-klub-znak { width: 32px; height: 32px; flex: 0 0 auto; border-radius: 50%; background: var(--app-pod); overflow: hidden;
  display: flex; align-items: center; justify-content: center; font-size: .72rem; font-weight: 800; }
.app-top-klub-znak img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- spodní lišta s ikonami ---------- */
.app-tab { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: stretch;
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px)); background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(25, 20, 17, .06); }
.app-tab-pol { position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 2px 0; color: var(--muted); font-size: .7rem; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer;
  -webkit-user-select: none; user-select: none; }
.app-tab-pol:hover { color: var(--text); }
.app-tab-pol .app-ik { width: 24px; height: 24px; padding: 4px 16px; box-sizing: content-box; border-radius: 999px; transition: background-color .15s; }
.app-tab-pol.on { color: var(--text); font-weight: 800; }
.app-tab-pol.on .app-ik { background: var(--yellow); }
.app-tab-pol:active .app-ik { background: var(--app-yellow-pod); }
.app-tab-pol span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-odznak { position: absolute; top: -2px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: #F4432B; color: #fff; border: 2px solid #fff; font-size: .68rem; font-weight: 800; line-height: 18px; text-align: center; }
.app-odznak[hidden] { display: none; }
.app-vice-cb:checked ~ .app-tab .app-tab-vice { color: var(--text); font-weight: 800; }
.app-vice-cb:checked ~ .app-tab .app-tab-vice .app-ik { background: var(--yellow); }
.app-tab :focus-visible, .app-top :focus-visible, .app-vice :focus-visible { outline: 3px solid var(--text); outline-offset: 2px; }
/* při psaní (vyjede klávesnice) lišta pryč — nad klávesnicí by překážela a na Androidu s posunem stránky „ujíždí";
   po dopsání se vrátí (jako v běžných aplikacích) */
body:has(textarea:focus, select:focus, input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=file]):not([type=range]):focus) .app-tab { display: none; }

/* nic nesmí stránku roztáhnout do šířky — telefon by ji pak zmenšil i s pevnou lištou (Více za pravým okrajem,
   lišta pod spodní hranou) */
html, body.club { overflow-x: clip; }
@supports not (overflow: clip) { html { overflow-x: hidden; } }
.c-main { overflow-wrap: anywhere; }
/* nulová specifičnost (:where) — pevné rozměry avatarů, náhledů galerie ap. ze club.css vždy vyhrají (jinak šišaté avatary) */
:where(.c-main) :where(img, video, iframe, embed, object, table) { max-width: 100%; }
:where(.c-main) :where(img:not([class]), video) { height: auto; }
.c-main pre { white-space: pre-wrap; }

/* ---------- panel Více (zaškrtávátko + štítek, bez JavaScriptu; pwa.js ho zavře Escapem a po návratu zpět) ---------- */
.app-vice-pozadi { display: block; position: fixed; inset: 0; z-index: 40; background: rgba(25, 15, 0, .45);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .2s; }
.app-vice { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 41; max-width: 640px; max-height: 86vh; margin: 0 auto;
  overflow-y: auto; overscroll-behavior: contain; padding: 8px 16px calc(18px + env(safe-area-inset-bottom, 0px));
  background: var(--cream); border-radius: 24px 24px 0 0; box-shadow: 0 -10px 40px rgba(0, 0, 0, .2);
  transform: translateY(105%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; }
.app-vice-cb:checked ~ .app-vice-pozadi { opacity: 1; pointer-events: auto; }
.app-vice-cb:checked ~ .app-vice { transform: none; visibility: visible; transition: transform .25s ease; }
.app-vice-uchyt { display: block; width: 44px; height: 5px; margin: 4px auto 14px; border-radius: 3px; background: var(--app-pod-2); cursor: pointer; }
.app-vice-kdo { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin: 0 0 14px; background: #fff;
  border: 1px solid var(--line); border-radius: 16px; }
.app-vice-kdo .c-av { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; background: var(--app-pod);
  display: flex; align-items: center; justify-content: center; font-weight: 800; }
.app-vice-kdo > span:last-child { min-width: 0; overflow-wrap: anywhere; }   /* dlouhé jméno / e-mail se zalomí */
.app-vice-kdo b { display: block; }
.app-vice-kdo small { color: var(--muted); }
.app-vice-mriz { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 14px; }
.app-vice-mriz a { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 14px 6px 12px; background: #fff;
  border: 1px solid var(--line); border-radius: 16px; color: var(--text); font-size: .8rem; font-weight: 600; line-height: 1.2; text-align: center; }
.app-vice-mriz a:hover, .app-vice-mriz a.on { border-color: var(--text); color: var(--text); }
.app-vice-mriz .app-ik { padding: 8px; box-sizing: content-box; border-radius: 12px; background: var(--app-yellow-pod); }
.app-vice-seznam { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.app-vice-seznam a { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-top: 1px solid var(--line); color: var(--text); font-weight: 600; }
.app-vice-seznam a:first-child { border-top: 0; }
.app-vice-seznam a:hover, .app-vice-seznam a.on { background: var(--cream); color: var(--text); }
.app-vice-seznam a.app-vice-odhlasit { color: var(--brand); }
.app-vice-pata { margin: 14px 0 0; text-align: center; font-size: .78rem; color: var(--muted); }
.app-vice-pata a { color: var(--muted); text-decoration: underline; }
body:has(.app-vice-cb:checked) { overflow: hidden; }

/* lišty pwa.js (upozornění, potvrzení) nad spodní lištou */
.pwa-lista, .pwa-offline.pwa-ok { bottom: calc(var(--app-tab) + 10px + env(safe-area-inset-bottom, 0px)); }
body.pwa-s-listou { padding-bottom: calc(var(--app-tab) + 100px + env(safe-area-inset-bottom, 0px)); }

/* ---------- obsah v aplikaci: karty místo čar ---------- */
.c-btn { border-radius: 999px; }
.c-art { border-radius: 16px; }

/* ---------- přehled Domů (/prehled, app/views/club/prehled.php) ---------- */
.app-pozdrav { padding: 6px 0 14px; }
.app-pozdrav-klub { margin: 0 0 2px; color: var(--muted); font-size: .85rem; font-weight: 600; }
.app-pozdrav h1 { margin: 0 0 4px; font-size: 1.75rem; line-height: 1.15; }
.app-pozdrav .lead { margin: 0; color: var(--muted); }
.app-pozdrav-tl { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 0; }
.app-sekce { margin: 0 0 22px; }
.app-sekce > h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; padding: 0; border: 0; font-size: 1.05rem; }
.app-pocet { min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: #F4432B; color: #fff; font-size: .75rem;
  font-weight: 800; line-height: 22px; text-align: center; }
.app-karty { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.app-karty > li { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; }
.app-cekaji .app-karty > li { border-color: var(--yellow); box-shadow: inset 4px 0 0 var(--yellow); }
.app-karty .c-when { color: var(--brand); font-weight: 700; font-size: .84rem; text-transform: capitalize; }
.app-karty .c-what { font-weight: 700; }
.app-karty .c-what a { color: var(--text); }
.app-karty .c-where { color: var(--muted); font-size: .86rem; }
.app-karty .app-meta { color: var(--muted); font-size: .8rem; }
.app-karty .app-text { margin: 4px 0 0; color: var(--text); font-size: .92rem; overflow-wrap: anywhere; }
.app-dal { display: inline-block; margin: 10px 0 0; font-weight: 700; }
.app-klid { display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin: 0 0 22px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.app-klid img { width: 64px; height: auto; flex: 0 0 auto; }
.app-klid p { margin: 0; }
.app-klid b { display: block; }

/* ---------- přehled Domů: tmavý úvod a hlavní karta akce (plátno 1. 10. 2026) ---------- */
:root { --app-ano: #2A8A2C; --app-ano-pod: #E6F4DC; --app-ne: #C0301A; --app-ne-pod: #FBE4DF; }
body.c-prehled .c-main { padding-top: 0; }
.app-hero { position: relative; overflow: hidden; margin: 0 calc(50% - 50vw) 22px; padding: 22px calc(50vw - 50% + 16px) 30px;
  background: var(--dark); color: var(--app-on-dark); }
.app-hero.s-kartou { padding-bottom: 96px; margin-bottom: 0; }
.app-hero-in { position: relative; z-index: 1; max-width: 62%; }
.app-hero-den { margin: 0 0 6px; color: var(--yellow); font-size: .75rem; font-weight: 800; letter-spacing: .12em; }
.app-hero h1 { margin: 0; color: #fff; font-size: 2.15rem; line-height: 1.05; font-weight: 900; letter-spacing: -.02em; }
.app-hero .lead { margin: 10px 0 0; color: var(--app-on-dark-2); }
.app-hero .c-btn-obrys { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.app-hero .c-btn-obrys:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: #fff; }
.app-hero-maskot { position: absolute; right: calc(50vw - 50% - 28px); top: 34px; width: 200px; height: 200px; border-radius: 50%;
  background: var(--yellow); pointer-events: none; }
.app-hero-maskot img { position: absolute; left: 22px; top: -14px; width: 150px; height: auto; }
@media (max-width: 360px) { .app-hero-maskot { width: 160px; height: 160px; } .app-hero-maskot img { width: 120px; } .app-hero h1 { font-size: 1.8rem; } }

/* dlaždice data (hlavní karta tmavá, řádky světlé) */
.app-dlazdice { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; width: 44px; line-height: 1.05; text-align: center; }
.app-dlazdice small { font-size: .62rem; font-weight: 800; letter-spacing: .06em; color: var(--muted); }
.app-dlazdice small:first-child { color: var(--brand); }
.app-dlazdice b { font-size: 1.3rem; font-weight: 900; }
.app-dlazdice.tmava { width: 62px; padding: 8px 0 9px; border-radius: 14px; background: var(--dark); color: #fff; }
.app-dlazdice.tmava small { color: #fff; }
.app-dlazdice.tmava small:first-child { color: var(--yellow); }
.app-dlazdice.tmava b { font-size: 1.7rem; }

/* hlavní karta: vytažená do tmavého úvodu; pruh s odpovědí (z bloku přihlášky) jde přes display:contents úplně nahoru */
.app-hlavni { position: relative; z-index: 2; display: flex; flex-direction: column; margin: -76px 0 24px; background: #fff; border-radius: 22px;
  box-shadow: 0 14px 34px rgba(25, 20, 17, .16); overflow: hidden; }
.app-hlavni-hlava { display: flex; gap: 14px; align-items: flex-start; padding: 18px 18px 0; }
.app-hlavni-info { flex: 1; min-width: 0; }
.app-odpocet { display: inline-block; margin: 0; padding: 3px 10px; border-radius: 999px; background: var(--app-yellow-pod-2); color: var(--app-na-yellow-pod); font-size: .8rem; font-weight: 700; }
.app-odpocet b { font-weight: 900; font-size: .95rem; }
.app-hlavni h2 { margin: 6px 0 0; padding: 0; border: 0; font-size: 1.2rem; line-height: 1.2; }
.app-hlavni h2 a { color: var(--text); }
.app-hlavni-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 6px 0 0; color: var(--muted); font-size: .84rem; font-weight: 500; }
.app-hlavni-meta span { display: inline-flex; align-items: center; gap: 4px; }
.app-hlavni-meta svg { flex: 0 0 auto; }
.app-hlavni:not(:has(.c-prihl)) { padding-bottom: 18px; }
.c-prihl.karta { display: contents; }
.c-prihl.karta.odesila > * { opacity: .6; pointer-events: none; }
.c-prihl.karta > .c-prihl-chyba, .c-prihl.karta > .c-prihl-info { margin: 12px 18px 0; }
.c-prihl-kdo { display: flex; align-items: center; gap: 10px; margin: 16px 18px 0; padding-top: 14px; border-top: 1px solid var(--app-pod); }
.c-prihl-kolecka { display: flex; flex: 0 0 auto; }
.c-prihl-kolecka > * { width: 34px; height: 34px; box-sizing: border-box; margin-left: -10px; border-radius: 50%; border: 2.5px solid #fff;
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: .7rem; font-weight: 700; object-fit: cover; background: var(--app-pod); }
.c-prihl-kolecka > :first-child { margin-left: 0; }
.c-prihl-kolecka .navic { color: var(--text); }
.c-prihl-cisla { color: var(--muted); font-size: .82rem; line-height: 1.35; }
.c-prihl-cisla b { color: var(--app-ano); font-size: .95rem; }
.c-prihl.karta .c-prihl-volba { display: flex; gap: 10px; margin: 16px 18px 18px; }
.c-prihl.karta > :last-child:not(form) { margin-bottom: 18px; }

/* tlačítka odpovědi všude v aplikaci: Přijdu zelená s bílým čtverečkem a fajfkou, Nepřijdu červená s křížkem;
   po odpovědi zvolené svítí s prstýnkem, druhé zešedne (dá se jím odpověď změnit) */
.c-prihl-btn { border: 0; color: #fff; gap: 9px; }
.c-prihl-btn.ano, .c-prihl-btn.ano.on, .c-prihl-volba .c-prihl-btn.ano:not(.on) { background: var(--app-ano); color: #fff; }
.c-prihl-btn.ne, .c-prihl-btn.ne.on { background: var(--app-ne); color: #fff; }
.c-prihl-btn:hover { border: 0; filter: brightness(1.08); }
.c-prihl-btn.ano.on { box-shadow: 0 0 0 3px var(--app-ano-pod); }
.c-prihl-btn.ne.on { box-shadow: 0 0 0 3px var(--app-ne-pod); }
:is(.c-prihl-tlacitka, .c-prihl-volba):has(.on) .c-prihl-btn:not(.on) { opacity: .25; box-shadow: none; }
:is(.c-prihl-tlacitka, .c-prihl-volba):has(.on) .c-prihl-btn:not(.on):hover { opacity: .6; }
.c-prihl-ik { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 7px; background: #fff; display: inline-flex; align-items: center; justify-content: center; }
.c-prihl-btn.ano .c-prihl-ik { color: var(--app-ano); }
.c-prihl-btn.ne .c-prihl-ik { color: var(--app-ne); }
.c-prihl.karta .c-prihl-btn { flex: 1; min-height: 52px; border-radius: 999px; font-size: 1.05rem; }
.c-prihl.karta .c-prihl-ik { width: 24px; height: 24px; }

/* řádky akcí na přehledu: dlaždice data, název a čas, vpravo dvě čtvercová tlačítka (text jen pro čtečky) */
.app-karty > li.app-radek { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "dl telo tl" "dl mini tl";
  align-items: center; column-gap: 12px; row-gap: 2px; padding: 12px 12px 12px 10px; }
.app-radek .app-dlazdice { grid-area: dl; width: 50px; padding: 6px 0 7px; border-radius: 12px; background: var(--dark); color: #fff; }
.app-radek .app-dlazdice small { color: #fff; }
.app-radek .app-dlazdice small:first-child { color: var(--yellow); }
.app-radek-telo { grid-area: telo; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.app-radek .c-what { font-size: .97rem; }
.app-karty .app-radek .c-when { color: var(--muted); font-weight: 500; font-size: .8rem; text-transform: none; }
.app-radek .c-prihl.kompakt { display: contents; }
.app-radek .c-prihl.kompakt.odesila > * { opacity: .6; }
.app-radek .c-prihl-mini { grid-area: mini; color: var(--muted); font-size: .76rem; }
.app-radek form { grid-area: tl; }
.app-radek .c-prihl-stav { grid-area: tl; font-size: .78rem; }
.app-radek .c-prihl-chyba { grid-column: 1 / -1; margin: 6px 0 0; }
.app-radek .c-prihl-tlacitka { flex-wrap: nowrap; gap: 6px; flex-direction: row-reverse; }
.app-radek .c-prihl-btn { width: 44px; min-height: 44px; padding: 0; border-radius: 12px; }
.app-radek .c-prihl-btn .c-prihl-ik, .app-radek .c-prihl-tlacitka:has(.on) .c-prihl-btn:not(.on) .c-prihl-ik { background: transparent; width: auto; height: auto; }
.app-radek .c-prihl-btn .c-prihl-ik { color: #fff; }
.app-radek .c-prihl-btn .c-prihl-ik svg { width: 18px; height: 18px; }
.app-radek .c-prihl-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.app-cekaji .app-karty > li.app-radek { box-shadow: none; border: 2px solid var(--yellow); }
.app-dal-samo { margin: 0 0 22px; }

/* diskuze na přehledu Domů: stejné karty jako v Diskuzi, text nejvýš na 4 řádky */
.app-disk { margin: 0; padding: 0; border: 0; }
.app-disk .c-kom-text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
.app-disk .c-kom-text img { max-height: 120px; width: auto; }

/* zvoneček v horní liště: akce čekající na odpověď → /moje-akce?k-reseni=1 (číslo = stejný odznak jako u Akce) */
.app-top-zvon { position: relative; margin-left: auto; display: flex; flex: 0 0 auto; width: 40px; height: 40px; align-items: center; justify-content: center;
  border-radius: 50%; color: var(--app-on-dark); }
.app-top-zvon:hover { color: var(--yellow); }
.app-top-zvon .app-odznak { top: 0; left: auto; right: -2px; border-color: var(--dark); }
.app-top-zvon:has(.app-odznak:not([hidden])) svg { animation: app-zvon 2.4s ease-in-out 1s 2; transform-origin: 50% 10%; }
@keyframes app-zvon { 0%, 60%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(14deg); } 20%, 40% { transform: rotate(-12deg); } }
@media (prefers-reduced-motion: reduce) { .app-top-zvon svg { animation: none !important; } }

/* Upravit Domů (pwa.js): vypínání bloků přehledu, uloženo v telefonu */
.app-upravit { display: block; border-top: 1px solid var(--line); }
.app-upravit summary { display: flex; align-items: center; gap: 12px; padding: 13px 16px; cursor: pointer; font-weight: 600; color: var(--text); list-style: none; }
.app-upravit[open] { background: var(--cream); padding-bottom: 12px; }
.app-upravit > p, .app-upravit-volby { margin-left: 16px; margin-right: 16px; }
.app-upravit summary::-webkit-details-marker { display: none; }
.app-upravit p { margin: 2px 16px 10px; color: var(--muted); font-size: .86rem; }
.app-upravit-volby { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.app-upravit-volby label { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; font-weight: 600; font-size: .9rem; }
.app-upravit-volby input { width: 18px; height: 18px; accent-color: #2A8A2C; }
.app-sekce[hidden] { display: none; }

/* bandapremium bez maskotů (club_maskoti): v úvodu Domů nic, v prázdných stavech ikonka; text úvodu přes celou šířku */
.app-hero.bez-maskota .app-hero-in { max-width: none; }
.app-klid-ik { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 50%; background: var(--yellow); color: var(--text); display: flex; align-items: center; justify-content: center; }

/* Domů: všechny sekce se stejnou hlavičkou — nadpis stejné velikosti a vpravo decentní „Vše →“ */
.app-sekce .c-sekce-hlava { align-items: center; margin: 0 0 10px; }
.app-sekce .c-sekce-hlava h2, .app-sekce > h2 { margin: 0; font-size: 1.2rem; }
.app-sekce > h2 { margin-bottom: 10px; }
.app-sekce .c-sekce { margin: 0; }

/* 3. 10.: jméno klubu a účtu pod nadpisy je v aplikaci schované (.pwa-mimo-app) — obojí je v horní liště;
   počet záznamů u seznamu na jednu stránku nic neříká */
.pager.one { display: none; }

/* spodní lišta jako matné sklo: obsah jede pod ní rozmazaný (bez podpory backdrop-filter zůstane plná bílá) */
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .app-tab { background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(18px) saturate(1.8); backdrop-filter: blur(18px) saturate(1.8);
    border-top-color: rgba(234, 220, 198, .7); box-shadow: 0 -6px 20px rgba(25, 20, 17, .04); }
}

/* ---------- panel Moje bandy (club/app_bandy.php): pilulka klubu v horní liště ho vysune zespodu, jako panel Více ---------- */
.app-top-klub { cursor: pointer; -webkit-user-select: none; user-select: none; }
.app-top-klub-sipka { display: flex; margin: 0 -2px 0 -3px; opacity: .75; }
body:has(.app-bandy-cb:checked) .app-top-klub { border-color: var(--yellow); }
.app-bandy-pozadi { display: block; position: fixed; inset: 0; z-index: 40; background: rgba(25, 15, 0, .45);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .2s; }
.app-bandy { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 41; max-width: 640px; max-height: 88vh; margin: 0 auto;
  overflow-y: auto; overscroll-behavior: contain; padding: 8px 16px calc(20px + env(safe-area-inset-bottom, 0px));
  background: var(--cream); border-radius: 24px 24px 0 0; box-shadow: 0 -10px 40px rgba(0, 0, 0, .2);
  transform: translateY(105%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; }
.app-bandy-cb:checked ~ .app-bandy-pozadi { opacity: 1; pointer-events: auto; }
.app-bandy-cb:checked ~ .app-bandy { transform: none; visibility: visible; transition: transform .25s ease; }
body:has(.app-bandy-cb:checked) { overflow: hidden; }
.app-bandy-hlava { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 2px 10px; }
.app-bandy-hlava h2 { margin: 0; padding: 0; border: 0; font-size: 1.35rem; }
.app-bandy-hlava span { color: var(--muted); font-size: .82rem; }
.app-bandy .app-kluby { margin: 0; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.app-bandy .app-kluby a { border: 0; border-top: 1px solid var(--app-pod); border-radius: 0; padding: 12px 14px; min-height: 64px; box-shadow: none; }
.app-bandy .app-kluby li:first-child a { border-top: 0; }
.app-bandy .app-kluby li.on a { background: var(--app-yellow-jemna); }
.app-bandy .app-kluby a:hover { background: var(--cream); }
.app-klub-akt { width: 30px; height: 30px; flex: 0 0 auto; border-radius: 50%; background: var(--yellow); color: var(--text); display: flex; align-items: center; justify-content: center; }
.app-bandy-pozn { margin: 8px 4px 0; color: var(--muted); font-size: .8rem; line-height: 1.45; }
.app-bandy-pridat { margin: 14px 0 0; }
.app-bandy-pridat summary { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border: 1.5px dashed var(--app-pod-2);
  border-radius: 16px; font-weight: 700; cursor: pointer; list-style: none; }
.app-bandy-pridat summary::-webkit-details-marker { display: none; }
.app-bandy-pridat[open] summary { border-style: solid; border-color: transparent; justify-content: flex-start; min-height: 0; padding: 0 2px 8px; }
.app-bandy-pridat label { display: block; margin: 0 2px 6px; font-size: .85rem; font-weight: 700; color: var(--muted); }
.app-bandy-radek { display: flex; gap: 8px; }
.app-bandy-radek input { flex: 1; min-width: 0; height: 48px; box-sizing: border-box; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 14px;
  background: #fff; font: inherit; font-size: 16px; color: var(--text); }
.app-bandy-radek input:focus { outline: none; border-color: var(--text); }
.app-bandy-radek .c-btn { height: 48px; padding: 0 18px; background: var(--yellow); border-color: var(--yellow); color: var(--text); }
.app-bandy-vysledky { margin-top: 10px !important; }
.app-bandy-vysledky[hidden], .app-bandy-nic[hidden] { display: none; }
.app-bandy-nic { margin: 10px 2px 0; color: var(--muted); font-size: .9rem; }
.app-bandy.hleda .app-bandy-radek { opacity: .6; pointer-events: none; }
.app-bandy-faq { margin: 6px 4px 0; font-size: .8rem; color: var(--muted); }
.app-bandy-faq summary { cursor: pointer; font-weight: 700; color: var(--brand); padding: 6px 0; list-style: none; }
.app-bandy-faq summary::-webkit-details-marker { display: none; }
.app-bandy-faq p { margin: 2px 0 4px; line-height: 1.45; }
/* Upravit: ✕ u ostatních band (odebrat z aplikace) */
.app-bandy-upravit { border: 0; background: none; padding: 8px 4px; color: var(--brand); font: inherit; font-size: .9rem; font-weight: 800; cursor: pointer; }
.app-bandy-upravit[hidden] { display: none; }
.app-bandy-seznam li { position: relative; transition: opacity .2s; }
.app-bandy-seznam li.odebira { opacity: .4; pointer-events: none; }
.app-klub-odebrat { position: absolute; right: 12px; top: 50%; width: 40px; height: 40px; margin-top: -20px; border: 0; border-radius: 50%;
  background: #FBE4DF; color: #B3261E; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.app-klub-odebrat[hidden] { display: none; }
.app-klub-odebrat:hover { background: #B3261E; color: #fff; }
.app-bandy.upravuje .app-bandy-seznam .app-klub-sipka { visibility: hidden; }
.app-bandy.upravuje .app-bandy-seznam li:not(.on) a { padding-right: 64px; cursor: default; }
