@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/inter-cyr.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* Public screenshot upload — Aurora Maximalism. */
body:has(.hm-upload-page) .hm-topbar,
body:has(.hm-upload-page) .hm-topbar * {
  font-family: "Inter", sans-serif;
}

.hm-upload-page,
.hm-upload-page * {
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

.hm-upload-page {
  min-height: 100vh;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 15% 20%, rgba(0,240,255,.26), transparent 30%),
    radial-gradient(circle at 84% 15%, rgba(255,0,110,.28), transparent 32%),
    linear-gradient(135deg, #090015 0%, #241061 46%, #090015 100%);
}

.hm-upload-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .45;
  background: repeating-linear-gradient(112deg, transparent 0 42px, rgba(255,255,255,.026) 43px 44px);
}

.hm-upload-hero,
.hm-upload-workspace {
  position: relative;
  z-index: 1;
  width: min(1480px, calc(100% - 48px));
  margin: 0 auto;
}

.hm-upload-hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: end;
  gap: 60px;
  padding: 100px 0 72px;
}

.hm-upload-hero-copy {
  position: relative;
  z-index: 2;
}

.hm-upload-hero-copy h1 {
  max-width: 1100px;
  margin: 18px 0 30px;
  font-size: clamp(72px, 10vw, 184px);
  font-weight: 800;
  line-height: .79;
  letter-spacing: -.075em;
  text-shadow: 0 0 30px rgba(93,52,208,.52);
}

