
:root{
  --text:#0f172a;
  --muted:rgba(15,23,42,.68);
  --brand:#2563eb;
  --brand2:#1d4ed8;
  --line:rgba(15,23,42,.10);
  --shadow:0 24px 70px rgba(15,23,42,.14);

  --panel-x: -13px;
  --panel-y: -57px;
  --att-x: -260px;
  --att-y: 0px;

  --title-x: -93px;
  --title-y: -46px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  /* FIX 2026-01-29: doplněný emoji font stack.
     Bez něj se na Windows některé symboly počasí (☀️/🌤️/⛅/🌧️) renderovaly jako "kolečka"/prázdné čtverce.
     Přidáním Segoe UI Emoji (Windows) / Apple Color Emoji (macOS) / Noto Color Emoji (Linux)
     zůstanou ikony barevné a malé jako v dřívější verzi. */
  font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,"Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji",sans-serif;
  color:var(--text);
  /* MRÁKY VŠUDE – jedno pozadí pro celý web */
  background: url("./assets/images/mraky_fullhd.png") center/cover no-repeat fixed;
}

/* jemný mléčný overlay, aby text neřval */

body::after{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:-2;
  background:
    radial-gradient(900px 520px at 78% 52%, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.00) 70%),
    radial-gradient(800px 460px at 22% 35%, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.00) 72%),
    radial-gradient(650px 380px at 40% 78%, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.00) 70%);
  mix-blend-mode: normal;
  opacity: .59;
}
body::before{
  content:"";
  position:fixed;
  inset:0;
  background: linear-gradient(180deg, rgba(243,247,255,.32), rgba(243,247,255,.28));
  pointer-events:none;
  z-index:-1;
}

/* topbar */
.topbar{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter:blur(12px);
  background: rgba(238,244,255,.74);
  border-bottom:1px solid rgba(255,255,255,.6);
}
.container{ width:min(1200px, calc(100% - 40px)); margin:0 auto; }
.topbar__inner{
  height:64px;
  display:flex; align-items:center; justify-content:space-between; gap:16px;
}
.brand{display:flex; align-items:center; gap:10px;}
.brand__mark{
  width:34px; height:34px;
  border-radius:12px;
  display:grid; place-items:center;
  background:rgba(37,99,235,.12);
  color:var(--brand);
  font-weight:900;
}
.brand__name{font-weight:900; font-size:14px;}
.brand__sub{font-size:12px; color:var(--muted); margin-top:1px;}
.muted{color:rgba(15,23,42,.55); font-weight:800; margin-left:6px; font-size:12px;}
.nav{display:flex; gap:18px;}
.nav a{ text-decoration:none; color:rgba(15,23,42,.78); font-weight:800; font-size:13px;}
.nav a:hover{color:rgba(37,99,235,1);}

/* hero */
.hero{ padding:34px 0 16px; }
.hero__grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:16px;
  align-items:start;
  min-height: 520px;
}
.hero__left{ padding-top: 34px; }
.hero__right{ display:flex; justify-content:flex-end; padding-top: 10px; }
.attendant{
  width:min(460px, 42vw);
  height:auto;
  filter:drop-shadow(0 26px 60px rgba(15,23,42,.20));
  user-select:none;
  pointer-events:none;
}

