﻿/* Shaman – teplá zemitá paleta: téměř černá s nádechem lesa, okr a kostěná bílá. */
:root {
  --bg: #0b0d0c;
  --bg-soft: #0f1211;
  --panel: #131715;
  --panel-2: #1a1f1c;
  --border: #252c28;
  --border-strong: #34403a;
  --text: #ece8dd;
  --muted: #8e978f;
  --accent: #e3a33f;
  --accent-2: #f2c46e;
  --accent-ink: #1b1308;
  --accent-soft: rgba(227, 163, 63, 0.13);
  --sage: #7fb59a;
  --ok: #6fcf8f;
  --warn: #f08a4b;
  --danger: #ef6b6b;
  --radius: 14px;
  --radius-sm: 9px;
  --font-head: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 14px/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
code {
  font-family: ui-monospace, 'Cascadia Code', Consolas, monospace;
  font-size: 0.92em;
  background: var(--panel-2);
  border: 1px solid var(--border);
  padding: 1px 6px;
  border-radius: 6px;
  color: var(--accent-2);
}
h1, h2, h3 { margin: 0; line-height: 1.2; font-family: var(--font-head); font-weight: 700; letter-spacing: -0.01em; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.loading, .empty { color: var(--muted); padding: 28px; text-align: center; }
.icon { display: inline-flex; width: 18px; height: 18px; flex: none; }
.icon svg { width: 100%; height: 100%; }

/* ---------- layout aplikace ---------- */
.layout { display: flex; min-height: 100vh; }

.sidebar {
  width: 240px;
  flex: none;
  background: var(--bg-soft);
  border-right: 1px solid var(--border);
  padding: 22px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-head); font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.brand img { width: 34px; height: 34px; }
.sidebar .brand { padding: 0 10px 24px; }

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-weight: 500;
}
.nav-link:hover { background: var(--panel); color: var(--text); text-decoration: none; }
.nav-link.active { background: var(--panel-2); color: var(--text); }
.nav-link.active::before {
  content: '';
  position: absolute;
  left: -14px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--accent);
}
.nav-link.active .icon { color: var(--accent); }
.nav-link.soon { opacity: 0.4; cursor: default; }
.nav-link.soon:hover { background: none; color: var(--muted); }
.nav-section { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); padding: 20px 12px 6px; opacity: 0.7; }
.tag { margin-left: auto; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; padding: 2px 7px; border-radius: 5px; border: 1px solid var(--border-strong); color: var(--muted); }

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.topbar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 32px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.topbar .spacer { flex: 1; }
.channel-pill { display: flex; align-items: center; gap: 10px; font-weight: 600; font-family: var(--font-head); }
.avatar { width: 34px; height: 34px; border-radius: 10px; background: var(--panel-2); object-fit: cover; }

.page { padding: 32px; max-width: 1180px; width: 100%; }
.page-title { font-size: 26px; margin-bottom: 22px; }

