#a4n-herois-infinitos-root {
  --a4n-cine-black: #050508;
  --a4n-cine-paper: #f6f6f1;
  --a4n-cine-red: #f2121d;
  --a4n-cine-yellow: #ffd21f;
  --a4n-cine-blue: #237bff;
  --a4n-cine-purple: #7c3aed;
  --a4n-cine-cyan: #48e5f7;
  overflow-x: hidden;
}

#a4n-herois-infinitos-root .a4n-hi-app {
  min-height: min(1000px, 100vh);
  overflow: hidden;
  isolation: isolate;
  background: var(--a4n-cine-paper);
  font-family: "Arial Narrow", Impact, Haettenschweiler, "Franklin Gothic Condensed", Arial, sans-serif;
}

#a4n-herois-infinitos-root .a4n-hi-setup,
#a4n-herois-infinitos-root .a4n-hi-loading {
  position: relative;
  min-height: min(1000px, 100vh);
  padding: clamp(18px, 2.2vw, 34px) clamp(18px, 3.8vw, 64px) clamp(28px, 2.8vw, 48px);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, .96) 0 9%, rgba(255, 255, 255, .34) 18%, transparent 34%),
    var(--a4n-cine-paper);
}

#a4n-herois-infinitos-root .a4n-hi-setup::before,
#a4n-herois-infinitos-root .a4n-hi-loading::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 26%;
  width: max(220vw, 220vh);
  height: max(220vw, 220vh);
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .9) 0 7%, transparent 18%),
    repeating-conic-gradient(from 4deg at 50% 50%, rgba(5, 5, 8, .18) 0deg 1.2deg, transparent 1.2deg 7.4deg),
    radial-gradient(circle at 50% 50%, transparent 0 14%, rgba(5, 5, 8, .05) 14.2% 14.8%, transparent 15%),
    radial-gradient(circle, rgba(5, 5, 8, .08) 1px, transparent 1.4px);
  background-size: auto, auto, auto, 12px 12px;
  background-position: center, center, center, center;
  opacity: .78;
  transform: translate3d(-50%, -50%, 0) scale(1.02);
  transform-origin: 50% 50%;
  animation: a4nhi-bg-drift 118s linear infinite;
  will-change: transform, background-position;
}

#a4n-herois-infinitos-root .a4n-hi-setup::after,
#a4n-herois-infinitos-root .a4n-hi-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    url("../ui/bg-character-left.png") left bottom -10px / min(38vw, 590px) auto no-repeat,
    url("../ui/bg-character-right.png") right top 52px / min(46vw, 720px) auto no-repeat;
  opacity: .43;
  animation: a4nhi-float-tiny 9s ease-in-out infinite;
  will-change: transform;
}

#a4n-herois-infinitos-root .a4n-hi-bg-art {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(114deg, transparent 0 8%, rgba(5, 5, 8, .08) 8.1% 8.8%, transparent 8.9% 100%),
    linear-gradient(66deg, transparent 0 74%, rgba(5, 5, 8, .08) 74.2% 75%, transparent 75.1% 100%),
    radial-gradient(circle at 50% 23%, rgba(255, 255, 255, .72), transparent 34%);
  mix-blend-mode: multiply;
  animation: a4nhi-diagonal-drift 18s ease-in-out infinite;
}

#a4n-herois-infinitos-root .a4n-hi-cine-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

#a4n-herois-infinitos-root .a4n-hi-cine-corner {
  position: absolute;
  top: -70px;
  left: -44px;
  width: min(44vw, 560px);
  aspect-ratio: 1.42;
  background: url("../ui/corner-banner-top-left.png") center / contain no-repeat;
  filter: drop-shadow(12px 18px 0 rgba(5, 5, 8, .15));
  animation: a4nhi-float-slow 7.8s ease-in-out infinite;
  will-change: transform;
}

#a4n-herois-infinitos-root .a4n-hi-cine-corner::after {
  content: none;
}

#a4n-herois-infinitos-root .a4n-hi-cine-corner--br {
  display: none;
}

#a4n-herois-infinitos-root .a4n-hi-hero-title {
  position: relative;
  z-index: 5;
  width: clamp(300px, 32vw, 560px);
  min-height: clamp(210px, 21vw, 365px);
  margin: -4px auto clamp(10px, 1.2vw, 18px);
  background: url("../ui/logo-herois-infinitos.png") center / contain no-repeat;
  animation: a4nhi-subtle-pulse 4.6s ease-in-out infinite;
  will-change: transform;
}

#a4n-herois-infinitos-root .a4n-hi-hero-title p,
#a4n-herois-infinitos-root .a4n-hi-hero-title h1 {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

#a4n-herois-infinitos-root .a4n-hi-hero-title small {
  position: absolute;
  left: 50%;
  bottom: 4px;
  transform: translateX(-50%);
  display: inline-block;
  padding: 3px 18px 4px;
  color: #050508;
  background: rgba(255, 255, 255, .9);
  border-bottom: 4px solid var(--a4n-cine-red);
  font: 900 clamp(14px, 1.1vw, 19px)/1.1 Arial, sans-serif;
  text-align: center;
  white-space: nowrap;
  filter: drop-shadow(2px 3px 0 rgba(5, 5, 8, .16));
}

#a4n-herois-infinitos-root .a4n-hi-setup__grid {
  position: relative;
  z-index: 4;
  width: min(1540px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(26px, 2.8vw, 42px);
  align-items: stretch;
  margin-inline: auto;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel {
  position: relative;
  min-height: clamp(620px, 39vw, 760px);
  padding: clamp(84px, 5.8vw, 104px) clamp(52px, 4.1vw, 76px) clamp(54px, 3.6vw, 68px);
  border: 0;
  background: transparent !important;
  box-shadow: none;
  clip-path: none;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../ui/panel-frame-cast.png") center / 100% 100% no-repeat;
  filter: drop-shadow(14px 18px 0 rgba(5, 5, 8, .28));
  pointer-events: none;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--story::before {
  background-image: url("../ui/panel-frame-story.png");
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--story {
  min-height: clamp(620px, 39vw, 760px);
  padding: clamp(88px, 5.7vw, 106px) clamp(54px, 3.8vw, 70px) clamp(54px, 3.2vw, 68px);
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel > * {
  position: relative;
  z-index: 1;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel h2 {
  position: absolute;
  top: clamp(21px, 1.75vw, 31px);
  left: clamp(42px, 3.7vw, 66px);
  z-index: 3;
  min-width: min(78%, 540px);
  margin: 0;
  padding: 15px 72px 17px 30px;
  color: #fff;
  background: url("../ui/section-title-bar.png") center / 100% 100% no-repeat;
  border: 0;
  box-shadow: none;
  transform: none;
  font-size: clamp(32px, 2.9vw, 50px);
  font-style: italic;
  line-height: .95;
  text-shadow: 4px 4px 0 #050508;
  letter-spacing: 0;
  white-space: nowrap;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel h2 span {
  color: var(--a4n-cine-yellow);
  text-shadow: 4px 4px 0 #050508;
}

#a4n-herois-infinitos-root .a4n-hi-upload {
  position: relative;
  min-height: 138px;
  margin: 0 0 22px;
  padding: 16px 20px 18px;
  overflow: visible;
  border: 0;
  outline: 4px dashed rgba(35, 123, 255, .8);
  outline-offset: -8px;
  background:
    linear-gradient(90deg, rgba(35, 123, 255, .08), rgba(72, 229, 247, .12)),
    repeating-linear-gradient(-9deg, transparent 0 12px, rgba(35, 123, 255, .08) 12px 15px);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .76);
  transition: transform .2s ease, filter .2s ease, outline-color .2s ease;
}

#a4n-herois-infinitos-root .a4n-hi-upload--costar {
  outline-color: rgba(124, 58, 237, .74);
  background:
    linear-gradient(90deg, rgba(124, 58, 237, .08), rgba(183, 112, 255, .1)),
    repeating-linear-gradient(9deg, transparent 0 12px, rgba(124, 58, 237, .08) 12px 15px);
}

#a4n-herois-infinitos-root .a4n-hi-upload:hover {
  transform: translateY(-3px);
  filter: drop-shadow(0 0 14px rgba(35, 123, 255, .28));
}

#a4n-herois-infinitos-root .a4n-hi-upload.is-ready {
  outline-style: solid;
  outline-color: #16c172;
}

#a4n-herois-infinitos-root .a4n-hi-upload__head {
  position: relative;
  z-index: 1;
  padding-left: 84px;
  color: #195dff;
  font-size: clamp(21px, 1.5vw, 28px);
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  text-shadow: 2px 2px 0 #fff;
}

#a4n-herois-infinitos-root .a4n-hi-upload--costar .a4n-hi-upload__head {
  color: #7c3aed;
}

#a4n-herois-infinitos-root .a4n-hi-upload__head em {
  margin-left: 10px;
  color: #10a865;
  font-style: italic;
}

#a4n-herois-infinitos-root .a4n-hi-upload__body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding-left: 48px;
}

#a4n-herois-infinitos-root .a4n-hi-upload__sketch {
  width: 112px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 4px solid #050508;
  background:
    url("../ui/placeholder-hero.png") center / 94% 94% no-repeat,
    rgba(255, 255, 255, .78);
  box-shadow: 6px 6px 0 rgba(5, 5, 8, .22);
  transform: rotate(-2deg);
}

#a4n-herois-infinitos-root .a4n-hi-upload--costar .a4n-hi-upload__sketch {
  background:
    url("../ui/placeholder-costar.png") center / 94% 94% no-repeat,
    rgba(255, 255, 255, .78);
  transform: rotate(2deg);
}

#a4n-herois-infinitos-root .a4n-hi-upload__sketch span,
#a4n-herois-infinitos-root .a4n-hi-upload__sketch span::before {
  display: none !important;
  content: none !important;
}

#a4n-herois-infinitos-root .a4n-hi-upload__sketch img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #fff;
}

#a4n-herois-infinitos-root .a4n-hi-upload__button {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 88px;
  overflow: hidden;
  border: 0;
  background: url("../ui/upload-button-blue.png") center / 100% 100% no-repeat;
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease;
}

#a4n-herois-infinitos-root .a4n-hi-upload--costar .a4n-hi-upload__button {
  background-image: url("../ui/upload-button-purple.png");
}

#a4n-herois-infinitos-root .a4n-hi-upload__button:hover {
  transform: scale(1.018);
  filter: brightness(1.1) saturate(1.12);
}

#a4n-herois-infinitos-root .a4n-hi-upload__button input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

#a4n-herois-infinitos-root .a4n-hi-upload__button::after,
#a4n-herois-infinitos-root .a4n-hi-start::after {
  content: "";
  position: absolute;
  inset: -38% auto -38% -30%;
  z-index: 2;
  width: 22%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .8), transparent);
  transform: skewX(-18deg);
  animation: a4nhi-shine-sweep 3.3s ease-in-out infinite;
  pointer-events: none;
}

#a4n-herois-infinitos-root .a4n-hi-upload__button span {
  position: relative;
  z-index: 3;
  color: #fff;
  font-size: clamp(25px, 2vw, 38px);
  font-style: italic;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 4px 4px 0 #050508;
  -webkit-text-stroke: 1px #050508;
}

