/* Strona główna — Nostalgie™ Legacy. Klimat interfejsu Lineage II: obsydian, złoto, ozdobne ramki. */

.lh {
  --g-hi: #f6dc94;
  --g: #d8b45a;
  --g-deep: #a87c2a;
  --g-line: rgba(216, 180, 90, .28);
  --ink: #f4ecda;
  --text: rgba(236, 226, 206, .8);
  --muted: rgba(214, 200, 172, .56);
  --panel: linear-gradient(180deg, rgba(26, 21, 30, .92), rgba(10, 8, 14, .94));
  --ease: cubic-bezier(.22, 1, .36, 1);
  --corner-tl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg %3E%3Cg fill='none' stroke='%23d8b45a' stroke-width='1.2'%3E%3Cpath d='M1.5 27V10a8.5 8.5 0 0 1 8.5-8.5H27'/%3E%3Cpath d='M6.5 21V13a6.5 6.5 0 0 1 6.5-6.5h8' opacity='.5'/%3E%3C/g%3E%3Cpath d='M10 6.8l3.2 3.2-3.2 3.2-3.2-3.2z' fill='%23f0cf7a'/%3E%3Ccircle cx='31' cy='1.6' r='1.2' fill='%23d8b45a'/%3E%3Ccircle cx='1.6' cy='31' r='1.2' fill='%23d8b45a'/%3E%3C/g%3E%3C/svg%3E");
  --corner-tr: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg transform='translate(40 0) scale(-1 1)'%3E%3Cg fill='none' stroke='%23d8b45a' stroke-width='1.2'%3E%3Cpath d='M1.5 27V10a8.5 8.5 0 0 1 8.5-8.5H27'/%3E%3Cpath d='M6.5 21V13a6.5 6.5 0 0 1 6.5-6.5h8' opacity='.5'/%3E%3C/g%3E%3Cpath d='M10 6.8l3.2 3.2-3.2 3.2-3.2-3.2z' fill='%23f0cf7a'/%3E%3Ccircle cx='31' cy='1.6' r='1.2' fill='%23d8b45a'/%3E%3Ccircle cx='1.6' cy='31' r='1.2' fill='%23d8b45a'/%3E%3C/g%3E%3C/svg%3E");
  --corner-bl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg transform='translate(0 40) scale(1 -1)'%3E%3Cg fill='none' stroke='%23d8b45a' stroke-width='1.2'%3E%3Cpath d='M1.5 27V10a8.5 8.5 0 0 1 8.5-8.5H27'/%3E%3Cpath d='M6.5 21V13a6.5 6.5 0 0 1 6.5-6.5h8' opacity='.5'/%3E%3C/g%3E%3Cpath d='M10 6.8l3.2 3.2-3.2 3.2-3.2-3.2z' fill='%23f0cf7a'/%3E%3Ccircle cx='31' cy='1.6' r='1.2' fill='%23d8b45a'/%3E%3Ccircle cx='1.6' cy='31' r='1.2' fill='%23d8b45a'/%3E%3C/g%3E%3C/svg%3E");
  --corner-br: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg transform='translate(40 40) scale(-1 -1)'%3E%3Cg fill='none' stroke='%23d8b45a' stroke-width='1.2'%3E%3Cpath d='M1.5 27V10a8.5 8.5 0 0 1 8.5-8.5H27'/%3E%3Cpath d='M6.5 21V13a6.5 6.5 0 0 1 6.5-6.5h8' opacity='.5'/%3E%3C/g%3E%3Cpath d='M10 6.8l3.2 3.2-3.2 3.2-3.2-3.2z' fill='%23f0cf7a'/%3E%3Ccircle cx='31' cy='1.6' r='1.2' fill='%23d8b45a'/%3E%3Ccircle cx='1.6' cy='31' r='1.2' fill='%23d8b45a'/%3E%3C/g%3E%3C/svg%3E");
  --divider: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 24'%3E%3Cdefs%3E%3ClinearGradient id='a' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%23d8b45a' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23d8b45a'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' x1='1' x2='0'%3E%3Cstop offset='0' stop-color='%23d8b45a' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23d8b45a'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 12h128' stroke='url(%23a)'/%3E%3Cpath d='M192 12h128' stroke='url(%23b)'/%3E%3Cpath d='M132 12c8-8 16-8 22 0M188 12c-8-8-16-8-22 0M132 12c8 8 16 8 22 0M188 12c-8 8-16 8-22 0' fill='none' stroke='%23d8b45a' stroke-width='1.1'/%3E%3Cpath d='M160 3l9 9-9 9-9-9z' fill='%23f0cf7a'/%3E%3Cpath d='M160 7.5l4.5 4.5-4.5 4.5-4.5-4.5z' fill='%230b0910'/%3E%3Ccircle cx='124' cy='12' r='1.6' fill='%23d8b45a'/%3E%3Ccircle cx='196' cy='12' r='1.6' fill='%23d8b45a'/%3E%3C/svg%3E");
  display: block;
  color: var(--text);
  overflow-x: clip;
}
.lh *, .lh *::before, .lh *::after { box-sizing: border-box; }
:where(.lh) :where(h1, h2, h3, p, ol, ul, blockquote) { margin: 0; padding: 0; }
:where(.lh) :where(ol, ul) { list-style: none; }
.lh .lh-ico { width: 22px; height: 22px; flex: none; }

/* ── Hero: logo w snopach światła ─────────────────────── */
/* Dwa tryby hero:
   • domyślnie kinowy: logo w snopach światła,
   • na dużym ekranie (min. 1200×700) kliknięcie logo otwiera bramę — grafikę z klikalnymi postaciami. */
