/* ── FearCon Minecraft – single page (staví na tokenech z /styles.css) ─── */

body.mc {
  padding: 0;
  overflow-x: hidden;
}

.mc-vignette {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(215, 25, 32, 0.22), transparent 55%),
    radial-gradient(ellipse at 50% 100%, rgba(0, 0, 0, 0.75), transparent 60%);
}

.mc-back {
  position: fixed;
  top: 1rem;
  left: 1.1rem;
  z-index: 20;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(7, 7, 7, 0.55);
  border: 1px solid rgba(242, 215, 173, 0.14);
  backdrop-filter: blur(8px);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.mc-back:hover {
  color: var(--primary-2);
  border-color: rgba(242, 215, 173, 0.4);
}

/* tlačítko v duchu stránky (ne obecné admin .btn) – "Jak systém funguje?", "Zobrazit žebříček" */
.mc-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(7, 7, 7, 0.55);
  border: 1px solid rgba(242, 215, 173, 0.25);
  color: var(--primary-2);
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.18s ease;
}

.mc-btn-ghost:hover {
  color: #fff7ef;
  border-color: rgba(242, 215, 173, 0.55);
  background: rgba(215, 25, 32, 0.16);
  transform: translateY(-1px);
}

.mc-btn-toggle[data-expanded="1"]::after {
  content: "▴";
}

.mc-btn-toggle:not([data-expanded="1"])::after {
  content: "▾";
}

/* ── Hero ──────────────────────────────────────────────────────────── */

.mc-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(4rem, 12vh, 7rem) 1.2rem 5rem;
  gap: 0.6rem;
  isolation: isolate;
}

.mc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 22px),
    radial-gradient(ellipse at 50% 60%, rgba(215, 25, 32, 0.28), transparent 62%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 80%);
  mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 80%);
  animation: mcFlicker 7s ease-in-out infinite;
}

@keyframes mcFlicker {
  0%, 100% { opacity: 0.85; }
  47% { opacity: 1; }
  52% { opacity: 0.72; }
  55% { opacity: 0.95; }
}

.mc-kicker {
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.72rem;
  color: #f3d4bc;
  opacity: 0.85;
  animation: mcRise 0.9s ease both;
}

.mc-logo {
  width: min(640px, 92vw);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 40px rgba(215, 25, 32, 0.25));
  animation: mcRise 1s 0.1s ease both;
}

.mc-title {
  margin: 0.4rem 0 0.8rem;
  font-family: "Special Elite", "Courier New", monospace;
  font-weight: 400;
  font-size: clamp(1.15rem, 2.6vw, 1.75rem);
  line-height: 1.35;
  display: grid;
  gap: 0.1rem;
  animation: mcRise 1s 0.25s ease both;
}

.mc-title span {
  color: #f5e0d6;
}

.mc-title em {
  font-style: normal;
  color: var(--primary);
  text-shadow: 0 0 22px rgba(215, 25, 32, 0.45);
}

@keyframes mcRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* stav */
.mc-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.95rem 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(242, 215, 173, 0.16);
  background: rgba(7, 7, 7, 0.55);
  color: var(--muted);
  font-size: 0.9rem;
  animation: mcRise 1s 0.4s ease both;
}

.mc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #6b6b6b;
}

.mc-status.is-online { color: #fff7ef; border-color: rgba(124, 232, 201, 0.35); }
.mc-status.is-online .mc-dot { background: var(--ok); animation: mcPulse 2.2s ease-out infinite; }
.mc-status.is-offline { color: var(--danger); border-color: rgba(255, 127, 127, 0.35); }
.mc-status.is-offline .mc-dot { background: var(--primary); }

@keyframes mcPulse {
  0% { box-shadow: 0 0 0 0 rgba(124, 232, 201, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(124, 232, 201, 0); }
  100% { box-shadow: 0 0 0 0 rgba(124, 232, 201, 0); }
}

/* adresa – hlavní prvek */
.mc-address {
  margin-top: 1.1rem;
  display: grid;
  gap: 0.15rem;
  justify-items: center;
  padding: 1rem 2rem 0.9rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(20, 15, 15, 0.9), rgba(7, 7, 7, 0.9));
  border: 1px solid rgba(215, 25, 32, 0.45);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 50px rgba(215, 25, 32, 0.16);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  animation: mcRise 1s 0.5s ease both;
  max-width: 100%;
}

.mc-address:hover {
  transform: translateY(-2px);
  border-color: rgba(215, 25, 32, 0.85);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 28px 70px rgba(0, 0, 0, 0.6), 0 0 70px rgba(215, 25, 32, 0.28);
}

.mc-address-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--muted);
}