.banner {
  margin: 18px 32px 0;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(227, 163, 63, 0.35);
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.banner .icon { color: var(--accent); }

/* ---------- komponenty ---------- */
.card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); }
.card-body { padding: 20px 22px; }
.card-title { font-family: var(--font-head); font-size: 15px; font-weight: 600; margin-bottom: 14px; display: flex; align-items: center; gap: 9px; }
.card-title .icon { color: var(--accent); }
.grid { display: grid; gap: 16px; }
.grid.stats { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin-bottom: 16px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.stat { padding: 20px 22px; position: relative; overflow: hidden; }
.stat::after { content: ''; position: absolute; left: 22px; bottom: 0; width: 28px; height: 3px; border-radius: 3px 3px 0 0; background: var(--accent); }
.stat-value { font-family: var(--font-head); font-size: 32px; font-weight: 700; letter-spacing: -0.02em; }
.stat-label { color: var(--muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 15px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:hover { background: var(--panel-2); border-color: var(--muted); text-decoration: none; }
.btn:disabled { opacity: 0.5; cursor: wait; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: var(--accent-2); border-color: var(--accent-2); }
.btn.ghost { border-color: var(--border-strong); }
.btn.danger { color: var(--danger); border-color: rgba(239, 107, 107, 0.4); }
.btn.danger:hover { background: rgba(239, 107, 107, 0.1); }
.btn.small { padding: 5px 11px; font-size: 13px; }
.btn.large { padding: 12px 22px; font-size: 15px; border-radius: 11px; }

.icon-btn {
  display: inline-flex;
  padding: 6px;
  border: none;
  border-radius: 7px;
  background: none;
  color: var(--muted);
  cursor: pointer;
  vertical-align: middle;
}
.icon-btn:hover { background: var(--panel-2); color: var(--text); }
.icon-btn.danger:hover { color: var(--danger); }

.input, select.input, textarea.input {
  width: 100%;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--text);
  font: inherit;
}
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
textarea.input { resize: vertical; min-height: 90px; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 15px; }
.field > span { font-weight: 600; }
.field small { color: var(--muted); }
.row { display: flex; gap: 12px; }
.row > * { flex: 1; }

.toolbar { display: flex; gap: 12px; margin-bottom: 16px; align-items: center; flex-wrap: wrap; }
.toolbar .input { max-width: 320px; }
.toolbar .spacer { flex: 1; }

.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 600; background: var(--bg-soft); }
.table th, .table td { padding: 12px 18px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tbody tr:hover td { background: rgba(255, 255, 255, 0.015); }
.table tr:last-child td { border-bottom: none; }
.table td.wrap { word-break: break-word; min-width: 220px; }
.table td.actions { white-space: nowrap; text-align: right; }
.table tr.disabled td:not(.actions) { opacity: 0.4; }
.table td.nowrap { white-space: nowrap; }

.badge { display: inline-block; padding: 2px 9px; border-radius: 6px; font-size: 12px; font-weight: 600; background: var(--panel-2); color: var(--muted); border: 1px solid var(--border); }
.badge.ok { background: rgba(111, 207, 143, 0.1); color: var(--ok); border-color: rgba(111, 207, 143, 0.25); }
.badge.warn { background: rgba(240, 138, 75, 0.1); color: var(--warn); border-color: rgba(240, 138, 75, 0.25); }
.badge.bad { background: rgba(239, 107, 107, 0.1); color: var(--danger); border-color: rgba(239, 107, 107, 0.25); }
.badge.accent { background: var(--accent-soft); color: var(--accent-2); border-color: rgba(227, 163, 63, 0.25); }

.switch { position: relative; display: inline-block; width: 38px; height: 22px; vertical-align: middle; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: var(--border-strong); border-radius: 7px; cursor: pointer; transition: 0.15s; }
.switch span::before { content: ''; position: absolute; width: 16px; height: 16px; left: 3px; top: 3px; background: var(--text); border-radius: 5px; transition: 0.15s; }
.switch input:checked + span { background: var(--accent); }
.switch input:checked + span::before { transform: translateX(16px); background: var(--accent-ink); }
.switch input:focus-visible + span { box-shadow: 0 0 0 3px var(--accent-soft); }

.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.list li:last-child { border-bottom: none; }
.list .grow { flex: 1; min-width: 0; word-break: break-word; }

.status-line { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: none; }
.dot.ok { background: var(--ok); box-shadow: 0 0 0 3px rgba(111, 207, 143, 0.15); }
.dot.warn { background: var(--warn); box-shadow: 0 0 0 3px rgba(240, 138, 75, 0.15); }
.dot.bad { background: var(--danger); box-shadow: 0 0 0 3px rgba(239, 107, 107, 0.15); }
.hint { margin-top: 14px; padding: 11px 14px; border-radius: var(--radius-sm); background: var(--bg-soft); border-left: 3px solid var(--accent); color: var(--muted); }

.module-card { display: flex; gap: 16px; align-items: center; padding: 18px 22px; }
.module-card h3 { font-size: 16px; margin-bottom: 2px; }
.module-card .grow { flex: 1; }

/* ---------- modal & toast ---------- */
.overlay { position: fixed; inset: 0; background: rgba(5, 6, 5, 0.7); backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 50; }
.modal { width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto; background: var(--panel); border: 1px solid var(--border-strong); border-radius: 16px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.modal-head h2 { font-size: 18px; }
.modal-body { padding: 22px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 22px; border-top: 1px solid var(--border); }
.form-error { color: var(--danger); min-height: 1em; }

.toasts { position: fixed; right: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 8px; z-index: 60; }
.toast { padding: 11px 16px; border-radius: var(--radius-sm); background: var(--panel-2); border: 1px solid var(--border-strong); border-left: 3px solid var(--sage); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); }
.toast.error { border-left-color: var(--danger); }
.toast.success { border-left-color: var(--ok); }

/* ---------- testovací chat ---------- */
.chat-box { height: 440px; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-soft); border-radius: var(--radius) var(--radius) 0 0; }
.chat-msg { max-width: 80%; padding: 9px 13px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--border); word-break: break-word; }
.chat-msg.me { align-self: flex-end; background: var(--accent-soft); border-color: rgba(227, 163, 63, 0.25); }
.chat-msg .who { font-size: 12px; font-weight: 700; color: var(--accent-2); margin-bottom: 2px; }
.chat-msg.bot .who { color: var(--sage); }
.chat-msg.none { background: none; border: none; color: var(--muted); font-style: italic; padding: 0 4px; }
.chat-form { display: flex; gap: 10px; padding: 12px; border-top: 1px solid var(--border); }
.chat-form select { width: 150px; flex: none; }

