:root {
  --bg: #060b1f;
  --bg-soft: #0d1634;
  --card: #101c41;
  --card-2: #0a1330;
  --text: #edf2ff;
  --muted: #9fb0df;
  --line: #22396f;
  --accent: #9f5cff;
  --accent-2: #32d4ff;
  --danger: #ff7a7a;
  --ok: #5cffba;
  --container: 1360px;
  --header-control-h: 44px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: "Space Grotesk", "Rajdhani", "Exo 2", "Trebuchet MS", sans-serif;
  background:
    radial-gradient(circle at 18% 2%, rgba(117, 64, 255, 0.38) 0, rgba(117, 64, 255, 0) 30%),
    radial-gradient(circle at 84% 18%, rgba(50, 212, 255, 0.22) 0, rgba(50, 212, 255, 0) 30%),
    var(--bg);
  color: var(--text);
  line-height: 1.5;
}

.bg-glow {
  position: fixed;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.22;
  z-index: -1;
}

.bg-1 {
  top: -8rem;
  left: -6rem;
  background: var(--accent);
}

.bg-2 {
  right: -8rem;
  bottom: -10rem;
  background: var(--accent-2);
}

.container {
  width: min(var(--container), calc(100vw - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(14px);
  background: rgba(6, 12, 30, 0.86);
  border-bottom: 1px solid rgba(58, 86, 146, 0.32);
  z-index: 20;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem;
  min-height: 80px;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.58rem;
}

.brand-logo {
  display: block;
  width: auto;
  max-width: 360px;
  height: 44px;
  object-fit: contain;
  object-position: left center;
  flex: 0 0 auto;
}

.brand-mark {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 0 12px rgba(167, 86, 255, 0.55));
  flex: 0 0 28px;
}

.brand-text {
  font-size: 1.12rem;
  font-weight: 800;
}

.brand-chip {
  border: 1px solid rgba(140, 78, 255, 0.55);
  border-radius: 999px;
  padding: 0.14rem 0.52rem;
  color: #b78fff;
  font-size: 0.84rem;
  font-weight: 700;
  background: rgba(119, 64, 255, 0.18);
}

nav {
  display: flex;
  gap: 0.7rem;
  align-items: center;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.header-search {
  margin-top: 0;
  display: flex;
  grid-template-columns: none;
  gap: 0.5rem;
  align-items: center;
  height: auto;
}

.header-search input,
.header-search button {
  height: var(--header-control-h);
  padding: 0 0.88rem;
  font-size: 0.93rem;
  border-radius: 16px;
  margin: 0;
  line-height: 1;
}

.header-search input {
  width: 296px;
  display: block;
  border-color: rgba(68, 99, 166, 0.62);
  background: rgba(8, 18, 46, 0.72);
  padding-left: 2.2rem;
  background-image: radial-gradient(circle at 1rem 50%, rgba(168, 189, 255, 0.95) 0 1.5px, transparent 2px),
    radial-gradient(circle at 1.18rem 50%, rgba(168, 189, 255, 0.95) 0 5px, transparent 5.6px);
  background-repeat: no-repeat;
  background-size: 16px 16px, 16px 16px;
  background-position: 0.78rem 50%, 0.78rem 50%;
}

.header-search button {
  display: inline-flex;
  border: 1px solid rgba(63, 205, 255, 0.8);
  background: linear-gradient(90deg, rgba(74, 63, 182, 0.78), rgba(31, 145, 191, 0.56));
  box-shadow: 0 0 16px rgba(60, 195, 255, 0.18);
  color: #f0f6ff;
  font-weight: 700;
  align-items: center;
  gap: 0.5rem;
  min-width: 126px;
  justify-content: center;
}

.header-profile-icon {
  width: 16px;
  height: 16px;
  filter: drop-shadow(0 0 8px rgba(141, 109, 255, 0.45));
}

.header-profile-caret {
  font-size: 0.8rem;
  opacity: 0.9;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  height: var(--header-control-h);
  padding: 0 0.92rem;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: 0.2s ease;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-sizing: border-box;
  margin: 0;
}

nav a:hover,
nav a.active {
  color: var(--text);
  border-color: rgba(159, 92, 255, 0.36);
  background: rgba(102, 63, 191, 0.22);
}

main {
  padding: 1.2rem 0 2rem;
}

.hero,
.panel {
  border: 1px solid rgba(46, 71, 127, 0.64);
  background: linear-gradient(180deg, rgba(8, 18, 44, 0.97) 0%, rgba(6, 14, 36, 0.97) 100%);
  border-radius: 24px;
  padding: 1.18rem;
  margin-bottom: 1.05rem;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.34);
}

.hero.small {
  padding: 1rem;
}

.dashboard-hero,
.leaderboards-hero,
.users-hero {
  position: relative;
  overflow: hidden;
}

.dashboard-hero {
  background:
    radial-gradient(circle at 78% 14%, rgba(150, 84, 255, 0.24) 0, rgba(150, 84, 255, 0) 34%),
    linear-gradient(180deg, rgba(12, 22, 53, 0.98) 0%, rgba(7, 14, 35, 0.98) 100%);
}

.dashboard-hero-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 1rem;
  align-items: center;
}

.dashboard-hero-main h1 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  margin-top: 0.4rem;
}

.dashboard-hero-main p {
  max-width: 760px;
}

.dashboard-season-card {
  border: 1px solid rgba(104, 138, 227, 0.35);
  border-radius: 18px;
  background: rgba(9, 20, 50, 0.68);
  padding: 0.95rem;
  display: grid;
  gap: 0.4rem;
  justify-items: start;
}

.dashboard-season-card strong {
  font-size: 1.05rem;
}

.dashboard-season-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.dashboard-season-card a {
  margin-top: 0.25rem;
  color: #b9cbff;
  text-decoration: none;
  border-bottom: 1px dashed rgba(185, 203, 255, 0.4);
}

.badge {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  color: #f0e3ff;
  border: 1px solid rgba(159, 92, 255, 0.5);
  background: rgba(159, 92, 255, 0.18);
  font-weight: 700;
}

.badge.warn {
  background: var(--danger);
}

h1,
h2,
h3 {
  margin: 0.35rem 0;
  line-height: 1.2;
}

p {
  margin: 0.35rem 0;
}

.meta-line,
.subtle {
  color: var(--muted);
  font-size: 0.93rem;
}

.search-form {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
}

.search-form input,
.search-form button {
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 0.8rem 0.85rem;
  font-size: 0.97rem;
}

.search-form input {
  background: #0f1730;
  color: var(--text);
}

.search-form button {
  color: #f5f7ff;
  border-color: transparent;
  background: linear-gradient(90deg, #8a4fff, #40d9ff);
  cursor: pointer;
  font-weight: 700;
}

.users-controls {
  margin-top: 0.85rem;
  display: grid;
  grid-template-columns: 1.5fr auto auto;
  gap: 0.5rem;
}

.users-controls input,
.users-controls select,
.users-controls button {
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 0.7rem 0.8rem;
  font-size: 0.92rem;
}

.users-controls input,
.users-controls select {
  background: #0f1730;
  color: var(--text);
}

.users-controls button {
  color: #071120;
  border-color: transparent;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  cursor: pointer;
  font-weight: 700;
}

.users-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.6rem;
}

.users-filter-chip {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(9, 15, 33, 0.6);
  padding: 0.6rem 0.75rem;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.users-filter-chip span {
  color: var(--muted);
  font-size: 0.9rem;
}

.users-filter-chip strong {
  font-size: 1rem;
}

.users-filter-chip.active {
  border-color: rgba(54, 227, 255, 0.7);
  box-shadow: 0 0 0 1px rgba(54, 227, 255, 0.25) inset;
  background: rgba(17, 48, 78, 0.5);
}

.panel-head,
.board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.35rem;
}

.panel-head a,
.board-head a {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
}

