@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap");
:root {
  color-scheme: dark;
  --bg: #080e17;
  --panel: #101721;
  --gold: #c8aa73;
  --light: #eee5d2;
  --muted: #90969f;
  --purple: #b588e4;
  --line: rgba(200, 170, 115, 0.23);
  font-family: Inter, Arial, sans-serif;
  color: var(--light);
  background: var(--bg);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button {
  color: inherit;
}
button:disabled {
  cursor: default;
  opacity: 0.35;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid #e2bf7d;
  outline-offset: 5px;
}
button {
  border: 0;
  background: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3,
.brand,
.achievement strong {
  font-family: Cinzel, Georgia, serif;
}
button,
img,
a {
  touch-action: manipulation;
}
img {
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
.skip {
  position: fixed;
  left: 20px;
  top: -100px;
  background: var(--bg);
  padding: 15px;
  z-index: 100;
}
.skip:focus {
  top: 10px;
}
.topbar {
  height: 94px;
  padding: 0 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: #080e17;
  position: relative;
  z-index: 5;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 19px;
  letter-spacing: 2px;
}
.brand img {
  width: 43px;
  height: 49px;
}
.brand b {
  color: var(--gold);
  font-weight: 500;
}
.brand small {
  display: block;
  font:
    8px Inter,
    sans-serif;
  letter-spacing: 4px;
  color: var(--muted);
  margin-top: 6px;
}
.topbar nav {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 38px;
  font-size: 10px;
  letter-spacing: 1.5px;
  font-weight: 600;
}
.topbar nav a {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  color: #9c9d9e;
}
.topbar nav a.active {
  color: var(--gold);
}
.topbar nav a.active:after {
  content: "";
  height: 2px;
  background: var(--gold);
  position: absolute;
  bottom: 0;
  width: 100%;
  box-shadow: 0 0 15px #c8aa7350;
}
.soon {
  font-size: 7px;
  letter-spacing: 1px;
  border: 1px solid #30343a;
  border-radius: 3px;
  padding: 5px;
  color: #777f8c;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: linear-gradient(135deg, #b9975d, #dcc28c);
  color: #17181b;
  border: 1px solid #e3c995;
  font-weight: 600;
  font-size: 12px;
  padding: 15px 24px;
  transition:
    filter 0.2s,
    transform 0.2s;
}
.button:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
}
.button.small {
  background: transparent;
  color: var(--gold);
  border-color: #7c6844;
  font-size: 11px;
  padding: 12px 18px;
}
.sanctum {
  min-height: 735px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.backdrop {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 28%;
  z-index: -4;
  animation: reveal 1.1s ease;
}
.shade {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(
      90deg,
      rgba(4, 10, 17, 0.91),
      rgba(4, 10, 17, 0.25) 45%,
      rgba(4, 10, 17, 0.05) 70%,
      rgba(4, 10, 17, 0.3)
    ),
    linear-gradient(
      0deg,
      #080e17 0%,
      rgba(8, 14, 23, 0.92) 14%,
      rgba(8, 14, 23, 0.1) 60%,
      rgba(8, 14, 23, 0.22)
    );
}
.ambient {
  pointer-events: none;
  position: absolute;
  width: 40%;
  height: 70%;
  background: radial-gradient(ellipse, #8250ab15, transparent 70%);
  left: 0;
  top: 15%;
  z-index: -2;
  animation: breathe 6s ease-in-out infinite;
}
.section-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 4%;
  font-size: 9px;
  letter-spacing: 1.6px;
  color: #b1b3b7;
  border-bottom: 1px solid #ffffff08;
}
.status-dot {
  display: inline-block;
  background: #50cbb5;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  margin-right: 7px;
  box-shadow: 0 0 10px #50cbb545;
}
.divider {
  padding: 0 14px;
  color: #74726e;
}
.text-button {
  font-size: 11px;
  color: var(--gold);
  padding: 8px;
  transition: color 0.2s;
}
.text-button:hover {
  color: #f3d9a5;
}
.profile-layout {
  display: grid;
  grid-template-columns: 246px 1fr;
  gap: 45px;
  max-width: 1500px;
  margin: auto;
  padding: 0 4% 23px;
}
.identity {
  text-align: center;
  position: relative;
  min-height: 610px;
  padding: 30px 17px 22px;
  background: linear-gradient(180deg, #2a1b3540, #13121fa6 70%, #16141e10);
  border-inline: 1px solid #ae7dbe40;
  clip-path: polygon(0 0, 100% 0, 100% 94%, 50% 100%, 0 94%);
}
.identity:after {
  position: absolute;
  content: "";
  height: 3px;
  bottom: 34px;
  left: 20%;
  width: 60%;
  background: linear-gradient(90deg, transparent, #b688da, transparent);
  filter: drop-shadow(0 0 10px #ba7cfe);
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 2.3px;
  font-weight: 600;
  color: var(--gold);
}
.portrait {
  display: block;
  position: relative;
  width: 208px;
  height: 230px;
  margin: 9px auto 3px;
  padding: 0;
}
.profile-icon {
  position: absolute;
  width: 105px;
  height: 105px;
  border-radius: 50%;
  object-fit: cover;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 3px solid #c8aa73;
}
.profile-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}
.level {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: #111623;
  border: 1px solid #9e8058;
  padding: 3px 13px;
  min-width: 48px;
  font-size: 11px;
  color: #e5d8bc;
  z-index: 2;
}
.portrait-edit {
  opacity: 0;
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  white-space: nowrap;
  color: var(--gold);
  transition: opacity 0.2s;
}
.portrait:hover .portrait-edit {
  opacity: 1;
}
.identity h1 {
  font-size: 29px;
  letter-spacing: 1px;
  margin-top: 10px;
}
.region {
  font-size: 10px;
  color: #a6a1ae;
  margin-top: 12px;
}
.identity-rule {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 7px;
  margin: 26px auto 20px;
  max-width: 160px;
}
.identity-rule:before,
.identity-rule:after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}
.identity-quote {
  font-size: 11px;
  line-height: 1.9;
  color: #aca7b5;
}
.identity-rank {
  margin: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tiny {
  font-size: 9px;
  letter-spacing: 1.2px;
  color: var(--gold);
  font-weight: 600;
}
.identity-rank strong {
  font-family: Cinzel, Georgia, serif;
  letter-spacing: 3px;
  color: #c5a0e9;
  font-size: 16px;
}
.identity-rank > span:last-child {
  color: var(--muted);
  font-size: 10px;
}
.identity-bottom {
  font-size: 8px;
  color: #a579c0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 35px;
}
.identity-bottom small {
  font-size: 7px;
  letter-spacing: 1.1px;
  color: #89808e;
}
.showcase {
  display: flex;
  flex-direction: column;
  min-width: 0;
  justify-content: flex-end;
}
.hero-caption {
  margin: auto 0 45px;
  max-width: 500px;
  padding-top: 65px;
}
.hero-caption h2 {
  font-size: clamp(34px, 4.2vw, 65px);
  font-weight: 400;
  line-height: 1.18;
  margin-top: 20px;
  text-shadow: 0 4px 25px #0008;
  letter-spacing: -1px;
}
.hero-caption h2 em {
  font-style: normal;
  color: #e5c99a;
}
.hero-caption p {
  color: #bbb5b2;
  font-size: 12px;
  letter-spacing: 0.2px;
  margin-top: 19px;
}
.achievements {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  padding-top: 25px;
  gap: 8px;
  align-items: stretch;
}
.achievement {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 6px 5px 14px;
  min-width: 0;
  transition:
    background 0.25s,
    transform 0.25s;
}
.achievement strong {
  font-size: 17px;
  font-weight: 600;
  display: block;
  margin-top: 10px;
  min-height: 25px;
}
.achievement > img {
  height: 115px;
  width: 140px;
  object-fit: contain;
  margin: 10px 0;
}
.achievement.interactive:hover,
.achievement.interactive[aria-expanded="true"] {
  background: linear-gradient(0deg, #b282e51f, transparent);
  transform: translateY(-4px);
}
.achievement.interactive:after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 0;
  background: var(--gold);
  height: 1px;
  transition: width 0.25s;
}
.achievement.interactive:hover:after {
  width: 70%;
}
.achievement-note {
  font-size: 9px;
  color: #8f929c;
  white-space: nowrap;
  margin-top: auto;
}
.achievement-note > span {
  color: var(--gold);
  margin-left: 4px;
}
.honor-art {
  font: 105px Georgia;
  color: #e6a64e;
  height: 135px;
  text-shadow: 0 0 22px #e88a262d;
  display: flex;
  align-items: center;
  justify-content: center;
}
.honor-art img {
  width: 110px;
  height: 110px;
  object-fit: contain;
}
.mastery-medal {
  position: relative;
  margin: 15px 0 10px;
  height: 120px;
  padding-top: 0;
}
.mastery-medal img {
  width: 83px;
  height: 83px;
  border: 3px solid #b99b60;
  border-radius: 50%;
  object-fit: cover;
}
.mastery-medal:after {
  content: "";
  position: absolute;
  top: 68px;
  left: 14px;
  width: 55px;
  height: 50px;
  background: linear-gradient(90deg, #5b347c, #b68ad5, #5b347c);
  clip-path: polygon(0 0, 50% 30%, 100% 0, 90% 100%, 50% 75%, 10% 100%);
  z-index: -1;
}
.mastery-medal > span {
  position: absolute;
  top: 75px;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid #c8aa73;
  background: #1a1824;
  font-size: 11px;
  padding: 5px 9px;
  clip-path: polygon(0 0, 100% 0, 100% 65%, 50% 100%, 0 65%);
}
.cup-art {
  font-size: 105px;
  color: #c8aa73;
  height: 135px;
  line-height: 135px;
  text-shadow: 0 0 20px #b389e840;
}
.banner-art {
  margin: 23px 0 12px;
  width: 68px;
  height: 95px;
  background: linear-gradient(90deg, #26133d, #6f2689, #26133d);
  border-top: 5px ridge #c6a45f;
  clip-path: polygon(0 0, 100% 0, 90% 75%, 50% 100%, 10% 75%);
  display: grid;
  place-items: center;
  filter: drop-shadow(0 0 8px #b042db);
}
.banner-art span {
  font-size: 55px;
  color: #d182f4;
}
.showcase-foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 25px;
  font-size: 8px;
  letter-spacing: 0.1px;
  color: #7b7e89;
}
.showcase-foot > span:last-child {
  font-size: 7px;
  letter-spacing: 1px;
}
.below-profile {
  max-width: 1400px;
  margin: auto;
  padding: 42px 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border-bottom: 1px solid var(--line);
}
.below-profile h2 {
  font-size: 24px;
  font-weight: 400;
  margin: 12px 0;
}
.below-profile p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}
.explore {
  position: relative;
  display: flex;
  align-items: center;
  gap: 45px;
  max-width: 1290px;
  margin: 60px auto;
  padding: 42px 50px;
  border: 1px solid var(--line);
  background: radial-gradient(ellipse at 10% 50%, #24323945, transparent 60%);
}
.explore-symbol {
  font: 140px Georgia;
  color: #81704a;
  line-height: 1;
  width: 130px;
  text-align: center;
  opacity: 0.5;
}
.explore h2 {
  font-size: 28px;
  font-weight: 400;
  margin: 14px 0;
}
.explore p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}
.future-search {
  width: 380px;
  max-width: 100%;
  border: 1px solid #45413a;
  display: flex;
  justify-content: space-between;
  color: #73777e;
  padding: 16px;
  margin: 22px 0 15px;
  font-size: 12px;
}
.development {
  font-size: 8px;
  letter-spacing: 1.3px;
  color: var(--gold);
}
.development > span {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  margin-right: 5px;
}
.explore .future-note {
  font-size: 10px;
  margin-top: 10px;
}
.chapter {
  position: absolute;
  right: 25px;
  top: 25px;
  font-size: 8px;
  letter-spacing: 1px;
  color: #716954;
}
footer {
  border-top: 1px solid var(--line);
  padding: 27px 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  color: #767c87;
}
footer .footer-brand {
  font-family: Cinzel, Georgia, serif;
  letter-spacing: 1px;
  font-size: 13px;
  color: #ac9368;
}
footer p {
  font-size: 10px;
}
footer small {
  font-size: 8px;
  line-height: 1.8;
  text-align: right;
}
.detail-panel {
  position: absolute;
  z-index: 10;
  bottom: 240px;
  left: 22%;
  right: 3%;
  padding: 27px;
  background: linear-gradient(120deg, #171c24, #10151d);
  border: 1px solid #8b7446;
  box-shadow: 0 15px 55px #000b;
  animation: panel-in 0.2s ease;
}
.detail-panel:after {
  content: "";
  position: absolute;
  bottom: -9px;
  left: 10%;
  width: 16px;
  height: 16px;
  transform: rotate(45deg);
  background: #151a22;
  border-right: 1px solid #8b7446;
  border-bottom: 1px solid #8b7446;
}
.mastery-panel:after {
  left: 50%;
}
.panel-heading h2,
.mastery-columns h2 {
  font-size: 16px;
  font-weight: 500;
  margin: 9px 0 23px;
}
.panel-close {
  position: absolute;
  right: 10px;
  top: 7px;
  font-size: 25px;
  color: #b8a37b;
  padding: 4px 8px;
}
.rank-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.rank-item {
  text-align: center;
  font-size: 10px;
}
.rank-item img {
  width: 115px;
  height: 100px;
  object-fit: contain;
}
.rank-item .unranked-art {
  height: 100px;
  display: grid;
  place-items: center;
  font-size: 55px;
  color: #565247;
}
.rank-item strong {
  font-family: Cinzel, Georgia, serif;
  font-size: 12px;
  display: block;
  margin: 8px 0;
}
.rank-item p {
  font-size: 10px;
  color: #a09b91;
  line-height: 1.8;
}
.rank-item:last-child {
  border-left: 1px solid var(--line);
  padding-left: 10px;
}
.panel-source {
  font-size: 8px;
  color: #747987;
  margin-top: 20px;
}
.mastery-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.mastery-columns > div + div {
  border-left: 1px solid var(--line);
  padding-left: 25px;
}
.champion-grid,
.eternals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  text-align: center;
}
.champion-card > img {
  width: 70px;
  height: 70px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  object-fit: cover;
}
.champion-card strong {
  display: block;
  font-family: Cinzel, Georgia, serif;
  font-size: 11px;
  margin: 12px 0 8px;
}
.champion-card p {
  font-size: 10px;
  color: #ad9fc1;
  line-height: 1.8;
}
.champion-card small {
  font-size: 9px;
  color: #92929a;
  display: block;
  line-height: 1.8;
}
.eternal {
  font-size: 66px;
  display: block;
  color: #b699e7;
  height: 90px;
  text-shadow: 0 0 20px #a07de260;
}
.eternal.green {
  color: #50cba9;
}
.eternals-grid strong {
  font-family: Cinzel, Georgia, serif;
  font-size: 17px;
}
.eternals-grid p {
  font-size: 10px;
  color: #aaa4a0;
  line-height: 1.6;
  margin-top: 8px;
}
.eternals-grid small {
  font-size: 8px;
  color: #9c8d70;
  display: block;
  margin-top: 10px;
}
dialog {
  width: min(1160px, 94vw);
  max-height: 92dvh;
  padding: 0;
  background: #0a111b;
  color: var(--light);
  border: 1px solid #8b7446;
  box-shadow: 0 30px 100px #000b;
  overflow: auto;
}
dialog::backdrop {
  background: #02060dd9;
  backdrop-filter: blur(7px);
}
.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 23px 28px;
  border-bottom: 1px solid var(--line);
}
.dialog-header h2 {
  font-size: 23px;
  font-weight: 500;
  margin-top: 8px;
}
.close-button {
  font-size: 31px;
  color: var(--gold);
  padding: 5px 10px;
}
.customizer-body {
  display: grid;
  grid-template-columns: 235px 1fr;
  min-height: 480px;
}
.preview {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-right: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}
.preview-background {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-position: 60%;
  background-size: cover;
  transition: background-image 0.2s;
}
.preview-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(#10162280, #0a111bea);
}
.preview-identity {
  text-align: center;
}
.preview-identity h3 {
  font-size: 25px;
  margin: 12px 0 18px;
}
.preview-portrait {
  width: 205px;
}
.collection {
  padding: 0 25px;
  min-width: 0;
}
.tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  gap: 35px;
}
.tabs button {
  padding: 20px 2px 16px;
  font-size: 12px;
  position: relative;
  color: #92949e;
}
.tabs button[aria-selected="true"] {
  color: var(--gold);
}
.tabs button[aria-selected="true"]:after {
  content: "";
  position: absolute;
  height: 2px;
  bottom: 0;
  background: var(--gold);
  left: 0;
  right: 0;
}
.collection-tools {
  display: flex;
  gap: 12px;
  margin: 20px 0 14px;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 12px;
  border: 1px solid #444034;
  background: #080d15;
  flex: 1;
  min-width: 0;
  color: var(--gold);
}
input {
  width: 100%;
  min-width: 0;
  padding: 12px 6px;
  color: var(--light);
  border: 0;
  background: transparent;
  font-size: 11px;
}
select {
  font-size: 10px;
  padding: 8px;
  border: 1px solid #444034;
  background: #111924;
  color: #bcb7ab;
  max-width: 175px;
}
.collection-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 9px;
  color: #90949e;
  margin-bottom: 15px;
  min-height: 20px;
  line-height: 1.5;
}
#selected-label {
  color: var(--gold);
  max-width: 55%;
  text-align: right;
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  height: 315px;
  overflow: auto;
  align-content: start;
  padding: 3px 5px 8px 3px;
  scrollbar-width: thin;
  scrollbar-color: #70603e #111723;
}
.catalog-item {
  padding: 0;
  border: 1px solid #343941;
  background: #101823;
  position: relative;
  transition:
    border-color 0.2s,
    transform 0.2s;
  text-align: left;
  min-width: 0;
}
.catalog-item:hover {
  border-color: #c9ac72;
  transform: translateY(-2px);
}
.catalog-item[aria-pressed="true"] {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}
.catalog-item[aria-pressed="true"]:after {
  content: "✓";
  position: absolute;
  right: 5px;
  top: 5px;
  background: var(--gold);
  color: #10131b;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 12px;
  text-align: center;
  line-height: 18px;
}
.catalog-item img {
  display: block;
  width: 100%;
  height: 90px;
  object-fit: cover;
  background: #101722;
}
.catalog-item span {
  display: block;
  font-size: 9px;
  line-height: 1.5;
  padding: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.catalog-grid.icons {
  grid-template-columns: repeat(6, 1fr);
}
.catalog-grid.icons img {
  height: auto;
  aspect-ratio: 1;
}
.catalog-grid.frames img {
  object-fit: contain;
  height: 110px;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0 12px;
  font-size: 9px;
  color: var(--muted);
}
.dialog-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  padding: 18px 25px;
  border-top: 1px solid var(--line);
}
.dialog-footer > span {
  margin-right: auto;
  font-size: 9px;
  color: var(--muted);
}
.dialog-footer .button {
  font-size: 11px;
  padding: 12px 20px;
}
.empty-state {
  grid-column: 1/-1;
  text-align: center;
  padding: 60px 10px;
  font-size: 12px;
  color: var(--muted);
}
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  background: #17251f;
  color: #d8e9d9;
  border: 1px solid #56795d;
  padding: 15px 25px;
  font-size: 12px;
  box-shadow: 0 10px 30px #0006;
  max-width: 90vw;
}
.noscript {
  padding: 25px;
  background: #391b23;
}
.asset-missing {
  opacity: 0.45;
}
@keyframes reveal {
  from {
    opacity: 0;
    transform: scale(1.025);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes breathe {
  50% {
    opacity: 0.4;
    transform: scale(1.1);
  }
}
@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1600px) {
  .sanctum {
    min-height: 810px;
  }
  .profile-layout {
    padding-top: 25px;
  }
  .identity {
    min-height: 660px;
  }
  .hero-caption {
    margin-bottom: 65px;
  }
  .achievement > img {
    height: 135px;
  }
  .detail-panel {
    bottom: 255px;
  }
}
@media (max-width: 1100px) {
  .topbar nav {
    gap: 20px;
  }
  .soon {
    display: none;
  }
  .profile-layout {
    grid-template-columns: 205px 1fr;
    gap: 25px;
    padding-inline: 3%;
  }
  .portrait {
    width: 175px;
  }
  .identity {
    padding-inline: 10px;
  }
  .achievement .tiny {
    font-size: 8px;
    letter-spacing: 0.5px;
  }
  .achievement strong {
    font-size: 14px;
  }
  .achievement-note {
    font-size: 8px;
    white-space: normal;
  }
  .hero-caption h2 {
    font-size: 44px;
  }
  .showcase-foot > span:last-child {
    display: none;
  }
  .detail-panel {
    left: 5%;
    right: 5%;
  }
  .rank-grid {
    gap: 5px;
  }
  .explore {
    margin: 35px 4%;
  }
  .topbar {
    padding-inline: 3%;
  }
  .brand {
    font-size: 16px;
  }
  .brand img {
    width: 35px;
  }
  .mastery-columns h2 {
    font-size: 14px;
  }
  .customizer-body {
    grid-template-columns: 200px 1fr;
  }
  .collection {
    padding: 0 18px;
  }
  .preview-portrait {
    width: 175px;
  }
  .catalog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  footer {
    flex-wrap: wrap;
  }
  footer small {
    text-align: left;
  }
}
@media (max-width: 760px) {
  .topbar {
    height: 78px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .brand {
    font-size: 13px;
    letter-spacing: 1px;
  }
  .brand small {
    font-size: 6px;
    letter-spacing: 2px;
  }
  .brand img {
    width: 30px;
  }
  .topbar nav {
    display: none;
  }
  .button.small {
    font-size: 10px;
    padding: 10px;
  }
  .section-bar {
    padding: 18px 4%;
    font-size: 7px;
    letter-spacing: 0.8px;
  }
  .divider {
    padding: 0 5px;
  }
  .section-bar .text-button {
    font-size: 9px;
  }
  .sanctum {
    min-height: 0;
  }
  .backdrop {
    height: 630px;
    object-position: 62% 0;
  }
  .shade {
    background: linear-gradient(
      0deg,
      #080e17 5%,
      #080e17e8 30%,
      #080e1770 65%,
      #080e1740
    );
  }
  .profile-layout {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 4% 23px;
  }
  .identity {
    border: 0;
    background: transparent;
    min-height: 0;
    padding: 20px 0;
    clip-path: none;
  }
  .identity > .eyebrow {
    font-size: 8px;
  }
  .identity:after,
  .identity-rule,
  .identity-quote,
  .identity-rank,
  .identity-bottom {
    display: none;
  }
  .portrait {
    height: 210px;
    width: 200px;
    margin: 0 auto;
  }
  .identity h1 {
    font-size: 31px;
    margin-top: 0;
  }
  .region {
    margin-top: 8px;
  }
  .hero-caption {
    padding-top: 10px;
    margin: 0 auto 28px;
    text-align: center;
  }
  .hero-caption > .eyebrow {
    display: none;
  }
  .hero-caption h2 {
    font-size: 27px;
    margin-top: 5px;
  }
  .hero-caption h2 br {
    display: none;
  }
  .hero-caption p {
    font-size: 10px;
    margin-top: 10px;
  }
  .achievements {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px 5px;
    padding-top: 20px;
  }
  .achievement {
    padding-bottom: 12px;
  }
  .achievement:nth-child(4),
  .achievement:nth-child(5) {
    display: none;
  }
  .achievement strong {
    font-size: 17px;
  }
  .achievement > img {
    height: 105px;
  }
  .achievement-note {
    font-size: 8px;
  }
  .showcase-foot {
    font-size: 8px;
    justify-content: center;
    margin-top: 16px;
  }
  .detail-panel {
    position: fixed;
    left: 4%;
    right: 4%;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    max-height: 85dvh;
    overflow: auto;
    padding: 24px 16px;
    box-shadow: 0 0 0 100vmax #000b;
    animation: none;
  }
  .detail-panel:after {
    display: none;
  }
  .rank-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px 7px;
  }
  .rank-item:last-child {
    border-left: 0;
    padding-left: 0;
  }
  .rank-item img,
  .rank-item .unranked-art {
    height: 75px;
  }
  .rank-item .tiny {
    font-size: 8px;
  }
  .rank-item strong {
    font-size: 10px;
  }
  .rank-item p {
    font-size: 9px;
  }
  .mastery-columns {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .mastery-columns > div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 20px 0 0;
  }
  .mastery-columns h2 {
    font-size: 14px;
  }
  .champion-card > img {
    width: 60px;
    height: 60px;
  }
  .eternal {
    height: 65px;
    font-size: 50px;
  }
  .below-profile {
    padding: 30px 5%;
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
  .below-profile h2 {
    font-size: 23px;
  }
  .below-profile p {
    font-size: 11px;
  }
  .explore {
    padding: 28px 22px;
    margin: 30px 4%;
    gap: 0;
  }
  .explore-symbol {
    display: none;
  }
  .explore h2 {
    font-size: 23px;
  }
  .explore p {
    font-size: 11px;
  }
  .chapter {
    display: none;
  }
  .future-search {
    width: 100%;
  }
  footer {
    padding: 25px 5%;
    gap: 15px;
    flex-direction: column;
    align-items: flex-start;
  }
  footer small {
    font-size: 8px;
  }
  .dialog-header {
    padding: 17px;
  }
  .dialog-header h2 {
    font-size: 18px;
  }
  .dialog-header .eyebrow {
    font-size: 7px;
  }
  .customizer-body {
    display: block;
    min-height: 0;
  }
  .preview {
    display: none;
  }
  .collection {
    padding: 0 15px;
  }
  .tabs {
    gap: 30px;
  }
  .tabs button {
    padding: 15px 2px;
  }
  .collection-tools {
    margin: 15px 0 10px;
    gap: 8px;
  }
  .collection-tools select {
    max-width: 130px;
    font-size: 9px;
  }
  .catalog-grid {
    height: 40dvh;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .catalog-grid.icons {
    grid-template-columns: repeat(4, 1fr);
  }
  .catalog-item img {
    height: 80px;
  }
  .catalog-item span {
    font-size: 8px;
    padding: 6px;
  }
  .dialog-footer {
    padding: 13px 15px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .dialog-footer > span {
    width: 100%;
    font-size: 8px;
  }
  .dialog-footer .button {
    font-size: 10px;
  }
  .dialog-footer .text-button {
    font-size: 10px;
  }
  .pagination {
    font-size: 8px;
  }
  dialog {
    max-height: 95dvh;
    width: 96vw;
  }
  .collection-meta {
    font-size: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* Los recursos de regalia incluyen espacio transparente del cliente original. */
.profile-frame[data-frame-type="ranked"] {
  inset: auto;
  left: 50%;
  top: -115px;
  width: 300px;
  height: auto;
  max-width: none;
  transform: translateX(-50%);
}
.portrait[data-frame-type="ranked"] .profile-icon {
  top: 50%;
  width: 105px;
  height: 105px;
}
.portrait[data-frame-type="level"] .profile-frame {
  width: 145px;
  height: 145px;
  inset: auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.rank-art {
  width: 140px;
  height: 115px;
  overflow: hidden;
  margin: 10px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rank-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(3.7);
}
.rank-art.unranked img {
  transform: none;
}
.rank-item .rank-art {
  width: 110px;
  max-width: 100%;
  height: 100px;
  margin: 0 auto;
}
.rank-item .rank-art img {
  width: 100%;
  height: 100%;
}
.catalog-item[data-frame-type="ranked"] {
  overflow: hidden;
}
.catalog-item[data-frame-type="ranked"] img {
  object-fit: cover;
  object-position: 50% 68%;
  height: 110px;
}
@media (max-width: 760px) {
  .profile-frame[data-frame-type="ranked"] {
    top: -125px;
  }
  .rank-art {
    height: 105px;
    max-width: 100%;
    width: 120px;
  }
  .rank-item .rank-art {
    height: 75px;
  }
}
.cup-art,
.banner-art {
  position: relative;
  width: 120px;
  height: 135px;
  background: none;
  border: 0;
  clip-path: none;
  filter: none;
  margin: 10px 0;
}
.cup-art img,
.banner-art img {
  position: absolute;
  object-fit: contain;
  width: 100%;
  height: 100%;
  inset: 0;
}
.cup-art .pedestal {
  width: 65px;
  height: 40px;
  top: 100px;
  left: 28px;
}
.cup-art .trophy {
  height: 112px;
}
.banner-art .voidFrame {
  width: 110px;
  height: 34px;
  left: 5px;
  top: 4px;
}
.banner-art .voidBanner {
  height: 125px;
  top: 5px;
}
.mastery-medal .mastery-decoration {
  position: absolute;
  top: 55px;
  left: 2px;
  width: 80px;
  height: 80px;
  border: 0;
  border-radius: 0;
  object-fit: contain;
}
.mastery-medal > span {
  z-index: 2;
  top: 110px;
  padding: 2px 8px;
  font-size: 8px;
  clip-path: none;
}
.mastery-medal:after {
  display: none;
}
.champion-medal {
  position: relative;
  height: 105px;
}
.champion-medal > img:first-child {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border: 2px solid var(--gold);
  border-radius: 50%;
}
.champion-medal .champion-decoration {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 70px;
  object-fit: contain;
}
@media (max-width: 760px) {
  .champion-medal {
    height: 95px;
  }
  .champion-medal > img:first-child {
    width: 60px;
    height: 60px;
  }
  .champion-medal .champion-decoration {
    width: 60px;
    height: 60px;
    top: 35px;
  }
}
.eternal img {
  width: 90px;
  height: 90px;
  object-fit: contain;
}
@media (max-width: 760px) {
  .eternal img {
    width: 65px;
    height: 65px;
  }
}
