/* Taneční studio S.araH. — komponenty (staví na tokens.css, oba režimy) */

* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--brand-coral); text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 48px 0; }
.section-narrow { max-width: 520px; margin: 0 auto; }
.muted { color: var(--text-mute); }
.req { color: var(--brand-magenta); }
.eyebrow { display:inline-block; font: 700 11px var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--brand-magenta); margin-bottom: 10px; }

/* ---------- Tlačítka ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
  font: 700 15px var(--font-body); border-radius: var(--radius-pill); padding: 13px 24px;
  border: 1.5px solid transparent; transition: transform .15s, border-color .15s, background .15s; min-height: 44px; }
.btn-primary { background: var(--brand-gradient); color: #fff; box-shadow: var(--shadow-glow); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--brand-magenta); }
.btn-soft { background: rgba(255,45,120,.12); color: var(--brand-magenta); }
.btn-soft:hover { background: rgba(255,45,120,.2); }
.btn-sm { padding: 8px 16px; font-size: 13px; min-height: 38px; }
.btn-lg { padding: 16px 30px; font-size: 17px; }
.btn-block { width: 100%; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Navbar ---------- */
.navbar { border-bottom: 1px solid var(--border-soft); position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); }
.nav-wrap { max-width: 1160px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 16px; }
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand-eyebrow { font: 700 9px var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--text-mute); }
.brand-logo { font: 900 24px var(--font-display); text-transform: uppercase; letter-spacing: -.03em; color: var(--text); }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--text-soft); font: 600 15px var(--font-body); }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; color: var(--text); font-size: 24px; cursor: pointer; }
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; flex-basis: 100%; flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 12px; }
  body.nav-open .nav-links { display: flex; }
}

/* ---------- Hero ---------- */
.hero-home { position: relative; overflow: hidden; padding: 72px 0 56px; }
.hero-inner { position: relative; z-index: 1; }
.hero-title { font: 900 clamp(48px, 11vw, 104px)/.98 var(--font-display); text-transform: uppercase; letter-spacing: -.035em; margin: .08em 0; }
.hero-lead { color: var(--text-soft); max-width: 620px; font-size: 17px; }
.hero-blobs span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; z-index: 0; }
.hero-blobs span:nth-child(1) { width: 360px; height: 360px; background: var(--brand-fuchsia); top: -90px; right: -40px; animation: floatA 10s ease-in-out infinite; }
.hero-blobs span:nth-child(2) { width: 300px; height: 300px; background: var(--brand-magenta); bottom: -140px; left: -70px; animation: floatB 13s ease-in-out infinite; }
@keyframes floatA { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-30px,24px)} }
@keyframes floatB { 0%,100%{transform:translate(0,0)} 50%{transform:translate(26px,-20px)} }
.page-head { margin-bottom: 28px; }
.page-head h1 { font: 900 clamp(34px,7vw,56px) var(--font-display); text-transform: uppercase; letter-spacing: -.03em; margin: 0 0 10px; }

