/* === navigáció === */
.lx-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(243, 245, 255, 0.92);
  backdrop-filter: blur(10px);
}

.lx-topbar__row {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 74px;
}

.lx-topbar__mark {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  padding: 10px 4px;
  margin-inline-start: -4px;
}

.lx-topbar__mark em {
  font-style: normal;
  color: var(--brand);
}

.lx-topbar__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-inline-start: auto;
  color: var(--ink);
  background: var(--surface);
  border-radius: var(--edge);
  box-shadow: var(--lift);
}

.lx-topbar__toggle svg { width: 22px; height: 22px; }

.lx-topbar__toggle .lx-topbar__shut { display: none; }

.lx-topbar__toggle[aria-expanded='true'] .lx-topbar__open { display: none; }

.lx-topbar__toggle[aria-expanded='true'] .lx-topbar__shut { display: block; }

.lx-topbar__nav {
  display: none;
  position: absolute;
  inset-inline: var(--gutter);
  top: 72px;
  padding: 14px;
  background: var(--surface);
  border-radius: var(--round);
  box-shadow: var(--lift-strong);
}

.lx-topbar__nav.is-open { display: block; }

.lx-topbar__list { display: grid; gap: 2px; }

.lx-topbar__link {
  display: block;
  padding: 13px 14px;
  min-height: 48px;
  color: var(--muted);
  font-weight: 600;
  border-radius: var(--edge);
}

.lx-topbar__link:hover,
.lx-topbar__link:focus-visible { color: var(--brand-deep); background: var(--haze); }

.lx-topbar__nav .lx-jump { margin-top: 10px; width: 100%; }

@media (min-width: 900px) {
  .lx-topbar__toggle { display: none; }

  .lx-topbar__nav {
    display: flex;
    align-items: center;
    gap: 6px;
    position: static;
    inset: auto;
    margin-inline-start: auto;
    padding: 0;
    background: none;
    box-shadow: none;
    border-radius: 0;
  }

  .lx-topbar__list { display: flex; align-items: center; gap: 4px; }

  .lx-topbar__link { padding: 12px 14px; display: flex; align-items: center; }

  .lx-topbar__nav .lx-jump { margin-top: 0; margin-inline-start: 12px; width: auto; }
}

.lx-jump {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 26px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--edge);
  transition: transform 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease, color 0.16s ease;
}

.lx-jump svg { width: 17px; height: 17px; flex: none; }

.lx-jump--solid {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--lift);
}

.lx-jump--solid:hover {
  background: var(--brand-deep);
  transform: translateY(-2px);
  box-shadow: var(--lift-strong);
}

.lx-jump--solid:active { transform: translateY(1px); background: #2f3bbf; }

.lx-jump--quiet {
  background: var(--surface);
  color: var(--brand-deep);
  box-shadow: var(--lift);
}

.lx-jump--quiet:hover {
  background: var(--brand-pale);
  color: #2f3bbf;
  transform: translateY(-2px);
}

.lx-jump--quiet:active { transform: translateY(1px); }

.lx-notice .lx-jump--quiet,
.lx-doc .lx-jump--quiet { background: var(--haze); box-shadow: none; }

.lx-notice .lx-jump--quiet:hover,
.lx-doc .lx-jump--quiet:hover { background: var(--brand-pale); }

.lx-lift {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 35;
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--ink);
  border-radius: var(--edge);
  box-shadow: var(--lift-strong);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}

.lx-lift svg { width: 19px; height: 19px; }

.lx-lift.is-shown { opacity: 1; visibility: visible; transform: none; }

.lx-lift:hover { background: var(--brand-deep); }

/* === lábléc === */
.lx-foot {
  background: var(--surface);
  padding-block: var(--pace-tight) 30px;
  margin-top: var(--pace-wide);
}

.lx-foot__reach {
  display: grid;
  gap: 18px;
  padding-bottom: var(--pace-tight);
}

.lx-foot__reach p { max-width: 34em; }