.lh-hero {
  position: relative;
  min-height: calc(100svh - var(--nc-header-h, 72px));
  display: grid; place-items: center;
  padding: clamp(20px, 4svh, 56px) 20px clamp(64px, 11svh, 120px);
  isolation: isolate; overflow: hidden;
}
.lh-aura { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.lh-art, .lh-veil { display: none; }
.lh-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(38% 36% at 50% 38%, rgba(222, 164, 64, .3), transparent 70%),
    radial-gradient(70% 45% at 50% 112%, rgba(130, 44, 20, .38), transparent 70%),
    linear-gradient(180deg, #060509 0%, #0b0810 55%, #07060b 100%);
  animation: lhBreath 9s ease-in-out infinite;
}
@keyframes lhBreath { 0%, 100% { opacity: .85; } 50% { opacity: 1; } }
.lh-rays {
  position: absolute; left: 50%; top: -12%; width: 1500px; height: 1150px; translate: -50% 0;
  background: conic-gradient(from 180deg at 50% 0%,
    transparent 0deg, rgba(255, 214, 140, .11) 7deg, transparent 13deg,
    rgba(255, 214, 140, .06) 20deg, transparent 27deg,
    transparent 333deg, rgba(255, 214, 140, .06) 340deg, transparent 347deg,
    rgba(255, 214, 140, .11) 353deg, transparent 360deg);
  filter: blur(7px);
  -webkit-mask: radial-gradient(60% 70% at 50% 0%, #000 40%, transparent 100%);
  mask: radial-gradient(60% 70% at 50% 0%, #000 40%, transparent 100%);
  transform-origin: 50% 0;
  animation: lhRaysSway 14s ease-in-out infinite alternate;
}
@keyframes lhRaysSway { from { transform: rotate(-2.5deg); opacity: .8; } to { transform: rotate(2.5deg); opacity: 1; } }
.lh-hero::after {
  content: ""; position: absolute; inset: auto 0 0; height: 160px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, transparent, #07060b);
}
/* Logo dopasowane do wysokości okna — przycisk zawsze mieści się na pierwszym ekranie */
.lh-logo {
  display: block; position: relative;
  width: min(84vw, clamp(200px, calc((100svh - var(--nc-header-h, 72px) - 345px) * 1.5), 560px));
}
.lh-logo picture { display: contents; }
.lh-logo img {
  display: block; width: 100%; height: auto;
  filter: drop-shadow(0 0 60px rgba(255, 200, 110, .35)) drop-shadow(0 30px 50px rgba(0, 0, 0, .8));
  animation: lhLogoIn 1.6s var(--ease) both;
}
@keyframes lhLogoIn { from { opacity: 0; transform: translateY(14px) scale(.95); filter: blur(8px); } }

.lh-gate-close { display: none; }
.lh-logo { border: 0; padding: 0; background: none; font: inherit; color: inherit; cursor: default; }
.lh-logo__hint { display: none; }
@media (min-width: 1200px) and (min-height: 700px) {
  .lh-logo { cursor: pointer; }
  .lh-logo img { transition: filter .6s var(--ease), transform .6s var(--ease); }
  .lh-logo:hover img, .lh-logo:focus-visible img {
    transform: scale(1.03);
    filter: drop-shadow(0 0 80px rgba(255, 210, 130, .6)) drop-shadow(0 30px 50px rgba(0, 0, 0, .8));
  }
  .lh-logo:focus-visible { outline: none; }
  .lh-logo__hint {
    display: block; position: absolute; left: 50%; bottom: 4%; translate: -50% 0;
    font: 600 .7rem/1 Inter, system-ui, sans-serif; letter-spacing: .3em; text-transform: uppercase;
    color: var(--g-hi); white-space: nowrap; opacity: 0; transform: translateY(6px);
    text-shadow: 0 0 14px rgba(0, 0, 0, .9);
    transition: opacity .4s ease, transform .4s var(--ease);
  }
  .lh-logo:hover .lh-logo__hint, .lh-logo:focus-visible .lh-logo__hint { opacity: 1; transform: none; }
}
@media (min-width: 1200px) and (min-height: 700px) {
  .lh-art-on .lh-gate-close {
    display: grid; place-items: center; position: absolute; top: 18px; right: 22px; z-index: 2;
    width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
    font-size: .95rem; color: var(--g-hi);
    background: rgba(10, 8, 12, .7); border: 1px solid rgba(216, 180, 90, .45);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .5);
    transition: transform .3s var(--ease), border-color .3s ease, background .3s ease;
  }
  .lh-art-on .lh-gate-close:hover { transform: rotate(90deg); border-color: var(--g-hi); background: rgba(30, 22, 14, .85); }
  .lh-art-on .lh-hero {
    --art-h: calc(100vw / 1.5);
    min-height: 0; place-items: start center;
    padding: max(200px, min(calc(var(--art-h) * .6), calc(100svh - var(--nc-header-h, 72px) - 360px))) 20px 56px;
  }
  /* Tekst w oknie jak w interfejsie L2 — nie leży bezpośrednio na postaciach */
  .lh-art-on .lh-hero .lh-hero__inner {
    width: min(700px, 92vw);
    padding: 26px 36px 22px;
    border: 1px solid rgba(216, 180, 90, .4);
    border-radius: 4px;
    background:
      var(--corner-tl) top 6px left 6px / 30px no-repeat,
      var(--corner-tr) top 6px right 6px / 30px no-repeat,
      var(--corner-bl) bottom 6px left 6px / 30px no-repeat,
      var(--corner-br) bottom 6px right 6px / 30px no-repeat,
      radial-gradient(90% 70% at 50% 0%, rgba(216, 170, 80, .12), transparent 60%),
      linear-gradient(180deg, rgba(16, 12, 18, .86), rgba(8, 6, 10, .9));
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    box-shadow:
      inset 0 0 0 4px rgba(8, 6, 10, .7), inset 0 0 0 5px rgba(216, 180, 90, .14),
      0 30px 60px rgba(0, 0, 0, .65), 0 0 80px rgba(0, 0, 0, .5);
    animation: lhUp 1s var(--ease) .3s both;
  }
  .lh-art-on .lh-hero .lh-line { margin: 0 0 10px; font-size: .66rem; letter-spacing: .24em; gap: 12px; }
  .lh-art-on .lh-hero .lh-line::before, .lh-art-on .lh-hero .lh-line::after { flex-basis: 40px; }
  .lh-art-on .lh-hero .lh-title { font-size: clamp(1.6rem, 2.2vw, 1.95rem); letter-spacing: .09em; white-space: nowrap; }
  .lh-art-on .lh-hero .lh-lead { margin-top: 10px; font-size: .98rem; }
  .lh-art-on .lh-hero .lh-btn--hero { margin-top: 18px; min-height: 56px; }
  .lh-art-on .lh-hero .lh-status { margin-top: 14px; font-size: .82rem; }
  .lh-art-on .lh-hero .lh-scroll { display: none; }
  .lh-art-on .lh-aura { inset: 0 0 auto; }
  .lh-art-on .lh-art { display: block; position: relative; width: 100%; aspect-ratio: 3 / 2; }
  .lh-art-on .lh-veil { display: block; }
  .lh-art-on .lh-glow, .lh-art-on .lh-rays, .lh-art-on .lh-logo, .lh-art-on .lh-hero::after { display: none; }
}
.lh-art img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; filter: brightness(.3) blur(6px); transform: scale(1.02);
  transition: opacity 1.4s var(--ease), filter 1.6s var(--ease), transform 2.2s var(--ease);
}
.lh-art img.is-loaded { opacity: 1; filter: none; transform: none; }
.lh-art__crack {
  position: absolute; left: 47.8%; top: 57.6%; width: 1.6%; height: 26%; translate: -50% -50%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 236, 180, .95), rgba(255, 190, 90, .35) 45%, transparent 75%);
  filter: blur(3px); mix-blend-mode: screen;
  animation: lhCrack 3.6s ease-in-out infinite;
}
@keyframes lhCrack { 0%, 100% { opacity: .75; transform: scaleY(1); } 50% { opacity: 1; transform: scaleY(1.08); } }
.lh-art__rays {
  position: absolute; left: 47.8%; top: 57.6%; width: 120%; height: 120%; translate: -50% -50%;
  background: conic-gradient(from 0deg at 50% 50%,
    transparent 0deg, rgba(255, 210, 140, .07) 8deg, transparent 16deg, transparent 150deg,
    rgba(255, 210, 140, .1) 165deg, transparent 172deg, rgba(255, 210, 140, .08) 182deg, transparent 194deg,
    transparent 340deg, rgba(255, 210, 140, .06) 352deg, transparent 360deg);
  -webkit-mask: radial-gradient(closest-side, #000, transparent);
  mask: radial-gradient(closest-side, #000, transparent);
  mix-blend-mode: screen; filter: blur(4px);
  animation: lhRays 16s ease-in-out infinite alternate;
}
@keyframes lhRays { from { transform: rotate(-3deg); opacity: .7; } to { transform: rotate(3deg); opacity: 1; } }
.lh-art__forge {
  position: absolute; left: 92.5%; top: 72%; width: 18%; height: 26%; translate: -50% -50%;
  background: radial-gradient(closest-side, rgba(255, 150, 50, .45), transparent);
  mix-blend-mode: screen; animation: lhForge 1.6s ease-in-out infinite alternate;
}
@keyframes lhForge { 0% { opacity: .55; } 40% { opacity: .9; } 70% { opacity: .65; } 100% { opacity: 1; } }
/* Świece: żywy płomień i ciepła poświata nad namalowanymi świecami */
.lh-candles i {
  position: absolute; width: calc(.75% * var(--k)); aspect-ratio: 1 / 2.6;
  translate: -50% -62%;
}
.lh-candles i::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 900%; aspect-ratio: 1; translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 196, 110, .42), rgba(255, 160, 70, .14) 45%, transparent);
  mix-blend-mode: screen;
  animation: lhHaloCandle var(--t) ease-in-out var(--d) infinite;
}
.lh-candles i::after {
  content: ""; position: absolute; inset: 0; border-radius: 50% 50% 45% 45% / 62% 62% 38% 38%;
  background: radial-gradient(50% 60% at 50% 70%, #fffbe8 0%, #ffe39a 35%, rgba(255, 170, 60, .75) 65%, transparent 100%);
  mix-blend-mode: screen; filter: blur(.4px);
  transform-origin: 50% 90%;
  animation: lhCandle calc(var(--t) * .55) ease-in-out var(--d) infinite alternate;
}
@keyframes lhCandle {
  0%   { transform: scale(1, 1) skewX(0deg); opacity: .95; }
  25%  { transform: scale(.88, 1.12) skewX(4deg); opacity: 1; }
  50%  { transform: scale(1.06, .9) skewX(-3deg); opacity: .85; }
  75%  { transform: scale(.94, 1.06) skewX(2deg); opacity: 1; }
  100% { transform: scale(1.02, .96) skewX(-1deg); opacity: .9; }
}
@keyframes lhHaloCandle {
  0%, 100% { opacity: .75; transform: scale(1); }
  30% { opacity: 1; transform: scale(1.08); }
  55% { opacity: .65; transform: scale(.95); }
  80% { opacity: .9; transform: scale(1.04); }
}
.lh-art:has(.lh-spot--scribe:hover) .lh-candles i::before { animation-duration: .9s; }

/* Interaktywne miejsca na grafice */
.lh-aura .lh-spot { pointer-events: auto; }
.lh-spot {
  position: absolute; display: block; border-radius: 40%;
  cursor: pointer; outline: none; -webkit-tap-highlight-color: transparent;
}
.lh-spot--scribe { left: 15%; top: 40%; width: 20%; height: 40%; }
.lh-spot--gate   { left: 35%; top: 27%; width: 22%; height: 52%; }
.lh-spot--reaper { left: 57%; top: 26%; width: 19%; height: 60%; }
.lh-spot--smith  { left: 79%; top: 45%; width: 20%; height: 40%; }
.lh-spot__glow {
  position: absolute; inset: -10%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 210, 130, .32), rgba(255, 190, 90, .1) 55%, transparent);
  mix-blend-mode: screen; opacity: 0; transform: scale(.85);
  transition: opacity .5s var(--ease), transform .7s var(--ease);
}
.lh-spot--reaper .lh-spot__glow { background: radial-gradient(closest-side, rgba(170, 200, 255, .22), rgba(120, 150, 220, .08) 55%, transparent); }
.lh-spot--smith .lh-spot__glow { background: radial-gradient(closest-side, rgba(255, 150, 60, .38), rgba(255, 120, 40, .12) 55%, transparent); }
.lh-spot__rune {
  position: absolute; left: 50%; top: 18%; width: 14px; height: 14px; translate: -50% -50%;
  rotate: 45deg; border: 1px solid rgba(246, 220, 148, .9);
  background: rgba(246, 220, 148, .25);
  box-shadow: 0 0 12px rgba(246, 210, 130, .8);
  animation: lhRune 2.6s ease-in-out infinite;
}
.lh-spot--gate .lh-spot__rune { top: 12%; }
.lh-spot--smith .lh-spot__rune { top: 22%; }
@keyframes lhRune { 0%, 100% { opacity: .35; scale: .8; } 50% { opacity: 1; scale: 1.1; } }
.lh-spot__tag {
  position: absolute; left: 50%; top: 18%; translate: -50% calc(-100% - 16px);
  display: grid; gap: 3px; white-space: nowrap; text-align: center;
  padding: 10px 16px 9px;
  font: 500 .8rem/1.2 Inter, system-ui, sans-serif; color: var(--text);
  background: linear-gradient(180deg, rgba(30, 23, 16, .96), rgba(12, 9, 12, .96));
  border: 1px solid rgba(216, 180, 90, .55); border-radius: 3px;
  box-shadow: inset 0 0 0 3px rgba(8, 6, 10, .8), inset 0 0 0 4px rgba(216, 180, 90, .2), 0 14px 30px rgba(0, 0, 0, .6);
  opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity .35s var(--ease), transform .45s var(--ease);
}
.lh-spot__tag b { font: 700 .9rem/1.1 Cinzel, Georgia, serif; letter-spacing: .12em; text-transform: uppercase; color: var(--g-hi); }
.lh-spot__tag::after {
  content: ""; position: absolute; left: 50%; bottom: -6px; width: 10px; height: 10px; translate: -50% 0; rotate: 45deg;
  background: #0f0b0e; border-right: 1px solid rgba(216, 180, 90, .55); border-bottom: 1px solid rgba(216, 180, 90, .55);
}
.lh-spot--gate .lh-spot__tag { top: 12%; }
.lh-spot--smith .lh-spot__tag { top: 22%; }
.lh-spot:hover .lh-spot__glow, .lh-spot:focus-visible .lh-spot__glow { opacity: 1; transform: none; }
.lh-spot:hover .lh-spot__tag, .lh-spot:focus-visible .lh-spot__tag { opacity: 1; transform: none; }
.lh-spot:hover .lh-spot__rune, .lh-spot:focus-visible .lh-spot__rune { opacity: 0; animation: none; }
/* Brama się uchyla: szczelina rośnie, światło mocniej się wylewa */
.lh-art__crack, .lh-art__rays { transition: width .9s var(--ease), filter .9s ease, opacity .9s ease; }
.lh-art:has(.lh-spot--gate:hover) .lh-art__crack,
.lh-art:has(.lh-spot--gate:focus-visible) .lh-art__crack { width: 5%; filter: blur(5px) brightness(1.4); }
.lh-art:has(.lh-spot--gate:hover) .lh-art__rays,
.lh-art:has(.lh-spot--gate:focus-visible) .lh-art__rays { filter: blur(3px) brightness(2.2); }
.lh-art:has(.lh-spot--smith:hover) .lh-art__forge { animation-duration: .5s; }
.lh-hero__inner { pointer-events: none; }
.lh-hero__inner a, .lh-hero__inner button { pointer-events: auto; }

