/* =====================================================================
   Infinit Ceremonial Board - PHP verze
   Rozmery, breakpointy a hodnoty prevzaty 1:1 z produkcniho buildu.

   Breakpointy puvodni aplikace (Quasar mel upravene lg/xl):
     sm 600px | md 1024px | lg 1901px | xl 3701px
   Typografie a velikosti maji tri stupne:
     <=1900px  ... maly (TV/monitor do FullHD)
     1901-3700 ... zakladni (FullHD panely)
     >=3701px  ... 4K panely
   ===================================================================== */

:root {
  --primary: #41aaa0;          /* prepisuje se z resort.color */
  --dark: #1d1d1d;             /* Quasar $dark */
  --hairline: rgba(255, 255, 255, .15);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
}

body {
  font-family: Soleil, sans-serif;
  background-color: #111;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  /* Quasar zaklad - dulezite, protoze na nem stoji vsechny em hodnoty (ikony) */
  font-size: 14px;
  line-height: 1.5;
}

/* ------------------------------------------------ fonty */
@font-face { font-family: Infinit; src: url(../asset.php?f=infinit_font.woff2) format("woff2"); font-weight: 400; font-style: normal; }
@font-face { font-family: Soleil;  src: url(../asset.php?f=soleil-bold.woff2)  format("woff2"); font-weight: 700; font-style: normal; }
@font-face { font-family: Soleil;  src: url(../asset.php?f=soleil-light.woff2) format("woff2"); font-weight: 400; font-style: normal; }