/* headline */
h1{
  margin:0 0 10px;
  font-size: clamp(40px, 4.6vw, 68px);
  line-height:1.02;
  letter-spacing:-.05em;
  max-width: 720px;
}
.accent{
  display:inline-block;
  margin-top:6px;
  background:linear-gradient(90deg, var(--brand), #3b82f6);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.lead{
  margin:0 0 16px;
  max-width: 70ch;
  color:var(--muted);
  font-size:14px;
  font-weight:650;
}

/* panel – posun doprava k letušce */
.panel{
  width:min(720px, 92vw);
  background: rgba(255,255,255,1);              /* neprůhledné – žádný prosvit ruky */
  border:1px solid rgba(15,23,42,.10);
  border-radius:28px;
  padding:16px;
  box-shadow: 0 30px 86px rgba(15,23,42,.20);
  /* tady je ten POSUN DOPRAVA */
  margin-left: clamp(0px, 7vw, 110px);
  position: relative;
  z-index: 5;

  transform: translate(var(--panel-x), var(--panel-y));}
.panel__grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:12px;
}
.field__label{ font-size:12px; font-weight:900; color:rgba(15,23,42,.62); margin:0 0 6px;}
.field__control{
  width:100%;
  height:46px;
  padding:0 12px;
  border-radius:16px;
  border:1px solid rgba(15,23,42,.12);
  background:#fff;
  outline:none;
  font-weight:800;
  color:rgba(15,23,42,.88);
}
.field__control:focus{
  border-color:rgba(37,99,235,.45);
  box-shadow:0 0 0 4px rgba(37,99,235,.12);
}
.seg{
  display:flex;
  background:rgba(15,23,42,.06);
  border-radius:16px;
  padding:4px;
  border:1px solid rgba(15,23,42,.10);
}
.seg__btn{
  flex:1; height:38px;
  border:0; background:transparent;
  border-radius:12px;
  font-weight:900;
  cursor:pointer;
  color:rgba(15,23,42,.78);
}
.seg__btn.is-on{
  background:#fff;
  box-shadow:0 10px 24px rgba(15,23,42,.10);
  color:rgba(37,99,235,1);
}

.panel__row{ margin-top:12px; }
.panel__label{ font-size:12px; font-weight:900; color:rgba(15,23,42,.62); margin-bottom:8px; }
.chips{ display:flex; gap:8px; flex-wrap:wrap; }
.chip{
  height:34px;
  padding:0 12px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.10);
  background:rgba(255,255,255,.98);
  box-shadow:0 10px 24px rgba(15,23,42,.08);
  font-weight:900;
  font-size:12px;
  cursor:pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, color .12s ease;
}
.chip:hover{ transform:translateY(-1px); box-shadow:0 16px 34px rgba(15,23,42,.10); }
.chip.is-on{
  background: linear-gradient(180deg, var(--brand), var(--brand2));
  border-color: rgba(37,99,235,1);
  color:#fff;
  box-shadow:0 18px 40px rgba(37,99,235,.22);
}

.panel__actions{ margin-top:14px; display:flex; gap:10px; }
.btn{
  height:44px;
  border-radius:16px;
  padding:0 14px;
  font-weight:900;
  cursor:pointer;
  border:1px solid rgba(15,23,42,.12);
  background:#fff;
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}
.btn:hover{ transform: translateY(-1px); box-shadow:0 14px 30px rgba(15,23,42,.10); }
.btn--primary{
  border:0;
  color:#fff;
  background: linear-gradient(180deg, var(--brand), var(--brand2));
  box-shadow:0 18px 44px rgba(37,99,235,.24);
}
.btn--ghost{
  background: rgba(255,255,255,.98);
  border:1px solid rgba(15,23,42,.14);
}
.status{ margin-top:10px; font-size:13px; font-weight:700; color:rgba(15,23,42,.70); }

/* airlines */
.airlines{ margin-top:14px; display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.airlines__label{ font-size:12px; color:rgba(15,23,42,.62); font-weight:900; }
.airlines__list{ display:flex; gap:8px; flex-wrap:wrap; }
.pill{
  display:inline-flex; align-items:center;
  height:28px; padding:0 10px;
  border-radius:999px;
  background: rgba(255,255,255,.92);
  border:1px solid rgba(255,255,255,.70);
  box-shadow:0 12px 26px rgba(15,23,42,.08);
  font-weight:900; font-size:12px;
  color:rgba(15,23,42,.78);
}

/* results */
.results{ padding: 10px 0 50px; }
.results__head{
  display:flex; align-items:flex-end; justify-content:space-between; gap:16px;
  margin: 10px 0 14px;
}
h2{ margin:0; font-size:22px; font-weight:1000; }
.results__sub{ color:rgba(15,23,42,.62); font-weight:700; font-size:13px; }

.grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 340px));
  gap: 16px;
  justify-content: center;
}