.lh-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 6, 11, .5) 0%, transparent 20%, transparent 50%, rgba(7, 6, 11, .72) 70%, #07060b 96%),
    radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(7, 6, 11, .75) 100%);
}
.lh-embers i {
  position: absolute; bottom: -10px; left: var(--x);
  width: var(--s); height: var(--s); border-radius: 50%;
  background: #ffd486; box-shadow: 0 0 10px 2px rgba(255, 168, 60, .75);
  opacity: 0;
  animation: lhEmber var(--d) linear var(--delay) infinite;
}
@keyframes lhEmber {
  0% { transform: translate3d(0, 0, 0); opacity: 0; }
  10% { opacity: .9; }
  60% { opacity: .7; }
  100% { transform: translate3d(var(--drift), -105vh, 0); opacity: 0; }
}

.lh-hero__inner { position: relative; width: min(100%, 860px); display: grid; justify-items: center; text-align: center; }

.lh-line {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin: 8px 0 18px;
  font: 600 .74rem/1.4 Inter, system-ui, sans-serif; letter-spacing: .28em; text-transform: uppercase;
  color: var(--g-hi);
  text-shadow: 0 1px 3px rgba(0, 0, 0, .95), 0 0 16px rgba(7, 6, 11, .95);
  animation: lhUp 1s var(--ease) .4s both;
}
.lh-line > span { white-space: nowrap; }
.lh-line::before, .lh-line::after { content: ""; flex: 0 0 90px; height: 1px; background: linear-gradient(90deg, transparent, var(--g)); }
.lh-line::after { transform: scaleX(-1); }
.lh-sep { color: var(--g-deep); font-size: .6rem; letter-spacing: 0; }
.lh-title {
  font: 500 clamp(1.9rem, 3.4vw, 2.6rem)/1.12 Cinzel, Georgia, serif;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
  text-shadow: 0 0 30px rgba(222, 164, 64, .25), 0 2px 4px rgba(0, 0, 0, .9), 0 4px 30px rgba(0, 0, 0, .9);
  animation: lhUp 1s var(--ease) .5s both;
}
.lh-lead {
  margin-top: 12px; max-width: 60ch;
  font-size: clamp(1rem, 1.5vw, 1.1rem); line-height: 1.65; color: var(--text);
  text-shadow: 0 1px 3px rgba(0, 0, 0, .95), 0 0 20px rgba(7, 6, 11, .9);
  animation: lhUp 1s var(--ease) .6s both;
}
@keyframes lhUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.lh-status {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 10px;
  margin-top: 22px; font-size: .86rem; letter-spacing: .04em; color: var(--muted);
  animation: lhUp 1s var(--ease) .8s both;
}
.lh-status b { color: var(--g-hi); font-weight: 650; }
.lh-players[hidden] { display: none; }
.lh-live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #c0574b; box-shadow: 0 0 0 3px rgba(192, 87, 75, .2); }
.lh-live.is-on { background: #57d27c; animation: lhPing 2s ease-out infinite; }
@keyframes lhPing { 0% { box-shadow: 0 0 0 0 rgba(87, 210, 124, .55); } 100% { box-shadow: 0 0 0 10px rgba(87, 210, 124, 0); } }

/* ── Przyciski ────────────────────────────────────────── */
.lh-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 34px; }
.lh-btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 30px;
  font: 700 .95rem/1 Cinzel, Georgia, serif; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  border-radius: 6px;
  transition: transform .3s var(--ease), box-shadow .3s ease, filter .3s ease;
}
.lh-btn .lh-ico { width: 20px; height: 20px; }
.lh-btn--hero {
  margin-top: 24px; min-height: 64px; padding: 0 46px; border-radius: 3px;
  font-size: 1.02rem; letter-spacing: .18em;
  animation: lhUp 1s var(--ease) .7s both;
}
.lh-btn--hero.lh-btn--gold { box-shadow:
    inset 0 1px 0 rgba(255, 252, 235, .9), inset 0 -3px 0 rgba(90, 58, 10, .45),
    0 0 0 4px rgba(20, 14, 6, .9), 0 0 0 5px rgba(216, 180, 90, .6), 0 0 70px rgba(222, 164, 64, .35); }