#a4n-herois-infinitos-root .a4n-hi-field {
  display: grid;
  grid-template-columns: minmax(112px, 132px) minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--story .a4n-hi-story-settings {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--story .a4n-hi-field {
  margin-bottom: 0;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--story .a4n-hi-field:nth-of-type(3) {
  margin: 2px 0 4px;
  padding: 8px 10px;
  background: #ffd21f;
  border: 4px solid #050508;
  box-shadow: 6px 6px 0 #050508;
  transform: skew(-2deg);
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--story .a4n-hi-field:nth-of-type(3) > * {
  transform: skew(2deg);
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--story .a4n-hi-field:nth-of-type(3) span {
  font-size: clamp(18px, 1.22vw, 25px);
  color: #050508;
  text-shadow: 2px 2px 0 #fff;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--story .a4n-hi-field:nth-of-type(3) select {
  min-height: 42px;
  color: #fff;
  background: #050508;
  border-color: #050508;
  box-shadow: 4px 4px 0 rgba(255, 255, 255, .58);
}

#a4n-herois-infinitos-root .a4n-hi-field span,
#a4n-herois-infinitos-root .a4n-hi-check strong {
  color: #050508;
  font-size: clamp(17px, 1.08vw, 23px);
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 2px 2px 0 #fff;
  line-height: 1.02;
}

#a4n-herois-infinitos-root .a4n-hi-field select,
#a4n-herois-infinitos-root .a4n-hi-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  color: #050508;
  border: 3px solid #050508;
  border-radius: 0;
  background: rgba(255, 255, 255, .92);
  box-shadow: 5px 5px 0 rgba(5, 5, 8, .16);
  font: 900 15px/1.15 Arial, sans-serif;
  transition: transform .16s ease, box-shadow .16s ease;
}

#a4n-herois-infinitos-root .a4n-hi-field textarea {
  min-height: 96px;
  padding-block: 12px;
}

#a4n-herois-infinitos-root .a4n-hi-field select:focus,
#a4n-herois-infinitos-root .a4n-hi-field textarea:focus {
  outline: 3px solid var(--a4n-cine-yellow);
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 rgba(5, 5, 8, .2);
}

#a4n-herois-infinitos-root .a4n-hi-credit-summary {
  margin: 0 0 4px 0;
  padding: 10px 14px;
  color: #050508;
  background: var(--a4n-cine-yellow);
  border: 3px solid #050508;
  box-shadow: 5px 5px 0 #050508;
  font: 900 13px/1.15 Arial, sans-serif;
  text-transform: uppercase;
  transform: skew(-2deg);
}

#a4n-herois-infinitos-root .a4n-hi-credit-summary small {
  display: inline-block;
  margin-left: 8px;
  font-size: 12px;
  text-transform: none;
}

#a4n-herois-infinitos-root .a4n-hi-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 4px 0 0;
  padding: 10px 12px;
  background: transparent;
  border-left: 5px solid transparent;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}

#a4n-herois-infinitos-root .a4n-hi-check:hover {
  transform: translateX(4px);
  border-color: #050508;
  background: transparent;
}

#a4n-herois-infinitos-root .a4n-hi-check input {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  accent-color: #050508;
  transform: rotate(-2deg);
}

#a4n-herois-infinitos-root .a4n-hi-check small {
  display: block;
  margin-top: 3px;
  color: #2d2d32;
  font: 700 12px/1.2 Arial, sans-serif;
}

#a4n-herois-infinitos-root .a4n-hi-privacy {
  margin-top: 16px;
  padding: 10px 12px 10px 44px;
  color: #17171b;
  background: transparent;
  border: 0;
  font: 800 13px/1.3 Arial, sans-serif;
  position: relative;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, .9);
}

#a4n-herois-infinitos-root .a4n-hi-privacy::before {
  content: "i";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 3px solid #050508;
  border-radius: 50%;
  transform: translateY(-50%);
  font-weight: 900;
}

#a4n-herois-infinitos-root .a4n-hi-error {
  position: relative;
  z-index: 5;
  width: min(900px, 100%);
  margin: 16px auto 0;
  padding: 12px 18px;
  color: #fff;
  background: #b50018;
  border: 4px solid #050508;
  box-shadow: 6px 6px 0 #050508;
  font: 900 15px/1.2 Arial, sans-serif;
}

#a4n-herois-infinitos-root .a4n-hi-start {
  position: relative;
  z-index: 5;
  width: min(900px, 78vw);
  min-height: clamp(120px, 9.2vw, 150px);
  margin: clamp(20px, 2.1vw, 30px) auto 0;
  padding: 22px clamp(86px, 9vw, 132px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  overflow: visible;
  border: 0;
  background:
    url("../ui/cta-lightning-right.png") right 5% center / auto 82% no-repeat,
    url("../ui/cta-start-banner.png") center / 100% 100% no-repeat;
  box-shadow: none;
  clip-path: none;
  cursor: pointer;
  transform: translateZ(0);
  transition: transform .18s ease, filter .18s ease;
}

#a4n-herois-infinitos-root .a4n-hi-start::before {
  content: "";
  position: absolute;
  left: clamp(26px, 3.4vw, 54px);
  top: 50%;
  z-index: 1;
  width: clamp(66px, 8vw, 128px);
  aspect-ratio: 1.55;
  background: url("../ui/cta-burst-left.png") center / contain no-repeat;
  transform: translateY(-50%) rotate(-6deg);
  filter: drop-shadow(5px 7px 0 rgba(5, 5, 8, .4));
  animation: a4nhi-subtle-burst-pulse 1.9s ease-in-out infinite;
}

#a4n-herois-infinitos-root .a4n-hi-start i {
  display: none;
}

#a4n-herois-infinitos-root .a4n-hi-start:hover:not(:disabled) {
  transform: translateY(-3px) scale(1.018) rotate(-.12deg);
  filter: saturate(1.13) brightness(1.08);
}

#a4n-herois-infinitos-root .a4n-hi-start:disabled {
  cursor: not-allowed;
  filter: grayscale(.35) brightness(.72);
}

#a4n-herois-infinitos-root .a4n-hi-start strong {
  position: relative;
  z-index: 3;
  color: #fff;
  max-width: 100%;
  font-size: clamp(30px, 4vw, 58px);
  font-style: italic;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  text-shadow: 4px 4px 0 #050508, 0 0 10px rgba(255, 255, 255, .36);
  -webkit-text-stroke: 2px #050508;
}

#a4n-herois-infinitos-root .a4n-hi-start span {
  position: relative;
  z-index: 3;
  margin-top: 0;
  color: #fff;
  font-size: clamp(13px, 1.2vw, 20px);
  font-weight: 900;
  text-shadow: 3px 3px 0 #050508;
}

#a4n-herois-infinitos-root .a4n-hi-start.is-preparing {
  pointer-events: none;
  filter: saturate(1.08) brightness(1.05) drop-shadow(0 10px 0 rgba(5, 5, 8, .36));
  animation: a4nhi-start-preparing-pulse 1.05s ease-in-out infinite;
}

#a4n-herois-infinitos-root .a4n-hi-start.is-preparing strong::after {
  content: "";
  display: inline-block;
  width: .9em;
  text-align: left;
  animation: a4nhi-preparing-dots 1.2s steps(4, end) infinite;
}

#a4n-herois-infinitos-root .a4n-hi-preparing {
  position: relative;
  z-index: 6;
  width: min(780px, 86vw);
  min-height: 42px;
  margin: clamp(8px, 1.2vw, 14px) auto 0;
  padding: 9px clamp(18px, 3vw, 34px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #050508;
  background: #ffd21f;
  border: 4px solid #050508;
  box-shadow: 6px 6px 0 rgba(5, 5, 8, .88);
  font: 900 clamp(13px, 1.1vw, 17px)/1.15 Arial, sans-serif;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0;
}

#a4n-herois-infinitos-root .a4n-hi-preparing::before {
  content: "";
  width: 16px;
  height: 16px;
  margin-right: 10px;
  border: 3px solid #050508;
  border-top-color: #e50914;
  border-radius: 50%;
  animation: a4nhi-preparing-spin .75s linear infinite;
  flex: 0 0 auto;
}

@keyframes a4nhi-start-preparing-pulse {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-2px) scale(1.012); }
}

@keyframes a4nhi-preparing-dots {
  0% { content: ""; }
  25% { content: "."; }
  50% { content: ".."; }
  75%, 100% { content: "..."; }
}

@keyframes a4nhi-preparing-spin {
  to { transform: rotate(360deg); }
}

#a4n-herois-infinitos-root .a4n-hi-start,
#a4n-herois-infinitos-root .a4n-hi-start:hover,
#a4n-herois-infinitos-root .a4n-hi-start:focus,
#a4n-herois-infinitos-root .a4n-hi-start:active {
  border: 0 !important;
  outline: 0;
  box-shadow: none !important;
  background-color: transparent !important;
  appearance: none;
  -webkit-appearance: none;
}

#a4n-herois-infinitos-root .a4n-hi-start::before,
#a4n-herois-infinitos-root .a4n-hi-start::after {
  border: 0 !important;
  box-shadow: none !important;
}

#a4n-herois-infinitos-root .a4n-hi-bubble,
#a4n-herois-infinitos-root .a4n-hi-loading-bubble {
  position: absolute;
  z-index: 3;
  display: block;
  border: 0;
  box-shadow: none;
  min-width: 0;
  min-height: 0;
  overflow: visible;
  padding: 0;
  background: none !important;
  color: transparent !important;
  font-size: 0;
  line-height: 0;
  filter: drop-shadow(6px 8px 0 rgba(5, 5, 8, .58));
  pointer-events: none;
  --a4nhi-sticker-rotate: 0deg;
  transform: rotate(var(--a4nhi-sticker-rotate));
  clip-path: none !important;
  mask: none !important;
  -webkit-mask: none !important;
  height: auto;
  max-width: none;
  object-fit: contain;
  user-select: none;
  animation: a4nhi-float-medium 4.8s ease-in-out infinite;
}

#a4n-herois-infinitos-root .a4n-hi-bubble--0,
#a4n-herois-infinitos-root .a4n-hi-loading-bubble--6 {
  top: 23%;
  left: 5%;
  width: clamp(110px, 8.5vw, 150px);
  --a4nhi-sticker-rotate: -8deg;
}

#a4n-herois-infinitos-root .a4n-hi-bubble--1,
#a4n-herois-infinitos-root .a4n-hi-loading-bubble--5 {
  top: 24%;
  right: 7%;
  width: clamp(130px, 9vw, 170px);
  --a4nhi-sticker-rotate: 8deg;
}

#a4n-herois-infinitos-root .a4n-hi-bubble--2,
#a4n-herois-infinitos-root .a4n-hi-loading-bubble--2 {
  left: 5.2%;
  bottom: 18%;
  width: clamp(130px, 9.5vw, 170px);
  --a4nhi-sticker-rotate: -5deg;
}

#a4n-herois-infinitos-root .a4n-hi-bubble--3,
#a4n-herois-infinitos-root .a4n-hi-loading-bubble--3 {
  right: 6%;
  bottom: 18%;
  width: clamp(130px, 9.5vw, 170px);
  --a4nhi-sticker-rotate: 7deg;
}

#a4n-herois-infinitos-root .a4n-hi-bubble--4 {
  top: 30%;
  left: 8.8%;
  width: clamp(70px, 5.3vw, 100px);
  --a4nhi-sticker-rotate: 12deg;
}

#a4n-herois-infinitos-root .a4n-hi-bubble--1,
#a4n-herois-infinitos-root .a4n-hi-loading-bubble--5 {
  animation-name: a4nhi-float-slow;
  animation-delay: .4s;
}

#a4n-herois-infinitos-root .a4n-hi-bubble--2,
#a4n-herois-infinitos-root .a4n-hi-loading-bubble--2 {
  animation-name: a4nhi-float-medium;
  animation-delay: .8s;
}

#a4n-herois-infinitos-root .a4n-hi-bubble--3,
#a4n-herois-infinitos-root .a4n-hi-loading-bubble--3 {
  animation-name: a4nhi-float-slow;
  animation-delay: 1.15s;
}

#a4n-herois-infinitos-root .a4n-hi-bubble--4 {
  animation-name: a4nhi-float-tiny;
  animation-delay: .45s;
}

#a4n-herois-infinitos-root .a4n-hi-bubble--5,
#a4n-herois-infinitos-root .a4n-hi-bubble--6,
#a4n-herois-infinitos-root .a4n-hi-bubble--7 {
  display: none;
}

#a4n-herois-infinitos-root .a4n-hi-loading {
  display: grid;
  place-items: center;
  align-content: center;
  gap: clamp(16px, 1.7vw, 26px);
}