.top-grid,
.board-grid,
.stats-grid,
.achievement-grid {
  display: grid;
  gap: 0.8rem;
}

.top-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  margin-top: 0.8rem;
}

.top-grid-highlight {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.mini-board,
.board,
.stat-card,
.achievement {
  border: 1px solid rgba(35, 61, 117, 0.85);
  border-radius: 18px;
  background: rgba(9, 16, 40, 0.72);
  padding: 0.8rem;
}

.mini-board h3,
.board h3 {
  font-size: 1rem;
}

.highlight-card h3 {
  font-size: 0.96rem;
}

.highlight-score {
  margin-top: 0.28rem;
  font-size: 1.8rem;
  line-height: 1.1;
  font-weight: 800;
  color: #e6dcff;
}

.highlight-name {
  margin-top: 0.1rem;
  margin-bottom: 0.46rem;
  color: #bdc9ea;
  font-size: 0.92rem;
}

.mini-ranking {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mini-ranking li {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.2rem 0;
  border-top: 1px solid rgba(37, 55, 98, 0.5);
}

.mini-board ol {
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
}

.mini-board li {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.25rem 0;
}

.tabs {
  margin-top: 0.65rem;
}

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.8rem;
}

.tab-btn {
  border: 1px solid rgba(56, 81, 142, 0.58);
  color: #b6c3e7;
  background: rgba(11, 25, 61, 0.9);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-size: 0.98rem;
}

.tab-btn.active {
  color: #f6edff;
  background: linear-gradient(90deg, rgba(125, 49, 255, 0.88), rgba(165, 84, 255, 0.72));
  border-color: rgba(173, 104, 255, 0.7);
  font-weight: 700;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.board-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.leaderboards-panel .board {
  background: linear-gradient(180deg, rgba(10, 18, 43, 0.8) 0%, rgba(8, 14, 34, 0.8) 100%);
}

.leaderboards-panel .board h3 {
  font-size: 1.02rem;
}

.board-divider {
  grid-column: 1 / -1;
  margin: 0.1rem 0 0.2rem;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(54, 227, 255, 0.35);
}

.board-divider span {
  font-size: 0.78rem;
  color: var(--muted);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  padding: 0.46rem;
  border-bottom: 1px solid rgba(43, 60, 101, 0.5);
}

th {
  color: var(--muted);
  font-size: 0.88rem;
}

td a {
  color: var(--text);
  text-decoration: none;
}

.stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.stat-card {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 0.7rem;
  min-height: 88px;
}

.stat-card-body {
  display: grid;
  grid-template-rows: auto 1fr;
  align-items: start;
  min-width: 0;
  min-height: 56px;
}

.stat-card-title {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.12;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stat-card-value {
  font-size: 1.62rem;
  line-height: 1.04;
  color: var(--text);
  font-weight: 800;
  align-self: end;
  justify-self: start;
  margin-top: 0.22rem;
}

.achievement-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.achievement-divider {
  grid-column: 1 / -1;
  margin: 0.2rem 0 0.1rem;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(54, 227, 255, 0.35);
}

.achievement-divider span {
  font-size: 0.78rem;
  color: var(--muted);
}

.achievement-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.7rem;
}

.achievement {
  padding: 0.95rem;
  position: relative;
  min-height: 254px;
}

.achievement h3 {
  margin-bottom: 0.35rem;
  padding-right: 1.6rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.achievement-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  cursor: help;
  position: absolute;
  right: 0.72rem;
  top: 0.66rem;
  margin-left: 0;
  background-color: rgba(8, 16, 40, 0.9);
  border: 1px solid rgba(54, 227, 255, 0.55);
  box-shadow: 0 0 12px rgba(50, 212, 255, 0.28);
}

.achievement-help::after {
  content: attr(data-tooltip);
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  transform: none;
  min-width: 240px;
  max-width: 300px;
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #0f1730;
  color: var(--text);
  font-size: 0.76rem;
  line-height: 1.35;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
  z-index: 8;
  white-space: normal;
}

.achievement-help:hover::after,
.achievement-help:focus-visible::after {
  opacity: 1;
}

.achievement-metric {
  margin: 0 0 0.65rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.achievement-metric strong {
  color: var(--text);
  font-weight: 700;
}

.achievement-rank {
  margin: -0.2rem 0 0.7rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.achievement-rank strong {
  color: #d7e7ff;
  font-weight: 700;
}

.tier-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.55rem;
}

.tier-badge {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.28rem 0.45rem;
  min-width: 64px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.06rem;
  background: rgba(12, 19, 39, 0.75);
}

.tier-badge-tier {
  font-size: 0.69rem;
  font-weight: 800;
  color: var(--muted);
}

.tier-badge-value {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
}

.tier-badge.done {
  border-color: rgba(132, 255, 136, 0.45);
  background: rgba(35, 87, 48, 0.35);
}

.tier-badge.done .tier-badge-tier,
.tier-badge.done .tier-badge-value {
  color: #c7ffd8;
}

.tier-badge.next {
  border-color: rgba(54, 227, 255, 0.7);
  box-shadow: 0 0 0 1px rgba(54, 227, 255, 0.25) inset;
  background: rgba(17, 48, 78, 0.5);
}

.tier-badge.next .tier-badge-tier,
.tier-badge.next .tier-badge-value {
  color: #9bf2ff;
}

.tier-badge.locked {
  opacity: 0.56;
}

.app-icon {
  display: inline-block;
  background-image: none;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.icon-chat { background-image: url("/assets/images/icons/chat.png"); }
.icon-chat-small { background-image: url("/assets/images/icons/chat-small.png"); }
.icon-clock { background-image: url("/assets/images/icons/clock-a.png"); }
.icon-streak { background-image: url("/assets/images/icons/bolt.png"); }
.icon-flame { background-image: url("/assets/images/icons/flame.png"); }
.icon-eye { background-image: url("/assets/images/icons/eye.png"); }
.icon-diamond { background-image: url("/assets/images/icons/diamond.png"); }
.icon-heart { background-image: url("/assets/images/icons/heart.png"); }
.icon-star { background-image: url("/assets/images/icons/star.png"); }
.icon-trophy { background-image: url("/assets/images/icons/trophy-small.png"); }
.icon-trophy-large { background-image: url("/assets/images/icons/trophy-large.png"); }
.icon-coins { background-image: url("/assets/images/icons/coins.png"); }
.icon-shield { background-image: url("/assets/images/icons/shield.png"); }
.icon-shield-small { background-image: url("/assets/images/icons/shield.png"); }
.icon-question { background-image: url("/assets/images/icons/question.png"); }
.icon-spark { background-image: url("/assets/images/icons/spark.png"); }
.icon-avatar-lvl { background-image: url("/assets/images/icons/avatar-lvl.png"); }

.page-dashboard .container {
  width: min(1560px, calc(100vw - 2rem));
}

.page-dashboard .site-header .container {
  min-height: 82px;
}

.page-dashboard main {
  padding-top: 1.35rem;
}

.page-leaderboards .container {
  width: min(1560px, calc(100vw - 2rem));
}

.page-leaderboards .site-header .container {
  min-height: 82px;
}

.page-leaderboards main {
  padding-top: 1.35rem;
}

.page-leaderboards .leaderboards-hero {
  border: 1px solid rgba(48, 72, 129, 0.68);
  border-radius: 18px;
  background:
    radial-gradient(circle at 74% 12%, rgba(162, 78, 255, 0.2), rgba(162, 78, 255, 0) 42%),
    linear-gradient(120deg, rgba(8, 15, 38, 0.96) 0%, rgba(7, 13, 32, 0.96) 44%, rgba(22, 11, 56, 0.96) 100%);
  padding: 1.3rem 1.35rem;
}

.page-leaderboards .leaderboards-hero h1 {
  font-size: clamp(2.2rem, 3vw, 3rem);
  margin: 0.2rem 0 0.45rem;
}

.page-leaderboards .leaderboards-hero p {
  font-size: 1.04rem;
  color: #c2ceef;
  margin: 0.2rem 0 0;
}

.page-leaderboards .leaderboards-panel {
  border: 1px solid rgba(48, 72, 129, 0.66);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(6, 15, 38, 0.98), rgba(5, 13, 32, 0.98));
  padding: 1rem 1rem 1.1rem;
}

.page-leaderboards .leaderboards-panel .panel-head h2 {
  margin: 0;
  font-size: 2rem;
}

.page-leaderboards .leaderboards-panel .tab-list {
  gap: 0.62rem;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.leaderboard-period-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0.25rem 0 0.95rem;
}

.leaderboard-period-btn {
  border: 1px solid rgba(56, 81, 142, 0.58);
  color: #b6c3e7;
  background: rgba(11, 25, 61, 0.9);
  border-radius: 999px;
  padding: 0.42rem 0.95rem;
  font-size: 0.92rem;
  text-decoration: none;
  line-height: 1;
}

.leaderboard-period-btn.active {
  color: #f6edff;
  background: linear-gradient(90deg, rgba(125, 49, 255, 0.88), rgba(165, 84, 255, 0.72));
  border-color: rgba(173, 104, 255, 0.7);
  font-weight: 700;
}

.page-leaderboards .leaderboards-panel .tab-btn {
  border: 1px solid rgba(56, 81, 142, 0.58);
  color: #b6c3e7;
  background: rgba(11, 25, 61, 0.9);
  border-radius: 999px;
  padding: 0.52rem 1.14rem;
  font-size: 1rem;
}

.page-leaderboards .leaderboards-panel .tab-btn.active {
  color: #f6edff;
  background: linear-gradient(90deg, rgba(125, 49, 255, 0.88), rgba(165, 84, 255, 0.72));
  border-color: rgba(173, 104, 255, 0.7);
  font-weight: 700;
}

.page-leaderboards .board-grid {
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 0.9rem;
}

.page-leaderboards .leaderboards-panel .board {
  border: 1px solid rgba(57, 84, 146, 0.66);
  border-radius: 16px;
  background: rgba(9, 20, 49, 0.84);
  padding: 0.9rem 0.9rem 0.8rem;
}

.page-leaderboards .leaderboards-panel .board h3 {
  font-size: 1.08rem;
  margin: 0 0 0.45rem;
}

.page-leaderboards .leaderboards-panel table th,
.page-leaderboards .leaderboards-panel table td {
  padding: 0.56rem 0.5rem;
  border-bottom: 1px solid rgba(43, 60, 101, 0.5);
}

.page-leaderboards .leaderboards-panel table th {
  font-size: 0.9rem;
}

.dashboard-v2 {
  display: grid;
  gap: 1.05rem;
}

.dashboard-v2-hero {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 1rem;
}

.dashboard-v2-hero-main {
  border: 1px solid rgba(48, 72, 129, 0.68);
  border-radius: 18px;
  min-height: 272px;
  background:
    radial-gradient(circle at 74% 12%, rgba(162, 78, 255, 0.26), rgba(162, 78, 255, 0) 40%),
    linear-gradient(120deg, rgba(8, 15, 38, 0.96) 0%, rgba(7, 13, 32, 0.96) 44%, rgba(22, 11, 56, 0.96) 100%);
  padding: 1.55rem 1.6rem;
  display: grid;
  grid-template-columns: 1fr 340px;
  align-items: center;
  overflow: hidden;
}

.dashboard-v2-hero-copy h1 {
  margin: 0 0 0.7rem;
  font-size: clamp(2.2rem, 3vw, 3.2rem);
  line-height: 1.06;
  background: linear-gradient(90deg, #cf56ff, #48c9ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dashboard-v2-hero-copy p {
  margin: 0;
  max-width: 520px;
  color: #c2ceef;
  font-size: 1.02rem;
}

.dashboard-v2-actions {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.7rem;
}

.dashboard-hero-search {
  margin-top: 0;
  width: auto;
  min-width: 320px;
}

.dashboard-hero-search input {
  min-width: 210px;
}

.dashboard-btn {
  text-decoration: none;
  border-radius: 12px;
  padding: 0.68rem 1.2rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.dashboard-btn-primary {
  background: linear-gradient(90deg, #7a4eff, #47b9ff);
  color: #f6f8ff;
}

.dashboard-btn-secondary {
  background: rgba(15, 29, 67, 0.86);
  border-color: rgba(71, 102, 171, 0.62);
  color: #deebff;
}

.dashboard-v2-hero-art {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  position: relative;
}

.dashboard-v2-hero-art .app-icon {
  width: 246px;
  height: 246px;
  filter: drop-shadow(0 0 30px rgba(164, 91, 255, 0.36));
}

.dashboard-v2-season-card {
  border: 1px solid rgba(48, 72, 129, 0.68);
  border-radius: 18px;
  min-height: 272px;
  background:
    radial-gradient(circle at 72% 20%, rgba(118, 58, 214, 0.28), rgba(118, 58, 214, 0) 45%),
    linear-gradient(180deg, rgba(8, 16, 40, 0.98), rgba(6, 13, 33, 0.98));
  padding: 1.2rem 1.2rem 1.15rem;
  display: grid;
  align-content: start;
  gap: 0.6rem;
  position: relative;
  overflow: hidden;
}

.dashboard-v2-season-label {
  margin: 0;
  color: #bf95ff;
  font-size: 1.02rem;
}

.dashboard-v2-season-card h2 {
  margin: 0;
  font-size: 2.6rem;
  line-height: 1.06;
}

.dashboard-v2-season-runtime {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.15rem 0 0.45rem;
  color: #d2defe;
}

.dashboard-v2-season-runtime .app-icon {
  width: 15px;
  height: 15px;
}

.dashboard-v2-season-card > a {
  color: #d9e7ff;
  text-decoration: underline;
  text-underline-offset: 2px;
  width: fit-content;
}

.dashboard-v2-season-shield {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
}

.dashboard-v2-season-shield .app-icon {
  width: 160px;
  height: 160px;
  filter: drop-shadow(0 0 24px rgba(162, 78, 255, 0.4));
}

.dashboard-v2-panel {
  border: 1px solid rgba(48, 72, 129, 0.66);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(6, 15, 38, 0.98), rgba(5, 13, 32, 0.98));
  padding: 1rem 1rem 1.1rem;
}

.dashboard-v2-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.7rem;
}

.dashboard-v2-panel-head h2 {
  margin: 0;
  font-size: 2rem;
}

.dashboard-v2-panel-head a {
  color: #b893ff;
  text-decoration: none;
}

.dashboard-v2-filter {
  border: 1px solid rgba(72, 99, 163, 0.76);
  background: rgba(16, 27, 63, 0.92);
  color: #c8d5f8;
  border-radius: 999px;
  padding: 0.48rem 0.95rem;
  font-size: 0.94rem;
}

.dashboard-v2-overview-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(170px, 1fr));
  gap: 0.7rem;
}

.dashboard-v2-overview-card {
  border: 1px solid rgba(54, 82, 144, 0.66);
  border-radius: 14px;
  background: rgba(9, 20, 49, 0.86);
  padding: 0.72rem 0.75rem;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0.68rem;
  align-items: center;
  min-height: 104px;
}

.dashboard-v2-overview-icon {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 0 10px rgba(159, 92, 255, 0.25));
  align-self: center;
}

.dashboard-v2-overview-body {
  display: grid;
  grid-template-rows: auto auto 1fr;
  min-height: 70px;
  align-content: start;
}

.dashboard-v2-overview-title {
  margin: 0;
  color: #bcc9ec;
  font-size: 0.94rem;
}

.dashboard-v2-overview-value {
  margin: 0.14rem 0 0;
  font-size: 2.05rem;
  line-height: 1.03;
  font-weight: 800;
  align-self: end;
}

.dashboard-v2-overview-sub {
  margin: 0.02rem 0 0;
  color: #8fe7bf;
  font-size: 0.9rem;
}

.dashboard-v2-top-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 0.8rem;
}