.lh-btn--gold {
  color: #241703;
  background: linear-gradient(180deg, #ffeab0 0%, #e7c06a 38%, #c3922f 70%, #8f6519 100%);
  border: 1px solid #5c3f0e;
  box-shadow:
    inset 0 1px 0 rgba(255, 252, 235, .9), inset 0 -3px 0 rgba(90, 58, 10, .45),
    0 0 0 1px rgba(255, 220, 140, .25), 0 0 0 4px rgba(20, 14, 6, .9), 0 0 0 5px rgba(216, 180, 90, .55),
    0 16px 34px rgba(201, 150, 40, .3);
}
.lh-btn--gold::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%);
  transform: translateX(-120%); animation: lhSweep 5.5s ease-in-out 1.8s infinite;
}
@keyframes lhSweep { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.lh-btn--dark {
  color: var(--g-hi);
  background: linear-gradient(180deg, rgba(48, 36, 22, .92), rgba(16, 12, 16, .95));
  border: 1px solid rgba(216, 180, 90, .45);
  box-shadow: inset 0 1px 0 rgba(255, 236, 190, .16), 0 0 0 4px rgba(20, 14, 6, .7), 0 0 0 5px rgba(216, 180, 90, .22), 0 14px 30px rgba(0, 0, 0, .4);
}
.lh-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.lh-btn--gold:hover { box-shadow:
    inset 0 1px 0 rgba(255, 252, 235, .9), inset 0 -3px 0 rgba(90, 58, 10, .45),
    0 0 0 1px rgba(255, 220, 140, .3), 0 0 0 4px rgba(20, 14, 6, .9), 0 0 0 5px rgba(246, 220, 148, .8),
    0 20px 44px rgba(216, 160, 50, .42); }
.lh-btn:active { transform: translateY(0) scale(.98); }
.lh-btn:focus-visible, .lh-race:focus-visible, .lh-linkcard:focus-visible { outline: 2px solid var(--g-hi); outline-offset: 4px; }


.lh-scroll {
  position: absolute; left: 50%; bottom: 26px; translate: -50% 0;
  width: 26px; height: 42px; border-radius: 14px; border: 1px solid var(--g-line);
  display: grid; justify-items: center; padding-top: 8px;
}
.lh-scroll span { width: 3px; height: 8px; border-radius: 2px; background: var(--g); animation: lhScroll 2.2s var(--ease) infinite; }
@media (max-height: 760px) { .lh-hero .lh-scroll { display: none; } }
@keyframes lhScroll { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ── Sekcje ───────────────────────────────────────────── */
.lh-section { position: relative; width: min(100% - 32px, 1120px); margin: 0 auto; padding: 72px 0 0; }
.lh-head { text-align: center; margin-bottom: 36px; }
.lh-kicker { font: 600 .7rem/1 Inter, system-ui, sans-serif; letter-spacing: .26em; text-transform: uppercase; color: var(--g); margin-bottom: 12px; }
.lh-h2 {
  font-family: Cinzel, Georgia, serif; font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem); letter-spacing: .04em; color: var(--ink);
  text-shadow: 0 4px 22px rgba(0, 0, 0, .5);
}
.lh-divider { display: block; width: 240px; max-width: 70%; height: 18px; margin: 14px auto 0; background: var(--divider) center / contain no-repeat; }
.lh-note { margin-top: 22px; text-align: center; font-size: .86rem; line-height: 1.6; color: var(--muted); }
.lh-note code { color: var(--g-hi); font-size: .85em; }
.lh-link { color: var(--g-hi); text-decoration: none; border-bottom: 1px solid var(--g-line); transition: border-color .2s ease, color .2s ease; }
.lh-link:hover { color: #fff3d0; border-bottom-color: currentColor; }

/* Ozdobna ramka w stylu okien L2 */
.lh-frame {
  position: relative;
  background:
    var(--corner-tl) top 6px left 6px / 34px no-repeat,
    var(--corner-tr) top 6px right 6px / 34px no-repeat,
    var(--corner-bl) bottom 6px left 6px / 34px no-repeat,
    var(--corner-br) bottom 6px right 6px / 34px no-repeat,
    radial-gradient(120% 80% at 50% 0%, rgba(216, 170, 80, .1), transparent 55%),
    var(--panel);
  border: 1px solid rgba(216, 180, 90, .22);
  border-radius: 4px;
  box-shadow:
    inset 0 0 0 4px rgba(10, 8, 12, .85), inset 0 0 0 5px rgba(216, 180, 90, .12),
    inset 0 1px 0 rgba(255, 236, 190, .1), 0 22px 44px rgba(0, 0, 0, .45);
  transition: transform .4s var(--ease), border-color .4s ease, box-shadow .4s ease;
}
.lh-frame:hover {
  border-color: rgba(246, 220, 148, .45);
  box-shadow:
    inset 0 0 0 4px rgba(10, 8, 12, .85), inset 0 0 0 5px rgba(216, 180, 90, .22),
    inset 0 1px 0 rgba(255, 236, 190, .14), 0 28px 56px rgba(0, 0, 0, .55), 0 0 40px rgba(216, 170, 80, .08);
}

/* Odsłanianie przy przewijaniu */
.lh [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.lh [data-reveal].is-in { opacity: 1; transform: none; }
.lh .lh-frame[data-reveal].is-in:hover { transform: translateY(-4px); }

/* Fundamenty */
.lh-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.lh-pillar { padding: 36px 30px 32px; text-align: center; }
.lh-pillar:nth-child(2) { --i: 1; }
.lh-pillar:nth-child(3) { --i: 2; }
.lh-pillar__icon {
  display: inline-grid; place-items: center; width: 62px; height: 62px; margin-bottom: 18px;
  color: var(--g-hi); border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 230, 160, .22), rgba(60, 40, 14, .6) 70%);
  border: 1px solid rgba(216, 180, 90, .45);
  box-shadow: inset 0 1px 0 rgba(255, 240, 200, .3), 0 0 0 5px rgba(12, 9, 14, .9), 0 0 0 6px rgba(216, 180, 90, .2), 0 10px 22px rgba(0, 0, 0, .45);
}
.lh-pillar__icon .lh-ico { width: 28px; height: 28px; }
.lh-pillar h3 { font: 700 1.2rem/1.2 Cinzel, Georgia, serif; letter-spacing: .05em; color: var(--ink); margin-bottom: 12px; }
.lh-pillar p { font-size: .92rem; line-height: 1.65; color: var(--text); }

/* Rasy */
.lh-races { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.lh-race {
  position: relative; display: flex; flex-direction: column; cursor: default; outline: none;
  border-radius: 6px; overflow: hidden;
  background: linear-gradient(180deg, rgba(20, 16, 24, .9), rgba(8, 7, 11, .96));
  border: 1px solid rgba(216, 180, 90, .2);
  box-shadow: 0 18px 36px rgba(0, 0, 0, .45);
  transition: transform .5s var(--ease), border-color .4s ease, box-shadow .5s var(--ease);
}
.lh-race__crest { position: relative; aspect-ratio: 1; overflow: hidden; }
.lh-race__crest::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 50% 45%, color-mix(in srgb, var(--tone) 35%, transparent), transparent 70%);
  mix-blend-mode: screen; opacity: 0; transition: opacity .5s ease;
}
.lh-race__crest img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); filter: saturate(.85) brightness(.9); transition: transform .8s var(--ease), filter .5s ease; }
.lh-race__body { padding: 14px 14px 16px; text-align: center; }
.lh-race h3 { font: 700 1.02rem/1.2 Cinzel, Georgia, serif; letter-spacing: .08em; color: var(--ink); transition: color .4s ease; }
.lh-race__classes { margin-top: 4px; font-size: .72rem; letter-spacing: .04em; color: var(--muted); }
.lh-race__text {
  font-size: .82rem; line-height: 1.55; color: var(--text);
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .6s var(--ease), opacity .4s ease, margin .6s var(--ease);
}
.lh-race:hover, .lh-race:focus-visible {
  transform: translateY(-8px);
  border-color: color-mix(in srgb, var(--tone) 65%, transparent);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .55), 0 0 0 1px color-mix(in srgb, var(--tone) 30%, transparent), 0 0 50px color-mix(in srgb, var(--tone) 22%, transparent);
}
.lh-race:hover .lh-race__crest img, .lh-race:focus-visible .lh-race__crest img { transform: scale(1.1); filter: saturate(1.1) brightness(1.05); }
.lh-race:hover .lh-race__crest::after, .lh-race:focus-visible .lh-race__crest::after { opacity: 1; }
.lh-race:hover h3, .lh-race:focus-visible h3 { color: var(--tone); }
.lh-race:hover .lh-race__text, .lh-race:focus-visible .lh-race__text { max-height: 9em; opacity: 1; margin-top: 10px; }