.mc-address code {
  font-family: "Special Elite", "Courier New", monospace;
  font-size: clamp(1.5rem, 4.6vw, 2.5rem);
  color: #fff7ef;
  letter-spacing: 0.03em;
  line-height: 1.15;
  word-break: break-all;
}

.mc-address-action {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary-2);
  opacity: 0.8;
}

.mc-address.is-copied { border-color: rgba(124, 232, 201, 0.7); }
.mc-address.is-copied .mc-address-action { color: var(--ok); opacity: 1; }

/* online hráči v hero */
.mc-online {
  list-style: none;
  padding: 0;
  margin: 0.9rem 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  min-height: 1.9rem;
}

.mc-online li {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.22rem 0.65rem 0.22rem 0.28rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(242, 215, 173, 0.14);
  font-size: 0.82rem;
  color: #f5e0d6;
  animation: mcRise 0.6s ease both;
}

.mc-head {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  image-rendering: pixelated;
  background: #2a2626;
  flex: none;
}

.mc-scroll {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(242, 215, 173, 0.3);
  opacity: 0.7;
}

.mc-scroll span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 3px;
  height: 8px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--primary-2);
  animation: mcScroll 1.8s ease-in-out infinite;
}

@keyframes mcScroll {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(16px); opacity: 0; }
}

/* ── Sekce ─────────────────────────────────────────────────────────── */

.mc-main {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 clamp(0.9rem, 2.4vw, 1.7rem);
  display: grid;
  gap: clamp(3rem, 8vh, 5.5rem);
}

.mc-section {
  position: relative;
}