.dashboard-v2-quest-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 0.8rem;
}

.dashboard-v2-quest-card {
  border: 1px solid rgba(57, 84, 146, 0.66);
  border-radius: 16px;
  background: rgba(9, 20, 49, 0.9);
  padding: 0.9rem;
}

.dashboard-v2-quest-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.08rem;
}

.quest-board .dashboard-v2-panel-head h2 {
  font-size: 2.2rem;
}

.dashboard-v2-quest-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.58rem;
}

.dashboard-v2-quest-list .quest-row {
  border: 1px solid rgba(57, 84, 146, 0.52);
  border-radius: 12px;
  padding: 0.6rem 0.65rem;
  background: rgba(5, 13, 34, 0.72);
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 0.7rem;
  align-items: center;
}

.quest-row-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  padding: 8px;
  background-color: rgba(89, 47, 198, 0.52);
}

.quest-theme-week .quest-row-icon {
  background-color: rgba(36, 124, 204, 0.45);
}

.quest-row-main {
  min-width: 0;
}

.quest-row-metrics {
  display: grid;
  gap: 0.24rem;
  justify-items: end;
  min-width: 118px;
}

.quest-row-ratio {
  margin: 0;
  color: #d7e6ff;
  font-weight: 700;
  white-space: nowrap;
}