#a4n-herois-infinitos-root .a4n-hi-loading__title {
  position: relative;
  z-index: 5;
  width: min(980px, 94vw);
  padding-top: clamp(112px, 15vw, 210px);
  text-align: center;
}

#a4n-herois-infinitos-root .a4n-hi-loading__title::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: min(620px, 82vw);
  aspect-ratio: 2.4;
  background: url("../ui/logo-herois-infinitos.png") center / contain no-repeat;
  transform: translateX(-50%);
  animation: a4nhi-subtle-pulse 4.8s ease-in-out infinite;
}

#a4n-herois-infinitos-root .a4n-hi-loading__title p {
  display: none;
}

#a4n-herois-infinitos-root .a4n-hi-loading__title h2 {
  color: #050508;
  font-size: clamp(44px, 5.6vw, 92px);
  font-style: italic;
  line-height: .9;
  text-shadow: 5px 5px 0 #fff, 9px 9px 0 rgba(5, 5, 8, .2);
}

#a4n-herois-infinitos-root .a4n-hi-loading__title h2 span {
  display: block;
  color: var(--a4n-cine-red);
  font-size: clamp(60px, 7.4vw, 122px);
  text-shadow: 5px 5px 0 #fff, 10px 10px 0 rgba(5, 5, 8, .22);
}

#a4n-herois-infinitos-root .a4n-hi-loading__title small {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 18px;
  color: #050508;
  background: rgba(255, 255, 255, .84);
  border-bottom: 4px solid var(--a4n-cine-red);
  font: 800 clamp(14px, 1.1vw, 18px)/1.2 Arial, sans-serif;
}

#a4n-herois-infinitos-root .a4n-hi-progress-strip {
  position: relative;
  z-index: 5;
  width: min(1040px, 92vw);
  min-height: clamp(122px, 8vw, 162px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: 16px;
  align-items: center;
  padding: 28px 44px;
  border: 0;
  background: url("../ui/cta-start-banner.png") center / 100% 100% no-repeat;
  transform: skew(-6deg);
}

#a4n-herois-infinitos-root .a4n-hi-progress-panels {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
}

#a4n-herois-infinitos-root .a4n-hi-progress-panels span {
  min-height: clamp(54px, 5vw, 82px);
  border: 3px solid #050508;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, .25), transparent 38%),
    repeating-linear-gradient(135deg, #555 0 7px, #333 7px 14px);
}

#a4n-herois-infinitos-root .a4n-hi-progress-panels span.is-active {
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .72), transparent 42%),
    linear-gradient(135deg, #f2121d, #ff9d1e 48%, #ffd21f);
}

#a4n-herois-infinitos-root .a4n-hi-progress-strip strong {
  color: var(--a4n-cine-yellow);
  font-size: clamp(40px, 4.2vw, 72px);
  font-style: italic;
  text-shadow: 4px 4px 0 #050508;
}

#a4n-herois-infinitos-root .a4n-hi-loading-message {
  position: relative;
  z-index: 5;
  padding: 6px 20px;
  color: #050508;
  background: rgba(255, 255, 255, .82);
  border-bottom: 5px solid var(--a4n-cine-red);
  font: 900 16px/1.2 Arial, sans-serif;
  text-transform: uppercase;
}

#a4n-herois-infinitos-root .a4n-hi-tip {
  position: relative;
  z-index: 5;
  max-width: min(720px, 94vw);
  padding: 13px 28px;
  color: #fff;
  background: #050508;
  border: 0;
  border-left: 10px solid var(--a4n-cine-yellow);
  clip-path: polygon(3% 0, 100% 0, 97% 100%, 0 100%);
  box-shadow: 8px 8px 0 rgba(5, 5, 8, .24);
  font: 900 16px/1.2 Arial, sans-serif;
}

#a4n-herois-infinitos-root .a4n-hi-cine-spark {
  position: absolute;
  z-index: 3;
  width: 16px;
  height: 16px;
  background: #fff;
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  filter: drop-shadow(0 0 7px #ffd21f);
  animation: a4nhi-twinkle 2.4s ease-in-out infinite;
}

#a4n-herois-infinitos-root .a4n-hi-cine-spark--1 { top: 16%; left: 35%; }
#a4n-herois-infinitos-root .a4n-hi-cine-spark--2 { top: 22%; right: 31%; animation-delay: .6s; }
#a4n-herois-infinitos-root .a4n-hi-cine-spark--3 { bottom: 22%; left: 25%; animation-delay: 1.2s; }
#a4n-herois-infinitos-root .a4n-hi-cine-spark--4 { bottom: 19%; right: 21%; animation-delay: 1.8s; }

#a4n-herois-infinitos-root .a4n-hi-music-control {
  position: fixed;
  right: clamp(16px, 2.2vw, 32px);
  bottom: clamp(18px, 2.4vw, 36px);
  z-index: 9999;
  display: grid;
  justify-items: end;
  gap: 10px;
  font-family: Arial, sans-serif;
}

#a4n-herois-infinitos-root .a4n-hi-music-control__button {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 4px solid #050508;
  border-radius: 50%;
  color: #050508;
  background: var(--a4n-cine-yellow);
  box-shadow: 6px 6px 0 #050508;
  cursor: pointer;
  transition: transform .16s ease, filter .16s ease;
}

#a4n-herois-infinitos-root .a4n-hi-music-control__button span {
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-1px);
}

#a4n-herois-infinitos-root .a4n-hi-music-control.is-playing .a4n-hi-music-control__button {
  color: #fff;
  background: var(--a4n-cine-red);
  animation: a4nhi-subtle-pulse 1.7s ease-in-out infinite;
}

#a4n-herois-infinitos-root .a4n-hi-music-control__button:hover {
  transform: translate(-2px, -2px) scale(1.04);
  filter: brightness(1.08);
}

#a4n-herois-infinitos-root .a4n-hi-music-control__panel {
  width: min(290px, calc(100vw - 32px));
  padding: 14px;
  color: #050508;
  border: 4px solid #050508;
  background: rgba(247, 247, 242, .96);
  box-shadow: 8px 8px 0 rgba(5, 5, 8, .86);
}

#a4n-herois-infinitos-root .a4n-hi-music-control__panel strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
}

#a4n-herois-infinitos-root .a4n-hi-music-control__panel label {
  display: grid;
  gap: 6px;
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

#a4n-herois-infinitos-root .a4n-hi-music-control__volume {
  width: 100%;
  accent-color: var(--a4n-cine-red);
}

#a4n-herois-infinitos-root .a4n-hi-music-control__toggle {
  width: 100%;
  min-height: 42px;
  color: #fff;
  border: 3px solid #050508;
  background: #050508;
  box-shadow: 4px 4px 0 var(--a4n-cine-yellow);
  font: 900 13px/1 Arial, sans-serif;
  text-transform: uppercase;
  cursor: pointer;
}

@keyframes a4nhi-bg-drift {
  0% { transform: translate3d(-50%, -50%, 0) scale(1.02) rotate(0deg); }
  50% { transform: translate3d(-50%, -50%, 0) scale(1.04) rotate(180deg); }
  100% { transform: translate3d(-50%, -50%, 0) scale(1.02) rotate(360deg); }
}

@keyframes a4nhi-diagonal-drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: .78; }
  50% { transform: translate3d(0, -8px, 0) scale(1.012); opacity: .88; }
}

@keyframes a4nhi-shine-sweep {
  0%, 38% { left: -30%; opacity: 0; }
  48% { opacity: .86; }
  68%, 100% { left: 118%; opacity: 0; }
}

@keyframes a4nhi-float-slow {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(var(--a4nhi-sticker-rotate, 0deg)); }
  50% { transform: translate3d(0, -10px, 0) rotate(var(--a4nhi-sticker-rotate, 0deg)); }
}

@keyframes a4nhi-float-medium {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(var(--a4nhi-sticker-rotate, 0deg)); }
  50% { transform: translate3d(0, -14px, 0) rotate(var(--a4nhi-sticker-rotate, 0deg)); }
}

@keyframes a4nhi-float-tiny {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(var(--a4nhi-sticker-rotate, 0deg)); }
  50% { transform: translate3d(0, -5px, 0) rotate(var(--a4nhi-sticker-rotate, 0deg)); }
}

@keyframes a4nhi-subtle-burst-pulse {
  0%, 100% { transform: translateY(-50%) rotate(-6deg) scale(1); }
  50% { transform: translateY(-50%) rotate(-2deg) scale(1.08); }
}

@keyframes a4nhi-subtle-pulse {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, -3px, 0) scale(1.018); }
}

@keyframes a4nhi-twinkle {
  0%, 100% { opacity: .25; transform: scale(.65) rotate(0deg); }
  45% { opacity: 1; transform: scale(1.4) rotate(45deg); }
}

@media (prefers-reduced-motion: reduce) {
  #a4n-herois-infinitos-root .a4n-hi-setup::before,
  #a4n-herois-infinitos-root .a4n-hi-loading::before,
  #a4n-herois-infinitos-root .a4n-hi-bubble,
  #a4n-herois-infinitos-root .a4n-hi-loading-bubble,
  #a4n-herois-infinitos-root .a4n-hi-cine-spark,
  #a4n-herois-infinitos-root .a4n-hi-start::before,
  #a4n-herois-infinitos-root .a4n-hi-start::after,
  #a4n-herois-infinitos-root .a4n-hi-start.is-preparing,
  #a4n-herois-infinitos-root .a4n-hi-start.is-preparing strong::after,
  #a4n-herois-infinitos-root .a4n-hi-preparing::before,
  #a4n-herois-infinitos-root .a4n-hi-upload__button::after,
  #a4n-herois-infinitos-root .a4n-hi-music-control.is-playing .a4n-hi-music-control__button {
    animation: none !important;
  }
}

@media (max-width: 1180px) {
  #a4n-herois-infinitos-root .a4n-hi-setup__grid {
    gap: 22px;
  }

  #a4n-herois-infinitos-root .a4n-hi-manga-panel {
    padding-inline: 42px;
  }

  #a4n-herois-infinitos-root .a4n-hi-field {
    grid-template-columns: 118px minmax(0, 1fr);
  }
}

@media (max-width: 980px) {
  #a4n-herois-infinitos-root .a4n-hi-setup,
  #a4n-herois-infinitos-root .a4n-hi-loading {
    min-height: auto;
  }

  #a4n-herois-infinitos-root .a4n-hi-setup__grid {
    grid-template-columns: 1fr;
    width: min(760px, 100%);
  }

  #a4n-herois-infinitos-root .a4n-hi-setup::after,
  #a4n-herois-infinitos-root .a4n-hi-loading::after {
    opacity: .32;
    background-size: 260px auto, 360px auto;
  }

  #a4n-herois-infinitos-root .a4n-hi-bubble,
  #a4n-herois-infinitos-root .a4n-hi-loading-bubble {
    opacity: .45;
    scale: .72;
  }

  #a4n-herois-infinitos-root .a4n-hi-start {
    width: 100%;
    min-height: 126px;
    padding-inline: 60px;
  }
}