/* Stawki — pieczęcie */
.lh-seals { display: flex; justify-content: center; flex-wrap: wrap; gap: 22px; }
.lh-seal {
  position: relative; width: 128px; height: 128px; border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 240, 200, .35), transparent 40%),
    radial-gradient(circle, #3a2a14 0%, #1d150c 62%, #0e0a07 100%);
  border: 1px solid rgba(246, 220, 148, .5);
  box-shadow:
    inset 0 0 0 6px rgba(12, 9, 6, .85), inset 0 0 0 7px rgba(216, 180, 90, .4),
    inset 0 -10px 18px rgba(0, 0, 0, .5), 0 16px 30px rgba(0, 0, 0, .5), 0 0 0 4px rgba(216, 180, 90, .08);
  transition: transform .5s var(--ease), box-shadow .5s ease;
}
.lh-seal::before {
  content: ""; position: absolute; inset: 14px; border-radius: 50%;
  border: 1px dashed rgba(216, 180, 90, .32);
  animation: lhSpin 40s linear infinite;
}
@keyframes lhSpin { to { transform: rotate(360deg); } }
.lh-seal b {
  font: 700 1.8rem/1 Cinzel, Georgia, serif;
  background: linear-gradient(180deg, #fff1c6, #d8b45a 60%, #a87c2a);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.lh-seal span { margin-top: 6px; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.lh-seal.is-in:hover { transform: translateY(-6px) rotate(-3deg); box-shadow:
    inset 0 0 0 6px rgba(12, 9, 6, .85), inset 0 0 0 7px rgba(246, 220, 148, .6),
    inset 0 -10px 18px rgba(0, 0, 0, .5), 0 22px 40px rgba(0, 0, 0, .55), 0 0 30px rgba(216, 170, 80, .2); }

/* Jak zacząć */
.lh-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: none; position: relative; }
.lh-steps::before {
  content: ""; position: absolute; top: 31px; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--g-line) 15%, var(--g-line) 85%, transparent);
}
.lh-step { position: relative; text-align: center; padding: 0 6px; }
.lh-step:nth-child(2) { --i: 1; } .lh-step:nth-child(3) { --i: 2; } .lh-step:nth-child(4) { --i: 3; }
.lh-step__n {
  position: relative; display: inline-grid; place-items: center; width: 62px; height: 62px; margin-bottom: 16px;
  font: 700 1.05rem/1 Cinzel, Georgia, serif; color: #241703;
  background: radial-gradient(circle at 34% 28%, #fff1c6, #e2b85e 50%, #9c6f22 100%);
  border-radius: 50%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -3px 6px rgba(90, 58, 10, .5), 0 0 0 5px #0b0910, 0 0 0 6px rgba(216, 180, 90, .4), 0 12px 24px rgba(0, 0, 0, .5);
}
.lh-step h3 { font: 700 1.05rem/1.2 Cinzel, Georgia, serif; letter-spacing: .06em; color: var(--ink); margin-bottom: 8px; }
.lh-step p { font-size: .88rem; line-height: 1.6; color: var(--text); }
.lh-step b { color: var(--ink); font-weight: 650; }

/* Sala chwały — podium z includes/podium.php, liderzy kategorii */
.lh-hall__note { max-width: 620px; margin: -12px auto 30px; text-align: center; font-size: .9rem; line-height: 1.6; color: var(--muted); }
.lh-hall__note b { color: var(--g-hi); font-weight: 650; }
.lh-leaders { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; max-width: 980px; margin: 30px auto 0; }
.lh-leaders a {
  display: grid; gap: 4px; padding: 14px 18px; border-radius: 6px; text-decoration: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01)), rgba(12, 10, 16, .82);
  border: 1px solid rgba(216, 180, 90, .2);
  transition: transform .35s var(--ease), border-color .3s ease, box-shadow .35s ease;
}
.lh-leaders a:hover { transform: translateY(-3px); border-color: rgba(246, 220, 148, .5); box-shadow: 0 16px 30px rgba(0, 0, 0, .4), 0 0 24px rgba(216, 170, 80, .12); }
.lh-leaders span { font-size: .62rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--g); }
.lh-leaders b { font: 700 1.05rem/1.2 Cinzel, Georgia, serif; letter-spacing: .04em; color: var(--ink); overflow-wrap: anywhere; }
.lh-leaders em { font-style: normal; font-size: .82rem; color: var(--muted); }
@media (max-width: 600px) {
  .lh-leaders { gap: 8px; margin-top: 22px; }
  .lh-leaders a { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "k v" "n v"; align-items: center; column-gap: 12px; padding: 12px 14px; }
  .lh-leaders span { grid-area: k; }
  .lh-leaders b { grid-area: n; font-size: .98rem; }
  .lh-leaders em { grid-area: v; text-align: right; }
}