.quest-row-percent {
  margin: 0;
  color: #d7e6ff;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
}

.quest-progress-track {
  margin-top: 0.34rem;
  height: 8px;
  border-radius: 999px;
  background: rgba(92, 109, 186, 0.3);
  overflow: hidden;
}

.quest-progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8659ff, #5f6cff);
}

.quest-theme-week .quest-progress-track span {
  background: linear-gradient(90deg, #4ea6ff, #41cbff);
}

.quest-board-note {
  margin: 0.72rem 0 0;
  border-top: 1px solid rgba(57, 84, 146, 0.52);
  padding-top: 0.62rem;
  color: #b7c8ea;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.52rem;
  text-align: center;
}

.quest-board-note .app-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.dashboard-v2-quest-title {
  margin: 0;
  font-weight: 700;
}

.dashboard-v2-quest-desc {
  margin: 0.12rem 0 0;
  color: #bfd0f2;
  font-size: 0.9rem;
}

.dashboard-v2-quest-target {
  margin: 0.22rem 0 0;
  color: #8fe7bf;
  font-size: 0.89rem;
}

.dashboard-v2-quest-empty {
  color: #bfd0f2;
  border: 1px dashed rgba(102, 124, 186, 0.48);
  border-radius: 10px;
  padding: 0.7rem;
}

.dashboard-v2-top-card {
  border: 1px solid rgba(57, 84, 146, 0.66);
  border-radius: 16px;
  background: rgba(9, 20, 49, 0.84);
  padding: 0.9rem 0.9rem 0.75rem;
}

.dashboard-v2-top-head {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0.65rem;
  align-items: center;
}

.dashboard-v2-top-icon {
  width: 40px;
  height: 40px;
}

.dashboard-v2-top-head h3 {
  margin: 0;
  font-size: 1.08rem;
}

.dashboard-v2-top-head p {
  margin: 0.12rem 0 0;
  color: #c2d0ef;
  font-size: 0.93rem;
}

.dashboard-v2-ranking {
  margin: 0.8rem 0 0.7rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.38rem;
}

.dashboard-v2-ranking li {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 0.55rem;
  align-items: center;
  color: #e6edff;
}

.dashboard-rank-badge {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: #071120;
}

.dashboard-rank-1 {
  background: linear-gradient(180deg, #ffd978, #ffb233);
  box-shadow: 0 0 10px rgba(255, 190, 81, 0.4);
}

.dashboard-rank-2 {
  background: linear-gradient(180deg, #e8f1ff, #a9bfdc);
  box-shadow: 0 0 10px rgba(176, 198, 229, 0.35);
}

.dashboard-rank-3 {
  background: linear-gradient(180deg, #ffc4a0, #d4834d);
  box-shadow: 0 0 10px rgba(217, 137, 81, 0.35);
}

.dashboard-rank-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-v2-top-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border-top: 1px solid rgba(57, 84, 146, 0.52);
  padding-top: 0.55rem;
  color: #b98fff;
  text-decoration: none;
  font-weight: 700;
}

.dashboard-v2-recent-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(220px, 1fr));
  gap: 0.75rem;
}

.dashboard-v2-recent-card {
  border: 1px solid rgba(57, 84, 146, 0.58);
  border-radius: 14px;
  background: rgba(9, 20, 49, 0.82);
  padding: 0.76rem 0.78rem;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0.65rem;
  align-items: center;
}

.dashboard-v2-recent-icon {
  width: 36px;
  height: 36px;
}

.dashboard-v2-recent-user {
  margin: 0;
  font-weight: 700;
}

.dashboard-v2-recent-text,
.dashboard-v2-recent-tier {
  margin: 0.08rem 0 0;
  color: #bfd0f2;
  font-size: 0.9rem;
}

.dashboard-v2-recent-card-empty {
  background:
    radial-gradient(circle at top right, rgba(140, 91, 255, 0.16), transparent 45%),
    rgba(9, 20, 49, 0.82);
}

@media (max-width: 1500px) {
  .dashboard-v2-overview-grid {
    grid-template-columns: repeat(3, minmax(200px, 1fr));
  }

  .dashboard-v2-top-grid {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
  }

  .dashboard-v2-recent-grid {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
  }
}

@media (max-width: 1100px) {
  .dashboard-v2-hero {
    grid-template-columns: 1fr;
  }

  .dashboard-v2-hero-main {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .dashboard-v2-hero-art {
    justify-content: flex-start;
  }

  .dashboard-v2-top-grid,
  .dashboard-v2-recent-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }

  .dashboard-v2-actions {
    flex-wrap: wrap;
  }

  .dashboard-v2-quest-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-v2-quest-list .quest-row {
    grid-template-columns: 48px 1fr;
    grid-template-areas:
      "icon main"
      "metrics metrics";
  }

  .quest-row-icon {
    grid-area: icon;
  }

  .quest-row-main {
    grid-area: main;
  }

  .quest-row-metrics {
    grid-area: metrics;
    justify-items: start;
    grid-auto-flow: column;
    gap: 0.65rem;
    align-items: baseline;
  }
}

@media (max-width: 768px) {
  .dashboard-v2-overview-grid,
  .dashboard-v2-top-grid,
  .dashboard-v2-recent-grid,
  .dashboard-v2-quest-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-v2-panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-v2-season-card h2 {
    font-size: 2rem;
  }
}

.stat-card-icon {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  flex: 0 0 24px;
  filter: drop-shadow(0 0 8px rgba(90, 186, 255, 0.25));
}

.achievement-icon {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  flex: 0 0 34px;
  filter: drop-shadow(0 0 10px rgba(159, 92, 255, 0.28));
}

.empty {
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 1rem 0 1.2rem;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.footer-sep {
  opacity: 0.65;
}

.profile-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 16%, rgba(167, 74, 255, 0.42) 0, rgba(167, 74, 255, 0) 42%),
    radial-gradient(circle at 88% 58%, rgba(42, 94, 255, 0.15) 0, rgba(42, 94, 255, 0) 45%),
    linear-gradient(180deg, rgba(12, 22, 53, 0.98) 0%, rgba(7, 14, 35, 0.98) 100%);
}

.profile-hero-grid {
  display: grid;
  grid-template-columns: 208px 1fr 300px;
  gap: 1.3rem;
  align-items: center;
}

.profile-avatar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}

