/* v533 - navazuje na v532. Pouze: kompaktnejsi boxy, dark-glass boxy a bile texty USP. */

/* Vyberove boxy: kompaktnejsi a stejne dark-glass jako hlavni panel. */
html.ahp-layout-v497 #startScreen .choice-card {
  min-height: 46px !important;
  height: 46px !important;
  max-height: 46px !important;
  padding: 6px 34px 6px 11px !important;
  gap: 10px !important;
  border: 1px solid rgba(255,255,255,.20) !important;
  border-radius: 12px !important;
  color: #fff !important;
  background: linear-gradient(145deg, rgba(255,255,255,.085), rgba(255,255,255,.045)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07) !important;
  backdrop-filter: blur(8px) saturate(112%) !important;
  -webkit-backdrop-filter: blur(8px) saturate(112%) !important;
}

html.ahp-layout-v497 #startScreen .choice-card .choice-label {
  color: #fff !important;
  font-size: 14px !important;
  line-height: 1.15 !important;
}

html.ahp-layout-v497 #startScreen .choice-card:hover,
html.ahp-layout-v497 #startScreen .choice-card:focus-visible {
  color: #fff !important;
  border-color: rgba(255,255,255,.34) !important;
  background: linear-gradient(145deg, rgba(255,255,255,.13), rgba(255,255,255,.07)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09), 0 7px 18px rgba(0,0,0,.16) !important;
  transform: none !important;
}

html.ahp-layout-v497 #startScreen .choice-card:hover .choice-label,
html.ahp-layout-v497 #startScreen .choice-card:focus-visible .choice-label {
  color: #fff !important;
}

html.ahp-layout-v497 #startScreen .choice-card.active,
html.ahp-layout-v497 #startScreen .choice-card.active:hover,
html.ahp-layout-v497 #startScreen .choice-card.active:focus-visible {
  color: #fff !important;
  border-color: #28b864 !important;
  background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.065)) !important;
  box-shadow: 0 0 0 2px rgba(40,184,100,.16), inset 0 1px 0 rgba(255,255,255,.08) !important;
}

/* Mensi ikonove/swatch prvky uvnitr voleb. */
html.ahp-layout-v497 #startScreen :is(.assembly-swatch,.numeric-swatch) {
  width: 32px !important;
  min-width: 32px !important;
  height: 32px !important;
  flex: 0 0 32px !important;
  border-radius: 9px !important;
}

html.ahp-layout-v497 #startScreen .assembly-swatch {
  color: #e1262f !important;
  background: rgba(255,255,255,.08) !important;
  border-color: rgba(255,255,255,.17) !important;
}

/* Cisla 463/615 zustavaji jako svetly badge s cervenym cislem, stejne jako v referenci. */
html.ahp-layout-v497 #startScreen .numeric-swatch {
  color: #c71920 !important;
  background: rgba(255,255,255,.94) !important;
  border-color: rgba(255,255,255,.72) !important;
}

html.ahp-layout-v497 #startScreen .color-brush-swatch {
  width: 54px !important;
  min-width: 54px !important;
  height: 24px !important;
  flex: 0 0 54px !important;
}

html.ahp-layout-v497 #startScreen .color-brush-swatch img {
  width: 54px !important;
  height: 20px !important;
  object-fit: contain !important;
}

/* Pole delky steny: stejny dark-glass styl misto bileho pole. */
html.ahp-layout-v497 #startScreen .ahp-wall-control {
  height: 44px !important;
}

html.ahp-layout-v497 #startScreen .ahp-wall-control input {
  height: 44px !important;
  padding: 9px 40px 9px 12px !important;
  border: 1px solid rgba(255,255,255,.20) !important;
  border-radius: 12px !important;
  color: #fff !important;
  background: linear-gradient(145deg, rgba(255,255,255,.085), rgba(255,255,255,.045)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07) !important;
  backdrop-filter: blur(8px) saturate(112%) !important;
  -webkit-backdrop-filter: blur(8px) saturate(112%) !important;
}

html.ahp-layout-v497 #startScreen .ahp-wall-control input::placeholder {
  color: rgba(255,255,255,.48) !important;
}

html.ahp-layout-v497 #startScreen .is-valid .ahp-wall-control input,
html.ahp-layout-v497 #startScreen .wall-input.is-valid .ahp-wall-control input {
  border-color: #28b864 !important;
  background: linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.055)) !important;
  box-shadow: 0 0 0 2px rgba(40,184,100,.14), inset 0 1px 0 rgba(255,255,255,.07) !important;
}

html.ahp-layout-v497 #startScreen .is-invalid .ahp-wall-control input,
html.ahp-layout-v497 #startScreen .wall-input.is-invalid .ahp-wall-control input {
  border-color: #d71920 !important;
}

html.ahp-layout-v497 #startScreen .wall-input > span,
html.ahp-layout-v497 #startScreen .wall-input-label-line > span:first-child {
  color: rgba(255,255,255,.76) !important;
}

/* O neco kompaktnejsi vertikalni rozestupy mezi bloky, bez zmeny layoutu. */
html.ahp-layout-v497 #startScreen .chooser-block {
  margin-top: 11px !important;
}

html.ahp-layout-v497 #startScreen .chooser-block > h2 {
  margin-bottom: 7px !important;
}

html.ahp-layout-v497 #startScreen .choice-grid {
  gap: 10px !important;
}

/* Boxy s vyhodami: vsechen text bile, popis mirne utlumeny pro citelnost. */
html.ahp-layout-v497 #startScreen .start-usp-item,
html.ahp-layout-v497 #startScreen .start-usp-item h2,
html.ahp-layout-v497 #startScreen .start-usp-item p {
  color: #fff !important;
}

html.ahp-layout-v497 #startScreen .start-usp-item p {
  color: rgba(255,255,255,.86) !important;
}

/* Pokud prohlizec nema backdrop-filter, zachovej tmavy vzhled. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  html.ahp-layout-v497 #startScreen .choice-card,
  html.ahp-layout-v497 #startScreen .ahp-wall-control input {
    background: rgba(35,38,42,.94) !important;
  }
}

/* Na telefonu boxy zustanou pohodlne klikatelne, ale nebudou zbytecne vysoke. */
@media (max-width: 720px) {
  html.ahp-layout-v497 #startScreen .choice-card {
    min-height: 44px !important;
    height: 44px !important;
    max-height: 44px !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
  }

  html.ahp-layout-v497 #startScreen .ahp-wall-control,
  html.ahp-layout-v497 #startScreen .ahp-wall-control input {
    height: 42px !important;
  }
}