/* Start Sezonu I */
.lh-lead b { color: var(--g-hi); font-weight: 650; }
.lh-cal { display: grid; justify-items: center; gap: 12px; margin-top: 30px; }
.lh-cal .lh-btn { min-height: 50px; padding: 0 26px; font-size: .86rem; }
.lh-cal__alt { font-size: .8rem; color: var(--muted); text-decoration: none; border-bottom: 1px solid transparent; transition: color .2s ease, border-color .2s ease; }
.lh-cal__alt:hover { color: var(--g-hi); border-bottom-color: var(--g-line); }
.lh-cal__count {
  margin-top: 6px; padding: 8px 18px; border-radius: 999px;
  font-size: .84rem; color: var(--text);
  background: rgba(216, 180, 90, .07); border: 1px solid rgba(216, 180, 90, .2);
}
.lh-cal__count b { font: 700 1.05rem/1 Cinzel, Georgia, serif; color: var(--g-hi); margin-right: 2px; }

/* Trzy fakty o starcie — lista na hairline'ach, celowo inna niż ramki „Tak jak pamiętasz” */
.lh-launch__facts {
  --hair: linear-gradient(90deg, transparent, rgba(216, 180, 90, .4) 18%, rgba(216, 180, 90, .4) 82%, transparent);
  position: relative; width: 100%; margin: 46px auto 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
}
.lh-launch__facts::before, .lh-launch__facts::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--hair); }
.lh-launch__facts::before { top: 0; }
.lh-launch__facts::after { bottom: 0; }
.lh-launch__facts li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: start; padding: 30px 26px; }
.lh-launch__facts li + li::before {
  content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px;
  background: linear-gradient(180deg, transparent, rgba(216, 180, 90, .35), transparent);
}
.lh-launch__icon {
  position: relative; display: grid; place-items: center; width: 44px; height: 44px; margin-top: 2px; color: var(--g-hi);
}
.lh-launch__icon::before {
  content: ""; position: absolute; inset: 6px; rotate: 45deg; border-radius: 3px;
  background: radial-gradient(circle at 35% 30%, rgba(255, 230, 160, .2), rgba(50, 34, 12, .7) 75%);
  border: 1px solid rgba(216, 180, 90, .5);
  box-shadow: 0 0 0 4px rgba(12, 9, 14, .9), 0 0 0 5px rgba(216, 180, 90, .16), 0 0 22px rgba(216, 160, 60, .14);
  transition: box-shadow .5s var(--ease), rotate .6s var(--ease);
}
.lh-launch__icon .lh-ico { position: relative; width: 20px; height: 20px; }
.lh-launch__facts li:hover .lh-launch__icon::before { rotate: 135deg; box-shadow: 0 0 0 4px rgba(12, 9, 14, .9), 0 0 0 5px rgba(216, 180, 90, .3), 0 0 28px rgba(216, 160, 60, .3); }
.lh-launch__facts h3 { font: 700 1rem/1.25 Cinzel, Georgia, serif; letter-spacing: .04em; text-wrap: balance; color: var(--ink); margin-bottom: 8px; }
.lh-launch__facts p { font-size: .88rem; line-height: 1.65; color: var(--text); }
.lh-launch__team { margin-top: 26px; }
.lh-launch__team .lh-ico { width: 17px; height: 17px; margin-right: 6px; vertical-align: -3px; color: var(--g); }
@media (max-width: 860px) {
  .lh-launch__facts { grid-template-columns: 1fr; max-width: 560px; }
  .lh-launch__facts li { padding: 24px 6px; }
  .lh-launch__facts li + li::before { left: 10%; right: 10%; top: 0; bottom: auto; width: auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(216, 180, 90, .3), transparent); }
}