/* card – menší, hezčí, bez ubytování “od ...” řádku */
.card{
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.70);
  border-radius: 26px;
  box-shadow: 0 26px 74px rgba(15,23,42,.14);
  padding: 12px;
  display:flex; flex-direction:column; gap:10px;
  transition: transform .16s ease, box-shadow .16s ease;
  /* v6.4 - karta je klikací (otevře detail) */
  cursor: pointer;
}
.card:hover{ transform: translateY(-3px); box-shadow: 0 34px 92px rgba(15,23,42,.18); }
.card__top{ display:flex; justify-content:space-between; gap:10px; }
.card__route{ font-weight:1000; font-size:13px; }
.price{ font-weight:1000; font-size:18px; color:rgba(37,99,235,1); text-align:right; }


.card{
  position: relative;
  overflow: visible;
}
.card::after{
  content:"";
  position:absolute;
  left: 8px; right: 8px;
  bottom: -18px;
  height: 62px;
  pointer-events:none;
  /* "mrak" pod kartou */
  background:
    radial-gradient(40px 28px at 10% 55%, rgba(255,255,255,.85) 0 60%, rgba(255,255,255,0) 70%),
    radial-gradient(55px 35px at 32% 45%, rgba(255,255,255,.88) 0 60%, rgba(255,255,255,0) 72%),
    radial-gradient(70px 42px at 55% 55%, rgba(255,255,255,.86) 0 60%, rgba(255,255,255,0) 74%),
    radial-gradient(55px 34px at 78% 45%, rgba(255,255,255,.88) 0 60%, rgba(255,255,255,0) 72%),
    radial-gradient(40px 26px at 92% 55%, rgba(255,255,255,.85) 0 60%, rgba(255,255,255,0) 70%),
    linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0));
  filter: blur(0.3px);
  opacity: .85;
  z-index: -1;
}
.badges{ display:flex; gap:6px; flex-wrap:wrap; margin-top:6px; }
.badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  height:24px;
  padding:0 9px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.92);
  font-weight:900;
  font-size:11px;
  color:rgba(15,23,42,.78);
}
.badge--air img{ display:block; }
.airlogo{ width:16px; height:16px; border-radius:4px; }
.badge--hot{ background: rgba(255,59,48,.10); border-color: rgba(255,59,48,.20); color: rgba(185,28,28,1); }

.kvs{ display:grid; grid-template-columns: 1fr 1fr; gap:10px; }
.kv{
  background: rgba(255,255,255,.95);
  border:1px solid rgba(15,23,42,.08);
  border-radius: 18px;
  padding: 9px 11px;
  box-shadow: 0 10px 22px rgba(15,23,42,.08);
}
.kv__k{ font-size:10px; font-weight:900; color:rgba(15,23,42,.55); margin-bottom:2px; }
.kv__v{ font-size:13px; font-weight:1000; color:rgba(15,23,42,.86); }

/* předpověď – MENŠÍ písmo + ikony, bez scrolování */
.forecast{
  display:flex;
  gap:6px;
  padding: 8px;
  border-radius: 18px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(15,23,42,.08);
  flex-wrap: wrap;           /* žádný posuvník */
}
.forecast__day{
  flex: 1 1 0;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.98);
  padding: 6px 6px;
  text-align:center;
  box-shadow: 0 8px 18px rgba(15,23,42,.07);
}
.forecast__d{ font-size:10px; font-weight:900; color:rgba(15,23,42,.60); }
.forecast__t{ font-size:11px; font-weight:1000; margin-top:3px; }
.forecast__i{ font-size:12px; }

/* v6.12.14 - mini forecast used directly inside result cards */
.forecast--mini{
  margin-top: 8px;
  padding: 6px;
  border-radius: 16px;
  background: rgba(255,255,255,.88);
  box-shadow: none;
}
.forecast--mini .forecast__day{
  padding: 4px 4px;
  border-radius: 12px;
  box-shadow: none;
}
.forecast--mini .forecast__d{ font-size:9px; }
.forecast--mini .forecast__t{ font-size:10px; }
.forecast--mini .forecast__i{ font-size:11px; }

