/* StagePort: světlé stránky, tmavá hlavička / hero / patička, oranžová z loga. Podle návrhu docs/brand/design-navrh.webp. */
/* atribut hidden vždy skryje (třídy s display: flex apod. ho jinak přebijí, např. ikona prázdného košíku) */
[hidden] { display: none !important; }
:root {
    --bg: #f6f5f2;
    --surface: #ffffff;
    --surface-2: #f3f1ed;
    --line: #e9e5de;
    --line-2: #d9d3c9;
    --text: #17130e;
    --text-2: #3d362d;
    --muted: #72695e;
    --accent: #f59f00;
    --orange: #ff8a00;
    --accent-ink: #b85f00;
    --accent-soft: #fff4e2;
    --grad: linear-gradient(135deg, #ffc61a 0%, #ffa000 50%, #ff7a00 100%);
    --dark: #0e0c0a;
    --dark-2: #1b1814;
    --dark-line: #2c2721;
    --on-dark: #f3eee7;
    --on-dark-muted: #b3aa9e;
    --ok: #16a34a;
    --warn: #d97706;
    --danger: #dc2626;
    --radius: 14px;
    --radius-sm: 9px;
    --shadow-sm: 0 1px 2px rgba(23, 19, 14, .06);
    --shadow: 0 10px 30px rgba(23, 19, 14, .12);
    --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-head: 'Montserrat', var(--font);
    --wrap: 1240px;
    --head-h: 113px;   /* výška lepivé hlavičky (logo + menu), na mobilu jen horní řádek */
    color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 130px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 14px/1.55 var(--font); min-height: 100vh; display: flex; flex-direction: column; overflow-x: clip; }
main { flex: 1; position: relative; isolation: isolate; }

/* Pozadí všech stránek: stage v mlze (docs/brand/stage-bg-original.webp, bílé okraje) přes barvu stránky, multiply schová bílou,
   dole se ztrácí. Nahoře v <main>; u stránek s tmavou hlavičkou (hero, katalogy, detail akce, profil, produkce, článek)
   hned pod ní (první prvek za hlavičkou, přes celou šířku okna). */
main::before, :is(.hero, .about-hero, .bands-head, .ehead, .phead, .albumhead, .prodhead, .article-cover, .features-wrap) + *::before {
    content: ''; position: absolute; top: 0; height: clamp(240px, 33vw, 660px); z-index: -1; pointer-events: none;
    background: url('../img/brand/stage-bg.webp?v=2') center top / max(100%, 1100px) auto no-repeat; opacity: .55; mix-blend-mode: multiply;
    -webkit-mask-image: linear-gradient(#000 45%, transparent); mask-image: linear-gradient(#000 45%, transparent);
}
main::before { left: 0; right: 0; }
:is(.hero, .about-hero, .bands-head, .ehead, .phead, .albumhead, .prodhead, .article-cover, .features-wrap) + * { position: relative; isolation: isolate; }
:is(.hero, .about-hero, .bands-head, .ehead, .phead, .albumhead, .prodhead, .article-cover, .features-wrap) + *::before { left: calc(50% - 50vw); width: 100vw; }
/* homepage: bílý pruh (.features-wrap) hned pod hero, stage až pod ním */
.features-wrap::before { content: none !important; }
/* s tmavou hlavičkou nahoře je stage v main schovaná, kreslí se až pod hlavičkou */
main:has(> :first-child:is(.hero, .about-hero, .bands-head, .ehead, .phead, .prodhead, .article-cover, .auth))::before { display: none; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { color: var(--orange); }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(26px, 3.72vw, 39px); font-weight: 900; }
h2 { font-size: 19.5px; font-weight: 800; }
h3 { font-size: 15px; font-weight: 800; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.mt { margin-top: 24px; }
.nowrap { white-space: nowrap; }
.spacer { flex: 1; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 820px; }
.section { padding-top: 30px; padding-bottom: 30px; }
.stack { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
.ico { flex-shrink: 0; vertical-align: -3px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 700; color: var(--accent-ink); margin-bottom: 10px; display: inline-flex; gap: 8px; align-items: center; }
.lead { font-size: 16.5px; color: var(--text-2); max-width: 680px; }

/* ── Tlačítka a formuláře ─────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid transparent;
    border-radius: 10px; padding: 9px 18px; font: 600 13px/1.2 var(--font); cursor: pointer; color: var(--text);
    background: var(--surface-2); transition: .15s; white-space: nowrap; text-decoration: none;
}
.btn:hover { color: var(--text); filter: brightness(.97); }
.btn-primary { background: var(--grad) border-box; color: #1d1204; box-shadow: 0 3px 12px rgba(255, 138, 0, .25); }
.btn-primary:hover { color: #1d1204; filter: brightness(1.05); box-shadow: 0 6px 18px rgba(255, 138, 0, .35); }
.btn-ghost { background: var(--surface); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--accent); background: var(--accent-soft); }
.btn-outline { background: transparent; border-color: var(--accent); color: var(--accent-ink); }
.btn-outline:hover { background: var(--accent-soft); color: var(--accent-ink); }
.btn-outline.is-on { background: var(--accent-soft); }
.btn-white { background: transparent; border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-white:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.btn-danger { background: #fef2f2; border-color: #fecaca; color: var(--danger); }
.btn-lg { padding: 13px 26px; font-size: 15px; }
.btn-sm { padding: 6px 12px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-icon { padding: 8px; }
.btn-icon.btn-ghost { border-color: transparent; background: transparent; }
.btn-icon.btn-ghost:hover { border-color: var(--line-2); background: var(--surface); }
.flip .ico { transform: rotate(180deg); }
input, select, textarea {
    width: 100%; background: var(--surface); border: 1px solid var(--line-2); color: var(--text); border-radius: var(--radius-sm);
    padding: 10px 12px; font: 14px/1.4 var(--font); transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(245, 159, 0, .18); }
input[type=file] { padding: 8px; font-size: 13px; }
input[type=checkbox], input[type=radio] { width: auto; accent-color: var(--orange); }
textarea { resize: vertical; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 14px; }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; margin: 4px 16px 10px 0; }
.err { color: var(--danger); font-weight: 500; font-size: 13px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.form-bar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.inline-form { display: flex; gap: 8px; margin-top: 10px; }
.inline-form input { padding: 7px 11px; font-size: 13px; }
.inline { display: inline; }
.upload-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.upload-row > input, .upload-row > select { flex: 1 1 160px; width: auto; }
.link { color: var(--accent-ink); cursor: pointer; text-decoration: underline; }

/* ── Hlavička (tmavá) ─────────────────────────────────────────────── */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(14, 12, 10, .96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--dark-line); color: var(--on-dark); }
.topbar-in { display: flex; align-items: center; gap: 22px; height: 66px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 44px; width: auto; }
/* Hlavička ve dvou řádcích: nahoře logo, hledání a účet, pod tím hlavní menu (texty se nezalamují, při nedostatku místa se řádek posouvá) */
.navbar { border-top: 1px solid var(--dark-line); }
.mainnav { display: flex; gap: 4px; align-items: center; height: 46px; overflow-x: auto; scrollbar-width: none; }
.mainnav::-webkit-scrollbar { display: none; }
.mainnav a { color: #d7d0c6; padding: 8px 12px; border-radius: 8px; font-weight: 600; font-size: 13px; display: flex; gap: 7px; align-items: center; white-space: nowrap; flex-shrink: 0; }
.mainnav a .ico { display: none; }
.mainnav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.mainnav a.is-active { color: var(--accent); box-shadow: inset 0 -2px 0 var(--orange); border-radius: 8px 8px 0 0; }
/* „Další“: položky, které se nevejdou (app.js), v rozbalovacím seznamu na hover / klik */
.mainnav { overflow: visible; }
.navmore { position: relative; flex-shrink: 0; }
.navmore[hidden] { display: none; }
.navmore-btn { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border: 0; border-radius: 8px; background: none; color: #d7d0c6; font: 600 13px var(--font); cursor: pointer; white-space: nowrap; }
.navmore-btn .caret { font-size: 10px; opacity: .7; }
.navmore:hover .navmore-btn, .navmore.is-open .navmore-btn { color: #fff; background: rgba(255, 255, 255, .06); }
.navmore.is-active .navmore-btn { color: var(--accent); box-shadow: inset 0 -2px 0 var(--orange); border-radius: 8px 8px 0 0; }
.navmore-list { display: none; position: absolute; top: 100%; right: 0; z-index: 60; min-width: 230px; padding: 6px; margin-top: 4px; border-radius: 12px; background: var(--dark); border: 1px solid var(--dark-line); box-shadow: 0 16px 40px rgba(0, 0, 0, .45); flex-direction: column; }
.navmore-list::before { content: ''; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.navmore:hover .navmore-list, .navmore:focus-within .navmore-list, .navmore.is-open .navmore-list { display: flex; }
.navmore-list a { padding: 9px 12px; border-radius: 8px; }
.navmore-list a.is-active { box-shadow: none; background: rgba(255, 138, 0, .1); }
.topsearch { flex: 1; max-width: 520px; position: relative; display: flex; align-items: center; margin-left: auto; }
.topsearch .ico { position: absolute; left: 12px; color: #8f877c; pointer-events: none; }
.topsearch input { background: var(--dark-2); border-color: var(--dark-line); color: var(--on-dark); padding: 8px 12px 8px 36px; font-size: 13px; border-radius: 10px; }
.topsearch input::placeholder { color: #8f877c; }
.topbar-right { display: flex; align-items: center; gap: 8px; }
.toplink { color: #e8e1d6; font-weight: 600; font-size: 13px; padding: 8px 10px; }
.toplink:hover { color: #fff; }
.iconbtn { position: relative; display: inline-flex; padding: 8px; border-radius: 50%; color: #d7d0c6; background: none; border: 0; cursor: pointer; }
.iconbtn:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.dot { position: absolute; top: 0; right: -2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--orange); color: #fff; font: 700 11px/18px var(--font); text-align: center; }
.dot-inline { position: static; display: inline-block; margin-left: 4px; }
.navtoggle { display: none; }
.usermenu { position: relative; }
.usermenu summary { list-style: none; cursor: pointer; }
.usermenu summary::-webkit-details-marker { display: none; }
.usermenu-pop {
    position: absolute; right: 0; top: calc(100% + 10px); width: 260px; background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; display: flex; flex-direction: column; color: var(--text);
}
.usermenu-head { padding: 8px 10px 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; display: flex; flex-direction: column; font-size: 13px; }
.usermenu-pop a { color: var(--text); padding: 8px 10px; border-radius: 8px; display: flex; gap: 9px; align-items: center; font-size: 13px; }
.usermenu-pop a.sub { padding-left: 22px; color: var(--muted); font-size: 13px; }
.usermenu-pop a:hover { background: var(--surface-2); color: var(--accent-ink); }

/* Mobilní spodní lišta */
.bottomnav { display: none; }

.flash { margin-top: 16px; display: flex; gap: 10px; align-items: center; padding: 12px 18px; border-radius: var(--radius-sm); }
.flash-success { background: #ecfdf3; border: 1px solid #bbf7d0; color: #14532d; }
.flash-error { background: #fef2f2; border: 1px solid #fecaca; color: #7f1d1d; }
.alert-error { background: #fef2f2; border: 1px solid #fecaca; color: #7f1d1d; padding: 10px 14px; border-radius: 8px; margin-bottom: 14px; }

/* ── Komponenty ───────────────────────────────────────────────────── */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; min-width: 0; box-shadow: var(--shadow-sm); }
.card > h2:first-child, .card > h1:first-child, .card > h3:first-child { margin-top: 0; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.card-head h2, .card-head h3 { margin: 0; }
.link-arrow { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; font-size: 13px; color: var(--accent-ink); }
.badge { display: inline-flex; gap: 5px; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--surface-2); border: 1px solid var(--line); color: var(--text-2); white-space: nowrap; }
.badge-artist { color: var(--accent-ink); border-color: #fcd9a8; background: var(--accent-soft); }
.badge-service { color: #9a3412; border-color: #fed7aa; background: #fff7ed; }
.badge-venue { color: #5b21b6; border-color: #ddd6fe; background: #f5f3ff; }
.badge-confirmed { color: #166534; border-color: #bbf7d0; background: #f0fdf4; }
.badge-invited { color: #92400e; border-color: #fde68a; background: #fffbeb; }
.badge-declined, .badge-danger { color: #991b1b; border-color: #fecaca; background: #fef2f2; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; gap: 5px; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: 12px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text-2); }
.chip-link { color: var(--accent-ink); }
.chip-link:hover { border-color: var(--accent); }
.verified { color: #1d9bf0; display: inline-flex; vertical-align: middle; }
.empty { padding: 40px 24px; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); border-radius: var(--radius); background: var(--surface); }
.avatar { width: var(--s); height: var(--s); border-radius: 50%; flex-shrink: 0; display: inline-flex; overflow: hidden; box-shadow: 0 0 0 2px var(--surface), 0 0 0 3px var(--line); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-initials { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font: 800 calc(var(--s) * .38)/1 var(--font-head); color: #1d1204; background: var(--grad); }
.avatar-initials[data-hue="1"] { background: linear-gradient(135deg, #ffb347, #f0611d); }
.avatar-initials[data-hue="2"] { background: linear-gradient(135deg, #2b2b2b, #0e0c0a); color: #ffb000; }
.avatar-initials[data-hue="3"] { background: linear-gradient(135deg, #ffcf6b, #e2531f); }
.avatar-initials[data-hue="4"] { background: linear-gradient(135deg, #3a2a14, #120c05); color: #ffc61a; }
.avatar-initials[data-hue="5"] { background: linear-gradient(135deg, #ffe08a, #ff9f1a); }
.segmented { display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 3px; }
.segmented a { padding: 6px 14px; border-radius: 8px; color: var(--muted); font-weight: 600; font-size: 13px; display: inline-flex; }
.segmented a.is-active { background: var(--accent-soft); color: var(--accent-ink); }
.pager { display: flex; gap: 16px; align-items: center; justify-content: center; margin-top: 28px; }
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th { text-align: left; color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.table th, .table td { padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; }
.stat b { font: 900 28px/1 var(--font-head); color: var(--accent-ink); }
.stat span { color: var(--muted); font-size: 13px; margin-top: 6px; }
.datebox { width: 56px; flex-shrink: 0; text-align: center; border-radius: 10px; background: var(--surface); border: 1px solid var(--line-2); padding: 6px 0; line-height: 1.05; }
.datebox b { display: block; font: 900 20.5px/1 var(--font-head); color: var(--text); }
.datebox small { text-transform: uppercase; font-size: 11px; color: var(--accent-ink); font-weight: 700; }

/* ── Úvod ─────────────────────────────────────────────────────────── */
/* Hero: fotka docs/brand/hero-original.webp (build-assets.php). ?v= při výměně fotky zvednout, obrázky mají 30denní cache. */
.hero { position: relative; overflow: hidden; background: var(--dark) url('../img/brand/hero.webp?v=3') 75% 35% / cover no-repeat; color: #fff; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 8, 6, .88) 0%, rgba(10, 8, 6, .62) 32%, rgba(10, 8, 6, .18) 58%, rgba(10, 8, 6, 0) 100%), linear-gradient(0deg, rgba(10, 8, 6, .55) 0%, rgba(10, 8, 6, 0) 35%); }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 620px) 1fr; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 80px; }
.hero-logo { width: 260px; height: auto; margin-bottom: 26px; filter: drop-shadow(0 8px 30px rgba(0, 0, 0, .5)); }
.hero h1 { font-size: clamp(31.5px, 4.65vw, 52px); color: #fff; }
.hero .lead { color: #e9e2d8; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 0; }
.hero-stats { display: flex; gap: 28px; flex-wrap: wrap; color: #d6cec3; font-size: 13px; margin-top: 34px; }
.hero-stats b { display: block; font: 900 24px/1 var(--font-head); color: #fff; }
.features-wrap { background: var(--surface); border-bottom: 1px solid var(--line); }
.features { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; padding-top: 34px; padding-bottom: 34px; }
.feature { text-align: center; padding: 10px; color: var(--text); border-radius: var(--radius); }
.feature:hover { background: var(--surface-2); color: var(--text); }
.feature h3 { margin: 10px 0 6px; }
.feature p { color: var(--muted); margin: 0; font-size: 13px; }
.feature-ico { color: var(--orange); display: inline-flex; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-head h2 { margin: 0; font-size: 24px; }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 36px; border-radius: 18px; background: var(--dark); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band p { margin: 0; color: #d6cec3; }
.cta-inline { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.cta-inline p { margin: 0; }

/* Plakáty akcí */
.poster-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.poster { color: var(--text); display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.poster:hover { color: var(--accent-ink); }
.poster-img { position: relative; aspect-ratio: 5 / 7; border-radius: var(--radius-sm); background: var(--dark) center/cover; margin-bottom: 8px; transition: transform .2s; box-shadow: var(--shadow-sm); }
.poster:hover .poster-img { transform: translateY(-3px); box-shadow: var(--shadow); }
.poster-date { position: absolute; left: 8px; top: 8px; background: #fff; border-radius: 8px; padding: 5px 9px; font-size: 11px; text-transform: uppercase; text-align: center; line-height: 1.1; color: var(--accent-ink); font-weight: 700; }
.poster-date b { display: block; font: 900 18.5px/1 var(--font-head); color: var(--text); }

/* Karty profilů */
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--text); display: flex; flex-direction: column; transition: .2s; box-shadow: var(--shadow-sm); }
.pcard:hover { color: var(--text); border-color: #fcd9a8; transform: translateY(-3px); box-shadow: var(--shadow); }
.pcard-cover { height: 100px; background: var(--dark) center/cover; }
.pcard-body { padding: 0 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pcard-body .avatar { margin-top: -32px; }
.pcard-title { display: flex; flex-direction: column; }
.pcard-title strong { font: 800 15px/1.25 var(--font-head); }
.pcard-title .muted { font-size: 13px; }
.pcard-tag { font-size: 13px; color: var(--text-2); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kind-strip { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.kind-pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text-2); font-size: 13px; font-weight: 600; }
.kind-pill small { color: var(--muted); font-weight: 500; }
.kind-pill:hover, .kind-pill.is-active { border-color: var(--accent); color: var(--accent-ink); background: var(--accent-soft); }

/* Stránky s hlavičkou */
.pagehead { background: transparent; border-bottom: 1px solid var(--line); padding: 30px 0 6px; }   /* průhledná: za ní stage (main::before) */
.pagehead h1 { margin-bottom: 8px; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 18px; }
.filters > input, .filters > select { width: auto; flex: 0 1 180px; }
.search { flex: 1 1 280px; position: relative; display: flex; align-items: center; }
.search .ico { position: absolute; left: 12px; color: var(--muted); pointer-events: none; }
.search input { padding-left: 38px; }

/* Katalog: filtry vlevo, výpis vpravo */
.catalog { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; align-items: start; }
.facets { position: sticky; top: calc(var(--head-h) + 20px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 18px; max-height: calc(100vh - var(--head-h) - 44px); overflow-y: auto; }
.facet h3 { font-size: 13px; margin-bottom: 8px; }
.facet label { display: flex; gap: 9px; align-items: center; font-size: 13px; padding: 3px 0; cursor: pointer; color: var(--text-2); }
.facet label small { margin-left: auto; color: var(--muted); }
.catalog-top { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.catalog-top .search { flex: 1 1 300px; }
.catalog-top .sort { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); white-space: nowrap; }
.catalog-top .sort select { width: auto; padding: 8px 10px; }
.plist-rows { display: flex; flex-direction: column; gap: 10px; }
.prow { display: flex; align-items: center; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow-sm); }
.prow:hover { border-color: #fcd9a8; }
.prow-img { width: 76px; height: 76px; border-radius: 10px; background: var(--dark) center/cover; flex-shrink: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.prow-img .avatar { box-shadow: none; }
.prow-img img { width: 100%; height: 100%; object-fit: cover; }
.prow-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.prow-main a { color: var(--text); }
.prow-main strong { font: 800 15px/1.25 var(--font-head); }
.prow-main .muted { font-size: 13px; }
.prow-tag { font-size: 13px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Akce (řádky) */
.elist { display: flex; flex-direction: column; gap: 8px; }
.erow { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: var(--radius-sm); color: var(--text); border: 1px solid transparent; }
.erow:hover { background: var(--surface-2); color: var(--text); }
.erow.is-cancelled strong { text-decoration: line-through; color: var(--muted); }
.erow-date { width: 52px; flex-shrink: 0; text-align: center; border-radius: 10px; background: var(--surface); border: 1px solid var(--line-2); padding: 6px 0; line-height: 1.05; }
.erow-date b { display: block; font: 900 20.5px/1 var(--font-head); color: var(--text); }
.erow-date small { text-transform: uppercase; font-size: 11px; color: var(--accent-ink); font-weight: 700; }
.erow-poster { width: 54px; height: 72px; object-fit: cover; border-radius: 6px; }
.erow-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.erow-main strong { font-size: 14px; }
.erow-main .muted { font-size: 13px; display: flex; gap: 5px; align-items: center; flex-wrap: wrap; }
.erow-lineup { font-size: 13px; color: var(--accent-ink); }
.elist-big .erow { background: var(--surface); border-color: var(--line); padding: 12px 14px; box-shadow: var(--shadow-sm); }
.gig { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.gig:last-child { border-bottom: 0; }
.gig-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.gig-main a { color: var(--text); }
.gig-main .muted { font-size: 13px; }
.mini-event, .prodrow { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 10px; color: var(--text); }
.mini-event:hover, .prodrow:hover { background: var(--surface-2); color: var(--text); }
.mini-event > span:last-child, .prodrow-main { display: flex; flex-direction: column; min-width: 0; flex: 1; }

/* Kalendář: mřížka */
.cal-head { display: flex; align-items: center; gap: 12px; }
.cal-head h1 { margin: 0; min-width: 260px; text-align: center; }
.cal-new { margin-left: auto; }
.calgrid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.calgrid-h { text-align: center; color: var(--muted); font-size: 12px; text-transform: uppercase; font-weight: 700; padding: 6px 0; }
.calgrid-d { min-height: 118px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 6px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.calgrid-d.is-out { opacity: .45; }
.calgrid-d.is-today { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.calgrid-n { font-weight: 700; font-size: 13px; color: var(--muted); }
.is-today .calgrid-n { color: var(--accent-ink); }
.calgrid-e { font-size: 12px; padding: 3px 6px; border-radius: 5px; background: var(--accent-soft); color: var(--accent-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.calgrid-e:hover { background: #ffe3b3; }

/* Detail akce */
.ehead { position: relative; overflow: hidden; background: var(--dark); color: #fff; }
.ehead-bg { position: absolute; inset: -40px; background: center/cover; filter: blur(40px) brightness(.4) saturate(1.3); transform: scale(1.1); }
.ehead-in { position: relative; display: flex; gap: 36px; align-items: center; padding-top: 44px; padding-bottom: 44px; }
.ehead h1 { color: #fff; }
.ehead a { color: #ffd27a; }
.ehead .muted { color: var(--on-dark-muted); }
.ehead-poster { width: 240px; border-radius: var(--radius); box-shadow: 0 20px 60px rgba(0, 0, 0, .6); flex-shrink: 0; }
.ehead-meta { display: flex; gap: 8px; align-items: center; font-size: 16px; margin: 0 0 6px; flex-wrap: wrap; color: #efe8de; }
.ehead-meta .ico { color: var(--accent); }
.ehead .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.ehead .btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.lineup { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.lineup-item { display: flex; align-items: center; gap: 16px; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); }
.lineup-item.is-doors { background: transparent; color: var(--muted); }
.lineup-time { font: 800 16.5px/1 var(--font-head); color: var(--accent-ink); width: 58px; }
.lineup-who { display: flex; align-items: center; gap: 12px; color: var(--text); flex: 1; }
.lineup-who > span { display: flex; flex-direction: column; }

/* Profil */
.phead { background: var(--surface); border-bottom: 1px solid var(--line); }
.phead-cover { height: 300px; background: var(--dark) center/cover; position: relative; overflow: hidden; }
/* úvodní fotka max. 1400 px (obsah + okraje), na širších obrazovkách po stranách přechod do tmavé */
.phead-cover-img { position: absolute; inset: 0; margin: 0 auto; max-width: 1400px; background: center/cover no-repeat; }
@media (min-width: 1401px) { .phead-cover-img { -webkit-mask-image: linear-gradient(90deg, transparent, #000 160px, #000 calc(100% - 160px), transparent); mask-image: linear-gradient(90deg, transparent, #000 160px, #000 calc(100% - 160px), transparent); } }
.phead-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .35)); }
.phead-in { display: flex; gap: 22px; align-items: flex-start; margin-top: -70px; position: relative; }
.phead-in > .avatar { box-shadow: 0 0 0 5px var(--surface), 0 8px 30px rgba(0, 0, 0, .25); }
.phead-title { flex: 1; min-width: 0; padding-top: 84px; }
.phead-title h1 { margin: 0 0 2px; font-size: clamp(24px, 3.16vw, 33.5px); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.phead-title p { margin: 0; }
.phead-sub { color: var(--text-2); font-weight: 500; }
.phead-stats { color: var(--muted); font-size: 13px; margin-top: 2px !important; }
.phead-actions { display: flex; gap: 8px; padding-top: 92px; flex-wrap: wrap; align-items: center; }
.phead-actions form { display: contents; }
.tabs { display: flex; gap: 4px; overflow-x: auto; margin-top: 18px; scrollbar-width: none; }
.tabs a { padding: 12px 14px; color: var(--muted); font-weight: 600; border-bottom: 3px solid transparent; white-space: nowrap; display: inline-flex; gap: 7px; align-items: center; font-size: 13px; }
.tabs a:hover { color: var(--text); }
.tabs a.is-active { color: var(--text); border-color: var(--orange); }
.layout-2 { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 22px; align-items: start; }
.layout-2-eq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.layout-feed { display: grid; grid-template-columns: 250px minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.layout-feed > aside { position: sticky; top: calc(var(--head-h) + 20px); }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0 0 14px; font-size: 13px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.infolist { list-style: none; padding: 0; margin: 14px 0; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--text-2); }
.infolist li { display: flex; gap: 10px; align-items: center; }
.infolist .ico { color: var(--muted); }
.socials { display: flex; gap: 10px; }
.social { width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: #444; }
.social:hover { color: #fff; filter: brightness(1.1); }
.social-facebook { background: #1877f2; }
.social-instagram { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); }
.social-youtube { background: #ff0000; }
.social-spotify { background: #1db954; }
.social-web { background: var(--dark); }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { display: flex; gap: 6px; align-items: center; }
.ticks .ico { color: var(--orange); }
.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 12px; }
.service { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 14px 8px; border: 1px solid var(--line); border-radius: 12px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.service .ico { color: var(--text); }
.clamp { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.links { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.people, .plist { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-direction: column; gap: 10px; }
.people li, .plist li a { display: flex; gap: 10px; align-items: center; }
.people li > span, .plist li a > span { display: flex; flex-direction: column; }
.plist li a { color: var(--text); padding: 4px; border-radius: 8px; }
.plist li a:hover { background: var(--surface-2); }
.people-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.person { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.thumbs img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; width: 100%; }
.gallery { columns: 3 260px; column-gap: 12px; margin-bottom: 30px; }
.gallery a { display: block; margin-bottom: 12px; break-inside: avoid; border-radius: 10px; overflow: hidden; }
.gallery img { width: 100%; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.03); }
.h-album { margin-top: 10px; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; margin-bottom: 10px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-facade { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer; background: #000 center / cover no-repeat; }
.video-facade .svc-play { position: absolute; inset: 0; margin: auto; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #1d1204; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); transition: transform .15s; }
.video-facade:hover .svc-play { transform: scale(1.08); }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 18px; margin-top: 18px; }
.merch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.merch { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow-sm); }
.merch.is-out { opacity: .55; }
.merch-img { aspect-ratio: 1; border-radius: 10px; background: var(--surface-2) center/cover; display: flex; align-items: center; justify-content: center; color: var(--muted); margin-bottom: 6px; }
.merch-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 8px; }
.merch-foot b { font: 800 16.5px/1 var(--font-head); color: var(--text); }
.prose { line-height: 1.7; }
.prose h2, .prose h3, .prose h4 { margin: 1.4em 0 .5em; }
.prose ul, .prose ol { padding-left: 22px; }
.prose blockquote { margin: 1em 0; padding: 12px 18px; border-left: 3px solid var(--orange); background: var(--accent-soft); border-radius: 0 8px 8px 0; font-style: italic; }
.prose > :last-child { margin-bottom: 0; }
.prose-lg { font-size: 16px; }

/* Příspěvky */
.post { display: flex; flex-direction: column; gap: 10px; }
.post + .post { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 16px; }
.post-head { display: flex; gap: 10px; align-items: center; }
.post-head > span { display: flex; flex-direction: column; flex: 1; }
.post-head a { color: var(--text); }
.post-img { border-radius: 10px; max-height: 520px; width: 100%; object-fit: cover; }
.post-body p:last-child { margin: 0; }
.composer { display: flex; flex-direction: column; gap: 10px; }
.composer-top { display: flex; gap: 10px; align-items: center; }
.composer-top select { width: auto; }
.composer-bar { display: flex; justify-content: space-between; align-items: center; }
.me-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }

/* Dokumenty */
.doc { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 10px; }
.doc:hover { background: var(--surface-2); }
.doc-ext { width: 40px; height: 46px; border-radius: 6px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font: 800 11px/1 var(--font); color: #1d1204; background: var(--grad); }
.doc-main { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.doc-main a { color: var(--text); }
.doc-main .muted { font-size: 12px; }
.doc-edit summary { list-style: none; cursor: pointer; }
.doc-edit summary::-webkit-details-marker { display: none; }
.doc-edit[open] { background: var(--surface-2); border-radius: 10px; padding-bottom: 12px; }
.doc-edit form { padding: 0 12px; }
.crewdocs { padding: 10px 0; border-top: 1px solid var(--line); }

/* Produkce */
.prodhead { background: var(--dark); color: #fff; padding-top: 28px; }
.prodhead h1 { color: #fff; margin-bottom: 6px; }
.prodhead .muted { color: var(--on-dark-muted); }
.prodhead .eyebrow { color: var(--accent); }
.prodhead .tabs a { color: var(--on-dark-muted); }
.prodhead .tabs a:hover { color: #fff; }
.prodhead .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.prodhead-in { display: flex; justify-content: space-between; gap: 20px; align-items: flex-end; flex-wrap: wrap; }
.prodhead-actions { display: flex; gap: 8px; }
.layout-prod { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 22px; align-items: start; }
.invite { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px 18px; border-radius: var(--radius); background: #fffbeb; border: 1px solid #fde68a; margin-top: 16px; }
.invite form { display: flex; gap: 8px; }
.sched { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.sched-row { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); border-left: 4px solid var(--line-2); }
.sched-row.kind-show { border-left-color: var(--orange); }
.sched-row.kind-soundcheck { border-left-color: #3b82f6; }
.sched-row.kind-changeover { border-left-color: #8b5cf6; }
.sched-row.kind-doors { border-left-color: var(--ok); }
.sched-row.kind-load { border-left-color: #ec4899; }
.sched-row summary { display: flex; align-items: center; gap: 14px; padding: 10px 14px; cursor: pointer; list-style: none; }
.sched-row summary::-webkit-details-marker { display: none; }
.sched-time { font: 800 16px/1 var(--font-head); width: 64px; flex-shrink: 0; }
.sched-time small { display: block; font: 500 12px/1.4 var(--font); color: var(--muted); }
.sched-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.sched-state { color: var(--muted); }
.sched-row.is-ok .sched-state { color: var(--ok); }
.pill-warn { display: inline-flex; gap: 4px; align-items: center; font-size: 12px; font-weight: 700; color: #92400e; background: #fef3c7; border-radius: 999px; padding: 2px 8px; }
.sched-detail { padding: 4px 14px 14px; border-top: 1px solid var(--line); }
.sched-actions { display: flex; gap: 8px; margin-top: 10px; }
.comment { display: flex; gap: 10px; padding: 10px 0; align-items: flex-start; }
.comment + .comment { border-top: 1px dashed var(--line); }
.comment-main { flex: 1; min-width: 0; }
.comment-main p { margin: 2px 0; }
.comment.is-resolved { opacity: .55; }
.crew { display: flex; flex-direction: column; gap: 6px; }
.crew-row { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 10px; }
.crew-row:hover { background: var(--surface-2); }
.crew-row.status-declined { opacity: .5; }
.crew-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.crew-main a { color: var(--text); }
.crew-add { display: grid; grid-template-columns: 2fr 1fr 1.4fr auto; gap: 8px; margin-top: 14px; }

/* Našeptávač */
.suggest { position: relative; }
.suggest-list { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 20; background: var(--surface); border: 1px solid var(--line-2); border-radius: 10px; box-shadow: var(--shadow); overflow: hidden; display: none; }
.suggest-list.is-open { display: block; }
.suggest-item { display: flex; gap: 10px; align-items: center; width: 100%; padding: 8px 12px; background: none; border: 0; color: var(--text); text-align: left; cursor: pointer; font: 13px var(--font); }
.suggest-item:hover, .suggest-item.is-active { background: var(--accent-soft); }
.suggest-item img, .suggest-item .si-ph { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; background: var(--grad); flex-shrink: 0; }
.chip-x { background: none; border: 0; color: inherit; cursor: pointer; padding: 0 0 0 4px; font-size: 13px; }

/* Zprávy */
.inbox { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 18px; height: calc(100vh - 130px); min-height: 520px; }
.inbox-list { overflow-y: auto; padding: 14px; }
.conv { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 10px; color: var(--text); }
.conv:hover { background: var(--surface-2); color: var(--text); }
.conv.is-active { background: var(--accent-soft); }
.conv.is-unread strong { color: var(--text); font-weight: 800; }
.conv.is-unread .conv-time::before { content: '●'; color: var(--orange); margin-right: 4px; }
.conv-ico { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--surface-2); color: var(--accent-ink); }
.conv-production { background: var(--accent-soft); }
.conv-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.conv-main strong, .conv-main .muted { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.conv-time { align-self: flex-start; white-space: nowrap; }
.chat { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.chat > .card-head { padding: 16px 18px 0; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.chat-head > div { flex: 1; min-width: 0; }
.chat-head h2 { margin: 0; font-size: 16.5px; }
.chat-head .muted { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-menu { position: relative; }
.chat-menu summary { list-style: none; }
.chat-menu summary::-webkit-details-marker { display: none; }
.chat-menu-pop { position: absolute; right: 0; top: 100%; z-index: 30; width: 300px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.chat-files { padding: 8px 18px; border-bottom: 1px solid var(--line); font-size: 13px; }
.chat-files summary { cursor: pointer; color: var(--muted); }
.chat-empty { margin: auto; border: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.thread { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.thread-msgs { flex: 1; overflow-y: auto; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; background: #faf9f7; }
.chat-prod { position: sticky; top: calc(var(--head-h) + 18px); height: calc(100vh - var(--head-h) - 44px); min-height: 480px; }
.msg { display: flex; gap: 8px; align-items: flex-end; max-width: 85%; }
.msg.is-mine { align-self: flex-end; flex-direction: row-reverse; }
.msg-bubble { background: var(--surface); border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; padding: 8px 12px; min-width: 0; box-shadow: var(--shadow-sm); }
.msg.is-mine .msg-bubble { background: #fff1d6; border-color: #fbd38d; border-radius: 14px 14px 4px 14px; }
.msg-author { display: block; font-size: 12px; font-weight: 700; color: var(--accent-ink); margin-bottom: 2px; }
.msg-body { overflow-wrap: anywhere; }
.msg-body p { margin: 0 0 .4em; }
.msg-body p:last-child { margin: 0; }
.msg-time { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; text-align: right; }
.msg-file { display: flex; gap: 8px; align-items: center; padding: 8px 10px; margin-top: 6px; border-radius: 8px; background: rgba(0, 0, 0, .04); color: var(--text); font-size: 13px; }
.msg-file span { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.msg-file small { color: var(--muted); }
.msg-sys { align-self: center; text-align: center; font-size: 12px; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; max-width: 92%; }
.thread-form { display: flex; gap: 8px; align-items: flex-end; padding: 12px 14px; border-top: 1px solid var(--line); flex-wrap: wrap; background: var(--surface); }
.thread-form textarea { flex: 1; min-height: 42px; max-height: 160px; resize: none; border-radius: 20px; padding: 10px 16px; width: auto; }
.thread-file { width: 100%; order: 5; }
.thread-file:empty { display: none; }
/* Odpověď na zprávu: tlačítko u bubliny (při najetí), citace v bublině, lišta nad polem */
.msg-reply { align-self: center; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; border: 0; background: transparent; color: var(--muted); cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; transition: .15s; }
.msg:hover .msg-reply, .msg-reply:focus-visible { opacity: 1; }
.msg-reply:hover { background: var(--surface-2); color: var(--accent-ink); }
@media (hover: none) { .msg-reply { opacity: .6; } }
.msg-quote { margin: 2px 0 6px; padding: 4px 9px; border-left: 3px solid var(--accent); border-radius: 4px; background: rgba(0, 0, 0, .04); font-size: 12px; color: var(--text-2); overflow-wrap: anywhere; }
.msg-quote strong { color: var(--accent-ink); }
.thread-reply { order: -1; width: 100%; display: flex; gap: 8px; align-items: center; justify-content: space-between; padding: 5px 6px 5px 12px; border-left: 3px solid var(--accent); border-radius: 6px; background: var(--accent-soft); font-size: 13px; }
.thread-reply > span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thread-reply[hidden] { display: none; }

/* Správa */
.manage { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; align-items: start; }
/* nová stránka nemá boční menu: formulář na střed v rozumné šířce */
.manage:not(:has(> .manage-nav)) { grid-template-columns: minmax(0, 860px); justify-content: center; }
.manage-nav { position: sticky; top: calc(var(--head-h) + 20px); display: flex; flex-direction: column; gap: 2px; }
.manage-nav > a { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; color: var(--text-2); font-weight: 600; font-size: 13px; }
.manage-nav > a:hover { background: var(--surface); color: var(--text); }
.manage-nav > a.is-active { background: var(--accent-soft); color: var(--accent-ink); }
.manage-nav .manage-who { margin-bottom: 10px; background: var(--surface); border: 1px solid var(--line); }
.manage-who > span { display: flex; flex-direction: column; }
.manage-main { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.kind-picker { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.kind-opt input { position: absolute; opacity: 0; }
.kind-opt span { display: inline-flex; gap: 6px; align-items: center; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); cursor: pointer; font-size: 13px; font-weight: 600; background: var(--surface); }
.kind-opt input:checked + span { border-color: var(--accent); color: var(--accent-ink); background: var(--accent-soft); }
.kind-opt input:focus-visible + span { box-shadow: 0 0 0 3px rgba(245, 159, 0, .3); }
.img-prev { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.cover-prev { max-height: 120px; border-radius: 8px; }
.dropzone { border: 2px dashed var(--line-2); border-radius: var(--radius); padding: 30px; text-align: center; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 4px; transition: .15s; }
.dropzone.is-over { border-color: var(--accent); background: var(--accent-soft); }
.dropzone p { margin: 0; }
.dropzone input[name=album] { max-width: 320px; margin-top: 12px; }
.manage-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.mphoto { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.mphoto img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.mphoto input { padding: 6px 9px; font-size: 13px; }
.mphoto-bar { display: flex; justify-content: space-between; }
.merch-form { position: relative; }
.merch-thumb { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; margin-bottom: 12px; }
.member-row { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.member-main { flex: 1 1 180px; display: flex; flex-direction: column; }
.member-row input, .member-row select { width: auto; flex: 0 1 170px; padding: 7px 10px; font-size: 13px; }
.myprofile { display: flex; gap: 12px; align-items: center; padding: 8px 0; }
.myprofile > span { flex: 1; display: flex; flex-direction: column; }
.myprofile a { color: var(--text); }
.danger { border-color: #fecaca; }
.danger summary { cursor: pointer; color: var(--danger); font-weight: 600; }

/* Články */
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.acard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--text); display: flex; flex-direction: column; transition: .2s; box-shadow: var(--shadow-sm); }
.acard:hover { color: var(--text); border-color: #fcd9a8; transform: translateY(-3px); box-shadow: var(--shadow); }
.acard-img { aspect-ratio: 16 / 9; background: var(--dark) center/cover; }
.acard-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; }
.acard-body .eyebrow { margin: 0; }
.acard-body strong { font: 800 16.5px/1.25 var(--font-head); }
.acard-perex { color: var(--text-2); font-size: 13px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.acard-big { grid-column: span 2; flex-direction: row; }
.acard-big .acard-img { aspect-ratio: auto; flex: 1.2; min-height: 280px; }
.acard-big .acard-body { flex: 1; justify-content: center; padding: 28px; }
.acard-big strong { font-size: 24px; }
.article-cover { height: 420px; background: var(--dark) center/cover; }
.article-head { padding: 36px 0 20px; position: relative; }
.article-cover + .wrap .article-head { margin-top: -110px; background: var(--surface); border-radius: var(--radius) var(--radius) 0 0; padding: 30px 34px 20px; }
.article-cover + .wrap .prose { background: var(--surface); padding: 0 34px 40px; border-radius: 0 0 var(--radius) var(--radius); }
.byline { display: flex; gap: 12px; align-items: center; margin-top: 18px; flex-wrap: wrap; }
.byline > span { display: flex; flex-direction: column; flex: 1; }
.byline a { color: var(--text); }
.article .prose { padding-bottom: 40px; }

/* Hledání */
.search-big { display: flex; gap: 10px; margin-top: 10px; }
.search-big .search { flex: 1; }

/* Přihlášení */
.auth { display: flex; justify-content: center; padding: 40px 20px; }
/* přihlášení a registrace: pozadí na celé stránce (stojí při posunu) a prosvítá i pod patičkou s 90% krytím */
body:has(.auth) { background: var(--dark) url('../img/brand/hero.webp?v=3') center 35% / cover fixed; }
body:has(.auth) .footer { background: rgba(14, 12, 10, .9); }
/* širší obrazovka: pozadí stojí (fixed) a kytarista (na obrázku 74 % × 55 %) je uprostřed volného místa vpravo od formuláře
   (formulář 640 px na středu → střed volného místa = 75vw + 160px); obrázek je o kus větší než okno, ať je kam posouvat,
   clamp() hlídá, aby nikde nevznikl prázdný okraj. Svisle na střed viditelné části pod hlavičkou (--head-h). */
@media (min-width: 1100px) {
    body:has(.auth) {
        --hw: max(256.7vh, 115vw);
        --hh: calc(var(--hw) / 2.334);
        background-size: var(--hw) var(--hh);
        background-position:
            clamp(calc(100vw - var(--hw)), calc(75vw + 160px - .74 * var(--hw)), 0px)
            clamp(calc(100vh - var(--hh)), calc(50vh + var(--head-h, 115px) / 2 - .55 * var(--hh)), 0px);
    }
}
.auth-card { width: 100%; max-width: 440px; display: flex; flex-direction: column; }
.auth-card h1 { font-size: 24px; text-align: center; }
.auth-logo { width: 200px; height: auto; margin: 0 auto 14px; }
.auth-card > .auth-alt { margin: 18px 0 0; }

/* Dialogy, lightbox */
.dialog { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); padding: 24px; width: min(560px, calc(100vw - 32px)); box-shadow: var(--shadow); }
.dialog::backdrop { background: rgba(14, 12, 10, .55); backdrop-filter: blur(3px); }
.dialog-bar { display: flex; gap: 8px; justify-content: flex-end; margin-top: 8px; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .92); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; padding: 20px; color: #ddd; }
.lightbox img { max-width: 100%; max-height: 85vh; border-radius: 8px; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .1); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 22.5px; cursor: pointer; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; }
.lb-next { right: 16px; top: 50%; }

/* Patička (tmavá) */

.show-sm { display: none; }

/* ── Responsivita ─────────────────────────────────────────────────── */
@media (max-width: 1180px) {
    .layout-feed { grid-template-columns: minmax(0, 1fr) 300px; }
    .hide-md { display: none; }
    .poster-grid { grid-template-columns: repeat(3, 1fr); }
    .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .layout-prod { grid-template-columns: minmax(0, 1fr) 360px; }
    .topsearch { max-width: 400px; }
}
@media (max-width: 1020px) {
    :root { --head-h: 66px; }
    .navtoggle { display: inline-flex; }
    .navbar { border-top: 0; }
    .mainnav { display: none; position: absolute; top: 66px; left: 0; right: 0; height: auto; overflow: visible; flex-direction: column; align-items: stretch; gap: 2px; background: var(--dark); border-bottom: 1px solid var(--dark-line); padding: 10px 16px 16px; }
    .mainnav.is-open { display: flex; }
    .mainnav a { padding: 12px; font-size: 15px; }
    .mainnav a.is-active { box-shadow: none; border-radius: 8px; background: rgba(255, 255, 255, .05); }
    .mainnav a .ico { display: inline; }
    .topsearch { display: none; }
    .topbar-right { margin-left: auto; }
}
/* přepínač obsahu ČR / SR v patičce (_site_switch.html.twig) */
.footer-site { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 960px) {
    .hero-in { grid-template-columns: 1fr; padding-top: 36px; padding-bottom: 50px; }
    .hero { background-image: url('../img/brand/hero-sm.webp?v=3'); background-position: 72% center; }
    .hero::before { background: linear-gradient(180deg, rgba(10, 8, 6, .55) 0%, rgba(10, 8, 6, .75) 55%, rgba(10, 8, 6, .9) 100%); }
    .features { grid-template-columns: repeat(3, 1fr); }
    .layout-2, .layout-2-eq, .layout-feed, .layout-prod, .manage, .catalog { grid-template-columns: minmax(0, 1fr); }
    .layout-feed > aside, .manage-nav, .facets { position: static; max-height: none; }
    .facets { display: none; }
    .facets.is-open { display: flex; }
    .manage-nav { flex-direction: row; overflow-x: auto; }
    .manage-nav .manage-who { display: none; }
    .manage-nav > a { white-space: nowrap; }
    .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .chat-prod { position: static; height: 640px; }
    .inbox { grid-template-columns: 1fr; height: auto; }
    .inbox.has-current .inbox-list { display: none; }
    .inbox:not(.has-current) .chat { display: none; }
    .inbox .chat { height: calc(100vh - 140px); }
    .show-sm { display: inline-flex; }
    .ehead-in { flex-direction: column; align-items: flex-start; }
    .ehead-poster { width: 180px; }
    .crew-add { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    body { font-size: 13px; padding-bottom: 64px; }
    .wrap { padding-left: 14px; padding-right: 14px; }
    .hide-sm { display: none; }
    .brand img { height: 34px; }
    .topbar-in { gap: 10px; height: 60px; }
    .toplink { padding: 6px 2px; white-space: nowrap; }
    .topbar-right .btn-sm { white-space: nowrap; padding-left: 12px; padding-right: 12px; }
    .bottomnav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--dark); border-top: 1px solid var(--dark-line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
    .bottomnav a { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; color: var(--on-dark-muted); font-weight: 600; }
    .bottomnav a.is-active { color: var(--accent); }
    .bottomnav .ico { color: var(--accent); }
    .hero-logo { width: 190px; }
    .features { grid-template-columns: repeat(2, 1fr); }
    .card-grid, .article-grid, .grid-2 { grid-template-columns: minmax(0, 1fr); }
    .acard-big { grid-column: auto; flex-direction: column; }
    .acard-big .acard-img { min-height: 200px; }
    .poster-grid { grid-template-columns: repeat(2, 1fr); }
    .phead-cover { height: 170px; }
    .phead-in { margin-top: -54px; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
    .phead-in > .avatar { width: 108px; height: 108px; }
    .phead-in > .avatar .avatar-initials { font-size: 37px; }
    .phead-title h1 { justify-content: center; }
    .phead-actions { justify-content: center; padding-top: 0; }
    .phead-title { padding-top: 0; }
    .prow { gap: 12px; padding: 10px; }
    .prow-img { width: 60px; height: 60px; }
    .prow .btn { padding: 6px 10px; font-size: 13px; }
    .prow-tag { display: none; }
    .cal-head h1 { min-width: 0; font-size: 22.5px; }
    .calgrid-d { min-height: 64px; padding: 3px; }
    .calgrid-e { font-size: 0; height: 6px; padding: 0; }
    .card { padding: 16px; }
    .crew-add { grid-template-columns: 1fr; }
    .msg { max-width: 94%; }
    .article-cover { height: 220px; }
    .article-cover + .wrap .article-head { margin-top: -50px; padding: 20px 18px 14px; }
    .article-cover + .wrap .prose { padding: 0 18px 30px; }
    .cta-band { padding: 24px; }
    .chat-prod { height: 560px; }
}

/* Našeptávač hlavního hledání (fulltext, /naseptavac) */
.topsearch, .search-big { position: relative; }
.ssug { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 70; min-width: 360px; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 6px; display: flex; flex-direction: column; }
.ssug[hidden] { display: none; }
.ssug a { display: flex; gap: 10px; align-items: center; padding: 7px 10px; border-radius: 8px; color: var(--text); font-size: 13px; }
.ssug a:hover, .ssug a.is-active { background: var(--accent-soft); color: var(--text); }
.ssug-q .ico { position: static; color: var(--muted); }
.ssug-item img, .ssug-ph { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.ssug-ph { display: flex; align-items: center; justify-content: center; background: var(--grad); color: #1d1204; font: 800 12px/1 var(--font-head); }
.ssug-item > span:not(.ssug-ph) { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.ssug-item strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ssug-item small { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ssug-item em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--accent-ink); background: var(--accent-soft); border-radius: 999px; padding: 2px 8px; }
.ssug-all { justify-content: center; font-weight: 600; color: var(--accent-ink) !important; border-top: 1px solid var(--line); margin-top: 4px; }
.topsearch .ssug { left: auto; width: 420px; }
.corrected { background: var(--accent-soft); border: 1px solid #fcd9a8; border-radius: 10px; padding: 10px 14px; margin: 0 0 14px; font-size: 13px; }
.pagehead .corrected { margin-top: 12px; }
@media (max-width: 640px) { .ssug { min-width: 0; } }

/* tlačítko Sdílet u fotek v galerii, merche a v lightboxu */
.gallery-item { position: relative; display: block; break-inside: avoid; }
.gallery-share, .merch-share { position: absolute; top: 8px; right: 8px; z-index: 2; background: rgba(14, 12, 10, .62); color: #fff; border: 0; opacity: 0; transition: opacity .15s; }
.gallery-item:hover .gallery-share, .gallery-share:focus-visible, .merch:hover .merch-share, .merch-share:focus-visible { opacity: 1; }
.gallery-share:hover, .merch-share:hover { background: rgba(14, 12, 10, .85); color: var(--orange); }
.merch { position: relative; }
.lightbox .lb-share { top: 16px; right: 76px; }
@media (hover: none) { .gallery-share, .merch-share { opacity: 1; } }
.lightbox .lb-share[hidden] { display: none; }

/* ── Patička (templates/_footer.html.twig) ───────────────────────────────── */
.footer { margin-top: 0; background: var(--dark); color: var(--on-dark); border-top: 3px solid var(--orange); }
.footer-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: -1px; padding-top: 26px; padding-bottom: 26px; border-bottom: 1px solid var(--dark-line); }
.footer-cta strong { display: block; font: 800 18.5px/1.25 var(--font-head); color: #fff; }
.footer-cta span { color: var(--on-dark-muted); }
.footer-cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-cta .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .25); background: transparent; }
.footer-in { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 48px; padding-top: 40px; padding-bottom: 36px; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-logo { width: 220px; }
.footer-brand p { margin: 0; color: var(--on-dark-muted); font-size: 13px; line-height: 1.6; }
.footer-mail { display: inline-flex; gap: 8px; align-items: center; color: #fff; font-weight: 600; font-size: 13px; }
.footer-mail:hover { color: var(--orange); }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.footer-cols h3 { font: 800 12px/1.2 var(--font-head); text-transform: uppercase; letter-spacing: .08em; color: var(--orange); margin: 0 0 12px; }
.footer-cols h3.mt { margin-top: 22px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-cols a { display: flex; gap: 10px; align-items: flex-start; padding: 6px 8px; margin: 0 -8px; border-radius: 9px; color: var(--on-dark); transition: background .15s; }
.footer-cols a:hover { background: rgba(255, 255, 255, .05); }
.footer-cols a:hover .fl-txt > span { color: var(--orange); }
.fl-ico { flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); color: var(--orange); }
.fl-txt { display: flex; flex-direction: column; min-width: 0; }
.fl-txt > span { font-weight: 600; font-size: 13px; line-height: 1.3; }
.fl-txt small { color: var(--on-dark-muted); font-size: 11.5px; line-height: 1.35; }
.footer-bottom { border-top: 1px solid var(--dark-line); background: rgba(0, 0, 0, .25); }
.footer-bottom-in { display: flex; justify-content: space-between; align-items: center; gap: 14px 24px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 18px; }
.footer-copy { font-size: 12px; color: var(--on-dark-muted); }
.footer-prefs { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.footer-pref { display: inline-flex; gap: 8px; align-items: center; font-size: 12px; color: var(--on-dark-muted); }

@media (max-width: 1100px) {
    .footer-in { grid-template-columns: 1fr; gap: 28px; }
    .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .footer-cols { grid-template-columns: minmax(0, 1fr); }
    .footer-bottom-in { flex-direction: column; align-items: flex-start; }
    .footer { padding-bottom: 64px; }   /* spodní lišta menu na mobilu */
}
/* „Načíst další“ ve stránkovaných výpisech */
.pager-more { display: flex; justify-content: center; margin: 22px 0 6px; }
.pager-more .btn { min-width: 220px; }
.pager-more .btn.is-loading { opacity: .6; pointer-events: none; }

/* tým stránky (manage/profile_clenove, dialog „Pracuji tady“): profese jako čipy pod řádkem člena */
.team-sub { display: flex; align-items: center; gap: 8px; margin: 22px 0 4px; font-size: 15px; }
.team-sub .ico { color: var(--orange); }
.member-row--team { row-gap: 6px; }
.team-edit { flex: 1 0 100%; margin: 0 0 2px 50px; }
.team-edit > summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--accent-ink); }
.team-edit > summary::-webkit-details-marker { display: none; }
.team-edit[open] > summary { margin-bottom: 8px; }
.team-picks { display: flex; flex-wrap: wrap; gap: 6px; border: 0; padding: 0; margin: 0; }
.team-picks .pick span { font-size: 12.5px; padding: 4px 10px; }
.team-pending { background: var(--accent-soft); border-radius: 10px; padding: 10px 12px; border-bottom: 0; margin-bottom: 6px; }
.team-add { display: grid; gap: 12px; }
.team-add .btn-primary { justify-self: start; }
.team-or { margin: -4px 0; text-transform: uppercase; letter-spacing: .08em; font-size: 11px; }
.field-label { margin: 0; font-weight: 600; font-size: 13px; }
.team-invite-page { display: flex; align-items: center; justify-content: center; gap: 10px; }
.btn.is-static { cursor: default; opacity: .8; }
@media (max-width: 640px) { .team-edit { margin-left: 0; } }
/* obsazení akcí (manage/profile_akce) a kontakty pracovníků v produkci */
.staff-card { display: grid; gap: 12px; }
.staff-head { display: flex; align-items: center; gap: 14px; }
.staff-date { display: grid; place-items: center; width: 52px; height: 52px; flex-shrink: 0; border-radius: 12px; background: var(--dark); color: var(--on-dark-muted); font-size: 11px; line-height: 1; }
.staff-date b { font: 900 21px/1 var(--font-head); color: var(--orange); }
.staff-title { display: grid; gap: 2px; flex: 1; min-width: 0; }
.staff-title a { color: var(--text); }
.staff-list { display: grid; gap: 6px; }
.staff-row, .staff-add { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.staff-row { padding: 8px 10px; border-radius: 10px; background: var(--surface-2); }
.staff-name { display: inline-flex; align-items: center; gap: 6px; flex: 1 1 160px; min-width: 0; }
.staff-row select, .staff-row input, .staff-add select, .staff-add input { width: auto; flex: 1 1 150px; padding: 7px 10px; font-size: 13px; }
.staff-none { margin: 0; }
.staff-add { padding-top: 10px; border-top: 1px dashed var(--line); }
.staff-new { display: none; gap: 8px; flex: 1 1 100%; }
.staff-add:has(option[value="new"]:checked) .staff-new { display: flex; }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.seg a { padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.seg a.is-active { background: var(--surface); color: var(--accent-ink); box-shadow: var(--shadow-sm); }
.crew-staff { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.crew-contact { display: inline-flex; align-items: center; gap: 6px; padding: 3px 4px 3px 3px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: 12px; }
.crew-contact > span:not(.avatar) { padding-right: 4px; }
.crew-contact .btn-icon { width: 24px; height: 24px; }
/* Editor ořezu obrázku (public/js/cropper.js) */
.crop-dlg { width: min(760px, calc(100vw - 24px)); padding: 18px; }
.crop-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.crop-head h2 { margin: 0; font-size: 18px; }
.crop-x { background: none; border: 0; font-size: 26px; line-height: 1; color: var(--muted); cursor: pointer; padding: 4px 8px; }
.crop-stage { position: relative; width: 100%; max-height: 60vh; margin: 0 auto; overflow: hidden; border-radius: var(--radius-sm); background: #111; cursor: grab; touch-action: none; user-select: none; outline-offset: 3px; }
.crop-stage:active { cursor: grabbing; }
.crop-stage.is-round { max-width: min(420px, 100%); }
.crop-stage.is-round::after { content: ''; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 999px rgba(0, 0, 0, .55); pointer-events: none; }
.crop-stage img { position: absolute; left: 50%; top: 50%; max-width: none; transform: translate(-50%, -50%); pointer-events: none; }
.crop-guide { position: absolute; border: 1.5px dashed rgba(255, 255, 255, .8); pointer-events: none; }
.crop-guide-desk { left: 0; right: 0; border-left: 0; border-right: 0; }
.crop-guide-mob { top: 0; bottom: 0; border-top: 0; border-bottom: 0; border-color: rgba(255, 170, 60, .9); }
.crop-guide span { position: absolute; font-size: 11px; font-weight: 700; color: #fff; background: rgba(0, 0, 0, .55); padding: 1px 6px; border-radius: 4px; }
.crop-guide-desk span { right: 6px; top: 4px; }
.crop-guide-mob span { left: 4px; bottom: 6px; }
.crop-zoom { display: flex; align-items: center; gap: 10px; margin: 14px auto 4px; max-width: 420px; font-weight: 700; color: var(--muted); }
.crop-zoom input { flex: 1; accent-color: var(--accent); }
.crop-warn { margin: 8px 0 0; padding: 8px 12px; border-radius: var(--radius-sm); background: rgba(255, 170, 0, .12); color: var(--text); font-size: 13px; }
.crop-hint { text-align: center; margin: 6px 0 0; }
.crop-tip { display: block; margin-top: 6px; line-height: 1.45; }
.crop-edit { align-self: flex-start; margin: 6px 0; }
.crop-preview { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.crop-preview img { width: 120px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.crop-preview img.is-round { width: 72px; border-radius: 50%; }
@media (max-width: 560px) { .crop-dlg { padding: 14px; } .crop-dlg .dialog-bar { flex-wrap: wrap; } .crop-dlg .dialog-bar .btn { flex: 1; } }

/* Hodnocení stránek (profile/_reviews.html.twig, _macros stars) */
.stars { position: relative; display: inline-block; font-size: var(--size, 16px); line-height: 1; letter-spacing: 1px; vertical-align: -0.1em; white-space: nowrap; }
.stars-bg { color: var(--line-2, #d9d4cc); }
.stars-fg { position: absolute; left: 0; top: 0; width: var(--pct); overflow: hidden; color: #f5a400; }
.phead-rating { color: inherit; display: inline-flex; align-items: center; gap: 4px; }
.phead-rating:hover b { text-decoration: underline; }
.tab-count { display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 9px; background: var(--surface-2); font-size: 11px; font-weight: 700; text-align: center; }
.rv-layout { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: start; }
@media (min-width: 900px) { .rv-layout { grid-template-columns: 340px 1fr; } .rv-summary { position: sticky; top: calc(var(--head-h) + 16px); } }
.rv-avg { display: flex; align-items: center; gap: 14px; }
.rv-avg > strong { font: 900 46px/1 var(--font-head); }
.rv-avg > div { display: flex; flex-direction: column; gap: 4px; }
.rv-dist { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.rv-dist li { display: grid; grid-template-columns: 34px 1fr 28px; gap: 8px; align-items: center; }
.rv-dist b { text-align: right; font-variant-numeric: tabular-nums; }
.rv-bar { height: 8px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.rv-bar i { display: block; height: 100%; background: #f5a400; border-radius: 4px; }
.rv-form { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.rv-form h3 { margin: 0 0 8px; font-size: 16px; }
.rv-pick { border: 0; padding: 0; margin: 0 0 10px; display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.rv-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rv-pick label { cursor: pointer; color: var(--line-2, #d9d4cc); padding: 4px; border-radius: 8px; transition: color .1s, transform .1s; }
.rv-pick label .ico { fill: currentColor; }
.rv-pick label:hover, .rv-pick label:hover ~ label, .rv-pick input:checked ~ label { color: #f5a400; }
.rv-pick label:active { transform: scale(.9); }
.rv-pick input:focus-visible + label { outline: 2px solid var(--accent); }
.rv-login { margin-top: 16px; }
.rv-head { display: flex; gap: 12px; align-items: flex-start; }
.rv-head a { color: inherit; }
.rv-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.rv-verified { display: inline-flex; align-items: center; gap: 3px; margin-left: 6px; padding: 1px 7px; border-radius: 10px; background: rgba(40, 160, 90, .12); color: var(--ok); font-size: 11px; font-weight: 700; vertical-align: 1px; }
.rv-body { margin: 10px 0 0; line-height: 1.55; }
.rv-reply { margin-top: 12px; padding: 10px 14px; border-left: 3px solid var(--accent); background: var(--surface-2); border-radius: 0 8px 8px 0; font-size: 14px; }
.rv-reply p { margin: 4px 0 0; }
.rv-actions { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: flex-start; margin-top: 10px; }
.rv-reply-form { flex-basis: 100%; }
.rv-reply-form form { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; align-items: flex-start; }
.rv-reply-form textarea { width: 100%; }
.rv.is-hidden { opacity: .6; }
.danger-text { color: var(--danger); }
.rv-mini-avg { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; }
.rv-mini-avg strong { font: 800 26px/1 var(--font-head); }
.rv-quote { margin: 10px 0 0; padding: 10px 0 0; border-top: 1px solid var(--line); }
.rv-quote p { margin: 6px 0 4px; font-size: 14px; }
.bcard-rating b { color: #c98600; }
.pcard-rating { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; margin-top: 2px; }

/* Sekce Merch (merch/index.html.twig) */
.merch-cats { margin-top: 0; }
.merch-cats .gchip small, .merch-cats small { opacity: .6; font-weight: 600; }
.merch-cats .gchip.is-on { background: var(--accent); border-color: var(--accent); color: #fff; }
.merch-bar { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; margin: 4px 0 16px; }
.merch-bar p { margin: 0; }
.merch-bar-r { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.merch-bar .chip.is-on { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-ink); }
.merch-sorts { display: flex; gap: 2px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px; overflow-x: auto; scrollbar-width: none; }
.merch-sorts a { padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--text-2); white-space: nowrap; }
.merch-sorts a.is-on { background: var(--accent); color: #fff; }
.merch-grid--shop { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.merch-band { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.merch-band .avatar { flex: none; }
.merch-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.merch-note { display: flex; gap: 6px; align-items: flex-start; margin-top: 24px; }
#merch-list.is-loading { opacity: .5; transition: opacity .15s; }
@media (max-width: 560px) { .merch-grid--shop { grid-template-columns: repeat(2, 1fr); gap: 10px; } .merch-grid--shop .merch { padding: 10px; } .merch-grid--shop .merch-foot { flex-wrap: wrap; gap: 6px; } }
.cart-terms { align-items: flex-start; font-size: 13px; line-height: 1.45; margin: 4px 0 10px; }
.cart-terms input { margin-top: 3px; flex: none; }
.legal-key { border: 1px solid var(--accent); background: var(--accent-soft); border-radius: var(--radius); padding: 4px 18px; margin: 16px 0 24px; }

/* Formulář odesílaný bez přenačtení (app.js soft submit): stav odesílání */
form.is-sending { cursor: progress; }
form.is-sending button:disabled { opacity: .65; }
form.is-sending .btn-primary:disabled::after { content: ''; display: inline-block; width: 12px; height: 12px; margin-left: 8px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; vertical-align: -2px; animation: st-spin .7s linear infinite; }
@keyframes st-spin { to { transform: rotate(360deg); } }

/* ── Mobil: opravy přetékání (audit na šířce 375 px) ───────────────────────── */
@media (max-width: 420px) {
    /* hlavička přihlášeného: šest ikon + logo se musí vejít */
    .topbar-in { gap: 6px; }
    .topbar-right { gap: 0; }
    .topbar .iconbtn { padding: 7px; }
    .brand img { height: 36px; }
    .usermenu > summary .avatar { width: 30px !important; height: 30px !important; }
}
/* composer: výběr „za koho“ a viditelnost se zalomí pod sebe */
.composer-bar { flex-wrap: wrap; row-gap: 8px; }
.composer-as { max-width: 100%; min-width: 0; text-overflow: ellipsis; }
@media (max-width: 560px) { .composer-bar .spacer { display: none; } .composer-bar .btn-primary { margin-left: auto; } }
/* merch: lišta filtrů a řazení */
.merch-bar-r { min-width: 0; max-width: 100%; }
.merch-sorts { max-width: 100%; }
/* dlouhá slova a odkazy v textech (podmínky, popisy, příspěvky) */
.legal, .prose, .rv-body, .post-body { overflow-wrap: anywhere; }
/* mřížky karet nesmí kvůli dlouhému názvu přerůst šířku */
.bcard, .bcard-body, .merch, .pcard { min-width: 0; }
.cover-prev { max-width: 100%; height: auto; }

/* Průvodce vyplněním profilu (onboarding/_wizard.html.twig) */
.wiz-title { margin-bottom: 4px; }
.wiz-lead { max-width: 640px; margin: 0 0 20px; }
.wiz { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: start; }
@media (min-width: 900px) { .wiz { grid-template-columns: 280px 1fr; } .wiz-side { position: sticky; top: calc(var(--head-h) + 16px); } }
.manage-main .wiz { grid-template-columns: 1fr; }
@media (min-width: 1200px) { .manage-main .wiz { grid-template-columns: 250px 1fr; } }
.wiz-side { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.wiz-score { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.wiz-score strong { display: block; font: 900 26px/1 var(--font-head); }
.wiz-ring { width: 58px; height: 58px; transform: rotate(-90deg); flex: none; }
.wiz-ring circle { fill: none; stroke-width: 3.6; }
.wiz-ring-bg { stroke: var(--surface-2); }
.wiz-ring-fg { stroke: var(--accent); stroke-linecap: round; transition: stroke-dasharray .4s; }
.wiz-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.wiz-steps a { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 10px; color: var(--text-2); font-size: 13.5px; font-weight: 600; }
.wiz-steps a:hover { background: var(--surface-2); color: var(--text); }
.wiz-steps em { font-style: normal; font-weight: 500; font-size: 11px; }
.wiz-dot { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: var(--surface-2); color: var(--muted); }
.wiz-steps .is-done .wiz-dot { background: var(--ok); color: #fff; }
.wiz-steps .is-done a { color: var(--muted); }
.wiz-steps .is-current a { background: var(--accent-soft); color: var(--accent-ink); }
.wiz-steps .is-current .wiz-dot { background: var(--accent); color: #fff; }
@media (max-width: 899px) { .wiz-steps { flex-direction: row; overflow-x: auto; scrollbar-width: none; gap: 4px; } .wiz-steps a span:last-child { display: none; } .wiz-steps .is-current a span:last-child { display: inline; white-space: nowrap; } .wiz-score { margin-bottom: 8px; } }
.wiz-card { padding: 24px; }
@media (max-width: 560px) { .wiz-card { padding: 16px; } }
.wiz-head { display: flex; gap: 14px; align-items: center; margin-bottom: 10px; }
.wiz-head h2 { margin: 0; font-size: clamp(20px, 3vw, 26px); }
.wiz-kicker { margin: 0 0 2px; }
.wiz-ok { color: var(--ok); font-weight: 700; }
.wiz-ico { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); }
.wiz-ico.is-big { width: 72px; height: 72px; border-radius: 22px; margin: 0 auto 10px; }
.wiz-why { font-size: 15.5px; line-height: 1.6; margin: 0 0 10px; max-width: 640px; }
.wiz-tip { display: flex; gap: 8px; align-items: flex-start; padding: 10px 14px; border-radius: 12px; background: var(--surface-2); font-size: 14px; margin: 0 0 18px; }
.wiz-tip .ico { color: #f5a400; flex: none; margin-top: 2px; }
.wiz-form { display: flex; flex-direction: column; gap: 12px; }
.wiz-drop { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px 16px; border: 2px dashed var(--line-2); border-radius: var(--radius); color: var(--muted); text-align: center; cursor: pointer; }
.wiz-drop:hover { border-color: var(--accent); color: var(--accent-ink); }
.wiz-drop strong { color: var(--text); }
.wiz-drop input { max-width: 100%; }
.wiz-current { display: flex; justify-content: center; }
.wiz-cover { width: 100%; max-height: 180px; object-fit: cover; border-radius: 12px; }
.wiz-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.wiz-bar .spacer { flex: 1; }
@media (max-width: 560px) { .wiz-bar .btn-primary { flex-basis: 100%; order: 3; justify-content: center; } }
.wiz-back-note { margin: 8px 0 0; }
.wiz-follow { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.wiz-fcard { display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; }
.wiz-fcard > span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.wiz-fcard strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wiz-finish { text-align: center; }
.wiz-finish p { max-width: 520px; margin: 8px auto 16px; }
.wiz-finish-btns { justify-content: center; margin-bottom: 12px; }
.wiz-mobile-bar { display: none; }
.wiz-return { background: var(--accent-soft); border-bottom: 1px solid var(--accent); position: sticky; top: var(--head-h); z-index: 20; }
.wiz-return .wrap { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 8px; padding-bottom: 8px; font-size: 13.5px; font-weight: 600; }
.manage-wiz { margin-bottom: 6px; border: 1px solid var(--line); background: var(--surface); }
.manage-wiz-pct { margin-left: auto; font-size: 11px; font-weight: 800; padding: 2px 7px; border-radius: 9px; background: linear-gradient(90deg, var(--accent-soft) var(--p), var(--surface-2) var(--p)); color: var(--accent-ink); }
.wiz-dash-list { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.wiz-dash-list a { display: grid; grid-template-columns: auto minmax(0, 1fr) 120px auto; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; color: inherit; }
.wiz-dash-list a:hover { background: var(--surface-2); }
.wiz-dash-list a > span:nth-child(2) { display: flex; flex-direction: column; min-width: 0; }
.wiz-dash-bar { height: 8px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.wiz-dash-bar i { display: block; height: 100%; background: var(--accent); }
@media (max-width: 560px) { .wiz-dash-list a { grid-template-columns: auto minmax(0, 1fr) auto; } .wiz-dash-bar { grid-column: 2 / 4; grid-row: 2; } }
.wiz, .manage-main .wiz { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .wiz { grid-template-columns: 280px minmax(0, 1fr); } }
@media (min-width: 1200px) { .manage-main .wiz { grid-template-columns: 250px minmax(0, 1fr); } }
.wiz-main, .wiz-side { min-width: 0; }
.wiz-follow { grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); }
.wiz-fcard .avatar { flex: none; }
.wiz-fcard form { flex: none; }

/* avatar se nikdy nedeformuje (rodičovská pravidla typu „> span { flex: 1 }“) */
.avatar.avatar { flex: none; display: inline-flex; flex-direction: row; }

/* Fotka ve formuláři (_macros photo_field): velký náhled + akce */
.photo-field { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; font-weight: 400; }
.photo-field-prev { flex: none; width: 112px; height: 112px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); }
.photo-field-prev img { width: 100%; height: 100%; object-fit: cover; }
.photo-field-prev .avatar { box-shadow: none; }
.photo-field-prev.is-new { outline: 3px solid var(--accent); outline-offset: 2px; }
.photo-field--cover { flex-direction: column; align-items: stretch; }
.photo-field--cover .photo-field-prev { width: 100%; height: auto; aspect-ratio: 3 / 1; border-radius: 12px; }
.photo-field-main { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.photo-field-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.photo-field-pick { position: relative; overflow: hidden; cursor: pointer; }
.photo-field-pick input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 0; }
.photo-field .crop-edit { margin: 0; }
.photo-field .crop-tip { margin: 0; }
@media (max-width: 560px) { .photo-field:not(.photo-field--cover) { flex-direction: column; align-items: flex-start; } }

/* Povinné údaje: hvězdička u popisku (app.js doplní u polí s required), nepovinné se neoznačují */
.req { color: var(--danger); font-weight: 700; margin-left: 2px; text-decoration: none; }
.form-note { font-size: 12px; color: var(--muted); }

/* Mezery mezi skupinami ve formulářích (výběr nástrojů, profesí, krajů…) */
.pick-list, .team-picks { margin: 0 0 18px; }
.pick-list legend, .team-picks legend { margin-bottom: 10px; }
.field + .pick-list, .field + .team-picks { margin-top: 4px; }

/* počítadlo znaků u textových polí s limitem (data-counter) */
.char-count { align-self: flex-end; font-size: 11.5px; font-weight: 500; color: var(--muted); margin-top: -2px; }
.char-count.is-near { color: var(--warn, #c98600); }
.user-bio { white-space: normal; line-height: 1.6; margin: 0; }
.admin-usearch { margin: 0 0 10px; } .admin-usearch input { width: 100%; } .people li form.inline { margin-left: auto; }
/* pole s krátkým limitem: šířka odpovídá počtu znaků (zaměření profíka, max. 50) */
.input-chars-50 { max-width: calc(52ch + 30px); }
/* počítadlo u jednořádkových polí jen při psaní (pod polem vpravo, bez skákání rozvržení) */
.char-count.is-input { visibility: hidden; height: 0; margin: 0; position: relative; top: -2px; }
.char-count.is-input.is-on, .char-count.is-input.is-near { visibility: visible; height: auto; }
/* nastavení, správa a admin: menší nadpisy (body.page-admin) */
.page-admin main h1 { font-size: clamp(21px, 2.1vw, 26px); font-weight: 800; }

/* Štítky z číselníku s našeptáváním (app.js [data-tags]): pozice v kapele */
.tags { position: relative; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; min-height: 44px; padding: 6px 10px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--surface); cursor: text; font-weight: 400; }
.tags:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.tags-list { display: contents; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 4px 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-size: 13px; font-weight: 600; }
.tag.is-free { background: var(--surface-2); color: var(--text-2); }
.tag button { border: 0; background: none; color: inherit; cursor: pointer; font-size: 15px; line-height: 1; padding: 0 4px; border-radius: 50%; }
.tag button:hover { background: rgba(0, 0, 0, .08); }
.tags-input.tags-input { flex: 1; min-width: 120px; border: 0; outline: 0; box-shadow: none; padding: 4px 0; background: none; font: inherit; }
.tags-sug { position: absolute; left: -1px; right: -1px; top: calc(100% + 4px); z-index: 30; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 4px; max-height: 260px; overflow: auto; }
.tags-sug button { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 8px 10px; border-radius: 8px; font: inherit; color: var(--text); cursor: pointer; }
.tags-sug button.is-active, .tags-sug button:hover { background: var(--accent-soft); color: var(--accent-ink); }

/* detail osobního profilu: nástroje a zaměření jako odkazy do sekce Muzikanti, profíci i fans */
.ptags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.ptags .tag { padding: 4px 11px; }

/* mobil: záložky a přepínače se zalomí do více řádků (nic se neořízne ani neschová za okraj) */
@media (max-width: 640px) {
    .tabs { flex-wrap: wrap; overflow: visible; gap: 0 2px; }
    .tabs a { padding: 9px 10px; }
    .merch-sorts { flex-wrap: wrap; overflow: visible; border-radius: 14px; }
}
/* nejužší telefony: hlavička s Přihlásit i Registrovat se musí vejít */
@media (max-width: 370px) {
    .brand img { height: 27px; width: auto; }
    .topbar-in { gap: 6px; }
    .toplink { font-size: 12.5px; }
    .topbar-right .btn-sm { padding-left: 10px; padding-right: 10px; font-size: 12.5px; }
}

/* zpětná vazba (_feedback.html.twig) */
.feedback { border-color: var(--accent); background: linear-gradient(180deg, var(--accent-soft), var(--surface) 70%); }
.feedback h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.feedback h3 .ico { color: var(--accent); }
.feedback-form { display: grid; gap: 8px; margin-top: 10px; }
.feedback-form .btn { justify-self: start; }
.feedback-strip { padding: 12px 16px; margin-bottom: 16px; }
.feedback-strip summary { display: flex; align-items: center; gap: 12px; cursor: pointer; list-style: none; }
.feedback-strip summary::-webkit-details-marker { display: none; }
.feedback-strip-ico { color: var(--accent); display: inline-flex; }
.feedback-strip-text { flex: 1; font-size: 13.5px; color: var(--text-2); }
.feedback-strip-text strong { color: var(--text); }
.feedback-strip[open] summary .btn { display: none; }
@media (max-width: 640px) { .feedback-strip summary { flex-wrap: wrap; } .feedback-strip-text { flex-basis: calc(100% - 40px); } }

/* menu uživatele nad položkami hlavního menu (Další) a na mobilu celé v okně */
.usermenu-pop { z-index: 70; }
.usermenu-head span { overflow-wrap: anywhere; }
@media (max-width: 640px) {
    .usermenu-pop { position: fixed; right: 10px; left: auto; top: calc(var(--head-h, 60px) + 6px); width: min(280px, calc(100vw - 20px)); max-height: calc(100vh - 140px); overflow-y: auto; }
}
