/* Nền arcade phải tràn hết khung, không để sọc sáng của .app-container lộ ra. */
#view-coming-soon,
#view-game {
  margin: -20px -40px -40px;
  padding-bottom: 40px;
}

@media (max-width: 768px) {
  #view-coming-soon,
  #view-game {
    margin: -24px -20px -24px;
    padding-bottom: 24px;
  }
}

/* ==========================================================================
   MAN HINH "SAP RA MAT" — khu de thi va Dau Truong chua mo cho khach.
   Cung ngon nghe arcade: nen sau, the dan tem, chu bo tron.
   ========================================================================== */

#view-coming-soon {
  min-height: calc(100vh - 72px);
  background:
    radial-gradient(1100px 480px at 15% -10%, rgba(13, 148, 136, 0.32), transparent 62%),
    radial-gradient(900px 420px at 88% 6%, rgba(224, 123, 57, 0.3), transparent 60%),
    linear-gradient(180deg, #10273c 0%, #0d1f31 58%, #0b1926 100%);
  color: #f3f6fa;
  position: relative;
  overflow: hidden;
}

#view-coming-soon::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1.4px, transparent 1.5px);
  background-size: 26px 26px;
  pointer-events: none;
}

.soon-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 48px 20px 70px;
}

.soon-card {
  width: 100%;
  max-width: 620px;
  background: #ffffff !important;
  color: #10273c;
  border: 2.5px solid #0b1926 !important;
  border-radius: var(--ds-r-lg, 26px) !important;
  box-shadow: 6px 7px 0 rgba(0, 0, 0, 0.4) !important;
  padding: 30px 28px 26px;
}

.soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--ds-orange, #E07B39);
  color: #ffffff;
  border: 2.5px solid #0b1926;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.28);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.soon-badge ion-icon {
  font-size: 15px;
}

.soon-title {
  margin: 16px 0 0;
  font-family: var(--ds-font-display, 'Baloo 2', 'Lexend', system-ui, sans-serif);
  font-size: clamp(26px, 4.6vw, 36px);
  font-weight: 700;
  line-height: 1.12;
  color: #10273c;
}

.soon-lead {
  margin: 10px 0 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: #5f6e82;
}

.soon-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.soon-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 13px;
  margin-bottom: 9px;
  border-radius: var(--ds-r-sm, 12px);
  background: var(--ds-tint-sky, #D6E6F5);
  font-size: 13.5px;
  color: #10273c;
}