/* tlačítka v kartě – hezčí */
.actions{ display:flex; gap:8px; margin-top:auto; }
.actions .btn{ flex:1; height:40px; border-radius: 14px; font-size: 12px; }
.btn--buy{ border:0; background: linear-gradient(180deg, var(--brand), var(--brand2)); color:#fff; box-shadow: 0 16px 40px rgba(37,99,235,.24); }
.btn--ghost2{ background: rgba(255,255,255,.98); border:1px solid rgba(15,23,42,.14); }

/* footnote */
.footnote{ padding:26px 0 44px; }
.footnote__inner{
  background:#fff;
  border:1px solid rgba(15,23,42,.10);
  border-radius:26px;
  box-shadow:0 20px 60px rgba(15,23,42,.10);
  padding:18px;
}
.footnote__title{ font-weight:1000; margin-bottom:6px; }
.footnote__txt{ color:rgba(15,23,42,.70); font-weight:650; }

/* responsive */
@media (max-width: 1050px){
  .hero__grid{ grid-template-columns: 1fr; min-height: unset; }
  .hero__right{ order:-1; justify-content:center; }
  .attendant{ width:min(380px, 76vw); }
  .panel{ margin-left: 0; }
  .panel__grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid{ grid-template-columns: repeat(2, minmax(0, 360px)); }
  .results__head{ flex-direction: column; align-items:flex-start; }
}
@media (max-width: 640px){
  .panel__grid{ grid-template-columns: 1fr; }
  .panel__actions{ flex-direction: column; }
  .grid{ grid-template-columns: 1fr; }
  .nav{ display:none; }
}

/* --- v1.14: Position tuning + clean layering --- */
.hero__right{ position: relative; z-index: 1; }
.attendant{
  position: relative;
  z-index: 1;
  transform: translate(var(--att-x), var(--att-y));
  pointer-events: none; /* always behind & not blocking form */
}

/* Keep the whole page on a single cloud background */
body{
  background-attachment: fixed;
  background-size: cover;
}

/* Tuning panel */
.tuner{
  margin-top: 14px;
  display: inline-block;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(40,70,130,.12);
  backdrop-filter: blur(8px);
}
.tuner__title{ font-weight: 700; font-size: 13px; margin-bottom: 8px; color: #1a2b45; }
.tuner__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
  max-width: 520px;
}
.tuner__row{ display: grid; grid-template-columns: 90px 1fr; align-items: center; gap: 10px; font-size: 12px; color: #314764; }
.tuner input[type="range"]{ width: 100%; }
.tuner__hint{ margin-top: 8px; font-size: 11px; color: rgba(30,45,70,.7); }

/* Glossy buttons (latex-like shine) */
.btn, .chip, .pill{
  position: relative;
  overflow: hidden;
}
.btn::after{
  content:"";
  position:absolute;
  top:-40%;
  left:-60%;
  width: 60%;
  height: 180%;
  background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.55) 45%, rgba(255,255,255,0) 80%);
  transform: rotate(18deg);
  opacity: 0;
  transition: left .55s ease, opacity .25s ease;
}
.btn:hover::after{
  left: 130%;
  opacity: .9;
}

/* MonthYear input match */
input[type="month"].field__control{ padding-right: 38px; }

.chip:hover{
  filter: brightness(1.03);
  box-shadow: 0 8px 20px rgba(40,60,120,.12);
}

.hero__copy{
  transform: translate(var(--title-x), var(--title-y));
  will-change: transform;
}

/* v1.16: floating tuning controls (not under the form) */
.tuner--floating{
  position: fixed;
  left: 18px;
  bottom: 18px;
  max-width: 520px;
  width: min(520px, calc(100vw - 36px));
  z-index: 1000;
  box-shadow: 0 18px 55px rgba(10,30,70,.22);
  border: 1px solid rgba(40,70,130,.18);
}
.tuner--floating[data-open="false"]{ display:none; }

.tuner__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.tuner__close{
  border: 0;
  background: rgba(0,0,0,.06);
  padding: 6px 10px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
}

.tuner-fab{
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 5000;
}
.tuner-fab__btn{
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  cursor: pointer;
  color: #0f1a2d;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 40px rgba(10,30,70,.20);
}
.tuner-fab__btn:hover{
  box-shadow: 0 18px 55px rgba(10,30,70,.26);
  transform: translateY(-1px);
}