.lx-foot__mail {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-size: clamp(1.15rem, 0.9rem + 1vw, 1.5rem);
  font-weight: 700;
  color: var(--brand-deep);
  letter-spacing: -0.015em;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.lx-foot__mail:hover { color: #2f3bbf; text-decoration-thickness: 3px; }

.lx-foot__cols {
  display: grid;
  gap: 34px;
  padding-block: var(--pace-tight) 34px;
}

@media (min-width: 760px) {
  .lx-foot__cols { grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
}

.lx-foot__head {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
}

.lx-foot__list { display: grid; gap: 2px; }

.lx-foot__list a,
.lx-foot__who a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  padding-block: 4px;
}

.lx-foot__list a:hover,
.lx-foot__who a:hover { color: var(--brand-deep); }

.lx-foot__who { display: grid; gap: 2px; color: var(--muted); font-size: 0.94rem; }

.lx-foot__who strong { display: block; margin-bottom: 4px; }

.lx-foot__sign {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  padding-top: 26px;
  font-size: 0.88rem;
  color: var(--muted);
}

/* === bevezető === */
.lx-intro {
  position: relative;
  overflow: hidden;
  padding-block: var(--pace) var(--pace-wide);
  text-align: center;
}

.lx-intro::before {
  content: '';
  position: absolute;
  inset: -10% -20% auto;
  height: 620px;
  background-image:
    linear-gradient(to right, rgba(68, 87, 255, 0.11) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(68, 87, 255, 0.11) 1px, transparent 1px);
  background-size: 74px 74px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 28%, #000 5%, transparent 72%);
  mask-image: radial-gradient(ellipse 60% 70% at 50% 28%, #000 5%, transparent 72%);
  pointer-events: none;
}

.lx-intro::after {
  content: '';
  position: absolute;
  left: 50%;
  top: -180px;
  width: 520px;
  height: 520px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(219, 234, 254, 0.85), rgba(243, 245, 255, 0) 68%);
  pointer-events: none;
}

.lx-intro__inner { position: relative; z-index: 1; }

.lx-intro__flag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  background: var(--surface);
  border-radius: var(--edge);
  box-shadow: var(--lift);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-deep);
  margin-bottom: 26px;
}

.lx-intro__flag svg { width: 15px; height: 15px; }

.lx-intro__hl {
  background: linear-gradient(to right, #4457ff, #7583fd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lx-intro__lead {
  max-width: 36em;
  margin: 24px auto 0;
  font-size: clamp(1.02rem, 0.96rem + 0.4vw, 1.18rem);
}

.lx-intro__lead + .lx-intro__lead { margin-top: 16px; max-width: 34em; }

.lx-intro__acts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}

.lx-intro__keys {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.lx-intro__keys li {
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface);
  border-radius: var(--edge);
}

/* === válogatás === */
.lx-shelf { padding-bottom: var(--pace); }

.lx-shelf__head { max-width: 46em; }

.lx-shelf__head p {
  margin-top: 18px;
  max-width: 40em;
  font-size: 1.05rem;
}

.lx-brief {
  margin-top: 46px;
  display: grid;
  gap: 4px;
  background: var(--surface);
  border-radius: var(--round);
  padding: clamp(22px, 3.4vw, 38px);
  box-shadow: var(--lift);
}

.lx-brief__title {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-deep);
  margin-bottom: 14px;
}

.lx-brief__item { padding-block: 14px; }

.lx-brief__q { font-size: 1.06rem; font-weight: 600; }

.lx-brief__a { margin-top: 7px; max-width: 46em; }

@media (min-width: 900px) {
  .lx-brief { grid-template-columns: 1fr 1fr; column-gap: clamp(28px, 4vw, 56px); }
  .lx-brief__title { grid-column: 1 / -1; }
  .lx-brief__item { padding-block: 18px; }
}

.lx-grid {
  margin-top: 46px;
  display: grid;
  gap: clamp(18px, 2.6vw, 30px);
}

@media (min-width: 880px) {
  .lx-grid { grid-template-columns: repeat(2, 1fr); }
}

.lx-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--surface);
  border-radius: var(--round);
  padding: clamp(20px, 2.6vw, 30px);
  box-shadow: var(--lift);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lx-panel:hover { transform: translateY(-3px); box-shadow: var(--lift-strong); }

.lx-panel__top { display: flex; align-items: center; gap: 15px; }

.lx-panel__tile {
  width: 62px;
  height: 62px;
  border-radius: var(--round-sm);
  object-fit: cover;
}

.lx-panel__name { font-size: 1.22rem; }

.lx-panel__score {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}

.lx-panel__score svg { width: 14px; height: 14px; color: #f2a516; }

.lx-panel__score b { color: var(--ink); font-size: 0.98rem; }

.lx-panel__kind {
  align-self: flex-start;
  padding: 7px 15px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand-deep);
  background: var(--haze);
  border-radius: var(--edge);
}

.lx-panel__text { max-width: 40em; }

.lx-panel__text + .lx-panel__text { margin-top: 12px; }

.lx-panel__shots {
  display: grid;
  gap: 12px;
  margin-top: auto;
  padding-top: 6px;
}

.lx-panel__shots--pair { grid-template-columns: 1fr 1fr; }

.lx-panel__frame {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--round-sm);
  background: var(--haze);
}

.lx-panel__shots--pair .lx-panel__frame { aspect-ratio: 4 / 5; }

.lx-panel__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* === összevetés === */
.lx-matrix { padding-block: var(--pace-tight); }

.lx-matrix__head { max-width: 42em; }