.mc-num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.35em;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.mc-section h2 {
  font-size: clamp(1.9rem, 4.6vw, 3.1rem);
  margin-bottom: 1.3rem;
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.mc-section h2 small {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.mc-small {
  color: var(--muted);
  font-size: 0.9rem;
}

.mc-main .reveal {
  opacity: 0;
  transform: translateY(26px);
  animation: none;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.mc-main .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.mc-cmds code {
  font-family: "Special Elite", "Courier New", monospace;
  color: #f2d7ad;
}

.mc-cmds {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.mc-cmds span {
  font-size: 0.82rem;
  color: var(--muted);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px dashed rgba(242, 215, 173, 0.2);
}

.mc-cmds code {
  margin-right: 0.35rem;
}

/* hero poznámka */
.mc-hero-note {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.88rem;
  max-width: 44ch;
  animation: mcRise 1s 0.6s ease both;
}

/* kronika */
.mc-world {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.mc-world article {
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(242, 215, 173, 0.1);
  border-left: 2px solid var(--primary);
}

.mc-world span {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.mc-world strong {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.1;
  color: #fff7ef;
}

.mc-world strong.is-night {
  color: #b9c7ff;
}

.mc-feed {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.3rem;
  max-width: 720px;
  position: relative;
}

.mc-feed::before {
  content: "";
  position: absolute;
  left: 1.05rem;
  top: 0.6rem;
  bottom: 0.6rem;
  width: 1px;
  background: linear-gradient(180deg, rgba(215, 25, 32, 0.7), rgba(242, 215, 173, 0.08));
}

.mc-feed li {
  margin: 0;
  position: relative;
  display: grid;
  grid-template-columns: 2.1rem 20px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.75rem 0.5rem 0;
  font-size: 0.92rem;
  color: #f5e0d6;
}

.mc-feed .mc-feed-icon {
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bg-1);
  border: 1px solid rgba(242, 215, 173, 0.16);
  font-size: 0.95rem;
  z-index: 1;
}

.mc-feed li.is-death .mc-feed-icon {
  border-color: rgba(215, 25, 32, 0.7);
  box-shadow: 0 0 14px rgba(215, 25, 32, 0.35);
}

.mc-feed li.is-death .mc-feed-text {
  color: #ffb3b3;
}

.mc-feed .mc-feed-text em {
  font-style: normal;
  color: var(--primary-2);
}

.mc-feed time {
  color: var(--muted);
  font-size: 0.78rem;
  white-space: nowrap;
}

.mc-intro {
  margin: -0.6rem 0 1.2rem;
  max-width: 62ch;
}

.mc-feed li.is-levelup .mc-feed-icon,
.mc-feed li.is-skill .mc-feed-icon {
  border-color: rgba(242, 215, 173, 0.6);
  color: var(--primary-2);
}

.mc-feed li.is-milestone .mc-feed-icon {
  border-color: rgba(124, 232, 201, 0.5);
  color: var(--ok);
}

/* doby serveru */
.mc-era {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.1rem 1.3rem;
  margin-bottom: 0.9rem;
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(215, 25, 32, 0.28), rgba(215, 25, 32, 0.05) 60%, transparent),
    rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(215, 25, 32, 0.45);
  box-shadow: 0 0 40px rgba(215, 25, 32, 0.12);
}

.mc-era-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--primary-2);
}

.mc-era-name {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1;
  color: #fff7ef;
  text-shadow: 0 0 24px rgba(215, 25, 32, 0.5);
}

.mc-era-desc {
  color: var(--muted);
  font-family: "Special Elite", "Courier New", monospace;
  font-size: 0.95rem;
}

.mc-era-next {
  margin-left: auto;
  text-align: right;
  color: var(--muted);
  font-size: 0.8rem;
}

.mc-era-next b {
  display: block;
  color: #f5e0d6;
  font-weight: 400;
}

.mc-eras {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.35rem;
}

.mc-eras li {
  margin: 0;
  position: relative;
  padding: 0.6rem 0.2rem 0.4rem;
  text-align: center;
  font-size: 0.72rem;
  color: var(--muted);
  border-top: 3px solid rgba(255, 255, 255, 0.08);
}

.mc-eras li.is-reached {
  color: #f5e0d6;
  border-top-color: var(--primary);
}

.mc-eras li.is-current {
  color: #fff7ef;
  border-top-color: #ff6b6b;
  text-shadow: 0 0 14px rgba(215, 25, 32, 0.6);
}

.mc-eras li small {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.66rem;
  color: var(--muted);
}

.mc-eras li i {
  position: absolute;
  top: -3px;
  left: 0;
  height: 3px;
  background: rgba(215, 25, 32, 0.55);
}

.mc-feed li.is-era .mc-feed-icon,
.mc-feed li.is-founding .mc-feed-icon {
  border-color: rgba(215, 25, 32, 0.8);
  color: #ff6b6b;
  box-shadow: 0 0 14px rgba(215, 25, 32, 0.35);
}

.mc-feed li.is-first .mc-feed-icon {
  border-color: rgba(242, 215, 173, 0.7);
  color: var(--primary-2);
}

.mc-feed li.is-newcomer .mc-feed-icon,
.mc-feed li.is-day .mc-feed-icon {
  color: var(--muted);
}

.mc-feed li.is-era .mc-feed-text {
  color: #fff7ef;
  font-family: "Special Elite", "Courier New", monospace;
}

.mc-feed li .mc-feed-spacer {
  width: 20px;
}

/* osobní historie v profilu */
.mc-history {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.3rem;
}

.mc-history li {
  margin: 0;
  display: grid;
  grid-template-columns: 1.3rem minmax(0, 1fr) auto;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.88rem;
  color: #f5e0d6;
  padding: 0.35rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.mc-history li.is-death { color: #ffb3b3; }
.mc-history li span:first-child { text-align: center; color: var(--primary-2); }
.mc-history li.is-death span:first-child { color: var(--primary); }
.mc-history time { color: var(--muted); font-size: 0.76rem; white-space: nowrap; }

@media (max-width: 680px) {
  .mc-eras {
    grid-template-columns: repeat(3, 1fr);
  }

  .mc-era-next {
    margin-left: 0;
    text-align: left;
  }
}

/* hrdinové */
.mc-heroes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0.9rem;
}

.mc-hero-card {
  position: relative;
  padding: 1.1rem 1.1rem 1rem;
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(215, 25, 32, 0.14), transparent 50%),
    var(--card);
  border: 1px solid var(--card-border);
  display: grid;
  gap: 0.9rem;
  overflow: hidden;
}

.mc-hero-card::before {
  content: attr(data-level);
  position: absolute;
  right: 0.6rem;
  top: -0.6rem;
  font-family: var(--font-display);
  font-size: 5.5rem;
  line-height: 1;
  color: rgba(215, 25, 32, 0.12);
  pointer-events: none;
}

.mc-hero-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.mc-hero-head .mc-head {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  box-shadow: 0 0 0 2px rgba(215, 25, 32, 0.55), 0 10px 24px rgba(0, 0, 0, 0.5);
}

.mc-hero-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.05;
  color: #fff7ef;
}

.mc-hero-title {
  color: var(--primary-2);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-top: 0.2rem;
}

.mc-hero-level {
  margin-left: auto;
  text-align: right;
}

.mc-hero-level b {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  color: var(--primary);
  font-weight: 400;
}

.mc-hero-level span {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.mc-xp {
  display: grid;
  gap: 0.3rem;
}

.mc-xp-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.mc-xp-bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #7b1d1d, var(--primary), #ff6b6b);
  box-shadow: 0 0 12px rgba(215, 25, 32, 0.6);
  transition: width 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mc-xp small {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.74rem;
}

.mc-skills {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 0.9rem;
}

.mc-skills li {
  margin: 0;
  display: grid;
  grid-template-columns: 1.3rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.mc-skills li .mc-skill-bar {
  grid-column: 1 / -1;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.mc-skills li .mc-skill-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: rgba(242, 215, 173, 0.75);
  transition: width 1s ease;
}

.mc-skills li b {
  color: #fff7ef;
  font-weight: 700;
}

.mc-skills li.is-top b {
  color: var(--primary-2);
}

.mc-hero-card {
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.mc-hero-card:hover {
  transform: translateY(-3px);
  border-color: rgba(215, 25, 32, 0.6);
}

/* profil hráče */
.mc-profile {
  width: min(720px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  padding: 0;
  border: 1px solid rgba(215, 25, 32, 0.5);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(215, 25, 32, 0.16), transparent 45%),
    #0c0a0a;
  color: var(--text);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.8), 0 0 60px rgba(215, 25, 32, 0.2);
  overflow: auto;
}

.mc-profile::backdrop {
  background: rgba(3, 3, 3, 0.8);
  backdrop-filter: blur(6px);
}

.mc-profile-close {
  position: sticky;
  top: 0.6rem;
  float: right;
  margin: 0.6rem 0.6rem 0 0;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: rgba(7, 7, 7, 0.7);
  border: 1px solid rgba(242, 215, 173, 0.2);
  color: var(--text);
  font-size: 1.3rem;
  line-height: 1;
  z-index: 2;
}

.mc-profile-body {
  padding: 1.4rem clamp(1rem, 4vw, 2rem) 1.8rem;
  display: grid;
  gap: 1.3rem;
}

.mc-profile-head {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.mc-profile-head .mc-head {
  width: 88px;
  height: 88px;
  border-radius: 14px;
  box-shadow: 0 0 0 3px rgba(215, 25, 32, 0.6), 0 16px 40px rgba(0, 0, 0, 0.6);
}

.mc-profile-head .mc-hero-name {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
}

.mc-profile-head .mc-hero-level b {
  font-size: 3rem;
}

.mc-profile h3 {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--primary-2);
  margin-bottom: 0.6rem;
  font-family: var(--font-body);
  font-weight: 700;
}

.mc-profile .mc-skills {
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

.mc-profile .mc-skills li {
  grid-template-columns: 1.4rem minmax(0, 1fr) auto auto;
  font-size: 0.9rem;
}

.mc-profile .mc-skills li .mc-skill-xp {
  color: var(--muted);
  font-size: 0.76rem;
}

.mc-profile .mc-skills li .mc-skill-bar {
  height: 5px;
}

.mc-profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.5rem;
}

.mc-profile-grid article {
  padding: 0.6rem 0.7rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(242, 215, 173, 0.09);
}

.mc-profile-grid strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.05;
  color: #fff7ef;
  font-weight: 400;
}

.mc-profile-grid span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.mc-profile-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.mc-profile-cols ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.3rem;
}

.mc-profile-cols li {
  margin: 0;
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: #f5e0d6;
  padding-bottom: 0.3rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.mc-profile-cols li span {
  color: var(--muted);
}

.mc-profile-foot {
  color: var(--muted);
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.mc-profile-foot a {
  color: var(--primary-2);
}

/* úvodní průvodce systémem ("Jak systém funguje?") */
#guide .mc-profile-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: #fff7ef;
  text-transform: none;
  letter-spacing: normal;
  margin-bottom: 0.4rem;
}

.mc-guide-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.mc-guide-list li {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text);
  padding-bottom: 0.75rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.mc-guide-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.mc-guide-list code {
  font-family: "Special Elite", "Courier New", monospace;
  color: #f2d7ad;
}

#guide .mc-profile-body .btn {
  justify-self: start;
}

/* síň slávy */
.mc-ribbon {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.6rem;
  margin-bottom: 1.1rem;
}

.mc-ribbon article {
  padding: 0.7rem 0.6rem;
  text-align: center;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(242, 215, 173, 0.1);
}

.mc-ribbon strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1;
  color: #fff7ef;
}