/* Letuška vystupuje z mraků – jemný oblak před spodní částí postavy */
.hero__att{
  position: relative;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,.18));
}
.hero__att::after{
  content:"";
  position:absolute;
  left:-18%;
  right:-18%;
  bottom:-12%;
  height:55%;
  pointer-events:none;
  background:
    radial-gradient(60% 50% at 50% 80%, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.00) 75%),
    radial-gradient(55% 45% at 20% 88%, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.00) 72%),
    radial-gradient(55% 45% at 80% 90%, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.00) 72%),
    linear-gradient(180deg, rgba(255,255,255,0.00) 0%, rgba(255,255,255,0.85) 65%, rgba(255,255,255,0.98) 100%);
  filter: blur(1px);
  opacity: 1;
}

/* Čitelnější nadpisy nad mraky */
.hero h1{
  text-shadow: 0 12px 30px rgba(0,0,0,.10);
  letter-spacing: -0.02em;
}
.hero .subtitle{
  text-shadow: 0 8px 22px rgba(0,0,0,.10);
  backdrop-filter: blur(6px);
  background: rgba(255,255,255,0.22);
  display: inline-block;
  padding: 8px 10px;
  border-radius: 12px;
}

/* Karty výsledků – skleněný efekt + hezčí hover */
.card{
  border: 1px solid rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 45px rgba(0,0,0,.10);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.card:hover{
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(0,0,0,.16);
  background: rgba(255,255,255,0.88);
}
.forecast{
  display:flex;
  gap:6px;
  padding: 8px;
  border-radius: 18px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(15,23,42,.08);
  flex-wrap: wrap;           /* žádný posuvník */
}
.forecast__day{
  min-width: 62px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.70);
  border: 1px solid rgba(0,0,0,0.06);
  text-align:center;
  box-shadow: 0 10px 22px rgba(0,0,0,.06);
}
.forecast__d{
  font-size: 11px;
  color: rgba(0,0,0,.55);
  line-height: 1;
  margin-bottom: 4px;
}
.forecast__t{
  font-weight: 800;
  font-size: 12px;
  line-height: 1;
}
.forecast__i{
  margin-right: 4px;
}

/* Latex/glossy hover pro tlačítka */
.btn{
  position: relative;
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn::after{
  content:"";
  position:absolute;
  top:-120%;
  left:-40%;
  width: 60%;
  height: 260%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, rgba(255,255,255,0.0), rgba(255,255,255,0.55), rgba(255,255,255,0.0));
  opacity: .0;
  transition: opacity .18s ease, transform .45s ease;
}
.btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(0,0,0,.14);
}
.btn:hover::after{
  opacity: .9;
  transform: translateX(120%) rotate(18deg);
}
.btn--buy{
  background: linear-gradient(180deg, #2f6bff 0%, #2250d8 100%);
}
.btn--ghost2{
  background: rgba(255,255,255,0.70);
}

.results__head{
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.40);
  backdrop-filter: blur(10px);
}

.tuner__actions{
  margin-top: 10px;
  display:flex;
  gap:10px;
  align-items:center;
  justify-content: space-between;
}
.tuner__copy{
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.85);
  font-weight: 800;
  cursor: pointer;
}
.tuner__copy:hover{
  background: rgba(255,255,255,0.95);
}
.tuner__readout{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 11px;
  color: rgba(0,0,0,.65);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 360px;
}