@media (max-width: 640px) {
  #a4n-herois-infinitos-root .a4n-hi-setup,
  #a4n-herois-infinitos-root .a4n-hi-loading {
    padding: 16px 10px 28px;
  }

  #a4n-herois-infinitos-root .a4n-hi-cine-corner {
    width: 330px;
    top: -72px;
    left: -128px;
    opacity: .86;
  }

  #a4n-herois-infinitos-root .a4n-hi-hero-title {
    min-height: clamp(180px, 54vw, 250px);
    width: min(92vw, 420px);
  }

  #a4n-herois-infinitos-root .a4n-hi-hero-title small {
    bottom: -12px;
    max-width: 92vw;
    white-space: normal;
  }

  #a4n-herois-infinitos-root .a4n-hi-manga-panel {
    min-height: auto;
    padding: 74px 20px 32px;
  }

  #a4n-herois-infinitos-root .a4n-hi-manga-panel--story {
    padding: 74px 22px 34px;
  }

  #a4n-herois-infinitos-root .a4n-hi-manga-panel h2 {
    left: 20px;
    min-width: calc(100% - 54px);
    padding-left: 20px;
    font-size: clamp(27px, 9vw, 38px);
  }

  #a4n-herois-infinitos-root .a4n-hi-upload {
    padding: 14px 12px;
  }

  #a4n-herois-infinitos-root .a4n-hi-upload__head {
    padding-left: 0;
  }

  #a4n-herois-infinitos-root .a4n-hi-upload__body {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 10px;
    padding-left: 0;
  }

  #a4n-herois-infinitos-root .a4n-hi-upload__sketch {
    width: 78px;
  }

  #a4n-herois-infinitos-root .a4n-hi-upload__button {
    min-height: 72px;
  }

  #a4n-herois-infinitos-root .a4n-hi-upload__button span {
    font-size: clamp(20px, 7vw, 30px);
  }

  #a4n-herois-infinitos-root .a4n-hi-field {
    grid-template-columns: 1fr;
    gap: 6px;
    margin-bottom: 6px;
  }

  #a4n-herois-infinitos-root .a4n-hi-field select,
  #a4n-herois-infinitos-root .a4n-hi-field textarea {
    min-height: 48px;
  }

  #a4n-herois-infinitos-root .a4n-hi-credit-summary {
    font-size: 12px;
  }

  #a4n-herois-infinitos-root .a4n-hi-check {
    padding: 9px 10px;
  }

  #a4n-herois-infinitos-root .a4n-hi-check strong {
    font-size: clamp(18px, 5.5vw, 23px);
  }

  #a4n-herois-infinitos-root .a4n-hi-start {
    min-height: 112px;
    padding: 18px 34px;
    background-size: 142% 100%;
  }

  #a4n-herois-infinitos-root .a4n-hi-start::before {
    width: 58px;
    left: 8px;
  }

  #a4n-herois-infinitos-root .a4n-hi-start strong {
    font-size: clamp(22px, 7vw, 34px);
    -webkit-text-stroke-width: 1px;
  }

  #a4n-herois-infinitos-root .a4n-hi-bubble,
  #a4n-herois-infinitos-root .a4n-hi-loading-bubble {
    display: none;
  }

  #a4n-herois-infinitos-root .a4n-hi-progress-strip {
    grid-template-columns: 1fr;
    width: 100%;
    padding: 24px 28px;
    background-size: 175% 100%;
    transform: none;
  }

  #a4n-herois-infinitos-root .a4n-hi-progress-panels {
    gap: 5px;
  }

  #a4n-herois-infinitos-root .a4n-hi-music-control {
    right: 12px;
    bottom: 12px;
  }

  #a4n-herois-infinitos-root .a4n-hi-music-control__button {
    width: 50px;
    height: 50px;
  }
}

