:root {
  --g900: #062519;
  --g800: #0b3b2c;   /* hlavní barva */
  --g700: #145039;
  --g500: #3d7a5f;
  --g300: #9cc4ae;
  --g200: #cfe2d6;
  --g100: #e8f1eb;
  --g50:  #f4f8f5;
  --ink: #121a16;
  --ink2: #55625b;
  --line: rgba(11, 59, 44, .12);
  --bg: #fbfcfb;
  --card: #ffffff;
  --radius: 28px;
  /* tmavá duha pro obrys CTA */
  --rainbow: linear-gradient(90deg, #8b1e3f, #b3541e, #9a7b00, #1f6f43, #1d4e89, #4b2a7b, #7a1f6b);
  --cta-bg: var(--card);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eef4f0; --ink2: #9fb2a7; --line: rgba(207, 226, 214, .12);
    --bg: #04150e; --card: #0a2219; --g50: #071c14; --g100: #0d2a1f;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font);
  font-size: 17px; line-height: 1.47; letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.hidden { display: none !important; }
.muted { color: var(--ink2); }

/* navigace */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-in { max-width: 1080px; margin: 0 auto; padding: 0 22px; height: 52px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 19px; letter-spacing: -0.02em; text-decoration: none; }
.mark { width: 26px; height: 26px; }
.mark rect { fill: var(--g800); }
.mark path { fill: var(--g200); }
.links { display: flex; align-items: center; gap: 26px; font-size: 14px; }
.links a { text-decoration: none; color: var(--ink2); transition: color .2s; }
.links a:hover { color: var(--ink); }
.links .pill { --cta-bg: var(--bg); color: var(--ink); padding: 5px 13px; border-radius: 99px; }
@media (max-width: 640px) { .links a:not(.pill) { display: none; } }

/* horní část: nahrání hned nahoře, ukázka vedle */
.top {
  max-width: 1080px; margin: 0 auto; padding: 48px 22px 56px; scroll-margin-top: 20px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start;
}
@media (max-width: 860px) { .top { grid-template-columns: 1fr; gap: 40px; padding-top: 28px; } }
h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 700; margin: 0; }
.lead { margin: 14px 0 26px; font-size: clamp(18px, 2.2vw, 21px); line-height: 1.4; color: var(--ink2); max-width: 520px; }
.hint { font-size: 14px; margin: 0; }
.feats { list-style: none; padding: 0; margin: -6px 0 26px; display: grid; gap: 12px; max-width: 520px; }
.feats li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: var(--ink2); }
.feats li b { color: var(--ink); }
.feats li span { flex: 0 0 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #fff; background: var(--g800); margin-top: 1px; }
@media (max-width: 480px) { .segmented button span { display: none; } .drop { padding: 40px 16px; } }
.showcase { position: relative; margin: 0 auto; width: 100%; max-width: 620px; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } /* Before a After stejně velké vedle sebe všude (Petr 19. 10.) */
@media (max-width: 480px) { .compare { gap: 8px; } }
.clip { position: relative; }
.clip video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; display: block; background: var(--g900); }
.clip.before video { border-radius: 22px; box-shadow: 0 0 0 1px var(--line); } /* bez ztlumení a prolínání (Petr 19. 10.) */
.clip.after video { border-radius: 22px; box-shadow: 0 40px 80px -30px rgba(6, 37, 25, .45), 0 0 0 1px var(--line); }
.tag { position: absolute; left: 12px; top: 12px; font-size: 15px; font-weight: 600; color: #fff; background: rgba(0, 0, 0, .55); padding: 5px 12px; border-radius: 99px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.tag.big { background: var(--g800); }
@media (max-width: 480px) { .sound { right: 8px; top: 8px; width: 32px; height: 32px; } .sound svg { width: 16px; height: 16px; } .tag { left: 8px; top: 8px; font-size: 13px; padding: 4px 10px; } }
.showcase figcaption { margin-top: 18px; font-size: 14px; color: var(--ink2); }
.sound {
  position: absolute; right: 16px; top: 16px; width: 40px; height: 40px; border-radius: 50%;
  border: 0; cursor: pointer; display: grid; place-items: center;
  background: rgba(6, 37, 25, .55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.sound svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sound svg path:first-child { fill: #fff; stroke: none; }
.sound .wave { display: none; }
.sound.on .wave { display: block; }
.sound.on .mute { display: none; }

/* nahrávání */
.card { background: var(--card); border-radius: var(--radius); box-shadow: 0 1px 0 var(--line), 0 30px 60px -40px rgba(6, 37, 25, .35); border: 1px solid var(--line); }
.upload { padding: clamp(22px, 4vw, 36px); text-align: center; }
.upload h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.03em; margin: 0 0 8px; line-height: 1.1; }

.segmented { display: inline-flex; gap: 4px; padding: 4px; margin: 16px 0 18px; background: var(--g100); border-radius: 14px; flex-wrap: wrap; justify-content: center; }
.segmented button {
  border: 0; background: transparent; color: var(--ink2); font: inherit; font-size: 15px; font-weight: 500;
  padding: 9px 16px; border-radius: 10px; cursor: pointer; transition: background .2s, color .2s;
}
.segmented button span { font-weight: 400; font-size: 13px; opacity: .7; margin-left: 4px; }
.segmented button[aria-checked="true"] { background: var(--card); color: var(--g800); box-shadow: 0 1px 3px rgba(6, 37, 25, .15); }
@media (prefers-color-scheme: dark) { .segmented button[aria-checked="true"] { color: var(--g200); } }
.segmented.small { margin: 4px 0 18px; }
.segmented.small button { font-size: 14px; padding: 7px 12px; }

.drop {
  display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer;
  padding: 56px 20px; border-radius: 22px; border: 1.5px dashed var(--g300);
  background: var(--g50); transition: background .2s, border-color .2s, transform .2s;
}
.drop:hover, .drop:focus-visible, .drop.over { background: var(--g100); border-color: var(--g500); outline: none; }
.drop.over { transform: scale(1.01); }
.drop svg { width: 46px; height: 46px; fill: none; stroke: var(--g800); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 8px; }
@media (prefers-color-scheme: dark) { .drop svg { stroke: var(--g300); } }
.drop strong { font-size: 20px; font-weight: 600; }
.drop span { font-size: 15px; }

/* průběh */
.ring { position: relative; width: 120px; height: 120px; margin: 4px auto 22px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: var(--g100); stroke-width: 7; }
.ring .val { stroke: var(--g800); stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset .5s ease; }
@media (prefers-color-scheme: dark) { .ring .val { stroke: var(--g300); } }
.ring span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 24px; font-weight: 600; font-variant-numeric: tabular-nums; }
.stages { list-style: none; padding: 0; margin: 28px auto 0; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.stages li { font-size: 13px; padding: 6px 12px; border-radius: 99px; background: var(--g50); color: var(--ink2); transition: all .3s; }
.stages li.active { background: var(--g800); color: #fff; }
.stages li.done { background: var(--g100); color: var(--g700); }
@media (prefers-color-scheme: dark) { .stages li.done { color: var(--g300); } }

/* výsledek */
#stepDone { display: grid; grid-template-columns: 1fr; gap: 22px; text-align: left; }
#stepDone.hidden { display: none; }
@media (max-width: 760px) { #stepDone { grid-template-columns: 1fr; gap: 24px; } }
/* přehrávač má poměr stran videa – žádné pruhy kolem videa na výšku */
.result { display: flex; justify-content: center; }
.result video { --ar: 9 / 16; aspect-ratio: var(--ar); width: min(100%, calc(66vh * (var(--ar)))); height: auto; border-radius: 20px; background: transparent; display: block; object-fit: cover; }
.facts { list-style: none; padding: 0; margin: 14px 0 18px; display: grid; gap: 8px; }
.facts li { font-size: 15px; color: var(--ink2); display: flex; gap: 10px; }
.facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--g500); margin-top: 9px; flex: none; }

.btn {
  display: flex; align-items: center; justify-content: center; width: 100%;
  font: inherit; font-size: 17px; font-weight: 500; text-decoration: none; cursor: pointer;
  padding: 14px 22px; border-radius: 14px; border: 0; transition: background .2s, transform .1s;
}
.btn:active { transform: scale(.985); }
/* CTA: jen obrys v tmavé duze, výplň průhledná (barva pozadí pod tlačítkem) */
.btn, .links .pill {
  border: 2px solid transparent; color: var(--ink); font-weight: 600;
  background: linear-gradient(var(--cta-bg), var(--cta-bg)) padding-box, var(--rainbow) border-box;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover, .links .pill:hover { color: var(--ink); transform: translateY(-1px); box-shadow: 0 6px 16px -10px rgba(75, 42, 123, .45); }
.btn.ghost { margin-top: 8px; }
.plan.pro .btn { --cta-bg: var(--g800); color: #fff; }
.plan.pro .btn:hover { color: #fff; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.note { font-size: 13px; color: var(--ink2); margin: 8px 0 14px; text-align: center; }
.link { background: none; border: 0; font: inherit; font-size: 15px; color: var(--g500); cursor: pointer; padding: 10px; width: 100%; margin-top: 4px; }
.link:hover { text-decoration: underline; }

/* sekce */
.section-title { text-align: center; font-size: clamp(32px, 5vw, 48px); letter-spacing: -0.03em; margin: 0 0 48px; line-height: 1.08; }
.section-sub { text-align: center; color: var(--ink2); margin: -32px auto 40px; max-width: 560px; }
.choice small { color: var(--ink2); font-size: 14px; }
.left { font-size: 13px; color: var(--g500); text-align: center; margin: 10px 0 0; }
.how { max-width: 1080px; margin: 0 auto; padding: 64px 22px; scroll-margin-top: 40px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.grid article { background: var(--g50); border-radius: 22px; padding: 28px 26px 30px; }
.num { font-size: 13px; font-weight: 600; color: var(--g500); letter-spacing: .04em; }
.grid h3 { font-size: 21px; letter-spacing: -0.02em; margin: 10px 0 8px; }
.grid p { margin: 0; color: var(--ink2); font-size: 16px; }

.pricing { max-width: 1080px; margin: 0 auto; padding: 64px 22px 96px; scroll-margin-top: 40px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.plan { border-radius: var(--radius); padding: 34px 30px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; }
.plan h3 { margin: 0; font-size: 19px; font-weight: 600; }
.price { font-size: 40px; font-weight: 700; letter-spacing: -0.03em; margin: 10px 0 0; }
.price small { font-size: 17px; font-weight: 500; opacity: .7; }
.alt { margin: 2px 0 0; font-size: 15px; opacity: .75; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; flex: 1; align-content: start; }
.plan li { padding-left: 26px; position: relative; font-size: 16px; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 2px solid var(--g500); border-bottom: 2px solid var(--g500); transform: rotate(-45deg); }
.plan.pro { background: var(--g800); color: #fff; border-color: transparent; }
.plan.pro li::before { border-color: var(--g300); }

.foot { max-width: 1080px; margin: 0 auto; padding: 28px 22px 40px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; font-size: 13px; flex-wrap: wrap; }

/* dialog předplatného */
dialog { border: 0; border-radius: var(--radius); padding: 0; width: min(440px, calc(100vw - 32px)); background: var(--card); color: var(--ink); box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .4); }
dialog::backdrop { background: rgba(6, 37, 25, .35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
dialog form { padding: 34px 30px 22px; text-align: center; }
dialog h2 { margin: 0 0 8px; font-size: 28px; letter-spacing: -0.03em; }
.choice { display: grid; gap: 10px; margin: 24px 0 20px; text-align: left; }
.choice label { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); cursor: pointer; }
.choice label:has(input:checked) { border-color: var(--g800); background: var(--g50); }
.choice input { accent-color: var(--g800); width: 18px; height: 18px; margin: 0; }
.choice em { font-style: normal; font-size: 13px; color: var(--g500); margin-left: 6px; }
#stepPick .segmented { margin: 16px 0 10px; }
.eta { font-size: 15px; font-weight: 600; color: var(--g500); margin: 6px 0 0; min-height: 1.4em; font-variant-numeric: tabular-nums; }
#workText { transition: opacity .35s ease; }
/* když hraje gotové video, ukázka nahoře počká */
.showcase { transition: filter .5s ease, opacity .5s ease; }
.showcase.dimmed { filter: grayscale(1); opacity: .45; }
.field { width: 100%; font: inherit; font-size: 17px; padding: 13px 14px; margin: 18px 0 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); }
.field:focus { outline: none; border-color: var(--g500); }

/* Edit another video: na konci panelu, s odstupem od videa (Petr 18. 10.) */
.btn.again { margin: 22px 0 0; }
.btn.again span { font-weight: 700; margin-right: 8px; font-size: 20px; line-height: 1; }

/* Your videos – všechna videa z tohoto prohlížeče (Petr 18. 10.) */
.mine { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); text-align: left; }
.mine-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.mine-head h3 { margin: 0; font-size: 18px; letter-spacing: -0.01em; }
#mineList { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
#mineList li { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 14px; background: var(--g50); cursor: pointer; }
#mineList li.on { box-shadow: inset 0 0 0 2px var(--g500); }
#mineList .th { width: 46px; height: 64px; flex: none; border-radius: 9px; overflow: hidden; background: var(--g800); }
#mineList .th video { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
#mineList .tx { flex: 1; min-width: 0; }
#mineList .tx b { display: block; font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#mineList .tx small { color: var(--ink2); font-size: 13px; }
#mineList .dl { flex: none; font-size: 13px; font-weight: 600; color: var(--g500); text-decoration: none; padding: 8px 10px; }
.social { display: grid; gap: 10px; margin: 14px 0 6px; }
.social-btn { gap: 10px; }
.social-btn svg { width: 20px; height: 20px; flex: none; }
.or { display: flex; align-items: center; gap: 10px; color: var(--ink2); font-size: 13px; margin: 6px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* právní stránky /privacy a /terms */
.legal { max-width: 720px; margin: 0 auto; padding: 40px 20px 60px; line-height: 1.65; }
.legal h1 { font-size: 34px; letter-spacing: -0.02em; margin: 0 0 6px; }
.legal h2 { font-size: 19px; margin: 30px 0 8px; }
.legal ul { padding-left: 20px; }
.legal li { margin: 6px 0; }
.legal a, .foot a { color: inherit; }

/* mobil: malý náhled Before/After hned vedle nadpisu „You play. We edit.“ (Petr 19. 10.) */
@media (max-width: 860px) {
  .top { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t s" "l l" "f f" "c c"; column-gap: 14px; row-gap: 0; }
  .top-main { display: contents; }
  .top h1 { grid-area: t; align-self: center; }
  .top .lead { grid-area: l; }
  .top .upload { grid-area: c; }
  .top .feats { grid-area: f; }
  .top .showcase { grid-area: s; width: clamp(132px, 40vw, 260px); max-width: none; margin: 0; align-self: center; }
  .top .compare { gap: 6px; }
  .top .clip video { border-radius: 12px; }
  .top .tag { left: 5px; top: 5px; font-size: 10px; padding: 2px 6px; }
  .top .sound { right: 5px; top: auto; bottom: 5px; width: 26px; height: 26px; }
  .top .sound svg { width: 13px; height: 13px; }
}

/* sdílení na sítě (jen s předplatným) */
.btn.share { width: 100%; }
.btn.share.pulse { animation: gvpulse 1.4s ease-in-out infinite; }
@keyframes gvpulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(61, 122, 95, .5); } 50% { box-shadow: 0 0 0 10px rgba(61, 122, 95, 0); } }
.btn.notify { margin-top: 14px; }
.hint.files { margin: 10px 0 4px; }
.hint .link { text-decoration: underline; cursor: pointer; color: var(--ink); }
/* pro koho je Guitarvio (Petr 19. 10.: kontext i pro reklamu v ChatGPT) */
.who { max-width: 760px; margin: 0 auto; padding: 24px 22px 56px; }
.who-text p { font-size: 17px; line-height: 1.6; color: var(--ink2); margin: 0 0 14px; }
.who-text b { color: var(--ink); }

/* ============ Vizuální mastering (Petr 20. 10. 2026) — jen jemné doladění, žádný redesign ============ */
:root { --ease: cubic-bezier(.2, .7, .2, 1); }

/* 5) rytmus textu nahoře */
.lead { margin: 18px 0 28px; }
.feats { margin: 0 0 30px; gap: 14px; }

/* 1) Before / After (Petr 20. 10.): bez rámečku, jeden celek se společným měkkým stínem, mezi videi jen tenká bílá linka */
.compare {
  gap: 3px; background: #fff; border-radius: 22px;
  box-shadow: 0 2px 6px rgba(6, 37, 25, .10), 0 12px 28px rgba(6, 37, 25, .16), 0 30px 60px -8px rgba(6, 37, 25, .26);
}
.clip video, .clip.before video, .clip.after video { box-shadow: none; }
.clip.before video { border-radius: 22px 0 0 22px; }
.clip.after video { border-radius: 0 22px 22px 0; }
@media (prefers-color-scheme: dark) {
  .compare { box-shadow: 0 4px 10px rgba(0, 0, 0, .35), 0 24px 50px -14px rgba(0, 0, 0, .7); }
}
.swap {
  position: absolute; left: 50%; top: 50%; z-index: 2; width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border-radius: 50%; background: #fff; display: grid; place-items: center; pointer-events: none;
  box-shadow: 0 0 0 1px rgba(11, 59, 44, .08), 0 6px 16px -4px rgba(6, 37, 25, .35);
}
.swap svg { width: 20px; height: 20px; fill: none; stroke: var(--g800); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 480px) { .swap { width: 30px; height: 30px; margin: -15px 0 0 -15px; } .swap svg { width: 14px; height: 14px; } .compare { gap: 2px; } }
.tag { letter-spacing: -0.005em; }

/* 6) optické zarovnání: horní hrana videí k velkým písmenům nadpisu (ne k řádku) */
@media (min-width: 861px) { .showcase { margin-top: 10px; } }

/* 7) jednorázová linka Before → After */
.compare { position: relative; }
.compare::after {
  content: ""; position: absolute; left: 6%; right: 6%; top: 50%; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--g500) 35%, var(--g500) 65%, transparent);
  transform: scaleX(0); transform-origin: left center; opacity: 0;
  animation: gvsweep .9s var(--ease) .6s 1 both;
}
@keyframes gvsweep {
  0% { transform: scaleX(0); opacity: 0; }
  15% { opacity: .9; }
  70% { transform: scaleX(1); opacity: .9; transform-origin: left center; }
  100% { transform: scaleX(1); opacity: 0; }
}
.no-sweep .compare::after { animation: none; }
@media (prefers-reduced-motion: reduce) { .compare::after { animation: none; } .clip video { transition: none; } }

/* 2) upload bez vnější karty ve stavu „vyber soubor“ — karta se vrátí při nahrávání a u výsledku */
.card.upload { transition: background-color .2s var(--ease), box-shadow .2s var(--ease), padding .2s var(--ease); }
.card.upload:has(#stepPick:not(.hidden)) { background: transparent; border-color: transparent; box-shadow: none; padding: 0; }

/* 3) drop zóna: tenčí, klidnější; přetažení = jemné zelené probarvení + plný okraj */
.drop {
  border: 1px dashed var(--g300); background: color-mix(in srgb, var(--g50) 60%, transparent);
  padding: 44px 20px; border-radius: 20px;
  transition: background-color .16s var(--ease), border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.drop svg { transition: transform .16s var(--ease); }
.drop:hover, .drop:focus-visible { background: var(--g50); border-color: var(--g500); }
.drop:focus-visible { box-shadow: 0 0 0 3px var(--g200); }
.drop.over { transform: none; background: var(--g100); border-style: solid; border-color: var(--g500); box-shadow: inset 0 0 0 1px var(--g500); }
.drop.over svg, .drop:hover svg { transform: translateY(-2px); }
.hint.files { margin-top: 12px; }

/* plynulý přechod mezi kroky nahrávání */
.step:not(.hidden) { animation: gvin .2s var(--ease); }
@keyframes gvin { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .step:not(.hidden) { animation: none; } }
/* malé displeje (videa vedle nadpisu): stejný celek, menší zaoblení, linka 2 px */
@media (max-width: 860px) {
  .top .compare { gap: 2px; border-radius: 12px; }
  .top .clip.before video { border-radius: 12px 0 0 12px; }
  .top .clip.after video { border-radius: 0 12px 12px 0; }
}


/* ============ Mobil: tmavá verze podle Petrovy předlohy (21. 10. 2026) ============
   nadpis „Edit Your Video Instantly.“, široké Before/After s ovládáním, velké zářící kolečko na nahrání
   (po najetí / přetažení jako eMastered: kruh se roztočí, tmavé kolo zaplaví stránku, ikona vyroste, text se vymění).
   Počítač beze změny – všechno jen do 860 px. */
.burger, .mmenu, .mhero, .mctl, .dcirc, .dring { display: none; }
@media all {
  :root {
    --ink: #eef6f1; --ink2: #a9c4b6; --line: rgba(207, 236, 220, .14);
    --bg: #03140d; --card: #082017; --g50: #071c14; --g100: #0d2a1f;
  }
  body { background: #03140d; }
  .nav { background: rgba(3, 20, 13, .72); border-bottom-color: transparent; }
  .nav-in { position: relative; height: 60px; padding: 0 16px; }
  .brand { color: #fff; font-size: 21px; font-weight: 700; }
  .mark { width: 34px; height: 34px; }
  .mark rect { fill: #0f5a3c; } .mark path { fill: #fff; }
  .links { margin-left: auto; }
  .links .pill { --cta-bg: #03140d; color: #fff; padding: 7px 15px; font-size: 15px; }
  .burger { display: grid; gap: 5px; width: 40px; height: 40px; place-content: center; margin-left: 8px; background: none; border: 0; padding: 0; cursor: pointer; }
  .burger span { display: block; width: 24px; height: 2px; border-radius: 2px; background: #fff; }
  .mmenu:not([hidden]) { display: grid; position: absolute; right: 12px; top: 58px; min-width: 190px; padding: 8px; border-radius: 16px; background: #0a271c; border: 1px solid rgba(95, 214, 155, .25); box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .6); }
  .mmenu a { padding: 12px 14px; border-radius: 10px; color: #eef6f1; text-decoration: none; font-weight: 600; }
  .mmenu a:active { background: rgba(95, 214, 155, .12); }

  .top { position: relative; isolation: isolate; grid-template-columns: 1fr; grid-template-areas: "t" "s" "c"; row-gap: 14px; padding-top: 12px; }
  .top::before {
    content: ""; position: absolute; z-index: -1; left: -22px; right: -22px; top: -70px; bottom: -40px; pointer-events: none;
    background:
      radial-gradient(70% 24% at 50% 22%, rgba(3, 20, 13, .92), rgba(3, 20, 13, .6) 60%, transparent 100%),
      radial-gradient(60% 26% at 50% 82%, rgba(14, 92, 68, .32), transparent 70%),
      radial-gradient(70% 22% at 8% 32%, rgba(31, 168, 110, .2), transparent 70%),
      radial-gradient(70% 22% at 95% 22%, rgba(31, 168, 110, .16), transparent 70%),
      url("/waves.svg?v=3") center / 100% 100% no-repeat,
      linear-gradient(180deg, #03140d 0%, #052118 50%, #03140d 100%);
  }
  .top h1, .top .lead, .top .feats { display: none; }
  .top-main { display: contents; }
  .mhero { display: block; grid-area: t; text-align: center; }
  .mh1 { margin: 0 0 8px; font-size: 40px; line-height: 1.02; font-weight: 800; letter-spacing: -0.035em; color: #fff; }
  .mh1 span { display: block; background: linear-gradient(95deg, #2bd38d 0%, #5fe3a8 45%, #b8f6da 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .mlead { margin: 0 0 8px; font-size: 15px; line-height: 1.4; color: #d2e7dc; }
  .mlead b { color: #fff; font-weight: 700; }
  .mcta { margin: 0; font-size: 15px; color: #d2e7dc; }

  .top .showcase { grid-area: s; position: relative; width: 100%; max-width: none; margin: 0; }
  .top .compare { gap: 1px; border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, .28), 0 20px 40px -20px rgba(0, 0, 0, .8); }
  .top .clip video { aspect-ratio: 1.12 / 1; object-position: 50% 40%; border-radius: 0 !important; box-shadow: none; }
  .top .swap, .top .sound, .top .compare::after { display: none !important; }
  .top .tag { left: 8px; top: 8px; font-size: 13px; font-weight: 600; padding: 4px 11px; background: rgba(40, 40, 40, .7); }
  .top .tag.big { background: #0f6b47; }
  .mctl { display: block; position: absolute; inset: 0; pointer-events: none; }
  .mplay { pointer-events: auto; position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .85); background: rgba(0, 0, 0, .55); display: grid; place-items: center; cursor: pointer; padding: 0; }
  .mplay svg { width: 22px; height: 22px; fill: #fff; }
  .mplay .ps, .mplay.on .pl { display: none; }
  .mplay.on .ps { display: block; }
  .mbar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 8px; padding: 18px 10px 8px; font-size: 12px; font-variant-numeric: tabular-nums; color: #fff; background: linear-gradient(0deg, rgba(0, 0, 0, .55), transparent); }
  .mtrack { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .35); position: relative; }
  .mfill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 3px; background: #fff; }
  .mfill::after { content: ""; position: absolute; right: -6px; top: -4.5px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
  .mfs { pointer-events: auto; background: none; border: 0; padding: 0; width: 22px; height: 22px; cursor: pointer; }
  .mfs svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

  /* zářící kolečko na nahrání */
  .top .upload { grid-area: c; position: relative; z-index: 5; }
  .top .drop { position: relative; z-index: 5; display: grid; place-items: center; width: min(206px, 58vw); aspect-ratio: 1; margin: 12px auto 0; padding: 0; border: 0; border-radius: 50%; background: radial-gradient(circle at 50% 45%, #0d3a29 0%, #072519 62%, #04170f 100%); box-shadow: 0 0 0 9px rgba(52, 211, 153, .08), 0 0 34px 8px rgba(52, 211, 153, .32), inset 0 0 30px rgba(52, 211, 153, .25); text-align: center; overflow: visible; }
  .top .drop:hover, .top .drop:focus-visible, .top .drop.over { background: radial-gradient(circle at 50% 45%, #0d3a29 0%, #072519 62%, #04170f 100%); outline: none; transform: none; }
  .top .drop > svg, .top .drop > strong, .top .drop > span.muted { display: none; }
  /* točící se kruh (conic gradient jako prstenec) */
  .dring { display: block; position: absolute; inset: -6px; border-radius: 50%; pointer-events: none;
    background: conic-gradient(from 0deg, #0b3b2c, #34d399, #b8f6da, #34d399, #0b3b2c, #1f8a5c, #6ee7ad, #0b3b2c);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
            mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
    filter: drop-shadow(0 0 6px rgba(52, 211, 153, .7)); }
  .top .drop::before { content: ""; position: absolute; inset: -22px; border-radius: 50%; border: 1px solid rgba(110, 231, 173, .22); box-shadow: 0 0 40px rgba(52, 211, 153, .18); animation: gvring 3.2s ease-in-out infinite; pointer-events: none; }
  /* tmavé kolo, které po najetí zaplaví stránku (eMastered) */
  .top .drop::after { content: ""; position: absolute; left: 50%; top: 50%; width: 100px; height: 100px; margin: -50px 0 0 -50px; border-radius: 50%; background: rgba(2, 14, 9, .9); transform: scale(0); transition: transform .45s cubic-bezier(.2, .7, .2, 1); pointer-events: none; z-index: -1; }
  .dcirc { position: relative; display: grid; justify-items: center; gap: 6px; padding: 0 18px; color: #fff; transition: transform .3s; }
  .top .drop .dcloud { width: 56px; height: 46px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 4px; transform-origin: 50% 100%; transition: transform .3s; }
  .dcirc b { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
  .dcirc i { font-style: normal; font-size: 13px; color: #d2e7dc; }
  .dcirc u { color: #5fe3a8; text-underline-offset: 2px; }
  .dcirc small { display: flex; align-items: center; gap: 5px; font-size: 12.5px; color: #b9d3c6; margin-top: 2px; }
  .top .drop .dcirc small svg { margin: 0; width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
  .dcirc .d2 { display: none; }
  .top .drop:hover .dring, .top .drop.over .dring { animation: gvspin 4s linear infinite; }
  .top .drop:hover::after, .top .drop.over::after { transform: scale(30); }
  .top .drop:hover .dcloud, .top .drop.over .dcloud, .top .drop:hover svg.dcloud { transform: scale(1.5); }
  .top .drop:hover .dcirc, .top .drop.over .dcirc { transform: translateY(-6px); }
  .top .drop:hover .d1, .top .drop.over .d1, .top .drop:hover small, .top .drop.over small { display: none; }
  .top .drop:hover .d2, .top .drop.over .d2 { display: block; }
  .top .hint { text-align: center; }
  .top .hint.files { margin-top: 30px; }
}
@keyframes gvring { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.04); opacity: .5; } }
@keyframes gvspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .top .drop::before, .top .drop:hover .dring { animation: none; } }

@media all {
  /* jen šipka, bez textů (Petr 21. 10.: „je jasný samo o sobě, že je to multifunkční“) */
  .top .drop .darrow { width: 84px; height: 84px; fill: none; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; margin: 0; filter: drop-shadow(0 0 4px rgba(190, 255, 225, .95)) drop-shadow(0 0 14px rgba(74, 240, 165, .9)) drop-shadow(0 0 28px rgba(52, 211, 153, .6)); animation: gvbob 2.4s ease-in-out infinite; transition: transform .3s; }
  .top .drop:hover .darrow, .top .drop.over .darrow { animation: none; transform: scale(1.35) translateY(-4px); }
  .dcirc { padding: 0; }
}
@keyframes gvbob { 0%, 100% { transform: translateY(3px); } 50% { transform: translateY(-5px); } }
@media (prefers-reduced-motion: reduce) { .top .drop .darrow { animation: none; } }

@media all {
  /* kolečko jako na Petrově návrhu: tlustý jasný prstenec, vnitřní kroužek, slabý vnější kruh, velká záře, sonarové vlnky */
  .top .drop { width: min(214px, 60vw); background: radial-gradient(circle at 50% 50%, #12573e 0%, #0b3a2a 42%, #072a1e 68%, #041a12 100%);
    box-shadow: 0 0 0 1px rgba(160, 255, 210, .25), 0 0 40px 10px rgba(52, 211, 153, .45), 0 0 90px 30px rgba(31, 168, 110, .28), inset 0 0 40px rgba(110, 231, 173, .35), inset 0 0 8px rgba(190, 255, 225, .4); }
  .dring { inset: -7px; background: conic-gradient(from 200deg, #2bd38d, #d6ffec, #6ef0b5, #1fa36b, #8ff5c6, #ffffff, #34d399, #2bd38d);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 5px));
            mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 5px));
    filter: drop-shadow(0 0 6px rgba(190, 255, 225, .9)) drop-shadow(0 0 16px rgba(52, 211, 153, .8)); }
  .dcirc::before { content: ""; position: absolute; left: 50%; top: 50%; width: calc(min(214px, 60vw) - 34px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 1.5px solid rgba(143, 245, 198, .45); box-shadow: 0 0 12px rgba(52, 211, 153, .35), inset 0 0 12px rgba(52, 211, 153, .25); pointer-events: none; }
  .top .drop::before { inset: -26px; border: 1.5px solid rgba(143, 245, 198, .35); box-shadow: 0 0 22px rgba(52, 211, 153, .3), inset 0 0 18px rgba(52, 211, 153, .15); animation: gvsonar 3.4s ease-out infinite; }
  .top .upload::before, .top .upload::after { content: ""; position: absolute; left: 50%; top: calc(12px + min(214px, 60vw) / 2); width: min(214px, 60vw); aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); border: 1px solid rgba(143, 245, 198, .3); pointer-events: none; animation: gvsonar2 3.4s ease-out infinite; }
  .top .upload::after { animation-delay: 1.7s; }
}
@keyframes gvsonar { 0% { transform: scale(.96); opacity: .9; } 100% { transform: scale(1.12); opacity: .25; } }
@keyframes gvsonar2 { 0% { transform: translate(-50%, -50%) scale(1); opacity: .7; } 100% { transform: translate(-50%, -50%) scale(1.55); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .top .upload::before, .top .upload::after { animation: none; display: none; } }
@media all {
  .mlead, .mcta, .top .hint { text-shadow: 0 1px 2px rgba(0, 0, 0, .9), 0 0 14px rgba(3, 20, 13, .95); }
  html, body { overflow-x: clip; }
  .top .hint { color: #cfe5da; }
}

/* 21. 10. (Petr): videa v původní velikosti 9:16, zelené „Sign up free“ místo duhového, bez malých textů pod nahráváním */
.links .pill { background: linear-gradient(100deg, #2fa36f, #17704d 55%, #0b3b2c) padding-box, linear-gradient(100deg, #6ef0b5, #1f8a5c) border-box; color: #fff; border: 1.5px solid transparent; }
.links .pill:hover { color: #fff; box-shadow: 0 6px 18px -8px rgba(52, 211, 153, .6); }
.top .hint { display: none !important; }
.top .clip video { aspect-ratio: 9 / 16 !important; object-position: 50% 50%; }
/* mobil: kolo překrývá spodní okraj videí, aby bylo na prvním screenu */
@media (max-width: 860px) {
  .top .mbar { display: none; }
  .top .drop { width: 168px; margin-top: -98px; }
  .top .upload::before, .top .upload::after { top: calc(-98px + 84px); width: 168px; }
  .dcirc::before { width: 136px; }
  .top .drop .darrow { width: 70px; height: 70px; }
  .top .showcase { margin-bottom: 0; }
}
/* počítač: nadpis nahoře, pod ním vlevo videa, vpravo kolo */
@media (min-width: 861px) {
  .burger, .mmenu:not([hidden]) { display: none; }
  .top { max-width: 900px; margin: 0 auto; padding-top: 14px; grid-template-columns: auto auto; grid-template-areas: "t t" "s c"; justify-content: center; align-items: center; column-gap: 70px; row-gap: 16px; }
  .top::before { left: calc(50% - 50vw); right: calc(50% - 50vw); top: -90px; }
  .mh1 { font-size: 54px; }
  .mlead, .mcta { font-size: 17px; }
  .top .showcase { width: auto; }
  .top .compare { height: min(430px, calc(100vh - 320px)); width: auto; display: flex; }
  .top .clip { height: 100%; }
  .top .clip video { height: 100%; width: auto; }
  .top .drop { width: 220px; margin: 0; }
  .top .upload::before, .top .upload::after { top: 110px; width: 220px; }
  .dcirc::before { width: 186px; }
  .top .drop .darrow { width: 88px; height: 88px; }
}

/* 21. 10. (Petr): logo jako eMastered = ikona G + „UITARVIO“; bez menu; menší „Sign up free“; na mobilu kolo pod videi (nepřekrývá) */
.brand { gap: 3px; }
.gmark { width: 34px; height: 34px; border-radius: 8px; display: block; filter: drop-shadow(0 4px 10px rgba(23, 168, 110, .35)); }
.gword { font-size: 19px; font-weight: 600; letter-spacing: .07em; color: #fff; line-height: 1; padding-top: 2px; }
.links .pill { padding: 5px 12px; font-size: 13.5px; }
@media (max-width: 860px) {
  .nav-in { height: 54px; }
  .gmark { width: 30px; height: 30px; }
  .gword { font-size: 17px; }
  .links .pill { padding: 5px 11px; font-size: 13px; }
  .top { padding-top: 6px; row-gap: 10px; }
  .mh1 { font-size: 34px; margin-bottom: 6px; }
  .mlead { font-size: 14px; margin-bottom: 5px; }
  .mcta { font-size: 14px; }
  .top .compare { width: 84%; margin: 0 auto; }
  .top .drop { width: 132px; margin-top: 4px; }
  .top .upload::before, .top .upload::after { top: calc(4px + 66px); width: 132px; }
  .dcirc::before { width: 106px; }
  .top .drop .darrow { width: 56px; height: 56px; }
  .top .drop::before { inset: -16px; }
}
/* logotyp „Guitarvio“ (Petr 21. 10.): G s play + „uitar“ bílé + „vio“ zelené */
.brand { gap: 0; align-items: flex-end; }
.gmark { width: 31px; height: 31px; border-radius: 0; filter: none; margin-right: 1px; transform: translateY(1px); }
.gw1, .gw2 { font-size: 25px; font-weight: 800; letter-spacing: -0.035em; line-height: .9; }
.gw1 { color: #fff; }
.gw2 { background: linear-gradient(180deg, #2ff0c4, #10a07a); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 860px) { .gmark { width: 28px; height: 28px; } .gw1, .gw2 { font-size: 23px; } }
.gw1, .gw2 { font-family: "Poppins", var(--font); font-weight: 800; letter-spacing: -0.02em; }
.gmark { width: 34px; height: 34px; margin-right: 0; transform: translateY(3px); }
@media (max-width: 860px) { .gmark { width: 30px; height: 30px; } }
.gmark { width: 36px; height: 36px; transform: translateY(4px); filter: drop-shadow(0 0 6px rgba(47, 224, 170, .45)); }
@media (max-width: 860px) { .gmark { width: 32px; height: 32px; } }
.gmark { filter: none; }
.gw2 { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #2fe0aa; }
/* vzdušnější rozložení (Petr 21. 10.: „zbytečně namačkané, dole spousta místa“): volné místo prvního screenu se rozdělí mezi bloky */
@media (max-width: 860px) {
  .top { min-height: calc(100svh - 54px); align-content: space-evenly; row-gap: 12px; padding-top: 8px; padding-bottom: 18px; }
  .mh1 { font-size: 36px; margin-bottom: 10px; }
  .mlead { font-size: 14.5px; margin-bottom: 8px; }
  .mcta { font-size: 14.5px; }
}
@media (min-width: 861px) {
  .top { min-height: calc(100vh - 60px); align-content: space-evenly; row-gap: 20px; padding-bottom: 20px; }
  .mh1 { margin-bottom: 12px; }
  .mlead { margin-bottom: 10px; }
}
.noguitar { margin: 0 0 10px; padding: 10px 12px; border-radius: 12px; font-size: 14px; color: #eef6f1; background: rgba(47, 224, 170, .12); border: 1px solid rgba(47, 224, 170, .35); }

/* ============ Barevné varianty pro test v Metě (Petr 21. 10.): ?c=blue | pink | yellow, výchozí zelená ============
   posun odstínu jen u barevných prvků; videa a fotky beze změny */
html[data-c] .top::before, html[data-c] .mh1 span, html[data-c] .top .drop, html[data-c] .top .upload::before,
html[data-c] .top .upload::after, html[data-c] .gmark, html[data-c] .gw2, html[data-c] .links .pill, html[data-c] .top .tag.big, html[data-c] .noguitar { filter: hue-rotate(var(--hue)); }
html[data-c="blue"] { --hue: 52deg; }
html[data-c="pink"] { --hue: 165deg; }
html[data-c="yellow"] { --hue: -122deg; }
html[data-c="red"] { --hue: -142deg; }
html[data-c="red"] .mh1 span, html[data-c="red"] .gw2, html[data-c="red"] .gmark, html[data-c="red"] .top .drop { filter: hue-rotate(-142deg) saturate(1.45) brightness(1.08); }
html[data-c="yellow"] .mh1 span, html[data-c="yellow"] .gw2, html[data-c="yellow"] .gmark, html[data-c="yellow"] .top .drop { filter: hue-rotate(-122deg) saturate(1.25) brightness(1.12); }
html[data-c] body, html[data-c] .nav { filter: none; }
html[data-c] body { background: color-mix(in srgb, #03140d 100%, transparent); }
html[data-c] .how, html[data-c] .who, html[data-c] .pricing, html[data-c] .foot, html[data-c] dialog { filter: hue-rotate(var(--hue)); }

html[data-c="red"] .gmark, html[data-c="red"] .gw2 { filter: hue-rotate(-149deg) saturate(2.2) brightness(1.12); }

/* přetažení souboru kamkoli do okna: stránka ztmavne, kolo zůstane zářit (Petr 21. 10.) */
.top::after { content: ""; position: fixed; inset: 0; background: rgba(1, 8, 5, .82); opacity: 0; pointer-events: none; transition: opacity .25s ease; z-index: 4; }
body.dragging .top::after { opacity: 1; }
body.dragging .nav, body.dragging main > section:not(.top), body.dragging .foot { filter: brightness(.22); transition: filter .25s ease; }
body.dragging .top .upload { z-index: 6; }
/* dlouhé video: nabídka zkrácení */
.longdlg { max-width: 380px; border: 1px solid rgba(110, 231, 173, .3); border-radius: 18px; background: #082017; color: #eef6f1; padding: 22px; }
.longdlg::backdrop { background: rgba(0, 0, 0, .6); }
.longdlg h3 { margin: 0 0 8px; font-size: 19px; }
.longdlg p { margin: 0 0 18px; color: #c9e0d4; font-size: 15px; line-height: 1.45; }
.longbtns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
#pct { font-variant-numeric: tabular-nums; }
/* logo: lehoučká záře a přechod (Petr 21. 10.) */
.gw1 { background: linear-gradient(180deg, #ffffff 30%, #d9fbe9); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: 0 0 14px rgba(47, 224, 170, .18); }
.gw2 { background: linear-gradient(180deg, #7dffd0, #22c48f); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: 0 0 12px rgba(47, 224, 170, .35); }
.gmark { width: 40px; height: 40px; transform: translateY(5px); margin-right: -2px; }
@media (max-width: 860px) { .gmark { width: 36px; height: 36px; } }

/* náhled nahrávaného videa za kroužkem (Petr 21. 10.: „ať je jasný, že se mi to věnuje“) */
#stepWork { position: relative; overflow: hidden; border-radius: inherit; }
#stepWork > *:not(.workprev) { position: relative; z-index: 1; }
.workprev { display: none; }
#stepWork.hasprev .workprev { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; filter: brightness(.42) saturate(1.1) blur(1.5px); transform: scale(1.08); animation: gvkb 14s ease-in-out infinite alternate; pointer-events: none; }
#stepWork.hasprev::after { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(circle at 50% 38%, rgba(0, 0, 0, .05), rgba(0, 0, 0, .55) 75%); pointer-events: none; }
@keyframes gvkb { from { transform: scale(1.08) translateY(0); } to { transform: scale(1.18) translateY(-2%); } }
@media (prefers-reduced-motion: reduce) { #stepWork.hasprev .workprev { animation: none; } }
.top .card.upload:not(:has(#stepPick:not(.hidden))) { background: rgba(3, 10, 7, .7); border-color: rgba(255, 255, 255, .1); overflow: hidden; }
#stepWork.hasprev #workTitle, #stepWork.hasprev #pct, #stepWork.hasprev #workText, #stepWork.hasprev .eta { text-shadow: 0 1px 3px rgba(0, 0, 0, .8); }
html[data-c] #ring { filter: hue-rotate(var(--hue)); }

/* hotové video: vpravo vedle něj vše, co s ním jde udělat, malé (Petr 21. 10.) */
.top:has(#stepDone:not(.hidden)) .showcase { display: none; }
.top:has(#stepDone:not(.hidden)) .upload { grid-column: 1 / -1; justify-self: center; width: min(100%, 640px); }
#stepDone:not(.hidden) { display: grid; grid-template-columns: auto minmax(160px, 240px); gap: 18px; align-items: start; text-align: left; padding: 14px; }
#stepDone .result video { width: auto; height: min(62vh, 520px); max-width: 100%; }
#stepDone .result-side h2 { margin: 2px 0 6px; font-size: 22px; }
#stepDone .facts { margin: 6px 0 12px; gap: 5px; }
#stepDone .facts li { font-size: 13px; }
#stepDone .facts li::before { margin-top: 7px; }
#stepDone .result-side .btn { font-size: 14px; padding: 10px 12px; border-radius: 11px; margin-top: 8px; }
#stepDone .result-side .note { font-size: 12px; margin: 4px 0 0; }
@media (max-width: 860px) {
  #stepDone:not(.hidden) { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 10px; padding: 10px; }
  #stepDone .result video { height: auto; width: 100%; }
  #stepDone .result-side h2 { font-size: 17px; }
  #stepDone .facts li { font-size: 11.5px; }
  #stepDone .result-side .btn { font-size: 12.5px; padding: 8px 8px; margin-top: 6px; }
  #stepDone .result-side .note { font-size: 10.5px; }
}

/* hotové video: malé nahrávací kolečko vpravo (Petr 21. 10. 2026 – „už ho mám rád“) + křížek u videí */
.minidrop { position: relative; display: grid; place-items: center; width: 92px; height: 92px; margin: 16px auto 0; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: radial-gradient(circle at 50% 45%, #0d3a29 0%, #072519 62%, #04170f 100%);
  box-shadow: 0 0 0 6px rgba(52, 211, 153, .07), 0 0 22px 4px rgba(52, 211, 153, .3), inset 0 0 18px rgba(52, 211, 153, .22); transition: transform .25s, box-shadow .25s; }
.minidrop .mring { position: absolute; inset: -4px; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 0deg, #0b3b2c, #34d399, #b8f6da, #34d399, #0b3b2c, #1f8a5c, #6ee7ad, #0b3b2c);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  filter: drop-shadow(0 0 5px rgba(52, 211, 153, .7)); }
.minidrop .marrow { width: 40px; height: 40px; fill: none; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 3px rgba(190, 255, 225, .95)) drop-shadow(0 0 10px rgba(74, 240, 165, .8)); animation: gvbob 2.4s ease-in-out infinite; }
.minidrop:hover, .minidrop:focus-visible, body.dragging .minidrop { transform: scale(1.08); box-shadow: 0 0 0 8px rgba(52, 211, 153, .1), 0 0 34px 8px rgba(52, 211, 153, .45), inset 0 0 22px rgba(52, 211, 153, .3); outline: none; }
.minidrop:hover .mring, body.dragging .minidrop .mring { animation: gvspin 4s linear infinite; }
#stepDone .mnote { text-align: center; margin-top: 8px; }
html[data-c] .minidrop { filter: hue-rotate(var(--hue)); }
@media (max-width: 860px) { .minidrop { width: 70px; height: 70px; margin-top: 12px; } .minidrop .marrow { width: 30px; height: 30px; } }
@media (prefers-reduced-motion: reduce) { .minidrop .marrow { animation: none; } }
#mineList li { position: relative; transition: opacity .2s, transform .2s; }
#mineList li.gone { opacity: 0; transform: translateX(14px); }
#mineList .rm { flex: none; width: 26px; height: 26px; margin-left: 2px; border: 0; border-radius: 50%; background: transparent; color: var(--ink2); font-size: 19px; line-height: 1; cursor: pointer; opacity: .55; transition: opacity .15s, background .15s; }
#mineList .rm:hover, #mineList .rm:focus-visible { opacity: 1; background: rgba(255, 255, 255, .1); color: #fff; outline: none; }

/* Your library – mřížka 9:16 (Petr 21. 10. 2026: knihovna drží předplatitele) */
#mineList { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
#mineList li { flex-direction: column; align-items: stretch; gap: 6px; padding: 0; background: none; border-radius: 14px; }
#mineList li.on { box-shadow: none; }
#mineList li.on .th { box-shadow: 0 0 0 2px var(--g500, #34d399); }
#mineList .th { position: relative; width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 12px; background: #0a2219; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .8); transition: transform .2s; }
#mineList li:hover .th { transform: translateY(-3px); }
#mineList .ago { position: absolute; left: 6px; bottom: 6px; font-style: normal; font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 99px; background: rgba(0, 0, 0, .6); color: #fff; }
#mineList .tx { padding: 0 2px; }
#mineList .tx b { font-size: 13px; }
#mineList .tx small { font-size: 11.5px; }
#mineList .dl { align-self: flex-start; font-size: 12px; padding: 4px 9px; margin: 0 2px; }
#mineList .rm { position: absolute; top: 6px; right: 6px; z-index: 2; width: 24px; height: 24px; margin: 0; background: rgba(0, 0, 0, .55); color: #fff; opacity: .75; font-size: 17px; }
#mineList .rm:hover, #mineList .rm:focus-visible { background: rgba(0, 0, 0, .8); opacity: 1; }
@media (max-width: 860px) { #mineList { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } }

/* „Get all in Full HD“ jen jako nenápadná možnost, ne velké tlačítko (Petr 21. 10. 2026) */
.mine .dlall { display: inline-flex; align-items: center; gap: 6px; margin: 2px 0 0; padding: 6px 12px; border: 1px solid rgba(207, 236, 220, .18); border-radius: 99px; background: transparent; color: #cfe6da; font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; transition: border-color .15s, color .15s; }
.mine .dlall::before { content: "↓"; font-size: 12px; opacity: .8; }
.mine .dlall:hover, .mine .dlall:focus-visible { border-color: rgba(110, 231, 173, .5); color: #fff; outline: none; }
.mine .dlall.hidden { display: none; }
.mine #dlAllNote { font-size: 11.5px; margin-top: 6px; opacity: .75; }

/* „No video right now? Send me the link“ – nenápadně pod kolečkem (Petr 21. 10. 2026) */
.later { margin: 14px auto 0; text-align: center; position: relative; z-index: 5; }
.later [hidden] { display: none !important; }
.later-open { background: none; border: 0; padding: 4px 6px; color: #b9d3c6; font: inherit; font-size: 13.5px; cursor: pointer; text-shadow: 0 1px 2px rgba(0, 0, 0, .9); }
.later-open u { color: #e6fff3; text-underline-offset: 3px; text-decoration-color: rgba(110, 231, 173, .6); }
.later-open:hover u { text-decoration-color: #6ee7ad; }
.later-row { display: inline-flex; gap: 6px; max-width: 100%; }
.later-row input { width: 210px; max-width: 58vw; padding: 9px 12px; border-radius: 99px; border: 1px solid rgba(207, 236, 220, .25); background: rgba(3, 20, 13, .7); color: #fff; font: inherit; font-size: 14px; }
.later-row input:focus { outline: none; border-color: #6ee7ad; }
.later-row input.bad { border-color: #ff8a7a; }
.later-row button { padding: 9px 16px; border-radius: 99px; border: 0; background: #34d399; color: #03140d; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.later-ok { font-size: 13.5px; color: #c9f5df; }
html[data-c] .later-row button, html[data-c] .later-open u { filter: hue-rotate(var(--hue)); }
/* newsletter dole nad patičkou */
.news { padding: 34px 16px 10px; text-align: center; }
.news .later { margin: 0 auto; }
.news .later-open { font-size: 16px; color: #cfe6da; }

/* čekací listina místo nahrávání (Petr 21. 10. 2026, „jako Dan Martell“) */
.wl { display: grid; gap: 10px; justify-items: center; text-align: center; padding: 14px 6px 6px; position: relative; z-index: 5; }
.wl[hidden], .wl [hidden] { display: none !important; }
.wl-t { font-size: 24px; letter-spacing: -.01em; color: #fff; }
.wl-sub { color: #b9d3c6; font-size: 14.5px; max-width: 30ch; }
.wl-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; width: 100%; max-width: 440px; margin-top: 4px; }
.wl-row input { flex: 1 1 200px; min-width: 0; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(207, 236, 220, .3); background: rgba(3, 20, 13, .75); color: #fff; font: inherit; font-size: 16px; }
.wl-row input:focus { outline: none; border-color: #6ee7ad; }
.wl-row input.bad { border-color: #ff7a7a; }
.wl-row button { flex: 1 1 200px; padding: 14px 18px; border-radius: 14px; border: 2px solid transparent; background: linear-gradient(var(--cta-bg, #0f6b47), var(--cta-bg, #0f6b47)) padding-box, var(--rainbow) border-box; color: #fff; font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; }
.wl-ok { color: #9dffd2; font-weight: 600; font-size: 16px; padding: 10px 0; }

/* Petr 23. 10. 2026: nahrávací kolečko nahoru, pod ním „Upload your video“; ukázka Před/Po menší až pod ním s nadpisem „Example:“ */
@media all {
  .top { grid-template-columns: minmax(0, 1fr); grid-template-areas: "t" "c" "s"; } /* jeden sloupec i na PC → kolečko na středu */
  .uplabel { margin: 26px 0 0; text-align: center; font-size: 18px; font-weight: 700; color: #fff; letter-spacing: -.01em; }
  .top .hint.files { margin-top: 10px; }
  .top .showcase { width: min(380px, 82vw); margin: 22px auto 0; }
  .exlabel { margin: 0 0 8px; height: 22px; font-size: 15px; font-weight: 700; color: #d2e7dc; text-align: center; }
}
/* Petr 23. 10. 2026: „ať se ta šipka nehýbe“ */
@media all {
  .top .drop .darrow, .minidrop .marrow { animation: none !important; }
  .top .drop:hover .darrow, .top .drop.over .darrow { transform: none; }
}
/* 23. 10. 2026: na PC kolečko na střed (měl margin 0) a Před/Po v užší ukázce stejně široké (After přetékalo a ořezávalo se) */
@media all {
  .top .drop { margin-left: auto !important; margin-right: auto !important; }
  .top .compare .clip { flex: 1 1 0; min-width: 0; }
  .top .compare .clip video { width: 100%; }
}
/* Petr 23. 10. 2026: „lidi musí POCHOPIT“ – popisky pod Před/Po a formáty */
@media all {
  .excap { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 10px; text-align: center; font-size: 13.5px; line-height: 1.35; color: #d2e7dc; }
  .excap b { display: block; color: #fff; font-size: 15px; }
  .exfmt { margin: 12px 0 0; text-align: center; font-size: 13.5px; color: #b9d3c6; }
}

/* Petr 23. 10. 2026: hotové video velké přes většinu obrazovky, možnosti až pod ním (na mobilu bylo 145 px široké vedle tlačítek) */
@media all {
  .top:has(#stepDone:not(.hidden)) .mhero { display: none; }
  .top:has(#stepDone:not(.hidden)) .upload { padding: 8px; }
  #stepDone:not(.hidden) { grid-template-columns: minmax(0, 1fr) !important; gap: 14px; padding: 0 !important; }
  #stepDone .result video { width: auto !important; max-width: 100%; height: auto !important; max-height: 82vh; border-radius: 14px; background: #000; object-fit: contain; }
  #stepDone .result-side { display: grid; justify-items: center; text-align: center; max-width: 420px; width: 100%; margin: 0 auto; padding: 0 6px 6px; }
  #stepDone .result-side .btn { width: 100%; font-size: 15px !important; padding: 12px 14px !important; }
  #stepDone .result-side h2 { font-size: 20px !important; }
  #stepDone .facts { text-align: left; }
  #stepDone .facts li { font-size: 13px !important; }
}
@media all { #stepDone { scroll-margin-top: 70px; } } /* ať hotové video nezajede pod horní lištu */
/* štítek kvality na hotovém videu (Petr 23. 10. 2026) */
@media all {
  #stepDone .result { position: relative; }
  .qtag { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); z-index: 2; padding: 5px 12px; border-radius: 999px; background: rgba(0, 0, 0, .62); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .01em; pointer-events: none; white-space: nowrap; }
}