/* ---------- přepínač jazyka ---------- */
.lang-switch { display: inline-flex; padding: 3px; gap: 2px; border: 1px solid var(--border-strong); border-radius: 9px; }
.lang-switch button { border: none; background: none; color: var(--muted); font: inherit; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 6px; cursor: pointer; }
.lang-switch button:hover { color: var(--text); }
.lang-switch button.active { background: var(--panel-2); color: var(--accent-2); }

/* ---------- úvodní stránka ---------- */
.landing { min-height: 100vh; background: var(--bg); overflow-x: hidden; }
.landing > * { max-width: 1120px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }

.landing-nav { display: flex; align-items: center; gap: 24px; padding-top: 20px; padding-bottom: 20px; }
.landing-nav .brand { color: var(--text); text-decoration: none; }
.landing-links { display: flex; gap: 26px; margin-left: auto; }
.landing-links a { color: var(--muted); font-weight: 500; position: relative; }
.landing-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease; }
.landing-links a:hover { color: var(--text); text-decoration: none; }
.landing-links a:hover::after { transform: scaleX(1); }
.landing-actions { display: flex; align-items: center; gap: 12px; }

/* logo s živým okem */
.logo-live { display: inline-block; flex: none; }
.logo-live svg { width: 100%; height: 100%; display: block; overflow: visible; }
.logo-pupil { transition: transform 0.15s ease-out; }
.logo-eye { transform-box: fill-box; transform-origin: center; animation: blink 6s infinite; }
.brand:hover .logo-live svg { animation: wiggle 0.5s ease; }
@keyframes blink { 0%, 93%, 100% { transform: scaleY(1); } 95% { transform: scaleY(0.1); } }
@keyframes wiggle { 25% { transform: rotate(-8deg); } 75% { transform: rotate(6deg); } }

/* hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-top: 56px; padding-bottom: 88px; }
.hero > *, .features > * { min-width: 0; }
.hero h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; margin-bottom: 22px; }
.hero h1 .word { display: inline-block; animation: word-in 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: calc(var(--i) * 0.06s); }
.lead { font-size: 17px; color: var(--muted); max-width: 500px; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.enter { animation: fade-up 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: var(--d, 0s); }
.alert { margin-bottom: 20px; padding: 11px 14px; border-radius: var(--radius-sm); background: rgba(239, 107, 107, 0.1); border: 1px solid rgba(239, 107, 107, 0.3); color: var(--danger); }
.hero-visual { display: flex; justify-content: center; }
.hero-visual .protected { width: 100%; max-width: 460px; }
.hero-visual img { filter: drop-shadow(0 28px 48px rgba(0, 0, 0, 0.55)); }
.float { animation: float 7s ease-in-out infinite; animation-delay: 1s; }
@keyframes word-in { from { opacity: 0; transform: translateY(0.4em) rotate(2deg); } to { opacity: 1; transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* chráněné obrázky – nejdou označit ani přetáhnout */
.protected { position: relative; user-select: none; -webkit-user-select: none; }
.protected img { display: block; width: 100%; height: auto; pointer-events: none; -webkit-user-drag: none; }
.protected::after { content: ''; position: absolute; inset: 0; }

