@import url("../assets/light-theme.css");

:root {
  --bg1: #1e1e2e;
  --bg2: #181825;
  --panel: #313244;
  --line: #585b70;
  --muted: #bac2de;
  --accent: #b4befe;
  --accent-2: #a6adc8;
  --warn: #f9e2af;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 12%, rgba(98, 212, 255, 0.2), transparent 28%),
    radial-gradient(circle at 88% 10%, rgba(128, 255, 191, 0.18), transparent 32%),
    linear-gradient(165deg, var(--bg1), var(--bg2));
}
.page {
  width: min(calc(100% - 28px), 1050px);
  margin: 22px auto 34px;
  padding: 26px;
  border: 1px solid rgba(167, 193, 255, 0.25);
  border-radius: 24px;
  background: var(--surface);
  backdrop-filter: none;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  margin-bottom: 16px;
}
.hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  padding: 18px;
}
.player-head {
  width: 120px;
  image-rendering: pixelated;
  border-radius: 10px;
  border: 2px solid rgba(98, 212, 255, 0.7);
  background: #45475a;
}
.head-placeholder {
  width: 120px;
  height: 120px;
  display: grid;
  place-items: center;
  font-size: 0.76rem;
  text-align: center;
  line-height: 1.4;
  border-radius: 10px;
  border: 2px dashed rgba(255, 214, 107, 0.8);
  color: var(--warn);
  background: #313244;
  padding: 10px;
}
.name {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}
.tagline {
  margin: 8px 0 0;
  color: var(--muted);
}

.profile-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 108, 143, 0.42);
  background: rgba(20, 24, 34, 0.35);
  color: #ffd9df;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ff6c8f;
  flex-shrink: 0;
}
.profile-status.online {
  color: #a6e3a1;
  border-color: rgba(180, 190, 254, 0.55);
  background: #313244;
}
.profile-status.online .status-dot {
  background: #b4befe;
}
.grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}
.card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  background: var(--panel);
}
.card h2 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  color: var(--accent);
}
.meta-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.meta-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid rgba(185, 199, 233, 0.22);
  padding-bottom: 6px;
}
.label { color: var(--muted); }
.value { font-weight: 700; min-width: 80px; text-align: right; }
.blank { opacity: 0.82; font-weight: 600; }
.col-4 { grid-column: span 4; }
.col-8 { grid-column: span 8; }
.col-6 { grid-column: span 6; }
.col-12 { grid-column: span 12; }
.note {
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(121, 165, 255, 0.38);
  color: var(--muted);
  font-size: 0.9rem;
  background: rgba(121, 165, 255, 0.14);
}
.footnote {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.92rem;
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .player-head, .head-placeholder { margin-inline: auto; }
  .col-4, .col-6, .col-8 { grid-column: span 12; }
}