/* Focused layout correction for the setup panels. */
#a4n-herois-infinitos-root .a4n-hi-manga-panel--story {
  min-height: clamp(675px, 43vw, 820px);
  padding: clamp(104px, 6.6vw, 126px) clamp(70px, 4.8vw, 94px) clamp(78px, 4.8vw, 98px);
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--story .a4n-hi-story-settings {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, .8vw, 14px);
  box-sizing: border-box;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--story .a4n-hi-field {
  display: grid;
  grid-template-columns: clamp(132px, 8.8vw, 158px) minmax(0, 1fr);
  gap: clamp(14px, 1.1vw, 20px);
  align-items: center;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  transform: none;
  box-sizing: border-box;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--story .a4n-hi-field > * {
  min-width: 0;
  transform: none;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--story .a4n-hi-field span {
  color: #050508;
  font-size: clamp(18px, 1.12vw, 23px);
  line-height: 1.03;
  text-shadow: 2px 2px 0 #fff;
  white-space: normal;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--story .a4n-hi-field select,
#a4n-herois-infinitos-root .a4n-hi-manga-panel--story .a4n-hi-field textarea {
  width: 100%;
  min-height: clamp(50px, 3.3vw, 58px);
  padding: 0 clamp(14px, 1.1vw, 20px);
  border: 3px solid #050508;
  background: rgba(255, 255, 255, .94);
  box-shadow: 5px 5px 0 rgba(5, 5, 8, .16);
  font-size: clamp(14px, .98vw, 17px);
  line-height: 1.1;
  box-sizing: border-box;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--story .a4n-hi-field:nth-of-type(3) {
  margin-top: clamp(4px, .45vw, 8px);
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--story .a4n-hi-field:nth-of-type(3) select {
  color: #fff;
  background: #050508;
  border-color: #050508;
  box-shadow: 5px 5px 0 var(--a4n-cine-yellow);
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--story .a4n-hi-credit-summary {
  width: auto;
  margin: -2px 0 clamp(4px, .6vw, 10px) calc(clamp(132px, 8.8vw, 158px) + clamp(14px, 1.1vw, 20px));
  padding: 10px clamp(14px, 1vw, 18px);
  color: #050508;
  background: var(--a4n-cine-yellow);
  border: 3px solid #050508;
  box-shadow: 5px 5px 0 #050508;
  font-size: clamp(12px, .82vw, 14px);
  line-height: 1.15;
  transform: none;
  box-sizing: border-box;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--story .a4n-hi-check {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  width: 100%;
  min-width: 0;
  margin: clamp(5px, .55vw, 9px) 0 0;
  padding: 10px 0 0;
  background: transparent;
  border: 0;
  border-top: 2px solid rgba(5, 5, 8, .12);
  box-sizing: border-box;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--story .a4n-hi-check:hover {
  transform: none;
  background: transparent;
  border-color: rgba(5, 5, 8, .2);
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--story .a4n-hi-check input {
  width: 26px;
  height: 26px;
  margin: 0;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--story .a4n-hi-check strong {
  display: block;
  max-width: 100%;
  font-size: clamp(19px, 1.26vw, 26px);
  line-height: 1.06;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--story .a4n-hi-check small {
  margin-top: 5px;
  font-size: clamp(12px, .82vw, 14px);
  line-height: 1.22;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload {
  min-height: 132px;
  margin-bottom: 20px;
  padding: 17px 22px 18px;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload__head {
  padding-left: 72px;
  margin-bottom: 8px;
  font-size: clamp(20px, 1.38vw, 27px);
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload__body {
  grid-template-columns: 106px minmax(0, 1fr);
  gap: 20px;
  padding-left: 38px;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload__sketch {
  width: 102px;
  background-size: 86% 86%, auto;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload__button {
  min-height: 84px;
  background-size: 100% 100%;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload--costar .a4n-hi-upload__button span {
  font-size: clamp(22px, 1.75vw, 34px);
}

@media (max-width: 1180px) {
  #a4n-herois-infinitos-root .a4n-hi-manga-panel--story {
    padding: 98px 54px 72px;
  }

  #a4n-herois-infinitos-root .a4n-hi-manga-panel--story .a4n-hi-field {
    grid-template-columns: 126px minmax(0, 1fr);
    gap: 14px;
  }

  #a4n-herois-infinitos-root .a4n-hi-manga-panel--story .a4n-hi-credit-summary {
    margin-left: 140px;
  }
}

@media (max-width: 980px) {
  #a4n-herois-infinitos-root .a4n-hi-manga-panel--story {
    min-height: auto;
    padding: 86px 48px 58px;
  }
}

@media (max-width: 640px) {
  #a4n-herois-infinitos-root .a4n-hi-manga-panel--story {
    padding: 76px 24px 40px;
  }

  #a4n-herois-infinitos-root .a4n-hi-manga-panel--story .a4n-hi-story-settings {
    gap: 10px;
  }

  #a4n-herois-infinitos-root .a4n-hi-manga-panel--story .a4n-hi-field {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  #a4n-herois-infinitos-root .a4n-hi-manga-panel--story .a4n-hi-credit-summary {
    margin-left: 0;
  }

  #a4n-herois-infinitos-root .a4n-hi-manga-panel--story .a4n-hi-check {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 10px;
  }

  #a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload__body {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 10px;
    padding-left: 0;
  }

  #a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload__sketch {
    width: 76px;
  }
}

/* Surgical correction: remove legacy upload chrome and compact the story form. */
#a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload__button {
  width: min(100%, 430px);
  min-height: 0;
  height: clamp(72px, 5.2vw, 84px);
  justify-self: center;
  padding: 0;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  clip-path: none !important;
  background-color: transparent !important;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload__button::before,
#a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload__button::after {
  display: none !important;
  content: none !important;
  background: none !important;
  box-shadow: none !important;
  border: 0 !important;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload__button span {
  font-size: clamp(24px, 1.72vw, 34px);
  line-height: .92;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload--costar .a4n-hi-upload__button {
  width: min(100%, 410px);
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload--costar .a4n-hi-upload__button span {
  max-width: 82%;
  font-size: clamp(21px, 1.54vw, 30px);
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--story {
  min-height: clamp(590px, 37vw, 690px);
  padding: clamp(86px, 5.6vw, 98px) clamp(74px, 4.8vw, 88px) clamp(108px, 6.2vw, 126px);
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--story .a4n-hi-story-settings {
  gap: clamp(11px, .72vw, 14px);
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--story .a4n-hi-field {
  grid-template-columns: clamp(118px, 7.7vw, 136px) minmax(0, 1fr);
  gap: clamp(12px, .9vw, 16px);
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--story .a4n-hi-field select,
#a4n-herois-infinitos-root .a4n-hi-manga-panel--story .a4n-hi-field textarea {
  min-height: clamp(46px, 3vw, 54px);
  padding-inline: clamp(14px, 1vw, 18px);
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--story .a4n-hi-field:nth-of-type(3) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--story .a4n-hi-credit-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 10px 14px;
  min-height: clamp(46px, 3.1vw, 54px);
  border: 3px solid #050508;
  background: var(--a4n-cine-yellow);
  box-shadow: 5px 5px 0 #050508;
  font-size: 0;
  line-height: 1;
  text-transform: none;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--story .a4n-hi-credit-summary::before {
  content: "IA GRATUITA";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 4px 9px;
  color: #fff;
  background: #050508;
  font: 900 clamp(11px, .78vw, 13px)/1 Arial, sans-serif;
  white-space: nowrap;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--story .a4n-hi-credit-summary::after {
  content: "Gera imagens com IA e consome créditos";
  color: #050508;
  font: 900 clamp(12px, .86vw, 15px)/1.12 Arial, sans-serif;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--story .a4n-hi-credit-summary small,
#a4n-herois-infinitos-root .a4n-hi-manga-panel--story .a4n-hi-credit-summary > * {
  display: none !important;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--story .a4n-hi-check {
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  margin-top: 2px;
  padding-top: 8px;
  border-top: 1px solid rgba(5, 5, 8, .12);
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--story .a4n-hi-check input {
  width: 24px;
  height: 24px;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--story .a4n-hi-check strong {
  font-size: clamp(17px, 1.05vw, 23px);
  line-height: 1.05;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--story .a4n-hi-check small {
  margin-top: 4px;
  font-size: clamp(11px, .72vw, 13px);
  line-height: 1.2;
}

@media (max-width: 1180px) {
  #a4n-herois-infinitos-root .a4n-hi-manga-panel--story {
    padding: 82px 58px 104px;
  }

  #a4n-herois-infinitos-root .a4n-hi-manga-panel--story .a4n-hi-field {
    grid-template-columns: 116px minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  #a4n-herois-infinitos-root .a4n-hi-manga-panel--story {
    padding: 74px 24px 54px;
  }

  #a4n-herois-infinitos-root .a4n-hi-manga-panel--story .a4n-hi-credit-summary {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  #a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload__button {
    width: 100%;
    height: 70px;
  }
}

/* Story form mode correction: visible AI select and exclusive story mode. */
#a4n-herois-infinitos-root .a4n-hi-manga-panel--cast {
  padding-top: clamp(112px, 7vw, 132px);
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--story {
  padding-top: clamp(112px, 7vw, 128px);
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload {
  min-height: clamp(150px, 10vw, 176px);
  padding: clamp(13px, 1vw, 17px) clamp(18px, 1.5vw, 24px) clamp(16px, 1.2vw, 20px);
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload__head {
  justify-content: center;
  padding-left: 0;
  margin: 0 0 10px;
  color: #050508;
  font-size: clamp(22px, 1.65vw, 31px);
  text-align: center;
  text-shadow: 2px 2px 0 rgba(255, 255, 255, .82);
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload__body {
  grid-template-columns: clamp(92px, 7vw, 116px) minmax(0, 1fr);
  gap: clamp(16px, 1.6vw, 26px);
  padding-left: 0;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload__sketch {
  width: clamp(88px, 6.6vw, 108px);
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload__button {
  width: clamp(310px, 25vw, 470px);
  height: clamp(84px, 6.3vw, 104px);
  background-size: 100% 100%;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload__button span {
  max-width: 88%;
  font-size: clamp(27px, 2.05vw, 40px);
  line-height: .94;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload--costar .a4n-hi-upload__button {
  width: clamp(310px, 24vw, 455px);
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload--costar .a4n-hi-upload__button span {
  max-width: 90%;
  font-size: clamp(24px, 1.85vw, 35px);
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--story .a4n-hi-story-settings {
  gap: clamp(9px, .62vw, 12px);
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--story .a4n-hi-field {
  grid-template-columns: clamp(116px, 7vw, 128px) minmax(0, 1fr);
  gap: clamp(10px, .8vw, 14px);
  margin-bottom: 0;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--story .a4n-hi-field select,
#a4n-herois-infinitos-root .a4n-hi-manga-panel--story .a4n-hi-field textarea {
  min-height: clamp(44px, 2.8vw, 50px);
  font-size: clamp(14px, .9vw, 16px);
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--story .a4n-hi-field--ai {
  position: relative !important;
  display: grid !important;
  grid-template-columns: clamp(116px, 7vw, 128px) minmax(150px, 218px) minmax(0, 1fr) !important;
  gap: clamp(10px, .8vw, 14px) !important;
  align-items: center !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  clip: auto !important;
  clip-path: none !important;
  white-space: normal !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--story .a4n-hi-field.a4n-hi-field--ai:nth-of-type(3) {
  position: relative !important;
  display: grid !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  clip: auto !important;
  clip-path: none !important;
  white-space: normal !important;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--story .a4n-hi-field.a4n-hi-field--ai:nth-of-type(3) > * {
  display: block !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  clip: auto !important;
  clip-path: none !important;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--story .a4n-hi-field--ai > * {
  display: block !important;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--story .a4n-hi-field--ai select {
  width: 100% !important;
  min-height: clamp(44px, 2.8vw, 50px) !important;
  background: rgba(255, 255, 255, .94) !important;
  color: #050508 !important;
}

#a4n-herois-infinitos-root .a4n-hi-ai-help {
  display: flex !important;
  align-items: center;
  min-height: clamp(44px, 2.8vw, 50px);
  padding: 0 12px;
  border: 3px solid #050508;
  background: #FFD21F;
  color: #050508;
  box-shadow: 4px 4px 0 rgba(5, 5, 8, .35);
  font-family: Arial, sans-serif;
  font-size: clamp(11px, .78vw, 13px);
  font-style: normal;
  font-weight: 900;
  line-height: 1.1;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--story .a4n-hi-credit-summary {
  display: none !important;
}

#a4n-herois-infinitos-root .a4n-hi-story-mode {
  display: grid;
  gap: 8px;
  padding-top: 4px;
}

#a4n-herois-infinitos-root .a4n-hi-story-mode > strong {
  color: #050508;
  font-size: clamp(19px, 1.28vw, 25px);
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 2px 2px 0 rgba(255, 255, 255, .8);
}

#a4n-herois-infinitos-root .a4n-hi-story-mode__options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

#a4n-herois-infinitos-root .a4n-hi-story-mode__option {
  min-height: clamp(42px, 2.9vw, 50px);
  padding: 7px 8px;
  border: 3px solid #050508;
  border-radius: 0;
  background: rgba(255, 255, 255, .9);
  color: #050508;
  box-shadow: 3px 3px 0 rgba(5, 5, 8, .28);
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: clamp(11px, .82vw, 14px);
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

#a4n-herois-infinitos-root .a4n-hi-story-mode__option:hover {
  transform: translateY(-1px);
  box-shadow: 4px 4px 0 #050508;
}

#a4n-herois-infinitos-root .a4n-hi-story-mode__option.is-active {
  background: #FFD21F;
  box-shadow: 4px 4px 0 #050508;
}

#a4n-herois-infinitos-root .a4n-hi-story-mode small {
  display: block;
  min-height: 18px;
  color: #25252b;
  font-family: Arial, sans-serif;
  font-size: clamp(11px, .78vw, 13px);
  font-weight: 800;
  line-height: 1.22;
}

@media (max-width: 1180px) {
  #a4n-herois-infinitos-root .a4n-hi-manga-panel--story .a4n-hi-field--ai {
    grid-template-columns: 112px minmax(138px, 190px) minmax(0, 1fr) !important;
  }

  #a4n-herois-infinitos-root .a4n-hi-story-mode__option {
    font-size: 11px;
  }
}

@media (max-width: 640px) {
  #a4n-herois-infinitos-root .a4n-hi-manga-panel--cast {
    padding-top: 88px;
  }

  #a4n-herois-infinitos-root .a4n-hi-manga-panel--story {
    padding-top: 86px;
  }

  #a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload__body {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  #a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload__button {
    width: min(100%, 360px);
    height: 82px;
  }

  #a4n-herois-infinitos-root .a4n-hi-manga-panel--story .a4n-hi-field--ai {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }

  #a4n-herois-infinitos-root .a4n-hi-story-mode__options {
    grid-template-columns: 1fr;
  }
}

/* Fine layout pass: title bars, top inset, and one-line upload buttons. */
#a4n-herois-infinitos-root .a4n-hi-manga-panel h2 {
  top: clamp(8px, 1.05vw, 18px);
  left: clamp(34px, 3.2vw, 58px);
  min-width: min(88%, 640px);
  min-height: clamp(68px, 4.7vw, 82px);
  padding: clamp(18px, 1.35vw, 23px) clamp(92px, 6vw, 118px) clamp(18px, 1.35vw, 23px) clamp(32px, 2.5vw, 44px);
  display: inline-flex;
  align-items: center;
  line-height: .9;
  background-size: 100% 100%;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--cast {
  padding-top: clamp(142px, 8.5vw, 162px);
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--story {
  padding-top: clamp(140px, 8.2vw, 158px);
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload {
  min-height: clamp(144px, 9.2vw, 164px);
  padding-top: clamp(14px, .95vw, 18px);
  padding-bottom: clamp(14px, .95vw, 18px);
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload__head {
  display: flex;
  justify-content: center;
  width: auto;
  margin: 0 0 clamp(8px, .65vw, 12px) clamp(120px, 8.2vw, 148px);
  padding: 0;
  color: #050508;
  font-size: clamp(20px, 1.38vw, 27px);
  line-height: .95;
  text-align: center;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload__head span {
  display: block;
  width: 100%;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload__body {
  grid-template-columns: clamp(92px, 6.5vw, 108px) minmax(0, 1fr);
  gap: clamp(16px, 1.35vw, 24px);
  align-items: center;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload__button,
#a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload--costar .a4n-hi-upload__button {
  width: 100%;
  max-width: 560px;
  height: clamp(88px, 6vw, 106px);
  justify-self: stretch;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload__button span,
#a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload--costar .a4n-hi-upload__button span {
  max-width: 96%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  font-size: clamp(23px, 1.62vw, 32px);
  line-height: 1;
  letter-spacing: 0;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload--costar .a4n-hi-upload__button span {
  font-size: clamp(21px, 1.48vw, 29px);
}

@media (max-width: 1180px) {
  #a4n-herois-infinitos-root .a4n-hi-manga-panel h2 {
    min-width: min(92%, 600px);
    padding-right: 86px;
    font-size: clamp(29px, 3vw, 42px);
  }

  #a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload__head {
    margin-left: 108px;
  }

  #a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload__button span,
  #a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload--costar .a4n-hi-upload__button span {
    font-size: clamp(20px, 2.1vw, 28px);
  }
}

@media (max-width: 640px) {
  #a4n-herois-infinitos-root .a4n-hi-manga-panel h2 {
    top: 14px;
    left: 18px;
    min-width: calc(100% - 34px);
    min-height: 62px;
    padding: 16px 58px 16px 18px;
    font-size: clamp(26px, 8vw, 36px);
  }

  #a4n-herois-infinitos-root .a4n-hi-manga-panel--cast,
  #a4n-herois-infinitos-root .a4n-hi-manga-panel--story {
    padding-top: 102px;
  }

  #a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload__head {
    margin-left: 0;
    font-size: clamp(20px, 6vw, 26px);
  }

  #a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload__button,
  #a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload--costar .a4n-hi-upload__button {
    width: min(100%, 390px);
    justify-self: center;
  }

  #a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload__button span,
  #a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload--costar .a4n-hi-upload__button span {
    font-size: clamp(20px, 5.8vw, 28px);
  }
}

/* Upload body structure: preview left, title and button stacked on the right. */
#a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload {
  min-height: clamp(158px, 11vw, 190px);
  padding: 0;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload__body {
  display: grid;
  grid-template-columns: clamp(110px, 8.5vw, 142px) minmax(0, 1fr);
  grid-template-rows: auto;
  column-gap: clamp(24px, 2.8vw, 44px);
  align-items: center;
  min-height: clamp(158px, 11vw, 190px);
  padding: clamp(22px, 1.8vw, 32px) clamp(28px, 2.8vw, 48px);
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload__sketch {
  grid-column: 1;
  align-self: center;
  justify-self: center;
  width: clamp(98px, 7.3vw, 126px);
}

#a4n-herois-infinitos-root .a4n-hi-upload__main {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, .9vw, 14px);
  min-width: 0;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload__head {
  position: static;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  width: 100%;
  max-width: 560px;
  margin: 0;
  padding: 0;
  color: #050508;
  background: none;
  transform: none;
  font-size: clamp(21px, 1.45vw, 29px);
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-shadow: 2px 2px 0 rgba(255, 255, 255, .82);
  white-space: nowrap;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload__head span {
  display: inline;
  width: auto;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload__head strong {
  color: #237BFF;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload__head em {
  margin-left: 8px;
  color: #0f8f55;
  font-size: .72em;
  font-style: italic;
  white-space: nowrap;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload__button,
#a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload--costar .a4n-hi-upload__button {
  width: clamp(360px, 31vw, 560px);
  max-width: 100%;
  height: clamp(82px, 5.4vw, 98px);
  min-height: 0;
  justify-self: center;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload__button span,
#a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload__button-text,
#a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload--costar .a4n-hi-upload__button span,
#a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload--costar .a4n-hi-upload__button-text {
  display: block;
  max-width: 96%;
  padding: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  font-size: clamp(24px, 2.05vw, 36px);
  line-height: 1;
  text-align: center;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload--costar .a4n-hi-upload__button span,
#a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload--costar .a4n-hi-upload__button-text {
  font-size: clamp(22px, 1.85vw, 32px);
}

@media (max-width: 1180px) {
  #a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload__body {
    grid-template-columns: clamp(92px, 8vw, 116px) minmax(0, 1fr);
    column-gap: 18px;
    padding-inline: 24px;
  }

  #a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload__button,
  #a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload--costar .a4n-hi-upload__button {
    width: min(100%, 470px);
  }

  #a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload__button span,
  #a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload__button-text,
  #a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload--costar .a4n-hi-upload__button span,
  #a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload--costar .a4n-hi-upload__button-text {
    font-size: clamp(20px, 2vw, 29px);
  }
}

@media (max-width: 640px) {
  #a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload__body {
    grid-template-columns: 1fr;
    justify-items: center;
    row-gap: 10px;
    padding: 22px 18px;
  }

  #a4n-herois-infinitos-root .a4n-hi-upload__main {
    width: 100%;
  }

  #a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload__head {
    order: -1;
    font-size: clamp(19px, 5.7vw, 26px);
  }

  #a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload__button,
  #a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload--costar .a4n-hi-upload__button {
    width: min(100%, 390px);
    height: 82px;
  }

  #a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload__button span,
  #a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload__button-text,
  #a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload--costar .a4n-hi-upload__button span,
  #a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload--costar .a4n-hi-upload__button-text {
    font-size: clamp(18px, 5.3vw, 26px);
  }
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload__head {
  margin-bottom: -25px;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload__button span,
#a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload__button-text,
#a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload--costar .a4n-hi-upload__button span,
#a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-upload--costar .a4n-hi-upload__button-text {
  display: contents;
  white-space: normal;
  overflow: visible;
  font-size: 20px;
  line-height: 1;
}

#a4n-herois-infinitos-root .a4n-hi-start,
#a4n-herois-infinitos-root .a4n-hi-start:hover,
#a4n-herois-infinitos-root .a4n-hi-start:focus,
#a4n-herois-infinitos-root .a4n-hi-start:active {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background-color: transparent !important;
  background-image:
    url("../ui/cta-lightning-right.png"),
    url("../ui/cta-start-banner.png") !important;
  background-position:
    right 5% center,
    center !important;
  background-size:
    auto 82%,
    100% 100% !important;
  background-repeat: no-repeat !important;
  filter: drop-shadow(0 10px 0 rgba(5, 5, 8, .36));
}

#a4n-herois-infinitos-root .a4n-hi-start::after {
  content: none !important;
  display: none !important;
}

/* Paid-only cinematic loading refresh. */
#a4n-herois-infinitos-root .a4n-hi-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: min(980px, 100svh);
  padding: clamp(34px, 5vh, 72px) clamp(18px, 4vw, 58px) clamp(84px, 10vh, 148px);
  gap: clamp(14px, 2.4vh, 28px);
  overflow: hidden;
}

#a4n-herois-infinitos-root .a4n-hi-loading::before {
  transform-origin: 50% 32%;
  animation: a4n-hi-loading-rays 120s linear infinite;
  opacity: .78;
}

#a4n-herois-infinitos-root .a4n-hi-loading__title {
  width: min(1040px, 100%);
  margin: 0 auto clamp(10px, 2vh, 18px);
  display: grid;
  justify-items: center;
  gap: clamp(6px, 1.2vh, 12px);
}

#a4n-herois-infinitos-root .a4n-hi-loading__title::before {
  content: none;
}

#a4n-herois-infinitos-root .a4n-hi-loading__title p {
  width: clamp(260px, 26vw, 420px);
  height: clamp(90px, 11vw, 155px);
  margin: 0;
  font-size: 0;
  line-height: 0;
  color: transparent;
  background: url("../ui/logo-herois-infinitos.png") center / contain no-repeat;
  filter: drop-shadow(0 10px 0 rgba(5, 5, 8, .20));
  animation: a4n-hi-loading-float 5.5s ease-in-out infinite;
}

#a4n-herois-infinitos-root .a4n-hi-loading__title h2 {
  margin: 0;
  max-width: min(980px, 100%);
  color: #050508;
  font-size: clamp(42px, 7vw, 98px);
  line-height: .86;
  letter-spacing: 0;
  -webkit-text-stroke: 0;
  text-shadow: 4px 4px 0 #fff, 7px 7px 0 rgba(5, 5, 8, .18);
  filter: none;
  transform: skew(-8deg) rotate(-1deg);
}

#a4n-herois-infinitos-root .a4n-hi-loading__title h2 span {
  display: block;
  color: #f2121d;
  margin-top: clamp(4px, 1vh, 10px);
  font-size: clamp(58px, 9vw, 132px);
  -webkit-text-stroke: 2px #050508;
  text-shadow: 4px 4px 0 #fff, 8px 8px 0 rgba(5, 5, 8, .26);
}

#a4n-herois-infinitos-root .a4n-hi-loading__title small {
  display: block;
  max-width: 760px;
  margin: 0;
  padding: 4px 14px 6px;
  color: #050508;
  background: rgba(255, 255, 255, .78);
  border-bottom: 4px solid #f2121d;
  font: 900 clamp(14px, 1.5vw, 20px) Arial, sans-serif;
  text-transform: none;
}

#a4n-herois-infinitos-root .a4n-hi-progress-strip {
  width: min(940px, 88vw);
  min-height: clamp(88px, 12vw, 132px);
  padding: clamp(10px, 1.4vw, 16px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(96px, 12vw, 142px);
  align-items: center;
  gap: clamp(10px, 1.6vw, 18px);
  background: linear-gradient(90deg, #050508 0 6%, transparent 6.4% 100%), linear-gradient(135deg, #111, #050508);
  border: 7px solid #050508;
  box-shadow: 10px 10px 0 rgba(5, 5, 8, .28);
  clip-path: polygon(3% 0, 100% 0, 96% 100%, 0 100%);
  transform: skew(-7deg);
  overflow: hidden;
}

#a4n-herois-infinitos-root .a4n-hi-progress-strip::after {
  content: "";
  position: absolute;
  inset: -30% auto -30% -35%;
  width: 26%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .42), transparent);
  transform: skewX(-18deg);
  animation: a4n-hi-loading-shine 2.8s ease-in-out infinite;
  pointer-events: none;
}