.profile-avatar-ring {
  width: 162px;
  height: 162px;
  border-radius: 50%;
  border: 3px solid transparent;
  background:
    linear-gradient(#0d1738, #0d1738) padding-box,
    linear-gradient(135deg, #a756ff, #32d4ff) border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 26px rgba(130, 100, 255, 0.35);
}

.profile-avatar-icon {
  width: 112px;
  height: 112px;
  border-radius: 28px;
}

.profile-level-pill {
  border: 1px solid rgba(114, 86, 201, 0.65);
  border-radius: 999px;
  padding: 0.23rem 0.72rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #ddd4ff;
  background: rgba(31, 19, 64, 0.65);
}

.profile-title {
  margin-top: 0.24rem;
  font-size: clamp(2.6rem, 3vw, 3.35rem);
  letter-spacing: -0.01em;
}

.profile-meta {
  margin-top: 0.18rem;
  margin-bottom: 0.92rem;
  color: #bac8ef;
  font-size: 1rem;
}

.profile-kpis-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
  gap: 0.78rem;
}

.profile-kpis-row-secondary {
  margin-top: 0.74rem;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
}

.profile-hero .stat-card {
  padding: 0.8rem 0.92rem;
  background: linear-gradient(180deg, rgba(12, 24, 58, 0.92), rgba(8, 18, 44, 0.92));
  border: 1px solid rgba(54, 86, 154, 0.58);
  min-height: 82px;
  border-radius: 14px;
}

.profile-hero .stat-card-title {
  font-size: 0.99rem;
}

.profile-hero .stat-card-value {
  font-size: 2.08rem;
}

.points-activity-list {
  margin: 0.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.points-breakdown-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.7rem;
}

.points-breakdown-card {
  border: 1px solid rgba(43, 66, 121, 0.75);
  border-radius: 14px;
  background: rgba(8, 16, 40, 0.7);
  padding: 0.7rem 0.78rem;
}

.points-breakdown-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.points-breakdown-card p {
  margin: 0.2rem 0;
}

.points-breakdown-total {
  margin: 0.8rem 0 0;
  font-size: 1.08rem;
}

.points-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.72rem;
}

.points-summary-card {
  border: 1px solid rgba(48, 74, 132, 0.78);
  border-radius: 15px;
  background: rgba(7, 15, 38, 0.78);
  padding: 0.72rem 0.78rem;
}

.points-summary-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.points-summary-value {
  margin: 0;
  font-size: 2rem;
  line-height: 1.05;
  font-weight: 800;
  color: #e8ddff;
}

.points-share {
  margin: 0.12rem 0 0.48rem;
  color: #99afe4;
  font-size: 0.86rem;
}

.points-detail-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.points-detail-chip {
  border: 1px solid rgba(58, 86, 146, 0.74);
  border-radius: 999px;
  padding: 0.16rem 0.46rem;
  font-size: 0.78rem;
  color: #c5d3f7;
  background: rgba(12, 23, 55, 0.7);
}

.points-activity-list li {
  border: 1px solid rgba(43, 66, 121, 0.75);
  border-radius: 14px;
  background: rgba(8, 16, 40, 0.7);
  padding: 0.6rem 0.72rem;
  display: grid;
  grid-template-columns: 190px 1fr auto;
  gap: 0.7rem;
  align-items: center;
}

.points-activity-time {
  color: var(--muted);
  font-size: 0.86rem;
}

.points-activity-label {
  color: var(--text);
}

.points-activity-points {
  color: #94ffd2;
  font-size: 1.08rem;
}

.profile-hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-trophy {
  width: 252px;
  height: 252px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 30% 18%, rgba(177, 111, 255, 0.28), rgba(177, 111, 255, 0) 48%),
    rgba(14, 17, 41, 0.72);
  border: 1px solid rgba(157, 107, 255, 0.4);
  box-shadow: 0 0 34px rgba(116, 60, 230, 0.35);
}

.profile-hero-art::before {
  content: "";
  position: absolute;
  right: 0.5rem;
  top: 0.5rem;
  width: 280px;
  height: 220px;
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 87, 205, 0.36) 0 6px, transparent 7px),
    radial-gradient(circle at 62% 12%, rgba(144, 99, 255, 0.46) 0 4px, transparent 5px),
    radial-gradient(circle at 80% 34%, rgba(120, 80, 255, 0.35) 0 5px, transparent 6px),
    radial-gradient(circle at 38% 76%, rgba(159, 92, 255, 0.3) 0 4px, transparent 5px);
  opacity: 0.8;
  pointer-events: none;
}

.achievement-progress {
  margin-top: 0.2rem;
  width: 100%;
  height: 20px;
  border-radius: 8px;
  background: rgba(21, 35, 78, 0.88);
  border: 1px solid rgba(49, 76, 135, 0.42);
  overflow: hidden;
}

.achievement-progress span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(117, 74, 255, 0.9), rgba(57, 214, 255, 0.9));
}

.achievement-progress-label {
  margin-top: 0.44rem;
  color: #9eb2df;
  font-size: 0.9rem;
}

.page-profile .container {
  width: min(1520px, calc(100vw - 2rem));
}

.page-profile .site-header .container {
  min-height: 82px;
  gap: 1.2rem;
}

.page-profile .brand-text {
  font-size: 2rem;
  letter-spacing: -0.01em;
}

.page-profile .brand-mark {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
}

.page-profile nav {
  gap: 0.9rem;
}

.page-profile nav a {
  padding: 0.5rem 0.95rem;
  font-size: 1.02rem;
}

.page-profile .header-search input {
  width: 312px;
}

.page-profile .profile-hero {
  border-radius: 28px;
  padding: 1.1rem 1.25rem 1.2rem;
  min-height: 336px;
}

.page-profile .profile-hero-grid {
  grid-template-columns: 190px 1fr 330px;
  gap: 1.35rem;
  min-height: 312px;
}

.page-profile .profile-main-col {
  padding-right: 0.1rem;
  align-self: center;
}

.page-profile .profile-badge {
  font-size: 0.95rem;
  padding: 0.24rem 0.92rem;
  margin-bottom: 0.55rem;
}

.page-profile .profile-title {
  font-size: clamp(2.75rem, 3vw, 3.35rem);
  margin: 0 0 0.28rem;
  font-weight: 800;
}

.page-profile .profile-meta {
  font-size: 1.02rem;
  margin-bottom: 1rem;
}

.page-profile .profile-kpis-row {
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 0.72rem;
}

.page-profile .profile-kpis-row-secondary {
  grid-template-columns: repeat(2, minmax(220px, 1fr));
}

.page-profile .profile-hero .stat-card {
  border-radius: 14px;
  min-height: 76px;
  grid-template-columns: 32px 1fr;
  gap: 0.72rem;
  align-content: center;
}

.page-profile .profile-hero .stat-card-value {
  font-size: 2.02rem;
}

.page-profile .profile-hero .stat-card-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
}

.page-profile .profile-trophy {
  width: 272px;
  height: 248px;
  position: relative;
  background: none;
  border: 0;
  box-shadow: none;
}

.page-profile .profile-trophy-cup {
  position: absolute;
  inset: 10px 22px 24px 22px;
  border-radius: 38px 38px 46px 46px;
  background:
    radial-gradient(circle at 50% 34%, rgba(185, 116, 255, 0.35), rgba(185, 116, 255, 0) 34%),
    linear-gradient(180deg, rgba(98, 56, 181, 0.95), rgba(53, 26, 119, 0.98));
  border: 1px solid rgba(169, 113, 255, 0.44);
  box-shadow:
    0 0 44px rgba(146, 70, 255, 0.34),
    inset 0 0 0 1px rgba(219, 170, 255, 0.15);
}

.page-profile .profile-trophy-cup::before,
.page-profile .profile-trophy-cup::after {
  content: "";
  position: absolute;
  top: 54px;
  width: 42px;
  height: 84px;
  border: 10px solid rgba(90, 49, 167, 0.95);
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(146, 70, 255, 0.24);
}

.page-profile .profile-trophy-cup::before {
  left: -28px;
  border-right: 0;
}

