.account-page {
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
  padding: 38px 0 90px;
}

.account-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 28px;
  padding: 34px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 220, 70, 0.35), transparent 24%),
    radial-gradient(circle at 88% 18%, rgba(46, 199, 255, 0.28), transparent 24%),
    radial-gradient(circle at 80% 90%, rgba(255, 80, 80, 0.22), transparent 28%),
    linear-gradient(135deg, #2454ff 0%, #14227b 48%, #090d2a 100%);
  border: 3px solid #ffcf33;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34), 0 9px 0 #071126;
}

.account-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0 46%, rgba(255,255,255,0.07) 46% 49%, transparent 49% 100%);
  pointer-events: none;
}

.hero-content,
.hero-preview {
  position: relative;
  z-index: 1;
}

.brawl-badge,
.mini-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: #ffcf33;
  color: #171717;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 5px 0 rgba(0,0,0,0.22);
}

.account-hero h1 {
  margin: 18px 0 14px;
  max-width: 780px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 0.98;
  color: #fff;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-shadow: 0 4px 0 rgba(0,0,0,0.28);
}

.account-hero p {
  margin: 0;
  max-width: 680px;
  color: rgba(255,255,255,0.88);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 650;
}

.tag-form {
  display: grid;
  grid-template-columns: 1fr 190px;
  gap: 14px;
  margin-top: 28px;
  max-width: 720px;
}

.tag-input-wrap {
  display: flex;
  align-items: center;
  min-height: 62px;
  padding: 0 18px;
  border-radius: 20px;
  background: rgba(6, 11, 38, 0.78);
  border: 2px solid rgba(255,255,255,0.12);
}

.tag-input-wrap span {
  color: #ffcf33;
  font-size: 24px;
  font-weight: 900;
  margin-right: 8px;
}

.tag-input-wrap input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
}

.tag-input-wrap input::placeholder {
  color: rgba(255,255,255,0.34);
}

#checkBtn {
  min-height: 62px;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffe45b 0%, #ffb800 100%);
  color: #151515;
  font-size: 16px;
  font-weight: 900;
  border: 2px solid rgba(0,0,0,0.18);
  box-shadow: 0 7px 0 #a16c00, 0 16px 32px rgba(255,184,0,0.28);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

#checkBtn:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

#checkBtn:active {
  transform: translateY(4px);
  box-shadow: 0 3px 0 #a16c00, 0 10px 24px rgba(255,184,0,0.22);
}

#checkBtn:disabled {
  opacity: .7;
  cursor: not-allowed;
}

.account-message {
  min-height: 22px;
  margin-top: 16px;
  color: #fff0a6;
  font-size: 14px;
  font-weight: 800;
}

.account-message.error {
  color: #ff9b9b;
}

.account-message.success {
  color: #9effaa;
}

.hero-preview {
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-card {
  width: 100%;
  max-width: 280px;
  padding: 26px;
  border-radius: 28px;
  text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.13), rgba(255,255,255,0.04)), rgba(6, 12, 45, 0.6);
  border: 2px solid rgba(255,255,255,0.14);
}

.preview-card img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  margin: 0 auto 18px;
  filter: drop-shadow(0 10px 14px rgba(0,0,0,.34));
}

.preview-card strong {
  display: block;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  text-shadow: 0 3px 0 rgba(0,0,0,0.24);
}

.preview-card span {
  display: block;
  margin-top: 8px;
  color: #bfcaff;
  font-size: 14px;
  font-weight: 700;
}

.hidden {
  display: none;
}

.account-result {
  margin-top: 28px;
}

.player-panel {
  padding: 28px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 10% 12%, rgba(255, 207, 51, .16), transparent 24%),
    radial-gradient(circle at 90% 10%, rgba(55, 198, 255, .14), transparent 26%),
    linear-gradient(180deg, rgba(28, 42, 116, .98), rgba(10, 15, 48, .99));
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow: 0 24px 60px rgba(0,0,0,.32);
}

.player-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 22px;
}

.player-identity {
  display: flex;
  align-items: center;
  gap: 18px;
}

.player-avatar {
  width: 92px;
  height: 92px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffdd48, #ff9f1c);
  box-shadow: 0 9px 0 #9c5b00;
}

