/* =====================================================================
   LotusMC – web
   Barvy, písma a efekty odpovídají store.lotusmc.cz
   ===================================================================== */
:root {
  --bg-0: #120803;
  --bg-1: #1a0f05;
  --bg-2: #2b1608;
  --panel: rgba(46, 22, 8, 0.66);
  --panel-2: rgba(255, 170, 90, 0.06);
  --panel-solid: #2a1407;
  --line: rgba(255, 170, 90, 0.14);
  --line-hi: rgba(255, 196, 80, 0.55);
  --text: #fff4e8;
  --muted: #dcb896;
  --faint: #a07c5c;
  --gold: #ffd23f;
  --amber: #ffa51f;
  --ember: #f46b0c;
  --maroon: #5e1a04;
  --lotus: #f4508a;
  --lotus-soft: #f79bc0;
  --leaf: #4cc25a;
  --danger: #ff4d6d;
  --discord: #5865f2;
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 18px;
  --shadow: 0 16px 36px -18px rgba(0, 0, 0, 0.85);
  --container: 1280px;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Unbounded", "Manrope", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-1);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(900px 500px at 50% -5%, rgba(244, 107, 12, 0.34), transparent 65%),
    radial-gradient(700px 420px at 15% 8%, rgba(244, 80, 138, 0.14), transparent 60%),
    radial-gradient(700px 420px at 88% 10%, rgba(255, 210, 63, 0.10), transparent 60%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg-1) 45%, var(--bg-0) 100%);
}
a { color: var(--gold); text-decoration: none; }
a:hover { color: #fff27a; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
code { font-family: ui-monospace, Consolas, monospace; background: rgba(255,170,90,.1); padding: .1em .4em; border-radius: 6px; font-size: .9em; }
::selection { background: var(--lotus); color: #fff; }

.lm-wrap { width: min(var(--container), 100% - 32px); margin: 0 auto; }
.lm-muted { color: var(--muted); }
.lm-faint { color: var(--faint); }

/* =====================================================================
   LIŠTA NAHOŘE – logo | odkazy | STORE | odkazy | Discord
   (rozložení podle webu MCATLAS: plovoucí, při scrollu dolů se schová)
   ===================================================================== */
.lm-top {
  position: fixed;
  top: 12px; left: 50%;
  z-index: 50;
  width: min(1320px, 100% - 24px);
  transform: translateX(-50%);
  border-radius: 22px;
  background: rgba(26, 12, 4, .74);
  border: 1px solid rgba(255, 196, 80, .2);
  box-shadow: 0 16px 36px -18px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,230,180,.06);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  transition: transform .35s cubic-bezier(.4,0,.2,1), background .25s ease;
}
.lm-top.is-scrolled { background: rgba(24, 11, 4, .94); }
.lm-top.is-hidden { transform: translate(-50%, calc(-100% - 20px)); }
.lm-top__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 22px;
  height: 64px;
}
.lm-top__side { display: flex; align-items: center; gap: 18px; min-width: 0; height: 100%; }

.lm-brand { display: flex; align-items: center; gap: 10px; color: var(--text); flex: none; }
.lm-brand:hover { color: var(--text); }
.lm-brand img { width: 38px; height: 38px; filter: drop-shadow(0 3px 4px rgba(0,0,0,.5)); }
.lm-brand span { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }

/* odkazy přiléhají ke Store z obou stran stejně; aktivní má zlatou čárku dole */
.lm-menu { flex: 1; display: flex; align-items: stretch; justify-content: flex-end; gap: 22px; height: 100%; }
.lm-menu--right { justify-content: flex-start; }
.lm-menu__link {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0 4px;
  color: var(--muted); font-weight: 700; font-size: .9rem; white-space: nowrap;
  transition: color .15s ease;
}
.lm-menu__link i { display: none; }
.lm-menu__link::after {
  content: ""; position: absolute; left: 4px; right: 4px; bottom: 12px; height: 2px; border-radius: 2px;
  background: var(--gold); transform: scaleX(0); transition: transform .2s ease, opacity .2s ease;
}
.lm-menu__link:hover { color: var(--text); }
.lm-menu__link:hover::after { transform: scaleX(.5); opacity: .5; }
.lm-menu__link.is-active { color: var(--gold); }
.lm-menu__link.is-active::after { transform: scaleX(1); opacity: 1; }