.font-infinit { font-family: Infinit, sans-serif; }
.font-bold { font-weight: 700; }
.text-uppercase { text-transform: uppercase; }
.text-primary { color: var(--primary) !important; }
.text-white { color: #fff !important; }

/* ------------------------------------------------ typografie (3 stupne)
   font-weight a letter-spacing prevzaty z Quasar typografie - bez nich
   se text renderuje jinou sirkou nez v produkci. */
h1 { font-weight: 300; letter-spacing: -.01562em; }
h2 { font-weight: 300; letter-spacing: -.00833em; }
h3 { font-weight: 400; letter-spacing: normal; }
h4 { font-weight: 400; letter-spacing: .00735em; }
h5 { font-weight: 400; letter-spacing: normal; }
h6 { font-weight: 500; letter-spacing: .0125em; }

h1 { font-size: 60px; margin: 0; line-height: .8; color: #fff; }
h2 { font-size: 48px; margin: 0; line-height: 1;  color: #fff; }
h3 { font-size: 32px; margin: 0; line-height: .8; color: #fff; }
h4 { font-size: 24px; margin: 0; line-height: .8; color: #fff; padding-top: 0 !important; }
h5 { font-size: 18px; margin: 0; line-height: 1;  color: #fff; }
h6 { font-size: 16px; margin: 0; line-height: 1;  color: #fff; }
p  { font-size: 22px; line-height: 1.4; color: #fff; margin: 0; }
.text-subtitle1 { font-size: 1rem; font-weight: 400; line-height: 1.75rem; letter-spacing: .00937em; }

@media (max-width: 1900px) {
  h1 { font-size: 42px; } h2 { font-size: 32px; } h3 { font-size: 20px; }
  h4 { font-size: 16px; } h5 { font-size: 12px; } h6 { font-size: 10px; }
  p  { font-size: 14.5px; }
}
@media (min-width: 3700px) {
  h1 { font-size: 120px; } h2 { font-size: 96px; } h3 { font-size: 64px; }
  h4 { font-size: 48px; }  h5 { font-size: 40px; } h6 { font-size: 36px; }
  p  { font-size: 44px; }
}

/* =====================================================================
   Layout stranky - misto QLayout / QHeader / QFooter
   ===================================================================== */
.cb-layout {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}
.cb-header { flex: 0 0 auto; background: transparent; }
.cb-main   { flex: 1 1 auto; min-height: 0; overflow: hidden; }
.cb-footer { flex: 0 0 auto; background: transparent; }

/* header s odsazenim pri padding=true (puvodni px-2xl q-pt-lg) */
.cb-layout.is-padding .cb-header { padding: 24px 72px 0; }

/* ------------------------------------------------ hlavicka */
.cb-header-row {
  display: flex;
  flex-wrap: wrap;
  padding: 16px;                       /* q-pa-md */
}
@media (min-width: 1024px) { .cb-header-row { padding: 24px; } }   /* q-pa-md-lg */
@media (min-width: 1901px) { .cb-header-row { padding: 48px; } }   /* q-pa-lg-xl */

.cb-header-titles { flex: 10000 1 0%; margin-right: 16px; }        /* col q-mr-md */

/* ------------------------------------------------ status panel (datum, cas, teplota) */
.cb-status {
  display: flex;
  flex-wrap: wrap;
  position: relative;
}
.cb-status:before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -73%);
  width: 536px; height: 536px;
  background-color: #000;
  border-radius: 50%;
  z-index: -1;
}
@media (max-width: 1900px) { .cb-status:before { width: 340px;  height: 340px; } }
@media (min-width: 3700px) { .cb-status:before { width: 1040px; height: 1040px; } }

.cb-status-time {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex: 0 0 auto;
}
.cb-status-date, .cb-status-clock { display: flex; flex-wrap: wrap; justify-content: flex-end; }
.cb-status-date { margin-bottom: 4px; }                                     /* q-mb-xs */
@media (min-width: 1901px) { .cb-status-date { margin-bottom: 8px; } }       /* q-mb-lg-sm */
@media (min-width: 3701px) { .cb-status-date { margin-bottom: 16px; } }      /* q-mb-xl-md */

.cb-status-temp {
  display: flex; flex-direction: column; flex-wrap: wrap; justify-content: flex-end;
  margin-left: 30px; padding-left: 30px;
  border-left: 1px solid rgba(255, 255, 255, .2);
}
.cb-status-temp > .font-bold { margin-bottom: 4px; }
@media (max-width: 1900px) { .cb-status-temp { margin-left: 15px; padding-left: 15px; } }
@media (min-width: 3700px) { .cb-status-temp { margin-left: 60px; padding-left: 60px; } }
@media (min-width: 1901px) { .cb-status-temp > .font-bold { margin-bottom: 8px; } }
@media (min-width: 3701px) { .cb-status-temp > .font-bold { margin-bottom: 16px; } }

/* ------------------------------------------------ pas "Nejblizsi ritual"
   V produkci je to JEDEN element: NextRitualPanel dostane z layoutu tridy
   q-px-* + q-py-sm + border-top-bottom a sam ma q-py-lg + blur.
   Vertikalni padding vyhraje q-py-lg (24px). */
.cb-next {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  overflow: hidden;
  padding: 24px 16px;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
@media (min-width: 1024px) { .cb-next { padding-left: 24px; padding-right: 24px; } }
@media (min-width: 1901px) { .cb-next { padding-left: 48px; padding-right: 48px; } }
@media (max-width: 1900px) {
  .cb-next { border-top-color: rgba(255,255,255,.1); border-bottom-color: rgba(255,255,255,.1);
             backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
}
@media (min-width: 3700px) {
  .cb-next { border-top-color: rgba(255,255,255,.3); border-bottom-color: rgba(255,255,255,.3);
             backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
}
.cb-next:empty { padding: 0; border: 0; }

/* caret = presna geometrie Font Awesome fa-caret-right (viewBox 256x512 -> sirka .5em) */
.cb-caret { width: .5em; height: 1em; fill: currentColor; flex: 0 0 auto; display: block; }

.cb-next-caret { flex: 0 0 auto; font-size: 5.3em; color: var(--primary); line-height: 1; }
@media (max-width: 1900px) { .cb-next-caret { font-size: 3em; } }
@media (min-width: 3700px) { .cb-next-caret { font-size: 12em; } }

.cb-next-body { flex: 10000 1 0%; font-weight: 700; text-align: center; }

.cb-next-grid {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  margin-left: -16px; margin-top: -16px;                /* q-col-gutter-md */
}
.cb-next-grid > * { padding-left: 16px; padding-top: 16px; }
@media (min-width: 1901px) {
  .cb-next-grid { margin-left: -24px; margin-top: -24px; }
  .cb-next-grid > * { padding-left: 24px; padding-top: 24px; }
}
@media (min-width: 3701px) {
  .cb-next-grid { margin-left: -48px; margin-top: -48px; }
  .cb-next-grid > * { padding-left: 48px; padding-top: 48px; }
}

.cb-next-list { flex: 0 0 auto; margin-left: -8px; margin-top: -8px; }   /* q-col-gutter-sm */
.cb-next-list > * { padding-left: 8px; padding-top: 8px; }

.cb-next-time { color: var(--primary); text-align: left; }
.cb-next-time > div { display: inline-block; width: 4.25em; }

/* =====================================================================
   Telo - seznam ceremonialu
   ===================================================================== */
.cb-page {
  height: 100%;
  padding: 8px 16px;                                    /* q-px-md q-py-sm */
}
@media (min-width: 1024px) { .cb-page { padding-left: 24px; padding-right: 24px; padding-top: 16px; padding-bottom: 16px; } }
@media (min-width: 1901px) { .cb-page { padding-left: 48px; padding-right: 48px; } }
@media (min-width: 3701px) { .cb-page { padding-top: 24px; padding-bottom: 24px; } }

/* Layouty 2 a 3: vnejsi kontejner je BEZ paddingu (v produkci QPage.row),
   padding ma az vnitrni sloupec s ceremonialy. */
.cb-page-row { display: flex; flex-wrap: wrap; align-items: stretch; height: 100%; overflow: hidden; }
.cb-ceremonies-col { flex: 0 0 auto; width: 75%; }      /* col-9 */

.cb-cols { display: flex; flex-wrap: wrap; }
.cb-col  { flex: 10000 1 0%; }
.cb-vsep { width: 1px; align-self: stretch; background: #212121; }   /* QSeparator vertical grey-9 */

/* ------------------------------------------------ radek ceremonialu */
.cb-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  height: 83px;                                          /* panel-height */
}
@media (max-width: 1900px) { .cb-item { height: 55px; } }
@media (min-width: 3700px) { .cb-item { height: 187px; } }

.cb-item .arrow-icon { font-size: 2.3em; visibility: hidden; line-height: 1; flex: 0 0 auto; }
@media (max-width: 1900px) { .cb-item .arrow-icon { font-size: 1.6em; } }
@media (min-width: 3700px) { .cb-item .arrow-icon { font-size: 4.7em; } }
.cb-item.is-next .arrow-icon { visibility: visible; }
.cb-item.is-next h3 { font-weight: 700; }
.cb-item.is-past h3, .cb-item.is-past .area-icon { opacity: .2; }

.cb-item-time {
  flex: 0 0 auto; width: 8.3333%;                        /* col-1 */
  margin-left: 16px; margin-right: 16px;                 /* q-mx-md */
}
@media (min-width: 1901px) { .cb-item-time { margin-left: 24px; margin-right: 24px; } }
@media (min-width: 3701px) { .cb-item-time { margin-left: 48px; margin-right: 48px; } }

.cb-item-text {
  flex: 10000 1 0%;                                      /* col */
  margin-left: 8px; margin-right: 8px;                   /* q-mx-sm */
  line-height: 1.1;
}
@media (min-width: 1901px) { .cb-item-text { margin-left: 16px; margin-right: 16px; } }
@media (min-width: 3701px) { .cb-item-text { margin-left: 24px; margin-right: 24px; } }

/* Geometrie Quasar QIcon - bez ni sedi vysky o par px vedle.
   content-box je podstatny: padding se pricita k 1em, nezmensuje ho. */
.area-icon, .cb-legend-place .icon, .cb-aside-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1em; height: 1em; line-height: .75em; box-sizing: content-box;
}

.area-icon {
  color: #fff; background-color: #000; border-radius: 50%;
  font-size: 28px; padding: 11px; flex: 0 0 auto;
}
@media (max-width: 1900px) { .area-icon { font-size: 19px; padding: 7.5px; } }
@media (min-width: 3700px) { .area-icon { font-size: 56px; padding: 22px; } }
.area-icon.is-empty { visibility: hidden; }

/* =====================================================================
   Patka - legenda mist a zanru
   ===================================================================== */
.cb-footer-row {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  padding: 24px 48px;                                    /* q-px-xl q-py-lg */
  background: var(--dark);
}
.cb-layout.is-padding .cb-footer-row { padding: 24px 72px 64px; }   /* q-pt-lg pb-2xl px-2xl */

.cb-legend-places { display: flex; flex-wrap: wrap; gap: 62px; }
@media (max-width: 1900px) { .cb-legend-places { gap: 40px; } }
@media (min-width: 3700px) { .cb-legend-places { gap: 80px; } }

.cb-legend-place { display: flex; flex-wrap: wrap; align-items: center; flex: 0 0 auto; }
.cb-legend-place .icon {
  color: #000; background-color: #d9d9d9; border-radius: 50%;
  font-size: 28px; padding: 11px; margin-right: 20px;
}
@media (max-width: 1900px) { .cb-legend-place .icon { font-size: 19px; padding: 7.5px; margin-right: 14px; } }
@media (min-width: 3700px) { .cb-legend-place .icon { font-size: 56px; padding: 22px; margin-right: 40px; } }

.cb-legend-genres {
  display: flex; flex-wrap: wrap; align-items: center;
  margin-left: -4px; margin-top: -4px;                   /* q-col-gutter-xs */
}
.cb-legend-genres > * { padding-left: 4px; padding-top: 4px; }
@media (min-width: 1024px) {
  .cb-legend-genres { margin-left: -8px; margin-top: -8px; }
  .cb-legend-genres > * { padding-left: 8px; padding-top: 8px; }
}
@media (min-width: 1901px) {
  .cb-legend-genres { margin-left: -16px; margin-top: -16px; }
  .cb-legend-genres > * { padding-left: 16px; padding-top: 16px; }
}
.cb-legend-genres .genre-item { flex: 0 0 auto; font-weight: 700; }

/* =====================================================================
   Bocni panel - layout 2 (spa procedury) a 3 (muzikorelaxace)
   ===================================================================== */
.cb-aside {
  flex: 0 0 auto; width: 25%;                            /* col-3 */
  min-height: 0; overflow: hidden;
  padding-right: 16px; padding-top: 16px; padding-bottom: 16px;
}
@media (min-width: 1024px) { .cb-aside { padding-right: 24px; padding-top: 24px; padding-bottom: 24px; } }
@media (min-width: 1901px) { .cb-aside { padding-right: 48px; } }

.cb-aside-head { margin-bottom: 16px; }                  /* q-mb-md */
@media (min-width: 1901px) { .cb-aside-head { margin-bottom: 24px; } }
@media (min-width: 3701px) { .cb-aside-head { margin-bottom: 48px; } }
.cb-aside-head.has-top-pad { padding-top: 16px; }
@media (min-width: 1901px) { .cb-aside-head.has-top-pad { padding-top: 24px; } }
@media (min-width: 3701px) { .cb-aside-head.has-top-pad { padding-top: 48px; } }

.cb-aside-row {
  display: flex; flex-wrap: wrap; align-items: center;
  margin-left: -8px; margin-top: -8px;                   /* q-col-gutter-sm */
  padding-top: 8px;                                      /* q-pt-sm */
}
.cb-aside-row > * { padding-left: 8px; padding-top: 8px; }
@media (min-width: 1901px) {
  .cb-aside-row { margin-left: -16px; margin-top: -16px; padding-top: 16px; }
  .cb-aside-row > * { padding-left: 16px; padding-top: 16px; }
}
@media (min-width: 3701px) {
  .cb-aside-row { margin-left: -24px; margin-top: -24px; padding-top: 24px; }
  .cb-aside-row > * { padding-left: 24px; padding-top: 24px; }
}
.cb-aside-name { flex: 10000 1 0%; }
.cb-aside-time { flex: 0 0 auto; text-align: right; }

.cb-aside-icon {
  color: #fff; background-color: #000; border-radius: 50%;
  padding: 11px; font-size: 28px; box-sizing: content-box;
}
@media (max-width: 1900px) { .cb-aside-icon { padding: 7.5px; font-size: 19px; } }
@media (min-width: 3700px) { .cb-aside-icon { padding: 22px; font-size: 56px; } }
.cb-aside-icon img { width: 100%; height: 100%; object-fit: contain; }

.separator-line { height: 1px; border: 0; background-color: #9e9e9e33; margin: 16px 0; }
@media (min-width: 1901px) { .separator-line { margin: 24px 0; } }
@media (min-width: 3701px) { .separator-line { margin: 48px 0; } }

/* V produkci vyhrava scoped h6 (line-height 1) nad Quasar .text-subtitle1 (1.75rem).
   Bez toho je bocni panel o desitky px vyssi. */
.cb-aside h6 { line-height: 1; margin: 0; }

.cb-aside-note { padding-top: 8px; }
@media (min-width: 1901px) { .cb-aside-note { padding-top: 16px; } }
@media (min-width: 3701px) { .cb-aside-note { padding-top: 24px; } }

/* ---------------------------------------------------------------------
   Layout 4: spa procedury + muzikorelaxace v jednom panelu (7. 10. 2026).
   Dva vzdusne bloky misto jednoho natlaceneho seznamu (Patrik Jilek 7. 10.).
   Vse je pod .cb-aside-combo, layouty 2 a 3 se nemeni. Zadny flex gap -
   televize maji Chrome 63 (Tizen 5.0), ten gap ve flexu neumi.
   Zakladni hodnoty = 1920x1080, nize uprava pro <= 1900 px a >= 3700 px.
   --------------------------------------------------------------------- */
/* Panel zustava v toku stranky jako ve stare verzi (position: relative na radku
   menil o 1-2 urovne jasu vyhlazeni textu ritualu). Aby panel nikdy nenatahl radek,
   hlida jeho vysku fitComboAside() + overflow: hidden z .cb-aside. */
.cb-aside-combo { display: flex; flex-direction: column; height: 100%; }
/* height: 100% - radek .cb-page-row je flex s wrap, vysoky obsah panelu by jinak
   natahl celou radu i se sloupcem ritualu (overflow: hidden na to nestaci). */
.cb-combo-block {
  background: rgba(255, 255, 255, .04);
  padding: 13px 20px 2px;
  margin-bottom: 26px;
  flex: 0 0 auto;
}
.cb-combo-music { border-left: 4px solid var(--primary); padding-left: 18px; }
.cb-aside-combo .cb-aside-head { margin-bottom: 8px; }
.cb-aside-combo .cb-aside-head h2 { font-size: 33px; line-height: 1; }
.cb-aside-combo .cb-aside-head h4 { font-size: 17px; line-height: 1.2; margin-top: 3px; opacity: .8; }

.cb-combo-row {
  display: flex; align-items: center;
  padding: 8px 0;
  border-top: 1px solid rgba(158, 158, 158, .18);
}
.cb-combo-row .cb-aside-icon { flex: 0 0 auto; width: 26px; height: 26px; margin-right: 16px; }
.cb-combo-name { flex: 1 1 auto; min-width: 0; }
.cb-combo-name h4, .cb-combo-name h5 {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cb-combo-name h4 { font-size: 24px; line-height: 1.15; }
.cb-combo-name h5 { font-size: 17px; line-height: 1.2; margin-top: 3px; opacity: .7; }
.cb-combo-time { flex: 0 0 auto; text-align: right; margin-left: 14px; }
.cb-combo-time h4 { font-size: 26px; line-height: 1.1; font-weight: 700; }
.cb-combo-time h5 { font-size: 15px; line-height: 1.2; margin-top: 3px; opacity: .7; }

/* ---------------------------------------------------------------------
   Muzikorelaxace: casova osa.
   Vsechny rozmery osy jsou v promennych, aby body sedely presne na lince:
     --axis  stred linky od leveho okraje radku   --indent  odsazeni textu
     --pad   svisly padding radku                 --t       vyska casu (= font-size, line-height 1)
     --dot / --dot-next  prumer bodu              --line    sirka linky
   Bod je stredeny pres translate(-50%,-50%) na stred casu. Linka se sklada
   z useku v kazdem radku: prvni viditelny radek ji zacina v bode, posledni
   v bode konci (mr-first / mr-last nastavuje JS podle viditelnych radku).
   --------------------------------------------------------------------- */
.cb-combo-music { position: relative; overflow: hidden; }
.cb-combo-music:before {                     /* jemny tonovany podklad v barve strediska */
  content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: var(--primary); opacity: .07; pointer-events: none;
}
.cb-combo-music > * { position: relative; }
.cb-mr-list {
  --axis: 9px; --indent: 40px; --pad: 9px; --t: 31px; --dot: 10px; --dot-next: 18px; --line: 2px;
  position: relative; padding: 0 0 6px;
}
.cb-mr-row {
  display: flex; align-items: flex-start; position: relative;
  padding: var(--pad) 0 var(--pad) var(--indent);
}
/* usek linky v radku */
.cb-mr-row:before {
  content: ''; position: absolute; top: 0; bottom: 0;
  left: calc(var(--axis) - var(--line) / 2); width: var(--line);
  background: var(--primary); opacity: .45;
}
.cb-mr-row.mr-first:before { top: calc(var(--pad) + var(--t) / 2); }
.cb-mr-row.mr-last:before { bottom: auto; height: calc(var(--pad) + var(--t) / 2); }
.cb-mr-row.mr-first.mr-last:before { display: none; }
/* zvyrazneni nejblizsiho terminu - jemny pruh od osy doprava */
.cb-mr-row.is-next:after {
  content: ''; position: absolute; top: 0; bottom: 0; right: -20px;
  left: calc(var(--axis) + var(--dot-next) / 2 + 6px);
  background: linear-gradient(90deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, 0));
  pointer-events: none;
}
.cb-mr-row > div { position: relative; z-index: 1; }

.cb-mr-time { flex: 0 0 auto; width: 104px; position: relative; }
.cb-mr-time h3 { font-size: var(--t); line-height: 1; font-weight: 700; color: #fff; letter-spacing: .5px; }
.cb-mr-dot {
  position: absolute; top: 50%; left: calc(var(--axis) - var(--indent));
  width: var(--dot); height: var(--dot); border-radius: 50%;
  -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%);
  background: var(--primary);
}
.cb-mr-text { flex: 1 1 auto; min-width: 0; padding-left: 4px; }
.cb-mr-text h4 { font-size: 26px; line-height: 1.12; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cb-mr-text h5 { font-size: 17px; line-height: 1.2; margin-top: 5px; opacity: .72;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cb-mr-text h5 .bi { margin-right: 7px; font-size: .9em; color: var(--primary); }

/* nejblizsi: vetsi plny bod s pomalu pulzujicim prstencem */
.cb-mr-row.is-next .cb-mr-dot {
  width: var(--dot-next); height: var(--dot-next);
  box-shadow: 0 0 0 4px rgba(0, 0, 0, .55), 0 0 16px 2px var(--primary);
}
.cb-mr-row.is-next .cb-mr-dot:after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; border-radius: 50%;
  border: 2px solid var(--primary);
  -webkit-animation: cbMrPulse 2.6s ease-out infinite; animation: cbMrPulse 2.6s ease-out infinite;
}
.cb-mr-row.is-next .cb-mr-time h3, .cb-mr-row.is-next .cb-mr-text h4 { color: var(--primary); }
.cb-mr-row.is-next .cb-mr-text h4 { font-weight: 700; }
.cb-mr-row.is-next .cb-mr-text h5 { opacity: .9; }
/* probehle: utlumene vcetne useku osy, sedy bod */
.cb-mr-row.is-past { opacity: .38; }
.cb-mr-row.is-past .cb-mr-dot { background: #9e9e9e; }
.cb-mr-row.is-past:before { background: #9e9e9e; }

@-webkit-keyframes cbMrPulse {
  0% { -webkit-transform: scale(1); opacity: .8; }
  100% { -webkit-transform: scale(2.6); opacity: 0; }
}
@keyframes cbMrPulse {
  0% { transform: scale(1); opacity: .8; }
  100% { transform: scale(2.6); opacity: 0; }
}

/* ---------------------------------------------------------------------
   Layout 5: "herni" panely ukotvene k pravemu okraji obrazovky (varianta
   k porovnani s layoutem 4, stejna data i rozpis ritualu). Panel jako by
   vyjizdel z boku: dorazeny k okraji, zkoseny levy horni roh, svitici hrana
   v barve strediska, pozadi zesiluje smerem k okraji. Bez animace.
   --------------------------------------------------------------------- */
.cb-aside.cb-aside-hud { padding-right: 0; }
.cb-aside-hud .cb-combo-block {
  position: relative;
  padding: 16px 48px 4px 30px;
  margin-bottom: 26px;
  border-left: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, .03) 0%, rgba(255, 255, 255, .07) 65%, rgba(255, 255, 255, .12) 100%);
  -webkit-clip-path: polygon(26px 0, 100% 0, 100% 100%, 0 100%, 0 26px);
  clip-path: polygon(26px 0, 100% 0, 100% 100%, 0 100%, 0 26px);
}
.cb-aside-hud .cb-combo-block:after {          /* svitici leva hrana */
  content: ''; position: absolute; left: 0; top: 26px; bottom: 0; width: 3px;
  background: var(--primary); box-shadow: 0 0 14px 2px var(--primary);
}
.cb-aside-hud .cb-combo-music { padding-left: 30px; }
.cb-aside-hud .cb-combo-music:before { opacity: .09; }
.cb-aside-hud .cb-mr-row.is-next:after { right: -48px; }

@media (max-width: 1900px) {
  .cb-aside-hud .cb-combo-block {
    padding: 11px 24px 2px 20px; margin-bottom: 22px;
    -webkit-clip-path: polygon(18px 0, 100% 0, 100% 100%, 0 100%, 0 18px);
    clip-path: polygon(18px 0, 100% 0, 100% 100%, 0 100%, 0 18px);
  }
  .cb-aside-hud .cb-combo-block:after { top: 18px; width: 2px; box-shadow: 0 0 10px 1px var(--primary); }
  .cb-aside-hud .cb-combo-music { padding-left: 20px; }
  .cb-aside-hud .cb-mr-row.is-next:after { right: -24px; }
}
@media (min-width: 3700px) {
  .cb-aside-hud .cb-combo-block {
    padding: 28px 48px 4px 60px; margin-bottom: 52px;
    -webkit-clip-path: polygon(52px 0, 100% 0, 100% 100%, 0 100%, 0 52px);
    clip-path: polygon(52px 0, 100% 0, 100% 100%, 0 100%, 0 52px);
  }
  .cb-aside-hud .cb-combo-block:after { top: 52px; width: 6px; box-shadow: 0 0 28px 4px var(--primary); }
  .cb-aside-hud .cb-combo-music { padding-left: 60px; }
  .cb-aside-hud .cb-mr-row.is-next:after { right: -48px; }
}

/* fitComboAside(): panel se nevesel do vysky obrazovky */
.cb-aside-combo.is-tight .cb-mr-extra { display: none; }
.cb-aside-combo.is-tighter .cb-combo-block { padding-top: 10px; margin-bottom: 12px; }
.cb-aside-combo.is-tighter .cb-combo-row { padding-top: 6px; padding-bottom: 6px; }
.cb-aside-combo.is-tighter .cb-mr-list { --pad: 5px; }
.cb-aside-combo.is-tighter .cb-combo-name h5 { display: none; }
.cb-aside-combo.is-tightest .cb-aside-head h4 { display: none; }
.cb-aside-combo.is-tightest .cb-mr-text h5 { display: none; }

.cb-aside-combo .cb-aside-empty { opacity: .6; margin: 0 0 14px; line-height: 1.3; font-size: 17px; }

@media (max-width: 1900px) {
  .cb-combo-block { padding: 10px 14px 2px; margin-bottom: 22px; }
  .cb-combo-music { padding-left: 11px; border-left-width: 3px; }
  .cb-aside-combo .cb-aside-head { margin-bottom: 6px; }
  .cb-aside-combo .cb-aside-head h2 { font-size: 26px; }
  .cb-aside-combo .cb-aside-head h4 { font-size: 14px; margin-top: 4px; }
  .cb-combo-row { padding: 6px 0; }
  .cb-combo-row .cb-aside-icon { width: 18px; height: 18px; margin-right: 10px; }
  .cb-combo-name h4 { font-size: 18px; }
  .cb-combo-name h5 { font-size: 13px; margin-top: 2px; }
  .cb-combo-time { margin-left: 10px; }
  .cb-combo-time h4 { font-size: 18px; }
  .cb-combo-time h5 { font-size: 12px; }
  .cb-mr-list { --axis: 7px; --indent: 30px; --pad: 6px; --t: 23px; --dot: 8px; --dot-next: 13px; }
  .cb-mr-time { width: 74px; }
  .cb-mr-text h4 { font-size: 19px; }
  .cb-mr-text h5 { font-size: 13px; margin-top: 4px; }
  .cb-mr-row.is-next:after { right: -14px; }
  .cb-aside-combo .cb-aside-empty { font-size: 13px; margin-bottom: 8px; }
}
/* nizke obrazovky (720p): hustsi radky; skryti terminu resi fitComboAside() */
@media (max-height: 800px) {
  .cb-combo-row { padding: 6px 0; }
  .cb-aside-combo .cb-aside-head h2 { font-size: 24px; }
  .cb-mr-list { --pad: 5px; }
  .cb-combo-block { margin-bottom: 16px; }
}
@media (min-width: 3700px) {
  .cb-combo-block { padding: 26px 40px 4px; margin-bottom: 52px; }
  .cb-combo-music { padding-left: 36px; border-left-width: 8px; }
  .cb-aside-combo .cb-aside-head { margin-bottom: 20px; }
  .cb-aside-combo .cb-aside-head h2 { font-size: 68px; }
  .cb-aside-combo .cb-aside-head h4 { font-size: 34px; margin-top: 6px; }
  .cb-combo-row { padding: 16px 0; border-top-width: 2px; }
  .cb-combo-row .cb-aside-icon { width: 52px; height: 52px; margin-right: 32px; }
  .cb-combo-name h4 { font-size: 50px; }
  .cb-combo-name h5 { font-size: 34px; margin-top: 6px; }
  .cb-combo-time { margin-left: 28px; }
  .cb-combo-time h4 { font-size: 52px; }
  .cb-combo-time h5 { font-size: 30px; margin-top: 6px; }
  .cb-mr-list { --axis: 18px; --indent: 80px; --pad: 18px; --t: 62px; --dot: 20px; --dot-next: 36px; --line: 4px; }
  .cb-mr-time { width: 208px; }
  .cb-mr-text h4 { font-size: 52px; }
  .cb-mr-text h5 { font-size: 34px; margin-top: 10px; }
  .cb-mr-row.is-next:after { right: -40px; }
  .cb-mr-row.is-next .cb-mr-dot { box-shadow: 0 0 0 8px rgba(0, 0, 0, .55), 0 0 32px 4px var(--primary); }
  .cb-mr-row.is-next .cb-mr-dot:after { border-width: 4px; }
  .cb-aside-combo .cb-aside-empty { font-size: 34px; margin-bottom: 28px; }
}

/* =====================================================================
   Reklamy
   ===================================================================== */
.cb-ad {
  /* rozepsano zamerne - inset neumi Chrome 63 v televizich Tizen 5.0 */
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  display: flex; align-items: center;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.cb-ad .overlay {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(to left, black, transparent); z-index: 1;
}
.cb-ad-text {
  display: flex; flex-wrap: wrap; width: 100%; justify-content: flex-end; z-index: 2;
}
.cb-ad-text > div {
  width: 50%; padding: 0 48px;
  display: flex; flex-wrap: wrap; align-items: center;
}

/* prechody stranek (puvodni animate.css fadeInRight / fadeOutLeft, 1.5 s) */
.cb-fade-enter { animation: cbFadeInRight 1.5s both; }
.cb-fade-leave { animation: cbFadeOutLeft 1.5s both; }
@keyframes cbFadeInRight  { from { opacity: 0; transform: translate3d(100%, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes cbFadeOutLeft  { from { opacity: 1; } to { opacity: 0; transform: translate3d(-100%, 0, 0); } }

/* =====================================================================
   Chybova obrazovka pro hosty.
   Zadne technicke hlasky - snimek ze saunoveho sveta a klidna informace.
   ===================================================================== */
.cb-msg { position: relative; height: 100vh; width: 100%; overflow: hidden; background: #111; }

.cb-msg-photo {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background-image: url(../asset.php?f=infinit_bg.jpg);
  background-size: cover; background-position: center;
}
.cb-msg-shade {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(to right, rgba(0,0,0,.86) 0%, rgba(0,0,0,.72) 45%, rgba(0,0,0,.35) 100%);
}

.cb-msg-body {
  position: relative;
  height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 96px; max-width: 62%;
}
@media (max-width: 1900px) { .cb-msg-body { padding: 0 56px; max-width: 70%; } }
@media (min-width: 3700px) { .cb-msg-body { padding: 0 200px; } }

.cb-msg-title { color: #fff; margin: 0; }
.cb-msg-title-en { color: rgba(255,255,255,.75); margin: 6px 0 0; }
.cb-msg-line {
  width: 120px; height: 2px; background: var(--primary);
  margin: 32px 0;
}
@media (max-width: 1900px) { .cb-msg-line { margin: 20px 0; width: 80px; } }
@media (min-width: 3700px) { .cb-msg-line { margin: 64px 0; width: 240px; height: 4px; } }

.cb-msg-text { color: #fff; margin: 0; line-height: 1.35; max-width: 22em; }
.cb-msg-text-en { color: rgba(255,255,255,.7); margin: 12px 0 0; line-height: 1.4; max-width: 30em; }
.cb-msg-sign { color: var(--primary); margin: 40px 0 0; }
@media (max-width: 1900px) { .cb-msg-sign { margin-top: 24px; } }
@media (min-width: 3700px) { .cb-msg-sign { margin-top: 80px; } }