.mc-ribbon span {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.mc-hall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.9rem;
}

.mc-trophy {
  position: relative;
  padding: 1.1rem 1.1rem 1rem;
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(215, 25, 32, 0.16), transparent 55%),
    var(--card);
  border: 1px solid var(--card-border);
  display: grid;
  gap: 0.7rem;
  overflow: hidden;
}

.mc-trophy::after {
  content: attr(data-icon);
  position: absolute;
  right: 0.7rem;
  top: 0.4rem;
  font-size: 2.6rem;
  opacity: 0.12;
  filter: grayscale(1);
}

.mc-trophy-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--primary-2);
}

.mc-winner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mc-winner .mc-head {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  box-shadow: 0 0 0 2px rgba(215, 25, 32, 0.6), 0 8px 20px rgba(0, 0, 0, 0.5);
}

.mc-winner strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.1;
  color: #fff7ef;
}

.mc-winner span {
  color: var(--primary);
  font-weight: 700;
}

.mc-runners {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.25rem;
  font-size: 0.84rem;
  color: var(--muted);
}

.mc-runners li {
  margin: 0;
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
}

.mc-runners li b {
  font-weight: 400;
  color: #f5e0d6;
}

/* mapa */
.mc-section-map {
  max-width: none;
}

.mc-map-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.mc-map-head h2 {
  margin-bottom: 0;
}