.soon-list li:nth-child(2) { background: var(--ds-tint-peach, #FBE3D0); }
.soon-list li:nth-child(3) { background: var(--ds-tint-mint, #CFEBDD); }
.soon-list li:nth-child(4) { background: #E6DEF8; }

.soon-list ion-icon {
  flex: 0 0 auto;
  font-size: 19px;
  color: var(--ds-teal, #0D9488);
  margin-top: 1px;
}

.soon-list b {
  font-weight: 800;
}

.soon-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.soon-note {
  margin: 16px 0 0;
  font-size: 12.5px;
  color: #5f6e82;
}

@media (max-width: 560px) {
  .soon-wrap {
    padding: 26px 14px 48px;
  }
  .soon-card {
    padding: 22px 18px 20px;
    border-radius: var(--ds-r-md, 16px) !important;
    box-shadow: 4px 5px 0 rgba(0, 0, 0, 0.4) !important;
  }
  .soon-actions .btn {
    flex: 1 1 100%;
  }
}

/* ==========================================================================
   assets/game-hub.css — MÀN HÌNH GAME (Đấu Trường)
   Nền sâu kiểu arcade + thẻ dán tem pastel bo tròn. KHÁC hẳn mặt tiền
   bán tài liệu (đó là nền sáng) nên khi mở là thấy "vào một nơi khác".
   ========================================================================== */

#view-game {
  min-height: calc(100vh - 72px);
  background:
    radial-gradient(1200px 520px at 12% -8%, rgba(13, 148, 136, 0.35), transparent 62%),
    radial-gradient(1000px 460px at 92% 4%, rgba(224, 123, 57, 0.32), transparent 60%),
    linear-gradient(180deg, #10273c 0%, #0d1f31 58%, #0b1926 100%);
  color: #f3f6fa;
  position: relative;
  overflow: hidden;
}

#view-game::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1.4px, transparent 1.5px);
  background-size: 26px 26px;
  pointer-events: none;
}

.game-hub {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 20px 60px;
}

.game-hub.is-loading {
  opacity: 0.72;
}

/* --- Hero ---------------------------------------------------------------- */

.game-hub-hero {
  text-align: center;
  margin-bottom: 26px;
}

.game-hub-kicker {
  display: inline-block;
  margin: 0 0 10px;
  padding: 5px 16px;
  border-radius: 999px;
  background: var(--ds-orange, #E07B39);
  color: #ffffff;
  border: 2.5px solid #0b1926;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.35);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.game-hub-title {
  margin: 0;
  font-family: var(--ds-font-display, 'Baloo 2', 'Lexend', system-ui, sans-serif);
  font-size: clamp(30px, 5.4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: #ffffff;
  text-shadow: 0 4px 0 rgba(0, 0, 0, 0.28);
}

.game-hub-lead {
  margin: 10px auto 0;
  max-width: 620px;
  color: rgba(232, 240, 248, 0.82);
  font-size: 14.5px;
  line-height: 1.6;
}

.game-hub-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-top: 20px;
}

.game-tab {
  border: 2.5px solid #0b1926;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #eaf2fa;
  font-family: var(--ds-font-display, 'Baloo 2', 'Lexend', system-ui, sans-serif);
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 18px;
  cursor: pointer;
  transition: transform 0.14s ease, background 0.14s ease, color 0.14s ease;
}

.game-tab:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.18);
}

.game-tab.is-active {
  background: var(--ds-teal, #0D9488);
  color: #ffffff;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.4);
}

/* --- Thân màn hình -------------------------------------------------------- */

.game-hub-body {
  margin-top: 4px;
}

.game-hub-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 18px;
}

.game-hub-card {
  background: #ffffff;
  color: var(--text-primary, #10273c);
  border: 2.5px solid #0b1926;
  border-radius: var(--ds-r-lg, 26px);
  box-shadow: 5px 6px 0 rgba(0, 0, 0, 0.38);
  padding: 20px 22px;
}

.game-hub-card-title {
  margin: 0 0 12px;
  font-family: var(--ds-font-display, 'Baloo 2', 'Lexend', system-ui, sans-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5f6e82;
}

/* --- Thẻ người chơi ------------------------------------------------------ */

.game-hub-player {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, #ffffff 0%, #f2f7fc 100%);
}

.game-hub-avatar {
  flex: 0 0 auto;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--ds-tint-sky, #D6E6F5);
  border: 2.5px solid #0b1926;
  box-shadow: 4px 4px 0 var(--ds-orange, #E07B39);
}

.game-hub-avatar span {
  font-family: var(--ds-font-display, 'Baloo 2', 'Lexend', system-ui, sans-serif);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  color: #10273c;
}

.game-hub-avatar small {
  margin-top: 3px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5f6e82;
}

.game-hub-player-main {
  flex: 1 1 auto;
  min-width: 0;
}

.game-hub-level {
  margin: 0 0 8px;
  font-family: var(--ds-font-display, 'Baloo 2', 'Lexend', system-ui, sans-serif);
  font-size: 21px;
  font-weight: 600;
  color: #10273c;
}

.game-hub-xp {
  height: 13px;
  border-radius: 999px;
  background: var(--ds-tint-sky, #D6E6F5);
  border: 2.5px solid #0b1926;
  overflow: hidden;
}

.game-hub-xp i {
  display: block;
  height: 100%;
  background: var(--ds-orange, #E07B39);
}

.game-hub-meta {
  margin: 8px 0 0;
  font-size: 12.5px;
  color: #5f6e82;
}

.game-hub-meta strong {
  color: #10273c;
  font-variant-numeric: tabular-nums;
}

.game-hub-streak {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--ds-tint-peach, #FBE3D0);
  border: 2.5px solid #0b1926;
  font-size: 12.5px;
  font-weight: 700;
  color: #10273c;
}

.game-hub-streak ion-icon {
  font-size: 16px;
  color: var(--ds-orange-dark, #A14E14);
}

.game-hub-streak strong {
  font-family: var(--ds-font-display, 'Baloo 2', 'Lexend', system-ui, sans-serif);
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}

/* --- Kỹ năng ------------------------------------------------------------- */

.game-hub-skills {
  list-style: none;
  margin: 0;
  padding: 0;
}

.game-hub-skill {
  display: grid;
  grid-template-columns: minmax(96px, 168px) 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
}

.game-hub-skill-name {
  font-size: 13px;
  font-weight: 700;
  color: #10273c;
}

.game-hub-skill-bar {
  height: 10px;
  border-radius: 999px;
  background: var(--ds-tint-sky, #D6E6F5);
  border: 2.5px solid #0b1926;
  overflow: hidden;
}

.game-hub-skill-bar i {
  display: block;
  height: 100%;
  background: var(--ds-teal, #0D9488);
}

.game-hub-skill-value {
  font-family: var(--ds-font-display, 'Baloo 2', 'Lexend', system-ui, sans-serif);
  font-size: 13px;
  font-weight: 600;
  color: #10273c;
  font-variant-numeric: tabular-nums;
  min-width: 38px;
  text-align: right;
}

/* --- Nhiệm vụ ------------------------------------------------------------ */

.game-hub-missions {
  list-style: none;
  margin: 0;
  padding: 0;
}

.game-hub-mission {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 13px;
  margin-bottom: 9px;
  border-radius: var(--ds-r-sm, 12px);
  background: var(--ds-tint-sky, #D6E6F5);
  border: 2.5px solid transparent;
}

.game-hub-mission.is-done {
  background: var(--ds-tint-mint, #CFEBDD);
  border-color: #0b1926;
}

.game-hub-mission-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: 2.5px solid #0b1926;
}

.game-hub-mission-icon ion-icon {
  font-size: 17px;
  color: #10273c;
}

.game-hub-mission-body {
  flex: 1 1 auto;
  min-width: 0;
}

.game-hub-mission-body strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #10273c;
}

.game-hub-mission-bar {
  display: block;
  height: 7px;
  margin-top: 6px;
  border-radius: 999px;
  background: rgba(16, 39, 60, 0.16);
  overflow: hidden;
}

.game-hub-mission-bar i {
  display: block;
  height: 100%;
  background: var(--ds-orange, #E07B39);
}

.game-hub-mission-count {
  flex: 0 0 auto;
  font-family: var(--ds-font-display, 'Baloo 2', 'Lexend', system-ui, sans-serif);
  font-size: 13px;
  font-weight: 600;
  color: #10273c;
  font-variant-numeric: tabular-nums;
}

.game-hub-mission-reward {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  font-weight: 800;
  color: var(--ds-orange-dark, #A14E14);
}

.game-hub-mission-reward ion-icon {
  font-size: 13px;
}

.game-hub-mission-claim {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 24px;
  min-width: 32px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 2.5px solid #0b1926;
  background: var(--ds-orange, #E07B39);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3);
  transition: transform 0.14s ease;
}

.game-hub-mission-claim:not(:disabled):hover {
  transform: translateY(-2px);
}

.game-hub-mission-claim:disabled {
  background: #dfe5ec;
  color: #5f6e82;
  border-color: #b9c6d3;
  box-shadow: none;
  cursor: not-allowed;
}

.game-hub-mission-claim.is-claimed {
  background: var(--ds-tint-mint, #CFEBDD);
  color: #0b3b2a;
  border-color: #0b1926;
  box-shadow: none;
  cursor: default;
  padding-left: 18px;
}

.game-hub-mission-claim ion-icon {
  font-size: 14px;
}

/* --- Bảng xếp hạng -------------------------------------------------------- */

.game-hub-board {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: none;
}

.game-hub-board-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 11px;
  border-radius: var(--ds-r-sm, 12px);
}

.game-hub-board-row.is-me {
  background: var(--ds-tint-peach, #FBE3D0);
  border: 2.5px solid #0b1926;
}

.game-hub-board-rank {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: var(--ds-tint-sky, #D6E6F5);
  border: 2.5px solid #0b1926;
  font-family: var(--ds-font-display, 'Baloo 2', 'Lexend', system-ui, sans-serif);
  font-size: 12px;
  font-weight: 600;
  color: #10273c;
  font-variant-numeric: tabular-nums;
}

.game-hub-board-name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13.5px;
  font-weight: 700;
  color: #10273c;
}

.game-hub-board-xp {
  flex: 0 0 auto;
  font-family: var(--ds-font-display, 'Baloo 2', 'Lexend', system-ui, sans-serif);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ds-orange-dark, #A14E14);
  font-variant-numeric: tabular-nums;
}

.game-hub-more {
  margin-top: 14px;
}

/* --- Ô kỹ năng (bo tròn, pastel) ---------------------------------------- */

.game-hub-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.game-hub-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 18px 12px 15px;
  border-radius: var(--ds-r-lg, 26px);
  border: 2.5px solid #0b1926;
  box-shadow: 4px 5px 0 rgba(0, 0, 0, 0.38);
  background: var(--ds-tint-sky, #D6E6F5);
  color: #10273c;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.game-hub-tile:nth-child(2) { background: var(--ds-tint-peach, #FBE3D0); }
.game-hub-tile:nth-child(3) { background: var(--ds-tint-mint, #CFEBDD); }
.game-hub-tile:nth-child(4) { background: #E6DEF8; }

.game-hub-tile:hover {
  transform: translateY(-3px);
  box-shadow: 6px 8px 0 rgba(0, 0, 0, 0.42);
}

.game-hub-tile.is-active {
  outline: 3px solid var(--ds-orange, #E07B39);
  outline-offset: 2px;
}

.game-hub-tile-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ffffff;
  border: 2.5px solid #0b1926;
}

.game-hub-tile-icon ion-icon {
  font-size: 24px;
  color: #10273c;
}

.game-hub-tile-label {
  font-family: var(--ds-font-display, 'Baloo 2', 'Lexend', system-ui, sans-serif);
  font-size: 16px;
  font-weight: 600;
  margin-top: 6px;
}

.game-hub-tile-count {
  font-size: 12px;
  font-weight: 800;
  color: var(--ds-orange-dark, #A14E14);
  font-variant-numeric: tabular-nums;
}

.game-hub-tile-hint {
  font-size: 11px;
  color: #5f6e82;
}

/* --- Danh sách đề -------------------------------------------------------- */

.game-hub-quiz-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
}

.game-hub-quiz {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  border-radius: var(--ds-r-sm, 12px);
  background: rgba(255, 255, 255, 0.1);
  border: 2.5px solid #0b1926;
  color: #eaf2fa;
  cursor: pointer;
  transition: transform 0.14s ease, background 0.14s ease;
}

.game-hub-quiz:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.18);
}

.game-hub-quiz-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
}

.game-hub-quiz-meta {
  font-size: 11.5px;
  color: rgba(232, 240, 248, 0.75);
  font-variant-numeric: tabular-nums;
}

/* --- Chưa đăng nhập / trạng thái ------------------------------------------ */

.game-hub-signed-out {
  max-width: 520px;
  margin: 40px auto 0;
  text-align: center;
  background: #ffffff;
  color: #10273c;
  border: 2.5px solid #0b1926;
  border-radius: var(--ds-r-lg, 26px);
  box-shadow: 6px 7px 0 rgba(0, 0, 0, 0.4);
  padding: 30px 26px;
}

.game-hub-signed-out h2 {
  margin: 0 0 8px;
  font-family: var(--ds-font-display, 'Baloo 2', 'Lexend', system-ui, sans-serif);
  font-size: 22px;
  font-weight: 600;
}

.game-hub-signed-out p {
  margin: 0 0 18px;
  color: #5f6e82;
  font-size: 13.5px;
  line-height: 1.6;
}

.game-hub-empty {
  margin: 0;
  color: rgba(232, 240, 248, 0.78);
  font-size: 13px;
}

.game-hub-card .game-hub-empty,
.game-hub-body > .game-hub-empty {
  color: #5f6e82;
}

/* --- Chân màn hình -------------------------------------------------------- */

.game-hub-foot {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
  flex-wrap: wrap;
}

/* --- Điện thoại ------------------------------------------------------------ */

@media (max-width: 860px) {
  .game-hub-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --- Chư\'\'u thiết cho Phòng thi, Kim cương, Sổ tay --------------------- */

.game-hub-rooms-intro {
  margin: 0 0 14px;
  color: rgba(232, 240, 248, 0.78);
  font-size: 13px;
}

.game-hub-rooms-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.game-hub-room {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 2.5px solid #0b1926;
  border-radius: var(--ds-r-md, 16px);
}

.game-hub-room-main {
  flex: 1 1 auto;
  min-width: 0;
}

.game-hub-room-main strong {
  display: block;
  font-size: 14.5px;
  color: #ffffff;
}

.game-hub-room-meta {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  color: rgba(232, 240, 248, 0.75);
  font-variant-numeric: tabular-nums;
}

.game-hub-room-state {
  flex: 0 0 auto;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid #0b1926;
}

.game-hub-room-state.is-open {
  background: var(--ds-tint-mint, #CFEBDD);
  color: #0b3b2a;
}

.game-hub-room-state.is-closed {
  background: #e6e6e6;
  color: #5f5f5f;
}

.game-hub-room-join {
  flex: 0 0 auto;
  min-height: 24px;
  min-width: 32px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 2.5px solid #0b1926;
  background: var(--ds-teal, #0D9488);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.35);
  transition: transform 0.14s ease;
}

.game-hub-room-join:hover {
  transform: translateY(-2px);
}

.game-hub-room-create {
  margin-top: 16px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.game-hub-input {
  flex: 1 1 160px;
  min-width: 0;
  padding: 10px 14px;
  border-radius: var(--ds-r-sm, 12px);
  border: 2.5px solid #0b1926;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 13px;
}

.game-hub-input::placeholder { color: rgba(232, 240, 248, 0.55); }
.game-hub-input:focus { outline: 3px solid var(--ds-orange, #E07B39); outline-offset: 1px; }

.game-hub-input-small {
  flex: 0 0 auto;
  width: 96px;
}

.game-hub-diamonds {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 16px;
}

.game-hub-diamond-wallet {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--ds-r-lg, 26px);
  background: #ffffff;
  border: 2.5px solid #0b1926;
  box-shadow: 4px 5px 0 rgba(0, 0, 0, 0.35);
}

.game-hub-diamond-wallet ion-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--ds-tint-sky, #D6E6F5);
  border: 2.5px solid #0b1926;
  font-size: 28px;
  color: #5aa7d0;
}

.game-hub-diamond-wallet small {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5f6e82;
}

.game-hub-diamond-wallet strong {
  font-family: var(--ds-font-display, 'Baloo 2', 'Lexend', system-ui, sans-serif);
  font-size: 25px;
  font-weight: 600;
  color: #10273c;
  font-variant-numeric: tabular-nums;
}

.game-hub-milestones {
  margin: 0;
}

.game-hub-milestone-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.game-hub-milestone {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 4px;
  border-bottom: 2px dashed #dce5ee;
}

.game-hub-milestone:last-child {
  border-bottom: 0;
}

.game-hub-milestone-body {
  flex: 1 1 auto;
  min-width: 0;
}

.game-hub-milestone-body strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #10273c;
}

.game-hub-milestone-progress {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 800;
  color: #5f6e82;
  font-variant-numeric: tabular-nums;
}

.game-hub-milestone-claim {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 24px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 2.5px solid #0b1926;
  background: var(--ds-orange, #E07B39);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.game-hub-milestone-claim:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  background: #dfe5ec;
  color: #5f6e82;
}

.game-hub-milestone-claim ion-icon {
  font-size: 14px;
}

.game-hub-transactions {
  list-style: none;
  margin: 0;
  padding: 0;
}

.game-hub-transactions li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 2px dashed #dce5ee;
  font-size: 13px;
  color: #10273c;
}

.game-hub-transactions li:last-child { border-bottom: 0; }

.game-hub-transactions small {
  color: #5f6e82;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.game-hub-transactions b {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}

.game-hub-transactions .is-up { color: #0D9488; }
.game-hub-transactions .is-down { color: #A14E14; }

.game-hub-notes-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 30px 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  border: 2.5px dashed rgba(255, 255, 255, 0.35);
  border-radius: var(--ds-r-md, 16px);
  color: rgba(232, 240, 248, 0.85);
  font-size: 13px;
}

.game-hub-notes-empty ion-icon {
  font-size: 40px;
  color: #ffffff;
}

.game-hub-notes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}

.game-hub-note {
  background: #ffffff;
  color: #10273c;
  border: 2.5px solid #0b1926;
  border-radius: var(--ds-r-sm, 12px);
  box-shadow: 3px 4px 0 rgba(0, 0, 0, 0.3);
  padding: 12px 14px;
}

.game-hub-note-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 7px;
}

.game-hub-note-head strong {
  font-size: 12.5px;
  font-weight: 800;
  color: #10273c;
}

.game-hub-note-head span {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--ds-tint-sky, #D6E6F5);
  color: #10273c;
}

.game-hub-note p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #203040;
  white-space: pre-wrap;
}

.game-hub-note small {
  display: block;
  margin-top: 9px;
  font-size: 10.5px;
  color: #5f6e82;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 640px) {
  .game-hub-diamonds {
    grid-template-columns: minmax(0, 1fr);
  }
  .game-hub-room {
    flex-wrap: wrap;
  }
  .game-hub-room-join {
    flex: 1 1 100%;
  }
  .game-hub-notes {
    grid-template-columns: minmax(0, 1fr);
  }
  .game-hub-transactions small {
    display: none;
  }
}

@media (max-width: 860px) {
  .game-hub-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .game-hub {
    padding: 20px 14px 44px;
  }
  .game-hub-card {
    padding: 16px 15px;
    border-radius: var(--ds-r-md, 16px);
    box-shadow: 4px 5px 0 rgba(0, 0, 0, 0.4);
  }
  .game-hub-avatar {
    width: 62px;
    height: 62px;
  }
  .game-hub-avatar span {
    font-size: 24px;
  }
  .game-hub-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .game-hub-tile {
    padding: 14px 8px 12px;
  }
  .game-hub-tile-icon {
    width: 44px;
    height: 44px;
  }
  .game-hub-skill {
    grid-template-columns: minmax(78px, 116px) 1fr auto;
  }
  .game-hub-quiz-list {
    grid-template-columns: minmax(0, 1fr);
  }
}