/* STORE – v barvách loga: ohnivě oranžová jako písmena LM, tmavě červený obrys, růžová záře lotosu */
.lm-store {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 34px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 800; font-size: .95rem; letter-spacing: .14em; text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 0 #7a1f05, 0 0 1px #7a1f05, 1px 0 0 #7a1f05, -1px 0 0 #7a1f05;
  background: linear-gradient(180deg, #ffe066 0%, #ffb02e 30%, #ff7a1a 62%, #e2481a 100%);
  border: 2px solid #8a2306;
  box-shadow: inset 0 2px 0 rgba(255, 245, 190, .75), inset 0 -3px 0 rgba(150, 30, 5, .45), 0 0 0 3px rgba(244, 80, 138, .35), 0 8px 22px -6px rgba(244, 80, 138, .6);
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
.lm-store:hover { color: #fff; transform: translateY(-1px); filter: brightness(1.06); box-shadow: inset 0 2px 0 rgba(255, 245, 190, .75), inset 0 -3px 0 rgba(150, 30, 5, .45), 0 0 0 5px rgba(244, 80, 138, .4), 0 12px 28px -6px rgba(244, 80, 138, .75); }
.lm-store:active { transform: translateY(1px); }

.lm-burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 12px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255,170,90,.08); box-shadow: inset 0 0 0 1px var(--line);
}
.lm-burger span { display: block; height: 2px; border-radius: 2px; background: var(--text); transition: transform .25s ease, opacity .2s ease; }
.lm-top.is-open .lm-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.lm-top.is-open .lm-burger span:nth-child(2) { opacity: 0; }
.lm-top.is-open .lm-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* odlesk na tlačítkách */
.lm-shine { overflow: hidden; isolation: isolate; }
.lm-shine::after {
  content: ""; position: absolute; top: -30%; bottom: -30%; left: -70%; width: 45%; z-index: 3; pointer-events: none; opacity: 0;
  background: linear-gradient(100deg, transparent 15%, rgba(255,255,255,.85) 50%, transparent 85%);
  mix-blend-mode: soft-light; transform: skewX(-20deg);
  animation: lm-sweep 6s ease-in-out infinite;
}
@keyframes lm-sweep {
  0%, 60% { left: -70%; opacity: 0; }
  64% { opacity: 1; }
  84% { left: 135%; opacity: .85; }
  86%, 100% { left: 135%; opacity: 0; }
}

/* =====================================================================
   POZADÍ – přichycené k obrazovce na všech stránkách (jako aetherix.eu),
   obsah po něm jede. „Shader“ efekty: sluneční paprsky, záře, mlha,
   světlušky a lístky (canvas), parallax ostrovů, vinětace a zrno.
   Při scrollu dolů (--scroll 0→1) slunce zapadá a obloha tmavne.
   ===================================================================== */
.lm-bg {
  position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background: #120803;
  --scroll: 0;
  --sun-x: 50%; --sun-y: 58%; --sun-size: 720px;
}
.lm-bg__sky {
  position: absolute; inset: -6% 0 0 0;
  background: var(--sky, linear-gradient(180deg, #140703 0%, #2a0d07 14%, #5a1c0c 30%, #a63d14 46%, #e8701f 58%, #ffab45 63%, #d45a1a 70%, #7a2a10 84%, #3a150a 100%));
  transform: translateY(calc(var(--scroll) * -3%));
  filter: saturate(calc(1.1 - var(--scroll) * .25)) brightness(calc(1 - var(--scroll) * .28));
}
.lm-bg__stars {
  position: absolute; inset: 0 0 45% 0;
  background-image:
    radial-gradient(1.4px 1.4px at 7% 22%, #ffe9d0, transparent),
    radial-gradient(1px 1px at 16% 8%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 24% 34%, #ffd9e8, transparent),
    radial-gradient(1px 1px at 33% 14%, #fff, transparent),
    radial-gradient(1.6px 1.6px at 41% 5%, #ffe9d0, transparent),
    radial-gradient(1px 1px at 57% 11%, #fff, transparent),
    radial-gradient(1.3px 1.3px at 64% 28%, #ffd9e8, transparent),
    radial-gradient(1px 1px at 72% 6%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 81% 19%, #ffe9d0, transparent),
    radial-gradient(1px 1px at 89% 9%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 95% 31%, #fff, transparent),
    radial-gradient(1px 1px at 50% 38%, #fff, transparent),
    radial-gradient(1px 1px at 3% 40%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 46% 24%, #ffe9d0, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent); mask-image: linear-gradient(180deg, #000 40%, transparent);
  opacity: calc(.45 + var(--scroll) * .5);
  animation: lm-twinkle 6s ease-in-out infinite alternate;
}
@keyframes lm-twinkle { from { filter: brightness(.7); } to { filter: brightness(1.25); } }

/* slunce + bloom – při scrollu zapadá */
.lm-bg__sun {
  position: absolute; left: var(--sun-x); top: calc(var(--sun-y) + var(--scroll) * 12vh);
  width: var(--sun-size); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(255,248,210,1) 0%, rgba(255,220,120,.9) 7%, rgba(255,165,60,.55) 18%, rgba(244,107,12,.26) 34%, rgba(244,80,138,.09) 52%, transparent 68%);
  animation: lm-pulse 7s ease-in-out infinite;
}
@keyframes lm-pulse { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.12); } }

/* volumetrické sluneční paprsky (god rays) */
.lm-bg__rays {
  position: absolute; left: var(--sun-x); top: calc(var(--sun-y) + var(--scroll) * 12vh);
  width: 240vmax; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: repeating-conic-gradient(from 0deg, rgba(255, 214, 140, .17) 0deg 2.5deg, transparent 2.5deg 9deg, rgba(255, 190, 120, .09) 9deg 11deg, transparent 11deg 17deg);
  -webkit-mask-image: radial-gradient(circle, #000 0%, rgba(0,0,0,.55) 12%, transparent 38%);
          mask-image: radial-gradient(circle, #000 0%, rgba(0,0,0,.55) 12%, transparent 38%);
  filter: blur(6px);
  mix-blend-mode: screen;
  opacity: calc(.85 - var(--scroll) * .55);
  animation: lm-rays 180s linear infinite;
}
@keyframes lm-rays { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* mlha na horizontu – pomalu dýchá a posouvá se */
.lm-bg__haze {
  position: absolute; left: -25%; right: -25%; top: calc(var(--sun-y) - 10vh); height: 30vh;
  background:
    radial-gradient(40% 50% at 30% 50%, rgba(255, 190, 120, .34), transparent 70%),
    radial-gradient(35% 45% at 70% 55%, rgba(255, 150, 110, .26), transparent 70%);
  filter: blur(18px);
  animation: lm-haze 38s ease-in-out infinite alternate;
}
.lm-bg__haze--low { top: calc(var(--sun-y) + 12vh); height: 40vh; opacity: .7; animation-duration: 52s; animation-direction: alternate-reverse; }
@keyframes lm-haze { from { transform: translateX(-4%) scaleY(1); } to { transform: translateX(4%) scaleY(1.15); } }

/* vrstvy pro parallax ostrovů */
.lm-bg__layer { position: absolute; inset: 0; }
.lm-bg__layer--far  { transform: translateY(calc(var(--scroll) * -50px)); }
.lm-bg__layer--near { transform: translateY(calc(var(--scroll) * -160px)); }

.lm-cloud { position: absolute; left: -260px; opacity: .55; image-rendering: pixelated; filter: drop-shadow(0 0 18px rgba(255,170,120,.35)); animation: lm-drift linear infinite; }
.lm-cloud--1 { top: 16%; width: 220px; animation-duration: 140s; }
.lm-cloud--2 { top: 38%; width: 150px; opacity: .4; animation-duration: 110s; animation-delay: -60s; }
.lm-cloud--3 { top: 8%; width: 170px; opacity: .25; animation-duration: 170s; animation-delay: -120s; }
@keyframes lm-drift { from { transform: translateX(0); } to { transform: translateX(calc(100vw + 560px)); } }

.lm-isle { position: absolute; height: auto; display: none; filter: drop-shadow(0 26px 30px rgba(20,5,0,.45)); animation: lm-float 9s ease-in-out infinite; }
.lm-isle--a { animation-duration: 12s; animation-delay: -2s; filter: blur(1px) brightness(.85) drop-shadow(0 20px 20px rgba(20,5,0,.4)); }
.lm-isle--b { animation-duration: 13s; animation-delay: -8s; filter: blur(1.4px) brightness(.8) drop-shadow(0 20px 20px rgba(20,5,0,.4)); }
.lm-isle--left { animation-duration: 8s; animation-delay: -3s; }
.lm-isle--right { animation-duration: 11s; animation-delay: -6s; }
@keyframes lm-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* světlušky a lístky (vykresluje main.js) */
.lm-bg__fx { position: absolute; inset: 0; width: 100%; height: 100%; }

/* tónování pro čitelnost – při scrollu ztmavne */
.lm-bg__shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgb(14 6 2 / .35) 0%, rgb(14 6 2 / 0) 22%,
    rgb(14 6 2 / calc(.12 + var(--scroll) * .42)) 62%,
    rgb(14 6 2 / calc(.55 + var(--scroll) * .3)) 100%);
}
.lm-bg__vignette { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 45%, transparent 50%, rgba(0,0,0,.55) 100%); }
.lm-bg__noise {
  position: absolute; inset: 0; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- varianty: úvod a podstránky mají každá jinou scénu ---------- */
.lm-bg--home { --sun-x: 72%; --sun-y: 56%; --sun-size: 760px; }
.lm-bg--home .lm-isle--left  { display: block; left: -40px; top: 46vh; width: 230px; }
.lm-bg--home .lm-isle--right { display: block; right: -60px; top: 14vh; width: 190px; opacity: .9; }
.lm-bg--home .lm-isle--a { display: block; left: 38%; top: 13vh; width: 90px; opacity: .75; }
.lm-bg--home .lm-isle--b { display: block; left: 8%; top: 18vh; width: 70px; opacity: .6; }

/* v1 – slunce vpravo, velký ostrov vlevo */
.lm-bg--v1 { --sun-x: 78%; --sun-y: 58%; }
.lm-bg--v1 .lm-isle--left { display: block; left: 2%; top: 30vh; width: 220px; }
.lm-bg--v1 .lm-isle--a { display: block; right: 11%; top: 16vh; width: 90px; opacity: .8; }
.lm-bg--v1 .lm-isle--b { display: block; left: 22%; top: 24vh; width: 64px; opacity: .6; }
/* v2 – slunce vlevo, velký ostrov vpravo, do růžova */
.lm-bg--v2 { --sun-x: 20%; --sun-y: 58%; --sky: linear-gradient(180deg, #170612 0%, #2e0d14 14%, #5c1a22 30%, #a8392e 46%, #e8604a 58%, #ff9a6a 63%, #d24f40 70%, #7a2a24 84%, #36140f 100%); }
.lm-bg--v2 .lm-isle--right { display: block; right: 2%; top: 26vh; width: 230px; }
.lm-bg--v2 .lm-isle--a { display: block; left: 9%; top: 18vh; width: 90px; opacity: .8; }
.lm-bg--v2 .lm-isle--b { display: block; right: 25%; top: 30vh; width: 64px; opacity: .6; }
/* v3 – slunce uprostřed, ostrovy po obou krajích */
.lm-bg--v3 { --sun-x: 50%; --sun-y: 62%; --sun-size: 820px; }
.lm-bg--v3 .lm-isle--left { display: block; left: -30px; top: 42vh; width: 210px; }
.lm-bg--v3 .lm-isle--right { display: block; right: -30px; top: 18vh; width: 200px; }
.lm-bg--v3 .lm-isle--a { display: block; left: 16%; top: 16vh; width: 70px; opacity: .65; }
/* v4 – soumrak do fialova, slunce níž */
.lm-bg--v4 { --sun-x: 62%; --sun-y: 66%; --sun-size: 660px; --sky: linear-gradient(180deg, #0d0612 0%, #1f0c1c 16%, #401528 32%, #7c2a2c 48%, #c45026 60%, #e9773a 66%, #b8441f 74%, #5a2216 88%, #24100a 100%); }
.lm-bg--v4 .lm-isle--a { display: block; left: 12%; top: 16vh; width: 100px; opacity: .85; }
.lm-bg--v4 .lm-isle--b { display: block; right: 14%; top: 20vh; width: 90px; opacity: .75; }
.lm-bg--v4 .lm-isle--left { display: block; left: auto; right: 2%; top: 40vh; width: 190px; }

.lm-petals { position: absolute; inset: 0; pointer-events: none; }
.lm-petal {
  position: absolute; top: 18%; left: 58%;
  width: 9px; height: 6px; border-radius: 0 6px 0 6px;
  background: linear-gradient(135deg, #ffd3e5, #f79bc0);
  opacity: 0; animation: lm-fall 11s linear infinite;
}
.lm-petal:nth-child(2) { left: 66%; animation-duration: 13s; animation-delay: -2s; }
.lm-petal:nth-child(3) { left: 52%; animation-duration: 10s; animation-delay: -5s; }
.lm-petal:nth-child(4) { left: 72%; animation-duration: 14s; animation-delay: -8s; }
.lm-petal:nth-child(5) { left: 61%; animation-duration: 12s; animation-delay: -10s; }
@keyframes lm-fall {
  0% { opacity: 0; transform: translate(0,0) rotate(0); }
  10% { opacity: .95; }
  85% { opacity: .8; }
  100% { opacity: 0; transform: translate(-150px, 380px) rotate(540deg); }
}

/* ---------- úvod: hero ---------- */
.lm-hero-band { position: relative; padding: 104px 0 40px; }


.lm-hero {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); align-items: center; gap: 30px;
  min-height: 500px;
}
.lm-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 13px; border-radius: 999px;
  font-size: .8rem; font-weight: 800; color: var(--text);
  background: rgba(30,14,5,.55); box-shadow: inset 0 0 0 1px var(--line-hi);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.lm-chip i { color: var(--leaf); }
.lm-hero__title {
  margin: 16px 0 12px;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 7.4vw, 5.6rem); line-height: .95; letter-spacing: -.02em;
  background: linear-gradient(180deg, #fff6c4 0%, var(--gold) 42%, var(--amber) 78%, var(--ember));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 5px 0 rgba(94,26,4,.85)) drop-shadow(0 0 30px rgba(255,170,60,.3));
}
.lm-hero__desc { max-width: 520px; font-size: 1.08rem; color: #ffe6cc; text-shadow: 0 2px 10px rgba(0,0,0,.45); }
.lm-hero__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 22px; }
/* IP a „hráčů online“ – stejná velikost a vytlačený okraj jako Hlasovat / Discord */
.lm-ipbtn { gap: 9px; }
.lm-ipbtn__copy { opacity: .7; font-size: .85em; }
.lm-ipbtn.is-copied .lm-ipbtn__copy { opacity: 1; }
.lm-online {
  --edge: #120803;
  gap: 4px; cursor: default; color: var(--text);
  background: linear-gradient(180deg, #4a2610 0%, #331a09 100%);
  box-shadow: inset 0 1px 0 rgba(255, 220, 170, .18), inset 0 0 0 1px var(--line), 0 4px 0 var(--edge), 0 10px 20px -8px rgba(0, 0, 0, .6);
}
.lm-online:active { transform: none; }
.lm-online .lm-dot { margin-right: 4px; }
.lm-online b { color: var(--gold); }
/* ostrov s logem vpravo; končí přesně nad řadou bublin
   (bubliny jsou hned pod ním uvnitř stejného pruhu) */
.lm-hero__art {
  position: relative; height: 500px; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 76%, transparent 100%); mask-image: linear-gradient(180deg, #000 76%, transparent 100%);
}
.lm-hero__island {
  position: absolute; left: 50%; top: 70px; width: 470px; max-width: none; margin-left: -235px;
  filter: drop-shadow(0 30px 40px rgba(20,5,0,.5));
  animation: lm-float 10s ease-in-out infinite;
}
.lm-hero__logo {
  position: absolute; left: 50%; top: 24px; width: 230px; margin-left: -115px;
  filter: drop-shadow(0 18px 18px rgba(40,10,0,.55)) drop-shadow(0 0 30px rgba(255,180,80,.35));
  animation: lm-bob 5.5s ease-in-out infinite;
}
@keyframes lm-bob { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-8px) rotate(1deg); } }

/* ---------- podstránky: nadpis stránky (pozadí je společné, přichycené) ---------- */
.lm-band { position: relative; padding: 128px 0 44px; text-align: center; }
.lm-band__text { position: relative; z-index: 1; }
.lm-band .lm-h1 { margin: 6px 0 8px; }
.lm-band__sub { max-width: 640px; margin: 0 auto; color: #ffe6cc; font-size: 1.02rem; text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.lm-band .lm-eyebrow { color: #ffd0e2; }

.lm-main { position: relative; z-index: 2; min-height: 40vh; }
/* nadpis sekce s barevnou čárkou (jako na MCATLAS) */
.lm-heading { display: flex; align-items: center; gap: 12px; margin: 36px 0 14px; font-size: 1.25rem; }
.lm-heading::before { content: ""; width: 5px; height: 24px; border-radius: 3px; background: linear-gradient(180deg, var(--gold), var(--ember)); flex: none; }
.lm-heading a { margin-left: auto; font-family: var(--font-body); font-size: .85rem; font-weight: 800; }
.lm-grid--side > * > .lm-heading:first-child { margin-top: 0; }

/* řada čísel pod hero */
.lm-numbers { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.lm-number {
  padding: 20px 16px 18px; text-align: center; border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255,170,90,.07), transparent), var(--panel-solid);
  box-shadow: inset 0 0 0 1px var(--line), inset 0 -3px 0 var(--c, var(--gold)), var(--shadow);
}
.lm-number:nth-child(2) { --c: var(--lotus); }
.lm-number:nth-child(3) { --c: var(--leaf); }
.lm-number:nth-child(4) { --c: var(--amber); }
.lm-number b { display: block; font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; color: var(--text); line-height: 1.2; }
.lm-number span { font-size: .85rem; font-weight: 700; color: var(--muted); }

/* jak se připojit – 3 kroky v řadě */
.lm-join {
  margin-bottom: 40px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: center; gap: 16px;
  padding: 18px 20px; border-radius: var(--r-lg);
  background: var(--panel); box-shadow: inset 0 0 0 1px var(--line), var(--shadow);
}
.lm-join__step { display: flex; align-items: center; gap: 14px; min-width: 0; }

/* Bedrock pod „Jak se připojit“ */
.lm-bedrock {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px;
  margin: -28px 0 40px; padding: 14px 18px; border-radius: 18px;
  background: rgba(255,170,90,.05); box-shadow: inset 0 0 0 1px var(--line);
}
.lm-bedrock__ico { width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 12px; background: rgba(255,170,90,.1); color: var(--gold); font-size: 1.25rem; }
.lm-bedrock__t { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; }
.lm-bedrock__t span { color: var(--muted); font-size: .88rem; }
.lm-bedrock .lm-ipchip { margin: 0; }
.lm-join__num {
  width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px;
  font-family: var(--font-display); font-weight: 800; color: #4a1402;
  background: linear-gradient(180deg, #fff27a, var(--gold) 30%, var(--amber) 70%, var(--ember));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 3px 0 #8a2e06;
}
.lm-join__step div b { display: block; font-size: .95rem; }
.lm-join__step div span { font-size: .84rem; color: var(--muted); }
.lm-more { cursor: pointer; list-style: none; font-size: .85rem; font-weight: 800; color: var(--gold); }
.lm-more::-webkit-details-marker { display: none; }
.lm-more::after { content: " →"; }

/* =====================================================================
   ZÁKLADNÍ PRVKY
   ===================================================================== */
.lm-panel {
  position: relative;
  padding: 22px;
  margin-bottom: 20px;
  background: linear-gradient(180deg, var(--panel-2), rgba(255,140,26,.01)), var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
}
.lm-panel--glow {
  border-color: rgba(255, 196, 80, .45);
  box-shadow: var(--shadow), 0 0 0 1px rgba(255,196,80,.15), 0 0 40px -12px rgba(255,170,60,.55);
}
.lm-panel__title { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-family: var(--font-display); font-size: 1.02rem; font-weight: 600; }
.lm-panel__title i { color: var(--amber); }
.lm-panel__title .lm-aside { margin-left: auto; font-family: var(--font-body); font-size: .85rem; font-weight: 800; color: var(--gold); }

.lm-eyebrow { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--lotus-soft); }
.lm-h1 {
  margin: 0 0 8px;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.1;
  background: linear-gradient(180deg, #fff6c4 0%, var(--gold) 45%, var(--amber) 80%, var(--ember));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 0 rgba(94,26,4,.75)) drop-shadow(0 0 24px rgba(255,170,60,.25));
}

.lm-btn {
  --edge: #8a2e06;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: .7rem 1.15rem; border: 0; border-radius: 12px;
  font-family: var(--font-body); font-size: .92rem; font-weight: 800; line-height: 1.1;
  white-space: nowrap; cursor: pointer; text-align: center;
  transition: transform .12s ease, box-shadow .12s ease, filter .2s ease;
}
.lm-btn:active { transform: translateY(3px); }
.lm-btn--gold {
  color: #4a1402;
  background: linear-gradient(180deg, #fff27a 0%, var(--gold) 28%, var(--amber) 68%, var(--ember) 100%);
  text-shadow: 0 1px 0 rgba(255,240,170,.6);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 4px 0 var(--edge), 0 10px 20px -6px rgba(244,107,12,.65), 0 0 22px -6px rgba(255,190,60,.7);
}
.lm-btn--gold:hover { color: #4a1402; filter: brightness(1.07) saturate(1.05); }
.lm-btn--gold:active { box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 1px 0 var(--edge); }
.lm-btn--pink {
  --edge: #8f1a47; color: #fff;
  background: linear-gradient(180deg, #ffb3d1 0%, var(--lotus-soft) 18%, var(--lotus) 72%, #d83373 100%);
  text-shadow: 0 1px 0 rgba(120,10,50,.4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 4px 0 var(--edge), 0 10px 20px -8px rgba(244,80,138,.7);
}
.lm-btn--pink:hover { color: #fff; filter: brightness(1.07); }
.lm-btn--discord {
  --edge: #2f37a0; color: #fff;
  background: linear-gradient(180deg, #8c95ff, #5865f2 35%, #4752c4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 4px 0 var(--edge), 0 10px 20px -8px rgba(88,101,242,.7);
}
.lm-btn--discord:hover { color: #fff; filter: brightness(1.08); }
.lm-btn--ghost { color: var(--text); background: rgba(255,170,90,.08); box-shadow: inset 0 0 0 1px var(--line); }
.lm-btn--ghost:hover { color: var(--text); background: rgba(255,170,90,.14); box-shadow: inset 0 0 0 1px var(--line-hi); }
.lm-btn--ghost:active { transform: none; }
.lm-btn--lg { padding: .95rem 1.5rem; font-size: 1rem; }
.lm-btn--block { width: 100%; }

.lm-input {
  width: 100%;
  padding: .8rem 1rem;
  border: 0; border-radius: 12px;
  font: inherit; font-weight: 600; color: var(--text);
  background: rgba(18, 8, 3, .65);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .15s ease;
}
.lm-input::placeholder { color: var(--faint); font-weight: 500; }
.lm-input:focus { outline: 0; box-shadow: inset 0 0 0 1px var(--line-hi), 0 0 0 4px rgba(255,165,31,.12); }

.lm-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 999px;
  font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  color: var(--c, var(--gold));
  background: color-mix(in srgb, var(--c, var(--gold)) 14%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c, var(--gold)) 40%, transparent);
}
.lm-head { border-radius: 8px; image-rendering: pixelated; box-shadow: 0 3px 0 rgba(0,0,0,.35); background: var(--bg-2); flex: none; }
.lm-dot { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 10px var(--leaf); vertical-align: 1px; }
.lm-dot--off { background: var(--faint); box-shadow: none; }

.lm-grid { display: grid; gap: 20px; }
.lm-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lm-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lm-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lm-grid--side { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }

.lm-empty { text-align: center; color: var(--muted); padding: 30px 10px; }
.lm-empty i { display: block; font-size: 2rem; color: var(--faint); margin-bottom: 10px; }

.lm-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.lm-tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px; border-radius: 12px; border: 0; cursor: pointer;
  font: inherit; font-weight: 700; font-size: .88rem;
  color: var(--muted); background: rgba(30,14,5,.85); box-shadow: inset 0 0 0 1px var(--line);
}
.lm-tab:hover { color: var(--text); box-shadow: inset 0 0 0 1px var(--line-hi); }
.lm-tab.is-active {
  color: #4a1402;
  background: linear-gradient(180deg, #fff27a, var(--gold) 30%, var(--amber) 75%, var(--ember));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 3px 0 #8a2e06;
}

/* =====================================================================
   ÚVOD a karty
   ===================================================================== */
.lm-kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lm-kv > div { padding: 10px; border-radius: 12px; background: rgba(255,170,90,.05); box-shadow: inset 0 0 0 1px var(--line); text-align: center; }
.lm-kv b { display: block; font-family: var(--font-display); font-size: 1.05rem; color: var(--text); }
.lm-kv span { font-size: .75rem; color: var(--faint); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }

.lm-tile {
  display: flex; flex-direction: column; gap: 6px; height: 100%;
  padding: 20px; border-radius: var(--r-lg); color: var(--text);
  background: linear-gradient(180deg, var(--panel-2), transparent), var(--panel);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: transform .2s ease, box-shadow .2s ease;
}
.lm-tile:hover { color: var(--text); transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line-hi), var(--shadow), 0 0 26px -8px rgba(255,170,60,.6); }
.lm-tile__icon {
  width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 6px; border-radius: 12px;
  color: #4a1402; background: linear-gradient(180deg, #fff27a, var(--gold) 30%, var(--amber) 70%, var(--ember));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 3px 0 #8a2e06;
}
.lm-tile__icon--pink { color: #fff; background: linear-gradient(180deg, #ffb3d1, var(--lotus-soft) 20%, var(--lotus) 75%, #d83373); box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 3px 0 #8f1a47; }
.lm-tile__icon--leaf { color: #fff; background: linear-gradient(180deg, #a8f0a0, #6bd66b 25%, var(--leaf) 70%, #2f8f3a); box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 3px 0 #1d5a25; }
.lm-tile__icon--discord { color: #fff; background: linear-gradient(180deg, #8c95ff, #5865f2 35%, #4752c4); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 3px 0 #2f37a0; }
.lm-tile h3 { font-size: 1rem; margin: 0; }
.lm-tile p { color: var(--muted); font-size: .9rem; margin: 0; }
.lm-tile__more { margin-top: auto; padding-top: 8px; font-size: .85rem; font-weight: 800; color: var(--gold); }

.lm-section-title { display: flex; align-items: center; gap: 12px; margin: 34px 0 16px; }
.lm-section-title h2 { margin: 0; font-size: 1.3rem; }
.lm-section-title a { margin-left: auto; font-weight: 800; font-size: .88rem; }

.lm-news { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 18px; padding: 16px; margin-bottom: 14px; }
.lm-news__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; background: var(--bg-2); }
.lm-news__img--empty { display: grid; place-items: center; color: var(--faint); font-size: 2rem; background: rgba(255,170,90,.06); box-shadow: inset 0 0 0 1px var(--line); }
.lm-news h3 { font-size: 1.05rem; margin-bottom: 6px; }
.lm-news__meta { font-size: .8rem; color: var(--faint); font-weight: 700; margin-bottom: 8px; display: flex; gap: 12px; flex-wrap: wrap; }
.lm-news p { color: var(--muted); font-size: .92rem; margin: 0; }
.lm-news__body { color: var(--muted); }
.lm-news__body h2, .lm-news__body h3 { color: var(--text); font-size: 1.05rem; margin-top: 1em; }
.lm-news__gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin-top: 14px; }
.lm-news__gallery img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 10px; }

/* mini žebříček */
.lm-minitop { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.lm-minitop li {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 12px; background: rgba(255,170,90,.04); box-shadow: inset 0 0 0 1px var(--line);
}
.lm-minitop__pos { width: 24px; text-align: center; font-family: var(--font-display); font-weight: 700; color: var(--faint); font-size: .85rem; }
.lm-minitop li:nth-child(1) .lm-minitop__pos { color: var(--gold); }
.lm-minitop li:nth-child(2) .lm-minitop__pos { color: #e6e1da; }
.lm-minitop li:nth-child(3) .lm-minitop__pos { color: #e09a5f; }
.lm-minitop__nick { flex: 1; min-width: 0; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lm-minitop__val { font-weight: 800; color: var(--gold); font-size: .88rem; white-space: nowrap; }

/* =====================================================================
   JAK ZAČÍT
   ===================================================================== */
.lm-steps { counter-reset: krok; display: grid; gap: 16px; }
.lm-step { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; align-items: start; }
.lm-step__num {
  width: 64px; height: 64px; display: grid; place-items: center; border-radius: 16px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: #4a1402;
  background: linear-gradient(180deg, #fff27a, var(--gold) 30%, var(--amber) 70%, var(--ember));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 4px 0 #8a2e06, 0 0 24px -6px rgba(255,190,60,.7);
}
.lm-step h3 { font-size: 1.1rem; margin: 6px 0 6px; }
.lm-step p { color: var(--muted); margin: 0 0 10px; }
.lm-step ul { margin: 0; padding-left: 1.1em; color: var(--muted); }
.lm-step li { margin-bottom: 4px; }
.lm-cmd { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 10px; font-family: ui-monospace, Consolas, monospace; font-weight: 700; color: var(--gold); background: rgba(18,8,3,.6); box-shadow: inset 0 0 0 1px var(--line); }

/* =====================================================================
   PRAVIDLA
   ===================================================================== */
.lm-special {
  display: flex; gap: 18px; align-items: flex-start;
  border-color: rgba(255,77,109,.4);
  background: linear-gradient(180deg, rgba(255,77,109,.10), rgba(255,77,109,.02)), var(--panel);
}
.lm-special__icon { width: 50px; height: 50px; flex: none; display: grid; place-items: center; border-radius: 14px; color: #fff; font-size: 1.2rem; background: linear-gradient(180deg, #ff8595, var(--danger) 45%, #d42a47); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 3px 0 #6e0f1f; }
.lm-special h2 { font-size: 1.05rem; margin-bottom: 6px; }
.lm-special p { color: var(--muted); margin: 0 0 8px; }
.lm-special strong { color: #ff8595; }
.lm-rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.lm-rule { margin: 0; }
.lm-rule__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.lm-rule__num {
  width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 11px;
  font-family: var(--font-display); font-weight: 700; color: #4a1402;
  background: linear-gradient(180deg, #fff27a, var(--gold) 30%, var(--amber) 70%, var(--ember));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 3px 0 #8a2e06;
}
.lm-rule--hl { border-color: rgba(244,80,138,.4); background: linear-gradient(180deg, rgba(244,80,138,.10), rgba(244,80,138,.02)), var(--panel); }
.lm-rule--hl .lm-rule__num { color: #fff; background: linear-gradient(180deg, #ffb3d1, var(--lotus-soft) 20%, var(--lotus) 75%, #d83373); box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 3px 0 #8f1a47; }
.lm-rule h3 { margin: 0; font-size: 1.02rem; }
.lm-rule ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.lm-rule li { position: relative; padding-left: 20px; color: var(--muted); font-size: .93rem; }
.lm-rule li::before { content: "✦"; position: absolute; left: 0; top: 0; color: var(--amber); font-size: .8rem; }
.lm-rules-footer { text-align: center; color: var(--faint); font-size: .85rem; margin-top: 10px; }

/* =====================================================================
   WIKI
   ===================================================================== */
.lm-wiki { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 20px; align-items: start; }
.lm-wiki__side { position: sticky; top: 100px; }
.lm-wiki__search { margin-bottom: 14px; }
.lm-wikitree { list-style: none; margin: 0; padding: 0; }
.lm-wikitree ul { list-style: none; margin: 2px 0 4px; padding-left: 14px; border-left: 1px solid var(--line); }
.lm-wikitree a { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 10px; color: var(--muted); font-weight: 600; font-size: .9rem; }
.lm-wikitree a i { width: 16px; text-align: center; color: var(--faint); font-size: .85rem; }
.lm-wikitree a:hover { color: var(--text); background: rgba(255,170,90,.07); }
.lm-wikitree a.is-active { color: var(--text); background: rgba(255,170,90,.12); box-shadow: inset 0 0 0 1px var(--line-hi); }
.lm-wikitree a.is-active i { color: var(--gold); }
.lm-crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .82rem; color: var(--faint); margin-bottom: 10px; }
.lm-crumbs a { color: var(--muted); }
.lm-prose { color: #f3e2cf; line-height: 1.75; }
.lm-prose h1, .lm-prose h2, .lm-prose h3, .lm-prose h4 { color: var(--text); margin: 1.4em 0 .5em; scroll-margin-top: 100px; }
.lm-prose h2 { font-size: 1.3rem; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.lm-prose h3 { font-size: 1.1rem; }
.lm-prose a { text-decoration: underline; text-decoration-color: rgba(255,210,63,.4); }
.lm-prose img { border-radius: 12px; height: auto; }
.lm-prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .92rem; }
.lm-prose th, .lm-prose td { padding: 9px 12px; border: 1px solid var(--line); text-align: left; }
.lm-prose th { background: rgba(255,170,90,.08); color: var(--text); }
.lm-prose blockquote { margin: 1em 0; padding: 12px 16px; border-left: 3px solid var(--amber); background: rgba(255,170,90,.06); border-radius: 0 12px 12px 0; }
.lm-prose pre { padding: 14px; border-radius: 12px; background: rgba(18,8,3,.7); overflow-x: auto; }
.lm-prose .wiki-video { position: relative; aspect-ratio: 16/9; margin: 1em 0; }
.lm-prose .wiki-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 12px; }
.lm-wikicards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.lm-toc { font-size: .88rem; }
.lm-toc a { display: block; padding: 4px 0; color: var(--muted); }
.lm-toc a:hover { color: var(--gold); }
.lm-toc .lvl-3 { padding-left: 12px; }
.lm-toc .lvl-4 { padding-left: 24px; }

/* =====================================================================
   TABULKY (tresty)
   ===================================================================== */
.lm-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 16px; }
.lm-toolbar form { display: flex; gap: 10px; flex: 1; min-width: 240px; }
.lm-table-wrap { overflow-x: auto; margin: 0 -6px; }
.lm-table { width: 100%; border-collapse: separate; border-spacing: 0 8px; font-size: .92rem; }
.lm-table th { padding: 4px 14px; text-align: left; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.lm-table td { padding: 12px 14px; background: rgba(255,170,90,.04); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); vertical-align: middle; }
.lm-table td:first-child { border-left: 1px solid var(--line); border-radius: 12px 0 0 12px; }
.lm-table td:last-child { border-right: 1px solid var(--line); border-radius: 0 12px 12px 0; }
.lm-table tr:hover td { background: rgba(255,170,90,.08); }
.lm-player { display: flex; align-items: center; gap: 10px; font-weight: 800; white-space: nowrap; }
.lm-reason { color: var(--muted); }
.lm-when { white-space: nowrap; color: var(--muted); font-size: .85rem; }
.lm-stav { font-size: .78rem; font-weight: 800; white-space: nowrap; }
.lm-stav--aktivni { color: var(--danger); }
.lm-stav--trvaly { color: #ff8595; }
.lm-stav--vyprsel { color: var(--leaf); }
.lm-pager { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }

/* =====================================================================
   LEADERBOARD
   ===================================================================== */
.lm-podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 16px; align-items: end; margin: 8px 0 26px; }
/* --m = barva medaile (zlatá / stříbrná / bronzová) */
.lm-podium__item {
  --m: #d9d4cc;
  position: relative; overflow: hidden; text-align: center; padding: 18px 14px 20px; border-radius: var(--r-lg);
  background: radial-gradient(120% 70% at 50% 0%, color-mix(in srgb, var(--m) 16%, transparent), transparent 70%), var(--panel);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--m) 30%, transparent), var(--shadow);
}
.lm-podium__item--1 { --m: #ffd23f; padding-top: 24px; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--m) 55%, transparent), var(--shadow), 0 0 40px -12px rgba(255,190,60,.6); }
.lm-podium__item--3 { --m: #e09a5f; }
.lm-podium__item::before {
  /* proužek v barvě medaile po horní hraně */
  content: ""; position: absolute; left: 22%; right: 22%; top: 0; height: 3px; border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, transparent, var(--m), transparent);
}
.lm-podium__item img { position: relative; z-index: 1; display: block; margin: 0 auto 10px; height: 150px; width: auto; filter: drop-shadow(0 10px 12px rgba(0,0,0,.5)); }
.lm-podium__item--1 img { height: 190px; }
/* pořadí: plné číslo v barvě medaile v levém horním rohu karty */
.lm-podium__place {
  position: absolute; z-index: 2; left: 16px; top: 10px;
  font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: 1;
  color: transparent;
  background: linear-gradient(180deg, #fff 0%, var(--m) 45%, color-mix(in srgb, var(--m) 70%, #000) 100%);
  -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .55)) drop-shadow(0 0 14px color-mix(in srgb, var(--m) 45%, transparent));
  pointer-events: none; user-select: none;
}
.lm-podium__place::after { content: "."; }
.lm-podium__item--1 .lm-podium__place { font-size: 3.6rem; }
.lm-podium__nick, .lm-podium__val { position: relative; z-index: 1; }
.lm-podium__nick { font-family: var(--font-display); font-weight: 700; font-size: 1rem; overflow: hidden; text-overflow: ellipsis; }
.lm-podium__val { color: var(--gold); font-weight: 800; }
.lm-rank { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.lm-rank li { display: grid; grid-template-columns: 44px 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; background: rgba(255,170,90,.04); box-shadow: inset 0 0 0 1px var(--line); }
.lm-rank__pos { font-family: var(--font-display); font-weight: 700; color: var(--faint); text-align: center; }
.lm-rank__nick { font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lm-rank__val { font-weight: 800; color: var(--gold); }
.lm-rank li.is-me { box-shadow: inset 0 0 0 1px var(--line-hi); background: rgba(255,170,90,.1); }
.lm-updated { text-align: center; color: var(--faint); font-size: .82rem; margin-top: 16px; }

/* =====================================================================
   VOTE
   ===================================================================== */
.lm-votebox { max-width: 760px; margin: 0 auto 20px; text-align: center; padding: 30px; }
.lm-votebox form { display: flex; gap: 10px; max-width: 480px; margin: 18px auto 0; }
.lm-votebox .lm-input { text-align: center; font-size: 1.05rem; }
.lm-voteplayer { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 6px; }
.lm-voteplayer img { width: 64px; height: 64px; border-radius: 12px; image-rendering: pixelated; box-shadow: 0 4px 0 rgba(0,0,0,.4); }
.lm-voteplayer b { font-family: var(--font-display); font-size: 1.3rem; }
.lm-votelist { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; max-width: 960px; margin: 0 auto; }
.lm-voteitem {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r-lg); color: var(--text);
  background: linear-gradient(180deg, var(--panel-2), transparent), var(--panel);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.lm-voteitem:hover { color: var(--text); transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--line-hi), var(--shadow), 0 0 26px -8px rgba(255,170,60,.6); }
.lm-voteitem__num { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 12px; font-family: var(--font-display); font-weight: 800; color: #fff; background: linear-gradient(180deg, #ffb3d1, var(--lotus-soft) 20%, var(--lotus) 75%, #d83373); box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 3px 0 #8f1a47; }
.lm-voteitem__body { flex: 1; min-width: 0; }
.lm-voteitem__body b { display: block; font-family: var(--font-display); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lm-voteitem__body span { font-size: .82rem; color: var(--muted); }
.lm-voteitem { flex-wrap: wrap; }
.lm-voteitem__go {
  flex: 1 1 100%; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 9px 12px; border-radius: 10px;
  color: var(--gold); font-weight: 800; font-size: .86rem; white-space: nowrap;
  background: rgba(255,170,90,.08); box-shadow: inset 0 0 0 1px var(--line);
}
.lm-voteitem:hover .lm-voteitem__go { background: rgba(255,170,90,.14); box-shadow: inset 0 0 0 1px var(--line-hi); }
.lm-voteitem.is-done { opacity: .6; }
.lm-voteitem.is-done .lm-voteitem__num { background: linear-gradient(180deg, #a8f0a0, #6bd66b 25%, var(--leaf) 70%, #2f8f3a); box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 3px 0 #1d5a25; }
.lm-note { max-width: 860px; margin: 18px auto 0; text-align: center; color: var(--faint); font-size: .86rem; }
.lm-error { color: #ff8595; font-weight: 700; margin-top: 10px; }

/* =====================================================================
   O SERVERU – tým
   ===================================================================== */
.lm-team { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.lm-member { text-align: center; padding: 18px 14px; }
.lm-member img { height: 140px; width: auto; display: block; margin: 0 auto 10px; filter: drop-shadow(0 10px 10px rgba(0,0,0,.45)); }
.lm-member b { display: block; font-family: var(--font-display); font-weight: 600; }
.lm-member p { color: var(--muted); font-size: .85rem; margin: 6px 0 0; }
.lm-feature { display: flex; gap: 14px; align-items: flex-start; }
.lm-feature h3 { font-size: 1rem; margin: 2px 0 4px; }
.lm-feature p { color: var(--muted); font-size: .9rem; margin: 0; }

/* =====================================================================
   PATIČKA
   ===================================================================== */
.lm-footer { margin-top: 70px; padding: 36px 0 26px; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(42,20,7,.6), rgba(18,8,3,.9)); }
.lm-footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 30px; }
.lm-footer__brand { display: flex; gap: 16px; align-items: flex-start; }
.lm-footer__brand img { width: 64px; height: 64px; flex: none; }
.lm-footer__brand strong { font-family: var(--font-display); font-size: 1.1rem; }
.lm-footer__brand p { color: var(--muted); font-size: .9rem; margin: 6px 0 0; }
.lm-footer h4 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 12px; }
.lm-footer ul { list-style: none; margin: 0; padding: 0; columns: 2; }
.lm-footer li { margin-bottom: 6px; }
.lm-footer li a { color: var(--muted); font-weight: 600; font-size: .9rem; }
.lm-footer li a:hover { color: var(--gold); }
.lm-ipchip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 0; border-radius: 12px; cursor: pointer; font: inherit; font-weight: 800; color: var(--gold); background: rgba(255,170,90,.08); box-shadow: inset 0 0 0 1px var(--line-hi); margin-bottom: 8px; }
.lm-footer__social { display: flex; gap: 8px; margin-top: 10px; }
.lm-footer__social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: var(--muted); background: rgba(255,170,90,.06); box-shadow: inset 0 0 0 1px var(--line); }
.lm-footer__social a:hover { color: var(--gold); box-shadow: inset 0 0 0 1px var(--line-hi); }
.lm-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--faint); font-size: .82rem; }
.lm-footer__autor { color: var(--gold); font-weight: 700; text-decoration: none; }
.lm-footer__autor:hover { color: #fff; text-decoration: underline; }

.lm-toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 100;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 12px 18px; border-radius: 12px; font-weight: 800; color: #4a1402;
  background: linear-gradient(180deg, #fff27a, var(--gold) 30%, var(--amber));
  box-shadow: 0 4px 0 #8a2e06, 0 14px 30px -10px rgba(0,0,0,.6);
  transition: opacity .2s ease, transform .2s ease;
}
.lm-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* =====================================================================
   TÝM + HODNOCENÍ
   ===================================================================== */
.lm-tymbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 18px; }
.lm-tymbar__info { flex: 1; min-width: 220px; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .93rem; }
.lm-tymbar__info i { color: var(--gold); }
.lm-tymbar__info b { color: var(--text); }
.lm-tymrole .lm-heading::before { background: var(--c); }
.lm-tymrole .lm-heading small { font-family: var(--font-body); font-size: .85rem; font-weight: 600; }
.lm-member { display: flex; flex-direction: column; align-items: center; }
.lm-member__rate {
  margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: 7px; width: 100%;
  margin-top: 14px; padding: 9px 12px; border: 0; border-radius: 999px; cursor: pointer;
  font: inherit; font-weight: 800; font-size: .85rem; color: var(--gold);
  background: rgba(255,170,90,.08); box-shadow: inset 0 0 0 1px var(--line);
  transition: background .15s ease, box-shadow .15s ease;
}
.lm-member__rate:hover { background: rgba(255,170,90,.15); box-shadow: inset 0 0 0 1px var(--line-hi); }
.lm-member__rate.is-rated { color: #fff; background: linear-gradient(180deg, rgba(244,80,138,.35), rgba(244,80,138,.18)); box-shadow: inset 0 0 0 1px rgba(244,80,138,.5); }

/* okno */
.lm-modal {
  position: fixed; inset: 0; z-index: 90;
  display: grid; place-items: center; padding: 16px;
  background: rgba(10, 4, 1, .66);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.lm-modal[hidden], .lm-modal__body[hidden] { display: none; }
.lm-modal__box {
  width: min(440px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,170,90,.08), transparent 40%), var(--panel-solid);
  border: 1px solid var(--line-hi);
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.9), 0 0 50px -20px rgba(255,170,60,.5);
}
.lm-modal__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 0; }
.lm-modal__head h3 { margin: 0; font-size: 1.15rem; }
.lm-modal__close { width: 36px; height: 36px; border: 0; border-radius: 50%; cursor: pointer; color: var(--muted); background: rgba(255,170,90,.08); }
.lm-modal__close:hover { color: var(--text); }
.lm-modal__body { display: flex; flex-direction: column; gap: 12px; padding: 14px 20px 22px; }
.lm-modal__note { margin: 0; font-size: .8rem; text-align: center; }
.lm-modal__who { display: flex; align-items: center; gap: 16px; }
.lm-modal__who img { width: 56px; height: auto; filter: drop-shadow(0 8px 10px rgba(0,0,0,.5)); }
.lm-modal__who small { display: block; color: var(--faint); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.lm-modal__who strong { font-family: var(--font-display); font-size: 1.3rem; }
.lm-label { display: flex; flex-direction: column; gap: 6px; font-size: .85rem; font-weight: 700; color: var(--muted); }
.lm-input--code { font-family: var(--font-display); font-size: 1.2rem; letter-spacing: .35em; text-align: center; text-transform: uppercase; }
textarea.lm-input { resize: vertical; min-height: 96px; font-weight: 500; line-height: 1.5; }
.lm-modal .lm-error { margin: 0; }
.lm-overit { margin: 0; padding: 12px 14px 12px 34px; border-radius: 14px; background: rgba(255,170,90,.06); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); font-size: .9rem; }
.lm-overit li { margin: 3px 0; }
.lm-overit b, .lm-overit code { color: var(--gold); }

/* hvězdičky po půlkách */
.lm-stars { display: flex; align-items: center; gap: 4px; padding: 8px 0; cursor: pointer; outline: none; }
.lm-stars:focus-visible { border-radius: 10px; box-shadow: 0 0 0 2px var(--line-hi); }
.lm-star { position: relative; font-size: 2rem; line-height: 1; color: rgba(255,170,90,.18); --fill: 0%; }
.lm-star .lm-star__fill {
  position: absolute; inset: 0; color: var(--gold);
  clip-path: inset(0 calc(100% - var(--fill)) 0 0);
  filter: drop-shadow(0 0 8px rgba(255,190,60,.55));
  transition: clip-path .08s linear;
}
.lm-stars__value { margin-left: 10px; font-family: var(--font-display); font-size: 1.05rem; color: var(--text); min-width: 64px; }

/* ---------- tým: postavy na létajících ostrůvcích ---------- */
.lm-crew { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 26px 22px; margin-top: 18px; }
.lm-crew__card {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 0 16px 20px; border-radius: 26px;
  background: linear-gradient(180deg, transparent 0%, transparent 56%, rgba(30, 13, 5, .62) 70%, rgba(24, 10, 4, .88) 100%);
  transition: transform .3s ease;
}
.lm-crew__card::after {
  /* jemný rámeček jen ve spodní části karty, v barvě hodnosti */
  content: ""; position: absolute; inset: 58% 0 0 0; border-radius: 0 0 26px 26px; pointer-events: none;
  border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); border-top: 0;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 35%); mask-image: linear-gradient(180deg, transparent, #000 35%);
}
.lm-crew__stage { position: relative; width: 100%; height: 400px; }
.lm-crew__glow {
  position: absolute; left: 50%; top: 38%; width: 270px; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--c) 60%, transparent) 0%, color-mix(in srgb, var(--c) 18%, transparent) 45%, transparent 68%);
  filter: blur(10px); opacity: .85; transition: opacity .3s ease, transform .3s ease;
}
.lm-crew__float {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  animation: lm-float 7s ease-in-out infinite; animation-delay: var(--d, 0s);
}
.lm-crew__skin {
  position: relative; z-index: 2; height: 215px; width: auto; max-width: 90%;
  filter: drop-shadow(0 14px 10px rgba(0, 0, 0, .55));
  transition: transform .35s cubic-bezier(.3, 1.4, .5, 1);
}
.lm-crew__isle { position: relative; z-index: 1; width: 200px; height: auto; margin-top: -66px; margin-bottom: -34px; filter: saturate(1.12) drop-shadow(0 22px 22px rgba(20, 5, 0, .5)); }
.lm-crew__card:hover .lm-crew__skin { transform: translateY(-12px) scale(1.04); }
.lm-crew__card:hover .lm-crew__glow { opacity: 1; transform: translate(-50%, -50%) scale(1.12); }
.lm-crew__info { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; width: 100%; margin-top: 4px; }
.lm-crew__prefix { height: 26px; width: auto; image-rendering: pixelated; filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .45)); }
.lm-crew__nick { margin: 10px 0 2px; font-size: 1.25rem; word-break: break-all; }
.lm-crew__role { margin: 0; color: var(--muted); font-size: .88rem; min-height: 1.4em; }
/* průměrné hodnocení na kartě (vidí všichni, klik otevře recenze) */
.lm-crew__score { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 8px 0 2px; cursor: pointer; }
.lm-crew__hvezdy { display: inline-flex; gap: 2px; color: var(--gold); font-size: 1rem; filter: drop-shadow(0 2px 0 rgba(60, 20, 5, .5)); }
.lm-crew__score b { font-family: var(--font-display); font-size: 1rem; color: var(--text); }
.lm-crew__pocet { color: var(--faint); font-size: .8rem; }
.lm-crew__score.is-empty .lm-crew__hvezdy { color: var(--faint); opacity: .55; filter: none; }
.lm-crew .lm-member__rate { margin-top: 14px; }

/* ---------- O serveru: řada členů týmu ---------- */
.lm-teamrow { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.lm-teamrow__item { display: flex; align-items: center; gap: 12px; margin: 0; padding: 12px 14px; color: var(--text); transition: transform .2s ease, border-color .2s ease; }
.lm-teamrow__item:hover { color: var(--text); transform: translateY(-2px); border-color: var(--line-hi); }
.lm-teamrow__item > span { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.lm-teamrow__item b { font-family: var(--font-display); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.lm-teamrow__prefix { height: 18px; width: auto; image-rendering: pixelated; }

/* =====================================================================
   RESPONZIVITA
   ===================================================================== */
@media (max-width: 1240px) {
  .lm-brand span { display: none; }
  .lm-top__side { gap: 12px; }
  .lm-menu { gap: 16px; }
}
@media (max-width: 1040px) {
  /* hamburger: logo | STORE | profil + menu */
  .lm-top__inner { grid-template-columns: 1fr auto 1fr; height: 60px; }
  .lm-top__side { display: contents; }
  .lm-brand { grid-column: 1; grid-row: 1; }
  .lm-brand span { display: inline; }
  .lm-store { grid-column: 2; grid-row: 1; }
  .lm-burger { display: flex; grid-column: 3; grid-row: 1; justify-self: end; }
  .lm-menu { display: none; grid-column: 1 / -1; height: auto; }
  .lm-top.is-open { max-height: calc(100dvh - 24px); overflow-y: auto; background: rgba(22,10,4,.98); }
  .lm-top.is-open .lm-top__inner { height: auto; padding: 8px 0 14px; row-gap: 2px; }
  .lm-top.is-open .lm-menu { display: flex; flex-direction: column; }
  .lm-top.is-open .lm-menu--left { margin-top: 10px; padding-top: 6px; border-top: 1px solid var(--line); }
  .lm-menu__link { padding: 13px 6px; font-size: 1rem; border-bottom: 1px solid rgba(255,170,90,.06); }
  .lm-menu--right .lm-menu__link:last-child { border-bottom: 0; }
  .lm-menu__link i { display: inline-block; width: 20px; text-align: center; color: var(--faint); }
  .lm-menu__link::after { left: 0; right: auto; top: 12px; bottom: 12px; width: 3px; height: auto; transform: scaleY(0); }
  .lm-menu__link.is-active::after { transform: scaleY(1); }
  .lm-menu__link.is-active { padding-left: 14px; }
}
@media (max-width: 480px) {
  .lm-brand span { display: none; }
  .lm-store { padding: 10px 24px; font-size: .85rem; }
}
@media (max-width: 1120px) {
  .lm-hero { grid-template-columns: 1fr; text-align: center; min-height: 0; }
  .lm-hero__desc { margin-left: auto; margin-right: auto; }
  .lm-hero__row { justify-content: center; }
  .lm-hero__art { order: -1; height: 330px; margin-bottom: 0; -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent); mask-image: linear-gradient(180deg, #000 72%, transparent); }
  .lm-hero__island { width: 320px; margin-left: -160px; top: 50px; }
  .lm-hero__logo { width: 170px; margin-left: -85px; }
  .lm-bg--home { --sun-x: 50%; --sun-y: 34%; --sun-size: 560px; }
  .lm-bg--home .lm-isle--a { display: none; }
}
@media (min-width: 1600px) {
  .lm-bg--home .lm-isle--left { left: 3%; }
  .lm-bg--home .lm-isle--right { right: 3%; }
}
@media (max-width: 980px) {
  .lm-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lm-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lm-grid--side, .lm-wiki { grid-template-columns: 1fr; }
  .lm-wiki__side { position: static; }
  .lm-rules { grid-template-columns: 1fr; }
  .lm-numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lm-join { grid-template-columns: 1fr; }
  .lm-footer__grid { grid-template-columns: 1fr 1fr; }
  .lm-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .lm-band { padding: 104px 0 30px; }
  .lm-hero-band { padding: 88px 0 30px; }
  .lm-hero__art { height: 280px; }
  .lm-hero__island { width: 270px; margin-left: -135px; }
  .lm-hero__logo { width: 150px; margin-left: -75px; }
  .lm-bg .lm-isle { max-width: 34vw; }
  .lm-bg .lm-isle--b { display: none !important; }
  .lm-bg__rays { width: 300vmax; }

  .lm-grid--2, .lm-grid--3, .lm-grid--4 { grid-template-columns: 1fr; }
  .lm-news { grid-template-columns: 1fr; }
  .lm-votelist { grid-template-columns: 1fr; }
  .lm-votebox form, .lm-toolbar form { flex-direction: column; }
  .lm-podium { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .lm-podium__item { padding: 16px 6px; }
  .lm-podium__item img { height: 90px; }
  .lm-podium__place { font-size: 1.8rem; left: 10px; top: 8px; }
  .lm-podium__item--1 .lm-podium__place { font-size: 2.2rem; }
  .lm-podium__item--1 img { height: 110px; }
  .lm-podium__nick { font-size: .8rem; }
  .lm-rank li { grid-template-columns: 30px 32px minmax(0, 1fr) auto; gap: 8px; padding: 8px 10px; }
  .lm-step { grid-template-columns: 1fr; }
  .lm-footer__grid { grid-template-columns: 1fr; }
  .lm-panel { padding: 18px; }
  .lm-kv { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 420px) {
  .lm-numbers { gap: 10px; }
  .lm-number b { font-size: 1.35rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .lm-panel { background: rgba(40, 19, 7, 0.95); }
  .lm-top { background: rgba(22, 10, 4, .98); }
}



[hidden] { display: none !important; }
@media (max-width: 600px) {
  .lm-crew { grid-template-columns: 1fr 1fr; gap: 18px 10px; }
  .lm-crew__card { padding: 0 8px 14px; }
  .lm-crew__stage { height: 250px; }
  .lm-crew__glow { width: 170px; }
  .lm-crew__skin { height: 140px; }
  .lm-crew__isle { width: 130px; margin-top: -42px; margin-bottom: -22px; }
  .lm-crew__nick { font-size: .95rem; }
  .lm-crew__role { font-size: .78rem; }
  .lm-crew__prefix { height: 20px; }
}

/* ---------- právní stránky a patička ---------- */
.lm-legal { max-width: 900px; margin: 0 auto 20px; padding: 28px 32px; }
.lm-legal h4 { font-size: 1.05rem; color: var(--text); margin: 1.6em 0 .5em; }
.lm-legal p, .lm-legal li { font-size: .95rem; }
.lm-footer__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, .9fr); }
.lm-footer__provoz { margin-top: 10px !important; font-size: .82rem !important; color: var(--faint) !important; line-height: 1.6; }
.lm-footer__provoz a { color: var(--muted); }
.lm-footer ul.lm-footer__docs { columns: 1; }
@media (max-width: 980px) { .lm-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .lm-legal { padding: 20px 18px; } .lm-footer__grid { grid-template-columns: 1fr; } }

/* ---------- tým: profil a recenze ---------- */
.lm-crew__stage { cursor: pointer; }
.lm-crew__actions { display: flex; gap: 8px; width: 100%; margin-top: 14px; }
.lm-crew__actions .lm-member__rate { margin-top: 0; flex: 1; }
.lm-member__profil {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 12px; border: 0; border-radius: 999px; cursor: pointer;
  font: inherit; font-weight: 800; font-size: .82rem; color: var(--text);
  background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line);
}
.lm-member__profil:hover { box-shadow: inset 0 0 0 1px var(--line-hi); background: rgba(255,170,90,.1); }

/* OPRAVA: tlačítka hodnocení a recenzí zůstávají uvnitř karty týmu.
   Při nedostatku místa se přesunou pod sebe místo přetékání přes okraj. */
.lm-crew__actions {
  flex-wrap: wrap;
  min-width: 0;
}
.lm-crew__actions .lm-member__rate {
  flex: 1 1 150px;
  width: auto;
  min-width: 0;
  max-width: 100%;
  margin-top: 0;
  white-space: normal;
  overflow-wrap: break-word;
  line-height: 1.35;
}
.lm-crew__actions .lm-member__profil {
  flex: 1 1 110px;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
  line-height: 1.35;
}

.lm-modal__box--wide { width: min(560px, 100%); }
.lm-profil__head { display: flex; align-items: center; gap: 18px; }
.lm-profil__skin { width: 84px; height: auto; filter: drop-shadow(0 10px 12px rgba(0,0,0,.5)); }
.lm-profil__prefix { display: block; height: 22px; width: auto; image-rendering: pixelated; margin-bottom: 4px; }
.lm-profil__nick { display: block; font-family: var(--font-display); font-size: 1.4rem; }
.lm-profil__score { margin-top: 4px; font-size: .9rem; }
.lm-profil__stars { color: var(--gold); letter-spacing: 1px; white-space: nowrap; }
.lm-profil__list { display: flex; flex-direction: column; gap: 10px; max-height: 46vh; overflow-y: auto; padding-right: 4px; }
.lm-profil__pozn { margin: 12px 0 10px; font-size: .86rem; }
.lm-profil__pozn i { color: var(--gold); margin-right: 4px; }
.lm-profil__zamceno { text-align: center; padding: 18px; border-radius: 14px; background: rgba(255,170,90,.06); box-shadow: inset 0 0 0 1px var(--line); }
.lm-profil__zamceno i { font-size: 1.6rem; color: var(--gold); }
.lm-profil__zamceno p { color: var(--muted); font-size: .9rem; }
.lm-recenze { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; padding: 12px; border-radius: 14px; background: rgba(255,170,90,.05); box-shadow: inset 0 0 0 1px var(--line); }
.lm-recenze img { border-radius: 8px; image-rendering: pixelated; }
.lm-recenze__head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: .85rem; }
.lm-recenze p { margin: 6px 0 0; font-size: .9rem; color: #f3e2cf; white-space: pre-wrap; word-break: break-word; }

/* ---------- leaderboard: podzáložky skillů ---------- */
.lm-subtabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: -4px 0 22px; }
.lm-subtab {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border: 0; border-radius: 999px; cursor: pointer;
  font: inherit; font-weight: 700; font-size: .8rem;
  color: var(--muted); background: rgba(30,14,5,.7); box-shadow: inset 0 0 0 1px var(--line);
  transition: color .15s ease, box-shadow .15s ease;
}
.lm-subtab i { font-size: .75rem; color: var(--faint); }
.lm-subtab:hover { color: var(--text); box-shadow: inset 0 0 0 1px var(--line-hi); }
.lm-subtab.is-active { color: var(--gold); box-shadow: inset 0 0 0 1px rgba(255,210,63,.55); background: rgba(255,210,63,.12); }
.lm-subtab.is-active i { color: var(--gold); }

/* ---------- stránka 404 (1. 11. 2026) ---------- */
.lm-404 { max-width: 720px; margin: 0 auto; padding: 38px 26px 30px; text-align: center; }
.lm-404__kod {
    font: 900 clamp(5rem, 16vw, 8.5rem)/.9 var(--font-display);
    background: linear-gradient(180deg, #ffe08a 0%, #ffb21e 55%, #ff7a1a 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: drop-shadow(0 6px 0 rgba(60, 20, 5, .55));
    margin-bottom: 10px;
}
.lm-404 h2 { margin: 0 0 8px; }
.lm-404 p { margin: 0 auto 22px; max-width: 46ch; color: var(--muted); }
.lm-404__akce { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 22px; }
.lm-404__odkazy { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.lm-404__odkazy a {
    display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px;
    background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
    color: var(--muted); font-weight: 700; font-size: .88rem; text-decoration: none;
    transition: border-color .2s, color .2s;
}
.lm-404__odkazy a i { color: var(--faint); }
.lm-404__odkazy a:hover { color: #fff; border-color: rgba(255, 190, 60, .5); }