.airlineLine{
  display:flex; align-items:center; gap:10px;
}
.airLogo{
  width: 26px; height: 26px;
  border-radius: 999px;
  display:inline-flex;
  align-items:center; justify-content:center;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .2px;
  color: rgba(15,23,42,.92);
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.95) 0%, rgba(255,255,255,.55) 35%, rgba(255,255,255,.15) 70%),
              linear-gradient(180deg, rgba(255,255,255,.20), rgba(255,255,255,0));
  border: 1px solid rgba(15,23,42,.14);
  box-shadow: 0 10px 22px rgba(15,23,42,.12);
}
.airLogo[data-tone="blue"]{ background:
  radial-gradient(circle at 30% 25%, rgba(255,255,255,.95) 0%, rgba(255,255,255,.45) 35%, rgba(255,255,255,.15) 70%),
  linear-gradient(180deg, rgba(37,99,235,.35), rgba(37,99,235,.05));
  border-color: rgba(37,99,235,.25);
}
.airLogo[data-tone="pink"]{ background:
  radial-gradient(circle at 30% 25%, rgba(255,255,255,.95) 0%, rgba(255,255,255,.45) 35%, rgba(255,255,255,.15) 70%),
  linear-gradient(180deg, rgba(236,72,153,.35), rgba(236,72,153,.05));
  border-color: rgba(236,72,153,.22);
}
.airLogo[data-tone="orange"]{ background:
  radial-gradient(circle at 30% 25%, rgba(255,255,255,.95) 0%, rgba(255,255,255,.45) 35%, rgba(255,255,255,.15) 70%),
  linear-gradient(180deg, rgba(249,115,22,.35), rgba(249,115,22,.05));
  border-color: rgba(249,115,22,.22);
}
.airLogo[data-tone="green"]{ background:
  radial-gradient(circle at 30% 25%, rgba(255,255,255,.95) 0%, rgba(255,255,255,.45) 35%, rgba(255,255,255,.15) 70%),
  linear-gradient(180deg, rgba(34,197,94,.32), rgba(34,197,94,.05));
  border-color: rgba(34,197,94,.22);
}



/* v1.21 - zvyrazneni mraku: mene bileho prekladu + jemny kontrast */
body {
  background-attachment: fixed;
}

/* v1.21 - hodnoty slideru (viditelné číslo) */
.tuner__val{
  display:inline-block;
  min-width:3.2ch;
  text-align:right;
  font-style:normal;
  font-weight:800;
  color:#0f172a;
  opacity:.75;
  margin-left:.35rem;
}

/* v6.4 - DETAIL MODAL (klik na kartu -> detail jako Skyscanner) */
.modal{ position:fixed; inset:0; display:none; z-index:9999; pointer-events:none; }
.modal.is-open{ display:block; pointer-events:auto; }

