/* ============================================
   KENJI KNIHOVNA — SDÍLENÝ STYL
   ============================================ */

:root {
  --bg: #0a0a0a;
  --bg-card: #141414;
  --bg-card-2: #1a1a1a;
  --bg-elevated: #1f1f1f;
  --orange: #ff6b1a;
  --orange-bright: #ff8533;
  --orange-dim: #cc5614;
  --blue: #2a6fff;
  --blue-dim: #1a4fc4;
  --text: #f5f5f5;
  --text-strong: #ffffff;   /* výrazný text — ve světlém režimu ztmavne */
  --text-dim: #9a9a9a;
  --text-mute: #666;
  --border: #262626;
  --border-light: #1f1f1f;
  --border-accent: #ff6b1a;
  --glass-bg: rgba(255,255,255,.055);   /* skleněné plochy — ve světlém režimu ztmavnou */
  --glass-border: rgba(255,255,255,.09);
  --header-bg: rgba(10,10,10,.85);
  --sidebar-bg: #0d0d0d;

  --sidebar-width: 280px;
  --header-height: 64px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-width: 0;
}

/* ============================================
   HEADER (TOP BAR)
   ============================================ */
.top-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: var(--header-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 20px;
  transition: transform .32s cubic-bezier(.4,0,.2,1);
}
/* Scroll dolů → hlavička se schová */
body.nav-hidden .top-header { transform: translateY(-100%); }

/* ============================================
   Spodní glass navigace (Kurzy / Databáze / Komunita / Kenji AI)
   ============================================ */
.bottom-nav { position: fixed; left: 0; right: 0; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 95; display: flex; justify-content: center; padding: 0 14px; pointer-events: none; transition: transform .32s cubic-bezier(.4,0,.2,1); }
.bottom-nav-inner { pointer-events: auto; display: flex; align-items: stretch; gap: 4px; padding: 8px 10px; border-radius: 22px; background: rgba(18,18,18,.62); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4); box-shadow: 0 14px 44px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.07); transition: padding .28s ease; }
.bnav-item { position: relative; display: grid; place-items: center; width: 54px; height: 46px; border-radius: 15px; color: var(--text-dim); text-decoration: none; transition: color .26s cubic-bezier(.4,0,.2,1), width .3s cubic-bezier(.4,0,.2,1), height .3s cubic-bezier(.4,0,.2,1); }
.bnav-item:hover { color: var(--text); }
.bnav-item:active { transform: scale(.92); }
.bnav-item.active { color: var(--orange); }
/* Aktivní „bublinka" — přelévá se mezi ikonami přes View Transitions */
.bnav-item.active::before { content: ''; position: absolute; inset: 0; border-radius: 15px; background: rgba(255,107,26,.14); view-transition-name: bnav-pill; z-index: 0; }
.bnav-ico, .bnav-ai { position: relative; z-index: 1; }
.bnav-ico { width: 25px; height: 25px; transition: transform .3s cubic-bezier(.4,0,.2,1); }
.bnav-ai { font: 800 15px/1 'Inter', sans-serif; letter-spacing: .5px; transition: transform .3s cubic-bezier(.4,0,.2,1); }
/* Scroll dolů → kompaktní lišta (plynule) */
body.nav-hidden .bottom-nav-inner { padding: 6px 8px; }
body.nav-hidden .bnav-item { width: 48px; height: 40px; }
body.nav-hidden .bnav-ico, body.nav-hidden .bnav-ai { transform: scale(.88); }
/* Prostor pod obsahem, ať lišta nezakrývá konec stránky (AI má vlastní přes .ai-chat) */
body.has-bottom-nav .main-inner:not(.ai-main-inner) { padding-bottom: 104px; }
body.has-bottom-nav .ai-chat { padding-bottom: 84px; }
body.has-bottom-nav .cookie-notice { bottom: 90px; }
/* Skrýt při bráně / onboardingu */
body.kenji-gated .bottom-nav, body.kenji-onboarding-active .bottom-nav { display: none; }
/* Světlý režim */
:root[data-theme="light"] .bottom-nav-inner { background: rgba(255,255,255,.74); border-color: rgba(0,0,0,.08); box-shadow: 0 14px 44px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.6); }
:root[data-theme="light"] .bnav-item.active::before { background: rgba(255,107,26,.16); }

/* Rezervace scrollbaru → žádný skok mezi stránkou se scrollem a bez (Kenji AI) */
html { scrollbar-gutter: stable; }
/* Plynulý přechod mezi stránkami + přelití aktivní bublinky (Chromium) */
@view-transition { navigation: auto; }
::view-transition-group(bnav-pill) { animation-duration: .34s; animation-timing-function: cubic-bezier(.4,0,.2,1); }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.brand-mark {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--orange) 0%, #ff4500 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  color: var(--text-strong);
  box-shadow: 0 4px 12px rgba(255, 107, 26, 0.3);
}

.brand-name {
  display: block;
  width: 132px;
  height: 22px;
  background: url('logo-kenji.png') no-repeat left center;
  background-size: contain;
  text-indent: -9999px;
  overflow: hidden;
  white-space: nowrap;
}

.header-spacer { flex: 1; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--text-mute);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

/* ============================================
   LAYOUT (SIDEBAR + MAIN)
   ============================================ */
.layout {
  display: grid;
  grid-template-columns: var(--sidebar-width) 1fr;
  min-height: calc(100vh - var(--header-height));
}

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar {
  background: var(--sidebar-bg);
  border-right: 1px solid var(--border);
  padding: 32px 20px 0;
  position: sticky;
  top: var(--header-height);
  height: calc(100vh - var(--header-height));
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

/* Nastavení — vždy dole v liště */
.sidebar-settings {
  margin: 14px -20px 0; position: sticky; bottom: 0; margin-top: auto;
  display: flex; align-items: center; gap: 10px;
  padding: 15px 20px calc(15px + env(safe-area-inset-bottom, 0px));
  background: var(--sidebar-bg); border-top: 1px solid var(--border);
  color: var(--text-dim); text-decoration: none; font-weight: 600; font-size: 14px;
  transition: color .15s;
}
.sidebar-settings:hover { color: var(--text); }
.sidebar-settings.active { color: var(--orange-bright); }
.sidebar-settings svg { width: 18px; height: 18px; flex-shrink: 0; }

.sidebar::-webkit-scrollbar { width: 6px; }
.sidebar::-webkit-scrollbar-track { background: transparent; }
.sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

.sidebar-section {
  margin-bottom: 28px;
}

.sidebar-section:last-child { margin-bottom: 0; }

.sidebar-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--text-mute);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
  padding: 0 8px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: var(--text-dim);
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.15s ease;
  position: relative;
}

.sidebar-link:hover {
  background: var(--bg-card);
  color: var(--text);
}

.sidebar-link.active {
  background: rgba(255, 107, 26, 0.1);
  color: var(--orange);
}

.sidebar-link.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 16px;
  background: var(--orange);
  border-radius: 0 3px 3px 0;
}

.sidebar-link .icon {
  font-size: 16px;
  flex-shrink: 0;
}

.sidebar-link .badge {
  margin-left: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--text-mute);
  background: var(--bg-card);
  padding: 2px 6px;
  border-radius: 4px;
}
.sidebar-link.locked {
  padding-right: 42px;
}
.sidebar-link.locked::after {
  content: '🔒';
  position: absolute;
  top: 50%;
  right: 11px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(255,107,26,.26);
  border-radius: 999px;
  background: rgba(255,107,26,.075);
  color: var(--orange);
  font-size: 10px;
  line-height: 1;
}
.sidebar-link.locked.active::after {
  border-color: rgba(255,107,26,.42);
  background: rgba(255,107,26,.13);
}

.sidebar-link.coming-soon {
  opacity: 0.5;
  cursor: not-allowed;
}

.sidebar-link.coming-soon:hover {
  background: transparent;
  color: var(--text-dim);
}

/* Sidebar — rozklikávací kategorie (accordion) */
.sidebar-cat { display: flex; flex-direction: column; }

.cat-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  background: none;
  border: none;
  color: var(--text-dim);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.cat-toggle:hover { background: var(--bg-card); color: var(--text); }
.cat-toggle .cat-name { flex: 1; }
.cat-toggle .icon { font-size: 16px; flex-shrink: 0; }
.cat-toggle .badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--text-mute);
  background: var(--bg-card);
  padding: 2px 6px;
  border-radius: 4px;
}
.cat-arrow {
  font-size: 11px;
  color: var(--text-mute);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.sidebar-cat.open > .cat-toggle { color: var(--text); }
.sidebar-cat.open .cat-arrow { transform: rotate(180deg); }
.sidebar-cat.empty .cat-toggle { opacity: 0.45; cursor: default; }
.sidebar-cat.empty .cat-toggle:hover { background: none; color: var(--text-dim); }

/* Sidebar — sub items inside category (sbalené, dokud není .open) */
.sidebar-sublist {
  display: none;
  flex-direction: column;
  gap: 1px;
  margin-top: 4px;
  margin-bottom: 4px;
  padding-left: 28px;
  border-left: 1px solid var(--border);
  margin-left: 18px;
}
.sidebar-cat.open > .sidebar-sublist { display: flex; }

.sidebar-sublink {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 7px 10px;
  color: var(--text-dim);
  text-decoration: none;
  border-radius: 6px;
  font-size: 13px;
  transition: all 0.15s ease;
  position: relative;
}

/* Checkbox přečtení v menu */
.read-check {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin-top: 2px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  transition: all 0.15s ease;
}
.read-check:hover { border-color: var(--orange); }
.sidebar-sublink.is-read .read-check {
  background: var(--orange);
  border-color: var(--orange);
}
.sidebar-sublink.is-read .read-check::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-strong);
}
.sidebar-sublink.is-read .sublink-text { color: var(--text-mute); }

.sidebar-sublink:hover {
  background: var(--bg-card);
  color: var(--text);
}

.sidebar-sublink.active {
  color: var(--orange);
  font-weight: 600;
}

.sidebar-sublink.coming {
  opacity: 0.4;
  cursor: not-allowed;
}

.sidebar-sublink.coming:hover {
  background: transparent;
  color: var(--text-dim);
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.main {
  padding: 48px 56px 80px;
  max-width: 100%;
  overflow-x: hidden;
}

.main-inner {
  max-width: 820px;
  margin: 0 auto;
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-mute);
  margin-bottom: 24px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.5px;
}

.breadcrumbs a {
  color: var(--text-mute);
  text-decoration: none;
  transition: color 0.15s ease;
}

.breadcrumbs a:hover { color: var(--orange); }

.breadcrumbs .separator {
  color: var(--border);
}

.breadcrumbs .current {
  color: var(--text);
}

/* ============================================
   TYPOGRAPHY HELPERS
   ============================================ */
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  letter-spacing: 1px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.section-title::before {
  content: '';
  width: 40px;
  height: 3px;
  background: var(--orange);
}

/* ============================================
   HOMEPAGE HERO
   ============================================ */
.home-hero {
  position: relative;
  padding: 80px 48px;
  border-radius: 24px;
  background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 64px;
}

.home-hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -30%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(255,107,26,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.home-hero::after {
  content: '';
  position: absolute;
  bottom: -40%; left: -20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(42,111,255,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.home-hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.home-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 2px;
  margin-bottom: 24px;
  padding: 8px 14px;
  background: rgba(255,107,26,0.1);
  border: 1px solid rgba(255,107,26,0.3);
  border-radius: 100px;
}

.home-hero-label::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--orange);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.home-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(68px, 9vw, 118px);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
}

.home-hero h1 .highlight {
  background: linear-gradient(180deg, #ffffff 0%, #ffe4d1 30%, #ff9550 70%, var(--orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
  filter: drop-shadow(0 0 32px rgba(255, 107, 26, 0.5)) drop-shadow(0 0 8px rgba(255, 180, 100, 0.3));
  position: relative;
}

.home-hero p {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 540px;
}

/* ============================================
   CATEGORY GRID (HOMEPAGE)
   ============================================ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 64px;
}

.category-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.25s ease;
  overflow: hidden;
}

.category-card:hover {
  border-color: rgba(255,107,26,0.4);
  transform: translateY(-3px);
  background: var(--bg-card-2);
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.category-card:hover::before {
  transform: scaleX(1);
}

.category-icon {
  font-size: 28px;
  margin-bottom: 16px;
  display: inline-flex;
  width: 52px;
  height: 52px;
  background: rgba(255,107,26,0.08);
  border-radius: 12px;
  align-items: center;
  justify-content: center;
}

.category-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.category-card p {
  font-size: 13.5px;
  color: var(--text-dim);
  margin-bottom: 16px;
  line-height: 1.55;
}

.category-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--text-mute);
}

.category-meta .count {
  color: var(--orange);
  font-weight: 700;
}

.category-meta .arrow {
  font-size: 16px;
  transition: transform 0.2s ease;
}

.category-card:hover .category-meta .arrow {
  transform: translateX(4px);
  color: var(--orange);
}

/* ============================================
   ARTICLE LIST
   ============================================ */
.articles-section {
  margin-top: 32px;
}

.articles-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.article-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.2s ease;
}

.article-row:hover {
  border-color: rgba(255,107,26,0.4);
  background: var(--bg-card-2);
  transform: translateX(4px);
}

.article-row.coming-soon {
  opacity: 0.55;
  cursor: not-allowed;
}

.article-row.coming-soon:hover {
  transform: none;
  border-color: var(--border);
  background: var(--bg-card);
}

.article-row-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(255,107,26,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.article-row-content {
  flex: 1;
  min-width: 0;
}

.article-row-cat {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--orange);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
  font-weight: 700;
}

.article-row-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.3;
}

.article-row-desc {
  font-size: 13px;
  color: var(--text-dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-row-status {
  flex-shrink: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 1px;
  padding: 5px 10px;
  border-radius: 6px;
}

.article-row-status.new {
  background: rgba(255,107,26,0.12);
  color: var(--orange);
}

.article-row-status.soon {
  background: var(--bg-elevated);
  color: var(--text-mute);
}

/* ============================================
   ARTICLE PAGE COMPONENTS
   ============================================ */

/* Article hero */
.article-hero {
  position: relative;
  padding: 30px 40px;
  border-radius: 24px;
  background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 40px;
}

.article-hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -30%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,107,26,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.article-hero::after {
  content: '';
  position: absolute;
  bottom: -40%; left: -20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(42,111,255,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.article-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 1.4px;
  margin-bottom: 14px;
  padding: 4px 10px;
  background: rgba(255,107,26,0.1);
  border: 1px solid rgba(255,107,26,0.3);
  border-radius: 100px;
  position: relative;
  z-index: 2;
}

.article-hero-label::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--orange);
  animation: pulse 2s ease-in-out infinite;
}

.article-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

.article-hero h1 .highlight {
  background: linear-gradient(135deg, #fff 0%, #ffb380 35%, var(--orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
  filter: drop-shadow(0 0 30px rgba(255, 107, 26, 0.35));
}

.article-hero-sub {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 560px;
  position: relative;
  z-index: 2;
}

/* Article intro */
.article-intro {
  padding: 0 8px;
  margin-bottom: 56px;
}

.article-intro p {
  font-size: 17px;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.article-intro p strong {
  color: var(--text);
  font-weight: 600;
}

.quote-box {
  margin: 32px 0;
  padding: 24px 28px;
  background: linear-gradient(90deg, rgba(255,107,26,0.08) 0%, transparent 100%);
  border-left: 3px solid var(--orange);
  border-radius: 4px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: 0.5px;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 56px;
}

.stat {
  padding: 20px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
}

.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 11px;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 600;
}

/* Numbered cards (mistakes/tips/steps) */
.numbered-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 64px;
}

.numbered-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.numbered-card:hover {
  border-color: rgba(255,107,26,0.4);
  transform: translateY(-2px);
}

.numbered-card-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
}

.numbered-card-num {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--orange) 0%, #ff4500 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  color: var(--text-strong);
  box-shadow: 0 8px 24px rgba(255,107,26,0.25);
}

.numbered-card-title-wrap { flex: 1; }

.numbered-card-kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--orange);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-weight: 700;
}

.numbered-card-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: 0.5px;
}

/* Card blocks (diagnosis, fix, etc.) */
.card-block {
  padding: 20px 22px;
  border-radius: 12px;
  margin-bottom: 14px;
}

.card-block:last-child { margin-bottom: 0; }

.card-block.diagnosis {
  background: rgba(220, 50, 50, 0.06);
  border-left: 3px solid #dc3232;
}

.card-block.fix {
  background: rgba(42, 111, 255, 0.06);
  border-left: 3px solid var(--blue);
}

.card-block.reality {
  background: rgba(255, 107, 26, 0.06);
  border-left: 3px solid var(--orange);
}

.block-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.block-label.diagnosis-label { color: #ff5555; }
.block-label.fix-label { color: var(--blue); }
.block-label.reality-label { color: var(--orange); }

.block-label .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.card-block p {
  font-size: 15.5px;
  color: var(--text-dim);
  line-height: 1.65;
}

.card-block p strong {
  color: var(--text);
  font-weight: 600;
}

.card-block ul {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

.card-block ul li {
  padding: 6px 0 6px 20px;
  position: relative;
  color: var(--text-dim);
  font-size: 15px;
}

.card-block ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: bold;
}

.example-box {
  margin-top: 14px;
  padding: 16px 18px;
  background: #0a0a0a;
  border: 1px dashed var(--border);
  border-radius: 10px;
  font-size: 14px;
  color: var(--text-dim);
}

.example-box .tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--orange);
  background: rgba(255,107,26,0.1);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
  font-weight: 700;
}

.example-box p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
}

/* Closing section */
.closing {
  margin-top: 64px;
  padding: 48px 40px;
  background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
  border: 1px solid var(--border);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange-bright) 100%);
}

/* Badge „Přečteno" na konci článku */
.read-toggle-wrap {
  display: flex;
  justify-content: center;
  margin: 40px 0 8px;
}
.read-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 22px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.read-toggle:hover { border-color: var(--orange); color: var(--text); }
.read-toggle .rt-box {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border: 1.5px solid var(--text-mute);
  border-radius: 4px;
  position: relative;
  transition: all 0.15s ease;
}
.read-toggle.is-read { border-color: var(--orange); color: var(--orange); }
.read-toggle.is-read .rt-box { background: var(--orange); border-color: var(--orange); }
.read-toggle.is-read .rt-box::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-strong);
}

.closing h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.closing p {
  font-size: 16px;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.closing p strong {
  color: var(--orange);
  font-weight: 600;
}

/* Checklist */
.checklist {
  margin-top: 56px;
  padding: 40px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
}

.checklist h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.checklist-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.checklist-item:last-child { border-bottom: none; }

.checklist-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 2px solid var(--orange);
  border-radius: 6px;
  margin-top: 2px;
  position: relative;
}

.checklist-check::after {
  content: '';
  position: absolute;
  left: 5px; top: 1px;
  width: 6px; height: 11px;
  border: solid var(--orange);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checklist-item p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.5;
}

.checklist-item p span {
  color: var(--text-mute);
  font-size: 14px;
  display: block;
  margin-top: 2px;
}

/* Signoff */
.signoff {
  margin-top: 56px;
  text-align: center;
  padding: 32px 0;
}

.signoff-mark {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  color: var(--text-strong);
  letter-spacing: 3px;
  margin-bottom: 8px;
}

.signoff-text {
  font-size: 14px;
  color: var(--text-mute);
  font-style: italic;
}

/* Article footer nav (prev/next) */
.article-footer-nav {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.footer-nav-link {
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.2s ease;
}

.footer-nav-link:hover {
  border-color: rgba(255,107,26,0.4);
  background: var(--bg-card-2);
}

.footer-nav-link.next { text-align: right; }

.footer-nav-link .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--text-mute);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.footer-nav-link .title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.footer-nav-link.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* ============================================
   COMING SOON PAGE
   ============================================ */
.coming-soon-page {
  text-align: center;
  padding: 80px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
}

.coming-soon-icon {
  font-size: 64px;
  margin-bottom: 24px;
  opacity: 0.6;
}

.coming-soon-page h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.coming-soon-page p {
  font-size: 16px;
  color: var(--text-dim);
  max-width: 460px;
  margin: 0 auto;
}

/* ============================================
   READING PROGRESS BAR
   ============================================ */
.reading-progress {
  position: absolute;
  bottom: -1px;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--orange) 0%, #ff4500 100%);
  box-shadow: 0 0 8px rgba(255, 107, 26, 0.6);
  transition: width 0.1s ease-out;
  z-index: 102;
}

/* ============================================
   ARTICLE META (reading time, date)
   ============================================ */
.article-meta {
  display: none; /* lišta s časem čtení / kategorií / autorem skrytá (Daniel 5/2026) */
  align-items: center;
  gap: 16px;
  margin: 0 0 32px 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.article-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-meta-dot {
  width: 3px;
  height: 3px;
  background: var(--text-mute);
  border-radius: 50%;
}

/* ============================================
   SCROLLSPY — active TOC link in sidebar
   ============================================ */
.sidebar-sublink.toc-active {
  color: var(--orange);
  background: rgba(255, 107, 26, 0.08);
  font-weight: 600;
}

/* ============================================
   COMPARISON GRID (e.g. drone categories A1/A2/A3)
   ============================================ */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0 48px;
}

.compare-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 22px;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.compare-card.featured {
  border-color: rgba(255, 107, 26, 0.5);
  background: linear-gradient(180deg, rgba(255, 107, 26, 0.05) 0%, var(--bg-card) 100%);
  position: relative;
}

.compare-card.featured::before {
  content: 'NEJČASTĚJŠÍ VOLBA';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 1.5px;
  background: var(--orange);
  color: var(--text-strong);
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 700;
}

.compare-card-head {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  color: var(--orange);
  margin-bottom: 4px;
  line-height: 1;
}

.compare-card-sub {
  font-size: 13px;
  color: var(--text-mute);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.compare-card h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.3;
}

.compare-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  color: var(--text-dim);
}

.compare-card ul li {
  padding: 5px 0 5px 16px;
  position: relative;
  line-height: 1.5;
}

.compare-card ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--orange);
}

/* ============================================
   MODEL SHOWCASE (drones recommendations)
   ============================================ */
.model-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 32px 0 48px;
}

.model-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 26px;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 22px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.model-card:hover {
  border-color: rgba(255, 107, 26, 0.4);
  transform: translateY(-2px);
}

.model-card.recommended {
  border-color: rgba(255, 107, 26, 0.45);
}

.model-card.recommended::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--orange), #ff4500);
}

.model-badge {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--orange) 0%, #ff4500 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  color: #000;
  flex-shrink: 0;
}

.model-badge.silver {
  background: linear-gradient(135deg, #b8b8b8 0%, #707070 100%);
  color: #000;
}

.model-badge.bronze {
  background: linear-gradient(135deg, #c97b3d 0%, #8a4f1f 100%);
  color: #000;
}

.model-content { min-width: 0; }

.model-kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--orange);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
  font-weight: 700;
}

.model-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  line-height: 1.1;
}

.model-price {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text);
  background: var(--bg-elevated);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
  font-weight: 700;
}

.model-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.model-spec {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: var(--text-dim);
  background: var(--bg-elevated);
  padding: 4px 9px;
  border-radius: 5px;
  letter-spacing: 0.5px;
}

.model-desc {
  font-size: 14.5px;
  color: var(--text-dim);
  line-height: 1.6;
}

.model-desc strong {
  color: var(--text);
  font-weight: 600;
}

/* ============================================
   LINK CARDS (official sources)
   ============================================ */
.link-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin: 24px 0 16px;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.2s ease;
}

.link-card:hover {
  border-color: rgba(255, 107, 26, 0.5);
  background: var(--bg-card-2);
  transform: translateY(-2px);
}

.link-card-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: rgba(255, 107, 26, 0.1);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.link-card-text { flex: 1; min-width: 0; }

.link-card-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  color: var(--text-mute);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.link-card-url {
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.link-card-arrow {
  flex-shrink: 0;
  color: var(--text-mute);
  font-size: 16px;
  transition: transform 0.2s ease;
}

.link-card:hover .link-card-arrow {
  transform: translateX(3px);
  color: var(--orange);
}

/* ============================================
   WARNING / TIP CALLOUTS
   ============================================ */
.callout {
  margin: 24px 0;
  padding: 20px 24px;
  border-radius: 12px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.callout-icon {
  flex-shrink: 0;
  font-size: 22px;
  line-height: 1;
}

.callout-content { flex: 1; }

.callout-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 6px;
}

.callout p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-dim);
}

.callout p strong { color: var(--text); }

.callout.warning {
  background: rgba(255, 180, 30, 0.08);
  border-left: 3px solid #ffb41e;
}

.callout.warning .callout-title { color: #ffb41e; }

.callout.danger {
  background: rgba(220, 50, 50, 0.08);
  border-left: 3px solid #dc3232;
}

.callout.danger .callout-title { color: #ff5555; }

.callout.tip {
  background: rgba(42, 111, 255, 0.06);
  border-left: 3px solid var(--blue);
}

.callout.tip .callout-title { color: var(--blue); }

.callout.success {
  background: rgba(80, 200, 120, 0.08);
  border-left: 3px solid #50c878;
}

.callout.success .callout-title { color: #50c878; }

/* ============================================
   STEP LIST (procesní kroky)
   ============================================ */
.step-list {
  margin: 28px 0 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: rgba(255, 107, 26, 0.1);
  border: 1px solid rgba(255, 107, 26, 0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  color: var(--orange);
}

.step-content { flex: 1; }

.step-content h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.step-content p {
  font-size: 14.5px;
  color: var(--text-dim);
  line-height: 1.55;
}

.step-content p strong {
  color: var(--text);
  font-weight: 600;
}

.step-content a {
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 107, 26, 0.4);
  font-weight: 600;
}

.step-content a:hover {
  border-bottom-color: var(--orange);
}

/* Inline odkazy v textu článku — oranžové a podtržené (čitelné, v brandu) */
.article-intro a,
.main-inner > p a,
.card-block a,
.callout-content a,
.example-box a,
.closing a,
.compare-card a,
.model-desc a,
.home-prose a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  font-weight: 600;
  transition: color 0.15s ease;
}
.article-intro a:hover,
.main-inner > p a:hover,
.card-block a:hover,
.callout-content a:hover,
.example-box a:hover,
.closing a:hover,
.compare-card a:hover,
.model-desc a:hover,
.home-prose a:hover {
  color: var(--orange-bright);
}

/* ============================================
   HOMEPAGE — PROLOG, PŘÍSTUP, CTA
   ============================================ */
.home-prose { max-width: 680px; margin-bottom: 56px; }
.home-lead {
  font-size: 21px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 20px;
}
.home-prose p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-dim);
  margin-bottom: 16px;
}
.home-goal { font-size: 18px !important; color: var(--text) !important; }
.highlight-text {
  background: linear-gradient(180deg, #ffffff 0%, #ff9550 70%, var(--orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 700;
}

.section-sub {
  color: var(--text-dim);
  font-size: 16px;
  margin: -8px 0 28px;
}

/* Free vs placená */
.access-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 56px;
  align-items: stretch;
}
.access-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.access-card.free {
  background:
    radial-gradient(circle at 12% 0%, rgba(255,107,26,.11), transparent 34%),
    linear-gradient(160deg, rgba(255,255,255,.035), rgba(255,255,255,.012)),
    var(--bg-card);
  border-color: rgba(255,255,255,.12);
}
.access-card.free::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,107,26,.45), transparent);
}
.access-card.featured {
  border-color: rgba(255,107,26,0.55);
  background: linear-gradient(160deg, rgba(255,107,26,0.10) 0%, var(--bg-card) 55%);
  box-shadow: 0 12px 40px rgba(255,107,26,0.10);
}
@media (min-width: 861px) {
  .access-card.featured { transform: scale(1.04); z-index: 1; }
}
.access-tag {
  position: absolute;
  top: -11px; left: 28px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-strong);
  background: var(--orange);
  padding: 4px 12px;
  border-radius: 6px;
}
.access-head {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 30px;
  letter-spacing: 1px;
  color: var(--text);
  margin-bottom: 4px;
}
.access-card.free .access-head {
  width: fit-content;
  padding: 5px 9px 4px;
  border: 1px solid rgba(255,107,26,.26);
  border-radius: 999px;
  background: rgba(255,107,26,.075);
  color: var(--orange-bright);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 1.8px;
  margin-bottom: 14px;
}
.access-card.featured .access-head { color: var(--orange); }
.access-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 18px;
}
.access-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.access-list li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-dim);
}
.access-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--text-mute);
  font-weight: 700;
}
.access-card.featured .access-list li::before { color: var(--orange); }
.access-card.featured .access-list li { color: var(--text); }
.access-card.academy .access-list li { color: var(--text); }
.access-card.academy .access-list li::before { color: var(--orange); }
.access-card.free .access-list li:not(.unavailable) { color: var(--text); }
.access-card.free .access-list li:not(.unavailable)::before { color: var(--orange); }
.access-list li.unavailable {
  color: var(--text-mute);
}
.access-list li.unavailable::before {
  content: '–';
  color: var(--text-mute);
}
.access-logo {
  width: 205px;
  height: 34px;
  margin: 0 0 8px;
  background: url('logo-kenji.png') no-repeat left center;
  background-size: contain;
  text-indent: -9999px;
  overflow: hidden;
  white-space: nowrap;
}

/* --- cena (přeškrtnutá → akční) --- */
.access-priceblock { margin: 4px 0 16px; }
.access-card.free .access-priceblock {
  margin: 0 0 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price-new {
  font-family: 'Bebas Neue', sans-serif; font-size: 40px; line-height: 1;
  color: var(--text); letter-spacing: 1px;
}
.access-card.featured .price-new { color: var(--orange); }
.price-old {
  font-size: 16px; color: var(--text-mute); text-decoration: line-through;
  font-weight: 600;
}
.price-free { font-family: 'Bebas Neue', sans-serif; font-size: 40px; line-height: 1; color: var(--text); letter-spacing: 1px; }
.access-card.free .price-free {
  font-size: 52px;
  line-height: .88;
  letter-spacing: .5px;
}
.price-note { font-size: 12px; color: var(--text-dim); margin-top: 6px; }
.access-card.free .price-note {
  max-width: 210px;
  margin-top: 10px;
  color: rgba(255,255,255,.58);
  font-size: 13px;
  line-height: 1.45;
}
.price-guarantee {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  margin-top: 10px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.65);
  background: rgba(6, 78, 59, 0.72);
  color: #7ff0b2;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.16);
}
.price-guarantee-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- urgence (odpočet) --- */
.access-urgency {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; color: #ffcaa6;
  background: rgba(255,107,26,0.12); border: 1px solid rgba(255,107,26,0.3);
  border-radius: 8px; padding: 8px 12px; margin-bottom: 14px;
}
.access-urgency .uc-time { font-family: 'JetBrains Mono', monospace; color: var(--text-strong); letter-spacing: .5px; }

/* --- CTA tlačítko v kartě --- */
.access-list { flex: 1; }
.access-cta {
  display: block; text-align: center; margin-top: 22px;
  font-family: inherit; font-size: 15px; font-weight: 700; cursor: pointer;
  padding: 13px 18px; border-radius: 11px; text-decoration: none;
  border: 1px solid var(--border); background: transparent; color: var(--text);
  transition: filter .15s, transform .15s, border-color .15s, background .15s; width: 100%;
}
.access-cta:hover { border-color: var(--text-dim); transform: translateY(-1px); }
.access-cta.primary {
  background: linear-gradient(135deg, var(--orange) 0%, #ff4500 100%);
  border-color: transparent; color: var(--text-strong);
}
.access-cta.primary:hover { filter: brightness(1.08); }
.access-cta.access-current {
  background: transparent; border-color: rgba(52,211,153,.35); color: #34d399;
  cursor: default; font-weight: 600;
}
.access-cta.access-current:hover { transform: none; border-color: rgba(52,211,153,.35); }

/* Stav členství podle reálného tieru uživatele (řídí auth.js → markHomepagePlan) */
.access-card.is-current { border-color: rgba(52,211,153,.45); box-shadow: 0 0 0 1px rgba(52,211,153,.25); }
.access-card.is-owned { opacity: .68; }
.access-card.is-owned:hover { opacity: .9; }

@media (max-width: 860px) {
  .access-grid { grid-template-columns: 1fr; }
}

.home-cta { margin-top: 0; }

/* Homepage reviews */
.home-reviews {
  margin: 66px 0 8px;
  padding: 34px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 22px;
  background:
    radial-gradient(circle at 16% 0%, rgba(255,107,26,.16), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.048), rgba(255,255,255,.015));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.075),
    0 24px 70px rgba(0,0,0,.22);
  overflow: hidden;
}
.home-reviews-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 26px;
}
.reviews-kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 9px;
}
.home-reviews h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  line-height: .95;
  letter-spacing: .5px;
  color: var(--text);
}
.reviews-score {
  flex: 0 0 auto;
  display: grid;
  gap: 4px;
  min-width: 168px;
  padding: 15px 18px;
  border: 1px solid rgba(255,107,26,.28);
  border-radius: 16px;
  background: rgba(255,107,26,.075);
  text-align: right;
}
.reviews-score-stars,
.review-stars {
  color: #ffc545;
  letter-spacing: 1.5px;
  text-shadow: 0 0 18px rgba(255,197,69,.18);
}
.reviews-score strong {
  color: var(--text);
  font-size: 22px;
  line-height: 1;
}
.reviews-score span:last-child {
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 700;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.review-card {
  position: relative;
  min-height: 100%;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.105);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018)),
    var(--bg-card);
}
.review-card::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,107,26,.55), transparent);
}
.review-top {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 16px;
}
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--text-strong);
  font-size: 13px;
  font-weight: 900;
  background:
    radial-gradient(circle at 30% 22%, rgba(255,255,255,.35), transparent 30%),
    linear-gradient(135deg, var(--orange), #8a2f00);
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 10px 24px rgba(255,107,26,.16);
}
.review-top h3 {
  color: var(--text);
  font-size: 17px;
  line-height: 1.15;
  margin-bottom: 4px;
}
.review-top span {
  color: var(--text-mute);
  font-size: 11px;
  font-weight: 700;
}
.review-stars {
  font-size: 16px;
  margin-bottom: 14px;
}
.review-card p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.65;
}

@media (max-width: 860px) {
  .home-reviews { padding: 28px; }
  .home-reviews-head { flex-direction: column; }
  .reviews-score { width: 100%; text-align: left; }
  .reviews-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .home-reviews { margin-top: 48px; padding: 22px 18px; border-radius: 18px; }
  .review-card { padding: 19px; }
  .review-card p { font-size: 13px; }
}

/* ============================================
   ČLENSTVÍ / PŘIHLÁŠENÍ / PAYWALL
   ============================================ */

/* Tlačítko přihlášení v hlavičce */
.auth-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  color: #1f1f1f;
  border: 1px solid #dadce0;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 16px;
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}
.auth-btn:hover { background: #f5f5f5; box-shadow: 0 1px 6px rgba(0,0,0,0.25); }

/* Google "G" — barevné na bílém tlačítku */
.g-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  background: #fff;
  color: #4285F4;
  border-radius: 2px;
  font-weight: 900;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
}

/* Přihlášený uživatel */
.auth-user { display: inline-flex; align-items: center; gap: 10px; }

.auth-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 3px 7px;
  border-radius: 4px;
}
.auth-badge.member { background: rgba(255,255,255,0.12); color: var(--text-strong); }
.auth-badge.free { background: var(--bg-card); color: var(--text-mute); }

.auth-name { font-size: 13px; font-weight: 600; color: var(--text); }

.auth-logout {
  background: var(--bg-card);
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 6px;
  width: 28px; height: 28px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.15s ease;
}
.auth-logout:hover { color: var(--orange); border-color: var(--orange); }

/* Zamčené položky na homepage / v sidebaru */
.article-row.locked { opacity: 0.78; }
.article-row.locked .article-row-status { display: none; }
.lock-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--orange);
  background: rgba(255,107,26,0.1);
  border: 1px solid rgba(255,107,26,0.25);
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}
.sidebar-sublink.locked::after {
  content: '🔒';
  position: absolute;
  top: 50%;
  right: 7px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(255,107,26,.26);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,107,26,.18), transparent 70%),
    rgba(255,107,26,.075);
  color: var(--orange);
  font-size: 10px;
  line-height: 1;
  box-shadow: 0 0 18px rgba(255,107,26,.08);
}
.sidebar-sublink.locked {
  padding-right: 36px;
  color: rgba(166,166,166,.62);
}
.sidebar-sublink.locked .read-check {
  opacity: .35;
}
.sidebar-sublink.locked:hover {
  background: rgba(255,107,26,.055);
  color: var(--text-dim);
}
.sidebar-sublink.locked:hover::after {
  border-color: rgba(255,107,26,.42);
  background:
    radial-gradient(circle at 50% 0%, rgba(255,107,26,.24), transparent 70%),
    rgba(255,107,26,.11);
}

/* Paywall (teaser cut v premium článku) */
.paywall {
  margin-top: 16px;
  padding: 48px 40px;
  text-align: center;
  background: linear-gradient(160deg, rgba(255,107,26,0.08) 0%, var(--bg-card) 60%);
  border: 1px solid rgba(255,107,26,0.25);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}
.paywall::before {
  content: '';
  position: absolute;
  top: -120px; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}
.paywall-lock { font-size: 40px; margin-bottom: 12px; }
.paywall-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 38px;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  color: var(--text);
}
.paywall-text {
  max-width: 460px;
  margin: 0 auto 24px;
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.6;
}
.paywall-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.paywall-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: var(--text-strong);
  text-decoration: none;
  border: none;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(255,107,26,0.3);
  transition: transform 0.15s ease, background 0.15s ease;
}
.paywall-cta:hover { background: var(--orange-bright); transform: translateY(-2px); }

/* Google login v paywallu — bílé, jako v hlavičce (ne oranžové) */
.paywall-cta-google {
  background: #fff;
  color: #1f1f1f;
  border: 1px solid #dadce0;
  box-shadow: none;
}
.paywall-cta-google:hover {
  background: #f5f5f5;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

.paywall-note { font-size: 13px; color: var(--text-mute); }
.paywall-note a {
  color: var(--text-dim);
  text-decoration: underline;
  text-decoration-color: rgba(255,107,26,.55);
  text-underline-offset: 3px;
  transition: color .15s, text-decoration-color .15s;
}
.paywall-note a:hover {
  color: var(--orange-bright);
  text-decoration-color: currentColor;
}

/* Promo banner na konci free článků */
.promo-banner {
  margin: 48px 0 0;
  padding: 36px 32px;
  border-radius: 20px;
  background: linear-gradient(135deg, #1a1208 0%, #14100c 100%);
  border: 1px solid rgba(255,107,26,0.3);
  position: relative;
  overflow: hidden;
}
.promo-banner::after {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(255,107,26,0.16) 0%, transparent 60%);
  pointer-events: none;
}
.promo-kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--orange);
  font-weight: 700;
  margin-bottom: 10px;
}
.promo-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  letter-spacing: 0.5px;
  color: var(--text);
  margin-bottom: 8px;
}
.promo-text { color: var(--text-dim); font-size: 15px; max-width: 540px; margin-bottom: 20px; }
.promo-cta {
  display: inline-block;
  background: var(--orange);
  color: var(--text-strong);
  text-decoration: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 26px;
  transition: transform 0.15s ease, background 0.15s ease;
}
.promo-cta:hover { background: var(--orange-bright); transform: translateY(-2px); }

/* Demo přihlášení (dočasné, dokud nejsou Supabase klíče) */
.demo-auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.demo-auth-modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  max-width: 420px;
  width: 100%;
}
.demo-auth-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--orange);
  font-weight: 700;
  margin-bottom: 10px;
}
.demo-auth-modal h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  color: var(--text);
  margin-bottom: 8px;
}
.demo-auth-modal > p { color: var(--text-dim); font-size: 14px; margin-bottom: 20px; }
.demo-opt {
  display: block;
  width: 100%;
  text-align: left;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.demo-opt:hover { border-color: var(--orange); transform: translateY(-1px); }
.demo-opt strong { display: block; color: var(--text); font-size: 15px; margin-bottom: 2px; }
.demo-opt span { color: var(--text-mute); font-size: 12px; }
.demo-opt.member:hover { background: rgba(255,107,26,0.08); }
.demo-close {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text-mute);
  font-size: 13px;
  padding: 8px;
  cursor: pointer;
}
.demo-close:hover { color: var(--text-dim); }

/* ============================================
   VYHLEDÁVÁNÍ (sidebar)
   ============================================ */
.sidebar-search {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 0;
  margin-bottom: 22px;
}

.sidebar-search .search-icon {
  position: absolute;
  left: 12px;
  font-size: 13px;
  opacity: 0.6;
  pointer-events: none;
}

.search-input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  padding: 9px 34px 9px 34px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.search-input::placeholder { color: var(--text-mute); }

.search-input:focus {
  outline: none;
  border-color: var(--orange);
  background: var(--bg-card-2);
}

.search-kbd {
  position: absolute;
  right: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-mute);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 6px;
  pointer-events: none;
}

.search-input:focus ~ .search-kbd { opacity: 0; }

.search-results {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px;
  max-height: 360px;
  overflow-y: auto;
}

.search-results[hidden] { display: none; }

.search-result {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 7px;
  text-decoration: none;
  color: var(--text);
  transition: background 0.12s ease;
}

.search-result:hover { background: var(--bg-elevated); }

.search-result .sr-icon { font-size: 16px; flex-shrink: 0; }

.search-result .sr-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.search-result .sr-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.search-result .sr-cat {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.5px;
  color: var(--text-mute);
  text-transform: uppercase;
}

.search-result.is-soon {
  opacity: 0.55;
  cursor: default;
}

.search-result.is-soon:hover { background: transparent; }

.search-empty {
  padding: 14px 12px;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 968px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .menu-toggle { display: flex; }

  .sidebar {
    position: fixed;
    left: -100%;
    top: var(--header-height);
    width: 80%;
    max-width: 320px;
    height: calc(100vh - var(--header-height));
    z-index: 99;
    transition: left 0.3s ease;
    border-right: 1px solid var(--border);
  }

  .sidebar.open { left: 0; }

  .sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 98;
    top: var(--header-height);
  }

  .sidebar-overlay.show { display: block; }

  .main { padding: 32px 24px 64px; }

  .home-hero { padding: 56px 28px; }
  .article-hero { padding: 22px 26px; }

  .numbered-card { padding: 28px 22px; }
  .numbered-card-header { gap: 14px; }
  .numbered-card-num { width: 48px; height: 48px; font-size: 24px; }
  .numbered-card-title { font-size: 22px; }
  .card-block { padding: 16px; }

  .stats { grid-template-columns: 1fr; }

  .closing { padding: 32px 24px; }
  .closing h2 { font-size: 28px; }

  .checklist { padding: 28px 20px; }

  .article-footer-nav {
    grid-template-columns: 1fr;
  }

  .compare-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .model-card {
    grid-template-columns: 64px 1fr;
    gap: 16px;
    padding: 22px 20px;
  }

  .model-badge {
    width: 60px; height: 60px;
    font-size: 22px;
  }

  .model-name { font-size: 22px; }
  .step-item { padding: 16px 18px; gap: 14px; }
}

@media (max-width: 540px) {
  .top-header { padding: 0 16px; gap: 12px; }
  .brand-name { width: 112px; height: 19px; }
  .header-tag { display: none; }

  .home-hero h1 { font-size: 58px; line-height: 1.16; }
  .article-hero h1 { font-size: 36px; }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .access-grid {
    grid-template-columns: 1fr;
  }

  .link-cards {
    grid-template-columns: 1fr;
  }

  .model-card {
    grid-template-columns: 1fr;
  }

  .model-badge {
    width: 52px; height: 52px;
  }
}

/* Academy sales page 2026 - outcome-led, product-first */
.academy-sale-body {
  color: #f5f5f2;
  background: #080808;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
.academy-page.academy-sale-page {
  width: 100%;
  padding: 0;
  overflow-x: clip;
  overflow-y: visible;
}
.academy-sale-page *,
.academy-sale-page *::before,
.academy-sale-page *::after { min-width: 0; }
.academy-sale-wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.academy-sale-top { padding-inline: max(24px, calc((100vw - 1180px) / 2)); }
.academy-sale-top .academy-top-cta { white-space: normal; text-align: center; }
.academy-sale-hero .hero4-inner { width: min(1180px, calc(100% - 48px)); }
.academy-sale-hero .hero4-title { max-width: 11.5ch; font-size: clamp(3.5rem, 6.4vw, 5.5rem); }
.academy-sale-hero .hero4-lead { max-width: 610px; }
.academy-free-link {
  display: inline-block;
  margin-top: 14px;
  color: #858585;
  font-size: .8125rem;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.2);
  text-underline-offset: 4px;
}
.academy-free-link:hover { color: #d7d7d3; }

.academy-proofbar {
  border-block: 1px solid rgba(255,255,255,.09);
  background: #0d0d0d;
}
.academy-proofbar-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.academy-proofbar-grid > div {
  min-width: 0;
  padding: 24px 28px;
  border-right: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.academy-proofbar-grid > div:first-child { border-left: 1px solid rgba(255,255,255,.08); }
.academy-proofbar-grid strong { color: #ff6b1a; font-family: 'Bebas Neue', sans-serif; font-size: 2rem; font-weight: 400; line-height: 1; }
.academy-proofbar-grid span { color: #929292; font-size: .75rem; line-height: 1.35; }

.academy-sale-section { padding: 108px 0; }
.academy-sale-section:nth-of-type(even) { background: #0b0b0b; }
.academy-sale-eyebrow {
  margin: 0 0 18px;
  color: #ff6b1a;
  font-family: 'JetBrains Mono', monospace;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.5;
  text-transform: uppercase;
}
.academy-sale-heading { max-width: 780px; margin: 0 auto 52px; text-align: center; }
.academy-sale-heading h2,
.academy-problem h2,
.academy-mentor h2,
.academy-roi-sale h2,
.academy-offer h2,
.academy-faq-sale h2,
.academy-final-sale h2 {
  margin: 0;
  color: #f5f5f2;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.75rem, 5.2vw, 4.75rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: .98;
  overflow-wrap: anywhere;
}
.academy-sale-heading > p:last-child {
  max-width: 680px;
  margin: 22px auto 0;
  color: #999;
  font-size: 1rem;
  line-height: 1.7;
}

.academy-problem-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 88px; align-items: center; }
.academy-problem-copy > p:not(.academy-sale-eyebrow) { color: #a0a0a0; font-size: 1rem; line-height: 1.75; }
.academy-problem-copy h2 { max-width: 10ch; margin-bottom: 26px; }
.academy-problem-copy .academy-problem-emphasis {
  margin-top: 26px;
  padding-left: 18px;
  border-left: 2px solid #ff6b1a;
  color: #e8e8e4;
}
.academy-cost-visual { border: 1px solid rgba(255,255,255,.12); background: #111; box-shadow: 0 32px 70px -45px rgba(255,107,26,.8); }
.academy-cost-head,
.academy-cost-row,
.academy-cost-total,
.academy-cost-result { display: flex; justify-content: space-between; gap: 24px; padding: 18px 22px; }
.academy-cost-head { border-bottom: 1px solid rgba(255,255,255,.1); color: #6f6f6f; font-family: 'JetBrains Mono', monospace; font-size: .625rem; letter-spacing: .1em; text-transform: uppercase; }
.academy-cost-row { border-bottom: 1px solid rgba(255,255,255,.07); color: #999; font-size: .875rem; }
.academy-cost-row span { overflow-wrap: anywhere; }
.academy-cost-row strong { color: #ddd; white-space: normal; text-align: right; }
.academy-cost-row .is-zero { color: #ff6b1a; }
.academy-cost-total { align-items: end; color: #bbb; }
.academy-cost-total strong { color: #f5f5f2; font-family: 'Bebas Neue', sans-serif; font-size: clamp(2rem, 9vw, 2.3rem); font-weight: 400; line-height: 1; white-space: normal; text-align: right; }
.academy-cost-result { margin: 0 12px 12px; border: 1px solid rgba(255,107,26,.28); background: rgba(255,107,26,.07); color: #b6b6b6; font-size: .8125rem; }
.academy-cost-result strong { color: #ff8440; }

.academy-roadmap-track { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.academy-roadmap-track::before { content: ''; position: absolute; left: 4%; right: 4%; top: 24px; height: 1px; background: rgba(255,255,255,.14); }
.academy-roadmap-track article { position: relative; min-width: 0; padding: 0 26px; }
.academy-roadmap-track article:first-child { padding-left: 0; }
.academy-roadmap-track article:last-child { padding-right: 0; }
.academy-roadmap-track article > span { position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 26px; border: 1px solid rgba(255,107,26,.6); background: #0b0b0b; color: #ff6b1a; font-family: 'JetBrains Mono', monospace; font-size: .6875rem; }
.academy-roadmap-track h3 { margin: 0 0 10px; font-size: 1.05rem; }
.academy-roadmap-track p { margin: 0; color: #858585; font-size: .875rem; line-height: 1.65; }

.academy-app-demo { border: 1px solid rgba(255,255,255,.14); background: #0e0e0e; box-shadow: 0 40px 90px -55px rgba(255,107,26,.85); }
.academy-app-bar { position: relative; display: flex; align-items: center; gap: 7px; height: 42px; padding: 0 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.academy-app-bar > span { width: 7px; height: 7px; border-radius: 50%; background: #343434; }
.academy-app-bar > span:first-child { background: #ff6b1a; }
.academy-app-bar strong { position: absolute; left: 50%; transform: translateX(-50%); color: #777; font-family: 'JetBrains Mono', monospace; font-size: .625rem; letter-spacing: .1em; text-transform: uppercase; }
.academy-app-layout { display: grid; grid-template-columns: 190px 1fr; min-height: 520px; }
.academy-app-side { padding: 28px 18px; border-right: 1px solid rgba(255,255,255,.08); display: flex; flex-direction: column; gap: 8px; }
.academy-app-side b { margin: 0 8px 26px; color: #ddd; font-family: 'Bebas Neue', sans-serif; font-size: 1.15rem; font-weight: 400; letter-spacing: .05em; }
.academy-app-side span { padding: 10px 12px; color: #656565; font-size: .75rem; }
.academy-app-side .active { border-left: 2px solid #ff6b1a; background: rgba(255,107,26,.08); color: #eee; }
.academy-app-main { padding: 30px; min-width: 0; }
.academy-app-welcome { display: flex; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.academy-app-welcome div { display: flex; flex-direction: column; gap: 5px; }
.academy-app-welcome small { color: #6f6f6f; }
.academy-app-welcome strong { font-size: 1.25rem; }
.academy-app-welcome > span { align-self: center; padding: 7px 11px; border: 1px solid rgba(255,107,26,.25); color: #ff8240; font-size: .6875rem; }
.academy-app-grid { display: grid; grid-template-columns: 1.4fr .8fr; grid-template-rows: 1fr 1fr; gap: 14px; }
.academy-app-grid > * { min-width: 0; margin: 0; border: 1px solid rgba(255,255,255,.09); background: #141414; }
.academy-app-grid figure { grid-row: 1 / 3; position: relative; overflow: hidden; min-height: 360px; }
.academy-app-grid figure img { width: 100%; height: 100%; object-fit: cover; opacity: .84; }
.academy-app-grid figcaption { position: absolute; inset: auto 0 0; padding: 42px 20px 18px; background: linear-gradient(transparent, rgba(0,0,0,.92)); display: flex; flex-direction: column; gap: 4px; overflow-wrap: anywhere; }
.academy-app-grid small { color: #ff7b31; font-family: 'JetBrains Mono', monospace; font-size: .625rem; letter-spacing: .1em; text-transform: uppercase; }
.academy-app-ai,
.academy-app-community { padding: 20px; display: flex; flex-direction: column; align-items: flex-start; }
.academy-app-ai strong,
.academy-app-community strong { margin-top: 12px; font-size: .875rem; line-height: 1.45; }
.academy-app-ai p { margin: 14px 0; color: #777; font-size: .75rem; line-height: 1.5; }
.academy-app-ai > span { margin-top: auto; color: #aaa; font-size: .6875rem; }
.academy-app-community img { width: 116px; margin-top: auto; }

.academy-course-showcase { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.academy-course-card { position: relative; min-height: 310px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); background: #111; }
.academy-course-card.is-wide { min-height: 390px; }
.academy-course-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.academy-course-card:hover img { transform: scale(1.025); }
.academy-course-card::after { content: ''; position: absolute; inset: 30% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.94)); }
.academy-course-card > div { position: absolute; z-index: 1; inset: auto 24px 22px; }
.academy-course-card span { color: #ff7d34; font-family: 'JetBrains Mono', monospace; font-size: .625rem; letter-spacing: .12em; text-transform: uppercase; }
.academy-course-card h3 { margin: 8px 0 0; font-size: clamp(1.25rem, 2.4vw, 1.75rem); }
.academy-course-card p { margin: 7px 0 0; color: #b1b1b1; font-size: .8125rem; }

.academy-lesson-browser {
  display: grid;
  grid-template-columns: minmax(250px, .72fr) minmax(0, 1.8fr);
  min-height: 440px;
  border: 1px solid rgba(255,255,255,.12);
  background: #0d0d0d;
}
.academy-lesson-tabs { display: grid; grid-template-rows: repeat(4, 1fr); border-right: 1px solid rgba(255,255,255,.1); }
.academy-lesson-tab {
  width: 100%; min-width: 0; display: grid; grid-template-columns: 32px minmax(0,1fr); gap: 15px; align-items: center;
  padding: 20px 22px; border: 0; border-bottom: 1px solid rgba(255,255,255,.08); border-radius: 0;
  background: transparent; color: #f1f1ee; font: inherit; text-align: left; cursor: pointer;
  transition: background .18s ease, box-shadow .18s ease;
}
.academy-lesson-tab:last-child { border-bottom: 0; }
.academy-lesson-tab > span:first-child { color: #666; font: 700 .65rem/1 'JetBrains Mono',monospace; }
.academy-lesson-tab > span:last-child { min-width: 0; display: grid; gap: 7px; }
.academy-lesson-tab small { color: #777; font: 700 .56rem/1 'JetBrains Mono',monospace; letter-spacing: .12em; }
.academy-lesson-tab strong { overflow-wrap: anywhere; font-size: .92rem; line-height: 1.28; }
.academy-lesson-tab:hover { background: rgba(255,255,255,.025); }
.academy-lesson-tab.is-active { background: #15110f; box-shadow: inset 3px 0 #ff6b1a; }
.academy-lesson-tab.is-active > span:first-child,
.academy-lesson-tab.is-active small { color: #ff7930; }
.academy-lesson-tab:focus-visible { position: relative; z-index: 2; outline: 2px solid #ff7930; outline-offset: -3px; }
.academy-lesson-panels { min-width: 0; }
.academy-lesson-panel { min-height: 100%; display: grid; grid-template-columns: minmax(0,1.5fr) minmax(250px,.9fr); }
.academy-lesson-panel[hidden] { display: none; }
.academy-lesson-panel > img { width: 100%; height: 100%; min-height: 440px; display: block; object-fit: cover; }
.academy-lesson-panel > div { min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: clamp(28px,3.5vw,48px); background: #111; }
.academy-lesson-panel > div > span { color: #ff7930; font: 700 .6rem/1 'JetBrains Mono',monospace; letter-spacing: .12em; }
.academy-lesson-panel h3 { margin: 18px 0 14px; color: #f3f3ef; font: 400 clamp(1.8rem,3vw,2.65rem)/.98 'Bebas Neue',sans-serif; letter-spacing: 0; }
.academy-lesson-panel p { margin: 0; color: #9b9b98; font-size: .86rem; line-height: 1.65; }
.academy-lesson-panel > div > strong { margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); color: #d8d8d4; font-size: .76rem; line-height: 1.5; }

.academy-pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid rgba(255,255,255,.1); }
.academy-pillar-grid article { min-width: 0; padding: 34px 30px; border-right: 1px solid rgba(255,255,255,.1); background: #0e0e0e; }
.academy-pillar-grid article:last-child { border-right: 0; }
.academy-pillar-grid article.is-featured { background: #14100e; box-shadow: inset 0 2px #ff6b1a; }
.academy-pillar-num { color: #ff6b1a; font-family: 'JetBrains Mono', monospace; font-size: .6875rem; }
.academy-pillar-grid h3 { margin: 24px 0 22px; font-size: 1.25rem; }
.academy-pillar-grid ul { margin: 0; padding: 0; list-style: none; }
.academy-pillar-grid li { position: relative; margin: 0; padding: 11px 0 11px 20px; border-top: 1px solid rgba(255,255,255,.07); color: #999; font-size: .8125rem; line-height: 1.5; }
.academy-pillar-grid li::before { content: ''; position: absolute; left: 0; top: 17px; width: 6px; height: 6px; border: 1px solid #ff6b1a; }

.academy-review-score { color: #ffb400; font-weight: 700; white-space: nowrap; }

/* --- Recenze: automaticky rolující pás --- */
.academy-marquee { margin-top: 46px; width: 100vw; margin-left: calc(50% - 50vw); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.academy-marquee-track { display: flex; width: max-content; padding: 4px 0; animation: academyMarquee 80s linear infinite; }
.academy-marquee:hover .academy-marquee-track, .academy-marquee:focus-within .academy-marquee-track { animation-play-state: paused; }
.academy-marquee.is-offscreen .academy-marquee-track { animation-play-state: paused; }
@keyframes academyMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.rev-card { flex: 0 0 clamp(288px, 80vw, 384px); margin-right: 16px; display: flex; flex-direction: column; padding: 26px 26px 28px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: #111; white-space: normal; }
.rev-head { display: flex; align-items: center; gap: 13px; }
.rev-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: #222; flex-shrink: 0; }
.rev-monogram { display: grid; place-items: center; color: var(--orange); font: 700 18px/1 'Inter', sans-serif; background: rgba(255,107,26,.12); border: 1px solid rgba(255,107,26,.32); }
.rev-id { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.rev-id strong { color: var(--text-strong); font-size: .95rem; }
.rev-id span { color: #7d7d7d; font: 600 11px/1.2 'JetBrains Mono', monospace; letter-spacing: .01em; }
.rev-stars { margin: 17px 0 11px; color: #ffb400; font-size: 13px; letter-spacing: 2px; }
.rev-text { margin: 0; color: #bdbdbb; font-size: .9rem; line-height: 1.7; }

/* --- Reálné výsledky členů (screenshoty) --- */
.academy-wins { margin-top: 66px; }
.academy-wins-head { max-width: 660px; margin: 0 auto 32px; text-align: center; }
.academy-wins-head p { margin: 0 0 12px; color: var(--orange); font: 700 10px/1 'JetBrains Mono', monospace; letter-spacing: .14em; text-transform: uppercase; }
.academy-wins-head h3 { margin: 0; color: var(--text-strong); font: 400 clamp(28px, 4vw, 40px)/1 'Bebas Neue', sans-serif; }
.academy-wins-head small { display: block; margin-top: 13px; color: #8a8a8a; font-size: 13px; line-height: 1.6; }
.academy-wins-viewport { width: 100vw; margin-inline: 50%; overflow: hidden; transform: translateX(-50%); }
.academy-wins-grid { width: max-content; display: flex; align-items: stretch; gap: 16px; padding-inline: 16px; }
.academy-wins-grid.is-loop-ready { animation: academy-wins-scroll 62s linear infinite; }
.academy-wins-viewport:hover .academy-wins-grid,
.academy-wins-viewport:focus-within .academy-wins-grid { animation-play-state: paused; }
.academy-wins-viewport.is-offscreen .academy-wins-grid { animation-play-state: paused; }
.academy-win-image { position: relative; flex: 0 0 clamp(290px, 34vw, 520px); height: clamp(260px, 27vw, 390px); display: grid; place-items: center; margin: 0; padding: 0; border: 1px solid rgba(255,255,255,.1); border-radius: 8px; background: #0e0e0e; overflow: hidden; cursor: zoom-in; transition: border-color .2s ease, transform .2s ease; }
.academy-win-image:hover { border-color: rgba(255,107,26,.55); transform: translateY(-2px); }
.academy-win-image:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.academy-win-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
@keyframes academy-wins-scroll { to { transform: translateX(calc(-50% - 8px)); } }

.academy-lightbox[hidden] { display: none; }
.academy-lightbox { position: fixed; z-index: 1200; inset: 0; display: grid; grid-template-columns: 52px minmax(0, 1fr) 52px; align-items: center; gap: 18px; padding: clamp(18px, 4vw, 52px); background: rgba(5,5,5,.82); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.academy-lightbox figure { grid-column: 2; width: 100%; min-width: 0; max-width: 1500px; max-height: calc(100dvh - 72px); margin: auto; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.academy-lightbox figure img { display: block; max-width: 100%; max-height: calc(100dvh - 118px); width: auto; height: auto; object-fit: contain; border: 1px solid rgba(255,255,255,.14); border-radius: 6px; box-shadow: 0 30px 90px rgba(0,0,0,.6); }
.academy-lightbox figcaption { max-width: 760px; color: #b8b8b4; font-size: .75rem; line-height: 1.5; text-align: center; }
.academy-lightbox button { width: 48px; height: 48px; padding: 0; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; background: rgba(12,12,12,.78); color: #f4f4f0; font: 400 1.2rem/1 'Inter', sans-serif; cursor: pointer; }
.academy-lightbox button:hover { border-color: rgba(255,107,26,.75); color: #ff7b31; }
.academy-lightbox button:focus-visible { outline: 2px solid #ff7b31; outline-offset: 3px; }
.academy-lightbox-close { position: absolute; top: 18px; right: 18px; z-index: 2; }
.academy-lightbox-nav.is-prev { grid-column: 1; justify-self: end; }
.academy-lightbox-nav.is-next { grid-column: 3; justify-self: start; }
.academy-lightbox-open { overflow: hidden; }

.academy-mentor-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 88px; align-items: center; }
.academy-mentor figure { margin: 0; position: relative; }
.academy-mentor figure::before { content: ''; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid rgba(255,107,26,.32); }
.academy-mentor figure img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 22%; display: block; }
.academy-mentor figcaption { position: relative; z-index: 2; margin: -38px 14px 0; padding: 13px 16px; background: rgba(10,10,10,.88); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(10px); color: #aaa; font-size: .75rem; }
.academy-mentor h2 { max-width: 11ch; }
.academy-mentor-grid > div > p:not(.academy-sale-eyebrow) { color: #999; font-size: 1rem; line-height: 1.75; }
.academy-mentor-quote { margin-top: 28px; padding: 20px 22px; border-left: 2px solid #ff6b1a; background: #111; color: #e5e5e1; font-size: .9375rem; line-height: 1.65; }

.academy-roi-grid { display: grid; grid-template-columns: 1fr .86fr; gap: 80px; align-items: center; }
.academy-roi-grid > div:first-child > p:not(.academy-sale-eyebrow) { color: #999; line-height: 1.75; }
.academy-roi-card { border: 1px solid rgba(255,255,255,.12); background: #111; padding: 26px; }
.academy-roi-label { margin-bottom: 20px; color: #ff7b31; font-family: 'JetBrains Mono', monospace; font-size: .625rem; letter-spacing: .12em; text-transform: uppercase; }
.academy-roi-line { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.08); color: #999; font-size: .8125rem; }
.academy-roi-line strong { color: #ddd; white-space: normal; text-align: right; }
.academy-roi-or { display: flex; align-items: center; gap: 12px; color: #555; font-size: .6875rem; }
.academy-roi-or::before,
.academy-roi-or::after { content: ''; height: 1px; flex: 1; background: rgba(255,255,255,.07); }
.academy-roi-total { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-top: 12px; padding: 22px 0 18px; border-top: 1px solid rgba(255,107,26,.3); color: #bbb; }
.academy-roi-total strong { color: #ff7b31; font-family: 'Bebas Neue', sans-serif; font-size: clamp(1.8rem, 8vw, 2rem); font-weight: 400; white-space: normal; text-align: right; }
.academy-roi-card small { display: block; color: #5f5f5f; font-size: .625rem; line-height: 1.5; }

.academy-offer-card { display: grid; grid-template-columns: 1.25fr .75fr; border: 1px solid rgba(255,107,26,.35); background: #101010; box-shadow: 0 40px 100px -70px rgba(255,107,26,1); }
.academy-offer-copy { padding: 52px; }
.academy-offer-copy > p:not(.academy-sale-eyebrow) { color: #909090; line-height: 1.7; }
.academy-offer-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin-top: 30px; }
.academy-offer-list span { position: relative; padding: 12px 0 12px 20px; border-top: 1px solid rgba(255,255,255,.07); color: #b7b7b4; font-size: .8125rem; }
.academy-offer-list span::before { content: ''; position: absolute; left: 0; top: 17px; width: 7px; height: 7px; background: #ff6b1a; }
.academy-price-card { padding: 52px 38px; border-left: 1px solid rgba(255,255,255,.1); background: #15100d; display: flex; flex-direction: column; align-items: stretch; justify-content: center; text-align: center; }
.academy-price-card > span { color: #777; font-family: 'JetBrains Mono', monospace; font-size: .625rem; letter-spacing: .12em; text-transform: uppercase; }
.academy-price-card > strong { margin-top: 18px; color: #f6f6f2; font-family: 'Bebas Neue', sans-serif; font-size: clamp(3.4rem, 6vw, 5rem); font-weight: 400; line-height: 1; }
.academy-price-card > small { margin: 8px 0 28px; color: #8a8a8a; }
.academy-buy-cta { width: 100%; display: flex; align-items: center; justify-content: center; gap: 12px; }
.academy-buy-cta i { width: 30px; height: 30px; flex: 0 0 30px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.38); border-radius: 50%; background: rgba(255,255,255,.14); font: 700 1rem/1 'Inter',sans-serif; font-style: normal; transition: transform .18s ease, background .18s ease; }
.academy-buy-cta:hover i { transform: translate(2px,-2px); background: rgba(255,255,255,.22); }
.academy-secure-note { margin-top: 14px; color: #666; font-size: .6875rem; }
.academy-price-card .academy-free-link { align-self: center; }

.academy-faq-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 82px; align-items: start; }
.academy-faq-grid > div:first-child > p:last-child { color: #888; line-height: 1.65; }
.academy-faq-list { border-top: 1px solid rgba(255,255,255,.12); }
.academy-faq-list details { border-bottom: 1px solid rgba(255,255,255,.12); }
.academy-faq-list summary { position: relative; padding: 22px 42px 22px 0; color: #e9e9e5; font-size: .9375rem; font-weight: 700; cursor: pointer; list-style: none; }
.academy-faq-list summary::-webkit-details-marker { display: none; }
.academy-faq-list summary::after { content: '+'; position: absolute; right: 4px; top: 19px; color: #ff6b1a; font-family: 'JetBrains Mono', monospace; font-size: 1.25rem; font-weight: 400; }
.academy-faq-list details[open] summary::after { content: '−'; }
.academy-faq-list details p { max-width: 680px; margin: -2px 0 22px; color: #8e8e8e; font-size: .875rem; line-height: 1.7; }

.academy-final-sale { padding: 120px 0; border-top: 1px solid rgba(255,255,255,.09); background: #080808; }
.academy-final-sale-inner { text-align: center; }
.academy-final-sale h2 { max-width: 13ch; margin-inline: auto; }
.academy-final-sale p:not(.academy-sale-eyebrow) { max-width: 620px; margin: 22px auto 30px; color: #919191; line-height: 1.7; }
.academy-final-actions { justify-content: center; }
.academy-sale-footer { max-width: 1180px; }

@media (max-width: 980px) {
  .academy-sale-section { padding: 84px 0; }
  .academy-proofbar-grid { grid-template-columns: 1fr 1fr; }
  .academy-proofbar-grid > div:nth-child(2) { border-right: 0; }
  .academy-proofbar-grid > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.08); }
  .academy-problem-grid,
  .academy-mentor-grid,
  .academy-roi-grid { gap: 52px; }
  .academy-roadmap-track { grid-template-columns: 1fr 1fr; gap: 40px 18px; }
  .academy-roadmap-track::before { display: none; }
  .academy-roadmap-track article { padding: 0; }
  .academy-offer-card { grid-template-columns: 1fr; }
  .academy-price-card { border-left: 0; border-top: 1px solid rgba(255,255,255,.1); }
}

@media (max-width: 760px) {
  .academy-sale-wrap,
  .academy-sale-hero .hero4-inner { width: min(100% - 32px, 1180px); }
  .academy-sale-top { padding-inline: 16px; }
  .academy-sale-top .academy-top-link { display: none; }
  .academy-sale-top .academy-top-cta { padding-inline: 14px; }
  .academy-sale-hero .hero4-title { font-size: clamp(3rem, 14vw, 4.5rem); }
  .academy-sale-page .hero4-copy { min-width: 0; }
  .academy-sale-page .hero4-actions {
    align-items: flex-start;
    max-width: 100%;
  }
  .academy-sale-page .academy-final-actions { align-items: center; }
  .academy-sale-page .hero4-cta,
  .academy-sale-page .hero4-ghost {
    width: auto;
    max-width: 100%;
    min-height: 50px;
    padding-inline: 18px;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
  }
  .academy-sale-page .academy-buy-cta { width: 100%; }
  .academy-sale-section { padding: 68px 0; }
  .academy-problem-grid,
  .academy-mentor-grid,
  .academy-roi-grid,
  .academy-faq-grid { grid-template-columns: 1fr; gap: 44px; }
  .academy-app-layout { grid-template-columns: 1fr; min-height: 0; }
  .academy-app-side { display: none; }
  .academy-app-main { padding: 20px; }
  .academy-app-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .academy-app-grid figure { grid-row: auto; min-height: 290px; }
  .academy-app-ai,
  .academy-app-community { min-height: 160px; }
  .academy-course-showcase { grid-template-columns: 1fr; }
  .academy-course-card,
  .academy-course-card.is-wide { min-height: min(62vw, 360px); }
  .academy-lesson-browser { grid-template-columns: 1fr; min-height: 0; }
  .academy-lesson-tabs { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: repeat(2,auto); border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .academy-lesson-tab { min-height: 92px; padding: 16px; border-right: 1px solid rgba(255,255,255,.08); }
  .academy-lesson-tab:nth-child(2n) { border-right: 0; }
  .academy-lesson-tab:nth-child(3) { border-bottom: 0; }
  .academy-lesson-tab.is-active { box-shadow: inset 0 3px #ff6b1a; }
  .academy-lesson-panel { grid-template-columns: 1fr; }
  .academy-lesson-panel > img { min-height: 0; aspect-ratio: 16/10; }
  .academy-lesson-panel > div { padding: 25px 22px 27px; }
  .academy-pillar-grid { grid-template-columns: 1fr; }
  .academy-pillar-grid article { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .academy-pillar-grid article:last-child { border-bottom: 0; }
  .academy-offer-copy { padding: 36px 24px; }
  .academy-offer-list { grid-template-columns: 1fr; }
  .academy-price-card { padding: 38px 24px; }
}

@media (max-width: 520px) {
  .academy-sale-wrap,
  .academy-sale-hero .hero4-inner { width: min(100% - 28px, 1180px); }
  .academy-proofbar-grid > div { padding: 18px 12px; flex-direction: column; gap: 5px; align-items: flex-start; }
  .academy-proofbar-grid strong { font-size: 1.7rem; }
  .academy-sale-heading h2,
  .academy-problem h2,
  .academy-mentor h2,
  .academy-roi-sale h2,
  .academy-offer h2,
  .academy-faq-sale h2,
  .academy-final-sale h2 { font-size: clamp(2.5rem, 13vw, 3.6rem); }
  .academy-cost-head,
  .academy-cost-row,
  .academy-cost-total,
  .academy-cost-result { padding: 15px 14px; gap: 12px; }
  .academy-cost-row,
  .academy-cost-total { flex-direction: column; align-items: flex-start; }
  .academy-cost-row strong,
  .academy-cost-total strong { text-align: left; }
  .academy-roadmap-track { grid-template-columns: 1fr; }
  .academy-app-welcome { flex-direction: column; }
  .academy-app-welcome > span { align-self: flex-start; }
  .academy-win-image { flex-basis: min(82vw, 430px); height: min(72vw, 350px); }
  .academy-lightbox { grid-template-columns: 1fr; padding: 64px 12px 76px; }
  .academy-lightbox figure { grid-column: 1; max-height: calc(100dvh - 140px); }
  .academy-lightbox figure img { max-height: calc(100dvh - 174px); }
  .academy-lightbox-nav { position: absolute; bottom: 16px; }
  .academy-lightbox-nav.is-prev { left: calc(50% - 58px); }
  .academy-lightbox-nav.is-next { right: calc(50% - 58px); }
  .academy-roi-line,
  .academy-roi-total { flex-direction: column; align-items: flex-start; gap: 7px; }
  .academy-roi-line strong,
  .academy-roi-total strong { text-align: left; }
  .academy-final-sale { padding: 84px 0; }
}

@media (max-width: 360px) {
  .academy-sale-wrap,
  .academy-sale-hero .hero4-inner { width: min(100% - 24px, 1180px); }
  .academy-sale-hero .hero4-title { font-size: clamp(2.75rem, 13.2vw, 3.6rem); }
  .academy-sale-page .hero4-actions {
    align-items: flex-start;
    max-width: 100%;
  }
  .academy-sale-page .academy-final-actions { align-items: center; }
  .academy-sale-page .hero4-chip {
    max-width: min(76vw, 230px);
    white-space: normal;
    line-height: 1.25;
  }
  .academy-price-card,
  .academy-offer-copy,
  .academy-roi-card,
  .academy-pillar-grid article { padding-left: 18px; padding-right: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .academy-sale-page *,
  .academy-sale-page *::before,
  .academy-sale-page *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .academy-marquee { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .academy-marquee-track { width: max-content; }
  .academy-wins-viewport { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
}

/* ============================================
   COMPONENTS PRO ČLÁNEK O DRONECH
   (a obecně pro budoucí články)
   ============================================ */

/* OFICIAL LINK BOX */
.official-links {
  margin: 32px 0;
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(42,111,255,0.04), rgba(42,111,255,0.02));
  border: 1px solid rgba(42,111,255,0.25);
  border-radius: 14px;
}

.official-links-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.official-links-title::before {
  content: '🔗';
  font-size: 14px;
}

.official-links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.official-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(0,0,0,0.3);
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.2s ease;
}

.official-link:hover {
  background: rgba(42,111,255,0.08);
  transform: translateX(4px);
}

.official-link-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: rgba(42,111,255,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.official-link-content {
  flex: 1;
  min-width: 0;
}

.official-link-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
  color: var(--text);
}

.official-link-url {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--blue);
  word-break: break-all;
}

.official-link-arrow {
  flex-shrink: 0;
  color: var(--text-mute);
  font-size: 18px;
  align-self: center;
}

/* CATEGORY CARDS (A1, A2, A3) */
.category-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 32px 0 56px;
}

.cat-pill {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 22px;
  position: relative;
  overflow: hidden;
}

.cat-pill.recommended {
  border-color: var(--orange);
  background: linear-gradient(135deg, rgba(255,107,26,0.05), var(--bg-card));
}

.cat-pill-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 1.5px;
  padding: 4px 8px;
  border-radius: 5px;
  background: var(--orange);
  color: var(--text-strong);
  font-weight: 700;
}

.cat-pill-letter {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  line-height: 1;
  color: var(--orange);
  margin-bottom: 14px;
  letter-spacing: -2px;
}

.cat-pill-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  color: var(--text);
}

.cat-pill-specs {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cat-pill-specs li {
  font-size: 13px;
  color: var(--text-dim);
  padding: 5px 0;
  line-height: 1.45;
  border-bottom: 1px solid var(--border);
}

.cat-pill-specs li:last-child { border-bottom: none; }

.cat-pill-specs li strong {
  color: var(--text);
  font-weight: 600;
}

/* MODEL RECOMMENDATION CARDS */
.model-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 48px;
}

.model-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 28px;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}

.model-card:hover {
  border-color: rgba(255,107,26,0.4);
  transform: translateY(-2px);
}

.model-card.gold {
  border-color: rgba(255,107,26,0.4);
  background: linear-gradient(135deg, rgba(255,107,26,0.04), var(--bg-card));
}

.model-rank {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.model-medal {
  font-size: 48px;
  line-height: 1;
}

.model-rank-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--text-mute);
  text-transform: uppercase;
  text-align: center;
}

.model-content {
  min-width: 0;
}

.model-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  color: var(--text);
}

.model-tagline {
  font-size: 14px;
  color: var(--orange);
  margin-bottom: 16px;
  font-weight: 600;
}

.model-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
  padding: 14px 16px;
  background: rgba(0,0,0,0.3);
  border-radius: 10px;
}

.model-spec {
  font-size: 12px;
}

.model-spec-label {
  display: block;
  color: var(--text-mute);
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.model-spec-value {
  color: var(--text);
  font-weight: 600;
  font-size: 13px;
}

.model-desc {
  font-size: 14.5px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 14px;
}

.model-price {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: rgba(255,107,26,0.1);
  border: 1px solid rgba(255,107,26,0.3);
  border-radius: 100px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.5px;
}

.model-for {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-dim);
}

.model-for strong {
  color: var(--text);
}

@media (max-width: 640px) {
  .model-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 24px 20px;
  }
  .model-rank { flex-direction: row; }
  .model-medal { font-size: 40px; }
  .category-pills { grid-template-columns: 1fr; }
}

/* INFO BOX (warning/tip/note) */
.info-box {
  margin: 32px 0;
  padding: 20px 24px;
  border-radius: 12px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.info-box.warning {
  background: rgba(220, 50, 50, 0.08);
  border-left: 3px solid #dc3232;
}

.info-box.tip {
  background: rgba(42, 111, 255, 0.06);
  border-left: 3px solid var(--blue);
}

.info-box.note {
  background: rgba(255, 107, 26, 0.06);
  border-left: 3px solid var(--orange);
}

.info-box-icon {
  flex-shrink: 0;
  font-size: 20px;
  margin-top: 2px;
}

.info-box-content {
  flex: 1;
}

.info-box-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 6px;
}

.info-box.warning .info-box-title { color: #ff5555; }
.info-box.tip .info-box-title { color: var(--blue); }
.info-box.note .info-box-title { color: var(--orange); }

.info-box-content p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.6;
}

.info-box-content p strong {
  color: var(--text);
}

/* ČLÁNEK BODY PROSE */
.article-body {
  padding: 0 8px;
  margin-bottom: 48px;
}

.article-body p {
  font-size: 16.5px;
  color: var(--text-dim);
  margin-bottom: 18px;
  line-height: 1.7;
}

.article-body p strong {
  color: var(--text);
  font-weight: 600;
}

.article-body h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  letter-spacing: 0.5px;
  color: var(--text);
  margin: 36px 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.article-body h3::before {
  content: '';
  width: 24px;
  height: 3px;
  background: var(--orange);
  flex-shrink: 0;
}

.article-body ul {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
}

.article-body ul li {
  position: relative;
  padding: 8px 0 8px 24px;
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.6;
}

.article-body ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: bold;
  font-size: 18px;
}

.article-body ul li strong {
  color: var(--text);
  font-weight: 600;
}

/* ============================================
   KVÍZ
   ============================================ */
.quiz-app { margin-top: 8px; }

/* --- pravidla nahoře --- */
.quiz-rules {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  font-size: 14px; color: var(--text-dim);
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 14px 18px; margin-bottom: 28px;
}
.quiz-rules strong { color: var(--text); }
.qr-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--text-mute); }

/* --- mřížka levelů --- */
.quiz-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
  margin-bottom: 32px;
}
.quiz-level-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 24px; display: flex; flex-direction: column;
  transition: border-color .2s, transform .2s;
}
.quiz-level-card:not(.is-locked):hover { border-color: var(--border-accent); transform: translateY(-2px); }
.quiz-level-card.is-done { border-color: rgba(52,211,153,.35); }
.quiz-level-card.is-locked { opacity: .55; }
.ql-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.ql-icon { font-size: 30px; line-height: 1; }
.ql-belt {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--text-dim);
  border: 1px solid var(--border); border-radius: 6px; padding: 4px 8px;
}
.ql-name { font-size: 20px; font-weight: 800; margin: 0 0 6px; color: var(--text); }
.ql-desc { font-size: 14px; color: var(--text-dim); line-height: 1.55; margin: 0 0 18px; flex: 1; }
.ql-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ql-status { font-size: 13px; font-weight: 600; }
.ql-status.done { color: #34d399; }
.ql-status.open { color: var(--orange-bright); }
.ql-status.locked { color: var(--text-mute); }
.ql-locknote { font-size: 12px; color: var(--text-mute); font-style: italic; }

.ql-btn {
  display: inline-block; cursor: pointer; border: none;
  background: linear-gradient(135deg, var(--orange) 0%, #ff4500 100%);
  color: var(--text-strong); font-family: inherit; font-size: 14px; font-weight: 700;
  padding: 10px 18px; border-radius: 10px; text-decoration: none;
  transition: filter .15s, transform .15s;
}
.ql-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.ql-btn.ghost {
  background: transparent; color: var(--text-dim);
  border: 1px solid var(--border);
}
.ql-btn.ghost:hover { color: var(--text); border-color: var(--text-dim); filter: none; }

/* --- odměna CTA pod levely --- */
.quiz-reward-cta {
  display: flex; align-items: center; gap: 18px;
  background: var(--bg-card-2); border: 1px dashed var(--border);
  border-radius: 16px; padding: 22px 24px;
}
.quiz-reward-cta.ready {
  border: 1px solid rgba(255,107,26,.5);
  background: linear-gradient(135deg, rgba(255,107,26,.08), rgba(255,69,0,.04));
}
.qcc-icon { font-size: 34px; line-height: 1; }
.qcc-text { flex: 1; }
.qcc-title { font-size: 17px; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.qcc-text p { font-size: 14px; color: var(--text-dim); line-height: 1.5; margin: 0; }
.qcc-btn {
  white-space: nowrap; background: linear-gradient(135deg, var(--orange) 0%, #ff4500 100%);
  color: var(--text-strong); font-weight: 700; font-size: 14px; padding: 11px 20px;
  border-radius: 10px; text-decoration: none; transition: filter .15s, transform .15s;
}
.qcc-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.qcc-progress { width: 120px; height: 8px; background: var(--bg-elevated); border-radius: 99px; overflow: hidden; }
.qcc-progress span { display: block; height: 100%; background: var(--orange); border-radius: 99px; transition: width .3s; }

/* --- běh kvízu --- */
.quiz-runner {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 26px;
}
.qrun-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.qrun-quit {
  background: none; border: none; color: var(--text-dim); cursor: pointer;
  font-family: inherit; font-size: 13px; padding: 0;
}
.qrun-quit:hover { color: var(--text); }
.qrun-belt {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 1px;
  text-transform: uppercase; color: var(--text-dim); margin-left: auto;
}
.qrun-count { font-size: 13px; font-weight: 700; color: var(--orange-bright); }
.qrun-bar { height: 6px; background: var(--bg-elevated); border-radius: 99px; overflow: hidden; margin-bottom: 24px; }
.qrun-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--orange), var(--orange-bright)); transition: width .3s; }

.qrun-question {
  font-size: 21px; font-weight: 700; line-height: 1.4; color: var(--text);
  margin-bottom: 22px;
}
.qrun-options { display: flex; flex-direction: column; gap: 10px; }
.qrun-opt {
  display: flex; align-items: flex-start; gap: 14px; text-align: left;
  background: var(--bg-card-2); border: 1px solid var(--border);
  border-radius: 12px; padding: 15px 16px; cursor: pointer;
  font-family: inherit; font-size: 16px; color: var(--text);
  transition: border-color .15s, background .15s;
}
.qrun-opt:not(.locked):hover { border-color: var(--text-dim); background: var(--bg-elevated); }
.qo-letter {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px;
  background: var(--bg-elevated); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px; color: var(--text-dim);
}
.qo-text { line-height: 1.45; padding-top: 3px; }
.qrun-opt.locked { cursor: default; }
.qrun-opt.correct { border-color: #34d399; background: rgba(52,211,153,.1); }
.qrun-opt.correct .qo-letter { background: #34d399; color: #06281c; border-color: #34d399; }
.qrun-opt.wrong { border-color: #ff5e5e; background: rgba(255,94,94,.08); }
.qrun-opt.wrong .qo-letter { background: #ff5e5e; color: #2a0606; border-color: #ff5e5e; }

.qrun-feedback {
  margin-top: 18px; border-radius: 12px; padding: 16px 18px;
  border: 1px solid var(--border); background: var(--bg-card-2);
}
.qrun-feedback.good { border-color: rgba(52,211,153,.4); background: rgba(52,211,153,.06); }
.qrun-feedback.bad { border-color: rgba(255,94,94,.4); background: rgba(255,94,94,.05); }
.qfb-head { font-weight: 800; font-size: 15px; margin-bottom: 6px; }
.qrun-feedback.good .qfb-head { color: #34d399; }
.qrun-feedback.bad .qfb-head { color: #ff7a7a; }
.qrun-feedback p { font-size: 15px; color: var(--text-dim); line-height: 1.55; margin: 0 0 10px; }
.qfb-link {
  display: inline-block; font-size: 13px; font-weight: 600; color: var(--orange-bright);
  text-decoration: none; border-bottom: 1px solid rgba(255,133,51,.4); padding-bottom: 1px;
}
.qfb-link:hover { color: var(--orange); }

.qrun-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; }
.qrun-score { font-size: 14px; color: var(--text-dim); }
.qrun-score strong { color: var(--text); font-size: 16px; }
.qrun-next {
  cursor: pointer; border: none; font-family: inherit; font-size: 15px; font-weight: 700;
  background: linear-gradient(135deg, var(--orange) 0%, #ff4500 100%); color: var(--text-strong);
  padding: 12px 22px; border-radius: 10px; transition: filter .15s, transform .15s;
}
.qrun-next:hover { filter: brightness(1.08); transform: translateY(-1px); }

/* --- výsledek --- */
.quiz-result {
  text-align: center; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 44px 28px;
}
.quiz-result.pass { border-color: rgba(52,211,153,.4); }
.qres-icon { font-size: 56px; line-height: 1; margin-bottom: 10px; }
.qres-score { font-family: 'Bebas Neue', sans-serif; font-size: 64px; line-height: 1; color: var(--text); }
.qres-score span { color: var(--text-mute); font-size: 38px; }
.quiz-result.pass .qres-score { color: #34d399; }
.qres-title { font-size: 26px; font-weight: 800; margin: 8px 0 10px; color: var(--text); }
.qres-msg { font-size: 16px; color: var(--text-dim); line-height: 1.6; max-width: 520px; margin: 0 auto 26px; }
.qres-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================
   ODMĚNA ZA KVÍZ
   ============================================ */
.reward-locked { text-align: center; padding: 60px 24px; }
.cl-icon { font-size: 56px; margin-bottom: 12px; }
.reward-locked h1 { font-size: 28px; margin-bottom: 12px; }
.reward-locked p { color: var(--text-dim); font-size: 16px; line-height: 1.6; max-width: 480px; margin: 0 auto 24px; }

.reward-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 12%, rgba(255,107,26,.18), transparent 38%),
    linear-gradient(150deg, rgba(255,107,26,.10), var(--bg-card) 46%);
  border: 1px solid rgba(255,107,26,.42);
  border-radius: 22px;
  padding: 46px 42px;
  margin-bottom: 22px;
}
.reward-kicker,
.reward-academy-kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.reward-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(46px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: .5px;
  margin-bottom: 16px;
}
.reward-hero h1 span {
  background: linear-gradient(180deg, #fff 0%, #ffe4d1 30%, #ff9550 70%, var(--orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.reward-hero p {
  max-width: 660px;
  color: var(--text-dim);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 24px;
}
.reward-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.reward-primary { font-size: 15px; padding: 13px 22px; }
.reward-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}
.reward-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 20px;
}
.reward-card-icon { font-size: 28px; line-height: 1; margin-bottom: 12px; }
.reward-card h2 {
  font-size: 18px;
  color: var(--text);
  margin-bottom: 8px;
}
.reward-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
}
.reward-academy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--bg-card);
  border: 1px solid rgba(255,107,26,.3);
  border-radius: 16px;
  padding: 24px;
}
.reward-academy h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: .4px;
  margin-bottom: 8px;
}
.reward-academy p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
  max-width: 620px;
}

/* --- responsivita kvízu --- */
@media (max-width: 720px) {
  .quiz-grid { grid-template-columns: 1fr; }
  .quiz-reward-cta { flex-direction: column; text-align: center; }
  .reward-hero { padding: 34px 24px; }
  .reward-grid { grid-template-columns: 1fr; }
  .reward-academy { flex-direction: column; align-items: flex-start; }
}

/* ============================================
   ZAMČENÝ VIDEO PLAYER (upsell do akademie)
   ============================================ */
.video-lock {
  display: block; position: relative; width: 100%; aspect-ratio: 16 / 9;
  margin: 36px 0; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border); background: #000;
  text-decoration: none; color: var(--text); cursor: pointer;
  transition: border-color .2s, transform .2s;
}
.video-lock:hover { border-color: var(--border-accent); transform: translateY(-2px); }

/* pozadí — fotka (rozmazaná) nebo fallback gradient */
.vl-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #3a1808 0%, #1a0e06 45%, #0a0a0a 100%);
  background-size: cover; background-position: center;
}
.vl-bg.has-img { filter: blur(3px) brightness(.62); transform: scale(1.06); }
.vl-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 42%, rgba(0,0,0,.1), rgba(0,0,0,.72));
}

/* horní lišta */
.vl-top {
  position: absolute; top: 0; left: 0; right: 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px;
}
.vl-brand { font-family: 'Bebas Neue', sans-serif; letter-spacing: 3px; font-size: 17px; color: var(--text-strong); }
.vl-tag {
  font-size: 11px; font-weight: 700; letter-spacing: .5px; color: var(--text-strong);
  background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.22);
  padding: 5px 11px; border-radius: 99px; backdrop-filter: blur(4px);
}

/* střed — play tlačítko se zámkem + CTA */
.vl-center {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
}
.vl-play {
  position: relative; width: 76px; height: 76px; border-radius: 50%;
  background: linear-gradient(135deg, var(--orange) 0%, #ff4500 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 34px rgba(0,0,0,.55);
  transition: transform .2s;
}
.video-lock:hover .vl-play { transform: scale(1.09); }
.vl-play-icon { color: var(--text-strong); font-size: 30px; margin-left: 5px; line-height: 1; }
.vl-lock {
  position: absolute; bottom: -5px; right: -5px;
  width: 28px; height: 28px; border-radius: 50%;
  background: #0a0a0a; border: 2px solid #fff;
  display: flex; align-items: center; justify-content: center; font-size: 12px;
}
.vl-cta {
  font-size: 13px; font-weight: 700; color: var(--text-strong); letter-spacing: .3px;
  background: rgba(0,0,0,.4); padding: 7px 14px; border-radius: 99px;
  border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(4px);
  transition: background .2s;
}
.video-lock:hover .vl-cta { background: rgba(255,107,26,.85); border-color: transparent; }

/* ── ODEMČENÝ stav (člen academy) — bez rozmazání, zelený zámek ── */
.video-lock.unlocked .vl-bg.has-img { filter: brightness(.72); transform: scale(1.02); } /* žádné blur */
.video-lock.unlocked .vl-overlay { background: radial-gradient(circle at 50% 42%, rgba(0,0,0,.04), rgba(0,0,0,.58)); }
.video-lock.unlocked .vl-tag { color: #86e6a6; background: rgba(28,74,44,.5); border-color: rgba(134,230,166,.45); }
.video-lock.unlocked .vl-cta { background: rgba(255,107,26,.9); border-color: transparent; }
.video-lock.unlocked:hover .vl-cta { background: var(--orange); }

/* dolní lišta — název videa + délka */
.vl-bottom {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  padding: 16px 18px;
  background: linear-gradient(to top, rgba(0,0,0,.7), transparent);
}
.vl-kicker { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 2px; color: var(--orange-bright); margin-bottom: 6px; }
.vl-title { font-size: 25px; font-weight: 800; color: var(--text-strong); line-height: 1.25; text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.vl-dur {
  flex-shrink: 0; font-size: 12px; font-weight: 700; color: var(--text-strong);
  background: rgba(0,0,0,.55); padding: 4px 9px; border-radius: 6px;
}

@media (max-width: 720px) {
  .vl-play { width: 60px; height: 60px; }
  .vl-play-icon { font-size: 24px; }
  .vl-title { font-size: 19px; }
  .vl-brand { font-size: 15px; }
}

/* ============================================
   PLOVOUCÍ TLAČÍTKO „KENJI AI"
   ============================================ */
.kenji-help {
  position: fixed; right: 22px; bottom: 22px; z-index: 300;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 50px; padding: 8px 16px 8px 9px; border-radius: 999px;
  color: rgba(255,255,255,.94); text-decoration: none;
  font-family: 'Inter', sans-serif; font-weight: 800; font-size: 13.5px;
  background: linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.055));
  border: 1px solid rgba(255,255,255,.20);
  box-shadow: 0 18px 50px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.20);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.kenji-help:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.32);
  background: linear-gradient(135deg, rgba(255,255,255,.22), rgba(255,255,255,.08));
  box-shadow: 0 22px 58px rgba(0,0,0,.48), 0 0 34px rgba(255,255,255,.08), inset 0 1px 0 rgba(255,255,255,.24);
}
.kenji-help-orb {
  width: 34px; height: 34px; flex-shrink: 0; display: grid; place-items: center;
  border-radius: 50%; color: var(--text-strong);
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.42), rgba(255,255,255,.08) 38%, rgba(120,125,255,.24) 100%);
  border: 1px solid rgba(255,255,255,.22);
}
.kenji-help svg { width: 18px; height: 18px; flex-shrink: 0; filter: drop-shadow(0 0 8px rgba(255,255,255,.24)); }
@media (max-width: 600px) {
  .kenji-help { right: 14px; bottom: 14px; min-height: 46px; padding: 7px 13px 7px 8px; font-size: 13px; }
  .kenji-help-orb { width: 31px; height: 31px; }
}
@media print { .kenji-help { display: none !important; } }

/* ============================================
   VSTUPNÍ GATE (e-mail + Instagram)
   ============================================ */
body.kenji-gated { overflow: hidden; height: 100vh; }
body.kenji-gated .top-header,
body.kenji-gated .layout { filter: blur(4px); pointer-events: none; user-select: none; }
body.kenji-gated .kenji-help { display: none !important; }

.kenji-gate {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px; overflow-y: auto;
  background: rgba(8,8,8,.5); backdrop-filter: blur(1px);
}
.kg-modal {
  width: 100%; max-width: 880px; margin: auto;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 20px; overflow: hidden;
  display: grid; grid-template-columns: 1.05fr .95fr;
  box-shadow: 0 30px 90px rgba(0,0,0,.65);
  animation: kgIn .35s cubic-bezier(.4,0,.2,1);
}
@keyframes kgIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }

.kg-intro {
  padding: 42px 38px;
  background: linear-gradient(160deg, rgba(255,107,26,.12) 0%, var(--bg-card) 58%);
  border-right: 1px solid var(--border);
}
.kg-logo {
  width: 150px; height: 25px; margin-bottom: 22px;
  background: url('logo-kenji.png') no-repeat left center; background-size: contain;
  text-indent: -9999px; overflow: hidden; white-space: nowrap;
}
.kg-intro h2 { font-family: 'Bebas Neue', sans-serif; font-size: 34px; line-height: 1.05; letter-spacing: -.5px; margin-bottom: 14px; color: var(--text); }
.kg-intro p { font-size: 14.5px; color: var(--text-dim); line-height: 1.6; margin-bottom: 20px; }
.kg-features { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.kg-features li { position: relative; padding-left: 26px; }
.kg-features li::before { content: '✓'; position: absolute; left: 0; top: 1px; color: var(--orange); font-weight: 800; }
.kg-features strong { display: block; color: var(--text); font-size: 14px; line-height: 1.3; }
.kg-features span { display: block; margin-top: 1px; color: var(--text-dim); font-size: 12.5px; line-height: 1.4; }

.kg-form { padding: 42px 38px; display: flex; flex-direction: column; }
.kg-form-head { font-family: 'Bebas Neue', sans-serif; font-size: 26px; letter-spacing: .5px; color: var(--text); }
.kg-form-sub { font-size: 13px; color: var(--text-dim); line-height: 1.55; margin: 4px 0 20px; }
.kg-label { font-size: 11px; font-weight: 600; color: var(--text-dim); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 7px; }
.kg-input {
  width: 100%; background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: 10px; padding: 13px 15px; color: var(--text);
  font-family: 'Inter', sans-serif; font-size: 16px; outline: none; margin-bottom: 16px;
  transition: border-color .2s, box-shadow .2s;
}
.kg-input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,107,26,.14); }
.kg-input::placeholder { color: var(--text-mute); }
.kg-consent { display: flex; gap: 9px; align-items: flex-start; font-size: 12px; color: var(--text-dim); line-height: 1.5; margin-bottom: 18px; cursor: pointer; }
.kg-consent input { margin-top: 2px; accent-color: var(--orange); width: 16px; height: 16px; flex-shrink: 0; }
.kg-consent a { color: var(--orange-bright); }
.kg-btn {
  width: 100%; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--orange) 0%, #ff4500 100%); color: var(--text-strong);
  font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 700;
  padding: 15px 20px; border-radius: 11px; transition: filter .15s, transform .15s;
}
.kg-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.kg-btn:disabled { opacity: .6; cursor: default; transform: none; }
.kg-error { margin-top: 12px; font-size: 13px; color: #ff7a7a; }
.kg-switch { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 12.5px; color: var(--text-dim); text-align: center; }
.kg-form-note { margin-top: 16px; padding-top: 15px; border-top: 1px solid var(--border); font-size: 12.5px; color: var(--text-mute); line-height: 1.5; }
.kg-link { background: none; border: none; color: var(--orange-bright); font: inherit; font-weight: 700; cursor: pointer; padding: 0; }
.kg-link:hover { text-decoration: underline; }
.kg-sent { margin-top: 16px; padding: 16px; border-radius: 12px; background: rgba(255,107,26,.1); border: 1px solid rgba(255,107,26,.28); text-align: center; }
.kg-sent-ico { font-size: 28px; margin-bottom: 8px; }
.kg-sent p { font-size: 13.5px; color: var(--text); line-height: 1.6; margin: 0; }
.kg-sent strong { color: var(--orange-bright); }

/* ============================================
   GLOBÁLNÍ PATIČKA
   ============================================ */
.site-footer {
  margin-top: 72px;
  padding: 42px 0 0;
  border-top: 1px solid var(--border);
}
.sf-main {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 46px;
  align-items: start;
}
.sf-logo {
  width: 214px;
  height: 36px;
  background: url('logo-kenji.png') no-repeat left center;
  background-size: contain;
  text-indent: -9999px;
  overflow: hidden;
  white-space: nowrap;
  margin-bottom: 24px;
}
.sf-brand p {
  max-width: 540px;
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: .1px;
  margin-bottom: 24px;
}
.sf-rating {
  display: inline-flex;
  align-items: center;
  gap: 17px;
  color: var(--text);
  position: relative;
  padding: 18px 22px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,106,26,.16), transparent 58%),
    linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 18px 45px rgba(0,0,0,.22);
  overflow: hidden;
}
.sf-rating::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,106,26,.72), transparent);
}
.sf-rating-body {
  position: relative;
  z-index: 1;
  min-width: 158px;
  text-align: center;
}
.sf-laurel {
  position: relative;
  z-index: 1;
  width: 26px;
  height: 62px;
  border-left: 2px solid rgba(255,255,255,.72);
  border-radius: 100% 0 0 100%;
  transform: rotate(-9deg);
  opacity: .88;
}
.sf-laurel::before,
.sf-laurel::after {
  content: "";
  position: absolute;
  left: -4px;
  width: 13px;
  height: 7px;
  border-radius: 999px 0 999px 0;
  background: rgba(255,255,255,.86);
  transform: rotate(-35deg);
}
.sf-laurel::before { top: 15px; }
.sf-laurel::after { top: 37px; }
.sf-laurel.right {
  border-left: 0;
  border-right: 2px solid rgba(255,255,255,.72);
  border-radius: 0 100% 100% 0;
  transform: rotate(9deg);
}
.sf-laurel.right::before,
.sf-laurel.right::after {
  left: auto;
  right: -4px;
  border-radius: 0 999px 0 999px;
  transform: rotate(35deg);
}
.sf-stars {
  color: #ffc545;
  font-size: 21px;
  letter-spacing: 1.5px;
  line-height: 1;
  margin-bottom: 10px;
  text-shadow: 0 0 22px rgba(255,197,69,.23);
}
.sf-rating-meta {
  display: grid;
  gap: 4px;
}
.sf-rating-score {
  font-size: 17px;
  font-weight: 900;
  color: var(--text);
  line-height: 1.1;
}
.sf-rating-count {
  font-size: 12px;
  color: rgba(255,255,255,.62);
  font-weight: 700;
  letter-spacing: .35px;
  text-transform: uppercase;
}
.sf-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.sf-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.sf-head {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 600;
  margin-bottom: 6px;
}
.sf-col a {
  color: #7d7d7d;
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  transition: color .15s;
}
.sf-col a:hover { color: var(--text-dim); }
.sf-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 38px;
  padding: 20px 0;
  border-top: 1px solid var(--border-light);
  color: var(--text-mute);
  font-size: 12px;
}
.sf-legal { display: flex; flex-wrap: wrap; gap: 18px; }
.sf-legal a { color: #7d7d7d; text-decoration: none; font-size: 12px; transition: color .15s; }
.sf-legal a:hover { color: var(--text-dim); }

/* Cookie lišta (informativní, jednou) */
.cookie-notice {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%);
  z-index: 3000; max-width: min(680px, calc(100vw - 32px));
  display: flex; align-items: center; gap: 16px;
  padding: 12px 14px 12px 18px; border-radius: 14px;
  background: rgba(20,20,20,.92); border: 1px solid var(--border);
  backdrop-filter: blur(10px); box-shadow: 0 12px 30px -10px rgba(0,0,0,.7);
  font-size: 12.5px; color: var(--text-dim); line-height: 1.5;
  animation: cookieIn .3s ease;
}
.cookie-notice a { color: var(--orange-bright); text-decoration: none; white-space: nowrap; }
.cookie-notice a:hover { text-decoration: underline; }
.cookie-ok {
  flex-shrink: 0; padding: 8px 16px; border-radius: 10px; border: none; cursor: pointer;
  background: var(--orange); color: var(--text-strong); font-weight: 700; font-size: 12.5px; font-family: 'Inter', sans-serif;
  transition: filter .15s;
}
.cookie-ok:hover { filter: brightness(1.08); }
.cookie-notice.hide { opacity: 0; transform: translateX(-50%) translateY(8px); transition: opacity .25s, transform .25s; }
@keyframes cookieIn { from { opacity: 0; transform: translateX(-50%) translateY(10px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
@media (max-width: 520px) {
  .cookie-notice { flex-direction: column; align-items: stretch; gap: 10px; text-align: center; bottom: 12px; }
  .cookie-ok { width: 100%; padding: 10px; }
}

@media (max-width: 680px) {
  .kg-modal { grid-template-columns: 1fr; max-width: 440px; }
  .kg-intro { border-right: none; border-bottom: 1px solid var(--border); padding: 30px 26px; }
  .kg-intro h2 { font-size: 28px; }
  .kg-form { padding: 28px 26px; }
  body.kenji-gated .top-header, body.kenji-gated .layout { filter: blur(5px); }
}

@media (max-width: 860px) {
  .sf-main { grid-template-columns: 1fr; gap: 34px; }
  .sf-brand p { font-size: 13px; }
}

@media (max-width: 560px) {
  .site-footer { margin-top: 56px; padding-top: 34px; }
  .sf-logo { width: 176px; height: 30px; }
  .sf-brand p { font-size: 12px; line-height: 1.6; }
  .sf-links { grid-template-columns: 1fr; gap: 24px; }
  .sf-rating { gap: 11px; padding: 16px 14px; }
  .sf-rating-body { min-width: 136px; }
  .sf-laurel { width: 20px; height: 54px; }
  .sf-stars { font-size: 18px; }
  .sf-rating-score { font-size: 15px; }
  .sf-rating-count { font-size: 11px; }
  .sf-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================
   PRODUKTOVÝ PRŮVODCE KENJI ACADEMY
   ============================================ */
body.kenji-tour-active { overflow: auto; }
.kt-catch { position: fixed; inset: 0; z-index: 4090; background: transparent; }
.kt-ring {
  position: fixed; z-index: 4091; pointer-events: none; border: 2px solid var(--orange);
  border-radius: 10px; box-shadow: 0 0 0 9999px rgba(5,5,5,.76), 0 0 28px rgba(255,107,26,.28);
  transition: top .22s ease, left .22s ease, width .22s ease, height .22s ease;
}
.kt-ring.is-task { z-index: 1071; box-shadow: 0 0 0 1px rgba(255,107,26,.18), 0 0 28px rgba(255,107,26,.22); }
.kt-card {
  position: fixed; z-index: 4092; box-sizing: border-box; width: min(390px,calc(100vw - 32px));
  max-height: calc(100dvh - 32px); overflow: auto; padding: 18px;
  border: 1px solid rgba(255,255,255,.14); border-radius: 8px;
  background: rgba(18,18,18,.98); color: var(--text); box-shadow: 0 24px 80px rgba(0,0,0,.72);
  animation: ktCardIn .22s ease both;
}
.kt-card.is-welcome,.kt-card.is-finish,.kt-card.is-fallback {
  top: 50%; left: 50%; width: min(520px,calc(100vw - 32px));
  transform: translate(-50%,-50%); padding: clamp(20px,4vw,32px);
}
.kt-card.is-task {
  right: 18px; bottom: max(18px,env(safe-area-inset-bottom)); width: min(380px,calc(100vw - 36px));
  max-height: min(52dvh,480px); border-color: rgba(255,107,26,.34);
}
@keyframes ktCardIn { from { opacity: 0; } to { opacity: 1; } }
.kt-person { display: flex; align-items: center; gap: 10px; min-width: 0; padding-right: 130px; }
.kt-person img { width: 42px; height: 42px; flex: 0 0 42px; object-fit: cover; object-position: 50% 24%; border-radius: 50%; border: 1px solid rgba(255,107,26,.55); }
.kt-person span { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.kt-person strong { color: var(--text-strong); font-size: 13px; }
.kt-person small { color: var(--text-mute); font-size: 10px; line-height: 1.3; }
.kt-skip {
  position: absolute; top: 22px; right: 18px; max-width: 126px; padding: 6px 0;
  border: 0; background: transparent; color: var(--text-mute); font: 600 11px/1.3 'Inter',sans-serif;
  text-align: right; cursor: pointer;
}
.kt-skip:hover,.kt-skip:focus-visible { color: var(--text); }
.kt-required { position: absolute; top: 25px; right: 18px; color: var(--orange); font: 700 8px/1.2 'JetBrains Mono',monospace; letter-spacing: .09em; }
.kt-copy { margin-top: 22px; }
.kt-eyebrow { color: var(--orange); font: 700 9px/1.2 'JetBrains Mono',monospace; letter-spacing: .12em; }
.kt-copy h2 { margin: 8px 0 9px; color: var(--text-strong); font: 400 32px/1 'Bebas Neue',sans-serif; letter-spacing: 0; text-wrap: balance; }
.kt-card.is-welcome .kt-copy h2,.kt-card.is-finish .kt-copy h2 { font-size: clamp(36px,6vw,50px); }
.kt-copy p { margin: 0; color: var(--text-dim); font-size: 13px; line-height: 1.6; }
.kt-task-state { display: flex; align-items: center; gap: 9px; margin-top: 16px; padding: 11px 12px; border: 1px solid var(--border); background: rgba(255,255,255,.025); }
.kt-task-state span { color: var(--orange); font-size: 10px; }
.kt-task-state strong { color: var(--text-dim); font-size: 11px; line-height: 1.4; }
.kt-task-state.is-done { border-color: rgba(80,200,120,.38); background: rgba(80,200,120,.07); }
.kt-task-state.is-done span,.kt-task-state.is-done strong { color: #63d495; }
.kt-dots { display: flex; align-items: center; gap: 5px; margin-top: 20px; }
.kt-dots span { width: 6px; height: 3px; background: var(--border); transition: width .2s ease,background .2s ease; }
.kt-dots span.is-done { background: rgba(255,107,26,.45); }
.kt-dots span.is-active { width: 22px; background: var(--orange); }
.kt-actions { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 22px; padding-top: 15px; border-top: 1px solid var(--border); }
.kt-actions-main { min-width: 0; display: flex; flex-wrap: wrap-reverse; align-items: center; justify-content: flex-end; gap: 8px; }
.kt-back,.kt-action,.kt-next { min-height: 42px; border: 0; border-radius: 6px; font: 750 12px/1.25 'Inter',sans-serif; cursor: pointer; }
.kt-back { flex: 0 0 auto; padding: 0 5px; background: transparent; color: var(--text-mute); }
.kt-action { padding: 0 12px; border: 1px solid var(--border); background: transparent; color: var(--text-dim); }
.kt-next { max-width: 100%; padding: 0 15px; background: var(--text-strong); color: var(--bg); }
.kt-back:hover,.kt-action:hover { color: var(--text); border-color: var(--text-mute); }
.kt-next:hover { background: var(--orange); color: #111; }
.kt-back:focus-visible,.kt-action:focus-visible,.kt-next:focus-visible,.kt-skip:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.kt-resume {
  position: fixed; z-index: 1080; right: 18px; bottom: max(18px,env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 36px); padding: 8px 13px 8px 8px;
  border: 1px solid rgba(255,107,26,.42); border-radius: 999px; background: rgba(18,18,18,.96); color: var(--text);
  box-shadow: 0 14px 38px rgba(0,0,0,.5); font-family: 'Inter',sans-serif; text-align: left; cursor: pointer;
}
.kt-resume img { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; object-fit: cover; object-position: 50% 24%; }
.kt-resume span { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.kt-resume small { color: var(--text-mute); font-size: 8px; }
.kt-resume strong { color: var(--text-strong); font-size: 11px; white-space: normal; }
.kt-resume:hover { border-color: var(--orange); transform: translateY(-1px); }
.kt-resume:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

@media (max-width: 760px) {
  .kt-card:not(.is-welcome):not(.is-finish):not(.is-fallback) {
    inset: auto 0 0; width: 100%; max-height: min(58dvh,520px); padding: 16px 16px max(16px,env(safe-area-inset-bottom));
    border-width: 1px 0 0; border-radius: 0; box-shadow: 0 -18px 60px rgba(0,0,0,.7);
  }
  .kt-card.is-welcome,.kt-card.is-finish,.kt-card.is-fallback { max-height: calc(100dvh - 24px); }
  .kt-card.is-task { right: 0; bottom: 0; max-height: min(48dvh,430px); }
  .kt-person { padding-right: 118px; }
  .kt-person img { width: 38px; height: 38px; flex-basis: 38px; }
  .kt-skip { top: 18px; right: 16px; }
  .kt-required { top: 21px; right: 16px; }
  .kt-copy { margin-top: 16px; }
  .kt-copy h2 { font-size: 28px; }
  .kt-copy p { font-size: 12px; line-height: 1.55; }
  .kt-dots { margin-top: 14px; }
  .kt-actions { margin-top: 14px; padding-top: 12px; }
  .kt-actions-main { flex: 1; }
  .kt-action,.kt-next { flex: 1 1 140px; padding: 8px 10px; }
  body.kenji-tour-active .sidebar.open { z-index: 4080; }
  .kt-resume { right: 12px; bottom: max(12px,env(safe-area-inset-bottom)); }
}

@media (max-width: 350px) {
  .kt-card { width: calc(100vw - 20px); }
  .kt-card.is-welcome,.kt-card.is-finish,.kt-card.is-fallback { padding: 18px 15px; }
  .kt-person { padding-right: 102px; }
  .kt-person small { display: none; }
  .kt-skip { max-width: 100px; font-size: 10px; }
  .kt-actions { align-items: stretch; }
  .kt-actions-main { gap: 6px; }
  .kt-back,.kt-action,.kt-next { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .kt-card { animation: none; }
  .kt-ring,.kt-dots span { transition: none; }
}

/* ============================================
   PROMO BANNER — KENJI PRESETY (ostrá fotka, bez ceny)
   ============================================ */
.preset-promo {
  display: block; position: relative; width: 100%; aspect-ratio: 16 / 9;
  margin: 36px 0; border-radius: 16px; overflow: hidden;
  background-size: cover; background-position: center;
  border: 1px solid var(--border); text-decoration: none; color: var(--text-strong);
  transition: transform .2s, border-color .2s;
}
.preset-promo:hover { transform: translateY(-2px); border-color: var(--border-accent); }
.pp-overlay {
  position: absolute; inset: 0;
  /* oranžový gradient zleva (značka) přes tmavou vrstvu pro čitelnost textu */
  background:
    linear-gradient(90deg, rgba(255,107,26,.55) 0%, rgba(255,107,26,.18) 28%, rgba(255,107,26,0) 55%),
    linear-gradient(90deg, rgba(10,7,4,.92) 0%, rgba(10,7,4,.64) 34%, rgba(10,7,4,.22) 62%, rgba(10,7,4,0) 85%);
}
.pp-content {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: center;
  gap: 10px; padding: 0 8% 0 7%; max-width: 66%;
}
.pp-kicker { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 3px; color: var(--text-strong); }
.pp-title {
  font-family: 'Bebas Neue', sans-serif; font-size: 42px; line-height: 1; letter-spacing: 1px;
  color: var(--text-strong); margin: 0; text-shadow: 0 2px 16px rgba(0,0,0,.5);
}
.pp-text { font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.92); margin: 0; max-width: 440px; }
.pp-bonus { font-size: 13px; font-weight: 600; color: #ffd9bf; }
.pp-cta {
  align-self: flex-start; margin-top: 10px;
  background: linear-gradient(135deg, var(--orange) 0%, #ff4500 100%); color: var(--text-strong);
  font-weight: 700; font-size: 15px; padding: 12px 22px; border-radius: 11px;
  box-shadow: 0 8px 24px rgba(0,0,0,.45); transition: filter .15s;
}
.preset-promo:hover .pp-cta { filter: brightness(1.08); }

@media (max-width: 720px) {
  .preset-promo { aspect-ratio: auto; min-height: 380px; display: flex; }
  .pp-overlay {
    background:
      radial-gradient(150% 120% at 0% 100%, rgba(255,107,26,.5) 0%, rgba(255,107,26,.14) 36%, rgba(255,107,26,0) 62%),
      linear-gradient(to top, rgba(10,7,4,.95) 0%, rgba(10,7,4,.6) 50%, rgba(10,7,4,.2) 100%);
  }
  .pp-content {
    position: relative; inset: auto; max-width: 100%;
    justify-content: flex-end; padding: 24px 22px;
  }
  .pp-title { font-size: 31px; }
}

/* ============================================
   INTRO OD KENJIHO (homepage)
   ============================================ */
.kenji-intro {
  display: grid; grid-template-columns: 240px 1fr; gap: 34px; align-items: center;
  background: linear-gradient(150deg, rgba(255,107,26,.09) 0%, var(--bg-card) 55%);
  border: 1px solid var(--border); border-radius: 20px;
  padding: 32px; margin: 8px 0 56px;
}
.ki-photo {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center top;
  border-radius: 16px; display: block; box-shadow: 0 18px 50px rgba(0,0,0,.5);
}
.ki-text h2 {
  font-family: 'Bebas Neue', sans-serif; font-size: clamp(30px, 4.6vw, 46px);
  line-height: 1.02; letter-spacing: -.5px; color: var(--text); margin-bottom: 16px;
}
.ki-text p { color: var(--text-dim); font-size: 16px; line-height: 1.65; margin-bottom: 14px; }
.ki-text p strong { color: var(--text); }
.ki-stats { display: flex; gap: 28px; flex-wrap: wrap; margin: 20px 0 22px; }
.ki-num { font-family: 'Bebas Neue', sans-serif; font-size: 28px; color: var(--orange); display: block; line-height: 1; letter-spacing: .5px; }
.ki-lbl { font-size: 12px; color: var(--text-mute); }
.ki-cta {
  display: inline-block; background: linear-gradient(135deg, var(--orange) 0%, #ff4500 100%);
  color: var(--text-strong); font-weight: 700; font-size: 15px; padding: 13px 22px; border-radius: 11px;
  text-decoration: none; transition: filter .15s, transform .15s;
}
.ki-cta:hover { filter: brightness(1.08); transform: translateY(-1px); }
@media (max-width: 760px) {
  .kenji-intro { display: block; padding: 24px; }
  .kenji-intro::after { content: ''; display: block; clear: both; }
  .ki-photo {
    float: left; width: 124px; aspect-ratio: 3 / 4; margin: 2px 18px 12px 0;
    box-shadow: 0 10px 26px rgba(0,0,0,.45);
  }
  .ki-text h2 { font-size: 30px; margin-bottom: 12px; }
  .ki-text p { font-size: 15px; }
}

/* ============================================
   TLAČÍTKO „PŘIDAT NA PLOCHU" + MODAL NÁVODU
   ============================================ */
.auth-pwa {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; flex-shrink: 0;
  background: transparent; border: 1px solid var(--border); border-radius: 8px;
  color: var(--text); font-size: 15px; line-height: 1; cursor: pointer;
  transition: border-color .15s, background .15s;
}
.auth-pwa:hover { border-color: var(--orange); background: rgba(255,107,26,.1); }

.kenji-a2hs {
  position: fixed; inset: 0; z-index: 1200;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  background: rgba(8,8,8,.74); backdrop-filter: blur(3px);
}
.a2-card {
  position: relative; width: 100%; max-width: 440px; text-align: center;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px;
  padding: 32px 28px 28px; box-shadow: 0 30px 90px rgba(0,0,0,.6);
  animation: kgIn .3s cubic-bezier(.4,0,.2,1);
}
.a2-close {
  position: absolute; top: 14px; right: 16px; background: none; border: none;
  color: var(--text-mute); font-size: 17px; cursor: pointer; line-height: 1;
}
.a2-close:hover { color: var(--text); }
.a2-emoji { font-size: 42px; line-height: 1; }
.a2-title { font-family: 'Bebas Neue', sans-serif; font-size: 28px; letter-spacing: .3px; color: var(--text); margin: 8px 0 8px; }
.a2-sub { font-size: 14px; color: var(--text-dim); line-height: 1.55; margin: 0 auto 18px; max-width: 360px; }
.a2-tabs {
  display: inline-flex; gap: 6px; margin-bottom: 18px;
  background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 99px; padding: 4px;
}
.a2-tab {
  border: none; background: none; color: var(--text-dim); cursor: pointer;
  font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600;
  padding: 7px 18px; border-radius: 99px; transition: background .15s, color .15s;
}
.a2-tab.on { background: linear-gradient(135deg, var(--orange) 0%, #ff4500 100%); color: var(--text-strong); }
.a2-steps { display: flex; flex-direction: column; gap: 10px; text-align: left; }
.a2-step {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px;
}
.a2-num {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--orange); color: var(--text-strong); font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.a2-ic {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 9px;
  background: var(--bg-card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; color: var(--text); font-size: 18px;
}
.a2-ic svg { width: 18px; height: 18px; }
.a2-txt { font-size: 13.5px; color: var(--text-dim); line-height: 1.45; }
.a2-txt strong { color: var(--text); }

/* ============================================
   ÚČET V HLAVIČCE (rozklikávací dropdown)
   ============================================ */
.auth-acct { position: relative; }
.acct-trigger {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 99px;
  padding: 6px 11px; color: var(--text); font-family: inherit;
  transition: border-color .15s, background .15s;
}
.acct-trigger:hover { border-color: var(--text-dim); }
.acct-ico { width: 19px; height: 19px; }
.acct-caret { font-size: 10px; color: var(--text-dim); transition: transform .2s; }
.acct-trigger[aria-expanded="true"] .acct-caret { transform: rotate(180deg); }

.acct-menu {
  position: absolute; top: calc(100% + 10px); right: 0; min-width: 230px; z-index: 400;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0,0,0,.55); padding: 8px;
  opacity: 0; transform: translateY(-8px) scale(.98); transform-origin: top right;
  pointer-events: none; transition: opacity .18s ease, transform .18s ease;
}
.acct-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.acct-head { padding: 10px 12px 12px; border-bottom: 1px solid var(--border); margin-bottom: 6px; }
.acct-name { font-weight: 700; color: var(--text); font-size: 14px; word-break: break-all; line-height: 1.3; }
.acct-tier { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.acct-sub { font-size: 12px; color: var(--text-dim); }
.acct-item {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  background: none; border: none; cursor: pointer; font-family: inherit; font-size: 14px;
  color: var(--text); padding: 11px 12px; border-radius: 9px; transition: background .12s;
}
.acct-item { text-decoration: none; }
.acct-item > span { width: 18px; text-align: center; flex-shrink: 0; }
.acct-item:hover { background: var(--bg-elevated); }
.acct-item.danger { color: #ff6b6b; }
.acct-item.danger:hover { background: rgba(255,94,94,.1); }
/* Klikací jméno → profil, klikací badge → členství */
.acct-name-btn { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 6px 8px; margin: -6px -8px 2px; border-radius: 9px; cursor: pointer; font-family: inherit; transition: background .12s; }
.acct-name-btn:hover { background: var(--bg-elevated); }
.acct-name-hint { display: block; margin-top: 2px; color: var(--text-mute); font-size: 11px; }
.acct-name-btn:hover .acct-name-hint { color: var(--orange); }
.acct-tier-btn { display: flex; align-items: center; gap: 8px; margin-top: 6px; padding: 6px 8px; margin-left: -8px; margin-right: -8px; background: none; border: 0; cursor: pointer; border-radius: 9px; font-family: inherit; transition: background .12s; }
.acct-tier-btn:hover { background: var(--bg-elevated); }
.acct-tier-btn .auth-badge { cursor: pointer; }

/* Náhled vlastního profilu */
.selfp-modal { position: fixed; inset: 0; z-index: 4100; display: grid; place-items: center; padding: 20px;
  background: rgba(6,6,8,.62); -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px); opacity: 0; transition: opacity .2s ease; }
.selfp-modal.show { opacity: 1; }
body.selfp-modal-open { overflow: hidden; }
.selfp-card { position: relative; width: min(360px, 100%); padding: 30px 26px 26px; text-align: center; border-radius: 18px;
  border: 1px solid var(--border); background: var(--bg-card); color: var(--text); box-shadow: 0 26px 70px rgba(0,0,0,.5);
  transform: translateY(10px) scale(.985); transition: transform .2s ease; }
.selfp-modal.show .selfp-card { transform: none; }
.selfp-close { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 9px; background: transparent; color: var(--text-dim); font-size: 14px; cursor: pointer; transition: background .15s, color .15s; }
.selfp-close:hover { background: var(--glass-bg); color: var(--text-strong); }
.selfp-av { width: 76px; height: 76px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 50%; background: var(--bg-elevated); border: 1px solid var(--border); color: var(--text-strong); font: 800 30px/1 'Inter', sans-serif; overflow: hidden; position: relative; }
.selfp-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.selfp-av.has-image b { display: none; }
.selfp-name { margin: 0 0 4px; color: var(--text-strong); font-size: 20px; font-weight: 800; }
.selfp-ig { display: inline-block; margin-bottom: 10px; color: var(--orange); font-size: 13px; text-decoration: none; }
.selfp-ig:hover { text-decoration: underline; }
.selfp-badge { display: inline-block; margin: 0 0 14px; }
.selfp-bio { margin: 0 0 18px; color: var(--text-dim); font-size: 13.5px; line-height: 1.55; }
.selfp-bio-empty { color: var(--text-mute); font-style: italic; }
.selfp-stats { display: flex; gap: 10px; margin-bottom: 18px; }
.selfp-stat { flex: 1; padding: 12px; border-radius: 12px; background: var(--bg-elevated); border: 1px solid var(--border); }
.selfp-stat strong { display: block; color: var(--text-strong); font-size: 22px; font-weight: 800; line-height: 1; }
.selfp-stat span { display: block; margin-top: 4px; color: var(--text-dim); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.selfp-edit { display: block; padding: 13px; border-radius: 11px; background: var(--text-strong); color: var(--bg); font: 800 14px/1 'Inter', sans-serif; text-decoration: none; transition: opacity .16s; }
.selfp-edit:hover { opacity: .9; }

/* ============================================
   PRICE / TIER TABLE (porovnání AI nástrojů)
   ============================================ */
.price-table-wrap {
  margin: 28px 0 40px;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-card);
}
.price-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.price-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 14.5px;
}
.price-table th,
.price-table td {
  text-align: left;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
  line-height: 1.5;
}
.price-table thead th {
  background: var(--bg-elevated);
  color: var(--text);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table tbody tr:hover { background: rgba(255,107,26,.03); }
.price-table .pt-tool {
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
}
.price-table .pt-tool small {
  display: block;
  font-weight: 600;
  color: var(--text-mute);
  font-size: 11.5px;
  letter-spacing: .03em;
  text-transform: uppercase;
  margin-top: 3px;
}
.price-table td { color: var(--text-dim); }
.price-table td strong { color: var(--text); }
.pt-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  white-space: nowrap;
}
.pt-pill.free   { background: rgba(80,200,120,.12);  color: #50c878; }
.pt-pill.paid   { background: rgba(255,107,26,.12);  color: var(--orange-bright); }
.pt-pill.mixed  { background: rgba(42,111,255,.12);  color: #6f9bff; }
.price-table .pt-verdict { color: var(--text); font-weight: 600; }

@media (max-width: 600px) {
  .price-table th, .price-table td { padding: 13px 14px; }
  .price-table-wrap::after {
    content: "← táhni pro celou tabulku →";
    display: block;
    text-align: center;
    font-size: 11px;
    color: var(--text-mute);
    padding: 8px;
    border-top: 1px solid var(--border-light);
  }
}

/* ============================================
   PROMPT ŠABLONY (ke zkopírování)
   ============================================ */
.prompt-cards {
  margin: 28px 0 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.prompt-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.prompt-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}
.prompt-card-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,107,26,.12);
  color: var(--orange-bright);
  white-space: nowrap;
  flex-shrink: 0;
}
.prompt-card-title {
  font-weight: 800;
  color: var(--text);
  font-size: 14.5px;
  flex: 1;
  min-width: 0;
}
.prompt-copy {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: 9px;
  padding: 7px 13px;
  cursor: pointer;
  transition: background .15s, color .15s, transform .1s;
  white-space: nowrap;
}
.prompt-copy:hover { background: var(--orange); border-color: var(--orange); color: var(--text-strong); }
.prompt-copy:active { transform: scale(.96); }
.prompt-copy.copied { background: #50c878; border-color: #50c878; color: #06210f; }
.prompt-text {
  margin: 0;
  padding: 18px 18px 20px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-dim);
  white-space: pre-wrap;
  word-break: break-word;
}
.prompt-text b { color: var(--text); font-weight: 700; }
.prompt-hint {
  font-size: 13.5px;
  color: var(--text-mute);
  margin: -8px 0 22px;
}
@media (max-width: 560px) {
  .prompt-card-head { flex-wrap: wrap; gap: 8px; }
  .prompt-card-title { order: 3; flex-basis: 100%; }
}

/* ============================================
   ŠABLONY — speciální kategorie (page link) + zamčená stránka
   ============================================ */
/* Sidebar: kategorie, která odkazuje na vlastní stránku */
.cat-link { text-decoration: none; }
.cat-link .cat-lock { font-size: 12px; flex-shrink: 0; opacity: .85; }
.cat-link:hover .cat-lock { opacity: 1; }
.sidebar-cat-page .cat-toggle.active { background: var(--bg-card); color: var(--text); }

/* Homepage karta „připravujeme" */
.category-card-soon .count { color: var(--orange); }

/* ============================================
   KOMUNITNÍ FEED (příspěvky)
   ============================================ */
.feed-wrap { max-width: 720px; margin: 0 auto; }
.feed-category-link { cursor: pointer; }
.feed-category-count { min-width: 24px; margin-left: auto; padding: 2px 7px; border-radius: 999px; background: var(--bg-elevated); color: var(--text-mute); font: 700 10px/1.4 'JetBrains Mono', monospace; text-align: center; }
.feed-category-link.active .feed-category-count { background: rgba(255,107,26,.13); color: var(--orange-bright); }
.feed-category-link.locked { color: var(--text-mute); }
.feed-category-lock, .nav-course-lock { margin-left: auto; flex-shrink: 0; font-size: 11px; opacity: .72; }
.feed-mobile-categories { display: none; }
.feed-avatar { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; color: var(--text-strong); background: linear-gradient(135deg, var(--orange) 0%, #ff4500 100%); }
.feed-avatar.sm { width: 30px; height: 30px; font-size: 13px; }
.feed-avatar.has-image { position: relative; overflow: hidden; background: var(--bg-elevated); }
.feed-avatar.has-image img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.feed-avatar.has-image b { position: absolute; inset: 0; display: grid; place-items: center; }
.feed-search { display: flex; align-items: center; gap: 8px; min-height: 42px; margin-bottom: 12px; padding: 0 12px; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; background: rgba(255,255,255,.025); }
.feed-search-ico { flex-shrink: 0; color: var(--text-mute); font-size: 17px; line-height: 1; transform: translateY(-1px); }
.feed-search input { flex: 1; min-width: 0; height: 40px; border: 0; outline: 0; background: transparent; color: var(--text); font-family: 'Inter', sans-serif; font-size: 13.5px; }
.feed-search input::placeholder { color: var(--text-mute); }
.feed-search button { width: 24px; height: 24px; flex-shrink: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.06); color: var(--text-mute); font-size: 18px; line-height: 1; cursor: pointer; }
.feed-search button:hover { background: rgba(255,107,26,.14); color: var(--orange-bright); }
.feed-search-status { flex-shrink: 0; color: var(--text-mute); font: 700 10px/1.4 'JetBrains Mono', monospace; text-transform: uppercase; letter-spacing: .7px; white-space: nowrap; }

/* composer */
.composer { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 16px; margin-bottom: 18px; }
.composer-top { display: flex; gap: 12px; align-items: flex-start; }
.composer-input { flex: 1; background: transparent; border: none; color: var(--text); font-family: 'Inter', sans-serif; font-size: 15px; line-height: 1.5; resize: vertical; outline: none; padding: 8px 0; min-height: 44px; }
.composer-input::placeholder { color: var(--text-mute); }
.composer-preview { margin: 10px 0 0; position: relative; }
.composer-preview img { max-width: 100%; border-radius: 12px; display: block; }
.composer-preview .cp-up { font-size: 13px; color: var(--text-dim); }
.composer-preview .cp-remove { position: absolute; top: 8px; right: 8px; background: rgba(0,0,0,.6); color: var(--text-strong); border: none; border-radius: 100px; padding: 5px 11px; font-size: 12px; font-weight: 700; cursor: pointer; }
.composer-bar { display: flex; align-items: center; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.composer-tool { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text-dim); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: 10px; padding: 8px 13px; cursor: pointer; white-space: nowrap; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background .15s, border-color .15s; }
.composer-tool:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.24); }
.composer-tool svg { width: 17px; height: 17px; color: var(--text-strong); flex-shrink: 0; }
.composer-link { flex: 1; min-width: 120px; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 9px; padding: 8px 12px; color: var(--text); font-family: 'Inter', sans-serif; font-size: 13px; outline: none; }
.composer-cat { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 9px; padding: 8px 10px; color: var(--text); font-family: 'Inter', sans-serif; font-size: 13px; cursor: pointer; }
.composer-send { background: var(--orange); color: var(--text-strong); border: none; border-radius: 9px; padding: 9px 18px; font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.composer-send:hover { filter: brightness(1.08); }
.composer-send:disabled { opacity: .6; cursor: default; }
.composer-err { margin-top: 10px; font-size: 13px; color: #ff6b6b; }

/* taby — bez ošklivé scrollbary, s jemným fade na krajích (posouvá se prstem/tahem) */
.feed-tabs {
  display: flex; gap: 7px; overflow-x: auto; margin-bottom: 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;          /* Firefox */
  -ms-overflow-style: none;       /* Edge */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 18px, #000 calc(100% - 26px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 18px, #000 calc(100% - 26px), transparent 100%);
}
.feed-tabs::-webkit-scrollbar { display: none; }  /* Chrome/Safari */
.feed-tabs::before, .feed-tabs::after { content: ''; flex: 0 0 2px; }  /* dýchací prostor u fade okrajů */
.feed-tab { flex-shrink: 0; background: transparent; border: 1px solid var(--border); color: var(--text-dim); border-radius: 100px; padding: 7px 14px; font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: all .15s; }
.feed-tab:hover { border-color: var(--text-mute); color: var(--text); }
.feed-tab.active { background: var(--orange); border-color: var(--orange); color: var(--text-strong); }
.feed-tab.locked { color: var(--text-mute); border-style: dashed; }
.feed-tab.locked.active { background: var(--bg-elevated); border-color: var(--border); color: var(--text-dim); }
.feed-tab small { margin-left: 4px; opacity: .72; font: inherit; }
.community-channel-paywall { margin-top: 8px; }

/* feed */
.feed-list { display: flex; flex-direction: column; gap: 16px; }
.feed-loading, .feed-empty { text-align: center; color: var(--text-mute); font-size: 14px; padding: 32px 16px; }
.post { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 16px; }
.post-pinned { border-color: rgba(255,107,26,.36); }
.post-pinned-label { margin: -16px -16px 14px; padding: 7px 16px; border-radius: 15px 15px 0 0; background: rgba(255,107,26,.1); color: var(--orange-bright); font: 700 10px/1.4 'JetBrains Mono', monospace; letter-spacing: 1px; text-transform: uppercase; }
.post-head { display: flex; align-items: center; gap: 11px; margin-bottom: 10px; }
.post-meta { flex: 1; min-width: 0; }
.post-author { display: block; font-weight: 800; color: var(--text); font-size: 14.5px; }
.post-founder { display: inline-flex; margin-left: 5px; padding: 2px 7px; border: 1px solid rgba(255,107,26,.3); border-radius: 999px; color: var(--orange-bright); font-size: 9px; line-height: 1.4; vertical-align: 2px; }
.post-sub { display: block; font-size: 12px; color: var(--text-mute); margin-top: 1px; }
.post-del { background: none; border: none; color: var(--text-mute); font-size: 15px; cursor: pointer; padding: 4px 8px; border-radius: 8px; }
.post-del:hover { color: #ff6b6b; background: rgba(255,94,94,.1); }
.post-pin { width: 32px; height: 32px; flex-shrink: 0; border: 1px solid var(--border); border-radius: 9px; background: transparent; color: var(--text-mute); cursor: pointer; }
.post-pin:hover { border-color: rgba(255,107,26,.4); color: var(--orange-bright); background: rgba(255,107,26,.07); }
.post-pin:disabled { opacity: .45; cursor: wait; }
.post-title { margin: 4px 0 10px; color: var(--text); font-size: 20px; line-height: 1.3; }
.post-copy { position: relative; margin: 14px 0 12px; }
.post-body { position: relative; overflow: hidden; color: var(--text); font-size: 15px; line-height: 1.66; word-break: break-word; transition: max-height .25s ease; }
.post-body p + p,
.post-body p + h3,
.post-body .post-body-step + p,
.post-body .post-body-step + h3 { margin-top: 13px; }
.post-body h3 { margin: 19px 0 8px; color: var(--text); font-size: 16px; line-height: 1.4; }
.post-body h3:first-child { margin-top: 0; }
.post-body a { color: var(--orange-bright); font-weight: 700; text-decoration: underline; text-decoration-color: rgba(255,107,26,.4); text-underline-offset: 3px; }
.post-body-step { position: relative; margin-top: 8px; padding: 9px 12px 9px 15px; border-left: 2px solid rgba(255,107,26,.55); background: rgba(255,255,255,.025); color: var(--text-dim); }
.post-intro-block { margin-top: 12px; padding: 12px 14px; border: 1px solid rgba(255,255,255,.08); border-left: 2px solid rgba(255,107,26,.75); background: rgba(255,255,255,.025); }
.post-intro-block:first-child { margin-top: 0; }
.post-intro-block h3 { margin: 0 0 5px; color: var(--orange-bright); font-size: 12px; font-weight: 900; letter-spacing: .9px; text-transform: uppercase; }
.post-intro-block p { margin: 0; color: var(--text-dim); }
.post-body.is-collapsed { max-height: 238px; }
.post-body.is-collapsed::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 86px; pointer-events: none; background: linear-gradient(transparent, var(--bg-card)); }
.post-more { display: inline-flex; margin-top: 10px; padding: 6px 0; border: 0; background: none; color: var(--orange-bright); font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 800; cursor: pointer; }
.post-more:hover { color: var(--text-strong); }
.post-media { margin-bottom: 12px; border-radius: 12px; overflow: hidden; }
.post-media img { width: 100%; display: block; }
.post-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px; border-radius: 12px; }
.post-gallery.count-1 { grid-template-columns: 1fr; }
.post-gallery-item { min-width: 0; min-height: 210px; max-height: 520px; padding: 0; border: 0; background: #080808; cursor: zoom-in; overflow: hidden; }
.post-gallery-item:first-child:nth-last-child(3),
.post-gallery-item:first-child:nth-last-child(5) { grid-row: span 2; }
.post-gallery-item img { width: 100%; height: 100%; min-height: inherit; object-fit: cover; transition: transform .2s ease; }
.post-gallery-item:hover img { transform: scale(1.015); }
.post-media.post-yt { aspect-ratio: 16/9; }
.post-media.post-yt iframe { width: 100%; height: 100%; border: 0; }
.post-link { display: inline-block; margin-bottom: 12px; font-size: 13.5px; color: var(--orange-bright); word-break: break-all; }
.post-links { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 4px; }
.post-actions { display: flex; gap: 8px; border-top: 1px solid var(--border-light); padding-top: 12px; }
.post-like, .post-comments-toggle { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 100px; padding: 7px 14px; color: var(--text-dim); font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 700; cursor: pointer; transition: all .12s; }
.post-like:hover, .post-comments-toggle:hover { color: var(--text); border-color: var(--text-mute); }
.post-like.on { color: var(--text); border-color: rgba(255,107,26,.4); background: rgba(255,107,26,.08); }
.post-static-action { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--border); border-radius: 100px; padding: 7px 12px; background: var(--bg-elevated); color: var(--text-dim); font-size: 13px; font-weight: 700; }
.post-archive-label { align-self: center; margin-left: auto; color: var(--text-mute); font: 700 9px/1.4 'JetBrains Mono', monospace; letter-spacing: .7px; text-transform: uppercase; }
.post-lightbox { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 28px; background: rgba(0,0,0,.93); cursor: zoom-out; }
.post-lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* Klikatelný autor → profil člena */
.post-idbtn { padding: 0; border: 0; background: none; cursor: pointer; display: inline-flex; border-radius: 50%; }
.post-idbtn:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.post-authorbtn { padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
.post-authorbtn:hover { color: var(--orange-bright); }
.post-authorbtn:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; border-radius: 4px; }

/* Profilový modal člena */
.kprofile-modal { position: fixed; inset: 0; z-index: 1100; display: grid; place-items: center; padding: 20px; background: rgba(8,8,8,.72); backdrop-filter: blur(3px); animation: kpFade .18s ease; }
@keyframes kpFade { from { opacity: 0; } to { opacity: 1; } }
.kprofile-card { position: relative; width: 100%; max-width: 420px; padding: 30px 28px 26px; border: 1px solid var(--border); border-radius: 18px; background: var(--bg-card); box-shadow: 0 30px 90px rgba(0,0,0,.6); animation: kpIn .22s cubic-bezier(.4,0,.2,1); }
@keyframes kpIn { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.kprofile-close { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 50%; background: var(--bg-elevated); color: var(--text-dim); font-size: 14px; cursor: pointer; }
.kprofile-close:hover { color: var(--text); border-color: var(--text-mute); }
.kprofile-head { display: flex; align-items: center; gap: 15px; padding-right: 30px; }
.kprofile-avatar { width: 66px; height: 66px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; font-weight: 800; font-size: 26px; color: var(--text-strong); background: linear-gradient(135deg, var(--orange) 0%, #ff4500 100%); }
.kprofile-avatar.has-image { position: relative; overflow: hidden; background: var(--bg-elevated); }
.kprofile-avatar.has-image img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.kprofile-avatar.has-image b { position: absolute; inset: 0; display: grid; place-items: center; }
.kprofile-id { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.kprofile-id strong { color: var(--text-strong); font-size: 19px; line-height: 1.2; }
.kprofile-ig { width: fit-content; color: var(--orange-bright); font-size: 13px; font-weight: 600; text-decoration: none; }
.kprofile-ig:hover { text-decoration: underline; }
.kprofile-bio { margin-top: 18px; color: var(--text-dim); font-size: 13.5px; line-height: 1.6; max-height: 220px; overflow-y: auto; }
.kprofile-bio.is-empty { color: var(--text-mute); font-style: italic; }
.kprofile-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--border); }
.kprofile-stats > div { text-align: center; }
.kprofile-stats b { display: block; color: var(--orange); font: 800 22px/1 'Inter', sans-serif; }
.kprofile-stats span { display: block; margin-top: 5px; color: var(--text-mute); font-size: 11px; }

/* Modal „Zapsat úspěch" — rozmazané pozadí, minimalistické pole */
.win-modal { position: fixed; inset: 0; z-index: 1100; display: grid; place-items: center; padding: 20px; background: rgba(8,8,8,.72); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: kpFade .18s ease; }
.win-card { position: relative; width: 100%; max-width: 440px; padding: 30px 28px 22px; border: 1px solid var(--border); border-radius: 18px; background: var(--bg-card); box-shadow: 0 30px 90px rgba(0,0,0,.6); animation: kpIn .22s cubic-bezier(.4,0,.2,1); }
.win-close { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 50%; background: var(--bg-elevated); color: var(--text-dim); font-size: 14px; cursor: pointer; }
.win-close:hover { color: var(--text); border-color: var(--text-mute); }
.win-kicker { color: var(--orange); font: 700 10px/1 'JetBrains Mono', monospace; letter-spacing: .12em; text-transform: uppercase; }
.win-title { margin: 10px 0 6px; color: var(--text-strong); font: 400 clamp(26px,4vw,34px)/1 'Bebas Neue', sans-serif; }
.win-sub { margin: 0 0 16px; color: var(--text-dim); font-size: 13.5px; line-height: 1.5; }
.win-input { width: 100%; padding: 14px 15px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg); color: var(--text); font: 400 15px/1.5 'Inter', sans-serif; resize: none; }
.win-input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,107,26,.14); }
.win-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 14px; }
.win-count { color: var(--text-mute); font: 600 11px/1 'JetBrains Mono', monospace; }
.win-save { min-height: 44px; padding: 0 20px; border: 0; border-radius: 10px; background: var(--orange); color: #fff; font: 800 13px/1 'Inter', sans-serif; cursor: pointer; transition: opacity .18s, transform .18s; }
.win-save:hover:not(:disabled) { opacity: .92; }
.win-save:active:not(:disabled) { transform: scale(.97); }
.win-save:disabled { opacity: .4; cursor: default; }
.post-lightbox button { position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: rgba(0,0,0,.65); color: var(--text-strong); cursor: pointer; }

/* komentáře */
.post-comments { margin-top: 14px; display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 600px) {
  .feed-mobile-categories { display: block; margin-bottom: 14px; }
  .feed-mobile-categories > span { display: block; margin: 0 0 8px 4px; color: var(--text-mute); font: 700 10px/1.4 'JetBrains Mono', monospace; letter-spacing: 1px; text-transform: uppercase; }
  .post-gallery-item { min-height: 145px; }
  .post-gallery.count-1 .post-gallery-item { min-height: 240px; }
  .post-archive-label { display: none; }
}
.comment { display: flex; gap: 10px; align-items: flex-start; }
.comment-body { flex: 1; background: var(--bg-elevated); border-radius: 12px; padding: 9px 13px; font-size: 14px; color: var(--text); line-height: 1.5; }
.comment-author { font-weight: 800; }
.comment-sub { font-size: 11px; color: var(--text-mute); margin-top: 3px; }
.comment-sub .comment-del { background: none; border: none; color: var(--text-mute); font-size: 11px; cursor: pointer; padding: 0; text-decoration: underline; }
.comment-sub .comment-del:hover { color: #ff6b6b; }
.comment-archive-note { font-size: 11.5px; color: var(--text-mute); text-align: center; padding: 4px 0 2px; opacity: .8; }
.comment-add { display: flex; gap: 10px; align-items: center; }
.comment-input { flex: 1; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 100px; padding: 9px 15px; color: var(--text); font-family: 'Inter', sans-serif; font-size: 14px; outline: none; }
.comment-input:focus { border-color: var(--border-accent); }
.comment-send { background: transparent; border: none; color: var(--orange-bright); font-weight: 800; font-size: 13.5px; cursor: pointer; white-space: nowrap; }

/* ============================================
   PŘEPÍNAČ SEKCÍ (Kurzy / Databáze / Příspěvky)
   ============================================ */
.sidebar-switch {
  position: relative;
  display: flex; gap: 0; padding: 5px;
  border-radius: 17px;
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.015));
  border: 1px solid rgba(255,255,255,.09);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 10px 26px -14px rgba(0,0,0,.7);
}
/* Klouzavá skleněná pilulka (aktivní / hover) */
.switch-pill {
  position: absolute; top: 0; left: 0; z-index: 0;
  width: 0; height: 0; border-radius: 13px;
  background: linear-gradient(180deg, #ff9a3d 0%, var(--orange) 55%, #e8620c 100%);
  box-shadow: 0 8px 20px -7px rgba(255,122,26,.65), inset 0 1px 0 rgba(255,255,255,.35),
              inset 0 -1px 0 rgba(0,0,0,.12);
  opacity: 0; pointer-events: none;
  transition: transform .44s cubic-bezier(.34,1.32,.44,1), width .44s cubic-bezier(.34,1.32,.44,1),
              height .44s cubic-bezier(.34,1.32,.44,1), opacity .3s ease;
}
.switch-pill.ready { opacity: 1; }
.switch-btn {
  position: relative; z-index: 1;
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 12px 4px; border-radius: 13px; text-decoration: none;
  color: var(--text-dim); transition: color .28s ease;
}
.switch-btn .sw-ico { width: 24px; height: 24px; display: block; transition: transform .3s cubic-bezier(.34,1.32,.44,1); }
.switch-btn .sw-lbl { font-size: 11.5px; font-weight: 700; letter-spacing: -.01em; transition: color .28s ease; }
.switch-btn.is-hot { color: var(--text-strong); }
.switch-btn.is-hot .sw-lbl { color: var(--text-strong); }
.switch-btn.is-hot .sw-ico { transform: translateY(-1px) scale(1.06); }
@media (prefers-reduced-motion: reduce) {
  .switch-pill { transition: opacity .2s ease; }
  .switch-btn .sw-ico { transition: none; }
}

.sidebar-link.coming { color: var(--text-mute); cursor: default; opacity: .6; }
.sidebar-link.coming:hover { background: none; }

/* ============================================
   KURZ — strom lekcí v levé liště
   ============================================ */
.sidebar-back { display: inline-flex; align-items: center; font-size: 13px; font-weight: 600; color: var(--text-dim); text-decoration: none; padding: 4px 2px 10px; }
.sidebar-back:hover { color: var(--orange); }
.sidebar-course-head { display: flex; align-items: center; gap: 9px; padding: 4px 2px 12px; border-bottom: 1px solid var(--border); margin-bottom: 10px; }
.sidebar-course-head .sch-ico { font-size: 18px; flex-shrink: 0; }
.sidebar-course-head .sch-title { font-size: 13.5px; font-weight: 800; color: var(--text); line-height: 1.25; letter-spacing: -.01em; }

.ct-prog { display: flex; align-items: center; gap: 9px; margin: 0 2px 14px; }
.ct-prog-bar { flex: 1; height: 5px; background: var(--bg-elevated); border-radius: 100px; overflow: hidden; }
.ct-prog-bar span { display: block; height: 100%; background: var(--orange); border-radius: 100px; transition: width .3s; }
.ct-prog-pct { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--text-mute); flex-shrink: 0; }

.course-tree { display: flex; flex-direction: column; gap: 4px; }
.ct-mod { border-radius: 10px; overflow: hidden; }
.ct-mod-head { display: flex; align-items: center; gap: 8px; width: 100%; padding: 9px 8px; background: none; border: none; cursor: pointer; text-align: left; font-family: 'Inter', sans-serif; border-radius: 8px; }
.ct-mod-head:hover { background: var(--bg-card); }
.ct-mod-title { flex: 1; font-size: 12.5px; font-weight: 800; color: var(--text); line-height: 1.3; letter-spacing: -.01em; }
.ct-mod-count { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--text-mute); background: var(--bg-elevated); padding: 2px 7px; border-radius: 100px; flex-shrink: 0; }
.ct-mod-arrow { font-size: 10px; color: var(--text-mute); transition: transform .2s ease; flex-shrink: 0; }
.ct-mod.open .ct-mod-arrow { transform: rotate(180deg); }
.ct-mod-list { display: none; padding: 2px 0 6px 4px; }
.ct-mod.open .ct-mod-list { display: block; }

.ct-lesson { display: flex; align-items: center; gap: 9px; padding: 8px 8px 8px 6px; border-radius: 8px; cursor: pointer; transition: background .12s; }
.ct-lesson:hover { background: var(--bg-card); }
.ct-lesson.playing { background: rgba(255,107,26,.1); }
.ct-lesson.playing .ct-lesson-title { color: var(--orange-bright); }
.ct-check { width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid var(--border); flex-shrink: 0; position: relative; transition: all .12s; }
.ct-lesson:hover .ct-check { border-color: var(--text-mute); }
.ct-lesson.done .ct-check { background: #50c878; border-color: #50c878; }
.ct-lesson.done .ct-check::after { content: '✓'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #06210f; font-size: 10px; font-weight: 800; }
.ct-lesson.locked .ct-check { visibility: hidden; }
.ct-play { font-size: 10px; color: var(--orange); width: 12px; text-align: center; flex-shrink: 0; }
.ct-lesson.locked .ct-play { color: var(--text-mute); }
.ct-lesson-title { flex: 1; font-size: 13px; color: var(--text-dim); line-height: 1.35; }
.ct-lesson:hover .ct-lesson-title { color: var(--text); }
.ct-lesson.done .ct-lesson-title { color: var(--text-mute); }
.ct-soon { font-family: 'JetBrains Mono', monospace; font-size: 9px; color: var(--text-mute); background: var(--bg-elevated); padding: 2px 6px; border-radius: 100px; flex-shrink: 0; }
.player-note { font-size: 13px; color: var(--text-dim); margin-top: 6px; }

/* ============================================
   KURZY — přehled, detail, přehrávač, osnova
   ============================================ */
.courses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin: 8px 0 44px; }
.course-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden; text-decoration: none; color: inherit;
  transition: border-color .15s, transform .1s;
}
.course-card:hover { border-color: var(--border-accent); transform: translateY(-2px); }
.course-thumb { aspect-ratio: 16 / 9; background-size: cover; background-position: center; background-color: var(--bg-elevated); }
.ct-fallback { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 18px; background: linear-gradient(140deg, #1c1512 0%, #0e0b09 100%); }
.ct-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(22px,3vw,30px); line-height: 1; color: var(--text); letter-spacing: .5px; text-transform: uppercase; }
.ct-brand { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .15em; color: var(--text-mute); text-transform: uppercase; }
.course-lock-badge { position: absolute; top: 12px; right: 12px; z-index: 2; font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 700; color: var(--text-strong); background: rgba(0,0,0,.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); padding: 5px 10px; border-radius: 100px; }
.course-info { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.ci-head { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }
.ci-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--bg-elevated); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.course-title { font-size: 16px; font-weight: 800; color: var(--text); margin: 0; letter-spacing: -.01em; line-height: 1.25; }
.course-desc { font-size: 13.5px; color: var(--text-dim); line-height: 1.5; margin: 0 0 16px; flex: 1; }
.ci-foot { margin-top: auto; }
.ci-plabel { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--text-mute); margin-bottom: 7px; }
.ci-bar { height: 5px; background: var(--bg-elevated); border-radius: 100px; overflow: hidden; }
.ci-bar span { display: block; height: 100%; background: var(--orange); border-radius: 100px; transition: width .3s; }

/* detail — hero */
.course-hero { margin: 6px 0 26px; }
.course-eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-bright); margin: 0 0 10px; }
.course-hero-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(30px,5vw,46px); line-height: 1.02; letter-spacing: .5px; margin: 0 0 10px; color: var(--text); }
.course-hero-desc { font-size: 15.5px; color: var(--text-dim); line-height: 1.6; margin: 0 0 12px; max-width: 60ch; }
.course-hero-meta { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--text-mute); letter-spacing: .03em; }

/* přehrávač */
.player-wrap { margin: 0 0 28px; }
.player-box { position: relative; background: #000; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; aspect-ratio: 16/9; }
.player-embed { position: absolute; inset: 0; }
.player-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.player-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 24px; color: var(--text-dim); font-size: 14.5px; background: var(--bg-card); }
.player-empty .pe-ico { font-size: 30px; opacity: .7; }
.player-title { margin-top: 12px; font-size: 16px; font-weight: 700; color: var(--text); }

/* osnova — accordion */
.course-modules { display: flex; flex-direction: column; gap: 12px; margin-bottom: 44px; }
.cmod { border: 1px solid var(--border); border-radius: 14px; background: var(--bg-card); overflow: hidden; }
.cmod-head { display: flex; align-items: center; gap: 12px; width: 100%; padding: 16px 18px; background: none; border: none; cursor: pointer; text-align: left; font-family: 'Inter', sans-serif; }
.cmod-title { flex: 1; font-size: 15.5px; font-weight: 800; color: var(--text); letter-spacing: -.01em; }
.cmod-count { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--text-mute); background: var(--bg-elevated); padding: 3px 9px; border-radius: 100px; }
.cmod-arrow { font-size: 12px; color: var(--text-mute); transition: transform .2s ease; }
.cmod.open .cmod-arrow { transform: rotate(180deg); }
.cmod-list { display: none; padding: 0 8px 8px; }
.cmod.open .cmod-list { display: block; }
.clesson { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; cursor: pointer; transition: background .12s; }
.clesson:hover { background: var(--bg-elevated); }
.clesson.playing { background: rgba(255,107,26,.08); }
.cl-check { width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--border); flex-shrink: 0; position: relative; transition: all .12s; }
.clesson:hover .cl-check { border-color: var(--text-mute); }
.clesson.done .cl-check { background: #50c878; border-color: #50c878; }
.clesson.done .cl-check::after { content: '✓'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #06210f; font-size: 11px; font-weight: 800; }
.clesson.locked .cl-check { visibility: hidden; }
.cl-play { font-size: 12px; color: var(--orange); width: 18px; text-align: center; flex-shrink: 0; }
.clesson.locked .cl-play { color: var(--text-mute); }
.cl-title { flex: 1; font-size: 14px; color: var(--text); line-height: 1.4; }
.clesson.done .cl-title { color: var(--text-dim); }
.clesson.locked .cl-title { color: var(--text-dim); }
.cl-soon { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--text-mute); background: var(--bg-elevated); padding: 2px 7px; border-radius: 100px; flex-shrink: 0; }
@media (max-width: 560px){
  .course-card { padding: 16px; gap: 14px; }
  .course-ico { font-size: 28px; }
  .course-arrow { display: none; }
}

/* ============================================
   ACADEMY SALES PAGE + CHECKOUT STATES
   ============================================ */
.academy-top .brand-name { width: 148px; height: 25px; }
.academy-top-link {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}
.academy-top-link:hover { color: var(--text); }
.academy-top-cta {
  color: var(--text-strong);
  background: var(--orange);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  padding: 9px 15px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
}
.academy-page {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 58px 0 80px;
}
.academy-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: stretch;
  min-height: calc(100vh - var(--header-height) - 110px);
}
.academy-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 54px;
  border: 1px solid rgba(255,107,26,.28);
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 82%, rgba(255,107,26,.28), transparent 32%),
    linear-gradient(140deg, rgba(42,19,10,.96), rgba(12,12,12,.95) 48%, rgba(20,20,20,.96));
  overflow: hidden;
}
.academy-kicker {
  font-family: 'JetBrains Mono', monospace;
  color: var(--orange-bright);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.academy-hero h1,
.academy-section h2,
.checkout-panel h1 {
  font-family: 'Bebas Neue', sans-serif;
  color: var(--text);
  line-height: .96;
  letter-spacing: .4px;
}
.academy-hero h1 {
  font-size: clamp(54px, 10vw, 118px);
  max-width: 8.5ch;
  margin-bottom: 24px;
}
.academy-lead {
  max-width: 780px;
  color: #d8d8d8;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
}
.academy-actions,
.checkout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.academy-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.32);
  background: linear-gradient(135deg, var(--orange), #ff4d00);
  color: var(--text-strong);
  text-decoration: none;
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 18px 40px rgba(255,107,26,.2);
  cursor: pointer;
}
.academy-cta.secondary {
  background: rgba(255,255,255,.03);
  color: var(--text);
  border-color: var(--border);
  box-shadow: none;
}
.academy-cta:disabled {
  opacity: .62;
  cursor: wait;
}
.academy-proofline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.academy-proofline span {
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-dim);
  font-size: 11px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  border-radius: 999px;
  padding: 7px 10px;
}
.academy-hero-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 13px;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  background: linear-gradient(180deg, var(--bg-card-2), #101010);
}
.academy-hero-card p,
.academy-hero-card span {
  color: var(--text-dim);
  font-size: 14px;
}
.academy-hero-card strong {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 62px;
  line-height: .95;
  color: var(--text);
}
.academy-section {
  margin-top: 34px;
  padding: 38px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--bg-card);
}
.academy-section h2 {
  font-size: clamp(38px, 5vw, 70px);
  margin-bottom: 16px;
}
.academy-section p {
  color: var(--text-dim);
  font-size: 17px;
  line-height: 1.7;
  max-width: 78ch;
}
.academy-section p + p { margin-top: 14px; }
.academy-section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}
.academy-section-head h2 { max-width: 760px; margin: 0; }
.academy-value-grid,
.academy-reviews {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.academy-value-grid article,
.academy-reviews article {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255,255,255,.025);
}
.academy-value-grid h3,
.academy-reviews h3 {
  color: var(--text);
  font-size: 19px;
  line-height: 1.25;
  margin-bottom: 8px;
}
.academy-value-grid p,
.academy-reviews p {
  font-size: 14.5px;
  line-height: 1.62;
}
.academy-value-grid strong {
  display: block;
  color: var(--orange-bright);
  margin-top: 14px;
  font-size: 13px;
}
.academy-roi {
  background:
    radial-gradient(circle at 80% 10%, rgba(255,107,26,.18), transparent 32%),
    var(--bg-card);
}
.review-stars {
  color: #f5b301;
  letter-spacing: 2px;
  font-size: 18px;
  margin-bottom: 12px;
}
.academy-order {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 28px;
  border-color: rgba(255,107,26,.42);
  background:
    linear-gradient(145deg, rgba(255,107,26,.1), transparent 44%),
    var(--bg-card);
}
.academy-checklist {
  margin: 22px 0 0;
  list-style: none;
}
.academy-checklist li {
  color: var(--text);
  margin-bottom: 10px;
  padding-left: 28px;
  position: relative;
}
.academy-checklist li::before {
  content: '✓';
  color: var(--orange);
  position: absolute;
  left: 0;
  font-weight: 900;
}
.academy-checkout {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #101010;
  padding: 24px;
}
.academy-price {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.academy-price span,
.academy-price small {
  display: block;
  color: var(--text-dim);
  font-size: 13px;
}
.academy-price strong {
  display: block;
  color: var(--text);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 58px;
  line-height: .95;
  margin: 7px 0;
}
.academy-checkout label {
  display: block;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 14px;
}
.academy-checkout input[type="email"] {
  width: 100%;
  margin-top: 7px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  padding: 14px 13px;
  font: inherit;
}
.academy-bump {
  display: flex !important;
  gap: 11px;
  align-items: flex-start;
  border: 1px solid rgba(255,107,26,.26);
  border-radius: 12px;
  padding: 13px;
  background: rgba(255,107,26,.06);
}
.academy-bump input { margin-top: 3px; }
.academy-submit { width: 100%; border: 0; margin-top: 6px; }
.academy-payment-note {
  font-size: 12px !important;
  line-height: 1.55 !important;
  margin-top: 14px;
}
.academy-payment-note a { color: var(--text); }
.academy-error {
  color: #ff9d72 !important;
  font-size: 13px !important;
  min-height: 20px;
  margin-top: 10px;
}
.academy-faq details {
  border-top: 1px solid var(--border);
  padding: 17px 0;
}
.academy-faq details:last-child { border-bottom: 1px solid var(--border); }
.academy-faq summary {
  cursor: pointer;
  color: var(--text);
  font-size: 18px;
  font-weight: 900;
}
.academy-faq details p {
  margin-top: 10px;
  font-size: 15px;
}

/* --- Academy: member proof strip --- */
.academy-members { display: flex; align-items: center; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.academy-members-pics { height: 40px; width: auto; }
.academy-members-txt { font-size: 13.5px; color: var(--text-dim); line-height: 1.5; }
.academy-members-txt strong { color: var(--text); }

/* --- Academy: platforma (aktuální funkce) --- */
.academy-platform { max-width: 1120px; margin: 0 auto; padding: 40px 24px 20px; }
.academy-platform-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 34px; }
.academy-platform-grid article { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 22px 18px; transition: border-color .15s ease, transform .15s ease; }
.academy-platform-grid article:hover { border-color: rgba(255,107,26,.4); transform: translateY(-2px); }
.academy-platform-grid .ap-ico { font-size: 26px; line-height: 1; display: block; margin-bottom: 12px; }
.academy-platform-grid h3 { font-size: 15px; font-weight: 800; letter-spacing: -.01em; margin: 0 0 6px; }
.academy-platform-grid p { font-size: 13px; color: var(--text-dim); line-height: 1.55; margin: 0; }

/* --- Academy: showcase fotek --- */
.academy-showcase { max-width: 1120px; margin: 0 auto; padding: 30px 24px; }
.academy-showcase-grid { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 150px; gap: 12px; margin-top: 30px; }
.academy-showcase-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; border: 1px solid var(--border); display: block; }
.academy-showcase-grid img:nth-child(1) { grid-column: span 3; grid-row: span 2; }
.academy-showcase-grid img:nth-child(2) { grid-column: span 3; }
.academy-showcase-grid img:nth-child(3) { grid-column: span 2; }
.academy-showcase-grid img:nth-child(4) { grid-column: span 2; }
.academy-showcase-grid img:nth-child(5) { grid-column: span 2; }

/* --- Academy: hero rating (FundedMind styl) --- */
.academy-rating { display: flex; align-items: center; gap: 10px; margin: 22px 0; }
.academy-rating-stars { color: #ffb300; letter-spacing: 2px; font-size: 16px; }
.academy-rating-txt { font-size: 14px; color: var(--text-dim); }
.academy-rating-txt strong { color: var(--text); }

/* --- Academy: CTA pod výčtem obsahu --- */
.academy-value-cta { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 34px; text-align: center; }
.academy-value-note { font-size: 13px; color: var(--text-mute); }

/* --- Academy: finální výzva (bez cen) --- */
.academy-final { padding: 20px 24px 10px; }
.academy-final-inner {
  max-width: 720px; margin: 0 auto; text-align: center;
  background: linear-gradient(180deg, rgba(255,107,26,.1), rgba(20,20,20,.4));
  border: 1px solid rgba(255,107,26,.28); border-radius: 22px; padding: 48px 30px;
}
.academy-final-inner h2 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(32px, 5.5vw, 52px); line-height: 1.02; letter-spacing: -.3px; margin: 8px 0 12px; }
.academy-final-inner p { font-size: 16px; color: var(--text-dim); line-height: 1.6; max-width: 500px; margin: 0 auto 26px; }
.academy-cta-lg { font-size: 17px; padding: 16px 34px; }
.academy-final-note { font-size: 13px; color: var(--text-mute); margin-top: 16px; }

/* --- Academy: partneři --- */
.academy-partners { max-width: 1120px; margin: 0 auto; padding: 30px 24px; text-align: center; }
.academy-partner-chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }
.academy-partner-chips span { font-family: 'Bebas Neue', sans-serif; font-size: 22px; letter-spacing: 1px; color: var(--text-dim); border: 1px solid var(--border); border-radius: 12px; padding: 12px 24px; background: var(--bg-card); transition: color .15s ease, border-color .15s ease; }
.academy-partner-chips span:hover { color: var(--text); border-color: rgba(255,107,26,.4); }

@media (max-width: 880px) {
  .academy-platform-grid { grid-template-columns: repeat(2, 1fr); }
  .academy-showcase-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; }
  .academy-showcase-grid img:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .academy-showcase-grid img:nth-child(n+2) { grid-column: span 1; }
}
@media (max-width: 480px) {
  .academy-platform-grid { grid-template-columns: 1fr; }
}

.checkout-state {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.checkout-brand {
  position: fixed;
  top: 24px;
  left: 24px;
}
.checkout-panel {
  width: min(620px, 100%);
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--bg-card);
  padding: 38px;
  text-align: center;
}
.checkout-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(80,200,120,.14);
  color: #50c878;
  font-size: 28px;
  font-weight: 900;
}
.checkout-icon.muted {
  color: var(--text-dim);
  background: rgba(255,255,255,.06);
}
.checkout-panel h1 {
  font-size: clamp(42px, 7vw, 72px);
  margin-bottom: 12px;
}
.checkout-panel p {
  color: var(--text-dim);
  font-size: 16px;
}
@media (max-width: 860px) {
  .academy-page { width: min(100% - 28px, 680px); padding-top: 28px; }
  .academy-hero,
  .academy-order,
  .academy-value-grid,
  .academy-reviews {
    grid-template-columns: 1fr;
  }
  .academy-hero { min-height: 0; }
  .academy-hero-copy,
  .academy-section {
    padding: 24px;
  }
  .academy-hero-card strong,
  .academy-price strong { font-size: 48px; }
}
@media (max-width: 560px) {
  .academy-top-link { display: none; }
  .academy-top-cta { padding: 8px 12px; }
  .academy-hero-copy,
  .academy-section,
  .checkout-panel {
    padding: 20px;
    border-radius: 14px;
  }
  .academy-actions,
  .checkout-actions { flex-direction: column; }
  .academy-cta { width: 100%; }
}

/* Academy sales page — editorial, minimal layout */
.academy-body { background: #090909; }
.academy-body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
  opacity: .025;
  z-index: 20;
}
.academy-top {
  background: rgba(9,9,9,.86);
  border-bottom-color: rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
}

/* ============================================
   HERO v4 (Flixy styl — text vlevo, grafika vpravo, dark)
   ============================================ */
.hero4 { position: relative; padding: 54px 0 72px; overflow: hidden; }
.hero4::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 55%, transparent 100%);
          mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 55%, transparent 100%);
}
.hero4-glow {
  position: absolute; top: -8%; right: -6%; width: 720px; height: 560px; max-width: 90vw;
  z-index: 0; pointer-events: none;
  background: radial-gradient(circle at 60% 40%, rgba(255,107,26,.22), rgba(255,107,26,.05) 45%, transparent 70%);
  filter: blur(4px);
}
.hero4-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.06fr .94fr; gap: 50px; align-items: center;
  min-height: calc(88svh - var(--header-height));
}
.hero4-copy { text-align: left; }
.hero4-eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); margin-bottom: 16px; }
.hero4-title { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: clamp(44px, 6.4vw, 82px); line-height: .95; letter-spacing: -.5px; color: var(--text); margin: 0 0 20px; }
.hero4-title span { color: var(--orange); }
.hero4-lead { font-size: clamp(15px, 1.5vw, 17px); line-height: 1.6; color: var(--text-dim); max-width: 520px; margin: 0 0 24px; }
.hero4-proof { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero4-avatars { height: 32px; width: auto; }
.hero4-stars { color: #ffb300; letter-spacing: 2px; font-size: 15px; }
.hero4-rating { font-size: 13.5px; color: var(--text-dim); }
.hero4-rating strong { color: var(--text); }
.hero4-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero4-cta {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 30px; border-radius: 14px; text-decoration: none;
  font-size: 16px; font-weight: 800; letter-spacing: -.01em; color: var(--text-strong);
  background: linear-gradient(180deg, #ff9a3d 0%, var(--orange) 55%, #e8620c 100%);
  box-shadow: 0 14px 32px -10px rgba(255,122,26,.7), inset 0 1px 0 rgba(255,255,255,.3);
  transition: transform .15s ease, box-shadow .15s ease;
}
.hero4-cta:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -10px rgba(255,122,26,.8), inset 0 1px 0 rgba(255,255,255,.3); }
.hero4-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 26px; border-radius: 14px; text-decoration: none;
  font-size: 15px; font-weight: 700; color: var(--text-dim);
  border: 1px solid var(--border); background: rgba(255,255,255,.02);
  transition: color .15s ease, border-color .15s ease;
}
.hero4-ghost:hover { color: var(--text); border-color: rgba(255,255,255,.22); }
.hero4-note { margin-top: 18px; font-size: 12.5px; color: var(--text-mute); }

/* grafika vpravo (fotka + plovoucí popisky) */
.hero4-visual { position: relative; justify-self: end; width: 100%; max-width: 440px; }
.hero4-photo {
  margin: 0; border-radius: 26px; overflow: hidden; aspect-ratio: 4/5;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 70px -24px rgba(255,107,26,.5), inset 0 1px 0 rgba(255,255,255,.1);
}
.hero4-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
.hero4-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 700; color: var(--text);
  background: rgba(20,20,20,.82); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(10px); border-radius: 100px; padding: 8px 13px; white-space: nowrap;
  box-shadow: 0 10px 24px -10px rgba(0,0,0,.7);
  animation: chipFloat 4s ease-in-out infinite;
}
.chip-a { top: 8%; left: -8%; animation-delay: 0s; }
.chip-b { bottom: 16%; left: -12%; animation-delay: .8s; }
.chip-c { top: 34%; right: -12%; animation-delay: 1.6s; }
.chip-d { bottom: 6%; right: -4%; animation-delay: 2.4s; }
@keyframes chipFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* CHECKLIST band */
.usecase { padding: 26px 0 46px; }
.usecase-inner { max-width: 900px; margin: 0 auto; }
.usecase-lead { text-align: center; color: var(--text-dim); font-size: clamp(15px,2vw,17px); margin: 0 auto 24px; max-width: 620px; }
.usecase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 34px; max-width: 720px; margin: 0 auto; }
.usecase-item { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--text); }
.uc-check { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: rgba(255,107,26,.16); color: var(--orange-bright); display: grid; place-items: center; font-size: 12px; font-weight: 800; }

/* 3 KROKY */
.steps3 { padding: 46px 0 26px; }
.steps3-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1000px; margin: 0 auto; }
.step3 { background: var(--bg-card); border: 1px solid var(--border); border-radius: 18px; padding: 30px 26px; text-align: left; transition: border-color .15s ease, transform .15s ease; }
.step3:hover { border-color: rgba(255,107,26,.4); transform: translateY(-3px); }
.step3-num { width: 46px; height: 46px; border-radius: 13px; background: linear-gradient(180deg, #ff9a3d, var(--orange)); color: var(--text-strong); font-family: 'Bebas Neue', sans-serif; font-size: 28px; display: grid; place-items: center; margin-bottom: 18px; box-shadow: 0 10px 22px -8px rgba(255,122,26,.6); }
.step3 h3 { font-size: 19px; font-weight: 800; letter-spacing: -.01em; margin: 0 0 8px; }
.step3 p { color: var(--text-dim); font-size: 14px; line-height: 1.6; margin: 0; }
.steps3-cta { text-align: center; margin-top: 36px; }

/* RECENZE — karty (Trustpilot styl, dark) */
.revs { max-width: 1120px; margin: 0 auto; padding: 24px 24px 84px; }
.revs-score { color: #ffb300; font-weight: 700; }
.revs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.rev-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 14px; transition: border-color .15s ease; }
.rev-card:hover { border-color: rgba(255,255,255,.16); }
.rev-stars { color: #ffb300; letter-spacing: 2px; font-size: 14px; }
.rev-card blockquote { margin: 0; font-size: 14.5px; line-height: 1.62; color: var(--text); flex: 1; }
.rev-card footer { display: flex; align-items: center; gap: 11px; }
.rev-av { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--orange), #e8620c); color: var(--text-strong); font-weight: 800; font-size: 13px; display: grid; place-items: center; flex-shrink: 0; }
.rev-who { display: flex; flex-direction: column; line-height: 1.3; }
.rev-who strong { font-size: 14px; }
.rev-who small { font-size: 12px; color: var(--text-mute); }

.hl-o { color: var(--orange); }

@media (max-width: 900px) {
  .hero4-inner { grid-template-columns: 1fr; gap: 40px; min-height: 0; }
  .hero4-visual { justify-self: center; max-width: 360px; margin-top: 8px; }
  .revs-grid, .steps3-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hero4 { padding: 30px 0 48px; }
  .hero4-actions { flex-direction: column; align-items: stretch; }
  .hero4-cta, .hero4-ghost { width: 100%; }
  .hero4-visual { max-width: 300px; }
  .chip-a, .chip-b { left: -4%; }
  .chip-c, .chip-d { right: -4%; }
  .hero4-chip { font-size: 11px; padding: 6px 10px; }
  .usecase-grid, .revs-grid, .steps3-grid { grid-template-columns: 1fr; }
}

/* ============================================
   HERO v3 (FundedMind styl — centrovaný, minimalistický, mobile-first)
   ============================================ */
.hero3 {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 56px 0 64px;
  overflow: hidden;
}
/* tečkovaný grid, jemně mizející k okrajům */
.hero3::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 42%, #000 55%, transparent 100%);
          mask-image: radial-gradient(ellipse 75% 65% at 50% 42%, #000 55%, transparent 100%);
}
/* oranžový glow shora */
.hero3-glow {
  position: absolute; top: -12%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 600px; max-width: 130vw; z-index: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 40%, rgba(255,107,26,.22), rgba(255,107,26,.06) 42%, transparent 68%);
  filter: blur(6px);
}
.hero3-inner { position: relative; z-index: 1; width: min(820px, 100%); margin: 0 auto; padding: 0 22px; }

.hero3-media {
  position: relative; width: 132px; height: 132px; margin: 0 auto 26px;
  border-radius: 26px; overflow: hidden; border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 50px -16px rgba(255,107,26,.5), inset 0 1px 0 rgba(255,255,255,.12);
}
.hero3-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; display: block; }
.hero3-badge {
  position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%);
  font-family: 'JetBrains Mono', monospace; font-size: 8.5px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-strong); background: rgba(0,0,0,.55); backdrop-filter: blur(4px); padding: 4px 8px; border-radius: 100px; white-space: nowrap;
}

.hero3-eyebrow {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 16px;
}
.hero3-title {
  font-family: 'Bebas Neue', sans-serif; font-weight: 400;
  font-size: clamp(42px, 8.5vw, 84px); line-height: .96; letter-spacing: -.5px;
  color: var(--text); margin: 0 auto 20px; max-width: 14ch;
}
.hero3-title span { color: var(--orange); }
.hero3-lead {
  font-size: clamp(15px, 2.4vw, 18px); line-height: 1.6; color: var(--text-dim);
  max-width: 600px; margin: 0 auto 26px;
}

.hero3-proof { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.hero3-avatars { height: 32px; width: auto; }
.hero3-stars { color: #ffb300; letter-spacing: 2px; font-size: 15px; }
.hero3-rating { font-size: 13.5px; color: var(--text-dim); }
.hero3-rating strong { color: var(--text); }

.hero3-actions { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.hero3-cta {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 30px; border-radius: 14px; text-decoration: none;
  font-size: 16px; font-weight: 800; letter-spacing: -.01em; color: var(--text-strong);
  background: linear-gradient(180deg, #ff9a3d 0%, var(--orange) 55%, #e8620c 100%);
  box-shadow: 0 14px 32px -10px rgba(255,122,26,.7), inset 0 1px 0 rgba(255,255,255,.3);
  transition: transform .15s ease, box-shadow .15s ease;
}
.hero3-cta:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -10px rgba(255,122,26,.8), inset 0 1px 0 rgba(255,255,255,.3); }
.hero3-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 26px; border-radius: 14px; text-decoration: none;
  font-size: 15px; font-weight: 700; color: var(--text-dim);
  border: 1px solid var(--border); background: rgba(255,255,255,.02);
  transition: color .15s ease, border-color .15s ease;
}
.hero3-ghost:hover { color: var(--text); border-color: rgba(255,255,255,.22); }
.hero3-note { margin-top: 18px; font-size: 12.5px; color: var(--text-mute); }

@media (max-width: 560px) {
  .hero3 { min-height: 0; padding: 30px 0 44px; }
  .hero3-media { width: 108px; height: 108px; border-radius: 22px; margin-bottom: 22px; }
  .hero3-actions { flex-direction: column; align-items: stretch; }
  .hero3-cta, .hero3-ghost { width: 100%; }
  .hero3-proof { gap: 8px; }
}
.academy-top .brand-name,
.academy-footer .brand-name {
  width: 166px;
  height: 28px;
}
.academy-page {
  width: min(1120px, calc(100% - 48px));
  padding: 0 0 70px;
}
.academy-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .72fr);
  min-height: calc(100svh - var(--header-height));
  gap: 0;
  align-items: stretch;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.academy-hero-copy {
  justify-content: center;
  padding: 80px 70px 80px 0;
  border: 0;
  border-radius: 0;
  background: none;
  overflow: visible;
}
.academy-kicker,
.academy-eyebrow {
  margin: 0 0 18px;
  color: var(--orange-bright);
  font: 700 11px/1.2 'JetBrains Mono', monospace;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

/* ============================================
   SJEDNOCENÍ SEKCÍ do centrovaného hero3 stylu (v3)
   ============================================ */
/* Příběh — na střed, vzdušně */
.academy-page .academy-story {
  display: block; text-align: center;
  max-width: 780px; margin: 0 auto; padding: 90px 0;
}
.academy-page .academy-story-intro { margin-bottom: 22px; }
.academy-page .academy-story-copy { max-width: 660px; margin: 0 auto; }
.academy-page .academy-story-copy p { text-align: center; }
.academy-page .academy-story-copy .academy-emphasis {
  text-align: center; border-left: none;
  border: 1px solid rgba(255,107,26,.28); background: rgba(255,107,26,.07);
  border-radius: 16px; padding: 20px 24px; margin: 20px auto;
}
/* Nadpisy sekcí — vždy na střed */
.academy-page .academy-section-heading {
  text-align: center; max-width: 720px; margin-left: auto; margin-right: auto;
}
.academy-page .academy-section-heading h2,
.academy-page .academy-section-heading > p:last-child { margin-left: auto; margin-right: auto; }
/* „Co je uvnitř" — užší, vycentrovaný sloupec */
.academy-page .academy-value-list { max-width: 760px; margin-left: auto; margin-right: auto; }
/* Kdo tě povede — jemné zaoblení fotky + zarovnání */
.academy-page .academy-personal { max-width: 1000px; margin: 0 auto; padding: 20px 24px 70px; align-items: center; }
.academy-page .academy-personal figure { height: auto; aspect-ratio: 4/5; border-radius: 20px; border: 1px solid rgba(255,255,255,.1); }
/* Recenze — vzdušnější rám */
.academy-page .academy-testimonials { padding: 20px 24px 80px; }
@media (max-width: 720px) {
  .academy-page .academy-story { padding: 60px 0; }
  .academy-page .academy-personal { grid-template-columns: 1fr; }
  .academy-page .academy-personal figure { max-width: 340px; margin: 0 auto 24px; }
}
.academy-hero h1,
.academy-story h2,
.academy-section-heading h2,
.academy-roi h2,
.academy-personal h2,
.academy-order h2,
.academy-faq h2 {
  margin: 0;
  color: #f5f5f2;
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  line-height: .93;
  letter-spacing: .2px;
}
.academy-hero h1 {
  max-width: 8.6ch;
  font-size: clamp(68px, 9vw, 126px);
}
.academy-hero h1 span { color: var(--orange); }
.academy-lead {
  max-width: 640px;
  margin-top: 30px;
  color: #f0f0ed;
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 700;
  line-height: 1.38;
}
.academy-hero-note {
  max-width: 590px;
  margin-top: 14px;
  color: #989896;
  font-size: 15px;
  line-height: 1.65;
}
.academy-actions { align-items: center; margin-top: 34px; }
.academy-cta {
  min-height: 56px;
  border: 0;
  border-radius: 7px;
  padding: 0 25px;
  background: var(--orange);
  box-shadow: none;
  transition: background .18s ease, transform .18s ease;
}
.academy-cta:hover { background: #ff7d34; transform: translateY(-1px); }
.academy-text-link {
  color: #aaa;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.academy-text-link:hover { color: var(--text-strong); }
.academy-proofline { margin-top: 30px; gap: 18px; }
.academy-proofline span {
  position: relative;
  border: 0;
  border-radius: 0;
  padding: 0 0 0 14px;
  background: none;
  color: #777;
  font-size: 10px;
}
.academy-proofline span::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}
.academy-hero-media {
  position: relative;
  min-height: 650px;
  margin: 0;
  overflow: hidden;
  background: #161616;
}
.academy-hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(0,0,0,.72));
}
.academy-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.academy-hero-media figcaption {
  position: absolute;
  z-index: 1;
  left: 24px;
  bottom: 22px;
  color: rgba(255,255,255,.74);
  font: 700 10px/1.4 'JetBrains Mono', monospace;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.academy-story,
.academy-roi,
.academy-personal {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(40px, 8vw, 110px);
  padding: 110px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.academy-story h2,
.academy-roi h2,
.academy-personal h2 { font-size: clamp(50px, 6.2vw, 84px); }
.academy-story-copy,
.academy-roi-copy { align-self: center; }
.academy-story-copy p,
.academy-roi-copy p,
.academy-section-heading > p:last-child,
.academy-personal > div > p {
  color: #a6a6a3;
  font-size: 17px;
  line-height: 1.72;
}
.academy-story-copy p + p,
.academy-roi-copy p + p,
.academy-personal > div > p + p { margin-top: 22px; }
.academy-story-copy strong,
.academy-roi-copy strong { color: var(--text-strong); }
.academy-emphasis {
  padding: 22px 24px;
  border-left: 3px solid var(--orange);
  background: rgba(255,255,255,.045);
  color: #d8d8d5 !important;
}
.academy-video-section,
.academy-content,
.academy-testimonials,
.academy-faq { padding: 110px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.academy-section-heading { max-width: 860px; margin-bottom: 46px; }
.academy-section-heading h2,
.academy-faq h2 { font-size: clamp(58px, 7.5vw, 100px); }
.academy-section-heading > p:last-child { max-width: 720px; margin-top: 24px; }
.academy-video {
  position: relative;
  aspect-ratio: 16 / 8.4;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #161616;
}
.academy-video::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.8));
}
.academy-video img { width: 100%; height: 100%; object-fit: cover; display: block; }
.academy-play {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: var(--text-strong);
  font-size: 25px;
  padding-left: 5px;
  transform: translate(-50%, -50%);
}
.academy-video figcaption {
  position: absolute;
  z-index: 2;
  left: 24px;
  bottom: 20px;
  color: rgba(255,255,255,.72);
  font: 700 10px/1.4 'JetBrains Mono', monospace;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.academy-value-list { border-top: 1px solid rgba(255,255,255,.12); }
.academy-value-list article {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.academy-value-list article > span {
  color: var(--orange);
  font: 700 11px/1 'JetBrains Mono', monospace;
}
.academy-value-list h3 { margin: 0 0 6px; color: #f4f4f1; font-size: 20px; }
.academy-value-list p { color: #858583; font-size: 14px; line-height: 1.5; }
.academy-value-list strong { color: #aaa; font: 700 11px/1.4 'JetBrains Mono', monospace; white-space: nowrap; }
.academy-value-total {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 24px;
  align-items: end;
  margin-top: 42px;
  padding: 30px;
  border: 1px solid rgba(255,107,26,.42);
  border-radius: 8px;
  background: #12100f;
}
.academy-value-total span { display: block; margin-bottom: 8px; color: #828280; font-size: 12px; }
.academy-value-total s { color: #777; font: 400 31px/1 'Bebas Neue', sans-serif; }
.academy-value-total strong { color: var(--text-strong); font: 400 46px/1 'Bebas Neue', sans-serif; }
.academy-roi { grid-template-columns: 1.05fr .95fr; }
.academy-personal { grid-template-columns: .72fr 1.28fr; align-items: center; }
.academy-personal figure { height: 590px; margin: 0; overflow: hidden; border-radius: 8px; }
.academy-personal img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; display: block; }
.academy-personal > div > p:first-of-type { margin-top: 26px; }
.academy-reviews {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: rgba(255,255,255,.11);
}
.academy-reviews article {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  padding: 30px;
  border: 0;
  border-radius: 0;
  background: #0d0d0d;
}
.academy-reviews blockquote { color: #b6b6b3; font-size: 15px; line-height: 1.72; }
.academy-reviews footer { margin-top: auto; padding-top: 26px; }
.academy-reviews footer strong { display: block; color: var(--text-strong); font-size: 15px; }
.academy-reviews footer span { display: block; margin-top: 5px; color: #666; font-size: 11px; }
.academy-review-wide { grid-column: 1 / -1; min-height: 240px !important; }
.academy-review-wide blockquote { max-width: 850px; font-size: 17px; }
.review-stars { margin-bottom: 20px; color: var(--orange); font-size: 15px; letter-spacing: 3px; }
.academy-order {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: 70px;
  margin: 110px 0 0;
  padding: 70px;
  border: 1px solid rgba(255,107,26,.45);
  border-radius: 8px;
  background: #12100f;
}
.academy-order h2 { max-width: 620px; font-size: clamp(60px, 7vw, 96px); }
.academy-order-copy > p:not(.academy-eyebrow) { max-width: 620px; margin-top: 25px; color: #a6a6a3; font-size: 16px; line-height: 1.7; }
.academy-checklist { margin-top: 28px; }
.academy-checklist li { color: #d2d2cf; font-size: 14px; }
.academy-checkout { padding: 28px; border-radius: 8px; background: #090909; }
.academy-price strong { font-size: 66px; }
.academy-price s { margin-left: 5px; }
.academy-checkout input[type="email"] { border-radius: 6px; background: #101010; }
.academy-bump { border-radius: 6px; }
.academy-faq { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; }
.academy-faq .academy-section-heading { margin: 0; }
.academy-faq-list details { padding: 22px 0; border-top: 1px solid rgba(255,255,255,.12); }
.academy-faq-list details:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.academy-faq-list summary { color: #efefec; font-size: 17px; font-weight: 700; cursor: pointer; }
.academy-faq-list details p { max-width: 660px; margin-top: 13px; color: #929290; font-size: 14px; line-height: 1.65; }
.academy-footer { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 40px; }
.academy-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.academy-footer a,
.academy-footer span { color: #696967; font-size: 11px; text-decoration: none; }
.academy-footer a:hover { color: var(--text-strong); }
.academy-mobile-cta { display: none; }

@media (max-width: 900px) {
  .academy-page { width: min(100% - 32px, 720px); padding-top: 0; }
  .academy-hero { grid-template-columns: 1fr; min-height: 0; }
  .academy-hero-copy { order: 2; padding: 52px 0 70px; }
  .academy-hero-media { order: 1; min-height: 0; height: min(58svh, 540px); }
  .academy-story,
  .academy-roi,
  .academy-personal,
  .academy-faq { grid-template-columns: 1fr; gap: 34px; padding: 78px 0; }
  .academy-video-section,
  .academy-content,
  .academy-testimonials { padding: 78px 0; }
  .academy-personal figure { height: min(75vw, 620px); }
  .academy-value-total { grid-template-columns: 1fr 1fr; }
  .academy-value-total .academy-cta { grid-column: 1 / -1; }
  .academy-order { grid-template-columns: 1fr; gap: 42px; margin-top: 78px; padding: 42px; }
}

@media (max-width: 600px) {
  .academy-body { padding-bottom: 72px; }
  .academy-top { padding-left: 16px; padding-right: 16px; }
  .academy-top .brand-name { width: 142px; height: 24px; }
  .academy-top-cta { display: none; }
  .academy-page { width: calc(100% - 28px); }
  .academy-hero-media { height: 58svh; min-height: 390px; }
  .academy-hero-copy { padding: 42px 0 58px; }
  .academy-hero h1 { font-size: clamp(64px, 20vw, 92px); }
  .academy-lead { margin-top: 24px; font-size: 20px; }
  .academy-actions { align-items: stretch; flex-direction: column; }
  .academy-text-link { padding: 8px 0; text-align: center; }
  .academy-proofline { gap: 10px 16px; }
  .academy-story,
  .academy-roi,
  .academy-personal,
  .academy-faq,
  .academy-video-section,
  .academy-content,
  .academy-testimonials { padding: 62px 0; }
  .academy-story h2,
  .academy-roi h2,
  .academy-personal h2,
  .academy-section-heading h2,
  .academy-faq h2 { font-size: 54px; }
  .academy-section-heading { margin-bottom: 32px; }
  .academy-video { aspect-ratio: 4 / 3; }
  .academy-play { width: 58px; height: 58px; font-size: 20px; }
  .academy-video figcaption { left: 16px; bottom: 14px; }
  .academy-value-list article { grid-template-columns: 34px 1fr; gap: 12px; padding: 22px 0; }
  .academy-value-list article strong { grid-column: 2; }
  .academy-value-total { grid-template-columns: 1fr; padding: 22px; }
  .academy-value-total .academy-cta { grid-column: auto; }
  .academy-value-total strong { font-size: 42px; }
  .academy-personal figure { height: 118vw; max-height: 560px; }
  .academy-reviews { grid-template-columns: 1fr; }
  .academy-review-wide { grid-column: auto; }
  .academy-reviews article { min-height: 0; padding: 24px; }
  .academy-reviews footer { margin-top: 30px; }
  .academy-order { margin-top: 62px; padding: 26px 20px; }
  .academy-order h2 { font-size: 58px; }
  .academy-checkout { padding: 20px; }
  .academy-footer { align-items: flex-start; flex-direction: column; }
  .academy-footer nav { flex-direction: column; gap: 11px; }
  .academy-mobile-cta {
    position: fixed;
    z-index: 30;
    left: 12px;
    right: 12px;
    bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    border-radius: 7px;
    background: var(--orange);
    color: var(--text-strong);
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 14px 35px rgba(0,0,0,.5);
  }
}

/* Badge „Připravujeme" na zamčené stránce */
.paywall-soon {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange-bright);
  background: rgba(255, 107, 26, 0.1);
  border: 1px solid rgba(255, 107, 26, 0.3);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

/* ============================================
   KENJI AI — chat rozhraní
   ============================================ */
.header-actions { display: flex; align-items: center; gap: 14px; }

/* stránka AI — plná výška, input dole */
.ai-main-inner { max-width: 780px; margin: 0 auto; padding: 0 16px; height: calc(100dvh - var(--header-height)); display: flex; }
.ai-root { flex: 1; display: flex; min-height: 0; }
.ai-chat { flex: 1; display: flex; flex-direction: column; min-height: 0; padding: 14px 0 10px; }
.ai-mobile-quota { display: none; }

.ai-topbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; flex-shrink: 0; }
.ai-new { background: var(--bg-card); border: 1px solid var(--border); color: var(--text-dim); border-radius: 100px; padding: 7px 15px; font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 700; cursor: pointer; transition: all .15s; }
.ai-new:hover { border-color: var(--orange); color: var(--orange-bright); }
.ai-hist-wrap { position: relative; }
.ai-hist-btn { background: none; border: none; color: var(--text-mute); font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600; cursor: pointer; padding: 7px 6px; }
.ai-hist-btn:hover { color: var(--text); }
.ai-hist-menu { position: absolute; top: 100%; right: 0; margin-top: 6px; width: 260px; max-height: 320px; overflow-y: auto; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 12px 40px rgba(0,0,0,.5); z-index: 40; padding: 6px; }
.ai-hist-empty { padding: 14px; text-align: center; color: var(--text-mute); font-size: 13px; }
.ai-hist-item { display: flex; align-items: center; gap: 8px; width: 100%; background: none; border: none; color: var(--text-dim); text-align: left; padding: 9px 10px; border-radius: 8px; cursor: pointer; font-family: 'Inter', sans-serif; font-size: 13.5px; }
.ai-hist-item:hover { background: var(--bg-card); color: var(--text); }
.ai-hist-item.active { color: var(--orange-bright); }
.ai-hist-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ai-hist-del { color: var(--text-mute); font-size: 12px; padding: 2px 4px; border-radius: 5px; flex-shrink: 0; }
.ai-hist-del:hover { color: #ff6b6b; background: rgba(255,94,94,.12); }

/* zprávy */
.ai-messages { flex: 1; overflow-y: auto; min-height: 0; display: flex; flex-direction: column; gap: 20px; padding: 12px 4px 18px; scrollbar-width: thin; }
.ai-msg { max-width: 100%; }
.ai-msg.user { align-self: flex-end; max-width: 86%; display: flex; flex-direction: column; align-items: flex-end; }
.ai-bubble { background: linear-gradient(135deg, rgba(255,122,26,.16), rgba(255,122,26,.055)); border: 1px solid rgba(255,122,26,.24); color: var(--text); padding: 11px 15px; border-radius: 16px 16px 4px 16px; font-size: 14.5px; line-height: 1.55; }
.ai-retry { width: 28px; height: 28px; margin: 3px 2px 0 0; padding: 5px; border: 0; background: transparent; color: var(--text-mute); opacity: .62; cursor: pointer; display: grid; place-items: center; transition: color .18s ease, opacity .18s ease, transform .18s ease; }
.ai-retry svg { width: 15px; height: 15px; }
.ai-retry:hover, .ai-retry:focus-visible { color: var(--orange); opacity: 1; }
.ai-retry:active { transform: rotate(-25deg); }
.ai-msg.bot { align-self: flex-start; max-width: 92%; }
.ai-bot-name { font-family: 'Inter', sans-serif; font-size: 12px; letter-spacing: .01em; text-transform: none; color: var(--text-dim); font-weight: 400; margin-bottom: 6px; }
.ai-bot-name .ai-k { font-size: inherit; font-weight: inherit; color: inherit; line-height: inherit; }
.ai-bot-text { font-size: 15px; line-height: 1.65; color: var(--text); }
.ai-bot-text strong { color: var(--text-strong); font-weight: 700; }
/* Strukturované odpovědi: odstavce + seznamy */
.ai-bot-text p { margin: 0 0 11px; }
.ai-bot-text p:last-child { margin-bottom: 0; }
.ai-bot-text .ai-ul, .ai-bot-text .ai-ol { margin: 0 0 11px; padding-left: 22px; }
.ai-bot-text .ai-ul:last-child, .ai-bot-text .ai-ol:last-child { margin-bottom: 0; }
.ai-bot-text .ai-ul { list-style: none; padding-left: 4px; }
.ai-bot-text .ai-ul > li { position: relative; padding-left: 20px; margin: 0 0 6px; }
.ai-bot-text .ai-ul > li::before { content: ''; position: absolute; left: 4px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.ai-bot-text .ai-ol { counter-reset: ai-oli; list-style: none; padding-left: 4px; }
.ai-bot-text .ai-ol > li { position: relative; padding-left: 28px; margin: 0 0 6px; counter-increment: ai-oli; }
.ai-bot-text .ai-ol > li::before { content: counter(ai-oli); position: absolute; left: 0; top: .05em; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,122,26,.14); color: var(--orange); font: 700 11px/1 'JetBrains Mono', monospace; }
.ai-bot-text li:last-child { margin-bottom: 0; }
.ai-bubble p { margin: 0 0 8px; }
.ai-bubble p:last-child { margin-bottom: 0; }

/* akční tlačítka pod odpovědí (odkazy na kurzy / články / Instagram) */
.ai-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ai-action {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 15px; border-radius: 13px; text-decoration: none;
  font-size: 13px; font-weight: 600; letter-spacing: -.01em;
  color: var(--text);
  background: linear-gradient(155deg, rgba(255,122,26,.13) 0%, rgba(255,122,26,.03) 55%, rgba(255,255,255,.02) 100%);
  border: 1px solid rgba(255,122,26,.2);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 10px 24px -18px rgba(0,0,0,.8);
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.ai-action:hover { transform: translateY(-1px); border-color: rgba(255,122,26,.48); background: linear-gradient(155deg, rgba(255,122,26,.2) 0%, rgba(255,122,26,.06) 60%, rgba(255,255,255,.03) 100%); }
.ai-action svg { width: 16px; height: 16px; color: var(--orange); opacity: .95; }

/* návazné otázky (decentní minimalistické návrhy) */
.ai-suggests { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; margin-top: 13px; }
.ai-suggest {
  display: inline-flex; align-items: center; gap: 5px;
  width: auto; max-width: 100%; text-align: left; cursor: pointer;
  padding: 3px 0; border: none; background: none;
  color: var(--text-mute); font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 400; line-height: 1.4;
  transition: color .15s ease;
}
.ai-suggest:hover { color: var(--text-dim); background: none; transform: none; }

/* Pracovní stav odpovědi — konkrétní fáze místo anonymních teček */
.ai-thinking {
  width: min(470px, 100%); display: grid; grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center; gap: 12px; padding: 13px 15px;
  border: 1px solid var(--border); border-radius: 10px; background: var(--bg-card);
}
.ai-thinking-symbol {
  position: relative; width: 34px; height: 34px; display: grid; place-items: center;
  border: 1px solid var(--border); border-radius: 50%; color: var(--orange);
}
.ai-thinking-symbol span { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(255,107,26,.1); }
.ai-thinking-symbol::before {
  content: ''; position: absolute; inset: -1px; border: 1px solid transparent;
  border-top-color: var(--orange); border-right-color: rgba(255,107,26,.45); border-radius: 50%;
  animation: aiThinkingSpin 1.1s linear infinite;
}
.ai-thinking-copy { min-width: 0; display: flex; flex-direction: column; gap: 2px; opacity: 1; transform: translateY(0); transition: opacity .15s ease, transform .15s ease; }
.ai-thinking.is-changing .ai-thinking-copy { opacity: 0; transform: translateY(3px); }
.ai-thinking-copy strong { color: var(--text); font-size: 13px; font-weight: 700; line-height: 1.35; }
.ai-thinking-copy > span { color: var(--text-mute); font-size: 11.5px; line-height: 1.4; }
.ai-thinking-steps { display: flex; align-items: center; gap: 4px; padding-left: 6px; }
.ai-thinking-steps i { width: 15px; height: 2px; border-radius: 99px; background: var(--border); transition: background .25s ease, width .25s ease; }
.ai-thinking-steps i.active { background: rgba(255,107,26,.45); }
.ai-thinking-steps i.current { width: 23px; background: var(--orange); }
@keyframes aiThinkingSpin { to { transform: rotate(360deg); } }

/* empty state */
.ai-empty { margin: auto; text-align: center; max-width: 520px; padding: 20px; }
.ai-empty-mark { font-size: 32px; color: var(--orange); margin-bottom: 14px; }
.ai-empty-title { font-family: 'Bebas Neue', sans-serif; font-size: 34px; letter-spacing: .5px; color: var(--text); margin-bottom: 8px; }
.ai-empty-sub { font-size: 15px; color: var(--text-dim); line-height: 1.6; margin-bottom: 22px; }
.ai-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.ai-chip { background: var(--bg-card); border: 1px solid var(--border); color: var(--text-dim); border-radius: 100px; padding: 9px 15px; font-family: 'Inter', sans-serif; font-size: 13px; cursor: pointer; transition: all .15s; }
.ai-chip:hover { border-color: var(--orange); color: var(--text); }

/* vstupní lišta */
.ai-inputbar { flex-shrink: 0; display: flex; align-items: flex-end; gap: 8px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; padding: 8px 8px 8px 18px; transition: border-color .15s; }
.ai-inputbar:focus-within { border-color: var(--border-accent); }
.ai-inputbar.is-locked { opacity: .55; border-color: var(--border); }
.ai-inputbar.is-locked:focus-within { border-color: var(--border); }
.ai-inputbar.is-locked .ai-send { background: var(--bg-elevated); color: var(--text-mute); }
.ai-input { flex: 1; background: none; border: none; outline: none; resize: none; color: var(--text); font-family: 'Inter', sans-serif; font-size: 15px; line-height: 1.5; padding: 9px 0; max-height: 160px; }
.ai-input::placeholder { color: var(--text-mute); }
.ai-send { flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; border: none; background: var(--orange); color: var(--text-strong); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: filter .15s, transform .1s; }
.ai-send:hover { filter: brightness(1.1); }
.ai-send:active { transform: scale(.94); }
.ai-send:disabled { opacity: .5; cursor: default; }
.ai-send svg { width: 19px; height: 19px; }
.ai-disclaimer { flex-shrink: 0; text-align: center; font-size: 11px; color: var(--text-mute); padding: 8px 0 2px; }

.ai-limit-panel { flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 12px; padding: 14px 16px; border: 1px solid rgba(255,107,26,.35); border-radius: 8px; background: rgba(255,107,26,.055); }
.ai-limit-panel[hidden] { display: none; }
.ai-limit-panel > div { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ai-limit-panel strong { color: var(--text); font-size: 14px; }
.ai-limit-panel span { color: var(--text-dim); font-size: 12px; line-height: 1.45; }
.ai-limit-panel small { color: var(--text-mute); font-size: 10px; line-height: 1.4; }
.ai-limit-panel > a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; color: var(--orange-bright); font-size: 12px; font-weight: 750; text-decoration: none; white-space: nowrap; }
.ai-limit-panel > a:hover { color: var(--text); }

@media (max-width: 640px) {
  .ai-empty-title { font-size: 28px; }
  .header-actions { gap: 10px; }
  .ai-thinking { grid-template-columns: 34px minmax(0, 1fr); padding: 12px; }
  .ai-thinking-steps { grid-column: 2; padding: 2px 0 0; }
}

/* AI stránka: zruš padding .main, ať chat sedí přesně na výšku okna */
.main:has(.ai-main-inner) { padding: 0; }

/* Kenji AI — levý sloupec (Nový chat + historie), GPT layout */
#ai-side { display: flex; flex-direction: column; min-height: 0; }
.ai-side-quota, .ai-mobile-quota { align-items: center; justify-content: space-between; gap: 10px; color: var(--text-dim); }
.ai-side-quota { display: flex; min-height: 34px; margin: 0 2px 10px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.ai-quota-label { color: var(--text-mute); font-size: 10px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.ai-side-quota strong, .ai-mobile-quota strong { color: var(--text); font-size: 11px; font-weight: 700; white-space: nowrap; }
.ai-side-new { display: flex; align-items: center; gap: 8px; width: 100%; background: var(--bg-card); border: 1px solid var(--border); color: var(--text); border-radius: 10px; padding: 11px 14px; font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 700; cursor: pointer; transition: all .15s; margin-bottom: 16px; }
.ai-side-new span { font-size: 16px; line-height: 1; color: var(--orange-bright); }
.ai-side-new:hover { border-color: var(--orange); }
.ai-side-label { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-mute); margin: 0 2px 8px; }
.ai-side-list { display: flex; flex-direction: column; gap: 2px; overflow-y: auto; min-height: 0; }
.ai-side-empty { font-size: 13px; color: var(--text-mute); padding: 8px 4px; }
.ai-side-item { display: flex; align-items: center; gap: 8px; width: 100%; background: none; border: none; color: var(--text-dim); text-align: left; padding: 9px 10px; border-radius: 8px; cursor: pointer; font-family: 'Inter', sans-serif; font-size: 13.5px; transition: background .12s, color .12s; }
.ai-side-item:hover { background: var(--bg-card); color: var(--text); }
.ai-side-item.active { background: var(--bg-elevated); color: var(--text); }
.ai-side-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ai-side-del { color: var(--text-mute); font-size: 11px; padding: 2px 5px; border-radius: 5px; flex-shrink: 0; opacity: 0; transition: opacity .12s, color .12s; }
.ai-side-item:hover .ai-side-del { opacity: 1; }
.ai-side-del:hover { color: #ff6b6b; background: rgba(255,94,94,.12); }

/* Popisek lekce pod přehrávačem */
.lesson-content { margin-top: 20px; color: var(--text-dim); font-size: 15px; line-height: 1.7; max-width: 68ch; }
.lesson-content h1 { font-family: 'Bebas Neue', sans-serif; font-size: 28px; letter-spacing: .5px; color: var(--text); margin: 0 0 14px; line-height: 1.1; }
.lesson-content h3 { font-size: 17px; font-weight: 800; color: var(--text); margin: 24px 0 10px; letter-spacing: -.01em; }
.lesson-content h4 { font-size: 15px; font-weight: 800; color: var(--text); margin: 16px 0 4px; }
.lesson-content p { margin: 0 0 12px; }
.lesson-content strong { color: var(--text); }
.lesson-content hr { border: 0; border-top: 1px solid var(--border); margin: 20px 0; }
.lesson-content ul { margin: 0 0 12px; padding-left: 20px; }
.lesson-content li { margin-bottom: 6px; }
.lesson-content blockquote { margin: 18px 0; padding: 14px 18px; background: rgba(255,107,26,.06); border-left: 3px solid var(--orange); border-radius: 0 10px 10px 0; }
.lesson-content blockquote h3 { margin-top: 0; color: var(--orange-bright); }
.lesson-content blockquote p { margin-bottom: 0; color: var(--text); }

/* ============================================
   NASTAVENÍ — profil + admin
   ============================================ */
#settings-root { max-width: 620px; }
.set-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 22px; margin-bottom: 18px; }
.set-card-title { font-size: 17px; font-weight: 800; color: var(--text); margin-bottom: 18px; letter-spacing: -.01em; display: flex; align-items: center; gap: 10px; }
.set-admin-badge { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .08em; color: var(--orange-bright); background: rgba(255,107,26,.12); padding: 3px 8px; border-radius: 100px; }
.set-avatar-row { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.set-avatar { width: 72px; height: 72px; border-radius: 50%; flex-shrink: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 28px; color: var(--text-strong); background: linear-gradient(135deg, var(--orange) 0%, #ff4500 100%); }
.set-avatar img { width: 100%; height: 100%; object-fit: cover; }
.set-avatar-btn { font-size: 13px; font-weight: 700; color: var(--text-dim); background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 10px; padding: 9px 15px; cursor: pointer; transition: all .15s; }
.set-avatar-btn:hover { border-color: var(--orange); color: var(--text); }
.set-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--text-mute); margin: 14px 0 6px; }
.set-input { width: 100%; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 10px; padding: 11px 14px; color: var(--text); font-family: 'Inter', sans-serif; font-size: 14.5px; outline: none; transition: border-color .15s; }
.set-input:focus { border-color: var(--border-accent); }
.set-input:disabled { color: var(--text-mute); cursor: not-allowed; }
.set-textarea { resize: vertical; line-height: 1.5; }
.set-bar { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin-top: 20px; }
.set-msg { font-size: 13px; color: var(--text-mute); }
.set-save { background: var(--orange); color: var(--text-strong); border: none; border-radius: 10px; padding: 11px 22px; font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 800; cursor: pointer; transition: filter .15s; }
.set-save:hover { filter: brightness(1.08); }
.set-save:disabled { opacity: .6; cursor: default; }

/* admin */
.set-search { margin-bottom: 14px; }
.set-loading { padding: 20px; text-align: center; color: var(--text-mute); font-size: 13.5px; }
.set-users-head, .set-user { display: grid; grid-template-columns: 1fr 110px 120px; gap: 10px; align-items: center; }
.set-users-head { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-mute); padding: 0 4px 8px; border-bottom: 1px solid var(--border); }
.set-user { padding: 10px 4px; border-bottom: 1px solid var(--border-light); border-radius: 8px; transition: background .3s; }
.set-user.saved { background: rgba(80,200,120,.1); }
.set-user-id { min-width: 0; }
.set-user-email { display: block; font-size: 13px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.set-user-name { display: block; font-size: 11.5px; color: var(--text-mute); }
.set-user-tier, .set-user-role { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 8px; padding: 7px 8px; color: var(--text); font-family: 'Inter', sans-serif; font-size: 12.5px; cursor: pointer; }
.set-users { max-height: 460px; overflow-y: auto; }
@media (max-width: 560px) {
  .set-users-head { display: none; }
  .set-user { grid-template-columns: 1fr; gap: 6px; padding: 12px 4px; }
  .set-user-tier, .set-user-role { width: 100%; }
}

/* --- Slevové kupóny (admin) --- */
.set-hint { font-size: 12.5px; color: var(--text-dim); margin: -4px 0 16px; line-height: 1.5; }
.cpn-add { display: grid; grid-template-columns: 1.2fr .7fr 1.6fr; gap: 10px; align-items: start; }
.cpn-add .cpn-code { text-transform: uppercase; font-family: 'JetBrains Mono', monospace; letter-spacing: .05em; }
.cpn-prods { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 14px; font-size: 12.5px; color: var(--text-dim); }
.cpn-prods label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.cpn-prods input { accent-color: var(--orange); width: 15px; height: 15px; }
.cpn-add .cpn-max { grid-column: 1 / 2; }
.cpn-add-btn { grid-column: 2 / -1; justify-self: end; align-self: center; }
.cpn-err { color: #ff6b6b; font-size: 12.5px; margin-top: 10px; }
.cpn-list { margin-top: 18px; }
.cpn-head, .cpn-row { display: grid; grid-template-columns: 130px 62px 1fr 78px 92px 34px; gap: 10px; align-items: center; }
.cpn-head { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-mute); padding: 0 4px 8px; border-bottom: 1px solid var(--border); }
.cpn-row { padding: 11px 4px; border-bottom: 1px solid var(--border-light); font-size: 13px; color: var(--text); }
.cpn-row.off { opacity: .5; }
.cpn-chip { font-family: 'JetBrains Mono', monospace; font-size: 12px; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 7px; padding: 5px 8px; text-align: center; letter-spacing: .03em; }
.cpn-prod { min-width: 0; color: var(--text-dim); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; }
.cpn-prod small { display: block; color: var(--text-mute); font-size: 11px; }
.cpn-toggle { background: rgba(80,200,120,.12); color: #4ec17f; border: 1px solid rgba(80,200,120,.3); border-radius: 100px; padding: 5px 12px; font-size: 11.5px; font-weight: 700; cursor: pointer; font-family: 'Inter', sans-serif; }
.cpn-row.off .cpn-toggle { background: var(--bg-elevated); color: var(--text-mute); border-color: var(--border); }
.cpn-del { background: none; border: none; color: var(--text-mute); cursor: pointer; font-size: 14px; }
.cpn-del:hover { color: #ff6b6b; }
@media (max-width: 620px) {
  .cpn-add { grid-template-columns: 1fr 1fr; }
  .cpn-add .cpn-desc, .cpn-add .cpn-max, .cpn-add-btn { grid-column: 1 / -1; justify-self: stretch; }
  .cpn-head { display: none; }
  .cpn-row { grid-template-columns: 1fr auto auto; gap: 8px 10px; }
  .cpn-row .cpn-prod { grid-column: 1 / -1; }
}

/* Navigace mezi lekcemi (pod přehrávačem) */
.lesson-nav { display: flex; justify-content: space-between; align-items: stretch; gap: 12px; margin-top: 20px; }
.lnav { display: inline-flex; align-items: center; gap: 12px; max-width: 49%; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 12px 16px; cursor: pointer; font-family: 'Inter', sans-serif; color: var(--text); transition: border-color .15s, transform .1s, background .15s; }
.lnav:hover { border-color: var(--orange); background: var(--bg-elevated); transform: translateY(-1px); }
.lnav-next { margin-left: auto; }
.lnav-arr { font-size: 18px; color: var(--orange-bright); flex-shrink: 0; }
.lnav-txt { display: flex; flex-direction: column; min-width: 0; }
.lnav-next .lnav-txt { align-items: flex-end; text-align: right; }
.lnav-cap { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-mute); }
.lnav-name { font-size: 13.5px; font-weight: 700; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.lnav-end { margin-left: auto; align-self: center; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--text-mute); padding: 12px 4px; }
@media (max-width: 560px) {
  .lnav-name { display: none; }
  .lnav { max-width: none; padding: 12px 14px; }
}

/* ============================================
   ŠABLONY — galerie ke stažení (sablony.html)
   ============================================ */
.tpl-howto {
  display: flex; align-items: flex-start; gap: 12px;
  background: rgba(255,107,26,.08); border: 1px solid rgba(255,107,26,.25);
  border-radius: 14px; padding: 14px 18px; margin-bottom: 26px;
  font-size: 14px; color: var(--text-dim); line-height: 1.55;
}
.tpl-howto strong { color: var(--orange-bright); }
.tpl-howto-ico { font-size: 20px; line-height: 1; flex-shrink: 0; }

.tpl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tpl-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color .15s ease, transform .15s ease;
}
.tpl-card:not(.is-soon):hover { border-color: rgba(255,107,26,.45); transform: translateY(-3px); }
.tpl-thumb {
  position: relative; height: 120px; display: grid; place-items: center;
  background: linear-gradient(135deg, #171717, #0f0f0f);
  border-bottom: 1px solid var(--border);
}
.tpl-ico { font-size: 44px; line-height: 1; filter: drop-shadow(0 6px 16px rgba(0,0,0,.5)); }
.tpl-ext {
  position: absolute; top: 12px; right: 12px;
  font-family: 'JetBrains Mono', monospace; font-size: 9.5px; font-weight: 700; letter-spacing: .08em;
  color: var(--text-strong); background: var(--orange); border-radius: 6px; padding: 3px 7px;
}
.tpl-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.tpl-cat {
  font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--orange); margin-bottom: 8px;
}
.tpl-title { font-size: 17px; font-weight: 800; letter-spacing: -.01em; margin: 0 0 8px; }
.tpl-desc { font-size: 13.5px; color: var(--text-dim); line-height: 1.55; margin: 0 0 18px; flex: 1; }
.tpl-dl {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 18px; border-radius: 12px; text-decoration: none;
  font-size: 14px; font-weight: 800; color: var(--text-strong);
  background: linear-gradient(180deg, #ff9a3d 0%, var(--orange) 55%, #e8620c 100%);
  box-shadow: 0 10px 24px -10px rgba(255,122,26,.6), inset 0 1px 0 rgba(255,255,255,.28);
  transition: transform .15s ease, box-shadow .15s ease;
}
.tpl-dl:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -10px rgba(255,122,26,.75), inset 0 1px 0 rgba(255,255,255,.28); }
.tpl-dl svg { width: 17px; height: 17px; }
.tpl-soon {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 18px; border-radius: 12px;
  font-size: 13px; font-weight: 700; color: var(--text-mute);
  background: var(--bg-elevated); border: 1px solid var(--border);
}
.tpl-card.is-soon { opacity: .72; }
.tpl-card.is-soon .tpl-ico { filter: grayscale(.4) drop-shadow(0 6px 16px rgba(0,0,0,.5)); }

@media (max-width: 900px) { .tpl-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tpl-grid { grid-template-columns: 1fr; } }

/* Šablony — dvojice tlačítek (PDF + Word) */
.tpl-dls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tpl-dl-alt {
  display: inline-flex; align-items: center; gap: 6px; text-decoration: none;
  font-size: 12.5px; font-weight: 700; color: var(--text-dim);
  border: 1px solid var(--border); border-radius: 10px; padding: 11px 14px;
  transition: color .15s ease, border-color .15s ease;
}
.tpl-dl-alt:hover { color: var(--text); border-color: rgba(255,255,255,.22); }

/* ============================================
   „TVŮJ START" — gamifikovaný onboarding panel (homepage)
   ============================================ */
.start-panel {
  position: relative; overflow: hidden;
  background:
    radial-gradient(680px 300px at 88% -30%, rgba(255,107,26,.16), transparent 62%),
    linear-gradient(135deg, #16130f 0%, #1c1815 100%);
  border: 1px solid rgba(255,107,26,.3); border-radius: 22px;
  padding: 26px 28px 24px; margin-bottom: 30px;
  box-shadow: 0 24px 60px -30px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.04);
  transition: opacity .25s ease, transform .25s ease;
  animation: spIn .5s cubic-bezier(.28,1,.4,1);
}
@keyframes spIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
/* jemný horní oranžový proužek */
.start-panel::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--orange), transparent); opacity: .55; }

.sp-close {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  width: 28px; height: 28px; border-radius: 8px; border: none; cursor: pointer;
  background: rgba(255,255,255,.05); color: var(--text-mute); font-size: 13px;
  transition: background .15s, color .15s;
}
.sp-close:hover { background: rgba(255,255,255,.1); color: var(--text); }
.sp-hi { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-family: 'Bebas Neue', sans-serif; font-size: 32px; letter-spacing: .3px; line-height: 1; margin-bottom: 9px; }
.sp-badge { font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 800; letter-spacing: .02em; color: #4ec17f; background: rgba(80,200,120,.14); border: 1px solid rgba(80,200,120,.42); border-radius: 100px; padding: 5px 11px; animation: spBadgeIn .5s cubic-bezier(.3,1.5,.5,1) .2s backwards; }
@keyframes spBadgeIn { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
.sp-strategy { position: relative; z-index: 1; font-size: 14px; color: var(--text-dim); line-height: 1.5; max-width: 660px; margin-bottom: 18px; }
.sp-progress { position: relative; z-index: 1; height: 9px; background: var(--bg-elevated); border-radius: 100px; overflow: hidden; box-shadow: inset 0 1px 2px rgba(0,0,0,.4); }
.sp-bar { position: relative; height: 100%; min-width: 9px; background: linear-gradient(90deg, #ff9a3d, var(--orange)); border-radius: 100px; transition: width .8s cubic-bezier(.3,1.1,.4,1); box-shadow: 0 0 14px rgba(255,107,26,.55); overflow: hidden; }
.sp-bar::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); transform: translateX(-120%); animation: spShimmer 2.6s ease-in-out infinite 1s; }
@keyframes spShimmer { 0% { transform: translateX(-120%); } 55%,100% { transform: translateX(320%); } }
.sp-count { position: relative; z-index: 1; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .05em; color: var(--text-mute); margin: 9px 0 16px; }
.sp-count-n { color: var(--orange-bright); font-weight: 700; font-size: 13px; }

.sp-tasks { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.sp-task, .sp-final {
  display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text);
  padding: 11px 14px; border-radius: 13px; border: 1px solid var(--border);
  background: rgba(255,255,255,.02); transition: border-color .15s, transform .15s, background .15s;
}
.sp-task { animation: spReveal .4s ease backwards; }
@keyframes spReveal { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.sp-task:hover { border-color: rgba(255,107,26,.45); transform: translateX(2px); background: rgba(255,255,255,.04); }
.sp-check {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid var(--border); display: grid; place-items: center;
  font-size: 13px; font-weight: 800; color: transparent; transition: all .2s ease;
}
.sp-task.done .sp-check, .sp-final.done .sp-check { background: rgba(80,200,120,.16); border-color: rgba(80,200,120,.5); color: #4ec17f; }
.sp-task.done { opacity: .6; }
/* ikony v konzistentních chipech */
.sp-ico { flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; background: var(--bg-elevated); border: 1px solid var(--border); display: grid; place-items: center; font-size: 17px; line-height: 1; }
.sp-final .sp-ico:empty { display: none; }
.sp-tt { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.sp-t-title { font-size: 14px; font-weight: 700; letter-spacing: -.01em; color: var(--text); }
.sp-t-sub { font-size: 12px; color: var(--text-mute); }
.sp-task.done .sp-t-title { text-decoration: line-through; text-decoration-color: rgba(255,255,255,.25); }
.sp-arr { color: var(--text-mute); font-size: 15px; flex-shrink: 0; }
.sp-task:hover .sp-arr { color: var(--orange-bright); }

/* právě splněný úkol — pop + záblesk */
.sp-task.just-done { animation: spReveal .4s ease backwards, spFlash 1.2s ease .25s; }
.sp-task.just-done .sp-check { animation: spCheckPop .55s cubic-bezier(.3,1.7,.5,1) .3s backwards; }
@keyframes spFlash { 0% { background: rgba(80,200,120,.02); border-color: var(--border); } 25% { background: rgba(80,200,120,.22); border-color: rgba(80,200,120,.6); box-shadow: 0 0 18px rgba(80,200,120,.35); } 100% { background: rgba(255,255,255,.02); border-color: var(--border); box-shadow: none; } }
@keyframes spCheckPop { 0% { transform: scale(0) rotate(-30deg); } 60% { transform: scale(1.35) rotate(6deg); } 100% { transform: scale(1); } }

/* finální krok (konverze) přes celou šířku */
.sp-final { grid-column: 1 / -1; margin-top: 9px; border-color: rgba(255,107,26,.35); background: rgba(255,107,26,.06); }
.sp-final .sp-check { border: none; background: none; color: var(--orange-bright); font-size: 16px; }
.sp-final:hover { border-color: rgba(255,107,26,.6); transform: translateX(2px); }
.sp-final.hot { background: linear-gradient(180deg, rgba(255,154,61,.2), rgba(255,107,26,.1)); border-color: rgba(255,107,26,.6); box-shadow: 0 0 24px -6px rgba(255,107,26,.4); animation: spPulse 2.4s ease-in-out infinite; }
.sp-final.hot .sp-t-title { color: var(--orange-bright); }
@keyframes spPulse { 0%,100% { box-shadow: 0 0 24px -8px rgba(255,107,26,.4); } 50% { box-shadow: 0 0 30px -4px rgba(255,107,26,.6); } }

/* konfety při dokončení */
.sp-conf { position: fixed; width: 9px; height: 9px; border-radius: 2px; pointer-events: none; opacity: 0; z-index: 9999; animation: spConf 2.5s ease-out forwards; }
@keyframes spConf { 0% { opacity: 1; transform: translate(0,0) rotate(0); } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); } }

@media (prefers-reduced-motion: reduce) {
  .start-panel, .sp-task, .sp-badge, .sp-task.just-done, .sp-task.just-done .sp-check, .sp-final.hot { animation: none; }
  .sp-bar::after { display: none; }
}
@media (max-width: 620px) {
  .sp-tasks { grid-template-columns: 1fr; }
  .sp-hi { font-size: 27px; }
}

/* ============================================================
   DASHBOARD (domů/index) — hlavička + upgrade proužek
   ============================================================ */
.dash-head { margin: 4px 0 22px; }
.dash-hi {
  font-size: 13px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--accent, #ff6b1a); margin: 0 0 8px;
}
.dash-title {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: clamp(38px, 6vw, 58px); line-height: .95; letter-spacing: .01em;
  margin: 0 0 10px; color: var(--text-strong);
}
.dash-sub {
  font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.62);
  max-width: 620px; margin: 0;
}
.dash-section-head { margin: 34px 0 16px; }
.dash-section-head .section-title { margin: 0 0 4px; }
.dash-section-head .section-sub { margin: 0; }

/* Upgrade proužek pro free uživatele */
.home-upgrade {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px; margin: 0 0 30px;
  border-radius: 16px; text-decoration: none;
  background: linear-gradient(135deg, rgba(255,107,26,.14), rgba(255,107,26,.05));
  border: 1px solid rgba(255,107,26,.32);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.home-upgrade:hover {
  border-color: rgba(255,107,26,.6);
  transform: translateY(-1px);
  box-shadow: 0 10px 30px -12px rgba(255,107,26,.4);
}
.home-upgrade[hidden] { display: none; }
.hu-ico {
  font-size: 22px; line-height: 1; flex: 0 0 auto;
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 12px; background: rgba(255,107,26,.16);
}
.hu-txt { flex: 1 1 auto; font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.82); }
.hu-txt strong { color: var(--text-strong); font-weight: 700; }
.hu-cta {
  flex: 0 0 auto; white-space: nowrap;
  font-size: 13px; font-weight: 700; letter-spacing: .01em;
  color: #0a0a0a; background: var(--accent, #ff6b1a);
  padding: 11px 18px; border-radius: 999px;
  transition: filter .2s ease;
}
.home-upgrade:hover .hu-cta { filter: brightness(1.08); }
@media (max-width: 640px) {
  .home-upgrade { flex-wrap: wrap; gap: 12px; padding: 14px 16px; }
  .hu-ico { width: 38px; height: 38px; font-size: 20px; }
  .hu-txt { flex: 1 1 100%; order: 2; }
  .hu-ico { order: 1; }
  .hu-cta { order: 3; width: 100%; text-align: center; }
}

/* ============================================================
   OSOBNÍ BYZNYS DASHBOARD (#dash-modules)
   ============================================================ */
#dash-modules { margin: 4px 0 8px; }

/* KPI strip */
.dm-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.kpi {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
  padding: 16px 16px 14px; display: flex; flex-direction: column; gap: 2px;
}
.kpi-ico { font-size: 17px; line-height: 1; margin-bottom: 6px; }
.kpi-num { font-family: 'Bebas Neue', Impact, sans-serif; font-size: 34px; line-height: .9; color: var(--text-strong); letter-spacing: .01em; }
.kpi-lbl { font-size: 12px; color: var(--text-dim); line-height: 1.3; }

/* Karty + grid */
.dm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.dm-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 18px;
  padding: 20px; display: flex; flex-direction: column;
}
.dm-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.dm-card-title { font-size: 15px; font-weight: 800; letter-spacing: .01em; color: var(--text-strong); margin: 0; display: flex; align-items: center; gap: 8px; }
.dm-count { font-size: 12px; font-weight: 700; color: var(--text-dim); background: var(--bg-elevated); border-radius: 999px; padding: 3px 9px; }
.dm-link { background: none; border: none; color: var(--orange); font-size: 13px; font-weight: 700; cursor: pointer; padding: 0; font-family: inherit; }
.dm-link:hover { color: var(--orange-bright); }
.dm-empty-sm { font-size: 13px; color: var(--text-dim); line-height: 1.5; padding: 6px 2px; }
.dm-flabel { font-size: 12px; font-weight: 700; color: var(--text-dim); text-transform: uppercase; letter-spacing: .04em; margin: 2px 0 8px; display: block; }
.dm-opt { font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--text-mute); }

.dm-primary-btn {
  background: var(--orange); color: #0a0a0a; border: none; border-radius: 999px;
  font-weight: 800; font-size: 13px; padding: 10px 20px; cursor: pointer; font-family: inherit;
  transition: filter .2s ease;
}
.dm-primary-btn:hover { filter: brightness(1.08); }
.dm-ghost-btn {
  margin-top: 4px; width: 100%; background: none; color: var(--text-dim);
  border: 1px dashed var(--border); border-radius: 12px; padding: 11px; cursor: pointer;
  font-size: 13px; font-weight: 600; font-family: inherit; transition: border-color .2s, color .2s;
}
.dm-ghost-btn:hover { border-color: var(--orange); color: var(--orange); }

/* --- Byznys --- */
.biz-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 999px; padding: 7px 14px 7px 10px; font-size: 14px; font-weight: 700; color: var(--text-strong); }
.biz-emoji { font-size: 17px; line-height: 1; }
.biz-what { font-size: 14px; color: var(--text-dim); line-height: 1.55; margin: 12px 0 0; }
.biz-goal { margin-top: 16px; }
.biz-goal-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 12px; color: var(--text-dim); margin-bottom: 7px; }
.biz-goal-top strong { color: var(--text-strong); font-size: 13px; }
.goal-bar { height: 9px; background: var(--bg-elevated); border-radius: 999px; overflow: hidden; }
.goal-fill { display: block; height: 100%; background: linear-gradient(90deg, var(--orange), var(--orange-bright)); border-radius: 999px; transition: width .5s cubic-bezier(.2,.7,.2,1); }
.biz-goal-row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.biz-goal-pct { font-size: 12px; font-weight: 700; color: var(--orange); }

.ind-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.ind-chip {
  display: inline-flex; align-items: center; gap: 7px; background: var(--bg-elevated);
  border: 1px solid var(--border); border-radius: 999px; padding: 8px 13px; cursor: pointer;
  font-size: 13px; font-weight: 600; color: var(--text-dim); font-family: inherit;
  transition: border-color .18s, color .18s, background .18s;
}
.ind-chip span { font-size: 15px; line-height: 1; }
.ind-chip:hover { border-color: var(--text-mute); color: var(--text); }
.ind-chip.active { border-color: var(--orange); color: var(--text-strong); background: rgba(255,107,26,.12); }
.biz-what-input, .todo-input, .ai-ask-input {
  width: 100%; background: var(--bg); border: 1px solid var(--border); border-radius: 12px;
  padding: 11px 13px; color: var(--text); font-family: inherit; font-size: 14px; resize: none;
}
.biz-what-input:focus, .todo-input:focus, .ai-ask-input:focus { outline: none; border-color: var(--orange); }
.biz-edit-actions { display: flex; align-items: center; gap: 14px; margin-top: 14px; }

/* --- To-do --- */
.todo-add { display: flex; gap: 8px; margin-bottom: 12px; }
.todo-add .todo-input { flex: 1; }
.todo-addbtn { flex: 0 0 auto; width: 42px; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 12px; color: var(--orange); font-size: 22px; line-height: 1; cursor: pointer; transition: border-color .2s, background .2s; }
.todo-addbtn:hover { border-color: var(--orange); background: rgba(255,107,26,.1); }
.todo-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.todo-item { display: flex; align-items: center; gap: 11px; padding: 9px 6px; border-radius: 10px; transition: background .15s; }
.todo-item:hover { background: var(--bg-card-2); }
.todo-check { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 7px; border: 1.8px solid var(--border); background: none; cursor: pointer; display: grid; place-items: center; color: transparent; transition: border-color .18s, background .18s, color .18s; }
.todo-check svg { width: 14px; height: 14px; }
.todo-item.is-done .todo-check { background: var(--orange); border-color: var(--orange); color: #0a0a0a; }
.todo-txt { flex: 1; font-size: 14px; color: var(--text); line-height: 1.4; }
.todo-item.is-done .todo-txt { color: var(--text-mute); text-decoration: line-through; }
.todo-del { flex: 0 0 auto; background: none; border: none; color: var(--text-mute); font-size: 13px; cursor: pointer; opacity: 0; transition: opacity .15s, color .15s; padding: 4px; }
.todo-item:hover .todo-del { opacity: 1; }
.todo-del:hover { color: #ff5a5a; }

/* --- AI další kroky --- */
.dm-ai-mark { color: var(--orange); }
.dm-ai-sub { font-size: 13px; color: var(--text-dim); margin: -6px 0 12px; }
.ai-steps { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.ai-step {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 12px;
  padding: 12px 14px; text-decoration: none; color: var(--text); font-size: 13.5px; font-weight: 500;
  transition: border-color .18s, transform .18s, background .18s;
}
.ai-step svg { width: 17px; height: 17px; color: var(--text-mute); flex: 0 0 auto; transition: color .18s, transform .18s; }
.ai-step:hover { border-color: var(--orange); background: rgba(255,107,26,.07); transform: translateX(2px); }
.ai-step:hover svg { color: var(--orange); transform: translateX(2px); }
.ai-ask { display: flex; gap: 8px; }
.ai-ask .ai-ask-input { flex: 1; }
.ai-ask-btn { flex: 0 0 auto; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 12px; color: var(--text-strong); font-weight: 700; font-size: 13px; padding: 0 16px; cursor: pointer; font-family: inherit; white-space: nowrap; transition: border-color .2s, background .2s; }
.ai-ask-btn:hover { border-color: var(--orange); background: rgba(255,107,26,.1); color: var(--orange); }

/* --- Vytvoř s AI --- */
.create-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.create-tile {
  display: flex; flex-direction: column; gap: 3px; text-decoration: none;
  background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 14px;
  padding: 15px 15px 16px; transition: border-color .18s, transform .18s, background .18s;
}
.create-ico { font-size: 20px; line-height: 1; margin-bottom: 7px; }
.create-t { font-size: 13.5px; font-weight: 700; color: var(--text-strong); line-height: 1.3; }
.create-d { font-size: 12px; color: var(--text-dim); line-height: 1.3; }
.create-tile:hover { border-color: var(--orange); background: rgba(255,107,26,.07); transform: translateY(-2px); }

@media (max-width: 860px) {
  .dm-grid { grid-template-columns: 1fr; }
  .dm-kpis { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 460px) {
  .kpi-num { font-size: 28px; }
  .create-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   OSOBNÍ KOUČ DASHBOARD (#dash-modules → co-*)
   ============================================================ */
#dash-modules { margin: 0 0 8px; }
.co-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.co-grid-tasks { grid-template-columns: 1.35fr 1fr; align-items: start; }
.co-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 18px; padding: 22px; }
.co-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.co-card-title { font-size: 16px; font-weight: 800; color: var(--text-strong); margin: 0; display: flex; align-items: center; gap: 8px; }
.co-count { font-size: 12px; font-weight: 700; color: var(--text-dim); background: var(--bg-elevated); border-radius: 999px; padding: 3px 10px; }
.co-link { background: none; border: none; color: var(--orange); font-size: 13px; font-weight: 700; cursor: pointer; padding: 0; font-family: inherit; }
.co-link:hover { color: var(--orange-bright); }
.co-empty { font-size: 14px; color: var(--text-dim); padding: 8px 2px; line-height: 1.5; }

.co-btn-primary { background: var(--orange); color: #0a0a0a; border: none; border-radius: 999px; font-weight: 800; font-size: 13px; padding: 11px 20px; cursor: pointer; font-family: inherit; transition: filter .2s; }
.co-btn-primary:hover { filter: brightness(1.08); }
.co-btn-ghost { display: inline-flex; align-items: center; justify-content: center; background: var(--bg-elevated); border: 1px solid var(--border); color: var(--text); border-radius: 999px; font-weight: 700; font-size: 13px; padding: 10px 18px; cursor: pointer; font-family: inherit; text-decoration: none; transition: border-color .2s, color .2s, background .2s; }
.co-btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
.co-btn-block { display: flex; width: 100%; margin-top: 12px; }

/* 1) Hlavička */
.co-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin: 4px 0 22px; flex-wrap: nowrap; }
.co-head-main { flex: 1 1 auto; min-width: 0; }
.co-hi { font-family: 'Bebas Neue', Impact, sans-serif; font-size: clamp(34px, 5vw, 48px); line-height: .95; margin: 0 0 10px; color: var(--text-strong); text-wrap: balance; }
.co-goal { margin: 0 0 4px; }
.co-goal-amt { display: inline-block; font-size: 14px; font-weight: 700; color: var(--text-strong); background: rgba(255,107,26,.13); border: 1px solid rgba(255,107,26,.3); border-radius: 999px; padding: 5px 13px; }
.co-sub { font-size: 14px; color: var(--text-dim); margin: 8px 0 0; }
.co-sub strong { color: var(--orange); }
/* Malý profil pod uvítáním */
.co-whoami { display: flex; align-items: center; gap: 9px; margin-top: 12px; }
.co-whoami-top { margin-top: 0; margin-bottom: 11px; }
.co-whoami-av { width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: #fff; background: linear-gradient(135deg, var(--orange) 0%, #ff4500 100%); overflow: hidden; }
.co-whoami-av.has-image { background: var(--bg-elevated); position: relative; }
.co-whoami-av.has-image img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.co-whoami-av.has-image b { position: absolute; inset: 0; display: grid; place-items: center; z-index: 0; }
.co-whoami-name { font-size: 14px; font-weight: 700; color: var(--text); }
.co-saveplan-link { margin-left: 6px; background: none; border: none; color: var(--orange-bright); font: 700 13px/1 'Inter', sans-serif; cursor: pointer; padding: 0; }
.co-saveplan-link:hover { text-decoration: underline; }

/* Badge vpravo nahoře — placaté, velká čísla, bez plamínku */
.co-badges { display: flex; gap: 10px; align-items: stretch; flex-shrink: 0; flex-wrap: wrap; }
.co-streak-badge, .co-xp-badge { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 10px 15px; display: flex; flex-direction: column; justify-content: space-between; gap: 8px; min-width: 152px; }
.co-badge-num { display: flex; align-items: baseline; gap: 8px; }
.co-badge-num strong { font-family: 'Bebas Neue', Impact, sans-serif; font-size: 38px; line-height: .85; color: var(--text-strong); }
.co-xp-badge .co-badge-num strong { color: var(--orange); }
.co-badge-num span { font-size: 11px; color: var(--text-dim); line-height: 1.2; }
/* Týdenní tečky série */
.co-week { display: flex; gap: 7px; }
.co-week-day { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.co-week-day i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.12); border: 1.5px solid transparent; box-sizing: border-box; transition: background .2s; }
.co-week-day.on i { background: var(--orange); }
.co-week-day.future i { background: rgba(255,255,255,.05); }
.co-week-day.today i { border-color: var(--orange); box-shadow: 0 0 0 2px rgba(255,107,26,.22); }
.co-week-day b { font: 600 8.5px/1 'JetBrains Mono', monospace; color: var(--text-mute); }
.co-week-day.today b { color: var(--orange); }
.co-kp-todo { font-size: 10.5px; color: var(--text-mute); }
/* Vysvětlení Kenji Points */
.co-kpintro { display: flex; align-items: flex-start; gap: 13px; margin: 0 0 22px; padding: 16px 18px; border-radius: 14px; background: rgba(255,107,26,.08); border: 1px solid rgba(255,107,26,.22); }
.co-kpintro-ico { font-size: 22px; line-height: 1; flex-shrink: 0; }
.co-kpintro-body { flex: 1; min-width: 0; }
.co-kpintro-body strong { display: block; color: var(--text-strong); font-size: 14px; margin-bottom: 4px; }
.co-kpintro-body p { margin: 0; color: var(--text-dim); font-size: 13px; line-height: 1.55; }
.co-kpintro-x { flex-shrink: 0; align-self: center; padding: 9px 15px; border: 1px solid var(--orange); border-radius: 8px; background: transparent; color: var(--orange-bright); font: 700 12px/1 'Inter', sans-serif; cursor: pointer; white-space: nowrap; }
.co-kpintro-x:hover { background: rgba(255,107,26,.12); }
@media (max-width: 560px) { .co-kpintro { flex-wrap: wrap; } .co-kpintro-x { width: 100%; margin-left: 35px; } }

/* 2) Úkoly */
.co-tasklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.co-task { display: flex; gap: 13px; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 14px; padding: 14px; transition: border-color .18s; }
.co-task:hover { border-color: #333; }
.co-task-check { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 8px; border: 1.8px solid var(--text-mute); background: none; cursor: pointer; display: grid; place-items: center; color: transparent; margin-top: 1px; transition: border-color .18s, background .18s, color .18s; }
.co-task-check svg { width: 15px; height: 15px; }
.co-task.is-done .co-task-check { background: var(--orange); border-color: var(--orange); color: #0a0a0a; }
.co-task-body { flex: 1; min-width: 0; }
.co-task-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.co-task-title { font-size: 14.5px; font-weight: 700; color: var(--text-strong); line-height: 1.35; }
.co-task.is-done .co-task-title { color: var(--text-mute); text-decoration: line-through; }
.co-task-del { flex: 0 0 auto; background: none; border: none; color: var(--text-mute); font-size: 13px; cursor: pointer; opacity: .35; padding: 0 2px; transition: opacity .15s, color .15s; }
.co-task:hover .co-task-del { opacity: 1; }
.co-task-del:hover { color: #ff5a5a; }
.co-task-why { font-size: 12.5px; color: var(--text-dim); line-height: 1.45; margin: 4px 0 0; }
.co-task-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 9px; }
.co-task-chip { font-size: 11px; font-weight: 600; color: var(--text-dim); background: var(--bg-card); border: 1px solid var(--border); border-radius: 999px; padding: 3px 9px; }
.co-task-time { color: var(--orange); border-color: rgba(255,107,26,.3); }
.co-task-cta { display: flex; align-items: center; gap: 14px; margin-top: 11px; }
.co-task-done { background: var(--orange); color: #0a0a0a; border: none; border-radius: 999px; font-weight: 800; font-size: 12px; padding: 7px 15px; cursor: pointer; font-family: inherit; transition: filter .2s; }
.co-task-done:hover { filter: brightness(1.08); }
.co-task-ai { margin-left: auto; padding: 3px 0 3px 10px; font-size: 11.5px; font-weight: 700; color: var(--orange); text-decoration: none; transition: color .18s; }
.co-task-ai:hover { color: var(--orange-bright); }
.co-tasklist-done { margin-top: 10px; opacity: .75; }
.co-taskadd { display: flex; gap: 8px; margin-top: 12px; }
.co-taskadd-input { flex: 1; background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 11px 13px; color: var(--text); font-family: inherit; font-size: 14px; }
.co-taskadd-input:focus { outline: none; border-color: var(--orange); }
.co-taskadd-btn { flex: 0 0 auto; width: 44px; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 12px; color: var(--orange); font-size: 22px; cursor: pointer; transition: border-color .2s, background .2s; }
.co-taskadd-btn:hover { border-color: var(--orange); background: rgba(255,107,26,.1); }
.co-donetoggle { margin-top: 12px; background: none; border: none; color: var(--text-dim); font-size: 13px; font-weight: 600; cursor: pointer; font-family: inherit; padding: 2px; }
.co-donetoggle:hover { color: var(--text); }

/* 3) AI doporučuje */
.co-ask-mark { color: var(--orange); }
.co-airec { background: linear-gradient(160deg, rgba(255,107,26,.09), rgba(255,107,26,.02)); border-color: rgba(255,107,26,.28); }
.co-airec-reason { font-size: 13.5px; color: var(--text); line-height: 1.55; margin: 0 0 14px; }
.co-airec-step { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 13px 15px; margin-bottom: 12px; }
.co-airec-label { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--orange); }
.co-airec-step p { font-size: 14px; font-weight: 600; color: var(--text-strong); margin: 5px 0 0; line-height: 1.4; }
.co-airec-meta { display: flex; gap: 16px; font-size: 12.5px; color: var(--text-dim); margin-bottom: 15px; }
.co-airec-meta strong { color: var(--text); }
.co-airec-cta { display: flex; flex-wrap: wrap; gap: 10px; }

/* 4) Zeptej se Kenji AI */
.co-ask-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.co-ask-head .co-ask-mark { font-size: 22px; }
.co-ask-sub { font-size: 13px; color: var(--text-dim); margin: 2px 0 0; }
.co-ask-form { display: flex; gap: 10px; }
.co-ask-input { flex: 1; background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 13px 15px; color: var(--text); font-family: inherit; font-size: 14px; }
.co-ask-input:focus { outline: none; border-color: var(--orange); }
.co-ask-btn { flex: 0 0 auto; background: var(--orange); color: #0a0a0a; border: none; border-radius: 12px; font-weight: 800; font-size: 13px; padding: 0 20px; cursor: pointer; font-family: inherit; white-space: nowrap; transition: filter .2s; }
.co-ask-btn:hover { filter: brightness(1.08); }
.co-quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.co-quick-chip { font-size: 12.5px; color: var(--text-dim); background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 999px; padding: 8px 14px; text-decoration: none; transition: border-color .18s, color .18s, background .18s; }
.co-quick-chip:hover { border-color: var(--orange); color: var(--orange); background: rgba(255,107,26,.07); }

/* 5) Výzva */
.co-chal-xp { font-size: 12px; font-weight: 800; color: #0a0a0a; background: var(--orange); border-radius: 999px; padding: 3px 10px; }
.co-chal-title { font-size: 17px; font-weight: 800; color: var(--text-strong); margin: 4px 0 6px; line-height: 1.25; }
.co-chal-desc { font-size: 13px; color: var(--text-dim); line-height: 1.5; margin: 0 0 12px; }
.co-chal-meta { display: flex; gap: 16px; font-size: 12.5px; color: var(--text-dim); }
.co-chal-joined { font-size: 13px; color: var(--orange); font-weight: 600; margin-top: 12px; }

.feed-weekly-challenge { margin-bottom: 14px; padding: 20px 22px; border: 1px solid rgba(255,107,26,.34); border-left: 3px solid var(--orange); border-radius: 8px; background: rgba(255,107,26,.055); }
.feed-weekly-challenge[hidden] { display: none; }
.feed-weekly-challenge > span { color: var(--orange); font: 700 10px/1.2 'JetBrains Mono', monospace; letter-spacing: .08em; text-transform: uppercase; }
.feed-weekly-challenge h2 { margin: 9px 0 6px; color: var(--text-strong); font-size: 18px; line-height: 1.3; }
.feed-weekly-challenge p { margin: 0; color: var(--text-dim); font-size: 13px; line-height: 1.55; }

/* 6) Úspěchy */
.co-winlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.co-win { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--text); line-height: 1.4; }
.co-win-dot { flex: 0 0 auto; }
.co-win strong { color: var(--text-strong); }
.co-win.is-mine .co-win-txt { color: var(--orange); }
.co-win.is-mine strong { color: var(--orange); }

/* 7) Profil */
.co-prow { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--border-light); }
.co-prow:last-of-type { border-bottom: none; }
.co-prow-l { font-size: 13px; color: var(--text-dim); }
.co-prow-v { font-size: 13.5px; font-weight: 600; color: var(--text-strong); text-align: right; }

/* 8) Leaderboard */
/* sdílený avatar */
.co-lbav, .co-podium-av { flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--orange) 0%, #ff4500 100%); overflow: hidden; }
.co-lbav { width: 34px; height: 34px; font-size: 13px; }
.co-lbav.has-image, .co-podium-av.has-image { background: var(--bg-elevated); position: relative; }
.co-lbav.has-image img, .co-podium-av.has-image img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.co-lbav.has-image b, .co-podium-av.has-image b { position: absolute; inset: 0; display: grid; place-items: center; z-index: 0; }

/* Stupně vítězů */
.co-podium { display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 10px; margin: 6px 0 20px; }
.co-podium-item { min-width: 0; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 14px 8px 0; }
.co-podium-badge { font-size: 20px; line-height: 1; margin-bottom: 8px; }
.co-podium-av { width: 58px; height: 58px; font-size: 22px; border: 2px solid var(--border); }
.co-podium-item.is-gold .co-podium-av { width: 74px; height: 74px; font-size: 28px; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(255,196,0,.14); }
.co-podium-item.is-silver .co-podium-av { border-color: #c8ccd4; }
.co-podium-item.is-bronze .co-podium-av { border-color: #cd7f43; }
.co-podium-name { margin-top: 9px; font-size: 12.5px; font-weight: 700; color: var(--text-strong); line-height: 1.25; overflow-wrap: anywhere; }
.co-podium-item.is-gold .co-podium-name { font-size: 13.5px; }
.co-podium-ig { display: block; margin-top: 2px; font-size: 10.5px; color: var(--text-mute); text-decoration: none; }
.co-podium-ig:hover { color: var(--orange-bright); }
.co-podium-ig-empty { min-height: 13px; }
.co-podium-step { width: 100%; margin-top: 11px; padding: 9px 4px; border-radius: 9px 9px 0 0; background: var(--bg-elevated); border-top: 2px solid var(--border); }
.co-podium-item.is-gold .co-podium-step { padding-block: 20px; border-top-color: var(--gold); background: linear-gradient(180deg, rgba(255,196,0,.12), var(--bg-elevated)); }
.co-podium-item.is-silver .co-podium-step { padding-block: 13px; border-top-color: #c8ccd4; }
.co-podium-item.is-bronze .co-podium-step { padding-block: 8px; border-top-color: #cd7f43; }
.co-podium-rank { display: block; font: 800 18px/1 'Bebas Neue', sans-serif; letter-spacing: 1px; color: var(--text-strong); }
.co-podium-xp { display: block; margin-top: 3px; font: 700 10px/1 'JetBrains Mono', monospace; color: var(--text-dim); }
.co-podium-item.is-me .co-podium-name { color: var(--orange); }

.co-lblist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.co-lbrow { display: flex; align-items: center; gap: 11px; padding: 8px 10px; border-radius: 10px; }
.co-lbrow.is-me { background: rgba(255,107,26,.1); }
.co-lbrank { flex: 0 0 auto; width: 22px; text-align: center; font-weight: 700; font-size: 13px; color: var(--text-mute); }
.co-lbname { flex: 1; min-width: 0; font-size: 13.5px; color: var(--text); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.co-lbig { color: var(--text-mute); font-weight: 500; font-size: 12px; }
.co-lbyou { color: var(--orange); font-weight: 700; }
.co-lbxp { flex-shrink: 0; font-size: 13px; font-weight: 700; color: var(--text-dim); }
.co-lbrow.is-me .co-lbxp { color: var(--orange); }
.co-lbme { display: flex; align-items: center; gap: 11px; padding: 9px 10px; margin-top: 6px; background: rgba(255,107,26,.1); border-radius: 10px; font-size: 13.5px; color: var(--text-strong); }
.co-lbme strong { color: var(--orange); font-weight: 700; }
.co-lbhint { font-size: 12.5px; color: var(--orange); margin: 12px 0 0; font-weight: 600; }
.co-lbnote { font-size: 12px; color: var(--text-mute); margin: 6px 0 0; }

/* Onboarding */
.co-onb-head, .co-onb-actions { display: flex; }
.co-onb-head { align-items: center; gap: 12px; margin-bottom: 18px; }
.co-onb-mark { font-size: 24px; color: var(--orange); }
.onb-q { display: block; font-size: 13px; font-weight: 700; color: var(--text-strong); margin: 18px 0 9px; }
.onb-q-inline { margin: 0; }
.onb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.onb-chip { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 999px; padding: 9px 14px; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--text-dim); font-family: inherit; transition: border-color .18s, color .18s, background .18s; }
.onb-chip:hover { border-color: var(--text-mute); color: var(--text); }
.onb-chip.active { border-color: var(--orange); color: var(--text-strong); background: rgba(255,107,26,.13); }
.onb-chip-sm { padding: 7px 16px; }
.onb-goal { width: 100%; background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; color: var(--text); font-family: inherit; font-size: 15px; }
.onb-goal:focus { outline: none; border-color: var(--orange); }
.onb-yesno { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.onb-yn { display: inline-flex; gap: 8px; }
.co-onb-actions { align-items: center; gap: 16px; margin-top: 22px; }

/* XP toast + flash */
.co-xptoast { position: fixed; left: 50%; bottom: 40px; transform: translate(-50%, 30px); z-index: 9999; background: var(--orange); color: #0a0a0a; border-radius: 14px; padding: 12px 22px; display: flex; flex-direction: column; align-items: center; box-shadow: 0 12px 40px -8px rgba(255,107,26,.6); opacity: 0; transition: opacity .35s, transform .35s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.co-xptoast.show { opacity: 1; transform: translate(-50%, 0); }
.co-xptoast strong { font-family: 'Bebas Neue', Impact, sans-serif; font-size: 24px; line-height: 1; letter-spacing: .02em; }
.co-xptoast span { font-size: 11px; font-weight: 700; }
.co-flash { position: fixed; left: 50%; bottom: 40px; transform: translate(-50%, 20px); z-index: 9999; background: var(--bg-elevated); border: 1px solid var(--border); color: var(--text); border-radius: 12px; padding: 11px 20px; font-size: 13px; font-weight: 600; box-shadow: 0 12px 40px -12px rgba(0,0,0,.7); opacity: 0; transition: opacity .3s, transform .3s; pointer-events: none; }
.co-flash.show { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  .co-xptoast, .co-flash { transition: opacity .2s; }
}
@media (max-width: 900px) {
  .co-grid, .co-grid-tasks { grid-template-columns: 1fr; }
  .co-head { flex-direction: column; }
  .co-badges { width: 100%; }
  .co-streak-badge, .co-xp-badge { flex: 1; }
  /* Mobil: leaderboard nad profilem (profil je až úplně dole) */
  .co-lb { order: -1; }
}

/* Odkaz „Upravit profil" v hlavičce kouče */
.co-editprofile { background: none; border: none; color: var(--text-dim); font-size: 14px; cursor: pointer; padding: 0; font-family: inherit; text-decoration: underline; text-underline-offset: 2px; transition: color .18s; }
.co-editprofile:hover { color: var(--orange); }

/* ============================================================
   KENJI AI — široké nízké glass tlačítko pod přepínačem (v sidebaru)
   ============================================================ */
.sidebar-ai-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: -18px 0 28px;              /* sedne těsně pod přepínač */
  padding: 8px 12px;
  border-radius: 13px;
  text-decoration: none;
  color: var(--text-dim);
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.015));
  border: 1px solid rgba(255,255,255,.09);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 8px 20px -15px rgba(0,0,0,.7);
  transition: border-color .2s ease, color .2s ease, background .2s ease, box-shadow .2s ease;
}
.sidebar-ai-btn:hover {
  color: var(--text);
  border-color: rgba(255,122,26,.5);
  background: linear-gradient(180deg, rgba(255,122,26,.14), rgba(255,122,26,.04));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 10px 24px -14px rgba(255,122,26,.6);
}
.sidebar-ai-btn.active {
  color: var(--text);
  border-color: rgba(255,122,26,.55);
  background: linear-gradient(180deg, rgba(255,122,26,.16), rgba(255,122,26,.05));
}
.sai-mark { width: 15px; height: 15px; flex-shrink: 0; color: var(--orange); }
.sai-txt { font-size: 13px; line-height: 1; letter-spacing: .01em; }
.sai-txt strong { font-weight: 800; color: var(--text-strong); }
.sidebar-ai-btn:not(:hover):not(.active) .sai-txt strong { color: var(--text); }
.sai-beta { font-weight: 400; font-size: 11px; color: var(--text-mute); text-transform: lowercase; margin-left: 2px; }

/* ============================================================
   POP-UP „Úspěch komunity" — glass, nekliknutelný, 1× denně
   ============================================================ */
.kenji-winpop {
  position: fixed; top: 80px; right: 20px; z-index: 9000;
  width: 320px; max-width: calc(100vw - 32px);
  padding: 15px 16px;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(34,34,36,.9), rgba(18,18,20,.86));
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 20px 55px -20px rgba(0,0,0,.85), inset 0 1px 0 rgba(255,255,255,.06);
  transform: translateX(120%); opacity: 0;
  transition: transform .55s cubic-bezier(.2,.85,.25,1), opacity .45s ease;
}
.kenji-winpop.show { transform: translateX(0); opacity: 1; }
.wp-badge { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--orange); margin-bottom: 7px; }
.wp-text { font-size: 13.5px; color: var(--text-dim); line-height: 1.5; margin: 0; padding-right: 14px; }
.wp-text strong { color: var(--text-strong); font-weight: 700; }
.wp-add { display: inline-block; margin-top: 9px; font-size: 12px; font-weight: 600; color: var(--orange); text-decoration: none; opacity: .92; transition: opacity .15s ease, color .15s ease; }
.wp-add:hover { opacity: 1; color: var(--orange-bright); text-decoration: underline; text-underline-offset: 2px; }
.wp-close { position: absolute; top: 10px; right: 11px; background: none; border: none; color: var(--text-mute); font-size: 13px; cursor: pointer; line-height: 1; padding: 2px; transition: color .15s ease; }
.wp-close:hover { color: var(--text); }
/* malý štítek „právě teď" u čerstvého úspěchu v kartě */
.co-win-fresh { flex: 0 0 auto; font-size: 10px; font-weight: 700; color: var(--orange); background: rgba(255,107,26,.12); border-radius: 999px; padding: 2px 7px; align-self: center; }
@media (max-width: 560px) {
  .kenji-winpop { top: auto; bottom: 16px; right: 12px; left: 12px; width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .kenji-winpop { transition: opacity .3s ease; transform: none; }
  .kenji-winpop:not(.show) { transform: none; }
}

.co-btn-ghost[disabled] { opacity: .5; cursor: default; pointer-events: none; }

/* ============================================================
   UX PSYCHOLOGIE — level bar, loss nudge, ukázka videa, kotva, save-plan
   ============================================================ */
/* #2 — level progress bar v XP badge (nikdy prázdný) */
.co-xpbar { display: block; width: 100%; height: 4px; margin-top: 8px; background: rgba(255,255,255,.1); border-radius: 99px; overflow: hidden; }
.co-xpbar i { display: block; height: 100%; background: linear-gradient(90deg, var(--orange), var(--orange-bright)); border-radius: 99px; transition: width .5s ease; }

/* #5 — loss framing pobídka pro sérii */
.co-streaknudge { display: flex; align-items: center; gap: 9px; margin: 0 0 18px; padding: 11px 13px 11px 15px; border-radius: 12px; background: rgba(255,107,26,.08); border: 1px solid rgba(255,107,26,.22); font-size: 13px; color: var(--text-dim); line-height: 1.45; }
.co-streaknudge strong { color: var(--text-strong); }
.co-streaknudge .co-fire { font-size: 15px; flex: 0 0 auto; }
.co-streaknudge-txt { flex: 1; min-width: 0; }
.co-streaknudge a { color: var(--orange); font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(255,107,26,.4); }
.co-streaknudge a:hover { border-bottom-color: var(--orange); }
.co-streaknudge-x { flex: 0 0 auto; width: 24px; height: 24px; display: grid; place-items: center; border: 0; border-radius: 7px; background: transparent; color: var(--text-dim); font-size: 12px; line-height: 1; cursor: pointer; opacity: .55; transition: opacity .15s, background .15s; }
.co-streaknudge-x:hover { opacity: 1; background: rgba(255,255,255,.06); }
#co-plan { scroll-margin-top: 84px; }
.co-saveplan-link { color: var(--orange) !important; }

/* #3 — YouTube přehrání v článku + upsell pod ukázkou */
.video-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; margin: 36px 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-lock.free .vl-tag { color: #ffd18a; background: rgba(120,74,20,.5); border-color: rgba(255,180,90,.4); } /* zlatavá „ukázka zdarma" */
.vl-freeupsell { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: -22px 0 36px; padding: 13px 16px; border: 1px solid rgba(255,107,26,.25); border-radius: 12px; background: linear-gradient(160deg, rgba(255,107,26,.08), rgba(255,107,26,.02)); text-decoration: none; color: var(--text-dim); font-size: 13px; line-height: 1.45; transition: border-color .18s ease, background .18s ease; }
.vl-freeupsell:hover { border-color: rgba(255,107,26,.5); background: linear-gradient(160deg, rgba(255,107,26,.13), rgba(255,107,26,.04)); }
.vl-freeupsell strong { color: var(--text-strong); }
.vl-freeupsell-cta { flex: 0 0 auto; color: var(--orange); font-weight: 700; white-space: nowrap; }

/* #4 — „Zatím ne" v režimu ulož-plán */
.kg-saveplan .kg-modal { position: relative; }
.kg-skip { position: absolute; top: 14px; right: 16px; z-index: 5; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: var(--text-dim); font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 99px; cursor: pointer; transition: color .15s ease, border-color .15s ease; }
.kg-skip:hover { color: var(--text); border-color: rgba(255,255,255,.3); }

/* #6 — relativní/kotevní rámování ceny */
.price-relative { font-size: 12px; color: var(--text-dim); margin-top: 8px; }
.price-relative strong { color: var(--text); }

/* ============================================================
   SVĚTLÝ REŽIM — přepínač ☾/☀ v hlavičce (výchozí zůstává tmavý)
   Oranžové gradienty zůstávají, jen ztmavne text a pozadí zesvětlá.
   ============================================================ */
:root[data-theme="light"] {
  --bg: #ffffff;
  --bg-card: #f5f5f7;
  --bg-card-2: #eeeef1;
  --bg-elevated: #eaeaef;
  --text: #1d1d21;
  --text-strong: #101013;
  --text-dim: #55555d;
  --text-mute: #86868e;
  --border: #e5e5ea;
  --border-light: #eeeef1;
  --border-accent: #ff6b1a;
  --glass-bg: rgba(0,0,0,.045);
  --glass-border: rgba(0,0,0,.1);
  --header-bg: rgba(255,255,255,.82);
  --sidebar-bg: #fafafb;
}
/* Glass plochy s napevno bílým alpha → ve světlém ztmav */
:root[data-theme="light"] .sidebar-switch,
:root[data-theme="light"] .sidebar-ai-btn {
  background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.015));
  border-color: rgba(0,0,0,.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 6px 18px -13px rgba(0,0,0,.3);
}
:root[data-theme="light"] .sidebar-ai-btn:hover,
:root[data-theme="light"] .sidebar-ai-btn.active { border-color: rgba(255,122,26,.5); }
:root[data-theme="light"] .cookie-notice { background: rgba(255,255,255,.96); }
:root[data-theme="light"] .kenji-winpop { background: linear-gradient(160deg, rgba(255,255,255,.96), rgba(244,244,247,.93)); border-color: rgba(0,0,0,.08); box-shadow: 0 20px 55px -22px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.7); }
:root[data-theme="light"] .top-header { box-shadow: 0 1px 0 rgba(0,0,0,.06); }
:root[data-theme="light"] .sidebar::-webkit-scrollbar-thumb { background: rgba(0,0,0,.16); }
/* Vstupní brána: rozmazané pozadí ať je světlé, ne černé */
:root[data-theme="light"] .kenji-gate { background: rgba(255,255,255,.55); }
/* Ať jsou tlačítka s vždy-oranžovým pozadím čitelná (bílý text zpět) */
:root[data-theme="light"] .switch-btn.active,
:root[data-theme="light"] .switch-btn.active .sw-lbl,
:root[data-theme="light"] .vl-play-icon,
:root[data-theme="light"] .access-cta.primary,
:root[data-theme="light"] .kg-btn { color: #fff; }

/* PŘEPÍNAČ MOTIVU (☾/☀) v hlavičce */
.theme-toggle {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: var(--bg-elevated); border: 1px solid var(--border); color: var(--text);
  font-size: 17px; line-height: 1; padding: 0;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.theme-toggle:hover { border-color: var(--text-dim); color: var(--orange); }
.theme-toggle svg { width: 18px; height: 18px; }
@media (max-width: 480px) { .theme-toggle { width: 34px; height: 34px; } }

/* Světlý režim — doladění: logo (bílé PNG) invertovat, jemné bílé plochy ztmavit */
:root[data-theme="light"] .brand-name { filter: invert(1) brightness(.15); }
:root[data-theme="light"] .co-xpbar { background: rgba(0,0,0,.1); }
:root[data-theme="light"] .goal-bar,
:root[data-theme="light"] .todo-check { border-color: rgba(0,0,0,.18); }
:root[data-theme="light"] .co-task-check { border-color: rgba(0,0,0,.28); }
:root[data-theme="light"] .kg-input,
:root[data-theme="light"] .co-taskadd-input,
:root[data-theme="light"] .co-ask-input,
:root[data-theme="light"] .onb-goal,
:root[data-theme="light"] .ai-input { background: #fff; }
:root[data-theme="light"] .ai-inputbar { background: #fff; }

/* Světlý režim — bloky, které ZŮSTÁVAJÍ tmavé (hero, video, preset, závěr):
   uvnitř nich vrať světlé texty (přepiš tokeny lokálně). */
:root[data-theme="light"] .article-hero,
:root[data-theme="light"] .video-lock,
:root[data-theme="light"] .preset-promo,
:root[data-theme="light"] .closing {
  --text: #f2f2f4;
  --text-strong: #ffffff;
  --text-dim: rgba(255,255,255,.75);
  --text-mute: rgba(255,255,255,.55);
}

/* Světlý režim — tmavé bloky potřebují přímý `color` (dědí se z body, ne přes token) */
:root[data-theme="light"] .article-hero { color: rgba(255,255,255,.82); }
:root[data-theme="light"] .article-hero h1 { color: #fff; }
:root[data-theme="light"] .closing { color: rgba(255,255,255,.85); }
:root[data-theme="light"] .closing h2 { color: #fff; }
:root[data-theme="light"] .preset-promo { color: rgba(255,255,255,.9); }
:root[data-theme="light"] .video-lock { color: #fff; }

/* ============================================================
   PERSONALIZACE, VEDENÉ CESTY A CHYTŘEJŠÍ HLEDÁNÍ
   ============================================================ */
.co-learning { margin-bottom: 16px; }
.co-content-link {
  display: flex; align-items: center; gap: 12px; min-width: 0;
  padding: 12px; border-radius: 12px; background: var(--bg);
  border: 1px solid var(--border); color: var(--text); text-decoration: none;
  transition: border-color .18s ease, background .18s ease;
}
.co-content-link:hover { border-color: rgba(255,107,26,.5); background: rgba(255,107,26,.045); }
.co-content-icon { flex: 0 0 auto; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: var(--bg-elevated); font-size: 18px; }
.co-content-main { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 3px; }
.co-content-main strong { color: var(--text-strong); font-size: 14px; line-height: 1.35; }
.co-content-main > span { color: var(--text-dim); font-size: 12.5px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.co-content-arrow { flex: 0 0 auto; color: var(--orange); font-weight: 800; }
.co-content-progress { height: 4px; margin-top: 12px; background: var(--bg-elevated); border-radius: 99px; overflow: hidden; }
.co-content-progress i, .co-total-progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--orange), var(--orange-bright)); }
.co-for-you-reason { color: var(--text-dim); font-size: 12.5px; line-height: 1.45; margin: -3px 0 11px; }
.co-for-you-reason strong { color: var(--text); }
.co-total-progress { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.co-total-progress > span { flex: 1; height: 4px; background: var(--bg-elevated); border-radius: 99px; overflow: hidden; }
.co-total-progress small { flex: 0 0 auto; color: var(--text-mute); font-size: 11px; }

.co-section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 14px; }
.co-section-head h2 { margin: 0 0 4px; color: var(--text-strong); font-size: 19px; }
.co-section-head p { margin: 0; color: var(--text-dim); font-size: 13px; }

.search-result .sr-desc { color: var(--text-dim); font-size: 11px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-suggest-label { padding: 8px 10px 5px; color: var(--text-mute); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.search-chips { display: flex; flex-wrap: wrap; gap: 5px; padding: 1px 7px 7px; }
.search-chip { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border: 1px solid var(--border); background: var(--bg-elevated); color: var(--text-dim); border-radius: 99px; padding: 5px 9px; font: 500 11px 'Inter', sans-serif; cursor: pointer; }
.search-chip:hover { color: var(--orange); border-color: rgba(255,107,26,.45); }
.search-ai-fallback { display: block; margin: 0 9px 9px; padding: 9px 11px; border-radius: 8px; color: var(--orange); background: rgba(255,107,26,.08); text-decoration: none; font-size: 12px; font-weight: 700; }

.checklist-item[role="checkbox"] { cursor: pointer; border-radius: 8px; transition: background .16s ease, opacity .16s ease; }
.checklist-item[role="checkbox"]:hover { background: rgba(255,255,255,.025); }
.checklist-item[role="checkbox"]:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.checklist-item[role="checkbox"] .checklist-check::after { opacity: 0; }
.checklist-item.is-done .checklist-check { background: var(--orange); }
.checklist-item.is-done .checklist-check::after { opacity: 1; border-color: #0a0a0a; }
.checklist-item.is-done p { color: var(--text-mute); }
.checklist-item.is-done p { text-decoration: line-through; text-decoration-color: rgba(255,255,255,.2); }
:root[data-theme="light"] .checklist-item[role="checkbox"]:hover { background: rgba(0,0,0,.025); }

@media (max-width: 720px) {
  .co-content-main > span { -webkit-line-clamp: 1; }
}

/* ============================================================
   KULTURA / SJEDNOCENÍ: bílá tlačítka místo oranžových, XP zlatě
   ============================================================ */
:root { --gold: #e3bd6d; --btn-bg: #ffffff; --btn-fg: #141417; }
:root[data-theme="light"] { --gold: #a5791d; --btn-bg: #17171a; --btn-fg: #ffffff; }

/* Primární akční tlačítka — čistá, bez velké oranžové */
.co-btn-primary, .co-task-done, .co-ask-btn, .kg-btn,
.access-cta.primary, .hu-cta, .dm-primary-btn, .cookie-ok, .cpn-add button {
  background: var(--btn-bg) !important;
  color: var(--btn-fg) !important;
  border: 1px solid transparent !important;
}
.co-btn-primary:hover, .co-task-done:hover, .co-ask-btn:hover, .kg-btn:hover,
.access-cta.primary:hover, .home-upgrade:hover .hu-cta, .dm-primary-btn:hover, .cookie-ok:hover {
  filter: brightness(.92) !important;
}
/* Kenji AI odeslat — bílý kruh, tmavá šipka */
.ai-send { background: var(--btn-bg) !important; color: var(--btn-fg) !important; }
/* „+“ přidat úkol — neutrální (bez oranžové) */
.co-taskadd-btn { color: var(--text) !important; }
.co-taskadd-btn:hover { border-color: var(--text-dim) !important; background: var(--bg-card-2) !important; }

/* ── XP / skóre = ZLATÁ (sjednoceno) ── */
.co-xp-badge strong { color: var(--gold) !important; }
.co-xpbar i { background: linear-gradient(90deg, var(--gold), #f2d79a) !important; }
.co-lbxp, .co-lbrow.is-me .co-lbxp { color: var(--gold) !important; }
/* +XP badge (výzva i úspěchy) — tenký zlatý outline, zlatý text, průhledné pozadí */
.co-chal-xp {
  background: transparent !important;
  color: var(--gold) !important;
  border: 1px solid var(--gold) !important;
  font-weight: 700 !important;
}
/* XP toast — zlatý */
.co-xptoast { background: var(--gold) !important; color: #141417 !important; box-shadow: 0 12px 40px -8px rgba(200,160,80,.55) !important; }

/* Časový chip ⏱ — neutrální, jako kategorie (bez oranžové) */
.co-task-time { color: var(--text-dim) !important; border-color: var(--border) !important; background: var(--bg-card) !important; }

/* ============================================================
   VIZUÁLNÍ UX: onboarding, cesta, odezva a prázdné stavy
   ============================================================ */
.ui-icon { width: 20px; height: 20px; display: block; flex: 0 0 auto; }
.sidebar-mainlink .ui-icon, .sidebar-section-title .ui-icon, .feed-cat-btn .ui-icon { color: var(--text-dim); }
.sidebar-mainlink.active .ui-icon, .sidebar-section.open > .sidebar-section-title .ui-icon,
.feed-cat-btn.active .ui-icon { color: var(--orange); }

/* Onboarding jako výběr, ne formulář */
.onb-chips-visual { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.onb-chip-visual {
  min-height: 76px; border-radius: 12px; padding: 12px 10px;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 10px;
  text-align: left;
}
.onb-choice-icon { width: 22px; height: 22px; color: var(--text-mute); transition: color .18s ease, transform .18s ease; }
.onb-chip-visual:hover .onb-choice-icon { color: var(--text); transform: translateY(-1px); }
.onb-chip-visual.active .onb-choice-icon { color: var(--orange); }
.onb-experience, .onb-income {
  display: grid; gap: 0;
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--bg);
}
.onb-experience { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.onb-income { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.onb-experience .onb-chip, .onb-income .onb-chip {
  min-height: 48px; border: 0; border-right: 1px solid var(--border); border-radius: 0;
  display: grid; place-items: center; padding: 9px 8px; background: transparent; text-align: center;
}
.onb-experience .onb-chip:last-child, .onb-income .onb-chip:last-child { border-right: 0; }
.onb-experience .onb-chip.active, .onb-income .onb-chip.active {
  color: var(--text-strong); background: var(--bg-card-2); box-shadow: inset 0 -2px 0 var(--orange);
}
.onb-goal-control { padding: 16px 18px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg); }
.onb-goal-live { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 17px; }
.onb-goal-caption { color: var(--text-mute); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.onb-goal-live label { display: flex; align-items: baseline; justify-content: flex-end; gap: 7px; color: var(--text-dim); font-size: 13px; }
.onb-goal-input { width: 128px; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--text-strong); font-size: 25px; font-weight: 750; text-align: right; }
.onb-goal-input:focus { border: 0; outline: 0; }
.onb-goal-range { --range-pct: 35%; width: 100%; height: 24px; margin: 0; appearance: none; background: transparent; cursor: pointer; }
.onb-goal-range::-webkit-slider-runnable-track { height: 4px; border-radius: 99px; background: linear-gradient(90deg, var(--orange) 0 var(--range-pct), var(--bg-elevated) var(--range-pct) 100%); }
.onb-goal-range::-moz-range-track { height: 4px; border-radius: 99px; background: var(--bg-elevated); }
.onb-goal-range::-moz-range-progress { height: 4px; border-radius: 99px; background: var(--orange); }
.onb-goal-range::-webkit-slider-thumb { width: 22px; height: 22px; margin-top: -9px; appearance: none; border: 5px solid var(--orange); border-radius: 50%; background: var(--bg); box-shadow: 0 2px 12px rgba(0,0,0,.35); }
.onb-goal-range::-moz-range-thumb { width: 12px; height: 12px; border: 5px solid var(--orange); border-radius: 50%; background: var(--bg); box-shadow: 0 2px 12px rgba(0,0,0,.35); }
.onb-goal-range:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; border-radius: 99px; }
.onb-range-labels { display: flex; justify-content: space-between; color: var(--text-mute); font-size: 10px; }

/* Jedna čitelná mapa postupu napříč obsahem */
.co-journey { margin: 26px 0 18px; padding: 20px; border: 1px solid var(--border); border-radius: 16px; background: var(--bg-card); overflow: hidden; }
.co-journey-count { flex: 0 0 auto; padding: 5px 9px; border: 1px solid var(--border); border-radius: 99px; color: var(--text-dim); font-size: 11px; font-weight: 750; }
.co-journey-scroll { overflow-x: auto; padding: 8px 2px 6px; scrollbar-width: thin; scrollbar-color: var(--border) transparent; }
.co-journey-track { position: relative; min-width: 650px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; padding-top: 4px; }
.co-journey-line { position: absolute; z-index: 0; left: 9%; right: 9%; top: 25px; height: 2px; overflow: hidden; background: var(--border); }
.co-journey-line i { display: block; height: 100%; background: var(--orange); transition: width .5s cubic-bezier(.2,.8,.2,1); }
.co-journey-node { position: relative; z-index: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 5px; color: var(--text-dim); text-align: center; text-decoration: none; }
.co-journey-dot { width: 44px; height: 44px; display: grid; place-items: center; border: 2px solid var(--border); border-radius: 50%; background: var(--bg-card); color: var(--text-mute); transition: border-color .18s ease, transform .18s ease, color .18s ease; }
.co-journey-node:hover .co-journey-dot { transform: translateY(-2px); border-color: var(--text-mute); color: var(--text); }
.co-journey-node strong { margin-top: 3px; color: var(--text); font-size: 12px; }
.co-journey-node small { color: var(--text-mute); font-size: 10px; }
.co-journey-node.is-done .co-journey-dot { border-color: var(--orange); background: var(--orange); color: #111; }
.co-journey-node.is-current .co-journey-dot { border-color: var(--orange); color: var(--orange); box-shadow: 0 0 0 6px rgba(255,107,26,.1); animation: journeyPulse 2.4s ease-in-out infinite; }
.co-journey-node.is-current strong, .co-journey-node.is-current small { color: var(--orange); }
.co-journey-node.is-locked { opacity: .56; }
@keyframes journeyPulse { 0%,100% { box-shadow: 0 0 0 5px rgba(255,107,26,.08); } 50% { box-shadow: 0 0 0 9px rgba(255,107,26,.02); } }

/* Vlastní prázdné stavy místo samotných vět */
.co-empty-state, .search-empty-state, .feed-empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.co-empty-state { min-height: 210px; padding: 18px; }
.co-empty-state strong, .search-empty-state strong, .feed-empty-state strong { color: var(--text-strong); font-size: 14px; }
.co-empty-state > span, .search-empty-state > span, .feed-empty-state > span { max-width: 390px; margin-top: 5px; color: var(--text-mute); font-size: 12px; line-height: 1.5; }
.kenji-empty-art, .kenji-search-art, .feed-empty-art, .ai-empty-art { color: var(--text-mute); }
.kenji-empty-art { width: 154px; margin: 0 auto 9px; stroke: currentColor; stroke-width: 2; }
.kenji-search-art { stroke: currentColor; stroke-width: 2; }
.feed-empty-art svg, .ai-empty-art svg { width: 100%; height: auto; stroke: currentColor; stroke-width: 2; }
.kenji-empty-art .kea-accent, .kenji-search-art .ksa-accent, .feed-empty-art .feed-art-accent, .ai-empty-art .ai-spark { stroke: var(--orange); }
.search-empty-state { padding: 16px 14px 11px; }
.kenji-search-art { width: 100px; margin-bottom: 4px; }
.feed-empty-state { min-height: 310px; padding: 34px 20px; border: 1px dashed var(--border); border-radius: 12px; background: var(--bg-card); }
.feed-empty-art { width: 146px; margin-bottom: 9px; }
.ai-empty-art { width: 168px; margin: 0 auto 16px; }

/* Mikrointerakce se stavem: stisk, dokončení, odeslání */
.co-btn-primary, .co-task-done, .onb-chip, .ai-send, .feed-tab, .co-content-link, .search-result { -webkit-tap-highlight-color: transparent; }
.co-btn-primary:active, .co-task-done:active, .onb-chip:active, .co-content-link:active, .search-result:active { transform: scale(.985); }
.feed-tab { display: inline-flex; align-items: center; gap: 7px; }
.feed-tab .ui-icon { width: 16px; height: 16px; }
.checklist-item.just-toggled .checklist-check { animation: checklistPop .4s cubic-bezier(.2,.9,.25,1.25); }
@keyframes checklistPop { 0% { transform: scale(.7); } 55% { transform: scale(1.18); } 100% { transform: scale(1); } }
.ai-send { position: relative; overflow: hidden; transition: transform .18s ease, background .18s ease, color .18s ease; }
.ai-send > span { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .16s ease, transform .16s ease; }
.ai-send-arrow svg, .ai-send-check svg { width: 21px; height: 21px; }
.ai-send-loader, .ai-send-check { opacity: 0; transform: scale(.7); }
.ai-send-loader::before { content: ''; width: 17px; height: 17px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: aiSpin .7s linear infinite; }
.ai-send.is-sending .ai-send-arrow, .ai-send.is-success .ai-send-arrow { opacity: 0; transform: scale(.7); }
.ai-send.is-sending .ai-send-loader, .ai-send.is-success .ai-send-check { opacity: 1; transform: scale(1); }
.ai-send.is-success { background: #53d99a !important; color: #10251c !important; }
@keyframes aiSpin { to { transform: rotate(360deg); } }

@media (max-width: 720px) {
  .ai-mobile-quota { display: flex; flex-shrink: 0; min-height: 30px; margin: -2px 4px 4px; padding-bottom: 7px; border-bottom: 1px solid var(--border); }
  .ai-limit-panel { align-items: flex-start; flex-direction: column; gap: 10px; margin-inline: 4px; padding: 13px 14px; }
  .ai-limit-panel > a { white-space: normal; }
  .onb-chips-visual { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .onb-experience { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .onb-income { grid-template-columns: 1fr; }
  .onb-experience .onb-chip:nth-child(2) { border-right: 0; }
  .onb-experience .onb-chip:nth-child(-n+2), .onb-income .onb-chip:not(:last-child) { border-bottom: 1px solid var(--border); }
  .onb-income .onb-chip { border-right: 0; }
  .onb-goal-live { align-items: center; }
  .co-journey { padding: 17px 14px; }
  .co-journey-scroll { margin-right: -14px; padding-right: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .co-journey-node.is-current .co-journey-dot, .checklist-item.just-toggled .checklist-check,
  .ai-send-loader::before, .ai-thinking-symbol::before { animation: none; }
  .co-journey-line i, .onb-choice-icon, .co-journey-dot, .ai-send > span,
  .ai-thinking-copy, .ai-thinking-steps i { transition: none; }
}

/* ============================================================
   MOBILNI PRISTUPNOST: iOS/Android zvetseni textu a reflow
   ============================================================ */
img, video, iframe, canvas { max-width: 100%; }
.academy-sale-section, .academy-proofbar, .post {
  content-visibility: auto;
}
.academy-sale-section { contain-intrinsic-size: auto 820px; }
.academy-proofbar { contain-intrinsic-size: auto 120px; }
.post { contain-intrinsic-size: auto 560px; }
.main, .main-inner, .layout, .article-body, .lesson-content,
.post-card, .post-body, .ai-root, .ai-chat, .ai-messages,
.course-card, .course-info, .paywall { min-width: 0; }
.article-body, .lesson-content, .post-body, .ai-bot-text,
.ai-bubble, .paywall-text, .course-desc, .course-hero-desc,
.info-box-content, .promo-banner, .closing {
  overflow-wrap: anywhere;
  word-break: normal;
}

@media (max-width: 968px) {
  .top-header {
    min-height: var(--header-height);
    height: auto;
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }
  .header-tag { display: none; }
  .sidebar {
    height: auto;
    max-height: calc(100dvh - var(--header-height));
    bottom: 0;
    overscroll-behavior: contain;
  }
  .main {
    padding-left: max(18px, env(safe-area-inset-left, 0px));
    padding-right: max(18px, env(safe-area-inset-right, 0px));
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }

  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
  textarea, select {
    min-width: 0;
    font-size: max(1rem, 16px);
  }

  .article-body p, .article-body li, .lesson-content,
  .post-body, .ai-bot-text, .ai-bubble, .paywall-text,
  .course-hero-desc, .course-desc, .info-box-content p {
    font-size: 1rem;
  }
  .article-body h3, .lesson-content h1, .lesson-content h3,
  .course-hero-title, .paywall-title, .promo-banner h2, .closing h2 {
    overflow-wrap: anywhere;
  }

  .sidebar-link, .sidebar-mainlink, .sidebar-section-title,
  .sidebar-sublink, .ct-mod-head, .ct-lesson, .feed-cat-btn,
  .feed-tab, .cmod-head, .clesson {
    height: auto;
    min-height: 44px;
  }
  .ct-mod-title, .ct-lesson-title, .cmod-title, .cl-title,
  .sidebar-course-head .sch-title, .sidebar-link,
  .sidebar-mainlink, .sidebar-section-title, .sidebar-sublink {
    overflow-wrap: anywhere;
  }

  .lnav-name, .search-result .sr-desc, .feed-search-status,
  .composer-tool, .composer-send, .comment-send, .co-ask-btn,
  .co-task-done, .co-btn-primary, .access-cta, .paywall-cta,
  .kg-btn, .ai-chip, .ai-action, .set-save, .tpl-dl {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
  .lnav { min-height: 48px; height: auto; }
  .lnav-name { display: block; }
  .player-empty { overflow-y: auto; }

  .kg-modal { max-height: none; overflow: visible; }
  .kenji-gate {
    align-items: flex-start;
    padding-top: max(20px, env(safe-area-inset-top, 0px));
    padding-bottom: max(20px, env(safe-area-inset-bottom, 0px));
  }

  .ai-main-inner {
    min-height: calc(100dvh - var(--header-height));
    height: calc(100dvh - var(--header-height));
    padding-left: max(12px, env(safe-area-inset-left, 0px));
    padding-right: max(12px, env(safe-area-inset-right, 0px));
  }
  .ai-chat { padding-bottom: env(safe-area-inset-bottom, 0px); }
  .ai-thinking { align-items: start; }
  .ai-thinking-copy strong, .ai-thinking-copy > span { overflow-wrap: anywhere; }

  .kenji-help {
    right: max(14px, env(safe-area-inset-right, 0px));
    bottom: max(14px, env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 540px) {
  .home-hero h1 { font-size: clamp(2.5rem, 16vw, 3.625rem); }
  .article-hero h1 { font-size: clamp(2rem, 11vw, 3rem); }
  .course-hero-title { font-size: clamp(2rem, 11vw, 2.875rem); }
  .breadcrumbs { flex-wrap: wrap; }
  .paywall, .promo-banner, .closing { padding-left: 20px; padding-right: 20px; }
  .lesson-nav { align-items: stretch; }
  .lnav { flex: 1 1 0; min-width: 0; }
  .lnav-txt { min-width: 0; }
  .lnav-name { display: block; font-size: .875rem; overflow-wrap: anywhere; }
}

/* Academy conversion master 2026 */
.academy-page.academy-sale-page { --academy-line: rgba(255,255,255,.11); --academy-muted: #92928f; }
.academy-sale-page #diagnostika,
.academy-sale-page #uvnitr,
.academy-sale-page #nabidka { scroll-margin-top: calc(var(--header-height) + 14px); }
.academy-sale-page .hero4-title { letter-spacing: 0; }
.academy-sale-page .hero4-visual.academy-hero-system { width: 100%; max-width: 560px; }
.academy-hero-system { position: relative; padding: 28px 0 24px; }
.academy-hero-system::before { content: ''; position: absolute; inset: 4% -5% 0 12%; pointer-events: none; border: 1px solid rgba(255,107,26,.16); background: rgba(255,107,26,.025); transform: translate(20px,18px); }
.academy-hero-window { position: relative; z-index: 1; overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 7px; background: #0d0d0d; box-shadow: 0 38px 90px -42px rgba(255,107,26,.65), 0 28px 70px -45px #000; }
.academy-hero-windowbar { height: 38px; padding: 0 13px; border-bottom: 1px solid rgba(255,255,255,.08); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.academy-hero-windowbar > div { display: flex; gap: 5px; }
.academy-hero-windowbar > div span { width: 6px; height: 6px; border-radius: 50%; background: #3b3b3b; }
.academy-hero-windowbar > div span:first-child { background: #ff6b1a; }
.academy-hero-windowbar strong, .academy-hero-windowbar small { font-family: 'JetBrains Mono', monospace; font-size: .55rem; letter-spacing: .08em; color: #6d6d6a; }
.academy-hero-windowbar small { justify-self: end; color: #5ea876; }
.academy-hero-workspace { display: grid; grid-template-columns: 46px 1fr; }
.academy-hero-workspace > aside { padding: 17px 0; border-right: 1px solid rgba(255,255,255,.07); display: flex; flex-direction: column; align-items: center; gap: 17px; }
.academy-hero-workspace > aside b { width: 26px; height: 26px; display: grid; place-items: center; background: #ff6b1a; color: #080808; font-family: 'Bebas Neue', sans-serif; font-weight: 400; }
.academy-hero-workspace > aside span { color: #4e4e4b; font-family: 'JetBrains Mono', monospace; font-size: .55rem; }
.academy-hero-workspace > aside span.is-active { color: #ff7c34; }
.academy-hero-dashboard { min-width: 0; padding: 20px; }
.academy-hero-dashboard > header { display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.academy-hero-dashboard > header div { display: flex; flex-direction: column; gap: 4px; }
.academy-hero-dashboard > header small { color: #696966; font-family: 'JetBrains Mono', monospace; font-size: .55rem; letter-spacing: .08em; text-transform: uppercase; }
.academy-hero-dashboard > header strong { color: #ededE8; font-size: .83rem; }
.academy-hero-dashboard > header > span { color: #ff7c34; font-family: 'Bebas Neue', sans-serif; font-size: 1.6rem; }
.academy-hero-progress { height: 3px; margin: 13px 0 16px; overflow: hidden; background: #242424; }
.academy-hero-progress i { display: block; width: 42%; height: 100%; background: #ff6b1a; transform-origin: left; animation: academyHeroProgress 1.2s cubic-bezier(.2,.75,.25,1) both; }
@keyframes academyHeroProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.academy-hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 10px; }
.academy-hero-grid figure { position: relative; min-height: 238px; margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.09); background: #151515; }
.academy-hero-grid figure img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .88; }
.academy-hero-grid figcaption { position: absolute; inset: auto 0 0; padding: 40px 14px 13px; background: linear-gradient(transparent,rgba(0,0,0,.94)); display: flex; flex-direction: column; gap: 4px; }
.academy-hero-grid figcaption span { color: #ff7c34; font-family: 'JetBrains Mono', monospace; font-size: .5rem; letter-spacing: .08em; text-transform: uppercase; }
.academy-hero-grid figcaption strong { color: #f1f1ed; font-size: .72rem; line-height: 1.3; }
.academy-hero-today { min-width: 0; padding: 15px 13px; border: 1px solid rgba(255,255,255,.09); background: #141414; }
.academy-hero-today small { color: #ff7c34; font-family: 'JetBrains Mono', monospace; font-size: .5rem; letter-spacing: .08em; text-transform: uppercase; }
.academy-hero-today > strong { display: block; margin: 10px 0 14px; color: #e7e7e2; font-size: .72rem; line-height: 1.4; }
.academy-hero-today ul { margin: 0; padding: 0; list-style: none; }
.academy-hero-today li { position: relative; padding: 9px 0 9px 17px; border-top: 1px solid rgba(255,255,255,.07); color: #777; font-size: .6rem; line-height: 1.35; }
.academy-hero-today li::before { content: ''; position: absolute; left: 0; top: 11px; width: 7px; height: 7px; border: 1px solid #555; }
.academy-hero-today li.is-done { color: #aaa; }
.academy-hero-today li.is-done::before { border-color: #ff6b1a; background: #ff6b1a; box-shadow: inset 0 0 0 2px #141414; }
.academy-hero-tools { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 10px; border: 1px solid rgba(255,255,255,.08); }
.academy-hero-tools span { min-width: 0; padding: 10px 8px; border-right: 1px solid rgba(255,255,255,.07); color: #767673; font-size: .55rem; white-space: nowrap; }
.academy-hero-tools span:last-child { border-right: 0; }
.academy-hero-tools b { margin-right: 4px; color: #ff7b31; font-family: 'JetBrains Mono', monospace; font-size: .5rem; }
.academy-hero-signal { position: relative; z-index: 2; width: calc(100% - 44px); margin: -1px auto 0; padding: 12px 14px; border: 1px solid rgba(255,255,255,.12); border-top-color: rgba(255,107,26,.35); background: #101010; display: flex; align-items: center; justify-content: center; gap: 9px; }
.academy-hero-signal span { color: #a3a39f; font-family: 'JetBrains Mono', monospace; font-size: .55rem; text-transform: uppercase; }
.academy-hero-signal i { width: 20px; height: 1px; background: #ff6b1a; }

.academy-heading-left { max-width: 760px; margin-left: 0; text-align: left; }
.academy-heading-left > p:last-child { margin-left: 0; }
.academy-diagnostic { position: relative; overflow: hidden; background: #080808 !important; }
.academy-diagnostic::before { content: 'DIAGNOSTIKA'; position: absolute; right: -14px; top: 52px; color: rgba(255,255,255,.025); font-family: 'Bebas Neue', sans-serif; font-size: clamp(5rem,13vw,12rem); line-height: 1; pointer-events: none; }
.academy-diagnostic-layout { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; min-height: 470px; border-block: 1px solid var(--academy-line); }
.academy-diagnostic-tabs { border-right: 1px solid var(--academy-line); display: flex; flex-direction: column; }
.academy-diagnostic-tabs button { flex: 1; min-height: 94px; padding: 19px 22px; border: 0; border-bottom: 1px solid rgba(255,255,255,.08); background: transparent; color: #7d7d7a; font: inherit; text-align: left; cursor: pointer; display: grid; grid-template-columns: 34px 1fr; gap: 13px; align-items: center; }
.academy-diagnostic-tabs button:last-child { border-bottom: 0; }
.academy-diagnostic-tabs button span { color: #565653; font-family: 'JetBrains Mono', monospace; font-size: .62rem; }
.academy-diagnostic-tabs button strong { font-size: .91rem; line-height: 1.35; }
.academy-diagnostic-tabs button:hover { color: #d8d8d4; background: rgba(255,255,255,.018); }
.academy-diagnostic-tabs button.is-active { color: #f0f0eb; background: rgba(255,107,26,.07); box-shadow: inset 3px 0 #ff6b1a; }
.academy-diagnostic-tabs button.is-active span { color: #ff7b31; }
.academy-diagnostic-panels { min-width: 0; display: grid; align-items: stretch; }
.academy-diagnostic-panels article { grid-area: 1/1; min-width: 0; padding: clamp(32px,5vw,70px); background: linear-gradient(135deg,rgba(255,255,255,.025),transparent 58%); }
.academy-diagnostic-panels article[hidden] { display: none; }
.academy-diag-index { color: #ff7b31; font-family: 'JetBrains Mono', monospace; font-size: .64rem; letter-spacing: .12em; }
.academy-diagnostic-panels h3 { max-width: 17ch; margin: 20px 0; font-family: 'Bebas Neue', sans-serif; font-size: clamp(2.2rem,4.4vw,4rem); font-weight: 400; line-height: 1; }
.academy-diagnostic-panels p { max-width: 600px; color: #999996; line-height: 1.75; }
.academy-diag-output { max-width: 600px; margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255,107,26,.35); display: flex; justify-content: space-between; gap: 28px; }
.academy-diag-output span { color: #686865; font-family: 'JetBrains Mono', monospace; font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; }
.academy-diag-output strong { max-width: 390px; color: #e6e6e1; font-size: .85rem; line-height: 1.45; text-align: right; }

.academy-roadmap { background: #0b0b0b !important; }
.academy-roadmap-track article { min-height: 315px; display: flex; flex-direction: column; }
.academy-roadmap-state { margin: -10px 0 22px; color: #4f4f4d; font-family: 'Bebas Neue', sans-serif; font-size: 2rem; line-height: 1; }
.academy-roadmap-output { display: block; margin-top: auto; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.09); color: #bbb; font-size: .72rem; line-height: 1.45; }

.academy-inside { background: #080808 !important; overflow: hidden; }
.academy-product { border: 1px solid rgba(255,255,255,.14); background: #0d0d0d; box-shadow: 0 50px 120px -80px rgba(255,107,26,.9); }
.academy-product-tabs { min-height: 54px; padding: 0 14px; border-bottom: 1px solid rgba(255,255,255,.09); display: flex; align-items: end; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.academy-product-tabs::-webkit-scrollbar { display: none; }
.academy-product-tabs button { flex: 0 0 auto; min-height: 53px; padding: 0 18px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #6e6e6b; font: 700 .75rem 'Inter', sans-serif; cursor: pointer; }
.academy-product-tabs button:hover { color: #c7c7c3; }
.academy-product-tabs button.is-active { border-bottom-color: #ff6b1a; color: #f1f1ed; }
.academy-product-screen { display: grid; grid-template-columns: 64px 1fr; min-height: 570px; }
.academy-product-rail { padding: 24px 0; border-right: 1px solid rgba(255,255,255,.08); display: flex; flex-direction: column; align-items: center; gap: 22px; }
.academy-product-rail b { width: 30px; height: 30px; display: grid; place-items: center; background: #ff6b1a; color: #080808; font-family: 'Bebas Neue', sans-serif; font-weight: 400; }
.academy-product-rail i { width: 24px; height: 1px; background: rgba(255,255,255,.11); }
.academy-product-rail span { color: #4d4d4a; font-family: 'JetBrains Mono', monospace; font-size: .58rem; }
.academy-product-panels { min-width: 0; display: grid; }
.academy-product-panels > section { grid-area: 1/1; min-width: 0; padding: clamp(24px,4vw,48px); }
.academy-product-panels > section[hidden] { display: none; }
.academy-product-panels header { min-width: 0; display: flex; justify-content: space-between; align-items: start; gap: 24px; margin-bottom: 30px; }
.academy-product-panels header small { color: #ff7b31; font-family: 'JetBrains Mono', monospace; font-size: .62rem; letter-spacing: .1em; }
.academy-product-panels header h3 { max-width: 650px; margin: 9px 0 0; font-family: 'Bebas Neue', sans-serif; font-size: clamp(2rem,4vw,3.6rem); font-weight: 400; line-height: 1; }
.academy-product-panels header > strong { flex: 0 0 auto; color: #ff7b31; font-family: 'Bebas Neue', sans-serif; font-size: 2.25rem; font-weight: 400; }
.academy-plan-progress { height: 4px; margin: -14px 0 26px; background: #262626; }
.academy-plan-progress i { display: block; width: 42%; height: 100%; background: #ff6b1a; }
.academy-plan-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 14px; }
.academy-plan-layout figure { position: relative; min-height: 310px; margin: 0; overflow: hidden; }
.academy-plan-layout figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.academy-plan-layout figcaption { position: absolute; inset: auto 0 0; padding: 55px 22px 20px; background: linear-gradient(transparent,rgba(0,0,0,.94)); display: flex; flex-direction: column; gap: 5px; }
.academy-plan-layout figcaption span { color: #ff7b31; font-family: 'JetBrains Mono', monospace; font-size: .58rem; text-transform: uppercase; }
.academy-plan-layout figcaption strong { font-size: .95rem; }
.academy-plan-tasks { padding: 22px; border: 1px solid rgba(255,255,255,.1); background: #131313; }
.academy-plan-tasks > small { color: #686865; font-family: 'JetBrains Mono', monospace; font-size: .58rem; letter-spacing: .1em; }
.academy-plan-tasks p { margin: 0; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.08); color: #aaa; font-size: .78rem; display: flex; gap: 11px; align-items: center; }
.academy-plan-tasks p i { width: 13px; height: 13px; border: 1px solid #575754; }
.academy-plan-tasks p.is-done { color: #686865; text-decoration: line-through; }
.academy-plan-tasks p.is-done i { border-color: #ff6b1a; background: #ff6b1a; box-shadow: inset 0 0 0 3px #131313; }
.academy-plan-tasks > span { display: block; margin-top: 22px; color: #ff7b31; font-size: .67rem; }
.academy-product-coursegrid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 12px; }
.academy-product-coursegrid figure { min-width: 0; margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.09); background: #151515; }
.academy-product-coursegrid figure:first-child { transform: translateY(-8px); }
.academy-product-coursegrid img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.academy-product-coursegrid figcaption { padding: 15px; color: #d2d2ce; font-size: .78rem; }
.academy-ai-conversation { max-width: 780px; margin: 8px auto 0; display: flex; flex-direction: column; gap: 14px; }
.academy-ai-conversation .is-question { align-self: flex-end; max-width: 72%; padding: 14px 18px; border: 1px solid rgba(255,255,255,.11); background: #171717; color: #d7d7d2; font-size: .84rem; line-height: 1.55; }
.academy-ai-conversation .is-answer { max-width: 84%; padding: 22px; border-left: 2px solid #ff6b1a; background: rgba(255,107,26,.06); }
.academy-ai-conversation .is-answer span { color: #ff7b31; font-family: 'JetBrains Mono', monospace; font-size: .58rem; letter-spacing: .1em; }
.academy-ai-conversation p { color: #a1a19e; font-size: .84rem; line-height: 1.65; }
.academy-ai-conversation ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.academy-ai-conversation li { padding: 11px; border: 1px solid rgba(255,255,255,.09); color: #aaa; font-size: .7rem; }
.academy-product-community header > img { width: 126px; height: auto; }
.academy-platform-visual { display: block; width: min(1520px, calc(100vw - 48px)); margin-inline: 50%; padding: 0; border: 1px solid rgba(255,255,255,.1); border-radius: 8px; background: transparent; overflow: hidden; cursor: zoom-in; transform: translateX(-50%); transition: border-color .2s ease; }
.academy-platform-visual:hover { border-color: rgba(255,107,26,.48); }
.academy-platform-visual:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
.academy-platform-visual img { display: block; width: 100%; height: auto; }
.academy-community-feed { max-width: 760px; border-top: 1px solid rgba(255,255,255,.1); }
.academy-community-feed article { padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.1); display: grid; grid-template-columns: 44px 1fr; gap: 15px; }
.academy-community-feed article > img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.academy-community-feed strong { color: #dfdfda; font-size: .78rem; }
.academy-community-feed p { margin: 6px 0; color: #9a9a97; font-size: .82rem; line-height: 1.5; }
.academy-community-feed span { color: #ff7b31; font-size: .65rem; }

.academy-sprint { background: #0c0c0c !important; }
.academy-sprint-track { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); }
.academy-sprint-track article { position: relative; min-height: 280px; padding: 31px 26px; border-right: 1px solid rgba(255,255,255,.1); }
.academy-sprint-track article:last-child { border-right: 0; }
.academy-sprint-track article::before { content: ''; position: absolute; left: 26px; top: -4px; width: 48px; height: 7px; background: #ff6b1a; }
.academy-sprint-track span { color: #ff7b31; font-family: 'JetBrains Mono', monospace; font-size: .62rem; letter-spacing: .1em; }
.academy-sprint-track strong { display: block; margin: 48px 0 14px; font-family: 'Bebas Neue', sans-serif; font-size: 1.8rem; font-weight: 400; line-height: 1.05; }
.academy-sprint-track p { margin: 0; color: #858582; font-size: .8rem; line-height: 1.65; }
.academy-mid-cta { padding: 30px 0 0; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.academy-mid-cta p { max-width: 610px; margin: 0; color: #b8b8b4; font-size: .92rem; line-height: 1.6; }

.academy-content { background: #080808 !important; }
.academy-course-card { border-radius: 0; }
.academy-course-card::before { content: ''; position: absolute; z-index: 2; top: 16px; right: 16px; width: 32px; height: 32px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: rgba(0,0,0,.38); backdrop-filter: blur(6px); }
.academy-course-card::after { pointer-events: none; }
.academy-course-card > div { z-index: 3; }
.academy-review-tag { display: inline-block; margin-top: 24px; padding: 7px 9px; border: 1px solid rgba(255,107,26,.28); color: #ff7b31; font-family: 'JetBrains Mono', monospace; font-size: .54rem; letter-spacing: .08em; }
.academy-review-featured blockquote { margin-top: 14px; }

.academy-offer { background: #0b0b0b !important; }
.academy-offer-groups { margin-top: 34px; border-top: 1px solid rgba(255,255,255,.1); }
.academy-offer-groups > div { padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.08); display: grid; grid-template-columns: 138px 1fr 1.05fr; gap: 20px; align-items: center; }
.academy-offer-groups span { color: #ff7b31; font-family: 'JetBrains Mono', monospace; font-size: .55rem; letter-spacing: .08em; }
.academy-offer-groups strong { color: #d9d9d5; font-size: .8rem; line-height: 1.45; }
.academy-offer-groups small { color: #777774; font-size: .7rem; line-height: 1.5; }

.academy-scroll-progress { position: absolute; left: 0; bottom: -1px; width: 0; height: 2px; background: #ff6b1a; pointer-events: none; }
.academy-motion-ready [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.72,.25,1); }
.academy-motion-ready [data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .academy-sale-page .hero4-inner { grid-template-columns: 1fr .92fr; gap: 32px; }
  .academy-hero-tools span { white-space: normal; }
  .academy-diagnostic-layout { grid-template-columns: .9fr 1.1fr; }
  .academy-offer-groups > div { grid-template-columns: 120px 1fr; }
  .academy-offer-groups small { grid-column: 2; }
}

@media (max-width: 900px) {
  .academy-sale-page .hero4-inner { grid-template-columns: 1fr; padding-top: 26px; }
  .academy-sale-page .hero4-copy { max-width: 720px; }
  .academy-sale-page .hero4-visual.academy-hero-system { justify-self: center; max-width: 680px; margin-top: 10px; }
  .academy-diagnostic-layout { grid-template-columns: 1fr; }
  .academy-diagnostic-tabs { border-right: 0; border-bottom: 1px solid var(--academy-line); display: grid; grid-template-columns: 1fr 1fr; }
  .academy-diagnostic-tabs button { min-height: 88px; border-right: 1px solid rgba(255,255,255,.08); }
  .academy-diagnostic-tabs button.is-active { box-shadow: inset 0 3px #ff6b1a; }
  .academy-sprint-track { grid-template-columns: 1fr 1fr; }
  .academy-sprint-track article:nth-child(2) { border-right: 0; }
  .academy-sprint-track article:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.1); }
}

@media (max-width: 760px) {
  .academy-hero-system { padding-top: 12px; }
  .academy-platform-visual { width: 100vw; border-right: 0; border-left: 0; border-radius: 0; }
  .academy-hero-dashboard { padding: 15px; }
  .academy-hero-grid { grid-template-columns: 1fr; }
  .academy-hero-grid figure { min-height: min(55vw,330px); }
  .academy-hero-today { display: none; }
  .academy-hero-tools span { padding: 9px 6px; font-size: .5rem; }
  .academy-hero-signal { width: calc(100% - 24px); gap: 6px; }
  .academy-diagnostic-tabs { grid-template-columns: 1fr; }
  .academy-diagnostic-tabs button { min-height: 76px; border-right: 0; }
  .academy-diagnostic-panels article { padding: 32px 22px; }
  .academy-diag-output { flex-direction: column; gap: 9px; }
  .academy-diag-output strong { text-align: left; }
  .academy-product-screen { grid-template-columns: 1fr; min-height: 0; }
  .academy-product-rail { display: none; }
  .academy-product-tabs { padding-inline: 4px; }
  .academy-product-tabs button { padding-inline: 14px; }
  .academy-product-panels > section { padding: 24px 18px; }
  .academy-product-panels header { flex-direction: column; gap: 10px; }
  .academy-product-panels header > strong { font-size: 1.75rem; }
  .academy-plan-layout { grid-template-columns: 1fr; }
  .academy-plan-layout figure { min-height: min(52vw,300px); }
  .academy-product-coursegrid { grid-template-columns: 1fr; }
  .academy-product-coursegrid figure:first-child { transform: none; }
  .academy-ai-conversation .is-question, .academy-ai-conversation .is-answer { max-width: 100%; }
  .academy-ai-conversation ul { grid-template-columns: 1fr; }
  .academy-sprint-track { grid-template-columns: 1fr; }
  .academy-sprint-track article { min-height: 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .academy-sprint-track article:nth-child(2) { border-right: 0; }
  .academy-sprint-track article:last-child { border-bottom: 0; }
  .academy-sprint-track strong { margin-top: 34px; }
  .academy-mid-cta { align-items: flex-start; flex-direction: column; }
  .academy-offer-groups > div { grid-template-columns: 1fr; gap: 7px; }
  .academy-offer-groups small { grid-column: auto; }
}

@media (max-width: 420px) {
  .academy-hero-workspace { grid-template-columns: 34px 1fr; }
  .academy-hero-workspace > aside { gap: 13px; }
  .academy-hero-workspace > aside b { width: 22px; height: 22px; }
  .academy-hero-dashboard { padding: 12px; }
  .academy-hero-dashboard > header strong { font-size: .72rem; }
  .academy-hero-dashboard > header > span { font-size: 1.3rem; }
  .academy-hero-grid figure { min-height: 162px; }
  .academy-hero-tools { grid-template-columns: 1fr; }
  .academy-hero-tools span { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.07); }
  .academy-hero-tools span:last-child { border-bottom: 0; }
  .academy-hero-signal { flex-wrap: wrap; }
  .academy-hero-signal i { width: 10px; }
  .academy-product-tabs button { min-height: 49px; padding-inline: 11px; font-size: .68rem; }
  .academy-product-panels > section { padding: 22px 14px; }
  .academy-product-community header > img { width: 102px; }
}

@media (prefers-reduced-motion: reduce) {
  .academy-hero-progress i { animation: none; }
  .academy-motion-ready [data-reveal] { opacity: 1; transform: none; }
}

/* Academy free-first conversion hierarchy */
.academy-sale-top {
  justify-content: space-between;
  gap: 20px;
  background: rgba(8,8,8,.94);
  border-bottom-color: rgba(255,255,255,.09);
}
.academy-sale-top .header-spacer { display: none; }
.academy-sale-top .academy-top-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 19px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 7px;
  background: rgba(255,255,255,.075);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  backdrop-filter: blur(16px) saturate(130%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.11), 0 10px 28px rgba(0,0,0,.22);
  color: #f4f4f0;
  font-size: .78rem;
  font-weight: 750;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.academy-sale-top .academy-top-cta:hover {
  border-color: rgba(255,255,255,.3);
  background: rgba(255,255,255,.12);
  color: #fff;
}
.academy-sale-page .academy-free-note { margin-top: 14px; color: #aaa9a5; }
.academy-full-price-link {
  display: inline-block;
  margin-top: 8px;
  color: #666663;
  font-size: .72rem;
  text-decoration: none;
}
.academy-full-price-link:hover { color: #aaa9a5; }
.academy-sprint-free-cta { align-self: flex-start; margin-top: 4px; padding-inline: 22px; font-size: .86rem; }

@media (max-width: 760px) {
  .academy-sale-top { min-height: var(--header-height); height: auto; padding-block: 8px; gap: 12px; }
  .academy-sale-top .brand { min-width: 0; }
  .academy-sale-top .brand-name { width: clamp(116px, 38vw, 142px); }
  .academy-sale-top .academy-top-cta { margin-left: auto; min-height: 40px; padding-inline: 15px; font-size: .72rem; }
}

@media (max-width: 360px) {
  .academy-sale-top { padding-inline: 12px; }
  .academy-sale-top .brand-name { width: 104px; }
  .academy-sale-top .academy-top-cta { padding-inline: 12px; font-size: .72rem; }
}

/* Academy visual simplification: less copy, more immediate meaning */
.academy-roadmap .academy-sale-heading { margin-bottom: 38px; }
.academy-story-flow { display: grid; grid-template-columns: 1fr 34px 1fr 34px 1fr 34px 1fr; align-items: center; }
.academy-story-flow > i { color: #51514e; font: 400 1.2rem 'JetBrains Mono', monospace; text-align: center; }
.academy-story-flow article { position: relative; min-width: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.11); border-radius: 6px; background: #101010; }
.academy-story-flow article > span { position: absolute; z-index: 2; top: 12px; right: 12px; width: 27px; height: 27px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; background: rgba(8,8,8,.72); color: #aaa; font: 700 .55rem 'JetBrains Mono', monospace; display: grid; place-items: center; }
.academy-story-flow article > div:last-child { position: relative; padding: 18px; }
.academy-story-flow small { color: #858582; font: 700 .55rem 'JetBrains Mono', monospace; letter-spacing: .12em; }
.academy-story-flow h3 { margin: 7px 0 16px; font: 400 clamp(1.45rem,2.3vw,2rem)/1 'Bebas Neue', sans-serif; }
.academy-story-flow article > div:last-child strong { display: inline-block; padding: 6px 9px; border-radius: 3px; background: rgba(255,255,255,.06); color: #bdbdb8; font-size: .65rem; }
.academy-story-art { position: relative; height: 190px; overflow: hidden; background-color: #151515; background-image: linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px); background-size: 22px 22px; }
.academy-story-art::after { content: ''; position: absolute; inset: auto 0 0; height: 42%; background: linear-gradient(transparent,#101010); }
.academy-story-art i, .academy-story-art b, .academy-story-art em { position: absolute; display: block; font-style: normal; }
.academy-story-art.is-craft i { left: 50%; top: 50%; width: 82px; height: 82px; border: 12px solid rgba(255,119,48,.22); border-radius: 50%; transform: translate(-50%,-50%); box-shadow: 0 0 0 1px #ff7730, inset 0 0 0 1px #ff7730; }
.academy-story-art.is-craft b { inset: 26px; border: 1px solid rgba(255,255,255,.25); }
.academy-story-art.is-craft b::before, .academy-story-art.is-craft b::after { content: ''; position: absolute; background: rgba(255,255,255,.22); }
.academy-story-art.is-craft b::before { left: 50%; top: -12px; width: 1px; height: calc(100% + 24px); }
.academy-story-art.is-craft b::after { top: 50%; left: -12px; height: 1px; width: calc(100% + 24px); }
.academy-story-art.is-craft em { left: 50%; top: 50%; width: 14px; height: 14px; border-radius: 50%; background: #ff7730; transform: translate(-50%,-50%); box-shadow: 0 0 24px rgba(255,107,26,.7); }
.academy-story-art.is-offer i { left: 50%; top: 49%; width: 96px; height: 120px; border: 1px solid rgba(233,196,106,.62); background: #1a1914; transform: translate(-50%,-50%) rotate(-4deg); box-shadow: 12px 12px 0 -1px #101010,12px 12px 0 rgba(233,196,106,.25); }
.academy-story-art.is-offer b { left: calc(50% - 31px); top: 64px; width: 62px; height: 2px; background: #e9c46a; box-shadow: 0 17px #5e5a4b,0 34px #5e5a4b; transform: rotate(-4deg); }
.academy-story-art.is-offer em { left: calc(50% - 29px); top: 124px; width: 48px; height: 18px; border-radius: 2px; background: rgba(233,196,106,.18); border: 1px solid #e9c46a; transform: rotate(-4deg); }
.academy-story-art.is-clients i, .academy-story-art.is-clients b, .academy-story-art.is-clients em { top: 70px; width: 48px; height: 48px; border: 1px solid #62b5a7; border-radius: 50%; background: #12201e; box-shadow: inset 0 -15px rgba(98,181,167,.1); }
.academy-story-art.is-clients i { left: calc(50% - 78px); }
.academy-story-art.is-clients b { left: calc(50% - 24px); top: 49px; width: 58px; height: 58px; z-index: 1; }
.academy-story-art.is-clients em { left: calc(50% + 36px); }
.academy-story-art.is-clients::before { content: ''; position: absolute; left: 50%; top: 119px; width: 154px; height: 38px; border: 1px solid rgba(98,181,167,.4); border-radius: 50% 50% 0 0; transform: translateX(-50%); }
.academy-story-art.is-system i, .academy-story-art.is-system b, .academy-story-art.is-system em { width: 35px; height: 35px; border: 1px solid #7e8df6; border-radius: 5px; background: #15182a; }
.academy-story-art.is-system i { left: calc(50% - 67px); top: 47px; }
.academy-story-art.is-system b { left: calc(50% + 32px); top: 47px; }
.academy-story-art.is-system em { left: calc(50% - 17px); top: 118px; }
.academy-story-art.is-system::before { content: ''; position: absolute; left: 50%; top: 65px; width: 100px; height: 72px; border-left: 1px solid rgba(126,141,246,.65); border-right: 1px solid rgba(126,141,246,.65); border-bottom: 1px solid rgba(126,141,246,.65); transform: translateX(-50%); }
.academy-story-note { margin: 28px 0 0; color: #858582; font-size: .86rem; text-align: center; }
.academy-story-note b { color: #efefea; }

.academy-sprint { background: #0b0b0b !important; }
.academy-sprint-visual { display: grid; grid-template-columns: .88fr 1.12fr; min-height: 590px; border-block: 1px solid rgba(255,255,255,.12); }
.academy-sprint-visual > figure { position: relative; min-width: 0; margin: 0; overflow: hidden; }
.academy-sprint-visual > figure::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,transparent 52%,rgba(11,11,11,.88)),linear-gradient(0deg,rgba(0,0,0,.7),transparent 42%); pointer-events: none; }
.academy-sprint-visual > figure img { width: 100%; height: 100%; object-fit: cover; object-position: 50% center; display: block; filter: saturate(.82) contrast(1.04); }
.academy-sprint-visual figcaption { position: absolute; z-index: 1; left: 28px; bottom: 28px; display: flex; align-items: end; gap: 10px; }
.academy-sprint-visual figcaption span { color: #ff6b1a; font: 400 6rem/.72 'Bebas Neue',sans-serif; }
.academy-sprint-visual figcaption strong { max-width: 80px; color: #f3f3ee; font: 400 1.65rem/.9 'Bebas Neue',sans-serif; text-transform: uppercase; }
.academy-sprint-map { min-width: 0; padding: clamp(36px,5vw,72px); display: flex; flex-direction: column; justify-content: center; }
.academy-sprint-copy h2 { max-width: 9ch; margin: 0; font: 400 clamp(3rem,5vw,5rem)/.95 'Bebas Neue',sans-serif; }
.academy-sprint-copy > p:last-child { max-width: 450px; margin: 18px 0 0; color: #969693; line-height: 1.65; }
.academy-sprint-map ol { position: relative; margin: 42px 0 32px; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4,1fr); }
.academy-sprint-map ol::before { content: ''; position: absolute; left: 8%; right: 8%; top: 9px; height: 1px; background: rgba(255,255,255,.16); }
.academy-sprint-map li { position: relative; min-width: 0; padding: 32px 12px 0 0; }
.academy-sprint-map li::before { content: ''; position: absolute; z-index: 1; left: 0; top: 3px; width: 13px; height: 13px; border: 1px solid #666; border-radius: 50%; background: #0b0b0b; }
.academy-sprint-map li.is-current::before { border-color: #ff6b1a; background: #ff6b1a; box-shadow: 0 0 0 6px rgba(255,107,26,.12); }
.academy-sprint-map li span { display: block; color: #ff7b31; font: 700 .56rem 'JetBrains Mono',monospace; letter-spacing: .08em; }
.academy-sprint-map li strong { display: block; max-width: 110px; margin-top: 8px; color: #d5d5d0; font-size: .75rem; line-height: 1.4; }
.academy-sprint-map > .hero4-ghost { align-self: flex-start; }
.academy-mentor h2 { max-width: 12ch; }
.academy-mentor-grid > div > p:not(.academy-sale-eyebrow) { max-width: 650px; }

@media (max-width: 980px) {
  .academy-story-flow { grid-template-columns: 1fr 22px 1fr 22px 1fr 22px 1fr; }
  .academy-story-art { height: 160px; }
  .academy-sprint-visual { grid-template-columns: .8fr 1.2fr; }
  .academy-sprint-map { padding: 38px; }
  .academy-sprint-map ol { grid-template-columns: 1fr 1fr; gap: 22px 12px; }
  .academy-sprint-map ol::before { display: none; }
}

@media (max-width: 760px) {
  .academy-story-flow { grid-template-columns: 1fr 1fr; gap: 12px; }
  .academy-story-flow > i { display: none; }
  .academy-story-art { height: min(42vw,180px); }
  .academy-story-flow article > div:last-child { padding: 15px; }
  .academy-story-flow h3 { font-size: clamp(1.25rem,6vw,1.75rem); }
  .academy-story-note { text-align: left; }
  .academy-sprint-visual { grid-template-columns: 1fr; min-height: 0; }
  .academy-sprint-visual > figure { min-height: min(62vw,390px); }
  .academy-sprint-visual > figure::after { background: linear-gradient(0deg,#0b0b0b 0,transparent 52%); }
  .academy-sprint-map { padding: 32px 0 0; }
  .academy-sprint-copy h2 { font-size: clamp(2.8rem,13vw,4rem); }
  .academy-sprint-map ol { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
}

@media (max-width: 360px) {
  .academy-story-art { height: 132px; }
  .academy-story-flow article > span { top: 8px; right: 8px; width: 24px; height: 24px; }
  .academy-story-flow small { font-size: .48rem; }
  .academy-story-flow h3 { margin-bottom: 11px; font-size: 1.15rem; }
  .academy-story-flow article > div:last-child strong { font-size: .56rem; }
  .academy-sprint-map ol { grid-template-columns: 1fr; }
}

.academy-sprint-visual > figure { display: grid; grid-template-rows: minmax(0,1fr) auto; background: #101010; }
.academy-sprint-visual > figure::after { bottom: 74px; background: linear-gradient(90deg,transparent 60%,rgba(11,11,11,.72)); }
.academy-sprint-visual > figure img { min-height: 0; }
.academy-sprint-visual figcaption { position: static; padding: 16px 20px; border-top: 1px solid rgba(255,255,255,.1); background: #111; align-items: center; }
.academy-sprint-visual figcaption span { font-size: 3.6rem; }
.academy-sprint-visual figcaption strong { font-size: 1.2rem; }

.academy-course-showcase { align-items: start; }
.academy-course-card,
.academy-course-card.is-wide { min-height: 0; display: grid; grid-template-rows: auto auto; overflow: hidden; background: #101010; }
.academy-course-card::before,
.academy-course-card::after { display: none; }
.academy-course-card img { height: auto; aspect-ratio: 16/9; object-fit: cover; object-position: center; }
.academy-course-card > div { position: static; inset: auto; padding: 18px 20px 20px; border-top: 1px solid rgba(255,255,255,.08); background: #101010; }
.academy-course-card span { font-size: .56rem; }
.academy-course-card h3 { margin-top: 7px; font-size: clamp(1.2rem,2vw,1.6rem); }
.academy-course-card:hover img { transform: none; filter: brightness(1.06); }

/* Partners: full sales section and compact global footer strip */
.academy-partners { position: relative; overflow: hidden; background: #0a0a0a !important; }
.academy-partners::before {
  content: 'PARTNERS'; position: absolute; right: -18px; top: 28px; pointer-events: none;
  color: rgba(255,255,255,.025); font: 400 9rem/1 'Bebas Neue',sans-serif;
}
.academy-partners-inner { position: relative; display: grid; grid-template-columns: minmax(280px,.78fr) minmax(0,1.22fr); gap: clamp(42px,7vw,100px); align-items: center; }
.academy-partners-copy h2 { margin: 0; color: #f2f2ed; font: 400 4.8rem/.9 'Bebas Neue',sans-serif; letter-spacing: 0; }
.academy-partners-copy h2 span { color: var(--orange); }
.academy-partners-copy > p:last-child { max-width: 560px; margin: 24px 0 0; color: #92928f; font-size: 1rem; line-height: 1.7; }
.academy-partners-copy strong { color: #e9e9e4; }
.academy-partner-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(34px,5vw,66px) clamp(36px,6vw,84px); align-items: center; }
.academy-partner-grid a {
  min-width: 0; min-height: 72px; display: grid; place-items: center; padding: 8px;
  opacity: .78; transition: opacity .18s ease, transform .18s ease;
}
.academy-partner-grid a:hover,
.academy-partner-grid a:focus-visible { opacity: 1; transform: translateY(-2px); }
.academy-partner-grid a:focus-visible { outline: 2px solid var(--orange); outline-offset: 6px; }
.academy-partner-grid img { display: block; width: auto; max-width: min(100%,200px); height: auto; max-height: 54px; object-fit: contain; }
.academy-partner-grid a:nth-child(1) img,
.academy-partner-grid a:nth-child(2) img,
.academy-partner-grid a:nth-child(4) img { filter: grayscale(1) brightness(0) invert(1); }
.academy-partner-grid a:nth-child(3) img { max-height: 66px; filter: drop-shadow(0 0 14px rgba(255,255,255,.08)); }

.footer-partners { margin-top: 34px; padding: 14px 0; border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); display: flex; gap: clamp(18px,3vw,34px); align-items: center; }
.footer-partners > span { color: var(--text-mute); font: 700 9px/1 'JetBrains Mono',monospace; letter-spacing: .12em; text-transform: uppercase; }
.footer-partner-logos { min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: clamp(18px,3vw,38px); }
.footer-partner-logos a { min-width: 0; height: 34px; display: grid; place-items: center; padding: 2px; opacity: .7; transition: opacity .16s ease, transform .16s ease; }
.footer-partner-logos a:hover,
.footer-partner-logos a:focus-visible { opacity: 1; transform: translateY(-1px); }
.footer-partner-logos img { display: block; width: auto; max-width: 118px; height: auto; max-height: 24px; object-fit: contain; }
.footer-partner-logos a:nth-child(1) img,
.footer-partner-logos a:nth-child(2) img,
.footer-partner-logos a:nth-child(4) img { filter: brightness(0) invert(1); }
.footer-partner-logos a:nth-child(3) img { max-width: 30px; max-height: 30px; }
.footer-partner-logos a:nth-child(4) img { max-width: 128px; }

.academy-sale-footer { display: block; width: min(1180px,calc(100% - 48px)); margin-inline: auto; }
.academy-sale-footer .footer-partners { margin-top: 0; }
.academy-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 28px; }

@media (max-width: 760px) {
  .academy-sprint-visual > figure { min-height: 0; grid-template-rows: minmax(220px,58vw) auto; }
  .academy-sprint-visual > figure::after { bottom: 66px; background: linear-gradient(0deg,rgba(0,0,0,.45),transparent 55%); }
  .academy-sprint-visual figcaption { padding: 13px 16px; }
  .academy-sprint-visual figcaption span { font-size: 3rem; }
  .academy-sprint-visual figcaption strong { font-size: 1rem; }
  .academy-course-card,
  .academy-course-card.is-wide { min-height: 0; }
  .academy-course-card > div { padding: 15px 16px 17px; }
  .academy-partners-inner { grid-template-columns: 1fr; gap: 34px; }
  .academy-partners-copy h2 { font-size: 3.7rem; }
  .academy-partner-grid { gap: 28px 24px; }
  .academy-partner-grid a { min-height: 58px; padding: 6px; }
  .academy-partner-grid img { max-width: min(100%,150px); max-height: 42px; }
  .footer-partners { align-items: flex-start; flex-direction: column; gap: 11px; }
  .footer-partner-logos { width: 100%; gap: 14px clamp(16px,6vw,28px); }
  .academy-footer-bottom { align-items: flex-start; flex-direction: column; }
  .academy-sale-footer { width: min(100% - 32px,1180px); }
}

@media (max-width: 360px) {
  .academy-lesson-tab { min-height: 64px; grid-template-columns: 24px minmax(0,1fr); gap: 9px; padding: 12px; }
  .academy-lesson-tab > span:last-child { gap: 0; }
  .academy-lesson-tab strong { display: none; }
  .academy-lesson-tab small { font-size: .52rem; }
  .academy-lesson-panel > div { padding: 22px 18px 24px; }
  .academy-lesson-panel h3 { font-size: 1.85rem; }
  .academy-partners-copy h2 { font-size: 3.2rem; }
  .academy-partner-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 16px; }
  .academy-partner-grid a { min-height: 48px; }
  .academy-partner-grid img { max-width: min(100%,124px); max-height: 36px; }
  .footer-partner-logos a { height: 32px; padding: 2px 0; }
  .footer-partner-logos img { max-width: 102px; max-height: 22px; }
  .footer-partner-logos a:nth-child(3) img { max-width: 28px; max-height: 28px; }
  .footer-partner-logos a:nth-child(4) img { max-width: 112px; }
}

/* ============================================================
   VALUE-FIRST ONBOARDING V2
   ============================================================ */
body.kenji-onboarding-active .sidebar,
body.kenji-onboarding-active .sidebar-overlay,
body.kenji-onboarding-active .header-actions,
body.kenji-onboarding-active .menu-toggle,
body.kenji-onboarding-active .home-upgrade,
body.kenji-onboarding-active .site-footer,
body.kenji-onboarding-active .cookie-notice { display: none !important; }
.kenji-gated .cookie-notice,
.kenji-gated .co-xptoast { display: none !important; }
body.kenji-onboarding-active .layout { display: block; }
body.kenji-onboarding-active .main { width: 100%; margin-left: 0 !important; padding-left: 0 !important; }
body.kenji-onboarding-active .main-inner { width: min(100%, 940px); max-width: none; margin: 0 auto; padding: clamp(26px,5vw,64px) clamp(18px,4vw,42px) 60px; }
body.kenji-onboarding-active .top-header { border-bottom-color: rgba(255,255,255,.08); }

.co-onb-v2 { width: 100%; max-width: 860px; margin: 0 auto; color: var(--text); }
.onb-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 17px; color: var(--text-mute); font-size: 12px; }
.onb-brand { color: var(--text-strong); font-family: 'JetBrains Mono',monospace; font-size: 12px; font-weight: 800; text-decoration: none; }
.onb-progress { height: 2px; overflow: hidden; background: rgba(255,255,255,.08); }
.onb-progress i { display: block; height: 100%; background: var(--orange); transition: width .35s cubic-bezier(.2,.8,.2,1); }
.onb-screen { min-height: 520px; padding: clamp(38px,6vw,66px) 0 26px; animation: onbScreenIn .32s ease both; }
@keyframes onbScreenIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.onb-step { margin: 0 0 12px; color: var(--orange); font: 700 10px/1.2 'JetBrains Mono',monospace; letter-spacing: .13em; }
.onb-screen h1 { max-width: 760px; margin: 0; color: var(--text-strong); font: 400 clamp(42px,7vw,68px)/.96 'Bebas Neue',sans-serif; letter-spacing: 0; text-wrap: balance; }
.onb-lead { max-width: 590px; margin: 15px 0 30px; color: var(--text-dim); font-size: 15px; line-height: 1.6; }

.onb-industry-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; }
.onb-choice { position: relative; min-width: 0; min-height: 108px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 15px; padding: 15px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg-card); color: var(--text-dim); font: 700 13px/1.3 'Inter',sans-serif; text-align: left; cursor: pointer; transition: border-color .18s,background .18s,color .18s,transform .18s; }
.onb-choice:hover { border-color: var(--text-mute); color: var(--text); transform: translateY(-1px); }
.onb-choice.active { border-color: var(--orange); background: rgba(255,107,26,.09); color: var(--text-strong); box-shadow: inset 0 -2px 0 var(--orange); }
.onb-choice .ui-icon { width: 24px; height: 24px; color: var(--text-mute); }
.onb-choice.active .ui-icon { color: var(--orange); }
.onb-choice b { position: absolute; top: 12px; right: 12px; width: 19px; height: 19px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 50%; color: transparent; font-size: 11px; }
.onb-choice.active b { border-color: var(--orange); background: var(--orange); color: #111; }
.onb-other { display: block; margin-top: 13px; }
.onb-other span { display: block; margin-bottom: 7px; color: var(--text-dim); font-size: 12px; font-weight: 700; }
.onb-other input { width: 100%; padding: 13px 14px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg-card); color: var(--text); font: inherit; }
.onb-other input:focus { outline: 2px solid rgba(255,107,26,.28); border-color: var(--orange); }

/* Krok 2 — level žebřík (fáze) */
.onb-levels { display: grid; gap: 10px; margin-top: 30px; }
.onb-level { display: grid; grid-template-columns: 30px minmax(0,1fr) 22px; align-items: center; gap: 16px; width: 100%; padding: 15px 18px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg-card); text-align: left; cursor: pointer; transition: border-color .18s, background .18s, transform .18s; }
.onb-level:hover { border-color: var(--text-mute); transform: translateY(-1px); }
.onb-level.active { border-color: var(--orange); background: rgba(255,107,26,.08); box-shadow: inset 0 0 0 1px var(--orange); }
.onb-level-bars { display: flex; align-items: flex-end; gap: 3px; height: 24px; }
.onb-level-bars i { width: 5px; border-radius: 2px; background: var(--border); transition: background .18s; }
.onb-level-bars i:nth-child(1) { height: 8px; } .onb-level-bars i:nth-child(2) { height: 13px; } .onb-level-bars i:nth-child(3) { height: 18px; } .onb-level-bars i:nth-child(4) { height: 24px; }
.onb-level-bars i.on { background: var(--orange); }
.onb-level-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.onb-level-main b { color: var(--text-mute); font: 700 9px/1 'JetBrains Mono',monospace; letter-spacing: .12em; }
.onb-level.active .onb-level-main b { color: var(--orange); }
.onb-level-main strong { color: var(--text-strong); font-size: 16px; }
.onb-level-main small { color: var(--text-mute); font-size: 12px; line-height: 1.4; }
.onb-level-check { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 50%; color: transparent; font-size: 12px; }
.onb-level.active .onb-level-check { border-color: var(--orange); background: var(--orange); color: #111; }

.onb-blocker-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; }
.onb-blocker-grid .onb-choice { min-height: 126px; }
.onb-income-v2 { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--border); }
.onb-income-head { display: flex; flex-direction: column; gap: 3px; margin-bottom: 14px; }
.onb-income-head strong { color: var(--text); font-size: 14px; }.onb-income-head span { color: var(--text-mute); font-size: 12px; }
.onb-income-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.onb-pill { min-height: 42px; padding: 0 18px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg-card); color: var(--text-dim); font: 600 13px/1 'Inter',sans-serif; cursor: pointer; transition: border-color .18s, background .18s, color .18s, transform .18s; }
.onb-pill:hover { border-color: var(--text-mute); color: var(--text); }
.onb-pill:active { transform: scale(.97); }
.onb-pill.active { border-color: var(--orange); background: rgba(255,107,26,.12); color: var(--text-strong); }

.onb-result-lead { max-width: 670px; margin: 16px 0 24px; color: var(--text-dim); font-size: clamp(18px,2.4vw,24px); line-height: 1.45; }.onb-result-lead strong { color: var(--orange); }
.onb-result-summary { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 22px; }.onb-result-summary span { padding: 6px 10px; border: 1px solid var(--border); border-radius: 99px; color: var(--text-dim); font-size: 11px; }
.onb-result-first { padding: 22px 0; border-top: 1px solid rgba(255,107,26,.45); border-bottom: 1px solid var(--border); }.onb-result-first > span { color: var(--orange); font: 700 9px/1 'JetBrains Mono',monospace; letter-spacing: .12em; }.onb-result-first h2 { margin: 9px 0 6px; color: var(--text-strong); font-size: clamp(22px,3vw,32px); }.onb-result-first p { max-width: 680px; margin: 0; color: var(--text-dim); font-size: 13px; line-height: 1.5; }.onb-result-first small { display: block; margin-top: 11px; color: var(--text-mute); font-size: 11px; }
.onb-result-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; margin: 0; padding: 0; list-style: none; }.onb-result-steps li { min-width: 0; display: flex; gap: 12px; padding: 18px 18px 0 0; }.onb-result-steps b { color: var(--orange); font: 700 10px/1.4 'JetBrains Mono',monospace; }.onb-result-steps span { display: flex; flex-direction: column; gap: 5px; }.onb-result-steps strong { color: var(--text); font-size: 12px; line-height: 1.35; }.onb-result-steps small { color: var(--text-mute); font-size: 10px; line-height: 1.45; }

.onb-actions { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; border-top: 1px solid var(--border); }
.onb-next,.onb-back,.onb-cancel { min-height: 46px; border: 0; font: 800 13px/1 'Inter',sans-serif; cursor: pointer; }
.onb-next { max-width: 100%; padding: 0 22px; border-radius: 7px; background: var(--text-strong); color: var(--bg); }.onb-next:hover { opacity: .9; }
.onb-back { padding: 0 5px; background: transparent; color: var(--text-dim); }.onb-back:hover,.onb-cancel:hover { color: var(--text); }
.onb-cancel { display: block; margin: 12px auto 0; background: transparent; color: var(--text-mute); }

/* Prvních pět skutečných akcí */
.co-activation { margin: 0 0 26px; padding: 22px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-card); }
.co-activation-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 12px; }
.co-activation-kicker { color: var(--orange); font: 700 9px/1 'JetBrains Mono',monospace; letter-spacing: .12em; }
.co-activation-head h2 { margin: 6px 0 0; color: var(--text-strong); font-size: 19px; }
.co-activation-head > strong { flex: 0 0 auto; color: var(--text-mute); font: 700 11px/1 'JetBrains Mono',monospace; }
.co-activation-head > strong span { color: var(--text); font-size: 16px; }
.co-activation-close { flex: 0 0 auto; width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 50%; background: var(--bg-elevated); color: var(--text-dim); font-size: 12px; cursor: pointer; transition: color .18s, border-color .18s; }
.co-activation-close:hover { color: var(--text); border-color: var(--text-mute); }

/* Živý webinář */
.co-webinar { position: relative; display: flex; align-items: center; gap: 18px; overflow: hidden; border-radius: 8px; margin-bottom: 16px; background:
  linear-gradient(90deg, rgba(42,111,255,.26) 0%, rgba(42,111,255,.12) 32%, var(--bg-card) 70%, var(--bg-card) 100%); }
.co-webinar-cal { position: relative; z-index: 2; flex: 0 0 auto; width: 62px; text-align: center; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--bg-elevated); }
.co-webinar-cal-m { display: block; padding: 4px 0; background: #e02424; color: #fff; font: 700 10px/1.4 'JetBrains Mono', monospace; letter-spacing: .08em; }
.co-webinar-cal-d { display: block; padding: 7px 0 6px; color: var(--text-strong); font: 400 30px/1 'Bebas Neue', sans-serif; }
.co-webinar-body { position: relative; z-index: 2; flex: 1; min-width: 0; max-width: 60%; }
.co-webinar-kicker { display: inline-flex; align-items: center; gap: 7px; color: #ff5a5a; font: 700 10px/1 'JetBrains Mono', monospace; letter-spacing: .1em; text-transform: uppercase; }
.co-webinar-kicker::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #ff2d2d; box-shadow: 0 0 0 3px rgba(255,45,45,.2); }
.co-webinar-body h3 { margin: 8px 0 4px; color: var(--text-strong); font-size: 17px; line-height: 1.22; }
.co-webinar-topic { margin: 0 0 8px; color: var(--text-dim); font-size: 12.5px; line-height: 1.35; }
.co-webinar-when { display: flex; flex-wrap: wrap; gap: 5px 14px; margin: 0; color: var(--text-dim); font-size: 12.5px; }
.co-webinar-when strong { color: var(--orange); }
.co-webinar-action { margin-top: 14px; }
.co-webinar-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border: 1px solid var(--glass-border); border-radius: 9px; background: var(--glass-bg); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--text-strong); font: 800 12px/1 'Inter', sans-serif; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .18s, border-color .18s, transform .18s; }
.co-webinar-btn:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.22); }
.co-webinar-btn:active { transform: scale(.97); }
.co-webinar-btn.is-live { background: #e02424; border-color: #e02424; color: #fff; }
.co-webinar-btn.is-live:hover { background: #f22b2b; border-color: #f22b2b; }
.co-webinar-yt { width: 22px; height: 15px; flex: 0 0 auto; border-radius: 4px; }
.co-webinar-hero { position: absolute; top: 0; right: 0; bottom: 0; width: 44%; z-index: 1; pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 34%); mask-image: linear-gradient(to right, transparent, #000 34%); }
.co-webinar-hero img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 20%; }
@media (max-width: 620px) {
  .co-webinar { flex-wrap: wrap; }
  .co-webinar-body { max-width: 100%; }
  .co-webinar-action { width: 100%; }
  .co-webinar-btn { width: 100%; justify-content: center; }
  .co-webinar-hero { display: none; }
}

/* Komunitní chat (WhatsApp) — sidebar odkaz + modal s nástěnným designem */
/* Ikona zůstává šedá jako ostatní; celé políčko decentně zeleně podbarvené, ať vyčnívá. */
.community-chat-link { background: rgba(37,211,102,.07); box-shadow: inset 0 0 0 1px rgba(37,211,102,.28); }
.community-chat-link:hover { background: rgba(37,211,102,.13); box-shadow: inset 0 0 0 1px rgba(37,211,102,.45); color: var(--text); }
.community-chat-link .icon { width: 16px; height: 16px; }
.community-chat-link .icon svg { width: 100%; height: 100%; display: block; }
.wa-modal { position: fixed; inset: 0; z-index: 4000; display: grid; place-items: center; padding: 20px;
  background: rgba(6,10,8,.6); -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px);
  opacity: 0; transition: opacity .2s ease; }
.wa-modal.show { opacity: 1; }
body.wa-modal-open { overflow: hidden; }
.wa-card { position: relative; width: min(440px, 100%); padding: 34px 30px 30px; text-align: center;
  border-radius: 18px; border: 1px solid rgba(37,211,102,.28); color: var(--text);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(37,211,102,.16), transparent 60%),
    repeating-linear-gradient(var(--bg-card) 0 30px, rgba(37,211,102,.045) 30px 31px),
    var(--bg-card);
  box-shadow: 0 26px 70px rgba(0,0,0,.5); transform: translateY(10px) scale(.98); transition: transform .2s ease; }
.wa-modal.show .wa-card { transform: translateY(0) scale(1); }
.wa-close { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; display: grid; place-items: center;
  border: 0; border-radius: 9px; background: transparent; color: var(--text-dim); font-size: 14px; cursor: pointer;
  transition: background .15s, color .15s; }
.wa-close:hover { background: var(--glass-bg); color: var(--text-strong); }
.wa-icon { width: 72px; height: 72px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 20px;
  background: rgba(37,211,102,.12); border: 1px solid rgba(37,211,102,.3); }
.wa-logo { width: 42px; height: 42px; }
.wa-kicker { display: block; color: #25D366; font: 700 10px/1 'JetBrains Mono', monospace; letter-spacing: .12em; }
.wa-title { margin: 9px 0 10px; color: var(--text-strong); font-size: 22px; font-weight: 800; }
.wa-text { margin: 0 auto 22px; max-width: 340px; color: var(--text-dim); font-size: 14px; line-height: 1.6; }
.wa-text strong { color: var(--text-strong); }
.wa-cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; width: 100%;
  padding: 0 22px; border: 0; border-radius: 13px; background: #25D366; color: #06371c;
  font: 800 15px/1 'Inter', sans-serif; text-decoration: none; cursor: pointer;
  box-shadow: 0 8px 22px rgba(37,211,102,.28); transition: transform .16s ease, background .16s ease; }
.wa-cta:hover { background: #22c35d; transform: translateY(-1px); }
.wa-cta:active { transform: translateY(0) scale(.99); }
.wa-note { display: block; margin-top: 13px; color: var(--text-mute); font-size: 12px; }

/* Nákupní modal (tier-aware prodej) — rozmazané pozadí, 3 sloupce */
.upg-modal { position: fixed; inset: 0; z-index: 4100; display: grid; place-items: center; padding: 20px;
  background: rgba(6,6,8,.66); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; transition: opacity .2s ease; overflow-y: auto; }
.upg-modal.show { opacity: 1; }
body.upg-modal-open { overflow: hidden; }
.upg-card { position: relative; width: min(940px, 100%); padding: 30px 30px 24px; border-radius: 18px;
  border: 1px solid var(--border); background: var(--bg-card); color: var(--text);
  box-shadow: 0 30px 80px rgba(0,0,0,.55); transform: translateY(10px) scale(.985); transition: transform .2s ease; }
.upg-modal.show .upg-card { transform: none; }
.upg-close { position: absolute; top: 13px; right: 13px; width: 30px; height: 30px; display: grid; place-items: center;
  border: 0; border-radius: 9px; background: transparent; color: var(--text-dim); font-size: 14px; cursor: pointer; transition: background .15s, color .15s; z-index: 3; }
.upg-close:hover { background: var(--glass-bg); color: var(--text-strong); }
.upg-ctx { margin: 0 0 14px; padding: 8px 12px; border-radius: 9px; background: rgba(255,107,26,.1); border: 1px solid rgba(255,107,26,.22);
  color: var(--orange); font: 700 12px/1.4 'Inter', sans-serif; text-align: center; }
.upg-head { text-align: center; margin-bottom: 20px; }
.upg-title { margin: 0 0 8px; color: var(--text-strong); font-size: 24px; font-weight: 800; }
.upg-proof { color: var(--text-dim); font-size: 12.5px; }
.upg-stars { color: var(--gold, #f5b301); letter-spacing: 1px; }
.upg-cols { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 14px; align-items: start; }
.upg-cols-2 { grid-template-columns: 1fr 1.14fr; max-width: 640px; margin: 0 auto; }
.upg-col { position: relative; display: flex; flex-direction: column; padding: 20px 18px; border-radius: 14px;
  border: 1px solid var(--border); background: var(--bg-elevated); }
.upg-col.is-current { background: transparent; border-style: dashed; }
.upg-col.is-hero { border: 2px solid var(--orange); background: rgba(255,107,26,.05);
  box-shadow: 0 0 0 4px rgba(255,107,26,.08), 0 18px 44px rgba(255,107,26,.12); }
.upg-col-tag { display: inline-block; align-self: flex-start; margin-bottom: 8px; padding: 3px 9px; border-radius: 6px;
  background: var(--glass-bg); color: var(--text-dim); font: 700 9px/1 'JetBrains Mono', monospace; letter-spacing: .1em; text-transform: uppercase; }
.upg-col-badge { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); padding: 4px 12px; border-radius: 999px;
  background: var(--orange); color: #1a0d02; font: 800 10px/1 'JetBrains Mono', monospace; letter-spacing: .08em; white-space: nowrap; }
.upg-plan { margin: 0 0 8px; color: var(--text-strong); font-size: 17px; font-weight: 800; }
.upg-col.is-hero .upg-plan { margin-top: 4px; }
.upg-price { display: flex; flex-direction: column; gap: 2px; margin-bottom: 14px; }
.upg-price strong { color: var(--text-strong); font-size: 26px; font-weight: 800; line-height: 1; }
.upg-price span { color: var(--text-dim); font-size: 11.5px; }
.upg-feats { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.upg-feats li { display: flex; align-items: flex-start; gap: 9px; font-size: 12.8px; line-height: 1.35; color: var(--text); }
.upg-feats li.no { color: var(--text-mute); }
.upg-fi { flex: 0 0 auto; width: 16px; height: 16px; display: grid; place-items: center; border-radius: 50%; font-size: 10px; font-weight: 800; margin-top: 1px; }
.upg-feats li.ok .upg-fi { background: rgba(80,200,120,.16); color: #58c983; }
.upg-feats li.no .upg-fi { background: rgba(255,255,255,.05); color: var(--text-mute); }
.upg-cta { display: block; text-align: center; text-decoration: none; padding: 13px 16px; border-radius: 11px; font: 800 14px/1 'Inter', sans-serif; cursor: pointer; transition: transform .16s ease, background .16s ease, border-color .16s; }
.upg-cta-main { background: var(--orange); color: #1a0d02; box-shadow: 0 8px 22px rgba(255,107,26,.3); }
.upg-cta-main:hover { background: var(--orange-bright); transform: translateY(-1px); }
.upg-cta-sec { background: transparent; color: var(--text-strong); border: 1px solid var(--border-strong, #333); }
.upg-cta-sec:hover { border-color: var(--orange); color: var(--orange); }
.upg-roi { display: block; margin-top: 10px; text-align: center; color: var(--text-dim); font-size: 11.5px; font-style: italic; }
/* Hero value stack — rozklikávací kategorie */
.upg-hero-sub { margin: 0 0 14px; color: var(--text-dim); font-size: 12px; line-height: 1.45; }
.upg-cats { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.upg-cat { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: rgba(255,255,255,.02); }
.upg-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 10px 12px; background: none; border: 0; cursor: pointer; font-family: inherit; text-align: left; transition: background .12s; }
.upg-cat-head:hover { background: rgba(255,255,255,.04); }
.upg-cat-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.upg-cat-name { color: var(--text-strong); font-size: 13px; font-weight: 700; line-height: 1.2; }
.upg-cat-count { color: var(--text-dim); font-size: 10.5px; }
.upg-cat-meta { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.upg-cat-val { color: var(--orange); font-size: 12.5px; font-weight: 800; white-space: nowrap; }
.upg-cat-chev { color: var(--text-dim); font-size: 13px; transition: transform .18s ease; }
.upg-cat-head[aria-expanded="true"] .upg-cat-chev { transform: rotate(180deg); }
.upg-cat-body { padding: 0 12px 10px; }
.upg-cat-body ul { list-style: none; margin: 0; padding: 9px 0 0; border-top: 1px solid rgba(255,255,255,.07); display: flex; flex-direction: column; gap: 7px; }
.upg-cat-body li { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 12px; color: var(--text-dim); }
.upg-cat-body li b { flex: 0 0 auto; color: var(--text); font-weight: 700; white-space: nowrap; }
.upg-pricebox { text-align: center; margin-bottom: 4px; }
.upg-price-old { display: block; margin-bottom: 10px; color: var(--text-mute); font-size: 12.5px; }
.upg-price-old s { color: var(--text-dim); }
/* Databáze 16:9 grafika */
.upg-db-graphic { margin-top: 16px; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); background: rgba(255,255,255,.02); color: var(--text-dim); }
.upg-db-svg { display: block; width: 100%; height: auto; }
.upg-db-cap { display: block; padding: 8px 10px; border-top: 1px solid var(--border); color: var(--text-mute); font-size: 10.5px; line-height: 1.3; text-align: center; }
.upg-owned { text-align: center; padding: 12px; border-radius: 10px; background: rgba(80,200,120,.1); color: #58c983; font: 700 13px/1 'Inter', sans-serif; }
.upg-col-note { display: block; margin-top: 12px; color: var(--text-mute); font-size: 11px; line-height: 1.4; }
.upg-foot { margin-top: 20px; text-align: center; color: var(--text-mute); font-size: 12px; }
.upg-card-allset { width: min(440px, 100%); text-align: center; padding: 34px 30px; }
.upg-allset-ico { width: 64px; height: 64px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(80,200,120,.14); border: 1px solid rgba(80,200,120,.34); color: #58c983; font-size: 30px; font-weight: 800; }
.upg-card-allset .upg-sub { margin: 0; color: var(--text-dim); font-size: 14px; line-height: 1.6; }
@media (max-width: 760px) {
  .upg-card { padding: 24px 18px 20px; }
  .upg-cols, .upg-cols-2 { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .upg-col.is-hero { order: -1; }
  .upg-title { font-size: 20px; }
}

.co-activation-progress { height: 3px; overflow: hidden; border-radius: 99px; background: var(--border); }
.co-activation-progress i { display: block; height: 100%; border-radius: inherit; background: var(--orange); transition: width .35s ease; }
.co-activation-focus { min-width: 0; min-height: 126px; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 18px; margin-top: 18px; padding: 22px; border: 1px solid rgba(255,107,26,.34); border-radius: 8px; background: #0c0c0c; color: var(--text); text-decoration: none; box-shadow: inset 3px 0 0 var(--orange); transition: border-color .18s ease, background .18s ease; }
.co-activation-focus[href]:hover { border-color: rgba(255,107,26,.7); background: #10100f; }
.co-activation-focus-icon { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid rgba(255,107,26,.4); border-radius: 50%; background: rgba(255,107,26,.08); color: var(--orange); }
.co-activation-focus-icon .ui-icon { width: 23px; height: 23px; }
.co-activation-focus-copy { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.co-activation-focus-copy small { margin-bottom: 7px; color: var(--orange); font: 700 9px/1 'JetBrains Mono',monospace; letter-spacing: .1em; }
.co-activation-focus-copy strong { color: var(--text-strong); font-size: clamp(17px,2vw,22px); line-height: 1.2; }
.co-activation-focus-copy > span { margin-top: 6px; color: var(--text-dim); font-size: 12px; line-height: 1.45; }
.co-activation-focus-action { display: flex; flex-direction: column; align-items: flex-end; gap: 11px; }
.co-activation-focus-action b { color: var(--gold); font: 700 10px/1 'JetBrains Mono',monospace; }
.co-activation-focus-action em { min-width: 92px; padding: 11px 15px; border-radius: 6px; background: var(--text-strong); color: var(--bg); font-size: 12px; font-style: normal; font-weight: 800; text-align: center; }
.co-activation-focus.is-complete { border-color: rgba(80,200,120,.28); box-shadow: inset 3px 0 0 #63d495; }
.co-activation-focus.is-complete .co-activation-focus-icon { border-color: rgba(80,200,120,.4); background: rgba(80,200,120,.08); color: #63d495; font-weight: 800; }
.co-activation-focus.is-complete .co-activation-focus-copy small { color: #63d495; }
.co-activation-focus-done { color: #63d495; font: 700 11px/1 'JetBrains Mono',monospace; }
.co-activation-steps { position: relative; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 14px; margin-top: 18px; }
.co-activation-steps::before { content: ''; position: absolute; left: 5%; right: 5%; top: 14px; height: 1px; background: var(--border); }
.co-activation-step { position: relative; z-index: 1; min-width: 0; display: grid; grid-template-columns: 28px minmax(0,1fr); align-items: center; gap: 8px; color: var(--text-mute); }
.co-activation-step-dot { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 50%; background: var(--bg-card); font: 700 9px/1 'JetBrains Mono',monospace; }
.co-activation-step-copy { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.co-activation-step-copy small { color: var(--text-mute); font: 700 7px/1 'JetBrains Mono',monospace; letter-spacing: .08em; text-transform: uppercase; }
.co-activation-step-copy strong { overflow: hidden; color: var(--text-dim); font-size: 9px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.co-activation-step.is-done .co-activation-step-dot { border-color: rgba(80,200,120,.42); background: #102019; color: #63d495; }
.co-activation-step.is-current .co-activation-step-dot { border-color: var(--orange); color: var(--orange); box-shadow: 0 0 0 4px rgba(255,107,26,.08); }
.co-activation-step.is-current .co-activation-step-copy small,.co-activation-step.is-current .co-activation-step-copy strong { color: var(--orange); }

@media (max-width: 760px) {
  body.kenji-onboarding-active .main-inner { padding: 24px 16px 40px; }
  .onb-top span:last-child { display: none; }
  .co-onb-v2 { padding-bottom: 82px; }
  .onb-screen { min-height: 0; padding: 34px 0 22px; }
  .onb-screen h1 { font-size: clamp(40px,14vw,56px); }
  .onb-lead { margin: 12px 0 22px; font-size: 14px; }
  .onb-industry-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .onb-choice { min-height: 102px; }
  .onb-blocker-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .onb-blocker-grid .onb-choice { min-height: 106px; }
  .onb-levels { margin-top: 24px; }
  .onb-level { gap: 14px; padding: 14px 15px; }
  .onb-pill { flex: 1 1 auto; text-align: center; }
  .onb-result-steps { grid-template-columns: 1fr; }.onb-result-steps li { padding-top: 14px; }
  .onb-actions { position: fixed; z-index: 50; left: 16px; right: 16px; bottom: 0; padding: 18px 0 max(12px,env(safe-area-inset-bottom)); background: linear-gradient(transparent,var(--bg) 24%); }
  .onb-next { flex: 0 1 auto; white-space: normal; line-height: 1.25; }
  .co-activation { padding: 18px 16px; }
  .co-activation-focus { min-height: 0; grid-template-columns: auto minmax(0,1fr); gap: 13px; padding: 17px 15px; }
  .co-activation-focus-icon { width: 42px; height: 42px; }
  .co-activation-focus-action,.co-activation-focus-done { grid-column: 2; align-items: flex-start; }
  .co-activation-focus-action { flex-direction: row; align-items: center; justify-content: space-between; }
  .co-activation-focus-action em { min-width: 86px; padding: 10px 13px; }
  .co-activation-steps { gap: 0; }
  .co-activation-steps::before { left: 10%; right: 10%; }
  .co-activation-step { display: flex; justify-content: center; }
  .co-activation-step-copy { display: none; }
}

@media (max-width: 350px) {
  .onb-choice,.onb-blocker-grid .onb-choice { min-height: 96px; padding: 12px; font-size: 12px; }
  .onb-level-main strong { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .onb-screen { animation: none; }.onb-progress i,.co-activation-progress i { transition: none; }
}

/* Nastavení: průvodce je pomocná akce, ne další formulář. */
.set-guide { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.set-guide-copy { min-width: 0; }
.set-guide .set-card-title { margin-bottom: 5px; }
.set-guide .set-hint { margin: 0; }
.set-tour-start { flex: 0 0 auto; color: var(--orange); font-size: 12px; font-weight: 750; text-decoration: none; }
.set-tour-start:hover { color: var(--orange-bright); }

@media (max-width: 760px) {
  .set-guide { align-items: flex-start; flex-direction: column; gap: 13px; }
}

/* Dashboard 2026-08: méně bloků, jedna jasná další akce. */
.co-activation-steps { grid-template-columns: repeat(4,minmax(0,1fr)); }
.co-kpintro { box-sizing: border-box; max-width: 100%; }
.co-streaknudge .co-fire { margin-right: 0; }

.co-learning-hub { margin-bottom: 16px; border-radius: 8px; }
.co-learning-kicker,.co-work-kicker,.co-community-kicker,.community-view-kicker { display: block; margin-bottom: 7px; color: var(--orange); font: 700 9px/1 'JetBrains Mono',monospace; letter-spacing: .12em; }
.co-learning-main { display: grid; grid-template-columns: minmax(180px,.65fr) minmax(0,1.35fr); gap: 22px; align-items: stretch; margin-top: 18px; }
.co-learning-reason { padding: 16px 0; }
.co-learning-reason > span { color: var(--text-mute); font: 700 8px/1 'JetBrains Mono',monospace; letter-spacing: .11em; }
.co-learning-reason p { margin: 9px 0 0; color: var(--text-dim); font-size: 12px; line-height: 1.55; }
.co-learning-reason strong { color: var(--text); }
.co-learning-primary { min-width: 0; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--border); border-radius: 7px; background: var(--bg-elevated); color: inherit; text-decoration: none; transition: border-color .18s,background .18s; }
.co-learning-primary:hover { border-color: rgba(255,107,26,.55); background: var(--bg-card-2); }
.co-learning-primary .co-content-icon { margin: 0; }
.co-learning-progress { display: flex; align-items: center; gap: 12px; margin-top: 13px; }
.co-learning-progress > span { flex: 1; height: 3px; overflow: hidden; border-radius: 99px; background: var(--border); }
.co-learning-progress i { display: block; height: 100%; background: var(--orange); }
.co-learning-progress small { flex: 0 0 auto; color: var(--text-mute); font-size: 10px; }
.co-learning-path { margin-top: 20px; padding-top: 17px; border-top: 1px solid var(--border); }
.co-learning-path-head { display: flex; justify-content: space-between; gap: 14px; margin-bottom: 13px; color: var(--text-mute); font-size: 10px; }
.co-learning-path-head strong { color: var(--text-dim); font-size: 11px; }
.co-learning-stages { position: relative; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; }
.co-learning-line { position: absolute; z-index: 0; left: 5%; right: 5%; top: 13px; height: 1px; overflow: hidden; background: var(--border); }
.co-learning-line b { display: block; height: 100%; background: var(--orange); }
.co-learning-stage { position: relative; z-index: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; color: var(--text-mute); text-decoration: none; }
.co-learning-stage > span { flex: 0 0 auto; width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 50%; background: var(--bg-card); font: 700 9px/1 'JetBrains Mono',monospace; }
.co-learning-stage strong { min-width: 0; color: var(--text-dim); font-size: 10px; line-height: 1.3; overflow-wrap: anywhere; }
.co-learning-stage.is-current > span { border-color: var(--orange); color: var(--orange); box-shadow: 0 0 0 4px rgba(255,107,26,.08); }
.co-learning-stage.is-current strong { color: var(--text); }
.co-learning-stage.is-done > span { border-color: #3a9b66; background: #102019; color: #63d495; }
.co-learning-stage.is-locked { opacity: .5; }

.co-work { margin-bottom: 16px; border-radius: 8px; }
.co-priority-task { position: relative; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: start; gap: 14px; margin-top: 17px; padding: 20px; border: 1px solid rgba(255,107,26,.38); border-radius: 8px; background: #0c0c0c; box-shadow: inset 3px 0 0 var(--orange); }
.co-priority-task .co-task-check { margin-top: 2px; }
.co-priority-body { min-width: 0; }
.co-priority-label { color: var(--orange); font: 700 8px/1 'JetBrains Mono',monospace; letter-spacing: .12em; }
.co-priority-body h3 { margin: 8px 0 4px; color: var(--text-strong); font-size: 18px; line-height: 1.3; }
.co-priority-body > p { max-width: 700px; margin: 0; color: var(--text-dim); font-size: 12px; line-height: 1.5; }
.co-priority-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 13px; color: var(--text-mute); font-size: 10px; }
.co-priority-meta a { margin-left: auto; color: var(--orange); font-size: 11px; font-weight: 750; text-decoration: none; }
.co-priority-meta a:hover { color: var(--orange-bright); }
.co-work-next { margin-top: 16px; }
.co-work-next > span { display: block; margin: 0 0 8px 2px; color: var(--text-mute); font: 700 8px/1 'JetBrains Mono',monospace; letter-spacing: .1em; text-transform: uppercase; }
.co-work-next .co-task { padding: 11px 12px; border-radius: 7px; background: transparent; }
.co-work-empty { display: grid; grid-template-columns: 120px minmax(0,1fr); align-items: center; gap: 18px; margin-top: 14px; padding: 16px; border: 1px solid var(--border); border-radius: 8px; }
.co-work-empty .kenji-empty-art { width: 110px; margin: 0; }
.co-work-empty strong { color: var(--text-strong); }
.co-work-empty p { margin: 5px 0 10px; color: var(--text-dim); font-size: 12px; }
.co-work-empty a { color: var(--orange); font-size: 12px; font-weight: 750; text-decoration: none; }

.co-community-pulse { margin-bottom: 16px; border-radius: 8px; }
.co-community-all { color: var(--text-dim); font-size: 11px; font-weight: 700; text-decoration: none; }
.co-community-all:hover { color: var(--orange); }
.co-community-pulse-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px; margin-top: 16px; }
/* Poznámkový/papírový styl — linkovaný papír + barevná okrajová linka */
.co-community-challenge,.co-community-wins { position: relative; min-width: 0; padding: 15px 16px 16px 22px; border: 1px solid var(--border); border-radius: 12px; background: repeating-linear-gradient(0deg, transparent 0 25px, rgba(255,255,255,.028) 25px 26px), var(--bg-elevated); transition: transform .18s ease, border-color .18s ease; }
.co-community-challenge:hover,.co-community-wins:hover { transform: translateY(-2px); border-color: var(--text-mute); }
.co-community-challenge::before,.co-community-wins::before { content: ''; position: absolute; left: 10px; top: 12px; bottom: 12px; width: 2px; border-radius: 2px; }
.co-community-challenge::before { background: rgba(255,107,26,.55); }
.co-community-wins::before { background: rgba(255,196,0,.5); }
.co-community-subhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--text); font-size: 12px; }
.co-community-subhead > span { flex: 0 0 auto; padding: 3px 8px; border-radius: 999px; background: rgba(255,196,0,.14); color: var(--gold); font: 700 9px/1 'JetBrains Mono',monospace; }
.co-community-challenge .co-community-subhead > span { background: rgba(255,107,26,.14); color: var(--orange-bright); }
.co-community-challenge h3 { margin: 15px 0 5px; color: var(--text-strong); font-size: 18px; line-height: 1.25; }
.co-community-challenge > p { margin: 0; color: var(--text-dim); font-size: 12px; line-height: 1.5; }
.co-community-cta { display: inline-flex; margin-top: 14px; padding: 0; border: 0; background: none; color: var(--orange); font: 750 11px/1.35 'Inter',sans-serif; text-decoration: none; cursor: pointer; }
.co-community-cta:disabled { color: var(--text-mute); cursor: default; }
.co-community-wins .co-winlist { gap: 4px; }
.co-community-wins .co-win { padding: 7px 0; }

.community-view-tabs { display: flex; gap: 20px; margin: 0 0 18px; border-bottom: 1px solid var(--border); }
.community-view-tabs a { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 5px 0 13px; color: var(--text-mute); font-size: 12px; font-weight: 700; text-decoration: none; }
.community-view-tabs a .ui-icon { width: 16px; height: 16px; }
.community-view-tabs a.active { color: var(--text-strong); }
.community-view-tabs a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--orange); }
.feed-wrap-leaderboard { max-width: 760px; }
.feed-leaderboard { margin: 0; border-radius: 8px; }
.feed-leaderboard .co-card-title { font-size: 20px; }
.feed-leaderboard-lead { max-width: 560px; margin: -4px 0 19px; color: var(--text-dim); font-size: 12px; line-height: 1.55; }
.community-sidebar-main { margin-bottom: 2px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }

@media (max-width: 760px) {
  .co-learning-main { grid-template-columns: 1fr; gap: 8px; }
  .co-learning-reason { padding: 8px 0 3px; }
  .co-learning-primary { grid-template-columns: auto minmax(0,1fr) auto; padding: 13px; }
  .co-learning-stages { gap: 3px; }
  .co-learning-stage { flex-direction: column; gap: 6px; text-align: center; }
  .co-learning-stage strong { font-size: 8px; overflow-wrap: anywhere; }
  .co-learning-line { left: 10%; right: 10%; }
  .co-priority-task { padding: 16px 13px; gap: 11px; }
  .co-priority-meta a { flex-basis: 100%; margin-left: 0; }
  .co-community-pulse-grid { grid-template-columns: 1fr; }
}

@media (max-width: 390px) {
  .co-learning-hub,.co-work,.co-community-pulse { padding-right: 14px; padding-left: 14px; }
  .co-learning-primary .co-content-icon { display: none; }
  .co-learning-stage strong { font-size: 7px; }
  .co-priority-task { grid-template-columns: auto minmax(0,1fr); }
  .co-priority-task > .co-task-del { position: absolute; top: 11px; right: 8px; }
  .co-work-empty { grid-template-columns: 1fr; }
  .co-work-empty > div:first-child { display: none; }
  .community-view-tabs { gap: 16px; }
  .feed-leaderboard .co-podium-name { display: -webkit-box; overflow: hidden; font-size: 10px; line-height: 1.2; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .feed-leaderboard .co-podium-ig { display: none; }
}
