/* Battly's public home. The previous design is preserved in the backup branch. */
body.battly-horizon.battly-home { background: #0c100e !important; }
.hz-home { --hz-text: #f7f9f6; --hz-soft: #b3bbae; --hz-line: #ffffff12; --hz-surface: #171e1a; --hz-gold: #f7dc24; color: var(--hz-text); font-size: 16px; line-height: 1.65; }
.hz-home *, .hz-home *::before, .hz-home *::after { box-sizing: border-box; }
.hz-home a { text-decoration: none; }
.hz-home p, .hz-home h1, .hz-home h2, .hz-home h3, .hz-home figure, .hz-home blockquote { margin: 0; }
.hz-home h1, .hz-home h2, .hz-home h3 { color: var(--hz-text); font-family: Inter, system-ui, sans-serif; font-weight: 650; letter-spacing: -.045em; }
.hz-wrap { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.hz-hero { position: relative; isolation: isolate; min-height: 660px; background: radial-gradient(ellipse at 77% 46%, #8672300d 0%, transparent 52%), #0c100e; }
.hz-hero__layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); align-items: center; gap: 24px; padding-top: 106px; padding-bottom: 112px; }
.hz-home .hz-hero h1 { font-size: clamp(40px, 4.15vw, 62px); line-height: 1.08; max-width: 620px; }
.hz-hero__title-accent, .hz-hero__adjective { color: #ffe683; }
.hz-hero__adjective {
  display: inline-grid;
  vertical-align: baseline;
  white-space: nowrap;
}
.hz-hero__adjective::before {
  content: attr(data-longest);
  visibility: hidden;
  grid-area: 1 / 1;
}
.hz-hero__adjective > span { grid-area: 1 / 1; }
@media (min-width: 1101px) {
  .hz-hero__title-accent:has(.hz-hero__adjective) { font-size: .88em; }
}
.hz-hero__adjective[data-typing] > span::after {
  content: "";
  display: inline-block;
  position: absolute;
  width: .075em;
  height: .85em;
  margin: .13em 0 0 .06em;
  background: currentColor;
}
.hz-home .hz-hero__intro { margin-top: 26px; color: #c3cabe; font-size: 17px; line-height: 1.8; max-width: 520px; }
.hz-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hz-home .hz-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 20px; min-height: 48px; background: var(--hz-gold); color: #1c190c !important; border: 1px solid transparent; border-radius: 10px; font-size: 14px; font-weight: 650; line-height: 1.3; transition: background .2s, transform .2s; }
.hz-home .hz-button:hover { background: #ffe96a; transform: translateY(-2px); color: #1c190c !important; }
.hz-home .hz-button--quiet { background: #ffffff0e; color: #f6f7f5 !important; border-color: #ffffff0a; }
.hz-home .hz-button--quiet:hover { background: #ffffff1c; color: #fff !important; }
.hz-home a:focus-visible, .hz-home button:focus-visible { outline: 2px solid #ffe683; outline-offset: 5px; }
.hz-home .hz-platforms { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 22px; color: #abb3a6; font-size: 12px; }
.hz-platforms a { color: #c7d0c2; }
.hz-platforms .fa-arrow-up-right-from-square { font-size: 9px; }
.hz-hero-art {
  min-width: 0;
  --device-transition: 380ms cubic-bezier(.22, .61, .36, 1);
}
.hz-hero-art__stage {
  display: grid;
  place-items: center;
  aspect-ratio: 1.54;
  padding-bottom: 7%;
}
.hz-hero-art__device {
  position: relative;
  width: 94%;
  transition: width var(--device-transition);
}
.hz-hero-art__frame {
  position: relative;
  padding: 5px 5px 15px;
  overflow: hidden;
  border: 1px solid #49534e;
  border-radius: 7px;
  background: #1b221e;
  box-shadow: 0 16px 35px #070a0870;
  transition: padding var(--device-transition), border-radius var(--device-transition), border-color var(--device-transition);
}
.hz-hero-art__screen img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 2px;
  transition: border-radius var(--device-transition);
}
.hz-hero-art__mark {
  position: absolute;
  bottom: 3px;
  inset-inline-start: calc(50% - 5px);
  width: 10px;
  height: 10px;
  object-fit: contain;
  transition: opacity 160ms ease;
}
.hz-hero-art__stand {
  position: absolute;
  top: 100%;
  inset-inline: 46%;
  height: clamp(20px, 3.1vw, 40px);
  background: #29312d;
  border-inline: 1px solid #48524c;
  transform-origin: center top;
  transition: transform var(--device-transition), opacity 180ms ease;
}
.hz-hero-art__stand::after {
  content: "";
  position: absolute;
  bottom: -3px;
  inset-inline: -110%;
  height: 5px;
  border-radius: 3px;
  background: #48524c;
}
.hz-hero-art__frame::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset-inline-start: 4px;
  top: calc(50% - 2px);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #78877b;
  opacity: 0;
  transition: opacity 160ms ease;
}
.hz-hero-art[data-device="phone"] .hz-hero-art__device { width: 67%; }
.hz-hero-art[data-device="phone"] .hz-hero-art__frame {
  padding: 5px 9px;
  border-color: #727d73;
  border-radius: clamp(12px, 2vw, 22px);
}
.hz-hero-art[data-device="phone"] .hz-hero-art__screen img { border-radius: clamp(7px, 1.2vw, 14px); }
.hz-hero-art[data-device="phone"] .hz-hero-art__frame::before { opacity: 1; }
.hz-hero-art[data-device="phone"] .hz-hero-art__mark,
.hz-hero-art[data-device="phone"] .hz-hero-art__stand { opacity: 0; }
.hz-hero-art[data-device="phone"] .hz-hero-art__stand { transform: scaleY(0); }
.hz-hero-art__screen { position: relative; }
.hz-hero-art__touch {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}
.hz-hero-art[data-device="phone"] .hz-hero-art__touch { opacity: 1; }
.hz-hero-art__touch span {
  position: absolute;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid #ffffff85;
  border-radius: 50%;
  color: #fff;
  background: #1119158c;
  text-shadow: 0 1px 3px #000;
  font-size: clamp(8px, 1vw, 13px);
}
.hz-hero-art__joystick { width: 15%; inset: auto auto 12% 6%; }
.hz-hero-art__joystick::after {
  content: "";
  width: 47%;
  aspect-ratio: 1;
  border: 1px solid #ffffff70;
  border-radius: 50%;
  background: #a9b5b882;
}
.hz-hero-art__jump { width: 9%; right: 6%; bottom: 13%; }
.hz-hero-art__attack { width: 9%; right: 16%; bottom: 25%; }
.hz-hero-art__inventory { width: 8%; right: 7%; bottom: 35%; }
.hz-hero-art__views:not([hidden]) {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
}
.hz-hero-art__views button {
  min-width: 76px;
  min-height: 44px;
  padding: 8px 12px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  border: 1px solid #424e43;
  border-radius: 7px;
  color: #e4e9e2;
  background: #171e1a;
}
.hz-hero-art__views button[aria-pressed="true"] { border-color: #b7a550; color: #ffe683; background: #29291c; }
.hz-hero-art__views button:hover { border-color: #dbca7c; }
.hz-hero-art__views button.hz-hero-art__pause { min-width: 44px; }
@media (prefers-reduced-motion: reduce) {
  .hz-hero-art *, .hz-hero-art *::before { transition: none; }
}
.hz-friends b { width: 5px; height: 5px; border-radius: 50%; background: #72d6a7; }
.hz-hero__scroll { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: #eef1ec; font-size: 10px; letter-spacing: .08em; }
.hz-hero__scroll i { font-size: 11px; }
.hz-stats { display: grid; grid-template-columns: repeat(4,1fr); border-bottom: 1px solid var(--hz-line); padding-block: 40px; }
.hz-stats div { display: flex; align-items: center; justify-content: center; gap: 12px; border-right: 1px solid var(--hz-line); }
.hz-stats div:last-child { border: 0; }
.hz-stats strong { font-size: 26px; font-weight: 650; letter-spacing: -.05em; }
.hz-stats span { color: var(--hz-soft); font-size: 11px; }
.hz-section { padding-block: 90px; }
.hz-section-heading { max-width: 650px; margin-bottom: 48px; }
.hz-home h2 { font-size: clamp(30px, 3vw, 44px); line-height: 1.18; }
.hz-home h2 em { font-style: normal; color: #cdd6c7; }
.hz-home .hz-section-heading > p:last-child { color: var(--hz-soft); margin-top: 16px; max-width: 560px; font-size: 15px; }
.hz-feature-row { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 64px; }
.hz-product-shot { min-width: 0; background: linear-gradient(130deg,#2d3627,#1b2017); padding: 28px 24px 24px; border: 1px solid #c9d3c31a; border-radius: 16px; }
.hz-shot-label { font-size: 12px; display: flex; gap: 10px; align-items: center; color: #bfcbb7; margin-bottom: 22px; }
.hz-shot-label i { color: #ffe683; }
.hz-product-shot img { display: block; width: 100%; height: auto; border-radius: 6px; border: 1px solid #ffffff20; }
.hz-home h3 { font-size: 26px; line-height: 1.25; }
.hz-home .hz-feature-copy > p { margin-top: 18px; color: var(--hz-soft); font-size: 14px; }
.hz-feature-list { padding: 0; margin: 24px 0; list-style: none; display: grid; gap: 12px; font-size: 13px; color: #d2d9cd; }
.hz-feature-list li { display: flex; align-items: center; gap: 12px; }
.hz-feature-list i { color: #dbe2d6; font-size: 10px; }
.hz-text-link { display: inline-flex; align-items: center; gap: 12px; color: #ffe683; font-size: 13px; }
.hz-text-link:hover { color: #fff4c4; }
.hz-social-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.hz-social-card { min-width: 0; background: #171e1a; border: 1px solid var(--hz-line); border-radius: 16px; padding: 32px; }
.hz-icon { display: inline-flex; align-items: center; justify-content: center; color: #cad4c3; font-size: 20px; margin-bottom: 22px; }
.hz-home .hz-social-card h3 { font-size: 24px; }
.hz-home .hz-social-card > p { color: var(--hz-soft); font-size: 14px; margin-top: 12px; }
.hz-friends { display: grid; gap: 8px; margin-top: 26px; }
.hz-friends > div { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: #ffffff04; border: 1px solid #ffffff09; border-radius: 8px; }
.hz-friends img { width: 36px; height: 36px; border-radius: 9px; object-fit: cover; }
.hz-friends span { flex: 1; }
.hz-friends strong { display: block; font-size: 12px; font-weight: 550; }
.hz-friends small { display: block; color: #a7b1a1; font-size: 10px; }
.hz-home .hz-note { display: block; color: #97a291; font-size: 10px; margin-top: 12px; }
.hz-music-card { background: radial-gradient(ellipse at 80% 100%,#52442b25,transparent 70%),#171e1a; }
.hz-player { display: flex; align-items: center; gap: 16px; padding: 24px 18px; margin-top: 46px; border: 1px solid #ffffff10; border-radius: 12px; background: #ffffff04; }
.hz-record { width: 62px; height: 62px; flex: 0 0 62px; display: grid; place-items: center; border-radius: 50%; background: repeating-radial-gradient(#1d231a 0 2px,#2f382a 3px 4px); }
.hz-record img { width: 22px; height: 22px; }
.hz-player__track { flex: 1; min-width: 0; }
.hz-player__track strong { display: block; font-size: 12px; }
.hz-player__track span { display: block; color: #a7b1a1; font-size: 10px; margin-top: 4px; }
.hz-player__progress { height: 3px; border-radius: 2px; background: linear-gradient(to right,#ffe683 38%,#ffffff10 38%); margin-top: 16px; }
.hz-equalizer { display: flex; align-items: flex-end; gap: 3px; height: 24px; }
.hz-equalizer b { width: 3px; height: 45%; background: #d5bc78; animation: hz-wave 1.3s infinite alternate ease-in-out; }
.hz-equalizer b:nth-child(2) { height: 90%; animation-delay: -.7s; }.hz-equalizer b:nth-child(3){height:60%;animation-delay:-.3s}.hz-equalizer b:nth-child(4){height:100%;animation-delay:-1s}.hz-equalizer b:nth-child(5){height:30%;animation-delay:-.9s}
@keyframes hz-wave { to { height: 20%; } }
.hz-mobile-band { border-block: 1px solid var(--hz-line); background: radial-gradient(ellipse at 80% 100%,#424f3a66,transparent 70%),#101612; }
.hz-mobile { display: grid; grid-template-columns: 1fr 1.2fr; align-items: center; gap: 24px; padding-block: 48px; }
.hz-home .hz-mobile__copy > p { margin-top: 20px; font-size: 14px; color: var(--hz-soft); max-width: 390px; }
.hz-mobile__copy .hz-button { margin-top: 24px; }
.hz-mobile > img { width: 100%; height: auto; filter: drop-shadow(0 24px 30px #04050360); }
.hz-reviews {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 12px;
}
.hz-review-column { display: grid; gap: 12px; min-width: 0; }
.hz-review-column:not(:nth-child(2)) { padding-top: 40px; }
.hz-home .hz-review {
  min-width: 0;
  margin: 0;
  padding: clamp(16px, 2vw, 22px);
  border: 1px solid var(--hz-line);
  border-radius: 12px;
  background: #171e1a;
}
.hz-review__author { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.hz-review__author > div { min-width: 0; }
.hz-review__avatar { flex: none; width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.hz-review__name { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; overflow-wrap: anywhere; }
.hz-review__name strong { color: #eef4ed; font-size: .79rem; font-weight: 650; }
.hz-review__author small { display: block; color: #a7b5a7; font-size: .68rem; }
.hz-review__badge { width: 14px; height: 14px; object-fit: contain; }
.hz-home .hz-review blockquote,
.hz-home .hz-review blockquote p { margin: 0; }
.hz-home .hz-review blockquote p { color: #c3cdc2; font-size: .83rem; line-height: 1.65; overflow-wrap: anywhere; }

@media (max-width: 800px) {
  .hz-reviews { display: block; columns: 2; column-gap: 12px; }
  .hz-review-column { display: contents; }
  .hz-home .hz-review { display: inline-block; width: 100%; margin-bottom: 12px; break-inside: avoid; }
}

@media (max-width: 520px) {
  .hz-reviews { display: grid; grid-template-columns: minmax(0, 1fr); columns: auto; }
  .hz-home .hz-review { display: block; margin: 0; }
}

.hz-community { padding-top: 8px; }
.hz-community-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.hz-community-links a { display: grid; grid-template-columns: 1fr auto; color: #dfe5db; padding: 26px; background: #1d231a; border: 1px solid var(--hz-line); border-radius: 12px; transition: background .2s,border-color .2s; }
.hz-community-links a:hover { background: #272f22; border-color: #c1cdb955; }
.hz-community-links a > i:first-child { grid-column: 1; color: #ccd5c6; font-size: 24px; margin-bottom: 24px; }
.hz-community-links strong { grid-column: 1; font-size: 15px; font-weight: 550; }
.hz-community-links span { grid-column: 1; font-size: 12px; color: #a8b2a2; margin-top: 6px; }
.hz-community-links a > i:last-child { grid-column: 2; grid-row: 1; color: #96a48e; font-size: 12px; }
@media (min-width: 1800px) { .hz-hero { min-height: 720px; }.hz-hero__layout { padding-top: 150px; } }
@media (max-width: 1100px) { .hz-hero__layout { gap: 32px; }.hz-home .hz-hero h1{font-size:46px}.hz-feature-row{gap:32px}.hz-stats div{flex-direction:column;gap:0} }
@media (max-width: 800px) { .hz-wrap{width:calc(100% - 40px)}.hz-hero__layout{grid-template-columns:1fr;padding-top:56px;padding-bottom:74px;gap:16px}.hz-home .hz-hero h1{font-size:clamp(38px,7vw,58px);max-width:650px}.hz-home .hz-hero__intro{max-width:590px;font-size:16px}.hz-hero-art{width:min(100%, 520px);justify-self:center}.hz-hero{min-height:0}.hz-feature-row{grid-template-columns:1fr;gap:32px}.hz-feature-copy{max-width:600px}.hz-home h2{font-size:36px}.hz-section{padding-block:64px}.hz-social-row{gap:16px;margin-top:32px}.hz-social-card{padding:24px}.hz-social-card h3{min-height:60px}.hz-player{flex-wrap:wrap;margin-top:32px}.hz-equalizer{display:none}.hz-community-links{grid-template-columns:1fr}.hz-community-links a{padding:22px;grid-template-columns:40px 1fr 20px;column-gap:16px;align-items:center}.hz-community-links a > i:first-child{grid-row:1 / 3;margin:0}.hz-community-links strong,.hz-community-links span{grid-column:2}.hz-community-links a > i:last-child{grid-column:3;grid-row:1 / 3}.hz-mobile{grid-template-columns:1fr 1fr}.hz-mobile > img{min-width:0}.hz-home .hz-mobile h2{font-size:30px} }
@media (max-width: 520px) { .hz-home .hz-hero h1{font-size:40px}.hz-hero__layout{padding-top:36px;padding-bottom:66px;gap:12px}.hz-home .hz-hero__intro{font-size:14px;margin-top:20px}.hz-actions{gap:10px;margin-top:24px}.hz-home .hz-button{font-size:12px;padding:13px 16px;gap:8px}.hz-platforms{font-size:10px!important;gap:8px!important}.hz-hero__scroll{bottom:20px}.hz-stats{grid-template-columns:1fr 1fr;padding-block:24px;row-gap:24px}.hz-stats div:nth-child(2){border:0}.hz-stats strong{font-size:24px}.hz-stats span{font-size:10px}.hz-section{padding-block:48px}.hz-section-heading{margin-bottom:32px}.hz-home h2{font-size:30px}.hz-home .hz-section-heading > p:last-child{font-size:13px}.hz-product-shot{padding:20px 16px 16px}.hz-shot-label{font-size:10px;margin-bottom:16px}.hz-home h3{font-size:24px}.hz-social-row{grid-template-columns:1fr}.hz-social-card h3{min-height:0}.hz-home .hz-social-card > p{font-size:13px}.hz-player{margin-top:24px}.hz-mobile{grid-template-columns:1fr;padding-block:40px;gap:8px}.hz-mobile > img{margin-top:8px}.hz-community{padding-top:0} }
@media (prefers-reduced-motion:reduce) { .hz-equalizer b{animation:none}.hz-home .hz-button{transition:none}.hz-home .hz-button:hover{transform:none} }

/* The shared navigation is fixed, so the hero must clear it at every breakpoint. */
.hz-home section[id] { scroll-margin-top: 96px; }
@media (max-width: 800px) { .hz-hero__layout { padding-top: 112px; } }
@media (max-width: 520px) { .hz-hero__layout { padding-top: 104px; } }

/* Balance the opening composition below the fixed navigation. */
@media (min-width: 801px) {
  .hz-hero {
    display: flex;
    align-items: center;
    min-height: clamp(700px, 82svh, 840px);
    padding-top: 76px;
    padding-bottom: 56px;
  }
  .hz-hero__layout { padding-block: 40px; }
}
@media (max-width: 800px) {
  .hz-hero__layout { padding-top: 140px; }
}
@media (max-width: 520px) {
  .hz-hero__layout { padding-top: 128px; }
}

.hz-download { position: relative; z-index: 4; min-width: 0; }
.hz-download summary { cursor: pointer; list-style: none; }
.hz-download summary::-webkit-details-marker { display: none; }
.hz-download__panel {
  position: absolute;
  inset: calc(100% + 8px) auto auto 0;
  width: max-content;
  max-width: calc(100vw - 48px);
  max-height: min(60vh, 360px);
  overflow: auto;
  padding: 6px;
  background: #19221c;
  border: 1px solid #3c493d;
  border-radius: 12px;
  box-shadow: 0 12px 30px #0007;
}
.hz-download__panel a {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 7px;
  color: #eef4ed;
  font-size: 14px;
}
.hz-download__panel a:is(:hover, :focus-visible) { background: #2a382c; color: #ffe683; }
.hz-download__panel .hz-download__store { background: #253329; }
.hz-download__panel .hz-download__all { border-top: 1px solid #3c493d; margin-top: 5px; color: #c4d2c4; }