#a4n-herois-infinitos-root .a4n-hi-progress-panels {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: clamp(5px, .8vw, 9px);
}

#a4n-herois-infinitos-root .a4n-hi-progress-panels span {
  min-height: clamp(56px, 7vw, 92px);
  border: 3px solid #fff;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .06) 0 7px, transparent 7px 14px), linear-gradient(135deg, #3c3c3c, #171717);
  opacity: 1;
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
  position: relative;
}

#a4n-herois-infinitos-root .a4n-hi-progress-panels span.is-active {
  border-color: #050508;
  background: radial-gradient(circle at 50% 45%, rgba(255, 255, 255, .65), transparent 36%), linear-gradient(135deg, #f2121d, #ff8d19 54%, #ffd21f);
  animation: a4n-hi-loading-tile .9s ease-in-out infinite alternate;
}

#a4n-herois-infinitos-root .a4n-hi-progress-panels i {
  display: block;
  width: 18px;
  height: 24px;
  margin: clamp(16px, 2.2vw, 28px) auto 0;
  border: 3px solid rgba(255, 255, 255, .5);
  border-radius: 3px;
  font-size: 0;
  opacity: .65;
}

#a4n-herois-infinitos-root .a4n-hi-progress-panels i::before {
  content: "";
  display: block;
  width: 14px;
  height: 10px;
  margin: -12px auto 0;
  border: 3px solid rgba(255, 255, 255, .5);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}

#a4n-herois-infinitos-root .a4n-hi-progress-strip strong {
  color: #ffd21f;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1;
  text-align: center;
  -webkit-text-stroke: 2px #050508;
  text-shadow: 3px 3px 0 #fff;
}

#a4n-herois-infinitos-root .a4n-hi-loading-message {
  margin: 0;
  padding: 6px 22px;
  color: #050508;
  background: rgba(255, 255, 255, .78);
  border: 4px solid #050508;
  box-shadow: 5px 5px 0 rgba(5, 5, 8, .22);
  font-size: clamp(24px, 3.4vw, 44px);
  line-height: 1;
}

#a4n-herois-infinitos-root .a4n-hi-tip {
  width: min(780px, 86vw);
  margin: clamp(8px, 2vh, 18px) auto 0;
  padding: 12px clamp(18px, 3vw, 32px);
  color: #fff;
  background: linear-gradient(100deg, #050508 0 88%, transparent 88.5%);
  border-left: 8px solid #ffd21f;
  box-shadow: 6px 6px 0 rgba(5, 5, 8, .18);
  font: 900 clamp(13px, 1.6vw, 19px) Arial, sans-serif;
  line-height: 1.3;
}

#a4n-herois-infinitos-root .a4n-hi-loading-bubble {
  width: clamp(100px, 10vw, 158px);
  height: auto;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  object-fit: contain;
  overflow: visible;
  filter: drop-shadow(5px 6px 0 rgba(5, 5, 8, .22));
  animation: a4n-hi-loading-float 4.8s ease-in-out infinite;
}

#a4n-herois-infinitos-root .a4n-hi-loading-bubble--0 { left: 6%; top: 19%; transform: rotate(-10deg); }
#a4n-herois-infinitos-root .a4n-hi-loading-bubble--1 { right: 7%; top: 21%; transform: rotate(8deg); animation-delay: -.7s; }
#a4n-herois-infinitos-root .a4n-hi-loading-bubble--2 { left: 7%; top: 48%; transform: rotate(4deg); animation-delay: -1.1s; }
#a4n-herois-infinitos-root .a4n-hi-loading-bubble--3 { right: 7%; top: 49%; transform: rotate(-6deg); animation-delay: -1.8s; }
#a4n-herois-infinitos-root .a4n-hi-loading-bubble--4,
#a4n-herois-infinitos-root .a4n-hi-loading-bubble--5,
#a4n-herois-infinitos-root .a4n-hi-loading-bubble--6,
#a4n-herois-infinitos-root .a4n-hi-loading-bubble--7 {
  display: none;
}

@keyframes a4n-hi-loading-rays {
  0% { transform: scale(1.12) rotate(0deg); }
  50% { transform: scale(1.18) rotate(180deg); }
  100% { transform: scale(1.12) rotate(360deg); }
}

@keyframes a4n-hi-loading-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -9px; }
}

@keyframes a4n-hi-loading-tile {
  from { filter: brightness(1); }
  to { filter: brightness(1.18) saturate(1.16); }
}

@keyframes a4n-hi-loading-shine {
  0%, 30% { left: -35%; opacity: 0; }
  45% { opacity: 1; }
  100% { left: 120%; opacity: 0; }
}

@media (max-width: 760px) {
  #a4n-herois-infinitos-root .a4n-hi-loading {
    min-height: auto;
    padding: 28px 14px 88px;
  }

  #a4n-herois-infinitos-root .a4n-hi-loading__title p {
    width: clamp(210px, 66vw, 310px);
    height: clamp(72px, 26vw, 112px);
  }

  #a4n-herois-infinitos-root .a4n-hi-progress-strip {
    width: min(100%, 560px);
    grid-template-columns: 1fr;
    transform: none;
    clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%);
  }

  #a4n-herois-infinitos-root .a4n-hi-progress-strip strong {
    font-size: clamp(34px, 11vw, 54px);
  }

  #a4n-herois-infinitos-root .a4n-hi-loading-bubble {
    opacity: .75;
  }

  #a4n-herois-infinitos-root .a4n-hi-loading-bubble--1,
  #a4n-herois-infinitos-root .a4n-hi-loading-bubble--3 {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  #a4n-herois-infinitos-root .a4n-hi-loading::before,
  #a4n-herois-infinitos-root .a4n-hi-loading__title p,
  #a4n-herois-infinitos-root .a4n-hi-progress-strip::after,
  #a4n-herois-infinitos-root .a4n-hi-progress-panels span.is-active,
  #a4n-herois-infinitos-root .a4n-hi-loading-bubble {
    animation: none !important;
  }
}

/* Loading assets cropped from the dedicated sheets. Inactive tiles stay as the
   same colored PNGs and are desaturated only with CSS filters. */
#a4n-herois-infinitos-root .a4n-hi-progress-panels span {
  position: relative;
  display: block;
  min-height: clamp(68px, 7.2vw, 108px);
  border: 0;
  background-color: transparent !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
  clip-path: none;
  opacity: .75;
  filter: grayscale(1) brightness(.45) contrast(.95);
  transform: translateZ(0) scale(.98);
  transition: filter 700ms ease, opacity 700ms ease, transform 500ms ease;
}