/* Chwila startu: zegar rozbłyska, gdy odliczanie zamienia się w czas działania świata */
.lh-sc .sc.is-launch { animation: lhLaunch 1.6s ease-out 3; }
@keyframes lhLaunch {
  0% { box-shadow: 0 0 0 0 rgba(246, 220, 148, .55), 0 0 0 rgba(246, 220, 148, 0); }
  40% { box-shadow: 0 0 0 10px rgba(246, 220, 148, 0), 0 0 90px rgba(246, 220, 148, .45); }
  100% { box-shadow: 0 0 0 0 rgba(246, 220, 148, 0), 0 0 0 rgba(246, 220, 148, 0); }
}

/* Kronika świata — licznik jak grawerowana tablica: złote cyfry bez kafelków */
.lh-sc .sc {
  --sc-h: 76px;
  width: min(100%, 820px);
  margin: 0 auto; padding: 40px 28px 34px;
  border-radius: 4px;
  border: 1px solid rgba(216, 180, 90, .26);
  background:
    var(--corner-tl) top 6px left 6px / 34px no-repeat,
    var(--corner-tr) top 6px right 6px / 34px no-repeat,
    var(--corner-bl) bottom 6px left 6px / 34px no-repeat,
    var(--corner-br) bottom 6px right 6px / 34px no-repeat,
    radial-gradient(70% 60% at 50% 30%, rgba(216, 170, 80, .13), transparent 70%),
    var(--panel);
  box-shadow: inset 0 0 0 4px rgba(10, 8, 12, .85), inset 0 0 0 5px rgba(216, 180, 90, .12), 0 22px 44px rgba(0, 0, 0, .45);
}
.lh-sc .sc .sc__kicker, .lh-sc .sc.is-live .sc__kicker {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin: 0 0 22px; color: var(--g);
  font: 600 .7rem/1 Inter, system-ui, sans-serif; letter-spacing: .32em;
}
.lh-sc .sc .sc__kicker::before, .lh-sc .sc .sc__kicker::after {
  content: ""; width: 60px; height: 1px; background: linear-gradient(90deg, transparent, var(--g));
}
.lh-sc .sc .sc__kicker::after { transform: scaleX(-1); }
.lh-sc .sc__face { gap: 0; align-items: stretch; }
.lh-sc .sc__unit { padding: 0 clamp(14px, 3.4vw, 40px); }
.lh-sc .sc__pair { gap: 0; }
.lh-sc .sc-digit {
  width: .66em; font-size: 64px; height: var(--sc-h);
  background: none; border-radius: 0; box-shadow: none; overflow: hidden;
}
.lh-sc .sc-digit::after { display: none; }
.lh-sc .sc-digit__reel span {
  height: var(--sc-h);
  font: 600 64px/1 Cinzel, Georgia, serif; letter-spacing: 0; font-variant-numeric: lining-nums tabular-nums;
  color: transparent;
  background: linear-gradient(180deg, #fff6dc 0%, #f0d38c 45%, #c9973a 80%, #8f6519 100%);
  -webkit-background-clip: text; background-clip: text;
}
.lh-sc .sc__pair { filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .6)) drop-shadow(0 0 16px rgba(222, 164, 64, .22)); }
/* Bez zer na początku liczby dni (034 → 34) */
.lh-sc [data-sc-unit="d"] .sc-digit[data-n="0"]:first-child,
.lh-sc [data-sc-unit="d"] .sc-digit[data-n="0"]:first-child + .sc-digit[data-n="0"] { display: none; }
.lh-sc .sc__label {
  margin-top: 10px; color: var(--muted);
  font: 600 .64rem/1 Inter, system-ui, sans-serif; letter-spacing: .32em;
}
/* Separatory: cienka złota linia z rombem zamiast mrugających kropek */
.lh-sc .sc__colon {
  width: 1px; height: auto; align-self: stretch;
  background: linear-gradient(180deg, transparent, rgba(216, 180, 90, .55) 30%, rgba(216, 180, 90, .55) 70%, transparent);
}
.lh-sc .sc .sc__colon::before, .lh-sc .sc.is-live .sc__colon::before {
  top: 38%; left: 50%; width: 7px; height: 7px; margin: 0; translate: -50% -50%; rotate: 45deg;
  border-radius: 0; background: #e8c66e; opacity: 1; animation: none;
  box-shadow: 0 0 10px rgba(232, 198, 110, .6);
}
.lh-sc .sc .sc__colon::after, .lh-sc .sc.is-live .sc__colon::after { display: none; }
.lh-sc .sc__when {
  margin-top: 24px; color: var(--muted);
  font: 500 .86rem/1.4 Inter, system-ui, sans-serif; letter-spacing: .04em;
}
.lh-sc .sc__status { margin-top: 6px; color: var(--text); font-size: .92rem; max-width: 52ch; }
.lh-sc .sc__watch {
  align-items: center; justify-content: center;
  margin-top: 22px; min-height: 50px; padding: 0 28px; border-radius: 4px;
  font: 700 .86rem/1 Cinzel, Georgia, serif; letter-spacing: .14em; text-transform: uppercase;
  color: #241703;
  background: linear-gradient(180deg, #ffeab0 0%, #e7c06a 38%, #c3922f 70%, #8f6519 100%);
  border: 1px solid #5c3f0e;
  box-shadow: inset 0 1px 0 rgba(255, 252, 235, .9), inset 0 -3px 0 rgba(90, 58, 10, .45), 0 0 0 4px rgba(20, 14, 6, .9), 0 0 0 5px rgba(216, 180, 90, .5), 0 14px 30px rgba(201, 150, 40, .25);
  transition: transform .3s var(--ease), filter .3s ease;
}
.lh-sc .sc__watch:hover { transform: translateY(-2px); filter: brightness(1.08); }
/* Przed startem nie ma jeszcze streamu — miejsce na odtwarzacz pojawia się, gdy licznik dojdzie do zera */
.lh-sc .sc:not(.is-live) .sc__player { display: none; }
.lh-sc .sc:not(.is-live) { padding-bottom: 30px; }
@media (max-width: 640px) {
  .lh-sc .sc { --sc-h: 52px; padding: 30px 12px 26px; }
  .lh-sc .sc-digit { font-size: 38px; }
  .lh-sc .sc-digit__reel span { font-size: 38px; }
  .lh-sc .sc__unit { padding: 0 13px; }
  .lh-sc .sc__label { letter-spacing: .2em; }
  .lh-sc .sc .sc__kicker::before, .lh-sc .sc .sc__kicker::after { width: 28px; }
}

/* Legenda */
.lh-legend { text-align: center; padding-top: 96px; }
.lh-legend .lh-divider { margin: 0 auto 26px; }
.lh-legend__title { font: 700 clamp(1.8rem, 4vw, 2.8rem)/1.15 Cinzel, Georgia, serif; color: var(--ink); letter-spacing: .03em; }
.lh-legend__lead { max-width: 56ch; margin: 18px auto 0; font-size: 1.06rem; line-height: 1.7; color: var(--text); }
.lh-legend__quote {
  margin: 34px auto 0;
  font: 500 clamp(1.3rem, 2.8vw, 1.9rem)/1.4 Cinzel, Georgia, serif; letter-spacing: .04em;
  color: var(--g-hi); text-shadow: 0 0 28px rgba(216, 170, 80, .25);
}

/* Społeczność */
.lh-community { padding-bottom: 24px; }
.lh-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.lh-linkcard {
  display: grid; justify-items: center; gap: 6px; padding: 28px 18px 24px; text-align: center;
  color: var(--text); text-decoration: none; cursor: pointer; font: inherit;
}
.lh-linkcard .lh-ico { width: 30px; height: 30px; color: var(--g-hi); margin-bottom: 6px; transition: transform .4s var(--ease); }
.lh-linkcard b { font: 700 1.05rem/1.2 Cinzel, Georgia, serif; letter-spacing: .08em; color: var(--ink); }
.lh-linkcard span { font-size: .8rem; color: var(--muted); }
.lh-linkcard:hover { transform: translateY(-4px); }
.lh-linkcard:hover .lh-ico { transform: scale(1.12); }
.lh-community .kick-dock { margin-top: 20px; }

/* ── Mniejsze ekrany ──────────────────────────────────── */
@media (max-width: 1000px) {
  .lh-races { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lh-race__text { max-height: none; opacity: 1; margin-top: 10px; }
}
@media (max-width: 820px) {
  .lh-pillars { grid-template-columns: 1fr; }
  .lh-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
  .lh-steps::before { display: none; }
  .lh-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .lh-hero { padding: 40px 16px 110px; }
  .lh-line { gap: 10px; font-size: .62rem; letter-spacing: .18em; }
  .lh-line__wide { display: none; }
  .lh-line::before, .lh-line::after { flex-basis: 24px; }
  .lh-title { letter-spacing: .08em; }
  .lh-btn--hero { padding: 0 20px; }
  .lh-section { padding-top: 56px; width: min(100% - 24px, 1120px); }
  .lh-races {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%;
    overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 18px; margin: 0 -12px; padding-inline: 12px;
    scrollbar-width: none;
  }
  .lh-races::-webkit-scrollbar { display: none; }
  .lh-race { scroll-snap-align: center; }
  .lh-seal { width: 100px; height: 100px; }
  .lh-seal b { font-size: 1.4rem; }
  .lh-seals { gap: 14px; }
  .lh-btn { width: 100%; }
  .lh-cta { width: 100%; max-width: 360px; }
  .lh-steps { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .lh *, .lh *::before, .lh *::after { animation: none !important; }
  .lh [data-reveal] { opacity: 1; transform: none; transition: none; }
}