.modal__backdrop{ position:absolute; inset:0; background: rgba(2,6,23,.55); backdrop-filter: blur(4px); }
.modal__dialog{
  position:relative;
  width: min(860px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  overflow: hidden;
  margin: 12px auto;
  border-radius: 24px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: 0 30px 120px rgba(2,6,23,.55);
}
.modal__head{ display:flex; justify-content:space-between; align-items:flex-start; gap:12px; padding: 16px 16px 10px; border-bottom: 1px solid rgba(15,23,42,.08); }
.modal__title{ font-weight:1000; font-size:18px; color:#0f172a; }
.modal__subtitle{ margin-top:4px; font-weight:800; font-size:12px; color: rgba(15,23,42,.62); }
.modal__close{ border:1px solid rgba(15,23,42,.12); background: rgba(255,255,255,.85); border-radius: 12px; height: 38px; width: 38px; font-size:16px; cursor:pointer; }
.modal__content{ padding: 12px 16px 8px; overflow:auto; max-height: calc(100vh - 210px); }
.modal__actions{ padding: 12px 16px 16px; display:flex; flex-wrap:wrap; gap:10px; border-top: 1px solid rgba(15,23,42,.08); background: rgba(255,255,255,.85); }

.detailGrid{ display:grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.detailBox{ border:1px solid rgba(15,23,42,.08); background: rgba(255,255,255,.75); border-radius: 18px; padding: 12px; }
.detailK{ font-size:11px; font-weight:900; color: rgba(15,23,42,.55); }
.detailV{ margin-top:4px; font-size:13px; font-weight:900; color:#0f172a; }
.detailRoute{ font-size:15px; font-weight:1000; }
.detailPrice{ font-size:20px; font-weight:1000; color: rgba(37,99,235,1); }
@media (max-width: 720px){
  .detailGrid{ grid-template-columns: 1fr; }
  .modal__content{ max-height: calc(100vh - 240px); }
}


/* v6.5 - Klikací hlavička karty (země + vlajka + cena) + přehlednější karty */
.card__headclick{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px;
  border-radius:16px;
  background: rgba(255,255,255,.75);
  cursor:pointer;
}
.card__headclick:focus{
  outline: 2px solid rgba(0,0,0,.25);
  outline-offset: 2px;
}
.card__country{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.flag{
  width:24px;
  height:18px;
  border-radius:4px;
  box-shadow: 0 1px 6px rgba(0,0,0,.15);
  flex:0 0 auto;
}
.card__countrytxt{
  min-width:0;
}
.card__countryname{
  font-weight:800;
  font-size:14px;
  line-height:1.1;
  color:#111827;
}
.card__route{
  font-weight:700;
  font-size:12px;
  color:#374151;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:240px;
}


/* v6.7 – Skyscanner-like cards: hero image + country/flag header clickable */
.card.card--sky{
  overflow: hidden;
  padding: 0;
}
.card--sky .card__headclick{
  display:block;
  padding: 0;
  border-radius: 18px;
  overflow:hidden;
}
.card__hero{
  position: relative;
  height: 120px;
  background: #e9eef7;
}
.card__heroimg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  filter: saturate(1.05);
}
.card__hero::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.10) 0%, rgba(0,0,0,.55) 100%);
}
.card__heroTop{
  position:absolute;
  left:14px;
  right:14px;
  bottom:12px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  z-index:1;
  color:#fff;
}
.card__heroTitle{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.card__heroTitle .flag{
  width:26px;
  height:19px;
  border-radius:4px;
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
}
.card__countryname{
  color: #fff;
  font-weight: 900;
  letter-spacing: .2px;
  font-size: 16px;
  white-space: nowrap;
  overflow:hidden;
  text-overflow: ellipsis;
}
.card__route{
  color: rgba(255,255,255,.9);
}
.card__heroPrice{
  font-weight: 900;
  font-size: 18px;
  line-height: 1;
  white-space: nowrap;
}
.card__skyBody{
  padding: 12px 14px 14px 14px;
}
.card__skyBody .badges{ margin-top: 0 !important; }

/* v6.9 – Country detail modal list (Skyscanner-like: country card -> list of offers) */
.detail__top{ position:relative; border-radius:16px; overflow:hidden; margin-bottom:12px; }
.detail__hero{ width:100%; height:160px; object-fit:cover; display:block; }
.detail__top::after{ content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(0,0,0,.10) 0%, rgba(0,0,0,.62) 100%); }
.detail__topbar{ position:absolute; left:14px; right:14px; bottom:12px; z-index:1; color:#fff; }
.detail__title{ display:flex; align-items:center; gap:10px; font-weight:1000; font-size:18px; }
.detail__title .flag{ width:26px; height:19px; border-radius:4px; box-shadow:0 2px 10px rgba(0,0,0,.25); }
.detail__subtitle{ margin-top:4px; font-weight:800; font-size:12px; opacity:.95; }
.detail__list{ display:flex; flex-direction:column; gap:10px; }

.mini{ border:1px solid rgba(15,23,42,.10); background: rgba(255,255,255,.92); border-radius:14px; padding:12px; }
.mini__top{ display:flex; justify-content:space-between; align-items:flex-start; gap:12px; }
.mini__route{ font-weight:900; color:#0f172a; }
.mini__price{ font-weight:1000; color:#1d4ed8; white-space:nowrap; }
.mini__badges{ margin-top:8px; display:flex; flex-wrap:wrap; gap:8px; }
.mini .actions{ margin-top:10px; }
.miniGrid{ display:grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap:14px; }
.mini__row{ display:flex; justify-content:space-between; align-items:flex-start; gap:12px; }
.mini__meta{ margin-top:8px; display:flex; flex-wrap:wrap; gap:8px; }



/* --- v6.12.2 doplnění: logo aerolinky + mini počasí v detailních kartách --- */
.airlineLogo{
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
  border-radius: 6px;
  background: rgba(255,255,255,0.75);
  padding: 2px;
}
.miniAirline{
  display:flex;
  align-items:center;
  gap:6px;
  margin-bottom:6px;
}
.miniWx{
  margin-top:6px;
  font-size: 12px;
  opacity: 0.95;
}
.wxNow{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:4px;
}
.wxIcon{ font-size: 16px; }
.wxTemp{ font-weight: 700; }
.wxFc{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}
.wxDay{
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(0,0,0,0.08);
}