#a4n-herois-infinitos-root .a4n-hi-progress-panels span:nth-child(1) { background-image: url("../ui/loading/loading-tile-01.png") !important; }
#a4n-herois-infinitos-root .a4n-hi-progress-panels span:nth-child(2) { background-image: url("../ui/loading/loading-tile-02.png") !important; }
#a4n-herois-infinitos-root .a4n-hi-progress-panels span:nth-child(3) { background-image: url("../ui/loading/loading-tile-03.png") !important; }
#a4n-herois-infinitos-root .a4n-hi-progress-panels span:nth-child(4) { background-image: url("../ui/loading/loading-tile-04.png") !important; }
#a4n-herois-infinitos-root .a4n-hi-progress-panels span:nth-child(5) { background-image: url("../ui/loading/loading-tile-05.png") !important; }
#a4n-herois-infinitos-root .a4n-hi-progress-panels span:nth-child(6) { background-image: url("../ui/loading/loading-tile-06.png") !important; }
#a4n-herois-infinitos-root .a4n-hi-progress-panels span:nth-child(7) { background-image: url("../ui/loading/loading-tile-07.png") !important; }
#a4n-herois-infinitos-root .a4n-hi-progress-panels span:nth-child(8) { background-image: url("../ui/loading/loading-tile-08.png") !important; }

#a4n-herois-infinitos-root .a4n-hi-progress-panels span.is-active {
  opacity: 1;
  filter: grayscale(0) brightness(1) contrast(1);
  transform: translateZ(0) scale(1);
  animation: none;
}

#a4n-herois-infinitos-root .a4n-hi-progress-panels span.is-current {
  z-index: 1;
  opacity: 1;
  filter: grayscale(0) brightness(1.16) contrast(1.04) saturate(1.08);
  transform: translateZ(0) scale(1.055);
  animation: a4n-hi-loading-tile-image 1.05s ease-in-out infinite alternate;
}

#a4n-herois-infinitos-root .a4n-hi-progress-panels i {
  display: none !important;
}

#a4n-herois-infinitos-root .a4n-hi-loading-bubble {
  display: block !important;
  width: clamp(116px, 12vw, 190px);
  height: auto;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent !important;
  box-shadow: none;
  object-fit: contain;
  overflow: visible;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  filter: drop-shadow(5px 8px 0 rgba(5, 5, 8, .22));
  transform: translateY(10px) scale(.88) rotate(var(--a4n-hi-bubble-rotate, 0deg));
  transition: opacity .45s ease, transform .5s ease, visibility .45s ease, filter .45s ease;
  animation: a4n-hi-loading-float 5.4s ease-in-out infinite;
}

#a4n-herois-infinitos-root .a4n-hi-loading-bubble.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1) rotate(var(--a4n-hi-bubble-rotate, 0deg));
}

#a4n-herois-infinitos-root .a4n-hi-loading-bubble.is-current {
  filter: drop-shadow(7px 10px 0 rgba(5, 5, 8, .28)) brightness(1.08);
}

#a4n-herois-infinitos-root .a4n-hi-loading-bubble--0 { left: 8%; top: 20%; --a4n-hi-bubble-rotate: -8deg; }
#a4n-herois-infinitos-root .a4n-hi-loading-bubble--1 { left: 5%; top: 42%; --a4n-hi-bubble-rotate: 5deg; animation-delay: -.6s; }
#a4n-herois-infinitos-root .a4n-hi-loading-bubble--2 { left: 10%; bottom: 23%; --a4n-hi-bubble-rotate: -7deg; animation-delay: -1.1s; }
#a4n-herois-infinitos-root .a4n-hi-loading-bubble--3 { left: 20%; bottom: 12%; --a4n-hi-bubble-rotate: -5deg; animation-delay: -1.4s; }
#a4n-herois-infinitos-root .a4n-hi-loading-bubble--4 { right: 10%; top: 23%; --a4n-hi-bubble-rotate: 8deg; animation-delay: -.8s; }
#a4n-herois-infinitos-root .a4n-hi-loading-bubble--5 { right: 6%; top: 43%; --a4n-hi-bubble-rotate: -7deg; animation-delay: -1.5s; }
#a4n-herois-infinitos-root .a4n-hi-loading-bubble--6 { right: 9%; bottom: 22%; --a4n-hi-bubble-rotate: 6deg; animation-delay: -2s; }
#a4n-herois-infinitos-root .a4n-hi-loading-bubble--7 { right: 19%; bottom: 11%; --a4n-hi-bubble-rotate: -8deg; animation-delay: -2.4s; }
#a4n-herois-infinitos-root .a4n-hi-loading-bubble--8 { left: 31%; bottom: 10%; --a4n-hi-bubble-rotate: -4deg; animation-delay: -1.8s; }
#a4n-herois-infinitos-root .a4n-hi-loading-bubble--9 { right: 31%; bottom: 10%; --a4n-hi-bubble-rotate: 5deg; animation-delay: -2.2s; }

@keyframes a4n-hi-loading-tile-image {
  from { filter: grayscale(0) brightness(1.05) contrast(1) saturate(1.02); }
  to { filter: grayscale(0) brightness(1.2) contrast(1.06) saturate(1.12); }
}

@media (max-width: 760px) {
  #a4n-herois-infinitos-root .a4n-hi-progress-panels span {
    min-height: clamp(42px, 12vw, 66px);
  }

  #a4n-herois-infinitos-root .a4n-hi-loading-bubble {
    width: clamp(88px, 28vw, 132px);
  }

  #a4n-herois-infinitos-root .a4n-hi-loading-bubble--2,
  #a4n-herois-infinitos-root .a4n-hi-loading-bubble--3,
  #a4n-herois-infinitos-root .a4n-hi-loading-bubble--6,
  #a4n-herois-infinitos-root .a4n-hi-loading-bubble--7,
  #a4n-herois-infinitos-root .a4n-hi-loading-bubble--8,
  #a4n-herois-infinitos-root .a4n-hi-loading-bubble--9 {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #a4n-herois-infinitos-root .a4n-hi-progress-panels span.is-current,
  #a4n-herois-infinitos-root .a4n-hi-loading-bubble {
    animation: none !important;
  }
}

/* Final loading art pass: dedicated background/title assets and spinner. */
#a4n-herois-infinitos-root .a4n-hi-loading {
  min-height: max(760px, 100svh);
  padding: clamp(34px, 5vh, 70px) clamp(18px, 3vw, 42px) clamp(132px, 13vh, 190px);
  overflow: visible;
  background:
    linear-gradient(180deg, rgba(246, 246, 241, .12), rgba(246, 246, 241, .18)),
    url("../ui/loading/loading-background-manga.png") center / cover no-repeat !important;
}

#a4n-herois-infinitos-root .a4n-hi-loading::before {
  opacity: .18;
  mix-blend-mode: multiply;
}

#a4n-herois-infinitos-root .a4n-hi-loading::after,
#a4n-herois-infinitos-root .a4n-hi-loading .a4n-hi-bg-art {
  opacity: .12;
}

#a4n-herois-infinitos-root .a4n-hi-loading__title {
  width: min(980px, 92vw);
  margin-bottom: clamp(8px, 1.6vh, 20px);
}

#a4n-herois-infinitos-root .a4n-hi-loading__title p {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

#a4n-herois-infinitos-root .a4n-hi-loading__title h2 {
  width: min(900px, 86vw);
  height: clamp(96px, 15vw, 210px);
  margin: 0 auto;
  overflow: hidden;
  background: url("../ui/loading/loading-title-gerando-aventura.png") center / contain no-repeat;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0;
  text-indent: -9999px;
  transform: none;
  filter: drop-shadow(7px 9px 0 rgba(5, 5, 8, .22));
  animation: a4n-hi-loading-title-breathe 4.8s ease-in-out infinite;
}

#a4n-herois-infinitos-root .a4n-hi-loading__title h2 span {
  display: none !important;
}

#a4n-herois-infinitos-root .a4n-hi-loading__title small {
  margin-top: clamp(4px, .8vh, 10px);
  padding: 4px 16px;
  background: rgba(255, 255, 255, .72);
  border-bottom: 5px solid #f2121d;
  box-shadow: 4px 5px 0 rgba(5, 5, 8, .13);
  font-size: clamp(14px, 1.5vw, 20px);
}

#a4n-herois-infinitos-root .a4n-hi-progress-strip {
  width: min(960px, 86vw);
  margin-top: clamp(2px, .8vh, 12px);
}

#a4n-herois-infinitos-root .a4n-hi-loading-message {
  width: min(940px, 91vw);
  height: clamp(72px, 8.4vw, 104px);
  min-height: 0;
  max-width: none;
  margin: clamp(4px, 1vh, 10px) auto 0;
  padding: 0 clamp(96px, 10vw, 152px);
  display: grid;
  place-items: center;
  color: #050508;
  background: url("../ui/loading/loading-tip-frame.png") center / 100% 100% no-repeat !important;
  border: 0 !important;
  box-shadow: none !important;
  font: 900 clamp(16px, 2.05vw, 30px)/1 Arial, sans-serif;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity .22s ease, transform .22s ease, filter .22s ease;
  animation: a4n-hi-loading-message-fade 1.8s ease-in-out infinite;
}

#a4n-herois-infinitos-root .a4n-hi-loading-message.is-changing {
  opacity: .62;
  transform: translateY(2px) scale(.995);
}

#a4n-herois-infinitos-root .a4n-hi-tip {
  position: relative;
  z-index: 12;
  width: min(1060px, 94vw);
  height: clamp(112px, 11vw, 172px);
  min-height: 0;
  margin: clamp(12px, 2.2vh, 28px) auto 0;
  padding: 0 clamp(82px, 8vw, 148px) 0 clamp(150px, 15vw, 248px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #fff;
  background: url("../ui/loading/loading-status-frame.png") center / 100% 100% no-repeat !important;
  border: 0 !important;
  clip-path: none !important;
  box-shadow: none !important;
  font: 900 clamp(12px, 1.2vw, 17px)/1.16 Arial, sans-serif;
  text-align: left;
  white-space: normal;
  overflow: hidden;
  text-wrap: balance;
}

#a4n-herois-infinitos-root .a4n-hi-tip strong {
  color: #ffd21f;
  text-shadow: 2px 2px 0 #050508;
}

#a4n-herois-infinitos-root .a4n-hi-page__loading span {
  width: clamp(86px, 11vw, 136px);
  aspect-ratio: 1;
  border: 0 !important;
  background: url("../ui/loading/page-loading-spinner.png") center / contain no-repeat !important;
  clip-path: none !important;
  box-shadow: none !important;
  filter: drop-shadow(5px 8px 0 rgba(5, 5, 8, .2));
  animation: a4n-hi-spin 1.6s linear infinite;
}

#a4n-herois-infinitos-root .a4n-hi-page__loading span::before,
#a4n-herois-infinitos-root .a4n-hi-page__loading span::after {
  content: none !important;
}

#a4n-herois-infinitos-root .a4n-hi-download-tools {
  position: absolute;
  right: clamp(14px, 2.4vw, 32px);
  bottom: clamp(14px, 2.4vw, 32px);
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  max-width: min(560px, calc(100% - 28px));
  pointer-events: auto;
}

#a4n-herois-infinitos-root .a4n-hi-download-tools button {
  min-height: 46px;
  padding: 10px 16px;
  border: 4px solid #050508;
  color: #050508;
  background: #ffd21f;
  box-shadow: 5px 5px 0 #050508;
  font: 900 clamp(14px, 1.2vw, 18px) Arial, sans-serif;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .14s ease, box-shadow .14s ease, filter .14s ease;
}

#a4n-herois-infinitos-root .a4n-hi-download-tools button.is-primary {
  color: #fff;
  background: #f2121d;
}