.page-profile .profile-trophy-cup::after {
  right: -28px;
  border-left: 0;
}

.page-profile .profile-trophy::before {
  content: "";
  position: absolute;
  left: 96px;
  bottom: 10px;
  width: 80px;
  height: 24px;
  border-radius: 0 0 22px 22px;
  background: linear-gradient(180deg, rgba(103, 58, 184, 0.96), rgba(55, 26, 121, 0.98));
  box-shadow: 0 0 20px rgba(146, 70, 255, 0.24);
}

.page-profile .profile-trophy::after {
  content: "";
  position: absolute;
  left: 80px;
  bottom: 0;
  width: 112px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(119, 70, 210, 0.95), rgba(67, 35, 142, 0.98));
  box-shadow: 0 0 18px rgba(146, 70, 255, 0.22);
}

.page-profile .profile-trophy-shield {
  position: absolute;
  left: 98px;
  top: 64px;
  width: 74px;
  height: 74px;
  filter: drop-shadow(0 0 20px rgba(196, 143, 255, 0.35));
}

.page-profile .panel {
  border-radius: 24px;
  padding: 1.18rem 1.22rem 1.26rem;
}

.page-profile .achievement-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(42, 64, 116, 0.7);
}

.page-profile .achievement-panel-title {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.page-profile .achievement-panel-title h2 {
  margin: 0;
  font-size: 2.2rem;
  line-height: 1.05;
}

.page-profile .achievement-panel-title p {
  margin: 0.3rem 0 0;
  color: #bfd0f6;
  font-size: 1rem;
}

.page-profile .achievement-panel-title-icon {
  width: 30px;
  height: 30px;
}

.page-profile .achievement-panel-meta {
  display: flex;
  justify-content: flex-end;
  gap: 0;
}

.page-profile .achievement-progress-summary {
  flex: 0 0 min(620px, 100%);
  min-width: 420px;
}

.page-profile .achievement-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem;
  margin-top: 0;
  margin-bottom: 0.85rem;
}

.page-profile .achievement-toolbar .tab-list {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}

.page-profile .achievement-toolbar-side {
  flex: 0 0 450px;
  width: 450px;
}

.page-profile .achievement-progress-summary-label {
  flex: 0 0 auto;
  margin-bottom: 0;
  color: #d3ddff;
  font-size: 0.95rem;
  white-space: nowrap;
}

.page-profile .achievement-progress-summary-row {
  display: flex;
  align-items: center;
  gap: 0.95rem;
}

.page-profile .achievement-progress-summary-bar {
  flex: 1 1 auto;
  margin-top: 0;
  height: 16px;
  border-radius: 999px;
}

.page-profile .achievement-progress-summary-value {
  color: #d9e4ff;
  font-size: 0.96rem;
  white-space: nowrap;
}

.page-profile .achievement-tabs {
  min-width: 0;
}

.page-profile .achievement-near-card {
  border-radius: 14px;
  border: 1px solid rgba(70, 104, 176, 0.5);
  background:
    radial-gradient(circle at top right, rgba(140, 91, 255, 0.18), transparent 42%),
    rgba(8, 16, 40, 0.86);
  padding: 0.52rem 0.62rem 0.58rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.page-profile .achievement-near-card h3 {
  margin: 0;
  font-size: 0.9rem;
}

.page-profile .achievement-near-card p {
  margin: 0;
}

.page-profile .achievement-near-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
  color: #ffd0f0;
  font-weight: 700;
  margin-bottom: 0.42rem !important;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
}

.page-profile .achievement-near-kicker-icon {
  color: #ff7bd5;
  font-size: 0.82rem;
  line-height: 1;
}

.page-profile .achievement-near-inner {
  border: 1px solid rgba(58, 88, 151, 0.46);
  border-radius: 12px;
  background: rgba(10, 21, 51, 0.72);
  padding: 0.55rem 0.62rem 0.5rem;
}

.page-profile .achievement-near-head {
  display: flex;
  gap: 0.58rem;
  align-items: center;
}

.page-profile .achievement-near-head .achievement-icon {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
}

.page-profile .achievement-near-head p {
  margin-top: 0.08rem;
  color: #c3d4fb;
  font-size: 0.74rem;
  line-height: 1.25;
}

.page-profile .achievement-near-progress {
  flex: 1 1 auto;
  margin-top: 0;
  max-width: 245px;
  height: 8px;
  border-radius: 999px;
}

.page-profile .achievement-near-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.48rem;
  color: #b9cdfa;
  font-size: 0.72rem;
}

.page-profile .achievement-near-metric {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.16rem 0.5rem;
  border-radius: 999px;
  background: rgba(25, 89, 145, 0.62);
  border: 1px solid rgba(72, 176, 255, 0.3);
  color: #aee8ff;
  font-weight: 700;
  white-space: nowrap;
}

.page-profile .achievement-near-card-compact {
  width: 100%;
  max-width: none;
  margin-left: 0;
}

.page-profile .tab-list {
  margin-top: 0;
  margin-bottom: 0;
}

.page-profile .tab-btn {
  font-size: 1.02rem;
  padding: 0.52rem 1.14rem;
  border-color: rgba(50, 72, 126, 0.72);
  background: rgba(10, 23, 56, 0.88);
}

.page-profile .achievement-group-head {
  display: none;
}

.page-profile .achievement-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
}

.page-profile .achievement-grid > .achievement:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.page-profile .achievement {
  position: relative;
  border-radius: 18px;
  min-height: 248px;
  padding: 0.92rem 0.92rem 0.9rem;
  border: 1px solid rgba(58, 86, 146, 0.68);
  background:
    radial-gradient(circle at top left, rgba(147, 88, 255, 0.11), transparent 30%),
    linear-gradient(180deg, rgba(11, 23, 57, 0.96), rgba(9, 18, 45, 0.94));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.page-profile .achievement-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.7rem;
}

.page-profile .achievement-percent-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  padding: 0.28rem 0.54rem;
  border-radius: 999px;
  border: 1px solid rgba(61, 168, 255, 0.35);
  background: rgba(10, 41, 82, 0.52);
  color: #8fe4ff;
  font-weight: 700;
  font-size: 0.84rem;
}

.page-profile .achievement h3 {
  font-size: 1.08rem;
  margin: 0;
}

.page-profile .achievement-metric {
  margin: 0.5rem 0 0.18rem;
  font-size: 0.98rem;
  color: #dbe6ff;
}

.page-profile .achievement-rank {
  margin: 0 0 0.72rem;
  font-size: 0.84rem;
  color: #8fa7db;
}

.page-profile .tier-badge-tier {
  font-size: 0.73rem;
}

.page-profile .tier-badge-value {
  font-size: 0.78rem;
}

.page-profile .tier-badges {
  display: grid;
  grid-template-columns: repeat(9, auto);
  gap: 0.26rem;
  align-items: center;
  margin-top: 0.5rem;
  margin-bottom: 0.78rem;
}

.page-profile .tier-badge {
  min-width: 64px;
  min-height: 60px;
  border-radius: 12px;
  justify-content: center;
  background: rgba(11, 23, 57, 0.7);
}

.page-profile .tier-badge.done {
  border-color: rgba(89, 229, 132, 0.45);
  background: linear-gradient(180deg, rgba(53, 109, 61, 0.6), rgba(28, 72, 43, 0.7));
}

.page-profile .tier-badge.next {
  border-color: rgba(53, 210, 255, 0.55);
  background: linear-gradient(180deg, rgba(21, 95, 133, 0.8), rgba(18, 56, 96, 0.85));
  box-shadow: 0 0 16px rgba(47, 207, 255, 0.18);
}

.page-profile .tier-badge.locked {
  opacity: 0.72;
}

.page-profile .tier-badge-arrow {
  color: rgba(156, 178, 231, 0.78);
  font-size: 0.92rem;
  align-self: center;
}

.page-profile .achievement-next-label {
  margin-top: 0.5rem;
  font-size: 0.86rem;
}