.lx-matrix__head p { margin-top: 16px; max-width: 38em; }

.lx-matrix__scroll {
  margin-top: 36px;
  overflow-x: auto;
  background: var(--surface);
  border-radius: var(--round);
  padding: clamp(14px, 2vw, 26px);
  box-shadow: var(--lift);
}

.lx-matrix__scroll:focus-visible { outline: 3px solid var(--brand-deep); outline-offset: 4px; }

.lx-matrix table { width: 100%; min-width: 860px; font-size: 0.95rem; }

.lx-matrix caption {
  text-align: left;
  font-size: 0.86rem;
  color: var(--muted);
  padding-bottom: 16px;
}

.lx-matrix thead th {
  text-align: left;
  vertical-align: bottom;
  padding: 12px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--brand-deep);
  border-bottom: 2px solid var(--mist);
}

.lx-matrix tbody th {
  text-align: left;
  font-weight: 600;
  color: var(--ink);
  padding: 15px 16px;
  white-space: nowrap;
}

.lx-matrix tbody td {
  padding: 15px 16px;
  color: var(--muted);
  vertical-align: top;
}

.lx-matrix tbody tr:nth-child(odd) th,
.lx-matrix tbody tr:nth-child(odd) td { background: var(--haze); }

.lx-matrix tbody tr th:first-child { border-radius: var(--round-sm) 0 0 var(--round-sm); }

.lx-matrix tbody tr td:last-child { border-radius: 0 var(--round-sm) var(--round-sm) 0; }

.lx-matrix__val { color: var(--ink); font-weight: 600; }

.lx-matrix__note {
  margin-top: 22px;
  max-width: 44em;
  font-size: 0.95rem;
}

/* === szöveges oldalak === */
.lx-doc { padding-block: var(--pace-tight) var(--pace); }

.lx-doc__sheet {
  background: var(--surface);
  border-radius: var(--round);
  padding: clamp(24px, 4vw, 56px);
  box-shadow: var(--lift);
}

.lx-doc__date { margin-top: 14px; font-size: 0.92rem; }

.lx-doc h2 {
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.5rem);
  margin-top: 40px;
  margin-bottom: 12px;
}

.lx-doc h3 { font-size: 1.08rem; margin-top: 26px; margin-bottom: 8px; }

.lx-doc p { max-width: 40em; margin-bottom: 12px; }

.lx-doc ul { display: grid; gap: 9px; margin-bottom: 14px; max-width: 40em; }

.lx-doc li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
}

.lx-doc li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  background: var(--brand);
  border-radius: 2px 6px 2px 6px;
}

.lx-doc a { color: var(--brand-deep); text-decoration: underline; text-underline-offset: 3px; }

.lx-doc a:hover { color: #2f3bbf; }

.lx-doc__back { margin-top: 40px; }

.lx-doc__table { margin-block: 18px 26px; overflow-x: auto; }

.lx-doc__table table { width: 100%; min-width: 660px; font-size: 0.92rem; }

.lx-doc__table th,
.lx-doc__table td { text-align: left; padding: 13px 14px; vertical-align: top; }

.lx-doc__table thead th {
  font-size: 0.76rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--brand-deep);
  border-bottom: 2px solid var(--mist);
}

.lx-doc__table tbody td { color: var(--muted); }

.lx-doc__table tbody tr:nth-child(odd) td,
.lx-doc__table tbody tr:nth-child(odd) th { background: var(--haze); }

.lx-lost { padding-block: var(--pace) var(--pace-wide); text-align: center; }

.lx-lost p { max-width: 32em; margin: 20px auto 32px; }

.lx-doc .lx-jump { text-decoration: none; }

.lx-doc__sheet h1 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 2.75rem); }

.lx-doc__table caption { text-align: left; }

/* === tájékoztató sáv === */
.lx-notice {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 45;
  width: min(92vw, 34rem);
  display: none;
  gap: 16px;
  padding: 20px 22px;
  background: var(--surface);
  border-radius: var(--round);
  box-shadow: var(--lift-strong);
}

.lx-notice.is-shown { display: grid; }

.lx-notice__text { font-size: 0.92rem; }

.lx-notice__text a { color: var(--brand-deep); text-decoration: underline; text-underline-offset: 3px; }

.lx-notice__acts { display: flex; flex-wrap: wrap; gap: 10px; }

.lx-notice .lx-jump { padding: 11px 20px; font-size: 0.94rem; }

@media (max-width: 560px) {
  .lx-notice {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    gap: 12px;
    padding: 16px 18px;
  }

  .lx-notice__text { font-size: 0.84rem; line-height: 1.5; }

  .lx-notice .lx-jump { padding: 10px 18px; font-size: 0.9rem; }

  .lx-lift { right: 12px; bottom: 12px; }
}