/* ---------- Marquee ---------- */
.marquee { position: relative; z-index: 2; overflow: hidden; background: var(--brand-gradient); transform: rotate(-1.2deg); margin: -16px 0 16px; padding: 14px 0; }
.marquee-track { display: flex; gap: 24px; white-space: nowrap; width: max-content; animation: marquee 26s linear infinite; }
.marquee-track span { font: 900 18px var(--font-display); text-transform: uppercase; color: #fff; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Sekce / mřížka ---------- */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.section-head h2 { font: 900 clamp(24px,5vw,36px) var(--font-display); text-transform: uppercase; margin: 0; }
.link-more { font-weight: 600; }
.grid { display: grid; gap: 16px; }
.grid-cards { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

/* ---------- Karta skupiny ---------- */
.group-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; display: flex; flex-direction: column; gap: 6px; transition: transform .15s, border-color .15s, box-shadow .15s; }
.group-card:hover { transform: translateY(-3px); border-color: var(--brand-magenta); box-shadow: 0 16px 40px -18px rgba(255,45,120,.6); }
.group-card h3 { margin: 6px 0 0; font-size: 21px; color: var(--text); }
.group-card-top { display: flex; gap: 6px; flex-wrap: wrap; }
.group-card-go { margin-top: auto; padding-top: 12px; color: var(--brand-coral); font: 700 14px var(--font-body); }
.slot-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.chip { background: var(--bg-2); border: 1px solid var(--border-soft); border-radius: var(--radius-pill); padding: 3px 10px; font-size: 12px; color: var(--text-soft); }

/* ---------- Skupiny: karty s fotkou ---------- */
.g-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.g-card { display: flex; flex-direction: column; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: transform .15s, border-color .15s, box-shadow .15s; }
.g-card:hover { transform: translateY(-4px); border-color: var(--brand-magenta); box-shadow: 0 18px 44px -20px rgba(255,45,120,.6); }
.g-card-photo { position: relative; aspect-ratio: 4/3; background-size: cover; background-position: center; }
.g-card-photo.no-photo { display: flex; align-items: center; justify-content: center; }
.g-card-photo.cat-hobby { background: linear-gradient(135deg, #4d8df0, #1a3a6b); }
.g-card-photo.cat-soutezni { background: var(--brand-gradient); }
.g-card-photo.cat-pripravka { background: linear-gradient(135deg, #19c37d, #0c5b3a); }
.g-card-photo.cat-kondicni { background: linear-gradient(135deg, #f5a524, #9c6200); }
.g-card-photo .badge { position: absolute; top: 12px; left: 12px; }
.g-card-initial { font: 900 64px var(--font-display); color: rgba(255,255,255,.32); }
.g-card-body { padding: 16px 18px 8px; flex: 1; }
.g-card-body h3 { margin: 0; font-size: 19px; color: var(--text); }
.g-card-style { color: var(--text-mute); font-size: 13px; margin: 4px 0 0; }
.g-card-days { display: flex; gap: 5px; margin-top: 10px; flex-wrap: wrap; }
.day-pill { background: var(--bg-2); border: 1px solid var(--border-soft); border-radius: 6px; padding: 2px 7px; font-size: 11px; font-weight: 700; color: var(--text-soft); }
.g-card-foot { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; border-top: 1px solid var(--border-soft); margin-top: auto; }
.g-age { font-weight: 700; font-size: 13px; color: var(--text-soft); }
.g-spots { font-size: 12px; font-weight: 700; color: var(--ok); }
.g-spots.is-full { color: var(--danger); }

/* ---------- Skupina: detail (hero + meta) ---------- */
.grp-hero { position: relative; min-height: 300px; display: flex; align-items: flex-end; background-size: cover; background-position: center; overflow: hidden; }
.grp-hero.no-photo { background: var(--brand-gradient); }
.grp-hero.no-photo.cat-hobby { background: linear-gradient(135deg, #4d8df0, #1a3a6b); }
.grp-hero.no-photo.cat-pripravka { background: linear-gradient(135deg, #19c37d, #0c5b3a); }
.grp-hero.no-photo.cat-kondicni { background: linear-gradient(135deg, #f5a524, #9c6200); }
.grp-hero-shade { position: absolute; inset: 0; background: var(--corner-tint), linear-gradient(to top, rgba(14,6,22,.9), rgba(14,6,22,.1) 65%, rgba(14,6,22,.35)); }
.grp-hero-inner { position: relative; z-index: 1; padding: 28px 24px; width: 100%; max-width: 1160px; margin: 0 auto; }
.grp-hero-inner .badge { margin-top: 8px; }
.grp-hero-inner h1 { font: 900 clamp(34px, 7vw, 64px)/1 var(--font-display); text-transform: uppercase; letter-spacing: -.03em; color: #fff; margin: 10px 0 4px; text-shadow: 0 2px 24px rgba(0,0,0,.45); }
.grp-hero-style { color: rgba(255,255,255,.88); font-weight: 600; margin: 0; }
.back-link.light { color: rgba(255,255,255,.82); }

.grp-body { padding-top: 24px; }
.grp-meta { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin: 0 0 28px; }
.meta-item { display: flex; align-items: center; gap: 12px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; }
.meta-ico { font-size: 22px; line-height: 1; }
.meta-k { font-size: 11px; color: var(--text-mute); text-transform: uppercase; letter-spacing: .06em; }
.meta-v { display: block; font: 700 16px var(--font-display); color: var(--text); }
.spots-bar { height: 6px; background: var(--bg-2); border-radius: 100px; overflow: hidden; margin-top: 6px; }
.spots-fill { display: block; height: 100%; background: var(--brand-gradient); border-radius: 100px; }
.meta-spots.is-full .spots-fill { background: var(--danger); }

.grp-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .grp-grid { grid-template-columns: 1.6fr 1fr; } }
.grp-block { margin-bottom: 24px; }
.grp-block h2 { font: 900 22px var(--font-display); text-transform: uppercase; margin: 0 0 10px; }
.grp-side { display: flex; flex-direction: column; gap: 16px; }
.grp-cta-card { background: var(--bg-2); text-align: center; }
.grp-cta-lead { font-weight: 600; margin: 0 0 12px; }
.sched-chips { display: flex; flex-direction: column; gap: 8px; }
.sched-chip { display: flex; justify-content: space-between; align-items: center; background: var(--bg-2); border: 1px solid var(--border-soft); border-radius: var(--radius-sm); padding: 10px 14px; }
.sched-chip .sched-day { font-weight: 600; color: var(--text-soft); }
.sched-chip .sched-time { font: 700 15px var(--font-display); color: var(--brand-coral); }

/* ---------- Badge ---------- */
.badge { display: inline-block; font: 700 11px var(--font-body); letter-spacing: .04em; padding: 4px 11px; border-radius: var(--radius-pill); text-transform: uppercase; }
.badge-style { background: var(--bg-2); color: var(--text-soft); border: 1px solid var(--border-soft); }
.badge-cat { color: #fff; }
.badge-hobby { background: #4d8df0; }
.badge-soutezni { background: var(--brand-magenta); }
.badge-pripravka { background: #19c37d; }
.badge-kondicni { background: #f5a524; color:#3a2600; }

/* ---------- Detail skupiny ---------- */
.back-link { display: inline-block; margin-bottom: 18px; color: var(--text-mute); font-weight: 600; }
.detail-head h1 { font: 900 clamp(32px,7vw,60px) var(--font-display); text-transform: uppercase; letter-spacing: -.03em; margin: 8px 0 6px; }
.detail-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.detail-age { color: var(--text-soft); font-weight: 600; }
.detail-grid { display: grid; gap: 24px; grid-template-columns: 1fr; margin-top: 24px; }
@media (min-width: 860px) { .detail-grid { grid-template-columns: 1.6fr 1fr; } }
.detail-desc { color: var(--text-soft); line-height: 1.7; }
.detail-side { display: flex; flex-direction: column; gap: 16px; }
.side-title { font-size: 16px; margin: 0 0 12px; text-transform: uppercase; letter-spacing: .04em; }
.schedule { list-style: none; margin: 0; padding: 0; }
.schedule li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border-soft); }
.schedule li:last-child { border-bottom: 0; }
.sch-day { color: var(--text-soft); } .sch-time { font: 700 15px var(--font-display); }
.sch-loc { margin: 12px 0 0; font-size: 13px; }
.card-cta { background: var(--bg-2); }

/* ---------- Karta / formuláře ---------- */
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.field { margin-bottom: 16px; }
label { display: block; font: 600 13px var(--font-body); color: var(--text-soft); margin-bottom: 6px; }
label.check { display: flex; align-items: center; gap: 10px; cursor: pointer; }
label.check input { width: 20px; height: 20px; accent-color: var(--brand-magenta); }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=time],
input[type=date], input[type=datetime-local], input[type=month], input[type=tel], input[type=url], input[type=search],
select, textarea {
  width: 100%; background: var(--bg-card-2); border: 1px solid var(--border); color: var(--text);
  border-radius: var(--radius-sm); padding: 12px 14px; font: 400 15px var(--font-body); min-height: 44px;
  -webkit-appearance: none; -moz-appearance: none; appearance: none; }
body.admin input, body.admin select, body.admin textarea { background: #fff; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand-magenta); box-shadow: 0 0 0 3px rgba(255,45,120,.18); }
textarea { min-height: auto; }
/* select — vlastní šipka místo OS defaultu (jednotně všude) */
select { padding-right: 38px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%239b7bb0' stroke-width='1.6' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
select::-ms-expand { display: none; }
/* date/time — sjednocený font (ne OS monospace) + tint ikony kalendáře */
input[type=date], input[type=time], input[type=datetime-local], input[type=month] { font-variant-numeric: tabular-nums; }
input[type=date]::-webkit-calendar-picker-indicator, input[type=time]::-webkit-calendar-picker-indicator,
input[type=datetime-local]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .55; }
input[type=date]::-webkit-calendar-picker-indicator:hover { opacity: 1; }
/* file input — tlačítko v designu */
input[type=file] { width: 100%; font: 400 14px var(--font-body); color: var(--text-soft); }
input[type=file]::file-selector-button { font: 600 13px var(--font-body); cursor: pointer; margin-right: 12px;
  background: var(--bg-card-2); border: 1px solid var(--border); color: var(--text); border-radius: 100px; padding: 8px 16px;
  transition: border-color .12s, color .12s; }
body.admin input[type=file]::file-selector-button { background: #fff; }
input[type=file]::file-selector-button:hover { border-color: var(--brand-magenta); color: var(--brand-magenta); }

/* ---------- Obsah stránky (pages) ---------- */
.page-content { color: var(--text-soft); line-height: 1.7; font-size: 16px; }
.page-content h2 { font: 900 24px var(--font-display); color: var(--text); margin: 28px 0 10px; }
.page-content p { margin: 0 0 14px; }
.page-content blockquote { margin: 18px 0; padding: 16px 20px; border-left: 3px solid var(--brand-magenta); background: var(--bg-2); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--text); font-style: italic; }

/* ---------- Proč / CTA pásy (úvodka) ---------- */
.why-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.why-card { display: flex; flex-direction: column; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: transform .15s, border-color .15s, box-shadow .15s; }
.why-card:hover { transform: translateY(-4px); border-color: var(--brand-magenta); box-shadow: 0 18px 44px -20px rgba(255,45,120,.6); }
.why-surface { position: relative; aspect-ratio: 16/10; overflow: hidden; background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center; }
.why-grad-1 { background-image: linear-gradient(135deg, #d633ff, #ff2d78); }
.why-grad-2 { background-image: linear-gradient(135deg, #ff2d78, #ff6b9d); }
.why-grad-3 { background-image: linear-gradient(135deg, #b06bff, #ff8fc7); }
.why-grad-4 { background-image: linear-gradient(135deg, #ff5fa2, #ff9d7a); }
.why-surface.has-photo::after { content: ""; position: absolute; inset: 0; background: var(--corner-tint), linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.45)); }
.why-ico { width: 56px; height: 56px; color: rgba(255,255,255,.92); filter: drop-shadow(0 2px 8px rgba(0,0,0,.25)); }
.why-ico svg { width: 100%; height: 100%; }
.why-body { padding: 16px 18px; flex: 1; }
.why-body h3 { margin: 0 0 6px; font-size: 19px; font-family: var(--font-display); color: var(--text); }
.why-body p { margin: 0; font-size: 13px; line-height: 1.5; }
/* ⭐ Spotlight propagační blok na úvodce */
.spotlight { position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: 40px 32px; min-height: 210px;
  display: flex; align-items: flex-end; background: var(--brand-gradient); background-size: cover; background-position: center; }
.spotlight.has-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,5,20,.25), rgba(12,5,20,.82)); }
.spotlight-body { position: relative; z-index: 1; max-width: 640px; }
.spotlight-eyebrow { display: inline-block; font: 700 12px var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: #ffd1e6; margin-bottom: 8px; }
.spotlight-body h2 { margin: 0 0 10px; font: 800 clamp(24px, 4vw, 36px) var(--font-display); color: #fff; line-height: 1.12; }
.spotlight-body p { margin: 0 0 16px; color: #f0e2f7; font-size: 16px; line-height: 1.5; max-width: 560px; }

.cta-band { background: var(--brand-gradient); border-radius: var(--radius-lg); padding: 48px 32px; text-align: center; margin: 8px 0; }
.cta-band h2 { color: #fff; font: 900 clamp(26px,5vw,40px) var(--font-display); text-transform: uppercase; margin: 0 0 16px; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 4px 18px; }
.faq-item summary { cursor: pointer; font: 700 16px var(--font-body); padding: 14px 0; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; float: right; color: var(--brand-magenta); font-weight: 700; }
.faq-item[open] summary::after { content: '−'; }
.faq-answer { color: var(--text-soft); padding: 0 0 16px; line-height: 1.6; }

/* ---------- Galerie ---------- */
/* ============ Galerie — mozaika + hloubka jako karty skupin ============ */
.gallery-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  grid-auto-rows: 180px; grid-auto-flow: dense; }
.gallery-item { position: relative; aspect-ratio: 1/1; border-radius: var(--radius); overflow: hidden; display: block;
  background: var(--bg-2); border: 1px solid var(--border); transition: transform .15s, box-shadow .15s; }
.gallery-grid .gallery-item { height: 100%; aspect-ratio: auto; }
/* mozaika: každá 6. dlaždice větší (2×2) */
.gallery-grid .gallery-item:nth-child(6n+1) { grid-column: span 2; grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery-item:hover { transform: translateY(-3px); box-shadow: 0 16px 40px -18px rgba(255,45,120,.55); }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: var(--corner-tint), linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.55)); pointer-events: none; }
.gallery-item .play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 40px; color: #fff; z-index: 1; }
.gi-cap { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 2; color: #fff;
  font: 800 16px var(--font-display); letter-spacing: -.01em; line-height: 1.1; text-shadow: 0 2px 8px rgba(0,0,0,.4); }

/* ---------- Souhlasy ---------- */
.consent-box { margin-top: 20px; padding: 16px; border: 1px dashed var(--border); border-radius: var(--radius-sm); background: var(--bg-2); }
.consent-box .check { font-weight: 400; color: var(--text-soft); align-items: flex-start; }
.consent-box .check input { margin-top: 2px; }

/* ---------- Flash ---------- */
.flash { padding: 12px 16px; border-radius: var(--radius-sm); margin: 16px 0; font-size: 14px; border: 1px solid; }
.flash-ok    { background: rgba(25,195,125,.12); border-color: var(--ok); }
.flash-error { background: rgba(245,69,92,.12);  border-color: var(--danger); }
.flash-info  { background: rgba(255,45,120,.1);  border-color: var(--brand-magenta); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border-soft); padding: 40px 0; margin-top: 40px; background: var(--bg-deep); }
.footer-cols { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-cols { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-contact p, .footer-social a { margin: 4px 0; font-size: 14px; color: var(--text-soft); }
.footer-social { display: flex; flex-direction: column; gap: 6px; }
.footer-social a { font-weight: 600; }

/* ================= KLIENTSKÁ ZÓNA (dark / branded) ================= */
/* ambientní pozadí — jemné plum gradienty + záře */
body.client {
  background:
    radial-gradient(900px 500px at 12% -8%, rgba(214,51,255,.16), transparent 60%),
    radial-gradient(800px 460px at 100% 0%, rgba(255,45,120,.14), transparent 55%),
    var(--bg);
  background-attachment: fixed;
}
/* sticky glassy hlavička */
.client-head { position: sticky; top: 0; z-index: 50;
  background: linear-gradient(180deg, rgba(14,6,22,.92), rgba(14,6,22,.72));
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border); box-shadow: 0 1px 0 rgba(255,45,120,.35), 0 10px 30px -18px rgba(0,0,0,.7); }
.client-head-in { display: flex; align-items: center; gap: 16px; padding: 12px 24px; flex-wrap: wrap; }
.client-head .brand-logo { background: var(--brand-gradient-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.client-head .brand-eyebrow { color: var(--text-mute); }
.client-nav { margin-left: auto; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.client-nav a { color: var(--text-soft); font: 600 14px var(--font-body); padding: 7px 13px; border-radius: 100px; transition: color .12s, background .12s; }
.client-nav a:hover { color: #fff; background: rgba(255,45,120,.12); }
.client-nav a.active { color: #fff; background: var(--brand-gradient); box-shadow: 0 6px 16px -6px rgba(255,45,120,.7); }
.client-logout { color: var(--text-mute) !important; }
.client-logout:hover { color: var(--brand-coral) !important; background: transparent !important; }
.client-main { padding-top: 28px; padding-bottom: 60px; position: relative; z-index: 1; }
.client-h1 { font: 800 30px var(--font-display); margin: 0 0 4px; letter-spacing: -.02em;
  background: var(--brand-gradient-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* karty v zóně: jemný okraj, gradient na hraně, hover záře */
body.client .admin-card { border-color: var(--border); box-shadow: 0 14px 40px -28px rgba(0,0,0,.8); transition: border-color .15s, box-shadow .15s, transform .15s; }
body.client .admin-card:hover { border-color: rgba(255,45,120,.4); box-shadow: 0 18px 48px -24px rgba(255,45,120,.35); }
body.client .section-head h2, body.client h2 { color: var(--text); }
/* staty: živější, klíčové do gradientu */
body.client .stat { background: linear-gradient(160deg, var(--bg-card-2), var(--bg-card)); border-color: var(--border); }
body.client .stat:hover { border-color: rgba(255,45,120,.45); }
body.client .stat-num { color: var(--text); }
body.client a.stat:hover { transform: translateY(-3px); }
body.client .stat-alert { background: linear-gradient(160deg, rgba(245,69,92,.16), var(--bg-card)); border-color: rgba(245,69,92,.4); }
/* QR popup zůstává bílý kvůli čitelnosti skenu */
.card-pay { background: linear-gradient(135deg, rgba(255,45,120,.07), rgba(214,51,255,.07)); border-color: var(--brand-magenta); }
.acct { font: 700 18px var(--font-display); color: var(--brand-magenta); }

/* ================= ADMIN ================= */
.admin-shell { display: flex; min-height: 100vh; }
.sidebar { width: 240px; flex: 0 0 240px; background: var(--sidebar-bg); color: var(--sidebar-text);
  display: flex; flex-direction: column; padding: 22px 10px 14px; position: sticky; top: 0; height: 100vh; overflow: hidden; }
.sidebar .brand { flex: 0 0 auto; margin-bottom: 14px; padding: 0 10px; }
.sidebar .brand-logo { color: #fff; }
.sidebar .brand-eyebrow { color: var(--sidebar-text); }
/* prostřední nav scrolluje, brand i patička zůstávají vidět */
.side-nav { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; gap: 3px; padding: 0 4px;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.18) transparent; }
.side-nav::-webkit-scrollbar { width: 7px; }
.side-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,.16); border-radius: 100px; }
.side-nav::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.3); }
.side-group { padding: 12px 12px 3px; font: 700 10px var(--font-body); text-transform: uppercase; letter-spacing: .1em; color: var(--text-faint); }
.side-nav a { color: var(--sidebar-text); padding: 9px 12px; border-radius: var(--radius-sm); font: 600 14px var(--font-body); }
.side-nav a:hover { background: rgba(255,255,255,.06); }
.side-nav a.active { background: var(--sidebar-active); color: #fff; }
.nav-count { display: inline-block; background: var(--brand-magenta); color: #fff; font-size: 11px; font-weight: 700; border-radius: 100px; padding: 1px 7px; margin-left: 4px; }
.stat-alert { border-color: var(--brand-magenta) !important; box-shadow: 0 0 0 2px rgba(255,45,120,.15); }
.stat-alert .stat-num { color: var(--brand-magenta); }
.side-foot { flex: 0 0 auto; margin-top: 10px; padding: 12px 8px 0; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; flex-direction: column; gap: 8px; }
.side-foot .muted { color: var(--text-faint); font-size: 13px; }
.side-foot .btn-ghost { color: #fff; border-color: rgba(255,255,255,.28); }
.side-foot .btn-ghost:hover { border-color: var(--brand-magenta); background: rgba(255,255,255,.06); }
.admin-main { flex: 1; padding: 32px; min-width: 0; }
.admin-head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.admin-head h1 { font: 700 28px var(--font-display); margin: 0; }
.admin-head .btn, .admin-head .pill { margin-left: auto; }
.pill { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 5px 14px; font-size: 13px; font-weight: 600; color: var(--text-soft); }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: 16px; margin-bottom: 24px; }
.stat { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-card); }
.stat-num { display: block; font: 700 32px var(--font-display); color: var(--brand-magenta); }
.occ-bar { height: 8px; background: var(--bg-2); border-radius: 100px; overflow: hidden; min-width: 120px; max-width: 220px; }
.occ-fill { display: block; height: 100%; border-radius: 100px; }
.occ-ok { background: var(--ok); } .occ-warn { background: var(--warn); } .occ-danger { background: var(--danger); }
.stat-label { color: var(--text-mute); font-size: 13px; }

.admin-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; box-shadow: var(--shadow-card); }
.admin-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.admin-card-head h2 { font: 700 20px var(--font-display); margin: 0; }

/* tabulky */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font: 700 11px var(--font-body); text-transform: uppercase; letter-spacing: .06em; color: var(--text-mute); padding: 10px 12px; border-bottom: 1px solid var(--border); }
.table td { padding: 12px; border-bottom: 1px solid var(--border-soft); font-size: 14px; vertical-align: middle; }
.table tr:hover td { background: var(--bg-card-2); }
.table .num { text-align: right; }
.table-compact td { padding: 8px 12px; }
/* křížové odkazy na entity v adminu — čitelně klikatelné */
.admin-main .table a:not(.btn):not(.cbtn), .admin-card a:not(.btn):not(.link-more):not(.cbtn) { color: inherit; text-decoration: none; border-bottom: 1px dotted var(--text-mute); }
.admin-main .table a:not(.btn):not(.cbtn):hover, .admin-card a:not(.btn):not(.link-more):not(.cbtn):hover { color: var(--brand-magenta); border-bottom-color: var(--brand-magenta); }
.admin-card-head a, .row-actions a, .contact-bar a { border-bottom: 0 !important; }

/* rychlý kontakt + kopírování */
.contact-bar { display: inline-flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.cbtn { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 30px; padding: 0 8px;
  border: 1px solid var(--border); border-radius: 8px; background: var(--bg-card); color: var(--text-soft);
  font-size: 13px; font-weight: 700; cursor: pointer; text-decoration: none; line-height: 1; }
.cbtn:hover { border-color: var(--brand-magenta); color: var(--brand-magenta); }
.cbtn-wa { color: #1aa179; border-color: #1aa179; }
.cbtn-wa:hover { background: #1aa179; color: #fff; }
.copy-toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 300;
  background: #160a1f; color: #fff; padding: 10px 18px; border-radius: 100px; font-weight: 700; box-shadow: 0 8px 28px rgba(0,0,0,.35); }
.copy-toast[hidden] { display: none; }
/* správce galerie */
.dropzone { border: 2px dashed var(--border); border-radius: var(--radius); padding: 28px; text-align: center; transition: border-color .15s, background .15s; }
.dropzone.over { border-color: var(--brand-magenta); background: rgba(255,45,120,.06); }
.up-progress { margin-top: 10px; font-weight: 700; color: var(--brand-magenta); }
.media-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.media-item { position: relative; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.media-item.is-draft { border-color: #c79100; box-shadow: 0 0 0 2px rgba(214,153,0,.12); }
.mi-pick { position: absolute; top: 8px; left: 8px; z-index: 2; background: rgba(255,255,255,.92); border-radius: 6px; padding: 2px 5px; }
.mi-thumb { position: relative; aspect-ratio: 4/3; border-radius: 10px; overflow: hidden; background: var(--bg-2); }
.mi-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mi-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 32px; background: linear-gradient(135deg,#d633ff,#ff2d78); }
.mi-badge { position: absolute; bottom: 6px; right: 6px; background: rgba(0,0,0,.6); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 100px; }
.mi-draft { position: absolute; bottom: 6px; left: 6px; background: #c79100; color: #fff; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 100px; }
.mi-drag { position: absolute; top: 8px; right: 8px; z-index: 3; cursor: grab; color: var(--text-mute); background: rgba(255,255,255,.92); border-radius: 6px; padding: 0 7px; font-size: 16px; line-height: 1.5; user-select: none; }
.mi-drag:active { cursor: grabbing; }
.media-item.dragging { opacity: .45; outline: 2px dashed var(--brand-magenta); }
.tag-pool { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border-soft); }
.chip-pool { font: inherit; font-size: 12px; cursor: pointer; border: 1px solid var(--border-soft); background: #fff; color: var(--text-mute); border-radius: 100px; padding: 3px 10px; transition: border-color .12s, color .12s, background .12s; }
.chip-pool:hover { border-color: var(--brand-magenta); color: var(--brand-magenta); background: rgba(255,45,120,.06); }
.media-item input[type=text], .media-item select { width: 100%; }
.mi-row { display: flex; gap: 6px; }
/* E-maily: nadpisy sekcí + symboly šablon */
.section-label { font-size: 15px; text-transform: uppercase; letter-spacing: .04em; color: var(--text-mute); margin: 0 0 8px; }
.tpl-group { font-size: 13px; font-weight: 700; color: var(--brand-magenta); margin: 20px 0 8px; letter-spacing: .02em; }
/* segmentový přepínač stavu (objednávky apod.) */
.phase-switch { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.phase-switch button { font: 600 13px var(--font-body); cursor: pointer; border: 1px solid var(--border); background: var(--bg-card-2); color: var(--text-soft); border-radius: 100px; padding: 7px 14px; transition: border-color .12s, color .12s, background .12s; }
body.admin .phase-switch button { background: #fff; }
.phase-switch button:hover { border-color: var(--brand-magenta); color: var(--brand-magenta); }
.phase-switch button.active,
body.admin .phase-switch button.active { background: var(--brand-magenta); border-color: var(--brand-magenta); color: #fff; cursor: default; }
.phase-switch-sm button { padding: 5px 11px; font-size: 12px; }
/* očko – zobrazit/skrýt heslo */
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 46px; }
.pw-eye { position: absolute; top: 0; right: 0; height: 100%; width: 44px; display: flex; align-items: center; justify-content: center;
  background: none; border: 0; cursor: pointer; font-size: 17px; line-height: 1; padding: 0; opacity: .6; color: inherit; }
.pw-eye:hover { opacity: 1; }
/* CONEMA kredit + skrytá marketingová stránka */
.footer-credit { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--border-soft); text-align: center; }
.footer-credit a { color: var(--text-mute); text-decoration: none; font-size: 13px; transition: color .15s; }
.footer-credit a:hover { color: var(--brand-magenta); }
.admin-credit { display: block; margin-top: 10px; font-size: 11px; color: var(--text-mute); text-decoration: none; opacity: .7; transition: opacity .15s, color .15s; }
.admin-credit:hover { opacity: 1; color: var(--brand-magenta); }
.sys-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sys-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: transform .15s, border-color .15s; }
.sys-card:hover { transform: translateY(-3px); border-color: var(--brand-magenta); }
.sys-ico { font-size: 30px; display: block; margin-bottom: 10px; }
.sys-card h3 { margin: 0 0 6px; font-size: 18px; }
.sys-why { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; }
.sys-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; color: var(--text-soft); }
.sys-cta { color: #fff; }
@media (max-width: 880px) { .sys-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .sys-grid { grid-template-columns: 1fr; } }
.tpl-var { display: inline-block; font-size: 12px; background: rgba(255,45,120,.08); color: var(--brand-magenta); border: 1px solid rgba(255,45,120,.25); border-radius: 6px; padding: 1px 6px; margin: 1px 0; }
.admin-card > details > summary::-webkit-details-marker { display: none; }
.admin-card > details > summary::before { content: '▸'; color: var(--text-mute); margin-right: 2px; transition: transform .12s; display: inline-block; }
.admin-card > details[open] > summary::before { transform: rotate(90deg); }
.mi-row select { min-width: 0; flex: 1; }
.mi-foot { display: flex; justify-content: space-between; align-items: center; }
.tags-field { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; border: 1px solid var(--border); border-radius: 8px; padding: 5px 6px; min-height: 38px; }
.tags-field .tag-add { border: 0 !important; flex: 1; min-width: 60px; padding: 2px; outline: none; }
.chip-tag { display: inline-flex; align-items: center; gap: 4px; background: rgba(255,45,120,.1); color: var(--brand-magenta); border-radius: 100px; padding: 2px 8px; font-size: 12px; font-weight: 700; }
.chip-tag b { cursor: pointer; }
/* akční lišta entity */
.action-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 18px; padding: 12px 14px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); }
.action-bar form { display: inline; margin: 0; }
.action-sep { width: 1px; align-self: stretch; min-height: 24px; background: var(--border); margin: 0 4px; }
/* stav na první pohled (chips) */
.card-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: -6px 0 18px; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border-radius: 100px;
  font: 700 12px var(--font-body); background: var(--bg-card); border: 1px solid var(--border); color: var(--text-soft); }
.chip-neg { background: rgba(212,50,107,.1); border-color: #d4326b; color: #d4326b; }
.chip-pos { background: rgba(26,161,121,.1); border-color: #1aa179; color: #1aa179; }
.chip-warn { background: rgba(214,153,0,.12); border-color: #c79100; color: #b07f00; }
.row-actions { text-align: right; white-space: nowrap; }

/* Dashboard cockpit */
.dash-attention { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin-bottom: 18px; }
.attn-card { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border-radius: var(--radius);
  background: var(--bg-card); border: 1px solid var(--brand-magenta); box-shadow: 0 0 0 3px rgba(255,45,120,.1);
  text-decoration: none; transition: transform .15s; }
.attn-card:hover { transform: translateY(-3px); }
.attn-num { font: 900 30px var(--font-display); color: var(--brand-magenta); line-height: 1; }
.attn-l { font-weight: 700; color: var(--text); }
.attn-s { font-size: 12px; color: var(--text-mute); }
.dash-clear { color: var(--text-soft); font-weight: 600; }
.dash-event { padding: 10px 0; border-bottom: 1px solid var(--border-soft); }
.dash-event:last-child { border-bottom: 0; }
.dash-event-h { font-weight: 700; font-family: var(--font-display); }
.dash-feed { list-style: none; margin: 0; padding: 0; }
.dash-feed li { padding: 7px 0; border-bottom: 1px solid var(--border-soft); font-size: 14px; }
.dash-feed li:last-child { border-bottom: 0; }
@media (max-width: 720px) { .form-grid[style*="grid-template-columns"] { grid-template-columns: 1fr !important; } }
.row-actions form { display: inline; }
.badge-status { display: inline-block; font: 700 11px var(--font-body); padding: 4px 10px; border-radius: var(--radius-pill); white-space: nowrap; }
.badge-status.badge-ok    { background: rgba(25,195,125,.15);  color: #0e7a4d; }
.badge-status.badge-warn  { background: rgba(245,165,36,.18);  color: #8a5a00; }
.badge-status.badge-danger{ background: rgba(245,69,92,.15);   color: #b21f33; }
.badge-status.badge-mute  { background: var(--bg-2);           color: var(--text-mute); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; vertical-align: middle; margin-right: 4px; }
.dot-ok { background: var(--ok); } .dot-off { background: var(--text-faint); }

/* form grid */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 16px; }
.form-grid .col-2 { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-actions { display: flex; gap: 12px; margin-top: 12px; }
.slot-add { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border-soft); }
.slot-add select, .slot-add input { width: auto; flex: 0 1 auto; }
.slot-add input[type=text] { flex: 1 1 160px; }

.admin-topbar { display: none; }
.admin-backdrop { display: none; }

/* Globální hledání v adminu */
.side-search { margin: 4px 0 14px; }
.side-search input, .admin-search input {
  width: 100%; box-sizing: border-box; padding: 9px 12px; font-size: 14px;
  border-radius: 10px; border: 1px solid var(--border-soft);
  background: rgba(255,255,255,.06); color: inherit;
}
.side-search input::placeholder, .admin-search input::placeholder { color: var(--muted); }
.side-search input:focus, .admin-search input:focus {
  outline: none; border-color: var(--brand-magenta); background: rgba(255,255,255,.1);
}
.admin-search { flex: 1; min-width: 0; }
@media (max-width: 720px) {
  .admin-shell { display: block; }   /* vypnout flex řádek → topbar i obsah na plnou šířku, sidebar je overlay */
  .sidebar { position: fixed; top: 0; left: 0; bottom: 0; width: 270px; max-width: 84vw; flex: none;
    transform: translateX(-100%); z-index: 60; transition: transform .2s; overflow-y: auto; box-shadow: 2px 0 24px rgba(0,0,0,.35); }
  body.admin-nav-open .sidebar { transform: none; }
  .admin-topbar { display: flex; align-items: center; gap: 10px; position: sticky; top: 0; z-index: 40;
    background: var(--sidebar-bg); color: #fff; padding: 10px 14px; }
  .admin-topbar .brand { margin: 0; flex: 0 0 auto; }
  .admin-topbar .brand-logo { color: #fff; }
  .side-search { display: none; }   /* na mobilu hledání v topbaru */
  .admin-burger { background: none; border: 0; color: #fff; font-size: 26px; line-height: 1; padding: 2px 8px; cursor: pointer; }
  body.admin-nav-open .admin-backdrop { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 50; }
  .admin-main { width: 100%; padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ============ App-like mobilní polish ============ */
html { -webkit-text-size-adjust: 100%; }
* { -webkit-tap-highlight-color: rgba(255,45,120,.18); }
img, video, iframe { max-width: 100%; }
.table-wrap { -webkit-overflow-scrolling: touch; }

@media (max-width: 720px) {
  html, body { overflow-x: hidden; }                       /* žádný vodorovný posun celé stránky */
  .admin-main, .client-main, .wrap { max-width: 100%; }
  /* čitelnost */
  .table td { font-size: 15px; padding: 11px 10px; }
  .table th { padding: 10px 10px; }
  /* tap targety + iOS anti-zoom (input ≥16px nezoomuje při fokusu) */
  .btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .btn-sm { min-height: 40px; }
  input:not([type=checkbox]):not([type=radio]), select, textarea { min-height: 44px; font-size: 16px; }
  /* pohodlnější karty */
  .admin-card { padding: 16px; border-radius: 16px; }
  /* safe-area pro notch / home indicator */
  .admin-topbar { padding-top: calc(10px + env(safe-area-inset-top)); }
  .sidebar { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  .client-head { padding-top: calc(env(safe-area-inset-top)); }
  /* mobil: horní nav schována, navigace přes spodní lištu (tab bar) */
  .client-nav { display: none; }
  .client-head-in { padding: 10px 16px; }
  .client-main { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
  .client-h1 { font-size: 25px; }
}

/* ============ Spodní lišta klientské zóny (mobil) ============ */
.client-tabbar { display: none; }
@media (max-width: 720px) {
  .client-tabbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: rgba(22,10,31,.93); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255,45,120,.22);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  }
  .client-tabbar .tab {
    flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 3px;
    background: none; border: 0; cursor: pointer; text-decoration: none;
    padding: 6px 2px; color: var(--text-mute); font: 600 11px var(--font-body);
  }
  .client-tabbar .tab svg { width: 23px; height: 23px; }
  .client-tabbar .tab span { line-height: 1; }
  .client-tabbar .tab.active { color: var(--brand-magenta-bright); }
  .client-tabbar .tab.active span { color: #fff; }
  .client-tabbar .tab:active { transform: scale(.94); }

  .more-sheet { position: fixed; inset: 0; z-index: 70; background: rgba(12,5,20,.6);
    -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
  .more-sheet[hidden] { display: none; }
  .more-panel { position: absolute; left: 0; right: 0; bottom: 0;
    background: #1c0d29; border-top: 1px solid rgba(255,45,120,.25);
    border-radius: 20px 20px 0 0; padding: 8px 16px calc(14px + env(safe-area-inset-bottom));
    box-shadow: 0 -16px 40px rgba(0,0,0,.5); animation: sheetUp .25s cubic-bezier(.2,.9,.3,1) both; }
  .more-grab { width: 40px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.25); margin: 6px auto 10px; }
  .more-panel a { display: flex; align-items: center; gap: 12px; padding: 14px 6px;
    color: #e6d7f0; font: 600 15px var(--font-body); text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,.07); }
  .more-panel a:last-child { border-bottom: 0; }
  .more-panel a .mi { font-size: 19px; width: 24px; text-align: center; }
  .more-panel a.more-logout { color: var(--brand-coral); }
  @keyframes sheetUp { from { transform: translateY(100%); } to { transform: none; } }
  @media (prefers-reduced-motion: reduce) { .more-panel { animation: none; } }
}

/* ============ Responzivní tabulky → karty na mobilu (mobile-first) ============ */
@media (max-width: 720px) {
  .table-cards thead { display: none; }
  .table-cards, .table-cards tbody, .table-cards tr, .table-cards td { display: block; width: 100%; }
  .table-cards tr { border: 1px solid var(--border); border-radius: 14px; padding: 4px 14px;
    margin-bottom: 12px; background: var(--bg-card); }
  .table-cards tr:hover td { background: transparent; }
  .table-cards td { display: flex; justify-content: space-between; align-items: center; gap: 14px;
    padding: 10px 0; border: 0; border-bottom: 1px solid var(--border-soft); text-align: right; font-size: 15px; }
  .table-cards tr td:last-child { border-bottom: 0; }
  .table-cards td::before { content: attr(data-label); font: 700 11px var(--font-body); text-transform: uppercase;
    letter-spacing: .05em; color: var(--text-mute); text-align: left; flex: 0 0 auto; }
  .table-cards td.cell-head { font-weight: 700; }     /* hlavní buňka (jméno) bez popisku, větší */
  .table-cards td.cell-head::before { content: none; }
  .table-cards td .num, .table-cards td.num { text-align: right; }
  /* buňka s formulářem/ovládáním → popisek nahoře, ovládání na celou šířku */
  .table-cards td.cell-form { flex-direction: column; align-items: stretch; gap: 6px; text-align: left; }
  .table-cards td.cell-form::before { text-align: left; }
  .table-cards td.cell-form form { width: 100%; justify-content: flex-start; }
}

/* ============ Scroll-pruhy (úvodka) ============ */
.scroller { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity;
  padding: 4px 2px 4px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.scroller::-webkit-scrollbar { display: none; }
.scroller > * { flex: 0 0 240px; scroll-snap-align: start; }
.scroller-sq > * { flex-basis: 210px; }

/* Lightbox (video/foto bez odchodu na YouTube) */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(10,4,16,.9); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox-inner { width: min(960px, 100%); }
.lightbox-video { position: relative; width: 100%; aspect-ratio: 16/9; }
.lightbox-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 14px; }
.lightbox-inner img { display: block; max-width: 100%; max-height: 88vh; margin: 0 auto; border-radius: 14px; }
.lightbox-close { position: absolute; top: 14px; right: 18px; width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.14); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.lightbox-close:hover { background: rgba(255,255,255,.28); }

/* Z galerie na úvodce — responzivní mřížka (žádný scrollbar/posun) */
.gallery-strip { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
@media (min-width: 900px) { .gallery-strip { grid-template-columns: repeat(6, 1fr); } }

/* ============ Karty akcí (recept jako skupiny) ============ */
.ev-card { display: flex; flex-direction: column; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; }
.ev-card:hover { transform: translateY(-4px); border-color: var(--brand-magenta); box-shadow: 0 18px 44px -20px rgba(255,45,120,.6); }
.ev-surface { position: relative; aspect-ratio: 16/10; overflow: hidden; background-size: cover; background-position: center; }
.ev-surface.has-photo::after { content: ""; position: absolute; inset: 0; background: var(--corner-tint), linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.5)); }
.ev-mono { position: absolute; right: 12px; bottom: -10px; font: 900 64px var(--font-display); letter-spacing: -.04em;
  color: rgba(255,255,255,.22); line-height: 1; z-index: 1; }
.ev-surface.has-photo .ev-mono, .ev-featured-surface.has-photo .ev-mono { display: none; }
.ev-card-body { padding: 14px 16px; display: flex; flex-direction: column; flex: 1; }
.ev-card-body h3 { margin: 0; font-size: 18px; font-family: var(--font-display); color: var(--text); }
.ev-card-body .muted { font-size: 13px; margin: 6px 0 0; }
.ev-go { margin-top: auto; padding-top: 12px; color: var(--brand-coral); font: 700 14px var(--font-body); }
.ev-card.is-past { opacity: .8; }
.ev-card.is-past:hover { opacity: 1; }
.ev-card.is-past .ev-surface { filter: saturate(.35) brightness(.95); }

.grad-soustredeni { background-image: linear-gradient(135deg, #ff5fa2, #ff9d7a); }
.grad-soutez      { background-image: linear-gradient(135deg, #d633ff, #ff2d78); }
.grad-workshop    { background-image: linear-gradient(135deg, #b06bff, #ff8fc7); }

/* featured (1 akce) — horizontální hero karta */
.ev-featured { display: grid; grid-template-columns: 1fr 1.2fr; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; }
.ev-featured:hover { transform: translateY(-4px); border-color: var(--brand-magenta); box-shadow: 0 18px 44px -20px rgba(255,45,120,.6); }
.ev-featured-surface { position: relative; min-height: 240px; background-size: cover; background-position: center; overflow: hidden; }
.ev-featured.grad-soustredeni .ev-featured-surface { background-image: linear-gradient(135deg, #ff5fa2, #ff9d7a); }
.ev-featured.grad-soutez .ev-featured-surface { background-image: linear-gradient(135deg, #d633ff, #ff2d78); }
.ev-featured.grad-workshop .ev-featured-surface { background-image: linear-gradient(135deg, #b06bff, #ff8fc7); }
.ev-featured-surface.has-photo::after { content: ""; position: absolute; inset: 0; background: var(--corner-tint), linear-gradient(135deg, rgba(0,0,0,.2), rgba(0,0,0,.45)); }
.ev-featured-surface .ev-mono { right: 16px; bottom: -16px; font-size: 110px; }
.ev-featured-ico { position: absolute; left: 22px; top: 20px; font-size: 56px; filter: drop-shadow(0 2px 10px rgba(0,0,0,.3)); z-index: 1; }
.ev-featured-body { padding: 24px 26px; display: flex; flex-direction: column; }
.ev-featured-body h3 { margin: 12px 0 4px; font-size: 26px; font-family: var(--font-display); color: var(--text); line-height: 1.1; }
.ev-featured-date { color: var(--brand-coral); font-weight: 700; margin: 2px 0 8px; }
.ev-featured-body .muted { font-size: 14px; line-height: 1.5; margin: 0; }
@media (max-width: 720px) { .ev-featured { grid-template-columns: 1fr; } .ev-featured-surface { min-height: 150px; } }

/* ============ Stránka O nás ============ */
.about-hero { text-align: center; padding-bottom: 8px; }
.about-h1 { font: 900 clamp(40px, 9vw, 80px) var(--font-display); letter-spacing: -.03em; margin: 8px 0 14px;
  background: linear-gradient(120deg, #ff2d78, #d633ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about-lead { font-size: clamp(18px, 3vw, 26px); line-height: 1.35; max-width: 620px; margin: 0 auto; color: var(--text); font-weight: 600; }

.story-grid { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.story-card { display: flex; flex-direction: column; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; }
.story-surface { position: relative; aspect-ratio: 16/9; background-size: cover; background-position: center; }
.story-surface.has-photo::after { content: ""; position: absolute; inset: 0; background: var(--corner-tint), linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.45)); }
.story-year { position: absolute; left: 16px; bottom: -14px; font: 900 92px var(--font-display); letter-spacing: -.04em; color: rgba(255,255,255,.24); line-height: 1; }
.story-body { padding: 18px 20px; }
.story-body h3 { margin: 0 0 6px; font: 800 22px var(--font-display); color: var(--text); }
.story-body p { margin: 0; line-height: 1.55; }
.story-note { text-align: center; max-width: 640px; margin: 22px auto 0; font-size: 16px; line-height: 1.6; color: var(--text-soft); }

.about-stats { display: grid; gap: 14px; grid-template-columns: repeat(4, 1fr); }
.about-stat { text-align: center; padding: 26px 14px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg-card); }
.about-stat-num { display: block; font: 900 clamp(34px, 6vw, 52px) var(--font-display); letter-spacing: -.03em; line-height: 1;
  background: linear-gradient(120deg, #ff2d78, #d633ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about-stat-label { display: block; margin-top: 8px; font-size: 13px; color: var(--text-mute); }

.team-grid { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.team-card { display: flex; flex-direction: column; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: transform .15s, box-shadow .15s, border-color .15s; }
.team-card:hover { transform: translateY(-4px); border-color: var(--brand-magenta); box-shadow: 0 18px 44px -20px rgba(255,45,120,.6); }
.team-surface { position: relative; aspect-ratio: 3/2; background-size: cover; background-position: center; overflow: hidden; }
.team-surface.has-photo::after { content: ""; position: absolute; inset: 0; background: var(--corner-tint), linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.4)); }
.team-mono { position: absolute; right: 14px; bottom: -12px; font: 900 88px var(--font-display); color: rgba(255,255,255,.26); line-height: 1; }
.team-surface.has-photo .team-mono { display: none; }
.team-body { padding: 16px 20px; }
.team-role { font: 700 11px var(--font-body); text-transform: uppercase; letter-spacing: .08em; color: var(--brand-coral); }
.team-body h3 { margin: 4px 0 6px; font: 800 22px var(--font-display); color: var(--text); }
.team-body p { margin: 0; line-height: 1.5; }

.rental-card { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(214,51,255,.12), rgba(255,45,120,.12)); border: 1px solid var(--border); }
.rental-ico { font-size: 38px; }
.rental-card h3 { margin: 0; font: 800 20px var(--font-display); color: var(--text); }

/* blok O nás na úvodce */
.about-home { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; align-items: stretch;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.about-home-text { padding: 30px 32px; display: flex; flex-direction: column; }
.about-home-text h2 { margin: 6px 0 10px; font: 900 clamp(24px, 4vw, 34px) var(--font-display); color: var(--text); }
.about-home-text > p { margin: 0; line-height: 1.6; color: var(--text-soft); }
.about-home-stats { display: flex; gap: 26px; margin: 20px 0; flex-wrap: wrap; }
.about-home-stats div { display: flex; flex-direction: column; }
.about-home-stats strong { font: 900 26px var(--font-display); line-height: 1;
  background: linear-gradient(120deg, #ff2d78, #d633ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about-home-stats span { font-size: 12px; color: var(--text-mute); margin-top: 2px; }
.about-home-text .btn { align-self: flex-start; margin-top: auto; }
.about-home-surface { position: relative; min-height: 240px; background-size: cover; background-position: center; overflow: hidden; }
.about-home-surface.has-photo::after { content: ""; position: absolute; inset: 0; background: var(--corner-tint), linear-gradient(135deg, rgba(0,0,0,.15), rgba(0,0,0,.4)); }
.about-home-mono { position: absolute; right: 18px; bottom: -20px; font: 900 clamp(90px, 14vw, 130px) var(--font-display); color: rgba(255,255,255,.22); line-height: 1; }
@media (max-width: 720px) { .about-home { grid-template-columns: 1fr; } .about-home-surface { min-height: 150px; order: -1; } }

@media (max-width: 720px) {
  .story-grid, .team-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .rental-card { flex-direction: column; text-align: center; }
}

/* prázdný stav akcí */
.ev-empty { text-align: center; padding: 44px 24px; border: 1px dashed var(--border); border-radius: var(--radius); background: var(--bg-card); }
.ev-empty-ico { font-size: 40px; display: block; margin-bottom: 8px; }
.ev-empty h3 { margin: 0 0 6px; font-family: var(--font-display); font-size: 22px; color: var(--text); }
.ev-empty p { margin: 0 auto 16px; max-width: 420px; }

/* ============ Galerie placeholdery ============ */
.gallery-item.is-ph { display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.9); }
.ph-ico { width: 44px; height: 44px; opacity: .9; filter: drop-shadow(0 2px 6px rgba(0,0,0,.2)); }
.ph-ico svg { width: 100%; height: 100%; }
.ph-1 { background: linear-gradient(135deg, #ff2d78, #d633ff); }
.ph-2 { background: linear-gradient(135deg, #d633ff, #b06bff); }
.ph-3 { background: linear-gradient(135deg, #ff5fa2, #ff9d7a); }
.ph-4 { background: linear-gradient(135deg, #b06bff, #ff8fc7); }
.ph-5 { background: linear-gradient(135deg, #ff2d78, #ff6b9d); }
.ph-6 { background: linear-gradient(135deg, #9d4edd, #ff2d78); }

/* ============ Archiv akcí ============ */
.archive-head { display: flex; align-items: center; gap: 16px; margin: 44px 0 8px; }
.archive-line { flex: 1; height: 1px; background: var(--border); }
.archive-title { font: 800 22px var(--font-display); color: var(--text); white-space: nowrap; }
.archive-year { font-size: 15px; color: var(--text-mute); margin: 20px 0 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; }

/* ============ Skupiny v2: monogram + pilulky na ploše (magenta family) ============ */
.g-card { display: flex; flex-direction: column; }
.g-surface { position: relative; aspect-ratio: 4/3; overflow: hidden; background-size: cover; background-position: center; }
.g-surface.cat-soutezni  { background-image: linear-gradient(135deg, #d633ff, #ff2d78); }
.g-surface.cat-hobby     { background-image: linear-gradient(135deg, #ff2d78, #ff6b9d); }
.g-surface.cat-pripravka { background-image: linear-gradient(135deg, #b06bff, #ff8fc7); }
.g-surface.cat-kondicni  { background-image: linear-gradient(135deg, #ff5fa2, #ff9d7a); }
.g-surface.has-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.34), rgba(0,0,0,0) 38%, rgba(0,0,0,0) 72%, rgba(0,0,0,.22)); }
.g-mono { position: absolute; right: 14px; bottom: -6px; font: 900 76px var(--font-display); letter-spacing: -.04em; color: rgba(255,255,255,.22); line-height: 1; z-index: 1; }
/* když je fotka, neschovávej ji pod obří monogram — ten je jen placeholder bez fotky */
.g-surface.has-photo .g-mono { display: none; }
.g-pills { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; gap: 8px; z-index: 2; }
.g-pill { font: 700 11px var(--font-body); padding: 5px 11px; border-radius: 100px; white-space: nowrap; }
.g-pill-dark { background: rgba(10,4,16,.5); color: #fff; }
.g-pill-light { background: #fff; color: #2a1633; }
.g-card-body { padding: 16px 18px; flex: 1; display: flex; flex-direction: column; }
.g-card-body h3 { margin: 0; font-size: 20px; color: var(--text); }
.g-card-desc { color: var(--text-mute); font-size: 13px; line-height: 1.5; margin: 8px 0 0; }
.g-card-cat { margin-top: auto; padding-top: 14px; }

/* detail hero v2 */
.grp-hero { color: #fff; }
.grp-hero.cat-soutezni  { background-image: linear-gradient(135deg, #d633ff, #ff2d78); }
.grp-hero.cat-hobby     { background-image: linear-gradient(135deg, #ff2d78, #ff6b9d); }
.grp-hero.cat-pripravka { background-image: linear-gradient(135deg, #b06bff, #ff8fc7); }
.grp-hero.cat-kondicni  { background-image: linear-gradient(135deg, #ff5fa2, #ff9d7a); }
.grp-hero-mono { position: absolute; right: 3%; bottom: -16px; font: 900 clamp(120px, 22vw, 240px) var(--font-display); color: rgba(255,255,255,.14); line-height: .8; z-index: 0; pointer-events: none; }
.g-pills.static { position: static; padding: 0; margin-bottom: 12px; justify-content: flex-start; flex-wrap: wrap; }
.grp-trainer-card { }

/* finance: dluh / kredit */
.score-neg { color: #d4326b; }
.score-pos { color: #1aa179; }

/* QR platba */
.qr-pay { display: inline-block; }
.qr-pay > summary { cursor: pointer; list-style: none; font-size: 12px; font-weight: 700; color: var(--accent, #ff2d78);
  border: 1px solid currentColor; border-radius: 6px; padding: 1px 7px; display: inline-block; }
.qr-pay > summary::-webkit-details-marker { display: none; }
.qr-pay[open] > summary { margin-bottom: 8px; }
.qr-pop { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 12px; display: inline-block;
  text-align: center; box-shadow: 0 8px 28px rgba(0,0,0,.12); }
.qr-pop img { display: block; width: 200px; height: 200px; border-radius: 8px; }
.qr-pop p { margin: 8px 0 0; font-size: 13px; line-height: 1.5; }
.qr-pop .acct { font-weight: 700; white-space: nowrap; }

/* harmonogram /kurzy */
.sched-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.sched-day { padding: 16px 18px; }
.sched-day h3 { margin: 0 0 10px; font-size: 17px; color: var(--brand-magenta, #ff2d78); }
.sched-list { list-style: none; margin: 0; padding: 0; }
.sched-list li { padding: 8px 0; border-top: 1px solid var(--line, #eee); display: flex; flex-direction: column; gap: 2px; }
.sched-list li:first-child { border-top: 0; }
.sched-time { font-weight: 700; font-variant-numeric: tabular-nums; }

/* portrét tanečnice (interní fotka) */
.avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; background: #eee; }
.avatar-lg { width: 72px; height: 72px; }
.avatar-ph { display: inline-flex; align-items: center; justify-content: center; font: 700 14px var(--font-display);
  color: #fff; background: linear-gradient(135deg, #b06bff, #ff2d78); }
.avatar-ph.avatar-lg { font-size: 22px; }

/* hodnocení sezóny („vysvědčení") v klientské zóně */
.eval-card { background: linear-gradient(135deg, rgba(255,45,120,.06), rgba(214,51,255,.06));
  border: 1px solid rgba(255,45,120,.25); border-radius: 12px; padding: 12px 14px; margin-top: 10px; }
.eval-card h4 { margin: 0 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: #d4326b; }
.eval-card p { margin: 0; white-space: pre-line; line-height: 1.55; }
.eval-card .eval-sign { display: block; margin-top: 8px; font-size: 12px; color: #888; }

/* ===== Merch / e-shop ===== */
/* produktové karty — staví na .g-card/.g-surface (sdílí s kartami skupin) */
.p-surface.pcat-mikiny   { background-image: linear-gradient(135deg, #ff2d78, #d633ff); }
.p-surface.pcat-trika    { background-image: linear-gradient(135deg, #ff6b9d, #ff2d78); }
.p-surface.pcat-teplaky  { background-image: linear-gradient(135deg, #b06bff, #6c4df0); }
.p-surface.pcat-bundy    { background-image: linear-gradient(135deg, #7b1f5a, #ff2d78); }
.p-surface.pcat-doplnky  { background-image: linear-gradient(135deg, #f5a524, #ff6b9d); }
.p-price-pill { background: #fff; color: #2a1633; font: 800 14px var(--font-display); }
.p-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 12px 18px 16px; margin-top: auto; }
.p-card-sizes { color: var(--text-mute); font-size: 12px; }

/* košík */
.cart-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center;
  padding: 14px 0; border-top: 1px solid var(--border); }
.cart-line:first-child { border-top: 0; }
.cart-thumb { width: 64px; height: 64px; border-radius: 12px; background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center; }
.cart-thumb .p-mono { font: 900 22px var(--font-display); color: rgba(255,255,255,.4); }
.cart-line-name { font-weight: 700; }
.cart-line-variant { color: var(--text-mute); font-size: 13px; margin-top: 2px; }
.cart-line-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.cart-qty { display: inline-flex; align-items: center; gap: 6px; }
.cart-qty input { width: 56px; text-align: center; min-height: 34px; }
.cart-sum { display: flex; justify-content: space-between; align-items: center; gap: 12px;
  margin-top: 16px; padding-top: 16px; border-top: 2px solid var(--border); font-size: 18px; }
.cart-sum strong { font: 800 24px var(--font-display); color: var(--brand-magenta); }

/* odznak košíku v navigaci */
.nav-cart { position: relative; }
.nav-cart .cart-badge { display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 5px; margin-left: 4px; border-radius: 100px;
  background: var(--brand-magenta); color: #fff; font: 700 11px var(--font-body); vertical-align: middle; }

/* foto-hero detailu produktu */
.p-hero { aspect-ratio: 16/9; max-height: 360px; border-radius: var(--radius); overflow: hidden;
  background-size: cover; background-position: center; display: flex; align-items: flex-end; margin-bottom: 20px; }
.p-hero .p-mono { font: 900 120px var(--font-display); color: rgba(255,255,255,.22); line-height: .8; padding: 0 0 0 18px; }

/* ===== Týdenní rozvrh na přehledu ===== */
.week-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 6px; }
.week-day { background: var(--bg-card, #fff); border: 1px solid var(--border, #eee); border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.week-day-h { font: 800 12px/1 var(--font-display); text-transform: uppercase; letter-spacing: .06em; color: var(--text-mute, #999); padding: 2px 2px 6px; border-bottom: 1px solid var(--border, #eee); }
.week-slot { display: block; text-decoration: none; color: inherit; background: rgba(255,45,120,.04); border-radius: 10px; padding: 9px 11px; border-left: 4px solid var(--brand-magenta); transition: transform .12s, box-shadow .12s; }
.week-slot:hover { transform: translateY(-2px); box-shadow: 0 8px 20px -10px rgba(255,45,120,.5); }
.week-slot.cat-soutezni  { border-left-color: #d633ff; background: rgba(214,51,255,.06); }
.week-slot.cat-hobby     { border-left-color: #4d8df0; background: rgba(77,141,240,.06); }
.week-slot.cat-pripravka { border-left-color: #19c37d; background: rgba(25,195,125,.06); }
.week-slot.cat-kondicni  { border-left-color: #f5a524; background: rgba(245,165,36,.07); }
.week-time { display: block; font: 800 14px var(--font-display); font-variant-numeric: tabular-nums; color: var(--text, #222); }
.week-name { display: block; font-weight: 700; font-size: 14px; margin-top: 1px; }
.week-meta { display: block; font-size: 12px; color: var(--text-mute, #888); margin-top: 2px; }
.week-sub  { display: block; font-size: 12px; color: var(--text-mute, #aaa); margin-top: 1px; }
.week-day-today { border-color: var(--brand-magenta); box-shadow: 0 6px 22px -12px rgba(255,45,120,.55); }
.week-day-today .week-day-h { color: var(--brand-magenta); border-bottom-color: rgba(255,45,120,.3); display: flex; align-items: center; gap: 6px; }
.pill-today { background: var(--brand-magenta); color: #fff; font-size: 10px; padding: 2px 8px; letter-spacing: .02em; }

/* „Co bude příště" karty v klientské zóně */
.nextup-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 16px 0; }
.nextup-card { display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: inherit;
  background: var(--bg-card, #fff); border: 1px solid var(--border, #eee); border-left: 4px solid var(--brand-magenta);
  border-radius: 12px; padding: 12px 14px; transition: transform .12s, box-shadow .12s; }
a.nextup-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px -10px rgba(255,45,120,.5); }
.nextup-card.nextup-alert { border-left-color: #f5455c; }
.nextup-icon { font-size: 20px; }
.nextup-label { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-mute, #999); }
.nextup-main { font: 800 17px var(--font-display); color: var(--text, #222); margin-top: 2px; }
.nextup-sub { font-size: 13px; color: var(--text-mute, #888); }

/* soutěžní soupiska */
.roster-stats { display: flex; gap: 24px; flex-wrap: wrap; margin: 4px 0 10px; }
.roster-stats > div { display: flex; flex-direction: column; gap: 1px; }
.roster-stats .rs-label { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-mute, #999); }
.roster-stats strong { font: 800 18px var(--font-display); }
.roster-cats { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 12px; }
.cat-chip { font-size: 12px; background: rgba(255,45,120,.07); border: 1px solid rgba(255,45,120,.2); border-radius: 100px; padding: 4px 11px; }

/* docházka — arch */
.att-list { display: flex; flex-direction: column; }
.att-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line, #eee); }
.att-row:first-child { border-top: 0; }
.att-name { font-weight: 600; }
.att-switch { display: inline-flex; gap: 4px; }
.att-seg { cursor: pointer; user-select: none; font: 600 13px var(--font-body); border: 1px solid var(--border, #ddd);
  background: #fff; color: var(--text-soft, #666); border-radius: 100px; padding: 7px 13px; min-width: 48px; text-align: center; transition: all .1s; }
.att-seg:hover { border-color: var(--brand-magenta); }
.att-seg.active.att-pritomna  { background: #19c37d; border-color: #19c37d; color: #fff; }
.att-seg.active.att-omluvena  { background: #f5a524; border-color: #f5a524; color: #3a2600; }
.att-seg.active.att-neomluvena{ background: #f5455c; border-color: #f5455c; color: #fff; }
.att-quick { display: block; text-align: center; font-size: 12px; font-weight: 700; color: var(--brand-magenta);
  padding: 5px; margin-top: -2px; border: 1px dashed rgba(255,45,120,.4); border-radius: 8px; text-decoration: none; }
.att-quick:hover { background: rgba(255,45,120,.07); }

/* docházka — fotková mřížka */
.att-counter { font-size: 13px; color: var(--text-mute, #888); }
.att-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.att-tile { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 10px 6px 8px; cursor: pointer;
  border: 2px solid var(--border, #e5e5e5); border-radius: 14px; background: #fff; text-align: center; transition: border-color .1s, background .1s; -webkit-tap-highlight-color: transparent; }
.att-ava { position: relative; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg,#b06bff,#ff2d78); display: flex; align-items: center; justify-content: center; }
.att-ava img { width: 100%; height: 100%; object-fit: cover; }
.att-ini { color: #fff; font: 800 18px var(--font-display); }
.att-mark { position: absolute; right: -2px; bottom: -2px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #fff; background: #ccc; }
.att-tname { font-size: 12px; font-weight: 700; line-height: 1.15; color: var(--text, #222); }
.att-tlast { font-weight: 500; color: var(--text-mute, #888); }
.att-tile-state { font-size: 11px; font-weight: 700; color: var(--text-mute, #aaa); }
.att-tile.att-pritomna   { border-color: #19c37d; background: rgba(25,195,125,.06); }
.att-tile.att-pritomna   .att-mark { background: #19c37d; }
.att-tile.att-pritomna   .att-tile-state { color: #15935f; }
.att-tile.att-omluvena   { border-color: #f5a524; background: rgba(245,165,36,.07); }
.att-tile.att-omluvena   .att-mark { background: #f5a524; }
.att-tile.att-omluvena   .att-tile-state { color: #b87400; }
.att-tile.att-neomluvena { border-color: #f5455c; background: rgba(245,69,92,.06); }
.att-tile.att-neomluvena .att-mark { background: #f5455c; }
.att-tile.att-neomluvena .att-tile-state { color: #d4324a; }
/* omluvenka od rodiče — výrazně odlišená (přerušovaný rámeček) */
.att-tile.att-byparent { border-style: dashed; border-width: 2.5px; background: rgba(245,165,36,.12); }
.att-tile.att-byparent .att-tile-state { color: #b87400; }

/* barevné akcenty kategorií ve veřejném harmonogramu (/kurzy) */
.sched-item { border-left: 3px solid var(--brand-magenta); padding-left: 10px !important; }
.sched-item.cat-soutezni  { border-left-color: #d633ff; }
.sched-item.cat-hobby     { border-left-color: #4d8df0; }
.sched-item.cat-pripravka { border-left-color: #19c37d; }
.sched-item.cat-kondicni  { border-left-color: #f5a524; }

/* ===== Animace: scroll-reveal (choreografovaný nástup) ===== */
/* .js přidá inline skript v <head> — bez JS se nic neskrývá (progressive enhancement) */
.js .reveal { opacity: 0; transform: translateY(18px);
  transition: opacity .55s ease, transform .6s cubic-bezier(.22,.61,.36,1); }
.js .reveal.in { opacity: 1; transform: none; }

/* jemný shimmer gradientových nadpisů (vypne prefers-reduced-motion níže) */
.grad-text { background-size: 220% auto; animation: gradShimmer 9s ease-in-out infinite; }
@keyframes gradShimmer { 0%,100% { background-position: 0% center; } 50% { background-position: 100% center; } }

/* jemná pulzní záře u hlavního CTA na webu (ne v adminu/zóně) */
body:not(.admin):not(.client) .hero-cta .btn-primary,
body:not(.admin):not(.client) .cta-row .btn-primary.btn-lg { animation: ctaGlow 3.4s ease-in-out infinite; }
@keyframes ctaGlow {
  0%,100% { box-shadow: 0 8px 22px -10px rgba(255,45,120,.5); }
  50%     { box-shadow: 0 10px 30px -8px rgba(255,45,120,.85); }
}

/* Rychlá omluvenka na dashboardu */
.quick-excuse .excuse-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.quick-excuse .excuse-who { font-weight: 700; padding: 0 4px; }
.quick-excuse .excuse-row select,
.quick-excuse .excuse-row input[type="date"] { flex: 0 1 auto; }
.quick-excuse .excuse-row input[type="text"] { flex: 1 1 160px; min-width: 0; }
@media (max-width: 560px) {
  .quick-excuse .excuse-row > * { flex: 1 1 100%; }
  .quick-excuse .excuse-row .btn { flex: 1 1 100%; }
}

/* Síň úspěchů na úvodce */
.achv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.achv-card { background: linear-gradient(135deg, rgba(255,45,120,.12), rgba(214,51,217,.06));
  border: 1px solid rgba(255,45,120,.3); border-radius: 14px; padding: 16px; text-align: center; }
.achv-place { display: block; font: 800 20px var(--font-display); background: var(--brand-gradient-text);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.achv-who { display: block; color: #fff; margin: 4px 0 2px; font-size: 15px; }
.achv-ev { display: block; color: var(--text-soft, #cdb6dd); font-size: 12.5px; }

/* ===================== BLOG ===================== */
.blog-filter { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin:18px 0 26px; }
.blog-filter .chip { border:1px solid var(--border,#3a1f4d); border-radius:100px; padding:7px 15px; font-size:13px; color:var(--text-soft,#d8bce6); text-decoration:none; transition:background .12s,color .12s; }
.blog-filter .chip:hover { color:#fff; background:rgba(255,45,120,.12); }
.blog-filter .chip-on { background:var(--brand-gradient,linear-gradient(135deg,#ff2d78,#d633ff)); color:#fff; border-color:transparent; }
.blog-search { margin-left:auto; }
.blog-search input { padding:8px 14px; border-radius:100px; border:1px solid var(--border,#3a1f4d); background:rgba(255,255,255,.04); color:inherit; font-size:14px; min-width:180px; }

.blog-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
@media(max-width:860px){ .blog-grid{ grid-template-columns:repeat(2,1fr);} }
@media(max-width:560px){ .blog-grid{ grid-template-columns:1fr;} }
.blog-card { display:flex; flex-direction:column; background:var(--card,#241032); border:1px solid var(--border,#3a1f4d); border-radius:16px; overflow:hidden; text-decoration:none; color:inherit; transition:transform .15s, box-shadow .15s, border-color .15s; }
.blog-card:hover { transform:translateY(-3px); box-shadow:0 18px 40px -22px rgba(255,45,120,.55); border-color:rgba(255,45,120,.4); }
.blog-cover { aspect-ratio:16/9; background-size:cover; background-position:center; background-color:#1d0e29; position:relative; }
.blog-cover[data-empty] { background:linear-gradient(135deg,#d633ff,#ff2d78); }
.blog-cover[data-empty]::after { content:"S.araH."; position:absolute; right:14px; bottom:-8px; font:900 60px var(--font-display); letter-spacing:-.04em; color:rgba(255,255,255,.20); line-height:1; }
.blog-badge { position:absolute; top:10px; left:10px; background:rgba(12,5,20,.7); color:#fff; font-size:12px; padding:4px 10px; border-radius:100px; }
.blog-body { padding:16px 18px 18px; display:flex; flex-direction:column; gap:6px; }
.blog-cat { font-family:var(--font-head,sans-serif); font-weight:800; font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--brand-magenta,#ff2d78); }
.blog-body h3 { font-size:18px; margin:2px 0; line-height:1.2; }
.blog-body p { font-size:13.5px; line-height:1.5; margin:0; }
.blog-meta { font-size:12px; color:var(--text-mute,#a98bbf); margin-top:auto; padding-top:6px; }

/* Detail článku */
.blog-article { max-width:760px; }
.blog-back { display:inline-block; margin-bottom:18px; color:var(--text-mute,#a98bbf); text-decoration:none; font-size:14px; }
.blog-back:hover { color:#fff; }
.blog-title { font-family:var(--font-head,sans-serif); font-weight:900; font-size:38px; line-height:1.1; margin:6px 0 14px; }
.blog-author { display:flex; align-items:center; gap:12px; margin:0 0 22px; }
.blog-author img { width:46px; height:46px; border-radius:50%; object-fit:cover; }
.blog-author strong { display:block; }
.blog-author .muted { font-size:13px; }
.blog-hero-img { width:100%; border-radius:16px; margin:0 0 26px; }
.blog-content { font-size:16px; line-height:1.75; color:var(--text-soft,#e6d7f0); }
.blog-content h2 { font-size:24px; margin:30px 0 10px; }
.blog-content h3 { font-size:20px; margin:24px 0 8px; }
.blog-content p { margin:0 0 16px; }
.blog-content a { color:var(--brand-magenta,#ff2d78); }
.blog-content img { max-width:100%; height:auto; border-radius:12px; margin:10px 0; }
.blog-content blockquote { border-left:3px solid var(--brand-magenta,#ff2d78); margin:18px 0; padding:4px 0 4px 18px; color:var(--text-soft,#d8bce6); font-style:italic; }
.blog-content ul, .blog-content ol { margin:0 0 16px 22px; }
.blog-content li { margin:6px 0; }
.embed-yt { position:relative; padding-bottom:56.25%; height:0; margin:18px 0; border-radius:12px; overflow:hidden; }
.embed-yt iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
.embed-sp iframe { width:100%; height:152px; border:0; border-radius:12px; margin:18px 0; }
.embed-link a { color:var(--brand-magenta,#ff2d78); }
.blog-tags { display:flex; flex-wrap:wrap; gap:8px; margin:26px 0 0; }
.blog-tags .chip { border:1px solid var(--border,#3a1f4d); border-radius:100px; padding:5px 12px; font-size:13px; color:var(--text-mute,#a98bbf); text-decoration:none; }
.blog-tags .chip:hover { color:#fff; }

/* ===== Identita: tanečnice jako jemný vodoznak v pozadí (front + admin + zóna) ===== */
/* Jeden asset (assets/img/dancer-mark.png), tónovaný přes filter → o pár odstínů jinak než pozadí.
   body isolation:isolate vytvoří stacking kontext → vodoznak (z-index:-1) je NAD barvou pozadí, ale POD obsahem.
   Ladění intenzity = opacity + brightness níže. Finální verzi loga stačí nahrát pod stejným názvem. */
body { isolation: isolate; }
.dancer-wm {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(46vw, 540px);
  background: url("../img/dancer-mark.png") no-repeat center right / contain;
  pointer-events: none; z-index: -1;
  opacity: .06; filter: grayscale(1) brightness(2.3);   /* tmavý web → o pár odstínů světlejší silueta */
}
body.admin .dancer-wm, body.client .dancer-wm {
  opacity: .05; filter: grayscale(1) brightness(.4);     /* světlý admin/zóna → o pár odstínů tmavší silueta */
}
@media (max-width: 760px) { .dancer-wm { width: 82vw; opacity: .035; } }
@media print { .dancer-wm { display: none; } }