/* tlačítka na landingu */
.landing .btn.primary { position: relative; overflow: hidden; }
.landing .btn.primary::after { content: ''; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent); transform: skewX(-20deg); transition: left 0.6s ease; }
.landing .btn.primary:hover::after { left: 130%; }
.landing .btn:hover { transform: translateY(-2px); }
.landing .btn:active { transform: translateY(0) scale(0.98); }

/* odhalování při scrollu */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: calc(var(--i, 0) * 0.08s); }
.reveal.is-visible { opacity: 1; transform: none; }

/* sekce */
.section { padding-top: 48px; padding-bottom: 64px; }
.section-head { max-width: 620px; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 34px); letter-spacing: -0.02em; margin-bottom: 8px; }
.section-head p { margin: 0; font-size: 16px; }

.features { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: start; }
.feature-list { display: flex; flex-direction: column; gap: 6px; }
.feature { display: flex; gap: 16px; padding: 16px; border-radius: var(--radius); transition: background 0.2s ease; }
.feature:hover { background: var(--panel); }
.feature h3 { font-size: 16px; margin: 2px 0 4px; }
.feature p { margin: 0; color: var(--muted); }
.feature-icon { width: 42px; height: 42px; flex: none; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent); transition: transform 0.3s cubic-bezier(0.3, 1.6, 0.5, 1); }
.feature:hover .feature-icon { transform: rotate(-8deg) scale(1.1); }

.screenshot { border-radius: var(--radius); border: 1px solid var(--border-strong); background: var(--panel); overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); transition: transform 0.4s ease; }
.screenshot:hover { transform: translateY(-4px); }
.screenshot-bar { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.screenshot-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }

.upcoming { margin-top: 40px; padding: 24px 26px; border-radius: var(--radius); border: 1px dashed var(--border-strong); }
.upcoming h3 { font-size: 16px; margin-bottom: 14px; }
.upcoming ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px 28px; }
.upcoming li { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.upcoming li .icon { color: var(--sage); }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--sage); margin-left: auto; flex: none; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 0.3; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1.2); } }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; }
.steps::before { content: ''; position: absolute; top: 20px; left: 20px; right: 20px; height: 2px; background: repeating-linear-gradient(90deg, var(--border-strong) 0 8px, transparent 8px 16px); }
.step { position: relative; }
.step h3 { font-size: 17px; margin: 18px 0 6px; }
.step p { margin: 0; }
.step-num { position: relative; width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; font-size: 17px; background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 6px var(--bg); }
.step.reveal .step-num { transform: scale(0); transition: transform 0.5s cubic-bezier(0.3, 1.7, 0.5, 1); transition-delay: calc(var(--i, 0) * 0.15s + 0.2s); }
.step.reveal.is-visible .step-num { transform: scale(1); }

.faq { display: flex; flex-direction: column; gap: 10px; max-width: 760px; }
.faq details { border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel); transition: border-color 0.2s; }
.faq details[open] { border-color: var(--border-strong); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 20px; font-weight: 600; display: flex; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq-icon { margin-left: auto; color: var(--accent); transition: transform 0.3s ease; }
.faq details[open] .faq-icon { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); }
.faq details[open] p { animation: fade-up 0.35s ease both; }

.final { text-align: center; padding-top: 56px; padding-bottom: 56px; margin-top: 24px; margin-bottom: 48px; }
.landing > .final { max-width: 1072px; border-radius: 20px; border: 1px solid var(--border-strong); background: var(--panel); }
.final .logo-live { margin-bottom: 18px; }
.final h2 { font-size: clamp(26px, 3.2vw, 34px); margin-bottom: 10px; }
.final p { margin: 0 0 26px; font-size: 16px; }

.landing-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--border); }
.brand.small { font-size: 15px; }
.brand.small img { width: 24px; height: 24px; }