#a4n-herois-infinitos-root .a4n-hi-download-tools button:disabled {
  cursor: wait;
  filter: grayscale(.55) brightness(.86);
}

#a4n-herois-infinitos-root .a4n-hi-choices {
  display: none !important;
}

#a4n-herois-infinitos-root .a4n-hi-free-usage-banner {
  position: relative;
  z-index: 4;
  width: min(940px, calc(100% - 28px));
  margin: clamp(14px, 2vw, 22px) auto 0;
  padding: clamp(13px, 1.5vw, 18px) clamp(16px, 2.3vw, 28px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 4px solid #050508;
  background: #ffd21f;
  box-shadow: 6px 6px 0 #050508;
  color: #050508;
  font-family: Arial, sans-serif;
  font-size: clamp(13px, 1.2vw, 17px);
  font-weight: 900;
  line-height: 1.18;
  text-transform: uppercase;
}

#a4n-herois-infinitos-root .a4n-hi-free-usage-banner--guest {
  background:
    linear-gradient(100deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .08) 35%, transparent 36%),
    #ffd21f;
}

#a4n-herois-infinitos-root .a4n-hi-free-usage-banner--ready {
  background: #22d3ee;
}

#a4n-herois-infinitos-root .a4n-hi-free-usage-banner--warning {
  background: #ff4d3d;
  color: #fff;
  text-shadow: 2px 2px 0 #050508;
}

#a4n-herois-infinitos-root .a4n-hi-free-usage-banner--credits {
  background: #fffaf0;
}

#a4n-herois-infinitos-root .a4n-hi-free-usage-banner__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

#a4n-herois-infinitos-root .a4n-hi-free-usage-banner__button,
#a4n-herois-infinitos-root .a4n-hi-free-usage-banner__login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 3px solid #050508;
  color: #fff;
  background: #e50914;
  box-shadow: 4px 4px 0 #050508;
  text-decoration: none;
  white-space: nowrap;
}

#a4n-herois-infinitos-root .a4n-hi-free-usage-banner__login {
  color: #050508;
  background: #fff;
}

#a4n-herois-infinitos-root .a4n-hi-page-text {
  position: absolute;
  inset: 5% 5% 6%;
  z-index: 5;
  display: none !important;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  pointer-events: none;
}

#a4n-herois-infinitos-root .a4n-hi-page {
  container-type: size;
}

#a4n-herois-infinitos-root .a4n-hi-page-text p {
  position: relative;
  box-sizing: border-box;
  margin: 0;
  overflow: hidden;
  font-family: Arial, sans-serif;
  font-weight: 900;
  line-height: 1.14;
  text-wrap: balance;
}

#a4n-herois-infinitos-root .a4n-hi-page-text__caption {
  align-self: flex-start;
  max-width: 82%;
  max-height: 5.1em;
  padding: .68em .82em;
  color: #fff;
  background: rgba(5, 5, 8, .9);
  border: 3px solid #fff;
  box-shadow: 5px 5px 0 rgba(5, 5, 8, .5);
  font-size: clamp(11px, 1.35vw, 18px);
  text-shadow: 2px 2px 0 #050508;
}

#a4n-herois-infinitos-root .a4n-hi-page-text__dialogue {
  align-self: flex-end;
  max-width: 78%;
  max-height: 5.55em;
  padding: .74em .9em;
  color: #050508;
  background: rgba(255, 255, 255, .94);
  border: 4px solid #050508;
  border-radius: 44% 38% 42% 35% / 28% 34% 32% 36%;
  box-shadow: 5px 5px 0 rgba(5, 5, 8, .4);
  font-size: clamp(12px, 1.45vw, 19px);
}

#a4n-herois-infinitos-root .a4n-hi-page-text__dialogue::after {
  content: "";
  position: absolute;
  right: 16%;
  bottom: 3.2%;
  width: 26px;
  height: 20px;
  background: rgba(255, 255, 255, .94);
  border-right: 4px solid #050508;
  border-bottom: 4px solid #050508;
  transform: rotate(32deg);
}

#a4n-herois-infinitos-root .a4n-hi-page-text--structured {
  inset: 0;
  display: block;
}

#a4n-herois-infinitos-root .a4n-hi-page-text__item {
  position: absolute;
  left: var(--x, 7%);
  top: var(--y, 7%);
  width: var(--w, 62%);
  height: var(--h, 12%);
  min-height: 0;
  max-height: var(--h, 16%);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: clamp(5px, 1.8cqw, 14px) clamp(7px, 2.1cqw, 16px);
  color: #050508;
  background: rgba(255, 255, 255, .95);
  border: clamp(2px, .35vw, 4px) solid #050508;
  box-shadow: clamp(3px, .55vw, 7px) clamp(3px, .55vw, 7px) 0 rgba(5, 5, 8, .45);
  font-size: clamp(9px, 3.1cqw, 17px);
  line-height: 1.08;
  text-align: left;
  transform: rotate(var(--rot, 0deg));
}

#a4n-herois-infinitos-root .a4n-hi-page-text__item--narration {
  color: #fff;
  background: rgba(5, 5, 8, .93);
  border-color: #fff;
  text-shadow: 2px 2px 0 #050508;
}

#a4n-herois-infinitos-root .a4n-hi-page-text__item--speech {
  border-radius: 44% 38% 42% 35% / 28% 34% 32% 36%;
  text-align: center;
  justify-content: center;
}

#a4n-herois-infinitos-root .a4n-hi-page-text__item--thought {
  border-radius: 50%;
  border-style: dashed;
}

#a4n-herois-infinitos-root .a4n-hi-page-text__item--sfx {
  display: none !important;
  justify-content: center;
  color: #050508;
  background: #ffd21f;
  border-color: #050508;
  box-shadow: clamp(4px, .7vw, 8px) clamp(4px, .7vw, 8px) 0 #050508;
  font-size: clamp(15px, 2.4vw, 34px);
  line-height: .92;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(var(--rot, -7deg));
}

#a4n-herois-infinitos-root .a4n-hi-choices {
  z-index: 8;
}

#a4n-herois-infinitos-root .a4n-hi-download-tools button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 #050508;
  filter: brightness(1.06);
}

/* Cast panel privacy notice: compact help button with non-layout tooltip. */
#a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-privacy:not(.a4n-hi-help) {
  display: none !important;
}

#a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-help {
  position: absolute;
  left: clamp(52px, 4.1vw, 76px);
  bottom: clamp(46px, 3.2vw, 64px);
  z-index: 18;
  display: inline-flex;
  overflow: visible;
  margin: 0;
  padding: 0;
}

#a4n-herois-infinitos-root .a4n-hi-help__button {
  width: clamp(28px, 2vw, 34px);
  height: clamp(28px, 2vw, 34px);
  display: grid;
  place-items: center;
  padding: 0;
  border: 3px solid #050508;
  border-radius: 50%;
  color: #050508;
  background: #ffd21f;
  box-shadow: 3px 3px 0 #050508;
  font: 900 clamp(16px, 1.2vw, 20px)/1 Arial, sans-serif;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

#a4n-herois-infinitos-root .a4n-hi-help__button:hover,
#a4n-herois-infinitos-root .a4n-hi-help__button:focus-visible {
  transform: translate(-1px, -1px) rotate(-3deg);
  box-shadow: 5px 5px 0 #050508;
  filter: brightness(1.06);
  outline: 0;
}

#a4n-herois-infinitos-root .a4n-hi-help__tooltip {
  position: absolute;
  left: 0;
  bottom: calc(100% + 12px);
  width: min(390px, calc(100vw - 46px));
  max-width: 390px;
  padding: 13px 15px 14px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255, 210, 31, .16), transparent 42%),
    #050508;
  border: 3px solid #ffd21f;
  box-shadow: 6px 6px 0 rgba(5, 5, 8, .36);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px) scale(.98);
  transform-origin: left bottom;
  transition: opacity .16s ease, visibility .16s ease, transform .16s ease;
}

#a4n-herois-infinitos-root .a4n-hi-help__tooltip::after {
  content: "";
  position: absolute;
  left: 10px;
  bottom: -12px;
  width: 18px;
  height: 18px;
  background: #050508;
  border-right: 3px solid #ffd21f;
  border-bottom: 3px solid #ffd21f;
  transform: rotate(45deg);
}

#a4n-herois-infinitos-root .a4n-hi-help__tooltip strong {
  display: inline-block;
  margin: 0 0 6px;
  color: #ffd21f;
  font: 900 13px/1 Arial, sans-serif;
  letter-spacing: .02em;
  text-transform: uppercase;
}

#a4n-herois-infinitos-root .a4n-hi-help__tooltip span {
  display: block;
  color: #fff;
  font: 800 13px/1.32 Arial, sans-serif;
  text-shadow: none;
}

#a4n-herois-infinitos-root .a4n-hi-help:hover .a4n-hi-help__tooltip,
#a4n-herois-infinitos-root .a4n-hi-help:focus-within .a4n-hi-help__tooltip,
#a4n-herois-infinitos-root .a4n-hi-help.is-open .a4n-hi-help__tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

@keyframes a4n-hi-loading-title-breathe {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-4px) scale(1.012); }
}

@keyframes a4n-hi-loading-message-fade {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(255, 210, 31, 0)); opacity: .96; }
  50% { filter: drop-shadow(0 0 12px rgba(255, 210, 31, .28)); opacity: 1; }
}

@media (max-width: 760px) {
  #a4n-herois-infinitos-root .a4n-hi-loading {
    min-height: 100svh;
    padding: 24px 14px 132px;
  }

  #a4n-herois-infinitos-root .a4n-hi-loading__title h2 {
    width: min(94vw, 520px);
    height: clamp(82px, 25vw, 128px);
  }

  #a4n-herois-infinitos-root .a4n-hi-progress-strip {
    width: min(100%, 560px);
  }

  #a4n-herois-infinitos-root .a4n-hi-loading-message {
    width: min(100%, 560px);
    height: clamp(62px, 17vw, 82px);
    min-height: 0;
    padding-inline: clamp(42px, 13vw, 72px);
    font-size: clamp(13px, 4vw, 20px);
    white-space: nowrap;
    line-height: 1;
  }

  #a4n-herois-infinitos-root .a4n-hi-tip {
    width: min(100%, 560px);
    height: clamp(88px, 25vw, 116px);
    min-height: 0;
    padding: 0 clamp(34px, 8vw, 58px) 0 clamp(74px, 20vw, 110px);
    font-size: clamp(10px, 3vw, 13px);
    line-height: 1.12;
    white-space: normal;
    text-align: left;
  }

  #a4n-herois-infinitos-root .a4n-hi-page-text {
    inset: 5% 6% 7%;
  }

  #a4n-herois-infinitos-root .a4n-hi-page-text__caption,
  #a4n-herois-infinitos-root .a4n-hi-page-text__dialogue {
    max-width: 88%;
    font-size: clamp(11px, 3.2vw, 15px);
  }

  #a4n-herois-infinitos-root .a4n-hi-download-tools {
    position: relative;
    right: auto;
    bottom: auto;
    justify-content: center;
    width: 100%;
    margin: 18px auto 0;
  }

  #a4n-herois-infinitos-root .a4n-hi-download-tools button {
    flex: 1 1 190px;
  }

  #a4n-herois-infinitos-root .a4n-hi-free-usage-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  #a4n-herois-infinitos-root .a4n-hi-free-usage-banner__actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  #a4n-herois-infinitos-root .a4n-hi-manga-panel--cast .a4n-hi-help {
    left: 28px;
    bottom: 26px;
  }

  #a4n-herois-infinitos-root .a4n-hi-help__tooltip {
    width: min(310px, calc(100vw - 58px));
  }
}

@media (prefers-reduced-motion: reduce) {
  #a4n-herois-infinitos-root .a4n-hi-loading__title h2,
  #a4n-herois-infinitos-root .a4n-hi-loading-message,
  #a4n-herois-infinitos-root .a4n-hi-page__loading span {
    animation: none !important;
  }
}