.player-avatar img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.player-head h2 {
  margin: 14px 0 6px;
  color: #fff;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.player-head p {
  margin: 0;
  color: #aebaff;
  font-size: 16px;
  font-weight: 800;
}

.price-card {
  min-width: 240px;
  padding: 20px;
  border-radius: 26px;
  background: linear-gradient(180deg, #ffe45b, #ffb800);
  color: #151515;
  border: 2px solid rgba(0,0,0,.18);
  box-shadow: 0 8px 0 #a16c00;
  text-align: right;
}

.price-card span {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  opacity: .72;
}

.price-card strong {
  display: block;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stat-card {
  position: relative;
  overflow: hidden;
  min-height: 112px;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.025)), rgba(7, 13, 48, .82);
  border: 1px solid rgba(255,255,255,.08);
}

.stat-card::after {
  content: "";
  position: absolute;
  right: -28px;
  top: -28px;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: rgba(255,207,51,.1);
}

.stat-card span {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #9eabed;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.stat-card span img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.stat-card strong {
  display: block;
  color: #fff;
  font-size: 25px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.main-stat {
  background:
    radial-gradient(circle at top right, rgba(255,207,51,.22), transparent 34%),
    linear-gradient(180deg, rgba(50,80,210,.96), rgba(15,28,95,.96));
  border-color: rgba(255,207,51,.18);
}

.brawlers-section {
  margin-top: 28px;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.section-title h3 {
  margin: 0;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.section-title span {
  color: #9eabed;
  font-size: 14px;
  font-weight: 800;
}

.brawlers-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.brawler-item {
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.025)), rgba(7, 13, 48, .82);
  border: 1px solid rgba(255,255,255,.08);
}

.brawler-img {
  height: 150px;
  display: grid;
  place-items: end center;
  background: radial-gradient(circle at center, rgba(255,207,51,.22), transparent 45%), linear-gradient(135deg, rgba(36,84,255,.5), rgba(9,13,42,.6));
}

.brawler-img img {
  max-width: 132px;
  max-height: 144px;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(0,0,0,.34));
}

.brawler-info {
  padding: 14px;
}

.brawler-info strong {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brawler-info span {
  display: block;
  margin-top: 6px;
  color: #aebaff;
  font-size: 12px;
  font-weight: 800;
}

.brawler-line {
  display: flex !important;
  align-items: center;
  gap: 6px;
}

.brawler-line img {
  width: 17px;
  height: 17px;
  object-fit: contain;
}

@media (max-width: 980px) {
  .account-hero {
    grid-template-columns: 1fr;
  }

  .hero-preview {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brawlers-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .account-page {
    width: min(100% - 22px, 1180px);
    padding-top: 22px;
  }

  .account-hero,
  .player-panel {
    border-radius: 26px;
    padding: 20px;
  }

  .tag-form {
    grid-template-columns: 1fr;
  }

  .player-head,
  .player-identity {
    align-items: flex-start;
    flex-direction: column;
  }

  .price-card {
    width: 100%;
    min-width: 0;
    text-align: left;
  }

  .stats-grid,
  .brawlers-list {
    grid-template-columns: 1fr;
  }
}

.valuation-section {
  margin-top: 28px;
}

.valuation-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.valuation-card {
  padding: 18px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.025)),
    rgba(7, 13, 48, .82);
  border: 1px solid rgba(255,255,255,.08);
}

.valuation-card span {
  display: block;
  margin-bottom: 10px;
  color: #9eabed;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.valuation-card strong {
  color: #fff;
  font-size: 22px;
  font-weight: 900;
}

.market-note {
  margin: 16px 0 0;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 207, 51, 0.08);
  border: 1px solid rgba(255, 207, 51, 0.16);
  color: #cbd5ff;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 700;
}

@media (max-width: 980px) {
  .valuation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .valuation-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {

  .news-card-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .news-date {
    align-items: flex-start;
  }

  .news-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

.account-disclaimer {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 207, 51, 0.08);
  border: 1px solid rgba(255, 207, 51, 0.2);
  color: #cbd5ff;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 600;
}