/* ---------- veřejná stránka ---------- */
.public-page { max-width: 900px; margin: 0 auto; padding: 36px 16px; }
.public-head { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.public-head h1 { font-size: 24px; }
.public-head p { margin: 0; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 24px; padding-bottom: 56px; gap: 40px; }
  .features { grid-template-columns: 1fr; }
  .landing-links { display: none; }
  .landing-actions { margin-left: auto; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .steps::before { display: none; }
}

@media (max-width: 800px) {
  .layout { flex-direction: column; }
  .sidebar { width: auto; height: auto; position: static; flex-direction: row; overflow-x: auto; padding: 10px; border-right: none; border-bottom: 1px solid var(--border); }
  .sidebar .brand { padding: 0 10px 0 4px; font-size: 16px; }
  .nav-link.active::before { display: none; }
  .nav-section, .nav-link.soon { display: none; }
  .nav-link span.label { white-space: nowrap; }
  .topbar, .page { padding-left: 16px; padding-right: 16px; }
  .banner { margin: 12px 16px 0; }
  .row { flex-direction: column; gap: 0; }
  .landing > * { padding-left: 16px; padding-right: 16px; }
  .landing > .final { margin-left: 16px; margin-right: 16px; }
  .landing-nav .brand > span:last-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .step.reveal .step-num { transform: none; }
}

/* ---------- moderace ---------- */
.mod-filter-head { display: flex; align-items: center; gap: 16px; padding: 16px 20px; }
.mod-filter-head h3 { font-size: 16px; margin-bottom: 2px; }
.mod-filter-head .grow { flex: 1; min-width: 0; }
.mod-filter-head .btn .icon { width: 14px; height: 14px; transition: transform 0.2s; }
.mod-filter-head .btn[aria-expanded="true"] .icon { transform: rotate(180deg); }
.mod-filter-body { padding: 18px 20px 20px; border-top: 1px solid var(--border); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 16px; }
.form-actions { display: flex; justify-content: flex-end; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 15px; cursor: pointer; }
.check input { margin-top: 4px; accent-color: var(--accent); }
.check span { display: flex; flex-direction: column; font-weight: 600; }
.check small { color: var(--muted); font-weight: 400; }
.chat-msg.action { display: flex; align-items: center; gap: 8px; background: rgba(240, 138, 75, 0.1); border-color: rgba(240, 138, 75, 0.3); color: var(--warn); font-weight: 600; font-size: 13px; }
.chat-msg.action .icon { width: 16px; height: 16px; }
@media (max-width: 600px) { .mod-filter-head { flex-wrap: wrap; } }

/* ---------- giveaway ---------- */
.ga-head { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.ga-head h2 { font-size: 24px; margin: 6px 0 4px; }
.ga-status { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.ga-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.ga-entries { max-height: 420px; overflow-y: auto; margin-top: 10px; }
.ga-entries li.is-winner { color: var(--accent-2); font-weight: 600; }
.ga-history-winners { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.ga-winner { padding: 12px 14px; border-radius: var(--radius-sm); background: var(--accent-soft); border: 1px solid rgba(227, 163, 63, 0.25); margin-bottom: 10px; }
.ga-winner-name { display: flex; justify-content: space-between; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--accent-2); margin-bottom: 6px; }
.ga-winner-name .muted { font-family: var(--font-body); font-size: 12px; font-weight: 400; }
.ga-messages { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.ga-messages li { display: flex; gap: 10px; }
.ga-spin { z-index: 70; }
.ga-spin-box { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 40px 56px; border-radius: 20px; background: var(--panel); border: 1px solid var(--border-strong); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.ga-spin-box > .icon { width: 44px; height: 44px; color: var(--accent); animation: wiggle 0.6s ease infinite; }
.ga-spin-name { font-family: var(--font-head); font-size: clamp(28px, 6vw, 48px); font-weight: 800; min-width: 280px; text-align: center; }
.ga-spin-name.done { color: var(--accent-2); animation: pop 0.5s cubic-bezier(0.3, 1.7, 0.5, 1); }
@keyframes pop { from { transform: scale(0.6); } to { transform: scale(1); } }
.ga-head .grow { flex: 1; min-width: 240px; }

/* ---------- integrace ---------- */
.input-row { display: flex; gap: 10px; }
.input-row .input { flex: 1; min-width: 0; }
.int-indent { padding-left: 28px; }
.int-indent .form-grid { grid-template-columns: 220px 1fr; }
@media (max-width: 700px) { .int-indent .form-grid { grid-template-columns: 1fr; } .input-row { flex-direction: column; } }

/* funkce pod screenshotem (od verze s integracemi) */
#funkce .screenshot { max-width: 980px; margin: 0 auto 36px; }
#funkce .feature-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px 16px; }