.page-leaderboards .leaderboards-hero-v2 {
  border-radius: 20px;
  border: 1px solid rgba(48, 72, 129, 0.66);
  background:
    radial-gradient(circle at 54% 2%, rgba(123, 54, 232, 0.35), rgba(123, 54, 232, 0) 36%),
    linear-gradient(130deg, rgba(8, 15, 40, 0.98) 0%, rgba(8, 15, 38, 0.96) 48%, rgba(22, 12, 55, 0.96) 100%);
  padding: 1.2rem;
  display: grid;
  grid-template-columns: minmax(360px, 1.15fr) minmax(260px, 0.7fr) minmax(260px, 0.55fr);
  gap: 1rem;
  align-items: stretch;
}

.page-leaderboards .leaderboards-hero-v2-main h1 {
  margin: 0.48rem 0 0.55rem;
  font-size: clamp(2.3rem, 3.3vw, 4rem);
  line-height: 1.07;
}

.page-leaderboards .leaderboards-hero-v2-main p {
  margin: 0;
  color: #c5d3f5;
  max-width: 620px;
  font-size: 1.02rem;
}

.page-leaderboards .leaderboards-hero-v2-art {
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-leaderboards .leaderboards-hero-v2-art .app-icon {
  width: 250px;
  height: 250px;
  filter: drop-shadow(0 0 26px rgba(154, 85, 255, 0.34));
}

.page-leaderboards .leaderboards-hero-v2-period {
  border: 1px solid rgba(52, 79, 136, 0.62);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(8, 19, 47, 0.88), rgba(7, 15, 39, 0.88));
  padding: 1rem 1.05rem;
  display: grid;
  align-content: start;
  gap: 0.42rem;
}

.page-leaderboards .leaderboards-hero-v2-period-label {
  margin: 0;
  color: #b7c9f2;
  font-size: 0.92rem;
}

.page-leaderboards .leaderboards-hero-v2-period-value {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.08;
}

.page-leaderboards .leaderboards-hero-v2-period-range {
  margin: 0;
  color: #98abd8;
  font-size: 0.95rem;
}

.page-leaderboards .leaderboards-v2-panel {
  padding: 0.9rem;
  border-radius: 18px;
}

.page-leaderboards .leaderboards-v2-toolbar {
  display: grid;
  gap: 0.8rem;
}

.page-leaderboards .leaderboards-v2-toolbar .tabs {
  display: grid;
  gap: 0.7rem;
}

.page-leaderboards .leaderboards-v2-toolbar .tab-list {
  margin: 0;
  padding: 0.3rem;
  border: 1px solid rgba(51, 77, 136, 0.58);
  border-radius: 14px;
  background: rgba(8, 19, 48, 0.72);
}

.page-leaderboards .leaderboards-v2-toolbar .tab-btn {
  border-radius: 10px;
  padding: 0.58rem 1.18rem;
  font-size: 1rem;
}

.page-leaderboards .leaderboard-period-filters {
  margin: 0;
  justify-content: flex-end;
  padding: 0.3rem;
  border: 1px solid rgba(51, 77, 136, 0.58);
  border-radius: 14px;
  background: rgba(8, 19, 48, 0.72);
}

.page-leaderboards .leaderboard-period-btn {
  border-radius: 10px;
  min-width: 84px;
  text-align: center;
  padding: 0.5rem 0.85rem;
}

.page-leaderboards .tab-panel[data-tab-panel^="leaderboards-"] {
  margin-top: 0.25rem;
}

.leaderboard-v2-subtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.72rem;
  padding: 0.35rem;
  border: 1px solid rgba(51, 77, 136, 0.48);
  border-radius: 12px;
  background: rgba(8, 19, 48, 0.62);
}

.leaderboard-v2-subtab-btn {
  border: 1px solid rgba(56, 81, 142, 0.56);
  color: #b9c7ea;
  background: rgba(11, 25, 61, 0.82);
  border-radius: 10px;
  padding: 0.46rem 0.75rem;
  font-size: 0.9rem;
  line-height: 1;
  cursor: pointer;
}

.leaderboard-v2-subtab-btn.active {
  color: #f6edff;
  background: linear-gradient(90deg, rgba(125, 49, 255, 0.82), rgba(165, 84, 255, 0.66));
  border-color: rgba(173, 104, 255, 0.76);
  font-weight: 700;
}

.leaderboard-v2-board-panel {
  display: none;
}

.leaderboard-v2-board-panel.active {
  display: block;
}

.leaderboard-v2-top3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.leaderboard-v2-top-card {
  border-radius: 16px;
  border: 1px solid rgba(53, 79, 138, 0.66);
  background: linear-gradient(130deg, rgba(9, 21, 52, 0.9), rgba(10, 23, 57, 0.78));
  min-height: 128px;
  padding: 0.72rem 0.82rem;
  display: flex;
  align-items: center;
  gap: 0.72rem;
  position: relative;
  overflow: hidden;
}

.leaderboard-v2-top-card.first {
  border-color: rgba(224, 168, 56, 0.9);
  box-shadow: inset 0 0 0 1px rgba(224, 168, 56, 0.18);
}

.leaderboard-v2-top-card.second {
  border-color: rgba(84, 168, 255, 0.85);
}

.leaderboard-v2-top-card.third {
  border-color: rgba(222, 120, 77, 0.85);
}

.leaderboard-v2-rank-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(130, 158, 220, 0.6);
  background: rgba(23, 42, 94, 0.75);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1;
  color: #d7e6ff;
  flex: 0 0 44px;
}

.leaderboard-v2-top-card.first .leaderboard-v2-rank-badge {
  color: #ffd560;
  border-color: rgba(224, 168, 56, 0.9);
  background: rgba(68, 48, 9, 0.62);
}

.leaderboard-v2-top-card.third .leaderboard-v2-rank-badge {
  color: #ffb182;
  border-color: rgba(222, 120, 77, 0.8);
  background: rgba(66, 28, 16, 0.62);
}

.leaderboard-v2-top-avatar {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background-size: 70%;
  border: 1px solid rgba(87, 116, 182, 0.68);
  background-color: rgba(11, 21, 53, 0.9);
}

.leaderboard-v2-top-meta h3 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.2;
}

.leaderboard-v2-top-meta h3 a {
  color: #e8efff;
  text-decoration: none;
}

.leaderboard-v2-top-meta p {
  margin: 0.15rem 0 0;
  color: #bcd0ff;
  font-weight: 700;
  font-size: 1.03rem;
}

.leaderboard-v2-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.78fr) minmax(300px, 0.84fr);
  gap: 0.78rem;
}

.leaderboard-v2-main-table {
  border: 1px solid rgba(50, 77, 136, 0.66);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(7, 18, 44, 0.95), rgba(6, 15, 37, 0.95));
  padding: 0.7rem 0.74rem 0.76rem;
}

.leaderboard-v2-table-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.42rem;
}

.leaderboard-v2-table-head h3 {
  margin: 0;
  font-size: 1.58rem;
}

.leaderboard-v2-table-head span {
  color: #aebee8;
  font-size: 0.96rem;
}

.leaderboard-v2-main-table table th,
.leaderboard-v2-main-table table td {
  padding: 0.5rem 0.48rem;
  border-bottom: 1px solid rgba(43, 60, 101, 0.56);
}

.lb-gap-cell {
  display: grid;
  gap: 0.12rem;
  min-width: 120px;
}

.lb-gap-up,
.lb-gap-down,
.lb-gap-none {
  display: block;
  font-size: 0.78rem;
  line-height: 1.2;
}

.lb-gap-up {
  color: #f2d8a6;
}

.lb-gap-down {
  color: #8fe4ff;
}

.lb-gap-none {
  color: #8ea4d1;
}

.leaderboard-name-cell {
  display: inline-flex;
  align-items: center;
  gap: 0.46rem;
}