.mc-link {
  color: var(--primary-2);
  text-decoration: none;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(242, 215, 173, 0.3);
}

.mc-map {
  position: relative;
  width: min(1240px, calc(100vw - 2rem));
  margin-left: calc(50% - min(620px, 50vw - 1rem));
  height: min(78vh, 700px);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(242, 215, 173, 0.16);
  box-shadow: var(--shadow);
  background: #050505;
}

.mc-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
}

.mc-map-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.8rem;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(215, 25, 32, 0.18), transparent 60%),
    rgba(5, 5, 5, 0.88);
  transition: opacity 0.6s ease;
}


.mc-map-cover.is-hidden {
  opacity: 0;
  pointer-events: none;
}

/* dokud uživatel na mapu neklikne, kolečko roluje stránku, ne mapu */
.mc-map.is-locked iframe {
  pointer-events: none;
}

.mc-map-lock {
  position: absolute;
  left: 50%;
  bottom: 0.9rem;
  transform: translateX(-50%);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(7, 7, 7, 0.75);
  border: 1px solid rgba(242, 215, 173, 0.2);
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mc-map.is-locked:hover .mc-map-lock {
  opacity: 1;
}

.mc-map-cover:not(.is-hidden) ~ .mc-map-lock {
  display: none;
}

/* pravidla */
.mc-rules {
  margin: 0 0 0.8rem;
  padding: 0;
  list-style: none;
  counter-reset: rule;
  display: grid;
  gap: 0.35rem;
  max-width: 640px;
}

.mc-rules li {
  counter-increment: rule;
  margin: 0;
  padding: 0.75rem 0.9rem 0.75rem 3.2rem;
  position: relative;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.3);
  border-left: 2px solid var(--primary);
  color: #f5e0d6;
  font-family: "Special Elite", "Courier New", monospace;
}

.mc-rules li::before {
  content: counter(rule, decimal-leading-zero);
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  color: var(--primary);
  font-size: 1.1rem;
}

/* footer */
.mc-footer {
  max-width: var(--content-width);
  margin: 4rem auto 0;
  padding: 1.5rem clamp(0.9rem, 2.4vw, 1.7rem) 2.5rem;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
  display: grid;
  gap: 0.35rem;
  border-top: 1px solid rgba(242, 215, 173, 0.1);
}

/* ── Responsive ────────────────────────────────────────────────────── */

@media (max-width: 680px) {
  .mc-hero {
    padding-top: 4.5rem;
  }

  .mc-address {
    padding: 0.85rem 1.2rem 0.75rem;
    width: 100%;
  }

  .mc-map {
    height: 62vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mc-hero::before,
  .mc-scroll span,
  .mc-dot {
    animation: none !important;
  }

  .mc-main .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