.hm-upload-hero-copy h1 span {
  color: transparent;
  background: linear-gradient(90deg, #00f0ff, #5d34d0 46%, #ff006e);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: none;
}

.hm-upload-hero-copy > p:last-child {
  max-width: 690px;
  margin: 0;
  color: rgba(255,255,255,.76);
  font-size: clamp(16px, 1.45vw, 22px);
  line-height: 1.6;
}

.hm-upload-orbit {
  position: absolute;
  top: 48px;
  right: 8%;
  width: min(42vw, 580px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(0,240,255,.2);
  box-shadow: inset 0 0 90px rgba(93,52,208,.2), 0 0 70px rgba(255,0,110,.12);
  animation: hm-upload-float 8s ease-in-out infinite;
}

.hm-upload-orbit::before,
.hm-upload-orbit::after,
.hm-upload-orbit span {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.hm-upload-orbit::before { inset: 13%; border: 1px solid rgba(255,0,110,.22); }
.hm-upload-orbit::after { inset: 31%; background: conic-gradient(from 45deg, #5d34d0, #ff006e, #00f0ff, #5d34d0); filter: blur(22px); opacity: .52; }
.hm-upload-orbit span:nth-child(1) { width: 18px; height: 18px; top: 12%; left: 24%; background: #00f0ff; box-shadow: 0 0 24px #00f0ff; }
.hm-upload-orbit span:nth-child(2) { width: 12px; height: 12px; right: 5%; top: 49%; background: #ff006e; box-shadow: 0 0 24px #ff006e; }
.hm-upload-orbit span:nth-child(3) { width: 8px; height: 8px; bottom: 13%; left: 24%; background: #fff; box-shadow: 0 0 20px #fff; }

@keyframes hm-upload-float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(0, -18px, 0) rotate(4deg); }
}

.hm-upload-steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hm-upload-steps li {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  min-height: 68px;
  padding: 8px 18px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(9,0,21,.48);
  backdrop-filter: blur(16px);
  transition: transform .35s cubic-bezier(.2,.9,.2,1), border-color .35s ease, background .35s ease;
}

.hm-upload-steps li.is-active {
  transform: translateX(-18px);
  border-color: #00f0ff;
  background: linear-gradient(90deg, rgba(0,240,255,.18), rgba(93,52,208,.18));
  box-shadow: 0 0 28px rgba(0,240,255,.12);
}

.hm-upload-steps b { color: #00f0ff; font-size: 14px; font-variant-numeric: tabular-nums; }
.hm-upload-steps span { font-size: 14px; font-weight: 700; }

.hm-upload-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
  padding: 0 0 120px;
}

.hm-upload-card,
.hm-upload-success,
.hm-upload-rules {
  border: 1px solid rgba(255,255,255,.15);
  background: linear-gradient(145deg, rgba(11,2,32,.88), rgba(49,22,111,.62));
  backdrop-filter: blur(24px);
}

.hm-upload-card,
.hm-upload-success { padding: clamp(26px, 5vw, 64px); }

.hm-upload-card-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: start;
  margin-bottom: 38px;
}

.hm-upload-card-head small,
.hm-upload-success > small,
.hm-upload-rules small {
  color: #00f0ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hm-upload-card-head h2,
.hm-upload-success h2 { margin: 8px 0 0; font-size: clamp(28px, 4vw, 54px); line-height: 1; letter-spacing: -.045em; }
.hm-upload-card-head > span { color: rgba(255,255,255,.55); font-size: 12px; text-align: right; }

.hm-upload-field { display: grid; gap: 10px; margin-bottom: 26px; }
.hm-upload-field > span,
.hm-upload-code-field > span { font-size: 13px; font-weight: 800; }
.hm-upload-field input,
.hm-upload-code-field input {
  width: 100%;
  border: 1px solid rgba(255,255,255,.2);
  outline: 0;
  color: #fff;
  background: rgba(9,0,21,.58);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.hm-upload-field input { min-height: 62px; padding: 0 18px; font-size: 17px; }
.hm-upload-field input:focus,
.hm-upload-code-field input:focus { border-color: #00f0ff; box-shadow: 0 0 0 4px rgba(0,240,255,.12), 0 0 24px rgba(0,240,255,.12); }
.hm-upload-field small { color: rgba(255,255,255,.5); font-size: 12px; }

.hm-upload-drop {
  position: relative;
  min-height: 300px;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-bottom: 22px;
  border: 1px dashed rgba(0,240,255,.52);
  cursor: pointer;
  background: radial-gradient(circle at 50% 45%, rgba(93,52,208,.28), rgba(9,0,21,.68));
}
.hm-upload-drop.is-dragging { border-color: #ff006e; box-shadow: inset 0 0 60px rgba(255,0,110,.16); }
.hm-upload-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.hm-upload-drop-copy { display: grid; gap: 8px; text-align: center; }
.hm-upload-drop-copy b { font-size: 18px; }
.hm-upload-drop-copy small { color: rgba(255,255,255,.55); }
.hm-upload-file-name { position: absolute; z-index: 2; left: 18px; bottom: 16px; padding: 8px 10px; color: #fff; background: rgba(9,0,21,.8); font-size: 12px; }
.hm-upload-drop img { width: 100%; height: 100%; max-height: 520px; object-fit: contain; background: rgba(0,0,0,.4); }
.hm-upload-drop.has-preview .hm-upload-drop-copy { display: none; }

.hm-upload-consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 13px;
  align-items: start;
  margin: 0 0 24px;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  line-height: 1.55;
}
.hm-upload-consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: #ff006e; }
.hm-upload-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.hm-upload-submit {
  width: 100%;
  min-height: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  border: 0;
  color: #fff;
  background: linear-gradient(90deg, #5d34d0, #ff006e 55%, #00f0ff 135%);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 0 30px rgba(255,0,110,.22);
  transition: transform .3s cubic-bezier(.2,.9,.2,1), box-shadow .3s ease;
}
.hm-upload-submit i { width: 34px; height: 1px; position: relative; background: currentColor; }
.hm-upload-submit i::after { content: ""; position: absolute; right: 0; top: -4px; width: 8px; height: 8px; border-top: 1px solid; border-right: 1px solid; transform: rotate(45deg); }
.hm-upload-submit:hover { transform: translateY(-3px); box-shadow: 0 0 44px rgba(255,0,110,.38); }
.hm-upload-submit:disabled { opacity: .55; cursor: wait; transform: none; }
.hm-upload-status { margin: 0 0 18px; padding: 12px 14px; border-left: 3px solid #ff006e; color: #fff; background: rgba(255,0,110,.12); font-size: 13px; }
.hm-upload-status.is-success { border-color: #00f0ff; background: rgba(0,240,255,.1); }

.hm-upload-code-intro { max-width: 620px; color: rgba(255,255,255,.7); line-height: 1.65; }
.hm-upload-code-intro strong { color: #00f0ff; }
.hm-upload-code-field { display: grid; gap: 12px; margin: 34px 0 24px; }
.hm-upload-code-field input { min-height: 112px; padding: 0 24px; font-size: clamp(48px, 8vw, 82px); font-weight: 800; letter-spacing: .28em; text-align: center; font-variant-numeric: tabular-nums; }
.hm-upload-back { width: 100%; margin-top: 14px; padding: 12px; border: 0; color: rgba(255,255,255,.62); background: transparent; cursor: pointer; text-decoration: underline; }

.hm-upload-rules { display: grid; gap: 0; position: sticky; top: 94px; }
.hm-upload-rules div { padding: 28px; border-bottom: 1px solid rgba(255,255,255,.12); }
.hm-upload-rules p { margin: 10px 0 0; color: rgba(255,255,255,.65); font-size: 13px; line-height: 1.65; }
.hm-upload-rules > a { padding: 22px 28px; color: #00f0ff; font-size: 13px; font-weight: 800; }
.hm-upload-success p { color: rgba(255,255,255,.68); }
.hm-upload-success .hm-cta { margin-top: 24px; }
.hm-gallery-upload-cta { width: max-content; margin-top: 22px; }

@media (max-width: 900px) {
  .hm-upload-hero { min-height: auto; grid-template-columns: 1fr; gap: 42px; padding: 80px 0 52px; }
  .hm-upload-orbit { width: 520px; right: -220px; top: 22px; }
  .hm-upload-steps { grid-template-columns: repeat(3, 1fr); }
  .hm-upload-steps li { grid-template-columns: 1fr; gap: 5px; }
  .hm-upload-steps li.is-active { transform: translateY(-8px); }
  .hm-upload-workspace { grid-template-columns: 1fr; }
  .hm-upload-rules { position: static; grid-template-columns: repeat(2, 1fr); }
  .hm-upload-rules > a { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .hm-upload-hero,
  .hm-upload-workspace { width: min(100% - 24px, 1480px); }
  .hm-upload-hero-copy h1 { font-size: clamp(62px, 22vw, 96px); }
  .hm-upload-steps span { font-size: 11px; }
  .hm-upload-card-head { display: grid; }
  .hm-upload-card-head > span { text-align: left; }
  .hm-upload-drop { min-height: 230px; }
  .hm-upload-rules { grid-template-columns: 1fr; }
  .hm-upload-rules > a { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .hm-upload-orbit { animation: none; }
  .hm-upload-steps li,
  .hm-upload-submit { transition: none; }
}

/* Screenshot upload dialog — compact Aurora treatment for the existing gallery. */
.hm-gallery-upload-cta {
  appearance: none;
  border: 0;
  font: inherit;
  cursor: pointer;
}

.hm-upload-dialog,
.hm-upload-dialog * {
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

.hm-upload-dialog {
  width: min(920px, calc(100% - 32px));
  max-width: none;
  max-height: min(820px, calc(100dvh - 32px));
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(125,178,255,.28);
  border-radius: 26px;
  outline: 0;
  color: #fff;
  background:
    radial-gradient(circle at 8% 0, rgba(0,240,255,.13), transparent 32%),
    radial-gradient(circle at 100% 14%, rgba(93,52,208,.34), transparent 42%),
    #060718;
  box-shadow: 0 34px 110px rgba(0,0,0,.72), 0 0 70px rgba(59,130,246,.13);
}

.hm-upload-dialog::backdrop {
  background: rgba(1,3,10,.8);
  backdrop-filter: blur(12px);
}

.hm-upload-close {
  position: absolute;
  z-index: 5;
  top: 18px;
  right: 18px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  color: #fff;
  background: rgba(3,7,18,.76);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.hm-upload-close:hover { border-color: #60a5fa; background: rgba(59,130,246,.24); transform: rotate(4deg); }
.hm-upload-close:focus-visible { outline: 2px solid #60a5fa; outline-offset: 3px; }
.hm-upload-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }

.hm-upload-dialog-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  padding: 34px 76px 24px 34px;
  background: linear-gradient(115deg, rgba(59,130,246,.1), rgba(168,85,247,.08) 52%, rgba(236,72,153,.07));
}

.hm-upload-dialog-head .hm-kicker { margin: 0 0 8px; color: #60a5fa; }
.hm-upload-dialog-head h2 { margin: 0; color: #fff; font-size: clamp(32px, 5vw, 54px); letter-spacing: -.055em; line-height: .94; text-shadow: 0 0 22px rgba(59,130,246,.18); }
.hm-upload-dialog-head > div > p:last-child { margin: 12px 0 0; color: rgba(255,255,255,.58); font-size: 13px; }

.hm-upload-dialog .hm-upload-steps {
  display: flex;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hm-upload-dialog .hm-upload-steps li {
  display: grid;
  grid-template-columns: 22px auto;
  min-height: 0;
  align-items: center;
  gap: 5px;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 999px;
  color: rgba(255,255,255,.42);
  background: rgba(3,7,18,.55);
  backdrop-filter: blur(12px);
  transform: none;
}

.hm-upload-dialog .hm-upload-steps li.is-active {
  border-color: rgba(96,165,250,.72);
  color: #fff;
  background: linear-gradient(90deg, rgba(59,130,246,.28), rgba(168,85,247,.2));
  box-shadow: 0 0 24px rgba(59,130,246,.14);
  transform: none;
}

.hm-upload-dialog .hm-upload-steps b { color: #60a5fa; font-size: 11px; }
.hm-upload-dialog .hm-upload-steps span { font-size: 11px; font-weight: 750; }

.hm-upload-dialog .hm-upload-card,
.hm-upload-dialog .hm-upload-success {
  margin: 0;
  padding: 28px 34px 34px;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}

.hm-upload-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr);
  gap: 24px;
  align-items: stretch;
}

.hm-upload-dialog .hm-upload-drop {
  position: relative;
  display: grid;
  min-height: 330px;
  margin: 0;
  place-items: center;
  overflow: hidden;
  border: 1px dashed rgba(96,165,250,.58);
  border-radius: 19px;
  cursor: pointer;
  background:
    radial-gradient(circle at 50% 42%, rgba(59,130,246,.2), transparent 45%),
    rgba(3,7,18,.74);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.hm-upload-dialog .hm-upload-drop:hover,
.hm-upload-dialog .hm-upload-drop.is-dragging { border-color: #60a5fa; box-shadow: inset 0 0 50px rgba(59,130,246,.15), 0 0 28px rgba(59,130,246,.1); transform: translateY(-2px); }
.hm-upload-dialog .hm-upload-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.hm-upload-dialog .hm-upload-drop-copy { position: relative; z-index: 2; display: grid; gap: 8px; padding: 24px; color: #fff; text-align: center; }
.hm-upload-dialog .hm-upload-drop-copy b { font-size: 17px; }
.hm-upload-dialog .hm-upload-drop-copy small { color: rgba(255,255,255,.5); font-size: 12px; }
.hm-upload-dialog .hm-upload-drop img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: cover; background: #030712; }
.hm-upload-dialog .hm-upload-drop.has-preview::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(3,7,18,.9)); pointer-events: none; }
.hm-upload-dialog .hm-upload-drop.has-preview .hm-upload-drop-copy { display: none; }
.hm-upload-dialog .hm-upload-file-name { position: absolute; z-index: 3; right: 14px; bottom: 14px; left: 14px; overflow: hidden; padding: 9px 11px; border-radius: 10px; color: #fff; background: rgba(3,7,18,.8); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; backdrop-filter: blur(10px); }

.hm-upload-fields { display: flex; min-width: 0; flex-direction: column; }
.hm-upload-dialog .hm-upload-field { display: grid; gap: 9px; margin: 0 0 20px; }
.hm-upload-dialog .hm-upload-field > span,
.hm-upload-dialog .hm-upload-code-field > span { color: #fff; font-size: 12px; font-weight: 800; }
.hm-upload-dialog .hm-upload-field input,
.hm-upload-dialog .hm-upload-field textarea,
.hm-upload-dialog .hm-upload-code-field input { width: 100%; border: 1px solid rgba(255,255,255,.16); border-radius: 13px; outline: 0; color: #fff; background: rgba(3,7,18,.72); }
.hm-upload-dialog .hm-upload-field input { min-height: 54px; padding: 0 15px; font-size: 15px; }
.hm-upload-dialog .hm-upload-field textarea { min-height: 86px; resize: vertical; padding: 13px 15px; font: inherit; font-size: 14px; line-height: 1.5; }
.hm-upload-dialog .hm-upload-field > span em { margin-left: 5px; color: rgba(255,255,255,.4); font-size: 10px; font-style: normal; font-weight: 600; }
.hm-upload-dialog .hm-upload-field input:focus,
.hm-upload-dialog .hm-upload-field textarea:focus,
.hm-upload-dialog .hm-upload-code-field input:focus { border-color: #60a5fa; box-shadow: 0 0 0 4px rgba(59,130,246,.12); }
.hm-upload-dialog .hm-upload-field small { color: rgba(255,255,255,.46); font-size: 11px; }

.hm-upload-dialog .hm-upload-consent { display: grid; grid-template-columns: 20px 1fr; gap: 11px; align-items: start; margin: 0 0 20px; color: rgba(255,255,255,.62); font-size: 11px; line-height: 1.55; }
.hm-upload-dialog .hm-upload-consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: #3b82f6; }
.hm-upload-dialog .hm-upload-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.hm-upload-dialog .hm-upload-submit { display: flex; width: 100%; min-height: 54px; align-items: center; justify-content: space-between; margin-top: auto; padding: 0 18px; border: 0; border-radius: 13px; color: #fff; background: linear-gradient(90deg, #3b82f6, #a855f7 72%, #ec4899 130%); font-size: 13px; font-weight: 800; cursor: pointer; box-shadow: 0 14px 34px rgba(59,130,246,.18); }
.hm-upload-dialog .hm-upload-submit i { position: relative; width: 28px; height: 1px; background: currentColor; }
.hm-upload-dialog .hm-upload-submit i::after { content: ""; position: absolute; top: -4px; right: 0; width: 8px; height: 8px; border-top: 1px solid; border-right: 1px solid; transform: rotate(45deg); }
.hm-upload-dialog .hm-upload-submit:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(168,85,247,.24); }
.hm-upload-dialog .hm-upload-submit:disabled { opacity: .55; cursor: wait; transform: none; }
.hm-upload-dialog .hm-upload-status { margin: 0 0 14px; padding: 10px 12px; border: 0; border-radius: 10px; color: #fff; background: rgba(236,72,153,.14); font-size: 11px; }

.hm-upload-dialog .hm-upload-code-card { width: min(620px, 100%); margin: 0 auto; padding-top: 34px; }
.hm-upload-dialog .hm-upload-card-head { display: flex; align-items: start; justify-content: space-between; gap: 20px; margin: 0 0 22px; }
.hm-upload-dialog .hm-upload-card-head small,
.hm-upload-dialog .hm-upload-success > small { color: #60a5fa; font-size: 10px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.hm-upload-dialog .hm-upload-card-head h3,
.hm-upload-dialog .hm-upload-success h3 { margin: 7px 0 0; font-size: clamp(28px, 4vw, 42px); letter-spacing: -.045em; line-height: 1; }
.hm-upload-dialog .hm-upload-card-head > span { color: rgba(255,255,255,.48); font-size: 11px; text-align: right; }
.hm-upload-dialog .hm-upload-code-intro { margin: 0; color: rgba(255,255,255,.62); font-size: 13px; line-height: 1.6; }
.hm-upload-dialog .hm-upload-code-intro strong { color: #60a5fa; }
.hm-upload-dialog .hm-upload-code-field { display: grid; gap: 9px; margin: 24px 0 18px; }
.hm-upload-dialog .hm-upload-code-field input { min-height: 92px; padding: 0 18px; font-size: clamp(42px, 8vw, 64px); font-weight: 800; letter-spacing: .24em; text-align: center; font-variant-numeric: tabular-nums; }
.hm-upload-dialog .hm-upload-back { width: 100%; margin-top: 10px; padding: 10px; border: 0; color: rgba(255,255,255,.52); background: transparent; font-size: 11px; cursor: pointer; text-decoration: underline; }

.hm-upload-dialog .hm-upload-success { padding: 48px 34px 50px; text-align: center; }
.hm-upload-dialog .hm-upload-success p { max-width: 460px; margin: 15px auto 0; color: rgba(255,255,255,.6); font-size: 13px; }
.hm-upload-dialog .hm-upload-success .hm-cta { display: inline-flex; margin-top: 24px; }

@media (max-width: 760px) {
  .hm-upload-dialog { width: calc(100% - 18px); max-height: calc(100dvh - 18px); border-radius: 20px; }
  .hm-upload-dialog-head { grid-template-columns: 1fr; gap: 18px; padding: 58px 20px 20px; }
  .hm-upload-dialog-head h2 { font-size: 38px; }
  .hm-upload-dialog-head > div > p:last-child { line-height: 1.45; }
  .hm-upload-dialog .hm-upload-steps { width: 100%; }
  .hm-upload-dialog .hm-upload-steps li { flex: 1; justify-content: center; }
  .hm-upload-dialog .hm-upload-card,
  .hm-upload-dialog .hm-upload-success { padding: 20px; }
  .hm-upload-form-grid { grid-template-columns: 1fr; }
  .hm-upload-dialog .hm-upload-drop { min-height: 220px; }
  .hm-upload-dialog .hm-upload-card-head { display: grid; }
  .hm-upload-dialog .hm-upload-card-head > span { text-align: left; }
}

.hm-clan-upload-dialog { width:min(980px, calc(100% - 32px)); }
.hm-clan-upload-dialog .hm-upload-form-grid { grid-template-columns:minmax(280px,1.1fr) minmax(260px,.9fr); }
.hm-clan-upload-dialog .hm-upload-drop { min-height:300px; }
.hm-clan-upload-dialog .hm-upload-submit { margin-top:auto; }
.hm-clan-upload-dialog [data-clan-upload-help] { margin-top:12px; color:rgba(255,255,255,.58); font-size:12px; }
.hm-clan-upload-dialog [data-clan-file-rule] { color:rgba(255,255,255,.58); font-size:11px; }
.hm-clan-upload-dialog [data-clan-preview] { object-fit:contain; }
@media (max-width:760px) {
  .hm-clan-upload-dialog .hm-upload-form-grid { grid-template-columns:1fr; }
  .hm-clan-upload-dialog .hm-upload-drop { min-height:220px; }
}

@media (prefers-reduced-motion: reduce) {
  .hm-upload-dialog .hm-upload-close,
  .hm-upload-dialog .hm-upload-drop,
  .hm-upload-dialog .hm-upload-submit { transition: none; }
}

/* Published events managed from HyMonitor. */
.hm-event-feed-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 24px; }
.hm-event-feed-list .hm-published-event {
  display: grid; position: relative;
  grid-template-columns: 1fr;
  gap: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(96,165,250,.2); border-radius: 24px;
  background: linear-gradient(155deg, rgba(18,31,58,.92), rgba(4,9,23,.96));
  box-shadow: 0 28px 80px rgba(0,0,0,.2);
  background-clip: padding-box;
}
.hm-event-feed-list .hm-published-event:has(.hm-event-open[aria-expanded="true"]) { grid-column: 1 / -1; grid-template-columns: minmax(280px, 36%) minmax(0,1fr); }

.hm-published-event-media {
  min-height: 260px;
  overflow: hidden;
  border-bottom: 1px solid rgba(148, 163, 184, .16);
}

.hm-published-event-media img {
  width: 100%;
  height: 100%; min-height: 260px;
  object-fit: cover;
}

.hm-published-event-copy {
  display: grid;
  gap: 18px;
  align-content: start;
  min-width: 0;
  padding: clamp(24px, 3vw, 38px);
}

.hm-published-event-copy > header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.hm-published-event-copy > header small {
  color: #60a5fa;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hm-published-event-copy > header time,
.hm-published-event-end {
  color: #94a3b8;
  font-size: .82rem;
}

.hm-published-event-copy > h3 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 3.25rem);
  line-height: 1;
}

.hm-published-event-summary {
  max-width: 70ch;
  margin: 0;
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.7;
}
.hm-event-open { display:flex; align-items:center; justify-content:space-between; width:100%; margin-top:4px; padding:14px 16px; border:1px solid rgba(96,165,250,.3); border-radius:12px; color:#f8fafc; background:rgba(37,99,235,.13); font-weight:800; cursor:pointer; }
.hm-event-open:hover { border-color:rgba(103,232,249,.65); background:rgba(37,99,235,.25); }
.hm-event-open span { color:#67e8f9; font-size:1.2rem; }
.hm-event-expanded { display:grid; gap:18px; }
.hm-event-expanded[hidden] { display:none; }
.hm-event-prize-categories { display:grid; gap:16px; padding:22px; border:1px solid rgba(96,165,250,.22); border-radius:18px; background:linear-gradient(145deg,rgba(30,64,175,.14),rgba(2,6,23,.55)); }
.hm-event-prize-categories > header span { color:#67e8f9; font-size:.68rem; font-weight:900; letter-spacing:.13em; text-transform:uppercase; }
.hm-event-prize-categories > header h4 { margin:4px 0 0; color:#fff; font-size:clamp(1.25rem,3vw,1.8rem); }
.hm-event-feed-list .hm-event-prize-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); gap:12px; }
.hm-event-feed-list .hm-event-prize-grid > article { display:block; padding:17px; border:1px solid rgba(148,163,184,.15); border-radius:14px; background:rgba(7,14,31,.72); }
.hm-event-prize-grid > article > span { color:#93c5fd; font-weight:900; }
.hm-event-prize-grid p { margin:5px 0 12px; color:#67e8f9; font-size:.8rem; }
.hm-event-prize-grid ul { display:grid; gap:8px; margin:12px 0 0; padding:0; list-style:none; }
.hm-event-prize-grid li { display:flex; justify-content:space-between; gap:12px; color:#e2e8f0; }
.hm-event-prize-grid small { color:#94a3b8; }

.hm-published-event-details {
  border-top: 1px solid rgba(148, 163, 184, .2);
  border-bottom: 1px solid rgba(148, 163, 184, .2);
}

.hm-published-event-details > summary {
  padding: 14px 0;
  color: #f8fafc;
  font-weight: 800;
  cursor: pointer;
}

.hm-published-event-body {
  padding: 4px 0 20px;
  color: #cbd5e1;
  line-height: 1.7;
}

.hm-published-event-body :where(h2, h3, p, ul, ol, table, blockquote) {
  margin: 0 0 16px;
}

.hm-published-event-body :where(ul, ol) {
  padding-left: 1.4em;
}

.hm-published-event-body table {
  width: 100%;
  border-collapse: collapse;
}

.hm-published-event-body :where(th, td) {
  padding: 10px 12px;
  border: 1px solid rgba(148, 163, 184, .25);
  text-align: left;
}

.hm-published-event-body a {
  color: #60a5fa;
}

.hm-published-event-rewards {
  padding: 16px;
  border: 1px solid rgba(96, 165, 250, .3);
  background: rgba(30, 64, 175, .12);
}

.hm-published-event-rewards strong {
  display: block;
  margin-bottom: 8px;
  color: #93c5fd;
}

.hm-published-event-rewards p {
  margin: 0;
  color: #dbeafe;
  white-space: pre-line;
}

.hm-tournament {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 3vw, 30px);
  overflow: hidden;
  border: 1px solid rgba(96, 165, 250, .28);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(15, 23, 42, .96), rgba(8, 17, 33, .9));
  box-shadow: inset 0 1px rgba(255, 255, 255, .035);
}
.hm-tournament > header { display: flex; gap: 12px; align-items: baseline; }
.hm-tournament > header span { color: #60a5fa; font-size: .7rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.hm-tournament > header h4 { margin: 0; color: #f8fafc; font-size: clamp(1.2rem, 3vw, 1.8rem); }
.hm-tournament-scroll { overflow-x: auto; padding: 4px 2px 14px; scrollbar-color: rgba(96,165,250,.45) transparent; }
.hm-tournament-grid { display: grid; grid-template-columns: repeat(var(--hm-bracket-rounds), minmax(220px, 1fr)); gap: 34px; min-width: calc(var(--hm-bracket-rounds) * 220px + (var(--hm-bracket-rounds) - 1) * 34px); }
.hm-tournament-round { display: grid; min-width: 0; }
.hm-tournament-round > h5 { margin: 0 0 12px; color: #93c5fd; font-size: .72rem; letter-spacing: .11em; text-transform: uppercase; }
.hm-tournament-matches { display: flex; flex-direction: column; justify-content: space-around; gap: 18px; }
.hm-tournament-match { position: relative; display: grid; gap: 6px; padding: 10px; border: 1px solid rgba(148,163,184,.16); border-radius: 12px; background: rgba(2,6,23,.62); }
.hm-tournament-match::after { content: ""; position: absolute; top: 50%; right: -35px; width: 34px; border-top: 1px solid rgba(96,165,250,.3); }
.hm-tournament-round:last-child .hm-tournament-match::after { display: none; }
.hm-tournament-match > small { padding: 0 4px 2px; color: #64748b; font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; }
.hm-tournament-player { display: flex; justify-content: space-between; gap: 8px; align-items: center; min-height: 39px; padding: 9px 10px; border: 1px solid rgba(148,163,184,.13); border-radius: 8px; color: #cbd5e1; background: rgba(15,23,42,.88); }
.hm-tournament-player span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-tournament-player b { flex: none; color: #67e8f9; font-size: .58rem; letter-spacing: .07em; text-transform: uppercase; }
.hm-tournament-player.is-winner { border-color: rgba(34,211,238,.48); color: #fff; background: linear-gradient(90deg, rgba(8,145,178,.23), rgba(37,99,235,.15)); box-shadow: 0 0 22px rgba(34,211,238,.07); }

@media (max-width: 760px) {
  .hm-event-feed-list .hm-published-event {
    grid-template-columns: 1fr;
  }
  .hm-event-feed-list .hm-published-event:has(.hm-event-open[aria-expanded="true"]) { grid-template-columns:1fr; }

  .hm-published-event-media {
    min-height: 220px;
    max-height: 360px;
    border-right: 0;
    border-bottom: 1px solid rgba(148, 163, 184, .2);
  }

  .hm-published-event-copy > header {
    align-items: flex-start;
    flex-direction: column;
  }
  .hm-tournament { padding: 18px 14px; }
  .hm-tournament-grid { grid-template-columns: repeat(var(--hm-bracket-rounds), 210px); min-width: calc(var(--hm-bracket-rounds) * 210px + (var(--hm-bracket-rounds) - 1) * 26px); gap: 26px; }
  .hm-tournament-match::after { right: -27px; width: 26px; }
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --ink: #050914;
  --paper: #ffffff;
  --muted: #9ba9c2;
  --line: rgba(125, 178, 255, .2);
  --cyan: #3b82f6;
  --blue: #2563eb;
  --gold: #7db2ff;
  --header: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-snap-type: y proximity; background: var(--ink); }
html.hm-html-subpage { scroll-snap-type: none; }
body.hm-next {
  margin: 0;
  min-width: 320px;
  color: var(--paper);
  background: var(--ink);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.hm-next.admin-bar .hm-topbar { top: 32px; }
body.hm-next button, body.hm-next a { font: inherit; }
body.hm-next a { color: inherit; text-decoration: none; }
body.hm-next button { color: inherit; }
body.hm-next ::selection { color: #08111f; background: var(--cyan); }

/* Mouse clicks must not leave the browser's native dotted focus ring behind.
   Keyboard navigation keeps a consistent, accessible focus indicator. */
:where(body.hm-next) :where(a, button, input, select, textarea, summary, [tabindex]):focus:not(:focus-visible) {
  outline: none;
}
:where(body.hm-next) :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid #60a5fa;
  outline-offset: 3px;
}

/* Keep card artwork inside the border. Transparent borders otherwise blend
   with the image beneath them and turn into a multicoloured outer rim. */
:where(body.hm-next) :where(
  [class*="-card"],
  .hm-daily-event,
  .hm-wiki-entry,
  .hm-player-champion,
  .hm-clan-showcase,
  .hm-shot,
  .hm-world-system-grid > a,
  .hm-event-feed-list article,
  .hm-rule-card,
  .hm-info-route-grid > *,
  .hm-resource-strip a,
  .hm-skill-timeline li,
  .hm-attribute-grid article,
  .hm-support-aside > article
) {
  background-clip: padding-box;
}

.hm-topbar {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header);
  display: grid;
  grid-template-columns: minmax(170px, .8fr) auto minmax(220px, .8fr);
  align-items: center;
  gap: 36px;
  padding: 0 clamp(24px, 4vw, 72px);
  border-bottom: 1px solid rgba(125,178,255,.12);
  background: rgba(5,9,20,.88);
  backdrop-filter: blur(12px);
}
.hm-logo { align-self: stretch; display: flex; width: 168px; height: 100%; align-items: center; justify-content: center; overflow: visible; }
.hm-logo img { display: block; width: 168px; height: auto; filter: drop-shadow(0 5px 14px rgba(0, 0, 0, .35)); }
.hm-topbar nav { display: flex; align-items: center; gap: clamp(20px, 2.2vw, 42px); }
.hm-topbar nav a {
  position: relative;
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .2s ease;
}
.hm-topbar nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -10px; height: 2px; background: var(--blue); transition: right .25s ease; }
.hm-topbar nav a:hover { color: #fff; }
.hm-topbar nav a:hover::after { right: 0; }
.hm-topbar nav a.is-current { color: #fff; }
.hm-topbar nav a.is-current::after { right: 0; }
.hm-top-actions { justify-self: end; display: flex; align-items: center; gap: 22px; }
.hm-online { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.65); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.hm-online i { width: 7px; height: 7px; border-radius: 50%; background: #61f5a4; box-shadow: 0 0 16px #61f5a4; }
.hm-online b { color: #fff; }
.hm-top-play {
  border: 0;
  padding: 13px 24px 14px;
  background: var(--blue);
  color: #fff !important;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 13px;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.hm-top-play:hover { background: #3b82f6; transform: translateY(-2px); }
.hm-menu-button { display: none; }

.hm-screen-nav { position: fixed; z-index: 80; right: clamp(18px, 2vw, 38px); top: 50%; display: grid; gap: 13px; transform: translateY(-50%); }
.hm-screen-nav a { position: relative; width: 6px; height: 6px; border-radius: 50%; background: rgba(237,243,239,.32); transition: width .25s, background .25s; }
.hm-screen-nav a span { position: absolute; right: 0; top: -19px; opacity: 0; color: #fff; font-size: 9px; font-weight: 800; transition: opacity .25s; }
.hm-screen-nav a.is-active { width: 28px; border-radius: 8px; background: var(--blue); }
.hm-screen-nav a.is-active span { opacity: 1; }

.hm-screen {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  scroll-snap-align: start;
  isolation: isolate;
}
.hm-cover, .hm-start { background-color: var(--ink); background-image: var(--hm-screen-image); background-size: cover; background-position: center 36%; }
.hm-screen-shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(5,9,20,.96) 0%, rgba(5,9,20,.83) 35%, rgba(5,9,20,.16) 70%, rgba(5,9,20,.3) 100%), linear-gradient(0deg, rgba(5,9,20,.84), transparent 45%); }
.hm-cover::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(circle at 72% 55%, rgba(59,130,246,.16), transparent 34%); mix-blend-mode: screen; }
.hm-cover::after { content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); opacity: .4; }

.hm-cover-content {
  width: min(760px, 52vw);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header) + 58px) 0 76px clamp(28px, 7vw, 132px);
}
.hm-kicker { margin: 0 0 20px; color: #7db2ff; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hm-cover h1, .hm-experience h2, .hm-start h2 {
  margin: 0;
  color: var(--paper) !important;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -.045em;
  text-transform: uppercase;
  line-height: 1.02;
}
.hm-cover h1 { font-size: clamp(48px, 5.4vw, 96px); max-width: 880px; text-wrap: balance; }
.hm-cover h1 span { color: #60a5fa; text-shadow: 0 8px 42px rgba(37,99,235,.26); }
.hm-lead { max-width: 630px; margin: 30px 0 0; color: rgba(255,255,255,.7); font-size: clamp(16px, 1.15vw, 20px); line-height: 1.55; }
.hm-cover-actions, .hm-start-actions { display: flex; gap: 13px; margin-top: 35px; }
.hm-cta { min-width: 178px; display: inline-flex; justify-content: center; align-items: center; gap: 10px; padding: 17px 25px 18px; border: 1px solid var(--line); border-radius: 15px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; transition: transform .3s ease, background .3s ease, color .3s ease, border-color .3s ease; }
.hm-cta:hover { transform: translateY(-3px); }
.hm-cta-primary { color: #fff !important; border-color: #3b82f6; background: #2563eb; box-shadow: 0 16px 50px rgba(37,99,235,.24); }
.hm-cta-primary:hover { background: #fff; border-color: #fff; }
.hm-cta-ghost { background: rgba(6,9,17,.42); backdrop-filter: blur(8px); }
.hm-cta-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.hm-proof { display: flex; gap: 0; margin-top: 52px; }
.hm-proof span { min-width: 190px; padding: 0 28px; border-left: 1px solid var(--line); color: rgba(255,255,255,.5); font-size: 11px; line-height: 1.35; letter-spacing: .04em; }
.hm-proof span:first-child { padding-left: 0; border-left: 0; }
.hm-proof b { display: block; margin-bottom: 6px; color: #fff; font-size: 15px; letter-spacing: -.01em; }
.hm-scroll-cue { position: absolute; right: clamp(60px, 8vw, 150px); bottom: 42px; display: flex; align-items: center; gap: 15px; color: rgba(255,255,255,.5); font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hm-scroll-cue i { position: relative; display: block; width: 1px; height: 54px; overflow: hidden; background: rgba(255,255,255,.18); }
.hm-scroll-cue i::after { content: ""; position: absolute; inset: -100% 0 100%; background: #fff; animation: hm-scroll 2.2s infinite; }
@keyframes hm-scroll { 0% { transform: translateY(0); } 100% { transform: translateY(200%); } }

.hm-experience { display: grid; grid-template-rows: auto minmax(380px, 1fr) auto; gap: clamp(18px, 2.5vh, 28px); padding: calc(var(--header) + 26px) clamp(30px, 5vw, 92px) 32px; background: radial-gradient(circle at 80% 15%, rgba(37,99,235,.1), transparent 28%), var(--ink); }
.hm-experience::before { content: "02"; position: absolute; z-index: -1; top: 4%; right: 6%; color: rgba(125,178,255,.025); font: 800 clamp(220px, 31vw, 540px)/.9 "Inter", sans-serif; }
.hm-experience-head { display: grid; grid-template-columns: 1.3fr .7fr; gap: 60px; align-items: end; }
.hm-experience-head .hm-kicker { margin-bottom: 11px; }
.hm-experience h2 { font-size: clamp(38px, 4vw, 66px); }
.hm-experience-head > p { max-width: 520px; margin: 0 25px 4px auto; color: var(--muted); line-height: 1.55; font-size: 15px; }
.hm-class-reel { min-height: 0; display: flex; gap: 10px; }
.hm-class {
  position: relative;
  isolation: isolate;
  flex: .7 1 0;
  min-width: 0;
  overflow: clip;
  padding: 0;
  border: 1px solid rgba(125,178,255,.18);
  border-radius: 24px;
  color: #fff;
  background-color: #050914;
  background-image: var(--hm-class-image);
  background-clip: padding-box;
  background-size: cover;
  background-position: center 22%;
  cursor: pointer;
  text-align: left;
  filter: saturate(.58) brightness(.68);
  transition: flex .7s cubic-bezier(.2,.75,.15,1), filter .45s ease, transform .45s ease, border-color .35s ease, box-shadow .35s ease;
}
.hm-class::before { content: ""; position: absolute; z-index: 1; inset: 0; border-radius: calc(24px - 1px); background: linear-gradient(0deg, rgba(3,5,11,1) 0%, rgba(3,5,11,.98) 18%, rgba(3,5,11,.72) 38%, rgba(3,5,11,0) 72%), linear-gradient(90deg, rgba(3,5,11,.3), transparent); pointer-events: none; }
.hm-class::after { content: ""; position: absolute; z-index: 3; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .35s ease; pointer-events: none; }
.hm-class.is-active { flex: 3.2 1 0; border-color: rgba(59,130,246,.8); box-shadow: 0 18px 55px rgba(37,99,235,.12); filter: saturate(.92) brightness(.96); transform: translateY(-4px); }
.hm-class.is-active::after { box-shadow: inset 0 0 0 1px rgba(59,130,246,.32); }
.hm-class:focus-visible { outline: 2px solid #7db2ff; outline-offset: 4px; }
.hm-class-index { position: absolute; z-index: 2; top: 20px; left: 20px; color: var(--cyan); font-size: 11px; font-weight: 900; letter-spacing: .16em; }
.hm-class-copy { position: absolute; z-index: 2; right: 22px; bottom: 22px; left: 22px; display: flex; flex-direction: column; align-items: flex-start; }
.hm-class-copy small { color: var(--cyan); font-size: 10px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.hm-class-copy strong { margin-top: 9px; font-family: "Inter", sans-serif; font-size: clamp(22px, 2.2vw, 40px); font-weight: 800; letter-spacing: -.04em; line-height: 1.04; text-transform: uppercase; white-space: nowrap; }
.hm-class-copy > span { max-width: 480px; max-height: 0; margin-top: 0; overflow: hidden; opacity: 0; color: rgba(255,255,255,.68); font-size: 13px; line-height: 1.45; transition: max-height .4s .15s, opacity .4s .15s, margin .4s .15s; }
.hm-class.is-active .hm-class-copy > span { max-height: 70px; margin-top: 10px; opacity: 1; }
.hm-feature-line { display: flex; justify-content: space-between; gap: 24px; padding-top: 20px; border-top: 1px solid var(--line); color: rgba(255,255,255,.56); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hm-feature-line span::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 10px 1px 0; border-radius: 50%; background: var(--blue); }

.hm-start { background-position: 69% 25%; }
.hm-start .hm-screen-shade { background: linear-gradient(90deg, rgba(5,9,20,.98) 0%, rgba(5,9,20,.91) 43%, rgba(5,9,20,.28) 69%, rgba(5,9,20,.52) 100%), linear-gradient(0deg, rgba(5,9,20,.92), transparent 39%); }
.hm-start::before { content: ""; position: absolute; z-index: -1; width: 54vw; height: 54vw; right: -10vw; top: 4vh; border: 1px solid rgba(59,130,246,.18); border-radius: 50%; box-shadow: inset 0 0 100px rgba(59,130,246,.1), 0 0 130px rgba(37,99,235,.08); }
.hm-start-content { min-height: calc(100svh - 82px); display: grid; grid-template-columns: minmax(350px, .9fr) minmax(380px, .7fr); align-content: center; gap: clamp(50px, 8vw, 150px); width: min(1320px, calc(100% - 120px)); margin: 0 auto; padding: calc(var(--header) + 38px) 0 75px; }
.hm-start-title { align-self: center; }
.hm-start h2 { font-size: clamp(48px, 5vw, 82px); }
.hm-start-title > p:last-child { max-width: 500px; margin: 27px 0 0; color: rgba(255,255,255,.64); font-size: 16px; line-height: 1.6; }
.hm-start-steps { align-self: center; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.hm-start-steps li { display: grid; grid-template-columns: 54px 1fr; gap: 22px; margin-top: 10px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 18px; background: rgba(8,18,40,.48); backdrop-filter: blur(12px); }
.hm-start-steps li:last-child { border-bottom: 1px solid var(--line); }
.hm-start-steps li > span { padding-top: 3px; color: var(--cyan); font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.hm-start-steps strong { display: block; font-size: 18px; text-transform: uppercase; letter-spacing: .03em; }
.hm-start-steps p { margin: 6px 0 0; color: rgba(255,255,255,.55); font-size: 13px; }
.hm-start-steps button { margin-top: 9px; padding: 0; border: 0; border-bottom: 1px dashed rgba(103,221,255,.7); background: none; color: var(--cyan); font-family: "Cascadia Code", Consolas, monospace; font-size: 14px; cursor: pointer; }
.hm-start-actions { grid-column: 2; margin-top: -24px; }
.hm-footer { position: relative; z-index: 2; border-top: 1px solid rgba(125,178,255,.2); background: #05070c; }
.hm-footer-inner { width: min(1600px, calc(100% - 96px)); min-height: 270px; display: grid; grid-template-columns: minmax(250px, 1.35fr) .72fr 1.12fr .72fr minmax(230px, .95fr); gap: clamp(34px, 4vw, 76px); align-items: start; margin: 0 auto; padding: 56px 0 48px; }
.hm-footer-brand img { width: 156px; height: auto; }
.hm-footer-brand p { max-width: 310px; margin: 18px 0 23px; color: rgba(255,255,255,.45); font-size: 12px; line-height: 1.55; }
.hm-footer-brand span { color: rgba(255,255,255,.28); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.hm-footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.hm-footer-column h3, .hm-footer-server > p { margin: 0 0 6px; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.hm-footer-column a { color: rgba(255,255,255,.55); font-size: 12px; line-height: 1.45; transition: color .2s ease; }
.hm-footer-column a:hover { color: #60a5fa; }
.hm-footer-server { justify-self: stretch; }
.hm-footer-server-controls { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.hm-footer-server button { min-height: 36px; display: flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid rgba(255,255,255,.09); border-radius: 999px; background: rgba(255,255,255,.035); color: #fff; cursor: pointer; text-align: left; box-shadow: inset 0 1px rgba(255,255,255,.04); transition: border-color .25s ease, background .25s ease, transform .25s ease; }
.hm-footer-server button:hover { border-color: rgba(0,240,255,.42); background: linear-gradient(90deg, rgba(47,128,237,.14), rgba(93,52,208,.09)); transform: translateY(-2px); }
.hm-footer-server button:focus-visible { outline: 2px solid #00f0ff; outline-offset: 4px; }
.hm-footer-server button.is-copied { border-color: rgba(0,240,255,.65); }
.hm-footer-server-icon, .hm-footer-server-action { display: grid; place-items: center; }
.hm-footer-server-icon { width: 22px; height: 22px; color: #60a5fa; }
.hm-footer-server-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hm-footer-server-copy { display: flex; min-width: 0; align-items: baseline; gap: 8px; }
.hm-footer-server-copy strong { color: #fff; font: 800 11px/1.2 "Cascadia Code", Consolas, monospace; white-space: nowrap; }
.hm-footer-server-copy small { color: rgba(255,255,255,.43); font-size: 9px; font-weight: 700; }
.hm-footer-server-action { width: 18px; height: 18px; color: #00f0ff; transition: color .25s ease, transform .3s cubic-bezier(.2,.9,.2,1); }
.hm-footer-server-action svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hm-footer-server button:hover .hm-footer-server-action { color: #fff; transform: scale(1.08); }
.hm-footer-server-status { width: max-content; min-height: 36px; display: flex; align-items: center; gap: 7px; padding: 7px 11px; border: 1px solid rgba(255,255,255,.09); border-radius: 999px; background: rgba(255,255,255,.035); color: rgba(255,255,255,.5); font-size: 10px; }
.hm-footer-server-status i { width: 6px; height: 6px; border-radius: 50%; background: #00f0ff; box-shadow: 0 0 12px rgba(0,240,255,.8); }
.hm-footer-server-status b { color: #fff; }
.hm-footer-founded { width: min(1600px, calc(100% - 96px)); display: flex; align-items: center; justify-content: space-between; margin: 0 auto; padding: 16px 0 20px; border-top: 1px solid rgba(125,178,255,.12); color: rgba(255,255,255,.28); font-size: 9px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hm-footer-founded strong { color: rgba(125,178,255,.56); font-weight: 800; }
.hm-footer-founded-mark { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; text-align: right; }
.hm-footer-founded-mark small { color: rgba(255,255,255,.28); font-size: 8px; font-weight: 800; letter-spacing: .14em; }

.hm-community-page {
  min-height: 100svh;
  padding: calc(var(--header) + 76px) clamp(28px, 5vw, 92px) 110px;
  background: var(--ink);
}
.hm-development-page {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 16%, rgba(93,52,208,.34), transparent 34%),
    radial-gradient(circle at 84% 18%, rgba(255,0,110,.2), transparent 30%),
    radial-gradient(circle at 64% 88%, rgba(0,240,255,.16), transparent 36%),
    #030611;
}
.hm-development-page::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(62vw, 980px);
  aspect-ratio: 1;
  border-radius: 48% 52% 64% 36%;
  background: conic-gradient(from 160deg, rgba(93,52,208,.26), rgba(255,0,110,.2), rgba(0,240,255,.22), rgba(93,52,208,.26));
  filter: blur(72px);
  opacity: .72;
  animation: hm-aurora-drift 12s ease-in-out infinite alternate;
}
.hm-development-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(1500px, 100%);
  min-height: min(720px, calc(100svh - var(--header) - 150px));
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .55fr);
  gap: clamp(42px, 7vw, 110px);
  align-items: end;
  padding: clamp(38px, 6vw, 84px);
  border: 1px solid rgba(125,178,255,.22);
  border-radius: 28px;
  background: #060916;
  box-shadow: 0 34px 110px rgba(0,0,0,.48), 0 0 80px rgba(93,52,208,.12);
}
.hm-development-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: var(--hm-development-image);
  background-position: 66% 42%;
  background-size: cover;
  filter: saturate(1.15) contrast(1.03);
  transform: scale(1.015);
}
.hm-development-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3,6,17,.96) 0%, rgba(3,6,17,.86) 42%, rgba(3,6,17,.28) 72%, rgba(3,6,17,.7) 100%),
    linear-gradient(0deg, rgba(3,6,17,.82), transparent 52%);
}
.hm-development-copy { max-width: 920px; }
.hm-development-badge {
  width: max-content;
  margin: 0 0 26px;
  padding: 11px 15px;
  border: 1px solid rgba(0,240,255,.44);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(93,52,208,.45), rgba(255,0,110,.28), rgba(0,240,255,.18));
  box-shadow: 0 0 28px rgba(0,240,255,.14);
  color: #fff;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hm-development-copy h1 {
  max-width: 980px;
  margin: 0;
  color: #fff;
  font-size: clamp(58px, 8.3vw, 132px);
  font-weight: 900;
  letter-spacing: -.075em;
  line-height: .84;
  text-shadow: 0 0 38px rgba(93,52,208,.38);
  text-transform: uppercase;
  text-wrap: balance;
}
.hm-development-copy > p:not(.hm-development-badge) {
  max-width: 650px;
  margin: 30px 0 0;
  color: rgba(255,255,255,.72);
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.7;
}
.hm-development-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hm-development-actions .hm-cta { border-radius: 999px; }
.hm-development-status {
  align-self: end;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(93,52,208,.32), rgba(6,9,22,.78) 58%, rgba(0,240,255,.1));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09), 0 22px 60px rgba(0,0,0,.28);
  backdrop-filter: blur(18px);
}
.hm-development-status > span {
  display: block;
  margin-bottom: 13px;
  color: #00f0ff;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(0,240,255,.7);
}
.hm-development-status strong { display: block; color: #fff; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.05; }
.hm-development-status p { margin: 16px 0 0; color: rgba(255,255,255,.62); font-size: 13px; line-height: 1.6; }

@media (max-width: 980px) {
  .hm-development-hero { grid-template-columns: 1fr; min-height: 680px; gap: 42px; }
  .hm-development-copy { align-self: end; }
  .hm-development-status { width: min(440px, 100%); }
  .hm-development-hero::before { background-position: 58% 42%; }
  .hm-development-hero::after { background: linear-gradient(0deg, rgba(3,6,17,.97) 0%, rgba(3,6,17,.78) 62%, rgba(3,6,17,.3) 100%); }
}

@media (max-width: 620px) {
  .hm-development-page { padding-right: 16px; padding-left: 16px; }
  .hm-development-hero { min-height: 650px; padding: 30px 22px 24px; border-radius: 20px; }
  .hm-development-badge { margin-bottom: 20px; font-size: 9px; }
  .hm-development-copy h1 { font-size: clamp(43px, 14.5vw, 68px); line-height: .88; }
  .hm-development-copy > p:not(.hm-development-badge) { margin-top: 22px; }
  .hm-development-actions { margin-top: 26px; }
  .hm-development-status { padding: 22px; border-radius: 17px; }
}
.hm-page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(1500px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .65fr);
  gap: 70px;
  align-items: end;
  margin: 0 auto 62px;
  padding: 54px 56px 55px;
  border: 1px solid var(--line);
  border-radius: 20px;
}
.hm-page-hero-media::before { content: ""; position: absolute; z-index: -2; inset: 0; background-image: var(--hm-page-image); background-position: 74% 45%; background-size: cover; opacity: .32; filter: saturate(.82) contrast(1.04); }
.hm-page-hero-media::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #050914 0%, rgba(5,9,20,.93) 42%, rgba(5,9,20,.4) 78%, rgba(5,9,20,.72) 100%); }
.hm-page-hero .hm-kicker { margin-bottom: 17px; }
.hm-page-hero h1 { margin: 0; font-size: clamp(52px, 6.2vw, 108px); font-weight: 800; letter-spacing: -.065em; line-height: .91; text-transform: uppercase; }
.hm-page-hero h1 span { color: #60a5fa; }
.hm-page-intro { align-self: end; padding-bottom: 5px; }
.hm-page-intro p { max-width: 540px; margin: 0; color: rgba(255,255,255,.68); font-size: 16px; line-height: 1.65; }
.hm-page-intro span { display: block; margin-top: 28px; color: #7db2ff; font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }

.hm-gallery { width: min(1500px, 100%); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0 auto; }
.hm-shot { min-width: 0; overflow: hidden; border: 1px solid rgba(125,178,255,.16); border-radius: 18px; background: #081020; }
.hm-shot-featured { grid-column: span 2; }
.hm-shot-open { display: block; width: 100%; padding: 0; overflow: hidden; border: 0; background: #030711; cursor: zoom-in; }
.hm-shot-open img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.2,1), filter .35s ease; }
.hm-shot-featured .hm-shot-open img { aspect-ratio: 16 / 7.65; }
.hm-shot-open:hover img { transform: scale(1.025); filter: brightness(1.06); }
.hm-shot-meta { display: flex; min-height: 76px; justify-content: space-between; align-items: center; gap: 20px; padding: 15px 17px 16px 20px; }
.hm-shot-meta div { min-width: 0; }
.hm-shot-meta small { display: block; margin-bottom: 5px; color: #60a5fa; font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hm-shot-meta strong { display: block; overflow: hidden; color: rgba(255,255,255,.72); font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.hm-shot-meta p { display: -webkit-box; overflow: hidden; margin: 8px 0 0; color: rgba(255,255,255,.58); font-size: 12px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.hm-like-button { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; min-width: 57px; justify-content: center; padding: 10px 12px; border: 1px solid rgba(125,178,255,.22); border-radius: 10px; background: rgba(255,255,255,.025); color: rgba(255,255,255,.7); cursor: pointer; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.hm-like-button svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: fill .18s ease, transform .18s ease; }
.hm-like-button span { font-size: 12px; font-weight: 800; }
.hm-like-button:hover { color: #fff; border-color: #60a5fa; }
.hm-like-button[aria-pressed=true] { color: #fff; border-color: #2563eb; background: #2563eb; }
.hm-like-button[aria-pressed=true] svg { fill: currentColor; transform: scale(1.06); }
.hm-local-note { width: min(1500px, 100%); margin: 28px auto 0; color: rgba(255,255,255,.42); font-size: 11px; line-height: 1.55; }

.hm-lightbox { width: min(1500px, calc(100vw - 72px)); max-width: none; max-height: calc(100svh - 72px); padding: 0; overflow: visible; border: 1px solid rgba(125,178,255,.3); background: #030711; box-shadow: 0 30px 100px rgba(0,0,0,.72); }
.hm-lightbox::backdrop { background: rgba(1,3,9,.88); backdrop-filter: blur(8px); }
.hm-lightbox img { display: block; width: 100%; max-height: calc(100svh - 74px); object-fit: contain; }
.hm-lightbox-description { position: absolute; right: 70px; bottom: 22px; left: 70px; z-index: 2; width: fit-content; max-width: min(720px, calc(100% - 140px)); margin: 0 auto; padding: 12px 16px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; color: #fff; background: rgba(3,7,18,.8); font-size: 13px; line-height: 1.5; text-align: center; backdrop-filter: blur(12px); }
.hm-lightbox-close { position: absolute; z-index: 2; top: -19px; right: -19px; display: grid; width: 42px; height: 42px; place-items: center; padding: 0; border: 1px solid rgba(125,178,255,.35); border-radius: 50%; background: #081020; color: #fff; cursor: pointer; }
.hm-lightbox-close svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.hm-lightbox > .hm-lightbox-nav { position: absolute; z-index: 2; top: 50%; display: grid; width: 54px; height: 86px; place-items: center; padding: 0; border: 0; background: transparent; color: rgba(255,255,255,.78); cursor: pointer; transform: translateY(-50%); transition: color .2s ease, opacity .2s ease; -webkit-tap-highlight-color: transparent; }
.hm-lightbox > .hm-lightbox-nav:hover { color: #fff; }
.hm-lightbox > .hm-lightbox-nav:focus-visible { outline: 1px solid rgba(0,240,255,.82); outline-offset: -9px; }
.hm-lightbox-prev { left: 4px; }
.hm-lightbox-next { right: 4px; }
.hm-lightbox-nav svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 2px 10px rgba(0,0,0,.9)); }

.hm-ranking, .hm-clan-ranking { width: min(1320px, 100%); margin: 0 auto; }
.hm-ranking-head { display: flex; justify-content: space-between; align-items: baseline; gap: 30px; margin-bottom: 12px; padding: 0 18px 18px; border-bottom: 1px solid var(--line); }
.hm-ranking-head h2 { margin: 0; font-size: 18px; letter-spacing: -.02em; text-transform: uppercase; }
.hm-ranking-head span { color: rgba(255,255,255,.42); font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.hm-rank-list { margin: 0; padding: 0; list-style: none; }
.hm-rank-list li { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 76px minmax(220px, 1fr) 150px 230px; gap: 26px; align-items: center; min-height: 94px; padding: 15px 20px; border-bottom: 1px solid rgba(125,178,255,.13); }
.hm-rank-list li::before { content: ""; position: absolute; z-index: -2; inset: 0 0 0 54%; background-image: linear-gradient(90deg, #050914, rgba(5,9,20,.38)), var(--hm-rank-image); background-position: center; background-size: cover; opacity: .13; filter: grayscale(.5); }
.hm-rank-list li::after { content: ""; position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; width: var(--hm-rank-progress); height: 2px; background: #3b82f6; opacity: .7; }
.hm-rank-list li.is-leading { min-height: 124px; background: rgba(37,99,235,.08); }
.hm-rank-list li:first-child { border-left: 3px solid #3b82f6; background: rgba(37,99,235,.14); }
.hm-rank-number { color: rgba(125,178,255,.45); font-size: 12px; font-weight: 900; letter-spacing: .14em; }
.is-leading .hm-rank-number { color: #60a5fa; font-size: 25px; letter-spacing: -.02em; }
.hm-rank-name strong { display: block; overflow-wrap: anywhere; font-size: clamp(18px, 2vw, 28px); letter-spacing: -.035em; }
.hm-rank-name span, .hm-player-level small, .hm-player-xp small { display: block; margin-top: 6px; color: rgba(255,255,255,.42); font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hm-player-level strong { display: block; color: #fff; font-size: 30px; letter-spacing: -.04em; }
.hm-player-xp { text-align: right; }
.hm-player-xp strong { display: block; color: rgba(255,255,255,.72); font-size: 14px; }

.hm-clan-list { display: grid; gap: 12px; }
.hm-clan-card { display: grid; grid-template-columns: 48px 88px minmax(280px, 1fr) minmax(260px, .55fr); gap: 24px; align-items: center; padding: 26px 28px; border: 1px solid rgba(125,178,255,.14); border-radius: 16px; background: #071020; }
.hm-clan-card.is-leading { background: #08142b; }
.hm-clan-card:first-child { border-color: rgba(59,130,246,.58); box-shadow: inset 3px 0 #3b82f6; }
.hm-clan-crest { display: grid; width: 82px; height: 82px; place-items: center; overflow: hidden; border: 1px solid rgba(125,178,255,.35); background: #0b1d3b; color: #7db2ff; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; clip-path: polygon(50% 0, 92% 17%, 86% 72%, 50% 100%, 14% 72%, 8% 17%); }
.hm-clan-main small { display: block; margin-bottom: 7px; color: #60a5fa; font-size: 9px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.hm-clan-main h2 { margin: 0; font-size: clamp(22px, 2.3vw, 34px); letter-spacing: -.04em; }
.hm-clan-main p { max-width: 680px; margin: 10px 0 0; color: rgba(255,255,255,.48); font-size: 12px; line-height: 1.5; }
.hm-clan-score { display: grid; grid-template-columns: 1fr 90px; gap: 20px; margin: 0; text-align: right; }
.hm-clan-score div { min-width: 0; }
.hm-clan-score dt, .hm-clan-stats dt { color: rgba(255,255,255,.4); font-size: 8px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hm-clan-score dd { margin: 7px 0 0; overflow: hidden; color: #fff; font-size: 21px; font-weight: 800; letter-spacing: -.03em; text-overflow: ellipsis; }
.hm-clan-details { grid-column: 3 / -1; border-top: 1px solid rgba(125,178,255,.12); }
.hm-clan-details summary { width: fit-content; padding-top: 17px; color: #7db2ff; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.hm-clan-details-body { padding: 24px 0 4px; }
.hm-clan-stats { display: grid; grid-template-columns: repeat(5, minmax(80px, 1fr)); gap: 12px; margin: 0; }
.hm-clan-stats div { padding: 14px 15px; border-left: 2px solid rgba(59,130,246,.5); background: rgba(255,255,255,.025); }
.hm-clan-stats dd { margin: 6px 0 0; font-size: 15px; font-weight: 800; }
.hm-clan-home { margin: 18px 0 0; color: rgba(255,255,255,.65); font: 600 12px/1.5 "Cascadia Code", Consolas, monospace; }
.hm-clan-home span { display: inline-block; margin-right: 15px; color: rgba(255,255,255,.35); font: 800 8px/1.5 "Inter", sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.hm-member-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; margin: 18px 0 0; padding: 0; list-style: none; }
.hm-member-list li { display: flex; min-width: 0; justify-content: space-between; gap: 10px; padding: 11px 12px; background: rgba(255,255,255,.025); }
.hm-member-list strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; }
.hm-member-list span { flex: 0 0 auto; color: rgba(255,255,255,.4); font-size: 9px; }

/* Rankings 1.4 — avatar and clan-media ready */
.hm-ranking-head { align-items: flex-end; margin-bottom: 22px; padding: 0 0 20px; }
.hm-ranking-head h2 { margin: 6px 0 0; font-size: clamp(25px, 3vw, 42px); letter-spacing: -.045em; }
.hm-ranking-head h2, .hm-player-champion-copy h2, .hm-clan-showcase-copy h2, .hm-clan-main h2, .hm-rank-name strong { color: #fff; }
.hm-ranking-head .hm-kicker { margin: 0; }
.hm-ranking-head-list { margin-top: 58px; }

.hm-player-podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: end; padding-top: 26px; }
.hm-player-champion { position: relative; isolation: isolate; overflow: hidden; min-height: 470px; padding: 30px; border: 1px solid rgba(255,255,255,.13); border-radius: 24px; background: #080724; box-shadow: 0 24px 65px rgba(0,0,0,.3); }
.hm-player-champion::before { content: ""; position: absolute; z-index: -2; inset: 0; background-image: linear-gradient(180deg, rgba(8,7,36,.08), rgba(8,7,36,.86) 47%, #080724 84%), var(--hm-player-scene); background-position: center; background-size: cover; opacity: .88; }
.hm-player-champion::after { content: ""; position: absolute; z-index: -1; width: 290px; height: 290px; top: 20%; left: 50%; border-radius: 50%; background: radial-gradient(circle, rgba(0,240,255,.24), rgba(93,52,208,.14) 46%, transparent 70%); filter: blur(8px); transform: translateX(-50%); }
.hm-player-champion.is-rank-1 { min-height: 525px; border-color: rgba(0,240,255,.5); background: #09072c; box-shadow: 0 25px 80px rgba(59,130,246,.26), 0 0 30px rgba(0,240,255,.1); transform: translateY(-20px); }
.hm-player-champion.is-rank-2::after { background: radial-gradient(circle, rgba(96,165,250,.22), rgba(93,52,208,.12) 46%, transparent 70%); }
.hm-player-champion.is-rank-3::after { background: radial-gradient(circle, rgba(255,0,110,.17), rgba(93,52,208,.12) 46%, transparent 70%); }
.hm-podium-rank { position: absolute; z-index: 3; top: 22px; left: 22px; display: grid; min-width: 52px; height: 40px; place-items: center; padding: 0 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(7,5,31,.72); color: #fff; font-size: 14px; font-weight: 900; backdrop-filter: blur(10px); }
.hm-player-avatar { position: relative; z-index: 2; display: grid; width: 122px; height: 122px; place-items: center; margin: 126px auto 0; overflow: hidden; border: 3px solid rgba(255,255,255,.8); border-radius: 34px; background: linear-gradient(135deg, #3b82f6, #5d34d0 56%, #ff006e); box-shadow: 0 0 34px rgba(0,240,255,.24); transform: rotate(-3deg); }
.is-rank-1 .hm-player-avatar { width: 148px; height: 148px; margin-top: 138px; border-color: #00f0ff; border-radius: 40px; transform: rotate(2deg); }
.hm-player-avatar img, .hm-player-list-avatar img { width: 100%; height: 100%; object-fit: cover; image-rendering: auto; }
.hm-player-avatar.has-fallback span, .hm-player-list-avatar.has-fallback span { color: #fff; font-size: 36px; font-weight: 900; }
.hm-player-champion-copy { margin-top: 26px; text-align: center; }
.hm-player-champion-copy small { color: #00f0ff; font-size: 9px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.hm-player-champion-copy h2 { margin: 7px 0 0; overflow-wrap: anywhere; font-size: clamp(25px, 2.6vw, 38px); letter-spacing: -.045em; line-height: 1; }
.hm-player-champion dl { display: grid; grid-template-columns: .7fr 1.3fr; gap: 8px; margin: 26px 0 0; }
.hm-player-champion dl div { padding: 13px; border: 1px solid rgba(255,255,255,.11); border-radius: 13px; background: rgba(4,4,24,.68); backdrop-filter: blur(8px); }
.hm-player-champion dt { color: rgba(255,255,255,.46); font-size: 8px; font-weight: 800; text-transform: uppercase; }
.hm-player-champion dd { margin: 6px 0 0; color: #fff; font-size: 14px; font-weight: 850; }
.hm-player-champion dl div:first-child dd { color: #00f0ff; font-size: 24px; }

.hm-player-list { display: grid; gap: 8px; }
.hm-player-list li { grid-template-columns: 52px 64px minmax(220px, 1fr) 110px 210px; min-height: 92px; gap: 18px; padding: 13px 20px; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: linear-gradient(90deg, rgba(59,130,246,.08), rgba(8,7,36,.88) 22%, rgba(8,7,36,.72)); }
.hm-player-list li::before, .hm-player-list li::after { display: none; }
.hm-player-list-avatar { display: grid; width: 58px; height: 58px; place-items: center; overflow: hidden; border: 1px solid rgba(0,240,255,.35); border-radius: 15px; background: linear-gradient(135deg, #3b82f6, #5d34d0); }
.hm-player-list-avatar.has-fallback span { font-size: 20px; }

.hm-clan-podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; padding-top: 26px; }
.hm-clan-showcase { position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 24px; background: linear-gradient(155deg, rgba(59,130,246,.18), rgba(93,52,208,.18) 42%, #080724 74%); box-shadow: 0 24px 65px rgba(0,0,0,.28); }
.hm-clan-showcase.is-rank-1 { margin-top: -20px; border-color: rgba(0,240,255,.5); box-shadow: 0 25px 80px rgba(59,130,246,.25), 0 0 34px rgba(0,240,255,.1); }
.hm-clan-banner { position: relative; display: flex; min-height: 190px; align-items: flex-end; padding: 20px; background: radial-gradient(circle at 18% 12%, rgba(0,240,255,.32), transparent 34%), radial-gradient(circle at 85% 80%, rgba(255,0,110,.23), transparent 38%), linear-gradient(135deg, #11104c, #5d34d0 55%, #091a44); }
.hm-clan-banner::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(125deg, transparent 0 15px, rgba(255,255,255,.025) 15px 16px); }
.hm-clan-showcase.has-banner .hm-clan-banner { background-image: linear-gradient(0deg, rgba(7,5,31,.8), rgba(7,5,31,.08)), var(--hm-clan-banner); background-position: center; background-size: cover; }
.hm-clan-logo { position: relative; z-index: 2; display: grid; width: 96px; height: 96px; place-items: center; overflow: hidden; border: 2px solid rgba(255,255,255,.72); border-radius: 28px; background: rgba(7,5,31,.84); box-shadow: 0 18px 40px rgba(0,0,0,.35); transform: translateY(46px) rotate(-4deg); }
.is-rank-1 .hm-clan-logo { border-color: #00f0ff; transform: translateY(46px) rotate(3deg); }
.hm-clan-logo img, .hm-clan-crest img { width: 100%; height: 100%; object-fit: cover; }
.hm-clan-logo span { color: #fff; font-size: 15px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.hm-clan-logo.has-image,
.hm-clan-crest.has-image { border: 1px solid rgba(96,165,250,.48); background: transparent; }
.hm-clan-logo-edit,
.hm-clan-crest-edit { appearance: none; padding: 0; color: inherit; cursor: pointer; font: inherit; }
.hm-clan-logo-edit { border-style: solid; }
.hm-clan-crest-edit { border: 0; }
.hm-clan-logo-edit:focus-visible,
.hm-clan-crest-edit:focus-visible,
.hm-clan-banner-edit:focus-visible { outline: 2px solid #60a5fa; outline-offset: 3px; }
.hm-clan-edit-mark,
.hm-clan-banner-edit { position: absolute; z-index: 5; display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; color: #fff; background: rgba(7,5,31,.54); box-shadow: 0 12px 28px rgba(0,0,0,.28); opacity: 0; backdrop-filter: blur(10px); transform: translateY(2px) scale(.92); transition: opacity .18s ease, transform .18s ease, background .18s ease, border-color .18s ease; }
.hm-clan-edit-mark { right: 6px; bottom: 6px; letter-spacing: 0; text-transform: none; }
.hm-clan-edit-mark svg,
.hm-clan-banner-edit svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.hm-clan-logo-edit:hover .hm-clan-edit-mark,
.hm-clan-logo-edit:focus-visible .hm-clan-edit-mark,
.hm-clan-crest-edit:hover .hm-clan-edit-mark,
.hm-clan-crest-edit:focus-visible .hm-clan-edit-mark { opacity: 1; transform: translateY(-1px) scale(1); }
.hm-clan-banner:hover .hm-clan-banner-edit,
.hm-clan-banner:focus-within .hm-clan-banner-edit { opacity: .72; transform: none; }
.hm-clan-banner-edit:hover,
.hm-clan-banner-edit:focus-visible { border-color: rgba(96,165,250,.75); background: rgba(37,99,235,.62); opacity: 1; transform: translateY(-1px); }
.hm-clan-banner-edit { right: 16px; bottom: 16px; padding: 0; }
.hm-clan-crest { position: relative; overflow: hidden; }
.hm-clan-crest-edit .hm-clan-edit-mark { width: 26px; height: 26px; right: 4px; bottom: 4px; }
.hm-clan-crest-edit .hm-clan-edit-mark svg { width: 13px; height: 13px; }
@media (hover: none) {
  .hm-clan-edit-mark,
  .hm-clan-banner-edit { opacity: .72; transform: none; }
}
.hm-clan-showcase-copy { min-height: 178px; padding: 66px 24px 22px; }
.hm-clan-showcase-copy small, .hm-clan-main small { color: #00f0ff; }
.hm-clan-showcase-copy h2 { margin: 7px 0 0; overflow-wrap: anywhere; font-size: clamp(25px, 2.5vw, 36px); letter-spacing: -.045em; line-height: 1; }
.hm-clan-showcase-copy p { margin: 13px 0 0; color: rgba(255,255,255,.58); font-size: 12px; line-height: 1.55; }
.hm-clan-showcase-stats { display: grid; grid-template-columns: 1.35fr .75fr 1fr; gap: 6px; margin: 0; padding: 0 20px 20px; }
.hm-clan-showcase-stats div { min-width: 0; padding: 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 11px; background: rgba(4,4,24,.48); }
.hm-clan-showcase-stats dt, .hm-clan-score dt, .hm-clan-stats dt { color: rgba(255,255,255,.42); font-size: 8px; font-weight: 800; text-transform: uppercase; }
.hm-clan-showcase-stats dd { margin: 6px 0 0; overflow: hidden; color: #fff; font-size: 13px; font-weight: 850; text-overflow: ellipsis; white-space: nowrap; }
.hm-clan-showcase-details { margin: 0 20px 20px; border-top: 1px solid rgba(255,255,255,.11); }
.hm-clan-showcase-details .hm-clan-details-body { padding-bottom: 0; }
.hm-clan-showcase-details .hm-clan-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hm-clan-showcase-details .hm-member-list { grid-template-columns: 1fr; max-height: 240px; overflow-y: auto; }

.hm-clan-list { gap: 8px; }
.hm-clan-card { grid-template-columns: 48px 72px minmax(260px, 1fr) minmax(260px, .55fr); padding: 20px 22px; border-color: rgba(255,255,255,.1); background: linear-gradient(90deg, rgba(59,130,246,.08), rgba(8,7,36,.82)); }
.hm-clan-card:first-child { border-color: rgba(255,255,255,.1); box-shadow: none; }
.hm-clan-crest { width: 66px; height: 66px; border-radius: 18px; clip-path: none; background: linear-gradient(135deg, #3b82f6, #5d34d0); }
.hm-clan-crest span { font-size: 10px; font-weight: 900; letter-spacing: .07em; }
.hm-clan-details { border-top-color: rgba(255,255,255,.1); }
.hm-clan-stats { grid-template-columns: repeat(3, minmax(80px, 1fr)); }

.hm-info-mast, .hm-info-routes, .hm-resource-strip, .hm-faq, .hm-legal-links, .hm-wiki-hero, .hm-wiki-filters, .hm-wiki-index, .hm-world-systems { width: min(1320px, 100%); margin-right: auto; margin-left: auto; }
.hm-info-mast { display: grid; grid-template-columns: minmax(0, .9fr) minmax(480px, 1.1fr); min-height: 540px; border: 1px solid var(--line); background: #050914; }
.hm-info-mast-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(38px, 5vw, 76px); }
.hm-info-mast-copy h1 { margin: 0; font-size: clamp(50px, 5.7vw, 86px); font-weight: 800; letter-spacing: 0; line-height: 1.12; text-transform: uppercase; }
.hm-info-mast-copy h1 span { color: #60a5fa; }
.hm-info-mast-copy > p:not(.hm-kicker) { max-width: 560px; margin: 28px 0 0; color: rgba(255,255,255,.58); font-size: 14px; line-height: 1.65; }
.hm-info-mast-actions { display: flex; gap: 12px; margin-top: 34px; }
.hm-wiki-gateway { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 100%; padding: clamp(38px, 5vw, 72px); border-left: 1px solid var(--line); background: linear-gradient(145deg, rgba(37,99,235,.2), rgba(7,16,32,.92) 58%); transition: background .25s ease; }
.hm-wiki-gateway:hover { background: linear-gradient(145deg, rgba(37,99,235,.3), #071020 58%); }
.hm-wiki-gateway-head { display: flex; justify-content: space-between; gap: 20px; color: #60a5fa; font: 800 10px/1.4 "Cascadia Code", Consolas, monospace; letter-spacing: .11em; text-transform: uppercase; }
.hm-wiki-gateway-head strong { color: rgba(255,255,255,.56); font-weight: 700; }
.hm-wiki-gateway h2 { max-width: 600px; margin: 56px 0 0; font-size: clamp(34px, 4vw, 58px); letter-spacing: -.01em; line-height: 1.04; text-transform: uppercase; }
.hm-wiki-gateway > p { max-width: 530px; margin: 18px 0 0; color: rgba(255,255,255,.56); font-size: 13px; line-height: 1.6; }
.hm-wiki-gateway dl { display: grid; grid-template-columns: 1fr 1fr; margin: 46px 0 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.hm-wiki-gateway dl div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 15px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hm-wiki-gateway dt { color: rgba(255,255,255,.52); font-size: 10px; }
.hm-wiki-gateway dd { margin: 0; color: #fff; font: 800 18px/1 "Cascadia Code", Consolas, monospace; }
.hm-wiki-gateway-link { margin-top: 28px; color: #7db2ff; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hm-info-routes { margin-top: 96px; scroll-margin-top: calc(var(--header) + 28px); }
.hm-info-route-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.hm-info-route-grid > * { display: grid; grid-template-columns: 54px 1fr; gap: 20px; min-height: 178px; padding: 28px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #071020; color: #fff; text-align: left; cursor: pointer; transition: background .2s ease; }
.hm-info-route-grid > *:hover { background: #0a1730; }
.hm-info-route-grid > * > span { color: #60a5fa; font: 800 13px/1 "Cascadia Code", Consolas, monospace; }
.hm-info-route-grid small, .hm-resource-strip small { display: block; color: rgba(255,255,255,.42); font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hm-info-route-grid strong { display: block; margin-top: 18px; font-size: clamp(19px, 1.8vw, 27px); letter-spacing: -.035em; }
.hm-info-route-grid p { margin: 10px 0 0; color: rgba(255,255,255,.48); font-size: 11px; line-height: 1.5; }
.hm-resource-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 28px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.hm-resource-strip a { min-height: 142px; padding: 23px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hm-resource-strip strong { display: block; margin-top: 20px; font-size: 18px; }
.hm-resource-strip a > span { display: block; margin-top: 7px; color: rgba(255,255,255,.43); font-size: 10px; line-height: 1.45; }
.hm-faq { display: grid; grid-template-columns: minmax(260px, .55fr) minmax(500px, 1.1fr); gap: clamp(60px, 9vw, 140px); margin-top: 110px; }
.hm-faq-intro h2 { margin: 0; font-size: clamp(42px, 5vw, 74px); letter-spacing: -.01em; line-height: 1.04; text-transform: uppercase; }
.hm-faq-intro > p:last-child { max-width: 340px; margin: 24px 0 0; color: rgba(255,255,255,.5); font-size: 13px; line-height: 1.55; }
.hm-faq-list { border-top: 1px solid var(--line); }
.hm-faq-list details { border-bottom: 1px solid var(--line); }
.hm-faq-list summary { padding: 25px 4px; color: #fff; font-size: 16px; font-weight: 750; cursor: pointer; }
.hm-faq-list details[open] summary { color: #60a5fa; }
.hm-faq-list details p { margin: -5px 0 0; padding: 0 4px 26px; color: rgba(255,255,255,.6); font-size: 13px; line-height: 1.65; }
.hm-faq-list details a { color: #7db2ff; border-bottom: 1px solid rgba(125,178,255,.45); }
.hm-faq-list details button { padding: 0; border: 0; border-bottom: 1px dashed rgba(125,178,255,.65); background: none; color: #7db2ff; cursor: pointer; }
.hm-legal-links { display: flex; flex-wrap: wrap; gap: 18px 32px; margin-top: 90px; padding-top: 24px; border-top: 1px solid var(--line); color: rgba(255,255,255,.42); font-size: 10px; }
.hm-legal-links span { margin-right: auto; color: rgba(255,255,255,.65); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hm-legal-links a:hover { color: #fff; }

.hm-wiki-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(390px, 460px); gap: clamp(42px, 6vw, 86px); align-items: center; min-height: 390px; padding: clamp(38px, 4.5vw, 64px); border: 1px solid var(--line); background: #071020; }
.hm-wiki-hero h1 { margin: 0; font-size: clamp(52px, 6vw, 90px); letter-spacing: -.065em; line-height: .9; text-transform: uppercase; }
.hm-wiki-hero h1 span { color: #60a5fa; }
.hm-wiki-hero > div:first-child > p:last-child { max-width: 560px; margin: 28px 0 0; color: rgba(255,255,255,.53); font-size: 13px; line-height: 1.6; }
.hm-wiki-search-wrap label { display: block; margin-bottom: 12px; color: #60a5fa; font-size: 9px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.hm-wiki-search-wrap input { width: 100%; height: 62px; padding: 0 18px; border: 1px solid rgba(125,178,255,.42); outline: 0; background: #03060d; color: #fff; font: 600 14px/1 "Cascadia Code", Consolas, monospace; }
.hm-wiki-search-wrap input:focus { border-color: #60a5fa; }
.hm-wiki-search-wrap input::placeholder { color: rgba(255,255,255,.3); }
.hm-wiki-search-wrap > span { display: block; margin-top: 12px; color: rgba(255,255,255,.4); font: 600 10px/1.4 "Cascadia Code", Consolas, monospace; }
.hm-wiki-search-wrap > span b { color: #fff; }
.hm-wiki-filters { position: sticky; z-index: 20; top: calc(var(--header) + 12px); display: flex; margin-top: 38px; overflow-x: auto; border: 1px solid var(--line); background: rgba(5,9,20,.94); backdrop-filter: blur(12px); scrollbar-width: none; }
.hm-wiki-filters::-webkit-scrollbar { display: none; }
.hm-wiki-filters button { flex: 1 0 auto; min-height: 55px; padding: 0 22px; border: 0; border-right: 1px solid var(--line); background: none; color: rgba(255,255,255,.55); font-size: 10px; font-weight: 800; cursor: pointer; }
.hm-wiki-filters button:last-child { border-right: 0; }
.hm-wiki-filters button.is-active { background: #0b1b38; color: #fff; }
.hm-wiki-filters button span { margin-left: 8px; color: #60a5fa; font: 800 10px/1 "Cascadia Code", Consolas, monospace; }
.hm-wiki-index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 20px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.hm-wiki-entry { display: flex; min-height: 280px; flex-direction: column; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #050914; }
.hm-wiki-entry[hidden], .hm-wiki-more[hidden], .hm-wiki-empty[hidden] { display: none; }
.hm-wiki-entry > div { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.hm-wiki-entry > div > span { color: #60a5fa; font: 800 22px/1 "Cascadia Code", Consolas, monospace; }
.hm-wiki-entry small { color: rgba(255,255,255,.38); font-size: 8px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.hm-wiki-entry h2 { margin: 37px 0 0; overflow-wrap: anywhere; font-size: 22px; letter-spacing: -.035em; }
.hm-wiki-entry p { margin: 12px 0 24px; color: rgba(255,255,255,.55); font-size: 11px; line-height: 1.6; }
.hm-wiki-entry code { margin-top: auto; overflow: hidden; color: rgba(125,178,255,.56); font: 600 9px/1.4 "Cascadia Code", Consolas, monospace; text-overflow: ellipsis; white-space: nowrap; }
.hm-wiki-empty { grid-column: 1 / -1; margin: 0; padding: 70px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: rgba(255,255,255,.5); text-align: center; }
.hm-wiki-more { display: block; min-width: 210px; margin: 30px auto 0; padding: 16px 24px; border: 1px solid rgba(125,178,255,.38); background: #071020; color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.hm-wiki-more:hover { border-color: #60a5fa; }

/* Visual knowledge center — restrained HyMagic blue */
.hm-icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.hm-info-page svg, .hm-wiki-page svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hm-view-info .hm-community-page, .hm-view-wiki .hm-community-page {
  background:
    radial-gradient(circle at 12% 18%, rgba(59,130,246,.24), transparent 28%),
    radial-gradient(circle at 88% 32%, rgba(71,102,214,.14), transparent 30%),
    radial-gradient(circle at 54% 82%, rgba(0,146,255,.07), transparent 32%),
    linear-gradient(145deg, #030613 0%, #070b19 54%, #090d1c 100%);
}
.hm-info-mast { position: relative; isolation: isolate; overflow: hidden; grid-template-columns: minmax(0, 1fr) minmax(500px, .96fr); min-height: 680px; border: 0; border-radius: 30px; background-image: linear-gradient(90deg, rgba(3,6,19,.97) 0%, rgba(3,6,19,.82) 44%, rgba(3,6,19,.18) 100%), var(--hm-info-image); background-position: center; background-size: cover; box-shadow: 0 30px 90px rgba(0,0,0,.42), 0 0 80px rgba(59,130,246,.12); }
.hm-info-mast::after { content: ""; position: absolute; z-index: -1; inset: -35%; background: conic-gradient(from 210deg at 74% 50%, transparent, rgba(59,130,246,.2), rgba(71,102,214,.11), rgba(0,146,255,.06), transparent 58%); filter: blur(42px); opacity: .7; animation: hm-aurora-drift 18s ease-in-out infinite alternate; }
.hm-info-mast-copy { position: relative; z-index: 2; padding: clamp(48px, 6vw, 92px); }
.hm-info-mast-copy .hm-kicker { color: #00f0ff; text-shadow: 0 0 20px rgba(0,240,255,.55); }
.hm-info-mast-copy h1 { max-width: 100%; color: #fff; font-size: clamp(58px, 5.3vw, 86px); text-shadow: 0 8px 40px rgba(0,0,0,.38); }
.hm-info-mast-copy h1 span { color: transparent; background: linear-gradient(90deg, #2f80ed, #6378e8); background-clip: text; -webkit-background-clip: text; filter: drop-shadow(0 0 18px rgba(47,128,237,.24)); }
.hm-info-mast-copy > p:not(.hm-kicker) { color: rgba(255,255,255,.75); font-size: 16px; }
.hm-info-mast .hm-cta { border-radius: 999px; box-shadow: 0 12px 34px rgba(59,130,246,.22); }
.hm-info-mast .hm-cta-primary { background: linear-gradient(90deg, #2f80ed, #526bd8); }
.hm-wiki-gateway { align-self: center; min-height: 560px; margin: 44px 44px 44px 0; overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: 26px; background-image: linear-gradient(155deg, rgba(47,128,237,.18), rgba(6,12,30,.78) 58%, rgba(71,102,214,.1)), var(--hm-wiki-image); background-position: center; background-size: cover; box-shadow: 0 24px 70px rgba(0,0,0,.35), inset 0 1px rgba(255,255,255,.08); backdrop-filter: blur(18px); transform: perspective(1100px) rotateY(-2deg); transition: transform .55s cubic-bezier(.2,.9,.2,1), box-shadow .55s ease; }
.hm-wiki-gateway::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4,5,18,.98) 0%, rgba(4,5,18,.72) 58%, rgba(4,5,18,.3) 100%); }
.hm-wiki-gateway > * { position: relative; z-index: 1; }
.hm-wiki-gateway:hover { background-image: linear-gradient(155deg, rgba(47,128,237,.24), rgba(6,12,30,.74) 58%, rgba(71,102,214,.14)), var(--hm-wiki-image); box-shadow: 0 30px 90px rgba(59,130,246,.18); transform: perspective(1100px) rotateY(0) translateY(-7px) scale(1.01); }
.hm-wiki-gateway-head span { display: flex; align-items: center; gap: 10px; color: #00f0ff; text-shadow: 0 0 18px rgba(0,240,255,.42); }
.hm-wiki-gateway-head span svg { font-size: 19px; }
.hm-wiki-gateway h2 { color: #fff; text-shadow: 0 0 24px rgba(47,128,237,.28); }
.hm-wiki-gateway dl { border: 0; gap: 8px; }
.hm-wiki-gateway dl div { border: 1px solid rgba(255,255,255,.13); border-radius: 12px; background: rgba(4,5,18,.46); backdrop-filter: blur(12px); }
.hm-wiki-gateway dt { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.72); }
.hm-wiki-gateway dt svg { color: #00f0ff; font-size: 16px; }
.hm-wiki-gateway-link { display: flex; align-items: center; gap: 9px; color: #fff; }
.hm-wiki-gateway-link svg { font-size: 17px; transition: transform .25s ease; }
.hm-wiki-gateway:hover .hm-wiki-gateway-link svg { transform: translateX(6px); }

.hm-knowledge-gallery { width: min(1320px, 100%); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 390px; gap: 18px; margin: 28px auto 0; }
.hm-knowledge-card { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; padding: 30px; border-radius: 24px; background-image: var(--hm-card-image); background-position: center; background-size: cover; box-shadow: 0 20px 60px rgba(0,0,0,.28); transition: transform .55s cubic-bezier(.2,.9,.2,1), box-shadow .55s ease; }
.hm-knowledge-card.is-wide { grid-column: span 2; }
.hm-knowledge-card::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, rgba(3,5,18,.97) 0%, rgba(3,5,18,.52) 58%, rgba(59,130,246,.08) 100%); transition: background .4s ease; }
.hm-knowledge-card::after { content: ""; position: absolute; z-index: -1; inset: auto -20% -45% 20%; height: 70%; background: radial-gradient(circle, rgba(47,128,237,.4), transparent 68%); filter: blur(24px); opacity: .52; transition: transform .5s ease; }
.hm-knowledge-card:hover { box-shadow: 0 28px 80px rgba(59,130,246,.22); transform: translateY(-9px) scale(1.015); }
.hm-knowledge-card:hover::before { background: linear-gradient(0deg, rgba(3,5,18,.97) 0%, rgba(3,5,18,.34) 64%, rgba(47,128,237,.14) 100%); }
.hm-knowledge-card:hover::after { transform: translateY(-14px) scale(1.14); }
.hm-knowledge-icon { position: absolute; top: 24px; left: 24px; display: grid; width: 52px; height: 52px; place-items: center; border: 1px solid rgba(255,255,255,.23); border-radius: 17px; background: rgba(5,7,24,.46); color: #00f0ff; font-size: 25px; box-shadow: 0 0 32px rgba(0,240,255,.13); backdrop-filter: blur(14px); }
.hm-knowledge-card div { position: relative; z-index: 1; }
.hm-knowledge-card small { color: #00f0ff; font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; text-shadow: 0 0 16px rgba(0,240,255,.42); }
.hm-knowledge-card h2 { margin: 10px 0 0; color: #fff; font-size: clamp(28px, 3vw, 48px); letter-spacing: -.01em; line-height: 1.03; text-transform: uppercase; }
.hm-knowledge-card:not(.is-wide) h2 { font-size: clamp(24px, 2.1vw, 32px); }
.hm-knowledge-card p { max-width: 430px; margin: 13px 0 0; color: rgba(255,255,255,.66); font-size: 12px; line-height: 1.5; }

.hm-info-routes { margin-top: 120px; }
.hm-info-route-grid { gap: 14px; border: 0; }
.hm-info-route-grid > * { min-height: 190px; border: 1px solid rgba(255,255,255,.11); border-radius: 22px; background: linear-gradient(145deg, rgba(59,130,246,.14), rgba(10,8,35,.72)); box-shadow: 0 16px 50px rgba(0,0,0,.2); transition: transform .4s cubic-bezier(.2,.9,.2,1), border-color .3s ease, background .3s ease; }
.hm-info-route-grid > *:hover { border-color: rgba(71,102,214,.55); background: linear-gradient(145deg, rgba(59,130,246,.22), rgba(71,102,214,.12)); transform: translateY(-6px); }
.hm-info-route-grid > * > span { display: grid; width: 50px; height: 50px; place-items: center; border-radius: 16px; background: linear-gradient(135deg, #2f80ed, #526bd8); color: #fff; font-size: 24px; box-shadow: 0 0 28px rgba(47,128,237,.2); }
.hm-resource-strip { gap: 14px; border: 0; }
.hm-resource-strip a { position: relative; isolation: isolate; overflow: hidden; min-height: 230px; padding: 25px; border: 0; border-radius: 22px; background-image: var(--hm-resource-image); background-position: center; background-size: cover; box-shadow: 0 16px 50px rgba(0,0,0,.22); transition: transform .4s cubic-bezier(.2,.9,.2,1); }
.hm-resource-strip a::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, rgba(3,5,18,.98), rgba(3,5,18,.38)); }
.hm-resource-strip a:hover { transform: translateY(-7px); }
.hm-resource-strip a > svg { display: block; margin-bottom: 62px; color: #00f0ff; font-size: 27px; filter: drop-shadow(0 0 14px rgba(0,240,255,.38)); }
.hm-resource-strip strong { font-size: 22px; text-shadow: 0 0 20px rgba(168,85,247,.25); }
.hm-faq-list details { margin-bottom: 9px; padding: 0 20px; border: 1px solid rgba(255,255,255,.09); border-radius: 16px; background: rgba(13,10,39,.48); backdrop-filter: blur(10px); }
.hm-faq-list { border: 0; }
.hm-faq-list details[open] { border-color: rgba(168,85,247,.45); box-shadow: 0 0 38px rgba(168,85,247,.08); }

.hm-world-systems { margin-top: 112px; }
.hm-world-systems > header { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .58fr); gap: 70px; align-items: end; margin-bottom: 36px; }
.hm-world-systems > header h2 { margin: 0; color: #fff; font-size: clamp(42px, 5vw, 72px); letter-spacing: -.01em; line-height: 1.04; text-transform: uppercase; }
.hm-world-systems > header > p { max-width: 490px; margin: 0 0 6px; color: rgba(255,255,255,.62); font-size: 15px; line-height: 1.7; }
.hm-world-system-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 285px; gap: 14px; }
.hm-world-system-grid > a { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-width: 0; padding: 28px; border: 1px solid rgba(255,255,255,.13); border-radius: 24px; background: #090b20; color: #fff; box-shadow: 0 18px 55px rgba(0,0,0,.26); cursor: pointer; transition: transform .45s cubic-bezier(.2,.9,.2,1), border-color .35s ease, box-shadow .35s ease; }
.hm-world-system-grid > a::before { content: ""; position: absolute; z-index: -2; inset: 0; background-image: var(--hm-feature-image); background-position: center; background-size: cover; filter: saturate(1.08) contrast(1.03); transition: transform .7s cubic-bezier(.2,.8,.2,1), filter .45s ease; }
.hm-world-system-grid > a::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(3,5,18,.1) 0%, rgba(3,5,18,.38) 42%, rgba(3,5,18,.96) 100%), linear-gradient(135deg, rgba(47,128,237,.12), transparent 52%); }
.hm-world-system-grid > a.is-wide { grid-column: span 2; }
.hm-world-system-grid > a.is-panorama { grid-column: 1 / -1; }
.hm-world-system-grid > a:hover { border-color: rgba(0,240,255,.48); box-shadow: 0 26px 75px rgba(47,128,237,.2), 0 0 34px rgba(0,240,255,.07); transform: translateY(-7px); }
.hm-world-system-grid > a:hover::before { filter: saturate(1.2) contrast(1.06); transform: scale(1.055); }
.hm-world-system-grid > a:focus-visible { outline: 2px solid #00f0ff; outline-offset: 4px; }
.hm-world-system-top { position: absolute; top: 24px; right: 24px; left: 24px; display: flex; align-items: center; justify-content: space-between; }
.hm-world-system-top > span { color: rgba(255,255,255,.72); font: 800 10px/1 "Cascadia Code", Consolas, monospace; letter-spacing: .12em; }
.hm-world-system-top svg { width: 23px; height: 23px; padding: 11px; box-sizing: content-box; border: 1px solid rgba(255,255,255,.18); border-radius: 15px; background: rgba(4,5,18,.55); color: #00f0ff; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; box-shadow: 0 0 28px rgba(0,240,255,.12); backdrop-filter: blur(12px); }
.hm-world-system-copy { position: relative; z-index: 1; width: 100%; }
.hm-world-system-grid h3 { max-width: 520px; margin: 0; color: #fff; font-size: clamp(27px, 2.5vw, 42px); letter-spacing: -.01em; line-height: 1.04; text-transform: uppercase; text-shadow: 0 5px 25px rgba(0,0,0,.65); }
.hm-world-system-grid > a:not(.is-wide):not(.is-panorama) h3 { font-size: clamp(23px, 2vw, 31px); }
.hm-world-system-copy > span { display: inline-flex; align-items: center; gap: 8px; margin-top: 15px; padding: 8px 11px; border: 1px solid rgba(0,240,255,.2); border-radius: 999px; background: rgba(4,5,18,.56); color: rgba(255,255,255,.74); font-size: 9px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; backdrop-filter: blur(10px); transition: border-color .3s ease, color .3s ease, transform .35s cubic-bezier(.2,.9,.2,1); }
.hm-world-system-copy > span svg { width: 14px; height: 14px; fill: none; stroke: #00f0ff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s cubic-bezier(.2,.9,.2,1); }
.hm-world-system-grid > a:hover .hm-world-system-copy > span { border-color: rgba(0,240,255,.5); color: #fff; transform: translateX(3px); }
.hm-world-system-grid > a:hover .hm-world-system-copy > span svg { transform: translateX(3px); }

.hm-view-events .hm-community-page { background: radial-gradient(circle at 80% 12%, rgba(37,99,235,.17), transparent 30%), radial-gradient(circle at 12% 48%, rgba(59,130,246,.13), transparent 28%), #030613; }
.hm-events-hero, .hm-daily-events, .hm-event-feed { width: min(1320px, 100%); margin-right: auto; margin-left: auto; }
.hm-events-hero { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(310px, .55fr); gap: 54px; align-items: end; min-height: 620px; padding: clamp(42px, 6vw, 82px); border-radius: 30px; background-image: var(--hm-events-image); background-position: center; background-size: cover; box-shadow: 0 30px 90px rgba(0,0,0,.42); }
.hm-events-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(3,5,18,.98) 0%, rgba(3,5,18,.78) 50%, rgba(3,5,18,.35) 100%), linear-gradient(0deg, rgba(3,5,18,.82), transparent 60%); }
.hm-events-hero::after { content: ""; position: absolute; z-index: -1; width: 65%; aspect-ratio: 1; right: -20%; top: -35%; border-radius: 50%; background: conic-gradient(#1d4ed8, #2563eb, #3b82f6, #1d4ed8); filter: blur(85px); opacity: .16; animation: hm-aurora-drift 18s ease-in-out infinite alternate; }
.hm-events-hero h1 { max-width: 100%; margin: 0; color: #fff; font-size: clamp(54px, 5.2vw, 82px); letter-spacing: -.065em; line-height: .88; text-transform: uppercase; }
.hm-events-hero-copy { min-width: 0; max-width: 100%; }
.hm-events-hero h1 { min-width: 0; }
.hm-events-hero h1 span { color: #3b82f6; background: none; filter: none; }
.hm-events-hero-copy { padding-bottom: 8px; }
.hm-events-hero-copy p { margin: 0; color: rgba(255,255,255,.73); font-size: 16px; line-height: 1.7; }
.hm-events-hero-copy .hm-cta { display: inline-flex; margin-top: 30px; border-radius: 999px; }
.hm-daily-events, .hm-event-feed { margin-top: 110px; scroll-margin-top: calc(var(--header) + 25px); }
.hm-events-section-head { display: flex; align-items: end; justify-content: space-between; gap: 45px; margin-bottom: 30px; }
.hm-events-section-head h2 { margin: 0; color: #fff; font-size: clamp(40px, 4.6vw, 66px); letter-spacing: -.055em; line-height: .95; text-transform: uppercase; }
.hm-events-section-head > span, .hm-events-section-head > p { max-width: 390px; margin: 0 0 5px; color: rgba(255,255,255,.48); font-size: 12px; line-height: 1.6; }
.hm-daily-event-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hm-daily-event { position: relative; isolation: isolate; overflow: hidden; min-height: 570px; display: flex; flex-direction: column; justify-content: space-between; padding: 32px; border: 1px solid rgba(255,255,255,.13); border-radius: 26px; background-image: var(--hm-event-image); background-position: center; background-size: cover; box-shadow: 0 20px 60px rgba(0,0,0,.28); }
.hm-daily-event::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(3,5,18,.34), rgba(3,5,18,.72) 45%, #030512 100%); }
.hm-daily-event > header { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.hm-daily-event > header span, .hm-daily-event > header time { padding: 9px 12px; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; background: rgba(3,5,18,.66); color: #fff; font-size: 9px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(12px); }
.hm-daily-event > header time { color: #60a5fa; }
.hm-daily-event h3 { margin: 0; color: #fff; font-size: clamp(38px, 4vw, 60px); letter-spacing: -.055em; line-height: .96; text-transform: uppercase; }
.hm-daily-event p { max-width: 590px; margin: 16px 0 0; color: rgba(255,255,255,.7); font-size: 13px; line-height: 1.65; }
.hm-daily-event dl { display: grid; grid-template-columns: 1fr 1fr 1.45fr; gap: 8px; margin: 26px 0 0; }
.hm-daily-event dl div { padding: 13px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: rgba(3,5,18,.72); }
.hm-daily-event dt { color: rgba(255,255,255,.43); font-size: 8px; font-weight: 800; text-transform: uppercase; }
.hm-daily-event dd { margin: 7px 0 0; color: #fff; font-size: 13px; font-weight: 800; }
.hm-event-feed { padding-bottom: 15px; }
.hm-event-feed-empty { display: grid; grid-template-columns: 110px 1fr; gap: 34px; align-items: center; min-height: 240px; padding: 42px; border: 1px dashed rgba(0,240,255,.28); border-radius: 25px; background: linear-gradient(135deg, rgba(47,128,237,.12), rgba(93,52,208,.1)); }
.hm-event-feed-empty > span { display: grid; width: 96px; height: 96px; place-items: center; border-radius: 28px; background: linear-gradient(135deg, #2f80ed, #5d34d0); color: #fff; box-shadow: 0 0 45px rgba(47,128,237,.25); }
.hm-event-feed-empty svg { width: 42px; height: 42px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.hm-event-feed-empty h3 { margin: 0; color: #fff; font-size: clamp(25px, 3vw, 38px); letter-spacing: -.045em; }
.hm-event-feed-empty p { max-width: 720px; margin: 11px 0 0; color: rgba(255,255,255,.55); font-size: 13px; line-height: 1.65; }
.hm-event-feed-list { display: grid; gap: 12px; }
.hm-event-feed-list > .hm-published-event { border: 1px solid rgba(96,165,250,.2); }
.hm-event-feed-list > .hm-published-event time { color: #60a5fa; font-weight: 800; }
.hm-event-feed-list > .hm-published-event > .hm-published-event-copy > header small { color: #8ab8ff; text-transform: uppercase; }

/* Managed events: same visual scale as the daily schedule, with media above content. */
.hm-event-feed-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.hm-event-feed-list .hm-published-event,
.hm-event-feed-list .hm-published-event:has(.hm-event-open[aria-expanded="true"]) { display:flex; grid-column:auto; flex-direction:column; min-width:0; border-radius:26px; background:#060a18; box-shadow:0 20px 60px rgba(0,0,0,.28); }
.hm-published-event-media { min-height:0; height:330px; border:0; border-bottom:1px solid rgba(255,255,255,.1); }
.hm-published-event-media img { min-height:0; object-position:center; }
.hm-published-event-copy { display:flex; flex:1; flex-direction:column; gap:14px; padding:28px 32px 32px; background:linear-gradient(155deg,rgba(15,28,55,.72),rgba(3,7,20,.88)); backdrop-filter:blur(20px); }
.hm-published-event-copy > header small,
.hm-published-event-copy > header time { padding:9px 12px; border:1px solid rgba(255,255,255,.15); border-radius:999px; background:rgba(3,5,18,.66); font-size:9px; font-weight:850; letter-spacing:.08em; text-transform:uppercase; }
.hm-published-event-copy > h3 { color:#fff; font-size:clamp(36px,4vw,58px); letter-spacing:-.055em; line-height:.96; text-transform:uppercase; }
.hm-published-event-summary { color:rgba(255,255,255,.7); font-size:13px; line-height:1.65; }
.hm-event-card-actions { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:10px; align-items:stretch; margin-top:auto; padding:8px; border:1px solid rgba(255,255,255,.12); border-radius:18px; background:linear-gradient(135deg,rgba(255,255,255,.075),rgba(59,130,246,.07)); box-shadow:inset 0 1px rgba(255,255,255,.05),0 14px 36px rgba(0,0,0,.2); backdrop-filter:blur(18px); }
.hm-event-open { margin:0; min-height:50px; padding:0 16px; border-color:transparent; border-radius:12px; background:rgba(30,64,175,.13); text-decoration:none; transition:border-color .2s ease,background .2s ease,transform .2s ease; }
.hm-event-open:hover { border-color:rgba(103,232,249,.3); background:rgba(37,99,235,.22); transform:translateY(-1px); }
.hm-event-card-actions .hm-event-like { width:54px; min-width:54px; height:auto; border-radius:12px; background:rgba(2,6,23,.56); }
.hm-event-like { display:inline-flex; align-items:center; justify-content:center; gap:7px; }
.hm-event-like svg { width:19px; height:19px; }
.hm-event-like[aria-pressed="true"] { border-color:rgba(244,63,94,.62); color:#fb7185; background:rgba(159,18,57,.2); }
.hm-event-like[aria-pressed="true"] svg { fill:currentColor; filter:drop-shadow(0 0 8px rgba(251,113,133,.32)); }
.hm-event-detail-head-actions { display:flex; align-items:center; gap:10px; }
.hm-event-detail-head-actions .hm-event-like { min-width:64px; height:38px; border-radius:999px; background:rgba(2,6,23,.66); }
.hm-event-feed-list .hm-published-event-copy > :is(.hm-published-event-details,.hm-published-event-rewards,.hm-event-prize-categories,.hm-tournament) { display:none; }
.hm-event-expanded { padding-top:8px; }
.hm-published-event-rewards { border-color:rgba(255,255,255,.1); border-radius:14px; background:rgba(3,5,18,.72); }
.hm-event-prize-categories,.hm-tournament { border-color:rgba(255,255,255,.12); background:linear-gradient(145deg,rgba(22,45,91,.32),rgba(3,5,18,.86)); }
.hm-event-prize-grid > article:nth-child(n+4) { display:none; }
@media (max-width:760px) {
  .hm-event-feed-list { grid-template-columns:1fr; }
  .hm-published-event-media { height:260px; }
  .hm-published-event-copy { padding:24px 22px 26px; }
}

/* Dedicated event page. */
.hm-event-detail-page { padding-top:clamp(28px,5vw,70px); }
.hm-event-detail-shell { width:min(1120px,100%); margin:0 auto; }
.hm-event-back { display:inline-flex; margin-bottom:22px; color:#93c5fd; font-size:13px; font-weight:800; text-decoration:none; }
.hm-event-detail { overflow:hidden; border:1px solid rgba(255,255,255,.12); border-radius:30px; background:linear-gradient(155deg,rgba(17,31,60,.96),rgba(3,6,17,.98)); box-shadow:0 35px 100px rgba(0,0,0,.38); }
.hm-event-detail-media { width:100%; height:clamp(300px,52vw,620px); overflow:hidden; border-bottom:1px solid rgba(255,255,255,.1); }
.hm-event-detail-media img { width:100%; height:100%; object-fit:cover; object-position:center; }
.hm-event-detail-copy { display:grid; gap:24px; padding:clamp(26px,5vw,64px); }
.hm-event-detail-copy > header { display:flex; align-items:center; justify-content:space-between; gap:18px; }
.hm-event-detail-copy > header :is(small,time) { padding:9px 13px; border:1px solid rgba(255,255,255,.14); border-radius:999px; background:rgba(2,6,23,.66); color:#60a5fa; font-size:10px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.hm-event-detail-copy h1 { margin:0; color:#fff; font-size:clamp(46px,7vw,92px); line-height:.9; letter-spacing:-.065em; text-transform:uppercase; }
.hm-event-detail-summary { max-width:760px; margin:0; color:rgba(255,255,255,.7); font-size:clamp(16px,2vw,21px); line-height:1.65; }
.hm-event-detail-section { padding:24px; border:1px solid rgba(255,255,255,.1); border-radius:18px; background:rgba(3,7,20,.62); color:#cbd5e1; }
.hm-event-detail-section > span { display:block; margin-bottom:14px; color:#67e8f9; font-size:11px; font-weight:900; letter-spacing:.12em; text-transform:uppercase; }
.hm-event-detail-section > p { margin:0; white-space:pre-line; }
.hm-event-participant-chips { display:flex; flex-wrap:wrap; gap:9px; }
.hm-event-participant-chips b { padding:9px 12px; border:1px solid rgba(96,165,250,.25); border-radius:999px; color:#dbeafe; background:rgba(37,99,235,.12); font-size:13px; }
.hm-event-detail-copy .hm-event-prize-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.hm-event-detail-copy .hm-event-prize-grid > article { display:block; padding:18px; border:1px solid rgba(255,255,255,.1); border-radius:14px; background:rgba(2,6,23,.72); }
.hm-event-not-found { padding:80px 30px; text-align:center; }
.hm-event-not-found h1 { color:#fff; }
@media(max-width:760px){.hm-event-detail-copy>header{align-items:flex-start;flex-direction:column}.hm-event-detail-copy .hm-event-prize-grid{grid-template-columns:1fr}.hm-event-detail-media{height:300px}}

/* Polished tournament bracket with mathematically aligned rounds. */
.hm-event-detail-copy .hm-tournament { padding:clamp(22px,3vw,34px); border-color:rgba(59,130,246,.26); border-radius:24px; background:radial-gradient(circle at 75% 35%,rgba(37,99,235,.1),transparent 36%),linear-gradient(145deg,rgba(10,23,50,.96),rgba(2,6,18,.98)); }
.hm-event-detail-copy .hm-tournament > header { gap:16px; }
.hm-event-detail-copy .hm-tournament > header h4 { font-size:clamp(24px,3vw,34px); letter-spacing:-.035em; }
.hm-event-detail-copy .hm-tournament-scroll { padding:8px 2px 18px; }
.hm-event-detail-copy .hm-tournament-grid { --hm-match-row:168px; grid-template-rows:34px calc(var(--hm-first-match-count) * var(--hm-match-row)); align-items:stretch; gap:44px; }
.hm-event-detail-copy .hm-tournament-round { display:contents; }
.hm-event-detail-copy .hm-tournament-round > h5 { grid-row:1; align-self:start; justify-self:center; width:100%; margin:0; color:#7dd3fc; font-size:11px; font-weight:900; letter-spacing:.13em; text-align:center; }
.hm-event-detail-copy .hm-tournament-matches { position:relative; grid-row:2; display:block; min-height:calc(var(--hm-first-match-count) * var(--hm-match-row)); }
.hm-event-detail-copy .hm-tournament-match { position:absolute; top:var(--hm-match-top); left:0; right:0; z-index:1; gap:6px; padding:10px; transform:translateY(-50%); border-color:rgba(96,165,250,.2); border-radius:14px; background:linear-gradient(145deg,rgba(5,12,30,.98),rgba(8,19,40,.96)); box-shadow:0 14px 34px rgba(0,0,0,.16); }
.hm-event-detail-copy .hm-tournament-match::after { right:-45px; width:44px; border-color:rgba(96,165,250,.28); }
.hm-event-detail-copy .hm-tournament-player { min-height:42px; border-radius:9px; }
.hm-event-detail-copy .hm-tournament-player b { display:inline-flex; align-items:center; gap:5px; color:#fde68a; }
.hm-event-detail-copy .hm-tournament-player b svg { width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; filter:drop-shadow(0 0 6px rgba(250,204,21,.38)); }
.hm-event-detail-copy .hm-tournament-player b em { font-style:normal; }
.hm-event-detail-copy .hm-tournament-player.is-winner { border-color:rgba(250,204,21,.46); background:linear-gradient(90deg,rgba(161,98,7,.2),rgba(8,145,178,.13)); box-shadow:inset 3px 0 #facc15,0 0 24px rgba(250,204,21,.06); }
.hm-event-detail-copy .hm-tournament-round.is-final .hm-tournament-match { border-color:rgba(250,204,21,.34); box-shadow:0 18px 46px rgba(0,0,0,.24),0 0 36px rgba(250,204,21,.06); }
.hm-event-detail-copy .hm-tournament-round.is-final > h5 { color:#facc15; }
@media(max-width:760px){.hm-event-card-actions{grid-template-columns:minmax(0,1fr) 52px}.hm-event-detail-head-actions{width:100%;justify-content:space-between}.hm-event-detail-copy .hm-tournament-grid{--hm-match-row:156px;gap:32px}.hm-event-detail-copy .hm-tournament-match::after{right:-33px;width:32px}.hm-event-detail-copy .hm-tournament-player b em{display:none}}

.hm-rules-entry { grid-column: 1 / -1; display: block; min-height: 0; padding: 0; overflow: hidden; }
.hm-rules-entry > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 35px; padding: 42px; background: linear-gradient(135deg, rgba(47,128,237,.2), rgba(93,52,208,.13)); }
.hm-rules-entry > header h2 { margin: 8px 0 0; color: #fff; font-size: clamp(34px, 4vw, 58px); letter-spacing: -.055em; text-transform: uppercase; }
.hm-rules-entry > header p:last-child { max-width: 620px; color: rgba(255,255,255,.6); }
.hm-rules-entry > header > span { align-self: flex-start; padding: 10px 13px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; color: #60a5fa; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.hm-rules-entry > .hm-rule-sections { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 14px; padding: 14px; background: rgba(2,4,14,.66); }
.hm-rule-card { overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 19px; background: linear-gradient(145deg, rgba(47,128,237,.1), rgba(8,7,29,.82)); }
.hm-rule-card.is-important { grid-column: 1 / -1; border-color: rgba(0,240,255,.28); background: linear-gradient(135deg, rgba(47,128,237,.2), rgba(93,52,208,.18) 52%, rgba(0,240,255,.07)); box-shadow: 0 0 55px rgba(47,128,237,.1); }
.hm-rule-card summary { display: grid; grid-template-columns: 45px minmax(0, 1fr) 38px; gap: 15px; align-items: center; min-height: 108px; padding: 22px 24px; cursor: pointer; list-style: none; }
.hm-rule-card summary::-webkit-details-marker { display: none; }
.hm-rule-card summary > span { color: #60a5fa; font: 850 11px/1 "Cascadia Code", Consolas, monospace; letter-spacing: .1em; }
.hm-rule-card summary h3 { margin: 0; color: #fff; font-size: 20px; letter-spacing: -.025em; }
.hm-rule-card summary small { display: block; margin-top: 7px; color: rgba(255,255,255,.38); font-size: 9px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.hm-rule-card summary i { position: relative; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; }
.hm-rule-card summary i::before, .hm-rule-card summary i::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 1px; background: #fff; transform: translate(-50%, -50%); transition: transform .25s ease; }
.hm-rule-card summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.hm-rule-card[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.hm-rule-card[open] summary { border-bottom: 1px solid rgba(255,255,255,.09); }
.hm-rule-card ol { display: grid; gap: 0; margin: 0; padding: 6px 24px 18px; list-style: none; }
.hm-rule-card li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.hm-rule-card li:last-child { border-bottom: 0; }
.hm-rule-card li > strong { color: #60a5fa; font: 800 11px/1.65 "Cascadia Code", Consolas, monospace; }
.hm-rule-card li p { margin: 0; color: rgba(255,255,255,.7); font-size: 13px; line-height: 1.68; }
.hm-rule-card li span { display: inline-block; margin-top: 8px; color: #8ab8ff; font-size: 10px; font-weight: 750; }
.hm-rule-card.is-important li p { color: rgba(255,255,255,.8); }
.hm-rules-entry > .hm-rules-footer { position: relative; padding: 30px 34px 34px; border-top: 1px solid rgba(255,255,255,.1); background: radial-gradient(circle at 13% 0%, rgba(59,130,246,.14), transparent 34%), radial-gradient(circle at 88% 100%, rgba(168,85,247,.14), transparent 31%), rgba(3,5,18,.76); }
.hm-rules-footer > p { max-width: 850px; margin: 0 0 22px; color: rgba(255,255,255,.55); font-size: 11px; line-height: 1.65; }
.hm-rule-actions { display: grid; grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr); gap: 12px; }
.hm-rule-action { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 52px minmax(0, 1fr) 42px; gap: 17px; align-items: center; min-height: 128px; padding: 22px 22px 22px 24px; border: 1px solid rgba(255,255,255,.14); border-radius: 22px; color: #fff; box-shadow: 0 18px 55px rgba(0,0,0,.22); transition: transform .35s cubic-bezier(.2,.9,.2,1), border-color .3s ease, box-shadow .35s ease; }
.hm-rule-action::before { content: ""; position: absolute; z-index: -1; inset: -80% -18% auto auto; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.19); filter: blur(8px); opacity: .3; transition: transform .55s cubic-bezier(.2,.9,.2,1), opacity .35s ease; }
.hm-rule-action-offer { border-color: rgba(96,165,250,.38); background: linear-gradient(125deg, #1d4ed8 0%, #2563eb 58%, #3b82f6 100%); box-shadow: 0 22px 65px rgba(37,99,235,.22), 0 0 52px rgba(59,130,246,.11); }
.hm-rule-action-support { background: radial-gradient(circle at 100% 0%, rgba(96,165,250,.13), transparent 42%), linear-gradient(145deg, rgba(29,78,216,.2), rgba(5,9,20,.93)); }
.hm-rule-action-icon, .hm-rule-action-arrow { display: grid; place-items: center; border: 1px solid rgba(255,255,255,.16); background: rgba(4,7,24,.25); backdrop-filter: blur(10px); }
.hm-rule-action-icon { width: 52px; height: 52px; border-radius: 16px; }
.hm-rule-action-arrow { width: 42px; height: 42px; border-radius: 50%; transition: transform .3s cubic-bezier(.2,.9,.2,1), background .3s ease; }
.hm-rule-action svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hm-rule-action-arrow svg { width: 18px; height: 18px; }
.hm-rule-action-copy { min-width: 0; }
.hm-rule-action-copy strong { display: block; font-size: clamp(17px, 1.7vw, 22px); letter-spacing: -.035em; line-height: 1.1; }
.hm-rule-action-copy small { display: block; margin-top: 7px; color: rgba(255,255,255,.62); font-size: 10px; font-weight: 650; line-height: 1.45; }
.hm-rule-action:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.3); box-shadow: 0 28px 75px rgba(0,0,0,.32), 0 0 58px rgba(59,130,246,.16); }
.hm-rule-action:hover::before { transform: translate(-18px, 18px) scale(1.12); opacity: .5; }
.hm-rule-action:hover .hm-rule-action-arrow { transform: translateX(4px); background: rgba(255,255,255,.14); }
.hm-rule-action:focus-visible { outline: 2px solid #60a5fa; outline-offset: 4px; }

/* Legal and support pages */
.hm-legal-page { min-height: 100svh; padding: calc(var(--header) + 42px) clamp(24px, 5vw, 92px) 110px; background: radial-gradient(circle at 12% 8%, rgba(37,99,235,.2), transparent 24%), radial-gradient(circle at 88% 29%, rgba(59,130,246,.1), transparent 28%), radial-gradient(circle at 50% 100%, rgba(96,165,250,.045), transparent 32%), #050914; }
.hm-legal-hero, .hm-support-hero { position: relative; isolation: isolate; overflow: hidden; width: min(1500px, 100%); margin: 0 auto; border: 0; border-radius: 32px; background-color: #050914; background-image: var(--hm-legal-image); background-position: center; background-size: cover; box-shadow: 0 34px 100px rgba(0,0,0,.34), 0 0 80px rgba(59,130,246,.09), inset 0 0 0 1px rgba(255,255,255,.13); }
.hm-legal-hero::before, .hm-support-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(100deg, rgba(3,5,18,.98) 0%, rgba(5,9,20,.93) 48%, rgba(29,78,216,.3) 100%), radial-gradient(circle at 77% 35%, rgba(96,165,250,.13), transparent 25%); }
.hm-legal-hero::after, .hm-support-hero::after { content: ""; position: absolute; z-index: -1; top: -55%; right: -10%; width: 630px; height: 630px; border-radius: 50%; background: conic-gradient(from 40deg, rgba(37,99,235,.36), rgba(59,130,246,.24), rgba(96,165,250,.13), rgba(37,99,235,.36)); filter: blur(55px); opacity: .28; }
.hm-legal-hero { min-height: 560px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(270px, .58fr); align-items: end; gap: 70px; padding: clamp(50px, 7vw, 100px); }
.hm-legal-hero-copy { max-width: 850px; }
.hm-legal-hero h1, .hm-support-hero h1 { margin: 0; color: #fff; font-size: clamp(62px, 8vw, 126px); font-weight: 800; letter-spacing: -.075em; line-height: .82; text-transform: uppercase; }
.hm-legal-hero h1 span, .hm-support-hero h1 span { color: #60a5fa; text-shadow: 0 0 36px rgba(59,130,246,.42); }
.hm-legal-hero-copy > p:last-child { max-width: 670px; margin: 34px 0 0; color: rgba(255,255,255,.66); font-size: clamp(15px, 1.2vw, 19px); line-height: 1.6; }
.hm-legal-meta { align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; margin: 0; padding: 0; }
.hm-legal-meta div { padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.hm-legal-meta div:first-child { border-top: 1px solid rgba(255,255,255,.13); }
.hm-legal-meta dt { color: rgba(255,255,255,.38); font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hm-legal-meta dd { margin: 7px 0 0; color: #fff; font-size: 15px; font-weight: 750; }

.hm-offer-layout { width: min(1420px, 100%); display: grid; grid-template-columns: 295px minmax(0, 1fr); gap: 26px; align-items: start; margin: 32px auto 0; }
.hm-offer-aside { position: sticky; top: calc(var(--header) + 24px); display: grid; gap: 14px; max-height: calc(100svh - var(--header) - 48px); }
.hm-offer-aside > div { min-height: 0; overflow: auto; padding: 25px 14px; border: 1px solid rgba(255,255,255,.1); border-radius: 24px; background: radial-gradient(circle at 100% 0%, rgba(59,130,246,.16), transparent 38%), rgba(9,10,31,.79); box-shadow: 0 20px 60px rgba(0,0,0,.22); backdrop-filter: blur(18px); }
.hm-offer-aside > div > p { margin: 0 11px 15px; color: rgba(255,255,255,.4); font-size: 9px; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.hm-offer-aside nav { display: grid; }
.hm-offer-aside nav a { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 9px; align-items: start; padding: 10px 11px; border-radius: 11px; color: rgba(255,255,255,.54); font-size: 10px; font-weight: 650; line-height: 1.35; transition: color .2s ease, background .2s ease, transform .2s ease; }
.hm-offer-aside nav a span { padding-top: 1px; color: #60a5fa; font: 800 9px/1.4 "Cascadia Code", Consolas, monospace; }
.hm-offer-aside nav a:hover, .hm-offer-aside nav a.is-active { color: #fff; background: linear-gradient(90deg, rgba(37,99,235,.23), rgba(59,130,246,.08)); transform: translateX(3px); }
.hm-offer-help { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 25px; padding: 20px 21px; overflow: hidden; border: 1px solid rgba(96,165,250,.26); border-radius: 20px; background: linear-gradient(125deg, rgba(29,78,216,.84), rgba(37,99,235,.82)); box-shadow: 0 18px 55px rgba(37,99,235,.16); }
.hm-offer-help span, .hm-support-rules span { color: rgba(255,255,255,.54); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hm-offer-help strong, .hm-support-rules strong { grid-column: 1; display: block; margin-top: 6px; color: #fff; font-size: 13px; }
.hm-offer-help svg, .hm-support-rules svg { grid-column: 2; grid-row: 1 / 3; align-self: center; width: 20px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s ease; }
.hm-offer-help:hover svg, .hm-support-rules:hover svg { transform: translateX(4px); }
.hm-offer-document { overflow: hidden; border: 1px solid rgba(255,255,255,.11); border-radius: 28px; background: radial-gradient(circle at 88% 2%, rgba(59,130,246,.1), transparent 19%), linear-gradient(155deg, rgba(8,15,35,.97), rgba(5,8,22,.98)); box-shadow: 0 28px 90px rgba(0,0,0,.28); }
.hm-offer-document > header { display: flex; justify-content: space-between; gap: 40px; align-items: flex-start; padding: clamp(38px, 5vw, 68px); border-bottom: 1px solid rgba(255,255,255,.1); background: linear-gradient(130deg, rgba(37,99,235,.15), rgba(59,130,246,.08), rgba(96,165,250,.025)); }
.hm-offer-document > header h2 { max-width: 850px; margin: 0; color: #fff; font-size: clamp(34px, 4vw, 62px); letter-spacing: -.055em; line-height: 1.02; }
.hm-offer-document > header .hm-kicker { margin-bottom: 13px; }
.hm-offer-document > header > span { flex: 0 0 auto; padding: 10px 13px; border: 1px solid rgba(255,255,255,.13); border-radius: 999px; color: #60a5fa; font: 800 9px/1 "Cascadia Code", Consolas, monospace; letter-spacing: .08em; }
.hm-offer-document-body { padding: clamp(38px, 5vw, 72px); counter-reset: hm-offer-section; }
.hm-offer-document-body h2 { position: relative; scroll-margin-top: calc(var(--header) + 30px); margin: 74px 0 25px; padding: 28px 80px 28px 0; border-top: 1px solid rgba(255,255,255,.11); color: #fff; font-size: clamp(25px, 2.5vw, 37px); letter-spacing: -.04em; line-height: 1.15; counter-increment: hm-offer-section; }
.hm-offer-document-body h2:first-child { margin-top: 0; }
.hm-offer-document-body h2::after { content: counter(hm-offer-section, decimal-leading-zero); position: absolute; top: 21px; right: 0; color: rgba(96,165,250,.25); font: 800 36px/1 "Inter", sans-serif; letter-spacing: -.06em; }
.hm-offer-document-body p, .hm-offer-document-body li { color: rgba(255,255,255,.68); font-size: 14px; line-height: 1.82; }
.hm-offer-document-body p { margin: 0 0 16px; }
.hm-offer-document-body ul, .hm-offer-document-body ol { display: grid; gap: 10px; margin: 16px 0 25px; padding-left: 21px; }
.hm-offer-document-body li::marker { color: #60a5fa; }
.hm-offer-document-body a { color: #60a5fa; text-decoration: underline; text-underline-offset: 3px; }
.hm-offer-document > footer { display: flex; justify-content: space-between; gap: 35px; align-items: center; padding: 31px clamp(38px, 5vw, 72px); border-top: 1px solid rgba(255,255,255,.1); background: rgba(59,130,246,.06); }
.hm-offer-document > footer small { display: block; color: rgba(255,255,255,.36); font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hm-offer-document > footer div a { display: inline-block; margin-top: 7px; color: #fff; font-size: 14px; font-weight: 750; }
.hm-offer-document > footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 19px; }
.hm-offer-document > footer nav a { color: rgba(255,255,255,.58); font-size: 11px; }
.hm-offer-document > footer nav a:hover { color: #60a5fa; }

.hm-support-hero { min-height: 570px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, .65fr); gap: 80px; align-items: center; padding: clamp(50px, 7vw, 100px); }
.hm-support-hero h1 { max-width: 850px; font-size: clamp(58px, 5.6vw, 100px); line-height: .88; }
.hm-support-hero > div > p:last-child { max-width: 700px; margin: 33px 0 0; color: rgba(255,255,255,.66); font-size: clamp(15px, 1.2vw, 19px); line-height: 1.6; }
.hm-support-hero > ul { margin: 0; padding: 0; list-style: none; }
.hm-support-hero li { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 18px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.hm-support-hero li:first-child { border-top: 1px solid rgba(255,255,255,.13); }
.hm-support-hero li > span { color: #60a5fa; font: 800 10px/1.6 "Cascadia Code", Consolas, monospace; }
.hm-support-hero li strong { color: #fff; font-size: 15px; }
.hm-support-hero li p { margin: 7px 0 0; color: rgba(255,255,255,.48); font-size: 11px; line-height: 1.5; }
.hm-support-layout { width: min(1420px, 100%); display: grid; grid-template-columns: minmax(0, 1fr) 365px; gap: 24px; align-items: start; margin: 32px auto 0; }
.hm-support-form-card { overflow: hidden; border: 1px solid rgba(255,255,255,.11); border-radius: 28px; background: radial-gradient(circle at 100% 0%, rgba(59,130,246,.11), transparent 24%), linear-gradient(145deg, rgba(8,15,35,.97), rgba(5,8,22,.98)); box-shadow: 0 28px 90px rgba(0,0,0,.28); }
.hm-support-form-card > header { display: flex; justify-content: space-between; gap: 30px; align-items: flex-start; padding: 39px clamp(27px, 4vw, 54px); border-bottom: 1px solid rgba(255,255,255,.09); }
.hm-support-form-card > header .hm-kicker { margin-bottom: 10px; }
.hm-support-form-card > header h2 { margin: 0; color: #fff; font-size: clamp(31px, 3.4vw, 50px); letter-spacing: -.05em; }
.hm-support-form-card > header > span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 13px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; color: rgba(255,255,255,.58); font-size: 9px; font-weight: 750; text-transform: uppercase; }
.hm-support-form-card > header > span i { width: 6px; height: 6px; border-radius: 50%; background: #61f5a4; box-shadow: 0 0 13px #61f5a4; }
#hm-ticket-form { padding: clamp(28px, 4vw, 54px); }
.hm-support-fields { display: grid; gap: 18px; margin-top: 18px; }
.hm-support-fields:first-child { margin-top: 0; }
.hm-support-fields-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hm-support-fields label { display: grid; gap: 9px; min-width: 0; }
.hm-support-fields label > span { color: rgba(255,255,255,.56); font-size: 9px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.hm-support-fields label > span b { color: #60a5fa; }
.hm-support-fields input, .hm-support-fields select, .hm-support-fields textarea { width: 100%; border: 1px solid rgba(255,255,255,.13); border-radius: 15px; outline: 0; background: rgba(2,5,18,.72); color: #fff; font: 500 13px/1.5 "Inter", sans-serif; box-shadow: inset 0 1px rgba(255,255,255,.025); transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.hm-support-fields input, .hm-support-fields select { height: 56px; padding: 0 17px; }
.hm-support-fields textarea { min-height: 175px; padding: 16px 17px; resize: vertical; }
.hm-support-fields input::placeholder, .hm-support-fields textarea::placeholder { color: rgba(255,255,255,.26); }
.hm-support-fields input:focus, .hm-support-fields select:focus, .hm-support-fields textarea:focus { border-color: rgba(96,165,250,.58); background: rgba(7,12,34,.9); box-shadow: 0 0 0 3px rgba(59,130,246,.08), 0 0 28px rgba(37,99,235,.09); }
.hm-support-fields select { color-scheme: dark; cursor: pointer; }
.hm-support-submit-row { display: flex; justify-content: space-between; gap: 35px; align-items: center; margin-top: 24px; }
.hm-support-submit-row > p { max-width: 420px; margin: 0; color: rgba(255,255,255,.35); font-size: 10px; line-height: 1.5; }
.hm-support-submit-row > p a { color: rgba(255,255,255,.67); text-decoration: underline; text-underline-offset: 3px; }
.hm-submit-btn { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-width: 240px; padding: 17px 19px 17px 23px; border: 1px solid rgba(96,165,250,.31); border-radius: 16px; background: linear-gradient(100deg, #1d4ed8, #2563eb 63%, #3b82f6); color: #fff; font-size: 11px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; box-shadow: 0 18px 52px rgba(37,99,235,.22); transition: transform .3s cubic-bezier(.2,.9,.2,1), box-shadow .3s ease, opacity .2s ease; }
.hm-submit-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s ease; }
.hm-submit-btn:hover { transform: translateY(-3px); box-shadow: 0 25px 65px rgba(59,130,246,.3); }
.hm-submit-btn:hover svg { transform: translateX(4px); }
.hm-submit-btn:disabled { opacity: .55; cursor: wait; transform: none; }
.hm-support-status { margin: 20px 0 0; padding: 13px 15px; border: 1px solid rgba(255,0,110,.3); border-radius: 12px; background: rgba(255,0,110,.08); color: #ff9bc4; font-size: 11px; }
.hm-ticket-success { min-height: 535px; display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 28px; place-content: center; padding: clamp(45px, 7vw, 90px); }
.hm-ticket-success[hidden] { display: none; }
.hm-ticket-success > span { display: grid; width: 86px; height: 86px; place-items: center; border: 1px solid rgba(96,165,250,.28); border-radius: 26px; background: linear-gradient(145deg, rgba(29,78,216,.48), rgba(37,99,235,.42)); box-shadow: 0 0 55px rgba(37,99,235,.2); }
.hm-ticket-success > span svg { width: 39px; fill: none; stroke: #60a5fa; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hm-ticket-success h2 { margin: 0; color: #fff; font-size: clamp(36px, 5vw, 62px); letter-spacing: -.055em; }
.hm-ticket-success div > p:not(.hm-kicker) { margin: 15px 0 0; color: rgba(255,255,255,.58); }
.hm-ticket-success a { display: inline-block; margin-top: 24px; color: #60a5fa; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.hm-support-aside { display: grid; gap: 14px; }
.hm-support-aside > article { display: grid; grid-template-columns: 47px minmax(0, 1fr); gap: 18px; padding: 25px; border: 1px solid rgba(255,255,255,.1); border-radius: 22px; background: radial-gradient(circle at 100% 0%, rgba(59,130,246,.14), transparent 40%), rgba(9,10,31,.78); box-shadow: 0 20px 58px rgba(0,0,0,.2); }
.hm-support-aside > article > span { display: grid; width: 47px; height: 47px; place-items: center; border: 1px solid rgba(255,255,255,.13); border-radius: 14px; background: rgba(59,130,246,.12); color: #60a5fa; }
.hm-support-aside > article > span svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hm-support-aside small { display: block; color: rgba(255,255,255,.38); font-size: 9px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.hm-support-aside article a, .hm-support-aside article strong { display: block; margin-top: 7px; color: #fff; font-size: 15px; font-weight: 750; }
.hm-support-aside article p { margin: 9px 0 0; color: rgba(255,255,255,.46); font-size: 11px; line-height: 1.55; }
.hm-support-aside article nav { display: flex; gap: 14px; margin-top: 14px; }
.hm-support-aside article nav a { margin: 0; color: #60a5fa; font-size: 10px; text-transform: uppercase; }
.hm-support-rules { display: grid; grid-template-columns: minmax(0, 1fr) 24px; padding: 22px 23px; border: 1px solid rgba(96,165,250,.24); border-radius: 20px; background: linear-gradient(125deg, rgba(29,78,216,.78), rgba(37,99,235,.74)); box-shadow: 0 18px 55px rgba(37,99,235,.14); }

.hm-play-dialog { width: min(860px, calc(100% - 36px)); max-height: calc(100dvh - 36px); padding: 0; overflow: auto; border: 1px solid rgba(255,255,255,.16); border-radius: 28px; outline: 0; background: radial-gradient(circle at 88% 8%, rgba(93,52,208,.3), transparent 34%), #060718; color: #fff; box-shadow: 0 35px 110px rgba(0,0,0,.75), 0 0 90px rgba(47,128,237,.18); }
.hm-play-dialog::backdrop { background: rgba(1,3,10,.78); backdrop-filter: blur(12px); }
.hm-play-dialog-close { position: absolute; z-index: 2; top: 22px; right: 22px; display: grid; width: 48px !important; min-width: 48px !important; height: 48px !important; min-height: 48px !important; aspect-ratio: 1; place-items: center; padding: 0 !important; border: 1px solid rgba(255,255,255,.18); border-radius: 50% !important; appearance: none; background: rgba(6,9,24,.82); color: #fff; line-height: 0; box-shadow: 0 8px 24px rgba(0,0,0,.24); cursor: pointer; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.hm-play-dialog-close:hover { border-color: rgba(125,178,255,.72); background: rgba(37,99,235,.46); transform: rotate(4deg); }
.hm-play-dialog-close:focus-visible { outline: 2px solid #7db2ff; outline-offset: 3px; }
.hm-play-dialog-close svg { display: block; width: 20px; height: 20px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.hm-play-dialog-head { padding: 50px 50px 34px; }
.hm-play-dialog-head h2 { margin: 0; font-size: clamp(42px, 6vw, 68px); letter-spacing: -.06em; line-height: .92; text-transform: uppercase; }
.hm-play-dialog-head > p:last-child { margin: 17px 0 0; color: rgba(255,255,255,.56); }
.hm-play-dialog-steps { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0 34px; list-style: none; }
.hm-play-dialog-steps li { min-height: 230px; padding: 25px 20px; border-top: 1px solid rgba(255,255,255,.1); border-right: 1px solid rgba(255,255,255,.1); }
.hm-play-dialog-steps li:last-child { border-right: 0; }
.hm-play-dialog-steps li > span { color: #00f0ff; font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.hm-play-dialog-steps strong { display: block; margin-top: 35px; font-size: 18px; text-transform: uppercase; }
.hm-play-dialog-steps p { margin: 9px 0 0; color: rgba(255,255,255,.55); font-size: 12px; line-height: 1.55; }
.hm-play-dialog-steps button { width: 100%; margin-top: 18px; padding: 13px 14px; border: 1px solid rgba(0,240,255,.28); border-radius: 12px; background: rgba(47,128,237,.12); color: #fff; text-align: left; cursor: pointer; }
.hm-play-dialog-steps button small { display: block; margin-top: 6px; color: #00f0ff; font-size: 9px; text-transform: uppercase; }
.hm-play-dialog-actions { display: flex; gap: 9px; padding: 28px 50px 42px; }
.hm-play-dialog-actions a { flex: 1; padding: 14px 16px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; background: rgba(255,255,255,.05); color: #fff; font-size: 11px; font-weight: 800; text-align: center; }
.hm-play-dialog-actions a:first-child { border: 0; background: linear-gradient(90deg, #2f80ed, #526bd8); }
.hm-footer-column button { padding: 0; border: 0; background: none; color: rgba(255,255,255,.54); font-size: 11px; text-align: left; cursor: pointer; }
.hm-footer-column button:hover { color: #fff; }

.hm-wiki-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 520px; border: 0; border-radius: 30px; background-image: linear-gradient(90deg, rgba(3,5,18,.97) 0%, rgba(3,5,18,.74) 48%, rgba(3,5,18,.2) 100%), var(--hm-wiki-hero-image); background-position: center; background-size: cover; box-shadow: 0 30px 90px rgba(0,0,0,.38), 0 0 80px rgba(59,130,246,.12); }
.hm-wiki-hero::after { content: ""; position: absolute; z-index: -1; inset: -45% 15% -55% 45%; background: conic-gradient(from 210deg, #2f80ed, #526bd8, #0092ff, #4f6fd8, #2f80ed); filter: blur(78px); opacity: .18; animation: hm-aurora-drift 18s ease-in-out infinite alternate; }
.hm-wiki-hero > div:first-child { min-width: 0; max-width: 690px; }
.hm-wiki-hero h1 { color: #fff; font-size: clamp(60px, 6.1vw, 94px); letter-spacing: 0; line-height: 1.12; text-shadow: 0 10px 45px rgba(0,0,0,.4); }
.hm-wiki-hero h1 span { color: transparent; background: linear-gradient(90deg, #2f80ed, #6378e8); background-clip: text; -webkit-background-clip: text; letter-spacing: 0; filter: drop-shadow(0 0 18px rgba(47,128,237,.22)); }
.hm-wiki-search-wrap { width: 100%; align-self: center; }
.hm-wiki-search-wrap > div { position: relative; }
.hm-wiki-search-wrap > div > svg { position: absolute; top: 50%; left: 20px; z-index: 2; color: #00f0ff; font-size: 21px; transform: translateY(-50%); }
.hm-wiki-search-wrap input { height: 72px; padding-left: 56px; border: 1px solid rgba(255,255,255,.2); border-radius: 19px; background: rgba(4,5,18,.65); box-shadow: 0 16px 50px rgba(0,0,0,.22); backdrop-filter: blur(18px); }
.hm-wiki-search-wrap input:focus { border-color: #526bd8; box-shadow: 0 0 36px rgba(47,128,237,.14); }
.hm-wiki-filters { gap: 8px; padding: 8px; border: 1px solid rgba(255,255,255,.12); border-radius: 20px; background: rgba(6,7,24,.78); box-shadow: 0 15px 45px rgba(0,0,0,.28); }
.hm-wiki-filters button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 58px; border: 0; border-radius: 13px; }
.hm-wiki-filters button > svg { color: #00f0ff; font-size: 18px; }
.hm-wiki-filters button.is-active { background: linear-gradient(90deg, #2f80ed, #526bd8); box-shadow: 0 0 26px rgba(47,128,237,.2); }
.hm-wiki-filters button.is-active > svg, .hm-wiki-filters button.is-active span { color: #fff; }
.hm-wiki-index { gap: 14px; border: 0; }
.hm-wiki-entry { position: relative; isolation: isolate; overflow: hidden; min-height: 310px; border: 1px solid rgba(255,255,255,.1); border-radius: 22px; background: linear-gradient(145deg, rgba(59,130,246,.11), rgba(10,8,35,.8)); box-shadow: 0 16px 48px rgba(0,0,0,.2); transition: transform .45s cubic-bezier(.2,.9,.2,1), border-color .35s ease, box-shadow .35s ease; }
.hm-wiki-entry::before { content: ""; position: absolute; z-index: -2; inset: 0; background-image: var(--hm-entry-image); background-position: center; background-size: cover; opacity: .1; filter: saturate(1.3); transition: opacity .35s ease, transform .6s ease; }
.hm-wiki-entry::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(145deg, rgba(5,6,22,.88), rgba(5,6,22,.98) 72%); }
.hm-wiki-entry:hover { border-color: rgba(71,102,214,.55); box-shadow: 0 24px 65px rgba(59,130,246,.16); transform: translateY(-7px); }
.hm-wiki-entry:hover::before { opacity: .2; transform: scale(1.06); }
.hm-wiki-entry > div > span { display: grid; width: 50px; height: 50px; place-items: center; border-radius: 16px; background: linear-gradient(135deg, #2f80ed, #526bd8); color: #fff; box-shadow: 0 0 28px rgba(47,128,237,.2); }
.hm-wiki-entry > div > span svg { font-size: 24px; }
.hm-wiki-entry > div > span.has-pet-icon { width: 72px; height: 72px; overflow: hidden; background: rgba(47,128,237,.1); box-shadow: inset 0 0 0 1px rgba(96,165,250,.2), 0 12px 30px rgba(0,0,0,.22); }
.hm-wiki-pet-icon { width: 64px; height: 64px; object-fit: contain; filter: drop-shadow(0 10px 12px rgba(0,0,0,.45)); }
.hm-wiki-entry h2 { color: #fff; }
.hm-wiki-more { border: 0; border-radius: 999px; background: linear-gradient(90deg, #2f80ed, #526bd8); box-shadow: 0 14px 38px rgba(47,128,237,.18); }

/* Wiki 1.2 — readable player-facing records */
.hm-pets-toolbar { width: min(1320px, 100%); margin: 22px auto 0; }
.hm-pets-toolbar[hidden] { display: none; }
.hm-pets-acquisition { display: grid; grid-template-columns: minmax(330px, 1fr) auto auto; gap: 24px; align-items: center; padding: 26px; border: 1px solid rgba(255,255,255,.12); border-radius: 24px; background: #060b18; box-shadow: 0 18px 60px rgba(0,0,0,.22); }
.hm-pets-acquisition-copy { display: flex; align-items: center; gap: 18px; }
.hm-pets-acquisition-copy > span { display: grid; flex: 0 0 auto; width: 54px; height: 54px; place-items: center; border-radius: 16px; background: rgba(47,128,237,.14); color: #60a5fa; font-size: 25px; }
.hm-pets-acquisition-copy small, .hm-pet-rarity-filters small { color: #60a5fa; font-size: 9px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.hm-pets-acquisition-copy h2 { margin: 4px 0 0; color: #fff; font-size: 25px; letter-spacing: -.01em; }
.hm-pets-acquisition-copy p { margin: 7px 0 0; color: rgba(255,255,255,.65); font-size: 14px; line-height: 1.5; }
.hm-pet-prices { display: flex; gap: 7px; margin: 0; padding: 0; list-style: none; }
.hm-pet-prices li { min-width: 104px; padding: 12px 13px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: rgba(255,255,255,.025); }
.hm-pet-prices span { display: block; color: rgba(255,255,255,.5); font-size: 9px; font-weight: 800; }
.hm-pet-prices strong { display: flex; align-items: center; gap: 5px; margin-top: 5px; color: #fff; font-size: 15px; }
.hm-pet-prices strong img { width: 18px; height: 18px; flex: 0 0 auto; object-fit: contain; filter: drop-shadow(0 0 8px currentColor); }
.hm-pet-prices li[data-rarity="rare"] strong { color: #60a5fa; }
.hm-pet-prices li[data-rarity="epic"] strong { color: #a9b7ff; }
.hm-pet-prices li[data-rarity="legendary"] strong { color: #f7c65b; }
.hm-pets-shop { display: flex; min-height: 54px; align-items: center; justify-content: center; gap: 10px; padding: 0 21px; border-radius: 13px; background: #276de5; color: #fff; font-size: 12px; font-weight: 850; text-align: center; text-transform: uppercase; box-shadow: 0 14px 34px rgba(39,109,229,.25); }
.hm-pets-shop:hover { background: #347bf3; transform: translateY(-2px); }
.hm-pets-shop svg { flex: 0 0 auto; font-size: 18px; }
.hm-pet-rarity-filters { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 10px; padding: 18px 20px; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; background: #050a16; }
.hm-pet-rarity-filters > div { display: grid; gap: 4px; }
.hm-pet-rarity-filters > div strong { color: rgba(255,255,255,.78); font-size: 13px; }
.hm-pet-rarity-filters nav { display: flex; gap: 7px; }
.hm-pet-rarity-filters button { min-height: 44px; padding: 0 15px; border: 1px solid rgba(255,255,255,.11); border-radius: 11px; background: rgba(255,255,255,.025); color: rgba(255,255,255,.7); font-size: 11px; font-weight: 800; cursor: pointer; }
.hm-pet-rarity-filters button span { margin-left: 7px; color: #7db2ff; font-size: 9px; }
.hm-pet-rarity-filters button:hover { color: #fff; border-color: rgba(96,165,250,.45); }
.hm-pet-rarity-filters button.is-active { border-color: #276de5; background: #276de5; color: #fff; box-shadow: 0 10px 26px rgba(39,109,229,.2); }
.hm-pet-rarity-filters button.is-active span { color: #fff; }
.hm-skills-browser { width: min(1320px, 100%); margin: 22px auto 0; padding: clamp(26px, 3.5vw, 50px); border: 1px solid rgba(255,255,255,.11); border-radius: 26px; background: #060b18; box-shadow: 0 20px 70px rgba(0,0,0,.24); scroll-margin-top: calc(var(--header) + 24px); }
.hm-skills-browser[hidden] { display: none; }
.hm-skills-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.hm-skills-head > div { max-width: 760px; }
.hm-skills-head h2 { margin: 8px 0 0; color: #fff; font-size: clamp(36px, 4vw, 58px); letter-spacing: -.05em; line-height: 1; text-transform: uppercase; }
.hm-skills-head p:not(.hm-kicker) { margin: 18px 0 0; color: rgba(255,255,255,.68); font-size: 16px; line-height: 1.65; }
.hm-skills-head > span { flex: 0 0 auto; color: #7db2ff; font-size: 13px; font-weight: 800; }
.hm-skill-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 36px; padding: 7px; border: 1px solid rgba(255,255,255,.1); border-radius: 17px; background: #030712; }
.hm-skill-tabs button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 11px; background: transparent; color: rgba(255,255,255,.6); font-size: 13px; font-weight: 800; cursor: pointer; }
.hm-skill-tab-icon { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 9px; object-fit: cover; object-position: center 42%; box-shadow: 0 0 0 1px rgba(255,255,255,.16); filter: saturate(.82) brightness(.84); transition: filter .2s ease, transform .2s ease; }
.hm-skill-tabs button:hover .hm-skill-tab-icon, .hm-skill-tabs button.is-active .hm-skill-tab-icon { filter: saturate(1.12) brightness(1); transform: scale(1.04); }
.hm-skill-tabs button:hover { color: #fff; background: rgba(255,255,255,.05); }
.hm-skill-tabs button.is-active { color: #fff; background: #276de5; box-shadow: 0 10px 28px rgba(39,109,229,.24); }
.hm-skill-class { display: grid; grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr); gap: 14px; margin-top: 14px; }
.hm-skill-class[hidden] { display: none; }
.hm-skill-timeline [hidden], .hm-attribute-grid [hidden], .hm-skill-attributes[hidden] { display: none !important; }
.hm-skill-class > header { position: relative; isolation: isolate; overflow: hidden; min-height: 610px; display: flex; align-items: flex-end; padding: 34px; border-radius: 20px; background-image: var(--hm-skill-class-image); background-position: center; background-size: cover; }
.hm-skill-class > header::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, rgba(3,7,18,.98) 0%, rgba(3,7,18,.65) 50%, rgba(3,7,18,.08) 100%); }
.hm-skill-class > header small { color: #60a5fa; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hm-skill-class > header h3 { margin: 10px 0 0; color: #fff; font-size: clamp(38px, 4vw, 60px); letter-spacing: -.055em; line-height: .95; text-transform: uppercase; }
.hm-skill-class > header p { margin: 18px 0 0; color: rgba(255,255,255,.76); font-size: 16px; line-height: 1.6; }
.hm-skill-timeline { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.hm-skill-timeline li { display: grid; grid-template-columns: 66px 1fr; gap: 20px; align-items: start; min-height: 112px; padding: 22px; border: 1px solid rgba(255,255,255,.1); border-radius: 17px; background: #080e1e; }
.hm-skill-timeline li > strong { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 15px; background: #276de5; color: #fff; font-size: 24px; }
.hm-skill-timeline small { color: #60a5fa; font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hm-skill-timeline h4 { margin: 5px 0 0; color: #fff; font-size: 20px; letter-spacing: -.02em; }
.hm-skill-timeline p { margin: 8px 0 0; color: rgba(255,255,255,.68); font-size: 14px; line-height: 1.55; }
.hm-skill-attributes { margin-top: 56px; padding-top: 46px; border-top: 1px solid rgba(255,255,255,.1); }
.hm-skill-attributes > header { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.hm-skill-attributes > header > div { max-width: 720px; }
.hm-skill-attributes h3 { margin: 8px 0 0; color: #fff; font-size: clamp(30px, 3vw, 44px); letter-spacing: -.045em; line-height: 1.02; text-transform: uppercase; }
.hm-skill-attributes header p:not(.hm-kicker) { margin: 14px 0 0; color: rgba(255,255,255,.62); font-size: 14px; line-height: 1.6; }
.hm-skill-attributes header > span { flex: 0 0 auto; color: #7db2ff; font-size: 12px; font-weight: 800; }
.hm-attribute-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin-top: 28px; }
.hm-attribute-grid article { display: grid; grid-template-columns: 42px 1fr; gap: 14px; min-height: 126px; align-content: start; padding: 18px; border: 1px solid rgba(255,255,255,.09); border-radius: 14px; background: #080e1e; }
.hm-attribute-grid article[hidden], [data-attributes-more][hidden] { display: none; }
.hm-attribute-grid article > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 11px; background: rgba(39,109,229,.14); color: #60a5fa; font-size: 19px; }
.hm-attribute-grid h4 { margin: 1px 0 0; color: #fff; font-size: 16px; letter-spacing: -.02em; }
.hm-attribute-grid p { margin: 7px 0 0; color: rgba(255,255,255,.61); font-size: 12px; line-height: 1.55; }
[data-attributes-more] { display: block; min-width: 240px; margin: 24px auto 0; padding: 15px 20px; border: 1px solid rgba(96,165,250,.38); border-radius: 999px; background: rgba(39,109,229,.08); color: #fff; font-size: 10px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
[data-attributes-more]:hover { border-color: #60a5fa; background: rgba(39,109,229,.16); }

.hm-wiki-index { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hm-wiki-entry { padding: 30px; }
.hm-article-card { min-height: 330px; }
.hm-article-card h2 { margin-top: 30px; font-size: 28px; line-height: 1.08; }
.hm-article-card p { color: rgba(255,255,255,.7); font-size: 15px; line-height: 1.65; }
.hm-pet-card { --hm-pet-rarity: #60a5fa; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; min-height: 370px; padding: 22px; background: #060b18; }
.hm-pet-card[data-rarity="epic"] { --hm-pet-rarity: #a855f7; }
.hm-pet-card[data-rarity="legendary"] { --hm-pet-rarity: #f7c65b; }
.hm-pet-card::before, .hm-pet-card::after { display: none; }
.hm-pet-card:hover { transform: translateY(-5px); }
.hm-pet-card > .hm-pet-visual { position: relative; display: flex; min-width: 0; align-items: center; justify-content: center; overflow: hidden; padding: 18px; border: 1px solid rgba(255,255,255,.08); border-radius: 18px; background: #030712; }
.hm-pet-card > .hm-pet-visual::after { content: ""; position: absolute; right: 22px; bottom: 18px; left: 22px; height: 2px; background: linear-gradient(90deg, transparent, var(--hm-pet-rarity), transparent); box-shadow: 0 0 18px var(--hm-pet-rarity); opacity: .72; }
.hm-pet-visual img { width: 100%; max-width: 195px; height: auto; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 22px 20px rgba(0,0,0,.5)); transform: scale(1.06); }
.hm-wiki-entry.hm-pet-card > .hm-pet-visual > span { position: absolute; top: 18px; left: 18px; display: flex; width: auto; height: auto; align-items: center; gap: 8px; overflow: visible; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; color: var(--hm-pet-rarity); font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; text-shadow: 0 0 18px var(--hm-pet-rarity); }
.hm-wiki-entry.hm-pet-card > .hm-pet-visual > span::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; box-shadow: 0 0 12px currentColor; }
.hm-pet-card > .hm-pet-content { display: flex; min-width: 0; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; }
.hm-pet-content > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.hm-pet-content header small { color: var(--hm-pet-rarity); font-size: 10px; }
.hm-pet-content h2 { margin: 6px 0 0; overflow-wrap: normal; font-size: 28px; line-height: 1.06; }
.hm-pet-content header > strong { flex: 0 0 auto; padding: 8px 11px; border-radius: 9px; background: rgba(255,255,255,.055); color: rgba(255,255,255,.72); font-size: 12px; text-transform: uppercase; }
.hm-pet-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin: 16px 0 0; }
.hm-pet-stats div { padding: 11px 12px; border: 1px solid rgba(255,255,255,.09); border-radius: 11px; background: rgba(255,255,255,.025); }
.hm-pet-stats dt { color: rgba(255,255,255,.46); font-size: 9px; text-transform: uppercase; }
.hm-pet-stats dd { margin: 5px 0 0; color: #fff; font-size: 17px; font-weight: 850; }
.hm-pet-bonuses { margin-top: 18px; }
.hm-pet-bonuses > small { color: rgba(255,255,255,.48); font-size: 9px; }
.hm-pet-bonuses ul { display: grid; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.hm-pet-bonuses li { display: flex; justify-content: space-between; gap: 18px; padding-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.07); color: rgba(255,255,255,.72); font-size: 13px; }
.hm-pet-bonuses li strong { color: var(--hm-pet-rarity); }
.hm-content-card { position: relative; isolation: isolate; overflow: hidden; min-height: 530px; justify-content: space-between; border: 1px solid rgba(255,255,255,.11); border-radius: 22px; background-image: var(--hm-entry-image); background-position: center; background-size: cover; }
.hm-content-card::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(3,7,18,.2), rgba(3,7,18,.8) 48%, #030712 100%); }
.hm-content-card::after { content: ""; position: absolute; z-index: -1; inset: 0; box-shadow: inset 0 0 0 1px rgba(125,178,255,.07); pointer-events: none; }
.hm-content-card > header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hm-content-card > header > span { display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 13px; background: rgba(3,7,18,.72); color: #60a5fa; font-size: 21px; backdrop-filter: blur(10px); }
.hm-content-card > header small, .hm-content-card > header strong { padding: 9px 11px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(3,7,18,.72); color: #fff; font-size: 10px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; backdrop-filter: blur(10px); }
.hm-content-card .hm-content-card-copy { display: block; }
.hm-content-card-copy .hm-kicker { margin: 0; color: #60a5fa; font-size: 10px; }
.hm-content-card-copy h2 { margin: 8px 0 0; color: #fff; font-size: clamp(30px, 3vw, 44px); line-height: .98; }
.hm-content-card-copy > p:not(.hm-kicker) { max-width: 620px; margin: 15px 0 0; color: rgba(255,255,255,.72); font-size: 14px; line-height: 1.6; }
.hm-content-card-copy dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin: 22px 0 0; }
.hm-content-card-copy dl div { padding: 13px 14px; border: 1px solid rgba(255,255,255,.11); border-radius: 11px; background: rgba(3,7,18,.72); backdrop-filter: blur(8px); }
.hm-content-card-copy dt { color: rgba(255,255,255,.45); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.hm-content-card-copy dd { margin: 6px 0 0; color: #fff; font-size: 15px; font-weight: 800; }
.hm-dungeon-card { overflow: hidden; border-color: rgba(125,178,255,.26); background: #030712; background-image: none; background-clip: padding-box; box-shadow: inset 0 0 0 1px rgba(3,7,18,.9), 0 16px 48px rgba(0,0,0,.2); }
.hm-dungeon-card::before { z-index: -2; inset: 1px; border-radius: 20px; background: var(--hm-entry-image) center/cover no-repeat; opacity: .88; filter: saturate(1.08) brightness(1.12); }
.hm-dungeon-card::after { z-index: -1; inset: 1px; border-radius: 20px; background: linear-gradient(180deg, rgba(3,7,18,.04) 0%, rgba(3,7,18,.14) 38%, rgba(3,7,18,.68) 72%, rgba(3,7,18,.94) 100%), linear-gradient(90deg, rgba(3,7,18,.2), rgba(3,7,18,.04) 48%, rgba(3,7,18,.22)); box-shadow: none; pointer-events: none; }
.hm-dungeon-card:hover::before { opacity: .96; }
.hm-dungeon-card > header { justify-content: flex-end; }
.hm-dungeon-card > header small { display: inline-flex; align-items: center; gap: 4px; padding: 9px 12px; color: #fff; line-height: 1; text-shadow: 0 0 14px rgba(125,178,255,.45); }
.hm-dungeon-card > header small svg { display: block; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; filter: drop-shadow(0 0 7px rgba(125,178,255,.5)); }
.hm-dungeon-skull-half { display: block; width: 9px; overflow: hidden; }
.hm-dungeon-skull-half svg { min-width: 17px; }
.hm-dungeon-card .hm-content-card-copy .hm-kicker { color: #67adff; }
.hm-event-card .hm-content-card-copy dl { grid-template-columns: 1fr 1fr 1.35fr; }
.hm-event-card > header strong { color: #8ab8ff; }

@keyframes hm-aurora-drift { from { transform: translate3d(-3%, -2%, 0) rotate(-4deg) scale(.96); } to { transform: translate3d(4%, 3%, 0) rotate(6deg) scale(1.06); } }

@media (max-width: 1120px) {
  .hm-wiki-hero { grid-template-columns: minmax(0, 1fr) minmax(340px, .8fr); gap: 36px; padding: 46px; }
  .hm-wiki-hero h1 { font-size: clamp(54px, 7vw, 76px); }
  .hm-world-system-grid { grid-auto-rows: 255px; }
  .hm-events-hero { grid-template-columns: minmax(0, 1.25fr) minmax(280px, .55fr); gap: 38px; }
}

@media (max-width: 1020px) {
  .hm-events-hero { grid-template-columns: 1fr; gap: 40px; }
  .hm-events-hero-copy { max-width: 520px; }
}

@media (max-width: 820px) {
  .hm-world-systems > header, .hm-events-hero { grid-template-columns: 1fr; }
  .hm-world-systems > header { gap: 22px; }
  .hm-world-system-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 235px; }
  .hm-world-system-grid > a.is-wide, .hm-world-system-grid > a.is-panorama { grid-column: span 2; }
  .hm-world-system-grid > a { padding: 22px; }
  .hm-world-system-grid h3, .hm-world-system-grid > a:not(.is-wide):not(.is-panorama) h3 { font-size: clamp(22px, 5.5vw, 30px); }
  .hm-events-hero { min-height: 620px; gap: 40px; padding: 38px 26px; }
  .hm-events-hero h1 { font-size: clamp(46px, 13vw, 70px); }
  .hm-events-hero-copy { max-width: 480px; }
  .hm-daily-events, .hm-event-feed { margin-top: 78px; }
  .hm-events-section-head { display: block; }
  .hm-events-section-head > span, .hm-events-section-head > p { margin-top: 15px; }
  .hm-daily-event-grid { grid-template-columns: 1fr; }
  .hm-rules-entry > .hm-rule-sections { grid-template-columns: 1fr; }
  .hm-rule-card.is-important { grid-column: auto; }
  .hm-play-dialog-steps { grid-template-columns: 1fr; }
  .hm-play-dialog-steps li { min-height: 0; border-right: 0; }
  .hm-play-dialog-actions { flex-direction: column; }
}

@media (max-width: 470px) {
  .hm-world-system-grid { grid-template-columns: 1fr; grid-auto-rows: 230px; }
  .hm-world-system-grid > a.is-wide, .hm-world-system-grid > a.is-panorama { grid-column: auto; }
  .hm-events-hero { min-height: 570px; }
  .hm-daily-event { min-height: 530px; padding: 22px; }
  .hm-daily-event > header { align-items: flex-start; flex-direction: column; }
  .hm-daily-event dl { grid-template-columns: 1fr; }
  .hm-event-feed-empty { grid-template-columns: 1fr; padding: 28px 22px; }
  .hm-event-feed-empty > span { width: 72px; height: 72px; border-radius: 21px; }
  .hm-rules-entry > header { display: block; padding: 28px 22px; }
  .hm-rules-entry > header > span { display: inline-block; margin-top: 18px; }
  .hm-rules-entry > .hm-rules-footer { padding: 25px 18px 20px; }
  .hm-rule-actions { grid-template-columns: 1fr; }
  .hm-rule-action { grid-template-columns: 48px minmax(0, 1fr) 38px; gap: 13px; min-height: 112px; padding: 19px 17px; }
  .hm-rule-action-icon { width: 48px; height: 48px; border-radius: 14px; }
  .hm-rule-action-arrow { width: 38px; height: 38px; }
  .hm-rule-action-copy strong { font-size: 17px; }
  .hm-rule-card summary { grid-template-columns: 36px minmax(0, 1fr) 34px; gap: 10px; padding: 19px 17px; }
  .hm-rule-card summary h3 { font-size: 17px; }
  .hm-rule-card ol { padding: 5px 17px 14px; }
  .hm-rule-card li { grid-template-columns: 38px minmax(0, 1fr); gap: 9px; }
  .hm-play-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 20px); border-radius: 21px; }
  .hm-play-dialog-head { padding: 62px 24px 28px; }
  .hm-play-dialog-steps { padding: 0 17px; }
  .hm-play-dialog-actions { padding: 24px; }
}

.hm-lock { min-height: 100svh; display: grid; place-content: center; justify-items: start; padding: 30px; background: radial-gradient(circle at 70% 30%, #15213e, #050710 42%); }
.hm-lock img { width: 180px; height: auto; margin-bottom: 40px; }
.hm-lock h1 { max-width: 680px; margin: 0; font: 800 clamp(42px, 7vw, 80px)/1.02 "Inter", sans-serif; letter-spacing: -.05em; text-transform: uppercase; }
.hm-lock > p:not(.hm-kicker) { max-width: 470px; color: var(--muted); line-height: 1.5; }
.hm-lock form { display: flex; margin-top: 20px; }
.hm-lock input[type=password] { min-width: 280px; padding: 16px; border: 1px solid var(--line); outline: 0; background: rgba(255,255,255,.05); color: #fff; }
.hm-lock input[type=submit] { padding: 16px 24px; border: 0; background: var(--cyan); color: #05101a; font-weight: 900; cursor: pointer; }

@media (max-width: 1120px) {
  .hm-topbar { grid-template-columns: 160px 1fr auto; gap: 22px; }
  .hm-topbar nav { justify-content: center; gap: 18px; }
  .hm-topbar nav a { font-size: 10px; }
  .hm-online { display: none; }
  .hm-cover-content { width: min(720px, 67vw); }
  .hm-start-content { width: calc(100% - 80px); gap: 55px; }
  .hm-footer-inner { width: calc(100% - 80px); grid-template-columns: 1.15fr .8fr 1.1fr; row-gap: 45px; }
  .hm-footer-brand { grid-row: span 2; }
  .hm-footer-server { grid-column: 2 / -1; }
  .hm-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-shot-featured { grid-column: span 2; }
  .hm-clan-card { grid-template-columns: 42px 72px minmax(260px, 1fr) minmax(230px, .55fr); gap: 18px; }
  .hm-clan-crest { width: 68px; height: 68px; }
  .hm-member-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hm-info-mast { grid-template-columns: minmax(0, 1fr) minmax(430px, .9fr); }
  .hm-resource-strip { grid-template-columns: 1fr 1fr; }
  .hm-wiki-index { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  :root { --header: 68px; }
  html { scroll-snap-type: none; }
  body.hm-next.admin-bar .hm-topbar { top: 46px; }
  .hm-topbar { grid-template-columns: 1fr auto; padding: 0 20px; background: rgba(3,5,11,.88); backdrop-filter: blur(14px); }
  .hm-logo { width: 142px; height: 100%; }
  .hm-logo img { width: 142px; }
  .hm-menu-button { position: relative; z-index: 2; display: grid; place-content: center; gap: 5px; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line); background: rgba(255,255,255,.04); }
  .hm-menu-button span { display: block; width: 18px; height: 1px; background: #fff; transition: transform .2s; }
  .hm-menu-button[aria-expanded=true] span:first-child { transform: translateY(3px) rotate(45deg); }
  .hm-menu-button[aria-expanded=true] span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .hm-topbar nav { position: fixed; inset: var(--header) 0 auto; display: none; padding: 25px 20px 30px; background: rgba(3,5,11,.97); border-top: 1px solid var(--line); }
  .hm-topbar nav.is-open { display: grid; grid-template-columns: 1fr 1fr; }
  .hm-topbar nav a { padding: 10px 0; font-size: 12px; }
  .hm-top-actions, .hm-screen-nav { display: none; }
  .hm-cover { min-height: 790px; background-position: 64% 18%; }
  .hm-screen-shade { background: linear-gradient(0deg, rgba(3,5,11,.99) 0%, rgba(3,5,11,.75) 62%, rgba(3,5,11,.42) 100%); }
  .hm-cover-content { width: 100%; min-height: 790px; justify-content: flex-end; padding: 120px 22px 52px; }
  .hm-cover h1 { font-size: clamp(40px, 11vw, 60px); }
  .hm-lead { margin-top: 22px; font-size: 15px; }
  .hm-proof { margin-top: 32px; overflow-x: auto; }
  .hm-proof span { min-width: 122px; padding: 0 16px; }
  .hm-scroll-cue { display: none; }
  .hm-experience { display: block; padding: calc(var(--header) + 38px) 0 50px 22px; }
  .hm-experience-head { display: block; padding-right: 22px; }
  .hm-experience h2 { font-size: 39px; }
  .hm-experience-head > p { margin: 20px 0 0; }
  .hm-class-reel { display: flex; gap: 10px; margin-top: 30px; padding: 7px 22px 9px 0; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
  .hm-class-reel::-webkit-scrollbar { display: none; }
  .hm-class, .hm-class.is-active { flex: 0 0 78vw; height: 500px; filter: saturate(.72) brightness(.8); transform: none; scroll-snap-align: start; }
  .hm-class.is-active { filter: saturate(1) brightness(.95); }
  .hm-class-copy strong { font-size: 32px; }
  .hm-class-copy > span { max-height: 70px; margin-top: 10px; opacity: 1; }
  .hm-feature-line { justify-content: flex-start; margin: 24px 22px 0 0; overflow-x: auto; }
  .hm-feature-line span { flex: 0 0 auto; }
  .hm-start { min-height: 850px; background-position: 67% 20%; }
  .hm-start .hm-screen-shade { background: linear-gradient(0deg, rgba(3,5,11,.99) 0%, rgba(3,5,11,.84) 66%, rgba(3,5,11,.42) 100%); }
  .hm-start-content { min-height: 778px; display: block; width: auto; margin: 0; padding: 122px 22px 110px; }
  .hm-start h2 { font-size: 46px; }
  .hm-start-title > p:last-child { font-size: 14px; }
  .hm-start-steps { margin-top: 34px; }
  .hm-start-steps li { grid-template-columns: 42px 1fr; gap: 12px; padding: 18px 0; }
  .hm-start-actions { margin-top: 24px; }
  .hm-footer-inner { width: auto; min-height: 0; grid-template-columns: 1fr 1fr; gap: 38px 28px; padding: 44px 22px 40px; }
  .hm-footer-brand { grid-column: 1 / -1; grid-row: auto; padding-bottom: 31px; border-bottom: 1px solid var(--line); }
  .hm-footer-brand p { max-width: 430px; }
  .hm-footer-server { grid-column: 1 / -1; padding-top: 30px; border-top: 1px solid var(--line); }
  .hm-footer-founded { width: calc(100% - 44px); }
  .hm-community-page { padding: calc(var(--header) + 50px) 22px 76px; }
  .hm-page-hero { display: block; margin-bottom: 34px; padding: 34px 26px; }
  .hm-page-hero-media::before { background-position: 66% center; opacity: .24; }
  .hm-page-hero-media::after { background: linear-gradient(0deg, rgba(5,9,20,.98) 0%, rgba(5,9,20,.73) 100%); }
  .hm-page-hero h1 { font-size: clamp(46px, 13vw, 70px); }
  .hm-page-intro { margin-top: 28px; }
  .hm-page-intro p { font-size: 14px; }
  .hm-page-intro span { margin-top: 20px; line-height: 1.5; }
  .hm-gallery { grid-template-columns: 1fr; gap: 12px; }
  .hm-shot-featured { grid-column: auto; }
  .hm-shot-featured .hm-shot-open img, .hm-shot-open img { aspect-ratio: 16 / 10; }
  .hm-lightbox { width: calc(100vw - 24px); max-height: calc(100svh - 24px); }
  .hm-lightbox img { max-height: calc(100svh - 26px); }
  .hm-lightbox-close { top: 10px; right: 10px; }
  .hm-lightbox > .hm-lightbox-nav { width: 42px; height: 70px; }
  .hm-lightbox-prev { left: 0; }
  .hm-lightbox-next { right: 0; }
  .hm-lightbox-nav svg { width: 28px; height: 28px; }
  .hm-ranking-head { padding-right: 0; padding-left: 0; }
  .hm-rank-list li { grid-template-columns: 42px minmax(0, 1fr) 70px; gap: 13px; min-height: 88px; padding: 15px 8px; }
  .hm-rank-list li.is-leading { min-height: 100px; }
  .hm-rank-name strong { font-size: 19px; }
  .hm-player-level { text-align: right; }
  .hm-player-level strong { font-size: 24px; }
  .hm-player-xp { display: none; }
  .hm-clan-card { grid-template-columns: 34px 62px minmax(0, 1fr); gap: 12px; padding: 22px 16px; }
  .hm-clan-crest { width: 58px; height: 58px; font-size: 10px; }
  .hm-clan-main h2 { font-size: 23px; }
  .hm-clan-score, .hm-clan-details { grid-column: 2 / -1; }
  .hm-clan-score { padding-top: 16px; border-top: 1px solid rgba(125,178,255,.12); text-align: left; }
  .hm-clan-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-member-list { grid-template-columns: 1fr 1fr; }
  .hm-player-podium, .hm-clan-podium { grid-template-columns: 1fr; padding-top: 0; }
  .hm-player-champion.is-rank-1, .hm-clan-showcase.is-rank-1 { order: -1; margin-top: 0; transform: none; }
  .hm-player-champion { min-height: 440px; }
  .hm-player-champion.is-rank-1 { min-height: 480px; }
  .hm-player-list li { grid-template-columns: 38px 52px minmax(0, 1fr) 62px; gap: 10px; padding: 12px; }
  .hm-player-list-avatar { width: 50px; height: 50px; border-radius: 13px; }
  .hm-clan-showcase-copy { min-height: 0; }
  .hm-clan-card { grid-template-columns: 34px 58px minmax(0, 1fr); }
  .hm-clan-crest { width: 54px; height: 54px; border-radius: 14px; }
  .hm-info-mast { display: block; min-height: 0; }
  .hm-info-mast-copy { padding: 38px 26px 44px; }
  .hm-info-mast-copy h1 { font-size: clamp(44px, 12vw, 64px); }
  .hm-info-mast-actions { flex-direction: column; }
  .hm-wiki-gateway { min-height: 520px; margin: 0 18px 18px; padding: 38px 26px; border-top: 1px solid var(--line); border-left: 0; transform: none; }
  .hm-wiki-gateway h2 { margin-top: 42px; }
  .hm-knowledge-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 340px; }
  .hm-knowledge-card.is-wide { grid-column: span 2; }
  .hm-info-routes { margin-top: 70px; }
  .hm-info-route-grid { grid-template-columns: 1fr; }
  .hm-info-route-grid > * { min-height: 150px; }
  .hm-resource-strip { grid-template-columns: 1fr 1fr; }
  .hm-faq { display: block; margin-top: 75px; }
  .hm-faq-list { margin-top: 38px; }
  .hm-legal-links { display: grid; gap: 14px; margin-top: 65px; }
  .hm-legal-links span { margin: 0 0 8px; }
  .hm-wiki-hero { display: block; min-height: 0; padding: 38px 26px; }
  .hm-wiki-hero h1 { font-size: clamp(44px, 13vw, 66px); }
  .hm-wiki-search-wrap { margin-top: 46px; }
  .hm-wiki-filters { top: calc(var(--header) + 8px); margin-top: 22px; }
  .hm-pets-acquisition { grid-template-columns: 1fr; }
  .hm-pet-prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hm-pet-prices li { min-width: 0; }
  .hm-pets-shop { width: 100%; }
  .hm-pet-rarity-filters { display: block; }
  .hm-pet-rarity-filters nav { display: grid; grid-template-columns: 1fr 1fr; margin-top: 16px; }
  .hm-skills-head { display: block; }
  .hm-skills-head > span { display: block; margin-top: 18px; }
  .hm-skill-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hm-skill-class { grid-template-columns: 1fr; }
  .hm-skill-class > header { min-height: 420px; }
  .hm-skill-attributes > header { display: block; }
  .hm-skill-attributes header > span { display: block; margin-top: 16px; }
  .hm-attribute-grid { grid-template-columns: 1fr 1fr; }
  .hm-wiki-index { grid-template-columns: 1fr; }
  .hm-wiki-entry { min-height: 245px; }
}

@media (max-width: 470px) {
  .hm-start-steps li { padding: 18px 16px; }
  .hm-events-hero-copy { width: 100%; max-width: 100%; min-width: 0; }
  .hm-events-hero h1 { max-width: 100%; font-size: clamp(34px, 10vw, 40px); overflow-wrap: normal; }
  .hm-events-hero-copy p { max-width: 100%; }
  .hm-events-hero-copy .hm-cta { width: 100%; max-width: 100%; box-sizing: border-box; white-space: normal; }
}

@media (max-width: 470px) {
  .hm-cover-actions, .hm-start-actions { flex-direction: column; }
  .hm-cta { width: 100%; }
  .hm-cover h1 { font-size: 40px; }
  .hm-experience h2, .hm-start h2 { font-size: 36px; }
  .hm-class, .hm-class.is-active { flex-basis: 86vw; height: 470px; }
  .hm-footer-inner { grid-template-columns: 1fr; }
  .hm-footer-brand, .hm-footer-server { grid-column: auto; }
  .hm-footer-column { padding-bottom: 25px; border-bottom: 1px solid rgba(125,178,255,.12); }
  .hm-footer-server { padding-top: 0; border-top: 0; }
  .hm-footer-server-controls { flex-direction: column; align-items: flex-start; }
  .hm-footer-founded { align-items: flex-start; gap: 8px; }
  .hm-footer-founded-mark { max-width: 160px; }
  .hm-lock form { width: 100%; flex-direction: column; }
  .hm-lock input[type=password] { min-width: 0; width: 100%; }
  .hm-page-hero h1 { font-size: 42px; }
  .hm-shot-meta { padding-right: 12px; padding-left: 14px; }
  .hm-ranking-head span { display: none; }
  .hm-rank-list li { grid-template-columns: 34px minmax(0, 1fr) 56px; gap: 9px; }
  .hm-rank-name strong { font-size: 16px; }
  .hm-rank-name span { font-size: 8px; }
  .hm-clan-score, .hm-clan-details { grid-column: 1 / -1; }
  .hm-clan-stats, .hm-member-list { grid-template-columns: 1fr; }
  .hm-player-champion { min-height: 420px; padding: 22px; }
  .hm-player-champion.is-rank-1 { min-height: 450px; }
  .hm-player-avatar { margin-top: 108px; }
  .is-rank-1 .hm-player-avatar { width: 132px; height: 132px; margin-top: 118px; }
  .hm-player-list li { grid-template-columns: 30px 46px minmax(0, 1fr) 52px; gap: 8px; }
  .hm-player-list-avatar { width: 44px; height: 44px; }
  .hm-player-list .hm-rank-name strong { font-size: 14px; }
  .hm-clan-showcase-stats { grid-template-columns: 1fr 1fr; }
  .hm-clan-showcase-stats div:first-child { grid-column: 1 / -1; }
  .hm-wiki-gateway dl, .hm-resource-strip { grid-template-columns: 1fr; }
  .hm-wiki-gateway dl div { min-height: 51px; }
  .hm-knowledge-gallery { grid-template-columns: 1fr; grid-auto-rows: 330px; }
  .hm-knowledge-card.is-wide { grid-column: auto; }
  .hm-resource-strip a { min-height: 215px; }
  .hm-resource-strip a > svg { margin-bottom: 48px; }
  .hm-info-route-grid > * { grid-template-columns: 40px 1fr; gap: 12px; padding: 22px 18px; }
  .hm-info-route-grid > * > span { width: 40px; height: 40px; border-radius: 13px; font-size: 20px; }
  .hm-wiki-filters button { padding: 0 16px; }
  .hm-wiki-entry { padding: 22px; }
  .hm-skills-browser { padding: 24px 18px; }
  .hm-skill-tabs { grid-template-columns: 1fr 1fr; }
  .hm-skill-class > header { min-height: 350px; padding: 24px; }
  .hm-skill-timeline li { grid-template-columns: 50px 1fr; gap: 14px; padding: 17px; }
  .hm-skill-timeline li > strong { width: 48px; height: 48px; font-size: 20px; }
  .hm-skill-attributes { margin-top: 38px; padding-top: 34px; }
  .hm-attribute-grid { grid-template-columns: 1fr; }
  .hm-content-card { min-height: 500px; padding: 22px; }
  .hm-content-card-copy dl, .hm-event-card .hm-content-card-copy dl { grid-template-columns: 1fr; }
  .hm-pet-card { grid-template-columns: 1fr; gap: 18px; min-height: 0; padding: 18px; }
  .hm-pet-card > .hm-pet-visual { min-height: 230px; }
  .hm-pet-visual img { max-width: 205px; }
  .hm-pet-content h2 { font-size: 26px; }
  .hm-pet-stats { grid-template-columns: 1fr 1fr; }
  .hm-pets-acquisition { padding: 20px 18px; }
  .hm-pets-acquisition-copy { align-items: flex-start; }
  .hm-pet-prices { grid-template-columns: 1fr; }
  .hm-pet-prices li { display: flex; align-items: center; justify-content: space-between; }
  .hm-pet-prices strong { margin-top: 0; }
  .hm-pet-rarity-filters { padding: 17px; }
}

@media (max-width: 1120px) {
  .hm-legal-hero, .hm-support-hero { gap: 45px; padding: 62px; }
  .hm-offer-layout { grid-template-columns: 255px minmax(0, 1fr); }
  .hm-support-layout { grid-template-columns: minmax(0, 1fr) 320px; }
  .hm-support-submit-row { align-items: flex-start; flex-direction: column; }
  .hm-submit-btn { width: 100%; }
}

@media (max-width: 820px) {
  .hm-legal-page { padding: calc(var(--header) + 22px) 18px 80px; }
  .hm-legal-hero, .hm-support-hero { min-height: 0; grid-template-columns: 1fr; gap: 45px; padding: 54px 31px 35px; border-radius: 25px; }
  .hm-legal-hero h1, .hm-support-hero h1 { font-size: clamp(54px, 15vw, 86px); }
  .hm-legal-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hm-legal-meta div { padding: 16px 10px; border-top: 1px solid rgba(255,255,255,.13); }
  .hm-legal-meta div:first-child { padding-left: 0; }
  .hm-legal-meta dd { font-size: 12px; }
  .hm-offer-layout, .hm-support-layout { grid-template-columns: 1fr; }
  .hm-offer-aside { position: static; max-height: none; }
  .hm-offer-aside > div { padding: 20px 14px; overflow: hidden; }
  .hm-offer-aside nav { display: flex; gap: 5px; overflow-x: auto; padding-bottom: 5px; }
  .hm-offer-aside nav a { flex: 0 0 210px; }
  .hm-offer-document > header { padding: 38px 28px; }
  .hm-offer-document > header > span { display: none; }
  .hm-offer-document-body { padding: 35px 28px; }
  .hm-offer-document > footer { align-items: flex-start; flex-direction: column; padding: 28px; }
  .hm-offer-document > footer nav { justify-content: flex-start; }
  .hm-support-hero { padding-bottom: 45px; }
  .hm-support-form-card > header > span { display: none; }
  .hm-support-aside { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-support-rules { grid-column: 1 / -1; }
}

@media (max-width: 470px) {
  .hm-legal-page { padding-right: 10px; padding-left: 10px; }
  .hm-legal-hero, .hm-support-hero { padding: 43px 21px 28px; border-radius: 21px; }
  .hm-legal-hero h1, .hm-support-hero h1 { font-size: 48px; }
  .hm-legal-hero-copy > p:last-child, .hm-support-hero > div > p:last-child { margin-top: 23px; font-size: 14px; }
  .hm-legal-meta { grid-template-columns: 1fr; }
  .hm-legal-meta div { padding: 13px 0; border-top: 0; }
  .hm-legal-meta div:first-child { border-top: 1px solid rgba(255,255,255,.13); }
  .hm-support-hero li { grid-template-columns: 33px minmax(0, 1fr); gap: 10px; }
  .hm-offer-document, .hm-support-form-card { border-radius: 21px; }
  .hm-offer-document > header h2 { font-size: 29px; }
  .hm-offer-document-body { padding: 29px 20px; }
  .hm-offer-document-body h2 { margin-top: 55px; padding-right: 45px; font-size: 23px; }
  .hm-offer-document-body h2::after { font-size: 26px; }
  .hm-offer-document-body p, .hm-offer-document-body li { font-size: 13px; }
  .hm-support-form-card > header, #hm-ticket-form { padding: 28px 20px; }
  .hm-support-fields-two { grid-template-columns: 1fr; }
  .hm-support-submit-row { gap: 20px; }
  .hm-submit-btn { min-width: 0; }
  .hm-ticket-success { grid-template-columns: 1fr; padding: 45px 25px; }
  .hm-support-aside { grid-template-columns: 1fr; }
  .hm-support-rules { grid-column: auto; }
}

/* Wiki 1.9 — live enchantment catalogue */
.hm-enchantments-intro,
.hm-enchantment-card { font-family: Inter, system-ui, sans-serif; }
.hm-enchantments-intro { grid-column: 1 / -1; display: grid; min-height: 340px; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); align-items: end; gap: 50px; padding: clamp(32px, 5vw, 66px); background: radial-gradient(circle at 12% 18%, rgba(0,240,255,.3), transparent 30%), radial-gradient(circle at 86% 78%, rgba(255,0,110,.27), transparent 34%), linear-gradient(135deg, #0a0630 0%, #5d34d0 52%, #100521 100%); }
.hm-enchantments-intro::before { background: conic-gradient(from 215deg at 72% 42%, transparent, rgba(0,240,255,.26), rgba(255,0,110,.18), transparent 72%); opacity: 1; filter: none; }
.hm-enchantments-intro::after { background: linear-gradient(100deg, rgba(5,3,23,.34), rgba(5,3,23,.05)); }
.hm-enchantments-intro:hover { border-color: rgba(0,240,255,.42); transform: none; }
.hm-enchantments-intro > .hm-enchantments-intro-copy { display: block; }
.hm-enchantments-intro h2 { margin: 8px 0 0; color: #fff; font-size: clamp(54px, 8vw, 118px); font-weight: 900; letter-spacing: -.075em; line-height: .8; text-transform: uppercase; text-shadow: 0 0 28px rgba(0,240,255,.22); }
.hm-enchantments-intro-copy > p:last-child { max-width: 690px; margin: 28px 0 0; color: rgba(255,255,255,.78); font-size: 15px; line-height: 1.7; }
.hm-enchantments-intro > dl { display: grid; grid-template-columns: 1fr 1fr; margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.19); border-radius: 22px; background: rgba(5,3,24,.4); backdrop-filter: blur(18px); }
.hm-enchantments-intro > dl > div { min-height: 108px; padding: 22px; border-right: 1px solid rgba(255,255,255,.13); border-bottom: 1px solid rgba(255,255,255,.13); }
.hm-enchantments-intro > dl > div:nth-child(even) { border-right: 0; }
.hm-enchantments-intro > dl > div:nth-last-child(-n+2) { border-bottom: 0; }
.hm-enchantments-intro dt { color: rgba(255,255,255,.52); font-size: 9px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.hm-enchantments-intro dd { margin: 12px 0 0; color: #fff; font-size: 28px; font-weight: 900; letter-spacing: -.045em; }
.hm-enchantment-card { min-height: 470px; overflow: hidden; padding: 28px; border-color: rgba(130,103,255,.28); background: linear-gradient(145deg, #100733 0%, #08051e 48%, #030713 100%); }
.hm-enchantment-card::before { background: conic-gradient(from 210deg at 15% 8%, rgba(0,240,255,.3), rgba(93,52,208,.28), rgba(255,0,110,.24), transparent 58%), radial-gradient(circle at 91% 15%, rgba(255,0,110,.2), transparent 34%); opacity: 1; filter: blur(2px); }
.hm-enchantment-card::after { background: linear-gradient(150deg, rgba(8,5,30,.16), rgba(8,5,30,.94) 64%); }
.hm-enchantment-card:hover { border-color: rgba(0,240,255,.5); box-shadow: 0 28px 76px rgba(93,52,208,.3), 0 0 34px rgba(0,240,255,.08); }
.hm-enchantment-card-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.hm-enchantment-card-head > .hm-enchantment-icon { position: relative; display: grid; width: 64px; height: 64px; flex: 0 0 auto; place-items: center; overflow: visible; border: 0; border-radius: 0; background: none; box-shadow: none; }
.hm-enchantment-card-head > .hm-enchantment-icon::after { display: none; }
.hm-wiki-page .hm-enchantment-icon svg { display: block; width: 56px; height: 56px; color: #57dcff; stroke: currentColor; stroke-width: 1.65; filter: drop-shadow(0 0 7px rgba(0,240,255,.55)) drop-shadow(5px 5px 10px rgba(255,0,110,.2)); transition: transform .32s cubic-bezier(.2,.8,.2,1), color .32s ease, filter .32s ease; }
.hm-wiki-page .hm-enchantment-card:hover .hm-enchantment-icon svg { transform: translateY(-2px) scale(1.04); color: #80e8ff; filter: drop-shadow(0 0 10px rgba(0,240,255,.68)) drop-shadow(5px 5px 12px rgba(255,0,110,.28)); }
.hm-enchantment-card-head > div { display: flex; min-width: 0; align-items: center; justify-content: flex-end; gap: 12px; }
.hm-enchantment-card-head small { color: #00f0ff; font-size: 9px; letter-spacing: .12em; text-shadow: 0 0 16px rgba(0,240,255,.55); }
.hm-enchantment-card-head strong { padding: 8px 11px; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; color: #fff; font-size: 10px; white-space: nowrap; }
.hm-enchantment-card > .hm-enchantment-card-copy { display: block; margin-top: 10px; }
.hm-enchantment-card-copy h2 { margin: 0; color: #fff; font-size: clamp(30px, 3vw, 44px); font-weight: 900; letter-spacing: -.055em; line-height: .95; }
.hm-enchantment-card-copy p { min-height: 62px; margin: 14px 0 16px; color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.6; }
.hm-wiki-entry .hm-enchantment-card-copy > span { display: flex; width: auto; height: auto; min-height: 20px; align-items: center; justify-content: flex-start; gap: 8px; overflow: visible; border-radius: 0; background: none; box-shadow: none; color: rgba(255,255,255,.48); font-size: 10px; font-weight: 750; }
.hm-wiki-entry .hm-enchantment-card-copy > span svg { color: #ff4f9c; font-size: 15px; }
.hm-enchantment-stats { display: grid; gap: 9px; margin: 22px 0 0; }
.hm-enchantment-stats > div { padding: 14px; border: 1px solid rgba(255,255,255,.11); border-radius: 16px; background: linear-gradient(135deg, rgba(93,52,208,.11), rgba(0,240,255,.025)); box-shadow: inset 0 1px 0 rgba(255,255,255,.035); }
.hm-enchantment-stats dt { margin-bottom: 10px; color: rgba(255,255,255,.5); font-size: 9px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.hm-enchantment-stats dd { display: grid; grid-template-columns: repeat(auto-fit, minmax(76px, 1fr)); gap: 7px; margin: 0; }
.hm-enchantment-stats dd span { display: flex; min-height: 42px; align-items: center; justify-content: space-between; gap: 6px; padding: 8px 10px; border-radius: 11px; background: linear-gradient(135deg, rgba(93,52,208,.42), rgba(59,130,246,.18)); color: #fff; font-size: 11px; font-weight: 800; font-variant-numeric: tabular-nums; }
.hm-enchantment-stats dd span:nth-child(2) { background: linear-gradient(135deg, rgba(168,85,247,.42), rgba(236,72,153,.2)); }
.hm-enchantment-stats dd span:nth-child(3) { background: linear-gradient(135deg, rgba(255,0,110,.38), rgba(0,240,255,.2)); }
.hm-enchantment-stats dd b { color: #00f0ff; font-size: 9px; }
.hm-enchantment-card > footer { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: auto; padding-top: 22px; color: rgba(255,255,255,.52); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hm-enchantment-card > footer span { padding: 8px 10px; border-radius: 999px; background: linear-gradient(135deg, rgba(93,52,208,.22), rgba(0,240,255,.08)); }

@media (max-width: 900px) {
  .hm-enchantments-intro { grid-template-columns: 1fr; }
  .hm-enchantments-intro > dl { max-width: 620px; }
}

@media (max-width: 470px) {
  .hm-enchantments-intro { gap: 32px; padding: 34px 22px; }
  .hm-enchantments-intro h2 { font-size: 50px; }
  .hm-enchantments-intro-copy > p:last-child { font-size: 13px; }
  .hm-enchantments-intro > dl > div { min-height: 88px; padding: 17px; }
  .hm-enchantments-intro dd { font-size: 21px; }
  .hm-enchantment-card { min-height: 0; padding: 22px; }
  .hm-enchantment-card-head { align-items: flex-start; }
  .hm-enchantment-card-head > .hm-enchantment-icon { width: 56px; height: 56px; }
  .hm-wiki-page .hm-enchantment-icon svg { width: 50px; height: 50px; }
  .hm-enchantment-card-head > div { align-items: flex-end; flex-direction: column; gap: 7px; }
  .hm-enchantment-card-copy p { min-height: 0; }
  .hm-enchantment-stats dd { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Keep the long privacy title inside the legal hero grid. */
.hm-privacy-page .hm-legal-hero-copy { min-width: 0; }
.hm-privacy-page .hm-legal-hero { grid-template-columns: 1fr; }
.hm-privacy-page .hm-legal-hero-copy { max-width: 1080px; }
.hm-privacy-page .hm-legal-hero h1 { font-size: clamp(42px, 4vw, 72px); letter-spacing: -.08em; }
@media (max-width: 1400px) {
  .hm-privacy-page .hm-legal-hero { grid-template-columns: 1fr; gap: 42px; }
  .hm-privacy-page .hm-legal-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hm-privacy-page .hm-legal-meta div { padding: 16px 10px; border-top: 1px solid rgba(255,255,255,.13); }
  .hm-privacy-page .hm-legal-meta div:first-child { padding-left: 0; }
}
@media (max-width: 921px) {
  .hm-privacy-page .hm-legal-hero h1 { font-size: clamp(44px, 7vw, 64px); }
}
@media (max-width: 544px) {
  .hm-privacy-page .hm-legal-hero h1 { font-size: clamp(36px, 9vw, 46px); }
  .hm-privacy-page .hm-legal-meta { grid-template-columns: 1fr; }
  .hm-privacy-page .hm-legal-meta div { padding: 13px 0; border-top: 0; }
  .hm-privacy-page .hm-legal-meta div:first-child { border-top: 1px solid rgba(255,255,255,.13); }
}


/* Double-elimination tournament: upper, lower and grand-final lanes. */
.hm-tournament-double { overflow:hidden; }
.hm-tournament-double .hm-tournament-scroll { overflow-x:auto; padding:8px 2px 18px; }
.hm-tournament-board { display:grid; gap:22px; min-width:max-content; }
.hm-tournament-lane { display:grid; grid-template-columns:150px auto; gap:22px; min-width:max-content; padding:18px; border:1px solid rgba(56,189,248,.3); border-radius:18px; background:linear-gradient(135deg,rgba(8,47,73,.3),rgba(2,6,23,.74)); }
.hm-tournament-lane > header { width:150px; padding:4px 8px 0 0; }
.hm-tournament-lane > header h5 { margin:0 0 8px; color:#7dd3fc; font-size:13px; font-weight:900; letter-spacing:.11em; text-transform:uppercase; }
.hm-tournament-lane > header p { margin:0; color:#94a3b8; font-size:11px; line-height:1.55; }
.hm-tournament-rounds { display:flex; align-items:stretch; gap:38px; }
.hm-tournament-double .hm-tournament-round { display:flex; flex:0 0 220px; flex-direction:column; min-width:220px; }
.hm-tournament-double .hm-tournament-round > h6 { margin:0 0 12px; color:#93c5fd; font-size:10px; font-weight:900; letter-spacing:.12em; text-align:center; text-transform:uppercase; }
.hm-tournament-double .hm-tournament-matches { display:flex; flex:1; flex-direction:column; justify-content:space-around; gap:16px; }
.hm-tournament-double .hm-tournament-match { position:relative; inset:auto; display:grid; gap:6px; padding:10px; transform:none; border-color:rgba(96,165,250,.22); border-radius:13px; background:linear-gradient(145deg,rgba(5,12,30,.98),rgba(8,19,40,.96)); box-shadow:0 12px 28px rgba(0,0,0,.2); }
.hm-tournament-double .hm-tournament-match::after { content:""; position:absolute; top:50%; right:-39px; width:38px; border-top:1px solid rgba(56,189,248,.42); }
.hm-tournament-double .hm-tournament-round:last-child .hm-tournament-match::after { display:none; }
.hm-tournament-lane.lower { border-color:rgba(168,85,247,.38); background:linear-gradient(135deg,rgba(88,28,135,.22),rgba(2,6,23,.76)); }
.hm-tournament-lane.lower > header h5,.hm-tournament-lane.lower .hm-tournament-round > h6 { color:#d8b4fe; }
.hm-tournament-lane.lower .hm-tournament-match { border-color:rgba(192,132,252,.28); }
.hm-tournament-lane.lower .hm-tournament-match::after { border-color:rgba(192,132,252,.48); }
.hm-tournament-lane.lower .hm-tournament-player.is-winner { border-color:rgba(192,132,252,.55); background:linear-gradient(90deg,rgba(126,34,206,.24),rgba(76,29,149,.14)); box-shadow:inset 3px 0 #c084fc,0 0 24px rgba(168,85,247,.08); }
.hm-tournament-lane.final { border-color:rgba(250,204,21,.4); background:linear-gradient(135deg,rgba(113,63,18,.2),rgba(2,6,23,.78)); }
.hm-tournament-lane.final > header h5,.hm-tournament-lane.final .hm-tournament-round > h6 { color:#fde68a; }
.hm-tournament-lane.final .hm-tournament-match { border-color:rgba(250,204,21,.38); box-shadow:0 18px 44px rgba(0,0,0,.28),0 0 34px rgba(250,204,21,.06); }
@media (max-width:760px) {
  .hm-tournament-lane { grid-template-columns:115px auto; gap:14px; padding:14px; }
  .hm-tournament-lane > header { width:115px; }
  .hm-tournament-rounds { gap:28px; }
  .hm-tournament-double .hm-tournament-round { flex-basis:200px; min-width:200px; }
  .hm-tournament-double .hm-tournament-match::after { right:-29px; width:28px; }
}

/* Override the legacy single-elimination detail layout. */
.hm-event-detail-copy .hm-tournament-double .hm-tournament-round { display:flex; }
.hm-event-detail-copy .hm-tournament-double .hm-tournament-matches { position:static; grid-row:auto; display:flex; min-height:0; }

.hm-tournament-manual .hm-tournament-empty { min-width:220px; padding:24px; border:1px dashed rgba(148,163,184,.25); border-radius:12px; color:#64748b; text-align:center; }
.hm-tournament-manual .hm-tournament-rounds { align-items:flex-start; }
.hm-tournament-manual .hm-tournament-round { align-self:stretch; }


/* Codex: compact left-aligned tournament lanes and raised event poster. */
.hm-event-detail-shell { width:min(1320px,100%); }
.hm-event-detail-copy .hm-tournament { padding:clamp(18px,2vw,26px); }
.hm-tournament-double .hm-tournament-scroll { overflow-x:auto; scroll-padding-left:0; }
.hm-tournament-double .hm-tournament-board { width:100%; min-width:820px; gap:18px; }
.hm-tournament-double .hm-tournament-lane { grid-template-columns:104px minmax(0,1fr); gap:10px; min-width:0; padding:12px; }
.hm-tournament-double .hm-tournament-lane > header { width:104px; padding:4px 2px 0 0; }
.hm-tournament-double .hm-tournament-rounds { display:grid; grid-auto-flow:column; grid-auto-columns:minmax(190px,1fr); align-items:stretch; gap:24px; min-width:0; }
.hm-tournament-double .hm-tournament-round { width:auto; min-width:0; flex:none; }
.hm-tournament-double .hm-tournament-match { min-width:0; padding:9px; }
.hm-tournament-double .hm-tournament-match::after { right:-25px; width:24px; }
.hm-tournament-double .hm-tournament-player { min-width:0; gap:6px; padding:9px 8px; }
.hm-tournament-double .hm-tournament-player span { min-width:0; }
.hm-event-detail-copy .hm-tournament-double .hm-tournament-player b { gap:4px; font-size:.52rem; letter-spacing:.035em; }
.hm-event-detail-copy .hm-tournament-double .hm-tournament-player b svg { width:15px; height:15px; }
.hm-events-page:not(.hm-event-detail-page) .hm-event-feed { margin-top:56px; }
@media (max-width:760px) {
  .hm-tournament-double .hm-tournament-board { min-width:700px; }
  .hm-tournament-double .hm-tournament-lane { grid-template-columns:90px minmax(0,1fr); gap:8px; padding:10px; }
  .hm-tournament-double .hm-tournament-lane > header { width:90px; }
  .hm-tournament-double .hm-tournament-rounds { grid-auto-columns:minmax(180px,1fr); gap:20px; }
  .hm-tournament-double .hm-tournament-match::after { right:-21px; width:20px; }
  .hm-events-page:not(.hm-event-detail-page) .hm-event-feed { margin-top:44px; }
}