.leaderboard-name-cell .app-icon {
  width: 21px;
  height: 21px;
}

.leaderboard-name-cell a {
  color: #e8efff;
  text-decoration: none;
}

.leaderboard-rank-num {
  font-weight: 700;
  color: #d4e4ff;
}

.lb-change {
  font-weight: 700;
}

.lb-change.up {
  color: #35dd88;
}

.lb-change.neutral {
  color: #95a7d5;
}

.leaderboard-v2-full-link {
  display: block;
  text-align: center;
  margin-top: 0.7rem;
  border: 1px solid rgba(58, 88, 151, 0.56);
  border-radius: 10px;
  padding: 0.46rem 0.65rem;
  text-decoration: none;
  color: #a885ff;
  font-weight: 700;
}

.leaderboard-v2-winners {
  border: 1px solid rgba(50, 77, 136, 0.66);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(7, 18, 44, 0.95), rgba(6, 15, 37, 0.95));
  padding: 0.72rem;
}

.leaderboard-v2-winners-head h3 {
  margin: 0 0 0.48rem;
  font-size: 1.32rem;
}

.leaderboard-v2-winner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.leaderboard-v2-winner-card.period-year {
  grid-column: 1 / -1;
}

.leaderboard-v2-winner-card {
  border-radius: 12px;
  border: 1px solid rgba(57, 84, 146, 0.66);
  background: rgba(10, 22, 54, 0.8);
  padding: 0.65rem;
  display: grid;
  gap: 0.56rem;
  min-height: 142px;
}

.leaderboard-v2-winner-card .winner-top {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 0.5rem;
  align-items: start;
}

.leaderboard-v2-winner-card .winner-period-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid rgba(102, 126, 186, 0.5);
  background-size: 58%;
  background-color: rgba(20, 35, 77, 0.74);
}

.leaderboard-v2-winner-card .winner-top-text h4 {
  margin: 0;
  font-size: 0.95rem;
  color: #ebf3ff;
  line-height: 1.2;
}

.leaderboard-v2-winner-card .winner-top-text p {
  margin: 0.1rem 0 0;
  font-size: 0.9rem;
  color: #9eb0db;
}

.leaderboard-v2-winner-card .winner-bottom {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0.52rem;
  align-items: center;
}

.leaderboard-v2-winner-card .winner-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(103, 130, 195, 0.56);
  background-color: rgba(14, 25, 61, 0.82);
  background-size: 68%;
}

.leaderboard-v2-winner-card .winner-bottom-meta {
  display: grid;
  gap: 0.18rem;
}

.leaderboard-v2-winner-card .winner-name {
  margin: 0;
}

.leaderboard-v2-winner-card .winner-name a {
  color: #f0f5ff;
  text-decoration: none;
  font-weight: 700;
}

.leaderboard-v2-winner-card .winner-score {
  margin: 0;
  color: #9ed6ff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
}

.leaderboard-v2-winner-card .winner-score .app-icon {
  width: 14px;
  height: 14px;
}

.leaderboard-v2-winner-card.tone-1 {
  border-color: rgba(141, 91, 255, 0.75);
}

.leaderboard-v2-winner-card.tone-2 {
  border-color: rgba(60, 154, 255, 0.78);
}

.leaderboard-v2-winner-card.tone-3 {
  border-color: rgba(245, 100, 151, 0.75);
}

.leaderboard-v2-winner-card.tone-4 {
  border-color: rgba(246, 171, 75, 0.75);
}

.leaderboard-v2-winner-card.tone-5 {
  border-color: rgba(246, 191, 84, 0.75);
}

.leaderboard-v2-winner-card.tone-6 {
  border-color: rgba(72, 213, 216, 0.75);
}

.leaderboard-v2-winner-card.tone-2 .winner-score { color: #80c3ff; }
.leaderboard-v2-winner-card.tone-3 .winner-score { color: #f48cbc; }
.leaderboard-v2-winner-card.tone-4 .winner-score { color: #ffc26f; }
.leaderboard-v2-winner-card.tone-5 .winner-score { color: #ffe07f; }
.leaderboard-v2-winner-card.tone-6 .winner-score { color: #73e1d7; }

@media (max-width: 768px) {
  .search-form {
    grid-template-columns: 1fr;
  }

  .users-controls {
    grid-template-columns: 1fr;
  }

  .site-header .container {
    min-height: 60px;
    flex-wrap: wrap;
    padding: 0.4rem 0;
  }

  .brand {
    font-size: 0.93rem;
  }

  .brand-logo {
    width: auto;
    max-width: 240px;
    height: 36px;
    object-position: left center;
  }

  .brand-text {
    font-size: 0.98rem;
  }

  .brand-chip {
    font-size: 0.72rem;
    padding: 0.11rem 0.42rem;
  }

  .header-right {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
  }

  nav {
    justify-content: flex-start;
  }

  .header-search {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .header-search input {
    width: 100%;
  }

  nav a {
    font-size: 0.88rem;
  }

  .achievement-grid {
    grid-template-columns: 1fr;
  }

  .page-profile .achievement-panel-head {
    align-items: flex-start;
    padding-bottom: 0.7rem;
  }

  .page-profile .achievement-panel-meta {
    width: 100%;
    justify-content: stretch;
  }

  .page-profile .achievement-progress-summary {
    flex: 1 1 auto;
    min-width: 0;
  }

  .page-profile .achievement-progress-summary-row {
    flex-direction: column;
    align-items: stretch;
  }

  .page-profile .achievement-toolbar {
    flex-direction: column;
    align-items: stretch;
    margin-top: 0;
    margin-bottom: 0.6rem;
  }

  .page-profile .achievement-toolbar-side {
    flex: 1 1 auto;
    width: 100%;
  }

  .page-profile .achievement-near-card-compact {
    max-width: none;
    margin-left: 0;
  }

  .achievement-help::after {
    min-width: 180px;
    max-width: min(260px, 86vw);
  }

  .tier-badge {
    min-width: 60px;
    padding: 0.24rem 0.4rem;
  }

  .page-profile .tier-badges {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .page-profile .tier-badge-arrow {
    display: none;
  }

  .tier-badge-value {
    font-size: 0.69rem;
  }

  .profile-hero-grid {
    grid-template-columns: 1fr;
    gap: 0.82rem;
  }

  .dashboard-hero-grid {
    grid-template-columns: 1fr;
  }

  .profile-avatar-col {
    flex-direction: row;
    justify-content: flex-start;
  }

  .profile-avatar-ring {
    width: 92px;
    height: 92px;
  }

  .profile-avatar-icon {
    width: 64px;
    height: 64px;
  }

  .profile-kpis-row {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

  .profile-kpis-row-secondary {
    grid-template-columns: 1fr;
  }

  .profile-hero .stat-card strong {
    font-size: 1.55rem;
  }

  .points-activity-list li {
    grid-template-columns: 1fr auto;
  }

  .points-activity-time {
    grid-column: 1 / -1;
  }

  .profile-hero-art {
    justify-content: flex-start;
  }

  .profile-trophy {
    width: 120px;
    height: 120px;
  }

  .page-leaderboards .leaderboards-hero-v2 {
    grid-template-columns: 1fr;
  }

  .page-leaderboards .leaderboards-hero-v2-art {
    order: 3;
  }

  .page-leaderboards .leaderboards-hero-v2-period {
    order: 2;
  }

  .leaderboard-v2-top3 {
    grid-template-columns: 1fr;
  }

  .leaderboard-v2-subtabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .leaderboard-v2-subtab-btn {
    white-space: nowrap;
  }

  .leaderboard-v2-content-grid {
    grid-template-columns: 1fr;
  }

  .leaderboard-v2-winner-grid {
    grid-template-columns: 1fr;
  }

  .leaderboard-v2-winner-card.period-year {
    grid-column: auto;
  }

  .page-leaderboards .leaderboard-period-filters {
    justify-content: flex-start;
  }
}
